XML Schema elements

XForms make use of several elements from the XML Schema specification, but not all XML elements and attributes are included. The namespace prefix used for elements that originate in the XML Schema specification is xsd: and the namespace declaration is http://www.w3.org/2001/XMLSchema.

XForms make use of several elements from the XML Schema specification, but not all XML elements and attributes are included. The namespace prefix used for elements that originate in the XML Schema specification is xsd: and the namespace declaration is http://www.w3.org/2001/XMLSchema.

Name Purpose
xsd:maxInclusive

Specifies an inclusive bound for numeric values (which includes dates, times, durations, etc.); equivalent to the HTML 5 max attribute.

xsd:maxLength

Specifies an inclusive maximum length of an input field; equivalent to the HTML 5 maxlength attribute.

xsd:minInclusive

Specifies an inclusive bound for numeric values (which includes dates, times, durations, etc.); equivalent to the HTML 5 min attribute.

xsd:restriction

Allows page authors to imposes restrictions on the data type specified by the base attribute. Restrictions can be nested. Refer to the topic entitled Specifying data types and validation criteria for more information.

xsd:schema

The root element of a schema that contains a data type definition.

xsd:simpleType

Defines a simple type and specifies the constraints and information about the values.

Related topics