note 97888 deleted from simplexmlelement.asXML by danbrown
| From: | danbrown@php.net | Date: | Fri, 14 May 2010 15:09:22 +0000 |
| Subject: | note 97888 deleted from simplexmlelement.asXML by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-169261@lists.php.net to get a copy of this message | ||
Note Submitter: Ben
----
in response to Blake W and others, dom's formatOutput can work together with setting
preserveWhiteSpace to false so that it will work even if your original file has lots of white space.
The only problem is that you have to initialize a blank Dom object then load the simple xml with
loadXML()