note 60207 added to function.dom-domdocument-getelementbyid
| From: | davidcraigwilson at gmailcom | Date: | Thu, 29 Dec 2005 21:30:41 +0000 |
| Subject: | note 60207 added to function.dom-domdocument-getelementbyid | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-100955@lists.php.net to get a copy of this message | ||
This does not search the attribute named "id", but the attribute of type ID. If you are
creating the xml, you can use an attribute named "xml:id" and the matching element will be
returned by this function.
Thanks to chregu for including the http://wiki.bitflux.org/GetElementById_Pitfalls
link below that explains it.
----
Manual Page -- http://www.php.net/manual/en/function.dom-domdocument-getelementbyid.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60207
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60207&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60207&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60207&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60207&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60207&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60207&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60207&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60207&report=yes
Search -- http://master.php.net/manage/user-notes.php