On this Page

    ConvertTxtToXml Filter

    (as of version 3.1.002.06)

    This is a filter to convert a flat text file (typically a report) to XML. To do this, you must design a .xfilter file using the DocOrigin FilterEditor task. This xfilter is applied to the incoming text file to convert it to an XML file. Internally this program uses the Merge task to process the conversion.

    Additional parameters:

    • –in (required)

    This is used to provide the name of the input .txt file. This argument is common to all DocOrigin filter processes. Note that it is supplied automatically when this app is used as a Merge filter. However, if this app is run standalone, the -in parameter must be specified.

    • –out (required)

    This is used to provide the name of the output XML file. This argument is common to all DocOrigin filter processes. Note that it is supplied automatically when this app is used as a Merge filter. However, if this app is run standalone, the -out parameter must be specified.

    • –xfilter (required)

    Used to describe how to find and extract the actual data from the text file. The .xfilter file is created using the DocOrigin FilterEditor program.

    • –logfile (optional)

    A standard DocOrigin logfile. If not supplied, a default logfile name is used.