W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2006

RE: Schema help

From: Michael Kay <mike@saxonica.com>
Date: Thu, 19 Jan 2006 06:54:17 -0000
To: "'Chandrasekhar A'" <chandrashekarrvt@gmail.com>, <xmlschema-dev@w3.org>
Message-ID: <E1EzTgh-0005Yy-6E@lisa.w3.org>

No, it's not possible (or necessary). Attributes are considered to be
unordered: there is no significance in the order in which attributes appear,
and it is not possible to constrain the order.

Michael Kay
http://www.saxonica.com/ 
 

> -----Original Message-----
> From: xmlschema-dev-request@w3.org 
> [mailto:xmlschema-dev-request@w3.org] On Behalf Of Chandrasekhar A
> Sent: 19 January 2006 06:41
> To: xmlschema-dev@w3.org
> Subject: Schema help
> 
> 
> Hello All,
>        I have a small doubt in XML schema,
>        Is it possible to specify sequence in attribute group. Like
> 
> 
> <xs:attributeGroup name="NEDAttributes">
> <xs:sequence>
> <xs:attribute name="NodeName" type="NodeName"/>
> <xs:attribute name="NodeOID" type="NodeOID"/>
> <xs:attribute name="NodeOID" type="NodeOID"/>
> <xs:attribute name="NodeType" type="NodeType"/>
> <xs:attribute name="NodeType" type="NodeType"/>
> </xs:sequence>
> </xs:attributeGroup>
> 
>       How to achieve this, Please can any one help me.
> 
> Thanks and Regards,
> Chandu
> 
> 
Received on Thursday, 19 January 2006 06:54:30 GMT

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