[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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>
RE: Schema help

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

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.