e96b5f
.TH XML-XPARSE 1 "11 April 2013" "xml-commons-resolver" "User commands"
e96b5f
e96b5f
.SH NAME
e96b5f
xml-xparse - A simple command-line XML parsing application
e96b5f
e96b5f
.SH SYNOPSIS
e96b5f
e96b5f
.B xml-xparse
e96b5f
[options] document.xml
e96b5f
e96b5f
.SH DESCRIPTION
e96b5f
e96b5f
\fBxml-xparse\fP is a simple command-line XML Parser. It's just a little 
e96b5f
wrapper around the JAXP Parser with support for catalogs.
e96b5f
e96b5f
The process ends with error-level 1, if there were errors.
e96b5f
e96b5f
.SH OPTIONS
e96b5f
e96b5f
Command-line options are described below.
e96b5f
e96b5f
.PP
e96b5f
.B -c
e96b5f
catalogfile
e96b5f
.RS 4
e96b5f
Load a particular catalog file
e96b5f
.RE
e96b5f
.PP
e96b5f
.B -w
e96b5f
.RS 4
e96b5f
Perform a well-formed parse, not a validating parse
e96b5f
.RE
e96b5f
.PP
e96b5f
.B -v
e96b5f
(default)
e96b5f
.RS 4
e96b5f
Perform a validating parse
e96b5f
.RE
e96b5f
.PP
e96b5f
.B -n
e96b5f
.RS 4
e96b5f
Perform a namespace-ignorant parse
e96b5f
.RE
e96b5f
.PP
e96b5f
.B -N
e96b5f
(default)
e96b5f
.RS 4
e96b5f
Perform a namespace-aware parse
e96b5f
.RE
e96b5f
.PP
e96b5f
.B -d
e96b5f
integer
e96b5f
.RS 4
e96b5f
Set the debug level. Warnings are shown if the debug level is > 2
e96b5f
.RE
e96b5f
.PP
e96b5f
.B -E
e96b5f
integer
e96b5f
.RS 4
e96b5f
Set the maximum number of errors to display
e96b5f
.RE
e96b5f