blob: d32789424fe574d92e389228218ad6bdf8a127e4 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>entities</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard60087f32001-10-10 09:45:09 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.64
8"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +00009REL="HOME"
10TITLE="Gnome XML Library Reference Manual"
11HREF="book1.html"><LINK
12REL="UP"
Daniel Veillard35008381999-10-25 13:15:52 +000013TITLE="Libxml Library Reference"
14HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000015REL="PREVIOUS"
16TITLE="tree"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000017HREF="libxml-tree.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000018REL="NEXT"
19TITLE="valid"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000020HREF="libxml-valid.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000021><BODY
Daniel Veillardbed7b052001-05-19 14:59:49 +000022CLASS="REFENTRY"
Daniel Veillard35925471999-02-25 08:46:07 +000023BGCOLOR="#FFFFFF"
24TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000025LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
Daniel Veillard35925471999-02-25 08:46:07 +000028><DIV
29CLASS="NAVHEADER"
30><TABLE
31WIDTH="100%"
32BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000033BGCOLOR="#000000"
34CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000035CELLSPACING="0"
36><TR
37><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000038COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000039ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000040><FONT
41COLOR="#FFFFFF"
42SIZE="5"
43>Gnome XML Library Reference Manual</FONT
44></TH
Daniel Veillard35925471999-02-25 08:46:07 +000045></TR
46><TR
47><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000048WIDTH="25%"
49BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000050ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000051><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000052HREF="libxml-tree.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000053><FONT
54COLOR="#FFFFFF"
55SIZE="3"
56><B
57>&#60;&#60;&#60; Previous Page</B
58></FONT
59></A
Daniel Veillard35925471999-02-25 08:46:07 +000060></TD
61><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000062WIDTH="25%"
63BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000064ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000065><FONT
66COLOR="#FFFFFF"
67SIZE="3"
68><B
69><A
70HREF="book1.html"
71><FONT
72COLOR="#FFFFFF"
73SIZE="3"
74><B
75>Home</B
76></FONT
77></A
78></B
79></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000080></TD
81><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000082WIDTH="25%"
83BGCOLOR="#00C000"
84ALIGN="center"
85><FONT
86COLOR="#FFFFFF"
87SIZE="3"
88><B
89><A
Daniel Veillard35008381999-10-25 13:15:52 +000090HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000091><FONT
92COLOR="#FFFFFF"
93SIZE="3"
94><B
95>Up</B
96></FONT
97></A
98></B
99></FONT
100></TD
101><TD
102WIDTH="25%"
103BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +0000104ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +0000105><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000106HREF="libxml-valid.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000107><FONT
108COLOR="#FFFFFF"
109SIZE="3"
110><B
111>Next Page &#62;&#62;&#62;</B
112></FONT
113></A
Daniel Veillard35925471999-02-25 08:46:07 +0000114></TD
115></TR
116></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000117></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000118><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000119><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000120NAME="LIBXML-ENTITIES"
Daniel Veillard503b8932001-01-05 06:36:31 +0000121>entities</A
122></H1
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFNAMEDIV"
125><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000126NAME="AEN7638"
Daniel Veillard35925471999-02-25 08:46:07 +0000127></A
128><H2
129>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000130>entities&nbsp;--&nbsp;</DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000131><DIV
132CLASS="REFSYNOPSISDIV"
133><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000134NAME="AEN7641"
Daniel Veillard35925471999-02-25 08:46:07 +0000135></A
136><H2
137>Synopsis</H2
138><TABLE
139BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000140BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000141WIDTH="100%"
142CELLPADDING="6"
143><TR
144><TD
145><PRE
146CLASS="SYNOPSIS"
147>&#13;
148
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000149enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000150HREF="libxml-entities.html#XMLENTITYTYPE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000151>xmlEntityType</A
152>;
153struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000154HREF="libxml-entities.html#XMLENTITY"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000155>xmlEntity</A
156>;
Daniel Veillard35925471999-02-25 08:46:07 +0000157typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000158HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000159>xmlEntityPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000160>;
Daniel Veillard35925471999-02-25 08:46:07 +0000161typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000162HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000163>xmlEntitiesTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000164>;
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000165void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000166HREF="libxml-entities.html#XMLINITIALIZEPREDEFINEDENTITIES"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000167>xmlInitializePredefinedEntities</A
168> (void);
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000169<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000170HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000171>xmlEntityPtr</A
172> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000173HREF="libxml-entities.html#XMLADDDOCENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000174>xmlAddDocEntity</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000175> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000176HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000177>xmlDocPtr</A
178> doc,
179 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000180HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000181>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000182> *name,
183 int type,
184 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000185HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000186>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000187> *ExternalID,
188 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000189HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000190>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000191> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000192 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000193HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000194>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000195> *content);
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000196<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000197HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000198>xmlEntityPtr</A
199> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000200HREF="libxml-entities.html#XMLADDDTDENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000201>xmlAddDtdEntity</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000202> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000203HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000204>xmlDocPtr</A
205> doc,
206 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000207HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000208>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000209> *name,
210 int type,
211 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000212HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000213>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000214> *ExternalID,
215 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000216HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000217>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000218> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000219 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000220HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000221>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000222> *content);
223<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000224HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000225>xmlEntityPtr</A
226> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000227HREF="libxml-entities.html#XMLGETPREDEFINEDENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000228>xmlGetPredefinedEntity</A
229> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000230HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000231>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000232> *name);
233<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000234HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000235>xmlEntityPtr</A
236> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000237HREF="libxml-entities.html#XMLGETDOCENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000238>xmlGetDocEntity</A
239> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000240HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000241>xmlDocPtr</A
242> doc,
243 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000244HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000245>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000246> *name);
247<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000248HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000249>xmlEntityPtr</A
250> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000251HREF="libxml-entities.html#XMLGETDTDENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000252>xmlGetDtdEntity</A
253> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000254HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000255>xmlDocPtr</A
256> doc,
257 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000258HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000259>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000260> *name);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000261<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000262HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000263>xmlEntityPtr</A
264> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000265HREF="libxml-entities.html#XMLGETPARAMETERENTITY"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000266>xmlGetParameterEntity</A
267> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000268HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000269>xmlDocPtr</A
270> doc,
271 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000272HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000273>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000274> *name);
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000275const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000276HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000277>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000278>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000279HREF="libxml-entities.html#XMLENCODEENTITIES"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000280>xmlEncodeEntities</A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000281> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000282HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000283>xmlDocPtr</A
284> doc,
285 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000286HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000287>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000288> *input);
Daniel Veillard35925471999-02-25 08:46:07 +0000289<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000290HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000291>xmlChar</A
292>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000293HREF="libxml-entities.html#XMLENCODEENTITIESREENTRANT"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000294>xmlEncodeEntitiesReentrant</A
295> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000296HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000297>xmlDocPtr</A
298> doc,
299 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000300HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000301>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000302> *input);
303<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000304HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000305>xmlChar</A
306>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000307HREF="libxml-entities.html#XMLENCODESPECIALCHARS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000308>xmlEncodeSpecialChars</A
309> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000310HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000311>xmlDocPtr</A
312> doc,
313 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000314HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000315>xmlChar</A
316> *input);
317<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000318HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000319>xmlEntitiesTablePtr</A
320> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000321HREF="libxml-entities.html#XMLCREATEENTITIESTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000322>xmlCreateEntitiesTable</A
323> (void);
324<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000325HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000326>xmlEntitiesTablePtr</A
327> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000328HREF="libxml-entities.html#XMLCOPYENTITIESTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000329>xmlCopyEntitiesTable</A
330> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000331HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000332>xmlEntitiesTablePtr</A
333> table);
334void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000335HREF="libxml-entities.html#XMLFREEENTITIESTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000336>xmlFreeEntitiesTable</A
337> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000338HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000339>xmlEntitiesTablePtr</A
340> table);
341void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000342HREF="libxml-entities.html#XMLDUMPENTITIESTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000343>xmlDumpEntitiesTable</A
344> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000345HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000346>xmlBufferPtr</A
347> buf,
348 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000349HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000350>xmlEntitiesTablePtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000351> table);
352void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000353HREF="libxml-entities.html#XMLDUMPENTITYDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000354>xmlDumpEntityDecl</A
355> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000356HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000357>xmlBufferPtr</A
358> buf,
359 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000360HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000361>xmlEntityPtr</A
362> ent);
363void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000364HREF="libxml-entities.html#XMLCLEANUPPREDEFINEDENTITIES"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000365>xmlCleanupPredefinedEntities</A
Daniel Veillard29a11cc2000-10-25 13:32:39 +0000366> (void);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000367></TD
368></TR
369></TABLE
370></DIV
371><DIV
372CLASS="REFSECT1"
373><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000374NAME="AEN7704"
Daniel Veillard35925471999-02-25 08:46:07 +0000375></A
376><H2
377>Description</H2
378><P
379></P
380></DIV
381><DIV
382CLASS="REFSECT1"
383><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000384NAME="AEN7707"
Daniel Veillard35925471999-02-25 08:46:07 +0000385></A
386><H2
387>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000388><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000389CLASS="REFSECT2"
390><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000391NAME="AEN7709"
Daniel Veillard35925471999-02-25 08:46:07 +0000392></A
393><H3
394><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000395NAME="XMLENTITYTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000396></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000397>enum xmlEntityType</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000398><TABLE
399BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000400BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000401WIDTH="100%"
402CELLPADDING="6"
403><TR
404><TD
405><PRE
406CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000407>typedef enum {
408 XML_INTERNAL_GENERAL_ENTITY = 1,
409 XML_EXTERNAL_GENERAL_PARSED_ENTITY = 2,
410 XML_EXTERNAL_GENERAL_UNPARSED_ENTITY = 3,
411 XML_INTERNAL_PARAMETER_ENTITY = 4,
412 XML_EXTERNAL_PARAMETER_ENTITY = 5,
413 XML_INTERNAL_PREDEFINED_ENTITY = 6
414} xmlEntityType;</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000415></TD
416></TR
417></TABLE
418><P
419></P
420></DIV
421><HR><DIV
422CLASS="REFSECT2"
423><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000424NAME="AEN7714"
Daniel Veillard35925471999-02-25 08:46:07 +0000425></A
426><H3
427><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000428NAME="XMLENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000429></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000430>struct xmlEntity</H3
Daniel Veillardf3a73582000-01-05 14:58:39 +0000431><TABLE
432BORDER="0"
433BGCOLOR="#D6E8FF"
434WIDTH="100%"
435CELLPADDING="6"
436><TR
437><TD
438><PRE
439CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000440>struct xmlEntity {
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000441 void *_private; /* for Corba, must be first ! */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000442 xmlElementType type; /* XML_ENTITY_DECL, must be second ! */
443 const xmlChar *name; /* Attribute name */
444 struct _xmlNode *children; /* NULL */
445 struct _xmlNode *last; /* NULL */
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000446 struct _xmlDtd *parent; /* -&gt; DTD */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000447 struct _xmlNode *next; /* next sibling link */
448 struct _xmlNode *prev; /* previous sibling link */
449 struct _xmlDoc *doc; /* the containing document */
450
451 xmlChar *orig; /* content without ref substitution */
452 xmlChar *content; /* content or ndata if unparsed */
453 int length; /* the content length */
454 xmlEntityType etype; /* The entity type */
455 const xmlChar *ExternalID; /* External identifier for PUBLIC */
456 const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC Entity */
457
Daniel Veillard29a11cc2000-10-25 13:32:39 +0000458 struct _xmlEntity *nexte; /* unused */
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000459 const xmlChar *URI; /* the full URI as computed */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000460};</PRE
Daniel Veillardf3a73582000-01-05 14:58:39 +0000461></TD
462></TR
463></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +0000464><P
465></P
466></DIV
467><HR><DIV
468CLASS="REFSECT2"
469><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000470NAME="AEN7719"
Daniel Veillardf3a73582000-01-05 14:58:39 +0000471></A
472><H3
473><A
474NAME="XMLENTITYPTR"
475></A
476>xmlEntityPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000477><TABLE
478BORDER="0"
479BGCOLOR="#D6E8FF"
480WIDTH="100%"
481CELLPADDING="6"
482><TR
483><TD
484><PRE
485CLASS="PROGRAMLISTING"
486>typedef xmlEntity *xmlEntityPtr;</PRE
487></TD
488></TR
489></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +0000490><P
491></P
492></DIV
493><HR><DIV
494CLASS="REFSECT2"
495><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000496NAME="AEN7724"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000497></A
498><H3
499><A
500NAME="XMLENTITIESTABLEPTR"
501></A
502>xmlEntitiesTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000503><TABLE
504BORDER="0"
505BGCOLOR="#D6E8FF"
506WIDTH="100%"
507CELLPADDING="6"
508><TR
509><TD
510><PRE
511CLASS="PROGRAMLISTING"
512>typedef xmlEntitiesTable *xmlEntitiesTablePtr;</PRE
513></TD
514></TR
515></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000516><P
517></P
518></DIV
519><HR><DIV
520CLASS="REFSECT2"
521><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000522NAME="AEN7729"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000523></A
524><H3
525><A
526NAME="XMLINITIALIZEPREDEFINEDENTITIES"
527></A
528>xmlInitializePredefinedEntities ()</H3
529><TABLE
530BORDER="0"
531BGCOLOR="#D6E8FF"
532WIDTH="100%"
533CELLPADDING="6"
534><TR
535><TD
536><PRE
537CLASS="PROGRAMLISTING"
538>void xmlInitializePredefinedEntities (void);</PRE
539></TD
540></TR
541></TABLE
542><P
543>Set up the predefined entities.</P
544><P
545></P
546></DIV
547><HR><DIV
548CLASS="REFSECT2"
549><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000550NAME="AEN7735"
Daniel Veillard35925471999-02-25 08:46:07 +0000551></A
552><H3
553><A
554NAME="XMLADDDOCENTITY"
555></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000556>xmlAddDocEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000557><TABLE
558BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000559BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000560WIDTH="100%"
561CELLPADDING="6"
562><TR
563><TD
564><PRE
565CLASS="PROGRAMLISTING"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000566><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000567HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000568>xmlEntityPtr</A
569> xmlAddDocEntity (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000570HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000571>xmlDocPtr</A
572> doc,
573 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000574HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000575>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000576> *name,
577 int type,
578 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000579HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000580>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000581> *ExternalID,
582 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000583HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000584>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000585> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000586 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000587HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000588>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000589> *content);</PRE
590></TD
591></TR
592></TABLE
593><P
594>Register a new entity for this document.</P
595><P
596></P
597><DIV
598CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000599><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000600NAME="AEN7747"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000601></A
Daniel Veillard35925471999-02-25 08:46:07 +0000602><P
603></P
604><TABLE
605BORDER="0"
606WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000607BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000608CELLSPACING="0"
609CELLPADDING="4"
610CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000611><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +0000612><TR
613><TD
614WIDTH="20%"
615ALIGN="RIGHT"
616VALIGN="TOP"
617><TT
618CLASS="PARAMETER"
619><I
620>doc</I
621></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000622>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000623><TD
624WIDTH="80%"
625ALIGN="LEFT"
626VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000627> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000628></TR
629><TR
630><TD
631WIDTH="20%"
632ALIGN="RIGHT"
633VALIGN="TOP"
634><TT
635CLASS="PARAMETER"
636><I
637>name</I
638></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000639>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000640><TD
641WIDTH="80%"
642ALIGN="LEFT"
643VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000644> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000645></TR
646><TR
647><TD
648WIDTH="20%"
649ALIGN="RIGHT"
650VALIGN="TOP"
651><TT
652CLASS="PARAMETER"
653><I
654>type</I
655></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000656>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000657><TD
658WIDTH="80%"
659ALIGN="LEFT"
660VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000661> the entity type XML_xxx_yyy_ENTITY</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000662></TR
663><TR
664><TD
665WIDTH="20%"
666ALIGN="RIGHT"
667VALIGN="TOP"
668><TT
669CLASS="PARAMETER"
670><I
671>ExternalID</I
672></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000673>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000674><TD
675WIDTH="80%"
676ALIGN="LEFT"
677VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000678> the entity external ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000679></TR
680><TR
681><TD
682WIDTH="20%"
683ALIGN="RIGHT"
684VALIGN="TOP"
685><TT
686CLASS="PARAMETER"
687><I
688>SystemID</I
689></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000690>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000691><TD
692WIDTH="80%"
693ALIGN="LEFT"
694VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000695> the entity system ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000696></TR
697><TR
698><TD
699WIDTH="20%"
700ALIGN="RIGHT"
701VALIGN="TOP"
702><TT
703CLASS="PARAMETER"
704><I
705>content</I
706></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000707>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000708><TD
709WIDTH="80%"
710ALIGN="LEFT"
711VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000712> the entity content</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000713></TR
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000714><TR
715><TD
716WIDTH="20%"
717ALIGN="RIGHT"
718VALIGN="TOP"
719><I
720CLASS="EMPHASIS"
721>Returns</I
722> :</TD
723><TD
724WIDTH="80%"
725ALIGN="LEFT"
726VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000727>a pointer to the entity or NULL in case of error</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000728></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000729></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +0000730></TABLE
731><P
732></P
733></DIV
734></DIV
735><HR><DIV
736CLASS="REFSECT2"
737><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000738NAME="AEN7780"
Daniel Veillard35925471999-02-25 08:46:07 +0000739></A
740><H3
741><A
742NAME="XMLADDDTDENTITY"
743></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000744>xmlAddDtdEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000745><TABLE
746BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000747BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000748WIDTH="100%"
749CELLPADDING="6"
750><TR
751><TD
752><PRE
753CLASS="PROGRAMLISTING"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000754><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000755HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000756>xmlEntityPtr</A
757> xmlAddDtdEntity (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000758HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000759>xmlDocPtr</A
760> doc,
761 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000762HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000763>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000764> *name,
765 int type,
766 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000767HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000768>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000769> *ExternalID,
770 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000771HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000772>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000773> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000774 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000775HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000776>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000777> *content);</PRE
778></TD
779></TR
780></TABLE
781><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000782>Register a new entity for this document DTD external subset.</P
Daniel Veillard35925471999-02-25 08:46:07 +0000783><P
784></P
785><DIV
786CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000787><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000788NAME="AEN7792"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000789></A
Daniel Veillard35925471999-02-25 08:46:07 +0000790><P
791></P
792><TABLE
793BORDER="0"
794WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000795BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000796CELLSPACING="0"
797CELLPADDING="4"
798CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000799><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +0000800><TR
801><TD
802WIDTH="20%"
803ALIGN="RIGHT"
804VALIGN="TOP"
805><TT
806CLASS="PARAMETER"
807><I
808>doc</I
809></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000810>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000811><TD
812WIDTH="80%"
813ALIGN="LEFT"
814VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000815> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000816></TR
817><TR
818><TD
819WIDTH="20%"
820ALIGN="RIGHT"
821VALIGN="TOP"
822><TT
823CLASS="PARAMETER"
824><I
825>name</I
826></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000827>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000828><TD
829WIDTH="80%"
830ALIGN="LEFT"
831VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000832> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000833></TR
834><TR
835><TD
836WIDTH="20%"
837ALIGN="RIGHT"
838VALIGN="TOP"
839><TT
840CLASS="PARAMETER"
841><I
842>type</I
843></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000844>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000845><TD
846WIDTH="80%"
847ALIGN="LEFT"
848VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000849> the entity type XML_xxx_yyy_ENTITY</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000850></TR
851><TR
852><TD
853WIDTH="20%"
854ALIGN="RIGHT"
855VALIGN="TOP"
856><TT
857CLASS="PARAMETER"
858><I
859>ExternalID</I
860></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000861>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000862><TD
863WIDTH="80%"
864ALIGN="LEFT"
865VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000866> the entity external ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000867></TR
868><TR
869><TD
870WIDTH="20%"
871ALIGN="RIGHT"
872VALIGN="TOP"
873><TT
874CLASS="PARAMETER"
875><I
876>SystemID</I
877></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000878>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000879><TD
880WIDTH="80%"
881ALIGN="LEFT"
882VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000883> the entity system ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000884></TR
885><TR
886><TD
887WIDTH="20%"
888ALIGN="RIGHT"
889VALIGN="TOP"
890><TT
891CLASS="PARAMETER"
892><I
893>content</I
894></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000895>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000896><TD
897WIDTH="80%"
898ALIGN="LEFT"
899VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000900> the entity content</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000901></TR
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000902><TR
903><TD
904WIDTH="20%"
905ALIGN="RIGHT"
906VALIGN="TOP"
907><I
908CLASS="EMPHASIS"
909>Returns</I
910> :</TD
911><TD
912WIDTH="80%"
913ALIGN="LEFT"
914VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000915>a pointer to the entity or NULL in case of error</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000916></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000917></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +0000918></TABLE
919><P
920></P
921></DIV
922></DIV
923><HR><DIV
924CLASS="REFSECT2"
925><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000926NAME="AEN7825"
Daniel Veillard35925471999-02-25 08:46:07 +0000927></A
928><H3
929><A
930NAME="XMLGETPREDEFINEDENTITY"
931></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000932>xmlGetPredefinedEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000933><TABLE
934BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000935BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000936WIDTH="100%"
937CELLPADDING="6"
938><TR
939><TD
940><PRE
941CLASS="PROGRAMLISTING"
942><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000943HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000944>xmlEntityPtr</A
945> xmlGetPredefinedEntity (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000946HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000947>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000948> *name);</PRE
949></TD
950></TR
951></TABLE
952><P
953>Check whether this name is an predefined entity.</P
954><P
955></P
956><DIV
957CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000958><A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000959NAME="AEN7833"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000960></A
Daniel Veillard35925471999-02-25 08:46:07 +0000961><P
962></P
963><TABLE
964BORDER="0"
965WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000966BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000967CELLSPACING="0"
968CELLPADDING="4"
969CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000970><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +0000971><TR
972><TD
973WIDTH="20%"
974ALIGN="RIGHT"
975VALIGN="TOP"
976><TT
977CLASS="PARAMETER"
978><I
979>name</I
980></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000981>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000982><TD
983WIDTH="80%"
984ALIGN="LEFT"
985VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000986> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000987></TR
988><TR
989><TD
990WIDTH="20%"
991ALIGN="RIGHT"
992VALIGN="TOP"
993><I
994CLASS="EMPHASIS"
995>Returns</I
996> :</TD
997><TD
998WIDTH="80%"
999ALIGN="LEFT"
1000VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001001>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001002></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001003></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001004></TABLE
1005><P
1006></P
1007></DIV
1008></DIV
1009><HR><DIV
1010CLASS="REFSECT2"
1011><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001012NAME="AEN7846"
Daniel Veillard35925471999-02-25 08:46:07 +00001013></A
1014><H3
1015><A
1016NAME="XMLGETDOCENTITY"
1017></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001018>xmlGetDocEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001019><TABLE
1020BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001021BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001022WIDTH="100%"
1023CELLPADDING="6"
1024><TR
1025><TD
1026><PRE
1027CLASS="PROGRAMLISTING"
1028><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001029HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001030>xmlEntityPtr</A
1031> xmlGetDocEntity (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001032HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001033>xmlDocPtr</A
1034> doc,
1035 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001036HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001037>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001038> *name);</PRE
1039></TD
1040></TR
1041></TABLE
1042><P
1043>Do an entity lookup in the document entity hash table and
1044returns the corrsponding entity, otherwise a lookup is done
1045in the predefined entities too.</P
1046><P
1047></P
1048><DIV
1049CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001050><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001051NAME="AEN7855"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001052></A
Daniel Veillard35925471999-02-25 08:46:07 +00001053><P
1054></P
1055><TABLE
1056BORDER="0"
1057WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001058BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001059CELLSPACING="0"
1060CELLPADDING="4"
1061CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001062><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001063><TR
1064><TD
1065WIDTH="20%"
1066ALIGN="RIGHT"
1067VALIGN="TOP"
1068><TT
1069CLASS="PARAMETER"
1070><I
1071>doc</I
1072></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001073>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001074><TD
1075WIDTH="80%"
1076ALIGN="LEFT"
1077VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001078> the document referencing the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001079></TR
1080><TR
1081><TD
1082WIDTH="20%"
1083ALIGN="RIGHT"
1084VALIGN="TOP"
1085><TT
1086CLASS="PARAMETER"
1087><I
1088>name</I
1089></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001090>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001091><TD
1092WIDTH="80%"
1093ALIGN="LEFT"
1094VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001095> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001096></TR
1097><TR
1098><TD
1099WIDTH="20%"
1100ALIGN="RIGHT"
1101VALIGN="TOP"
1102><I
1103CLASS="EMPHASIS"
1104>Returns</I
1105> :</TD
1106><TD
1107WIDTH="80%"
1108ALIGN="LEFT"
1109VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001110>A pointer to the entity structure or NULL if not found.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001111></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001112></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001113></TABLE
1114><P
1115></P
1116></DIV
1117></DIV
1118><HR><DIV
1119CLASS="REFSECT2"
1120><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001121NAME="AEN7872"
Daniel Veillard35925471999-02-25 08:46:07 +00001122></A
1123><H3
1124><A
1125NAME="XMLGETDTDENTITY"
1126></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001127>xmlGetDtdEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001128><TABLE
1129BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001130BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001131WIDTH="100%"
1132CELLPADDING="6"
1133><TR
1134><TD
1135><PRE
1136CLASS="PROGRAMLISTING"
1137><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001138HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001139>xmlEntityPtr</A
1140> xmlGetDtdEntity (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001141HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001142>xmlDocPtr</A
1143> doc,
1144 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001145HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001146>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001147> *name);</PRE
1148></TD
1149></TR
1150></TABLE
1151><P
1152>Do an entity lookup in the Dtd entity hash table and
1153returns the corresponding entity, if found.</P
1154><P
1155></P
1156><DIV
1157CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001158><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001159NAME="AEN7881"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001160></A
Daniel Veillard35925471999-02-25 08:46:07 +00001161><P
1162></P
1163><TABLE
1164BORDER="0"
1165WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001166BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001167CELLSPACING="0"
1168CELLPADDING="4"
1169CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001170><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001171><TR
1172><TD
1173WIDTH="20%"
1174ALIGN="RIGHT"
1175VALIGN="TOP"
1176><TT
1177CLASS="PARAMETER"
1178><I
1179>doc</I
1180></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001181>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001182><TD
1183WIDTH="80%"
1184ALIGN="LEFT"
1185VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001186> the document referencing the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001187></TR
1188><TR
1189><TD
1190WIDTH="20%"
1191ALIGN="RIGHT"
1192VALIGN="TOP"
1193><TT
1194CLASS="PARAMETER"
1195><I
1196>name</I
1197></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001198>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001199><TD
1200WIDTH="80%"
1201ALIGN="LEFT"
1202VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001203> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001204></TR
1205><TR
1206><TD
1207WIDTH="20%"
1208ALIGN="RIGHT"
1209VALIGN="TOP"
1210><I
1211CLASS="EMPHASIS"
1212>Returns</I
1213> :</TD
1214><TD
1215WIDTH="80%"
1216ALIGN="LEFT"
1217VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001218>A pointer to the entity structure or NULL if not found.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001219></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001220></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001221></TABLE
1222><P
1223></P
1224></DIV
1225></DIV
1226><HR><DIV
1227CLASS="REFSECT2"
1228><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001229NAME="AEN7898"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001230></A
1231><H3
1232><A
1233NAME="XMLGETPARAMETERENTITY"
1234></A
1235>xmlGetParameterEntity ()</H3
1236><TABLE
1237BORDER="0"
1238BGCOLOR="#D6E8FF"
1239WIDTH="100%"
1240CELLPADDING="6"
1241><TR
1242><TD
1243><PRE
1244CLASS="PROGRAMLISTING"
1245><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001246HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001247>xmlEntityPtr</A
1248> xmlGetParameterEntity (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001249HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001250>xmlDocPtr</A
1251> doc,
1252 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001253HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001254>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001255> *name);</PRE
1256></TD
1257></TR
1258></TABLE
1259><P
1260>Do an entity lookup in the internal and external subsets and
1261returns the corresponding parameter entity, if found.</P
1262><P
1263></P
1264><DIV
1265CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001266><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001267NAME="AEN7907"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001268></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001269><P
1270></P
1271><TABLE
1272BORDER="0"
1273WIDTH="100%"
1274BGCOLOR="#FFD0D0"
1275CELLSPACING="0"
1276CELLPADDING="4"
1277CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001278><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001279><TR
1280><TD
1281WIDTH="20%"
1282ALIGN="RIGHT"
1283VALIGN="TOP"
1284><TT
1285CLASS="PARAMETER"
1286><I
1287>doc</I
1288></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001289>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001290><TD
1291WIDTH="80%"
1292ALIGN="LEFT"
1293VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001294> the document referencing the entity</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001295></TR
1296><TR
1297><TD
1298WIDTH="20%"
1299ALIGN="RIGHT"
1300VALIGN="TOP"
1301><TT
1302CLASS="PARAMETER"
1303><I
1304>name</I
1305></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001306>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001307><TD
1308WIDTH="80%"
1309ALIGN="LEFT"
1310VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001311> the entity name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001312></TR
1313><TR
1314><TD
1315WIDTH="20%"
1316ALIGN="RIGHT"
1317VALIGN="TOP"
1318><I
1319CLASS="EMPHASIS"
1320>Returns</I
1321> :</TD
1322><TD
1323WIDTH="80%"
1324ALIGN="LEFT"
1325VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001326>A pointer to the entity structure or NULL if not found.</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001327></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001328></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001329></TABLE
1330><P
1331></P
1332></DIV
1333></DIV
1334><HR><DIV
1335CLASS="REFSECT2"
1336><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001337NAME="AEN7924"
Daniel Veillard35925471999-02-25 08:46:07 +00001338></A
1339><H3
1340><A
1341NAME="XMLENCODEENTITIES"
1342></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001343>xmlEncodeEntities ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001344><TABLE
1345BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001346BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001347WIDTH="100%"
1348CELLPADDING="6"
1349><TR
1350><TD
1351><PRE
1352CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001353>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001354HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001355>xmlChar</A
1356>* xmlEncodeEntities (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001357HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001358>xmlDocPtr</A
1359> doc,
1360 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001361HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001362>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001363> *input);</PRE
1364></TD
1365></TR
1366></TABLE
1367><P
1368>Do a global encoding of a string, replacing the predefined entities
1369and non ASCII values with their entities and CharRef counterparts.</P
1370><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001371>TODO: remove xmlEncodeEntities, once we are not afraid of breaking binary
1372compatibility</P
Daniel Veillard35925471999-02-25 08:46:07 +00001373><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001374>People must migrate their code to xmlEncodeEntitiesReentrant !
1375This routine will issue a warning when encountered.</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001376><P
1377></P
1378><DIV
1379CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001380><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001381NAME="AEN7935"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001382></A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001383><P
1384></P
1385><TABLE
1386BORDER="0"
1387WIDTH="100%"
1388BGCOLOR="#FFD0D0"
1389CELLSPACING="0"
1390CELLPADDING="4"
1391CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001392><TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001393><TR
1394><TD
1395WIDTH="20%"
1396ALIGN="RIGHT"
1397VALIGN="TOP"
1398><TT
1399CLASS="PARAMETER"
1400><I
1401>doc</I
1402></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001403>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001404><TD
1405WIDTH="80%"
1406ALIGN="LEFT"
1407VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001408> the document containing the string</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001409></TR
1410><TR
1411><TD
1412WIDTH="20%"
1413ALIGN="RIGHT"
1414VALIGN="TOP"
1415><TT
1416CLASS="PARAMETER"
1417><I
1418>input</I
1419></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001420>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001421><TD
1422WIDTH="80%"
1423ALIGN="LEFT"
1424VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001425> A string to convert to XML.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001426></TR
1427><TR
1428><TD
1429WIDTH="20%"
1430ALIGN="RIGHT"
1431VALIGN="TOP"
1432><I
1433CLASS="EMPHASIS"
1434>Returns</I
1435> :</TD
1436><TD
1437WIDTH="80%"
1438ALIGN="LEFT"
1439VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001440>A newly allocated string with the substitution done.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001441></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001442></TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001443></TABLE
1444><P
1445></P
1446></DIV
1447></DIV
1448><HR><DIV
1449CLASS="REFSECT2"
1450><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001451NAME="AEN7952"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001452></A
1453><H3
1454><A
1455NAME="XMLENCODEENTITIESREENTRANT"
1456></A
1457>xmlEncodeEntitiesReentrant ()</H3
1458><TABLE
1459BORDER="0"
1460BGCOLOR="#D6E8FF"
1461WIDTH="100%"
1462CELLPADDING="6"
1463><TR
1464><TD
1465><PRE
1466CLASS="PROGRAMLISTING"
1467><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001468HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001469>xmlChar</A
1470>* xmlEncodeEntitiesReentrant (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001471HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001472>xmlDocPtr</A
1473> doc,
1474 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001475HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001476>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001477> *input);</PRE
1478></TD
1479></TR
1480></TABLE
1481><P
1482>Do a global encoding of a string, replacing the predefined entities
1483and non ASCII values with their entities and CharRef counterparts.
1484Contrary to xmlEncodeEntities, this routine is reentrant, and result
1485must be deallocated.</P
1486><P
Daniel Veillard35925471999-02-25 08:46:07 +00001487></P
1488><DIV
1489CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001490><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001491NAME="AEN7961"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001492></A
Daniel Veillard35925471999-02-25 08:46:07 +00001493><P
1494></P
1495><TABLE
1496BORDER="0"
1497WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001498BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001499CELLSPACING="0"
1500CELLPADDING="4"
1501CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001502><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001503><TR
1504><TD
1505WIDTH="20%"
1506ALIGN="RIGHT"
1507VALIGN="TOP"
1508><TT
1509CLASS="PARAMETER"
1510><I
1511>doc</I
1512></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001513>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001514><TD
1515WIDTH="80%"
1516ALIGN="LEFT"
1517VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001518> the document containing the string</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001519></TR
1520><TR
1521><TD
1522WIDTH="20%"
1523ALIGN="RIGHT"
1524VALIGN="TOP"
1525><TT
1526CLASS="PARAMETER"
1527><I
1528>input</I
1529></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001530>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001531><TD
1532WIDTH="80%"
1533ALIGN="LEFT"
1534VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001535> A string to convert to XML.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001536></TR
1537><TR
1538><TD
1539WIDTH="20%"
1540ALIGN="RIGHT"
1541VALIGN="TOP"
1542><I
1543CLASS="EMPHASIS"
1544>Returns</I
1545> :</TD
1546><TD
1547WIDTH="80%"
1548ALIGN="LEFT"
1549VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001550>A newly allocated string with the substitution done.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001551></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001552></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001553></TABLE
1554><P
1555></P
1556></DIV
1557></DIV
1558><HR><DIV
1559CLASS="REFSECT2"
1560><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001561NAME="AEN7978"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001562></A
1563><H3
1564><A
1565NAME="XMLENCODESPECIALCHARS"
1566></A
1567>xmlEncodeSpecialChars ()</H3
1568><TABLE
1569BORDER="0"
1570BGCOLOR="#D6E8FF"
1571WIDTH="100%"
1572CELLPADDING="6"
1573><TR
1574><TD
1575><PRE
1576CLASS="PROGRAMLISTING"
1577><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001578HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001579>xmlChar</A
1580>* xmlEncodeSpecialChars (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001581HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001582>xmlDocPtr</A
1583> doc,
1584 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001585HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001586>xmlChar</A
1587> *input);</PRE
1588></TD
1589></TR
1590></TABLE
1591><P
1592>Do a global encoding of a string, replacing the predefined entities
1593this routine is reentrant, and result must be deallocated.</P
1594><P
1595></P
1596><DIV
1597CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001598><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001599NAME="AEN7987"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001600></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001601><P
1602></P
1603><TABLE
1604BORDER="0"
1605WIDTH="100%"
1606BGCOLOR="#FFD0D0"
1607CELLSPACING="0"
1608CELLPADDING="4"
1609CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001610><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001611><TR
1612><TD
1613WIDTH="20%"
1614ALIGN="RIGHT"
1615VALIGN="TOP"
1616><TT
1617CLASS="PARAMETER"
1618><I
1619>doc</I
1620></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001621>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001622><TD
1623WIDTH="80%"
1624ALIGN="LEFT"
1625VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001626> the document containing the string</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001627></TR
1628><TR
1629><TD
1630WIDTH="20%"
1631ALIGN="RIGHT"
1632VALIGN="TOP"
1633><TT
1634CLASS="PARAMETER"
1635><I
1636>input</I
1637></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001638>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001639><TD
1640WIDTH="80%"
1641ALIGN="LEFT"
1642VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001643> A string to convert to XML.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001644></TR
1645><TR
1646><TD
1647WIDTH="20%"
1648ALIGN="RIGHT"
1649VALIGN="TOP"
1650><I
1651CLASS="EMPHASIS"
1652>Returns</I
1653> :</TD
1654><TD
1655WIDTH="80%"
1656ALIGN="LEFT"
1657VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001658>A newly allocated string with the substitution done.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001659></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001660></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001661></TABLE
1662><P
1663></P
1664></DIV
1665></DIV
1666><HR><DIV
1667CLASS="REFSECT2"
1668><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001669NAME="AEN8004"
Daniel Veillard35925471999-02-25 08:46:07 +00001670></A
1671><H3
1672><A
1673NAME="XMLCREATEENTITIESTABLE"
1674></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001675>xmlCreateEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001676><TABLE
1677BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001678BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001679WIDTH="100%"
1680CELLPADDING="6"
1681><TR
1682><TD
1683><PRE
1684CLASS="PROGRAMLISTING"
1685><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001686HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001687>xmlEntitiesTablePtr</A
1688> xmlCreateEntitiesTable (void);</PRE
1689></TD
1690></TR
1691></TABLE
1692><P
1693>create and initialize an empty entities hash table.</P
1694><P
1695></P
1696><DIV
1697CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001698><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001699NAME="AEN8011"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001700></A
Daniel Veillard35925471999-02-25 08:46:07 +00001701><P
1702></P
1703><TABLE
1704BORDER="0"
1705WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001706BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001707CELLSPACING="0"
1708CELLPADDING="4"
1709CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001710><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001711><TR
1712><TD
1713WIDTH="20%"
1714ALIGN="RIGHT"
1715VALIGN="TOP"
1716><I
1717CLASS="EMPHASIS"
1718>Returns</I
1719> :</TD
1720><TD
1721WIDTH="80%"
1722ALIGN="LEFT"
1723VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001724>the xmlEntitiesTablePtr just created or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001725></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001726></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001727></TABLE
1728><P
1729></P
1730></DIV
1731></DIV
1732><HR><DIV
1733CLASS="REFSECT2"
1734><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001735NAME="AEN8020"
Daniel Veillard35925471999-02-25 08:46:07 +00001736></A
1737><H3
1738><A
1739NAME="XMLCOPYENTITIESTABLE"
1740></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001741>xmlCopyEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001742><TABLE
1743BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001744BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001745WIDTH="100%"
1746CELLPADDING="6"
1747><TR
1748><TD
1749><PRE
1750CLASS="PROGRAMLISTING"
1751><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001752HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001753>xmlEntitiesTablePtr</A
1754> xmlCopyEntitiesTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001755HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001756>xmlEntitiesTablePtr</A
1757> table);</PRE
1758></TD
1759></TR
1760></TABLE
1761><P
1762>Build a copy of an entity table.</P
1763><P
1764></P
1765><DIV
1766CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001767><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001768NAME="AEN8028"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001769></A
Daniel Veillard35925471999-02-25 08:46:07 +00001770><P
1771></P
1772><TABLE
1773BORDER="0"
1774WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001775BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001776CELLSPACING="0"
1777CELLPADDING="4"
1778CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001779><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001780><TR
1781><TD
1782WIDTH="20%"
1783ALIGN="RIGHT"
1784VALIGN="TOP"
1785><TT
1786CLASS="PARAMETER"
1787><I
1788>table</I
1789></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001790>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001791><TD
1792WIDTH="80%"
1793ALIGN="LEFT"
1794VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001795> An entity table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001796></TR
1797><TR
1798><TD
1799WIDTH="20%"
1800ALIGN="RIGHT"
1801VALIGN="TOP"
1802><I
1803CLASS="EMPHASIS"
1804>Returns</I
1805> :</TD
1806><TD
1807WIDTH="80%"
1808ALIGN="LEFT"
1809VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001810>the new xmlEntitiesTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001811></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001812></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001813></TABLE
1814><P
1815></P
1816></DIV
1817></DIV
1818><HR><DIV
1819CLASS="REFSECT2"
1820><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001821NAME="AEN8041"
Daniel Veillard35925471999-02-25 08:46:07 +00001822></A
1823><H3
1824><A
1825NAME="XMLFREEENTITIESTABLE"
1826></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001827>xmlFreeEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001828><TABLE
1829BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001830BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001831WIDTH="100%"
1832CELLPADDING="6"
1833><TR
1834><TD
1835><PRE
1836CLASS="PROGRAMLISTING"
1837>void xmlFreeEntitiesTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001838HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001839>xmlEntitiesTablePtr</A
1840> table);</PRE
1841></TD
1842></TR
1843></TABLE
1844><P
1845>Deallocate the memory used by an entities hash table.</P
1846><P
1847></P
1848><DIV
1849CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001850><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001851NAME="AEN8048"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001852></A
Daniel Veillard35925471999-02-25 08:46:07 +00001853><P
1854></P
1855><TABLE
1856BORDER="0"
1857WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001858BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001859CELLSPACING="0"
1860CELLPADDING="4"
1861CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001862><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001863><TR
1864><TD
1865WIDTH="20%"
1866ALIGN="RIGHT"
1867VALIGN="TOP"
1868><TT
1869CLASS="PARAMETER"
1870><I
1871>table</I
1872></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001873>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001874><TD
1875WIDTH="80%"
1876ALIGN="LEFT"
1877VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001878> An entity table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001879></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001880></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001881></TABLE
1882><P
1883></P
1884></DIV
1885></DIV
1886><HR><DIV
1887CLASS="REFSECT2"
1888><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001889NAME="AEN8057"
Daniel Veillard35925471999-02-25 08:46:07 +00001890></A
1891><H3
1892><A
1893NAME="XMLDUMPENTITIESTABLE"
1894></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001895>xmlDumpEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001896><TABLE
1897BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001898BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001899WIDTH="100%"
1900CELLPADDING="6"
1901><TR
1902><TD
1903><PRE
1904CLASS="PROGRAMLISTING"
1905>void xmlDumpEntitiesTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001906HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001907>xmlBufferPtr</A
1908> buf,
1909 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001910HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001911>xmlEntitiesTablePtr</A
1912> table);</PRE
1913></TD
1914></TR
1915></TABLE
1916><P
1917>This will dump the content of the entity table as an XML DTD definition</P
1918><P
Daniel Veillard35925471999-02-25 08:46:07 +00001919></P
1920><DIV
1921CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001922><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001923NAME="AEN8065"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001924></A
Daniel Veillard35925471999-02-25 08:46:07 +00001925><P
1926></P
1927><TABLE
1928BORDER="0"
1929WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001930BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001931CELLSPACING="0"
1932CELLPADDING="4"
1933CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001934><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001935><TR
1936><TD
1937WIDTH="20%"
1938ALIGN="RIGHT"
1939VALIGN="TOP"
1940><TT
1941CLASS="PARAMETER"
1942><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001943>buf</I
1944></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001945>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001946><TD
1947WIDTH="80%"
1948ALIGN="LEFT"
1949VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001950> An XML buffer.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001951></TR
1952><TR
1953><TD
1954WIDTH="20%"
1955ALIGN="RIGHT"
1956VALIGN="TOP"
1957><TT
1958CLASS="PARAMETER"
1959><I
Daniel Veillard35925471999-02-25 08:46:07 +00001960>table</I
1961></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001962>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001963><TD
1964WIDTH="80%"
1965ALIGN="LEFT"
1966VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001967> An entity table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001968></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001969></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001970></TABLE
1971><P
1972></P
1973></DIV
1974></DIV
1975><HR><DIV
1976CLASS="REFSECT2"
1977><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00001978NAME="AEN8078"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001979></A
1980><H3
1981><A
1982NAME="XMLDUMPENTITYDECL"
1983></A
1984>xmlDumpEntityDecl ()</H3
1985><TABLE
1986BORDER="0"
1987BGCOLOR="#D6E8FF"
1988WIDTH="100%"
1989CELLPADDING="6"
1990><TR
1991><TD
1992><PRE
1993CLASS="PROGRAMLISTING"
1994>void xmlDumpEntityDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001995HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001996>xmlBufferPtr</A
1997> buf,
1998 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001999HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002000>xmlEntityPtr</A
2001> ent);</PRE
2002></TD
2003></TR
2004></TABLE
2005><P
2006>This will dump the content of the entity table as an XML DTD definition</P
2007><P
2008></P
2009><DIV
2010CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002011><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00002012NAME="AEN8086"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002013></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002014><P
2015></P
2016><TABLE
2017BORDER="0"
2018WIDTH="100%"
2019BGCOLOR="#FFD0D0"
2020CELLSPACING="0"
2021CELLPADDING="4"
2022CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002023><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002024><TR
2025><TD
2026WIDTH="20%"
2027ALIGN="RIGHT"
2028VALIGN="TOP"
2029><TT
2030CLASS="PARAMETER"
2031><I
2032>buf</I
2033></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002034>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002035><TD
2036WIDTH="80%"
2037ALIGN="LEFT"
2038VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002039> An XML buffer.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002040></TR
2041><TR
2042><TD
2043WIDTH="20%"
2044ALIGN="RIGHT"
2045VALIGN="TOP"
2046><TT
2047CLASS="PARAMETER"
2048><I
2049>ent</I
2050></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002051>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002052><TD
2053WIDTH="80%"
2054ALIGN="LEFT"
2055VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002056> An entity table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002057></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002058></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002059></TABLE
2060><P
2061></P
2062></DIV
2063></DIV
2064><HR><DIV
2065CLASS="REFSECT2"
2066><A
Daniel Veillard52dcab32001-10-30 12:51:17 +00002067NAME="AEN8099"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002068></A
2069><H3
2070><A
2071NAME="XMLCLEANUPPREDEFINEDENTITIES"
2072></A
2073>xmlCleanupPredefinedEntities ()</H3
2074><TABLE
2075BORDER="0"
2076BGCOLOR="#D6E8FF"
2077WIDTH="100%"
2078CELLPADDING="6"
2079><TR
2080><TD
2081><PRE
2082CLASS="PROGRAMLISTING"
2083>void xmlCleanupPredefinedEntities (void);</PRE
2084></TD
2085></TR
2086></TABLE
2087><P
2088>Cleanup up the predefined entities table.</P
2089><P
2090></P
2091></DIV
Daniel Veillard35925471999-02-25 08:46:07 +00002092></DIV
2093><DIV
2094CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00002095><BR
2096CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00002097WIDTH="100%"
2098BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002099BGCOLOR="#000000"
2100CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00002101CELLSPACING="0"
2102><TR
2103><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002104WIDTH="25%"
2105BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00002106ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00002107><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002108HREF="libxml-tree.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00002109><FONT
2110COLOR="#FFFFFF"
2111SIZE="3"
2112><B
2113>&#60;&#60;&#60; Previous Page</B
2114></FONT
2115></A
Daniel Veillard35925471999-02-25 08:46:07 +00002116></TD
2117><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002118WIDTH="25%"
2119BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00002120ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00002121><FONT
2122COLOR="#FFFFFF"
2123SIZE="3"
2124><B
Daniel Veillard35925471999-02-25 08:46:07 +00002125><A
2126HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00002127><FONT
2128COLOR="#FFFFFF"
2129SIZE="3"
2130><B
2131>Home</B
2132></FONT
2133></A
2134></B
2135></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00002136></TD
2137><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002138WIDTH="25%"
2139BGCOLOR="#00C000"
2140ALIGN="center"
2141><FONT
2142COLOR="#FFFFFF"
2143SIZE="3"
2144><B
2145><A
Daniel Veillard35008381999-10-25 13:15:52 +00002146HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00002147><FONT
2148COLOR="#FFFFFF"
2149SIZE="3"
2150><B
2151>Up</B
2152></FONT
2153></A
2154></B
2155></FONT
2156></TD
2157><TD
2158WIDTH="25%"
2159BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00002160ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00002161><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002162HREF="libxml-valid.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00002163><FONT
2164COLOR="#FFFFFF"
2165SIZE="3"
2166><B
2167>Next Page &#62;&#62;&#62;</B
2168></FONT
2169></A
Daniel Veillard35925471999-02-25 08:46:07 +00002170></TD
2171></TR
2172><TR
2173><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002174COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00002175ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00002176><FONT
2177COLOR="#FFFFFF"
2178SIZE="3"
2179><B
2180>tree</B
2181></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00002182></TD
2183><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002184COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00002185ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00002186><FONT
2187COLOR="#FFFFFF"
2188SIZE="3"
2189><B
2190>valid</B
2191></FONT
2192></TD
Daniel Veillard35925471999-02-25 08:46:07 +00002193></TR
2194></TABLE
2195></DIV
2196></BODY
2197></HTML
2198>