XML Schema "xhtml-form-1.xsd"
Target Namespace (adopted):
Defined Components:
elements (9 local), complexTypes (10), simpleTypes (1), element groups (10), attribute groups (10)
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
http://www.w3.org/MarkUp/SCHEMA/xhtml-form-1.xsd; see XML source
Imports Schemas (1):
Redefined in Schemas (1):
Annotation
Annotation 1 [src]:
Forms
This is the XML Schema Forms module for XHTML

* form, label, input, select, optgroup, option,
textarea, fieldset, legend, button

This module declares markup to provide support for online
forms, based on the features found in HTML 4.0 forms.

$Id: xhtml-form-1.xsd,v 1.4 2009/09/30 15:22:38 ahby Exp $
Annotation 2 [src]:
See:  xhtml-copyright-1.xsd
Annotation 3 [src]:
See:  http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_extformsmodule
All Element Summary (local elements unified by type)
Type:
Content:
mixed (allows character data), 26 attributes, 44 elements
Defined:
locally at 2 locations
Type:
Content:
mixed (allows character data), 18 attributes, 54 elements
Defined:
locally at 2 locations
Type:
Content:
empty, 37 attributes
Defined:
locally at 2 locations
Type:
Content:
mixed (allows character data), 19 attributes, 35 elements
Defined:
locally within xhtml.fieldset.content group; see XML source
Type:
Content:
complex, 20 attributes, 1 element
Defined:
locally within xhtml.select.content group; see XML source
Type:
Content:
mixed (allows character data), 22 attributes
Defined:
locally at 2 locations
Type:
Content:
complex, 26 attributes, 2 elements
Defined:
locally at 2 locations
Type:
Content:
mixed (allows character data), 29 attributes
Defined:
locally at 2 locations
Complex Type Summary
Content:
mixed (allows character data), 26 attributes, 44 elements
Defined:
globally; see XML source
Used:
Content:
mixed (allows character data), 18 attributes, 54 elements
Defined:
globally; see XML source
Used:
Content:
complex, 27 attributes, 21 elements
Defined:
globally; see XML source
Used:
Content:
empty, 37 attributes
Defined:
globally; see XML source
Used:
Content:
mixed (allows character data), 22 attributes, 32 elements
Defined:
globally; see XML source
Used:
Content:
mixed (allows character data), 19 attributes, 35 elements
Defined:
globally; see XML source
Used:
Content:
complex, 20 attributes, 1 element
Defined:
globally; see XML source
Used:
Content:
mixed (allows character data), 22 attributes
Defined:
globally; see XML source
Used:
Content:
complex, 26 attributes, 2 elements
Defined:
globally; see XML source
Used:
Content:
mixed (allows character data), 29 attributes
Defined:
globally; see XML source
Used:
Simple Type Summary
Defined:
globally; see XML source
Used:
Element Group Summary
Content:
44 elements
Defined:
globally; see XML source
Used:
Content:
54 elements
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Content:
21 elements
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Defined:
globally; see XML source
Used:
Content:
32 elements
Defined:
globally; see XML source
Includes:
definitions of 4 elements
Used:
Content:
35 elements
Defined:
globally; see XML source
Used:
Content:
1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Defined:
globally; see XML source
Used:
Content:
2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Defined:
globally; see XML source
Used:
Attribute Group Summary
Content:
Defined:
globally; see XML source
Includes:
definitions of 6 attributes
Redefined:
Used:
Content:
18 attributes
Defined:
globally; see XML source
Used:
Content:
Defined:
globally; see XML source
Includes:
definitions of 6 attributes
Redefined:
Used:
Content:
Defined:
globally; see XML source
Includes:
definitions of 13 attributes
Redefined:
Used:
Content:
Defined:
globally; see XML source
Includes:
definitions of 2 attributes
Redefined:
Used:
Content:
Defined:
globally; see XML source
Includes:
definition of 1 attribute
Used:
Content:
Defined:
globally; see XML source
Includes:
definitions of 2 attributes
Used:
Content:
Defined:
globally; see XML source
Includes:
definitions of 4 attributes
Used:
Content:
Defined:
globally; see XML source
Includes:
definitions of 5 attributes
Redefined:
Used:
Content:
Defined:
globally; see XML source
Includes:
definitions of 7 attributes
Redefined:
Used:
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema elementFormDefault="qualified" xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" schemaLocation="xhtml-datatypes-1.xsd"/>
<xs:annotation>
<xs:documentation>
Forms
This is the XML Schema Forms module for XHTML

* form, label, input, select, optgroup, option,
textarea, fieldset, legend, button

This module declares markup to provide support for online
forms, based on the features found in HTML 4.0 forms.

$Id: xhtml-form-1.xsd,v 1.4 2009/09/30 15:22:38 ahby Exp $
</xs:documentation>
<xs:documentation source="xhtml-copyright-1.xsd"/>
<xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_extformsmodule"/>
</xs:annotation>
<!-- form: Form Element -->
<xs:attributeGroup name="xhtml.form.attlist">
<xs:attributeGroup ref="xhtml.Common.attrib"/>
<xs:attribute name="action" type="xh11d:URI" use="required"/>
<xs:attribute default="get" name="method">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="get"/>
<xs:enumeration value="post"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="name" type="xh11d:CDATA"/>
<xs:attribute default="application/x-www-form-urlencoded" name="enctype" type="xh11d:ContentType"/>
<xs:attribute name="accept-charset" type="xh11d:Charsets"/>
<xs:attribute name="accept" type="xh11d:ContentTypes"/>
</xs:attributeGroup>
<xs:group name="xhtml.form.content">
<xs:sequence>
<xs:choice maxOccurs="unbounded">
<xs:group ref="xhtml.BlkNoForm.mix"/>
<xs:element name="fieldset" type="xhtml.fieldset.type"/>
</xs:choice>
</xs:sequence>
</xs:group>
<xs:complexType name="xhtml.form.type">
<xs:group ref="xhtml.form.content"/>
<xs:attributeGroup ref="xhtml.form.attlist"/>
</xs:complexType>
<!--
label: Form Field Label Text
Note: Each label must not contain more than ONE field
-->
<xs:group name="xhtml.label.content">
<xs:sequence>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="input" type="xhtml.input.type"/>
<xs:element name="select" type="xhtml.select.type"/>
<xs:element name="textarea" type="xhtml.textarea.type"/>
<xs:element name="button" type="xhtml.button.type"/>
<xs:group ref="xhtml.InlStruct.class"/>
<xs:group ref="xhtml.InlPhras.class"/>
<xs:group ref="xhtml.I18n.class"/>
<xs:group ref="xhtml.InlPres.class"/>
<xs:group ref="xhtml.InlSpecial.class"/>
<xs:group ref="xhtml.Inline.extra"/>
<xs:group ref="xhtml.Misc.class"/>
</xs:choice>
</xs:sequence>
</xs:group>
<xs:attributeGroup name="xhtml.label.attlist">
<xs:attributeGroup ref="xhtml.Common.attrib"/>
<xs:attribute name="for" type="xs:IDREF"/>
<xs:attribute name="accesskey" type="xh11d:Character"/>
</xs:attributeGroup>
<xs:complexType mixed="true" name="xhtml.label.type">
<xs:group ref="xhtml.label.content"/>
<xs:attributeGroup ref="xhtml.label.attlist"/>
</xs:complexType>
<!-- input: Form Control -->
<xs:simpleType name="xhtml.InputType.class">
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="text"/>
<xs:enumeration value="password"/>
<xs:enumeration value="checkbox"/>
<xs:enumeration value="radio"/>
<xs:enumeration value="submit"/>
<xs:enumeration value="reset"/>
<xs:enumeration value="hidden"/>
<xs:enumeration value="image"/>
<xs:enumeration value="button"/>
<xs:enumeration value="file"/>
</xs:restriction>
</xs:simpleType>
<!--
attribute 'name' required for all but submit & reset
-->
<xs:attributeGroup name="xhtml.input.attlist">
<xs:attributeGroup ref="xhtml.Common.attrib"/>
<xs:attribute default="text" name="type" type="xhtml.InputType.class"/>
<xs:attribute name="name" type="xh11d:CDATA"/>
<xs:attribute name="value" type="xh11d:CDATA"/>
<xs:attribute name="checked">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="checked"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="disabled">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="disabled"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="readonly">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="readonly"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="size" type="xh11d:Number"/>
<xs:attribute name="maxlength" type="xh11d:Number"/>
<xs:attribute name="src" type="xh11d:URI"/>
<xs:attribute name="alt" type="xh11d:Text"/>
<xs:attribute name="tabindex" type="xh11d:Number"/>
<xs:attribute name="accesskey" type="xh11d:Character"/>
<xs:attribute name="accept" type="xh11d:ContentTypes"/>
</xs:attributeGroup>
<xs:group name="xhtml.input.content">
<xs:sequence/>
</xs:group>
<xs:complexType name="xhtml.input.type">
<xs:group ref="xhtml.input.content"/>
<xs:attributeGroup ref="xhtml.input.attlist"/>
</xs:complexType>
<!-- select: Option Selector -->
<xs:attributeGroup name="xhtml.select.attlist">
<xs:attributeGroup ref="xhtml.Common.attrib"/>
<xs:attribute name="name" type="xh11d:CDATA"/>
<xs:attribute name="size" type="xh11d:Number"/>
<xs:attribute name="multiple">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="multiple"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="disabled">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="disabled"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="tabindex" type="xh11d:Number"/>
</xs:attributeGroup>
<xs:group name="xhtml.select.content">
<xs:sequence>
<xs:choice maxOccurs="unbounded">
<xs:element name="optgroup" type="xhtml.optgroup.type"/>
<xs:element name="option" type="xhtml.option.type"/>
</xs:choice>
</xs:sequence>
</xs:group>
<xs:complexType name="xhtml.select.type">
<xs:group ref="xhtml.select.content"/>
<xs:attributeGroup ref="xhtml.select.attlist"/>
</xs:complexType>
<!-- optgroup: Option Group -->
<xs:attributeGroup name="xhtml.optgroup.attlist">
<xs:attributeGroup ref="xhtml.Common.attrib"/>
<xs:attribute name="disabled">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="disabled"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="label" type="xh11d:Text" use="required"/>
</xs:attributeGroup>
<xs:group name="xhtml.optgroup.content">
<xs:sequence>
<xs:element maxOccurs="unbounded" name="option" type="xhtml.option.type"/>
</xs:sequence>
</xs:group>
<xs:complexType name="xhtml.optgroup.type">
<xs:group ref="xhtml.optgroup.content"/>
<xs:attributeGroup ref="xhtml.optgroup.attlist"/>
</xs:complexType>
<!-- option: Selectable Choice -->
<xs:attributeGroup name="xhtml.option.attlist">
<xs:attributeGroup ref="xhtml.Common.attrib"/>
<xs:attribute name="selected">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="selected"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="disabled">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="disabled"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="label" type="xh11d:Text"/>
<xs:attribute name="value" type="xh11d:CDATA"/>
</xs:attributeGroup>
<xs:group name="xhtml.option.content">
<xs:sequence/>
</xs:group>
<xs:complexType mixed="true" name="xhtml.option.type">
<xs:group ref="xhtml.option.content"/>
<xs:attributeGroup ref="xhtml.option.attlist"/>
</xs:complexType>
<!-- textarea: Multi-Line Text Field -->
<xs:attributeGroup name="xhtml.textarea.attlist">
<xs:attributeGroup ref="xhtml.Common.attrib"/>
<xs:attribute name="name" type="xh11d:CDATA"/>
<xs:attribute name="rows" type="xh11d:Number" use="required"/>
<xs:attribute name="cols" type="xh11d:Number" use="required"/>
<xs:attribute name="disabled">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="disabled"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="readonly">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="readonly"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="tabindex" type="xh11d:Number"/>
<xs:attribute name="accesskey" type="xh11d:Character"/>
</xs:attributeGroup>
<xs:group name="xhtml.textarea.content">
<xs:sequence/>
</xs:group>
<xs:complexType mixed="true" name="xhtml.textarea.type">
<xs:group ref="xhtml.textarea.content"/>
<xs:attributeGroup ref="xhtml.textarea.attlist"/>
</xs:complexType>
<!-- fieldset: Form Control Group -->
<xs:attributeGroup name="xhtml.fieldset.attlist">
<xs:attributeGroup ref="xhtml.Common.attrib"/>
</xs:attributeGroup>
<xs:group name="xhtml.fieldset.content">
<xs:sequence>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="legend" type="xhtml.legend.type"/>
<xs:group ref="xhtml.Flow.mix"/>
</xs:choice>
</xs:sequence>
</xs:group>
<xs:complexType mixed="true" name="xhtml.fieldset.type">
<xs:group ref="xhtml.fieldset.content"/>
<xs:attributeGroup ref="xhtml.fieldset.attlist"/>
</xs:complexType>
<!-- legend: Fieldset Legend -->
<xs:attributeGroup name="xhtml.legend.attlist">
<xs:attributeGroup ref="xhtml.Common.attrib"/>
<xs:attribute name="accesskey" type="xh11d:Character"/>
</xs:attributeGroup>
<xs:group name="xhtml.legend.content">
<xs:sequence>
<xs:group maxOccurs="unbounded" minOccurs="0" ref="xhtml.Inline.mix"/>
</xs:sequence>
</xs:group>
<xs:complexType mixed="true" name="xhtml.legend.type">
<xs:group ref="xhtml.legend.content"/>
<xs:attributeGroup ref="xhtml.legend.attlist"/>
</xs:complexType>
<!-- button: Push Button -->
<xs:attributeGroup name="xhtml.button.attlist">
<xs:attributeGroup ref="xhtml.Common.attrib"/>
<xs:attribute name="name" type="xh11d:CDATA"/>
<xs:attribute name="value" type="xh11d:CDATA"/>
<xs:attribute default="submit" name="type">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="button"/>
<xs:enumeration value="submit"/>
<xs:enumeration value="reset"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="disabled">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="disabled"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="tabindex" type="xh11d:Number"/>
<xs:attribute name="accesskey" type="xh11d:Character"/>
</xs:attributeGroup>
<xs:group name="xhtml.button.content">
<xs:sequence>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:group ref="xhtml.BlkNoForm.mix"/>
<xs:group ref="xhtml.InlStruct.class"/>
<xs:group ref="xhtml.InlPhras.class"/>
<xs:group ref="xhtml.InlPres.class"/>
<xs:group ref="xhtml.I18n.class"/>
<xs:group ref="xhtml.InlSpecial.class"/>
<xs:group ref="xhtml.Inline.extra"/>
</xs:choice>
</xs:sequence>
</xs:group>
<xs:complexType mixed="true" name="xhtml.button.type">
<xs:group ref="xhtml.button.content"/>
<xs:attributeGroup ref="xhtml.button.attlist"/>
</xs:complexType>
</xs:schema>

XML schema documentation generated with FlexDoc/XML 1.13 using FlexDoc/XML XSDDoc 2.9.5 template set. All XSD diagrams generated by FlexDoc/XML DiagramKit.