RE: Restricted element content

> Interestingly (or otherwise) a complex type with simple 
> content could be expressed as:
> 
> <xs:complexType name='fooType'>
>     <xs:sequence>
>         <xs:text type='xs:int'/>
>     </xs:sequence>
>     <xs:attribute name='atr1' type='xs:string'/> </xs:complexType>
> 
> and I wonder whether that could simplify the specs.

We've stolen the best bits of Schematron for XSD 1.1.

Stealing the good bits of Relax NG comes next...

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

Received on Thursday, 12 March 2009 13:25:19 UTC