This section discusses the meaning of DDX elements and their relationships. The following example describes a single PDF document called doc1.pdf that assembles the contents of two existing PDF documents, doc2.pdf and doc3.pdf.
A PDF element may be either a result or source element, depending on the presence of the
result attribute or the
source attribute. In this guide, these elements are usually referred to as
PDF source or
PDF result elements, rather than simply
PDF elements.
Third, the strings appearing as values of the result and
source attributes are names that refer to data streams. The data streams appear in the output and input
HashMap objects, described in the "Programmatically Assembling PDF Documents" section in
Programming with LiveCycle ES.
Note: As of LiveCycle ES 8.2, the Assembler service also supports the value of
source and
result elements being URLs, in which case the content is read from or written to the source or result destination, respectively. If the strings are URL references then the output or input
HashMap object is not used to get or place data. (See
URL References for Sources and Strings.)
The type of data is determined by the element name (for example, PDF or
Bookmarks). The names can have extensions for clarity (for example,
.pdf or
.xml), although this is not required. The names do not refer to files in the file system, although the data typically originated from files (in the case of source elements) or will be saved to files (in the case of result elements). (See
Input and output.)
Fourth, sibling elements aggregate content of the same kind. In the example, the two
PDF source elements combine their PDF pages to contribute content, in the order specified, to the parent element. This principle does not apply to page property and content elements. (See
Using page elements.)