W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2002

Re: <length> = a real number plus a unit qualification

From: <noah_mendelsohn@us.ibm.com>
Date: Mon, 13 May 2002 20:21:50 -0400
To: Chuck Paussa <cpaussa@myrealbox.com>
Cc: Jeni Tennison <jeni@jenitennison.com>, xmlschema-dev@w3.org
Message-ID: <OF94F00269.1C86F718-ON85256BB8.00746B57@lotus.com>
I understand that it may not meet the need, but there are many who would 
argue that:

        <length units="cm">2.54</length>

is better markup than:

        <length> 2.54 cm</length>

It's easier to manipulate with tools like XPath, XSL, and presumably 
Query, it can be more strongly typed. etc.  Of course, since XML does not 
have structured attributes, it works only for elements. Still, it's worth 
considering if it meets your needs.

Noah Mendelsohn                              Voice: 1-617-693-4036
IBM Corporation                                Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142
Received on Monday, 13 May 2002 20:46:14 UTC

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