The .xml should list all the songs, playlists and other sundry data, however deciphering it is a bit tricky. Every time iTunes runs it rebuilds the .xml so you'll need to check that you have a copy that still reflects your former library.
This is an example of the record for one track in the .xml file.
| <key>76</key> |
| <dict> |
| <key>Track ID</key><integer>76</integer> |
| <key>Name</key><string>Dunya Salam [Feat. Baaba Maal]</string> |
| <key>Artist</key><string>1 Giant Leap</string> |
| <key>Album Artist</key><string>1 Giant Leap</string> |
| <key>Composer</key><string>Baaba Maal/Duncan Bridgeman/Jamie Catto</string> |
| <key>Album</key><string>1 Giant Leap</string> |
| <key>Genre</key><string>Rock</string> |
| <key>Kind</key><string>MPEG audio file</string> |
| <key>Size</key><integer>4227148</integer> |
| <key>Total Time</key><integer>175333</integer> |
| <key>Track Number</key><integer>1</integer> |
| <key>Track Count</key><integer>12</integer> |
| <key>Year</key><integer>2002</integer> |
| <key>Date Modified</key><date>2013-03-31T19:54:28Z</date> |
| <key>Date Added</key><date>2013-03-31T16:44:42Z</date> |
| <key>Bit Rate</key><integer>192</integer> |
| <key>Sample Rate</key><integer>44100</integer> |
| <key>Play Count</key><integer>2</integer> |
| <key>Play Date</key><integer>3450044275</integer> |
| <key>Play Date UTC</key><date>2013-04-29T00:37:55Z</date> |
| <key>Artwork Count</key><integer>1</integer> |
| <key>Sort Album</key><string>000001 Giant Leap</string> |
| <key>Sort Album Artist</key><string>0001 Giant Leap</string> |
| <key>Sort Artist</key><string>0001 Giant Leap</string> |
| <key>Persistent ID</key><string>C670879EAD7AE1C4</string> |
| <key>Track Type</key><string>File</string> |
<key>Location</key><string>file://localhost/E:/iTunes%20Test/iTunes%20Media/Musi c/ 1%20Giant%20Leap/1%20Giant%20Leap/01%20Dunya%20Salam%20%5BFeat.%20 Baaba%20Maal%5D.mp3</string> |
| <key>File Folder Count</key><integer>6</integer> |
| <key>Library Folder Count</key><integer>1</integer> |
| </dict> |
Extracting the location strings and converting the various character substitutions would give most of the relevant information and looks like the easiest approach. The track above is stored at:
E:\iTunes Test\iTunes Media\Music\1 Giant Leap\1 Giant Leap\01 Dunya Salam [Feat. Baaba Maal].mp3
from which one can infer artist/album artist, album, track number and track name. Would a list of such file paths be useful? I can probably knock up a script for that. Alternatively one could attempt to pull together more of the track information from the other keys. but that would be harder.
I suggest using Notepad++ if you want to explore the contents of the .xml yourself.
tt2