xml-xparse (1) - Linux Manuals

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

NAME

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

SYNOPSIS

xml-xparse [options] document.xml

DESCRIPTION

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.

OPTIONS

Command-line options are described below.

-c catalogfile

Load a particular catalog file

-w

Perform a well-formed parse, not a validating parse

-v (default)

Perform a validating parse

-n

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