Commit 3fc555e5 authored by MST 2001 John Fleck's avatar MST 2001 John Fleck Committed by John Fleck
Browse files

docs/xmllint.1, xmllint.xml, xmlcatalog.1, xmlcatalog_man.html,


Mon Dec 10 21:39:55 MST 2001 John Fleck <jfleck@inkstain.net>

	* docs/xmllint.1, xmllint.xml, xmlcatalog.1, xmlcatalog_man.html,
	xmlcatalog_man.xml
parent 2d8a93b1
Mon Dec 10 21:39:55 MST 2001 John Fleck <jfleck@inkstain.net>
* docs/xmllint.1, xmllint.xml, xmlcatalog.1, xmlcatalog_man.html,
xmlcatalog_man.xml
Mon Dec 10 22:06:16 CET 2001 Daniel Veillard <daniel@veillard.com>
* include/libxml/xmlmemory.h: Hietaniemi Jarkko pointed out that
......
......@@ -114,33 +114,19 @@ Quit the shell.
.SH "REFERENCES"
.TP
libxml web page:
http://www.xmlsoft.org/: \fIhttp://www.xmlsoft.org/\fR
.TP
libxml catalog support web page:
http://www.xmlsoft.org/catalog.html: \fIhttp://www.xmlsoft.org/catalog.html\fR
.TP
James Clark's SGML catalog page:
.PP
libxml web page: \fIhttp://www.xmlsoft.org/\fR
http://www.jclark.com/sp/catalog.htm: \fIhttp://www.jclark.com/sp/catalog.htm\fR
.PP
libxml catalog support web page:: \fIhttp://www.xmlsoft.org/catalog.html\fR
.TP
OASIS XML catalog specification:
.PP
James Clark's SGML catalog page:: \fIhttp://www.jclark.com/sp/catalog.htm\fR
http://www.oasis-open.org/committees/entity/spec.html: \fIhttp://www.oasis-open.org/committees/entity/spec.html\fR
.PP
OASIS XML catalog specification: : \fIhttp://www.oasis-open.org/committees/entity/spec.html\fR
.SH AUTHOR
Copyright 2001
.Sp
John Fleck <jfleck@inkstain.net>
.PP
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
.PP
Many of the names used by companies to distinguish their products and services are claimed as trademarks. Where those names appear in any GNOME documentation, and those trademarks are made aware to the members of the GNOME Documentation Project, the names have been printed in caps or initial caps.
This is release 0.1 of the xmlcatalog Manual.
\ No newline at end of file
John Fleck <jfleck@inkstain.net>This is release 0.2 of the xmlcatalog Manual.
\ No newline at end of file
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<title>xmlcatalog</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.41">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry">
<h1 class="title">
<a name="id2703858"></a>xmlcatalog</h1>
<div class="refnamediv">
<a name="id2707811"></a><h2>Name</h2>xmlcatalog &#8212; Command line tool to parse and manipulate XML or
SGML catalog files.</div>
<div class="refsynopsisdiv">
<a name="id2707831"></a><h2>Synopsis</h2>
<div class="cmdsynopsis" id="id2707834">
<a name="id2707834"></a><tt>xmlcatalog</tt> [--shell | --create | --add <i><tt>type</tt></i>
<i><tt>orig</tt></i> <i><tt>replace</tt></i> | --del <i><tt>values</tt></i> | --noout | --verbose] [<tt><i><tt>catalogfile</tt></i></tt>] [<tt><i><tt>entities</tt></i></tt>]</div>
</div>
<div class="refsect1">
<a name="introduction"></a><h2>
<a name="introduction"></a>Introduction</h2>
<p>
<html><head><meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"><title>xmlcatalog</title><meta name="generator" content="DocBook XSL Stylesheets V1.45"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry"><h1 class="title">xmlcatalog</h1><div class="refnamediv"><h2>Name</h2><p>xmlcatalog &#8212; Command line tool to parse and manipulate XML or
SGML catalog files.</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><tt>xmlcatalog</tt> [--shell | --create | --add <i><tt>type</tt></i>
<i><tt>orig</tt></i> <i><tt>replace</tt></i> | --del <i><tt>values</tt></i> | --noout | --verbose] [<tt><i><tt>catalogfile</tt></i></tt>] [<tt><i><tt>entities</tt></i></tt>]</p></div></div><div class="refsect1"><a name="introduction"></a><h2>Introduction</h2><p>
xmlcatalog is a command line application
allowing users to monitor and manipulate XML and
SGML catalogs. It is included in
libxml2.
</p>
<p>
</p><p>
Its functions can be invoked from a single command from the command line,
or it can perform multiple functions in interactive mode. It can operate
on both XML and SGML files.
</p>
</div>
<div class="refsect1">
<a name="cloptions"></a><h2>
<a name="cloptions"></a>Command Line Options</h2>
<div class="variablelist"><dl>
<dt>
<a name="id2705356"></a><span class="term"><tt>--shell</tt> <i><tt>filename</tt></i></span>
</dt>
<dd>
</p></div><div class="refsect1"><a name="cloptions"></a><h2>Command Line Options</h2><div class="variablelist"><dl><dt><span class="term"><tt>--shell</tt> <i><tt>filename</tt></i></span></dt><dd>
Run a shell
allowing interactive queries on catalog file
<i><tt>filename</tt></i>.
</dd>
<dt>
<a name="id2705383"></a><span class="term"><tt>--create</tt> <i><tt>filename</tt></i></span>
</dt>
<dd>
</dd><dt><span class="term"><tt>--create</tt> <i><tt>filename</tt></i></span></dt><dd>
Create a new
XML catalog. Outputs to stdout, ignoring
<i><tt>filename</tt></i> unless <tt>--noout</tt> is
used, in which case it creates a new catalog file
<i><tt>filename</tt></i>.
</dd>
<dt>
<a name="id2705423"></a><span class="term"><tt>--add</tt> <i><tt>'type'</tt></i> <i><tt>'orig'</tt></i> <i><tt>'replace'</tt></i> <i><tt>filename</tt></i></span>
</dt>
<dd>
<p>
</dd><dt><span class="term"><tt>--add</tt> <i><tt>'type'</tt></i> <i><tt>'orig'</tt></i> <i><tt>'replace'</tt></i> <i><tt>filename</tt></i></span></dt><dd><p>
Add an entry to catalog file
<tt>filename</tt>. <i><tt>type</tt></i> indicates
the type of entry. Possible types are 'public', 'system', 'rewriteSystem',
......@@ -72,74 +33,41 @@
take three parameters even if some of the XML catalog
constructs will have only a single argument.
</p>
<p>
</p><p>
If the <tt>--add</tt> option is used following the
<tt>--sgml</tt> option, only a single argument, a
<i><tt>filename</tt></i>, is used. This is used to add
the name of a catalog file to an SGML
supercatalog, a file that contains references to other included
SGML catalog files.
</p>
</dd>
<dt>
<a name="id2708168"></a><span class="term"><tt>--del</tt> <i><tt>'values'</tt></i> <i><tt>filename</tt></i></span>
</dt>
<dd>
</p></dd><dt><span class="term"><tt>--del</tt> <i><tt>'values'</tt></i> <i><tt>filename</tt></i></span></dt><dd>
Remove entries from the catalog file
<i><tt>filename</tt></i> matching
<i><tt>'values'</tt></i>. The <tt>--del</tt> option
will not overwrite <i><tt>filename</tt></i>, outputing to
stdout, unless <tt>--noout</tt> is used.
</dd>
<dt>
<a name="id2708217"></a><span class="term"><tt>--noout</tt></span>
</dt>
<dd>
</dd><dt><span class="term"><tt>--noout</tt></span></dt><dd>
Save output to the named file rather than
outputing to stdout.
</dd>
<dt>
<a name="id2708237"></a><span class="term"><tt>-v</tt> or <tt>--verbose</tt></span>
</dt>
<dd>
</dd><dt><span class="term"><tt>-v</tt> or <tt>--verbose</tt></span></dt><dd>
output debugging
information.
</dd>
</dl></div>
</div>
<div class="refsect1">
<a name="shell"></a><h2>
<a name="shell"></a>Shell Commands</h2>
<p>Invoking xmlcatalog with the
</dd></dl></div></div><div class="refsect1"><a name="shell"></a><h2>Shell Commands</h2><p>Invoking xmlcatalog with the
<tt>--shell</tt> <i><tt>filename</tt></i> option opens
a command line shell allowing interactive access to the catalog file
identified by <i><tt>filename</tt></i>. Invoking the shell
provides a command line prompt after which commands can be entered.
</p>
<div class="variablelist"><dl>
<dt>
<a name="id2708304"></a><span class="term"><tt>public</tt> <i><tt>'PublicID'</tt></i></span>
</dt>
<dd>
</p><div class="variablelist"><dl><dt><span class="term"><tt>public</tt> <i><tt>'PublicID'</tt></i></span></dt><dd>
Execute a
public identifier lookup of the catalog entry for
<i><tt>'PublicID'</tt></i>. The corresponding entry will be
output to the command line.
</dd>
<dt>
<a name="id2708332"></a><span class="term"><tt>system</tt> <i><tt>'SystemID'</tt></i></span>
</dt>
<dd>
</dd><dt><span class="term"><tt>system</tt> <i><tt>'SystemID'</tt></i></span></dt><dd>
Execute a
public identifier lookup of the catalog entry for
<i><tt>'SystemID'</tt></i>. The corresponding entry will be
output to the command line.
</dd>
<dt>
<a name="id2708361"></a><span class="term"><tt>add </tt> <i><tt>'type'</tt></i> <i><tt>'orig'</tt></i> <i><tt>'replace'</tt></i></span>
</dt>
<dd>
</dd><dt><span class="term"><tt>add </tt> <i><tt>'type'</tt></i> <i><tt>'orig'</tt></i> <i><tt>'replace'</tt></i></span></dt><dd>
Add an entry to the catalog
file. <i><tt>type</tt></i> indicates the type of
entry. Possible types are 'public', 'system', 'rewriteSystem',
......@@ -147,70 +75,19 @@
is the original reference to be replaced, and
<i><tt>'replace'</tt></i> is the URI of the
replacement entity to be used.
</dd>
<dt>
<a name="id2708681"></a><span class="term"><tt>del</tt> <i><tt>'values'</tt></i></span>
</dt>
<dd>
</dd><dt><span class="term"><tt>del</tt> <i><tt>'values'</tt></i></span></dt><dd>
Remove the
catalog entry corresponding to <i><tt>'values'</tt></i>.
</dd>
<dt>
<a name="id2708708"></a><span class="term"><tt>dump</tt></span>
</dt>
<dd>
</dd><dt><span class="term"><tt>dump</tt></span></dt><dd>
Print the current catalog.
</dd>
<dt>
<a name="id2708728"></a><span class="term"><tt>debug</tt></span>
</dt>
<dd>
</dd><dt><span class="term"><tt>debug</tt></span></dt><dd>
Print debugging statements showing the steps
xmlcatalog is executing.
</dd>
<dt>
<a name="id2708755"></a><span class="term"><tt>quiet</tt></span>
</dt>
<dd>
</dd><dt><span class="term"><tt>quiet</tt></span></dt><dd>
Stop printing debugging statements.
</dd>
<dt>
<a name="id2708774"></a><span class="term"><tt>exit</tt></span>
</dt>
<dd>
</dd><dt><span class="term"><tt>exit</tt></span></dt><dd>
Quit the shell.
</dd>
</dl></div>
</div>
<div class="refsect1">
<a name="references"></a><h2>
<a name="references"></a>References</h2>
<div class="variablelist"><dl>
<dt>
<a name="id2708813"></a><span class="term">libxml web page:</span>
</dt>
<dd>
<a href="http://www.xmlsoft.org/" target="_top">http://www.xmlsoft.org/</a>
</dd>
<dt>
<a name="id2708841"></a><span class="term">libxml catalog support web page:</span>
</dt>
<dd>
<a href="http://www.xmlsoft.org/catalog.html" target="_top">http://www.xmlsoft.org/catalog.html</a>
</dd>
<dt>
<a name="id2708875"></a><span class="term">James Clark's SGML catalog page:</span>
</dt>
<dd>
<a href="http://www.jclark.com/sp/catalog.htm" target="_top">http://www.jclark.com/sp/catalog.htm</a>
</dd>
<dt>
<a name="id2708909"></a><span class="term">OASIS XML catalog specification:</span>
</dt>
<dd>
<a href="http://www.oasis-open.org/committees/entity/spec.html" target="_top">http://www.oasis-open.org/committees/entity/spec.html</a>
</dd>
</dl></div>
</div>
</div></body>
</html>
</dd></dl></div></div><div class="refsect1"><h2>References</h2><p><a href="http://www.xmlsoft.org/" target="_top">libxml web page</a></p><p><a href="http://www.xmlsoft.org/catalog.html" target="_top">libxml
catalog support web page:</a></p><p><a href="http://www.jclark.com/sp/catalog.htm" target="_top">James Clark's
SGML catalog page:</a></p><p><a href="http://www.oasis-open.org/committees/entity/spec.html" target="_top">OASIS
XML catalog specification: </a></p></div></div></body></html>
......@@ -13,21 +13,8 @@
<surname>Fleck</surname>
</author>
<address><email>jfleck@inkstain.net</email></address>
<legalnotice id="legalnotice">
<para>Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation
License, Version 1.1 or any later version
published by the Free Software Foundation with no Invariant Sections,
no Front-Cover Texts, and no Back-Cover Texts.
</para>
<para>Many of the names used by companies to distinguish their products and
services are claimed as trademarks. Where those names appear in any
GNOME documentation, and those trademarks are made aware to the members
of the GNOME Documentation Project, the names have been printed in caps
or initial caps.
</para>
</legalnotice>
<releaseinfo>This is release 0.1 of the xmlcatalog Manual.</releaseinfo>
<releaseinfo>This is release 0.2 of the xmlcatalog Manual.</releaseinfo>
</refentryinfo>
<refmeta>
......@@ -259,53 +246,20 @@ FIXME - Is my list of possible types correct? Are SGML types the same?
</refsect1>
<refsect1 id="references">
<refsect1>
<title>References</title>
<variablelist>
<varlistentry>
<term>libxml web page:</term>
<listitem>
<simpara>
<ulink
url="http://www.xmlsoft.org/">http://www.xmlsoft.org/</ulink>
</simpara>
</listitem>
</varlistentry>
<para><ulink url="http://www.xmlsoft.org/">libxml web page</ulink></para>
<varlistentry>
<term><application>libxml</application> catalog support web page:</term>
<listitem>
<simpara>
<ulink url="http://www.xmlsoft.org/catalog.html">http://www.xmlsoft.org/catalog.html</ulink>
</simpara>
</listitem>
</varlistentry>
<para><ulink url="http://www.xmlsoft.org/catalog.html"><application>libxml</application>
catalog support web page:</ulink></para>
<varlistentry>
<term>James Clark's <acronym>SGML</acronym> catalog page:</term>
<listitem>
<simpara>
<ulink
url="http://www.jclark.com/sp/catalog.htm">http://www.jclark.com/sp/catalog.htm</ulink>
</simpara>
</listitem>
</varlistentry>
<para><ulink url="http://www.jclark.com/sp/catalog.htm">James Clark's
<acronym>SGML</acronym> catalog page:</ulink></para>
<para><ulink
url="http://www.oasis-open.org/committees/entity/spec.html"><acronym>OASIS</acronym>
<acronym>XML</acronym> catalog specification: </ulink></para>
</refsect1>
<varlistentry>
<term><acronym>OASIS</acronym> <acronym>XML</acronym> catalog specification:</term>
<listitem>
<simpara>
<ulink
url="http://www.oasis-open.org/committees/entity/spec.html">http://www.oasis-open.org/committees/entity/spec.html</ulink>
</simpara>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
</refentry>
\ No newline at end of file
......@@ -280,10 +280,4 @@ Write the current node to the given filename.
.SH AUTHOR
Copyright 2001
.Sp
John Fleck <jfleck@inkstain.net>Ziying Sherwin <sherwin@nlm.nih.gov>Heiko Rupp <hwr@pilhuhn.de>
.PP
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License: \fIgnome-help:fdl\fR, Version 1.1 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license can be found here: \fIgnome-help:fdl\fR.
.PP
Many of the names used by companies to distinguish their products and services are claimed as trademarks. Where those names appear in any GNOME documentation, and those trademarks are made aware to the members of the GNOME Documentation Project, the names have been printed in caps or initial caps.
This is release 0.1 of the xmllint Manual.
\ No newline at end of file
John Fleck <jfleck@inkstain.net>Ziying Sherwin <sherwin@nlm.nih.gov>Heiko Rupp <hwr@pilhuhn.de>This is release 0.2 of the xmllint Manual.
\ No newline at end of file
......@@ -23,22 +23,8 @@
<surname>Rupp</surname>
</author>
<address><email>hwr@pilhuhn.de</email></address>
<legalnotice id="legalnotice">
<para>Permission is granted to copy, distribute and/or modify this document
under the terms of the <ulink type="help" url="gnome-help:fdl"><citetitle>GNU Free Documentation
License</citetitle></ulink>, Version 1.1 or any later version
published by the Free Software Foundation with no Invariant Sections,
no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
can be found <ulink type="help" url="gnome-help:fdl">here</ulink>.
</para>
<para>Many of the names used by companies to distinguish their products and
services are claimed as trademarks. Where those names appear in any
GNOME documentation, and those trademarks are made aware to the members
of the GNOME Documentation Project, the names have been printed in caps
or initial caps.
</para>
</legalnotice>
<releaseinfo>This is release 0.1 of the xmllint Manual.</releaseinfo>
<releaseinfo>This is release 0.2 of the xmllint Manual.</releaseinfo>
</refentryinfo>
<refmeta>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment