ID:               15950
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Assigned
+Status:           Closed
 Bug Type:         DOM XML related
 Operating System: Linux
 PHP Version:      4.1.2
 Assigned To:      chregu
 New Comment:

"fixed" in CVS


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

[2002-03-08 03:56:35] [EMAIL PROTECTED]

not a big task. Will implement it.

------------------------------------------------------------------------

[2002-03-08 03:03:10] [EMAIL PROTECTED]

Would it be possible to add an optional parameter to dump_mem (and
family) to pass the tree through xmllint --format??  Since you are
already using the libxml2 functions, it seems only natural to apply
this one.  After weeks of fighting with keeping the whitespace correct
in an xml document after moving, manipulating and adding elements, I
found it is just easiest to start from the top and reformat then to try
to play in the whitespace sandbox.  Daniel Veillard's xmllint functions
are super fast and hardly hurt performance, especially when you have to
show your boss the xml file after it get's torn to shreds.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15950&edit=1

Reply via email to