Subject: Re: [xsl] xpath query From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Fri, 18 Jan 2008 22:05:39 +0100 |
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.
<ROOT> <LEVEL1> <A> <a apply="1">100</a> <b apply="1">100</b> <c>100</c> </A> </LEVEL1>
<LEVEL2> <B> <a>100</a> <b apply="1">100</b> <c>100</c> </B> <C> <a>100</a> <b>100</b> <c apply="1">100</c> </C> <LEVEL2> </ROOT>
I tried using /ROOT/LEVEL2/*[@apply='1']. But it doesn't select the
intended nodes.
<ROOT> <LEVEL2> <A> <a>...</ <b apply='1'>...</ </ </ </
HTH, Cheers, -- Abel Braaksma
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xpath query, Sean Tiley | Thread | [xsl] how to sort a list of xpaths, Mark Hutchinson |
RE: [xsl] xpath query, Michael Kay | Date | Re: [xsl] xpath query, Senthil Nathan |
Month |