Running the Utilities

Refer to Chapters 2 and 3 for the full instructions for running the XML to CSV and CSV to XML Converters from the command line. This section describes the additional parameters and restrictions.

Options:

For both CSVToXMLBasic and XMLToCSVBasic, we add a validate option.

  • -v (Validate): Validate the input instance document before processing, or validate the created document before writing it to disk. Input documents are validated against the schema specified in the root Element noNamespaceSchemaLocation attribute. The default schema for output documents is CSVFile.xsd.

For CSVToXMLBasic, we add two qualifiers.

  • -sSchemaFileName: Override the default schema file name of CSVFile.xsd. SchemaFileName represents the local name ...

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.