blob: 5db029401304870402be6dbe81d844b60c71bd08 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>entities</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
8REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
12TITLE="Gnome XML Library"
13HREF="libxml.html"><LINK
14REL="PREVIOUS"
15TITLE="tree"
16HREF="gnome-xml-tree.html"><LINK
17REL="NEXT"
18TITLE="valid"
19HREF="gnome-xml-valid.html"></HEAD
20><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
23><DIV
24CLASS="NAVHEADER"
25><TABLE
26WIDTH="100%"
27BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000028BGCOLOR="#000000"
29CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000030CELLSPACING="0"
31><TR
32><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000033COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000034ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000035><FONT
36COLOR="#FFFFFF"
37SIZE="5"
38>Gnome XML Library Reference Manual</FONT
39></TH
Daniel Veillard35925471999-02-25 08:46:07 +000040></TR
41><TR
42><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000043WIDTH="25%"
44BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000045ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000046><A
47HREF="gnome-xml-tree.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000048><FONT
49COLOR="#FFFFFF"
50SIZE="3"
51><B
52>&#60;&#60;&#60; Previous Page</B
53></FONT
54></A
Daniel Veillard35925471999-02-25 08:46:07 +000055></TD
56><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000057WIDTH="25%"
58BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000059ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000060><FONT
61COLOR="#FFFFFF"
62SIZE="3"
63><B
64><A
65HREF="book1.html"
66><FONT
67COLOR="#FFFFFF"
68SIZE="3"
69><B
70>Home</B
71></FONT
72></A
73></B
74></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000075></TD
76><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000077WIDTH="25%"
78BGCOLOR="#00C000"
79ALIGN="center"
80><FONT
81COLOR="#FFFFFF"
82SIZE="3"
83><B
84><A
85HREF="libxml.html"
86><FONT
87COLOR="#FFFFFF"
88SIZE="3"
89><B
90>Up</B
91></FONT
92></A
93></B
94></FONT
95></TD
96><TD
97WIDTH="25%"
98BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000099ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +0000100><A
101HREF="gnome-xml-valid.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000102><FONT
103COLOR="#FFFFFF"
104SIZE="3"
105><B
106>Next Page &#62;&#62;&#62;</B
107></FONT
108></A
Daniel Veillard35925471999-02-25 08:46:07 +0000109></TD
110></TR
111></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000112></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000113><H1
114>entities</H1
115><DIV
116CLASS="REFNAMEDIV"
117><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000118NAME="AEN4122"
Daniel Veillard35925471999-02-25 08:46:07 +0000119></A
120><H2
121>Name</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000122>entities &#8212; </DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFSYNOPSISDIV"
125><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000126NAME="AEN4125"
Daniel Veillard35925471999-02-25 08:46:07 +0000127></A
128><H2
129>Synopsis</H2
130><TABLE
131BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000132BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000133WIDTH="100%"
134CELLPADDING="6"
135><TR
136><TD
137><PRE
138CLASS="SYNOPSIS"
139>&#13;
140
141#define <A
142HREF="gnome-xml-entities.html#XML-INTERNAL-GENERAL-ENTITY"
143>XML_INTERNAL_GENERAL_ENTITY</A
144>
145#define <A
146HREF="gnome-xml-entities.html#XML-EXTERNAL-GENERAL-PARSED-ENTITY"
147>XML_EXTERNAL_GENERAL_PARSED_ENTITY</A
148>
149#define <A
150HREF="gnome-xml-entities.html#XML-EXTERNAL-GENERAL-UNPARSED-ENTITY"
151>XML_EXTERNAL_GENERAL_UNPARSED_ENTITY</A
152>
153#define <A
154HREF="gnome-xml-entities.html#XML-INTERNAL-PARAMETER-ENTITY"
155>XML_INTERNAL_PARAMETER_ENTITY</A
156>
157#define <A
158HREF="gnome-xml-entities.html#XML-EXTERNAL-PARAMETER-ENTITY"
159>XML_EXTERNAL_PARAMETER_ENTITY</A
160>
161#define <A
162HREF="gnome-xml-entities.html#XML-INTERNAL-PREDEFINED-ENTITY"
163>XML_INTERNAL_PREDEFINED_ENTITY</A
164>
165typedef <A
166HREF="gnome-xml-entities.html#XMLENTITYPTR"
167>xmlEntityPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000168>;
Daniel Veillard35925471999-02-25 08:46:07 +0000169#define <A
170HREF="gnome-xml-entities.html#XML-MIN-ENTITIES-TABLE"
171>XML_MIN_ENTITIES_TABLE</A
172>
173typedef <A
174HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
175>xmlEntitiesTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000176>;
Daniel Veillard35925471999-02-25 08:46:07 +0000177void <A
178HREF="gnome-xml-entities.html#XMLADDDOCENTITY"
179>xmlAddDocEntity</A
180> (<A
181HREF="gnome-xml-tree.html#XMLDOCPTR"
182>xmlDocPtr</A
183> doc,
184 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000185HREF="gnome-xml-tree.html#XMLCHAR"
186>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000187> *name,
188 int type,
189 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000190HREF="gnome-xml-tree.html#XMLCHAR"
191>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000192> *ExternalID,
193 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000194HREF="gnome-xml-tree.html#XMLCHAR"
195>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000196> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000197 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000198HREF="gnome-xml-tree.html#XMLCHAR"
199>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000200> *content);
201void <A
202HREF="gnome-xml-entities.html#XMLADDDTDENTITY"
203>xmlAddDtdEntity</A
204> (<A
205HREF="gnome-xml-tree.html#XMLDOCPTR"
206>xmlDocPtr</A
207> doc,
208 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000209HREF="gnome-xml-tree.html#XMLCHAR"
210>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000211> *name,
212 int type,
213 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000214HREF="gnome-xml-tree.html#XMLCHAR"
215>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000216> *ExternalID,
217 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000218HREF="gnome-xml-tree.html#XMLCHAR"
219>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000220> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000221 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000222HREF="gnome-xml-tree.html#XMLCHAR"
223>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000224> *content);
225<A
226HREF="gnome-xml-entities.html#XMLENTITYPTR"
227>xmlEntityPtr</A
228> <A
229HREF="gnome-xml-entities.html#XMLGETPREDEFINEDENTITY"
230>xmlGetPredefinedEntity</A
231> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000232HREF="gnome-xml-tree.html#XMLCHAR"
233>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000234> *name);
235<A
236HREF="gnome-xml-entities.html#XMLENTITYPTR"
237>xmlEntityPtr</A
238> <A
239HREF="gnome-xml-entities.html#XMLGETDOCENTITY"
240>xmlGetDocEntity</A
241> (<A
242HREF="gnome-xml-tree.html#XMLDOCPTR"
243>xmlDocPtr</A
244> doc,
245 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000246HREF="gnome-xml-tree.html#XMLCHAR"
247>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000248> *name);
249<A
250HREF="gnome-xml-entities.html#XMLENTITYPTR"
251>xmlEntityPtr</A
252> <A
253HREF="gnome-xml-entities.html#XMLGETDTDENTITY"
254>xmlGetDtdEntity</A
255> (<A
256HREF="gnome-xml-tree.html#XMLDOCPTR"
257>xmlDocPtr</A
258> doc,
259 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000260HREF="gnome-xml-tree.html#XMLCHAR"
261>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000262> *name);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000263<A
264HREF="gnome-xml-entities.html#XMLENTITYPTR"
265>xmlEntityPtr</A
266> <A
267HREF="gnome-xml-entities.html#XMLGETPARAMETERENTITY"
268>xmlGetParameterEntity</A
269> (<A
270HREF="gnome-xml-tree.html#XMLDOCPTR"
271>xmlDocPtr</A
272> doc,
273 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000274HREF="gnome-xml-tree.html#XMLCHAR"
275>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000276> *name);
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000277const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000278HREF="gnome-xml-tree.html#XMLCHAR"
279>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000280>* <A
281HREF="gnome-xml-entities.html#XMLENCODEENTITIES"
282>xmlEncodeEntities</A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000283> (<A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000284HREF="gnome-xml-tree.html#XMLDOCPTR"
285>xmlDocPtr</A
286> doc,
287 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000288HREF="gnome-xml-tree.html#XMLCHAR"
289>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000290> *input);
Daniel Veillard35925471999-02-25 08:46:07 +0000291<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000292HREF="gnome-xml-tree.html#XMLCHAR"
293>xmlChar</A
294>* <A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000295HREF="gnome-xml-entities.html#XMLENCODEENTITIESREENTRANT"
296>xmlEncodeEntitiesReentrant</A
297> (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000298HREF="gnome-xml-tree.html#XMLDOCPTR"
299>xmlDocPtr</A
300> doc,
301 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000302HREF="gnome-xml-tree.html#XMLCHAR"
303>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000304> *input);
305<A
306HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
307>xmlEntitiesTablePtr</A
308> <A
309HREF="gnome-xml-entities.html#XMLCREATEENTITIESTABLE"
310>xmlCreateEntitiesTable</A
311> (void);
312<A
313HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
314>xmlEntitiesTablePtr</A
315> <A
316HREF="gnome-xml-entities.html#XMLCOPYENTITIESTABLE"
317>xmlCopyEntitiesTable</A
318> (<A
319HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
320>xmlEntitiesTablePtr</A
321> table);
322void <A
323HREF="gnome-xml-entities.html#XMLFREEENTITIESTABLE"
324>xmlFreeEntitiesTable</A
325> (<A
326HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
327>xmlEntitiesTablePtr</A
328> table);
329void <A
330HREF="gnome-xml-entities.html#XMLDUMPENTITIESTABLE"
331>xmlDumpEntitiesTable</A
332> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000333HREF="gnome-xml-tree.html#XMLBUFFERPTR"
334>xmlBufferPtr</A
335> buf,
336 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000337HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
338>xmlEntitiesTablePtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000339> table);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000340></TD
341></TR
342></TABLE
343></DIV
344><DIV
345CLASS="REFSECT1"
346><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000347NAME="AEN4182"
Daniel Veillard35925471999-02-25 08:46:07 +0000348></A
349><H2
350>Description</H2
351><P
352></P
353></DIV
354><DIV
355CLASS="REFSECT1"
356><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000357NAME="AEN4185"
Daniel Veillard35925471999-02-25 08:46:07 +0000358></A
359><H2
360>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000361><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000362CLASS="REFSECT2"
363><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000364NAME="AEN4187"
Daniel Veillard35925471999-02-25 08:46:07 +0000365></A
366><H3
367><A
368NAME="XML-INTERNAL-GENERAL-ENTITY"
369></A
370>XML_INTERNAL_GENERAL_ENTITY</H3
371><TABLE
372BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000373BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000374WIDTH="100%"
375CELLPADDING="6"
376><TR
377><TD
378><PRE
379CLASS="PROGRAMLISTING"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000380>#define XML_INTERNAL_GENERAL_ENTITY</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000381></TD
382></TR
383></TABLE
384><P
385></P
386></DIV
387><HR><DIV
388CLASS="REFSECT2"
389><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000390NAME="AEN4192"
Daniel Veillard35925471999-02-25 08:46:07 +0000391></A
392><H3
393><A
394NAME="XML-EXTERNAL-GENERAL-PARSED-ENTITY"
395></A
396>XML_EXTERNAL_GENERAL_PARSED_ENTITY</H3
397><TABLE
398BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000399BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000400WIDTH="100%"
401CELLPADDING="6"
402><TR
403><TD
404><PRE
405CLASS="PROGRAMLISTING"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000406>#define XML_EXTERNAL_GENERAL_PARSED_ENTITY</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000407></TD
408></TR
409></TABLE
410><P
411></P
412></DIV
413><HR><DIV
414CLASS="REFSECT2"
415><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000416NAME="AEN4197"
Daniel Veillard35925471999-02-25 08:46:07 +0000417></A
418><H3
419><A
420NAME="XML-EXTERNAL-GENERAL-UNPARSED-ENTITY"
421></A
422>XML_EXTERNAL_GENERAL_UNPARSED_ENTITY</H3
423><TABLE
424BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000425BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000426WIDTH="100%"
427CELLPADDING="6"
428><TR
429><TD
430><PRE
431CLASS="PROGRAMLISTING"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000432>#define XML_EXTERNAL_GENERAL_UNPARSED_ENTITY</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000433></TD
434></TR
435></TABLE
436><P
437></P
438></DIV
439><HR><DIV
440CLASS="REFSECT2"
441><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000442NAME="AEN4202"
Daniel Veillard35925471999-02-25 08:46:07 +0000443></A
444><H3
445><A
446NAME="XML-INTERNAL-PARAMETER-ENTITY"
447></A
448>XML_INTERNAL_PARAMETER_ENTITY</H3
449><TABLE
450BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000451BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000452WIDTH="100%"
453CELLPADDING="6"
454><TR
455><TD
456><PRE
457CLASS="PROGRAMLISTING"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000458>#define XML_INTERNAL_PARAMETER_ENTITY</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000459></TD
460></TR
461></TABLE
462><P
463></P
464></DIV
465><HR><DIV
466CLASS="REFSECT2"
467><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000468NAME="AEN4207"
Daniel Veillard35925471999-02-25 08:46:07 +0000469></A
470><H3
471><A
472NAME="XML-EXTERNAL-PARAMETER-ENTITY"
473></A
474>XML_EXTERNAL_PARAMETER_ENTITY</H3
475><TABLE
476BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000477BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000478WIDTH="100%"
479CELLPADDING="6"
480><TR
481><TD
482><PRE
483CLASS="PROGRAMLISTING"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000484>#define XML_EXTERNAL_PARAMETER_ENTITY</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000485></TD
486></TR
487></TABLE
488><P
489></P
490></DIV
491><HR><DIV
492CLASS="REFSECT2"
493><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000494NAME="AEN4212"
Daniel Veillard35925471999-02-25 08:46:07 +0000495></A
496><H3
497><A
498NAME="XML-INTERNAL-PREDEFINED-ENTITY"
499></A
500>XML_INTERNAL_PREDEFINED_ENTITY</H3
501><TABLE
502BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000503BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000504WIDTH="100%"
505CELLPADDING="6"
506><TR
507><TD
508><PRE
509CLASS="PROGRAMLISTING"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000510>#define XML_INTERNAL_PREDEFINED_ENTITY</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000511></TD
512></TR
513></TABLE
514><P
515></P
516></DIV
517><HR><DIV
518CLASS="REFSECT2"
519><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000520NAME="AEN4217"
Daniel Veillard35925471999-02-25 08:46:07 +0000521></A
522><H3
523><A
524NAME="XMLENTITYPTR"
525></A
526>xmlEntityPtr</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000527><P
528></P
529></DIV
530><HR><DIV
531CLASS="REFSECT2"
532><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000533NAME="AEN4221"
Daniel Veillard35925471999-02-25 08:46:07 +0000534></A
535><H3
536><A
537NAME="XML-MIN-ENTITIES-TABLE"
538></A
539>XML_MIN_ENTITIES_TABLE</H3
540><TABLE
541BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000542BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000543WIDTH="100%"
544CELLPADDING="6"
545><TR
546><TD
547><PRE
548CLASS="PROGRAMLISTING"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000549>#define XML_MIN_ENTITIES_TABLE</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000550></TD
551></TR
552></TABLE
553><P
554></P
555></DIV
556><HR><DIV
557CLASS="REFSECT2"
558><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000559NAME="AEN4226"
Daniel Veillard35925471999-02-25 08:46:07 +0000560></A
561><H3
562><A
563NAME="XMLENTITIESTABLEPTR"
564></A
565>xmlEntitiesTablePtr</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000566><P
567></P
568></DIV
569><HR><DIV
570CLASS="REFSECT2"
571><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000572NAME="AEN4230"
Daniel Veillard35925471999-02-25 08:46:07 +0000573></A
574><H3
575><A
576NAME="XMLADDDOCENTITY"
577></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000578>xmlAddDocEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000579><TABLE
580BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000581BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000582WIDTH="100%"
583CELLPADDING="6"
584><TR
585><TD
586><PRE
587CLASS="PROGRAMLISTING"
588>void xmlAddDocEntity (<A
589HREF="gnome-xml-tree.html#XMLDOCPTR"
590>xmlDocPtr</A
591> doc,
592 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000593HREF="gnome-xml-tree.html#XMLCHAR"
594>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000595> *name,
596 int type,
597 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000598HREF="gnome-xml-tree.html#XMLCHAR"
599>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000600> *ExternalID,
601 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000602HREF="gnome-xml-tree.html#XMLCHAR"
603>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000604> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000605 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000606HREF="gnome-xml-tree.html#XMLCHAR"
607>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000608> *content);</PRE
609></TD
610></TR
611></TABLE
612><P
613>Register a new entity for this document.</P
614><P
615></P
616><DIV
617CLASS="INFORMALTABLE"
618><P
619></P
620><TABLE
621BORDER="0"
622WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000623BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000624CELLSPACING="0"
625CELLPADDING="4"
626CLASS="CALSTABLE"
627><TR
628><TD
629WIDTH="20%"
630ALIGN="RIGHT"
631VALIGN="TOP"
632><TT
633CLASS="PARAMETER"
634><I
635>doc</I
636></TT
637>&nbsp;:</TD
638><TD
639WIDTH="80%"
640ALIGN="LEFT"
641VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000642>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000643></TR
644><TR
645><TD
646WIDTH="20%"
647ALIGN="RIGHT"
648VALIGN="TOP"
649><TT
650CLASS="PARAMETER"
651><I
652>name</I
653></TT
654>&nbsp;:</TD
655><TD
656WIDTH="80%"
657ALIGN="LEFT"
658VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000659>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000660></TR
661><TR
662><TD
663WIDTH="20%"
664ALIGN="RIGHT"
665VALIGN="TOP"
666><TT
667CLASS="PARAMETER"
668><I
669>type</I
670></TT
671>&nbsp;:</TD
672><TD
673WIDTH="80%"
674ALIGN="LEFT"
675VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000676>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000677></TR
678><TR
679><TD
680WIDTH="20%"
681ALIGN="RIGHT"
682VALIGN="TOP"
683><TT
684CLASS="PARAMETER"
685><I
686>ExternalID</I
687></TT
688>&nbsp;:</TD
689><TD
690WIDTH="80%"
691ALIGN="LEFT"
692VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000693>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000694></TR
695><TR
696><TD
697WIDTH="20%"
698ALIGN="RIGHT"
699VALIGN="TOP"
700><TT
701CLASS="PARAMETER"
702><I
703>SystemID</I
704></TT
705>&nbsp;:</TD
706><TD
707WIDTH="80%"
708ALIGN="LEFT"
709VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000710>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000711></TR
712><TR
713><TD
714WIDTH="20%"
715ALIGN="RIGHT"
716VALIGN="TOP"
717><TT
718CLASS="PARAMETER"
719><I
720>content</I
721></TT
722>&nbsp;:</TD
723><TD
724WIDTH="80%"
725ALIGN="LEFT"
726VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000727>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000728></TR
729></TABLE
730><P
731></P
732></DIV
733></DIV
734><HR><DIV
735CLASS="REFSECT2"
736><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000737NAME="AEN4270"
Daniel Veillard35925471999-02-25 08:46:07 +0000738></A
739><H3
740><A
741NAME="XMLADDDTDENTITY"
742></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000743>xmlAddDtdEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000744><TABLE
745BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000746BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000747WIDTH="100%"
748CELLPADDING="6"
749><TR
750><TD
751><PRE
752CLASS="PROGRAMLISTING"
753>void xmlAddDtdEntity (<A
754HREF="gnome-xml-tree.html#XMLDOCPTR"
755>xmlDocPtr</A
756> doc,
757 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000758HREF="gnome-xml-tree.html#XMLCHAR"
759>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000760> *name,
761 int type,
762 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000763HREF="gnome-xml-tree.html#XMLCHAR"
764>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000765> *ExternalID,
766 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000767HREF="gnome-xml-tree.html#XMLCHAR"
768>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000769> *SystemID,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000770 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000771HREF="gnome-xml-tree.html#XMLCHAR"
772>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000773> *content);</PRE
774></TD
775></TR
776></TABLE
777><P
778>Register a new entity for this document DTD.</P
779><P
780></P
781><DIV
782CLASS="INFORMALTABLE"
783><P
784></P
785><TABLE
786BORDER="0"
787WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000788BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000789CELLSPACING="0"
790CELLPADDING="4"
791CLASS="CALSTABLE"
792><TR
793><TD
794WIDTH="20%"
795ALIGN="RIGHT"
796VALIGN="TOP"
797><TT
798CLASS="PARAMETER"
799><I
800>doc</I
801></TT
802>&nbsp;:</TD
803><TD
804WIDTH="80%"
805ALIGN="LEFT"
806VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000807>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000808></TR
809><TR
810><TD
811WIDTH="20%"
812ALIGN="RIGHT"
813VALIGN="TOP"
814><TT
815CLASS="PARAMETER"
816><I
817>name</I
818></TT
819>&nbsp;:</TD
820><TD
821WIDTH="80%"
822ALIGN="LEFT"
823VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000824>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000825></TR
826><TR
827><TD
828WIDTH="20%"
829ALIGN="RIGHT"
830VALIGN="TOP"
831><TT
832CLASS="PARAMETER"
833><I
834>type</I
835></TT
836>&nbsp;:</TD
837><TD
838WIDTH="80%"
839ALIGN="LEFT"
840VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000841>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000842></TR
843><TR
844><TD
845WIDTH="20%"
846ALIGN="RIGHT"
847VALIGN="TOP"
848><TT
849CLASS="PARAMETER"
850><I
851>ExternalID</I
852></TT
853>&nbsp;:</TD
854><TD
855WIDTH="80%"
856ALIGN="LEFT"
857VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000858>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000859></TR
860><TR
861><TD
862WIDTH="20%"
863ALIGN="RIGHT"
864VALIGN="TOP"
865><TT
866CLASS="PARAMETER"
867><I
868>SystemID</I
869></TT
870>&nbsp;:</TD
871><TD
872WIDTH="80%"
873ALIGN="LEFT"
874VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000875>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000876></TR
877><TR
878><TD
879WIDTH="20%"
880ALIGN="RIGHT"
881VALIGN="TOP"
882><TT
883CLASS="PARAMETER"
884><I
885>content</I
886></TT
887>&nbsp;:</TD
888><TD
889WIDTH="80%"
890ALIGN="LEFT"
891VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000892>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000893></TR
894></TABLE
895><P
896></P
897></DIV
898></DIV
899><HR><DIV
900CLASS="REFSECT2"
901><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000902NAME="AEN4310"
Daniel Veillard35925471999-02-25 08:46:07 +0000903></A
904><H3
905><A
906NAME="XMLGETPREDEFINEDENTITY"
907></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000908>xmlGetPredefinedEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000909><TABLE
910BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000911BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000912WIDTH="100%"
913CELLPADDING="6"
914><TR
915><TD
916><PRE
917CLASS="PROGRAMLISTING"
918><A
919HREF="gnome-xml-entities.html#XMLENTITYPTR"
920>xmlEntityPtr</A
921> xmlGetPredefinedEntity (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000922HREF="gnome-xml-tree.html#XMLCHAR"
923>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000924> *name);</PRE
925></TD
926></TR
927></TABLE
928><P
929>Check whether this name is an predefined entity.</P
930><P
931></P
932><DIV
933CLASS="INFORMALTABLE"
934><P
935></P
936><TABLE
937BORDER="0"
938WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000939BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000940CELLSPACING="0"
941CELLPADDING="4"
942CLASS="CALSTABLE"
943><TR
944><TD
945WIDTH="20%"
946ALIGN="RIGHT"
947VALIGN="TOP"
948><TT
949CLASS="PARAMETER"
950><I
951>name</I
952></TT
953>&nbsp;:</TD
954><TD
955WIDTH="80%"
956ALIGN="LEFT"
957VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000958>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000959></TR
960><TR
961><TD
962WIDTH="20%"
963ALIGN="RIGHT"
964VALIGN="TOP"
965><I
966CLASS="EMPHASIS"
967>Returns</I
968> :</TD
969><TD
970WIDTH="80%"
971ALIGN="LEFT"
972VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000973>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000974></TR
975></TABLE
976><P
977></P
978></DIV
979></DIV
980><HR><DIV
981CLASS="REFSECT2"
982><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000983NAME="AEN4331"
Daniel Veillard35925471999-02-25 08:46:07 +0000984></A
985><H3
986><A
987NAME="XMLGETDOCENTITY"
988></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000989>xmlGetDocEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000990><TABLE
991BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000992BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000993WIDTH="100%"
994CELLPADDING="6"
995><TR
996><TD
997><PRE
998CLASS="PROGRAMLISTING"
999><A
1000HREF="gnome-xml-entities.html#XMLENTITYPTR"
1001>xmlEntityPtr</A
1002> xmlGetDocEntity (<A
1003HREF="gnome-xml-tree.html#XMLDOCPTR"
1004>xmlDocPtr</A
1005> doc,
1006 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001007HREF="gnome-xml-tree.html#XMLCHAR"
1008>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001009> *name);</PRE
1010></TD
1011></TR
1012></TABLE
1013><P
1014>Do an entity lookup in the document entity hash table and
1015returns the corrsponding entity, otherwise a lookup is done
1016in the predefined entities too.</P
1017><P
1018></P
1019><DIV
1020CLASS="INFORMALTABLE"
1021><P
1022></P
1023><TABLE
1024BORDER="0"
1025WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001026BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001027CELLSPACING="0"
1028CELLPADDING="4"
1029CLASS="CALSTABLE"
1030><TR
1031><TD
1032WIDTH="20%"
1033ALIGN="RIGHT"
1034VALIGN="TOP"
1035><TT
1036CLASS="PARAMETER"
1037><I
1038>doc</I
1039></TT
1040>&nbsp;:</TD
1041><TD
1042WIDTH="80%"
1043ALIGN="LEFT"
1044VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001045>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001046></TR
1047><TR
1048><TD
1049WIDTH="20%"
1050ALIGN="RIGHT"
1051VALIGN="TOP"
1052><TT
1053CLASS="PARAMETER"
1054><I
1055>name</I
1056></TT
1057>&nbsp;:</TD
1058><TD
1059WIDTH="80%"
1060ALIGN="LEFT"
1061VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001062>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001063></TR
1064><TR
1065><TD
1066WIDTH="20%"
1067ALIGN="RIGHT"
1068VALIGN="TOP"
1069><I
1070CLASS="EMPHASIS"
1071>Returns</I
1072> :</TD
1073><TD
1074WIDTH="80%"
1075ALIGN="LEFT"
1076VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001077>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001078></TR
1079></TABLE
1080><P
1081></P
1082></DIV
1083></DIV
1084><HR><DIV
1085CLASS="REFSECT2"
1086><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001087NAME="AEN4357"
Daniel Veillard35925471999-02-25 08:46:07 +00001088></A
1089><H3
1090><A
1091NAME="XMLGETDTDENTITY"
1092></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001093>xmlGetDtdEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001094><TABLE
1095BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001096BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001097WIDTH="100%"
1098CELLPADDING="6"
1099><TR
1100><TD
1101><PRE
1102CLASS="PROGRAMLISTING"
1103><A
1104HREF="gnome-xml-entities.html#XMLENTITYPTR"
1105>xmlEntityPtr</A
1106> xmlGetDtdEntity (<A
1107HREF="gnome-xml-tree.html#XMLDOCPTR"
1108>xmlDocPtr</A
1109> doc,
1110 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001111HREF="gnome-xml-tree.html#XMLCHAR"
1112>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001113> *name);</PRE
1114></TD
1115></TR
1116></TABLE
1117><P
1118>Do an entity lookup in the Dtd entity hash table and
1119returns the corresponding entity, if found.</P
1120><P
1121></P
1122><DIV
1123CLASS="INFORMALTABLE"
1124><P
1125></P
1126><TABLE
1127BORDER="0"
1128WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001129BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001130CELLSPACING="0"
1131CELLPADDING="4"
1132CLASS="CALSTABLE"
1133><TR
1134><TD
1135WIDTH="20%"
1136ALIGN="RIGHT"
1137VALIGN="TOP"
1138><TT
1139CLASS="PARAMETER"
1140><I
1141>doc</I
1142></TT
1143>&nbsp;:</TD
1144><TD
1145WIDTH="80%"
1146ALIGN="LEFT"
1147VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001148>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001149></TR
1150><TR
1151><TD
1152WIDTH="20%"
1153ALIGN="RIGHT"
1154VALIGN="TOP"
1155><TT
1156CLASS="PARAMETER"
1157><I
1158>name</I
1159></TT
1160>&nbsp;:</TD
1161><TD
1162WIDTH="80%"
1163ALIGN="LEFT"
1164VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001165>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001166></TR
1167><TR
1168><TD
1169WIDTH="20%"
1170ALIGN="RIGHT"
1171VALIGN="TOP"
1172><I
1173CLASS="EMPHASIS"
1174>Returns</I
1175> :</TD
1176><TD
1177WIDTH="80%"
1178ALIGN="LEFT"
1179VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001180>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001181></TR
1182></TABLE
1183><P
1184></P
1185></DIV
1186></DIV
1187><HR><DIV
1188CLASS="REFSECT2"
1189><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001190NAME="AEN4383"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001191></A
1192><H3
1193><A
1194NAME="XMLGETPARAMETERENTITY"
1195></A
1196>xmlGetParameterEntity ()</H3
1197><TABLE
1198BORDER="0"
1199BGCOLOR="#D6E8FF"
1200WIDTH="100%"
1201CELLPADDING="6"
1202><TR
1203><TD
1204><PRE
1205CLASS="PROGRAMLISTING"
1206><A
1207HREF="gnome-xml-entities.html#XMLENTITYPTR"
1208>xmlEntityPtr</A
1209> xmlGetParameterEntity (<A
1210HREF="gnome-xml-tree.html#XMLDOCPTR"
1211>xmlDocPtr</A
1212> doc,
1213 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001214HREF="gnome-xml-tree.html#XMLCHAR"
1215>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001216> *name);</PRE
1217></TD
1218></TR
1219></TABLE
1220><P
1221>Do an entity lookup in the internal and external subsets and
1222returns the corresponding parameter entity, if found.</P
1223><P
1224></P
1225><DIV
1226CLASS="INFORMALTABLE"
1227><P
1228></P
1229><TABLE
1230BORDER="0"
1231WIDTH="100%"
1232BGCOLOR="#FFD0D0"
1233CELLSPACING="0"
1234CELLPADDING="4"
1235CLASS="CALSTABLE"
1236><TR
1237><TD
1238WIDTH="20%"
1239ALIGN="RIGHT"
1240VALIGN="TOP"
1241><TT
1242CLASS="PARAMETER"
1243><I
1244>doc</I
1245></TT
1246>&nbsp;:</TD
1247><TD
1248WIDTH="80%"
1249ALIGN="LEFT"
1250VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001251>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001252></TR
1253><TR
1254><TD
1255WIDTH="20%"
1256ALIGN="RIGHT"
1257VALIGN="TOP"
1258><TT
1259CLASS="PARAMETER"
1260><I
1261>name</I
1262></TT
1263>&nbsp;:</TD
1264><TD
1265WIDTH="80%"
1266ALIGN="LEFT"
1267VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001268>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001269></TR
1270><TR
1271><TD
1272WIDTH="20%"
1273ALIGN="RIGHT"
1274VALIGN="TOP"
1275><I
1276CLASS="EMPHASIS"
1277>Returns</I
1278> :</TD
1279><TD
1280WIDTH="80%"
1281ALIGN="LEFT"
1282VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001283>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001284></TR
1285></TABLE
1286><P
1287></P
1288></DIV
1289></DIV
1290><HR><DIV
1291CLASS="REFSECT2"
1292><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001293NAME="AEN4409"
Daniel Veillard35925471999-02-25 08:46:07 +00001294></A
1295><H3
1296><A
1297NAME="XMLENCODEENTITIES"
1298></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001299>xmlEncodeEntities ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001300><TABLE
1301BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001302BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001303WIDTH="100%"
1304CELLPADDING="6"
1305><TR
1306><TD
1307><PRE
1308CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001309>const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001310HREF="gnome-xml-tree.html#XMLCHAR"
1311>xmlChar</A
1312>* xmlEncodeEntities (<A
Daniel Veillard35925471999-02-25 08:46:07 +00001313HREF="gnome-xml-tree.html#XMLDOCPTR"
1314>xmlDocPtr</A
1315> doc,
1316 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001317HREF="gnome-xml-tree.html#XMLCHAR"
1318>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001319> *input);</PRE
1320></TD
1321></TR
1322></TABLE
1323><P
1324>Do a global encoding of a string, replacing the predefined entities
1325and non ASCII values with their entities and CharRef counterparts.</P
1326><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001327>TODO: remove xmlEncodeEntities, once we are not afraid of breaking binary
1328compatibility</P
Daniel Veillard35925471999-02-25 08:46:07 +00001329><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001330>People must migrate their code to xmlEncodeEntitiesReentrant !
1331This routine will issue a warning when encountered.</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001332><P
1333></P
1334><DIV
1335CLASS="INFORMALTABLE"
1336><P
1337></P
1338><TABLE
1339BORDER="0"
1340WIDTH="100%"
1341BGCOLOR="#FFD0D0"
1342CELLSPACING="0"
1343CELLPADDING="4"
1344CLASS="CALSTABLE"
1345><TR
1346><TD
1347WIDTH="20%"
1348ALIGN="RIGHT"
1349VALIGN="TOP"
1350><TT
1351CLASS="PARAMETER"
1352><I
1353>doc</I
1354></TT
1355>&nbsp;:</TD
1356><TD
1357WIDTH="80%"
1358ALIGN="LEFT"
1359VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001360>&nbsp;</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001361></TR
1362><TR
1363><TD
1364WIDTH="20%"
1365ALIGN="RIGHT"
1366VALIGN="TOP"
1367><TT
1368CLASS="PARAMETER"
1369><I
1370>input</I
1371></TT
1372>&nbsp;:</TD
1373><TD
1374WIDTH="80%"
1375ALIGN="LEFT"
1376VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001377>&nbsp;</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001378></TR
1379><TR
1380><TD
1381WIDTH="20%"
1382ALIGN="RIGHT"
1383VALIGN="TOP"
1384><I
1385CLASS="EMPHASIS"
1386>Returns</I
1387> :</TD
1388><TD
1389WIDTH="80%"
1390ALIGN="LEFT"
1391VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001392>&nbsp;</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001393></TR
1394></TABLE
1395><P
1396></P
1397></DIV
1398></DIV
1399><HR><DIV
1400CLASS="REFSECT2"
1401><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001402NAME="AEN4437"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001403></A
1404><H3
1405><A
1406NAME="XMLENCODEENTITIESREENTRANT"
1407></A
1408>xmlEncodeEntitiesReentrant ()</H3
1409><TABLE
1410BORDER="0"
1411BGCOLOR="#D6E8FF"
1412WIDTH="100%"
1413CELLPADDING="6"
1414><TR
1415><TD
1416><PRE
1417CLASS="PROGRAMLISTING"
1418><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001419HREF="gnome-xml-tree.html#XMLCHAR"
1420>xmlChar</A
1421>* xmlEncodeEntitiesReentrant (<A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001422HREF="gnome-xml-tree.html#XMLDOCPTR"
1423>xmlDocPtr</A
1424> doc,
1425 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001426HREF="gnome-xml-tree.html#XMLCHAR"
1427>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001428> *input);</PRE
1429></TD
1430></TR
1431></TABLE
1432><P
1433>Do a global encoding of a string, replacing the predefined entities
1434and non ASCII values with their entities and CharRef counterparts.
1435Contrary to xmlEncodeEntities, this routine is reentrant, and result
1436must be deallocated.</P
1437><P
1438>TODO !!!! Once moved to UTF-8 internal encoding, the encoding of non-ascii
1439get erroneous.</P
1440><P
Daniel Veillard35925471999-02-25 08:46:07 +00001441></P
1442><DIV
1443CLASS="INFORMALTABLE"
1444><P
1445></P
1446><TABLE
1447BORDER="0"
1448WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001449BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001450CELLSPACING="0"
1451CELLPADDING="4"
1452CLASS="CALSTABLE"
1453><TR
1454><TD
1455WIDTH="20%"
1456ALIGN="RIGHT"
1457VALIGN="TOP"
1458><TT
1459CLASS="PARAMETER"
1460><I
1461>doc</I
1462></TT
1463>&nbsp;:</TD
1464><TD
1465WIDTH="80%"
1466ALIGN="LEFT"
1467VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001468>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001469></TR
1470><TR
1471><TD
1472WIDTH="20%"
1473ALIGN="RIGHT"
1474VALIGN="TOP"
1475><TT
1476CLASS="PARAMETER"
1477><I
1478>input</I
1479></TT
1480>&nbsp;:</TD
1481><TD
1482WIDTH="80%"
1483ALIGN="LEFT"
1484VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001485>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001486></TR
1487><TR
1488><TD
1489WIDTH="20%"
1490ALIGN="RIGHT"
1491VALIGN="TOP"
1492><I
1493CLASS="EMPHASIS"
1494>Returns</I
1495> :</TD
1496><TD
1497WIDTH="80%"
1498ALIGN="LEFT"
1499VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001500>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001501></TR
1502></TABLE
1503><P
1504></P
1505></DIV
1506></DIV
1507><HR><DIV
1508CLASS="REFSECT2"
1509><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001510NAME="AEN4464"
Daniel Veillard35925471999-02-25 08:46:07 +00001511></A
1512><H3
1513><A
1514NAME="XMLCREATEENTITIESTABLE"
1515></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001516>xmlCreateEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001517><TABLE
1518BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001519BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001520WIDTH="100%"
1521CELLPADDING="6"
1522><TR
1523><TD
1524><PRE
1525CLASS="PROGRAMLISTING"
1526><A
1527HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1528>xmlEntitiesTablePtr</A
1529> xmlCreateEntitiesTable (void);</PRE
1530></TD
1531></TR
1532></TABLE
1533><P
1534>create and initialize an empty entities hash table.</P
1535><P
1536></P
1537><DIV
1538CLASS="INFORMALTABLE"
1539><P
1540></P
1541><TABLE
1542BORDER="0"
1543WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001544BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001545CELLSPACING="0"
1546CELLPADDING="4"
1547CLASS="CALSTABLE"
1548><TR
1549><TD
1550WIDTH="20%"
1551ALIGN="RIGHT"
1552VALIGN="TOP"
1553><I
1554CLASS="EMPHASIS"
1555>Returns</I
1556> :</TD
1557><TD
1558WIDTH="80%"
1559ALIGN="LEFT"
1560VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001561>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001562></TR
1563></TABLE
1564><P
1565></P
1566></DIV
1567></DIV
1568><HR><DIV
1569CLASS="REFSECT2"
1570><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001571NAME="AEN4480"
Daniel Veillard35925471999-02-25 08:46:07 +00001572></A
1573><H3
1574><A
1575NAME="XMLCOPYENTITIESTABLE"
1576></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001577>xmlCopyEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001578><TABLE
1579BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001580BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001581WIDTH="100%"
1582CELLPADDING="6"
1583><TR
1584><TD
1585><PRE
1586CLASS="PROGRAMLISTING"
1587><A
1588HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1589>xmlEntitiesTablePtr</A
1590> xmlCopyEntitiesTable (<A
1591HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1592>xmlEntitiesTablePtr</A
1593> table);</PRE
1594></TD
1595></TR
1596></TABLE
1597><P
1598>Build a copy of an entity table.</P
1599><P
1600></P
1601><DIV
1602CLASS="INFORMALTABLE"
1603><P
1604></P
1605><TABLE
1606BORDER="0"
1607WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001608BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001609CELLSPACING="0"
1610CELLPADDING="4"
1611CLASS="CALSTABLE"
1612><TR
1613><TD
1614WIDTH="20%"
1615ALIGN="RIGHT"
1616VALIGN="TOP"
1617><TT
1618CLASS="PARAMETER"
1619><I
1620>table</I
1621></TT
1622>&nbsp;:</TD
1623><TD
1624WIDTH="80%"
1625ALIGN="LEFT"
1626VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001627>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001628></TR
1629><TR
1630><TD
1631WIDTH="20%"
1632ALIGN="RIGHT"
1633VALIGN="TOP"
1634><I
1635CLASS="EMPHASIS"
1636>Returns</I
1637> :</TD
1638><TD
1639WIDTH="80%"
1640ALIGN="LEFT"
1641VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001642>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001643></TR
1644></TABLE
1645><P
1646></P
1647></DIV
1648></DIV
1649><HR><DIV
1650CLASS="REFSECT2"
1651><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001652NAME="AEN4501"
Daniel Veillard35925471999-02-25 08:46:07 +00001653></A
1654><H3
1655><A
1656NAME="XMLFREEENTITIESTABLE"
1657></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001658>xmlFreeEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001659><TABLE
1660BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001661BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001662WIDTH="100%"
1663CELLPADDING="6"
1664><TR
1665><TD
1666><PRE
1667CLASS="PROGRAMLISTING"
1668>void xmlFreeEntitiesTable (<A
1669HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1670>xmlEntitiesTablePtr</A
1671> table);</PRE
1672></TD
1673></TR
1674></TABLE
1675><P
1676>Deallocate the memory used by an entities hash table.</P
1677><P
1678></P
1679><DIV
1680CLASS="INFORMALTABLE"
1681><P
1682></P
1683><TABLE
1684BORDER="0"
1685WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001686BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001687CELLSPACING="0"
1688CELLPADDING="4"
1689CLASS="CALSTABLE"
1690><TR
1691><TD
1692WIDTH="20%"
1693ALIGN="RIGHT"
1694VALIGN="TOP"
1695><TT
1696CLASS="PARAMETER"
1697><I
1698>table</I
1699></TT
1700>&nbsp;:</TD
1701><TD
1702WIDTH="80%"
1703ALIGN="LEFT"
1704VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001705>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001706></TR
1707></TABLE
1708><P
1709></P
1710></DIV
1711></DIV
1712><HR><DIV
1713CLASS="REFSECT2"
1714><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001715NAME="AEN4517"
Daniel Veillard35925471999-02-25 08:46:07 +00001716></A
1717><H3
1718><A
1719NAME="XMLDUMPENTITIESTABLE"
1720></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001721>xmlDumpEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001722><TABLE
1723BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001724BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001725WIDTH="100%"
1726CELLPADDING="6"
1727><TR
1728><TD
1729><PRE
1730CLASS="PROGRAMLISTING"
1731>void xmlDumpEntitiesTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001732HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1733>xmlBufferPtr</A
1734> buf,
1735 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001736HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1737>xmlEntitiesTablePtr</A
1738> table);</PRE
1739></TD
1740></TR
1741></TABLE
1742><P
1743>This will dump the content of the entity table as an XML DTD definition</P
1744><P
Daniel Veillard35925471999-02-25 08:46:07 +00001745></P
1746><DIV
1747CLASS="INFORMALTABLE"
1748><P
1749></P
1750><TABLE
1751BORDER="0"
1752WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001753BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001754CELLSPACING="0"
1755CELLPADDING="4"
1756CLASS="CALSTABLE"
1757><TR
1758><TD
1759WIDTH="20%"
1760ALIGN="RIGHT"
1761VALIGN="TOP"
1762><TT
1763CLASS="PARAMETER"
1764><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001765>buf</I
1766></TT
1767>&nbsp;:</TD
1768><TD
1769WIDTH="80%"
1770ALIGN="LEFT"
1771VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001772>&nbsp;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001773></TR
1774><TR
1775><TD
1776WIDTH="20%"
1777ALIGN="RIGHT"
1778VALIGN="TOP"
1779><TT
1780CLASS="PARAMETER"
1781><I
Daniel Veillard35925471999-02-25 08:46:07 +00001782>table</I
1783></TT
1784>&nbsp;:</TD
1785><TD
1786WIDTH="80%"
1787ALIGN="LEFT"
1788VALIGN="TOP"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001789>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001790></TR
1791></TABLE
1792><P
1793></P
1794></DIV
1795></DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001796></DIV
1797><DIV
1798CLASS="NAVFOOTER"
Daniel Veillard14fff061999-06-22 21:49:07 +00001799><BR><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001800WIDTH="100%"
1801BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001802BGCOLOR="#000000"
1803CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00001804CELLSPACING="0"
1805><TR
1806><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001807WIDTH="25%"
1808BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00001809ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00001810><A
1811HREF="gnome-xml-tree.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00001812><FONT
1813COLOR="#FFFFFF"
1814SIZE="3"
1815><B
1816>&#60;&#60;&#60; Previous Page</B
1817></FONT
1818></A
Daniel Veillard35925471999-02-25 08:46:07 +00001819></TD
1820><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001821WIDTH="25%"
1822BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00001823ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00001824><FONT
1825COLOR="#FFFFFF"
1826SIZE="3"
1827><B
Daniel Veillard35925471999-02-25 08:46:07 +00001828><A
1829HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00001830><FONT
1831COLOR="#FFFFFF"
1832SIZE="3"
1833><B
1834>Home</B
1835></FONT
1836></A
1837></B
1838></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00001839></TD
1840><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001841WIDTH="25%"
1842BGCOLOR="#00C000"
1843ALIGN="center"
1844><FONT
1845COLOR="#FFFFFF"
1846SIZE="3"
1847><B
1848><A
1849HREF="libxml.html"
1850><FONT
1851COLOR="#FFFFFF"
1852SIZE="3"
1853><B
1854>Up</B
1855></FONT
1856></A
1857></B
1858></FONT
1859></TD
1860><TD
1861WIDTH="25%"
1862BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00001863ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00001864><A
1865HREF="gnome-xml-valid.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00001866><FONT
1867COLOR="#FFFFFF"
1868SIZE="3"
1869><B
1870>Next Page &#62;&#62;&#62;</B
1871></FONT
1872></A
Daniel Veillard35925471999-02-25 08:46:07 +00001873></TD
1874></TR
1875><TR
1876><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001877COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00001878ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00001879><FONT
1880COLOR="#FFFFFF"
1881SIZE="3"
1882><B
1883>tree</B
1884></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00001885></TD
1886><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001887COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00001888ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00001889><FONT
1890COLOR="#FFFFFF"
1891SIZE="3"
1892><B
1893>valid</B
1894></FONT
1895></TD
Daniel Veillard35925471999-02-25 08:46:07 +00001896></TR
1897></TABLE
1898></DIV
1899></BODY
1900></HTML
1901>