Thank you for the information. I have no real purpose for this other than I wanted to learn how to parse XML, and MC Library.xml seemed like an interesting choice. I can display the XML in a tree view Audio, Video, Image, Data and Unknown. The audio branch expands to show Artists and then to Albums and then to tracks. You get the idea.
I am in no way saying there is anything in the way bugs, just some observations in the difference between the Library view in JR and the exported XML. I have learned some interesting things like "Album" and "Album Artist", use "Album Artist" unless blank then use "Artist".
I have found I have an album title in mixed case with some of the tracks attached and then the same album in upper case with the rest of the tracks. The case of the "Artists" seem to be ignored in the JR library but are not the same in the XML so you end up with 2 artists different only in case.
Thanks again.