ID: 29494 User updated by: tony at marston-home dot demon dot co dot uk Reported By: tony at marston-home dot demon dot co dot uk Status: Bogus Bug Type: Feature/Change Request Operating System: * PHP Version: 5.0.0 New Comment:
You are correct. Pity it was not documented. Previous Comments: ------------------------------------------------------------------------ [2004-08-22 23:18:53] [EMAIL PROTECTED] The option is already there: $domDocument->formatOutput = true; ------------------------------------------------------------------------ [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