XML structure

For each CFML tag, ColdFusion MX converts attributes and element values to XML in the XForms xf:model element, or in individual control elements, such as the XForms xf:input, xf:secret, or xf:group elements.

ColdFusion MX generates XForms XML in the following format. The numbers on each line indicate the level of nesting of the tags.

1   form tag
2      XForms model element
3         XForms instance element
4            cf:data element 
3         XForms submission element
3         XForms bind element
3         XForms bind element
3      .
3      .
3      .
2      (end of model element)
2      XForms or ColdFusion extension control element
2      XForms or ColdFusion extension control element
         .
         .
         .
1   (end of form)

The following sections describe the data model and the elements that make up the XForms document.


View comments in LiveDocs