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