| <?xml version="1.0" encoding="UTF-8"?> <xs:schema elementFormDefault="qualified" targetNamespace="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" 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="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_extformsmodule"/> </xs:annotation> <!-- form: Form Element --> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="get"/> <xs:enumeration value="post"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:attributeGroup> <xs:sequence> <xs:choice maxOccurs="unbounded"> </xs:choice> </xs:sequence> </xs:group> </xs:complexType> <!-- label: Form Field Label Text Note: Each label must not contain more than ONE field --> <xs:sequence> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:sequence> </xs:group> </xs:attributeGroup> </xs:complexType> <!-- input: Form Control --> <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:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="checked"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="disabled"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="readonly"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:attributeGroup> <xs:sequence/> </xs:group> </xs:complexType> <!-- select: Option Selector --> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="multiple"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="disabled"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:attributeGroup> <xs:sequence> <xs:choice maxOccurs="unbounded"> </xs:choice> </xs:sequence> </xs:group> </xs:complexType> <!-- optgroup: Option Group --> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="disabled"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:attributeGroup> <xs:sequence> </xs:sequence> </xs:group> </xs:complexType> <!-- option: Selectable Choice --> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="selected"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="disabled"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:attributeGroup> <xs:sequence/> </xs:group> </xs:complexType> <!-- textarea: Multi-Line Text Field --> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="disabled"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="readonly"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:attributeGroup> <xs:sequence/> </xs:group> </xs:complexType> <!-- fieldset: Form Control Group --> </xs:attributeGroup> <xs:sequence> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:sequence> </xs:group> </xs:complexType> <!-- legend: Fieldset Legend --> </xs:attributeGroup> <xs:sequence> </xs:sequence> </xs:group> </xs:complexType> <!-- button: Push Button --> <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:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="disabled"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:attributeGroup> <xs:sequence> <xs:choice maxOccurs="unbounded" minOccurs="0"> </xs:choice> </xs:sequence> </xs:group> </xs:complexType> </xs:schema> |
| XML schema documentation generated with DocFlex/XML RE 1.8.5 using DocFlex/XML XSDDoc 2.5.0 template set. All content model diagrams generated by Altova XMLSpy via DocFlex/XML XMLSpy Integration. |