Originally posted by Vineet Solabannavar:
Hi,
I need to convert the below input.xml to the output.xml format.
Please advice
Input.xml:
Output.xml:
Cliff's the name XSL is the game. (My drill sergeants called me Craig!)
Anyway, to your point. My apologies as I didn't know how far along the XSL trail you had come. Off the top of my head (and un-tested) I'd say you want something like this in your stylesheet:
That should copy and collate the section_header and section_text elements for you. If that doesn't work quite right I would look into the key() function and maybe build a key on the position of these elements. From there
you should be able to somehow match them based on position. Sorry I'm not being more specific.