Hello everybody !

I thought about writing something like that:
http://code.google.com/p/itunes-to-rhythmbox-ratings/

I wanted to parse the library with REXML but the file is quite big.

Is there a possibility to parse only a part of the file ?
Or parses only a certain depth of the tree ?
Does  anybody know an existing tool for the iTunes library ?

Thanks

Dominik