EDN Admin
Well-known member
Hi All, I have an XML file in the below format:
<span>
<MerchantData>
<span>
<span>
<field1 name="Channel Type WEB</field1>
<span>
<field2 name="Part payment No</field2>
<span>
</MerchantData>
I need to convert it to the format shown below using XSLT.
<span>
<MerchantData>
<span>
<Channel Type>WEB</Channel Type>
<span>
<Part payment>No</Part payment>
<span>
</MerchantData>
Any help on the XSLT code would be appreciated.
View the full article
<span>
<MerchantData>
<span>
<span>
<field1 name="Channel Type WEB</field1>
<span>
<field2 name="Part payment No</field2>
<span>
</MerchantData>
I need to convert it to the format shown below using XSLT.
<span>
<MerchantData>
<span>
<Channel Type>WEB</Channel Type>
<span>
<Part payment>No</Part payment>
<span>
</MerchantData>
Any help on the XSLT code would be appreciated.
View the full article