#29494 [Opn]: Need format option in DOMDocument->saveXML()

From: Date: Sun, 22 Aug 2004 17:39:53 +0000
Subject: #29494 [Opn]: Need format option in DOMDocument->saveXML()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-65057@lists.php.net to get a copy of this message
 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:           Open
 Bug Type:         Feature/Change Request
 Operating System: *
 PHP Version:      5.0.0
 New Comment:

This option would also be nice on DOMDocument->save() when writing the
XML document to a disk file.


Previous Comments:
------------------------------------------------------------------------

[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


Thread (4 messages)

« previous php.bugs (#65057) next »