R
Rob Smegma
Greetings,
I'm a beginner of XSL. Please pardon my inexperience.
I have an xml document that has the following:
<element id="abcdef">
<element id="234234">
<element id="grfgsdfg">
<element id="ertetergsx">
<element id="zhdthhj">
<element id="zdtt">
<element id="rtussj">
<element id="fdndfgnr">
<element id="45y745">
I would like to translate them into groups of 3 like so:
<group id="1">
<element id="abcdef">
<element id="234234">
<element id="grfgsdfg">
</group>
<group id="2">
<element id="ertetergsx">
<element id="zhdthhj">
<element id="zdtt">
</group>
<group id="3">
<element id="rtussj">
<element id="fdndfgnr">
<element id="45y745">
</group>
What is the proper XSL to do this? I can't seem to figure this out.
Any assistance would be a great help. Thanks in advance.
rs
I'm a beginner of XSL. Please pardon my inexperience.
I have an xml document that has the following:
<element id="abcdef">
<element id="234234">
<element id="grfgsdfg">
<element id="ertetergsx">
<element id="zhdthhj">
<element id="zdtt">
<element id="rtussj">
<element id="fdndfgnr">
<element id="45y745">
I would like to translate them into groups of 3 like so:
<group id="1">
<element id="abcdef">
<element id="234234">
<element id="grfgsdfg">
</group>
<group id="2">
<element id="ertetergsx">
<element id="zhdthhj">
<element id="zdtt">
</group>
<group id="3">
<element id="rtussj">
<element id="fdndfgnr">
<element id="45y745">
</group>
What is the proper XSL to do this? I can't seem to figure this out.
Any assistance would be a great help. Thanks in advance.
rs