1*7c568831SAndroid Build Coastguard Worker<html> 2*7c568831SAndroid Build Coastguard Worker<head> 3*7c568831SAndroid Build Coastguard Worker<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4*7c568831SAndroid Build Coastguard Worker<title>catalog: interfaces to the Catalog handling system</title> 5*7c568831SAndroid Build Coastguard Worker<meta name="generator" content="Libxml2 devhelp stylesheet"> 6*7c568831SAndroid Build Coastguard Worker<link rel="start" href="index.html" title="libxml2 Reference Manual"> 7*7c568831SAndroid Build Coastguard Worker<link rel="up" href="general.html" title="API"> 8*7c568831SAndroid Build Coastguard Worker<link rel="stylesheet" href="style.css" type="text/css"> 9*7c568831SAndroid Build Coastguard Worker<link rel="chapter" href="general.html" title="API"> 10*7c568831SAndroid Build Coastguard Worker</head> 11*7c568831SAndroid Build Coastguard Worker<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 12*7c568831SAndroid Build Coastguard Worker<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> 13*7c568831SAndroid Build Coastguard Worker<td><a accesskey="p" href="libxml2-c14n.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> 14*7c568831SAndroid Build Coastguard Worker<td><a accesskey="u" href="general.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> 15*7c568831SAndroid Build Coastguard Worker<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> 16*7c568831SAndroid Build Coastguard Worker<td><a accesskey="n" href="libxml2-chvalid.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> 17*7c568831SAndroid Build Coastguard Worker<th width="100%" align="center">libxml2 Reference Manual</th> 18*7c568831SAndroid Build Coastguard Worker</tr></table> 19*7c568831SAndroid Build Coastguard Worker<h2><span class="refentrytitle">catalog</span></h2> 20*7c568831SAndroid Build Coastguard Worker<p>catalog - interfaces to the Catalog handling system</p> 21*7c568831SAndroid Build Coastguard Worker<p>the catalog module implements the support for XML Catalogs and SGML catalogs </p> 22*7c568831SAndroid Build Coastguard Worker<p>Author(s): Daniel Veillard </p> 23*7c568831SAndroid Build Coastguard Worker<div class="refsynopsisdiv"> 24*7c568831SAndroid Build Coastguard Worker<h2>Synopsis</h2> 25*7c568831SAndroid Build Coastguard Worker<pre class="synopsis">#define <a href="#XML_CATALOGS_NAMESPACE">XML_CATALOGS_NAMESPACE</a>; 26*7c568831SAndroid Build Coastguard Worker#define <a href="#XML_CATALOG_PI">XML_CATALOG_PI</a>; 27*7c568831SAndroid Build Coastguard Workertypedef struct _xmlCatalog <a href="#xmlCatalog">xmlCatalog</a>; 28*7c568831SAndroid Build Coastguard Workertypedef enum <a href="#xmlCatalogAllow">xmlCatalogAllow</a>; 29*7c568831SAndroid Build Coastguard Workertypedef enum <a href="#xmlCatalogPrefer">xmlCatalogPrefer</a>; 30*7c568831SAndroid Build Coastguard Workertypedef <a href="libxml2-catalog.html#xmlCatalog">xmlCatalog</a> * <a href="#xmlCatalogPtr">xmlCatalogPtr</a>; 31*7c568831SAndroid Build Coastguard Workerint <a href="#xmlACatalogAdd">xmlACatalogAdd</a> (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * type, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * orig, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * replace); 32*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlACatalogDump">xmlACatalogDump</a> (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal, <br> FILE * out); 33*7c568831SAndroid Build Coastguard Workerint <a href="#xmlACatalogRemove">xmlACatalogRemove</a> (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value); 34*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlACatalogResolve">xmlACatalogResolve</a> (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * pubID, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * sysID); 35*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlACatalogResolvePublic">xmlACatalogResolvePublic</a> (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * pubID); 36*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlACatalogResolveSystem">xmlACatalogResolveSystem</a> (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * sysID); 37*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlACatalogResolveURI">xmlACatalogResolveURI</a> (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * URI); 38*7c568831SAndroid Build Coastguard Workerint <a href="#xmlCatalogAdd">xmlCatalogAdd</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * type, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * orig, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * replace); 39*7c568831SAndroid Build Coastguard Workervoid * <a href="#xmlCatalogAddLocal">xmlCatalogAddLocal</a> (void * catalogs, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * URL); 40*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlCatalogCleanup">xmlCatalogCleanup</a> (void); 41*7c568831SAndroid Build Coastguard Workerint <a href="#xmlCatalogConvert">xmlCatalogConvert</a> (void); 42*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlCatalogDump">xmlCatalogDump</a> (FILE * out); 43*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlCatalogFreeLocal">xmlCatalogFreeLocal</a> (void * catalogs); 44*7c568831SAndroid Build Coastguard Worker<a href="libxml2-catalog.html#xmlCatalogAllow">xmlCatalogAllow</a> <a href="#xmlCatalogGetDefaults">xmlCatalogGetDefaults</a> (void); 45*7c568831SAndroid Build Coastguard Workerconst <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlCatalogGetPublic">xmlCatalogGetPublic</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * pubID); 46*7c568831SAndroid Build Coastguard Workerconst <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlCatalogGetSystem">xmlCatalogGetSystem</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * sysID); 47*7c568831SAndroid Build Coastguard Workerint <a href="#xmlCatalogIsEmpty">xmlCatalogIsEmpty</a> (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal); 48*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlCatalogLocalResolve">xmlCatalogLocalResolve</a> (void * catalogs, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * pubID, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * sysID); 49*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlCatalogLocalResolveURI">xmlCatalogLocalResolveURI</a> (void * catalogs, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * URI); 50*7c568831SAndroid Build Coastguard Workerint <a href="#xmlCatalogRemove">xmlCatalogRemove</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value); 51*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlCatalogResolve">xmlCatalogResolve</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * pubID, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * sysID); 52*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlCatalogResolvePublic">xmlCatalogResolvePublic</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * pubID); 53*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlCatalogResolveSystem">xmlCatalogResolveSystem</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * sysID); 54*7c568831SAndroid Build Coastguard Worker<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlCatalogResolveURI">xmlCatalogResolveURI</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * URI); 55*7c568831SAndroid Build Coastguard Workerint <a href="#xmlCatalogSetDebug">xmlCatalogSetDebug</a> (int level); 56*7c568831SAndroid Build Coastguard Worker<a href="libxml2-catalog.html#xmlCatalogPrefer">xmlCatalogPrefer</a> <a href="#xmlCatalogSetDefaultPrefer">xmlCatalogSetDefaultPrefer</a> (<a href="libxml2-catalog.html#xmlCatalogPrefer">xmlCatalogPrefer</a> prefer); 57*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlCatalogSetDefaults">xmlCatalogSetDefaults</a> (<a href="libxml2-catalog.html#xmlCatalogAllow">xmlCatalogAllow</a> allow); 58*7c568831SAndroid Build Coastguard Workerint <a href="#xmlConvertSGMLCatalog">xmlConvertSGMLCatalog</a> (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal); 59*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlFreeCatalog">xmlFreeCatalog</a> (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal); 60*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlInitializeCatalog">xmlInitializeCatalog</a> (void); 61*7c568831SAndroid Build Coastguard Worker<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> <a href="#xmlLoadACatalog">xmlLoadACatalog</a> (const char * filename); 62*7c568831SAndroid Build Coastguard Workerint <a href="#xmlLoadCatalog">xmlLoadCatalog</a> (const char * filename); 63*7c568831SAndroid Build Coastguard Workervoid <a href="#xmlLoadCatalogs">xmlLoadCatalogs</a> (const char * pathss); 64*7c568831SAndroid Build Coastguard Worker<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> <a href="#xmlLoadSGMLSuperCatalog">xmlLoadSGMLSuperCatalog</a> (const char * filename); 65*7c568831SAndroid Build Coastguard Worker<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> <a href="#xmlNewCatalog">xmlNewCatalog</a> (int sgml); 66*7c568831SAndroid Build Coastguard Worker<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> <a href="#xmlParseCatalogFile">xmlParseCatalogFile</a> (const char * filename); 67*7c568831SAndroid Build Coastguard Worker</pre> 68*7c568831SAndroid Build Coastguard Worker</div> 69*7c568831SAndroid Build Coastguard Worker<div class="refsect1" lang="en"><h2>Description</h2></div> 70*7c568831SAndroid Build Coastguard Worker<div class="refsect1" lang="en"> 71*7c568831SAndroid Build Coastguard Worker<h2>Details</h2> 72*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 73*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 74*7c568831SAndroid Build Coastguard Worker<h3> 75*7c568831SAndroid Build Coastguard Worker<a name="XML_CATALOGS_NAMESPACE">Macro </a>XML_CATALOGS_NAMESPACE</h3> 76*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#XML_CATALOGS_NAMESPACE">XML_CATALOGS_NAMESPACE</a>; 77*7c568831SAndroid Build Coastguard Worker</pre> 78*7c568831SAndroid Build Coastguard Worker<p>The namespace for the XML Catalogs elements.</p> 79*7c568831SAndroid Build Coastguard Worker</div> 80*7c568831SAndroid Build Coastguard Worker<hr> 81*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 82*7c568831SAndroid Build Coastguard Worker<h3> 83*7c568831SAndroid Build Coastguard Worker<a name="XML_CATALOG_PI">Macro </a>XML_CATALOG_PI</h3> 84*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">#define <a href="#XML_CATALOG_PI">XML_CATALOG_PI</a>; 85*7c568831SAndroid Build Coastguard Worker</pre> 86*7c568831SAndroid Build Coastguard Worker<p>The specific XML Catalog Processing Instruction name.</p> 87*7c568831SAndroid Build Coastguard Worker</div> 88*7c568831SAndroid Build Coastguard Worker<hr> 89*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 90*7c568831SAndroid Build Coastguard Worker<h3> 91*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalog">Structure </a>xmlCatalog</h3> 92*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">struct _xmlCatalog { 93*7c568831SAndroid Build Coastguard WorkerThe content of this structure is not made public by the API. 94*7c568831SAndroid Build Coastguard Worker} xmlCatalog; 95*7c568831SAndroid Build Coastguard Worker</pre> 96*7c568831SAndroid Build Coastguard Worker<p></p> 97*7c568831SAndroid Build Coastguard Worker</div> 98*7c568831SAndroid Build Coastguard Worker<hr> 99*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 100*7c568831SAndroid Build Coastguard Worker<h3> 101*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogAllow">Enum </a>xmlCatalogAllow</h3> 102*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">enum <a href="#xmlCatalogAllow">xmlCatalogAllow</a> { 103*7c568831SAndroid Build Coastguard Worker <a name="XML_CATA_ALLOW_NONE">XML_CATA_ALLOW_NONE</a> = 0 104*7c568831SAndroid Build Coastguard Worker <a name="XML_CATA_ALLOW_GLOBAL">XML_CATA_ALLOW_GLOBAL</a> = 1 105*7c568831SAndroid Build Coastguard Worker <a name="XML_CATA_ALLOW_DOCUMENT">XML_CATA_ALLOW_DOCUMENT</a> = 2 106*7c568831SAndroid Build Coastguard Worker <a name="XML_CATA_ALLOW_ALL">XML_CATA_ALLOW_ALL</a> = 3 107*7c568831SAndroid Build Coastguard Worker}; 108*7c568831SAndroid Build Coastguard Worker</pre> 109*7c568831SAndroid Build Coastguard Worker<p></p> 110*7c568831SAndroid Build Coastguard Worker</div> 111*7c568831SAndroid Build Coastguard Worker<hr> 112*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 113*7c568831SAndroid Build Coastguard Worker<h3> 114*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogPrefer">Enum </a>xmlCatalogPrefer</h3> 115*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">enum <a href="#xmlCatalogPrefer">xmlCatalogPrefer</a> { 116*7c568831SAndroid Build Coastguard Worker <a name="XML_CATA_PREFER_NONE">XML_CATA_PREFER_NONE</a> = 0 117*7c568831SAndroid Build Coastguard Worker <a name="XML_CATA_PREFER_PUBLIC">XML_CATA_PREFER_PUBLIC</a> = 1 118*7c568831SAndroid Build Coastguard Worker <a name="XML_CATA_PREFER_SYSTEM">XML_CATA_PREFER_SYSTEM</a> = 2 119*7c568831SAndroid Build Coastguard Worker}; 120*7c568831SAndroid Build Coastguard Worker</pre> 121*7c568831SAndroid Build Coastguard Worker<p></p> 122*7c568831SAndroid Build Coastguard Worker</div> 123*7c568831SAndroid Build Coastguard Worker<hr> 124*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 125*7c568831SAndroid Build Coastguard Worker<h3> 126*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogPtr">Typedef </a>xmlCatalogPtr</h3> 127*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-catalog.html#xmlCatalog">xmlCatalog</a> * xmlCatalogPtr; 128*7c568831SAndroid Build Coastguard Worker</pre> 129*7c568831SAndroid Build Coastguard Worker<p></p> 130*7c568831SAndroid Build Coastguard Worker</div> 131*7c568831SAndroid Build Coastguard Worker<hr> 132*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 133*7c568831SAndroid Build Coastguard Worker<h3> 134*7c568831SAndroid Build Coastguard Worker<a name="xmlACatalogAdd"></a>xmlACatalogAdd ()</h3> 135*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlACatalogAdd (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * type, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * orig, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * replace)<br> 136*7c568831SAndroid Build Coastguard Worker</pre> 137*7c568831SAndroid Build Coastguard Worker<p>Add an entry in the catalog, it may overwrite existing but different entries.</p> 138*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 139*7c568831SAndroid Build Coastguard Worker<col align="left"> 140*7c568831SAndroid Build Coastguard Worker<tbody> 141*7c568831SAndroid Build Coastguard Worker<tr> 142*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>catal</tt></i>:</span></td> 143*7c568831SAndroid Build Coastguard Worker<td>a Catalog</td> 144*7c568831SAndroid Build Coastguard Worker</tr> 145*7c568831SAndroid Build Coastguard Worker<tr> 146*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>type</tt></i>:</span></td> 147*7c568831SAndroid Build Coastguard Worker<td>the type of record to add to the catalog</td> 148*7c568831SAndroid Build Coastguard Worker</tr> 149*7c568831SAndroid Build Coastguard Worker<tr> 150*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>orig</tt></i>:</span></td> 151*7c568831SAndroid Build Coastguard Worker<td>the system, public or prefix to match</td> 152*7c568831SAndroid Build Coastguard Worker</tr> 153*7c568831SAndroid Build Coastguard Worker<tr> 154*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>replace</tt></i>:</span></td> 155*7c568831SAndroid Build Coastguard Worker<td>the replacement value for the match</td> 156*7c568831SAndroid Build Coastguard Worker</tr> 157*7c568831SAndroid Build Coastguard Worker<tr> 158*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 159*7c568831SAndroid Build Coastguard Worker<td>0 if successful, -1 otherwise</td> 160*7c568831SAndroid Build Coastguard Worker</tr> 161*7c568831SAndroid Build Coastguard Worker</tbody> 162*7c568831SAndroid Build Coastguard Worker</table></div> 163*7c568831SAndroid Build Coastguard Worker</div> 164*7c568831SAndroid Build Coastguard Worker<hr> 165*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 166*7c568831SAndroid Build Coastguard Worker<h3> 167*7c568831SAndroid Build Coastguard Worker<a name="xmlACatalogDump"></a>xmlACatalogDump ()</h3> 168*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlACatalogDump (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal, <br> FILE * out)<br> 169*7c568831SAndroid Build Coastguard Worker</pre> 170*7c568831SAndroid Build Coastguard Worker<p>Dump the given catalog to the given file.</p> 171*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 172*7c568831SAndroid Build Coastguard Worker<col align="left"> 173*7c568831SAndroid Build Coastguard Worker<tbody> 174*7c568831SAndroid Build Coastguard Worker<tr> 175*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>catal</tt></i>:</span></td> 176*7c568831SAndroid Build Coastguard Worker<td>a Catalog</td> 177*7c568831SAndroid Build Coastguard Worker</tr> 178*7c568831SAndroid Build Coastguard Worker<tr> 179*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>out</tt></i>:</span></td> 180*7c568831SAndroid Build Coastguard Worker<td>the file.</td> 181*7c568831SAndroid Build Coastguard Worker</tr> 182*7c568831SAndroid Build Coastguard Worker</tbody> 183*7c568831SAndroid Build Coastguard Worker</table></div> 184*7c568831SAndroid Build Coastguard Worker</div> 185*7c568831SAndroid Build Coastguard Worker<hr> 186*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 187*7c568831SAndroid Build Coastguard Worker<h3> 188*7c568831SAndroid Build Coastguard Worker<a name="xmlACatalogRemove"></a>xmlACatalogRemove ()</h3> 189*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlACatalogRemove (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br> 190*7c568831SAndroid Build Coastguard Worker</pre> 191*7c568831SAndroid Build Coastguard Worker<p>Remove an entry from the catalog</p> 192*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 193*7c568831SAndroid Build Coastguard Worker<col align="left"> 194*7c568831SAndroid Build Coastguard Worker<tbody> 195*7c568831SAndroid Build Coastguard Worker<tr> 196*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>catal</tt></i>:</span></td> 197*7c568831SAndroid Build Coastguard Worker<td>a Catalog</td> 198*7c568831SAndroid Build Coastguard Worker</tr> 199*7c568831SAndroid Build Coastguard Worker<tr> 200*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>value</tt></i>:</span></td> 201*7c568831SAndroid Build Coastguard Worker<td>the value to remove</td> 202*7c568831SAndroid Build Coastguard Worker</tr> 203*7c568831SAndroid Build Coastguard Worker<tr> 204*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 205*7c568831SAndroid Build Coastguard Worker<td>the number of entries removed if successful, -1 otherwise</td> 206*7c568831SAndroid Build Coastguard Worker</tr> 207*7c568831SAndroid Build Coastguard Worker</tbody> 208*7c568831SAndroid Build Coastguard Worker</table></div> 209*7c568831SAndroid Build Coastguard Worker</div> 210*7c568831SAndroid Build Coastguard Worker<hr> 211*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 212*7c568831SAndroid Build Coastguard Worker<h3> 213*7c568831SAndroid Build Coastguard Worker<a name="xmlACatalogResolve"></a>xmlACatalogResolve ()</h3> 214*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlACatalogResolve (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * pubID, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * sysID)<br> 215*7c568831SAndroid Build Coastguard Worker</pre> 216*7c568831SAndroid Build Coastguard Worker<p>Do a complete resolution lookup of an External Identifier</p> 217*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 218*7c568831SAndroid Build Coastguard Worker<col align="left"> 219*7c568831SAndroid Build Coastguard Worker<tbody> 220*7c568831SAndroid Build Coastguard Worker<tr> 221*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>catal</tt></i>:</span></td> 222*7c568831SAndroid Build Coastguard Worker<td>a Catalog</td> 223*7c568831SAndroid Build Coastguard Worker</tr> 224*7c568831SAndroid Build Coastguard Worker<tr> 225*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>pubID</tt></i>:</span></td> 226*7c568831SAndroid Build Coastguard Worker<td>the public ID string</td> 227*7c568831SAndroid Build Coastguard Worker</tr> 228*7c568831SAndroid Build Coastguard Worker<tr> 229*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>sysID</tt></i>:</span></td> 230*7c568831SAndroid Build Coastguard Worker<td>the system ID string</td> 231*7c568831SAndroid Build Coastguard Worker</tr> 232*7c568831SAndroid Build Coastguard Worker<tr> 233*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 234*7c568831SAndroid Build Coastguard Worker<td>the URI of the resource or NULL if not found, it must be freed by the caller.</td> 235*7c568831SAndroid Build Coastguard Worker</tr> 236*7c568831SAndroid Build Coastguard Worker</tbody> 237*7c568831SAndroid Build Coastguard Worker</table></div> 238*7c568831SAndroid Build Coastguard Worker</div> 239*7c568831SAndroid Build Coastguard Worker<hr> 240*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 241*7c568831SAndroid Build Coastguard Worker<h3> 242*7c568831SAndroid Build Coastguard Worker<a name="xmlACatalogResolvePublic"></a>xmlACatalogResolvePublic ()</h3> 243*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlACatalogResolvePublic (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * pubID)<br> 244*7c568831SAndroid Build Coastguard Worker</pre> 245*7c568831SAndroid Build Coastguard Worker<p>Try to lookup the catalog local <a href="libxml2-SAX.html#reference">reference</a> associated to a public ID in that catalog</p> 246*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 247*7c568831SAndroid Build Coastguard Worker<col align="left"> 248*7c568831SAndroid Build Coastguard Worker<tbody> 249*7c568831SAndroid Build Coastguard Worker<tr> 250*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>catal</tt></i>:</span></td> 251*7c568831SAndroid Build Coastguard Worker<td>a Catalog</td> 252*7c568831SAndroid Build Coastguard Worker</tr> 253*7c568831SAndroid Build Coastguard Worker<tr> 254*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>pubID</tt></i>:</span></td> 255*7c568831SAndroid Build Coastguard Worker<td>the public ID string</td> 256*7c568831SAndroid Build Coastguard Worker</tr> 257*7c568831SAndroid Build Coastguard Worker<tr> 258*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 259*7c568831SAndroid Build Coastguard Worker<td>the local resource if found or NULL otherwise, the value returned must be freed by the caller.</td> 260*7c568831SAndroid Build Coastguard Worker</tr> 261*7c568831SAndroid Build Coastguard Worker</tbody> 262*7c568831SAndroid Build Coastguard Worker</table></div> 263*7c568831SAndroid Build Coastguard Worker</div> 264*7c568831SAndroid Build Coastguard Worker<hr> 265*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 266*7c568831SAndroid Build Coastguard Worker<h3> 267*7c568831SAndroid Build Coastguard Worker<a name="xmlACatalogResolveSystem"></a>xmlACatalogResolveSystem ()</h3> 268*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlACatalogResolveSystem (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * sysID)<br> 269*7c568831SAndroid Build Coastguard Worker</pre> 270*7c568831SAndroid Build Coastguard Worker<p>Try to lookup the catalog resource for a system ID</p> 271*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 272*7c568831SAndroid Build Coastguard Worker<col align="left"> 273*7c568831SAndroid Build Coastguard Worker<tbody> 274*7c568831SAndroid Build Coastguard Worker<tr> 275*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>catal</tt></i>:</span></td> 276*7c568831SAndroid Build Coastguard Worker<td>a Catalog</td> 277*7c568831SAndroid Build Coastguard Worker</tr> 278*7c568831SAndroid Build Coastguard Worker<tr> 279*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>sysID</tt></i>:</span></td> 280*7c568831SAndroid Build Coastguard Worker<td>the system ID string</td> 281*7c568831SAndroid Build Coastguard Worker</tr> 282*7c568831SAndroid Build Coastguard Worker<tr> 283*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 284*7c568831SAndroid Build Coastguard Worker<td>the resource if found or NULL otherwise, the value returned must be freed by the caller.</td> 285*7c568831SAndroid Build Coastguard Worker</tr> 286*7c568831SAndroid Build Coastguard Worker</tbody> 287*7c568831SAndroid Build Coastguard Worker</table></div> 288*7c568831SAndroid Build Coastguard Worker</div> 289*7c568831SAndroid Build Coastguard Worker<hr> 290*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 291*7c568831SAndroid Build Coastguard Worker<h3> 292*7c568831SAndroid Build Coastguard Worker<a name="xmlACatalogResolveURI"></a>xmlACatalogResolveURI ()</h3> 293*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlACatalogResolveURI (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * URI)<br> 294*7c568831SAndroid Build Coastguard Worker</pre> 295*7c568831SAndroid Build Coastguard Worker<p>Do a complete resolution lookup of an URI</p> 296*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 297*7c568831SAndroid Build Coastguard Worker<col align="left"> 298*7c568831SAndroid Build Coastguard Worker<tbody> 299*7c568831SAndroid Build Coastguard Worker<tr> 300*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>catal</tt></i>:</span></td> 301*7c568831SAndroid Build Coastguard Worker<td>a Catalog</td> 302*7c568831SAndroid Build Coastguard Worker</tr> 303*7c568831SAndroid Build Coastguard Worker<tr> 304*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>URI</tt></i>:</span></td> 305*7c568831SAndroid Build Coastguard Worker<td>the URI</td> 306*7c568831SAndroid Build Coastguard Worker</tr> 307*7c568831SAndroid Build Coastguard Worker<tr> 308*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 309*7c568831SAndroid Build Coastguard Worker<td>the URI of the resource or NULL if not found, it must be freed by the caller.</td> 310*7c568831SAndroid Build Coastguard Worker</tr> 311*7c568831SAndroid Build Coastguard Worker</tbody> 312*7c568831SAndroid Build Coastguard Worker</table></div> 313*7c568831SAndroid Build Coastguard Worker</div> 314*7c568831SAndroid Build Coastguard Worker<hr> 315*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 316*7c568831SAndroid Build Coastguard Worker<h3> 317*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogAdd"></a>xmlCatalogAdd ()</h3> 318*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlCatalogAdd (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * type, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * orig, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * replace)<br> 319*7c568831SAndroid Build Coastguard Worker</pre> 320*7c568831SAndroid Build Coastguard Worker<p>Add an entry in the catalog, it may overwrite existing but different entries. If called before any other catalog routine, allows to override the default shared catalog put in place by xmlInitializeCatalog();</p> 321*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 322*7c568831SAndroid Build Coastguard Worker<col align="left"> 323*7c568831SAndroid Build Coastguard Worker<tbody> 324*7c568831SAndroid Build Coastguard Worker<tr> 325*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>type</tt></i>:</span></td> 326*7c568831SAndroid Build Coastguard Worker<td>the type of record to add to the catalog</td> 327*7c568831SAndroid Build Coastguard Worker</tr> 328*7c568831SAndroid Build Coastguard Worker<tr> 329*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>orig</tt></i>:</span></td> 330*7c568831SAndroid Build Coastguard Worker<td>the system, public or prefix to match</td> 331*7c568831SAndroid Build Coastguard Worker</tr> 332*7c568831SAndroid Build Coastguard Worker<tr> 333*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>replace</tt></i>:</span></td> 334*7c568831SAndroid Build Coastguard Worker<td>the replacement value for the match</td> 335*7c568831SAndroid Build Coastguard Worker</tr> 336*7c568831SAndroid Build Coastguard Worker<tr> 337*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 338*7c568831SAndroid Build Coastguard Worker<td>0 if successful, -1 otherwise</td> 339*7c568831SAndroid Build Coastguard Worker</tr> 340*7c568831SAndroid Build Coastguard Worker</tbody> 341*7c568831SAndroid Build Coastguard Worker</table></div> 342*7c568831SAndroid Build Coastguard Worker</div> 343*7c568831SAndroid Build Coastguard Worker<hr> 344*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 345*7c568831SAndroid Build Coastguard Worker<h3> 346*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogAddLocal"></a>xmlCatalogAddLocal ()</h3> 347*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void * xmlCatalogAddLocal (void * catalogs, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * URL)<br> 348*7c568831SAndroid Build Coastguard Worker</pre> 349*7c568831SAndroid Build Coastguard Worker<p>Add the new entry to the catalog list</p> 350*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 351*7c568831SAndroid Build Coastguard Worker<col align="left"> 352*7c568831SAndroid Build Coastguard Worker<tbody> 353*7c568831SAndroid Build Coastguard Worker<tr> 354*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>catalogs</tt></i>:</span></td> 355*7c568831SAndroid Build Coastguard Worker<td>a document's list of catalogs</td> 356*7c568831SAndroid Build Coastguard Worker</tr> 357*7c568831SAndroid Build Coastguard Worker<tr> 358*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>URL</tt></i>:</span></td> 359*7c568831SAndroid Build Coastguard Worker<td>the URL to a new local catalog</td> 360*7c568831SAndroid Build Coastguard Worker</tr> 361*7c568831SAndroid Build Coastguard Worker<tr> 362*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 363*7c568831SAndroid Build Coastguard Worker<td>the updated list</td> 364*7c568831SAndroid Build Coastguard Worker</tr> 365*7c568831SAndroid Build Coastguard Worker</tbody> 366*7c568831SAndroid Build Coastguard Worker</table></div> 367*7c568831SAndroid Build Coastguard Worker</div> 368*7c568831SAndroid Build Coastguard Worker<hr> 369*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 370*7c568831SAndroid Build Coastguard Worker<h3> 371*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogCleanup"></a>xmlCatalogCleanup ()</h3> 372*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlCatalogCleanup (void)<br> 373*7c568831SAndroid Build Coastguard Worker</pre> 374*7c568831SAndroid Build Coastguard Worker<p>Free up all the memory associated with catalogs</p> 375*7c568831SAndroid Build Coastguard Worker</div> 376*7c568831SAndroid Build Coastguard Worker<hr> 377*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 378*7c568831SAndroid Build Coastguard Worker<h3> 379*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogConvert"></a>xmlCatalogConvert ()</h3> 380*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlCatalogConvert (void)<br> 381*7c568831SAndroid Build Coastguard Worker</pre> 382*7c568831SAndroid Build Coastguard Worker<p>Convert all the SGML catalog entries as XML ones</p> 383*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 384*7c568831SAndroid Build Coastguard Worker<col align="left"> 385*7c568831SAndroid Build Coastguard Worker<tbody><tr> 386*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 387*7c568831SAndroid Build Coastguard Worker<td>the number of entries converted if successful, -1 otherwise</td> 388*7c568831SAndroid Build Coastguard Worker</tr></tbody> 389*7c568831SAndroid Build Coastguard Worker</table></div> 390*7c568831SAndroid Build Coastguard Worker</div> 391*7c568831SAndroid Build Coastguard Worker<hr> 392*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 393*7c568831SAndroid Build Coastguard Worker<h3> 394*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogDump"></a>xmlCatalogDump ()</h3> 395*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlCatalogDump (FILE * out)<br> 396*7c568831SAndroid Build Coastguard Worker</pre> 397*7c568831SAndroid Build Coastguard Worker<p>Dump all the global catalog content to the given file.</p> 398*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 399*7c568831SAndroid Build Coastguard Worker<col align="left"> 400*7c568831SAndroid Build Coastguard Worker<tbody><tr> 401*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>out</tt></i>:</span></td> 402*7c568831SAndroid Build Coastguard Worker<td>the file.</td> 403*7c568831SAndroid Build Coastguard Worker</tr></tbody> 404*7c568831SAndroid Build Coastguard Worker</table></div> 405*7c568831SAndroid Build Coastguard Worker</div> 406*7c568831SAndroid Build Coastguard Worker<hr> 407*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 408*7c568831SAndroid Build Coastguard Worker<h3> 409*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogFreeLocal"></a>xmlCatalogFreeLocal ()</h3> 410*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlCatalogFreeLocal (void * catalogs)<br> 411*7c568831SAndroid Build Coastguard Worker</pre> 412*7c568831SAndroid Build Coastguard Worker<p>Free up the memory associated to the catalog list</p> 413*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 414*7c568831SAndroid Build Coastguard Worker<col align="left"> 415*7c568831SAndroid Build Coastguard Worker<tbody><tr> 416*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>catalogs</tt></i>:</span></td> 417*7c568831SAndroid Build Coastguard Worker<td>a document's list of catalogs</td> 418*7c568831SAndroid Build Coastguard Worker</tr></tbody> 419*7c568831SAndroid Build Coastguard Worker</table></div> 420*7c568831SAndroid Build Coastguard Worker</div> 421*7c568831SAndroid Build Coastguard Worker<hr> 422*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 423*7c568831SAndroid Build Coastguard Worker<h3> 424*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogGetDefaults"></a>xmlCatalogGetDefaults ()</h3> 425*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-catalog.html#xmlCatalogAllow">xmlCatalogAllow</a> xmlCatalogGetDefaults (void)<br> 426*7c568831SAndroid Build Coastguard Worker</pre> 427*7c568831SAndroid Build Coastguard Worker<p>Used to get the user preference w.r.t. to what catalogs should be accepted</p> 428*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 429*7c568831SAndroid Build Coastguard Worker<col align="left"> 430*7c568831SAndroid Build Coastguard Worker<tbody><tr> 431*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 432*7c568831SAndroid Build Coastguard Worker<td>the current <a href="libxml2-catalog.html#xmlCatalogAllow">xmlCatalogAllow</a> value</td> 433*7c568831SAndroid Build Coastguard Worker</tr></tbody> 434*7c568831SAndroid Build Coastguard Worker</table></div> 435*7c568831SAndroid Build Coastguard Worker</div> 436*7c568831SAndroid Build Coastguard Worker<hr> 437*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 438*7c568831SAndroid Build Coastguard Worker<h3> 439*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogGetPublic"></a>xmlCatalogGetPublic ()</h3> 440*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlCatalogGetPublic (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * pubID)<br> 441*7c568831SAndroid Build Coastguard Worker</pre> 442*7c568831SAndroid Build Coastguard Worker<p>Try to lookup the catalog <a href="libxml2-SAX.html#reference">reference</a> associated to a public ID DEPRECATED, use xmlCatalogResolvePublic()</p> 443*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 444*7c568831SAndroid Build Coastguard Worker<col align="left"> 445*7c568831SAndroid Build Coastguard Worker<tbody> 446*7c568831SAndroid Build Coastguard Worker<tr> 447*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>pubID</tt></i>:</span></td> 448*7c568831SAndroid Build Coastguard Worker<td>the public ID string</td> 449*7c568831SAndroid Build Coastguard Worker</tr> 450*7c568831SAndroid Build Coastguard Worker<tr> 451*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 452*7c568831SAndroid Build Coastguard Worker<td>the resource if found or NULL otherwise.</td> 453*7c568831SAndroid Build Coastguard Worker</tr> 454*7c568831SAndroid Build Coastguard Worker</tbody> 455*7c568831SAndroid Build Coastguard Worker</table></div> 456*7c568831SAndroid Build Coastguard Worker</div> 457*7c568831SAndroid Build Coastguard Worker<hr> 458*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 459*7c568831SAndroid Build Coastguard Worker<h3> 460*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogGetSystem"></a>xmlCatalogGetSystem ()</h3> 461*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlCatalogGetSystem (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * sysID)<br> 462*7c568831SAndroid Build Coastguard Worker</pre> 463*7c568831SAndroid Build Coastguard Worker<p>Try to lookup the catalog <a href="libxml2-SAX.html#reference">reference</a> associated to a system ID DEPRECATED, use xmlCatalogResolveSystem()</p> 464*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 465*7c568831SAndroid Build Coastguard Worker<col align="left"> 466*7c568831SAndroid Build Coastguard Worker<tbody> 467*7c568831SAndroid Build Coastguard Worker<tr> 468*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>sysID</tt></i>:</span></td> 469*7c568831SAndroid Build Coastguard Worker<td>the system ID string</td> 470*7c568831SAndroid Build Coastguard Worker</tr> 471*7c568831SAndroid Build Coastguard Worker<tr> 472*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 473*7c568831SAndroid Build Coastguard Worker<td>the resource if found or NULL otherwise.</td> 474*7c568831SAndroid Build Coastguard Worker</tr> 475*7c568831SAndroid Build Coastguard Worker</tbody> 476*7c568831SAndroid Build Coastguard Worker</table></div> 477*7c568831SAndroid Build Coastguard Worker</div> 478*7c568831SAndroid Build Coastguard Worker<hr> 479*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 480*7c568831SAndroid Build Coastguard Worker<h3> 481*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogIsEmpty"></a>xmlCatalogIsEmpty ()</h3> 482*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlCatalogIsEmpty (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal)<br> 483*7c568831SAndroid Build Coastguard Worker</pre> 484*7c568831SAndroid Build Coastguard Worker<p>Check is a catalog is empty</p> 485*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 486*7c568831SAndroid Build Coastguard Worker<col align="left"> 487*7c568831SAndroid Build Coastguard Worker<tbody> 488*7c568831SAndroid Build Coastguard Worker<tr> 489*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>catal</tt></i>:</span></td> 490*7c568831SAndroid Build Coastguard Worker<td>should this create an SGML catalog</td> 491*7c568831SAndroid Build Coastguard Worker</tr> 492*7c568831SAndroid Build Coastguard Worker<tr> 493*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 494*7c568831SAndroid Build Coastguard Worker<td>1 if the catalog is empty, 0 if not, amd -1 in case of error.</td> 495*7c568831SAndroid Build Coastguard Worker</tr> 496*7c568831SAndroid Build Coastguard Worker</tbody> 497*7c568831SAndroid Build Coastguard Worker</table></div> 498*7c568831SAndroid Build Coastguard Worker</div> 499*7c568831SAndroid Build Coastguard Worker<hr> 500*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 501*7c568831SAndroid Build Coastguard Worker<h3> 502*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogLocalResolve"></a>xmlCatalogLocalResolve ()</h3> 503*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlCatalogLocalResolve (void * catalogs, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * pubID, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * sysID)<br> 504*7c568831SAndroid Build Coastguard Worker</pre> 505*7c568831SAndroid Build Coastguard Worker<p>Do a complete resolution lookup of an External Identifier using a document's private catalog list</p> 506*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 507*7c568831SAndroid Build Coastguard Worker<col align="left"> 508*7c568831SAndroid Build Coastguard Worker<tbody> 509*7c568831SAndroid Build Coastguard Worker<tr> 510*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>catalogs</tt></i>:</span></td> 511*7c568831SAndroid Build Coastguard Worker<td>a document's list of catalogs</td> 512*7c568831SAndroid Build Coastguard Worker</tr> 513*7c568831SAndroid Build Coastguard Worker<tr> 514*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>pubID</tt></i>:</span></td> 515*7c568831SAndroid Build Coastguard Worker<td>the public ID string</td> 516*7c568831SAndroid Build Coastguard Worker</tr> 517*7c568831SAndroid Build Coastguard Worker<tr> 518*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>sysID</tt></i>:</span></td> 519*7c568831SAndroid Build Coastguard Worker<td>the system ID string</td> 520*7c568831SAndroid Build Coastguard Worker</tr> 521*7c568831SAndroid Build Coastguard Worker<tr> 522*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 523*7c568831SAndroid Build Coastguard Worker<td>the URI of the resource or NULL if not found, it must be freed by the caller.</td> 524*7c568831SAndroid Build Coastguard Worker</tr> 525*7c568831SAndroid Build Coastguard Worker</tbody> 526*7c568831SAndroid Build Coastguard Worker</table></div> 527*7c568831SAndroid Build Coastguard Worker</div> 528*7c568831SAndroid Build Coastguard Worker<hr> 529*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 530*7c568831SAndroid Build Coastguard Worker<h3> 531*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogLocalResolveURI"></a>xmlCatalogLocalResolveURI ()</h3> 532*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlCatalogLocalResolveURI (void * catalogs, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * URI)<br> 533*7c568831SAndroid Build Coastguard Worker</pre> 534*7c568831SAndroid Build Coastguard Worker<p>Do a complete resolution lookup of an URI using a document's private catalog list</p> 535*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 536*7c568831SAndroid Build Coastguard Worker<col align="left"> 537*7c568831SAndroid Build Coastguard Worker<tbody> 538*7c568831SAndroid Build Coastguard Worker<tr> 539*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>catalogs</tt></i>:</span></td> 540*7c568831SAndroid Build Coastguard Worker<td>a document's list of catalogs</td> 541*7c568831SAndroid Build Coastguard Worker</tr> 542*7c568831SAndroid Build Coastguard Worker<tr> 543*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>URI</tt></i>:</span></td> 544*7c568831SAndroid Build Coastguard Worker<td>the URI</td> 545*7c568831SAndroid Build Coastguard Worker</tr> 546*7c568831SAndroid Build Coastguard Worker<tr> 547*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 548*7c568831SAndroid Build Coastguard Worker<td>the URI of the resource or NULL if not found, it must be freed by the caller.</td> 549*7c568831SAndroid Build Coastguard Worker</tr> 550*7c568831SAndroid Build Coastguard Worker</tbody> 551*7c568831SAndroid Build Coastguard Worker</table></div> 552*7c568831SAndroid Build Coastguard Worker</div> 553*7c568831SAndroid Build Coastguard Worker<hr> 554*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 555*7c568831SAndroid Build Coastguard Worker<h3> 556*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogRemove"></a>xmlCatalogRemove ()</h3> 557*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlCatalogRemove (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br> 558*7c568831SAndroid Build Coastguard Worker</pre> 559*7c568831SAndroid Build Coastguard Worker<p>Remove an entry from the catalog</p> 560*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 561*7c568831SAndroid Build Coastguard Worker<col align="left"> 562*7c568831SAndroid Build Coastguard Worker<tbody> 563*7c568831SAndroid Build Coastguard Worker<tr> 564*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>value</tt></i>:</span></td> 565*7c568831SAndroid Build Coastguard Worker<td>the value to remove</td> 566*7c568831SAndroid Build Coastguard Worker</tr> 567*7c568831SAndroid Build Coastguard Worker<tr> 568*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 569*7c568831SAndroid Build Coastguard Worker<td>the number of entries removed if successful, -1 otherwise</td> 570*7c568831SAndroid Build Coastguard Worker</tr> 571*7c568831SAndroid Build Coastguard Worker</tbody> 572*7c568831SAndroid Build Coastguard Worker</table></div> 573*7c568831SAndroid Build Coastguard Worker</div> 574*7c568831SAndroid Build Coastguard Worker<hr> 575*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 576*7c568831SAndroid Build Coastguard Worker<h3> 577*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogResolve"></a>xmlCatalogResolve ()</h3> 578*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlCatalogResolve (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * pubID, <br> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * sysID)<br> 579*7c568831SAndroid Build Coastguard Worker</pre> 580*7c568831SAndroid Build Coastguard Worker<p>Do a complete resolution lookup of an External Identifier</p> 581*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 582*7c568831SAndroid Build Coastguard Worker<col align="left"> 583*7c568831SAndroid Build Coastguard Worker<tbody> 584*7c568831SAndroid Build Coastguard Worker<tr> 585*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>pubID</tt></i>:</span></td> 586*7c568831SAndroid Build Coastguard Worker<td>the public ID string</td> 587*7c568831SAndroid Build Coastguard Worker</tr> 588*7c568831SAndroid Build Coastguard Worker<tr> 589*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>sysID</tt></i>:</span></td> 590*7c568831SAndroid Build Coastguard Worker<td>the system ID string</td> 591*7c568831SAndroid Build Coastguard Worker</tr> 592*7c568831SAndroid Build Coastguard Worker<tr> 593*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 594*7c568831SAndroid Build Coastguard Worker<td>the URI of the resource or NULL if not found, it must be freed by the caller.</td> 595*7c568831SAndroid Build Coastguard Worker</tr> 596*7c568831SAndroid Build Coastguard Worker</tbody> 597*7c568831SAndroid Build Coastguard Worker</table></div> 598*7c568831SAndroid Build Coastguard Worker</div> 599*7c568831SAndroid Build Coastguard Worker<hr> 600*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 601*7c568831SAndroid Build Coastguard Worker<h3> 602*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogResolvePublic"></a>xmlCatalogResolvePublic ()</h3> 603*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlCatalogResolvePublic (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * pubID)<br> 604*7c568831SAndroid Build Coastguard Worker</pre> 605*7c568831SAndroid Build Coastguard Worker<p>Try to lookup the catalog <a href="libxml2-SAX.html#reference">reference</a> associated to a public ID</p> 606*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 607*7c568831SAndroid Build Coastguard Worker<col align="left"> 608*7c568831SAndroid Build Coastguard Worker<tbody> 609*7c568831SAndroid Build Coastguard Worker<tr> 610*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>pubID</tt></i>:</span></td> 611*7c568831SAndroid Build Coastguard Worker<td>the public ID string</td> 612*7c568831SAndroid Build Coastguard Worker</tr> 613*7c568831SAndroid Build Coastguard Worker<tr> 614*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 615*7c568831SAndroid Build Coastguard Worker<td>the resource if found or NULL otherwise, the value returned must be freed by the caller.</td> 616*7c568831SAndroid Build Coastguard Worker</tr> 617*7c568831SAndroid Build Coastguard Worker</tbody> 618*7c568831SAndroid Build Coastguard Worker</table></div> 619*7c568831SAndroid Build Coastguard Worker</div> 620*7c568831SAndroid Build Coastguard Worker<hr> 621*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 622*7c568831SAndroid Build Coastguard Worker<h3> 623*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogResolveSystem"></a>xmlCatalogResolveSystem ()</h3> 624*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlCatalogResolveSystem (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * sysID)<br> 625*7c568831SAndroid Build Coastguard Worker</pre> 626*7c568831SAndroid Build Coastguard Worker<p>Try to lookup the catalog resource for a system ID</p> 627*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 628*7c568831SAndroid Build Coastguard Worker<col align="left"> 629*7c568831SAndroid Build Coastguard Worker<tbody> 630*7c568831SAndroid Build Coastguard Worker<tr> 631*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>sysID</tt></i>:</span></td> 632*7c568831SAndroid Build Coastguard Worker<td>the system ID string</td> 633*7c568831SAndroid Build Coastguard Worker</tr> 634*7c568831SAndroid Build Coastguard Worker<tr> 635*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 636*7c568831SAndroid Build Coastguard Worker<td>the resource if found or NULL otherwise, the value returned must be freed by the caller.</td> 637*7c568831SAndroid Build Coastguard Worker</tr> 638*7c568831SAndroid Build Coastguard Worker</tbody> 639*7c568831SAndroid Build Coastguard Worker</table></div> 640*7c568831SAndroid Build Coastguard Worker</div> 641*7c568831SAndroid Build Coastguard Worker<hr> 642*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 643*7c568831SAndroid Build Coastguard Worker<h3> 644*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogResolveURI"></a>xmlCatalogResolveURI ()</h3> 645*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlCatalogResolveURI (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * URI)<br> 646*7c568831SAndroid Build Coastguard Worker</pre> 647*7c568831SAndroid Build Coastguard Worker<p>Do a complete resolution lookup of an URI</p> 648*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 649*7c568831SAndroid Build Coastguard Worker<col align="left"> 650*7c568831SAndroid Build Coastguard Worker<tbody> 651*7c568831SAndroid Build Coastguard Worker<tr> 652*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>URI</tt></i>:</span></td> 653*7c568831SAndroid Build Coastguard Worker<td>the URI</td> 654*7c568831SAndroid Build Coastguard Worker</tr> 655*7c568831SAndroid Build Coastguard Worker<tr> 656*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 657*7c568831SAndroid Build Coastguard Worker<td>the URI of the resource or NULL if not found, it must be freed by the caller.</td> 658*7c568831SAndroid Build Coastguard Worker</tr> 659*7c568831SAndroid Build Coastguard Worker</tbody> 660*7c568831SAndroid Build Coastguard Worker</table></div> 661*7c568831SAndroid Build Coastguard Worker</div> 662*7c568831SAndroid Build Coastguard Worker<hr> 663*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 664*7c568831SAndroid Build Coastguard Worker<h3> 665*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogSetDebug"></a>xmlCatalogSetDebug ()</h3> 666*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlCatalogSetDebug (int level)<br> 667*7c568831SAndroid Build Coastguard Worker</pre> 668*7c568831SAndroid Build Coastguard Worker<p>Used to set the debug level for catalog operation, 0 disable debugging, 1 enable it</p> 669*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 670*7c568831SAndroid Build Coastguard Worker<col align="left"> 671*7c568831SAndroid Build Coastguard Worker<tbody> 672*7c568831SAndroid Build Coastguard Worker<tr> 673*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>level</tt></i>:</span></td> 674*7c568831SAndroid Build Coastguard Worker<td>the debug level of catalogs required</td> 675*7c568831SAndroid Build Coastguard Worker</tr> 676*7c568831SAndroid Build Coastguard Worker<tr> 677*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 678*7c568831SAndroid Build Coastguard Worker<td>the previous value of the catalog debugging level</td> 679*7c568831SAndroid Build Coastguard Worker</tr> 680*7c568831SAndroid Build Coastguard Worker</tbody> 681*7c568831SAndroid Build Coastguard Worker</table></div> 682*7c568831SAndroid Build Coastguard Worker</div> 683*7c568831SAndroid Build Coastguard Worker<hr> 684*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 685*7c568831SAndroid Build Coastguard Worker<h3> 686*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogSetDefaultPrefer"></a>xmlCatalogSetDefaultPrefer ()</h3> 687*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-catalog.html#xmlCatalogPrefer">xmlCatalogPrefer</a> xmlCatalogSetDefaultPrefer (<a href="libxml2-catalog.html#xmlCatalogPrefer">xmlCatalogPrefer</a> prefer)<br> 688*7c568831SAndroid Build Coastguard Worker</pre> 689*7c568831SAndroid Build Coastguard Worker<p>Allows to set the preference between public and system for deletion in XML Catalog resolution. C.f. section 4.1.1 of the spec Values accepted are <a href="libxml2-catalog.html#XML_CATA_PREFER_PUBLIC">XML_CATA_PREFER_PUBLIC</a> or <a href="libxml2-catalog.html#XML_CATA_PREFER_SYSTEM">XML_CATA_PREFER_SYSTEM</a></p> 690*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 691*7c568831SAndroid Build Coastguard Worker<col align="left"> 692*7c568831SAndroid Build Coastguard Worker<tbody> 693*7c568831SAndroid Build Coastguard Worker<tr> 694*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>prefer</tt></i>:</span></td> 695*7c568831SAndroid Build Coastguard Worker<td>the default preference for delegation</td> 696*7c568831SAndroid Build Coastguard Worker</tr> 697*7c568831SAndroid Build Coastguard Worker<tr> 698*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 699*7c568831SAndroid Build Coastguard Worker<td>the previous value of the default preference for delegation</td> 700*7c568831SAndroid Build Coastguard Worker</tr> 701*7c568831SAndroid Build Coastguard Worker</tbody> 702*7c568831SAndroid Build Coastguard Worker</table></div> 703*7c568831SAndroid Build Coastguard Worker</div> 704*7c568831SAndroid Build Coastguard Worker<hr> 705*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 706*7c568831SAndroid Build Coastguard Worker<h3> 707*7c568831SAndroid Build Coastguard Worker<a name="xmlCatalogSetDefaults"></a>xmlCatalogSetDefaults ()</h3> 708*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlCatalogSetDefaults (<a href="libxml2-catalog.html#xmlCatalogAllow">xmlCatalogAllow</a> allow)<br> 709*7c568831SAndroid Build Coastguard Worker</pre> 710*7c568831SAndroid Build Coastguard Worker<p>Used to set the user preference w.r.t. to what catalogs should be accepted</p> 711*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 712*7c568831SAndroid Build Coastguard Worker<col align="left"> 713*7c568831SAndroid Build Coastguard Worker<tbody><tr> 714*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>allow</tt></i>:</span></td> 715*7c568831SAndroid Build Coastguard Worker<td>what catalogs should be accepted</td> 716*7c568831SAndroid Build Coastguard Worker</tr></tbody> 717*7c568831SAndroid Build Coastguard Worker</table></div> 718*7c568831SAndroid Build Coastguard Worker</div> 719*7c568831SAndroid Build Coastguard Worker<hr> 720*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 721*7c568831SAndroid Build Coastguard Worker<h3> 722*7c568831SAndroid Build Coastguard Worker<a name="xmlConvertSGMLCatalog"></a>xmlConvertSGMLCatalog ()</h3> 723*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlConvertSGMLCatalog (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal)<br> 724*7c568831SAndroid Build Coastguard Worker</pre> 725*7c568831SAndroid Build Coastguard Worker<p>Convert all the SGML catalog entries as XML ones</p> 726*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 727*7c568831SAndroid Build Coastguard Worker<col align="left"> 728*7c568831SAndroid Build Coastguard Worker<tbody> 729*7c568831SAndroid Build Coastguard Worker<tr> 730*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>catal</tt></i>:</span></td> 731*7c568831SAndroid Build Coastguard Worker<td>the catalog</td> 732*7c568831SAndroid Build Coastguard Worker</tr> 733*7c568831SAndroid Build Coastguard Worker<tr> 734*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 735*7c568831SAndroid Build Coastguard Worker<td>the number of entries converted if successful, -1 otherwise</td> 736*7c568831SAndroid Build Coastguard Worker</tr> 737*7c568831SAndroid Build Coastguard Worker</tbody> 738*7c568831SAndroid Build Coastguard Worker</table></div> 739*7c568831SAndroid Build Coastguard Worker</div> 740*7c568831SAndroid Build Coastguard Worker<hr> 741*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 742*7c568831SAndroid Build Coastguard Worker<h3> 743*7c568831SAndroid Build Coastguard Worker<a name="xmlFreeCatalog"></a>xmlFreeCatalog ()</h3> 744*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlFreeCatalog (<a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> catal)<br> 745*7c568831SAndroid Build Coastguard Worker</pre> 746*7c568831SAndroid Build Coastguard Worker<p>Free the memory allocated to a Catalog</p> 747*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 748*7c568831SAndroid Build Coastguard Worker<col align="left"> 749*7c568831SAndroid Build Coastguard Worker<tbody><tr> 750*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>catal</tt></i>:</span></td> 751*7c568831SAndroid Build Coastguard Worker<td>a Catalog</td> 752*7c568831SAndroid Build Coastguard Worker</tr></tbody> 753*7c568831SAndroid Build Coastguard Worker</table></div> 754*7c568831SAndroid Build Coastguard Worker</div> 755*7c568831SAndroid Build Coastguard Worker<hr> 756*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 757*7c568831SAndroid Build Coastguard Worker<h3> 758*7c568831SAndroid Build Coastguard Worker<a name="xmlInitializeCatalog"></a>xmlInitializeCatalog ()</h3> 759*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlInitializeCatalog (void)<br> 760*7c568831SAndroid Build Coastguard Worker</pre> 761*7c568831SAndroid Build Coastguard Worker<p>Do the catalog initialization. this function is not thread safe, catalog initialization should preferably be done once at startup</p> 762*7c568831SAndroid Build Coastguard Worker</div> 763*7c568831SAndroid Build Coastguard Worker<hr> 764*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 765*7c568831SAndroid Build Coastguard Worker<h3> 766*7c568831SAndroid Build Coastguard Worker<a name="xmlLoadACatalog"></a>xmlLoadACatalog ()</h3> 767*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> xmlLoadACatalog (const char * filename)<br> 768*7c568831SAndroid Build Coastguard Worker</pre> 769*7c568831SAndroid Build Coastguard Worker<p>Load the catalog and build the associated data structures. This can be either an XML Catalog or an SGML Catalog It will recurse in SGML CATALOG entries. On the other hand XML Catalogs are not handled recursively.</p> 770*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 771*7c568831SAndroid Build Coastguard Worker<col align="left"> 772*7c568831SAndroid Build Coastguard Worker<tbody> 773*7c568831SAndroid Build Coastguard Worker<tr> 774*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>filename</tt></i>:</span></td> 775*7c568831SAndroid Build Coastguard Worker<td>a file path</td> 776*7c568831SAndroid Build Coastguard Worker</tr> 777*7c568831SAndroid Build Coastguard Worker<tr> 778*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 779*7c568831SAndroid Build Coastguard Worker<td>the catalog parsed or NULL in case of error</td> 780*7c568831SAndroid Build Coastguard Worker</tr> 781*7c568831SAndroid Build Coastguard Worker</tbody> 782*7c568831SAndroid Build Coastguard Worker</table></div> 783*7c568831SAndroid Build Coastguard Worker</div> 784*7c568831SAndroid Build Coastguard Worker<hr> 785*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 786*7c568831SAndroid Build Coastguard Worker<h3> 787*7c568831SAndroid Build Coastguard Worker<a name="xmlLoadCatalog"></a>xmlLoadCatalog ()</h3> 788*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">int xmlLoadCatalog (const char * filename)<br> 789*7c568831SAndroid Build Coastguard Worker</pre> 790*7c568831SAndroid Build Coastguard Worker<p>Load the catalog and makes its definitions effective for the default external entity loader. It will recurse in SGML CATALOG entries. this function is not thread safe, catalog initialization should preferably be done once at startup</p> 791*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 792*7c568831SAndroid Build Coastguard Worker<col align="left"> 793*7c568831SAndroid Build Coastguard Worker<tbody> 794*7c568831SAndroid Build Coastguard Worker<tr> 795*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>filename</tt></i>:</span></td> 796*7c568831SAndroid Build Coastguard Worker<td>a file path</td> 797*7c568831SAndroid Build Coastguard Worker</tr> 798*7c568831SAndroid Build Coastguard Worker<tr> 799*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 800*7c568831SAndroid Build Coastguard Worker<td>0 in case of success -1 in case of error</td> 801*7c568831SAndroid Build Coastguard Worker</tr> 802*7c568831SAndroid Build Coastguard Worker</tbody> 803*7c568831SAndroid Build Coastguard Worker</table></div> 804*7c568831SAndroid Build Coastguard Worker</div> 805*7c568831SAndroid Build Coastguard Worker<hr> 806*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 807*7c568831SAndroid Build Coastguard Worker<h3> 808*7c568831SAndroid Build Coastguard Worker<a name="xmlLoadCatalogs"></a>xmlLoadCatalogs ()</h3> 809*7c568831SAndroid Build Coastguard Worker<pre class="programlisting">void xmlLoadCatalogs (const char * pathss)<br> 810*7c568831SAndroid Build Coastguard Worker</pre> 811*7c568831SAndroid Build Coastguard Worker<p>Load the catalogs and makes their definitions effective for the default external entity loader. this function is not thread safe, catalog initialization should preferably be done once at startup</p> 812*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 813*7c568831SAndroid Build Coastguard Worker<col align="left"> 814*7c568831SAndroid Build Coastguard Worker<tbody><tr> 815*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>pathss</tt></i>:</span></td> 816*7c568831SAndroid Build Coastguard Worker<td>a list of directories separated by a colon or a space.</td> 817*7c568831SAndroid Build Coastguard Worker</tr></tbody> 818*7c568831SAndroid Build Coastguard Worker</table></div> 819*7c568831SAndroid Build Coastguard Worker</div> 820*7c568831SAndroid Build Coastguard Worker<hr> 821*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 822*7c568831SAndroid Build Coastguard Worker<h3> 823*7c568831SAndroid Build Coastguard Worker<a name="xmlLoadSGMLSuperCatalog"></a>xmlLoadSGMLSuperCatalog ()</h3> 824*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> xmlLoadSGMLSuperCatalog (const char * filename)<br> 825*7c568831SAndroid Build Coastguard Worker</pre> 826*7c568831SAndroid Build Coastguard Worker<p>Load an SGML super catalog. It won't expand CATALOG or DELEGATE references. This is only needed for manipulating SGML Super Catalogs like adding and removing CATALOG or DELEGATE entries.</p> 827*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 828*7c568831SAndroid Build Coastguard Worker<col align="left"> 829*7c568831SAndroid Build Coastguard Worker<tbody> 830*7c568831SAndroid Build Coastguard Worker<tr> 831*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>filename</tt></i>:</span></td> 832*7c568831SAndroid Build Coastguard Worker<td>a file path</td> 833*7c568831SAndroid Build Coastguard Worker</tr> 834*7c568831SAndroid Build Coastguard Worker<tr> 835*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 836*7c568831SAndroid Build Coastguard Worker<td>the catalog parsed or NULL in case of error</td> 837*7c568831SAndroid Build Coastguard Worker</tr> 838*7c568831SAndroid Build Coastguard Worker</tbody> 839*7c568831SAndroid Build Coastguard Worker</table></div> 840*7c568831SAndroid Build Coastguard Worker</div> 841*7c568831SAndroid Build Coastguard Worker<hr> 842*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 843*7c568831SAndroid Build Coastguard Worker<h3> 844*7c568831SAndroid Build Coastguard Worker<a name="xmlNewCatalog"></a>xmlNewCatalog ()</h3> 845*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> xmlNewCatalog (int sgml)<br> 846*7c568831SAndroid Build Coastguard Worker</pre> 847*7c568831SAndroid Build Coastguard Worker<p>create a new Catalog.</p> 848*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 849*7c568831SAndroid Build Coastguard Worker<col align="left"> 850*7c568831SAndroid Build Coastguard Worker<tbody> 851*7c568831SAndroid Build Coastguard Worker<tr> 852*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>sgml</tt></i>:</span></td> 853*7c568831SAndroid Build Coastguard Worker<td>should this create an SGML catalog</td> 854*7c568831SAndroid Build Coastguard Worker</tr> 855*7c568831SAndroid Build Coastguard Worker<tr> 856*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 857*7c568831SAndroid Build Coastguard Worker<td>the <a href="libxml2-catalog.html#xmlCatalogPtr">xmlCatalogPtr</a> or NULL in case of error</td> 858*7c568831SAndroid Build Coastguard Worker</tr> 859*7c568831SAndroid Build Coastguard Worker</tbody> 860*7c568831SAndroid Build Coastguard Worker</table></div> 861*7c568831SAndroid Build Coastguard Worker</div> 862*7c568831SAndroid Build Coastguard Worker<hr> 863*7c568831SAndroid Build Coastguard Worker<div class="refsect2" lang="en"> 864*7c568831SAndroid Build Coastguard Worker<h3> 865*7c568831SAndroid Build Coastguard Worker<a name="xmlParseCatalogFile"></a>xmlParseCatalogFile ()</h3> 866*7c568831SAndroid Build Coastguard Worker<pre class="programlisting"><a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> xmlParseCatalogFile (const char * filename)<br> 867*7c568831SAndroid Build Coastguard Worker</pre> 868*7c568831SAndroid Build Coastguard Worker<p>parse an XML file and build a tree. It's like xmlParseFile() except it bypass all catalog lookups.</p> 869*7c568831SAndroid Build Coastguard Worker<div class="variablelist"><table border="0"> 870*7c568831SAndroid Build Coastguard Worker<col align="left"> 871*7c568831SAndroid Build Coastguard Worker<tbody> 872*7c568831SAndroid Build Coastguard Worker<tr> 873*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>filename</tt></i>:</span></td> 874*7c568831SAndroid Build Coastguard Worker<td>the filename</td> 875*7c568831SAndroid Build Coastguard Worker</tr> 876*7c568831SAndroid Build Coastguard Worker<tr> 877*7c568831SAndroid Build Coastguard Worker<td><span class="term"><i><tt>Returns</tt></i>:</span></td> 878*7c568831SAndroid Build Coastguard Worker<td>the resulting document tree or NULL in case of error</td> 879*7c568831SAndroid Build Coastguard Worker</tr> 880*7c568831SAndroid Build Coastguard Worker</tbody> 881*7c568831SAndroid Build Coastguard Worker</table></div> 882*7c568831SAndroid Build Coastguard Worker</div> 883*7c568831SAndroid Build Coastguard Worker<hr> 884*7c568831SAndroid Build Coastguard Worker</div> 885*7c568831SAndroid Build Coastguard Worker</div> 886*7c568831SAndroid Build Coastguard Worker</body> 887*7c568831SAndroid Build Coastguard Worker</html> 888