Hi there, I'm beginner learning xsl and I need help with xsl file to transform my original xml which looks like
Code:
<pod>
<id>1</id>
<mfp>
<type>1</type>
<val>10</val>
</mfp>
<mfp>
<type>2</type>
<val>12</val>
</mfp>
....
</pod>
And I need to have new node MFPS which contain all mfp elements, like
Code:
<pod>
<id>1</id>
<MFPS>
<mfp>
<type>1</type>
<val>10</val>
</mfp>
<mfp>
<type>2</type>
<val>12</val>
</mfp>
</MFPS>
</pod>
<pod>
<id>2</id>
<MFPS>
<mfp>...</mfp>
</MFPS>
</pod>...
Please help me how to solve this. Thanks