| FlexDoc/XML XSDDoc Demo | XML Schemas for XHTML 1.1

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

XML Schema "xhtml-form-1.xsd"
Target Namespace (adopted):
http://www.w3.org/1999/xhtml
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):
xhtml-datatypes-1.xsd [src]
Redefined in Schemas (1):
xhtml11-modules-1.xsd [src]
Description
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: http://www.w3.org/MarkUp/SCHEMA/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)
button |
Namespace: | http://www.w3.org/1999/xhtml
Type: | xhtml.button.type
Content: | mixed, 26 attributes, 44 elements
Defined: | locally at 2 locations
fieldset |
Namespace: | http://www.w3.org/1999/xhtml
Type: | xhtml.fieldset.type
Content: | mixed, 18 attributes, 54 elements
Defined: | locally at 2 locations
input |
Namespace: | http://www.w3.org/1999/xhtml
Type: | xhtml.input.type
Content: | empty, 37 attributes
Defined: | locally at 2 locations
legend |
Namespace: | http://www.w3.org/1999/xhtml
Type: | xhtml.legend.type
Content: | mixed, 19 attributes, 35 elements
Defined: | locally in group xhtml.fieldset.content; see XML source
optgroup |
Namespace: | http://www.w3.org/1999/xhtml
Type: | xhtml.optgroup.type
Content: | complex, 20 attributes, 1 element
Defined: | locally in group xhtml.select.content; see XML source
option |
Namespace: | http://www.w3.org/1999/xhtml
Type: | xhtml.option.type
Content: | mixed, 22 attributes
Defined: | locally at 2 locations
select |
Namespace: | http://www.w3.org/1999/xhtml
Type: | xhtml.select.type
Content: | complex, 26 attributes, 2 elements
Defined: | locally at 2 locations
textarea |
Namespace: | http://www.w3.org/1999/xhtml
Type: | xhtml.textarea.type
Content: | mixed, 29 attributes
Defined: | locally at 2 locations

Complex Type Summary
xhtml.button.type |
Namespace: | http://www.w3.org/1999/xhtml
Content: | mixed (allows character data), 26 attributes, 44 elements
Defined: | globally; see XML source
Referenced: | by 2 locations
xhtml.fieldset.type |
Namespace: | http://www.w3.org/1999/xhtml
Content: | mixed (allows character data), 18 attributes, 54 elements
Defined: | globally; see XML source
Referenced: | by 2 locations
xhtml.form.type |
Namespace: | http://www.w3.org/1999/xhtml
Content: | complex, 27 attributes, 21 elements
Defined: | globally; see XML source
Referenced: | by 1 location
xhtml.input.type |
Namespace: | http://www.w3.org/1999/xhtml
Content: | empty, 37 attributes
Defined: | globally; see XML source
Referenced: | by 2 locations
xhtml.label.type |
Namespace: | http://www.w3.org/1999/xhtml
Content: | mixed (allows character data), 22 attributes, 32 elements
Defined: | globally; see XML source
Referenced: | by 1 location
xhtml.legend.type |
Namespace: | http://www.w3.org/1999/xhtml
Content: | mixed (allows character data), 19 attributes, 35 elements
Defined: | globally; see XML source
Referenced: | by 1 location
xhtml.optgroup.type |
Namespace: | http://www.w3.org/1999/xhtml
Content: | complex, 20 attributes, 1 element
Defined: | globally; see XML source
Referenced: | by 1 location
xhtml.option.type |
Namespace: | http://www.w3.org/1999/xhtml
Content: | mixed (allows character data), 22 attributes
Defined: | globally; see XML source
Referenced: | by 2 locations
xhtml.select.type |
Namespace: | http://www.w3.org/1999/xhtml
Content: | complex, 26 attributes, 2 elements
Defined: | globally; see XML source
Referenced: | by 2 locations
xhtml.textarea.type |
Namespace: | http://www.w3.org/1999/xhtml
Content: | mixed (allows character data), 29 attributes
Defined: | globally; see XML source
Referenced: | by 2 locations

Simple Type Summary
xhtml.InputType.class |
Namespace: | http://www.w3.org/1999/xhtml
Derived By: | restriction of xs:NMTOKEN
Defined: | globally; see XML source
Referenced: | by 1 location

Element Group Summary
xhtml.button.content |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 44 elements
Defined: | globally; see XML source
Referenced: | by 1 location
xhtml.fieldset.content |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 54 elements
Defined: | globally; see XML source
Includes: | declaration of 1 element
Referenced: | by 1 location
xhtml.form.content |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 21 elements
Defined: | globally; see XML source
Includes: | declaration of 1 element
Referenced: | by 1 location
xhtml.input.content |
Namespace: | http://www.w3.org/1999/xhtml
Defined: | globally; see XML source
Referenced: | by 1 location
xhtml.label.content |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 32 elements
Defined: | globally; see XML source
Includes: | declarations of 4 elements
Referenced: | by 1 location
xhtml.legend.content |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 35 elements
Defined: | globally; see XML source
Referenced: | by 1 location
xhtml.optgroup.content |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 1 element
Defined: | globally; see XML source
Includes: | declaration of 1 element
Referenced: | by 1 location
xhtml.option.content |
Namespace: | http://www.w3.org/1999/xhtml
Defined: | globally; see XML source
Referenced: | by 1 location
xhtml.select.content |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 2 elements
Defined: | globally; see XML source
Includes: | declarations of 2 elements
Referenced: | by 1 location
xhtml.textarea.content |
Namespace: | http://www.w3.org/1999/xhtml
Defined: | globally; see XML source
Referenced: | by 1 location

Attribute Group Summary
xhtml.button.attlist (ver 1) |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 24 attributes
Defined: | globally; see XML source
Includes: | declarations of 6 attributes
Redefined: | with xhtml.button.attlist in xhtml11-modules-1.xsd
Referenced: | by 1 location
xhtml.fieldset.attlist |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 18 attributes
Defined: | globally; see XML source
Referenced: | by 1 location
xhtml.form.attlist (ver 1) |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 24 attributes
Defined: | globally; see XML source
Includes: | declarations of 6 attributes
Redefined: | with xhtml.form.attlist in xhtml11-modules-1.xsd
Referenced: | by 1 location
xhtml.input.attlist (ver 1) |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 31 attributes
Defined: | globally; see XML source
Includes: | declarations of 13 attributes
Redefined: | with xhtml.input.attlist in xhtml11-modules-1.xsd
Referenced: | by 1 location
xhtml.label.attlist (ver 1) |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 20 attributes
Defined: | globally; see XML source
Includes: | declarations of 2 attributes
Redefined: | with xhtml.label.attlist in xhtml11-modules-1.xsd
Referenced: | by 1 location
xhtml.legend.attlist |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 19 attributes
Defined: | globally; see XML source
Includes: | declaration of 1 attribute
Referenced: | by 1 location
xhtml.optgroup.attlist |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 20 attributes
Defined: | globally; see XML source
Includes: | declarations of 2 attributes
Referenced: | by 1 location
xhtml.option.attlist |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 22 attributes
Defined: | globally; see XML source
Includes: | declarations of 4 attributes
Referenced: | by 1 location
xhtml.select.attlist (ver 1) |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 23 attributes
Defined: | globally; see XML source
Includes: | declarations of 5 attributes
Redefined: | with xhtml.select.attlist in xhtml11-modules-1.xsd
Referenced: | by 1 location
xhtml.textarea.attlist (ver 1) |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 25 attributes
Defined: | globally; see XML source
Includes: | declarations of 7 attributes
Redefined: | with xhtml.textarea.attlist in xhtml11-modules-1.xsd
Referenced: | by 1 location

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>

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

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