XForms properties define data restrictions, types and
XForms uses properties to define restrictions (or other
attributes) that can affect the behavior of XForms controls.
A required="true()" property will not allow the specified instance
data to be submitted as an empty value.
A type="decimal" property will only allow a decimal value to be
A calculate property can calculate a value for the instance data.
Please refer to the properties reference at the bottom of this page.
Binding Properties To Data
XForms uses the <bind> element to bind XForms properties to XForms data:
<bind nodeset="person/lname" required="true()"/>
In the example above, the attribute nodeset="person/lname" binds the property
required="true()" to the instance data element <lname>.
XForms Properties Reference
||Defines a calculation to be performed on the item
||Defines a constraint for the item
||Defines a P3P data type for the item
||Defines an edit restriction for the item (cannot be
||Defines how relevant the data is (for display or
||Defines if data item is required (cannot be blank)
||Defines the data type for the item
Whether you're new to XML or already an advanced user, the user-friendly views
and powerful entry helpers, wizards, and debuggers in XMLSpy are designed to
meet your XML and Web services development needs from start to finish.
- XML editor
- Graphical XML Schema / DTD editors
- XSLT 1.0/2.0 editor, debugger, profiler
- XQuery editor, debugger, profiler
- Support for Office Open XML (OOXML)
- Graphical WSDL editor & SOAP debugger
- Java, C#, C++ code generation
- And much more!
Download a fully functional free 30-day trial today!