complexType narrowMaxMin

complexType {http://www.w3.org/2001/XMLSchema}narrowMaxMin

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}element (by restriction)
    {http://www.w3.org/2001/XMLSchema}localElement (by restriction)
     {http://www.w3.org/2001/XMLSchema}narrowMaxMin
Abstractfalse (This can be used in an instance)
Block Substitutionsextension, restriction
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:complexType name="narrowMaxMin" mixed="false">
    <
xs:annotation>
        <
xs:documentation>restricted max/min</xs:documentation>
    </
xs:annotation>
    <
xs:complexContent>
        <
xs:restriction base="xs:localElement">
            <
xs:sequence>
                <
xs:element ref="xs:annotation" minOccurs="0"/>
                <
xs:choice minOccurs="0">
                    <
xs:element name="simpleType" type="xs:localSimpleType"/>
                    <
xs:element name="complexType" type="xs:localComplexType"/>
                </
xs:choice>
                <
xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
            </
xs:sequence>
            <
xs:attribute name="minOccurs" use="optional" default="1">
                <
xs:simpleType>
                    <
xs:restriction base="xs:nonNegativeInteger">
                        <
xs:enumeration value="0"/>
                        <
xs:enumeration value="1"/>
                    </
xs:restriction>
                </
xs:simpleType>
            </
xs:attribute>
            <
xs:attribute name="maxOccurs" use="optional" default="1">
                <
xs:simpleType>
                    <
xs:restriction base="xs:allNNI">
                        <
xs:enumeration value="0"/>
                        <
xs:enumeration value="1"/>
                    </
xs:restriction>
                </
xs:simpleType>
            </
xs:attribute>
            <
xs:anyAttribute namespace="##other" processContents="lax"/>
        </
xs:restriction>
    </
xs:complexContent>
</
xs:complexType>


Documentation

restricted max/min


complexType narrowMaxMin


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.