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