xml-xparse man page

xml-xparse — A simple command-line XML parsing application


xml-xparse [options] document.xml


xml-xparse is a simple command-line XML Parser. It's just a little  wrapper around the JAXP Parser 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


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


11 April 2013 xml-commons-resolver User commands