blob: b357f86f8b5863c3bea96d2bebee7d984c3be6b1 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>entities</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +00008REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
Daniel Veillard35008381999-10-25 13:15:52 +000012TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000014REL="PREVIOUS"
15TITLE="tree"
16HREF="gnome-xml-tree.html"><LINK
17REL="NEXT"
18TITLE="valid"
19HREF="gnome-xml-valid.html"></HEAD
20><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
23><DIV
24CLASS="NAVHEADER"
25><TABLE
26WIDTH="100%"
27BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000028BGCOLOR="#000000"
29CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000030CELLSPACING="0"
31><TR
32><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000033COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000034ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000035><FONT
36COLOR="#FFFFFF"
37SIZE="5"
38>Gnome XML Library Reference Manual</FONT
39></TH
Daniel Veillard35925471999-02-25 08:46:07 +000040></TR
41><TR
42><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000043WIDTH="25%"
44BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000045ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000046><A
47HREF="gnome-xml-tree.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000048><FONT
49COLOR="#FFFFFF"
50SIZE="3"
51><B
52>&#60;&#60;&#60; Previous Page</B
53></FONT
54></A
Daniel Veillard35925471999-02-25 08:46:07 +000055></TD
56><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000057WIDTH="25%"
58BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000059ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000060><FONT
61COLOR="#FFFFFF"
62SIZE="3"
63><B
64><A
65HREF="book1.html"
66><FONT
67COLOR="#FFFFFF"
68SIZE="3"
69><B
70>Home</B
71></FONT
72></A
73></B
74></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000075></TD
76><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000077WIDTH="25%"
78BGCOLOR="#00C000"
79ALIGN="center"
80><FONT
81COLOR="#FFFFFF"
82SIZE="3"
83><B
84><A
Daniel Veillard35008381999-10-25 13:15:52 +000085HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000086><FONT
87COLOR="#FFFFFF"
88SIZE="3"
89><B
90>Up</B
91></FONT
92></A
93></B
94></FONT
95></TD
96><TD
97WIDTH="25%"
98BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000099ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +0000100><A
101HREF="gnome-xml-valid.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000102><FONT
103COLOR="#FFFFFF"
104SIZE="3"
105><B
106>Next Page &#62;&#62;&#62;</B
107></FONT
108></A
Daniel Veillard35925471999-02-25 08:46:07 +0000109></TD
110></TR
111></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000112></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000113><H1
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000114>entities</H1
Daniel Veillard35925471999-02-25 08:46:07 +0000115><DIV
116CLASS="REFNAMEDIV"
117><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000118NAME="AEN7030"
Daniel Veillard35925471999-02-25 08:46:07 +0000119></A
120><H2
121>Name</H2
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000122>entities &#8212; </DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFSYNOPSISDIV"
125><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000126NAME="AEN7033"
Daniel Veillard35925471999-02-25 08:46:07 +0000127></A
128><H2
129>Synopsis</H2
130><TABLE
131BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000132BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000133WIDTH="100%"
134CELLPADDING="6"
135><TR
136><TD
137><PRE
138CLASS="SYNOPSIS"
139>&#13;
140
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000141enum <A
142HREF="gnome-xml-entities.html#XMLENTITYTYPE"
143>xmlEntityType</A
144>;
145struct <A
146HREF="gnome-xml-entities.html#XMLENTITY"
147>xmlEntity</A
148>;
Daniel Veillard35925471999-02-25 08:46:07 +0000149typedef <A
150HREF="gnome-xml-entities.html#XMLENTITYPTR"
151>xmlEntityPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000152>;
Daniel Veillard35925471999-02-25 08:46:07 +0000153typedef <A
154HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
155>xmlEntitiesTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000156>;
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000157void <A
158HREF="gnome-xml-entities.html#XMLINITIALIZEPREDEFINEDENTITIES"
159>xmlInitializePredefinedEntities</A
160> (void);
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000161<A
162HREF="gnome-xml-entities.html#XMLENTITYPTR"
163>xmlEntityPtr</A
164> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000165HREF="gnome-xml-entities.html#XMLADDDOCENTITY"
166>xmlAddDocEntity</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000167> (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000168HREF="gnome-xml-tree.html#XMLDOCPTR"
169>xmlDocPtr</A
170> doc,
171 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000172HREF="gnome-xml-tree.html#XMLCHAR"
173>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000174> *name,
175 int type,
176 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000177HREF="gnome-xml-tree.html#XMLCHAR"
178>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000179> *ExternalID,
180 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000181HREF="gnome-xml-tree.html#XMLCHAR"
182>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000183> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000184 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000185HREF="gnome-xml-tree.html#XMLCHAR"
186>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000187> *content);
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000188<A
189HREF="gnome-xml-entities.html#XMLENTITYPTR"
190>xmlEntityPtr</A
191> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000192HREF="gnome-xml-entities.html#XMLADDDTDENTITY"
193>xmlAddDtdEntity</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000194> (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000195HREF="gnome-xml-tree.html#XMLDOCPTR"
196>xmlDocPtr</A
197> doc,
198 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000199HREF="gnome-xml-tree.html#XMLCHAR"
200>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000201> *name,
202 int type,
203 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000204HREF="gnome-xml-tree.html#XMLCHAR"
205>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000206> *ExternalID,
207 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000208HREF="gnome-xml-tree.html#XMLCHAR"
209>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000210> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000211 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000212HREF="gnome-xml-tree.html#XMLCHAR"
213>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000214> *content);
215<A
216HREF="gnome-xml-entities.html#XMLENTITYPTR"
217>xmlEntityPtr</A
218> <A
219HREF="gnome-xml-entities.html#XMLGETPREDEFINEDENTITY"
220>xmlGetPredefinedEntity</A
221> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000222HREF="gnome-xml-tree.html#XMLCHAR"
223>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000224> *name);
225<A
226HREF="gnome-xml-entities.html#XMLENTITYPTR"
227>xmlEntityPtr</A
228> <A
229HREF="gnome-xml-entities.html#XMLGETDOCENTITY"
230>xmlGetDocEntity</A
231> (<A
232HREF="gnome-xml-tree.html#XMLDOCPTR"
233>xmlDocPtr</A
234> doc,
235 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000236HREF="gnome-xml-tree.html#XMLCHAR"
237>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000238> *name);
239<A
240HREF="gnome-xml-entities.html#XMLENTITYPTR"
241>xmlEntityPtr</A
242> <A
243HREF="gnome-xml-entities.html#XMLGETDTDENTITY"
244>xmlGetDtdEntity</A
245> (<A
246HREF="gnome-xml-tree.html#XMLDOCPTR"
247>xmlDocPtr</A
248> doc,
249 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000250HREF="gnome-xml-tree.html#XMLCHAR"
251>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000252> *name);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000253<A
254HREF="gnome-xml-entities.html#XMLENTITYPTR"
255>xmlEntityPtr</A
256> <A
257HREF="gnome-xml-entities.html#XMLGETPARAMETERENTITY"
258>xmlGetParameterEntity</A
259> (<A
260HREF="gnome-xml-tree.html#XMLDOCPTR"
261>xmlDocPtr</A
262> doc,
263 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000264HREF="gnome-xml-tree.html#XMLCHAR"
265>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000266> *name);
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000267const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000268HREF="gnome-xml-tree.html#XMLCHAR"
269>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000270>* <A
271HREF="gnome-xml-entities.html#XMLENCODEENTITIES"
272>xmlEncodeEntities</A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000273> (<A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000274HREF="gnome-xml-tree.html#XMLDOCPTR"
275>xmlDocPtr</A
276> doc,
277 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000278HREF="gnome-xml-tree.html#XMLCHAR"
279>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000280> *input);
Daniel Veillard35925471999-02-25 08:46:07 +0000281<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000282HREF="gnome-xml-tree.html#XMLCHAR"
283>xmlChar</A
284>* <A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000285HREF="gnome-xml-entities.html#XMLENCODEENTITIESREENTRANT"
286>xmlEncodeEntitiesReentrant</A
287> (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000288HREF="gnome-xml-tree.html#XMLDOCPTR"
289>xmlDocPtr</A
290> doc,
291 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000292HREF="gnome-xml-tree.html#XMLCHAR"
293>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000294> *input);
295<A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000296HREF="gnome-xml-tree.html#XMLCHAR"
297>xmlChar</A
298>* <A
299HREF="gnome-xml-entities.html#XMLENCODESPECIALCHARS"
300>xmlEncodeSpecialChars</A
301> (<A
302HREF="gnome-xml-tree.html#XMLDOCPTR"
303>xmlDocPtr</A
304> doc,
305 const <A
306HREF="gnome-xml-tree.html#XMLCHAR"
307>xmlChar</A
308> *input);
309<A
Daniel Veillard35925471999-02-25 08:46:07 +0000310HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
311>xmlEntitiesTablePtr</A
312> <A
313HREF="gnome-xml-entities.html#XMLCREATEENTITIESTABLE"
314>xmlCreateEntitiesTable</A
315> (void);
316<A
317HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
318>xmlEntitiesTablePtr</A
319> <A
320HREF="gnome-xml-entities.html#XMLCOPYENTITIESTABLE"
321>xmlCopyEntitiesTable</A
322> (<A
323HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
324>xmlEntitiesTablePtr</A
325> table);
326void <A
327HREF="gnome-xml-entities.html#XMLFREEENTITIESTABLE"
328>xmlFreeEntitiesTable</A
329> (<A
330HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
331>xmlEntitiesTablePtr</A
332> table);
333void <A
334HREF="gnome-xml-entities.html#XMLDUMPENTITIESTABLE"
335>xmlDumpEntitiesTable</A
336> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000337HREF="gnome-xml-tree.html#XMLBUFFERPTR"
338>xmlBufferPtr</A
339> buf,
340 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000341HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
342>xmlEntitiesTablePtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000343> table);
344void <A
345HREF="gnome-xml-entities.html#XMLDUMPENTITYDECL"
346>xmlDumpEntityDecl</A
347> (<A
348HREF="gnome-xml-tree.html#XMLBUFFERPTR"
349>xmlBufferPtr</A
350> buf,
351 <A
352HREF="gnome-xml-entities.html#XMLENTITYPTR"
353>xmlEntityPtr</A
354> ent);
355void <A
356HREF="gnome-xml-entities.html#XMLCLEANUPPREDEFINEDENTITIES"
357>xmlCleanupPredefinedEntities</A
Daniel Veillard29a11cc2000-10-25 13:32:39 +0000358> (void);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000359></TD
360></TR
361></TABLE
362></DIV
363><DIV
364CLASS="REFSECT1"
365><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000366NAME="AEN7096"
Daniel Veillard35925471999-02-25 08:46:07 +0000367></A
368><H2
369>Description</H2
370><P
371></P
372></DIV
373><DIV
374CLASS="REFSECT1"
375><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000376NAME="AEN7099"
Daniel Veillard35925471999-02-25 08:46:07 +0000377></A
378><H2
379>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000380><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000381CLASS="REFSECT2"
382><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000383NAME="AEN7101"
Daniel Veillard35925471999-02-25 08:46:07 +0000384></A
385><H3
386><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000387NAME="XMLENTITYTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000388></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000389>enum xmlEntityType</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000390><TABLE
391BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000392BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000393WIDTH="100%"
394CELLPADDING="6"
395><TR
396><TD
397><PRE
398CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000399>typedef enum {
400 XML_INTERNAL_GENERAL_ENTITY = 1,
401 XML_EXTERNAL_GENERAL_PARSED_ENTITY = 2,
402 XML_EXTERNAL_GENERAL_UNPARSED_ENTITY = 3,
403 XML_INTERNAL_PARAMETER_ENTITY = 4,
404 XML_EXTERNAL_PARAMETER_ENTITY = 5,
405 XML_INTERNAL_PREDEFINED_ENTITY = 6
406} xmlEntityType;</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000407></TD
408></TR
409></TABLE
410><P
411></P
412></DIV
413><HR><DIV
414CLASS="REFSECT2"
415><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000416NAME="AEN7106"
Daniel Veillard35925471999-02-25 08:46:07 +0000417></A
418><H3
419><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000420NAME="XMLENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000421></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000422>struct xmlEntity</H3
Daniel Veillardf3a73582000-01-05 14:58:39 +0000423><TABLE
424BORDER="0"
425BGCOLOR="#D6E8FF"
426WIDTH="100%"
427CELLPADDING="6"
428><TR
429><TD
430><PRE
431CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000432>struct xmlEntity {
433#ifndef XML_WITHOUT_CORBA
434 void *_private; /* for Corba, must be first ! */
435#endif
436 xmlElementType type; /* XML_ENTITY_DECL, must be second ! */
437 const xmlChar *name; /* Attribute name */
438 struct _xmlNode *children; /* NULL */
439 struct _xmlNode *last; /* NULL */
440 struct _xmlDtd *parent; /* -&gt; DTD */
441 struct _xmlNode *next; /* next sibling link */
442 struct _xmlNode *prev; /* previous sibling link */
443 struct _xmlDoc *doc; /* the containing document */
444
445 xmlChar *orig; /* content without ref substitution */
446 xmlChar *content; /* content or ndata if unparsed */
447 int length; /* the content length */
448 xmlEntityType etype; /* The entity type */
449 const xmlChar *ExternalID; /* External identifier for PUBLIC */
450 const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC Entity */
451
Daniel Veillard29a11cc2000-10-25 13:32:39 +0000452 struct _xmlEntity *nexte; /* unused */
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000453 const xmlChar *URI; /* the full URI as computed */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000454};</PRE
Daniel Veillardf3a73582000-01-05 14:58:39 +0000455></TD
456></TR
457></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +0000458><P
459></P
460></DIV
461><HR><DIV
462CLASS="REFSECT2"
463><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000464NAME="AEN7111"
Daniel Veillardf3a73582000-01-05 14:58:39 +0000465></A
466><H3
467><A
468NAME="XMLENTITYPTR"
469></A
470>xmlEntityPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000471><TABLE
472BORDER="0"
473BGCOLOR="#D6E8FF"
474WIDTH="100%"
475CELLPADDING="6"
476><TR
477><TD
478><PRE
479CLASS="PROGRAMLISTING"
480>typedef xmlEntity *xmlEntityPtr;</PRE
481></TD
482></TR
483></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +0000484><P
485></P
486></DIV
487><HR><DIV
488CLASS="REFSECT2"
489><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000490NAME="AEN7116"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000491></A
492><H3
493><A
494NAME="XMLENTITIESTABLEPTR"
495></A
496>xmlEntitiesTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000497><TABLE
498BORDER="0"
499BGCOLOR="#D6E8FF"
500WIDTH="100%"
501CELLPADDING="6"
502><TR
503><TD
504><PRE
505CLASS="PROGRAMLISTING"
506>typedef xmlEntitiesTable *xmlEntitiesTablePtr;</PRE
507></TD
508></TR
509></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000510><P
511></P
512></DIV
513><HR><DIV
514CLASS="REFSECT2"
515><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000516NAME="AEN7121"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000517></A
518><H3
519><A
520NAME="XMLINITIALIZEPREDEFINEDENTITIES"
521></A
522>xmlInitializePredefinedEntities ()</H3
523><TABLE
524BORDER="0"
525BGCOLOR="#D6E8FF"
526WIDTH="100%"
527CELLPADDING="6"
528><TR
529><TD
530><PRE
531CLASS="PROGRAMLISTING"
532>void xmlInitializePredefinedEntities (void);</PRE
533></TD
534></TR
535></TABLE
536><P
537>Set up the predefined entities.</P
538><P
539></P
540></DIV
541><HR><DIV
542CLASS="REFSECT2"
543><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000544NAME="AEN7127"
Daniel Veillard35925471999-02-25 08:46:07 +0000545></A
546><H3
547><A
548NAME="XMLADDDOCENTITY"
549></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000550>xmlAddDocEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000551><TABLE
552BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000553BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000554WIDTH="100%"
555CELLPADDING="6"
556><TR
557><TD
558><PRE
559CLASS="PROGRAMLISTING"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000560><A
561HREF="gnome-xml-entities.html#XMLENTITYPTR"
562>xmlEntityPtr</A
563> xmlAddDocEntity (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000564HREF="gnome-xml-tree.html#XMLDOCPTR"
565>xmlDocPtr</A
566> doc,
567 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000568HREF="gnome-xml-tree.html#XMLCHAR"
569>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000570> *name,
571 int type,
572 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000573HREF="gnome-xml-tree.html#XMLCHAR"
574>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000575> *ExternalID,
576 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000577HREF="gnome-xml-tree.html#XMLCHAR"
578>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000579> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000580 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000581HREF="gnome-xml-tree.html#XMLCHAR"
582>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000583> *content);</PRE
584></TD
585></TR
586></TABLE
587><P
588>Register a new entity for this document.</P
589><P
590></P
591><DIV
592CLASS="INFORMALTABLE"
593><P
594></P
595><TABLE
596BORDER="0"
597WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000598BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000599CELLSPACING="0"
600CELLPADDING="4"
601CLASS="CALSTABLE"
602><TR
603><TD
604WIDTH="20%"
605ALIGN="RIGHT"
606VALIGN="TOP"
607><TT
608CLASS="PARAMETER"
609><I
610>doc</I
611></TT
612>&nbsp;:</TD
613><TD
614WIDTH="80%"
615ALIGN="LEFT"
616VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000617> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000618></TR
619><TR
620><TD
621WIDTH="20%"
622ALIGN="RIGHT"
623VALIGN="TOP"
624><TT
625CLASS="PARAMETER"
626><I
627>name</I
628></TT
629>&nbsp;:</TD
630><TD
631WIDTH="80%"
632ALIGN="LEFT"
633VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000634> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000635></TR
636><TR
637><TD
638WIDTH="20%"
639ALIGN="RIGHT"
640VALIGN="TOP"
641><TT
642CLASS="PARAMETER"
643><I
644>type</I
645></TT
646>&nbsp;:</TD
647><TD
648WIDTH="80%"
649ALIGN="LEFT"
650VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000651> the entity type XML_xxx_yyy_ENTITY</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000652></TR
653><TR
654><TD
655WIDTH="20%"
656ALIGN="RIGHT"
657VALIGN="TOP"
658><TT
659CLASS="PARAMETER"
660><I
661>ExternalID</I
662></TT
663>&nbsp;:</TD
664><TD
665WIDTH="80%"
666ALIGN="LEFT"
667VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000668> the entity external ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000669></TR
670><TR
671><TD
672WIDTH="20%"
673ALIGN="RIGHT"
674VALIGN="TOP"
675><TT
676CLASS="PARAMETER"
677><I
678>SystemID</I
679></TT
680>&nbsp;:</TD
681><TD
682WIDTH="80%"
683ALIGN="LEFT"
684VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000685> the entity system ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000686></TR
687><TR
688><TD
689WIDTH="20%"
690ALIGN="RIGHT"
691VALIGN="TOP"
692><TT
693CLASS="PARAMETER"
694><I
695>content</I
696></TT
697>&nbsp;:</TD
698><TD
699WIDTH="80%"
700ALIGN="LEFT"
701VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000702> the entity content</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000703></TR
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000704><TR
705><TD
706WIDTH="20%"
707ALIGN="RIGHT"
708VALIGN="TOP"
709><I
710CLASS="EMPHASIS"
711>Returns</I
712> :</TD
713><TD
714WIDTH="80%"
715ALIGN="LEFT"
716VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000717>a pointer to the entity or NULL in case of error</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000718></TR
Daniel Veillard35925471999-02-25 08:46:07 +0000719></TABLE
720><P
721></P
722></DIV
723></DIV
724><HR><DIV
725CLASS="REFSECT2"
726><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000727NAME="AEN7172"
Daniel Veillard35925471999-02-25 08:46:07 +0000728></A
729><H3
730><A
731NAME="XMLADDDTDENTITY"
732></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000733>xmlAddDtdEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000734><TABLE
735BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000736BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000737WIDTH="100%"
738CELLPADDING="6"
739><TR
740><TD
741><PRE
742CLASS="PROGRAMLISTING"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000743><A
744HREF="gnome-xml-entities.html#XMLENTITYPTR"
745>xmlEntityPtr</A
746> xmlAddDtdEntity (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000747HREF="gnome-xml-tree.html#XMLDOCPTR"
748>xmlDocPtr</A
749> doc,
750 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000751HREF="gnome-xml-tree.html#XMLCHAR"
752>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000753> *name,
754 int type,
755 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000756HREF="gnome-xml-tree.html#XMLCHAR"
757>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000758> *ExternalID,
759 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000760HREF="gnome-xml-tree.html#XMLCHAR"
761>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000762> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000763 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000764HREF="gnome-xml-tree.html#XMLCHAR"
765>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000766> *content);</PRE
767></TD
768></TR
769></TABLE
770><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000771>Register a new entity for this document DTD external subset.</P
Daniel Veillard35925471999-02-25 08:46:07 +0000772><P
773></P
774><DIV
775CLASS="INFORMALTABLE"
776><P
777></P
778><TABLE
779BORDER="0"
780WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000781BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000782CELLSPACING="0"
783CELLPADDING="4"
784CLASS="CALSTABLE"
785><TR
786><TD
787WIDTH="20%"
788ALIGN="RIGHT"
789VALIGN="TOP"
790><TT
791CLASS="PARAMETER"
792><I
793>doc</I
794></TT
795>&nbsp;:</TD
796><TD
797WIDTH="80%"
798ALIGN="LEFT"
799VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000800> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000801></TR
802><TR
803><TD
804WIDTH="20%"
805ALIGN="RIGHT"
806VALIGN="TOP"
807><TT
808CLASS="PARAMETER"
809><I
810>name</I
811></TT
812>&nbsp;:</TD
813><TD
814WIDTH="80%"
815ALIGN="LEFT"
816VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000817> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000818></TR
819><TR
820><TD
821WIDTH="20%"
822ALIGN="RIGHT"
823VALIGN="TOP"
824><TT
825CLASS="PARAMETER"
826><I
827>type</I
828></TT
829>&nbsp;:</TD
830><TD
831WIDTH="80%"
832ALIGN="LEFT"
833VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000834> the entity type XML_xxx_yyy_ENTITY</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000835></TR
836><TR
837><TD
838WIDTH="20%"
839ALIGN="RIGHT"
840VALIGN="TOP"
841><TT
842CLASS="PARAMETER"
843><I
844>ExternalID</I
845></TT
846>&nbsp;:</TD
847><TD
848WIDTH="80%"
849ALIGN="LEFT"
850VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000851> the entity external ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000852></TR
853><TR
854><TD
855WIDTH="20%"
856ALIGN="RIGHT"
857VALIGN="TOP"
858><TT
859CLASS="PARAMETER"
860><I
861>SystemID</I
862></TT
863>&nbsp;:</TD
864><TD
865WIDTH="80%"
866ALIGN="LEFT"
867VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000868> the entity system ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000869></TR
870><TR
871><TD
872WIDTH="20%"
873ALIGN="RIGHT"
874VALIGN="TOP"
875><TT
876CLASS="PARAMETER"
877><I
878>content</I
879></TT
880>&nbsp;:</TD
881><TD
882WIDTH="80%"
883ALIGN="LEFT"
884VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000885> the entity content</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000886></TR
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000887><TR
888><TD
889WIDTH="20%"
890ALIGN="RIGHT"
891VALIGN="TOP"
892><I
893CLASS="EMPHASIS"
894>Returns</I
895> :</TD
896><TD
897WIDTH="80%"
898ALIGN="LEFT"
899VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000900>a pointer to the entity or NULL in case of error</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000901></TR
Daniel Veillard35925471999-02-25 08:46:07 +0000902></TABLE
903><P
904></P
905></DIV
906></DIV
907><HR><DIV
908CLASS="REFSECT2"
909><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000910NAME="AEN7217"
Daniel Veillard35925471999-02-25 08:46:07 +0000911></A
912><H3
913><A
914NAME="XMLGETPREDEFINEDENTITY"
915></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000916>xmlGetPredefinedEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000917><TABLE
918BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000919BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000920WIDTH="100%"
921CELLPADDING="6"
922><TR
923><TD
924><PRE
925CLASS="PROGRAMLISTING"
926><A
927HREF="gnome-xml-entities.html#XMLENTITYPTR"
928>xmlEntityPtr</A
929> xmlGetPredefinedEntity (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000930HREF="gnome-xml-tree.html#XMLCHAR"
931>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000932> *name);</PRE
933></TD
934></TR
935></TABLE
936><P
937>Check whether this name is an predefined entity.</P
938><P
939></P
940><DIV
941CLASS="INFORMALTABLE"
942><P
943></P
944><TABLE
945BORDER="0"
946WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000947BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000948CELLSPACING="0"
949CELLPADDING="4"
950CLASS="CALSTABLE"
951><TR
952><TD
953WIDTH="20%"
954ALIGN="RIGHT"
955VALIGN="TOP"
956><TT
957CLASS="PARAMETER"
958><I
959>name</I
960></TT
961>&nbsp;:</TD
962><TD
963WIDTH="80%"
964ALIGN="LEFT"
965VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000966> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000967></TR
968><TR
969><TD
970WIDTH="20%"
971ALIGN="RIGHT"
972VALIGN="TOP"
973><I
974CLASS="EMPHASIS"
975>Returns</I
976> :</TD
977><TD
978WIDTH="80%"
979ALIGN="LEFT"
980VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000981>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000982></TR
983></TABLE
984><P
985></P
986></DIV
987></DIV
988><HR><DIV
989CLASS="REFSECT2"
990><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000991NAME="AEN7238"
Daniel Veillard35925471999-02-25 08:46:07 +0000992></A
993><H3
994><A
995NAME="XMLGETDOCENTITY"
996></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000997>xmlGetDocEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000998><TABLE
999BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001000BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001001WIDTH="100%"
1002CELLPADDING="6"
1003><TR
1004><TD
1005><PRE
1006CLASS="PROGRAMLISTING"
1007><A
1008HREF="gnome-xml-entities.html#XMLENTITYPTR"
1009>xmlEntityPtr</A
1010> xmlGetDocEntity (<A
1011HREF="gnome-xml-tree.html#XMLDOCPTR"
1012>xmlDocPtr</A
1013> doc,
1014 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001015HREF="gnome-xml-tree.html#XMLCHAR"
1016>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001017> *name);</PRE
1018></TD
1019></TR
1020></TABLE
1021><P
1022>Do an entity lookup in the document entity hash table and
1023returns the corrsponding entity, otherwise a lookup is done
1024in the predefined entities too.</P
1025><P
1026></P
1027><DIV
1028CLASS="INFORMALTABLE"
1029><P
1030></P
1031><TABLE
1032BORDER="0"
1033WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001034BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001035CELLSPACING="0"
1036CELLPADDING="4"
1037CLASS="CALSTABLE"
1038><TR
1039><TD
1040WIDTH="20%"
1041ALIGN="RIGHT"
1042VALIGN="TOP"
1043><TT
1044CLASS="PARAMETER"
1045><I
1046>doc</I
1047></TT
1048>&nbsp;:</TD
1049><TD
1050WIDTH="80%"
1051ALIGN="LEFT"
1052VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001053> the document referencing the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001054></TR
1055><TR
1056><TD
1057WIDTH="20%"
1058ALIGN="RIGHT"
1059VALIGN="TOP"
1060><TT
1061CLASS="PARAMETER"
1062><I
1063>name</I
1064></TT
1065>&nbsp;:</TD
1066><TD
1067WIDTH="80%"
1068ALIGN="LEFT"
1069VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001070> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001071></TR
1072><TR
1073><TD
1074WIDTH="20%"
1075ALIGN="RIGHT"
1076VALIGN="TOP"
1077><I
1078CLASS="EMPHASIS"
1079>Returns</I
1080> :</TD
1081><TD
1082WIDTH="80%"
1083ALIGN="LEFT"
1084VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001085>A pointer to the entity structure or NULL if not found.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001086></TR
1087></TABLE
1088><P
1089></P
1090></DIV
1091></DIV
1092><HR><DIV
1093CLASS="REFSECT2"
1094><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001095NAME="AEN7264"
Daniel Veillard35925471999-02-25 08:46:07 +00001096></A
1097><H3
1098><A
1099NAME="XMLGETDTDENTITY"
1100></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001101>xmlGetDtdEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001102><TABLE
1103BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001104BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001105WIDTH="100%"
1106CELLPADDING="6"
1107><TR
1108><TD
1109><PRE
1110CLASS="PROGRAMLISTING"
1111><A
1112HREF="gnome-xml-entities.html#XMLENTITYPTR"
1113>xmlEntityPtr</A
1114> xmlGetDtdEntity (<A
1115HREF="gnome-xml-tree.html#XMLDOCPTR"
1116>xmlDocPtr</A
1117> doc,
1118 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001119HREF="gnome-xml-tree.html#XMLCHAR"
1120>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001121> *name);</PRE
1122></TD
1123></TR
1124></TABLE
1125><P
1126>Do an entity lookup in the Dtd entity hash table and
1127returns the corresponding entity, if found.</P
1128><P
1129></P
1130><DIV
1131CLASS="INFORMALTABLE"
1132><P
1133></P
1134><TABLE
1135BORDER="0"
1136WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001137BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001138CELLSPACING="0"
1139CELLPADDING="4"
1140CLASS="CALSTABLE"
1141><TR
1142><TD
1143WIDTH="20%"
1144ALIGN="RIGHT"
1145VALIGN="TOP"
1146><TT
1147CLASS="PARAMETER"
1148><I
1149>doc</I
1150></TT
1151>&nbsp;:</TD
1152><TD
1153WIDTH="80%"
1154ALIGN="LEFT"
1155VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001156> the document referencing the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001157></TR
1158><TR
1159><TD
1160WIDTH="20%"
1161ALIGN="RIGHT"
1162VALIGN="TOP"
1163><TT
1164CLASS="PARAMETER"
1165><I
1166>name</I
1167></TT
1168>&nbsp;:</TD
1169><TD
1170WIDTH="80%"
1171ALIGN="LEFT"
1172VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001173> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001174></TR
1175><TR
1176><TD
1177WIDTH="20%"
1178ALIGN="RIGHT"
1179VALIGN="TOP"
1180><I
1181CLASS="EMPHASIS"
1182>Returns</I
1183> :</TD
1184><TD
1185WIDTH="80%"
1186ALIGN="LEFT"
1187VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001188>A pointer to the entity structure or NULL if not found.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001189></TR
1190></TABLE
1191><P
1192></P
1193></DIV
1194></DIV
1195><HR><DIV
1196CLASS="REFSECT2"
1197><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001198NAME="AEN7290"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001199></A
1200><H3
1201><A
1202NAME="XMLGETPARAMETERENTITY"
1203></A
1204>xmlGetParameterEntity ()</H3
1205><TABLE
1206BORDER="0"
1207BGCOLOR="#D6E8FF"
1208WIDTH="100%"
1209CELLPADDING="6"
1210><TR
1211><TD
1212><PRE
1213CLASS="PROGRAMLISTING"
1214><A
1215HREF="gnome-xml-entities.html#XMLENTITYPTR"
1216>xmlEntityPtr</A
1217> xmlGetParameterEntity (<A
1218HREF="gnome-xml-tree.html#XMLDOCPTR"
1219>xmlDocPtr</A
1220> doc,
1221 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001222HREF="gnome-xml-tree.html#XMLCHAR"
1223>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001224> *name);</PRE
1225></TD
1226></TR
1227></TABLE
1228><P
1229>Do an entity lookup in the internal and external subsets and
1230returns the corresponding parameter entity, if found.</P
1231><P
1232></P
1233><DIV
1234CLASS="INFORMALTABLE"
1235><P
1236></P
1237><TABLE
1238BORDER="0"
1239WIDTH="100%"
1240BGCOLOR="#FFD0D0"
1241CELLSPACING="0"
1242CELLPADDING="4"
1243CLASS="CALSTABLE"
1244><TR
1245><TD
1246WIDTH="20%"
1247ALIGN="RIGHT"
1248VALIGN="TOP"
1249><TT
1250CLASS="PARAMETER"
1251><I
1252>doc</I
1253></TT
1254>&nbsp;:</TD
1255><TD
1256WIDTH="80%"
1257ALIGN="LEFT"
1258VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001259> the document referencing the entity</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001260></TR
1261><TR
1262><TD
1263WIDTH="20%"
1264ALIGN="RIGHT"
1265VALIGN="TOP"
1266><TT
1267CLASS="PARAMETER"
1268><I
1269>name</I
1270></TT
1271>&nbsp;:</TD
1272><TD
1273WIDTH="80%"
1274ALIGN="LEFT"
1275VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001276> the entity name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001277></TR
1278><TR
1279><TD
1280WIDTH="20%"
1281ALIGN="RIGHT"
1282VALIGN="TOP"
1283><I
1284CLASS="EMPHASIS"
1285>Returns</I
1286> :</TD
1287><TD
1288WIDTH="80%"
1289ALIGN="LEFT"
1290VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001291>A pointer to the entity structure or NULL if not found.</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001292></TR
1293></TABLE
1294><P
1295></P
1296></DIV
1297></DIV
1298><HR><DIV
1299CLASS="REFSECT2"
1300><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001301NAME="AEN7316"
Daniel Veillard35925471999-02-25 08:46:07 +00001302></A
1303><H3
1304><A
1305NAME="XMLENCODEENTITIES"
1306></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001307>xmlEncodeEntities ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001308><TABLE
1309BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001310BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001311WIDTH="100%"
1312CELLPADDING="6"
1313><TR
1314><TD
1315><PRE
1316CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001317>const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001318HREF="gnome-xml-tree.html#XMLCHAR"
1319>xmlChar</A
1320>* xmlEncodeEntities (<A
Daniel Veillard35925471999-02-25 08:46:07 +00001321HREF="gnome-xml-tree.html#XMLDOCPTR"
1322>xmlDocPtr</A
1323> doc,
1324 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001325HREF="gnome-xml-tree.html#XMLCHAR"
1326>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001327> *input);</PRE
1328></TD
1329></TR
1330></TABLE
1331><P
1332>Do a global encoding of a string, replacing the predefined entities
1333and non ASCII values with their entities and CharRef counterparts.</P
1334><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001335>TODO: remove xmlEncodeEntities, once we are not afraid of breaking binary
1336compatibility</P
Daniel Veillard35925471999-02-25 08:46:07 +00001337><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001338>People must migrate their code to xmlEncodeEntitiesReentrant !
1339This routine will issue a warning when encountered.</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001340><P
1341></P
1342><DIV
1343CLASS="INFORMALTABLE"
1344><P
1345></P
1346><TABLE
1347BORDER="0"
1348WIDTH="100%"
1349BGCOLOR="#FFD0D0"
1350CELLSPACING="0"
1351CELLPADDING="4"
1352CLASS="CALSTABLE"
1353><TR
1354><TD
1355WIDTH="20%"
1356ALIGN="RIGHT"
1357VALIGN="TOP"
1358><TT
1359CLASS="PARAMETER"
1360><I
1361>doc</I
1362></TT
1363>&nbsp;:</TD
1364><TD
1365WIDTH="80%"
1366ALIGN="LEFT"
1367VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001368> the document containing the string</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001369></TR
1370><TR
1371><TD
1372WIDTH="20%"
1373ALIGN="RIGHT"
1374VALIGN="TOP"
1375><TT
1376CLASS="PARAMETER"
1377><I
1378>input</I
1379></TT
1380>&nbsp;:</TD
1381><TD
1382WIDTH="80%"
1383ALIGN="LEFT"
1384VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001385> A string to convert to XML.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001386></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"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001400>A newly allocated string with the substitution done.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001401></TR
1402></TABLE
1403><P
1404></P
1405></DIV
1406></DIV
1407><HR><DIV
1408CLASS="REFSECT2"
1409><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001410NAME="AEN7344"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001411></A
1412><H3
1413><A
1414NAME="XMLENCODEENTITIESREENTRANT"
1415></A
1416>xmlEncodeEntitiesReentrant ()</H3
1417><TABLE
1418BORDER="0"
1419BGCOLOR="#D6E8FF"
1420WIDTH="100%"
1421CELLPADDING="6"
1422><TR
1423><TD
1424><PRE
1425CLASS="PROGRAMLISTING"
1426><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001427HREF="gnome-xml-tree.html#XMLCHAR"
1428>xmlChar</A
1429>* xmlEncodeEntitiesReentrant (<A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001430HREF="gnome-xml-tree.html#XMLDOCPTR"
1431>xmlDocPtr</A
1432> doc,
1433 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001434HREF="gnome-xml-tree.html#XMLCHAR"
1435>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001436> *input);</PRE
1437></TD
1438></TR
1439></TABLE
1440><P
1441>Do a global encoding of a string, replacing the predefined entities
1442and non ASCII values with their entities and CharRef counterparts.
1443Contrary to xmlEncodeEntities, this routine is reentrant, and result
1444must be deallocated.</P
1445><P
Daniel Veillard35925471999-02-25 08:46:07 +00001446></P
1447><DIV
1448CLASS="INFORMALTABLE"
1449><P
1450></P
1451><TABLE
1452BORDER="0"
1453WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001454BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001455CELLSPACING="0"
1456CELLPADDING="4"
1457CLASS="CALSTABLE"
1458><TR
1459><TD
1460WIDTH="20%"
1461ALIGN="RIGHT"
1462VALIGN="TOP"
1463><TT
1464CLASS="PARAMETER"
1465><I
1466>doc</I
1467></TT
1468>&nbsp;:</TD
1469><TD
1470WIDTH="80%"
1471ALIGN="LEFT"
1472VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001473> the document containing the string</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001474></TR
1475><TR
1476><TD
1477WIDTH="20%"
1478ALIGN="RIGHT"
1479VALIGN="TOP"
1480><TT
1481CLASS="PARAMETER"
1482><I
1483>input</I
1484></TT
1485>&nbsp;:</TD
1486><TD
1487WIDTH="80%"
1488ALIGN="LEFT"
1489VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001490> A string to convert to XML.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001491></TR
1492><TR
1493><TD
1494WIDTH="20%"
1495ALIGN="RIGHT"
1496VALIGN="TOP"
1497><I
1498CLASS="EMPHASIS"
1499>Returns</I
1500> :</TD
1501><TD
1502WIDTH="80%"
1503ALIGN="LEFT"
1504VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001505>A newly allocated string with the substitution done.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001506></TR
1507></TABLE
1508><P
1509></P
1510></DIV
1511></DIV
1512><HR><DIV
1513CLASS="REFSECT2"
1514><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001515NAME="AEN7370"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001516></A
1517><H3
1518><A
1519NAME="XMLENCODESPECIALCHARS"
1520></A
1521>xmlEncodeSpecialChars ()</H3
1522><TABLE
1523BORDER="0"
1524BGCOLOR="#D6E8FF"
1525WIDTH="100%"
1526CELLPADDING="6"
1527><TR
1528><TD
1529><PRE
1530CLASS="PROGRAMLISTING"
1531><A
1532HREF="gnome-xml-tree.html#XMLCHAR"
1533>xmlChar</A
1534>* xmlEncodeSpecialChars (<A
1535HREF="gnome-xml-tree.html#XMLDOCPTR"
1536>xmlDocPtr</A
1537> doc,
1538 const <A
1539HREF="gnome-xml-tree.html#XMLCHAR"
1540>xmlChar</A
1541> *input);</PRE
1542></TD
1543></TR
1544></TABLE
1545><P
1546>Do a global encoding of a string, replacing the predefined entities
1547this routine is reentrant, and result must be deallocated.</P
1548><P
1549></P
1550><DIV
1551CLASS="INFORMALTABLE"
1552><P
1553></P
1554><TABLE
1555BORDER="0"
1556WIDTH="100%"
1557BGCOLOR="#FFD0D0"
1558CELLSPACING="0"
1559CELLPADDING="4"
1560CLASS="CALSTABLE"
1561><TR
1562><TD
1563WIDTH="20%"
1564ALIGN="RIGHT"
1565VALIGN="TOP"
1566><TT
1567CLASS="PARAMETER"
1568><I
1569>doc</I
1570></TT
1571>&nbsp;:</TD
1572><TD
1573WIDTH="80%"
1574ALIGN="LEFT"
1575VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001576> the document containing the string</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001577></TR
1578><TR
1579><TD
1580WIDTH="20%"
1581ALIGN="RIGHT"
1582VALIGN="TOP"
1583><TT
1584CLASS="PARAMETER"
1585><I
1586>input</I
1587></TT
1588>&nbsp;:</TD
1589><TD
1590WIDTH="80%"
1591ALIGN="LEFT"
1592VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001593> A string to convert to XML.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001594></TR
1595><TR
1596><TD
1597WIDTH="20%"
1598ALIGN="RIGHT"
1599VALIGN="TOP"
1600><I
1601CLASS="EMPHASIS"
1602>Returns</I
1603> :</TD
1604><TD
1605WIDTH="80%"
1606ALIGN="LEFT"
1607VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001608>A newly allocated string with the substitution done.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001609></TR
1610></TABLE
1611><P
1612></P
1613></DIV
1614></DIV
1615><HR><DIV
1616CLASS="REFSECT2"
1617><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001618NAME="AEN7396"
Daniel Veillard35925471999-02-25 08:46:07 +00001619></A
1620><H3
1621><A
1622NAME="XMLCREATEENTITIESTABLE"
1623></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001624>xmlCreateEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001625><TABLE
1626BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001627BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001628WIDTH="100%"
1629CELLPADDING="6"
1630><TR
1631><TD
1632><PRE
1633CLASS="PROGRAMLISTING"
1634><A
1635HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1636>xmlEntitiesTablePtr</A
1637> xmlCreateEntitiesTable (void);</PRE
1638></TD
1639></TR
1640></TABLE
1641><P
1642>create and initialize an empty entities hash table.</P
1643><P
1644></P
1645><DIV
1646CLASS="INFORMALTABLE"
1647><P
1648></P
1649><TABLE
1650BORDER="0"
1651WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001652BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001653CELLSPACING="0"
1654CELLPADDING="4"
1655CLASS="CALSTABLE"
1656><TR
1657><TD
1658WIDTH="20%"
1659ALIGN="RIGHT"
1660VALIGN="TOP"
1661><I
1662CLASS="EMPHASIS"
1663>Returns</I
1664> :</TD
1665><TD
1666WIDTH="80%"
1667ALIGN="LEFT"
1668VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001669>the xmlEntitiesTablePtr just created or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001670></TR
1671></TABLE
1672><P
1673></P
1674></DIV
1675></DIV
1676><HR><DIV
1677CLASS="REFSECT2"
1678><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001679NAME="AEN7412"
Daniel Veillard35925471999-02-25 08:46:07 +00001680></A
1681><H3
1682><A
1683NAME="XMLCOPYENTITIESTABLE"
1684></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001685>xmlCopyEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001686><TABLE
1687BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001688BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001689WIDTH="100%"
1690CELLPADDING="6"
1691><TR
1692><TD
1693><PRE
1694CLASS="PROGRAMLISTING"
1695><A
1696HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1697>xmlEntitiesTablePtr</A
1698> xmlCopyEntitiesTable (<A
1699HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1700>xmlEntitiesTablePtr</A
1701> table);</PRE
1702></TD
1703></TR
1704></TABLE
1705><P
1706>Build a copy of an entity table.</P
1707><P
1708></P
1709><DIV
1710CLASS="INFORMALTABLE"
1711><P
1712></P
1713><TABLE
1714BORDER="0"
1715WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001716BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001717CELLSPACING="0"
1718CELLPADDING="4"
1719CLASS="CALSTABLE"
1720><TR
1721><TD
1722WIDTH="20%"
1723ALIGN="RIGHT"
1724VALIGN="TOP"
1725><TT
1726CLASS="PARAMETER"
1727><I
1728>table</I
1729></TT
1730>&nbsp;:</TD
1731><TD
1732WIDTH="80%"
1733ALIGN="LEFT"
1734VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001735> An entity table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001736></TR
1737><TR
1738><TD
1739WIDTH="20%"
1740ALIGN="RIGHT"
1741VALIGN="TOP"
1742><I
1743CLASS="EMPHASIS"
1744>Returns</I
1745> :</TD
1746><TD
1747WIDTH="80%"
1748ALIGN="LEFT"
1749VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001750>the new xmlEntitiesTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001751></TR
1752></TABLE
1753><P
1754></P
1755></DIV
1756></DIV
1757><HR><DIV
1758CLASS="REFSECT2"
1759><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001760NAME="AEN7433"
Daniel Veillard35925471999-02-25 08:46:07 +00001761></A
1762><H3
1763><A
1764NAME="XMLFREEENTITIESTABLE"
1765></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001766>xmlFreeEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001767><TABLE
1768BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001769BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001770WIDTH="100%"
1771CELLPADDING="6"
1772><TR
1773><TD
1774><PRE
1775CLASS="PROGRAMLISTING"
1776>void xmlFreeEntitiesTable (<A
1777HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1778>xmlEntitiesTablePtr</A
1779> table);</PRE
1780></TD
1781></TR
1782></TABLE
1783><P
1784>Deallocate the memory used by an entities hash table.</P
1785><P
1786></P
1787><DIV
1788CLASS="INFORMALTABLE"
1789><P
1790></P
1791><TABLE
1792BORDER="0"
1793WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001794BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001795CELLSPACING="0"
1796CELLPADDING="4"
1797CLASS="CALSTABLE"
1798><TR
1799><TD
1800WIDTH="20%"
1801ALIGN="RIGHT"
1802VALIGN="TOP"
1803><TT
1804CLASS="PARAMETER"
1805><I
1806>table</I
1807></TT
1808>&nbsp;:</TD
1809><TD
1810WIDTH="80%"
1811ALIGN="LEFT"
1812VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001813> An entity table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001814></TR
1815></TABLE
1816><P
1817></P
1818></DIV
1819></DIV
1820><HR><DIV
1821CLASS="REFSECT2"
1822><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001823NAME="AEN7449"
Daniel Veillard35925471999-02-25 08:46:07 +00001824></A
1825><H3
1826><A
1827NAME="XMLDUMPENTITIESTABLE"
1828></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001829>xmlDumpEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001830><TABLE
1831BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001832BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001833WIDTH="100%"
1834CELLPADDING="6"
1835><TR
1836><TD
1837><PRE
1838CLASS="PROGRAMLISTING"
1839>void xmlDumpEntitiesTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001840HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1841>xmlBufferPtr</A
1842> buf,
1843 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001844HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1845>xmlEntitiesTablePtr</A
1846> table);</PRE
1847></TD
1848></TR
1849></TABLE
1850><P
1851>This will dump the content of the entity table as an XML DTD definition</P
1852><P
Daniel Veillard35925471999-02-25 08:46:07 +00001853></P
1854><DIV
1855CLASS="INFORMALTABLE"
1856><P
1857></P
1858><TABLE
1859BORDER="0"
1860WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001861BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001862CELLSPACING="0"
1863CELLPADDING="4"
1864CLASS="CALSTABLE"
1865><TR
1866><TD
1867WIDTH="20%"
1868ALIGN="RIGHT"
1869VALIGN="TOP"
1870><TT
1871CLASS="PARAMETER"
1872><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001873>buf</I
1874></TT
1875>&nbsp;:</TD
1876><TD
1877WIDTH="80%"
1878ALIGN="LEFT"
1879VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001880> An XML buffer.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001881></TR
1882><TR
1883><TD
1884WIDTH="20%"
1885ALIGN="RIGHT"
1886VALIGN="TOP"
1887><TT
1888CLASS="PARAMETER"
1889><I
Daniel Veillard35925471999-02-25 08:46:07 +00001890>table</I
1891></TT
1892>&nbsp;:</TD
1893><TD
1894WIDTH="80%"
1895ALIGN="LEFT"
1896VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001897> An entity table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001898></TR
1899></TABLE
1900><P
1901></P
1902></DIV
1903></DIV
1904><HR><DIV
1905CLASS="REFSECT2"
1906><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001907NAME="AEN7470"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001908></A
1909><H3
1910><A
1911NAME="XMLDUMPENTITYDECL"
1912></A
1913>xmlDumpEntityDecl ()</H3
1914><TABLE
1915BORDER="0"
1916BGCOLOR="#D6E8FF"
1917WIDTH="100%"
1918CELLPADDING="6"
1919><TR
1920><TD
1921><PRE
1922CLASS="PROGRAMLISTING"
1923>void xmlDumpEntityDecl (<A
1924HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1925>xmlBufferPtr</A
1926> buf,
1927 <A
1928HREF="gnome-xml-entities.html#XMLENTITYPTR"
1929>xmlEntityPtr</A
1930> ent);</PRE
1931></TD
1932></TR
1933></TABLE
1934><P
1935>This will dump the content of the entity table as an XML DTD definition</P
1936><P
1937></P
1938><DIV
1939CLASS="INFORMALTABLE"
1940><P
1941></P
1942><TABLE
1943BORDER="0"
1944WIDTH="100%"
1945BGCOLOR="#FFD0D0"
1946CELLSPACING="0"
1947CELLPADDING="4"
1948CLASS="CALSTABLE"
1949><TR
1950><TD
1951WIDTH="20%"
1952ALIGN="RIGHT"
1953VALIGN="TOP"
1954><TT
1955CLASS="PARAMETER"
1956><I
1957>buf</I
1958></TT
1959>&nbsp;:</TD
1960><TD
1961WIDTH="80%"
1962ALIGN="LEFT"
1963VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001964> An XML buffer.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001965></TR
1966><TR
1967><TD
1968WIDTH="20%"
1969ALIGN="RIGHT"
1970VALIGN="TOP"
1971><TT
1972CLASS="PARAMETER"
1973><I
1974>ent</I
1975></TT
1976>&nbsp;:</TD
1977><TD
1978WIDTH="80%"
1979ALIGN="LEFT"
1980VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001981> An entity table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001982></TR
1983></TABLE
1984><P
1985></P
1986></DIV
1987></DIV
1988><HR><DIV
1989CLASS="REFSECT2"
1990><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001991NAME="AEN7491"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001992></A
1993><H3
1994><A
1995NAME="XMLCLEANUPPREDEFINEDENTITIES"
1996></A
1997>xmlCleanupPredefinedEntities ()</H3
1998><TABLE
1999BORDER="0"
2000BGCOLOR="#D6E8FF"
2001WIDTH="100%"
2002CELLPADDING="6"
2003><TR
2004><TD
2005><PRE
2006CLASS="PROGRAMLISTING"
2007>void xmlCleanupPredefinedEntities (void);</PRE
2008></TD
2009></TR
2010></TABLE
2011><P
2012>Cleanup up the predefined entities table.</P
2013><P
2014></P
2015></DIV
Daniel Veillard35925471999-02-25 08:46:07 +00002016></DIV
2017><DIV
2018CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00002019><BR
2020CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00002021WIDTH="100%"
2022BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002023BGCOLOR="#000000"
2024CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00002025CELLSPACING="0"
2026><TR
2027><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002028WIDTH="25%"
2029BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00002030ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00002031><A
2032HREF="gnome-xml-tree.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00002033><FONT
2034COLOR="#FFFFFF"
2035SIZE="3"
2036><B
2037>&#60;&#60;&#60; Previous Page</B
2038></FONT
2039></A
Daniel Veillard35925471999-02-25 08:46:07 +00002040></TD
2041><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002042WIDTH="25%"
2043BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00002044ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00002045><FONT
2046COLOR="#FFFFFF"
2047SIZE="3"
2048><B
Daniel Veillard35925471999-02-25 08:46:07 +00002049><A
2050HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00002051><FONT
2052COLOR="#FFFFFF"
2053SIZE="3"
2054><B
2055>Home</B
2056></FONT
2057></A
2058></B
2059></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00002060></TD
2061><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002062WIDTH="25%"
2063BGCOLOR="#00C000"
2064ALIGN="center"
2065><FONT
2066COLOR="#FFFFFF"
2067SIZE="3"
2068><B
2069><A
Daniel Veillard35008381999-10-25 13:15:52 +00002070HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00002071><FONT
2072COLOR="#FFFFFF"
2073SIZE="3"
2074><B
2075>Up</B
2076></FONT
2077></A
2078></B
2079></FONT
2080></TD
2081><TD
2082WIDTH="25%"
2083BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00002084ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00002085><A
2086HREF="gnome-xml-valid.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00002087><FONT
2088COLOR="#FFFFFF"
2089SIZE="3"
2090><B
2091>Next Page &#62;&#62;&#62;</B
2092></FONT
2093></A
Daniel Veillard35925471999-02-25 08:46:07 +00002094></TD
2095></TR
2096><TR
2097><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002098COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00002099ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00002100><FONT
2101COLOR="#FFFFFF"
2102SIZE="3"
2103><B
2104>tree</B
2105></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00002106></TD
2107><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002108COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00002109ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00002110><FONT
2111COLOR="#FFFFFF"
2112SIZE="3"
2113><B
2114>valid</B
2115></FONT
2116></TD
Daniel Veillard35925471999-02-25 08:46:07 +00002117></TR
2118></TABLE
2119></DIV
2120></BODY
2121></HTML
2122>