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