W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2005

RE: Attribute Usage

From: Michael Kay <mike@saxonica.com>
Date: Tue, 15 Mar 2005 10:18:52 -0000
To: <MCRAWFORD@lmi.org>, <xmlschema-dev@w3.org>
Message-ID: <E1DB98d-0006V9-Tb@frink.w3.org>
Use attributes if you want to provide additional clarification that a human
reader might require to understand the data.

That's an interesting inversion of the usual rule for document-oriented XML,
where the convention is to use elements for things that the human reader is
expected to read, and attributes for the metadata which is typically
interpreted by software.
 
Michael Kay
Received on Tuesday, 15 March 2005 10:18:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:49 GMT