W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2001

RE: simpleType in restriction

From: Jeff Lowery <jlowery@scenicsoft.com>
Date: Wed, 30 May 2001 13:35:41 -0700
Message-ID: <3549BAFD79A7D411A1CF00508B62B5BC766C6E@exchange-us.scenicsoft.com>
To: "'Kevin'" <zhangyongjiang@yahoo.com>, xmlschema-dev@w3.org
> In the definition of restriction:
> <restriction
>   base = QName
>   id = ID
>   {any attributes with non-schema namespace . . .}>
>   Content: (annotation?, (simpleType?, (minExclusive | minInclusive |
> maxExclusive | maxInclusive | totalDigits | fractionDigits | length |
> minLength | maxLength | enumeration | whiteSpace | pattern)*))
> </restriction>

<simpleType name="fivePosInts">
    <restriction> 
        <simpleType> 
            <list itemType="positiveInteger"/> 
        </simpleType> 
        <length value="5"/>
     </restriction> 
</simpleType>          
Received on Wednesday, 30 May 2001 16:36:24 GMT

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