Hello. I come from the soft world of databinding, but for the current app Castor is too big. I must use DOM, but I didn't find a sample code to read element in a direct way, that's without traversing the tree.
The question is: after having a Document instance, is there something like:
document.getPath("RBS8/DETAIL/ITEMS/AZI/ITEM/DATA")
to read elements and attribute?
This is a sample XML:
<RBS8>
<DETAIL>
<ITEMS>
<AZI>
<ITEM NAME="F.MI" STATE="TRUE">
<DATA FIELDID="81098" VALUE="Fiat"/>
<DATA FIELDID="81099" VALUE="8.0400"/>
</AZI>
</ITEMS>
</DETAIL>
</RBS8>
Thanks alot
Enrico