7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
10 TITLE="Gnome XML Library Reference Manual"
11 HREF="book1.html"><LINK
13 TITLE="Libxml Library Reference"
14 HREF="libxml-lib.html"><LINK
17 HREF="libxml-xmlio.html"><LINK
20 HREF="libxml-c14n.html"></HEAD
43 >Gnome XML Library Reference Manual</FONT
52 HREF="libxml-xmlio.html"
57 ><<< Previous Page</B
90 HREF="libxml-lib.html"
106 HREF="libxml-c14n.html"
111 >Next Page >>></B
120 NAME="LIBXML-CATALOG">catalog</H1
128 >catalog -- </DIV
130 CLASS="REFSYNOPSISDIV"
146 HREF="libxml-catalog.html#XML-CATALOGS-NAMESPACE-CAPS"
147 >XML_CATALOGS_NAMESPACE</A
150 HREF="libxml-catalog.html#XML-CATALOG-PI-CAPS"
154 HREF="libxml-catalog.html#XMLCATALOGPREFER"
158 HREF="libxml-catalog.html#XMLCATALOGALLOW"
162 HREF="libxml-catalog.html#XMLCATALOG"
166 HREF="libxml-catalog.html#XMLCATALOGPTR"
170 HREF="libxml-catalog.html#XMLCATALOGPTR"
173 HREF="libxml-catalog.html#XMLNEWCATALOG"
177 HREF="libxml-catalog.html#XMLCATALOGPTR"
180 HREF="libxml-catalog.html#XMLLOADACATALOG"
182 > (const char *filename);
184 HREF="libxml-catalog.html#XMLCATALOGPTR"
187 HREF="libxml-catalog.html#XMLLOADSGMLSUPERCATALOG"
188 >xmlLoadSGMLSuperCatalog</A
189 > (const char *filename);
191 HREF="libxml-catalog.html#XMLCONVERTSGMLCATALOG"
192 >xmlConvertSGMLCatalog</A
194 HREF="libxml-catalog.html#XMLCATALOGPTR"
198 HREF="libxml-catalog.html#XMLACATALOGADD"
201 HREF="libxml-catalog.html#XMLCATALOGPTR"
205 HREF="libxml-tree.html#XMLCHAR"
209 HREF="libxml-tree.html#XMLCHAR"
213 HREF="libxml-tree.html#XMLCHAR"
217 HREF="libxml-catalog.html#XMLACATALOGREMOVE"
218 >xmlACatalogRemove</A
220 HREF="libxml-catalog.html#XMLCATALOGPTR"
224 HREF="libxml-tree.html#XMLCHAR"
228 HREF="libxml-tree.html#XMLCHAR"
231 HREF="libxml-catalog.html#XMLACATALOGRESOLVE"
232 >xmlACatalogResolve</A
234 HREF="libxml-catalog.html#XMLCATALOGPTR"
238 HREF="libxml-tree.html#XMLCHAR"
242 HREF="libxml-tree.html#XMLCHAR"
246 HREF="libxml-tree.html#XMLCHAR"
249 HREF="libxml-catalog.html#XMLACATALOGRESOLVESYSTEM"
250 >xmlACatalogResolveSystem</A
252 HREF="libxml-catalog.html#XMLCATALOGPTR"
256 HREF="libxml-tree.html#XMLCHAR"
260 HREF="libxml-tree.html#XMLCHAR"
263 HREF="libxml-catalog.html#XMLACATALOGRESOLVEPUBLIC"
264 >xmlACatalogResolvePublic</A
266 HREF="libxml-catalog.html#XMLCATALOGPTR"
270 HREF="libxml-tree.html#XMLCHAR"
274 HREF="libxml-tree.html#XMLCHAR"
277 HREF="libxml-catalog.html#XMLACATALOGRESOLVEURI"
278 >xmlACatalogResolveURI</A
280 HREF="libxml-catalog.html#XMLCATALOGPTR"
284 HREF="libxml-tree.html#XMLCHAR"
288 HREF="libxml-catalog.html#XMLACATALOGDUMP"
291 HREF="libxml-catalog.html#XMLCATALOGPTR"
299 HREF="libxml-catalog.html#XMLFREECATALOG"
302 HREF="libxml-catalog.html#XMLCATALOGPTR"
306 HREF="libxml-catalog.html#XMLCATALOGISEMPTY"
307 >xmlCatalogIsEmpty</A
309 HREF="libxml-catalog.html#XMLCATALOGPTR"
313 HREF="libxml-catalog.html#XMLINITIALIZECATALOG"
314 >xmlInitializeCatalog</A
317 HREF="libxml-catalog.html#XMLLOADCATALOG"
319 > (const char *filename);
321 HREF="libxml-catalog.html#XMLLOADCATALOGS"
323 > (const char *paths);
325 HREF="libxml-catalog.html#XMLCATALOGCLEANUP"
326 >xmlCatalogCleanup</A
329 HREF="libxml-catalog.html#XMLCATALOGDUMP"
336 HREF="libxml-tree.html#XMLCHAR"
339 HREF="libxml-catalog.html#XMLCATALOGRESOLVE"
340 >xmlCatalogResolve</A
342 HREF="libxml-tree.html#XMLCHAR"
346 HREF="libxml-tree.html#XMLCHAR"
350 HREF="libxml-tree.html#XMLCHAR"
353 HREF="libxml-catalog.html#XMLCATALOGRESOLVESYSTEM"
354 >xmlCatalogResolveSystem</A
356 HREF="libxml-tree.html#XMLCHAR"
360 HREF="libxml-tree.html#XMLCHAR"
363 HREF="libxml-catalog.html#XMLCATALOGRESOLVEPUBLIC"
364 >xmlCatalogResolvePublic</A
366 HREF="libxml-tree.html#XMLCHAR"
370 HREF="libxml-tree.html#XMLCHAR"
373 HREF="libxml-catalog.html#XMLCATALOGRESOLVEURI"
374 >xmlCatalogResolveURI</A
376 HREF="libxml-tree.html#XMLCHAR"
380 HREF="libxml-catalog.html#XMLCATALOGADD"
383 HREF="libxml-tree.html#XMLCHAR"
387 HREF="libxml-tree.html#XMLCHAR"
391 HREF="libxml-tree.html#XMLCHAR"
395 HREF="libxml-catalog.html#XMLCATALOGREMOVE"
398 HREF="libxml-tree.html#XMLCHAR"
402 HREF="libxml-tree.html#XMLDOCPTR"
405 HREF="libxml-catalog.html#XMLPARSECATALOGFILE"
406 >xmlParseCatalogFile</A
407 > (const char *filename);
409 HREF="libxml-catalog.html#XMLCATALOGCONVERT"
410 >xmlCatalogConvert</A
413 HREF="libxml-catalog.html#XMLCATALOGFREELOCAL"
414 >xmlCatalogFreeLocal</A
417 HREF="libxml-catalog.html#XMLCATALOGADDLOCAL"
418 >xmlCatalogAddLocal</A
421 HREF="libxml-tree.html#XMLCHAR"
425 HREF="libxml-tree.html#XMLCHAR"
428 HREF="libxml-catalog.html#XMLCATALOGLOCALRESOLVE"
429 >xmlCatalogLocalResolve</A
432 HREF="libxml-tree.html#XMLCHAR"
436 HREF="libxml-tree.html#XMLCHAR"
440 HREF="libxml-tree.html#XMLCHAR"
443 HREF="libxml-catalog.html#XMLCATALOGLOCALRESOLVEURI"
444 >xmlCatalogLocalResolveURI</A
447 HREF="libxml-tree.html#XMLCHAR"
451 HREF="libxml-catalog.html#XMLCATALOGSETDEBUG"
452 >xmlCatalogSetDebug</A
455 HREF="libxml-catalog.html#XMLCATALOGPREFER"
458 HREF="libxml-catalog.html#XMLCATALOGSETDEFAULTPREFER"
459 >xmlCatalogSetDefaultPrefer</A
461 HREF="libxml-catalog.html#XMLCATALOGPREFER"
465 HREF="libxml-catalog.html#XMLCATALOGSETDEFAULTS"
466 >xmlCatalogSetDefaults</A
468 HREF="libxml-catalog.html#XMLCATALOGALLOW"
472 HREF="libxml-catalog.html#XMLCATALOGALLOW"
475 HREF="libxml-catalog.html#XMLCATALOGGETDEFAULTS"
476 >xmlCatalogGetDefaults</A
479 HREF="libxml-tree.html#XMLCHAR"
482 HREF="libxml-catalog.html#XMLCATALOGGETSYSTEM"
483 >xmlCatalogGetSystem</A
485 HREF="libxml-tree.html#XMLCHAR"
489 HREF="libxml-tree.html#XMLCHAR"
492 HREF="libxml-catalog.html#XMLCATALOGGETPUBLIC"
493 >xmlCatalogGetPublic</A
495 HREF="libxml-tree.html#XMLCHAR"
526 NAME="XML-CATALOGS-NAMESPACE-CAPS"
528 >XML_CATALOGS_NAMESPACE</H3
537 CLASS="PROGRAMLISTING"
538 >#define XML_CATALOGS_NAMESPACE</PRE
543 >The namespace for the XML Catalogs elements.</P
554 NAME="XML-CATALOG-PI-CAPS"
565 CLASS="PROGRAMLISTING"
566 >#define XML_CATALOG_PI</PRE
571 >The specific XML Catalog Processing Instuction name.</P
582 NAME="XMLCATALOGPREFER"
584 >enum xmlCatalogPrefer</H3
593 CLASS="PROGRAMLISTING"
595 XML_CATA_PREFER_NONE = 0,
596 XML_CATA_PREFER_PUBLIC = 1,
597 XML_CATA_PREFER_SYSTEM
598 } xmlCatalogPrefer;</PRE
612 NAME="XMLCATALOGALLOW"
614 >enum xmlCatalogAllow</H3
623 CLASS="PROGRAMLISTING"
625 XML_CATA_ALLOW_NONE = 0,
626 XML_CATA_ALLOW_GLOBAL = 1,
627 XML_CATA_ALLOW_DOCUMENT = 2,
628 XML_CATA_ALLOW_ALL = 3
629 } xmlCatalogAllow;</PRE
645 >struct xmlCatalog</H3
654 CLASS="PROGRAMLISTING"
655 >struct xmlCatalog;</PRE
680 CLASS="PROGRAMLISTING"
681 >typedef xmlCatalog *xmlCatalogPtr;</PRE
697 >xmlNewCatalog ()</H3
706 CLASS="PROGRAMLISTING"
708 HREF="libxml-catalog.html#XMLCATALOGPTR"
710 > xmlNewCatalog (int sgml);</PRE
715 >create a new Catalog.</P
719 CLASS="INFORMALTABLE"
746 > should this create an SGML catalog</TD
764 >the xmlCatalogPtr or NULL in case of error</TD
779 NAME="XMLLOADACATALOG"
781 >xmlLoadACatalog ()</H3
790 CLASS="PROGRAMLISTING"
792 HREF="libxml-catalog.html#XMLCATALOGPTR"
794 > xmlLoadACatalog (const char *filename);</PRE
799 >Load the catalog and build the associated data structures.
800 This can be either an XML Catalog or an SGML Catalog
801 It will recurse in SGML CATALOG entries. On the other hand XML
802 Catalogs are not handled recursively.</P
806 CLASS="INFORMALTABLE"
851 >the catalog parsed or NULL in case of error</TD
866 NAME="XMLLOADSGMLSUPERCATALOG"
868 >xmlLoadSGMLSuperCatalog ()</H3
877 CLASS="PROGRAMLISTING"
879 HREF="libxml-catalog.html#XMLCATALOGPTR"
881 > xmlLoadSGMLSuperCatalog (const char *filename);</PRE
886 >Load an SGML super catalog. It won't expand CATALOG or DELEGATE
887 references. This is only needed for manipulating SGML Super Catalogs
888 like adding and removing CATALOG or DELEGATE entries.</P
892 CLASS="INFORMALTABLE"
937 >the catalog parsed or NULL in case of error</TD
952 NAME="XMLCONVERTSGMLCATALOG"
954 >xmlConvertSGMLCatalog ()</H3
963 CLASS="PROGRAMLISTING"
964 >int xmlConvertSGMLCatalog (<A
965 HREF="libxml-catalog.html#XMLCATALOGPTR"
972 >Convert all the SGML catalog entries as XML ones</P
976 CLASS="INFORMALTABLE"
1021 >the number of entries converted if successful, -1 otherwise</TD
1036 NAME="XMLACATALOGADD"
1038 >xmlACatalogAdd ()</H3
1047 CLASS="PROGRAMLISTING"
1048 >int xmlACatalogAdd (<A
1049 HREF="libxml-catalog.html#XMLCATALOGPTR"
1053 HREF="libxml-tree.html#XMLCHAR"
1057 HREF="libxml-tree.html#XMLCHAR"
1061 HREF="libxml-tree.html#XMLCHAR"
1068 >Add an entry in the catalog, it may overwrite existing but
1069 different entries.</P
1073 CLASS="INFORMALTABLE"
1117 > the type of record to add to the catalog</TD
1134 > the system, public or prefix to match </TD
1151 > the replacement value for the match</TD
1169 >0 if successful, -1 otherwise</TD
1184 NAME="XMLACATALOGREMOVE"
1186 >xmlACatalogRemove ()</H3
1195 CLASS="PROGRAMLISTING"
1196 >int xmlACatalogRemove (<A
1197 HREF="libxml-catalog.html#XMLCATALOGPTR"
1201 HREF="libxml-tree.html#XMLCHAR"
1208 >Remove an entry from the catalog</P
1212 CLASS="INFORMALTABLE"
1256 > the value to remove</TD
1274 >the number of entries removed if successful, -1 otherwise</TD
1289 NAME="XMLACATALOGRESOLVE"
1291 >xmlACatalogResolve ()</H3
1300 CLASS="PROGRAMLISTING"
1302 HREF="libxml-tree.html#XMLCHAR"
1304 >* xmlACatalogResolve (<A
1305 HREF="libxml-catalog.html#XMLCATALOGPTR"
1309 HREF="libxml-tree.html#XMLCHAR"
1313 HREF="libxml-tree.html#XMLCHAR"
1320 >Do a complete resolution lookup of an External Identifier</P
1324 CLASS="INFORMALTABLE"
1368 > the public ID string</TD
1385 > the system ID string</TD
1403 >the URI of the resource or NULL if not found, it must be freed
1419 NAME="XMLACATALOGRESOLVESYSTEM"
1421 >xmlACatalogResolveSystem ()</H3
1430 CLASS="PROGRAMLISTING"
1432 HREF="libxml-tree.html#XMLCHAR"
1434 >* xmlACatalogResolveSystem (<A
1435 HREF="libxml-catalog.html#XMLCATALOGPTR"
1439 HREF="libxml-tree.html#XMLCHAR"
1446 >Try to lookup the catalog resource for a system ID</P
1450 CLASS="INFORMALTABLE"
1494 > the public ID string</TD
1512 >the system ID if found or NULL otherwise, the value returned
1513 must be freed by the caller.</TD
1528 NAME="XMLACATALOGRESOLVEPUBLIC"
1530 >xmlACatalogResolvePublic ()</H3
1539 CLASS="PROGRAMLISTING"
1541 HREF="libxml-tree.html#XMLCHAR"
1543 >* xmlACatalogResolvePublic (<A
1544 HREF="libxml-catalog.html#XMLCATALOGPTR"
1548 HREF="libxml-tree.html#XMLCHAR"
1555 >Try to lookup the system ID associated to a public ID in that catalog</P
1559 CLASS="INFORMALTABLE"
1603 > the public ID string</TD
1621 >the system ID if found or NULL otherwise, the value returned
1622 must be freed by the caller.</TD
1637 NAME="XMLACATALOGRESOLVEURI"
1639 >xmlACatalogResolveURI ()</H3
1648 CLASS="PROGRAMLISTING"
1650 HREF="libxml-tree.html#XMLCHAR"
1652 >* xmlACatalogResolveURI (<A
1653 HREF="libxml-catalog.html#XMLCATALOGPTR"
1657 HREF="libxml-tree.html#XMLCHAR"
1664 >Do a complete resolution lookup of an URI</P
1668 CLASS="INFORMALTABLE"
1730 >the URI of the resource or NULL if not found, it must be freed
1746 NAME="XMLACATALOGDUMP"
1748 >xmlACatalogDump ()</H3
1757 CLASS="PROGRAMLISTING"
1758 >void xmlACatalogDump (<A
1759 HREF="libxml-catalog.html#XMLCATALOGPTR"
1770 >Free up all the memory associated with catalogs</P
1774 CLASS="INFORMALTABLE"
1833 NAME="XMLFREECATALOG"
1835 >xmlFreeCatalog ()</H3
1844 CLASS="PROGRAMLISTING"
1845 >void xmlFreeCatalog (<A
1846 HREF="libxml-catalog.html#XMLCATALOGPTR"
1853 >Free the memory allocated to a Catalog</P
1857 CLASS="INFORMALTABLE"
1884 > a Catalog entry</TD
1899 NAME="XMLCATALOGISEMPTY"
1901 >xmlCatalogIsEmpty ()</H3
1910 CLASS="PROGRAMLISTING"
1911 >int xmlCatalogIsEmpty (<A
1912 HREF="libxml-catalog.html#XMLCATALOGPTR"
1919 >Check is a catalog is empty</P
1923 CLASS="INFORMALTABLE"
1950 > should this create an SGML catalog</TD
1968 >1 if the catalog is empty, 0 if not, amd -1 in case of error.</TD
1983 NAME="XMLINITIALIZECATALOG"
1985 >xmlInitializeCatalog ()</H3
1994 CLASS="PROGRAMLISTING"
1995 >void xmlInitializeCatalog (void);</PRE
2000 >Do the catalog initialization.
2001 this function is not thread safe, catalog initialization should
2002 preferably be done once at startup</P
2013 NAME="XMLLOADCATALOG"
2015 >xmlLoadCatalog ()</H3
2024 CLASS="PROGRAMLISTING"
2025 >int xmlLoadCatalog (const char *filename);</PRE
2030 >Load the catalog and makes its definitions effective for the default
2031 external entity loader. It will recurse in SGML CATALOG entries.
2032 this function is not thread safe, catalog initialization should
2033 preferably be done once at startup</P
2037 CLASS="INFORMALTABLE"
2082 >0 in case of success -1 in case of error</TD
2097 NAME="XMLLOADCATALOGS"
2099 >xmlLoadCatalogs ()</H3
2108 CLASS="PROGRAMLISTING"
2109 >void xmlLoadCatalogs (const char *paths);</PRE
2114 >Load the catalogs and makes their definitions effective for the default
2115 external entity loader.
2116 this function is not thread safe, catalog initialization should
2117 preferably be done once at startup</P
2121 CLASS="INFORMALTABLE"
2148 > a space-separated list of catalog files.</TD
2163 NAME="XMLCATALOGCLEANUP"
2165 >xmlCatalogCleanup ()</H3
2174 CLASS="PROGRAMLISTING"
2175 >void xmlCatalogCleanup (void);</PRE
2180 >Free up all the memory associated with catalogs</P
2191 NAME="XMLCATALOGDUMP"
2193 >xmlCatalogDump ()</H3
2202 CLASS="PROGRAMLISTING"
2203 >void xmlCatalogDump (<GTKDOCLINK
2211 >Free up all the memory associated with catalogs</P
2215 CLASS="INFORMALTABLE"
2257 NAME="XMLCATALOGRESOLVE"
2259 >xmlCatalogResolve ()</H3
2268 CLASS="PROGRAMLISTING"
2270 HREF="libxml-tree.html#XMLCHAR"
2272 >* xmlCatalogResolve (const <A
2273 HREF="libxml-tree.html#XMLCHAR"
2277 HREF="libxml-tree.html#XMLCHAR"
2284 >Do a complete resolution lookup of an External Identifier</P
2288 CLASS="INFORMALTABLE"
2315 > the public ID string</TD
2332 > the system ID string</TD
2350 >the URI of the resource or NULL if not found, it must be freed
2366 NAME="XMLCATALOGRESOLVESYSTEM"
2368 >xmlCatalogResolveSystem ()</H3
2377 CLASS="PROGRAMLISTING"
2379 HREF="libxml-tree.html#XMLCHAR"
2381 >* xmlCatalogResolveSystem (const <A
2382 HREF="libxml-tree.html#XMLCHAR"
2389 >Try to lookup the catalog resource for a system ID</P
2393 CLASS="INFORMALTABLE"
2420 > the public ID string</TD
2438 >the system ID if found or NULL otherwise, the value returned
2439 must be freed by the caller.</TD
2454 NAME="XMLCATALOGRESOLVEPUBLIC"
2456 >xmlCatalogResolvePublic ()</H3
2465 CLASS="PROGRAMLISTING"
2467 HREF="libxml-tree.html#XMLCHAR"
2469 >* xmlCatalogResolvePublic (const <A
2470 HREF="libxml-tree.html#XMLCHAR"
2477 >Try to lookup the system ID associated to a public ID</P
2481 CLASS="INFORMALTABLE"
2508 > the public ID string</TD
2526 >the system ID if found or NULL otherwise, the value returned
2527 must be freed by the caller.</TD
2542 NAME="XMLCATALOGRESOLVEURI"
2544 >xmlCatalogResolveURI ()</H3
2553 CLASS="PROGRAMLISTING"
2555 HREF="libxml-tree.html#XMLCHAR"
2557 >* xmlCatalogResolveURI (const <A
2558 HREF="libxml-tree.html#XMLCHAR"
2565 >Do a complete resolution lookup of an URI</P
2569 CLASS="INFORMALTABLE"
2614 >the URI of the resource or NULL if not found, it must be freed
2630 NAME="XMLCATALOGADD"
2632 >xmlCatalogAdd ()</H3
2641 CLASS="PROGRAMLISTING"
2642 >int xmlCatalogAdd (const <A
2643 HREF="libxml-tree.html#XMLCHAR"
2647 HREF="libxml-tree.html#XMLCHAR"
2651 HREF="libxml-tree.html#XMLCHAR"
2658 >Add an entry in the catalog, it may overwrite existing but
2660 If called before any other catalog routine, allows to override the
2661 default shared catalog put in place by <A
2662 HREF="libxml-catalog.html#XMLINITIALIZECATALOG"
2663 >xmlInitializeCatalog</A
2668 CLASS="INFORMALTABLE"
2695 > the type of record to add to the catalog</TD
2712 > the system, public or prefix to match </TD
2729 > the replacement value for the match</TD
2747 >0 if successful, -1 otherwise</TD
2762 NAME="XMLCATALOGREMOVE"
2764 >xmlCatalogRemove ()</H3
2773 CLASS="PROGRAMLISTING"
2774 >int xmlCatalogRemove (const <A
2775 HREF="libxml-tree.html#XMLCHAR"
2782 >Remove an entry from the catalog</P
2786 CLASS="INFORMALTABLE"
2813 > the value to remove</TD
2831 >the number of entries removed if successful, -1 otherwise</TD
2846 NAME="XMLPARSECATALOGFILE"
2848 >xmlParseCatalogFile ()</H3
2857 CLASS="PROGRAMLISTING"
2859 HREF="libxml-tree.html#XMLDOCPTR"
2861 > xmlParseCatalogFile (const char *filename);</PRE
2866 >parse an XML file and build a tree. It's like <A
2867 HREF="libxml-parser.html#XMLPARSEFILE"
2870 except it bypass all catalog lookups.</P
2874 CLASS="INFORMALTABLE"
2919 >the resulting document tree or NULL in case of error</TD
2934 NAME="XMLCATALOGCONVERT"
2936 >xmlCatalogConvert ()</H3
2945 CLASS="PROGRAMLISTING"
2946 >int xmlCatalogConvert (void);</PRE
2951 >Convert all the SGML catalog entries as XML ones</P
2955 CLASS="INFORMALTABLE"
2983 >the number of entries converted if successful, -1 otherwise</TD
2998 NAME="XMLCATALOGFREELOCAL"
3000 >xmlCatalogFreeLocal ()</H3
3009 CLASS="PROGRAMLISTING"
3010 >void xmlCatalogFreeLocal (void *catalogs);</PRE
3015 >Free up the memory associated to the catalog list</P
3019 CLASS="INFORMALTABLE"
3046 > a document's list of catalogs</TD
3061 NAME="XMLCATALOGADDLOCAL"
3063 >xmlCatalogAddLocal ()</H3
3072 CLASS="PROGRAMLISTING"
3073 >void* xmlCatalogAddLocal (void *catalogs,
3075 HREF="libxml-tree.html#XMLCHAR"
3082 >Add the new entry to the catalog list</P
3086 CLASS="INFORMALTABLE"
3113 > a document's list of catalogs</TD
3130 > the URL to a new local catalog</TD
3145 NAME="XMLCATALOGLOCALRESOLVE"
3147 >xmlCatalogLocalResolve ()</H3
3156 CLASS="PROGRAMLISTING"
3158 HREF="libxml-tree.html#XMLCHAR"
3160 >* xmlCatalogLocalResolve (void *catalogs,
3162 HREF="libxml-tree.html#XMLCHAR"
3166 HREF="libxml-tree.html#XMLCHAR"
3173 >Do a complete resolution lookup of an External Identifier using a
3174 document's private catalog list</P
3178 CLASS="INFORMALTABLE"
3205 > a document's list of catalogs</TD
3222 > the public ID string</TD
3239 > the system ID string</TD
3257 >the URI of the resource or NULL if not found, it must be freed
3273 NAME="XMLCATALOGLOCALRESOLVEURI"
3275 >xmlCatalogLocalResolveURI ()</H3
3284 CLASS="PROGRAMLISTING"
3286 HREF="libxml-tree.html#XMLCHAR"
3288 >* xmlCatalogLocalResolveURI (void *catalogs,
3290 HREF="libxml-tree.html#XMLCHAR"
3297 >Do a complete resolution lookup of an URI using a
3298 document's private catalog list</P
3302 CLASS="INFORMALTABLE"
3329 > a document's list of catalogs</TD
3364 >the URI of the resource or NULL if not found, it must be freed
3380 NAME="XMLCATALOGSETDEBUG"
3382 >xmlCatalogSetDebug ()</H3
3391 CLASS="PROGRAMLISTING"
3392 >int xmlCatalogSetDebug (int level);</PRE
3397 >Used to set the debug level for catalog operation, 0 disable
3398 debugging, 1 enable it</P
3402 CLASS="INFORMALTABLE"
3429 > the debug level of catalogs required</TD
3447 >the previous value of the catalog debugging level</TD
3462 NAME="XMLCATALOGSETDEFAULTPREFER"
3464 >xmlCatalogSetDefaultPrefer ()</H3
3473 CLASS="PROGRAMLISTING"
3475 HREF="libxml-catalog.html#XMLCATALOGPREFER"
3476 >xmlCatalogPrefer</A
3477 > xmlCatalogSetDefaultPrefer (<A
3478 HREF="libxml-catalog.html#XMLCATALOGPREFER"
3479 >xmlCatalogPrefer</A
3485 >Allows to set the preference between public and system for deletion
3486 in XML Catalog resolution. C.f. section 4.1.1 of the spec
3487 Values accepted are XML_CATA_PREFER_PUBLIC or XML_CATA_PREFER_SYSTEM</P
3491 CLASS="INFORMALTABLE"
3518 > the default preference for delegation</TD
3536 >the previous value of the default preference for delegation</TD
3551 NAME="XMLCATALOGSETDEFAULTS"
3553 >xmlCatalogSetDefaults ()</H3
3562 CLASS="PROGRAMLISTING"
3563 >void xmlCatalogSetDefaults (<A
3564 HREF="libxml-catalog.html#XMLCATALOGALLOW"
3571 >Used to set the user preference w.r.t. to what catalogs should
3576 CLASS="INFORMALTABLE"
3603 > what catalogs should be accepted</TD
3618 NAME="XMLCATALOGGETDEFAULTS"
3620 >xmlCatalogGetDefaults ()</H3
3629 CLASS="PROGRAMLISTING"
3631 HREF="libxml-catalog.html#XMLCATALOGALLOW"
3633 > xmlCatalogGetDefaults (void);</PRE
3638 >Used to get the user preference w.r.t. to what catalogs should
3643 CLASS="INFORMALTABLE"
3671 >the current xmlCatalogAllow value</TD
3686 NAME="XMLCATALOGGETSYSTEM"
3688 >xmlCatalogGetSystem ()</H3
3697 CLASS="PROGRAMLISTING"
3699 HREF="libxml-tree.html#XMLCHAR"
3701 >* xmlCatalogGetSystem (const <A
3702 HREF="libxml-tree.html#XMLCHAR"
3709 >Try to lookup the system ID associated to a public ID
3711 HREF="libxml-catalog.html#XMLCATALOGRESOLVESYSTEM"
3712 >xmlCatalogResolveSystem</A
3717 CLASS="INFORMALTABLE"
3744 > the system ID string</TD
3762 >the system ID if found or NULL otherwise.</TD
3777 NAME="XMLCATALOGGETPUBLIC"
3779 >xmlCatalogGetPublic ()</H3
3788 CLASS="PROGRAMLISTING"
3790 HREF="libxml-tree.html#XMLCHAR"
3792 >* xmlCatalogGetPublic (const <A
3793 HREF="libxml-tree.html#XMLCHAR"
3800 >Try to lookup the system ID associated to a public ID
3802 HREF="libxml-catalog.html#XMLCATALOGRESOLVEPUBLIC"
3803 >xmlCatalogResolvePublic</A
3808 CLASS="INFORMALTABLE"
3835 > the public ID string</TD
3853 >the system ID if found or NULL otherwise.</TD
3865 CLEAR="all"><BR><TABLE
3877 HREF="libxml-xmlio.html"
3882 ><<< Previous Page</B
3915 HREF="libxml-lib.html"
3931 HREF="libxml-c14n.html"
3936 >Next Page >>></B