blob: 8d48c4a3cf63a0a878893907856f18aee0682b58 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>entities</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><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"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016HREF="libxml-tree.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000017REL="NEXT"
18TITLE="valid"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000019HREF="libxml-valid.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000020><BODY
Daniel Veillardbed7b052001-05-19 14:59:49 +000021CLASS="REFENTRY"
Daniel Veillard35925471999-02-25 08:46:07 +000022BGCOLOR="#FFFFFF"
23TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000024LINK="#0000FF"
25VLINK="#840084"
26ALINK="#0000FF"
Daniel Veillard35925471999-02-25 08:46:07 +000027><DIV
28CLASS="NAVHEADER"
29><TABLE
30WIDTH="100%"
31BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000032BGCOLOR="#000000"
33CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000034CELLSPACING="0"
35><TR
36><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000037COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000038ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000039><FONT
40COLOR="#FFFFFF"
41SIZE="5"
42>Gnome XML Library Reference Manual</FONT
43></TH
Daniel Veillard35925471999-02-25 08:46:07 +000044></TR
45><TR
46><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000047WIDTH="25%"
48BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000049ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000050><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000051HREF="libxml-tree.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000052><FONT
53COLOR="#FFFFFF"
54SIZE="3"
55><B
56>&#60;&#60;&#60; Previous Page</B
57></FONT
58></A
Daniel Veillard35925471999-02-25 08:46:07 +000059></TD
60><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000061WIDTH="25%"
62BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000063ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000064><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
Daniel Veillard35925471999-02-25 08:46:07 +000079></TD
80><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000081WIDTH="25%"
82BGCOLOR="#00C000"
83ALIGN="center"
84><FONT
85COLOR="#FFFFFF"
86SIZE="3"
87><B
88><A
Daniel Veillard35008381999-10-25 13:15:52 +000089HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000090><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"
Daniel Veillard35925471999-02-25 08:46:07 +0000103ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +0000104><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000105HREF="libxml-valid.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000106><FONT
107COLOR="#FFFFFF"
108SIZE="3"
109><B
110>Next Page &#62;&#62;&#62;</B
111></FONT
112></A
Daniel Veillard35925471999-02-25 08:46:07 +0000113></TD
114></TR
115></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000116></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000117><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000118><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000119NAME="LIBXML-ENTITIES"
Daniel Veillard503b8932001-01-05 06:36:31 +0000120>entities</A
121></H1
Daniel Veillard35925471999-02-25 08:46:07 +0000122><DIV
123CLASS="REFNAMEDIV"
124><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000125NAME="AEN7482"
Daniel Veillard35925471999-02-25 08:46:07 +0000126></A
127><H2
128>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000129>entities&nbsp;--&nbsp;</DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000130><DIV
131CLASS="REFSYNOPSISDIV"
132><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000133NAME="AEN7485"
Daniel Veillard35925471999-02-25 08:46:07 +0000134></A
135><H2
136>Synopsis</H2
137><TABLE
138BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000139BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000140WIDTH="100%"
141CELLPADDING="6"
142><TR
143><TD
144><PRE
145CLASS="SYNOPSIS"
146>&#13;
147
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000148enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000149HREF="libxml-entities.html#XMLENTITYTYPE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000150>xmlEntityType</A
151>;
152struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000153HREF="libxml-entities.html#XMLENTITY"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000154>xmlEntity</A
155>;
Daniel Veillard35925471999-02-25 08:46:07 +0000156typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000157HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000158>xmlEntityPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000159>;
Daniel Veillard35925471999-02-25 08:46:07 +0000160typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000161HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000162>xmlEntitiesTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000163>;
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000164void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000165HREF="libxml-entities.html#XMLINITIALIZEPREDEFINEDENTITIES"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000166>xmlInitializePredefinedEntities</A
167> (void);
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000168<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000169HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000170>xmlEntityPtr</A
171> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000172HREF="libxml-entities.html#XMLADDDOCENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000173>xmlAddDocEntity</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000174> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000175HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000176>xmlDocPtr</A
177> doc,
178 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000179HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000180>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000181> *name,
182 int type,
183 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000184HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000185>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000186> *ExternalID,
187 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000188HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000189>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000190> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000191 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000192HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000193>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000194> *content);
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000195<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000196HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000197>xmlEntityPtr</A
198> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000199HREF="libxml-entities.html#XMLADDDTDENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000200>xmlAddDtdEntity</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000201> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000202HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000203>xmlDocPtr</A
204> doc,
205 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000206HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000207>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000208> *name,
209 int type,
210 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000211HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000212>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000213> *ExternalID,
214 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000215HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000216>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000217> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000218 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000219HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000220>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000221> *content);
222<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000223HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000224>xmlEntityPtr</A
225> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000226HREF="libxml-entities.html#XMLGETPREDEFINEDENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000227>xmlGetPredefinedEntity</A
228> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000229HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000230>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000231> *name);
232<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000233HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000234>xmlEntityPtr</A
235> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000236HREF="libxml-entities.html#XMLGETDOCENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000237>xmlGetDocEntity</A
238> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000239HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000240>xmlDocPtr</A
241> doc,
242 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000243HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000244>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000245> *name);
246<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000247HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000248>xmlEntityPtr</A
249> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000250HREF="libxml-entities.html#XMLGETDTDENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000251>xmlGetDtdEntity</A
252> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000253HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000254>xmlDocPtr</A
255> doc,
256 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000257HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000258>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000259> *name);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000260<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000261HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000262>xmlEntityPtr</A
263> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000264HREF="libxml-entities.html#XMLGETPARAMETERENTITY"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000265>xmlGetParameterEntity</A
266> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000267HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000268>xmlDocPtr</A
269> doc,
270 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000271HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000272>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000273> *name);
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000274const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000275HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000276>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000277>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000278HREF="libxml-entities.html#XMLENCODEENTITIES"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000279>xmlEncodeEntities</A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000280> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000281HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000282>xmlDocPtr</A
283> doc,
284 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000285HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000286>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000287> *input);
Daniel Veillard35925471999-02-25 08:46:07 +0000288<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000289HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000290>xmlChar</A
291>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000292HREF="libxml-entities.html#XMLENCODEENTITIESREENTRANT"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000293>xmlEncodeEntitiesReentrant</A
294> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000295HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000296>xmlDocPtr</A
297> doc,
298 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000299HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000300>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000301> *input);
302<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000303HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000304>xmlChar</A
305>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000306HREF="libxml-entities.html#XMLENCODESPECIALCHARS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000307>xmlEncodeSpecialChars</A
308> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000309HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000310>xmlDocPtr</A
311> doc,
312 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000313HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000314>xmlChar</A
315> *input);
316<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000317HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000318>xmlEntitiesTablePtr</A
319> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000320HREF="libxml-entities.html#XMLCREATEENTITIESTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000321>xmlCreateEntitiesTable</A
322> (void);
323<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000324HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000325>xmlEntitiesTablePtr</A
326> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000327HREF="libxml-entities.html#XMLCOPYENTITIESTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000328>xmlCopyEntitiesTable</A
329> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000330HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000331>xmlEntitiesTablePtr</A
332> table);
333void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000334HREF="libxml-entities.html#XMLFREEENTITIESTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000335>xmlFreeEntitiesTable</A
336> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000337HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000338>xmlEntitiesTablePtr</A
339> table);
340void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000341HREF="libxml-entities.html#XMLDUMPENTITIESTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000342>xmlDumpEntitiesTable</A
343> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000344HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000345>xmlBufferPtr</A
346> buf,
347 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000348HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000349>xmlEntitiesTablePtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000350> table);
351void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000352HREF="libxml-entities.html#XMLDUMPENTITYDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000353>xmlDumpEntityDecl</A
354> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000355HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000356>xmlBufferPtr</A
357> buf,
358 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000359HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000360>xmlEntityPtr</A
361> ent);
362void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000363HREF="libxml-entities.html#XMLCLEANUPPREDEFINEDENTITIES"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000364>xmlCleanupPredefinedEntities</A
Daniel Veillard29a11cc2000-10-25 13:32:39 +0000365> (void);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000366></TD
367></TR
368></TABLE
369></DIV
370><DIV
371CLASS="REFSECT1"
372><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000373NAME="AEN7548"
Daniel Veillard35925471999-02-25 08:46:07 +0000374></A
375><H2
376>Description</H2
377><P
378></P
379></DIV
380><DIV
381CLASS="REFSECT1"
382><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000383NAME="AEN7551"
Daniel Veillard35925471999-02-25 08:46:07 +0000384></A
385><H2
386>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000387><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000388CLASS="REFSECT2"
389><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000390NAME="AEN7553"
Daniel Veillard35925471999-02-25 08:46:07 +0000391></A
392><H3
393><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000394NAME="XMLENTITYTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000395></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000396>enum xmlEntityType</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000397><TABLE
398BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000399BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000400WIDTH="100%"
401CELLPADDING="6"
402><TR
403><TD
404><PRE
405CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000406>typedef enum {
407 XML_INTERNAL_GENERAL_ENTITY = 1,
408 XML_EXTERNAL_GENERAL_PARSED_ENTITY = 2,
409 XML_EXTERNAL_GENERAL_UNPARSED_ENTITY = 3,
410 XML_INTERNAL_PARAMETER_ENTITY = 4,
411 XML_EXTERNAL_PARAMETER_ENTITY = 5,
412 XML_INTERNAL_PREDEFINED_ENTITY = 6
413} xmlEntityType;</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000414></TD
415></TR
416></TABLE
417><P
418></P
419></DIV
420><HR><DIV
421CLASS="REFSECT2"
422><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000423NAME="AEN7558"
Daniel Veillard35925471999-02-25 08:46:07 +0000424></A
425><H3
426><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000427NAME="XMLENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000428></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000429>struct xmlEntity</H3
Daniel Veillardf3a73582000-01-05 14:58:39 +0000430><TABLE
431BORDER="0"
432BGCOLOR="#D6E8FF"
433WIDTH="100%"
434CELLPADDING="6"
435><TR
436><TD
437><PRE
438CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000439>struct xmlEntity {
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000440 void *_private; /* for Corba, must be first ! */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000441 xmlElementType type; /* XML_ENTITY_DECL, must be second ! */
442 const xmlChar *name; /* Attribute name */
443 struct _xmlNode *children; /* NULL */
444 struct _xmlNode *last; /* NULL */
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000445 struct _xmlDtd *parent; /* -&gt; DTD */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000446 struct _xmlNode *next; /* next sibling link */
447 struct _xmlNode *prev; /* previous sibling link */
448 struct _xmlDoc *doc; /* the containing document */
449
450 xmlChar *orig; /* content without ref substitution */
451 xmlChar *content; /* content or ndata if unparsed */
452 int length; /* the content length */
453 xmlEntityType etype; /* The entity type */
454 const xmlChar *ExternalID; /* External identifier for PUBLIC */
455 const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC Entity */
456
Daniel Veillard29a11cc2000-10-25 13:32:39 +0000457 struct _xmlEntity *nexte; /* unused */
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000458 const xmlChar *URI; /* the full URI as computed */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000459};</PRE
Daniel Veillardf3a73582000-01-05 14:58:39 +0000460></TD
461></TR
462></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +0000463><P
464></P
465></DIV
466><HR><DIV
467CLASS="REFSECT2"
468><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000469NAME="AEN7563"
Daniel Veillardf3a73582000-01-05 14:58:39 +0000470></A
471><H3
472><A
473NAME="XMLENTITYPTR"
474></A
475>xmlEntityPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000476><TABLE
477BORDER="0"
478BGCOLOR="#D6E8FF"
479WIDTH="100%"
480CELLPADDING="6"
481><TR
482><TD
483><PRE
484CLASS="PROGRAMLISTING"
485>typedef xmlEntity *xmlEntityPtr;</PRE
486></TD
487></TR
488></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +0000489><P
490></P
491></DIV
492><HR><DIV
493CLASS="REFSECT2"
494><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000495NAME="AEN7568"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000496></A
497><H3
498><A
499NAME="XMLENTITIESTABLEPTR"
500></A
501>xmlEntitiesTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000502><TABLE
503BORDER="0"
504BGCOLOR="#D6E8FF"
505WIDTH="100%"
506CELLPADDING="6"
507><TR
508><TD
509><PRE
510CLASS="PROGRAMLISTING"
511>typedef xmlEntitiesTable *xmlEntitiesTablePtr;</PRE
512></TD
513></TR
514></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000515><P
516></P
517></DIV
518><HR><DIV
519CLASS="REFSECT2"
520><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000521NAME="AEN7573"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000522></A
523><H3
524><A
525NAME="XMLINITIALIZEPREDEFINEDENTITIES"
526></A
527>xmlInitializePredefinedEntities ()</H3
528><TABLE
529BORDER="0"
530BGCOLOR="#D6E8FF"
531WIDTH="100%"
532CELLPADDING="6"
533><TR
534><TD
535><PRE
536CLASS="PROGRAMLISTING"
537>void xmlInitializePredefinedEntities (void);</PRE
538></TD
539></TR
540></TABLE
541><P
542>Set up the predefined entities.</P
543><P
544></P
545></DIV
546><HR><DIV
547CLASS="REFSECT2"
548><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000549NAME="AEN7579"
Daniel Veillard35925471999-02-25 08:46:07 +0000550></A
551><H3
552><A
553NAME="XMLADDDOCENTITY"
554></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000555>xmlAddDocEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000556><TABLE
557BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000558BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000559WIDTH="100%"
560CELLPADDING="6"
561><TR
562><TD
563><PRE
564CLASS="PROGRAMLISTING"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000565><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000566HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000567>xmlEntityPtr</A
568> xmlAddDocEntity (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000569HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000570>xmlDocPtr</A
571> doc,
572 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000573HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000574>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000575> *name,
576 int type,
577 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000578HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000579>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000580> *ExternalID,
581 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000582HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000583>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000584> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000585 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000586HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000587>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000588> *content);</PRE
589></TD
590></TR
591></TABLE
592><P
593>Register a new entity for this document.</P
594><P
595></P
596><DIV
597CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000598><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000599NAME="AEN7591"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000600></A
Daniel Veillard35925471999-02-25 08:46:07 +0000601><P
602></P
603><TABLE
604BORDER="0"
605WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000606BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000607CELLSPACING="0"
608CELLPADDING="4"
609CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000610><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +0000611><TR
612><TD
613WIDTH="20%"
614ALIGN="RIGHT"
615VALIGN="TOP"
616><TT
617CLASS="PARAMETER"
618><I
619>doc</I
620></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000621>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000622><TD
623WIDTH="80%"
624ALIGN="LEFT"
625VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000626> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000627></TR
628><TR
629><TD
630WIDTH="20%"
631ALIGN="RIGHT"
632VALIGN="TOP"
633><TT
634CLASS="PARAMETER"
635><I
636>name</I
637></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000638>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000639><TD
640WIDTH="80%"
641ALIGN="LEFT"
642VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000643> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000644></TR
645><TR
646><TD
647WIDTH="20%"
648ALIGN="RIGHT"
649VALIGN="TOP"
650><TT
651CLASS="PARAMETER"
652><I
653>type</I
654></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000655>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000656><TD
657WIDTH="80%"
658ALIGN="LEFT"
659VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000660> the entity type XML_xxx_yyy_ENTITY</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000661></TR
662><TR
663><TD
664WIDTH="20%"
665ALIGN="RIGHT"
666VALIGN="TOP"
667><TT
668CLASS="PARAMETER"
669><I
670>ExternalID</I
671></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000672>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000673><TD
674WIDTH="80%"
675ALIGN="LEFT"
676VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000677> the entity external ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000678></TR
679><TR
680><TD
681WIDTH="20%"
682ALIGN="RIGHT"
683VALIGN="TOP"
684><TT
685CLASS="PARAMETER"
686><I
687>SystemID</I
688></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000689>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000690><TD
691WIDTH="80%"
692ALIGN="LEFT"
693VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000694> the entity system ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000695></TR
696><TR
697><TD
698WIDTH="20%"
699ALIGN="RIGHT"
700VALIGN="TOP"
701><TT
702CLASS="PARAMETER"
703><I
704>content</I
705></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000706>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000707><TD
708WIDTH="80%"
709ALIGN="LEFT"
710VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000711> the entity content</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000712></TR
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000713><TR
714><TD
715WIDTH="20%"
716ALIGN="RIGHT"
717VALIGN="TOP"
718><I
719CLASS="EMPHASIS"
720>Returns</I
721> :</TD
722><TD
723WIDTH="80%"
724ALIGN="LEFT"
725VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000726>a pointer to the entity or NULL in case of error</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000727></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000728></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +0000729></TABLE
730><P
731></P
732></DIV
733></DIV
734><HR><DIV
735CLASS="REFSECT2"
736><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000737NAME="AEN7624"
Daniel Veillard35925471999-02-25 08:46:07 +0000738></A
739><H3
740><A
741NAME="XMLADDDTDENTITY"
742></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000743>xmlAddDtdEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000744><TABLE
745BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000746BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000747WIDTH="100%"
748CELLPADDING="6"
749><TR
750><TD
751><PRE
752CLASS="PROGRAMLISTING"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000753><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000754HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000755>xmlEntityPtr</A
756> xmlAddDtdEntity (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000757HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000758>xmlDocPtr</A
759> doc,
760 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000761HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000762>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000763> *name,
764 int type,
765 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000766HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000767>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000768> *ExternalID,
769 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000770HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000771>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000772> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000773 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000774HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000775>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000776> *content);</PRE
777></TD
778></TR
779></TABLE
780><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000781>Register a new entity for this document DTD external subset.</P
Daniel Veillard35925471999-02-25 08:46:07 +0000782><P
783></P
784><DIV
785CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000786><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000787NAME="AEN7636"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000788></A
Daniel Veillard35925471999-02-25 08:46:07 +0000789><P
790></P
791><TABLE
792BORDER="0"
793WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000794BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000795CELLSPACING="0"
796CELLPADDING="4"
797CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000798><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +0000799><TR
800><TD
801WIDTH="20%"
802ALIGN="RIGHT"
803VALIGN="TOP"
804><TT
805CLASS="PARAMETER"
806><I
807>doc</I
808></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000809>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000810><TD
811WIDTH="80%"
812ALIGN="LEFT"
813VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000814> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000815></TR
816><TR
817><TD
818WIDTH="20%"
819ALIGN="RIGHT"
820VALIGN="TOP"
821><TT
822CLASS="PARAMETER"
823><I
824>name</I
825></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000826>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000827><TD
828WIDTH="80%"
829ALIGN="LEFT"
830VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000831> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000832></TR
833><TR
834><TD
835WIDTH="20%"
836ALIGN="RIGHT"
837VALIGN="TOP"
838><TT
839CLASS="PARAMETER"
840><I
841>type</I
842></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000843>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000844><TD
845WIDTH="80%"
846ALIGN="LEFT"
847VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000848> the entity type XML_xxx_yyy_ENTITY</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000849></TR
850><TR
851><TD
852WIDTH="20%"
853ALIGN="RIGHT"
854VALIGN="TOP"
855><TT
856CLASS="PARAMETER"
857><I
858>ExternalID</I
859></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000860>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000861><TD
862WIDTH="80%"
863ALIGN="LEFT"
864VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000865> the entity external ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000866></TR
867><TR
868><TD
869WIDTH="20%"
870ALIGN="RIGHT"
871VALIGN="TOP"
872><TT
873CLASS="PARAMETER"
874><I
875>SystemID</I
876></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000877>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000878><TD
879WIDTH="80%"
880ALIGN="LEFT"
881VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000882> the entity system ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000883></TR
884><TR
885><TD
886WIDTH="20%"
887ALIGN="RIGHT"
888VALIGN="TOP"
889><TT
890CLASS="PARAMETER"
891><I
892>content</I
893></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000894>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000895><TD
896WIDTH="80%"
897ALIGN="LEFT"
898VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000899> the entity content</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000900></TR
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000901><TR
902><TD
903WIDTH="20%"
904ALIGN="RIGHT"
905VALIGN="TOP"
906><I
907CLASS="EMPHASIS"
908>Returns</I
909> :</TD
910><TD
911WIDTH="80%"
912ALIGN="LEFT"
913VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000914>a pointer to the entity or NULL in case of error</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000915></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000916></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +0000917></TABLE
918><P
919></P
920></DIV
921></DIV
922><HR><DIV
923CLASS="REFSECT2"
924><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000925NAME="AEN7669"
Daniel Veillard35925471999-02-25 08:46:07 +0000926></A
927><H3
928><A
929NAME="XMLGETPREDEFINEDENTITY"
930></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000931>xmlGetPredefinedEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000932><TABLE
933BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000934BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000935WIDTH="100%"
936CELLPADDING="6"
937><TR
938><TD
939><PRE
940CLASS="PROGRAMLISTING"
941><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000942HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000943>xmlEntityPtr</A
944> xmlGetPredefinedEntity (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000945HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000946>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000947> *name);</PRE
948></TD
949></TR
950></TABLE
951><P
952>Check whether this name is an predefined entity.</P
953><P
954></P
955><DIV
956CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000957><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000958NAME="AEN7677"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000959></A
Daniel Veillard35925471999-02-25 08:46:07 +0000960><P
961></P
962><TABLE
963BORDER="0"
964WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000965BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000966CELLSPACING="0"
967CELLPADDING="4"
968CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000969><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +0000970><TR
971><TD
972WIDTH="20%"
973ALIGN="RIGHT"
974VALIGN="TOP"
975><TT
976CLASS="PARAMETER"
977><I
978>name</I
979></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000980>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000981><TD
982WIDTH="80%"
983ALIGN="LEFT"
984VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000985> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000986></TR
987><TR
988><TD
989WIDTH="20%"
990ALIGN="RIGHT"
991VALIGN="TOP"
992><I
993CLASS="EMPHASIS"
994>Returns</I
995> :</TD
996><TD
997WIDTH="80%"
998ALIGN="LEFT"
999VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001000>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001001></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001002></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001003></TABLE
1004><P
1005></P
1006></DIV
1007></DIV
1008><HR><DIV
1009CLASS="REFSECT2"
1010><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001011NAME="AEN7690"
Daniel Veillard35925471999-02-25 08:46:07 +00001012></A
1013><H3
1014><A
1015NAME="XMLGETDOCENTITY"
1016></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001017>xmlGetDocEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001018><TABLE
1019BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001020BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001021WIDTH="100%"
1022CELLPADDING="6"
1023><TR
1024><TD
1025><PRE
1026CLASS="PROGRAMLISTING"
1027><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001028HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001029>xmlEntityPtr</A
1030> xmlGetDocEntity (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001031HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001032>xmlDocPtr</A
1033> doc,
1034 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001035HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001036>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001037> *name);</PRE
1038></TD
1039></TR
1040></TABLE
1041><P
1042>Do an entity lookup in the document entity hash table and
1043returns the corrsponding entity, otherwise a lookup is done
1044in the predefined entities too.</P
1045><P
1046></P
1047><DIV
1048CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001049><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001050NAME="AEN7699"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001051></A
Daniel Veillard35925471999-02-25 08:46:07 +00001052><P
1053></P
1054><TABLE
1055BORDER="0"
1056WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001057BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001058CELLSPACING="0"
1059CELLPADDING="4"
1060CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001061><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001062><TR
1063><TD
1064WIDTH="20%"
1065ALIGN="RIGHT"
1066VALIGN="TOP"
1067><TT
1068CLASS="PARAMETER"
1069><I
1070>doc</I
1071></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001072>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001073><TD
1074WIDTH="80%"
1075ALIGN="LEFT"
1076VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001077> the document referencing the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001078></TR
1079><TR
1080><TD
1081WIDTH="20%"
1082ALIGN="RIGHT"
1083VALIGN="TOP"
1084><TT
1085CLASS="PARAMETER"
1086><I
1087>name</I
1088></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001089>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001090><TD
1091WIDTH="80%"
1092ALIGN="LEFT"
1093VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001094> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001095></TR
1096><TR
1097><TD
1098WIDTH="20%"
1099ALIGN="RIGHT"
1100VALIGN="TOP"
1101><I
1102CLASS="EMPHASIS"
1103>Returns</I
1104> :</TD
1105><TD
1106WIDTH="80%"
1107ALIGN="LEFT"
1108VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001109>A pointer to the entity structure or NULL if not found.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001110></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001111></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001112></TABLE
1113><P
1114></P
1115></DIV
1116></DIV
1117><HR><DIV
1118CLASS="REFSECT2"
1119><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001120NAME="AEN7716"
Daniel Veillard35925471999-02-25 08:46:07 +00001121></A
1122><H3
1123><A
1124NAME="XMLGETDTDENTITY"
1125></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001126>xmlGetDtdEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001127><TABLE
1128BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001129BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001130WIDTH="100%"
1131CELLPADDING="6"
1132><TR
1133><TD
1134><PRE
1135CLASS="PROGRAMLISTING"
1136><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001137HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001138>xmlEntityPtr</A
1139> xmlGetDtdEntity (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001140HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001141>xmlDocPtr</A
1142> doc,
1143 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001144HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001145>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001146> *name);</PRE
1147></TD
1148></TR
1149></TABLE
1150><P
1151>Do an entity lookup in the Dtd entity hash table and
1152returns the corresponding entity, if found.</P
1153><P
1154></P
1155><DIV
1156CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001157><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001158NAME="AEN7725"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001159></A
Daniel Veillard35925471999-02-25 08:46:07 +00001160><P
1161></P
1162><TABLE
1163BORDER="0"
1164WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001165BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001166CELLSPACING="0"
1167CELLPADDING="4"
1168CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001169><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001170><TR
1171><TD
1172WIDTH="20%"
1173ALIGN="RIGHT"
1174VALIGN="TOP"
1175><TT
1176CLASS="PARAMETER"
1177><I
1178>doc</I
1179></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001180>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001181><TD
1182WIDTH="80%"
1183ALIGN="LEFT"
1184VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001185> the document referencing the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001186></TR
1187><TR
1188><TD
1189WIDTH="20%"
1190ALIGN="RIGHT"
1191VALIGN="TOP"
1192><TT
1193CLASS="PARAMETER"
1194><I
1195>name</I
1196></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001197>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001198><TD
1199WIDTH="80%"
1200ALIGN="LEFT"
1201VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001202> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001203></TR
1204><TR
1205><TD
1206WIDTH="20%"
1207ALIGN="RIGHT"
1208VALIGN="TOP"
1209><I
1210CLASS="EMPHASIS"
1211>Returns</I
1212> :</TD
1213><TD
1214WIDTH="80%"
1215ALIGN="LEFT"
1216VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001217>A pointer to the entity structure or NULL if not found.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001218></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001219></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001220></TABLE
1221><P
1222></P
1223></DIV
1224></DIV
1225><HR><DIV
1226CLASS="REFSECT2"
1227><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001228NAME="AEN7742"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001229></A
1230><H3
1231><A
1232NAME="XMLGETPARAMETERENTITY"
1233></A
1234>xmlGetParameterEntity ()</H3
1235><TABLE
1236BORDER="0"
1237BGCOLOR="#D6E8FF"
1238WIDTH="100%"
1239CELLPADDING="6"
1240><TR
1241><TD
1242><PRE
1243CLASS="PROGRAMLISTING"
1244><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001245HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001246>xmlEntityPtr</A
1247> xmlGetParameterEntity (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001248HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001249>xmlDocPtr</A
1250> doc,
1251 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001252HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001253>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001254> *name);</PRE
1255></TD
1256></TR
1257></TABLE
1258><P
1259>Do an entity lookup in the internal and external subsets and
1260returns the corresponding parameter entity, if found.</P
1261><P
1262></P
1263><DIV
1264CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001265><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001266NAME="AEN7751"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001267></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001268><P
1269></P
1270><TABLE
1271BORDER="0"
1272WIDTH="100%"
1273BGCOLOR="#FFD0D0"
1274CELLSPACING="0"
1275CELLPADDING="4"
1276CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001277><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001278><TR
1279><TD
1280WIDTH="20%"
1281ALIGN="RIGHT"
1282VALIGN="TOP"
1283><TT
1284CLASS="PARAMETER"
1285><I
1286>doc</I
1287></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001288>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001289><TD
1290WIDTH="80%"
1291ALIGN="LEFT"
1292VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001293> the document referencing the entity</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001294></TR
1295><TR
1296><TD
1297WIDTH="20%"
1298ALIGN="RIGHT"
1299VALIGN="TOP"
1300><TT
1301CLASS="PARAMETER"
1302><I
1303>name</I
1304></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001305>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001306><TD
1307WIDTH="80%"
1308ALIGN="LEFT"
1309VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001310> the entity name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001311></TR
1312><TR
1313><TD
1314WIDTH="20%"
1315ALIGN="RIGHT"
1316VALIGN="TOP"
1317><I
1318CLASS="EMPHASIS"
1319>Returns</I
1320> :</TD
1321><TD
1322WIDTH="80%"
1323ALIGN="LEFT"
1324VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001325>A pointer to the entity structure or NULL if not found.</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001326></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001327></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001328></TABLE
1329><P
1330></P
1331></DIV
1332></DIV
1333><HR><DIV
1334CLASS="REFSECT2"
1335><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001336NAME="AEN7768"
Daniel Veillard35925471999-02-25 08:46:07 +00001337></A
1338><H3
1339><A
1340NAME="XMLENCODEENTITIES"
1341></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001342>xmlEncodeEntities ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001343><TABLE
1344BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001345BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001346WIDTH="100%"
1347CELLPADDING="6"
1348><TR
1349><TD
1350><PRE
1351CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001352>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001353HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001354>xmlChar</A
1355>* xmlEncodeEntities (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001356HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001357>xmlDocPtr</A
1358> doc,
1359 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001360HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001361>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001362> *input);</PRE
1363></TD
1364></TR
1365></TABLE
1366><P
1367>Do a global encoding of a string, replacing the predefined entities
1368and non ASCII values with their entities and CharRef counterparts.</P
1369><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001370>TODO: remove xmlEncodeEntities, once we are not afraid of breaking binary
1371compatibility</P
Daniel Veillard35925471999-02-25 08:46:07 +00001372><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001373>People must migrate their code to xmlEncodeEntitiesReentrant !
1374This routine will issue a warning when encountered.</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001375><P
1376></P
1377><DIV
1378CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001379><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001380NAME="AEN7779"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001381></A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001382><P
1383></P
1384><TABLE
1385BORDER="0"
1386WIDTH="100%"
1387BGCOLOR="#FFD0D0"
1388CELLSPACING="0"
1389CELLPADDING="4"
1390CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001391><TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001392><TR
1393><TD
1394WIDTH="20%"
1395ALIGN="RIGHT"
1396VALIGN="TOP"
1397><TT
1398CLASS="PARAMETER"
1399><I
1400>doc</I
1401></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001402>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001403><TD
1404WIDTH="80%"
1405ALIGN="LEFT"
1406VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001407> the document containing the string</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001408></TR
1409><TR
1410><TD
1411WIDTH="20%"
1412ALIGN="RIGHT"
1413VALIGN="TOP"
1414><TT
1415CLASS="PARAMETER"
1416><I
1417>input</I
1418></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001419>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001420><TD
1421WIDTH="80%"
1422ALIGN="LEFT"
1423VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001424> A string to convert to XML.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001425></TR
1426><TR
1427><TD
1428WIDTH="20%"
1429ALIGN="RIGHT"
1430VALIGN="TOP"
1431><I
1432CLASS="EMPHASIS"
1433>Returns</I
1434> :</TD
1435><TD
1436WIDTH="80%"
1437ALIGN="LEFT"
1438VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001439>A newly allocated string with the substitution done.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001440></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001441></TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001442></TABLE
1443><P
1444></P
1445></DIV
1446></DIV
1447><HR><DIV
1448CLASS="REFSECT2"
1449><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001450NAME="AEN7796"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001451></A
1452><H3
1453><A
1454NAME="XMLENCODEENTITIESREENTRANT"
1455></A
1456>xmlEncodeEntitiesReentrant ()</H3
1457><TABLE
1458BORDER="0"
1459BGCOLOR="#D6E8FF"
1460WIDTH="100%"
1461CELLPADDING="6"
1462><TR
1463><TD
1464><PRE
1465CLASS="PROGRAMLISTING"
1466><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001467HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001468>xmlChar</A
1469>* xmlEncodeEntitiesReentrant (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001470HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001471>xmlDocPtr</A
1472> doc,
1473 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001474HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001475>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001476> *input);</PRE
1477></TD
1478></TR
1479></TABLE
1480><P
1481>Do a global encoding of a string, replacing the predefined entities
1482and non ASCII values with their entities and CharRef counterparts.
1483Contrary to xmlEncodeEntities, this routine is reentrant, and result
1484must be deallocated.</P
1485><P
Daniel Veillard35925471999-02-25 08:46:07 +00001486></P
1487><DIV
1488CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001489><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001490NAME="AEN7805"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001491></A
Daniel Veillard35925471999-02-25 08:46:07 +00001492><P
1493></P
1494><TABLE
1495BORDER="0"
1496WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001497BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001498CELLSPACING="0"
1499CELLPADDING="4"
1500CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001501><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001502><TR
1503><TD
1504WIDTH="20%"
1505ALIGN="RIGHT"
1506VALIGN="TOP"
1507><TT
1508CLASS="PARAMETER"
1509><I
1510>doc</I
1511></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001512>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001513><TD
1514WIDTH="80%"
1515ALIGN="LEFT"
1516VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001517> the document containing the string</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001518></TR
1519><TR
1520><TD
1521WIDTH="20%"
1522ALIGN="RIGHT"
1523VALIGN="TOP"
1524><TT
1525CLASS="PARAMETER"
1526><I
1527>input</I
1528></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001529>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001530><TD
1531WIDTH="80%"
1532ALIGN="LEFT"
1533VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001534> A string to convert to XML.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001535></TR
1536><TR
1537><TD
1538WIDTH="20%"
1539ALIGN="RIGHT"
1540VALIGN="TOP"
1541><I
1542CLASS="EMPHASIS"
1543>Returns</I
1544> :</TD
1545><TD
1546WIDTH="80%"
1547ALIGN="LEFT"
1548VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001549>A newly allocated string with the substitution done.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001550></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001551></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001552></TABLE
1553><P
1554></P
1555></DIV
1556></DIV
1557><HR><DIV
1558CLASS="REFSECT2"
1559><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001560NAME="AEN7822"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001561></A
1562><H3
1563><A
1564NAME="XMLENCODESPECIALCHARS"
1565></A
1566>xmlEncodeSpecialChars ()</H3
1567><TABLE
1568BORDER="0"
1569BGCOLOR="#D6E8FF"
1570WIDTH="100%"
1571CELLPADDING="6"
1572><TR
1573><TD
1574><PRE
1575CLASS="PROGRAMLISTING"
1576><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001577HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001578>xmlChar</A
1579>* xmlEncodeSpecialChars (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001580HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001581>xmlDocPtr</A
1582> doc,
1583 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001584HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001585>xmlChar</A
1586> *input);</PRE
1587></TD
1588></TR
1589></TABLE
1590><P
1591>Do a global encoding of a string, replacing the predefined entities
1592this routine is reentrant, and result must be deallocated.</P
1593><P
1594></P
1595><DIV
1596CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001597><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001598NAME="AEN7831"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001599></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001600><P
1601></P
1602><TABLE
1603BORDER="0"
1604WIDTH="100%"
1605BGCOLOR="#FFD0D0"
1606CELLSPACING="0"
1607CELLPADDING="4"
1608CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001609><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001610><TR
1611><TD
1612WIDTH="20%"
1613ALIGN="RIGHT"
1614VALIGN="TOP"
1615><TT
1616CLASS="PARAMETER"
1617><I
1618>doc</I
1619></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001620>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001621><TD
1622WIDTH="80%"
1623ALIGN="LEFT"
1624VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001625> the document containing the string</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001626></TR
1627><TR
1628><TD
1629WIDTH="20%"
1630ALIGN="RIGHT"
1631VALIGN="TOP"
1632><TT
1633CLASS="PARAMETER"
1634><I
1635>input</I
1636></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001637>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001638><TD
1639WIDTH="80%"
1640ALIGN="LEFT"
1641VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001642> A string to convert to XML.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001643></TR
1644><TR
1645><TD
1646WIDTH="20%"
1647ALIGN="RIGHT"
1648VALIGN="TOP"
1649><I
1650CLASS="EMPHASIS"
1651>Returns</I
1652> :</TD
1653><TD
1654WIDTH="80%"
1655ALIGN="LEFT"
1656VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001657>A newly allocated string with the substitution done.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001658></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001659></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001660></TABLE
1661><P
1662></P
1663></DIV
1664></DIV
1665><HR><DIV
1666CLASS="REFSECT2"
1667><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001668NAME="AEN7848"
Daniel Veillard35925471999-02-25 08:46:07 +00001669></A
1670><H3
1671><A
1672NAME="XMLCREATEENTITIESTABLE"
1673></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001674>xmlCreateEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001675><TABLE
1676BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001677BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001678WIDTH="100%"
1679CELLPADDING="6"
1680><TR
1681><TD
1682><PRE
1683CLASS="PROGRAMLISTING"
1684><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001685HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001686>xmlEntitiesTablePtr</A
1687> xmlCreateEntitiesTable (void);</PRE
1688></TD
1689></TR
1690></TABLE
1691><P
1692>create and initialize an empty entities hash table.</P
1693><P
1694></P
1695><DIV
1696CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001697><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001698NAME="AEN7855"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001699></A
Daniel Veillard35925471999-02-25 08:46:07 +00001700><P
1701></P
1702><TABLE
1703BORDER="0"
1704WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001705BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001706CELLSPACING="0"
1707CELLPADDING="4"
1708CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001709><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001710><TR
1711><TD
1712WIDTH="20%"
1713ALIGN="RIGHT"
1714VALIGN="TOP"
1715><I
1716CLASS="EMPHASIS"
1717>Returns</I
1718> :</TD
1719><TD
1720WIDTH="80%"
1721ALIGN="LEFT"
1722VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001723>the xmlEntitiesTablePtr just created or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001724></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001725></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001726></TABLE
1727><P
1728></P
1729></DIV
1730></DIV
1731><HR><DIV
1732CLASS="REFSECT2"
1733><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001734NAME="AEN7864"
Daniel Veillard35925471999-02-25 08:46:07 +00001735></A
1736><H3
1737><A
1738NAME="XMLCOPYENTITIESTABLE"
1739></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001740>xmlCopyEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001741><TABLE
1742BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001743BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001744WIDTH="100%"
1745CELLPADDING="6"
1746><TR
1747><TD
1748><PRE
1749CLASS="PROGRAMLISTING"
1750><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001751HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001752>xmlEntitiesTablePtr</A
1753> xmlCopyEntitiesTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001754HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001755>xmlEntitiesTablePtr</A
1756> table);</PRE
1757></TD
1758></TR
1759></TABLE
1760><P
1761>Build a copy of an entity table.</P
1762><P
1763></P
1764><DIV
1765CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001766><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001767NAME="AEN7872"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001768></A
Daniel Veillard35925471999-02-25 08:46:07 +00001769><P
1770></P
1771><TABLE
1772BORDER="0"
1773WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001774BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001775CELLSPACING="0"
1776CELLPADDING="4"
1777CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001778><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001779><TR
1780><TD
1781WIDTH="20%"
1782ALIGN="RIGHT"
1783VALIGN="TOP"
1784><TT
1785CLASS="PARAMETER"
1786><I
1787>table</I
1788></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001789>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001790><TD
1791WIDTH="80%"
1792ALIGN="LEFT"
1793VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001794> An entity table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001795></TR
1796><TR
1797><TD
1798WIDTH="20%"
1799ALIGN="RIGHT"
1800VALIGN="TOP"
1801><I
1802CLASS="EMPHASIS"
1803>Returns</I
1804> :</TD
1805><TD
1806WIDTH="80%"
1807ALIGN="LEFT"
1808VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001809>the new xmlEntitiesTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001810></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001811></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001812></TABLE
1813><P
1814></P
1815></DIV
1816></DIV
1817><HR><DIV
1818CLASS="REFSECT2"
1819><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001820NAME="AEN7885"
Daniel Veillard35925471999-02-25 08:46:07 +00001821></A
1822><H3
1823><A
1824NAME="XMLFREEENTITIESTABLE"
1825></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001826>xmlFreeEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001827><TABLE
1828BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001829BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001830WIDTH="100%"
1831CELLPADDING="6"
1832><TR
1833><TD
1834><PRE
1835CLASS="PROGRAMLISTING"
1836>void xmlFreeEntitiesTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001837HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001838>xmlEntitiesTablePtr</A
1839> table);</PRE
1840></TD
1841></TR
1842></TABLE
1843><P
1844>Deallocate the memory used by an entities hash table.</P
1845><P
1846></P
1847><DIV
1848CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001849><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001850NAME="AEN7892"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001851></A
Daniel Veillard35925471999-02-25 08:46:07 +00001852><P
1853></P
1854><TABLE
1855BORDER="0"
1856WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001857BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001858CELLSPACING="0"
1859CELLPADDING="4"
1860CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001861><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001862><TR
1863><TD
1864WIDTH="20%"
1865ALIGN="RIGHT"
1866VALIGN="TOP"
1867><TT
1868CLASS="PARAMETER"
1869><I
1870>table</I
1871></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001872>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001873><TD
1874WIDTH="80%"
1875ALIGN="LEFT"
1876VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001877> An entity table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001878></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001879></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001880></TABLE
1881><P
1882></P
1883></DIV
1884></DIV
1885><HR><DIV
1886CLASS="REFSECT2"
1887><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001888NAME="AEN7901"
Daniel Veillard35925471999-02-25 08:46:07 +00001889></A
1890><H3
1891><A
1892NAME="XMLDUMPENTITIESTABLE"
1893></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001894>xmlDumpEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001895><TABLE
1896BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001897BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001898WIDTH="100%"
1899CELLPADDING="6"
1900><TR
1901><TD
1902><PRE
1903CLASS="PROGRAMLISTING"
1904>void xmlDumpEntitiesTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001905HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001906>xmlBufferPtr</A
1907> buf,
1908 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001909HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001910>xmlEntitiesTablePtr</A
1911> table);</PRE
1912></TD
1913></TR
1914></TABLE
1915><P
1916>This will dump the content of the entity table as an XML DTD definition</P
1917><P
Daniel Veillard35925471999-02-25 08:46:07 +00001918></P
1919><DIV
1920CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001921><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001922NAME="AEN7909"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001923></A
Daniel Veillard35925471999-02-25 08:46:07 +00001924><P
1925></P
1926><TABLE
1927BORDER="0"
1928WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001929BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001930CELLSPACING="0"
1931CELLPADDING="4"
1932CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001933><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001934><TR
1935><TD
1936WIDTH="20%"
1937ALIGN="RIGHT"
1938VALIGN="TOP"
1939><TT
1940CLASS="PARAMETER"
1941><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001942>buf</I
1943></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001944>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001945><TD
1946WIDTH="80%"
1947ALIGN="LEFT"
1948VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001949> An XML buffer.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001950></TR
1951><TR
1952><TD
1953WIDTH="20%"
1954ALIGN="RIGHT"
1955VALIGN="TOP"
1956><TT
1957CLASS="PARAMETER"
1958><I
Daniel Veillard35925471999-02-25 08:46:07 +00001959>table</I
1960></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001961>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001962><TD
1963WIDTH="80%"
1964ALIGN="LEFT"
1965VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001966> An entity table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001967></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001968></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001969></TABLE
1970><P
1971></P
1972></DIV
1973></DIV
1974><HR><DIV
1975CLASS="REFSECT2"
1976><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001977NAME="AEN7922"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001978></A
1979><H3
1980><A
1981NAME="XMLDUMPENTITYDECL"
1982></A
1983>xmlDumpEntityDecl ()</H3
1984><TABLE
1985BORDER="0"
1986BGCOLOR="#D6E8FF"
1987WIDTH="100%"
1988CELLPADDING="6"
1989><TR
1990><TD
1991><PRE
1992CLASS="PROGRAMLISTING"
1993>void xmlDumpEntityDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001994HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001995>xmlBufferPtr</A
1996> buf,
1997 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001998HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001999>xmlEntityPtr</A
2000> ent);</PRE
2001></TD
2002></TR
2003></TABLE
2004><P
2005>This will dump the content of the entity table as an XML DTD definition</P
2006><P
2007></P
2008><DIV
2009CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002010><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002011NAME="AEN7930"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002012></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002013><P
2014></P
2015><TABLE
2016BORDER="0"
2017WIDTH="100%"
2018BGCOLOR="#FFD0D0"
2019CELLSPACING="0"
2020CELLPADDING="4"
2021CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002022><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002023><TR
2024><TD
2025WIDTH="20%"
2026ALIGN="RIGHT"
2027VALIGN="TOP"
2028><TT
2029CLASS="PARAMETER"
2030><I
2031>buf</I
2032></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002033>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002034><TD
2035WIDTH="80%"
2036ALIGN="LEFT"
2037VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002038> An XML buffer.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002039></TR
2040><TR
2041><TD
2042WIDTH="20%"
2043ALIGN="RIGHT"
2044VALIGN="TOP"
2045><TT
2046CLASS="PARAMETER"
2047><I
2048>ent</I
2049></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002050>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002051><TD
2052WIDTH="80%"
2053ALIGN="LEFT"
2054VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002055> An entity table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002056></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002057></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002058></TABLE
2059><P
2060></P
2061></DIV
2062></DIV
2063><HR><DIV
2064CLASS="REFSECT2"
2065><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002066NAME="AEN7943"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002067></A
2068><H3
2069><A
2070NAME="XMLCLEANUPPREDEFINEDENTITIES"
2071></A
2072>xmlCleanupPredefinedEntities ()</H3
2073><TABLE
2074BORDER="0"
2075BGCOLOR="#D6E8FF"
2076WIDTH="100%"
2077CELLPADDING="6"
2078><TR
2079><TD
2080><PRE
2081CLASS="PROGRAMLISTING"
2082>void xmlCleanupPredefinedEntities (void);</PRE
2083></TD
2084></TR
2085></TABLE
2086><P
2087>Cleanup up the predefined entities table.</P
2088><P
2089></P
2090></DIV
Daniel Veillard35925471999-02-25 08:46:07 +00002091></DIV
2092><DIV
2093CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00002094><BR
2095CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00002096WIDTH="100%"
2097BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002098BGCOLOR="#000000"
2099CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00002100CELLSPACING="0"
2101><TR
2102><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002103WIDTH="25%"
2104BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00002105ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00002106><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002107HREF="libxml-tree.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00002108><FONT
2109COLOR="#FFFFFF"
2110SIZE="3"
2111><B
2112>&#60;&#60;&#60; Previous Page</B
2113></FONT
2114></A
Daniel Veillard35925471999-02-25 08:46:07 +00002115></TD
2116><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002117WIDTH="25%"
2118BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00002119ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00002120><FONT
2121COLOR="#FFFFFF"
2122SIZE="3"
2123><B
Daniel Veillard35925471999-02-25 08:46:07 +00002124><A
2125HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00002126><FONT
2127COLOR="#FFFFFF"
2128SIZE="3"
2129><B
2130>Home</B
2131></FONT
2132></A
2133></B
2134></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00002135></TD
2136><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002137WIDTH="25%"
2138BGCOLOR="#00C000"
2139ALIGN="center"
2140><FONT
2141COLOR="#FFFFFF"
2142SIZE="3"
2143><B
2144><A
Daniel Veillard35008381999-10-25 13:15:52 +00002145HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00002146><FONT
2147COLOR="#FFFFFF"
2148SIZE="3"
2149><B
2150>Up</B
2151></FONT
2152></A
2153></B
2154></FONT
2155></TD
2156><TD
2157WIDTH="25%"
2158BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00002159ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00002160><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002161HREF="libxml-valid.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00002162><FONT
2163COLOR="#FFFFFF"
2164SIZE="3"
2165><B
2166>Next Page &#62;&#62;&#62;</B
2167></FONT
2168></A
Daniel Veillard35925471999-02-25 08:46:07 +00002169></TD
2170></TR
2171><TR
2172><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002173COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00002174ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00002175><FONT
2176COLOR="#FFFFFF"
2177SIZE="3"
2178><B
2179>tree</B
2180></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00002181></TD
2182><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002183COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00002184ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00002185><FONT
2186COLOR="#FFFFFF"
2187SIZE="3"
2188><B
2189>valid</B
2190></FONT
2191></TD
Daniel Veillard35925471999-02-25 08:46:07 +00002192></TR
2193></TABLE
2194></DIV
2195></BODY
2196></HTML
2197>