foreach with XMLTool
Ralph Goers <[email protected]> Wed, 2 Oct 2013 08:21:07 -0700
| Newsgroups | gmane.comp.jakarta.velocity.user |
|---|---|
| Message-ID | <[email protected]> |
I have an XML document of the form
<data>
<details>
<row>
<item1>
<item2>
</row>
<row>
<item1>
<item2>
</row>
</details>
</data>
I cannot seem to find a way to successfully iterate over the row elements. For some reason the data from each of the rows is being co-mingled. Does anyone have an example of iterating over xml elements using the XMLTool?
Ralph