212 IBM Content Manager OnDemand Guide
9.2.4  V9.5 enhancement: Customizing values that are returned from ODWEK
For certain transforms, values that are returned from ODWEK might not be consistent with 
the command-line values that are expected by the transform. For example, a transform might 
have a fixed set of options to specify a carriage control type. The values that are returned by 
ODWEK when the <CARRIAGECONTROL> tag is included in the <CmdParms> are 'A' (ANSI), 'M' 
(Machine), and 'N' (None). The following command is produced by the XML in Example 9-1 
on page 210:
c:/opt/txfrm.exe -lm 133 -x A -a 500 -o <outputfilename> -r PDF <datafilename>
Because the <CARRIAGECONTROL> tag is present, ODWEK returns the document’s 
corresponding value - "-x A", or "-x M", or "-x N", depending on the carriage control type (CC 
Type) that is defined in this document’s application definition. If the transform defines a 
different set of acceptable values, for example 2, 4, and 0, to specify the document’s carriage 
control, you can map those values by substituting the following XML as shown in Figure 9-1.
Figure 9-1   Sample XML with custom options
This type of substitution can be used to specify the RECFM (Record Format), PRMode, TRC, 
and CC Type. 
9.2.5  V9.5 enhancement: Application Group and Application-specific XML
In version 9.5.0.2, ODWEK now provides additional options under the <transform> node that 
allow the transform command parameters to be generated based on an Application Group, or 
an Application Group and Application pair.
Figure 9-2 on page 213 shows a sample transform.xml that can be used in this 
implementation.
Note: The <CARRIAGECONTROL> node was replaced by three values. When the CC 
Type that is returned by ODWEK matches ANSI, rather than an 'A', the command includes 
"-x 2".