Running the Utility

This section provides instructions for running the revised XML to CSV Converter utility from the command line.

For Java:

java XMLToCSV InputDirectory OutputFile.csv FileDescription.XML

or

java XMLToCSV -h

For C++ on Win32:

XMLToCSV InputDirectory OutputFile.csv FileDescription.XML

or

XMLToCSV -h

Options follow the parameters except for the help option, which may be specified by itself.

Parameters:

  • First: Path specification of the input directory (required). Either a relative or an absolute path name may be specified. The trailing directory separator character is optional.

  • Second: File specification of the output CSV file (required). The specification may include the full or relative path name. If no path name is specified, ...

Get Using XML with Legacy Business Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.