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

Re: Attributes ordering

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Sun, 18 Mar 2007 22:40:52 +0100
Message-Id: <7.0.1.0.2.20070318223919.0294e710@CraneSoftwrights.com>
To: xmlschema-dev@w3.org

At 2007-03-17 17:26 +0530, Nataraj Ramalingam wrote:
>I am little new to XML. I have a basic doubt in the ordering of 
>attributes inside a complex type.
>...
>I know that the elements ordering can be controlled using "sequence" 
>or "all". But i am not sure about the same behavior with attributes.

Note that XML 1.0 fourth edition (and all editions) states in section 3.1:

   http://www.w3.org/TR/2006/REC-xml-20060816/#sec-starttags
   Note that the order of attribute specifications in a start-tag
   or empty-element tag is not significant.

I hope this helps.

. . . . . . . . . . . . Ken


--
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds:     publicly-available developer resources and training
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/x/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/x/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
Received on Sunday, 18 March 2007 21:42:18 UTC

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