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

Re: Attributes ordering

From: Nataraj Ramalingam <Nataraj.Ramalingam@aricent.com>
Date: Mon, 19 Mar 2007 11:17:40 +0530
To: "G. Ken Holman" <gkholman@CraneSoftwrights.com>
Cc: xmlschema-dev@w3.org
Message-ID: <OF74D1FF23.474D483C-ON652572A3.001F4A80-652572A3.001FD49D@flextronicssoftware.com>
Thanks Ken.

So, this confirms that attributes can appear in any order in an element 
instance.

Kind Regards,
Nataraj.


xmlschema-dev-request@w3.org wrote on 03/19/2007 03:10:52 AM:

> 
> 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
> 
> 


***********************  Aricent-Private   ***********************
"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of 
the individual to whom it is addressed. It may contain privileged or confidential information and should not be 
circulated or used for any purpose other than for what it is intended. If you have received this message in error, 
please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly
prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for 
loss or damage arising from the use of the information transmitted by this email including damage from virus."
Received on Monday, 19 March 2007 05:47:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:41 UTC