These pages about different languages / apis / best practices were mostly jotted down quckily and rarely corrected afterwards.
The languages / apis / best practices may have changed over time (e.g. the facebook api being a prime example), so what was documented as a good way to do something at the time might be outdated when you read it (some pages here are over 15 years old).
Just as a reminder.

Create html from iTunes xml using XSLT

Transforming xml to html

Since the beginning of time people have had the urge to show other people their record collections. Nobody knows why. This usually involved a lot of dragging people home and boring them to death while excitedly playing Mike Oldfield "Tubular Bells".
Thanks to the internet it is nowadays somewhat easier. I created a simple .xsl file that you can process your iTunes xml file with to generate a webpage listing all your music.
Your iTunes XML file is located in:
Windows XP:
C:\Documents and Settings\username\My Documents\My Music\iTunes\iTunes Music Library.xml

Windows Vista:
C:\Users\username\Music\iTunes\iTunes Music Library.xml

Windows 7:
C:\Users\username\My Music\iTunes\iTunes Music Library.xml

On a mac:
/Users/username/Music/iTunes/iTunes Music Library.xml

I have created to two .xsl files. They are the same, just sorting the result differently.
a) sorted by artist
b) sorted by play count, artist
See examples further down for what the result looks like.

You can use those to process your iTunes xml file yourself, or if you are lazy:

1) Make a copy of your iTunes xml file
2) include the line
<?xml-stylesheet type="text/xsl" href="http://www.edlin.org/xslt/itunes-to-html.xsl"?>
as the second line in the xml file.
Like this:

 <?xml version="1.0" encoding="UTF-8"?>
 <?xml-stylesheet type="text/xsl" href="http://www.edlin.org/xslt/itunes-to-html.xsl"?>
 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 	<key>Major Version</key><integer>1</integer>
 	<key>Minor Version</key><integer>1</integer>
 	<key>Application Version</key><string>4.8</string>
Leave everything else as it were in the xml file, just add that single line.
Open the modified xml file in your browser. As you see, the xml file will pull the xsl file and format it nicely. Simply upload the xml file to your website, and people can easily see what kind of music you like (or at least, what kind of music you have).

Feedback is of course as always welcome.

More programming related pages

Workflow: Release process
Workflow: Bug tracking
Teambox (Redbooth) - Mantis connector
Design Patterns
Git & Github
Go / Golang
CVS backup script
Distribution process
Installation script
Java Server Faces
Perl tips
Perl links
Python / py2app
Shell scripts
Facebook / Opengraph
PHP developer notes
Redbooth API through php
Website optimization
jqTableKit demo
Javascript / html / css links