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