Re: Schema help

 >> <xs:attribute name="NodeOID" type="NodeOID"/>
 >> <xs:attribute name="NodeOID" type="NodeOID"/>

 >> <xs:attribute name="NodeType" type="NodeType"/>
 >> <xs:attribute name="NodeType" type="NodeType"/>

And you cannot have multiple attributes with the same name. All these 
are not XML Schema limitations, these are XML constraints.

Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


Michael Kay wrote:
> 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 07:45:46 UTC