note 60207 deleted from function.dom-domdocument-getelementbyid by nlopess
| From: | nlopess@php.net | Date: | Thu, 29 Dec 2005 22:28:33 +0000 |
| Subject: | note 60207 deleted from function.dom-domdocument-getelementbyid by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-100957@lists.php.net to get a copy of this message | ||
Note Submitter: david craig wilson@gmail com
----
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.