[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xpath query
Senthil Nathan wrote:
hi all, what could be the xpath query with the foll. xml, to select all the nodes with apply="1" in the LEVEL2 from ROOT. It helps if you indent your code correctly, than it easily shows that you missed one axis step: /ROOT/LEVEL2/*/*[@apply='1'] With indentation I mean this: <ROOT> <LEVEL2> <A> <a>...</ <b apply='1'>...</ </ </ </ this makes it visually clear that there's still a step between <LEVEL2> and <a>, <b> etc, namely <A>, <B> etc. HTH, Cheers, -- Abel Braaksma
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|