N
nils.grimsmo
What is the the syntax of the abbreviated form of the following XPath
query?
child::a/descendant::b[descendant::text()="foo"]
I try with
a//b[//text()="foo"]
but I get two nodes selected instead of one in
<?xml version="1.0"?>
<a>
<x>
<b>
<u>foo</u>
<v>bar</v>
</b>
</x>
<y>
<b>
<w>bar</w>
</b>
</y>
</a>
I am using Jaxen 1.1.1.
Klem fra Nils
query?
child::a/descendant::b[descendant::text()="foo"]
I try with
a//b[//text()="foo"]
but I get two nodes selected instead of one in
<?xml version="1.0"?>
<a>
<x>
<b>
<u>foo</u>
<v>bar</v>
</b>
</x>
<y>
<b>
<w>bar</w>
</b>
</y>
</a>
I am using Jaxen 1.1.1.
Klem fra Nils