I have a requirement to convert the following XML:
<?xml version="1.0" encoding="UTF-8"?>
<cd>
<title>Empire Burlesque</title>
<artist>Bob Dylan</artist>
<country>USA</country>
<company>Columbia</company>
<price>10.90</price>
<year>1985</year>
</cd>
The target XML that I require is something like this:
<params>
<param>
<key>title</key>
<value>Empire Burlesque</value>
</param>
<param>
<key>artist</key>
<value>Bob Dylan<</value>
</param>
<param>
<key>country</key>
<value>USA</value>
</param>
<param>
<key>company</key>
<value>Columbia</value>
</param>
<param>
<key>price</key>
<value>10.90</value>
</param>
<param>
<key>year</key>
<value>1985</value>
</param>
</params>
What should the XSL file look like for me to be able to achieve this?