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