EDN Admin
Well-known member
Hi,
Am relatively new to xslt.
I have an xml file like this:
<bikes>
<bike> Bike1 </bike>
<bike> Bike2 </bike>
<bike> Bike3 </bike>
<bike> Bike4 </bike>
<bike> Bike5 </bike>
</bikes>
where Bike1 to Bike5 are supported values for bikes.
Now, I want to transform this xml file to another xml file like this:
<Rule propName="Bike
<SupportedRange lower="1" Higher="5"/>
</Rule>
Can you please help me with writing an xslt for this?
Thanks and Regards,
krishna
View the full article
Am relatively new to xslt.
I have an xml file like this:
<bikes>
<bike> Bike1 </bike>
<bike> Bike2 </bike>
<bike> Bike3 </bike>
<bike> Bike4 </bike>
<bike> Bike5 </bike>
</bikes>
where Bike1 to Bike5 are supported values for bikes.
Now, I want to transform this xml file to another xml file like this:
<Rule propName="Bike
<SupportedRange lower="1" Higher="5"/>
</Rule>
Can you please help me with writing an xslt for this?
Thanks and Regards,
krishna
View the full article