note 19219 rejected from function.xpath-new-context by zak
| From: | zak@php.net | Date: | Wed, 20 Feb 2002 05:03:46 +0000 |
| Subject: | note 19219 rejected from function.xpath-new-context by zak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-26826@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?