Bug #15950 Updated: xmllint for dump_mem

From: Date: Fri, 08 Mar 2002 09:20:00 +0000
Subject: Bug #15950 Updated: xmllint for dump_mem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1998@lists.php.net to get a copy of this message
ID: 15950 Updated by: chregu@php.net Reported By: bigredlinux@yahoo.com -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] chregu@php.net not a big task. Will implement it. ------------------------------------------------------------------------ [2002-03-08 03:03:10] bigredlinux@yahoo.com 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

« previous php.bugs (#1998) next »