Skip to main content
A Open Source Solution
Home Download Support Configuration Development ImagoX

The elements and attributes listed here use the namespace xform . while the xform namespace is not required, a namespace must be used. The namespace of the root element in the XML document will be used to detect all element and attributes of the form and, except where noted, as the namespace on all output elements and attributes.

xform:root

The root element of the form. Only one root element may exist in a single name space. The actual name of the element does not need to be root, this is the element that will trigger the org.xenei.imagoX.ImagoForm.root() extension element as defined in the XSLT file. During validation the root node is replaced with a copy. See copy section in the validation documentation.

Attributes:

xform:validated
An optional field inserted by the process. If present the form has been validated.

xform:hidden

The hidden node and all its child nodes are removed during the GET operation. During the POST operation all children are made siblings of this node and this node is removed. Compare with xform:remove .

xform:remove

The remove node and all its child nodes are removed during the POST operation. During the GET operation all children are made siblings of this node and this node is removed. Compare with xform:hidden .

xform:input

The input node defines an input field. Unless indicated otherwsie the input node must have the following attributes:

Attributes:

xform:name
The optional name of the field. This attribute must be unique. See copy section in the validation documentation for a description of the naming process if xform:name is not specified.
xform:type
Defines the input type. The mapping of xform:type values to field validators is defined in the configuration file . If a specific type is not defined the default field validator will be used. See the Field Validators section for more information.
xform:required
Optional. If present the field data is required, null data or empty strings will not be accepted and a validation error is generated for the field.
xform:error
An optional field inserted by the process. If present its value is the text of the error message. Any form that has an input element with an error attribute has not been validated.
xform is an arbitrary namespace for purposes of this document xform is defined as xmlns:xcounter="xalan://org.xenei.imagoX.forms.ImagoForm"
All trademarks and copyrights are the property of their respective owners.
Copyright © 2002-2004 by Xenei.com, All Rights Reserved
OpenSource.org
AnyBrowser.org
Xenei.org - Open Source Solutions