OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Donít create elements with simple content and attributes

On Thu, 27 Sep 2018 09:43:02 -0600, you wrote:

| "Principles of XML design: When to use elements versus attributes", 2004:
| https://www.ibm.com/developerworks/library/x-eleatt/index.html

An old discussion on this list.


In general, avoid placing "data", or any kind of analytic content, in
attribute values.  That is, attributes should be used for "metadata"
only.  Some SGML concepts didn't make the cut for XML.  Data content
notations in DTDs would take care of a lot of corner cases.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS