Take a survey

Section A - DDX User Guide > Working with File Attachments > Preserving and deleting file attachments

Preserving and deleting file attachments
By default, attachments from all source documents are preserved in the result document. File attachments are included from a source document only once, even if the source document is specified several times. That is, if the base document contains three file attachments, then the result PDF document will contain three file attachments.
To exclude attachments, use the NoFileAttachments element. (See NoFileAttachments.)
Example: Excluding attachments from a source document
<PDF result="doc3.pdf">
	<PDF source="doc1.pdf">
		<NoFileAttachments/>
	</PDF>
	<PDF source="doc2.pdf"/>
</PDF>
The example above excludes attachments from doc1.pdf and includes those from doc2.pdf. The following example excludes all file attachments by making the NoFileAttachments element a child of the result element.
Example: Excluding all file attachments
<PDF result="doc3.pdf">
	<NoFileAttachments/> 
	<PDF source="doc1.pdf"/>
	<PDF source="doc2.pdf"/>
</PDF>
Note: The NoFileAttachments element and the FileAttachments element cannot be siblings.

Section A - DDX User Guide > Working with File Attachments > Preserving and deleting file attachments

Document Description XML (DDX) Help
LiveCycle ES Update 1

 

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

Current page: http://livedocs.adobe.com/livecycle/8.2/ddxRef/000659.html