I don't remember any more where I found this, but with
<?php $dom = new DomDocument(); $dom->formatOutput = true; ?>
you get what you ask for: formatted output.
Excellent, that did the trick!
Thanks, -Dan
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php