in reply to Jumping to a location in a file
XML gets misused/abused a great deal. Be on-guard against using it as a database. If you're going to be doing lots of searching, and selectively extracting bits of data, I'd suggest writing a script to parse the original XML and load the data into a mysql database, then use perl DBI for all your data mining operations.