It's my first time parsing XML and I don't really know what I'm doing at the moment. Here's my XML:
<?xml version="1.0" encoding="UTF-8"?>
<MyDocument xmi:version="2.0">
<Thingamabob name="A" hasDohicky="//@Dohicky.0">
<Dingus/>
</Thingamabob>
<Dohicky name="B"/>
</MyDocument>
So what is "//@Dohicky.0" called? I understand the purpose, but I'm don't know how to deal with it when I'm parsing XML through Java JAXP. I guess I could parse the hasDohicky attribute's value and then lookfor the 0th occurrence of an element by that name... but I bet there's got to be a better way, right?
Thanks All!