For Acrobat forms, you can write the output to a PDF file only. For LiveCycle forms, you have the option to write the output to an XDP file. The file extension determines the file format: to save the output in XDP format, simply use an XDP extension in the destination filename, as the following example shows:
<cfpdfform action="populate" source="#PDF.content#" destination="timesheets\#empForm.txtsheet#.xdp" overwrite="yes"/>
An XDP file is an XML representation of a PDF file. In LiveCycle Designer, an XDP file contains the structure, data, annotations, and other relevant data to LiveCycle forms, which renders the form at run time.
ColdFusion XDP files contain the XDP XML code and the PDF image. Therefore, the file size is larger than a PDF file. Only write PDF forms to XDP files if you must incorporate them into the LiveCycle Designer workflow on a LiveCycle server.