W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2009

RE: Restricted element content

From: Michael Kay <mike@saxonica.com>
Date: Thu, 12 Mar 2009 13:24:32 -0000
To: "'Pete Cordell'" <petexmldev@codalogic.com>, "'Vity'" <vitywap@seznam.cz>, <xmlschema-dev@w3.org>
Message-ID: <56DC361037414D5F84CC3289CC9654F8@Sealion>
> 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:11 GMT