note 75316 added to function.simplexml-load-string
| From: | youx_free_fr at osu1 dot php dot net | Date: | Wed, 23 May 2007 16:52:15 +0000 |
| Subject: | note 75316 added to function.simplexml-load-string | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-126849@lists.php.net to get a copy of this message | ||
While needing to add an xml subtree to an existing simplexml object, I noticed that
simplexml_load_string fails with strings like
<emptynode></emptynode>
I needed to use dom instead of simplexml to bypass this problem and work with any kind of xml
strings.
----
Server IP: 217.174.196.197
Probable Submitter: 82.236.21.41
----
Manual Page -- http://www.php.net/manual/en/function.simplexml-load-string.php
Edit -- https://master.php.net/note/edit/75316
Del: integrated -- https://master.php.net/note/delete/75316/integrated
Del: useless -- https://master.php.net/note/delete/75316/useless
Del: bad code -- https://master.php.net/note/delete/75316/bad+code
Del: spam -- https://master.php.net/note/delete/75316/spam
Del: non-english -- https://master.php.net/note/delete/75316/non-english
Del: in docs -- https://master.php.net/note/delete/75316/in+docs
Del: other reasons-- https://master.php.net/note/delete/75316
Reject -- https://master.php.net/note/reject/75316
Search -- https://master.php.net/manage/user-notes.php