note 52608 deleted from function.dom-domxpath-query by nlopess
| From: | nlopess@php.net | Date: | Sat, 07 May 2005 07:33:49 +0000 |
| Subject: | note 52608 deleted from function.dom-domxpath-query by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-89059@lists.php.net to get a copy of this message | ||
Note Submitter: mattc
Reason: bad code
----
I believe that the example above is incorrect. if you do getElementsByTagName, it will return a
node list. You must then pass each node into the xpath query as a reference, not the entire node
list.