blob: 902d2edc0d4c733baea224d2476a3da371a855f4 [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"
Daniel Veillard35008381999-10-25 13:15:52 +000012TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000014REL="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"
Daniel Veillard14fff061999-06-22 21:49:07 +000028BGCOLOR="#000000"
29CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000030CELLSPACING="0"
31><TR
32><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000033COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000034ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000035><FONT
36COLOR="#FFFFFF"
37SIZE="5"
38>Gnome XML Library Reference Manual</FONT
39></TH
Daniel Veillard35925471999-02-25 08:46:07 +000040></TR
41><TR
42><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000043WIDTH="25%"
44BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000045ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000046><A
47HREF="gnome-xml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000048><FONT
49COLOR="#FFFFFF"
50SIZE="3"
51><B
52>&#60;&#60;&#60; Previous Page</B
53></FONT
54></A
Daniel Veillard35925471999-02-25 08:46:07 +000055></TD
56><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000057WIDTH="25%"
58BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000059ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000060><FONT
61COLOR="#FFFFFF"
62SIZE="3"
63><B
64><A
65HREF="book1.html"
66><FONT
67COLOR="#FFFFFF"
68SIZE="3"
69><B
70>Home</B
71></FONT
72></A
73></B
74></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000075></TD
76><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000077WIDTH="25%"
78BGCOLOR="#00C000"
79ALIGN="center"
80><FONT
81COLOR="#FFFFFF"
82SIZE="3"
83><B
84><A
Daniel Veillard35008381999-10-25 13:15:52 +000085HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000086><FONT
87COLOR="#FFFFFF"
88SIZE="3"
89><B
90>Up</B
91></FONT
92></A
93></B
94></FONT
95></TD
96><TD
97WIDTH="25%"
98BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000099ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +0000100><A
Daniel Veillardd109e371999-03-05 06:26:45 +0000101HREF="gnome-xml-xml-error.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000102><FONT
103COLOR="#FFFFFF"
104SIZE="3"
105><B
106>Next Page &#62;&#62;&#62;</B
107></FONT
108></A
Daniel Veillard35925471999-02-25 08:46:07 +0000109></TD
110></TR
111></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000112></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000113><H1
114>valid</H1
115><DIV
116CLASS="REFNAMEDIV"
117><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +0000118NAME="AEN6015"
Daniel Veillard35925471999-02-25 08:46:07 +0000119></A
120><H2
121>Name</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000122>valid &#8212; </DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFSYNOPSISDIV"
125><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +0000126NAME="AEN6018"
Daniel Veillard35925471999-02-25 08:46:07 +0000127></A
128><H2
129>Synopsis</H2
130><TABLE
131BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000132BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000133WIDTH="100%"
134CELLPADDING="6"
135><TR
136><TD
137><PRE
138CLASS="SYNOPSIS"
139>&#13;
140
Daniel Veillardb05deb71999-08-10 19:04:08 +0000141void (<A
142HREF="gnome-xml-valid.html#XMLVALIDITYERRORFUNC"
143>*xmlValidityErrorFunc</A
144>) (void *ctx,
145 const char *msg,
146 ...);
147void (<A
148HREF="gnome-xml-valid.html#XMLVALIDITYWARNINGFUNC"
149>*xmlValidityWarningFunc</A
150>) (void *ctx,
151 const char *msg,
152 ...);
Daniel Veillard35925471999-02-25 08:46:07 +0000153#define <A
154HREF="gnome-xml-valid.html#XML-MIN-NOTATION-TABLE"
155>XML_MIN_NOTATION_TABLE</A
156>
157typedef <A
158HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
159>xmlNotationTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000160>;
Daniel Veillard35925471999-02-25 08:46:07 +0000161#define <A
162HREF="gnome-xml-valid.html#XML-MIN-ELEMENT-TABLE"
163>XML_MIN_ELEMENT_TABLE</A
164>
165typedef <A
166HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
167>xmlElementTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000168>;
Daniel Veillard35925471999-02-25 08:46:07 +0000169#define <A
170HREF="gnome-xml-valid.html#XML-MIN-ATTRIBUTE-TABLE"
171>XML_MIN_ATTRIBUTE_TABLE</A
172>
173typedef <A
174HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
175>xmlAttributeTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000176>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000177#define <A
178HREF="gnome-xml-valid.html#XML-MIN-ID-TABLE"
179>XML_MIN_ID_TABLE</A
180>
181typedef <A
182HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
183>xmlIDTablePtr</A
184>;
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000185#define <A
186HREF="gnome-xml-valid.html#XML-MIN-REF-TABLE"
187>XML_MIN_REF_TABLE</A
188>
189typedef <A
190HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
191>xmlRefTablePtr</A
192>;
Daniel Veillard35925471999-02-25 08:46:07 +0000193<A
194HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
195>xmlNotationPtr</A
196> <A
197HREF="gnome-xml-valid.html#XMLADDNOTATIONDECL"
198>xmlAddNotationDecl</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000199> (<GTKDOCLINK
200HREF="XMLVALIDCTXTPTR"
201>xmlValidCtxtPtr</GTKDOCLINK
202> ctxt,
203 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000204HREF="gnome-xml-tree.html#XMLDTDPTR"
205>xmlDtdPtr</A
206> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000207 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000208HREF="gnome-xml-tree.html#XMLCHAR"
209>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000210> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000211 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000212HREF="gnome-xml-tree.html#XMLCHAR"
213>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000214> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000215 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000216HREF="gnome-xml-tree.html#XMLCHAR"
217>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000218> *SystemID);
219<A
220HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
221>xmlNotationTablePtr</A
222> <A
223HREF="gnome-xml-valid.html#XMLCOPYNOTATIONTABLE"
224>xmlCopyNotationTable</A
225> (<A
226HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
227>xmlNotationTablePtr</A
228> table);
229void <A
230HREF="gnome-xml-valid.html#XMLFREENOTATIONTABLE"
231>xmlFreeNotationTable</A
232> (<A
233HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
234>xmlNotationTablePtr</A
235> table);
236void <A
237HREF="gnome-xml-valid.html#XMLDUMPNOTATIONTABLE"
238>xmlDumpNotationTable</A
239> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000240HREF="gnome-xml-tree.html#XMLBUFFERPTR"
241>xmlBufferPtr</A
242> buf,
243 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000244HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
245>xmlNotationTablePtr</A
246> table);
247<A
248HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
249>xmlElementContentPtr</A
250> <A
251HREF="gnome-xml-valid.html#XMLNEWELEMENTCONTENT"
252>xmlNewElementContent</A
253> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000254HREF="gnome-xml-tree.html#XMLCHAR"
255>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000256> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000257 <A
258HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
259>xmlElementContentType</A
260> type);
Daniel Veillard35925471999-02-25 08:46:07 +0000261<A
262HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
263>xmlElementContentPtr</A
264> <A
265HREF="gnome-xml-valid.html#XMLCOPYELEMENTCONTENT"
266>xmlCopyElementContent</A
267> (<A
268HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
269>xmlElementContentPtr</A
270> content);
271void <A
272HREF="gnome-xml-valid.html#XMLFREEELEMENTCONTENT"
273>xmlFreeElementContent</A
274> (<A
275HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
276>xmlElementContentPtr</A
277> cur);
278<A
279HREF="gnome-xml-tree.html#XMLELEMENTPTR"
280>xmlElementPtr</A
281> <A
282HREF="gnome-xml-valid.html#XMLADDELEMENTDECL"
283>xmlAddElementDecl</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000284> (<GTKDOCLINK
285HREF="XMLVALIDCTXTPTR"
286>xmlValidCtxtPtr</GTKDOCLINK
287> ctxt,
288 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000289HREF="gnome-xml-tree.html#XMLDTDPTR"
290>xmlDtdPtr</A
291> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000292 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000293HREF="gnome-xml-tree.html#XMLCHAR"
294>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000295> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000296 <A
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000297HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL"
298>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000299> type,
Daniel Veillard35925471999-02-25 08:46:07 +0000300 <A
301HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
302>xmlElementContentPtr</A
303> content);
304<A
305HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
306>xmlElementTablePtr</A
307> <A
308HREF="gnome-xml-valid.html#XMLCOPYELEMENTTABLE"
309>xmlCopyElementTable</A
310> (<A
311HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
312>xmlElementTablePtr</A
313> table);
314void <A
315HREF="gnome-xml-valid.html#XMLFREEELEMENTTABLE"
316>xmlFreeElementTable</A
317> (<A
318HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
319>xmlElementTablePtr</A
320> table);
321void <A
322HREF="gnome-xml-valid.html#XMLDUMPELEMENTTABLE"
323>xmlDumpElementTable</A
324> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000325HREF="gnome-xml-tree.html#XMLBUFFERPTR"
326>xmlBufferPtr</A
327> buf,
328 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000329HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
330>xmlElementTablePtr</A
331> table);
332<A
333HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
334>xmlEnumerationPtr</A
335> <A
336HREF="gnome-xml-valid.html#XMLCREATEENUMERATION"
337>xmlCreateEnumeration</A
338> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000339HREF="gnome-xml-tree.html#XMLCHAR"
340>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000341> *name);
342void <A
343HREF="gnome-xml-valid.html#XMLFREEENUMERATION"
344>xmlFreeEnumeration</A
345> (<A
346HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
347>xmlEnumerationPtr</A
348> cur);
349<A
350HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
351>xmlEnumerationPtr</A
352> <A
353HREF="gnome-xml-valid.html#XMLCOPYENUMERATION"
354>xmlCopyEnumeration</A
355> (<A
356HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
357>xmlEnumerationPtr</A
358> cur);
359<A
360HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
361>xmlAttributePtr</A
362> <A
363HREF="gnome-xml-valid.html#XMLADDATTRIBUTEDECL"
364>xmlAddAttributeDecl</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000365> (<GTKDOCLINK
366HREF="XMLVALIDCTXTPTR"
367>xmlValidCtxtPtr</GTKDOCLINK
368> ctxt,
369 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000370HREF="gnome-xml-tree.html#XMLDTDPTR"
371>xmlDtdPtr</A
372> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000373 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000374HREF="gnome-xml-tree.html#XMLCHAR"
375>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000376> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000377 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000378HREF="gnome-xml-tree.html#XMLCHAR"
379>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000380> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000381 <A
382HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
383>xmlAttributeType</A
384> type,
385 <A
386HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
387>xmlAttributeDefault</A
388> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000389 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000390HREF="gnome-xml-tree.html#XMLCHAR"
391>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000392> *defaultValue,
393 <A
394HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
395>xmlEnumerationPtr</A
396> tree);
397<A
398HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
399>xmlAttributeTablePtr</A
400> <A
401HREF="gnome-xml-valid.html#XMLCOPYATTRIBUTETABLE"
402>xmlCopyAttributeTable</A
403> (<A
404HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
405>xmlAttributeTablePtr</A
406> table);
407void <A
408HREF="gnome-xml-valid.html#XMLFREEATTRIBUTETABLE"
409>xmlFreeAttributeTable</A
410> (<A
411HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
412>xmlAttributeTablePtr</A
413> table);
414void <A
415HREF="gnome-xml-valid.html#XMLDUMPATTRIBUTETABLE"
416>xmlDumpAttributeTable</A
417> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000418HREF="gnome-xml-tree.html#XMLBUFFERPTR"
419>xmlBufferPtr</A
420> buf,
421 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000422HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
423>xmlAttributeTablePtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000424> table);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000425<A
426HREF="gnome-xml-tree.html#XMLIDPTR"
427>xmlIDPtr</A
428> <A
429HREF="gnome-xml-valid.html#XMLADDID"
430>xmlAddID</A
431> (<GTKDOCLINK
432HREF="XMLVALIDCTXTPTR"
433>xmlValidCtxtPtr</GTKDOCLINK
434> ctxt,
435 <A
436HREF="gnome-xml-tree.html#XMLDOCPTR"
437>xmlDocPtr</A
438> doc,
439 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000440HREF="gnome-xml-tree.html#XMLCHAR"
441>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000442> *value,
443 <A
444HREF="gnome-xml-tree.html#XMLATTRPTR"
445>xmlAttrPtr</A
446> attr);
447<A
448HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
449>xmlIDTablePtr</A
450> <A
451HREF="gnome-xml-valid.html#XMLCOPYIDTABLE"
452>xmlCopyIDTable</A
453> (<A
454HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
455>xmlIDTablePtr</A
456> table);
457void <A
458HREF="gnome-xml-valid.html#XMLFREEIDTABLE"
459>xmlFreeIDTable</A
460> (<A
461HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
462>xmlIDTablePtr</A
463> table);
464<A
465HREF="gnome-xml-tree.html#XMLATTRPTR"
466>xmlAttrPtr</A
467> <A
468HREF="gnome-xml-valid.html#XMLGETID"
469>xmlGetID</A
470> (<A
471HREF="gnome-xml-tree.html#XMLDOCPTR"
472>xmlDocPtr</A
473> doc,
474 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000475HREF="gnome-xml-tree.html#XMLCHAR"
476>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000477> *ID);
478int <A
479HREF="gnome-xml-valid.html#XMLISID"
480>xmlIsID</A
481> (<A
482HREF="gnome-xml-tree.html#XMLDOCPTR"
483>xmlDocPtr</A
484> doc,
485 <A
486HREF="gnome-xml-tree.html#XMLNODEPTR"
487>xmlNodePtr</A
488> elem,
489 <A
490HREF="gnome-xml-tree.html#XMLATTRPTR"
491>xmlAttrPtr</A
492> attr);
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000493<A
494HREF="gnome-xml-tree.html#XMLREFPTR"
495>xmlRefPtr</A
496> <A
497HREF="gnome-xml-valid.html#XMLADDREF"
498>xmlAddRef</A
499> (<GTKDOCLINK
500HREF="XMLVALIDCTXTPTR"
501>xmlValidCtxtPtr</GTKDOCLINK
502> ctxt,
503 <A
504HREF="gnome-xml-tree.html#XMLDOCPTR"
505>xmlDocPtr</A
506> doc,
507 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000508HREF="gnome-xml-tree.html#XMLCHAR"
509>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000510> *value,
511 <A
512HREF="gnome-xml-tree.html#XMLATTRPTR"
513>xmlAttrPtr</A
514> attr);
515<A
516HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
517>xmlRefTablePtr</A
518> <A
519HREF="gnome-xml-valid.html#XMLCOPYREFTABLE"
520>xmlCopyRefTable</A
521> (<A
522HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
523>xmlRefTablePtr</A
524> table);
525void <A
526HREF="gnome-xml-valid.html#XMLFREEREFTABLE"
527>xmlFreeRefTable</A
528> (<A
529HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
530>xmlRefTablePtr</A
531> table);
532int <A
533HREF="gnome-xml-valid.html#XMLISREF"
534>xmlIsRef</A
535> (<A
536HREF="gnome-xml-tree.html#XMLDOCPTR"
537>xmlDocPtr</A
538> doc,
539 <A
540HREF="gnome-xml-tree.html#XMLNODEPTR"
541>xmlNodePtr</A
542> elem,
543 <A
544HREF="gnome-xml-tree.html#XMLATTRPTR"
545>xmlAttrPtr</A
546> attr);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000547int <A
548HREF="gnome-xml-valid.html#XMLVALIDATEROOT"
549>xmlValidateRoot</A
550> (<GTKDOCLINK
551HREF="XMLVALIDCTXTPTR"
552>xmlValidCtxtPtr</GTKDOCLINK
553> ctxt,
554 <A
555HREF="gnome-xml-tree.html#XMLDOCPTR"
556>xmlDocPtr</A
557> doc);
558int <A
559HREF="gnome-xml-valid.html#XMLVALIDATEELEMENTDECL"
560>xmlValidateElementDecl</A
561> (<GTKDOCLINK
562HREF="XMLVALIDCTXTPTR"
563>xmlValidCtxtPtr</GTKDOCLINK
564> ctxt,
565 <A
566HREF="gnome-xml-tree.html#XMLDOCPTR"
567>xmlDocPtr</A
568> doc,
569 <A
570HREF="gnome-xml-tree.html#XMLELEMENTPTR"
571>xmlElementPtr</A
572> elem);
573int <A
574HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL"
575>xmlValidateAttributeDecl</A
576> (<GTKDOCLINK
577HREF="XMLVALIDCTXTPTR"
578>xmlValidCtxtPtr</GTKDOCLINK
579> ctxt,
580 <A
581HREF="gnome-xml-tree.html#XMLDOCPTR"
582>xmlDocPtr</A
583> doc,
584 <A
585HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
586>xmlAttributePtr</A
587> attr);
588int <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000589HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
590>xmlValidateAttributeValue</A
591> (<A
592HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
593>xmlAttributeType</A
594> type,
595 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000596HREF="gnome-xml-tree.html#XMLCHAR"
597>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000598> *value);
599int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000600HREF="gnome-xml-valid.html#XMLVALIDATENOTATIONDECL"
601>xmlValidateNotationDecl</A
602> (<GTKDOCLINK
603HREF="XMLVALIDCTXTPTR"
604>xmlValidCtxtPtr</GTKDOCLINK
605> ctxt,
606 <A
607HREF="gnome-xml-tree.html#XMLDOCPTR"
608>xmlDocPtr</A
609> doc,
610 <A
611HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
612>xmlNotationPtr</A
613> nota);
614int <A
615HREF="gnome-xml-valid.html#XMLVALIDATEDTD"
616>xmlValidateDtd</A
617> (<GTKDOCLINK
618HREF="XMLVALIDCTXTPTR"
619>xmlValidCtxtPtr</GTKDOCLINK
620> ctxt,
621 <A
622HREF="gnome-xml-tree.html#XMLDOCPTR"
623>xmlDocPtr</A
624> doc,
625 <A
626HREF="gnome-xml-tree.html#XMLDTDPTR"
627>xmlDtdPtr</A
628> dtd);
629int <A
630HREF="gnome-xml-valid.html#XMLVALIDATEDOCUMENT"
631>xmlValidateDocument</A
632> (<GTKDOCLINK
633HREF="XMLVALIDCTXTPTR"
634>xmlValidCtxtPtr</GTKDOCLINK
635> ctxt,
636 <A
637HREF="gnome-xml-tree.html#XMLDOCPTR"
638>xmlDocPtr</A
639> doc);
640int <A
641HREF="gnome-xml-valid.html#XMLVALIDATEELEMENT"
642>xmlValidateElement</A
643> (<GTKDOCLINK
644HREF="XMLVALIDCTXTPTR"
645>xmlValidCtxtPtr</GTKDOCLINK
646> ctxt,
647 <A
648HREF="gnome-xml-tree.html#XMLDOCPTR"
649>xmlDocPtr</A
650> doc,
651 <A
652HREF="gnome-xml-tree.html#XMLNODEPTR"
653>xmlNodePtr</A
654> elem);
655int <A
656HREF="gnome-xml-valid.html#XMLVALIDATEONEELEMENT"
657>xmlValidateOneElement</A
658> (<GTKDOCLINK
659HREF="XMLVALIDCTXTPTR"
660>xmlValidCtxtPtr</GTKDOCLINK
661> ctxt,
662 <A
663HREF="gnome-xml-tree.html#XMLDOCPTR"
664>xmlDocPtr</A
665> doc,
666 <A
667HREF="gnome-xml-tree.html#XMLNODEPTR"
668>xmlNodePtr</A
669> elem);
670int <A
671HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE"
672>xmlValidateOneAttribute</A
673> (<GTKDOCLINK
674HREF="XMLVALIDCTXTPTR"
675>xmlValidCtxtPtr</GTKDOCLINK
676> ctxt,
677 <A
678HREF="gnome-xml-tree.html#XMLDOCPTR"
679>xmlDocPtr</A
680> doc,
681 <A
682HREF="gnome-xml-tree.html#XMLNODEPTR"
683>xmlNodePtr</A
684> elem,
685 <A
686HREF="gnome-xml-tree.html#XMLATTRPTR"
687>xmlAttrPtr</A
688> attr,
689 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000690HREF="gnome-xml-tree.html#XMLCHAR"
691>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000692> *value);
693int <A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000694HREF="gnome-xml-valid.html#XMLVALIDATEDOCUMENTFINAL"
695>xmlValidateDocumentFinal</A
696> (<GTKDOCLINK
697HREF="XMLVALIDCTXTPTR"
698>xmlValidCtxtPtr</GTKDOCLINK
699> ctxt,
700 <A
701HREF="gnome-xml-tree.html#XMLDOCPTR"
702>xmlDocPtr</A
703> doc);
704int <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000705HREF="gnome-xml-valid.html#XMLVALIDATENOTATIONUSE"
706>xmlValidateNotationUse</A
707> (<GTKDOCLINK
708HREF="XMLVALIDCTXTPTR"
709>xmlValidCtxtPtr</GTKDOCLINK
710> ctxt,
711 <A
712HREF="gnome-xml-tree.html#XMLDOCPTR"
713>xmlDocPtr</A
714> doc,
715 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000716HREF="gnome-xml-tree.html#XMLCHAR"
717>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000718> *notationName);
719int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000720HREF="gnome-xml-valid.html#XMLISMIXEDELEMENT"
721>xmlIsMixedElement</A
722> (<A
723HREF="gnome-xml-tree.html#XMLDOCPTR"
724>xmlDocPtr</A
725> doc,
726 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000727HREF="gnome-xml-tree.html#XMLCHAR"
728>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000729> *name);
730<A
731HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
732>xmlAttributePtr</A
733> <A
734HREF="gnome-xml-valid.html#XMLGETDTDATTRDESC"
735>xmlGetDtdAttrDesc</A
736> (<A
737HREF="gnome-xml-tree.html#XMLDTDPTR"
738>xmlDtdPtr</A
739> dtd,
740 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000741HREF="gnome-xml-tree.html#XMLCHAR"
742>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000743> *elem,
744 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000745HREF="gnome-xml-tree.html#XMLCHAR"
746>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000747> *name);
748<A
749HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
750>xmlNotationPtr</A
751> <A
752HREF="gnome-xml-valid.html#XMLGETDTDNOTATIONDESC"
753>xmlGetDtdNotationDesc</A
754> (<A
755HREF="gnome-xml-tree.html#XMLDTDPTR"
756>xmlDtdPtr</A
757> dtd,
758 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000759HREF="gnome-xml-tree.html#XMLCHAR"
760>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000761> *name);
762<A
763HREF="gnome-xml-tree.html#XMLELEMENTPTR"
764>xmlElementPtr</A
765> <A
766HREF="gnome-xml-valid.html#XMLGETDTDELEMENTDESC"
767>xmlGetDtdElementDesc</A
768> (<A
769HREF="gnome-xml-tree.html#XMLDTDPTR"
770>xmlDtdPtr</A
771> dtd,
772 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000773HREF="gnome-xml-tree.html#XMLCHAR"
774>xmlChar</A
Daniel Veillard35008381999-10-25 13:15:52 +0000775> *name);
776int <A
777HREF="gnome-xml-valid.html#XMLVALIDGETVALIDELEMENTS"
778>xmlValidGetValidElements</A
779> (<A
780HREF="gnome-xml-tree.html#XMLNODE"
781>xmlNode</A
782> *prev,
783 <A
784HREF="gnome-xml-tree.html#XMLNODE"
785>xmlNode</A
786> *next,
787 const <A
788HREF="gnome-xml-tree.html#XMLCHAR"
789>xmlChar</A
790> **list,
791 int max);
792int <A
793HREF="gnome-xml-valid.html#XMLVALIDGETPOTENTIALCHILDREN"
794>xmlValidGetPotentialChildren</A
795> (<GTKDOCLINK
796HREF="XMLELEMENTCONTENT"
797>xmlElementContent</GTKDOCLINK
798> *ctree,
799 const <A
800HREF="gnome-xml-tree.html#XMLCHAR"
801>xmlChar</A
802> **list,
803 int *len,
804 int max);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000805></TD
806></TR
807></TABLE
808></DIV
809><DIV
810CLASS="REFSECT1"
811><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +0000812NAME="AEN6201"
Daniel Veillard35925471999-02-25 08:46:07 +0000813></A
814><H2
815>Description</H2
816><P
817></P
818></DIV
819><DIV
820CLASS="REFSECT1"
821><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +0000822NAME="AEN6204"
Daniel Veillard35925471999-02-25 08:46:07 +0000823></A
824><H2
825>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000826><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000827CLASS="REFSECT2"
828><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +0000829NAME="AEN6206"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000830></A
831><H3
832><A
833NAME="XMLVALIDITYERRORFUNC"
834></A
835>xmlValidityErrorFunc ()</H3
836><TABLE
837BORDER="0"
838BGCOLOR="#D6E8FF"
839WIDTH="100%"
840CELLPADDING="6"
841><TR
842><TD
843><PRE
844CLASS="PROGRAMLISTING"
845>void (*xmlValidityErrorFunc) (void *ctx,
846 const char *msg,
847 ...);</PRE
848></TD
849></TR
850></TABLE
851><P
852></P
853><DIV
854CLASS="INFORMALTABLE"
855><P
856></P
857><TABLE
858BORDER="0"
859WIDTH="100%"
860BGCOLOR="#FFD0D0"
861CELLSPACING="0"
862CELLPADDING="4"
863CLASS="CALSTABLE"
864><TR
865><TD
866WIDTH="20%"
867ALIGN="RIGHT"
868VALIGN="TOP"
869><TT
870CLASS="PARAMETER"
871><I
872>ctx</I
873></TT
874>&nbsp;:</TD
875><TD
876WIDTH="80%"
877ALIGN="LEFT"
878VALIGN="TOP"
879>&nbsp;</TD
880></TR
881><TR
882><TD
883WIDTH="20%"
884ALIGN="RIGHT"
885VALIGN="TOP"
886><TT
887CLASS="PARAMETER"
888><I
889>msg</I
890></TT
891>&nbsp;:</TD
892><TD
893WIDTH="80%"
894ALIGN="LEFT"
895VALIGN="TOP"
896>&nbsp;</TD
897></TR
898><TR
899><TD
900WIDTH="20%"
901ALIGN="RIGHT"
902VALIGN="TOP"
903><TT
904CLASS="PARAMETER"
905><I
906>...</I
907></TT
908>&nbsp;:</TD
909><TD
910WIDTH="80%"
911ALIGN="LEFT"
912VALIGN="TOP"
913>&nbsp;</TD
914></TR
915></TABLE
916><P
917></P
918></DIV
919></DIV
920><HR><DIV
921CLASS="REFSECT2"
922><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +0000923NAME="AEN6228"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000924></A
925><H3
926><A
927NAME="XMLVALIDITYWARNINGFUNC"
928></A
929>xmlValidityWarningFunc ()</H3
930><TABLE
931BORDER="0"
932BGCOLOR="#D6E8FF"
933WIDTH="100%"
934CELLPADDING="6"
935><TR
936><TD
937><PRE
938CLASS="PROGRAMLISTING"
939>void (*xmlValidityWarningFunc) (void *ctx,
940 const char *msg,
941 ...);</PRE
942></TD
943></TR
944></TABLE
945><P
946></P
947><DIV
948CLASS="INFORMALTABLE"
949><P
950></P
951><TABLE
952BORDER="0"
953WIDTH="100%"
954BGCOLOR="#FFD0D0"
955CELLSPACING="0"
956CELLPADDING="4"
957CLASS="CALSTABLE"
958><TR
959><TD
960WIDTH="20%"
961ALIGN="RIGHT"
962VALIGN="TOP"
963><TT
964CLASS="PARAMETER"
965><I
966>ctx</I
967></TT
968>&nbsp;:</TD
969><TD
970WIDTH="80%"
971ALIGN="LEFT"
972VALIGN="TOP"
973>&nbsp;</TD
974></TR
975><TR
976><TD
977WIDTH="20%"
978ALIGN="RIGHT"
979VALIGN="TOP"
980><TT
981CLASS="PARAMETER"
982><I
983>msg</I
984></TT
985>&nbsp;:</TD
986><TD
987WIDTH="80%"
988ALIGN="LEFT"
989VALIGN="TOP"
990>&nbsp;</TD
991></TR
992><TR
993><TD
994WIDTH="20%"
995ALIGN="RIGHT"
996VALIGN="TOP"
997><TT
998CLASS="PARAMETER"
999><I
1000>...</I
1001></TT
1002>&nbsp;:</TD
1003><TD
1004WIDTH="80%"
1005ALIGN="LEFT"
1006VALIGN="TOP"
1007>&nbsp;</TD
1008></TR
1009></TABLE
1010><P
1011></P
1012></DIV
1013></DIV
1014><HR><DIV
1015CLASS="REFSECT2"
1016><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001017NAME="AEN6250"
Daniel Veillard35925471999-02-25 08:46:07 +00001018></A
1019><H3
1020><A
1021NAME="XML-MIN-NOTATION-TABLE"
1022></A
1023>XML_MIN_NOTATION_TABLE</H3
1024><TABLE
1025BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001026BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001027WIDTH="100%"
1028CELLPADDING="6"
1029><TR
1030><TD
1031><PRE
1032CLASS="PROGRAMLISTING"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001033>#define XML_MIN_NOTATION_TABLE</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001034></TD
1035></TR
1036></TABLE
1037><P
1038></P
1039></DIV
1040><HR><DIV
1041CLASS="REFSECT2"
1042><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001043NAME="AEN6255"
Daniel Veillard35925471999-02-25 08:46:07 +00001044></A
1045><H3
1046><A
1047NAME="XMLNOTATIONTABLEPTR"
1048></A
1049>xmlNotationTablePtr</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001050><P
1051></P
1052></DIV
1053><HR><DIV
1054CLASS="REFSECT2"
1055><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001056NAME="AEN6259"
Daniel Veillard35925471999-02-25 08:46:07 +00001057></A
1058><H3
1059><A
1060NAME="XML-MIN-ELEMENT-TABLE"
1061></A
1062>XML_MIN_ELEMENT_TABLE</H3
1063><TABLE
1064BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001065BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001066WIDTH="100%"
1067CELLPADDING="6"
1068><TR
1069><TD
1070><PRE
1071CLASS="PROGRAMLISTING"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001072>#define XML_MIN_ELEMENT_TABLE</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001073></TD
1074></TR
1075></TABLE
1076><P
1077></P
1078></DIV
1079><HR><DIV
1080CLASS="REFSECT2"
1081><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001082NAME="AEN6264"
Daniel Veillard35925471999-02-25 08:46:07 +00001083></A
1084><H3
1085><A
1086NAME="XMLELEMENTTABLEPTR"
1087></A
1088>xmlElementTablePtr</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001089><P
1090></P
1091></DIV
1092><HR><DIV
1093CLASS="REFSECT2"
1094><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001095NAME="AEN6268"
Daniel Veillard35925471999-02-25 08:46:07 +00001096></A
1097><H3
1098><A
1099NAME="XML-MIN-ATTRIBUTE-TABLE"
1100></A
1101>XML_MIN_ATTRIBUTE_TABLE</H3
1102><TABLE
1103BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001104BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001105WIDTH="100%"
1106CELLPADDING="6"
1107><TR
1108><TD
1109><PRE
1110CLASS="PROGRAMLISTING"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001111>#define XML_MIN_ATTRIBUTE_TABLE</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001112></TD
1113></TR
1114></TABLE
1115><P
1116></P
1117></DIV
1118><HR><DIV
1119CLASS="REFSECT2"
1120><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001121NAME="AEN6273"
Daniel Veillard35925471999-02-25 08:46:07 +00001122></A
1123><H3
1124><A
1125NAME="XMLATTRIBUTETABLEPTR"
1126></A
1127>xmlAttributeTablePtr</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001128><P
1129></P
1130></DIV
1131><HR><DIV
1132CLASS="REFSECT2"
1133><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001134NAME="AEN6277"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001135></A
1136><H3
1137><A
1138NAME="XML-MIN-ID-TABLE"
1139></A
1140>XML_MIN_ID_TABLE</H3
1141><TABLE
1142BORDER="0"
1143BGCOLOR="#D6E8FF"
1144WIDTH="100%"
1145CELLPADDING="6"
1146><TR
1147><TD
1148><PRE
1149CLASS="PROGRAMLISTING"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001150>#define XML_MIN_ID_TABLE</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001151></TD
1152></TR
1153></TABLE
1154><P
1155></P
1156></DIV
1157><HR><DIV
1158CLASS="REFSECT2"
1159><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001160NAME="AEN6282"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001161></A
1162><H3
1163><A
1164NAME="XMLIDTABLEPTR"
1165></A
1166>xmlIDTablePtr</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001167><P
1168></P
1169></DIV
1170><HR><DIV
1171CLASS="REFSECT2"
1172><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001173NAME="AEN6286"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001174></A
1175><H3
1176><A
1177NAME="XML-MIN-REF-TABLE"
1178></A
1179>XML_MIN_REF_TABLE</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001180><TABLE
1181BORDER="0"
1182BGCOLOR="#D6E8FF"
1183WIDTH="100%"
1184CELLPADDING="6"
1185><TR
1186><TD
1187><PRE
1188CLASS="PROGRAMLISTING"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001189>#define XML_MIN_REF_TABLE</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001190></TD
1191></TR
1192></TABLE
1193><P
1194></P
1195></DIV
1196><HR><DIV
1197CLASS="REFSECT2"
1198><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001199NAME="AEN6291"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001200></A
1201><H3
1202><A
1203NAME="XMLREFTABLEPTR"
1204></A
1205>xmlRefTablePtr</H3
1206><P
1207></P
1208></DIV
1209><HR><DIV
1210CLASS="REFSECT2"
1211><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001212NAME="AEN6295"
Daniel Veillard35925471999-02-25 08:46:07 +00001213></A
1214><H3
1215><A
1216NAME="XMLADDNOTATIONDECL"
1217></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001218>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001219><TABLE
1220BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001221BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001222WIDTH="100%"
1223CELLPADDING="6"
1224><TR
1225><TD
1226><PRE
1227CLASS="PROGRAMLISTING"
1228><A
1229HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
1230>xmlNotationPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001231> xmlAddNotationDecl (<GTKDOCLINK
1232HREF="XMLVALIDCTXTPTR"
1233>xmlValidCtxtPtr</GTKDOCLINK
1234> ctxt,
1235 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001236HREF="gnome-xml-tree.html#XMLDTDPTR"
1237>xmlDtdPtr</A
1238> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001239 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001240HREF="gnome-xml-tree.html#XMLCHAR"
1241>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001242> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001243 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001244HREF="gnome-xml-tree.html#XMLCHAR"
1245>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001246> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001247 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001248HREF="gnome-xml-tree.html#XMLCHAR"
1249>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001250> *SystemID);</PRE
1251></TD
1252></TR
1253></TABLE
1254><P
1255>Register a new notation declaration</P
1256><P
1257></P
1258><DIV
1259CLASS="INFORMALTABLE"
1260><P
1261></P
1262><TABLE
1263BORDER="0"
1264WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001265BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001266CELLSPACING="0"
1267CELLPADDING="4"
1268CLASS="CALSTABLE"
1269><TR
1270><TD
1271WIDTH="20%"
1272ALIGN="RIGHT"
1273VALIGN="TOP"
1274><TT
1275CLASS="PARAMETER"
1276><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001277>ctxt</I
1278></TT
1279>&nbsp;:</TD
1280><TD
1281WIDTH="80%"
1282ALIGN="LEFT"
1283VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001284>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001285></TR
1286><TR
1287><TD
1288WIDTH="20%"
1289ALIGN="RIGHT"
1290VALIGN="TOP"
1291><TT
1292CLASS="PARAMETER"
1293><I
Daniel Veillard35925471999-02-25 08:46:07 +00001294>dtd</I
1295></TT
1296>&nbsp;:</TD
1297><TD
1298WIDTH="80%"
1299ALIGN="LEFT"
1300VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001301>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001302></TR
1303><TR
1304><TD
1305WIDTH="20%"
1306ALIGN="RIGHT"
1307VALIGN="TOP"
1308><TT
1309CLASS="PARAMETER"
1310><I
1311>name</I
1312></TT
1313>&nbsp;:</TD
1314><TD
1315WIDTH="80%"
1316ALIGN="LEFT"
1317VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001318>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001319></TR
1320><TR
1321><TD
1322WIDTH="20%"
1323ALIGN="RIGHT"
1324VALIGN="TOP"
1325><TT
1326CLASS="PARAMETER"
1327><I
1328>PublicID</I
1329></TT
1330>&nbsp;:</TD
1331><TD
1332WIDTH="80%"
1333ALIGN="LEFT"
1334VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001335>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001336></TR
1337><TR
1338><TD
1339WIDTH="20%"
1340ALIGN="RIGHT"
1341VALIGN="TOP"
1342><TT
1343CLASS="PARAMETER"
1344><I
1345>SystemID</I
1346></TT
1347>&nbsp;:</TD
1348><TD
1349WIDTH="80%"
1350ALIGN="LEFT"
1351VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001352>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001353></TR
1354><TR
1355><TD
1356WIDTH="20%"
1357ALIGN="RIGHT"
1358VALIGN="TOP"
1359><I
1360CLASS="EMPHASIS"
1361>Returns</I
1362> :</TD
1363><TD
1364WIDTH="80%"
1365ALIGN="LEFT"
1366VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001367>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001368></TR
1369></TABLE
1370><P
1371></P
1372></DIV
1373></DIV
1374><HR><DIV
1375CLASS="REFSECT2"
1376><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001377NAME="AEN6336"
Daniel Veillard35925471999-02-25 08:46:07 +00001378></A
1379><H3
1380><A
1381NAME="XMLCOPYNOTATIONTABLE"
1382></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001383>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001384><TABLE
1385BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001386BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001387WIDTH="100%"
1388CELLPADDING="6"
1389><TR
1390><TD
1391><PRE
1392CLASS="PROGRAMLISTING"
1393><A
1394HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1395>xmlNotationTablePtr</A
1396> xmlCopyNotationTable (<A
1397HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1398>xmlNotationTablePtr</A
1399> table);</PRE
1400></TD
1401></TR
1402></TABLE
1403><P
1404>Build a copy of a notation table.</P
1405><P
1406></P
1407><DIV
1408CLASS="INFORMALTABLE"
1409><P
1410></P
1411><TABLE
1412BORDER="0"
1413WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001414BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001415CELLSPACING="0"
1416CELLPADDING="4"
1417CLASS="CALSTABLE"
1418><TR
1419><TD
1420WIDTH="20%"
1421ALIGN="RIGHT"
1422VALIGN="TOP"
1423><TT
1424CLASS="PARAMETER"
1425><I
1426>table</I
1427></TT
1428>&nbsp;:</TD
1429><TD
1430WIDTH="80%"
1431ALIGN="LEFT"
1432VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001433>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001434></TR
1435><TR
1436><TD
1437WIDTH="20%"
1438ALIGN="RIGHT"
1439VALIGN="TOP"
1440><I
1441CLASS="EMPHASIS"
1442>Returns</I
1443> :</TD
1444><TD
1445WIDTH="80%"
1446ALIGN="LEFT"
1447VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001448>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001449></TR
1450></TABLE
1451><P
1452></P
1453></DIV
1454></DIV
1455><HR><DIV
1456CLASS="REFSECT2"
1457><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001458NAME="AEN6357"
Daniel Veillard35925471999-02-25 08:46:07 +00001459></A
1460><H3
1461><A
1462NAME="XMLFREENOTATIONTABLE"
1463></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001464>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001465><TABLE
1466BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001467BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001468WIDTH="100%"
1469CELLPADDING="6"
1470><TR
1471><TD
1472><PRE
1473CLASS="PROGRAMLISTING"
1474>void xmlFreeNotationTable (<A
1475HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1476>xmlNotationTablePtr</A
1477> table);</PRE
1478></TD
1479></TR
1480></TABLE
1481><P
1482>Deallocate the memory used by an entities hash table.</P
1483><P
1484></P
1485><DIV
1486CLASS="INFORMALTABLE"
1487><P
1488></P
1489><TABLE
1490BORDER="0"
1491WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001492BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001493CELLSPACING="0"
1494CELLPADDING="4"
1495CLASS="CALSTABLE"
1496><TR
1497><TD
1498WIDTH="20%"
1499ALIGN="RIGHT"
1500VALIGN="TOP"
1501><TT
1502CLASS="PARAMETER"
1503><I
1504>table</I
1505></TT
1506>&nbsp;:</TD
1507><TD
1508WIDTH="80%"
1509ALIGN="LEFT"
1510VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001511>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001512></TR
1513></TABLE
1514><P
1515></P
1516></DIV
1517></DIV
1518><HR><DIV
1519CLASS="REFSECT2"
1520><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001521NAME="AEN6373"
Daniel Veillard35925471999-02-25 08:46:07 +00001522></A
1523><H3
1524><A
1525NAME="XMLDUMPNOTATIONTABLE"
1526></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001527>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001528><TABLE
1529BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001530BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001531WIDTH="100%"
1532CELLPADDING="6"
1533><TR
1534><TD
1535><PRE
1536CLASS="PROGRAMLISTING"
1537>void xmlDumpNotationTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001538HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1539>xmlBufferPtr</A
1540> buf,
1541 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001542HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1543>xmlNotationTablePtr</A
1544> table);</PRE
1545></TD
1546></TR
1547></TABLE
1548><P
1549>This will dump the content of the notation table as an XML DTD definition</P
1550><P
Daniel Veillard35925471999-02-25 08:46:07 +00001551></P
1552><DIV
1553CLASS="INFORMALTABLE"
1554><P
1555></P
1556><TABLE
1557BORDER="0"
1558WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001559BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001560CELLSPACING="0"
1561CELLPADDING="4"
1562CLASS="CALSTABLE"
1563><TR
1564><TD
1565WIDTH="20%"
1566ALIGN="RIGHT"
1567VALIGN="TOP"
1568><TT
1569CLASS="PARAMETER"
1570><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001571>buf</I
1572></TT
1573>&nbsp;:</TD
1574><TD
1575WIDTH="80%"
1576ALIGN="LEFT"
1577VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001578>&nbsp;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001579></TR
1580><TR
1581><TD
1582WIDTH="20%"
1583ALIGN="RIGHT"
1584VALIGN="TOP"
1585><TT
1586CLASS="PARAMETER"
1587><I
Daniel Veillard35925471999-02-25 08:46:07 +00001588>table</I
1589></TT
1590>&nbsp;:</TD
1591><TD
1592WIDTH="80%"
1593ALIGN="LEFT"
1594VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001595>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001596></TR
1597></TABLE
1598><P
1599></P
1600></DIV
1601></DIV
1602><HR><DIV
1603CLASS="REFSECT2"
1604><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001605NAME="AEN6394"
Daniel Veillard35925471999-02-25 08:46:07 +00001606></A
1607><H3
1608><A
1609NAME="XMLNEWELEMENTCONTENT"
1610></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001611>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001612><TABLE
1613BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001614BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001615WIDTH="100%"
1616CELLPADDING="6"
1617><TR
1618><TD
1619><PRE
1620CLASS="PROGRAMLISTING"
1621><A
1622HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1623>xmlElementContentPtr</A
1624> xmlNewElementContent (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001625HREF="gnome-xml-tree.html#XMLCHAR"
1626>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001627> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00001628 <A
1629HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
1630>xmlElementContentType</A
1631> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001632></TD
1633></TR
1634></TABLE
1635><P
1636>Allocate an element content structure.</P
1637><P
1638></P
1639><DIV
1640CLASS="INFORMALTABLE"
1641><P
1642></P
1643><TABLE
1644BORDER="0"
1645WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001646BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001647CELLSPACING="0"
1648CELLPADDING="4"
1649CLASS="CALSTABLE"
1650><TR
1651><TD
1652WIDTH="20%"
1653ALIGN="RIGHT"
1654VALIGN="TOP"
1655><TT
1656CLASS="PARAMETER"
1657><I
1658>name</I
1659></TT
1660>&nbsp;:</TD
1661><TD
1662WIDTH="80%"
1663ALIGN="LEFT"
1664VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001665>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001666></TR
1667><TR
1668><TD
1669WIDTH="20%"
1670ALIGN="RIGHT"
1671VALIGN="TOP"
1672><TT
1673CLASS="PARAMETER"
1674><I
1675>type</I
1676></TT
1677>&nbsp;:</TD
1678><TD
1679WIDTH="80%"
1680ALIGN="LEFT"
1681VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001682>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001683></TR
1684><TR
1685><TD
1686WIDTH="20%"
1687ALIGN="RIGHT"
1688VALIGN="TOP"
1689><I
1690CLASS="EMPHASIS"
1691>Returns</I
1692> :</TD
1693><TD
1694WIDTH="80%"
1695ALIGN="LEFT"
1696VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001697>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001698></TR
1699></TABLE
1700><P
1701></P
1702></DIV
1703></DIV
1704><HR><DIV
1705CLASS="REFSECT2"
1706><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001707NAME="AEN6420"
Daniel Veillard35925471999-02-25 08:46:07 +00001708></A
1709><H3
1710><A
1711NAME="XMLCOPYELEMENTCONTENT"
1712></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001713>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001714><TABLE
1715BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001716BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001717WIDTH="100%"
1718CELLPADDING="6"
1719><TR
1720><TD
1721><PRE
1722CLASS="PROGRAMLISTING"
1723><A
1724HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1725>xmlElementContentPtr</A
1726> xmlCopyElementContent (<A
1727HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1728>xmlElementContentPtr</A
1729> content);</PRE
1730></TD
1731></TR
1732></TABLE
1733><P
1734>Build a copy of an element content description.</P
1735><P
1736></P
1737><DIV
1738CLASS="INFORMALTABLE"
1739><P
1740></P
1741><TABLE
1742BORDER="0"
1743WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001744BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001745CELLSPACING="0"
1746CELLPADDING="4"
1747CLASS="CALSTABLE"
1748><TR
1749><TD
1750WIDTH="20%"
1751ALIGN="RIGHT"
1752VALIGN="TOP"
1753><TT
1754CLASS="PARAMETER"
1755><I
1756>content</I
1757></TT
1758>&nbsp;:</TD
1759><TD
1760WIDTH="80%"
1761ALIGN="LEFT"
1762VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001763>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001764></TR
1765><TR
1766><TD
1767WIDTH="20%"
1768ALIGN="RIGHT"
1769VALIGN="TOP"
1770><I
1771CLASS="EMPHASIS"
1772>Returns</I
1773> :</TD
1774><TD
1775WIDTH="80%"
1776ALIGN="LEFT"
1777VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001778>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001779></TR
1780></TABLE
1781><P
1782></P
1783></DIV
1784></DIV
1785><HR><DIV
1786CLASS="REFSECT2"
1787><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001788NAME="AEN6441"
Daniel Veillard35925471999-02-25 08:46:07 +00001789></A
1790><H3
1791><A
1792NAME="XMLFREEELEMENTCONTENT"
1793></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001794>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001795><TABLE
1796BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001797BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001798WIDTH="100%"
1799CELLPADDING="6"
1800><TR
1801><TD
1802><PRE
1803CLASS="PROGRAMLISTING"
1804>void xmlFreeElementContent (<A
1805HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1806>xmlElementContentPtr</A
1807> cur);</PRE
1808></TD
1809></TR
1810></TABLE
1811><P
1812>Free an element content structure. This is a recursive call !</P
1813><P
1814></P
1815><DIV
1816CLASS="INFORMALTABLE"
1817><P
1818></P
1819><TABLE
1820BORDER="0"
1821WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001822BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001823CELLSPACING="0"
1824CELLPADDING="4"
1825CLASS="CALSTABLE"
1826><TR
1827><TD
1828WIDTH="20%"
1829ALIGN="RIGHT"
1830VALIGN="TOP"
1831><TT
1832CLASS="PARAMETER"
1833><I
1834>cur</I
1835></TT
1836>&nbsp;:</TD
1837><TD
1838WIDTH="80%"
1839ALIGN="LEFT"
1840VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001841>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001842></TR
1843></TABLE
1844><P
1845></P
1846></DIV
1847></DIV
1848><HR><DIV
1849CLASS="REFSECT2"
1850><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001851NAME="AEN6457"
Daniel Veillard35925471999-02-25 08:46:07 +00001852></A
1853><H3
1854><A
1855NAME="XMLADDELEMENTDECL"
1856></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001857>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001858><TABLE
1859BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001860BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001861WIDTH="100%"
1862CELLPADDING="6"
1863><TR
1864><TD
1865><PRE
1866CLASS="PROGRAMLISTING"
1867><A
1868HREF="gnome-xml-tree.html#XMLELEMENTPTR"
1869>xmlElementPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001870> xmlAddElementDecl (<GTKDOCLINK
1871HREF="XMLVALIDCTXTPTR"
1872>xmlValidCtxtPtr</GTKDOCLINK
1873> ctxt,
1874 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001875HREF="gnome-xml-tree.html#XMLDTDPTR"
1876>xmlDtdPtr</A
1877> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001878 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001879HREF="gnome-xml-tree.html#XMLCHAR"
1880>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001881> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00001882 <A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00001883HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL"
1884>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00001885> type,
Daniel Veillard35925471999-02-25 08:46:07 +00001886 <A
1887HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1888>xmlElementContentPtr</A
1889> content);</PRE
1890></TD
1891></TR
1892></TABLE
1893><P
1894>Register a new element declaration</P
1895><P
1896></P
1897><DIV
1898CLASS="INFORMALTABLE"
1899><P
1900></P
1901><TABLE
1902BORDER="0"
1903WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001904BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001905CELLSPACING="0"
1906CELLPADDING="4"
1907CLASS="CALSTABLE"
1908><TR
1909><TD
1910WIDTH="20%"
1911ALIGN="RIGHT"
1912VALIGN="TOP"
1913><TT
1914CLASS="PARAMETER"
1915><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001916>ctxt</I
1917></TT
1918>&nbsp;:</TD
1919><TD
1920WIDTH="80%"
1921ALIGN="LEFT"
1922VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001923>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001924></TR
1925><TR
1926><TD
1927WIDTH="20%"
1928ALIGN="RIGHT"
1929VALIGN="TOP"
1930><TT
1931CLASS="PARAMETER"
1932><I
Daniel Veillard35925471999-02-25 08:46:07 +00001933>dtd</I
1934></TT
1935>&nbsp;:</TD
1936><TD
1937WIDTH="80%"
1938ALIGN="LEFT"
1939VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001940>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001941></TR
1942><TR
1943><TD
1944WIDTH="20%"
1945ALIGN="RIGHT"
1946VALIGN="TOP"
1947><TT
1948CLASS="PARAMETER"
1949><I
1950>name</I
1951></TT
1952>&nbsp;:</TD
1953><TD
1954WIDTH="80%"
1955ALIGN="LEFT"
1956VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001957>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001958></TR
1959><TR
1960><TD
1961WIDTH="20%"
1962ALIGN="RIGHT"
1963VALIGN="TOP"
1964><TT
1965CLASS="PARAMETER"
1966><I
1967>type</I
1968></TT
1969>&nbsp;:</TD
1970><TD
1971WIDTH="80%"
1972ALIGN="LEFT"
1973VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001974>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001975></TR
1976><TR
1977><TD
1978WIDTH="20%"
1979ALIGN="RIGHT"
1980VALIGN="TOP"
1981><TT
1982CLASS="PARAMETER"
1983><I
1984>content</I
1985></TT
1986>&nbsp;:</TD
1987><TD
1988WIDTH="80%"
1989ALIGN="LEFT"
1990VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001991>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001992></TR
1993><TR
1994><TD
1995WIDTH="20%"
1996ALIGN="RIGHT"
1997VALIGN="TOP"
1998><I
1999CLASS="EMPHASIS"
2000>Returns</I
2001> :</TD
2002><TD
2003WIDTH="80%"
2004ALIGN="LEFT"
2005VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002006>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002007></TR
2008></TABLE
2009><P
2010></P
2011></DIV
2012></DIV
2013><HR><DIV
2014CLASS="REFSECT2"
2015><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002016NAME="AEN6498"
Daniel Veillard35925471999-02-25 08:46:07 +00002017></A
2018><H3
2019><A
2020NAME="XMLCOPYELEMENTTABLE"
2021></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002022>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002023><TABLE
2024BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002025BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002026WIDTH="100%"
2027CELLPADDING="6"
2028><TR
2029><TD
2030><PRE
2031CLASS="PROGRAMLISTING"
2032><A
2033HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2034>xmlElementTablePtr</A
2035> xmlCopyElementTable (<A
2036HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2037>xmlElementTablePtr</A
2038> table);</PRE
2039></TD
2040></TR
2041></TABLE
2042><P
2043>Build a copy of an element table.</P
2044><P
2045></P
2046><DIV
2047CLASS="INFORMALTABLE"
2048><P
2049></P
2050><TABLE
2051BORDER="0"
2052WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002053BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002054CELLSPACING="0"
2055CELLPADDING="4"
2056CLASS="CALSTABLE"
2057><TR
2058><TD
2059WIDTH="20%"
2060ALIGN="RIGHT"
2061VALIGN="TOP"
2062><TT
2063CLASS="PARAMETER"
2064><I
2065>table</I
2066></TT
2067>&nbsp;:</TD
2068><TD
2069WIDTH="80%"
2070ALIGN="LEFT"
2071VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002072>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002073></TR
2074><TR
2075><TD
2076WIDTH="20%"
2077ALIGN="RIGHT"
2078VALIGN="TOP"
2079><I
2080CLASS="EMPHASIS"
2081>Returns</I
2082> :</TD
2083><TD
2084WIDTH="80%"
2085ALIGN="LEFT"
2086VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002087>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002088></TR
2089></TABLE
2090><P
2091></P
2092></DIV
2093></DIV
2094><HR><DIV
2095CLASS="REFSECT2"
2096><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002097NAME="AEN6519"
Daniel Veillard35925471999-02-25 08:46:07 +00002098></A
2099><H3
2100><A
2101NAME="XMLFREEELEMENTTABLE"
2102></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002103>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002104><TABLE
2105BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002106BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002107WIDTH="100%"
2108CELLPADDING="6"
2109><TR
2110><TD
2111><PRE
2112CLASS="PROGRAMLISTING"
2113>void xmlFreeElementTable (<A
2114HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2115>xmlElementTablePtr</A
2116> table);</PRE
2117></TD
2118></TR
2119></TABLE
2120><P
2121>Deallocate the memory used by an element hash table.</P
2122><P
2123></P
2124><DIV
2125CLASS="INFORMALTABLE"
2126><P
2127></P
2128><TABLE
2129BORDER="0"
2130WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002131BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002132CELLSPACING="0"
2133CELLPADDING="4"
2134CLASS="CALSTABLE"
2135><TR
2136><TD
2137WIDTH="20%"
2138ALIGN="RIGHT"
2139VALIGN="TOP"
2140><TT
2141CLASS="PARAMETER"
2142><I
2143>table</I
2144></TT
2145>&nbsp;:</TD
2146><TD
2147WIDTH="80%"
2148ALIGN="LEFT"
2149VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002150>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002151></TR
2152></TABLE
2153><P
2154></P
2155></DIV
2156></DIV
2157><HR><DIV
2158CLASS="REFSECT2"
2159><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002160NAME="AEN6535"
Daniel Veillard35925471999-02-25 08:46:07 +00002161></A
2162><H3
2163><A
2164NAME="XMLDUMPELEMENTTABLE"
2165></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002166>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002167><TABLE
2168BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002169BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002170WIDTH="100%"
2171CELLPADDING="6"
2172><TR
2173><TD
2174><PRE
2175CLASS="PROGRAMLISTING"
2176>void xmlDumpElementTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002177HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2178>xmlBufferPtr</A
2179> buf,
2180 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002181HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2182>xmlElementTablePtr</A
2183> table);</PRE
2184></TD
2185></TR
2186></TABLE
2187><P
2188>This will dump the content of the element table as an XML DTD definition</P
2189><P
Daniel Veillard35925471999-02-25 08:46:07 +00002190></P
2191><DIV
2192CLASS="INFORMALTABLE"
2193><P
2194></P
2195><TABLE
2196BORDER="0"
2197WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002198BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002199CELLSPACING="0"
2200CELLPADDING="4"
2201CLASS="CALSTABLE"
2202><TR
2203><TD
2204WIDTH="20%"
2205ALIGN="RIGHT"
2206VALIGN="TOP"
2207><TT
2208CLASS="PARAMETER"
2209><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002210>buf</I
2211></TT
2212>&nbsp;:</TD
2213><TD
2214WIDTH="80%"
2215ALIGN="LEFT"
2216VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002217>&nbsp;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002218></TR
2219><TR
2220><TD
2221WIDTH="20%"
2222ALIGN="RIGHT"
2223VALIGN="TOP"
2224><TT
2225CLASS="PARAMETER"
2226><I
Daniel Veillard35925471999-02-25 08:46:07 +00002227>table</I
2228></TT
2229>&nbsp;:</TD
2230><TD
2231WIDTH="80%"
2232ALIGN="LEFT"
2233VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002234>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002235></TR
2236></TABLE
2237><P
2238></P
2239></DIV
2240></DIV
2241><HR><DIV
2242CLASS="REFSECT2"
2243><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002244NAME="AEN6556"
Daniel Veillard35925471999-02-25 08:46:07 +00002245></A
2246><H3
2247><A
2248NAME="XMLCREATEENUMERATION"
2249></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002250>xmlCreateEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002251><TABLE
2252BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002253BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002254WIDTH="100%"
2255CELLPADDING="6"
2256><TR
2257><TD
2258><PRE
2259CLASS="PROGRAMLISTING"
2260><A
2261HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2262>xmlEnumerationPtr</A
2263> xmlCreateEnumeration (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002264HREF="gnome-xml-tree.html#XMLCHAR"
2265>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002266> *name);</PRE
2267></TD
2268></TR
2269></TABLE
2270><P
2271>create and initialize an enumeration attribute node.</P
2272><P
2273></P
2274><DIV
2275CLASS="INFORMALTABLE"
2276><P
2277></P
2278><TABLE
2279BORDER="0"
2280WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002281BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002282CELLSPACING="0"
2283CELLPADDING="4"
2284CLASS="CALSTABLE"
2285><TR
2286><TD
2287WIDTH="20%"
2288ALIGN="RIGHT"
2289VALIGN="TOP"
2290><TT
2291CLASS="PARAMETER"
2292><I
2293>name</I
2294></TT
2295>&nbsp;:</TD
2296><TD
2297WIDTH="80%"
2298ALIGN="LEFT"
2299VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002300>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002301></TR
2302><TR
2303><TD
2304WIDTH="20%"
2305ALIGN="RIGHT"
2306VALIGN="TOP"
2307><I
2308CLASS="EMPHASIS"
2309>Returns</I
2310> :</TD
2311><TD
2312WIDTH="80%"
2313ALIGN="LEFT"
2314VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002315>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002316></TR
2317></TABLE
2318><P
2319></P
2320></DIV
2321></DIV
2322><HR><DIV
2323CLASS="REFSECT2"
2324><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002325NAME="AEN6577"
Daniel Veillard35925471999-02-25 08:46:07 +00002326></A
2327><H3
2328><A
2329NAME="XMLFREEENUMERATION"
2330></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002331>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002332><TABLE
2333BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002334BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002335WIDTH="100%"
2336CELLPADDING="6"
2337><TR
2338><TD
2339><PRE
2340CLASS="PROGRAMLISTING"
2341>void xmlFreeEnumeration (<A
2342HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2343>xmlEnumerationPtr</A
2344> cur);</PRE
2345></TD
2346></TR
2347></TABLE
2348><P
2349>free an enumeration attribute node (recursive).</P
2350><P
2351></P
2352><DIV
2353CLASS="INFORMALTABLE"
2354><P
2355></P
2356><TABLE
2357BORDER="0"
2358WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002359BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002360CELLSPACING="0"
2361CELLPADDING="4"
2362CLASS="CALSTABLE"
2363><TR
2364><TD
2365WIDTH="20%"
2366ALIGN="RIGHT"
2367VALIGN="TOP"
2368><TT
2369CLASS="PARAMETER"
2370><I
2371>cur</I
2372></TT
2373>&nbsp;:</TD
2374><TD
2375WIDTH="80%"
2376ALIGN="LEFT"
2377VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002378>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002379></TR
2380></TABLE
2381><P
2382></P
2383></DIV
2384></DIV
2385><HR><DIV
2386CLASS="REFSECT2"
2387><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002388NAME="AEN6593"
Daniel Veillard35925471999-02-25 08:46:07 +00002389></A
2390><H3
2391><A
2392NAME="XMLCOPYENUMERATION"
2393></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002394>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002395><TABLE
2396BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002397BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002398WIDTH="100%"
2399CELLPADDING="6"
2400><TR
2401><TD
2402><PRE
2403CLASS="PROGRAMLISTING"
2404><A
2405HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2406>xmlEnumerationPtr</A
2407> xmlCopyEnumeration (<A
2408HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2409>xmlEnumerationPtr</A
2410> cur);</PRE
2411></TD
2412></TR
2413></TABLE
2414><P
2415>Copy an enumeration attribute node (recursive).</P
2416><P
2417></P
2418><DIV
2419CLASS="INFORMALTABLE"
2420><P
2421></P
2422><TABLE
2423BORDER="0"
2424WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002425BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002426CELLSPACING="0"
2427CELLPADDING="4"
2428CLASS="CALSTABLE"
2429><TR
2430><TD
2431WIDTH="20%"
2432ALIGN="RIGHT"
2433VALIGN="TOP"
2434><TT
2435CLASS="PARAMETER"
2436><I
2437>cur</I
2438></TT
2439>&nbsp;:</TD
2440><TD
2441WIDTH="80%"
2442ALIGN="LEFT"
2443VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002444>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002445></TR
2446><TR
2447><TD
2448WIDTH="20%"
2449ALIGN="RIGHT"
2450VALIGN="TOP"
2451><I
2452CLASS="EMPHASIS"
2453>Returns</I
2454> :</TD
2455><TD
2456WIDTH="80%"
2457ALIGN="LEFT"
2458VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002459>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002460></TR
2461></TABLE
2462><P
2463></P
2464></DIV
2465></DIV
2466><HR><DIV
2467CLASS="REFSECT2"
2468><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002469NAME="AEN6614"
Daniel Veillard35925471999-02-25 08:46:07 +00002470></A
2471><H3
2472><A
2473NAME="XMLADDATTRIBUTEDECL"
2474></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002475>xmlAddAttributeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002476><TABLE
2477BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002478BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002479WIDTH="100%"
2480CELLPADDING="6"
2481><TR
2482><TD
2483><PRE
2484CLASS="PROGRAMLISTING"
2485><A
2486HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
2487>xmlAttributePtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002488> xmlAddAttributeDecl (<GTKDOCLINK
2489HREF="XMLVALIDCTXTPTR"
2490>xmlValidCtxtPtr</GTKDOCLINK
2491> ctxt,
2492 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002493HREF="gnome-xml-tree.html#XMLDTDPTR"
2494>xmlDtdPtr</A
2495> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002496 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002497HREF="gnome-xml-tree.html#XMLCHAR"
2498>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002499> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002500 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002501HREF="gnome-xml-tree.html#XMLCHAR"
2502>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002503> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002504 <A
2505HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
2506>xmlAttributeType</A
2507> type,
2508 <A
2509HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
2510>xmlAttributeDefault</A
2511> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002512 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002513HREF="gnome-xml-tree.html#XMLCHAR"
2514>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002515> *defaultValue,
2516 <A
2517HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2518>xmlEnumerationPtr</A
2519> tree);</PRE
2520></TD
2521></TR
2522></TABLE
2523><P
2524>Register a new attribute declaration</P
2525><P
2526></P
2527><DIV
2528CLASS="INFORMALTABLE"
2529><P
2530></P
2531><TABLE
2532BORDER="0"
2533WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002534BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002535CELLSPACING="0"
2536CELLPADDING="4"
2537CLASS="CALSTABLE"
2538><TR
2539><TD
2540WIDTH="20%"
2541ALIGN="RIGHT"
2542VALIGN="TOP"
2543><TT
2544CLASS="PARAMETER"
2545><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002546>ctxt</I
2547></TT
2548>&nbsp;:</TD
2549><TD
2550WIDTH="80%"
2551ALIGN="LEFT"
2552VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002553>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002554></TR
2555><TR
2556><TD
2557WIDTH="20%"
2558ALIGN="RIGHT"
2559VALIGN="TOP"
2560><TT
2561CLASS="PARAMETER"
2562><I
Daniel Veillard35925471999-02-25 08:46:07 +00002563>dtd</I
2564></TT
2565>&nbsp;:</TD
2566><TD
2567WIDTH="80%"
2568ALIGN="LEFT"
2569VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002570>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002571></TR
2572><TR
2573><TD
2574WIDTH="20%"
2575ALIGN="RIGHT"
2576VALIGN="TOP"
2577><TT
2578CLASS="PARAMETER"
2579><I
2580>elem</I
2581></TT
2582>&nbsp;:</TD
2583><TD
2584WIDTH="80%"
2585ALIGN="LEFT"
2586VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002587>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002588></TR
2589><TR
2590><TD
2591WIDTH="20%"
2592ALIGN="RIGHT"
2593VALIGN="TOP"
2594><TT
2595CLASS="PARAMETER"
2596><I
2597>name</I
2598></TT
2599>&nbsp;:</TD
2600><TD
2601WIDTH="80%"
2602ALIGN="LEFT"
2603VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002604>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002605></TR
2606><TR
2607><TD
2608WIDTH="20%"
2609ALIGN="RIGHT"
2610VALIGN="TOP"
2611><TT
2612CLASS="PARAMETER"
2613><I
2614>type</I
2615></TT
2616>&nbsp;:</TD
2617><TD
2618WIDTH="80%"
2619ALIGN="LEFT"
2620VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002621>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002622></TR
2623><TR
2624><TD
2625WIDTH="20%"
2626ALIGN="RIGHT"
2627VALIGN="TOP"
2628><TT
2629CLASS="PARAMETER"
2630><I
2631>def</I
2632></TT
2633>&nbsp;:</TD
2634><TD
2635WIDTH="80%"
2636ALIGN="LEFT"
2637VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002638>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002639></TR
2640><TR
2641><TD
2642WIDTH="20%"
2643ALIGN="RIGHT"
2644VALIGN="TOP"
2645><TT
2646CLASS="PARAMETER"
2647><I
2648>defaultValue</I
2649></TT
2650>&nbsp;:</TD
2651><TD
2652WIDTH="80%"
2653ALIGN="LEFT"
2654VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002655>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002656></TR
2657><TR
2658><TD
2659WIDTH="20%"
2660ALIGN="RIGHT"
2661VALIGN="TOP"
2662><TT
2663CLASS="PARAMETER"
2664><I
2665>tree</I
2666></TT
2667>&nbsp;:</TD
2668><TD
2669WIDTH="80%"
2670ALIGN="LEFT"
2671VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002672>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002673></TR
2674><TR
2675><TD
2676WIDTH="20%"
2677ALIGN="RIGHT"
2678VALIGN="TOP"
2679><I
2680CLASS="EMPHASIS"
2681>Returns</I
2682> :</TD
2683><TD
2684WIDTH="80%"
2685ALIGN="LEFT"
2686VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002687>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002688></TR
2689></TABLE
2690><P
2691></P
2692></DIV
2693></DIV
2694><HR><DIV
2695CLASS="REFSECT2"
2696><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002697NAME="AEN6670"
Daniel Veillard35925471999-02-25 08:46:07 +00002698></A
2699><H3
2700><A
2701NAME="XMLCOPYATTRIBUTETABLE"
2702></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002703>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002704><TABLE
2705BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002706BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002707WIDTH="100%"
2708CELLPADDING="6"
2709><TR
2710><TD
2711><PRE
2712CLASS="PROGRAMLISTING"
2713><A
2714HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2715>xmlAttributeTablePtr</A
2716> xmlCopyAttributeTable (<A
2717HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2718>xmlAttributeTablePtr</A
2719> table);</PRE
2720></TD
2721></TR
2722></TABLE
2723><P
2724>Build a copy of an attribute table.</P
2725><P
2726></P
2727><DIV
2728CLASS="INFORMALTABLE"
2729><P
2730></P
2731><TABLE
2732BORDER="0"
2733WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002734BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002735CELLSPACING="0"
2736CELLPADDING="4"
2737CLASS="CALSTABLE"
2738><TR
2739><TD
2740WIDTH="20%"
2741ALIGN="RIGHT"
2742VALIGN="TOP"
2743><TT
2744CLASS="PARAMETER"
2745><I
2746>table</I
2747></TT
2748>&nbsp;:</TD
2749><TD
2750WIDTH="80%"
2751ALIGN="LEFT"
2752VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002753>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002754></TR
2755><TR
2756><TD
2757WIDTH="20%"
2758ALIGN="RIGHT"
2759VALIGN="TOP"
2760><I
2761CLASS="EMPHASIS"
2762>Returns</I
2763> :</TD
2764><TD
2765WIDTH="80%"
2766ALIGN="LEFT"
2767VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002768>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002769></TR
2770></TABLE
2771><P
2772></P
2773></DIV
2774></DIV
2775><HR><DIV
2776CLASS="REFSECT2"
2777><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002778NAME="AEN6691"
Daniel Veillard35925471999-02-25 08:46:07 +00002779></A
2780><H3
2781><A
2782NAME="XMLFREEATTRIBUTETABLE"
2783></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002784>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002785><TABLE
2786BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002787BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002788WIDTH="100%"
2789CELLPADDING="6"
2790><TR
2791><TD
2792><PRE
2793CLASS="PROGRAMLISTING"
2794>void xmlFreeAttributeTable (<A
2795HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2796>xmlAttributeTablePtr</A
2797> table);</PRE
2798></TD
2799></TR
2800></TABLE
2801><P
2802>Deallocate the memory used by an entities hash table.</P
2803><P
2804></P
2805><DIV
2806CLASS="INFORMALTABLE"
2807><P
2808></P
2809><TABLE
2810BORDER="0"
2811WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002812BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002813CELLSPACING="0"
2814CELLPADDING="4"
2815CLASS="CALSTABLE"
2816><TR
2817><TD
2818WIDTH="20%"
2819ALIGN="RIGHT"
2820VALIGN="TOP"
2821><TT
2822CLASS="PARAMETER"
2823><I
2824>table</I
2825></TT
2826>&nbsp;:</TD
2827><TD
2828WIDTH="80%"
2829ALIGN="LEFT"
2830VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002831>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002832></TR
2833></TABLE
2834><P
2835></P
2836></DIV
2837></DIV
2838><HR><DIV
2839CLASS="REFSECT2"
2840><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002841NAME="AEN6707"
Daniel Veillard35925471999-02-25 08:46:07 +00002842></A
2843><H3
2844><A
2845NAME="XMLDUMPATTRIBUTETABLE"
2846></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002847>xmlDumpAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002848><TABLE
2849BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002850BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002851WIDTH="100%"
2852CELLPADDING="6"
2853><TR
2854><TD
2855><PRE
2856CLASS="PROGRAMLISTING"
2857>void xmlDumpAttributeTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002858HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2859>xmlBufferPtr</A
2860> buf,
2861 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002862HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2863>xmlAttributeTablePtr</A
2864> table);</PRE
2865></TD
2866></TR
2867></TABLE
2868><P
2869>This will dump the content of the attribute table as an XML DTD definition</P
2870><P
Daniel Veillard35925471999-02-25 08:46:07 +00002871></P
2872><DIV
2873CLASS="INFORMALTABLE"
2874><P
2875></P
2876><TABLE
2877BORDER="0"
2878WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002879BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002880CELLSPACING="0"
2881CELLPADDING="4"
2882CLASS="CALSTABLE"
2883><TR
2884><TD
2885WIDTH="20%"
2886ALIGN="RIGHT"
2887VALIGN="TOP"
2888><TT
2889CLASS="PARAMETER"
2890><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002891>buf</I
2892></TT
2893>&nbsp;:</TD
2894><TD
2895WIDTH="80%"
2896ALIGN="LEFT"
2897VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002898>&nbsp;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002899></TR
2900><TR
2901><TD
2902WIDTH="20%"
2903ALIGN="RIGHT"
2904VALIGN="TOP"
2905><TT
2906CLASS="PARAMETER"
2907><I
Daniel Veillard35925471999-02-25 08:46:07 +00002908>table</I
2909></TT
2910>&nbsp;:</TD
2911><TD
2912WIDTH="80%"
2913ALIGN="LEFT"
2914VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002915>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002916></TR
2917></TABLE
2918><P
2919></P
2920></DIV
2921></DIV
2922><HR><DIV
2923CLASS="REFSECT2"
2924><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002925NAME="AEN6728"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002926></A
2927><H3
2928><A
2929NAME="XMLADDID"
2930></A
2931>xmlAddID ()</H3
2932><TABLE
2933BORDER="0"
2934BGCOLOR="#D6E8FF"
2935WIDTH="100%"
2936CELLPADDING="6"
2937><TR
2938><TD
2939><PRE
2940CLASS="PROGRAMLISTING"
2941><A
2942HREF="gnome-xml-tree.html#XMLIDPTR"
2943>xmlIDPtr</A
2944> xmlAddID (<GTKDOCLINK
2945HREF="XMLVALIDCTXTPTR"
2946>xmlValidCtxtPtr</GTKDOCLINK
2947> ctxt,
2948 <A
2949HREF="gnome-xml-tree.html#XMLDOCPTR"
2950>xmlDocPtr</A
2951> doc,
2952 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002953HREF="gnome-xml-tree.html#XMLCHAR"
2954>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002955> *value,
2956 <A
2957HREF="gnome-xml-tree.html#XMLATTRPTR"
2958>xmlAttrPtr</A
2959> attr);</PRE
2960></TD
2961></TR
2962></TABLE
2963><P
2964>Register a new id declaration</P
2965><P
2966></P
2967><DIV
2968CLASS="INFORMALTABLE"
2969><P
2970></P
2971><TABLE
2972BORDER="0"
2973WIDTH="100%"
2974BGCOLOR="#FFD0D0"
2975CELLSPACING="0"
2976CELLPADDING="4"
2977CLASS="CALSTABLE"
2978><TR
2979><TD
2980WIDTH="20%"
2981ALIGN="RIGHT"
2982VALIGN="TOP"
2983><TT
2984CLASS="PARAMETER"
2985><I
2986>ctxt</I
2987></TT
2988>&nbsp;:</TD
2989><TD
2990WIDTH="80%"
2991ALIGN="LEFT"
2992VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002993>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002994></TR
2995><TR
2996><TD
2997WIDTH="20%"
2998ALIGN="RIGHT"
2999VALIGN="TOP"
3000><TT
3001CLASS="PARAMETER"
3002><I
3003>doc</I
3004></TT
3005>&nbsp;:</TD
3006><TD
3007WIDTH="80%"
3008ALIGN="LEFT"
3009VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003010>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003011></TR
3012><TR
3013><TD
3014WIDTH="20%"
3015ALIGN="RIGHT"
3016VALIGN="TOP"
3017><TT
3018CLASS="PARAMETER"
3019><I
3020>value</I
3021></TT
3022>&nbsp;:</TD
3023><TD
3024WIDTH="80%"
3025ALIGN="LEFT"
3026VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003027>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003028></TR
3029><TR
3030><TD
3031WIDTH="20%"
3032ALIGN="RIGHT"
3033VALIGN="TOP"
3034><TT
3035CLASS="PARAMETER"
3036><I
3037>attr</I
3038></TT
3039>&nbsp;:</TD
3040><TD
3041WIDTH="80%"
3042ALIGN="LEFT"
3043VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003044>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003045></TR
3046><TR
3047><TD
3048WIDTH="20%"
3049ALIGN="RIGHT"
3050VALIGN="TOP"
3051><I
3052CLASS="EMPHASIS"
3053>Returns</I
3054> :</TD
3055><TD
3056WIDTH="80%"
3057ALIGN="LEFT"
3058VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003059>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003060></TR
3061></TABLE
3062><P
3063></P
3064></DIV
3065></DIV
3066><HR><DIV
3067CLASS="REFSECT2"
3068><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003069NAME="AEN6764"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003070></A
3071><H3
3072><A
3073NAME="XMLCOPYIDTABLE"
3074></A
3075>xmlCopyIDTable ()</H3
3076><TABLE
3077BORDER="0"
3078BGCOLOR="#D6E8FF"
3079WIDTH="100%"
3080CELLPADDING="6"
3081><TR
3082><TD
3083><PRE
3084CLASS="PROGRAMLISTING"
3085><A
3086HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3087>xmlIDTablePtr</A
3088> xmlCopyIDTable (<A
3089HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3090>xmlIDTablePtr</A
3091> table);</PRE
3092></TD
3093></TR
3094></TABLE
3095><P
3096></P
3097><DIV
3098CLASS="INFORMALTABLE"
3099><P
3100></P
3101><TABLE
3102BORDER="0"
3103WIDTH="100%"
3104BGCOLOR="#FFD0D0"
3105CELLSPACING="0"
3106CELLPADDING="4"
3107CLASS="CALSTABLE"
3108><TR
3109><TD
3110WIDTH="20%"
3111ALIGN="RIGHT"
3112VALIGN="TOP"
3113><TT
3114CLASS="PARAMETER"
3115><I
3116>table</I
3117></TT
3118>&nbsp;:</TD
3119><TD
3120WIDTH="80%"
3121ALIGN="LEFT"
3122VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003123>&nbsp;</TD
3124></TR
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003125><TR
3126><TD
3127WIDTH="20%"
3128ALIGN="RIGHT"
3129VALIGN="TOP"
3130><I
3131CLASS="EMPHASIS"
3132>Returns</I
3133> :</TD
3134><TD
3135WIDTH="80%"
3136ALIGN="LEFT"
3137VALIGN="TOP"
3138>&nbsp;</TD
3139></TR
Daniel Veillardb05deb71999-08-10 19:04:08 +00003140></TABLE
3141><P
3142></P
3143></DIV
3144></DIV
3145><HR><DIV
3146CLASS="REFSECT2"
3147><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003148NAME="AEN6784"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003149></A
3150><H3
3151><A
3152NAME="XMLFREEIDTABLE"
3153></A
3154>xmlFreeIDTable ()</H3
3155><TABLE
3156BORDER="0"
3157BGCOLOR="#D6E8FF"
3158WIDTH="100%"
3159CELLPADDING="6"
3160><TR
3161><TD
3162><PRE
3163CLASS="PROGRAMLISTING"
3164>void xmlFreeIDTable (<A
3165HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3166>xmlIDTablePtr</A
3167> table);</PRE
3168></TD
3169></TR
3170></TABLE
3171><P
3172>Deallocate the memory used by an ID hash table.</P
3173><P
3174></P
3175><DIV
3176CLASS="INFORMALTABLE"
3177><P
3178></P
3179><TABLE
3180BORDER="0"
3181WIDTH="100%"
3182BGCOLOR="#FFD0D0"
3183CELLSPACING="0"
3184CELLPADDING="4"
3185CLASS="CALSTABLE"
3186><TR
3187><TD
3188WIDTH="20%"
3189ALIGN="RIGHT"
3190VALIGN="TOP"
3191><TT
3192CLASS="PARAMETER"
3193><I
3194>table</I
3195></TT
3196>&nbsp;:</TD
3197><TD
3198WIDTH="80%"
3199ALIGN="LEFT"
3200VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003201>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003202></TR
3203></TABLE
3204><P
3205></P
3206></DIV
3207></DIV
3208><HR><DIV
3209CLASS="REFSECT2"
3210><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003211NAME="AEN6800"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003212></A
3213><H3
3214><A
3215NAME="XMLGETID"
3216></A
3217>xmlGetID ()</H3
3218><TABLE
3219BORDER="0"
3220BGCOLOR="#D6E8FF"
3221WIDTH="100%"
3222CELLPADDING="6"
3223><TR
3224><TD
3225><PRE
3226CLASS="PROGRAMLISTING"
3227><A
3228HREF="gnome-xml-tree.html#XMLATTRPTR"
3229>xmlAttrPtr</A
3230> xmlGetID (<A
3231HREF="gnome-xml-tree.html#XMLDOCPTR"
3232>xmlDocPtr</A
3233> doc,
3234 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003235HREF="gnome-xml-tree.html#XMLCHAR"
3236>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003237> *ID);</PRE
3238></TD
3239></TR
3240></TABLE
3241><P
3242>Search the attribute declaring the given ID</P
3243><P
3244></P
3245><DIV
3246CLASS="INFORMALTABLE"
3247><P
3248></P
3249><TABLE
3250BORDER="0"
3251WIDTH="100%"
3252BGCOLOR="#FFD0D0"
3253CELLSPACING="0"
3254CELLPADDING="4"
3255CLASS="CALSTABLE"
3256><TR
3257><TD
3258WIDTH="20%"
3259ALIGN="RIGHT"
3260VALIGN="TOP"
3261><TT
3262CLASS="PARAMETER"
3263><I
3264>doc</I
3265></TT
3266>&nbsp;:</TD
3267><TD
3268WIDTH="80%"
3269ALIGN="LEFT"
3270VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003271>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003272></TR
3273><TR
3274><TD
3275WIDTH="20%"
3276ALIGN="RIGHT"
3277VALIGN="TOP"
3278><TT
3279CLASS="PARAMETER"
3280><I
3281>ID</I
3282></TT
3283>&nbsp;:</TD
3284><TD
3285WIDTH="80%"
3286ALIGN="LEFT"
3287VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003288>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003289></TR
3290><TR
3291><TD
3292WIDTH="20%"
3293ALIGN="RIGHT"
3294VALIGN="TOP"
3295><I
3296CLASS="EMPHASIS"
3297>Returns</I
3298> :</TD
3299><TD
3300WIDTH="80%"
3301ALIGN="LEFT"
3302VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003303>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003304></TR
3305></TABLE
3306><P
3307></P
3308></DIV
3309></DIV
3310><HR><DIV
3311CLASS="REFSECT2"
3312><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003313NAME="AEN6826"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003314></A
3315><H3
3316><A
3317NAME="XMLISID"
3318></A
3319>xmlIsID ()</H3
3320><TABLE
3321BORDER="0"
3322BGCOLOR="#D6E8FF"
3323WIDTH="100%"
3324CELLPADDING="6"
3325><TR
3326><TD
3327><PRE
3328CLASS="PROGRAMLISTING"
3329>int xmlIsID (<A
3330HREF="gnome-xml-tree.html#XMLDOCPTR"
3331>xmlDocPtr</A
3332> doc,
3333 <A
3334HREF="gnome-xml-tree.html#XMLNODEPTR"
3335>xmlNodePtr</A
3336> elem,
3337 <A
3338HREF="gnome-xml-tree.html#XMLATTRPTR"
3339>xmlAttrPtr</A
3340> attr);</PRE
3341></TD
3342></TR
3343></TABLE
3344><P
3345>Determine whether an attribute is of type ID. In case we have Dtd(s)
3346then this is simple, otherwise we use an heuristic: name ID (upper
3347or lowercase).</P
3348><P
3349></P
3350><DIV
3351CLASS="INFORMALTABLE"
3352><P
3353></P
3354><TABLE
3355BORDER="0"
3356WIDTH="100%"
3357BGCOLOR="#FFD0D0"
3358CELLSPACING="0"
3359CELLPADDING="4"
3360CLASS="CALSTABLE"
3361><TR
3362><TD
3363WIDTH="20%"
3364ALIGN="RIGHT"
3365VALIGN="TOP"
3366><TT
3367CLASS="PARAMETER"
3368><I
3369>doc</I
3370></TT
3371>&nbsp;:</TD
3372><TD
3373WIDTH="80%"
3374ALIGN="LEFT"
3375VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003376>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003377></TR
3378><TR
3379><TD
3380WIDTH="20%"
3381ALIGN="RIGHT"
3382VALIGN="TOP"
3383><TT
3384CLASS="PARAMETER"
3385><I
3386>elem</I
3387></TT
3388>&nbsp;:</TD
3389><TD
3390WIDTH="80%"
3391ALIGN="LEFT"
3392VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003393>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003394></TR
3395><TR
3396><TD
3397WIDTH="20%"
3398ALIGN="RIGHT"
3399VALIGN="TOP"
3400><TT
3401CLASS="PARAMETER"
3402><I
3403>attr</I
3404></TT
3405>&nbsp;:</TD
3406><TD
3407WIDTH="80%"
3408ALIGN="LEFT"
3409VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003410>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003411></TR
3412><TR
3413><TD
3414WIDTH="20%"
3415ALIGN="RIGHT"
3416VALIGN="TOP"
3417><I
3418CLASS="EMPHASIS"
3419>Returns</I
3420> :</TD
3421><TD
3422WIDTH="80%"
3423ALIGN="LEFT"
3424VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003425>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003426></TR
3427></TABLE
3428><P
3429></P
3430></DIV
3431></DIV
3432><HR><DIV
3433CLASS="REFSECT2"
3434><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003435NAME="AEN6856"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003436></A
3437><H3
3438><A
3439NAME="XMLADDREF"
3440></A
3441>xmlAddRef ()</H3
3442><TABLE
3443BORDER="0"
3444BGCOLOR="#D6E8FF"
3445WIDTH="100%"
3446CELLPADDING="6"
3447><TR
3448><TD
3449><PRE
3450CLASS="PROGRAMLISTING"
3451><A
3452HREF="gnome-xml-tree.html#XMLREFPTR"
3453>xmlRefPtr</A
3454> xmlAddRef (<GTKDOCLINK
3455HREF="XMLVALIDCTXTPTR"
3456>xmlValidCtxtPtr</GTKDOCLINK
3457> ctxt,
3458 <A
3459HREF="gnome-xml-tree.html#XMLDOCPTR"
3460>xmlDocPtr</A
3461> doc,
3462 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003463HREF="gnome-xml-tree.html#XMLCHAR"
3464>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003465> *value,
3466 <A
3467HREF="gnome-xml-tree.html#XMLATTRPTR"
3468>xmlAttrPtr</A
3469> attr);</PRE
3470></TD
3471></TR
3472></TABLE
3473><P
3474>Register a new ref declaration</P
3475><P
3476></P
3477><DIV
3478CLASS="INFORMALTABLE"
3479><P
3480></P
3481><TABLE
3482BORDER="0"
3483WIDTH="100%"
3484BGCOLOR="#FFD0D0"
3485CELLSPACING="0"
3486CELLPADDING="4"
3487CLASS="CALSTABLE"
3488><TR
3489><TD
3490WIDTH="20%"
3491ALIGN="RIGHT"
3492VALIGN="TOP"
3493><TT
3494CLASS="PARAMETER"
3495><I
3496>ctxt</I
3497></TT
3498>&nbsp;:</TD
3499><TD
3500WIDTH="80%"
3501ALIGN="LEFT"
3502VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003503>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003504></TR
3505><TR
3506><TD
3507WIDTH="20%"
3508ALIGN="RIGHT"
3509VALIGN="TOP"
3510><TT
3511CLASS="PARAMETER"
3512><I
3513>doc</I
3514></TT
3515>&nbsp;:</TD
3516><TD
3517WIDTH="80%"
3518ALIGN="LEFT"
3519VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003520>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003521></TR
3522><TR
3523><TD
3524WIDTH="20%"
3525ALIGN="RIGHT"
3526VALIGN="TOP"
3527><TT
3528CLASS="PARAMETER"
3529><I
3530>value</I
3531></TT
3532>&nbsp;:</TD
3533><TD
3534WIDTH="80%"
3535ALIGN="LEFT"
3536VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003537>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003538></TR
3539><TR
3540><TD
3541WIDTH="20%"
3542ALIGN="RIGHT"
3543VALIGN="TOP"
3544><TT
3545CLASS="PARAMETER"
3546><I
3547>attr</I
3548></TT
3549>&nbsp;:</TD
3550><TD
3551WIDTH="80%"
3552ALIGN="LEFT"
3553VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003554>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003555></TR
3556><TR
3557><TD
3558WIDTH="20%"
3559ALIGN="RIGHT"
3560VALIGN="TOP"
3561><I
3562CLASS="EMPHASIS"
3563>Returns</I
3564> :</TD
3565><TD
3566WIDTH="80%"
3567ALIGN="LEFT"
3568VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003569>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003570></TR
3571></TABLE
3572><P
3573></P
3574></DIV
3575></DIV
3576><HR><DIV
3577CLASS="REFSECT2"
3578><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003579NAME="AEN6892"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003580></A
3581><H3
3582><A
3583NAME="XMLCOPYREFTABLE"
3584></A
3585>xmlCopyRefTable ()</H3
3586><TABLE
3587BORDER="0"
3588BGCOLOR="#D6E8FF"
3589WIDTH="100%"
3590CELLPADDING="6"
3591><TR
3592><TD
3593><PRE
3594CLASS="PROGRAMLISTING"
3595><A
3596HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
3597>xmlRefTablePtr</A
3598> xmlCopyRefTable (<A
3599HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
3600>xmlRefTablePtr</A
3601> table);</PRE
3602></TD
3603></TR
3604></TABLE
3605><P
3606></P
3607><DIV
3608CLASS="INFORMALTABLE"
3609><P
3610></P
3611><TABLE
3612BORDER="0"
3613WIDTH="100%"
3614BGCOLOR="#FFD0D0"
3615CELLSPACING="0"
3616CELLPADDING="4"
3617CLASS="CALSTABLE"
3618><TR
3619><TD
3620WIDTH="20%"
3621ALIGN="RIGHT"
3622VALIGN="TOP"
3623><TT
3624CLASS="PARAMETER"
3625><I
3626>table</I
3627></TT
3628>&nbsp;:</TD
3629><TD
3630WIDTH="80%"
3631ALIGN="LEFT"
3632VALIGN="TOP"
3633>&nbsp;</TD
3634></TR
3635><TR
3636><TD
3637WIDTH="20%"
3638ALIGN="RIGHT"
3639VALIGN="TOP"
3640><I
3641CLASS="EMPHASIS"
3642>Returns</I
3643> :</TD
3644><TD
3645WIDTH="80%"
3646ALIGN="LEFT"
3647VALIGN="TOP"
3648>&nbsp;</TD
3649></TR
3650></TABLE
3651><P
3652></P
3653></DIV
3654></DIV
3655><HR><DIV
3656CLASS="REFSECT2"
3657><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003658NAME="AEN6912"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003659></A
3660><H3
3661><A
3662NAME="XMLFREEREFTABLE"
3663></A
3664>xmlFreeRefTable ()</H3
3665><TABLE
3666BORDER="0"
3667BGCOLOR="#D6E8FF"
3668WIDTH="100%"
3669CELLPADDING="6"
3670><TR
3671><TD
3672><PRE
3673CLASS="PROGRAMLISTING"
3674>void xmlFreeRefTable (<A
3675HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
3676>xmlRefTablePtr</A
3677> table);</PRE
3678></TD
3679></TR
3680></TABLE
3681><P
3682>Deallocate the memory used by an Ref hash table.</P
3683><P
3684></P
3685><DIV
3686CLASS="INFORMALTABLE"
3687><P
3688></P
3689><TABLE
3690BORDER="0"
3691WIDTH="100%"
3692BGCOLOR="#FFD0D0"
3693CELLSPACING="0"
3694CELLPADDING="4"
3695CLASS="CALSTABLE"
3696><TR
3697><TD
3698WIDTH="20%"
3699ALIGN="RIGHT"
3700VALIGN="TOP"
3701><TT
3702CLASS="PARAMETER"
3703><I
3704>table</I
3705></TT
3706>&nbsp;:</TD
3707><TD
3708WIDTH="80%"
3709ALIGN="LEFT"
3710VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003711>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003712></TR
3713></TABLE
3714><P
3715></P
3716></DIV
3717></DIV
3718><HR><DIV
3719CLASS="REFSECT2"
3720><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003721NAME="AEN6928"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003722></A
3723><H3
3724><A
3725NAME="XMLISREF"
3726></A
3727>xmlIsRef ()</H3
3728><TABLE
3729BORDER="0"
3730BGCOLOR="#D6E8FF"
3731WIDTH="100%"
3732CELLPADDING="6"
3733><TR
3734><TD
3735><PRE
3736CLASS="PROGRAMLISTING"
3737>int xmlIsRef (<A
3738HREF="gnome-xml-tree.html#XMLDOCPTR"
3739>xmlDocPtr</A
3740> doc,
3741 <A
3742HREF="gnome-xml-tree.html#XMLNODEPTR"
3743>xmlNodePtr</A
3744> elem,
3745 <A
3746HREF="gnome-xml-tree.html#XMLATTRPTR"
3747>xmlAttrPtr</A
3748> attr);</PRE
3749></TD
3750></TR
3751></TABLE
3752><P
3753>Determine whether an attribute is of type Ref. In case we have Dtd(s)
3754then this is simple, otherwise we use an heuristic: name Ref (upper
3755or lowercase).</P
3756><P
3757></P
3758><DIV
3759CLASS="INFORMALTABLE"
3760><P
3761></P
3762><TABLE
3763BORDER="0"
3764WIDTH="100%"
3765BGCOLOR="#FFD0D0"
3766CELLSPACING="0"
3767CELLPADDING="4"
3768CLASS="CALSTABLE"
3769><TR
3770><TD
3771WIDTH="20%"
3772ALIGN="RIGHT"
3773VALIGN="TOP"
3774><TT
3775CLASS="PARAMETER"
3776><I
3777>doc</I
3778></TT
3779>&nbsp;:</TD
3780><TD
3781WIDTH="80%"
3782ALIGN="LEFT"
3783VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003784>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003785></TR
3786><TR
3787><TD
3788WIDTH="20%"
3789ALIGN="RIGHT"
3790VALIGN="TOP"
3791><TT
3792CLASS="PARAMETER"
3793><I
3794>elem</I
3795></TT
3796>&nbsp;:</TD
3797><TD
3798WIDTH="80%"
3799ALIGN="LEFT"
3800VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003801>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003802></TR
3803><TR
3804><TD
3805WIDTH="20%"
3806ALIGN="RIGHT"
3807VALIGN="TOP"
3808><TT
3809CLASS="PARAMETER"
3810><I
3811>attr</I
3812></TT
3813>&nbsp;:</TD
3814><TD
3815WIDTH="80%"
3816ALIGN="LEFT"
3817VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003818>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003819></TR
3820><TR
3821><TD
3822WIDTH="20%"
3823ALIGN="RIGHT"
3824VALIGN="TOP"
3825><I
3826CLASS="EMPHASIS"
3827>Returns</I
3828> :</TD
3829><TD
3830WIDTH="80%"
3831ALIGN="LEFT"
3832VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003833>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003834></TR
3835></TABLE
3836><P
3837></P
3838></DIV
3839></DIV
3840><HR><DIV
3841CLASS="REFSECT2"
3842><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003843NAME="AEN6958"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003844></A
3845><H3
3846><A
3847NAME="XMLVALIDATEROOT"
3848></A
3849>xmlValidateRoot ()</H3
3850><TABLE
3851BORDER="0"
3852BGCOLOR="#D6E8FF"
3853WIDTH="100%"
3854CELLPADDING="6"
3855><TR
3856><TD
3857><PRE
3858CLASS="PROGRAMLISTING"
3859>int xmlValidateRoot (<GTKDOCLINK
3860HREF="XMLVALIDCTXTPTR"
3861>xmlValidCtxtPtr</GTKDOCLINK
3862> ctxt,
3863 <A
3864HREF="gnome-xml-tree.html#XMLDOCPTR"
3865>xmlDocPtr</A
3866> doc);</PRE
3867></TD
3868></TR
3869></TABLE
3870><P
3871>Try to validate a the root element
3872basically it does the following check as described by the
3873XML-1.0 recommendation:
3874- [ VC: Root Element Type ]
3875it doesn't try to recurse or apply other check to the element</P
3876><P
3877></P
3878><DIV
3879CLASS="INFORMALTABLE"
3880><P
3881></P
3882><TABLE
3883BORDER="0"
3884WIDTH="100%"
3885BGCOLOR="#FFD0D0"
3886CELLSPACING="0"
3887CELLPADDING="4"
3888CLASS="CALSTABLE"
3889><TR
3890><TD
3891WIDTH="20%"
3892ALIGN="RIGHT"
3893VALIGN="TOP"
3894><TT
3895CLASS="PARAMETER"
3896><I
3897>ctxt</I
3898></TT
3899>&nbsp;:</TD
3900><TD
3901WIDTH="80%"
3902ALIGN="LEFT"
3903VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003904>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003905></TR
3906><TR
3907><TD
3908WIDTH="20%"
3909ALIGN="RIGHT"
3910VALIGN="TOP"
3911><TT
3912CLASS="PARAMETER"
3913><I
3914>doc</I
3915></TT
3916>&nbsp;:</TD
3917><TD
3918WIDTH="80%"
3919ALIGN="LEFT"
3920VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003921>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003922></TR
3923><TR
3924><TD
3925WIDTH="20%"
3926ALIGN="RIGHT"
3927VALIGN="TOP"
3928><I
3929CLASS="EMPHASIS"
3930>Returns</I
3931> :</TD
3932><TD
3933WIDTH="80%"
3934ALIGN="LEFT"
3935VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003936>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003937></TR
3938></TABLE
3939><P
3940></P
3941></DIV
3942></DIV
3943><HR><DIV
3944CLASS="REFSECT2"
3945><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00003946NAME="AEN6983"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003947></A
3948><H3
3949><A
3950NAME="XMLVALIDATEELEMENTDECL"
3951></A
3952>xmlValidateElementDecl ()</H3
3953><TABLE
3954BORDER="0"
3955BGCOLOR="#D6E8FF"
3956WIDTH="100%"
3957CELLPADDING="6"
3958><TR
3959><TD
3960><PRE
3961CLASS="PROGRAMLISTING"
3962>int xmlValidateElementDecl (<GTKDOCLINK
3963HREF="XMLVALIDCTXTPTR"
3964>xmlValidCtxtPtr</GTKDOCLINK
3965> ctxt,
3966 <A
3967HREF="gnome-xml-tree.html#XMLDOCPTR"
3968>xmlDocPtr</A
3969> doc,
3970 <A
3971HREF="gnome-xml-tree.html#XMLELEMENTPTR"
3972>xmlElementPtr</A
3973> elem);</PRE
3974></TD
3975></TR
3976></TABLE
3977><P
3978>Try to validate a single element definition
3979basically it does the following checks as described by the
3980XML-1.0 recommendation:
3981- [ VC: One ID per Element Type ]
3982- [ VC: No Duplicate Types ]
3983- [ VC: Unique Element Type Declaration ]</P
3984><P
3985></P
3986><DIV
3987CLASS="INFORMALTABLE"
3988><P
3989></P
3990><TABLE
3991BORDER="0"
3992WIDTH="100%"
3993BGCOLOR="#FFD0D0"
3994CELLSPACING="0"
3995CELLPADDING="4"
3996CLASS="CALSTABLE"
3997><TR
3998><TD
3999WIDTH="20%"
4000ALIGN="RIGHT"
4001VALIGN="TOP"
4002><TT
4003CLASS="PARAMETER"
4004><I
4005>ctxt</I
4006></TT
4007>&nbsp;:</TD
4008><TD
4009WIDTH="80%"
4010ALIGN="LEFT"
4011VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004012>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004013></TR
4014><TR
4015><TD
4016WIDTH="20%"
4017ALIGN="RIGHT"
4018VALIGN="TOP"
4019><TT
4020CLASS="PARAMETER"
4021><I
4022>doc</I
4023></TT
4024>&nbsp;:</TD
4025><TD
4026WIDTH="80%"
4027ALIGN="LEFT"
4028VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004029>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004030></TR
4031><TR
4032><TD
4033WIDTH="20%"
4034ALIGN="RIGHT"
4035VALIGN="TOP"
4036><TT
4037CLASS="PARAMETER"
4038><I
4039>elem</I
4040></TT
4041>&nbsp;:</TD
4042><TD
4043WIDTH="80%"
4044ALIGN="LEFT"
4045VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004046>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004047></TR
4048><TR
4049><TD
4050WIDTH="20%"
4051ALIGN="RIGHT"
4052VALIGN="TOP"
4053><I
4054CLASS="EMPHASIS"
4055>Returns</I
4056> :</TD
4057><TD
4058WIDTH="80%"
4059ALIGN="LEFT"
4060VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004061>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004062></TR
4063></TABLE
4064><P
4065></P
4066></DIV
4067></DIV
4068><HR><DIV
4069CLASS="REFSECT2"
4070><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004071NAME="AEN7013"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004072></A
4073><H3
4074><A
4075NAME="XMLVALIDATEATTRIBUTEDECL"
4076></A
4077>xmlValidateAttributeDecl ()</H3
4078><TABLE
4079BORDER="0"
4080BGCOLOR="#D6E8FF"
4081WIDTH="100%"
4082CELLPADDING="6"
4083><TR
4084><TD
4085><PRE
4086CLASS="PROGRAMLISTING"
4087>int xmlValidateAttributeDecl (<GTKDOCLINK
4088HREF="XMLVALIDCTXTPTR"
4089>xmlValidCtxtPtr</GTKDOCLINK
4090> ctxt,
4091 <A
4092HREF="gnome-xml-tree.html#XMLDOCPTR"
4093>xmlDocPtr</A
4094> doc,
4095 <A
4096HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
4097>xmlAttributePtr</A
4098> attr);</PRE
4099></TD
4100></TR
4101></TABLE
4102><P
4103>Try to validate a single attribute definition
4104basically it does the following checks as described by the
4105XML-1.0 recommendation:
4106- [ VC: Attribute Default Legal ]
4107- [ VC: Enumeration ]
4108- [ VC: ID Attribute Default ]</P
4109><P
4110>The ID/IDREF uniqueness and matching are done separately</P
4111><P
4112></P
4113><DIV
4114CLASS="INFORMALTABLE"
4115><P
4116></P
4117><TABLE
4118BORDER="0"
4119WIDTH="100%"
4120BGCOLOR="#FFD0D0"
4121CELLSPACING="0"
4122CELLPADDING="4"
4123CLASS="CALSTABLE"
4124><TR
4125><TD
4126WIDTH="20%"
4127ALIGN="RIGHT"
4128VALIGN="TOP"
4129><TT
4130CLASS="PARAMETER"
4131><I
4132>ctxt</I
4133></TT
4134>&nbsp;:</TD
4135><TD
4136WIDTH="80%"
4137ALIGN="LEFT"
4138VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004139>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004140></TR
4141><TR
4142><TD
4143WIDTH="20%"
4144ALIGN="RIGHT"
4145VALIGN="TOP"
4146><TT
4147CLASS="PARAMETER"
4148><I
4149>doc</I
4150></TT
4151>&nbsp;:</TD
4152><TD
4153WIDTH="80%"
4154ALIGN="LEFT"
4155VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004156>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004157></TR
4158><TR
4159><TD
4160WIDTH="20%"
4161ALIGN="RIGHT"
4162VALIGN="TOP"
4163><TT
4164CLASS="PARAMETER"
4165><I
4166>attr</I
4167></TT
4168>&nbsp;:</TD
4169><TD
4170WIDTH="80%"
4171ALIGN="LEFT"
4172VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004173>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004174></TR
4175><TR
4176><TD
4177WIDTH="20%"
4178ALIGN="RIGHT"
4179VALIGN="TOP"
4180><I
4181CLASS="EMPHASIS"
4182>Returns</I
4183> :</TD
4184><TD
4185WIDTH="80%"
4186ALIGN="LEFT"
4187VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004188>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004189></TR
4190></TABLE
4191><P
4192></P
4193></DIV
4194></DIV
4195><HR><DIV
4196CLASS="REFSECT2"
4197><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004198NAME="AEN7044"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004199></A
4200><H3
4201><A
4202NAME="XMLVALIDATEATTRIBUTEVALUE"
4203></A
4204>xmlValidateAttributeValue ()</H3
4205><TABLE
4206BORDER="0"
4207BGCOLOR="#D6E8FF"
4208WIDTH="100%"
4209CELLPADDING="6"
4210><TR
4211><TD
4212><PRE
4213CLASS="PROGRAMLISTING"
4214>int xmlValidateAttributeValue (<A
4215HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
4216>xmlAttributeType</A
4217> type,
4218 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004219HREF="gnome-xml-tree.html#XMLCHAR"
4220>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004221> *value);</PRE
4222></TD
4223></TR
4224></TABLE
4225><P
4226>Validate that the given attribute value match the proper production</P
4227><P
4228>[ VC: ID ]
4229Values of type ID must match the Name production....</P
4230><P
4231>[ VC: IDREF ]
4232Values of type IDREF must match the Name production, and values
4233of type IDREFS must match Names ...</P
4234><P
4235>[ VC: Entity Name ]
4236Values of type ENTITY must match the Name production, values
4237of type ENTITIES must match Names ...</P
4238><P
4239>[ VC: Name Token ]
4240Values of type NMTOKEN must match the Nmtoken production; values
4241of type NMTOKENS must match Nmtokens.</P
4242><P
4243></P
4244><DIV
4245CLASS="INFORMALTABLE"
4246><P
4247></P
4248><TABLE
4249BORDER="0"
4250WIDTH="100%"
4251BGCOLOR="#FFD0D0"
4252CELLSPACING="0"
4253CELLPADDING="4"
4254CLASS="CALSTABLE"
4255><TR
4256><TD
4257WIDTH="20%"
4258ALIGN="RIGHT"
4259VALIGN="TOP"
4260><TT
4261CLASS="PARAMETER"
4262><I
4263>type</I
4264></TT
4265>&nbsp;:</TD
4266><TD
4267WIDTH="80%"
4268ALIGN="LEFT"
4269VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004270>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004271></TR
4272><TR
4273><TD
4274WIDTH="20%"
4275ALIGN="RIGHT"
4276VALIGN="TOP"
4277><TT
4278CLASS="PARAMETER"
4279><I
4280>value</I
4281></TT
4282>&nbsp;:</TD
4283><TD
4284WIDTH="80%"
4285ALIGN="LEFT"
4286VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004287>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004288></TR
4289><TR
4290><TD
4291WIDTH="20%"
4292ALIGN="RIGHT"
4293VALIGN="TOP"
4294><I
4295CLASS="EMPHASIS"
4296>Returns</I
4297> :</TD
4298><TD
4299WIDTH="80%"
4300ALIGN="LEFT"
4301VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004302>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004303></TR
4304></TABLE
4305><P
4306></P
4307></DIV
4308></DIV
4309><HR><DIV
4310CLASS="REFSECT2"
4311><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004312NAME="AEN7073"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004313></A
4314><H3
4315><A
4316NAME="XMLVALIDATENOTATIONDECL"
4317></A
4318>xmlValidateNotationDecl ()</H3
4319><TABLE
4320BORDER="0"
4321BGCOLOR="#D6E8FF"
4322WIDTH="100%"
4323CELLPADDING="6"
4324><TR
4325><TD
4326><PRE
4327CLASS="PROGRAMLISTING"
4328>int xmlValidateNotationDecl (<GTKDOCLINK
4329HREF="XMLVALIDCTXTPTR"
4330>xmlValidCtxtPtr</GTKDOCLINK
4331> ctxt,
4332 <A
4333HREF="gnome-xml-tree.html#XMLDOCPTR"
4334>xmlDocPtr</A
4335> doc,
4336 <A
4337HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
4338>xmlNotationPtr</A
4339> nota);</PRE
4340></TD
4341></TR
4342></TABLE
4343><P
4344>Try to validate a single notation definition
4345basically it does the following checks as described by the
4346XML-1.0 recommendation:
4347- it seems that no validity constraing exist on notation declarations
4348But this function get called anyway ...</P
4349><P
4350></P
4351><DIV
4352CLASS="INFORMALTABLE"
4353><P
4354></P
4355><TABLE
4356BORDER="0"
4357WIDTH="100%"
4358BGCOLOR="#FFD0D0"
4359CELLSPACING="0"
4360CELLPADDING="4"
4361CLASS="CALSTABLE"
4362><TR
4363><TD
4364WIDTH="20%"
4365ALIGN="RIGHT"
4366VALIGN="TOP"
4367><TT
4368CLASS="PARAMETER"
4369><I
4370>ctxt</I
4371></TT
4372>&nbsp;:</TD
4373><TD
4374WIDTH="80%"
4375ALIGN="LEFT"
4376VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004377>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004378></TR
4379><TR
4380><TD
4381WIDTH="20%"
4382ALIGN="RIGHT"
4383VALIGN="TOP"
4384><TT
4385CLASS="PARAMETER"
4386><I
4387>doc</I
4388></TT
4389>&nbsp;:</TD
4390><TD
4391WIDTH="80%"
4392ALIGN="LEFT"
4393VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004394>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004395></TR
4396><TR
4397><TD
4398WIDTH="20%"
4399ALIGN="RIGHT"
4400VALIGN="TOP"
4401><TT
4402CLASS="PARAMETER"
4403><I
4404>nota</I
4405></TT
4406>&nbsp;:</TD
4407><TD
4408WIDTH="80%"
4409ALIGN="LEFT"
4410VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004411>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004412></TR
4413><TR
4414><TD
4415WIDTH="20%"
4416ALIGN="RIGHT"
4417VALIGN="TOP"
4418><I
4419CLASS="EMPHASIS"
4420>Returns</I
4421> :</TD
4422><TD
4423WIDTH="80%"
4424ALIGN="LEFT"
4425VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004426>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004427></TR
4428></TABLE
4429><P
4430></P
4431></DIV
4432></DIV
4433><HR><DIV
4434CLASS="REFSECT2"
4435><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004436NAME="AEN7103"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004437></A
4438><H3
4439><A
4440NAME="XMLVALIDATEDTD"
4441></A
4442>xmlValidateDtd ()</H3
4443><TABLE
4444BORDER="0"
4445BGCOLOR="#D6E8FF"
4446WIDTH="100%"
4447CELLPADDING="6"
4448><TR
4449><TD
4450><PRE
4451CLASS="PROGRAMLISTING"
4452>int xmlValidateDtd (<GTKDOCLINK
4453HREF="XMLVALIDCTXTPTR"
4454>xmlValidCtxtPtr</GTKDOCLINK
4455> ctxt,
4456 <A
4457HREF="gnome-xml-tree.html#XMLDOCPTR"
4458>xmlDocPtr</A
4459> doc,
4460 <A
4461HREF="gnome-xml-tree.html#XMLDTDPTR"
4462>xmlDtdPtr</A
4463> dtd);</PRE
4464></TD
4465></TR
4466></TABLE
4467><P
Daniel Veillard944b5ff1999-12-15 19:08:24 +00004468>Try to validate the document against the dtd instance</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004469><P
4470>basically it does check all the definitions in the DtD.</P
4471><P
4472></P
4473><DIV
4474CLASS="INFORMALTABLE"
4475><P
4476></P
4477><TABLE
4478BORDER="0"
4479WIDTH="100%"
4480BGCOLOR="#FFD0D0"
4481CELLSPACING="0"
4482CELLPADDING="4"
4483CLASS="CALSTABLE"
4484><TR
4485><TD
4486WIDTH="20%"
4487ALIGN="RIGHT"
4488VALIGN="TOP"
4489><TT
4490CLASS="PARAMETER"
4491><I
4492>ctxt</I
4493></TT
4494>&nbsp;:</TD
4495><TD
4496WIDTH="80%"
4497ALIGN="LEFT"
4498VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004499>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004500></TR
4501><TR
4502><TD
4503WIDTH="20%"
4504ALIGN="RIGHT"
4505VALIGN="TOP"
4506><TT
4507CLASS="PARAMETER"
4508><I
4509>doc</I
4510></TT
4511>&nbsp;:</TD
4512><TD
4513WIDTH="80%"
4514ALIGN="LEFT"
4515VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004516>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004517></TR
4518><TR
4519><TD
4520WIDTH="20%"
4521ALIGN="RIGHT"
4522VALIGN="TOP"
4523><TT
4524CLASS="PARAMETER"
4525><I
4526>dtd</I
4527></TT
4528>&nbsp;:</TD
4529><TD
4530WIDTH="80%"
4531ALIGN="LEFT"
4532VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004533>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004534></TR
4535><TR
4536><TD
4537WIDTH="20%"
4538ALIGN="RIGHT"
4539VALIGN="TOP"
4540><I
4541CLASS="EMPHASIS"
4542>Returns</I
4543> :</TD
4544><TD
4545WIDTH="80%"
4546ALIGN="LEFT"
4547VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004548>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004549></TR
4550></TABLE
4551><P
4552></P
4553></DIV
4554></DIV
4555><HR><DIV
4556CLASS="REFSECT2"
4557><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004558NAME="AEN7134"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004559></A
4560><H3
4561><A
4562NAME="XMLVALIDATEDOCUMENT"
4563></A
4564>xmlValidateDocument ()</H3
4565><TABLE
4566BORDER="0"
4567BGCOLOR="#D6E8FF"
4568WIDTH="100%"
4569CELLPADDING="6"
4570><TR
4571><TD
4572><PRE
4573CLASS="PROGRAMLISTING"
4574>int xmlValidateDocument (<GTKDOCLINK
4575HREF="XMLVALIDCTXTPTR"
4576>xmlValidCtxtPtr</GTKDOCLINK
4577> ctxt,
4578 <A
4579HREF="gnome-xml-tree.html#XMLDOCPTR"
4580>xmlDocPtr</A
4581> doc);</PRE
4582></TD
4583></TR
4584></TABLE
4585><P
4586>Try to validate the document instance</P
4587><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004588>basically it does the all the checks described by the XML Rec
Daniel Veillardb05deb71999-08-10 19:04:08 +00004589i.e. validates the internal and external subset (if present)
4590and validate the document tree.</P
4591><P
4592></P
4593><DIV
4594CLASS="INFORMALTABLE"
4595><P
4596></P
4597><TABLE
4598BORDER="0"
4599WIDTH="100%"
4600BGCOLOR="#FFD0D0"
4601CELLSPACING="0"
4602CELLPADDING="4"
4603CLASS="CALSTABLE"
4604><TR
4605><TD
4606WIDTH="20%"
4607ALIGN="RIGHT"
4608VALIGN="TOP"
4609><TT
4610CLASS="PARAMETER"
4611><I
4612>ctxt</I
4613></TT
4614>&nbsp;:</TD
4615><TD
4616WIDTH="80%"
4617ALIGN="LEFT"
4618VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004619>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004620></TR
4621><TR
4622><TD
4623WIDTH="20%"
4624ALIGN="RIGHT"
4625VALIGN="TOP"
4626><TT
4627CLASS="PARAMETER"
4628><I
4629>doc</I
4630></TT
4631>&nbsp;:</TD
4632><TD
4633WIDTH="80%"
4634ALIGN="LEFT"
4635VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004636>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004637></TR
4638><TR
4639><TD
4640WIDTH="20%"
4641ALIGN="RIGHT"
4642VALIGN="TOP"
4643><I
4644CLASS="EMPHASIS"
4645>Returns</I
4646> :</TD
4647><TD
4648WIDTH="80%"
4649ALIGN="LEFT"
4650VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004651>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004652></TR
4653></TABLE
4654><P
4655></P
4656></DIV
4657></DIV
4658><HR><DIV
4659CLASS="REFSECT2"
4660><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004661NAME="AEN7160"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004662></A
4663><H3
4664><A
4665NAME="XMLVALIDATEELEMENT"
4666></A
4667>xmlValidateElement ()</H3
4668><TABLE
4669BORDER="0"
4670BGCOLOR="#D6E8FF"
4671WIDTH="100%"
4672CELLPADDING="6"
4673><TR
4674><TD
4675><PRE
4676CLASS="PROGRAMLISTING"
4677>int xmlValidateElement (<GTKDOCLINK
4678HREF="XMLVALIDCTXTPTR"
4679>xmlValidCtxtPtr</GTKDOCLINK
4680> ctxt,
4681 <A
4682HREF="gnome-xml-tree.html#XMLDOCPTR"
4683>xmlDocPtr</A
4684> doc,
4685 <A
4686HREF="gnome-xml-tree.html#XMLNODEPTR"
4687>xmlNodePtr</A
4688> elem);</PRE
4689></TD
4690></TR
4691></TABLE
4692><P
4693>Try to validate the subtree under an element</P
4694><P
4695></P
4696><DIV
4697CLASS="INFORMALTABLE"
4698><P
4699></P
4700><TABLE
4701BORDER="0"
4702WIDTH="100%"
4703BGCOLOR="#FFD0D0"
4704CELLSPACING="0"
4705CELLPADDING="4"
4706CLASS="CALSTABLE"
4707><TR
4708><TD
4709WIDTH="20%"
4710ALIGN="RIGHT"
4711VALIGN="TOP"
4712><TT
4713CLASS="PARAMETER"
4714><I
4715>ctxt</I
4716></TT
4717>&nbsp;:</TD
4718><TD
4719WIDTH="80%"
4720ALIGN="LEFT"
4721VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004722>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004723></TR
4724><TR
4725><TD
4726WIDTH="20%"
4727ALIGN="RIGHT"
4728VALIGN="TOP"
4729><TT
4730CLASS="PARAMETER"
4731><I
4732>doc</I
4733></TT
4734>&nbsp;:</TD
4735><TD
4736WIDTH="80%"
4737ALIGN="LEFT"
4738VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004739>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004740></TR
4741><TR
4742><TD
4743WIDTH="20%"
4744ALIGN="RIGHT"
4745VALIGN="TOP"
4746><TT
4747CLASS="PARAMETER"
4748><I
4749>elem</I
4750></TT
4751>&nbsp;:</TD
4752><TD
4753WIDTH="80%"
4754ALIGN="LEFT"
4755VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004756>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004757></TR
4758><TR
4759><TD
4760WIDTH="20%"
4761ALIGN="RIGHT"
4762VALIGN="TOP"
4763><I
4764CLASS="EMPHASIS"
4765>Returns</I
4766> :</TD
4767><TD
4768WIDTH="80%"
4769ALIGN="LEFT"
4770VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004771>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004772></TR
4773></TABLE
4774><P
4775></P
4776></DIV
4777></DIV
4778><HR><DIV
4779CLASS="REFSECT2"
4780><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004781NAME="AEN7190"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004782></A
4783><H3
4784><A
4785NAME="XMLVALIDATEONEELEMENT"
4786></A
4787>xmlValidateOneElement ()</H3
4788><TABLE
4789BORDER="0"
4790BGCOLOR="#D6E8FF"
4791WIDTH="100%"
4792CELLPADDING="6"
4793><TR
4794><TD
4795><PRE
4796CLASS="PROGRAMLISTING"
4797>int xmlValidateOneElement (<GTKDOCLINK
4798HREF="XMLVALIDCTXTPTR"
4799>xmlValidCtxtPtr</GTKDOCLINK
4800> ctxt,
4801 <A
4802HREF="gnome-xml-tree.html#XMLDOCPTR"
4803>xmlDocPtr</A
4804> doc,
4805 <A
4806HREF="gnome-xml-tree.html#XMLNODEPTR"
4807>xmlNodePtr</A
4808> elem);</PRE
4809></TD
4810></TR
4811></TABLE
4812><P
4813>Try to validate a single element and it's attributes,
4814basically it does the following checks as described by the
4815XML-1.0 recommendation:
4816- [ VC: Element Valid ]
4817- [ VC: Required Attribute ]
4818Then call <A
4819HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE"
4820>xmlValidateOneAttribute</A
4821>() for each attribute present.</P
4822><P
4823>The ID/IDREF checkings are done separately</P
4824><P
4825></P
4826><DIV
4827CLASS="INFORMALTABLE"
4828><P
4829></P
4830><TABLE
4831BORDER="0"
4832WIDTH="100%"
4833BGCOLOR="#FFD0D0"
4834CELLSPACING="0"
4835CELLPADDING="4"
4836CLASS="CALSTABLE"
4837><TR
4838><TD
4839WIDTH="20%"
4840ALIGN="RIGHT"
4841VALIGN="TOP"
4842><TT
4843CLASS="PARAMETER"
4844><I
4845>ctxt</I
4846></TT
4847>&nbsp;:</TD
4848><TD
4849WIDTH="80%"
4850ALIGN="LEFT"
4851VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004852>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004853></TR
4854><TR
4855><TD
4856WIDTH="20%"
4857ALIGN="RIGHT"
4858VALIGN="TOP"
4859><TT
4860CLASS="PARAMETER"
4861><I
4862>doc</I
4863></TT
4864>&nbsp;:</TD
4865><TD
4866WIDTH="80%"
4867ALIGN="LEFT"
4868VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004869>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004870></TR
4871><TR
4872><TD
4873WIDTH="20%"
4874ALIGN="RIGHT"
4875VALIGN="TOP"
4876><TT
4877CLASS="PARAMETER"
4878><I
4879>elem</I
4880></TT
4881>&nbsp;:</TD
4882><TD
4883WIDTH="80%"
4884ALIGN="LEFT"
4885VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004886>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004887></TR
4888><TR
4889><TD
4890WIDTH="20%"
4891ALIGN="RIGHT"
4892VALIGN="TOP"
4893><I
4894CLASS="EMPHASIS"
4895>Returns</I
4896> :</TD
4897><TD
4898WIDTH="80%"
4899ALIGN="LEFT"
4900VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004901>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004902></TR
4903></TABLE
4904><P
4905></P
4906></DIV
4907></DIV
4908><HR><DIV
4909CLASS="REFSECT2"
4910><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004911NAME="AEN7222"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004912></A
4913><H3
4914><A
4915NAME="XMLVALIDATEONEATTRIBUTE"
4916></A
4917>xmlValidateOneAttribute ()</H3
4918><TABLE
4919BORDER="0"
4920BGCOLOR="#D6E8FF"
4921WIDTH="100%"
4922CELLPADDING="6"
4923><TR
4924><TD
4925><PRE
4926CLASS="PROGRAMLISTING"
4927>int xmlValidateOneAttribute (<GTKDOCLINK
4928HREF="XMLVALIDCTXTPTR"
4929>xmlValidCtxtPtr</GTKDOCLINK
4930> ctxt,
4931 <A
4932HREF="gnome-xml-tree.html#XMLDOCPTR"
4933>xmlDocPtr</A
4934> doc,
4935 <A
4936HREF="gnome-xml-tree.html#XMLNODEPTR"
4937>xmlNodePtr</A
4938> elem,
4939 <A
4940HREF="gnome-xml-tree.html#XMLATTRPTR"
4941>xmlAttrPtr</A
4942> attr,
4943 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004944HREF="gnome-xml-tree.html#XMLCHAR"
4945>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004946> *value);</PRE
4947></TD
4948></TR
4949></TABLE
4950><P
4951>Try to validate a single attribute for an element
4952basically it * does the following checks as described by the
4953XML-1.0 recommendation:
4954- [ VC: Attribute Value Type ]
4955- [ VC: Fixed Attribute Default ]
4956- [ VC: Entity Name ]
4957- [ VC: Name Token ]
4958- [ VC: ID ]
4959- [ VC: IDREF ]
4960- [ VC: Entity Name ]
4961- [ VC: Notation Attributes ]</P
4962><P
4963>The ID/IDREF uniqueness and matching are done separately</P
4964><P
4965></P
4966><DIV
4967CLASS="INFORMALTABLE"
4968><P
4969></P
4970><TABLE
4971BORDER="0"
4972WIDTH="100%"
4973BGCOLOR="#FFD0D0"
4974CELLSPACING="0"
4975CELLPADDING="4"
4976CLASS="CALSTABLE"
4977><TR
4978><TD
4979WIDTH="20%"
4980ALIGN="RIGHT"
4981VALIGN="TOP"
4982><TT
4983CLASS="PARAMETER"
4984><I
4985>ctxt</I
4986></TT
4987>&nbsp;:</TD
4988><TD
4989WIDTH="80%"
4990ALIGN="LEFT"
4991VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00004992>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004993></TR
4994><TR
4995><TD
4996WIDTH="20%"
4997ALIGN="RIGHT"
4998VALIGN="TOP"
4999><TT
5000CLASS="PARAMETER"
5001><I
5002>doc</I
5003></TT
5004>&nbsp;:</TD
5005><TD
5006WIDTH="80%"
5007ALIGN="LEFT"
5008VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005009>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005010></TR
5011><TR
5012><TD
5013WIDTH="20%"
5014ALIGN="RIGHT"
5015VALIGN="TOP"
5016><TT
5017CLASS="PARAMETER"
5018><I
5019>elem</I
5020></TT
5021>&nbsp;:</TD
5022><TD
5023WIDTH="80%"
5024ALIGN="LEFT"
5025VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005026>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005027></TR
5028><TR
5029><TD
5030WIDTH="20%"
5031ALIGN="RIGHT"
5032VALIGN="TOP"
5033><TT
5034CLASS="PARAMETER"
5035><I
5036>attr</I
5037></TT
5038>&nbsp;:</TD
5039><TD
5040WIDTH="80%"
5041ALIGN="LEFT"
5042VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005043>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005044></TR
5045><TR
5046><TD
5047WIDTH="20%"
5048ALIGN="RIGHT"
5049VALIGN="TOP"
5050><TT
5051CLASS="PARAMETER"
5052><I
5053>value</I
5054></TT
5055>&nbsp;:</TD
5056><TD
5057WIDTH="80%"
5058ALIGN="LEFT"
5059VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005060>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005061></TR
5062><TR
5063><TD
5064WIDTH="20%"
5065ALIGN="RIGHT"
5066VALIGN="TOP"
5067><I
5068CLASS="EMPHASIS"
5069>Returns</I
5070> :</TD
5071><TD
5072WIDTH="80%"
5073ALIGN="LEFT"
5074VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005075>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005076></TR
5077></TABLE
5078><P
5079></P
5080></DIV
5081></DIV
5082><HR><DIV
5083CLASS="REFSECT2"
5084><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005085NAME="AEN7263"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005086></A
5087><H3
5088><A
5089NAME="XMLVALIDATEDOCUMENTFINAL"
5090></A
5091>xmlValidateDocumentFinal ()</H3
5092><TABLE
5093BORDER="0"
5094BGCOLOR="#D6E8FF"
5095WIDTH="100%"
5096CELLPADDING="6"
5097><TR
5098><TD
5099><PRE
5100CLASS="PROGRAMLISTING"
5101>int xmlValidateDocumentFinal (<GTKDOCLINK
5102HREF="XMLVALIDCTXTPTR"
5103>xmlValidCtxtPtr</GTKDOCLINK
5104> ctxt,
5105 <A
5106HREF="gnome-xml-tree.html#XMLDOCPTR"
5107>xmlDocPtr</A
5108> doc);</PRE
5109></TD
5110></TR
5111></TABLE
5112><P
5113>Does the final step for the document validation once all the
5114incremental validation steps have been completed</P
5115><P
5116>basically it does the following checks described by the XML Rec</P
5117><P
5118></P
5119><DIV
5120CLASS="INFORMALTABLE"
5121><P
5122></P
5123><TABLE
5124BORDER="0"
5125WIDTH="100%"
5126BGCOLOR="#FFD0D0"
5127CELLSPACING="0"
5128CELLPADDING="4"
5129CLASS="CALSTABLE"
5130><TR
5131><TD
5132WIDTH="20%"
5133ALIGN="RIGHT"
5134VALIGN="TOP"
5135><TT
5136CLASS="PARAMETER"
5137><I
5138>ctxt</I
5139></TT
5140>&nbsp;:</TD
5141><TD
5142WIDTH="80%"
5143ALIGN="LEFT"
5144VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005145>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005146></TR
5147><TR
5148><TD
5149WIDTH="20%"
5150ALIGN="RIGHT"
5151VALIGN="TOP"
5152><TT
5153CLASS="PARAMETER"
5154><I
5155>doc</I
5156></TT
5157>&nbsp;:</TD
5158><TD
5159WIDTH="80%"
5160ALIGN="LEFT"
5161VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005162>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005163></TR
5164><TR
5165><TD
5166WIDTH="20%"
5167ALIGN="RIGHT"
5168VALIGN="TOP"
5169><I
5170CLASS="EMPHASIS"
5171>Returns</I
5172> :</TD
5173><TD
5174WIDTH="80%"
5175ALIGN="LEFT"
5176VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005177>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005178></TR
5179></TABLE
5180><P
5181></P
5182></DIV
5183></DIV
5184><HR><DIV
5185CLASS="REFSECT2"
5186><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005187NAME="AEN7289"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005188></A
5189><H3
5190><A
5191NAME="XMLVALIDATENOTATIONUSE"
5192></A
5193>xmlValidateNotationUse ()</H3
5194><TABLE
5195BORDER="0"
5196BGCOLOR="#D6E8FF"
5197WIDTH="100%"
5198CELLPADDING="6"
5199><TR
5200><TD
5201><PRE
5202CLASS="PROGRAMLISTING"
5203>int xmlValidateNotationUse (<GTKDOCLINK
5204HREF="XMLVALIDCTXTPTR"
5205>xmlValidCtxtPtr</GTKDOCLINK
5206> ctxt,
5207 <A
5208HREF="gnome-xml-tree.html#XMLDOCPTR"
5209>xmlDocPtr</A
5210> doc,
5211 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005212HREF="gnome-xml-tree.html#XMLCHAR"
5213>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005214> *notationName);</PRE
5215></TD
5216></TR
5217></TABLE
5218><P
5219>Validate that the given mame match a notation declaration.
5220- [ VC: Notation Declared ]</P
5221><P
5222></P
5223><DIV
5224CLASS="INFORMALTABLE"
5225><P
5226></P
5227><TABLE
5228BORDER="0"
5229WIDTH="100%"
5230BGCOLOR="#FFD0D0"
5231CELLSPACING="0"
5232CELLPADDING="4"
5233CLASS="CALSTABLE"
5234><TR
5235><TD
5236WIDTH="20%"
5237ALIGN="RIGHT"
5238VALIGN="TOP"
5239><TT
5240CLASS="PARAMETER"
5241><I
5242>ctxt</I
5243></TT
5244>&nbsp;:</TD
5245><TD
5246WIDTH="80%"
5247ALIGN="LEFT"
5248VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005249>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005250></TR
5251><TR
5252><TD
5253WIDTH="20%"
5254ALIGN="RIGHT"
5255VALIGN="TOP"
5256><TT
5257CLASS="PARAMETER"
5258><I
5259>doc</I
5260></TT
5261>&nbsp;:</TD
5262><TD
5263WIDTH="80%"
5264ALIGN="LEFT"
5265VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005266>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005267></TR
5268><TR
5269><TD
5270WIDTH="20%"
5271ALIGN="RIGHT"
5272VALIGN="TOP"
5273><TT
5274CLASS="PARAMETER"
5275><I
5276>notationName</I
5277></TT
5278>&nbsp;:</TD
5279><TD
5280WIDTH="80%"
5281ALIGN="LEFT"
5282VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005283>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005284></TR
5285><TR
5286><TD
5287WIDTH="20%"
5288ALIGN="RIGHT"
5289VALIGN="TOP"
5290><I
5291CLASS="EMPHASIS"
5292>Returns</I
5293> :</TD
5294><TD
5295WIDTH="80%"
5296ALIGN="LEFT"
5297VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005298>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005299></TR
5300></TABLE
5301><P
5302></P
5303></DIV
5304></DIV
5305><HR><DIV
5306CLASS="REFSECT2"
5307><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005308NAME="AEN7319"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005309></A
5310><H3
5311><A
5312NAME="XMLISMIXEDELEMENT"
5313></A
5314>xmlIsMixedElement ()</H3
5315><TABLE
5316BORDER="0"
5317BGCOLOR="#D6E8FF"
5318WIDTH="100%"
5319CELLPADDING="6"
5320><TR
5321><TD
5322><PRE
5323CLASS="PROGRAMLISTING"
5324>int xmlIsMixedElement (<A
5325HREF="gnome-xml-tree.html#XMLDOCPTR"
5326>xmlDocPtr</A
5327> doc,
5328 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005329HREF="gnome-xml-tree.html#XMLCHAR"
5330>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005331> *name);</PRE
5332></TD
5333></TR
5334></TABLE
5335><P
5336>Search in the DtDs whether an element accept Mixed content (or ANY)
5337basically if it is supposed to accept text childs</P
5338><P
5339></P
5340><DIV
5341CLASS="INFORMALTABLE"
5342><P
5343></P
5344><TABLE
5345BORDER="0"
5346WIDTH="100%"
5347BGCOLOR="#FFD0D0"
5348CELLSPACING="0"
5349CELLPADDING="4"
5350CLASS="CALSTABLE"
5351><TR
5352><TD
5353WIDTH="20%"
5354ALIGN="RIGHT"
5355VALIGN="TOP"
5356><TT
5357CLASS="PARAMETER"
5358><I
5359>doc</I
5360></TT
5361>&nbsp;:</TD
5362><TD
5363WIDTH="80%"
5364ALIGN="LEFT"
5365VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005366>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005367></TR
5368><TR
5369><TD
5370WIDTH="20%"
5371ALIGN="RIGHT"
5372VALIGN="TOP"
5373><TT
5374CLASS="PARAMETER"
5375><I
5376>name</I
5377></TT
5378>&nbsp;:</TD
5379><TD
5380WIDTH="80%"
5381ALIGN="LEFT"
5382VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005383>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005384></TR
5385><TR
5386><TD
5387WIDTH="20%"
5388ALIGN="RIGHT"
5389VALIGN="TOP"
5390><I
5391CLASS="EMPHASIS"
5392>Returns</I
5393> :</TD
5394><TD
5395WIDTH="80%"
5396ALIGN="LEFT"
5397VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005398>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005399></TR
5400></TABLE
5401><P
5402></P
5403></DIV
5404></DIV
5405><HR><DIV
5406CLASS="REFSECT2"
5407><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005408NAME="AEN7344"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005409></A
5410><H3
5411><A
5412NAME="XMLGETDTDATTRDESC"
5413></A
5414>xmlGetDtdAttrDesc ()</H3
5415><TABLE
5416BORDER="0"
5417BGCOLOR="#D6E8FF"
5418WIDTH="100%"
5419CELLPADDING="6"
5420><TR
5421><TD
5422><PRE
5423CLASS="PROGRAMLISTING"
5424><A
5425HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
5426>xmlAttributePtr</A
5427> xmlGetDtdAttrDesc (<A
5428HREF="gnome-xml-tree.html#XMLDTDPTR"
5429>xmlDtdPtr</A
5430> dtd,
5431 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005432HREF="gnome-xml-tree.html#XMLCHAR"
5433>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005434> *elem,
5435 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005436HREF="gnome-xml-tree.html#XMLCHAR"
5437>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005438> *name);</PRE
5439></TD
5440></TR
5441></TABLE
5442><P
5443>Search the Dtd for the description of this attribute on
5444this element.</P
5445><P
5446></P
5447><DIV
5448CLASS="INFORMALTABLE"
5449><P
5450></P
5451><TABLE
5452BORDER="0"
5453WIDTH="100%"
5454BGCOLOR="#FFD0D0"
5455CELLSPACING="0"
5456CELLPADDING="4"
5457CLASS="CALSTABLE"
5458><TR
5459><TD
5460WIDTH="20%"
5461ALIGN="RIGHT"
5462VALIGN="TOP"
5463><TT
5464CLASS="PARAMETER"
5465><I
5466>dtd</I
5467></TT
5468>&nbsp;:</TD
5469><TD
5470WIDTH="80%"
5471ALIGN="LEFT"
5472VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005473>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005474></TR
5475><TR
5476><TD
5477WIDTH="20%"
5478ALIGN="RIGHT"
5479VALIGN="TOP"
5480><TT
5481CLASS="PARAMETER"
5482><I
5483>elem</I
5484></TT
5485>&nbsp;:</TD
5486><TD
5487WIDTH="80%"
5488ALIGN="LEFT"
5489VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005490>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005491></TR
5492><TR
5493><TD
5494WIDTH="20%"
5495ALIGN="RIGHT"
5496VALIGN="TOP"
5497><TT
5498CLASS="PARAMETER"
5499><I
5500>name</I
5501></TT
5502>&nbsp;:</TD
5503><TD
5504WIDTH="80%"
5505ALIGN="LEFT"
5506VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005507>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005508></TR
5509><TR
5510><TD
5511WIDTH="20%"
5512ALIGN="RIGHT"
5513VALIGN="TOP"
5514><I
5515CLASS="EMPHASIS"
5516>Returns</I
5517> :</TD
5518><TD
5519WIDTH="80%"
5520ALIGN="LEFT"
5521VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005522>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005523></TR
5524></TABLE
5525><P
5526></P
5527></DIV
5528></DIV
5529><HR><DIV
5530CLASS="REFSECT2"
5531><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005532NAME="AEN7375"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005533></A
5534><H3
5535><A
5536NAME="XMLGETDTDNOTATIONDESC"
5537></A
5538>xmlGetDtdNotationDesc ()</H3
5539><TABLE
5540BORDER="0"
5541BGCOLOR="#D6E8FF"
5542WIDTH="100%"
5543CELLPADDING="6"
5544><TR
5545><TD
5546><PRE
5547CLASS="PROGRAMLISTING"
5548><A
5549HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
5550>xmlNotationPtr</A
5551> xmlGetDtdNotationDesc (<A
5552HREF="gnome-xml-tree.html#XMLDTDPTR"
5553>xmlDtdPtr</A
5554> dtd,
5555 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005556HREF="gnome-xml-tree.html#XMLCHAR"
5557>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005558> *name);</PRE
5559></TD
5560></TR
5561></TABLE
5562><P
5563>Search the Dtd for the description of this notation</P
5564><P
5565></P
5566><DIV
5567CLASS="INFORMALTABLE"
5568><P
5569></P
5570><TABLE
5571BORDER="0"
5572WIDTH="100%"
5573BGCOLOR="#FFD0D0"
5574CELLSPACING="0"
5575CELLPADDING="4"
5576CLASS="CALSTABLE"
5577><TR
5578><TD
5579WIDTH="20%"
5580ALIGN="RIGHT"
5581VALIGN="TOP"
5582><TT
5583CLASS="PARAMETER"
5584><I
5585>dtd</I
5586></TT
5587>&nbsp;:</TD
5588><TD
5589WIDTH="80%"
5590ALIGN="LEFT"
5591VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005592>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005593></TR
5594><TR
5595><TD
5596WIDTH="20%"
5597ALIGN="RIGHT"
5598VALIGN="TOP"
5599><TT
5600CLASS="PARAMETER"
5601><I
5602>name</I
5603></TT
5604>&nbsp;:</TD
5605><TD
5606WIDTH="80%"
5607ALIGN="LEFT"
5608VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005609>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005610></TR
5611><TR
5612><TD
5613WIDTH="20%"
5614ALIGN="RIGHT"
5615VALIGN="TOP"
5616><I
5617CLASS="EMPHASIS"
5618>Returns</I
5619> :</TD
5620><TD
5621WIDTH="80%"
5622ALIGN="LEFT"
5623VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005624>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005625></TR
5626></TABLE
5627><P
5628></P
5629></DIV
5630></DIV
5631><HR><DIV
5632CLASS="REFSECT2"
5633><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005634NAME="AEN7401"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005635></A
5636><H3
5637><A
5638NAME="XMLGETDTDELEMENTDESC"
5639></A
5640>xmlGetDtdElementDesc ()</H3
5641><TABLE
5642BORDER="0"
5643BGCOLOR="#D6E8FF"
5644WIDTH="100%"
5645CELLPADDING="6"
5646><TR
5647><TD
5648><PRE
5649CLASS="PROGRAMLISTING"
5650><A
5651HREF="gnome-xml-tree.html#XMLELEMENTPTR"
5652>xmlElementPtr</A
5653> xmlGetDtdElementDesc (<A
5654HREF="gnome-xml-tree.html#XMLDTDPTR"
5655>xmlDtdPtr</A
5656> dtd,
5657 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005658HREF="gnome-xml-tree.html#XMLCHAR"
5659>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005660> *name);</PRE
5661></TD
5662></TR
5663></TABLE
5664><P
5665>Search the Dtd for the description of this element</P
5666><P
5667></P
5668><DIV
5669CLASS="INFORMALTABLE"
5670><P
5671></P
5672><TABLE
5673BORDER="0"
5674WIDTH="100%"
5675BGCOLOR="#FFD0D0"
5676CELLSPACING="0"
5677CELLPADDING="4"
5678CLASS="CALSTABLE"
5679><TR
5680><TD
5681WIDTH="20%"
5682ALIGN="RIGHT"
5683VALIGN="TOP"
5684><TT
5685CLASS="PARAMETER"
5686><I
5687>dtd</I
5688></TT
5689>&nbsp;:</TD
5690><TD
5691WIDTH="80%"
5692ALIGN="LEFT"
5693VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005694>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005695></TR
5696><TR
5697><TD
5698WIDTH="20%"
5699ALIGN="RIGHT"
5700VALIGN="TOP"
5701><TT
5702CLASS="PARAMETER"
5703><I
5704>name</I
5705></TT
5706>&nbsp;:</TD
5707><TD
5708WIDTH="80%"
5709ALIGN="LEFT"
5710VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005711>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005712></TR
5713><TR
5714><TD
5715WIDTH="20%"
5716ALIGN="RIGHT"
5717VALIGN="TOP"
5718><I
5719CLASS="EMPHASIS"
5720>Returns</I
5721> :</TD
5722><TD
5723WIDTH="80%"
5724ALIGN="LEFT"
5725VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005726>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00005727></TR
5728></TABLE
5729><P
5730></P
5731></DIV
5732></DIV
5733><HR><DIV
5734CLASS="REFSECT2"
5735><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005736NAME="AEN7427"
Daniel Veillard35008381999-10-25 13:15:52 +00005737></A
5738><H3
5739><A
5740NAME="XMLVALIDGETVALIDELEMENTS"
5741></A
5742>xmlValidGetValidElements ()</H3
5743><TABLE
5744BORDER="0"
5745BGCOLOR="#D6E8FF"
5746WIDTH="100%"
5747CELLPADDING="6"
5748><TR
5749><TD
5750><PRE
5751CLASS="PROGRAMLISTING"
5752>int xmlValidGetValidElements (<A
5753HREF="gnome-xml-tree.html#XMLNODE"
5754>xmlNode</A
5755> *prev,
5756 <A
5757HREF="gnome-xml-tree.html#XMLNODE"
5758>xmlNode</A
5759> *next,
5760 const <A
5761HREF="gnome-xml-tree.html#XMLCHAR"
5762>xmlChar</A
5763> **list,
5764 int max);</PRE
5765></TD
5766></TR
5767></TABLE
5768><P
5769>This function returns the list of authorized children to insert
5770within an existing tree while respecting the validity constraints
5771forced by the Dtd. The insertion point is defined using <TT
5772CLASS="PARAMETER"
5773><I
5774>prev</I
5775></TT
5776> and
5777<TT
5778CLASS="PARAMETER"
5779><I
5780>next</I
5781></TT
5782> in the following ways:
5783to insert before 'node': xmlValidGetValidElements(node-&gt;prev, node, ...
5784to insert next 'node': xmlValidGetValidElements(node, node-&gt;next, ...
5785to replace 'node': xmlValidGetValidElements(node-&gt;prev, node-&gt;next, ...
5786to prepend a child to 'node': xmlValidGetValidElements(NULL, node-&gt;childs,
5787to append a child to 'node': xmlValidGetValidElements(node-&gt;last, NULL, ...</P
5788><P
5789>pointers to the element names are inserted at the beginning of the array
5790and do not need to be freed.</P
5791><P
5792></P
5793><DIV
5794CLASS="INFORMALTABLE"
5795><P
5796></P
5797><TABLE
5798BORDER="0"
5799WIDTH="100%"
5800BGCOLOR="#FFD0D0"
5801CELLSPACING="0"
5802CELLPADDING="4"
5803CLASS="CALSTABLE"
5804><TR
5805><TD
5806WIDTH="20%"
5807ALIGN="RIGHT"
5808VALIGN="TOP"
5809><TT
5810CLASS="PARAMETER"
5811><I
5812>prev</I
5813></TT
5814>&nbsp;:</TD
5815><TD
5816WIDTH="80%"
5817ALIGN="LEFT"
5818VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005819>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00005820></TR
5821><TR
5822><TD
5823WIDTH="20%"
5824ALIGN="RIGHT"
5825VALIGN="TOP"
5826><TT
5827CLASS="PARAMETER"
5828><I
5829>next</I
5830></TT
5831>&nbsp;:</TD
5832><TD
5833WIDTH="80%"
5834ALIGN="LEFT"
5835VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005836>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00005837></TR
5838><TR
5839><TD
5840WIDTH="20%"
5841ALIGN="RIGHT"
5842VALIGN="TOP"
5843><TT
5844CLASS="PARAMETER"
5845><I
5846>list</I
5847></TT
5848>&nbsp;:</TD
5849><TD
5850WIDTH="80%"
5851ALIGN="LEFT"
5852VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005853>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00005854></TR
5855><TR
5856><TD
5857WIDTH="20%"
5858ALIGN="RIGHT"
5859VALIGN="TOP"
5860><TT
5861CLASS="PARAMETER"
5862><I
5863>max</I
5864></TT
5865>&nbsp;:</TD
5866><TD
5867WIDTH="80%"
5868ALIGN="LEFT"
5869VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005870>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00005871></TR
5872><TR
5873><TD
5874WIDTH="20%"
5875ALIGN="RIGHT"
5876VALIGN="TOP"
5877><I
5878CLASS="EMPHASIS"
5879>Returns</I
5880> :</TD
5881><TD
5882WIDTH="80%"
5883ALIGN="LEFT"
5884VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005885>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00005886></TR
5887></TABLE
5888><P
5889></P
5890></DIV
5891></DIV
5892><HR><DIV
5893CLASS="REFSECT2"
5894><A
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005895NAME="AEN7464"
Daniel Veillard35008381999-10-25 13:15:52 +00005896></A
5897><H3
5898><A
5899NAME="XMLVALIDGETPOTENTIALCHILDREN"
5900></A
5901>xmlValidGetPotentialChildren ()</H3
5902><TABLE
5903BORDER="0"
5904BGCOLOR="#D6E8FF"
5905WIDTH="100%"
5906CELLPADDING="6"
5907><TR
5908><TD
5909><PRE
5910CLASS="PROGRAMLISTING"
5911>int xmlValidGetPotentialChildren (<GTKDOCLINK
5912HREF="XMLELEMENTCONTENT"
5913>xmlElementContent</GTKDOCLINK
5914> *ctree,
5915 const <A
5916HREF="gnome-xml-tree.html#XMLCHAR"
5917>xmlChar</A
5918> **list,
5919 int *len,
5920 int max);</PRE
5921></TD
5922></TR
5923></TABLE
5924><P
5925>Build/extend a list of potential children allowed by the content tree</P
5926><P
5927></P
5928><DIV
5929CLASS="INFORMALTABLE"
5930><P
5931></P
5932><TABLE
5933BORDER="0"
5934WIDTH="100%"
5935BGCOLOR="#FFD0D0"
5936CELLSPACING="0"
5937CELLPADDING="4"
5938CLASS="CALSTABLE"
5939><TR
5940><TD
5941WIDTH="20%"
5942ALIGN="RIGHT"
5943VALIGN="TOP"
5944><TT
5945CLASS="PARAMETER"
5946><I
5947>ctree</I
5948></TT
5949>&nbsp;:</TD
5950><TD
5951WIDTH="80%"
5952ALIGN="LEFT"
5953VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005954>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00005955></TR
5956><TR
5957><TD
5958WIDTH="20%"
5959ALIGN="RIGHT"
5960VALIGN="TOP"
5961><TT
5962CLASS="PARAMETER"
5963><I
5964>list</I
5965></TT
5966>&nbsp;:</TD
5967><TD
5968WIDTH="80%"
5969ALIGN="LEFT"
5970VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005971>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00005972></TR
5973><TR
5974><TD
5975WIDTH="20%"
5976ALIGN="RIGHT"
5977VALIGN="TOP"
5978><TT
5979CLASS="PARAMETER"
5980><I
5981>len</I
5982></TT
5983>&nbsp;:</TD
5984><TD
5985WIDTH="80%"
5986ALIGN="LEFT"
5987VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00005988>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00005989></TR
5990><TR
5991><TD
5992WIDTH="20%"
5993ALIGN="RIGHT"
5994VALIGN="TOP"
5995><TT
5996CLASS="PARAMETER"
5997><I
5998>max</I
5999></TT
6000>&nbsp;:</TD
6001><TD
6002WIDTH="80%"
6003ALIGN="LEFT"
6004VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00006005>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00006006></TR
6007><TR
6008><TD
6009WIDTH="20%"
6010ALIGN="RIGHT"
6011VALIGN="TOP"
6012><I
6013CLASS="EMPHASIS"
6014>Returns</I
6015> :</TD
6016><TD
6017WIDTH="80%"
6018ALIGN="LEFT"
6019VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00006020>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006021></TR
6022></TABLE
6023><P
6024></P
6025></DIV
6026></DIV
6027></DIV
6028><DIV
6029CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00006030><BR
6031CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00006032WIDTH="100%"
6033BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006034BGCOLOR="#000000"
6035CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00006036CELLSPACING="0"
6037><TR
6038><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006039WIDTH="25%"
6040BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00006041ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00006042><A
6043HREF="gnome-xml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00006044><FONT
6045COLOR="#FFFFFF"
6046SIZE="3"
6047><B
6048>&#60;&#60;&#60; Previous Page</B
6049></FONT
6050></A
Daniel Veillard35925471999-02-25 08:46:07 +00006051></TD
6052><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006053WIDTH="25%"
6054BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00006055ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00006056><FONT
6057COLOR="#FFFFFF"
6058SIZE="3"
6059><B
Daniel Veillard35925471999-02-25 08:46:07 +00006060><A
6061HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00006062><FONT
6063COLOR="#FFFFFF"
6064SIZE="3"
6065><B
6066>Home</B
6067></FONT
6068></A
6069></B
6070></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00006071></TD
6072><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006073WIDTH="25%"
6074BGCOLOR="#00C000"
6075ALIGN="center"
6076><FONT
6077COLOR="#FFFFFF"
6078SIZE="3"
6079><B
6080><A
Daniel Veillard35008381999-10-25 13:15:52 +00006081HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00006082><FONT
6083COLOR="#FFFFFF"
6084SIZE="3"
6085><B
6086>Up</B
6087></FONT
6088></A
6089></B
6090></FONT
6091></TD
6092><TD
6093WIDTH="25%"
6094BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00006095ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00006096><A
Daniel Veillardd109e371999-03-05 06:26:45 +00006097HREF="gnome-xml-xml-error.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00006098><FONT
6099COLOR="#FFFFFF"
6100SIZE="3"
6101><B
6102>Next Page &#62;&#62;&#62;</B
6103></FONT
6104></A
Daniel Veillard35925471999-02-25 08:46:07 +00006105></TD
6106></TR
6107><TR
6108><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006109COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00006110ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00006111><FONT
6112COLOR="#FFFFFF"
6113SIZE="3"
6114><B
6115>entities</B
6116></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00006117></TD
6118><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006119COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00006120ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00006121><FONT
6122COLOR="#FFFFFF"
6123SIZE="3"
6124><B
6125>xml-error</B
6126></FONT
6127></TD
Daniel Veillard35925471999-02-25 08:46:07 +00006128></TR
6129></TABLE
6130></DIV
6131></BODY
6132></HTML
6133>