| ."Generated by db2man.xsl. Don't modify this, modify the source. |
| .de Sh \" Subsection |
| .br |
| .if t .Sp |
| .ne 5 |
| .PP |
| \fB\\$1\fR |
| .PP |
| .. |
| .de Sp \" Vertical space (when we can't use .PP) |
| .if t .sp .5v |
| .if n .sp |
| .. |
| .de Ip \" List item |
| .br |
| .ie \\n(.$>=3 .ne \\$3 |
| .el .ne 3 |
| .IP "\\$1" \\$2 |
| .. |
| .TH "xmlcatalog" 1 "" "" "xmlcatalog Manual" |
| .SH NAME |
| xmlcatalog \- Command line tool to parse and manipulate XML or |
| SGML catalog files. |
| .SH "SYNOPSIS" |
| \fBxmlcatalog\fR [\fB--shell\fR | \fB--create\fR | \fB--add \fItype\fR |
| \fIorig\fR \fIreplace\fR \fR | \fB--del \fIvalues\fR \fR | \fB--noout\fR | \fB--verbose\fR] [\fB\fIcatalogfile\fR\fR] [\fB\fIentities\fR\fR] |
| .SH "INTRODUCTION" |
| |
| .PP |
| xmlcatalog is a command line application allowing users to monitor and manipulate XML and SGML catalogs. It is included in libxml2. |
| |
| .PP |
| 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. |
| |
| .SH "COMMAND LINE OPTIONS" |
| |
| .PP |
| \fB--shell\fR \fIfilename\fR - Run a shell allowing interactive queries on catalog file \fIfilename\fR. |
| |
| .PP |
| \fB--create\fR \fIfilename\fR - Create a new XML catalog. Outputs to stdout, ignoring \fIfilename\fR unless \fB--noout\fR is used, in which case it creates a new catalog file \fIfilename\fR. |
| |
| .PP |
| \fB--add\fR \fI'type'\fR \fI'orig'\fR \fI'replace'\fR \fIfilename\fR - Add an entry to catalog file \fIfilename\fR. \fItype\fR indicates the type of entry. Possible types are 'public', 'system', 'rewriteSystem', 'delegatePublic' and 'delegateSystem'. \fI'orig'\fR is the original reference to be replaced, and \fI'replace'\fR is the URI of the replacement entity to be used. The \fB-add\fR option will not overwrite \fIfilename\fR, outputing to stdout, unless \fB--noout\fR is used. The \fB--add\fR will always take three parameters even if some of the XML catalog constructs will have only a single argument. |
| |
| .PP |
| \fB--del\fR \fI'values'\fR \fIfilename\fR - Remove entries from the catalog file \fIfilename\fR matching \fI'values'\fR. The \fB--del\fR option will not overwrite \fIfilename\fR, outputing to stdout, unless \fB--noout\fR is used. |
| |
| .PP |
| \fB--noout\fR - Save output to the named file rather than outputing to stdout. |
| |
| .PP |
| \fB-v\fR or \fB--verbose\fR - output debugging information. |
| |
| .SH "SHELL COMMANDS" |
| |
| .PP |
| Invoking xmlcatalog with the \fB--shell\fR \fIfilename\fR option opens a command line shell allowing interactive access to the catalog file identified by \fIfilename\fR. Invoking the shell provides a command line prompt after which commands can be entered. |
| |
| .PP |
| \fBpublic\fR \fI'PublicID'\fR - Execute a public identifier lookup of the catalog entry for \fI'PublicID'\fR. The corresponding entry will be output to the command line. |
| |
| .PP |
| \fBsystem\fR \fI'SystemID'\fR - Execute a public identifier lookup of the catalog entry for \fI'SystemID'\fR. The corresponding entry will be output to the command line. |
| |
| .PP |
| \fBadd \fR \fI'type'\fR \fI'orig'\fR \fI'replace'\fR - Add an entry to the catalog file. \fItype\fR indicates the type of entry. Possible types are 'public', 'system', 'rewriteSystem', 'delegatePublic' and 'delegateSystem'. \fI'orig'\fR is the original reference to be replaced, and \fI'replace'\fR is the URI of the replacement entity to be used. |
| |
| .PP |
| \fBdel\fR \fI'values'\fR - Remove the catalog entry corresponding to \fI'values'\fR. |
| |
| .PP |
| \fBdump\fR - Print the current catalog. |
| |
| .PP |
| \fBdebug\fR - Print debugging statements showing the steps xmlcatalog is executing. |
| |
| .PP |
| \fBquiet\fR - Stop printing debugging statements. |
| |
| .PP |
| \fBexit\fR - Quit the shell. |
| |
| .SH "REFERENCES" |
| |
| .PP |
| \(bu .PP libxml web page: http://www.xmlsoft.org/: \fIhttp://www.xmlsoft.org/\fR .Sp \(bu .PP libxml catalog support web page: http://www.xmlsoft.org/catalog.html: \fIhttp://www.xmlsoft.org/catalog.html\fR .Sp \(bu .PP James Clark's SGML catalog page: http://www.jclark.com/sp/catalog.htm: \fIhttp://www.jclark.com/sp/catalog.htm\fR .Sp \(bu .PP OASIS XML catalog specification: http://www.oasis-open.org/committees/entity/spec.html: \fIhttp://www.oasis-open.org/committees/entity/spec.html\fR .Sp |
| |
| .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: \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 xmlcatalog Manual. |