cnv2xmloop

The cnv2xmloop sample program creates a single, formatted XML output file, but unlike cnv2xml, it converts the file out-of-process. See Convert Files Out-of-Process for more information on out-of-process conversions. This program runs on both Windows and UNIX platforms.

To run cnv2xmloop, type the following at the command line:

cnv2xmloop [options] inputfile outputfile

where:

options is one or more of the options listed in Options for cnv2xmloop.

inputfile is the full path and file name of the source document.

outputfile is the full path and file name of the XML output file.

The following options are available.

Options for cnv2xmloop

Option Description
-c KVCFG_SUPPRESSIMAGES This option specifies that XML output includes verbose markup, but no images. If you do not set this option, embedded images in a document are regenerated as separate files and stored in the output directory. See KVXMLConfig().
-c KVCFG_ENABLEPOSITIONINFO This option specifies that a position element is included in the markup for PDF documents. The position element defines the absolute position of the text relative to the bottom left corner of the page, and includes additional information such as font and color. See KVXMLConfig().