note 87552 deleted from function.simplexml-element-xpath by danbrown
| From: | danbrown@php.net | Date: | Wed, 10 Dec 2008 16:22:04 +0000 |
| Subject: | note 87552 deleted from function.simplexml-element-xpath by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147996@lists.php.net to get a copy of this message | ||
Note Submitter: Max Romantschuk
----
Beware, that when running xpath() on a SimpleXML object returned from a previous xpath() query the
search will be done on the entire tree unless you specify a relative xpath query starting with
"./".
Details here:
http://bugs.php.net/bug.php?id=41663
This is rather counter-intuitive due to the fact that print_r() will not show the tree that xpath()
runs against.