note 105387 added to domdocument.createattributens
| From: | David at DeGroote dot com | Date: | Sun, 14 Aug 2011 00:44:23 +0000 |
| Subject: | note 105387 added to domdocument.createattributens | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-182471@lists.php.net to get a copy of this message | ||
Note that because of the "quirks" noted by _ michael, createAttributeNS() will fail if you
haven't added any nodes to your document yet. You must add the root node before calling
createAttributeNS().
The warning generated is:
"Warning: DOMDocument::createAttributeNS() [domdocument.createattributens]: Document Missing
Root Element in ..."
----
Server IP: 69.147.83.197
Probable Submitter: 71.58.69.106
----
Manual Page -- http://www.php.net/manual/en/domdocument.createattributens.php
Edit -- https://master.php.net/note/edit/105387
Del: integrated -- https://master.php.net/note/delete/105387/integrated
Del: useless -- https://master.php.net/note/delete/105387/useless
Del: bad code -- https://master.php.net/note/delete/105387/bad+code
Del: spam -- https://master.php.net/note/delete/105387/spam
Del: non-english -- https://master.php.net/note/delete/105387/non-english
Del: in docs -- https://master.php.net/note/delete/105387/in+docs
Del: other reasons-- https://master.php.net/note/delete/105387
Reject -- https://master.php.net/note/reject/105387
Search -- https://master.php.net/manage/user-notes.php