Re: Retrieving a node list
Brought to you by:
bs_php,
nigelswinson
From: Eric A. <eri...@co...> - 2003-03-17 11:28:35
|
On Mon, 2003-03-17 at 06:15, Peter Robins wrote: > replace 'find' with 'evaluate' (or 'match') and 'getText' with > 'getData' and that should do what you're looking for (though you > might want to change your location path to e.g. //tag to fetch all > the descendant nodes) But according to the documentation and my experience with the library, 'evaluate' and 'match' will only resolve a XPathQuery if it resolves to one node. If it resolves to a collection of nodes (or no nodes), then an error is generated. -- Eric Anderson There are 10 types of people in the word Those who can read binary, and those who can't |