Command Line Usage


You can run DataDirect XML Converters™ from the command line.

To specify a native file to be converted to XML:

CmdLine /to [/analyze] [/report filename] 
/converter name[:property_name=value ...] /in filename [/out filename] 

To specify an XML file to be converted to a native format:

CmdLine /from /converter name[:property_name=value ...] /in filename [/out 
filename] 

Usage Notes

Following are some usage notes for running DataDirect XML Converters™ from the command line:

Example

The following example uses the EDI XML Converter to convert the input file, 831.x12, to an XML file, my831.xml using default values for the EDI XML Converter:

CmdLine /to /converter EDI /in ..\examples\831.x12 
/out my831.xml 

The 831.x12 sample file and others are in the \examples directory where you installed XML Converters. To learn more about the examples, see Example Applications.