X7ROOT File Manager
Current Path:
/usr/share/doc/libxml2-devel-2.9.1
usr
/
share
/
doc
/
libxml2-devel-2.9.1
/
📁
..
📄
APIchunk0.html
(29.38 KB)
📄
APIchunk1.html
(36.61 KB)
📄
APIchunk10.html
(62.82 KB)
📄
APIchunk11.html
(32.43 KB)
📄
APIchunk12.html
(85.95 KB)
📄
APIchunk13.html
(62.37 KB)
📄
APIchunk14.html
(44.63 KB)
📄
APIchunk15.html
(43.2 KB)
📄
APIchunk16.html
(35.45 KB)
📄
APIchunk17.html
(52.79 KB)
📄
APIchunk18.html
(41.75 KB)
📄
APIchunk19.html
(35.8 KB)
📄
APIchunk2.html
(39.79 KB)
📄
APIchunk20.html
(31.98 KB)
📄
APIchunk21.html
(36.93 KB)
📄
APIchunk22.html
(56.6 KB)
📄
APIchunk23.html
(62.13 KB)
📄
APIchunk24.html
(92.13 KB)
📄
APIchunk25.html
(40.75 KB)
📄
APIchunk26.html
(31.37 KB)
📄
APIchunk27.html
(33.19 KB)
📄
APIchunk28.html
(56.49 KB)
📄
APIchunk29.html
(13.1 KB)
📄
APIchunk3.html
(35.34 KB)
📄
APIchunk4.html
(35.34 KB)
📄
APIchunk5.html
(29.04 KB)
📄
APIchunk6.html
(28.34 KB)
📄
APIchunk7.html
(32.08 KB)
📄
APIchunk8.html
(29.52 KB)
📄
APIchunk9.html
(28.03 KB)
📄
APIconstructors.html
(58.11 KB)
📄
APIfiles.html
(320.54 KB)
📄
APIfunctions.html
(211.94 KB)
📄
APIsymbols.html
(317.85 KB)
📄
AUTHORS
(208 B)
📄
Copyright
(1.26 KB)
📄
DOM.gif
(3.09 KB)
📄
DOM.html
(6.46 KB)
📄
FAQ.html
(20.57 KB)
📄
Libxml2-Logo-180x168.gif
(8 KB)
📄
Libxml2-Logo-90x34.gif
(3 KB)
📄
NEWS
(93.6 KB)
📄
README
(1.16 KB)
📄
XMLinfo.html
(6.64 KB)
📄
XSLT.html
(5.64 KB)
📄
architecture.html
(6.7 KB)
📄
bugs.html
(10 KB)
📄
catalog.gif
(5.96 KB)
📄
catalog.html
(23.08 KB)
📄
contribs.html
(7.5 KB)
📄
docs.html
(7.44 KB)
📄
downloads.html
(8.07 KB)
📄
encoding.html
(18.93 KB)
📄
entities.html
(9.22 KB)
📄
example.html
(12.79 KB)
📁
examples
📄
guidelines.html
(17.25 KB)
📄
help.html
(6.17 KB)
📁
html
📄
index.html
(16.46 KB)
📄
interface.html
(8.01 KB)
📄
intro.html
(7.04 KB)
📄
library.html
(14.61 KB)
📄
libxml.gif
(7.51 KB)
📄
libxml2-api.xml.gz
(157.78 KB)
📄
namespaces.html
(8.14 KB)
📄
news.html
(125.52 KB)
📄
python.html
(19.46 KB)
📄
redhat.gif
(697 B)
📄
searches.html
(7.38 KB)
📄
smallfootonly.gif
(2.71 KB)
📄
structure.gif
(5.43 KB)
📄
threads.html
(6.94 KB)
📄
tree.html
(7.73 KB)
📁
tutorial
📄
upgrade.html
(12.34 KB)
📄
w3c.png
(1.98 KB)
📄
xml.html
(264.82 KB)
📄
xmlcatalog_man.html
(8.89 KB)
📄
xmldtd.html
(13.3 KB)
📄
xmlio.html
(12.48 KB)
📄
xmllint.html
(15.12 KB)
📄
xmlmem.html
(14.08 KB)
📄
xmlreader.html
(19.67 KB)
Editing: xmlcatalog_man.html
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>xmlcatalog</title><meta name="generator" content="DocBook XSL Stylesheets V1.61.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="id2431614"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p>xmlcatalog — Command line tool to parse and manipulate <span class="acronym">XML</span> or <span class="acronym">SGML</span> catalog files.</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><tt class="command">xmlcatalog</tt> [[--shell] | [--create] | [--add <i class="replaceable"><tt>type</tt></i> <i class="replaceable"><tt>orig</tt></i> <i class="replaceable"><tt>replace</tt></i>] | [--del <i class="replaceable"><tt>values</tt></i>] | [--noout] | [--verbose]] [<tt class="option"><i class="replaceable"><tt>catalogfile</tt></i></tt>] [<tt class="option"><i class="replaceable"><tt>entities</tt></i></tt>]</p></div></div><div class="refsect1" lang="en"><a name="introduction"></a><h2>Introduction</h2><p> <span class="application">xmlcatalog</span> is a command line application allowing users to monitor and manipulate <span class="acronym">XML</span> and <span class="acronym">SGML</span> catalogs. It is included in <span class="application">libxml2</span>. </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 <span class="acronym">XML</span> and <span class="acronym">SGML</span> files. </p></div><div class="refsect1" lang="en"><a name="cloptions"></a><h2>Command Line Options</h2><div class="variablelist"><dl><dt><span class="term"><tt class="option">--shell</tt> <i class="replaceable"><tt>filename</tt></i></span></dt><dd> Run a shell allowing interactive queries on catalog file <i class="replaceable"><tt>filename</tt></i>. </dd><dt><span class="term"><tt class="option">--create</tt> <i class="replaceable"><tt>filename</tt></i></span></dt><dd> Create a new <span class="acronym">XML</span> catalog. Outputs to stdout, ignoring <i class="replaceable"><tt>filename</tt></i> unless <tt class="option">--noout</tt> is used, in which case it creates a new catalog file <i class="replaceable"><tt>filename</tt></i>. </dd><dt><span class="term"><tt class="option">--add</tt> <i class="replaceable"><tt>'type'</tt></i> <i class="replaceable"><tt>'orig'</tt></i> <i class="replaceable"><tt>'replace'</tt></i> <i class="replaceable"><tt>filename</tt></i></span></dt><dd><p> Add an entry to catalog file <tt class="filename">filename</tt>. <i class="replaceable"><tt>type</tt></i> indicates the type of entry. Possible types are 'public', 'system', 'uri', 'rewriteSystem', 'rewriteURI', 'delegatePublic', 'delegateSystem', 'delegateURI' and 'nextCatalog'. <i class="replaceable"><tt>'orig'</tt></i> is the original reference to be replaced, and <i class="replaceable"><tt>'replace'</tt></i> is the <span class="acronym">URI</span> of the replacement entity to be used. The <tt class="option">--add</tt> option will not overwrite <i class="replaceable"><tt>filename</tt></i>, outputing to stdout, unless <tt class="option">--noout</tt> is used. The <tt class="option">--add</tt> will always take three parameters even if some of the <span class="acronym">XML</span> catalog constructs will have only a single argument. </p><p> If the <tt class="option">--add</tt> option is used following the <tt class="option">--sgml</tt> option, only a single argument, a <i class="replaceable"><tt>filename</tt></i>, is used. This is used to add the name of a catalog file to an <span class="acronym">SGML</span> supercatalog, a file that contains references to other included <span class="acronym">SGML</span> catalog files. </p></dd><dt><span class="term"><tt class="option">--del</tt> <i class="replaceable"><tt>'values'</tt></i> <i class="replaceable"><tt>filename</tt></i></span></dt><dd> Remove entries from the catalog file <i class="replaceable"><tt>filename</tt></i> matching <i class="replaceable"><tt>'values'</tt></i>. The <tt class="option">--del</tt> option will not overwrite <i class="replaceable"><tt>filename</tt></i>, outputing to stdout, unless <tt class="option">--noout</tt> is used. </dd><dt><span class="term"><tt class="option">--noout</tt></span></dt><dd> Save output to the named file rather than outputing to stdout. </dd><dt><span class="term"><tt class="option">--sgml</tt></span></dt><dd> Uses SGML Super catalogs for --add and --del options </dd><dt><span class="term"><tt class="option">-v</tt> or <tt class="option">--verbose</tt></span></dt><dd> output debugging information. </dd></dl></div></div><div class="refsect1" lang="en"><a name="shell"></a><h2>Shell Commands</h2><p>Invoking <span class="application">xmlcatalog</span> with the <tt class="option">--shell</tt> <i class="replaceable"><tt>filename</tt></i> option opens a command line shell allowing interactive access to the catalog file identified by <i class="replaceable"><tt>filename</tt></i>. Invoking the shell provides a command line prompt after which commands can be entered. </p><div class="variablelist"><dl><dt><span class="term"><tt class="option">public</tt> <i class="replaceable"><tt>'PublicID'</tt></i></span></dt><dd> Execute a public identifier lookup of the catalog entry for <i class="replaceable"><tt>'PublicID'</tt></i>. The corresponding entry will be output to the command line. </dd><dt><span class="term"><tt class="option">system</tt> <i class="replaceable"><tt>'SystemID'</tt></i></span></dt><dd> Execute a public identifier lookup of the catalog entry for <i class="replaceable"><tt>'SystemID'</tt></i>. The corresponding entry will be output to the command line. </dd><dt><span class="term"><tt class="option">add </tt> <i class="replaceable"><tt>'type'</tt></i> <i class="replaceable"><tt>'orig'</tt></i> <i class="replaceable"><tt>'replace'</tt></i></span></dt><dd> Add an entry to the catalog file. <i class="replaceable"><tt>type</tt></i> indicates the type of entry. Possible types are 'public', 'system', 'uri', 'rewriteSystem', 'rewriteURI', 'delegatePublic', 'delegateSystem', 'delegateURI' and 'nextCatalog'. <i class="replaceable"><tt>'orig'</tt></i> is the original reference to be replaced, and <i class="replaceable"><tt>'replace'</tt></i> is the <span class="acronym">URI</span> of the replacement entity to be used. </dd><dt><span class="term"><tt class="option">del</tt> <i class="replaceable"><tt>'values'</tt></i></span></dt><dd> Remove the catalog entry corresponding to <i class="replaceable"><tt>'values'</tt></i>. </dd><dt><span class="term"><tt class="option">dump</tt></span></dt><dd> Print the current catalog. </dd><dt><span class="term"><tt class="option">debug</tt></span></dt><dd> Print debugging statements showing the steps <span class="application">xmlcatalog</span> is executing. </dd><dt><span class="term"><tt class="option">quiet</tt></span></dt><dd> Stop printing debugging statements. </dd><dt><span class="term"><tt class="option">exit</tt></span></dt><dd> Quit the shell. </dd></dl></div></div><div class="refsect1" lang="en"><a name="return"></a><h2>Return values</h2><p><span class="application">xmlcatalog</span>'s return codes provide information that can be used when calling it from scripts.</p><p>0: normal</p><p>1: Failed to remove an entry from the catalog</p><p>2: Failed to save to the catalog, check file permissions</p><p>3: Failed to add an entry to the catalog</p><p>4: Failed to lookup and entry in the catalog</p></div><div class="refsect1" lang="en"><h2>Catalogs</h2><p>Catalog behavior can be changed by redirecting queries to the user's own set of catalogs. This can be done by setting the <tt class="varname">XML_CATALOG_FILES</tt> environment variable to a list of catalogs. An empty one should deactivate loading the default <tt class="filename">/etc/xml/catalog</tt> default catalog.</p></div><div class="refsect1" lang="en"><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"><span class="application">libxml</span> catalog support web page:</a></p><p><a href="http://www.jclark.com/sp/catalog.htm" target="_top">James Clark's <span class="acronym">SGML</span> catalog page:</a></p><p><a href="http://www.oasis-open.org/committees/entity/spec.html" target="_top"><span class="acronym">OASIS</span> <span class="acronym">XML</span> catalog specification: </a></p></div></div></body></html>
Upload File
Create Folder