I'm developing a desktop app that will scan a user's system for mp3 files and send their whole collection to a website. I'm assuming the best file format for sending this data to a server would be XML -- although correct me if I'm wrong.
Can someone kindly comment on whether the formatting of the sample XML file below looks okay? Thanks!
<?xml version="1.0" encoding="utf-8"?>
<collection>
<artist name="Michael Jackson">
<track>Beat It</track>
<track>Thriller</track>
</artist>
<artist name="The Beatles">
<track>Hey Jude</track>
<track>Yellow Submarine</track>
</artist>
<artist name="Eminem">
<track>Lose Yourself</track>
<track>Without Me</track>
</artist>
</collection>