blob: 98d315648cea2dd190bdc9bb0b3f5b8802015159 [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 Veillard1566d3a1999-07-15 14:24:29 +0000118NAME="AEN3575"
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 Veillard1566d3a1999-07-15 14:24:29 +0000126NAME="AEN3578"
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
185HREF="gnome-xml-tree.html#CHAR"
186>CHAR</A
187> *name,
188 int type,
189 const <A
190HREF="gnome-xml-tree.html#CHAR"
191>CHAR</A
192> *ExternalID,
193 const <A
194HREF="gnome-xml-tree.html#CHAR"
195>CHAR</A
196> *SystemID,
197 <A
198HREF="gnome-xml-tree.html#CHAR"
199>CHAR</A
200> *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
209HREF="gnome-xml-tree.html#CHAR"
210>CHAR</A
211> *name,
212 int type,
213 const <A
214HREF="gnome-xml-tree.html#CHAR"
215>CHAR</A
216> *ExternalID,
217 const <A
218HREF="gnome-xml-tree.html#CHAR"
219>CHAR</A
220> *SystemID,
221 <A
222HREF="gnome-xml-tree.html#CHAR"
223>CHAR</A
224> *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
232HREF="gnome-xml-tree.html#CHAR"
233>CHAR</A
234> *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
246HREF="gnome-xml-tree.html#CHAR"
247>CHAR</A
248> *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
260HREF="gnome-xml-tree.html#CHAR"
261>CHAR</A
262> *name);
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000263const <A
264HREF="gnome-xml-tree.html#CHAR"
265>CHAR</A
266>* <A
267HREF="gnome-xml-entities.html#XMLENCODEENTITIES"
268>xmlEncodeEntities</A
269> (<A
270HREF="gnome-xml-tree.html#XMLDOCPTR"
271>xmlDocPtr</A
272> doc,
273 const <A
274HREF="gnome-xml-tree.html#CHAR"
275>CHAR</A
276> *input);
Daniel Veillard35925471999-02-25 08:46:07 +0000277<A
278HREF="gnome-xml-tree.html#CHAR"
279>CHAR</A
280>* <A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000281HREF="gnome-xml-entities.html#XMLENCODEENTITIESREENTRANT"
282>xmlEncodeEntitiesReentrant</A
283> (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000284HREF="gnome-xml-tree.html#XMLDOCPTR"
285>xmlDocPtr</A
286> doc,
287 const <A
288HREF="gnome-xml-tree.html#CHAR"
289>CHAR</A
290> *input);
291<A
292HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
293>xmlEntitiesTablePtr</A
294> <A
295HREF="gnome-xml-entities.html#XMLCREATEENTITIESTABLE"
296>xmlCreateEntitiesTable</A
297> (void);
298<A
299HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
300>xmlEntitiesTablePtr</A
301> <A
302HREF="gnome-xml-entities.html#XMLCOPYENTITIESTABLE"
303>xmlCopyEntitiesTable</A
304> (<A
305HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
306>xmlEntitiesTablePtr</A
307> table);
308void <A
309HREF="gnome-xml-entities.html#XMLFREEENTITIESTABLE"
310>xmlFreeEntitiesTable</A
311> (<A
312HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
313>xmlEntitiesTablePtr</A
314> table);
315void <A
316HREF="gnome-xml-entities.html#XMLDUMPENTITIESTABLE"
317>xmlDumpEntitiesTable</A
318> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000319HREF="gnome-xml-tree.html#XMLBUFFERPTR"
320>xmlBufferPtr</A
321> buf,
322 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000323HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
324>xmlEntitiesTablePtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000325> table);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000326></TD
327></TR
328></TABLE
329></DIV
330><DIV
331CLASS="REFSECT1"
332><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000333NAME="AEN3631"
Daniel Veillard35925471999-02-25 08:46:07 +0000334></A
335><H2
336>Description</H2
337><P
338></P
339></DIV
340><DIV
341CLASS="REFSECT1"
342><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000343NAME="AEN3634"
Daniel Veillard35925471999-02-25 08:46:07 +0000344></A
345><H2
346>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000347><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000348CLASS="REFSECT2"
349><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000350NAME="AEN3636"
Daniel Veillard35925471999-02-25 08:46:07 +0000351></A
352><H3
353><A
354NAME="XML-INTERNAL-GENERAL-ENTITY"
355></A
356>XML_INTERNAL_GENERAL_ENTITY</H3
357><TABLE
358BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000359BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000360WIDTH="100%"
361CELLPADDING="6"
362><TR
363><TD
364><PRE
365CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000366>#define XML_INTERNAL_GENERAL_ENTITY</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000367></TD
368></TR
369></TABLE
370><P
371></P
372></DIV
373><HR><DIV
374CLASS="REFSECT2"
375><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000376NAME="AEN3641"
Daniel Veillard35925471999-02-25 08:46:07 +0000377></A
378><H3
379><A
380NAME="XML-EXTERNAL-GENERAL-PARSED-ENTITY"
381></A
382>XML_EXTERNAL_GENERAL_PARSED_ENTITY</H3
383><TABLE
384BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000385BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000386WIDTH="100%"
387CELLPADDING="6"
388><TR
389><TD
390><PRE
391CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000392>#define XML_EXTERNAL_GENERAL_PARSED_ENTITY</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000393></TD
394></TR
395></TABLE
396><P
397></P
398></DIV
399><HR><DIV
400CLASS="REFSECT2"
401><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000402NAME="AEN3646"
Daniel Veillard35925471999-02-25 08:46:07 +0000403></A
404><H3
405><A
406NAME="XML-EXTERNAL-GENERAL-UNPARSED-ENTITY"
407></A
408>XML_EXTERNAL_GENERAL_UNPARSED_ENTITY</H3
409><TABLE
410BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000411BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000412WIDTH="100%"
413CELLPADDING="6"
414><TR
415><TD
416><PRE
417CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000418>#define XML_EXTERNAL_GENERAL_UNPARSED_ENTITY</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000419></TD
420></TR
421></TABLE
422><P
423></P
424></DIV
425><HR><DIV
426CLASS="REFSECT2"
427><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000428NAME="AEN3651"
Daniel Veillard35925471999-02-25 08:46:07 +0000429></A
430><H3
431><A
432NAME="XML-INTERNAL-PARAMETER-ENTITY"
433></A
434>XML_INTERNAL_PARAMETER_ENTITY</H3
435><TABLE
436BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000437BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000438WIDTH="100%"
439CELLPADDING="6"
440><TR
441><TD
442><PRE
443CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000444>#define XML_INTERNAL_PARAMETER_ENTITY</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000445></TD
446></TR
447></TABLE
448><P
449></P
450></DIV
451><HR><DIV
452CLASS="REFSECT2"
453><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000454NAME="AEN3656"
Daniel Veillard35925471999-02-25 08:46:07 +0000455></A
456><H3
457><A
458NAME="XML-EXTERNAL-PARAMETER-ENTITY"
459></A
460>XML_EXTERNAL_PARAMETER_ENTITY</H3
461><TABLE
462BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000463BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000464WIDTH="100%"
465CELLPADDING="6"
466><TR
467><TD
468><PRE
469CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000470>#define XML_EXTERNAL_PARAMETER_ENTITY</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000471></TD
472></TR
473></TABLE
474><P
475></P
476></DIV
477><HR><DIV
478CLASS="REFSECT2"
479><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000480NAME="AEN3661"
Daniel Veillard35925471999-02-25 08:46:07 +0000481></A
482><H3
483><A
484NAME="XML-INTERNAL-PREDEFINED-ENTITY"
485></A
486>XML_INTERNAL_PREDEFINED_ENTITY</H3
487><TABLE
488BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000489BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000490WIDTH="100%"
491CELLPADDING="6"
492><TR
493><TD
494><PRE
495CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000496>#define XML_INTERNAL_PREDEFINED_ENTITY</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000497></TD
498></TR
499></TABLE
500><P
501></P
502></DIV
503><HR><DIV
504CLASS="REFSECT2"
505><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000506NAME="AEN3666"
Daniel Veillard35925471999-02-25 08:46:07 +0000507></A
508><H3
509><A
510NAME="XMLENTITYPTR"
511></A
512>xmlEntityPtr</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000513><P
514></P
515></DIV
516><HR><DIV
517CLASS="REFSECT2"
518><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000519NAME="AEN3670"
Daniel Veillard35925471999-02-25 08:46:07 +0000520></A
521><H3
522><A
523NAME="XML-MIN-ENTITIES-TABLE"
524></A
525>XML_MIN_ENTITIES_TABLE</H3
526><TABLE
527BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000528BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000529WIDTH="100%"
530CELLPADDING="6"
531><TR
532><TD
533><PRE
534CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000535>#define XML_MIN_ENTITIES_TABLE</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000536></TD
537></TR
538></TABLE
539><P
540></P
541></DIV
542><HR><DIV
543CLASS="REFSECT2"
544><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000545NAME="AEN3675"
Daniel Veillard35925471999-02-25 08:46:07 +0000546></A
547><H3
548><A
549NAME="XMLENTITIESTABLEPTR"
550></A
551>xmlEntitiesTablePtr</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000552><P
553></P
554></DIV
555><HR><DIV
556CLASS="REFSECT2"
557><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000558NAME="AEN3679"
Daniel Veillard35925471999-02-25 08:46:07 +0000559></A
560><H3
561><A
562NAME="XMLADDDOCENTITY"
563></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000564>xmlAddDocEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000565><TABLE
566BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000567BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000568WIDTH="100%"
569CELLPADDING="6"
570><TR
571><TD
572><PRE
573CLASS="PROGRAMLISTING"
574>void xmlAddDocEntity (<A
575HREF="gnome-xml-tree.html#XMLDOCPTR"
576>xmlDocPtr</A
577> doc,
578 const <A
579HREF="gnome-xml-tree.html#CHAR"
580>CHAR</A
581> *name,
582 int type,
583 const <A
584HREF="gnome-xml-tree.html#CHAR"
585>CHAR</A
586> *ExternalID,
587 const <A
588HREF="gnome-xml-tree.html#CHAR"
589>CHAR</A
590> *SystemID,
591 <A
592HREF="gnome-xml-tree.html#CHAR"
593>CHAR</A
594> *content);</PRE
595></TD
596></TR
597></TABLE
598><P
599>Register a new entity for this document.</P
600><P
601></P
602><DIV
603CLASS="INFORMALTABLE"
604><P
605></P
606><TABLE
607BORDER="0"
608WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000609BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000610CELLSPACING="0"
611CELLPADDING="4"
612CLASS="CALSTABLE"
613><TR
614><TD
615WIDTH="20%"
616ALIGN="RIGHT"
617VALIGN="TOP"
618><TT
619CLASS="PARAMETER"
620><I
621>doc</I
622></TT
623>&nbsp;:</TD
624><TD
625WIDTH="80%"
626ALIGN="LEFT"
627VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000628>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000629></TR
630><TR
631><TD
632WIDTH="20%"
633ALIGN="RIGHT"
634VALIGN="TOP"
635><TT
636CLASS="PARAMETER"
637><I
638>name</I
639></TT
640>&nbsp;:</TD
641><TD
642WIDTH="80%"
643ALIGN="LEFT"
644VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000645>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000646></TR
647><TR
648><TD
649WIDTH="20%"
650ALIGN="RIGHT"
651VALIGN="TOP"
652><TT
653CLASS="PARAMETER"
654><I
655>type</I
656></TT
657>&nbsp;:</TD
658><TD
659WIDTH="80%"
660ALIGN="LEFT"
661VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000662>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000663></TR
664><TR
665><TD
666WIDTH="20%"
667ALIGN="RIGHT"
668VALIGN="TOP"
669><TT
670CLASS="PARAMETER"
671><I
672>ExternalID</I
673></TT
674>&nbsp;:</TD
675><TD
676WIDTH="80%"
677ALIGN="LEFT"
678VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000679>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000680></TR
681><TR
682><TD
683WIDTH="20%"
684ALIGN="RIGHT"
685VALIGN="TOP"
686><TT
687CLASS="PARAMETER"
688><I
689>SystemID</I
690></TT
691>&nbsp;:</TD
692><TD
693WIDTH="80%"
694ALIGN="LEFT"
695VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000696>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000697></TR
698><TR
699><TD
700WIDTH="20%"
701ALIGN="RIGHT"
702VALIGN="TOP"
703><TT
704CLASS="PARAMETER"
705><I
706>content</I
707></TT
708>&nbsp;:</TD
709><TD
710WIDTH="80%"
711ALIGN="LEFT"
712VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000713>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000714></TR
715></TABLE
716><P
717></P
718></DIV
719></DIV
720><HR><DIV
721CLASS="REFSECT2"
722><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000723NAME="AEN3719"
Daniel Veillard35925471999-02-25 08:46:07 +0000724></A
725><H3
726><A
727NAME="XMLADDDTDENTITY"
728></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000729>xmlAddDtdEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000730><TABLE
731BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000732BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000733WIDTH="100%"
734CELLPADDING="6"
735><TR
736><TD
737><PRE
738CLASS="PROGRAMLISTING"
739>void xmlAddDtdEntity (<A
740HREF="gnome-xml-tree.html#XMLDOCPTR"
741>xmlDocPtr</A
742> doc,
743 const <A
744HREF="gnome-xml-tree.html#CHAR"
745>CHAR</A
746> *name,
747 int type,
748 const <A
749HREF="gnome-xml-tree.html#CHAR"
750>CHAR</A
751> *ExternalID,
752 const <A
753HREF="gnome-xml-tree.html#CHAR"
754>CHAR</A
755> *SystemID,
756 <A
757HREF="gnome-xml-tree.html#CHAR"
758>CHAR</A
759> *content);</PRE
760></TD
761></TR
762></TABLE
763><P
764>Register a new entity for this document DTD.</P
765><P
766></P
767><DIV
768CLASS="INFORMALTABLE"
769><P
770></P
771><TABLE
772BORDER="0"
773WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000774BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000775CELLSPACING="0"
776CELLPADDING="4"
777CLASS="CALSTABLE"
778><TR
779><TD
780WIDTH="20%"
781ALIGN="RIGHT"
782VALIGN="TOP"
783><TT
784CLASS="PARAMETER"
785><I
786>doc</I
787></TT
788>&nbsp;:</TD
789><TD
790WIDTH="80%"
791ALIGN="LEFT"
792VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000793>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000794></TR
795><TR
796><TD
797WIDTH="20%"
798ALIGN="RIGHT"
799VALIGN="TOP"
800><TT
801CLASS="PARAMETER"
802><I
803>name</I
804></TT
805>&nbsp;:</TD
806><TD
807WIDTH="80%"
808ALIGN="LEFT"
809VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000810>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000811></TR
812><TR
813><TD
814WIDTH="20%"
815ALIGN="RIGHT"
816VALIGN="TOP"
817><TT
818CLASS="PARAMETER"
819><I
820>type</I
821></TT
822>&nbsp;:</TD
823><TD
824WIDTH="80%"
825ALIGN="LEFT"
826VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000827>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000828></TR
829><TR
830><TD
831WIDTH="20%"
832ALIGN="RIGHT"
833VALIGN="TOP"
834><TT
835CLASS="PARAMETER"
836><I
837>ExternalID</I
838></TT
839>&nbsp;:</TD
840><TD
841WIDTH="80%"
842ALIGN="LEFT"
843VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000844>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000845></TR
846><TR
847><TD
848WIDTH="20%"
849ALIGN="RIGHT"
850VALIGN="TOP"
851><TT
852CLASS="PARAMETER"
853><I
854>SystemID</I
855></TT
856>&nbsp;:</TD
857><TD
858WIDTH="80%"
859ALIGN="LEFT"
860VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000861>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000862></TR
863><TR
864><TD
865WIDTH="20%"
866ALIGN="RIGHT"
867VALIGN="TOP"
868><TT
869CLASS="PARAMETER"
870><I
871>content</I
872></TT
873>&nbsp;:</TD
874><TD
875WIDTH="80%"
876ALIGN="LEFT"
877VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000878>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000879></TR
880></TABLE
881><P
882></P
883></DIV
884></DIV
885><HR><DIV
886CLASS="REFSECT2"
887><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000888NAME="AEN3759"
Daniel Veillard35925471999-02-25 08:46:07 +0000889></A
890><H3
891><A
892NAME="XMLGETPREDEFINEDENTITY"
893></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000894>xmlGetPredefinedEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000895><TABLE
896BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000897BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000898WIDTH="100%"
899CELLPADDING="6"
900><TR
901><TD
902><PRE
903CLASS="PROGRAMLISTING"
904><A
905HREF="gnome-xml-entities.html#XMLENTITYPTR"
906>xmlEntityPtr</A
907> xmlGetPredefinedEntity (const <A
908HREF="gnome-xml-tree.html#CHAR"
909>CHAR</A
910> *name);</PRE
911></TD
912></TR
913></TABLE
914><P
915>Check whether this name is an predefined entity.</P
916><P
917></P
918><DIV
919CLASS="INFORMALTABLE"
920><P
921></P
922><TABLE
923BORDER="0"
924WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000925BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000926CELLSPACING="0"
927CELLPADDING="4"
928CLASS="CALSTABLE"
929><TR
930><TD
931WIDTH="20%"
932ALIGN="RIGHT"
933VALIGN="TOP"
934><TT
935CLASS="PARAMETER"
936><I
937>name</I
938></TT
939>&nbsp;:</TD
940><TD
941WIDTH="80%"
942ALIGN="LEFT"
943VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000944>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000945></TR
946><TR
947><TD
948WIDTH="20%"
949ALIGN="RIGHT"
950VALIGN="TOP"
951><I
952CLASS="EMPHASIS"
953>Returns</I
954> :</TD
955><TD
956WIDTH="80%"
957ALIGN="LEFT"
958VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000959>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000960></TR
961></TABLE
962><P
963></P
964></DIV
965></DIV
966><HR><DIV
967CLASS="REFSECT2"
968><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000969NAME="AEN3780"
Daniel Veillard35925471999-02-25 08:46:07 +0000970></A
971><H3
972><A
973NAME="XMLGETDOCENTITY"
974></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000975>xmlGetDocEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000976><TABLE
977BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000978BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000979WIDTH="100%"
980CELLPADDING="6"
981><TR
982><TD
983><PRE
984CLASS="PROGRAMLISTING"
985><A
986HREF="gnome-xml-entities.html#XMLENTITYPTR"
987>xmlEntityPtr</A
988> xmlGetDocEntity (<A
989HREF="gnome-xml-tree.html#XMLDOCPTR"
990>xmlDocPtr</A
991> doc,
992 const <A
993HREF="gnome-xml-tree.html#CHAR"
994>CHAR</A
995> *name);</PRE
996></TD
997></TR
998></TABLE
999><P
1000>Do an entity lookup in the document entity hash table and
1001returns the corrsponding entity, otherwise a lookup is done
1002in the predefined entities too.</P
1003><P
1004></P
1005><DIV
1006CLASS="INFORMALTABLE"
1007><P
1008></P
1009><TABLE
1010BORDER="0"
1011WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001012BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001013CELLSPACING="0"
1014CELLPADDING="4"
1015CLASS="CALSTABLE"
1016><TR
1017><TD
1018WIDTH="20%"
1019ALIGN="RIGHT"
1020VALIGN="TOP"
1021><TT
1022CLASS="PARAMETER"
1023><I
1024>doc</I
1025></TT
1026>&nbsp;:</TD
1027><TD
1028WIDTH="80%"
1029ALIGN="LEFT"
1030VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001031>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001032></TR
1033><TR
1034><TD
1035WIDTH="20%"
1036ALIGN="RIGHT"
1037VALIGN="TOP"
1038><TT
1039CLASS="PARAMETER"
1040><I
1041>name</I
1042></TT
1043>&nbsp;:</TD
1044><TD
1045WIDTH="80%"
1046ALIGN="LEFT"
1047VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001048>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001049></TR
1050><TR
1051><TD
1052WIDTH="20%"
1053ALIGN="RIGHT"
1054VALIGN="TOP"
1055><I
1056CLASS="EMPHASIS"
1057>Returns</I
1058> :</TD
1059><TD
1060WIDTH="80%"
1061ALIGN="LEFT"
1062VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001063>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001064></TR
1065></TABLE
1066><P
1067></P
1068></DIV
1069></DIV
1070><HR><DIV
1071CLASS="REFSECT2"
1072><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001073NAME="AEN3806"
Daniel Veillard35925471999-02-25 08:46:07 +00001074></A
1075><H3
1076><A
1077NAME="XMLGETDTDENTITY"
1078></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001079>xmlGetDtdEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001080><TABLE
1081BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001082BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001083WIDTH="100%"
1084CELLPADDING="6"
1085><TR
1086><TD
1087><PRE
1088CLASS="PROGRAMLISTING"
1089><A
1090HREF="gnome-xml-entities.html#XMLENTITYPTR"
1091>xmlEntityPtr</A
1092> xmlGetDtdEntity (<A
1093HREF="gnome-xml-tree.html#XMLDOCPTR"
1094>xmlDocPtr</A
1095> doc,
1096 const <A
1097HREF="gnome-xml-tree.html#CHAR"
1098>CHAR</A
1099> *name);</PRE
1100></TD
1101></TR
1102></TABLE
1103><P
1104>Do an entity lookup in the Dtd entity hash table and
1105returns the corresponding entity, if found.</P
1106><P
1107></P
1108><DIV
1109CLASS="INFORMALTABLE"
1110><P
1111></P
1112><TABLE
1113BORDER="0"
1114WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001115BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001116CELLSPACING="0"
1117CELLPADDING="4"
1118CLASS="CALSTABLE"
1119><TR
1120><TD
1121WIDTH="20%"
1122ALIGN="RIGHT"
1123VALIGN="TOP"
1124><TT
1125CLASS="PARAMETER"
1126><I
1127>doc</I
1128></TT
1129>&nbsp;:</TD
1130><TD
1131WIDTH="80%"
1132ALIGN="LEFT"
1133VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001134>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001135></TR
1136><TR
1137><TD
1138WIDTH="20%"
1139ALIGN="RIGHT"
1140VALIGN="TOP"
1141><TT
1142CLASS="PARAMETER"
1143><I
1144>name</I
1145></TT
1146>&nbsp;:</TD
1147><TD
1148WIDTH="80%"
1149ALIGN="LEFT"
1150VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001151>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001152></TR
1153><TR
1154><TD
1155WIDTH="20%"
1156ALIGN="RIGHT"
1157VALIGN="TOP"
1158><I
1159CLASS="EMPHASIS"
1160>Returns</I
1161> :</TD
1162><TD
1163WIDTH="80%"
1164ALIGN="LEFT"
1165VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001166>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001167></TR
1168></TABLE
1169><P
1170></P
1171></DIV
1172></DIV
1173><HR><DIV
1174CLASS="REFSECT2"
1175><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001176NAME="AEN3832"
Daniel Veillard35925471999-02-25 08:46:07 +00001177></A
1178><H3
1179><A
1180NAME="XMLENCODEENTITIES"
1181></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001182>xmlEncodeEntities ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001183><TABLE
1184BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001185BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001186WIDTH="100%"
1187CELLPADDING="6"
1188><TR
1189><TD
1190><PRE
1191CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001192>const <A
Daniel Veillard35925471999-02-25 08:46:07 +00001193HREF="gnome-xml-tree.html#CHAR"
1194>CHAR</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001195>* xmlEncodeEntities (<A
Daniel Veillard35925471999-02-25 08:46:07 +00001196HREF="gnome-xml-tree.html#XMLDOCPTR"
1197>xmlDocPtr</A
1198> doc,
1199 const <A
1200HREF="gnome-xml-tree.html#CHAR"
1201>CHAR</A
1202> *input);</PRE
1203></TD
1204></TR
1205></TABLE
1206><P
1207>Do a global encoding of a string, replacing the predefined entities
1208and non ASCII values with their entities and CharRef counterparts.</P
1209><P
1210>TODO !!!! Once moved to UTF-8 internal encoding, the encoding of non-ascii
1211get erroneous.</P
1212><P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001213>TODO This routine is not reentrant, the interface
1214should not be modified though.</P
1215><P
1216>People must migrate their code to xmlEncodeEntitiesReentrant !</P
1217><P
1218></P
1219><DIV
1220CLASS="INFORMALTABLE"
1221><P
1222></P
1223><TABLE
1224BORDER="0"
1225WIDTH="100%"
1226BGCOLOR="#FFD0D0"
1227CELLSPACING="0"
1228CELLPADDING="4"
1229CLASS="CALSTABLE"
1230><TR
1231><TD
1232WIDTH="20%"
1233ALIGN="RIGHT"
1234VALIGN="TOP"
1235><TT
1236CLASS="PARAMETER"
1237><I
1238>doc</I
1239></TT
1240>&nbsp;:</TD
1241><TD
1242WIDTH="80%"
1243ALIGN="LEFT"
1244VALIGN="TOP"
1245>&nbsp;</TD
1246></TR
1247><TR
1248><TD
1249WIDTH="20%"
1250ALIGN="RIGHT"
1251VALIGN="TOP"
1252><TT
1253CLASS="PARAMETER"
1254><I
1255>input</I
1256></TT
1257>&nbsp;:</TD
1258><TD
1259WIDTH="80%"
1260ALIGN="LEFT"
1261VALIGN="TOP"
1262>&nbsp;</TD
1263></TR
1264><TR
1265><TD
1266WIDTH="20%"
1267ALIGN="RIGHT"
1268VALIGN="TOP"
1269><I
1270CLASS="EMPHASIS"
1271>Returns</I
1272> :</TD
1273><TD
1274WIDTH="80%"
1275ALIGN="LEFT"
1276VALIGN="TOP"
1277>&nbsp;</TD
1278></TR
1279></TABLE
1280><P
1281></P
1282></DIV
1283></DIV
1284><HR><DIV
1285CLASS="REFSECT2"
1286><A
1287NAME="AEN3861"
1288></A
1289><H3
1290><A
1291NAME="XMLENCODEENTITIESREENTRANT"
1292></A
1293>xmlEncodeEntitiesReentrant ()</H3
1294><TABLE
1295BORDER="0"
1296BGCOLOR="#D6E8FF"
1297WIDTH="100%"
1298CELLPADDING="6"
1299><TR
1300><TD
1301><PRE
1302CLASS="PROGRAMLISTING"
1303><A
1304HREF="gnome-xml-tree.html#CHAR"
1305>CHAR</A
1306>* xmlEncodeEntitiesReentrant (<A
1307HREF="gnome-xml-tree.html#XMLDOCPTR"
1308>xmlDocPtr</A
1309> doc,
1310 const <A
1311HREF="gnome-xml-tree.html#CHAR"
1312>CHAR</A
1313> *input);</PRE
1314></TD
1315></TR
1316></TABLE
1317><P
1318>Do a global encoding of a string, replacing the predefined entities
1319and non ASCII values with their entities and CharRef counterparts.
1320Contrary to xmlEncodeEntities, this routine is reentrant, and result
1321must be deallocated.</P
1322><P
1323>TODO !!!! Once moved to UTF-8 internal encoding, the encoding of non-ascii
1324get erroneous.</P
1325><P
Daniel Veillard35925471999-02-25 08:46:07 +00001326></P
1327><DIV
1328CLASS="INFORMALTABLE"
1329><P
1330></P
1331><TABLE
1332BORDER="0"
1333WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001334BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001335CELLSPACING="0"
1336CELLPADDING="4"
1337CLASS="CALSTABLE"
1338><TR
1339><TD
1340WIDTH="20%"
1341ALIGN="RIGHT"
1342VALIGN="TOP"
1343><TT
1344CLASS="PARAMETER"
1345><I
1346>doc</I
1347></TT
1348>&nbsp;:</TD
1349><TD
1350WIDTH="80%"
1351ALIGN="LEFT"
1352VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001353>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001354></TR
1355><TR
1356><TD
1357WIDTH="20%"
1358ALIGN="RIGHT"
1359VALIGN="TOP"
1360><TT
1361CLASS="PARAMETER"
1362><I
1363>input</I
1364></TT
1365>&nbsp;:</TD
1366><TD
1367WIDTH="80%"
1368ALIGN="LEFT"
1369VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001370>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001371></TR
1372><TR
1373><TD
1374WIDTH="20%"
1375ALIGN="RIGHT"
1376VALIGN="TOP"
1377><I
1378CLASS="EMPHASIS"
1379>Returns</I
1380> :</TD
1381><TD
1382WIDTH="80%"
1383ALIGN="LEFT"
1384VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001385>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001386></TR
1387></TABLE
1388><P
1389></P
1390></DIV
1391></DIV
1392><HR><DIV
1393CLASS="REFSECT2"
1394><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001395NAME="AEN3888"
Daniel Veillard35925471999-02-25 08:46:07 +00001396></A
1397><H3
1398><A
1399NAME="XMLCREATEENTITIESTABLE"
1400></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001401>xmlCreateEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001402><TABLE
1403BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001404BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001405WIDTH="100%"
1406CELLPADDING="6"
1407><TR
1408><TD
1409><PRE
1410CLASS="PROGRAMLISTING"
1411><A
1412HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1413>xmlEntitiesTablePtr</A
1414> xmlCreateEntitiesTable (void);</PRE
1415></TD
1416></TR
1417></TABLE
1418><P
1419>create and initialize an empty entities hash table.</P
1420><P
1421></P
1422><DIV
1423CLASS="INFORMALTABLE"
1424><P
1425></P
1426><TABLE
1427BORDER="0"
1428WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001429BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001430CELLSPACING="0"
1431CELLPADDING="4"
1432CLASS="CALSTABLE"
1433><TR
1434><TD
1435WIDTH="20%"
1436ALIGN="RIGHT"
1437VALIGN="TOP"
1438><I
1439CLASS="EMPHASIS"
1440>Returns</I
1441> :</TD
1442><TD
1443WIDTH="80%"
1444ALIGN="LEFT"
1445VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001446>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001447></TR
1448></TABLE
1449><P
1450></P
1451></DIV
1452></DIV
1453><HR><DIV
1454CLASS="REFSECT2"
1455><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001456NAME="AEN3904"
Daniel Veillard35925471999-02-25 08:46:07 +00001457></A
1458><H3
1459><A
1460NAME="XMLCOPYENTITIESTABLE"
1461></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001462>xmlCopyEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001463><TABLE
1464BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001465BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001466WIDTH="100%"
1467CELLPADDING="6"
1468><TR
1469><TD
1470><PRE
1471CLASS="PROGRAMLISTING"
1472><A
1473HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1474>xmlEntitiesTablePtr</A
1475> xmlCopyEntitiesTable (<A
1476HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1477>xmlEntitiesTablePtr</A
1478> table);</PRE
1479></TD
1480></TR
1481></TABLE
1482><P
1483>Build a copy of an entity table.</P
1484><P
1485></P
1486><DIV
1487CLASS="INFORMALTABLE"
1488><P
1489></P
1490><TABLE
1491BORDER="0"
1492WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001493BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001494CELLSPACING="0"
1495CELLPADDING="4"
1496CLASS="CALSTABLE"
1497><TR
1498><TD
1499WIDTH="20%"
1500ALIGN="RIGHT"
1501VALIGN="TOP"
1502><TT
1503CLASS="PARAMETER"
1504><I
1505>table</I
1506></TT
1507>&nbsp;:</TD
1508><TD
1509WIDTH="80%"
1510ALIGN="LEFT"
1511VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001512>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001513></TR
1514><TR
1515><TD
1516WIDTH="20%"
1517ALIGN="RIGHT"
1518VALIGN="TOP"
1519><I
1520CLASS="EMPHASIS"
1521>Returns</I
1522> :</TD
1523><TD
1524WIDTH="80%"
1525ALIGN="LEFT"
1526VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001527>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001528></TR
1529></TABLE
1530><P
1531></P
1532></DIV
1533></DIV
1534><HR><DIV
1535CLASS="REFSECT2"
1536><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001537NAME="AEN3925"
Daniel Veillard35925471999-02-25 08:46:07 +00001538></A
1539><H3
1540><A
1541NAME="XMLFREEENTITIESTABLE"
1542></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001543>xmlFreeEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001544><TABLE
1545BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001546BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001547WIDTH="100%"
1548CELLPADDING="6"
1549><TR
1550><TD
1551><PRE
1552CLASS="PROGRAMLISTING"
1553>void xmlFreeEntitiesTable (<A
1554HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1555>xmlEntitiesTablePtr</A
1556> table);</PRE
1557></TD
1558></TR
1559></TABLE
1560><P
1561>Deallocate the memory used by an entities hash table.</P
1562><P
1563></P
1564><DIV
1565CLASS="INFORMALTABLE"
1566><P
1567></P
1568><TABLE
1569BORDER="0"
1570WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001571BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001572CELLSPACING="0"
1573CELLPADDING="4"
1574CLASS="CALSTABLE"
1575><TR
1576><TD
1577WIDTH="20%"
1578ALIGN="RIGHT"
1579VALIGN="TOP"
1580><TT
1581CLASS="PARAMETER"
1582><I
1583>table</I
1584></TT
1585>&nbsp;:</TD
1586><TD
1587WIDTH="80%"
1588ALIGN="LEFT"
1589VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001590>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001591></TR
1592></TABLE
1593><P
1594></P
1595></DIV
1596></DIV
1597><HR><DIV
1598CLASS="REFSECT2"
1599><A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001600NAME="AEN3941"
Daniel Veillard35925471999-02-25 08:46:07 +00001601></A
1602><H3
1603><A
1604NAME="XMLDUMPENTITIESTABLE"
1605></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001606>xmlDumpEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001607><TABLE
1608BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001609BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001610WIDTH="100%"
1611CELLPADDING="6"
1612><TR
1613><TD
1614><PRE
1615CLASS="PROGRAMLISTING"
1616>void xmlDumpEntitiesTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001617HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1618>xmlBufferPtr</A
1619> buf,
1620 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001621HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1622>xmlEntitiesTablePtr</A
1623> table);</PRE
1624></TD
1625></TR
1626></TABLE
1627><P
1628>This will dump the content of the entity table as an XML DTD definition</P
1629><P
Daniel Veillard35925471999-02-25 08:46:07 +00001630></P
1631><DIV
1632CLASS="INFORMALTABLE"
1633><P
1634></P
1635><TABLE
1636BORDER="0"
1637WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001638BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001639CELLSPACING="0"
1640CELLPADDING="4"
1641CLASS="CALSTABLE"
1642><TR
1643><TD
1644WIDTH="20%"
1645ALIGN="RIGHT"
1646VALIGN="TOP"
1647><TT
1648CLASS="PARAMETER"
1649><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001650>buf</I
1651></TT
1652>&nbsp;:</TD
1653><TD
1654WIDTH="80%"
1655ALIGN="LEFT"
1656VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001657>&nbsp;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001658></TR
1659><TR
1660><TD
1661WIDTH="20%"
1662ALIGN="RIGHT"
1663VALIGN="TOP"
1664><TT
1665CLASS="PARAMETER"
1666><I
Daniel Veillard35925471999-02-25 08:46:07 +00001667>table</I
1668></TT
1669>&nbsp;:</TD
1670><TD
1671WIDTH="80%"
1672ALIGN="LEFT"
1673VALIGN="TOP"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001674>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001675></TR
1676></TABLE
1677><P
1678></P
1679></DIV
1680></DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001681></DIV
1682><DIV
1683CLASS="NAVFOOTER"
Daniel Veillard14fff061999-06-22 21:49:07 +00001684><BR><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001685WIDTH="100%"
1686BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001687BGCOLOR="#000000"
1688CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00001689CELLSPACING="0"
1690><TR
1691><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001692WIDTH="25%"
1693BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00001694ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00001695><A
1696HREF="gnome-xml-tree.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00001697><FONT
1698COLOR="#FFFFFF"
1699SIZE="3"
1700><B
1701>&#60;&#60;&#60; Previous Page</B
1702></FONT
1703></A
Daniel Veillard35925471999-02-25 08:46:07 +00001704></TD
1705><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001706WIDTH="25%"
1707BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00001708ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00001709><FONT
1710COLOR="#FFFFFF"
1711SIZE="3"
1712><B
Daniel Veillard35925471999-02-25 08:46:07 +00001713><A
1714HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00001715><FONT
1716COLOR="#FFFFFF"
1717SIZE="3"
1718><B
1719>Home</B
1720></FONT
1721></A
1722></B
1723></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00001724></TD
1725><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001726WIDTH="25%"
1727BGCOLOR="#00C000"
1728ALIGN="center"
1729><FONT
1730COLOR="#FFFFFF"
1731SIZE="3"
1732><B
1733><A
1734HREF="libxml.html"
1735><FONT
1736COLOR="#FFFFFF"
1737SIZE="3"
1738><B
1739>Up</B
1740></FONT
1741></A
1742></B
1743></FONT
1744></TD
1745><TD
1746WIDTH="25%"
1747BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00001748ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00001749><A
1750HREF="gnome-xml-valid.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00001751><FONT
1752COLOR="#FFFFFF"
1753SIZE="3"
1754><B
1755>Next Page &#62;&#62;&#62;</B
1756></FONT
1757></A
Daniel Veillard35925471999-02-25 08:46:07 +00001758></TD
1759></TR
1760><TR
1761><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001762COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00001763ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00001764><FONT
1765COLOR="#FFFFFF"
1766SIZE="3"
1767><B
1768>tree</B
1769></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00001770></TD
1771><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001772COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00001773ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00001774><FONT
1775COLOR="#FFFFFF"
1776SIZE="3"
1777><B
1778>valid</B
1779></FONT
1780></TD
Daniel Veillard35925471999-02-25 08:46:07 +00001781></TR
1782></TABLE
1783></DIV
1784></BODY
1785></HTML
1786>