So I have an xml file that is formatted something like this
<TopXmlTree>
<IndentedItem1>
<subvalue1>
<subvalue2>
<subvalue3>
<IndentedItem1> (Same name as above but a different subset)
<subvalue1>
<subvalue2>
<subvalue3> <<-- I want to get this value
Let's assume that I wanted to get the value above, is there any way that I can do that with Xpath? Normally my Xpath Code is something simple like
XPathExpression expr = xpath.compile("/TopXmlTree/IndentedItem1/Subvalue1/text()");
Which I clearly can't do given the circumstances.
Thanks!