Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Complicated XPATH to return a nodeset based on a sibling node's value >Thread Next - Re: Complicated XPATH to return a nodeset based on a sibling node's value Re: Complicated XPATH to return a nodeset based on a sibling node's valueTo: NULL Date: 9/1/2004 1:05:00 AM In article <7G6Zc.15897$aB1.12332@t...>, Brad <a@a...> wrote: % How do I form an XPATH that will return me the nodeset a/a1[@attr="Val"] % only when a/a1[@attr="key"] is equal to "Use"??? IE, I want a nodeset with % ["Value1", "Value3"] First pick a a[a1/@attr = "key" and a1 = "Use"] then get the correct a1 from that a[a1/@attr = "key" and a1 = "Use"]/a1[@attr = "val"] -- Patrick TJ McPhee East York Canada ptjm@i... | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
