Diff for /embedaddon/libxml2/doc/xmllint.1 between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 23:37:59 version 1.1.1.2, 2014/06/15 19:53:35
Line 1 Line 1
.\" ** You probably do not want to edit this file directly **'\" t
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1)..\"     Title: xmllint
.\" Instead of manually editing it, you probably should edit the DocBook XML.\"    Author: John Fleck <jfleck@inkstain.net>
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it..\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
.TH "XMLLINT" "1" "$Date$" "libxml2" "".\"      Date: $Date$
 .\"    Manual: xmllint Manual
 .\"    Source: libxml2
 .\"  Language: English
 .\"
 .TH "XMLLINT" "1" "$Date$" "libxml2" "xmllint Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 .\" http://bugs.debian.org/507673
 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 .ie \n(.g .ds Aq \(aq
 .el       .ds Aq '
 .\" -----------------------------------------------------------------
 .\" * set default formatting
 .\" -----------------------------------------------------------------
 .\" disable hyphenation  .\" disable hyphenation
 .nh  .nh
 .\" disable justification (adjust text to left margin only)  .\" disable justification (adjust text to left margin only)
 .ad l  .ad l
   .\" -----------------------------------------------------------------
   .\" * MAIN CONTENT STARTS HERE *
   .\" -----------------------------------------------------------------
 .SH "NAME"  .SH "NAME"
 xmllint \- command line XML tool  xmllint \- command line XML tool
 .SH "SYNOPSIS"  .SH "SYNOPSIS"
.HP 8.HP \w'\fBxmllint\fR\ 'u
\fBxmllint\fR [\fB\-\-version\fR \fB\-\-debug\fR \fB\-\-shell\fR \fB\-\-debugent\fR \fB\-\-copy\fR \fB\-\-recover\fR \fB\-\-noent\fR \fB\-\-noout\fR \fB\-\-nonet\fR \fB\-\-path\ "\fR\fB\fIPATH(S)\fR\fR\fB"\fR \fB\-\-load\-trace\fR \fB\-\-htmlout\fR \fB\-\-nowrap\fR \fB\-\-valid\fR \fB\-\-postvalid\fR \fB\-\-dtdvalid\ \fR\fB\fIURL\fR\fR \fB\-\-dtdvalidfpi\ \fR\fB\fIFPI\fR\fR \fB\-\-timing\fR \fB\-\-output\ \fR\fB\fIFILE\fR\fR \fB\-\-repeat\fR \fB\-\-insert\fR \fB\-\-compress\fR \fB\-\-html\fR \fB\-\-xmlout\fR \fB\-\-push\fR \fB\-\-memory\fR \fB\-\-maxmem\ \fR\fB\fINBBYTES\fR\fR \fB\-\-nowarning\fR \fB\-\-noblanks\fR \fB\-\-nocdata\fR \fB\-\-format\fR \fB\-\-encode\ \fR\fB\fIENCODING\fR\fR \fB\-\-dropdtd\fR \fB\-\-nsclean\fR \fB\-\-testIO\fR \fB\-\-catalogs\fR \fB\-\-nocatalogs\fR \fB\-\-auto\fR \fB\-\-xinclude\fR \fB\-\-noxincludenode\fR \fB\-\-loaddtd\fR \fB\-\-dtdattr\fR \fB\-\-stream\fR \fB\-\-walker\fR \fB\-\-pattern\ \fR\fB\fIPATTERNVALUE\fR\fR \fB\-\-chkregister\fR \fB\-\-relaxng\ \fR\fB\fISCHEMA\fR\fR \fB\-\-schema\ \fR\fB\fISCHEMA\fR\fR \fB\-\-c14n\fR] {\fIXML\-FILE(S)\fR... \-}\fBxmllint\fR [\fB\-\-version\fR | \fB\-\-debug\fR | \fB\-\-shell\fR | \fB\-\-xpath\ "\fR\fB\fIXPath_expression\fR\fR\fB"\fR | \fB\-\-debugent\fR | \fB\-\-copy\fR | \fB\-\-recover\fR | \fB\-\-noent\fR | \fB\-\-noout\fR | \fB\-\-nonet\fR | \fB\-\-path\ "\fR\fB\fIPATH(S)\fR\fR\fB"\fR | \fB\-\-load\-trace\fR | \fB\-\-htmlout\fR | \fB\-\-nowrap\fR | \fB\-\-valid\fR | \fB\-\-postvalid\fR | \fB\-\-dtdvalid\ \fR\fB\fIURL\fR\fR | \fB\-\-dtdvalidfpi\ \fR\fB\fIFPI\fR\fR | \fB\-\-timing\fR | \fB\-\-output\ \fR\fB\fIFILE\fR\fR | \fB\-\-repeat\fR | \fB\-\-insert\fR | \fB\-\-compress\fR | \fB\-\-html\fR | \fB\-\-xmlout\fR | \fB\-\-push\fR | \fB\-\-memory\fR | \fB\-\-maxmem\ \fR\fB\fINBBYTES\fR\fR | \fB\-\-nowarning\fR | \fB\-\-noblanks\fR | \fB\-\-nocdata\fR | \fB\-\-format\fR | \fB\-\-encode\ \fR\fB\fIENCODING\fR\fR | \fB\-\-dropdtd\fR | \fB\-\-nsclean\fR | \fB\-\-testIO\fR | \fB\-\-catalogs\fR | \fB\-\-nocatalogs\fR | \fB\-\-auto\fR | \fB\-\-xinclude\fR | \fB\-\-noxincludenode\fR | \fB\-\-loaddtd\fR | \fB\-\-dtdattr\fR | \fB\-\-stream\fR | \fB\-\-walker\fR | \fB\-\-pattern\ \fR\fB\fIPATTERNVALUE\fR\fR | \fB\-\-chkregister\fR | \fB\-\-relaxng\ \fR\fB\fISCHEMA\fR\fR | \fB\-\-schema\ \fR\fB\fISCHEMA\fR\fR | \fB\-\-c14n\fR] {\fIXML\-FILE(S)\fR... | \-}
.HP 8.HP \w'\fBxmllint\fR\ 'u
 \fBxmllint\fR \fB\-\-help\fR  \fBxmllint\fR \fB\-\-help\fR
 .SH "DESCRIPTION"  .SH "DESCRIPTION"
 .PP  .PP
Line 24  files, specified on the command line as Line 44  files, specified on the command line as
 \fIXML\-FILE\fR  \fIXML\-FILE\fR
 (or the standard input if the filename provided is  (or the standard input if the filename provided is
 \fB\-\fR  \fB\-\fR
). It prints various types of output, depending upon the options selected. It is useful for detecting errors both in)\&. It prints various types of output, depending upon the options selected\&. It is useful for detecting errors both in
 XML  XML
 code and in the  code and in the
 XML  XML
parser itself.parser itself\&.
 .PP  .PP
 \fBxmllint\fR  \fBxmllint\fR
 is included in  is included in
\fBlibxml\fR(3).\fBlibxml\fR(3)\&.
 .SH "OPTIONS"  .SH "OPTIONS"
 .PP  .PP
   
 \fBxmllint\fR  \fBxmllint\fR
 accepts the following options (in alphabetical order):  accepts the following options (in alphabetical order):
.TP.PP
 \fB\-\-auto\fR  \fB\-\-auto\fR
Generate a small document for testing purposes..RS 4
.TPGenerate a small document for testing purposes\&.
 .RE
 .PP
 \fB\-\-catalogs\fR  \fB\-\-catalogs\fR
   .RS 4
 Use the  Use the
 SGML  SGML
 catalog(s) from  catalog(s) from
\fBSGML_CATALOG_FILES\fR. Otherwise\fBSGML_CATALOG_FILES\fR\&. Otherwise
 XML  XML
 catalogs starting from  catalogs starting from
\fI/etc/xml/catalog\fR/etc/xml/catalog
are used by default.are used by default\&.
.TP.RE
 .PP
 \fB\-\-chkregister\fR  \fB\-\-chkregister\fR
Turn on node registration. Useful for developers testing.RS 4
 Turn on node registration\&. Useful for developers testing
 \fBlibxml\fR(3)  \fBlibxml\fR(3)
node tracking code.node tracking code\&.
.TP.RE
 .PP
 \fB\-\-compress\fR  \fB\-\-compress\fR
   .RS 4
 Turn on  Turn on
 \fBgzip\fR(1)  \fBgzip\fR(1)
compression of output.compression of output\&.
.TP.RE
 .PP
 \fB\-\-copy\fR  \fB\-\-copy\fR
Test the internal copy implementation..RS 4
.TPTest the internal copy implementation\&.
 .RE
 .PP
 \fB\-\-c14n\fR  \fB\-\-c14n\fR
   .RS 4
 Use the W3C  Use the W3C
 XML  XML
 Canonicalisation (C14N) to serialize the result of parsing to  Canonicalisation (C14N) to serialize the result of parsing to
\fIstdout\fR. It keeps comments in the result.stdout\&. It keeps comments in the result\&.
.TP.RE
 .PP
 \fB\-\-dtdvalid \fR\fB\fIURL\fR\fR  \fB\-\-dtdvalid \fR\fB\fIURL\fR\fR
   .RS 4
 Use the  Use the
 DTD  DTD
 specified by an  specified by an
 \fIURL\fR  \fIURL\fR
for validation.for validation\&.
.TP.RE
 .PP
 \fB\-\-dtdvalidfpi \fR\fB\fIFPI\fR\fR  \fB\-\-dtdvalidfpi \fR\fB\fIFPI\fR\fR
   .RS 4
 Use the  Use the
 DTD  DTD
 specified by a Formal Public Identifier  specified by a Formal Public Identifier
 \fIFPI\fR  \fIFPI\fR
for validation, note that this will require a catalog exporting that Formal Public Identifier to work.for validation, note that this will require a catalog exporting that Formal Public Identifier to work\&.
.TP.RE
 .PP
 \fB\-\-debug\fR  \fB\-\-debug\fR
Parse a file and output an annotated tree of the in\-memory version of the document..RS 4
.TPParse a file and output an annotated tree of the in\-memory version of the document\&.
 .RE
 .PP
 \fB\-\-debugent\fR  \fB\-\-debugent\fR
Debug the entities defined in the document..RS 4
.TPDebug the entities defined in the document\&.
 .RE
 .PP
 \fB\-\-dropdtd\fR  \fB\-\-dropdtd\fR
   .RS 4
 Remove  Remove
 DTD  DTD
from output.from output\&.
.TP.RE
 .PP
 \fB\-\-dtdattr\fR  \fB\-\-dtdattr\fR
   .RS 4
 Fetch external  Fetch external
 DTD  DTD
and populate the tree with inherited attributes.and populate the tree with inherited attributes\&.
.TP.RE
 .PP
 \fB\-\-encode \fR\fB\fIENCODING\fR\fR  \fB\-\-encode \fR\fB\fIENCODING\fR\fR
Output in the given encoding..RS 4
.TPOutput in the given encoding\&.
 .RE
 .PP
 \fB\-\-format\fR  \fB\-\-format\fR
Reformat and reindent the output. The.RS 4
 Reformat and reindent the output\&. The
 \fBXMLLINT_INDENT\fR  \fBXMLLINT_INDENT\fR
environment variable controls the indentation. The default value is two spaces " ").environment variable controls the indentation\&. The default value is two spaces " ")\&.
.TP.RE
 .PP
 \fB\-\-help\fR  \fB\-\-help\fR
   .RS 4
 Print out a short usage summary for  Print out a short usage summary for
\fBxmllint\fR.\fBxmllint\fR\&.
.TP.RE
 .PP
 \fB\-\-html\fR  \fB\-\-html\fR
   .RS 4
 Use the  Use the
 HTML  HTML
parser.parser\&.
.TP.RE
 .PP
 \fB\-\-htmlout\fR  \fB\-\-htmlout\fR
   .RS 4
 Output results as an  Output results as an
 HTML  HTML
file. This causesfile\&. This causes
 \fBxmllint\fR  \fBxmllint\fR
 to output the necessary  to output the necessary
 HTML  HTML
tags surrounding the result tree output so the results can be displayed/viewed in a browser.tags surrounding the result tree output so the results can be displayed/viewed in a browser\&.
.TP.RE
 .PP
 \fB\-\-insert\fR  \fB\-\-insert\fR
Test for valid insertions..RS 4
.TPTest for valid insertions\&.
 .RE
 .PP
 \fB\-\-loaddtd\fR  \fB\-\-loaddtd\fR
   .RS 4
 Fetch an external  Fetch an external
DTD.DTD\&.
.TP.RE
 .PP
 \fB\-\-load\-trace\fR  \fB\-\-load\-trace\fR
   .RS 4
 Display all the documents loaded during the processing to  Display all the documents loaded during the processing to
\fIstderr\fR.stderr\&.
.TP.RE
 .PP
 \fB\-\-maxmem \fR\fB\fINNBYTES\fR\fR  \fB\-\-maxmem \fR\fB\fINNBYTES\fR\fR
Test the parser memory support..RS 4
 Test the parser memory support\&.
 \fINNBYTES\fR  \fINNBYTES\fR
is the maximum number of bytes the library is allowed to allocate. This can also be used to make sure batch processing ofis the maximum number of bytes the library is allowed to allocate\&. This can also be used to make sure batch processing of
 XML  XML
files will not exhaust the virtual memory of the server running them.files will not exhaust the virtual memory of the server running them\&.
.TP.RE
 .PP
 \fB\-\-memory\fR  \fB\-\-memory\fR
Parse from memory..RS 4
.TPParse from memory\&.
 .RE
 .PP
 \fB\-\-noblanks\fR  \fB\-\-noblanks\fR
Drop ignorable blank spaces..RS 4
.TPDrop ignorable blank spaces\&.
 .RE
 .PP
 \fB\-\-nocatalogs\fR  \fB\-\-nocatalogs\fR
Do not use any catalogs..RS 4
.TPDo not use any catalogs\&.
 .RE
 .PP
 \fB\-\-nocdata\fR  \fB\-\-nocdata\fR
Substitute CDATA section by equivalent text nodes..RS 4
.TPSubstitute CDATA section by equivalent text nodes\&.
 .RE
 .PP
 \fB\-\-noent\fR  \fB\-\-noent\fR
Substitute entity values for entity references. By default,.RS 4
 Substitute entity values for entity references\&. By default,
 \fBxmllint\fR  \fBxmllint\fR
leaves entity references in place.leaves entity references in place\&.
.TP.RE
 .PP
 \fB\-\-nonet\fR  \fB\-\-nonet\fR
   .RS 4
 Do not use the Internet to fetch  Do not use the Internet to fetch
DTDs or entities.DTDs or entities\&.
.TP.RE
 .PP
 \fB\-\-noout\fR  \fB\-\-noout\fR
Suppress output. By default,.RS 4
 Suppress output\&. By default,
 \fBxmllint\fR  \fBxmllint\fR
outputs the result tree.outputs the result tree\&.
.TP.RE
 .PP
 \fB\-\-nowarning\fR  \fB\-\-nowarning\fR
Do not emit warnings from the parser and/or validator..RS 4
.TPDo not emit warnings from the parser and/or validator\&.
 .RE
 .PP
 \fB\-\-nowrap\fR  \fB\-\-nowrap\fR
   .RS 4
 Do not output  Do not output
 HTML  HTML
doc wrapper.doc wrapper\&.
.TP.RE
 .PP
 \fB\-\-noxincludenode\fR  \fB\-\-noxincludenode\fR
Do XInclude processing but do not generate XInclude start and end nodes..RS 4
.TPDo XInclude processing but do not generate XInclude start and end nodes\&.
 .RE
 .PP
 \fB\-\-nsclean\fR  \fB\-\-nsclean\fR
Remove redundant namespace declarations..RS 4
.TPRemove redundant namespace declarations\&.
 .RE
 .PP
 \fB\-\-output \fR\fB\fIFILE\fR\fR  \fB\-\-output \fR\fB\fIFILE\fR\fR
   .RS 4
 Define a file path where  Define a file path where
 \fBxmllint\fR  \fBxmllint\fR
will save the result of parsing. Usually the programs build a tree and save it onwill save the result of parsing\&. Usually the programs build a tree and save it on
\fIstdout\fR, with this option the resultstdout, with this option the result
 XML  XML
instance will be saved onto a file.instance will be saved onto a file\&.
.TP.RE
 .PP
 \fB\-\-path "\fR\fB\fIPATH(S)\fR\fR\fB"\fR  \fB\-\-path "\fR\fB\fIPATH(S)\fR\fR\fB"\fR
   .RS 4
 Use the (space\- or colon\-separated) list of filesystem paths specified by  Use the (space\- or colon\-separated) list of filesystem paths specified by
 \fIPATHS\fR  \fIPATHS\fR
 to load  to load
DTDs or entities. Enclose space\-separated lists by quotation marks.DTDs or entities\&. Enclose space\-separated lists by quotation marks\&.
.TP.RE
 .PP
 \fB\-\-pattern \fR\fB\fIPATTERNVALUE\fR\fR  \fB\-\-pattern \fR\fB\fIPATTERNVALUE\fR\fR
Used to exercise the pattern recognition engine, which can be used with the reader interface to the parser. It allows to select some nodes in the document based on an XPath (subset) expression. Used for debugging..RS 4
.TPUsed to exercise the pattern recognition engine, which can be used with the reader interface to the parser\&. It allows to select some nodes in the document based on an XPath (subset) expression\&. Used for debugging\&.
 .RE
 .PP
 \fB\-\-postvalid\fR  \fB\-\-postvalid\fR
Validate after parsing has completed..RS 4
.TPValidate after parsing has completed\&.
 .RE
 .PP
 \fB\-\-push\fR  \fB\-\-push\fR
Use the push mode of the parser..RS 4
.TPUse the push mode of the parser\&.
 .RE
 .PP
 \fB\-\-recover\fR  \fB\-\-recover\fR
Output any parsable portions of an invalid document..RS 4
.TPOutput any parsable portions of an invalid document\&.
 .RE
 .PP
 \fB\-\-relaxng \fR\fB\fISCHEMA\fR\fR  \fB\-\-relaxng \fR\fB\fISCHEMA\fR\fR
   .RS 4
 Use RelaxNG file named  Use RelaxNG file named
 \fISCHEMA\fR  \fISCHEMA\fR
for validation.for validation\&.
.TP.RE
 .PP
 \fB\-\-repeat\fR  \fB\-\-repeat\fR
Repeat 100 times, for timing or profiling..RS 4
.TPRepeat 100 times, for timing or profiling\&.
 .RE
 .PP
 \fB\-\-schema \fR\fB\fISCHEMA\fR\fR  \fB\-\-schema \fR\fB\fISCHEMA\fR\fR
   .RS 4
 Use a W3C  Use a W3C
 XML  XML
 Schema file named  Schema file named
 \fISCHEMA\fR  \fISCHEMA\fR
for validation.for validation\&.
.TP.RE
 .PP
 \fB\-\-shell\fR  \fB\-\-shell\fR
Run a navigating shell. Details on available commands in shell mode are below (see.RS 4
the section called \(lqSHELL COMMANDS\(rq).Run a navigating shell\&. Details on available commands in shell mode are below (see
.TPthe section called \(lqSHELL COMMANDS\(rq)\&.
 .RE
 .PP
 \fB\-\-xpath "\fR\fB\fIXPath_expression\fR\fR\fB"\fR
 .RS 4
 Run an XPath expression given as argument and print the result\&. In case of a nodeset result, each node in the node set is serialized in full in the output\&. In case of an empty node set the "XPath set is empty" result will be shown and an error exit code will be returned\&.
 .RE
 .PP
 \fB\-\-stream\fR  \fB\-\-stream\fR
   .RS 4
 Use streaming  Use streaming
 API  API
 \- useful when used in combination with  \- useful when used in combination with
 \fB\-\-relaxng\fR  \fB\-\-relaxng\fR
 or  or
 \fB\-\-valid\fR  \fB\-\-valid\fR
options for validation of files that are too large to be held in memory.options for validation of files that are too large to be held in memory\&.
.TP.RE
 .PP
 \fB\-\-testIO\fR  \fB\-\-testIO\fR
Test user input/output support..RS 4
.TPTest user input/output support\&.
 .RE
 .PP
 \fB\-\-timing\fR  \fB\-\-timing\fR
   .RS 4
 Output information about the time it takes  Output information about the time it takes
 \fBxmllint\fR  \fBxmllint\fR
to perform the various steps.to perform the various steps\&.
.TP.RE
 .PP
 \fB\-\-valid\fR  \fB\-\-valid\fR
Determine if the document is a valid instance of the included Document Type Definition (DTD). A.RS 4
 Determine if the document is a valid instance of the included Document Type Definition (DTD)\&. A
 DTD  DTD
 to be validated against also can be specified at the command line using the  to be validated against also can be specified at the command line using the
 \fB\-\-dtdvalid\fR  \fB\-\-dtdvalid\fR
option. By default,option\&. By default,
 \fBxmllint\fR  \fBxmllint\fR
also checks to determine if the document is well\-formed.also checks to determine if the document is well\-formed\&.
.TP.RE
 .PP
 \fB\-\-version\fR  \fB\-\-version\fR
   .RS 4
 Display the version of  Display the version of
 \fBlibxml\fR(3)  \fBlibxml\fR(3)
used.used\&.
.TP.RE
 .PP
 \fB\-\-walker\fR  \fB\-\-walker\fR
   .RS 4
 Test the walker module, which is a reader interface but for a document tree, instead of using the reader  Test the walker module, which is a reader interface but for a document tree, instead of using the reader
 API  API
on an unparsed document it works on an existing in\-memory tree. Used for debugging.on an unparsed document it works on an existing in\-memory tree\&. Used for debugging\&.
.TP.RE
 .PP
 \fB\-\-xinclude\fR  \fB\-\-xinclude\fR
Do XInclude processing..RS 4
.TPDo XInclude processing\&.
 .RE
 .PP
 \fB\-\-xmlout\fR  \fB\-\-xmlout\fR
   .RS 4
 Used in conjunction with  Used in conjunction with
\fB\-\-html\fR. Usually when\fB\-\-html\fR\&. Usually when
 HTML  HTML
 is parsed the document is saved with the  is parsed the document is saved with the
 HTML  HTML
serializer. But with this option the resulting document is saved with theserializer\&. But with this option the resulting document is saved with the
 XML  XML
serializer. This is primarily used to generateserializer\&. This is primarily used to generate
 XHTML  XHTML
 from  from
 HTML  HTML
input.input\&.
 .RE
 .SH "SHELL COMMANDS"  .SH "SHELL COMMANDS"
 .PP  .PP
   
 \fBxmllint\fR  \fBxmllint\fR
 offers an interactive shell mode invoked with the  offers an interactive shell mode invoked with the
 \fB\-\-shell\fR  \fB\-\-shell\fR
command. Available commands in shell mode include (in alphabetical order):command\&. Available commands in shell mode include (in alphabetical order):
.TP.PP
 \fBbase\fR  \fBbase\fR
   .RS 4
 Display  Display
 XML  XML
base of the node.base of the node\&.
.TP.RE
 .PP
 \fBbye\fR  \fBbye\fR
Leave the shell..RS 4
.TPLeave the shell\&.
 .RE
 .PP
 \fBcat \fR\fB\fINODE\fR\fR  \fBcat \fR\fB\fINODE\fR\fR
Display the given node or the current one..RS 4
.TPDisplay the given node or the current one\&.
 .RE
 .PP
 \fBcd \fR\fB\fIPATH\fR\fR  \fBcd \fR\fB\fIPATH\fR\fR
Change the current node to the given path (if unique) or root if no argument is given..RS 4
.TPChange the current node to the given path (if unique) or root if no argument is given\&.
 .RE
 .PP
 \fBdir \fR\fB\fIPATH\fR\fR  \fBdir \fR\fB\fIPATH\fR\fR
Dumps information about the node (namespace, attributes, content)..RS 4
.TPDumps information about the node (namespace, attributes, content)\&.
 .RE
 .PP
 \fBdu \fR\fB\fIPATH\fR\fR  \fBdu \fR\fB\fIPATH\fR\fR
Show the structure of the subtree under the given path or the current node..RS 4
.TPShow the structure of the subtree under the given path or the current node\&.
 .RE
 .PP
 \fBexit\fR  \fBexit\fR
Leave the shell..RS 4
.TPLeave the shell\&.
 .RE
 .PP
 \fBhelp\fR  \fBhelp\fR
Show this help..RS 4
.TPShow this help\&.
 .RE
 .PP
 \fBfree\fR  \fBfree\fR
Display memory usage..RS 4
.TPDisplay memory usage\&.
 .RE
 .PP
 \fBload \fR\fB\fIFILENAME\fR\fR  \fBload \fR\fB\fIFILENAME\fR\fR
Load a new document with the given filename..RS 4
.TPLoad a new document with the given filename\&.
 .RE
 .PP
 \fBls \fR\fB\fIPATH\fR\fR  \fBls \fR\fB\fIPATH\fR\fR
List contents of the given path or the current directory..RS 4
.TPList contents of the given path or the current directory\&.
 .RE
 .PP
 \fBpwd\fR  \fBpwd\fR
Display the path to the current node..RS 4
.TPDisplay the path to the current node\&.
 .RE
 .PP
 \fBquit\fR  \fBquit\fR
Leave the shell..RS 4
.TPLeave the shell\&.
 .RE
 .PP
 \fBsave \fR\fB\fIFILENAME\fR\fR  \fBsave \fR\fB\fIFILENAME\fR\fR
Save the current document to the given filename or to the original name..RS 4
.TPSave the current document to the given filename or to the original name\&.
 .RE
 .PP
 \fBvalidate\fR  \fBvalidate\fR
Check the document for errors..RS 4
.TPCheck the document for errors\&.
 .RE
 .PP
 \fBwrite \fR\fB\fIFILENAME\fR\fR  \fBwrite \fR\fB\fIFILENAME\fR\fR
Write the current node to the given filename..RS 4
 Write the current node to the given filename\&.
 .RE
 .SH "ENVIRONMENT"  .SH "ENVIRONMENT"
.TP.PP
 \fBSGML_CATALOG_FILES\fR  \fBSGML_CATALOG_FILES\fR
   .RS 4
 SGML  SGML
catalog behavior can be changed by redirecting queries to the user's own set of catalogs. This can be done by setting thecatalog behavior can be changed by redirecting queries to the user\*(Aqs own set of catalogs\&. This can be done by setting the
 \fBSGML_CATALOG_FILES\fR  \fBSGML_CATALOG_FILES\fR
environment variable to a list of catalogs. An empty one should deactivate loading the defaultenvironment variable to a list of catalogs\&. An empty one should deactivate loading the default
\fI/etc/sgml/catalog\fR/etc/sgml/catalog
catalog.catalog\&.
.TP.RE
 .PP
 \fBXML_CATALOG_FILES\fR  \fBXML_CATALOG_FILES\fR
   .RS 4
 XML  XML
catalog behavior can be changed by redirecting queries to the user's own set of catalogs. This can be done by setting thecatalog behavior can be changed by redirecting queries to the user\*(Aqs own set of catalogs\&. This can be done by setting the
 \fBXML_CATALOG_FILES\fR  \fBXML_CATALOG_FILES\fR
environment variable to a list of catalogs. An empty one should deactivate loading the defaultenvironment variable to a list of catalogs\&. An empty one should deactivate loading the default
\fI/etc/xml/catalog\fR/etc/xml/catalog
catalog.catalog\&.
.TP.RE
 .PP
 \fBXML_DEBUG_CATALOG\fR  \fBXML_DEBUG_CATALOG\fR
   .RS 4
 Setting the environment variable  Setting the environment variable
 \fBXML_DEBUG_CATALOG\fR  \fBXML_DEBUG_CATALOG\fR
 to  to
 \fInon\-zero\fR  \fInon\-zero\fR
 using the  using the
 \fBexport\fR  \fBexport\fR
command outputs debugging information related to catalog operations.command outputs debugging information related to catalog operations\&.
.TP.RE
 .PP
 \fBXMLLINT_INDENT\fR  \fBXMLLINT_INDENT\fR
   .RS 4
 Setting the environment variable  Setting the environment variable
 \fBXMLLINT_INDENT\fR  \fBXMLLINT_INDENT\fR
controls the indentation. The default value is two spaces " ".controls the indentation\&. The default value is two spaces " "\&.
 .RE
 .SH "DIAGNOSTICS"  .SH "DIAGNOSTICS"
 .PP  .PP
   
 \fBxmllint\fR  \fBxmllint\fR
return codes provide information that can be used when calling it from scripts.return codes provide information that can be used when calling it from scripts\&.
.TP.PP
 \fB0\fR  \fB0\fR
   .RS 4
 No error  No error
.TP.RE
 .PP
 \fB1\fR  \fB1\fR
   .RS 4
 Unclassified  Unclassified
.TP.RE
 .PP
 \fB2\fR  \fB2\fR
   .RS 4
 Error in  Error in
 DTD  DTD
.TP.RE
 .PP
 \fB3\fR  \fB3\fR
   .RS 4
 Validation error  Validation error
.TP.RE
 .PP
 \fB4\fR  \fB4\fR
   .RS 4
 Validation error  Validation error
.TP.RE
 .PP
 \fB5\fR  \fB5\fR
   .RS 4
 Error in schema compilation  Error in schema compilation
.TP.RE
 .PP
 \fB6\fR  \fB6\fR
   .RS 4
 Error writing output  Error writing output
.TP.RE
 .PP
 \fB7\fR  \fB7\fR
   .RS 4
 Error in pattern (generated when  Error in pattern (generated when
 \fB\-\-pattern\fR  \fB\-\-pattern\fR
 option is used)  option is used)
.TP.RE
 .PP
 \fB8\fR  \fB8\fR
   .RS 4
 Error in Reader registration (generated when  Error in Reader registration (generated when
 \fB\-\-chkregister\fR  \fB\-\-chkregister\fR
 option is used)  option is used)
.TP.RE
 .PP
 \fB9\fR  \fB9\fR
   .RS 4
 Out of memory error  Out of memory error
   .RE
 .SH "SEE ALSO"  .SH "SEE ALSO"
 .PP  .PP
 \fBlibxml\fR(3)  \fBlibxml\fR(3)
 .PP  .PP
 More information can be found at  More information can be found at
.TP 3.sp
\(bu.RS 4
 .ie n \{\
 \h'-04'\(bu\h'+03'\c
 .\}
 .el \{\
 .sp -1
 .IP \(bu 2.3
 .\}
 \fBlibxml\fR(3)  \fBlibxml\fR(3)
 web page  web page
\fI\%http://www.xmlsoft.org/\fR\m[blue]\fB\%http://www.xmlsoft.org/\fR\m[]
.TP.RE
\(bu.sp
 .RS 4
 .ie n \{\
 \h'-04'\(bu\h'+03'\c
 .\}
 .el \{\
 .sp -1
 .IP \(bu 2.3
 .\}
 W3C  W3C
 XSLT  XSLT
 page  page
\fI\%http://www.w3.org/TR/xslt\fR\m[blue]\fB\%http://www.w3.org/TR/xslt\fR\m[]
.SH "AUTHOR".RE
John Fleck <jfleck@inkstain.net>, Ziying Sherwin <sherwin@nlm.nih.gov>, Heiko Rupp <hwr@pilhuhn.de>. .sp
 .SH "AUTHORS"
 .PP
 \fBJohn Fleck\fR <\&jfleck@inkstain\&.net\&>
 .RS 4
 Author.
 .RE
 .PP
 \fBZiying Sherwin\fR <\&sherwin@nlm\&.nih\&.gov\&>
 .RS 4
 Author.
 .RE
 .PP
 \fBHeiko Rupp\fR <\&hwr@pilhuhn\&.de\&>
 .RS 4
 Author.
 .RE
 .SH "COPYRIGHT"
 .br
 Copyright \(co 2001, 2004
 .br

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>