Hi,
I've done some work with XML and Xpaths before, but I'm currently stumped on the simplist way to achieve this goal!
I want to search an XML file for multiple pieces of data using the AND operator. EG.
<booking>
<customers>
<name>Fred</name>
<name>Barney</name>
<customers>
<location>
<city>London</air>
<city>France</air>
</location>
</booking>
I want to search the XML file and perform actions if the file contains the name Fred AND the city London.
Can I do this with a single xpath query that will return either a boolean value or an object containing the elements?
Thanks in advance for any help!
Darren
I've done some work with XML and Xpaths before, but I'm currently stumped on the simplist way to achieve this goal!
I want to search an XML file for multiple pieces of data using the AND operator. EG.
<booking>
<customers>
<name>Fred</name>
<name>Barney</name>
<customers>
<location>
<city>London</air>
<city>France</air>
</location>
</booking>
I want to search the XML file and perform actions if the file contains the name Fred AND the city London.
Can I do this with a single xpath query that will return either a boolean value or an object containing the elements?
Thanks in advance for any help!
Darren