libxml-catalog.html revision 5ede35e3bf51ead64928a223792ae4ee1ca836ba
1<HTML 2><HEAD 3><TITLE 4>catalog</TITLE 5><META 6NAME="GENERATOR" 7CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ 8"><LINK 9REL="HOME" 10TITLE="Gnome XML Library Reference Manual" 11HREF="book1.html"><LINK 12REL="UP" 13TITLE="Libxml Library Reference" 14HREF="libxml-lib.html"><LINK 15REL="PREVIOUS" 16TITLE="xmlIO" 17HREF="libxml-xmlio.html"><LINK 18REL="NEXT" 19TITLE="c14n" 20HREF="libxml-c14n.html"></HEAD 21><BODY 22CLASS="REFENTRY" 23BGCOLOR="#FFFFFF" 24TEXT="#000000" 25LINK="#0000FF" 26VLINK="#840084" 27ALINK="#0000FF" 28><DIV 29CLASS="NAVHEADER" 30><TABLE 31WIDTH="100%" 32BORDER="0" 33BGCOLOR="#000000" 34CELLPADDING="1" 35CELLSPACING="0" 36><TR 37><TH 38COLSPAN="4" 39ALIGN="center" 40><FONT 41COLOR="#FFFFFF" 42SIZE="5" 43>Gnome XML Library Reference Manual</FONT 44></TH 45></TR 46><TR 47><TD 48WIDTH="25%" 49BGCOLOR="#C00000" 50ALIGN="left" 51><A 52HREF="libxml-xmlio.html" 53><FONT 54COLOR="#FFFFFF" 55SIZE="3" 56><B 57><<< Previous Page</B 58></FONT 59></A 60></TD 61><TD 62WIDTH="25%" 63BGCOLOR="#0000C0" 64ALIGN="center" 65><FONT 66COLOR="#FFFFFF" 67SIZE="3" 68><B 69><A 70HREF="book1.html" 71><FONT 72COLOR="#FFFFFF" 73SIZE="3" 74><B 75>Home</B 76></FONT 77></A 78></B 79></FONT 80></TD 81><TD 82WIDTH="25%" 83BGCOLOR="#00C000" 84ALIGN="center" 85><FONT 86COLOR="#FFFFFF" 87SIZE="3" 88><B 89><A 90HREF="libxml-lib.html" 91><FONT 92COLOR="#FFFFFF" 93SIZE="3" 94><B 95>Up</B 96></FONT 97></A 98></B 99></FONT 100></TD 101><TD 102WIDTH="25%" 103BGCOLOR="#C00000" 104ALIGN="right" 105><A 106HREF="libxml-c14n.html" 107><FONT 108COLOR="#FFFFFF" 109SIZE="3" 110><B 111>Next Page >>></B 112></FONT 113></A 114></TD 115></TR 116></TABLE 117></DIV 118><H1 119><A 120NAME="LIBXML-CATALOG">catalog</H1 121><DIV 122CLASS="REFNAMEDIV" 123><A 124NAME="AEN19816" 125></A 126><H2 127>Name</H2 128>catalog -- </DIV 129><DIV 130CLASS="REFSYNOPSISDIV" 131><A 132NAME="AEN19819"><H2 133>Synopsis</H2 134><TABLE 135BORDER="0" 136BGCOLOR="#D6E8FF" 137WIDTH="100%" 138CELLPADDING="6" 139><TR 140><TD 141><PRE 142CLASS="SYNOPSIS" 143> 144 145#define <A 146HREF="libxml-catalog.html#XML-CATALOGS-NAMESPACE-CAPS" 147>XML_CATALOGS_NAMESPACE</A 148> 149#define <A 150HREF="libxml-catalog.html#XML-CATALOG-PI-CAPS" 151>XML_CATALOG_PI</A 152> 153enum <A 154HREF="libxml-catalog.html#XMLCATALOGPREFER" 155>xmlCatalogPrefer</A 156>; 157enum <A 158HREF="libxml-catalog.html#XMLCATALOGALLOW" 159>xmlCatalogAllow</A 160>; 161struct <A 162HREF="libxml-catalog.html#XMLCATALOG" 163>xmlCatalog</A 164>; 165typedef <A 166HREF="libxml-catalog.html#XMLCATALOGPTR" 167>xmlCatalogPtr</A 168>; 169<A 170HREF="libxml-catalog.html#XMLCATALOGPTR" 171>xmlCatalogPtr</A 172> <A 173HREF="libxml-catalog.html#XMLNEWCATALOG" 174>xmlNewCatalog</A 175> (int sgml); 176<A 177HREF="libxml-catalog.html#XMLCATALOGPTR" 178>xmlCatalogPtr</A 179> <A 180HREF="libxml-catalog.html#XMLLOADACATALOG" 181>xmlLoadACatalog</A 182> (const char *filename); 183<A 184HREF="libxml-catalog.html#XMLCATALOGPTR" 185>xmlCatalogPtr</A 186> <A 187HREF="libxml-catalog.html#XMLLOADSGMLSUPERCATALOG" 188>xmlLoadSGMLSuperCatalog</A 189> (const char *filename); 190int <A 191HREF="libxml-catalog.html#XMLCONVERTSGMLCATALOG" 192>xmlConvertSGMLCatalog</A 193> (<A 194HREF="libxml-catalog.html#XMLCATALOGPTR" 195>xmlCatalogPtr</A 196> catal); 197int <A 198HREF="libxml-catalog.html#XMLACATALOGADD" 199>xmlACatalogAdd</A 200> (<A 201HREF="libxml-catalog.html#XMLCATALOGPTR" 202>xmlCatalogPtr</A 203> catal, 204 const <A 205HREF="libxml-tree.html#XMLCHAR" 206>xmlChar</A 207> *type, 208 const <A 209HREF="libxml-tree.html#XMLCHAR" 210>xmlChar</A 211> *orig, 212 const <A 213HREF="libxml-tree.html#XMLCHAR" 214>xmlChar</A 215> *replace); 216int <A 217HREF="libxml-catalog.html#XMLACATALOGREMOVE" 218>xmlACatalogRemove</A 219> (<A 220HREF="libxml-catalog.html#XMLCATALOGPTR" 221>xmlCatalogPtr</A 222> catal, 223 const <A 224HREF="libxml-tree.html#XMLCHAR" 225>xmlChar</A 226> *value); 227<A 228HREF="libxml-tree.html#XMLCHAR" 229>xmlChar</A 230>* <A 231HREF="libxml-catalog.html#XMLACATALOGRESOLVE" 232>xmlACatalogResolve</A 233> (<A 234HREF="libxml-catalog.html#XMLCATALOGPTR" 235>xmlCatalogPtr</A 236> catal, 237 const <A 238HREF="libxml-tree.html#XMLCHAR" 239>xmlChar</A 240> *pubID, 241 const <A 242HREF="libxml-tree.html#XMLCHAR" 243>xmlChar</A 244> *sysID); 245<A 246HREF="libxml-tree.html#XMLCHAR" 247>xmlChar</A 248>* <A 249HREF="libxml-catalog.html#XMLACATALOGRESOLVESYSTEM" 250>xmlACatalogResolveSystem</A 251> (<A 252HREF="libxml-catalog.html#XMLCATALOGPTR" 253>xmlCatalogPtr</A 254> catal, 255 const <A 256HREF="libxml-tree.html#XMLCHAR" 257>xmlChar</A 258> *sysID); 259<A 260HREF="libxml-tree.html#XMLCHAR" 261>xmlChar</A 262>* <A 263HREF="libxml-catalog.html#XMLACATALOGRESOLVEPUBLIC" 264>xmlACatalogResolvePublic</A 265> (<A 266HREF="libxml-catalog.html#XMLCATALOGPTR" 267>xmlCatalogPtr</A 268> catal, 269 const <A 270HREF="libxml-tree.html#XMLCHAR" 271>xmlChar</A 272> *pubID); 273<A 274HREF="libxml-tree.html#XMLCHAR" 275>xmlChar</A 276>* <A 277HREF="libxml-catalog.html#XMLACATALOGRESOLVEURI" 278>xmlACatalogResolveURI</A 279> (<A 280HREF="libxml-catalog.html#XMLCATALOGPTR" 281>xmlCatalogPtr</A 282> catal, 283 const <A 284HREF="libxml-tree.html#XMLCHAR" 285>xmlChar</A 286> *URI); 287void <A 288HREF="libxml-catalog.html#XMLACATALOGDUMP" 289>xmlACatalogDump</A 290> (<A 291HREF="libxml-catalog.html#XMLCATALOGPTR" 292>xmlCatalogPtr</A 293> catal, 294 <GTKDOCLINK 295HREF="FILE-CAPS" 296>FILE</GTKDOCLINK 297> *out); 298void <A 299HREF="libxml-catalog.html#XMLFREECATALOG" 300>xmlFreeCatalog</A 301> (<A 302HREF="libxml-catalog.html#XMLCATALOGPTR" 303>xmlCatalogPtr</A 304> catal); 305int <A 306HREF="libxml-catalog.html#XMLCATALOGISEMPTY" 307>xmlCatalogIsEmpty</A 308> (<A 309HREF="libxml-catalog.html#XMLCATALOGPTR" 310>xmlCatalogPtr</A 311> catal); 312void <A 313HREF="libxml-catalog.html#XMLINITIALIZECATALOG" 314>xmlInitializeCatalog</A 315> (void); 316int <A 317HREF="libxml-catalog.html#XMLLOADCATALOG" 318>xmlLoadCatalog</A 319> (const char *filename); 320void <A 321HREF="libxml-catalog.html#XMLLOADCATALOGS" 322>xmlLoadCatalogs</A 323> (const char *paths); 324void <A 325HREF="libxml-catalog.html#XMLCATALOGCLEANUP" 326>xmlCatalogCleanup</A 327> (void); 328void <A 329HREF="libxml-catalog.html#XMLCATALOGDUMP" 330>xmlCatalogDump</A 331> (<GTKDOCLINK 332HREF="FILE-CAPS" 333>FILE</GTKDOCLINK 334> *out); 335<A 336HREF="libxml-tree.html#XMLCHAR" 337>xmlChar</A 338>* <A 339HREF="libxml-catalog.html#XMLCATALOGRESOLVE" 340>xmlCatalogResolve</A 341> (const <A 342HREF="libxml-tree.html#XMLCHAR" 343>xmlChar</A 344> *pubID, 345 const <A 346HREF="libxml-tree.html#XMLCHAR" 347>xmlChar</A 348> *sysID); 349<A 350HREF="libxml-tree.html#XMLCHAR" 351>xmlChar</A 352>* <A 353HREF="libxml-catalog.html#XMLCATALOGRESOLVESYSTEM" 354>xmlCatalogResolveSystem</A 355> (const <A 356HREF="libxml-tree.html#XMLCHAR" 357>xmlChar</A 358> *sysID); 359<A 360HREF="libxml-tree.html#XMLCHAR" 361>xmlChar</A 362>* <A 363HREF="libxml-catalog.html#XMLCATALOGRESOLVEPUBLIC" 364>xmlCatalogResolvePublic</A 365> (const <A 366HREF="libxml-tree.html#XMLCHAR" 367>xmlChar</A 368> *pubID); 369<A 370HREF="libxml-tree.html#XMLCHAR" 371>xmlChar</A 372>* <A 373HREF="libxml-catalog.html#XMLCATALOGRESOLVEURI" 374>xmlCatalogResolveURI</A 375> (const <A 376HREF="libxml-tree.html#XMLCHAR" 377>xmlChar</A 378> *URI); 379int <A 380HREF="libxml-catalog.html#XMLCATALOGADD" 381>xmlCatalogAdd</A 382> (const <A 383HREF="libxml-tree.html#XMLCHAR" 384>xmlChar</A 385> *type, 386 const <A 387HREF="libxml-tree.html#XMLCHAR" 388>xmlChar</A 389> *orig, 390 const <A 391HREF="libxml-tree.html#XMLCHAR" 392>xmlChar</A 393> *replace); 394int <A 395HREF="libxml-catalog.html#XMLCATALOGREMOVE" 396>xmlCatalogRemove</A 397> (const <A 398HREF="libxml-tree.html#XMLCHAR" 399>xmlChar</A 400> *value); 401<A 402HREF="libxml-tree.html#XMLDOCPTR" 403>xmlDocPtr</A 404> <A 405HREF="libxml-catalog.html#XMLPARSECATALOGFILE" 406>xmlParseCatalogFile</A 407> (const char *filename); 408int <A 409HREF="libxml-catalog.html#XMLCATALOGCONVERT" 410>xmlCatalogConvert</A 411> (void); 412void <A 413HREF="libxml-catalog.html#XMLCATALOGFREELOCAL" 414>xmlCatalogFreeLocal</A 415> (void *catalogs); 416void* <A 417HREF="libxml-catalog.html#XMLCATALOGADDLOCAL" 418>xmlCatalogAddLocal</A 419> (void *catalogs, 420 const <A 421HREF="libxml-tree.html#XMLCHAR" 422>xmlChar</A 423> *URL); 424<A 425HREF="libxml-tree.html#XMLCHAR" 426>xmlChar</A 427>* <A 428HREF="libxml-catalog.html#XMLCATALOGLOCALRESOLVE" 429>xmlCatalogLocalResolve</A 430> (void *catalogs, 431 const <A 432HREF="libxml-tree.html#XMLCHAR" 433>xmlChar</A 434> *pubID, 435 const <A 436HREF="libxml-tree.html#XMLCHAR" 437>xmlChar</A 438> *sysID); 439<A 440HREF="libxml-tree.html#XMLCHAR" 441>xmlChar</A 442>* <A 443HREF="libxml-catalog.html#XMLCATALOGLOCALRESOLVEURI" 444>xmlCatalogLocalResolveURI</A 445> (void *catalogs, 446 const <A 447HREF="libxml-tree.html#XMLCHAR" 448>xmlChar</A 449> *URI); 450int <A 451HREF="libxml-catalog.html#XMLCATALOGSETDEBUG" 452>xmlCatalogSetDebug</A 453> (int level); 454<A 455HREF="libxml-catalog.html#XMLCATALOGPREFER" 456>xmlCatalogPrefer</A 457> <A 458HREF="libxml-catalog.html#XMLCATALOGSETDEFAULTPREFER" 459>xmlCatalogSetDefaultPrefer</A 460> (<A 461HREF="libxml-catalog.html#XMLCATALOGPREFER" 462>xmlCatalogPrefer</A 463> prefer); 464void <A 465HREF="libxml-catalog.html#XMLCATALOGSETDEFAULTS" 466>xmlCatalogSetDefaults</A 467> (<A 468HREF="libxml-catalog.html#XMLCATALOGALLOW" 469>xmlCatalogAllow</A 470> allow); 471<A 472HREF="libxml-catalog.html#XMLCATALOGALLOW" 473>xmlCatalogAllow</A 474> <A 475HREF="libxml-catalog.html#XMLCATALOGGETDEFAULTS" 476>xmlCatalogGetDefaults</A 477> (void); 478const <A 479HREF="libxml-tree.html#XMLCHAR" 480>xmlChar</A 481>* <A 482HREF="libxml-catalog.html#XMLCATALOGGETSYSTEM" 483>xmlCatalogGetSystem</A 484> (const <A 485HREF="libxml-tree.html#XMLCHAR" 486>xmlChar</A 487> *sysID); 488const <A 489HREF="libxml-tree.html#XMLCHAR" 490>xmlChar</A 491>* <A 492HREF="libxml-catalog.html#XMLCATALOGGETPUBLIC" 493>xmlCatalogGetPublic</A 494> (const <A 495HREF="libxml-tree.html#XMLCHAR" 496>xmlChar</A 497> *pubID);</PRE 498></TD 499></TR 500></TABLE 501></DIV 502><DIV 503CLASS="REFSECT1" 504><A 505NAME="AEN19920" 506></A 507><H2 508>Description</H2 509><P 510></P 511></DIV 512><DIV 513CLASS="REFSECT1" 514><A 515NAME="AEN19923" 516></A 517><H2 518>Details</H2 519><DIV 520CLASS="REFSECT2" 521><A 522NAME="AEN19925" 523></A 524><H3 525><A 526NAME="XML-CATALOGS-NAMESPACE-CAPS" 527></A 528>XML_CATALOGS_NAMESPACE</H3 529><TABLE 530BORDER="0" 531BGCOLOR="#D6E8FF" 532WIDTH="100%" 533CELLPADDING="6" 534><TR 535><TD 536><PRE 537CLASS="PROGRAMLISTING" 538>#define XML_CATALOGS_NAMESPACE</PRE 539></TD 540></TR 541></TABLE 542><P 543>The namespace for the XML Catalogs elements.</P 544><P 545></P 546></DIV 547><HR><DIV 548CLASS="REFSECT2" 549><A 550NAME="AEN19931" 551></A 552><H3 553><A 554NAME="XML-CATALOG-PI-CAPS" 555></A 556>XML_CATALOG_PI</H3 557><TABLE 558BORDER="0" 559BGCOLOR="#D6E8FF" 560WIDTH="100%" 561CELLPADDING="6" 562><TR 563><TD 564><PRE 565CLASS="PROGRAMLISTING" 566>#define XML_CATALOG_PI</PRE 567></TD 568></TR 569></TABLE 570><P 571>The specific XML Catalog Processing Instuction name.</P 572><P 573></P 574></DIV 575><HR><DIV 576CLASS="REFSECT2" 577><A 578NAME="AEN19937" 579></A 580><H3 581><A 582NAME="XMLCATALOGPREFER" 583></A 584>enum xmlCatalogPrefer</H3 585><TABLE 586BORDER="0" 587BGCOLOR="#D6E8FF" 588WIDTH="100%" 589CELLPADDING="6" 590><TR 591><TD 592><PRE 593CLASS="PROGRAMLISTING" 594>typedef enum { 595 XML_CATA_PREFER_NONE = 0, 596 XML_CATA_PREFER_PUBLIC = 1, 597 XML_CATA_PREFER_SYSTEM 598} xmlCatalogPrefer;</PRE 599></TD 600></TR 601></TABLE 602><P 603></P 604></DIV 605><HR><DIV 606CLASS="REFSECT2" 607><A 608NAME="AEN19942" 609></A 610><H3 611><A 612NAME="XMLCATALOGALLOW" 613></A 614>enum xmlCatalogAllow</H3 615><TABLE 616BORDER="0" 617BGCOLOR="#D6E8FF" 618WIDTH="100%" 619CELLPADDING="6" 620><TR 621><TD 622><PRE 623CLASS="PROGRAMLISTING" 624>typedef enum { 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 630></TD 631></TR 632></TABLE 633><P 634></P 635></DIV 636><HR><DIV 637CLASS="REFSECT2" 638><A 639NAME="AEN19947" 640></A 641><H3 642><A 643NAME="XMLCATALOG" 644></A 645>struct xmlCatalog</H3 646><TABLE 647BORDER="0" 648BGCOLOR="#D6E8FF" 649WIDTH="100%" 650CELLPADDING="6" 651><TR 652><TD 653><PRE 654CLASS="PROGRAMLISTING" 655>struct xmlCatalog;</PRE 656></TD 657></TR 658></TABLE 659><P 660></P 661></DIV 662><HR><DIV 663CLASS="REFSECT2" 664><A 665NAME="AEN19952" 666></A 667><H3 668><A 669NAME="XMLCATALOGPTR" 670></A 671>xmlCatalogPtr</H3 672><TABLE 673BORDER="0" 674BGCOLOR="#D6E8FF" 675WIDTH="100%" 676CELLPADDING="6" 677><TR 678><TD 679><PRE 680CLASS="PROGRAMLISTING" 681>typedef xmlCatalog *xmlCatalogPtr;</PRE 682></TD 683></TR 684></TABLE 685><P 686></P 687></DIV 688><HR><DIV 689CLASS="REFSECT2" 690><A 691NAME="AEN19957" 692></A 693><H3 694><A 695NAME="XMLNEWCATALOG" 696></A 697>xmlNewCatalog ()</H3 698><TABLE 699BORDER="0" 700BGCOLOR="#D6E8FF" 701WIDTH="100%" 702CELLPADDING="6" 703><TR 704><TD 705><PRE 706CLASS="PROGRAMLISTING" 707><A 708HREF="libxml-catalog.html#XMLCATALOGPTR" 709>xmlCatalogPtr</A 710> xmlNewCatalog (int sgml);</PRE 711></TD 712></TR 713></TABLE 714><P 715>create a new Catalog.</P 716><P 717></P 718><DIV 719CLASS="INFORMALTABLE" 720><A 721NAME="AEN19964"><P 722></P 723><TABLE 724BORDER="0" 725WIDTH="100%" 726BGCOLOR="#FFD0D0" 727CELLSPACING="0" 728CELLPADDING="4" 729CLASS="CALSTABLE" 730><TBODY 731><TR 732><TD 733WIDTH="20%" 734ALIGN="RIGHT" 735VALIGN="TOP" 736><TT 737CLASS="PARAMETER" 738><I 739>sgml</I 740></TT 741> :</TD 742><TD 743WIDTH="80%" 744ALIGN="LEFT" 745VALIGN="TOP" 746> should this create an SGML catalog</TD 747></TR 748><TR 749><TD 750WIDTH="20%" 751ALIGN="RIGHT" 752VALIGN="TOP" 753><SPAN 754CLASS="emphasis" 755><I 756CLASS="EMPHASIS" 757>Returns</I 758></SPAN 759> :</TD 760><TD 761WIDTH="80%" 762ALIGN="LEFT" 763VALIGN="TOP" 764>the xmlCatalogPtr or NULL in case of error</TD 765></TR 766></TBODY 767></TABLE 768><P 769></P 770></DIV 771></DIV 772><HR><DIV 773CLASS="REFSECT2" 774><A 775NAME="AEN19977" 776></A 777><H3 778><A 779NAME="XMLLOADACATALOG" 780></A 781>xmlLoadACatalog ()</H3 782><TABLE 783BORDER="0" 784BGCOLOR="#D6E8FF" 785WIDTH="100%" 786CELLPADDING="6" 787><TR 788><TD 789><PRE 790CLASS="PROGRAMLISTING" 791><A 792HREF="libxml-catalog.html#XMLCATALOGPTR" 793>xmlCatalogPtr</A 794> xmlLoadACatalog (const char *filename);</PRE 795></TD 796></TR 797></TABLE 798><P 799>Load the catalog and build the associated data structures. 800This can be either an XML Catalog or an SGML Catalog 801It will recurse in SGML CATALOG entries. On the other hand XML 802Catalogs are not handled recursively.</P 803><P 804></P 805><DIV 806CLASS="INFORMALTABLE" 807><A 808NAME="AEN19984"><P 809></P 810><TABLE 811BORDER="0" 812WIDTH="100%" 813BGCOLOR="#FFD0D0" 814CELLSPACING="0" 815CELLPADDING="4" 816CLASS="CALSTABLE" 817><TBODY 818><TR 819><TD 820WIDTH="20%" 821ALIGN="RIGHT" 822VALIGN="TOP" 823><TT 824CLASS="PARAMETER" 825><I 826>filename</I 827></TT 828> :</TD 829><TD 830WIDTH="80%" 831ALIGN="LEFT" 832VALIGN="TOP" 833> a file path</TD 834></TR 835><TR 836><TD 837WIDTH="20%" 838ALIGN="RIGHT" 839VALIGN="TOP" 840><SPAN 841CLASS="emphasis" 842><I 843CLASS="EMPHASIS" 844>Returns</I 845></SPAN 846> :</TD 847><TD 848WIDTH="80%" 849ALIGN="LEFT" 850VALIGN="TOP" 851>the catalog parsed or NULL in case of error</TD 852></TR 853></TBODY 854></TABLE 855><P 856></P 857></DIV 858></DIV 859><HR><DIV 860CLASS="REFSECT2" 861><A 862NAME="AEN19997" 863></A 864><H3 865><A 866NAME="XMLLOADSGMLSUPERCATALOG" 867></A 868>xmlLoadSGMLSuperCatalog ()</H3 869><TABLE 870BORDER="0" 871BGCOLOR="#D6E8FF" 872WIDTH="100%" 873CELLPADDING="6" 874><TR 875><TD 876><PRE 877CLASS="PROGRAMLISTING" 878><A 879HREF="libxml-catalog.html#XMLCATALOGPTR" 880>xmlCatalogPtr</A 881> xmlLoadSGMLSuperCatalog (const char *filename);</PRE 882></TD 883></TR 884></TABLE 885><P 886>Load an SGML super catalog. It won't expand CATALOG or DELEGATE 887references. This is only needed for manipulating SGML Super Catalogs 888like adding and removing CATALOG or DELEGATE entries.</P 889><P 890></P 891><DIV 892CLASS="INFORMALTABLE" 893><A 894NAME="AEN20004"><P 895></P 896><TABLE 897BORDER="0" 898WIDTH="100%" 899BGCOLOR="#FFD0D0" 900CELLSPACING="0" 901CELLPADDING="4" 902CLASS="CALSTABLE" 903><TBODY 904><TR 905><TD 906WIDTH="20%" 907ALIGN="RIGHT" 908VALIGN="TOP" 909><TT 910CLASS="PARAMETER" 911><I 912>filename</I 913></TT 914> :</TD 915><TD 916WIDTH="80%" 917ALIGN="LEFT" 918VALIGN="TOP" 919> a file path</TD 920></TR 921><TR 922><TD 923WIDTH="20%" 924ALIGN="RIGHT" 925VALIGN="TOP" 926><SPAN 927CLASS="emphasis" 928><I 929CLASS="EMPHASIS" 930>Returns</I 931></SPAN 932> :</TD 933><TD 934WIDTH="80%" 935ALIGN="LEFT" 936VALIGN="TOP" 937>the catalog parsed or NULL in case of error</TD 938></TR 939></TBODY 940></TABLE 941><P 942></P 943></DIV 944></DIV 945><HR><DIV 946CLASS="REFSECT2" 947><A 948NAME="AEN20017" 949></A 950><H3 951><A 952NAME="XMLCONVERTSGMLCATALOG" 953></A 954>xmlConvertSGMLCatalog ()</H3 955><TABLE 956BORDER="0" 957BGCOLOR="#D6E8FF" 958WIDTH="100%" 959CELLPADDING="6" 960><TR 961><TD 962><PRE 963CLASS="PROGRAMLISTING" 964>int xmlConvertSGMLCatalog (<A 965HREF="libxml-catalog.html#XMLCATALOGPTR" 966>xmlCatalogPtr</A 967> catal);</PRE 968></TD 969></TR 970></TABLE 971><P 972>Convert all the SGML catalog entries as XML ones</P 973><P 974></P 975><DIV 976CLASS="INFORMALTABLE" 977><A 978NAME="AEN20024"><P 979></P 980><TABLE 981BORDER="0" 982WIDTH="100%" 983BGCOLOR="#FFD0D0" 984CELLSPACING="0" 985CELLPADDING="4" 986CLASS="CALSTABLE" 987><TBODY 988><TR 989><TD 990WIDTH="20%" 991ALIGN="RIGHT" 992VALIGN="TOP" 993><TT 994CLASS="PARAMETER" 995><I 996>catal</I 997></TT 998> :</TD 999><TD 1000WIDTH="80%" 1001ALIGN="LEFT" 1002VALIGN="TOP" 1003> the catalog</TD 1004></TR 1005><TR 1006><TD 1007WIDTH="20%" 1008ALIGN="RIGHT" 1009VALIGN="TOP" 1010><SPAN 1011CLASS="emphasis" 1012><I 1013CLASS="EMPHASIS" 1014>Returns</I 1015></SPAN 1016> :</TD 1017><TD 1018WIDTH="80%" 1019ALIGN="LEFT" 1020VALIGN="TOP" 1021>the number of entries converted if successful, -1 otherwise</TD 1022></TR 1023></TBODY 1024></TABLE 1025><P 1026></P 1027></DIV 1028></DIV 1029><HR><DIV 1030CLASS="REFSECT2" 1031><A 1032NAME="AEN20037" 1033></A 1034><H3 1035><A 1036NAME="XMLACATALOGADD" 1037></A 1038>xmlACatalogAdd ()</H3 1039><TABLE 1040BORDER="0" 1041BGCOLOR="#D6E8FF" 1042WIDTH="100%" 1043CELLPADDING="6" 1044><TR 1045><TD 1046><PRE 1047CLASS="PROGRAMLISTING" 1048>int xmlACatalogAdd (<A 1049HREF="libxml-catalog.html#XMLCATALOGPTR" 1050>xmlCatalogPtr</A 1051> catal, 1052 const <A 1053HREF="libxml-tree.html#XMLCHAR" 1054>xmlChar</A 1055> *type, 1056 const <A 1057HREF="libxml-tree.html#XMLCHAR" 1058>xmlChar</A 1059> *orig, 1060 const <A 1061HREF="libxml-tree.html#XMLCHAR" 1062>xmlChar</A 1063> *replace);</PRE 1064></TD 1065></TR 1066></TABLE 1067><P 1068>Add an entry in the catalog, it may overwrite existing but 1069different entries.</P 1070><P 1071></P 1072><DIV 1073CLASS="INFORMALTABLE" 1074><A 1075NAME="AEN20047"><P 1076></P 1077><TABLE 1078BORDER="0" 1079WIDTH="100%" 1080BGCOLOR="#FFD0D0" 1081CELLSPACING="0" 1082CELLPADDING="4" 1083CLASS="CALSTABLE" 1084><TBODY 1085><TR 1086><TD 1087WIDTH="20%" 1088ALIGN="RIGHT" 1089VALIGN="TOP" 1090><TT 1091CLASS="PARAMETER" 1092><I 1093>catal</I 1094></TT 1095> :</TD 1096><TD 1097WIDTH="80%" 1098ALIGN="LEFT" 1099VALIGN="TOP" 1100> a Catalog</TD 1101></TR 1102><TR 1103><TD 1104WIDTH="20%" 1105ALIGN="RIGHT" 1106VALIGN="TOP" 1107><TT 1108CLASS="PARAMETER" 1109><I 1110>type</I 1111></TT 1112> :</TD 1113><TD 1114WIDTH="80%" 1115ALIGN="LEFT" 1116VALIGN="TOP" 1117> the type of record to add to the catalog</TD 1118></TR 1119><TR 1120><TD 1121WIDTH="20%" 1122ALIGN="RIGHT" 1123VALIGN="TOP" 1124><TT 1125CLASS="PARAMETER" 1126><I 1127>orig</I 1128></TT 1129> :</TD 1130><TD 1131WIDTH="80%" 1132ALIGN="LEFT" 1133VALIGN="TOP" 1134> the system, public or prefix to match </TD 1135></TR 1136><TR 1137><TD 1138WIDTH="20%" 1139ALIGN="RIGHT" 1140VALIGN="TOP" 1141><TT 1142CLASS="PARAMETER" 1143><I 1144>replace</I 1145></TT 1146> :</TD 1147><TD 1148WIDTH="80%" 1149ALIGN="LEFT" 1150VALIGN="TOP" 1151> the replacement value for the match</TD 1152></TR 1153><TR 1154><TD 1155WIDTH="20%" 1156ALIGN="RIGHT" 1157VALIGN="TOP" 1158><SPAN 1159CLASS="emphasis" 1160><I 1161CLASS="EMPHASIS" 1162>Returns</I 1163></SPAN 1164> :</TD 1165><TD 1166WIDTH="80%" 1167ALIGN="LEFT" 1168VALIGN="TOP" 1169>0 if successful, -1 otherwise</TD 1170></TR 1171></TBODY 1172></TABLE 1173><P 1174></P 1175></DIV 1176></DIV 1177><HR><DIV 1178CLASS="REFSECT2" 1179><A 1180NAME="AEN20072" 1181></A 1182><H3 1183><A 1184NAME="XMLACATALOGREMOVE" 1185></A 1186>xmlACatalogRemove ()</H3 1187><TABLE 1188BORDER="0" 1189BGCOLOR="#D6E8FF" 1190WIDTH="100%" 1191CELLPADDING="6" 1192><TR 1193><TD 1194><PRE 1195CLASS="PROGRAMLISTING" 1196>int xmlACatalogRemove (<A 1197HREF="libxml-catalog.html#XMLCATALOGPTR" 1198>xmlCatalogPtr</A 1199> catal, 1200 const <A 1201HREF="libxml-tree.html#XMLCHAR" 1202>xmlChar</A 1203> *value);</PRE 1204></TD 1205></TR 1206></TABLE 1207><P 1208>Remove an entry from the catalog</P 1209><P 1210></P 1211><DIV 1212CLASS="INFORMALTABLE" 1213><A 1214NAME="AEN20080"><P 1215></P 1216><TABLE 1217BORDER="0" 1218WIDTH="100%" 1219BGCOLOR="#FFD0D0" 1220CELLSPACING="0" 1221CELLPADDING="4" 1222CLASS="CALSTABLE" 1223><TBODY 1224><TR 1225><TD 1226WIDTH="20%" 1227ALIGN="RIGHT" 1228VALIGN="TOP" 1229><TT 1230CLASS="PARAMETER" 1231><I 1232>catal</I 1233></TT 1234> :</TD 1235><TD 1236WIDTH="80%" 1237ALIGN="LEFT" 1238VALIGN="TOP" 1239> a Catalog</TD 1240></TR 1241><TR 1242><TD 1243WIDTH="20%" 1244ALIGN="RIGHT" 1245VALIGN="TOP" 1246><TT 1247CLASS="PARAMETER" 1248><I 1249>value</I 1250></TT 1251> :</TD 1252><TD 1253WIDTH="80%" 1254ALIGN="LEFT" 1255VALIGN="TOP" 1256> the value to remove</TD 1257></TR 1258><TR 1259><TD 1260WIDTH="20%" 1261ALIGN="RIGHT" 1262VALIGN="TOP" 1263><SPAN 1264CLASS="emphasis" 1265><I 1266CLASS="EMPHASIS" 1267>Returns</I 1268></SPAN 1269> :</TD 1270><TD 1271WIDTH="80%" 1272ALIGN="LEFT" 1273VALIGN="TOP" 1274>the number of entries removed if successful, -1 otherwise</TD 1275></TR 1276></TBODY 1277></TABLE 1278><P 1279></P 1280></DIV 1281></DIV 1282><HR><DIV 1283CLASS="REFSECT2" 1284><A 1285NAME="AEN20097" 1286></A 1287><H3 1288><A 1289NAME="XMLACATALOGRESOLVE" 1290></A 1291>xmlACatalogResolve ()</H3 1292><TABLE 1293BORDER="0" 1294BGCOLOR="#D6E8FF" 1295WIDTH="100%" 1296CELLPADDING="6" 1297><TR 1298><TD 1299><PRE 1300CLASS="PROGRAMLISTING" 1301><A 1302HREF="libxml-tree.html#XMLCHAR" 1303>xmlChar</A 1304>* xmlACatalogResolve (<A 1305HREF="libxml-catalog.html#XMLCATALOGPTR" 1306>xmlCatalogPtr</A 1307> catal, 1308 const <A 1309HREF="libxml-tree.html#XMLCHAR" 1310>xmlChar</A 1311> *pubID, 1312 const <A 1313HREF="libxml-tree.html#XMLCHAR" 1314>xmlChar</A 1315> *sysID);</PRE 1316></TD 1317></TR 1318></TABLE 1319><P 1320>Do a complete resolution lookup of an External Identifier</P 1321><P 1322></P 1323><DIV 1324CLASS="INFORMALTABLE" 1325><A 1326NAME="AEN20107"><P 1327></P 1328><TABLE 1329BORDER="0" 1330WIDTH="100%" 1331BGCOLOR="#FFD0D0" 1332CELLSPACING="0" 1333CELLPADDING="4" 1334CLASS="CALSTABLE" 1335><TBODY 1336><TR 1337><TD 1338WIDTH="20%" 1339ALIGN="RIGHT" 1340VALIGN="TOP" 1341><TT 1342CLASS="PARAMETER" 1343><I 1344>catal</I 1345></TT 1346> :</TD 1347><TD 1348WIDTH="80%" 1349ALIGN="LEFT" 1350VALIGN="TOP" 1351> a Catalog</TD 1352></TR 1353><TR 1354><TD 1355WIDTH="20%" 1356ALIGN="RIGHT" 1357VALIGN="TOP" 1358><TT 1359CLASS="PARAMETER" 1360><I 1361>pubID</I 1362></TT 1363> :</TD 1364><TD 1365WIDTH="80%" 1366ALIGN="LEFT" 1367VALIGN="TOP" 1368> the public ID string</TD 1369></TR 1370><TR 1371><TD 1372WIDTH="20%" 1373ALIGN="RIGHT" 1374VALIGN="TOP" 1375><TT 1376CLASS="PARAMETER" 1377><I 1378>sysID</I 1379></TT 1380> :</TD 1381><TD 1382WIDTH="80%" 1383ALIGN="LEFT" 1384VALIGN="TOP" 1385> the system ID string</TD 1386></TR 1387><TR 1388><TD 1389WIDTH="20%" 1390ALIGN="RIGHT" 1391VALIGN="TOP" 1392><SPAN 1393CLASS="emphasis" 1394><I 1395CLASS="EMPHASIS" 1396>Returns</I 1397></SPAN 1398> :</TD 1399><TD 1400WIDTH="80%" 1401ALIGN="LEFT" 1402VALIGN="TOP" 1403>the URI of the resource or NULL if not found, it must be freed 1404by the caller.</TD 1405></TR 1406></TBODY 1407></TABLE 1408><P 1409></P 1410></DIV 1411></DIV 1412><HR><DIV 1413CLASS="REFSECT2" 1414><A 1415NAME="AEN20128" 1416></A 1417><H3 1418><A 1419NAME="XMLACATALOGRESOLVESYSTEM" 1420></A 1421>xmlACatalogResolveSystem ()</H3 1422><TABLE 1423BORDER="0" 1424BGCOLOR="#D6E8FF" 1425WIDTH="100%" 1426CELLPADDING="6" 1427><TR 1428><TD 1429><PRE 1430CLASS="PROGRAMLISTING" 1431><A 1432HREF="libxml-tree.html#XMLCHAR" 1433>xmlChar</A 1434>* xmlACatalogResolveSystem (<A 1435HREF="libxml-catalog.html#XMLCATALOGPTR" 1436>xmlCatalogPtr</A 1437> catal, 1438 const <A 1439HREF="libxml-tree.html#XMLCHAR" 1440>xmlChar</A 1441> *sysID);</PRE 1442></TD 1443></TR 1444></TABLE 1445><P 1446>Try to lookup the catalog resource for a system ID</P 1447><P 1448></P 1449><DIV 1450CLASS="INFORMALTABLE" 1451><A 1452NAME="AEN20137"><P 1453></P 1454><TABLE 1455BORDER="0" 1456WIDTH="100%" 1457BGCOLOR="#FFD0D0" 1458CELLSPACING="0" 1459CELLPADDING="4" 1460CLASS="CALSTABLE" 1461><TBODY 1462><TR 1463><TD 1464WIDTH="20%" 1465ALIGN="RIGHT" 1466VALIGN="TOP" 1467><TT 1468CLASS="PARAMETER" 1469><I 1470>catal</I 1471></TT 1472> :</TD 1473><TD 1474WIDTH="80%" 1475ALIGN="LEFT" 1476VALIGN="TOP" 1477> a Catalog</TD 1478></TR 1479><TR 1480><TD 1481WIDTH="20%" 1482ALIGN="RIGHT" 1483VALIGN="TOP" 1484><TT 1485CLASS="PARAMETER" 1486><I 1487>sysID</I 1488></TT 1489> :</TD 1490><TD 1491WIDTH="80%" 1492ALIGN="LEFT" 1493VALIGN="TOP" 1494> the public ID string</TD 1495></TR 1496><TR 1497><TD 1498WIDTH="20%" 1499ALIGN="RIGHT" 1500VALIGN="TOP" 1501><SPAN 1502CLASS="emphasis" 1503><I 1504CLASS="EMPHASIS" 1505>Returns</I 1506></SPAN 1507> :</TD 1508><TD 1509WIDTH="80%" 1510ALIGN="LEFT" 1511VALIGN="TOP" 1512>the system ID if found or NULL otherwise, the value returned 1513must be freed by the caller.</TD 1514></TR 1515></TBODY 1516></TABLE 1517><P 1518></P 1519></DIV 1520></DIV 1521><HR><DIV 1522CLASS="REFSECT2" 1523><A 1524NAME="AEN20154" 1525></A 1526><H3 1527><A 1528NAME="XMLACATALOGRESOLVEPUBLIC" 1529></A 1530>xmlACatalogResolvePublic ()</H3 1531><TABLE 1532BORDER="0" 1533BGCOLOR="#D6E8FF" 1534WIDTH="100%" 1535CELLPADDING="6" 1536><TR 1537><TD 1538><PRE 1539CLASS="PROGRAMLISTING" 1540><A 1541HREF="libxml-tree.html#XMLCHAR" 1542>xmlChar</A 1543>* xmlACatalogResolvePublic (<A 1544HREF="libxml-catalog.html#XMLCATALOGPTR" 1545>xmlCatalogPtr</A 1546> catal, 1547 const <A 1548HREF="libxml-tree.html#XMLCHAR" 1549>xmlChar</A 1550> *pubID);</PRE 1551></TD 1552></TR 1553></TABLE 1554><P 1555>Try to lookup the system ID associated to a public ID in that catalog</P 1556><P 1557></P 1558><DIV 1559CLASS="INFORMALTABLE" 1560><A 1561NAME="AEN20163"><P 1562></P 1563><TABLE 1564BORDER="0" 1565WIDTH="100%" 1566BGCOLOR="#FFD0D0" 1567CELLSPACING="0" 1568CELLPADDING="4" 1569CLASS="CALSTABLE" 1570><TBODY 1571><TR 1572><TD 1573WIDTH="20%" 1574ALIGN="RIGHT" 1575VALIGN="TOP" 1576><TT 1577CLASS="PARAMETER" 1578><I 1579>catal</I 1580></TT 1581> :</TD 1582><TD 1583WIDTH="80%" 1584ALIGN="LEFT" 1585VALIGN="TOP" 1586> a Catalog</TD 1587></TR 1588><TR 1589><TD 1590WIDTH="20%" 1591ALIGN="RIGHT" 1592VALIGN="TOP" 1593><TT 1594CLASS="PARAMETER" 1595><I 1596>pubID</I 1597></TT 1598> :</TD 1599><TD 1600WIDTH="80%" 1601ALIGN="LEFT" 1602VALIGN="TOP" 1603> the public ID string</TD 1604></TR 1605><TR 1606><TD 1607WIDTH="20%" 1608ALIGN="RIGHT" 1609VALIGN="TOP" 1610><SPAN 1611CLASS="emphasis" 1612><I 1613CLASS="EMPHASIS" 1614>Returns</I 1615></SPAN 1616> :</TD 1617><TD 1618WIDTH="80%" 1619ALIGN="LEFT" 1620VALIGN="TOP" 1621>the system ID if found or NULL otherwise, the value returned 1622must be freed by the caller.</TD 1623></TR 1624></TBODY 1625></TABLE 1626><P 1627></P 1628></DIV 1629></DIV 1630><HR><DIV 1631CLASS="REFSECT2" 1632><A 1633NAME="AEN20180" 1634></A 1635><H3 1636><A 1637NAME="XMLACATALOGRESOLVEURI" 1638></A 1639>xmlACatalogResolveURI ()</H3 1640><TABLE 1641BORDER="0" 1642BGCOLOR="#D6E8FF" 1643WIDTH="100%" 1644CELLPADDING="6" 1645><TR 1646><TD 1647><PRE 1648CLASS="PROGRAMLISTING" 1649><A 1650HREF="libxml-tree.html#XMLCHAR" 1651>xmlChar</A 1652>* xmlACatalogResolveURI (<A 1653HREF="libxml-catalog.html#XMLCATALOGPTR" 1654>xmlCatalogPtr</A 1655> catal, 1656 const <A 1657HREF="libxml-tree.html#XMLCHAR" 1658>xmlChar</A 1659> *URI);</PRE 1660></TD 1661></TR 1662></TABLE 1663><P 1664>Do a complete resolution lookup of an URI</P 1665><P 1666></P 1667><DIV 1668CLASS="INFORMALTABLE" 1669><A 1670NAME="AEN20189"><P 1671></P 1672><TABLE 1673BORDER="0" 1674WIDTH="100%" 1675BGCOLOR="#FFD0D0" 1676CELLSPACING="0" 1677CELLPADDING="4" 1678CLASS="CALSTABLE" 1679><TBODY 1680><TR 1681><TD 1682WIDTH="20%" 1683ALIGN="RIGHT" 1684VALIGN="TOP" 1685><TT 1686CLASS="PARAMETER" 1687><I 1688>catal</I 1689></TT 1690> :</TD 1691><TD 1692WIDTH="80%" 1693ALIGN="LEFT" 1694VALIGN="TOP" 1695> a Catalog</TD 1696></TR 1697><TR 1698><TD 1699WIDTH="20%" 1700ALIGN="RIGHT" 1701VALIGN="TOP" 1702><TT 1703CLASS="PARAMETER" 1704><I 1705>URI</I 1706></TT 1707> :</TD 1708><TD 1709WIDTH="80%" 1710ALIGN="LEFT" 1711VALIGN="TOP" 1712> the URI</TD 1713></TR 1714><TR 1715><TD 1716WIDTH="20%" 1717ALIGN="RIGHT" 1718VALIGN="TOP" 1719><SPAN 1720CLASS="emphasis" 1721><I 1722CLASS="EMPHASIS" 1723>Returns</I 1724></SPAN 1725> :</TD 1726><TD 1727WIDTH="80%" 1728ALIGN="LEFT" 1729VALIGN="TOP" 1730>the URI of the resource or NULL if not found, it must be freed 1731by the caller.</TD 1732></TR 1733></TBODY 1734></TABLE 1735><P 1736></P 1737></DIV 1738></DIV 1739><HR><DIV 1740CLASS="REFSECT2" 1741><A 1742NAME="AEN20206" 1743></A 1744><H3 1745><A 1746NAME="XMLACATALOGDUMP" 1747></A 1748>xmlACatalogDump ()</H3 1749><TABLE 1750BORDER="0" 1751BGCOLOR="#D6E8FF" 1752WIDTH="100%" 1753CELLPADDING="6" 1754><TR 1755><TD 1756><PRE 1757CLASS="PROGRAMLISTING" 1758>void xmlACatalogDump (<A 1759HREF="libxml-catalog.html#XMLCATALOGPTR" 1760>xmlCatalogPtr</A 1761> catal, 1762 <GTKDOCLINK 1763HREF="FILE-CAPS" 1764>FILE</GTKDOCLINK 1765> *out);</PRE 1766></TD 1767></TR 1768></TABLE 1769><P 1770>Free up all the memory associated with catalogs</P 1771><P 1772></P 1773><DIV 1774CLASS="INFORMALTABLE" 1775><A 1776NAME="AEN20214"><P 1777></P 1778><TABLE 1779BORDER="0" 1780WIDTH="100%" 1781BGCOLOR="#FFD0D0" 1782CELLSPACING="0" 1783CELLPADDING="4" 1784CLASS="CALSTABLE" 1785><TBODY 1786><TR 1787><TD 1788WIDTH="20%" 1789ALIGN="RIGHT" 1790VALIGN="TOP" 1791><TT 1792CLASS="PARAMETER" 1793><I 1794>catal</I 1795></TT 1796> :</TD 1797><TD 1798WIDTH="80%" 1799ALIGN="LEFT" 1800VALIGN="TOP" 1801> a Catalog</TD 1802></TR 1803><TR 1804><TD 1805WIDTH="20%" 1806ALIGN="RIGHT" 1807VALIGN="TOP" 1808><TT 1809CLASS="PARAMETER" 1810><I 1811>out</I 1812></TT 1813> :</TD 1814><TD 1815WIDTH="80%" 1816ALIGN="LEFT" 1817VALIGN="TOP" 1818> the file.</TD 1819></TR 1820></TBODY 1821></TABLE 1822><P 1823></P 1824></DIV 1825></DIV 1826><HR><DIV 1827CLASS="REFSECT2" 1828><A 1829NAME="AEN20227" 1830></A 1831><H3 1832><A 1833NAME="XMLFREECATALOG" 1834></A 1835>xmlFreeCatalog ()</H3 1836><TABLE 1837BORDER="0" 1838BGCOLOR="#D6E8FF" 1839WIDTH="100%" 1840CELLPADDING="6" 1841><TR 1842><TD 1843><PRE 1844CLASS="PROGRAMLISTING" 1845>void xmlFreeCatalog (<A 1846HREF="libxml-catalog.html#XMLCATALOGPTR" 1847>xmlCatalogPtr</A 1848> catal);</PRE 1849></TD 1850></TR 1851></TABLE 1852><P 1853>Free the memory allocated to a Catalog</P 1854><P 1855></P 1856><DIV 1857CLASS="INFORMALTABLE" 1858><A 1859NAME="AEN20234"><P 1860></P 1861><TABLE 1862BORDER="0" 1863WIDTH="100%" 1864BGCOLOR="#FFD0D0" 1865CELLSPACING="0" 1866CELLPADDING="4" 1867CLASS="CALSTABLE" 1868><TBODY 1869><TR 1870><TD 1871WIDTH="20%" 1872ALIGN="RIGHT" 1873VALIGN="TOP" 1874><TT 1875CLASS="PARAMETER" 1876><I 1877>catal</I 1878></TT 1879> :</TD 1880><TD 1881WIDTH="80%" 1882ALIGN="LEFT" 1883VALIGN="TOP" 1884> a Catalog entry</TD 1885></TR 1886></TBODY 1887></TABLE 1888><P 1889></P 1890></DIV 1891></DIV 1892><HR><DIV 1893CLASS="REFSECT2" 1894><A 1895NAME="AEN20243" 1896></A 1897><H3 1898><A 1899NAME="XMLCATALOGISEMPTY" 1900></A 1901>xmlCatalogIsEmpty ()</H3 1902><TABLE 1903BORDER="0" 1904BGCOLOR="#D6E8FF" 1905WIDTH="100%" 1906CELLPADDING="6" 1907><TR 1908><TD 1909><PRE 1910CLASS="PROGRAMLISTING" 1911>int xmlCatalogIsEmpty (<A 1912HREF="libxml-catalog.html#XMLCATALOGPTR" 1913>xmlCatalogPtr</A 1914> catal);</PRE 1915></TD 1916></TR 1917></TABLE 1918><P 1919>Check is a catalog is empty</P 1920><P 1921></P 1922><DIV 1923CLASS="INFORMALTABLE" 1924><A 1925NAME="AEN20250"><P 1926></P 1927><TABLE 1928BORDER="0" 1929WIDTH="100%" 1930BGCOLOR="#FFD0D0" 1931CELLSPACING="0" 1932CELLPADDING="4" 1933CLASS="CALSTABLE" 1934><TBODY 1935><TR 1936><TD 1937WIDTH="20%" 1938ALIGN="RIGHT" 1939VALIGN="TOP" 1940><TT 1941CLASS="PARAMETER" 1942><I 1943>catal</I 1944></TT 1945> :</TD 1946><TD 1947WIDTH="80%" 1948ALIGN="LEFT" 1949VALIGN="TOP" 1950> should this create an SGML catalog</TD 1951></TR 1952><TR 1953><TD 1954WIDTH="20%" 1955ALIGN="RIGHT" 1956VALIGN="TOP" 1957><SPAN 1958CLASS="emphasis" 1959><I 1960CLASS="EMPHASIS" 1961>Returns</I 1962></SPAN 1963> :</TD 1964><TD 1965WIDTH="80%" 1966ALIGN="LEFT" 1967VALIGN="TOP" 1968>1 if the catalog is empty, 0 if not, amd -1 in case of error.</TD 1969></TR 1970></TBODY 1971></TABLE 1972><P 1973></P 1974></DIV 1975></DIV 1976><HR><DIV 1977CLASS="REFSECT2" 1978><A 1979NAME="AEN20263" 1980></A 1981><H3 1982><A 1983NAME="XMLINITIALIZECATALOG" 1984></A 1985>xmlInitializeCatalog ()</H3 1986><TABLE 1987BORDER="0" 1988BGCOLOR="#D6E8FF" 1989WIDTH="100%" 1990CELLPADDING="6" 1991><TR 1992><TD 1993><PRE 1994CLASS="PROGRAMLISTING" 1995>void xmlInitializeCatalog (void);</PRE 1996></TD 1997></TR 1998></TABLE 1999><P 2000>Do the catalog initialization. 2001this function is not thread safe, catalog initialization should 2002preferably be done once at startup</P 2003><P 2004></P 2005></DIV 2006><HR><DIV 2007CLASS="REFSECT2" 2008><A 2009NAME="AEN20269" 2010></A 2011><H3 2012><A 2013NAME="XMLLOADCATALOG" 2014></A 2015>xmlLoadCatalog ()</H3 2016><TABLE 2017BORDER="0" 2018BGCOLOR="#D6E8FF" 2019WIDTH="100%" 2020CELLPADDING="6" 2021><TR 2022><TD 2023><PRE 2024CLASS="PROGRAMLISTING" 2025>int xmlLoadCatalog (const char *filename);</PRE 2026></TD 2027></TR 2028></TABLE 2029><P 2030>Load the catalog and makes its definitions effective for the default 2031external entity loader. It will recurse in SGML CATALOG entries. 2032this function is not thread safe, catalog initialization should 2033preferably be done once at startup</P 2034><P 2035></P 2036><DIV 2037CLASS="INFORMALTABLE" 2038><A 2039NAME="AEN20275"><P 2040></P 2041><TABLE 2042BORDER="0" 2043WIDTH="100%" 2044BGCOLOR="#FFD0D0" 2045CELLSPACING="0" 2046CELLPADDING="4" 2047CLASS="CALSTABLE" 2048><TBODY 2049><TR 2050><TD 2051WIDTH="20%" 2052ALIGN="RIGHT" 2053VALIGN="TOP" 2054><TT 2055CLASS="PARAMETER" 2056><I 2057>filename</I 2058></TT 2059> :</TD 2060><TD 2061WIDTH="80%" 2062ALIGN="LEFT" 2063VALIGN="TOP" 2064> a file path</TD 2065></TR 2066><TR 2067><TD 2068WIDTH="20%" 2069ALIGN="RIGHT" 2070VALIGN="TOP" 2071><SPAN 2072CLASS="emphasis" 2073><I 2074CLASS="EMPHASIS" 2075>Returns</I 2076></SPAN 2077> :</TD 2078><TD 2079WIDTH="80%" 2080ALIGN="LEFT" 2081VALIGN="TOP" 2082>0 in case of success -1 in case of error</TD 2083></TR 2084></TBODY 2085></TABLE 2086><P 2087></P 2088></DIV 2089></DIV 2090><HR><DIV 2091CLASS="REFSECT2" 2092><A 2093NAME="AEN20288" 2094></A 2095><H3 2096><A 2097NAME="XMLLOADCATALOGS" 2098></A 2099>xmlLoadCatalogs ()</H3 2100><TABLE 2101BORDER="0" 2102BGCOLOR="#D6E8FF" 2103WIDTH="100%" 2104CELLPADDING="6" 2105><TR 2106><TD 2107><PRE 2108CLASS="PROGRAMLISTING" 2109>void xmlLoadCatalogs (const char *paths);</PRE 2110></TD 2111></TR 2112></TABLE 2113><P 2114>Load the catalogs and makes their definitions effective for the default 2115external entity loader. 2116this function is not thread safe, catalog initialization should 2117preferably be done once at startup</P 2118><P 2119></P 2120><DIV 2121CLASS="INFORMALTABLE" 2122><A 2123NAME="AEN20294"><P 2124></P 2125><TABLE 2126BORDER="0" 2127WIDTH="100%" 2128BGCOLOR="#FFD0D0" 2129CELLSPACING="0" 2130CELLPADDING="4" 2131CLASS="CALSTABLE" 2132><TBODY 2133><TR 2134><TD 2135WIDTH="20%" 2136ALIGN="RIGHT" 2137VALIGN="TOP" 2138><TT 2139CLASS="PARAMETER" 2140><I 2141>paths</I 2142></TT 2143> :</TD 2144><TD 2145WIDTH="80%" 2146ALIGN="LEFT" 2147VALIGN="TOP" 2148> a list of file path separated by ':' or spaces</TD 2149></TR 2150></TBODY 2151></TABLE 2152><P 2153></P 2154></DIV 2155></DIV 2156><HR><DIV 2157CLASS="REFSECT2" 2158><A 2159NAME="AEN20303" 2160></A 2161><H3 2162><A 2163NAME="XMLCATALOGCLEANUP" 2164></A 2165>xmlCatalogCleanup ()</H3 2166><TABLE 2167BORDER="0" 2168BGCOLOR="#D6E8FF" 2169WIDTH="100%" 2170CELLPADDING="6" 2171><TR 2172><TD 2173><PRE 2174CLASS="PROGRAMLISTING" 2175>void xmlCatalogCleanup (void);</PRE 2176></TD 2177></TR 2178></TABLE 2179><P 2180>Free up all the memory associated with catalogs</P 2181><P 2182></P 2183></DIV 2184><HR><DIV 2185CLASS="REFSECT2" 2186><A 2187NAME="AEN20309" 2188></A 2189><H3 2190><A 2191NAME="XMLCATALOGDUMP" 2192></A 2193>xmlCatalogDump ()</H3 2194><TABLE 2195BORDER="0" 2196BGCOLOR="#D6E8FF" 2197WIDTH="100%" 2198CELLPADDING="6" 2199><TR 2200><TD 2201><PRE 2202CLASS="PROGRAMLISTING" 2203>void xmlCatalogDump (<GTKDOCLINK 2204HREF="FILE-CAPS" 2205>FILE</GTKDOCLINK 2206> *out);</PRE 2207></TD 2208></TR 2209></TABLE 2210><P 2211>Free up all the memory associated with catalogs</P 2212><P 2213></P 2214><DIV 2215CLASS="INFORMALTABLE" 2216><A 2217NAME="AEN20316"><P 2218></P 2219><TABLE 2220BORDER="0" 2221WIDTH="100%" 2222BGCOLOR="#FFD0D0" 2223CELLSPACING="0" 2224CELLPADDING="4" 2225CLASS="CALSTABLE" 2226><TBODY 2227><TR 2228><TD 2229WIDTH="20%" 2230ALIGN="RIGHT" 2231VALIGN="TOP" 2232><TT 2233CLASS="PARAMETER" 2234><I 2235>out</I 2236></TT 2237> :</TD 2238><TD 2239WIDTH="80%" 2240ALIGN="LEFT" 2241VALIGN="TOP" 2242> the file.</TD 2243></TR 2244></TBODY 2245></TABLE 2246><P 2247></P 2248></DIV 2249></DIV 2250><HR><DIV 2251CLASS="REFSECT2" 2252><A 2253NAME="AEN20325" 2254></A 2255><H3 2256><A 2257NAME="XMLCATALOGRESOLVE" 2258></A 2259>xmlCatalogResolve ()</H3 2260><TABLE 2261BORDER="0" 2262BGCOLOR="#D6E8FF" 2263WIDTH="100%" 2264CELLPADDING="6" 2265><TR 2266><TD 2267><PRE 2268CLASS="PROGRAMLISTING" 2269><A 2270HREF="libxml-tree.html#XMLCHAR" 2271>xmlChar</A 2272>* xmlCatalogResolve (const <A 2273HREF="libxml-tree.html#XMLCHAR" 2274>xmlChar</A 2275> *pubID, 2276 const <A 2277HREF="libxml-tree.html#XMLCHAR" 2278>xmlChar</A 2279> *sysID);</PRE 2280></TD 2281></TR 2282></TABLE 2283><P 2284>Do a complete resolution lookup of an External Identifier</P 2285><P 2286></P 2287><DIV 2288CLASS="INFORMALTABLE" 2289><A 2290NAME="AEN20334"><P 2291></P 2292><TABLE 2293BORDER="0" 2294WIDTH="100%" 2295BGCOLOR="#FFD0D0" 2296CELLSPACING="0" 2297CELLPADDING="4" 2298CLASS="CALSTABLE" 2299><TBODY 2300><TR 2301><TD 2302WIDTH="20%" 2303ALIGN="RIGHT" 2304VALIGN="TOP" 2305><TT 2306CLASS="PARAMETER" 2307><I 2308>pubID</I 2309></TT 2310> :</TD 2311><TD 2312WIDTH="80%" 2313ALIGN="LEFT" 2314VALIGN="TOP" 2315> the public ID string</TD 2316></TR 2317><TR 2318><TD 2319WIDTH="20%" 2320ALIGN="RIGHT" 2321VALIGN="TOP" 2322><TT 2323CLASS="PARAMETER" 2324><I 2325>sysID</I 2326></TT 2327> :</TD 2328><TD 2329WIDTH="80%" 2330ALIGN="LEFT" 2331VALIGN="TOP" 2332> the system ID string</TD 2333></TR 2334><TR 2335><TD 2336WIDTH="20%" 2337ALIGN="RIGHT" 2338VALIGN="TOP" 2339><SPAN 2340CLASS="emphasis" 2341><I 2342CLASS="EMPHASIS" 2343>Returns</I 2344></SPAN 2345> :</TD 2346><TD 2347WIDTH="80%" 2348ALIGN="LEFT" 2349VALIGN="TOP" 2350>the URI of the resource or NULL if not found, it must be freed 2351by the caller.</TD 2352></TR 2353></TBODY 2354></TABLE 2355><P 2356></P 2357></DIV 2358></DIV 2359><HR><DIV 2360CLASS="REFSECT2" 2361><A 2362NAME="AEN20351" 2363></A 2364><H3 2365><A 2366NAME="XMLCATALOGRESOLVESYSTEM" 2367></A 2368>xmlCatalogResolveSystem ()</H3 2369><TABLE 2370BORDER="0" 2371BGCOLOR="#D6E8FF" 2372WIDTH="100%" 2373CELLPADDING="6" 2374><TR 2375><TD 2376><PRE 2377CLASS="PROGRAMLISTING" 2378><A 2379HREF="libxml-tree.html#XMLCHAR" 2380>xmlChar</A 2381>* xmlCatalogResolveSystem (const <A 2382HREF="libxml-tree.html#XMLCHAR" 2383>xmlChar</A 2384> *sysID);</PRE 2385></TD 2386></TR 2387></TABLE 2388><P 2389>Try to lookup the catalog resource for a system ID</P 2390><P 2391></P 2392><DIV 2393CLASS="INFORMALTABLE" 2394><A 2395NAME="AEN20359"><P 2396></P 2397><TABLE 2398BORDER="0" 2399WIDTH="100%" 2400BGCOLOR="#FFD0D0" 2401CELLSPACING="0" 2402CELLPADDING="4" 2403CLASS="CALSTABLE" 2404><TBODY 2405><TR 2406><TD 2407WIDTH="20%" 2408ALIGN="RIGHT" 2409VALIGN="TOP" 2410><TT 2411CLASS="PARAMETER" 2412><I 2413>sysID</I 2414></TT 2415> :</TD 2416><TD 2417WIDTH="80%" 2418ALIGN="LEFT" 2419VALIGN="TOP" 2420> the public ID string</TD 2421></TR 2422><TR 2423><TD 2424WIDTH="20%" 2425ALIGN="RIGHT" 2426VALIGN="TOP" 2427><SPAN 2428CLASS="emphasis" 2429><I 2430CLASS="EMPHASIS" 2431>Returns</I 2432></SPAN 2433> :</TD 2434><TD 2435WIDTH="80%" 2436ALIGN="LEFT" 2437VALIGN="TOP" 2438>the system ID if found or NULL otherwise, the value returned 2439must be freed by the caller.</TD 2440></TR 2441></TBODY 2442></TABLE 2443><P 2444></P 2445></DIV 2446></DIV 2447><HR><DIV 2448CLASS="REFSECT2" 2449><A 2450NAME="AEN20372" 2451></A 2452><H3 2453><A 2454NAME="XMLCATALOGRESOLVEPUBLIC" 2455></A 2456>xmlCatalogResolvePublic ()</H3 2457><TABLE 2458BORDER="0" 2459BGCOLOR="#D6E8FF" 2460WIDTH="100%" 2461CELLPADDING="6" 2462><TR 2463><TD 2464><PRE 2465CLASS="PROGRAMLISTING" 2466><A 2467HREF="libxml-tree.html#XMLCHAR" 2468>xmlChar</A 2469>* xmlCatalogResolvePublic (const <A 2470HREF="libxml-tree.html#XMLCHAR" 2471>xmlChar</A 2472> *pubID);</PRE 2473></TD 2474></TR 2475></TABLE 2476><P 2477>Try to lookup the system ID associated to a public ID</P 2478><P 2479></P 2480><DIV 2481CLASS="INFORMALTABLE" 2482><A 2483NAME="AEN20380"><P 2484></P 2485><TABLE 2486BORDER="0" 2487WIDTH="100%" 2488BGCOLOR="#FFD0D0" 2489CELLSPACING="0" 2490CELLPADDING="4" 2491CLASS="CALSTABLE" 2492><TBODY 2493><TR 2494><TD 2495WIDTH="20%" 2496ALIGN="RIGHT" 2497VALIGN="TOP" 2498><TT 2499CLASS="PARAMETER" 2500><I 2501>pubID</I 2502></TT 2503> :</TD 2504><TD 2505WIDTH="80%" 2506ALIGN="LEFT" 2507VALIGN="TOP" 2508> the public ID string</TD 2509></TR 2510><TR 2511><TD 2512WIDTH="20%" 2513ALIGN="RIGHT" 2514VALIGN="TOP" 2515><SPAN 2516CLASS="emphasis" 2517><I 2518CLASS="EMPHASIS" 2519>Returns</I 2520></SPAN 2521> :</TD 2522><TD 2523WIDTH="80%" 2524ALIGN="LEFT" 2525VALIGN="TOP" 2526>the system ID if found or NULL otherwise, the value returned 2527must be freed by the caller.</TD 2528></TR 2529></TBODY 2530></TABLE 2531><P 2532></P 2533></DIV 2534></DIV 2535><HR><DIV 2536CLASS="REFSECT2" 2537><A 2538NAME="AEN20393" 2539></A 2540><H3 2541><A 2542NAME="XMLCATALOGRESOLVEURI" 2543></A 2544>xmlCatalogResolveURI ()</H3 2545><TABLE 2546BORDER="0" 2547BGCOLOR="#D6E8FF" 2548WIDTH="100%" 2549CELLPADDING="6" 2550><TR 2551><TD 2552><PRE 2553CLASS="PROGRAMLISTING" 2554><A 2555HREF="libxml-tree.html#XMLCHAR" 2556>xmlChar</A 2557>* xmlCatalogResolveURI (const <A 2558HREF="libxml-tree.html#XMLCHAR" 2559>xmlChar</A 2560> *URI);</PRE 2561></TD 2562></TR 2563></TABLE 2564><P 2565>Do a complete resolution lookup of an URI</P 2566><P 2567></P 2568><DIV 2569CLASS="INFORMALTABLE" 2570><A 2571NAME="AEN20401"><P 2572></P 2573><TABLE 2574BORDER="0" 2575WIDTH="100%" 2576BGCOLOR="#FFD0D0" 2577CELLSPACING="0" 2578CELLPADDING="4" 2579CLASS="CALSTABLE" 2580><TBODY 2581><TR 2582><TD 2583WIDTH="20%" 2584ALIGN="RIGHT" 2585VALIGN="TOP" 2586><TT 2587CLASS="PARAMETER" 2588><I 2589>URI</I 2590></TT 2591> :</TD 2592><TD 2593WIDTH="80%" 2594ALIGN="LEFT" 2595VALIGN="TOP" 2596> the URI</TD 2597></TR 2598><TR 2599><TD 2600WIDTH="20%" 2601ALIGN="RIGHT" 2602VALIGN="TOP" 2603><SPAN 2604CLASS="emphasis" 2605><I 2606CLASS="EMPHASIS" 2607>Returns</I 2608></SPAN 2609> :</TD 2610><TD 2611WIDTH="80%" 2612ALIGN="LEFT" 2613VALIGN="TOP" 2614>the URI of the resource or NULL if not found, it must be freed 2615by the caller.</TD 2616></TR 2617></TBODY 2618></TABLE 2619><P 2620></P 2621></DIV 2622></DIV 2623><HR><DIV 2624CLASS="REFSECT2" 2625><A 2626NAME="AEN20414" 2627></A 2628><H3 2629><A 2630NAME="XMLCATALOGADD" 2631></A 2632>xmlCatalogAdd ()</H3 2633><TABLE 2634BORDER="0" 2635BGCOLOR="#D6E8FF" 2636WIDTH="100%" 2637CELLPADDING="6" 2638><TR 2639><TD 2640><PRE 2641CLASS="PROGRAMLISTING" 2642>int xmlCatalogAdd (const <A 2643HREF="libxml-tree.html#XMLCHAR" 2644>xmlChar</A 2645> *type, 2646 const <A 2647HREF="libxml-tree.html#XMLCHAR" 2648>xmlChar</A 2649> *orig, 2650 const <A 2651HREF="libxml-tree.html#XMLCHAR" 2652>xmlChar</A 2653> *replace);</PRE 2654></TD 2655></TR 2656></TABLE 2657><P 2658>Add an entry in the catalog, it may overwrite existing but 2659different entries. 2660If called before any other catalog routine, allows to override the 2661default shared catalog put in place by <A 2662HREF="libxml-catalog.html#XMLINITIALIZECATALOG" 2663>xmlInitializeCatalog</A 2664>();</P 2665><P 2666></P 2667><DIV 2668CLASS="INFORMALTABLE" 2669><A 2670NAME="AEN20424"><P 2671></P 2672><TABLE 2673BORDER="0" 2674WIDTH="100%" 2675BGCOLOR="#FFD0D0" 2676CELLSPACING="0" 2677CELLPADDING="4" 2678CLASS="CALSTABLE" 2679><TBODY 2680><TR 2681><TD 2682WIDTH="20%" 2683ALIGN="RIGHT" 2684VALIGN="TOP" 2685><TT 2686CLASS="PARAMETER" 2687><I 2688>type</I 2689></TT 2690> :</TD 2691><TD 2692WIDTH="80%" 2693ALIGN="LEFT" 2694VALIGN="TOP" 2695> the type of record to add to the catalog</TD 2696></TR 2697><TR 2698><TD 2699WIDTH="20%" 2700ALIGN="RIGHT" 2701VALIGN="TOP" 2702><TT 2703CLASS="PARAMETER" 2704><I 2705>orig</I 2706></TT 2707> :</TD 2708><TD 2709WIDTH="80%" 2710ALIGN="LEFT" 2711VALIGN="TOP" 2712> the system, public or prefix to match </TD 2713></TR 2714><TR 2715><TD 2716WIDTH="20%" 2717ALIGN="RIGHT" 2718VALIGN="TOP" 2719><TT 2720CLASS="PARAMETER" 2721><I 2722>replace</I 2723></TT 2724> :</TD 2725><TD 2726WIDTH="80%" 2727ALIGN="LEFT" 2728VALIGN="TOP" 2729> the replacement value for the match</TD 2730></TR 2731><TR 2732><TD 2733WIDTH="20%" 2734ALIGN="RIGHT" 2735VALIGN="TOP" 2736><SPAN 2737CLASS="emphasis" 2738><I 2739CLASS="EMPHASIS" 2740>Returns</I 2741></SPAN 2742> :</TD 2743><TD 2744WIDTH="80%" 2745ALIGN="LEFT" 2746VALIGN="TOP" 2747>0 if successful, -1 otherwise</TD 2748></TR 2749></TBODY 2750></TABLE 2751><P 2752></P 2753></DIV 2754></DIV 2755><HR><DIV 2756CLASS="REFSECT2" 2757><A 2758NAME="AEN20445" 2759></A 2760><H3 2761><A 2762NAME="XMLCATALOGREMOVE" 2763></A 2764>xmlCatalogRemove ()</H3 2765><TABLE 2766BORDER="0" 2767BGCOLOR="#D6E8FF" 2768WIDTH="100%" 2769CELLPADDING="6" 2770><TR 2771><TD 2772><PRE 2773CLASS="PROGRAMLISTING" 2774>int xmlCatalogRemove (const <A 2775HREF="libxml-tree.html#XMLCHAR" 2776>xmlChar</A 2777> *value);</PRE 2778></TD 2779></TR 2780></TABLE 2781><P 2782>Remove an entry from the catalog</P 2783><P 2784></P 2785><DIV 2786CLASS="INFORMALTABLE" 2787><A 2788NAME="AEN20452"><P 2789></P 2790><TABLE 2791BORDER="0" 2792WIDTH="100%" 2793BGCOLOR="#FFD0D0" 2794CELLSPACING="0" 2795CELLPADDING="4" 2796CLASS="CALSTABLE" 2797><TBODY 2798><TR 2799><TD 2800WIDTH="20%" 2801ALIGN="RIGHT" 2802VALIGN="TOP" 2803><TT 2804CLASS="PARAMETER" 2805><I 2806>value</I 2807></TT 2808> :</TD 2809><TD 2810WIDTH="80%" 2811ALIGN="LEFT" 2812VALIGN="TOP" 2813> the value to remove</TD 2814></TR 2815><TR 2816><TD 2817WIDTH="20%" 2818ALIGN="RIGHT" 2819VALIGN="TOP" 2820><SPAN 2821CLASS="emphasis" 2822><I 2823CLASS="EMPHASIS" 2824>Returns</I 2825></SPAN 2826> :</TD 2827><TD 2828WIDTH="80%" 2829ALIGN="LEFT" 2830VALIGN="TOP" 2831>the number of entries removed if successful, -1 otherwise</TD 2832></TR 2833></TBODY 2834></TABLE 2835><P 2836></P 2837></DIV 2838></DIV 2839><HR><DIV 2840CLASS="REFSECT2" 2841><A 2842NAME="AEN20465" 2843></A 2844><H3 2845><A 2846NAME="XMLPARSECATALOGFILE" 2847></A 2848>xmlParseCatalogFile ()</H3 2849><TABLE 2850BORDER="0" 2851BGCOLOR="#D6E8FF" 2852WIDTH="100%" 2853CELLPADDING="6" 2854><TR 2855><TD 2856><PRE 2857CLASS="PROGRAMLISTING" 2858><A 2859HREF="libxml-tree.html#XMLDOCPTR" 2860>xmlDocPtr</A 2861> xmlParseCatalogFile (const char *filename);</PRE 2862></TD 2863></TR 2864></TABLE 2865><P 2866>parse an XML file and build a tree. It's like <A 2867HREF="libxml-parser.html#XMLPARSEFILE" 2868>xmlParseFile</A 2869>() 2870except it bypass all catalog lookups.</P 2871><P 2872></P 2873><DIV 2874CLASS="INFORMALTABLE" 2875><A 2876NAME="AEN20473"><P 2877></P 2878><TABLE 2879BORDER="0" 2880WIDTH="100%" 2881BGCOLOR="#FFD0D0" 2882CELLSPACING="0" 2883CELLPADDING="4" 2884CLASS="CALSTABLE" 2885><TBODY 2886><TR 2887><TD 2888WIDTH="20%" 2889ALIGN="RIGHT" 2890VALIGN="TOP" 2891><TT 2892CLASS="PARAMETER" 2893><I 2894>filename</I 2895></TT 2896> :</TD 2897><TD 2898WIDTH="80%" 2899ALIGN="LEFT" 2900VALIGN="TOP" 2901> the filename</TD 2902></TR 2903><TR 2904><TD 2905WIDTH="20%" 2906ALIGN="RIGHT" 2907VALIGN="TOP" 2908><SPAN 2909CLASS="emphasis" 2910><I 2911CLASS="EMPHASIS" 2912>Returns</I 2913></SPAN 2914> :</TD 2915><TD 2916WIDTH="80%" 2917ALIGN="LEFT" 2918VALIGN="TOP" 2919>the resulting document tree or NULL in case of error</TD 2920></TR 2921></TBODY 2922></TABLE 2923><P 2924></P 2925></DIV 2926></DIV 2927><HR><DIV 2928CLASS="REFSECT2" 2929><A 2930NAME="AEN20486" 2931></A 2932><H3 2933><A 2934NAME="XMLCATALOGCONVERT" 2935></A 2936>xmlCatalogConvert ()</H3 2937><TABLE 2938BORDER="0" 2939BGCOLOR="#D6E8FF" 2940WIDTH="100%" 2941CELLPADDING="6" 2942><TR 2943><TD 2944><PRE 2945CLASS="PROGRAMLISTING" 2946>int xmlCatalogConvert (void);</PRE 2947></TD 2948></TR 2949></TABLE 2950><P 2951>Convert all the SGML catalog entries as XML ones</P 2952><P 2953></P 2954><DIV 2955CLASS="INFORMALTABLE" 2956><A 2957NAME="AEN20492"><P 2958></P 2959><TABLE 2960BORDER="0" 2961WIDTH="100%" 2962BGCOLOR="#FFD0D0" 2963CELLSPACING="0" 2964CELLPADDING="4" 2965CLASS="CALSTABLE" 2966><TBODY 2967><TR 2968><TD 2969WIDTH="20%" 2970ALIGN="RIGHT" 2971VALIGN="TOP" 2972><SPAN 2973CLASS="emphasis" 2974><I 2975CLASS="EMPHASIS" 2976>Returns</I 2977></SPAN 2978> :</TD 2979><TD 2980WIDTH="80%" 2981ALIGN="LEFT" 2982VALIGN="TOP" 2983>the number of entries converted if successful, -1 otherwise</TD 2984></TR 2985></TBODY 2986></TABLE 2987><P 2988></P 2989></DIV 2990></DIV 2991><HR><DIV 2992CLASS="REFSECT2" 2993><A 2994NAME="AEN20501" 2995></A 2996><H3 2997><A 2998NAME="XMLCATALOGFREELOCAL" 2999></A 3000>xmlCatalogFreeLocal ()</H3 3001><TABLE 3002BORDER="0" 3003BGCOLOR="#D6E8FF" 3004WIDTH="100%" 3005CELLPADDING="6" 3006><TR 3007><TD 3008><PRE 3009CLASS="PROGRAMLISTING" 3010>void xmlCatalogFreeLocal (void *catalogs);</PRE 3011></TD 3012></TR 3013></TABLE 3014><P 3015>Free up the memory associated to the catalog list</P 3016><P 3017></P 3018><DIV 3019CLASS="INFORMALTABLE" 3020><A 3021NAME="AEN20507"><P 3022></P 3023><TABLE 3024BORDER="0" 3025WIDTH="100%" 3026BGCOLOR="#FFD0D0" 3027CELLSPACING="0" 3028CELLPADDING="4" 3029CLASS="CALSTABLE" 3030><TBODY 3031><TR 3032><TD 3033WIDTH="20%" 3034ALIGN="RIGHT" 3035VALIGN="TOP" 3036><TT 3037CLASS="PARAMETER" 3038><I 3039>catalogs</I 3040></TT 3041> :</TD 3042><TD 3043WIDTH="80%" 3044ALIGN="LEFT" 3045VALIGN="TOP" 3046> a document's list of catalogs</TD 3047></TR 3048></TBODY 3049></TABLE 3050><P 3051></P 3052></DIV 3053></DIV 3054><HR><DIV 3055CLASS="REFSECT2" 3056><A 3057NAME="AEN20516" 3058></A 3059><H3 3060><A 3061NAME="XMLCATALOGADDLOCAL" 3062></A 3063>xmlCatalogAddLocal ()</H3 3064><TABLE 3065BORDER="0" 3066BGCOLOR="#D6E8FF" 3067WIDTH="100%" 3068CELLPADDING="6" 3069><TR 3070><TD 3071><PRE 3072CLASS="PROGRAMLISTING" 3073>void* xmlCatalogAddLocal (void *catalogs, 3074 const <A 3075HREF="libxml-tree.html#XMLCHAR" 3076>xmlChar</A 3077> *URL);</PRE 3078></TD 3079></TR 3080></TABLE 3081><P 3082>Add the new entry to the catalog list</P 3083><P 3084></P 3085><DIV 3086CLASS="INFORMALTABLE" 3087><A 3088NAME="AEN20523"><P 3089></P 3090><TABLE 3091BORDER="0" 3092WIDTH="100%" 3093BGCOLOR="#FFD0D0" 3094CELLSPACING="0" 3095CELLPADDING="4" 3096CLASS="CALSTABLE" 3097><TBODY 3098><TR 3099><TD 3100WIDTH="20%" 3101ALIGN="RIGHT" 3102VALIGN="TOP" 3103><TT 3104CLASS="PARAMETER" 3105><I 3106>catalogs</I 3107></TT 3108> :</TD 3109><TD 3110WIDTH="80%" 3111ALIGN="LEFT" 3112VALIGN="TOP" 3113> a document's list of catalogs</TD 3114></TR 3115><TR 3116><TD 3117WIDTH="20%" 3118ALIGN="RIGHT" 3119VALIGN="TOP" 3120><TT 3121CLASS="PARAMETER" 3122><I 3123>URL</I 3124></TT 3125> :</TD 3126><TD 3127WIDTH="80%" 3128ALIGN="LEFT" 3129VALIGN="TOP" 3130> the URL to a new local catalog</TD 3131></TR 3132></TBODY 3133></TABLE 3134><P 3135></P 3136></DIV 3137></DIV 3138><HR><DIV 3139CLASS="REFSECT2" 3140><A 3141NAME="AEN20536" 3142></A 3143><H3 3144><A 3145NAME="XMLCATALOGLOCALRESOLVE" 3146></A 3147>xmlCatalogLocalResolve ()</H3 3148><TABLE 3149BORDER="0" 3150BGCOLOR="#D6E8FF" 3151WIDTH="100%" 3152CELLPADDING="6" 3153><TR 3154><TD 3155><PRE 3156CLASS="PROGRAMLISTING" 3157><A 3158HREF="libxml-tree.html#XMLCHAR" 3159>xmlChar</A 3160>* xmlCatalogLocalResolve (void *catalogs, 3161 const <A 3162HREF="libxml-tree.html#XMLCHAR" 3163>xmlChar</A 3164> *pubID, 3165 const <A 3166HREF="libxml-tree.html#XMLCHAR" 3167>xmlChar</A 3168> *sysID);</PRE 3169></TD 3170></TR 3171></TABLE 3172><P 3173>Do a complete resolution lookup of an External Identifier using a 3174document's private catalog list</P 3175><P 3176></P 3177><DIV 3178CLASS="INFORMALTABLE" 3179><A 3180NAME="AEN20545"><P 3181></P 3182><TABLE 3183BORDER="0" 3184WIDTH="100%" 3185BGCOLOR="#FFD0D0" 3186CELLSPACING="0" 3187CELLPADDING="4" 3188CLASS="CALSTABLE" 3189><TBODY 3190><TR 3191><TD 3192WIDTH="20%" 3193ALIGN="RIGHT" 3194VALIGN="TOP" 3195><TT 3196CLASS="PARAMETER" 3197><I 3198>catalogs</I 3199></TT 3200> :</TD 3201><TD 3202WIDTH="80%" 3203ALIGN="LEFT" 3204VALIGN="TOP" 3205> a document's list of catalogs</TD 3206></TR 3207><TR 3208><TD 3209WIDTH="20%" 3210ALIGN="RIGHT" 3211VALIGN="TOP" 3212><TT 3213CLASS="PARAMETER" 3214><I 3215>pubID</I 3216></TT 3217> :</TD 3218><TD 3219WIDTH="80%" 3220ALIGN="LEFT" 3221VALIGN="TOP" 3222> the public ID string</TD 3223></TR 3224><TR 3225><TD 3226WIDTH="20%" 3227ALIGN="RIGHT" 3228VALIGN="TOP" 3229><TT 3230CLASS="PARAMETER" 3231><I 3232>sysID</I 3233></TT 3234> :</TD 3235><TD 3236WIDTH="80%" 3237ALIGN="LEFT" 3238VALIGN="TOP" 3239> the system ID string</TD 3240></TR 3241><TR 3242><TD 3243WIDTH="20%" 3244ALIGN="RIGHT" 3245VALIGN="TOP" 3246><SPAN 3247CLASS="emphasis" 3248><I 3249CLASS="EMPHASIS" 3250>Returns</I 3251></SPAN 3252> :</TD 3253><TD 3254WIDTH="80%" 3255ALIGN="LEFT" 3256VALIGN="TOP" 3257>the URI of the resource or NULL if not found, it must be freed 3258by the caller.</TD 3259></TR 3260></TBODY 3261></TABLE 3262><P 3263></P 3264></DIV 3265></DIV 3266><HR><DIV 3267CLASS="REFSECT2" 3268><A 3269NAME="AEN20566" 3270></A 3271><H3 3272><A 3273NAME="XMLCATALOGLOCALRESOLVEURI" 3274></A 3275>xmlCatalogLocalResolveURI ()</H3 3276><TABLE 3277BORDER="0" 3278BGCOLOR="#D6E8FF" 3279WIDTH="100%" 3280CELLPADDING="6" 3281><TR 3282><TD 3283><PRE 3284CLASS="PROGRAMLISTING" 3285><A 3286HREF="libxml-tree.html#XMLCHAR" 3287>xmlChar</A 3288>* xmlCatalogLocalResolveURI (void *catalogs, 3289 const <A 3290HREF="libxml-tree.html#XMLCHAR" 3291>xmlChar</A 3292> *URI);</PRE 3293></TD 3294></TR 3295></TABLE 3296><P 3297>Do a complete resolution lookup of an URI using a 3298document's private catalog list</P 3299><P 3300></P 3301><DIV 3302CLASS="INFORMALTABLE" 3303><A 3304NAME="AEN20574"><P 3305></P 3306><TABLE 3307BORDER="0" 3308WIDTH="100%" 3309BGCOLOR="#FFD0D0" 3310CELLSPACING="0" 3311CELLPADDING="4" 3312CLASS="CALSTABLE" 3313><TBODY 3314><TR 3315><TD 3316WIDTH="20%" 3317ALIGN="RIGHT" 3318VALIGN="TOP" 3319><TT 3320CLASS="PARAMETER" 3321><I 3322>catalogs</I 3323></TT 3324> :</TD 3325><TD 3326WIDTH="80%" 3327ALIGN="LEFT" 3328VALIGN="TOP" 3329> a document's list of catalogs</TD 3330></TR 3331><TR 3332><TD 3333WIDTH="20%" 3334ALIGN="RIGHT" 3335VALIGN="TOP" 3336><TT 3337CLASS="PARAMETER" 3338><I 3339>URI</I 3340></TT 3341> :</TD 3342><TD 3343WIDTH="80%" 3344ALIGN="LEFT" 3345VALIGN="TOP" 3346> the URI</TD 3347></TR 3348><TR 3349><TD 3350WIDTH="20%" 3351ALIGN="RIGHT" 3352VALIGN="TOP" 3353><SPAN 3354CLASS="emphasis" 3355><I 3356CLASS="EMPHASIS" 3357>Returns</I 3358></SPAN 3359> :</TD 3360><TD 3361WIDTH="80%" 3362ALIGN="LEFT" 3363VALIGN="TOP" 3364>the URI of the resource or NULL if not found, it must be freed 3365by the caller.</TD 3366></TR 3367></TBODY 3368></TABLE 3369><P 3370></P 3371></DIV 3372></DIV 3373><HR><DIV 3374CLASS="REFSECT2" 3375><A 3376NAME="AEN20591" 3377></A 3378><H3 3379><A 3380NAME="XMLCATALOGSETDEBUG" 3381></A 3382>xmlCatalogSetDebug ()</H3 3383><TABLE 3384BORDER="0" 3385BGCOLOR="#D6E8FF" 3386WIDTH="100%" 3387CELLPADDING="6" 3388><TR 3389><TD 3390><PRE 3391CLASS="PROGRAMLISTING" 3392>int xmlCatalogSetDebug (int level);</PRE 3393></TD 3394></TR 3395></TABLE 3396><P 3397>Used to set the debug level for catalog operation, 0 disable 3398debugging, 1 enable it</P 3399><P 3400></P 3401><DIV 3402CLASS="INFORMALTABLE" 3403><A 3404NAME="AEN20597"><P 3405></P 3406><TABLE 3407BORDER="0" 3408WIDTH="100%" 3409BGCOLOR="#FFD0D0" 3410CELLSPACING="0" 3411CELLPADDING="4" 3412CLASS="CALSTABLE" 3413><TBODY 3414><TR 3415><TD 3416WIDTH="20%" 3417ALIGN="RIGHT" 3418VALIGN="TOP" 3419><TT 3420CLASS="PARAMETER" 3421><I 3422>level</I 3423></TT 3424> :</TD 3425><TD 3426WIDTH="80%" 3427ALIGN="LEFT" 3428VALIGN="TOP" 3429> the debug level of catalogs required</TD 3430></TR 3431><TR 3432><TD 3433WIDTH="20%" 3434ALIGN="RIGHT" 3435VALIGN="TOP" 3436><SPAN 3437CLASS="emphasis" 3438><I 3439CLASS="EMPHASIS" 3440>Returns</I 3441></SPAN 3442> :</TD 3443><TD 3444WIDTH="80%" 3445ALIGN="LEFT" 3446VALIGN="TOP" 3447>the previous value of the catalog debugging level</TD 3448></TR 3449></TBODY 3450></TABLE 3451><P 3452></P 3453></DIV 3454></DIV 3455><HR><DIV 3456CLASS="REFSECT2" 3457><A 3458NAME="AEN20610" 3459></A 3460><H3 3461><A 3462NAME="XMLCATALOGSETDEFAULTPREFER" 3463></A 3464>xmlCatalogSetDefaultPrefer ()</H3 3465><TABLE 3466BORDER="0" 3467BGCOLOR="#D6E8FF" 3468WIDTH="100%" 3469CELLPADDING="6" 3470><TR 3471><TD 3472><PRE 3473CLASS="PROGRAMLISTING" 3474><A 3475HREF="libxml-catalog.html#XMLCATALOGPREFER" 3476>xmlCatalogPrefer</A 3477> xmlCatalogSetDefaultPrefer (<A 3478HREF="libxml-catalog.html#XMLCATALOGPREFER" 3479>xmlCatalogPrefer</A 3480> prefer);</PRE 3481></TD 3482></TR 3483></TABLE 3484><P 3485>Allows to set the preference between public and system for deletion 3486in XML Catalog resolution. C.f. section 4.1.1 of the spec 3487Values accepted are XML_CATA_PREFER_PUBLIC or XML_CATA_PREFER_SYSTEM</P 3488><P 3489></P 3490><DIV 3491CLASS="INFORMALTABLE" 3492><A 3493NAME="AEN20618"><P 3494></P 3495><TABLE 3496BORDER="0" 3497WIDTH="100%" 3498BGCOLOR="#FFD0D0" 3499CELLSPACING="0" 3500CELLPADDING="4" 3501CLASS="CALSTABLE" 3502><TBODY 3503><TR 3504><TD 3505WIDTH="20%" 3506ALIGN="RIGHT" 3507VALIGN="TOP" 3508><TT 3509CLASS="PARAMETER" 3510><I 3511>prefer</I 3512></TT 3513> :</TD 3514><TD 3515WIDTH="80%" 3516ALIGN="LEFT" 3517VALIGN="TOP" 3518> the default preference for delegation</TD 3519></TR 3520><TR 3521><TD 3522WIDTH="20%" 3523ALIGN="RIGHT" 3524VALIGN="TOP" 3525><SPAN 3526CLASS="emphasis" 3527><I 3528CLASS="EMPHASIS" 3529>Returns</I 3530></SPAN 3531> :</TD 3532><TD 3533WIDTH="80%" 3534ALIGN="LEFT" 3535VALIGN="TOP" 3536>the previous value of the default preference for delegation</TD 3537></TR 3538></TBODY 3539></TABLE 3540><P 3541></P 3542></DIV 3543></DIV 3544><HR><DIV 3545CLASS="REFSECT2" 3546><A 3547NAME="AEN20631" 3548></A 3549><H3 3550><A 3551NAME="XMLCATALOGSETDEFAULTS" 3552></A 3553>xmlCatalogSetDefaults ()</H3 3554><TABLE 3555BORDER="0" 3556BGCOLOR="#D6E8FF" 3557WIDTH="100%" 3558CELLPADDING="6" 3559><TR 3560><TD 3561><PRE 3562CLASS="PROGRAMLISTING" 3563>void xmlCatalogSetDefaults (<A 3564HREF="libxml-catalog.html#XMLCATALOGALLOW" 3565>xmlCatalogAllow</A 3566> allow);</PRE 3567></TD 3568></TR 3569></TABLE 3570><P 3571>Used to set the user preference w.r.t. to what catalogs should 3572be accepted</P 3573><P 3574></P 3575><DIV 3576CLASS="INFORMALTABLE" 3577><A 3578NAME="AEN20638"><P 3579></P 3580><TABLE 3581BORDER="0" 3582WIDTH="100%" 3583BGCOLOR="#FFD0D0" 3584CELLSPACING="0" 3585CELLPADDING="4" 3586CLASS="CALSTABLE" 3587><TBODY 3588><TR 3589><TD 3590WIDTH="20%" 3591ALIGN="RIGHT" 3592VALIGN="TOP" 3593><TT 3594CLASS="PARAMETER" 3595><I 3596>allow</I 3597></TT 3598> :</TD 3599><TD 3600WIDTH="80%" 3601ALIGN="LEFT" 3602VALIGN="TOP" 3603> what catalogs should be accepted</TD 3604></TR 3605></TBODY 3606></TABLE 3607><P 3608></P 3609></DIV 3610></DIV 3611><HR><DIV 3612CLASS="REFSECT2" 3613><A 3614NAME="AEN20647" 3615></A 3616><H3 3617><A 3618NAME="XMLCATALOGGETDEFAULTS" 3619></A 3620>xmlCatalogGetDefaults ()</H3 3621><TABLE 3622BORDER="0" 3623BGCOLOR="#D6E8FF" 3624WIDTH="100%" 3625CELLPADDING="6" 3626><TR 3627><TD 3628><PRE 3629CLASS="PROGRAMLISTING" 3630><A 3631HREF="libxml-catalog.html#XMLCATALOGALLOW" 3632>xmlCatalogAllow</A 3633> xmlCatalogGetDefaults (void);</PRE 3634></TD 3635></TR 3636></TABLE 3637><P 3638>Used to get the user preference w.r.t. to what catalogs should 3639be accepted</P 3640><P 3641></P 3642><DIV 3643CLASS="INFORMALTABLE" 3644><A 3645NAME="AEN20654"><P 3646></P 3647><TABLE 3648BORDER="0" 3649WIDTH="100%" 3650BGCOLOR="#FFD0D0" 3651CELLSPACING="0" 3652CELLPADDING="4" 3653CLASS="CALSTABLE" 3654><TBODY 3655><TR 3656><TD 3657WIDTH="20%" 3658ALIGN="RIGHT" 3659VALIGN="TOP" 3660><SPAN 3661CLASS="emphasis" 3662><I 3663CLASS="EMPHASIS" 3664>Returns</I 3665></SPAN 3666> :</TD 3667><TD 3668WIDTH="80%" 3669ALIGN="LEFT" 3670VALIGN="TOP" 3671>the current xmlCatalogAllow value</TD 3672></TR 3673></TBODY 3674></TABLE 3675><P 3676></P 3677></DIV 3678></DIV 3679><HR><DIV 3680CLASS="REFSECT2" 3681><A 3682NAME="AEN20663" 3683></A 3684><H3 3685><A 3686NAME="XMLCATALOGGETSYSTEM" 3687></A 3688>xmlCatalogGetSystem ()</H3 3689><TABLE 3690BORDER="0" 3691BGCOLOR="#D6E8FF" 3692WIDTH="100%" 3693CELLPADDING="6" 3694><TR 3695><TD 3696><PRE 3697CLASS="PROGRAMLISTING" 3698>const <A 3699HREF="libxml-tree.html#XMLCHAR" 3700>xmlChar</A 3701>* xmlCatalogGetSystem (const <A 3702HREF="libxml-tree.html#XMLCHAR" 3703>xmlChar</A 3704> *sysID);</PRE 3705></TD 3706></TR 3707></TABLE 3708><P 3709>Try to lookup the system ID associated to a public ID 3710DEPRECATED, use <A 3711HREF="libxml-catalog.html#XMLCATALOGRESOLVESYSTEM" 3712>xmlCatalogResolveSystem</A 3713>()</P 3714><P 3715></P 3716><DIV 3717CLASS="INFORMALTABLE" 3718><A 3719NAME="AEN20672"><P 3720></P 3721><TABLE 3722BORDER="0" 3723WIDTH="100%" 3724BGCOLOR="#FFD0D0" 3725CELLSPACING="0" 3726CELLPADDING="4" 3727CLASS="CALSTABLE" 3728><TBODY 3729><TR 3730><TD 3731WIDTH="20%" 3732ALIGN="RIGHT" 3733VALIGN="TOP" 3734><TT 3735CLASS="PARAMETER" 3736><I 3737>sysID</I 3738></TT 3739> :</TD 3740><TD 3741WIDTH="80%" 3742ALIGN="LEFT" 3743VALIGN="TOP" 3744> the system ID string</TD 3745></TR 3746><TR 3747><TD 3748WIDTH="20%" 3749ALIGN="RIGHT" 3750VALIGN="TOP" 3751><SPAN 3752CLASS="emphasis" 3753><I 3754CLASS="EMPHASIS" 3755>Returns</I 3756></SPAN 3757> :</TD 3758><TD 3759WIDTH="80%" 3760ALIGN="LEFT" 3761VALIGN="TOP" 3762>the system ID if found or NULL otherwise.</TD 3763></TR 3764></TBODY 3765></TABLE 3766><P 3767></P 3768></DIV 3769></DIV 3770><HR><DIV 3771CLASS="REFSECT2" 3772><A 3773NAME="AEN20685" 3774></A 3775><H3 3776><A 3777NAME="XMLCATALOGGETPUBLIC" 3778></A 3779>xmlCatalogGetPublic ()</H3 3780><TABLE 3781BORDER="0" 3782BGCOLOR="#D6E8FF" 3783WIDTH="100%" 3784CELLPADDING="6" 3785><TR 3786><TD 3787><PRE 3788CLASS="PROGRAMLISTING" 3789>const <A 3790HREF="libxml-tree.html#XMLCHAR" 3791>xmlChar</A 3792>* xmlCatalogGetPublic (const <A 3793HREF="libxml-tree.html#XMLCHAR" 3794>xmlChar</A 3795> *pubID);</PRE 3796></TD 3797></TR 3798></TABLE 3799><P 3800>Try to lookup the system ID associated to a public ID 3801DEPRECATED, use <A 3802HREF="libxml-catalog.html#XMLCATALOGRESOLVEPUBLIC" 3803>xmlCatalogResolvePublic</A 3804>()</P 3805><P 3806></P 3807><DIV 3808CLASS="INFORMALTABLE" 3809><A 3810NAME="AEN20694"><P 3811></P 3812><TABLE 3813BORDER="0" 3814WIDTH="100%" 3815BGCOLOR="#FFD0D0" 3816CELLSPACING="0" 3817CELLPADDING="4" 3818CLASS="CALSTABLE" 3819><TBODY 3820><TR 3821><TD 3822WIDTH="20%" 3823ALIGN="RIGHT" 3824VALIGN="TOP" 3825><TT 3826CLASS="PARAMETER" 3827><I 3828>pubID</I 3829></TT 3830> :</TD 3831><TD 3832WIDTH="80%" 3833ALIGN="LEFT" 3834VALIGN="TOP" 3835> the public ID string</TD 3836></TR 3837><TR 3838><TD 3839WIDTH="20%" 3840ALIGN="RIGHT" 3841VALIGN="TOP" 3842><SPAN 3843CLASS="emphasis" 3844><I 3845CLASS="EMPHASIS" 3846>Returns</I 3847></SPAN 3848> :</TD 3849><TD 3850WIDTH="80%" 3851ALIGN="LEFT" 3852VALIGN="TOP" 3853>the system ID if found or NULL otherwise.</TD 3854></TR 3855></TBODY 3856></TABLE 3857><P 3858></P 3859></DIV 3860></DIV 3861></DIV 3862><DIV 3863CLASS="NAVFOOTER" 3864><BR 3865CLEAR="all"><BR><TABLE 3866WIDTH="100%" 3867BORDER="0" 3868BGCOLOR="#000000" 3869CELLPADDING="1" 3870CELLSPACING="0" 3871><TR 3872><TD 3873WIDTH="25%" 3874BGCOLOR="#C00000" 3875ALIGN="left" 3876><A 3877HREF="libxml-xmlio.html" 3878><FONT 3879COLOR="#FFFFFF" 3880SIZE="3" 3881><B 3882><<< Previous Page</B 3883></FONT 3884></A 3885></TD 3886><TD 3887WIDTH="25%" 3888BGCOLOR="#0000C0" 3889ALIGN="center" 3890><FONT 3891COLOR="#FFFFFF" 3892SIZE="3" 3893><B 3894><A 3895HREF="book1.html" 3896><FONT 3897COLOR="#FFFFFF" 3898SIZE="3" 3899><B 3900>Home</B 3901></FONT 3902></A 3903></B 3904></FONT 3905></TD 3906><TD 3907WIDTH="25%" 3908BGCOLOR="#00C000" 3909ALIGN="center" 3910><FONT 3911COLOR="#FFFFFF" 3912SIZE="3" 3913><B 3914><A 3915HREF="libxml-lib.html" 3916><FONT 3917COLOR="#FFFFFF" 3918SIZE="3" 3919><B 3920>Up</B 3921></FONT 3922></A 3923></B 3924></FONT 3925></TD 3926><TD 3927WIDTH="25%" 3928BGCOLOR="#C00000" 3929ALIGN="right" 3930><A 3931HREF="libxml-c14n.html" 3932><FONT 3933COLOR="#FFFFFF" 3934SIZE="3" 3935><B 3936>Next Page >>></B 3937></FONT 3938></A 3939></TD 3940></TR 3941><TR 3942><TD 3943COLSPAN="2" 3944ALIGN="left" 3945><FONT 3946COLOR="#FFFFFF" 3947SIZE="3" 3948><B 3949>xmlIO</B 3950></FONT 3951></TD 3952><TD 3953COLSPAN="2" 3954ALIGN="right" 3955><FONT 3956COLOR="#FFFFFF" 3957SIZE="3" 3958><B 3959>c14n</B 3960></FONT 3961></TD 3962></TR 3963></TABLE 3964></DIV 3965></BODY 3966></HTML 3967>