216 IBM Content Manager OnDemand Guide
This code retrieves the raw document data from ODWEK, gathers all of the document details 
that Content Manager OnDemand might store from loading the data, and then transforms the 
document data. The transformed document data can be passed back through ODWEK to the 
original client request.
Table 9-1 lists the XmlTagNames for the transformation specification.
Table 9-1   XmlTagNames for the transform specification
Table 9-2 provides information about the XMLTags. These XML tags are used to pass specific 
values to the transform command line. These XML tags allow the mapping of the 
command-line option where the specified value can be passed.
Table 9-2   XmlTags detailed information
XmlTagname ODConstant Description
TransformName TransFormName Name of the transform. It is used as the 
viewer argument that is passed to 
ODWEK Retrieve APIs.
TransformDescription TRANSFORM_DESC Description of the transform.
ClientClass TRANSFORM_CLIENTCLASS The class name of the custom interface 
class.
CmdLineExe TRANSFORM_CMDLINEEXE Fully qualified name of the transform 
executable file.
OutputMimeType TRANSFORM_MIMETYPE The MIME type of the data as it is 
returned from the transform.
OutputExtension TRANSFORM_OUTPUTEXT The extension of the data that is 
returned from the transform.
CmdParms TRANSFORM_PARMS The mappings of OD Values to custom 
variables. See the constant key words 
that are shown in Table 9-2 on 
page 216.
Passthru TRANSFORM_PASSTHRU These values are passed through 
ODWEK directly to the transform.
Cmdlineparm TRANSFORM_PASSTHRU_CMDLINE These values are passed through 
ODWEK directly to the transform 
command line.
XmlTagname ODConstant Description
RECORDFORMAT DOCUMENT_RECORD_FORMAT The record format of the document as stored 
in Content Manager OnDemand.
RECORDLENGTH DOCUMENT_RECORD_LENGTH The record length of the document as stored 
in Content Manager OnDemand.
CARRIAGECONTROL DOCUMENT
_CARRIAGE_CONTROL
The carriage control of the document as 
stored in Content Manager OnDemand.
TRC_EXIST DOCUMENT_TRC
_EXIST
The TRC settings as stored in Content 
Manager OnDemand.
DOCROTATION DOCUMENT
_ROTATION
The rotation of the document as stored in 
Content Manager OnDemand.