Sequence fixed attributes

	Hi,
	I would like to know if there is some way to define a xml schema where the attributes of an element must appear always in the same sequence at the xml instance. If some attribute appear in a diferent position, the parser should throw an error.
	
	Example:
	Some Schema 
      .....
	<xs:attributeGroup name="Attributes">
		<xs:attribute name="A" use="required"/>
		<xs:attribute name="B" type="xs:boolean" use="required"/>
		<xs:attribute name="C" type="xs:string" default=" "/>
	</xs:attributeGroup>
	....

	Instances
	<element  A="blabla" B="true" C="bla" />   !-- this should not throw an error

	<element  B="true" A="blabla" C="bla" />   !-- this should throw an error because A should come before B


	Thanks,
		Gerson

Received on Thursday, 20 December 2001 10:25:25 UTC