[phpXML] Re: [phpXML] Another Xpath question
Brought to you by:
bs_php,
nigelswinson
From: <nig...@us...> - 2001-10-09 13:10:40
|
//*[starts-with(name(),'image')] You could also use //*[contains(name(),'image')] but that will get = slightly different results. Please read the tutorial at ZVON that Michael recommended. You'll find = several answers there including this one. http://www.zvon.org/xxl/XPathTutorial/General/examples.html I'm not sure that phpxml supports starts-with(). If it doesn't then = make it :o) Nigel ----- Original Message -----=20 From: <an...@is...> To: <us...@li...> Sent: Wednesday, July 18, 2001 6:02 PM Subject: [phpXML] Another Xpath question > How can I select nodes according to a wildcard, i.e. select all nodes > that start with 'image'. I have nodes called 'image1', 'image2', > 'image3', and so on. Does XPath support this? >=20 > -Andrei >=20 > "Tomorrow the sun will rise. And who knows what the tide will bring?" > - Tom Hanks, in "Cast Away" >=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.../ |