blob: 75ef4cea193e5abc3faf4d7150a579c48dd209ef [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 Veillard35008381999-10-25 13:15:52 +0000118NAME="AEN4659"
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 Veillard35008381999-10-25 13:15:52 +0000126NAME="AEN4662"
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
297HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
298>xmlElementContentType</A
299> 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 Veillard35008381999-10-25 13:15:52 +0000812NAME="AEN4845"
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 Veillard35008381999-10-25 13:15:52 +0000822NAME="AEN4848"
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 Veillard35008381999-10-25 13:15:52 +0000829NAME="AEN4850"
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 Veillard35008381999-10-25 13:15:52 +0000923NAME="AEN4872"
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 Veillard35008381999-10-25 13:15:52 +00001017NAME="AEN4894"
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 Veillard35008381999-10-25 13:15:52 +00001033>#define XML_MIN_NOTATION_TABLE 32</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 Veillard35008381999-10-25 13:15:52 +00001043NAME="AEN4899"
Daniel Veillard35925471999-02-25 08:46:07 +00001044></A
1045><H3
1046><A
1047NAME="XMLNOTATIONTABLEPTR"
1048></A
1049>xmlNotationTablePtr</H3
Daniel Veillard35008381999-10-25 13:15:52 +00001050><TABLE
1051BORDER="0"
1052BGCOLOR="#D6E8FF"
1053WIDTH="100%"
1054CELLPADDING="6"
1055><TR
1056><TD
1057><PRE
1058CLASS="PROGRAMLISTING"
1059>typedef xmlNotationTable *xmlNotationTablePtr;</PRE
1060></TD
1061></TR
1062></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001063><P
1064></P
1065></DIV
1066><HR><DIV
1067CLASS="REFSECT2"
1068><A
Daniel Veillard35008381999-10-25 13:15:52 +00001069NAME="AEN4904"
Daniel Veillard35925471999-02-25 08:46:07 +00001070></A
1071><H3
1072><A
1073NAME="XML-MIN-ELEMENT-TABLE"
1074></A
1075>XML_MIN_ELEMENT_TABLE</H3
1076><TABLE
1077BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001078BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001079WIDTH="100%"
1080CELLPADDING="6"
1081><TR
1082><TD
1083><PRE
1084CLASS="PROGRAMLISTING"
Daniel Veillard35008381999-10-25 13:15:52 +00001085>#define XML_MIN_ELEMENT_TABLE 32</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001086></TD
1087></TR
1088></TABLE
1089><P
1090></P
1091></DIV
1092><HR><DIV
1093CLASS="REFSECT2"
1094><A
Daniel Veillard35008381999-10-25 13:15:52 +00001095NAME="AEN4909"
Daniel Veillard35925471999-02-25 08:46:07 +00001096></A
1097><H3
1098><A
1099NAME="XMLELEMENTTABLEPTR"
1100></A
1101>xmlElementTablePtr</H3
Daniel Veillard35008381999-10-25 13:15:52 +00001102><TABLE
1103BORDER="0"
1104BGCOLOR="#D6E8FF"
1105WIDTH="100%"
1106CELLPADDING="6"
1107><TR
1108><TD
1109><PRE
1110CLASS="PROGRAMLISTING"
1111>typedef xmlElementTable *xmlElementTablePtr;</PRE
1112></TD
1113></TR
1114></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001115><P
1116></P
1117></DIV
1118><HR><DIV
1119CLASS="REFSECT2"
1120><A
Daniel Veillard35008381999-10-25 13:15:52 +00001121NAME="AEN4914"
Daniel Veillard35925471999-02-25 08:46:07 +00001122></A
1123><H3
1124><A
1125NAME="XML-MIN-ATTRIBUTE-TABLE"
1126></A
1127>XML_MIN_ATTRIBUTE_TABLE</H3
1128><TABLE
1129BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001130BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001131WIDTH="100%"
1132CELLPADDING="6"
1133><TR
1134><TD
1135><PRE
1136CLASS="PROGRAMLISTING"
Daniel Veillard35008381999-10-25 13:15:52 +00001137>#define XML_MIN_ATTRIBUTE_TABLE 32</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001138></TD
1139></TR
1140></TABLE
1141><P
1142></P
1143></DIV
1144><HR><DIV
1145CLASS="REFSECT2"
1146><A
Daniel Veillard35008381999-10-25 13:15:52 +00001147NAME="AEN4919"
Daniel Veillard35925471999-02-25 08:46:07 +00001148></A
1149><H3
1150><A
1151NAME="XMLATTRIBUTETABLEPTR"
1152></A
1153>xmlAttributeTablePtr</H3
Daniel Veillard35008381999-10-25 13:15:52 +00001154><TABLE
1155BORDER="0"
1156BGCOLOR="#D6E8FF"
1157WIDTH="100%"
1158CELLPADDING="6"
1159><TR
1160><TD
1161><PRE
1162CLASS="PROGRAMLISTING"
1163>typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE
1164></TD
1165></TR
1166></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001167><P
1168></P
1169></DIV
1170><HR><DIV
1171CLASS="REFSECT2"
1172><A
Daniel Veillard35008381999-10-25 13:15:52 +00001173NAME="AEN4924"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001174></A
1175><H3
1176><A
1177NAME="XML-MIN-ID-TABLE"
1178></A
1179>XML_MIN_ID_TABLE</H3
1180><TABLE
1181BORDER="0"
1182BGCOLOR="#D6E8FF"
1183WIDTH="100%"
1184CELLPADDING="6"
1185><TR
1186><TD
1187><PRE
1188CLASS="PROGRAMLISTING"
Daniel Veillard35008381999-10-25 13:15:52 +00001189>#define XML_MIN_ID_TABLE 32</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 Veillard35008381999-10-25 13:15:52 +00001199NAME="AEN4929"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001200></A
1201><H3
1202><A
1203NAME="XMLIDTABLEPTR"
1204></A
1205>xmlIDTablePtr</H3
Daniel Veillard35008381999-10-25 13:15:52 +00001206><TABLE
1207BORDER="0"
1208BGCOLOR="#D6E8FF"
1209WIDTH="100%"
1210CELLPADDING="6"
1211><TR
1212><TD
1213><PRE
1214CLASS="PROGRAMLISTING"
1215>typedef xmlIDTable *xmlIDTablePtr;</PRE
1216></TD
1217></TR
1218></TABLE
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001219><P
1220></P
1221></DIV
1222><HR><DIV
1223CLASS="REFSECT2"
1224><A
Daniel Veillard35008381999-10-25 13:15:52 +00001225NAME="AEN4934"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001226></A
1227><H3
1228><A
1229NAME="XML-MIN-REF-TABLE"
1230></A
1231>XML_MIN_REF_TABLE</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001232><TABLE
1233BORDER="0"
1234BGCOLOR="#D6E8FF"
1235WIDTH="100%"
1236CELLPADDING="6"
1237><TR
1238><TD
1239><PRE
1240CLASS="PROGRAMLISTING"
Daniel Veillard35008381999-10-25 13:15:52 +00001241>#define XML_MIN_REF_TABLE 32</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001242></TD
1243></TR
1244></TABLE
1245><P
1246></P
1247></DIV
1248><HR><DIV
1249CLASS="REFSECT2"
1250><A
Daniel Veillard35008381999-10-25 13:15:52 +00001251NAME="AEN4939"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001252></A
1253><H3
1254><A
1255NAME="XMLREFTABLEPTR"
1256></A
1257>xmlRefTablePtr</H3
Daniel Veillard35008381999-10-25 13:15:52 +00001258><TABLE
1259BORDER="0"
1260BGCOLOR="#D6E8FF"
1261WIDTH="100%"
1262CELLPADDING="6"
1263><TR
1264><TD
1265><PRE
1266CLASS="PROGRAMLISTING"
1267>typedef xmlRefTable *xmlRefTablePtr;</PRE
1268></TD
1269></TR
1270></TABLE
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001271><P
1272></P
1273></DIV
1274><HR><DIV
1275CLASS="REFSECT2"
1276><A
Daniel Veillard35008381999-10-25 13:15:52 +00001277NAME="AEN4944"
Daniel Veillard35925471999-02-25 08:46:07 +00001278></A
1279><H3
1280><A
1281NAME="XMLADDNOTATIONDECL"
1282></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001283>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001284><TABLE
1285BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001286BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001287WIDTH="100%"
1288CELLPADDING="6"
1289><TR
1290><TD
1291><PRE
1292CLASS="PROGRAMLISTING"
1293><A
1294HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
1295>xmlNotationPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001296> xmlAddNotationDecl (<GTKDOCLINK
1297HREF="XMLVALIDCTXTPTR"
1298>xmlValidCtxtPtr</GTKDOCLINK
1299> ctxt,
1300 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001301HREF="gnome-xml-tree.html#XMLDTDPTR"
1302>xmlDtdPtr</A
1303> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001304 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001305HREF="gnome-xml-tree.html#XMLCHAR"
1306>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001307> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001308 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001309HREF="gnome-xml-tree.html#XMLCHAR"
1310>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001311> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001312 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001313HREF="gnome-xml-tree.html#XMLCHAR"
1314>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001315> *SystemID);</PRE
1316></TD
1317></TR
1318></TABLE
1319><P
1320>Register a new notation declaration</P
1321><P
1322></P
1323><DIV
1324CLASS="INFORMALTABLE"
1325><P
1326></P
1327><TABLE
1328BORDER="0"
1329WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001330BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001331CELLSPACING="0"
1332CELLPADDING="4"
1333CLASS="CALSTABLE"
1334><TR
1335><TD
1336WIDTH="20%"
1337ALIGN="RIGHT"
1338VALIGN="TOP"
1339><TT
1340CLASS="PARAMETER"
1341><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001342>ctxt</I
1343></TT
1344>&nbsp;:</TD
1345><TD
1346WIDTH="80%"
1347ALIGN="LEFT"
1348VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001349> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001350></TR
1351><TR
1352><TD
1353WIDTH="20%"
1354ALIGN="RIGHT"
1355VALIGN="TOP"
1356><TT
1357CLASS="PARAMETER"
1358><I
Daniel Veillard35925471999-02-25 08:46:07 +00001359>dtd</I
1360></TT
1361>&nbsp;:</TD
1362><TD
1363WIDTH="80%"
1364ALIGN="LEFT"
1365VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001366> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001367></TR
1368><TR
1369><TD
1370WIDTH="20%"
1371ALIGN="RIGHT"
1372VALIGN="TOP"
1373><TT
1374CLASS="PARAMETER"
1375><I
1376>name</I
1377></TT
1378>&nbsp;:</TD
1379><TD
1380WIDTH="80%"
1381ALIGN="LEFT"
1382VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001383> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001384></TR
1385><TR
1386><TD
1387WIDTH="20%"
1388ALIGN="RIGHT"
1389VALIGN="TOP"
1390><TT
1391CLASS="PARAMETER"
1392><I
1393>PublicID</I
1394></TT
1395>&nbsp;:</TD
1396><TD
1397WIDTH="80%"
1398ALIGN="LEFT"
1399VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001400> the public identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001401></TR
1402><TR
1403><TD
1404WIDTH="20%"
1405ALIGN="RIGHT"
1406VALIGN="TOP"
1407><TT
1408CLASS="PARAMETER"
1409><I
1410>SystemID</I
1411></TT
1412>&nbsp;:</TD
1413><TD
1414WIDTH="80%"
1415ALIGN="LEFT"
1416VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001417> the system identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001418></TR
1419><TR
1420><TD
1421WIDTH="20%"
1422ALIGN="RIGHT"
1423VALIGN="TOP"
1424><I
1425CLASS="EMPHASIS"
1426>Returns</I
1427> :</TD
1428><TD
1429WIDTH="80%"
1430ALIGN="LEFT"
1431VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001432>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001433></TR
1434></TABLE
1435><P
1436></P
1437></DIV
1438></DIV
1439><HR><DIV
1440CLASS="REFSECT2"
1441><A
Daniel Veillard35008381999-10-25 13:15:52 +00001442NAME="AEN4985"
Daniel Veillard35925471999-02-25 08:46:07 +00001443></A
1444><H3
1445><A
1446NAME="XMLCOPYNOTATIONTABLE"
1447></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001448>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001449><TABLE
1450BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001451BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001452WIDTH="100%"
1453CELLPADDING="6"
1454><TR
1455><TD
1456><PRE
1457CLASS="PROGRAMLISTING"
1458><A
1459HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1460>xmlNotationTablePtr</A
1461> xmlCopyNotationTable (<A
1462HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1463>xmlNotationTablePtr</A
1464> table);</PRE
1465></TD
1466></TR
1467></TABLE
1468><P
1469>Build a copy of a notation table.</P
1470><P
1471></P
1472><DIV
1473CLASS="INFORMALTABLE"
1474><P
1475></P
1476><TABLE
1477BORDER="0"
1478WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001479BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001480CELLSPACING="0"
1481CELLPADDING="4"
1482CLASS="CALSTABLE"
1483><TR
1484><TD
1485WIDTH="20%"
1486ALIGN="RIGHT"
1487VALIGN="TOP"
1488><TT
1489CLASS="PARAMETER"
1490><I
1491>table</I
1492></TT
1493>&nbsp;:</TD
1494><TD
1495WIDTH="80%"
1496ALIGN="LEFT"
1497VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001498> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001499></TR
1500><TR
1501><TD
1502WIDTH="20%"
1503ALIGN="RIGHT"
1504VALIGN="TOP"
1505><I
1506CLASS="EMPHASIS"
1507>Returns</I
1508> :</TD
1509><TD
1510WIDTH="80%"
1511ALIGN="LEFT"
1512VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001513>the new xmlNotationTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001514></TR
1515></TABLE
1516><P
1517></P
1518></DIV
1519></DIV
1520><HR><DIV
1521CLASS="REFSECT2"
1522><A
Daniel Veillard35008381999-10-25 13:15:52 +00001523NAME="AEN5006"
Daniel Veillard35925471999-02-25 08:46:07 +00001524></A
1525><H3
1526><A
1527NAME="XMLFREENOTATIONTABLE"
1528></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001529>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001530><TABLE
1531BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001532BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001533WIDTH="100%"
1534CELLPADDING="6"
1535><TR
1536><TD
1537><PRE
1538CLASS="PROGRAMLISTING"
1539>void xmlFreeNotationTable (<A
1540HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1541>xmlNotationTablePtr</A
1542> table);</PRE
1543></TD
1544></TR
1545></TABLE
1546><P
1547>Deallocate the memory used by an entities hash table.</P
1548><P
1549></P
1550><DIV
1551CLASS="INFORMALTABLE"
1552><P
1553></P
1554><TABLE
1555BORDER="0"
1556WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001557BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001558CELLSPACING="0"
1559CELLPADDING="4"
1560CLASS="CALSTABLE"
1561><TR
1562><TD
1563WIDTH="20%"
1564ALIGN="RIGHT"
1565VALIGN="TOP"
1566><TT
1567CLASS="PARAMETER"
1568><I
1569>table</I
1570></TT
1571>&nbsp;:</TD
1572><TD
1573WIDTH="80%"
1574ALIGN="LEFT"
1575VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001576> An notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001577></TR
1578></TABLE
1579><P
1580></P
1581></DIV
1582></DIV
1583><HR><DIV
1584CLASS="REFSECT2"
1585><A
Daniel Veillard35008381999-10-25 13:15:52 +00001586NAME="AEN5022"
Daniel Veillard35925471999-02-25 08:46:07 +00001587></A
1588><H3
1589><A
1590NAME="XMLDUMPNOTATIONTABLE"
1591></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001592>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001593><TABLE
1594BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001595BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001596WIDTH="100%"
1597CELLPADDING="6"
1598><TR
1599><TD
1600><PRE
1601CLASS="PROGRAMLISTING"
1602>void xmlDumpNotationTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001603HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1604>xmlBufferPtr</A
1605> buf,
1606 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001607HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1608>xmlNotationTablePtr</A
1609> table);</PRE
1610></TD
1611></TR
1612></TABLE
1613><P
1614>This will dump the content of the notation table as an XML DTD definition</P
1615><P
Daniel Veillard35925471999-02-25 08:46:07 +00001616></P
1617><DIV
1618CLASS="INFORMALTABLE"
1619><P
1620></P
1621><TABLE
1622BORDER="0"
1623WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001624BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001625CELLSPACING="0"
1626CELLPADDING="4"
1627CLASS="CALSTABLE"
1628><TR
1629><TD
1630WIDTH="20%"
1631ALIGN="RIGHT"
1632VALIGN="TOP"
1633><TT
1634CLASS="PARAMETER"
1635><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001636>buf</I
1637></TT
1638>&nbsp;:</TD
1639><TD
1640WIDTH="80%"
1641ALIGN="LEFT"
1642VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001643> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001644></TR
1645><TR
1646><TD
1647WIDTH="20%"
1648ALIGN="RIGHT"
1649VALIGN="TOP"
1650><TT
1651CLASS="PARAMETER"
1652><I
Daniel Veillard35925471999-02-25 08:46:07 +00001653>table</I
1654></TT
1655>&nbsp;:</TD
1656><TD
1657WIDTH="80%"
1658ALIGN="LEFT"
1659VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001660> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001661></TR
1662></TABLE
1663><P
1664></P
1665></DIV
1666></DIV
1667><HR><DIV
1668CLASS="REFSECT2"
1669><A
Daniel Veillard35008381999-10-25 13:15:52 +00001670NAME="AEN5043"
Daniel Veillard35925471999-02-25 08:46:07 +00001671></A
1672><H3
1673><A
1674NAME="XMLNEWELEMENTCONTENT"
1675></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001676>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001677><TABLE
1678BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001679BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001680WIDTH="100%"
1681CELLPADDING="6"
1682><TR
1683><TD
1684><PRE
1685CLASS="PROGRAMLISTING"
1686><A
1687HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1688>xmlElementContentPtr</A
1689> xmlNewElementContent (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001690HREF="gnome-xml-tree.html#XMLCHAR"
1691>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001692> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00001693 <A
1694HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
1695>xmlElementContentType</A
1696> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001697></TD
1698></TR
1699></TABLE
1700><P
1701>Allocate an element content structure.</P
1702><P
1703></P
1704><DIV
1705CLASS="INFORMALTABLE"
1706><P
1707></P
1708><TABLE
1709BORDER="0"
1710WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001711BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001712CELLSPACING="0"
1713CELLPADDING="4"
1714CLASS="CALSTABLE"
1715><TR
1716><TD
1717WIDTH="20%"
1718ALIGN="RIGHT"
1719VALIGN="TOP"
1720><TT
1721CLASS="PARAMETER"
1722><I
1723>name</I
1724></TT
1725>&nbsp;:</TD
1726><TD
1727WIDTH="80%"
1728ALIGN="LEFT"
1729VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001730> the subelement name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001731></TR
1732><TR
1733><TD
1734WIDTH="20%"
1735ALIGN="RIGHT"
1736VALIGN="TOP"
1737><TT
1738CLASS="PARAMETER"
1739><I
1740>type</I
1741></TT
1742>&nbsp;:</TD
1743><TD
1744WIDTH="80%"
1745ALIGN="LEFT"
1746VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001747> the type of element content decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001748></TR
1749><TR
1750><TD
1751WIDTH="20%"
1752ALIGN="RIGHT"
1753VALIGN="TOP"
1754><I
1755CLASS="EMPHASIS"
1756>Returns</I
1757> :</TD
1758><TD
1759WIDTH="80%"
1760ALIGN="LEFT"
1761VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001762>NULL if not, othervise the new element content structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001763></TR
1764></TABLE
1765><P
1766></P
1767></DIV
1768></DIV
1769><HR><DIV
1770CLASS="REFSECT2"
1771><A
Daniel Veillard35008381999-10-25 13:15:52 +00001772NAME="AEN5069"
Daniel Veillard35925471999-02-25 08:46:07 +00001773></A
1774><H3
1775><A
1776NAME="XMLCOPYELEMENTCONTENT"
1777></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001778>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001779><TABLE
1780BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001781BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001782WIDTH="100%"
1783CELLPADDING="6"
1784><TR
1785><TD
1786><PRE
1787CLASS="PROGRAMLISTING"
1788><A
1789HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1790>xmlElementContentPtr</A
1791> xmlCopyElementContent (<A
1792HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1793>xmlElementContentPtr</A
1794> content);</PRE
1795></TD
1796></TR
1797></TABLE
1798><P
1799>Build a copy of an element content description.</P
1800><P
1801></P
1802><DIV
1803CLASS="INFORMALTABLE"
1804><P
1805></P
1806><TABLE
1807BORDER="0"
1808WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001809BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001810CELLSPACING="0"
1811CELLPADDING="4"
1812CLASS="CALSTABLE"
1813><TR
1814><TD
1815WIDTH="20%"
1816ALIGN="RIGHT"
1817VALIGN="TOP"
1818><TT
1819CLASS="PARAMETER"
1820><I
1821>content</I
1822></TT
1823>&nbsp;:</TD
1824><TD
1825WIDTH="80%"
1826ALIGN="LEFT"
1827VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001828> An element content pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001829></TR
1830><TR
1831><TD
1832WIDTH="20%"
1833ALIGN="RIGHT"
1834VALIGN="TOP"
1835><I
1836CLASS="EMPHASIS"
1837>Returns</I
1838> :</TD
1839><TD
1840WIDTH="80%"
1841ALIGN="LEFT"
1842VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001843>the new xmlElementContentPtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001844></TR
1845></TABLE
1846><P
1847></P
1848></DIV
1849></DIV
1850><HR><DIV
1851CLASS="REFSECT2"
1852><A
Daniel Veillard35008381999-10-25 13:15:52 +00001853NAME="AEN5090"
Daniel Veillard35925471999-02-25 08:46:07 +00001854></A
1855><H3
1856><A
1857NAME="XMLFREEELEMENTCONTENT"
1858></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001859>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001860><TABLE
1861BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001862BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001863WIDTH="100%"
1864CELLPADDING="6"
1865><TR
1866><TD
1867><PRE
1868CLASS="PROGRAMLISTING"
1869>void xmlFreeElementContent (<A
1870HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1871>xmlElementContentPtr</A
1872> cur);</PRE
1873></TD
1874></TR
1875></TABLE
1876><P
1877>Free an element content structure. This is a recursive call !</P
1878><P
1879></P
1880><DIV
1881CLASS="INFORMALTABLE"
1882><P
1883></P
1884><TABLE
1885BORDER="0"
1886WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001887BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001888CELLSPACING="0"
1889CELLPADDING="4"
1890CLASS="CALSTABLE"
1891><TR
1892><TD
1893WIDTH="20%"
1894ALIGN="RIGHT"
1895VALIGN="TOP"
1896><TT
1897CLASS="PARAMETER"
1898><I
1899>cur</I
1900></TT
1901>&nbsp;:</TD
1902><TD
1903WIDTH="80%"
1904ALIGN="LEFT"
1905VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001906> the element content tree to free</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001907></TR
1908></TABLE
1909><P
1910></P
1911></DIV
1912></DIV
1913><HR><DIV
1914CLASS="REFSECT2"
1915><A
Daniel Veillard35008381999-10-25 13:15:52 +00001916NAME="AEN5106"
Daniel Veillard35925471999-02-25 08:46:07 +00001917></A
1918><H3
1919><A
1920NAME="XMLADDELEMENTDECL"
1921></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001922>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001923><TABLE
1924BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001925BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001926WIDTH="100%"
1927CELLPADDING="6"
1928><TR
1929><TD
1930><PRE
1931CLASS="PROGRAMLISTING"
1932><A
1933HREF="gnome-xml-tree.html#XMLELEMENTPTR"
1934>xmlElementPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001935> xmlAddElementDecl (<GTKDOCLINK
1936HREF="XMLVALIDCTXTPTR"
1937>xmlValidCtxtPtr</GTKDOCLINK
1938> ctxt,
1939 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001940HREF="gnome-xml-tree.html#XMLDTDPTR"
1941>xmlDtdPtr</A
1942> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001943 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001944HREF="gnome-xml-tree.html#XMLCHAR"
1945>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001946> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00001947 <A
1948HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
1949>xmlElementContentType</A
1950> type,
Daniel Veillard35925471999-02-25 08:46:07 +00001951 <A
1952HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1953>xmlElementContentPtr</A
1954> content);</PRE
1955></TD
1956></TR
1957></TABLE
1958><P
1959>Register a new element declaration</P
1960><P
1961></P
1962><DIV
1963CLASS="INFORMALTABLE"
1964><P
1965></P
1966><TABLE
1967BORDER="0"
1968WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001969BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001970CELLSPACING="0"
1971CELLPADDING="4"
1972CLASS="CALSTABLE"
1973><TR
1974><TD
1975WIDTH="20%"
1976ALIGN="RIGHT"
1977VALIGN="TOP"
1978><TT
1979CLASS="PARAMETER"
1980><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001981>ctxt</I
1982></TT
1983>&nbsp;:</TD
1984><TD
1985WIDTH="80%"
1986ALIGN="LEFT"
1987VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001988> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001989></TR
1990><TR
1991><TD
1992WIDTH="20%"
1993ALIGN="RIGHT"
1994VALIGN="TOP"
1995><TT
1996CLASS="PARAMETER"
1997><I
Daniel Veillard35925471999-02-25 08:46:07 +00001998>dtd</I
1999></TT
2000>&nbsp;:</TD
2001><TD
2002WIDTH="80%"
2003ALIGN="LEFT"
2004VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002005> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002006></TR
2007><TR
2008><TD
2009WIDTH="20%"
2010ALIGN="RIGHT"
2011VALIGN="TOP"
2012><TT
2013CLASS="PARAMETER"
2014><I
2015>name</I
2016></TT
2017>&nbsp;:</TD
2018><TD
2019WIDTH="80%"
2020ALIGN="LEFT"
2021VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002022> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002023></TR
2024><TR
2025><TD
2026WIDTH="20%"
2027ALIGN="RIGHT"
2028VALIGN="TOP"
2029><TT
2030CLASS="PARAMETER"
2031><I
2032>type</I
2033></TT
2034>&nbsp;:</TD
2035><TD
2036WIDTH="80%"
2037ALIGN="LEFT"
2038VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002039> the element type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002040></TR
2041><TR
2042><TD
2043WIDTH="20%"
2044ALIGN="RIGHT"
2045VALIGN="TOP"
2046><TT
2047CLASS="PARAMETER"
2048><I
2049>content</I
2050></TT
2051>&nbsp;:</TD
2052><TD
2053WIDTH="80%"
2054ALIGN="LEFT"
2055VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002056> the element content tree or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002057></TR
2058><TR
2059><TD
2060WIDTH="20%"
2061ALIGN="RIGHT"
2062VALIGN="TOP"
2063><I
2064CLASS="EMPHASIS"
2065>Returns</I
2066> :</TD
2067><TD
2068WIDTH="80%"
2069ALIGN="LEFT"
2070VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002071>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002072></TR
2073></TABLE
2074><P
2075></P
2076></DIV
2077></DIV
2078><HR><DIV
2079CLASS="REFSECT2"
2080><A
Daniel Veillard35008381999-10-25 13:15:52 +00002081NAME="AEN5147"
Daniel Veillard35925471999-02-25 08:46:07 +00002082></A
2083><H3
2084><A
2085NAME="XMLCOPYELEMENTTABLE"
2086></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002087>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002088><TABLE
2089BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002090BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002091WIDTH="100%"
2092CELLPADDING="6"
2093><TR
2094><TD
2095><PRE
2096CLASS="PROGRAMLISTING"
2097><A
2098HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2099>xmlElementTablePtr</A
2100> xmlCopyElementTable (<A
2101HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2102>xmlElementTablePtr</A
2103> table);</PRE
2104></TD
2105></TR
2106></TABLE
2107><P
2108>Build a copy of an element table.</P
2109><P
2110></P
2111><DIV
2112CLASS="INFORMALTABLE"
2113><P
2114></P
2115><TABLE
2116BORDER="0"
2117WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002118BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002119CELLSPACING="0"
2120CELLPADDING="4"
2121CLASS="CALSTABLE"
2122><TR
2123><TD
2124WIDTH="20%"
2125ALIGN="RIGHT"
2126VALIGN="TOP"
2127><TT
2128CLASS="PARAMETER"
2129><I
2130>table</I
2131></TT
2132>&nbsp;:</TD
2133><TD
2134WIDTH="80%"
2135ALIGN="LEFT"
2136VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002137> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002138></TR
2139><TR
2140><TD
2141WIDTH="20%"
2142ALIGN="RIGHT"
2143VALIGN="TOP"
2144><I
2145CLASS="EMPHASIS"
2146>Returns</I
2147> :</TD
2148><TD
2149WIDTH="80%"
2150ALIGN="LEFT"
2151VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002152>the new xmlElementTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002153></TR
2154></TABLE
2155><P
2156></P
2157></DIV
2158></DIV
2159><HR><DIV
2160CLASS="REFSECT2"
2161><A
Daniel Veillard35008381999-10-25 13:15:52 +00002162NAME="AEN5168"
Daniel Veillard35925471999-02-25 08:46:07 +00002163></A
2164><H3
2165><A
2166NAME="XMLFREEELEMENTTABLE"
2167></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002168>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002169><TABLE
2170BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002171BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002172WIDTH="100%"
2173CELLPADDING="6"
2174><TR
2175><TD
2176><PRE
2177CLASS="PROGRAMLISTING"
2178>void xmlFreeElementTable (<A
2179HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2180>xmlElementTablePtr</A
2181> table);</PRE
2182></TD
2183></TR
2184></TABLE
2185><P
2186>Deallocate the memory used by an element hash table.</P
2187><P
2188></P
2189><DIV
2190CLASS="INFORMALTABLE"
2191><P
2192></P
2193><TABLE
2194BORDER="0"
2195WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002196BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002197CELLSPACING="0"
2198CELLPADDING="4"
2199CLASS="CALSTABLE"
2200><TR
2201><TD
2202WIDTH="20%"
2203ALIGN="RIGHT"
2204VALIGN="TOP"
2205><TT
2206CLASS="PARAMETER"
2207><I
2208>table</I
2209></TT
2210>&nbsp;:</TD
2211><TD
2212WIDTH="80%"
2213ALIGN="LEFT"
2214VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002215> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002216></TR
2217></TABLE
2218><P
2219></P
2220></DIV
2221></DIV
2222><HR><DIV
2223CLASS="REFSECT2"
2224><A
Daniel Veillard35008381999-10-25 13:15:52 +00002225NAME="AEN5184"
Daniel Veillard35925471999-02-25 08:46:07 +00002226></A
2227><H3
2228><A
2229NAME="XMLDUMPELEMENTTABLE"
2230></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002231>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002232><TABLE
2233BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002234BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002235WIDTH="100%"
2236CELLPADDING="6"
2237><TR
2238><TD
2239><PRE
2240CLASS="PROGRAMLISTING"
2241>void xmlDumpElementTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002242HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2243>xmlBufferPtr</A
2244> buf,
2245 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002246HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2247>xmlElementTablePtr</A
2248> table);</PRE
2249></TD
2250></TR
2251></TABLE
2252><P
2253>This will dump the content of the element table as an XML DTD definition</P
2254><P
Daniel Veillard35925471999-02-25 08:46:07 +00002255></P
2256><DIV
2257CLASS="INFORMALTABLE"
2258><P
2259></P
2260><TABLE
2261BORDER="0"
2262WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002263BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002264CELLSPACING="0"
2265CELLPADDING="4"
2266CLASS="CALSTABLE"
2267><TR
2268><TD
2269WIDTH="20%"
2270ALIGN="RIGHT"
2271VALIGN="TOP"
2272><TT
2273CLASS="PARAMETER"
2274><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002275>buf</I
2276></TT
2277>&nbsp;:</TD
2278><TD
2279WIDTH="80%"
2280ALIGN="LEFT"
2281VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002282> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002283></TR
2284><TR
2285><TD
2286WIDTH="20%"
2287ALIGN="RIGHT"
2288VALIGN="TOP"
2289><TT
2290CLASS="PARAMETER"
2291><I
Daniel Veillard35925471999-02-25 08:46:07 +00002292>table</I
2293></TT
2294>&nbsp;:</TD
2295><TD
2296WIDTH="80%"
2297ALIGN="LEFT"
2298VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002299> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002300></TR
2301></TABLE
2302><P
2303></P
2304></DIV
2305></DIV
2306><HR><DIV
2307CLASS="REFSECT2"
2308><A
Daniel Veillard35008381999-10-25 13:15:52 +00002309NAME="AEN5205"
Daniel Veillard35925471999-02-25 08:46:07 +00002310></A
2311><H3
2312><A
2313NAME="XMLCREATEENUMERATION"
2314></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002315>xmlCreateEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002316><TABLE
2317BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002318BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002319WIDTH="100%"
2320CELLPADDING="6"
2321><TR
2322><TD
2323><PRE
2324CLASS="PROGRAMLISTING"
2325><A
2326HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2327>xmlEnumerationPtr</A
2328> xmlCreateEnumeration (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002329HREF="gnome-xml-tree.html#XMLCHAR"
2330>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002331> *name);</PRE
2332></TD
2333></TR
2334></TABLE
2335><P
2336>create and initialize an enumeration attribute node.</P
2337><P
2338></P
2339><DIV
2340CLASS="INFORMALTABLE"
2341><P
2342></P
2343><TABLE
2344BORDER="0"
2345WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002346BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002347CELLSPACING="0"
2348CELLPADDING="4"
2349CLASS="CALSTABLE"
2350><TR
2351><TD
2352WIDTH="20%"
2353ALIGN="RIGHT"
2354VALIGN="TOP"
2355><TT
2356CLASS="PARAMETER"
2357><I
2358>name</I
2359></TT
2360>&nbsp;:</TD
2361><TD
2362WIDTH="80%"
2363ALIGN="LEFT"
2364VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002365> the enumeration name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002366></TR
2367><TR
2368><TD
2369WIDTH="20%"
2370ALIGN="RIGHT"
2371VALIGN="TOP"
2372><I
2373CLASS="EMPHASIS"
2374>Returns</I
2375> :</TD
2376><TD
2377WIDTH="80%"
2378ALIGN="LEFT"
2379VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002380>the xmlEnumerationPtr just created or NULL in case
2381of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002382></TR
2383></TABLE
2384><P
2385></P
2386></DIV
2387></DIV
2388><HR><DIV
2389CLASS="REFSECT2"
2390><A
Daniel Veillard35008381999-10-25 13:15:52 +00002391NAME="AEN5226"
Daniel Veillard35925471999-02-25 08:46:07 +00002392></A
2393><H3
2394><A
2395NAME="XMLFREEENUMERATION"
2396></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002397>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002398><TABLE
2399BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002400BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002401WIDTH="100%"
2402CELLPADDING="6"
2403><TR
2404><TD
2405><PRE
2406CLASS="PROGRAMLISTING"
2407>void xmlFreeEnumeration (<A
2408HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2409>xmlEnumerationPtr</A
2410> cur);</PRE
2411></TD
2412></TR
2413></TABLE
2414><P
2415>free 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 Veillard35008381999-10-25 13:15:52 +00002444> the tree to free.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002445></TR
2446></TABLE
2447><P
2448></P
2449></DIV
2450></DIV
2451><HR><DIV
2452CLASS="REFSECT2"
2453><A
Daniel Veillard35008381999-10-25 13:15:52 +00002454NAME="AEN5242"
Daniel Veillard35925471999-02-25 08:46:07 +00002455></A
2456><H3
2457><A
2458NAME="XMLCOPYENUMERATION"
2459></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002460>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002461><TABLE
2462BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002463BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002464WIDTH="100%"
2465CELLPADDING="6"
2466><TR
2467><TD
2468><PRE
2469CLASS="PROGRAMLISTING"
2470><A
2471HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2472>xmlEnumerationPtr</A
2473> xmlCopyEnumeration (<A
2474HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2475>xmlEnumerationPtr</A
2476> cur);</PRE
2477></TD
2478></TR
2479></TABLE
2480><P
2481>Copy an enumeration attribute node (recursive).</P
2482><P
2483></P
2484><DIV
2485CLASS="INFORMALTABLE"
2486><P
2487></P
2488><TABLE
2489BORDER="0"
2490WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002491BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002492CELLSPACING="0"
2493CELLPADDING="4"
2494CLASS="CALSTABLE"
2495><TR
2496><TD
2497WIDTH="20%"
2498ALIGN="RIGHT"
2499VALIGN="TOP"
2500><TT
2501CLASS="PARAMETER"
2502><I
2503>cur</I
2504></TT
2505>&nbsp;:</TD
2506><TD
2507WIDTH="80%"
2508ALIGN="LEFT"
2509VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002510> the tree to copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002511></TR
2512><TR
2513><TD
2514WIDTH="20%"
2515ALIGN="RIGHT"
2516VALIGN="TOP"
2517><I
2518CLASS="EMPHASIS"
2519>Returns</I
2520> :</TD
2521><TD
2522WIDTH="80%"
2523ALIGN="LEFT"
2524VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002525>the xmlEnumerationPtr just created or NULL in case
2526of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002527></TR
2528></TABLE
2529><P
2530></P
2531></DIV
2532></DIV
2533><HR><DIV
2534CLASS="REFSECT2"
2535><A
Daniel Veillard35008381999-10-25 13:15:52 +00002536NAME="AEN5263"
Daniel Veillard35925471999-02-25 08:46:07 +00002537></A
2538><H3
2539><A
2540NAME="XMLADDATTRIBUTEDECL"
2541></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002542>xmlAddAttributeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002543><TABLE
2544BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002545BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002546WIDTH="100%"
2547CELLPADDING="6"
2548><TR
2549><TD
2550><PRE
2551CLASS="PROGRAMLISTING"
2552><A
2553HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
2554>xmlAttributePtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002555> xmlAddAttributeDecl (<GTKDOCLINK
2556HREF="XMLVALIDCTXTPTR"
2557>xmlValidCtxtPtr</GTKDOCLINK
2558> ctxt,
2559 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002560HREF="gnome-xml-tree.html#XMLDTDPTR"
2561>xmlDtdPtr</A
2562> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002563 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002564HREF="gnome-xml-tree.html#XMLCHAR"
2565>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002566> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002567 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002568HREF="gnome-xml-tree.html#XMLCHAR"
2569>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002570> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002571 <A
2572HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
2573>xmlAttributeType</A
2574> type,
2575 <A
2576HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
2577>xmlAttributeDefault</A
2578> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002579 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002580HREF="gnome-xml-tree.html#XMLCHAR"
2581>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002582> *defaultValue,
2583 <A
2584HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2585>xmlEnumerationPtr</A
2586> tree);</PRE
2587></TD
2588></TR
2589></TABLE
2590><P
2591>Register a new attribute declaration</P
2592><P
2593></P
2594><DIV
2595CLASS="INFORMALTABLE"
2596><P
2597></P
2598><TABLE
2599BORDER="0"
2600WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002601BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002602CELLSPACING="0"
2603CELLPADDING="4"
2604CLASS="CALSTABLE"
2605><TR
2606><TD
2607WIDTH="20%"
2608ALIGN="RIGHT"
2609VALIGN="TOP"
2610><TT
2611CLASS="PARAMETER"
2612><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002613>ctxt</I
2614></TT
2615>&nbsp;:</TD
2616><TD
2617WIDTH="80%"
2618ALIGN="LEFT"
2619VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002620> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002621></TR
2622><TR
2623><TD
2624WIDTH="20%"
2625ALIGN="RIGHT"
2626VALIGN="TOP"
2627><TT
2628CLASS="PARAMETER"
2629><I
Daniel Veillard35925471999-02-25 08:46:07 +00002630>dtd</I
2631></TT
2632>&nbsp;:</TD
2633><TD
2634WIDTH="80%"
2635ALIGN="LEFT"
2636VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002637> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002638></TR
2639><TR
2640><TD
2641WIDTH="20%"
2642ALIGN="RIGHT"
2643VALIGN="TOP"
2644><TT
2645CLASS="PARAMETER"
2646><I
2647>elem</I
2648></TT
2649>&nbsp;:</TD
2650><TD
2651WIDTH="80%"
2652ALIGN="LEFT"
2653VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002654> the element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002655></TR
2656><TR
2657><TD
2658WIDTH="20%"
2659ALIGN="RIGHT"
2660VALIGN="TOP"
2661><TT
2662CLASS="PARAMETER"
2663><I
2664>name</I
2665></TT
2666>&nbsp;:</TD
2667><TD
2668WIDTH="80%"
2669ALIGN="LEFT"
2670VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002671> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002672></TR
2673><TR
2674><TD
2675WIDTH="20%"
2676ALIGN="RIGHT"
2677VALIGN="TOP"
2678><TT
2679CLASS="PARAMETER"
2680><I
2681>type</I
2682></TT
2683>&nbsp;:</TD
2684><TD
2685WIDTH="80%"
2686ALIGN="LEFT"
2687VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002688> the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002689></TR
2690><TR
2691><TD
2692WIDTH="20%"
2693ALIGN="RIGHT"
2694VALIGN="TOP"
2695><TT
2696CLASS="PARAMETER"
2697><I
2698>def</I
2699></TT
2700>&nbsp;:</TD
2701><TD
2702WIDTH="80%"
2703ALIGN="LEFT"
2704VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002705> the attribute default type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002706></TR
2707><TR
2708><TD
2709WIDTH="20%"
2710ALIGN="RIGHT"
2711VALIGN="TOP"
2712><TT
2713CLASS="PARAMETER"
2714><I
2715>defaultValue</I
2716></TT
2717>&nbsp;:</TD
2718><TD
2719WIDTH="80%"
2720ALIGN="LEFT"
2721VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002722> the attribute default value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002723></TR
2724><TR
2725><TD
2726WIDTH="20%"
2727ALIGN="RIGHT"
2728VALIGN="TOP"
2729><TT
2730CLASS="PARAMETER"
2731><I
2732>tree</I
2733></TT
2734>&nbsp;:</TD
2735><TD
2736WIDTH="80%"
2737ALIGN="LEFT"
2738VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002739> if it's an enumeration, the associated list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002740></TR
2741><TR
2742><TD
2743WIDTH="20%"
2744ALIGN="RIGHT"
2745VALIGN="TOP"
2746><I
2747CLASS="EMPHASIS"
2748>Returns</I
2749> :</TD
2750><TD
2751WIDTH="80%"
2752ALIGN="LEFT"
2753VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002754>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002755></TR
2756></TABLE
2757><P
2758></P
2759></DIV
2760></DIV
2761><HR><DIV
2762CLASS="REFSECT2"
2763><A
Daniel Veillard35008381999-10-25 13:15:52 +00002764NAME="AEN5319"
Daniel Veillard35925471999-02-25 08:46:07 +00002765></A
2766><H3
2767><A
2768NAME="XMLCOPYATTRIBUTETABLE"
2769></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002770>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002771><TABLE
2772BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002773BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002774WIDTH="100%"
2775CELLPADDING="6"
2776><TR
2777><TD
2778><PRE
2779CLASS="PROGRAMLISTING"
2780><A
2781HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2782>xmlAttributeTablePtr</A
2783> xmlCopyAttributeTable (<A
2784HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2785>xmlAttributeTablePtr</A
2786> table);</PRE
2787></TD
2788></TR
2789></TABLE
2790><P
2791>Build a copy of an attribute table.</P
2792><P
2793></P
2794><DIV
2795CLASS="INFORMALTABLE"
2796><P
2797></P
2798><TABLE
2799BORDER="0"
2800WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002801BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002802CELLSPACING="0"
2803CELLPADDING="4"
2804CLASS="CALSTABLE"
2805><TR
2806><TD
2807WIDTH="20%"
2808ALIGN="RIGHT"
2809VALIGN="TOP"
2810><TT
2811CLASS="PARAMETER"
2812><I
2813>table</I
2814></TT
2815>&nbsp;:</TD
2816><TD
2817WIDTH="80%"
2818ALIGN="LEFT"
2819VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002820> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002821></TR
2822><TR
2823><TD
2824WIDTH="20%"
2825ALIGN="RIGHT"
2826VALIGN="TOP"
2827><I
2828CLASS="EMPHASIS"
2829>Returns</I
2830> :</TD
2831><TD
2832WIDTH="80%"
2833ALIGN="LEFT"
2834VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002835>the new xmlAttributeTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002836></TR
2837></TABLE
2838><P
2839></P
2840></DIV
2841></DIV
2842><HR><DIV
2843CLASS="REFSECT2"
2844><A
Daniel Veillard35008381999-10-25 13:15:52 +00002845NAME="AEN5340"
Daniel Veillard35925471999-02-25 08:46:07 +00002846></A
2847><H3
2848><A
2849NAME="XMLFREEATTRIBUTETABLE"
2850></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002851>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002852><TABLE
2853BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002854BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002855WIDTH="100%"
2856CELLPADDING="6"
2857><TR
2858><TD
2859><PRE
2860CLASS="PROGRAMLISTING"
2861>void xmlFreeAttributeTable (<A
2862HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2863>xmlAttributeTablePtr</A
2864> table);</PRE
2865></TD
2866></TR
2867></TABLE
2868><P
2869>Deallocate the memory used by an entities hash table.</P
2870><P
2871></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
2891>table</I
2892></TT
2893>&nbsp;:</TD
2894><TD
2895WIDTH="80%"
2896ALIGN="LEFT"
2897VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002898> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002899></TR
2900></TABLE
2901><P
2902></P
2903></DIV
2904></DIV
2905><HR><DIV
2906CLASS="REFSECT2"
2907><A
Daniel Veillard35008381999-10-25 13:15:52 +00002908NAME="AEN5356"
Daniel Veillard35925471999-02-25 08:46:07 +00002909></A
2910><H3
2911><A
2912NAME="XMLDUMPATTRIBUTETABLE"
2913></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002914>xmlDumpAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002915><TABLE
2916BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002917BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002918WIDTH="100%"
2919CELLPADDING="6"
2920><TR
2921><TD
2922><PRE
2923CLASS="PROGRAMLISTING"
2924>void xmlDumpAttributeTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002925HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2926>xmlBufferPtr</A
2927> buf,
2928 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002929HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2930>xmlAttributeTablePtr</A
2931> table);</PRE
2932></TD
2933></TR
2934></TABLE
2935><P
2936>This will dump the content of the attribute table as an XML DTD definition</P
2937><P
Daniel Veillard35925471999-02-25 08:46:07 +00002938></P
2939><DIV
2940CLASS="INFORMALTABLE"
2941><P
2942></P
2943><TABLE
2944BORDER="0"
2945WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002946BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002947CELLSPACING="0"
2948CELLPADDING="4"
2949CLASS="CALSTABLE"
2950><TR
2951><TD
2952WIDTH="20%"
2953ALIGN="RIGHT"
2954VALIGN="TOP"
2955><TT
2956CLASS="PARAMETER"
2957><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002958>buf</I
2959></TT
2960>&nbsp;:</TD
2961><TD
2962WIDTH="80%"
2963ALIGN="LEFT"
2964VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002965> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002966></TR
2967><TR
2968><TD
2969WIDTH="20%"
2970ALIGN="RIGHT"
2971VALIGN="TOP"
2972><TT
2973CLASS="PARAMETER"
2974><I
Daniel Veillard35925471999-02-25 08:46:07 +00002975>table</I
2976></TT
2977>&nbsp;:</TD
2978><TD
2979WIDTH="80%"
2980ALIGN="LEFT"
2981VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002982> An attribute table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002983></TR
2984></TABLE
2985><P
2986></P
2987></DIV
2988></DIV
2989><HR><DIV
2990CLASS="REFSECT2"
2991><A
Daniel Veillard35008381999-10-25 13:15:52 +00002992NAME="AEN5377"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002993></A
2994><H3
2995><A
2996NAME="XMLADDID"
2997></A
2998>xmlAddID ()</H3
2999><TABLE
3000BORDER="0"
3001BGCOLOR="#D6E8FF"
3002WIDTH="100%"
3003CELLPADDING="6"
3004><TR
3005><TD
3006><PRE
3007CLASS="PROGRAMLISTING"
3008><A
3009HREF="gnome-xml-tree.html#XMLIDPTR"
3010>xmlIDPtr</A
3011> xmlAddID (<GTKDOCLINK
3012HREF="XMLVALIDCTXTPTR"
3013>xmlValidCtxtPtr</GTKDOCLINK
3014> ctxt,
3015 <A
3016HREF="gnome-xml-tree.html#XMLDOCPTR"
3017>xmlDocPtr</A
3018> doc,
3019 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003020HREF="gnome-xml-tree.html#XMLCHAR"
3021>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003022> *value,
3023 <A
3024HREF="gnome-xml-tree.html#XMLATTRPTR"
3025>xmlAttrPtr</A
3026> attr);</PRE
3027></TD
3028></TR
3029></TABLE
3030><P
3031>Register a new id declaration</P
3032><P
3033></P
3034><DIV
3035CLASS="INFORMALTABLE"
3036><P
3037></P
3038><TABLE
3039BORDER="0"
3040WIDTH="100%"
3041BGCOLOR="#FFD0D0"
3042CELLSPACING="0"
3043CELLPADDING="4"
3044CLASS="CALSTABLE"
3045><TR
3046><TD
3047WIDTH="20%"
3048ALIGN="RIGHT"
3049VALIGN="TOP"
3050><TT
3051CLASS="PARAMETER"
3052><I
3053>ctxt</I
3054></TT
3055>&nbsp;:</TD
3056><TD
3057WIDTH="80%"
3058ALIGN="LEFT"
3059VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003060> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003061></TR
3062><TR
3063><TD
3064WIDTH="20%"
3065ALIGN="RIGHT"
3066VALIGN="TOP"
3067><TT
3068CLASS="PARAMETER"
3069><I
3070>doc</I
3071></TT
3072>&nbsp;:</TD
3073><TD
3074WIDTH="80%"
3075ALIGN="LEFT"
3076VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003077> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003078></TR
3079><TR
3080><TD
3081WIDTH="20%"
3082ALIGN="RIGHT"
3083VALIGN="TOP"
3084><TT
3085CLASS="PARAMETER"
3086><I
3087>value</I
3088></TT
3089>&nbsp;:</TD
3090><TD
3091WIDTH="80%"
3092ALIGN="LEFT"
3093VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003094> the value name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003095></TR
3096><TR
3097><TD
3098WIDTH="20%"
3099ALIGN="RIGHT"
3100VALIGN="TOP"
3101><TT
3102CLASS="PARAMETER"
3103><I
3104>attr</I
3105></TT
3106>&nbsp;:</TD
3107><TD
3108WIDTH="80%"
3109ALIGN="LEFT"
3110VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003111> the attribute holding the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003112></TR
3113><TR
3114><TD
3115WIDTH="20%"
3116ALIGN="RIGHT"
3117VALIGN="TOP"
3118><I
3119CLASS="EMPHASIS"
3120>Returns</I
3121> :</TD
3122><TD
3123WIDTH="80%"
3124ALIGN="LEFT"
3125VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003126>NULL if not, othervise the new xmlIDPtr</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003127></TR
3128></TABLE
3129><P
3130></P
3131></DIV
3132></DIV
3133><HR><DIV
3134CLASS="REFSECT2"
3135><A
Daniel Veillard35008381999-10-25 13:15:52 +00003136NAME="AEN5413"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003137></A
3138><H3
3139><A
3140NAME="XMLCOPYIDTABLE"
3141></A
3142>xmlCopyIDTable ()</H3
3143><TABLE
3144BORDER="0"
3145BGCOLOR="#D6E8FF"
3146WIDTH="100%"
3147CELLPADDING="6"
3148><TR
3149><TD
3150><PRE
3151CLASS="PROGRAMLISTING"
3152><A
3153HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3154>xmlIDTablePtr</A
3155> xmlCopyIDTable (<A
3156HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3157>xmlIDTablePtr</A
3158> table);</PRE
3159></TD
3160></TR
3161></TABLE
3162><P
3163></P
3164><DIV
3165CLASS="INFORMALTABLE"
3166><P
3167></P
3168><TABLE
3169BORDER="0"
3170WIDTH="100%"
3171BGCOLOR="#FFD0D0"
3172CELLSPACING="0"
3173CELLPADDING="4"
3174CLASS="CALSTABLE"
3175><TR
3176><TD
3177WIDTH="20%"
3178ALIGN="RIGHT"
3179VALIGN="TOP"
3180><TT
3181CLASS="PARAMETER"
3182><I
3183>table</I
3184></TT
3185>&nbsp;:</TD
3186><TD
3187WIDTH="80%"
3188ALIGN="LEFT"
3189VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003190>&nbsp;</TD
3191></TR
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003192><TR
3193><TD
3194WIDTH="20%"
3195ALIGN="RIGHT"
3196VALIGN="TOP"
3197><I
3198CLASS="EMPHASIS"
3199>Returns</I
3200> :</TD
3201><TD
3202WIDTH="80%"
3203ALIGN="LEFT"
3204VALIGN="TOP"
3205>&nbsp;</TD
3206></TR
Daniel Veillardb05deb71999-08-10 19:04:08 +00003207></TABLE
3208><P
3209></P
3210></DIV
3211></DIV
3212><HR><DIV
3213CLASS="REFSECT2"
3214><A
Daniel Veillard35008381999-10-25 13:15:52 +00003215NAME="AEN5433"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003216></A
3217><H3
3218><A
3219NAME="XMLFREEIDTABLE"
3220></A
3221>xmlFreeIDTable ()</H3
3222><TABLE
3223BORDER="0"
3224BGCOLOR="#D6E8FF"
3225WIDTH="100%"
3226CELLPADDING="6"
3227><TR
3228><TD
3229><PRE
3230CLASS="PROGRAMLISTING"
3231>void xmlFreeIDTable (<A
3232HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3233>xmlIDTablePtr</A
3234> table);</PRE
3235></TD
3236></TR
3237></TABLE
3238><P
3239>Deallocate the memory used by an ID hash table.</P
3240><P
3241></P
3242><DIV
3243CLASS="INFORMALTABLE"
3244><P
3245></P
3246><TABLE
3247BORDER="0"
3248WIDTH="100%"
3249BGCOLOR="#FFD0D0"
3250CELLSPACING="0"
3251CELLPADDING="4"
3252CLASS="CALSTABLE"
3253><TR
3254><TD
3255WIDTH="20%"
3256ALIGN="RIGHT"
3257VALIGN="TOP"
3258><TT
3259CLASS="PARAMETER"
3260><I
3261>table</I
3262></TT
3263>&nbsp;:</TD
3264><TD
3265WIDTH="80%"
3266ALIGN="LEFT"
3267VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003268> An id table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003269></TR
3270></TABLE
3271><P
3272></P
3273></DIV
3274></DIV
3275><HR><DIV
3276CLASS="REFSECT2"
3277><A
Daniel Veillard35008381999-10-25 13:15:52 +00003278NAME="AEN5449"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003279></A
3280><H3
3281><A
3282NAME="XMLGETID"
3283></A
3284>xmlGetID ()</H3
3285><TABLE
3286BORDER="0"
3287BGCOLOR="#D6E8FF"
3288WIDTH="100%"
3289CELLPADDING="6"
3290><TR
3291><TD
3292><PRE
3293CLASS="PROGRAMLISTING"
3294><A
3295HREF="gnome-xml-tree.html#XMLATTRPTR"
3296>xmlAttrPtr</A
3297> xmlGetID (<A
3298HREF="gnome-xml-tree.html#XMLDOCPTR"
3299>xmlDocPtr</A
3300> doc,
3301 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003302HREF="gnome-xml-tree.html#XMLCHAR"
3303>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003304> *ID);</PRE
3305></TD
3306></TR
3307></TABLE
3308><P
3309>Search the attribute declaring the given ID</P
3310><P
3311></P
3312><DIV
3313CLASS="INFORMALTABLE"
3314><P
3315></P
3316><TABLE
3317BORDER="0"
3318WIDTH="100%"
3319BGCOLOR="#FFD0D0"
3320CELLSPACING="0"
3321CELLPADDING="4"
3322CLASS="CALSTABLE"
3323><TR
3324><TD
3325WIDTH="20%"
3326ALIGN="RIGHT"
3327VALIGN="TOP"
3328><TT
3329CLASS="PARAMETER"
3330><I
3331>doc</I
3332></TT
3333>&nbsp;:</TD
3334><TD
3335WIDTH="80%"
3336ALIGN="LEFT"
3337VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003338> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003339></TR
3340><TR
3341><TD
3342WIDTH="20%"
3343ALIGN="RIGHT"
3344VALIGN="TOP"
3345><TT
3346CLASS="PARAMETER"
3347><I
3348>ID</I
3349></TT
3350>&nbsp;:</TD
3351><TD
3352WIDTH="80%"
3353ALIGN="LEFT"
3354VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003355> the ID value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003356></TR
3357><TR
3358><TD
3359WIDTH="20%"
3360ALIGN="RIGHT"
3361VALIGN="TOP"
3362><I
3363CLASS="EMPHASIS"
3364>Returns</I
3365> :</TD
3366><TD
3367WIDTH="80%"
3368ALIGN="LEFT"
3369VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003370>NULL if not found, otherwise the xmlAttrPtr defining the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003371></TR
3372></TABLE
3373><P
3374></P
3375></DIV
3376></DIV
3377><HR><DIV
3378CLASS="REFSECT2"
3379><A
Daniel Veillard35008381999-10-25 13:15:52 +00003380NAME="AEN5475"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003381></A
3382><H3
3383><A
3384NAME="XMLISID"
3385></A
3386>xmlIsID ()</H3
3387><TABLE
3388BORDER="0"
3389BGCOLOR="#D6E8FF"
3390WIDTH="100%"
3391CELLPADDING="6"
3392><TR
3393><TD
3394><PRE
3395CLASS="PROGRAMLISTING"
3396>int xmlIsID (<A
3397HREF="gnome-xml-tree.html#XMLDOCPTR"
3398>xmlDocPtr</A
3399> doc,
3400 <A
3401HREF="gnome-xml-tree.html#XMLNODEPTR"
3402>xmlNodePtr</A
3403> elem,
3404 <A
3405HREF="gnome-xml-tree.html#XMLATTRPTR"
3406>xmlAttrPtr</A
3407> attr);</PRE
3408></TD
3409></TR
3410></TABLE
3411><P
3412>Determine whether an attribute is of type ID. In case we have Dtd(s)
3413then this is simple, otherwise we use an heuristic: name ID (upper
3414or lowercase).</P
3415><P
3416></P
3417><DIV
3418CLASS="INFORMALTABLE"
3419><P
3420></P
3421><TABLE
3422BORDER="0"
3423WIDTH="100%"
3424BGCOLOR="#FFD0D0"
3425CELLSPACING="0"
3426CELLPADDING="4"
3427CLASS="CALSTABLE"
3428><TR
3429><TD
3430WIDTH="20%"
3431ALIGN="RIGHT"
3432VALIGN="TOP"
3433><TT
3434CLASS="PARAMETER"
3435><I
3436>doc</I
3437></TT
3438>&nbsp;:</TD
3439><TD
3440WIDTH="80%"
3441ALIGN="LEFT"
3442VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003443> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003444></TR
3445><TR
3446><TD
3447WIDTH="20%"
3448ALIGN="RIGHT"
3449VALIGN="TOP"
3450><TT
3451CLASS="PARAMETER"
3452><I
3453>elem</I
3454></TT
3455>&nbsp;:</TD
3456><TD
3457WIDTH="80%"
3458ALIGN="LEFT"
3459VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003460> the element carrying the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003461></TR
3462><TR
3463><TD
3464WIDTH="20%"
3465ALIGN="RIGHT"
3466VALIGN="TOP"
3467><TT
3468CLASS="PARAMETER"
3469><I
3470>attr</I
3471></TT
3472>&nbsp;:</TD
3473><TD
3474WIDTH="80%"
3475ALIGN="LEFT"
3476VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003477> the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003478></TR
3479><TR
3480><TD
3481WIDTH="20%"
3482ALIGN="RIGHT"
3483VALIGN="TOP"
3484><I
3485CLASS="EMPHASIS"
3486>Returns</I
3487> :</TD
3488><TD
3489WIDTH="80%"
3490ALIGN="LEFT"
3491VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003492>0 or 1 depending on the lookup result</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003493></TR
3494></TABLE
3495><P
3496></P
3497></DIV
3498></DIV
3499><HR><DIV
3500CLASS="REFSECT2"
3501><A
Daniel Veillard35008381999-10-25 13:15:52 +00003502NAME="AEN5505"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003503></A
3504><H3
3505><A
3506NAME="XMLADDREF"
3507></A
3508>xmlAddRef ()</H3
3509><TABLE
3510BORDER="0"
3511BGCOLOR="#D6E8FF"
3512WIDTH="100%"
3513CELLPADDING="6"
3514><TR
3515><TD
3516><PRE
3517CLASS="PROGRAMLISTING"
3518><A
3519HREF="gnome-xml-tree.html#XMLREFPTR"
3520>xmlRefPtr</A
3521> xmlAddRef (<GTKDOCLINK
3522HREF="XMLVALIDCTXTPTR"
3523>xmlValidCtxtPtr</GTKDOCLINK
3524> ctxt,
3525 <A
3526HREF="gnome-xml-tree.html#XMLDOCPTR"
3527>xmlDocPtr</A
3528> doc,
3529 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003530HREF="gnome-xml-tree.html#XMLCHAR"
3531>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003532> *value,
3533 <A
3534HREF="gnome-xml-tree.html#XMLATTRPTR"
3535>xmlAttrPtr</A
3536> attr);</PRE
3537></TD
3538></TR
3539></TABLE
3540><P
3541>Register a new ref declaration</P
3542><P
3543></P
3544><DIV
3545CLASS="INFORMALTABLE"
3546><P
3547></P
3548><TABLE
3549BORDER="0"
3550WIDTH="100%"
3551BGCOLOR="#FFD0D0"
3552CELLSPACING="0"
3553CELLPADDING="4"
3554CLASS="CALSTABLE"
3555><TR
3556><TD
3557WIDTH="20%"
3558ALIGN="RIGHT"
3559VALIGN="TOP"
3560><TT
3561CLASS="PARAMETER"
3562><I
3563>ctxt</I
3564></TT
3565>&nbsp;:</TD
3566><TD
3567WIDTH="80%"
3568ALIGN="LEFT"
3569VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003570> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003571></TR
3572><TR
3573><TD
3574WIDTH="20%"
3575ALIGN="RIGHT"
3576VALIGN="TOP"
3577><TT
3578CLASS="PARAMETER"
3579><I
3580>doc</I
3581></TT
3582>&nbsp;:</TD
3583><TD
3584WIDTH="80%"
3585ALIGN="LEFT"
3586VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003587> pointer to the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003588></TR
3589><TR
3590><TD
3591WIDTH="20%"
3592ALIGN="RIGHT"
3593VALIGN="TOP"
3594><TT
3595CLASS="PARAMETER"
3596><I
3597>value</I
3598></TT
3599>&nbsp;:</TD
3600><TD
3601WIDTH="80%"
3602ALIGN="LEFT"
3603VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003604> the value name</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003605></TR
3606><TR
3607><TD
3608WIDTH="20%"
3609ALIGN="RIGHT"
3610VALIGN="TOP"
3611><TT
3612CLASS="PARAMETER"
3613><I
3614>attr</I
3615></TT
3616>&nbsp;:</TD
3617><TD
3618WIDTH="80%"
3619ALIGN="LEFT"
3620VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003621> the attribute holding the Ref</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003622></TR
3623><TR
3624><TD
3625WIDTH="20%"
3626ALIGN="RIGHT"
3627VALIGN="TOP"
3628><I
3629CLASS="EMPHASIS"
3630>Returns</I
3631> :</TD
3632><TD
3633WIDTH="80%"
3634ALIGN="LEFT"
3635VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003636>NULL if not, othervise the new xmlRefPtr</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003637></TR
3638></TABLE
3639><P
3640></P
3641></DIV
3642></DIV
3643><HR><DIV
3644CLASS="REFSECT2"
3645><A
Daniel Veillard35008381999-10-25 13:15:52 +00003646NAME="AEN5541"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003647></A
3648><H3
3649><A
3650NAME="XMLCOPYREFTABLE"
3651></A
3652>xmlCopyRefTable ()</H3
3653><TABLE
3654BORDER="0"
3655BGCOLOR="#D6E8FF"
3656WIDTH="100%"
3657CELLPADDING="6"
3658><TR
3659><TD
3660><PRE
3661CLASS="PROGRAMLISTING"
3662><A
3663HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
3664>xmlRefTablePtr</A
3665> xmlCopyRefTable (<A
3666HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
3667>xmlRefTablePtr</A
3668> table);</PRE
3669></TD
3670></TR
3671></TABLE
3672><P
3673></P
3674><DIV
3675CLASS="INFORMALTABLE"
3676><P
3677></P
3678><TABLE
3679BORDER="0"
3680WIDTH="100%"
3681BGCOLOR="#FFD0D0"
3682CELLSPACING="0"
3683CELLPADDING="4"
3684CLASS="CALSTABLE"
3685><TR
3686><TD
3687WIDTH="20%"
3688ALIGN="RIGHT"
3689VALIGN="TOP"
3690><TT
3691CLASS="PARAMETER"
3692><I
3693>table</I
3694></TT
3695>&nbsp;:</TD
3696><TD
3697WIDTH="80%"
3698ALIGN="LEFT"
3699VALIGN="TOP"
3700>&nbsp;</TD
3701></TR
3702><TR
3703><TD
3704WIDTH="20%"
3705ALIGN="RIGHT"
3706VALIGN="TOP"
3707><I
3708CLASS="EMPHASIS"
3709>Returns</I
3710> :</TD
3711><TD
3712WIDTH="80%"
3713ALIGN="LEFT"
3714VALIGN="TOP"
3715>&nbsp;</TD
3716></TR
3717></TABLE
3718><P
3719></P
3720></DIV
3721></DIV
3722><HR><DIV
3723CLASS="REFSECT2"
3724><A
Daniel Veillard35008381999-10-25 13:15:52 +00003725NAME="AEN5561"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003726></A
3727><H3
3728><A
3729NAME="XMLFREEREFTABLE"
3730></A
3731>xmlFreeRefTable ()</H3
3732><TABLE
3733BORDER="0"
3734BGCOLOR="#D6E8FF"
3735WIDTH="100%"
3736CELLPADDING="6"
3737><TR
3738><TD
3739><PRE
3740CLASS="PROGRAMLISTING"
3741>void xmlFreeRefTable (<A
3742HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
3743>xmlRefTablePtr</A
3744> table);</PRE
3745></TD
3746></TR
3747></TABLE
3748><P
3749>Deallocate the memory used by an Ref hash table.</P
3750><P
3751></P
3752><DIV
3753CLASS="INFORMALTABLE"
3754><P
3755></P
3756><TABLE
3757BORDER="0"
3758WIDTH="100%"
3759BGCOLOR="#FFD0D0"
3760CELLSPACING="0"
3761CELLPADDING="4"
3762CLASS="CALSTABLE"
3763><TR
3764><TD
3765WIDTH="20%"
3766ALIGN="RIGHT"
3767VALIGN="TOP"
3768><TT
3769CLASS="PARAMETER"
3770><I
3771>table</I
3772></TT
3773>&nbsp;:</TD
3774><TD
3775WIDTH="80%"
3776ALIGN="LEFT"
3777VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003778> An ref table</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003779></TR
3780></TABLE
3781><P
3782></P
3783></DIV
3784></DIV
3785><HR><DIV
3786CLASS="REFSECT2"
3787><A
Daniel Veillard35008381999-10-25 13:15:52 +00003788NAME="AEN5577"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003789></A
3790><H3
3791><A
3792NAME="XMLISREF"
3793></A
3794>xmlIsRef ()</H3
3795><TABLE
3796BORDER="0"
3797BGCOLOR="#D6E8FF"
3798WIDTH="100%"
3799CELLPADDING="6"
3800><TR
3801><TD
3802><PRE
3803CLASS="PROGRAMLISTING"
3804>int xmlIsRef (<A
3805HREF="gnome-xml-tree.html#XMLDOCPTR"
3806>xmlDocPtr</A
3807> doc,
3808 <A
3809HREF="gnome-xml-tree.html#XMLNODEPTR"
3810>xmlNodePtr</A
3811> elem,
3812 <A
3813HREF="gnome-xml-tree.html#XMLATTRPTR"
3814>xmlAttrPtr</A
3815> attr);</PRE
3816></TD
3817></TR
3818></TABLE
3819><P
3820>Determine whether an attribute is of type Ref. In case we have Dtd(s)
3821then this is simple, otherwise we use an heuristic: name Ref (upper
3822or lowercase).</P
3823><P
3824></P
3825><DIV
3826CLASS="INFORMALTABLE"
3827><P
3828></P
3829><TABLE
3830BORDER="0"
3831WIDTH="100%"
3832BGCOLOR="#FFD0D0"
3833CELLSPACING="0"
3834CELLPADDING="4"
3835CLASS="CALSTABLE"
3836><TR
3837><TD
3838WIDTH="20%"
3839ALIGN="RIGHT"
3840VALIGN="TOP"
3841><TT
3842CLASS="PARAMETER"
3843><I
3844>doc</I
3845></TT
3846>&nbsp;:</TD
3847><TD
3848WIDTH="80%"
3849ALIGN="LEFT"
3850VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003851> the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003852></TR
3853><TR
3854><TD
3855WIDTH="20%"
3856ALIGN="RIGHT"
3857VALIGN="TOP"
3858><TT
3859CLASS="PARAMETER"
3860><I
3861>elem</I
3862></TT
3863>&nbsp;:</TD
3864><TD
3865WIDTH="80%"
3866ALIGN="LEFT"
3867VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003868> the element carrying the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003869></TR
3870><TR
3871><TD
3872WIDTH="20%"
3873ALIGN="RIGHT"
3874VALIGN="TOP"
3875><TT
3876CLASS="PARAMETER"
3877><I
3878>attr</I
3879></TT
3880>&nbsp;:</TD
3881><TD
3882WIDTH="80%"
3883ALIGN="LEFT"
3884VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003885> the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003886></TR
3887><TR
3888><TD
3889WIDTH="20%"
3890ALIGN="RIGHT"
3891VALIGN="TOP"
3892><I
3893CLASS="EMPHASIS"
3894>Returns</I
3895> :</TD
3896><TD
3897WIDTH="80%"
3898ALIGN="LEFT"
3899VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003900>0 or 1 depending on the lookup result</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003901></TR
3902></TABLE
3903><P
3904></P
3905></DIV
3906></DIV
3907><HR><DIV
3908CLASS="REFSECT2"
3909><A
Daniel Veillard35008381999-10-25 13:15:52 +00003910NAME="AEN5607"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003911></A
3912><H3
3913><A
3914NAME="XMLVALIDATEROOT"
3915></A
3916>xmlValidateRoot ()</H3
3917><TABLE
3918BORDER="0"
3919BGCOLOR="#D6E8FF"
3920WIDTH="100%"
3921CELLPADDING="6"
3922><TR
3923><TD
3924><PRE
3925CLASS="PROGRAMLISTING"
3926>int xmlValidateRoot (<GTKDOCLINK
3927HREF="XMLVALIDCTXTPTR"
3928>xmlValidCtxtPtr</GTKDOCLINK
3929> ctxt,
3930 <A
3931HREF="gnome-xml-tree.html#XMLDOCPTR"
3932>xmlDocPtr</A
3933> doc);</PRE
3934></TD
3935></TR
3936></TABLE
3937><P
3938>Try to validate a the root element
3939basically it does the following check as described by the
3940XML-1.0 recommendation:
3941- [ VC: Root Element Type ]
3942it doesn't try to recurse or apply other check to the element</P
3943><P
3944></P
3945><DIV
3946CLASS="INFORMALTABLE"
3947><P
3948></P
3949><TABLE
3950BORDER="0"
3951WIDTH="100%"
3952BGCOLOR="#FFD0D0"
3953CELLSPACING="0"
3954CELLPADDING="4"
3955CLASS="CALSTABLE"
3956><TR
3957><TD
3958WIDTH="20%"
3959ALIGN="RIGHT"
3960VALIGN="TOP"
3961><TT
3962CLASS="PARAMETER"
3963><I
3964>ctxt</I
3965></TT
3966>&nbsp;:</TD
3967><TD
3968WIDTH="80%"
3969ALIGN="LEFT"
3970VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003971> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003972></TR
3973><TR
3974><TD
3975WIDTH="20%"
3976ALIGN="RIGHT"
3977VALIGN="TOP"
3978><TT
3979CLASS="PARAMETER"
3980><I
3981>doc</I
3982></TT
3983>&nbsp;:</TD
3984><TD
3985WIDTH="80%"
3986ALIGN="LEFT"
3987VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003988> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003989></TR
3990><TR
3991><TD
3992WIDTH="20%"
3993ALIGN="RIGHT"
3994VALIGN="TOP"
3995><I
3996CLASS="EMPHASIS"
3997>Returns</I
3998> :</TD
3999><TD
4000WIDTH="80%"
4001ALIGN="LEFT"
4002VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004003>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004004></TR
4005></TABLE
4006><P
4007></P
4008></DIV
4009></DIV
4010><HR><DIV
4011CLASS="REFSECT2"
4012><A
Daniel Veillard35008381999-10-25 13:15:52 +00004013NAME="AEN5632"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004014></A
4015><H3
4016><A
4017NAME="XMLVALIDATEELEMENTDECL"
4018></A
4019>xmlValidateElementDecl ()</H3
4020><TABLE
4021BORDER="0"
4022BGCOLOR="#D6E8FF"
4023WIDTH="100%"
4024CELLPADDING="6"
4025><TR
4026><TD
4027><PRE
4028CLASS="PROGRAMLISTING"
4029>int xmlValidateElementDecl (<GTKDOCLINK
4030HREF="XMLVALIDCTXTPTR"
4031>xmlValidCtxtPtr</GTKDOCLINK
4032> ctxt,
4033 <A
4034HREF="gnome-xml-tree.html#XMLDOCPTR"
4035>xmlDocPtr</A
4036> doc,
4037 <A
4038HREF="gnome-xml-tree.html#XMLELEMENTPTR"
4039>xmlElementPtr</A
4040> elem);</PRE
4041></TD
4042></TR
4043></TABLE
4044><P
4045>Try to validate a single element definition
4046basically it does the following checks as described by the
4047XML-1.0 recommendation:
4048- [ VC: One ID per Element Type ]
4049- [ VC: No Duplicate Types ]
4050- [ VC: Unique Element Type Declaration ]</P
4051><P
4052></P
4053><DIV
4054CLASS="INFORMALTABLE"
4055><P
4056></P
4057><TABLE
4058BORDER="0"
4059WIDTH="100%"
4060BGCOLOR="#FFD0D0"
4061CELLSPACING="0"
4062CELLPADDING="4"
4063CLASS="CALSTABLE"
4064><TR
4065><TD
4066WIDTH="20%"
4067ALIGN="RIGHT"
4068VALIGN="TOP"
4069><TT
4070CLASS="PARAMETER"
4071><I
4072>ctxt</I
4073></TT
4074>&nbsp;:</TD
4075><TD
4076WIDTH="80%"
4077ALIGN="LEFT"
4078VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004079> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004080></TR
4081><TR
4082><TD
4083WIDTH="20%"
4084ALIGN="RIGHT"
4085VALIGN="TOP"
4086><TT
4087CLASS="PARAMETER"
4088><I
4089>doc</I
4090></TT
4091>&nbsp;:</TD
4092><TD
4093WIDTH="80%"
4094ALIGN="LEFT"
4095VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004096> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004097></TR
4098><TR
4099><TD
4100WIDTH="20%"
4101ALIGN="RIGHT"
4102VALIGN="TOP"
4103><TT
4104CLASS="PARAMETER"
4105><I
4106>elem</I
4107></TT
4108>&nbsp;:</TD
4109><TD
4110WIDTH="80%"
4111ALIGN="LEFT"
4112VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004113> an element definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004114></TR
4115><TR
4116><TD
4117WIDTH="20%"
4118ALIGN="RIGHT"
4119VALIGN="TOP"
4120><I
4121CLASS="EMPHASIS"
4122>Returns</I
4123> :</TD
4124><TD
4125WIDTH="80%"
4126ALIGN="LEFT"
4127VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004128>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004129></TR
4130></TABLE
4131><P
4132></P
4133></DIV
4134></DIV
4135><HR><DIV
4136CLASS="REFSECT2"
4137><A
Daniel Veillard35008381999-10-25 13:15:52 +00004138NAME="AEN5662"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004139></A
4140><H3
4141><A
4142NAME="XMLVALIDATEATTRIBUTEDECL"
4143></A
4144>xmlValidateAttributeDecl ()</H3
4145><TABLE
4146BORDER="0"
4147BGCOLOR="#D6E8FF"
4148WIDTH="100%"
4149CELLPADDING="6"
4150><TR
4151><TD
4152><PRE
4153CLASS="PROGRAMLISTING"
4154>int xmlValidateAttributeDecl (<GTKDOCLINK
4155HREF="XMLVALIDCTXTPTR"
4156>xmlValidCtxtPtr</GTKDOCLINK
4157> ctxt,
4158 <A
4159HREF="gnome-xml-tree.html#XMLDOCPTR"
4160>xmlDocPtr</A
4161> doc,
4162 <A
4163HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
4164>xmlAttributePtr</A
4165> attr);</PRE
4166></TD
4167></TR
4168></TABLE
4169><P
4170>Try to validate a single attribute definition
4171basically it does the following checks as described by the
4172XML-1.0 recommendation:
4173- [ VC: Attribute Default Legal ]
4174- [ VC: Enumeration ]
4175- [ VC: ID Attribute Default ]</P
4176><P
4177>The ID/IDREF uniqueness and matching are done separately</P
4178><P
4179></P
4180><DIV
4181CLASS="INFORMALTABLE"
4182><P
4183></P
4184><TABLE
4185BORDER="0"
4186WIDTH="100%"
4187BGCOLOR="#FFD0D0"
4188CELLSPACING="0"
4189CELLPADDING="4"
4190CLASS="CALSTABLE"
4191><TR
4192><TD
4193WIDTH="20%"
4194ALIGN="RIGHT"
4195VALIGN="TOP"
4196><TT
4197CLASS="PARAMETER"
4198><I
4199>ctxt</I
4200></TT
4201>&nbsp;:</TD
4202><TD
4203WIDTH="80%"
4204ALIGN="LEFT"
4205VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004206> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004207></TR
4208><TR
4209><TD
4210WIDTH="20%"
4211ALIGN="RIGHT"
4212VALIGN="TOP"
4213><TT
4214CLASS="PARAMETER"
4215><I
4216>doc</I
4217></TT
4218>&nbsp;:</TD
4219><TD
4220WIDTH="80%"
4221ALIGN="LEFT"
4222VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004223> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004224></TR
4225><TR
4226><TD
4227WIDTH="20%"
4228ALIGN="RIGHT"
4229VALIGN="TOP"
4230><TT
4231CLASS="PARAMETER"
4232><I
4233>attr</I
4234></TT
4235>&nbsp;:</TD
4236><TD
4237WIDTH="80%"
4238ALIGN="LEFT"
4239VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004240> an attribute definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004241></TR
4242><TR
4243><TD
4244WIDTH="20%"
4245ALIGN="RIGHT"
4246VALIGN="TOP"
4247><I
4248CLASS="EMPHASIS"
4249>Returns</I
4250> :</TD
4251><TD
4252WIDTH="80%"
4253ALIGN="LEFT"
4254VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004255>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004256></TR
4257></TABLE
4258><P
4259></P
4260></DIV
4261></DIV
4262><HR><DIV
4263CLASS="REFSECT2"
4264><A
Daniel Veillard35008381999-10-25 13:15:52 +00004265NAME="AEN5693"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004266></A
4267><H3
4268><A
4269NAME="XMLVALIDATEATTRIBUTEVALUE"
4270></A
4271>xmlValidateAttributeValue ()</H3
4272><TABLE
4273BORDER="0"
4274BGCOLOR="#D6E8FF"
4275WIDTH="100%"
4276CELLPADDING="6"
4277><TR
4278><TD
4279><PRE
4280CLASS="PROGRAMLISTING"
4281>int xmlValidateAttributeValue (<A
4282HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
4283>xmlAttributeType</A
4284> type,
4285 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004286HREF="gnome-xml-tree.html#XMLCHAR"
4287>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004288> *value);</PRE
4289></TD
4290></TR
4291></TABLE
4292><P
4293>Validate that the given attribute value match the proper production</P
4294><P
4295>[ VC: ID ]
4296Values of type ID must match the Name production....</P
4297><P
4298>[ VC: IDREF ]
4299Values of type IDREF must match the Name production, and values
4300of type IDREFS must match Names ...</P
4301><P
4302>[ VC: Entity Name ]
4303Values of type ENTITY must match the Name production, values
4304of type ENTITIES must match Names ...</P
4305><P
4306>[ VC: Name Token ]
4307Values of type NMTOKEN must match the Nmtoken production; values
4308of type NMTOKENS must match Nmtokens.</P
4309><P
4310></P
4311><DIV
4312CLASS="INFORMALTABLE"
4313><P
4314></P
4315><TABLE
4316BORDER="0"
4317WIDTH="100%"
4318BGCOLOR="#FFD0D0"
4319CELLSPACING="0"
4320CELLPADDING="4"
4321CLASS="CALSTABLE"
4322><TR
4323><TD
4324WIDTH="20%"
4325ALIGN="RIGHT"
4326VALIGN="TOP"
4327><TT
4328CLASS="PARAMETER"
4329><I
4330>type</I
4331></TT
4332>&nbsp;:</TD
4333><TD
4334WIDTH="80%"
4335ALIGN="LEFT"
4336VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004337> an attribute type</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004338></TR
4339><TR
4340><TD
4341WIDTH="20%"
4342ALIGN="RIGHT"
4343VALIGN="TOP"
4344><TT
4345CLASS="PARAMETER"
4346><I
4347>value</I
4348></TT
4349>&nbsp;:</TD
4350><TD
4351WIDTH="80%"
4352ALIGN="LEFT"
4353VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004354> an attribute value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004355></TR
4356><TR
4357><TD
4358WIDTH="20%"
4359ALIGN="RIGHT"
4360VALIGN="TOP"
4361><I
4362CLASS="EMPHASIS"
4363>Returns</I
4364> :</TD
4365><TD
4366WIDTH="80%"
4367ALIGN="LEFT"
4368VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004369>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004370></TR
4371></TABLE
4372><P
4373></P
4374></DIV
4375></DIV
4376><HR><DIV
4377CLASS="REFSECT2"
4378><A
Daniel Veillard35008381999-10-25 13:15:52 +00004379NAME="AEN5722"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004380></A
4381><H3
4382><A
4383NAME="XMLVALIDATENOTATIONDECL"
4384></A
4385>xmlValidateNotationDecl ()</H3
4386><TABLE
4387BORDER="0"
4388BGCOLOR="#D6E8FF"
4389WIDTH="100%"
4390CELLPADDING="6"
4391><TR
4392><TD
4393><PRE
4394CLASS="PROGRAMLISTING"
4395>int xmlValidateNotationDecl (<GTKDOCLINK
4396HREF="XMLVALIDCTXTPTR"
4397>xmlValidCtxtPtr</GTKDOCLINK
4398> ctxt,
4399 <A
4400HREF="gnome-xml-tree.html#XMLDOCPTR"
4401>xmlDocPtr</A
4402> doc,
4403 <A
4404HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
4405>xmlNotationPtr</A
4406> nota);</PRE
4407></TD
4408></TR
4409></TABLE
4410><P
4411>Try to validate a single notation definition
4412basically it does the following checks as described by the
4413XML-1.0 recommendation:
4414- it seems that no validity constraing exist on notation declarations
4415But this function get called anyway ...</P
4416><P
4417></P
4418><DIV
4419CLASS="INFORMALTABLE"
4420><P
4421></P
4422><TABLE
4423BORDER="0"
4424WIDTH="100%"
4425BGCOLOR="#FFD0D0"
4426CELLSPACING="0"
4427CELLPADDING="4"
4428CLASS="CALSTABLE"
4429><TR
4430><TD
4431WIDTH="20%"
4432ALIGN="RIGHT"
4433VALIGN="TOP"
4434><TT
4435CLASS="PARAMETER"
4436><I
4437>ctxt</I
4438></TT
4439>&nbsp;:</TD
4440><TD
4441WIDTH="80%"
4442ALIGN="LEFT"
4443VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004444> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004445></TR
4446><TR
4447><TD
4448WIDTH="20%"
4449ALIGN="RIGHT"
4450VALIGN="TOP"
4451><TT
4452CLASS="PARAMETER"
4453><I
4454>doc</I
4455></TT
4456>&nbsp;:</TD
4457><TD
4458WIDTH="80%"
4459ALIGN="LEFT"
4460VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004461> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004462></TR
4463><TR
4464><TD
4465WIDTH="20%"
4466ALIGN="RIGHT"
4467VALIGN="TOP"
4468><TT
4469CLASS="PARAMETER"
4470><I
4471>nota</I
4472></TT
4473>&nbsp;:</TD
4474><TD
4475WIDTH="80%"
4476ALIGN="LEFT"
4477VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004478> a notation definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004479></TR
4480><TR
4481><TD
4482WIDTH="20%"
4483ALIGN="RIGHT"
4484VALIGN="TOP"
4485><I
4486CLASS="EMPHASIS"
4487>Returns</I
4488> :</TD
4489><TD
4490WIDTH="80%"
4491ALIGN="LEFT"
4492VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004493>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004494></TR
4495></TABLE
4496><P
4497></P
4498></DIV
4499></DIV
4500><HR><DIV
4501CLASS="REFSECT2"
4502><A
Daniel Veillard35008381999-10-25 13:15:52 +00004503NAME="AEN5752"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004504></A
4505><H3
4506><A
4507NAME="XMLVALIDATEDTD"
4508></A
4509>xmlValidateDtd ()</H3
4510><TABLE
4511BORDER="0"
4512BGCOLOR="#D6E8FF"
4513WIDTH="100%"
4514CELLPADDING="6"
4515><TR
4516><TD
4517><PRE
4518CLASS="PROGRAMLISTING"
4519>int xmlValidateDtd (<GTKDOCLINK
4520HREF="XMLVALIDCTXTPTR"
4521>xmlValidCtxtPtr</GTKDOCLINK
4522> ctxt,
4523 <A
4524HREF="gnome-xml-tree.html#XMLDOCPTR"
4525>xmlDocPtr</A
4526> doc,
4527 <A
4528HREF="gnome-xml-tree.html#XMLDTDPTR"
4529>xmlDtdPtr</A
4530> dtd);</PRE
4531></TD
4532></TR
4533></TABLE
4534><P
4535>Try to validate the dtd instance</P
4536><P
4537>basically it does check all the definitions in the DtD.</P
4538><P
4539></P
4540><DIV
4541CLASS="INFORMALTABLE"
4542><P
4543></P
4544><TABLE
4545BORDER="0"
4546WIDTH="100%"
4547BGCOLOR="#FFD0D0"
4548CELLSPACING="0"
4549CELLPADDING="4"
4550CLASS="CALSTABLE"
4551><TR
4552><TD
4553WIDTH="20%"
4554ALIGN="RIGHT"
4555VALIGN="TOP"
4556><TT
4557CLASS="PARAMETER"
4558><I
4559>ctxt</I
4560></TT
4561>&nbsp;:</TD
4562><TD
4563WIDTH="80%"
4564ALIGN="LEFT"
4565VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004566> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004567></TR
4568><TR
4569><TD
4570WIDTH="20%"
4571ALIGN="RIGHT"
4572VALIGN="TOP"
4573><TT
4574CLASS="PARAMETER"
4575><I
4576>doc</I
4577></TT
4578>&nbsp;:</TD
4579><TD
4580WIDTH="80%"
4581ALIGN="LEFT"
4582VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004583> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004584></TR
4585><TR
4586><TD
4587WIDTH="20%"
4588ALIGN="RIGHT"
4589VALIGN="TOP"
4590><TT
4591CLASS="PARAMETER"
4592><I
4593>dtd</I
4594></TT
4595>&nbsp;:</TD
4596><TD
4597WIDTH="80%"
4598ALIGN="LEFT"
4599VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004600> a dtd instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004601></TR
4602><TR
4603><TD
4604WIDTH="20%"
4605ALIGN="RIGHT"
4606VALIGN="TOP"
4607><I
4608CLASS="EMPHASIS"
4609>Returns</I
4610> :</TD
4611><TD
4612WIDTH="80%"
4613ALIGN="LEFT"
4614VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004615>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004616></TR
4617></TABLE
4618><P
4619></P
4620></DIV
4621></DIV
4622><HR><DIV
4623CLASS="REFSECT2"
4624><A
Daniel Veillard35008381999-10-25 13:15:52 +00004625NAME="AEN5783"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004626></A
4627><H3
4628><A
4629NAME="XMLVALIDATEDOCUMENT"
4630></A
4631>xmlValidateDocument ()</H3
4632><TABLE
4633BORDER="0"
4634BGCOLOR="#D6E8FF"
4635WIDTH="100%"
4636CELLPADDING="6"
4637><TR
4638><TD
4639><PRE
4640CLASS="PROGRAMLISTING"
4641>int xmlValidateDocument (<GTKDOCLINK
4642HREF="XMLVALIDCTXTPTR"
4643>xmlValidCtxtPtr</GTKDOCLINK
4644> ctxt,
4645 <A
4646HREF="gnome-xml-tree.html#XMLDOCPTR"
4647>xmlDocPtr</A
4648> doc);</PRE
4649></TD
4650></TR
4651></TABLE
4652><P
4653>Try to validate the document instance</P
4654><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004655>basically it does the all the checks described by the XML Rec
Daniel Veillardb05deb71999-08-10 19:04:08 +00004656i.e. validates the internal and external subset (if present)
4657and validate the document tree.</P
4658><P
4659></P
4660><DIV
4661CLASS="INFORMALTABLE"
4662><P
4663></P
4664><TABLE
4665BORDER="0"
4666WIDTH="100%"
4667BGCOLOR="#FFD0D0"
4668CELLSPACING="0"
4669CELLPADDING="4"
4670CLASS="CALSTABLE"
4671><TR
4672><TD
4673WIDTH="20%"
4674ALIGN="RIGHT"
4675VALIGN="TOP"
4676><TT
4677CLASS="PARAMETER"
4678><I
4679>ctxt</I
4680></TT
4681>&nbsp;:</TD
4682><TD
4683WIDTH="80%"
4684ALIGN="LEFT"
4685VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004686> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004687></TR
4688><TR
4689><TD
4690WIDTH="20%"
4691ALIGN="RIGHT"
4692VALIGN="TOP"
4693><TT
4694CLASS="PARAMETER"
4695><I
4696>doc</I
4697></TT
4698>&nbsp;:</TD
4699><TD
4700WIDTH="80%"
4701ALIGN="LEFT"
4702VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004703> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004704></TR
4705><TR
4706><TD
4707WIDTH="20%"
4708ALIGN="RIGHT"
4709VALIGN="TOP"
4710><I
4711CLASS="EMPHASIS"
4712>Returns</I
4713> :</TD
4714><TD
4715WIDTH="80%"
4716ALIGN="LEFT"
4717VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004718>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004719></TR
4720></TABLE
4721><P
4722></P
4723></DIV
4724></DIV
4725><HR><DIV
4726CLASS="REFSECT2"
4727><A
Daniel Veillard35008381999-10-25 13:15:52 +00004728NAME="AEN5809"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004729></A
4730><H3
4731><A
4732NAME="XMLVALIDATEELEMENT"
4733></A
4734>xmlValidateElement ()</H3
4735><TABLE
4736BORDER="0"
4737BGCOLOR="#D6E8FF"
4738WIDTH="100%"
4739CELLPADDING="6"
4740><TR
4741><TD
4742><PRE
4743CLASS="PROGRAMLISTING"
4744>int xmlValidateElement (<GTKDOCLINK
4745HREF="XMLVALIDCTXTPTR"
4746>xmlValidCtxtPtr</GTKDOCLINK
4747> ctxt,
4748 <A
4749HREF="gnome-xml-tree.html#XMLDOCPTR"
4750>xmlDocPtr</A
4751> doc,
4752 <A
4753HREF="gnome-xml-tree.html#XMLNODEPTR"
4754>xmlNodePtr</A
4755> elem);</PRE
4756></TD
4757></TR
4758></TABLE
4759><P
4760>Try to validate the subtree under an element</P
4761><P
4762></P
4763><DIV
4764CLASS="INFORMALTABLE"
4765><P
4766></P
4767><TABLE
4768BORDER="0"
4769WIDTH="100%"
4770BGCOLOR="#FFD0D0"
4771CELLSPACING="0"
4772CELLPADDING="4"
4773CLASS="CALSTABLE"
4774><TR
4775><TD
4776WIDTH="20%"
4777ALIGN="RIGHT"
4778VALIGN="TOP"
4779><TT
4780CLASS="PARAMETER"
4781><I
4782>ctxt</I
4783></TT
4784>&nbsp;:</TD
4785><TD
4786WIDTH="80%"
4787ALIGN="LEFT"
4788VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004789> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004790></TR
4791><TR
4792><TD
4793WIDTH="20%"
4794ALIGN="RIGHT"
4795VALIGN="TOP"
4796><TT
4797CLASS="PARAMETER"
4798><I
4799>doc</I
4800></TT
4801>&nbsp;:</TD
4802><TD
4803WIDTH="80%"
4804ALIGN="LEFT"
4805VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004806> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004807></TR
4808><TR
4809><TD
4810WIDTH="20%"
4811ALIGN="RIGHT"
4812VALIGN="TOP"
4813><TT
4814CLASS="PARAMETER"
4815><I
4816>elem</I
4817></TT
4818>&nbsp;:</TD
4819><TD
4820WIDTH="80%"
4821ALIGN="LEFT"
4822VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004823> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004824></TR
4825><TR
4826><TD
4827WIDTH="20%"
4828ALIGN="RIGHT"
4829VALIGN="TOP"
4830><I
4831CLASS="EMPHASIS"
4832>Returns</I
4833> :</TD
4834><TD
4835WIDTH="80%"
4836ALIGN="LEFT"
4837VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004838>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004839></TR
4840></TABLE
4841><P
4842></P
4843></DIV
4844></DIV
4845><HR><DIV
4846CLASS="REFSECT2"
4847><A
Daniel Veillard35008381999-10-25 13:15:52 +00004848NAME="AEN5839"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004849></A
4850><H3
4851><A
4852NAME="XMLVALIDATEONEELEMENT"
4853></A
4854>xmlValidateOneElement ()</H3
4855><TABLE
4856BORDER="0"
4857BGCOLOR="#D6E8FF"
4858WIDTH="100%"
4859CELLPADDING="6"
4860><TR
4861><TD
4862><PRE
4863CLASS="PROGRAMLISTING"
4864>int xmlValidateOneElement (<GTKDOCLINK
4865HREF="XMLVALIDCTXTPTR"
4866>xmlValidCtxtPtr</GTKDOCLINK
4867> ctxt,
4868 <A
4869HREF="gnome-xml-tree.html#XMLDOCPTR"
4870>xmlDocPtr</A
4871> doc,
4872 <A
4873HREF="gnome-xml-tree.html#XMLNODEPTR"
4874>xmlNodePtr</A
4875> elem);</PRE
4876></TD
4877></TR
4878></TABLE
4879><P
4880>Try to validate a single element and it's attributes,
4881basically it does the following checks as described by the
4882XML-1.0 recommendation:
4883- [ VC: Element Valid ]
4884- [ VC: Required Attribute ]
4885Then call <A
4886HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE"
4887>xmlValidateOneAttribute</A
4888>() for each attribute present.</P
4889><P
4890>The ID/IDREF checkings are done separately</P
4891><P
4892></P
4893><DIV
4894CLASS="INFORMALTABLE"
4895><P
4896></P
4897><TABLE
4898BORDER="0"
4899WIDTH="100%"
4900BGCOLOR="#FFD0D0"
4901CELLSPACING="0"
4902CELLPADDING="4"
4903CLASS="CALSTABLE"
4904><TR
4905><TD
4906WIDTH="20%"
4907ALIGN="RIGHT"
4908VALIGN="TOP"
4909><TT
4910CLASS="PARAMETER"
4911><I
4912>ctxt</I
4913></TT
4914>&nbsp;:</TD
4915><TD
4916WIDTH="80%"
4917ALIGN="LEFT"
4918VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004919> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004920></TR
4921><TR
4922><TD
4923WIDTH="20%"
4924ALIGN="RIGHT"
4925VALIGN="TOP"
4926><TT
4927CLASS="PARAMETER"
4928><I
4929>doc</I
4930></TT
4931>&nbsp;:</TD
4932><TD
4933WIDTH="80%"
4934ALIGN="LEFT"
4935VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004936> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004937></TR
4938><TR
4939><TD
4940WIDTH="20%"
4941ALIGN="RIGHT"
4942VALIGN="TOP"
4943><TT
4944CLASS="PARAMETER"
4945><I
4946>elem</I
4947></TT
4948>&nbsp;:</TD
4949><TD
4950WIDTH="80%"
4951ALIGN="LEFT"
4952VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004953> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004954></TR
4955><TR
4956><TD
4957WIDTH="20%"
4958ALIGN="RIGHT"
4959VALIGN="TOP"
4960><I
4961CLASS="EMPHASIS"
4962>Returns</I
4963> :</TD
4964><TD
4965WIDTH="80%"
4966ALIGN="LEFT"
4967VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004968>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004969></TR
4970></TABLE
4971><P
4972></P
4973></DIV
4974></DIV
4975><HR><DIV
4976CLASS="REFSECT2"
4977><A
Daniel Veillard35008381999-10-25 13:15:52 +00004978NAME="AEN5871"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004979></A
4980><H3
4981><A
4982NAME="XMLVALIDATEONEATTRIBUTE"
4983></A
4984>xmlValidateOneAttribute ()</H3
4985><TABLE
4986BORDER="0"
4987BGCOLOR="#D6E8FF"
4988WIDTH="100%"
4989CELLPADDING="6"
4990><TR
4991><TD
4992><PRE
4993CLASS="PROGRAMLISTING"
4994>int xmlValidateOneAttribute (<GTKDOCLINK
4995HREF="XMLVALIDCTXTPTR"
4996>xmlValidCtxtPtr</GTKDOCLINK
4997> ctxt,
4998 <A
4999HREF="gnome-xml-tree.html#XMLDOCPTR"
5000>xmlDocPtr</A
5001> doc,
5002 <A
5003HREF="gnome-xml-tree.html#XMLNODEPTR"
5004>xmlNodePtr</A
5005> elem,
5006 <A
5007HREF="gnome-xml-tree.html#XMLATTRPTR"
5008>xmlAttrPtr</A
5009> attr,
5010 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005011HREF="gnome-xml-tree.html#XMLCHAR"
5012>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005013> *value);</PRE
5014></TD
5015></TR
5016></TABLE
5017><P
5018>Try to validate a single attribute for an element
5019basically it * does the following checks as described by the
5020XML-1.0 recommendation:
5021- [ VC: Attribute Value Type ]
5022- [ VC: Fixed Attribute Default ]
5023- [ VC: Entity Name ]
5024- [ VC: Name Token ]
5025- [ VC: ID ]
5026- [ VC: IDREF ]
5027- [ VC: Entity Name ]
5028- [ VC: Notation Attributes ]</P
5029><P
5030>The ID/IDREF uniqueness and matching are done separately</P
5031><P
5032></P
5033><DIV
5034CLASS="INFORMALTABLE"
5035><P
5036></P
5037><TABLE
5038BORDER="0"
5039WIDTH="100%"
5040BGCOLOR="#FFD0D0"
5041CELLSPACING="0"
5042CELLPADDING="4"
5043CLASS="CALSTABLE"
5044><TR
5045><TD
5046WIDTH="20%"
5047ALIGN="RIGHT"
5048VALIGN="TOP"
5049><TT
5050CLASS="PARAMETER"
5051><I
5052>ctxt</I
5053></TT
5054>&nbsp;:</TD
5055><TD
5056WIDTH="80%"
5057ALIGN="LEFT"
5058VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005059> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005060></TR
5061><TR
5062><TD
5063WIDTH="20%"
5064ALIGN="RIGHT"
5065VALIGN="TOP"
5066><TT
5067CLASS="PARAMETER"
5068><I
5069>doc</I
5070></TT
5071>&nbsp;:</TD
5072><TD
5073WIDTH="80%"
5074ALIGN="LEFT"
5075VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005076> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005077></TR
5078><TR
5079><TD
5080WIDTH="20%"
5081ALIGN="RIGHT"
5082VALIGN="TOP"
5083><TT
5084CLASS="PARAMETER"
5085><I
5086>elem</I
5087></TT
5088>&nbsp;:</TD
5089><TD
5090WIDTH="80%"
5091ALIGN="LEFT"
5092VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005093> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005094></TR
5095><TR
5096><TD
5097WIDTH="20%"
5098ALIGN="RIGHT"
5099VALIGN="TOP"
5100><TT
5101CLASS="PARAMETER"
5102><I
5103>attr</I
5104></TT
5105>&nbsp;:</TD
5106><TD
5107WIDTH="80%"
5108ALIGN="LEFT"
5109VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005110> an attribute instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005111></TR
5112><TR
5113><TD
5114WIDTH="20%"
5115ALIGN="RIGHT"
5116VALIGN="TOP"
5117><TT
5118CLASS="PARAMETER"
5119><I
5120>value</I
5121></TT
5122>&nbsp;:</TD
5123><TD
5124WIDTH="80%"
5125ALIGN="LEFT"
5126VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005127> the attribute value (without entities processing)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005128></TR
5129><TR
5130><TD
5131WIDTH="20%"
5132ALIGN="RIGHT"
5133VALIGN="TOP"
5134><I
5135CLASS="EMPHASIS"
5136>Returns</I
5137> :</TD
5138><TD
5139WIDTH="80%"
5140ALIGN="LEFT"
5141VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005142>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005143></TR
5144></TABLE
5145><P
5146></P
5147></DIV
5148></DIV
5149><HR><DIV
5150CLASS="REFSECT2"
5151><A
Daniel Veillard35008381999-10-25 13:15:52 +00005152NAME="AEN5912"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005153></A
5154><H3
5155><A
5156NAME="XMLVALIDATEDOCUMENTFINAL"
5157></A
5158>xmlValidateDocumentFinal ()</H3
5159><TABLE
5160BORDER="0"
5161BGCOLOR="#D6E8FF"
5162WIDTH="100%"
5163CELLPADDING="6"
5164><TR
5165><TD
5166><PRE
5167CLASS="PROGRAMLISTING"
5168>int xmlValidateDocumentFinal (<GTKDOCLINK
5169HREF="XMLVALIDCTXTPTR"
5170>xmlValidCtxtPtr</GTKDOCLINK
5171> ctxt,
5172 <A
5173HREF="gnome-xml-tree.html#XMLDOCPTR"
5174>xmlDocPtr</A
5175> doc);</PRE
5176></TD
5177></TR
5178></TABLE
5179><P
5180>Does the final step for the document validation once all the
5181incremental validation steps have been completed</P
5182><P
5183>basically it does the following checks described by the XML Rec</P
5184><P
5185></P
5186><DIV
5187CLASS="INFORMALTABLE"
5188><P
5189></P
5190><TABLE
5191BORDER="0"
5192WIDTH="100%"
5193BGCOLOR="#FFD0D0"
5194CELLSPACING="0"
5195CELLPADDING="4"
5196CLASS="CALSTABLE"
5197><TR
5198><TD
5199WIDTH="20%"
5200ALIGN="RIGHT"
5201VALIGN="TOP"
5202><TT
5203CLASS="PARAMETER"
5204><I
5205>ctxt</I
5206></TT
5207>&nbsp;:</TD
5208><TD
5209WIDTH="80%"
5210ALIGN="LEFT"
5211VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005212> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005213></TR
5214><TR
5215><TD
5216WIDTH="20%"
5217ALIGN="RIGHT"
5218VALIGN="TOP"
5219><TT
5220CLASS="PARAMETER"
5221><I
5222>doc</I
5223></TT
5224>&nbsp;:</TD
5225><TD
5226WIDTH="80%"
5227ALIGN="LEFT"
5228VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005229> a document instance</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005230></TR
5231><TR
5232><TD
5233WIDTH="20%"
5234ALIGN="RIGHT"
5235VALIGN="TOP"
5236><I
5237CLASS="EMPHASIS"
5238>Returns</I
5239> :</TD
5240><TD
5241WIDTH="80%"
5242ALIGN="LEFT"
5243VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005244>1 if valid or 0 otherwise</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005245></TR
5246></TABLE
5247><P
5248></P
5249></DIV
5250></DIV
5251><HR><DIV
5252CLASS="REFSECT2"
5253><A
Daniel Veillard35008381999-10-25 13:15:52 +00005254NAME="AEN5938"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005255></A
5256><H3
5257><A
5258NAME="XMLVALIDATENOTATIONUSE"
5259></A
5260>xmlValidateNotationUse ()</H3
5261><TABLE
5262BORDER="0"
5263BGCOLOR="#D6E8FF"
5264WIDTH="100%"
5265CELLPADDING="6"
5266><TR
5267><TD
5268><PRE
5269CLASS="PROGRAMLISTING"
5270>int xmlValidateNotationUse (<GTKDOCLINK
5271HREF="XMLVALIDCTXTPTR"
5272>xmlValidCtxtPtr</GTKDOCLINK
5273> ctxt,
5274 <A
5275HREF="gnome-xml-tree.html#XMLDOCPTR"
5276>xmlDocPtr</A
5277> doc,
5278 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005279HREF="gnome-xml-tree.html#XMLCHAR"
5280>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005281> *notationName);</PRE
5282></TD
5283></TR
5284></TABLE
5285><P
5286>Validate that the given mame match a notation declaration.
5287- [ VC: Notation Declared ]</P
5288><P
5289></P
5290><DIV
5291CLASS="INFORMALTABLE"
5292><P
5293></P
5294><TABLE
5295BORDER="0"
5296WIDTH="100%"
5297BGCOLOR="#FFD0D0"
5298CELLSPACING="0"
5299CELLPADDING="4"
5300CLASS="CALSTABLE"
5301><TR
5302><TD
5303WIDTH="20%"
5304ALIGN="RIGHT"
5305VALIGN="TOP"
5306><TT
5307CLASS="PARAMETER"
5308><I
5309>ctxt</I
5310></TT
5311>&nbsp;:</TD
5312><TD
5313WIDTH="80%"
5314ALIGN="LEFT"
5315VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005316> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005317></TR
5318><TR
5319><TD
5320WIDTH="20%"
5321ALIGN="RIGHT"
5322VALIGN="TOP"
5323><TT
5324CLASS="PARAMETER"
5325><I
5326>doc</I
5327></TT
5328>&nbsp;:</TD
5329><TD
5330WIDTH="80%"
5331ALIGN="LEFT"
5332VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005333> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005334></TR
5335><TR
5336><TD
5337WIDTH="20%"
5338ALIGN="RIGHT"
5339VALIGN="TOP"
5340><TT
5341CLASS="PARAMETER"
5342><I
5343>notationName</I
5344></TT
5345>&nbsp;:</TD
5346><TD
5347WIDTH="80%"
5348ALIGN="LEFT"
5349VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005350> the notation name to check</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005351></TR
5352><TR
5353><TD
5354WIDTH="20%"
5355ALIGN="RIGHT"
5356VALIGN="TOP"
5357><I
5358CLASS="EMPHASIS"
5359>Returns</I
5360> :</TD
5361><TD
5362WIDTH="80%"
5363ALIGN="LEFT"
5364VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005365>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005366></TR
5367></TABLE
5368><P
5369></P
5370></DIV
5371></DIV
5372><HR><DIV
5373CLASS="REFSECT2"
5374><A
Daniel Veillard35008381999-10-25 13:15:52 +00005375NAME="AEN5968"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005376></A
5377><H3
5378><A
5379NAME="XMLISMIXEDELEMENT"
5380></A
5381>xmlIsMixedElement ()</H3
5382><TABLE
5383BORDER="0"
5384BGCOLOR="#D6E8FF"
5385WIDTH="100%"
5386CELLPADDING="6"
5387><TR
5388><TD
5389><PRE
5390CLASS="PROGRAMLISTING"
5391>int xmlIsMixedElement (<A
5392HREF="gnome-xml-tree.html#XMLDOCPTR"
5393>xmlDocPtr</A
5394> doc,
5395 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005396HREF="gnome-xml-tree.html#XMLCHAR"
5397>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005398> *name);</PRE
5399></TD
5400></TR
5401></TABLE
5402><P
5403>Search in the DtDs whether an element accept Mixed content (or ANY)
5404basically if it is supposed to accept text childs</P
5405><P
5406></P
5407><DIV
5408CLASS="INFORMALTABLE"
5409><P
5410></P
5411><TABLE
5412BORDER="0"
5413WIDTH="100%"
5414BGCOLOR="#FFD0D0"
5415CELLSPACING="0"
5416CELLPADDING="4"
5417CLASS="CALSTABLE"
5418><TR
5419><TD
5420WIDTH="20%"
5421ALIGN="RIGHT"
5422VALIGN="TOP"
5423><TT
5424CLASS="PARAMETER"
5425><I
5426>doc</I
5427></TT
5428>&nbsp;:</TD
5429><TD
5430WIDTH="80%"
5431ALIGN="LEFT"
5432VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005433> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005434></TR
5435><TR
5436><TD
5437WIDTH="20%"
5438ALIGN="RIGHT"
5439VALIGN="TOP"
5440><TT
5441CLASS="PARAMETER"
5442><I
5443>name</I
5444></TT
5445>&nbsp;:</TD
5446><TD
5447WIDTH="80%"
5448ALIGN="LEFT"
5449VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005450> the element name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005451></TR
5452><TR
5453><TD
5454WIDTH="20%"
5455ALIGN="RIGHT"
5456VALIGN="TOP"
5457><I
5458CLASS="EMPHASIS"
5459>Returns</I
5460> :</TD
5461><TD
5462WIDTH="80%"
5463ALIGN="LEFT"
5464VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005465>0 if no, 1 if yes, and -1 if no element description is available</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005466></TR
5467></TABLE
5468><P
5469></P
5470></DIV
5471></DIV
5472><HR><DIV
5473CLASS="REFSECT2"
5474><A
Daniel Veillard35008381999-10-25 13:15:52 +00005475NAME="AEN5993"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005476></A
5477><H3
5478><A
5479NAME="XMLGETDTDATTRDESC"
5480></A
5481>xmlGetDtdAttrDesc ()</H3
5482><TABLE
5483BORDER="0"
5484BGCOLOR="#D6E8FF"
5485WIDTH="100%"
5486CELLPADDING="6"
5487><TR
5488><TD
5489><PRE
5490CLASS="PROGRAMLISTING"
5491><A
5492HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
5493>xmlAttributePtr</A
5494> xmlGetDtdAttrDesc (<A
5495HREF="gnome-xml-tree.html#XMLDTDPTR"
5496>xmlDtdPtr</A
5497> dtd,
5498 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005499HREF="gnome-xml-tree.html#XMLCHAR"
5500>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005501> *elem,
5502 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005503HREF="gnome-xml-tree.html#XMLCHAR"
5504>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005505> *name);</PRE
5506></TD
5507></TR
5508></TABLE
5509><P
5510>Search the Dtd for the description of this attribute on
5511this element.</P
5512><P
5513></P
5514><DIV
5515CLASS="INFORMALTABLE"
5516><P
5517></P
5518><TABLE
5519BORDER="0"
5520WIDTH="100%"
5521BGCOLOR="#FFD0D0"
5522CELLSPACING="0"
5523CELLPADDING="4"
5524CLASS="CALSTABLE"
5525><TR
5526><TD
5527WIDTH="20%"
5528ALIGN="RIGHT"
5529VALIGN="TOP"
5530><TT
5531CLASS="PARAMETER"
5532><I
5533>dtd</I
5534></TT
5535>&nbsp;:</TD
5536><TD
5537WIDTH="80%"
5538ALIGN="LEFT"
5539VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005540> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005541></TR
5542><TR
5543><TD
5544WIDTH="20%"
5545ALIGN="RIGHT"
5546VALIGN="TOP"
5547><TT
5548CLASS="PARAMETER"
5549><I
5550>elem</I
5551></TT
5552>&nbsp;:</TD
5553><TD
5554WIDTH="80%"
5555ALIGN="LEFT"
5556VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005557> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005558></TR
5559><TR
5560><TD
5561WIDTH="20%"
5562ALIGN="RIGHT"
5563VALIGN="TOP"
5564><TT
5565CLASS="PARAMETER"
5566><I
5567>name</I
5568></TT
5569>&nbsp;:</TD
5570><TD
5571WIDTH="80%"
5572ALIGN="LEFT"
5573VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005574> the attribute name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005575></TR
5576><TR
5577><TD
5578WIDTH="20%"
5579ALIGN="RIGHT"
5580VALIGN="TOP"
5581><I
5582CLASS="EMPHASIS"
5583>Returns</I
5584> :</TD
5585><TD
5586WIDTH="80%"
5587ALIGN="LEFT"
5588VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005589>the xmlAttributePtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005590></TR
5591></TABLE
5592><P
5593></P
5594></DIV
5595></DIV
5596><HR><DIV
5597CLASS="REFSECT2"
5598><A
Daniel Veillard35008381999-10-25 13:15:52 +00005599NAME="AEN6024"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005600></A
5601><H3
5602><A
5603NAME="XMLGETDTDNOTATIONDESC"
5604></A
5605>xmlGetDtdNotationDesc ()</H3
5606><TABLE
5607BORDER="0"
5608BGCOLOR="#D6E8FF"
5609WIDTH="100%"
5610CELLPADDING="6"
5611><TR
5612><TD
5613><PRE
5614CLASS="PROGRAMLISTING"
5615><A
5616HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
5617>xmlNotationPtr</A
5618> xmlGetDtdNotationDesc (<A
5619HREF="gnome-xml-tree.html#XMLDTDPTR"
5620>xmlDtdPtr</A
5621> dtd,
5622 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005623HREF="gnome-xml-tree.html#XMLCHAR"
5624>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005625> *name);</PRE
5626></TD
5627></TR
5628></TABLE
5629><P
5630>Search the Dtd for the description of this notation</P
5631><P
5632></P
5633><DIV
5634CLASS="INFORMALTABLE"
5635><P
5636></P
5637><TABLE
5638BORDER="0"
5639WIDTH="100%"
5640BGCOLOR="#FFD0D0"
5641CELLSPACING="0"
5642CELLPADDING="4"
5643CLASS="CALSTABLE"
5644><TR
5645><TD
5646WIDTH="20%"
5647ALIGN="RIGHT"
5648VALIGN="TOP"
5649><TT
5650CLASS="PARAMETER"
5651><I
5652>dtd</I
5653></TT
5654>&nbsp;:</TD
5655><TD
5656WIDTH="80%"
5657ALIGN="LEFT"
5658VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005659> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005660></TR
5661><TR
5662><TD
5663WIDTH="20%"
5664ALIGN="RIGHT"
5665VALIGN="TOP"
5666><TT
5667CLASS="PARAMETER"
5668><I
5669>name</I
5670></TT
5671>&nbsp;:</TD
5672><TD
5673WIDTH="80%"
5674ALIGN="LEFT"
5675VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005676> the notation name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005677></TR
5678><TR
5679><TD
5680WIDTH="20%"
5681ALIGN="RIGHT"
5682VALIGN="TOP"
5683><I
5684CLASS="EMPHASIS"
5685>Returns</I
5686> :</TD
5687><TD
5688WIDTH="80%"
5689ALIGN="LEFT"
5690VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005691>the xmlNotationPtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005692></TR
5693></TABLE
5694><P
5695></P
5696></DIV
5697></DIV
5698><HR><DIV
5699CLASS="REFSECT2"
5700><A
Daniel Veillard35008381999-10-25 13:15:52 +00005701NAME="AEN6050"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005702></A
5703><H3
5704><A
5705NAME="XMLGETDTDELEMENTDESC"
5706></A
5707>xmlGetDtdElementDesc ()</H3
5708><TABLE
5709BORDER="0"
5710BGCOLOR="#D6E8FF"
5711WIDTH="100%"
5712CELLPADDING="6"
5713><TR
5714><TD
5715><PRE
5716CLASS="PROGRAMLISTING"
5717><A
5718HREF="gnome-xml-tree.html#XMLELEMENTPTR"
5719>xmlElementPtr</A
5720> xmlGetDtdElementDesc (<A
5721HREF="gnome-xml-tree.html#XMLDTDPTR"
5722>xmlDtdPtr</A
5723> dtd,
5724 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005725HREF="gnome-xml-tree.html#XMLCHAR"
5726>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005727> *name);</PRE
5728></TD
5729></TR
5730></TABLE
5731><P
5732>Search the Dtd for the description of this element</P
5733><P
5734></P
5735><DIV
5736CLASS="INFORMALTABLE"
5737><P
5738></P
5739><TABLE
5740BORDER="0"
5741WIDTH="100%"
5742BGCOLOR="#FFD0D0"
5743CELLSPACING="0"
5744CELLPADDING="4"
5745CLASS="CALSTABLE"
5746><TR
5747><TD
5748WIDTH="20%"
5749ALIGN="RIGHT"
5750VALIGN="TOP"
5751><TT
5752CLASS="PARAMETER"
5753><I
5754>dtd</I
5755></TT
5756>&nbsp;:</TD
5757><TD
5758WIDTH="80%"
5759ALIGN="LEFT"
5760VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005761> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005762></TR
5763><TR
5764><TD
5765WIDTH="20%"
5766ALIGN="RIGHT"
5767VALIGN="TOP"
5768><TT
5769CLASS="PARAMETER"
5770><I
5771>name</I
5772></TT
5773>&nbsp;:</TD
5774><TD
5775WIDTH="80%"
5776ALIGN="LEFT"
5777VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005778> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005779></TR
5780><TR
5781><TD
5782WIDTH="20%"
5783ALIGN="RIGHT"
5784VALIGN="TOP"
5785><I
5786CLASS="EMPHASIS"
5787>Returns</I
5788> :</TD
5789><TD
5790WIDTH="80%"
5791ALIGN="LEFT"
5792VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005793>the xmlElementPtr if found or NULL</TD
5794></TR
5795></TABLE
5796><P
5797></P
5798></DIV
5799></DIV
5800><HR><DIV
5801CLASS="REFSECT2"
5802><A
5803NAME="AEN6076"
5804></A
5805><H3
5806><A
5807NAME="XMLVALIDGETVALIDELEMENTS"
5808></A
5809>xmlValidGetValidElements ()</H3
5810><TABLE
5811BORDER="0"
5812BGCOLOR="#D6E8FF"
5813WIDTH="100%"
5814CELLPADDING="6"
5815><TR
5816><TD
5817><PRE
5818CLASS="PROGRAMLISTING"
5819>int xmlValidGetValidElements (<A
5820HREF="gnome-xml-tree.html#XMLNODE"
5821>xmlNode</A
5822> *prev,
5823 <A
5824HREF="gnome-xml-tree.html#XMLNODE"
5825>xmlNode</A
5826> *next,
5827 const <A
5828HREF="gnome-xml-tree.html#XMLCHAR"
5829>xmlChar</A
5830> **list,
5831 int max);</PRE
5832></TD
5833></TR
5834></TABLE
5835><P
5836>This function returns the list of authorized children to insert
5837within an existing tree while respecting the validity constraints
5838forced by the Dtd. The insertion point is defined using <TT
5839CLASS="PARAMETER"
5840><I
5841>prev</I
5842></TT
5843> and
5844<TT
5845CLASS="PARAMETER"
5846><I
5847>next</I
5848></TT
5849> in the following ways:
5850to insert before 'node': xmlValidGetValidElements(node-&gt;prev, node, ...
5851to insert next 'node': xmlValidGetValidElements(node, node-&gt;next, ...
5852to replace 'node': xmlValidGetValidElements(node-&gt;prev, node-&gt;next, ...
5853to prepend a child to 'node': xmlValidGetValidElements(NULL, node-&gt;childs,
5854to append a child to 'node': xmlValidGetValidElements(node-&gt;last, NULL, ...</P
5855><P
5856>pointers to the element names are inserted at the beginning of the array
5857and do not need to be freed.</P
5858><P
5859></P
5860><DIV
5861CLASS="INFORMALTABLE"
5862><P
5863></P
5864><TABLE
5865BORDER="0"
5866WIDTH="100%"
5867BGCOLOR="#FFD0D0"
5868CELLSPACING="0"
5869CELLPADDING="4"
5870CLASS="CALSTABLE"
5871><TR
5872><TD
5873WIDTH="20%"
5874ALIGN="RIGHT"
5875VALIGN="TOP"
5876><TT
5877CLASS="PARAMETER"
5878><I
5879>prev</I
5880></TT
5881>&nbsp;:</TD
5882><TD
5883WIDTH="80%"
5884ALIGN="LEFT"
5885VALIGN="TOP"
5886> an element to insert after</TD
5887></TR
5888><TR
5889><TD
5890WIDTH="20%"
5891ALIGN="RIGHT"
5892VALIGN="TOP"
5893><TT
5894CLASS="PARAMETER"
5895><I
5896>next</I
5897></TT
5898>&nbsp;:</TD
5899><TD
5900WIDTH="80%"
5901ALIGN="LEFT"
5902VALIGN="TOP"
5903> an element to insert next</TD
5904></TR
5905><TR
5906><TD
5907WIDTH="20%"
5908ALIGN="RIGHT"
5909VALIGN="TOP"
5910><TT
5911CLASS="PARAMETER"
5912><I
5913>list</I
5914></TT
5915>&nbsp;:</TD
5916><TD
5917WIDTH="80%"
5918ALIGN="LEFT"
5919VALIGN="TOP"
5920> an array to store the list of child names</TD
5921></TR
5922><TR
5923><TD
5924WIDTH="20%"
5925ALIGN="RIGHT"
5926VALIGN="TOP"
5927><TT
5928CLASS="PARAMETER"
5929><I
5930>max</I
5931></TT
5932>&nbsp;:</TD
5933><TD
5934WIDTH="80%"
5935ALIGN="LEFT"
5936VALIGN="TOP"
5937> the size of the array</TD
5938></TR
5939><TR
5940><TD
5941WIDTH="20%"
5942ALIGN="RIGHT"
5943VALIGN="TOP"
5944><I
5945CLASS="EMPHASIS"
5946>Returns</I
5947> :</TD
5948><TD
5949WIDTH="80%"
5950ALIGN="LEFT"
5951VALIGN="TOP"
5952>the number of element in the list, or -1 in case of error. If
5953the function returns the value <TT
5954CLASS="PARAMETER"
5955><I
5956>max</I
5957></TT
5958> the caller is invited to grow the
5959receiving array and retry.</TD
5960></TR
5961></TABLE
5962><P
5963></P
5964></DIV
5965></DIV
5966><HR><DIV
5967CLASS="REFSECT2"
5968><A
5969NAME="AEN6114"
5970></A
5971><H3
5972><A
5973NAME="XMLVALIDGETPOTENTIALCHILDREN"
5974></A
5975>xmlValidGetPotentialChildren ()</H3
5976><TABLE
5977BORDER="0"
5978BGCOLOR="#D6E8FF"
5979WIDTH="100%"
5980CELLPADDING="6"
5981><TR
5982><TD
5983><PRE
5984CLASS="PROGRAMLISTING"
5985>int xmlValidGetPotentialChildren (<GTKDOCLINK
5986HREF="XMLELEMENTCONTENT"
5987>xmlElementContent</GTKDOCLINK
5988> *ctree,
5989 const <A
5990HREF="gnome-xml-tree.html#XMLCHAR"
5991>xmlChar</A
5992> **list,
5993 int *len,
5994 int max);</PRE
5995></TD
5996></TR
5997></TABLE
5998><P
5999>Build/extend a list of potential children allowed by the content tree</P
6000><P
6001></P
6002><DIV
6003CLASS="INFORMALTABLE"
6004><P
6005></P
6006><TABLE
6007BORDER="0"
6008WIDTH="100%"
6009BGCOLOR="#FFD0D0"
6010CELLSPACING="0"
6011CELLPADDING="4"
6012CLASS="CALSTABLE"
6013><TR
6014><TD
6015WIDTH="20%"
6016ALIGN="RIGHT"
6017VALIGN="TOP"
6018><TT
6019CLASS="PARAMETER"
6020><I
6021>ctree</I
6022></TT
6023>&nbsp;:</TD
6024><TD
6025WIDTH="80%"
6026ALIGN="LEFT"
6027VALIGN="TOP"
6028> an element content tree</TD
6029></TR
6030><TR
6031><TD
6032WIDTH="20%"
6033ALIGN="RIGHT"
6034VALIGN="TOP"
6035><TT
6036CLASS="PARAMETER"
6037><I
6038>list</I
6039></TT
6040>&nbsp;:</TD
6041><TD
6042WIDTH="80%"
6043ALIGN="LEFT"
6044VALIGN="TOP"
6045> an array to store the list of child names</TD
6046></TR
6047><TR
6048><TD
6049WIDTH="20%"
6050ALIGN="RIGHT"
6051VALIGN="TOP"
6052><TT
6053CLASS="PARAMETER"
6054><I
6055>len</I
6056></TT
6057>&nbsp;:</TD
6058><TD
6059WIDTH="80%"
6060ALIGN="LEFT"
6061VALIGN="TOP"
6062> a pointer to the number of element in the list</TD
6063></TR
6064><TR
6065><TD
6066WIDTH="20%"
6067ALIGN="RIGHT"
6068VALIGN="TOP"
6069><TT
6070CLASS="PARAMETER"
6071><I
6072>max</I
6073></TT
6074>&nbsp;:</TD
6075><TD
6076WIDTH="80%"
6077ALIGN="LEFT"
6078VALIGN="TOP"
6079> the size of the array</TD
6080></TR
6081><TR
6082><TD
6083WIDTH="20%"
6084ALIGN="RIGHT"
6085VALIGN="TOP"
6086><I
6087CLASS="EMPHASIS"
6088>Returns</I
6089> :</TD
6090><TD
6091WIDTH="80%"
6092ALIGN="LEFT"
6093VALIGN="TOP"
6094>the number of element in the list, or -1 in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006095></TR
6096></TABLE
6097><P
6098></P
6099></DIV
6100></DIV
6101></DIV
6102><DIV
6103CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00006104><BR
6105CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00006106WIDTH="100%"
6107BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006108BGCOLOR="#000000"
6109CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00006110CELLSPACING="0"
6111><TR
6112><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006113WIDTH="25%"
6114BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00006115ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00006116><A
6117HREF="gnome-xml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00006118><FONT
6119COLOR="#FFFFFF"
6120SIZE="3"
6121><B
6122>&#60;&#60;&#60; Previous Page</B
6123></FONT
6124></A
Daniel Veillard35925471999-02-25 08:46:07 +00006125></TD
6126><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006127WIDTH="25%"
6128BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00006129ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00006130><FONT
6131COLOR="#FFFFFF"
6132SIZE="3"
6133><B
Daniel Veillard35925471999-02-25 08:46:07 +00006134><A
6135HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00006136><FONT
6137COLOR="#FFFFFF"
6138SIZE="3"
6139><B
6140>Home</B
6141></FONT
6142></A
6143></B
6144></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00006145></TD
6146><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006147WIDTH="25%"
6148BGCOLOR="#00C000"
6149ALIGN="center"
6150><FONT
6151COLOR="#FFFFFF"
6152SIZE="3"
6153><B
6154><A
Daniel Veillard35008381999-10-25 13:15:52 +00006155HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00006156><FONT
6157COLOR="#FFFFFF"
6158SIZE="3"
6159><B
6160>Up</B
6161></FONT
6162></A
6163></B
6164></FONT
6165></TD
6166><TD
6167WIDTH="25%"
6168BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00006169ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00006170><A
Daniel Veillardd109e371999-03-05 06:26:45 +00006171HREF="gnome-xml-xml-error.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00006172><FONT
6173COLOR="#FFFFFF"
6174SIZE="3"
6175><B
6176>Next Page &#62;&#62;&#62;</B
6177></FONT
6178></A
Daniel Veillard35925471999-02-25 08:46:07 +00006179></TD
6180></TR
6181><TR
6182><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006183COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00006184ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00006185><FONT
6186COLOR="#FFFFFF"
6187SIZE="3"
6188><B
6189>entities</B
6190></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00006191></TD
6192><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006193COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00006194ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00006195><FONT
6196COLOR="#FFFFFF"
6197SIZE="3"
6198><B
6199>xml-error</B
6200></FONT
6201></TD
Daniel Veillard35925471999-02-25 08:46:07 +00006202></TR
6203></TABLE
6204></DIV
6205></BODY
6206></HTML
6207>