Take a survey

Developing Applications Using APIs > Assembling PDF Documents > Querying Documents > Getting document information

Getting document information
You can use the DocumentInformation DDX element to return an XML file containing information about a PDF document. The PDF document can be a source document (one that was provided as an input stream) or one that was created as a result document.
In this example, information about the result document is returned as an XML stream.
Example: Getting document information
<DDX>
	<PDF result="doc1">
		<PDF source="doc2"/>
	</PDF>
	<DocumentInformation result="info.xml" source="doc1"/>
</DDX>
Note: The DocumentInformation element must appear after the PDF result element referenced by its source attribute because the result document does not exist until the element that describes it has been interpreted.
The XML stream (info.xml in the example) conforms to a schema specified in docinfo.xsd. Its namespace is
	http://ns.adobe.com/DDX/DocInfo/1.0
See the Document Description XML Reference for detailed information about this schema.
The data returned by the DocumentInformation element contains the following information about the document:

 

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/assemblePDFQueries.106.2.html