Re: DOM XML output whitespace

From: Date: Mon, 24 May 2004 10:32:07 +0000
Subject: Re: DOM XML output whitespace
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-186823@lists.php.net to get a copy of this message
dan-php@phiffer.org (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

« previous php.general (#186823) next »