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