← Prev in month
← Prev in thread
Re: [xml-dev] Dont 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. http://lists.xml.org/archives/xml-dev/200205/threads.html#01027 http://lists.xml.org/archives/xml-dev/200205/threads.html#01034 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.
← Prev in month
← Prev in thread