I am using an xmlreader to populate a form (like the demo example).
My xml looks like this:

<criminal>
<offenses>
<offense1>F3 ASSAULT-FAMILY-2ND O</offense1>
<offense2>MA RESIST ARR-SEARCH-TR</offense2>
</offenses>
</criminal>


There can be one or more offenses within the offenses node.

My question is how can i dynamically map the reader to the xml and put all values into a single textfield (on the form)?

Thank you!