Inspirational Technology: Cleaning up iTunes plist XML
"I suppose you can't blame Apple too much for that as the plist format is just designed as a serialization of in memory structures and wasn't designed to be processed with XPath."