- From: Nataraj Ramalingam <Nataraj.Ramalingam@aricent.com>
- Date: Sat, 17 Mar 2007 17:26:58 +0530
- To: xmlschema-dev@w3.org
- Message-ID: <OFE727DF14.3FA55697-ON652572A1.0040406A-652572A1.0041A409@flextronicssoftware.c>
Hi, I am little new to XML. I have a basic doubt in the ordering of attributes inside a complex type. Suppose the XSD file has the following structure. <xs:complexType name="test"> <xs:attribute name="a" type="xs:string"/> <xs:attribute name="b" type="xs:string"/> <xs:attribute name="c" type="xs:string"/> <xs:attribute name="d" type="xs:string"/> <xs:attribute name="e" type="xs:string"/> </xs:complexType> <xs:element name="test" type="test"/> Can the XML instance have the attributes in any order, or should the order of attributes in the instance be only a,b,c,d,e? I know that the elements ordering can be controlled using "sequence" or "all". But i am not sure about the same behavior with attributes. Could anyone clarify this? Kind Regards, Nataraj Ramalingam | Technical Lead Email : nataraj.ramalingam@aricent.com Aricent Communications Software www.aricent.com. *********************** 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 Sunday, 18 March 2007 20:44:47 UTC