ZVON > References > XML Schema 2001 Reference
index | >> Schema << | DTD

simpleContent

Go to standard
Annotation
Documentation

 
Source http://www.w3.org/TR/xmlschema-1/#element-simpleContent

In: schema
Schema

<xs:element name="simpleContent" id="simpleContent">
     <xs:complexType mixed="false">
          <xs:complexContent>
               <xs:extension base="xs:annotated">
                    <xs:choice>
                         <xs:element name="restriction" type="xs:simpleRestrictionType"/>
                         <xs:element name="extension" type="xs:simpleExtensionType"/>
                    </xs:choice>
               </xs:extension>
          </xs:complexContent>
     </xs:complexType>
</xs:element>


Occurs in Schema Tutorial examples:
Element contains text only and one attribute
Attribute block set to "restriction"
Attribute block set to "extension"
XML Schema - blockDefault attribute
Combining block and blockDefault attributes