blob: 53cf7d870861de2b4193c1ad50737aedad79d449 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>valid</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard71b656e2000-01-05 14:46:17 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +00008REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
Daniel Veillard35008381999-10-25 13:15:52 +000012TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000014REL="PREVIOUS"
15TITLE="entities"
16HREF="gnome-xml-entities.html"><LINK
17REL="NEXT"
Daniel Veillardd109e371999-03-05 06:26:45 +000018TITLE="xml-error"
19HREF="gnome-xml-xml-error.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000020><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
Daniel Veillard71b656e2000-01-05 14:46:17 +000023LINK="#0000FF"
24VLINK="#840084"
25ALINK="#0000FF"
Daniel Veillard35925471999-02-25 08:46:07 +000026><DIV
27CLASS="NAVHEADER"
28><TABLE
29WIDTH="100%"
30BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000031BGCOLOR="#000000"
32CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000033CELLSPACING="0"
34><TR
35><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000036COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000037ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000038><FONT
39COLOR="#FFFFFF"
40SIZE="5"
41>Gnome XML Library Reference Manual</FONT
42></TH
Daniel Veillard35925471999-02-25 08:46:07 +000043></TR
44><TR
45><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000046WIDTH="25%"
47BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000048ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000049><A
50HREF="gnome-xml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000051><FONT
52COLOR="#FFFFFF"
53SIZE="3"
54><B
55>&#60;&#60;&#60; Previous Page</B
56></FONT
57></A
Daniel Veillard35925471999-02-25 08:46:07 +000058></TD
59><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000060WIDTH="25%"
61BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000062ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000063><FONT
64COLOR="#FFFFFF"
65SIZE="3"
66><B
67><A
68HREF="book1.html"
69><FONT
70COLOR="#FFFFFF"
71SIZE="3"
72><B
73>Home</B
74></FONT
75></A
76></B
77></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000078></TD
79><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000080WIDTH="25%"
81BGCOLOR="#00C000"
82ALIGN="center"
83><FONT
84COLOR="#FFFFFF"
85SIZE="3"
86><B
87><A
Daniel Veillard35008381999-10-25 13:15:52 +000088HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000089><FONT
90COLOR="#FFFFFF"
91SIZE="3"
92><B
93>Up</B
94></FONT
95></A
96></B
97></FONT
98></TD
99><TD
100WIDTH="25%"
101BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +0000102ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +0000103><A
Daniel Veillardd109e371999-03-05 06:26:45 +0000104HREF="gnome-xml-xml-error.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000105><FONT
106COLOR="#FFFFFF"
107SIZE="3"
108><B
109>Next Page &#62;&#62;&#62;</B
110></FONT
111></A
Daniel Veillard35925471999-02-25 08:46:07 +0000112></TD
113></TR
114></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000115></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000116><H1
Daniel Veillard71b656e2000-01-05 14:46:17 +0000117><A
118NAME="GNOME-XML-VALID"
119>valid</A
120></H1
Daniel Veillard35925471999-02-25 08:46:07 +0000121><DIV
122CLASS="REFNAMEDIV"
123><A
Daniel Veillard71b656e2000-01-05 14:46:17 +0000124NAME="AEN5545"
Daniel Veillard35925471999-02-25 08:46:07 +0000125></A
126><H2
127>Name</H2
Daniel Veillard71b656e2000-01-05 14:46:17 +0000128>valid&nbsp;--&nbsp;</DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000129><DIV
130CLASS="REFSYNOPSISDIV"
131><A
Daniel Veillard71b656e2000-01-05 14:46:17 +0000132NAME="AEN5548"
Daniel Veillard35925471999-02-25 08:46:07 +0000133></A
134><H2
135>Synopsis</H2
136><TABLE
137BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000138BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000139WIDTH="100%"
140CELLPADDING="6"
141><TR
142><TD
143><PRE
144CLASS="SYNOPSIS"
145>&#13;
146
Daniel Veillardb05deb71999-08-10 19:04:08 +0000147void (<A
148HREF="gnome-xml-valid.html#XMLVALIDITYERRORFUNC"
149>*xmlValidityErrorFunc</A
150>) (void *ctx,
151 const char *msg,
152 ...);
153void (<A
154HREF="gnome-xml-valid.html#XMLVALIDITYWARNINGFUNC"
155>*xmlValidityWarningFunc</A
156>) (void *ctx,
157 const char *msg,
158 ...);
Daniel Veillard35925471999-02-25 08:46:07 +0000159#define <A
160HREF="gnome-xml-valid.html#XML-MIN-NOTATION-TABLE"
161>XML_MIN_NOTATION_TABLE</A
162>
163typedef <A
164HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
165>xmlNotationTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000166>;
Daniel Veillard35925471999-02-25 08:46:07 +0000167#define <A
168HREF="gnome-xml-valid.html#XML-MIN-ELEMENT-TABLE"
169>XML_MIN_ELEMENT_TABLE</A
170>
171typedef <A
172HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
173>xmlElementTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000174>;
Daniel Veillard35925471999-02-25 08:46:07 +0000175#define <A
176HREF="gnome-xml-valid.html#XML-MIN-ATTRIBUTE-TABLE"
177>XML_MIN_ATTRIBUTE_TABLE</A
178>
179typedef <A
180HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
181>xmlAttributeTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000182>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000183#define <A
184HREF="gnome-xml-valid.html#XML-MIN-ID-TABLE"
185>XML_MIN_ID_TABLE</A
186>
187typedef <A
188HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
189>xmlIDTablePtr</A
190>;
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000191#define <A
192HREF="gnome-xml-valid.html#XML-MIN-REF-TABLE"
193>XML_MIN_REF_TABLE</A
194>
195typedef <A
196HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
197>xmlRefTablePtr</A
198>;
Daniel Veillard35925471999-02-25 08:46:07 +0000199<A
200HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
201>xmlNotationPtr</A
202> <A
203HREF="gnome-xml-valid.html#XMLADDNOTATIONDECL"
204>xmlAddNotationDecl</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000205> (<GTKDOCLINK
206HREF="XMLVALIDCTXTPTR"
207>xmlValidCtxtPtr</GTKDOCLINK
208> ctxt,
209 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000210HREF="gnome-xml-tree.html#XMLDTDPTR"
211>xmlDtdPtr</A
212> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000213 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000214HREF="gnome-xml-tree.html#XMLCHAR"
215>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000216> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000217 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000218HREF="gnome-xml-tree.html#XMLCHAR"
219>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000220> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000221 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000222HREF="gnome-xml-tree.html#XMLCHAR"
223>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000224> *SystemID);
225<A
226HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
227>xmlNotationTablePtr</A
228> <A
229HREF="gnome-xml-valid.html#XMLCOPYNOTATIONTABLE"
230>xmlCopyNotationTable</A
231> (<A
232HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
233>xmlNotationTablePtr</A
234> table);
235void <A
236HREF="gnome-xml-valid.html#XMLFREENOTATIONTABLE"
237>xmlFreeNotationTable</A
238> (<A
239HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
240>xmlNotationTablePtr</A
241> table);
242void <A
243HREF="gnome-xml-valid.html#XMLDUMPNOTATIONTABLE"
244>xmlDumpNotationTable</A
245> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000246HREF="gnome-xml-tree.html#XMLBUFFERPTR"
247>xmlBufferPtr</A
248> buf,
249 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000250HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
251>xmlNotationTablePtr</A
252> table);
253<A
254HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
255>xmlElementContentPtr</A
256> <A
257HREF="gnome-xml-valid.html#XMLNEWELEMENTCONTENT"
258>xmlNewElementContent</A
259> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000260HREF="gnome-xml-tree.html#XMLCHAR"
261>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000262> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000263 <A
264HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
265>xmlElementContentType</A
266> type);
Daniel Veillard35925471999-02-25 08:46:07 +0000267<A
268HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
269>xmlElementContentPtr</A
270> <A
271HREF="gnome-xml-valid.html#XMLCOPYELEMENTCONTENT"
272>xmlCopyElementContent</A
273> (<A
274HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
275>xmlElementContentPtr</A
276> content);
277void <A
278HREF="gnome-xml-valid.html#XMLFREEELEMENTCONTENT"
279>xmlFreeElementContent</A
280> (<A
281HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
282>xmlElementContentPtr</A
283> cur);
284<A
285HREF="gnome-xml-tree.html#XMLELEMENTPTR"
286>xmlElementPtr</A
287> <A
288HREF="gnome-xml-valid.html#XMLADDELEMENTDECL"
289>xmlAddElementDecl</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000290> (<GTKDOCLINK
291HREF="XMLVALIDCTXTPTR"
292>xmlValidCtxtPtr</GTKDOCLINK
293> ctxt,
294 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000295HREF="gnome-xml-tree.html#XMLDTDPTR"
296>xmlDtdPtr</A
297> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000298 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000299HREF="gnome-xml-tree.html#XMLCHAR"
300>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000301> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000302 <A
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000303HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL"
304>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000305> type,
Daniel Veillard35925471999-02-25 08:46:07 +0000306 <A
307HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
308>xmlElementContentPtr</A
309> content);
310<A
311HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
312>xmlElementTablePtr</A
313> <A
314HREF="gnome-xml-valid.html#XMLCOPYELEMENTTABLE"
315>xmlCopyElementTable</A
316> (<A
317HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
318>xmlElementTablePtr</A
319> table);
320void <A
321HREF="gnome-xml-valid.html#XMLFREEELEMENTTABLE"
322>xmlFreeElementTable</A
323> (<A
324HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
325>xmlElementTablePtr</A
326> table);
327void <A
328HREF="gnome-xml-valid.html#XMLDUMPELEMENTTABLE"
329>xmlDumpElementTable</A
330> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000331HREF="gnome-xml-tree.html#XMLBUFFERPTR"
332>xmlBufferPtr</A
333> buf,
334 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000335HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
336>xmlElementTablePtr</A
337> table);
338<A
339HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
340>xmlEnumerationPtr</A
341> <A
342HREF="gnome-xml-valid.html#XMLCREATEENUMERATION"
343>xmlCreateEnumeration</A
344> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000345HREF="gnome-xml-tree.html#XMLCHAR"
346>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000347> *name);
348void <A
349HREF="gnome-xml-valid.html#XMLFREEENUMERATION"
350>xmlFreeEnumeration</A
351> (<A
352HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
353>xmlEnumerationPtr</A
354> cur);
355<A
356HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
357>xmlEnumerationPtr</A
358> <A
359HREF="gnome-xml-valid.html#XMLCOPYENUMERATION"
360>xmlCopyEnumeration</A
361> (<A
362HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
363>xmlEnumerationPtr</A
364> cur);
365<A
366HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
367>xmlAttributePtr</A
368> <A
369HREF="gnome-xml-valid.html#XMLADDATTRIBUTEDECL"
370>xmlAddAttributeDecl</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000371> (<GTKDOCLINK
372HREF="XMLVALIDCTXTPTR"
373>xmlValidCtxtPtr</GTKDOCLINK
374> ctxt,
375 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000376HREF="gnome-xml-tree.html#XMLDTDPTR"
377>xmlDtdPtr</A
378> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000379 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000380HREF="gnome-xml-tree.html#XMLCHAR"
381>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000382> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000383 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000384HREF="gnome-xml-tree.html#XMLCHAR"
385>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000386> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000387 <A
388HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
389>xmlAttributeType</A
390> type,
391 <A
392HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
393>xmlAttributeDefault</A
394> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000395 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000396HREF="gnome-xml-tree.html#XMLCHAR"
397>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000398> *defaultValue,
399 <A
400HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
401>xmlEnumerationPtr</A
402> tree);
403<A
404HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
405>xmlAttributeTablePtr</A
406> <A
407HREF="gnome-xml-valid.html#XMLCOPYATTRIBUTETABLE"
408>xmlCopyAttributeTable</A
409> (<A
410HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
411>xmlAttributeTablePtr</A
412> table);
413void <A
414HREF="gnome-xml-valid.html#XMLFREEATTRIBUTETABLE"
415>xmlFreeAttributeTable</A
416> (<A
417HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
418>xmlAttributeTablePtr</A
419> table);
420void <A
421HREF="gnome-xml-valid.html#XMLDUMPATTRIBUTETABLE"
422>xmlDumpAttributeTable</A
423> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000424HREF="gnome-xml-tree.html#XMLBUFFERPTR"
425>xmlBufferPtr</A
426> buf,
427 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000428HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
429>xmlAttributeTablePtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000430> table);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000431<A
432HREF="gnome-xml-tree.html#XMLIDPTR"
433>xmlIDPtr</A
434> <A
435HREF="gnome-xml-valid.html#XMLADDID"
436>xmlAddID</A
437> (<GTKDOCLINK
438HREF="XMLVALIDCTXTPTR"
439>xmlValidCtxtPtr</GTKDOCLINK
440> ctxt,
441 <A
442HREF="gnome-xml-tree.html#XMLDOCPTR"
443>xmlDocPtr</A
444> doc,
445 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000446HREF="gnome-xml-tree.html#XMLCHAR"
447>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000448> *value,
449 <A
450HREF="gnome-xml-tree.html#XMLATTRPTR"
451>xmlAttrPtr</A
452> attr);
453<A
454HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
455>xmlIDTablePtr</A
456> <A
457HREF="gnome-xml-valid.html#XMLCOPYIDTABLE"
458>xmlCopyIDTable</A
459> (<A
460HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
461>xmlIDTablePtr</A
462> table);
463void <A
464HREF="gnome-xml-valid.html#XMLFREEIDTABLE"
465>xmlFreeIDTable</A
466> (<A
467HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
468>xmlIDTablePtr</A
469> table);
470<A
471HREF="gnome-xml-tree.html#XMLATTRPTR"
472>xmlAttrPtr</A
473> <A
474HREF="gnome-xml-valid.html#XMLGETID"
475>xmlGetID</A
476> (<A
477HREF="gnome-xml-tree.html#XMLDOCPTR"
478>xmlDocPtr</A
479> doc,
480 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000481HREF="gnome-xml-tree.html#XMLCHAR"
482>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000483> *ID);
484int <A
485HREF="gnome-xml-valid.html#XMLISID"
486>xmlIsID</A
487> (<A
488HREF="gnome-xml-tree.html#XMLDOCPTR"
489>xmlDocPtr</A
490> doc,
491 <A
492HREF="gnome-xml-tree.html#XMLNODEPTR"
493>xmlNodePtr</A
494> elem,
495 <A
496HREF="gnome-xml-tree.html#XMLATTRPTR"
497>xmlAttrPtr</A
498> attr);
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000499<A
500HREF="gnome-xml-tree.html#XMLREFPTR"
501>xmlRefPtr</A
502> <A
503HREF="gnome-xml-valid.html#XMLADDREF"
504>xmlAddRef</A
505> (<GTKDOCLINK
506HREF="XMLVALIDCTXTPTR"
507>xmlValidCtxtPtr</GTKDOCLINK
508> ctxt,
509 <A
510HREF="gnome-xml-tree.html#XMLDOCPTR"
511>xmlDocPtr</A
512> doc,
513 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000514HREF="gnome-xml-tree.html#XMLCHAR"
515>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000516> *value,
517 <A
518HREF="gnome-xml-tree.html#XMLATTRPTR"
519>xmlAttrPtr</A
520> attr);
521<A
522HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
523>xmlRefTablePtr</A
524> <A
525HREF="gnome-xml-valid.html#XMLCOPYREFTABLE"
526>xmlCopyRefTable</A
527> (<A
528HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
529>xmlRefTablePtr</A
530> table);
531void <A
532HREF="gnome-xml-valid.html#XMLFREEREFTABLE"
533>xmlFreeRefTable</A
534> (<A
535HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
536>xmlRefTablePtr</A
537> table);
538int <A
539HREF="gnome-xml-valid.html#XMLISREF"
540>xmlIsRef</A
541> (<A
542HREF="gnome-xml-tree.html#XMLDOCPTR"
543>xmlDocPtr</A
544> doc,
545 <A
546HREF="gnome-xml-tree.html#XMLNODEPTR"
547>xmlNodePtr</A
548> elem,
549 <A
550HREF="gnome-xml-tree.html#XMLATTRPTR"
551>xmlAttrPtr</A
552> attr);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000553int <A
554HREF="gnome-xml-valid.html#XMLVALIDATEROOT"
555>xmlValidateRoot</A
556> (<GTKDOCLINK
557HREF="XMLVALIDCTXTPTR"
558>xmlValidCtxtPtr</GTKDOCLINK
559> ctxt,
560 <A
561HREF="gnome-xml-tree.html#XMLDOCPTR"
562>xmlDocPtr</A
563> doc);
564int <A
565HREF="gnome-xml-valid.html#XMLVALIDATEELEMENTDECL"
566>xmlValidateElementDecl</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#XMLELEMENTPTR"
577>xmlElementPtr</A
578> elem);
579int <A
580HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL"
581>xmlValidateAttributeDecl</A
582> (<GTKDOCLINK
583HREF="XMLVALIDCTXTPTR"
584>xmlValidCtxtPtr</GTKDOCLINK
585> ctxt,
586 <A
587HREF="gnome-xml-tree.html#XMLDOCPTR"
588>xmlDocPtr</A
589> doc,
590 <A
591HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
592>xmlAttributePtr</A
593> attr);
594int <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000595HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
596>xmlValidateAttributeValue</A
597> (<A
598HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
599>xmlAttributeType</A
600> type,
601 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000602HREF="gnome-xml-tree.html#XMLCHAR"
603>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000604> *value);
605int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000606HREF="gnome-xml-valid.html#XMLVALIDATENOTATIONDECL"
607>xmlValidateNotationDecl</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#XMLNOTATIONPTR"
618>xmlNotationPtr</A
619> nota);
620int <A
621HREF="gnome-xml-valid.html#XMLVALIDATEDTD"
622>xmlValidateDtd</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#XMLDTDPTR"
633>xmlDtdPtr</A
634> dtd);
635int <A
636HREF="gnome-xml-valid.html#XMLVALIDATEDOCUMENT"
637>xmlValidateDocument</A
638> (<GTKDOCLINK
639HREF="XMLVALIDCTXTPTR"
640>xmlValidCtxtPtr</GTKDOCLINK
641> ctxt,
642 <A
643HREF="gnome-xml-tree.html#XMLDOCPTR"
644>xmlDocPtr</A
645> doc);
646int <A
647HREF="gnome-xml-valid.html#XMLVALIDATEELEMENT"
648>xmlValidateElement</A
649> (<GTKDOCLINK
650HREF="XMLVALIDCTXTPTR"
651>xmlValidCtxtPtr</GTKDOCLINK
652> ctxt,
653 <A
654HREF="gnome-xml-tree.html#XMLDOCPTR"
655>xmlDocPtr</A
656> doc,
657 <A
658HREF="gnome-xml-tree.html#XMLNODEPTR"
659>xmlNodePtr</A
660> elem);
661int <A
662HREF="gnome-xml-valid.html#XMLVALIDATEONEELEMENT"
663>xmlValidateOneElement</A
664> (<GTKDOCLINK
665HREF="XMLVALIDCTXTPTR"
666>xmlValidCtxtPtr</GTKDOCLINK
667> ctxt,
668 <A
669HREF="gnome-xml-tree.html#XMLDOCPTR"
670>xmlDocPtr</A
671> doc,
672 <A
673HREF="gnome-xml-tree.html#XMLNODEPTR"
674>xmlNodePtr</A
675> elem);
676int <A
677HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE"
678>xmlValidateOneAttribute</A
679> (<GTKDOCLINK
680HREF="XMLVALIDCTXTPTR"
681>xmlValidCtxtPtr</GTKDOCLINK
682> ctxt,
683 <A
684HREF="gnome-xml-tree.html#XMLDOCPTR"
685>xmlDocPtr</A
686> doc,
687 <A
688HREF="gnome-xml-tree.html#XMLNODEPTR"
689>xmlNodePtr</A
690> elem,
691 <A
692HREF="gnome-xml-tree.html#XMLATTRPTR"
693>xmlAttrPtr</A
694> attr,
695 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000696HREF="gnome-xml-tree.html#XMLCHAR"
697>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000698> *value);
699int <A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000700HREF="gnome-xml-valid.html#XMLVALIDATEDOCUMENTFINAL"
701>xmlValidateDocumentFinal</A
702> (<GTKDOCLINK
703HREF="XMLVALIDCTXTPTR"
704>xmlValidCtxtPtr</GTKDOCLINK
705> ctxt,
706 <A
707HREF="gnome-xml-tree.html#XMLDOCPTR"
708>xmlDocPtr</A
709> doc);
710int <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000711HREF="gnome-xml-valid.html#XMLVALIDATENOTATIONUSE"
712>xmlValidateNotationUse</A
713> (<GTKDOCLINK
714HREF="XMLVALIDCTXTPTR"
715>xmlValidCtxtPtr</GTKDOCLINK
716> ctxt,
717 <A
718HREF="gnome-xml-tree.html#XMLDOCPTR"
719>xmlDocPtr</A
720> doc,
721 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000722HREF="gnome-xml-tree.html#XMLCHAR"
723>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000724> *notationName);
725int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000726HREF="gnome-xml-valid.html#XMLISMIXEDELEMENT"
727>xmlIsMixedElement</A
728> (<A
729HREF="gnome-xml-tree.html#XMLDOCPTR"
730>xmlDocPtr</A
731> doc,
732 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000733HREF="gnome-xml-tree.html#XMLCHAR"
734>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000735> *name);
736<A
737HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
738>xmlAttributePtr</A
739> <A
740HREF="gnome-xml-valid.html#XMLGETDTDATTRDESC"
741>xmlGetDtdAttrDesc</A
742> (<A
743HREF="gnome-xml-tree.html#XMLDTDPTR"
744>xmlDtdPtr</A
745> dtd,
746 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000747HREF="gnome-xml-tree.html#XMLCHAR"
748>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000749> *elem,
750 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000751HREF="gnome-xml-tree.html#XMLCHAR"
752>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000753> *name);
754<A
755HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
756>xmlNotationPtr</A
757> <A
758HREF="gnome-xml-valid.html#XMLGETDTDNOTATIONDESC"
759>xmlGetDtdNotationDesc</A
760> (<A
761HREF="gnome-xml-tree.html#XMLDTDPTR"
762>xmlDtdPtr</A
763> dtd,
764 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000765HREF="gnome-xml-tree.html#XMLCHAR"
766>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000767> *name);
768<A
769HREF="gnome-xml-tree.html#XMLELEMENTPTR"
770>xmlElementPtr</A
771> <A
772HREF="gnome-xml-valid.html#XMLGETDTDELEMENTDESC"
773>xmlGetDtdElementDesc</A
774> (<A
775HREF="gnome-xml-tree.html#XMLDTDPTR"
776>xmlDtdPtr</A
777> dtd,
778 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000779HREF="gnome-xml-tree.html#XMLCHAR"
780>xmlChar</A
Daniel Veillard35008381999-10-25 13:15:52 +0000781> *name);
782int <A
783HREF="gnome-xml-valid.html#XMLVALIDGETVALIDELEMENTS"
784>xmlValidGetValidElements</A
785> (<A
786HREF="gnome-xml-tree.html#XMLNODE"
787>xmlNode</A
788> *prev,
789 <A
790HREF="gnome-xml-tree.html#XMLNODE"
791>xmlNode</A
792> *next,
793 const <A
794HREF="gnome-xml-tree.html#XMLCHAR"
795>xmlChar</A
796> **list,
797 int max);
798int <A
799HREF="gnome-xml-valid.html#XMLVALIDGETPOTENTIALCHILDREN"
800>xmlValidGetPotentialChildren</A
801> (<GTKDOCLINK
802HREF="XMLELEMENTCONTENT"
803>xmlElementContent</GTKDOCLINK
804> *ctree,
805 const <A
806HREF="gnome-xml-tree.html#XMLCHAR"
807>xmlChar</A
808> **list,
809 int *len,
810 int max);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000811></TD
812></TR
813></TABLE
814></DIV
815><DIV
816CLASS="REFSECT1"
817><A
Daniel Veillard71b656e2000-01-05 14:46:17 +0000818NAME="AEN5731"
Daniel Veillard35925471999-02-25 08:46:07 +0000819></A
820><H2
821>Description</H2
822><P
823></P
824></DIV
825><DIV
826CLASS="REFSECT1"
827><A
Daniel Veillard71b656e2000-01-05 14:46:17 +0000828NAME="AEN5734"
Daniel Veillard35925471999-02-25 08:46:07 +0000829></A
830><H2
831>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000832><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000833CLASS="REFSECT2"
834><A
Daniel Veillard71b656e2000-01-05 14:46:17 +0000835NAME="AEN5736"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000836></A
837><H3
838><A
839NAME="XMLVALIDITYERRORFUNC"
840></A
841>xmlValidityErrorFunc ()</H3
842><TABLE
843BORDER="0"
844BGCOLOR="#D6E8FF"
845WIDTH="100%"
846CELLPADDING="6"
847><TR
848><TD
849><PRE
850CLASS="PROGRAMLISTING"
851>void (*xmlValidityErrorFunc) (void *ctx,
852 const char *msg,
853 ...);</PRE
854></TD
855></TR
856></TABLE
857><P
858></P
859><DIV
860CLASS="INFORMALTABLE"
861><P
862></P
863><TABLE
864BORDER="0"
865WIDTH="100%"
866BGCOLOR="#FFD0D0"
867CELLSPACING="0"
868CELLPADDING="4"
869CLASS="CALSTABLE"
870><TR
871><TD
872WIDTH="20%"
873ALIGN="RIGHT"
874VALIGN="TOP"
875><TT
876CLASS="PARAMETER"
877><I
878>ctx</I
879></TT
880>&nbsp;:</TD
881><TD
882WIDTH="80%"
883ALIGN="LEFT"
884VALIGN="TOP"
885>&nbsp;</TD
886></TR
887><TR
888><TD
889WIDTH="20%"
890ALIGN="RIGHT"
891VALIGN="TOP"
892><TT
893CLASS="PARAMETER"
894><I
895>msg</I
896></TT
897>&nbsp;:</TD
898><TD
899WIDTH="80%"
900ALIGN="LEFT"
901VALIGN="TOP"
902>&nbsp;</TD
903></TR
904><TR
905><TD
906WIDTH="20%"
907ALIGN="RIGHT"
908VALIGN="TOP"
909><TT
910CLASS="PARAMETER"
911><I
912>...</I
913></TT
914>&nbsp;:</TD
915><TD
916WIDTH="80%"
917ALIGN="LEFT"
918VALIGN="TOP"
919>&nbsp;</TD
920></TR
921></TABLE
922><P
923></P
924></DIV
925></DIV
926><HR><DIV
927CLASS="REFSECT2"
928><A
Daniel Veillard71b656e2000-01-05 14:46:17 +0000929NAME="AEN5758"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000930></A
931><H3
932><A
933NAME="XMLVALIDITYWARNINGFUNC"
934></A
935>xmlValidityWarningFunc ()</H3
936><TABLE
937BORDER="0"
938BGCOLOR="#D6E8FF"
939WIDTH="100%"
940CELLPADDING="6"
941><TR
942><TD
943><PRE
944CLASS="PROGRAMLISTING"
945>void (*xmlValidityWarningFunc) (void *ctx,
946 const char *msg,
947 ...);</PRE
948></TD
949></TR
950></TABLE
951><P
952></P
953><DIV
954CLASS="INFORMALTABLE"
955><P
956></P
957><TABLE
958BORDER="0"
959WIDTH="100%"
960BGCOLOR="#FFD0D0"
961CELLSPACING="0"
962CELLPADDING="4"
963CLASS="CALSTABLE"
964><TR
965><TD
966WIDTH="20%"
967ALIGN="RIGHT"
968VALIGN="TOP"
969><TT
970CLASS="PARAMETER"
971><I
972>ctx</I
973></TT
974>&nbsp;:</TD
975><TD
976WIDTH="80%"
977ALIGN="LEFT"
978VALIGN="TOP"
979>&nbsp;</TD
980></TR
981><TR
982><TD
983WIDTH="20%"
984ALIGN="RIGHT"
985VALIGN="TOP"
986><TT
987CLASS="PARAMETER"
988><I
989>msg</I
990></TT
991>&nbsp;:</TD
992><TD
993WIDTH="80%"
994ALIGN="LEFT"
995VALIGN="TOP"
996>&nbsp;</TD
997></TR
998><TR
999><TD
1000WIDTH="20%"
1001ALIGN="RIGHT"
1002VALIGN="TOP"
1003><TT
1004CLASS="PARAMETER"
1005><I
1006>...</I
1007></TT
1008>&nbsp;:</TD
1009><TD
1010WIDTH="80%"
1011ALIGN="LEFT"
1012VALIGN="TOP"
1013>&nbsp;</TD
1014></TR
1015></TABLE
1016><P
1017></P
1018></DIV
1019></DIV
1020><HR><DIV
1021CLASS="REFSECT2"
1022><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001023NAME="AEN5780"
Daniel Veillard35925471999-02-25 08:46:07 +00001024></A
1025><H3
1026><A
1027NAME="XML-MIN-NOTATION-TABLE"
1028></A
1029>XML_MIN_NOTATION_TABLE</H3
1030><TABLE
1031BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001032BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001033WIDTH="100%"
1034CELLPADDING="6"
1035><TR
1036><TD
1037><PRE
1038CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001039>#define XML_MIN_NOTATION_TABLE</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001040></TD
1041></TR
1042></TABLE
1043><P
1044></P
1045></DIV
1046><HR><DIV
1047CLASS="REFSECT2"
1048><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001049NAME="AEN5785"
Daniel Veillard35925471999-02-25 08:46:07 +00001050></A
1051><H3
1052><A
1053NAME="XMLNOTATIONTABLEPTR"
1054></A
1055>xmlNotationTablePtr</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001056><P
1057></P
1058></DIV
1059><HR><DIV
1060CLASS="REFSECT2"
1061><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001062NAME="AEN5789"
Daniel Veillard35925471999-02-25 08:46:07 +00001063></A
1064><H3
1065><A
1066NAME="XML-MIN-ELEMENT-TABLE"
1067></A
1068>XML_MIN_ELEMENT_TABLE</H3
1069><TABLE
1070BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001071BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001072WIDTH="100%"
1073CELLPADDING="6"
1074><TR
1075><TD
1076><PRE
1077CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001078>#define XML_MIN_ELEMENT_TABLE</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001079></TD
1080></TR
1081></TABLE
1082><P
1083></P
1084></DIV
1085><HR><DIV
1086CLASS="REFSECT2"
1087><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001088NAME="AEN5794"
Daniel Veillard35925471999-02-25 08:46:07 +00001089></A
1090><H3
1091><A
1092NAME="XMLELEMENTTABLEPTR"
1093></A
1094>xmlElementTablePtr</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001095><P
1096></P
1097></DIV
1098><HR><DIV
1099CLASS="REFSECT2"
1100><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001101NAME="AEN5798"
Daniel Veillard35925471999-02-25 08:46:07 +00001102></A
1103><H3
1104><A
1105NAME="XML-MIN-ATTRIBUTE-TABLE"
1106></A
1107>XML_MIN_ATTRIBUTE_TABLE</H3
1108><TABLE
1109BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001110BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001111WIDTH="100%"
1112CELLPADDING="6"
1113><TR
1114><TD
1115><PRE
1116CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001117>#define XML_MIN_ATTRIBUTE_TABLE</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001118></TD
1119></TR
1120></TABLE
1121><P
1122></P
1123></DIV
1124><HR><DIV
1125CLASS="REFSECT2"
1126><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001127NAME="AEN5803"
Daniel Veillard35925471999-02-25 08:46:07 +00001128></A
1129><H3
1130><A
1131NAME="XMLATTRIBUTETABLEPTR"
1132></A
1133>xmlAttributeTablePtr</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001134><P
1135></P
1136></DIV
1137><HR><DIV
1138CLASS="REFSECT2"
1139><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001140NAME="AEN5807"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001141></A
1142><H3
1143><A
1144NAME="XML-MIN-ID-TABLE"
1145></A
1146>XML_MIN_ID_TABLE</H3
1147><TABLE
1148BORDER="0"
1149BGCOLOR="#D6E8FF"
1150WIDTH="100%"
1151CELLPADDING="6"
1152><TR
1153><TD
1154><PRE
1155CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001156>#define XML_MIN_ID_TABLE</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001157></TD
1158></TR
1159></TABLE
1160><P
1161></P
1162></DIV
1163><HR><DIV
1164CLASS="REFSECT2"
1165><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001166NAME="AEN5812"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001167></A
1168><H3
1169><A
1170NAME="XMLIDTABLEPTR"
1171></A
1172>xmlIDTablePtr</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001173><P
1174></P
1175></DIV
1176><HR><DIV
1177CLASS="REFSECT2"
1178><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001179NAME="AEN5816"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001180></A
1181><H3
1182><A
1183NAME="XML-MIN-REF-TABLE"
1184></A
1185>XML_MIN_REF_TABLE</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001186><TABLE
1187BORDER="0"
1188BGCOLOR="#D6E8FF"
1189WIDTH="100%"
1190CELLPADDING="6"
1191><TR
1192><TD
1193><PRE
1194CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001195>#define XML_MIN_REF_TABLE</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001196></TD
1197></TR
1198></TABLE
1199><P
1200></P
1201></DIV
1202><HR><DIV
1203CLASS="REFSECT2"
1204><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001205NAME="AEN5821"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001206></A
1207><H3
1208><A
1209NAME="XMLREFTABLEPTR"
1210></A
1211>xmlRefTablePtr</H3
1212><P
1213></P
1214></DIV
1215><HR><DIV
1216CLASS="REFSECT2"
1217><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001218NAME="AEN5825"
Daniel Veillard35925471999-02-25 08:46:07 +00001219></A
1220><H3
1221><A
1222NAME="XMLADDNOTATIONDECL"
1223></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001224>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001225><TABLE
1226BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001227BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001228WIDTH="100%"
1229CELLPADDING="6"
1230><TR
1231><TD
1232><PRE
1233CLASS="PROGRAMLISTING"
1234><A
1235HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
1236>xmlNotationPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001237> xmlAddNotationDecl (<GTKDOCLINK
1238HREF="XMLVALIDCTXTPTR"
1239>xmlValidCtxtPtr</GTKDOCLINK
1240> ctxt,
1241 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001242HREF="gnome-xml-tree.html#XMLDTDPTR"
1243>xmlDtdPtr</A
1244> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001245 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001246HREF="gnome-xml-tree.html#XMLCHAR"
1247>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001248> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001249 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001250HREF="gnome-xml-tree.html#XMLCHAR"
1251>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001252> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001253 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001254HREF="gnome-xml-tree.html#XMLCHAR"
1255>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001256> *SystemID);</PRE
1257></TD
1258></TR
1259></TABLE
1260><P
1261>Register a new notation declaration</P
1262><P
1263></P
1264><DIV
1265CLASS="INFORMALTABLE"
1266><P
1267></P
1268><TABLE
1269BORDER="0"
1270WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001271BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001272CELLSPACING="0"
1273CELLPADDING="4"
1274CLASS="CALSTABLE"
1275><TR
1276><TD
1277WIDTH="20%"
1278ALIGN="RIGHT"
1279VALIGN="TOP"
1280><TT
1281CLASS="PARAMETER"
1282><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001283>ctxt</I
1284></TT
1285>&nbsp;:</TD
1286><TD
1287WIDTH="80%"
1288ALIGN="LEFT"
1289VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001290>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001291></TR
1292><TR
1293><TD
1294WIDTH="20%"
1295ALIGN="RIGHT"
1296VALIGN="TOP"
1297><TT
1298CLASS="PARAMETER"
1299><I
Daniel Veillard35925471999-02-25 08:46:07 +00001300>dtd</I
1301></TT
1302>&nbsp;:</TD
1303><TD
1304WIDTH="80%"
1305ALIGN="LEFT"
1306VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001307>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001308></TR
1309><TR
1310><TD
1311WIDTH="20%"
1312ALIGN="RIGHT"
1313VALIGN="TOP"
1314><TT
1315CLASS="PARAMETER"
1316><I
1317>name</I
1318></TT
1319>&nbsp;:</TD
1320><TD
1321WIDTH="80%"
1322ALIGN="LEFT"
1323VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001324>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001325></TR
1326><TR
1327><TD
1328WIDTH="20%"
1329ALIGN="RIGHT"
1330VALIGN="TOP"
1331><TT
1332CLASS="PARAMETER"
1333><I
1334>PublicID</I
1335></TT
1336>&nbsp;:</TD
1337><TD
1338WIDTH="80%"
1339ALIGN="LEFT"
1340VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001341>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001342></TR
1343><TR
1344><TD
1345WIDTH="20%"
1346ALIGN="RIGHT"
1347VALIGN="TOP"
1348><TT
1349CLASS="PARAMETER"
1350><I
1351>SystemID</I
1352></TT
1353>&nbsp;:</TD
1354><TD
1355WIDTH="80%"
1356ALIGN="LEFT"
1357VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001358>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001359></TR
1360><TR
1361><TD
1362WIDTH="20%"
1363ALIGN="RIGHT"
1364VALIGN="TOP"
1365><I
1366CLASS="EMPHASIS"
1367>Returns</I
1368> :</TD
1369><TD
1370WIDTH="80%"
1371ALIGN="LEFT"
1372VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001373>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001374></TR
1375></TABLE
1376><P
1377></P
1378></DIV
1379></DIV
1380><HR><DIV
1381CLASS="REFSECT2"
1382><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001383NAME="AEN5866"
Daniel Veillard35925471999-02-25 08:46:07 +00001384></A
1385><H3
1386><A
1387NAME="XMLCOPYNOTATIONTABLE"
1388></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001389>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001390><TABLE
1391BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001392BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001393WIDTH="100%"
1394CELLPADDING="6"
1395><TR
1396><TD
1397><PRE
1398CLASS="PROGRAMLISTING"
1399><A
1400HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1401>xmlNotationTablePtr</A
1402> xmlCopyNotationTable (<A
1403HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1404>xmlNotationTablePtr</A
1405> table);</PRE
1406></TD
1407></TR
1408></TABLE
1409><P
1410>Build a copy of a notation table.</P
1411><P
1412></P
1413><DIV
1414CLASS="INFORMALTABLE"
1415><P
1416></P
1417><TABLE
1418BORDER="0"
1419WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001420BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001421CELLSPACING="0"
1422CELLPADDING="4"
1423CLASS="CALSTABLE"
1424><TR
1425><TD
1426WIDTH="20%"
1427ALIGN="RIGHT"
1428VALIGN="TOP"
1429><TT
1430CLASS="PARAMETER"
1431><I
1432>table</I
1433></TT
1434>&nbsp;:</TD
1435><TD
1436WIDTH="80%"
1437ALIGN="LEFT"
1438VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001439>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001440></TR
1441><TR
1442><TD
1443WIDTH="20%"
1444ALIGN="RIGHT"
1445VALIGN="TOP"
1446><I
1447CLASS="EMPHASIS"
1448>Returns</I
1449> :</TD
1450><TD
1451WIDTH="80%"
1452ALIGN="LEFT"
1453VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001454>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001455></TR
1456></TABLE
1457><P
1458></P
1459></DIV
1460></DIV
1461><HR><DIV
1462CLASS="REFSECT2"
1463><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001464NAME="AEN5887"
Daniel Veillard35925471999-02-25 08:46:07 +00001465></A
1466><H3
1467><A
1468NAME="XMLFREENOTATIONTABLE"
1469></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001470>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001471><TABLE
1472BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001473BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001474WIDTH="100%"
1475CELLPADDING="6"
1476><TR
1477><TD
1478><PRE
1479CLASS="PROGRAMLISTING"
1480>void xmlFreeNotationTable (<A
1481HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1482>xmlNotationTablePtr</A
1483> table);</PRE
1484></TD
1485></TR
1486></TABLE
1487><P
1488>Deallocate the memory used by an entities hash table.</P
1489><P
1490></P
1491><DIV
1492CLASS="INFORMALTABLE"
1493><P
1494></P
1495><TABLE
1496BORDER="0"
1497WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001498BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001499CELLSPACING="0"
1500CELLPADDING="4"
1501CLASS="CALSTABLE"
1502><TR
1503><TD
1504WIDTH="20%"
1505ALIGN="RIGHT"
1506VALIGN="TOP"
1507><TT
1508CLASS="PARAMETER"
1509><I
1510>table</I
1511></TT
1512>&nbsp;:</TD
1513><TD
1514WIDTH="80%"
1515ALIGN="LEFT"
1516VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001517>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001518></TR
1519></TABLE
1520><P
1521></P
1522></DIV
1523></DIV
1524><HR><DIV
1525CLASS="REFSECT2"
1526><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001527NAME="AEN5903"
Daniel Veillard35925471999-02-25 08:46:07 +00001528></A
1529><H3
1530><A
1531NAME="XMLDUMPNOTATIONTABLE"
1532></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001533>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001534><TABLE
1535BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001536BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001537WIDTH="100%"
1538CELLPADDING="6"
1539><TR
1540><TD
1541><PRE
1542CLASS="PROGRAMLISTING"
1543>void xmlDumpNotationTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001544HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1545>xmlBufferPtr</A
1546> buf,
1547 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001548HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1549>xmlNotationTablePtr</A
1550> table);</PRE
1551></TD
1552></TR
1553></TABLE
1554><P
1555>This will dump the content of the notation table as an XML DTD definition</P
1556><P
Daniel Veillard35925471999-02-25 08:46:07 +00001557></P
1558><DIV
1559CLASS="INFORMALTABLE"
1560><P
1561></P
1562><TABLE
1563BORDER="0"
1564WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001565BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001566CELLSPACING="0"
1567CELLPADDING="4"
1568CLASS="CALSTABLE"
1569><TR
1570><TD
1571WIDTH="20%"
1572ALIGN="RIGHT"
1573VALIGN="TOP"
1574><TT
1575CLASS="PARAMETER"
1576><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001577>buf</I
1578></TT
1579>&nbsp;:</TD
1580><TD
1581WIDTH="80%"
1582ALIGN="LEFT"
1583VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001584>&nbsp;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001585></TR
1586><TR
1587><TD
1588WIDTH="20%"
1589ALIGN="RIGHT"
1590VALIGN="TOP"
1591><TT
1592CLASS="PARAMETER"
1593><I
Daniel Veillard35925471999-02-25 08:46:07 +00001594>table</I
1595></TT
1596>&nbsp;:</TD
1597><TD
1598WIDTH="80%"
1599ALIGN="LEFT"
1600VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001601>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001602></TR
1603></TABLE
1604><P
1605></P
1606></DIV
1607></DIV
1608><HR><DIV
1609CLASS="REFSECT2"
1610><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001611NAME="AEN5924"
Daniel Veillard35925471999-02-25 08:46:07 +00001612></A
1613><H3
1614><A
1615NAME="XMLNEWELEMENTCONTENT"
1616></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001617>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001618><TABLE
1619BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001620BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001621WIDTH="100%"
1622CELLPADDING="6"
1623><TR
1624><TD
1625><PRE
1626CLASS="PROGRAMLISTING"
1627><A
1628HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1629>xmlElementContentPtr</A
1630> xmlNewElementContent (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001631HREF="gnome-xml-tree.html#XMLCHAR"
1632>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001633> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00001634 <A
1635HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
1636>xmlElementContentType</A
1637> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001638></TD
1639></TR
1640></TABLE
1641><P
1642>Allocate an element content structure.</P
1643><P
1644></P
1645><DIV
1646CLASS="INFORMALTABLE"
1647><P
1648></P
1649><TABLE
1650BORDER="0"
1651WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001652BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001653CELLSPACING="0"
1654CELLPADDING="4"
1655CLASS="CALSTABLE"
1656><TR
1657><TD
1658WIDTH="20%"
1659ALIGN="RIGHT"
1660VALIGN="TOP"
1661><TT
1662CLASS="PARAMETER"
1663><I
1664>name</I
1665></TT
1666>&nbsp;:</TD
1667><TD
1668WIDTH="80%"
1669ALIGN="LEFT"
1670VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001671>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001672></TR
1673><TR
1674><TD
1675WIDTH="20%"
1676ALIGN="RIGHT"
1677VALIGN="TOP"
1678><TT
1679CLASS="PARAMETER"
1680><I
1681>type</I
1682></TT
1683>&nbsp;:</TD
1684><TD
1685WIDTH="80%"
1686ALIGN="LEFT"
1687VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001688>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001689></TR
1690><TR
1691><TD
1692WIDTH="20%"
1693ALIGN="RIGHT"
1694VALIGN="TOP"
1695><I
1696CLASS="EMPHASIS"
1697>Returns</I
1698> :</TD
1699><TD
1700WIDTH="80%"
1701ALIGN="LEFT"
1702VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001703>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001704></TR
1705></TABLE
1706><P
1707></P
1708></DIV
1709></DIV
1710><HR><DIV
1711CLASS="REFSECT2"
1712><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001713NAME="AEN5950"
Daniel Veillard35925471999-02-25 08:46:07 +00001714></A
1715><H3
1716><A
1717NAME="XMLCOPYELEMENTCONTENT"
1718></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001719>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001720><TABLE
1721BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001722BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001723WIDTH="100%"
1724CELLPADDING="6"
1725><TR
1726><TD
1727><PRE
1728CLASS="PROGRAMLISTING"
1729><A
1730HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1731>xmlElementContentPtr</A
1732> xmlCopyElementContent (<A
1733HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1734>xmlElementContentPtr</A
1735> content);</PRE
1736></TD
1737></TR
1738></TABLE
1739><P
1740>Build a copy of an element content description.</P
1741><P
1742></P
1743><DIV
1744CLASS="INFORMALTABLE"
1745><P
1746></P
1747><TABLE
1748BORDER="0"
1749WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001750BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001751CELLSPACING="0"
1752CELLPADDING="4"
1753CLASS="CALSTABLE"
1754><TR
1755><TD
1756WIDTH="20%"
1757ALIGN="RIGHT"
1758VALIGN="TOP"
1759><TT
1760CLASS="PARAMETER"
1761><I
1762>content</I
1763></TT
1764>&nbsp;:</TD
1765><TD
1766WIDTH="80%"
1767ALIGN="LEFT"
1768VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001769>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001770></TR
1771><TR
1772><TD
1773WIDTH="20%"
1774ALIGN="RIGHT"
1775VALIGN="TOP"
1776><I
1777CLASS="EMPHASIS"
1778>Returns</I
1779> :</TD
1780><TD
1781WIDTH="80%"
1782ALIGN="LEFT"
1783VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001784>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001785></TR
1786></TABLE
1787><P
1788></P
1789></DIV
1790></DIV
1791><HR><DIV
1792CLASS="REFSECT2"
1793><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001794NAME="AEN5971"
Daniel Veillard35925471999-02-25 08:46:07 +00001795></A
1796><H3
1797><A
1798NAME="XMLFREEELEMENTCONTENT"
1799></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001800>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001801><TABLE
1802BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001803BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001804WIDTH="100%"
1805CELLPADDING="6"
1806><TR
1807><TD
1808><PRE
1809CLASS="PROGRAMLISTING"
1810>void xmlFreeElementContent (<A
1811HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1812>xmlElementContentPtr</A
1813> cur);</PRE
1814></TD
1815></TR
1816></TABLE
1817><P
1818>Free an element content structure. This is a recursive call !</P
1819><P
1820></P
1821><DIV
1822CLASS="INFORMALTABLE"
1823><P
1824></P
1825><TABLE
1826BORDER="0"
1827WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001828BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001829CELLSPACING="0"
1830CELLPADDING="4"
1831CLASS="CALSTABLE"
1832><TR
1833><TD
1834WIDTH="20%"
1835ALIGN="RIGHT"
1836VALIGN="TOP"
1837><TT
1838CLASS="PARAMETER"
1839><I
1840>cur</I
1841></TT
1842>&nbsp;:</TD
1843><TD
1844WIDTH="80%"
1845ALIGN="LEFT"
1846VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001847>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001848></TR
1849></TABLE
1850><P
1851></P
1852></DIV
1853></DIV
1854><HR><DIV
1855CLASS="REFSECT2"
1856><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001857NAME="AEN5987"
Daniel Veillard35925471999-02-25 08:46:07 +00001858></A
1859><H3
1860><A
1861NAME="XMLADDELEMENTDECL"
1862></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001863>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001864><TABLE
1865BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001866BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001867WIDTH="100%"
1868CELLPADDING="6"
1869><TR
1870><TD
1871><PRE
1872CLASS="PROGRAMLISTING"
1873><A
1874HREF="gnome-xml-tree.html#XMLELEMENTPTR"
1875>xmlElementPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001876> xmlAddElementDecl (<GTKDOCLINK
1877HREF="XMLVALIDCTXTPTR"
1878>xmlValidCtxtPtr</GTKDOCLINK
1879> ctxt,
1880 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001881HREF="gnome-xml-tree.html#XMLDTDPTR"
1882>xmlDtdPtr</A
1883> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001884 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001885HREF="gnome-xml-tree.html#XMLCHAR"
1886>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001887> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00001888 <A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00001889HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL"
1890>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00001891> type,
Daniel Veillard35925471999-02-25 08:46:07 +00001892 <A
1893HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1894>xmlElementContentPtr</A
1895> content);</PRE
1896></TD
1897></TR
1898></TABLE
1899><P
1900>Register a new element declaration</P
1901><P
1902></P
1903><DIV
1904CLASS="INFORMALTABLE"
1905><P
1906></P
1907><TABLE
1908BORDER="0"
1909WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001910BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001911CELLSPACING="0"
1912CELLPADDING="4"
1913CLASS="CALSTABLE"
1914><TR
1915><TD
1916WIDTH="20%"
1917ALIGN="RIGHT"
1918VALIGN="TOP"
1919><TT
1920CLASS="PARAMETER"
1921><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001922>ctxt</I
1923></TT
1924>&nbsp;:</TD
1925><TD
1926WIDTH="80%"
1927ALIGN="LEFT"
1928VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001929>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001930></TR
1931><TR
1932><TD
1933WIDTH="20%"
1934ALIGN="RIGHT"
1935VALIGN="TOP"
1936><TT
1937CLASS="PARAMETER"
1938><I
Daniel Veillard35925471999-02-25 08:46:07 +00001939>dtd</I
1940></TT
1941>&nbsp;:</TD
1942><TD
1943WIDTH="80%"
1944ALIGN="LEFT"
1945VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001946>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001947></TR
1948><TR
1949><TD
1950WIDTH="20%"
1951ALIGN="RIGHT"
1952VALIGN="TOP"
1953><TT
1954CLASS="PARAMETER"
1955><I
1956>name</I
1957></TT
1958>&nbsp;:</TD
1959><TD
1960WIDTH="80%"
1961ALIGN="LEFT"
1962VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001963>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001964></TR
1965><TR
1966><TD
1967WIDTH="20%"
1968ALIGN="RIGHT"
1969VALIGN="TOP"
1970><TT
1971CLASS="PARAMETER"
1972><I
1973>type</I
1974></TT
1975>&nbsp;:</TD
1976><TD
1977WIDTH="80%"
1978ALIGN="LEFT"
1979VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001980>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001981></TR
1982><TR
1983><TD
1984WIDTH="20%"
1985ALIGN="RIGHT"
1986VALIGN="TOP"
1987><TT
1988CLASS="PARAMETER"
1989><I
1990>content</I
1991></TT
1992>&nbsp;:</TD
1993><TD
1994WIDTH="80%"
1995ALIGN="LEFT"
1996VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001997>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001998></TR
1999><TR
2000><TD
2001WIDTH="20%"
2002ALIGN="RIGHT"
2003VALIGN="TOP"
2004><I
2005CLASS="EMPHASIS"
2006>Returns</I
2007> :</TD
2008><TD
2009WIDTH="80%"
2010ALIGN="LEFT"
2011VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002012>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002013></TR
2014></TABLE
2015><P
2016></P
2017></DIV
2018></DIV
2019><HR><DIV
2020CLASS="REFSECT2"
2021><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00002022NAME="AEN6028"
Daniel Veillard35925471999-02-25 08:46:07 +00002023></A
2024><H3
2025><A
2026NAME="XMLCOPYELEMENTTABLE"
2027></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002028>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002029><TABLE
2030BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002031BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002032WIDTH="100%"
2033CELLPADDING="6"
2034><TR
2035><TD
2036><PRE
2037CLASS="PROGRAMLISTING"
2038><A
2039HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2040>xmlElementTablePtr</A
2041> xmlCopyElementTable (<A
2042HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2043>xmlElementTablePtr</A
2044> table);</PRE
2045></TD
2046></TR
2047></TABLE
2048><P
2049>Build a copy of an element table.</P
2050><P
2051></P
2052><DIV
2053CLASS="INFORMALTABLE"
2054><P
2055></P
2056><TABLE
2057BORDER="0"
2058WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002059BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002060CELLSPACING="0"
2061CELLPADDING="4"
2062CLASS="CALSTABLE"
2063><TR
2064><TD
2065WIDTH="20%"
2066ALIGN="RIGHT"
2067VALIGN="TOP"
2068><TT
2069CLASS="PARAMETER"
2070><I
2071>table</I
2072></TT
2073>&nbsp;:</TD
2074><TD
2075WIDTH="80%"
2076ALIGN="LEFT"
2077VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002078>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002079></TR
2080><TR
2081><TD
2082WIDTH="20%"
2083ALIGN="RIGHT"
2084VALIGN="TOP"
2085><I
2086CLASS="EMPHASIS"
2087>Returns</I
2088> :</TD
2089><TD
2090WIDTH="80%"
2091ALIGN="LEFT"
2092VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002093>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002094></TR
2095></TABLE
2096><P
2097></P
2098></DIV
2099></DIV
2100><HR><DIV
2101CLASS="REFSECT2"
2102><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00002103NAME="AEN6049"
Daniel Veillard35925471999-02-25 08:46:07 +00002104></A
2105><H3
2106><A
2107NAME="XMLFREEELEMENTTABLE"
2108></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002109>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002110><TABLE
2111BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002112BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002113WIDTH="100%"
2114CELLPADDING="6"
2115><TR
2116><TD
2117><PRE
2118CLASS="PROGRAMLISTING"
2119>void xmlFreeElementTable (<A
2120HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2121>xmlElementTablePtr</A
2122> table);</PRE
2123></TD
2124></TR
2125></TABLE
2126><P
2127>Deallocate the memory used by an element hash table.</P
2128><P
2129></P
2130><DIV
2131CLASS="INFORMALTABLE"
2132><P
2133></P
2134><TABLE
2135BORDER="0"
2136WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002137BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002138CELLSPACING="0"
2139CELLPADDING="4"
2140CLASS="CALSTABLE"
2141><TR
2142><TD
2143WIDTH="20%"
2144ALIGN="RIGHT"
2145VALIGN="TOP"
2146><TT
2147CLASS="PARAMETER"
2148><I
2149>table</I
2150></TT
2151>&nbsp;:</TD
2152><TD
2153WIDTH="80%"
2154ALIGN="LEFT"
2155VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002156>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002157></TR
2158></TABLE
2159><P
2160></P
2161></DIV
2162></DIV
2163><HR><DIV
2164CLASS="REFSECT2"
2165><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00002166NAME="AEN6065"
Daniel Veillard35925471999-02-25 08:46:07 +00002167></A
2168><H3
2169><A
2170NAME="XMLDUMPELEMENTTABLE"
2171></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002172>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002173><TABLE
2174BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002175BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002176WIDTH="100%"
2177CELLPADDING="6"
2178><TR
2179><TD
2180><PRE
2181CLASS="PROGRAMLISTING"
2182>void xmlDumpElementTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002183HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2184>xmlBufferPtr</A
2185> buf,
2186 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002187HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2188>xmlElementTablePtr</A
2189> table);</PRE
2190></TD
2191></TR
2192></TABLE
2193><P
2194>This will dump the content of the element table as an XML DTD definition</P
2195><P
Daniel Veillard35925471999-02-25 08:46:07 +00002196></P
2197><DIV
2198CLASS="INFORMALTABLE"
2199><P
2200></P
2201><TABLE
2202BORDER="0"
2203WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002204BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002205CELLSPACING="0"
2206CELLPADDING="4"
2207CLASS="CALSTABLE"
2208><TR
2209><TD
2210WIDTH="20%"
2211ALIGN="RIGHT"
2212VALIGN="TOP"
2213><TT
2214CLASS="PARAMETER"
2215><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002216>buf</I
2217></TT
2218>&nbsp;:</TD
2219><TD
2220WIDTH="80%"
2221ALIGN="LEFT"
2222VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002223>&nbsp;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002224></TR
2225><TR
2226><TD
2227WIDTH="20%"
2228ALIGN="RIGHT"
2229VALIGN="TOP"
2230><TT
2231CLASS="PARAMETER"
2232><I
Daniel Veillard35925471999-02-25 08:46:07 +00002233>table</I
2234></TT
2235>&nbsp;:</TD
2236><TD
2237WIDTH="80%"
2238ALIGN="LEFT"
2239VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002240>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002241></TR
2242></TABLE
2243><P
2244></P
2245></DIV
2246></DIV
2247><HR><DIV
2248CLASS="REFSECT2"
2249><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00002250NAME="AEN6086"
Daniel Veillard35925471999-02-25 08:46:07 +00002251></A
2252><H3
2253><A
2254NAME="XMLCREATEENUMERATION"
2255></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002256>xmlCreateEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002257><TABLE
2258BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002259BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002260WIDTH="100%"
2261CELLPADDING="6"
2262><TR
2263><TD
2264><PRE
2265CLASS="PROGRAMLISTING"
2266><A
2267HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2268>xmlEnumerationPtr</A
2269> xmlCreateEnumeration (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002270HREF="gnome-xml-tree.html#XMLCHAR"
2271>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002272> *name);</PRE
2273></TD
2274></TR
2275></TABLE
2276><P
2277>create and initialize an enumeration attribute node.</P
2278><P
2279></P
2280><DIV
2281CLASS="INFORMALTABLE"
2282><P
2283></P
2284><TABLE
2285BORDER="0"
2286WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002287BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002288CELLSPACING="0"
2289CELLPADDING="4"
2290CLASS="CALSTABLE"
2291><TR
2292><TD
2293WIDTH="20%"
2294ALIGN="RIGHT"
2295VALIGN="TOP"
2296><TT
2297CLASS="PARAMETER"
2298><I
2299>name</I
2300></TT
2301>&nbsp;:</TD
2302><TD
2303WIDTH="80%"
2304ALIGN="LEFT"
2305VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002306>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002307></TR
2308><TR
2309><TD
2310WIDTH="20%"
2311ALIGN="RIGHT"
2312VALIGN="TOP"
2313><I
2314CLASS="EMPHASIS"
2315>Returns</I
2316> :</TD
2317><TD
2318WIDTH="80%"
2319ALIGN="LEFT"
2320VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002321>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002322></TR
2323></TABLE
2324><P
2325></P
2326></DIV
2327></DIV
2328><HR><DIV
2329CLASS="REFSECT2"
2330><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00002331NAME="AEN6107"
Daniel Veillard35925471999-02-25 08:46:07 +00002332></A
2333><H3
2334><A
2335NAME="XMLFREEENUMERATION"
2336></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002337>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002338><TABLE
2339BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002340BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002341WIDTH="100%"
2342CELLPADDING="6"
2343><TR
2344><TD
2345><PRE
2346CLASS="PROGRAMLISTING"
2347>void xmlFreeEnumeration (<A
2348HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2349>xmlEnumerationPtr</A
2350> cur);</PRE
2351></TD
2352></TR
2353></TABLE
2354><P
2355>free an enumeration attribute node (recursive).</P
2356><P
2357></P
2358><DIV
2359CLASS="INFORMALTABLE"
2360><P
2361></P
2362><TABLE
2363BORDER="0"
2364WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002365BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002366CELLSPACING="0"
2367CELLPADDING="4"
2368CLASS="CALSTABLE"
2369><TR
2370><TD
2371WIDTH="20%"
2372ALIGN="RIGHT"
2373VALIGN="TOP"
2374><TT
2375CLASS="PARAMETER"
2376><I
2377>cur</I
2378></TT
2379>&nbsp;:</TD
2380><TD
2381WIDTH="80%"
2382ALIGN="LEFT"
2383VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002384>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002385></TR
2386></TABLE
2387><P
2388></P
2389></DIV
2390></DIV
2391><HR><DIV
2392CLASS="REFSECT2"
2393><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00002394NAME="AEN6123"
Daniel Veillard35925471999-02-25 08:46:07 +00002395></A
2396><H3
2397><A
2398NAME="XMLCOPYENUMERATION"
2399></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002400>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002401><TABLE
2402BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002403BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002404WIDTH="100%"
2405CELLPADDING="6"
2406><TR
2407><TD
2408><PRE
2409CLASS="PROGRAMLISTING"
2410><A
2411HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2412>xmlEnumerationPtr</A
2413> xmlCopyEnumeration (<A
2414HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2415>xmlEnumerationPtr</A
2416> cur);</PRE
2417></TD
2418></TR
2419></TABLE
2420><P
2421>Copy an enumeration attribute node (recursive).</P
2422><P
2423></P
2424><DIV
2425CLASS="INFORMALTABLE"
2426><P
2427></P
2428><TABLE
2429BORDER="0"
2430WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002431BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002432CELLSPACING="0"
2433CELLPADDING="4"
2434CLASS="CALSTABLE"
2435><TR
2436><TD
2437WIDTH="20%"
2438ALIGN="RIGHT"
2439VALIGN="TOP"
2440><TT
2441CLASS="PARAMETER"
2442><I
2443>cur</I
2444></TT
2445>&nbsp;:</TD
2446><TD
2447WIDTH="80%"
2448ALIGN="LEFT"
2449VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002450>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002451></TR
2452><TR
2453><TD
2454WIDTH="20%"
2455ALIGN="RIGHT"
2456VALIGN="TOP"
2457><I
2458CLASS="EMPHASIS"
2459>Returns</I
2460> :</TD
2461><TD
2462WIDTH="80%"
2463ALIGN="LEFT"
2464VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002465>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002466></TR
2467></TABLE
2468><P
2469></P
2470></DIV
2471></DIV
2472><HR><DIV
2473CLASS="REFSECT2"
2474><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00002475NAME="AEN6144"
Daniel Veillard35925471999-02-25 08:46:07 +00002476></A
2477><H3
2478><A
2479NAME="XMLADDATTRIBUTEDECL"
2480></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002481>xmlAddAttributeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002482><TABLE
2483BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002484BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002485WIDTH="100%"
2486CELLPADDING="6"
2487><TR
2488><TD
2489><PRE
2490CLASS="PROGRAMLISTING"
2491><A
2492HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
2493>xmlAttributePtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002494> xmlAddAttributeDecl (<GTKDOCLINK
2495HREF="XMLVALIDCTXTPTR"
2496>xmlValidCtxtPtr</GTKDOCLINK
2497> ctxt,
2498 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002499HREF="gnome-xml-tree.html#XMLDTDPTR"
2500>xmlDtdPtr</A
2501> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002502 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002503HREF="gnome-xml-tree.html#XMLCHAR"
2504>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002505> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002506 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002507HREF="gnome-xml-tree.html#XMLCHAR"
2508>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002509> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002510 <A
2511HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
2512>xmlAttributeType</A
2513> type,
2514 <A
2515HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
2516>xmlAttributeDefault</A
2517> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002518 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002519HREF="gnome-xml-tree.html#XMLCHAR"
2520>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002521> *defaultValue,
2522 <A
2523HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2524>xmlEnumerationPtr</A
2525> tree);</PRE
2526></TD
2527></TR
2528></TABLE
2529><P
2530>Register a new attribute declaration</P
2531><P
2532></P
2533><DIV
2534CLASS="INFORMALTABLE"
2535><P
2536></P
2537><TABLE
2538BORDER="0"
2539WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002540BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002541CELLSPACING="0"
2542CELLPADDING="4"
2543CLASS="CALSTABLE"
2544><TR
2545><TD
2546WIDTH="20%"
2547ALIGN="RIGHT"
2548VALIGN="TOP"
2549><TT
2550CLASS="PARAMETER"
2551><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002552>ctxt</I
2553></TT
2554>&nbsp;:</TD
2555><TD
2556WIDTH="80%"
2557ALIGN="LEFT"
2558VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002559>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002560></TR
2561><TR
2562><TD
2563WIDTH="20%"
2564ALIGN="RIGHT"
2565VALIGN="TOP"
2566><TT
2567CLASS="PARAMETER"
2568><I
Daniel Veillard35925471999-02-25 08:46:07 +00002569>dtd</I
2570></TT
2571>&nbsp;:</TD
2572><TD
2573WIDTH="80%"
2574ALIGN="LEFT"
2575VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002576>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002577></TR
2578><TR
2579><TD
2580WIDTH="20%"
2581ALIGN="RIGHT"
2582VALIGN="TOP"
2583><TT
2584CLASS="PARAMETER"
2585><I
2586>elem</I
2587></TT
2588>&nbsp;:</TD
2589><TD
2590WIDTH="80%"
2591ALIGN="LEFT"
2592VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002593>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002594></TR
2595><TR
2596><TD
2597WIDTH="20%"
2598ALIGN="RIGHT"
2599VALIGN="TOP"
2600><TT
2601CLASS="PARAMETER"
2602><I
2603>name</I
2604></TT
2605>&nbsp;:</TD
2606><TD
2607WIDTH="80%"
2608ALIGN="LEFT"
2609VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002610>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002611></TR
2612><TR
2613><TD
2614WIDTH="20%"
2615ALIGN="RIGHT"
2616VALIGN="TOP"
2617><TT
2618CLASS="PARAMETER"
2619><I
2620>type</I
2621></TT
2622>&nbsp;:</TD
2623><TD
2624WIDTH="80%"
2625ALIGN="LEFT"
2626VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002627>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002628></TR
2629><TR
2630><TD
2631WIDTH="20%"
2632ALIGN="RIGHT"
2633VALIGN="TOP"
2634><TT
2635CLASS="PARAMETER"
2636><I
2637>def</I
2638></TT
2639>&nbsp;:</TD
2640><TD
2641WIDTH="80%"
2642ALIGN="LEFT"
2643VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002644>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002645></TR
2646><TR
2647><TD
2648WIDTH="20%"
2649ALIGN="RIGHT"
2650VALIGN="TOP"
2651><TT
2652CLASS="PARAMETER"
2653><I
2654>defaultValue</I
2655></TT
2656>&nbsp;:</TD
2657><TD
2658WIDTH="80%"
2659ALIGN="LEFT"
2660VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002661>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002662></TR
2663><TR
2664><TD
2665WIDTH="20%"
2666ALIGN="RIGHT"
2667VALIGN="TOP"
2668><TT
2669CLASS="PARAMETER"
2670><I
2671>tree</I
2672></TT
2673>&nbsp;:</TD
2674><TD
2675WIDTH="80%"
2676ALIGN="LEFT"
2677VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002678>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002679></TR
2680><TR
2681><TD
2682WIDTH="20%"
2683ALIGN="RIGHT"
2684VALIGN="TOP"
2685><I
2686CLASS="EMPHASIS"
2687>Returns</I
2688> :</TD
2689><TD
2690WIDTH="80%"
2691ALIGN="LEFT"
2692VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002693>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002694></TR
2695></TABLE
2696><P
2697></P
2698></DIV
2699></DIV
2700><HR><DIV
2701CLASS="REFSECT2"
2702><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00002703NAME="AEN6200"
Daniel Veillard35925471999-02-25 08:46:07 +00002704></A
2705><H3
2706><A
2707NAME="XMLCOPYATTRIBUTETABLE"
2708></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002709>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002710><TABLE
2711BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002712BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002713WIDTH="100%"
2714CELLPADDING="6"
2715><TR
2716><TD
2717><PRE
2718CLASS="PROGRAMLISTING"
2719><A
2720HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2721>xmlAttributeTablePtr</A
2722> xmlCopyAttributeTable (<A
2723HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2724>xmlAttributeTablePtr</A
2725> table);</PRE
2726></TD
2727></TR
2728></TABLE
2729><P
2730>Build a copy of an attribute table.</P
2731><P
2732></P
2733><DIV
2734CLASS="INFORMALTABLE"
2735><P
2736></P
2737><TABLE
2738BORDER="0"
2739WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002740BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002741CELLSPACING="0"
2742CELLPADDING="4"
2743CLASS="CALSTABLE"
2744><TR
2745><TD
2746WIDTH="20%"
2747ALIGN="RIGHT"
2748VALIGN="TOP"
2749><TT
2750CLASS="PARAMETER"
2751><I
2752>table</I
2753></TT
2754>&nbsp;:</TD
2755><TD
2756WIDTH="80%"
2757ALIGN="LEFT"
2758VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002759>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002760></TR
2761><TR
2762><TD
2763WIDTH="20%"
2764ALIGN="RIGHT"
2765VALIGN="TOP"
2766><I
2767CLASS="EMPHASIS"
2768>Returns</I
2769> :</TD
2770><TD
2771WIDTH="80%"
2772ALIGN="LEFT"
2773VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002774>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002775></TR
2776></TABLE
2777><P
2778></P
2779></DIV
2780></DIV
2781><HR><DIV
2782CLASS="REFSECT2"
2783><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00002784NAME="AEN6221"
Daniel Veillard35925471999-02-25 08:46:07 +00002785></A
2786><H3
2787><A
2788NAME="XMLFREEATTRIBUTETABLE"
2789></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002790>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002791><TABLE
2792BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002793BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002794WIDTH="100%"
2795CELLPADDING="6"
2796><TR
2797><TD
2798><PRE
2799CLASS="PROGRAMLISTING"
2800>void xmlFreeAttributeTable (<A
2801HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2802>xmlAttributeTablePtr</A
2803> table);</PRE
2804></TD
2805></TR
2806></TABLE
2807><P
2808>Deallocate the memory used by an entities hash table.</P
2809><P
2810></P
2811><DIV
2812CLASS="INFORMALTABLE"
2813><P
2814></P
2815><TABLE
2816BORDER="0"
2817WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002818BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002819CELLSPACING="0"
2820CELLPADDING="4"
2821CLASS="CALSTABLE"
2822><TR
2823><TD
2824WIDTH="20%"
2825ALIGN="RIGHT"
2826VALIGN="TOP"
2827><TT
2828CLASS="PARAMETER"
2829><I
2830>table</I
2831></TT
2832>&nbsp;:</TD
2833><TD
2834WIDTH="80%"
2835ALIGN="LEFT"
2836VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002837>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002838></TR
2839></TABLE
2840><P
2841></P
2842></DIV
2843></DIV
2844><HR><DIV
2845CLASS="REFSECT2"
2846><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00002847NAME="AEN6237"
Daniel Veillard35925471999-02-25 08:46:07 +00002848></A
2849><H3
2850><A
2851NAME="XMLDUMPATTRIBUTETABLE"
2852></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002853>xmlDumpAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002854><TABLE
2855BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002856BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002857WIDTH="100%"
2858CELLPADDING="6"
2859><TR
2860><TD
2861><PRE
2862CLASS="PROGRAMLISTING"
2863>void xmlDumpAttributeTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002864HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2865>xmlBufferPtr</A
2866> buf,
2867 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002868HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
2869>xmlAttributeTablePtr</A
2870> table);</PRE
2871></TD
2872></TR
2873></TABLE
2874><P
2875>This will dump the content of the attribute table as an XML DTD definition</P
2876><P
Daniel Veillard35925471999-02-25 08:46:07 +00002877></P
2878><DIV
2879CLASS="INFORMALTABLE"
2880><P
2881></P
2882><TABLE
2883BORDER="0"
2884WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002885BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002886CELLSPACING="0"
2887CELLPADDING="4"
2888CLASS="CALSTABLE"
2889><TR
2890><TD
2891WIDTH="20%"
2892ALIGN="RIGHT"
2893VALIGN="TOP"
2894><TT
2895CLASS="PARAMETER"
2896><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002897>buf</I
2898></TT
2899>&nbsp;:</TD
2900><TD
2901WIDTH="80%"
2902ALIGN="LEFT"
2903VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002904>&nbsp;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002905></TR
2906><TR
2907><TD
2908WIDTH="20%"
2909ALIGN="RIGHT"
2910VALIGN="TOP"
2911><TT
2912CLASS="PARAMETER"
2913><I
Daniel Veillard35925471999-02-25 08:46:07 +00002914>table</I
2915></TT
2916>&nbsp;:</TD
2917><TD
2918WIDTH="80%"
2919ALIGN="LEFT"
2920VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002921>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002922></TR
2923></TABLE
2924><P
2925></P
2926></DIV
2927></DIV
2928><HR><DIV
2929CLASS="REFSECT2"
2930><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00002931NAME="AEN6258"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002932></A
2933><H3
2934><A
2935NAME="XMLADDID"
2936></A
2937>xmlAddID ()</H3
2938><TABLE
2939BORDER="0"
2940BGCOLOR="#D6E8FF"
2941WIDTH="100%"
2942CELLPADDING="6"
2943><TR
2944><TD
2945><PRE
2946CLASS="PROGRAMLISTING"
2947><A
2948HREF="gnome-xml-tree.html#XMLIDPTR"
2949>xmlIDPtr</A
2950> xmlAddID (<GTKDOCLINK
2951HREF="XMLVALIDCTXTPTR"
2952>xmlValidCtxtPtr</GTKDOCLINK
2953> ctxt,
2954 <A
2955HREF="gnome-xml-tree.html#XMLDOCPTR"
2956>xmlDocPtr</A
2957> doc,
2958 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002959HREF="gnome-xml-tree.html#XMLCHAR"
2960>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00002961> *value,
2962 <A
2963HREF="gnome-xml-tree.html#XMLATTRPTR"
2964>xmlAttrPtr</A
2965> attr);</PRE
2966></TD
2967></TR
2968></TABLE
2969><P
2970>Register a new id declaration</P
2971><P
2972></P
2973><DIV
2974CLASS="INFORMALTABLE"
2975><P
2976></P
2977><TABLE
2978BORDER="0"
2979WIDTH="100%"
2980BGCOLOR="#FFD0D0"
2981CELLSPACING="0"
2982CELLPADDING="4"
2983CLASS="CALSTABLE"
2984><TR
2985><TD
2986WIDTH="20%"
2987ALIGN="RIGHT"
2988VALIGN="TOP"
2989><TT
2990CLASS="PARAMETER"
2991><I
2992>ctxt</I
2993></TT
2994>&nbsp;:</TD
2995><TD
2996WIDTH="80%"
2997ALIGN="LEFT"
2998VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00002999>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003000></TR
3001><TR
3002><TD
3003WIDTH="20%"
3004ALIGN="RIGHT"
3005VALIGN="TOP"
3006><TT
3007CLASS="PARAMETER"
3008><I
3009>doc</I
3010></TT
3011>&nbsp;:</TD
3012><TD
3013WIDTH="80%"
3014ALIGN="LEFT"
3015VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003016>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003017></TR
3018><TR
3019><TD
3020WIDTH="20%"
3021ALIGN="RIGHT"
3022VALIGN="TOP"
3023><TT
3024CLASS="PARAMETER"
3025><I
3026>value</I
3027></TT
3028>&nbsp;:</TD
3029><TD
3030WIDTH="80%"
3031ALIGN="LEFT"
3032VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003033>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003034></TR
3035><TR
3036><TD
3037WIDTH="20%"
3038ALIGN="RIGHT"
3039VALIGN="TOP"
3040><TT
3041CLASS="PARAMETER"
3042><I
3043>attr</I
3044></TT
3045>&nbsp;:</TD
3046><TD
3047WIDTH="80%"
3048ALIGN="LEFT"
3049VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003050>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003051></TR
3052><TR
3053><TD
3054WIDTH="20%"
3055ALIGN="RIGHT"
3056VALIGN="TOP"
3057><I
3058CLASS="EMPHASIS"
3059>Returns</I
3060> :</TD
3061><TD
3062WIDTH="80%"
3063ALIGN="LEFT"
3064VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003065>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003066></TR
3067></TABLE
3068><P
3069></P
3070></DIV
3071></DIV
3072><HR><DIV
3073CLASS="REFSECT2"
3074><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00003075NAME="AEN6294"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003076></A
3077><H3
3078><A
3079NAME="XMLCOPYIDTABLE"
3080></A
3081>xmlCopyIDTable ()</H3
3082><TABLE
3083BORDER="0"
3084BGCOLOR="#D6E8FF"
3085WIDTH="100%"
3086CELLPADDING="6"
3087><TR
3088><TD
3089><PRE
3090CLASS="PROGRAMLISTING"
3091><A
3092HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3093>xmlIDTablePtr</A
3094> xmlCopyIDTable (<A
3095HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3096>xmlIDTablePtr</A
3097> table);</PRE
3098></TD
3099></TR
3100></TABLE
3101><P
3102></P
3103><DIV
3104CLASS="INFORMALTABLE"
3105><P
3106></P
3107><TABLE
3108BORDER="0"
3109WIDTH="100%"
3110BGCOLOR="#FFD0D0"
3111CELLSPACING="0"
3112CELLPADDING="4"
3113CLASS="CALSTABLE"
3114><TR
3115><TD
3116WIDTH="20%"
3117ALIGN="RIGHT"
3118VALIGN="TOP"
3119><TT
3120CLASS="PARAMETER"
3121><I
3122>table</I
3123></TT
3124>&nbsp;:</TD
3125><TD
3126WIDTH="80%"
3127ALIGN="LEFT"
3128VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003129>&nbsp;</TD
3130></TR
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003131><TR
3132><TD
3133WIDTH="20%"
3134ALIGN="RIGHT"
3135VALIGN="TOP"
3136><I
3137CLASS="EMPHASIS"
3138>Returns</I
3139> :</TD
3140><TD
3141WIDTH="80%"
3142ALIGN="LEFT"
3143VALIGN="TOP"
3144>&nbsp;</TD
3145></TR
Daniel Veillardb05deb71999-08-10 19:04:08 +00003146></TABLE
3147><P
3148></P
3149></DIV
3150></DIV
3151><HR><DIV
3152CLASS="REFSECT2"
3153><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00003154NAME="AEN6314"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003155></A
3156><H3
3157><A
3158NAME="XMLFREEIDTABLE"
3159></A
3160>xmlFreeIDTable ()</H3
3161><TABLE
3162BORDER="0"
3163BGCOLOR="#D6E8FF"
3164WIDTH="100%"
3165CELLPADDING="6"
3166><TR
3167><TD
3168><PRE
3169CLASS="PROGRAMLISTING"
3170>void xmlFreeIDTable (<A
3171HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3172>xmlIDTablePtr</A
3173> table);</PRE
3174></TD
3175></TR
3176></TABLE
3177><P
3178>Deallocate the memory used by an ID hash table.</P
3179><P
3180></P
3181><DIV
3182CLASS="INFORMALTABLE"
3183><P
3184></P
3185><TABLE
3186BORDER="0"
3187WIDTH="100%"
3188BGCOLOR="#FFD0D0"
3189CELLSPACING="0"
3190CELLPADDING="4"
3191CLASS="CALSTABLE"
3192><TR
3193><TD
3194WIDTH="20%"
3195ALIGN="RIGHT"
3196VALIGN="TOP"
3197><TT
3198CLASS="PARAMETER"
3199><I
3200>table</I
3201></TT
3202>&nbsp;:</TD
3203><TD
3204WIDTH="80%"
3205ALIGN="LEFT"
3206VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003207>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003208></TR
3209></TABLE
3210><P
3211></P
3212></DIV
3213></DIV
3214><HR><DIV
3215CLASS="REFSECT2"
3216><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00003217NAME="AEN6330"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003218></A
3219><H3
3220><A
3221NAME="XMLGETID"
3222></A
3223>xmlGetID ()</H3
3224><TABLE
3225BORDER="0"
3226BGCOLOR="#D6E8FF"
3227WIDTH="100%"
3228CELLPADDING="6"
3229><TR
3230><TD
3231><PRE
3232CLASS="PROGRAMLISTING"
3233><A
3234HREF="gnome-xml-tree.html#XMLATTRPTR"
3235>xmlAttrPtr</A
3236> xmlGetID (<A
3237HREF="gnome-xml-tree.html#XMLDOCPTR"
3238>xmlDocPtr</A
3239> doc,
3240 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003241HREF="gnome-xml-tree.html#XMLCHAR"
3242>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003243> *ID);</PRE
3244></TD
3245></TR
3246></TABLE
3247><P
3248>Search the attribute declaring the given ID</P
3249><P
3250></P
3251><DIV
3252CLASS="INFORMALTABLE"
3253><P
3254></P
3255><TABLE
3256BORDER="0"
3257WIDTH="100%"
3258BGCOLOR="#FFD0D0"
3259CELLSPACING="0"
3260CELLPADDING="4"
3261CLASS="CALSTABLE"
3262><TR
3263><TD
3264WIDTH="20%"
3265ALIGN="RIGHT"
3266VALIGN="TOP"
3267><TT
3268CLASS="PARAMETER"
3269><I
3270>doc</I
3271></TT
3272>&nbsp;:</TD
3273><TD
3274WIDTH="80%"
3275ALIGN="LEFT"
3276VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003277>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003278></TR
3279><TR
3280><TD
3281WIDTH="20%"
3282ALIGN="RIGHT"
3283VALIGN="TOP"
3284><TT
3285CLASS="PARAMETER"
3286><I
3287>ID</I
3288></TT
3289>&nbsp;:</TD
3290><TD
3291WIDTH="80%"
3292ALIGN="LEFT"
3293VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003294>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003295></TR
3296><TR
3297><TD
3298WIDTH="20%"
3299ALIGN="RIGHT"
3300VALIGN="TOP"
3301><I
3302CLASS="EMPHASIS"
3303>Returns</I
3304> :</TD
3305><TD
3306WIDTH="80%"
3307ALIGN="LEFT"
3308VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003309>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003310></TR
3311></TABLE
3312><P
3313></P
3314></DIV
3315></DIV
3316><HR><DIV
3317CLASS="REFSECT2"
3318><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00003319NAME="AEN6356"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003320></A
3321><H3
3322><A
3323NAME="XMLISID"
3324></A
3325>xmlIsID ()</H3
3326><TABLE
3327BORDER="0"
3328BGCOLOR="#D6E8FF"
3329WIDTH="100%"
3330CELLPADDING="6"
3331><TR
3332><TD
3333><PRE
3334CLASS="PROGRAMLISTING"
3335>int xmlIsID (<A
3336HREF="gnome-xml-tree.html#XMLDOCPTR"
3337>xmlDocPtr</A
3338> doc,
3339 <A
3340HREF="gnome-xml-tree.html#XMLNODEPTR"
3341>xmlNodePtr</A
3342> elem,
3343 <A
3344HREF="gnome-xml-tree.html#XMLATTRPTR"
3345>xmlAttrPtr</A
3346> attr);</PRE
3347></TD
3348></TR
3349></TABLE
3350><P
3351>Determine whether an attribute is of type ID. In case we have Dtd(s)
3352then this is simple, otherwise we use an heuristic: name ID (upper
3353or lowercase).</P
3354><P
3355></P
3356><DIV
3357CLASS="INFORMALTABLE"
3358><P
3359></P
3360><TABLE
3361BORDER="0"
3362WIDTH="100%"
3363BGCOLOR="#FFD0D0"
3364CELLSPACING="0"
3365CELLPADDING="4"
3366CLASS="CALSTABLE"
3367><TR
3368><TD
3369WIDTH="20%"
3370ALIGN="RIGHT"
3371VALIGN="TOP"
3372><TT
3373CLASS="PARAMETER"
3374><I
3375>doc</I
3376></TT
3377>&nbsp;:</TD
3378><TD
3379WIDTH="80%"
3380ALIGN="LEFT"
3381VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003382>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003383></TR
3384><TR
3385><TD
3386WIDTH="20%"
3387ALIGN="RIGHT"
3388VALIGN="TOP"
3389><TT
3390CLASS="PARAMETER"
3391><I
3392>elem</I
3393></TT
3394>&nbsp;:</TD
3395><TD
3396WIDTH="80%"
3397ALIGN="LEFT"
3398VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003399>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003400></TR
3401><TR
3402><TD
3403WIDTH="20%"
3404ALIGN="RIGHT"
3405VALIGN="TOP"
3406><TT
3407CLASS="PARAMETER"
3408><I
3409>attr</I
3410></TT
3411>&nbsp;:</TD
3412><TD
3413WIDTH="80%"
3414ALIGN="LEFT"
3415VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003416>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003417></TR
3418><TR
3419><TD
3420WIDTH="20%"
3421ALIGN="RIGHT"
3422VALIGN="TOP"
3423><I
3424CLASS="EMPHASIS"
3425>Returns</I
3426> :</TD
3427><TD
3428WIDTH="80%"
3429ALIGN="LEFT"
3430VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003431>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003432></TR
3433></TABLE
3434><P
3435></P
3436></DIV
3437></DIV
3438><HR><DIV
3439CLASS="REFSECT2"
3440><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00003441NAME="AEN6386"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003442></A
3443><H3
3444><A
3445NAME="XMLADDREF"
3446></A
3447>xmlAddRef ()</H3
3448><TABLE
3449BORDER="0"
3450BGCOLOR="#D6E8FF"
3451WIDTH="100%"
3452CELLPADDING="6"
3453><TR
3454><TD
3455><PRE
3456CLASS="PROGRAMLISTING"
3457><A
3458HREF="gnome-xml-tree.html#XMLREFPTR"
3459>xmlRefPtr</A
3460> xmlAddRef (<GTKDOCLINK
3461HREF="XMLVALIDCTXTPTR"
3462>xmlValidCtxtPtr</GTKDOCLINK
3463> ctxt,
3464 <A
3465HREF="gnome-xml-tree.html#XMLDOCPTR"
3466>xmlDocPtr</A
3467> doc,
3468 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003469HREF="gnome-xml-tree.html#XMLCHAR"
3470>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003471> *value,
3472 <A
3473HREF="gnome-xml-tree.html#XMLATTRPTR"
3474>xmlAttrPtr</A
3475> attr);</PRE
3476></TD
3477></TR
3478></TABLE
3479><P
3480>Register a new ref declaration</P
3481><P
3482></P
3483><DIV
3484CLASS="INFORMALTABLE"
3485><P
3486></P
3487><TABLE
3488BORDER="0"
3489WIDTH="100%"
3490BGCOLOR="#FFD0D0"
3491CELLSPACING="0"
3492CELLPADDING="4"
3493CLASS="CALSTABLE"
3494><TR
3495><TD
3496WIDTH="20%"
3497ALIGN="RIGHT"
3498VALIGN="TOP"
3499><TT
3500CLASS="PARAMETER"
3501><I
3502>ctxt</I
3503></TT
3504>&nbsp;:</TD
3505><TD
3506WIDTH="80%"
3507ALIGN="LEFT"
3508VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003509>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003510></TR
3511><TR
3512><TD
3513WIDTH="20%"
3514ALIGN="RIGHT"
3515VALIGN="TOP"
3516><TT
3517CLASS="PARAMETER"
3518><I
3519>doc</I
3520></TT
3521>&nbsp;:</TD
3522><TD
3523WIDTH="80%"
3524ALIGN="LEFT"
3525VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003526>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003527></TR
3528><TR
3529><TD
3530WIDTH="20%"
3531ALIGN="RIGHT"
3532VALIGN="TOP"
3533><TT
3534CLASS="PARAMETER"
3535><I
3536>value</I
3537></TT
3538>&nbsp;:</TD
3539><TD
3540WIDTH="80%"
3541ALIGN="LEFT"
3542VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003543>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003544></TR
3545><TR
3546><TD
3547WIDTH="20%"
3548ALIGN="RIGHT"
3549VALIGN="TOP"
3550><TT
3551CLASS="PARAMETER"
3552><I
3553>attr</I
3554></TT
3555>&nbsp;:</TD
3556><TD
3557WIDTH="80%"
3558ALIGN="LEFT"
3559VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003560>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003561></TR
3562><TR
3563><TD
3564WIDTH="20%"
3565ALIGN="RIGHT"
3566VALIGN="TOP"
3567><I
3568CLASS="EMPHASIS"
3569>Returns</I
3570> :</TD
3571><TD
3572WIDTH="80%"
3573ALIGN="LEFT"
3574VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003575>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003576></TR
3577></TABLE
3578><P
3579></P
3580></DIV
3581></DIV
3582><HR><DIV
3583CLASS="REFSECT2"
3584><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00003585NAME="AEN6422"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003586></A
3587><H3
3588><A
3589NAME="XMLCOPYREFTABLE"
3590></A
3591>xmlCopyRefTable ()</H3
3592><TABLE
3593BORDER="0"
3594BGCOLOR="#D6E8FF"
3595WIDTH="100%"
3596CELLPADDING="6"
3597><TR
3598><TD
3599><PRE
3600CLASS="PROGRAMLISTING"
3601><A
3602HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
3603>xmlRefTablePtr</A
3604> xmlCopyRefTable (<A
3605HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
3606>xmlRefTablePtr</A
3607> table);</PRE
3608></TD
3609></TR
3610></TABLE
3611><P
3612></P
3613><DIV
3614CLASS="INFORMALTABLE"
3615><P
3616></P
3617><TABLE
3618BORDER="0"
3619WIDTH="100%"
3620BGCOLOR="#FFD0D0"
3621CELLSPACING="0"
3622CELLPADDING="4"
3623CLASS="CALSTABLE"
3624><TR
3625><TD
3626WIDTH="20%"
3627ALIGN="RIGHT"
3628VALIGN="TOP"
3629><TT
3630CLASS="PARAMETER"
3631><I
3632>table</I
3633></TT
3634>&nbsp;:</TD
3635><TD
3636WIDTH="80%"
3637ALIGN="LEFT"
3638VALIGN="TOP"
3639>&nbsp;</TD
3640></TR
3641><TR
3642><TD
3643WIDTH="20%"
3644ALIGN="RIGHT"
3645VALIGN="TOP"
3646><I
3647CLASS="EMPHASIS"
3648>Returns</I
3649> :</TD
3650><TD
3651WIDTH="80%"
3652ALIGN="LEFT"
3653VALIGN="TOP"
3654>&nbsp;</TD
3655></TR
3656></TABLE
3657><P
3658></P
3659></DIV
3660></DIV
3661><HR><DIV
3662CLASS="REFSECT2"
3663><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00003664NAME="AEN6442"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003665></A
3666><H3
3667><A
3668NAME="XMLFREEREFTABLE"
3669></A
3670>xmlFreeRefTable ()</H3
3671><TABLE
3672BORDER="0"
3673BGCOLOR="#D6E8FF"
3674WIDTH="100%"
3675CELLPADDING="6"
3676><TR
3677><TD
3678><PRE
3679CLASS="PROGRAMLISTING"
3680>void xmlFreeRefTable (<A
3681HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
3682>xmlRefTablePtr</A
3683> table);</PRE
3684></TD
3685></TR
3686></TABLE
3687><P
3688>Deallocate the memory used by an Ref hash table.</P
3689><P
3690></P
3691><DIV
3692CLASS="INFORMALTABLE"
3693><P
3694></P
3695><TABLE
3696BORDER="0"
3697WIDTH="100%"
3698BGCOLOR="#FFD0D0"
3699CELLSPACING="0"
3700CELLPADDING="4"
3701CLASS="CALSTABLE"
3702><TR
3703><TD
3704WIDTH="20%"
3705ALIGN="RIGHT"
3706VALIGN="TOP"
3707><TT
3708CLASS="PARAMETER"
3709><I
3710>table</I
3711></TT
3712>&nbsp;:</TD
3713><TD
3714WIDTH="80%"
3715ALIGN="LEFT"
3716VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003717>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003718></TR
3719></TABLE
3720><P
3721></P
3722></DIV
3723></DIV
3724><HR><DIV
3725CLASS="REFSECT2"
3726><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00003727NAME="AEN6458"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003728></A
3729><H3
3730><A
3731NAME="XMLISREF"
3732></A
3733>xmlIsRef ()</H3
3734><TABLE
3735BORDER="0"
3736BGCOLOR="#D6E8FF"
3737WIDTH="100%"
3738CELLPADDING="6"
3739><TR
3740><TD
3741><PRE
3742CLASS="PROGRAMLISTING"
3743>int xmlIsRef (<A
3744HREF="gnome-xml-tree.html#XMLDOCPTR"
3745>xmlDocPtr</A
3746> doc,
3747 <A
3748HREF="gnome-xml-tree.html#XMLNODEPTR"
3749>xmlNodePtr</A
3750> elem,
3751 <A
3752HREF="gnome-xml-tree.html#XMLATTRPTR"
3753>xmlAttrPtr</A
3754> attr);</PRE
3755></TD
3756></TR
3757></TABLE
3758><P
3759>Determine whether an attribute is of type Ref. In case we have Dtd(s)
3760then this is simple, otherwise we use an heuristic: name Ref (upper
3761or lowercase).</P
3762><P
3763></P
3764><DIV
3765CLASS="INFORMALTABLE"
3766><P
3767></P
3768><TABLE
3769BORDER="0"
3770WIDTH="100%"
3771BGCOLOR="#FFD0D0"
3772CELLSPACING="0"
3773CELLPADDING="4"
3774CLASS="CALSTABLE"
3775><TR
3776><TD
3777WIDTH="20%"
3778ALIGN="RIGHT"
3779VALIGN="TOP"
3780><TT
3781CLASS="PARAMETER"
3782><I
3783>doc</I
3784></TT
3785>&nbsp;:</TD
3786><TD
3787WIDTH="80%"
3788ALIGN="LEFT"
3789VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003790>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003791></TR
3792><TR
3793><TD
3794WIDTH="20%"
3795ALIGN="RIGHT"
3796VALIGN="TOP"
3797><TT
3798CLASS="PARAMETER"
3799><I
3800>elem</I
3801></TT
3802>&nbsp;:</TD
3803><TD
3804WIDTH="80%"
3805ALIGN="LEFT"
3806VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003807>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003808></TR
3809><TR
3810><TD
3811WIDTH="20%"
3812ALIGN="RIGHT"
3813VALIGN="TOP"
3814><TT
3815CLASS="PARAMETER"
3816><I
3817>attr</I
3818></TT
3819>&nbsp;:</TD
3820><TD
3821WIDTH="80%"
3822ALIGN="LEFT"
3823VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003824>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003825></TR
3826><TR
3827><TD
3828WIDTH="20%"
3829ALIGN="RIGHT"
3830VALIGN="TOP"
3831><I
3832CLASS="EMPHASIS"
3833>Returns</I
3834> :</TD
3835><TD
3836WIDTH="80%"
3837ALIGN="LEFT"
3838VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003839>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003840></TR
3841></TABLE
3842><P
3843></P
3844></DIV
3845></DIV
3846><HR><DIV
3847CLASS="REFSECT2"
3848><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00003849NAME="AEN6488"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003850></A
3851><H3
3852><A
3853NAME="XMLVALIDATEROOT"
3854></A
3855>xmlValidateRoot ()</H3
3856><TABLE
3857BORDER="0"
3858BGCOLOR="#D6E8FF"
3859WIDTH="100%"
3860CELLPADDING="6"
3861><TR
3862><TD
3863><PRE
3864CLASS="PROGRAMLISTING"
3865>int xmlValidateRoot (<GTKDOCLINK
3866HREF="XMLVALIDCTXTPTR"
3867>xmlValidCtxtPtr</GTKDOCLINK
3868> ctxt,
3869 <A
3870HREF="gnome-xml-tree.html#XMLDOCPTR"
3871>xmlDocPtr</A
3872> doc);</PRE
3873></TD
3874></TR
3875></TABLE
3876><P
3877>Try to validate a the root element
3878basically it does the following check as described by the
3879XML-1.0 recommendation:
3880- [ VC: Root Element Type ]
3881it doesn't try to recurse or apply other check to the element</P
3882><P
3883></P
3884><DIV
3885CLASS="INFORMALTABLE"
3886><P
3887></P
3888><TABLE
3889BORDER="0"
3890WIDTH="100%"
3891BGCOLOR="#FFD0D0"
3892CELLSPACING="0"
3893CELLPADDING="4"
3894CLASS="CALSTABLE"
3895><TR
3896><TD
3897WIDTH="20%"
3898ALIGN="RIGHT"
3899VALIGN="TOP"
3900><TT
3901CLASS="PARAMETER"
3902><I
3903>ctxt</I
3904></TT
3905>&nbsp;:</TD
3906><TD
3907WIDTH="80%"
3908ALIGN="LEFT"
3909VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003910>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003911></TR
3912><TR
3913><TD
3914WIDTH="20%"
3915ALIGN="RIGHT"
3916VALIGN="TOP"
3917><TT
3918CLASS="PARAMETER"
3919><I
3920>doc</I
3921></TT
3922>&nbsp;:</TD
3923><TD
3924WIDTH="80%"
3925ALIGN="LEFT"
3926VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003927>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003928></TR
3929><TR
3930><TD
3931WIDTH="20%"
3932ALIGN="RIGHT"
3933VALIGN="TOP"
3934><I
3935CLASS="EMPHASIS"
3936>Returns</I
3937> :</TD
3938><TD
3939WIDTH="80%"
3940ALIGN="LEFT"
3941VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00003942>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003943></TR
3944></TABLE
3945><P
3946></P
3947></DIV
3948></DIV
3949><HR><DIV
3950CLASS="REFSECT2"
3951><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00003952NAME="AEN6513"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003953></A
3954><H3
3955><A
3956NAME="XMLVALIDATEELEMENTDECL"
3957></A
3958>xmlValidateElementDecl ()</H3
3959><TABLE
3960BORDER="0"
3961BGCOLOR="#D6E8FF"
3962WIDTH="100%"
3963CELLPADDING="6"
3964><TR
3965><TD
3966><PRE
3967CLASS="PROGRAMLISTING"
3968>int xmlValidateElementDecl (<GTKDOCLINK
3969HREF="XMLVALIDCTXTPTR"
3970>xmlValidCtxtPtr</GTKDOCLINK
3971> ctxt,
3972 <A
3973HREF="gnome-xml-tree.html#XMLDOCPTR"
3974>xmlDocPtr</A
3975> doc,
3976 <A
3977HREF="gnome-xml-tree.html#XMLELEMENTPTR"
3978>xmlElementPtr</A
3979> elem);</PRE
3980></TD
3981></TR
3982></TABLE
3983><P
3984>Try to validate a single element definition
3985basically it does the following checks as described by the
3986XML-1.0 recommendation:
3987- [ VC: One ID per Element Type ]
3988- [ VC: No Duplicate Types ]
3989- [ VC: Unique Element Type Declaration ]</P
3990><P
3991></P
3992><DIV
3993CLASS="INFORMALTABLE"
3994><P
3995></P
3996><TABLE
3997BORDER="0"
3998WIDTH="100%"
3999BGCOLOR="#FFD0D0"
4000CELLSPACING="0"
4001CELLPADDING="4"
4002CLASS="CALSTABLE"
4003><TR
4004><TD
4005WIDTH="20%"
4006ALIGN="RIGHT"
4007VALIGN="TOP"
4008><TT
4009CLASS="PARAMETER"
4010><I
4011>ctxt</I
4012></TT
4013>&nbsp;:</TD
4014><TD
4015WIDTH="80%"
4016ALIGN="LEFT"
4017VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004018>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004019></TR
4020><TR
4021><TD
4022WIDTH="20%"
4023ALIGN="RIGHT"
4024VALIGN="TOP"
4025><TT
4026CLASS="PARAMETER"
4027><I
4028>doc</I
4029></TT
4030>&nbsp;:</TD
4031><TD
4032WIDTH="80%"
4033ALIGN="LEFT"
4034VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004035>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004036></TR
4037><TR
4038><TD
4039WIDTH="20%"
4040ALIGN="RIGHT"
4041VALIGN="TOP"
4042><TT
4043CLASS="PARAMETER"
4044><I
4045>elem</I
4046></TT
4047>&nbsp;:</TD
4048><TD
4049WIDTH="80%"
4050ALIGN="LEFT"
4051VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004052>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004053></TR
4054><TR
4055><TD
4056WIDTH="20%"
4057ALIGN="RIGHT"
4058VALIGN="TOP"
4059><I
4060CLASS="EMPHASIS"
4061>Returns</I
4062> :</TD
4063><TD
4064WIDTH="80%"
4065ALIGN="LEFT"
4066VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004067>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004068></TR
4069></TABLE
4070><P
4071></P
4072></DIV
4073></DIV
4074><HR><DIV
4075CLASS="REFSECT2"
4076><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00004077NAME="AEN6543"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004078></A
4079><H3
4080><A
4081NAME="XMLVALIDATEATTRIBUTEDECL"
4082></A
4083>xmlValidateAttributeDecl ()</H3
4084><TABLE
4085BORDER="0"
4086BGCOLOR="#D6E8FF"
4087WIDTH="100%"
4088CELLPADDING="6"
4089><TR
4090><TD
4091><PRE
4092CLASS="PROGRAMLISTING"
4093>int xmlValidateAttributeDecl (<GTKDOCLINK
4094HREF="XMLVALIDCTXTPTR"
4095>xmlValidCtxtPtr</GTKDOCLINK
4096> ctxt,
4097 <A
4098HREF="gnome-xml-tree.html#XMLDOCPTR"
4099>xmlDocPtr</A
4100> doc,
4101 <A
4102HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
4103>xmlAttributePtr</A
4104> attr);</PRE
4105></TD
4106></TR
4107></TABLE
4108><P
4109>Try to validate a single attribute definition
4110basically it does the following checks as described by the
4111XML-1.0 recommendation:
4112- [ VC: Attribute Default Legal ]
4113- [ VC: Enumeration ]
4114- [ VC: ID Attribute Default ]</P
4115><P
4116>The ID/IDREF uniqueness and matching are done separately</P
4117><P
4118></P
4119><DIV
4120CLASS="INFORMALTABLE"
4121><P
4122></P
4123><TABLE
4124BORDER="0"
4125WIDTH="100%"
4126BGCOLOR="#FFD0D0"
4127CELLSPACING="0"
4128CELLPADDING="4"
4129CLASS="CALSTABLE"
4130><TR
4131><TD
4132WIDTH="20%"
4133ALIGN="RIGHT"
4134VALIGN="TOP"
4135><TT
4136CLASS="PARAMETER"
4137><I
4138>ctxt</I
4139></TT
4140>&nbsp;:</TD
4141><TD
4142WIDTH="80%"
4143ALIGN="LEFT"
4144VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004145>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004146></TR
4147><TR
4148><TD
4149WIDTH="20%"
4150ALIGN="RIGHT"
4151VALIGN="TOP"
4152><TT
4153CLASS="PARAMETER"
4154><I
4155>doc</I
4156></TT
4157>&nbsp;:</TD
4158><TD
4159WIDTH="80%"
4160ALIGN="LEFT"
4161VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004162>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004163></TR
4164><TR
4165><TD
4166WIDTH="20%"
4167ALIGN="RIGHT"
4168VALIGN="TOP"
4169><TT
4170CLASS="PARAMETER"
4171><I
4172>attr</I
4173></TT
4174>&nbsp;:</TD
4175><TD
4176WIDTH="80%"
4177ALIGN="LEFT"
4178VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004179>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004180></TR
4181><TR
4182><TD
4183WIDTH="20%"
4184ALIGN="RIGHT"
4185VALIGN="TOP"
4186><I
4187CLASS="EMPHASIS"
4188>Returns</I
4189> :</TD
4190><TD
4191WIDTH="80%"
4192ALIGN="LEFT"
4193VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004194>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004195></TR
4196></TABLE
4197><P
4198></P
4199></DIV
4200></DIV
4201><HR><DIV
4202CLASS="REFSECT2"
4203><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00004204NAME="AEN6574"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004205></A
4206><H3
4207><A
4208NAME="XMLVALIDATEATTRIBUTEVALUE"
4209></A
4210>xmlValidateAttributeValue ()</H3
4211><TABLE
4212BORDER="0"
4213BGCOLOR="#D6E8FF"
4214WIDTH="100%"
4215CELLPADDING="6"
4216><TR
4217><TD
4218><PRE
4219CLASS="PROGRAMLISTING"
4220>int xmlValidateAttributeValue (<A
4221HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
4222>xmlAttributeType</A
4223> type,
4224 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004225HREF="gnome-xml-tree.html#XMLCHAR"
4226>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004227> *value);</PRE
4228></TD
4229></TR
4230></TABLE
4231><P
4232>Validate that the given attribute value match the proper production</P
4233><P
4234>[ VC: ID ]
4235Values of type ID must match the Name production....</P
4236><P
4237>[ VC: IDREF ]
4238Values of type IDREF must match the Name production, and values
4239of type IDREFS must match Names ...</P
4240><P
4241>[ VC: Entity Name ]
4242Values of type ENTITY must match the Name production, values
4243of type ENTITIES must match Names ...</P
4244><P
4245>[ VC: Name Token ]
4246Values of type NMTOKEN must match the Nmtoken production; values
4247of type NMTOKENS must match Nmtokens.</P
4248><P
4249></P
4250><DIV
4251CLASS="INFORMALTABLE"
4252><P
4253></P
4254><TABLE
4255BORDER="0"
4256WIDTH="100%"
4257BGCOLOR="#FFD0D0"
4258CELLSPACING="0"
4259CELLPADDING="4"
4260CLASS="CALSTABLE"
4261><TR
4262><TD
4263WIDTH="20%"
4264ALIGN="RIGHT"
4265VALIGN="TOP"
4266><TT
4267CLASS="PARAMETER"
4268><I
4269>type</I
4270></TT
4271>&nbsp;:</TD
4272><TD
4273WIDTH="80%"
4274ALIGN="LEFT"
4275VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004276>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004277></TR
4278><TR
4279><TD
4280WIDTH="20%"
4281ALIGN="RIGHT"
4282VALIGN="TOP"
4283><TT
4284CLASS="PARAMETER"
4285><I
4286>value</I
4287></TT
4288>&nbsp;:</TD
4289><TD
4290WIDTH="80%"
4291ALIGN="LEFT"
4292VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004293>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004294></TR
4295><TR
4296><TD
4297WIDTH="20%"
4298ALIGN="RIGHT"
4299VALIGN="TOP"
4300><I
4301CLASS="EMPHASIS"
4302>Returns</I
4303> :</TD
4304><TD
4305WIDTH="80%"
4306ALIGN="LEFT"
4307VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004308>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004309></TR
4310></TABLE
4311><P
4312></P
4313></DIV
4314></DIV
4315><HR><DIV
4316CLASS="REFSECT2"
4317><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00004318NAME="AEN6603"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004319></A
4320><H3
4321><A
4322NAME="XMLVALIDATENOTATIONDECL"
4323></A
4324>xmlValidateNotationDecl ()</H3
4325><TABLE
4326BORDER="0"
4327BGCOLOR="#D6E8FF"
4328WIDTH="100%"
4329CELLPADDING="6"
4330><TR
4331><TD
4332><PRE
4333CLASS="PROGRAMLISTING"
4334>int xmlValidateNotationDecl (<GTKDOCLINK
4335HREF="XMLVALIDCTXTPTR"
4336>xmlValidCtxtPtr</GTKDOCLINK
4337> ctxt,
4338 <A
4339HREF="gnome-xml-tree.html#XMLDOCPTR"
4340>xmlDocPtr</A
4341> doc,
4342 <A
4343HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
4344>xmlNotationPtr</A
4345> nota);</PRE
4346></TD
4347></TR
4348></TABLE
4349><P
4350>Try to validate a single notation definition
4351basically it does the following checks as described by the
4352XML-1.0 recommendation:
4353- it seems that no validity constraing exist on notation declarations
4354But this function get called anyway ...</P
4355><P
4356></P
4357><DIV
4358CLASS="INFORMALTABLE"
4359><P
4360></P
4361><TABLE
4362BORDER="0"
4363WIDTH="100%"
4364BGCOLOR="#FFD0D0"
4365CELLSPACING="0"
4366CELLPADDING="4"
4367CLASS="CALSTABLE"
4368><TR
4369><TD
4370WIDTH="20%"
4371ALIGN="RIGHT"
4372VALIGN="TOP"
4373><TT
4374CLASS="PARAMETER"
4375><I
4376>ctxt</I
4377></TT
4378>&nbsp;:</TD
4379><TD
4380WIDTH="80%"
4381ALIGN="LEFT"
4382VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004383>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004384></TR
4385><TR
4386><TD
4387WIDTH="20%"
4388ALIGN="RIGHT"
4389VALIGN="TOP"
4390><TT
4391CLASS="PARAMETER"
4392><I
4393>doc</I
4394></TT
4395>&nbsp;:</TD
4396><TD
4397WIDTH="80%"
4398ALIGN="LEFT"
4399VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004400>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004401></TR
4402><TR
4403><TD
4404WIDTH="20%"
4405ALIGN="RIGHT"
4406VALIGN="TOP"
4407><TT
4408CLASS="PARAMETER"
4409><I
4410>nota</I
4411></TT
4412>&nbsp;:</TD
4413><TD
4414WIDTH="80%"
4415ALIGN="LEFT"
4416VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004417>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004418></TR
4419><TR
4420><TD
4421WIDTH="20%"
4422ALIGN="RIGHT"
4423VALIGN="TOP"
4424><I
4425CLASS="EMPHASIS"
4426>Returns</I
4427> :</TD
4428><TD
4429WIDTH="80%"
4430ALIGN="LEFT"
4431VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004432>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004433></TR
4434></TABLE
4435><P
4436></P
4437></DIV
4438></DIV
4439><HR><DIV
4440CLASS="REFSECT2"
4441><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00004442NAME="AEN6633"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004443></A
4444><H3
4445><A
4446NAME="XMLVALIDATEDTD"
4447></A
4448>xmlValidateDtd ()</H3
4449><TABLE
4450BORDER="0"
4451BGCOLOR="#D6E8FF"
4452WIDTH="100%"
4453CELLPADDING="6"
4454><TR
4455><TD
4456><PRE
4457CLASS="PROGRAMLISTING"
4458>int xmlValidateDtd (<GTKDOCLINK
4459HREF="XMLVALIDCTXTPTR"
4460>xmlValidCtxtPtr</GTKDOCLINK
4461> ctxt,
4462 <A
4463HREF="gnome-xml-tree.html#XMLDOCPTR"
4464>xmlDocPtr</A
4465> doc,
4466 <A
4467HREF="gnome-xml-tree.html#XMLDTDPTR"
4468>xmlDtdPtr</A
4469> dtd);</PRE
4470></TD
4471></TR
4472></TABLE
4473><P
Daniel Veillard71b656e2000-01-05 14:46:17 +00004474>Try to validate the dtd instance</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004475><P
4476>basically it does check all the definitions in the DtD.</P
4477><P
4478></P
4479><DIV
4480CLASS="INFORMALTABLE"
4481><P
4482></P
4483><TABLE
4484BORDER="0"
4485WIDTH="100%"
4486BGCOLOR="#FFD0D0"
4487CELLSPACING="0"
4488CELLPADDING="4"
4489CLASS="CALSTABLE"
4490><TR
4491><TD
4492WIDTH="20%"
4493ALIGN="RIGHT"
4494VALIGN="TOP"
4495><TT
4496CLASS="PARAMETER"
4497><I
4498>ctxt</I
4499></TT
4500>&nbsp;:</TD
4501><TD
4502WIDTH="80%"
4503ALIGN="LEFT"
4504VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004505>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004506></TR
4507><TR
4508><TD
4509WIDTH="20%"
4510ALIGN="RIGHT"
4511VALIGN="TOP"
4512><TT
4513CLASS="PARAMETER"
4514><I
4515>doc</I
4516></TT
4517>&nbsp;:</TD
4518><TD
4519WIDTH="80%"
4520ALIGN="LEFT"
4521VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004522>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004523></TR
4524><TR
4525><TD
4526WIDTH="20%"
4527ALIGN="RIGHT"
4528VALIGN="TOP"
4529><TT
4530CLASS="PARAMETER"
4531><I
4532>dtd</I
4533></TT
4534>&nbsp;:</TD
4535><TD
4536WIDTH="80%"
4537ALIGN="LEFT"
4538VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004539>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004540></TR
4541><TR
4542><TD
4543WIDTH="20%"
4544ALIGN="RIGHT"
4545VALIGN="TOP"
4546><I
4547CLASS="EMPHASIS"
4548>Returns</I
4549> :</TD
4550><TD
4551WIDTH="80%"
4552ALIGN="LEFT"
4553VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004554>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004555></TR
4556></TABLE
4557><P
4558></P
4559></DIV
4560></DIV
4561><HR><DIV
4562CLASS="REFSECT2"
4563><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00004564NAME="AEN6664"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004565></A
4566><H3
4567><A
4568NAME="XMLVALIDATEDOCUMENT"
4569></A
4570>xmlValidateDocument ()</H3
4571><TABLE
4572BORDER="0"
4573BGCOLOR="#D6E8FF"
4574WIDTH="100%"
4575CELLPADDING="6"
4576><TR
4577><TD
4578><PRE
4579CLASS="PROGRAMLISTING"
4580>int xmlValidateDocument (<GTKDOCLINK
4581HREF="XMLVALIDCTXTPTR"
4582>xmlValidCtxtPtr</GTKDOCLINK
4583> ctxt,
4584 <A
4585HREF="gnome-xml-tree.html#XMLDOCPTR"
4586>xmlDocPtr</A
4587> doc);</PRE
4588></TD
4589></TR
4590></TABLE
4591><P
4592>Try to validate the document instance</P
4593><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004594>basically it does the all the checks described by the XML Rec
Daniel Veillardb05deb71999-08-10 19:04:08 +00004595i.e. validates the internal and external subset (if present)
4596and validate the document tree.</P
4597><P
4598></P
4599><DIV
4600CLASS="INFORMALTABLE"
4601><P
4602></P
4603><TABLE
4604BORDER="0"
4605WIDTH="100%"
4606BGCOLOR="#FFD0D0"
4607CELLSPACING="0"
4608CELLPADDING="4"
4609CLASS="CALSTABLE"
4610><TR
4611><TD
4612WIDTH="20%"
4613ALIGN="RIGHT"
4614VALIGN="TOP"
4615><TT
4616CLASS="PARAMETER"
4617><I
4618>ctxt</I
4619></TT
4620>&nbsp;:</TD
4621><TD
4622WIDTH="80%"
4623ALIGN="LEFT"
4624VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004625>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004626></TR
4627><TR
4628><TD
4629WIDTH="20%"
4630ALIGN="RIGHT"
4631VALIGN="TOP"
4632><TT
4633CLASS="PARAMETER"
4634><I
4635>doc</I
4636></TT
4637>&nbsp;:</TD
4638><TD
4639WIDTH="80%"
4640ALIGN="LEFT"
4641VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004642>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004643></TR
4644><TR
4645><TD
4646WIDTH="20%"
4647ALIGN="RIGHT"
4648VALIGN="TOP"
4649><I
4650CLASS="EMPHASIS"
4651>Returns</I
4652> :</TD
4653><TD
4654WIDTH="80%"
4655ALIGN="LEFT"
4656VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004657>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004658></TR
4659></TABLE
4660><P
4661></P
4662></DIV
4663></DIV
4664><HR><DIV
4665CLASS="REFSECT2"
4666><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00004667NAME="AEN6690"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004668></A
4669><H3
4670><A
4671NAME="XMLVALIDATEELEMENT"
4672></A
4673>xmlValidateElement ()</H3
4674><TABLE
4675BORDER="0"
4676BGCOLOR="#D6E8FF"
4677WIDTH="100%"
4678CELLPADDING="6"
4679><TR
4680><TD
4681><PRE
4682CLASS="PROGRAMLISTING"
4683>int xmlValidateElement (<GTKDOCLINK
4684HREF="XMLVALIDCTXTPTR"
4685>xmlValidCtxtPtr</GTKDOCLINK
4686> ctxt,
4687 <A
4688HREF="gnome-xml-tree.html#XMLDOCPTR"
4689>xmlDocPtr</A
4690> doc,
4691 <A
4692HREF="gnome-xml-tree.html#XMLNODEPTR"
4693>xmlNodePtr</A
4694> elem);</PRE
4695></TD
4696></TR
4697></TABLE
4698><P
4699>Try to validate the subtree under an element</P
4700><P
4701></P
4702><DIV
4703CLASS="INFORMALTABLE"
4704><P
4705></P
4706><TABLE
4707BORDER="0"
4708WIDTH="100%"
4709BGCOLOR="#FFD0D0"
4710CELLSPACING="0"
4711CELLPADDING="4"
4712CLASS="CALSTABLE"
4713><TR
4714><TD
4715WIDTH="20%"
4716ALIGN="RIGHT"
4717VALIGN="TOP"
4718><TT
4719CLASS="PARAMETER"
4720><I
4721>ctxt</I
4722></TT
4723>&nbsp;:</TD
4724><TD
4725WIDTH="80%"
4726ALIGN="LEFT"
4727VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004728>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004729></TR
4730><TR
4731><TD
4732WIDTH="20%"
4733ALIGN="RIGHT"
4734VALIGN="TOP"
4735><TT
4736CLASS="PARAMETER"
4737><I
4738>doc</I
4739></TT
4740>&nbsp;:</TD
4741><TD
4742WIDTH="80%"
4743ALIGN="LEFT"
4744VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004745>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004746></TR
4747><TR
4748><TD
4749WIDTH="20%"
4750ALIGN="RIGHT"
4751VALIGN="TOP"
4752><TT
4753CLASS="PARAMETER"
4754><I
4755>elem</I
4756></TT
4757>&nbsp;:</TD
4758><TD
4759WIDTH="80%"
4760ALIGN="LEFT"
4761VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004762>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004763></TR
4764><TR
4765><TD
4766WIDTH="20%"
4767ALIGN="RIGHT"
4768VALIGN="TOP"
4769><I
4770CLASS="EMPHASIS"
4771>Returns</I
4772> :</TD
4773><TD
4774WIDTH="80%"
4775ALIGN="LEFT"
4776VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004777>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004778></TR
4779></TABLE
4780><P
4781></P
4782></DIV
4783></DIV
4784><HR><DIV
4785CLASS="REFSECT2"
4786><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00004787NAME="AEN6720"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004788></A
4789><H3
4790><A
4791NAME="XMLVALIDATEONEELEMENT"
4792></A
4793>xmlValidateOneElement ()</H3
4794><TABLE
4795BORDER="0"
4796BGCOLOR="#D6E8FF"
4797WIDTH="100%"
4798CELLPADDING="6"
4799><TR
4800><TD
4801><PRE
4802CLASS="PROGRAMLISTING"
4803>int xmlValidateOneElement (<GTKDOCLINK
4804HREF="XMLVALIDCTXTPTR"
4805>xmlValidCtxtPtr</GTKDOCLINK
4806> ctxt,
4807 <A
4808HREF="gnome-xml-tree.html#XMLDOCPTR"
4809>xmlDocPtr</A
4810> doc,
4811 <A
4812HREF="gnome-xml-tree.html#XMLNODEPTR"
4813>xmlNodePtr</A
4814> elem);</PRE
4815></TD
4816></TR
4817></TABLE
4818><P
4819>Try to validate a single element and it's attributes,
4820basically it does the following checks as described by the
4821XML-1.0 recommendation:
4822- [ VC: Element Valid ]
4823- [ VC: Required Attribute ]
4824Then call <A
4825HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE"
4826>xmlValidateOneAttribute</A
4827>() for each attribute present.</P
4828><P
4829>The ID/IDREF checkings are done separately</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"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004858>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004859></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"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004875>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004876></TR
4877><TR
4878><TD
4879WIDTH="20%"
4880ALIGN="RIGHT"
4881VALIGN="TOP"
4882><TT
4883CLASS="PARAMETER"
4884><I
4885>elem</I
4886></TT
4887>&nbsp;:</TD
4888><TD
4889WIDTH="80%"
4890ALIGN="LEFT"
4891VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004892>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004893></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"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004907>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004908></TR
4909></TABLE
4910><P
4911></P
4912></DIV
4913></DIV
4914><HR><DIV
4915CLASS="REFSECT2"
4916><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00004917NAME="AEN6752"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004918></A
4919><H3
4920><A
4921NAME="XMLVALIDATEONEATTRIBUTE"
4922></A
4923>xmlValidateOneAttribute ()</H3
4924><TABLE
4925BORDER="0"
4926BGCOLOR="#D6E8FF"
4927WIDTH="100%"
4928CELLPADDING="6"
4929><TR
4930><TD
4931><PRE
4932CLASS="PROGRAMLISTING"
4933>int xmlValidateOneAttribute (<GTKDOCLINK
4934HREF="XMLVALIDCTXTPTR"
4935>xmlValidCtxtPtr</GTKDOCLINK
4936> ctxt,
4937 <A
4938HREF="gnome-xml-tree.html#XMLDOCPTR"
4939>xmlDocPtr</A
4940> doc,
4941 <A
4942HREF="gnome-xml-tree.html#XMLNODEPTR"
4943>xmlNodePtr</A
4944> elem,
4945 <A
4946HREF="gnome-xml-tree.html#XMLATTRPTR"
4947>xmlAttrPtr</A
4948> attr,
4949 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004950HREF="gnome-xml-tree.html#XMLCHAR"
4951>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004952> *value);</PRE
4953></TD
4954></TR
4955></TABLE
4956><P
4957>Try to validate a single attribute for an element
4958basically it * does the following checks as described by the
4959XML-1.0 recommendation:
4960- [ VC: Attribute Value Type ]
4961- [ VC: Fixed Attribute Default ]
4962- [ VC: Entity Name ]
4963- [ VC: Name Token ]
4964- [ VC: ID ]
4965- [ VC: IDREF ]
4966- [ VC: Entity Name ]
4967- [ VC: Notation Attributes ]</P
4968><P
4969>The ID/IDREF uniqueness and matching are done separately</P
4970><P
4971></P
4972><DIV
4973CLASS="INFORMALTABLE"
4974><P
4975></P
4976><TABLE
4977BORDER="0"
4978WIDTH="100%"
4979BGCOLOR="#FFD0D0"
4980CELLSPACING="0"
4981CELLPADDING="4"
4982CLASS="CALSTABLE"
4983><TR
4984><TD
4985WIDTH="20%"
4986ALIGN="RIGHT"
4987VALIGN="TOP"
4988><TT
4989CLASS="PARAMETER"
4990><I
4991>ctxt</I
4992></TT
4993>&nbsp;:</TD
4994><TD
4995WIDTH="80%"
4996ALIGN="LEFT"
4997VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00004998>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004999></TR
5000><TR
5001><TD
5002WIDTH="20%"
5003ALIGN="RIGHT"
5004VALIGN="TOP"
5005><TT
5006CLASS="PARAMETER"
5007><I
5008>doc</I
5009></TT
5010>&nbsp;:</TD
5011><TD
5012WIDTH="80%"
5013ALIGN="LEFT"
5014VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005015>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005016></TR
5017><TR
5018><TD
5019WIDTH="20%"
5020ALIGN="RIGHT"
5021VALIGN="TOP"
5022><TT
5023CLASS="PARAMETER"
5024><I
5025>elem</I
5026></TT
5027>&nbsp;:</TD
5028><TD
5029WIDTH="80%"
5030ALIGN="LEFT"
5031VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005032>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005033></TR
5034><TR
5035><TD
5036WIDTH="20%"
5037ALIGN="RIGHT"
5038VALIGN="TOP"
5039><TT
5040CLASS="PARAMETER"
5041><I
5042>attr</I
5043></TT
5044>&nbsp;:</TD
5045><TD
5046WIDTH="80%"
5047ALIGN="LEFT"
5048VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005049>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005050></TR
5051><TR
5052><TD
5053WIDTH="20%"
5054ALIGN="RIGHT"
5055VALIGN="TOP"
5056><TT
5057CLASS="PARAMETER"
5058><I
5059>value</I
5060></TT
5061>&nbsp;:</TD
5062><TD
5063WIDTH="80%"
5064ALIGN="LEFT"
5065VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005066>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005067></TR
5068><TR
5069><TD
5070WIDTH="20%"
5071ALIGN="RIGHT"
5072VALIGN="TOP"
5073><I
5074CLASS="EMPHASIS"
5075>Returns</I
5076> :</TD
5077><TD
5078WIDTH="80%"
5079ALIGN="LEFT"
5080VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005081>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005082></TR
5083></TABLE
5084><P
5085></P
5086></DIV
5087></DIV
5088><HR><DIV
5089CLASS="REFSECT2"
5090><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00005091NAME="AEN6793"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005092></A
5093><H3
5094><A
5095NAME="XMLVALIDATEDOCUMENTFINAL"
5096></A
5097>xmlValidateDocumentFinal ()</H3
5098><TABLE
5099BORDER="0"
5100BGCOLOR="#D6E8FF"
5101WIDTH="100%"
5102CELLPADDING="6"
5103><TR
5104><TD
5105><PRE
5106CLASS="PROGRAMLISTING"
5107>int xmlValidateDocumentFinal (<GTKDOCLINK
5108HREF="XMLVALIDCTXTPTR"
5109>xmlValidCtxtPtr</GTKDOCLINK
5110> ctxt,
5111 <A
5112HREF="gnome-xml-tree.html#XMLDOCPTR"
5113>xmlDocPtr</A
5114> doc);</PRE
5115></TD
5116></TR
5117></TABLE
5118><P
5119>Does the final step for the document validation once all the
5120incremental validation steps have been completed</P
5121><P
5122>basically it does the following checks described by the XML Rec</P
5123><P
5124></P
5125><DIV
5126CLASS="INFORMALTABLE"
5127><P
5128></P
5129><TABLE
5130BORDER="0"
5131WIDTH="100%"
5132BGCOLOR="#FFD0D0"
5133CELLSPACING="0"
5134CELLPADDING="4"
5135CLASS="CALSTABLE"
5136><TR
5137><TD
5138WIDTH="20%"
5139ALIGN="RIGHT"
5140VALIGN="TOP"
5141><TT
5142CLASS="PARAMETER"
5143><I
5144>ctxt</I
5145></TT
5146>&nbsp;:</TD
5147><TD
5148WIDTH="80%"
5149ALIGN="LEFT"
5150VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005151>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005152></TR
5153><TR
5154><TD
5155WIDTH="20%"
5156ALIGN="RIGHT"
5157VALIGN="TOP"
5158><TT
5159CLASS="PARAMETER"
5160><I
5161>doc</I
5162></TT
5163>&nbsp;:</TD
5164><TD
5165WIDTH="80%"
5166ALIGN="LEFT"
5167VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005168>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005169></TR
5170><TR
5171><TD
5172WIDTH="20%"
5173ALIGN="RIGHT"
5174VALIGN="TOP"
5175><I
5176CLASS="EMPHASIS"
5177>Returns</I
5178> :</TD
5179><TD
5180WIDTH="80%"
5181ALIGN="LEFT"
5182VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005183>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005184></TR
5185></TABLE
5186><P
5187></P
5188></DIV
5189></DIV
5190><HR><DIV
5191CLASS="REFSECT2"
5192><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00005193NAME="AEN6819"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005194></A
5195><H3
5196><A
5197NAME="XMLVALIDATENOTATIONUSE"
5198></A
5199>xmlValidateNotationUse ()</H3
5200><TABLE
5201BORDER="0"
5202BGCOLOR="#D6E8FF"
5203WIDTH="100%"
5204CELLPADDING="6"
5205><TR
5206><TD
5207><PRE
5208CLASS="PROGRAMLISTING"
5209>int xmlValidateNotationUse (<GTKDOCLINK
5210HREF="XMLVALIDCTXTPTR"
5211>xmlValidCtxtPtr</GTKDOCLINK
5212> ctxt,
5213 <A
5214HREF="gnome-xml-tree.html#XMLDOCPTR"
5215>xmlDocPtr</A
5216> doc,
5217 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005218HREF="gnome-xml-tree.html#XMLCHAR"
5219>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005220> *notationName);</PRE
5221></TD
5222></TR
5223></TABLE
5224><P
5225>Validate that the given mame match a notation declaration.
5226- [ VC: Notation Declared ]</P
5227><P
5228></P
5229><DIV
5230CLASS="INFORMALTABLE"
5231><P
5232></P
5233><TABLE
5234BORDER="0"
5235WIDTH="100%"
5236BGCOLOR="#FFD0D0"
5237CELLSPACING="0"
5238CELLPADDING="4"
5239CLASS="CALSTABLE"
5240><TR
5241><TD
5242WIDTH="20%"
5243ALIGN="RIGHT"
5244VALIGN="TOP"
5245><TT
5246CLASS="PARAMETER"
5247><I
5248>ctxt</I
5249></TT
5250>&nbsp;:</TD
5251><TD
5252WIDTH="80%"
5253ALIGN="LEFT"
5254VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005255>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005256></TR
5257><TR
5258><TD
5259WIDTH="20%"
5260ALIGN="RIGHT"
5261VALIGN="TOP"
5262><TT
5263CLASS="PARAMETER"
5264><I
5265>doc</I
5266></TT
5267>&nbsp;:</TD
5268><TD
5269WIDTH="80%"
5270ALIGN="LEFT"
5271VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005272>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005273></TR
5274><TR
5275><TD
5276WIDTH="20%"
5277ALIGN="RIGHT"
5278VALIGN="TOP"
5279><TT
5280CLASS="PARAMETER"
5281><I
5282>notationName</I
5283></TT
5284>&nbsp;:</TD
5285><TD
5286WIDTH="80%"
5287ALIGN="LEFT"
5288VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005289>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005290></TR
5291><TR
5292><TD
5293WIDTH="20%"
5294ALIGN="RIGHT"
5295VALIGN="TOP"
5296><I
5297CLASS="EMPHASIS"
5298>Returns</I
5299> :</TD
5300><TD
5301WIDTH="80%"
5302ALIGN="LEFT"
5303VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005304>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005305></TR
5306></TABLE
5307><P
5308></P
5309></DIV
5310></DIV
5311><HR><DIV
5312CLASS="REFSECT2"
5313><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00005314NAME="AEN6849"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005315></A
5316><H3
5317><A
5318NAME="XMLISMIXEDELEMENT"
5319></A
5320>xmlIsMixedElement ()</H3
5321><TABLE
5322BORDER="0"
5323BGCOLOR="#D6E8FF"
5324WIDTH="100%"
5325CELLPADDING="6"
5326><TR
5327><TD
5328><PRE
5329CLASS="PROGRAMLISTING"
5330>int xmlIsMixedElement (<A
5331HREF="gnome-xml-tree.html#XMLDOCPTR"
5332>xmlDocPtr</A
5333> doc,
5334 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005335HREF="gnome-xml-tree.html#XMLCHAR"
5336>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005337> *name);</PRE
5338></TD
5339></TR
5340></TABLE
5341><P
5342>Search in the DtDs whether an element accept Mixed content (or ANY)
5343basically if it is supposed to accept text childs</P
5344><P
5345></P
5346><DIV
5347CLASS="INFORMALTABLE"
5348><P
5349></P
5350><TABLE
5351BORDER="0"
5352WIDTH="100%"
5353BGCOLOR="#FFD0D0"
5354CELLSPACING="0"
5355CELLPADDING="4"
5356CLASS="CALSTABLE"
5357><TR
5358><TD
5359WIDTH="20%"
5360ALIGN="RIGHT"
5361VALIGN="TOP"
5362><TT
5363CLASS="PARAMETER"
5364><I
5365>doc</I
5366></TT
5367>&nbsp;:</TD
5368><TD
5369WIDTH="80%"
5370ALIGN="LEFT"
5371VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005372>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005373></TR
5374><TR
5375><TD
5376WIDTH="20%"
5377ALIGN="RIGHT"
5378VALIGN="TOP"
5379><TT
5380CLASS="PARAMETER"
5381><I
5382>name</I
5383></TT
5384>&nbsp;:</TD
5385><TD
5386WIDTH="80%"
5387ALIGN="LEFT"
5388VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005389>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005390></TR
5391><TR
5392><TD
5393WIDTH="20%"
5394ALIGN="RIGHT"
5395VALIGN="TOP"
5396><I
5397CLASS="EMPHASIS"
5398>Returns</I
5399> :</TD
5400><TD
5401WIDTH="80%"
5402ALIGN="LEFT"
5403VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005404>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005405></TR
5406></TABLE
5407><P
5408></P
5409></DIV
5410></DIV
5411><HR><DIV
5412CLASS="REFSECT2"
5413><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00005414NAME="AEN6874"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005415></A
5416><H3
5417><A
5418NAME="XMLGETDTDATTRDESC"
5419></A
5420>xmlGetDtdAttrDesc ()</H3
5421><TABLE
5422BORDER="0"
5423BGCOLOR="#D6E8FF"
5424WIDTH="100%"
5425CELLPADDING="6"
5426><TR
5427><TD
5428><PRE
5429CLASS="PROGRAMLISTING"
5430><A
5431HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
5432>xmlAttributePtr</A
5433> xmlGetDtdAttrDesc (<A
5434HREF="gnome-xml-tree.html#XMLDTDPTR"
5435>xmlDtdPtr</A
5436> dtd,
5437 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005438HREF="gnome-xml-tree.html#XMLCHAR"
5439>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005440> *elem,
5441 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005442HREF="gnome-xml-tree.html#XMLCHAR"
5443>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005444> *name);</PRE
5445></TD
5446></TR
5447></TABLE
5448><P
5449>Search the Dtd for the description of this attribute on
5450this element.</P
5451><P
5452></P
5453><DIV
5454CLASS="INFORMALTABLE"
5455><P
5456></P
5457><TABLE
5458BORDER="0"
5459WIDTH="100%"
5460BGCOLOR="#FFD0D0"
5461CELLSPACING="0"
5462CELLPADDING="4"
5463CLASS="CALSTABLE"
5464><TR
5465><TD
5466WIDTH="20%"
5467ALIGN="RIGHT"
5468VALIGN="TOP"
5469><TT
5470CLASS="PARAMETER"
5471><I
5472>dtd</I
5473></TT
5474>&nbsp;:</TD
5475><TD
5476WIDTH="80%"
5477ALIGN="LEFT"
5478VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005479>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005480></TR
5481><TR
5482><TD
5483WIDTH="20%"
5484ALIGN="RIGHT"
5485VALIGN="TOP"
5486><TT
5487CLASS="PARAMETER"
5488><I
5489>elem</I
5490></TT
5491>&nbsp;:</TD
5492><TD
5493WIDTH="80%"
5494ALIGN="LEFT"
5495VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005496>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005497></TR
5498><TR
5499><TD
5500WIDTH="20%"
5501ALIGN="RIGHT"
5502VALIGN="TOP"
5503><TT
5504CLASS="PARAMETER"
5505><I
5506>name</I
5507></TT
5508>&nbsp;:</TD
5509><TD
5510WIDTH="80%"
5511ALIGN="LEFT"
5512VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005513>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005514></TR
5515><TR
5516><TD
5517WIDTH="20%"
5518ALIGN="RIGHT"
5519VALIGN="TOP"
5520><I
5521CLASS="EMPHASIS"
5522>Returns</I
5523> :</TD
5524><TD
5525WIDTH="80%"
5526ALIGN="LEFT"
5527VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005528>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005529></TR
5530></TABLE
5531><P
5532></P
5533></DIV
5534></DIV
5535><HR><DIV
5536CLASS="REFSECT2"
5537><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00005538NAME="AEN6905"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005539></A
5540><H3
5541><A
5542NAME="XMLGETDTDNOTATIONDESC"
5543></A
5544>xmlGetDtdNotationDesc ()</H3
5545><TABLE
5546BORDER="0"
5547BGCOLOR="#D6E8FF"
5548WIDTH="100%"
5549CELLPADDING="6"
5550><TR
5551><TD
5552><PRE
5553CLASS="PROGRAMLISTING"
5554><A
5555HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
5556>xmlNotationPtr</A
5557> xmlGetDtdNotationDesc (<A
5558HREF="gnome-xml-tree.html#XMLDTDPTR"
5559>xmlDtdPtr</A
5560> dtd,
5561 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005562HREF="gnome-xml-tree.html#XMLCHAR"
5563>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005564> *name);</PRE
5565></TD
5566></TR
5567></TABLE
5568><P
5569>Search the Dtd for the description of this notation</P
5570><P
5571></P
5572><DIV
5573CLASS="INFORMALTABLE"
5574><P
5575></P
5576><TABLE
5577BORDER="0"
5578WIDTH="100%"
5579BGCOLOR="#FFD0D0"
5580CELLSPACING="0"
5581CELLPADDING="4"
5582CLASS="CALSTABLE"
5583><TR
5584><TD
5585WIDTH="20%"
5586ALIGN="RIGHT"
5587VALIGN="TOP"
5588><TT
5589CLASS="PARAMETER"
5590><I
5591>dtd</I
5592></TT
5593>&nbsp;:</TD
5594><TD
5595WIDTH="80%"
5596ALIGN="LEFT"
5597VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005598>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005599></TR
5600><TR
5601><TD
5602WIDTH="20%"
5603ALIGN="RIGHT"
5604VALIGN="TOP"
5605><TT
5606CLASS="PARAMETER"
5607><I
5608>name</I
5609></TT
5610>&nbsp;:</TD
5611><TD
5612WIDTH="80%"
5613ALIGN="LEFT"
5614VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005615>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005616></TR
5617><TR
5618><TD
5619WIDTH="20%"
5620ALIGN="RIGHT"
5621VALIGN="TOP"
5622><I
5623CLASS="EMPHASIS"
5624>Returns</I
5625> :</TD
5626><TD
5627WIDTH="80%"
5628ALIGN="LEFT"
5629VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005630>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005631></TR
5632></TABLE
5633><P
5634></P
5635></DIV
5636></DIV
5637><HR><DIV
5638CLASS="REFSECT2"
5639><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00005640NAME="AEN6931"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005641></A
5642><H3
5643><A
5644NAME="XMLGETDTDELEMENTDESC"
5645></A
5646>xmlGetDtdElementDesc ()</H3
5647><TABLE
5648BORDER="0"
5649BGCOLOR="#D6E8FF"
5650WIDTH="100%"
5651CELLPADDING="6"
5652><TR
5653><TD
5654><PRE
5655CLASS="PROGRAMLISTING"
5656><A
5657HREF="gnome-xml-tree.html#XMLELEMENTPTR"
5658>xmlElementPtr</A
5659> xmlGetDtdElementDesc (<A
5660HREF="gnome-xml-tree.html#XMLDTDPTR"
5661>xmlDtdPtr</A
5662> dtd,
5663 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005664HREF="gnome-xml-tree.html#XMLCHAR"
5665>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005666> *name);</PRE
5667></TD
5668></TR
5669></TABLE
5670><P
5671>Search the Dtd for the description of this element</P
5672><P
5673></P
5674><DIV
5675CLASS="INFORMALTABLE"
5676><P
5677></P
5678><TABLE
5679BORDER="0"
5680WIDTH="100%"
5681BGCOLOR="#FFD0D0"
5682CELLSPACING="0"
5683CELLPADDING="4"
5684CLASS="CALSTABLE"
5685><TR
5686><TD
5687WIDTH="20%"
5688ALIGN="RIGHT"
5689VALIGN="TOP"
5690><TT
5691CLASS="PARAMETER"
5692><I
5693>dtd</I
5694></TT
5695>&nbsp;:</TD
5696><TD
5697WIDTH="80%"
5698ALIGN="LEFT"
5699VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005700>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005701></TR
5702><TR
5703><TD
5704WIDTH="20%"
5705ALIGN="RIGHT"
5706VALIGN="TOP"
5707><TT
5708CLASS="PARAMETER"
5709><I
5710>name</I
5711></TT
5712>&nbsp;:</TD
5713><TD
5714WIDTH="80%"
5715ALIGN="LEFT"
5716VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005717>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005718></TR
5719><TR
5720><TD
5721WIDTH="20%"
5722ALIGN="RIGHT"
5723VALIGN="TOP"
5724><I
5725CLASS="EMPHASIS"
5726>Returns</I
5727> :</TD
5728><TD
5729WIDTH="80%"
5730ALIGN="LEFT"
5731VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005732>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00005733></TR
5734></TABLE
5735><P
5736></P
5737></DIV
5738></DIV
5739><HR><DIV
5740CLASS="REFSECT2"
5741><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00005742NAME="AEN6957"
Daniel Veillard35008381999-10-25 13:15:52 +00005743></A
5744><H3
5745><A
5746NAME="XMLVALIDGETVALIDELEMENTS"
5747></A
5748>xmlValidGetValidElements ()</H3
5749><TABLE
5750BORDER="0"
5751BGCOLOR="#D6E8FF"
5752WIDTH="100%"
5753CELLPADDING="6"
5754><TR
5755><TD
5756><PRE
5757CLASS="PROGRAMLISTING"
5758>int xmlValidGetValidElements (<A
5759HREF="gnome-xml-tree.html#XMLNODE"
5760>xmlNode</A
5761> *prev,
5762 <A
5763HREF="gnome-xml-tree.html#XMLNODE"
5764>xmlNode</A
5765> *next,
5766 const <A
5767HREF="gnome-xml-tree.html#XMLCHAR"
5768>xmlChar</A
5769> **list,
5770 int max);</PRE
5771></TD
5772></TR
5773></TABLE
5774><P
5775>This function returns the list of authorized children to insert
5776within an existing tree while respecting the validity constraints
5777forced by the Dtd. The insertion point is defined using <TT
5778CLASS="PARAMETER"
5779><I
5780>prev</I
5781></TT
5782> and
5783<TT
5784CLASS="PARAMETER"
5785><I
5786>next</I
5787></TT
5788> in the following ways:
5789to insert before 'node': xmlValidGetValidElements(node-&gt;prev, node, ...
5790to insert next 'node': xmlValidGetValidElements(node, node-&gt;next, ...
5791to replace 'node': xmlValidGetValidElements(node-&gt;prev, node-&gt;next, ...
5792to prepend a child to 'node': xmlValidGetValidElements(NULL, node-&gt;childs,
5793to append a child to 'node': xmlValidGetValidElements(node-&gt;last, NULL, ...</P
5794><P
5795>pointers to the element names are inserted at the beginning of the array
5796and do not need to be freed.</P
5797><P
5798></P
5799><DIV
5800CLASS="INFORMALTABLE"
5801><P
5802></P
5803><TABLE
5804BORDER="0"
5805WIDTH="100%"
5806BGCOLOR="#FFD0D0"
5807CELLSPACING="0"
5808CELLPADDING="4"
5809CLASS="CALSTABLE"
5810><TR
5811><TD
5812WIDTH="20%"
5813ALIGN="RIGHT"
5814VALIGN="TOP"
5815><TT
5816CLASS="PARAMETER"
5817><I
5818>prev</I
5819></TT
5820>&nbsp;:</TD
5821><TD
5822WIDTH="80%"
5823ALIGN="LEFT"
5824VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005825>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00005826></TR
5827><TR
5828><TD
5829WIDTH="20%"
5830ALIGN="RIGHT"
5831VALIGN="TOP"
5832><TT
5833CLASS="PARAMETER"
5834><I
5835>next</I
5836></TT
5837>&nbsp;:</TD
5838><TD
5839WIDTH="80%"
5840ALIGN="LEFT"
5841VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005842>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00005843></TR
5844><TR
5845><TD
5846WIDTH="20%"
5847ALIGN="RIGHT"
5848VALIGN="TOP"
5849><TT
5850CLASS="PARAMETER"
5851><I
5852>list</I
5853></TT
5854>&nbsp;:</TD
5855><TD
5856WIDTH="80%"
5857ALIGN="LEFT"
5858VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005859>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00005860></TR
5861><TR
5862><TD
5863WIDTH="20%"
5864ALIGN="RIGHT"
5865VALIGN="TOP"
5866><TT
5867CLASS="PARAMETER"
5868><I
5869>max</I
5870></TT
5871>&nbsp;:</TD
5872><TD
5873WIDTH="80%"
5874ALIGN="LEFT"
5875VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005876>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00005877></TR
5878><TR
5879><TD
5880WIDTH="20%"
5881ALIGN="RIGHT"
5882VALIGN="TOP"
5883><I
5884CLASS="EMPHASIS"
5885>Returns</I
5886> :</TD
5887><TD
5888WIDTH="80%"
5889ALIGN="LEFT"
5890VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005891>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00005892></TR
5893></TABLE
5894><P
5895></P
5896></DIV
5897></DIV
5898><HR><DIV
5899CLASS="REFSECT2"
5900><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00005901NAME="AEN6994"
Daniel Veillard35008381999-10-25 13:15:52 +00005902></A
5903><H3
5904><A
5905NAME="XMLVALIDGETPOTENTIALCHILDREN"
5906></A
5907>xmlValidGetPotentialChildren ()</H3
5908><TABLE
5909BORDER="0"
5910BGCOLOR="#D6E8FF"
5911WIDTH="100%"
5912CELLPADDING="6"
5913><TR
5914><TD
5915><PRE
5916CLASS="PROGRAMLISTING"
5917>int xmlValidGetPotentialChildren (<GTKDOCLINK
5918HREF="XMLELEMENTCONTENT"
5919>xmlElementContent</GTKDOCLINK
5920> *ctree,
5921 const <A
5922HREF="gnome-xml-tree.html#XMLCHAR"
5923>xmlChar</A
5924> **list,
5925 int *len,
5926 int max);</PRE
5927></TD
5928></TR
5929></TABLE
5930><P
5931>Build/extend a list of potential children allowed by the content tree</P
5932><P
5933></P
5934><DIV
5935CLASS="INFORMALTABLE"
5936><P
5937></P
5938><TABLE
5939BORDER="0"
5940WIDTH="100%"
5941BGCOLOR="#FFD0D0"
5942CELLSPACING="0"
5943CELLPADDING="4"
5944CLASS="CALSTABLE"
5945><TR
5946><TD
5947WIDTH="20%"
5948ALIGN="RIGHT"
5949VALIGN="TOP"
5950><TT
5951CLASS="PARAMETER"
5952><I
5953>ctree</I
5954></TT
5955>&nbsp;:</TD
5956><TD
5957WIDTH="80%"
5958ALIGN="LEFT"
5959VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005960>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00005961></TR
5962><TR
5963><TD
5964WIDTH="20%"
5965ALIGN="RIGHT"
5966VALIGN="TOP"
5967><TT
5968CLASS="PARAMETER"
5969><I
5970>list</I
5971></TT
5972>&nbsp;:</TD
5973><TD
5974WIDTH="80%"
5975ALIGN="LEFT"
5976VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005977>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00005978></TR
5979><TR
5980><TD
5981WIDTH="20%"
5982ALIGN="RIGHT"
5983VALIGN="TOP"
5984><TT
5985CLASS="PARAMETER"
5986><I
5987>len</I
5988></TT
5989>&nbsp;:</TD
5990><TD
5991WIDTH="80%"
5992ALIGN="LEFT"
5993VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00005994>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00005995></TR
5996><TR
5997><TD
5998WIDTH="20%"
5999ALIGN="RIGHT"
6000VALIGN="TOP"
6001><TT
6002CLASS="PARAMETER"
6003><I
6004>max</I
6005></TT
6006>&nbsp;:</TD
6007><TD
6008WIDTH="80%"
6009ALIGN="LEFT"
6010VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00006011>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +00006012></TR
6013><TR
6014><TD
6015WIDTH="20%"
6016ALIGN="RIGHT"
6017VALIGN="TOP"
6018><I
6019CLASS="EMPHASIS"
6020>Returns</I
6021> :</TD
6022><TD
6023WIDTH="80%"
6024ALIGN="LEFT"
6025VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +00006026>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006027></TR
6028></TABLE
6029><P
6030></P
6031></DIV
6032></DIV
6033></DIV
6034><DIV
6035CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00006036><BR
6037CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00006038WIDTH="100%"
6039BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006040BGCOLOR="#000000"
6041CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00006042CELLSPACING="0"
6043><TR
6044><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006045WIDTH="25%"
6046BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00006047ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00006048><A
6049HREF="gnome-xml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00006050><FONT
6051COLOR="#FFFFFF"
6052SIZE="3"
6053><B
6054>&#60;&#60;&#60; Previous Page</B
6055></FONT
6056></A
Daniel Veillard35925471999-02-25 08:46:07 +00006057></TD
6058><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006059WIDTH="25%"
6060BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00006061ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00006062><FONT
6063COLOR="#FFFFFF"
6064SIZE="3"
6065><B
Daniel Veillard35925471999-02-25 08:46:07 +00006066><A
6067HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00006068><FONT
6069COLOR="#FFFFFF"
6070SIZE="3"
6071><B
6072>Home</B
6073></FONT
6074></A
6075></B
6076></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00006077></TD
6078><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006079WIDTH="25%"
6080BGCOLOR="#00C000"
6081ALIGN="center"
6082><FONT
6083COLOR="#FFFFFF"
6084SIZE="3"
6085><B
6086><A
Daniel Veillard35008381999-10-25 13:15:52 +00006087HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00006088><FONT
6089COLOR="#FFFFFF"
6090SIZE="3"
6091><B
6092>Up</B
6093></FONT
6094></A
6095></B
6096></FONT
6097></TD
6098><TD
6099WIDTH="25%"
6100BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00006101ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00006102><A
Daniel Veillardd109e371999-03-05 06:26:45 +00006103HREF="gnome-xml-xml-error.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00006104><FONT
6105COLOR="#FFFFFF"
6106SIZE="3"
6107><B
6108>Next Page &#62;&#62;&#62;</B
6109></FONT
6110></A
Daniel Veillard35925471999-02-25 08:46:07 +00006111></TD
6112></TR
6113><TR
6114><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006115COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00006116ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00006117><FONT
6118COLOR="#FFFFFF"
6119SIZE="3"
6120><B
6121>entities</B
6122></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00006123></TD
6124><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006125COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00006126ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00006127><FONT
6128COLOR="#FFFFFF"
6129SIZE="3"
6130><B
6131>xml-error</B
6132></FONT
6133></TD
Daniel Veillard35925471999-02-25 08:46:07 +00006134></TR
6135></TABLE
6136></DIV
6137></BODY
6138></HTML
6139>