Hello I have an input:
<Records>
<Record>
<Row A="UOBSGD2" B="50000"/>
</Record>
<Record>
<Row A="UOBSGD1" B="75050"/>
</Record>
<Record>
<Row A="DBSSGD2" B="55800"/>
</Record>
<Record>
<Row A="DBSSGD1" B="14239"/>
</Record>
<Record>
<Row A="OCBCSGD1" B="55510"/>
</Record>
<Record>
<Row A="OCBCSGD2" B="31714"/>
</Record>
<Record>
<Row A="UOBUSD1" B="36471.1"/>
</Record>
<Record>
<Row A="UOBUSD2" B="41941.765"/>
</Record>
<Record>
<Row A="UOBUSD3" B="48233.02975"/>
</Record>
<Record>
<Row A="DBSUSD1" B="55467.9842125"/>
</Record>
<Record>
<Row A="OCBCUSD1" B="14239"/>
</Record>
<Record>
<Row A="OCBCUSD2" B="16374.85"/>
</Record>
<Record>
<Row A="OCBCEUR1" B="45857"/>
</Record>
<Record>
<Row A="OCBCEUR2" B="19239"/>
</Record>
<Record>
<Row A="DBSEUR1" B="33510"/>
</Record>
</Records>
I need to change this to Output XML:
<chart>
<set label='UOBSGD2' value='50000' />
<set label='UOBSGD1' value='75050' />
<set label='DBSSGD2' value='55800' />
<set label='DBSSGD1' value='14239' />
<set label='OCBCSGD1' value='55510' />
<set label='OCBCSGD2' value='31714' />
<set label='UOBUSD1' value='36471.1' />
<set label='UOBUSD2' value='41941.765' />
<set label='UOBUSD3' value='48233.03' />
<set label='DBSUSD1' value='55467.98' />
<set label='OCBCUSD1' value='14239' />
<set label='OCBCUSD2' value='16374.85' />
<set label='OCBCEUR1' value='45857' />
<set label='OCBCEUR2' value='19239' />
<set label='DBSEUR1' value='33510' />
</chart>
By using XSLT.. Can someone please help me?
Many Thanks!!!