ID: 29494 Updated by: [EMAIL PROTECTED] Reported By: tony at marston-home dot demon dot co dot uk -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: * PHP Version: 5.0.0 New Comment:
The option is already there: $domDocument->formatOutput = true; Previous Comments: ------------------------------------------------------------------------ [2004-08-22 19:39:52] tony at marston-home dot demon dot co dot uk This option would also be nice on DOMDocument->save() when writing the XML document to a disk file. ------------------------------------------------------------------------ [2004-08-02 18:10:13] tony at marston-home dot demon dot co dot uk 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 this bug report at http://bugs.php.net/?id=29494&edit=1