Hi all,
I have a collection (/db/c1/test4) which contains the following xml file:
<?xml version="1.0"?>
<test4>
<abc>
<row1>
<name>Fly</name>
<def>
<row1>
<addressline>A1</addressline>
</row1>
<row2>
<addressline>A2</addressline>
</row2>
</def>
</row1>
<row2>
<name>Food</name>
<def>
<row1>
<addressline>Form</addressline>
</row1>
<row2>
<addressline>Kick due to</addressline>
</row2>
</def>
</row2>
</abc>
</test4>
Using the following xpath I can get back this xml :
xindice xpath -c /db/c1/test4 -q '/test4[contains(//addressline,"A1")]'
(match for the first <addressline> tag)
But the following doesn't work :
xindice xpath -c /db/c1/test4 -q '/test4[contains(//addressline,"due")]'
(match for the last <addressline> tag)
Could anybody tell me what's wrong? Sorry if this is a stupid question...
Thanks!
/Wilfred.