Take a survey

Developing Applications Using APIs > Assembling PDF Documents > Understanding DDX > DDX document structure

DDX document structure
At the root of any DDX document is the DDX element. Therefore, every DDX document should have the structure shown here.
	<?xml version="1.0" encoding="UTF-8"?>
	<DDX xmlns="http://ns.adobe.com/DDX/1.0/"
		xsi:schemaLocation="http://ns.adobe.com/DDX/1.0/ddx.xsd" 
			schema_location />
 
		<!-- Other DDX elements -->
 
	</DDX>
Note: The DDX element is required in all DDX documents, but for brevity, most of the examples in this document abbreviate it or omit it entirely.
The xmlns attribute specifies the DDX namespace. The xsi:schemaLocation attribute is optional and consists of a pair of strings. The second string, indicated as schema_location above, specifies the location of the schema file, ddx.xsd, on the user’s system. For example, it might be
	C:\Adobe\LiveCycle\Assembler\Documentation\schemas\ddx.xsd
The DDX schema, ddx.xsd, is provided with Assembler. You can use it to verify that your DDX documents are well-formed XML. However, a document that passes schema validation is not necessarily valid DDX. The Assembler service runs a complete validation on DDX documents that you submit and reports violations that it finds.
Note: You can set the VALIDATE_ONLY environment constant to validate a DDX document without processing it. (See Programmatically Assembling PDF Documents.)
The Document Description XML Reference provides a complete specification of DDX syntax. It lists each element and specifies where it can be used in a DDX document, what its attributes are, and which elements it can have as children.
The main body of a DDX document consists of elements that are children of the DDX element. The following sections describe how these elements are used.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/assemblePDFDDX_basics.95.2.html