This is just a simple XSLT stylesheet. It's written in XSLT 1.0 so it should work on any XSLT processor you want to throw it at. My preference is Saxon9 which is what I use for development and testing.
- Open the XML playlist in a text editor.
- Add the following line as the 2nd line in the file (after
<?xml ... ?>
):
<?xml-stylesheet type="text/xsl" href="itunes2m3u.xsl"?>
- Save and close the file.
- Copy the itunes2m3u.xsl stylesheet into the same directory where you saved your playlist.
- Drag and drop the playlist into IE. IE will run the transformation and render the XML file as an M3U. You can then copy and paste into a new file or right-click and "view source" which will open the M3U in notepad allowing you to re-save it.
- Download the msxsl.exe utility from Microsoft.
- Copy msxsl.exe into your Windows/System32 folder (or any other directory in your %PATH%).
- Copy the itunes2m3u.xsl stylesheet into the same directory as your playlist.
- Open a CMD window and navigate to the folder containing the playlist and stylesheet. Then run this command:
> msxsl playlist.xml itunes2m3u.xsl -o playlist.m3u
todo: Add instructions for using Saxon.