The type Property
Release 2.0 - ...
The type model item property can be applied to both elements and attributes. The type model item property is not applied to instance nodes that contain child elements.
The type model item property associates a datatype (as defined in XML Schema part 2) with the string-value of an instance node.
This model item property does not prevent form controls and XForms actions from setting invalid values into data nodes.
Computed Expression | No |
Legal Values | Any xsd:QName representing a datatype definition in an XML Schema. |
Default Value | xsd:string |
Inheritance Rules | does not inherit. |
This model item property contributes to the overall validity assessment of a node.
Example
XML | Copy Code |
---|---|
<xforms:bind type="xsd:gMonth" nodeset="/person/month"/> |
Specification
Link to the XForms specification: the type Property.