The XPE Forms form element is the root element of the forms definition. This element (and all XPE forms elements) belong to the xmlns:xf="http://www.xmlpipe.org/xpe/form" namespace. Associated attributes are:
| Attribute name | Description |
| debug | This optional attribute defaults to no. When set to yesstrong> XPE
forms will display the instance data submitted to either an action or
consistency pipeline. |
| method | This optional attribute defaults to post and specified the HTTP method
to use when submitting the form. Valid values are:
|
| action | This mandatory attribute specifies the pipeline to be executed once the form is
submitted and passes all schema level validations. |
| title | The title of the form |
| lang | Optional attribute for the language code of the form. "en" for English and "zh" for Chinese. Default is English. |
| onSuccess | This optional attribute specifies the url that the client is redirected to after a successfull execution of the
action pipeline. |
| onError | This optonal attribute specifies the url that the client is redirected to after a failed execution of the
action pipeline. |