Need some PHP + XML help

Hypothetically, imagine that somebody reorganized their music folder but forgot that iTunes kinda wouldn’t know where the files were afterwards. Also hypothetical is the fact that in this situation it would be a huge pain to rerate all the hypothetical songs.

Using the tags already in the XML nodes of each song, would it be possible to change the location directory to a static directory/[the author already in the xml data]/[the album]/[the track name].mp3?

Take this XML data for example, one hypothetical song of many. Could you convert the location to file://localhost/C:/Documents%20and%20Settings/USERNAME/My%20Documents/My%20Music/Electric%20Six/I%20Shall%20Exterminate%20Everything%20Around%20Me%20That%20Restricts%20Me%20from%20Being%20the%20Master/kukuxumusu.mp3 ?

<key>14358</key>
        <dict>
            <key>Track ID</key><integer>14358</integer>
            <key>Name</key><string>Kukuxumusu</string>
            <key>Artist</key><string>Electric Six</string>
            <key>Album</key><string>I Shall Exterminate Everything Around Me That Restricts Me from Being the Master</string>
            <key>Genre</key><string>Rock</string>
            <key>Kind</key><string>MPEG audio file</string>
            <key>Size</key><integer>5567729</integer>
            <key>Total Time</key><integer>231888</integer>
            <key>Track Number</key><integer>10</integer>
            <key>Year</key><integer>2007</integer>
            <key>Date Modified</key><date>2008-01-11T04:58:17Z</date>
            <key>Date Added</key><date>2008-01-11T04:59:08Z</date>
            <key>Bit Rate</key><integer>192</integer>
            <key>Sample Rate</key><integer>44100</integer>
            <key>Play Count</key><integer>1</integer>
            <key>Play Date</key><integer>3283186236</integer>
            <key>Play Date UTC</key><date>2008-01-15T01:10:36Z</date>
            <key>Rating</key><integer>40</integer>
            <key>Album Rating</key><integer>20</integer>
            <key>Album Rating Computed</key><true/>
            <key>Persistent ID</key><string>B0FD066D9DE8064A</string>
            <key>Track Type</key><string>File</string>
            <key>Location</key><string>file://localhost/C:/Documents%20and%20Settings/USERNAME/My%20Documents/My%20Music/electric_six-i_shall_exterminate_everything_around_me...-2007/10-electric_six-kukuxumusu.mp3</string>
            <key>File Folder Count</key><integer>-1</integer>
            <key>Library Folder Count</key><integer>-1</integer>
        </dict>

Thanks,
Overshee