blob: 6c473379c4b34aa468d3bc3ada3dd741c81a83b2 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>valid</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="entities"
16HREF="gnome-xml-entities.html"><LINK
17REL="NEXT"
Daniel Veillardd109e371999-03-05 06:26:45 +000018TITLE="xml-error"
19HREF="gnome-xml-xml-error.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000020><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
23><DIV
24CLASS="NAVHEADER"
25><TABLE
26WIDTH="100%"
27BORDER="0"
28CELLPADDING="0"
29CELLSPACING="0"
30><TR
31><TH
32COLSPAN="3"
33ALIGN="center"
34>Gnome XML Library Reference Manual</TH
35></TR
36><TR
37><TD
38WIDTH="10%"
39ALIGN="left"
40VALIGN="bottom"
41><A
42HREF="gnome-xml-entities.html"
43>Prev</A
44></TD
45><TD
46WIDTH="80%"
47ALIGN="center"
48VALIGN="bottom"
49></TD
50><TD
51WIDTH="10%"
52ALIGN="right"
53VALIGN="bottom"
54><A
Daniel Veillardd109e371999-03-05 06:26:45 +000055HREF="gnome-xml-xml-error.html"
Daniel Veillard35925471999-02-25 08:46:07 +000056>Next</A
57></TD
58></TR
59></TABLE
60><HR
61ALIGN="LEFT"
62WIDTH="100%"></DIV
63><H1
64>valid</H1
65><DIV
66CLASS="REFNAMEDIV"
67><A
Daniel Veillard5099ae81999-04-21 20:12:07 +000068NAME="AEN3824"
Daniel Veillard35925471999-02-25 08:46:07 +000069></A
70><H2
71>Name</H2
72>valid &#8212; one line description goes here.</DIV
73><DIV
74CLASS="REFSYNOPSISDIV"
75><A
Daniel Veillard5099ae81999-04-21 20:12:07 +000076NAME="AEN3827"
Daniel Veillard35925471999-02-25 08:46:07 +000077></A
78><H2
79>Synopsis</H2
80><TABLE
81BORDER="0"
82BGCOLOR="#E8E8F8"
83WIDTH="100%"
84CELLPADDING="6"
85><TR
86><TD
87><PRE
88CLASS="SYNOPSIS"
89>&#13;
90
91#define <A
92HREF="gnome-xml-valid.html#XML-MIN-NOTATION-TABLE"
93>XML_MIN_NOTATION_TABLE</A
94>
95typedef <A
96HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
97>xmlNotationTablePtr</A
98>
99#define <A
100HREF="gnome-xml-valid.html#XML-MIN-ELEMENT-TABLE"
101>XML_MIN_ELEMENT_TABLE</A
102>
103typedef <A
104HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
105>xmlElementTablePtr</A
106>
107#define <A
108HREF="gnome-xml-valid.html#XML-MIN-ATTRIBUTE-TABLE"
109>XML_MIN_ATTRIBUTE_TABLE</A
110>
111typedef <A
112HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
113>xmlAttributeTablePtr</A
114>
115<A
116HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
117>xmlNotationPtr</A
118> <A
119HREF="gnome-xml-valid.html#XMLADDNOTATIONDECL"
120>xmlAddNotationDecl</A
121> (<A
122HREF="gnome-xml-tree.html#XMLDTDPTR"
123>xmlDtdPtr</A
124> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000125 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000126HREF="gnome-xml-tree.html#CHAR"
127>CHAR</A
128> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000129 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000130HREF="gnome-xml-tree.html#CHAR"
131>CHAR</A
132> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000133 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000134HREF="gnome-xml-tree.html#CHAR"
135>CHAR</A
136> *SystemID);
137<A
138HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
139>xmlNotationTablePtr</A
140> <A
141HREF="gnome-xml-valid.html#XMLCOPYNOTATIONTABLE"
142>xmlCopyNotationTable</A
143> (<A
144HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
145>xmlNotationTablePtr</A
146> table);
147void <A
148HREF="gnome-xml-valid.html#XMLFREENOTATIONTABLE"
149>xmlFreeNotationTable</A
150> (<A
151HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
152>xmlNotationTablePtr</A
153> table);
154void <A
155HREF="gnome-xml-valid.html#XMLDUMPNOTATIONTABLE"
156>xmlDumpNotationTable</A
157> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000158HREF="gnome-xml-tree.html#XMLBUFFERPTR"
159>xmlBufferPtr</A
160> buf,
161 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000162HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
163>xmlNotationTablePtr</A
164> table);
165<A
166HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
167>xmlElementContentPtr</A
168> <A
169HREF="gnome-xml-valid.html#XMLNEWELEMENTCONTENT"
170>xmlNewElementContent</A
171> (<A
172HREF="gnome-xml-tree.html#CHAR"
173>CHAR</A
174> *name,
175 int type);
176<A
177HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
178>xmlElementContentPtr</A
179> <A
180HREF="gnome-xml-valid.html#XMLCOPYELEMENTCONTENT"
181>xmlCopyElementContent</A
182> (<A
183HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
184>xmlElementContentPtr</A
185> content);
186void <A
187HREF="gnome-xml-valid.html#XMLFREEELEMENTCONTENT"
188>xmlFreeElementContent</A
189> (<A
190HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
191>xmlElementContentPtr</A
192> cur);
193<A
194HREF="gnome-xml-tree.html#XMLELEMENTPTR"
195>xmlElementPtr</A
196> <A
197HREF="gnome-xml-valid.html#XMLADDELEMENTDECL"
198>xmlAddElementDecl</A
199> (<A
200HREF="gnome-xml-tree.html#XMLDTDPTR"
201>xmlDtdPtr</A
202> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000203 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000204HREF="gnome-xml-tree.html#CHAR"
205>CHAR</A
206> *name,
207 int type,
208 <A
209HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
210>xmlElementContentPtr</A
211> content);
212<A
213HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
214>xmlElementTablePtr</A
215> <A
216HREF="gnome-xml-valid.html#XMLCOPYELEMENTTABLE"
217>xmlCopyElementTable</A
218> (<A
219HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
220>xmlElementTablePtr</A
221> table);
222void <A
223HREF="gnome-xml-valid.html#XMLFREEELEMENTTABLE"
224>xmlFreeElementTable</A
225> (<A
226HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
227>xmlElementTablePtr</A
228> table);
229void <A
230HREF="gnome-xml-valid.html#XMLDUMPELEMENTTABLE"
231>xmlDumpElementTable</A
232> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000233HREF="gnome-xml-tree.html#XMLBUFFERPTR"
234>xmlBufferPtr</A
235> buf,
236 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000237HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
238>xmlElementTablePtr</A
239> table);
240<A
241HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
242>xmlEnumerationPtr</A
243> <A
244HREF="gnome-xml-valid.html#XMLCREATEENUMERATION"
245>xmlCreateEnumeration</A
246> (<A
247HREF="gnome-xml-tree.html#CHAR"
248>CHAR</A
249> *name);
250void <A
251HREF="gnome-xml-valid.html#XMLFREEENUMERATION"
252>xmlFreeEnumeration</A
253> (<A
254HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
255>xmlEnumerationPtr</A
256> cur);
257<A
258HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
259>xmlEnumerationPtr</A
260> <A
261HREF="gnome-xml-valid.html#XMLCOPYENUMERATION"
262>xmlCopyEnumeration</A
263> (<A
264HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
265>xmlEnumerationPtr</A
266> cur);
267<A
268HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
269>xmlAttributePtr</A
270> <A
271HREF="gnome-xml-valid.html#XMLADDATTRIBUTEDECL"
272>xmlAddAttributeDecl</A
273> (<A
274HREF="gnome-xml-tree.html#XMLDTDPTR"
275>xmlDtdPtr</A
276> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000277 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000278HREF="gnome-xml-tree.html#CHAR"
279>CHAR</A
280> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000281 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000282HREF="gnome-xml-tree.html#CHAR"
283>CHAR</A
284> *name,
285 int type,
286 int def,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000287 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000288HREF="gnome-xml-tree.html#CHAR"
289>CHAR</A
290> *defaultValue,
291 <A
292HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
293>xmlEnumerationPtr</A
294> tree);
295<A
296HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
297>xmlAttributeTablePtr</A
298> <A
299HREF="gnome-xml-valid.html#XMLCOPYATTRIBUTETABLE"
300>xmlCopyAttributeTable</A
301> (<A
302HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
303>xmlAttributeTablePtr</A
304> table);
305void <A
306HREF="gnome-xml-valid.html#XMLFREEATTRIBUTETABLE"
307>xmlFreeAttributeTable</A
308> (<A
309HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
310>xmlAttributeTablePtr</A
311> table);
312void <A
313HREF="gnome-xml-valid.html#XMLDUMPATTRIBUTETABLE"
314>xmlDumpAttributeTable</A
315> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000316HREF="gnome-xml-tree.html#XMLBUFFERPTR"
317>xmlBufferPtr</A
318> buf,
319 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000320HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
321>xmlAttributeTablePtr</A
322> table);</PRE
323></TD
324></TR
325></TABLE
326></DIV
327><DIV
328CLASS="REFSECT1"
329><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000330NAME="AEN3894"
Daniel Veillard35925471999-02-25 08:46:07 +0000331></A
332><H2
333>Description</H2
334><P
335></P
336></DIV
337><DIV
338CLASS="REFSECT1"
339><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000340NAME="AEN3897"
Daniel Veillard35925471999-02-25 08:46:07 +0000341></A
342><H2
343>Details</H2
344><HR><DIV
345CLASS="REFSECT2"
346><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000347NAME="AEN3899"
Daniel Veillard35925471999-02-25 08:46:07 +0000348></A
349><H3
350><A
351NAME="XML-MIN-NOTATION-TABLE"
352></A
353>XML_MIN_NOTATION_TABLE</H3
354><TABLE
355BORDER="0"
356BGCOLOR="#E8E8F8"
357WIDTH="100%"
358CELLPADDING="6"
359><TR
360><TD
361><PRE
362CLASS="PROGRAMLISTING"
363>#define XML_MIN_NOTATION_TABLE 32</PRE
364></TD
365></TR
366></TABLE
367><P
368></P
369></DIV
370><HR><DIV
371CLASS="REFSECT2"
372><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000373NAME="AEN3904"
Daniel Veillard35925471999-02-25 08:46:07 +0000374></A
375><H3
376><A
377NAME="XMLNOTATIONTABLEPTR"
378></A
379>xmlNotationTablePtr</H3
380><TABLE
381BORDER="0"
382BGCOLOR="#E8E8F8"
383WIDTH="100%"
384CELLPADDING="6"
385><TR
386><TD
387><PRE
388CLASS="PROGRAMLISTING"
389>typedef xmlNotationTable *xmlNotationTablePtr;</PRE
390></TD
391></TR
392></TABLE
393><P
394></P
395></DIV
396><HR><DIV
397CLASS="REFSECT2"
398><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000399NAME="AEN3909"
Daniel Veillard35925471999-02-25 08:46:07 +0000400></A
401><H3
402><A
403NAME="XML-MIN-ELEMENT-TABLE"
404></A
405>XML_MIN_ELEMENT_TABLE</H3
406><TABLE
407BORDER="0"
408BGCOLOR="#E8E8F8"
409WIDTH="100%"
410CELLPADDING="6"
411><TR
412><TD
413><PRE
414CLASS="PROGRAMLISTING"
415>#define XML_MIN_ELEMENT_TABLE 32</PRE
416></TD
417></TR
418></TABLE
419><P
420></P
421></DIV
422><HR><DIV
423CLASS="REFSECT2"
424><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000425NAME="AEN3914"
Daniel Veillard35925471999-02-25 08:46:07 +0000426></A
427><H3
428><A
429NAME="XMLELEMENTTABLEPTR"
430></A
431>xmlElementTablePtr</H3
432><TABLE
433BORDER="0"
434BGCOLOR="#E8E8F8"
435WIDTH="100%"
436CELLPADDING="6"
437><TR
438><TD
439><PRE
440CLASS="PROGRAMLISTING"
441>typedef xmlElementTable *xmlElementTablePtr;</PRE
442></TD
443></TR
444></TABLE
445><P
446></P
447></DIV
448><HR><DIV
449CLASS="REFSECT2"
450><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000451NAME="AEN3919"
Daniel Veillard35925471999-02-25 08:46:07 +0000452></A
453><H3
454><A
455NAME="XML-MIN-ATTRIBUTE-TABLE"
456></A
457>XML_MIN_ATTRIBUTE_TABLE</H3
458><TABLE
459BORDER="0"
460BGCOLOR="#E8E8F8"
461WIDTH="100%"
462CELLPADDING="6"
463><TR
464><TD
465><PRE
466CLASS="PROGRAMLISTING"
467>#define XML_MIN_ATTRIBUTE_TABLE 32</PRE
468></TD
469></TR
470></TABLE
471><P
472></P
473></DIV
474><HR><DIV
475CLASS="REFSECT2"
476><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000477NAME="AEN3924"
Daniel Veillard35925471999-02-25 08:46:07 +0000478></A
479><H3
480><A
481NAME="XMLATTRIBUTETABLEPTR"
482></A
483>xmlAttributeTablePtr</H3
484><TABLE
485BORDER="0"
486BGCOLOR="#E8E8F8"
487WIDTH="100%"
488CELLPADDING="6"
489><TR
490><TD
491><PRE
492CLASS="PROGRAMLISTING"
493>typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE
494></TD
495></TR
496></TABLE
497><P
498></P
499></DIV
500><HR><DIV
501CLASS="REFSECT2"
502><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000503NAME="AEN3929"
Daniel Veillard35925471999-02-25 08:46:07 +0000504></A
505><H3
506><A
507NAME="XMLADDNOTATIONDECL"
508></A
509>xmlAddNotationDecl()</H3
510><TABLE
511BORDER="0"
512BGCOLOR="#E8E8F8"
513WIDTH="100%"
514CELLPADDING="6"
515><TR
516><TD
517><PRE
518CLASS="PROGRAMLISTING"
519><A
520HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
521>xmlNotationPtr</A
522> xmlAddNotationDecl (<A
523HREF="gnome-xml-tree.html#XMLDTDPTR"
524>xmlDtdPtr</A
525> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000526 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000527HREF="gnome-xml-tree.html#CHAR"
528>CHAR</A
529> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000530 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000531HREF="gnome-xml-tree.html#CHAR"
532>CHAR</A
533> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000534 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000535HREF="gnome-xml-tree.html#CHAR"
536>CHAR</A
537> *SystemID);</PRE
538></TD
539></TR
540></TABLE
541><P
542>Register a new notation declaration</P
543><P
544></P
545><DIV
546CLASS="INFORMALTABLE"
547><P
548></P
549><TABLE
550BORDER="0"
551WIDTH="100%"
552BGCOLOR="#FFE0E0"
553CELLSPACING="0"
554CELLPADDING="4"
555CLASS="CALSTABLE"
556><TR
557><TD
558WIDTH="20%"
559ALIGN="RIGHT"
560VALIGN="TOP"
561><TT
562CLASS="PARAMETER"
563><I
564>dtd</I
565></TT
566>&nbsp;:</TD
567><TD
568WIDTH="80%"
569ALIGN="LEFT"
570VALIGN="TOP"
571> pointer to the DTD</TD
572></TR
573><TR
574><TD
575WIDTH="20%"
576ALIGN="RIGHT"
577VALIGN="TOP"
578><TT
579CLASS="PARAMETER"
580><I
581>name</I
582></TT
583>&nbsp;:</TD
584><TD
585WIDTH="80%"
586ALIGN="LEFT"
587VALIGN="TOP"
588> the entity name</TD
589></TR
590><TR
591><TD
592WIDTH="20%"
593ALIGN="RIGHT"
594VALIGN="TOP"
595><TT
596CLASS="PARAMETER"
597><I
598>PublicID</I
599></TT
600>&nbsp;:</TD
601><TD
602WIDTH="80%"
603ALIGN="LEFT"
604VALIGN="TOP"
605> the public identifier or NULL</TD
606></TR
607><TR
608><TD
609WIDTH="20%"
610ALIGN="RIGHT"
611VALIGN="TOP"
612><TT
613CLASS="PARAMETER"
614><I
615>SystemID</I
616></TT
617>&nbsp;:</TD
618><TD
619WIDTH="80%"
620ALIGN="LEFT"
621VALIGN="TOP"
622> the system identifier or NULL</TD
623></TR
624><TR
625><TD
626WIDTH="20%"
627ALIGN="RIGHT"
628VALIGN="TOP"
629><I
630CLASS="EMPHASIS"
631>Returns</I
632> :</TD
633><TD
634WIDTH="80%"
635ALIGN="LEFT"
636VALIGN="TOP"
637>NULL if not, othervise the entity</TD
638></TR
639></TABLE
640><P
641></P
642></DIV
643></DIV
644><HR><DIV
645CLASS="REFSECT2"
646><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000647NAME="AEN3965"
Daniel Veillard35925471999-02-25 08:46:07 +0000648></A
649><H3
650><A
651NAME="XMLCOPYNOTATIONTABLE"
652></A
653>xmlCopyNotationTable()</H3
654><TABLE
655BORDER="0"
656BGCOLOR="#E8E8F8"
657WIDTH="100%"
658CELLPADDING="6"
659><TR
660><TD
661><PRE
662CLASS="PROGRAMLISTING"
663><A
664HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
665>xmlNotationTablePtr</A
666> xmlCopyNotationTable (<A
667HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
668>xmlNotationTablePtr</A
669> table);</PRE
670></TD
671></TR
672></TABLE
673><P
674>Build a copy of a notation table.</P
675><P
676></P
677><DIV
678CLASS="INFORMALTABLE"
679><P
680></P
681><TABLE
682BORDER="0"
683WIDTH="100%"
684BGCOLOR="#FFE0E0"
685CELLSPACING="0"
686CELLPADDING="4"
687CLASS="CALSTABLE"
688><TR
689><TD
690WIDTH="20%"
691ALIGN="RIGHT"
692VALIGN="TOP"
693><TT
694CLASS="PARAMETER"
695><I
696>table</I
697></TT
698>&nbsp;:</TD
699><TD
700WIDTH="80%"
701ALIGN="LEFT"
702VALIGN="TOP"
703> A notation table</TD
704></TR
705><TR
706><TD
707WIDTH="20%"
708ALIGN="RIGHT"
709VALIGN="TOP"
710><I
711CLASS="EMPHASIS"
712>Returns</I
713> :</TD
714><TD
715WIDTH="80%"
716ALIGN="LEFT"
717VALIGN="TOP"
718>the new xmlNotationTablePtr or NULL in case of error.</TD
719></TR
720></TABLE
721><P
722></P
723></DIV
724></DIV
725><HR><DIV
726CLASS="REFSECT2"
727><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000728NAME="AEN3986"
Daniel Veillard35925471999-02-25 08:46:07 +0000729></A
730><H3
731><A
732NAME="XMLFREENOTATIONTABLE"
733></A
734>xmlFreeNotationTable()</H3
735><TABLE
736BORDER="0"
737BGCOLOR="#E8E8F8"
738WIDTH="100%"
739CELLPADDING="6"
740><TR
741><TD
742><PRE
743CLASS="PROGRAMLISTING"
744>void xmlFreeNotationTable (<A
745HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
746>xmlNotationTablePtr</A
747> table);</PRE
748></TD
749></TR
750></TABLE
751><P
752>Deallocate the memory used by an entities hash table.</P
753><P
754></P
755><DIV
756CLASS="INFORMALTABLE"
757><P
758></P
759><TABLE
760BORDER="0"
761WIDTH="100%"
762BGCOLOR="#FFE0E0"
763CELLSPACING="0"
764CELLPADDING="4"
765CLASS="CALSTABLE"
766><TR
767><TD
768WIDTH="20%"
769ALIGN="RIGHT"
770VALIGN="TOP"
771><TT
772CLASS="PARAMETER"
773><I
774>table</I
775></TT
776>&nbsp;:</TD
777><TD
778WIDTH="80%"
779ALIGN="LEFT"
780VALIGN="TOP"
781> An notation table</TD
782></TR
783></TABLE
784><P
785></P
786></DIV
787></DIV
788><HR><DIV
789CLASS="REFSECT2"
790><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000791NAME="AEN4002"
Daniel Veillard35925471999-02-25 08:46:07 +0000792></A
793><H3
794><A
795NAME="XMLDUMPNOTATIONTABLE"
796></A
797>xmlDumpNotationTable()</H3
798><TABLE
799BORDER="0"
800BGCOLOR="#E8E8F8"
801WIDTH="100%"
802CELLPADDING="6"
803><TR
804><TD
805><PRE
806CLASS="PROGRAMLISTING"
807>void xmlDumpNotationTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000808HREF="gnome-xml-tree.html#XMLBUFFERPTR"
809>xmlBufferPtr</A
810> buf,
811 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000812HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
813>xmlNotationTablePtr</A
814> table);</PRE
815></TD
816></TR
817></TABLE
818><P
819>This will dump the content of the notation table as an XML DTD definition</P
820><P
821>NOTE: TODO an extra parameter allowing a reentant implementation will
822be added.</P
823><P
824></P
825><DIV
826CLASS="INFORMALTABLE"
827><P
828></P
829><TABLE
830BORDER="0"
831WIDTH="100%"
832BGCOLOR="#FFE0E0"
833CELLSPACING="0"
834CELLPADDING="4"
835CLASS="CALSTABLE"
836><TR
837><TD
838WIDTH="20%"
839ALIGN="RIGHT"
840VALIGN="TOP"
841><TT
842CLASS="PARAMETER"
843><I
Daniel Veillard5099ae81999-04-21 20:12:07 +0000844>buf</I
845></TT
846>&nbsp;:</TD
847><TD
848WIDTH="80%"
849ALIGN="LEFT"
850VALIGN="TOP"
851>&nbsp;</TD
852></TR
853><TR
854><TD
855WIDTH="20%"
856ALIGN="RIGHT"
857VALIGN="TOP"
858><TT
859CLASS="PARAMETER"
860><I
Daniel Veillard35925471999-02-25 08:46:07 +0000861>table</I
862></TT
863>&nbsp;:</TD
864><TD
865WIDTH="80%"
866ALIGN="LEFT"
867VALIGN="TOP"
868> A notation table</TD
869></TR
870></TABLE
871><P
872></P
873></DIV
874></DIV
875><HR><DIV
876CLASS="REFSECT2"
877><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000878NAME="AEN4024"
Daniel Veillard35925471999-02-25 08:46:07 +0000879></A
880><H3
881><A
882NAME="XMLNEWELEMENTCONTENT"
883></A
884>xmlNewElementContent()</H3
885><TABLE
886BORDER="0"
887BGCOLOR="#E8E8F8"
888WIDTH="100%"
889CELLPADDING="6"
890><TR
891><TD
892><PRE
893CLASS="PROGRAMLISTING"
894><A
895HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
896>xmlElementContentPtr</A
897> xmlNewElementContent (<A
898HREF="gnome-xml-tree.html#CHAR"
899>CHAR</A
900> *name,
901 int type);</PRE
902></TD
903></TR
904></TABLE
905><P
906>Allocate an element content structure.</P
907><P
908></P
909><DIV
910CLASS="INFORMALTABLE"
911><P
912></P
913><TABLE
914BORDER="0"
915WIDTH="100%"
916BGCOLOR="#FFE0E0"
917CELLSPACING="0"
918CELLPADDING="4"
919CLASS="CALSTABLE"
920><TR
921><TD
922WIDTH="20%"
923ALIGN="RIGHT"
924VALIGN="TOP"
925><TT
926CLASS="PARAMETER"
927><I
928>name</I
929></TT
930>&nbsp;:</TD
931><TD
932WIDTH="80%"
933ALIGN="LEFT"
934VALIGN="TOP"
935> the subelement name or NULL</TD
936></TR
937><TR
938><TD
939WIDTH="20%"
940ALIGN="RIGHT"
941VALIGN="TOP"
942><TT
943CLASS="PARAMETER"
944><I
945>type</I
946></TT
947>&nbsp;:</TD
948><TD
949WIDTH="80%"
950ALIGN="LEFT"
951VALIGN="TOP"
952> the type of element content decl</TD
953></TR
954><TR
955><TD
956WIDTH="20%"
957ALIGN="RIGHT"
958VALIGN="TOP"
959><I
960CLASS="EMPHASIS"
961>Returns</I
962> :</TD
963><TD
964WIDTH="80%"
965ALIGN="LEFT"
966VALIGN="TOP"
967>NULL if not, othervise the new element content structure</TD
968></TR
969></TABLE
970><P
971></P
972></DIV
973></DIV
974><HR><DIV
975CLASS="REFSECT2"
976><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000977NAME="AEN4049"
Daniel Veillard35925471999-02-25 08:46:07 +0000978></A
979><H3
980><A
981NAME="XMLCOPYELEMENTCONTENT"
982></A
983>xmlCopyElementContent()</H3
984><TABLE
985BORDER="0"
986BGCOLOR="#E8E8F8"
987WIDTH="100%"
988CELLPADDING="6"
989><TR
990><TD
991><PRE
992CLASS="PROGRAMLISTING"
993><A
994HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
995>xmlElementContentPtr</A
996> xmlCopyElementContent (<A
997HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
998>xmlElementContentPtr</A
999> content);</PRE
1000></TD
1001></TR
1002></TABLE
1003><P
1004>Build a copy of an element content description.</P
1005><P
1006></P
1007><DIV
1008CLASS="INFORMALTABLE"
1009><P
1010></P
1011><TABLE
1012BORDER="0"
1013WIDTH="100%"
1014BGCOLOR="#FFE0E0"
1015CELLSPACING="0"
1016CELLPADDING="4"
1017CLASS="CALSTABLE"
1018><TR
1019><TD
1020WIDTH="20%"
1021ALIGN="RIGHT"
1022VALIGN="TOP"
1023><TT
1024CLASS="PARAMETER"
1025><I
1026>content</I
1027></TT
1028>&nbsp;:</TD
1029><TD
1030WIDTH="80%"
1031ALIGN="LEFT"
1032VALIGN="TOP"
1033> An element content pointer.</TD
1034></TR
1035><TR
1036><TD
1037WIDTH="20%"
1038ALIGN="RIGHT"
1039VALIGN="TOP"
1040><I
1041CLASS="EMPHASIS"
1042>Returns</I
1043> :</TD
1044><TD
1045WIDTH="80%"
1046ALIGN="LEFT"
1047VALIGN="TOP"
1048>the new xmlElementContentPtr or NULL in case of error.</TD
1049></TR
1050></TABLE
1051><P
1052></P
1053></DIV
1054></DIV
1055><HR><DIV
1056CLASS="REFSECT2"
1057><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001058NAME="AEN4070"
Daniel Veillard35925471999-02-25 08:46:07 +00001059></A
1060><H3
1061><A
1062NAME="XMLFREEELEMENTCONTENT"
1063></A
1064>xmlFreeElementContent()</H3
1065><TABLE
1066BORDER="0"
1067BGCOLOR="#E8E8F8"
1068WIDTH="100%"
1069CELLPADDING="6"
1070><TR
1071><TD
1072><PRE
1073CLASS="PROGRAMLISTING"
1074>void xmlFreeElementContent (<A
1075HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1076>xmlElementContentPtr</A
1077> cur);</PRE
1078></TD
1079></TR
1080></TABLE
1081><P
1082>Free an element content structure. This is a recursive call !</P
1083><P
1084></P
1085><DIV
1086CLASS="INFORMALTABLE"
1087><P
1088></P
1089><TABLE
1090BORDER="0"
1091WIDTH="100%"
1092BGCOLOR="#FFE0E0"
1093CELLSPACING="0"
1094CELLPADDING="4"
1095CLASS="CALSTABLE"
1096><TR
1097><TD
1098WIDTH="20%"
1099ALIGN="RIGHT"
1100VALIGN="TOP"
1101><TT
1102CLASS="PARAMETER"
1103><I
1104>cur</I
1105></TT
1106>&nbsp;:</TD
1107><TD
1108WIDTH="80%"
1109ALIGN="LEFT"
1110VALIGN="TOP"
1111> the element content tree to free</TD
1112></TR
1113></TABLE
1114><P
1115></P
1116></DIV
1117></DIV
1118><HR><DIV
1119CLASS="REFSECT2"
1120><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001121NAME="AEN4086"
Daniel Veillard35925471999-02-25 08:46:07 +00001122></A
1123><H3
1124><A
1125NAME="XMLADDELEMENTDECL"
1126></A
1127>xmlAddElementDecl()</H3
1128><TABLE
1129BORDER="0"
1130BGCOLOR="#E8E8F8"
1131WIDTH="100%"
1132CELLPADDING="6"
1133><TR
1134><TD
1135><PRE
1136CLASS="PROGRAMLISTING"
1137><A
1138HREF="gnome-xml-tree.html#XMLELEMENTPTR"
1139>xmlElementPtr</A
1140> xmlAddElementDecl (<A
1141HREF="gnome-xml-tree.html#XMLDTDPTR"
1142>xmlDtdPtr</A
1143> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001144 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00001145HREF="gnome-xml-tree.html#CHAR"
1146>CHAR</A
1147> *name,
1148 int type,
1149 <A
1150HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1151>xmlElementContentPtr</A
1152> content);</PRE
1153></TD
1154></TR
1155></TABLE
1156><P
1157>Register a new element declaration</P
1158><P
1159></P
1160><DIV
1161CLASS="INFORMALTABLE"
1162><P
1163></P
1164><TABLE
1165BORDER="0"
1166WIDTH="100%"
1167BGCOLOR="#FFE0E0"
1168CELLSPACING="0"
1169CELLPADDING="4"
1170CLASS="CALSTABLE"
1171><TR
1172><TD
1173WIDTH="20%"
1174ALIGN="RIGHT"
1175VALIGN="TOP"
1176><TT
1177CLASS="PARAMETER"
1178><I
1179>dtd</I
1180></TT
1181>&nbsp;:</TD
1182><TD
1183WIDTH="80%"
1184ALIGN="LEFT"
1185VALIGN="TOP"
1186> pointer to the DTD</TD
1187></TR
1188><TR
1189><TD
1190WIDTH="20%"
1191ALIGN="RIGHT"
1192VALIGN="TOP"
1193><TT
1194CLASS="PARAMETER"
1195><I
1196>name</I
1197></TT
1198>&nbsp;:</TD
1199><TD
1200WIDTH="80%"
1201ALIGN="LEFT"
1202VALIGN="TOP"
1203> the entity name</TD
1204></TR
1205><TR
1206><TD
1207WIDTH="20%"
1208ALIGN="RIGHT"
1209VALIGN="TOP"
1210><TT
1211CLASS="PARAMETER"
1212><I
1213>type</I
1214></TT
1215>&nbsp;:</TD
1216><TD
1217WIDTH="80%"
1218ALIGN="LEFT"
1219VALIGN="TOP"
1220> the element type</TD
1221></TR
1222><TR
1223><TD
1224WIDTH="20%"
1225ALIGN="RIGHT"
1226VALIGN="TOP"
1227><TT
1228CLASS="PARAMETER"
1229><I
1230>content</I
1231></TT
1232>&nbsp;:</TD
1233><TD
1234WIDTH="80%"
1235ALIGN="LEFT"
1236VALIGN="TOP"
1237> the element content tree or NULL</TD
1238></TR
1239><TR
1240><TD
1241WIDTH="20%"
1242ALIGN="RIGHT"
1243VALIGN="TOP"
1244><I
1245CLASS="EMPHASIS"
1246>Returns</I
1247> :</TD
1248><TD
1249WIDTH="80%"
1250ALIGN="LEFT"
1251VALIGN="TOP"
1252>NULL if not, othervise the entity</TD
1253></TR
1254></TABLE
1255><P
1256></P
1257></DIV
1258></DIV
1259><HR><DIV
1260CLASS="REFSECT2"
1261><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001262NAME="AEN4121"
Daniel Veillard35925471999-02-25 08:46:07 +00001263></A
1264><H3
1265><A
1266NAME="XMLCOPYELEMENTTABLE"
1267></A
1268>xmlCopyElementTable()</H3
1269><TABLE
1270BORDER="0"
1271BGCOLOR="#E8E8F8"
1272WIDTH="100%"
1273CELLPADDING="6"
1274><TR
1275><TD
1276><PRE
1277CLASS="PROGRAMLISTING"
1278><A
1279HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
1280>xmlElementTablePtr</A
1281> xmlCopyElementTable (<A
1282HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
1283>xmlElementTablePtr</A
1284> table);</PRE
1285></TD
1286></TR
1287></TABLE
1288><P
1289>Build a copy of an element table.</P
1290><P
1291></P
1292><DIV
1293CLASS="INFORMALTABLE"
1294><P
1295></P
1296><TABLE
1297BORDER="0"
1298WIDTH="100%"
1299BGCOLOR="#FFE0E0"
1300CELLSPACING="0"
1301CELLPADDING="4"
1302CLASS="CALSTABLE"
1303><TR
1304><TD
1305WIDTH="20%"
1306ALIGN="RIGHT"
1307VALIGN="TOP"
1308><TT
1309CLASS="PARAMETER"
1310><I
1311>table</I
1312></TT
1313>&nbsp;:</TD
1314><TD
1315WIDTH="80%"
1316ALIGN="LEFT"
1317VALIGN="TOP"
1318> An element table</TD
1319></TR
1320><TR
1321><TD
1322WIDTH="20%"
1323ALIGN="RIGHT"
1324VALIGN="TOP"
1325><I
1326CLASS="EMPHASIS"
1327>Returns</I
1328> :</TD
1329><TD
1330WIDTH="80%"
1331ALIGN="LEFT"
1332VALIGN="TOP"
1333>the new xmlElementTablePtr or NULL in case of error.</TD
1334></TR
1335></TABLE
1336><P
1337></P
1338></DIV
1339></DIV
1340><HR><DIV
1341CLASS="REFSECT2"
1342><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001343NAME="AEN4142"
Daniel Veillard35925471999-02-25 08:46:07 +00001344></A
1345><H3
1346><A
1347NAME="XMLFREEELEMENTTABLE"
1348></A
1349>xmlFreeElementTable()</H3
1350><TABLE
1351BORDER="0"
1352BGCOLOR="#E8E8F8"
1353WIDTH="100%"
1354CELLPADDING="6"
1355><TR
1356><TD
1357><PRE
1358CLASS="PROGRAMLISTING"
1359>void xmlFreeElementTable (<A
1360HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
1361>xmlElementTablePtr</A
1362> table);</PRE
1363></TD
1364></TR
1365></TABLE
1366><P
1367>Deallocate the memory used by an element hash table.</P
1368><P
1369></P
1370><DIV
1371CLASS="INFORMALTABLE"
1372><P
1373></P
1374><TABLE
1375BORDER="0"
1376WIDTH="100%"
1377BGCOLOR="#FFE0E0"
1378CELLSPACING="0"
1379CELLPADDING="4"
1380CLASS="CALSTABLE"
1381><TR
1382><TD
1383WIDTH="20%"
1384ALIGN="RIGHT"
1385VALIGN="TOP"
1386><TT
1387CLASS="PARAMETER"
1388><I
1389>table</I
1390></TT
1391>&nbsp;:</TD
1392><TD
1393WIDTH="80%"
1394ALIGN="LEFT"
1395VALIGN="TOP"
1396> An element table</TD
1397></TR
1398></TABLE
1399><P
1400></P
1401></DIV
1402></DIV
1403><HR><DIV
1404CLASS="REFSECT2"
1405><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001406NAME="AEN4158"
Daniel Veillard35925471999-02-25 08:46:07 +00001407></A
1408><H3
1409><A
1410NAME="XMLDUMPELEMENTTABLE"
1411></A
1412>xmlDumpElementTable()</H3
1413><TABLE
1414BORDER="0"
1415BGCOLOR="#E8E8F8"
1416WIDTH="100%"
1417CELLPADDING="6"
1418><TR
1419><TD
1420><PRE
1421CLASS="PROGRAMLISTING"
1422>void xmlDumpElementTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001423HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1424>xmlBufferPtr</A
1425> buf,
1426 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001427HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
1428>xmlElementTablePtr</A
1429> table);</PRE
1430></TD
1431></TR
1432></TABLE
1433><P
1434>This will dump the content of the element table as an XML DTD definition</P
1435><P
1436>NOTE: TODO an extra parameter allowing a reentant implementation will
1437be added.</P
1438><P
1439></P
1440><DIV
1441CLASS="INFORMALTABLE"
1442><P
1443></P
1444><TABLE
1445BORDER="0"
1446WIDTH="100%"
1447BGCOLOR="#FFE0E0"
1448CELLSPACING="0"
1449CELLPADDING="4"
1450CLASS="CALSTABLE"
1451><TR
1452><TD
1453WIDTH="20%"
1454ALIGN="RIGHT"
1455VALIGN="TOP"
1456><TT
1457CLASS="PARAMETER"
1458><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001459>buf</I
1460></TT
1461>&nbsp;:</TD
1462><TD
1463WIDTH="80%"
1464ALIGN="LEFT"
1465VALIGN="TOP"
1466>&nbsp;</TD
1467></TR
1468><TR
1469><TD
1470WIDTH="20%"
1471ALIGN="RIGHT"
1472VALIGN="TOP"
1473><TT
1474CLASS="PARAMETER"
1475><I
Daniel Veillard35925471999-02-25 08:46:07 +00001476>table</I
1477></TT
1478>&nbsp;:</TD
1479><TD
1480WIDTH="80%"
1481ALIGN="LEFT"
1482VALIGN="TOP"
1483> An element table</TD
1484></TR
1485></TABLE
1486><P
1487></P
1488></DIV
1489></DIV
1490><HR><DIV
1491CLASS="REFSECT2"
1492><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001493NAME="AEN4180"
Daniel Veillard35925471999-02-25 08:46:07 +00001494></A
1495><H3
1496><A
1497NAME="XMLCREATEENUMERATION"
1498></A
1499>xmlCreateEnumeration()</H3
1500><TABLE
1501BORDER="0"
1502BGCOLOR="#E8E8F8"
1503WIDTH="100%"
1504CELLPADDING="6"
1505><TR
1506><TD
1507><PRE
1508CLASS="PROGRAMLISTING"
1509><A
1510HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
1511>xmlEnumerationPtr</A
1512> xmlCreateEnumeration (<A
1513HREF="gnome-xml-tree.html#CHAR"
1514>CHAR</A
1515> *name);</PRE
1516></TD
1517></TR
1518></TABLE
1519><P
1520>create and initialize an enumeration attribute node.</P
1521><P
1522></P
1523><DIV
1524CLASS="INFORMALTABLE"
1525><P
1526></P
1527><TABLE
1528BORDER="0"
1529WIDTH="100%"
1530BGCOLOR="#FFE0E0"
1531CELLSPACING="0"
1532CELLPADDING="4"
1533CLASS="CALSTABLE"
1534><TR
1535><TD
1536WIDTH="20%"
1537ALIGN="RIGHT"
1538VALIGN="TOP"
1539><TT
1540CLASS="PARAMETER"
1541><I
1542>name</I
1543></TT
1544>&nbsp;:</TD
1545><TD
1546WIDTH="80%"
1547ALIGN="LEFT"
1548VALIGN="TOP"
1549> the enumeration name or NULL</TD
1550></TR
1551><TR
1552><TD
1553WIDTH="20%"
1554ALIGN="RIGHT"
1555VALIGN="TOP"
1556><I
1557CLASS="EMPHASIS"
1558>Returns</I
1559> :</TD
1560><TD
1561WIDTH="80%"
1562ALIGN="LEFT"
1563VALIGN="TOP"
1564>the xmlEnumerationPtr just created or NULL in case
1565of error.</TD
1566></TR
1567></TABLE
1568><P
1569></P
1570></DIV
1571></DIV
1572><HR><DIV
1573CLASS="REFSECT2"
1574><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001575NAME="AEN4201"
Daniel Veillard35925471999-02-25 08:46:07 +00001576></A
1577><H3
1578><A
1579NAME="XMLFREEENUMERATION"
1580></A
1581>xmlFreeEnumeration()</H3
1582><TABLE
1583BORDER="0"
1584BGCOLOR="#E8E8F8"
1585WIDTH="100%"
1586CELLPADDING="6"
1587><TR
1588><TD
1589><PRE
1590CLASS="PROGRAMLISTING"
1591>void xmlFreeEnumeration (<A
1592HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
1593>xmlEnumerationPtr</A
1594> cur);</PRE
1595></TD
1596></TR
1597></TABLE
1598><P
1599>free an enumeration attribute node (recursive).</P
1600><P
1601></P
1602><DIV
1603CLASS="INFORMALTABLE"
1604><P
1605></P
1606><TABLE
1607BORDER="0"
1608WIDTH="100%"
1609BGCOLOR="#FFE0E0"
1610CELLSPACING="0"
1611CELLPADDING="4"
1612CLASS="CALSTABLE"
1613><TR
1614><TD
1615WIDTH="20%"
1616ALIGN="RIGHT"
1617VALIGN="TOP"
1618><TT
1619CLASS="PARAMETER"
1620><I
1621>cur</I
1622></TT
1623>&nbsp;:</TD
1624><TD
1625WIDTH="80%"
1626ALIGN="LEFT"
1627VALIGN="TOP"
1628> the tree to free.</TD
1629></TR
1630></TABLE
1631><P
1632></P
1633></DIV
1634></DIV
1635><HR><DIV
1636CLASS="REFSECT2"
1637><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001638NAME="AEN4217"
Daniel Veillard35925471999-02-25 08:46:07 +00001639></A
1640><H3
1641><A
1642NAME="XMLCOPYENUMERATION"
1643></A
1644>xmlCopyEnumeration()</H3
1645><TABLE
1646BORDER="0"
1647BGCOLOR="#E8E8F8"
1648WIDTH="100%"
1649CELLPADDING="6"
1650><TR
1651><TD
1652><PRE
1653CLASS="PROGRAMLISTING"
1654><A
1655HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
1656>xmlEnumerationPtr</A
1657> xmlCopyEnumeration (<A
1658HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
1659>xmlEnumerationPtr</A
1660> cur);</PRE
1661></TD
1662></TR
1663></TABLE
1664><P
1665>Copy an enumeration attribute node (recursive).</P
1666><P
1667></P
1668><DIV
1669CLASS="INFORMALTABLE"
1670><P
1671></P
1672><TABLE
1673BORDER="0"
1674WIDTH="100%"
1675BGCOLOR="#FFE0E0"
1676CELLSPACING="0"
1677CELLPADDING="4"
1678CLASS="CALSTABLE"
1679><TR
1680><TD
1681WIDTH="20%"
1682ALIGN="RIGHT"
1683VALIGN="TOP"
1684><TT
1685CLASS="PARAMETER"
1686><I
1687>cur</I
1688></TT
1689>&nbsp;:</TD
1690><TD
1691WIDTH="80%"
1692ALIGN="LEFT"
1693VALIGN="TOP"
1694> the tree to copy.</TD
1695></TR
1696><TR
1697><TD
1698WIDTH="20%"
1699ALIGN="RIGHT"
1700VALIGN="TOP"
1701><I
1702CLASS="EMPHASIS"
1703>Returns</I
1704> :</TD
1705><TD
1706WIDTH="80%"
1707ALIGN="LEFT"
1708VALIGN="TOP"
1709>the xmlEnumerationPtr just created or NULL in case
1710of error.</TD
1711></TR
1712></TABLE
1713><P
1714></P
1715></DIV
1716></DIV
1717><HR><DIV
1718CLASS="REFSECT2"
1719><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001720NAME="AEN4238"
Daniel Veillard35925471999-02-25 08:46:07 +00001721></A
1722><H3
1723><A
1724NAME="XMLADDATTRIBUTEDECL"
1725></A
1726>xmlAddAttributeDecl()</H3
1727><TABLE
1728BORDER="0"
1729BGCOLOR="#E8E8F8"
1730WIDTH="100%"
1731CELLPADDING="6"
1732><TR
1733><TD
1734><PRE
1735CLASS="PROGRAMLISTING"
1736><A
1737HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
1738>xmlAttributePtr</A
1739> xmlAddAttributeDecl (<A
1740HREF="gnome-xml-tree.html#XMLDTDPTR"
1741>xmlDtdPtr</A
1742> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001743 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00001744HREF="gnome-xml-tree.html#CHAR"
1745>CHAR</A
1746> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001747 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00001748HREF="gnome-xml-tree.html#CHAR"
1749>CHAR</A
1750> *name,
1751 int type,
1752 int def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001753 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00001754HREF="gnome-xml-tree.html#CHAR"
1755>CHAR</A
1756> *defaultValue,
1757 <A
1758HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
1759>xmlEnumerationPtr</A
1760> tree);</PRE
1761></TD
1762></TR
1763></TABLE
1764><P
1765>Register a new attribute declaration</P
1766><P
1767></P
1768><DIV
1769CLASS="INFORMALTABLE"
1770><P
1771></P
1772><TABLE
1773BORDER="0"
1774WIDTH="100%"
1775BGCOLOR="#FFE0E0"
1776CELLSPACING="0"
1777CELLPADDING="4"
1778CLASS="CALSTABLE"
1779><TR
1780><TD
1781WIDTH="20%"
1782ALIGN="RIGHT"
1783VALIGN="TOP"
1784><TT
1785CLASS="PARAMETER"
1786><I
1787>dtd</I
1788></TT
1789>&nbsp;:</TD
1790><TD
1791WIDTH="80%"
1792ALIGN="LEFT"
1793VALIGN="TOP"
1794> pointer to the DTD</TD
1795></TR
1796><TR
1797><TD
1798WIDTH="20%"
1799ALIGN="RIGHT"
1800VALIGN="TOP"
1801><TT
1802CLASS="PARAMETER"
1803><I
1804>elem</I
1805></TT
1806>&nbsp;:</TD
1807><TD
1808WIDTH="80%"
1809ALIGN="LEFT"
1810VALIGN="TOP"
1811> the element name</TD
1812></TR
1813><TR
1814><TD
1815WIDTH="20%"
1816ALIGN="RIGHT"
1817VALIGN="TOP"
1818><TT
1819CLASS="PARAMETER"
1820><I
1821>name</I
1822></TT
1823>&nbsp;:</TD
1824><TD
1825WIDTH="80%"
1826ALIGN="LEFT"
1827VALIGN="TOP"
1828> the attribute name</TD
1829></TR
1830><TR
1831><TD
1832WIDTH="20%"
1833ALIGN="RIGHT"
1834VALIGN="TOP"
1835><TT
1836CLASS="PARAMETER"
1837><I
1838>type</I
1839></TT
1840>&nbsp;:</TD
1841><TD
1842WIDTH="80%"
1843ALIGN="LEFT"
1844VALIGN="TOP"
1845> the attribute type</TD
1846></TR
1847><TR
1848><TD
1849WIDTH="20%"
1850ALIGN="RIGHT"
1851VALIGN="TOP"
1852><TT
1853CLASS="PARAMETER"
1854><I
1855>def</I
1856></TT
1857>&nbsp;:</TD
1858><TD
1859WIDTH="80%"
1860ALIGN="LEFT"
1861VALIGN="TOP"
1862> the attribute default type</TD
1863></TR
1864><TR
1865><TD
1866WIDTH="20%"
1867ALIGN="RIGHT"
1868VALIGN="TOP"
1869><TT
1870CLASS="PARAMETER"
1871><I
1872>defaultValue</I
1873></TT
1874>&nbsp;:</TD
1875><TD
1876WIDTH="80%"
1877ALIGN="LEFT"
1878VALIGN="TOP"
1879> the attribute default value</TD
1880></TR
1881><TR
1882><TD
1883WIDTH="20%"
1884ALIGN="RIGHT"
1885VALIGN="TOP"
1886><TT
1887CLASS="PARAMETER"
1888><I
1889>tree</I
1890></TT
1891>&nbsp;:</TD
1892><TD
1893WIDTH="80%"
1894ALIGN="LEFT"
1895VALIGN="TOP"
1896> if it's an enumeration, the associated list</TD
1897></TR
1898><TR
1899><TD
1900WIDTH="20%"
1901ALIGN="RIGHT"
1902VALIGN="TOP"
1903><I
1904CLASS="EMPHASIS"
1905>Returns</I
1906> :</TD
1907><TD
1908WIDTH="80%"
1909ALIGN="LEFT"
1910VALIGN="TOP"
1911>NULL if not, othervise the entity</TD
1912></TR
1913></TABLE
1914><P
1915></P
1916></DIV
1917></DIV
1918><HR><DIV
1919CLASS="REFSECT2"
1920><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001921NAME="AEN4287"
Daniel Veillard35925471999-02-25 08:46:07 +00001922></A
1923><H3
1924><A
1925NAME="XMLCOPYATTRIBUTETABLE"
1926></A
1927>xmlCopyAttributeTable()</H3
1928><TABLE
1929BORDER="0"
1930BGCOLOR="#E8E8F8"
1931WIDTH="100%"
1932CELLPADDING="6"
1933><TR
1934><TD
1935><PRE
1936CLASS="PROGRAMLISTING"
1937><A
1938HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
1939>xmlAttributeTablePtr</A
1940> xmlCopyAttributeTable (<A
1941HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
1942>xmlAttributeTablePtr</A
1943> table);</PRE
1944></TD
1945></TR
1946></TABLE
1947><P
1948>Build a copy of an attribute table.</P
1949><P
1950></P
1951><DIV
1952CLASS="INFORMALTABLE"
1953><P
1954></P
1955><TABLE
1956BORDER="0"
1957WIDTH="100%"
1958BGCOLOR="#FFE0E0"
1959CELLSPACING="0"
1960CELLPADDING="4"
1961CLASS="CALSTABLE"
1962><TR
1963><TD
1964WIDTH="20%"
1965ALIGN="RIGHT"
1966VALIGN="TOP"
1967><TT
1968CLASS="PARAMETER"
1969><I
1970>table</I
1971></TT
1972>&nbsp;:</TD
1973><TD
1974WIDTH="80%"
1975ALIGN="LEFT"
1976VALIGN="TOP"
1977> An attribute table</TD
1978></TR
1979><TR
1980><TD
1981WIDTH="20%"
1982ALIGN="RIGHT"
1983VALIGN="TOP"
1984><I
1985CLASS="EMPHASIS"
1986>Returns</I
1987> :</TD
1988><TD
1989WIDTH="80%"
1990ALIGN="LEFT"
1991VALIGN="TOP"
1992>the new xmlAttributeTablePtr or NULL in case of error.</TD
1993></TR
1994></TABLE
1995><P
1996></P
1997></DIV
1998></DIV
1999><HR><DIV
2000CLASS="REFSECT2"
2001><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002002NAME="AEN4308"
Daniel Veillard35925471999-02-25 08:46:07 +00002003></A
2004><H3
2005><A
2006NAME="XMLFREEATTRIBUTETABLE"
2007></A
2008>xmlFreeAttributeTable()</H3
2009><TABLE
2010BORDER="0"
2011BGCOLOR="#E8E8F8"
2012WIDTH="100%"
2013CELLPADDING="6"
2014><TR
2015><TD
2016><PRE
2017CLASS="PROGRAMLISTING"
2018>void xmlFreeAttributeTable (<A
2019HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2020>xmlAttributeTablePtr</A
2021> table);</PRE
2022></TD
2023></TR
2024></TABLE
2025><P
2026>Deallocate the memory used by an entities hash table.</P
2027><P
2028></P
2029><DIV
2030CLASS="INFORMALTABLE"
2031><P
2032></P
2033><TABLE
2034BORDER="0"
2035WIDTH="100%"
2036BGCOLOR="#FFE0E0"
2037CELLSPACING="0"
2038CELLPADDING="4"
2039CLASS="CALSTABLE"
2040><TR
2041><TD
2042WIDTH="20%"
2043ALIGN="RIGHT"
2044VALIGN="TOP"
2045><TT
2046CLASS="PARAMETER"
2047><I
2048>table</I
2049></TT
2050>&nbsp;:</TD
2051><TD
2052WIDTH="80%"
2053ALIGN="LEFT"
2054VALIGN="TOP"
2055> An attribute table</TD
2056></TR
2057></TABLE
2058><P
2059></P
2060></DIV
2061></DIV
2062><HR><DIV
2063CLASS="REFSECT2"
2064><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002065NAME="AEN4324"
Daniel Veillard35925471999-02-25 08:46:07 +00002066></A
2067><H3
2068><A
2069NAME="XMLDUMPATTRIBUTETABLE"
2070></A
2071>xmlDumpAttributeTable()</H3
2072><TABLE
2073BORDER="0"
2074BGCOLOR="#E8E8F8"
2075WIDTH="100%"
2076CELLPADDING="6"
2077><TR
2078><TD
2079><PRE
2080CLASS="PROGRAMLISTING"
2081>void xmlDumpAttributeTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002082HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2083>xmlBufferPtr</A
2084> buf,
2085 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002086HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2087>xmlAttributeTablePtr</A
2088> table);</PRE
2089></TD
2090></TR
2091></TABLE
2092><P
2093>This will dump the content of the attribute table as an XML DTD definition</P
2094><P
2095>NOTE: TODO an extra parameter allowing a reentant implementation will
2096be added.</P
2097><P
2098></P
2099><DIV
2100CLASS="INFORMALTABLE"
2101><P
2102></P
2103><TABLE
2104BORDER="0"
2105WIDTH="100%"
2106BGCOLOR="#FFE0E0"
2107CELLSPACING="0"
2108CELLPADDING="4"
2109CLASS="CALSTABLE"
2110><TR
2111><TD
2112WIDTH="20%"
2113ALIGN="RIGHT"
2114VALIGN="TOP"
2115><TT
2116CLASS="PARAMETER"
2117><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002118>buf</I
2119></TT
2120>&nbsp;:</TD
2121><TD
2122WIDTH="80%"
2123ALIGN="LEFT"
2124VALIGN="TOP"
2125>&nbsp;</TD
2126></TR
2127><TR
2128><TD
2129WIDTH="20%"
2130ALIGN="RIGHT"
2131VALIGN="TOP"
2132><TT
2133CLASS="PARAMETER"
2134><I
Daniel Veillard35925471999-02-25 08:46:07 +00002135>table</I
2136></TT
2137>&nbsp;:</TD
2138><TD
2139WIDTH="80%"
2140ALIGN="LEFT"
2141VALIGN="TOP"
2142> An attribute table</TD
2143></TR
2144></TABLE
2145><P
2146></P
2147></DIV
2148></DIV
2149></DIV
2150><DIV
2151CLASS="NAVFOOTER"
2152><HR
2153ALIGN="LEFT"
2154WIDTH="100%"><TABLE
2155WIDTH="100%"
2156BORDER="0"
2157CELLPADDING="0"
2158CELLSPACING="0"
2159><TR
2160><TD
2161WIDTH="33%"
2162ALIGN="left"
2163VALIGN="top"
2164><A
2165HREF="gnome-xml-entities.html"
2166>Prev</A
2167></TD
2168><TD
2169WIDTH="34%"
2170ALIGN="center"
2171VALIGN="top"
2172><A
2173HREF="book1.html"
2174>Home</A
2175></TD
2176><TD
2177WIDTH="33%"
2178ALIGN="right"
2179VALIGN="top"
2180><A
Daniel Veillardd109e371999-03-05 06:26:45 +00002181HREF="gnome-xml-xml-error.html"
Daniel Veillard35925471999-02-25 08:46:07 +00002182>Next</A
2183></TD
2184></TR
2185><TR
2186><TD
2187WIDTH="33%"
2188ALIGN="left"
2189VALIGN="top"
2190>entities</TD
2191><TD
2192WIDTH="34%"
2193ALIGN="center"
2194VALIGN="top"
2195><A
2196HREF="libxml.html"
2197>Up</A
2198></TD
2199><TD
2200WIDTH="33%"
2201ALIGN="right"
2202VALIGN="top"
Daniel Veillardd109e371999-03-05 06:26:45 +00002203>xml-error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002204></TR
2205></TABLE
2206></DIV
2207></BODY
2208></HTML
2209>