Why would you use attributes?
To add a comment to your XML documents.
To provide additional descriptive information about the element content.
To explain to the XML processor how an element should be processed and how its content should be displayed.
To provide store information that has nothing to do with the content of the element the attribute belongs to.