Total newbie to XPath and Java here. What I'm attempting to do is something like this:
<A>
<B>
<C>test 1</C>
</B>
<B>
<C/>test 2</C>
</B>
<B>
<C/>test 3</C>
</B>
</A>
for each XMLDoc.children() as BNode
array.append(BNode.getXPathValueAt('B/C'));
end for each
Is there an easy way in Java to use XPaths like that to get deeply nested values in an XML document? I just need a quick and easy way to pull XPath values out of one XML document, and eventually stick them into a hashmap or object.