[phpXML] Re: [phpXML] Need example for 'context'
Brought to you by:
bs_php,
nigelswinson
From: <nig...@us...> - 2001-10-09 13:10:56
|
Try using a context of /government[1] The context (I think) has to be a COMPLETE address. Not just an XPath = address that evaluates to only one node. I haven't tested this, but I think this is right. Nigel ----- Original Message -----=20 From: <tom...@di...> To: <us...@li...> Sent: Wednesday, July 04, 2001 2:29 PM Subject: [phpXML] Need example for 'context' > Hello all, >=20 > I need a very specific example for the use of 'context' in the = original=20 > distro examples. >=20 > What are inputs that show a highlighted result ? > "XPath Expression:" > "XPath Context:" >=20 > E.g. what input for each field in the form testsuite.php (processing = the=20 > 'government.xml' file) >=20 > Whaterver combination I use (just one example) > Example (my entries) > XPath Expression: file://prename=20 > XPath Context: /government/person > - I get no result highlighted >=20 > Many thanks, > Tom >=20 >=20 > -- > This message has been sent through the <phpXML/> user discussion list. = To unsubscribe, please visit = https://sslsites.de/mailinglisten/user/us...@li.../ >=20 -- This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https://sslsites.de/mailinglisten/user/us...@li.../ |