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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:07 UTC