note 87552 added to function.simplexml-element-xpath
| From: | MaxRomantschuk at osu1 dot php dot net | Date: | Wed, 10 Dec 2008 11:22:49 +0000 |
| Subject: | note 87552 added to function.simplexml-element-xpath | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-147980@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 80.81.171.181
Probable Submitter: 83.216.31.98
----
Manual Page -- http://www.php.net/manual/en/function.simplexml-element-xpath.php
Edit -- https://master.php.net/note/edit/87552
Del: integrated -- https://master.php.net/note/delete/87552/integrated
Del: useless -- https://master.php.net/note/delete/87552/useless
Del: bad code -- https://master.php.net/note/delete/87552/bad+code
Del: spam -- https://master.php.net/note/delete/87552/spam
Del: non-english -- https://master.php.net/note/delete/87552/non-english
Del: in docs -- https://master.php.net/note/delete/87552/in+docs
Del: other reasons-- https://master.php.net/note/delete/87552
Reject -- https://master.php.net/note/reject/87552
Search -- https://master.php.net/manage/user-notes.php