Need advice on working with xml

I’m relatively new to xml, but I get the general functionality.

My issue right now is I want to perform some advanced functions on my itunes library.xml (replacing certain paths with <artist\album\ itle.mp3) for instance and have no idea how to even start doing that. I guess I would have to write some sort of script, and probably has not much to do specifically with xml, but not really sure how. So just looking for some pointers on how to start this.