Hi; If I have the following xml: <root xmlns="http://www.test.org" xmlns:sns="http://www.test.org/sub"
xmlns:mns="http://www.test.org/mini"> <data> <items> <item id="1"> <sns:subItem sid="11">dave</sns:subItem>
<sns:subItem sid="12">thielen</sns:subItem>
</item> <item id="2"> <sns:subItem sid="21">shirley</sns:subItem>
</item> </items> <mns:more>dave thielen</mns:more> </data> </root> How do I write xpath for it as an element in xpath with no
prefix does not resolve to the default namespace? “/root/data” is not xpath for “/http://www.test.org
:root/ http://www.test.org :data” Thanks – dave |
- [dom4j-user] xpath with default namespace David Thielen
- RE: [dom4j-user] xpath with default namespace David Thielen
- Re: [dom4j-user] xpath with default namespace David D. Lucas
- RE: [dom4j-user] xpath with default namespace David Thielen
- RE: [dom4j-user] xpath with default namespace Priest, Mark