please help me with the xslt
can anyone tell the me xslt for following source and target (its difficult)
My Source is:
<order>
<item no='1'>(may items)
<date value='06-11-1982'/>
<price>21</price>
</item>
<item no='2'>
<date value='17-10-1242'/>
<price>16</price>
</item>
<item no='3'>
<date value='06-11-1982'/>
<price>121</price>
</item>
</order>
I want to arrange it into date wise items format,
the target should be like
<order>
<date value='06-11-1982'>
<item no='1'>
<price>21</price>
</item>
<item no='3'>
<price>16</price>
</item>
</date>
<date value='07-10-1242'>
<item no='2'>
<price>121</price>
</item>
</date>
</order>
|