Attribute are for meta-data; elements are for data.
Does the reader want to see the information? If yes, use element content; if no, use attributes.
Attributes are good for ID numbers, URLs, references, and other information not directly relevant to the reader.