blob: 0a27454b0c6b4d8f296c6b2b2face3ecdf7bca5f [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 Veillarde2d034d1999-07-27 19:52:06 +0000118NAME="AEN3699"
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 Veillarde2d034d1999-07-27 19:52:06 +0000126NAME="AEN3702"
Daniel Veillard35925471999-02-25 08:46:07 +0000127></A
128><H2
129>Synopsis</H2
130><TABLE
131BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000132BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000133WIDTH="100%"
134CELLPADDING="6"
135><TR
136><TD
137><PRE
138CLASS="SYNOPSIS"
139>&#13;
140
141#define <A
142HREF="gnome-xml-entities.html#XML-INTERNAL-GENERAL-ENTITY"
143>XML_INTERNAL_GENERAL_ENTITY</A
144>
145#define <A
146HREF="gnome-xml-entities.html#XML-EXTERNAL-GENERAL-PARSED-ENTITY"
147>XML_EXTERNAL_GENERAL_PARSED_ENTITY</A
148>
149#define <A
150HREF="gnome-xml-entities.html#XML-EXTERNAL-GENERAL-UNPARSED-ENTITY"
151>XML_EXTERNAL_GENERAL_UNPARSED_ENTITY</A
152>
153#define <A
154HREF="gnome-xml-entities.html#XML-INTERNAL-PARAMETER-ENTITY"
155>XML_INTERNAL_PARAMETER_ENTITY</A
156>
157#define <A
158HREF="gnome-xml-entities.html#XML-EXTERNAL-PARAMETER-ENTITY"
159>XML_EXTERNAL_PARAMETER_ENTITY</A
160>
161#define <A
162HREF="gnome-xml-entities.html#XML-INTERNAL-PREDEFINED-ENTITY"
163>XML_INTERNAL_PREDEFINED_ENTITY</A
164>
165typedef <A
166HREF="gnome-xml-entities.html#XMLENTITYPTR"
167>xmlEntityPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000168>;
Daniel Veillard35925471999-02-25 08:46:07 +0000169#define <A
170HREF="gnome-xml-entities.html#XML-MIN-ENTITIES-TABLE"
171>XML_MIN_ENTITIES_TABLE</A
172>
173typedef <A
174HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
175>xmlEntitiesTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000176>;
Daniel Veillard35925471999-02-25 08:46:07 +0000177void <A
178HREF="gnome-xml-entities.html#XMLADDDOCENTITY"
179>xmlAddDocEntity</A
180> (<A
181HREF="gnome-xml-tree.html#XMLDOCPTR"
182>xmlDocPtr</A
183> doc,
184 const <A
185HREF="gnome-xml-tree.html#CHAR"
186>CHAR</A
187> *name,
188 int type,
189 const <A
190HREF="gnome-xml-tree.html#CHAR"
191>CHAR</A
192> *ExternalID,
193 const <A
194HREF="gnome-xml-tree.html#CHAR"
195>CHAR</A
196> *SystemID,
197 <A
198HREF="gnome-xml-tree.html#CHAR"
199>CHAR</A
200> *content);
201void <A
202HREF="gnome-xml-entities.html#XMLADDDTDENTITY"
203>xmlAddDtdEntity</A
204> (<A
205HREF="gnome-xml-tree.html#XMLDOCPTR"
206>xmlDocPtr</A
207> doc,
208 const <A
209HREF="gnome-xml-tree.html#CHAR"
210>CHAR</A
211> *name,
212 int type,
213 const <A
214HREF="gnome-xml-tree.html#CHAR"
215>CHAR</A
216> *ExternalID,
217 const <A
218HREF="gnome-xml-tree.html#CHAR"
219>CHAR</A
220> *SystemID,
221 <A
222HREF="gnome-xml-tree.html#CHAR"
223>CHAR</A
224> *content);
225<A
226HREF="gnome-xml-entities.html#XMLENTITYPTR"
227>xmlEntityPtr</A
228> <A
229HREF="gnome-xml-entities.html#XMLGETPREDEFINEDENTITY"
230>xmlGetPredefinedEntity</A
231> (const <A
232HREF="gnome-xml-tree.html#CHAR"
233>CHAR</A
234> *name);
235<A
236HREF="gnome-xml-entities.html#XMLENTITYPTR"
237>xmlEntityPtr</A
238> <A
239HREF="gnome-xml-entities.html#XMLGETDOCENTITY"
240>xmlGetDocEntity</A
241> (<A
242HREF="gnome-xml-tree.html#XMLDOCPTR"
243>xmlDocPtr</A
244> doc,
245 const <A
246HREF="gnome-xml-tree.html#CHAR"
247>CHAR</A
248> *name);
249<A
250HREF="gnome-xml-entities.html#XMLENTITYPTR"
251>xmlEntityPtr</A
252> <A
253HREF="gnome-xml-entities.html#XMLGETDTDENTITY"
254>xmlGetDtdEntity</A
255> (<A
256HREF="gnome-xml-tree.html#XMLDOCPTR"
257>xmlDocPtr</A
258> doc,
259 const <A
260HREF="gnome-xml-tree.html#CHAR"
261>CHAR</A
262> *name);
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000263const <A
264HREF="gnome-xml-tree.html#CHAR"
265>CHAR</A
266>* <A
267HREF="gnome-xml-entities.html#XMLENCODEENTITIES"
268>xmlEncodeEntities</A
269> (<A
270HREF="gnome-xml-tree.html#XMLDOCPTR"
271>xmlDocPtr</A
272> doc,
273 const <A
274HREF="gnome-xml-tree.html#CHAR"
275>CHAR</A
276> *input);
Daniel Veillard35925471999-02-25 08:46:07 +0000277<A
278HREF="gnome-xml-tree.html#CHAR"
279>CHAR</A
280>* <A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000281HREF="gnome-xml-entities.html#XMLENCODEENTITIESREENTRANT"
282>xmlEncodeEntitiesReentrant</A
283> (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000284HREF="gnome-xml-tree.html#XMLDOCPTR"
285>xmlDocPtr</A
286> doc,
287 const <A
288HREF="gnome-xml-tree.html#CHAR"
289>CHAR</A
290> *input);
291<A
292HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
293>xmlEntitiesTablePtr</A
294> <A
295HREF="gnome-xml-entities.html#XMLCREATEENTITIESTABLE"
296>xmlCreateEntitiesTable</A
297> (void);
298<A
299HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
300>xmlEntitiesTablePtr</A
301> <A
302HREF="gnome-xml-entities.html#XMLCOPYENTITIESTABLE"
303>xmlCopyEntitiesTable</A
304> (<A
305HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
306>xmlEntitiesTablePtr</A
307> table);
308void <A
309HREF="gnome-xml-entities.html#XMLFREEENTITIESTABLE"
310>xmlFreeEntitiesTable</A
311> (<A
312HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
313>xmlEntitiesTablePtr</A
314> table);
315void <A
316HREF="gnome-xml-entities.html#XMLDUMPENTITIESTABLE"
317>xmlDumpEntitiesTable</A
318> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000319HREF="gnome-xml-tree.html#XMLBUFFERPTR"
320>xmlBufferPtr</A
321> buf,
322 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000323HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
324>xmlEntitiesTablePtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000325> table);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000326></TD
327></TR
328></TABLE
329></DIV
330><DIV
331CLASS="REFSECT1"
332><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000333NAME="AEN3755"
Daniel Veillard35925471999-02-25 08:46:07 +0000334></A
335><H2
336>Description</H2
337><P
338></P
339></DIV
340><DIV
341CLASS="REFSECT1"
342><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000343NAME="AEN3758"
Daniel Veillard35925471999-02-25 08:46:07 +0000344></A
345><H2
346>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000347><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000348CLASS="REFSECT2"
349><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000350NAME="AEN3760"
Daniel Veillard35925471999-02-25 08:46:07 +0000351></A
352><H3
353><A
354NAME="XML-INTERNAL-GENERAL-ENTITY"
355></A
356>XML_INTERNAL_GENERAL_ENTITY</H3
357><TABLE
358BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000359BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000360WIDTH="100%"
361CELLPADDING="6"
362><TR
363><TD
364><PRE
365CLASS="PROGRAMLISTING"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000366>#define XML_INTERNAL_GENERAL_ENTITY 1</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000367></TD
368></TR
369></TABLE
370><P
371></P
372></DIV
373><HR><DIV
374CLASS="REFSECT2"
375><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000376NAME="AEN3765"
Daniel Veillard35925471999-02-25 08:46:07 +0000377></A
378><H3
379><A
380NAME="XML-EXTERNAL-GENERAL-PARSED-ENTITY"
381></A
382>XML_EXTERNAL_GENERAL_PARSED_ENTITY</H3
383><TABLE
384BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000385BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000386WIDTH="100%"
387CELLPADDING="6"
388><TR
389><TD
390><PRE
391CLASS="PROGRAMLISTING"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000392>#define XML_EXTERNAL_GENERAL_PARSED_ENTITY 2</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000393></TD
394></TR
395></TABLE
396><P
397></P
398></DIV
399><HR><DIV
400CLASS="REFSECT2"
401><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000402NAME="AEN3770"
Daniel Veillard35925471999-02-25 08:46:07 +0000403></A
404><H3
405><A
406NAME="XML-EXTERNAL-GENERAL-UNPARSED-ENTITY"
407></A
408>XML_EXTERNAL_GENERAL_UNPARSED_ENTITY</H3
409><TABLE
410BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000411BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000412WIDTH="100%"
413CELLPADDING="6"
414><TR
415><TD
416><PRE
417CLASS="PROGRAMLISTING"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000418>#define XML_EXTERNAL_GENERAL_UNPARSED_ENTITY 3</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000419></TD
420></TR
421></TABLE
422><P
423></P
424></DIV
425><HR><DIV
426CLASS="REFSECT2"
427><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000428NAME="AEN3775"
Daniel Veillard35925471999-02-25 08:46:07 +0000429></A
430><H3
431><A
432NAME="XML-INTERNAL-PARAMETER-ENTITY"
433></A
434>XML_INTERNAL_PARAMETER_ENTITY</H3
435><TABLE
436BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000437BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000438WIDTH="100%"
439CELLPADDING="6"
440><TR
441><TD
442><PRE
443CLASS="PROGRAMLISTING"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000444>#define XML_INTERNAL_PARAMETER_ENTITY 4</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000445></TD
446></TR
447></TABLE
448><P
449></P
450></DIV
451><HR><DIV
452CLASS="REFSECT2"
453><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000454NAME="AEN3780"
Daniel Veillard35925471999-02-25 08:46:07 +0000455></A
456><H3
457><A
458NAME="XML-EXTERNAL-PARAMETER-ENTITY"
459></A
460>XML_EXTERNAL_PARAMETER_ENTITY</H3
461><TABLE
462BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000463BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000464WIDTH="100%"
465CELLPADDING="6"
466><TR
467><TD
468><PRE
469CLASS="PROGRAMLISTING"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000470>#define XML_EXTERNAL_PARAMETER_ENTITY 5</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000471></TD
472></TR
473></TABLE
474><P
475></P
476></DIV
477><HR><DIV
478CLASS="REFSECT2"
479><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000480NAME="AEN3785"
Daniel Veillard35925471999-02-25 08:46:07 +0000481></A
482><H3
483><A
484NAME="XML-INTERNAL-PREDEFINED-ENTITY"
485></A
486>XML_INTERNAL_PREDEFINED_ENTITY</H3
487><TABLE
488BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000489BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000490WIDTH="100%"
491CELLPADDING="6"
492><TR
493><TD
494><PRE
495CLASS="PROGRAMLISTING"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000496>#define XML_INTERNAL_PREDEFINED_ENTITY 6</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000497></TD
498></TR
499></TABLE
500><P
501></P
502></DIV
503><HR><DIV
504CLASS="REFSECT2"
505><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000506NAME="AEN3790"
Daniel Veillard35925471999-02-25 08:46:07 +0000507></A
508><H3
509><A
510NAME="XMLENTITYPTR"
511></A
512>xmlEntityPtr</H3
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000513><TABLE
514BORDER="0"
515BGCOLOR="#D6E8FF"
516WIDTH="100%"
517CELLPADDING="6"
518><TR
519><TD
520><PRE
521CLASS="PROGRAMLISTING"
522>typedef xmlEntity *xmlEntityPtr;</PRE
523></TD
524></TR
525></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +0000526><P
527></P
528></DIV
529><HR><DIV
530CLASS="REFSECT2"
531><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000532NAME="AEN3795"
Daniel Veillard35925471999-02-25 08:46:07 +0000533></A
534><H3
535><A
536NAME="XML-MIN-ENTITIES-TABLE"
537></A
538>XML_MIN_ENTITIES_TABLE</H3
539><TABLE
540BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000541BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000542WIDTH="100%"
543CELLPADDING="6"
544><TR
545><TD
546><PRE
547CLASS="PROGRAMLISTING"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000548>#define XML_MIN_ENTITIES_TABLE 32</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000549></TD
550></TR
551></TABLE
552><P
553></P
554></DIV
555><HR><DIV
556CLASS="REFSECT2"
557><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000558NAME="AEN3800"
Daniel Veillard35925471999-02-25 08:46:07 +0000559></A
560><H3
561><A
562NAME="XMLENTITIESTABLEPTR"
563></A
564>xmlEntitiesTablePtr</H3
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000565><TABLE
566BORDER="0"
567BGCOLOR="#D6E8FF"
568WIDTH="100%"
569CELLPADDING="6"
570><TR
571><TD
572><PRE
573CLASS="PROGRAMLISTING"
574>typedef xmlEntitiesTable *xmlEntitiesTablePtr;</PRE
575></TD
576></TR
577></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +0000578><P
579></P
580></DIV
581><HR><DIV
582CLASS="REFSECT2"
583><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000584NAME="AEN3805"
Daniel Veillard35925471999-02-25 08:46:07 +0000585></A
586><H3
587><A
588NAME="XMLADDDOCENTITY"
589></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000590>xmlAddDocEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000591><TABLE
592BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000593BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000594WIDTH="100%"
595CELLPADDING="6"
596><TR
597><TD
598><PRE
599CLASS="PROGRAMLISTING"
600>void xmlAddDocEntity (<A
601HREF="gnome-xml-tree.html#XMLDOCPTR"
602>xmlDocPtr</A
603> doc,
604 const <A
605HREF="gnome-xml-tree.html#CHAR"
606>CHAR</A
607> *name,
608 int type,
609 const <A
610HREF="gnome-xml-tree.html#CHAR"
611>CHAR</A
612> *ExternalID,
613 const <A
614HREF="gnome-xml-tree.html#CHAR"
615>CHAR</A
616> *SystemID,
617 <A
618HREF="gnome-xml-tree.html#CHAR"
619>CHAR</A
620> *content);</PRE
621></TD
622></TR
623></TABLE
624><P
625>Register a new entity for this document.</P
626><P
627></P
628><DIV
629CLASS="INFORMALTABLE"
630><P
631></P
632><TABLE
633BORDER="0"
634WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000635BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000636CELLSPACING="0"
637CELLPADDING="4"
638CLASS="CALSTABLE"
639><TR
640><TD
641WIDTH="20%"
642ALIGN="RIGHT"
643VALIGN="TOP"
644><TT
645CLASS="PARAMETER"
646><I
647>doc</I
648></TT
649>&nbsp;:</TD
650><TD
651WIDTH="80%"
652ALIGN="LEFT"
653VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000654> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000655></TR
656><TR
657><TD
658WIDTH="20%"
659ALIGN="RIGHT"
660VALIGN="TOP"
661><TT
662CLASS="PARAMETER"
663><I
664>name</I
665></TT
666>&nbsp;:</TD
667><TD
668WIDTH="80%"
669ALIGN="LEFT"
670VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000671> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000672></TR
673><TR
674><TD
675WIDTH="20%"
676ALIGN="RIGHT"
677VALIGN="TOP"
678><TT
679CLASS="PARAMETER"
680><I
681>type</I
682></TT
683>&nbsp;:</TD
684><TD
685WIDTH="80%"
686ALIGN="LEFT"
687VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000688> the entity type XML_xxx_yyy_ENTITY</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000689></TR
690><TR
691><TD
692WIDTH="20%"
693ALIGN="RIGHT"
694VALIGN="TOP"
695><TT
696CLASS="PARAMETER"
697><I
698>ExternalID</I
699></TT
700>&nbsp;:</TD
701><TD
702WIDTH="80%"
703ALIGN="LEFT"
704VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000705> the entity external ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000706></TR
707><TR
708><TD
709WIDTH="20%"
710ALIGN="RIGHT"
711VALIGN="TOP"
712><TT
713CLASS="PARAMETER"
714><I
715>SystemID</I
716></TT
717>&nbsp;:</TD
718><TD
719WIDTH="80%"
720ALIGN="LEFT"
721VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000722> the entity system ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000723></TR
724><TR
725><TD
726WIDTH="20%"
727ALIGN="RIGHT"
728VALIGN="TOP"
729><TT
730CLASS="PARAMETER"
731><I
732>content</I
733></TT
734>&nbsp;:</TD
735><TD
736WIDTH="80%"
737ALIGN="LEFT"
738VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000739> the entity content</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000740></TR
741></TABLE
742><P
743></P
744></DIV
745></DIV
746><HR><DIV
747CLASS="REFSECT2"
748><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000749NAME="AEN3845"
Daniel Veillard35925471999-02-25 08:46:07 +0000750></A
751><H3
752><A
753NAME="XMLADDDTDENTITY"
754></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000755>xmlAddDtdEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000756><TABLE
757BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000758BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000759WIDTH="100%"
760CELLPADDING="6"
761><TR
762><TD
763><PRE
764CLASS="PROGRAMLISTING"
765>void xmlAddDtdEntity (<A
766HREF="gnome-xml-tree.html#XMLDOCPTR"
767>xmlDocPtr</A
768> doc,
769 const <A
770HREF="gnome-xml-tree.html#CHAR"
771>CHAR</A
772> *name,
773 int type,
774 const <A
775HREF="gnome-xml-tree.html#CHAR"
776>CHAR</A
777> *ExternalID,
778 const <A
779HREF="gnome-xml-tree.html#CHAR"
780>CHAR</A
781> *SystemID,
782 <A
783HREF="gnome-xml-tree.html#CHAR"
784>CHAR</A
785> *content);</PRE
786></TD
787></TR
788></TABLE
789><P
790>Register a new entity for this document DTD.</P
791><P
792></P
793><DIV
794CLASS="INFORMALTABLE"
795><P
796></P
797><TABLE
798BORDER="0"
799WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000800BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000801CELLSPACING="0"
802CELLPADDING="4"
803CLASS="CALSTABLE"
804><TR
805><TD
806WIDTH="20%"
807ALIGN="RIGHT"
808VALIGN="TOP"
809><TT
810CLASS="PARAMETER"
811><I
812>doc</I
813></TT
814>&nbsp;:</TD
815><TD
816WIDTH="80%"
817ALIGN="LEFT"
818VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000819> the document</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000820></TR
821><TR
822><TD
823WIDTH="20%"
824ALIGN="RIGHT"
825VALIGN="TOP"
826><TT
827CLASS="PARAMETER"
828><I
829>name</I
830></TT
831>&nbsp;:</TD
832><TD
833WIDTH="80%"
834ALIGN="LEFT"
835VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000836> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000837></TR
838><TR
839><TD
840WIDTH="20%"
841ALIGN="RIGHT"
842VALIGN="TOP"
843><TT
844CLASS="PARAMETER"
845><I
846>type</I
847></TT
848>&nbsp;:</TD
849><TD
850WIDTH="80%"
851ALIGN="LEFT"
852VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000853> the entity type XML_xxx_yyy_ENTITY</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000854></TR
855><TR
856><TD
857WIDTH="20%"
858ALIGN="RIGHT"
859VALIGN="TOP"
860><TT
861CLASS="PARAMETER"
862><I
863>ExternalID</I
864></TT
865>&nbsp;:</TD
866><TD
867WIDTH="80%"
868ALIGN="LEFT"
869VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000870> the entity external ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000871></TR
872><TR
873><TD
874WIDTH="20%"
875ALIGN="RIGHT"
876VALIGN="TOP"
877><TT
878CLASS="PARAMETER"
879><I
880>SystemID</I
881></TT
882>&nbsp;:</TD
883><TD
884WIDTH="80%"
885ALIGN="LEFT"
886VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000887> the entity system ID if available</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000888></TR
889><TR
890><TD
891WIDTH="20%"
892ALIGN="RIGHT"
893VALIGN="TOP"
894><TT
895CLASS="PARAMETER"
896><I
897>content</I
898></TT
899>&nbsp;:</TD
900><TD
901WIDTH="80%"
902ALIGN="LEFT"
903VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000904> the entity content</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000905></TR
906></TABLE
907><P
908></P
909></DIV
910></DIV
911><HR><DIV
912CLASS="REFSECT2"
913><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000914NAME="AEN3885"
Daniel Veillard35925471999-02-25 08:46:07 +0000915></A
916><H3
917><A
918NAME="XMLGETPREDEFINEDENTITY"
919></A
Daniel Veillard14fff061999-06-22 21:49:07 +0000920>xmlGetPredefinedEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +0000921><TABLE
922BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000923BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000924WIDTH="100%"
925CELLPADDING="6"
926><TR
927><TD
928><PRE
929CLASS="PROGRAMLISTING"
930><A
931HREF="gnome-xml-entities.html#XMLENTITYPTR"
932>xmlEntityPtr</A
933> xmlGetPredefinedEntity (const <A
934HREF="gnome-xml-tree.html#CHAR"
935>CHAR</A
936> *name);</PRE
937></TD
938></TR
939></TABLE
940><P
941>Check whether this name is an predefined entity.</P
942><P
943></P
944><DIV
945CLASS="INFORMALTABLE"
946><P
947></P
948><TABLE
949BORDER="0"
950WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000951BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +0000952CELLSPACING="0"
953CELLPADDING="4"
954CLASS="CALSTABLE"
955><TR
956><TD
957WIDTH="20%"
958ALIGN="RIGHT"
959VALIGN="TOP"
960><TT
961CLASS="PARAMETER"
962><I
963>name</I
964></TT
965>&nbsp;:</TD
966><TD
967WIDTH="80%"
968ALIGN="LEFT"
969VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000970> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000971></TR
972><TR
973><TD
974WIDTH="20%"
975ALIGN="RIGHT"
976VALIGN="TOP"
977><I
978CLASS="EMPHASIS"
979>Returns</I
980> :</TD
981><TD
982WIDTH="80%"
983ALIGN="LEFT"
984VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000985>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +0000986></TR
987></TABLE
988><P
989></P
990></DIV
991></DIV
992><HR><DIV
993CLASS="REFSECT2"
994><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000995NAME="AEN3906"
Daniel Veillard35925471999-02-25 08:46:07 +0000996></A
997><H3
998><A
999NAME="XMLGETDOCENTITY"
1000></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001001>xmlGetDocEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001002><TABLE
1003BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001004BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001005WIDTH="100%"
1006CELLPADDING="6"
1007><TR
1008><TD
1009><PRE
1010CLASS="PROGRAMLISTING"
1011><A
1012HREF="gnome-xml-entities.html#XMLENTITYPTR"
1013>xmlEntityPtr</A
1014> xmlGetDocEntity (<A
1015HREF="gnome-xml-tree.html#XMLDOCPTR"
1016>xmlDocPtr</A
1017> doc,
1018 const <A
1019HREF="gnome-xml-tree.html#CHAR"
1020>CHAR</A
1021> *name);</PRE
1022></TD
1023></TR
1024></TABLE
1025><P
1026>Do an entity lookup in the document entity hash table and
1027returns the corrsponding entity, otherwise a lookup is done
1028in the predefined entities too.</P
1029><P
1030></P
1031><DIV
1032CLASS="INFORMALTABLE"
1033><P
1034></P
1035><TABLE
1036BORDER="0"
1037WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001038BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001039CELLSPACING="0"
1040CELLPADDING="4"
1041CLASS="CALSTABLE"
1042><TR
1043><TD
1044WIDTH="20%"
1045ALIGN="RIGHT"
1046VALIGN="TOP"
1047><TT
1048CLASS="PARAMETER"
1049><I
1050>doc</I
1051></TT
1052>&nbsp;:</TD
1053><TD
1054WIDTH="80%"
1055ALIGN="LEFT"
1056VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001057> the document referencing the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001058></TR
1059><TR
1060><TD
1061WIDTH="20%"
1062ALIGN="RIGHT"
1063VALIGN="TOP"
1064><TT
1065CLASS="PARAMETER"
1066><I
1067>name</I
1068></TT
1069>&nbsp;:</TD
1070><TD
1071WIDTH="80%"
1072ALIGN="LEFT"
1073VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001074> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001075></TR
1076><TR
1077><TD
1078WIDTH="20%"
1079ALIGN="RIGHT"
1080VALIGN="TOP"
1081><I
1082CLASS="EMPHASIS"
1083>Returns</I
1084> :</TD
1085><TD
1086WIDTH="80%"
1087ALIGN="LEFT"
1088VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001089>A pointer to the entity structure or NULL if not found.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001090></TR
1091></TABLE
1092><P
1093></P
1094></DIV
1095></DIV
1096><HR><DIV
1097CLASS="REFSECT2"
1098><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001099NAME="AEN3932"
Daniel Veillard35925471999-02-25 08:46:07 +00001100></A
1101><H3
1102><A
1103NAME="XMLGETDTDENTITY"
1104></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001105>xmlGetDtdEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001106><TABLE
1107BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001108BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001109WIDTH="100%"
1110CELLPADDING="6"
1111><TR
1112><TD
1113><PRE
1114CLASS="PROGRAMLISTING"
1115><A
1116HREF="gnome-xml-entities.html#XMLENTITYPTR"
1117>xmlEntityPtr</A
1118> xmlGetDtdEntity (<A
1119HREF="gnome-xml-tree.html#XMLDOCPTR"
1120>xmlDocPtr</A
1121> doc,
1122 const <A
1123HREF="gnome-xml-tree.html#CHAR"
1124>CHAR</A
1125> *name);</PRE
1126></TD
1127></TR
1128></TABLE
1129><P
1130>Do an entity lookup in the Dtd entity hash table and
1131returns the corresponding entity, if found.</P
1132><P
1133></P
1134><DIV
1135CLASS="INFORMALTABLE"
1136><P
1137></P
1138><TABLE
1139BORDER="0"
1140WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001141BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001142CELLSPACING="0"
1143CELLPADDING="4"
1144CLASS="CALSTABLE"
1145><TR
1146><TD
1147WIDTH="20%"
1148ALIGN="RIGHT"
1149VALIGN="TOP"
1150><TT
1151CLASS="PARAMETER"
1152><I
1153>doc</I
1154></TT
1155>&nbsp;:</TD
1156><TD
1157WIDTH="80%"
1158ALIGN="LEFT"
1159VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001160> the document referencing the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001161></TR
1162><TR
1163><TD
1164WIDTH="20%"
1165ALIGN="RIGHT"
1166VALIGN="TOP"
1167><TT
1168CLASS="PARAMETER"
1169><I
1170>name</I
1171></TT
1172>&nbsp;:</TD
1173><TD
1174WIDTH="80%"
1175ALIGN="LEFT"
1176VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001177> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001178></TR
1179><TR
1180><TD
1181WIDTH="20%"
1182ALIGN="RIGHT"
1183VALIGN="TOP"
1184><I
1185CLASS="EMPHASIS"
1186>Returns</I
1187> :</TD
1188><TD
1189WIDTH="80%"
1190ALIGN="LEFT"
1191VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001192>A pointer to the entity structure or NULL if not found.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001193></TR
1194></TABLE
1195><P
1196></P
1197></DIV
1198></DIV
1199><HR><DIV
1200CLASS="REFSECT2"
1201><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001202NAME="AEN3958"
Daniel Veillard35925471999-02-25 08:46:07 +00001203></A
1204><H3
1205><A
1206NAME="XMLENCODEENTITIES"
1207></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001208>xmlEncodeEntities ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001209><TABLE
1210BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001211BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001212WIDTH="100%"
1213CELLPADDING="6"
1214><TR
1215><TD
1216><PRE
1217CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001218>const <A
Daniel Veillard35925471999-02-25 08:46:07 +00001219HREF="gnome-xml-tree.html#CHAR"
1220>CHAR</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001221>* xmlEncodeEntities (<A
Daniel Veillard35925471999-02-25 08:46:07 +00001222HREF="gnome-xml-tree.html#XMLDOCPTR"
1223>xmlDocPtr</A
1224> doc,
1225 const <A
1226HREF="gnome-xml-tree.html#CHAR"
1227>CHAR</A
1228> *input);</PRE
1229></TD
1230></TR
1231></TABLE
1232><P
1233>Do a global encoding of a string, replacing the predefined entities
1234and non ASCII values with their entities and CharRef counterparts.</P
1235><P
1236>TODO !!!! Once moved to UTF-8 internal encoding, the encoding of non-ascii
1237get erroneous.</P
1238><P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001239>TODO This routine is not reentrant, the interface
1240should not be modified though.</P
1241><P
1242>People must migrate their code to xmlEncodeEntitiesReentrant !</P
1243><P
1244></P
1245><DIV
1246CLASS="INFORMALTABLE"
1247><P
1248></P
1249><TABLE
1250BORDER="0"
1251WIDTH="100%"
1252BGCOLOR="#FFD0D0"
1253CELLSPACING="0"
1254CELLPADDING="4"
1255CLASS="CALSTABLE"
1256><TR
1257><TD
1258WIDTH="20%"
1259ALIGN="RIGHT"
1260VALIGN="TOP"
1261><TT
1262CLASS="PARAMETER"
1263><I
1264>doc</I
1265></TT
1266>&nbsp;:</TD
1267><TD
1268WIDTH="80%"
1269ALIGN="LEFT"
1270VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001271> the document containing the string</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001272></TR
1273><TR
1274><TD
1275WIDTH="20%"
1276ALIGN="RIGHT"
1277VALIGN="TOP"
1278><TT
1279CLASS="PARAMETER"
1280><I
1281>input</I
1282></TT
1283>&nbsp;:</TD
1284><TD
1285WIDTH="80%"
1286ALIGN="LEFT"
1287VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001288> A string to convert to XML.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001289></TR
1290><TR
1291><TD
1292WIDTH="20%"
1293ALIGN="RIGHT"
1294VALIGN="TOP"
1295><I
1296CLASS="EMPHASIS"
1297>Returns</I
1298> :</TD
1299><TD
1300WIDTH="80%"
1301ALIGN="LEFT"
1302VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001303>A newly allocated string with the substitution done.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001304></TR
1305></TABLE
1306><P
1307></P
1308></DIV
1309></DIV
1310><HR><DIV
1311CLASS="REFSECT2"
1312><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001313NAME="AEN3987"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001314></A
1315><H3
1316><A
1317NAME="XMLENCODEENTITIESREENTRANT"
1318></A
1319>xmlEncodeEntitiesReentrant ()</H3
1320><TABLE
1321BORDER="0"
1322BGCOLOR="#D6E8FF"
1323WIDTH="100%"
1324CELLPADDING="6"
1325><TR
1326><TD
1327><PRE
1328CLASS="PROGRAMLISTING"
1329><A
1330HREF="gnome-xml-tree.html#CHAR"
1331>CHAR</A
1332>* xmlEncodeEntitiesReentrant (<A
1333HREF="gnome-xml-tree.html#XMLDOCPTR"
1334>xmlDocPtr</A
1335> doc,
1336 const <A
1337HREF="gnome-xml-tree.html#CHAR"
1338>CHAR</A
1339> *input);</PRE
1340></TD
1341></TR
1342></TABLE
1343><P
1344>Do a global encoding of a string, replacing the predefined entities
1345and non ASCII values with their entities and CharRef counterparts.
1346Contrary to xmlEncodeEntities, this routine is reentrant, and result
1347must be deallocated.</P
1348><P
1349>TODO !!!! Once moved to UTF-8 internal encoding, the encoding of non-ascii
1350get erroneous.</P
1351><P
Daniel Veillard35925471999-02-25 08:46:07 +00001352></P
1353><DIV
1354CLASS="INFORMALTABLE"
1355><P
1356></P
1357><TABLE
1358BORDER="0"
1359WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001360BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001361CELLSPACING="0"
1362CELLPADDING="4"
1363CLASS="CALSTABLE"
1364><TR
1365><TD
1366WIDTH="20%"
1367ALIGN="RIGHT"
1368VALIGN="TOP"
1369><TT
1370CLASS="PARAMETER"
1371><I
1372>doc</I
1373></TT
1374>&nbsp;:</TD
1375><TD
1376WIDTH="80%"
1377ALIGN="LEFT"
1378VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001379> the document containing the string</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001380></TR
1381><TR
1382><TD
1383WIDTH="20%"
1384ALIGN="RIGHT"
1385VALIGN="TOP"
1386><TT
1387CLASS="PARAMETER"
1388><I
1389>input</I
1390></TT
1391>&nbsp;:</TD
1392><TD
1393WIDTH="80%"
1394ALIGN="LEFT"
1395VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001396> A string to convert to XML.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001397></TR
1398><TR
1399><TD
1400WIDTH="20%"
1401ALIGN="RIGHT"
1402VALIGN="TOP"
1403><I
1404CLASS="EMPHASIS"
1405>Returns</I
1406> :</TD
1407><TD
1408WIDTH="80%"
1409ALIGN="LEFT"
1410VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001411>A newly allocated string with the substitution done.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001412></TR
1413></TABLE
1414><P
1415></P
1416></DIV
1417></DIV
1418><HR><DIV
1419CLASS="REFSECT2"
1420><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001421NAME="AEN4014"
Daniel Veillard35925471999-02-25 08:46:07 +00001422></A
1423><H3
1424><A
1425NAME="XMLCREATEENTITIESTABLE"
1426></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001427>xmlCreateEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001428><TABLE
1429BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001430BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001431WIDTH="100%"
1432CELLPADDING="6"
1433><TR
1434><TD
1435><PRE
1436CLASS="PROGRAMLISTING"
1437><A
1438HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1439>xmlEntitiesTablePtr</A
1440> xmlCreateEntitiesTable (void);</PRE
1441></TD
1442></TR
1443></TABLE
1444><P
1445>create and initialize an empty entities hash table.</P
1446><P
1447></P
1448><DIV
1449CLASS="INFORMALTABLE"
1450><P
1451></P
1452><TABLE
1453BORDER="0"
1454WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001455BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001456CELLSPACING="0"
1457CELLPADDING="4"
1458CLASS="CALSTABLE"
1459><TR
1460><TD
1461WIDTH="20%"
1462ALIGN="RIGHT"
1463VALIGN="TOP"
1464><I
1465CLASS="EMPHASIS"
1466>Returns</I
1467> :</TD
1468><TD
1469WIDTH="80%"
1470ALIGN="LEFT"
1471VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001472>the xmlEntitiesTablePtr just created or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001473></TR
1474></TABLE
1475><P
1476></P
1477></DIV
1478></DIV
1479><HR><DIV
1480CLASS="REFSECT2"
1481><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001482NAME="AEN4030"
Daniel Veillard35925471999-02-25 08:46:07 +00001483></A
1484><H3
1485><A
1486NAME="XMLCOPYENTITIESTABLE"
1487></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001488>xmlCopyEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001489><TABLE
1490BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001491BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001492WIDTH="100%"
1493CELLPADDING="6"
1494><TR
1495><TD
1496><PRE
1497CLASS="PROGRAMLISTING"
1498><A
1499HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1500>xmlEntitiesTablePtr</A
1501> xmlCopyEntitiesTable (<A
1502HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1503>xmlEntitiesTablePtr</A
1504> table);</PRE
1505></TD
1506></TR
1507></TABLE
1508><P
1509>Build a copy of an entity table.</P
1510><P
1511></P
1512><DIV
1513CLASS="INFORMALTABLE"
1514><P
1515></P
1516><TABLE
1517BORDER="0"
1518WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001519BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001520CELLSPACING="0"
1521CELLPADDING="4"
1522CLASS="CALSTABLE"
1523><TR
1524><TD
1525WIDTH="20%"
1526ALIGN="RIGHT"
1527VALIGN="TOP"
1528><TT
1529CLASS="PARAMETER"
1530><I
1531>table</I
1532></TT
1533>&nbsp;:</TD
1534><TD
1535WIDTH="80%"
1536ALIGN="LEFT"
1537VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001538> An entity table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001539></TR
1540><TR
1541><TD
1542WIDTH="20%"
1543ALIGN="RIGHT"
1544VALIGN="TOP"
1545><I
1546CLASS="EMPHASIS"
1547>Returns</I
1548> :</TD
1549><TD
1550WIDTH="80%"
1551ALIGN="LEFT"
1552VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001553>the new xmlEntitiesTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001554></TR
1555></TABLE
1556><P
1557></P
1558></DIV
1559></DIV
1560><HR><DIV
1561CLASS="REFSECT2"
1562><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001563NAME="AEN4051"
Daniel Veillard35925471999-02-25 08:46:07 +00001564></A
1565><H3
1566><A
1567NAME="XMLFREEENTITIESTABLE"
1568></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001569>xmlFreeEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001570><TABLE
1571BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001572BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001573WIDTH="100%"
1574CELLPADDING="6"
1575><TR
1576><TD
1577><PRE
1578CLASS="PROGRAMLISTING"
1579>void xmlFreeEntitiesTable (<A
1580HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1581>xmlEntitiesTablePtr</A
1582> table);</PRE
1583></TD
1584></TR
1585></TABLE
1586><P
1587>Deallocate the memory used by an entities hash table.</P
1588><P
1589></P
1590><DIV
1591CLASS="INFORMALTABLE"
1592><P
1593></P
1594><TABLE
1595BORDER="0"
1596WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001597BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001598CELLSPACING="0"
1599CELLPADDING="4"
1600CLASS="CALSTABLE"
1601><TR
1602><TD
1603WIDTH="20%"
1604ALIGN="RIGHT"
1605VALIGN="TOP"
1606><TT
1607CLASS="PARAMETER"
1608><I
1609>table</I
1610></TT
1611>&nbsp;:</TD
1612><TD
1613WIDTH="80%"
1614ALIGN="LEFT"
1615VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001616> An entity table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001617></TR
1618></TABLE
1619><P
1620></P
1621></DIV
1622></DIV
1623><HR><DIV
1624CLASS="REFSECT2"
1625><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001626NAME="AEN4067"
Daniel Veillard35925471999-02-25 08:46:07 +00001627></A
1628><H3
1629><A
1630NAME="XMLDUMPENTITIESTABLE"
1631></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001632>xmlDumpEntitiesTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001633><TABLE
1634BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001635BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001636WIDTH="100%"
1637CELLPADDING="6"
1638><TR
1639><TD
1640><PRE
1641CLASS="PROGRAMLISTING"
1642>void xmlDumpEntitiesTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001643HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1644>xmlBufferPtr</A
1645> buf,
1646 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001647HREF="gnome-xml-entities.html#XMLENTITIESTABLEPTR"
1648>xmlEntitiesTablePtr</A
1649> table);</PRE
1650></TD
1651></TR
1652></TABLE
1653><P
1654>This will dump the content of the entity table as an XML DTD definition</P
1655><P
Daniel Veillard35925471999-02-25 08:46:07 +00001656></P
1657><DIV
1658CLASS="INFORMALTABLE"
1659><P
1660></P
1661><TABLE
1662BORDER="0"
1663WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001664BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001665CELLSPACING="0"
1666CELLPADDING="4"
1667CLASS="CALSTABLE"
1668><TR
1669><TD
1670WIDTH="20%"
1671ALIGN="RIGHT"
1672VALIGN="TOP"
1673><TT
1674CLASS="PARAMETER"
1675><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001676>buf</I
1677></TT
1678>&nbsp;:</TD
1679><TD
1680WIDTH="80%"
1681ALIGN="LEFT"
1682VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001683> An XML buffer.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001684></TR
1685><TR
1686><TD
1687WIDTH="20%"
1688ALIGN="RIGHT"
1689VALIGN="TOP"
1690><TT
1691CLASS="PARAMETER"
1692><I
Daniel Veillard35925471999-02-25 08:46:07 +00001693>table</I
1694></TT
1695>&nbsp;:</TD
1696><TD
1697WIDTH="80%"
1698ALIGN="LEFT"
1699VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001700> An entity table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001701></TR
1702></TABLE
1703><P
1704></P
1705></DIV
1706></DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001707></DIV
1708><DIV
1709CLASS="NAVFOOTER"
Daniel Veillard14fff061999-06-22 21:49:07 +00001710><BR><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001711WIDTH="100%"
1712BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001713BGCOLOR="#000000"
1714CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00001715CELLSPACING="0"
1716><TR
1717><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001718WIDTH="25%"
1719BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00001720ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00001721><A
1722HREF="gnome-xml-tree.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00001723><FONT
1724COLOR="#FFFFFF"
1725SIZE="3"
1726><B
1727>&#60;&#60;&#60; Previous Page</B
1728></FONT
1729></A
Daniel Veillard35925471999-02-25 08:46:07 +00001730></TD
1731><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001732WIDTH="25%"
1733BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00001734ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00001735><FONT
1736COLOR="#FFFFFF"
1737SIZE="3"
1738><B
Daniel Veillard35925471999-02-25 08:46:07 +00001739><A
1740HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00001741><FONT
1742COLOR="#FFFFFF"
1743SIZE="3"
1744><B
1745>Home</B
1746></FONT
1747></A
1748></B
1749></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00001750></TD
1751><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001752WIDTH="25%"
1753BGCOLOR="#00C000"
1754ALIGN="center"
1755><FONT
1756COLOR="#FFFFFF"
1757SIZE="3"
1758><B
1759><A
1760HREF="libxml.html"
1761><FONT
1762COLOR="#FFFFFF"
1763SIZE="3"
1764><B
1765>Up</B
1766></FONT
1767></A
1768></B
1769></FONT
1770></TD
1771><TD
1772WIDTH="25%"
1773BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00001774ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00001775><A
1776HREF="gnome-xml-valid.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00001777><FONT
1778COLOR="#FFFFFF"
1779SIZE="3"
1780><B
1781>Next Page &#62;&#62;&#62;</B
1782></FONT
1783></A
Daniel Veillard35925471999-02-25 08:46:07 +00001784></TD
1785></TR
1786><TR
1787><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001788COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00001789ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00001790><FONT
1791COLOR="#FFFFFF"
1792SIZE="3"
1793><B
1794>tree</B
1795></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00001796></TD
1797><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00001798COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00001799ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00001800><FONT
1801COLOR="#FFFFFF"
1802SIZE="3"
1803><B
1804>valid</B
1805></FONT
1806></TD
Daniel Veillard35925471999-02-25 08:46:07 +00001807></TR
1808></TABLE
1809></DIV
1810></BODY
1811></HTML
1812>