mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-27 03:21:26 +03:00
applied patch to man pages from Daniel Leidert and regenerated Daniel
* doc/xmlcatalog.1 doc/xmlcatalog_man.xml doc/xmllint.1 doc/xmllint.xml: applied patch to man pages from Daniel Leidert and regenerated Daniel
This commit is contained in:
parent
9db68f0c14
commit
ad211983a7
@ -1,3 +1,8 @@
|
||||
Mon Aug 21 10:40:10 CEST 2006 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* doc/xmlcatalog.1 doc/xmlcatalog_man.xml doc/xmllint.1 doc/xmllint.xml:
|
||||
applied patch to man pages from Daniel Leidert and regenerated
|
||||
|
||||
Thu Aug 17 00:48:31 CEST 2006 Rob Richards <rrichards@ctindustries.net>
|
||||
|
||||
* xmlwriter.c: Add a document to the xmlwriter structure and
|
||||
|
@ -2,7 +2,7 @@
|
||||
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
|
||||
.\" Instead of manually editing it, you probably should edit the DocBook XML
|
||||
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
|
||||
.TH "XMLCATALOG" "1" "2006\-03\-05" "libxml2" ""
|
||||
.TH "XMLCATALOG" "1" "$Date$" "libxml2" ""
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
@ -27,29 +27,6 @@ XML
|
||||
and
|
||||
SGML
|
||||
files.
|
||||
.PP
|
||||
More information can be found at
|
||||
.TP 3
|
||||
\(bu
|
||||
\fBlibxml\fR(3)
|
||||
web page
|
||||
\fI\%http://www.xmlsoft.org/\fR
|
||||
.TP
|
||||
\(bu
|
||||
\fBlibxml\fR(3)
|
||||
catalog support web page at
|
||||
\fI\%http://www.xmlsoft.org/catalog.html\fR
|
||||
.TP
|
||||
\(bu
|
||||
James Clark's
|
||||
SGML
|
||||
catalog page
|
||||
\fI\%http://www.jclark.com/sp/catalog.htm\fR
|
||||
.TP
|
||||
\(bu
|
||||
OASISXML
|
||||
catalog specification
|
||||
\fI\%http://www.oasis\-open.org/committees/entity/spec.html\fR
|
||||
.SH "OPTIONS"
|
||||
.PP
|
||||
\fBxmlcatalog\fR
|
||||
@ -185,26 +162,28 @@ Print the current catalog.
|
||||
Quit the shell.
|
||||
.TP
|
||||
\fBpublic \fR\fB\fIPUBLIC\-ID\fR\fR
|
||||
Execute a public identifier lookup of the catalog entry for
|
||||
Execute a Formal Public Identifier look\-up of the catalog entry for
|
||||
\fIPUBLIC\-ID\fR. The corresponding entry will be output to the command line.
|
||||
.TP
|
||||
\fBquiet\fR
|
||||
Stop printing debugging statements.
|
||||
.TP
|
||||
\fBsystem \fR\fB\fISYSTEM\-ID\fR\fR
|
||||
Execute a public identifier lookup of the catalog entry for
|
||||
Execute a Formal Public Identifier look\-up of the catalog entry for
|
||||
\fISYSTEM\-ID\fR. The corresponding entry will be output to the command line.
|
||||
.SH "ENVIRONMENT"
|
||||
.TP
|
||||
\fBXML_CATALOG_FILES\fR
|
||||
Catalog behavior can be changed by redirecting queries to the user's own set of catalogs. This can be done by setting the
|
||||
XML
|
||||
catalog behavior can be changed by redirecting queries to the user's own set of catalogs. This can be done by setting the
|
||||
\fBXML_CATALOG_FILES\fR
|
||||
environment variable to a list of catalogs. An empty one should deactivate loading the default
|
||||
\fI/etc/xml/catalog\fR
|
||||
default catalog.
|
||||
catalog.
|
||||
.SH "DIAGNOSTICS"
|
||||
.PP
|
||||
\fBxmlcatalog\fR's return codes provide information that can be used when calling it from scripts.
|
||||
\fBxmlcatalog\fR
|
||||
return codes provide information that can be used when calling it from scripts.
|
||||
.TP
|
||||
\fB0\fR
|
||||
No error
|
||||
@ -219,9 +198,32 @@ Failed to save to the catalog, check file permissions
|
||||
Failed to add an entry to the catalog
|
||||
.TP
|
||||
\fB4\fR
|
||||
Failed to lookup an entry in the catalog
|
||||
Failed to look up an entry in the catalog
|
||||
.SH "SEE ALSO"
|
||||
.PP
|
||||
\fBlibxml\fR(3)
|
||||
.PP
|
||||
More information can be found at
|
||||
.TP 3
|
||||
\(bu
|
||||
\fBlibxml\fR(3)
|
||||
web page
|
||||
\fI\%http://www.xmlsoft.org/\fR
|
||||
.TP
|
||||
\(bu
|
||||
\fBlibxml\fR(3)
|
||||
catalog support web page at
|
||||
\fI\%http://www.xmlsoft.org/catalog.html\fR
|
||||
.TP
|
||||
\(bu
|
||||
James Clark's
|
||||
SGML
|
||||
catalog page
|
||||
\fI\%http://www.jclark.com/sp/catalog.htm\fR
|
||||
.TP
|
||||
\(bu
|
||||
OASISXML
|
||||
catalog specification
|
||||
\fI\%http://www.oasis\-open.org/committees/entity/spec.html\fR
|
||||
.SH "AUTHOR"
|
||||
John Fleck <jfleck@inkstain.net>.
|
||||
|
@ -26,7 +26,7 @@
|
||||
</affiliation>
|
||||
</author>
|
||||
<!-- date should be the date of the latest change or the release version -->
|
||||
<date>2006-03-05</date>
|
||||
<date>$Date$</date>
|
||||
<!-- still a bit buggy output, will talk to docbook-xsl upstream to fix this -->
|
||||
<!-- <releaseinfo>This is release 0.3 of the xmlcatalog Manual.</releaseinfo> -->
|
||||
<!-- <edition>0.3</edition> -->
|
||||
@ -94,35 +94,6 @@
|
||||
or it can perform multiple functions in interactive mode. It can operate
|
||||
on both <acronym>XML</acronym> and <acronym>SGML</acronym> files.
|
||||
</para>
|
||||
<para>More information can be found at
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para><citerefentry>
|
||||
<refentrytitle>libxml</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</citerefentry> web page <ulink url="http://www.xmlsoft.org/"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><citerefentry>
|
||||
<refentrytitle>libxml</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</citerefentry> catalog support web page
|
||||
at <ulink url="http://www.xmlsoft.org/catalog.html"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>James Clark's <acronym>SGML</acronym> catalog
|
||||
page <ulink url="http://www.jclark.com/sp/catalog.htm"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><acronym>OASIS</acronym> <acronym>XML</acronym> catalog specification
|
||||
<ulink url="http://www.oasis-open.org/committees/entity/spec.html"/>
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 id="options">
|
||||
@ -340,7 +311,7 @@
|
||||
<term><option>public <replaceable>PUBLIC-ID</replaceable></option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Execute a public identifier lookup of the catalog entry
|
||||
Execute a Formal Public Identifier look-up of the catalog entry
|
||||
for <replaceable>PUBLIC-ID</replaceable>. The corresponding entry will be
|
||||
output to the command line.
|
||||
</para>
|
||||
@ -358,7 +329,7 @@
|
||||
<term><option>system <replaceable>SYSTEM-ID</replaceable></option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Execute a public identifier lookup of the catalog entry
|
||||
Execute a Formal Public Identifier look-up of the catalog entry
|
||||
for <replaceable>SYSTEM-ID</replaceable>. The corresponding entry will be
|
||||
output to the command line.
|
||||
</para>
|
||||
@ -375,12 +346,11 @@
|
||||
<varlistentry>
|
||||
<term><envar>XML_CATALOG_FILES</envar></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Catalog behavior can be changed by redirecting queries to the user's
|
||||
own set of catalogs. This can be done by setting
|
||||
<para><acronym>XML</acronym> catalog behavior can be changed by redirecting
|
||||
queries to the user's own set of catalogs. This can be done by setting
|
||||
the <envar>XML_CATALOG_FILES</envar> environment variable to a list
|
||||
of catalogs. An empty one should deactivate loading the
|
||||
default <filename>/etc/xml/catalog</filename> default catalog.
|
||||
default <filename>/etc/xml/catalog</filename> catalog.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -391,7 +361,7 @@
|
||||
<refsect1 id="diagnostics">
|
||||
<title>DIAGNOSTICS</title>
|
||||
<para>
|
||||
&xmlcatalog;'s return codes provide information that can be used when
|
||||
&xmlcatalog; return codes provide information that can be used when
|
||||
calling it from scripts.
|
||||
</para>
|
||||
<variablelist>
|
||||
@ -427,7 +397,7 @@
|
||||
<varlistentry>
|
||||
<term><errorcode>4</errorcode></term>
|
||||
<listitem>
|
||||
<para>Failed to lookup an entry in the catalog</para>
|
||||
<para>Failed to look up an entry in the catalog</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@ -436,12 +406,41 @@
|
||||
|
||||
<refsect1 id="seealso">
|
||||
<title>SEE ALSO</title>
|
||||
<para>
|
||||
<citerefentry>
|
||||
<para><citerefentry>
|
||||
<refentrytitle>libxml</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</citerefentry>
|
||||
</para>
|
||||
<para>
|
||||
More information can be found at
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para><citerefentry>
|
||||
<refentrytitle>libxml</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</citerefentry> web page <ulink url="http://www.xmlsoft.org/"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><citerefentry>
|
||||
<refentrytitle>libxml</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</citerefentry> catalog support web page
|
||||
at <ulink url="http://www.xmlsoft.org/catalog.html"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>James Clark's <acronym>SGML</acronym> catalog
|
||||
page <ulink url="http://www.jclark.com/sp/catalog.htm"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><acronym>OASIS</acronym> <acronym>XML</acronym> catalog specification
|
||||
<ulink url="http://www.oasis-open.org/committees/entity/spec.html"/>
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
@ -2,7 +2,7 @@
|
||||
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
|
||||
.\" Instead of manually editing it, you probably should edit the DocBook XML
|
||||
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
|
||||
.TH "XMLLINT" "1" "2006\-03\-05" "libxml2" ""
|
||||
.TH "XMLLINT" "1" "$Date$" "libxml2" ""
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
@ -18,7 +18,9 @@ xmllint \- command line XML tool
|
||||
.PP
|
||||
The
|
||||
\fBxmllint\fR
|
||||
program parses one or more XML files, specified on the command line as
|
||||
program parses one or more
|
||||
XML
|
||||
files, specified on the command line as
|
||||
\fIXML\-FILE\fR
|
||||
(or the standard input if the filename provided is
|
||||
\fB\-\fR
|
||||
@ -31,19 +33,6 @@ parser itself.
|
||||
\fBxmllint\fR
|
||||
is included in
|
||||
\fBlibxml\fR(3).
|
||||
.PP
|
||||
More information can be found at
|
||||
.TP 3
|
||||
\(bu
|
||||
\fBlibxml\fR(3)
|
||||
web page
|
||||
\fI\%http://www.xmlsoft.org/\fR
|
||||
.TP
|
||||
\(bu
|
||||
W3C
|
||||
XSLT
|
||||
page
|
||||
\fI\%http://www.w3.org/TR/xslt\fR
|
||||
.SH "OPTIONS"
|
||||
.PP
|
||||
\fBxmllint\fR
|
||||
@ -53,10 +42,14 @@ accepts the following options (in alphabetical order):
|
||||
Generate a small document for testing purposes.
|
||||
.TP
|
||||
\fB\-\-catalogs\fR
|
||||
Use the catalogs from
|
||||
Use the
|
||||
SGML
|
||||
catalog(s) from
|
||||
\fBSGML_CATALOG_FILES\fR. Otherwise
|
||||
XML
|
||||
catalogs starting from
|
||||
\fI/etc/xml/catalog\fR
|
||||
is used by default.
|
||||
are used by default.
|
||||
.TP
|
||||
\fB\-\-chkregister\fR
|
||||
Turn on node registration. Useful for developers testing
|
||||
@ -65,14 +58,16 @@ node tracking code.
|
||||
.TP
|
||||
\fB\-\-compress\fR
|
||||
Turn on
|
||||
gzip
|
||||
\fBgzip\fR(1)
|
||||
compression of output.
|
||||
.TP
|
||||
\fB\-\-copy\fR
|
||||
Test the internal copy implementation.
|
||||
.TP
|
||||
\fB\-\-c14n\fR
|
||||
Use the W3C XML Canonicalisation (C14N) to serialize the result of parsing to
|
||||
Use the W3C
|
||||
XML
|
||||
Canonicalisation (C14N) to serialize the result of parsing to
|
||||
\fIstdout\fR. It keeps comments in the result.
|
||||
.TP
|
||||
\fB\-\-dtdvalid \fR\fB\fIURL\fR\fR
|
||||
@ -85,9 +80,9 @@ for validation.
|
||||
\fB\-\-dtdvalidfpi \fR\fB\fIFPI\fR\fR
|
||||
Use the
|
||||
DTD
|
||||
specified by a Public Identifier
|
||||
specified by a Formal Public Identifier
|
||||
\fIFPI\fR
|
||||
for validation, note that this will require a Catalog exporting that Public Identifier to work.
|
||||
for validation, note that this will require a catalog exporting that Formal Public Identifier to work.
|
||||
.TP
|
||||
\fB\-\-debug\fR
|
||||
Parse a file and output an annotated tree of the in\-memory version of the document.
|
||||
@ -111,7 +106,7 @@ Output in the given encoding.
|
||||
\fB\-\-format\fR
|
||||
Reformat and reindent the output. The
|
||||
\fBXMLLINT_INDENT\fR
|
||||
environment variable controls the indentation (default value is two spaces " ").
|
||||
environment variable controls the indentation. The default value is two spaces " ").
|
||||
.TP
|
||||
\fB\-\-help\fR
|
||||
Print out a short usage summary for
|
||||
@ -135,7 +130,7 @@ tags surrounding the result tree output so the results can be displayed/viewed i
|
||||
Test for valid insertions.
|
||||
.TP
|
||||
\fB\-\-loaddtd\fR
|
||||
Fetch external
|
||||
Fetch an external
|
||||
DTD.
|
||||
.TP
|
||||
\fB\-\-load\-trace\fR
|
||||
@ -207,7 +202,7 @@ DTDs or entities. Enclose space\-separated lists by quotation marks.
|
||||
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.
|
||||
.TP
|
||||
\fB\-\-postvalid\fR
|
||||
Validate after parsing is completed.
|
||||
Validate after parsing has completed.
|
||||
.TP
|
||||
\fB\-\-push\fR
|
||||
Use the push mode of the parser.
|
||||
@ -224,7 +219,9 @@ for validation.
|
||||
Repeat 100 times, for timing or profiling.
|
||||
.TP
|
||||
\fB\-\-schema \fR\fB\fISCHEMA\fR\fR
|
||||
Use a W3C XML Schema file named
|
||||
Use a W3C
|
||||
XML
|
||||
Schema file named
|
||||
\fISCHEMA\fR
|
||||
for validation.
|
||||
.TP
|
||||
@ -233,7 +230,9 @@ Run a navigating shell. Details on available commands in shell mode are below (s
|
||||
the section called \(lqSHELL COMMANDS\(rq).
|
||||
.TP
|
||||
\fB\-\-stream\fR
|
||||
Use streaming API \- useful when used in combination with
|
||||
Use streaming
|
||||
API
|
||||
\- useful when used in combination with
|
||||
\fB\-\-relaxng\fR
|
||||
or
|
||||
\fB\-\-valid\fR
|
||||
@ -264,7 +263,7 @@ used.
|
||||
\fB\-\-walker\fR
|
||||
Test the walker module, which is a reader interface but for a document tree, instead of using the reader
|
||||
API
|
||||
on an unparsed document it works on a existing in\-memory tree. Used in debugging.
|
||||
on an unparsed document it works on an existing in\-memory tree. Used for debugging.
|
||||
.TP
|
||||
\fB\-\-xinclude\fR
|
||||
Do XInclude processing.
|
||||
@ -275,7 +274,7 @@ Used in conjunction with
|
||||
HTML
|
||||
is parsed the document is saved with the
|
||||
HTML
|
||||
serializer, but with this option the resulting document is saved with the
|
||||
serializer. But with this option the resulting document is saved with the
|
||||
XML
|
||||
serializer. This is primarily used to generate
|
||||
XHTML
|
||||
@ -341,29 +340,38 @@ Write the current node to the given filename.
|
||||
.SH "ENVIRONMENT"
|
||||
.TP
|
||||
\fBSGML_CATALOG_FILES\fR
|
||||
to be written ...
|
||||
SGML
|
||||
catalog behavior can be changed by redirecting queries to the user's own set of catalogs. This can be done by setting the
|
||||
\fBSGML_CATALOG_FILES\fR
|
||||
environment variable to a list of catalogs. An empty one should deactivate loading the default
|
||||
\fI/etc/sgml/catalog\fR
|
||||
catalog.
|
||||
.TP
|
||||
\fBXML_CATALOG_FILES\fR
|
||||
Catalog behavior can be changed by redirecting queries to the user's own set of catalogs. This can be done by setting the
|
||||
XML
|
||||
catalog behavior can be changed by redirecting queries to the user's own set of catalogs. This can be done by setting the
|
||||
\fBXML_CATALOG_FILES\fR
|
||||
environment variable to a list of catalogs. An empty one should deactivate loading the default
|
||||
\fI/etc/xml/catalog\fR
|
||||
default catalog.
|
||||
catalog.
|
||||
.TP
|
||||
\fBXML_DEBUG_CATALOG\fR
|
||||
Setting the environment variable
|
||||
\fBXML_DEBUG_CATALOG\fR
|
||||
to
|
||||
\fInon\-zero\fR
|
||||
using the
|
||||
\fBexport\fR
|
||||
command outputs debugging information related to catalog operations.
|
||||
.TP
|
||||
\fBXMLLINT_INDENT\fR
|
||||
to be written ...
|
||||
Setting the environment variable
|
||||
\fBXMLLINT_INDENT\fR
|
||||
controls the indentation. The default value is two spaces " ".
|
||||
.SH "DIAGNOSTICS"
|
||||
.PP
|
||||
On the completion of execution,
|
||||
\fBxmllint\fR
|
||||
returns the following error codes:
|
||||
return codes provide information that can be used when calling it from scripts.
|
||||
.TP
|
||||
\fB0\fR
|
||||
No error
|
||||
@ -402,5 +410,18 @@ Out of memory error
|
||||
.SH "SEE ALSO"
|
||||
.PP
|
||||
\fBlibxml\fR(3)
|
||||
.PP
|
||||
More information can be found at
|
||||
.TP 3
|
||||
\(bu
|
||||
\fBlibxml\fR(3)
|
||||
web page
|
||||
\fI\%http://www.xmlsoft.org/\fR
|
||||
.TP
|
||||
\(bu
|
||||
W3C
|
||||
XSLT
|
||||
page
|
||||
\fI\%http://www.w3.org/TR/xslt\fR
|
||||
.SH "AUTHOR"
|
||||
John Fleck <jfleck@inkstain.net>, Ziying Sherwin <sherwin@nlm.nih.gov>, Heiko Rupp <hwr@pilhuhn.de>.
|
||||
|
116
doc/xmllint.xml
116
doc/xmllint.xml
@ -46,7 +46,7 @@
|
||||
</author>
|
||||
</authorgroup>
|
||||
<!-- date should be the date of the latest change or the release version -->
|
||||
<date>2006-03-05</date>
|
||||
<date>$Date$</date>
|
||||
<!-- still a bit buggy output, will talk to docbook-xsl upstream to fix this -->
|
||||
<!-- <releaseinfo>This is release 0.5 of the xmllint Manual.</releaseinfo> -->
|
||||
<!-- <edition>0.5</edition> -->
|
||||
@ -130,34 +130,18 @@
|
||||
<refsect1 id="description">
|
||||
<title>DESCRIPTION</title>
|
||||
<para>
|
||||
The &xmllint; program parses one or more XML files, specified on the
|
||||
command line as <replaceable>XML-FILE</replaceable> (or the standard
|
||||
input if the filename provided is <emphasis role="bold">-</emphasis> ).
|
||||
It prints various types of output, depending upon the options selected.
|
||||
It is useful for detecting errors both
|
||||
in <acronym>XML</acronym> code and in the <acronym>XML</acronym> parser
|
||||
itself.
|
||||
The &xmllint; program parses one or more <acronym>XML</acronym> files,
|
||||
specified on the command line as <replaceable>XML-FILE</replaceable>
|
||||
(or the standard input if the filename provided
|
||||
is <emphasis role="bold">-</emphasis> ). It prints various types of
|
||||
output, depending upon the options selected. It is useful for detecting
|
||||
errors both in <acronym>XML</acronym> code and in
|
||||
the <acronym>XML</acronym> parser itself.
|
||||
</para>
|
||||
<para>&xmllint; is included in <citerefentry>
|
||||
<refentrytitle>libxml</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</citerefentry>.</para>
|
||||
<para>More information can be found at
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para><citerefentry>
|
||||
<refentrytitle>libxml</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</citerefentry> web page <ulink url="http://www.xmlsoft.org/"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
W3C <acronym>XSLT</acronym> page <ulink url="http://www.w3.org/TR/xslt"/>
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 id="options">
|
||||
@ -179,8 +163,9 @@
|
||||
<term><option>--catalogs</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Use the catalogs from <envar>SGML_CATALOG_FILES</envar>.
|
||||
Otherwise <filename>/etc/xml/catalog</filename> is used by default.
|
||||
Use the <acronym>SGML</acronym> catalog(s) from <envar>SGML_CATALOG_FILES</envar>.
|
||||
Otherwise <acronym>XML</acronym> catalogs starting
|
||||
from <filename>/etc/xml/catalog</filename> are used by default.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -201,7 +186,10 @@
|
||||
<term><option>--compress</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Turn on <application>gzip</application> compression of output.
|
||||
Turn on <citerefentry>
|
||||
<refentrytitle>gzip</refentrytitle>
|
||||
<manvolnum>1</manvolnum>
|
||||
</citerefentry> compression of output.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -217,8 +205,8 @@
|
||||
<term><option>--c14n</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Use the W3C XML Canonicalisation (<acronym>C14N</acronym>) to serialize
|
||||
the result of parsing to <filename class="devicefile">stdout</filename>.
|
||||
Use the W3C <acronym>XML</acronym> Canonicalisation (<acronym>C14N</acronym>) to
|
||||
serialize the result of parsing to <filename class="devicefile">stdout</filename>.
|
||||
It keeps comments in the result.
|
||||
</para>
|
||||
</listitem>
|
||||
@ -238,9 +226,9 @@
|
||||
<term><option>--dtdvalidfpi <replaceable class="option">FPI</replaceable></option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Use the <acronym>DTD</acronym> specified by a Public
|
||||
Use the <acronym>DTD</acronym> specified by a Formal Public
|
||||
Identifier <replaceable>FPI</replaceable> for validation, note that this
|
||||
will require a Catalog exporting that Public Identifier to work.
|
||||
will require a catalog exporting that Formal Public Identifier to work.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -291,7 +279,7 @@
|
||||
<listitem>
|
||||
<para>
|
||||
Reformat and reindent the output. The <envar>XMLLINT_INDENT</envar>
|
||||
environment variable controls the indentation (default value is two
|
||||
environment variable controls the indentation. The default value is two
|
||||
spaces " ").
|
||||
</para>
|
||||
</listitem>
|
||||
@ -333,7 +321,7 @@
|
||||
<varlistentry>
|
||||
<term><option>--loaddtd</option></term>
|
||||
<listitem>
|
||||
<para>Fetch external <acronym>DTD</acronym>.</para>
|
||||
<para>Fetch an external <acronym>DTD</acronym>.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@ -484,7 +472,7 @@
|
||||
<varlistentry>
|
||||
<term><option>--postvalid</option></term>
|
||||
<listitem>
|
||||
<para>Validate after parsing is completed.</para>
|
||||
<para>Validate after parsing has completed.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@ -523,8 +511,8 @@
|
||||
<term><option>--schema <replaceable>SCHEMA</replaceable></option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Use a W3C XML Schema file named <replaceable>SCHEMA</replaceable>
|
||||
for validation.
|
||||
Use a W3C <acronym>XML</acronym> Schema file
|
||||
named <replaceable>SCHEMA</replaceable> for validation.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -543,7 +531,7 @@
|
||||
<term><option>--stream</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Use streaming API - useful when used in combination
|
||||
Use streaming <acronym>API</acronym> - useful when used in combination
|
||||
with <option>--relaxng</option> or <option>--valid</option> options
|
||||
for validation of files that are too large to be held in memory.
|
||||
</para>
|
||||
@ -599,7 +587,7 @@
|
||||
<para>
|
||||
Test the walker module, which is a reader interface but for a
|
||||
document tree, instead of using the reader <acronym>API</acronym> on
|
||||
an unparsed document it works on a existing in-memory tree. Used in
|
||||
an unparsed document it works on an existing in-memory tree. Used for
|
||||
debugging.
|
||||
</para>
|
||||
</listitem>
|
||||
@ -618,11 +606,10 @@
|
||||
<para>
|
||||
Used in conjunction with <option>--html</option>. Usually
|
||||
when <acronym>HTML</acronym> is parsed the document is saved with
|
||||
the <acronym>HTML</acronym> serializer, but with this option the
|
||||
the <acronym>HTML</acronym> serializer. But with this option the
|
||||
resulting document is saved with the <acronym>XML</acronym>
|
||||
serializer. This is primarily used to
|
||||
generate <acronym>XHTML</acronym>
|
||||
from <acronym>HTML</acronym> input.
|
||||
generate <acronym>XHTML</acronym> from <acronym>HTML</acronym> input.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -770,19 +757,23 @@
|
||||
<varlistentry>
|
||||
<term><envar>SGML_CATALOG_FILES</envar></term>
|
||||
<listitem>
|
||||
<para>to be written ...</para>
|
||||
<para><acronym>SGML</acronym> catalog behavior can be changed by redirecting
|
||||
queries to the user's own set of catalogs. This can be done by setting
|
||||
the <envar>SGML_CATALOG_FILES</envar> environment variable to a list
|
||||
of catalogs. An empty one should deactivate loading the
|
||||
default <filename>/etc/sgml/catalog</filename> catalog.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><envar>XML_CATALOG_FILES</envar></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Catalog behavior can be changed by redirecting queries to the user's
|
||||
own set of catalogs. This can be done by setting
|
||||
<para><acronym>XML</acronym> catalog behavior can be changed by redirecting
|
||||
queries to the user's own set of catalogs. This can be done by setting
|
||||
the <envar>XML_CATALOG_FILES</envar> environment variable to a list
|
||||
of catalogs. An empty one should deactivate loading the
|
||||
default <filename>/etc/xml/catalog</filename> default catalog.
|
||||
default <filename>/etc/xml/catalog</filename> catalog.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -790,10 +781,9 @@
|
||||
<varlistentry>
|
||||
<term><envar>XML_DEBUG_CATALOG</envar></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Setting the environment variable <envar>XML_DEBUG_CATALOG</envar>
|
||||
using the <command>export</command> command outputs debugging information
|
||||
related to catalog operations.
|
||||
<para>Setting the environment variable <envar>XML_DEBUG_CATALOG</envar>
|
||||
to <parameter>non-zero</parameter> using the <command>export</command>
|
||||
command outputs debugging information related to catalog operations.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -801,7 +791,9 @@
|
||||
<varlistentry>
|
||||
<term><envar>XMLLINT_INDENT</envar></term>
|
||||
<listitem>
|
||||
<para>to be written ...</para>
|
||||
<para>Setting the environment variable <envar>XMLLINT_INDENT</envar>
|
||||
controls the indentation. The default value is two spaces " ".
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@ -811,7 +803,8 @@
|
||||
<refsect1 id="diagnostics">
|
||||
<title>DIAGNOSTICS</title>
|
||||
<para>
|
||||
On the completion of execution, &xmllint; returns the following error codes:
|
||||
&xmllint; return codes provide information that can be used when
|
||||
calling it from scripts.
|
||||
</para>
|
||||
<!-- better use segmentedlist element later,
|
||||
which is currently only supported in snapshots -->
|
||||
@ -897,12 +890,27 @@
|
||||
|
||||
<refsect1 id="seealso">
|
||||
<title>SEE ALSO</title>
|
||||
<para>
|
||||
<citerefentry>
|
||||
<para><citerefentry>
|
||||
<refentrytitle>libxml</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</citerefentry>
|
||||
</para>
|
||||
<para>
|
||||
More information can be found at
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para><citerefentry>
|
||||
<refentrytitle>libxml</refentrytitle>
|
||||
<manvolnum>3</manvolnum>
|
||||
</citerefentry> web page <ulink url="http://www.xmlsoft.org/"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>W3C <acronym>XSLT</acronym> page <ulink url="http://www.w3.org/TR/xslt"/>
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
Loading…
Reference in New Issue
Block a user