| Author |
SOAP Interface - Attributes vs. Elements
|
Allexicus Kernikus
Ranch Hand
Joined: Oct 07, 2009
Posts: 42
|
|
Is there a good rule of thumb when to use an attribute and when to use an element?
What do you guys say?
|
 |
Surender Suri
Ranch Hand
Joined: May 28, 2010
Posts: 41
|
|
|
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
|
Thanks,
Suri
|
 |
 |
|
|
subject: SOAP Interface - Attributes vs. Elements
|
|
|