Click to See Complete Forum and Search --> : xpath


Malathi Chandur
October 17th, 2001, 02:13 AM
Hi All,

I need a single XPath Query for the follg criteria:
Find if there are any "collection" elements having an attribute with value 'BOOK'.


Thanx by advance.

Malathi Chandur

Green_Beret
October 17th, 2001, 03:11 AM
/collection[@attr_name = "BOOK"]

Regards,
The Beret.

Malathi Chandur
October 18th, 2001, 06:00 AM
Hi Beret!

Thanx for responding. But, I don't know the attribute name that can hold the value (Ex: BOOK); so, independent of attribute name, I have to write the xpath query.

Regards,


Malathi Chandur