blob: 79943fcb81ed4ec012fd8a7b43d5dd53ac3f27b3 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>valid</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +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 Veillard8f621982000-03-20 13:07:15 +000018TITLE="uri"
19HREF="gnome-xml-uri.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 Veillard8f621982000-03-20 13:07:15 +0000101HREF="gnome-xml-uri.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 Veillard3f6f7f62000-06-30 17:58:25 +0000114>valid</H1
Daniel Veillard35925471999-02-25 08:46:07 +0000115><DIV
116CLASS="REFNAMEDIV"
117><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000118NAME="AEN6941"
Daniel Veillard35925471999-02-25 08:46:07 +0000119></A
120><H2
121>Name</H2
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000122>valid &#8212; </DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFSYNOPSISDIV"
125><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000126NAME="AEN6944"
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 Veillard3f6f7f62000-06-30 17:58:25 +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 Veillard3f6f7f62000-06-30 17:58:25 +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 Veillard3f6f7f62000-06-30 17:58:25 +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 Veillard3f6f7f62000-06-30 17:58:25 +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 Veillard3f6f7f62000-06-30 17:58:25 +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 Veillard3f6f7f62000-06-30 17:58:25 +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 Veillard3f6f7f62000-06-30 17:58:25 +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
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000265HREF="gnome-xml-valid.html#XMLDUMPNOTATIONDECL"
266>xmlDumpNotationDecl</A
267> (<A
268HREF="gnome-xml-tree.html#XMLBUFFERPTR"
269>xmlBufferPtr</A
270> buf,
271 <A
272HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
273>xmlNotationPtr</A
274> nota);
275void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000276HREF="gnome-xml-valid.html#XMLDUMPNOTATIONTABLE"
277>xmlDumpNotationTable</A
278> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000279HREF="gnome-xml-tree.html#XMLBUFFERPTR"
280>xmlBufferPtr</A
281> buf,
282 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000283HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
284>xmlNotationTablePtr</A
285> table);
286<A
287HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
288>xmlElementContentPtr</A
289> <A
290HREF="gnome-xml-valid.html#XMLNEWELEMENTCONTENT"
291>xmlNewElementContent</A
292> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000293HREF="gnome-xml-tree.html#XMLCHAR"
294>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000295> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000296 <A
297HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
298>xmlElementContentType</A
299> type);
Daniel Veillard35925471999-02-25 08:46:07 +0000300<A
301HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
302>xmlElementContentPtr</A
303> <A
304HREF="gnome-xml-valid.html#XMLCOPYELEMENTCONTENT"
305>xmlCopyElementContent</A
306> (<A
307HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
308>xmlElementContentPtr</A
309> content);
310void <A
311HREF="gnome-xml-valid.html#XMLFREEELEMENTCONTENT"
312>xmlFreeElementContent</A
313> (<A
314HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
315>xmlElementContentPtr</A
316> cur);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000317void <A
318HREF="gnome-xml-valid.html#XMLSPRINTFELEMENTCONTENT"
319>xmlSprintfElementContent</A
320> (char *buf,
321 <A
322HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
323>xmlElementContentPtr</A
324> content,
325 int glob);
Daniel Veillard35925471999-02-25 08:46:07 +0000326<A
327HREF="gnome-xml-tree.html#XMLELEMENTPTR"
328>xmlElementPtr</A
329> <A
330HREF="gnome-xml-valid.html#XMLADDELEMENTDECL"
331>xmlAddElementDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000332> (<A
333HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
334>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000335> ctxt,
336 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000337HREF="gnome-xml-tree.html#XMLDTDPTR"
338>xmlDtdPtr</A
339> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000340 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000341HREF="gnome-xml-tree.html#XMLCHAR"
342>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000343> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000344 <A
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000345HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL"
346>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000347> type,
Daniel Veillard35925471999-02-25 08:46:07 +0000348 <A
349HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
350>xmlElementContentPtr</A
351> content);
352<A
353HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
354>xmlElementTablePtr</A
355> <A
356HREF="gnome-xml-valid.html#XMLCOPYELEMENTTABLE"
357>xmlCopyElementTable</A
358> (<A
359HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
360>xmlElementTablePtr</A
361> table);
362void <A
363HREF="gnome-xml-valid.html#XMLFREEELEMENTTABLE"
364>xmlFreeElementTable</A
365> (<A
366HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
367>xmlElementTablePtr</A
368> table);
369void <A
370HREF="gnome-xml-valid.html#XMLDUMPELEMENTTABLE"
371>xmlDumpElementTable</A
372> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000373HREF="gnome-xml-tree.html#XMLBUFFERPTR"
374>xmlBufferPtr</A
375> buf,
376 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000377HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
378>xmlElementTablePtr</A
379> table);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000380void <A
381HREF="gnome-xml-valid.html#XMLDUMPELEMENTDECL"
382>xmlDumpElementDecl</A
383> (<A
384HREF="gnome-xml-tree.html#XMLBUFFERPTR"
385>xmlBufferPtr</A
386> buf,
387 <A
388HREF="gnome-xml-tree.html#XMLELEMENTPTR"
389>xmlElementPtr</A
390> elem);
Daniel Veillard35925471999-02-25 08:46:07 +0000391<A
392HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
393>xmlEnumerationPtr</A
394> <A
395HREF="gnome-xml-valid.html#XMLCREATEENUMERATION"
396>xmlCreateEnumeration</A
397> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000398HREF="gnome-xml-tree.html#XMLCHAR"
399>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000400> *name);
401void <A
402HREF="gnome-xml-valid.html#XMLFREEENUMERATION"
403>xmlFreeEnumeration</A
404> (<A
405HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
406>xmlEnumerationPtr</A
407> cur);
408<A
409HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
410>xmlEnumerationPtr</A
411> <A
412HREF="gnome-xml-valid.html#XMLCOPYENUMERATION"
413>xmlCopyEnumeration</A
414> (<A
415HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
416>xmlEnumerationPtr</A
417> cur);
418<A
419HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
420>xmlAttributePtr</A
421> <A
422HREF="gnome-xml-valid.html#XMLADDATTRIBUTEDECL"
423>xmlAddAttributeDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000424> (<A
425HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
426>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000427> ctxt,
428 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000429HREF="gnome-xml-tree.html#XMLDTDPTR"
430>xmlDtdPtr</A
431> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000432 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000433HREF="gnome-xml-tree.html#XMLCHAR"
434>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000435> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000436 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000437HREF="gnome-xml-tree.html#XMLCHAR"
438>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000439> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000440 const <A
441HREF="gnome-xml-tree.html#XMLCHAR"
442>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +0000443> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000444 <A
445HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
446>xmlAttributeType</A
447> type,
448 <A
449HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
450>xmlAttributeDefault</A
451> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000452 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000453HREF="gnome-xml-tree.html#XMLCHAR"
454>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000455> *defaultValue,
456 <A
457HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
458>xmlEnumerationPtr</A
459> tree);
460<A
461HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
462>xmlAttributeTablePtr</A
463> <A
464HREF="gnome-xml-valid.html#XMLCOPYATTRIBUTETABLE"
465>xmlCopyAttributeTable</A
466> (<A
467HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
468>xmlAttributeTablePtr</A
469> table);
470void <A
471HREF="gnome-xml-valid.html#XMLFREEATTRIBUTETABLE"
472>xmlFreeAttributeTable</A
473> (<A
474HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
475>xmlAttributeTablePtr</A
476> table);
477void <A
478HREF="gnome-xml-valid.html#XMLDUMPATTRIBUTETABLE"
479>xmlDumpAttributeTable</A
480> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000481HREF="gnome-xml-tree.html#XMLBUFFERPTR"
482>xmlBufferPtr</A
483> buf,
484 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000485HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
486>xmlAttributeTablePtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000487> table);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000488void <A
489HREF="gnome-xml-valid.html#XMLDUMPATTRIBUTEDECL"
490>xmlDumpAttributeDecl</A
491> (<A
492HREF="gnome-xml-tree.html#XMLBUFFERPTR"
493>xmlBufferPtr</A
494> buf,
495 <A
496HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
497>xmlAttributePtr</A
498> attr);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000499<A
500HREF="gnome-xml-tree.html#XMLIDPTR"
501>xmlIDPtr</A
502> <A
503HREF="gnome-xml-valid.html#XMLADDID"
504>xmlAddID</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000505> (<A
506HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
507>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000508> ctxt,
509 <A
510HREF="gnome-xml-tree.html#XMLDOCPTR"
511>xmlDocPtr</A
512> doc,
513 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000514HREF="gnome-xml-tree.html#XMLCHAR"
515>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000516> *value,
517 <A
518HREF="gnome-xml-tree.html#XMLATTRPTR"
519>xmlAttrPtr</A
520> attr);
521<A
522HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
523>xmlIDTablePtr</A
524> <A
525HREF="gnome-xml-valid.html#XMLCOPYIDTABLE"
526>xmlCopyIDTable</A
527> (<A
528HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
529>xmlIDTablePtr</A
530> table);
531void <A
532HREF="gnome-xml-valid.html#XMLFREEIDTABLE"
533>xmlFreeIDTable</A
534> (<A
535HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
536>xmlIDTablePtr</A
537> table);
538<A
539HREF="gnome-xml-tree.html#XMLATTRPTR"
540>xmlAttrPtr</A
541> <A
542HREF="gnome-xml-valid.html#XMLGETID"
543>xmlGetID</A
544> (<A
545HREF="gnome-xml-tree.html#XMLDOCPTR"
546>xmlDocPtr</A
547> doc,
548 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000549HREF="gnome-xml-tree.html#XMLCHAR"
550>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000551> *ID);
552int <A
553HREF="gnome-xml-valid.html#XMLISID"
554>xmlIsID</A
555> (<A
556HREF="gnome-xml-tree.html#XMLDOCPTR"
557>xmlDocPtr</A
558> doc,
559 <A
560HREF="gnome-xml-tree.html#XMLNODEPTR"
561>xmlNodePtr</A
562> elem,
563 <A
564HREF="gnome-xml-tree.html#XMLATTRPTR"
565>xmlAttrPtr</A
566> attr);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000567int <A
568HREF="gnome-xml-valid.html#XMLREMOVEID"
569>xmlRemoveID</A
570> (<A
571HREF="gnome-xml-tree.html#XMLDOCPTR"
572>xmlDocPtr</A
573> doc,
574 <A
575HREF="gnome-xml-tree.html#XMLATTRPTR"
576>xmlAttrPtr</A
577> attr);
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000578<A
579HREF="gnome-xml-tree.html#XMLREFPTR"
580>xmlRefPtr</A
581> <A
582HREF="gnome-xml-valid.html#XMLADDREF"
583>xmlAddRef</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000584> (<A
585HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
586>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000587> ctxt,
588 <A
589HREF="gnome-xml-tree.html#XMLDOCPTR"
590>xmlDocPtr</A
591> doc,
592 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000593HREF="gnome-xml-tree.html#XMLCHAR"
594>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000595> *value,
596 <A
597HREF="gnome-xml-tree.html#XMLATTRPTR"
598>xmlAttrPtr</A
599> attr);
600<A
601HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
602>xmlRefTablePtr</A
603> <A
604HREF="gnome-xml-valid.html#XMLCOPYREFTABLE"
605>xmlCopyRefTable</A
606> (<A
607HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
608>xmlRefTablePtr</A
609> table);
610void <A
611HREF="gnome-xml-valid.html#XMLFREEREFTABLE"
612>xmlFreeRefTable</A
613> (<A
614HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
615>xmlRefTablePtr</A
616> table);
617int <A
618HREF="gnome-xml-valid.html#XMLISREF"
619>xmlIsRef</A
620> (<A
621HREF="gnome-xml-tree.html#XMLDOCPTR"
622>xmlDocPtr</A
623> doc,
624 <A
625HREF="gnome-xml-tree.html#XMLNODEPTR"
626>xmlNodePtr</A
627> elem,
628 <A
629HREF="gnome-xml-tree.html#XMLATTRPTR"
630>xmlAttrPtr</A
631> attr);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000632int <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000633HREF="gnome-xml-valid.html#XMLREMOVEREF"
634>xmlRemoveRef</A
635> (<A
636HREF="gnome-xml-tree.html#XMLDOCPTR"
637>xmlDocPtr</A
638> doc,
639 <A
640HREF="gnome-xml-tree.html#XMLATTRPTR"
641>xmlAttrPtr</A
642> attr);
643int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000644HREF="gnome-xml-valid.html#XMLVALIDATEROOT"
645>xmlValidateRoot</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000646> (<A
647HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
648>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000649> ctxt,
650 <A
651HREF="gnome-xml-tree.html#XMLDOCPTR"
652>xmlDocPtr</A
653> doc);
654int <A
655HREF="gnome-xml-valid.html#XMLVALIDATEELEMENTDECL"
656>xmlValidateElementDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000657> (<A
658HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
659>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000660> ctxt,
661 <A
662HREF="gnome-xml-tree.html#XMLDOCPTR"
663>xmlDocPtr</A
664> doc,
665 <A
666HREF="gnome-xml-tree.html#XMLELEMENTPTR"
667>xmlElementPtr</A
668> elem);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000669<A
670HREF="gnome-xml-tree.html#XMLCHAR"
671>xmlChar</A
672>* <A
673HREF="gnome-xml-valid.html#XMLVALIDNORMALIZEATTRIBUTEVALUE"
674>xmlValidNormalizeAttributeValue</A
675> (<A
676HREF="gnome-xml-tree.html#XMLDOCPTR"
677>xmlDocPtr</A
678> doc,
679 <A
680HREF="gnome-xml-tree.html#XMLNODEPTR"
681>xmlNodePtr</A
682> elem,
683 const <A
684HREF="gnome-xml-tree.html#XMLCHAR"
685>xmlChar</A
686> *name,
687 const <A
688HREF="gnome-xml-tree.html#XMLCHAR"
689>xmlChar</A
690> *value);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000691int <A
692HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL"
693>xmlValidateAttributeDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000694> (<A
695HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
696>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000697> ctxt,
698 <A
699HREF="gnome-xml-tree.html#XMLDOCPTR"
700>xmlDocPtr</A
701> doc,
702 <A
703HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
704>xmlAttributePtr</A
705> attr);
706int <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000707HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
708>xmlValidateAttributeValue</A
709> (<A
710HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
711>xmlAttributeType</A
712> type,
713 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000714HREF="gnome-xml-tree.html#XMLCHAR"
715>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000716> *value);
717int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000718HREF="gnome-xml-valid.html#XMLVALIDATENOTATIONDECL"
719>xmlValidateNotationDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000720> (<A
721HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
722>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000723> ctxt,
724 <A
725HREF="gnome-xml-tree.html#XMLDOCPTR"
726>xmlDocPtr</A
727> doc,
728 <A
729HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
730>xmlNotationPtr</A
731> nota);
732int <A
733HREF="gnome-xml-valid.html#XMLVALIDATEDTD"
734>xmlValidateDtd</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000735> (<A
736HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
737>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000738> ctxt,
739 <A
740HREF="gnome-xml-tree.html#XMLDOCPTR"
741>xmlDocPtr</A
742> doc,
743 <A
744HREF="gnome-xml-tree.html#XMLDTDPTR"
745>xmlDtdPtr</A
746> dtd);
747int <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000748HREF="gnome-xml-valid.html#XMLVALIDATEDTDFINAL"
749>xmlValidateDtdFinal</A
750> (<A
751HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
752>xmlValidCtxtPtr</A
753> ctxt,
754 <A
755HREF="gnome-xml-tree.html#XMLDOCPTR"
756>xmlDocPtr</A
757> doc);
758int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000759HREF="gnome-xml-valid.html#XMLVALIDATEDOCUMENT"
760>xmlValidateDocument</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000761> (<A
762HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
763>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000764> ctxt,
765 <A
766HREF="gnome-xml-tree.html#XMLDOCPTR"
767>xmlDocPtr</A
768> doc);
769int <A
770HREF="gnome-xml-valid.html#XMLVALIDATEELEMENT"
771>xmlValidateElement</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000772> (<A
773HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
774>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000775> ctxt,
776 <A
777HREF="gnome-xml-tree.html#XMLDOCPTR"
778>xmlDocPtr</A
779> doc,
780 <A
781HREF="gnome-xml-tree.html#XMLNODEPTR"
782>xmlNodePtr</A
783> elem);
784int <A
785HREF="gnome-xml-valid.html#XMLVALIDATEONEELEMENT"
786>xmlValidateOneElement</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000787> (<A
788HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
789>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000790> ctxt,
791 <A
792HREF="gnome-xml-tree.html#XMLDOCPTR"
793>xmlDocPtr</A
794> doc,
795 <A
796HREF="gnome-xml-tree.html#XMLNODEPTR"
797>xmlNodePtr</A
798> elem);
799int <A
800HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE"
801>xmlValidateOneAttribute</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000802> (<A
803HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
804>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000805> ctxt,
806 <A
807HREF="gnome-xml-tree.html#XMLDOCPTR"
808>xmlDocPtr</A
809> doc,
810 <A
811HREF="gnome-xml-tree.html#XMLNODEPTR"
812>xmlNodePtr</A
813> elem,
814 <A
815HREF="gnome-xml-tree.html#XMLATTRPTR"
816>xmlAttrPtr</A
817> attr,
818 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000819HREF="gnome-xml-tree.html#XMLCHAR"
820>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000821> *value);
822int <A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000823HREF="gnome-xml-valid.html#XMLVALIDATEDOCUMENTFINAL"
824>xmlValidateDocumentFinal</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000825> (<A
826HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
827>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000828> ctxt,
829 <A
830HREF="gnome-xml-tree.html#XMLDOCPTR"
831>xmlDocPtr</A
832> doc);
833int <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000834HREF="gnome-xml-valid.html#XMLVALIDATENOTATIONUSE"
835>xmlValidateNotationUse</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000836> (<A
837HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
838>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000839> ctxt,
840 <A
841HREF="gnome-xml-tree.html#XMLDOCPTR"
842>xmlDocPtr</A
843> doc,
844 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000845HREF="gnome-xml-tree.html#XMLCHAR"
846>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000847> *notationName);
848int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000849HREF="gnome-xml-valid.html#XMLISMIXEDELEMENT"
850>xmlIsMixedElement</A
851> (<A
852HREF="gnome-xml-tree.html#XMLDOCPTR"
853>xmlDocPtr</A
854> doc,
855 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000856HREF="gnome-xml-tree.html#XMLCHAR"
857>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000858> *name);
859<A
860HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
861>xmlAttributePtr</A
862> <A
863HREF="gnome-xml-valid.html#XMLGETDTDATTRDESC"
864>xmlGetDtdAttrDesc</A
865> (<A
866HREF="gnome-xml-tree.html#XMLDTDPTR"
867>xmlDtdPtr</A
868> dtd,
869 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000870HREF="gnome-xml-tree.html#XMLCHAR"
871>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000872> *elem,
873 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000874HREF="gnome-xml-tree.html#XMLCHAR"
875>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000876> *name);
877<A
878HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
879>xmlNotationPtr</A
880> <A
881HREF="gnome-xml-valid.html#XMLGETDTDNOTATIONDESC"
882>xmlGetDtdNotationDesc</A
883> (<A
884HREF="gnome-xml-tree.html#XMLDTDPTR"
885>xmlDtdPtr</A
886> dtd,
887 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000888HREF="gnome-xml-tree.html#XMLCHAR"
889>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000890> *name);
891<A
892HREF="gnome-xml-tree.html#XMLELEMENTPTR"
893>xmlElementPtr</A
894> <A
895HREF="gnome-xml-valid.html#XMLGETDTDELEMENTDESC"
896>xmlGetDtdElementDesc</A
897> (<A
898HREF="gnome-xml-tree.html#XMLDTDPTR"
899>xmlDtdPtr</A
900> dtd,
901 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000902HREF="gnome-xml-tree.html#XMLCHAR"
903>xmlChar</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000904> *name);
905int <A
906HREF="gnome-xml-valid.html#XMLVALIDGETVALIDELEMENTS"
907>xmlValidGetValidElements</A
908> (<A
909HREF="gnome-xml-tree.html#XMLNODE"
910>xmlNode</A
911> *prev,
912 <A
913HREF="gnome-xml-tree.html#XMLNODE"
914>xmlNode</A
915> *next,
916 const <A
917HREF="gnome-xml-tree.html#XMLCHAR"
918>xmlChar</A
919> **list,
920 int max);
921int <A
922HREF="gnome-xml-valid.html#XMLVALIDGETPOTENTIALCHILDREN"
923>xmlValidGetPotentialChildren</A
924> (<A
925HREF="gnome-xml-tree.html#XMLELEMENTCONTENT"
926>xmlElementContent</A
927> *ctree,
928 const <A
929HREF="gnome-xml-tree.html#XMLCHAR"
930>xmlChar</A
931> **list,
932 int *len,
933 int max);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000934></TD
935></TR
936></TABLE
937></DIV
938><DIV
939CLASS="REFSECT1"
940><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000941NAME="AEN7161"
Daniel Veillard35925471999-02-25 08:46:07 +0000942></A
943><H2
944>Description</H2
945><P
946></P
947></DIV
948><DIV
949CLASS="REFSECT1"
950><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000951NAME="AEN7164"
Daniel Veillard35925471999-02-25 08:46:07 +0000952></A
953><H2
954>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000955><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000956CLASS="REFSECT2"
957><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000958NAME="AEN7166"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000959></A
960><H3
961><A
962NAME="XMLVALIDITYERRORFUNC"
963></A
964>xmlValidityErrorFunc ()</H3
965><TABLE
966BORDER="0"
967BGCOLOR="#D6E8FF"
968WIDTH="100%"
969CELLPADDING="6"
970><TR
971><TD
972><PRE
973CLASS="PROGRAMLISTING"
974>void (*xmlValidityErrorFunc) (void *ctx,
975 const char *msg,
976 ...);</PRE
977></TD
978></TR
979></TABLE
980><P
981></P
982><DIV
983CLASS="INFORMALTABLE"
984><P
985></P
986><TABLE
987BORDER="0"
988WIDTH="100%"
989BGCOLOR="#FFD0D0"
990CELLSPACING="0"
991CELLPADDING="4"
992CLASS="CALSTABLE"
993><TR
994><TD
995WIDTH="20%"
996ALIGN="RIGHT"
997VALIGN="TOP"
998><TT
999CLASS="PARAMETER"
1000><I
1001>ctx</I
1002></TT
1003>&nbsp;:</TD
1004><TD
1005WIDTH="80%"
1006ALIGN="LEFT"
1007VALIGN="TOP"
1008>&nbsp;</TD
1009></TR
1010><TR
1011><TD
1012WIDTH="20%"
1013ALIGN="RIGHT"
1014VALIGN="TOP"
1015><TT
1016CLASS="PARAMETER"
1017><I
1018>msg</I
1019></TT
1020>&nbsp;:</TD
1021><TD
1022WIDTH="80%"
1023ALIGN="LEFT"
1024VALIGN="TOP"
1025>&nbsp;</TD
1026></TR
1027><TR
1028><TD
1029WIDTH="20%"
1030ALIGN="RIGHT"
1031VALIGN="TOP"
1032><TT
1033CLASS="PARAMETER"
1034><I
1035>...</I
1036></TT
1037>&nbsp;:</TD
1038><TD
1039WIDTH="80%"
1040ALIGN="LEFT"
1041VALIGN="TOP"
1042>&nbsp;</TD
1043></TR
1044></TABLE
1045><P
1046></P
1047></DIV
1048></DIV
1049><HR><DIV
1050CLASS="REFSECT2"
1051><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001052NAME="AEN7188"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001053></A
1054><H3
1055><A
1056NAME="XMLVALIDITYWARNINGFUNC"
1057></A
1058>xmlValidityWarningFunc ()</H3
1059><TABLE
1060BORDER="0"
1061BGCOLOR="#D6E8FF"
1062WIDTH="100%"
1063CELLPADDING="6"
1064><TR
1065><TD
1066><PRE
1067CLASS="PROGRAMLISTING"
1068>void (*xmlValidityWarningFunc) (void *ctx,
1069 const char *msg,
1070 ...);</PRE
1071></TD
1072></TR
1073></TABLE
1074><P
1075></P
1076><DIV
1077CLASS="INFORMALTABLE"
1078><P
1079></P
1080><TABLE
1081BORDER="0"
1082WIDTH="100%"
1083BGCOLOR="#FFD0D0"
1084CELLSPACING="0"
1085CELLPADDING="4"
1086CLASS="CALSTABLE"
1087><TR
1088><TD
1089WIDTH="20%"
1090ALIGN="RIGHT"
1091VALIGN="TOP"
1092><TT
1093CLASS="PARAMETER"
1094><I
1095>ctx</I
1096></TT
1097>&nbsp;:</TD
1098><TD
1099WIDTH="80%"
1100ALIGN="LEFT"
1101VALIGN="TOP"
1102>&nbsp;</TD
1103></TR
1104><TR
1105><TD
1106WIDTH="20%"
1107ALIGN="RIGHT"
1108VALIGN="TOP"
1109><TT
1110CLASS="PARAMETER"
1111><I
1112>msg</I
1113></TT
1114>&nbsp;:</TD
1115><TD
1116WIDTH="80%"
1117ALIGN="LEFT"
1118VALIGN="TOP"
1119>&nbsp;</TD
1120></TR
1121><TR
1122><TD
1123WIDTH="20%"
1124ALIGN="RIGHT"
1125VALIGN="TOP"
1126><TT
1127CLASS="PARAMETER"
1128><I
1129>...</I
1130></TT
1131>&nbsp;:</TD
1132><TD
1133WIDTH="80%"
1134ALIGN="LEFT"
1135VALIGN="TOP"
1136>&nbsp;</TD
1137></TR
1138></TABLE
1139><P
1140></P
1141></DIV
1142></DIV
1143><HR><DIV
1144CLASS="REFSECT2"
1145><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001146NAME="AEN7210"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001147></A
1148><H3
1149><A
1150NAME="XMLVALIDCTXT"
1151></A
1152>struct xmlValidCtxt</H3
1153><TABLE
1154BORDER="0"
1155BGCOLOR="#D6E8FF"
1156WIDTH="100%"
1157CELLPADDING="6"
1158><TR
1159><TD
1160><PRE
1161CLASS="PROGRAMLISTING"
1162>struct xmlValidCtxt {
1163 void *userData; /* user specific data block */
1164 xmlValidityErrorFunc error; /* the callback in case of errors */
1165 xmlValidityWarningFunc warning; /* the callback in case of warning */
1166
1167 /* Node analysis stack used when validating within entities */
1168 xmlNodePtr node; /* Current parsed Node */
1169 int nodeNr; /* Depth of the parsing stack */
1170 int nodeMax; /* Max depth of the parsing stack */
1171 xmlNodePtr *nodeTab; /* array of nodes */
1172
1173 int finishDtd; /* finished validating the Dtd ? */
1174};</PRE
1175></TD
1176></TR
1177></TABLE
1178><P
1179></P
1180></DIV
1181><HR><DIV
1182CLASS="REFSECT2"
1183><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001184NAME="AEN7215"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001185></A
1186><H3
1187><A
1188NAME="XMLVALIDCTXTPTR"
1189></A
1190>xmlValidCtxtPtr</H3
1191><TABLE
1192BORDER="0"
1193BGCOLOR="#D6E8FF"
1194WIDTH="100%"
1195CELLPADDING="6"
1196><TR
1197><TD
1198><PRE
1199CLASS="PROGRAMLISTING"
1200>typedef xmlValidCtxt *xmlValidCtxtPtr;</PRE
1201></TD
1202></TR
1203></TABLE
1204><P
1205></P
1206></DIV
1207><HR><DIV
1208CLASS="REFSECT2"
1209><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001210NAME="AEN7220"
Daniel Veillard35925471999-02-25 08:46:07 +00001211></A
1212><H3
1213><A
1214NAME="XML-MIN-NOTATION-TABLE"
1215></A
1216>XML_MIN_NOTATION_TABLE</H3
1217><TABLE
1218BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001219BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001220WIDTH="100%"
1221CELLPADDING="6"
1222><TR
1223><TD
1224><PRE
1225CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001226>#define XML_MIN_NOTATION_TABLE 32</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001227></TD
1228></TR
1229></TABLE
1230><P
1231></P
1232></DIV
1233><HR><DIV
1234CLASS="REFSECT2"
1235><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001236NAME="AEN7225"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001237></A
1238><H3
1239><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001240NAME="XMLNOTATIONTABLE"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001241></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001242>struct xmlNotationTable</H3
1243><TABLE
1244BORDER="0"
1245BGCOLOR="#D6E8FF"
1246WIDTH="100%"
1247CELLPADDING="6"
1248><TR
1249><TD
1250><PRE
1251CLASS="PROGRAMLISTING"
1252>struct xmlNotationTable {
1253 int nb_notations; /* number of notations stored */
1254 int max_notations; /* maximum number of notations */
1255 xmlNotationPtr *table; /* the table of attributes */
1256};</PRE
1257></TD
1258></TR
1259></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +00001260><P
1261></P
1262></DIV
1263><HR><DIV
1264CLASS="REFSECT2"
1265><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001266NAME="AEN7230"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001267></A
1268><H3
1269><A
1270NAME="XMLNOTATIONTABLEPTR"
1271></A
1272>xmlNotationTablePtr</H3
1273><TABLE
1274BORDER="0"
1275BGCOLOR="#D6E8FF"
1276WIDTH="100%"
1277CELLPADDING="6"
1278><TR
1279><TD
1280><PRE
1281CLASS="PROGRAMLISTING"
1282>typedef xmlNotationTable *xmlNotationTablePtr;</PRE
1283></TD
1284></TR
1285></TABLE
1286><P
1287></P
1288></DIV
1289><HR><DIV
1290CLASS="REFSECT2"
1291><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001292NAME="AEN7235"
Daniel Veillard35925471999-02-25 08:46:07 +00001293></A
1294><H3
1295><A
1296NAME="XML-MIN-ELEMENT-TABLE"
1297></A
1298>XML_MIN_ELEMENT_TABLE</H3
1299><TABLE
1300BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001301BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001302WIDTH="100%"
1303CELLPADDING="6"
1304><TR
1305><TD
1306><PRE
1307CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001308>#define XML_MIN_ELEMENT_TABLE 32</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001309></TD
1310></TR
1311></TABLE
1312><P
1313></P
1314></DIV
1315><HR><DIV
1316CLASS="REFSECT2"
1317><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001318NAME="AEN7240"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001319></A
1320><H3
1321><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001322NAME="XMLELEMENTTABLE"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001323></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001324>struct xmlElementTable</H3
1325><TABLE
1326BORDER="0"
1327BGCOLOR="#D6E8FF"
1328WIDTH="100%"
1329CELLPADDING="6"
1330><TR
1331><TD
1332><PRE
1333CLASS="PROGRAMLISTING"
1334>struct xmlElementTable {
1335 int nb_elements; /* number of elements stored */
1336 int max_elements; /* maximum number of elements */
1337 xmlElementPtr *table; /* the table of elements */
1338};</PRE
1339></TD
1340></TR
1341></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +00001342><P
1343></P
1344></DIV
1345><HR><DIV
1346CLASS="REFSECT2"
1347><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001348NAME="AEN7245"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001349></A
1350><H3
1351><A
1352NAME="XMLELEMENTTABLEPTR"
1353></A
1354>xmlElementTablePtr</H3
1355><TABLE
1356BORDER="0"
1357BGCOLOR="#D6E8FF"
1358WIDTH="100%"
1359CELLPADDING="6"
1360><TR
1361><TD
1362><PRE
1363CLASS="PROGRAMLISTING"
1364>typedef xmlElementTable *xmlElementTablePtr;</PRE
1365></TD
1366></TR
1367></TABLE
1368><P
1369></P
1370></DIV
1371><HR><DIV
1372CLASS="REFSECT2"
1373><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001374NAME="AEN7250"
Daniel Veillard35925471999-02-25 08:46:07 +00001375></A
1376><H3
1377><A
1378NAME="XML-MIN-ATTRIBUTE-TABLE"
1379></A
1380>XML_MIN_ATTRIBUTE_TABLE</H3
1381><TABLE
1382BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001383BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001384WIDTH="100%"
1385CELLPADDING="6"
1386><TR
1387><TD
1388><PRE
1389CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001390>#define XML_MIN_ATTRIBUTE_TABLE 32</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001391></TD
1392></TR
1393></TABLE
1394><P
1395></P
1396></DIV
1397><HR><DIV
1398CLASS="REFSECT2"
1399><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001400NAME="AEN7255"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001401></A
1402><H3
1403><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001404NAME="XMLATTRIBUTETABLE"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001405></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001406>struct xmlAttributeTable</H3
1407><TABLE
1408BORDER="0"
1409BGCOLOR="#D6E8FF"
1410WIDTH="100%"
1411CELLPADDING="6"
1412><TR
1413><TD
1414><PRE
1415CLASS="PROGRAMLISTING"
1416>struct xmlAttributeTable {
1417 int nb_attributes; /* number of attributes stored */
1418 int max_attributes; /* maximum number of attributes */
1419 xmlAttributePtr *table; /* the table of attributes */
1420};</PRE
1421></TD
1422></TR
1423></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +00001424><P
1425></P
1426></DIV
1427><HR><DIV
1428CLASS="REFSECT2"
1429><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001430NAME="AEN7260"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001431></A
1432><H3
1433><A
1434NAME="XMLATTRIBUTETABLEPTR"
1435></A
1436>xmlAttributeTablePtr</H3
1437><TABLE
1438BORDER="0"
1439BGCOLOR="#D6E8FF"
1440WIDTH="100%"
1441CELLPADDING="6"
1442><TR
1443><TD
1444><PRE
1445CLASS="PROGRAMLISTING"
1446>typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE
1447></TD
1448></TR
1449></TABLE
1450><P
1451></P
1452></DIV
1453><HR><DIV
1454CLASS="REFSECT2"
1455><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001456NAME="AEN7265"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001457></A
1458><H3
1459><A
1460NAME="XML-MIN-ID-TABLE"
1461></A
1462>XML_MIN_ID_TABLE</H3
1463><TABLE
1464BORDER="0"
1465BGCOLOR="#D6E8FF"
1466WIDTH="100%"
1467CELLPADDING="6"
1468><TR
1469><TD
1470><PRE
1471CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001472>#define XML_MIN_ID_TABLE 32</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001473></TD
1474></TR
1475></TABLE
1476><P
1477></P
1478></DIV
1479><HR><DIV
1480CLASS="REFSECT2"
1481><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001482NAME="AEN7270"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001483></A
1484><H3
1485><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001486NAME="XMLIDTABLE"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001487></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001488>struct xmlIDTable</H3
1489><TABLE
1490BORDER="0"
1491BGCOLOR="#D6E8FF"
1492WIDTH="100%"
1493CELLPADDING="6"
1494><TR
1495><TD
1496><PRE
1497CLASS="PROGRAMLISTING"
1498>struct xmlIDTable {
1499 int nb_ids; /* number of ids stored */
1500 int max_ids; /* maximum number of ids */
1501 xmlIDPtr *table; /* the table of ids */
1502};</PRE
1503></TD
1504></TR
1505></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +00001506><P
1507></P
1508></DIV
1509><HR><DIV
1510CLASS="REFSECT2"
1511><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001512NAME="AEN7275"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001513></A
1514><H3
1515><A
1516NAME="XMLIDTABLEPTR"
1517></A
1518>xmlIDTablePtr</H3
1519><TABLE
1520BORDER="0"
1521BGCOLOR="#D6E8FF"
1522WIDTH="100%"
1523CELLPADDING="6"
1524><TR
1525><TD
1526><PRE
1527CLASS="PROGRAMLISTING"
1528>typedef xmlIDTable *xmlIDTablePtr;</PRE
1529></TD
1530></TR
1531></TABLE
1532><P
1533></P
1534></DIV
1535><HR><DIV
1536CLASS="REFSECT2"
1537><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001538NAME="AEN7280"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001539></A
1540><H3
1541><A
1542NAME="XML-MIN-REF-TABLE"
1543></A
1544>XML_MIN_REF_TABLE</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001545><TABLE
1546BORDER="0"
1547BGCOLOR="#D6E8FF"
1548WIDTH="100%"
1549CELLPADDING="6"
1550><TR
1551><TD
1552><PRE
1553CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001554>#define XML_MIN_REF_TABLE 32</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001555></TD
1556></TR
1557></TABLE
1558><P
1559></P
1560></DIV
1561><HR><DIV
1562CLASS="REFSECT2"
1563><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001564NAME="AEN7285"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001565></A
1566><H3
1567><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001568NAME="XMLREFTABLE"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001569></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001570>struct xmlRefTable</H3
1571><TABLE
1572BORDER="0"
1573BGCOLOR="#D6E8FF"
1574WIDTH="100%"
1575CELLPADDING="6"
1576><TR
1577><TD
1578><PRE
1579CLASS="PROGRAMLISTING"
1580>struct xmlRefTable {
1581 int nb_refs; /* number of refs stored */
1582 int max_refs; /* maximum number of refs */
1583 xmlRefPtr *table; /* the table of refs */
1584};</PRE
1585></TD
1586></TR
1587></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +00001588><P
1589></P
1590></DIV
1591><HR><DIV
1592CLASS="REFSECT2"
1593><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001594NAME="AEN7290"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001595></A
1596><H3
1597><A
1598NAME="XMLREFTABLEPTR"
1599></A
1600>xmlRefTablePtr</H3
1601><TABLE
1602BORDER="0"
1603BGCOLOR="#D6E8FF"
1604WIDTH="100%"
1605CELLPADDING="6"
1606><TR
1607><TD
1608><PRE
1609CLASS="PROGRAMLISTING"
1610>typedef xmlRefTable *xmlRefTablePtr;</PRE
1611></TD
1612></TR
1613></TABLE
1614><P
1615></P
1616></DIV
1617><HR><DIV
1618CLASS="REFSECT2"
1619><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001620NAME="AEN7295"
Daniel Veillard35925471999-02-25 08:46:07 +00001621></A
1622><H3
1623><A
1624NAME="XMLADDNOTATIONDECL"
1625></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001626>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001627><TABLE
1628BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001629BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001630WIDTH="100%"
1631CELLPADDING="6"
1632><TR
1633><TD
1634><PRE
1635CLASS="PROGRAMLISTING"
1636><A
1637HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
1638>xmlNotationPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001639> xmlAddNotationDecl (<A
1640HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
1641>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001642> ctxt,
1643 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001644HREF="gnome-xml-tree.html#XMLDTDPTR"
1645>xmlDtdPtr</A
1646> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001647 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001648HREF="gnome-xml-tree.html#XMLCHAR"
1649>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001650> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001651 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001652HREF="gnome-xml-tree.html#XMLCHAR"
1653>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001654> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001655 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001656HREF="gnome-xml-tree.html#XMLCHAR"
1657>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001658> *SystemID);</PRE
1659></TD
1660></TR
1661></TABLE
1662><P
1663>Register a new notation declaration</P
1664><P
1665></P
1666><DIV
1667CLASS="INFORMALTABLE"
1668><P
1669></P
1670><TABLE
1671BORDER="0"
1672WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001673BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001674CELLSPACING="0"
1675CELLPADDING="4"
1676CLASS="CALSTABLE"
1677><TR
1678><TD
1679WIDTH="20%"
1680ALIGN="RIGHT"
1681VALIGN="TOP"
1682><TT
1683CLASS="PARAMETER"
1684><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001685>ctxt</I
1686></TT
1687>&nbsp;:</TD
1688><TD
1689WIDTH="80%"
1690ALIGN="LEFT"
1691VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001692> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001693></TR
1694><TR
1695><TD
1696WIDTH="20%"
1697ALIGN="RIGHT"
1698VALIGN="TOP"
1699><TT
1700CLASS="PARAMETER"
1701><I
Daniel Veillard35925471999-02-25 08:46:07 +00001702>dtd</I
1703></TT
1704>&nbsp;:</TD
1705><TD
1706WIDTH="80%"
1707ALIGN="LEFT"
1708VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001709> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001710></TR
1711><TR
1712><TD
1713WIDTH="20%"
1714ALIGN="RIGHT"
1715VALIGN="TOP"
1716><TT
1717CLASS="PARAMETER"
1718><I
1719>name</I
1720></TT
1721>&nbsp;:</TD
1722><TD
1723WIDTH="80%"
1724ALIGN="LEFT"
1725VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001726> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001727></TR
1728><TR
1729><TD
1730WIDTH="20%"
1731ALIGN="RIGHT"
1732VALIGN="TOP"
1733><TT
1734CLASS="PARAMETER"
1735><I
1736>PublicID</I
1737></TT
1738>&nbsp;:</TD
1739><TD
1740WIDTH="80%"
1741ALIGN="LEFT"
1742VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001743> the public identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001744></TR
1745><TR
1746><TD
1747WIDTH="20%"
1748ALIGN="RIGHT"
1749VALIGN="TOP"
1750><TT
1751CLASS="PARAMETER"
1752><I
1753>SystemID</I
1754></TT
1755>&nbsp;:</TD
1756><TD
1757WIDTH="80%"
1758ALIGN="LEFT"
1759VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001760> the system identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001761></TR
1762><TR
1763><TD
1764WIDTH="20%"
1765ALIGN="RIGHT"
1766VALIGN="TOP"
1767><I
1768CLASS="EMPHASIS"
1769>Returns</I
1770> :</TD
1771><TD
1772WIDTH="80%"
1773ALIGN="LEFT"
1774VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001775>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001776></TR
1777></TABLE
1778><P
1779></P
1780></DIV
1781></DIV
1782><HR><DIV
1783CLASS="REFSECT2"
1784><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001785NAME="AEN7336"
Daniel Veillard35925471999-02-25 08:46:07 +00001786></A
1787><H3
1788><A
1789NAME="XMLCOPYNOTATIONTABLE"
1790></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001791>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001792><TABLE
1793BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001794BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001795WIDTH="100%"
1796CELLPADDING="6"
1797><TR
1798><TD
1799><PRE
1800CLASS="PROGRAMLISTING"
1801><A
1802HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1803>xmlNotationTablePtr</A
1804> xmlCopyNotationTable (<A
1805HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1806>xmlNotationTablePtr</A
1807> table);</PRE
1808></TD
1809></TR
1810></TABLE
1811><P
1812>Build a copy of a notation table.</P
1813><P
1814></P
1815><DIV
1816CLASS="INFORMALTABLE"
1817><P
1818></P
1819><TABLE
1820BORDER="0"
1821WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001822BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001823CELLSPACING="0"
1824CELLPADDING="4"
1825CLASS="CALSTABLE"
1826><TR
1827><TD
1828WIDTH="20%"
1829ALIGN="RIGHT"
1830VALIGN="TOP"
1831><TT
1832CLASS="PARAMETER"
1833><I
1834>table</I
1835></TT
1836>&nbsp;:</TD
1837><TD
1838WIDTH="80%"
1839ALIGN="LEFT"
1840VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001841> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001842></TR
1843><TR
1844><TD
1845WIDTH="20%"
1846ALIGN="RIGHT"
1847VALIGN="TOP"
1848><I
1849CLASS="EMPHASIS"
1850>Returns</I
1851> :</TD
1852><TD
1853WIDTH="80%"
1854ALIGN="LEFT"
1855VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001856>the new xmlNotationTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001857></TR
1858></TABLE
1859><P
1860></P
1861></DIV
1862></DIV
1863><HR><DIV
1864CLASS="REFSECT2"
1865><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001866NAME="AEN7357"
Daniel Veillard35925471999-02-25 08:46:07 +00001867></A
1868><H3
1869><A
1870NAME="XMLFREENOTATIONTABLE"
1871></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001872>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001873><TABLE
1874BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001875BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001876WIDTH="100%"
1877CELLPADDING="6"
1878><TR
1879><TD
1880><PRE
1881CLASS="PROGRAMLISTING"
1882>void xmlFreeNotationTable (<A
1883HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1884>xmlNotationTablePtr</A
1885> table);</PRE
1886></TD
1887></TR
1888></TABLE
1889><P
1890>Deallocate the memory used by an entities hash table.</P
1891><P
1892></P
1893><DIV
1894CLASS="INFORMALTABLE"
1895><P
1896></P
1897><TABLE
1898BORDER="0"
1899WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001900BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001901CELLSPACING="0"
1902CELLPADDING="4"
1903CLASS="CALSTABLE"
1904><TR
1905><TD
1906WIDTH="20%"
1907ALIGN="RIGHT"
1908VALIGN="TOP"
1909><TT
1910CLASS="PARAMETER"
1911><I
1912>table</I
1913></TT
1914>&nbsp;:</TD
1915><TD
1916WIDTH="80%"
1917ALIGN="LEFT"
1918VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001919> An notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001920></TR
1921></TABLE
1922><P
1923></P
1924></DIV
1925></DIV
1926><HR><DIV
1927CLASS="REFSECT2"
1928><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001929NAME="AEN7373"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001930></A
1931><H3
1932><A
1933NAME="XMLDUMPNOTATIONDECL"
1934></A
1935>xmlDumpNotationDecl ()</H3
1936><TABLE
1937BORDER="0"
1938BGCOLOR="#D6E8FF"
1939WIDTH="100%"
1940CELLPADDING="6"
1941><TR
1942><TD
1943><PRE
1944CLASS="PROGRAMLISTING"
1945>void xmlDumpNotationDecl (<A
1946HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1947>xmlBufferPtr</A
1948> buf,
1949 <A
1950HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
1951>xmlNotationPtr</A
1952> nota);</PRE
1953></TD
1954></TR
1955></TABLE
1956><P
1957>This will dump the content the notation declaration as an XML DTD definition</P
1958><P
1959></P
1960><DIV
1961CLASS="INFORMALTABLE"
1962><P
1963></P
1964><TABLE
1965BORDER="0"
1966WIDTH="100%"
1967BGCOLOR="#FFD0D0"
1968CELLSPACING="0"
1969CELLPADDING="4"
1970CLASS="CALSTABLE"
1971><TR
1972><TD
1973WIDTH="20%"
1974ALIGN="RIGHT"
1975VALIGN="TOP"
1976><TT
1977CLASS="PARAMETER"
1978><I
1979>buf</I
1980></TT
1981>&nbsp;:</TD
1982><TD
1983WIDTH="80%"
1984ALIGN="LEFT"
1985VALIGN="TOP"
1986> the XML buffer output</TD
1987></TR
1988><TR
1989><TD
1990WIDTH="20%"
1991ALIGN="RIGHT"
1992VALIGN="TOP"
1993><TT
1994CLASS="PARAMETER"
1995><I
1996>nota</I
1997></TT
1998>&nbsp;:</TD
1999><TD
2000WIDTH="80%"
2001ALIGN="LEFT"
2002VALIGN="TOP"
2003> A notation declaration</TD
2004></TR
2005></TABLE
2006><P
2007></P
2008></DIV
2009></DIV
2010><HR><DIV
2011CLASS="REFSECT2"
2012><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00002013NAME="AEN7394"
Daniel Veillard35925471999-02-25 08:46:07 +00002014></A
2015><H3
2016><A
2017NAME="XMLDUMPNOTATIONTABLE"
2018></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002019>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002020><TABLE
2021BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002022BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002023WIDTH="100%"
2024CELLPADDING="6"
2025><TR
2026><TD
2027><PRE
2028CLASS="PROGRAMLISTING"
2029>void xmlDumpNotationTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002030HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2031>xmlBufferPtr</A
2032> buf,
2033 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002034HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
2035>xmlNotationTablePtr</A
2036> table);</PRE
2037></TD
2038></TR
2039></TABLE
2040><P
2041>This will dump the content of the notation table as an XML DTD definition</P
2042><P
Daniel Veillard35925471999-02-25 08:46:07 +00002043></P
2044><DIV
2045CLASS="INFORMALTABLE"
2046><P
2047></P
2048><TABLE
2049BORDER="0"
2050WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002051BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002052CELLSPACING="0"
2053CELLPADDING="4"
2054CLASS="CALSTABLE"
2055><TR
2056><TD
2057WIDTH="20%"
2058ALIGN="RIGHT"
2059VALIGN="TOP"
2060><TT
2061CLASS="PARAMETER"
2062><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002063>buf</I
2064></TT
2065>&nbsp;:</TD
2066><TD
2067WIDTH="80%"
2068ALIGN="LEFT"
2069VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002070> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002071></TR
2072><TR
2073><TD
2074WIDTH="20%"
2075ALIGN="RIGHT"
2076VALIGN="TOP"
2077><TT
2078CLASS="PARAMETER"
2079><I
Daniel Veillard35925471999-02-25 08:46:07 +00002080>table</I
2081></TT
2082>&nbsp;:</TD
2083><TD
2084WIDTH="80%"
2085ALIGN="LEFT"
2086VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002087> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002088></TR
2089></TABLE
2090><P
2091></P
2092></DIV
2093></DIV
2094><HR><DIV
2095CLASS="REFSECT2"
2096><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00002097NAME="AEN7415"
Daniel Veillard35925471999-02-25 08:46:07 +00002098></A
2099><H3
2100><A
2101NAME="XMLNEWELEMENTCONTENT"
2102></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002103>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002104><TABLE
2105BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002106BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002107WIDTH="100%"
2108CELLPADDING="6"
2109><TR
2110><TD
2111><PRE
2112CLASS="PROGRAMLISTING"
2113><A
2114HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2115>xmlElementContentPtr</A
2116> xmlNewElementContent (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002117HREF="gnome-xml-tree.html#XMLCHAR"
2118>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002119> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002120 <A
2121HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
2122>xmlElementContentType</A
2123> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00002124></TD
2125></TR
2126></TABLE
2127><P
2128>Allocate an element content structure.</P
2129><P
2130></P
2131><DIV
2132CLASS="INFORMALTABLE"
2133><P
2134></P
2135><TABLE
2136BORDER="0"
2137WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002138BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002139CELLSPACING="0"
2140CELLPADDING="4"
2141CLASS="CALSTABLE"
2142><TR
2143><TD
2144WIDTH="20%"
2145ALIGN="RIGHT"
2146VALIGN="TOP"
2147><TT
2148CLASS="PARAMETER"
2149><I
2150>name</I
2151></TT
2152>&nbsp;:</TD
2153><TD
2154WIDTH="80%"
2155ALIGN="LEFT"
2156VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002157> the subelement name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002158></TR
2159><TR
2160><TD
2161WIDTH="20%"
2162ALIGN="RIGHT"
2163VALIGN="TOP"
2164><TT
2165CLASS="PARAMETER"
2166><I
2167>type</I
2168></TT
2169>&nbsp;:</TD
2170><TD
2171WIDTH="80%"
2172ALIGN="LEFT"
2173VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002174> the type of element content decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002175></TR
2176><TR
2177><TD
2178WIDTH="20%"
2179ALIGN="RIGHT"
2180VALIGN="TOP"
2181><I
2182CLASS="EMPHASIS"
2183>Returns</I
2184> :</TD
2185><TD
2186WIDTH="80%"
2187ALIGN="LEFT"
2188VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002189>NULL if not, othervise the new element content structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002190></TR
2191></TABLE
2192><P
2193></P
2194></DIV
2195></DIV
2196><HR><DIV
2197CLASS="REFSECT2"
2198><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00002199NAME="AEN7441"
Daniel Veillard35925471999-02-25 08:46:07 +00002200></A
2201><H3
2202><A
2203NAME="XMLCOPYELEMENTCONTENT"
2204></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002205>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002206><TABLE
2207BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002208BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002209WIDTH="100%"
2210CELLPADDING="6"
2211><TR
2212><TD
2213><PRE
2214CLASS="PROGRAMLISTING"
2215><A
2216HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2217>xmlElementContentPtr</A
2218> xmlCopyElementContent (<A
2219HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2220>xmlElementContentPtr</A
2221> content);</PRE
2222></TD
2223></TR
2224></TABLE
2225><P
2226>Build a copy of an element content description.</P
2227><P
2228></P
2229><DIV
2230CLASS="INFORMALTABLE"
2231><P
2232></P
2233><TABLE
2234BORDER="0"
2235WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002236BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002237CELLSPACING="0"
2238CELLPADDING="4"
2239CLASS="CALSTABLE"
2240><TR
2241><TD
2242WIDTH="20%"
2243ALIGN="RIGHT"
2244VALIGN="TOP"
2245><TT
2246CLASS="PARAMETER"
2247><I
2248>content</I
2249></TT
2250>&nbsp;:</TD
2251><TD
2252WIDTH="80%"
2253ALIGN="LEFT"
2254VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002255> An element content pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002256></TR
2257><TR
2258><TD
2259WIDTH="20%"
2260ALIGN="RIGHT"
2261VALIGN="TOP"
2262><I
2263CLASS="EMPHASIS"
2264>Returns</I
2265> :</TD
2266><TD
2267WIDTH="80%"
2268ALIGN="LEFT"
2269VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002270>the new xmlElementContentPtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002271></TR
2272></TABLE
2273><P
2274></P
2275></DIV
2276></DIV
2277><HR><DIV
2278CLASS="REFSECT2"
2279><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00002280NAME="AEN7462"
Daniel Veillard35925471999-02-25 08:46:07 +00002281></A
2282><H3
2283><A
2284NAME="XMLFREEELEMENTCONTENT"
2285></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002286>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002287><TABLE
2288BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002289BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002290WIDTH="100%"
2291CELLPADDING="6"
2292><TR
2293><TD
2294><PRE
2295CLASS="PROGRAMLISTING"
2296>void xmlFreeElementContent (<A
2297HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2298>xmlElementContentPtr</A
2299> cur);</PRE
2300></TD
2301></TR
2302></TABLE
2303><P
2304>Free an element content structure. This is a recursive call !</P
2305><P
2306></P
2307><DIV
2308CLASS="INFORMALTABLE"
2309><P
2310></P
2311><TABLE
2312BORDER="0"
2313WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002314BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002315CELLSPACING="0"
2316CELLPADDING="4"
2317CLASS="CALSTABLE"
2318><TR
2319><TD
2320WIDTH="20%"
2321ALIGN="RIGHT"
2322VALIGN="TOP"
2323><TT
2324CLASS="PARAMETER"
2325><I
2326>cur</I
2327></TT
2328>&nbsp;:</TD
2329><TD
2330WIDTH="80%"
2331ALIGN="LEFT"
2332VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002333> the element content tree to free</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002334></TR
2335></TABLE
2336><P
2337></P
2338></DIV
2339></DIV
2340><HR><DIV
2341CLASS="REFSECT2"
2342><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00002343NAME="AEN7478"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002344></A
2345><H3
2346><A
2347NAME="XMLSPRINTFELEMENTCONTENT"
2348></A
2349>xmlSprintfElementContent ()</H3
2350><TABLE
2351BORDER="0"
2352BGCOLOR="#D6E8FF"
2353WIDTH="100%"
2354CELLPADDING="6"
2355><TR
2356><TD
2357><PRE
2358CLASS="PROGRAMLISTING"
2359>void xmlSprintfElementContent (char *buf,
2360 <A
2361HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2362>xmlElementContentPtr</A
2363> content,
2364 int glob);</PRE
2365></TD
2366></TR
2367></TABLE
2368><P
2369>This will dump the content of the element content definition
2370Intended just for the debug routine</P
2371><P
2372></P
2373><DIV
2374CLASS="INFORMALTABLE"
2375><P
2376></P
2377><TABLE
2378BORDER="0"
2379WIDTH="100%"
2380BGCOLOR="#FFD0D0"
2381CELLSPACING="0"
2382CELLPADDING="4"
2383CLASS="CALSTABLE"
2384><TR
2385><TD
2386WIDTH="20%"
2387ALIGN="RIGHT"
2388VALIGN="TOP"
2389><TT
2390CLASS="PARAMETER"
2391><I
2392>buf</I
2393></TT
2394>&nbsp;:</TD
2395><TD
2396WIDTH="80%"
2397ALIGN="LEFT"
2398VALIGN="TOP"
2399> an output buffer</TD
2400></TR
2401><TR
2402><TD
2403WIDTH="20%"
2404ALIGN="RIGHT"
2405VALIGN="TOP"
2406><TT
2407CLASS="PARAMETER"
2408><I
2409>content</I
2410></TT
2411>&nbsp;:</TD
2412><TD
2413WIDTH="80%"
2414ALIGN="LEFT"
2415VALIGN="TOP"
2416> An element table</TD
2417></TR
2418><TR
2419><TD
2420WIDTH="20%"
2421ALIGN="RIGHT"
2422VALIGN="TOP"
2423><TT
2424CLASS="PARAMETER"
2425><I
2426>glob</I
2427></TT
2428>&nbsp;:</TD
2429><TD
2430WIDTH="80%"
2431ALIGN="LEFT"
2432VALIGN="TOP"
2433> 1 if one must print the englobing parenthesis, 0 otherwise</TD
2434></TR
2435></TABLE
2436><P
2437></P
2438></DIV
2439></DIV
2440><HR><DIV
2441CLASS="REFSECT2"
2442><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00002443NAME="AEN7502"
Daniel Veillard35925471999-02-25 08:46:07 +00002444></A
2445><H3
2446><A
2447NAME="XMLADDELEMENTDECL"
2448></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002449>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002450><TABLE
2451BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002452BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002453WIDTH="100%"
2454CELLPADDING="6"
2455><TR
2456><TD
2457><PRE
2458CLASS="PROGRAMLISTING"
2459><A
2460HREF="gnome-xml-tree.html#XMLELEMENTPTR"
2461>xmlElementPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002462> xmlAddElementDecl (<A
2463HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
2464>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002465> ctxt,
2466 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002467HREF="gnome-xml-tree.html#XMLDTDPTR"
2468>xmlDtdPtr</A
2469> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002470 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002471HREF="gnome-xml-tree.html#XMLCHAR"
2472>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002473> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002474 <A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00002475HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL"
2476>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002477> type,
Daniel Veillard35925471999-02-25 08:46:07 +00002478 <A
2479HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2480>xmlElementContentPtr</A
2481> content);</PRE
2482></TD
2483></TR
2484></TABLE
2485><P
2486>Register a new element declaration</P
2487><P
2488></P
2489><DIV
2490CLASS="INFORMALTABLE"
2491><P
2492></P
2493><TABLE
2494BORDER="0"
2495WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002496BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002497CELLSPACING="0"
2498CELLPADDING="4"
2499CLASS="CALSTABLE"
2500><TR
2501><TD
2502WIDTH="20%"
2503ALIGN="RIGHT"
2504VALIGN="TOP"
2505><TT
2506CLASS="PARAMETER"
2507><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002508>ctxt</I
2509></TT
2510>&nbsp;:</TD
2511><TD
2512WIDTH="80%"
2513ALIGN="LEFT"
2514VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002515> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002516></TR
2517><TR
2518><TD
2519WIDTH="20%"
2520ALIGN="RIGHT"
2521VALIGN="TOP"
2522><TT
2523CLASS="PARAMETER"
2524><I
Daniel Veillard35925471999-02-25 08:46:07 +00002525>dtd</I
2526></TT
2527>&nbsp;:</TD
2528><TD
2529WIDTH="80%"
2530ALIGN="LEFT"
2531VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002532> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002533></TR
2534><TR
2535><TD
2536WIDTH="20%"
2537ALIGN="RIGHT"
2538VALIGN="TOP"
2539><TT
2540CLASS="PARAMETER"
2541><I
2542>name</I
2543></TT
2544>&nbsp;:</TD
2545><TD
2546WIDTH="80%"
2547ALIGN="LEFT"
2548VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002549> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002550></TR
2551><TR
2552><TD
2553WIDTH="20%"
2554ALIGN="RIGHT"
2555VALIGN="TOP"
2556><TT
2557CLASS="PARAMETER"
2558><I
2559>type</I
2560></TT
2561>&nbsp;:</TD
2562><TD
2563WIDTH="80%"
2564ALIGN="LEFT"
2565VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002566> the element type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002567></TR
2568><TR
2569><TD
2570WIDTH="20%"
2571ALIGN="RIGHT"
2572VALIGN="TOP"
2573><TT
2574CLASS="PARAMETER"
2575><I
2576>content</I
2577></TT
2578>&nbsp;:</TD
2579><TD
2580WIDTH="80%"
2581ALIGN="LEFT"
2582VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002583> the element content tree or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002584></TR
2585><TR
2586><TD
2587WIDTH="20%"
2588ALIGN="RIGHT"
2589VALIGN="TOP"
2590><I
2591CLASS="EMPHASIS"
2592>Returns</I
2593> :</TD
2594><TD
2595WIDTH="80%"
2596ALIGN="LEFT"
2597VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002598>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002599></TR
2600></TABLE
2601><P
2602></P
2603></DIV
2604></DIV
2605><HR><DIV
2606CLASS="REFSECT2"
2607><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00002608NAME="AEN7543"
Daniel Veillard35925471999-02-25 08:46:07 +00002609></A
2610><H3
2611><A
2612NAME="XMLCOPYELEMENTTABLE"
2613></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002614>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002615><TABLE
2616BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002617BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002618WIDTH="100%"
2619CELLPADDING="6"
2620><TR
2621><TD
2622><PRE
2623CLASS="PROGRAMLISTING"
2624><A
2625HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2626>xmlElementTablePtr</A
2627> xmlCopyElementTable (<A
2628HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2629>xmlElementTablePtr</A
2630> table);</PRE
2631></TD
2632></TR
2633></TABLE
2634><P
2635>Build a copy of an element table.</P
2636><P
2637></P
2638><DIV
2639CLASS="INFORMALTABLE"
2640><P
2641></P
2642><TABLE
2643BORDER="0"
2644WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002645BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002646CELLSPACING="0"
2647CELLPADDING="4"
2648CLASS="CALSTABLE"
2649><TR
2650><TD
2651WIDTH="20%"
2652ALIGN="RIGHT"
2653VALIGN="TOP"
2654><TT
2655CLASS="PARAMETER"
2656><I
2657>table</I
2658></TT
2659>&nbsp;:</TD
2660><TD
2661WIDTH="80%"
2662ALIGN="LEFT"
2663VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002664> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002665></TR
2666><TR
2667><TD
2668WIDTH="20%"
2669ALIGN="RIGHT"
2670VALIGN="TOP"
2671><I
2672CLASS="EMPHASIS"
2673>Returns</I
2674> :</TD
2675><TD
2676WIDTH="80%"
2677ALIGN="LEFT"
2678VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002679>the new xmlElementTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002680></TR
2681></TABLE
2682><P
2683></P
2684></DIV
2685></DIV
2686><HR><DIV
2687CLASS="REFSECT2"
2688><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00002689NAME="AEN7564"
Daniel Veillard35925471999-02-25 08:46:07 +00002690></A
2691><H3
2692><A
2693NAME="XMLFREEELEMENTTABLE"
2694></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002695>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002696><TABLE
2697BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002698BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002699WIDTH="100%"
2700CELLPADDING="6"
2701><TR
2702><TD
2703><PRE
2704CLASS="PROGRAMLISTING"
2705>void xmlFreeElementTable (<A
2706HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2707>xmlElementTablePtr</A
2708> table);</PRE
2709></TD
2710></TR
2711></TABLE
2712><P
2713>Deallocate the memory used by an element hash table.</P
2714><P
2715></P
2716><DIV
2717CLASS="INFORMALTABLE"
2718><P
2719></P
2720><TABLE
2721BORDER="0"
2722WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002723BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002724CELLSPACING="0"
2725CELLPADDING="4"
2726CLASS="CALSTABLE"
2727><TR
2728><TD
2729WIDTH="20%"
2730ALIGN="RIGHT"
2731VALIGN="TOP"
2732><TT
2733CLASS="PARAMETER"
2734><I
2735>table</I
2736></TT
2737>&nbsp;:</TD
2738><TD
2739WIDTH="80%"
2740ALIGN="LEFT"
2741VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002742> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002743></TR
2744></TABLE
2745><P
2746></P
2747></DIV
2748></DIV
2749><HR><DIV
2750CLASS="REFSECT2"
2751><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00002752NAME="AEN7580"
Daniel Veillard35925471999-02-25 08:46:07 +00002753></A
2754><H3
2755><A
2756NAME="XMLDUMPELEMENTTABLE"
2757></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002758>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002759><TABLE
2760BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002761BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002762WIDTH="100%"
2763CELLPADDING="6"
2764><TR
2765><TD
2766><PRE
2767CLASS="PROGRAMLISTING"
2768>void xmlDumpElementTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002769HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2770>xmlBufferPtr</A
2771> buf,
2772 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002773HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2774>xmlElementTablePtr</A
2775> table);</PRE
2776></TD
2777></TR
2778></TABLE
2779><P
2780>This will dump the content of the element table as an XML DTD definition</P
2781><P
Daniel Veillard35925471999-02-25 08:46:07 +00002782></P
2783><DIV
2784CLASS="INFORMALTABLE"
2785><P
2786></P
2787><TABLE
2788BORDER="0"
2789WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002790BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002791CELLSPACING="0"
2792CELLPADDING="4"
2793CLASS="CALSTABLE"
2794><TR
2795><TD
2796WIDTH="20%"
2797ALIGN="RIGHT"
2798VALIGN="TOP"
2799><TT
2800CLASS="PARAMETER"
2801><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002802>buf</I
2803></TT
2804>&nbsp;:</TD
2805><TD
2806WIDTH="80%"
2807ALIGN="LEFT"
2808VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002809> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002810></TR
2811><TR
2812><TD
2813WIDTH="20%"
2814ALIGN="RIGHT"
2815VALIGN="TOP"
2816><TT
2817CLASS="PARAMETER"
2818><I
Daniel Veillard35925471999-02-25 08:46:07 +00002819>table</I
2820></TT
2821>&nbsp;:</TD
2822><TD
2823WIDTH="80%"
2824ALIGN="LEFT"
2825VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002826> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002827></TR
2828></TABLE
2829><P
2830></P
2831></DIV
2832></DIV
2833><HR><DIV
2834CLASS="REFSECT2"
2835><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00002836NAME="AEN7601"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002837></A
2838><H3
2839><A
2840NAME="XMLDUMPELEMENTDECL"
2841></A
2842>xmlDumpElementDecl ()</H3
2843><TABLE
2844BORDER="0"
2845BGCOLOR="#D6E8FF"
2846WIDTH="100%"
2847CELLPADDING="6"
2848><TR
2849><TD
2850><PRE
2851CLASS="PROGRAMLISTING"
2852>void xmlDumpElementDecl (<A
2853HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2854>xmlBufferPtr</A
2855> buf,
2856 <A
2857HREF="gnome-xml-tree.html#XMLELEMENTPTR"
2858>xmlElementPtr</A
2859> elem);</PRE
2860></TD
2861></TR
2862></TABLE
2863><P
2864>This will dump the content of the element declaration as an XML
2865DTD definition</P
2866><P
2867></P
2868><DIV
2869CLASS="INFORMALTABLE"
2870><P
2871></P
2872><TABLE
2873BORDER="0"
2874WIDTH="100%"
2875BGCOLOR="#FFD0D0"
2876CELLSPACING="0"
2877CELLPADDING="4"
2878CLASS="CALSTABLE"
2879><TR
2880><TD
2881WIDTH="20%"
2882ALIGN="RIGHT"
2883VALIGN="TOP"
2884><TT
2885CLASS="PARAMETER"
2886><I
2887>buf</I
2888></TT
2889>&nbsp;:</TD
2890><TD
2891WIDTH="80%"
2892ALIGN="LEFT"
2893VALIGN="TOP"
2894> the XML buffer output</TD
2895></TR
2896><TR
2897><TD
2898WIDTH="20%"
2899ALIGN="RIGHT"
2900VALIGN="TOP"
2901><TT
2902CLASS="PARAMETER"
2903><I
2904>elem</I
2905></TT
2906>&nbsp;:</TD
2907><TD
2908WIDTH="80%"
2909ALIGN="LEFT"
2910VALIGN="TOP"
2911> An element table</TD
2912></TR
2913></TABLE
2914><P
2915></P
2916></DIV
2917></DIV
2918><HR><DIV
2919CLASS="REFSECT2"
2920><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00002921NAME="AEN7622"
Daniel Veillard35925471999-02-25 08:46:07 +00002922></A
2923><H3
2924><A
2925NAME="XMLCREATEENUMERATION"
2926></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002927>xmlCreateEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002928><TABLE
2929BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002930BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002931WIDTH="100%"
2932CELLPADDING="6"
2933><TR
2934><TD
2935><PRE
2936CLASS="PROGRAMLISTING"
2937><A
2938HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2939>xmlEnumerationPtr</A
2940> xmlCreateEnumeration (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002941HREF="gnome-xml-tree.html#XMLCHAR"
2942>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002943> *name);</PRE
2944></TD
2945></TR
2946></TABLE
2947><P
2948>create and initialize an enumeration attribute node.</P
2949><P
2950></P
2951><DIV
2952CLASS="INFORMALTABLE"
2953><P
2954></P
2955><TABLE
2956BORDER="0"
2957WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002958BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002959CELLSPACING="0"
2960CELLPADDING="4"
2961CLASS="CALSTABLE"
2962><TR
2963><TD
2964WIDTH="20%"
2965ALIGN="RIGHT"
2966VALIGN="TOP"
2967><TT
2968CLASS="PARAMETER"
2969><I
2970>name</I
2971></TT
2972>&nbsp;:</TD
2973><TD
2974WIDTH="80%"
2975ALIGN="LEFT"
2976VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002977> the enumeration name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002978></TR
2979><TR
2980><TD
2981WIDTH="20%"
2982ALIGN="RIGHT"
2983VALIGN="TOP"
2984><I
2985CLASS="EMPHASIS"
2986>Returns</I
2987> :</TD
2988><TD
2989WIDTH="80%"
2990ALIGN="LEFT"
2991VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002992>the xmlEnumerationPtr just created or NULL in case
2993of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002994></TR
2995></TABLE
2996><P
2997></P
2998></DIV
2999></DIV
3000><HR><DIV
3001CLASS="REFSECT2"
3002><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00003003NAME="AEN7643"
Daniel Veillard35925471999-02-25 08:46:07 +00003004></A
3005><H3
3006><A
3007NAME="XMLFREEENUMERATION"
3008></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003009>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003010><TABLE
3011BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003012BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003013WIDTH="100%"
3014CELLPADDING="6"
3015><TR
3016><TD
3017><PRE
3018CLASS="PROGRAMLISTING"
3019>void xmlFreeEnumeration (<A
3020HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
3021>xmlEnumerationPtr</A
3022> cur);</PRE
3023></TD
3024></TR
3025></TABLE
3026><P
3027>free an enumeration attribute node (recursive).</P
3028><P
3029></P
3030><DIV
3031CLASS="INFORMALTABLE"
3032><P
3033></P
3034><TABLE
3035BORDER="0"
3036WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003037BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003038CELLSPACING="0"
3039CELLPADDING="4"
3040CLASS="CALSTABLE"
3041><TR
3042><TD
3043WIDTH="20%"
3044ALIGN="RIGHT"
3045VALIGN="TOP"
3046><TT
3047CLASS="PARAMETER"
3048><I
3049>cur</I
3050></TT
3051>&nbsp;:</TD
3052><TD
3053WIDTH="80%"
3054ALIGN="LEFT"
3055VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003056> the tree to free.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003057></TR
3058></TABLE
3059><P
3060></P
3061></DIV
3062></DIV
3063><HR><DIV
3064CLASS="REFSECT2"
3065><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00003066NAME="AEN7659"
Daniel Veillard35925471999-02-25 08:46:07 +00003067></A
3068><H3
3069><A
3070NAME="XMLCOPYENUMERATION"
3071></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003072>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003073><TABLE
3074BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003075BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003076WIDTH="100%"
3077CELLPADDING="6"
3078><TR
3079><TD
3080><PRE
3081CLASS="PROGRAMLISTING"
3082><A
3083HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
3084>xmlEnumerationPtr</A
3085> xmlCopyEnumeration (<A
3086HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
3087>xmlEnumerationPtr</A
3088> cur);</PRE
3089></TD
3090></TR
3091></TABLE
3092><P
3093>Copy an enumeration attribute node (recursive).</P
3094><P
3095></P
3096><DIV
3097CLASS="INFORMALTABLE"
3098><P
3099></P
3100><TABLE
3101BORDER="0"
3102WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003103BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003104CELLSPACING="0"
3105CELLPADDING="4"
3106CLASS="CALSTABLE"
3107><TR
3108><TD
3109WIDTH="20%"
3110ALIGN="RIGHT"
3111VALIGN="TOP"
3112><TT
3113CLASS="PARAMETER"
3114><I
3115>cur</I
3116></TT
3117>&nbsp;:</TD
3118><TD
3119WIDTH="80%"
3120ALIGN="LEFT"
3121VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003122> the tree to copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003123></TR
3124><TR
3125><TD
3126WIDTH="20%"
3127ALIGN="RIGHT"
3128VALIGN="TOP"
3129><I
3130CLASS="EMPHASIS"
3131>Returns</I
3132> :</TD
3133><TD
3134WIDTH="80%"
3135ALIGN="LEFT"
3136VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003137>the xmlEnumerationPtr just created or NULL in case
3138of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003139></TR
3140></TABLE
3141><P
3142></P
3143></DIV
3144></DIV
3145><HR><DIV
3146CLASS="REFSECT2"
3147><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00003148NAME="AEN7680"
Daniel Veillard35925471999-02-25 08:46:07 +00003149></A
3150><H3
3151><A
3152NAME="XMLADDATTRIBUTEDECL"
3153></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003154>xmlAddAttributeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003155><TABLE
3156BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003157BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003158WIDTH="100%"
3159CELLPADDING="6"
3160><TR
3161><TD
3162><PRE
3163CLASS="PROGRAMLISTING"
3164><A
3165HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
3166>xmlAttributePtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003167> xmlAddAttributeDecl (<A
3168HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
3169>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00003170> ctxt,
3171 <A
Daniel Veillard35925471999-02-25 08:46:07 +00003172HREF="gnome-xml-tree.html#XMLDTDPTR"
3173>xmlDtdPtr</A
3174> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003175 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003176HREF="gnome-xml-tree.html#XMLCHAR"
3177>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003178> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003179 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003180HREF="gnome-xml-tree.html#XMLCHAR"
3181>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003182> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003183 const <A
3184HREF="gnome-xml-tree.html#XMLCHAR"
3185>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +00003186> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003187 <A
3188HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
3189>xmlAttributeType</A
3190> type,
3191 <A
3192HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
3193>xmlAttributeDefault</A
3194> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003195 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003196HREF="gnome-xml-tree.html#XMLCHAR"
3197>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003198> *defaultValue,
3199 <A
3200HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
3201>xmlEnumerationPtr</A
3202> tree);</PRE
3203></TD
3204></TR
3205></TABLE
3206><P
3207>Register a new attribute declaration</P
3208><P
3209></P
3210><DIV
3211CLASS="INFORMALTABLE"
3212><P
3213></P
3214><TABLE
3215BORDER="0"
3216WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003217BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003218CELLSPACING="0"
3219CELLPADDING="4"
3220CLASS="CALSTABLE"
3221><TR
3222><TD
3223WIDTH="20%"
3224ALIGN="RIGHT"
3225VALIGN="TOP"
3226><TT
3227CLASS="PARAMETER"
3228><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00003229>ctxt</I
3230></TT
3231>&nbsp;:</TD
3232><TD
3233WIDTH="80%"
3234ALIGN="LEFT"
3235VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003236> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003237></TR
3238><TR
3239><TD
3240WIDTH="20%"
3241ALIGN="RIGHT"
3242VALIGN="TOP"
3243><TT
3244CLASS="PARAMETER"
3245><I
Daniel Veillard35925471999-02-25 08:46:07 +00003246>dtd</I
3247></TT
3248>&nbsp;:</TD
3249><TD
3250WIDTH="80%"
3251ALIGN="LEFT"
3252VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003253> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003254></TR
3255><TR
3256><TD
3257WIDTH="20%"
3258ALIGN="RIGHT"
3259VALIGN="TOP"
3260><TT
3261CLASS="PARAMETER"
3262><I
3263>elem</I
3264></TT
3265>&nbsp;:</TD
3266><TD
3267WIDTH="80%"
3268ALIGN="LEFT"
3269VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003270> the element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003271></TR
3272><TR
3273><TD
3274WIDTH="20%"
3275ALIGN="RIGHT"
3276VALIGN="TOP"
3277><TT
3278CLASS="PARAMETER"
3279><I
3280>name</I
3281></TT
3282>&nbsp;:</TD
3283><TD
3284WIDTH="80%"
3285ALIGN="LEFT"
3286VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003287> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003288></TR
3289><TR
3290><TD
3291WIDTH="20%"
3292ALIGN="RIGHT"
3293VALIGN="TOP"
3294><TT
3295CLASS="PARAMETER"
3296><I
Daniel Veillard06047432000-04-24 11:33:38 +00003297>ns</I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003298></TT
3299>&nbsp;:</TD
3300><TD
3301WIDTH="80%"
3302ALIGN="LEFT"
3303VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003304> the attribute namespace prefix</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003305></TR
3306><TR
3307><TD
3308WIDTH="20%"
3309ALIGN="RIGHT"
3310VALIGN="TOP"
3311><TT
3312CLASS="PARAMETER"
3313><I
Daniel Veillard35925471999-02-25 08:46:07 +00003314>type</I
3315></TT
3316>&nbsp;:</TD
3317><TD
3318WIDTH="80%"
3319ALIGN="LEFT"
3320VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003321> the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003322></TR
3323><TR
3324><TD
3325WIDTH="20%"
3326ALIGN="RIGHT"
3327VALIGN="TOP"
3328><TT
3329CLASS="PARAMETER"
3330><I
3331>def</I
3332></TT
3333>&nbsp;:</TD
3334><TD
3335WIDTH="80%"
3336ALIGN="LEFT"
3337VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003338> the attribute default type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003339></TR
3340><TR
3341><TD
3342WIDTH="20%"
3343ALIGN="RIGHT"
3344VALIGN="TOP"
3345><TT
3346CLASS="PARAMETER"
3347><I
3348>defaultValue</I
3349></TT
3350>&nbsp;:</TD
3351><TD
3352WIDTH="80%"
3353ALIGN="LEFT"
3354VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003355> the attribute default value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003356></TR
3357><TR
3358><TD
3359WIDTH="20%"
3360ALIGN="RIGHT"
3361VALIGN="TOP"
3362><TT
3363CLASS="PARAMETER"
3364><I
3365>tree</I
3366></TT
3367>&nbsp;:</TD
3368><TD
3369WIDTH="80%"
3370ALIGN="LEFT"
3371VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003372> if it's an enumeration, the associated list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003373></TR
3374><TR
3375><TD
3376WIDTH="20%"
3377ALIGN="RIGHT"
3378VALIGN="TOP"
3379><I
3380CLASS="EMPHASIS"
3381>Returns</I
3382> :</TD
3383><TD
3384WIDTH="80%"
3385ALIGN="LEFT"
3386VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003387>NULL if not new, othervise the attribute decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003388></TR
3389></TABLE
3390><P
3391></P
3392></DIV
3393></DIV
3394><HR><DIV
3395CLASS="REFSECT2"
3396><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00003397NAME="AEN7741"
Daniel Veillard35925471999-02-25 08:46:07 +00003398></A
3399><H3
3400><A
3401NAME="XMLCOPYATTRIBUTETABLE"
3402></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003403>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003404><TABLE
3405BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003406BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003407WIDTH="100%"
3408CELLPADDING="6"
3409><TR
3410><TD
3411><PRE
3412CLASS="PROGRAMLISTING"
3413><A
3414HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3415>xmlAttributeTablePtr</A
3416> xmlCopyAttributeTable (<A
3417HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3418>xmlAttributeTablePtr</A
3419> table);</PRE
3420></TD
3421></TR
3422></TABLE
3423><P
3424>Build a copy of an attribute table.</P
3425><P
3426></P
3427><DIV
3428CLASS="INFORMALTABLE"
3429><P
3430></P
3431><TABLE
3432BORDER="0"
3433WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003434BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003435CELLSPACING="0"
3436CELLPADDING="4"
3437CLASS="CALSTABLE"
3438><TR
3439><TD
3440WIDTH="20%"
3441ALIGN="RIGHT"
3442VALIGN="TOP"
3443><TT
3444CLASS="PARAMETER"
3445><I
3446>table</I
3447></TT
3448>&nbsp;:</TD
3449><TD
3450WIDTH="80%"
3451ALIGN="LEFT"
3452VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003453> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003454></TR
3455><TR
3456><TD
3457WIDTH="20%"
3458ALIGN="RIGHT"
3459VALIGN="TOP"
3460><I
3461CLASS="EMPHASIS"
3462>Returns</I
3463> :</TD
3464><TD
3465WIDTH="80%"
3466ALIGN="LEFT"
3467VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003468>the new xmlAttributeTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003469></TR
3470></TABLE
3471><P
3472></P
3473></DIV
3474></DIV
3475><HR><DIV
3476CLASS="REFSECT2"
3477><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00003478NAME="AEN7762"
Daniel Veillard35925471999-02-25 08:46:07 +00003479></A
3480><H3
3481><A
3482NAME="XMLFREEATTRIBUTETABLE"
3483></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003484>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003485><TABLE
3486BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003487BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003488WIDTH="100%"
3489CELLPADDING="6"
3490><TR
3491><TD
3492><PRE
3493CLASS="PROGRAMLISTING"
3494>void xmlFreeAttributeTable (<A
3495HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3496>xmlAttributeTablePtr</A
3497> table);</PRE
3498></TD
3499></TR
3500></TABLE
3501><P
3502>Deallocate the memory used by an entities hash table.</P
3503><P
3504></P
3505><DIV
3506CLASS="INFORMALTABLE"
3507><P
3508></P
3509><TABLE
3510BORDER="0"
3511WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003512BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003513CELLSPACING="0"
3514CELLPADDING="4"
3515CLASS="CALSTABLE"
3516><TR
3517><TD
3518WIDTH="20%"
3519ALIGN="RIGHT"
3520VALIGN="TOP"
3521><TT
3522CLASS="PARAMETER"
3523><I
3524>table</I
3525></TT
3526>&nbsp;:</TD
3527><TD
3528WIDTH="80%"
3529ALIGN="LEFT"
3530VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003531> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003532></TR
3533></TABLE
3534><P
3535></P
3536></DIV
3537></DIV
3538><HR><DIV
3539CLASS="REFSECT2"
3540><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00003541NAME="AEN7778"
Daniel Veillard35925471999-02-25 08:46:07 +00003542></A
3543><H3
3544><A
3545NAME="XMLDUMPATTRIBUTETABLE"
3546></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003547>xmlDumpAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003548><TABLE
3549BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003550BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003551WIDTH="100%"
3552CELLPADDING="6"
3553><TR
3554><TD
3555><PRE
3556CLASS="PROGRAMLISTING"
3557>void xmlDumpAttributeTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003558HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3559>xmlBufferPtr</A
3560> buf,
3561 <A
Daniel Veillard35925471999-02-25 08:46:07 +00003562HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3563>xmlAttributeTablePtr</A
3564> table);</PRE
3565></TD
3566></TR
3567></TABLE
3568><P
3569>This will dump the content of the attribute table as an XML DTD definition</P
3570><P
Daniel Veillard35925471999-02-25 08:46:07 +00003571></P
3572><DIV
3573CLASS="INFORMALTABLE"
3574><P
3575></P
3576><TABLE
3577BORDER="0"
3578WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003579BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003580CELLSPACING="0"
3581CELLPADDING="4"
3582CLASS="CALSTABLE"
3583><TR
3584><TD
3585WIDTH="20%"
3586ALIGN="RIGHT"
3587VALIGN="TOP"
3588><TT
3589CLASS="PARAMETER"
3590><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003591>buf</I
3592></TT
3593>&nbsp;:</TD
3594><TD
3595WIDTH="80%"
3596ALIGN="LEFT"
3597VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003598> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003599></TR
3600><TR
3601><TD
3602WIDTH="20%"
3603ALIGN="RIGHT"
3604VALIGN="TOP"
3605><TT
3606CLASS="PARAMETER"
3607><I
Daniel Veillard35925471999-02-25 08:46:07 +00003608>table</I
3609></TT
3610>&nbsp;:</TD
3611><TD
3612WIDTH="80%"
3613ALIGN="LEFT"
3614VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003615> An attribute table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003616></TR
3617></TABLE
3618><P
3619></P
3620></DIV
3621></DIV
3622><HR><DIV
3623CLASS="REFSECT2"
3624><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00003625NAME="AEN7799"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003626></A
3627><H3
3628><A
3629NAME="XMLDUMPATTRIBUTEDECL"
3630></A
3631>xmlDumpAttributeDecl ()</H3
3632><TABLE
3633BORDER="0"
3634BGCOLOR="#D6E8FF"
3635WIDTH="100%"
3636CELLPADDING="6"
3637><TR
3638><TD
3639><PRE
3640CLASS="PROGRAMLISTING"
3641>void xmlDumpAttributeDecl (<A
3642HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3643>xmlBufferPtr</A
3644> buf,
3645 <A
3646HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
3647>xmlAttributePtr</A
3648> attr);</PRE
3649></TD
3650></TR
3651></TABLE
3652><P
3653>This will dump the content of the attribute declaration as an XML
3654DTD definition</P
3655><P
3656></P
3657><DIV
3658CLASS="INFORMALTABLE"
3659><P
3660></P
3661><TABLE
3662BORDER="0"
3663WIDTH="100%"
3664BGCOLOR="#FFD0D0"
3665CELLSPACING="0"
3666CELLPADDING="4"
3667CLASS="CALSTABLE"
3668><TR
3669><TD
3670WIDTH="20%"
3671ALIGN="RIGHT"
3672VALIGN="TOP"
3673><TT
3674CLASS="PARAMETER"
3675><I
3676>buf</I
3677></TT
3678>&nbsp;:</TD
3679><TD
3680WIDTH="80%"
3681ALIGN="LEFT"
3682VALIGN="TOP"
3683> the XML buffer output</TD
3684></TR
3685><TR
3686><TD
3687WIDTH="20%"
3688ALIGN="RIGHT"
3689VALIGN="TOP"
3690><TT
3691CLASS="PARAMETER"
3692><I
3693>attr</I
3694></TT
3695>&nbsp;:</TD
3696><TD
3697WIDTH="80%"
3698ALIGN="LEFT"
3699VALIGN="TOP"
3700> An attribute declaration</TD
3701></TR
3702></TABLE
3703><P
3704></P
3705></DIV
3706></DIV
3707><HR><DIV
3708CLASS="REFSECT2"
3709><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00003710NAME="AEN7820"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003711></A
3712><H3
3713><A
3714NAME="XMLADDID"
3715></A
3716>xmlAddID ()</H3
3717><TABLE
3718BORDER="0"
3719BGCOLOR="#D6E8FF"
3720WIDTH="100%"
3721CELLPADDING="6"
3722><TR
3723><TD
3724><PRE
3725CLASS="PROGRAMLISTING"
3726><A
3727HREF="gnome-xml-tree.html#XMLIDPTR"
3728>xmlIDPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003729> xmlAddID (<A
3730HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
3731>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003732> ctxt,
3733 <A
3734HREF="gnome-xml-tree.html#XMLDOCPTR"
3735>xmlDocPtr</A
3736> doc,
3737 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003738HREF="gnome-xml-tree.html#XMLCHAR"
3739>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003740> *value,
3741 <A
3742HREF="gnome-xml-tree.html#XMLATTRPTR"
3743>xmlAttrPtr</A
3744> attr);</PRE
3745></TD
3746></TR
3747></TABLE
3748><P
3749>Register a new id declaration</P
3750><P
3751></P
3752><DIV
3753CLASS="INFORMALTABLE"
3754><P
3755></P
3756><TABLE
3757BORDER="0"
3758WIDTH="100%"
3759BGCOLOR="#FFD0D0"
3760CELLSPACING="0"
3761CELLPADDING="4"
3762CLASS="CALSTABLE"
3763><TR
3764><TD
3765WIDTH="20%"
3766ALIGN="RIGHT"
3767VALIGN="TOP"
3768><TT
3769CLASS="PARAMETER"
3770><I
3771>ctxt</I
3772></TT
3773>&nbsp;:</TD
3774><TD
3775WIDTH="80%"
3776ALIGN="LEFT"
3777VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003778> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003779></TR
3780><TR
3781><TD
3782WIDTH="20%"
3783ALIGN="RIGHT"
3784VALIGN="TOP"
3785><TT
3786CLASS="PARAMETER"
3787><I
3788>doc</I
3789></TT
3790>&nbsp;:</TD
3791><TD
3792WIDTH="80%"
3793ALIGN="LEFT"
3794VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003795> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003796></TR
3797><TR
3798><TD
3799WIDTH="20%"
3800ALIGN="RIGHT"
3801VALIGN="TOP"
3802><TT
3803CLASS="PARAMETER"
3804><I
3805>value</I
3806></TT
3807>&nbsp;:</TD
3808><TD
3809WIDTH="80%"
3810ALIGN="LEFT"
3811VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003812> the value name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003813></TR
3814><TR
3815><TD
3816WIDTH="20%"
3817ALIGN="RIGHT"
3818VALIGN="TOP"
3819><TT
3820CLASS="PARAMETER"
3821><I
3822>attr</I
3823></TT
3824>&nbsp;:</TD
3825><TD
3826WIDTH="80%"
3827ALIGN="LEFT"
3828VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003829> the attribute holding the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003830></TR
3831><TR
3832><TD
3833WIDTH="20%"
3834ALIGN="RIGHT"
3835VALIGN="TOP"
3836><I
3837CLASS="EMPHASIS"
3838>Returns</I
3839> :</TD
3840><TD
3841WIDTH="80%"
3842ALIGN="LEFT"
3843VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003844>NULL if not, othervise the new xmlIDPtr</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003845></TR
3846></TABLE
3847><P
3848></P
3849></DIV
3850></DIV
3851><HR><DIV
3852CLASS="REFSECT2"
3853><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00003854NAME="AEN7856"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003855></A
3856><H3
3857><A
3858NAME="XMLCOPYIDTABLE"
3859></A
3860>xmlCopyIDTable ()</H3
3861><TABLE
3862BORDER="0"
3863BGCOLOR="#D6E8FF"
3864WIDTH="100%"
3865CELLPADDING="6"
3866><TR
3867><TD
3868><PRE
3869CLASS="PROGRAMLISTING"
3870><A
3871HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3872>xmlIDTablePtr</A
3873> xmlCopyIDTable (<A
3874HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3875>xmlIDTablePtr</A
3876> table);</PRE
3877></TD
3878></TR
3879></TABLE
3880><P
3881></P
3882><DIV
3883CLASS="INFORMALTABLE"
3884><P
3885></P
3886><TABLE
3887BORDER="0"
3888WIDTH="100%"
3889BGCOLOR="#FFD0D0"
3890CELLSPACING="0"
3891CELLPADDING="4"
3892CLASS="CALSTABLE"
3893><TR
3894><TD
3895WIDTH="20%"
3896ALIGN="RIGHT"
3897VALIGN="TOP"
3898><TT
3899CLASS="PARAMETER"
3900><I
3901>table</I
3902></TT
3903>&nbsp;:</TD
3904><TD
3905WIDTH="80%"
3906ALIGN="LEFT"
3907VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003908>&nbsp;</TD
3909></TR
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003910><TR
3911><TD
3912WIDTH="20%"
3913ALIGN="RIGHT"
3914VALIGN="TOP"
3915><I
3916CLASS="EMPHASIS"
3917>Returns</I
3918> :</TD
3919><TD
3920WIDTH="80%"
3921ALIGN="LEFT"
3922VALIGN="TOP"
3923>&nbsp;</TD
3924></TR
Daniel Veillardb05deb71999-08-10 19:04:08 +00003925></TABLE
3926><P
3927></P
3928></DIV
3929></DIV
3930><HR><DIV
3931CLASS="REFSECT2"
3932><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00003933NAME="AEN7876"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003934></A
3935><H3
3936><A
3937NAME="XMLFREEIDTABLE"
3938></A
3939>xmlFreeIDTable ()</H3
3940><TABLE
3941BORDER="0"
3942BGCOLOR="#D6E8FF"
3943WIDTH="100%"
3944CELLPADDING="6"
3945><TR
3946><TD
3947><PRE
3948CLASS="PROGRAMLISTING"
3949>void xmlFreeIDTable (<A
3950HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3951>xmlIDTablePtr</A
3952> table);</PRE
3953></TD
3954></TR
3955></TABLE
3956><P
3957>Deallocate the memory used by an ID hash table.</P
3958><P
3959></P
3960><DIV
3961CLASS="INFORMALTABLE"
3962><P
3963></P
3964><TABLE
3965BORDER="0"
3966WIDTH="100%"
3967BGCOLOR="#FFD0D0"
3968CELLSPACING="0"
3969CELLPADDING="4"
3970CLASS="CALSTABLE"
3971><TR
3972><TD
3973WIDTH="20%"
3974ALIGN="RIGHT"
3975VALIGN="TOP"
3976><TT
3977CLASS="PARAMETER"
3978><I
3979>table</I
3980></TT
3981>&nbsp;:</TD
3982><TD
3983WIDTH="80%"
3984ALIGN="LEFT"
3985VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003986> An id table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003987></TR
3988></TABLE
3989><P
3990></P
3991></DIV
3992></DIV
3993><HR><DIV
3994CLASS="REFSECT2"
3995><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00003996NAME="AEN7892"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003997></A
3998><H3
3999><A
4000NAME="XMLGETID"
4001></A
4002>xmlGetID ()</H3
4003><TABLE
4004BORDER="0"
4005BGCOLOR="#D6E8FF"
4006WIDTH="100%"
4007CELLPADDING="6"
4008><TR
4009><TD
4010><PRE
4011CLASS="PROGRAMLISTING"
4012><A
4013HREF="gnome-xml-tree.html#XMLATTRPTR"
4014>xmlAttrPtr</A
4015> xmlGetID (<A
4016HREF="gnome-xml-tree.html#XMLDOCPTR"
4017>xmlDocPtr</A
4018> doc,
4019 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004020HREF="gnome-xml-tree.html#XMLCHAR"
4021>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004022> *ID);</PRE
4023></TD
4024></TR
4025></TABLE
4026><P
4027>Search the attribute declaring the given ID</P
4028><P
4029></P
4030><DIV
4031CLASS="INFORMALTABLE"
4032><P
4033></P
4034><TABLE
4035BORDER="0"
4036WIDTH="100%"
4037BGCOLOR="#FFD0D0"
4038CELLSPACING="0"
4039CELLPADDING="4"
4040CLASS="CALSTABLE"
4041><TR
4042><TD
4043WIDTH="20%"
4044ALIGN="RIGHT"
4045VALIGN="TOP"
4046><TT
4047CLASS="PARAMETER"
4048><I
4049>doc</I
4050></TT
4051>&nbsp;:</TD
4052><TD
4053WIDTH="80%"
4054ALIGN="LEFT"
4055VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004056> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004057></TR
4058><TR
4059><TD
4060WIDTH="20%"
4061ALIGN="RIGHT"
4062VALIGN="TOP"
4063><TT
4064CLASS="PARAMETER"
4065><I
4066>ID</I
4067></TT
4068>&nbsp;:</TD
4069><TD
4070WIDTH="80%"
4071ALIGN="LEFT"
4072VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004073> the ID value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004074></TR
4075><TR
4076><TD
4077WIDTH="20%"
4078ALIGN="RIGHT"
4079VALIGN="TOP"
4080><I
4081CLASS="EMPHASIS"
4082>Returns</I
4083> :</TD
4084><TD
4085WIDTH="80%"
4086ALIGN="LEFT"
4087VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004088>NULL if not found, otherwise the xmlAttrPtr defining the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004089></TR
4090></TABLE
4091><P
4092></P
4093></DIV
4094></DIV
4095><HR><DIV
4096CLASS="REFSECT2"
4097><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004098NAME="AEN7918"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004099></A
4100><H3
4101><A
4102NAME="XMLISID"
4103></A
4104>xmlIsID ()</H3
4105><TABLE
4106BORDER="0"
4107BGCOLOR="#D6E8FF"
4108WIDTH="100%"
4109CELLPADDING="6"
4110><TR
4111><TD
4112><PRE
4113CLASS="PROGRAMLISTING"
4114>int xmlIsID (<A
4115HREF="gnome-xml-tree.html#XMLDOCPTR"
4116>xmlDocPtr</A
4117> doc,
4118 <A
4119HREF="gnome-xml-tree.html#XMLNODEPTR"
4120>xmlNodePtr</A
4121> elem,
4122 <A
4123HREF="gnome-xml-tree.html#XMLATTRPTR"
4124>xmlAttrPtr</A
4125> attr);</PRE
4126></TD
4127></TR
4128></TABLE
4129><P
4130>Determine whether an attribute is of type ID. In case we have Dtd(s)
4131then this is simple, otherwise we use an heuristic: name ID (upper
4132or lowercase).</P
4133><P
4134></P
4135><DIV
4136CLASS="INFORMALTABLE"
4137><P
4138></P
4139><TABLE
4140BORDER="0"
4141WIDTH="100%"
4142BGCOLOR="#FFD0D0"
4143CELLSPACING="0"
4144CELLPADDING="4"
4145CLASS="CALSTABLE"
4146><TR
4147><TD
4148WIDTH="20%"
4149ALIGN="RIGHT"
4150VALIGN="TOP"
4151><TT
4152CLASS="PARAMETER"
4153><I
4154>doc</I
4155></TT
4156>&nbsp;:</TD
4157><TD
4158WIDTH="80%"
4159ALIGN="LEFT"
4160VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004161> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004162></TR
4163><TR
4164><TD
4165WIDTH="20%"
4166ALIGN="RIGHT"
4167VALIGN="TOP"
4168><TT
4169CLASS="PARAMETER"
4170><I
4171>elem</I
4172></TT
4173>&nbsp;:</TD
4174><TD
4175WIDTH="80%"
4176ALIGN="LEFT"
4177VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004178> the element carrying the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004179></TR
4180><TR
4181><TD
4182WIDTH="20%"
4183ALIGN="RIGHT"
4184VALIGN="TOP"
4185><TT
4186CLASS="PARAMETER"
4187><I
4188>attr</I
4189></TT
4190>&nbsp;:</TD
4191><TD
4192WIDTH="80%"
4193ALIGN="LEFT"
4194VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004195> the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004196></TR
4197><TR
4198><TD
4199WIDTH="20%"
4200ALIGN="RIGHT"
4201VALIGN="TOP"
4202><I
4203CLASS="EMPHASIS"
4204>Returns</I
4205> :</TD
4206><TD
4207WIDTH="80%"
4208ALIGN="LEFT"
4209VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004210>0 or 1 depending on the lookup result</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004211></TR
4212></TABLE
4213><P
4214></P
4215></DIV
4216></DIV
4217><HR><DIV
4218CLASS="REFSECT2"
4219><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004220NAME="AEN7948"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004221></A
4222><H3
4223><A
4224NAME="XMLREMOVEID"
4225></A
4226>xmlRemoveID ()</H3
4227><TABLE
4228BORDER="0"
4229BGCOLOR="#D6E8FF"
4230WIDTH="100%"
4231CELLPADDING="6"
4232><TR
4233><TD
4234><PRE
4235CLASS="PROGRAMLISTING"
4236>int xmlRemoveID (<A
4237HREF="gnome-xml-tree.html#XMLDOCPTR"
4238>xmlDocPtr</A
4239> doc,
4240 <A
4241HREF="gnome-xml-tree.html#XMLATTRPTR"
4242>xmlAttrPtr</A
4243> attr);</PRE
4244></TD
4245></TR
4246></TABLE
4247><P
4248>Remove the given attribute from the ID table maintained internally.</P
4249><P
4250></P
4251><DIV
4252CLASS="INFORMALTABLE"
4253><P
4254></P
4255><TABLE
4256BORDER="0"
4257WIDTH="100%"
4258BGCOLOR="#FFD0D0"
4259CELLSPACING="0"
4260CELLPADDING="4"
4261CLASS="CALSTABLE"
4262><TR
4263><TD
4264WIDTH="20%"
4265ALIGN="RIGHT"
4266VALIGN="TOP"
4267><TT
4268CLASS="PARAMETER"
4269><I
4270>doc</I
4271></TT
4272>&nbsp;:</TD
4273><TD
4274WIDTH="80%"
4275ALIGN="LEFT"
4276VALIGN="TOP"
4277> the document</TD
4278></TR
4279><TR
4280><TD
4281WIDTH="20%"
4282ALIGN="RIGHT"
4283VALIGN="TOP"
4284><TT
4285CLASS="PARAMETER"
4286><I
4287>attr</I
4288></TT
4289>&nbsp;:</TD
4290><TD
4291WIDTH="80%"
4292ALIGN="LEFT"
4293VALIGN="TOP"
4294> the attribute</TD
4295></TR
4296><TR
4297><TD
4298WIDTH="20%"
4299ALIGN="RIGHT"
4300VALIGN="TOP"
4301><I
4302CLASS="EMPHASIS"
4303>Returns</I
4304> :</TD
4305><TD
4306WIDTH="80%"
4307ALIGN="LEFT"
4308VALIGN="TOP"
4309>-1 if the lookup failed and 0 otherwise</TD
4310></TR
4311></TABLE
4312><P
4313></P
4314></DIV
4315></DIV
4316><HR><DIV
4317CLASS="REFSECT2"
4318><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004319NAME="AEN7973"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004320></A
4321><H3
4322><A
4323NAME="XMLADDREF"
4324></A
4325>xmlAddRef ()</H3
4326><TABLE
4327BORDER="0"
4328BGCOLOR="#D6E8FF"
4329WIDTH="100%"
4330CELLPADDING="6"
4331><TR
4332><TD
4333><PRE
4334CLASS="PROGRAMLISTING"
4335><A
4336HREF="gnome-xml-tree.html#XMLREFPTR"
4337>xmlRefPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004338> xmlAddRef (<A
4339HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4340>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004341> ctxt,
4342 <A
4343HREF="gnome-xml-tree.html#XMLDOCPTR"
4344>xmlDocPtr</A
4345> doc,
4346 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004347HREF="gnome-xml-tree.html#XMLCHAR"
4348>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004349> *value,
4350 <A
4351HREF="gnome-xml-tree.html#XMLATTRPTR"
4352>xmlAttrPtr</A
4353> attr);</PRE
4354></TD
4355></TR
4356></TABLE
4357><P
4358>Register a new ref declaration</P
4359><P
4360></P
4361><DIV
4362CLASS="INFORMALTABLE"
4363><P
4364></P
4365><TABLE
4366BORDER="0"
4367WIDTH="100%"
4368BGCOLOR="#FFD0D0"
4369CELLSPACING="0"
4370CELLPADDING="4"
4371CLASS="CALSTABLE"
4372><TR
4373><TD
4374WIDTH="20%"
4375ALIGN="RIGHT"
4376VALIGN="TOP"
4377><TT
4378CLASS="PARAMETER"
4379><I
4380>ctxt</I
4381></TT
4382>&nbsp;:</TD
4383><TD
4384WIDTH="80%"
4385ALIGN="LEFT"
4386VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004387> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004388></TR
4389><TR
4390><TD
4391WIDTH="20%"
4392ALIGN="RIGHT"
4393VALIGN="TOP"
4394><TT
4395CLASS="PARAMETER"
4396><I
4397>doc</I
4398></TT
4399>&nbsp;:</TD
4400><TD
4401WIDTH="80%"
4402ALIGN="LEFT"
4403VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004404> pointer to the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004405></TR
4406><TR
4407><TD
4408WIDTH="20%"
4409ALIGN="RIGHT"
4410VALIGN="TOP"
4411><TT
4412CLASS="PARAMETER"
4413><I
4414>value</I
4415></TT
4416>&nbsp;:</TD
4417><TD
4418WIDTH="80%"
4419ALIGN="LEFT"
4420VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004421> the value name</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004422></TR
4423><TR
4424><TD
4425WIDTH="20%"
4426ALIGN="RIGHT"
4427VALIGN="TOP"
4428><TT
4429CLASS="PARAMETER"
4430><I
4431>attr</I
4432></TT
4433>&nbsp;:</TD
4434><TD
4435WIDTH="80%"
4436ALIGN="LEFT"
4437VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004438> the attribute holding the Ref</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004439></TR
4440><TR
4441><TD
4442WIDTH="20%"
4443ALIGN="RIGHT"
4444VALIGN="TOP"
4445><I
4446CLASS="EMPHASIS"
4447>Returns</I
4448> :</TD
4449><TD
4450WIDTH="80%"
4451ALIGN="LEFT"
4452VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004453>NULL if not, othervise the new xmlRefPtr</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004454></TR
4455></TABLE
4456><P
4457></P
4458></DIV
4459></DIV
4460><HR><DIV
4461CLASS="REFSECT2"
4462><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004463NAME="AEN8009"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004464></A
4465><H3
4466><A
4467NAME="XMLCOPYREFTABLE"
4468></A
4469>xmlCopyRefTable ()</H3
4470><TABLE
4471BORDER="0"
4472BGCOLOR="#D6E8FF"
4473WIDTH="100%"
4474CELLPADDING="6"
4475><TR
4476><TD
4477><PRE
4478CLASS="PROGRAMLISTING"
4479><A
4480HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
4481>xmlRefTablePtr</A
4482> xmlCopyRefTable (<A
4483HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
4484>xmlRefTablePtr</A
4485> table);</PRE
4486></TD
4487></TR
4488></TABLE
4489><P
4490></P
4491><DIV
4492CLASS="INFORMALTABLE"
4493><P
4494></P
4495><TABLE
4496BORDER="0"
4497WIDTH="100%"
4498BGCOLOR="#FFD0D0"
4499CELLSPACING="0"
4500CELLPADDING="4"
4501CLASS="CALSTABLE"
4502><TR
4503><TD
4504WIDTH="20%"
4505ALIGN="RIGHT"
4506VALIGN="TOP"
4507><TT
4508CLASS="PARAMETER"
4509><I
4510>table</I
4511></TT
4512>&nbsp;:</TD
4513><TD
4514WIDTH="80%"
4515ALIGN="LEFT"
4516VALIGN="TOP"
4517>&nbsp;</TD
4518></TR
4519><TR
4520><TD
4521WIDTH="20%"
4522ALIGN="RIGHT"
4523VALIGN="TOP"
4524><I
4525CLASS="EMPHASIS"
4526>Returns</I
4527> :</TD
4528><TD
4529WIDTH="80%"
4530ALIGN="LEFT"
4531VALIGN="TOP"
4532>&nbsp;</TD
4533></TR
4534></TABLE
4535><P
4536></P
4537></DIV
4538></DIV
4539><HR><DIV
4540CLASS="REFSECT2"
4541><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004542NAME="AEN8029"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004543></A
4544><H3
4545><A
4546NAME="XMLFREEREFTABLE"
4547></A
4548>xmlFreeRefTable ()</H3
4549><TABLE
4550BORDER="0"
4551BGCOLOR="#D6E8FF"
4552WIDTH="100%"
4553CELLPADDING="6"
4554><TR
4555><TD
4556><PRE
4557CLASS="PROGRAMLISTING"
4558>void xmlFreeRefTable (<A
4559HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
4560>xmlRefTablePtr</A
4561> table);</PRE
4562></TD
4563></TR
4564></TABLE
4565><P
4566>Deallocate the memory used by an Ref hash table.</P
4567><P
4568></P
4569><DIV
4570CLASS="INFORMALTABLE"
4571><P
4572></P
4573><TABLE
4574BORDER="0"
4575WIDTH="100%"
4576BGCOLOR="#FFD0D0"
4577CELLSPACING="0"
4578CELLPADDING="4"
4579CLASS="CALSTABLE"
4580><TR
4581><TD
4582WIDTH="20%"
4583ALIGN="RIGHT"
4584VALIGN="TOP"
4585><TT
4586CLASS="PARAMETER"
4587><I
4588>table</I
4589></TT
4590>&nbsp;:</TD
4591><TD
4592WIDTH="80%"
4593ALIGN="LEFT"
4594VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004595> An ref table</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004596></TR
4597></TABLE
4598><P
4599></P
4600></DIV
4601></DIV
4602><HR><DIV
4603CLASS="REFSECT2"
4604><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004605NAME="AEN8045"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004606></A
4607><H3
4608><A
4609NAME="XMLISREF"
4610></A
4611>xmlIsRef ()</H3
4612><TABLE
4613BORDER="0"
4614BGCOLOR="#D6E8FF"
4615WIDTH="100%"
4616CELLPADDING="6"
4617><TR
4618><TD
4619><PRE
4620CLASS="PROGRAMLISTING"
4621>int xmlIsRef (<A
4622HREF="gnome-xml-tree.html#XMLDOCPTR"
4623>xmlDocPtr</A
4624> doc,
4625 <A
4626HREF="gnome-xml-tree.html#XMLNODEPTR"
4627>xmlNodePtr</A
4628> elem,
4629 <A
4630HREF="gnome-xml-tree.html#XMLATTRPTR"
4631>xmlAttrPtr</A
4632> attr);</PRE
4633></TD
4634></TR
4635></TABLE
4636><P
4637>Determine whether an attribute is of type Ref. In case we have Dtd(s)
4638then this is simple, otherwise we use an heuristic: name Ref (upper
4639or lowercase).</P
4640><P
4641></P
4642><DIV
4643CLASS="INFORMALTABLE"
4644><P
4645></P
4646><TABLE
4647BORDER="0"
4648WIDTH="100%"
4649BGCOLOR="#FFD0D0"
4650CELLSPACING="0"
4651CELLPADDING="4"
4652CLASS="CALSTABLE"
4653><TR
4654><TD
4655WIDTH="20%"
4656ALIGN="RIGHT"
4657VALIGN="TOP"
4658><TT
4659CLASS="PARAMETER"
4660><I
4661>doc</I
4662></TT
4663>&nbsp;:</TD
4664><TD
4665WIDTH="80%"
4666ALIGN="LEFT"
4667VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004668> the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004669></TR
4670><TR
4671><TD
4672WIDTH="20%"
4673ALIGN="RIGHT"
4674VALIGN="TOP"
4675><TT
4676CLASS="PARAMETER"
4677><I
4678>elem</I
4679></TT
4680>&nbsp;:</TD
4681><TD
4682WIDTH="80%"
4683ALIGN="LEFT"
4684VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004685> the element carrying the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004686></TR
4687><TR
4688><TD
4689WIDTH="20%"
4690ALIGN="RIGHT"
4691VALIGN="TOP"
4692><TT
4693CLASS="PARAMETER"
4694><I
4695>attr</I
4696></TT
4697>&nbsp;:</TD
4698><TD
4699WIDTH="80%"
4700ALIGN="LEFT"
4701VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004702> the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004703></TR
4704><TR
4705><TD
4706WIDTH="20%"
4707ALIGN="RIGHT"
4708VALIGN="TOP"
4709><I
4710CLASS="EMPHASIS"
4711>Returns</I
4712> :</TD
4713><TD
4714WIDTH="80%"
4715ALIGN="LEFT"
4716VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004717>0 or 1 depending on the lookup result</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004718></TR
4719></TABLE
4720><P
4721></P
4722></DIV
4723></DIV
4724><HR><DIV
4725CLASS="REFSECT2"
4726><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004727NAME="AEN8075"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004728></A
4729><H3
4730><A
4731NAME="XMLREMOVEREF"
4732></A
4733>xmlRemoveRef ()</H3
4734><TABLE
4735BORDER="0"
4736BGCOLOR="#D6E8FF"
4737WIDTH="100%"
4738CELLPADDING="6"
4739><TR
4740><TD
4741><PRE
4742CLASS="PROGRAMLISTING"
4743>int xmlRemoveRef (<A
4744HREF="gnome-xml-tree.html#XMLDOCPTR"
4745>xmlDocPtr</A
4746> doc,
4747 <A
4748HREF="gnome-xml-tree.html#XMLATTRPTR"
4749>xmlAttrPtr</A
4750> attr);</PRE
4751></TD
4752></TR
4753></TABLE
4754><P
4755>Remove the given attribute from the Ref table maintained internally.</P
4756><P
4757></P
4758><DIV
4759CLASS="INFORMALTABLE"
4760><P
4761></P
4762><TABLE
4763BORDER="0"
4764WIDTH="100%"
4765BGCOLOR="#FFD0D0"
4766CELLSPACING="0"
4767CELLPADDING="4"
4768CLASS="CALSTABLE"
4769><TR
4770><TD
4771WIDTH="20%"
4772ALIGN="RIGHT"
4773VALIGN="TOP"
4774><TT
4775CLASS="PARAMETER"
4776><I
4777>doc</I
4778></TT
4779>&nbsp;:</TD
4780><TD
4781WIDTH="80%"
4782ALIGN="LEFT"
4783VALIGN="TOP"
4784> the document</TD
4785></TR
4786><TR
4787><TD
4788WIDTH="20%"
4789ALIGN="RIGHT"
4790VALIGN="TOP"
4791><TT
4792CLASS="PARAMETER"
4793><I
4794>attr</I
4795></TT
4796>&nbsp;:</TD
4797><TD
4798WIDTH="80%"
4799ALIGN="LEFT"
4800VALIGN="TOP"
4801> the attribute</TD
4802></TR
4803><TR
4804><TD
4805WIDTH="20%"
4806ALIGN="RIGHT"
4807VALIGN="TOP"
4808><I
4809CLASS="EMPHASIS"
4810>Returns</I
4811> :</TD
4812><TD
4813WIDTH="80%"
4814ALIGN="LEFT"
4815VALIGN="TOP"
4816>-1 if the lookup failed and 0 otherwise</TD
4817></TR
4818></TABLE
4819><P
4820></P
4821></DIV
4822></DIV
4823><HR><DIV
4824CLASS="REFSECT2"
4825><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004826NAME="AEN8100"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004827></A
4828><H3
4829><A
4830NAME="XMLVALIDATEROOT"
4831></A
4832>xmlValidateRoot ()</H3
4833><TABLE
4834BORDER="0"
4835BGCOLOR="#D6E8FF"
4836WIDTH="100%"
4837CELLPADDING="6"
4838><TR
4839><TD
4840><PRE
4841CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004842>int xmlValidateRoot (<A
4843HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4844>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004845> ctxt,
4846 <A
4847HREF="gnome-xml-tree.html#XMLDOCPTR"
4848>xmlDocPtr</A
4849> doc);</PRE
4850></TD
4851></TR
4852></TABLE
4853><P
4854>Try to validate a the root element
4855basically it does the following check as described by the
4856XML-1.0 recommendation:
4857- [ VC: Root Element Type ]
4858it doesn't try to recurse or apply other check to the element</P
4859><P
4860></P
4861><DIV
4862CLASS="INFORMALTABLE"
4863><P
4864></P
4865><TABLE
4866BORDER="0"
4867WIDTH="100%"
4868BGCOLOR="#FFD0D0"
4869CELLSPACING="0"
4870CELLPADDING="4"
4871CLASS="CALSTABLE"
4872><TR
4873><TD
4874WIDTH="20%"
4875ALIGN="RIGHT"
4876VALIGN="TOP"
4877><TT
4878CLASS="PARAMETER"
4879><I
4880>ctxt</I
4881></TT
4882>&nbsp;:</TD
4883><TD
4884WIDTH="80%"
4885ALIGN="LEFT"
4886VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004887> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004888></TR
4889><TR
4890><TD
4891WIDTH="20%"
4892ALIGN="RIGHT"
4893VALIGN="TOP"
4894><TT
4895CLASS="PARAMETER"
4896><I
4897>doc</I
4898></TT
4899>&nbsp;:</TD
4900><TD
4901WIDTH="80%"
4902ALIGN="LEFT"
4903VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004904> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004905></TR
4906><TR
4907><TD
4908WIDTH="20%"
4909ALIGN="RIGHT"
4910VALIGN="TOP"
4911><I
4912CLASS="EMPHASIS"
4913>Returns</I
4914> :</TD
4915><TD
4916WIDTH="80%"
4917ALIGN="LEFT"
4918VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004919>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004920></TR
4921></TABLE
4922><P
4923></P
4924></DIV
4925></DIV
4926><HR><DIV
4927CLASS="REFSECT2"
4928><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004929NAME="AEN8125"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004930></A
4931><H3
4932><A
4933NAME="XMLVALIDATEELEMENTDECL"
4934></A
4935>xmlValidateElementDecl ()</H3
4936><TABLE
4937BORDER="0"
4938BGCOLOR="#D6E8FF"
4939WIDTH="100%"
4940CELLPADDING="6"
4941><TR
4942><TD
4943><PRE
4944CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004945>int xmlValidateElementDecl (<A
4946HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4947>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004948> ctxt,
4949 <A
4950HREF="gnome-xml-tree.html#XMLDOCPTR"
4951>xmlDocPtr</A
4952> doc,
4953 <A
4954HREF="gnome-xml-tree.html#XMLELEMENTPTR"
4955>xmlElementPtr</A
4956> elem);</PRE
4957></TD
4958></TR
4959></TABLE
4960><P
4961>Try to validate a single element definition
4962basically it does the following checks as described by the
4963XML-1.0 recommendation:
4964- [ VC: One ID per Element Type ]
4965- [ VC: No Duplicate Types ]
4966- [ VC: Unique Element Type Declaration ]</P
4967><P
4968></P
4969><DIV
4970CLASS="INFORMALTABLE"
4971><P
4972></P
4973><TABLE
4974BORDER="0"
4975WIDTH="100%"
4976BGCOLOR="#FFD0D0"
4977CELLSPACING="0"
4978CELLPADDING="4"
4979CLASS="CALSTABLE"
4980><TR
4981><TD
4982WIDTH="20%"
4983ALIGN="RIGHT"
4984VALIGN="TOP"
4985><TT
4986CLASS="PARAMETER"
4987><I
4988>ctxt</I
4989></TT
4990>&nbsp;:</TD
4991><TD
4992WIDTH="80%"
4993ALIGN="LEFT"
4994VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004995> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004996></TR
4997><TR
4998><TD
4999WIDTH="20%"
5000ALIGN="RIGHT"
5001VALIGN="TOP"
5002><TT
5003CLASS="PARAMETER"
5004><I
5005>doc</I
5006></TT
5007>&nbsp;:</TD
5008><TD
5009WIDTH="80%"
5010ALIGN="LEFT"
5011VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005012> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005013></TR
5014><TR
5015><TD
5016WIDTH="20%"
5017ALIGN="RIGHT"
5018VALIGN="TOP"
5019><TT
5020CLASS="PARAMETER"
5021><I
5022>elem</I
5023></TT
5024>&nbsp;:</TD
5025><TD
5026WIDTH="80%"
5027ALIGN="LEFT"
5028VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005029> an element definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005030></TR
5031><TR
5032><TD
5033WIDTH="20%"
5034ALIGN="RIGHT"
5035VALIGN="TOP"
5036><I
5037CLASS="EMPHASIS"
5038>Returns</I
5039> :</TD
5040><TD
5041WIDTH="80%"
5042ALIGN="LEFT"
5043VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005044>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005045></TR
5046></TABLE
5047><P
5048></P
5049></DIV
5050></DIV
5051><HR><DIV
5052CLASS="REFSECT2"
5053><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005054NAME="AEN8155"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005055></A
5056><H3
5057><A
5058NAME="XMLVALIDNORMALIZEATTRIBUTEVALUE"
5059></A
5060>xmlValidNormalizeAttributeValue ()</H3
5061><TABLE
5062BORDER="0"
5063BGCOLOR="#D6E8FF"
5064WIDTH="100%"
5065CELLPADDING="6"
5066><TR
5067><TD
5068><PRE
5069CLASS="PROGRAMLISTING"
5070><A
5071HREF="gnome-xml-tree.html#XMLCHAR"
5072>xmlChar</A
5073>* xmlValidNormalizeAttributeValue (<A
5074HREF="gnome-xml-tree.html#XMLDOCPTR"
5075>xmlDocPtr</A
5076> doc,
5077 <A
5078HREF="gnome-xml-tree.html#XMLNODEPTR"
5079>xmlNodePtr</A
5080> elem,
5081 const <A
5082HREF="gnome-xml-tree.html#XMLCHAR"
5083>xmlChar</A
5084> *name,
5085 const <A
5086HREF="gnome-xml-tree.html#XMLCHAR"
5087>xmlChar</A
5088> *value);</PRE
5089></TD
5090></TR
5091></TABLE
5092><P
5093>Does the validation related extra step of the normalization of attribute
5094values:</P
5095><P
5096>If the declared value is not CDATA, then the XML processor must further
5097process the normalized attribute value by discarding any leading and
5098trailing space (<GTKDOCLINK
5099HREF="X20"
5100>x20</GTKDOCLINK
5101>) characters, and by replacing sequences of space
5102(<GTKDOCLINK
5103HREF="X20"
5104>x20</GTKDOCLINK
5105>) characters by single space (<GTKDOCLINK
5106HREF="X20"
5107>x20</GTKDOCLINK
5108>) character.</P
5109><P
5110></P
5111><DIV
5112CLASS="INFORMALTABLE"
5113><P
5114></P
5115><TABLE
5116BORDER="0"
5117WIDTH="100%"
5118BGCOLOR="#FFD0D0"
5119CELLSPACING="0"
5120CELLPADDING="4"
5121CLASS="CALSTABLE"
5122><TR
5123><TD
5124WIDTH="20%"
5125ALIGN="RIGHT"
5126VALIGN="TOP"
5127><TT
5128CLASS="PARAMETER"
5129><I
5130>doc</I
5131></TT
5132>&nbsp;:</TD
5133><TD
5134WIDTH="80%"
5135ALIGN="LEFT"
5136VALIGN="TOP"
5137> the document</TD
5138></TR
5139><TR
5140><TD
5141WIDTH="20%"
5142ALIGN="RIGHT"
5143VALIGN="TOP"
5144><TT
5145CLASS="PARAMETER"
5146><I
5147>elem</I
5148></TT
5149>&nbsp;:</TD
5150><TD
5151WIDTH="80%"
5152ALIGN="LEFT"
5153VALIGN="TOP"
5154> the parent</TD
5155></TR
5156><TR
5157><TD
5158WIDTH="20%"
5159ALIGN="RIGHT"
5160VALIGN="TOP"
5161><TT
5162CLASS="PARAMETER"
5163><I
5164>name</I
5165></TT
5166>&nbsp;:</TD
5167><TD
5168WIDTH="80%"
5169ALIGN="LEFT"
5170VALIGN="TOP"
5171> the attribute name</TD
5172></TR
5173><TR
5174><TD
5175WIDTH="20%"
5176ALIGN="RIGHT"
5177VALIGN="TOP"
5178><TT
5179CLASS="PARAMETER"
5180><I
5181>value</I
5182></TT
5183>&nbsp;:</TD
5184><TD
5185WIDTH="80%"
5186ALIGN="LEFT"
5187VALIGN="TOP"
5188> the attribute value</TD
5189></TR
5190><TR
5191><TD
5192WIDTH="20%"
5193ALIGN="RIGHT"
5194VALIGN="TOP"
5195><I
5196CLASS="EMPHASIS"
5197>Returns</I
5198> :</TD
5199><TD
5200WIDTH="80%"
5201ALIGN="LEFT"
5202VALIGN="TOP"
5203>a new normalized string if normalization is needed, NULL otherwise
5204the caller must free the returned value.</TD
5205></TR
5206></TABLE
5207><P
5208></P
5209></DIV
5210></DIV
5211><HR><DIV
5212CLASS="REFSECT2"
5213><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005214NAME="AEN8195"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005215></A
5216><H3
5217><A
5218NAME="XMLVALIDATEATTRIBUTEDECL"
5219></A
5220>xmlValidateAttributeDecl ()</H3
5221><TABLE
5222BORDER="0"
5223BGCOLOR="#D6E8FF"
5224WIDTH="100%"
5225CELLPADDING="6"
5226><TR
5227><TD
5228><PRE
5229CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005230>int xmlValidateAttributeDecl (<A
5231HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5232>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005233> ctxt,
5234 <A
5235HREF="gnome-xml-tree.html#XMLDOCPTR"
5236>xmlDocPtr</A
5237> doc,
5238 <A
5239HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
5240>xmlAttributePtr</A
5241> attr);</PRE
5242></TD
5243></TR
5244></TABLE
5245><P
5246>Try to validate a single attribute definition
5247basically it does the following checks as described by the
5248XML-1.0 recommendation:
5249- [ VC: Attribute Default Legal ]
5250- [ VC: Enumeration ]
5251- [ VC: ID Attribute Default ]</P
5252><P
5253>The ID/IDREF uniqueness and matching are done separately</P
5254><P
5255></P
5256><DIV
5257CLASS="INFORMALTABLE"
5258><P
5259></P
5260><TABLE
5261BORDER="0"
5262WIDTH="100%"
5263BGCOLOR="#FFD0D0"
5264CELLSPACING="0"
5265CELLPADDING="4"
5266CLASS="CALSTABLE"
5267><TR
5268><TD
5269WIDTH="20%"
5270ALIGN="RIGHT"
5271VALIGN="TOP"
5272><TT
5273CLASS="PARAMETER"
5274><I
5275>ctxt</I
5276></TT
5277>&nbsp;:</TD
5278><TD
5279WIDTH="80%"
5280ALIGN="LEFT"
5281VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005282> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005283></TR
5284><TR
5285><TD
5286WIDTH="20%"
5287ALIGN="RIGHT"
5288VALIGN="TOP"
5289><TT
5290CLASS="PARAMETER"
5291><I
5292>doc</I
5293></TT
5294>&nbsp;:</TD
5295><TD
5296WIDTH="80%"
5297ALIGN="LEFT"
5298VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005299> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005300></TR
5301><TR
5302><TD
5303WIDTH="20%"
5304ALIGN="RIGHT"
5305VALIGN="TOP"
5306><TT
5307CLASS="PARAMETER"
5308><I
5309>attr</I
5310></TT
5311>&nbsp;:</TD
5312><TD
5313WIDTH="80%"
5314ALIGN="LEFT"
5315VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005316> an attribute definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005317></TR
5318><TR
5319><TD
5320WIDTH="20%"
5321ALIGN="RIGHT"
5322VALIGN="TOP"
5323><I
5324CLASS="EMPHASIS"
5325>Returns</I
5326> :</TD
5327><TD
5328WIDTH="80%"
5329ALIGN="LEFT"
5330VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005331>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005332></TR
5333></TABLE
5334><P
5335></P
5336></DIV
5337></DIV
5338><HR><DIV
5339CLASS="REFSECT2"
5340><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005341NAME="AEN8226"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005342></A
5343><H3
5344><A
5345NAME="XMLVALIDATEATTRIBUTEVALUE"
5346></A
5347>xmlValidateAttributeValue ()</H3
5348><TABLE
5349BORDER="0"
5350BGCOLOR="#D6E8FF"
5351WIDTH="100%"
5352CELLPADDING="6"
5353><TR
5354><TD
5355><PRE
5356CLASS="PROGRAMLISTING"
5357>int xmlValidateAttributeValue (<A
5358HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
5359>xmlAttributeType</A
5360> type,
5361 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005362HREF="gnome-xml-tree.html#XMLCHAR"
5363>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005364> *value);</PRE
5365></TD
5366></TR
5367></TABLE
5368><P
5369>Validate that the given attribute value match the proper production</P
5370><P
5371>[ VC: ID ]
5372Values of type ID must match the Name production....</P
5373><P
5374>[ VC: IDREF ]
5375Values of type IDREF must match the Name production, and values
5376of type IDREFS must match Names ...</P
5377><P
5378>[ VC: Entity Name ]
5379Values of type ENTITY must match the Name production, values
5380of type ENTITIES must match Names ...</P
5381><P
5382>[ VC: Name Token ]
5383Values of type NMTOKEN must match the Nmtoken production; values
5384of type NMTOKENS must match Nmtokens.</P
5385><P
5386></P
5387><DIV
5388CLASS="INFORMALTABLE"
5389><P
5390></P
5391><TABLE
5392BORDER="0"
5393WIDTH="100%"
5394BGCOLOR="#FFD0D0"
5395CELLSPACING="0"
5396CELLPADDING="4"
5397CLASS="CALSTABLE"
5398><TR
5399><TD
5400WIDTH="20%"
5401ALIGN="RIGHT"
5402VALIGN="TOP"
5403><TT
5404CLASS="PARAMETER"
5405><I
5406>type</I
5407></TT
5408>&nbsp;:</TD
5409><TD
5410WIDTH="80%"
5411ALIGN="LEFT"
5412VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005413> an attribute type</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005414></TR
5415><TR
5416><TD
5417WIDTH="20%"
5418ALIGN="RIGHT"
5419VALIGN="TOP"
5420><TT
5421CLASS="PARAMETER"
5422><I
5423>value</I
5424></TT
5425>&nbsp;:</TD
5426><TD
5427WIDTH="80%"
5428ALIGN="LEFT"
5429VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005430> an attribute value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005431></TR
5432><TR
5433><TD
5434WIDTH="20%"
5435ALIGN="RIGHT"
5436VALIGN="TOP"
5437><I
5438CLASS="EMPHASIS"
5439>Returns</I
5440> :</TD
5441><TD
5442WIDTH="80%"
5443ALIGN="LEFT"
5444VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005445>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005446></TR
5447></TABLE
5448><P
5449></P
5450></DIV
5451></DIV
5452><HR><DIV
5453CLASS="REFSECT2"
5454><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005455NAME="AEN8255"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005456></A
5457><H3
5458><A
5459NAME="XMLVALIDATENOTATIONDECL"
5460></A
5461>xmlValidateNotationDecl ()</H3
5462><TABLE
5463BORDER="0"
5464BGCOLOR="#D6E8FF"
5465WIDTH="100%"
5466CELLPADDING="6"
5467><TR
5468><TD
5469><PRE
5470CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005471>int xmlValidateNotationDecl (<A
5472HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5473>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005474> ctxt,
5475 <A
5476HREF="gnome-xml-tree.html#XMLDOCPTR"
5477>xmlDocPtr</A
5478> doc,
5479 <A
5480HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
5481>xmlNotationPtr</A
5482> nota);</PRE
5483></TD
5484></TR
5485></TABLE
5486><P
5487>Try to validate a single notation definition
5488basically it does the following checks as described by the
5489XML-1.0 recommendation:
5490- it seems that no validity constraing exist on notation declarations
5491But this function get called anyway ...</P
5492><P
5493></P
5494><DIV
5495CLASS="INFORMALTABLE"
5496><P
5497></P
5498><TABLE
5499BORDER="0"
5500WIDTH="100%"
5501BGCOLOR="#FFD0D0"
5502CELLSPACING="0"
5503CELLPADDING="4"
5504CLASS="CALSTABLE"
5505><TR
5506><TD
5507WIDTH="20%"
5508ALIGN="RIGHT"
5509VALIGN="TOP"
5510><TT
5511CLASS="PARAMETER"
5512><I
5513>ctxt</I
5514></TT
5515>&nbsp;:</TD
5516><TD
5517WIDTH="80%"
5518ALIGN="LEFT"
5519VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005520> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005521></TR
5522><TR
5523><TD
5524WIDTH="20%"
5525ALIGN="RIGHT"
5526VALIGN="TOP"
5527><TT
5528CLASS="PARAMETER"
5529><I
5530>doc</I
5531></TT
5532>&nbsp;:</TD
5533><TD
5534WIDTH="80%"
5535ALIGN="LEFT"
5536VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005537> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005538></TR
5539><TR
5540><TD
5541WIDTH="20%"
5542ALIGN="RIGHT"
5543VALIGN="TOP"
5544><TT
5545CLASS="PARAMETER"
5546><I
5547>nota</I
5548></TT
5549>&nbsp;:</TD
5550><TD
5551WIDTH="80%"
5552ALIGN="LEFT"
5553VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005554> a notation definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005555></TR
5556><TR
5557><TD
5558WIDTH="20%"
5559ALIGN="RIGHT"
5560VALIGN="TOP"
5561><I
5562CLASS="EMPHASIS"
5563>Returns</I
5564> :</TD
5565><TD
5566WIDTH="80%"
5567ALIGN="LEFT"
5568VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005569>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005570></TR
5571></TABLE
5572><P
5573></P
5574></DIV
5575></DIV
5576><HR><DIV
5577CLASS="REFSECT2"
5578><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005579NAME="AEN8285"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005580></A
5581><H3
5582><A
5583NAME="XMLVALIDATEDTD"
5584></A
5585>xmlValidateDtd ()</H3
5586><TABLE
5587BORDER="0"
5588BGCOLOR="#D6E8FF"
5589WIDTH="100%"
5590CELLPADDING="6"
5591><TR
5592><TD
5593><PRE
5594CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005595>int xmlValidateDtd (<A
5596HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5597>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005598> ctxt,
5599 <A
5600HREF="gnome-xml-tree.html#XMLDOCPTR"
5601>xmlDocPtr</A
5602> doc,
5603 <A
5604HREF="gnome-xml-tree.html#XMLDTDPTR"
5605>xmlDtdPtr</A
5606> dtd);</PRE
5607></TD
5608></TR
5609></TABLE
5610><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005611>Try to validate the document against the dtd instance</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005612><P
5613>basically it does check all the definitions in the DtD.</P
5614><P
5615></P
5616><DIV
5617CLASS="INFORMALTABLE"
5618><P
5619></P
5620><TABLE
5621BORDER="0"
5622WIDTH="100%"
5623BGCOLOR="#FFD0D0"
5624CELLSPACING="0"
5625CELLPADDING="4"
5626CLASS="CALSTABLE"
5627><TR
5628><TD
5629WIDTH="20%"
5630ALIGN="RIGHT"
5631VALIGN="TOP"
5632><TT
5633CLASS="PARAMETER"
5634><I
5635>ctxt</I
5636></TT
5637>&nbsp;:</TD
5638><TD
5639WIDTH="80%"
5640ALIGN="LEFT"
5641VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005642> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005643></TR
5644><TR
5645><TD
5646WIDTH="20%"
5647ALIGN="RIGHT"
5648VALIGN="TOP"
5649><TT
5650CLASS="PARAMETER"
5651><I
5652>doc</I
5653></TT
5654>&nbsp;:</TD
5655><TD
5656WIDTH="80%"
5657ALIGN="LEFT"
5658VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005659> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005660></TR
5661><TR
5662><TD
5663WIDTH="20%"
5664ALIGN="RIGHT"
5665VALIGN="TOP"
5666><TT
5667CLASS="PARAMETER"
5668><I
5669>dtd</I
5670></TT
5671>&nbsp;:</TD
5672><TD
5673WIDTH="80%"
5674ALIGN="LEFT"
5675VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005676> a dtd instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005677></TR
5678><TR
5679><TD
5680WIDTH="20%"
5681ALIGN="RIGHT"
5682VALIGN="TOP"
5683><I
5684CLASS="EMPHASIS"
5685>Returns</I
5686> :</TD
5687><TD
5688WIDTH="80%"
5689ALIGN="LEFT"
5690VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005691>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005692></TR
5693></TABLE
5694><P
5695></P
5696></DIV
5697></DIV
5698><HR><DIV
5699CLASS="REFSECT2"
5700><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005701NAME="AEN8316"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005702></A
5703><H3
5704><A
5705NAME="XMLVALIDATEDTDFINAL"
5706></A
5707>xmlValidateDtdFinal ()</H3
5708><TABLE
5709BORDER="0"
5710BGCOLOR="#D6E8FF"
5711WIDTH="100%"
5712CELLPADDING="6"
5713><TR
5714><TD
5715><PRE
5716CLASS="PROGRAMLISTING"
5717>int xmlValidateDtdFinal (<A
5718HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5719>xmlValidCtxtPtr</A
5720> ctxt,
5721 <A
5722HREF="gnome-xml-tree.html#XMLDOCPTR"
5723>xmlDocPtr</A
5724> doc);</PRE
5725></TD
5726></TR
5727></TABLE
5728><P
5729>Does the final step for the dtds validation once all the
5730subsets have been parsed</P
5731><P
5732>basically it does the following checks described by the XML Rec
5733- check that ENTITY and ENTITIES type attributes default or
5734possible values matches one of the defined entities.
5735- check that NOTATION type attributes default or
5736possible values matches one of the defined notations.</P
5737><P
5738></P
5739><DIV
5740CLASS="INFORMALTABLE"
5741><P
5742></P
5743><TABLE
5744BORDER="0"
5745WIDTH="100%"
5746BGCOLOR="#FFD0D0"
5747CELLSPACING="0"
5748CELLPADDING="4"
5749CLASS="CALSTABLE"
5750><TR
5751><TD
5752WIDTH="20%"
5753ALIGN="RIGHT"
5754VALIGN="TOP"
5755><TT
5756CLASS="PARAMETER"
5757><I
5758>ctxt</I
5759></TT
5760>&nbsp;:</TD
5761><TD
5762WIDTH="80%"
5763ALIGN="LEFT"
5764VALIGN="TOP"
5765> the validation context</TD
5766></TR
5767><TR
5768><TD
5769WIDTH="20%"
5770ALIGN="RIGHT"
5771VALIGN="TOP"
5772><TT
5773CLASS="PARAMETER"
5774><I
5775>doc</I
5776></TT
5777>&nbsp;:</TD
5778><TD
5779WIDTH="80%"
5780ALIGN="LEFT"
5781VALIGN="TOP"
5782> a document instance</TD
5783></TR
5784><TR
5785><TD
5786WIDTH="20%"
5787ALIGN="RIGHT"
5788VALIGN="TOP"
5789><I
5790CLASS="EMPHASIS"
5791>Returns</I
5792> :</TD
5793><TD
5794WIDTH="80%"
5795ALIGN="LEFT"
5796VALIGN="TOP"
5797>1 if valid or 0 otherwise</TD
5798></TR
5799></TABLE
5800><P
5801></P
5802></DIV
5803></DIV
5804><HR><DIV
5805CLASS="REFSECT2"
5806><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005807NAME="AEN8342"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005808></A
5809><H3
5810><A
5811NAME="XMLVALIDATEDOCUMENT"
5812></A
5813>xmlValidateDocument ()</H3
5814><TABLE
5815BORDER="0"
5816BGCOLOR="#D6E8FF"
5817WIDTH="100%"
5818CELLPADDING="6"
5819><TR
5820><TD
5821><PRE
5822CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005823>int xmlValidateDocument (<A
5824HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5825>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005826> ctxt,
5827 <A
5828HREF="gnome-xml-tree.html#XMLDOCPTR"
5829>xmlDocPtr</A
5830> doc);</PRE
5831></TD
5832></TR
5833></TABLE
5834><P
5835>Try to validate the document instance</P
5836><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005837>basically it does the all the checks described by the XML Rec
Daniel Veillardb05deb71999-08-10 19:04:08 +00005838i.e. validates the internal and external subset (if present)
5839and validate the document tree.</P
5840><P
5841></P
5842><DIV
5843CLASS="INFORMALTABLE"
5844><P
5845></P
5846><TABLE
5847BORDER="0"
5848WIDTH="100%"
5849BGCOLOR="#FFD0D0"
5850CELLSPACING="0"
5851CELLPADDING="4"
5852CLASS="CALSTABLE"
5853><TR
5854><TD
5855WIDTH="20%"
5856ALIGN="RIGHT"
5857VALIGN="TOP"
5858><TT
5859CLASS="PARAMETER"
5860><I
5861>ctxt</I
5862></TT
5863>&nbsp;:</TD
5864><TD
5865WIDTH="80%"
5866ALIGN="LEFT"
5867VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005868> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005869></TR
5870><TR
5871><TD
5872WIDTH="20%"
5873ALIGN="RIGHT"
5874VALIGN="TOP"
5875><TT
5876CLASS="PARAMETER"
5877><I
5878>doc</I
5879></TT
5880>&nbsp;:</TD
5881><TD
5882WIDTH="80%"
5883ALIGN="LEFT"
5884VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005885> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005886></TR
5887><TR
5888><TD
5889WIDTH="20%"
5890ALIGN="RIGHT"
5891VALIGN="TOP"
5892><I
5893CLASS="EMPHASIS"
5894>Returns</I
5895> :</TD
5896><TD
5897WIDTH="80%"
5898ALIGN="LEFT"
5899VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005900>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005901></TR
5902></TABLE
5903><P
5904></P
5905></DIV
5906></DIV
5907><HR><DIV
5908CLASS="REFSECT2"
5909><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00005910NAME="AEN8368"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005911></A
5912><H3
5913><A
5914NAME="XMLVALIDATEELEMENT"
5915></A
5916>xmlValidateElement ()</H3
5917><TABLE
5918BORDER="0"
5919BGCOLOR="#D6E8FF"
5920WIDTH="100%"
5921CELLPADDING="6"
5922><TR
5923><TD
5924><PRE
5925CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005926>int xmlValidateElement (<A
5927HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5928>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005929> ctxt,
5930 <A
5931HREF="gnome-xml-tree.html#XMLDOCPTR"
5932>xmlDocPtr</A
5933> doc,
5934 <A
5935HREF="gnome-xml-tree.html#XMLNODEPTR"
5936>xmlNodePtr</A
5937> elem);</PRE
5938></TD
5939></TR
5940></TABLE
5941><P
5942>Try to validate the subtree under an element</P
5943><P
5944></P
5945><DIV
5946CLASS="INFORMALTABLE"
5947><P
5948></P
5949><TABLE
5950BORDER="0"
5951WIDTH="100%"
5952BGCOLOR="#FFD0D0"
5953CELLSPACING="0"
5954CELLPADDING="4"
5955CLASS="CALSTABLE"
5956><TR
5957><TD
5958WIDTH="20%"
5959ALIGN="RIGHT"
5960VALIGN="TOP"
5961><TT
5962CLASS="PARAMETER"
5963><I
5964>ctxt</I
5965></TT
5966>&nbsp;:</TD
5967><TD
5968WIDTH="80%"
5969ALIGN="LEFT"
5970VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005971> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005972></TR
5973><TR
5974><TD
5975WIDTH="20%"
5976ALIGN="RIGHT"
5977VALIGN="TOP"
5978><TT
5979CLASS="PARAMETER"
5980><I
5981>doc</I
5982></TT
5983>&nbsp;:</TD
5984><TD
5985WIDTH="80%"
5986ALIGN="LEFT"
5987VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005988> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005989></TR
5990><TR
5991><TD
5992WIDTH="20%"
5993ALIGN="RIGHT"
5994VALIGN="TOP"
5995><TT
5996CLASS="PARAMETER"
5997><I
5998>elem</I
5999></TT
6000>&nbsp;:</TD
6001><TD
6002WIDTH="80%"
6003ALIGN="LEFT"
6004VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006005> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006006></TR
6007><TR
6008><TD
6009WIDTH="20%"
6010ALIGN="RIGHT"
6011VALIGN="TOP"
6012><I
6013CLASS="EMPHASIS"
6014>Returns</I
6015> :</TD
6016><TD
6017WIDTH="80%"
6018ALIGN="LEFT"
6019VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006020>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006021></TR
6022></TABLE
6023><P
6024></P
6025></DIV
6026></DIV
6027><HR><DIV
6028CLASS="REFSECT2"
6029><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00006030NAME="AEN8398"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006031></A
6032><H3
6033><A
6034NAME="XMLVALIDATEONEELEMENT"
6035></A
6036>xmlValidateOneElement ()</H3
6037><TABLE
6038BORDER="0"
6039BGCOLOR="#D6E8FF"
6040WIDTH="100%"
6041CELLPADDING="6"
6042><TR
6043><TD
6044><PRE
6045CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006046>int xmlValidateOneElement (<A
6047HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
6048>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006049> ctxt,
6050 <A
6051HREF="gnome-xml-tree.html#XMLDOCPTR"
6052>xmlDocPtr</A
6053> doc,
6054 <A
6055HREF="gnome-xml-tree.html#XMLNODEPTR"
6056>xmlNodePtr</A
6057> elem);</PRE
6058></TD
6059></TR
6060></TABLE
6061><P
6062>Try to validate a single element and it's attributes,
6063basically it does the following checks as described by the
6064XML-1.0 recommendation:
6065- [ VC: Element Valid ]
6066- [ VC: Required Attribute ]
6067Then call <A
6068HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE"
6069>xmlValidateOneAttribute</A
6070>() for each attribute present.</P
6071><P
6072>The ID/IDREF checkings are done separately</P
6073><P
6074></P
6075><DIV
6076CLASS="INFORMALTABLE"
6077><P
6078></P
6079><TABLE
6080BORDER="0"
6081WIDTH="100%"
6082BGCOLOR="#FFD0D0"
6083CELLSPACING="0"
6084CELLPADDING="4"
6085CLASS="CALSTABLE"
6086><TR
6087><TD
6088WIDTH="20%"
6089ALIGN="RIGHT"
6090VALIGN="TOP"
6091><TT
6092CLASS="PARAMETER"
6093><I
6094>ctxt</I
6095></TT
6096>&nbsp;:</TD
6097><TD
6098WIDTH="80%"
6099ALIGN="LEFT"
6100VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006101> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006102></TR
6103><TR
6104><TD
6105WIDTH="20%"
6106ALIGN="RIGHT"
6107VALIGN="TOP"
6108><TT
6109CLASS="PARAMETER"
6110><I
6111>doc</I
6112></TT
6113>&nbsp;:</TD
6114><TD
6115WIDTH="80%"
6116ALIGN="LEFT"
6117VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006118> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006119></TR
6120><TR
6121><TD
6122WIDTH="20%"
6123ALIGN="RIGHT"
6124VALIGN="TOP"
6125><TT
6126CLASS="PARAMETER"
6127><I
6128>elem</I
6129></TT
6130>&nbsp;:</TD
6131><TD
6132WIDTH="80%"
6133ALIGN="LEFT"
6134VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006135> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006136></TR
6137><TR
6138><TD
6139WIDTH="20%"
6140ALIGN="RIGHT"
6141VALIGN="TOP"
6142><I
6143CLASS="EMPHASIS"
6144>Returns</I
6145> :</TD
6146><TD
6147WIDTH="80%"
6148ALIGN="LEFT"
6149VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006150>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006151></TR
6152></TABLE
6153><P
6154></P
6155></DIV
6156></DIV
6157><HR><DIV
6158CLASS="REFSECT2"
6159><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00006160NAME="AEN8430"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006161></A
6162><H3
6163><A
6164NAME="XMLVALIDATEONEATTRIBUTE"
6165></A
6166>xmlValidateOneAttribute ()</H3
6167><TABLE
6168BORDER="0"
6169BGCOLOR="#D6E8FF"
6170WIDTH="100%"
6171CELLPADDING="6"
6172><TR
6173><TD
6174><PRE
6175CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006176>int xmlValidateOneAttribute (<A
6177HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
6178>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006179> ctxt,
6180 <A
6181HREF="gnome-xml-tree.html#XMLDOCPTR"
6182>xmlDocPtr</A
6183> doc,
6184 <A
6185HREF="gnome-xml-tree.html#XMLNODEPTR"
6186>xmlNodePtr</A
6187> elem,
6188 <A
6189HREF="gnome-xml-tree.html#XMLATTRPTR"
6190>xmlAttrPtr</A
6191> attr,
6192 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006193HREF="gnome-xml-tree.html#XMLCHAR"
6194>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006195> *value);</PRE
6196></TD
6197></TR
6198></TABLE
6199><P
6200>Try to validate a single attribute for an element
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006201basically it does the following checks as described by the
Daniel Veillardb05deb71999-08-10 19:04:08 +00006202XML-1.0 recommendation:
6203- [ VC: Attribute Value Type ]
6204- [ VC: Fixed Attribute Default ]
6205- [ VC: Entity Name ]
6206- [ VC: Name Token ]
6207- [ VC: ID ]
6208- [ VC: IDREF ]
6209- [ VC: Entity Name ]
6210- [ VC: Notation Attributes ]</P
6211><P
6212>The ID/IDREF uniqueness and matching are done separately</P
6213><P
6214></P
6215><DIV
6216CLASS="INFORMALTABLE"
6217><P
6218></P
6219><TABLE
6220BORDER="0"
6221WIDTH="100%"
6222BGCOLOR="#FFD0D0"
6223CELLSPACING="0"
6224CELLPADDING="4"
6225CLASS="CALSTABLE"
6226><TR
6227><TD
6228WIDTH="20%"
6229ALIGN="RIGHT"
6230VALIGN="TOP"
6231><TT
6232CLASS="PARAMETER"
6233><I
6234>ctxt</I
6235></TT
6236>&nbsp;:</TD
6237><TD
6238WIDTH="80%"
6239ALIGN="LEFT"
6240VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006241> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006242></TR
6243><TR
6244><TD
6245WIDTH="20%"
6246ALIGN="RIGHT"
6247VALIGN="TOP"
6248><TT
6249CLASS="PARAMETER"
6250><I
6251>doc</I
6252></TT
6253>&nbsp;:</TD
6254><TD
6255WIDTH="80%"
6256ALIGN="LEFT"
6257VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006258> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006259></TR
6260><TR
6261><TD
6262WIDTH="20%"
6263ALIGN="RIGHT"
6264VALIGN="TOP"
6265><TT
6266CLASS="PARAMETER"
6267><I
6268>elem</I
6269></TT
6270>&nbsp;:</TD
6271><TD
6272WIDTH="80%"
6273ALIGN="LEFT"
6274VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006275> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006276></TR
6277><TR
6278><TD
6279WIDTH="20%"
6280ALIGN="RIGHT"
6281VALIGN="TOP"
6282><TT
6283CLASS="PARAMETER"
6284><I
6285>attr</I
6286></TT
6287>&nbsp;:</TD
6288><TD
6289WIDTH="80%"
6290ALIGN="LEFT"
6291VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006292> an attribute instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006293></TR
6294><TR
6295><TD
6296WIDTH="20%"
6297ALIGN="RIGHT"
6298VALIGN="TOP"
6299><TT
6300CLASS="PARAMETER"
6301><I
6302>value</I
6303></TT
6304>&nbsp;:</TD
6305><TD
6306WIDTH="80%"
6307ALIGN="LEFT"
6308VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006309> the attribute value (without entities processing)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006310></TR
6311><TR
6312><TD
6313WIDTH="20%"
6314ALIGN="RIGHT"
6315VALIGN="TOP"
6316><I
6317CLASS="EMPHASIS"
6318>Returns</I
6319> :</TD
6320><TD
6321WIDTH="80%"
6322ALIGN="LEFT"
6323VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006324>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006325></TR
6326></TABLE
6327><P
6328></P
6329></DIV
6330></DIV
6331><HR><DIV
6332CLASS="REFSECT2"
6333><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00006334NAME="AEN8471"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006335></A
6336><H3
6337><A
6338NAME="XMLVALIDATEDOCUMENTFINAL"
6339></A
6340>xmlValidateDocumentFinal ()</H3
6341><TABLE
6342BORDER="0"
6343BGCOLOR="#D6E8FF"
6344WIDTH="100%"
6345CELLPADDING="6"
6346><TR
6347><TD
6348><PRE
6349CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006350>int xmlValidateDocumentFinal (<A
6351HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
6352>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006353> ctxt,
6354 <A
6355HREF="gnome-xml-tree.html#XMLDOCPTR"
6356>xmlDocPtr</A
6357> doc);</PRE
6358></TD
6359></TR
6360></TABLE
6361><P
6362>Does the final step for the document validation once all the
6363incremental validation steps have been completed</P
6364><P
6365>basically it does the following checks described by the XML Rec</P
6366><P
6367></P
6368><DIV
6369CLASS="INFORMALTABLE"
6370><P
6371></P
6372><TABLE
6373BORDER="0"
6374WIDTH="100%"
6375BGCOLOR="#FFD0D0"
6376CELLSPACING="0"
6377CELLPADDING="4"
6378CLASS="CALSTABLE"
6379><TR
6380><TD
6381WIDTH="20%"
6382ALIGN="RIGHT"
6383VALIGN="TOP"
6384><TT
6385CLASS="PARAMETER"
6386><I
6387>ctxt</I
6388></TT
6389>&nbsp;:</TD
6390><TD
6391WIDTH="80%"
6392ALIGN="LEFT"
6393VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006394> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006395></TR
6396><TR
6397><TD
6398WIDTH="20%"
6399ALIGN="RIGHT"
6400VALIGN="TOP"
6401><TT
6402CLASS="PARAMETER"
6403><I
6404>doc</I
6405></TT
6406>&nbsp;:</TD
6407><TD
6408WIDTH="80%"
6409ALIGN="LEFT"
6410VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006411> a document instance</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006412></TR
6413><TR
6414><TD
6415WIDTH="20%"
6416ALIGN="RIGHT"
6417VALIGN="TOP"
6418><I
6419CLASS="EMPHASIS"
6420>Returns</I
6421> :</TD
6422><TD
6423WIDTH="80%"
6424ALIGN="LEFT"
6425VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006426>1 if valid or 0 otherwise</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006427></TR
6428></TABLE
6429><P
6430></P
6431></DIV
6432></DIV
6433><HR><DIV
6434CLASS="REFSECT2"
6435><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00006436NAME="AEN8497"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006437></A
6438><H3
6439><A
6440NAME="XMLVALIDATENOTATIONUSE"
6441></A
6442>xmlValidateNotationUse ()</H3
6443><TABLE
6444BORDER="0"
6445BGCOLOR="#D6E8FF"
6446WIDTH="100%"
6447CELLPADDING="6"
6448><TR
6449><TD
6450><PRE
6451CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006452>int xmlValidateNotationUse (<A
6453HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
6454>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006455> ctxt,
6456 <A
6457HREF="gnome-xml-tree.html#XMLDOCPTR"
6458>xmlDocPtr</A
6459> doc,
6460 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006461HREF="gnome-xml-tree.html#XMLCHAR"
6462>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006463> *notationName);</PRE
6464></TD
6465></TR
6466></TABLE
6467><P
6468>Validate that the given mame match a notation declaration.
6469- [ VC: Notation Declared ]</P
6470><P
6471></P
6472><DIV
6473CLASS="INFORMALTABLE"
6474><P
6475></P
6476><TABLE
6477BORDER="0"
6478WIDTH="100%"
6479BGCOLOR="#FFD0D0"
6480CELLSPACING="0"
6481CELLPADDING="4"
6482CLASS="CALSTABLE"
6483><TR
6484><TD
6485WIDTH="20%"
6486ALIGN="RIGHT"
6487VALIGN="TOP"
6488><TT
6489CLASS="PARAMETER"
6490><I
6491>ctxt</I
6492></TT
6493>&nbsp;:</TD
6494><TD
6495WIDTH="80%"
6496ALIGN="LEFT"
6497VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006498> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006499></TR
6500><TR
6501><TD
6502WIDTH="20%"
6503ALIGN="RIGHT"
6504VALIGN="TOP"
6505><TT
6506CLASS="PARAMETER"
6507><I
6508>doc</I
6509></TT
6510>&nbsp;:</TD
6511><TD
6512WIDTH="80%"
6513ALIGN="LEFT"
6514VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006515> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006516></TR
6517><TR
6518><TD
6519WIDTH="20%"
6520ALIGN="RIGHT"
6521VALIGN="TOP"
6522><TT
6523CLASS="PARAMETER"
6524><I
6525>notationName</I
6526></TT
6527>&nbsp;:</TD
6528><TD
6529WIDTH="80%"
6530ALIGN="LEFT"
6531VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006532> the notation name to check</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006533></TR
6534><TR
6535><TD
6536WIDTH="20%"
6537ALIGN="RIGHT"
6538VALIGN="TOP"
6539><I
6540CLASS="EMPHASIS"
6541>Returns</I
6542> :</TD
6543><TD
6544WIDTH="80%"
6545ALIGN="LEFT"
6546VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006547>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006548></TR
6549></TABLE
6550><P
6551></P
6552></DIV
6553></DIV
6554><HR><DIV
6555CLASS="REFSECT2"
6556><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00006557NAME="AEN8527"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006558></A
6559><H3
6560><A
6561NAME="XMLISMIXEDELEMENT"
6562></A
6563>xmlIsMixedElement ()</H3
6564><TABLE
6565BORDER="0"
6566BGCOLOR="#D6E8FF"
6567WIDTH="100%"
6568CELLPADDING="6"
6569><TR
6570><TD
6571><PRE
6572CLASS="PROGRAMLISTING"
6573>int xmlIsMixedElement (<A
6574HREF="gnome-xml-tree.html#XMLDOCPTR"
6575>xmlDocPtr</A
6576> doc,
6577 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006578HREF="gnome-xml-tree.html#XMLCHAR"
6579>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006580> *name);</PRE
6581></TD
6582></TR
6583></TABLE
6584><P
6585>Search in the DtDs whether an element accept Mixed content (or ANY)
6586basically if it is supposed to accept text childs</P
6587><P
6588></P
6589><DIV
6590CLASS="INFORMALTABLE"
6591><P
6592></P
6593><TABLE
6594BORDER="0"
6595WIDTH="100%"
6596BGCOLOR="#FFD0D0"
6597CELLSPACING="0"
6598CELLPADDING="4"
6599CLASS="CALSTABLE"
6600><TR
6601><TD
6602WIDTH="20%"
6603ALIGN="RIGHT"
6604VALIGN="TOP"
6605><TT
6606CLASS="PARAMETER"
6607><I
6608>doc</I
6609></TT
6610>&nbsp;:</TD
6611><TD
6612WIDTH="80%"
6613ALIGN="LEFT"
6614VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006615> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006616></TR
6617><TR
6618><TD
6619WIDTH="20%"
6620ALIGN="RIGHT"
6621VALIGN="TOP"
6622><TT
6623CLASS="PARAMETER"
6624><I
6625>name</I
6626></TT
6627>&nbsp;:</TD
6628><TD
6629WIDTH="80%"
6630ALIGN="LEFT"
6631VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006632> the element name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006633></TR
6634><TR
6635><TD
6636WIDTH="20%"
6637ALIGN="RIGHT"
6638VALIGN="TOP"
6639><I
6640CLASS="EMPHASIS"
6641>Returns</I
6642> :</TD
6643><TD
6644WIDTH="80%"
6645ALIGN="LEFT"
6646VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006647>0 if no, 1 if yes, and -1 if no element description is available</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006648></TR
6649></TABLE
6650><P
6651></P
6652></DIV
6653></DIV
6654><HR><DIV
6655CLASS="REFSECT2"
6656><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00006657NAME="AEN8552"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006658></A
6659><H3
6660><A
6661NAME="XMLGETDTDATTRDESC"
6662></A
6663>xmlGetDtdAttrDesc ()</H3
6664><TABLE
6665BORDER="0"
6666BGCOLOR="#D6E8FF"
6667WIDTH="100%"
6668CELLPADDING="6"
6669><TR
6670><TD
6671><PRE
6672CLASS="PROGRAMLISTING"
6673><A
6674HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
6675>xmlAttributePtr</A
6676> xmlGetDtdAttrDesc (<A
6677HREF="gnome-xml-tree.html#XMLDTDPTR"
6678>xmlDtdPtr</A
6679> dtd,
6680 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006681HREF="gnome-xml-tree.html#XMLCHAR"
6682>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006683> *elem,
6684 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006685HREF="gnome-xml-tree.html#XMLCHAR"
6686>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006687> *name);</PRE
6688></TD
6689></TR
6690></TABLE
6691><P
6692>Search the Dtd for the description of this attribute on
6693this element.</P
6694><P
6695></P
6696><DIV
6697CLASS="INFORMALTABLE"
6698><P
6699></P
6700><TABLE
6701BORDER="0"
6702WIDTH="100%"
6703BGCOLOR="#FFD0D0"
6704CELLSPACING="0"
6705CELLPADDING="4"
6706CLASS="CALSTABLE"
6707><TR
6708><TD
6709WIDTH="20%"
6710ALIGN="RIGHT"
6711VALIGN="TOP"
6712><TT
6713CLASS="PARAMETER"
6714><I
6715>dtd</I
6716></TT
6717>&nbsp;:</TD
6718><TD
6719WIDTH="80%"
6720ALIGN="LEFT"
6721VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006722> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006723></TR
6724><TR
6725><TD
6726WIDTH="20%"
6727ALIGN="RIGHT"
6728VALIGN="TOP"
6729><TT
6730CLASS="PARAMETER"
6731><I
6732>elem</I
6733></TT
6734>&nbsp;:</TD
6735><TD
6736WIDTH="80%"
6737ALIGN="LEFT"
6738VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006739> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006740></TR
6741><TR
6742><TD
6743WIDTH="20%"
6744ALIGN="RIGHT"
6745VALIGN="TOP"
6746><TT
6747CLASS="PARAMETER"
6748><I
6749>name</I
6750></TT
6751>&nbsp;:</TD
6752><TD
6753WIDTH="80%"
6754ALIGN="LEFT"
6755VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006756> the attribute name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006757></TR
6758><TR
6759><TD
6760WIDTH="20%"
6761ALIGN="RIGHT"
6762VALIGN="TOP"
6763><I
6764CLASS="EMPHASIS"
6765>Returns</I
6766> :</TD
6767><TD
6768WIDTH="80%"
6769ALIGN="LEFT"
6770VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006771>the xmlAttributePtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006772></TR
6773></TABLE
6774><P
6775></P
6776></DIV
6777></DIV
6778><HR><DIV
6779CLASS="REFSECT2"
6780><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00006781NAME="AEN8583"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006782></A
6783><H3
6784><A
6785NAME="XMLGETDTDNOTATIONDESC"
6786></A
6787>xmlGetDtdNotationDesc ()</H3
6788><TABLE
6789BORDER="0"
6790BGCOLOR="#D6E8FF"
6791WIDTH="100%"
6792CELLPADDING="6"
6793><TR
6794><TD
6795><PRE
6796CLASS="PROGRAMLISTING"
6797><A
6798HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
6799>xmlNotationPtr</A
6800> xmlGetDtdNotationDesc (<A
6801HREF="gnome-xml-tree.html#XMLDTDPTR"
6802>xmlDtdPtr</A
6803> dtd,
6804 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006805HREF="gnome-xml-tree.html#XMLCHAR"
6806>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006807> *name);</PRE
6808></TD
6809></TR
6810></TABLE
6811><P
6812>Search the Dtd for the description of this notation</P
6813><P
6814></P
6815><DIV
6816CLASS="INFORMALTABLE"
6817><P
6818></P
6819><TABLE
6820BORDER="0"
6821WIDTH="100%"
6822BGCOLOR="#FFD0D0"
6823CELLSPACING="0"
6824CELLPADDING="4"
6825CLASS="CALSTABLE"
6826><TR
6827><TD
6828WIDTH="20%"
6829ALIGN="RIGHT"
6830VALIGN="TOP"
6831><TT
6832CLASS="PARAMETER"
6833><I
6834>dtd</I
6835></TT
6836>&nbsp;:</TD
6837><TD
6838WIDTH="80%"
6839ALIGN="LEFT"
6840VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006841> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006842></TR
6843><TR
6844><TD
6845WIDTH="20%"
6846ALIGN="RIGHT"
6847VALIGN="TOP"
6848><TT
6849CLASS="PARAMETER"
6850><I
6851>name</I
6852></TT
6853>&nbsp;:</TD
6854><TD
6855WIDTH="80%"
6856ALIGN="LEFT"
6857VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006858> the notation name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006859></TR
6860><TR
6861><TD
6862WIDTH="20%"
6863ALIGN="RIGHT"
6864VALIGN="TOP"
6865><I
6866CLASS="EMPHASIS"
6867>Returns</I
6868> :</TD
6869><TD
6870WIDTH="80%"
6871ALIGN="LEFT"
6872VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006873>the xmlNotationPtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006874></TR
6875></TABLE
6876><P
6877></P
6878></DIV
6879></DIV
6880><HR><DIV
6881CLASS="REFSECT2"
6882><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00006883NAME="AEN8609"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006884></A
6885><H3
6886><A
6887NAME="XMLGETDTDELEMENTDESC"
6888></A
6889>xmlGetDtdElementDesc ()</H3
6890><TABLE
6891BORDER="0"
6892BGCOLOR="#D6E8FF"
6893WIDTH="100%"
6894CELLPADDING="6"
6895><TR
6896><TD
6897><PRE
6898CLASS="PROGRAMLISTING"
6899><A
6900HREF="gnome-xml-tree.html#XMLELEMENTPTR"
6901>xmlElementPtr</A
6902> xmlGetDtdElementDesc (<A
6903HREF="gnome-xml-tree.html#XMLDTDPTR"
6904>xmlDtdPtr</A
6905> dtd,
6906 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006907HREF="gnome-xml-tree.html#XMLCHAR"
6908>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006909> *name);</PRE
6910></TD
6911></TR
6912></TABLE
6913><P
6914>Search the Dtd for the description of this element</P
6915><P
6916></P
6917><DIV
6918CLASS="INFORMALTABLE"
6919><P
6920></P
6921><TABLE
6922BORDER="0"
6923WIDTH="100%"
6924BGCOLOR="#FFD0D0"
6925CELLSPACING="0"
6926CELLPADDING="4"
6927CLASS="CALSTABLE"
6928><TR
6929><TD
6930WIDTH="20%"
6931ALIGN="RIGHT"
6932VALIGN="TOP"
6933><TT
6934CLASS="PARAMETER"
6935><I
6936>dtd</I
6937></TT
6938>&nbsp;:</TD
6939><TD
6940WIDTH="80%"
6941ALIGN="LEFT"
6942VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006943> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006944></TR
6945><TR
6946><TD
6947WIDTH="20%"
6948ALIGN="RIGHT"
6949VALIGN="TOP"
6950><TT
6951CLASS="PARAMETER"
6952><I
6953>name</I
6954></TT
6955>&nbsp;:</TD
6956><TD
6957WIDTH="80%"
6958ALIGN="LEFT"
6959VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006960> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006961></TR
6962><TR
6963><TD
6964WIDTH="20%"
6965ALIGN="RIGHT"
6966VALIGN="TOP"
6967><I
6968CLASS="EMPHASIS"
6969>Returns</I
6970> :</TD
6971><TD
6972WIDTH="80%"
6973ALIGN="LEFT"
6974VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006975>the xmlElementPtr if found or NULL</TD
6976></TR
6977></TABLE
6978><P
6979></P
6980></DIV
6981></DIV
6982><HR><DIV
6983CLASS="REFSECT2"
6984><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00006985NAME="AEN8635"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006986></A
6987><H3
6988><A
6989NAME="XMLVALIDGETVALIDELEMENTS"
6990></A
6991>xmlValidGetValidElements ()</H3
6992><TABLE
6993BORDER="0"
6994BGCOLOR="#D6E8FF"
6995WIDTH="100%"
6996CELLPADDING="6"
6997><TR
6998><TD
6999><PRE
7000CLASS="PROGRAMLISTING"
7001>int xmlValidGetValidElements (<A
7002HREF="gnome-xml-tree.html#XMLNODE"
7003>xmlNode</A
7004> *prev,
7005 <A
7006HREF="gnome-xml-tree.html#XMLNODE"
7007>xmlNode</A
7008> *next,
7009 const <A
7010HREF="gnome-xml-tree.html#XMLCHAR"
7011>xmlChar</A
7012> **list,
7013 int max);</PRE
7014></TD
7015></TR
7016></TABLE
7017><P
7018>This function returns the list of authorized children to insert
7019within an existing tree while respecting the validity constraints
7020forced by the Dtd. The insertion point is defined using <TT
7021CLASS="PARAMETER"
7022><I
7023>prev</I
7024></TT
7025> and
7026<TT
7027CLASS="PARAMETER"
7028><I
7029>next</I
7030></TT
7031> in the following ways:
7032to insert before 'node': xmlValidGetValidElements(node-&gt;prev, node, ...
7033to insert next 'node': xmlValidGetValidElements(node, node-&gt;next, ...
7034to replace 'node': xmlValidGetValidElements(node-&gt;prev, node-&gt;next, ...
7035to prepend a child to 'node': xmlValidGetValidElements(NULL, node-&gt;childs,
7036to append a child to 'node': xmlValidGetValidElements(node-&gt;last, NULL, ...</P
7037><P
7038>pointers to the element names are inserted at the beginning of the array
7039and do not need to be freed.</P
7040><P
7041></P
7042><DIV
7043CLASS="INFORMALTABLE"
7044><P
7045></P
7046><TABLE
7047BORDER="0"
7048WIDTH="100%"
7049BGCOLOR="#FFD0D0"
7050CELLSPACING="0"
7051CELLPADDING="4"
7052CLASS="CALSTABLE"
7053><TR
7054><TD
7055WIDTH="20%"
7056ALIGN="RIGHT"
7057VALIGN="TOP"
7058><TT
7059CLASS="PARAMETER"
7060><I
7061>prev</I
7062></TT
7063>&nbsp;:</TD
7064><TD
7065WIDTH="80%"
7066ALIGN="LEFT"
7067VALIGN="TOP"
7068> an element to insert after</TD
7069></TR
7070><TR
7071><TD
7072WIDTH="20%"
7073ALIGN="RIGHT"
7074VALIGN="TOP"
7075><TT
7076CLASS="PARAMETER"
7077><I
7078>next</I
7079></TT
7080>&nbsp;:</TD
7081><TD
7082WIDTH="80%"
7083ALIGN="LEFT"
7084VALIGN="TOP"
7085> an element to insert next</TD
7086></TR
7087><TR
7088><TD
7089WIDTH="20%"
7090ALIGN="RIGHT"
7091VALIGN="TOP"
7092><TT
7093CLASS="PARAMETER"
7094><I
7095>list</I
7096></TT
7097>&nbsp;:</TD
7098><TD
7099WIDTH="80%"
7100ALIGN="LEFT"
7101VALIGN="TOP"
7102> an array to store the list of child names</TD
7103></TR
7104><TR
7105><TD
7106WIDTH="20%"
7107ALIGN="RIGHT"
7108VALIGN="TOP"
7109><TT
7110CLASS="PARAMETER"
7111><I
7112>max</I
7113></TT
7114>&nbsp;:</TD
7115><TD
7116WIDTH="80%"
7117ALIGN="LEFT"
7118VALIGN="TOP"
7119> the size of the array</TD
7120></TR
7121><TR
7122><TD
7123WIDTH="20%"
7124ALIGN="RIGHT"
7125VALIGN="TOP"
7126><I
7127CLASS="EMPHASIS"
7128>Returns</I
7129> :</TD
7130><TD
7131WIDTH="80%"
7132ALIGN="LEFT"
7133VALIGN="TOP"
7134>the number of element in the list, or -1 in case of error. If
7135the function returns the value <TT
7136CLASS="PARAMETER"
7137><I
7138>max</I
7139></TT
7140> the caller is invited to grow the
7141receiving array and retry.</TD
7142></TR
7143></TABLE
7144><P
7145></P
7146></DIV
7147></DIV
7148><HR><DIV
7149CLASS="REFSECT2"
7150><A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00007151NAME="AEN8673"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007152></A
7153><H3
7154><A
7155NAME="XMLVALIDGETPOTENTIALCHILDREN"
7156></A
7157>xmlValidGetPotentialChildren ()</H3
7158><TABLE
7159BORDER="0"
7160BGCOLOR="#D6E8FF"
7161WIDTH="100%"
7162CELLPADDING="6"
7163><TR
7164><TD
7165><PRE
7166CLASS="PROGRAMLISTING"
7167>int xmlValidGetPotentialChildren (<A
7168HREF="gnome-xml-tree.html#XMLELEMENTCONTENT"
7169>xmlElementContent</A
7170> *ctree,
7171 const <A
7172HREF="gnome-xml-tree.html#XMLCHAR"
7173>xmlChar</A
7174> **list,
7175 int *len,
7176 int max);</PRE
7177></TD
7178></TR
7179></TABLE
7180><P
7181>Build/extend a list of potential children allowed by the content tree</P
7182><P
7183></P
7184><DIV
7185CLASS="INFORMALTABLE"
7186><P
7187></P
7188><TABLE
7189BORDER="0"
7190WIDTH="100%"
7191BGCOLOR="#FFD0D0"
7192CELLSPACING="0"
7193CELLPADDING="4"
7194CLASS="CALSTABLE"
7195><TR
7196><TD
7197WIDTH="20%"
7198ALIGN="RIGHT"
7199VALIGN="TOP"
7200><TT
7201CLASS="PARAMETER"
7202><I
7203>ctree</I
7204></TT
7205>&nbsp;:</TD
7206><TD
7207WIDTH="80%"
7208ALIGN="LEFT"
7209VALIGN="TOP"
7210> an element content tree</TD
7211></TR
7212><TR
7213><TD
7214WIDTH="20%"
7215ALIGN="RIGHT"
7216VALIGN="TOP"
7217><TT
7218CLASS="PARAMETER"
7219><I
7220>list</I
7221></TT
7222>&nbsp;:</TD
7223><TD
7224WIDTH="80%"
7225ALIGN="LEFT"
7226VALIGN="TOP"
7227> an array to store the list of child names</TD
7228></TR
7229><TR
7230><TD
7231WIDTH="20%"
7232ALIGN="RIGHT"
7233VALIGN="TOP"
7234><TT
7235CLASS="PARAMETER"
7236><I
7237>len</I
7238></TT
7239>&nbsp;:</TD
7240><TD
7241WIDTH="80%"
7242ALIGN="LEFT"
7243VALIGN="TOP"
7244> a pointer to the number of element in the list</TD
7245></TR
7246><TR
7247><TD
7248WIDTH="20%"
7249ALIGN="RIGHT"
7250VALIGN="TOP"
7251><TT
7252CLASS="PARAMETER"
7253><I
7254>max</I
7255></TT
7256>&nbsp;:</TD
7257><TD
7258WIDTH="80%"
7259ALIGN="LEFT"
7260VALIGN="TOP"
7261> the size of the array</TD
7262></TR
7263><TR
7264><TD
7265WIDTH="20%"
7266ALIGN="RIGHT"
7267VALIGN="TOP"
7268><I
7269CLASS="EMPHASIS"
7270>Returns</I
7271> :</TD
7272><TD
7273WIDTH="80%"
7274ALIGN="LEFT"
7275VALIGN="TOP"
7276>the number of element in the list, or -1 in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007277></TR
7278></TABLE
7279><P
7280></P
7281></DIV
7282></DIV
7283></DIV
7284><DIV
7285CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00007286><BR
7287CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00007288WIDTH="100%"
7289BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007290BGCOLOR="#000000"
7291CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00007292CELLSPACING="0"
7293><TR
7294><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007295WIDTH="25%"
7296BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00007297ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00007298><A
7299HREF="gnome-xml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007300><FONT
7301COLOR="#FFFFFF"
7302SIZE="3"
7303><B
7304>&#60;&#60;&#60; Previous Page</B
7305></FONT
7306></A
Daniel Veillard35925471999-02-25 08:46:07 +00007307></TD
7308><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007309WIDTH="25%"
7310BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00007311ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00007312><FONT
7313COLOR="#FFFFFF"
7314SIZE="3"
7315><B
Daniel Veillard35925471999-02-25 08:46:07 +00007316><A
7317HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007318><FONT
7319COLOR="#FFFFFF"
7320SIZE="3"
7321><B
7322>Home</B
7323></FONT
7324></A
7325></B
7326></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00007327></TD
7328><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007329WIDTH="25%"
7330BGCOLOR="#00C000"
7331ALIGN="center"
7332><FONT
7333COLOR="#FFFFFF"
7334SIZE="3"
7335><B
7336><A
Daniel Veillard35008381999-10-25 13:15:52 +00007337HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007338><FONT
7339COLOR="#FFFFFF"
7340SIZE="3"
7341><B
7342>Up</B
7343></FONT
7344></A
7345></B
7346></FONT
7347></TD
7348><TD
7349WIDTH="25%"
7350BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00007351ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00007352><A
Daniel Veillard8f621982000-03-20 13:07:15 +00007353HREF="gnome-xml-uri.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007354><FONT
7355COLOR="#FFFFFF"
7356SIZE="3"
7357><B
7358>Next Page &#62;&#62;&#62;</B
7359></FONT
7360></A
Daniel Veillard35925471999-02-25 08:46:07 +00007361></TD
7362></TR
7363><TR
7364><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007365COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00007366ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00007367><FONT
7368COLOR="#FFFFFF"
7369SIZE="3"
7370><B
7371>entities</B
7372></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00007373></TD
7374><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007375COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00007376ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00007377><FONT
7378COLOR="#FFFFFF"
7379SIZE="3"
7380><B
Daniel Veillard8f621982000-03-20 13:07:15 +00007381>uri</B
Daniel Veillard14fff061999-06-22 21:49:07 +00007382></FONT
7383></TD
Daniel Veillard35925471999-02-25 08:46:07 +00007384></TR
7385></TABLE
7386></DIV
7387></BODY
7388></HTML
7389>