note 57277 rejected from function.dom-domdocument-savexml by didou

From: Date: Sat, 30 Dec 2006 03:27:01 +0000
Subject: note 57277 rejected from function.dom-domdocument-savexml by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-121056@lists.php.net to get a copy of this message
Note Submitter: doc dot php dot net at webdevelopers dot cz ---- saveXML() does not produce valid XML in case that the DOM was build using loadHTML() method. You can experience double attributes (for example double @xmlns attribute on <html> element) or for example two dashes inside the XML comment (<script><!-- for(a=10; a < 10; a--)...; --></script>). Don't be confused if the result of saveXML() cannot be loaded again with loadXML(). Elixon

« previous php.notes (#121056) next »