I need store some setting in XML. I can not decide to use xml element or xml
attribute to store them, for example, the XML could be
<Page>
<Label>test</Label>
<Size>10</Size>
.....
</Page>
and it could be
<Page label="test" size="10"/>
I read some articles. Most them suggest element, the first one. But in my
experience, attribute is more easy to handle, no matter edit it manually or
read them in code. And sitemap of .NET 2.0 uses this format too.
Any suggestion?
Thanks!