From: tony at marston-home dot demon dot co dot uk Operating system: * PHP version: 5.0.0 PHP Bug Type: Feature/Change Request Bug description: Need format option in DOMDocument->saveXML()
Description: ------------ When creating an XML file from DOMDocument->saveXML() it would be very nice to have a format option just like the one in DomDocument->dump_mem(). In this way the XML file can be viewable in my text editor instead of existing on just a single line. There should be a linebreak after every closing tag, and child elements should be indented. -- Edit bug report at http://bugs.php.net/?id=29494&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29494&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29494&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29494&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29494&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29494&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29494&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29494&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29494&r=support Expected behavior: http://bugs.php.net/fix.php?id=29494&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29494&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29494&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29494&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29494&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29494&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29494&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29494&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29494&r=float