Is there a good rule of thumb when to use an attribute and when to use an element?
What do you guys say?
posted 4 years ago
I don't think there are any general rules when to use attributes vs elements. In general attributes are more for meta-data and elements for actual info, also elements are easily expandable for future changes then attributes. Here is an article with more differences, it applys to soap aswell . Elements vs. Attributes