element restriction

element {http://www.w3.org/2001/XMLSchema}restriction

Type Heirarchy
{http://www.w3.org/2001/XMLSchema}anyType (by restriction)
 {http://www.w3.org/2001/XMLSchema}openAttrs (by extension)
  {http://www.w3.org/2001/XMLSchema}annotated (by extension)
   {http://www.w3.org/2001/XMLSchema}restriction
Abstractfalse (This can be used in an instance)
Block Substitutionsextension, restriction, substitution
Nillablefalse (Instance values cannot use xsi:nil)
Target Namespacehttp://www.w3.org/2001/XMLSchema
Declared Namespacesxmlns:hfp=http://www.w3.org/2001/XMLSchema-hasFacetAndProperty
xmlns:xs=http://www.w3.org/2001/XMLSchema


Source

<xs:element name="restriction" id="restriction">
    <
xs:complexType mixed="false">
        <
xs:annotation>
            <
xs:documentation source="http://www.w3.org/TR/xmlschema-2/#element-restriction">
base attribute and simpleType child are mutually
exclusive, but one or other is required
            
</xs:documentation>
        </
xs:annotation>
        <
xs:complexContent>
            <
xs:extension base="xs:annotated">
                <
xs:group ref="xs:simpleRestrictionModel"/>
                <
xs:attribute name="base" type="xs:QName" use="optional"/>
            </
xs:extension>
        </
xs:complexContent>
    </
xs:complexType>
</
xs:element>


element restriction


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.