Hi,
I want to have the following XML instance file:
<ResponseBatch>
<Response>
<ResponseName>Codes</ResponseName>
<CodeName>blah</CodeName>
</Response>
<Response>
<ResponseName>Items</ResponseName>
<ItemName>blah</ItemName>
</Response>...
What are the downside of using attributes over extra elements. Several books state that it is purely down to the designer's personal preference on using attributes or elements.
Personally I think that attributes are nicer as it doesn't bloat the xml.
Here are two examples with and without...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.