xml-xread (1) - Linux Manuals

xml-xread: A simple command-line XML parsing application


xml-xread - A simple command-line XML parsing application


xml-xread [options] document.xml


xml-xread is a simple command-line XML Parser. It's just a little wrapper around the JAXP XMLReader with support for catalogs.

The process ends with error-level 1, if there were errors.


Command-line options are described below.

-c catalogfile

Load a particular catalog file


Perform a well-formed parse, not a validating parse

-v (default)

Perform a validating parse


Enable W3C XML Schema validation


Perform a namespace-ignorant parse

-N (default)

Perform a namespace-aware parse

-d integer

Set the debug level. Warnings are shown if the debug level is > 2

-E integer

Set the maximum number of errors to display