blob: 43ae73f9d9815406f051f7f11312d3751a8e8b38 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>valid</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
8REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
12TITLE="Gnome XML Library"
13HREF="libxml.html"><LINK
14REL="PREVIOUS"
15TITLE="entities"
16HREF="gnome-xml-entities.html"><LINK
17REL="NEXT"
Daniel Veillardd109e371999-03-05 06:26:45 +000018TITLE="xml-error"
19HREF="gnome-xml-xml-error.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000020><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
23><DIV
24CLASS="NAVHEADER"
25><TABLE
26WIDTH="100%"
27BORDER="0"
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
85HREF="libxml.html"
86><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 Veillard6bd26dc1999-09-03 14:28:40 +0000118NAME="AEN4521"
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 Veillard6bd26dc1999-09-03 14:28:40 +0000126NAME="AEN4524"
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 ...);
153void <A
154HREF="gnome-xml-valid.html#XMLPARSERVALIDITYERROR"
155>xmlParserValidityError</A
156> (void *ctx,
157 const char *msg,
158 ...);
159void <A
160HREF="gnome-xml-valid.html#XMLPARSERVALIDITYWARNING"
161>xmlParserValidityWarning</A
162> (void *ctx,
163 const char *msg,
164 ...);
Daniel Veillard35925471999-02-25 08:46:07 +0000165#define <A
166HREF="gnome-xml-valid.html#XML-MIN-NOTATION-TABLE"
167>XML_MIN_NOTATION_TABLE</A
168>
169typedef <A
170HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
171>xmlNotationTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000172>;
Daniel Veillard35925471999-02-25 08:46:07 +0000173#define <A
174HREF="gnome-xml-valid.html#XML-MIN-ELEMENT-TABLE"
175>XML_MIN_ELEMENT_TABLE</A
176>
177typedef <A
178HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
179>xmlElementTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000180>;
Daniel Veillard35925471999-02-25 08:46:07 +0000181#define <A
182HREF="gnome-xml-valid.html#XML-MIN-ATTRIBUTE-TABLE"
183>XML_MIN_ATTRIBUTE_TABLE</A
184>
185typedef <A
186HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
187>xmlAttributeTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000188>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000189#define <A
190HREF="gnome-xml-valid.html#XML-MIN-ID-TABLE"
191>XML_MIN_ID_TABLE</A
192>
193typedef <A
194HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
195>xmlIDTablePtr</A
196>;
Daniel Veillard35925471999-02-25 08:46:07 +0000197<A
198HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
199>xmlNotationPtr</A
200> <A
201HREF="gnome-xml-valid.html#XMLADDNOTATIONDECL"
202>xmlAddNotationDecl</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000203> (<GTKDOCLINK
204HREF="XMLVALIDCTXTPTR"
205>xmlValidCtxtPtr</GTKDOCLINK
206> ctxt,
207 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000208HREF="gnome-xml-tree.html#XMLDTDPTR"
209>xmlDtdPtr</A
210> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000211 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000212HREF="gnome-xml-tree.html#CHAR"
213>CHAR</A
214> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000215 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000216HREF="gnome-xml-tree.html#CHAR"
217>CHAR</A
218> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000219 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000220HREF="gnome-xml-tree.html#CHAR"
221>CHAR</A
222> *SystemID);
223<A
224HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
225>xmlNotationTablePtr</A
226> <A
227HREF="gnome-xml-valid.html#XMLCOPYNOTATIONTABLE"
228>xmlCopyNotationTable</A
229> (<A
230HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
231>xmlNotationTablePtr</A
232> table);
233void <A
234HREF="gnome-xml-valid.html#XMLFREENOTATIONTABLE"
235>xmlFreeNotationTable</A
236> (<A
237HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
238>xmlNotationTablePtr</A
239> table);
240void <A
241HREF="gnome-xml-valid.html#XMLDUMPNOTATIONTABLE"
242>xmlDumpNotationTable</A
243> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000244HREF="gnome-xml-tree.html#XMLBUFFERPTR"
245>xmlBufferPtr</A
246> buf,
247 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000248HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
249>xmlNotationTablePtr</A
250> table);
251<A
252HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
253>xmlElementContentPtr</A
254> <A
255HREF="gnome-xml-valid.html#XMLNEWELEMENTCONTENT"
256>xmlNewElementContent</A
257> (<A
258HREF="gnome-xml-tree.html#CHAR"
259>CHAR</A
260> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000261 <A
262HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
263>xmlElementContentType</A
264> type);
Daniel Veillard35925471999-02-25 08:46:07 +0000265<A
266HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
267>xmlElementContentPtr</A
268> <A
269HREF="gnome-xml-valid.html#XMLCOPYELEMENTCONTENT"
270>xmlCopyElementContent</A
271> (<A
272HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
273>xmlElementContentPtr</A
274> content);
275void <A
276HREF="gnome-xml-valid.html#XMLFREEELEMENTCONTENT"
277>xmlFreeElementContent</A
278> (<A
279HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
280>xmlElementContentPtr</A
281> cur);
282<A
283HREF="gnome-xml-tree.html#XMLELEMENTPTR"
284>xmlElementPtr</A
285> <A
286HREF="gnome-xml-valid.html#XMLADDELEMENTDECL"
287>xmlAddElementDecl</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000288> (<GTKDOCLINK
289HREF="XMLVALIDCTXTPTR"
290>xmlValidCtxtPtr</GTKDOCLINK
291> ctxt,
292 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000293HREF="gnome-xml-tree.html#XMLDTDPTR"
294>xmlDtdPtr</A
295> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000296 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000297HREF="gnome-xml-tree.html#CHAR"
298>CHAR</A
299> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000300 <A
301HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
302>xmlElementContentType</A
303> type,
Daniel Veillard35925471999-02-25 08:46:07 +0000304 <A
305HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
306>xmlElementContentPtr</A
307> content);
308<A
309HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
310>xmlElementTablePtr</A
311> <A
312HREF="gnome-xml-valid.html#XMLCOPYELEMENTTABLE"
313>xmlCopyElementTable</A
314> (<A
315HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
316>xmlElementTablePtr</A
317> table);
318void <A
319HREF="gnome-xml-valid.html#XMLFREEELEMENTTABLE"
320>xmlFreeElementTable</A
321> (<A
322HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
323>xmlElementTablePtr</A
324> table);
325void <A
326HREF="gnome-xml-valid.html#XMLDUMPELEMENTTABLE"
327>xmlDumpElementTable</A
328> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000329HREF="gnome-xml-tree.html#XMLBUFFERPTR"
330>xmlBufferPtr</A
331> buf,
332 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000333HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
334>xmlElementTablePtr</A
335> table);
336<A
337HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
338>xmlEnumerationPtr</A
339> <A
340HREF="gnome-xml-valid.html#XMLCREATEENUMERATION"
341>xmlCreateEnumeration</A
342> (<A
343HREF="gnome-xml-tree.html#CHAR"
344>CHAR</A
345> *name);
346void <A
347HREF="gnome-xml-valid.html#XMLFREEENUMERATION"
348>xmlFreeEnumeration</A
349> (<A
350HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
351>xmlEnumerationPtr</A
352> cur);
353<A
354HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
355>xmlEnumerationPtr</A
356> <A
357HREF="gnome-xml-valid.html#XMLCOPYENUMERATION"
358>xmlCopyEnumeration</A
359> (<A
360HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
361>xmlEnumerationPtr</A
362> cur);
363<A
364HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
365>xmlAttributePtr</A
366> <A
367HREF="gnome-xml-valid.html#XMLADDATTRIBUTEDECL"
368>xmlAddAttributeDecl</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000369> (<GTKDOCLINK
370HREF="XMLVALIDCTXTPTR"
371>xmlValidCtxtPtr</GTKDOCLINK
372> ctxt,
373 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000374HREF="gnome-xml-tree.html#XMLDTDPTR"
375>xmlDtdPtr</A
376> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000377 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000378HREF="gnome-xml-tree.html#CHAR"
379>CHAR</A
380> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000381 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000382HREF="gnome-xml-tree.html#CHAR"
383>CHAR</A
384> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000385 <A
386HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
387>xmlAttributeType</A
388> type,
389 <A
390HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
391>xmlAttributeDefault</A
392> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000393 const <A
Daniel Veillard35925471999-02-25 08:46:07 +0000394HREF="gnome-xml-tree.html#CHAR"
395>CHAR</A
396> *defaultValue,
397 <A
398HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
399>xmlEnumerationPtr</A
400> tree);
401<A
402HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
403>xmlAttributeTablePtr</A
404> <A
405HREF="gnome-xml-valid.html#XMLCOPYATTRIBUTETABLE"
406>xmlCopyAttributeTable</A
407> (<A
408HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
409>xmlAttributeTablePtr</A
410> table);
411void <A
412HREF="gnome-xml-valid.html#XMLFREEATTRIBUTETABLE"
413>xmlFreeAttributeTable</A
414> (<A
415HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
416>xmlAttributeTablePtr</A
417> table);
418void <A
419HREF="gnome-xml-valid.html#XMLDUMPATTRIBUTETABLE"
420>xmlDumpAttributeTable</A
421> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000422HREF="gnome-xml-tree.html#XMLBUFFERPTR"
423>xmlBufferPtr</A
424> buf,
425 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000426HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
427>xmlAttributeTablePtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000428> table);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000429<A
430HREF="gnome-xml-tree.html#XMLIDPTR"
431>xmlIDPtr</A
432> <A
433HREF="gnome-xml-valid.html#XMLADDID"
434>xmlAddID</A
435> (<GTKDOCLINK
436HREF="XMLVALIDCTXTPTR"
437>xmlValidCtxtPtr</GTKDOCLINK
438> ctxt,
439 <A
440HREF="gnome-xml-tree.html#XMLDOCPTR"
441>xmlDocPtr</A
442> doc,
443 const <A
444HREF="gnome-xml-tree.html#CHAR"
445>CHAR</A
446> *value,
447 <A
448HREF="gnome-xml-tree.html#XMLATTRPTR"
449>xmlAttrPtr</A
450> attr);
451<A
452HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
453>xmlIDTablePtr</A
454> <A
455HREF="gnome-xml-valid.html#XMLCOPYIDTABLE"
456>xmlCopyIDTable</A
457> (<A
458HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
459>xmlIDTablePtr</A
460> table);
461void <A
462HREF="gnome-xml-valid.html#XMLFREEIDTABLE"
463>xmlFreeIDTable</A
464> (<A
465HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
466>xmlIDTablePtr</A
467> table);
468<A
469HREF="gnome-xml-tree.html#XMLATTRPTR"
470>xmlAttrPtr</A
471> <A
472HREF="gnome-xml-valid.html#XMLGETID"
473>xmlGetID</A
474> (<A
475HREF="gnome-xml-tree.html#XMLDOCPTR"
476>xmlDocPtr</A
477> doc,
478 const <A
479HREF="gnome-xml-tree.html#CHAR"
480>CHAR</A
481> *ID);
482int <A
483HREF="gnome-xml-valid.html#XMLISID"
484>xmlIsID</A
485> (<A
486HREF="gnome-xml-tree.html#XMLDOCPTR"
487>xmlDocPtr</A
488> doc,
489 <A
490HREF="gnome-xml-tree.html#XMLNODEPTR"
491>xmlNodePtr</A
492> elem,
493 <A
494HREF="gnome-xml-tree.html#XMLATTRPTR"
495>xmlAttrPtr</A
496> attr);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000497int <A
498HREF="gnome-xml-valid.html#XMLVALIDATEROOT"
499>xmlValidateRoot</A
500> (<GTKDOCLINK
501HREF="XMLVALIDCTXTPTR"
502>xmlValidCtxtPtr</GTKDOCLINK
503> ctxt,
504 <A
505HREF="gnome-xml-tree.html#XMLDOCPTR"
506>xmlDocPtr</A
507> doc);
508int <A
509HREF="gnome-xml-valid.html#XMLVALIDATEELEMENTDECL"
510>xmlValidateElementDecl</A
511> (<GTKDOCLINK
512HREF="XMLVALIDCTXTPTR"
513>xmlValidCtxtPtr</GTKDOCLINK
514> ctxt,
515 <A
516HREF="gnome-xml-tree.html#XMLDOCPTR"
517>xmlDocPtr</A
518> doc,
519 <A
520HREF="gnome-xml-tree.html#XMLELEMENTPTR"
521>xmlElementPtr</A
522> elem);
523int <A
524HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL"
525>xmlValidateAttributeDecl</A
526> (<GTKDOCLINK
527HREF="XMLVALIDCTXTPTR"
528>xmlValidCtxtPtr</GTKDOCLINK
529> ctxt,
530 <A
531HREF="gnome-xml-tree.html#XMLDOCPTR"
532>xmlDocPtr</A
533> doc,
534 <A
535HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
536>xmlAttributePtr</A
537> attr);
538int <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000539HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
540>xmlValidateAttributeValue</A
541> (<A
542HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
543>xmlAttributeType</A
544> type,
545 const <A
546HREF="gnome-xml-tree.html#CHAR"
547>CHAR</A
548> *value);
549int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000550HREF="gnome-xml-valid.html#XMLVALIDATENOTATIONDECL"
551>xmlValidateNotationDecl</A
552> (<GTKDOCLINK
553HREF="XMLVALIDCTXTPTR"
554>xmlValidCtxtPtr</GTKDOCLINK
555> ctxt,
556 <A
557HREF="gnome-xml-tree.html#XMLDOCPTR"
558>xmlDocPtr</A
559> doc,
560 <A
561HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
562>xmlNotationPtr</A
563> nota);
564int <A
565HREF="gnome-xml-valid.html#XMLVALIDATEDTD"
566>xmlValidateDtd</A
567> (<GTKDOCLINK
568HREF="XMLVALIDCTXTPTR"
569>xmlValidCtxtPtr</GTKDOCLINK
570> ctxt,
571 <A
572HREF="gnome-xml-tree.html#XMLDOCPTR"
573>xmlDocPtr</A
574> doc,
575 <A
576HREF="gnome-xml-tree.html#XMLDTDPTR"
577>xmlDtdPtr</A
578> dtd);
579int <A
580HREF="gnome-xml-valid.html#XMLVALIDATEDOCUMENT"
581>xmlValidateDocument</A
582> (<GTKDOCLINK
583HREF="XMLVALIDCTXTPTR"
584>xmlValidCtxtPtr</GTKDOCLINK
585> ctxt,
586 <A
587HREF="gnome-xml-tree.html#XMLDOCPTR"
588>xmlDocPtr</A
589> doc);
590int <A
591HREF="gnome-xml-valid.html#XMLVALIDATEELEMENT"
592>xmlValidateElement</A
593> (<GTKDOCLINK
594HREF="XMLVALIDCTXTPTR"
595>xmlValidCtxtPtr</GTKDOCLINK
596> ctxt,
597 <A
598HREF="gnome-xml-tree.html#XMLDOCPTR"
599>xmlDocPtr</A
600> doc,
601 <A
602HREF="gnome-xml-tree.html#XMLNODEPTR"
603>xmlNodePtr</A
604> elem);
605int <A
606HREF="gnome-xml-valid.html#XMLVALIDATEONEELEMENT"
607>xmlValidateOneElement</A
608> (<GTKDOCLINK
609HREF="XMLVALIDCTXTPTR"
610>xmlValidCtxtPtr</GTKDOCLINK
611> ctxt,
612 <A
613HREF="gnome-xml-tree.html#XMLDOCPTR"
614>xmlDocPtr</A
615> doc,
616 <A
617HREF="gnome-xml-tree.html#XMLNODEPTR"
618>xmlNodePtr</A
619> elem);
620int <A
621HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE"
622>xmlValidateOneAttribute</A
623> (<GTKDOCLINK
624HREF="XMLVALIDCTXTPTR"
625>xmlValidCtxtPtr</GTKDOCLINK
626> ctxt,
627 <A
628HREF="gnome-xml-tree.html#XMLDOCPTR"
629>xmlDocPtr</A
630> doc,
631 <A
632HREF="gnome-xml-tree.html#XMLNODEPTR"
633>xmlNodePtr</A
634> elem,
635 <A
636HREF="gnome-xml-tree.html#XMLATTRPTR"
637>xmlAttrPtr</A
638> attr,
639 const <A
640HREF="gnome-xml-tree.html#CHAR"
641>CHAR</A
642> *value);
643int <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000644HREF="gnome-xml-valid.html#XMLVALIDATENOTATIONUSE"
645>xmlValidateNotationUse</A
646> (<GTKDOCLINK
647HREF="XMLVALIDCTXTPTR"
648>xmlValidCtxtPtr</GTKDOCLINK
649> ctxt,
650 <A
651HREF="gnome-xml-tree.html#XMLDOCPTR"
652>xmlDocPtr</A
653> doc,
654 const <A
655HREF="gnome-xml-tree.html#CHAR"
656>CHAR</A
657> *notationName);
658int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000659HREF="gnome-xml-valid.html#XMLISMIXEDELEMENT"
660>xmlIsMixedElement</A
661> (<A
662HREF="gnome-xml-tree.html#XMLDOCPTR"
663>xmlDocPtr</A
664> doc,
665 const <A
666HREF="gnome-xml-tree.html#CHAR"
667>CHAR</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000668> *name);
669<A
670HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
671>xmlAttributePtr</A
672> <A
673HREF="gnome-xml-valid.html#XMLGETDTDATTRDESC"
674>xmlGetDtdAttrDesc</A
675> (<A
676HREF="gnome-xml-tree.html#XMLDTDPTR"
677>xmlDtdPtr</A
678> dtd,
679 const <A
680HREF="gnome-xml-tree.html#CHAR"
681>CHAR</A
682> *elem,
683 const <A
684HREF="gnome-xml-tree.html#CHAR"
685>CHAR</A
686> *name);
687<A
688HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
689>xmlNotationPtr</A
690> <A
691HREF="gnome-xml-valid.html#XMLGETDTDNOTATIONDESC"
692>xmlGetDtdNotationDesc</A
693> (<A
694HREF="gnome-xml-tree.html#XMLDTDPTR"
695>xmlDtdPtr</A
696> dtd,
697 const <A
698HREF="gnome-xml-tree.html#CHAR"
699>CHAR</A
700> *name);
701<A
702HREF="gnome-xml-tree.html#XMLELEMENTPTR"
703>xmlElementPtr</A
704> <A
705HREF="gnome-xml-valid.html#XMLGETDTDELEMENTDESC"
706>xmlGetDtdElementDesc</A
707> (<A
708HREF="gnome-xml-tree.html#XMLDTDPTR"
709>xmlDtdPtr</A
710> dtd,
711 const <A
712HREF="gnome-xml-tree.html#CHAR"
713>CHAR</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000714> *name);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000715></TD
716></TR
717></TABLE
718></DIV
719><DIV
720CLASS="REFSECT1"
721><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000722NAME="AEN4682"
Daniel Veillard35925471999-02-25 08:46:07 +0000723></A
724><H2
725>Description</H2
726><P
727></P
728></DIV
729><DIV
730CLASS="REFSECT1"
731><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000732NAME="AEN4685"
Daniel Veillard35925471999-02-25 08:46:07 +0000733></A
734><H2
735>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000736><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000737CLASS="REFSECT2"
738><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000739NAME="AEN4687"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000740></A
741><H3
742><A
743NAME="XMLVALIDITYERRORFUNC"
744></A
745>xmlValidityErrorFunc ()</H3
746><TABLE
747BORDER="0"
748BGCOLOR="#D6E8FF"
749WIDTH="100%"
750CELLPADDING="6"
751><TR
752><TD
753><PRE
754CLASS="PROGRAMLISTING"
755>void (*xmlValidityErrorFunc) (void *ctx,
756 const char *msg,
757 ...);</PRE
758></TD
759></TR
760></TABLE
761><P
762></P
763><DIV
764CLASS="INFORMALTABLE"
765><P
766></P
767><TABLE
768BORDER="0"
769WIDTH="100%"
770BGCOLOR="#FFD0D0"
771CELLSPACING="0"
772CELLPADDING="4"
773CLASS="CALSTABLE"
774><TR
775><TD
776WIDTH="20%"
777ALIGN="RIGHT"
778VALIGN="TOP"
779><TT
780CLASS="PARAMETER"
781><I
782>ctx</I
783></TT
784>&nbsp;:</TD
785><TD
786WIDTH="80%"
787ALIGN="LEFT"
788VALIGN="TOP"
789>&nbsp;</TD
790></TR
791><TR
792><TD
793WIDTH="20%"
794ALIGN="RIGHT"
795VALIGN="TOP"
796><TT
797CLASS="PARAMETER"
798><I
799>msg</I
800></TT
801>&nbsp;:</TD
802><TD
803WIDTH="80%"
804ALIGN="LEFT"
805VALIGN="TOP"
806>&nbsp;</TD
807></TR
808><TR
809><TD
810WIDTH="20%"
811ALIGN="RIGHT"
812VALIGN="TOP"
813><TT
814CLASS="PARAMETER"
815><I
816>...</I
817></TT
818>&nbsp;:</TD
819><TD
820WIDTH="80%"
821ALIGN="LEFT"
822VALIGN="TOP"
823>&nbsp;</TD
824></TR
825></TABLE
826><P
827></P
828></DIV
829></DIV
830><HR><DIV
831CLASS="REFSECT2"
832><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000833NAME="AEN4709"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000834></A
835><H3
836><A
837NAME="XMLVALIDITYWARNINGFUNC"
838></A
839>xmlValidityWarningFunc ()</H3
840><TABLE
841BORDER="0"
842BGCOLOR="#D6E8FF"
843WIDTH="100%"
844CELLPADDING="6"
845><TR
846><TD
847><PRE
848CLASS="PROGRAMLISTING"
849>void (*xmlValidityWarningFunc) (void *ctx,
850 const char *msg,
851 ...);</PRE
852></TD
853></TR
854></TABLE
855><P
856></P
857><DIV
858CLASS="INFORMALTABLE"
859><P
860></P
861><TABLE
862BORDER="0"
863WIDTH="100%"
864BGCOLOR="#FFD0D0"
865CELLSPACING="0"
866CELLPADDING="4"
867CLASS="CALSTABLE"
868><TR
869><TD
870WIDTH="20%"
871ALIGN="RIGHT"
872VALIGN="TOP"
873><TT
874CLASS="PARAMETER"
875><I
876>ctx</I
877></TT
878>&nbsp;:</TD
879><TD
880WIDTH="80%"
881ALIGN="LEFT"
882VALIGN="TOP"
883>&nbsp;</TD
884></TR
885><TR
886><TD
887WIDTH="20%"
888ALIGN="RIGHT"
889VALIGN="TOP"
890><TT
891CLASS="PARAMETER"
892><I
893>msg</I
894></TT
895>&nbsp;:</TD
896><TD
897WIDTH="80%"
898ALIGN="LEFT"
899VALIGN="TOP"
900>&nbsp;</TD
901></TR
902><TR
903><TD
904WIDTH="20%"
905ALIGN="RIGHT"
906VALIGN="TOP"
907><TT
908CLASS="PARAMETER"
909><I
910>...</I
911></TT
912>&nbsp;:</TD
913><TD
914WIDTH="80%"
915ALIGN="LEFT"
916VALIGN="TOP"
917>&nbsp;</TD
918></TR
919></TABLE
920><P
921></P
922></DIV
923></DIV
924><HR><DIV
925CLASS="REFSECT2"
926><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000927NAME="AEN4731"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000928></A
929><H3
930><A
931NAME="XMLPARSERVALIDITYERROR"
932></A
933>xmlParserValidityError ()</H3
934><TABLE
935BORDER="0"
936BGCOLOR="#D6E8FF"
937WIDTH="100%"
938CELLPADDING="6"
939><TR
940><TD
941><PRE
942CLASS="PROGRAMLISTING"
943>void xmlParserValidityError (void *ctx,
944 const char *msg,
945 ...);</PRE
946></TD
947></TR
948></TABLE
949><P
950>Display and format an validity error messages, gives file,
951line, position and extra parameters.</P
952><P
953></P
954><DIV
955CLASS="INFORMALTABLE"
956><P
957></P
958><TABLE
959BORDER="0"
960WIDTH="100%"
961BGCOLOR="#FFD0D0"
962CELLSPACING="0"
963CELLPADDING="4"
964CLASS="CALSTABLE"
965><TR
966><TD
967WIDTH="20%"
968ALIGN="RIGHT"
969VALIGN="TOP"
970><TT
971CLASS="PARAMETER"
972><I
973>ctx</I
974></TT
975>&nbsp;:</TD
976><TD
977WIDTH="80%"
978ALIGN="LEFT"
979VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000980> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +0000981></TR
982><TR
983><TD
984WIDTH="20%"
985ALIGN="RIGHT"
986VALIGN="TOP"
987><TT
988CLASS="PARAMETER"
989><I
990>msg</I
991></TT
992>&nbsp;:</TD
993><TD
994WIDTH="80%"
995ALIGN="LEFT"
996VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000997> the message to display/transmit</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +0000998></TR
999><TR
1000><TD
1001WIDTH="20%"
1002ALIGN="RIGHT"
1003VALIGN="TOP"
1004><TT
1005CLASS="PARAMETER"
1006><I
1007>...</I
1008></TT
1009>&nbsp;:</TD
1010><TD
1011WIDTH="80%"
1012ALIGN="LEFT"
1013VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001014> extra parameters for the message display</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001015></TR
1016></TABLE
1017><P
1018></P
1019></DIV
1020></DIV
1021><HR><DIV
1022CLASS="REFSECT2"
1023><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001024NAME="AEN4754"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001025></A
1026><H3
1027><A
1028NAME="XMLPARSERVALIDITYWARNING"
1029></A
1030>xmlParserValidityWarning ()</H3
1031><TABLE
1032BORDER="0"
1033BGCOLOR="#D6E8FF"
1034WIDTH="100%"
1035CELLPADDING="6"
1036><TR
1037><TD
1038><PRE
1039CLASS="PROGRAMLISTING"
1040>void xmlParserValidityWarning (void *ctx,
1041 const char *msg,
1042 ...);</PRE
1043></TD
1044></TR
1045></TABLE
1046><P
1047>Display and format a validity warning messages, gives file, line,
1048position and extra parameters.</P
1049><P
1050></P
1051><DIV
1052CLASS="INFORMALTABLE"
1053><P
1054></P
1055><TABLE
1056BORDER="0"
1057WIDTH="100%"
1058BGCOLOR="#FFD0D0"
1059CELLSPACING="0"
1060CELLPADDING="4"
1061CLASS="CALSTABLE"
1062><TR
1063><TD
1064WIDTH="20%"
1065ALIGN="RIGHT"
1066VALIGN="TOP"
1067><TT
1068CLASS="PARAMETER"
1069><I
1070>ctx</I
1071></TT
1072>&nbsp;:</TD
1073><TD
1074WIDTH="80%"
1075ALIGN="LEFT"
1076VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001077> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001078></TR
1079><TR
1080><TD
1081WIDTH="20%"
1082ALIGN="RIGHT"
1083VALIGN="TOP"
1084><TT
1085CLASS="PARAMETER"
1086><I
1087>msg</I
1088></TT
1089>&nbsp;:</TD
1090><TD
1091WIDTH="80%"
1092ALIGN="LEFT"
1093VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001094> the message to display/transmit</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001095></TR
1096><TR
1097><TD
1098WIDTH="20%"
1099ALIGN="RIGHT"
1100VALIGN="TOP"
1101><TT
1102CLASS="PARAMETER"
1103><I
1104>...</I
1105></TT
1106>&nbsp;:</TD
1107><TD
1108WIDTH="80%"
1109ALIGN="LEFT"
1110VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001111> extra parameters for the message display</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001112></TR
1113></TABLE
1114><P
1115></P
1116></DIV
1117></DIV
1118><HR><DIV
1119CLASS="REFSECT2"
1120><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001121NAME="AEN4777"
Daniel Veillard35925471999-02-25 08:46:07 +00001122></A
1123><H3
1124><A
1125NAME="XML-MIN-NOTATION-TABLE"
1126></A
1127>XML_MIN_NOTATION_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 Veillard6bd26dc1999-09-03 14:28:40 +00001137>#define XML_MIN_NOTATION_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 Veillard6bd26dc1999-09-03 14:28:40 +00001147NAME="AEN4782"
Daniel Veillard35925471999-02-25 08:46:07 +00001148></A
1149><H3
1150><A
1151NAME="XMLNOTATIONTABLEPTR"
1152></A
1153>xmlNotationTablePtr</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001154><TABLE
1155BORDER="0"
1156BGCOLOR="#D6E8FF"
1157WIDTH="100%"
1158CELLPADDING="6"
1159><TR
1160><TD
1161><PRE
1162CLASS="PROGRAMLISTING"
1163>typedef xmlNotationTable *xmlNotationTablePtr;</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 Veillard6bd26dc1999-09-03 14:28:40 +00001173NAME="AEN4787"
Daniel Veillard35925471999-02-25 08:46:07 +00001174></A
1175><H3
1176><A
1177NAME="XML-MIN-ELEMENT-TABLE"
1178></A
1179>XML_MIN_ELEMENT_TABLE</H3
1180><TABLE
1181BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001182BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001183WIDTH="100%"
1184CELLPADDING="6"
1185><TR
1186><TD
1187><PRE
1188CLASS="PROGRAMLISTING"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001189>#define XML_MIN_ELEMENT_TABLE 32</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001190></TD
1191></TR
1192></TABLE
1193><P
1194></P
1195></DIV
1196><HR><DIV
1197CLASS="REFSECT2"
1198><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001199NAME="AEN4792"
Daniel Veillard35925471999-02-25 08:46:07 +00001200></A
1201><H3
1202><A
1203NAME="XMLELEMENTTABLEPTR"
1204></A
1205>xmlElementTablePtr</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001206><TABLE
1207BORDER="0"
1208BGCOLOR="#D6E8FF"
1209WIDTH="100%"
1210CELLPADDING="6"
1211><TR
1212><TD
1213><PRE
1214CLASS="PROGRAMLISTING"
1215>typedef xmlElementTable *xmlElementTablePtr;</PRE
1216></TD
1217></TR
1218></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001219><P
1220></P
1221></DIV
1222><HR><DIV
1223CLASS="REFSECT2"
1224><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001225NAME="AEN4797"
Daniel Veillard35925471999-02-25 08:46:07 +00001226></A
1227><H3
1228><A
1229NAME="XML-MIN-ATTRIBUTE-TABLE"
1230></A
1231>XML_MIN_ATTRIBUTE_TABLE</H3
1232><TABLE
1233BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001234BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001235WIDTH="100%"
1236CELLPADDING="6"
1237><TR
1238><TD
1239><PRE
1240CLASS="PROGRAMLISTING"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001241>#define XML_MIN_ATTRIBUTE_TABLE 32</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001242></TD
1243></TR
1244></TABLE
1245><P
1246></P
1247></DIV
1248><HR><DIV
1249CLASS="REFSECT2"
1250><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001251NAME="AEN4802"
Daniel Veillard35925471999-02-25 08:46:07 +00001252></A
1253><H3
1254><A
1255NAME="XMLATTRIBUTETABLEPTR"
1256></A
1257>xmlAttributeTablePtr</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001258><TABLE
1259BORDER="0"
1260BGCOLOR="#D6E8FF"
1261WIDTH="100%"
1262CELLPADDING="6"
1263><TR
1264><TD
1265><PRE
1266CLASS="PROGRAMLISTING"
1267>typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE
1268></TD
1269></TR
1270></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001271><P
1272></P
1273></DIV
1274><HR><DIV
1275CLASS="REFSECT2"
1276><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001277NAME="AEN4807"
1278></A
1279><H3
1280><A
1281NAME="XML-MIN-ID-TABLE"
1282></A
1283>XML_MIN_ID_TABLE</H3
1284><TABLE
1285BORDER="0"
1286BGCOLOR="#D6E8FF"
1287WIDTH="100%"
1288CELLPADDING="6"
1289><TR
1290><TD
1291><PRE
1292CLASS="PROGRAMLISTING"
1293>#define XML_MIN_ID_TABLE 32</PRE
1294></TD
1295></TR
1296></TABLE
1297><P
1298></P
1299></DIV
1300><HR><DIV
1301CLASS="REFSECT2"
1302><A
1303NAME="AEN4812"
1304></A
1305><H3
1306><A
1307NAME="XMLIDTABLEPTR"
1308></A
1309>xmlIDTablePtr</H3
1310><TABLE
1311BORDER="0"
1312BGCOLOR="#D6E8FF"
1313WIDTH="100%"
1314CELLPADDING="6"
1315><TR
1316><TD
1317><PRE
1318CLASS="PROGRAMLISTING"
1319>typedef xmlIDTable *xmlIDTablePtr;</PRE
1320></TD
1321></TR
1322></TABLE
1323><P
1324></P
1325></DIV
1326><HR><DIV
1327CLASS="REFSECT2"
1328><A
1329NAME="AEN4817"
Daniel Veillard35925471999-02-25 08:46:07 +00001330></A
1331><H3
1332><A
1333NAME="XMLADDNOTATIONDECL"
1334></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001335>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001336><TABLE
1337BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001338BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001339WIDTH="100%"
1340CELLPADDING="6"
1341><TR
1342><TD
1343><PRE
1344CLASS="PROGRAMLISTING"
1345><A
1346HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
1347>xmlNotationPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001348> xmlAddNotationDecl (<GTKDOCLINK
1349HREF="XMLVALIDCTXTPTR"
1350>xmlValidCtxtPtr</GTKDOCLINK
1351> ctxt,
1352 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001353HREF="gnome-xml-tree.html#XMLDTDPTR"
1354>xmlDtdPtr</A
1355> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001356 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00001357HREF="gnome-xml-tree.html#CHAR"
1358>CHAR</A
1359> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001360 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00001361HREF="gnome-xml-tree.html#CHAR"
1362>CHAR</A
1363> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001364 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00001365HREF="gnome-xml-tree.html#CHAR"
1366>CHAR</A
1367> *SystemID);</PRE
1368></TD
1369></TR
1370></TABLE
1371><P
1372>Register a new notation declaration</P
1373><P
1374></P
1375><DIV
1376CLASS="INFORMALTABLE"
1377><P
1378></P
1379><TABLE
1380BORDER="0"
1381WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001382BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001383CELLSPACING="0"
1384CELLPADDING="4"
1385CLASS="CALSTABLE"
1386><TR
1387><TD
1388WIDTH="20%"
1389ALIGN="RIGHT"
1390VALIGN="TOP"
1391><TT
1392CLASS="PARAMETER"
1393><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001394>ctxt</I
1395></TT
1396>&nbsp;:</TD
1397><TD
1398WIDTH="80%"
1399ALIGN="LEFT"
1400VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001401> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001402></TR
1403><TR
1404><TD
1405WIDTH="20%"
1406ALIGN="RIGHT"
1407VALIGN="TOP"
1408><TT
1409CLASS="PARAMETER"
1410><I
Daniel Veillard35925471999-02-25 08:46:07 +00001411>dtd</I
1412></TT
1413>&nbsp;:</TD
1414><TD
1415WIDTH="80%"
1416ALIGN="LEFT"
1417VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001418> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001419></TR
1420><TR
1421><TD
1422WIDTH="20%"
1423ALIGN="RIGHT"
1424VALIGN="TOP"
1425><TT
1426CLASS="PARAMETER"
1427><I
1428>name</I
1429></TT
1430>&nbsp;:</TD
1431><TD
1432WIDTH="80%"
1433ALIGN="LEFT"
1434VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001435> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001436></TR
1437><TR
1438><TD
1439WIDTH="20%"
1440ALIGN="RIGHT"
1441VALIGN="TOP"
1442><TT
1443CLASS="PARAMETER"
1444><I
1445>PublicID</I
1446></TT
1447>&nbsp;:</TD
1448><TD
1449WIDTH="80%"
1450ALIGN="LEFT"
1451VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001452> the public identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001453></TR
1454><TR
1455><TD
1456WIDTH="20%"
1457ALIGN="RIGHT"
1458VALIGN="TOP"
1459><TT
1460CLASS="PARAMETER"
1461><I
1462>SystemID</I
1463></TT
1464>&nbsp;:</TD
1465><TD
1466WIDTH="80%"
1467ALIGN="LEFT"
1468VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001469> the system identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001470></TR
1471><TR
1472><TD
1473WIDTH="20%"
1474ALIGN="RIGHT"
1475VALIGN="TOP"
1476><I
1477CLASS="EMPHASIS"
1478>Returns</I
1479> :</TD
1480><TD
1481WIDTH="80%"
1482ALIGN="LEFT"
1483VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001484>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001485></TR
1486></TABLE
1487><P
1488></P
1489></DIV
1490></DIV
1491><HR><DIV
1492CLASS="REFSECT2"
1493><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001494NAME="AEN4858"
Daniel Veillard35925471999-02-25 08:46:07 +00001495></A
1496><H3
1497><A
1498NAME="XMLCOPYNOTATIONTABLE"
1499></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001500>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001501><TABLE
1502BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001503BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001504WIDTH="100%"
1505CELLPADDING="6"
1506><TR
1507><TD
1508><PRE
1509CLASS="PROGRAMLISTING"
1510><A
1511HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1512>xmlNotationTablePtr</A
1513> xmlCopyNotationTable (<A
1514HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1515>xmlNotationTablePtr</A
1516> table);</PRE
1517></TD
1518></TR
1519></TABLE
1520><P
1521>Build a copy of a notation table.</P
1522><P
1523></P
1524><DIV
1525CLASS="INFORMALTABLE"
1526><P
1527></P
1528><TABLE
1529BORDER="0"
1530WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001531BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001532CELLSPACING="0"
1533CELLPADDING="4"
1534CLASS="CALSTABLE"
1535><TR
1536><TD
1537WIDTH="20%"
1538ALIGN="RIGHT"
1539VALIGN="TOP"
1540><TT
1541CLASS="PARAMETER"
1542><I
1543>table</I
1544></TT
1545>&nbsp;:</TD
1546><TD
1547WIDTH="80%"
1548ALIGN="LEFT"
1549VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001550> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001551></TR
1552><TR
1553><TD
1554WIDTH="20%"
1555ALIGN="RIGHT"
1556VALIGN="TOP"
1557><I
1558CLASS="EMPHASIS"
1559>Returns</I
1560> :</TD
1561><TD
1562WIDTH="80%"
1563ALIGN="LEFT"
1564VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001565>the new xmlNotationTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001566></TR
1567></TABLE
1568><P
1569></P
1570></DIV
1571></DIV
1572><HR><DIV
1573CLASS="REFSECT2"
1574><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001575NAME="AEN4879"
Daniel Veillard35925471999-02-25 08:46:07 +00001576></A
1577><H3
1578><A
1579NAME="XMLFREENOTATIONTABLE"
1580></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001581>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001582><TABLE
1583BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001584BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001585WIDTH="100%"
1586CELLPADDING="6"
1587><TR
1588><TD
1589><PRE
1590CLASS="PROGRAMLISTING"
1591>void xmlFreeNotationTable (<A
1592HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1593>xmlNotationTablePtr</A
1594> table);</PRE
1595></TD
1596></TR
1597></TABLE
1598><P
1599>Deallocate the memory used by an entities hash table.</P
1600><P
1601></P
1602><DIV
1603CLASS="INFORMALTABLE"
1604><P
1605></P
1606><TABLE
1607BORDER="0"
1608WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001609BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001610CELLSPACING="0"
1611CELLPADDING="4"
1612CLASS="CALSTABLE"
1613><TR
1614><TD
1615WIDTH="20%"
1616ALIGN="RIGHT"
1617VALIGN="TOP"
1618><TT
1619CLASS="PARAMETER"
1620><I
1621>table</I
1622></TT
1623>&nbsp;:</TD
1624><TD
1625WIDTH="80%"
1626ALIGN="LEFT"
1627VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001628> An notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001629></TR
1630></TABLE
1631><P
1632></P
1633></DIV
1634></DIV
1635><HR><DIV
1636CLASS="REFSECT2"
1637><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001638NAME="AEN4895"
Daniel Veillard35925471999-02-25 08:46:07 +00001639></A
1640><H3
1641><A
1642NAME="XMLDUMPNOTATIONTABLE"
1643></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001644>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001645><TABLE
1646BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001647BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001648WIDTH="100%"
1649CELLPADDING="6"
1650><TR
1651><TD
1652><PRE
1653CLASS="PROGRAMLISTING"
1654>void xmlDumpNotationTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001655HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1656>xmlBufferPtr</A
1657> buf,
1658 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001659HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1660>xmlNotationTablePtr</A
1661> table);</PRE
1662></TD
1663></TR
1664></TABLE
1665><P
1666>This will dump the content of the notation table as an XML DTD definition</P
1667><P
Daniel Veillard35925471999-02-25 08:46:07 +00001668></P
1669><DIV
1670CLASS="INFORMALTABLE"
1671><P
1672></P
1673><TABLE
1674BORDER="0"
1675WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001676BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001677CELLSPACING="0"
1678CELLPADDING="4"
1679CLASS="CALSTABLE"
1680><TR
1681><TD
1682WIDTH="20%"
1683ALIGN="RIGHT"
1684VALIGN="TOP"
1685><TT
1686CLASS="PARAMETER"
1687><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001688>buf</I
1689></TT
1690>&nbsp;:</TD
1691><TD
1692WIDTH="80%"
1693ALIGN="LEFT"
1694VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001695> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001696></TR
1697><TR
1698><TD
1699WIDTH="20%"
1700ALIGN="RIGHT"
1701VALIGN="TOP"
1702><TT
1703CLASS="PARAMETER"
1704><I
Daniel Veillard35925471999-02-25 08:46:07 +00001705>table</I
1706></TT
1707>&nbsp;:</TD
1708><TD
1709WIDTH="80%"
1710ALIGN="LEFT"
1711VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001712> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001713></TR
1714></TABLE
1715><P
1716></P
1717></DIV
1718></DIV
1719><HR><DIV
1720CLASS="REFSECT2"
1721><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001722NAME="AEN4916"
Daniel Veillard35925471999-02-25 08:46:07 +00001723></A
1724><H3
1725><A
1726NAME="XMLNEWELEMENTCONTENT"
1727></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001728>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001729><TABLE
1730BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001731BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001732WIDTH="100%"
1733CELLPADDING="6"
1734><TR
1735><TD
1736><PRE
1737CLASS="PROGRAMLISTING"
1738><A
1739HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1740>xmlElementContentPtr</A
1741> xmlNewElementContent (<A
1742HREF="gnome-xml-tree.html#CHAR"
1743>CHAR</A
1744> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00001745 <A
1746HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
1747>xmlElementContentType</A
1748> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001749></TD
1750></TR
1751></TABLE
1752><P
1753>Allocate an element content structure.</P
1754><P
1755></P
1756><DIV
1757CLASS="INFORMALTABLE"
1758><P
1759></P
1760><TABLE
1761BORDER="0"
1762WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001763BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001764CELLSPACING="0"
1765CELLPADDING="4"
1766CLASS="CALSTABLE"
1767><TR
1768><TD
1769WIDTH="20%"
1770ALIGN="RIGHT"
1771VALIGN="TOP"
1772><TT
1773CLASS="PARAMETER"
1774><I
1775>name</I
1776></TT
1777>&nbsp;:</TD
1778><TD
1779WIDTH="80%"
1780ALIGN="LEFT"
1781VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001782> the subelement name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001783></TR
1784><TR
1785><TD
1786WIDTH="20%"
1787ALIGN="RIGHT"
1788VALIGN="TOP"
1789><TT
1790CLASS="PARAMETER"
1791><I
1792>type</I
1793></TT
1794>&nbsp;:</TD
1795><TD
1796WIDTH="80%"
1797ALIGN="LEFT"
1798VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001799> the type of element content decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001800></TR
1801><TR
1802><TD
1803WIDTH="20%"
1804ALIGN="RIGHT"
1805VALIGN="TOP"
1806><I
1807CLASS="EMPHASIS"
1808>Returns</I
1809> :</TD
1810><TD
1811WIDTH="80%"
1812ALIGN="LEFT"
1813VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001814>NULL if not, othervise the new element content structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001815></TR
1816></TABLE
1817><P
1818></P
1819></DIV
1820></DIV
1821><HR><DIV
1822CLASS="REFSECT2"
1823><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001824NAME="AEN4942"
Daniel Veillard35925471999-02-25 08:46:07 +00001825></A
1826><H3
1827><A
1828NAME="XMLCOPYELEMENTCONTENT"
1829></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001830>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001831><TABLE
1832BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001833BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001834WIDTH="100%"
1835CELLPADDING="6"
1836><TR
1837><TD
1838><PRE
1839CLASS="PROGRAMLISTING"
1840><A
1841HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1842>xmlElementContentPtr</A
1843> xmlCopyElementContent (<A
1844HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1845>xmlElementContentPtr</A
1846> content);</PRE
1847></TD
1848></TR
1849></TABLE
1850><P
1851>Build a copy of an element content description.</P
1852><P
1853></P
1854><DIV
1855CLASS="INFORMALTABLE"
1856><P
1857></P
1858><TABLE
1859BORDER="0"
1860WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001861BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001862CELLSPACING="0"
1863CELLPADDING="4"
1864CLASS="CALSTABLE"
1865><TR
1866><TD
1867WIDTH="20%"
1868ALIGN="RIGHT"
1869VALIGN="TOP"
1870><TT
1871CLASS="PARAMETER"
1872><I
1873>content</I
1874></TT
1875>&nbsp;:</TD
1876><TD
1877WIDTH="80%"
1878ALIGN="LEFT"
1879VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001880> An element content pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001881></TR
1882><TR
1883><TD
1884WIDTH="20%"
1885ALIGN="RIGHT"
1886VALIGN="TOP"
1887><I
1888CLASS="EMPHASIS"
1889>Returns</I
1890> :</TD
1891><TD
1892WIDTH="80%"
1893ALIGN="LEFT"
1894VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001895>the new xmlElementContentPtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001896></TR
1897></TABLE
1898><P
1899></P
1900></DIV
1901></DIV
1902><HR><DIV
1903CLASS="REFSECT2"
1904><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001905NAME="AEN4963"
Daniel Veillard35925471999-02-25 08:46:07 +00001906></A
1907><H3
1908><A
1909NAME="XMLFREEELEMENTCONTENT"
1910></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001911>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001912><TABLE
1913BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001914BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001915WIDTH="100%"
1916CELLPADDING="6"
1917><TR
1918><TD
1919><PRE
1920CLASS="PROGRAMLISTING"
1921>void xmlFreeElementContent (<A
1922HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1923>xmlElementContentPtr</A
1924> cur);</PRE
1925></TD
1926></TR
1927></TABLE
1928><P
1929>Free an element content structure. This is a recursive call !</P
1930><P
1931></P
1932><DIV
1933CLASS="INFORMALTABLE"
1934><P
1935></P
1936><TABLE
1937BORDER="0"
1938WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001939BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001940CELLSPACING="0"
1941CELLPADDING="4"
1942CLASS="CALSTABLE"
1943><TR
1944><TD
1945WIDTH="20%"
1946ALIGN="RIGHT"
1947VALIGN="TOP"
1948><TT
1949CLASS="PARAMETER"
1950><I
1951>cur</I
1952></TT
1953>&nbsp;:</TD
1954><TD
1955WIDTH="80%"
1956ALIGN="LEFT"
1957VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001958> the element content tree to free</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001959></TR
1960></TABLE
1961><P
1962></P
1963></DIV
1964></DIV
1965><HR><DIV
1966CLASS="REFSECT2"
1967><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001968NAME="AEN4979"
Daniel Veillard35925471999-02-25 08:46:07 +00001969></A
1970><H3
1971><A
1972NAME="XMLADDELEMENTDECL"
1973></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001974>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001975><TABLE
1976BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001977BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001978WIDTH="100%"
1979CELLPADDING="6"
1980><TR
1981><TD
1982><PRE
1983CLASS="PROGRAMLISTING"
1984><A
1985HREF="gnome-xml-tree.html#XMLELEMENTPTR"
1986>xmlElementPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001987> xmlAddElementDecl (<GTKDOCLINK
1988HREF="XMLVALIDCTXTPTR"
1989>xmlValidCtxtPtr</GTKDOCLINK
1990> ctxt,
1991 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001992HREF="gnome-xml-tree.html#XMLDTDPTR"
1993>xmlDtdPtr</A
1994> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001995 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00001996HREF="gnome-xml-tree.html#CHAR"
1997>CHAR</A
1998> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00001999 <A
2000HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
2001>xmlElementContentType</A
2002> type,
Daniel Veillard35925471999-02-25 08:46:07 +00002003 <A
2004HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2005>xmlElementContentPtr</A
2006> content);</PRE
2007></TD
2008></TR
2009></TABLE
2010><P
2011>Register a new element declaration</P
2012><P
2013></P
2014><DIV
2015CLASS="INFORMALTABLE"
2016><P
2017></P
2018><TABLE
2019BORDER="0"
2020WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002021BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002022CELLSPACING="0"
2023CELLPADDING="4"
2024CLASS="CALSTABLE"
2025><TR
2026><TD
2027WIDTH="20%"
2028ALIGN="RIGHT"
2029VALIGN="TOP"
2030><TT
2031CLASS="PARAMETER"
2032><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002033>ctxt</I
2034></TT
2035>&nbsp;:</TD
2036><TD
2037WIDTH="80%"
2038ALIGN="LEFT"
2039VALIGN="TOP"
2040>&nbsp;</TD
2041></TR
2042><TR
2043><TD
2044WIDTH="20%"
2045ALIGN="RIGHT"
2046VALIGN="TOP"
2047><TT
2048CLASS="PARAMETER"
2049><I
Daniel Veillard35925471999-02-25 08:46:07 +00002050>dtd</I
2051></TT
2052>&nbsp;:</TD
2053><TD
2054WIDTH="80%"
2055ALIGN="LEFT"
2056VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002057> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002058></TR
2059><TR
2060><TD
2061WIDTH="20%"
2062ALIGN="RIGHT"
2063VALIGN="TOP"
2064><TT
2065CLASS="PARAMETER"
2066><I
2067>name</I
2068></TT
2069>&nbsp;:</TD
2070><TD
2071WIDTH="80%"
2072ALIGN="LEFT"
2073VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002074> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002075></TR
2076><TR
2077><TD
2078WIDTH="20%"
2079ALIGN="RIGHT"
2080VALIGN="TOP"
2081><TT
2082CLASS="PARAMETER"
2083><I
2084>type</I
2085></TT
2086>&nbsp;:</TD
2087><TD
2088WIDTH="80%"
2089ALIGN="LEFT"
2090VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002091> the element type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002092></TR
2093><TR
2094><TD
2095WIDTH="20%"
2096ALIGN="RIGHT"
2097VALIGN="TOP"
2098><TT
2099CLASS="PARAMETER"
2100><I
2101>content</I
2102></TT
2103>&nbsp;:</TD
2104><TD
2105WIDTH="80%"
2106ALIGN="LEFT"
2107VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002108> the element content tree or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002109></TR
2110><TR
2111><TD
2112WIDTH="20%"
2113ALIGN="RIGHT"
2114VALIGN="TOP"
2115><I
2116CLASS="EMPHASIS"
2117>Returns</I
2118> :</TD
2119><TD
2120WIDTH="80%"
2121ALIGN="LEFT"
2122VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002123>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002124></TR
2125></TABLE
2126><P
2127></P
2128></DIV
2129></DIV
2130><HR><DIV
2131CLASS="REFSECT2"
2132><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002133NAME="AEN5020"
Daniel Veillard35925471999-02-25 08:46:07 +00002134></A
2135><H3
2136><A
2137NAME="XMLCOPYELEMENTTABLE"
2138></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002139>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002140><TABLE
2141BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002142BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002143WIDTH="100%"
2144CELLPADDING="6"
2145><TR
2146><TD
2147><PRE
2148CLASS="PROGRAMLISTING"
2149><A
2150HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2151>xmlElementTablePtr</A
2152> xmlCopyElementTable (<A
2153HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2154>xmlElementTablePtr</A
2155> table);</PRE
2156></TD
2157></TR
2158></TABLE
2159><P
2160>Build a copy of an element table.</P
2161><P
2162></P
2163><DIV
2164CLASS="INFORMALTABLE"
2165><P
2166></P
2167><TABLE
2168BORDER="0"
2169WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002170BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002171CELLSPACING="0"
2172CELLPADDING="4"
2173CLASS="CALSTABLE"
2174><TR
2175><TD
2176WIDTH="20%"
2177ALIGN="RIGHT"
2178VALIGN="TOP"
2179><TT
2180CLASS="PARAMETER"
2181><I
2182>table</I
2183></TT
2184>&nbsp;:</TD
2185><TD
2186WIDTH="80%"
2187ALIGN="LEFT"
2188VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002189> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002190></TR
2191><TR
2192><TD
2193WIDTH="20%"
2194ALIGN="RIGHT"
2195VALIGN="TOP"
2196><I
2197CLASS="EMPHASIS"
2198>Returns</I
2199> :</TD
2200><TD
2201WIDTH="80%"
2202ALIGN="LEFT"
2203VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002204>the new xmlElementTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002205></TR
2206></TABLE
2207><P
2208></P
2209></DIV
2210></DIV
2211><HR><DIV
2212CLASS="REFSECT2"
2213><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002214NAME="AEN5041"
Daniel Veillard35925471999-02-25 08:46:07 +00002215></A
2216><H3
2217><A
2218NAME="XMLFREEELEMENTTABLE"
2219></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002220>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002221><TABLE
2222BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002223BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002224WIDTH="100%"
2225CELLPADDING="6"
2226><TR
2227><TD
2228><PRE
2229CLASS="PROGRAMLISTING"
2230>void xmlFreeElementTable (<A
2231HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2232>xmlElementTablePtr</A
2233> table);</PRE
2234></TD
2235></TR
2236></TABLE
2237><P
2238>Deallocate the memory used by an element hash table.</P
2239><P
2240></P
2241><DIV
2242CLASS="INFORMALTABLE"
2243><P
2244></P
2245><TABLE
2246BORDER="0"
2247WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002248BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002249CELLSPACING="0"
2250CELLPADDING="4"
2251CLASS="CALSTABLE"
2252><TR
2253><TD
2254WIDTH="20%"
2255ALIGN="RIGHT"
2256VALIGN="TOP"
2257><TT
2258CLASS="PARAMETER"
2259><I
2260>table</I
2261></TT
2262>&nbsp;:</TD
2263><TD
2264WIDTH="80%"
2265ALIGN="LEFT"
2266VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002267> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002268></TR
2269></TABLE
2270><P
2271></P
2272></DIV
2273></DIV
2274><HR><DIV
2275CLASS="REFSECT2"
2276><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002277NAME="AEN5057"
Daniel Veillard35925471999-02-25 08:46:07 +00002278></A
2279><H3
2280><A
2281NAME="XMLDUMPELEMENTTABLE"
2282></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002283>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002284><TABLE
2285BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002286BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002287WIDTH="100%"
2288CELLPADDING="6"
2289><TR
2290><TD
2291><PRE
2292CLASS="PROGRAMLISTING"
2293>void xmlDumpElementTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002294HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2295>xmlBufferPtr</A
2296> buf,
2297 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002298HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2299>xmlElementTablePtr</A
2300> table);</PRE
2301></TD
2302></TR
2303></TABLE
2304><P
2305>This will dump the content of the element table as an XML DTD definition</P
2306><P
Daniel Veillard35925471999-02-25 08:46:07 +00002307></P
2308><DIV
2309CLASS="INFORMALTABLE"
2310><P
2311></P
2312><TABLE
2313BORDER="0"
2314WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002315BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002316CELLSPACING="0"
2317CELLPADDING="4"
2318CLASS="CALSTABLE"
2319><TR
2320><TD
2321WIDTH="20%"
2322ALIGN="RIGHT"
2323VALIGN="TOP"
2324><TT
2325CLASS="PARAMETER"
2326><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002327>buf</I
2328></TT
2329>&nbsp;:</TD
2330><TD
2331WIDTH="80%"
2332ALIGN="LEFT"
2333VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002334> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002335></TR
2336><TR
2337><TD
2338WIDTH="20%"
2339ALIGN="RIGHT"
2340VALIGN="TOP"
2341><TT
2342CLASS="PARAMETER"
2343><I
Daniel Veillard35925471999-02-25 08:46:07 +00002344>table</I
2345></TT
2346>&nbsp;:</TD
2347><TD
2348WIDTH="80%"
2349ALIGN="LEFT"
2350VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002351> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002352></TR
2353></TABLE
2354><P
2355></P
2356></DIV
2357></DIV
2358><HR><DIV
2359CLASS="REFSECT2"
2360><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002361NAME="AEN5078"
Daniel Veillard35925471999-02-25 08:46:07 +00002362></A
2363><H3
2364><A
2365NAME="XMLCREATEENUMERATION"
2366></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002367>xmlCreateEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002368><TABLE
2369BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002370BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002371WIDTH="100%"
2372CELLPADDING="6"
2373><TR
2374><TD
2375><PRE
2376CLASS="PROGRAMLISTING"
2377><A
2378HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2379>xmlEnumerationPtr</A
2380> xmlCreateEnumeration (<A
2381HREF="gnome-xml-tree.html#CHAR"
2382>CHAR</A
2383> *name);</PRE
2384></TD
2385></TR
2386></TABLE
2387><P
2388>create and initialize an enumeration attribute node.</P
2389><P
2390></P
2391><DIV
2392CLASS="INFORMALTABLE"
2393><P
2394></P
2395><TABLE
2396BORDER="0"
2397WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002398BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002399CELLSPACING="0"
2400CELLPADDING="4"
2401CLASS="CALSTABLE"
2402><TR
2403><TD
2404WIDTH="20%"
2405ALIGN="RIGHT"
2406VALIGN="TOP"
2407><TT
2408CLASS="PARAMETER"
2409><I
2410>name</I
2411></TT
2412>&nbsp;:</TD
2413><TD
2414WIDTH="80%"
2415ALIGN="LEFT"
2416VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002417> the enumeration name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002418></TR
2419><TR
2420><TD
2421WIDTH="20%"
2422ALIGN="RIGHT"
2423VALIGN="TOP"
2424><I
2425CLASS="EMPHASIS"
2426>Returns</I
2427> :</TD
2428><TD
2429WIDTH="80%"
2430ALIGN="LEFT"
2431VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002432>the xmlEnumerationPtr just created or NULL in case
2433of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002434></TR
2435></TABLE
2436><P
2437></P
2438></DIV
2439></DIV
2440><HR><DIV
2441CLASS="REFSECT2"
2442><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002443NAME="AEN5099"
Daniel Veillard35925471999-02-25 08:46:07 +00002444></A
2445><H3
2446><A
2447NAME="XMLFREEENUMERATION"
2448></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002449>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002450><TABLE
2451BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002452BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002453WIDTH="100%"
2454CELLPADDING="6"
2455><TR
2456><TD
2457><PRE
2458CLASS="PROGRAMLISTING"
2459>void xmlFreeEnumeration (<A
2460HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2461>xmlEnumerationPtr</A
2462> cur);</PRE
2463></TD
2464></TR
2465></TABLE
2466><P
2467>free an enumeration attribute node (recursive).</P
2468><P
2469></P
2470><DIV
2471CLASS="INFORMALTABLE"
2472><P
2473></P
2474><TABLE
2475BORDER="0"
2476WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002477BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002478CELLSPACING="0"
2479CELLPADDING="4"
2480CLASS="CALSTABLE"
2481><TR
2482><TD
2483WIDTH="20%"
2484ALIGN="RIGHT"
2485VALIGN="TOP"
2486><TT
2487CLASS="PARAMETER"
2488><I
2489>cur</I
2490></TT
2491>&nbsp;:</TD
2492><TD
2493WIDTH="80%"
2494ALIGN="LEFT"
2495VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002496> the tree to free.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002497></TR
2498></TABLE
2499><P
2500></P
2501></DIV
2502></DIV
2503><HR><DIV
2504CLASS="REFSECT2"
2505><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002506NAME="AEN5115"
Daniel Veillard35925471999-02-25 08:46:07 +00002507></A
2508><H3
2509><A
2510NAME="XMLCOPYENUMERATION"
2511></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002512>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002513><TABLE
2514BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002515BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002516WIDTH="100%"
2517CELLPADDING="6"
2518><TR
2519><TD
2520><PRE
2521CLASS="PROGRAMLISTING"
2522><A
2523HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2524>xmlEnumerationPtr</A
2525> xmlCopyEnumeration (<A
2526HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2527>xmlEnumerationPtr</A
2528> cur);</PRE
2529></TD
2530></TR
2531></TABLE
2532><P
2533>Copy an enumeration attribute node (recursive).</P
2534><P
2535></P
2536><DIV
2537CLASS="INFORMALTABLE"
2538><P
2539></P
2540><TABLE
2541BORDER="0"
2542WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002543BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002544CELLSPACING="0"
2545CELLPADDING="4"
2546CLASS="CALSTABLE"
2547><TR
2548><TD
2549WIDTH="20%"
2550ALIGN="RIGHT"
2551VALIGN="TOP"
2552><TT
2553CLASS="PARAMETER"
2554><I
2555>cur</I
2556></TT
2557>&nbsp;:</TD
2558><TD
2559WIDTH="80%"
2560ALIGN="LEFT"
2561VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002562> the tree to copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002563></TR
2564><TR
2565><TD
2566WIDTH="20%"
2567ALIGN="RIGHT"
2568VALIGN="TOP"
2569><I
2570CLASS="EMPHASIS"
2571>Returns</I
2572> :</TD
2573><TD
2574WIDTH="80%"
2575ALIGN="LEFT"
2576VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002577>the xmlEnumerationPtr just created or NULL in case
2578of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002579></TR
2580></TABLE
2581><P
2582></P
2583></DIV
2584></DIV
2585><HR><DIV
2586CLASS="REFSECT2"
2587><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002588NAME="AEN5136"
Daniel Veillard35925471999-02-25 08:46:07 +00002589></A
2590><H3
2591><A
2592NAME="XMLADDATTRIBUTEDECL"
2593></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002594>xmlAddAttributeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002595><TABLE
2596BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002597BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002598WIDTH="100%"
2599CELLPADDING="6"
2600><TR
2601><TD
2602><PRE
2603CLASS="PROGRAMLISTING"
2604><A
2605HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
2606>xmlAttributePtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002607> xmlAddAttributeDecl (<GTKDOCLINK
2608HREF="XMLVALIDCTXTPTR"
2609>xmlValidCtxtPtr</GTKDOCLINK
2610> ctxt,
2611 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002612HREF="gnome-xml-tree.html#XMLDTDPTR"
2613>xmlDtdPtr</A
2614> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002615 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00002616HREF="gnome-xml-tree.html#CHAR"
2617>CHAR</A
2618> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002619 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00002620HREF="gnome-xml-tree.html#CHAR"
2621>CHAR</A
2622> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002623 <A
2624HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
2625>xmlAttributeType</A
2626> type,
2627 <A
2628HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
2629>xmlAttributeDefault</A
2630> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002631 const <A
Daniel Veillard35925471999-02-25 08:46:07 +00002632HREF="gnome-xml-tree.html#CHAR"
2633>CHAR</A
2634> *defaultValue,
2635 <A
2636HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2637>xmlEnumerationPtr</A
2638> tree);</PRE
2639></TD
2640></TR
2641></TABLE
2642><P
2643>Register a new attribute declaration</P
2644><P
2645></P
2646><DIV
2647CLASS="INFORMALTABLE"
2648><P
2649></P
2650><TABLE
2651BORDER="0"
2652WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002653BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002654CELLSPACING="0"
2655CELLPADDING="4"
2656CLASS="CALSTABLE"
2657><TR
2658><TD
2659WIDTH="20%"
2660ALIGN="RIGHT"
2661VALIGN="TOP"
2662><TT
2663CLASS="PARAMETER"
2664><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002665>ctxt</I
2666></TT
2667>&nbsp;:</TD
2668><TD
2669WIDTH="80%"
2670ALIGN="LEFT"
2671VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002672> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002673></TR
2674><TR
2675><TD
2676WIDTH="20%"
2677ALIGN="RIGHT"
2678VALIGN="TOP"
2679><TT
2680CLASS="PARAMETER"
2681><I
Daniel Veillard35925471999-02-25 08:46:07 +00002682>dtd</I
2683></TT
2684>&nbsp;:</TD
2685><TD
2686WIDTH="80%"
2687ALIGN="LEFT"
2688VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002689> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002690></TR
2691><TR
2692><TD
2693WIDTH="20%"
2694ALIGN="RIGHT"
2695VALIGN="TOP"
2696><TT
2697CLASS="PARAMETER"
2698><I
2699>elem</I
2700></TT
2701>&nbsp;:</TD
2702><TD
2703WIDTH="80%"
2704ALIGN="LEFT"
2705VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002706> the element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002707></TR
2708><TR
2709><TD
2710WIDTH="20%"
2711ALIGN="RIGHT"
2712VALIGN="TOP"
2713><TT
2714CLASS="PARAMETER"
2715><I
2716>name</I
2717></TT
2718>&nbsp;:</TD
2719><TD
2720WIDTH="80%"
2721ALIGN="LEFT"
2722VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002723> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002724></TR
2725><TR
2726><TD
2727WIDTH="20%"
2728ALIGN="RIGHT"
2729VALIGN="TOP"
2730><TT
2731CLASS="PARAMETER"
2732><I
2733>type</I
2734></TT
2735>&nbsp;:</TD
2736><TD
2737WIDTH="80%"
2738ALIGN="LEFT"
2739VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002740> the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002741></TR
2742><TR
2743><TD
2744WIDTH="20%"
2745ALIGN="RIGHT"
2746VALIGN="TOP"
2747><TT
2748CLASS="PARAMETER"
2749><I
2750>def</I
2751></TT
2752>&nbsp;:</TD
2753><TD
2754WIDTH="80%"
2755ALIGN="LEFT"
2756VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002757> the attribute default type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002758></TR
2759><TR
2760><TD
2761WIDTH="20%"
2762ALIGN="RIGHT"
2763VALIGN="TOP"
2764><TT
2765CLASS="PARAMETER"
2766><I
2767>defaultValue</I
2768></TT
2769>&nbsp;:</TD
2770><TD
2771WIDTH="80%"
2772ALIGN="LEFT"
2773VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002774> the attribute default value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002775></TR
2776><TR
2777><TD
2778WIDTH="20%"
2779ALIGN="RIGHT"
2780VALIGN="TOP"
2781><TT
2782CLASS="PARAMETER"
2783><I
2784>tree</I
2785></TT
2786>&nbsp;:</TD
2787><TD
2788WIDTH="80%"
2789ALIGN="LEFT"
2790VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002791> if it's an enumeration, the associated list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002792></TR
2793><TR
2794><TD
2795WIDTH="20%"
2796ALIGN="RIGHT"
2797VALIGN="TOP"
2798><I
2799CLASS="EMPHASIS"
2800>Returns</I
2801> :</TD
2802><TD
2803WIDTH="80%"
2804ALIGN="LEFT"
2805VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002806>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002807></TR
2808></TABLE
2809><P
2810></P
2811></DIV
2812></DIV
2813><HR><DIV
2814CLASS="REFSECT2"
2815><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002816NAME="AEN5192"
Daniel Veillard35925471999-02-25 08:46:07 +00002817></A
2818><H3
2819><A
2820NAME="XMLCOPYATTRIBUTETABLE"
2821></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002822>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002823><TABLE
2824BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002825BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002826WIDTH="100%"
2827CELLPADDING="6"
2828><TR
2829><TD
2830><PRE
2831CLASS="PROGRAMLISTING"
2832><A
2833HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2834>xmlAttributeTablePtr</A
2835> xmlCopyAttributeTable (<A
2836HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2837>xmlAttributeTablePtr</A
2838> table);</PRE
2839></TD
2840></TR
2841></TABLE
2842><P
2843>Build a copy of an attribute table.</P
2844><P
2845></P
2846><DIV
2847CLASS="INFORMALTABLE"
2848><P
2849></P
2850><TABLE
2851BORDER="0"
2852WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002853BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002854CELLSPACING="0"
2855CELLPADDING="4"
2856CLASS="CALSTABLE"
2857><TR
2858><TD
2859WIDTH="20%"
2860ALIGN="RIGHT"
2861VALIGN="TOP"
2862><TT
2863CLASS="PARAMETER"
2864><I
2865>table</I
2866></TT
2867>&nbsp;:</TD
2868><TD
2869WIDTH="80%"
2870ALIGN="LEFT"
2871VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002872> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002873></TR
2874><TR
2875><TD
2876WIDTH="20%"
2877ALIGN="RIGHT"
2878VALIGN="TOP"
2879><I
2880CLASS="EMPHASIS"
2881>Returns</I
2882> :</TD
2883><TD
2884WIDTH="80%"
2885ALIGN="LEFT"
2886VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002887>the new xmlAttributeTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002888></TR
2889></TABLE
2890><P
2891></P
2892></DIV
2893></DIV
2894><HR><DIV
2895CLASS="REFSECT2"
2896><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002897NAME="AEN5213"
Daniel Veillard35925471999-02-25 08:46:07 +00002898></A
2899><H3
2900><A
2901NAME="XMLFREEATTRIBUTETABLE"
2902></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002903>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002904><TABLE
2905BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002906BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002907WIDTH="100%"
2908CELLPADDING="6"
2909><TR
2910><TD
2911><PRE
2912CLASS="PROGRAMLISTING"
2913>void xmlFreeAttributeTable (<A
2914HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2915>xmlAttributeTablePtr</A
2916> table);</PRE
2917></TD
2918></TR
2919></TABLE
2920><P
2921>Deallocate the memory used by an entities hash table.</P
2922><P
2923></P
2924><DIV
2925CLASS="INFORMALTABLE"
2926><P
2927></P
2928><TABLE
2929BORDER="0"
2930WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002931BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002932CELLSPACING="0"
2933CELLPADDING="4"
2934CLASS="CALSTABLE"
2935><TR
2936><TD
2937WIDTH="20%"
2938ALIGN="RIGHT"
2939VALIGN="TOP"
2940><TT
2941CLASS="PARAMETER"
2942><I
2943>table</I
2944></TT
2945>&nbsp;:</TD
2946><TD
2947WIDTH="80%"
2948ALIGN="LEFT"
2949VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002950> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002951></TR
2952></TABLE
2953><P
2954></P
2955></DIV
2956></DIV
2957><HR><DIV
2958CLASS="REFSECT2"
2959><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002960NAME="AEN5229"
Daniel Veillard35925471999-02-25 08:46:07 +00002961></A
2962><H3
2963><A
2964NAME="XMLDUMPATTRIBUTETABLE"
2965></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002966>xmlDumpAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002967><TABLE
2968BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002969BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002970WIDTH="100%"
2971CELLPADDING="6"
2972><TR
2973><TD
2974><PRE
2975CLASS="PROGRAMLISTING"
2976>void xmlDumpAttributeTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002977HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2978>xmlBufferPtr</A
2979> buf,
2980 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002981HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2982>xmlAttributeTablePtr</A
2983> table);</PRE
2984></TD
2985></TR
2986></TABLE
2987><P
2988>This will dump the content of the attribute table as an XML DTD definition</P
2989><P
Daniel Veillard35925471999-02-25 08:46:07 +00002990></P
2991><DIV
2992CLASS="INFORMALTABLE"
2993><P
2994></P
2995><TABLE
2996BORDER="0"
2997WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002998BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002999CELLSPACING="0"
3000CELLPADDING="4"
3001CLASS="CALSTABLE"
3002><TR
3003><TD
3004WIDTH="20%"
3005ALIGN="RIGHT"
3006VALIGN="TOP"
3007><TT
3008CLASS="PARAMETER"
3009><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003010>buf</I
3011></TT
3012>&nbsp;:</TD
3013><TD
3014WIDTH="80%"
3015ALIGN="LEFT"
3016VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003017> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003018></TR
3019><TR
3020><TD
3021WIDTH="20%"
3022ALIGN="RIGHT"
3023VALIGN="TOP"
3024><TT
3025CLASS="PARAMETER"
3026><I
Daniel Veillard35925471999-02-25 08:46:07 +00003027>table</I
3028></TT
3029>&nbsp;:</TD
3030><TD
3031WIDTH="80%"
3032ALIGN="LEFT"
3033VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003034> An attribute table</TD
3035></TR
3036></TABLE
3037><P
3038></P
3039></DIV
3040></DIV
3041><HR><DIV
3042CLASS="REFSECT2"
3043><A
3044NAME="AEN5250"
3045></A
3046><H3
3047><A
3048NAME="XMLADDID"
3049></A
3050>xmlAddID ()</H3
3051><TABLE
3052BORDER="0"
3053BGCOLOR="#D6E8FF"
3054WIDTH="100%"
3055CELLPADDING="6"
3056><TR
3057><TD
3058><PRE
3059CLASS="PROGRAMLISTING"
3060><A
3061HREF="gnome-xml-tree.html#XMLIDPTR"
3062>xmlIDPtr</A
3063> xmlAddID (<GTKDOCLINK
3064HREF="XMLVALIDCTXTPTR"
3065>xmlValidCtxtPtr</GTKDOCLINK
3066> ctxt,
3067 <A
3068HREF="gnome-xml-tree.html#XMLDOCPTR"
3069>xmlDocPtr</A
3070> doc,
3071 const <A
3072HREF="gnome-xml-tree.html#CHAR"
3073>CHAR</A
3074> *value,
3075 <A
3076HREF="gnome-xml-tree.html#XMLATTRPTR"
3077>xmlAttrPtr</A
3078> attr);</PRE
3079></TD
3080></TR
3081></TABLE
3082><P
3083>Register a new id declaration</P
3084><P
3085></P
3086><DIV
3087CLASS="INFORMALTABLE"
3088><P
3089></P
3090><TABLE
3091BORDER="0"
3092WIDTH="100%"
3093BGCOLOR="#FFD0D0"
3094CELLSPACING="0"
3095CELLPADDING="4"
3096CLASS="CALSTABLE"
3097><TR
3098><TD
3099WIDTH="20%"
3100ALIGN="RIGHT"
3101VALIGN="TOP"
3102><TT
3103CLASS="PARAMETER"
3104><I
3105>ctxt</I
3106></TT
3107>&nbsp;:</TD
3108><TD
3109WIDTH="80%"
3110ALIGN="LEFT"
3111VALIGN="TOP"
3112> the validation context</TD
3113></TR
3114><TR
3115><TD
3116WIDTH="20%"
3117ALIGN="RIGHT"
3118VALIGN="TOP"
3119><TT
3120CLASS="PARAMETER"
3121><I
3122>doc</I
3123></TT
3124>&nbsp;:</TD
3125><TD
3126WIDTH="80%"
3127ALIGN="LEFT"
3128VALIGN="TOP"
3129> pointer to the document</TD
3130></TR
3131><TR
3132><TD
3133WIDTH="20%"
3134ALIGN="RIGHT"
3135VALIGN="TOP"
3136><TT
3137CLASS="PARAMETER"
3138><I
3139>value</I
3140></TT
3141>&nbsp;:</TD
3142><TD
3143WIDTH="80%"
3144ALIGN="LEFT"
3145VALIGN="TOP"
3146> the value name</TD
3147></TR
3148><TR
3149><TD
3150WIDTH="20%"
3151ALIGN="RIGHT"
3152VALIGN="TOP"
3153><TT
3154CLASS="PARAMETER"
3155><I
3156>attr</I
3157></TT
3158>&nbsp;:</TD
3159><TD
3160WIDTH="80%"
3161ALIGN="LEFT"
3162VALIGN="TOP"
3163> the attribute holding the ID</TD
3164></TR
3165><TR
3166><TD
3167WIDTH="20%"
3168ALIGN="RIGHT"
3169VALIGN="TOP"
3170><I
3171CLASS="EMPHASIS"
3172>Returns</I
3173> :</TD
3174><TD
3175WIDTH="80%"
3176ALIGN="LEFT"
3177VALIGN="TOP"
3178>NULL if not, othervise the new xmlIDPtr</TD
3179></TR
3180></TABLE
3181><P
3182></P
3183></DIV
3184></DIV
3185><HR><DIV
3186CLASS="REFSECT2"
3187><A
3188NAME="AEN5286"
3189></A
3190><H3
3191><A
3192NAME="XMLCOPYIDTABLE"
3193></A
3194>xmlCopyIDTable ()</H3
3195><TABLE
3196BORDER="0"
3197BGCOLOR="#D6E8FF"
3198WIDTH="100%"
3199CELLPADDING="6"
3200><TR
3201><TD
3202><PRE
3203CLASS="PROGRAMLISTING"
3204><A
3205HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3206>xmlIDTablePtr</A
3207> xmlCopyIDTable (<A
3208HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3209>xmlIDTablePtr</A
3210> table);</PRE
3211></TD
3212></TR
3213></TABLE
3214><P
3215></P
3216><DIV
3217CLASS="INFORMALTABLE"
3218><P
3219></P
3220><TABLE
3221BORDER="0"
3222WIDTH="100%"
3223BGCOLOR="#FFD0D0"
3224CELLSPACING="0"
3225CELLPADDING="4"
3226CLASS="CALSTABLE"
3227><TR
3228><TD
3229WIDTH="20%"
3230ALIGN="RIGHT"
3231VALIGN="TOP"
3232><TT
3233CLASS="PARAMETER"
3234><I
3235>table</I
3236></TT
3237>&nbsp;:</TD
3238><TD
3239WIDTH="80%"
3240ALIGN="LEFT"
3241VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003242>&nbsp;</TD
3243></TR
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003244><TR
3245><TD
3246WIDTH="20%"
3247ALIGN="RIGHT"
3248VALIGN="TOP"
3249><I
3250CLASS="EMPHASIS"
3251>Returns</I
3252> :</TD
3253><TD
3254WIDTH="80%"
3255ALIGN="LEFT"
3256VALIGN="TOP"
3257>&nbsp;</TD
3258></TR
Daniel Veillardb05deb71999-08-10 19:04:08 +00003259></TABLE
3260><P
3261></P
3262></DIV
3263></DIV
3264><HR><DIV
3265CLASS="REFSECT2"
3266><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003267NAME="AEN5306"
3268></A
3269><H3
3270><A
3271NAME="XMLFREEIDTABLE"
3272></A
3273>xmlFreeIDTable ()</H3
3274><TABLE
3275BORDER="0"
3276BGCOLOR="#D6E8FF"
3277WIDTH="100%"
3278CELLPADDING="6"
3279><TR
3280><TD
3281><PRE
3282CLASS="PROGRAMLISTING"
3283>void xmlFreeIDTable (<A
3284HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3285>xmlIDTablePtr</A
3286> table);</PRE
3287></TD
3288></TR
3289></TABLE
3290><P
3291>Deallocate the memory used by an ID hash table.</P
3292><P
3293></P
3294><DIV
3295CLASS="INFORMALTABLE"
3296><P
3297></P
3298><TABLE
3299BORDER="0"
3300WIDTH="100%"
3301BGCOLOR="#FFD0D0"
3302CELLSPACING="0"
3303CELLPADDING="4"
3304CLASS="CALSTABLE"
3305><TR
3306><TD
3307WIDTH="20%"
3308ALIGN="RIGHT"
3309VALIGN="TOP"
3310><TT
3311CLASS="PARAMETER"
3312><I
3313>table</I
3314></TT
3315>&nbsp;:</TD
3316><TD
3317WIDTH="80%"
3318ALIGN="LEFT"
3319VALIGN="TOP"
3320> An id table</TD
3321></TR
3322></TABLE
3323><P
3324></P
3325></DIV
3326></DIV
3327><HR><DIV
3328CLASS="REFSECT2"
3329><A
3330NAME="AEN5322"
3331></A
3332><H3
3333><A
3334NAME="XMLGETID"
3335></A
3336>xmlGetID ()</H3
3337><TABLE
3338BORDER="0"
3339BGCOLOR="#D6E8FF"
3340WIDTH="100%"
3341CELLPADDING="6"
3342><TR
3343><TD
3344><PRE
3345CLASS="PROGRAMLISTING"
3346><A
3347HREF="gnome-xml-tree.html#XMLATTRPTR"
3348>xmlAttrPtr</A
3349> xmlGetID (<A
3350HREF="gnome-xml-tree.html#XMLDOCPTR"
3351>xmlDocPtr</A
3352> doc,
3353 const <A
3354HREF="gnome-xml-tree.html#CHAR"
3355>CHAR</A
3356> *ID);</PRE
3357></TD
3358></TR
3359></TABLE
3360><P
3361>Search the attribute declaring the given ID</P
3362><P
3363></P
3364><DIV
3365CLASS="INFORMALTABLE"
3366><P
3367></P
3368><TABLE
3369BORDER="0"
3370WIDTH="100%"
3371BGCOLOR="#FFD0D0"
3372CELLSPACING="0"
3373CELLPADDING="4"
3374CLASS="CALSTABLE"
3375><TR
3376><TD
3377WIDTH="20%"
3378ALIGN="RIGHT"
3379VALIGN="TOP"
3380><TT
3381CLASS="PARAMETER"
3382><I
3383>doc</I
3384></TT
3385>&nbsp;:</TD
3386><TD
3387WIDTH="80%"
3388ALIGN="LEFT"
3389VALIGN="TOP"
3390> pointer to the document</TD
3391></TR
3392><TR
3393><TD
3394WIDTH="20%"
3395ALIGN="RIGHT"
3396VALIGN="TOP"
3397><TT
3398CLASS="PARAMETER"
3399><I
3400>ID</I
3401></TT
3402>&nbsp;:</TD
3403><TD
3404WIDTH="80%"
3405ALIGN="LEFT"
3406VALIGN="TOP"
3407> the ID value</TD
3408></TR
3409><TR
3410><TD
3411WIDTH="20%"
3412ALIGN="RIGHT"
3413VALIGN="TOP"
3414><I
3415CLASS="EMPHASIS"
3416>Returns</I
3417> :</TD
3418><TD
3419WIDTH="80%"
3420ALIGN="LEFT"
3421VALIGN="TOP"
3422>NULL if not found, otherwise the xmlAttrPtr defining the ID</TD
3423></TR
3424></TABLE
3425><P
3426></P
3427></DIV
3428></DIV
3429><HR><DIV
3430CLASS="REFSECT2"
3431><A
3432NAME="AEN5348"
3433></A
3434><H3
3435><A
3436NAME="XMLISID"
3437></A
3438>xmlIsID ()</H3
3439><TABLE
3440BORDER="0"
3441BGCOLOR="#D6E8FF"
3442WIDTH="100%"
3443CELLPADDING="6"
3444><TR
3445><TD
3446><PRE
3447CLASS="PROGRAMLISTING"
3448>int xmlIsID (<A
3449HREF="gnome-xml-tree.html#XMLDOCPTR"
3450>xmlDocPtr</A
3451> doc,
3452 <A
3453HREF="gnome-xml-tree.html#XMLNODEPTR"
3454>xmlNodePtr</A
3455> elem,
3456 <A
3457HREF="gnome-xml-tree.html#XMLATTRPTR"
3458>xmlAttrPtr</A
3459> attr);</PRE
3460></TD
3461></TR
3462></TABLE
3463><P
3464>Determine whether an attribute is of type ID. In case we have Dtd(s)
3465then this is simple, otherwise we use an heuristic: name ID (upper
3466or lowercase).</P
3467><P
3468></P
3469><DIV
3470CLASS="INFORMALTABLE"
3471><P
3472></P
3473><TABLE
3474BORDER="0"
3475WIDTH="100%"
3476BGCOLOR="#FFD0D0"
3477CELLSPACING="0"
3478CELLPADDING="4"
3479CLASS="CALSTABLE"
3480><TR
3481><TD
3482WIDTH="20%"
3483ALIGN="RIGHT"
3484VALIGN="TOP"
3485><TT
3486CLASS="PARAMETER"
3487><I
3488>doc</I
3489></TT
3490>&nbsp;:</TD
3491><TD
3492WIDTH="80%"
3493ALIGN="LEFT"
3494VALIGN="TOP"
3495> the document</TD
3496></TR
3497><TR
3498><TD
3499WIDTH="20%"
3500ALIGN="RIGHT"
3501VALIGN="TOP"
3502><TT
3503CLASS="PARAMETER"
3504><I
3505>elem</I
3506></TT
3507>&nbsp;:</TD
3508><TD
3509WIDTH="80%"
3510ALIGN="LEFT"
3511VALIGN="TOP"
3512> the element carrying the attribute</TD
3513></TR
3514><TR
3515><TD
3516WIDTH="20%"
3517ALIGN="RIGHT"
3518VALIGN="TOP"
3519><TT
3520CLASS="PARAMETER"
3521><I
3522>attr</I
3523></TT
3524>&nbsp;:</TD
3525><TD
3526WIDTH="80%"
3527ALIGN="LEFT"
3528VALIGN="TOP"
3529> the attribute</TD
3530></TR
3531><TR
3532><TD
3533WIDTH="20%"
3534ALIGN="RIGHT"
3535VALIGN="TOP"
3536><I
3537CLASS="EMPHASIS"
3538>Returns</I
3539> :</TD
3540><TD
3541WIDTH="80%"
3542ALIGN="LEFT"
3543VALIGN="TOP"
3544>0 or 1 depending on the lookup result</TD
3545></TR
3546></TABLE
3547><P
3548></P
3549></DIV
3550></DIV
3551><HR><DIV
3552CLASS="REFSECT2"
3553><A
3554NAME="AEN5378"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003555></A
3556><H3
3557><A
3558NAME="XMLVALIDATEROOT"
3559></A
3560>xmlValidateRoot ()</H3
3561><TABLE
3562BORDER="0"
3563BGCOLOR="#D6E8FF"
3564WIDTH="100%"
3565CELLPADDING="6"
3566><TR
3567><TD
3568><PRE
3569CLASS="PROGRAMLISTING"
3570>int xmlValidateRoot (<GTKDOCLINK
3571HREF="XMLVALIDCTXTPTR"
3572>xmlValidCtxtPtr</GTKDOCLINK
3573> ctxt,
3574 <A
3575HREF="gnome-xml-tree.html#XMLDOCPTR"
3576>xmlDocPtr</A
3577> doc);</PRE
3578></TD
3579></TR
3580></TABLE
3581><P
3582>Try to validate a the root element
3583basically it does the following check as described by the
3584XML-1.0 recommendation:
3585- [ VC: Root Element Type ]
3586it doesn't try to recurse or apply other check to the element</P
3587><P
3588></P
3589><DIV
3590CLASS="INFORMALTABLE"
3591><P
3592></P
3593><TABLE
3594BORDER="0"
3595WIDTH="100%"
3596BGCOLOR="#FFD0D0"
3597CELLSPACING="0"
3598CELLPADDING="4"
3599CLASS="CALSTABLE"
3600><TR
3601><TD
3602WIDTH="20%"
3603ALIGN="RIGHT"
3604VALIGN="TOP"
3605><TT
3606CLASS="PARAMETER"
3607><I
3608>ctxt</I
3609></TT
3610>&nbsp;:</TD
3611><TD
3612WIDTH="80%"
3613ALIGN="LEFT"
3614VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003615> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003616></TR
3617><TR
3618><TD
3619WIDTH="20%"
3620ALIGN="RIGHT"
3621VALIGN="TOP"
3622><TT
3623CLASS="PARAMETER"
3624><I
3625>doc</I
3626></TT
3627>&nbsp;:</TD
3628><TD
3629WIDTH="80%"
3630ALIGN="LEFT"
3631VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003632> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003633></TR
3634><TR
3635><TD
3636WIDTH="20%"
3637ALIGN="RIGHT"
3638VALIGN="TOP"
3639><I
3640CLASS="EMPHASIS"
3641>Returns</I
3642> :</TD
3643><TD
3644WIDTH="80%"
3645ALIGN="LEFT"
3646VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003647>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003648></TR
3649></TABLE
3650><P
3651></P
3652></DIV
3653></DIV
3654><HR><DIV
3655CLASS="REFSECT2"
3656><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003657NAME="AEN5403"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003658></A
3659><H3
3660><A
3661NAME="XMLVALIDATEELEMENTDECL"
3662></A
3663>xmlValidateElementDecl ()</H3
3664><TABLE
3665BORDER="0"
3666BGCOLOR="#D6E8FF"
3667WIDTH="100%"
3668CELLPADDING="6"
3669><TR
3670><TD
3671><PRE
3672CLASS="PROGRAMLISTING"
3673>int xmlValidateElementDecl (<GTKDOCLINK
3674HREF="XMLVALIDCTXTPTR"
3675>xmlValidCtxtPtr</GTKDOCLINK
3676> ctxt,
3677 <A
3678HREF="gnome-xml-tree.html#XMLDOCPTR"
3679>xmlDocPtr</A
3680> doc,
3681 <A
3682HREF="gnome-xml-tree.html#XMLELEMENTPTR"
3683>xmlElementPtr</A
3684> elem);</PRE
3685></TD
3686></TR
3687></TABLE
3688><P
3689>Try to validate a single element definition
3690basically it does the following checks as described by the
3691XML-1.0 recommendation:
3692- [ VC: One ID per Element Type ]
3693- [ VC: No Duplicate Types ]
3694- [ VC: Unique Element Type Declaration ]</P
3695><P
3696></P
3697><DIV
3698CLASS="INFORMALTABLE"
3699><P
3700></P
3701><TABLE
3702BORDER="0"
3703WIDTH="100%"
3704BGCOLOR="#FFD0D0"
3705CELLSPACING="0"
3706CELLPADDING="4"
3707CLASS="CALSTABLE"
3708><TR
3709><TD
3710WIDTH="20%"
3711ALIGN="RIGHT"
3712VALIGN="TOP"
3713><TT
3714CLASS="PARAMETER"
3715><I
3716>ctxt</I
3717></TT
3718>&nbsp;:</TD
3719><TD
3720WIDTH="80%"
3721ALIGN="LEFT"
3722VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003723> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003724></TR
3725><TR
3726><TD
3727WIDTH="20%"
3728ALIGN="RIGHT"
3729VALIGN="TOP"
3730><TT
3731CLASS="PARAMETER"
3732><I
3733>doc</I
3734></TT
3735>&nbsp;:</TD
3736><TD
3737WIDTH="80%"
3738ALIGN="LEFT"
3739VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003740> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003741></TR
3742><TR
3743><TD
3744WIDTH="20%"
3745ALIGN="RIGHT"
3746VALIGN="TOP"
3747><TT
3748CLASS="PARAMETER"
3749><I
3750>elem</I
3751></TT
3752>&nbsp;:</TD
3753><TD
3754WIDTH="80%"
3755ALIGN="LEFT"
3756VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003757> an element definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003758></TR
3759><TR
3760><TD
3761WIDTH="20%"
3762ALIGN="RIGHT"
3763VALIGN="TOP"
3764><I
3765CLASS="EMPHASIS"
3766>Returns</I
3767> :</TD
3768><TD
3769WIDTH="80%"
3770ALIGN="LEFT"
3771VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003772>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003773></TR
3774></TABLE
3775><P
3776></P
3777></DIV
3778></DIV
3779><HR><DIV
3780CLASS="REFSECT2"
3781><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003782NAME="AEN5433"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003783></A
3784><H3
3785><A
3786NAME="XMLVALIDATEATTRIBUTEDECL"
3787></A
3788>xmlValidateAttributeDecl ()</H3
3789><TABLE
3790BORDER="0"
3791BGCOLOR="#D6E8FF"
3792WIDTH="100%"
3793CELLPADDING="6"
3794><TR
3795><TD
3796><PRE
3797CLASS="PROGRAMLISTING"
3798>int xmlValidateAttributeDecl (<GTKDOCLINK
3799HREF="XMLVALIDCTXTPTR"
3800>xmlValidCtxtPtr</GTKDOCLINK
3801> ctxt,
3802 <A
3803HREF="gnome-xml-tree.html#XMLDOCPTR"
3804>xmlDocPtr</A
3805> doc,
3806 <A
3807HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
3808>xmlAttributePtr</A
3809> attr);</PRE
3810></TD
3811></TR
3812></TABLE
3813><P
3814>Try to validate a single attribute definition
3815basically it does the following checks as described by the
3816XML-1.0 recommendation:
3817- [ VC: Attribute Default Legal ]
3818- [ VC: Enumeration ]
3819- [ VC: ID Attribute Default ]</P
3820><P
3821>The ID/IDREF uniqueness and matching are done separately</P
3822><P
3823></P
3824><DIV
3825CLASS="INFORMALTABLE"
3826><P
3827></P
3828><TABLE
3829BORDER="0"
3830WIDTH="100%"
3831BGCOLOR="#FFD0D0"
3832CELLSPACING="0"
3833CELLPADDING="4"
3834CLASS="CALSTABLE"
3835><TR
3836><TD
3837WIDTH="20%"
3838ALIGN="RIGHT"
3839VALIGN="TOP"
3840><TT
3841CLASS="PARAMETER"
3842><I
3843>ctxt</I
3844></TT
3845>&nbsp;:</TD
3846><TD
3847WIDTH="80%"
3848ALIGN="LEFT"
3849VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003850> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003851></TR
3852><TR
3853><TD
3854WIDTH="20%"
3855ALIGN="RIGHT"
3856VALIGN="TOP"
3857><TT
3858CLASS="PARAMETER"
3859><I
3860>doc</I
3861></TT
3862>&nbsp;:</TD
3863><TD
3864WIDTH="80%"
3865ALIGN="LEFT"
3866VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003867> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003868></TR
3869><TR
3870><TD
3871WIDTH="20%"
3872ALIGN="RIGHT"
3873VALIGN="TOP"
3874><TT
3875CLASS="PARAMETER"
3876><I
3877>attr</I
3878></TT
3879>&nbsp;:</TD
3880><TD
3881WIDTH="80%"
3882ALIGN="LEFT"
3883VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003884> an attribute definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003885></TR
3886><TR
3887><TD
3888WIDTH="20%"
3889ALIGN="RIGHT"
3890VALIGN="TOP"
3891><I
3892CLASS="EMPHASIS"
3893>Returns</I
3894> :</TD
3895><TD
3896WIDTH="80%"
3897ALIGN="LEFT"
3898VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003899>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003900></TR
3901></TABLE
3902><P
3903></P
3904></DIV
3905></DIV
3906><HR><DIV
3907CLASS="REFSECT2"
3908><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003909NAME="AEN5464"
3910></A
3911><H3
3912><A
3913NAME="XMLVALIDATEATTRIBUTEVALUE"
3914></A
3915>xmlValidateAttributeValue ()</H3
3916><TABLE
3917BORDER="0"
3918BGCOLOR="#D6E8FF"
3919WIDTH="100%"
3920CELLPADDING="6"
3921><TR
3922><TD
3923><PRE
3924CLASS="PROGRAMLISTING"
3925>int xmlValidateAttributeValue (<A
3926HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
3927>xmlAttributeType</A
3928> type,
3929 const <A
3930HREF="gnome-xml-tree.html#CHAR"
3931>CHAR</A
3932> *value);</PRE
3933></TD
3934></TR
3935></TABLE
3936><P
3937>Validate that the given attribute value match the proper production</P
3938><P
3939>[ VC: ID ]
3940Values of type ID must match the Name production....</P
3941><P
3942>[ VC: IDREF ]
3943Values of type IDREF must match the Name production, and values
3944of type IDREFS must match Names ...</P
3945><P
3946>[ VC: Entity Name ]
3947Values of type ENTITY must match the Name production, values
3948of type ENTITIES must match Names ...</P
3949><P
3950>[ VC: Name Token ]
3951Values of type NMTOKEN must match the Nmtoken production; values
3952of type NMTOKENS must match Nmtokens.</P
3953><P
3954></P
3955><DIV
3956CLASS="INFORMALTABLE"
3957><P
3958></P
3959><TABLE
3960BORDER="0"
3961WIDTH="100%"
3962BGCOLOR="#FFD0D0"
3963CELLSPACING="0"
3964CELLPADDING="4"
3965CLASS="CALSTABLE"
3966><TR
3967><TD
3968WIDTH="20%"
3969ALIGN="RIGHT"
3970VALIGN="TOP"
3971><TT
3972CLASS="PARAMETER"
3973><I
3974>type</I
3975></TT
3976>&nbsp;:</TD
3977><TD
3978WIDTH="80%"
3979ALIGN="LEFT"
3980VALIGN="TOP"
3981> an attribute type</TD
3982></TR
3983><TR
3984><TD
3985WIDTH="20%"
3986ALIGN="RIGHT"
3987VALIGN="TOP"
3988><TT
3989CLASS="PARAMETER"
3990><I
3991>value</I
3992></TT
3993>&nbsp;:</TD
3994><TD
3995WIDTH="80%"
3996ALIGN="LEFT"
3997VALIGN="TOP"
3998> an attribute value</TD
3999></TR
4000><TR
4001><TD
4002WIDTH="20%"
4003ALIGN="RIGHT"
4004VALIGN="TOP"
4005><I
4006CLASS="EMPHASIS"
4007>Returns</I
4008> :</TD
4009><TD
4010WIDTH="80%"
4011ALIGN="LEFT"
4012VALIGN="TOP"
4013>1 if valid or 0 otherwise</TD
4014></TR
4015></TABLE
4016><P
4017></P
4018></DIV
4019></DIV
4020><HR><DIV
4021CLASS="REFSECT2"
4022><A
4023NAME="AEN5493"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004024></A
4025><H3
4026><A
4027NAME="XMLVALIDATENOTATIONDECL"
4028></A
4029>xmlValidateNotationDecl ()</H3
4030><TABLE
4031BORDER="0"
4032BGCOLOR="#D6E8FF"
4033WIDTH="100%"
4034CELLPADDING="6"
4035><TR
4036><TD
4037><PRE
4038CLASS="PROGRAMLISTING"
4039>int xmlValidateNotationDecl (<GTKDOCLINK
4040HREF="XMLVALIDCTXTPTR"
4041>xmlValidCtxtPtr</GTKDOCLINK
4042> ctxt,
4043 <A
4044HREF="gnome-xml-tree.html#XMLDOCPTR"
4045>xmlDocPtr</A
4046> doc,
4047 <A
4048HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
4049>xmlNotationPtr</A
4050> nota);</PRE
4051></TD
4052></TR
4053></TABLE
4054><P
4055>Try to validate a single notation definition
4056basically it does the following checks as described by the
4057XML-1.0 recommendation:
4058- it seems that no validity constraing exist on notation declarations
4059But this function get called anyway ...</P
4060><P
4061></P
4062><DIV
4063CLASS="INFORMALTABLE"
4064><P
4065></P
4066><TABLE
4067BORDER="0"
4068WIDTH="100%"
4069BGCOLOR="#FFD0D0"
4070CELLSPACING="0"
4071CELLPADDING="4"
4072CLASS="CALSTABLE"
4073><TR
4074><TD
4075WIDTH="20%"
4076ALIGN="RIGHT"
4077VALIGN="TOP"
4078><TT
4079CLASS="PARAMETER"
4080><I
4081>ctxt</I
4082></TT
4083>&nbsp;:</TD
4084><TD
4085WIDTH="80%"
4086ALIGN="LEFT"
4087VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004088> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004089></TR
4090><TR
4091><TD
4092WIDTH="20%"
4093ALIGN="RIGHT"
4094VALIGN="TOP"
4095><TT
4096CLASS="PARAMETER"
4097><I
4098>doc</I
4099></TT
4100>&nbsp;:</TD
4101><TD
4102WIDTH="80%"
4103ALIGN="LEFT"
4104VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004105> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004106></TR
4107><TR
4108><TD
4109WIDTH="20%"
4110ALIGN="RIGHT"
4111VALIGN="TOP"
4112><TT
4113CLASS="PARAMETER"
4114><I
4115>nota</I
4116></TT
4117>&nbsp;:</TD
4118><TD
4119WIDTH="80%"
4120ALIGN="LEFT"
4121VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004122> a notation definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004123></TR
4124><TR
4125><TD
4126WIDTH="20%"
4127ALIGN="RIGHT"
4128VALIGN="TOP"
4129><I
4130CLASS="EMPHASIS"
4131>Returns</I
4132> :</TD
4133><TD
4134WIDTH="80%"
4135ALIGN="LEFT"
4136VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004137>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004138></TR
4139></TABLE
4140><P
4141></P
4142></DIV
4143></DIV
4144><HR><DIV
4145CLASS="REFSECT2"
4146><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004147NAME="AEN5523"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004148></A
4149><H3
4150><A
4151NAME="XMLVALIDATEDTD"
4152></A
4153>xmlValidateDtd ()</H3
4154><TABLE
4155BORDER="0"
4156BGCOLOR="#D6E8FF"
4157WIDTH="100%"
4158CELLPADDING="6"
4159><TR
4160><TD
4161><PRE
4162CLASS="PROGRAMLISTING"
4163>int xmlValidateDtd (<GTKDOCLINK
4164HREF="XMLVALIDCTXTPTR"
4165>xmlValidCtxtPtr</GTKDOCLINK
4166> ctxt,
4167 <A
4168HREF="gnome-xml-tree.html#XMLDOCPTR"
4169>xmlDocPtr</A
4170> doc,
4171 <A
4172HREF="gnome-xml-tree.html#XMLDTDPTR"
4173>xmlDtdPtr</A
4174> dtd);</PRE
4175></TD
4176></TR
4177></TABLE
4178><P
4179>Try to validate the dtd instance</P
4180><P
4181>basically it does check all the definitions in the DtD.</P
4182><P
4183></P
4184><DIV
4185CLASS="INFORMALTABLE"
4186><P
4187></P
4188><TABLE
4189BORDER="0"
4190WIDTH="100%"
4191BGCOLOR="#FFD0D0"
4192CELLSPACING="0"
4193CELLPADDING="4"
4194CLASS="CALSTABLE"
4195><TR
4196><TD
4197WIDTH="20%"
4198ALIGN="RIGHT"
4199VALIGN="TOP"
4200><TT
4201CLASS="PARAMETER"
4202><I
4203>ctxt</I
4204></TT
4205>&nbsp;:</TD
4206><TD
4207WIDTH="80%"
4208ALIGN="LEFT"
4209VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004210> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004211></TR
4212><TR
4213><TD
4214WIDTH="20%"
4215ALIGN="RIGHT"
4216VALIGN="TOP"
4217><TT
4218CLASS="PARAMETER"
4219><I
4220>doc</I
4221></TT
4222>&nbsp;:</TD
4223><TD
4224WIDTH="80%"
4225ALIGN="LEFT"
4226VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004227> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004228></TR
4229><TR
4230><TD
4231WIDTH="20%"
4232ALIGN="RIGHT"
4233VALIGN="TOP"
4234><TT
4235CLASS="PARAMETER"
4236><I
4237>dtd</I
4238></TT
4239>&nbsp;:</TD
4240><TD
4241WIDTH="80%"
4242ALIGN="LEFT"
4243VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004244> a dtd instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004245></TR
4246><TR
4247><TD
4248WIDTH="20%"
4249ALIGN="RIGHT"
4250VALIGN="TOP"
4251><I
4252CLASS="EMPHASIS"
4253>Returns</I
4254> :</TD
4255><TD
4256WIDTH="80%"
4257ALIGN="LEFT"
4258VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004259>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004260></TR
4261></TABLE
4262><P
4263></P
4264></DIV
4265></DIV
4266><HR><DIV
4267CLASS="REFSECT2"
4268><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004269NAME="AEN5554"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004270></A
4271><H3
4272><A
4273NAME="XMLVALIDATEDOCUMENT"
4274></A
4275>xmlValidateDocument ()</H3
4276><TABLE
4277BORDER="0"
4278BGCOLOR="#D6E8FF"
4279WIDTH="100%"
4280CELLPADDING="6"
4281><TR
4282><TD
4283><PRE
4284CLASS="PROGRAMLISTING"
4285>int xmlValidateDocument (<GTKDOCLINK
4286HREF="XMLVALIDCTXTPTR"
4287>xmlValidCtxtPtr</GTKDOCLINK
4288> ctxt,
4289 <A
4290HREF="gnome-xml-tree.html#XMLDOCPTR"
4291>xmlDocPtr</A
4292> doc);</PRE
4293></TD
4294></TR
4295></TABLE
4296><P
4297>Try to validate the document instance</P
4298><P
4299>basically it does the all the checks described by the
4300i.e. validates the internal and external subset (if present)
4301and validate the document tree.</P
4302><P
4303></P
4304><DIV
4305CLASS="INFORMALTABLE"
4306><P
4307></P
4308><TABLE
4309BORDER="0"
4310WIDTH="100%"
4311BGCOLOR="#FFD0D0"
4312CELLSPACING="0"
4313CELLPADDING="4"
4314CLASS="CALSTABLE"
4315><TR
4316><TD
4317WIDTH="20%"
4318ALIGN="RIGHT"
4319VALIGN="TOP"
4320><TT
4321CLASS="PARAMETER"
4322><I
4323>ctxt</I
4324></TT
4325>&nbsp;:</TD
4326><TD
4327WIDTH="80%"
4328ALIGN="LEFT"
4329VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004330> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004331></TR
4332><TR
4333><TD
4334WIDTH="20%"
4335ALIGN="RIGHT"
4336VALIGN="TOP"
4337><TT
4338CLASS="PARAMETER"
4339><I
4340>doc</I
4341></TT
4342>&nbsp;:</TD
4343><TD
4344WIDTH="80%"
4345ALIGN="LEFT"
4346VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004347> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004348></TR
4349><TR
4350><TD
4351WIDTH="20%"
4352ALIGN="RIGHT"
4353VALIGN="TOP"
4354><I
4355CLASS="EMPHASIS"
4356>Returns</I
4357> :</TD
4358><TD
4359WIDTH="80%"
4360ALIGN="LEFT"
4361VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004362>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004363></TR
4364></TABLE
4365><P
4366></P
4367></DIV
4368></DIV
4369><HR><DIV
4370CLASS="REFSECT2"
4371><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004372NAME="AEN5580"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004373></A
4374><H3
4375><A
4376NAME="XMLVALIDATEELEMENT"
4377></A
4378>xmlValidateElement ()</H3
4379><TABLE
4380BORDER="0"
4381BGCOLOR="#D6E8FF"
4382WIDTH="100%"
4383CELLPADDING="6"
4384><TR
4385><TD
4386><PRE
4387CLASS="PROGRAMLISTING"
4388>int xmlValidateElement (<GTKDOCLINK
4389HREF="XMLVALIDCTXTPTR"
4390>xmlValidCtxtPtr</GTKDOCLINK
4391> ctxt,
4392 <A
4393HREF="gnome-xml-tree.html#XMLDOCPTR"
4394>xmlDocPtr</A
4395> doc,
4396 <A
4397HREF="gnome-xml-tree.html#XMLNODEPTR"
4398>xmlNodePtr</A
4399> elem);</PRE
4400></TD
4401></TR
4402></TABLE
4403><P
4404>Try to validate the subtree under an element</P
4405><P
4406></P
4407><DIV
4408CLASS="INFORMALTABLE"
4409><P
4410></P
4411><TABLE
4412BORDER="0"
4413WIDTH="100%"
4414BGCOLOR="#FFD0D0"
4415CELLSPACING="0"
4416CELLPADDING="4"
4417CLASS="CALSTABLE"
4418><TR
4419><TD
4420WIDTH="20%"
4421ALIGN="RIGHT"
4422VALIGN="TOP"
4423><TT
4424CLASS="PARAMETER"
4425><I
4426>ctxt</I
4427></TT
4428>&nbsp;:</TD
4429><TD
4430WIDTH="80%"
4431ALIGN="LEFT"
4432VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004433> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004434></TR
4435><TR
4436><TD
4437WIDTH="20%"
4438ALIGN="RIGHT"
4439VALIGN="TOP"
4440><TT
4441CLASS="PARAMETER"
4442><I
4443>doc</I
4444></TT
4445>&nbsp;:</TD
4446><TD
4447WIDTH="80%"
4448ALIGN="LEFT"
4449VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004450> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004451></TR
4452><TR
4453><TD
4454WIDTH="20%"
4455ALIGN="RIGHT"
4456VALIGN="TOP"
4457><TT
4458CLASS="PARAMETER"
4459><I
4460>elem</I
4461></TT
4462>&nbsp;:</TD
4463><TD
4464WIDTH="80%"
4465ALIGN="LEFT"
4466VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004467> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004468></TR
4469><TR
4470><TD
4471WIDTH="20%"
4472ALIGN="RIGHT"
4473VALIGN="TOP"
4474><I
4475CLASS="EMPHASIS"
4476>Returns</I
4477> :</TD
4478><TD
4479WIDTH="80%"
4480ALIGN="LEFT"
4481VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004482>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004483></TR
4484></TABLE
4485><P
4486></P
4487></DIV
4488></DIV
4489><HR><DIV
4490CLASS="REFSECT2"
4491><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004492NAME="AEN5610"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004493></A
4494><H3
4495><A
4496NAME="XMLVALIDATEONEELEMENT"
4497></A
4498>xmlValidateOneElement ()</H3
4499><TABLE
4500BORDER="0"
4501BGCOLOR="#D6E8FF"
4502WIDTH="100%"
4503CELLPADDING="6"
4504><TR
4505><TD
4506><PRE
4507CLASS="PROGRAMLISTING"
4508>int xmlValidateOneElement (<GTKDOCLINK
4509HREF="XMLVALIDCTXTPTR"
4510>xmlValidCtxtPtr</GTKDOCLINK
4511> ctxt,
4512 <A
4513HREF="gnome-xml-tree.html#XMLDOCPTR"
4514>xmlDocPtr</A
4515> doc,
4516 <A
4517HREF="gnome-xml-tree.html#XMLNODEPTR"
4518>xmlNodePtr</A
4519> elem);</PRE
4520></TD
4521></TR
4522></TABLE
4523><P
4524>Try to validate a single element and it's attributes,
4525basically it does the following checks as described by the
4526XML-1.0 recommendation:
4527- [ VC: Element Valid ]
4528- [ VC: Required Attribute ]
4529Then call <A
4530HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE"
4531>xmlValidateOneAttribute</A
4532>() for each attribute present.</P
4533><P
4534>The ID/IDREF checkings are done separately</P
4535><P
4536></P
4537><DIV
4538CLASS="INFORMALTABLE"
4539><P
4540></P
4541><TABLE
4542BORDER="0"
4543WIDTH="100%"
4544BGCOLOR="#FFD0D0"
4545CELLSPACING="0"
4546CELLPADDING="4"
4547CLASS="CALSTABLE"
4548><TR
4549><TD
4550WIDTH="20%"
4551ALIGN="RIGHT"
4552VALIGN="TOP"
4553><TT
4554CLASS="PARAMETER"
4555><I
4556>ctxt</I
4557></TT
4558>&nbsp;:</TD
4559><TD
4560WIDTH="80%"
4561ALIGN="LEFT"
4562VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004563> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004564></TR
4565><TR
4566><TD
4567WIDTH="20%"
4568ALIGN="RIGHT"
4569VALIGN="TOP"
4570><TT
4571CLASS="PARAMETER"
4572><I
4573>doc</I
4574></TT
4575>&nbsp;:</TD
4576><TD
4577WIDTH="80%"
4578ALIGN="LEFT"
4579VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004580> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004581></TR
4582><TR
4583><TD
4584WIDTH="20%"
4585ALIGN="RIGHT"
4586VALIGN="TOP"
4587><TT
4588CLASS="PARAMETER"
4589><I
4590>elem</I
4591></TT
4592>&nbsp;:</TD
4593><TD
4594WIDTH="80%"
4595ALIGN="LEFT"
4596VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004597> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004598></TR
4599><TR
4600><TD
4601WIDTH="20%"
4602ALIGN="RIGHT"
4603VALIGN="TOP"
4604><I
4605CLASS="EMPHASIS"
4606>Returns</I
4607> :</TD
4608><TD
4609WIDTH="80%"
4610ALIGN="LEFT"
4611VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004612>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004613></TR
4614></TABLE
4615><P
4616></P
4617></DIV
4618></DIV
4619><HR><DIV
4620CLASS="REFSECT2"
4621><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004622NAME="AEN5642"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004623></A
4624><H3
4625><A
4626NAME="XMLVALIDATEONEATTRIBUTE"
4627></A
4628>xmlValidateOneAttribute ()</H3
4629><TABLE
4630BORDER="0"
4631BGCOLOR="#D6E8FF"
4632WIDTH="100%"
4633CELLPADDING="6"
4634><TR
4635><TD
4636><PRE
4637CLASS="PROGRAMLISTING"
4638>int xmlValidateOneAttribute (<GTKDOCLINK
4639HREF="XMLVALIDCTXTPTR"
4640>xmlValidCtxtPtr</GTKDOCLINK
4641> ctxt,
4642 <A
4643HREF="gnome-xml-tree.html#XMLDOCPTR"
4644>xmlDocPtr</A
4645> doc,
4646 <A
4647HREF="gnome-xml-tree.html#XMLNODEPTR"
4648>xmlNodePtr</A
4649> elem,
4650 <A
4651HREF="gnome-xml-tree.html#XMLATTRPTR"
4652>xmlAttrPtr</A
4653> attr,
4654 const <A
4655HREF="gnome-xml-tree.html#CHAR"
4656>CHAR</A
4657> *value);</PRE
4658></TD
4659></TR
4660></TABLE
4661><P
4662>Try to validate a single attribute for an element
4663basically it * does the following checks as described by the
4664XML-1.0 recommendation:
4665- [ VC: Attribute Value Type ]
4666- [ VC: Fixed Attribute Default ]
4667- [ VC: Entity Name ]
4668- [ VC: Name Token ]
4669- [ VC: ID ]
4670- [ VC: IDREF ]
4671- [ VC: Entity Name ]
4672- [ VC: Notation Attributes ]</P
4673><P
4674>The ID/IDREF uniqueness and matching are done separately</P
4675><P
4676></P
4677><DIV
4678CLASS="INFORMALTABLE"
4679><P
4680></P
4681><TABLE
4682BORDER="0"
4683WIDTH="100%"
4684BGCOLOR="#FFD0D0"
4685CELLSPACING="0"
4686CELLPADDING="4"
4687CLASS="CALSTABLE"
4688><TR
4689><TD
4690WIDTH="20%"
4691ALIGN="RIGHT"
4692VALIGN="TOP"
4693><TT
4694CLASS="PARAMETER"
4695><I
4696>ctxt</I
4697></TT
4698>&nbsp;:</TD
4699><TD
4700WIDTH="80%"
4701ALIGN="LEFT"
4702VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004703> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004704></TR
4705><TR
4706><TD
4707WIDTH="20%"
4708ALIGN="RIGHT"
4709VALIGN="TOP"
4710><TT
4711CLASS="PARAMETER"
4712><I
4713>doc</I
4714></TT
4715>&nbsp;:</TD
4716><TD
4717WIDTH="80%"
4718ALIGN="LEFT"
4719VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004720> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004721></TR
4722><TR
4723><TD
4724WIDTH="20%"
4725ALIGN="RIGHT"
4726VALIGN="TOP"
4727><TT
4728CLASS="PARAMETER"
4729><I
4730>elem</I
4731></TT
4732>&nbsp;:</TD
4733><TD
4734WIDTH="80%"
4735ALIGN="LEFT"
4736VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004737> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004738></TR
4739><TR
4740><TD
4741WIDTH="20%"
4742ALIGN="RIGHT"
4743VALIGN="TOP"
4744><TT
4745CLASS="PARAMETER"
4746><I
4747>attr</I
4748></TT
4749>&nbsp;:</TD
4750><TD
4751WIDTH="80%"
4752ALIGN="LEFT"
4753VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004754> an attribute instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004755></TR
4756><TR
4757><TD
4758WIDTH="20%"
4759ALIGN="RIGHT"
4760VALIGN="TOP"
4761><TT
4762CLASS="PARAMETER"
4763><I
4764>value</I
4765></TT
4766>&nbsp;:</TD
4767><TD
4768WIDTH="80%"
4769ALIGN="LEFT"
4770VALIGN="TOP"
4771>&nbsp;</TD
4772></TR
4773><TR
4774><TD
4775WIDTH="20%"
4776ALIGN="RIGHT"
4777VALIGN="TOP"
4778><I
4779CLASS="EMPHASIS"
4780>Returns</I
4781> :</TD
4782><TD
4783WIDTH="80%"
4784ALIGN="LEFT"
4785VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004786>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004787></TR
4788></TABLE
4789><P
4790></P
4791></DIV
4792></DIV
4793><HR><DIV
4794CLASS="REFSECT2"
4795><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004796NAME="AEN5683"
4797></A
4798><H3
4799><A
4800NAME="XMLVALIDATENOTATIONUSE"
4801></A
4802>xmlValidateNotationUse ()</H3
4803><TABLE
4804BORDER="0"
4805BGCOLOR="#D6E8FF"
4806WIDTH="100%"
4807CELLPADDING="6"
4808><TR
4809><TD
4810><PRE
4811CLASS="PROGRAMLISTING"
4812>int xmlValidateNotationUse (<GTKDOCLINK
4813HREF="XMLVALIDCTXTPTR"
4814>xmlValidCtxtPtr</GTKDOCLINK
4815> ctxt,
4816 <A
4817HREF="gnome-xml-tree.html#XMLDOCPTR"
4818>xmlDocPtr</A
4819> doc,
4820 const <A
4821HREF="gnome-xml-tree.html#CHAR"
4822>CHAR</A
4823> *notationName);</PRE
4824></TD
4825></TR
4826></TABLE
4827><P
4828>Validate that the given mame match a notation declaration.
4829- [ VC: Notation Declared ]</P
4830><P
4831></P
4832><DIV
4833CLASS="INFORMALTABLE"
4834><P
4835></P
4836><TABLE
4837BORDER="0"
4838WIDTH="100%"
4839BGCOLOR="#FFD0D0"
4840CELLSPACING="0"
4841CELLPADDING="4"
4842CLASS="CALSTABLE"
4843><TR
4844><TD
4845WIDTH="20%"
4846ALIGN="RIGHT"
4847VALIGN="TOP"
4848><TT
4849CLASS="PARAMETER"
4850><I
4851>ctxt</I
4852></TT
4853>&nbsp;:</TD
4854><TD
4855WIDTH="80%"
4856ALIGN="LEFT"
4857VALIGN="TOP"
4858> the validation context</TD
4859></TR
4860><TR
4861><TD
4862WIDTH="20%"
4863ALIGN="RIGHT"
4864VALIGN="TOP"
4865><TT
4866CLASS="PARAMETER"
4867><I
4868>doc</I
4869></TT
4870>&nbsp;:</TD
4871><TD
4872WIDTH="80%"
4873ALIGN="LEFT"
4874VALIGN="TOP"
4875> the document</TD
4876></TR
4877><TR
4878><TD
4879WIDTH="20%"
4880ALIGN="RIGHT"
4881VALIGN="TOP"
4882><TT
4883CLASS="PARAMETER"
4884><I
4885>notationName</I
4886></TT
4887>&nbsp;:</TD
4888><TD
4889WIDTH="80%"
4890ALIGN="LEFT"
4891VALIGN="TOP"
4892> the notation name to check</TD
4893></TR
4894><TR
4895><TD
4896WIDTH="20%"
4897ALIGN="RIGHT"
4898VALIGN="TOP"
4899><I
4900CLASS="EMPHASIS"
4901>Returns</I
4902> :</TD
4903><TD
4904WIDTH="80%"
4905ALIGN="LEFT"
4906VALIGN="TOP"
4907>1 if valid or 0 otherwise</TD
4908></TR
4909></TABLE
4910><P
4911></P
4912></DIV
4913></DIV
4914><HR><DIV
4915CLASS="REFSECT2"
4916><A
4917NAME="AEN5713"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004918></A
4919><H3
4920><A
4921NAME="XMLISMIXEDELEMENT"
4922></A
4923>xmlIsMixedElement ()</H3
4924><TABLE
4925BORDER="0"
4926BGCOLOR="#D6E8FF"
4927WIDTH="100%"
4928CELLPADDING="6"
4929><TR
4930><TD
4931><PRE
4932CLASS="PROGRAMLISTING"
4933>int xmlIsMixedElement (<A
4934HREF="gnome-xml-tree.html#XMLDOCPTR"
4935>xmlDocPtr</A
4936> doc,
4937 const <A
4938HREF="gnome-xml-tree.html#CHAR"
4939>CHAR</A
4940> *name);</PRE
4941></TD
4942></TR
4943></TABLE
4944><P
4945>Search in the DtDs whether an element accept Mixed content (or ANY)
4946basically if it is supposed to accept text childs</P
4947><P
4948></P
4949><DIV
4950CLASS="INFORMALTABLE"
4951><P
4952></P
4953><TABLE
4954BORDER="0"
4955WIDTH="100%"
4956BGCOLOR="#FFD0D0"
4957CELLSPACING="0"
4958CELLPADDING="4"
4959CLASS="CALSTABLE"
4960><TR
4961><TD
4962WIDTH="20%"
4963ALIGN="RIGHT"
4964VALIGN="TOP"
4965><TT
4966CLASS="PARAMETER"
4967><I
4968>doc</I
4969></TT
4970>&nbsp;:</TD
4971><TD
4972WIDTH="80%"
4973ALIGN="LEFT"
4974VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004975> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004976></TR
4977><TR
4978><TD
4979WIDTH="20%"
4980ALIGN="RIGHT"
4981VALIGN="TOP"
4982><TT
4983CLASS="PARAMETER"
4984><I
4985>name</I
4986></TT
4987>&nbsp;:</TD
4988><TD
4989WIDTH="80%"
4990ALIGN="LEFT"
4991VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004992> the element name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004993></TR
4994><TR
4995><TD
4996WIDTH="20%"
4997ALIGN="RIGHT"
4998VALIGN="TOP"
4999><I
5000CLASS="EMPHASIS"
5001>Returns</I
5002> :</TD
5003><TD
5004WIDTH="80%"
5005ALIGN="LEFT"
5006VALIGN="TOP"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005007>0 if no, 1 if yes, and -1 if no element description is available</TD
5008></TR
5009></TABLE
5010><P
5011></P
5012></DIV
5013></DIV
5014><HR><DIV
5015CLASS="REFSECT2"
5016><A
5017NAME="AEN5738"
5018></A
5019><H3
5020><A
5021NAME="XMLGETDTDATTRDESC"
5022></A
5023>xmlGetDtdAttrDesc ()</H3
5024><TABLE
5025BORDER="0"
5026BGCOLOR="#D6E8FF"
5027WIDTH="100%"
5028CELLPADDING="6"
5029><TR
5030><TD
5031><PRE
5032CLASS="PROGRAMLISTING"
5033><A
5034HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
5035>xmlAttributePtr</A
5036> xmlGetDtdAttrDesc (<A
5037HREF="gnome-xml-tree.html#XMLDTDPTR"
5038>xmlDtdPtr</A
5039> dtd,
5040 const <A
5041HREF="gnome-xml-tree.html#CHAR"
5042>CHAR</A
5043> *elem,
5044 const <A
5045HREF="gnome-xml-tree.html#CHAR"
5046>CHAR</A
5047> *name);</PRE
5048></TD
5049></TR
5050></TABLE
5051><P
5052>Search the Dtd for the description of this attribute on
5053this element.</P
5054><P
5055></P
5056><DIV
5057CLASS="INFORMALTABLE"
5058><P
5059></P
5060><TABLE
5061BORDER="0"
5062WIDTH="100%"
5063BGCOLOR="#FFD0D0"
5064CELLSPACING="0"
5065CELLPADDING="4"
5066CLASS="CALSTABLE"
5067><TR
5068><TD
5069WIDTH="20%"
5070ALIGN="RIGHT"
5071VALIGN="TOP"
5072><TT
5073CLASS="PARAMETER"
5074><I
5075>dtd</I
5076></TT
5077>&nbsp;:</TD
5078><TD
5079WIDTH="80%"
5080ALIGN="LEFT"
5081VALIGN="TOP"
5082> a pointer to the DtD to search</TD
5083></TR
5084><TR
5085><TD
5086WIDTH="20%"
5087ALIGN="RIGHT"
5088VALIGN="TOP"
5089><TT
5090CLASS="PARAMETER"
5091><I
5092>elem</I
5093></TT
5094>&nbsp;:</TD
5095><TD
5096WIDTH="80%"
5097ALIGN="LEFT"
5098VALIGN="TOP"
5099> the element name</TD
5100></TR
5101><TR
5102><TD
5103WIDTH="20%"
5104ALIGN="RIGHT"
5105VALIGN="TOP"
5106><TT
5107CLASS="PARAMETER"
5108><I
5109>name</I
5110></TT
5111>&nbsp;:</TD
5112><TD
5113WIDTH="80%"
5114ALIGN="LEFT"
5115VALIGN="TOP"
5116> the attribute name</TD
5117></TR
5118><TR
5119><TD
5120WIDTH="20%"
5121ALIGN="RIGHT"
5122VALIGN="TOP"
5123><I
5124CLASS="EMPHASIS"
5125>Returns</I
5126> :</TD
5127><TD
5128WIDTH="80%"
5129ALIGN="LEFT"
5130VALIGN="TOP"
5131>the xmlAttributePtr if found or NULL</TD
5132></TR
5133></TABLE
5134><P
5135></P
5136></DIV
5137></DIV
5138><HR><DIV
5139CLASS="REFSECT2"
5140><A
5141NAME="AEN5769"
5142></A
5143><H3
5144><A
5145NAME="XMLGETDTDNOTATIONDESC"
5146></A
5147>xmlGetDtdNotationDesc ()</H3
5148><TABLE
5149BORDER="0"
5150BGCOLOR="#D6E8FF"
5151WIDTH="100%"
5152CELLPADDING="6"
5153><TR
5154><TD
5155><PRE
5156CLASS="PROGRAMLISTING"
5157><A
5158HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
5159>xmlNotationPtr</A
5160> xmlGetDtdNotationDesc (<A
5161HREF="gnome-xml-tree.html#XMLDTDPTR"
5162>xmlDtdPtr</A
5163> dtd,
5164 const <A
5165HREF="gnome-xml-tree.html#CHAR"
5166>CHAR</A
5167> *name);</PRE
5168></TD
5169></TR
5170></TABLE
5171><P
5172>Search the Dtd for the description of this notation</P
5173><P
5174></P
5175><DIV
5176CLASS="INFORMALTABLE"
5177><P
5178></P
5179><TABLE
5180BORDER="0"
5181WIDTH="100%"
5182BGCOLOR="#FFD0D0"
5183CELLSPACING="0"
5184CELLPADDING="4"
5185CLASS="CALSTABLE"
5186><TR
5187><TD
5188WIDTH="20%"
5189ALIGN="RIGHT"
5190VALIGN="TOP"
5191><TT
5192CLASS="PARAMETER"
5193><I
5194>dtd</I
5195></TT
5196>&nbsp;:</TD
5197><TD
5198WIDTH="80%"
5199ALIGN="LEFT"
5200VALIGN="TOP"
5201> a pointer to the DtD to search</TD
5202></TR
5203><TR
5204><TD
5205WIDTH="20%"
5206ALIGN="RIGHT"
5207VALIGN="TOP"
5208><TT
5209CLASS="PARAMETER"
5210><I
5211>name</I
5212></TT
5213>&nbsp;:</TD
5214><TD
5215WIDTH="80%"
5216ALIGN="LEFT"
5217VALIGN="TOP"
5218> the notation name</TD
5219></TR
5220><TR
5221><TD
5222WIDTH="20%"
5223ALIGN="RIGHT"
5224VALIGN="TOP"
5225><I
5226CLASS="EMPHASIS"
5227>Returns</I
5228> :</TD
5229><TD
5230WIDTH="80%"
5231ALIGN="LEFT"
5232VALIGN="TOP"
5233>the xmlNotationPtr if found or NULL</TD
5234></TR
5235></TABLE
5236><P
5237></P
5238></DIV
5239></DIV
5240><HR><DIV
5241CLASS="REFSECT2"
5242><A
5243NAME="AEN5795"
5244></A
5245><H3
5246><A
5247NAME="XMLGETDTDELEMENTDESC"
5248></A
5249>xmlGetDtdElementDesc ()</H3
5250><TABLE
5251BORDER="0"
5252BGCOLOR="#D6E8FF"
5253WIDTH="100%"
5254CELLPADDING="6"
5255><TR
5256><TD
5257><PRE
5258CLASS="PROGRAMLISTING"
5259><A
5260HREF="gnome-xml-tree.html#XMLELEMENTPTR"
5261>xmlElementPtr</A
5262> xmlGetDtdElementDesc (<A
5263HREF="gnome-xml-tree.html#XMLDTDPTR"
5264>xmlDtdPtr</A
5265> dtd,
5266 const <A
5267HREF="gnome-xml-tree.html#CHAR"
5268>CHAR</A
5269> *name);</PRE
5270></TD
5271></TR
5272></TABLE
5273><P
5274>Search the Dtd for the description of this element</P
5275><P
5276></P
5277><DIV
5278CLASS="INFORMALTABLE"
5279><P
5280></P
5281><TABLE
5282BORDER="0"
5283WIDTH="100%"
5284BGCOLOR="#FFD0D0"
5285CELLSPACING="0"
5286CELLPADDING="4"
5287CLASS="CALSTABLE"
5288><TR
5289><TD
5290WIDTH="20%"
5291ALIGN="RIGHT"
5292VALIGN="TOP"
5293><TT
5294CLASS="PARAMETER"
5295><I
5296>dtd</I
5297></TT
5298>&nbsp;:</TD
5299><TD
5300WIDTH="80%"
5301ALIGN="LEFT"
5302VALIGN="TOP"
5303> a pointer to the DtD to search</TD
5304></TR
5305><TR
5306><TD
5307WIDTH="20%"
5308ALIGN="RIGHT"
5309VALIGN="TOP"
5310><TT
5311CLASS="PARAMETER"
5312><I
5313>name</I
5314></TT
5315>&nbsp;:</TD
5316><TD
5317WIDTH="80%"
5318ALIGN="LEFT"
5319VALIGN="TOP"
5320> the element name</TD
5321></TR
5322><TR
5323><TD
5324WIDTH="20%"
5325ALIGN="RIGHT"
5326VALIGN="TOP"
5327><I
5328CLASS="EMPHASIS"
5329>Returns</I
5330> :</TD
5331><TD
5332WIDTH="80%"
5333ALIGN="LEFT"
5334VALIGN="TOP"
5335>the xmlElementPtr if found or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005336></TR
5337></TABLE
5338><P
5339></P
5340></DIV
5341></DIV
5342></DIV
5343><DIV
5344CLASS="NAVFOOTER"
Daniel Veillard14fff061999-06-22 21:49:07 +00005345><BR><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00005346WIDTH="100%"
5347BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005348BGCOLOR="#000000"
5349CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00005350CELLSPACING="0"
5351><TR
5352><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00005353WIDTH="25%"
5354BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00005355ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00005356><A
5357HREF="gnome-xml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00005358><FONT
5359COLOR="#FFFFFF"
5360SIZE="3"
5361><B
5362>&#60;&#60;&#60; Previous Page</B
5363></FONT
5364></A
Daniel Veillard35925471999-02-25 08:46:07 +00005365></TD
5366><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00005367WIDTH="25%"
5368BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00005369ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00005370><FONT
5371COLOR="#FFFFFF"
5372SIZE="3"
5373><B
Daniel Veillard35925471999-02-25 08:46:07 +00005374><A
5375HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00005376><FONT
5377COLOR="#FFFFFF"
5378SIZE="3"
5379><B
5380>Home</B
5381></FONT
5382></A
5383></B
5384></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00005385></TD
5386><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00005387WIDTH="25%"
5388BGCOLOR="#00C000"
5389ALIGN="center"
5390><FONT
5391COLOR="#FFFFFF"
5392SIZE="3"
5393><B
5394><A
5395HREF="libxml.html"
5396><FONT
5397COLOR="#FFFFFF"
5398SIZE="3"
5399><B
5400>Up</B
5401></FONT
5402></A
5403></B
5404></FONT
5405></TD
5406><TD
5407WIDTH="25%"
5408BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00005409ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00005410><A
Daniel Veillardd109e371999-03-05 06:26:45 +00005411HREF="gnome-xml-xml-error.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00005412><FONT
5413COLOR="#FFFFFF"
5414SIZE="3"
5415><B
5416>Next Page &#62;&#62;&#62;</B
5417></FONT
5418></A
Daniel Veillard35925471999-02-25 08:46:07 +00005419></TD
5420></TR
5421><TR
5422><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00005423COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00005424ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00005425><FONT
5426COLOR="#FFFFFF"
5427SIZE="3"
5428><B
5429>entities</B
5430></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00005431></TD
5432><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00005433COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00005434ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00005435><FONT
5436COLOR="#FFFFFF"
5437SIZE="3"
5438><B
5439>xml-error</B
5440></FONT
5441></TD
Daniel Veillard35925471999-02-25 08:46:07 +00005442></TR
5443></TABLE
5444></DIV
5445></BODY
5446></HTML
5447>