libxml-entities.html revision 06622dfe904a2fa8d727e0769d5c5e57997b64ac
1<HTML
2><HEAD
3><TITLE
4>entities</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.64
8"><LINK
9REL="HOME"
10TITLE="Gnome XML Library Reference Manual"
11HREF="book1.html"><LINK
12REL="UP"
13TITLE="Libxml Library Reference"
14HREF="libxml-lib.html"><LINK
15REL="PREVIOUS"
16TITLE="tree"
17HREF="libxml-tree.html"><LINK
18REL="NEXT"
19TITLE="valid"
20HREF="libxml-valid.html"></HEAD
21><BODY
22CLASS="REFENTRY"
23BGCOLOR="#FFFFFF"
24TEXT="#000000"
25LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
28><DIV
29CLASS="NAVHEADER"
30><TABLE
31WIDTH="100%"
32BORDER="0"
33BGCOLOR="#000000"
34CELLPADDING="1"
35CELLSPACING="0"
36><TR
37><TH
38COLSPAN="4"
39ALIGN="center"
40><FONT
41COLOR="#FFFFFF"
42SIZE="5"
43>Gnome XML Library Reference Manual</FONT
44></TH
45></TR
46><TR
47><TD
48WIDTH="25%"
49BGCOLOR="#C00000"
50ALIGN="left"
51><A
52HREF="libxml-tree.html"
53><FONT
54COLOR="#FFFFFF"
55SIZE="3"
56><B
57>&#60;&#60;&#60; Previous Page</B
58></FONT
59></A
60></TD
61><TD
62WIDTH="25%"
63BGCOLOR="#0000C0"
64ALIGN="center"
65><FONT
66COLOR="#FFFFFF"
67SIZE="3"
68><B
69><A
70HREF="book1.html"
71><FONT
72COLOR="#FFFFFF"
73SIZE="3"
74><B
75>Home</B
76></FONT
77></A
78></B
79></FONT
80></TD
81><TD
82WIDTH="25%"
83BGCOLOR="#00C000"
84ALIGN="center"
85><FONT
86COLOR="#FFFFFF"
87SIZE="3"
88><B
89><A
90HREF="libxml-lib.html"
91><FONT
92COLOR="#FFFFFF"
93SIZE="3"
94><B
95>Up</B
96></FONT
97></A
98></B
99></FONT
100></TD
101><TD
102WIDTH="25%"
103BGCOLOR="#C00000"
104ALIGN="right"
105><A
106HREF="libxml-valid.html"
107><FONT
108COLOR="#FFFFFF"
109SIZE="3"
110><B
111>Next Page &#62;&#62;&#62;</B
112></FONT
113></A
114></TD
115></TR
116></TABLE
117></DIV
118><H1
119><A
120NAME="LIBXML-ENTITIES"
121>entities</A
122></H1
123><DIV
124CLASS="REFNAMEDIV"
125><A
126NAME="AEN7858"
127></A
128><H2
129>Name</H2
130>entities&nbsp;--&nbsp;</DIV
131><DIV
132CLASS="REFSYNOPSISDIV"
133><A
134NAME="AEN7861"
135></A
136><H2
137>Synopsis</H2
138><TABLE
139BORDER="0"
140BGCOLOR="#D6E8FF"
141WIDTH="100%"
142CELLPADDING="6"
143><TR
144><TD
145><PRE
146CLASS="SYNOPSIS"
147>&#13;
148
149enum        <A
150HREF="libxml-entities.html#XMLENTITYTYPE"
151>xmlEntityType</A
152>;
153struct      <A
154HREF="libxml-entities.html#XMLENTITY"
155>xmlEntity</A
156>;
157typedef     <A
158HREF="libxml-entities.html#XMLENTITYPTR"
159>xmlEntityPtr</A
160>;
161typedef     <A
162HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
163>xmlEntitiesTablePtr</A
164>;
165void        <A
166HREF="libxml-entities.html#XMLINITIALIZEPREDEFINEDENTITIES"
167>xmlInitializePredefinedEntities</A
168> (void);
169<A
170HREF="libxml-entities.html#XMLENTITYPTR"
171>xmlEntityPtr</A
172> <A
173HREF="libxml-entities.html#XMLADDDOCENTITY"
174>xmlAddDocEntity</A
175>                (<A
176HREF="libxml-tree.html#XMLDOCPTR"
177>xmlDocPtr</A
178> doc,
179                                             const <A
180HREF="libxml-tree.html#XMLCHAR"
181>xmlChar</A
182> *name,
183                                             int type,
184                                             const <A
185HREF="libxml-tree.html#XMLCHAR"
186>xmlChar</A
187> *ExternalID,
188                                             const <A
189HREF="libxml-tree.html#XMLCHAR"
190>xmlChar</A
191> *SystemID,
192                                             const <A
193HREF="libxml-tree.html#XMLCHAR"
194>xmlChar</A
195> *content);
196<A
197HREF="libxml-entities.html#XMLENTITYPTR"
198>xmlEntityPtr</A
199> <A
200HREF="libxml-entities.html#XMLADDDTDENTITY"
201>xmlAddDtdEntity</A
202>                (<A
203HREF="libxml-tree.html#XMLDOCPTR"
204>xmlDocPtr</A
205> doc,
206                                             const <A
207HREF="libxml-tree.html#XMLCHAR"
208>xmlChar</A
209> *name,
210                                             int type,
211                                             const <A
212HREF="libxml-tree.html#XMLCHAR"
213>xmlChar</A
214> *ExternalID,
215                                             const <A
216HREF="libxml-tree.html#XMLCHAR"
217>xmlChar</A
218> *SystemID,
219                                             const <A
220HREF="libxml-tree.html#XMLCHAR"
221>xmlChar</A
222> *content);
223<A
224HREF="libxml-entities.html#XMLENTITYPTR"
225>xmlEntityPtr</A
226> <A
227HREF="libxml-entities.html#XMLGETPREDEFINEDENTITY"
228>xmlGetPredefinedEntity</A
229>         (const <A
230HREF="libxml-tree.html#XMLCHAR"
231>xmlChar</A
232> *name);
233<A
234HREF="libxml-entities.html#XMLENTITYPTR"
235>xmlEntityPtr</A
236> <A
237HREF="libxml-entities.html#XMLGETDOCENTITY"
238>xmlGetDocEntity</A
239>                (<A
240HREF="libxml-tree.html#XMLDOCPTR"
241>xmlDocPtr</A
242> doc,
243                                             const <A
244HREF="libxml-tree.html#XMLCHAR"
245>xmlChar</A
246> *name);
247<A
248HREF="libxml-entities.html#XMLENTITYPTR"
249>xmlEntityPtr</A
250> <A
251HREF="libxml-entities.html#XMLGETDTDENTITY"
252>xmlGetDtdEntity</A
253>                (<A
254HREF="libxml-tree.html#XMLDOCPTR"
255>xmlDocPtr</A
256> doc,
257                                             const <A
258HREF="libxml-tree.html#XMLCHAR"
259>xmlChar</A
260> *name);
261<A
262HREF="libxml-entities.html#XMLENTITYPTR"
263>xmlEntityPtr</A
264> <A
265HREF="libxml-entities.html#XMLGETPARAMETERENTITY"
266>xmlGetParameterEntity</A
267>          (<A
268HREF="libxml-tree.html#XMLDOCPTR"
269>xmlDocPtr</A
270> doc,
271                                             const <A
272HREF="libxml-tree.html#XMLCHAR"
273>xmlChar</A
274> *name);
275const <A
276HREF="libxml-tree.html#XMLCHAR"
277>xmlChar</A
278>* <A
279HREF="libxml-entities.html#XMLENCODEENTITIES"
280>xmlEncodeEntities</A
281>            (<A
282HREF="libxml-tree.html#XMLDOCPTR"
283>xmlDocPtr</A
284> doc,
285                                             const <A
286HREF="libxml-tree.html#XMLCHAR"
287>xmlChar</A
288> *input);
289<A
290HREF="libxml-tree.html#XMLCHAR"
291>xmlChar</A
292>*    <A
293HREF="libxml-entities.html#XMLENCODEENTITIESREENTRANT"
294>xmlEncodeEntitiesReentrant</A
295>      (<A
296HREF="libxml-tree.html#XMLDOCPTR"
297>xmlDocPtr</A
298> doc,
299                                             const <A
300HREF="libxml-tree.html#XMLCHAR"
301>xmlChar</A
302> *input);
303<A
304HREF="libxml-tree.html#XMLCHAR"
305>xmlChar</A
306>*    <A
307HREF="libxml-entities.html#XMLENCODESPECIALCHARS"
308>xmlEncodeSpecialChars</A
309>           (<A
310HREF="libxml-tree.html#XMLDOCPTR"
311>xmlDocPtr</A
312> doc,
313                                             const <A
314HREF="libxml-tree.html#XMLCHAR"
315>xmlChar</A
316> *input);
317<A
318HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
319>xmlEntitiesTablePtr</A
320> <A
321HREF="libxml-entities.html#XMLCREATEENTITIESTABLE"
322>xmlCreateEntitiesTable</A
323>  (void);
324<A
325HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
326>xmlEntitiesTablePtr</A
327> <A
328HREF="libxml-entities.html#XMLCOPYENTITIESTABLE"
329>xmlCopyEntitiesTable</A
330>    (<A
331HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
332>xmlEntitiesTablePtr</A
333> table);
334void        <A
335HREF="libxml-entities.html#XMLFREEENTITIESTABLE"
336>xmlFreeEntitiesTable</A
337>            (<A
338HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
339>xmlEntitiesTablePtr</A
340> table);
341void        <A
342HREF="libxml-entities.html#XMLDUMPENTITIESTABLE"
343>xmlDumpEntitiesTable</A
344>            (<A
345HREF="libxml-tree.html#XMLBUFFERPTR"
346>xmlBufferPtr</A
347> buf,
348                                             <A
349HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
350>xmlEntitiesTablePtr</A
351> table);
352void        <A
353HREF="libxml-entities.html#XMLDUMPENTITYDECL"
354>xmlDumpEntityDecl</A
355>               (<A
356HREF="libxml-tree.html#XMLBUFFERPTR"
357>xmlBufferPtr</A
358> buf,
359                                             <A
360HREF="libxml-entities.html#XMLENTITYPTR"
361>xmlEntityPtr</A
362> ent);
363void        <A
364HREF="libxml-entities.html#XMLCLEANUPPREDEFINEDENTITIES"
365>xmlCleanupPredefinedEntities</A
366>    (void);</PRE
367></TD
368></TR
369></TABLE
370></DIV
371><DIV
372CLASS="REFSECT1"
373><A
374NAME="AEN7924"
375></A
376><H2
377>Description</H2
378><P
379></P
380></DIV
381><DIV
382CLASS="REFSECT1"
383><A
384NAME="AEN7927"
385></A
386><H2
387>Details</H2
388><DIV
389CLASS="REFSECT2"
390><A
391NAME="AEN7929"
392></A
393><H3
394><A
395NAME="XMLENTITYTYPE"
396></A
397>&#62;enum xmlEntityType</H3
398><TABLE
399BORDER="0"
400BGCOLOR="#D6E8FF"
401WIDTH="100%"
402CELLPADDING="6"
403><TR
404><TD
405><PRE
406CLASS="PROGRAMLISTING"
407>typedef enum {
408    XML_INTERNAL_GENERAL_ENTITY = 1,
409    XML_EXTERNAL_GENERAL_PARSED_ENTITY = 2,
410    XML_EXTERNAL_GENERAL_UNPARSED_ENTITY = 3,
411    XML_INTERNAL_PARAMETER_ENTITY = 4,
412    XML_EXTERNAL_PARAMETER_ENTITY = 5,
413    XML_INTERNAL_PREDEFINED_ENTITY = 6
414} xmlEntityType;</PRE
415></TD
416></TR
417></TABLE
418><P
419></P
420></DIV
421><HR><DIV
422CLASS="REFSECT2"
423><A
424NAME="AEN7934"
425></A
426><H3
427><A
428NAME="XMLENTITY"
429></A
430>&#62;struct xmlEntity</H3
431><TABLE
432BORDER="0"
433BGCOLOR="#D6E8FF"
434WIDTH="100%"
435CELLPADDING="6"
436><TR
437><TD
438><PRE
439CLASS="PROGRAMLISTING"
440>struct xmlEntity {
441    void           *_private;	        /* application data */
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 */
446    struct _xmlDtd       *parent;	/* -&gt; DTD */
447    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
458    struct _xmlEntity     *nexte;	/* unused */
459    const xmlChar           *URI;	/* the full URI as computed */
460};</PRE
461></TD
462></TR
463></TABLE
464><P
465></P
466></DIV
467><HR><DIV
468CLASS="REFSECT2"
469><A
470NAME="AEN7939"
471></A
472><H3
473><A
474NAME="XMLENTITYPTR"
475></A
476>&#62;xmlEntityPtr</H3
477><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
490><P
491></P
492></DIV
493><HR><DIV
494CLASS="REFSECT2"
495><A
496NAME="AEN7944"
497></A
498><H3
499><A
500NAME="XMLENTITIESTABLEPTR"
501></A
502>&#62;xmlEntitiesTablePtr</H3
503><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
516><P
517></P
518></DIV
519><HR><DIV
520CLASS="REFSECT2"
521><A
522NAME="AEN7949"
523></A
524><H3
525><A
526NAME="XMLINITIALIZEPREDEFINEDENTITIES"
527></A
528>&#62;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
550NAME="AEN7955"
551></A
552><H3
553><A
554NAME="XMLADDDOCENTITY"
555></A
556>&#62;xmlAddDocEntity ()</H3
557><TABLE
558BORDER="0"
559BGCOLOR="#D6E8FF"
560WIDTH="100%"
561CELLPADDING="6"
562><TR
563><TD
564><PRE
565CLASS="PROGRAMLISTING"
566><A
567HREF="libxml-entities.html#XMLENTITYPTR"
568>xmlEntityPtr</A
569> xmlAddDocEntity                (<A
570HREF="libxml-tree.html#XMLDOCPTR"
571>xmlDocPtr</A
572> doc,
573                                             const <A
574HREF="libxml-tree.html#XMLCHAR"
575>xmlChar</A
576> *name,
577                                             int type,
578                                             const <A
579HREF="libxml-tree.html#XMLCHAR"
580>xmlChar</A
581> *ExternalID,
582                                             const <A
583HREF="libxml-tree.html#XMLCHAR"
584>xmlChar</A
585> *SystemID,
586                                             const <A
587HREF="libxml-tree.html#XMLCHAR"
588>xmlChar</A
589> *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><A
600NAME="AEN7967"
601></A
602><P
603></P
604><TABLE
605BORDER="0"
606WIDTH="100%"
607BGCOLOR="#FFD0D0"
608CELLSPACING="0"
609CELLPADDING="4"
610CLASS="CALSTABLE"
611><TBODY
612><TR
613><TD
614WIDTH="20%"
615ALIGN="RIGHT"
616VALIGN="TOP"
617><TT
618CLASS="PARAMETER"
619><I
620>doc</I
621></TT
622>&nbsp;:</TD
623><TD
624WIDTH="80%"
625ALIGN="LEFT"
626VALIGN="TOP"
627>  the document</TD
628></TR
629><TR
630><TD
631WIDTH="20%"
632ALIGN="RIGHT"
633VALIGN="TOP"
634><TT
635CLASS="PARAMETER"
636><I
637>name</I
638></TT
639>&nbsp;:</TD
640><TD
641WIDTH="80%"
642ALIGN="LEFT"
643VALIGN="TOP"
644>  the entity name</TD
645></TR
646><TR
647><TD
648WIDTH="20%"
649ALIGN="RIGHT"
650VALIGN="TOP"
651><TT
652CLASS="PARAMETER"
653><I
654>type</I
655></TT
656>&nbsp;:</TD
657><TD
658WIDTH="80%"
659ALIGN="LEFT"
660VALIGN="TOP"
661>  the entity type XML_xxx_yyy_ENTITY</TD
662></TR
663><TR
664><TD
665WIDTH="20%"
666ALIGN="RIGHT"
667VALIGN="TOP"
668><TT
669CLASS="PARAMETER"
670><I
671>ExternalID</I
672></TT
673>&nbsp;:</TD
674><TD
675WIDTH="80%"
676ALIGN="LEFT"
677VALIGN="TOP"
678>  the entity external ID if available</TD
679></TR
680><TR
681><TD
682WIDTH="20%"
683ALIGN="RIGHT"
684VALIGN="TOP"
685><TT
686CLASS="PARAMETER"
687><I
688>SystemID</I
689></TT
690>&nbsp;:</TD
691><TD
692WIDTH="80%"
693ALIGN="LEFT"
694VALIGN="TOP"
695>  the entity system ID if available</TD
696></TR
697><TR
698><TD
699WIDTH="20%"
700ALIGN="RIGHT"
701VALIGN="TOP"
702><TT
703CLASS="PARAMETER"
704><I
705>content</I
706></TT
707>&nbsp;:</TD
708><TD
709WIDTH="80%"
710ALIGN="LEFT"
711VALIGN="TOP"
712>  the entity content</TD
713></TR
714><TR
715><TD
716WIDTH="20%"
717ALIGN="RIGHT"
718VALIGN="TOP"
719><I
720CLASS="EMPHASIS"
721>Returns</I
722> :</TD
723><TD
724WIDTH="80%"
725ALIGN="LEFT"
726VALIGN="TOP"
727>a pointer to the entity or NULL in case of error</TD
728></TR
729></TBODY
730></TABLE
731><P
732></P
733></DIV
734></DIV
735><HR><DIV
736CLASS="REFSECT2"
737><A
738NAME="AEN8000"
739></A
740><H3
741><A
742NAME="XMLADDDTDENTITY"
743></A
744>&#62;xmlAddDtdEntity ()</H3
745><TABLE
746BORDER="0"
747BGCOLOR="#D6E8FF"
748WIDTH="100%"
749CELLPADDING="6"
750><TR
751><TD
752><PRE
753CLASS="PROGRAMLISTING"
754><A
755HREF="libxml-entities.html#XMLENTITYPTR"
756>xmlEntityPtr</A
757> xmlAddDtdEntity                (<A
758HREF="libxml-tree.html#XMLDOCPTR"
759>xmlDocPtr</A
760> doc,
761                                             const <A
762HREF="libxml-tree.html#XMLCHAR"
763>xmlChar</A
764> *name,
765                                             int type,
766                                             const <A
767HREF="libxml-tree.html#XMLCHAR"
768>xmlChar</A
769> *ExternalID,
770                                             const <A
771HREF="libxml-tree.html#XMLCHAR"
772>xmlChar</A
773> *SystemID,
774                                             const <A
775HREF="libxml-tree.html#XMLCHAR"
776>xmlChar</A
777> *content);</PRE
778></TD
779></TR
780></TABLE
781><P
782>Register a new entity for this document DTD external subset.</P
783><P
784></P
785><DIV
786CLASS="INFORMALTABLE"
787><A
788NAME="AEN8012"
789></A
790><P
791></P
792><TABLE
793BORDER="0"
794WIDTH="100%"
795BGCOLOR="#FFD0D0"
796CELLSPACING="0"
797CELLPADDING="4"
798CLASS="CALSTABLE"
799><TBODY
800><TR
801><TD
802WIDTH="20%"
803ALIGN="RIGHT"
804VALIGN="TOP"
805><TT
806CLASS="PARAMETER"
807><I
808>doc</I
809></TT
810>&nbsp;:</TD
811><TD
812WIDTH="80%"
813ALIGN="LEFT"
814VALIGN="TOP"
815>  the document</TD
816></TR
817><TR
818><TD
819WIDTH="20%"
820ALIGN="RIGHT"
821VALIGN="TOP"
822><TT
823CLASS="PARAMETER"
824><I
825>name</I
826></TT
827>&nbsp;:</TD
828><TD
829WIDTH="80%"
830ALIGN="LEFT"
831VALIGN="TOP"
832>  the entity name</TD
833></TR
834><TR
835><TD
836WIDTH="20%"
837ALIGN="RIGHT"
838VALIGN="TOP"
839><TT
840CLASS="PARAMETER"
841><I
842>type</I
843></TT
844>&nbsp;:</TD
845><TD
846WIDTH="80%"
847ALIGN="LEFT"
848VALIGN="TOP"
849>  the entity type XML_xxx_yyy_ENTITY</TD
850></TR
851><TR
852><TD
853WIDTH="20%"
854ALIGN="RIGHT"
855VALIGN="TOP"
856><TT
857CLASS="PARAMETER"
858><I
859>ExternalID</I
860></TT
861>&nbsp;:</TD
862><TD
863WIDTH="80%"
864ALIGN="LEFT"
865VALIGN="TOP"
866>  the entity external ID if available</TD
867></TR
868><TR
869><TD
870WIDTH="20%"
871ALIGN="RIGHT"
872VALIGN="TOP"
873><TT
874CLASS="PARAMETER"
875><I
876>SystemID</I
877></TT
878>&nbsp;:</TD
879><TD
880WIDTH="80%"
881ALIGN="LEFT"
882VALIGN="TOP"
883>  the entity system ID if available</TD
884></TR
885><TR
886><TD
887WIDTH="20%"
888ALIGN="RIGHT"
889VALIGN="TOP"
890><TT
891CLASS="PARAMETER"
892><I
893>content</I
894></TT
895>&nbsp;:</TD
896><TD
897WIDTH="80%"
898ALIGN="LEFT"
899VALIGN="TOP"
900>  the entity content</TD
901></TR
902><TR
903><TD
904WIDTH="20%"
905ALIGN="RIGHT"
906VALIGN="TOP"
907><I
908CLASS="EMPHASIS"
909>Returns</I
910> :</TD
911><TD
912WIDTH="80%"
913ALIGN="LEFT"
914VALIGN="TOP"
915>a pointer to the entity or NULL in case of error</TD
916></TR
917></TBODY
918></TABLE
919><P
920></P
921></DIV
922></DIV
923><HR><DIV
924CLASS="REFSECT2"
925><A
926NAME="AEN8045"
927></A
928><H3
929><A
930NAME="XMLGETPREDEFINEDENTITY"
931></A
932>&#62;xmlGetPredefinedEntity ()</H3
933><TABLE
934BORDER="0"
935BGCOLOR="#D6E8FF"
936WIDTH="100%"
937CELLPADDING="6"
938><TR
939><TD
940><PRE
941CLASS="PROGRAMLISTING"
942><A
943HREF="libxml-entities.html#XMLENTITYPTR"
944>xmlEntityPtr</A
945> xmlGetPredefinedEntity         (const <A
946HREF="libxml-tree.html#XMLCHAR"
947>xmlChar</A
948> *name);</PRE
949></TD
950></TR
951></TABLE
952><P
953>Check whether this name is an predefined entity.</P
954><P
955></P
956><DIV
957CLASS="INFORMALTABLE"
958><A
959NAME="AEN8053"
960></A
961><P
962></P
963><TABLE
964BORDER="0"
965WIDTH="100%"
966BGCOLOR="#FFD0D0"
967CELLSPACING="0"
968CELLPADDING="4"
969CLASS="CALSTABLE"
970><TBODY
971><TR
972><TD
973WIDTH="20%"
974ALIGN="RIGHT"
975VALIGN="TOP"
976><TT
977CLASS="PARAMETER"
978><I
979>name</I
980></TT
981>&nbsp;:</TD
982><TD
983WIDTH="80%"
984ALIGN="LEFT"
985VALIGN="TOP"
986>  the entity name</TD
987></TR
988><TR
989><TD
990WIDTH="20%"
991ALIGN="RIGHT"
992VALIGN="TOP"
993><I
994CLASS="EMPHASIS"
995>Returns</I
996> :</TD
997><TD
998WIDTH="80%"
999ALIGN="LEFT"
1000VALIGN="TOP"
1001>NULL if not, otherwise the entity</TD
1002></TR
1003></TBODY
1004></TABLE
1005><P
1006></P
1007></DIV
1008></DIV
1009><HR><DIV
1010CLASS="REFSECT2"
1011><A
1012NAME="AEN8066"
1013></A
1014><H3
1015><A
1016NAME="XMLGETDOCENTITY"
1017></A
1018>&#62;xmlGetDocEntity ()</H3
1019><TABLE
1020BORDER="0"
1021BGCOLOR="#D6E8FF"
1022WIDTH="100%"
1023CELLPADDING="6"
1024><TR
1025><TD
1026><PRE
1027CLASS="PROGRAMLISTING"
1028><A
1029HREF="libxml-entities.html#XMLENTITYPTR"
1030>xmlEntityPtr</A
1031> xmlGetDocEntity                (<A
1032HREF="libxml-tree.html#XMLDOCPTR"
1033>xmlDocPtr</A
1034> doc,
1035                                             const <A
1036HREF="libxml-tree.html#XMLCHAR"
1037>xmlChar</A
1038> *name);</PRE
1039></TD
1040></TR
1041></TABLE
1042><P
1043>Do an entity lookup in the document entity hash table and
1044returns the corresponding entity, otherwise a lookup is done
1045in the predefined entities too.</P
1046><P
1047></P
1048><DIV
1049CLASS="INFORMALTABLE"
1050><A
1051NAME="AEN8075"
1052></A
1053><P
1054></P
1055><TABLE
1056BORDER="0"
1057WIDTH="100%"
1058BGCOLOR="#FFD0D0"
1059CELLSPACING="0"
1060CELLPADDING="4"
1061CLASS="CALSTABLE"
1062><TBODY
1063><TR
1064><TD
1065WIDTH="20%"
1066ALIGN="RIGHT"
1067VALIGN="TOP"
1068><TT
1069CLASS="PARAMETER"
1070><I
1071>doc</I
1072></TT
1073>&nbsp;:</TD
1074><TD
1075WIDTH="80%"
1076ALIGN="LEFT"
1077VALIGN="TOP"
1078>  the document referencing the entity</TD
1079></TR
1080><TR
1081><TD
1082WIDTH="20%"
1083ALIGN="RIGHT"
1084VALIGN="TOP"
1085><TT
1086CLASS="PARAMETER"
1087><I
1088>name</I
1089></TT
1090>&nbsp;:</TD
1091><TD
1092WIDTH="80%"
1093ALIGN="LEFT"
1094VALIGN="TOP"
1095>  the entity name</TD
1096></TR
1097><TR
1098><TD
1099WIDTH="20%"
1100ALIGN="RIGHT"
1101VALIGN="TOP"
1102><I
1103CLASS="EMPHASIS"
1104>Returns</I
1105> :</TD
1106><TD
1107WIDTH="80%"
1108ALIGN="LEFT"
1109VALIGN="TOP"
1110>A pointer to the entity structure or NULL if not found.</TD
1111></TR
1112></TBODY
1113></TABLE
1114><P
1115></P
1116></DIV
1117></DIV
1118><HR><DIV
1119CLASS="REFSECT2"
1120><A
1121NAME="AEN8092"
1122></A
1123><H3
1124><A
1125NAME="XMLGETDTDENTITY"
1126></A
1127>&#62;xmlGetDtdEntity ()</H3
1128><TABLE
1129BORDER="0"
1130BGCOLOR="#D6E8FF"
1131WIDTH="100%"
1132CELLPADDING="6"
1133><TR
1134><TD
1135><PRE
1136CLASS="PROGRAMLISTING"
1137><A
1138HREF="libxml-entities.html#XMLENTITYPTR"
1139>xmlEntityPtr</A
1140> xmlGetDtdEntity                (<A
1141HREF="libxml-tree.html#XMLDOCPTR"
1142>xmlDocPtr</A
1143> doc,
1144                                             const <A
1145HREF="libxml-tree.html#XMLCHAR"
1146>xmlChar</A
1147> *name);</PRE
1148></TD
1149></TR
1150></TABLE
1151><P
1152>Do an entity lookup in the DTD entity hash table and
1153returns the corresponding entity, if found.</P
1154><P
1155></P
1156><DIV
1157CLASS="INFORMALTABLE"
1158><A
1159NAME="AEN8101"
1160></A
1161><P
1162></P
1163><TABLE
1164BORDER="0"
1165WIDTH="100%"
1166BGCOLOR="#FFD0D0"
1167CELLSPACING="0"
1168CELLPADDING="4"
1169CLASS="CALSTABLE"
1170><TBODY
1171><TR
1172><TD
1173WIDTH="20%"
1174ALIGN="RIGHT"
1175VALIGN="TOP"
1176><TT
1177CLASS="PARAMETER"
1178><I
1179>doc</I
1180></TT
1181>&nbsp;:</TD
1182><TD
1183WIDTH="80%"
1184ALIGN="LEFT"
1185VALIGN="TOP"
1186>  the document referencing the entity</TD
1187></TR
1188><TR
1189><TD
1190WIDTH="20%"
1191ALIGN="RIGHT"
1192VALIGN="TOP"
1193><TT
1194CLASS="PARAMETER"
1195><I
1196>name</I
1197></TT
1198>&nbsp;:</TD
1199><TD
1200WIDTH="80%"
1201ALIGN="LEFT"
1202VALIGN="TOP"
1203>  the entity name</TD
1204></TR
1205><TR
1206><TD
1207WIDTH="20%"
1208ALIGN="RIGHT"
1209VALIGN="TOP"
1210><I
1211CLASS="EMPHASIS"
1212>Returns</I
1213> :</TD
1214><TD
1215WIDTH="80%"
1216ALIGN="LEFT"
1217VALIGN="TOP"
1218>A pointer to the entity structure or NULL if not found.</TD
1219></TR
1220></TBODY
1221></TABLE
1222><P
1223></P
1224></DIV
1225></DIV
1226><HR><DIV
1227CLASS="REFSECT2"
1228><A
1229NAME="AEN8118"
1230></A
1231><H3
1232><A
1233NAME="XMLGETPARAMETERENTITY"
1234></A
1235>&#62;xmlGetParameterEntity ()</H3
1236><TABLE
1237BORDER="0"
1238BGCOLOR="#D6E8FF"
1239WIDTH="100%"
1240CELLPADDING="6"
1241><TR
1242><TD
1243><PRE
1244CLASS="PROGRAMLISTING"
1245><A
1246HREF="libxml-entities.html#XMLENTITYPTR"
1247>xmlEntityPtr</A
1248> xmlGetParameterEntity          (<A
1249HREF="libxml-tree.html#XMLDOCPTR"
1250>xmlDocPtr</A
1251> doc,
1252                                             const <A
1253HREF="libxml-tree.html#XMLCHAR"
1254>xmlChar</A
1255> *name);</PRE
1256></TD
1257></TR
1258></TABLE
1259><P
1260>Do an entity lookup in the internal and external subsets and
1261returns the corresponding parameter entity, if found.</P
1262><P
1263></P
1264><DIV
1265CLASS="INFORMALTABLE"
1266><A
1267NAME="AEN8127"
1268></A
1269><P
1270></P
1271><TABLE
1272BORDER="0"
1273WIDTH="100%"
1274BGCOLOR="#FFD0D0"
1275CELLSPACING="0"
1276CELLPADDING="4"
1277CLASS="CALSTABLE"
1278><TBODY
1279><TR
1280><TD
1281WIDTH="20%"
1282ALIGN="RIGHT"
1283VALIGN="TOP"
1284><TT
1285CLASS="PARAMETER"
1286><I
1287>doc</I
1288></TT
1289>&nbsp;:</TD
1290><TD
1291WIDTH="80%"
1292ALIGN="LEFT"
1293VALIGN="TOP"
1294>  the document referencing the entity</TD
1295></TR
1296><TR
1297><TD
1298WIDTH="20%"
1299ALIGN="RIGHT"
1300VALIGN="TOP"
1301><TT
1302CLASS="PARAMETER"
1303><I
1304>name</I
1305></TT
1306>&nbsp;:</TD
1307><TD
1308WIDTH="80%"
1309ALIGN="LEFT"
1310VALIGN="TOP"
1311>  the entity name</TD
1312></TR
1313><TR
1314><TD
1315WIDTH="20%"
1316ALIGN="RIGHT"
1317VALIGN="TOP"
1318><I
1319CLASS="EMPHASIS"
1320>Returns</I
1321> :</TD
1322><TD
1323WIDTH="80%"
1324ALIGN="LEFT"
1325VALIGN="TOP"
1326>A pointer to the entity structure or NULL if not found.</TD
1327></TR
1328></TBODY
1329></TABLE
1330><P
1331></P
1332></DIV
1333></DIV
1334><HR><DIV
1335CLASS="REFSECT2"
1336><A
1337NAME="AEN8144"
1338></A
1339><H3
1340><A
1341NAME="XMLENCODEENTITIES"
1342></A
1343>&#62;xmlEncodeEntities ()</H3
1344><TABLE
1345BORDER="0"
1346BGCOLOR="#D6E8FF"
1347WIDTH="100%"
1348CELLPADDING="6"
1349><TR
1350><TD
1351><PRE
1352CLASS="PROGRAMLISTING"
1353>const <A
1354HREF="libxml-tree.html#XMLCHAR"
1355>xmlChar</A
1356>* xmlEncodeEntities            (<A
1357HREF="libxml-tree.html#XMLDOCPTR"
1358>xmlDocPtr</A
1359> doc,
1360                                             const <A
1361HREF="libxml-tree.html#XMLCHAR"
1362>xmlChar</A
1363> *input);</PRE
1364></TD
1365></TR
1366></TABLE
1367><P
1368>Do a global encoding of a string, replacing the predefined entities
1369and non ASCII values with their entities and CharRef counterparts.</P
1370><P
1371>TODO: remove xmlEncodeEntities, once we are not afraid of breaking binary
1372      compatibility</P
1373><P
1374>People must migrate their code to xmlEncodeEntitiesReentrant !
1375This routine will issue a warning when encountered.</P
1376><P
1377></P
1378><DIV
1379CLASS="INFORMALTABLE"
1380><A
1381NAME="AEN8155"
1382></A
1383><P
1384></P
1385><TABLE
1386BORDER="0"
1387WIDTH="100%"
1388BGCOLOR="#FFD0D0"
1389CELLSPACING="0"
1390CELLPADDING="4"
1391CLASS="CALSTABLE"
1392><TBODY
1393><TR
1394><TD
1395WIDTH="20%"
1396ALIGN="RIGHT"
1397VALIGN="TOP"
1398><TT
1399CLASS="PARAMETER"
1400><I
1401>doc</I
1402></TT
1403>&nbsp;:</TD
1404><TD
1405WIDTH="80%"
1406ALIGN="LEFT"
1407VALIGN="TOP"
1408>  the document containing the string</TD
1409></TR
1410><TR
1411><TD
1412WIDTH="20%"
1413ALIGN="RIGHT"
1414VALIGN="TOP"
1415><TT
1416CLASS="PARAMETER"
1417><I
1418>input</I
1419></TT
1420>&nbsp;:</TD
1421><TD
1422WIDTH="80%"
1423ALIGN="LEFT"
1424VALIGN="TOP"
1425>  A string to convert to XML.</TD
1426></TR
1427><TR
1428><TD
1429WIDTH="20%"
1430ALIGN="RIGHT"
1431VALIGN="TOP"
1432><I
1433CLASS="EMPHASIS"
1434>Returns</I
1435> :</TD
1436><TD
1437WIDTH="80%"
1438ALIGN="LEFT"
1439VALIGN="TOP"
1440>A newly allocated string with the substitution done.</TD
1441></TR
1442></TBODY
1443></TABLE
1444><P
1445></P
1446></DIV
1447></DIV
1448><HR><DIV
1449CLASS="REFSECT2"
1450><A
1451NAME="AEN8172"
1452></A
1453><H3
1454><A
1455NAME="XMLENCODEENTITIESREENTRANT"
1456></A
1457>&#62;xmlEncodeEntitiesReentrant ()</H3
1458><TABLE
1459BORDER="0"
1460BGCOLOR="#D6E8FF"
1461WIDTH="100%"
1462CELLPADDING="6"
1463><TR
1464><TD
1465><PRE
1466CLASS="PROGRAMLISTING"
1467><A
1468HREF="libxml-tree.html#XMLCHAR"
1469>xmlChar</A
1470>*    xmlEncodeEntitiesReentrant      (<A
1471HREF="libxml-tree.html#XMLDOCPTR"
1472>xmlDocPtr</A
1473> doc,
1474                                             const <A
1475HREF="libxml-tree.html#XMLCHAR"
1476>xmlChar</A
1477> *input);</PRE
1478></TD
1479></TR
1480></TABLE
1481><P
1482>Do a global encoding of a string, replacing the predefined entities
1483and non ASCII values with their entities and CharRef counterparts.
1484Contrary to xmlEncodeEntities, this routine is reentrant, and result
1485must be deallocated.</P
1486><P
1487></P
1488><DIV
1489CLASS="INFORMALTABLE"
1490><A
1491NAME="AEN8181"
1492></A
1493><P
1494></P
1495><TABLE
1496BORDER="0"
1497WIDTH="100%"
1498BGCOLOR="#FFD0D0"
1499CELLSPACING="0"
1500CELLPADDING="4"
1501CLASS="CALSTABLE"
1502><TBODY
1503><TR
1504><TD
1505WIDTH="20%"
1506ALIGN="RIGHT"
1507VALIGN="TOP"
1508><TT
1509CLASS="PARAMETER"
1510><I
1511>doc</I
1512></TT
1513>&nbsp;:</TD
1514><TD
1515WIDTH="80%"
1516ALIGN="LEFT"
1517VALIGN="TOP"
1518>  the document containing the string</TD
1519></TR
1520><TR
1521><TD
1522WIDTH="20%"
1523ALIGN="RIGHT"
1524VALIGN="TOP"
1525><TT
1526CLASS="PARAMETER"
1527><I
1528>input</I
1529></TT
1530>&nbsp;:</TD
1531><TD
1532WIDTH="80%"
1533ALIGN="LEFT"
1534VALIGN="TOP"
1535>  A string to convert to XML.</TD
1536></TR
1537><TR
1538><TD
1539WIDTH="20%"
1540ALIGN="RIGHT"
1541VALIGN="TOP"
1542><I
1543CLASS="EMPHASIS"
1544>Returns</I
1545> :</TD
1546><TD
1547WIDTH="80%"
1548ALIGN="LEFT"
1549VALIGN="TOP"
1550>A newly allocated string with the substitution done.</TD
1551></TR
1552></TBODY
1553></TABLE
1554><P
1555></P
1556></DIV
1557></DIV
1558><HR><DIV
1559CLASS="REFSECT2"
1560><A
1561NAME="AEN8198"
1562></A
1563><H3
1564><A
1565NAME="XMLENCODESPECIALCHARS"
1566></A
1567>&#62;xmlEncodeSpecialChars ()</H3
1568><TABLE
1569BORDER="0"
1570BGCOLOR="#D6E8FF"
1571WIDTH="100%"
1572CELLPADDING="6"
1573><TR
1574><TD
1575><PRE
1576CLASS="PROGRAMLISTING"
1577><A
1578HREF="libxml-tree.html#XMLCHAR"
1579>xmlChar</A
1580>*    xmlEncodeSpecialChars           (<A
1581HREF="libxml-tree.html#XMLDOCPTR"
1582>xmlDocPtr</A
1583> doc,
1584                                             const <A
1585HREF="libxml-tree.html#XMLCHAR"
1586>xmlChar</A
1587> *input);</PRE
1588></TD
1589></TR
1590></TABLE
1591><P
1592>Do a global encoding of a string, replacing the predefined entities
1593this routine is reentrant, and result must be deallocated.</P
1594><P
1595></P
1596><DIV
1597CLASS="INFORMALTABLE"
1598><A
1599NAME="AEN8207"
1600></A
1601><P
1602></P
1603><TABLE
1604BORDER="0"
1605WIDTH="100%"
1606BGCOLOR="#FFD0D0"
1607CELLSPACING="0"
1608CELLPADDING="4"
1609CLASS="CALSTABLE"
1610><TBODY
1611><TR
1612><TD
1613WIDTH="20%"
1614ALIGN="RIGHT"
1615VALIGN="TOP"
1616><TT
1617CLASS="PARAMETER"
1618><I
1619>doc</I
1620></TT
1621>&nbsp;:</TD
1622><TD
1623WIDTH="80%"
1624ALIGN="LEFT"
1625VALIGN="TOP"
1626>  the document containing the string</TD
1627></TR
1628><TR
1629><TD
1630WIDTH="20%"
1631ALIGN="RIGHT"
1632VALIGN="TOP"
1633><TT
1634CLASS="PARAMETER"
1635><I
1636>input</I
1637></TT
1638>&nbsp;:</TD
1639><TD
1640WIDTH="80%"
1641ALIGN="LEFT"
1642VALIGN="TOP"
1643>  A string to convert to XML.</TD
1644></TR
1645><TR
1646><TD
1647WIDTH="20%"
1648ALIGN="RIGHT"
1649VALIGN="TOP"
1650><I
1651CLASS="EMPHASIS"
1652>Returns</I
1653> :</TD
1654><TD
1655WIDTH="80%"
1656ALIGN="LEFT"
1657VALIGN="TOP"
1658>A newly allocated string with the substitution done.</TD
1659></TR
1660></TBODY
1661></TABLE
1662><P
1663></P
1664></DIV
1665></DIV
1666><HR><DIV
1667CLASS="REFSECT2"
1668><A
1669NAME="AEN8224"
1670></A
1671><H3
1672><A
1673NAME="XMLCREATEENTITIESTABLE"
1674></A
1675>&#62;xmlCreateEntitiesTable ()</H3
1676><TABLE
1677BORDER="0"
1678BGCOLOR="#D6E8FF"
1679WIDTH="100%"
1680CELLPADDING="6"
1681><TR
1682><TD
1683><PRE
1684CLASS="PROGRAMLISTING"
1685><A
1686HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
1687>xmlEntitiesTablePtr</A
1688> xmlCreateEntitiesTable  (void);</PRE
1689></TD
1690></TR
1691></TABLE
1692><P
1693>create and initialize an empty entities hash table.</P
1694><P
1695></P
1696><DIV
1697CLASS="INFORMALTABLE"
1698><A
1699NAME="AEN8231"
1700></A
1701><P
1702></P
1703><TABLE
1704BORDER="0"
1705WIDTH="100%"
1706BGCOLOR="#FFD0D0"
1707CELLSPACING="0"
1708CELLPADDING="4"
1709CLASS="CALSTABLE"
1710><TBODY
1711><TR
1712><TD
1713WIDTH="20%"
1714ALIGN="RIGHT"
1715VALIGN="TOP"
1716><I
1717CLASS="EMPHASIS"
1718>Returns</I
1719> :</TD
1720><TD
1721WIDTH="80%"
1722ALIGN="LEFT"
1723VALIGN="TOP"
1724>the xmlEntitiesTablePtr just created or NULL in case of error.</TD
1725></TR
1726></TBODY
1727></TABLE
1728><P
1729></P
1730></DIV
1731></DIV
1732><HR><DIV
1733CLASS="REFSECT2"
1734><A
1735NAME="AEN8240"
1736></A
1737><H3
1738><A
1739NAME="XMLCOPYENTITIESTABLE"
1740></A
1741>&#62;xmlCopyEntitiesTable ()</H3
1742><TABLE
1743BORDER="0"
1744BGCOLOR="#D6E8FF"
1745WIDTH="100%"
1746CELLPADDING="6"
1747><TR
1748><TD
1749><PRE
1750CLASS="PROGRAMLISTING"
1751><A
1752HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
1753>xmlEntitiesTablePtr</A
1754> xmlCopyEntitiesTable    (<A
1755HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
1756>xmlEntitiesTablePtr</A
1757> table);</PRE
1758></TD
1759></TR
1760></TABLE
1761><P
1762>Build a copy of an entity table.</P
1763><P
1764></P
1765><DIV
1766CLASS="INFORMALTABLE"
1767><A
1768NAME="AEN8248"
1769></A
1770><P
1771></P
1772><TABLE
1773BORDER="0"
1774WIDTH="100%"
1775BGCOLOR="#FFD0D0"
1776CELLSPACING="0"
1777CELLPADDING="4"
1778CLASS="CALSTABLE"
1779><TBODY
1780><TR
1781><TD
1782WIDTH="20%"
1783ALIGN="RIGHT"
1784VALIGN="TOP"
1785><TT
1786CLASS="PARAMETER"
1787><I
1788>table</I
1789></TT
1790>&nbsp;:</TD
1791><TD
1792WIDTH="80%"
1793ALIGN="LEFT"
1794VALIGN="TOP"
1795>  An entity table</TD
1796></TR
1797><TR
1798><TD
1799WIDTH="20%"
1800ALIGN="RIGHT"
1801VALIGN="TOP"
1802><I
1803CLASS="EMPHASIS"
1804>Returns</I
1805> :</TD
1806><TD
1807WIDTH="80%"
1808ALIGN="LEFT"
1809VALIGN="TOP"
1810>the new xmlEntitiesTablePtr or NULL in case of error.</TD
1811></TR
1812></TBODY
1813></TABLE
1814><P
1815></P
1816></DIV
1817></DIV
1818><HR><DIV
1819CLASS="REFSECT2"
1820><A
1821NAME="AEN8261"
1822></A
1823><H3
1824><A
1825NAME="XMLFREEENTITIESTABLE"
1826></A
1827>&#62;xmlFreeEntitiesTable ()</H3
1828><TABLE
1829BORDER="0"
1830BGCOLOR="#D6E8FF"
1831WIDTH="100%"
1832CELLPADDING="6"
1833><TR
1834><TD
1835><PRE
1836CLASS="PROGRAMLISTING"
1837>void        xmlFreeEntitiesTable            (<A
1838HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
1839>xmlEntitiesTablePtr</A
1840> table);</PRE
1841></TD
1842></TR
1843></TABLE
1844><P
1845>Deallocate the memory used by an entities hash table.</P
1846><P
1847></P
1848><DIV
1849CLASS="INFORMALTABLE"
1850><A
1851NAME="AEN8268"
1852></A
1853><P
1854></P
1855><TABLE
1856BORDER="0"
1857WIDTH="100%"
1858BGCOLOR="#FFD0D0"
1859CELLSPACING="0"
1860CELLPADDING="4"
1861CLASS="CALSTABLE"
1862><TBODY
1863><TR
1864><TD
1865WIDTH="20%"
1866ALIGN="RIGHT"
1867VALIGN="TOP"
1868><TT
1869CLASS="PARAMETER"
1870><I
1871>table</I
1872></TT
1873>&nbsp;:</TD
1874><TD
1875WIDTH="80%"
1876ALIGN="LEFT"
1877VALIGN="TOP"
1878>  An entity table</TD
1879></TR
1880></TBODY
1881></TABLE
1882><P
1883></P
1884></DIV
1885></DIV
1886><HR><DIV
1887CLASS="REFSECT2"
1888><A
1889NAME="AEN8277"
1890></A
1891><H3
1892><A
1893NAME="XMLDUMPENTITIESTABLE"
1894></A
1895>&#62;xmlDumpEntitiesTable ()</H3
1896><TABLE
1897BORDER="0"
1898BGCOLOR="#D6E8FF"
1899WIDTH="100%"
1900CELLPADDING="6"
1901><TR
1902><TD
1903><PRE
1904CLASS="PROGRAMLISTING"
1905>void        xmlDumpEntitiesTable            (<A
1906HREF="libxml-tree.html#XMLBUFFERPTR"
1907>xmlBufferPtr</A
1908> buf,
1909                                             <A
1910HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
1911>xmlEntitiesTablePtr</A
1912> table);</PRE
1913></TD
1914></TR
1915></TABLE
1916><P
1917>This will dump the content of the entity table as an XML DTD definition</P
1918><P
1919></P
1920><DIV
1921CLASS="INFORMALTABLE"
1922><A
1923NAME="AEN8285"
1924></A
1925><P
1926></P
1927><TABLE
1928BORDER="0"
1929WIDTH="100%"
1930BGCOLOR="#FFD0D0"
1931CELLSPACING="0"
1932CELLPADDING="4"
1933CLASS="CALSTABLE"
1934><TBODY
1935><TR
1936><TD
1937WIDTH="20%"
1938ALIGN="RIGHT"
1939VALIGN="TOP"
1940><TT
1941CLASS="PARAMETER"
1942><I
1943>buf</I
1944></TT
1945>&nbsp;:</TD
1946><TD
1947WIDTH="80%"
1948ALIGN="LEFT"
1949VALIGN="TOP"
1950>  An XML buffer.</TD
1951></TR
1952><TR
1953><TD
1954WIDTH="20%"
1955ALIGN="RIGHT"
1956VALIGN="TOP"
1957><TT
1958CLASS="PARAMETER"
1959><I
1960>table</I
1961></TT
1962>&nbsp;:</TD
1963><TD
1964WIDTH="80%"
1965ALIGN="LEFT"
1966VALIGN="TOP"
1967>  An entity table</TD
1968></TR
1969></TBODY
1970></TABLE
1971><P
1972></P
1973></DIV
1974></DIV
1975><HR><DIV
1976CLASS="REFSECT2"
1977><A
1978NAME="AEN8298"
1979></A
1980><H3
1981><A
1982NAME="XMLDUMPENTITYDECL"
1983></A
1984>&#62;xmlDumpEntityDecl ()</H3
1985><TABLE
1986BORDER="0"
1987BGCOLOR="#D6E8FF"
1988WIDTH="100%"
1989CELLPADDING="6"
1990><TR
1991><TD
1992><PRE
1993CLASS="PROGRAMLISTING"
1994>void        xmlDumpEntityDecl               (<A
1995HREF="libxml-tree.html#XMLBUFFERPTR"
1996>xmlBufferPtr</A
1997> buf,
1998                                             <A
1999HREF="libxml-entities.html#XMLENTITYPTR"
2000>xmlEntityPtr</A
2001> ent);</PRE
2002></TD
2003></TR
2004></TABLE
2005><P
2006>This will dump the content of the entity table as an XML DTD definition</P
2007><P
2008></P
2009><DIV
2010CLASS="INFORMALTABLE"
2011><A
2012NAME="AEN8306"
2013></A
2014><P
2015></P
2016><TABLE
2017BORDER="0"
2018WIDTH="100%"
2019BGCOLOR="#FFD0D0"
2020CELLSPACING="0"
2021CELLPADDING="4"
2022CLASS="CALSTABLE"
2023><TBODY
2024><TR
2025><TD
2026WIDTH="20%"
2027ALIGN="RIGHT"
2028VALIGN="TOP"
2029><TT
2030CLASS="PARAMETER"
2031><I
2032>buf</I
2033></TT
2034>&nbsp;:</TD
2035><TD
2036WIDTH="80%"
2037ALIGN="LEFT"
2038VALIGN="TOP"
2039>  An XML buffer.</TD
2040></TR
2041><TR
2042><TD
2043WIDTH="20%"
2044ALIGN="RIGHT"
2045VALIGN="TOP"
2046><TT
2047CLASS="PARAMETER"
2048><I
2049>ent</I
2050></TT
2051>&nbsp;:</TD
2052><TD
2053WIDTH="80%"
2054ALIGN="LEFT"
2055VALIGN="TOP"
2056>  An entity table</TD
2057></TR
2058></TBODY
2059></TABLE
2060><P
2061></P
2062></DIV
2063></DIV
2064><HR><DIV
2065CLASS="REFSECT2"
2066><A
2067NAME="AEN8319"
2068></A
2069><H3
2070><A
2071NAME="XMLCLEANUPPREDEFINEDENTITIES"
2072></A
2073>&#62;xmlCleanupPredefinedEntities ()</H3
2074><TABLE
2075BORDER="0"
2076BGCOLOR="#D6E8FF"
2077WIDTH="100%"
2078CELLPADDING="6"
2079><TR
2080><TD
2081><PRE
2082CLASS="PROGRAMLISTING"
2083>void        xmlCleanupPredefinedEntities    (void);</PRE
2084></TD
2085></TR
2086></TABLE
2087><P
2088>Cleanup up the predefined entities table.</P
2089><P
2090></P
2091></DIV
2092></DIV
2093><DIV
2094CLASS="NAVFOOTER"
2095><BR
2096CLEAR="all"><BR><TABLE
2097WIDTH="100%"
2098BORDER="0"
2099BGCOLOR="#000000"
2100CELLPADDING="1"
2101CELLSPACING="0"
2102><TR
2103><TD
2104WIDTH="25%"
2105BGCOLOR="#C00000"
2106ALIGN="left"
2107><A
2108HREF="libxml-tree.html"
2109><FONT
2110COLOR="#FFFFFF"
2111SIZE="3"
2112><B
2113>&#60;&#60;&#60; Previous Page</B
2114></FONT
2115></A
2116></TD
2117><TD
2118WIDTH="25%"
2119BGCOLOR="#0000C0"
2120ALIGN="center"
2121><FONT
2122COLOR="#FFFFFF"
2123SIZE="3"
2124><B
2125><A
2126HREF="book1.html"
2127><FONT
2128COLOR="#FFFFFF"
2129SIZE="3"
2130><B
2131>Home</B
2132></FONT
2133></A
2134></B
2135></FONT
2136></TD
2137><TD
2138WIDTH="25%"
2139BGCOLOR="#00C000"
2140ALIGN="center"
2141><FONT
2142COLOR="#FFFFFF"
2143SIZE="3"
2144><B
2145><A
2146HREF="libxml-lib.html"
2147><FONT
2148COLOR="#FFFFFF"
2149SIZE="3"
2150><B
2151>Up</B
2152></FONT
2153></A
2154></B
2155></FONT
2156></TD
2157><TD
2158WIDTH="25%"
2159BGCOLOR="#C00000"
2160ALIGN="right"
2161><A
2162HREF="libxml-valid.html"
2163><FONT
2164COLOR="#FFFFFF"
2165SIZE="3"
2166><B
2167>Next Page &#62;&#62;&#62;</B
2168></FONT
2169></A
2170></TD
2171></TR
2172><TR
2173><TD
2174COLSPAN="2"
2175ALIGN="left"
2176><FONT
2177COLOR="#FFFFFF"
2178SIZE="3"
2179><B
2180>tree</B
2181></FONT
2182></TD
2183><TD
2184COLSPAN="2"
2185ALIGN="right"
2186><FONT
2187COLOR="#FFFFFF"
2188SIZE="3"
2189><B
2190>valid</B
2191></FONT
2192></TD
2193></TR
2194></TABLE
2195></DIV
2196></BODY
2197></HTML
2198>