note 89013 deleted from function.simplexml-element-addChild by danbrown
| From: | danbrown@php.net | Date: | Wed, 18 Feb 2009 14:34:48 +0000 |
| Subject: | note 89013 deleted from function.simplexml-element-addChild by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-150796@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
To correct myself slightly, you CAN control the prefix in addChild() (and addAttribute()), by
specifying it within the first argument (before a colon and the local name), but only if that
namespace value is not already taken. If one with that value is already taken, the previous value
will be used, and the prefix will be ignored (for addChild() or addAttribute()).