Chapter 4, Exchanging Data Between an External Application
and a Basic XFA Form
XFA Specification
Basic Data Binding to Produce the XFA Form DOM
181
As shown in the following figure, Group D is inserted and two values,
C[0]
and
C[1]
, are moved to
become children of the new group.
Data DOM
(Before)
A
Form DOM
A
Data DOM
(After)
A
C[0]
“XY”
B
“MN”
C[1]
“PQ”
B
“MN”
D
B
“MN”
D
C[0]
“XY”
C[1]
“PQ”
C[0]
“XY”
C[1]
“PQ”
Re-normalization inserts a data group
As shown in the following figure, value B is created with default properties in order to provide a match for
Field B.
Data DOM
(Before)
A
Form DOM
A
Data DOM
(After)
A
B
default = “PQ”
C
“XY”
C
“XY”
C
“XY”
B
“PQ”
Re-normalization creates a data node
Bind to Properties (Step 5)
This step is new in XFA 2.4. The binding process so far has populated by XFA Form DOM and bound data
values to the
value
properties of field, exclusion group, and subform nodes in the XFA Form DOM. All the
other properties of form nodes are simple copies of the corresponding properties in the template. In this
step the XFA processor updates properties (other than
value
) of form nodes from data values. The data
Home Index Bookmark Pages
Pages: Home Index All Pages