xpath with condition

c0ldb0y

New Member
How can I get an element in Xpath using complex condition?For example:\[code\]<?xml version="1.0" encoding="UTF-8"?><stock xmlns="http://localhost/aaabbb"><item item-id="1"> <name xml:format="short">This is a short name</name> <name xml:format="long">This is a LONG name</name></item></stock>\[/code\]Target: to get the text of the tag WHERE xml:format="long".Thanks in advance for your help!
 
Back
Top