|
Packit |
423ecb |
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"?>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
xmlcatalog</command>">
|
|
Packit |
423ecb |
]>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<refentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<refentryinfo>
|
|
Packit |
423ecb |
<title>xmlcatalog Manual</title>
|
|
Packit |
423ecb |
<productname>libxml2</productname>
|
|
Packit |
423ecb |
<copyright>
|
|
Packit |
423ecb |
<year>2001</year>
|
|
Packit |
423ecb |
<year>2004</year>
|
|
Packit |
423ecb |
</copyright>
|
|
Packit |
423ecb |
<author>
|
|
Packit |
423ecb |
<firstname>John</firstname>
|
|
Packit |
423ecb |
<surname>Fleck</surname>
|
|
Packit |
423ecb |
<affiliation>
|
|
Packit |
423ecb |
<address>
|
|
Packit |
423ecb |
<email>jfleck@inkstain.net</email>
|
|
Packit |
423ecb |
</address>
|
|
Packit |
423ecb |
</affiliation>
|
|
Packit |
423ecb |
</author>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<date>$Date$</date>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
</refentryinfo>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<refmeta>
|
|
Packit |
423ecb |
<refentrytitle>xmlcatalog</refentrytitle>
|
|
Packit |
423ecb |
<manvolnum>1</manvolnum>
|
|
Packit |
423ecb |
</refmeta>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<refnamediv>
|
|
Packit |
423ecb |
<refname>xmlcatalog</refname>
|
|
Packit |
423ecb |
<refpurpose>
|
|
Packit |
423ecb |
Command line tool to parse and manipulate XML
|
|
Packit |
423ecb |
or SGML catalog files.
|
|
Packit |
423ecb |
</refpurpose>
|
|
Packit |
423ecb |
</refnamediv>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<refsynopsisdiv>
|
|
Packit |
423ecb |
<cmdsynopsis>
|
|
Packit |
423ecb |
<command>xmlcatalog</command>
|
|
Packit |
423ecb |
<group choice="opt">
|
|
Packit |
423ecb |
<arg choice="plain"><option>--sgml</option></arg>
|
|
Packit |
423ecb |
<arg choice="plain"><option>--shell</option></arg>
|
|
Packit |
423ecb |
<arg choice="plain"><option>--create</option></arg>
|
|
Packit |
423ecb |
<arg choice="plain"><option>--del <replaceable>VALUE(S)</replaceable></option></arg>
|
|
Packit |
423ecb |
<arg choice="plain">
|
|
Packit |
423ecb |
<group choice="opt">
|
|
Packit |
423ecb |
<arg choice="plain">
|
|
Packit |
423ecb |
<option>--add
|
|
Packit |
423ecb |
<replaceable>TYPE</replaceable>
|
|
Packit |
423ecb |
<replaceable>ORIG</replaceable>
|
|
Packit |
423ecb |
<replaceable>REPLACE</replaceable>
|
|
Packit |
423ecb |
</option>
|
|
Packit |
423ecb |
</arg>
|
|
Packit |
423ecb |
<arg choice="plain"><option>--add <replaceable>FILENAME</replaceable></option></arg>
|
|
Packit |
423ecb |
</group>
|
|
Packit |
423ecb |
</arg>
|
|
Packit |
423ecb |
<arg choice="plain"><option>--noout</option></arg>
|
|
Packit |
423ecb |
<arg choice="plain"><option>--no-super-update</option></arg>
|
|
Packit |
423ecb |
<arg choice="plain">
|
|
Packit |
423ecb |
<group choice="opt">
|
|
Packit |
423ecb |
<arg choice="plain"><option>-v</option></arg>
|
|
Packit |
423ecb |
<arg choice="plain"><option>--verbose</option></arg>
|
|
Packit |
423ecb |
</group>
|
|
Packit |
423ecb |
</arg>
|
|
Packit |
423ecb |
</group>
|
|
Packit |
423ecb |
<arg choice="req" rep="norepeat"><replaceable>CATALOGFILE</replaceable></arg>
|
|
Packit |
423ecb |
<arg choice="req" rep="repeat"><replaceable>ENTITIES</replaceable></arg>
|
|
Packit |
423ecb |
</cmdsynopsis>
|
|
Packit |
423ecb |
</refsynopsisdiv>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<refsect1 id="description">
|
|
Packit |
423ecb |
<title>DESCRIPTION</title>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
&xmlcatalog; is a command line application allowing users to monitor and
|
|
Packit |
423ecb |
manipulate XML and SGML catalogs. It
|
|
Packit |
423ecb |
is included in <citerefentry>
|
|
Packit |
423ecb |
<refentrytitle>libxml</refentrytitle>
|
|
Packit |
423ecb |
<manvolnum>3</manvolnum>
|
|
Packit |
423ecb |
</citerefentry>.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
Its functions can be invoked from a single command from the command line,
|
|
Packit |
423ecb |
or it can perform multiple functions in interactive mode. It can operate
|
|
Packit |
423ecb |
on both XML and SGML files.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</refsect1>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<refsect1 id="options">
|
|
Packit |
423ecb |
<title>OPTIONS</title>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
&xmlcatalog; accepts the following options (in alphabetical order):
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<variablelist>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term>
|
|
Packit |
423ecb |
<option>--add
|
|
Packit |
423ecb |
<replaceable>TYPE</replaceable>
|
|
Packit |
423ecb |
<replaceable>ORIG</replaceable>
|
|
Packit |
423ecb |
<replaceable>REPLACE</replaceable>
|
|
Packit |
423ecb |
</option>
|
|
Packit |
423ecb |
</term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
Add an entry to <filename>CATALOGFILE</filename>. <replaceable>TYPE</replaceable>
|
|
Packit |
423ecb |
indicates the type of entry. Possible types are: <simplelist type="inline">
|
|
Packit |
423ecb |
<member><parameter>public</parameter></member>
|
|
Packit |
423ecb |
<member><parameter>system</parameter></member>
|
|
Packit |
423ecb |
<member><parameter>uri</parameter></member>
|
|
Packit |
423ecb |
<member><parameter>rewriteSystem</parameter></member>
|
|
Packit |
423ecb |
<member><parameter>rewriteURI</parameter></member>
|
|
Packit |
423ecb |
<member><parameter>delegatePublic</parameter></member>
|
|
Packit |
423ecb |
<member><parameter>delegateSystem</parameter></member>
|
|
Packit |
423ecb |
<member><parameter>delegateURI</parameter></member>
|
|
Packit |
423ecb |
<member><parameter>nextCatalog</parameter></member>
|
|
Packit |
423ecb |
</simplelist>. <replaceable>ORIG</replaceable> is the original
|
|
Packit |
423ecb |
reference to be replaced, and <replaceable>REPLACE</replaceable>
|
|
Packit |
423ecb |
is the URI of the replacement entity to be
|
|
Packit |
423ecb |
used. The <option>--add</option> option will not overwrite
|
|
Packit |
423ecb |
<filename>CATALOGFILE</filename>, outputting
|
|
Packit |
423ecb |
to <filename class="devicefile">stdout</filename>, unless
|
|
Packit |
423ecb |
<option>--noout</option> is used. The <option>--add</option> will
|
|
Packit |
423ecb |
always take three parameters even if some of the XML
|
|
Packit |
423ecb |
catalog constructs will have only a single argument.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
FIXME - Is my list of possible types correct? Are SGML types the same?
|
|
Packit |
423ecb |
-->
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><option>--add <replaceable>FILENAME</replaceable></option></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
If the <option>--add</option> option is used following
|
|
Packit |
423ecb |
the <option>--sgml</option> option, only a single argument,
|
|
Packit |
423ecb |
a <replaceable>FILENAME</replaceable>, is used. This is used to add
|
|
Packit |
423ecb |
the name of a catalog file to an SGML supercatalog,
|
|
Packit |
423ecb |
a file that contains references to other included SGML
|
|
Packit |
423ecb |
catalog files.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><option>--create</option></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
Create a new XML catalog. Outputs
|
|
Packit |
423ecb |
to <filename class="devicefile">stdout</filename>,
|
|
Packit |
423ecb |
ignoring <replaceable>filename</replaceable> unless <option>--noout</option> is
|
|
Packit |
423ecb |
used, in which case it creates a new catalog
|
|
Packit |
423ecb |
file <replaceable>filename</replaceable>.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><option>--del <replaceable>VALUE(S)</replaceable></option></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
Remove entries from <replaceable>CATALOGFILE</replaceable>
|
|
Packit |
423ecb |
matching <replaceable>VALUE(S)</replaceable>. The <option>--del</option>
|
|
Packit |
423ecb |
option will not overwrite <replaceable>CATALOGFILE</replaceable>,
|
|
Packit |
423ecb |
outputting to <filename class="devicefile">stdout</filename>,
|
|
Packit |
423ecb |
unless <option>--noout</option> is used.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><option>--noout</option></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
Save output to the named file rather than outputting
|
|
Packit |
423ecb |
to <filename class="devicefile">stdout</filename>.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><option>--no-super-update</option></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
Do not update the SGML super catalog.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><option>--shell</option></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
Run a shell allowing interactive queries on catalog
|
|
Packit |
423ecb |
file <replaceable>CATALOGFILE</replaceable>. For the set of available
|
|
Packit |
423ecb |
commands see <xref linkend="shell"/>.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><option>--sgml</option></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
Uses SGML super catalogs for <option>--add</option>
|
|
Packit |
423ecb |
and <option>--del</option> options.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><option>-v</option></term>
|
|
Packit |
423ecb |
<term><option>--verbose</option></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>Output debugging information.</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
</variablelist>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
Invoking &xmlcatalog; non-interactively without a designated action
|
|
Packit |
423ecb |
(imposed with options like <option>--add</option>) will result in a lookup
|
|
Packit |
423ecb |
of the catalog entry for <replaceable>ENTITIES</replaceable> in the
|
|
Packit |
423ecb |
catalog denoted with <replaceable>CATALOGFILE</replaceable>. The
|
|
Packit |
423ecb |
corresponding entries will be output to the command line. This mode of
|
|
Packit |
423ecb |
operation, together with <option>--shell</option> mode and non-modifying
|
|
Packit |
423ecb |
(i.e. without <option>--noout</option>) direct actions, allows for
|
|
Packit |
423ecb |
a special shortcut of the void <replaceable>CATALOGFILE</replaceable>
|
|
Packit |
423ecb |
specification (possibly expressed as "" in the shell
|
|
Packit |
423ecb |
environment) appointing the default system catalog. That simplifies the
|
|
Packit |
423ecb |
handling when its exact location is irrelevant but the respective built-in
|
|
Packit |
423ecb |
still needs to be consulted.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</refsect1>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<refsect1 id="shell">
|
|
Packit |
423ecb |
<title>SHELL COMMANDS</title>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
Invoking &xmlcatalog; with
|
|
Packit |
423ecb |
the <option>--shell <replaceable>CATALOGFILE</replaceable></option> option opens
|
|
Packit |
423ecb |
a command line shell allowing interactive access to the catalog file
|
|
Packit |
423ecb |
identified by <replaceable>CATALOGFILE</replaceable>. Invoking the shell
|
|
Packit |
423ecb |
provides a command line prompt after which the following commands (described in
|
|
Packit |
423ecb |
alphabetical order) can be entered.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<variablelist>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term>
|
|
Packit |
423ecb |
<option>add
|
|
Packit |
423ecb |
<replaceable>TYPE</replaceable>
|
|
Packit |
423ecb |
<replaceable>ORIG</replaceable>
|
|
Packit |
423ecb |
<replaceable>REPLACE</replaceable>
|
|
Packit |
423ecb |
</option>
|
|
Packit |
423ecb |
</term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
Add an entry to the catalog file. <replaceable>TYPE</replaceable>
|
|
Packit |
423ecb |
indicates the type of entry. Possible types are: <simplelist type="inline">
|
|
Packit |
423ecb |
<member><parameter>public</parameter></member>
|
|
Packit |
423ecb |
<member><parameter>system</parameter></member>
|
|
Packit |
423ecb |
<member><parameter>uri</parameter></member>
|
|
Packit |
423ecb |
<member><parameter>rewriteSystem</parameter></member>
|
|
Packit |
423ecb |
<member><parameter>rewriteURI</parameter></member>
|
|
Packit |
423ecb |
<member><parameter>delegatePublic</parameter></member>
|
|
Packit |
423ecb |
<member><parameter>delegateSystem</parameter></member>
|
|
Packit |
423ecb |
<member><parameter>delegateURI</parameter></member>
|
|
Packit |
423ecb |
<member><parameter>nextCatalog</parameter></member>
|
|
Packit |
423ecb |
</simplelist>. <replaceable>ORIG</replaceable> is the original
|
|
Packit |
423ecb |
reference to be replaced, and <replaceable>REPLACE</replaceable>
|
|
Packit |
423ecb |
is the URI of the replacement entity to be
|
|
Packit |
423ecb |
used. The <option>--add</option> option will not overwrite
|
|
Packit |
423ecb |
<filename>CATALOGFILE</filename>, outputting
|
|
Packit |
423ecb |
to <filename class="devicefile">stdout</filename>, unless
|
|
Packit |
423ecb |
<option>--noout</option> is used. The <option>--add</option> will
|
|
Packit |
423ecb |
always take three parameters even if some of the XML
|
|
Packit |
423ecb |
catalog constructs will have only a single argument.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><option>debug</option></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
Print debugging statements showing the steps &xmlcatalog; is executing.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><option>del <replaceable>VALUE(S)</replaceable></option></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
Remove the catalog entry corresponding to <replaceable>VALUE(S)</replaceable>.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><option>dump</option></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>Print the current catalog.</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><option>exit</option></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>Quit the shell.</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><option>public <replaceable>PUBLIC-ID</replaceable></option></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
Execute a Formal Public Identifier lookup of the catalog entry
|
|
Packit |
423ecb |
for <replaceable>PUBLIC-ID</replaceable>. The corresponding entry will be
|
|
Packit |
423ecb |
output to the command line.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><option>quiet</option></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>Stop printing debugging statements.</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><option>system <replaceable>SYSTEM-ID</replaceable></option></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
Execute a Formal Public Identifier lookup of the catalog entry
|
|
Packit |
423ecb |
for <replaceable>SYSTEM-ID</replaceable>. The corresponding entry will be
|
|
Packit |
423ecb |
output to the command line.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
</variablelist>
|
|
Packit |
423ecb |
</refsect1>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<refsect1 id="environment">
|
|
Packit |
423ecb |
<title>ENVIRONMENT</title>
|
|
Packit |
423ecb |
<variablelist>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><envar>XML_CATALOG_FILES</envar></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>XML catalog behavior can be changed by redirecting
|
|
Packit |
423ecb |
queries to the user's own set of catalogs. This can be done by setting
|
|
Packit |
423ecb |
the <envar>XML_CATALOG_FILES</envar> environment variable to a list
|
|
Packit |
423ecb |
of catalogs. An empty one should deactivate loading the
|
|
Packit |
423ecb |
default <filename>/etc/xml/catalog</filename> catalog.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
</variablelist>
|
|
Packit |
423ecb |
</refsect1>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<refsect1 id="diagnostics">
|
|
Packit |
423ecb |
<title>DIAGNOSTICS</title>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
&xmlcatalog; return codes provide information that can be used when
|
|
Packit |
423ecb |
calling it from scripts.
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
<variablelist>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><errorcode>0</errorcode></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>No error</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><errorcode>1</errorcode></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>Failed to remove an entry from the catalog</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><errorcode>2</errorcode></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>Failed to save to the catalog, check file permissions</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><errorcode>3</errorcode></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>Failed to add an entry to the catalog</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<varlistentry>
|
|
Packit |
423ecb |
<term><errorcode>4</errorcode></term>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>Failed to look up an entry in the catalog</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</varlistentry>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
</variablelist>
|
|
Packit |
423ecb |
</refsect1>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
<refsect1 id="seealso">
|
|
Packit |
423ecb |
<title>SEE ALSO</title>
|
|
Packit |
423ecb |
<para><citerefentry>
|
|
Packit |
423ecb |
<refentrytitle>libxml</refentrytitle>
|
|
Packit |
423ecb |
<manvolnum>3</manvolnum>
|
|
Packit |
423ecb |
</citerefentry>
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
<para>
|
|
Packit |
423ecb |
More information can be found at
|
|
Packit |
423ecb |
<itemizedlist>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para><citerefentry>
|
|
Packit |
423ecb |
<refentrytitle>libxml</refentrytitle>
|
|
Packit |
423ecb |
<manvolnum>3</manvolnum>
|
|
Packit |
423ecb |
</citerefentry> web page <ulink url="http://www.xmlsoft.org/"/>
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para><citerefentry>
|
|
Packit |
423ecb |
<refentrytitle>libxml</refentrytitle>
|
|
Packit |
423ecb |
<manvolnum>3</manvolnum>
|
|
Packit |
423ecb |
</citerefentry> catalog support web page
|
|
Packit |
423ecb |
at <ulink url="http://www.xmlsoft.org/catalog.html"/>
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>James Clark's SGML catalog
|
|
Packit |
423ecb |
page <ulink url="http://www.jclark.com/sp/catalog.htm"/>
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
<listitem>
|
|
Packit |
423ecb |
<para>OASIS XML catalog specification
|
|
Packit |
423ecb |
<ulink url="http://www.oasis-open.org/committees/entity/spec.html"/>
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</listitem>
|
|
Packit |
423ecb |
</itemizedlist>
|
|
Packit |
423ecb |
</para>
|
|
Packit |
423ecb |
</refsect1>
|
|
Packit |
423ecb |
|
|
Packit |
423ecb |
</refentry>
|