blob: 6540bf4ac3399d9791ad98d03df1551a85234ba7 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>valid</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><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"
23><DIV
24CLASS="NAVHEADER"
25><TABLE
26WIDTH="100%"
27BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000028BGCOLOR="#000000"
29CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000030CELLSPACING="0"
31><TR
32><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000033COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000034ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000035><FONT
36COLOR="#FFFFFF"
37SIZE="5"
38>Gnome XML Library Reference Manual</FONT
39></TH
Daniel Veillard35925471999-02-25 08:46:07 +000040></TR
41><TR
42><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000043WIDTH="25%"
44BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000045ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000046><A
47HREF="gnome-xml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000048><FONT
49COLOR="#FFFFFF"
50SIZE="3"
51><B
52>&#60;&#60;&#60; Previous Page</B
53></FONT
54></A
Daniel Veillard35925471999-02-25 08:46:07 +000055></TD
56><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000057WIDTH="25%"
58BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000059ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000060><FONT
61COLOR="#FFFFFF"
62SIZE="3"
63><B
64><A
65HREF="book1.html"
66><FONT
67COLOR="#FFFFFF"
68SIZE="3"
69><B
70>Home</B
71></FONT
72></A
73></B
74></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000075></TD
76><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000077WIDTH="25%"
78BGCOLOR="#00C000"
79ALIGN="center"
80><FONT
81COLOR="#FFFFFF"
82SIZE="3"
83><B
84><A
Daniel Veillard35008381999-10-25 13:15:52 +000085HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000086><FONT
87COLOR="#FFFFFF"
88SIZE="3"
89><B
90>Up</B
91></FONT
92></A
93></B
94></FONT
95></TD
96><TD
97WIDTH="25%"
98BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000099ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +0000100><A
Daniel Veillardd109e371999-03-05 06:26:45 +0000101HREF="gnome-xml-xml-error.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000102><FONT
103COLOR="#FFFFFF"
104SIZE="3"
105><B
106>Next Page &#62;&#62;&#62;</B
107></FONT
108></A
Daniel Veillard35925471999-02-25 08:46:07 +0000109></TD
110></TR
111></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000112></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000113><H1
Daniel Veillardf3a73582000-01-05 14:58:39 +0000114>valid</H1
Daniel Veillard35925471999-02-25 08:46:07 +0000115><DIV
116CLASS="REFNAMEDIV"
117><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +0000118NAME="AEN6364"
Daniel Veillard35925471999-02-25 08:46:07 +0000119></A
120><H2
121>Name</H2
Daniel Veillardf3a73582000-01-05 14:58:39 +0000122>valid &#8212; </DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFSYNOPSISDIV"
125><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +0000126NAME="AEN6367"
Daniel Veillard35925471999-02-25 08:46:07 +0000127></A
128><H2
129>Synopsis</H2
130><TABLE
131BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000132BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000133WIDTH="100%"
134CELLPADDING="6"
135><TR
136><TD
137><PRE
138CLASS="SYNOPSIS"
139>&#13;
140
Daniel Veillardb05deb71999-08-10 19:04:08 +0000141void (<A
142HREF="gnome-xml-valid.html#XMLVALIDITYERRORFUNC"
143>*xmlValidityErrorFunc</A
144>) (void *ctx,
145 const char *msg,
146 ...);
147void (<A
148HREF="gnome-xml-valid.html#XMLVALIDITYWARNINGFUNC"
149>*xmlValidityWarningFunc</A
150>) (void *ctx,
151 const char *msg,
152 ...);
Daniel Veillardf3a73582000-01-05 14:58:39 +0000153struct <A
154HREF="gnome-xml-valid.html#XMLVALIDCTXT"
155>xmlValidCtxt</A
156>;
157typedef <A
158HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
159>xmlValidCtxtPtr</A
160>;
Daniel Veillard35925471999-02-25 08:46:07 +0000161#define <A
162HREF="gnome-xml-valid.html#XML-MIN-NOTATION-TABLE"
163>XML_MIN_NOTATION_TABLE</A
164>
Daniel Veillardf3a73582000-01-05 14:58:39 +0000165struct <A
166HREF="gnome-xml-valid.html#XMLNOTATIONTABLE"
167>xmlNotationTable</A
168>;
Daniel Veillard35925471999-02-25 08:46:07 +0000169typedef <A
170HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
171>xmlNotationTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000172>;
Daniel Veillard35925471999-02-25 08:46:07 +0000173#define <A
174HREF="gnome-xml-valid.html#XML-MIN-ELEMENT-TABLE"
175>XML_MIN_ELEMENT_TABLE</A
176>
Daniel Veillardf3a73582000-01-05 14:58:39 +0000177struct <A
178HREF="gnome-xml-valid.html#XMLELEMENTTABLE"
179>xmlElementTable</A
180>;
Daniel Veillard35925471999-02-25 08:46:07 +0000181typedef <A
182HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
183>xmlElementTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000184>;
Daniel Veillard35925471999-02-25 08:46:07 +0000185#define <A
186HREF="gnome-xml-valid.html#XML-MIN-ATTRIBUTE-TABLE"
187>XML_MIN_ATTRIBUTE_TABLE</A
188>
Daniel Veillardf3a73582000-01-05 14:58:39 +0000189struct <A
190HREF="gnome-xml-valid.html#XMLATTRIBUTETABLE"
191>xmlAttributeTable</A
192>;
Daniel Veillard35925471999-02-25 08:46:07 +0000193typedef <A
194HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
195>xmlAttributeTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000196>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000197#define <A
198HREF="gnome-xml-valid.html#XML-MIN-ID-TABLE"
199>XML_MIN_ID_TABLE</A
200>
Daniel Veillardf3a73582000-01-05 14:58:39 +0000201struct <A
202HREF="gnome-xml-valid.html#XMLIDTABLE"
203>xmlIDTable</A
204>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000205typedef <A
206HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
207>xmlIDTablePtr</A
208>;
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000209#define <A
210HREF="gnome-xml-valid.html#XML-MIN-REF-TABLE"
211>XML_MIN_REF_TABLE</A
212>
Daniel Veillardf3a73582000-01-05 14:58:39 +0000213struct <A
214HREF="gnome-xml-valid.html#XMLREFTABLE"
215>xmlRefTable</A
216>;
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000217typedef <A
218HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
219>xmlRefTablePtr</A
220>;
Daniel Veillard35925471999-02-25 08:46:07 +0000221<A
222HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
223>xmlNotationPtr</A
224> <A
225HREF="gnome-xml-valid.html#XMLADDNOTATIONDECL"
226>xmlAddNotationDecl</A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000227> (<A
228HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
229>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000230> ctxt,
231 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000232HREF="gnome-xml-tree.html#XMLDTDPTR"
233>xmlDtdPtr</A
234> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000235 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000236HREF="gnome-xml-tree.html#XMLCHAR"
237>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000238> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000239 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000240HREF="gnome-xml-tree.html#XMLCHAR"
241>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000242> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000243 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000244HREF="gnome-xml-tree.html#XMLCHAR"
245>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000246> *SystemID);
247<A
248HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
249>xmlNotationTablePtr</A
250> <A
251HREF="gnome-xml-valid.html#XMLCOPYNOTATIONTABLE"
252>xmlCopyNotationTable</A
253> (<A
254HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
255>xmlNotationTablePtr</A
256> table);
257void <A
258HREF="gnome-xml-valid.html#XMLFREENOTATIONTABLE"
259>xmlFreeNotationTable</A
260> (<A
261HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
262>xmlNotationTablePtr</A
263> table);
264void <A
265HREF="gnome-xml-valid.html#XMLDUMPNOTATIONTABLE"
266>xmlDumpNotationTable</A
267> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000268HREF="gnome-xml-tree.html#XMLBUFFERPTR"
269>xmlBufferPtr</A
270> buf,
271 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000272HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
273>xmlNotationTablePtr</A
274> table);
275<A
276HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
277>xmlElementContentPtr</A
278> <A
279HREF="gnome-xml-valid.html#XMLNEWELEMENTCONTENT"
280>xmlNewElementContent</A
281> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000282HREF="gnome-xml-tree.html#XMLCHAR"
283>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000284> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000285 <A
286HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
287>xmlElementContentType</A
288> type);
Daniel Veillard35925471999-02-25 08:46:07 +0000289<A
290HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
291>xmlElementContentPtr</A
292> <A
293HREF="gnome-xml-valid.html#XMLCOPYELEMENTCONTENT"
294>xmlCopyElementContent</A
295> (<A
296HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
297>xmlElementContentPtr</A
298> content);
299void <A
300HREF="gnome-xml-valid.html#XMLFREEELEMENTCONTENT"
301>xmlFreeElementContent</A
302> (<A
303HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
304>xmlElementContentPtr</A
305> cur);
306<A
307HREF="gnome-xml-tree.html#XMLELEMENTPTR"
308>xmlElementPtr</A
309> <A
310HREF="gnome-xml-valid.html#XMLADDELEMENTDECL"
311>xmlAddElementDecl</A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000312> (<A
313HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
314>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000315> ctxt,
316 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000317HREF="gnome-xml-tree.html#XMLDTDPTR"
318>xmlDtdPtr</A
319> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000320 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000321HREF="gnome-xml-tree.html#XMLCHAR"
322>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000323> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000324 <A
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000325HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL"
326>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000327> type,
Daniel Veillard35925471999-02-25 08:46:07 +0000328 <A
329HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
330>xmlElementContentPtr</A
331> content);
332<A
333HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
334>xmlElementTablePtr</A
335> <A
336HREF="gnome-xml-valid.html#XMLCOPYELEMENTTABLE"
337>xmlCopyElementTable</A
338> (<A
339HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
340>xmlElementTablePtr</A
341> table);
342void <A
343HREF="gnome-xml-valid.html#XMLFREEELEMENTTABLE"
344>xmlFreeElementTable</A
345> (<A
346HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
347>xmlElementTablePtr</A
348> table);
349void <A
350HREF="gnome-xml-valid.html#XMLDUMPELEMENTTABLE"
351>xmlDumpElementTable</A
352> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000353HREF="gnome-xml-tree.html#XMLBUFFERPTR"
354>xmlBufferPtr</A
355> buf,
356 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000357HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
358>xmlElementTablePtr</A
359> table);
360<A
361HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
362>xmlEnumerationPtr</A
363> <A
364HREF="gnome-xml-valid.html#XMLCREATEENUMERATION"
365>xmlCreateEnumeration</A
366> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000367HREF="gnome-xml-tree.html#XMLCHAR"
368>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000369> *name);
370void <A
371HREF="gnome-xml-valid.html#XMLFREEENUMERATION"
372>xmlFreeEnumeration</A
373> (<A
374HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
375>xmlEnumerationPtr</A
376> cur);
377<A
378HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
379>xmlEnumerationPtr</A
380> <A
381HREF="gnome-xml-valid.html#XMLCOPYENUMERATION"
382>xmlCopyEnumeration</A
383> (<A
384HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
385>xmlEnumerationPtr</A
386> cur);
387<A
388HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
389>xmlAttributePtr</A
390> <A
391HREF="gnome-xml-valid.html#XMLADDATTRIBUTEDECL"
392>xmlAddAttributeDecl</A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000393> (<A
394HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
395>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000396> ctxt,
397 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000398HREF="gnome-xml-tree.html#XMLDTDPTR"
399>xmlDtdPtr</A
400> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000401 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000402HREF="gnome-xml-tree.html#XMLCHAR"
403>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000404> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000405 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000406HREF="gnome-xml-tree.html#XMLCHAR"
407>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000408> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000409 <A
410HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
411>xmlAttributeType</A
412> type,
413 <A
414HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
415>xmlAttributeDefault</A
416> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000417 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000418HREF="gnome-xml-tree.html#XMLCHAR"
419>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000420> *defaultValue,
421 <A
422HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
423>xmlEnumerationPtr</A
424> tree);
425<A
426HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
427>xmlAttributeTablePtr</A
428> <A
429HREF="gnome-xml-valid.html#XMLCOPYATTRIBUTETABLE"
430>xmlCopyAttributeTable</A
431> (<A
432HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
433>xmlAttributeTablePtr</A
434> table);
435void <A
436HREF="gnome-xml-valid.html#XMLFREEATTRIBUTETABLE"
437>xmlFreeAttributeTable</A
438> (<A
439HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
440>xmlAttributeTablePtr</A
441> table);
442void <A
443HREF="gnome-xml-valid.html#XMLDUMPATTRIBUTETABLE"
444>xmlDumpAttributeTable</A
445> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000446HREF="gnome-xml-tree.html#XMLBUFFERPTR"
447>xmlBufferPtr</A
448> buf,
449 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000450HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
451>xmlAttributeTablePtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000452> table);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000453<A
454HREF="gnome-xml-tree.html#XMLIDPTR"
455>xmlIDPtr</A
456> <A
457HREF="gnome-xml-valid.html#XMLADDID"
458>xmlAddID</A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000459> (<A
460HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
461>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000462> ctxt,
463 <A
464HREF="gnome-xml-tree.html#XMLDOCPTR"
465>xmlDocPtr</A
466> doc,
467 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000468HREF="gnome-xml-tree.html#XMLCHAR"
469>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000470> *value,
471 <A
472HREF="gnome-xml-tree.html#XMLATTRPTR"
473>xmlAttrPtr</A
474> attr);
475<A
476HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
477>xmlIDTablePtr</A
478> <A
479HREF="gnome-xml-valid.html#XMLCOPYIDTABLE"
480>xmlCopyIDTable</A
481> (<A
482HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
483>xmlIDTablePtr</A
484> table);
485void <A
486HREF="gnome-xml-valid.html#XMLFREEIDTABLE"
487>xmlFreeIDTable</A
488> (<A
489HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
490>xmlIDTablePtr</A
491> table);
492<A
493HREF="gnome-xml-tree.html#XMLATTRPTR"
494>xmlAttrPtr</A
495> <A
496HREF="gnome-xml-valid.html#XMLGETID"
497>xmlGetID</A
498> (<A
499HREF="gnome-xml-tree.html#XMLDOCPTR"
500>xmlDocPtr</A
501> doc,
502 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000503HREF="gnome-xml-tree.html#XMLCHAR"
504>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000505> *ID);
506int <A
507HREF="gnome-xml-valid.html#XMLISID"
508>xmlIsID</A
509> (<A
510HREF="gnome-xml-tree.html#XMLDOCPTR"
511>xmlDocPtr</A
512> doc,
513 <A
514HREF="gnome-xml-tree.html#XMLNODEPTR"
515>xmlNodePtr</A
516> elem,
517 <A
518HREF="gnome-xml-tree.html#XMLATTRPTR"
519>xmlAttrPtr</A
520> attr);
Daniel Veillardf3a73582000-01-05 14:58:39 +0000521int <A
522HREF="gnome-xml-valid.html#XMLREMOVEID"
523>xmlRemoveID</A
524> (<A
525HREF="gnome-xml-tree.html#XMLDOCPTR"
526>xmlDocPtr</A
527> doc,
528 <A
529HREF="gnome-xml-tree.html#XMLATTRPTR"
530>xmlAttrPtr</A
531> attr);
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000532<A
533HREF="gnome-xml-tree.html#XMLREFPTR"
534>xmlRefPtr</A
535> <A
536HREF="gnome-xml-valid.html#XMLADDREF"
537>xmlAddRef</A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000538> (<A
539HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
540>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000541> ctxt,
542 <A
543HREF="gnome-xml-tree.html#XMLDOCPTR"
544>xmlDocPtr</A
545> doc,
546 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000547HREF="gnome-xml-tree.html#XMLCHAR"
548>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000549> *value,
550 <A
551HREF="gnome-xml-tree.html#XMLATTRPTR"
552>xmlAttrPtr</A
553> attr);
554<A
555HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
556>xmlRefTablePtr</A
557> <A
558HREF="gnome-xml-valid.html#XMLCOPYREFTABLE"
559>xmlCopyRefTable</A
560> (<A
561HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
562>xmlRefTablePtr</A
563> table);
564void <A
565HREF="gnome-xml-valid.html#XMLFREEREFTABLE"
566>xmlFreeRefTable</A
567> (<A
568HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
569>xmlRefTablePtr</A
570> table);
571int <A
572HREF="gnome-xml-valid.html#XMLISREF"
573>xmlIsRef</A
574> (<A
575HREF="gnome-xml-tree.html#XMLDOCPTR"
576>xmlDocPtr</A
577> doc,
578 <A
579HREF="gnome-xml-tree.html#XMLNODEPTR"
580>xmlNodePtr</A
581> elem,
582 <A
583HREF="gnome-xml-tree.html#XMLATTRPTR"
584>xmlAttrPtr</A
585> attr);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000586int <A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000587HREF="gnome-xml-valid.html#XMLREMOVEREF"
588>xmlRemoveRef</A
589> (<A
590HREF="gnome-xml-tree.html#XMLDOCPTR"
591>xmlDocPtr</A
592> doc,
593 <A
594HREF="gnome-xml-tree.html#XMLATTRPTR"
595>xmlAttrPtr</A
596> attr);
597int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000598HREF="gnome-xml-valid.html#XMLVALIDATEROOT"
599>xmlValidateRoot</A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000600> (<A
601HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
602>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000603> ctxt,
604 <A
605HREF="gnome-xml-tree.html#XMLDOCPTR"
606>xmlDocPtr</A
607> doc);
608int <A
609HREF="gnome-xml-valid.html#XMLVALIDATEELEMENTDECL"
610>xmlValidateElementDecl</A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000611> (<A
612HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
613>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000614> ctxt,
615 <A
616HREF="gnome-xml-tree.html#XMLDOCPTR"
617>xmlDocPtr</A
618> doc,
619 <A
620HREF="gnome-xml-tree.html#XMLELEMENTPTR"
621>xmlElementPtr</A
622> elem);
623int <A
624HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL"
625>xmlValidateAttributeDecl</A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000626> (<A
627HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
628>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000629> ctxt,
630 <A
631HREF="gnome-xml-tree.html#XMLDOCPTR"
632>xmlDocPtr</A
633> doc,
634 <A
635HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
636>xmlAttributePtr</A
637> attr);
638int <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000639HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
640>xmlValidateAttributeValue</A
641> (<A
642HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
643>xmlAttributeType</A
644> type,
645 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000646HREF="gnome-xml-tree.html#XMLCHAR"
647>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000648> *value);
649int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000650HREF="gnome-xml-valid.html#XMLVALIDATENOTATIONDECL"
651>xmlValidateNotationDecl</A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000652> (<A
653HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
654>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000655> ctxt,
656 <A
657HREF="gnome-xml-tree.html#XMLDOCPTR"
658>xmlDocPtr</A
659> doc,
660 <A
661HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
662>xmlNotationPtr</A
663> nota);
664int <A
665HREF="gnome-xml-valid.html#XMLVALIDATEDTD"
666>xmlValidateDtd</A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000667> (<A
668HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
669>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000670> ctxt,
671 <A
672HREF="gnome-xml-tree.html#XMLDOCPTR"
673>xmlDocPtr</A
674> doc,
675 <A
676HREF="gnome-xml-tree.html#XMLDTDPTR"
677>xmlDtdPtr</A
678> dtd);
679int <A
680HREF="gnome-xml-valid.html#XMLVALIDATEDOCUMENT"
681>xmlValidateDocument</A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000682> (<A
683HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
684>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000685> ctxt,
686 <A
687HREF="gnome-xml-tree.html#XMLDOCPTR"
688>xmlDocPtr</A
689> doc);
690int <A
691HREF="gnome-xml-valid.html#XMLVALIDATEELEMENT"
692>xmlValidateElement</A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000693> (<A
694HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
695>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000696> ctxt,
697 <A
698HREF="gnome-xml-tree.html#XMLDOCPTR"
699>xmlDocPtr</A
700> doc,
701 <A
702HREF="gnome-xml-tree.html#XMLNODEPTR"
703>xmlNodePtr</A
704> elem);
705int <A
706HREF="gnome-xml-valid.html#XMLVALIDATEONEELEMENT"
707>xmlValidateOneElement</A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000708> (<A
709HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
710>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000711> ctxt,
712 <A
713HREF="gnome-xml-tree.html#XMLDOCPTR"
714>xmlDocPtr</A
715> doc,
716 <A
717HREF="gnome-xml-tree.html#XMLNODEPTR"
718>xmlNodePtr</A
719> elem);
720int <A
721HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE"
722>xmlValidateOneAttribute</A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000723> (<A
724HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
725>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000726> ctxt,
727 <A
728HREF="gnome-xml-tree.html#XMLDOCPTR"
729>xmlDocPtr</A
730> doc,
731 <A
732HREF="gnome-xml-tree.html#XMLNODEPTR"
733>xmlNodePtr</A
734> elem,
735 <A
736HREF="gnome-xml-tree.html#XMLATTRPTR"
737>xmlAttrPtr</A
738> attr,
739 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000740HREF="gnome-xml-tree.html#XMLCHAR"
741>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000742> *value);
743int <A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000744HREF="gnome-xml-valid.html#XMLVALIDATEDOCUMENTFINAL"
745>xmlValidateDocumentFinal</A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000746> (<A
747HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
748>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000749> ctxt,
750 <A
751HREF="gnome-xml-tree.html#XMLDOCPTR"
752>xmlDocPtr</A
753> doc);
754int <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000755HREF="gnome-xml-valid.html#XMLVALIDATENOTATIONUSE"
756>xmlValidateNotationUse</A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000757> (<A
758HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
759>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000760> ctxt,
761 <A
762HREF="gnome-xml-tree.html#XMLDOCPTR"
763>xmlDocPtr</A
764> doc,
765 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000766HREF="gnome-xml-tree.html#XMLCHAR"
767>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000768> *notationName);
769int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000770HREF="gnome-xml-valid.html#XMLISMIXEDELEMENT"
771>xmlIsMixedElement</A
772> (<A
773HREF="gnome-xml-tree.html#XMLDOCPTR"
774>xmlDocPtr</A
775> doc,
776 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000777HREF="gnome-xml-tree.html#XMLCHAR"
778>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000779> *name);
780<A
781HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
782>xmlAttributePtr</A
783> <A
784HREF="gnome-xml-valid.html#XMLGETDTDATTRDESC"
785>xmlGetDtdAttrDesc</A
786> (<A
787HREF="gnome-xml-tree.html#XMLDTDPTR"
788>xmlDtdPtr</A
789> dtd,
790 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000791HREF="gnome-xml-tree.html#XMLCHAR"
792>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000793> *elem,
794 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000795HREF="gnome-xml-tree.html#XMLCHAR"
796>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000797> *name);
798<A
799HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
800>xmlNotationPtr</A
801> <A
802HREF="gnome-xml-valid.html#XMLGETDTDNOTATIONDESC"
803>xmlGetDtdNotationDesc</A
804> (<A
805HREF="gnome-xml-tree.html#XMLDTDPTR"
806>xmlDtdPtr</A
807> dtd,
808 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000809HREF="gnome-xml-tree.html#XMLCHAR"
810>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000811> *name);
812<A
813HREF="gnome-xml-tree.html#XMLELEMENTPTR"
814>xmlElementPtr</A
815> <A
816HREF="gnome-xml-valid.html#XMLGETDTDELEMENTDESC"
817>xmlGetDtdElementDesc</A
818> (<A
819HREF="gnome-xml-tree.html#XMLDTDPTR"
820>xmlDtdPtr</A
821> dtd,
822 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000823HREF="gnome-xml-tree.html#XMLCHAR"
824>xmlChar</A
Daniel Veillard35008381999-10-25 13:15:52 +0000825> *name);
826int <A
827HREF="gnome-xml-valid.html#XMLVALIDGETVALIDELEMENTS"
828>xmlValidGetValidElements</A
829> (<A
830HREF="gnome-xml-tree.html#XMLNODE"
831>xmlNode</A
832> *prev,
833 <A
834HREF="gnome-xml-tree.html#XMLNODE"
835>xmlNode</A
836> *next,
837 const <A
838HREF="gnome-xml-tree.html#XMLCHAR"
839>xmlChar</A
840> **list,
841 int max);
842int <A
843HREF="gnome-xml-valid.html#XMLVALIDGETPOTENTIALCHILDREN"
844>xmlValidGetPotentialChildren</A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000845> (<A
846HREF="gnome-xml-tree.html#XMLELEMENTCONTENT"
847>xmlElementContent</A
Daniel Veillard35008381999-10-25 13:15:52 +0000848> *ctree,
849 const <A
850HREF="gnome-xml-tree.html#XMLCHAR"
851>xmlChar</A
852> **list,
853 int *len,
854 int max);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000855></TD
856></TR
857></TABLE
858></DIV
859><DIV
860CLASS="REFSECT1"
861><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +0000862NAME="AEN6563"
Daniel Veillard35925471999-02-25 08:46:07 +0000863></A
864><H2
865>Description</H2
866><P
867></P
868></DIV
869><DIV
870CLASS="REFSECT1"
871><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +0000872NAME="AEN6566"
Daniel Veillard35925471999-02-25 08:46:07 +0000873></A
874><H2
875>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000876><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000877CLASS="REFSECT2"
878><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +0000879NAME="AEN6568"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000880></A
881><H3
882><A
883NAME="XMLVALIDITYERRORFUNC"
884></A
885>xmlValidityErrorFunc ()</H3
886><TABLE
887BORDER="0"
888BGCOLOR="#D6E8FF"
889WIDTH="100%"
890CELLPADDING="6"
891><TR
892><TD
893><PRE
894CLASS="PROGRAMLISTING"
895>void (*xmlValidityErrorFunc) (void *ctx,
896 const char *msg,
897 ...);</PRE
898></TD
899></TR
900></TABLE
901><P
902></P
903><DIV
904CLASS="INFORMALTABLE"
905><P
906></P
907><TABLE
908BORDER="0"
909WIDTH="100%"
910BGCOLOR="#FFD0D0"
911CELLSPACING="0"
912CELLPADDING="4"
913CLASS="CALSTABLE"
914><TR
915><TD
916WIDTH="20%"
917ALIGN="RIGHT"
918VALIGN="TOP"
919><TT
920CLASS="PARAMETER"
921><I
922>ctx</I
923></TT
924>&nbsp;:</TD
925><TD
926WIDTH="80%"
927ALIGN="LEFT"
928VALIGN="TOP"
929>&nbsp;</TD
930></TR
931><TR
932><TD
933WIDTH="20%"
934ALIGN="RIGHT"
935VALIGN="TOP"
936><TT
937CLASS="PARAMETER"
938><I
939>msg</I
940></TT
941>&nbsp;:</TD
942><TD
943WIDTH="80%"
944ALIGN="LEFT"
945VALIGN="TOP"
946>&nbsp;</TD
947></TR
948><TR
949><TD
950WIDTH="20%"
951ALIGN="RIGHT"
952VALIGN="TOP"
953><TT
954CLASS="PARAMETER"
955><I
956>...</I
957></TT
958>&nbsp;:</TD
959><TD
960WIDTH="80%"
961ALIGN="LEFT"
962VALIGN="TOP"
963>&nbsp;</TD
964></TR
965></TABLE
966><P
967></P
968></DIV
969></DIV
970><HR><DIV
971CLASS="REFSECT2"
972><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +0000973NAME="AEN6590"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000974></A
975><H3
976><A
977NAME="XMLVALIDITYWARNINGFUNC"
978></A
979>xmlValidityWarningFunc ()</H3
980><TABLE
981BORDER="0"
982BGCOLOR="#D6E8FF"
983WIDTH="100%"
984CELLPADDING="6"
985><TR
986><TD
987><PRE
988CLASS="PROGRAMLISTING"
989>void (*xmlValidityWarningFunc) (void *ctx,
990 const char *msg,
991 ...);</PRE
992></TD
993></TR
994></TABLE
995><P
996></P
997><DIV
998CLASS="INFORMALTABLE"
999><P
1000></P
1001><TABLE
1002BORDER="0"
1003WIDTH="100%"
1004BGCOLOR="#FFD0D0"
1005CELLSPACING="0"
1006CELLPADDING="4"
1007CLASS="CALSTABLE"
1008><TR
1009><TD
1010WIDTH="20%"
1011ALIGN="RIGHT"
1012VALIGN="TOP"
1013><TT
1014CLASS="PARAMETER"
1015><I
1016>ctx</I
1017></TT
1018>&nbsp;:</TD
1019><TD
1020WIDTH="80%"
1021ALIGN="LEFT"
1022VALIGN="TOP"
1023>&nbsp;</TD
1024></TR
1025><TR
1026><TD
1027WIDTH="20%"
1028ALIGN="RIGHT"
1029VALIGN="TOP"
1030><TT
1031CLASS="PARAMETER"
1032><I
1033>msg</I
1034></TT
1035>&nbsp;:</TD
1036><TD
1037WIDTH="80%"
1038ALIGN="LEFT"
1039VALIGN="TOP"
1040>&nbsp;</TD
1041></TR
1042><TR
1043><TD
1044WIDTH="20%"
1045ALIGN="RIGHT"
1046VALIGN="TOP"
1047><TT
1048CLASS="PARAMETER"
1049><I
1050>...</I
1051></TT
1052>&nbsp;:</TD
1053><TD
1054WIDTH="80%"
1055ALIGN="LEFT"
1056VALIGN="TOP"
1057>&nbsp;</TD
1058></TR
1059></TABLE
1060><P
1061></P
1062></DIV
1063></DIV
1064><HR><DIV
1065CLASS="REFSECT2"
1066><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001067NAME="AEN6612"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001068></A
1069><H3
1070><A
1071NAME="XMLVALIDCTXT"
1072></A
1073>struct xmlValidCtxt</H3
1074><TABLE
1075BORDER="0"
1076BGCOLOR="#D6E8FF"
1077WIDTH="100%"
1078CELLPADDING="6"
1079><TR
1080><TD
1081><PRE
1082CLASS="PROGRAMLISTING"
1083>struct xmlValidCtxt {
1084 void *userData; /* user specific data block */
1085 xmlValidityErrorFunc error; /* the callback in case of errors */
1086 xmlValidityWarningFunc warning; /* the callback in case of warning */
1087};</PRE
1088></TD
1089></TR
1090></TABLE
1091><P
1092></P
1093></DIV
1094><HR><DIV
1095CLASS="REFSECT2"
1096><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001097NAME="AEN6617"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001098></A
1099><H3
1100><A
1101NAME="XMLVALIDCTXTPTR"
1102></A
1103>xmlValidCtxtPtr</H3
1104><TABLE
1105BORDER="0"
1106BGCOLOR="#D6E8FF"
1107WIDTH="100%"
1108CELLPADDING="6"
1109><TR
1110><TD
1111><PRE
1112CLASS="PROGRAMLISTING"
1113>typedef xmlValidCtxt *xmlValidCtxtPtr;</PRE
1114></TD
1115></TR
1116></TABLE
1117><P
1118></P
1119></DIV
1120><HR><DIV
1121CLASS="REFSECT2"
1122><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001123NAME="AEN6622"
Daniel Veillard35925471999-02-25 08:46:07 +00001124></A
1125><H3
1126><A
1127NAME="XML-MIN-NOTATION-TABLE"
1128></A
1129>XML_MIN_NOTATION_TABLE</H3
1130><TABLE
1131BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001132BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001133WIDTH="100%"
1134CELLPADDING="6"
1135><TR
1136><TD
1137><PRE
1138CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001139>#define XML_MIN_NOTATION_TABLE 32</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001140></TD
1141></TR
1142></TABLE
1143><P
1144></P
1145></DIV
1146><HR><DIV
1147CLASS="REFSECT2"
1148><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001149NAME="AEN6627"
Daniel Veillard35925471999-02-25 08:46:07 +00001150></A
1151><H3
1152><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001153NAME="XMLNOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +00001154></A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001155>struct xmlNotationTable</H3
1156><TABLE
1157BORDER="0"
1158BGCOLOR="#D6E8FF"
1159WIDTH="100%"
1160CELLPADDING="6"
1161><TR
1162><TD
1163><PRE
1164CLASS="PROGRAMLISTING"
1165>struct xmlNotationTable {
1166 int nb_notations; /* number of notations stored */
1167 int max_notations; /* maximum number of notations */
1168 xmlNotationPtr *table; /* the table of attributes */
1169};</PRE
1170></TD
1171></TR
1172></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001173><P
1174></P
1175></DIV
1176><HR><DIV
1177CLASS="REFSECT2"
1178><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001179NAME="AEN6632"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001180></A
1181><H3
1182><A
1183NAME="XMLNOTATIONTABLEPTR"
1184></A
1185>xmlNotationTablePtr</H3
1186><TABLE
1187BORDER="0"
1188BGCOLOR="#D6E8FF"
1189WIDTH="100%"
1190CELLPADDING="6"
1191><TR
1192><TD
1193><PRE
1194CLASS="PROGRAMLISTING"
1195>typedef xmlNotationTable *xmlNotationTablePtr;</PRE
1196></TD
1197></TR
1198></TABLE
1199><P
1200></P
1201></DIV
1202><HR><DIV
1203CLASS="REFSECT2"
1204><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001205NAME="AEN6637"
Daniel Veillard35925471999-02-25 08:46:07 +00001206></A
1207><H3
1208><A
1209NAME="XML-MIN-ELEMENT-TABLE"
1210></A
1211>XML_MIN_ELEMENT_TABLE</H3
1212><TABLE
1213BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001214BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001215WIDTH="100%"
1216CELLPADDING="6"
1217><TR
1218><TD
1219><PRE
1220CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001221>#define XML_MIN_ELEMENT_TABLE 32</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001222></TD
1223></TR
1224></TABLE
1225><P
1226></P
1227></DIV
1228><HR><DIV
1229CLASS="REFSECT2"
1230><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001231NAME="AEN6642"
Daniel Veillard35925471999-02-25 08:46:07 +00001232></A
1233><H3
1234><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001235NAME="XMLELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +00001236></A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001237>struct xmlElementTable</H3
1238><TABLE
1239BORDER="0"
1240BGCOLOR="#D6E8FF"
1241WIDTH="100%"
1242CELLPADDING="6"
1243><TR
1244><TD
1245><PRE
1246CLASS="PROGRAMLISTING"
1247>struct xmlElementTable {
1248 int nb_elements; /* number of elements stored */
1249 int max_elements; /* maximum number of elements */
1250 xmlElementPtr *table; /* the table of elements */
1251};</PRE
1252></TD
1253></TR
1254></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001255><P
1256></P
1257></DIV
1258><HR><DIV
1259CLASS="REFSECT2"
1260><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001261NAME="AEN6647"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001262></A
1263><H3
1264><A
1265NAME="XMLELEMENTTABLEPTR"
1266></A
1267>xmlElementTablePtr</H3
1268><TABLE
1269BORDER="0"
1270BGCOLOR="#D6E8FF"
1271WIDTH="100%"
1272CELLPADDING="6"
1273><TR
1274><TD
1275><PRE
1276CLASS="PROGRAMLISTING"
1277>typedef xmlElementTable *xmlElementTablePtr;</PRE
1278></TD
1279></TR
1280></TABLE
1281><P
1282></P
1283></DIV
1284><HR><DIV
1285CLASS="REFSECT2"
1286><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001287NAME="AEN6652"
Daniel Veillard35925471999-02-25 08:46:07 +00001288></A
1289><H3
1290><A
1291NAME="XML-MIN-ATTRIBUTE-TABLE"
1292></A
1293>XML_MIN_ATTRIBUTE_TABLE</H3
1294><TABLE
1295BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001296BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001297WIDTH="100%"
1298CELLPADDING="6"
1299><TR
1300><TD
1301><PRE
1302CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001303>#define XML_MIN_ATTRIBUTE_TABLE 32</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001304></TD
1305></TR
1306></TABLE
1307><P
1308></P
1309></DIV
1310><HR><DIV
1311CLASS="REFSECT2"
1312><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001313NAME="AEN6657"
Daniel Veillard35925471999-02-25 08:46:07 +00001314></A
1315><H3
1316><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001317NAME="XMLATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +00001318></A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001319>struct xmlAttributeTable</H3
1320><TABLE
1321BORDER="0"
1322BGCOLOR="#D6E8FF"
1323WIDTH="100%"
1324CELLPADDING="6"
1325><TR
1326><TD
1327><PRE
1328CLASS="PROGRAMLISTING"
1329>struct xmlAttributeTable {
1330 int nb_attributes; /* number of attributes stored */
1331 int max_attributes; /* maximum number of attributes */
1332 xmlAttributePtr *table; /* the table of attributes */
1333};</PRE
1334></TD
1335></TR
1336></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001337><P
1338></P
1339></DIV
1340><HR><DIV
1341CLASS="REFSECT2"
1342><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001343NAME="AEN6662"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001344></A
1345><H3
1346><A
1347NAME="XMLATTRIBUTETABLEPTR"
1348></A
1349>xmlAttributeTablePtr</H3
1350><TABLE
1351BORDER="0"
1352BGCOLOR="#D6E8FF"
1353WIDTH="100%"
1354CELLPADDING="6"
1355><TR
1356><TD
1357><PRE
1358CLASS="PROGRAMLISTING"
1359>typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE
1360></TD
1361></TR
1362></TABLE
1363><P
1364></P
1365></DIV
1366><HR><DIV
1367CLASS="REFSECT2"
1368><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001369NAME="AEN6667"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001370></A
1371><H3
1372><A
1373NAME="XML-MIN-ID-TABLE"
1374></A
1375>XML_MIN_ID_TABLE</H3
1376><TABLE
1377BORDER="0"
1378BGCOLOR="#D6E8FF"
1379WIDTH="100%"
1380CELLPADDING="6"
1381><TR
1382><TD
1383><PRE
1384CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001385>#define XML_MIN_ID_TABLE 32</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001386></TD
1387></TR
1388></TABLE
1389><P
1390></P
1391></DIV
1392><HR><DIV
1393CLASS="REFSECT2"
1394><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001395NAME="AEN6672"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001396></A
1397><H3
1398><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001399NAME="XMLIDTABLE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001400></A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001401>struct xmlIDTable</H3
1402><TABLE
1403BORDER="0"
1404BGCOLOR="#D6E8FF"
1405WIDTH="100%"
1406CELLPADDING="6"
1407><TR
1408><TD
1409><PRE
1410CLASS="PROGRAMLISTING"
1411>struct xmlIDTable {
1412 int nb_ids; /* number of ids stored */
1413 int max_ids; /* maximum number of ids */
1414 xmlIDPtr *table; /* the table of ids */
1415};</PRE
1416></TD
1417></TR
1418></TABLE
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001419><P
1420></P
1421></DIV
1422><HR><DIV
1423CLASS="REFSECT2"
1424><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001425NAME="AEN6677"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001426></A
1427><H3
1428><A
1429NAME="XMLIDTABLEPTR"
1430></A
1431>xmlIDTablePtr</H3
1432><TABLE
1433BORDER="0"
1434BGCOLOR="#D6E8FF"
1435WIDTH="100%"
1436CELLPADDING="6"
1437><TR
1438><TD
1439><PRE
1440CLASS="PROGRAMLISTING"
1441>typedef xmlIDTable *xmlIDTablePtr;</PRE
1442></TD
1443></TR
1444></TABLE
1445><P
1446></P
1447></DIV
1448><HR><DIV
1449CLASS="REFSECT2"
1450><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001451NAME="AEN6682"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001452></A
1453><H3
1454><A
1455NAME="XML-MIN-REF-TABLE"
1456></A
1457>XML_MIN_REF_TABLE</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001458><TABLE
1459BORDER="0"
1460BGCOLOR="#D6E8FF"
1461WIDTH="100%"
1462CELLPADDING="6"
1463><TR
1464><TD
1465><PRE
1466CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001467>#define XML_MIN_REF_TABLE 32</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001468></TD
1469></TR
1470></TABLE
1471><P
1472></P
1473></DIV
1474><HR><DIV
1475CLASS="REFSECT2"
1476><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001477NAME="AEN6687"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001478></A
1479><H3
1480><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001481NAME="XMLREFTABLE"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001482></A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001483>struct xmlRefTable</H3
1484><TABLE
1485BORDER="0"
1486BGCOLOR="#D6E8FF"
1487WIDTH="100%"
1488CELLPADDING="6"
1489><TR
1490><TD
1491><PRE
1492CLASS="PROGRAMLISTING"
1493>struct xmlRefTable {
1494 int nb_refs; /* number of refs stored */
1495 int max_refs; /* maximum number of refs */
1496 xmlRefPtr *table; /* the table of refs */
1497};</PRE
1498></TD
1499></TR
1500></TABLE
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001501><P
1502></P
1503></DIV
1504><HR><DIV
1505CLASS="REFSECT2"
1506><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001507NAME="AEN6692"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001508></A
1509><H3
1510><A
1511NAME="XMLREFTABLEPTR"
1512></A
1513>xmlRefTablePtr</H3
1514><TABLE
1515BORDER="0"
1516BGCOLOR="#D6E8FF"
1517WIDTH="100%"
1518CELLPADDING="6"
1519><TR
1520><TD
1521><PRE
1522CLASS="PROGRAMLISTING"
1523>typedef xmlRefTable *xmlRefTablePtr;</PRE
1524></TD
1525></TR
1526></TABLE
1527><P
1528></P
1529></DIV
1530><HR><DIV
1531CLASS="REFSECT2"
1532><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001533NAME="AEN6697"
Daniel Veillard35925471999-02-25 08:46:07 +00001534></A
1535><H3
1536><A
1537NAME="XMLADDNOTATIONDECL"
1538></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001539>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001540><TABLE
1541BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001542BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001543WIDTH="100%"
1544CELLPADDING="6"
1545><TR
1546><TD
1547><PRE
1548CLASS="PROGRAMLISTING"
1549><A
1550HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
1551>xmlNotationPtr</A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001552> xmlAddNotationDecl (<A
1553HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
1554>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001555> ctxt,
1556 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001557HREF="gnome-xml-tree.html#XMLDTDPTR"
1558>xmlDtdPtr</A
1559> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001560 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001561HREF="gnome-xml-tree.html#XMLCHAR"
1562>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001563> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001564 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001565HREF="gnome-xml-tree.html#XMLCHAR"
1566>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001567> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001568 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001569HREF="gnome-xml-tree.html#XMLCHAR"
1570>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001571> *SystemID);</PRE
1572></TD
1573></TR
1574></TABLE
1575><P
1576>Register a new notation declaration</P
1577><P
1578></P
1579><DIV
1580CLASS="INFORMALTABLE"
1581><P
1582></P
1583><TABLE
1584BORDER="0"
1585WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001586BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001587CELLSPACING="0"
1588CELLPADDING="4"
1589CLASS="CALSTABLE"
1590><TR
1591><TD
1592WIDTH="20%"
1593ALIGN="RIGHT"
1594VALIGN="TOP"
1595><TT
1596CLASS="PARAMETER"
1597><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001598>ctxt</I
1599></TT
1600>&nbsp;:</TD
1601><TD
1602WIDTH="80%"
1603ALIGN="LEFT"
1604VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001605> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001606></TR
1607><TR
1608><TD
1609WIDTH="20%"
1610ALIGN="RIGHT"
1611VALIGN="TOP"
1612><TT
1613CLASS="PARAMETER"
1614><I
Daniel Veillard35925471999-02-25 08:46:07 +00001615>dtd</I
1616></TT
1617>&nbsp;:</TD
1618><TD
1619WIDTH="80%"
1620ALIGN="LEFT"
1621VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001622> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001623></TR
1624><TR
1625><TD
1626WIDTH="20%"
1627ALIGN="RIGHT"
1628VALIGN="TOP"
1629><TT
1630CLASS="PARAMETER"
1631><I
1632>name</I
1633></TT
1634>&nbsp;:</TD
1635><TD
1636WIDTH="80%"
1637ALIGN="LEFT"
1638VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001639> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001640></TR
1641><TR
1642><TD
1643WIDTH="20%"
1644ALIGN="RIGHT"
1645VALIGN="TOP"
1646><TT
1647CLASS="PARAMETER"
1648><I
1649>PublicID</I
1650></TT
1651>&nbsp;:</TD
1652><TD
1653WIDTH="80%"
1654ALIGN="LEFT"
1655VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001656> the public identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001657></TR
1658><TR
1659><TD
1660WIDTH="20%"
1661ALIGN="RIGHT"
1662VALIGN="TOP"
1663><TT
1664CLASS="PARAMETER"
1665><I
1666>SystemID</I
1667></TT
1668>&nbsp;:</TD
1669><TD
1670WIDTH="80%"
1671ALIGN="LEFT"
1672VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001673> the system identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001674></TR
1675><TR
1676><TD
1677WIDTH="20%"
1678ALIGN="RIGHT"
1679VALIGN="TOP"
1680><I
1681CLASS="EMPHASIS"
1682>Returns</I
1683> :</TD
1684><TD
1685WIDTH="80%"
1686ALIGN="LEFT"
1687VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001688>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001689></TR
1690></TABLE
1691><P
1692></P
1693></DIV
1694></DIV
1695><HR><DIV
1696CLASS="REFSECT2"
1697><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001698NAME="AEN6738"
Daniel Veillard35925471999-02-25 08:46:07 +00001699></A
1700><H3
1701><A
1702NAME="XMLCOPYNOTATIONTABLE"
1703></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001704>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001705><TABLE
1706BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001707BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001708WIDTH="100%"
1709CELLPADDING="6"
1710><TR
1711><TD
1712><PRE
1713CLASS="PROGRAMLISTING"
1714><A
1715HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1716>xmlNotationTablePtr</A
1717> xmlCopyNotationTable (<A
1718HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1719>xmlNotationTablePtr</A
1720> table);</PRE
1721></TD
1722></TR
1723></TABLE
1724><P
1725>Build a copy of a notation table.</P
1726><P
1727></P
1728><DIV
1729CLASS="INFORMALTABLE"
1730><P
1731></P
1732><TABLE
1733BORDER="0"
1734WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001735BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001736CELLSPACING="0"
1737CELLPADDING="4"
1738CLASS="CALSTABLE"
1739><TR
1740><TD
1741WIDTH="20%"
1742ALIGN="RIGHT"
1743VALIGN="TOP"
1744><TT
1745CLASS="PARAMETER"
1746><I
1747>table</I
1748></TT
1749>&nbsp;:</TD
1750><TD
1751WIDTH="80%"
1752ALIGN="LEFT"
1753VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001754> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001755></TR
1756><TR
1757><TD
1758WIDTH="20%"
1759ALIGN="RIGHT"
1760VALIGN="TOP"
1761><I
1762CLASS="EMPHASIS"
1763>Returns</I
1764> :</TD
1765><TD
1766WIDTH="80%"
1767ALIGN="LEFT"
1768VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001769>the new xmlNotationTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001770></TR
1771></TABLE
1772><P
1773></P
1774></DIV
1775></DIV
1776><HR><DIV
1777CLASS="REFSECT2"
1778><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001779NAME="AEN6759"
Daniel Veillard35925471999-02-25 08:46:07 +00001780></A
1781><H3
1782><A
1783NAME="XMLFREENOTATIONTABLE"
1784></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001785>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001786><TABLE
1787BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001788BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001789WIDTH="100%"
1790CELLPADDING="6"
1791><TR
1792><TD
1793><PRE
1794CLASS="PROGRAMLISTING"
1795>void xmlFreeNotationTable (<A
1796HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1797>xmlNotationTablePtr</A
1798> table);</PRE
1799></TD
1800></TR
1801></TABLE
1802><P
1803>Deallocate the memory used by an entities hash table.</P
1804><P
1805></P
1806><DIV
1807CLASS="INFORMALTABLE"
1808><P
1809></P
1810><TABLE
1811BORDER="0"
1812WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001813BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001814CELLSPACING="0"
1815CELLPADDING="4"
1816CLASS="CALSTABLE"
1817><TR
1818><TD
1819WIDTH="20%"
1820ALIGN="RIGHT"
1821VALIGN="TOP"
1822><TT
1823CLASS="PARAMETER"
1824><I
1825>table</I
1826></TT
1827>&nbsp;:</TD
1828><TD
1829WIDTH="80%"
1830ALIGN="LEFT"
1831VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001832> An notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001833></TR
1834></TABLE
1835><P
1836></P
1837></DIV
1838></DIV
1839><HR><DIV
1840CLASS="REFSECT2"
1841><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001842NAME="AEN6775"
Daniel Veillard35925471999-02-25 08:46:07 +00001843></A
1844><H3
1845><A
1846NAME="XMLDUMPNOTATIONTABLE"
1847></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001848>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001849><TABLE
1850BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001851BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001852WIDTH="100%"
1853CELLPADDING="6"
1854><TR
1855><TD
1856><PRE
1857CLASS="PROGRAMLISTING"
1858>void xmlDumpNotationTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001859HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1860>xmlBufferPtr</A
1861> buf,
1862 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001863HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1864>xmlNotationTablePtr</A
1865> table);</PRE
1866></TD
1867></TR
1868></TABLE
1869><P
1870>This will dump the content of the notation table as an XML DTD definition</P
1871><P
Daniel Veillard35925471999-02-25 08:46:07 +00001872></P
1873><DIV
1874CLASS="INFORMALTABLE"
1875><P
1876></P
1877><TABLE
1878BORDER="0"
1879WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001880BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001881CELLSPACING="0"
1882CELLPADDING="4"
1883CLASS="CALSTABLE"
1884><TR
1885><TD
1886WIDTH="20%"
1887ALIGN="RIGHT"
1888VALIGN="TOP"
1889><TT
1890CLASS="PARAMETER"
1891><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001892>buf</I
1893></TT
1894>&nbsp;:</TD
1895><TD
1896WIDTH="80%"
1897ALIGN="LEFT"
1898VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001899> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001900></TR
1901><TR
1902><TD
1903WIDTH="20%"
1904ALIGN="RIGHT"
1905VALIGN="TOP"
1906><TT
1907CLASS="PARAMETER"
1908><I
Daniel Veillard35925471999-02-25 08:46:07 +00001909>table</I
1910></TT
1911>&nbsp;:</TD
1912><TD
1913WIDTH="80%"
1914ALIGN="LEFT"
1915VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001916> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001917></TR
1918></TABLE
1919><P
1920></P
1921></DIV
1922></DIV
1923><HR><DIV
1924CLASS="REFSECT2"
1925><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00001926NAME="AEN6796"
Daniel Veillard35925471999-02-25 08:46:07 +00001927></A
1928><H3
1929><A
1930NAME="XMLNEWELEMENTCONTENT"
1931></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001932>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001933><TABLE
1934BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001935BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001936WIDTH="100%"
1937CELLPADDING="6"
1938><TR
1939><TD
1940><PRE
1941CLASS="PROGRAMLISTING"
1942><A
1943HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1944>xmlElementContentPtr</A
1945> xmlNewElementContent (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001946HREF="gnome-xml-tree.html#XMLCHAR"
1947>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001948> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00001949 <A
1950HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
1951>xmlElementContentType</A
1952> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001953></TD
1954></TR
1955></TABLE
1956><P
1957>Allocate an element content structure.</P
1958><P
1959></P
1960><DIV
1961CLASS="INFORMALTABLE"
1962><P
1963></P
1964><TABLE
1965BORDER="0"
1966WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001967BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001968CELLSPACING="0"
1969CELLPADDING="4"
1970CLASS="CALSTABLE"
1971><TR
1972><TD
1973WIDTH="20%"
1974ALIGN="RIGHT"
1975VALIGN="TOP"
1976><TT
1977CLASS="PARAMETER"
1978><I
1979>name</I
1980></TT
1981>&nbsp;:</TD
1982><TD
1983WIDTH="80%"
1984ALIGN="LEFT"
1985VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001986> the subelement name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001987></TR
1988><TR
1989><TD
1990WIDTH="20%"
1991ALIGN="RIGHT"
1992VALIGN="TOP"
1993><TT
1994CLASS="PARAMETER"
1995><I
1996>type</I
1997></TT
1998>&nbsp;:</TD
1999><TD
2000WIDTH="80%"
2001ALIGN="LEFT"
2002VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002003> the type of element content decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002004></TR
2005><TR
2006><TD
2007WIDTH="20%"
2008ALIGN="RIGHT"
2009VALIGN="TOP"
2010><I
2011CLASS="EMPHASIS"
2012>Returns</I
2013> :</TD
2014><TD
2015WIDTH="80%"
2016ALIGN="LEFT"
2017VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002018>NULL if not, othervise the new element content structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002019></TR
2020></TABLE
2021><P
2022></P
2023></DIV
2024></DIV
2025><HR><DIV
2026CLASS="REFSECT2"
2027><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00002028NAME="AEN6822"
Daniel Veillard35925471999-02-25 08:46:07 +00002029></A
2030><H3
2031><A
2032NAME="XMLCOPYELEMENTCONTENT"
2033></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002034>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002035><TABLE
2036BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002037BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002038WIDTH="100%"
2039CELLPADDING="6"
2040><TR
2041><TD
2042><PRE
2043CLASS="PROGRAMLISTING"
2044><A
2045HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2046>xmlElementContentPtr</A
2047> xmlCopyElementContent (<A
2048HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2049>xmlElementContentPtr</A
2050> content);</PRE
2051></TD
2052></TR
2053></TABLE
2054><P
2055>Build a copy of an element content description.</P
2056><P
2057></P
2058><DIV
2059CLASS="INFORMALTABLE"
2060><P
2061></P
2062><TABLE
2063BORDER="0"
2064WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002065BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002066CELLSPACING="0"
2067CELLPADDING="4"
2068CLASS="CALSTABLE"
2069><TR
2070><TD
2071WIDTH="20%"
2072ALIGN="RIGHT"
2073VALIGN="TOP"
2074><TT
2075CLASS="PARAMETER"
2076><I
2077>content</I
2078></TT
2079>&nbsp;:</TD
2080><TD
2081WIDTH="80%"
2082ALIGN="LEFT"
2083VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002084> An element content pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002085></TR
2086><TR
2087><TD
2088WIDTH="20%"
2089ALIGN="RIGHT"
2090VALIGN="TOP"
2091><I
2092CLASS="EMPHASIS"
2093>Returns</I
2094> :</TD
2095><TD
2096WIDTH="80%"
2097ALIGN="LEFT"
2098VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002099>the new xmlElementContentPtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002100></TR
2101></TABLE
2102><P
2103></P
2104></DIV
2105></DIV
2106><HR><DIV
2107CLASS="REFSECT2"
2108><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00002109NAME="AEN6843"
Daniel Veillard35925471999-02-25 08:46:07 +00002110></A
2111><H3
2112><A
2113NAME="XMLFREEELEMENTCONTENT"
2114></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002115>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002116><TABLE
2117BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002118BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002119WIDTH="100%"
2120CELLPADDING="6"
2121><TR
2122><TD
2123><PRE
2124CLASS="PROGRAMLISTING"
2125>void xmlFreeElementContent (<A
2126HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2127>xmlElementContentPtr</A
2128> cur);</PRE
2129></TD
2130></TR
2131></TABLE
2132><P
2133>Free an element content structure. This is a recursive call !</P
2134><P
2135></P
2136><DIV
2137CLASS="INFORMALTABLE"
2138><P
2139></P
2140><TABLE
2141BORDER="0"
2142WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002143BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002144CELLSPACING="0"
2145CELLPADDING="4"
2146CLASS="CALSTABLE"
2147><TR
2148><TD
2149WIDTH="20%"
2150ALIGN="RIGHT"
2151VALIGN="TOP"
2152><TT
2153CLASS="PARAMETER"
2154><I
2155>cur</I
2156></TT
2157>&nbsp;:</TD
2158><TD
2159WIDTH="80%"
2160ALIGN="LEFT"
2161VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002162> the element content tree to free</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002163></TR
2164></TABLE
2165><P
2166></P
2167></DIV
2168></DIV
2169><HR><DIV
2170CLASS="REFSECT2"
2171><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00002172NAME="AEN6859"
Daniel Veillard35925471999-02-25 08:46:07 +00002173></A
2174><H3
2175><A
2176NAME="XMLADDELEMENTDECL"
2177></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002178>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002179><TABLE
2180BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002181BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002182WIDTH="100%"
2183CELLPADDING="6"
2184><TR
2185><TD
2186><PRE
2187CLASS="PROGRAMLISTING"
2188><A
2189HREF="gnome-xml-tree.html#XMLELEMENTPTR"
2190>xmlElementPtr</A
Daniel Veillardf3a73582000-01-05 14:58:39 +00002191> xmlAddElementDecl (<A
2192HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
2193>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002194> ctxt,
2195 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002196HREF="gnome-xml-tree.html#XMLDTDPTR"
2197>xmlDtdPtr</A
2198> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002199 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002200HREF="gnome-xml-tree.html#XMLCHAR"
2201>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002202> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002203 <A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00002204HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL"
2205>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002206> type,
Daniel Veillard35925471999-02-25 08:46:07 +00002207 <A
2208HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2209>xmlElementContentPtr</A
2210> content);</PRE
2211></TD
2212></TR
2213></TABLE
2214><P
2215>Register a new element declaration</P
2216><P
2217></P
2218><DIV
2219CLASS="INFORMALTABLE"
2220><P
2221></P
2222><TABLE
2223BORDER="0"
2224WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002225BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002226CELLSPACING="0"
2227CELLPADDING="4"
2228CLASS="CALSTABLE"
2229><TR
2230><TD
2231WIDTH="20%"
2232ALIGN="RIGHT"
2233VALIGN="TOP"
2234><TT
2235CLASS="PARAMETER"
2236><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002237>ctxt</I
2238></TT
2239>&nbsp;:</TD
2240><TD
2241WIDTH="80%"
2242ALIGN="LEFT"
2243VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002244> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002245></TR
2246><TR
2247><TD
2248WIDTH="20%"
2249ALIGN="RIGHT"
2250VALIGN="TOP"
2251><TT
2252CLASS="PARAMETER"
2253><I
Daniel Veillard35925471999-02-25 08:46:07 +00002254>dtd</I
2255></TT
2256>&nbsp;:</TD
2257><TD
2258WIDTH="80%"
2259ALIGN="LEFT"
2260VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002261> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002262></TR
2263><TR
2264><TD
2265WIDTH="20%"
2266ALIGN="RIGHT"
2267VALIGN="TOP"
2268><TT
2269CLASS="PARAMETER"
2270><I
2271>name</I
2272></TT
2273>&nbsp;:</TD
2274><TD
2275WIDTH="80%"
2276ALIGN="LEFT"
2277VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002278> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002279></TR
2280><TR
2281><TD
2282WIDTH="20%"
2283ALIGN="RIGHT"
2284VALIGN="TOP"
2285><TT
2286CLASS="PARAMETER"
2287><I
2288>type</I
2289></TT
2290>&nbsp;:</TD
2291><TD
2292WIDTH="80%"
2293ALIGN="LEFT"
2294VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002295> the element type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002296></TR
2297><TR
2298><TD
2299WIDTH="20%"
2300ALIGN="RIGHT"
2301VALIGN="TOP"
2302><TT
2303CLASS="PARAMETER"
2304><I
2305>content</I
2306></TT
2307>&nbsp;:</TD
2308><TD
2309WIDTH="80%"
2310ALIGN="LEFT"
2311VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002312> the element content tree or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002313></TR
2314><TR
2315><TD
2316WIDTH="20%"
2317ALIGN="RIGHT"
2318VALIGN="TOP"
2319><I
2320CLASS="EMPHASIS"
2321>Returns</I
2322> :</TD
2323><TD
2324WIDTH="80%"
2325ALIGN="LEFT"
2326VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002327>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002328></TR
2329></TABLE
2330><P
2331></P
2332></DIV
2333></DIV
2334><HR><DIV
2335CLASS="REFSECT2"
2336><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00002337NAME="AEN6900"
Daniel Veillard35925471999-02-25 08:46:07 +00002338></A
2339><H3
2340><A
2341NAME="XMLCOPYELEMENTTABLE"
2342></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002343>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002344><TABLE
2345BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002346BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002347WIDTH="100%"
2348CELLPADDING="6"
2349><TR
2350><TD
2351><PRE
2352CLASS="PROGRAMLISTING"
2353><A
2354HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2355>xmlElementTablePtr</A
2356> xmlCopyElementTable (<A
2357HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2358>xmlElementTablePtr</A
2359> table);</PRE
2360></TD
2361></TR
2362></TABLE
2363><P
2364>Build a copy of an element table.</P
2365><P
2366></P
2367><DIV
2368CLASS="INFORMALTABLE"
2369><P
2370></P
2371><TABLE
2372BORDER="0"
2373WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002374BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002375CELLSPACING="0"
2376CELLPADDING="4"
2377CLASS="CALSTABLE"
2378><TR
2379><TD
2380WIDTH="20%"
2381ALIGN="RIGHT"
2382VALIGN="TOP"
2383><TT
2384CLASS="PARAMETER"
2385><I
2386>table</I
2387></TT
2388>&nbsp;:</TD
2389><TD
2390WIDTH="80%"
2391ALIGN="LEFT"
2392VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002393> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002394></TR
2395><TR
2396><TD
2397WIDTH="20%"
2398ALIGN="RIGHT"
2399VALIGN="TOP"
2400><I
2401CLASS="EMPHASIS"
2402>Returns</I
2403> :</TD
2404><TD
2405WIDTH="80%"
2406ALIGN="LEFT"
2407VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002408>the new xmlElementTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002409></TR
2410></TABLE
2411><P
2412></P
2413></DIV
2414></DIV
2415><HR><DIV
2416CLASS="REFSECT2"
2417><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00002418NAME="AEN6921"
Daniel Veillard35925471999-02-25 08:46:07 +00002419></A
2420><H3
2421><A
2422NAME="XMLFREEELEMENTTABLE"
2423></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002424>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002425><TABLE
2426BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002427BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002428WIDTH="100%"
2429CELLPADDING="6"
2430><TR
2431><TD
2432><PRE
2433CLASS="PROGRAMLISTING"
2434>void xmlFreeElementTable (<A
2435HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2436>xmlElementTablePtr</A
2437> table);</PRE
2438></TD
2439></TR
2440></TABLE
2441><P
2442>Deallocate the memory used by an element hash table.</P
2443><P
2444></P
2445><DIV
2446CLASS="INFORMALTABLE"
2447><P
2448></P
2449><TABLE
2450BORDER="0"
2451WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002452BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002453CELLSPACING="0"
2454CELLPADDING="4"
2455CLASS="CALSTABLE"
2456><TR
2457><TD
2458WIDTH="20%"
2459ALIGN="RIGHT"
2460VALIGN="TOP"
2461><TT
2462CLASS="PARAMETER"
2463><I
2464>table</I
2465></TT
2466>&nbsp;:</TD
2467><TD
2468WIDTH="80%"
2469ALIGN="LEFT"
2470VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002471> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002472></TR
2473></TABLE
2474><P
2475></P
2476></DIV
2477></DIV
2478><HR><DIV
2479CLASS="REFSECT2"
2480><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00002481NAME="AEN6937"
Daniel Veillard35925471999-02-25 08:46:07 +00002482></A
2483><H3
2484><A
2485NAME="XMLDUMPELEMENTTABLE"
2486></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002487>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002488><TABLE
2489BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002490BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002491WIDTH="100%"
2492CELLPADDING="6"
2493><TR
2494><TD
2495><PRE
2496CLASS="PROGRAMLISTING"
2497>void xmlDumpElementTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002498HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2499>xmlBufferPtr</A
2500> buf,
2501 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002502HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2503>xmlElementTablePtr</A
2504> table);</PRE
2505></TD
2506></TR
2507></TABLE
2508><P
2509>This will dump the content of the element table as an XML DTD definition</P
2510><P
Daniel Veillard35925471999-02-25 08:46:07 +00002511></P
2512><DIV
2513CLASS="INFORMALTABLE"
2514><P
2515></P
2516><TABLE
2517BORDER="0"
2518WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002519BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002520CELLSPACING="0"
2521CELLPADDING="4"
2522CLASS="CALSTABLE"
2523><TR
2524><TD
2525WIDTH="20%"
2526ALIGN="RIGHT"
2527VALIGN="TOP"
2528><TT
2529CLASS="PARAMETER"
2530><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002531>buf</I
2532></TT
2533>&nbsp;:</TD
2534><TD
2535WIDTH="80%"
2536ALIGN="LEFT"
2537VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002538> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002539></TR
2540><TR
2541><TD
2542WIDTH="20%"
2543ALIGN="RIGHT"
2544VALIGN="TOP"
2545><TT
2546CLASS="PARAMETER"
2547><I
Daniel Veillard35925471999-02-25 08:46:07 +00002548>table</I
2549></TT
2550>&nbsp;:</TD
2551><TD
2552WIDTH="80%"
2553ALIGN="LEFT"
2554VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002555> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002556></TR
2557></TABLE
2558><P
2559></P
2560></DIV
2561></DIV
2562><HR><DIV
2563CLASS="REFSECT2"
2564><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00002565NAME="AEN6958"
Daniel Veillard35925471999-02-25 08:46:07 +00002566></A
2567><H3
2568><A
2569NAME="XMLCREATEENUMERATION"
2570></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002571>xmlCreateEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002572><TABLE
2573BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002574BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002575WIDTH="100%"
2576CELLPADDING="6"
2577><TR
2578><TD
2579><PRE
2580CLASS="PROGRAMLISTING"
2581><A
2582HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2583>xmlEnumerationPtr</A
2584> xmlCreateEnumeration (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002585HREF="gnome-xml-tree.html#XMLCHAR"
2586>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002587> *name);</PRE
2588></TD
2589></TR
2590></TABLE
2591><P
2592>create and initialize an enumeration attribute node.</P
2593><P
2594></P
2595><DIV
2596CLASS="INFORMALTABLE"
2597><P
2598></P
2599><TABLE
2600BORDER="0"
2601WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002602BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002603CELLSPACING="0"
2604CELLPADDING="4"
2605CLASS="CALSTABLE"
2606><TR
2607><TD
2608WIDTH="20%"
2609ALIGN="RIGHT"
2610VALIGN="TOP"
2611><TT
2612CLASS="PARAMETER"
2613><I
2614>name</I
2615></TT
2616>&nbsp;:</TD
2617><TD
2618WIDTH="80%"
2619ALIGN="LEFT"
2620VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002621> the enumeration name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002622></TR
2623><TR
2624><TD
2625WIDTH="20%"
2626ALIGN="RIGHT"
2627VALIGN="TOP"
2628><I
2629CLASS="EMPHASIS"
2630>Returns</I
2631> :</TD
2632><TD
2633WIDTH="80%"
2634ALIGN="LEFT"
2635VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002636>the xmlEnumerationPtr just created or NULL in case
2637of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002638></TR
2639></TABLE
2640><P
2641></P
2642></DIV
2643></DIV
2644><HR><DIV
2645CLASS="REFSECT2"
2646><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00002647NAME="AEN6979"
Daniel Veillard35925471999-02-25 08:46:07 +00002648></A
2649><H3
2650><A
2651NAME="XMLFREEENUMERATION"
2652></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002653>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002654><TABLE
2655BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002656BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002657WIDTH="100%"
2658CELLPADDING="6"
2659><TR
2660><TD
2661><PRE
2662CLASS="PROGRAMLISTING"
2663>void xmlFreeEnumeration (<A
2664HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2665>xmlEnumerationPtr</A
2666> cur);</PRE
2667></TD
2668></TR
2669></TABLE
2670><P
2671>free an enumeration attribute node (recursive).</P
2672><P
2673></P
2674><DIV
2675CLASS="INFORMALTABLE"
2676><P
2677></P
2678><TABLE
2679BORDER="0"
2680WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002681BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002682CELLSPACING="0"
2683CELLPADDING="4"
2684CLASS="CALSTABLE"
2685><TR
2686><TD
2687WIDTH="20%"
2688ALIGN="RIGHT"
2689VALIGN="TOP"
2690><TT
2691CLASS="PARAMETER"
2692><I
2693>cur</I
2694></TT
2695>&nbsp;:</TD
2696><TD
2697WIDTH="80%"
2698ALIGN="LEFT"
2699VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002700> the tree to free.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002701></TR
2702></TABLE
2703><P
2704></P
2705></DIV
2706></DIV
2707><HR><DIV
2708CLASS="REFSECT2"
2709><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00002710NAME="AEN6995"
Daniel Veillard35925471999-02-25 08:46:07 +00002711></A
2712><H3
2713><A
2714NAME="XMLCOPYENUMERATION"
2715></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002716>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002717><TABLE
2718BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002719BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002720WIDTH="100%"
2721CELLPADDING="6"
2722><TR
2723><TD
2724><PRE
2725CLASS="PROGRAMLISTING"
2726><A
2727HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2728>xmlEnumerationPtr</A
2729> xmlCopyEnumeration (<A
2730HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2731>xmlEnumerationPtr</A
2732> cur);</PRE
2733></TD
2734></TR
2735></TABLE
2736><P
2737>Copy an enumeration attribute node (recursive).</P
2738><P
2739></P
2740><DIV
2741CLASS="INFORMALTABLE"
2742><P
2743></P
2744><TABLE
2745BORDER="0"
2746WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002747BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002748CELLSPACING="0"
2749CELLPADDING="4"
2750CLASS="CALSTABLE"
2751><TR
2752><TD
2753WIDTH="20%"
2754ALIGN="RIGHT"
2755VALIGN="TOP"
2756><TT
2757CLASS="PARAMETER"
2758><I
2759>cur</I
2760></TT
2761>&nbsp;:</TD
2762><TD
2763WIDTH="80%"
2764ALIGN="LEFT"
2765VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002766> the tree to copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002767></TR
2768><TR
2769><TD
2770WIDTH="20%"
2771ALIGN="RIGHT"
2772VALIGN="TOP"
2773><I
2774CLASS="EMPHASIS"
2775>Returns</I
2776> :</TD
2777><TD
2778WIDTH="80%"
2779ALIGN="LEFT"
2780VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002781>the xmlEnumerationPtr just created or NULL in case
2782of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002783></TR
2784></TABLE
2785><P
2786></P
2787></DIV
2788></DIV
2789><HR><DIV
2790CLASS="REFSECT2"
2791><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00002792NAME="AEN7016"
Daniel Veillard35925471999-02-25 08:46:07 +00002793></A
2794><H3
2795><A
2796NAME="XMLADDATTRIBUTEDECL"
2797></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002798>xmlAddAttributeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002799><TABLE
2800BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002801BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002802WIDTH="100%"
2803CELLPADDING="6"
2804><TR
2805><TD
2806><PRE
2807CLASS="PROGRAMLISTING"
2808><A
2809HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
2810>xmlAttributePtr</A
Daniel Veillardf3a73582000-01-05 14:58:39 +00002811> xmlAddAttributeDecl (<A
2812HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
2813>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002814> ctxt,
2815 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002816HREF="gnome-xml-tree.html#XMLDTDPTR"
2817>xmlDtdPtr</A
2818> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002819 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002820HREF="gnome-xml-tree.html#XMLCHAR"
2821>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002822> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002823 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002824HREF="gnome-xml-tree.html#XMLCHAR"
2825>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002826> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002827 <A
2828HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
2829>xmlAttributeType</A
2830> type,
2831 <A
2832HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
2833>xmlAttributeDefault</A
2834> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002835 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002836HREF="gnome-xml-tree.html#XMLCHAR"
2837>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002838> *defaultValue,
2839 <A
2840HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2841>xmlEnumerationPtr</A
2842> tree);</PRE
2843></TD
2844></TR
2845></TABLE
2846><P
2847>Register a new attribute declaration</P
2848><P
2849></P
2850><DIV
2851CLASS="INFORMALTABLE"
2852><P
2853></P
2854><TABLE
2855BORDER="0"
2856WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002857BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002858CELLSPACING="0"
2859CELLPADDING="4"
2860CLASS="CALSTABLE"
2861><TR
2862><TD
2863WIDTH="20%"
2864ALIGN="RIGHT"
2865VALIGN="TOP"
2866><TT
2867CLASS="PARAMETER"
2868><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002869>ctxt</I
2870></TT
2871>&nbsp;:</TD
2872><TD
2873WIDTH="80%"
2874ALIGN="LEFT"
2875VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002876> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002877></TR
2878><TR
2879><TD
2880WIDTH="20%"
2881ALIGN="RIGHT"
2882VALIGN="TOP"
2883><TT
2884CLASS="PARAMETER"
2885><I
Daniel Veillard35925471999-02-25 08:46:07 +00002886>dtd</I
2887></TT
2888>&nbsp;:</TD
2889><TD
2890WIDTH="80%"
2891ALIGN="LEFT"
2892VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002893> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002894></TR
2895><TR
2896><TD
2897WIDTH="20%"
2898ALIGN="RIGHT"
2899VALIGN="TOP"
2900><TT
2901CLASS="PARAMETER"
2902><I
2903>elem</I
2904></TT
2905>&nbsp;:</TD
2906><TD
2907WIDTH="80%"
2908ALIGN="LEFT"
2909VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002910> the element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002911></TR
2912><TR
2913><TD
2914WIDTH="20%"
2915ALIGN="RIGHT"
2916VALIGN="TOP"
2917><TT
2918CLASS="PARAMETER"
2919><I
2920>name</I
2921></TT
2922>&nbsp;:</TD
2923><TD
2924WIDTH="80%"
2925ALIGN="LEFT"
2926VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002927> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002928></TR
2929><TR
2930><TD
2931WIDTH="20%"
2932ALIGN="RIGHT"
2933VALIGN="TOP"
2934><TT
2935CLASS="PARAMETER"
2936><I
2937>type</I
2938></TT
2939>&nbsp;:</TD
2940><TD
2941WIDTH="80%"
2942ALIGN="LEFT"
2943VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002944> the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002945></TR
2946><TR
2947><TD
2948WIDTH="20%"
2949ALIGN="RIGHT"
2950VALIGN="TOP"
2951><TT
2952CLASS="PARAMETER"
2953><I
2954>def</I
2955></TT
2956>&nbsp;:</TD
2957><TD
2958WIDTH="80%"
2959ALIGN="LEFT"
2960VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002961> the attribute default type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002962></TR
2963><TR
2964><TD
2965WIDTH="20%"
2966ALIGN="RIGHT"
2967VALIGN="TOP"
2968><TT
2969CLASS="PARAMETER"
2970><I
2971>defaultValue</I
2972></TT
2973>&nbsp;:</TD
2974><TD
2975WIDTH="80%"
2976ALIGN="LEFT"
2977VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002978> the attribute default value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002979></TR
2980><TR
2981><TD
2982WIDTH="20%"
2983ALIGN="RIGHT"
2984VALIGN="TOP"
2985><TT
2986CLASS="PARAMETER"
2987><I
2988>tree</I
2989></TT
2990>&nbsp;:</TD
2991><TD
2992WIDTH="80%"
2993ALIGN="LEFT"
2994VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002995> if it's an enumeration, the associated list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002996></TR
2997><TR
2998><TD
2999WIDTH="20%"
3000ALIGN="RIGHT"
3001VALIGN="TOP"
3002><I
3003CLASS="EMPHASIS"
3004>Returns</I
3005> :</TD
3006><TD
3007WIDTH="80%"
3008ALIGN="LEFT"
3009VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003010>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003011></TR
3012></TABLE
3013><P
3014></P
3015></DIV
3016></DIV
3017><HR><DIV
3018CLASS="REFSECT2"
3019><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00003020NAME="AEN7072"
Daniel Veillard35925471999-02-25 08:46:07 +00003021></A
3022><H3
3023><A
3024NAME="XMLCOPYATTRIBUTETABLE"
3025></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003026>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003027><TABLE
3028BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003029BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003030WIDTH="100%"
3031CELLPADDING="6"
3032><TR
3033><TD
3034><PRE
3035CLASS="PROGRAMLISTING"
3036><A
3037HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3038>xmlAttributeTablePtr</A
3039> xmlCopyAttributeTable (<A
3040HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3041>xmlAttributeTablePtr</A
3042> table);</PRE
3043></TD
3044></TR
3045></TABLE
3046><P
3047>Build a copy of an attribute table.</P
3048><P
3049></P
3050><DIV
3051CLASS="INFORMALTABLE"
3052><P
3053></P
3054><TABLE
3055BORDER="0"
3056WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003057BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003058CELLSPACING="0"
3059CELLPADDING="4"
3060CLASS="CALSTABLE"
3061><TR
3062><TD
3063WIDTH="20%"
3064ALIGN="RIGHT"
3065VALIGN="TOP"
3066><TT
3067CLASS="PARAMETER"
3068><I
3069>table</I
3070></TT
3071>&nbsp;:</TD
3072><TD
3073WIDTH="80%"
3074ALIGN="LEFT"
3075VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003076> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003077></TR
3078><TR
3079><TD
3080WIDTH="20%"
3081ALIGN="RIGHT"
3082VALIGN="TOP"
3083><I
3084CLASS="EMPHASIS"
3085>Returns</I
3086> :</TD
3087><TD
3088WIDTH="80%"
3089ALIGN="LEFT"
3090VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003091>the new xmlAttributeTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003092></TR
3093></TABLE
3094><P
3095></P
3096></DIV
3097></DIV
3098><HR><DIV
3099CLASS="REFSECT2"
3100><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00003101NAME="AEN7093"
Daniel Veillard35925471999-02-25 08:46:07 +00003102></A
3103><H3
3104><A
3105NAME="XMLFREEATTRIBUTETABLE"
3106></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003107>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003108><TABLE
3109BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003110BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003111WIDTH="100%"
3112CELLPADDING="6"
3113><TR
3114><TD
3115><PRE
3116CLASS="PROGRAMLISTING"
3117>void xmlFreeAttributeTable (<A
3118HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3119>xmlAttributeTablePtr</A
3120> table);</PRE
3121></TD
3122></TR
3123></TABLE
3124><P
3125>Deallocate the memory used by an entities hash table.</P
3126><P
3127></P
3128><DIV
3129CLASS="INFORMALTABLE"
3130><P
3131></P
3132><TABLE
3133BORDER="0"
3134WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003135BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003136CELLSPACING="0"
3137CELLPADDING="4"
3138CLASS="CALSTABLE"
3139><TR
3140><TD
3141WIDTH="20%"
3142ALIGN="RIGHT"
3143VALIGN="TOP"
3144><TT
3145CLASS="PARAMETER"
3146><I
3147>table</I
3148></TT
3149>&nbsp;:</TD
3150><TD
3151WIDTH="80%"
3152ALIGN="LEFT"
3153VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003154> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003155></TR
3156></TABLE
3157><P
3158></P
3159></DIV
3160></DIV
3161><HR><DIV
3162CLASS="REFSECT2"
3163><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00003164NAME="AEN7109"
Daniel Veillard35925471999-02-25 08:46:07 +00003165></A
3166><H3
3167><A
3168NAME="XMLDUMPATTRIBUTETABLE"
3169></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003170>xmlDumpAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003171><TABLE
3172BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003173BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003174WIDTH="100%"
3175CELLPADDING="6"
3176><TR
3177><TD
3178><PRE
3179CLASS="PROGRAMLISTING"
3180>void xmlDumpAttributeTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003181HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3182>xmlBufferPtr</A
3183> buf,
3184 <A
Daniel Veillard35925471999-02-25 08:46:07 +00003185HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3186>xmlAttributeTablePtr</A
3187> table);</PRE
3188></TD
3189></TR
3190></TABLE
3191><P
3192>This will dump the content of the attribute table as an XML DTD definition</P
3193><P
Daniel Veillard35925471999-02-25 08:46:07 +00003194></P
3195><DIV
3196CLASS="INFORMALTABLE"
3197><P
3198></P
3199><TABLE
3200BORDER="0"
3201WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003202BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003203CELLSPACING="0"
3204CELLPADDING="4"
3205CLASS="CALSTABLE"
3206><TR
3207><TD
3208WIDTH="20%"
3209ALIGN="RIGHT"
3210VALIGN="TOP"
3211><TT
3212CLASS="PARAMETER"
3213><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003214>buf</I
3215></TT
3216>&nbsp;:</TD
3217><TD
3218WIDTH="80%"
3219ALIGN="LEFT"
3220VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003221> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003222></TR
3223><TR
3224><TD
3225WIDTH="20%"
3226ALIGN="RIGHT"
3227VALIGN="TOP"
3228><TT
3229CLASS="PARAMETER"
3230><I
Daniel Veillard35925471999-02-25 08:46:07 +00003231>table</I
3232></TT
3233>&nbsp;:</TD
3234><TD
3235WIDTH="80%"
3236ALIGN="LEFT"
3237VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003238> An attribute table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003239></TR
3240></TABLE
3241><P
3242></P
3243></DIV
3244></DIV
3245><HR><DIV
3246CLASS="REFSECT2"
3247><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00003248NAME="AEN7130"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003249></A
3250><H3
3251><A
3252NAME="XMLADDID"
3253></A
3254>xmlAddID ()</H3
3255><TABLE
3256BORDER="0"
3257BGCOLOR="#D6E8FF"
3258WIDTH="100%"
3259CELLPADDING="6"
3260><TR
3261><TD
3262><PRE
3263CLASS="PROGRAMLISTING"
3264><A
3265HREF="gnome-xml-tree.html#XMLIDPTR"
3266>xmlIDPtr</A
Daniel Veillardf3a73582000-01-05 14:58:39 +00003267> xmlAddID (<A
3268HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
3269>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003270> ctxt,
3271 <A
3272HREF="gnome-xml-tree.html#XMLDOCPTR"
3273>xmlDocPtr</A
3274> doc,
3275 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003276HREF="gnome-xml-tree.html#XMLCHAR"
3277>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003278> *value,
3279 <A
3280HREF="gnome-xml-tree.html#XMLATTRPTR"
3281>xmlAttrPtr</A
3282> attr);</PRE
3283></TD
3284></TR
3285></TABLE
3286><P
3287>Register a new id declaration</P
3288><P
3289></P
3290><DIV
3291CLASS="INFORMALTABLE"
3292><P
3293></P
3294><TABLE
3295BORDER="0"
3296WIDTH="100%"
3297BGCOLOR="#FFD0D0"
3298CELLSPACING="0"
3299CELLPADDING="4"
3300CLASS="CALSTABLE"
3301><TR
3302><TD
3303WIDTH="20%"
3304ALIGN="RIGHT"
3305VALIGN="TOP"
3306><TT
3307CLASS="PARAMETER"
3308><I
3309>ctxt</I
3310></TT
3311>&nbsp;:</TD
3312><TD
3313WIDTH="80%"
3314ALIGN="LEFT"
3315VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003316> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003317></TR
3318><TR
3319><TD
3320WIDTH="20%"
3321ALIGN="RIGHT"
3322VALIGN="TOP"
3323><TT
3324CLASS="PARAMETER"
3325><I
3326>doc</I
3327></TT
3328>&nbsp;:</TD
3329><TD
3330WIDTH="80%"
3331ALIGN="LEFT"
3332VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003333> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003334></TR
3335><TR
3336><TD
3337WIDTH="20%"
3338ALIGN="RIGHT"
3339VALIGN="TOP"
3340><TT
3341CLASS="PARAMETER"
3342><I
3343>value</I
3344></TT
3345>&nbsp;:</TD
3346><TD
3347WIDTH="80%"
3348ALIGN="LEFT"
3349VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003350> the value name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003351></TR
3352><TR
3353><TD
3354WIDTH="20%"
3355ALIGN="RIGHT"
3356VALIGN="TOP"
3357><TT
3358CLASS="PARAMETER"
3359><I
3360>attr</I
3361></TT
3362>&nbsp;:</TD
3363><TD
3364WIDTH="80%"
3365ALIGN="LEFT"
3366VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003367> the attribute holding the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003368></TR
3369><TR
3370><TD
3371WIDTH="20%"
3372ALIGN="RIGHT"
3373VALIGN="TOP"
3374><I
3375CLASS="EMPHASIS"
3376>Returns</I
3377> :</TD
3378><TD
3379WIDTH="80%"
3380ALIGN="LEFT"
3381VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003382>NULL if not, othervise the new xmlIDPtr</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003383></TR
3384></TABLE
3385><P
3386></P
3387></DIV
3388></DIV
3389><HR><DIV
3390CLASS="REFSECT2"
3391><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00003392NAME="AEN7166"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003393></A
3394><H3
3395><A
3396NAME="XMLCOPYIDTABLE"
3397></A
3398>xmlCopyIDTable ()</H3
3399><TABLE
3400BORDER="0"
3401BGCOLOR="#D6E8FF"
3402WIDTH="100%"
3403CELLPADDING="6"
3404><TR
3405><TD
3406><PRE
3407CLASS="PROGRAMLISTING"
3408><A
3409HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3410>xmlIDTablePtr</A
3411> xmlCopyIDTable (<A
3412HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3413>xmlIDTablePtr</A
3414> table);</PRE
3415></TD
3416></TR
3417></TABLE
3418><P
3419></P
3420><DIV
3421CLASS="INFORMALTABLE"
3422><P
3423></P
3424><TABLE
3425BORDER="0"
3426WIDTH="100%"
3427BGCOLOR="#FFD0D0"
3428CELLSPACING="0"
3429CELLPADDING="4"
3430CLASS="CALSTABLE"
3431><TR
3432><TD
3433WIDTH="20%"
3434ALIGN="RIGHT"
3435VALIGN="TOP"
3436><TT
3437CLASS="PARAMETER"
3438><I
3439>table</I
3440></TT
3441>&nbsp;:</TD
3442><TD
3443WIDTH="80%"
3444ALIGN="LEFT"
3445VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003446>&nbsp;</TD
3447></TR
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003448><TR
3449><TD
3450WIDTH="20%"
3451ALIGN="RIGHT"
3452VALIGN="TOP"
3453><I
3454CLASS="EMPHASIS"
3455>Returns</I
3456> :</TD
3457><TD
3458WIDTH="80%"
3459ALIGN="LEFT"
3460VALIGN="TOP"
3461>&nbsp;</TD
3462></TR
Daniel Veillardb05deb71999-08-10 19:04:08 +00003463></TABLE
3464><P
3465></P
3466></DIV
3467></DIV
3468><HR><DIV
3469CLASS="REFSECT2"
3470><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00003471NAME="AEN7186"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003472></A
3473><H3
3474><A
3475NAME="XMLFREEIDTABLE"
3476></A
3477>xmlFreeIDTable ()</H3
3478><TABLE
3479BORDER="0"
3480BGCOLOR="#D6E8FF"
3481WIDTH="100%"
3482CELLPADDING="6"
3483><TR
3484><TD
3485><PRE
3486CLASS="PROGRAMLISTING"
3487>void xmlFreeIDTable (<A
3488HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3489>xmlIDTablePtr</A
3490> table);</PRE
3491></TD
3492></TR
3493></TABLE
3494><P
3495>Deallocate the memory used by an ID hash table.</P
3496><P
3497></P
3498><DIV
3499CLASS="INFORMALTABLE"
3500><P
3501></P
3502><TABLE
3503BORDER="0"
3504WIDTH="100%"
3505BGCOLOR="#FFD0D0"
3506CELLSPACING="0"
3507CELLPADDING="4"
3508CLASS="CALSTABLE"
3509><TR
3510><TD
3511WIDTH="20%"
3512ALIGN="RIGHT"
3513VALIGN="TOP"
3514><TT
3515CLASS="PARAMETER"
3516><I
3517>table</I
3518></TT
3519>&nbsp;:</TD
3520><TD
3521WIDTH="80%"
3522ALIGN="LEFT"
3523VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003524> An id table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003525></TR
3526></TABLE
3527><P
3528></P
3529></DIV
3530></DIV
3531><HR><DIV
3532CLASS="REFSECT2"
3533><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00003534NAME="AEN7202"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003535></A
3536><H3
3537><A
3538NAME="XMLGETID"
3539></A
3540>xmlGetID ()</H3
3541><TABLE
3542BORDER="0"
3543BGCOLOR="#D6E8FF"
3544WIDTH="100%"
3545CELLPADDING="6"
3546><TR
3547><TD
3548><PRE
3549CLASS="PROGRAMLISTING"
3550><A
3551HREF="gnome-xml-tree.html#XMLATTRPTR"
3552>xmlAttrPtr</A
3553> xmlGetID (<A
3554HREF="gnome-xml-tree.html#XMLDOCPTR"
3555>xmlDocPtr</A
3556> doc,
3557 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003558HREF="gnome-xml-tree.html#XMLCHAR"
3559>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003560> *ID);</PRE
3561></TD
3562></TR
3563></TABLE
3564><P
3565>Search the attribute declaring the given ID</P
3566><P
3567></P
3568><DIV
3569CLASS="INFORMALTABLE"
3570><P
3571></P
3572><TABLE
3573BORDER="0"
3574WIDTH="100%"
3575BGCOLOR="#FFD0D0"
3576CELLSPACING="0"
3577CELLPADDING="4"
3578CLASS="CALSTABLE"
3579><TR
3580><TD
3581WIDTH="20%"
3582ALIGN="RIGHT"
3583VALIGN="TOP"
3584><TT
3585CLASS="PARAMETER"
3586><I
3587>doc</I
3588></TT
3589>&nbsp;:</TD
3590><TD
3591WIDTH="80%"
3592ALIGN="LEFT"
3593VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003594> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003595></TR
3596><TR
3597><TD
3598WIDTH="20%"
3599ALIGN="RIGHT"
3600VALIGN="TOP"
3601><TT
3602CLASS="PARAMETER"
3603><I
3604>ID</I
3605></TT
3606>&nbsp;:</TD
3607><TD
3608WIDTH="80%"
3609ALIGN="LEFT"
3610VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003611> the ID value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003612></TR
3613><TR
3614><TD
3615WIDTH="20%"
3616ALIGN="RIGHT"
3617VALIGN="TOP"
3618><I
3619CLASS="EMPHASIS"
3620>Returns</I
3621> :</TD
3622><TD
3623WIDTH="80%"
3624ALIGN="LEFT"
3625VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003626>NULL if not found, otherwise the xmlAttrPtr defining the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003627></TR
3628></TABLE
3629><P
3630></P
3631></DIV
3632></DIV
3633><HR><DIV
3634CLASS="REFSECT2"
3635><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00003636NAME="AEN7228"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003637></A
3638><H3
3639><A
3640NAME="XMLISID"
3641></A
3642>xmlIsID ()</H3
3643><TABLE
3644BORDER="0"
3645BGCOLOR="#D6E8FF"
3646WIDTH="100%"
3647CELLPADDING="6"
3648><TR
3649><TD
3650><PRE
3651CLASS="PROGRAMLISTING"
3652>int xmlIsID (<A
3653HREF="gnome-xml-tree.html#XMLDOCPTR"
3654>xmlDocPtr</A
3655> doc,
3656 <A
3657HREF="gnome-xml-tree.html#XMLNODEPTR"
3658>xmlNodePtr</A
3659> elem,
3660 <A
3661HREF="gnome-xml-tree.html#XMLATTRPTR"
3662>xmlAttrPtr</A
3663> attr);</PRE
3664></TD
3665></TR
3666></TABLE
3667><P
3668>Determine whether an attribute is of type ID. In case we have Dtd(s)
3669then this is simple, otherwise we use an heuristic: name ID (upper
3670or lowercase).</P
3671><P
3672></P
3673><DIV
3674CLASS="INFORMALTABLE"
3675><P
3676></P
3677><TABLE
3678BORDER="0"
3679WIDTH="100%"
3680BGCOLOR="#FFD0D0"
3681CELLSPACING="0"
3682CELLPADDING="4"
3683CLASS="CALSTABLE"
3684><TR
3685><TD
3686WIDTH="20%"
3687ALIGN="RIGHT"
3688VALIGN="TOP"
3689><TT
3690CLASS="PARAMETER"
3691><I
3692>doc</I
3693></TT
3694>&nbsp;:</TD
3695><TD
3696WIDTH="80%"
3697ALIGN="LEFT"
3698VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003699> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003700></TR
3701><TR
3702><TD
3703WIDTH="20%"
3704ALIGN="RIGHT"
3705VALIGN="TOP"
3706><TT
3707CLASS="PARAMETER"
3708><I
3709>elem</I
3710></TT
3711>&nbsp;:</TD
3712><TD
3713WIDTH="80%"
3714ALIGN="LEFT"
3715VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003716> the element carrying the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003717></TR
3718><TR
3719><TD
3720WIDTH="20%"
3721ALIGN="RIGHT"
3722VALIGN="TOP"
3723><TT
3724CLASS="PARAMETER"
3725><I
3726>attr</I
3727></TT
3728>&nbsp;:</TD
3729><TD
3730WIDTH="80%"
3731ALIGN="LEFT"
3732VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003733> the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003734></TR
3735><TR
3736><TD
3737WIDTH="20%"
3738ALIGN="RIGHT"
3739VALIGN="TOP"
3740><I
3741CLASS="EMPHASIS"
3742>Returns</I
3743> :</TD
3744><TD
3745WIDTH="80%"
3746ALIGN="LEFT"
3747VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003748>0 or 1 depending on the lookup result</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003749></TR
3750></TABLE
3751><P
3752></P
3753></DIV
3754></DIV
3755><HR><DIV
3756CLASS="REFSECT2"
3757><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00003758NAME="AEN7258"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003759></A
3760><H3
3761><A
3762NAME="XMLREMOVEID"
3763></A
3764>xmlRemoveID ()</H3
3765><TABLE
3766BORDER="0"
3767BGCOLOR="#D6E8FF"
3768WIDTH="100%"
3769CELLPADDING="6"
3770><TR
3771><TD
3772><PRE
3773CLASS="PROGRAMLISTING"
3774>int xmlRemoveID (<A
3775HREF="gnome-xml-tree.html#XMLDOCPTR"
3776>xmlDocPtr</A
3777> doc,
3778 <A
3779HREF="gnome-xml-tree.html#XMLATTRPTR"
3780>xmlAttrPtr</A
3781> attr);</PRE
3782></TD
3783></TR
3784></TABLE
3785><P
3786>Remove the given attribute from the ID table maintained internally.</P
3787><P
3788></P
3789><DIV
3790CLASS="INFORMALTABLE"
3791><P
3792></P
3793><TABLE
3794BORDER="0"
3795WIDTH="100%"
3796BGCOLOR="#FFD0D0"
3797CELLSPACING="0"
3798CELLPADDING="4"
3799CLASS="CALSTABLE"
3800><TR
3801><TD
3802WIDTH="20%"
3803ALIGN="RIGHT"
3804VALIGN="TOP"
3805><TT
3806CLASS="PARAMETER"
3807><I
3808>doc</I
3809></TT
3810>&nbsp;:</TD
3811><TD
3812WIDTH="80%"
3813ALIGN="LEFT"
3814VALIGN="TOP"
3815> the document</TD
3816></TR
3817><TR
3818><TD
3819WIDTH="20%"
3820ALIGN="RIGHT"
3821VALIGN="TOP"
3822><TT
3823CLASS="PARAMETER"
3824><I
3825>attr</I
3826></TT
3827>&nbsp;:</TD
3828><TD
3829WIDTH="80%"
3830ALIGN="LEFT"
3831VALIGN="TOP"
3832> the attribute</TD
3833></TR
3834><TR
3835><TD
3836WIDTH="20%"
3837ALIGN="RIGHT"
3838VALIGN="TOP"
3839><I
3840CLASS="EMPHASIS"
3841>Returns</I
3842> :</TD
3843><TD
3844WIDTH="80%"
3845ALIGN="LEFT"
3846VALIGN="TOP"
3847>-1 if the lookup failed and 0 otherwise</TD
3848></TR
3849></TABLE
3850><P
3851></P
3852></DIV
3853></DIV
3854><HR><DIV
3855CLASS="REFSECT2"
3856><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00003857NAME="AEN7283"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003858></A
3859><H3
3860><A
3861NAME="XMLADDREF"
3862></A
3863>xmlAddRef ()</H3
3864><TABLE
3865BORDER="0"
3866BGCOLOR="#D6E8FF"
3867WIDTH="100%"
3868CELLPADDING="6"
3869><TR
3870><TD
3871><PRE
3872CLASS="PROGRAMLISTING"
3873><A
3874HREF="gnome-xml-tree.html#XMLREFPTR"
3875>xmlRefPtr</A
Daniel Veillardf3a73582000-01-05 14:58:39 +00003876> xmlAddRef (<A
3877HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
3878>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003879> ctxt,
3880 <A
3881HREF="gnome-xml-tree.html#XMLDOCPTR"
3882>xmlDocPtr</A
3883> doc,
3884 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003885HREF="gnome-xml-tree.html#XMLCHAR"
3886>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003887> *value,
3888 <A
3889HREF="gnome-xml-tree.html#XMLATTRPTR"
3890>xmlAttrPtr</A
3891> attr);</PRE
3892></TD
3893></TR
3894></TABLE
3895><P
3896>Register a new ref declaration</P
3897><P
3898></P
3899><DIV
3900CLASS="INFORMALTABLE"
3901><P
3902></P
3903><TABLE
3904BORDER="0"
3905WIDTH="100%"
3906BGCOLOR="#FFD0D0"
3907CELLSPACING="0"
3908CELLPADDING="4"
3909CLASS="CALSTABLE"
3910><TR
3911><TD
3912WIDTH="20%"
3913ALIGN="RIGHT"
3914VALIGN="TOP"
3915><TT
3916CLASS="PARAMETER"
3917><I
3918>ctxt</I
3919></TT
3920>&nbsp;:</TD
3921><TD
3922WIDTH="80%"
3923ALIGN="LEFT"
3924VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003925> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003926></TR
3927><TR
3928><TD
3929WIDTH="20%"
3930ALIGN="RIGHT"
3931VALIGN="TOP"
3932><TT
3933CLASS="PARAMETER"
3934><I
3935>doc</I
3936></TT
3937>&nbsp;:</TD
3938><TD
3939WIDTH="80%"
3940ALIGN="LEFT"
3941VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003942> pointer to the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003943></TR
3944><TR
3945><TD
3946WIDTH="20%"
3947ALIGN="RIGHT"
3948VALIGN="TOP"
3949><TT
3950CLASS="PARAMETER"
3951><I
3952>value</I
3953></TT
3954>&nbsp;:</TD
3955><TD
3956WIDTH="80%"
3957ALIGN="LEFT"
3958VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003959> the value name</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003960></TR
3961><TR
3962><TD
3963WIDTH="20%"
3964ALIGN="RIGHT"
3965VALIGN="TOP"
3966><TT
3967CLASS="PARAMETER"
3968><I
3969>attr</I
3970></TT
3971>&nbsp;:</TD
3972><TD
3973WIDTH="80%"
3974ALIGN="LEFT"
3975VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003976> the attribute holding the Ref</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003977></TR
3978><TR
3979><TD
3980WIDTH="20%"
3981ALIGN="RIGHT"
3982VALIGN="TOP"
3983><I
3984CLASS="EMPHASIS"
3985>Returns</I
3986> :</TD
3987><TD
3988WIDTH="80%"
3989ALIGN="LEFT"
3990VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003991>NULL if not, othervise the new xmlRefPtr</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00003992></TR
3993></TABLE
3994><P
3995></P
3996></DIV
3997></DIV
3998><HR><DIV
3999CLASS="REFSECT2"
4000><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00004001NAME="AEN7319"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004002></A
4003><H3
4004><A
4005NAME="XMLCOPYREFTABLE"
4006></A
4007>xmlCopyRefTable ()</H3
4008><TABLE
4009BORDER="0"
4010BGCOLOR="#D6E8FF"
4011WIDTH="100%"
4012CELLPADDING="6"
4013><TR
4014><TD
4015><PRE
4016CLASS="PROGRAMLISTING"
4017><A
4018HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
4019>xmlRefTablePtr</A
4020> xmlCopyRefTable (<A
4021HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
4022>xmlRefTablePtr</A
4023> table);</PRE
4024></TD
4025></TR
4026></TABLE
4027><P
4028></P
4029><DIV
4030CLASS="INFORMALTABLE"
4031><P
4032></P
4033><TABLE
4034BORDER="0"
4035WIDTH="100%"
4036BGCOLOR="#FFD0D0"
4037CELLSPACING="0"
4038CELLPADDING="4"
4039CLASS="CALSTABLE"
4040><TR
4041><TD
4042WIDTH="20%"
4043ALIGN="RIGHT"
4044VALIGN="TOP"
4045><TT
4046CLASS="PARAMETER"
4047><I
4048>table</I
4049></TT
4050>&nbsp;:</TD
4051><TD
4052WIDTH="80%"
4053ALIGN="LEFT"
4054VALIGN="TOP"
4055>&nbsp;</TD
4056></TR
4057><TR
4058><TD
4059WIDTH="20%"
4060ALIGN="RIGHT"
4061VALIGN="TOP"
4062><I
4063CLASS="EMPHASIS"
4064>Returns</I
4065> :</TD
4066><TD
4067WIDTH="80%"
4068ALIGN="LEFT"
4069VALIGN="TOP"
4070>&nbsp;</TD
4071></TR
4072></TABLE
4073><P
4074></P
4075></DIV
4076></DIV
4077><HR><DIV
4078CLASS="REFSECT2"
4079><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00004080NAME="AEN7339"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004081></A
4082><H3
4083><A
4084NAME="XMLFREEREFTABLE"
4085></A
4086>xmlFreeRefTable ()</H3
4087><TABLE
4088BORDER="0"
4089BGCOLOR="#D6E8FF"
4090WIDTH="100%"
4091CELLPADDING="6"
4092><TR
4093><TD
4094><PRE
4095CLASS="PROGRAMLISTING"
4096>void xmlFreeRefTable (<A
4097HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
4098>xmlRefTablePtr</A
4099> table);</PRE
4100></TD
4101></TR
4102></TABLE
4103><P
4104>Deallocate the memory used by an Ref hash table.</P
4105><P
4106></P
4107><DIV
4108CLASS="INFORMALTABLE"
4109><P
4110></P
4111><TABLE
4112BORDER="0"
4113WIDTH="100%"
4114BGCOLOR="#FFD0D0"
4115CELLSPACING="0"
4116CELLPADDING="4"
4117CLASS="CALSTABLE"
4118><TR
4119><TD
4120WIDTH="20%"
4121ALIGN="RIGHT"
4122VALIGN="TOP"
4123><TT
4124CLASS="PARAMETER"
4125><I
4126>table</I
4127></TT
4128>&nbsp;:</TD
4129><TD
4130WIDTH="80%"
4131ALIGN="LEFT"
4132VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004133> An ref table</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004134></TR
4135></TABLE
4136><P
4137></P
4138></DIV
4139></DIV
4140><HR><DIV
4141CLASS="REFSECT2"
4142><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00004143NAME="AEN7355"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004144></A
4145><H3
4146><A
4147NAME="XMLISREF"
4148></A
4149>xmlIsRef ()</H3
4150><TABLE
4151BORDER="0"
4152BGCOLOR="#D6E8FF"
4153WIDTH="100%"
4154CELLPADDING="6"
4155><TR
4156><TD
4157><PRE
4158CLASS="PROGRAMLISTING"
4159>int xmlIsRef (<A
4160HREF="gnome-xml-tree.html#XMLDOCPTR"
4161>xmlDocPtr</A
4162> doc,
4163 <A
4164HREF="gnome-xml-tree.html#XMLNODEPTR"
4165>xmlNodePtr</A
4166> elem,
4167 <A
4168HREF="gnome-xml-tree.html#XMLATTRPTR"
4169>xmlAttrPtr</A
4170> attr);</PRE
4171></TD
4172></TR
4173></TABLE
4174><P
4175>Determine whether an attribute is of type Ref. In case we have Dtd(s)
4176then this is simple, otherwise we use an heuristic: name Ref (upper
4177or lowercase).</P
4178><P
4179></P
4180><DIV
4181CLASS="INFORMALTABLE"
4182><P
4183></P
4184><TABLE
4185BORDER="0"
4186WIDTH="100%"
4187BGCOLOR="#FFD0D0"
4188CELLSPACING="0"
4189CELLPADDING="4"
4190CLASS="CALSTABLE"
4191><TR
4192><TD
4193WIDTH="20%"
4194ALIGN="RIGHT"
4195VALIGN="TOP"
4196><TT
4197CLASS="PARAMETER"
4198><I
4199>doc</I
4200></TT
4201>&nbsp;:</TD
4202><TD
4203WIDTH="80%"
4204ALIGN="LEFT"
4205VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004206> the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004207></TR
4208><TR
4209><TD
4210WIDTH="20%"
4211ALIGN="RIGHT"
4212VALIGN="TOP"
4213><TT
4214CLASS="PARAMETER"
4215><I
4216>elem</I
4217></TT
4218>&nbsp;:</TD
4219><TD
4220WIDTH="80%"
4221ALIGN="LEFT"
4222VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004223> the element carrying the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004224></TR
4225><TR
4226><TD
4227WIDTH="20%"
4228ALIGN="RIGHT"
4229VALIGN="TOP"
4230><TT
4231CLASS="PARAMETER"
4232><I
4233>attr</I
4234></TT
4235>&nbsp;:</TD
4236><TD
4237WIDTH="80%"
4238ALIGN="LEFT"
4239VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004240> the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004241></TR
4242><TR
4243><TD
4244WIDTH="20%"
4245ALIGN="RIGHT"
4246VALIGN="TOP"
4247><I
4248CLASS="EMPHASIS"
4249>Returns</I
4250> :</TD
4251><TD
4252WIDTH="80%"
4253ALIGN="LEFT"
4254VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004255>0 or 1 depending on the lookup result</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004256></TR
4257></TABLE
4258><P
4259></P
4260></DIV
4261></DIV
4262><HR><DIV
4263CLASS="REFSECT2"
4264><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00004265NAME="AEN7385"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004266></A
4267><H3
4268><A
4269NAME="XMLREMOVEREF"
4270></A
4271>xmlRemoveRef ()</H3
4272><TABLE
4273BORDER="0"
4274BGCOLOR="#D6E8FF"
4275WIDTH="100%"
4276CELLPADDING="6"
4277><TR
4278><TD
4279><PRE
4280CLASS="PROGRAMLISTING"
4281>int xmlRemoveRef (<A
4282HREF="gnome-xml-tree.html#XMLDOCPTR"
4283>xmlDocPtr</A
4284> doc,
4285 <A
4286HREF="gnome-xml-tree.html#XMLATTRPTR"
4287>xmlAttrPtr</A
4288> attr);</PRE
4289></TD
4290></TR
4291></TABLE
4292><P
4293>Remove the given attribute from the Ref table maintained internally.</P
4294><P
4295></P
4296><DIV
4297CLASS="INFORMALTABLE"
4298><P
4299></P
4300><TABLE
4301BORDER="0"
4302WIDTH="100%"
4303BGCOLOR="#FFD0D0"
4304CELLSPACING="0"
4305CELLPADDING="4"
4306CLASS="CALSTABLE"
4307><TR
4308><TD
4309WIDTH="20%"
4310ALIGN="RIGHT"
4311VALIGN="TOP"
4312><TT
4313CLASS="PARAMETER"
4314><I
4315>doc</I
4316></TT
4317>&nbsp;:</TD
4318><TD
4319WIDTH="80%"
4320ALIGN="LEFT"
4321VALIGN="TOP"
4322> the document</TD
4323></TR
4324><TR
4325><TD
4326WIDTH="20%"
4327ALIGN="RIGHT"
4328VALIGN="TOP"
4329><TT
4330CLASS="PARAMETER"
4331><I
4332>attr</I
4333></TT
4334>&nbsp;:</TD
4335><TD
4336WIDTH="80%"
4337ALIGN="LEFT"
4338VALIGN="TOP"
4339> the attribute</TD
4340></TR
4341><TR
4342><TD
4343WIDTH="20%"
4344ALIGN="RIGHT"
4345VALIGN="TOP"
4346><I
4347CLASS="EMPHASIS"
4348>Returns</I
4349> :</TD
4350><TD
4351WIDTH="80%"
4352ALIGN="LEFT"
4353VALIGN="TOP"
4354>-1 if the lookup failed and 0 otherwise</TD
4355></TR
4356></TABLE
4357><P
4358></P
4359></DIV
4360></DIV
4361><HR><DIV
4362CLASS="REFSECT2"
4363><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00004364NAME="AEN7410"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004365></A
4366><H3
4367><A
4368NAME="XMLVALIDATEROOT"
4369></A
4370>xmlValidateRoot ()</H3
4371><TABLE
4372BORDER="0"
4373BGCOLOR="#D6E8FF"
4374WIDTH="100%"
4375CELLPADDING="6"
4376><TR
4377><TD
4378><PRE
4379CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004380>int xmlValidateRoot (<A
4381HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4382>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004383> ctxt,
4384 <A
4385HREF="gnome-xml-tree.html#XMLDOCPTR"
4386>xmlDocPtr</A
4387> doc);</PRE
4388></TD
4389></TR
4390></TABLE
4391><P
4392>Try to validate a the root element
4393basically it does the following check as described by the
4394XML-1.0 recommendation:
4395- [ VC: Root Element Type ]
4396it doesn't try to recurse or apply other check to the element</P
4397><P
4398></P
4399><DIV
4400CLASS="INFORMALTABLE"
4401><P
4402></P
4403><TABLE
4404BORDER="0"
4405WIDTH="100%"
4406BGCOLOR="#FFD0D0"
4407CELLSPACING="0"
4408CELLPADDING="4"
4409CLASS="CALSTABLE"
4410><TR
4411><TD
4412WIDTH="20%"
4413ALIGN="RIGHT"
4414VALIGN="TOP"
4415><TT
4416CLASS="PARAMETER"
4417><I
4418>ctxt</I
4419></TT
4420>&nbsp;:</TD
4421><TD
4422WIDTH="80%"
4423ALIGN="LEFT"
4424VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004425> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004426></TR
4427><TR
4428><TD
4429WIDTH="20%"
4430ALIGN="RIGHT"
4431VALIGN="TOP"
4432><TT
4433CLASS="PARAMETER"
4434><I
4435>doc</I
4436></TT
4437>&nbsp;:</TD
4438><TD
4439WIDTH="80%"
4440ALIGN="LEFT"
4441VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004442> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004443></TR
4444><TR
4445><TD
4446WIDTH="20%"
4447ALIGN="RIGHT"
4448VALIGN="TOP"
4449><I
4450CLASS="EMPHASIS"
4451>Returns</I
4452> :</TD
4453><TD
4454WIDTH="80%"
4455ALIGN="LEFT"
4456VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004457>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004458></TR
4459></TABLE
4460><P
4461></P
4462></DIV
4463></DIV
4464><HR><DIV
4465CLASS="REFSECT2"
4466><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00004467NAME="AEN7435"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004468></A
4469><H3
4470><A
4471NAME="XMLVALIDATEELEMENTDECL"
4472></A
4473>xmlValidateElementDecl ()</H3
4474><TABLE
4475BORDER="0"
4476BGCOLOR="#D6E8FF"
4477WIDTH="100%"
4478CELLPADDING="6"
4479><TR
4480><TD
4481><PRE
4482CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004483>int xmlValidateElementDecl (<A
4484HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4485>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004486> ctxt,
4487 <A
4488HREF="gnome-xml-tree.html#XMLDOCPTR"
4489>xmlDocPtr</A
4490> doc,
4491 <A
4492HREF="gnome-xml-tree.html#XMLELEMENTPTR"
4493>xmlElementPtr</A
4494> elem);</PRE
4495></TD
4496></TR
4497></TABLE
4498><P
4499>Try to validate a single element definition
4500basically it does the following checks as described by the
4501XML-1.0 recommendation:
4502- [ VC: One ID per Element Type ]
4503- [ VC: No Duplicate Types ]
4504- [ VC: Unique Element Type Declaration ]</P
4505><P
4506></P
4507><DIV
4508CLASS="INFORMALTABLE"
4509><P
4510></P
4511><TABLE
4512BORDER="0"
4513WIDTH="100%"
4514BGCOLOR="#FFD0D0"
4515CELLSPACING="0"
4516CELLPADDING="4"
4517CLASS="CALSTABLE"
4518><TR
4519><TD
4520WIDTH="20%"
4521ALIGN="RIGHT"
4522VALIGN="TOP"
4523><TT
4524CLASS="PARAMETER"
4525><I
4526>ctxt</I
4527></TT
4528>&nbsp;:</TD
4529><TD
4530WIDTH="80%"
4531ALIGN="LEFT"
4532VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004533> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004534></TR
4535><TR
4536><TD
4537WIDTH="20%"
4538ALIGN="RIGHT"
4539VALIGN="TOP"
4540><TT
4541CLASS="PARAMETER"
4542><I
4543>doc</I
4544></TT
4545>&nbsp;:</TD
4546><TD
4547WIDTH="80%"
4548ALIGN="LEFT"
4549VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004550> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004551></TR
4552><TR
4553><TD
4554WIDTH="20%"
4555ALIGN="RIGHT"
4556VALIGN="TOP"
4557><TT
4558CLASS="PARAMETER"
4559><I
4560>elem</I
4561></TT
4562>&nbsp;:</TD
4563><TD
4564WIDTH="80%"
4565ALIGN="LEFT"
4566VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004567> an element definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004568></TR
4569><TR
4570><TD
4571WIDTH="20%"
4572ALIGN="RIGHT"
4573VALIGN="TOP"
4574><I
4575CLASS="EMPHASIS"
4576>Returns</I
4577> :</TD
4578><TD
4579WIDTH="80%"
4580ALIGN="LEFT"
4581VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004582>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004583></TR
4584></TABLE
4585><P
4586></P
4587></DIV
4588></DIV
4589><HR><DIV
4590CLASS="REFSECT2"
4591><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00004592NAME="AEN7465"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004593></A
4594><H3
4595><A
4596NAME="XMLVALIDATEATTRIBUTEDECL"
4597></A
4598>xmlValidateAttributeDecl ()</H3
4599><TABLE
4600BORDER="0"
4601BGCOLOR="#D6E8FF"
4602WIDTH="100%"
4603CELLPADDING="6"
4604><TR
4605><TD
4606><PRE
4607CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004608>int xmlValidateAttributeDecl (<A
4609HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4610>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004611> ctxt,
4612 <A
4613HREF="gnome-xml-tree.html#XMLDOCPTR"
4614>xmlDocPtr</A
4615> doc,
4616 <A
4617HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
4618>xmlAttributePtr</A
4619> attr);</PRE
4620></TD
4621></TR
4622></TABLE
4623><P
4624>Try to validate a single attribute definition
4625basically it does the following checks as described by the
4626XML-1.0 recommendation:
4627- [ VC: Attribute Default Legal ]
4628- [ VC: Enumeration ]
4629- [ VC: ID Attribute Default ]</P
4630><P
4631>The ID/IDREF uniqueness and matching are done separately</P
4632><P
4633></P
4634><DIV
4635CLASS="INFORMALTABLE"
4636><P
4637></P
4638><TABLE
4639BORDER="0"
4640WIDTH="100%"
4641BGCOLOR="#FFD0D0"
4642CELLSPACING="0"
4643CELLPADDING="4"
4644CLASS="CALSTABLE"
4645><TR
4646><TD
4647WIDTH="20%"
4648ALIGN="RIGHT"
4649VALIGN="TOP"
4650><TT
4651CLASS="PARAMETER"
4652><I
4653>ctxt</I
4654></TT
4655>&nbsp;:</TD
4656><TD
4657WIDTH="80%"
4658ALIGN="LEFT"
4659VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004660> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004661></TR
4662><TR
4663><TD
4664WIDTH="20%"
4665ALIGN="RIGHT"
4666VALIGN="TOP"
4667><TT
4668CLASS="PARAMETER"
4669><I
4670>doc</I
4671></TT
4672>&nbsp;:</TD
4673><TD
4674WIDTH="80%"
4675ALIGN="LEFT"
4676VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004677> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004678></TR
4679><TR
4680><TD
4681WIDTH="20%"
4682ALIGN="RIGHT"
4683VALIGN="TOP"
4684><TT
4685CLASS="PARAMETER"
4686><I
4687>attr</I
4688></TT
4689>&nbsp;:</TD
4690><TD
4691WIDTH="80%"
4692ALIGN="LEFT"
4693VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004694> an attribute definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004695></TR
4696><TR
4697><TD
4698WIDTH="20%"
4699ALIGN="RIGHT"
4700VALIGN="TOP"
4701><I
4702CLASS="EMPHASIS"
4703>Returns</I
4704> :</TD
4705><TD
4706WIDTH="80%"
4707ALIGN="LEFT"
4708VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004709>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004710></TR
4711></TABLE
4712><P
4713></P
4714></DIV
4715></DIV
4716><HR><DIV
4717CLASS="REFSECT2"
4718><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00004719NAME="AEN7496"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004720></A
4721><H3
4722><A
4723NAME="XMLVALIDATEATTRIBUTEVALUE"
4724></A
4725>xmlValidateAttributeValue ()</H3
4726><TABLE
4727BORDER="0"
4728BGCOLOR="#D6E8FF"
4729WIDTH="100%"
4730CELLPADDING="6"
4731><TR
4732><TD
4733><PRE
4734CLASS="PROGRAMLISTING"
4735>int xmlValidateAttributeValue (<A
4736HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
4737>xmlAttributeType</A
4738> type,
4739 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004740HREF="gnome-xml-tree.html#XMLCHAR"
4741>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004742> *value);</PRE
4743></TD
4744></TR
4745></TABLE
4746><P
4747>Validate that the given attribute value match the proper production</P
4748><P
4749>[ VC: ID ]
4750Values of type ID must match the Name production....</P
4751><P
4752>[ VC: IDREF ]
4753Values of type IDREF must match the Name production, and values
4754of type IDREFS must match Names ...</P
4755><P
4756>[ VC: Entity Name ]
4757Values of type ENTITY must match the Name production, values
4758of type ENTITIES must match Names ...</P
4759><P
4760>[ VC: Name Token ]
4761Values of type NMTOKEN must match the Nmtoken production; values
4762of type NMTOKENS must match Nmtokens.</P
4763><P
4764></P
4765><DIV
4766CLASS="INFORMALTABLE"
4767><P
4768></P
4769><TABLE
4770BORDER="0"
4771WIDTH="100%"
4772BGCOLOR="#FFD0D0"
4773CELLSPACING="0"
4774CELLPADDING="4"
4775CLASS="CALSTABLE"
4776><TR
4777><TD
4778WIDTH="20%"
4779ALIGN="RIGHT"
4780VALIGN="TOP"
4781><TT
4782CLASS="PARAMETER"
4783><I
4784>type</I
4785></TT
4786>&nbsp;:</TD
4787><TD
4788WIDTH="80%"
4789ALIGN="LEFT"
4790VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004791> an attribute type</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004792></TR
4793><TR
4794><TD
4795WIDTH="20%"
4796ALIGN="RIGHT"
4797VALIGN="TOP"
4798><TT
4799CLASS="PARAMETER"
4800><I
4801>value</I
4802></TT
4803>&nbsp;:</TD
4804><TD
4805WIDTH="80%"
4806ALIGN="LEFT"
4807VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004808> an attribute value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004809></TR
4810><TR
4811><TD
4812WIDTH="20%"
4813ALIGN="RIGHT"
4814VALIGN="TOP"
4815><I
4816CLASS="EMPHASIS"
4817>Returns</I
4818> :</TD
4819><TD
4820WIDTH="80%"
4821ALIGN="LEFT"
4822VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004823>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004824></TR
4825></TABLE
4826><P
4827></P
4828></DIV
4829></DIV
4830><HR><DIV
4831CLASS="REFSECT2"
4832><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00004833NAME="AEN7525"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004834></A
4835><H3
4836><A
4837NAME="XMLVALIDATENOTATIONDECL"
4838></A
4839>xmlValidateNotationDecl ()</H3
4840><TABLE
4841BORDER="0"
4842BGCOLOR="#D6E8FF"
4843WIDTH="100%"
4844CELLPADDING="6"
4845><TR
4846><TD
4847><PRE
4848CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004849>int xmlValidateNotationDecl (<A
4850HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4851>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004852> ctxt,
4853 <A
4854HREF="gnome-xml-tree.html#XMLDOCPTR"
4855>xmlDocPtr</A
4856> doc,
4857 <A
4858HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
4859>xmlNotationPtr</A
4860> nota);</PRE
4861></TD
4862></TR
4863></TABLE
4864><P
4865>Try to validate a single notation definition
4866basically it does the following checks as described by the
4867XML-1.0 recommendation:
4868- it seems that no validity constraing exist on notation declarations
4869But this function get called anyway ...</P
4870><P
4871></P
4872><DIV
4873CLASS="INFORMALTABLE"
4874><P
4875></P
4876><TABLE
4877BORDER="0"
4878WIDTH="100%"
4879BGCOLOR="#FFD0D0"
4880CELLSPACING="0"
4881CELLPADDING="4"
4882CLASS="CALSTABLE"
4883><TR
4884><TD
4885WIDTH="20%"
4886ALIGN="RIGHT"
4887VALIGN="TOP"
4888><TT
4889CLASS="PARAMETER"
4890><I
4891>ctxt</I
4892></TT
4893>&nbsp;:</TD
4894><TD
4895WIDTH="80%"
4896ALIGN="LEFT"
4897VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004898> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004899></TR
4900><TR
4901><TD
4902WIDTH="20%"
4903ALIGN="RIGHT"
4904VALIGN="TOP"
4905><TT
4906CLASS="PARAMETER"
4907><I
4908>doc</I
4909></TT
4910>&nbsp;:</TD
4911><TD
4912WIDTH="80%"
4913ALIGN="LEFT"
4914VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004915> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004916></TR
4917><TR
4918><TD
4919WIDTH="20%"
4920ALIGN="RIGHT"
4921VALIGN="TOP"
4922><TT
4923CLASS="PARAMETER"
4924><I
4925>nota</I
4926></TT
4927>&nbsp;:</TD
4928><TD
4929WIDTH="80%"
4930ALIGN="LEFT"
4931VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004932> a notation definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004933></TR
4934><TR
4935><TD
4936WIDTH="20%"
4937ALIGN="RIGHT"
4938VALIGN="TOP"
4939><I
4940CLASS="EMPHASIS"
4941>Returns</I
4942> :</TD
4943><TD
4944WIDTH="80%"
4945ALIGN="LEFT"
4946VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004947>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004948></TR
4949></TABLE
4950><P
4951></P
4952></DIV
4953></DIV
4954><HR><DIV
4955CLASS="REFSECT2"
4956><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00004957NAME="AEN7555"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004958></A
4959><H3
4960><A
4961NAME="XMLVALIDATEDTD"
4962></A
4963>xmlValidateDtd ()</H3
4964><TABLE
4965BORDER="0"
4966BGCOLOR="#D6E8FF"
4967WIDTH="100%"
4968CELLPADDING="6"
4969><TR
4970><TD
4971><PRE
4972CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004973>int xmlValidateDtd (<A
4974HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4975>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004976> ctxt,
4977 <A
4978HREF="gnome-xml-tree.html#XMLDOCPTR"
4979>xmlDocPtr</A
4980> doc,
4981 <A
4982HREF="gnome-xml-tree.html#XMLDTDPTR"
4983>xmlDtdPtr</A
4984> dtd);</PRE
4985></TD
4986></TR
4987></TABLE
4988><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00004989>Try to validate the document against the dtd instance</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004990><P
4991>basically it does check all the definitions in the DtD.</P
4992><P
4993></P
4994><DIV
4995CLASS="INFORMALTABLE"
4996><P
4997></P
4998><TABLE
4999BORDER="0"
5000WIDTH="100%"
5001BGCOLOR="#FFD0D0"
5002CELLSPACING="0"
5003CELLPADDING="4"
5004CLASS="CALSTABLE"
5005><TR
5006><TD
5007WIDTH="20%"
5008ALIGN="RIGHT"
5009VALIGN="TOP"
5010><TT
5011CLASS="PARAMETER"
5012><I
5013>ctxt</I
5014></TT
5015>&nbsp;:</TD
5016><TD
5017WIDTH="80%"
5018ALIGN="LEFT"
5019VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005020> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005021></TR
5022><TR
5023><TD
5024WIDTH="20%"
5025ALIGN="RIGHT"
5026VALIGN="TOP"
5027><TT
5028CLASS="PARAMETER"
5029><I
5030>doc</I
5031></TT
5032>&nbsp;:</TD
5033><TD
5034WIDTH="80%"
5035ALIGN="LEFT"
5036VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005037> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005038></TR
5039><TR
5040><TD
5041WIDTH="20%"
5042ALIGN="RIGHT"
5043VALIGN="TOP"
5044><TT
5045CLASS="PARAMETER"
5046><I
5047>dtd</I
5048></TT
5049>&nbsp;:</TD
5050><TD
5051WIDTH="80%"
5052ALIGN="LEFT"
5053VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005054> a dtd instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005055></TR
5056><TR
5057><TD
5058WIDTH="20%"
5059ALIGN="RIGHT"
5060VALIGN="TOP"
5061><I
5062CLASS="EMPHASIS"
5063>Returns</I
5064> :</TD
5065><TD
5066WIDTH="80%"
5067ALIGN="LEFT"
5068VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005069>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005070></TR
5071></TABLE
5072><P
5073></P
5074></DIV
5075></DIV
5076><HR><DIV
5077CLASS="REFSECT2"
5078><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00005079NAME="AEN7586"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005080></A
5081><H3
5082><A
5083NAME="XMLVALIDATEDOCUMENT"
5084></A
5085>xmlValidateDocument ()</H3
5086><TABLE
5087BORDER="0"
5088BGCOLOR="#D6E8FF"
5089WIDTH="100%"
5090CELLPADDING="6"
5091><TR
5092><TD
5093><PRE
5094CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005095>int xmlValidateDocument (<A
5096HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5097>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005098> ctxt,
5099 <A
5100HREF="gnome-xml-tree.html#XMLDOCPTR"
5101>xmlDocPtr</A
5102> doc);</PRE
5103></TD
5104></TR
5105></TABLE
5106><P
5107>Try to validate the document instance</P
5108><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005109>basically it does the all the checks described by the XML Rec
Daniel Veillardb05deb71999-08-10 19:04:08 +00005110i.e. validates the internal and external subset (if present)
5111and validate the document tree.</P
5112><P
5113></P
5114><DIV
5115CLASS="INFORMALTABLE"
5116><P
5117></P
5118><TABLE
5119BORDER="0"
5120WIDTH="100%"
5121BGCOLOR="#FFD0D0"
5122CELLSPACING="0"
5123CELLPADDING="4"
5124CLASS="CALSTABLE"
5125><TR
5126><TD
5127WIDTH="20%"
5128ALIGN="RIGHT"
5129VALIGN="TOP"
5130><TT
5131CLASS="PARAMETER"
5132><I
5133>ctxt</I
5134></TT
5135>&nbsp;:</TD
5136><TD
5137WIDTH="80%"
5138ALIGN="LEFT"
5139VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005140> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005141></TR
5142><TR
5143><TD
5144WIDTH="20%"
5145ALIGN="RIGHT"
5146VALIGN="TOP"
5147><TT
5148CLASS="PARAMETER"
5149><I
5150>doc</I
5151></TT
5152>&nbsp;:</TD
5153><TD
5154WIDTH="80%"
5155ALIGN="LEFT"
5156VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005157> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005158></TR
5159><TR
5160><TD
5161WIDTH="20%"
5162ALIGN="RIGHT"
5163VALIGN="TOP"
5164><I
5165CLASS="EMPHASIS"
5166>Returns</I
5167> :</TD
5168><TD
5169WIDTH="80%"
5170ALIGN="LEFT"
5171VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005172>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005173></TR
5174></TABLE
5175><P
5176></P
5177></DIV
5178></DIV
5179><HR><DIV
5180CLASS="REFSECT2"
5181><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00005182NAME="AEN7612"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005183></A
5184><H3
5185><A
5186NAME="XMLVALIDATEELEMENT"
5187></A
5188>xmlValidateElement ()</H3
5189><TABLE
5190BORDER="0"
5191BGCOLOR="#D6E8FF"
5192WIDTH="100%"
5193CELLPADDING="6"
5194><TR
5195><TD
5196><PRE
5197CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005198>int xmlValidateElement (<A
5199HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5200>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005201> ctxt,
5202 <A
5203HREF="gnome-xml-tree.html#XMLDOCPTR"
5204>xmlDocPtr</A
5205> doc,
5206 <A
5207HREF="gnome-xml-tree.html#XMLNODEPTR"
5208>xmlNodePtr</A
5209> elem);</PRE
5210></TD
5211></TR
5212></TABLE
5213><P
5214>Try to validate the subtree under an element</P
5215><P
5216></P
5217><DIV
5218CLASS="INFORMALTABLE"
5219><P
5220></P
5221><TABLE
5222BORDER="0"
5223WIDTH="100%"
5224BGCOLOR="#FFD0D0"
5225CELLSPACING="0"
5226CELLPADDING="4"
5227CLASS="CALSTABLE"
5228><TR
5229><TD
5230WIDTH="20%"
5231ALIGN="RIGHT"
5232VALIGN="TOP"
5233><TT
5234CLASS="PARAMETER"
5235><I
5236>ctxt</I
5237></TT
5238>&nbsp;:</TD
5239><TD
5240WIDTH="80%"
5241ALIGN="LEFT"
5242VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005243> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005244></TR
5245><TR
5246><TD
5247WIDTH="20%"
5248ALIGN="RIGHT"
5249VALIGN="TOP"
5250><TT
5251CLASS="PARAMETER"
5252><I
5253>doc</I
5254></TT
5255>&nbsp;:</TD
5256><TD
5257WIDTH="80%"
5258ALIGN="LEFT"
5259VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005260> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005261></TR
5262><TR
5263><TD
5264WIDTH="20%"
5265ALIGN="RIGHT"
5266VALIGN="TOP"
5267><TT
5268CLASS="PARAMETER"
5269><I
5270>elem</I
5271></TT
5272>&nbsp;:</TD
5273><TD
5274WIDTH="80%"
5275ALIGN="LEFT"
5276VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005277> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005278></TR
5279><TR
5280><TD
5281WIDTH="20%"
5282ALIGN="RIGHT"
5283VALIGN="TOP"
5284><I
5285CLASS="EMPHASIS"
5286>Returns</I
5287> :</TD
5288><TD
5289WIDTH="80%"
5290ALIGN="LEFT"
5291VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005292>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005293></TR
5294></TABLE
5295><P
5296></P
5297></DIV
5298></DIV
5299><HR><DIV
5300CLASS="REFSECT2"
5301><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00005302NAME="AEN7642"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005303></A
5304><H3
5305><A
5306NAME="XMLVALIDATEONEELEMENT"
5307></A
5308>xmlValidateOneElement ()</H3
5309><TABLE
5310BORDER="0"
5311BGCOLOR="#D6E8FF"
5312WIDTH="100%"
5313CELLPADDING="6"
5314><TR
5315><TD
5316><PRE
5317CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005318>int xmlValidateOneElement (<A
5319HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5320>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005321> ctxt,
5322 <A
5323HREF="gnome-xml-tree.html#XMLDOCPTR"
5324>xmlDocPtr</A
5325> doc,
5326 <A
5327HREF="gnome-xml-tree.html#XMLNODEPTR"
5328>xmlNodePtr</A
5329> elem);</PRE
5330></TD
5331></TR
5332></TABLE
5333><P
5334>Try to validate a single element and it's attributes,
5335basically it does the following checks as described by the
5336XML-1.0 recommendation:
5337- [ VC: Element Valid ]
5338- [ VC: Required Attribute ]
5339Then call <A
5340HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE"
5341>xmlValidateOneAttribute</A
5342>() for each attribute present.</P
5343><P
5344>The ID/IDREF checkings are done separately</P
5345><P
5346></P
5347><DIV
5348CLASS="INFORMALTABLE"
5349><P
5350></P
5351><TABLE
5352BORDER="0"
5353WIDTH="100%"
5354BGCOLOR="#FFD0D0"
5355CELLSPACING="0"
5356CELLPADDING="4"
5357CLASS="CALSTABLE"
5358><TR
5359><TD
5360WIDTH="20%"
5361ALIGN="RIGHT"
5362VALIGN="TOP"
5363><TT
5364CLASS="PARAMETER"
5365><I
5366>ctxt</I
5367></TT
5368>&nbsp;:</TD
5369><TD
5370WIDTH="80%"
5371ALIGN="LEFT"
5372VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005373> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005374></TR
5375><TR
5376><TD
5377WIDTH="20%"
5378ALIGN="RIGHT"
5379VALIGN="TOP"
5380><TT
5381CLASS="PARAMETER"
5382><I
5383>doc</I
5384></TT
5385>&nbsp;:</TD
5386><TD
5387WIDTH="80%"
5388ALIGN="LEFT"
5389VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005390> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005391></TR
5392><TR
5393><TD
5394WIDTH="20%"
5395ALIGN="RIGHT"
5396VALIGN="TOP"
5397><TT
5398CLASS="PARAMETER"
5399><I
5400>elem</I
5401></TT
5402>&nbsp;:</TD
5403><TD
5404WIDTH="80%"
5405ALIGN="LEFT"
5406VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005407> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005408></TR
5409><TR
5410><TD
5411WIDTH="20%"
5412ALIGN="RIGHT"
5413VALIGN="TOP"
5414><I
5415CLASS="EMPHASIS"
5416>Returns</I
5417> :</TD
5418><TD
5419WIDTH="80%"
5420ALIGN="LEFT"
5421VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005422>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005423></TR
5424></TABLE
5425><P
5426></P
5427></DIV
5428></DIV
5429><HR><DIV
5430CLASS="REFSECT2"
5431><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00005432NAME="AEN7674"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005433></A
5434><H3
5435><A
5436NAME="XMLVALIDATEONEATTRIBUTE"
5437></A
5438>xmlValidateOneAttribute ()</H3
5439><TABLE
5440BORDER="0"
5441BGCOLOR="#D6E8FF"
5442WIDTH="100%"
5443CELLPADDING="6"
5444><TR
5445><TD
5446><PRE
5447CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005448>int xmlValidateOneAttribute (<A
5449HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5450>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005451> ctxt,
5452 <A
5453HREF="gnome-xml-tree.html#XMLDOCPTR"
5454>xmlDocPtr</A
5455> doc,
5456 <A
5457HREF="gnome-xml-tree.html#XMLNODEPTR"
5458>xmlNodePtr</A
5459> elem,
5460 <A
5461HREF="gnome-xml-tree.html#XMLATTRPTR"
5462>xmlAttrPtr</A
5463> attr,
5464 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005465HREF="gnome-xml-tree.html#XMLCHAR"
5466>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005467> *value);</PRE
5468></TD
5469></TR
5470></TABLE
5471><P
5472>Try to validate a single attribute for an element
5473basically it * does the following checks as described by the
5474XML-1.0 recommendation:
5475- [ VC: Attribute Value Type ]
5476- [ VC: Fixed Attribute Default ]
5477- [ VC: Entity Name ]
5478- [ VC: Name Token ]
5479- [ VC: ID ]
5480- [ VC: IDREF ]
5481- [ VC: Entity Name ]
5482- [ VC: Notation Attributes ]</P
5483><P
5484>The ID/IDREF uniqueness and matching are done separately</P
5485><P
5486></P
5487><DIV
5488CLASS="INFORMALTABLE"
5489><P
5490></P
5491><TABLE
5492BORDER="0"
5493WIDTH="100%"
5494BGCOLOR="#FFD0D0"
5495CELLSPACING="0"
5496CELLPADDING="4"
5497CLASS="CALSTABLE"
5498><TR
5499><TD
5500WIDTH="20%"
5501ALIGN="RIGHT"
5502VALIGN="TOP"
5503><TT
5504CLASS="PARAMETER"
5505><I
5506>ctxt</I
5507></TT
5508>&nbsp;:</TD
5509><TD
5510WIDTH="80%"
5511ALIGN="LEFT"
5512VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005513> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005514></TR
5515><TR
5516><TD
5517WIDTH="20%"
5518ALIGN="RIGHT"
5519VALIGN="TOP"
5520><TT
5521CLASS="PARAMETER"
5522><I
5523>doc</I
5524></TT
5525>&nbsp;:</TD
5526><TD
5527WIDTH="80%"
5528ALIGN="LEFT"
5529VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005530> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005531></TR
5532><TR
5533><TD
5534WIDTH="20%"
5535ALIGN="RIGHT"
5536VALIGN="TOP"
5537><TT
5538CLASS="PARAMETER"
5539><I
5540>elem</I
5541></TT
5542>&nbsp;:</TD
5543><TD
5544WIDTH="80%"
5545ALIGN="LEFT"
5546VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005547> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005548></TR
5549><TR
5550><TD
5551WIDTH="20%"
5552ALIGN="RIGHT"
5553VALIGN="TOP"
5554><TT
5555CLASS="PARAMETER"
5556><I
5557>attr</I
5558></TT
5559>&nbsp;:</TD
5560><TD
5561WIDTH="80%"
5562ALIGN="LEFT"
5563VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005564> an attribute instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005565></TR
5566><TR
5567><TD
5568WIDTH="20%"
5569ALIGN="RIGHT"
5570VALIGN="TOP"
5571><TT
5572CLASS="PARAMETER"
5573><I
5574>value</I
5575></TT
5576>&nbsp;:</TD
5577><TD
5578WIDTH="80%"
5579ALIGN="LEFT"
5580VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005581> the attribute value (without entities processing)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005582></TR
5583><TR
5584><TD
5585WIDTH="20%"
5586ALIGN="RIGHT"
5587VALIGN="TOP"
5588><I
5589CLASS="EMPHASIS"
5590>Returns</I
5591> :</TD
5592><TD
5593WIDTH="80%"
5594ALIGN="LEFT"
5595VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005596>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005597></TR
5598></TABLE
5599><P
5600></P
5601></DIV
5602></DIV
5603><HR><DIV
5604CLASS="REFSECT2"
5605><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00005606NAME="AEN7715"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005607></A
5608><H3
5609><A
5610NAME="XMLVALIDATEDOCUMENTFINAL"
5611></A
5612>xmlValidateDocumentFinal ()</H3
5613><TABLE
5614BORDER="0"
5615BGCOLOR="#D6E8FF"
5616WIDTH="100%"
5617CELLPADDING="6"
5618><TR
5619><TD
5620><PRE
5621CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005622>int xmlValidateDocumentFinal (<A
5623HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5624>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005625> ctxt,
5626 <A
5627HREF="gnome-xml-tree.html#XMLDOCPTR"
5628>xmlDocPtr</A
5629> doc);</PRE
5630></TD
5631></TR
5632></TABLE
5633><P
5634>Does the final step for the document validation once all the
5635incremental validation steps have been completed</P
5636><P
5637>basically it does the following checks described by the XML Rec</P
5638><P
5639></P
5640><DIV
5641CLASS="INFORMALTABLE"
5642><P
5643></P
5644><TABLE
5645BORDER="0"
5646WIDTH="100%"
5647BGCOLOR="#FFD0D0"
5648CELLSPACING="0"
5649CELLPADDING="4"
5650CLASS="CALSTABLE"
5651><TR
5652><TD
5653WIDTH="20%"
5654ALIGN="RIGHT"
5655VALIGN="TOP"
5656><TT
5657CLASS="PARAMETER"
5658><I
5659>ctxt</I
5660></TT
5661>&nbsp;:</TD
5662><TD
5663WIDTH="80%"
5664ALIGN="LEFT"
5665VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005666> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005667></TR
5668><TR
5669><TD
5670WIDTH="20%"
5671ALIGN="RIGHT"
5672VALIGN="TOP"
5673><TT
5674CLASS="PARAMETER"
5675><I
5676>doc</I
5677></TT
5678>&nbsp;:</TD
5679><TD
5680WIDTH="80%"
5681ALIGN="LEFT"
5682VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005683> a document instance</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005684></TR
5685><TR
5686><TD
5687WIDTH="20%"
5688ALIGN="RIGHT"
5689VALIGN="TOP"
5690><I
5691CLASS="EMPHASIS"
5692>Returns</I
5693> :</TD
5694><TD
5695WIDTH="80%"
5696ALIGN="LEFT"
5697VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005698>1 if valid or 0 otherwise</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005699></TR
5700></TABLE
5701><P
5702></P
5703></DIV
5704></DIV
5705><HR><DIV
5706CLASS="REFSECT2"
5707><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00005708NAME="AEN7741"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005709></A
5710><H3
5711><A
5712NAME="XMLVALIDATENOTATIONUSE"
5713></A
5714>xmlValidateNotationUse ()</H3
5715><TABLE
5716BORDER="0"
5717BGCOLOR="#D6E8FF"
5718WIDTH="100%"
5719CELLPADDING="6"
5720><TR
5721><TD
5722><PRE
5723CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005724>int xmlValidateNotationUse (<A
5725HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5726>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005727> ctxt,
5728 <A
5729HREF="gnome-xml-tree.html#XMLDOCPTR"
5730>xmlDocPtr</A
5731> doc,
5732 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005733HREF="gnome-xml-tree.html#XMLCHAR"
5734>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005735> *notationName);</PRE
5736></TD
5737></TR
5738></TABLE
5739><P
5740>Validate that the given mame match a notation declaration.
5741- [ VC: Notation Declared ]</P
5742><P
5743></P
5744><DIV
5745CLASS="INFORMALTABLE"
5746><P
5747></P
5748><TABLE
5749BORDER="0"
5750WIDTH="100%"
5751BGCOLOR="#FFD0D0"
5752CELLSPACING="0"
5753CELLPADDING="4"
5754CLASS="CALSTABLE"
5755><TR
5756><TD
5757WIDTH="20%"
5758ALIGN="RIGHT"
5759VALIGN="TOP"
5760><TT
5761CLASS="PARAMETER"
5762><I
5763>ctxt</I
5764></TT
5765>&nbsp;:</TD
5766><TD
5767WIDTH="80%"
5768ALIGN="LEFT"
5769VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005770> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005771></TR
5772><TR
5773><TD
5774WIDTH="20%"
5775ALIGN="RIGHT"
5776VALIGN="TOP"
5777><TT
5778CLASS="PARAMETER"
5779><I
5780>doc</I
5781></TT
5782>&nbsp;:</TD
5783><TD
5784WIDTH="80%"
5785ALIGN="LEFT"
5786VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005787> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005788></TR
5789><TR
5790><TD
5791WIDTH="20%"
5792ALIGN="RIGHT"
5793VALIGN="TOP"
5794><TT
5795CLASS="PARAMETER"
5796><I
5797>notationName</I
5798></TT
5799>&nbsp;:</TD
5800><TD
5801WIDTH="80%"
5802ALIGN="LEFT"
5803VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005804> the notation name to check</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005805></TR
5806><TR
5807><TD
5808WIDTH="20%"
5809ALIGN="RIGHT"
5810VALIGN="TOP"
5811><I
5812CLASS="EMPHASIS"
5813>Returns</I
5814> :</TD
5815><TD
5816WIDTH="80%"
5817ALIGN="LEFT"
5818VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005819>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005820></TR
5821></TABLE
5822><P
5823></P
5824></DIV
5825></DIV
5826><HR><DIV
5827CLASS="REFSECT2"
5828><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00005829NAME="AEN7771"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005830></A
5831><H3
5832><A
5833NAME="XMLISMIXEDELEMENT"
5834></A
5835>xmlIsMixedElement ()</H3
5836><TABLE
5837BORDER="0"
5838BGCOLOR="#D6E8FF"
5839WIDTH="100%"
5840CELLPADDING="6"
5841><TR
5842><TD
5843><PRE
5844CLASS="PROGRAMLISTING"
5845>int xmlIsMixedElement (<A
5846HREF="gnome-xml-tree.html#XMLDOCPTR"
5847>xmlDocPtr</A
5848> doc,
5849 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005850HREF="gnome-xml-tree.html#XMLCHAR"
5851>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005852> *name);</PRE
5853></TD
5854></TR
5855></TABLE
5856><P
5857>Search in the DtDs whether an element accept Mixed content (or ANY)
5858basically if it is supposed to accept text childs</P
5859><P
5860></P
5861><DIV
5862CLASS="INFORMALTABLE"
5863><P
5864></P
5865><TABLE
5866BORDER="0"
5867WIDTH="100%"
5868BGCOLOR="#FFD0D0"
5869CELLSPACING="0"
5870CELLPADDING="4"
5871CLASS="CALSTABLE"
5872><TR
5873><TD
5874WIDTH="20%"
5875ALIGN="RIGHT"
5876VALIGN="TOP"
5877><TT
5878CLASS="PARAMETER"
5879><I
5880>doc</I
5881></TT
5882>&nbsp;:</TD
5883><TD
5884WIDTH="80%"
5885ALIGN="LEFT"
5886VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005887> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005888></TR
5889><TR
5890><TD
5891WIDTH="20%"
5892ALIGN="RIGHT"
5893VALIGN="TOP"
5894><TT
5895CLASS="PARAMETER"
5896><I
5897>name</I
5898></TT
5899>&nbsp;:</TD
5900><TD
5901WIDTH="80%"
5902ALIGN="LEFT"
5903VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005904> the element name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005905></TR
5906><TR
5907><TD
5908WIDTH="20%"
5909ALIGN="RIGHT"
5910VALIGN="TOP"
5911><I
5912CLASS="EMPHASIS"
5913>Returns</I
5914> :</TD
5915><TD
5916WIDTH="80%"
5917ALIGN="LEFT"
5918VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005919>0 if no, 1 if yes, and -1 if no element description is available</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005920></TR
5921></TABLE
5922><P
5923></P
5924></DIV
5925></DIV
5926><HR><DIV
5927CLASS="REFSECT2"
5928><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00005929NAME="AEN7796"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005930></A
5931><H3
5932><A
5933NAME="XMLGETDTDATTRDESC"
5934></A
5935>xmlGetDtdAttrDesc ()</H3
5936><TABLE
5937BORDER="0"
5938BGCOLOR="#D6E8FF"
5939WIDTH="100%"
5940CELLPADDING="6"
5941><TR
5942><TD
5943><PRE
5944CLASS="PROGRAMLISTING"
5945><A
5946HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
5947>xmlAttributePtr</A
5948> xmlGetDtdAttrDesc (<A
5949HREF="gnome-xml-tree.html#XMLDTDPTR"
5950>xmlDtdPtr</A
5951> dtd,
5952 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005953HREF="gnome-xml-tree.html#XMLCHAR"
5954>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005955> *elem,
5956 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005957HREF="gnome-xml-tree.html#XMLCHAR"
5958>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005959> *name);</PRE
5960></TD
5961></TR
5962></TABLE
5963><P
5964>Search the Dtd for the description of this attribute on
5965this element.</P
5966><P
5967></P
5968><DIV
5969CLASS="INFORMALTABLE"
5970><P
5971></P
5972><TABLE
5973BORDER="0"
5974WIDTH="100%"
5975BGCOLOR="#FFD0D0"
5976CELLSPACING="0"
5977CELLPADDING="4"
5978CLASS="CALSTABLE"
5979><TR
5980><TD
5981WIDTH="20%"
5982ALIGN="RIGHT"
5983VALIGN="TOP"
5984><TT
5985CLASS="PARAMETER"
5986><I
5987>dtd</I
5988></TT
5989>&nbsp;:</TD
5990><TD
5991WIDTH="80%"
5992ALIGN="LEFT"
5993VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005994> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005995></TR
5996><TR
5997><TD
5998WIDTH="20%"
5999ALIGN="RIGHT"
6000VALIGN="TOP"
6001><TT
6002CLASS="PARAMETER"
6003><I
6004>elem</I
6005></TT
6006>&nbsp;:</TD
6007><TD
6008WIDTH="80%"
6009ALIGN="LEFT"
6010VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006011> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006012></TR
6013><TR
6014><TD
6015WIDTH="20%"
6016ALIGN="RIGHT"
6017VALIGN="TOP"
6018><TT
6019CLASS="PARAMETER"
6020><I
6021>name</I
6022></TT
6023>&nbsp;:</TD
6024><TD
6025WIDTH="80%"
6026ALIGN="LEFT"
6027VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006028> the attribute name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006029></TR
6030><TR
6031><TD
6032WIDTH="20%"
6033ALIGN="RIGHT"
6034VALIGN="TOP"
6035><I
6036CLASS="EMPHASIS"
6037>Returns</I
6038> :</TD
6039><TD
6040WIDTH="80%"
6041ALIGN="LEFT"
6042VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006043>the xmlAttributePtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006044></TR
6045></TABLE
6046><P
6047></P
6048></DIV
6049></DIV
6050><HR><DIV
6051CLASS="REFSECT2"
6052><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00006053NAME="AEN7827"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006054></A
6055><H3
6056><A
6057NAME="XMLGETDTDNOTATIONDESC"
6058></A
6059>xmlGetDtdNotationDesc ()</H3
6060><TABLE
6061BORDER="0"
6062BGCOLOR="#D6E8FF"
6063WIDTH="100%"
6064CELLPADDING="6"
6065><TR
6066><TD
6067><PRE
6068CLASS="PROGRAMLISTING"
6069><A
6070HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
6071>xmlNotationPtr</A
6072> xmlGetDtdNotationDesc (<A
6073HREF="gnome-xml-tree.html#XMLDTDPTR"
6074>xmlDtdPtr</A
6075> dtd,
6076 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006077HREF="gnome-xml-tree.html#XMLCHAR"
6078>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006079> *name);</PRE
6080></TD
6081></TR
6082></TABLE
6083><P
6084>Search the Dtd for the description of this notation</P
6085><P
6086></P
6087><DIV
6088CLASS="INFORMALTABLE"
6089><P
6090></P
6091><TABLE
6092BORDER="0"
6093WIDTH="100%"
6094BGCOLOR="#FFD0D0"
6095CELLSPACING="0"
6096CELLPADDING="4"
6097CLASS="CALSTABLE"
6098><TR
6099><TD
6100WIDTH="20%"
6101ALIGN="RIGHT"
6102VALIGN="TOP"
6103><TT
6104CLASS="PARAMETER"
6105><I
6106>dtd</I
6107></TT
6108>&nbsp;:</TD
6109><TD
6110WIDTH="80%"
6111ALIGN="LEFT"
6112VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006113> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006114></TR
6115><TR
6116><TD
6117WIDTH="20%"
6118ALIGN="RIGHT"
6119VALIGN="TOP"
6120><TT
6121CLASS="PARAMETER"
6122><I
6123>name</I
6124></TT
6125>&nbsp;:</TD
6126><TD
6127WIDTH="80%"
6128ALIGN="LEFT"
6129VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006130> the notation name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006131></TR
6132><TR
6133><TD
6134WIDTH="20%"
6135ALIGN="RIGHT"
6136VALIGN="TOP"
6137><I
6138CLASS="EMPHASIS"
6139>Returns</I
6140> :</TD
6141><TD
6142WIDTH="80%"
6143ALIGN="LEFT"
6144VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006145>the xmlNotationPtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006146></TR
6147></TABLE
6148><P
6149></P
6150></DIV
6151></DIV
6152><HR><DIV
6153CLASS="REFSECT2"
6154><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00006155NAME="AEN7853"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006156></A
6157><H3
6158><A
6159NAME="XMLGETDTDELEMENTDESC"
6160></A
6161>xmlGetDtdElementDesc ()</H3
6162><TABLE
6163BORDER="0"
6164BGCOLOR="#D6E8FF"
6165WIDTH="100%"
6166CELLPADDING="6"
6167><TR
6168><TD
6169><PRE
6170CLASS="PROGRAMLISTING"
6171><A
6172HREF="gnome-xml-tree.html#XMLELEMENTPTR"
6173>xmlElementPtr</A
6174> xmlGetDtdElementDesc (<A
6175HREF="gnome-xml-tree.html#XMLDTDPTR"
6176>xmlDtdPtr</A
6177> dtd,
6178 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006179HREF="gnome-xml-tree.html#XMLCHAR"
6180>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006181> *name);</PRE
6182></TD
6183></TR
6184></TABLE
6185><P
6186>Search the Dtd for the description of this element</P
6187><P
6188></P
6189><DIV
6190CLASS="INFORMALTABLE"
6191><P
6192></P
6193><TABLE
6194BORDER="0"
6195WIDTH="100%"
6196BGCOLOR="#FFD0D0"
6197CELLSPACING="0"
6198CELLPADDING="4"
6199CLASS="CALSTABLE"
6200><TR
6201><TD
6202WIDTH="20%"
6203ALIGN="RIGHT"
6204VALIGN="TOP"
6205><TT
6206CLASS="PARAMETER"
6207><I
6208>dtd</I
6209></TT
6210>&nbsp;:</TD
6211><TD
6212WIDTH="80%"
6213ALIGN="LEFT"
6214VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006215> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006216></TR
6217><TR
6218><TD
6219WIDTH="20%"
6220ALIGN="RIGHT"
6221VALIGN="TOP"
6222><TT
6223CLASS="PARAMETER"
6224><I
6225>name</I
6226></TT
6227>&nbsp;:</TD
6228><TD
6229WIDTH="80%"
6230ALIGN="LEFT"
6231VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006232> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006233></TR
6234><TR
6235><TD
6236WIDTH="20%"
6237ALIGN="RIGHT"
6238VALIGN="TOP"
6239><I
6240CLASS="EMPHASIS"
6241>Returns</I
6242> :</TD
6243><TD
6244WIDTH="80%"
6245ALIGN="LEFT"
6246VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006247>the xmlElementPtr if found or NULL</TD
Daniel Veillard35008381999-10-25 13:15:52 +00006248></TR
6249></TABLE
6250><P
6251></P
6252></DIV
6253></DIV
6254><HR><DIV
6255CLASS="REFSECT2"
6256><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00006257NAME="AEN7879"
Daniel Veillard35008381999-10-25 13:15:52 +00006258></A
6259><H3
6260><A
6261NAME="XMLVALIDGETVALIDELEMENTS"
6262></A
6263>xmlValidGetValidElements ()</H3
6264><TABLE
6265BORDER="0"
6266BGCOLOR="#D6E8FF"
6267WIDTH="100%"
6268CELLPADDING="6"
6269><TR
6270><TD
6271><PRE
6272CLASS="PROGRAMLISTING"
6273>int xmlValidGetValidElements (<A
6274HREF="gnome-xml-tree.html#XMLNODE"
6275>xmlNode</A
6276> *prev,
6277 <A
6278HREF="gnome-xml-tree.html#XMLNODE"
6279>xmlNode</A
6280> *next,
6281 const <A
6282HREF="gnome-xml-tree.html#XMLCHAR"
6283>xmlChar</A
6284> **list,
6285 int max);</PRE
6286></TD
6287></TR
6288></TABLE
6289><P
6290>This function returns the list of authorized children to insert
6291within an existing tree while respecting the validity constraints
6292forced by the Dtd. The insertion point is defined using <TT
6293CLASS="PARAMETER"
6294><I
6295>prev</I
6296></TT
6297> and
6298<TT
6299CLASS="PARAMETER"
6300><I
6301>next</I
6302></TT
6303> in the following ways:
6304to insert before 'node': xmlValidGetValidElements(node-&gt;prev, node, ...
6305to insert next 'node': xmlValidGetValidElements(node, node-&gt;next, ...
6306to replace 'node': xmlValidGetValidElements(node-&gt;prev, node-&gt;next, ...
6307to prepend a child to 'node': xmlValidGetValidElements(NULL, node-&gt;childs,
6308to append a child to 'node': xmlValidGetValidElements(node-&gt;last, NULL, ...</P
6309><P
6310>pointers to the element names are inserted at the beginning of the array
6311and do not need to be freed.</P
6312><P
6313></P
6314><DIV
6315CLASS="INFORMALTABLE"
6316><P
6317></P
6318><TABLE
6319BORDER="0"
6320WIDTH="100%"
6321BGCOLOR="#FFD0D0"
6322CELLSPACING="0"
6323CELLPADDING="4"
6324CLASS="CALSTABLE"
6325><TR
6326><TD
6327WIDTH="20%"
6328ALIGN="RIGHT"
6329VALIGN="TOP"
6330><TT
6331CLASS="PARAMETER"
6332><I
6333>prev</I
6334></TT
6335>&nbsp;:</TD
6336><TD
6337WIDTH="80%"
6338ALIGN="LEFT"
6339VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006340> an element to insert after</TD
Daniel Veillard35008381999-10-25 13:15:52 +00006341></TR
6342><TR
6343><TD
6344WIDTH="20%"
6345ALIGN="RIGHT"
6346VALIGN="TOP"
6347><TT
6348CLASS="PARAMETER"
6349><I
6350>next</I
6351></TT
6352>&nbsp;:</TD
6353><TD
6354WIDTH="80%"
6355ALIGN="LEFT"
6356VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006357> an element to insert next</TD
Daniel Veillard35008381999-10-25 13:15:52 +00006358></TR
6359><TR
6360><TD
6361WIDTH="20%"
6362ALIGN="RIGHT"
6363VALIGN="TOP"
6364><TT
6365CLASS="PARAMETER"
6366><I
6367>list</I
6368></TT
6369>&nbsp;:</TD
6370><TD
6371WIDTH="80%"
6372ALIGN="LEFT"
6373VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006374> an array to store the list of child names</TD
Daniel Veillard35008381999-10-25 13:15:52 +00006375></TR
6376><TR
6377><TD
6378WIDTH="20%"
6379ALIGN="RIGHT"
6380VALIGN="TOP"
6381><TT
6382CLASS="PARAMETER"
6383><I
6384>max</I
6385></TT
6386>&nbsp;:</TD
6387><TD
6388WIDTH="80%"
6389ALIGN="LEFT"
6390VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006391> the size of the array</TD
Daniel Veillard35008381999-10-25 13:15:52 +00006392></TR
6393><TR
6394><TD
6395WIDTH="20%"
6396ALIGN="RIGHT"
6397VALIGN="TOP"
6398><I
6399CLASS="EMPHASIS"
6400>Returns</I
6401> :</TD
6402><TD
6403WIDTH="80%"
6404ALIGN="LEFT"
6405VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006406>the number of element in the list, or -1 in case of error. If
6407the function returns the value <TT
6408CLASS="PARAMETER"
6409><I
6410>max</I
6411></TT
6412> the caller is invited to grow the
6413receiving array and retry.</TD
Daniel Veillard35008381999-10-25 13:15:52 +00006414></TR
6415></TABLE
6416><P
6417></P
6418></DIV
6419></DIV
6420><HR><DIV
6421CLASS="REFSECT2"
6422><A
Daniel Veillard3bde3e22000-01-30 20:00:07 +00006423NAME="AEN7917"
Daniel Veillard35008381999-10-25 13:15:52 +00006424></A
6425><H3
6426><A
6427NAME="XMLVALIDGETPOTENTIALCHILDREN"
6428></A
6429>xmlValidGetPotentialChildren ()</H3
6430><TABLE
6431BORDER="0"
6432BGCOLOR="#D6E8FF"
6433WIDTH="100%"
6434CELLPADDING="6"
6435><TR
6436><TD
6437><PRE
6438CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006439>int xmlValidGetPotentialChildren (<A
6440HREF="gnome-xml-tree.html#XMLELEMENTCONTENT"
6441>xmlElementContent</A
Daniel Veillard35008381999-10-25 13:15:52 +00006442> *ctree,
6443 const <A
6444HREF="gnome-xml-tree.html#XMLCHAR"
6445>xmlChar</A
6446> **list,
6447 int *len,
6448 int max);</PRE
6449></TD
6450></TR
6451></TABLE
6452><P
6453>Build/extend a list of potential children allowed by the content tree</P
6454><P
6455></P
6456><DIV
6457CLASS="INFORMALTABLE"
6458><P
6459></P
6460><TABLE
6461BORDER="0"
6462WIDTH="100%"
6463BGCOLOR="#FFD0D0"
6464CELLSPACING="0"
6465CELLPADDING="4"
6466CLASS="CALSTABLE"
6467><TR
6468><TD
6469WIDTH="20%"
6470ALIGN="RIGHT"
6471VALIGN="TOP"
6472><TT
6473CLASS="PARAMETER"
6474><I
6475>ctree</I
6476></TT
6477>&nbsp;:</TD
6478><TD
6479WIDTH="80%"
6480ALIGN="LEFT"
6481VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006482> an element content tree</TD
Daniel Veillard35008381999-10-25 13:15:52 +00006483></TR
6484><TR
6485><TD
6486WIDTH="20%"
6487ALIGN="RIGHT"
6488VALIGN="TOP"
6489><TT
6490CLASS="PARAMETER"
6491><I
6492>list</I
6493></TT
6494>&nbsp;:</TD
6495><TD
6496WIDTH="80%"
6497ALIGN="LEFT"
6498VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006499> an array to store the list of child names</TD
Daniel Veillard35008381999-10-25 13:15:52 +00006500></TR
6501><TR
6502><TD
6503WIDTH="20%"
6504ALIGN="RIGHT"
6505VALIGN="TOP"
6506><TT
6507CLASS="PARAMETER"
6508><I
6509>len</I
6510></TT
6511>&nbsp;:</TD
6512><TD
6513WIDTH="80%"
6514ALIGN="LEFT"
6515VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006516> a pointer to the number of element in the list</TD
Daniel Veillard35008381999-10-25 13:15:52 +00006517></TR
6518><TR
6519><TD
6520WIDTH="20%"
6521ALIGN="RIGHT"
6522VALIGN="TOP"
6523><TT
6524CLASS="PARAMETER"
6525><I
6526>max</I
6527></TT
6528>&nbsp;:</TD
6529><TD
6530WIDTH="80%"
6531ALIGN="LEFT"
6532VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006533> the size of the array</TD
Daniel Veillard35008381999-10-25 13:15:52 +00006534></TR
6535><TR
6536><TD
6537WIDTH="20%"
6538ALIGN="RIGHT"
6539VALIGN="TOP"
6540><I
6541CLASS="EMPHASIS"
6542>Returns</I
6543> :</TD
6544><TD
6545WIDTH="80%"
6546ALIGN="LEFT"
6547VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006548>the number of element in the list, or -1 in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006549></TR
6550></TABLE
6551><P
6552></P
6553></DIV
6554></DIV
6555></DIV
6556><DIV
6557CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00006558><BR
6559CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00006560WIDTH="100%"
6561BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006562BGCOLOR="#000000"
6563CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00006564CELLSPACING="0"
6565><TR
6566><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006567WIDTH="25%"
6568BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00006569ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00006570><A
6571HREF="gnome-xml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00006572><FONT
6573COLOR="#FFFFFF"
6574SIZE="3"
6575><B
6576>&#60;&#60;&#60; Previous Page</B
6577></FONT
6578></A
Daniel Veillard35925471999-02-25 08:46:07 +00006579></TD
6580><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006581WIDTH="25%"
6582BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00006583ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00006584><FONT
6585COLOR="#FFFFFF"
6586SIZE="3"
6587><B
Daniel Veillard35925471999-02-25 08:46:07 +00006588><A
6589HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00006590><FONT
6591COLOR="#FFFFFF"
6592SIZE="3"
6593><B
6594>Home</B
6595></FONT
6596></A
6597></B
6598></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00006599></TD
6600><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006601WIDTH="25%"
6602BGCOLOR="#00C000"
6603ALIGN="center"
6604><FONT
6605COLOR="#FFFFFF"
6606SIZE="3"
6607><B
6608><A
Daniel Veillard35008381999-10-25 13:15:52 +00006609HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00006610><FONT
6611COLOR="#FFFFFF"
6612SIZE="3"
6613><B
6614>Up</B
6615></FONT
6616></A
6617></B
6618></FONT
6619></TD
6620><TD
6621WIDTH="25%"
6622BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00006623ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00006624><A
Daniel Veillardd109e371999-03-05 06:26:45 +00006625HREF="gnome-xml-xml-error.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00006626><FONT
6627COLOR="#FFFFFF"
6628SIZE="3"
6629><B
6630>Next Page &#62;&#62;&#62;</B
6631></FONT
6632></A
Daniel Veillard35925471999-02-25 08:46:07 +00006633></TD
6634></TR
6635><TR
6636><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006637COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00006638ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00006639><FONT
6640COLOR="#FFFFFF"
6641SIZE="3"
6642><B
6643>entities</B
6644></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00006645></TD
6646><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006647COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00006648ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00006649><FONT
6650COLOR="#FFFFFF"
6651SIZE="3"
6652><B
6653>xml-error</B
6654></FONT
6655></TD
Daniel Veillard35925471999-02-25 08:46:07 +00006656></TR
6657></TABLE
6658></DIV
6659></BODY
6660></HTML
6661>