I'd really like to go through my iTunes music library.xml file and find all the occurences of <key>Name</key><string>My music song</string> <key>Location</key><string>file://localhost/Users...</string> so i can add it to a list in my java application. Could someone give me a simple solution? or something to get started? thanks
You might want to start by reading Understanding SAX and Understanding DOM from IBM developerWorks. That should help you decide which one of the approaches you should use for parsing your XML. When you get to actually writing code, the code snippets in the Java Developer's Almanac are very helpful.