Form XML Complex Elements

This topic describes the structure of the form description file, form XML, used by the Nintex Forms to store the form design.

In this topic:

Form XML Structure

The form XML is a serialized representation of the Nintex Forms Object Model and contains a description of the form, form layouts, and form controls. This description is rendered by the Forms designer at import or by the Forms filler when a form user loads the form.

The XML presentation of the Form Object Model contains the following complex elements:


<Form>
	<CssUrls>
    <FormControls>
          <FormControlProperties/>
     </FormControls>
    <FormLayouts>
          <FormControlLayouts/>
    </FormLayouts>
  <LiveSettings/>
  <ScriptUrls/>
</Form>
		
            

Form XML Elements

In this section you can find:

Form XML Namespaces

An XML namespace is a collection of names, identified by a URI reference, which is in an XML document as element types and attribute names. XML namespaces are different from the namespaces used in C#. Here they specify a specific collection of tags.

The form XML contains multiple namespaces to separate keep each set of elements found a complex. Each complex elements corresponds to a specific object in the Forms Object Model and contains tags that use the a similar markup vocabulary. The namespaces separate these vocabularies in order to avoid name collisions.

In working with the XML and XPath, you may find the namespaces produce an addition layer of complexity since your query or XSLT will need to resolve the namespace before the query can find a a path to a target element. For more information, you may want to refer to "XML Namespaces and How They Affect XPath and XSLT."

The following table contains the namespaces found in the form XML:

Prefix Namespace
n http://schemas.datacontract.org/2004/07/Nintex.Forms
n1 http://schemas.datacontract.org/2004/07/Nintex.Forms.FormControls
n2 http://schemas.datacontract.org/2004/07/Nintex.Forms.SharePoint.FormControls_properties
n3 http://schemas.datacontract.org/2004/07/NewNintexControl
d2p1 http://schemas.microsoft.com/2003/10/Serialization/Arrays
d3p1 http://schemas.datacontract.org/2004/07/Nintex.Forms.SharePoint.FormControl
d4p1 http://schemas.datacontract.org/2004/07/Microsoft.SharePoint.WebControls

Related information

XML Reference