Using this Xpath expression,
//table[@name='animals']/row
I have a nodeset result from a Xpath query which returns all the <row>
elements for the given table in the following simeple XML
structure.....
<database>
[ other tables occur first ]
<table name="animals">
<row>
<field name="name">Mon key</field>
<field name="size">Big gish</field>
</row>
<row>
<field name="name">Wha le</field>
<field name="size">Mas sive</field>
</row>
etc ...
My question is, what is the best way to step through all the field
elements in each row? I can do it in the software stepping through the
sibling and child nodes but these seems cumbersome. I suspect there's
something I can do using axis. Am I right?
Regards to all.
Comment