I’m new to using XSLT and need some information.
I have to convert one XML file to another. The source XML file looks something like this:
The attached stylesheet worked for me; I hope it helps. It assumes that a ‘key’ element is always followed by a sibling element (such as your ‘string’ and ‘integer’ elements), and it uses the content of the assumed first sibling to populate the result element.
tracks.xsl (1.26 KB)