libxml-catalog.html revision 4b8328d7b3ce3c73cc9350efa0b9df769d82321d
1<HTML
2><HEAD
3><TITLE
4>catalog</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
8REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
12TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
14REL="PREVIOUS"
15TITLE="xmlIO"
16HREF="libxml-xmlio.html"><LINK
17REL="NEXT"
18TITLE="DOCBparser"
19HREF="libxml-docbparser.html"></HEAD
20><BODY
21CLASS="REFENTRY"
22BGCOLOR="#FFFFFF"
23TEXT="#000000"
24LINK="#0000FF"
25VLINK="#840084"
26ALINK="#0000FF"
27><DIV
28CLASS="NAVHEADER"
29><TABLE
30WIDTH="100%"
31BORDER="0"
32BGCOLOR="#000000"
33CELLPADDING="1"
34CELLSPACING="0"
35><TR
36><TH
37COLSPAN="4"
38ALIGN="center"
39><FONT
40COLOR="#FFFFFF"
41SIZE="5"
42>Gnome XML Library Reference Manual</FONT
43></TH
44></TR
45><TR
46><TD
47WIDTH="25%"
48BGCOLOR="#C00000"
49ALIGN="left"
50><A
51HREF="libxml-xmlio.html"
52><FONT
53COLOR="#FFFFFF"
54SIZE="3"
55><B
56>&#60;&#60;&#60; Previous Page</B
57></FONT
58></A
59></TD
60><TD
61WIDTH="25%"
62BGCOLOR="#0000C0"
63ALIGN="center"
64><FONT
65COLOR="#FFFFFF"
66SIZE="3"
67><B
68><A
69HREF="book1.html"
70><FONT
71COLOR="#FFFFFF"
72SIZE="3"
73><B
74>Home</B
75></FONT
76></A
77></B
78></FONT
79></TD
80><TD
81WIDTH="25%"
82BGCOLOR="#00C000"
83ALIGN="center"
84><FONT
85COLOR="#FFFFFF"
86SIZE="3"
87><B
88><A
89HREF="libxml-lib.html"
90><FONT
91COLOR="#FFFFFF"
92SIZE="3"
93><B
94>Up</B
95></FONT
96></A
97></B
98></FONT
99></TD
100><TD
101WIDTH="25%"
102BGCOLOR="#C00000"
103ALIGN="right"
104><A
105HREF="libxml-docbparser.html"
106><FONT
107COLOR="#FFFFFF"
108SIZE="3"
109><B
110>Next Page &#62;&#62;&#62;</B
111></FONT
112></A
113></TD
114></TR
115></TABLE
116></DIV
117><H1
118><A
119NAME="LIBXML-CATALOG"
120>catalog</A
121></H1
122><DIV
123CLASS="REFNAMEDIV"
124><A
125NAME="AEN17483"
126></A
127><H2
128>Name</H2
129>catalog&nbsp;--&nbsp;</DIV
130><DIV
131CLASS="REFSYNOPSISDIV"
132><A
133NAME="AEN17486"
134></A
135><H2
136>Synopsis</H2
137><TABLE
138BORDER="0"
139BGCOLOR="#D6E8FF"
140WIDTH="100%"
141CELLPADDING="6"
142><TR
143><TD
144><PRE
145CLASS="SYNOPSIS"
146>&#13;
147
148#define     <A
149HREF="libxml-catalog.html#XML-CATALOGS-NAMESPACE-CAPS"
150>XML_CATALOGS_NAMESPACE</A
151>
152int         <A
153HREF="libxml-catalog.html#XMLLOADCATALOG"
154>xmlLoadCatalog</A
155>                  (const char *URL);
156void        <A
157HREF="libxml-catalog.html#XMLLOADCATALOGS"
158>xmlLoadCatalogs</A
159>                 (const char *paths);
160void        <A
161HREF="libxml-catalog.html#XMLCATALOGCLEANUP"
162>xmlCatalogCleanup</A
163>               (void);
164void        <A
165HREF="libxml-catalog.html#XMLCATALOGDUMP"
166>xmlCatalogDump</A
167>                  (<GTKDOCLINK
168HREF="FILE-CAPS"
169>FILE</GTKDOCLINK
170> *out);
171const <A
172HREF="libxml-tree.html#XMLCHAR"
173>xmlChar</A
174>* <A
175HREF="libxml-catalog.html#XMLCATALOGGETSYSTEM"
176>xmlCatalogGetSystem</A
177>          (const <A
178HREF="libxml-tree.html#XMLCHAR"
179>xmlChar</A
180> *sysID);
181const <A
182HREF="libxml-tree.html#XMLCHAR"
183>xmlChar</A
184>* <A
185HREF="libxml-catalog.html#XMLCATALOGGETPUBLIC"
186>xmlCatalogGetPublic</A
187>          (const <A
188HREF="libxml-tree.html#XMLCHAR"
189>xmlChar</A
190> *pubID);</PRE
191></TD
192></TR
193></TABLE
194></DIV
195><DIV
196CLASS="REFSECT1"
197><A
198NAME="AEN17501"
199></A
200><H2
201>Description</H2
202><P
203></P
204></DIV
205><DIV
206CLASS="REFSECT1"
207><A
208NAME="AEN17504"
209></A
210><H2
211>Details</H2
212><DIV
213CLASS="REFSECT2"
214><A
215NAME="AEN17506"
216></A
217><H3
218><A
219NAME="XML-CATALOGS-NAMESPACE-CAPS"
220></A
221>XML_CATALOGS_NAMESPACE</H3
222><TABLE
223BORDER="0"
224BGCOLOR="#D6E8FF"
225WIDTH="100%"
226CELLPADDING="6"
227><TR
228><TD
229><PRE
230CLASS="PROGRAMLISTING"
231>#define     XML_CATALOGS_NAMESPACE</PRE
232></TD
233></TR
234></TABLE
235><P
236>The namespace for the XML Catalogs elements</P
237><P
238></P
239></DIV
240><HR><DIV
241CLASS="REFSECT2"
242><A
243NAME="AEN17512"
244></A
245><H3
246><A
247NAME="XMLLOADCATALOG"
248></A
249>xmlLoadCatalog ()</H3
250><TABLE
251BORDER="0"
252BGCOLOR="#D6E8FF"
253WIDTH="100%"
254CELLPADDING="6"
255><TR
256><TD
257><PRE
258CLASS="PROGRAMLISTING"
259>int         xmlLoadCatalog                  (const char *URL);</PRE
260></TD
261></TR
262></TABLE
263><P
264></P
265><DIV
266CLASS="INFORMALTABLE"
267><A
268NAME="AEN17517"
269></A
270><P
271></P
272><TABLE
273BORDER="0"
274WIDTH="100%"
275BGCOLOR="#FFD0D0"
276CELLSPACING="0"
277CELLPADDING="4"
278CLASS="CALSTABLE"
279><TBODY
280><TR
281><TD
282WIDTH="20%"
283ALIGN="RIGHT"
284VALIGN="TOP"
285><TT
286CLASS="PARAMETER"
287><I
288>URL</I
289></TT
290>&nbsp;:</TD
291><TD
292WIDTH="80%"
293ALIGN="LEFT"
294VALIGN="TOP"
295>&nbsp;</TD
296></TR
297><TR
298><TD
299WIDTH="20%"
300ALIGN="RIGHT"
301VALIGN="TOP"
302><I
303CLASS="EMPHASIS"
304>Returns</I
305> :</TD
306><TD
307WIDTH="80%"
308ALIGN="LEFT"
309VALIGN="TOP"
310>&nbsp;</TD
311></TR
312></TBODY
313></TABLE
314><P
315></P
316></DIV
317></DIV
318><HR><DIV
319CLASS="REFSECT2"
320><A
321NAME="AEN17530"
322></A
323><H3
324><A
325NAME="XMLLOADCATALOGS"
326></A
327>xmlLoadCatalogs ()</H3
328><TABLE
329BORDER="0"
330BGCOLOR="#D6E8FF"
331WIDTH="100%"
332CELLPADDING="6"
333><TR
334><TD
335><PRE
336CLASS="PROGRAMLISTING"
337>void        xmlLoadCatalogs                 (const char *paths);</PRE
338></TD
339></TR
340></TABLE
341><P
342></P
343><DIV
344CLASS="INFORMALTABLE"
345><A
346NAME="AEN17535"
347></A
348><P
349></P
350><TABLE
351BORDER="0"
352WIDTH="100%"
353BGCOLOR="#FFD0D0"
354CELLSPACING="0"
355CELLPADDING="4"
356CLASS="CALSTABLE"
357><TBODY
358><TR
359><TD
360WIDTH="20%"
361ALIGN="RIGHT"
362VALIGN="TOP"
363><TT
364CLASS="PARAMETER"
365><I
366>paths</I
367></TT
368>&nbsp;:</TD
369><TD
370WIDTH="80%"
371ALIGN="LEFT"
372VALIGN="TOP"
373>&nbsp;</TD
374></TR
375></TBODY
376></TABLE
377><P
378></P
379></DIV
380></DIV
381><HR><DIV
382CLASS="REFSECT2"
383><A
384NAME="AEN17544"
385></A
386><H3
387><A
388NAME="XMLCATALOGCLEANUP"
389></A
390>xmlCatalogCleanup ()</H3
391><TABLE
392BORDER="0"
393BGCOLOR="#D6E8FF"
394WIDTH="100%"
395CELLPADDING="6"
396><TR
397><TD
398><PRE
399CLASS="PROGRAMLISTING"
400>void        xmlCatalogCleanup               (void);</PRE
401></TD
402></TR
403></TABLE
404><P
405>Free up all the memory associated with catalogs</P
406><P
407></P
408></DIV
409><HR><DIV
410CLASS="REFSECT2"
411><A
412NAME="AEN17550"
413></A
414><H3
415><A
416NAME="XMLCATALOGDUMP"
417></A
418>xmlCatalogDump ()</H3
419><TABLE
420BORDER="0"
421BGCOLOR="#D6E8FF"
422WIDTH="100%"
423CELLPADDING="6"
424><TR
425><TD
426><PRE
427CLASS="PROGRAMLISTING"
428>void        xmlCatalogDump                  (<GTKDOCLINK
429HREF="FILE-CAPS"
430>FILE</GTKDOCLINK
431> *out);</PRE
432></TD
433></TR
434></TABLE
435><P
436>Free up all the memory associated with catalogs</P
437><P
438></P
439><DIV
440CLASS="INFORMALTABLE"
441><A
442NAME="AEN17557"
443></A
444><P
445></P
446><TABLE
447BORDER="0"
448WIDTH="100%"
449BGCOLOR="#FFD0D0"
450CELLSPACING="0"
451CELLPADDING="4"
452CLASS="CALSTABLE"
453><TBODY
454><TR
455><TD
456WIDTH="20%"
457ALIGN="RIGHT"
458VALIGN="TOP"
459><TT
460CLASS="PARAMETER"
461><I
462>out</I
463></TT
464>&nbsp;:</TD
465><TD
466WIDTH="80%"
467ALIGN="LEFT"
468VALIGN="TOP"
469>  the file.</TD
470></TR
471></TBODY
472></TABLE
473><P
474></P
475></DIV
476></DIV
477><HR><DIV
478CLASS="REFSECT2"
479><A
480NAME="AEN17566"
481></A
482><H3
483><A
484NAME="XMLCATALOGGETSYSTEM"
485></A
486>xmlCatalogGetSystem ()</H3
487><TABLE
488BORDER="0"
489BGCOLOR="#D6E8FF"
490WIDTH="100%"
491CELLPADDING="6"
492><TR
493><TD
494><PRE
495CLASS="PROGRAMLISTING"
496>const <A
497HREF="libxml-tree.html#XMLCHAR"
498>xmlChar</A
499>* xmlCatalogGetSystem          (const <A
500HREF="libxml-tree.html#XMLCHAR"
501>xmlChar</A
502> *sysID);</PRE
503></TD
504></TR
505></TABLE
506><P
507>Try to lookup the resource associated to a system ID</P
508><P
509></P
510><DIV
511CLASS="INFORMALTABLE"
512><A
513NAME="AEN17574"
514></A
515><P
516></P
517><TABLE
518BORDER="0"
519WIDTH="100%"
520BGCOLOR="#FFD0D0"
521CELLSPACING="0"
522CELLPADDING="4"
523CLASS="CALSTABLE"
524><TBODY
525><TR
526><TD
527WIDTH="20%"
528ALIGN="RIGHT"
529VALIGN="TOP"
530><TT
531CLASS="PARAMETER"
532><I
533>sysID</I
534></TT
535>&nbsp;:</TD
536><TD
537WIDTH="80%"
538ALIGN="LEFT"
539VALIGN="TOP"
540>  the system ID string</TD
541></TR
542><TR
543><TD
544WIDTH="20%"
545ALIGN="RIGHT"
546VALIGN="TOP"
547><I
548CLASS="EMPHASIS"
549>Returns</I
550> :</TD
551><TD
552WIDTH="80%"
553ALIGN="LEFT"
554VALIGN="TOP"
555>the resource name if found or NULL otherwise.</TD
556></TR
557></TBODY
558></TABLE
559><P
560></P
561></DIV
562></DIV
563><HR><DIV
564CLASS="REFSECT2"
565><A
566NAME="AEN17587"
567></A
568><H3
569><A
570NAME="XMLCATALOGGETPUBLIC"
571></A
572>xmlCatalogGetPublic ()</H3
573><TABLE
574BORDER="0"
575BGCOLOR="#D6E8FF"
576WIDTH="100%"
577CELLPADDING="6"
578><TR
579><TD
580><PRE
581CLASS="PROGRAMLISTING"
582>const <A
583HREF="libxml-tree.html#XMLCHAR"
584>xmlChar</A
585>* xmlCatalogGetPublic          (const <A
586HREF="libxml-tree.html#XMLCHAR"
587>xmlChar</A
588> *pubID);</PRE
589></TD
590></TR
591></TABLE
592><P
593>Try to lookup the system ID associated to a public ID</P
594><P
595></P
596><DIV
597CLASS="INFORMALTABLE"
598><A
599NAME="AEN17595"
600></A
601><P
602></P
603><TABLE
604BORDER="0"
605WIDTH="100%"
606BGCOLOR="#FFD0D0"
607CELLSPACING="0"
608CELLPADDING="4"
609CLASS="CALSTABLE"
610><TBODY
611><TR
612><TD
613WIDTH="20%"
614ALIGN="RIGHT"
615VALIGN="TOP"
616><TT
617CLASS="PARAMETER"
618><I
619>pubID</I
620></TT
621>&nbsp;:</TD
622><TD
623WIDTH="80%"
624ALIGN="LEFT"
625VALIGN="TOP"
626>  the public ID string</TD
627></TR
628><TR
629><TD
630WIDTH="20%"
631ALIGN="RIGHT"
632VALIGN="TOP"
633><I
634CLASS="EMPHASIS"
635>Returns</I
636> :</TD
637><TD
638WIDTH="80%"
639ALIGN="LEFT"
640VALIGN="TOP"
641>the system ID if found or NULL otherwise.</TD
642></TR
643></TBODY
644></TABLE
645><P
646></P
647></DIV
648></DIV
649></DIV
650><DIV
651CLASS="NAVFOOTER"
652><BR
653CLEAR="all"><BR><TABLE
654WIDTH="100%"
655BORDER="0"
656BGCOLOR="#000000"
657CELLPADDING="1"
658CELLSPACING="0"
659><TR
660><TD
661WIDTH="25%"
662BGCOLOR="#C00000"
663ALIGN="left"
664><A
665HREF="libxml-xmlio.html"
666><FONT
667COLOR="#FFFFFF"
668SIZE="3"
669><B
670>&#60;&#60;&#60; Previous Page</B
671></FONT
672></A
673></TD
674><TD
675WIDTH="25%"
676BGCOLOR="#0000C0"
677ALIGN="center"
678><FONT
679COLOR="#FFFFFF"
680SIZE="3"
681><B
682><A
683HREF="book1.html"
684><FONT
685COLOR="#FFFFFF"
686SIZE="3"
687><B
688>Home</B
689></FONT
690></A
691></B
692></FONT
693></TD
694><TD
695WIDTH="25%"
696BGCOLOR="#00C000"
697ALIGN="center"
698><FONT
699COLOR="#FFFFFF"
700SIZE="3"
701><B
702><A
703HREF="libxml-lib.html"
704><FONT
705COLOR="#FFFFFF"
706SIZE="3"
707><B
708>Up</B
709></FONT
710></A
711></B
712></FONT
713></TD
714><TD
715WIDTH="25%"
716BGCOLOR="#C00000"
717ALIGN="right"
718><A
719HREF="libxml-docbparser.html"
720><FONT
721COLOR="#FFFFFF"
722SIZE="3"
723><B
724>Next Page &#62;&#62;&#62;</B
725></FONT
726></A
727></TD
728></TR
729><TR
730><TD
731COLSPAN="2"
732ALIGN="left"
733><FONT
734COLOR="#FFFFFF"
735SIZE="3"
736><B
737>xmlIO</B
738></FONT
739></TD
740><TD
741COLSPAN="2"
742ALIGN="right"
743><FONT
744COLOR="#FFFFFF"
745SIZE="3"
746><B
747>DOCBparser</B
748></FONT
749></TD
750></TR
751></TABLE
752></DIV
753></BODY
754></HTML
755>