blob: a8dc09ceabd27d2c61329fab1e1655157ed14491 [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 Veillard14fff061999-06-22 21:49:07 +0000118NAME="AEN3522"
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 Veillard14fff061999-06-22 21:49:07 +0000126NAME="AEN3525"
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);
263<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);
277<A
278HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
279>xmlEntitiesTablePtr</A
280> <A
281HREF="gnome-xml-entities.html#XMLCREATEENTITIESTABLE"
282>xmlCreateEntitiesTable</A
283> (void);
284<A
285HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
286>xmlEntitiesTablePtr</A
287> <A
288HREF="gnome-xml-entities.html#XMLCOPYENTITIESTABLE"
289>xmlCopyEntitiesTable</A
290> (<A
291HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
292>xmlEntitiesTablePtr</A
293> table);
294void <A
295HREF="gnome-xml-entities.html#XMLFREEENTITIESTABLE"
296>xmlFreeEntitiesTable</A
297> (<A
298HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
299>xmlEntitiesTablePtr</A
300> table);
301void <A
302HREF="gnome-xml-entities.html#XMLDUMPENTITIESTABLE"
303>xmlDumpEntitiesTable</A
304> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000305HREF="gnome-xml-tree.html#XMLBUFFERPTR"
306>xmlBufferPtr</A
307> buf,
308 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000309HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
310>xmlEntitiesTablePtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000311> table);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000312></TD
313></TR
314></TABLE
315></DIV
316><DIV
317CLASS="REFSECT1"
318><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000319NAME="AEN3574"
Daniel Veillard35925471999-02-25 08:46:07 +0000320></A
321><H2
322>Description</H2
323><P
324></P
325></DIV
326><DIV
327CLASS="REFSECT1"
328><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000329NAME="AEN3577"
Daniel Veillard35925471999-02-25 08:46:07 +0000330></A
331><H2
332>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000333><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000334CLASS="REFSECT2"
335><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000336NAME="AEN3579"
Daniel Veillard35925471999-02-25 08:46:07 +0000337></A
338><H3
339><A
340NAME="XML-INTERNAL-GENERAL-ENTITY"
341></A
342>XML_INTERNAL_GENERAL_ENTITY</H3
343><TABLE
344BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000345BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000346WIDTH="100%"
347CELLPADDING="6"
348><TR
349><TD
350><PRE
351CLASS="PROGRAMLISTING"
352>#define XML_INTERNAL_GENERAL_ENTITY 1</PRE
353></TD
354></TR
355></TABLE
356><P
357></P
358></DIV
359><HR><DIV
360CLASS="REFSECT2"
361><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000362NAME="AEN3584"
Daniel Veillard35925471999-02-25 08:46:07 +0000363></A
364><H3
365><A
366NAME="XML-EXTERNAL-GENERAL-PARSED-ENTITY"
367></A
368>XML_EXTERNAL_GENERAL_PARSED_ENTITY</H3
369><TABLE
370BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000371BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000372WIDTH="100%"
373CELLPADDING="6"
374><TR
375><TD
376><PRE
377CLASS="PROGRAMLISTING"
378>#define XML_EXTERNAL_GENERAL_PARSED_ENTITY 2</PRE
379></TD
380></TR
381></TABLE
382><P
383></P
384></DIV
385><HR><DIV
386CLASS="REFSECT2"
387><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000388NAME="AEN3589"
Daniel Veillard35925471999-02-25 08:46:07 +0000389></A
390><H3
391><A
392NAME="XML-EXTERNAL-GENERAL-UNPARSED-ENTITY"
393></A
394>XML_EXTERNAL_GENERAL_UNPARSED_ENTITY</H3
395><TABLE
396BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000397BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000398WIDTH="100%"
399CELLPADDING="6"
400><TR
401><TD
402><PRE
403CLASS="PROGRAMLISTING"
404>#define XML_EXTERNAL_GENERAL_UNPARSED_ENTITY 3</PRE
405></TD
406></TR
407></TABLE
408><P
409></P
410></DIV
411><HR><DIV
412CLASS="REFSECT2"
413><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000414NAME="AEN3594"
Daniel Veillard35925471999-02-25 08:46:07 +0000415></A
416><H3
417><A
418NAME="XML-INTERNAL-PARAMETER-ENTITY"
419></A
420>XML_INTERNAL_PARAMETER_ENTITY</H3
421><TABLE
422BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000423BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000424WIDTH="100%"
425CELLPADDING="6"
426><TR
427><TD
428><PRE
429CLASS="PROGRAMLISTING"
430>#define XML_INTERNAL_PARAMETER_ENTITY 4</PRE
431></TD
432></TR
433></TABLE
434><P
435></P
436></DIV
437><HR><DIV
438CLASS="REFSECT2"
439><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000440NAME="AEN3599"
Daniel Veillard35925471999-02-25 08:46:07 +0000441></A
442><H3
443><A
444NAME="XML-EXTERNAL-PARAMETER-ENTITY"
445></A
446>XML_EXTERNAL_PARAMETER_ENTITY</H3
447><TABLE
448BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000449BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000450WIDTH="100%"
451CELLPADDING="6"
452><TR
453><TD
454><PRE
455CLASS="PROGRAMLISTING"
456>#define XML_EXTERNAL_PARAMETER_ENTITY 5</PRE
457></TD
458></TR
459></TABLE
460><P
461></P
462></DIV
463><HR><DIV
464CLASS="REFSECT2"
465><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000466NAME="AEN3604"
Daniel Veillard35925471999-02-25 08:46:07 +0000467></A
468><H3
469><A
470NAME="XML-INTERNAL-PREDEFINED-ENTITY"
471></A
472>XML_INTERNAL_PREDEFINED_ENTITY</H3
473><TABLE
474BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000475BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000476WIDTH="100%"
477CELLPADDING="6"
478><TR
479><TD
480><PRE
481CLASS="PROGRAMLISTING"
482>#define XML_INTERNAL_PREDEFINED_ENTITY 6</PRE
483></TD
484></TR
485></TABLE
486><P
487></P
488></DIV
489><HR><DIV
490CLASS="REFSECT2"
491><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000492NAME="AEN3609"
Daniel Veillard35925471999-02-25 08:46:07 +0000493></A
494><H3
495><A
496NAME="XMLENTITYPTR"
497></A
498>xmlEntityPtr</H3
499><TABLE
500BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000501BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000502WIDTH="100%"
503CELLPADDING="6"
504><TR
505><TD
506><PRE
507CLASS="PROGRAMLISTING"
508>typedef xmlEntity *xmlEntityPtr;</PRE
509></TD
510></TR
511></TABLE
512><P
513></P
514></DIV
515><HR><DIV
516CLASS="REFSECT2"
517><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000518NAME="AEN3614"
Daniel Veillard35925471999-02-25 08:46:07 +0000519></A
520><H3
521><A
522NAME="XML-MIN-ENTITIES-TABLE"
523></A
524>XML_MIN_ENTITIES_TABLE</H3
525><TABLE
526BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000527BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000528WIDTH="100%"
529CELLPADDING="6"
530><TR
531><TD
532><PRE
533CLASS="PROGRAMLISTING"
534>#define XML_MIN_ENTITIES_TABLE 32</PRE
535></TD
536></TR
537></TABLE
538><P
539></P
540></DIV
541><HR><DIV
542CLASS="REFSECT2"
543><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000544NAME="AEN3619"
Daniel Veillard35925471999-02-25 08:46:07 +0000545></A
546><H3
547><A
548NAME="XMLENTITIESTABLEPTR"
549></A
550>xmlEntitiesTablePtr</H3
551><TABLE
552BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000553BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000554WIDTH="100%"
555CELLPADDING="6"
556><TR
557><TD
558><PRE
559CLASS="PROGRAMLISTING"
560>typedef xmlEntitiesTable *xmlEntitiesTablePtr;</PRE
561></TD
562></TR
563></TABLE
564><P
565></P
566></DIV
567><HR><DIV
568CLASS="REFSECT2"
569><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000570NAME="AEN3624"
Daniel Veillard35925471999-02-25 08:46:07 +0000571></A
572><H3
573><A
574NAME="XMLADDDOCENTITY"
575></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000576>xmlAddDocEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000577><TABLE
578BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000579BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000580WIDTH="100%"
581CELLPADDING="6"
582><TR
583><TD
584><PRE
585CLASS="PROGRAMLISTING"
586>void xmlAddDocEntity (<A
587HREF="gnome-xml-tree.html#XMLDOCPTR"
588>xmlDocPtr</A
589> doc,
590 const <A
591HREF="gnome-xml-tree.html#CHAR"
592>CHAR</A
593> *name,
594 int type,
595 const <A
596HREF="gnome-xml-tree.html#CHAR"
597>CHAR</A
598> *ExternalID,
599 const <A
600HREF="gnome-xml-tree.html#CHAR"
601>CHAR</A
602> *SystemID,
603 <A
604HREF="gnome-xml-tree.html#CHAR"
605>CHAR</A
606> *content);</PRE
607></TD
608></TR
609></TABLE
610><P
611>Register a new entity for this document.</P
612><P
613></P
614><DIV
615CLASS="INFORMALTABLE"
616><P
617></P
618><TABLE
619BORDER="0"
620WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000621BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000622CELLSPACING="0"
623CELLPADDING="4"
624CLASS="CALSTABLE"
625><TR
626><TD
627WIDTH="20%"
628ALIGN="RIGHT"
629VALIGN="TOP"
630><TT
631CLASS="PARAMETER"
632><I
633>doc</I
634></TT
635>&nbsp;:</TD
636><TD
637WIDTH="80%"
638ALIGN="LEFT"
639VALIGN="TOP"
640> the document</TD
641></TR
642><TR
643><TD
644WIDTH="20%"
645ALIGN="RIGHT"
646VALIGN="TOP"
647><TT
648CLASS="PARAMETER"
649><I
650>name</I
651></TT
652>&nbsp;:</TD
653><TD
654WIDTH="80%"
655ALIGN="LEFT"
656VALIGN="TOP"
657> the entity name</TD
658></TR
659><TR
660><TD
661WIDTH="20%"
662ALIGN="RIGHT"
663VALIGN="TOP"
664><TT
665CLASS="PARAMETER"
666><I
667>type</I
668></TT
669>&nbsp;:</TD
670><TD
671WIDTH="80%"
672ALIGN="LEFT"
673VALIGN="TOP"
674> the entity type XML_xxx_yyy_ENTITY</TD
675></TR
676><TR
677><TD
678WIDTH="20%"
679ALIGN="RIGHT"
680VALIGN="TOP"
681><TT
682CLASS="PARAMETER"
683><I
684>ExternalID</I
685></TT
686>&nbsp;:</TD
687><TD
688WIDTH="80%"
689ALIGN="LEFT"
690VALIGN="TOP"
691> the entity external ID if available</TD
692></TR
693><TR
694><TD
695WIDTH="20%"
696ALIGN="RIGHT"
697VALIGN="TOP"
698><TT
699CLASS="PARAMETER"
700><I
701>SystemID</I
702></TT
703>&nbsp;:</TD
704><TD
705WIDTH="80%"
706ALIGN="LEFT"
707VALIGN="TOP"
708> the entity system ID if available</TD
709></TR
710><TR
711><TD
712WIDTH="20%"
713ALIGN="RIGHT"
714VALIGN="TOP"
715><TT
716CLASS="PARAMETER"
717><I
718>content</I
719></TT
720>&nbsp;:</TD
721><TD
722WIDTH="80%"
723ALIGN="LEFT"
724VALIGN="TOP"
725> the entity content</TD
726></TR
727></TABLE
728><P
729></P
730></DIV
731></DIV
732><HR><DIV
733CLASS="REFSECT2"
734><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000735NAME="AEN3664"
Daniel Veillard35925471999-02-25 08:46:07 +0000736></A
737><H3
738><A
739NAME="XMLADDDTDENTITY"
740></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000741>xmlAddDtdEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000742><TABLE
743BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000744BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000745WIDTH="100%"
746CELLPADDING="6"
747><TR
748><TD
749><PRE
750CLASS="PROGRAMLISTING"
751>void xmlAddDtdEntity (<A
752HREF="gnome-xml-tree.html#XMLDOCPTR"
753>xmlDocPtr</A
754> doc,
755 const <A
756HREF="gnome-xml-tree.html#CHAR"
757>CHAR</A
758> *name,
759 int type,
760 const <A
761HREF="gnome-xml-tree.html#CHAR"
762>CHAR</A
763> *ExternalID,
764 const <A
765HREF="gnome-xml-tree.html#CHAR"
766>CHAR</A
767> *SystemID,
768 <A
769HREF="gnome-xml-tree.html#CHAR"
770>CHAR</A
771> *content);</PRE
772></TD
773></TR
774></TABLE
775><P
776>Register a new entity for this document DTD.</P
777><P
778></P
779><DIV
780CLASS="INFORMALTABLE"
781><P
782></P
783><TABLE
784BORDER="0"
785WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000786BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000787CELLSPACING="0"
788CELLPADDING="4"
789CLASS="CALSTABLE"
790><TR
791><TD
792WIDTH="20%"
793ALIGN="RIGHT"
794VALIGN="TOP"
795><TT
796CLASS="PARAMETER"
797><I
798>doc</I
799></TT
800>&nbsp;:</TD
801><TD
802WIDTH="80%"
803ALIGN="LEFT"
804VALIGN="TOP"
805> the document</TD
806></TR
807><TR
808><TD
809WIDTH="20%"
810ALIGN="RIGHT"
811VALIGN="TOP"
812><TT
813CLASS="PARAMETER"
814><I
815>name</I
816></TT
817>&nbsp;:</TD
818><TD
819WIDTH="80%"
820ALIGN="LEFT"
821VALIGN="TOP"
822> the entity name</TD
823></TR
824><TR
825><TD
826WIDTH="20%"
827ALIGN="RIGHT"
828VALIGN="TOP"
829><TT
830CLASS="PARAMETER"
831><I
832>type</I
833></TT
834>&nbsp;:</TD
835><TD
836WIDTH="80%"
837ALIGN="LEFT"
838VALIGN="TOP"
839> the entity type XML_xxx_yyy_ENTITY</TD
840></TR
841><TR
842><TD
843WIDTH="20%"
844ALIGN="RIGHT"
845VALIGN="TOP"
846><TT
847CLASS="PARAMETER"
848><I
849>ExternalID</I
850></TT
851>&nbsp;:</TD
852><TD
853WIDTH="80%"
854ALIGN="LEFT"
855VALIGN="TOP"
856> the entity external ID if available</TD
857></TR
858><TR
859><TD
860WIDTH="20%"
861ALIGN="RIGHT"
862VALIGN="TOP"
863><TT
864CLASS="PARAMETER"
865><I
866>SystemID</I
867></TT
868>&nbsp;:</TD
869><TD
870WIDTH="80%"
871ALIGN="LEFT"
872VALIGN="TOP"
873> the entity system ID if available</TD
874></TR
875><TR
876><TD
877WIDTH="20%"
878ALIGN="RIGHT"
879VALIGN="TOP"
880><TT
881CLASS="PARAMETER"
882><I
883>content</I
884></TT
885>&nbsp;:</TD
886><TD
887WIDTH="80%"
888ALIGN="LEFT"
889VALIGN="TOP"
890> the entity content</TD
891></TR
892></TABLE
893><P
894></P
895></DIV
896></DIV
897><HR><DIV
898CLASS="REFSECT2"
899><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000900NAME="AEN3704"
Daniel Veillard35925471999-02-25 08:46:07 +0000901></A
902><H3
903><A
904NAME="XMLGETPREDEFINEDENTITY"
905></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000906>xmlGetPredefinedEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000907><TABLE
908BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000909BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000910WIDTH="100%"
911CELLPADDING="6"
912><TR
913><TD
914><PRE
915CLASS="PROGRAMLISTING"
916><A
917HREF="gnome-xml-entities.html#XMLENTITYPTR"
918>xmlEntityPtr</A
919> xmlGetPredefinedEntity (const <A
920HREF="gnome-xml-tree.html#CHAR"
921>CHAR</A
922> *name);</PRE
923></TD
924></TR
925></TABLE
926><P
927>Check whether this name is an predefined entity.</P
928><P
929></P
930><DIV
931CLASS="INFORMALTABLE"
932><P
933></P
934><TABLE
935BORDER="0"
936WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000937BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000938CELLSPACING="0"
939CELLPADDING="4"
940CLASS="CALSTABLE"
941><TR
942><TD
943WIDTH="20%"
944ALIGN="RIGHT"
945VALIGN="TOP"
946><TT
947CLASS="PARAMETER"
948><I
949>name</I
950></TT
951>&nbsp;:</TD
952><TD
953WIDTH="80%"
954ALIGN="LEFT"
955VALIGN="TOP"
956> the entity name</TD
957></TR
958><TR
959><TD
960WIDTH="20%"
961ALIGN="RIGHT"
962VALIGN="TOP"
963><I
964CLASS="EMPHASIS"
965>Returns</I
966> :</TD
967><TD
968WIDTH="80%"
969ALIGN="LEFT"
970VALIGN="TOP"
971>NULL if not, othervise the entity</TD
972></TR
973></TABLE
974><P
975></P
976></DIV
977></DIV
978><HR><DIV
979CLASS="REFSECT2"
980><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000981NAME="AEN3725"
Daniel Veillard35925471999-02-25 08:46:07 +0000982></A
983><H3
984><A
985NAME="XMLGETDOCENTITY"
986></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000987>xmlGetDocEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000988><TABLE
989BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000990BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000991WIDTH="100%"
992CELLPADDING="6"
993><TR
994><TD
995><PRE
996CLASS="PROGRAMLISTING"
997><A
998HREF="gnome-xml-entities.html#XMLENTITYPTR"
999>xmlEntityPtr</A
1000> xmlGetDocEntity (<A
1001HREF="gnome-xml-tree.html#XMLDOCPTR"
1002>xmlDocPtr</A
1003> doc,
1004 const <A
1005HREF="gnome-xml-tree.html#CHAR"
1006>CHAR</A
1007> *name);</PRE
1008></TD
1009></TR
1010></TABLE
1011><P
1012>Do an entity lookup in the document entity hash table and
1013returns the corrsponding entity, otherwise a lookup is done
1014in the predefined entities too.</P
1015><P
1016></P
1017><DIV
1018CLASS="INFORMALTABLE"
1019><P
1020></P
1021><TABLE
1022BORDER="0"
1023WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001024BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001025CELLSPACING="0"
1026CELLPADDING="4"
1027CLASS="CALSTABLE"
1028><TR
1029><TD
1030WIDTH="20%"
1031ALIGN="RIGHT"
1032VALIGN="TOP"
1033><TT
1034CLASS="PARAMETER"
1035><I
1036>doc</I
1037></TT
1038>&nbsp;:</TD
1039><TD
1040WIDTH="80%"
1041ALIGN="LEFT"
1042VALIGN="TOP"
1043> the document referencing the entity</TD
1044></TR
1045><TR
1046><TD
1047WIDTH="20%"
1048ALIGN="RIGHT"
1049VALIGN="TOP"
1050><TT
1051CLASS="PARAMETER"
1052><I
1053>name</I
1054></TT
1055>&nbsp;:</TD
1056><TD
1057WIDTH="80%"
1058ALIGN="LEFT"
1059VALIGN="TOP"
1060> the entity name</TD
1061></TR
1062><TR
1063><TD
1064WIDTH="20%"
1065ALIGN="RIGHT"
1066VALIGN="TOP"
1067><I
1068CLASS="EMPHASIS"
1069>Returns</I
1070> :</TD
1071><TD
1072WIDTH="80%"
1073ALIGN="LEFT"
1074VALIGN="TOP"
1075>A pointer to the entity structure or NULL if not found.</TD
1076></TR
1077></TABLE
1078><P
1079></P
1080></DIV
1081></DIV
1082><HR><DIV
1083CLASS="REFSECT2"
1084><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001085NAME="AEN3751"
Daniel Veillard35925471999-02-25 08:46:07 +00001086></A
1087><H3
1088><A
1089NAME="XMLGETDTDENTITY"
1090></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001091>xmlGetDtdEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001092><TABLE
1093BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001094BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001095WIDTH="100%"
1096CELLPADDING="6"
1097><TR
1098><TD
1099><PRE
1100CLASS="PROGRAMLISTING"
1101><A
1102HREF="gnome-xml-entities.html#XMLENTITYPTR"
1103>xmlEntityPtr</A
1104> xmlGetDtdEntity (<A
1105HREF="gnome-xml-tree.html#XMLDOCPTR"
1106>xmlDocPtr</A
1107> doc,
1108 const <A
1109HREF="gnome-xml-tree.html#CHAR"
1110>CHAR</A
1111> *name);</PRE
1112></TD
1113></TR
1114></TABLE
1115><P
1116>Do an entity lookup in the Dtd entity hash table and
1117returns the corresponding entity, if found.</P
1118><P
1119></P
1120><DIV
1121CLASS="INFORMALTABLE"
1122><P
1123></P
1124><TABLE
1125BORDER="0"
1126WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001127BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001128CELLSPACING="0"
1129CELLPADDING="4"
1130CLASS="CALSTABLE"
1131><TR
1132><TD
1133WIDTH="20%"
1134ALIGN="RIGHT"
1135VALIGN="TOP"
1136><TT
1137CLASS="PARAMETER"
1138><I
1139>doc</I
1140></TT
1141>&nbsp;:</TD
1142><TD
1143WIDTH="80%"
1144ALIGN="LEFT"
1145VALIGN="TOP"
1146> the document referencing the entity</TD
1147></TR
1148><TR
1149><TD
1150WIDTH="20%"
1151ALIGN="RIGHT"
1152VALIGN="TOP"
1153><TT
1154CLASS="PARAMETER"
1155><I
1156>name</I
1157></TT
1158>&nbsp;:</TD
1159><TD
1160WIDTH="80%"
1161ALIGN="LEFT"
1162VALIGN="TOP"
1163> the entity name</TD
1164></TR
1165><TR
1166><TD
1167WIDTH="20%"
1168ALIGN="RIGHT"
1169VALIGN="TOP"
1170><I
1171CLASS="EMPHASIS"
1172>Returns</I
1173> :</TD
1174><TD
1175WIDTH="80%"
1176ALIGN="LEFT"
1177VALIGN="TOP"
1178>A pointer to the entity structure or NULL if not found.</TD
1179></TR
1180></TABLE
1181><P
1182></P
1183></DIV
1184></DIV
1185><HR><DIV
1186CLASS="REFSECT2"
1187><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001188NAME="AEN3777"
Daniel Veillard35925471999-02-25 08:46:07 +00001189></A
1190><H3
1191><A
1192NAME="XMLENCODEENTITIES"
1193></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001194>xmlEncodeEntities ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001195><TABLE
1196BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001197BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001198WIDTH="100%"
1199CELLPADDING="6"
1200><TR
1201><TD
1202><PRE
1203CLASS="PROGRAMLISTING"
1204><A
1205HREF="gnome-xml-tree.html#CHAR"
1206>CHAR</A
1207>* xmlEncodeEntities (<A
1208HREF="gnome-xml-tree.html#XMLDOCPTR"
1209>xmlDocPtr</A
1210> doc,
1211 const <A
1212HREF="gnome-xml-tree.html#CHAR"
1213>CHAR</A
1214> *input);</PRE
1215></TD
1216></TR
1217></TABLE
1218><P
1219>Do a global encoding of a string, replacing the predefined entities
1220and non ASCII values with their entities and CharRef counterparts.</P
1221><P
1222>TODO !!!! Once moved to UTF-8 internal encoding, the encoding of non-ascii
1223get erroneous.</P
1224><P
Daniel Veillard35925471999-02-25 08:46:07 +00001225></P
1226><DIV
1227CLASS="INFORMALTABLE"
1228><P
1229></P
1230><TABLE
1231BORDER="0"
1232WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001233BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001234CELLSPACING="0"
1235CELLPADDING="4"
1236CLASS="CALSTABLE"
1237><TR
1238><TD
1239WIDTH="20%"
1240ALIGN="RIGHT"
1241VALIGN="TOP"
1242><TT
1243CLASS="PARAMETER"
1244><I
1245>doc</I
1246></TT
1247>&nbsp;:</TD
1248><TD
1249WIDTH="80%"
1250ALIGN="LEFT"
1251VALIGN="TOP"
1252> the document containing the string</TD
1253></TR
1254><TR
1255><TD
1256WIDTH="20%"
1257ALIGN="RIGHT"
1258VALIGN="TOP"
1259><TT
1260CLASS="PARAMETER"
1261><I
1262>input</I
1263></TT
1264>&nbsp;:</TD
1265><TD
1266WIDTH="80%"
1267ALIGN="LEFT"
1268VALIGN="TOP"
1269> A string to convert to XML.</TD
1270></TR
1271><TR
1272><TD
1273WIDTH="20%"
1274ALIGN="RIGHT"
1275VALIGN="TOP"
1276><I
1277CLASS="EMPHASIS"
1278>Returns</I
1279> :</TD
1280><TD
1281WIDTH="80%"
1282ALIGN="LEFT"
1283VALIGN="TOP"
1284>A newly allocated string with the substitution done.</TD
1285></TR
1286></TABLE
1287><P
1288></P
1289></DIV
1290></DIV
1291><HR><DIV
1292CLASS="REFSECT2"
1293><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001294NAME="AEN3804"
Daniel Veillard35925471999-02-25 08:46:07 +00001295></A
1296><H3
1297><A
1298NAME="XMLCREATEENTITIESTABLE"
1299></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001300>xmlCreateEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001301><TABLE
1302BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001303BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001304WIDTH="100%"
1305CELLPADDING="6"
1306><TR
1307><TD
1308><PRE
1309CLASS="PROGRAMLISTING"
1310><A
1311HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1312>xmlEntitiesTablePtr</A
1313> xmlCreateEntitiesTable (void);</PRE
1314></TD
1315></TR
1316></TABLE
1317><P
1318>create and initialize an empty entities hash table.</P
1319><P
1320></P
1321><DIV
1322CLASS="INFORMALTABLE"
1323><P
1324></P
1325><TABLE
1326BORDER="0"
1327WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001328BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001329CELLSPACING="0"
1330CELLPADDING="4"
1331CLASS="CALSTABLE"
1332><TR
1333><TD
1334WIDTH="20%"
1335ALIGN="RIGHT"
1336VALIGN="TOP"
1337><I
1338CLASS="EMPHASIS"
1339>Returns</I
1340> :</TD
1341><TD
1342WIDTH="80%"
1343ALIGN="LEFT"
1344VALIGN="TOP"
1345>the xmlEntitiesTablePtr just created or NULL in case of error.</TD
1346></TR
1347></TABLE
1348><P
1349></P
1350></DIV
1351></DIV
1352><HR><DIV
1353CLASS="REFSECT2"
1354><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001355NAME="AEN3820"
Daniel Veillard35925471999-02-25 08:46:07 +00001356></A
1357><H3
1358><A
1359NAME="XMLCOPYENTITIESTABLE"
1360></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001361>xmlCopyEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001362><TABLE
1363BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001364BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001365WIDTH="100%"
1366CELLPADDING="6"
1367><TR
1368><TD
1369><PRE
1370CLASS="PROGRAMLISTING"
1371><A
1372HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1373>xmlEntitiesTablePtr</A
1374> xmlCopyEntitiesTable (<A
1375HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1376>xmlEntitiesTablePtr</A
1377> table);</PRE
1378></TD
1379></TR
1380></TABLE
1381><P
1382>Build a copy of an entity table.</P
1383><P
1384></P
1385><DIV
1386CLASS="INFORMALTABLE"
1387><P
1388></P
1389><TABLE
1390BORDER="0"
1391WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001392BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001393CELLSPACING="0"
1394CELLPADDING="4"
1395CLASS="CALSTABLE"
1396><TR
1397><TD
1398WIDTH="20%"
1399ALIGN="RIGHT"
1400VALIGN="TOP"
1401><TT
1402CLASS="PARAMETER"
1403><I
1404>table</I
1405></TT
1406>&nbsp;:</TD
1407><TD
1408WIDTH="80%"
1409ALIGN="LEFT"
1410VALIGN="TOP"
1411> An entity table</TD
1412></TR
1413><TR
1414><TD
1415WIDTH="20%"
1416ALIGN="RIGHT"
1417VALIGN="TOP"
1418><I
1419CLASS="EMPHASIS"
1420>Returns</I
1421> :</TD
1422><TD
1423WIDTH="80%"
1424ALIGN="LEFT"
1425VALIGN="TOP"
1426>the new xmlEntitiesTablePtr or NULL in case of error.</TD
1427></TR
1428></TABLE
1429><P
1430></P
1431></DIV
1432></DIV
1433><HR><DIV
1434CLASS="REFSECT2"
1435><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001436NAME="AEN3841"
Daniel Veillard35925471999-02-25 08:46:07 +00001437></A
1438><H3
1439><A
1440NAME="XMLFREEENTITIESTABLE"
1441></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001442>xmlFreeEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001443><TABLE
1444BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001445BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001446WIDTH="100%"
1447CELLPADDING="6"
1448><TR
1449><TD
1450><PRE
1451CLASS="PROGRAMLISTING"
1452>void xmlFreeEntitiesTable (<A
1453HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1454>xmlEntitiesTablePtr</A
1455> table);</PRE
1456></TD
1457></TR
1458></TABLE
1459><P
1460>Deallocate the memory used by an entities hash table.</P
1461><P
1462></P
1463><DIV
1464CLASS="INFORMALTABLE"
1465><P
1466></P
1467><TABLE
1468BORDER="0"
1469WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001470BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001471CELLSPACING="0"
1472CELLPADDING="4"
1473CLASS="CALSTABLE"
1474><TR
1475><TD
1476WIDTH="20%"
1477ALIGN="RIGHT"
1478VALIGN="TOP"
1479><TT
1480CLASS="PARAMETER"
1481><I
1482>table</I
1483></TT
1484>&nbsp;:</TD
1485><TD
1486WIDTH="80%"
1487ALIGN="LEFT"
1488VALIGN="TOP"
1489> An entity table</TD
1490></TR
1491></TABLE
1492><P
1493></P
1494></DIV
1495></DIV
1496><HR><DIV
1497CLASS="REFSECT2"
1498><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001499NAME="AEN3857"
Daniel Veillard35925471999-02-25 08:46:07 +00001500></A
1501><H3
1502><A
1503NAME="XMLDUMPENTITIESTABLE"
1504></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001505>xmlDumpEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001506><TABLE
1507BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001508BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001509WIDTH="100%"
1510CELLPADDING="6"
1511><TR
1512><TD
1513><PRE
1514CLASS="PROGRAMLISTING"
1515>void xmlDumpEntitiesTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001516HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1517>xmlBufferPtr</A
1518> buf,
1519 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001520HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1521>xmlEntitiesTablePtr</A
1522> table);</PRE
1523></TD
1524></TR
1525></TABLE
1526><P
1527>This will dump the content of the entity table as an XML DTD definition</P
1528><P
Daniel Veillard35925471999-02-25 08:46:07 +00001529></P
1530><DIV
1531CLASS="INFORMALTABLE"
1532><P
1533></P
1534><TABLE
1535BORDER="0"
1536WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001537BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001538CELLSPACING="0"
1539CELLPADDING="4"
1540CLASS="CALSTABLE"
1541><TR
1542><TD
1543WIDTH="20%"
1544ALIGN="RIGHT"
1545VALIGN="TOP"
1546><TT
1547CLASS="PARAMETER"
1548><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001549>buf</I
1550></TT
1551>&nbsp;:</TD
1552><TD
1553WIDTH="80%"
1554ALIGN="LEFT"
1555VALIGN="TOP"
1556> An XML buffer.</TD
1557></TR
1558><TR
1559><TD
1560WIDTH="20%"
1561ALIGN="RIGHT"
1562VALIGN="TOP"
1563><TT
1564CLASS="PARAMETER"
1565><I
Daniel Veillard35925471999-02-25 08:46:07 +00001566>table</I
1567></TT
1568>&nbsp;:</TD
1569><TD
1570WIDTH="80%"
1571ALIGN="LEFT"
1572VALIGN="TOP"
1573> An entity table</TD
1574></TR
1575></TABLE
1576><P
1577></P
1578></DIV
1579></DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001580></DIV
1581><DIV
1582CLASS="NAVFOOTER"
Daniel Veillard14fff061999-06-22 21:49:07 +00001583><BR><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001584WIDTH="100%"
1585BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001586BGCOLOR="#000000"
1587CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00001588CELLSPACING="0"
1589><TR
1590><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001591WIDTH="25%"
1592BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00001593ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00001594><A
1595HREF="gnome-xml-tree.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00001596><FONT
1597COLOR="#FFFFFF"
1598SIZE="3"
1599><B
1600>&#60;&#60;&#60; Previous Page</B
1601></FONT
1602></A
Daniel Veillard35925471999-02-25 08:46:07 +00001603></TD
1604><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001605WIDTH="25%"
1606BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00001607ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00001608><FONT
1609COLOR="#FFFFFF"
1610SIZE="3"
1611><B
Daniel Veillard35925471999-02-25 08:46:07 +00001612><A
1613HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00001614><FONT
1615COLOR="#FFFFFF"
1616SIZE="3"
1617><B
1618>Home</B
1619></FONT
1620></A
1621></B
1622></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00001623></TD
1624><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001625WIDTH="25%"
1626BGCOLOR="#00C000"
1627ALIGN="center"
1628><FONT
1629COLOR="#FFFFFF"
1630SIZE="3"
1631><B
1632><A
1633HREF="libxml.html"
1634><FONT
1635COLOR="#FFFFFF"
1636SIZE="3"
1637><B
1638>Up</B
1639></FONT
1640></A
1641></B
1642></FONT
1643></TD
1644><TD
1645WIDTH="25%"
1646BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00001647ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00001648><A
1649HREF="gnome-xml-valid.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00001650><FONT
1651COLOR="#FFFFFF"
1652SIZE="3"
1653><B
1654>Next Page &#62;&#62;&#62;</B
1655></FONT
1656></A
Daniel Veillard35925471999-02-25 08:46:07 +00001657></TD
1658></TR
1659><TR
1660><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001661COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00001662ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00001663><FONT
1664COLOR="#FFFFFF"
1665SIZE="3"
1666><B
1667>tree</B
1668></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00001669></TD
1670><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001671COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00001672ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00001673><FONT
1674COLOR="#FFFFFF"
1675SIZE="3"
1676><B
1677>valid</B
1678></FONT
1679></TD
Daniel Veillard35925471999-02-25 08:46:07 +00001680></TR
1681></TABLE
1682></DIV
1683></BODY
1684></HTML
1685>