[EMAIL PROTECTED] (Dan Phiffer) writes:

> I'm using PHP 5 these days, so I guess I'm looking for some way to
> tell a DomDocument to prettify its save() output.

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.

-- 
Martin Geisler                                  My GnuPG Key: 0xF7F6B57B

PHP EXIF Library      |  PhpWeather              |  PhpShell
http://pel.sf.net/    |  http://phpweather.net/  |  http://gimpster.com/
Read/write EXIF data  |  Show current weather    |  A shell in a browser

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to