note 111784 added to simplexmlelement.addchild
| From: | cydream at free dot fr | Date: | Thu, 28 Mar 2013 09:32:29 +0000 |
| Subject: | note 111784 added to simplexmlelement.addchild | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-194240@lists.php.net to get a copy of this message | ||
in response to Dmitry Dulepov3
That is not true.
When doing $xml->addChild("toto") , you HAVE to escape the & yourself. Only <
and > are escaped.
But, if you do $xml->toto, you won't have to escape anything. Strange thing !
----
Server IP: 69.147.83.199
Probable Submitter: 212.95.65.114
----
Manual Page -- http://php.net/manual/en/simplexmlelement.addchild.php
Edit -- https://master.php.net/note/edit/111784
Del: integrated -- https://master.php.net/note/delete/111784/integrated
Del: useless -- https://master.php.net/note/delete/111784/useless
Del: bad code -- https://master.php.net/note/delete/111784/bad+code
Del: spam -- https://master.php.net/note/delete/111784/spam
Del: non-english -- https://master.php.net/note/delete/111784/non-english
Del: in docs -- https://master.php.net/note/delete/111784/in+docs
Del: other reasons-- https://master.php.net/note/delete/111784
Reject -- https://master.php.net/note/reject/111784
Search -- https://master.php.net/manage/user-notes.php