note 19219 added to function.xpath-new-context
| From: | dan at php2 dot chek dot com | Date: | Wed, 20 Feb 2002 04:55:53 +0000 |
| Subject: | note 19219 added to function.xpath-new-context | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-26824@lists.php.net to get a copy of this message | ||
Is it possible to set the new context as the result of a previous query? My question stems from the
following idea. You have a large xml document. You first isolate a given set of nodes based on one
condition. Then, within those nodes, you want to isolate on a seperate condition, maybe after some
processing. Can you give one of the nodesets of an xpath result as a new xpath context and then run
the xpath query on that subset?
--
http://www.php.net/manual/en/function.xpath-new-context.php
http://master.php.net/manage/user-notes.php?action=edit+19219
http://master.php.net/manage/user-notes.php?action=delete+19219
http://master.php.net/manage/user-notes.php?action=reject+19219