blob: c2d57b1a89200f519d9bf8952896a10052f47050 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>entities</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard503b8932001-01-05 06:36:31 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><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
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000023LINK="#0000FF"
24VLINK="#840084"
25ALINK="#0000FF"
Daniel Veillard35925471999-02-25 08:46:07 +000026><DIV
27CLASS="NAVHEADER"
28><TABLE
29WIDTH="100%"
30BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000031BGCOLOR="#000000"
32CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000033CELLSPACING="0"
34><TR
35><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000036COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000037ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000038><FONT
39COLOR="#FFFFFF"
40SIZE="5"
41>Gnome XML Library Reference Manual</FONT
42></TH
Daniel Veillard35925471999-02-25 08:46:07 +000043></TR
44><TR
45><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000046WIDTH="25%"
47BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000048ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000049><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000050HREF="libxml-tree.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000051><FONT
52COLOR="#FFFFFF"
53SIZE="3"
54><B
55>&#60;&#60;&#60; Previous Page</B
56></FONT
57></A
Daniel Veillard35925471999-02-25 08:46:07 +000058></TD
59><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000060WIDTH="25%"
61BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000062ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000063><FONT
64COLOR="#FFFFFF"
65SIZE="3"
66><B
67><A
68HREF="book1.html"
69><FONT
70COLOR="#FFFFFF"
71SIZE="3"
72><B
73>Home</B
74></FONT
75></A
76></B
77></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000078></TD
79><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000080WIDTH="25%"
81BGCOLOR="#00C000"
82ALIGN="center"
83><FONT
84COLOR="#FFFFFF"
85SIZE="3"
86><B
87><A
Daniel Veillard35008381999-10-25 13:15:52 +000088HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000089><FONT
90COLOR="#FFFFFF"
91SIZE="3"
92><B
93>Up</B
94></FONT
95></A
96></B
97></FONT
98></TD
99><TD
100WIDTH="25%"
101BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +0000102ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +0000103><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000104HREF="libxml-valid.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000105><FONT
106COLOR="#FFFFFF"
107SIZE="3"
108><B
109>Next Page &#62;&#62;&#62;</B
110></FONT
111></A
Daniel Veillard35925471999-02-25 08:46:07 +0000112></TD
113></TR
114></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000115></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000116><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000117><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000118NAME="LIBXML-ENTITIES"
Daniel Veillard503b8932001-01-05 06:36:31 +0000119>entities</A
120></H1
Daniel Veillard35925471999-02-25 08:46:07 +0000121><DIV
122CLASS="REFNAMEDIV"
123><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000124NAME="AEN7344"
Daniel Veillard35925471999-02-25 08:46:07 +0000125></A
126><H2
127>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000128>entities&nbsp;--&nbsp;</DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000129><DIV
130CLASS="REFSYNOPSISDIV"
131><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000132NAME="AEN7347"
Daniel Veillard35925471999-02-25 08:46:07 +0000133></A
134><H2
135>Synopsis</H2
136><TABLE
137BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000138BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000139WIDTH="100%"
140CELLPADDING="6"
141><TR
142><TD
143><PRE
144CLASS="SYNOPSIS"
145>&#13;
146
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000147enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000148HREF="libxml-entities.html#XMLENTITYTYPE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000149>xmlEntityType</A
150>;
151struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000152HREF="libxml-entities.html#XMLENTITY"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000153>xmlEntity</A
154>;
Daniel Veillard35925471999-02-25 08:46:07 +0000155typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000156HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000157>xmlEntityPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000158>;
Daniel Veillard35925471999-02-25 08:46:07 +0000159typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000160HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000161>xmlEntitiesTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000162>;
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000163void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000164HREF="libxml-entities.html#XMLINITIALIZEPREDEFINEDENTITIES"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000165>xmlInitializePredefinedEntities</A
166> (void);
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000167<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000168HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000169>xmlEntityPtr</A
170> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000171HREF="libxml-entities.html#XMLADDDOCENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000172>xmlAddDocEntity</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000173> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000174HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000175>xmlDocPtr</A
176> doc,
177 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000178HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000179>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000180> *name,
181 int type,
182 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000183HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000184>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000185> *ExternalID,
186 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000187HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000188>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000189> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000190 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000191HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000192>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000193> *content);
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000194<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000195HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000196>xmlEntityPtr</A
197> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000198HREF="libxml-entities.html#XMLADDDTDENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000199>xmlAddDtdEntity</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000200> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000201HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000202>xmlDocPtr</A
203> doc,
204 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000205HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000206>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000207> *name,
208 int type,
209 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000210HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000211>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000212> *ExternalID,
213 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000214HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000215>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000216> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000217 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000218HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000219>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000220> *content);
221<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000222HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000223>xmlEntityPtr</A
224> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000225HREF="libxml-entities.html#XMLGETPREDEFINEDENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000226>xmlGetPredefinedEntity</A
227> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000228HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000229>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000230> *name);
231<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000232HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000233>xmlEntityPtr</A
234> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000235HREF="libxml-entities.html#XMLGETDOCENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000236>xmlGetDocEntity</A
237> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000238HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000239>xmlDocPtr</A
240> doc,
241 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000242HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000243>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000244> *name);
245<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000246HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000247>xmlEntityPtr</A
248> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000249HREF="libxml-entities.html#XMLGETDTDENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000250>xmlGetDtdEntity</A
251> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000252HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000253>xmlDocPtr</A
254> doc,
255 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000256HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000257>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000258> *name);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000259<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000260HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000261>xmlEntityPtr</A
262> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000263HREF="libxml-entities.html#XMLGETPARAMETERENTITY"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000264>xmlGetParameterEntity</A
265> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000266HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000267>xmlDocPtr</A
268> doc,
269 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000270HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000271>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000272> *name);
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000273const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000274HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000275>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000276>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000277HREF="libxml-entities.html#XMLENCODEENTITIES"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000278>xmlEncodeEntities</A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000279> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000280HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000281>xmlDocPtr</A
282> doc,
283 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000284HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000285>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000286> *input);
Daniel Veillard35925471999-02-25 08:46:07 +0000287<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000288HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000289>xmlChar</A
290>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000291HREF="libxml-entities.html#XMLENCODEENTITIESREENTRANT"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000292>xmlEncodeEntitiesReentrant</A
293> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000294HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000295>xmlDocPtr</A
296> doc,
297 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000298HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000299>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000300> *input);
301<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000302HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000303>xmlChar</A
304>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000305HREF="libxml-entities.html#XMLENCODESPECIALCHARS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000306>xmlEncodeSpecialChars</A
307> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000308HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000309>xmlDocPtr</A
310> doc,
311 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000312HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000313>xmlChar</A
314> *input);
315<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000316HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000317>xmlEntitiesTablePtr</A
318> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000319HREF="libxml-entities.html#XMLCREATEENTITIESTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000320>xmlCreateEntitiesTable</A
321> (void);
322<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000323HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000324>xmlEntitiesTablePtr</A
325> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000326HREF="libxml-entities.html#XMLCOPYENTITIESTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000327>xmlCopyEntitiesTable</A
328> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000329HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000330>xmlEntitiesTablePtr</A
331> table);
332void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000333HREF="libxml-entities.html#XMLFREEENTITIESTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000334>xmlFreeEntitiesTable</A
335> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000336HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000337>xmlEntitiesTablePtr</A
338> table);
339void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000340HREF="libxml-entities.html#XMLDUMPENTITIESTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000341>xmlDumpEntitiesTable</A
342> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000343HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000344>xmlBufferPtr</A
345> buf,
346 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000347HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000348>xmlEntitiesTablePtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000349> table);
350void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000351HREF="libxml-entities.html#XMLDUMPENTITYDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000352>xmlDumpEntityDecl</A
353> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000354HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000355>xmlBufferPtr</A
356> buf,
357 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000358HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000359>xmlEntityPtr</A
360> ent);
361void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000362HREF="libxml-entities.html#XMLCLEANUPPREDEFINEDENTITIES"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000363>xmlCleanupPredefinedEntities</A
Daniel Veillard29a11cc2000-10-25 13:32:39 +0000364> (void);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000365></TD
366></TR
367></TABLE
368></DIV
369><DIV
370CLASS="REFSECT1"
371><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000372NAME="AEN7410"
Daniel Veillard35925471999-02-25 08:46:07 +0000373></A
374><H2
375>Description</H2
376><P
377></P
378></DIV
379><DIV
380CLASS="REFSECT1"
381><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000382NAME="AEN7413"
Daniel Veillard35925471999-02-25 08:46:07 +0000383></A
384><H2
385>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000386><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000387CLASS="REFSECT2"
388><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000389NAME="AEN7415"
Daniel Veillard35925471999-02-25 08:46:07 +0000390></A
391><H3
392><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000393NAME="XMLENTITYTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000394></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000395>enum xmlEntityType</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000396><TABLE
397BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000398BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000399WIDTH="100%"
400CELLPADDING="6"
401><TR
402><TD
403><PRE
404CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000405>typedef enum {
406 XML_INTERNAL_GENERAL_ENTITY = 1,
407 XML_EXTERNAL_GENERAL_PARSED_ENTITY = 2,
408 XML_EXTERNAL_GENERAL_UNPARSED_ENTITY = 3,
409 XML_INTERNAL_PARAMETER_ENTITY = 4,
410 XML_EXTERNAL_PARAMETER_ENTITY = 5,
411 XML_INTERNAL_PREDEFINED_ENTITY = 6
412} xmlEntityType;</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000413></TD
414></TR
415></TABLE
416><P
417></P
418></DIV
419><HR><DIV
420CLASS="REFSECT2"
421><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000422NAME="AEN7420"
Daniel Veillard35925471999-02-25 08:46:07 +0000423></A
424><H3
425><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000426NAME="XMLENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000427></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000428>struct xmlEntity</H3
Daniel Veillardf3a73582000-01-05 14:58:39 +0000429><TABLE
430BORDER="0"
431BGCOLOR="#D6E8FF"
432WIDTH="100%"
433CELLPADDING="6"
434><TR
435><TD
436><PRE
437CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000438>struct xmlEntity {
439#ifndef XML_WITHOUT_CORBA
440 void *_private; /* for Corba, must be first ! */
441#endif
442 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 Veillard3bbbe6f2001-05-03 11:15:37 +0000470NAME="AEN7425"
Daniel Veillardf3a73582000-01-05 14:58:39 +0000471></A
472><H3
473><A
474NAME="XMLENTITYPTR"
475></A
476>xmlEntityPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +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 Veillard3bbbe6f2001-05-03 11:15:37 +0000496NAME="AEN7430"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000497></A
498><H3
499><A
500NAME="XMLENTITIESTABLEPTR"
501></A
502>xmlEntitiesTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +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 Veillard3bbbe6f2001-05-03 11:15:37 +0000522NAME="AEN7435"
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 Veillard3bbbe6f2001-05-03 11:15:37 +0000550NAME="AEN7441"
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"
599><P
600></P
601><TABLE
602BORDER="0"
603WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000604BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000605CELLSPACING="0"
606CELLPADDING="4"
607CLASS="CALSTABLE"
608><TR
609><TD
610WIDTH="20%"
611ALIGN="RIGHT"
612VALIGN="TOP"
613><TT
614CLASS="PARAMETER"
615><I
616>doc</I
617></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000618>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000619><TD
620WIDTH="80%"
621ALIGN="LEFT"
622VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000623> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000624></TR
625><TR
626><TD
627WIDTH="20%"
628ALIGN="RIGHT"
629VALIGN="TOP"
630><TT
631CLASS="PARAMETER"
632><I
633>name</I
634></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000635>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000636><TD
637WIDTH="80%"
638ALIGN="LEFT"
639VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000640> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000641></TR
642><TR
643><TD
644WIDTH="20%"
645ALIGN="RIGHT"
646VALIGN="TOP"
647><TT
648CLASS="PARAMETER"
649><I
650>type</I
651></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000652>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000653><TD
654WIDTH="80%"
655ALIGN="LEFT"
656VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000657> the entity type XML_xxx_yyy_ENTITY</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000658></TR
659><TR
660><TD
661WIDTH="20%"
662ALIGN="RIGHT"
663VALIGN="TOP"
664><TT
665CLASS="PARAMETER"
666><I
667>ExternalID</I
668></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000669>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000670><TD
671WIDTH="80%"
672ALIGN="LEFT"
673VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000674> the entity external ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000675></TR
676><TR
677><TD
678WIDTH="20%"
679ALIGN="RIGHT"
680VALIGN="TOP"
681><TT
682CLASS="PARAMETER"
683><I
684>SystemID</I
685></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000686>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000687><TD
688WIDTH="80%"
689ALIGN="LEFT"
690VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000691> the entity system ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000692></TR
693><TR
694><TD
695WIDTH="20%"
696ALIGN="RIGHT"
697VALIGN="TOP"
698><TT
699CLASS="PARAMETER"
700><I
701>content</I
702></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000703>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000704><TD
705WIDTH="80%"
706ALIGN="LEFT"
707VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000708> the entity content</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000709></TR
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000710><TR
711><TD
712WIDTH="20%"
713ALIGN="RIGHT"
714VALIGN="TOP"
715><I
716CLASS="EMPHASIS"
717>Returns</I
718> :</TD
719><TD
720WIDTH="80%"
721ALIGN="LEFT"
722VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000723>a pointer to the entity or NULL in case of error</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000724></TR
Daniel Veillard35925471999-02-25 08:46:07 +0000725></TABLE
726><P
727></P
728></DIV
729></DIV
730><HR><DIV
731CLASS="REFSECT2"
732><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000733NAME="AEN7486"
Daniel Veillard35925471999-02-25 08:46:07 +0000734></A
735><H3
736><A
737NAME="XMLADDDTDENTITY"
738></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000739>xmlAddDtdEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000740><TABLE
741BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000742BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000743WIDTH="100%"
744CELLPADDING="6"
745><TR
746><TD
747><PRE
748CLASS="PROGRAMLISTING"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000749><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000750HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000751>xmlEntityPtr</A
752> xmlAddDtdEntity (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000753HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000754>xmlDocPtr</A
755> doc,
756 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000757HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000758>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000759> *name,
760 int type,
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> *ExternalID,
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> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000769 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> *content);</PRE
773></TD
774></TR
775></TABLE
776><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000777>Register a new entity for this document DTD external subset.</P
Daniel Veillard35925471999-02-25 08:46:07 +0000778><P
779></P
780><DIV
781CLASS="INFORMALTABLE"
782><P
783></P
784><TABLE
785BORDER="0"
786WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000787BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000788CELLSPACING="0"
789CELLPADDING="4"
790CLASS="CALSTABLE"
791><TR
792><TD
793WIDTH="20%"
794ALIGN="RIGHT"
795VALIGN="TOP"
796><TT
797CLASS="PARAMETER"
798><I
799>doc</I
800></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000801>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000802><TD
803WIDTH="80%"
804ALIGN="LEFT"
805VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000806> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000807></TR
808><TR
809><TD
810WIDTH="20%"
811ALIGN="RIGHT"
812VALIGN="TOP"
813><TT
814CLASS="PARAMETER"
815><I
816>name</I
817></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000818>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000819><TD
820WIDTH="80%"
821ALIGN="LEFT"
822VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000823> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000824></TR
825><TR
826><TD
827WIDTH="20%"
828ALIGN="RIGHT"
829VALIGN="TOP"
830><TT
831CLASS="PARAMETER"
832><I
833>type</I
834></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000835>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000836><TD
837WIDTH="80%"
838ALIGN="LEFT"
839VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000840> the entity type XML_xxx_yyy_ENTITY</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000841></TR
842><TR
843><TD
844WIDTH="20%"
845ALIGN="RIGHT"
846VALIGN="TOP"
847><TT
848CLASS="PARAMETER"
849><I
850>ExternalID</I
851></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000852>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000853><TD
854WIDTH="80%"
855ALIGN="LEFT"
856VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000857> the entity external ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000858></TR
859><TR
860><TD
861WIDTH="20%"
862ALIGN="RIGHT"
863VALIGN="TOP"
864><TT
865CLASS="PARAMETER"
866><I
867>SystemID</I
868></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000869>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000870><TD
871WIDTH="80%"
872ALIGN="LEFT"
873VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000874> the entity system ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000875></TR
876><TR
877><TD
878WIDTH="20%"
879ALIGN="RIGHT"
880VALIGN="TOP"
881><TT
882CLASS="PARAMETER"
883><I
884>content</I
885></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000886>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000887><TD
888WIDTH="80%"
889ALIGN="LEFT"
890VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000891> the entity content</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000892></TR
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000893><TR
894><TD
895WIDTH="20%"
896ALIGN="RIGHT"
897VALIGN="TOP"
898><I
899CLASS="EMPHASIS"
900>Returns</I
901> :</TD
902><TD
903WIDTH="80%"
904ALIGN="LEFT"
905VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000906>a pointer to the entity or NULL in case of error</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000907></TR
Daniel Veillard35925471999-02-25 08:46:07 +0000908></TABLE
909><P
910></P
911></DIV
912></DIV
913><HR><DIV
914CLASS="REFSECT2"
915><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000916NAME="AEN7531"
Daniel Veillard35925471999-02-25 08:46:07 +0000917></A
918><H3
919><A
920NAME="XMLGETPREDEFINEDENTITY"
921></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000922>xmlGetPredefinedEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000923><TABLE
924BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000925BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000926WIDTH="100%"
927CELLPADDING="6"
928><TR
929><TD
930><PRE
931CLASS="PROGRAMLISTING"
932><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000933HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000934>xmlEntityPtr</A
935> xmlGetPredefinedEntity (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000936HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000937>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000938> *name);</PRE
939></TD
940></TR
941></TABLE
942><P
943>Check whether this name is an predefined entity.</P
944><P
945></P
946><DIV
947CLASS="INFORMALTABLE"
948><P
949></P
950><TABLE
951BORDER="0"
952WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000953BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000954CELLSPACING="0"
955CELLPADDING="4"
956CLASS="CALSTABLE"
957><TR
958><TD
959WIDTH="20%"
960ALIGN="RIGHT"
961VALIGN="TOP"
962><TT
963CLASS="PARAMETER"
964><I
965>name</I
966></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000967>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000968><TD
969WIDTH="80%"
970ALIGN="LEFT"
971VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000972> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000973></TR
974><TR
975><TD
976WIDTH="20%"
977ALIGN="RIGHT"
978VALIGN="TOP"
979><I
980CLASS="EMPHASIS"
981>Returns</I
982> :</TD
983><TD
984WIDTH="80%"
985ALIGN="LEFT"
986VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000987>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000988></TR
989></TABLE
990><P
991></P
992></DIV
993></DIV
994><HR><DIV
995CLASS="REFSECT2"
996><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000997NAME="AEN7552"
Daniel Veillard35925471999-02-25 08:46:07 +0000998></A
999><H3
1000><A
1001NAME="XMLGETDOCENTITY"
1002></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001003>xmlGetDocEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001004><TABLE
1005BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001006BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001007WIDTH="100%"
1008CELLPADDING="6"
1009><TR
1010><TD
1011><PRE
1012CLASS="PROGRAMLISTING"
1013><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001014HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001015>xmlEntityPtr</A
1016> xmlGetDocEntity (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001017HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001018>xmlDocPtr</A
1019> doc,
1020 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001021HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001022>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001023> *name);</PRE
1024></TD
1025></TR
1026></TABLE
1027><P
1028>Do an entity lookup in the document entity hash table and
1029returns the corrsponding entity, otherwise a lookup is done
1030in the predefined entities too.</P
1031><P
1032></P
1033><DIV
1034CLASS="INFORMALTABLE"
1035><P
1036></P
1037><TABLE
1038BORDER="0"
1039WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001040BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001041CELLSPACING="0"
1042CELLPADDING="4"
1043CLASS="CALSTABLE"
1044><TR
1045><TD
1046WIDTH="20%"
1047ALIGN="RIGHT"
1048VALIGN="TOP"
1049><TT
1050CLASS="PARAMETER"
1051><I
1052>doc</I
1053></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001054>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001055><TD
1056WIDTH="80%"
1057ALIGN="LEFT"
1058VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001059> the document referencing the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001060></TR
1061><TR
1062><TD
1063WIDTH="20%"
1064ALIGN="RIGHT"
1065VALIGN="TOP"
1066><TT
1067CLASS="PARAMETER"
1068><I
1069>name</I
1070></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001071>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001072><TD
1073WIDTH="80%"
1074ALIGN="LEFT"
1075VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001076> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001077></TR
1078><TR
1079><TD
1080WIDTH="20%"
1081ALIGN="RIGHT"
1082VALIGN="TOP"
1083><I
1084CLASS="EMPHASIS"
1085>Returns</I
1086> :</TD
1087><TD
1088WIDTH="80%"
1089ALIGN="LEFT"
1090VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001091>A pointer to the entity structure or NULL if not found.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001092></TR
1093></TABLE
1094><P
1095></P
1096></DIV
1097></DIV
1098><HR><DIV
1099CLASS="REFSECT2"
1100><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001101NAME="AEN7578"
Daniel Veillard35925471999-02-25 08:46:07 +00001102></A
1103><H3
1104><A
1105NAME="XMLGETDTDENTITY"
1106></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001107>xmlGetDtdEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001108><TABLE
1109BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001110BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001111WIDTH="100%"
1112CELLPADDING="6"
1113><TR
1114><TD
1115><PRE
1116CLASS="PROGRAMLISTING"
1117><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001118HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001119>xmlEntityPtr</A
1120> xmlGetDtdEntity (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001121HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001122>xmlDocPtr</A
1123> doc,
1124 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001125HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001126>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001127> *name);</PRE
1128></TD
1129></TR
1130></TABLE
1131><P
1132>Do an entity lookup in the Dtd entity hash table and
1133returns the corresponding entity, if found.</P
1134><P
1135></P
1136><DIV
1137CLASS="INFORMALTABLE"
1138><P
1139></P
1140><TABLE
1141BORDER="0"
1142WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001143BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001144CELLSPACING="0"
1145CELLPADDING="4"
1146CLASS="CALSTABLE"
1147><TR
1148><TD
1149WIDTH="20%"
1150ALIGN="RIGHT"
1151VALIGN="TOP"
1152><TT
1153CLASS="PARAMETER"
1154><I
1155>doc</I
1156></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001157>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001158><TD
1159WIDTH="80%"
1160ALIGN="LEFT"
1161VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001162> the document referencing the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001163></TR
1164><TR
1165><TD
1166WIDTH="20%"
1167ALIGN="RIGHT"
1168VALIGN="TOP"
1169><TT
1170CLASS="PARAMETER"
1171><I
1172>name</I
1173></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001174>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001175><TD
1176WIDTH="80%"
1177ALIGN="LEFT"
1178VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001179> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001180></TR
1181><TR
1182><TD
1183WIDTH="20%"
1184ALIGN="RIGHT"
1185VALIGN="TOP"
1186><I
1187CLASS="EMPHASIS"
1188>Returns</I
1189> :</TD
1190><TD
1191WIDTH="80%"
1192ALIGN="LEFT"
1193VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001194>A pointer to the entity structure or NULL if not found.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001195></TR
1196></TABLE
1197><P
1198></P
1199></DIV
1200></DIV
1201><HR><DIV
1202CLASS="REFSECT2"
1203><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001204NAME="AEN7604"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001205></A
1206><H3
1207><A
1208NAME="XMLGETPARAMETERENTITY"
1209></A
1210>xmlGetParameterEntity ()</H3
1211><TABLE
1212BORDER="0"
1213BGCOLOR="#D6E8FF"
1214WIDTH="100%"
1215CELLPADDING="6"
1216><TR
1217><TD
1218><PRE
1219CLASS="PROGRAMLISTING"
1220><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001221HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001222>xmlEntityPtr</A
1223> xmlGetParameterEntity (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001224HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001225>xmlDocPtr</A
1226> doc,
1227 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001228HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001229>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001230> *name);</PRE
1231></TD
1232></TR
1233></TABLE
1234><P
1235>Do an entity lookup in the internal and external subsets and
1236returns the corresponding parameter entity, if found.</P
1237><P
1238></P
1239><DIV
1240CLASS="INFORMALTABLE"
1241><P
1242></P
1243><TABLE
1244BORDER="0"
1245WIDTH="100%"
1246BGCOLOR="#FFD0D0"
1247CELLSPACING="0"
1248CELLPADDING="4"
1249CLASS="CALSTABLE"
1250><TR
1251><TD
1252WIDTH="20%"
1253ALIGN="RIGHT"
1254VALIGN="TOP"
1255><TT
1256CLASS="PARAMETER"
1257><I
1258>doc</I
1259></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001260>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001261><TD
1262WIDTH="80%"
1263ALIGN="LEFT"
1264VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001265> the document referencing the entity</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001266></TR
1267><TR
1268><TD
1269WIDTH="20%"
1270ALIGN="RIGHT"
1271VALIGN="TOP"
1272><TT
1273CLASS="PARAMETER"
1274><I
1275>name</I
1276></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001277>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001278><TD
1279WIDTH="80%"
1280ALIGN="LEFT"
1281VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001282> the entity name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001283></TR
1284><TR
1285><TD
1286WIDTH="20%"
1287ALIGN="RIGHT"
1288VALIGN="TOP"
1289><I
1290CLASS="EMPHASIS"
1291>Returns</I
1292> :</TD
1293><TD
1294WIDTH="80%"
1295ALIGN="LEFT"
1296VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001297>A pointer to the entity structure or NULL if not found.</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001298></TR
1299></TABLE
1300><P
1301></P
1302></DIV
1303></DIV
1304><HR><DIV
1305CLASS="REFSECT2"
1306><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001307NAME="AEN7630"
Daniel Veillard35925471999-02-25 08:46:07 +00001308></A
1309><H3
1310><A
1311NAME="XMLENCODEENTITIES"
1312></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001313>xmlEncodeEntities ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001314><TABLE
1315BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001316BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001317WIDTH="100%"
1318CELLPADDING="6"
1319><TR
1320><TD
1321><PRE
1322CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001323>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001324HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001325>xmlChar</A
1326>* xmlEncodeEntities (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001327HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001328>xmlDocPtr</A
1329> doc,
1330 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001331HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001332>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001333> *input);</PRE
1334></TD
1335></TR
1336></TABLE
1337><P
1338>Do a global encoding of a string, replacing the predefined entities
1339and non ASCII values with their entities and CharRef counterparts.</P
1340><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001341>TODO: remove xmlEncodeEntities, once we are not afraid of breaking binary
1342compatibility</P
Daniel Veillard35925471999-02-25 08:46:07 +00001343><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001344>People must migrate their code to xmlEncodeEntitiesReentrant !
1345This routine will issue a warning when encountered.</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001346><P
1347></P
1348><DIV
1349CLASS="INFORMALTABLE"
1350><P
1351></P
1352><TABLE
1353BORDER="0"
1354WIDTH="100%"
1355BGCOLOR="#FFD0D0"
1356CELLSPACING="0"
1357CELLPADDING="4"
1358CLASS="CALSTABLE"
1359><TR
1360><TD
1361WIDTH="20%"
1362ALIGN="RIGHT"
1363VALIGN="TOP"
1364><TT
1365CLASS="PARAMETER"
1366><I
1367>doc</I
1368></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001369>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001370><TD
1371WIDTH="80%"
1372ALIGN="LEFT"
1373VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001374> the document containing the string</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001375></TR
1376><TR
1377><TD
1378WIDTH="20%"
1379ALIGN="RIGHT"
1380VALIGN="TOP"
1381><TT
1382CLASS="PARAMETER"
1383><I
1384>input</I
1385></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001386>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001387><TD
1388WIDTH="80%"
1389ALIGN="LEFT"
1390VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001391> A string to convert to XML.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001392></TR
1393><TR
1394><TD
1395WIDTH="20%"
1396ALIGN="RIGHT"
1397VALIGN="TOP"
1398><I
1399CLASS="EMPHASIS"
1400>Returns</I
1401> :</TD
1402><TD
1403WIDTH="80%"
1404ALIGN="LEFT"
1405VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001406>A newly allocated string with the substitution done.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001407></TR
1408></TABLE
1409><P
1410></P
1411></DIV
1412></DIV
1413><HR><DIV
1414CLASS="REFSECT2"
1415><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001416NAME="AEN7658"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001417></A
1418><H3
1419><A
1420NAME="XMLENCODEENTITIESREENTRANT"
1421></A
1422>xmlEncodeEntitiesReentrant ()</H3
1423><TABLE
1424BORDER="0"
1425BGCOLOR="#D6E8FF"
1426WIDTH="100%"
1427CELLPADDING="6"
1428><TR
1429><TD
1430><PRE
1431CLASS="PROGRAMLISTING"
1432><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001433HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001434>xmlChar</A
1435>* xmlEncodeEntitiesReentrant (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001436HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001437>xmlDocPtr</A
1438> doc,
1439 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001440HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001441>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001442> *input);</PRE
1443></TD
1444></TR
1445></TABLE
1446><P
1447>Do a global encoding of a string, replacing the predefined entities
1448and non ASCII values with their entities and CharRef counterparts.
1449Contrary to xmlEncodeEntities, this routine is reentrant, and result
1450must be deallocated.</P
1451><P
Daniel Veillard35925471999-02-25 08:46:07 +00001452></P
1453><DIV
1454CLASS="INFORMALTABLE"
1455><P
1456></P
1457><TABLE
1458BORDER="0"
1459WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001460BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001461CELLSPACING="0"
1462CELLPADDING="4"
1463CLASS="CALSTABLE"
1464><TR
1465><TD
1466WIDTH="20%"
1467ALIGN="RIGHT"
1468VALIGN="TOP"
1469><TT
1470CLASS="PARAMETER"
1471><I
1472>doc</I
1473></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001474>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001475><TD
1476WIDTH="80%"
1477ALIGN="LEFT"
1478VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001479> the document containing the string</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001480></TR
1481><TR
1482><TD
1483WIDTH="20%"
1484ALIGN="RIGHT"
1485VALIGN="TOP"
1486><TT
1487CLASS="PARAMETER"
1488><I
1489>input</I
1490></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001491>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001492><TD
1493WIDTH="80%"
1494ALIGN="LEFT"
1495VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001496> A string to convert to XML.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001497></TR
1498><TR
1499><TD
1500WIDTH="20%"
1501ALIGN="RIGHT"
1502VALIGN="TOP"
1503><I
1504CLASS="EMPHASIS"
1505>Returns</I
1506> :</TD
1507><TD
1508WIDTH="80%"
1509ALIGN="LEFT"
1510VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001511>A newly allocated string with the substitution done.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001512></TR
1513></TABLE
1514><P
1515></P
1516></DIV
1517></DIV
1518><HR><DIV
1519CLASS="REFSECT2"
1520><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001521NAME="AEN7684"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001522></A
1523><H3
1524><A
1525NAME="XMLENCODESPECIALCHARS"
1526></A
1527>xmlEncodeSpecialChars ()</H3
1528><TABLE
1529BORDER="0"
1530BGCOLOR="#D6E8FF"
1531WIDTH="100%"
1532CELLPADDING="6"
1533><TR
1534><TD
1535><PRE
1536CLASS="PROGRAMLISTING"
1537><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001538HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001539>xmlChar</A
1540>* xmlEncodeSpecialChars (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001541HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001542>xmlDocPtr</A
1543> doc,
1544 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001545HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001546>xmlChar</A
1547> *input);</PRE
1548></TD
1549></TR
1550></TABLE
1551><P
1552>Do a global encoding of a string, replacing the predefined entities
1553this routine is reentrant, and result must be deallocated.</P
1554><P
1555></P
1556><DIV
1557CLASS="INFORMALTABLE"
1558><P
1559></P
1560><TABLE
1561BORDER="0"
1562WIDTH="100%"
1563BGCOLOR="#FFD0D0"
1564CELLSPACING="0"
1565CELLPADDING="4"
1566CLASS="CALSTABLE"
1567><TR
1568><TD
1569WIDTH="20%"
1570ALIGN="RIGHT"
1571VALIGN="TOP"
1572><TT
1573CLASS="PARAMETER"
1574><I
1575>doc</I
1576></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001577>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001578><TD
1579WIDTH="80%"
1580ALIGN="LEFT"
1581VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001582> the document containing the string</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001583></TR
1584><TR
1585><TD
1586WIDTH="20%"
1587ALIGN="RIGHT"
1588VALIGN="TOP"
1589><TT
1590CLASS="PARAMETER"
1591><I
1592>input</I
1593></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001594>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001595><TD
1596WIDTH="80%"
1597ALIGN="LEFT"
1598VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001599> A string to convert to XML.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001600></TR
1601><TR
1602><TD
1603WIDTH="20%"
1604ALIGN="RIGHT"
1605VALIGN="TOP"
1606><I
1607CLASS="EMPHASIS"
1608>Returns</I
1609> :</TD
1610><TD
1611WIDTH="80%"
1612ALIGN="LEFT"
1613VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001614>A newly allocated string with the substitution done.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001615></TR
1616></TABLE
1617><P
1618></P
1619></DIV
1620></DIV
1621><HR><DIV
1622CLASS="REFSECT2"
1623><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001624NAME="AEN7710"
Daniel Veillard35925471999-02-25 08:46:07 +00001625></A
1626><H3
1627><A
1628NAME="XMLCREATEENTITIESTABLE"
1629></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001630>xmlCreateEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001631><TABLE
1632BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001633BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001634WIDTH="100%"
1635CELLPADDING="6"
1636><TR
1637><TD
1638><PRE
1639CLASS="PROGRAMLISTING"
1640><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001641HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001642>xmlEntitiesTablePtr</A
1643> xmlCreateEntitiesTable (void);</PRE
1644></TD
1645></TR
1646></TABLE
1647><P
1648>create and initialize an empty entities hash table.</P
1649><P
1650></P
1651><DIV
1652CLASS="INFORMALTABLE"
1653><P
1654></P
1655><TABLE
1656BORDER="0"
1657WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001658BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001659CELLSPACING="0"
1660CELLPADDING="4"
1661CLASS="CALSTABLE"
1662><TR
1663><TD
1664WIDTH="20%"
1665ALIGN="RIGHT"
1666VALIGN="TOP"
1667><I
1668CLASS="EMPHASIS"
1669>Returns</I
1670> :</TD
1671><TD
1672WIDTH="80%"
1673ALIGN="LEFT"
1674VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001675>the xmlEntitiesTablePtr just created or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001676></TR
1677></TABLE
1678><P
1679></P
1680></DIV
1681></DIV
1682><HR><DIV
1683CLASS="REFSECT2"
1684><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001685NAME="AEN7726"
Daniel Veillard35925471999-02-25 08:46:07 +00001686></A
1687><H3
1688><A
1689NAME="XMLCOPYENTITIESTABLE"
1690></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001691>xmlCopyEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001692><TABLE
1693BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001694BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001695WIDTH="100%"
1696CELLPADDING="6"
1697><TR
1698><TD
1699><PRE
1700CLASS="PROGRAMLISTING"
1701><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001702HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001703>xmlEntitiesTablePtr</A
1704> xmlCopyEntitiesTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001705HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001706>xmlEntitiesTablePtr</A
1707> table);</PRE
1708></TD
1709></TR
1710></TABLE
1711><P
1712>Build a copy of an entity table.</P
1713><P
1714></P
1715><DIV
1716CLASS="INFORMALTABLE"
1717><P
1718></P
1719><TABLE
1720BORDER="0"
1721WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001722BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001723CELLSPACING="0"
1724CELLPADDING="4"
1725CLASS="CALSTABLE"
1726><TR
1727><TD
1728WIDTH="20%"
1729ALIGN="RIGHT"
1730VALIGN="TOP"
1731><TT
1732CLASS="PARAMETER"
1733><I
1734>table</I
1735></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001736>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001737><TD
1738WIDTH="80%"
1739ALIGN="LEFT"
1740VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001741> An entity table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001742></TR
1743><TR
1744><TD
1745WIDTH="20%"
1746ALIGN="RIGHT"
1747VALIGN="TOP"
1748><I
1749CLASS="EMPHASIS"
1750>Returns</I
1751> :</TD
1752><TD
1753WIDTH="80%"
1754ALIGN="LEFT"
1755VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001756>the new xmlEntitiesTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001757></TR
1758></TABLE
1759><P
1760></P
1761></DIV
1762></DIV
1763><HR><DIV
1764CLASS="REFSECT2"
1765><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001766NAME="AEN7747"
Daniel Veillard35925471999-02-25 08:46:07 +00001767></A
1768><H3
1769><A
1770NAME="XMLFREEENTITIESTABLE"
1771></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001772>xmlFreeEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001773><TABLE
1774BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001775BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001776WIDTH="100%"
1777CELLPADDING="6"
1778><TR
1779><TD
1780><PRE
1781CLASS="PROGRAMLISTING"
1782>void xmlFreeEntitiesTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001783HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001784>xmlEntitiesTablePtr</A
1785> table);</PRE
1786></TD
1787></TR
1788></TABLE
1789><P
1790>Deallocate the memory used by an entities hash table.</P
1791><P
1792></P
1793><DIV
1794CLASS="INFORMALTABLE"
1795><P
1796></P
1797><TABLE
1798BORDER="0"
1799WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001800BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001801CELLSPACING="0"
1802CELLPADDING="4"
1803CLASS="CALSTABLE"
1804><TR
1805><TD
1806WIDTH="20%"
1807ALIGN="RIGHT"
1808VALIGN="TOP"
1809><TT
1810CLASS="PARAMETER"
1811><I
1812>table</I
1813></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001814>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001815><TD
1816WIDTH="80%"
1817ALIGN="LEFT"
1818VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001819> An entity table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001820></TR
1821></TABLE
1822><P
1823></P
1824></DIV
1825></DIV
1826><HR><DIV
1827CLASS="REFSECT2"
1828><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001829NAME="AEN7763"
Daniel Veillard35925471999-02-25 08:46:07 +00001830></A
1831><H3
1832><A
1833NAME="XMLDUMPENTITIESTABLE"
1834></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001835>xmlDumpEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001836><TABLE
1837BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001838BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001839WIDTH="100%"
1840CELLPADDING="6"
1841><TR
1842><TD
1843><PRE
1844CLASS="PROGRAMLISTING"
1845>void xmlDumpEntitiesTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001846HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001847>xmlBufferPtr</A
1848> buf,
1849 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001850HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001851>xmlEntitiesTablePtr</A
1852> table);</PRE
1853></TD
1854></TR
1855></TABLE
1856><P
1857>This will dump the content of the entity table as an XML DTD definition</P
1858><P
Daniel Veillard35925471999-02-25 08:46:07 +00001859></P
1860><DIV
1861CLASS="INFORMALTABLE"
1862><P
1863></P
1864><TABLE
1865BORDER="0"
1866WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001867BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001868CELLSPACING="0"
1869CELLPADDING="4"
1870CLASS="CALSTABLE"
1871><TR
1872><TD
1873WIDTH="20%"
1874ALIGN="RIGHT"
1875VALIGN="TOP"
1876><TT
1877CLASS="PARAMETER"
1878><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001879>buf</I
1880></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001881>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001882><TD
1883WIDTH="80%"
1884ALIGN="LEFT"
1885VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001886> An XML buffer.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001887></TR
1888><TR
1889><TD
1890WIDTH="20%"
1891ALIGN="RIGHT"
1892VALIGN="TOP"
1893><TT
1894CLASS="PARAMETER"
1895><I
Daniel Veillard35925471999-02-25 08:46:07 +00001896>table</I
1897></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001898>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001899><TD
1900WIDTH="80%"
1901ALIGN="LEFT"
1902VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001903> An entity table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001904></TR
1905></TABLE
1906><P
1907></P
1908></DIV
1909></DIV
1910><HR><DIV
1911CLASS="REFSECT2"
1912><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001913NAME="AEN7784"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001914></A
1915><H3
1916><A
1917NAME="XMLDUMPENTITYDECL"
1918></A
1919>xmlDumpEntityDecl ()</H3
1920><TABLE
1921BORDER="0"
1922BGCOLOR="#D6E8FF"
1923WIDTH="100%"
1924CELLPADDING="6"
1925><TR
1926><TD
1927><PRE
1928CLASS="PROGRAMLISTING"
1929>void xmlDumpEntityDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001930HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001931>xmlBufferPtr</A
1932> buf,
1933 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001934HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001935>xmlEntityPtr</A
1936> ent);</PRE
1937></TD
1938></TR
1939></TABLE
1940><P
1941>This will dump the content of the entity table as an XML DTD definition</P
1942><P
1943></P
1944><DIV
1945CLASS="INFORMALTABLE"
1946><P
1947></P
1948><TABLE
1949BORDER="0"
1950WIDTH="100%"
1951BGCOLOR="#FFD0D0"
1952CELLSPACING="0"
1953CELLPADDING="4"
1954CLASS="CALSTABLE"
1955><TR
1956><TD
1957WIDTH="20%"
1958ALIGN="RIGHT"
1959VALIGN="TOP"
1960><TT
1961CLASS="PARAMETER"
1962><I
1963>buf</I
1964></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001965>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001966><TD
1967WIDTH="80%"
1968ALIGN="LEFT"
1969VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001970> An XML buffer.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001971></TR
1972><TR
1973><TD
1974WIDTH="20%"
1975ALIGN="RIGHT"
1976VALIGN="TOP"
1977><TT
1978CLASS="PARAMETER"
1979><I
1980>ent</I
1981></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001982>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001983><TD
1984WIDTH="80%"
1985ALIGN="LEFT"
1986VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001987> An entity table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001988></TR
1989></TABLE
1990><P
1991></P
1992></DIV
1993></DIV
1994><HR><DIV
1995CLASS="REFSECT2"
1996><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001997NAME="AEN7805"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001998></A
1999><H3
2000><A
2001NAME="XMLCLEANUPPREDEFINEDENTITIES"
2002></A
2003>xmlCleanupPredefinedEntities ()</H3
2004><TABLE
2005BORDER="0"
2006BGCOLOR="#D6E8FF"
2007WIDTH="100%"
2008CELLPADDING="6"
2009><TR
2010><TD
2011><PRE
2012CLASS="PROGRAMLISTING"
2013>void xmlCleanupPredefinedEntities (void);</PRE
2014></TD
2015></TR
2016></TABLE
2017><P
2018>Cleanup up the predefined entities table.</P
2019><P
2020></P
2021></DIV
Daniel Veillard35925471999-02-25 08:46:07 +00002022></DIV
2023><DIV
2024CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00002025><BR
2026CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00002027WIDTH="100%"
2028BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002029BGCOLOR="#000000"
2030CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00002031CELLSPACING="0"
2032><TR
2033><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002034WIDTH="25%"
2035BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00002036ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00002037><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002038HREF="libxml-tree.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00002039><FONT
2040COLOR="#FFFFFF"
2041SIZE="3"
2042><B
2043>&#60;&#60;&#60; Previous Page</B
2044></FONT
2045></A
Daniel Veillard35925471999-02-25 08:46:07 +00002046></TD
2047><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002048WIDTH="25%"
2049BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00002050ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00002051><FONT
2052COLOR="#FFFFFF"
2053SIZE="3"
2054><B
Daniel Veillard35925471999-02-25 08:46:07 +00002055><A
2056HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00002057><FONT
2058COLOR="#FFFFFF"
2059SIZE="3"
2060><B
2061>Home</B
2062></FONT
2063></A
2064></B
2065></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00002066></TD
2067><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002068WIDTH="25%"
2069BGCOLOR="#00C000"
2070ALIGN="center"
2071><FONT
2072COLOR="#FFFFFF"
2073SIZE="3"
2074><B
2075><A
Daniel Veillard35008381999-10-25 13:15:52 +00002076HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00002077><FONT
2078COLOR="#FFFFFF"
2079SIZE="3"
2080><B
2081>Up</B
2082></FONT
2083></A
2084></B
2085></FONT
2086></TD
2087><TD
2088WIDTH="25%"
2089BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00002090ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00002091><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002092HREF="libxml-valid.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00002093><FONT
2094COLOR="#FFFFFF"
2095SIZE="3"
2096><B
2097>Next Page &#62;&#62;&#62;</B
2098></FONT
2099></A
Daniel Veillard35925471999-02-25 08:46:07 +00002100></TD
2101></TR
2102><TR
2103><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002104COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00002105ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00002106><FONT
2107COLOR="#FFFFFF"
2108SIZE="3"
2109><B
2110>tree</B
2111></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00002112></TD
2113><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00002114COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00002115ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00002116><FONT
2117COLOR="#FFFFFF"
2118SIZE="3"
2119><B
2120>valid</B
2121></FONT
2122></TD
Daniel Veillard35925471999-02-25 08:46:07 +00002123></TR
2124></TABLE
2125></DIV
2126></BODY
2127></HTML
2128>