blob: 7b7cc6781779285c5fea342645d23599f7fc1d22 [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 Veillard011b63c1999-06-02 17:44:04 +000068NAME="AEN3853"
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 Veillard011b63c1999-06-02 17:44:04 +000076NAME="AEN3856"
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 Veillard011b63c1999-06-02 17:44:04 +0000330NAME="AEN3923"
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 Veillard011b63c1999-06-02 17:44:04 +0000340NAME="AEN3926"
Daniel Veillard35925471999-02-25 08:46:07 +0000341></A
342><H2
343>Details</H2
344><HR><DIV
345CLASS="REFSECT2"
346><A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000347NAME="AEN3928"
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 Veillard011b63c1999-06-02 17:44:04 +0000373NAME="AEN3933"
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 Veillard011b63c1999-06-02 17:44:04 +0000399NAME="AEN3938"
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 Veillard011b63c1999-06-02 17:44:04 +0000425NAME="AEN3943"
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 Veillard011b63c1999-06-02 17:44:04 +0000451NAME="AEN3948"
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 Veillard011b63c1999-06-02 17:44:04 +0000477NAME="AEN3953"
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 Veillard011b63c1999-06-02 17:44:04 +0000503NAME="AEN3958"
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 Veillard011b63c1999-06-02 17:44:04 +0000647NAME="AEN3994"
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 Veillard011b63c1999-06-02 17:44:04 +0000728NAME="AEN4015"
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 Veillard011b63c1999-06-02 17:44:04 +0000791NAME="AEN4031"
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
Daniel Veillard35925471999-02-25 08:46:07 +0000821></P
822><DIV
823CLASS="INFORMALTABLE"
824><P
825></P
826><TABLE
827BORDER="0"
828WIDTH="100%"
829BGCOLOR="#FFE0E0"
830CELLSPACING="0"
831CELLPADDING="4"
832CLASS="CALSTABLE"
833><TR
834><TD
835WIDTH="20%"
836ALIGN="RIGHT"
837VALIGN="TOP"
838><TT
839CLASS="PARAMETER"
840><I
Daniel Veillard5099ae81999-04-21 20:12:07 +0000841>buf</I
842></TT
843>&nbsp;:</TD
844><TD
845WIDTH="80%"
846ALIGN="LEFT"
847VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000848> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +0000849></TR
850><TR
851><TD
852WIDTH="20%"
853ALIGN="RIGHT"
854VALIGN="TOP"
855><TT
856CLASS="PARAMETER"
857><I
Daniel Veillard35925471999-02-25 08:46:07 +0000858>table</I
859></TT
860>&nbsp;:</TD
861><TD
862WIDTH="80%"
863ALIGN="LEFT"
864VALIGN="TOP"
865> A notation table</TD
866></TR
867></TABLE
868><P
869></P
870></DIV
871></DIV
872><HR><DIV
873CLASS="REFSECT2"
874><A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000875NAME="AEN4052"
Daniel Veillard35925471999-02-25 08:46:07 +0000876></A
877><H3
878><A
879NAME="XMLNEWELEMENTCONTENT"
880></A
881>xmlNewElementContent()</H3
882><TABLE
883BORDER="0"
884BGCOLOR="#E8E8F8"
885WIDTH="100%"
886CELLPADDING="6"
887><TR
888><TD
889><PRE
890CLASS="PROGRAMLISTING"
891><A
892HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
893>xmlElementContentPtr</A
894> xmlNewElementContent (<A
895HREF="gnome-xml-tree.html#CHAR"
896>CHAR</A
897> *name,
898 int type);</PRE
899></TD
900></TR
901></TABLE
902><P
903>Allocate an element content structure.</P
904><P
905></P
906><DIV
907CLASS="INFORMALTABLE"
908><P
909></P
910><TABLE
911BORDER="0"
912WIDTH="100%"
913BGCOLOR="#FFE0E0"
914CELLSPACING="0"
915CELLPADDING="4"
916CLASS="CALSTABLE"
917><TR
918><TD
919WIDTH="20%"
920ALIGN="RIGHT"
921VALIGN="TOP"
922><TT
923CLASS="PARAMETER"
924><I
925>name</I
926></TT
927>&nbsp;:</TD
928><TD
929WIDTH="80%"
930ALIGN="LEFT"
931VALIGN="TOP"
932> the subelement name or NULL</TD
933></TR
934><TR
935><TD
936WIDTH="20%"
937ALIGN="RIGHT"
938VALIGN="TOP"
939><TT
940CLASS="PARAMETER"
941><I
942>type</I
943></TT
944>&nbsp;:</TD
945><TD
946WIDTH="80%"
947ALIGN="LEFT"
948VALIGN="TOP"
949> the type of element content decl</TD
950></TR
951><TR
952><TD
953WIDTH="20%"
954ALIGN="RIGHT"
955VALIGN="TOP"
956><I
957CLASS="EMPHASIS"
958>Returns</I
959> :</TD
960><TD
961WIDTH="80%"
962ALIGN="LEFT"
963VALIGN="TOP"
964>NULL if not, othervise the new element content structure</TD
965></TR
966></TABLE
967><P
968></P
969></DIV
970></DIV
971><HR><DIV
972CLASS="REFSECT2"
973><A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000974NAME="AEN4077"
Daniel Veillard35925471999-02-25 08:46:07 +0000975></A
976><H3
977><A
978NAME="XMLCOPYELEMENTCONTENT"
979></A
980>xmlCopyElementContent()</H3
981><TABLE
982BORDER="0"
983BGCOLOR="#E8E8F8"
984WIDTH="100%"
985CELLPADDING="6"
986><TR
987><TD
988><PRE
989CLASS="PROGRAMLISTING"
990><A
991HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
992>xmlElementContentPtr</A
993> xmlCopyElementContent (<A
994HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
995>xmlElementContentPtr</A
996> content);</PRE
997></TD
998></TR
999></TABLE
1000><P
1001>Build a copy of an element content description.</P
1002><P
1003></P
1004><DIV
1005CLASS="INFORMALTABLE"
1006><P
1007></P
1008><TABLE
1009BORDER="0"
1010WIDTH="100%"
1011BGCOLOR="#FFE0E0"
1012CELLSPACING="0"
1013CELLPADDING="4"
1014CLASS="CALSTABLE"
1015><TR
1016><TD
1017WIDTH="20%"
1018ALIGN="RIGHT"
1019VALIGN="TOP"
1020><TT
1021CLASS="PARAMETER"
1022><I
1023>content</I
1024></TT
1025>&nbsp;:</TD
1026><TD
1027WIDTH="80%"
1028ALIGN="LEFT"
1029VALIGN="TOP"
1030> An element content pointer.</TD
1031></TR
1032><TR
1033><TD
1034WIDTH="20%"
1035ALIGN="RIGHT"
1036VALIGN="TOP"
1037><I
1038CLASS="EMPHASIS"
1039>Returns</I
1040> :</TD
1041><TD
1042WIDTH="80%"
1043ALIGN="LEFT"
1044VALIGN="TOP"
1045>the new xmlElementContentPtr or NULL in case of error.</TD
1046></TR
1047></TABLE
1048><P
1049></P
1050></DIV
1051></DIV
1052><HR><DIV
1053CLASS="REFSECT2"
1054><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001055NAME="AEN4098"
Daniel Veillard35925471999-02-25 08:46:07 +00001056></A
1057><H3
1058><A
1059NAME="XMLFREEELEMENTCONTENT"
1060></A
1061>xmlFreeElementContent()</H3
1062><TABLE
1063BORDER="0"
1064BGCOLOR="#E8E8F8"
1065WIDTH="100%"
1066CELLPADDING="6"
1067><TR
1068><TD
1069><PRE
1070CLASS="PROGRAMLISTING"
1071>void xmlFreeElementContent (<A
1072HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1073>xmlElementContentPtr</A
1074> cur);</PRE
1075></TD
1076></TR
1077></TABLE
1078><P
1079>Free an element content structure. This is a recursive call !</P
1080><P
1081></P
1082><DIV
1083CLASS="INFORMALTABLE"
1084><P
1085></P
1086><TABLE
1087BORDER="0"
1088WIDTH="100%"
1089BGCOLOR="#FFE0E0"
1090CELLSPACING="0"
1091CELLPADDING="4"
1092CLASS="CALSTABLE"
1093><TR
1094><TD
1095WIDTH="20%"
1096ALIGN="RIGHT"
1097VALIGN="TOP"
1098><TT
1099CLASS="PARAMETER"
1100><I
1101>cur</I
1102></TT
1103>&nbsp;:</TD
1104><TD
1105WIDTH="80%"
1106ALIGN="LEFT"
1107VALIGN="TOP"
1108> the element content tree to free</TD
1109></TR
1110></TABLE
1111><P
1112></P
1113></DIV
1114></DIV
1115><HR><DIV
1116CLASS="REFSECT2"
1117><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001118NAME="AEN4114"
Daniel Veillard35925471999-02-25 08:46:07 +00001119></A
1120><H3
1121><A
1122NAME="XMLADDELEMENTDECL"
1123></A
1124>xmlAddElementDecl()</H3
1125><TABLE
1126BORDER="0"
1127BGCOLOR="#E8E8F8"
1128WIDTH="100%"
1129CELLPADDING="6"
1130><TR
1131><TD
1132><PRE
1133CLASS="PROGRAMLISTING"
1134><A
1135HREF="gnome-xml-tree.html#XMLELEMENTPTR"
1136>xmlElementPtr</A
1137> xmlAddElementDecl (<A
1138HREF="gnome-xml-tree.html#XMLDTDPTR"
1139>xmlDtdPtr</A
1140> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001141 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00001142HREF="gnome-xml-tree.html#CHAR"
1143>CHAR</A
1144> *name,
1145 int type,
1146 <A
1147HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1148>xmlElementContentPtr</A
1149> content);</PRE
1150></TD
1151></TR
1152></TABLE
1153><P
1154>Register a new element declaration</P
1155><P
1156></P
1157><DIV
1158CLASS="INFORMALTABLE"
1159><P
1160></P
1161><TABLE
1162BORDER="0"
1163WIDTH="100%"
1164BGCOLOR="#FFE0E0"
1165CELLSPACING="0"
1166CELLPADDING="4"
1167CLASS="CALSTABLE"
1168><TR
1169><TD
1170WIDTH="20%"
1171ALIGN="RIGHT"
1172VALIGN="TOP"
1173><TT
1174CLASS="PARAMETER"
1175><I
1176>dtd</I
1177></TT
1178>&nbsp;:</TD
1179><TD
1180WIDTH="80%"
1181ALIGN="LEFT"
1182VALIGN="TOP"
1183> pointer to the DTD</TD
1184></TR
1185><TR
1186><TD
1187WIDTH="20%"
1188ALIGN="RIGHT"
1189VALIGN="TOP"
1190><TT
1191CLASS="PARAMETER"
1192><I
1193>name</I
1194></TT
1195>&nbsp;:</TD
1196><TD
1197WIDTH="80%"
1198ALIGN="LEFT"
1199VALIGN="TOP"
1200> the entity name</TD
1201></TR
1202><TR
1203><TD
1204WIDTH="20%"
1205ALIGN="RIGHT"
1206VALIGN="TOP"
1207><TT
1208CLASS="PARAMETER"
1209><I
1210>type</I
1211></TT
1212>&nbsp;:</TD
1213><TD
1214WIDTH="80%"
1215ALIGN="LEFT"
1216VALIGN="TOP"
1217> the element type</TD
1218></TR
1219><TR
1220><TD
1221WIDTH="20%"
1222ALIGN="RIGHT"
1223VALIGN="TOP"
1224><TT
1225CLASS="PARAMETER"
1226><I
1227>content</I
1228></TT
1229>&nbsp;:</TD
1230><TD
1231WIDTH="80%"
1232ALIGN="LEFT"
1233VALIGN="TOP"
1234> the element content tree or NULL</TD
1235></TR
1236><TR
1237><TD
1238WIDTH="20%"
1239ALIGN="RIGHT"
1240VALIGN="TOP"
1241><I
1242CLASS="EMPHASIS"
1243>Returns</I
1244> :</TD
1245><TD
1246WIDTH="80%"
1247ALIGN="LEFT"
1248VALIGN="TOP"
1249>NULL if not, othervise the entity</TD
1250></TR
1251></TABLE
1252><P
1253></P
1254></DIV
1255></DIV
1256><HR><DIV
1257CLASS="REFSECT2"
1258><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001259NAME="AEN4149"
Daniel Veillard35925471999-02-25 08:46:07 +00001260></A
1261><H3
1262><A
1263NAME="XMLCOPYELEMENTTABLE"
1264></A
1265>xmlCopyElementTable()</H3
1266><TABLE
1267BORDER="0"
1268BGCOLOR="#E8E8F8"
1269WIDTH="100%"
1270CELLPADDING="6"
1271><TR
1272><TD
1273><PRE
1274CLASS="PROGRAMLISTING"
1275><A
1276HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
1277>xmlElementTablePtr</A
1278> xmlCopyElementTable (<A
1279HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
1280>xmlElementTablePtr</A
1281> table);</PRE
1282></TD
1283></TR
1284></TABLE
1285><P
1286>Build a copy of an element table.</P
1287><P
1288></P
1289><DIV
1290CLASS="INFORMALTABLE"
1291><P
1292></P
1293><TABLE
1294BORDER="0"
1295WIDTH="100%"
1296BGCOLOR="#FFE0E0"
1297CELLSPACING="0"
1298CELLPADDING="4"
1299CLASS="CALSTABLE"
1300><TR
1301><TD
1302WIDTH="20%"
1303ALIGN="RIGHT"
1304VALIGN="TOP"
1305><TT
1306CLASS="PARAMETER"
1307><I
1308>table</I
1309></TT
1310>&nbsp;:</TD
1311><TD
1312WIDTH="80%"
1313ALIGN="LEFT"
1314VALIGN="TOP"
1315> An element table</TD
1316></TR
1317><TR
1318><TD
1319WIDTH="20%"
1320ALIGN="RIGHT"
1321VALIGN="TOP"
1322><I
1323CLASS="EMPHASIS"
1324>Returns</I
1325> :</TD
1326><TD
1327WIDTH="80%"
1328ALIGN="LEFT"
1329VALIGN="TOP"
1330>the new xmlElementTablePtr or NULL in case of error.</TD
1331></TR
1332></TABLE
1333><P
1334></P
1335></DIV
1336></DIV
1337><HR><DIV
1338CLASS="REFSECT2"
1339><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001340NAME="AEN4170"
Daniel Veillard35925471999-02-25 08:46:07 +00001341></A
1342><H3
1343><A
1344NAME="XMLFREEELEMENTTABLE"
1345></A
1346>xmlFreeElementTable()</H3
1347><TABLE
1348BORDER="0"
1349BGCOLOR="#E8E8F8"
1350WIDTH="100%"
1351CELLPADDING="6"
1352><TR
1353><TD
1354><PRE
1355CLASS="PROGRAMLISTING"
1356>void xmlFreeElementTable (<A
1357HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
1358>xmlElementTablePtr</A
1359> table);</PRE
1360></TD
1361></TR
1362></TABLE
1363><P
1364>Deallocate the memory used by an element hash table.</P
1365><P
1366></P
1367><DIV
1368CLASS="INFORMALTABLE"
1369><P
1370></P
1371><TABLE
1372BORDER="0"
1373WIDTH="100%"
1374BGCOLOR="#FFE0E0"
1375CELLSPACING="0"
1376CELLPADDING="4"
1377CLASS="CALSTABLE"
1378><TR
1379><TD
1380WIDTH="20%"
1381ALIGN="RIGHT"
1382VALIGN="TOP"
1383><TT
1384CLASS="PARAMETER"
1385><I
1386>table</I
1387></TT
1388>&nbsp;:</TD
1389><TD
1390WIDTH="80%"
1391ALIGN="LEFT"
1392VALIGN="TOP"
1393> An element table</TD
1394></TR
1395></TABLE
1396><P
1397></P
1398></DIV
1399></DIV
1400><HR><DIV
1401CLASS="REFSECT2"
1402><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001403NAME="AEN4186"
Daniel Veillard35925471999-02-25 08:46:07 +00001404></A
1405><H3
1406><A
1407NAME="XMLDUMPELEMENTTABLE"
1408></A
1409>xmlDumpElementTable()</H3
1410><TABLE
1411BORDER="0"
1412BGCOLOR="#E8E8F8"
1413WIDTH="100%"
1414CELLPADDING="6"
1415><TR
1416><TD
1417><PRE
1418CLASS="PROGRAMLISTING"
1419>void xmlDumpElementTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001420HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1421>xmlBufferPtr</A
1422> buf,
1423 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001424HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
1425>xmlElementTablePtr</A
1426> table);</PRE
1427></TD
1428></TR
1429></TABLE
1430><P
1431>This will dump the content of the element table as an XML DTD definition</P
1432><P
Daniel Veillard35925471999-02-25 08:46:07 +00001433></P
1434><DIV
1435CLASS="INFORMALTABLE"
1436><P
1437></P
1438><TABLE
1439BORDER="0"
1440WIDTH="100%"
1441BGCOLOR="#FFE0E0"
1442CELLSPACING="0"
1443CELLPADDING="4"
1444CLASS="CALSTABLE"
1445><TR
1446><TD
1447WIDTH="20%"
1448ALIGN="RIGHT"
1449VALIGN="TOP"
1450><TT
1451CLASS="PARAMETER"
1452><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001453>buf</I
1454></TT
1455>&nbsp;:</TD
1456><TD
1457WIDTH="80%"
1458ALIGN="LEFT"
1459VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00001460> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001461></TR
1462><TR
1463><TD
1464WIDTH="20%"
1465ALIGN="RIGHT"
1466VALIGN="TOP"
1467><TT
1468CLASS="PARAMETER"
1469><I
Daniel Veillard35925471999-02-25 08:46:07 +00001470>table</I
1471></TT
1472>&nbsp;:</TD
1473><TD
1474WIDTH="80%"
1475ALIGN="LEFT"
1476VALIGN="TOP"
1477> An element table</TD
1478></TR
1479></TABLE
1480><P
1481></P
1482></DIV
1483></DIV
1484><HR><DIV
1485CLASS="REFSECT2"
1486><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001487NAME="AEN4207"
Daniel Veillard35925471999-02-25 08:46:07 +00001488></A
1489><H3
1490><A
1491NAME="XMLCREATEENUMERATION"
1492></A
1493>xmlCreateEnumeration()</H3
1494><TABLE
1495BORDER="0"
1496BGCOLOR="#E8E8F8"
1497WIDTH="100%"
1498CELLPADDING="6"
1499><TR
1500><TD
1501><PRE
1502CLASS="PROGRAMLISTING"
1503><A
1504HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
1505>xmlEnumerationPtr</A
1506> xmlCreateEnumeration (<A
1507HREF="gnome-xml-tree.html#CHAR"
1508>CHAR</A
1509> *name);</PRE
1510></TD
1511></TR
1512></TABLE
1513><P
1514>create and initialize an enumeration attribute node.</P
1515><P
1516></P
1517><DIV
1518CLASS="INFORMALTABLE"
1519><P
1520></P
1521><TABLE
1522BORDER="0"
1523WIDTH="100%"
1524BGCOLOR="#FFE0E0"
1525CELLSPACING="0"
1526CELLPADDING="4"
1527CLASS="CALSTABLE"
1528><TR
1529><TD
1530WIDTH="20%"
1531ALIGN="RIGHT"
1532VALIGN="TOP"
1533><TT
1534CLASS="PARAMETER"
1535><I
1536>name</I
1537></TT
1538>&nbsp;:</TD
1539><TD
1540WIDTH="80%"
1541ALIGN="LEFT"
1542VALIGN="TOP"
1543> the enumeration name or NULL</TD
1544></TR
1545><TR
1546><TD
1547WIDTH="20%"
1548ALIGN="RIGHT"
1549VALIGN="TOP"
1550><I
1551CLASS="EMPHASIS"
1552>Returns</I
1553> :</TD
1554><TD
1555WIDTH="80%"
1556ALIGN="LEFT"
1557VALIGN="TOP"
1558>the xmlEnumerationPtr just created or NULL in case
1559of error.</TD
1560></TR
1561></TABLE
1562><P
1563></P
1564></DIV
1565></DIV
1566><HR><DIV
1567CLASS="REFSECT2"
1568><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001569NAME="AEN4228"
Daniel Veillard35925471999-02-25 08:46:07 +00001570></A
1571><H3
1572><A
1573NAME="XMLFREEENUMERATION"
1574></A
1575>xmlFreeEnumeration()</H3
1576><TABLE
1577BORDER="0"
1578BGCOLOR="#E8E8F8"
1579WIDTH="100%"
1580CELLPADDING="6"
1581><TR
1582><TD
1583><PRE
1584CLASS="PROGRAMLISTING"
1585>void xmlFreeEnumeration (<A
1586HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
1587>xmlEnumerationPtr</A
1588> cur);</PRE
1589></TD
1590></TR
1591></TABLE
1592><P
1593>free an enumeration attribute node (recursive).</P
1594><P
1595></P
1596><DIV
1597CLASS="INFORMALTABLE"
1598><P
1599></P
1600><TABLE
1601BORDER="0"
1602WIDTH="100%"
1603BGCOLOR="#FFE0E0"
1604CELLSPACING="0"
1605CELLPADDING="4"
1606CLASS="CALSTABLE"
1607><TR
1608><TD
1609WIDTH="20%"
1610ALIGN="RIGHT"
1611VALIGN="TOP"
1612><TT
1613CLASS="PARAMETER"
1614><I
1615>cur</I
1616></TT
1617>&nbsp;:</TD
1618><TD
1619WIDTH="80%"
1620ALIGN="LEFT"
1621VALIGN="TOP"
1622> the tree to free.</TD
1623></TR
1624></TABLE
1625><P
1626></P
1627></DIV
1628></DIV
1629><HR><DIV
1630CLASS="REFSECT2"
1631><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001632NAME="AEN4244"
Daniel Veillard35925471999-02-25 08:46:07 +00001633></A
1634><H3
1635><A
1636NAME="XMLCOPYENUMERATION"
1637></A
1638>xmlCopyEnumeration()</H3
1639><TABLE
1640BORDER="0"
1641BGCOLOR="#E8E8F8"
1642WIDTH="100%"
1643CELLPADDING="6"
1644><TR
1645><TD
1646><PRE
1647CLASS="PROGRAMLISTING"
1648><A
1649HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
1650>xmlEnumerationPtr</A
1651> xmlCopyEnumeration (<A
1652HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
1653>xmlEnumerationPtr</A
1654> cur);</PRE
1655></TD
1656></TR
1657></TABLE
1658><P
1659>Copy an enumeration attribute node (recursive).</P
1660><P
1661></P
1662><DIV
1663CLASS="INFORMALTABLE"
1664><P
1665></P
1666><TABLE
1667BORDER="0"
1668WIDTH="100%"
1669BGCOLOR="#FFE0E0"
1670CELLSPACING="0"
1671CELLPADDING="4"
1672CLASS="CALSTABLE"
1673><TR
1674><TD
1675WIDTH="20%"
1676ALIGN="RIGHT"
1677VALIGN="TOP"
1678><TT
1679CLASS="PARAMETER"
1680><I
1681>cur</I
1682></TT
1683>&nbsp;:</TD
1684><TD
1685WIDTH="80%"
1686ALIGN="LEFT"
1687VALIGN="TOP"
1688> the tree to copy.</TD
1689></TR
1690><TR
1691><TD
1692WIDTH="20%"
1693ALIGN="RIGHT"
1694VALIGN="TOP"
1695><I
1696CLASS="EMPHASIS"
1697>Returns</I
1698> :</TD
1699><TD
1700WIDTH="80%"
1701ALIGN="LEFT"
1702VALIGN="TOP"
1703>the xmlEnumerationPtr just created or NULL in case
1704of error.</TD
1705></TR
1706></TABLE
1707><P
1708></P
1709></DIV
1710></DIV
1711><HR><DIV
1712CLASS="REFSECT2"
1713><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001714NAME="AEN4265"
Daniel Veillard35925471999-02-25 08:46:07 +00001715></A
1716><H3
1717><A
1718NAME="XMLADDATTRIBUTEDECL"
1719></A
1720>xmlAddAttributeDecl()</H3
1721><TABLE
1722BORDER="0"
1723BGCOLOR="#E8E8F8"
1724WIDTH="100%"
1725CELLPADDING="6"
1726><TR
1727><TD
1728><PRE
1729CLASS="PROGRAMLISTING"
1730><A
1731HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
1732>xmlAttributePtr</A
1733> xmlAddAttributeDecl (<A
1734HREF="gnome-xml-tree.html#XMLDTDPTR"
1735>xmlDtdPtr</A
1736> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001737 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00001738HREF="gnome-xml-tree.html#CHAR"
1739>CHAR</A
1740> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001741 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00001742HREF="gnome-xml-tree.html#CHAR"
1743>CHAR</A
1744> *name,
1745 int type,
1746 int def,
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> *defaultValue,
1751 <A
1752HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
1753>xmlEnumerationPtr</A
1754> tree);</PRE
1755></TD
1756></TR
1757></TABLE
1758><P
1759>Register a new attribute declaration</P
1760><P
1761></P
1762><DIV
1763CLASS="INFORMALTABLE"
1764><P
1765></P
1766><TABLE
1767BORDER="0"
1768WIDTH="100%"
1769BGCOLOR="#FFE0E0"
1770CELLSPACING="0"
1771CELLPADDING="4"
1772CLASS="CALSTABLE"
1773><TR
1774><TD
1775WIDTH="20%"
1776ALIGN="RIGHT"
1777VALIGN="TOP"
1778><TT
1779CLASS="PARAMETER"
1780><I
1781>dtd</I
1782></TT
1783>&nbsp;:</TD
1784><TD
1785WIDTH="80%"
1786ALIGN="LEFT"
1787VALIGN="TOP"
1788> pointer to the DTD</TD
1789></TR
1790><TR
1791><TD
1792WIDTH="20%"
1793ALIGN="RIGHT"
1794VALIGN="TOP"
1795><TT
1796CLASS="PARAMETER"
1797><I
1798>elem</I
1799></TT
1800>&nbsp;:</TD
1801><TD
1802WIDTH="80%"
1803ALIGN="LEFT"
1804VALIGN="TOP"
1805> the element name</TD
1806></TR
1807><TR
1808><TD
1809WIDTH="20%"
1810ALIGN="RIGHT"
1811VALIGN="TOP"
1812><TT
1813CLASS="PARAMETER"
1814><I
1815>name</I
1816></TT
1817>&nbsp;:</TD
1818><TD
1819WIDTH="80%"
1820ALIGN="LEFT"
1821VALIGN="TOP"
1822> the attribute name</TD
1823></TR
1824><TR
1825><TD
1826WIDTH="20%"
1827ALIGN="RIGHT"
1828VALIGN="TOP"
1829><TT
1830CLASS="PARAMETER"
1831><I
1832>type</I
1833></TT
1834>&nbsp;:</TD
1835><TD
1836WIDTH="80%"
1837ALIGN="LEFT"
1838VALIGN="TOP"
1839> the attribute type</TD
1840></TR
1841><TR
1842><TD
1843WIDTH="20%"
1844ALIGN="RIGHT"
1845VALIGN="TOP"
1846><TT
1847CLASS="PARAMETER"
1848><I
1849>def</I
1850></TT
1851>&nbsp;:</TD
1852><TD
1853WIDTH="80%"
1854ALIGN="LEFT"
1855VALIGN="TOP"
1856> the attribute default type</TD
1857></TR
1858><TR
1859><TD
1860WIDTH="20%"
1861ALIGN="RIGHT"
1862VALIGN="TOP"
1863><TT
1864CLASS="PARAMETER"
1865><I
1866>defaultValue</I
1867></TT
1868>&nbsp;:</TD
1869><TD
1870WIDTH="80%"
1871ALIGN="LEFT"
1872VALIGN="TOP"
1873> the attribute default value</TD
1874></TR
1875><TR
1876><TD
1877WIDTH="20%"
1878ALIGN="RIGHT"
1879VALIGN="TOP"
1880><TT
1881CLASS="PARAMETER"
1882><I
1883>tree</I
1884></TT
1885>&nbsp;:</TD
1886><TD
1887WIDTH="80%"
1888ALIGN="LEFT"
1889VALIGN="TOP"
1890> if it's an enumeration, the associated list</TD
1891></TR
1892><TR
1893><TD
1894WIDTH="20%"
1895ALIGN="RIGHT"
1896VALIGN="TOP"
1897><I
1898CLASS="EMPHASIS"
1899>Returns</I
1900> :</TD
1901><TD
1902WIDTH="80%"
1903ALIGN="LEFT"
1904VALIGN="TOP"
1905>NULL if not, othervise the entity</TD
1906></TR
1907></TABLE
1908><P
1909></P
1910></DIV
1911></DIV
1912><HR><DIV
1913CLASS="REFSECT2"
1914><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001915NAME="AEN4314"
Daniel Veillard35925471999-02-25 08:46:07 +00001916></A
1917><H3
1918><A
1919NAME="XMLCOPYATTRIBUTETABLE"
1920></A
1921>xmlCopyAttributeTable()</H3
1922><TABLE
1923BORDER="0"
1924BGCOLOR="#E8E8F8"
1925WIDTH="100%"
1926CELLPADDING="6"
1927><TR
1928><TD
1929><PRE
1930CLASS="PROGRAMLISTING"
1931><A
1932HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
1933>xmlAttributeTablePtr</A
1934> xmlCopyAttributeTable (<A
1935HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
1936>xmlAttributeTablePtr</A
1937> table);</PRE
1938></TD
1939></TR
1940></TABLE
1941><P
1942>Build a copy of an attribute table.</P
1943><P
1944></P
1945><DIV
1946CLASS="INFORMALTABLE"
1947><P
1948></P
1949><TABLE
1950BORDER="0"
1951WIDTH="100%"
1952BGCOLOR="#FFE0E0"
1953CELLSPACING="0"
1954CELLPADDING="4"
1955CLASS="CALSTABLE"
1956><TR
1957><TD
1958WIDTH="20%"
1959ALIGN="RIGHT"
1960VALIGN="TOP"
1961><TT
1962CLASS="PARAMETER"
1963><I
1964>table</I
1965></TT
1966>&nbsp;:</TD
1967><TD
1968WIDTH="80%"
1969ALIGN="LEFT"
1970VALIGN="TOP"
1971> An attribute table</TD
1972></TR
1973><TR
1974><TD
1975WIDTH="20%"
1976ALIGN="RIGHT"
1977VALIGN="TOP"
1978><I
1979CLASS="EMPHASIS"
1980>Returns</I
1981> :</TD
1982><TD
1983WIDTH="80%"
1984ALIGN="LEFT"
1985VALIGN="TOP"
1986>the new xmlAttributeTablePtr or NULL in case of error.</TD
1987></TR
1988></TABLE
1989><P
1990></P
1991></DIV
1992></DIV
1993><HR><DIV
1994CLASS="REFSECT2"
1995><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001996NAME="AEN4335"
Daniel Veillard35925471999-02-25 08:46:07 +00001997></A
1998><H3
1999><A
2000NAME="XMLFREEATTRIBUTETABLE"
2001></A
2002>xmlFreeAttributeTable()</H3
2003><TABLE
2004BORDER="0"
2005BGCOLOR="#E8E8F8"
2006WIDTH="100%"
2007CELLPADDING="6"
2008><TR
2009><TD
2010><PRE
2011CLASS="PROGRAMLISTING"
2012>void xmlFreeAttributeTable (<A
2013HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2014>xmlAttributeTablePtr</A
2015> table);</PRE
2016></TD
2017></TR
2018></TABLE
2019><P
2020>Deallocate the memory used by an entities hash table.</P
2021><P
2022></P
2023><DIV
2024CLASS="INFORMALTABLE"
2025><P
2026></P
2027><TABLE
2028BORDER="0"
2029WIDTH="100%"
2030BGCOLOR="#FFE0E0"
2031CELLSPACING="0"
2032CELLPADDING="4"
2033CLASS="CALSTABLE"
2034><TR
2035><TD
2036WIDTH="20%"
2037ALIGN="RIGHT"
2038VALIGN="TOP"
2039><TT
2040CLASS="PARAMETER"
2041><I
2042>table</I
2043></TT
2044>&nbsp;:</TD
2045><TD
2046WIDTH="80%"
2047ALIGN="LEFT"
2048VALIGN="TOP"
2049> An attribute table</TD
2050></TR
2051></TABLE
2052><P
2053></P
2054></DIV
2055></DIV
2056><HR><DIV
2057CLASS="REFSECT2"
2058><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00002059NAME="AEN4351"
Daniel Veillard35925471999-02-25 08:46:07 +00002060></A
2061><H3
2062><A
2063NAME="XMLDUMPATTRIBUTETABLE"
2064></A
2065>xmlDumpAttributeTable()</H3
2066><TABLE
2067BORDER="0"
2068BGCOLOR="#E8E8F8"
2069WIDTH="100%"
2070CELLPADDING="6"
2071><TR
2072><TD
2073><PRE
2074CLASS="PROGRAMLISTING"
2075>void xmlDumpAttributeTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002076HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2077>xmlBufferPtr</A
2078> buf,
2079 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002080HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2081>xmlAttributeTablePtr</A
2082> table);</PRE
2083></TD
2084></TR
2085></TABLE
2086><P
2087>This will dump the content of the attribute table as an XML DTD definition</P
2088><P
Daniel Veillard35925471999-02-25 08:46:07 +00002089></P
2090><DIV
2091CLASS="INFORMALTABLE"
2092><P
2093></P
2094><TABLE
2095BORDER="0"
2096WIDTH="100%"
2097BGCOLOR="#FFE0E0"
2098CELLSPACING="0"
2099CELLPADDING="4"
2100CLASS="CALSTABLE"
2101><TR
2102><TD
2103WIDTH="20%"
2104ALIGN="RIGHT"
2105VALIGN="TOP"
2106><TT
2107CLASS="PARAMETER"
2108><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002109>buf</I
2110></TT
2111>&nbsp;:</TD
2112><TD
2113WIDTH="80%"
2114ALIGN="LEFT"
2115VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002116> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002117></TR
2118><TR
2119><TD
2120WIDTH="20%"
2121ALIGN="RIGHT"
2122VALIGN="TOP"
2123><TT
2124CLASS="PARAMETER"
2125><I
Daniel Veillard35925471999-02-25 08:46:07 +00002126>table</I
2127></TT
2128>&nbsp;:</TD
2129><TD
2130WIDTH="80%"
2131ALIGN="LEFT"
2132VALIGN="TOP"
2133> An attribute table</TD
2134></TR
2135></TABLE
2136><P
2137></P
2138></DIV
2139></DIV
2140></DIV
2141><DIV
2142CLASS="NAVFOOTER"
2143><HR
2144ALIGN="LEFT"
2145WIDTH="100%"><TABLE
2146WIDTH="100%"
2147BORDER="0"
2148CELLPADDING="0"
2149CELLSPACING="0"
2150><TR
2151><TD
2152WIDTH="33%"
2153ALIGN="left"
2154VALIGN="top"
2155><A
2156HREF="gnome-xml-entities.html"
2157>Prev</A
2158></TD
2159><TD
2160WIDTH="34%"
2161ALIGN="center"
2162VALIGN="top"
2163><A
2164HREF="book1.html"
2165>Home</A
2166></TD
2167><TD
2168WIDTH="33%"
2169ALIGN="right"
2170VALIGN="top"
2171><A
Daniel Veillardd109e371999-03-05 06:26:45 +00002172HREF="gnome-xml-xml-error.html"
Daniel Veillard35925471999-02-25 08:46:07 +00002173>Next</A
2174></TD
2175></TR
2176><TR
2177><TD
2178WIDTH="33%"
2179ALIGN="left"
2180VALIGN="top"
2181>entities</TD
2182><TD
2183WIDTH="34%"
2184ALIGN="center"
2185VALIGN="top"
2186><A
2187HREF="libxml.html"
2188>Up</A
2189></TD
2190><TD
2191WIDTH="33%"
2192ALIGN="right"
2193VALIGN="top"
Daniel Veillardd109e371999-03-05 06:26:45 +00002194>xml-error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002195></TR
2196></TABLE
2197></DIV
2198></BODY
2199></HTML
2200>