[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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>
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 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.