I'm wondering if it is possible to do the following:
xml looks like
<source>
<event_id>1</event_id>
</source>
<destination>
<event_id>1</event_id>
<line_number>1</line_number>
</destination>
<destination>
<event_id>1</event_id>
<line_number>2</line_number>
</destination>
I would like to have a nested list that does something like.
[ParentList] Sources: source.eventid [SubList] Destinations: destination.eventid destination.line_number [/SubList] [/ParentList]
Where the SubList is defined by all entries that match the ParentList on event_id.
Since the xml structure is not nested I would think I could use the parent's context to xpath my way into the destinations based on event_id, but I'm not seeing how or if I can do this.
Thanks for any help!