tags:

views:

19

answers:

0

Possible Duplicate:
xslt grouping question

I have an xml

<Root>

AAABBB XXXYYY EEEFFF GGGHHH

Child2 always will be with child1. I need to know how I can loop through using xsl:foreach and create an XML output example. I may have other nodes like but my concern is only Child1 and Chid2 nodes

My question is how do I loop in XSLT considering Child2 node will follow a Child1 always?