note 111784 deleted from simplexmlelement.addchild by aharvey
| From: | aharvey@php.net | Date: | Thu, 28 Mar 2013 17:51:21 +0000 |
| Subject: | note 111784 deleted from simplexmlelement.addchild by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-194254@lists.php.net to get a copy of this message | ||
Note Submitter: cydream at free dot fr
----
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 !