blob: 8461047382389d41485a15fc7df2eefe016e2609 [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 Veillard3bff2b02000-10-01 20:33:47 +0000118NAME="AEN7374"
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 Veillard3bff2b02000-10-01 20:33:47 +0000126NAME="AEN7377"
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 Veillard3bff2b02000-10-01 20:33:47 +0000941NAME="AEN7594"
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 Veillard3bff2b02000-10-01 20:33:47 +0000951NAME="AEN7597"
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 Veillard3bff2b02000-10-01 20:33:47 +0000958NAME="AEN7599"
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 Veillard3bff2b02000-10-01 20:33:47 +00001052NAME="AEN7621"
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 Veillard3bff2b02000-10-01 20:33:47 +00001146NAME="AEN7643"
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 Veillard3bff2b02000-10-01 20:33:47 +00001184NAME="AEN7648"
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 Veillard3bff2b02000-10-01 20:33:47 +00001210NAME="AEN7653"
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 Veillard3bff2b02000-10-01 20:33:47 +00001236NAME="AEN7658"
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 Veillard3bff2b02000-10-01 20:33:47 +00001266NAME="AEN7663"
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 Veillard3bff2b02000-10-01 20:33:47 +00001292NAME="AEN7668"
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 Veillard3bff2b02000-10-01 20:33:47 +00001318NAME="AEN7673"
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 */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001338 int last; /* last element accessed */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001339};</PRE
1340></TD
1341></TR
1342></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +00001343><P
1344></P
1345></DIV
1346><HR><DIV
1347CLASS="REFSECT2"
1348><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001349NAME="AEN7678"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001350></A
1351><H3
1352><A
1353NAME="XMLELEMENTTABLEPTR"
1354></A
1355>xmlElementTablePtr</H3
1356><TABLE
1357BORDER="0"
1358BGCOLOR="#D6E8FF"
1359WIDTH="100%"
1360CELLPADDING="6"
1361><TR
1362><TD
1363><PRE
1364CLASS="PROGRAMLISTING"
1365>typedef xmlElementTable *xmlElementTablePtr;</PRE
1366></TD
1367></TR
1368></TABLE
1369><P
1370></P
1371></DIV
1372><HR><DIV
1373CLASS="REFSECT2"
1374><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001375NAME="AEN7683"
Daniel Veillard35925471999-02-25 08:46:07 +00001376></A
1377><H3
1378><A
1379NAME="XML-MIN-ATTRIBUTE-TABLE"
1380></A
1381>XML_MIN_ATTRIBUTE_TABLE</H3
1382><TABLE
1383BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001384BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001385WIDTH="100%"
1386CELLPADDING="6"
1387><TR
1388><TD
1389><PRE
1390CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001391>#define XML_MIN_ATTRIBUTE_TABLE 32</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001392></TD
1393></TR
1394></TABLE
1395><P
1396></P
1397></DIV
1398><HR><DIV
1399CLASS="REFSECT2"
1400><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001401NAME="AEN7688"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001402></A
1403><H3
1404><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001405NAME="XMLATTRIBUTETABLE"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001406></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001407>struct xmlAttributeTable</H3
1408><TABLE
1409BORDER="0"
1410BGCOLOR="#D6E8FF"
1411WIDTH="100%"
1412CELLPADDING="6"
1413><TR
1414><TD
1415><PRE
1416CLASS="PROGRAMLISTING"
1417>struct xmlAttributeTable {
1418 int nb_attributes; /* number of attributes stored */
1419 int max_attributes; /* maximum number of attributes */
1420 xmlAttributePtr *table; /* the table of attributes */
1421};</PRE
1422></TD
1423></TR
1424></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +00001425><P
1426></P
1427></DIV
1428><HR><DIV
1429CLASS="REFSECT2"
1430><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001431NAME="AEN7693"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001432></A
1433><H3
1434><A
1435NAME="XMLATTRIBUTETABLEPTR"
1436></A
1437>xmlAttributeTablePtr</H3
1438><TABLE
1439BORDER="0"
1440BGCOLOR="#D6E8FF"
1441WIDTH="100%"
1442CELLPADDING="6"
1443><TR
1444><TD
1445><PRE
1446CLASS="PROGRAMLISTING"
1447>typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE
1448></TD
1449></TR
1450></TABLE
1451><P
1452></P
1453></DIV
1454><HR><DIV
1455CLASS="REFSECT2"
1456><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001457NAME="AEN7698"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001458></A
1459><H3
1460><A
1461NAME="XML-MIN-ID-TABLE"
1462></A
1463>XML_MIN_ID_TABLE</H3
1464><TABLE
1465BORDER="0"
1466BGCOLOR="#D6E8FF"
1467WIDTH="100%"
1468CELLPADDING="6"
1469><TR
1470><TD
1471><PRE
1472CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001473>#define XML_MIN_ID_TABLE 32</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001474></TD
1475></TR
1476></TABLE
1477><P
1478></P
1479></DIV
1480><HR><DIV
1481CLASS="REFSECT2"
1482><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001483NAME="AEN7703"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001484></A
1485><H3
1486><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001487NAME="XMLIDTABLE"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001488></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001489>struct xmlIDTable</H3
1490><TABLE
1491BORDER="0"
1492BGCOLOR="#D6E8FF"
1493WIDTH="100%"
1494CELLPADDING="6"
1495><TR
1496><TD
1497><PRE
1498CLASS="PROGRAMLISTING"
1499>struct xmlIDTable {
1500 int nb_ids; /* number of ids stored */
1501 int max_ids; /* maximum number of ids */
1502 xmlIDPtr *table; /* the table of ids */
1503};</PRE
1504></TD
1505></TR
1506></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +00001507><P
1508></P
1509></DIV
1510><HR><DIV
1511CLASS="REFSECT2"
1512><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001513NAME="AEN7708"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001514></A
1515><H3
1516><A
1517NAME="XMLIDTABLEPTR"
1518></A
1519>xmlIDTablePtr</H3
1520><TABLE
1521BORDER="0"
1522BGCOLOR="#D6E8FF"
1523WIDTH="100%"
1524CELLPADDING="6"
1525><TR
1526><TD
1527><PRE
1528CLASS="PROGRAMLISTING"
1529>typedef xmlIDTable *xmlIDTablePtr;</PRE
1530></TD
1531></TR
1532></TABLE
1533><P
1534></P
1535></DIV
1536><HR><DIV
1537CLASS="REFSECT2"
1538><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001539NAME="AEN7713"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00001540></A
1541><H3
1542><A
1543NAME="XML-MIN-REF-TABLE"
1544></A
1545>XML_MIN_REF_TABLE</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001546><TABLE
1547BORDER="0"
1548BGCOLOR="#D6E8FF"
1549WIDTH="100%"
1550CELLPADDING="6"
1551><TR
1552><TD
1553><PRE
1554CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001555>#define XML_MIN_REF_TABLE 32</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001556></TD
1557></TR
1558></TABLE
1559><P
1560></P
1561></DIV
1562><HR><DIV
1563CLASS="REFSECT2"
1564><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001565NAME="AEN7718"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001566></A
1567><H3
1568><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001569NAME="XMLREFTABLE"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001570></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001571>struct xmlRefTable</H3
1572><TABLE
1573BORDER="0"
1574BGCOLOR="#D6E8FF"
1575WIDTH="100%"
1576CELLPADDING="6"
1577><TR
1578><TD
1579><PRE
1580CLASS="PROGRAMLISTING"
1581>struct xmlRefTable {
1582 int nb_refs; /* number of refs stored */
1583 int max_refs; /* maximum number of refs */
1584 xmlRefPtr *table; /* the table of refs */
1585};</PRE
1586></TD
1587></TR
1588></TABLE
Daniel Veillardf3a73582000-01-05 14:58:39 +00001589><P
1590></P
1591></DIV
1592><HR><DIV
1593CLASS="REFSECT2"
1594><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001595NAME="AEN7723"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001596></A
1597><H3
1598><A
1599NAME="XMLREFTABLEPTR"
1600></A
1601>xmlRefTablePtr</H3
1602><TABLE
1603BORDER="0"
1604BGCOLOR="#D6E8FF"
1605WIDTH="100%"
1606CELLPADDING="6"
1607><TR
1608><TD
1609><PRE
1610CLASS="PROGRAMLISTING"
1611>typedef xmlRefTable *xmlRefTablePtr;</PRE
1612></TD
1613></TR
1614></TABLE
1615><P
1616></P
1617></DIV
1618><HR><DIV
1619CLASS="REFSECT2"
1620><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001621NAME="AEN7728"
Daniel Veillard35925471999-02-25 08:46:07 +00001622></A
1623><H3
1624><A
1625NAME="XMLADDNOTATIONDECL"
1626></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001627>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001628><TABLE
1629BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001630BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001631WIDTH="100%"
1632CELLPADDING="6"
1633><TR
1634><TD
1635><PRE
1636CLASS="PROGRAMLISTING"
1637><A
1638HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
1639>xmlNotationPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001640> xmlAddNotationDecl (<A
1641HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
1642>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001643> ctxt,
1644 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001645HREF="gnome-xml-tree.html#XMLDTDPTR"
1646>xmlDtdPtr</A
1647> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001648 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001649HREF="gnome-xml-tree.html#XMLCHAR"
1650>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001651> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001652 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001653HREF="gnome-xml-tree.html#XMLCHAR"
1654>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001655> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001656 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001657HREF="gnome-xml-tree.html#XMLCHAR"
1658>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001659> *SystemID);</PRE
1660></TD
1661></TR
1662></TABLE
1663><P
1664>Register a new notation declaration</P
1665><P
1666></P
1667><DIV
1668CLASS="INFORMALTABLE"
1669><P
1670></P
1671><TABLE
1672BORDER="0"
1673WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001674BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001675CELLSPACING="0"
1676CELLPADDING="4"
1677CLASS="CALSTABLE"
1678><TR
1679><TD
1680WIDTH="20%"
1681ALIGN="RIGHT"
1682VALIGN="TOP"
1683><TT
1684CLASS="PARAMETER"
1685><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001686>ctxt</I
1687></TT
1688>&nbsp;:</TD
1689><TD
1690WIDTH="80%"
1691ALIGN="LEFT"
1692VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001693> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001694></TR
1695><TR
1696><TD
1697WIDTH="20%"
1698ALIGN="RIGHT"
1699VALIGN="TOP"
1700><TT
1701CLASS="PARAMETER"
1702><I
Daniel Veillard35925471999-02-25 08:46:07 +00001703>dtd</I
1704></TT
1705>&nbsp;:</TD
1706><TD
1707WIDTH="80%"
1708ALIGN="LEFT"
1709VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001710> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001711></TR
1712><TR
1713><TD
1714WIDTH="20%"
1715ALIGN="RIGHT"
1716VALIGN="TOP"
1717><TT
1718CLASS="PARAMETER"
1719><I
1720>name</I
1721></TT
1722>&nbsp;:</TD
1723><TD
1724WIDTH="80%"
1725ALIGN="LEFT"
1726VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001727> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001728></TR
1729><TR
1730><TD
1731WIDTH="20%"
1732ALIGN="RIGHT"
1733VALIGN="TOP"
1734><TT
1735CLASS="PARAMETER"
1736><I
1737>PublicID</I
1738></TT
1739>&nbsp;:</TD
1740><TD
1741WIDTH="80%"
1742ALIGN="LEFT"
1743VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001744> the public identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001745></TR
1746><TR
1747><TD
1748WIDTH="20%"
1749ALIGN="RIGHT"
1750VALIGN="TOP"
1751><TT
1752CLASS="PARAMETER"
1753><I
1754>SystemID</I
1755></TT
1756>&nbsp;:</TD
1757><TD
1758WIDTH="80%"
1759ALIGN="LEFT"
1760VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001761> the system identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001762></TR
1763><TR
1764><TD
1765WIDTH="20%"
1766ALIGN="RIGHT"
1767VALIGN="TOP"
1768><I
1769CLASS="EMPHASIS"
1770>Returns</I
1771> :</TD
1772><TD
1773WIDTH="80%"
1774ALIGN="LEFT"
1775VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001776>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001777></TR
1778></TABLE
1779><P
1780></P
1781></DIV
1782></DIV
1783><HR><DIV
1784CLASS="REFSECT2"
1785><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001786NAME="AEN7769"
Daniel Veillard35925471999-02-25 08:46:07 +00001787></A
1788><H3
1789><A
1790NAME="XMLCOPYNOTATIONTABLE"
1791></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001792>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001793><TABLE
1794BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001795BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001796WIDTH="100%"
1797CELLPADDING="6"
1798><TR
1799><TD
1800><PRE
1801CLASS="PROGRAMLISTING"
1802><A
1803HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1804>xmlNotationTablePtr</A
1805> xmlCopyNotationTable (<A
1806HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1807>xmlNotationTablePtr</A
1808> table);</PRE
1809></TD
1810></TR
1811></TABLE
1812><P
1813>Build a copy of a notation table.</P
1814><P
1815></P
1816><DIV
1817CLASS="INFORMALTABLE"
1818><P
1819></P
1820><TABLE
1821BORDER="0"
1822WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001823BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001824CELLSPACING="0"
1825CELLPADDING="4"
1826CLASS="CALSTABLE"
1827><TR
1828><TD
1829WIDTH="20%"
1830ALIGN="RIGHT"
1831VALIGN="TOP"
1832><TT
1833CLASS="PARAMETER"
1834><I
1835>table</I
1836></TT
1837>&nbsp;:</TD
1838><TD
1839WIDTH="80%"
1840ALIGN="LEFT"
1841VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001842> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001843></TR
1844><TR
1845><TD
1846WIDTH="20%"
1847ALIGN="RIGHT"
1848VALIGN="TOP"
1849><I
1850CLASS="EMPHASIS"
1851>Returns</I
1852> :</TD
1853><TD
1854WIDTH="80%"
1855ALIGN="LEFT"
1856VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001857>the new xmlNotationTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001858></TR
1859></TABLE
1860><P
1861></P
1862></DIV
1863></DIV
1864><HR><DIV
1865CLASS="REFSECT2"
1866><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001867NAME="AEN7790"
Daniel Veillard35925471999-02-25 08:46:07 +00001868></A
1869><H3
1870><A
1871NAME="XMLFREENOTATIONTABLE"
1872></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001873>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001874><TABLE
1875BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001876BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001877WIDTH="100%"
1878CELLPADDING="6"
1879><TR
1880><TD
1881><PRE
1882CLASS="PROGRAMLISTING"
1883>void xmlFreeNotationTable (<A
1884HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1885>xmlNotationTablePtr</A
1886> table);</PRE
1887></TD
1888></TR
1889></TABLE
1890><P
1891>Deallocate the memory used by an entities hash table.</P
1892><P
1893></P
1894><DIV
1895CLASS="INFORMALTABLE"
1896><P
1897></P
1898><TABLE
1899BORDER="0"
1900WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001901BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001902CELLSPACING="0"
1903CELLPADDING="4"
1904CLASS="CALSTABLE"
1905><TR
1906><TD
1907WIDTH="20%"
1908ALIGN="RIGHT"
1909VALIGN="TOP"
1910><TT
1911CLASS="PARAMETER"
1912><I
1913>table</I
1914></TT
1915>&nbsp;:</TD
1916><TD
1917WIDTH="80%"
1918ALIGN="LEFT"
1919VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001920> An notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001921></TR
1922></TABLE
1923><P
1924></P
1925></DIV
1926></DIV
1927><HR><DIV
1928CLASS="REFSECT2"
1929><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001930NAME="AEN7806"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001931></A
1932><H3
1933><A
1934NAME="XMLDUMPNOTATIONDECL"
1935></A
1936>xmlDumpNotationDecl ()</H3
1937><TABLE
1938BORDER="0"
1939BGCOLOR="#D6E8FF"
1940WIDTH="100%"
1941CELLPADDING="6"
1942><TR
1943><TD
1944><PRE
1945CLASS="PROGRAMLISTING"
1946>void xmlDumpNotationDecl (<A
1947HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1948>xmlBufferPtr</A
1949> buf,
1950 <A
1951HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
1952>xmlNotationPtr</A
1953> nota);</PRE
1954></TD
1955></TR
1956></TABLE
1957><P
1958>This will dump the content the notation declaration as an XML DTD definition</P
1959><P
1960></P
1961><DIV
1962CLASS="INFORMALTABLE"
1963><P
1964></P
1965><TABLE
1966BORDER="0"
1967WIDTH="100%"
1968BGCOLOR="#FFD0D0"
1969CELLSPACING="0"
1970CELLPADDING="4"
1971CLASS="CALSTABLE"
1972><TR
1973><TD
1974WIDTH="20%"
1975ALIGN="RIGHT"
1976VALIGN="TOP"
1977><TT
1978CLASS="PARAMETER"
1979><I
1980>buf</I
1981></TT
1982>&nbsp;:</TD
1983><TD
1984WIDTH="80%"
1985ALIGN="LEFT"
1986VALIGN="TOP"
1987> the XML buffer output</TD
1988></TR
1989><TR
1990><TD
1991WIDTH="20%"
1992ALIGN="RIGHT"
1993VALIGN="TOP"
1994><TT
1995CLASS="PARAMETER"
1996><I
1997>nota</I
1998></TT
1999>&nbsp;:</TD
2000><TD
2001WIDTH="80%"
2002ALIGN="LEFT"
2003VALIGN="TOP"
2004> A notation declaration</TD
2005></TR
2006></TABLE
2007><P
2008></P
2009></DIV
2010></DIV
2011><HR><DIV
2012CLASS="REFSECT2"
2013><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002014NAME="AEN7827"
Daniel Veillard35925471999-02-25 08:46:07 +00002015></A
2016><H3
2017><A
2018NAME="XMLDUMPNOTATIONTABLE"
2019></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002020>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002021><TABLE
2022BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002023BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002024WIDTH="100%"
2025CELLPADDING="6"
2026><TR
2027><TD
2028><PRE
2029CLASS="PROGRAMLISTING"
2030>void xmlDumpNotationTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002031HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2032>xmlBufferPtr</A
2033> buf,
2034 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002035HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
2036>xmlNotationTablePtr</A
2037> table);</PRE
2038></TD
2039></TR
2040></TABLE
2041><P
2042>This will dump the content of the notation table as an XML DTD definition</P
2043><P
Daniel Veillard35925471999-02-25 08:46:07 +00002044></P
2045><DIV
2046CLASS="INFORMALTABLE"
2047><P
2048></P
2049><TABLE
2050BORDER="0"
2051WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002052BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002053CELLSPACING="0"
2054CELLPADDING="4"
2055CLASS="CALSTABLE"
2056><TR
2057><TD
2058WIDTH="20%"
2059ALIGN="RIGHT"
2060VALIGN="TOP"
2061><TT
2062CLASS="PARAMETER"
2063><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002064>buf</I
2065></TT
2066>&nbsp;:</TD
2067><TD
2068WIDTH="80%"
2069ALIGN="LEFT"
2070VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002071> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002072></TR
2073><TR
2074><TD
2075WIDTH="20%"
2076ALIGN="RIGHT"
2077VALIGN="TOP"
2078><TT
2079CLASS="PARAMETER"
2080><I
Daniel Veillard35925471999-02-25 08:46:07 +00002081>table</I
2082></TT
2083>&nbsp;:</TD
2084><TD
2085WIDTH="80%"
2086ALIGN="LEFT"
2087VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002088> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002089></TR
2090></TABLE
2091><P
2092></P
2093></DIV
2094></DIV
2095><HR><DIV
2096CLASS="REFSECT2"
2097><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002098NAME="AEN7848"
Daniel Veillard35925471999-02-25 08:46:07 +00002099></A
2100><H3
2101><A
2102NAME="XMLNEWELEMENTCONTENT"
2103></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002104>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002105><TABLE
2106BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002107BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002108WIDTH="100%"
2109CELLPADDING="6"
2110><TR
2111><TD
2112><PRE
2113CLASS="PROGRAMLISTING"
2114><A
2115HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2116>xmlElementContentPtr</A
2117> xmlNewElementContent (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002118HREF="gnome-xml-tree.html#XMLCHAR"
2119>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002120> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002121 <A
2122HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
2123>xmlElementContentType</A
2124> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00002125></TD
2126></TR
2127></TABLE
2128><P
2129>Allocate an element content structure.</P
2130><P
2131></P
2132><DIV
2133CLASS="INFORMALTABLE"
2134><P
2135></P
2136><TABLE
2137BORDER="0"
2138WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002139BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002140CELLSPACING="0"
2141CELLPADDING="4"
2142CLASS="CALSTABLE"
2143><TR
2144><TD
2145WIDTH="20%"
2146ALIGN="RIGHT"
2147VALIGN="TOP"
2148><TT
2149CLASS="PARAMETER"
2150><I
2151>name</I
2152></TT
2153>&nbsp;:</TD
2154><TD
2155WIDTH="80%"
2156ALIGN="LEFT"
2157VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002158> the subelement name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002159></TR
2160><TR
2161><TD
2162WIDTH="20%"
2163ALIGN="RIGHT"
2164VALIGN="TOP"
2165><TT
2166CLASS="PARAMETER"
2167><I
2168>type</I
2169></TT
2170>&nbsp;:</TD
2171><TD
2172WIDTH="80%"
2173ALIGN="LEFT"
2174VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002175> the type of element content decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002176></TR
2177><TR
2178><TD
2179WIDTH="20%"
2180ALIGN="RIGHT"
2181VALIGN="TOP"
2182><I
2183CLASS="EMPHASIS"
2184>Returns</I
2185> :</TD
2186><TD
2187WIDTH="80%"
2188ALIGN="LEFT"
2189VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002190>NULL if not, othervise the new element content structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002191></TR
2192></TABLE
2193><P
2194></P
2195></DIV
2196></DIV
2197><HR><DIV
2198CLASS="REFSECT2"
2199><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002200NAME="AEN7874"
Daniel Veillard35925471999-02-25 08:46:07 +00002201></A
2202><H3
2203><A
2204NAME="XMLCOPYELEMENTCONTENT"
2205></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002206>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002207><TABLE
2208BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002209BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002210WIDTH="100%"
2211CELLPADDING="6"
2212><TR
2213><TD
2214><PRE
2215CLASS="PROGRAMLISTING"
2216><A
2217HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2218>xmlElementContentPtr</A
2219> xmlCopyElementContent (<A
2220HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2221>xmlElementContentPtr</A
2222> content);</PRE
2223></TD
2224></TR
2225></TABLE
2226><P
2227>Build a copy of an element content description.</P
2228><P
2229></P
2230><DIV
2231CLASS="INFORMALTABLE"
2232><P
2233></P
2234><TABLE
2235BORDER="0"
2236WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002237BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002238CELLSPACING="0"
2239CELLPADDING="4"
2240CLASS="CALSTABLE"
2241><TR
2242><TD
2243WIDTH="20%"
2244ALIGN="RIGHT"
2245VALIGN="TOP"
2246><TT
2247CLASS="PARAMETER"
2248><I
2249>content</I
2250></TT
2251>&nbsp;:</TD
2252><TD
2253WIDTH="80%"
2254ALIGN="LEFT"
2255VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002256> An element content pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002257></TR
2258><TR
2259><TD
2260WIDTH="20%"
2261ALIGN="RIGHT"
2262VALIGN="TOP"
2263><I
2264CLASS="EMPHASIS"
2265>Returns</I
2266> :</TD
2267><TD
2268WIDTH="80%"
2269ALIGN="LEFT"
2270VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002271>the new xmlElementContentPtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002272></TR
2273></TABLE
2274><P
2275></P
2276></DIV
2277></DIV
2278><HR><DIV
2279CLASS="REFSECT2"
2280><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002281NAME="AEN7895"
Daniel Veillard35925471999-02-25 08:46:07 +00002282></A
2283><H3
2284><A
2285NAME="XMLFREEELEMENTCONTENT"
2286></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002287>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002288><TABLE
2289BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002290BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002291WIDTH="100%"
2292CELLPADDING="6"
2293><TR
2294><TD
2295><PRE
2296CLASS="PROGRAMLISTING"
2297>void xmlFreeElementContent (<A
2298HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2299>xmlElementContentPtr</A
2300> cur);</PRE
2301></TD
2302></TR
2303></TABLE
2304><P
2305>Free an element content structure. This is a recursive call !</P
2306><P
2307></P
2308><DIV
2309CLASS="INFORMALTABLE"
2310><P
2311></P
2312><TABLE
2313BORDER="0"
2314WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002315BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002316CELLSPACING="0"
2317CELLPADDING="4"
2318CLASS="CALSTABLE"
2319><TR
2320><TD
2321WIDTH="20%"
2322ALIGN="RIGHT"
2323VALIGN="TOP"
2324><TT
2325CLASS="PARAMETER"
2326><I
2327>cur</I
2328></TT
2329>&nbsp;:</TD
2330><TD
2331WIDTH="80%"
2332ALIGN="LEFT"
2333VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002334> the element content tree to free</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002335></TR
2336></TABLE
2337><P
2338></P
2339></DIV
2340></DIV
2341><HR><DIV
2342CLASS="REFSECT2"
2343><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002344NAME="AEN7911"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002345></A
2346><H3
2347><A
2348NAME="XMLSPRINTFELEMENTCONTENT"
2349></A
2350>xmlSprintfElementContent ()</H3
2351><TABLE
2352BORDER="0"
2353BGCOLOR="#D6E8FF"
2354WIDTH="100%"
2355CELLPADDING="6"
2356><TR
2357><TD
2358><PRE
2359CLASS="PROGRAMLISTING"
2360>void xmlSprintfElementContent (char *buf,
2361 <A
2362HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2363>xmlElementContentPtr</A
2364> content,
2365 int glob);</PRE
2366></TD
2367></TR
2368></TABLE
2369><P
2370>This will dump the content of the element content definition
2371Intended just for the debug routine</P
2372><P
2373></P
2374><DIV
2375CLASS="INFORMALTABLE"
2376><P
2377></P
2378><TABLE
2379BORDER="0"
2380WIDTH="100%"
2381BGCOLOR="#FFD0D0"
2382CELLSPACING="0"
2383CELLPADDING="4"
2384CLASS="CALSTABLE"
2385><TR
2386><TD
2387WIDTH="20%"
2388ALIGN="RIGHT"
2389VALIGN="TOP"
2390><TT
2391CLASS="PARAMETER"
2392><I
2393>buf</I
2394></TT
2395>&nbsp;:</TD
2396><TD
2397WIDTH="80%"
2398ALIGN="LEFT"
2399VALIGN="TOP"
2400> an output buffer</TD
2401></TR
2402><TR
2403><TD
2404WIDTH="20%"
2405ALIGN="RIGHT"
2406VALIGN="TOP"
2407><TT
2408CLASS="PARAMETER"
2409><I
2410>content</I
2411></TT
2412>&nbsp;:</TD
2413><TD
2414WIDTH="80%"
2415ALIGN="LEFT"
2416VALIGN="TOP"
2417> An element table</TD
2418></TR
2419><TR
2420><TD
2421WIDTH="20%"
2422ALIGN="RIGHT"
2423VALIGN="TOP"
2424><TT
2425CLASS="PARAMETER"
2426><I
2427>glob</I
2428></TT
2429>&nbsp;:</TD
2430><TD
2431WIDTH="80%"
2432ALIGN="LEFT"
2433VALIGN="TOP"
2434> 1 if one must print the englobing parenthesis, 0 otherwise</TD
2435></TR
2436></TABLE
2437><P
2438></P
2439></DIV
2440></DIV
2441><HR><DIV
2442CLASS="REFSECT2"
2443><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002444NAME="AEN7935"
Daniel Veillard35925471999-02-25 08:46:07 +00002445></A
2446><H3
2447><A
2448NAME="XMLADDELEMENTDECL"
2449></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002450>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002451><TABLE
2452BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002453BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002454WIDTH="100%"
2455CELLPADDING="6"
2456><TR
2457><TD
2458><PRE
2459CLASS="PROGRAMLISTING"
2460><A
2461HREF="gnome-xml-tree.html#XMLELEMENTPTR"
2462>xmlElementPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002463> xmlAddElementDecl (<A
2464HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
2465>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002466> ctxt,
2467 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002468HREF="gnome-xml-tree.html#XMLDTDPTR"
2469>xmlDtdPtr</A
2470> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002471 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002472HREF="gnome-xml-tree.html#XMLCHAR"
2473>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002474> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002475 <A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00002476HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL"
2477>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002478> type,
Daniel Veillard35925471999-02-25 08:46:07 +00002479 <A
2480HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2481>xmlElementContentPtr</A
2482> content);</PRE
2483></TD
2484></TR
2485></TABLE
2486><P
2487>Register a new element declaration</P
2488><P
2489></P
2490><DIV
2491CLASS="INFORMALTABLE"
2492><P
2493></P
2494><TABLE
2495BORDER="0"
2496WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002497BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002498CELLSPACING="0"
2499CELLPADDING="4"
2500CLASS="CALSTABLE"
2501><TR
2502><TD
2503WIDTH="20%"
2504ALIGN="RIGHT"
2505VALIGN="TOP"
2506><TT
2507CLASS="PARAMETER"
2508><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002509>ctxt</I
2510></TT
2511>&nbsp;:</TD
2512><TD
2513WIDTH="80%"
2514ALIGN="LEFT"
2515VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002516> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002517></TR
2518><TR
2519><TD
2520WIDTH="20%"
2521ALIGN="RIGHT"
2522VALIGN="TOP"
2523><TT
2524CLASS="PARAMETER"
2525><I
Daniel Veillard35925471999-02-25 08:46:07 +00002526>dtd</I
2527></TT
2528>&nbsp;:</TD
2529><TD
2530WIDTH="80%"
2531ALIGN="LEFT"
2532VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002533> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002534></TR
2535><TR
2536><TD
2537WIDTH="20%"
2538ALIGN="RIGHT"
2539VALIGN="TOP"
2540><TT
2541CLASS="PARAMETER"
2542><I
2543>name</I
2544></TT
2545>&nbsp;:</TD
2546><TD
2547WIDTH="80%"
2548ALIGN="LEFT"
2549VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002550> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002551></TR
2552><TR
2553><TD
2554WIDTH="20%"
2555ALIGN="RIGHT"
2556VALIGN="TOP"
2557><TT
2558CLASS="PARAMETER"
2559><I
2560>type</I
2561></TT
2562>&nbsp;:</TD
2563><TD
2564WIDTH="80%"
2565ALIGN="LEFT"
2566VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002567> the element type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002568></TR
2569><TR
2570><TD
2571WIDTH="20%"
2572ALIGN="RIGHT"
2573VALIGN="TOP"
2574><TT
2575CLASS="PARAMETER"
2576><I
2577>content</I
2578></TT
2579>&nbsp;:</TD
2580><TD
2581WIDTH="80%"
2582ALIGN="LEFT"
2583VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002584> the element content tree or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002585></TR
2586><TR
2587><TD
2588WIDTH="20%"
2589ALIGN="RIGHT"
2590VALIGN="TOP"
2591><I
2592CLASS="EMPHASIS"
2593>Returns</I
2594> :</TD
2595><TD
2596WIDTH="80%"
2597ALIGN="LEFT"
2598VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002599>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002600></TR
2601></TABLE
2602><P
2603></P
2604></DIV
2605></DIV
2606><HR><DIV
2607CLASS="REFSECT2"
2608><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002609NAME="AEN7976"
Daniel Veillard35925471999-02-25 08:46:07 +00002610></A
2611><H3
2612><A
2613NAME="XMLCOPYELEMENTTABLE"
2614></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002615>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002616><TABLE
2617BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002618BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002619WIDTH="100%"
2620CELLPADDING="6"
2621><TR
2622><TD
2623><PRE
2624CLASS="PROGRAMLISTING"
2625><A
2626HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2627>xmlElementTablePtr</A
2628> xmlCopyElementTable (<A
2629HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2630>xmlElementTablePtr</A
2631> table);</PRE
2632></TD
2633></TR
2634></TABLE
2635><P
2636>Build a copy of an element table.</P
2637><P
2638></P
2639><DIV
2640CLASS="INFORMALTABLE"
2641><P
2642></P
2643><TABLE
2644BORDER="0"
2645WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002646BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002647CELLSPACING="0"
2648CELLPADDING="4"
2649CLASS="CALSTABLE"
2650><TR
2651><TD
2652WIDTH="20%"
2653ALIGN="RIGHT"
2654VALIGN="TOP"
2655><TT
2656CLASS="PARAMETER"
2657><I
2658>table</I
2659></TT
2660>&nbsp;:</TD
2661><TD
2662WIDTH="80%"
2663ALIGN="LEFT"
2664VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002665> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002666></TR
2667><TR
2668><TD
2669WIDTH="20%"
2670ALIGN="RIGHT"
2671VALIGN="TOP"
2672><I
2673CLASS="EMPHASIS"
2674>Returns</I
2675> :</TD
2676><TD
2677WIDTH="80%"
2678ALIGN="LEFT"
2679VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002680>the new xmlElementTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002681></TR
2682></TABLE
2683><P
2684></P
2685></DIV
2686></DIV
2687><HR><DIV
2688CLASS="REFSECT2"
2689><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002690NAME="AEN7997"
Daniel Veillard35925471999-02-25 08:46:07 +00002691></A
2692><H3
2693><A
2694NAME="XMLFREEELEMENTTABLE"
2695></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002696>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002697><TABLE
2698BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002699BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002700WIDTH="100%"
2701CELLPADDING="6"
2702><TR
2703><TD
2704><PRE
2705CLASS="PROGRAMLISTING"
2706>void xmlFreeElementTable (<A
2707HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2708>xmlElementTablePtr</A
2709> table);</PRE
2710></TD
2711></TR
2712></TABLE
2713><P
2714>Deallocate the memory used by an element hash table.</P
2715><P
2716></P
2717><DIV
2718CLASS="INFORMALTABLE"
2719><P
2720></P
2721><TABLE
2722BORDER="0"
2723WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002724BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002725CELLSPACING="0"
2726CELLPADDING="4"
2727CLASS="CALSTABLE"
2728><TR
2729><TD
2730WIDTH="20%"
2731ALIGN="RIGHT"
2732VALIGN="TOP"
2733><TT
2734CLASS="PARAMETER"
2735><I
2736>table</I
2737></TT
2738>&nbsp;:</TD
2739><TD
2740WIDTH="80%"
2741ALIGN="LEFT"
2742VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002743> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002744></TR
2745></TABLE
2746><P
2747></P
2748></DIV
2749></DIV
2750><HR><DIV
2751CLASS="REFSECT2"
2752><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002753NAME="AEN8013"
Daniel Veillard35925471999-02-25 08:46:07 +00002754></A
2755><H3
2756><A
2757NAME="XMLDUMPELEMENTTABLE"
2758></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002759>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002760><TABLE
2761BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002762BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002763WIDTH="100%"
2764CELLPADDING="6"
2765><TR
2766><TD
2767><PRE
2768CLASS="PROGRAMLISTING"
2769>void xmlDumpElementTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002770HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2771>xmlBufferPtr</A
2772> buf,
2773 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002774HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2775>xmlElementTablePtr</A
2776> table);</PRE
2777></TD
2778></TR
2779></TABLE
2780><P
2781>This will dump the content of the element table as an XML DTD definition</P
2782><P
Daniel Veillard35925471999-02-25 08:46:07 +00002783></P
2784><DIV
2785CLASS="INFORMALTABLE"
2786><P
2787></P
2788><TABLE
2789BORDER="0"
2790WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002791BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002792CELLSPACING="0"
2793CELLPADDING="4"
2794CLASS="CALSTABLE"
2795><TR
2796><TD
2797WIDTH="20%"
2798ALIGN="RIGHT"
2799VALIGN="TOP"
2800><TT
2801CLASS="PARAMETER"
2802><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002803>buf</I
2804></TT
2805>&nbsp;:</TD
2806><TD
2807WIDTH="80%"
2808ALIGN="LEFT"
2809VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002810> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002811></TR
2812><TR
2813><TD
2814WIDTH="20%"
2815ALIGN="RIGHT"
2816VALIGN="TOP"
2817><TT
2818CLASS="PARAMETER"
2819><I
Daniel Veillard35925471999-02-25 08:46:07 +00002820>table</I
2821></TT
2822>&nbsp;:</TD
2823><TD
2824WIDTH="80%"
2825ALIGN="LEFT"
2826VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002827> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002828></TR
2829></TABLE
2830><P
2831></P
2832></DIV
2833></DIV
2834><HR><DIV
2835CLASS="REFSECT2"
2836><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002837NAME="AEN8034"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002838></A
2839><H3
2840><A
2841NAME="XMLDUMPELEMENTDECL"
2842></A
2843>xmlDumpElementDecl ()</H3
2844><TABLE
2845BORDER="0"
2846BGCOLOR="#D6E8FF"
2847WIDTH="100%"
2848CELLPADDING="6"
2849><TR
2850><TD
2851><PRE
2852CLASS="PROGRAMLISTING"
2853>void xmlDumpElementDecl (<A
2854HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2855>xmlBufferPtr</A
2856> buf,
2857 <A
2858HREF="gnome-xml-tree.html#XMLELEMENTPTR"
2859>xmlElementPtr</A
2860> elem);</PRE
2861></TD
2862></TR
2863></TABLE
2864><P
2865>This will dump the content of the element declaration as an XML
2866DTD definition</P
2867><P
2868></P
2869><DIV
2870CLASS="INFORMALTABLE"
2871><P
2872></P
2873><TABLE
2874BORDER="0"
2875WIDTH="100%"
2876BGCOLOR="#FFD0D0"
2877CELLSPACING="0"
2878CELLPADDING="4"
2879CLASS="CALSTABLE"
2880><TR
2881><TD
2882WIDTH="20%"
2883ALIGN="RIGHT"
2884VALIGN="TOP"
2885><TT
2886CLASS="PARAMETER"
2887><I
2888>buf</I
2889></TT
2890>&nbsp;:</TD
2891><TD
2892WIDTH="80%"
2893ALIGN="LEFT"
2894VALIGN="TOP"
2895> the XML buffer output</TD
2896></TR
2897><TR
2898><TD
2899WIDTH="20%"
2900ALIGN="RIGHT"
2901VALIGN="TOP"
2902><TT
2903CLASS="PARAMETER"
2904><I
2905>elem</I
2906></TT
2907>&nbsp;:</TD
2908><TD
2909WIDTH="80%"
2910ALIGN="LEFT"
2911VALIGN="TOP"
2912> An element table</TD
2913></TR
2914></TABLE
2915><P
2916></P
2917></DIV
2918></DIV
2919><HR><DIV
2920CLASS="REFSECT2"
2921><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002922NAME="AEN8055"
Daniel Veillard35925471999-02-25 08:46:07 +00002923></A
2924><H3
2925><A
2926NAME="XMLCREATEENUMERATION"
2927></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002928>xmlCreateEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002929><TABLE
2930BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002931BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002932WIDTH="100%"
2933CELLPADDING="6"
2934><TR
2935><TD
2936><PRE
2937CLASS="PROGRAMLISTING"
2938><A
2939HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2940>xmlEnumerationPtr</A
2941> xmlCreateEnumeration (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002942HREF="gnome-xml-tree.html#XMLCHAR"
2943>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002944> *name);</PRE
2945></TD
2946></TR
2947></TABLE
2948><P
2949>create and initialize an enumeration attribute node.</P
2950><P
2951></P
2952><DIV
2953CLASS="INFORMALTABLE"
2954><P
2955></P
2956><TABLE
2957BORDER="0"
2958WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002959BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002960CELLSPACING="0"
2961CELLPADDING="4"
2962CLASS="CALSTABLE"
2963><TR
2964><TD
2965WIDTH="20%"
2966ALIGN="RIGHT"
2967VALIGN="TOP"
2968><TT
2969CLASS="PARAMETER"
2970><I
2971>name</I
2972></TT
2973>&nbsp;:</TD
2974><TD
2975WIDTH="80%"
2976ALIGN="LEFT"
2977VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002978> the enumeration name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002979></TR
2980><TR
2981><TD
2982WIDTH="20%"
2983ALIGN="RIGHT"
2984VALIGN="TOP"
2985><I
2986CLASS="EMPHASIS"
2987>Returns</I
2988> :</TD
2989><TD
2990WIDTH="80%"
2991ALIGN="LEFT"
2992VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002993>the xmlEnumerationPtr just created or NULL in case
2994of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002995></TR
2996></TABLE
2997><P
2998></P
2999></DIV
3000></DIV
3001><HR><DIV
3002CLASS="REFSECT2"
3003><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003004NAME="AEN8076"
Daniel Veillard35925471999-02-25 08:46:07 +00003005></A
3006><H3
3007><A
3008NAME="XMLFREEENUMERATION"
3009></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003010>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003011><TABLE
3012BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003013BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003014WIDTH="100%"
3015CELLPADDING="6"
3016><TR
3017><TD
3018><PRE
3019CLASS="PROGRAMLISTING"
3020>void xmlFreeEnumeration (<A
3021HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
3022>xmlEnumerationPtr</A
3023> cur);</PRE
3024></TD
3025></TR
3026></TABLE
3027><P
3028>free an enumeration attribute node (recursive).</P
3029><P
3030></P
3031><DIV
3032CLASS="INFORMALTABLE"
3033><P
3034></P
3035><TABLE
3036BORDER="0"
3037WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003038BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003039CELLSPACING="0"
3040CELLPADDING="4"
3041CLASS="CALSTABLE"
3042><TR
3043><TD
3044WIDTH="20%"
3045ALIGN="RIGHT"
3046VALIGN="TOP"
3047><TT
3048CLASS="PARAMETER"
3049><I
3050>cur</I
3051></TT
3052>&nbsp;:</TD
3053><TD
3054WIDTH="80%"
3055ALIGN="LEFT"
3056VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003057> the tree to free.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003058></TR
3059></TABLE
3060><P
3061></P
3062></DIV
3063></DIV
3064><HR><DIV
3065CLASS="REFSECT2"
3066><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003067NAME="AEN8092"
Daniel Veillard35925471999-02-25 08:46:07 +00003068></A
3069><H3
3070><A
3071NAME="XMLCOPYENUMERATION"
3072></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003073>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003074><TABLE
3075BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003076BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003077WIDTH="100%"
3078CELLPADDING="6"
3079><TR
3080><TD
3081><PRE
3082CLASS="PROGRAMLISTING"
3083><A
3084HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
3085>xmlEnumerationPtr</A
3086> xmlCopyEnumeration (<A
3087HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
3088>xmlEnumerationPtr</A
3089> cur);</PRE
3090></TD
3091></TR
3092></TABLE
3093><P
3094>Copy an enumeration attribute node (recursive).</P
3095><P
3096></P
3097><DIV
3098CLASS="INFORMALTABLE"
3099><P
3100></P
3101><TABLE
3102BORDER="0"
3103WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003104BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003105CELLSPACING="0"
3106CELLPADDING="4"
3107CLASS="CALSTABLE"
3108><TR
3109><TD
3110WIDTH="20%"
3111ALIGN="RIGHT"
3112VALIGN="TOP"
3113><TT
3114CLASS="PARAMETER"
3115><I
3116>cur</I
3117></TT
3118>&nbsp;:</TD
3119><TD
3120WIDTH="80%"
3121ALIGN="LEFT"
3122VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003123> the tree to copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003124></TR
3125><TR
3126><TD
3127WIDTH="20%"
3128ALIGN="RIGHT"
3129VALIGN="TOP"
3130><I
3131CLASS="EMPHASIS"
3132>Returns</I
3133> :</TD
3134><TD
3135WIDTH="80%"
3136ALIGN="LEFT"
3137VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003138>the xmlEnumerationPtr just created or NULL in case
3139of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003140></TR
3141></TABLE
3142><P
3143></P
3144></DIV
3145></DIV
3146><HR><DIV
3147CLASS="REFSECT2"
3148><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003149NAME="AEN8113"
Daniel Veillard35925471999-02-25 08:46:07 +00003150></A
3151><H3
3152><A
3153NAME="XMLADDATTRIBUTEDECL"
3154></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003155>xmlAddAttributeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003156><TABLE
3157BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003158BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003159WIDTH="100%"
3160CELLPADDING="6"
3161><TR
3162><TD
3163><PRE
3164CLASS="PROGRAMLISTING"
3165><A
3166HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
3167>xmlAttributePtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003168> xmlAddAttributeDecl (<A
3169HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
3170>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00003171> ctxt,
3172 <A
Daniel Veillard35925471999-02-25 08:46:07 +00003173HREF="gnome-xml-tree.html#XMLDTDPTR"
3174>xmlDtdPtr</A
3175> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003176 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003177HREF="gnome-xml-tree.html#XMLCHAR"
3178>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003179> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003180 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003181HREF="gnome-xml-tree.html#XMLCHAR"
3182>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003183> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003184 const <A
3185HREF="gnome-xml-tree.html#XMLCHAR"
3186>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +00003187> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003188 <A
3189HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
3190>xmlAttributeType</A
3191> type,
3192 <A
3193HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
3194>xmlAttributeDefault</A
3195> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003196 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003197HREF="gnome-xml-tree.html#XMLCHAR"
3198>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003199> *defaultValue,
3200 <A
3201HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
3202>xmlEnumerationPtr</A
3203> tree);</PRE
3204></TD
3205></TR
3206></TABLE
3207><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003208>Register a new attribute declaration
3209Note that <TT
3210CLASS="PARAMETER"
3211><I
3212>tree</I
3213></TT
3214> becomes the ownership of the DTD</P
Daniel Veillard35925471999-02-25 08:46:07 +00003215><P
3216></P
3217><DIV
3218CLASS="INFORMALTABLE"
3219><P
3220></P
3221><TABLE
3222BORDER="0"
3223WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003224BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003225CELLSPACING="0"
3226CELLPADDING="4"
3227CLASS="CALSTABLE"
3228><TR
3229><TD
3230WIDTH="20%"
3231ALIGN="RIGHT"
3232VALIGN="TOP"
3233><TT
3234CLASS="PARAMETER"
3235><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00003236>ctxt</I
3237></TT
3238>&nbsp;:</TD
3239><TD
3240WIDTH="80%"
3241ALIGN="LEFT"
3242VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003243> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003244></TR
3245><TR
3246><TD
3247WIDTH="20%"
3248ALIGN="RIGHT"
3249VALIGN="TOP"
3250><TT
3251CLASS="PARAMETER"
3252><I
Daniel Veillard35925471999-02-25 08:46:07 +00003253>dtd</I
3254></TT
3255>&nbsp;:</TD
3256><TD
3257WIDTH="80%"
3258ALIGN="LEFT"
3259VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003260> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003261></TR
3262><TR
3263><TD
3264WIDTH="20%"
3265ALIGN="RIGHT"
3266VALIGN="TOP"
3267><TT
3268CLASS="PARAMETER"
3269><I
3270>elem</I
3271></TT
3272>&nbsp;:</TD
3273><TD
3274WIDTH="80%"
3275ALIGN="LEFT"
3276VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003277> the element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003278></TR
3279><TR
3280><TD
3281WIDTH="20%"
3282ALIGN="RIGHT"
3283VALIGN="TOP"
3284><TT
3285CLASS="PARAMETER"
3286><I
3287>name</I
3288></TT
3289>&nbsp;:</TD
3290><TD
3291WIDTH="80%"
3292ALIGN="LEFT"
3293VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003294> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003295></TR
3296><TR
3297><TD
3298WIDTH="20%"
3299ALIGN="RIGHT"
3300VALIGN="TOP"
3301><TT
3302CLASS="PARAMETER"
3303><I
Daniel Veillard06047432000-04-24 11:33:38 +00003304>ns</I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003305></TT
3306>&nbsp;:</TD
3307><TD
3308WIDTH="80%"
3309ALIGN="LEFT"
3310VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003311> the attribute namespace prefix</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003312></TR
3313><TR
3314><TD
3315WIDTH="20%"
3316ALIGN="RIGHT"
3317VALIGN="TOP"
3318><TT
3319CLASS="PARAMETER"
3320><I
Daniel Veillard35925471999-02-25 08:46:07 +00003321>type</I
3322></TT
3323>&nbsp;:</TD
3324><TD
3325WIDTH="80%"
3326ALIGN="LEFT"
3327VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003328> the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003329></TR
3330><TR
3331><TD
3332WIDTH="20%"
3333ALIGN="RIGHT"
3334VALIGN="TOP"
3335><TT
3336CLASS="PARAMETER"
3337><I
3338>def</I
3339></TT
3340>&nbsp;:</TD
3341><TD
3342WIDTH="80%"
3343ALIGN="LEFT"
3344VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003345> the attribute default type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003346></TR
3347><TR
3348><TD
3349WIDTH="20%"
3350ALIGN="RIGHT"
3351VALIGN="TOP"
3352><TT
3353CLASS="PARAMETER"
3354><I
3355>defaultValue</I
3356></TT
3357>&nbsp;:</TD
3358><TD
3359WIDTH="80%"
3360ALIGN="LEFT"
3361VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003362> the attribute default value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003363></TR
3364><TR
3365><TD
3366WIDTH="20%"
3367ALIGN="RIGHT"
3368VALIGN="TOP"
3369><TT
3370CLASS="PARAMETER"
3371><I
3372>tree</I
3373></TT
3374>&nbsp;:</TD
3375><TD
3376WIDTH="80%"
3377ALIGN="LEFT"
3378VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003379> if it's an enumeration, the associated list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003380></TR
3381><TR
3382><TD
3383WIDTH="20%"
3384ALIGN="RIGHT"
3385VALIGN="TOP"
3386><I
3387CLASS="EMPHASIS"
3388>Returns</I
3389> :</TD
3390><TD
3391WIDTH="80%"
3392ALIGN="LEFT"
3393VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003394>NULL if not new, othervise the attribute decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003395></TR
3396></TABLE
3397><P
3398></P
3399></DIV
3400></DIV
3401><HR><DIV
3402CLASS="REFSECT2"
3403><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003404NAME="AEN8175"
Daniel Veillard35925471999-02-25 08:46:07 +00003405></A
3406><H3
3407><A
3408NAME="XMLCOPYATTRIBUTETABLE"
3409></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003410>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003411><TABLE
3412BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003413BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003414WIDTH="100%"
3415CELLPADDING="6"
3416><TR
3417><TD
3418><PRE
3419CLASS="PROGRAMLISTING"
3420><A
3421HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3422>xmlAttributeTablePtr</A
3423> xmlCopyAttributeTable (<A
3424HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3425>xmlAttributeTablePtr</A
3426> table);</PRE
3427></TD
3428></TR
3429></TABLE
3430><P
3431>Build a copy of an attribute table.</P
3432><P
3433></P
3434><DIV
3435CLASS="INFORMALTABLE"
3436><P
3437></P
3438><TABLE
3439BORDER="0"
3440WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003441BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003442CELLSPACING="0"
3443CELLPADDING="4"
3444CLASS="CALSTABLE"
3445><TR
3446><TD
3447WIDTH="20%"
3448ALIGN="RIGHT"
3449VALIGN="TOP"
3450><TT
3451CLASS="PARAMETER"
3452><I
3453>table</I
3454></TT
3455>&nbsp;:</TD
3456><TD
3457WIDTH="80%"
3458ALIGN="LEFT"
3459VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003460> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003461></TR
3462><TR
3463><TD
3464WIDTH="20%"
3465ALIGN="RIGHT"
3466VALIGN="TOP"
3467><I
3468CLASS="EMPHASIS"
3469>Returns</I
3470> :</TD
3471><TD
3472WIDTH="80%"
3473ALIGN="LEFT"
3474VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003475>the new xmlAttributeTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003476></TR
3477></TABLE
3478><P
3479></P
3480></DIV
3481></DIV
3482><HR><DIV
3483CLASS="REFSECT2"
3484><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003485NAME="AEN8196"
Daniel Veillard35925471999-02-25 08:46:07 +00003486></A
3487><H3
3488><A
3489NAME="XMLFREEATTRIBUTETABLE"
3490></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003491>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003492><TABLE
3493BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003494BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003495WIDTH="100%"
3496CELLPADDING="6"
3497><TR
3498><TD
3499><PRE
3500CLASS="PROGRAMLISTING"
3501>void xmlFreeAttributeTable (<A
3502HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3503>xmlAttributeTablePtr</A
3504> table);</PRE
3505></TD
3506></TR
3507></TABLE
3508><P
3509>Deallocate the memory used by an entities hash table.</P
3510><P
3511></P
3512><DIV
3513CLASS="INFORMALTABLE"
3514><P
3515></P
3516><TABLE
3517BORDER="0"
3518WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003519BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003520CELLSPACING="0"
3521CELLPADDING="4"
3522CLASS="CALSTABLE"
3523><TR
3524><TD
3525WIDTH="20%"
3526ALIGN="RIGHT"
3527VALIGN="TOP"
3528><TT
3529CLASS="PARAMETER"
3530><I
3531>table</I
3532></TT
3533>&nbsp;:</TD
3534><TD
3535WIDTH="80%"
3536ALIGN="LEFT"
3537VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003538> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003539></TR
3540></TABLE
3541><P
3542></P
3543></DIV
3544></DIV
3545><HR><DIV
3546CLASS="REFSECT2"
3547><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003548NAME="AEN8212"
Daniel Veillard35925471999-02-25 08:46:07 +00003549></A
3550><H3
3551><A
3552NAME="XMLDUMPATTRIBUTETABLE"
3553></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003554>xmlDumpAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003555><TABLE
3556BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003557BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003558WIDTH="100%"
3559CELLPADDING="6"
3560><TR
3561><TD
3562><PRE
3563CLASS="PROGRAMLISTING"
3564>void xmlDumpAttributeTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003565HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3566>xmlBufferPtr</A
3567> buf,
3568 <A
Daniel Veillard35925471999-02-25 08:46:07 +00003569HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3570>xmlAttributeTablePtr</A
3571> table);</PRE
3572></TD
3573></TR
3574></TABLE
3575><P
3576>This will dump the content of the attribute table as an XML DTD definition</P
3577><P
Daniel Veillard35925471999-02-25 08:46:07 +00003578></P
3579><DIV
3580CLASS="INFORMALTABLE"
3581><P
3582></P
3583><TABLE
3584BORDER="0"
3585WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003586BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003587CELLSPACING="0"
3588CELLPADDING="4"
3589CLASS="CALSTABLE"
3590><TR
3591><TD
3592WIDTH="20%"
3593ALIGN="RIGHT"
3594VALIGN="TOP"
3595><TT
3596CLASS="PARAMETER"
3597><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003598>buf</I
3599></TT
3600>&nbsp;:</TD
3601><TD
3602WIDTH="80%"
3603ALIGN="LEFT"
3604VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003605> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003606></TR
3607><TR
3608><TD
3609WIDTH="20%"
3610ALIGN="RIGHT"
3611VALIGN="TOP"
3612><TT
3613CLASS="PARAMETER"
3614><I
Daniel Veillard35925471999-02-25 08:46:07 +00003615>table</I
3616></TT
3617>&nbsp;:</TD
3618><TD
3619WIDTH="80%"
3620ALIGN="LEFT"
3621VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003622> An attribute table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003623></TR
3624></TABLE
3625><P
3626></P
3627></DIV
3628></DIV
3629><HR><DIV
3630CLASS="REFSECT2"
3631><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003632NAME="AEN8233"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003633></A
3634><H3
3635><A
3636NAME="XMLDUMPATTRIBUTEDECL"
3637></A
3638>xmlDumpAttributeDecl ()</H3
3639><TABLE
3640BORDER="0"
3641BGCOLOR="#D6E8FF"
3642WIDTH="100%"
3643CELLPADDING="6"
3644><TR
3645><TD
3646><PRE
3647CLASS="PROGRAMLISTING"
3648>void xmlDumpAttributeDecl (<A
3649HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3650>xmlBufferPtr</A
3651> buf,
3652 <A
3653HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
3654>xmlAttributePtr</A
3655> attr);</PRE
3656></TD
3657></TR
3658></TABLE
3659><P
3660>This will dump the content of the attribute declaration as an XML
3661DTD definition</P
3662><P
3663></P
3664><DIV
3665CLASS="INFORMALTABLE"
3666><P
3667></P
3668><TABLE
3669BORDER="0"
3670WIDTH="100%"
3671BGCOLOR="#FFD0D0"
3672CELLSPACING="0"
3673CELLPADDING="4"
3674CLASS="CALSTABLE"
3675><TR
3676><TD
3677WIDTH="20%"
3678ALIGN="RIGHT"
3679VALIGN="TOP"
3680><TT
3681CLASS="PARAMETER"
3682><I
3683>buf</I
3684></TT
3685>&nbsp;:</TD
3686><TD
3687WIDTH="80%"
3688ALIGN="LEFT"
3689VALIGN="TOP"
3690> the XML buffer output</TD
3691></TR
3692><TR
3693><TD
3694WIDTH="20%"
3695ALIGN="RIGHT"
3696VALIGN="TOP"
3697><TT
3698CLASS="PARAMETER"
3699><I
3700>attr</I
3701></TT
3702>&nbsp;:</TD
3703><TD
3704WIDTH="80%"
3705ALIGN="LEFT"
3706VALIGN="TOP"
3707> An attribute declaration</TD
3708></TR
3709></TABLE
3710><P
3711></P
3712></DIV
3713></DIV
3714><HR><DIV
3715CLASS="REFSECT2"
3716><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003717NAME="AEN8254"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003718></A
3719><H3
3720><A
3721NAME="XMLADDID"
3722></A
3723>xmlAddID ()</H3
3724><TABLE
3725BORDER="0"
3726BGCOLOR="#D6E8FF"
3727WIDTH="100%"
3728CELLPADDING="6"
3729><TR
3730><TD
3731><PRE
3732CLASS="PROGRAMLISTING"
3733><A
3734HREF="gnome-xml-tree.html#XMLIDPTR"
3735>xmlIDPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003736> xmlAddID (<A
3737HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
3738>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003739> ctxt,
3740 <A
3741HREF="gnome-xml-tree.html#XMLDOCPTR"
3742>xmlDocPtr</A
3743> doc,
3744 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003745HREF="gnome-xml-tree.html#XMLCHAR"
3746>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003747> *value,
3748 <A
3749HREF="gnome-xml-tree.html#XMLATTRPTR"
3750>xmlAttrPtr</A
3751> attr);</PRE
3752></TD
3753></TR
3754></TABLE
3755><P
3756>Register a new id declaration</P
3757><P
3758></P
3759><DIV
3760CLASS="INFORMALTABLE"
3761><P
3762></P
3763><TABLE
3764BORDER="0"
3765WIDTH="100%"
3766BGCOLOR="#FFD0D0"
3767CELLSPACING="0"
3768CELLPADDING="4"
3769CLASS="CALSTABLE"
3770><TR
3771><TD
3772WIDTH="20%"
3773ALIGN="RIGHT"
3774VALIGN="TOP"
3775><TT
3776CLASS="PARAMETER"
3777><I
3778>ctxt</I
3779></TT
3780>&nbsp;:</TD
3781><TD
3782WIDTH="80%"
3783ALIGN="LEFT"
3784VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003785> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003786></TR
3787><TR
3788><TD
3789WIDTH="20%"
3790ALIGN="RIGHT"
3791VALIGN="TOP"
3792><TT
3793CLASS="PARAMETER"
3794><I
3795>doc</I
3796></TT
3797>&nbsp;:</TD
3798><TD
3799WIDTH="80%"
3800ALIGN="LEFT"
3801VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003802> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003803></TR
3804><TR
3805><TD
3806WIDTH="20%"
3807ALIGN="RIGHT"
3808VALIGN="TOP"
3809><TT
3810CLASS="PARAMETER"
3811><I
3812>value</I
3813></TT
3814>&nbsp;:</TD
3815><TD
3816WIDTH="80%"
3817ALIGN="LEFT"
3818VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003819> the value name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003820></TR
3821><TR
3822><TD
3823WIDTH="20%"
3824ALIGN="RIGHT"
3825VALIGN="TOP"
3826><TT
3827CLASS="PARAMETER"
3828><I
3829>attr</I
3830></TT
3831>&nbsp;:</TD
3832><TD
3833WIDTH="80%"
3834ALIGN="LEFT"
3835VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003836> the attribute holding the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003837></TR
3838><TR
3839><TD
3840WIDTH="20%"
3841ALIGN="RIGHT"
3842VALIGN="TOP"
3843><I
3844CLASS="EMPHASIS"
3845>Returns</I
3846> :</TD
3847><TD
3848WIDTH="80%"
3849ALIGN="LEFT"
3850VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003851>NULL if not, othervise the new xmlIDPtr</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003852></TR
3853></TABLE
3854><P
3855></P
3856></DIV
3857></DIV
3858><HR><DIV
3859CLASS="REFSECT2"
3860><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003861NAME="AEN8290"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003862></A
3863><H3
3864><A
3865NAME="XMLCOPYIDTABLE"
3866></A
3867>xmlCopyIDTable ()</H3
3868><TABLE
3869BORDER="0"
3870BGCOLOR="#D6E8FF"
3871WIDTH="100%"
3872CELLPADDING="6"
3873><TR
3874><TD
3875><PRE
3876CLASS="PROGRAMLISTING"
3877><A
3878HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3879>xmlIDTablePtr</A
3880> xmlCopyIDTable (<A
3881HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3882>xmlIDTablePtr</A
3883> table);</PRE
3884></TD
3885></TR
3886></TABLE
3887><P
3888></P
3889><DIV
3890CLASS="INFORMALTABLE"
3891><P
3892></P
3893><TABLE
3894BORDER="0"
3895WIDTH="100%"
3896BGCOLOR="#FFD0D0"
3897CELLSPACING="0"
3898CELLPADDING="4"
3899CLASS="CALSTABLE"
3900><TR
3901><TD
3902WIDTH="20%"
3903ALIGN="RIGHT"
3904VALIGN="TOP"
3905><TT
3906CLASS="PARAMETER"
3907><I
3908>table</I
3909></TT
3910>&nbsp;:</TD
3911><TD
3912WIDTH="80%"
3913ALIGN="LEFT"
3914VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003915>&nbsp;</TD
3916></TR
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003917><TR
3918><TD
3919WIDTH="20%"
3920ALIGN="RIGHT"
3921VALIGN="TOP"
3922><I
3923CLASS="EMPHASIS"
3924>Returns</I
3925> :</TD
3926><TD
3927WIDTH="80%"
3928ALIGN="LEFT"
3929VALIGN="TOP"
3930>&nbsp;</TD
3931></TR
Daniel Veillardb05deb71999-08-10 19:04:08 +00003932></TABLE
3933><P
3934></P
3935></DIV
3936></DIV
3937><HR><DIV
3938CLASS="REFSECT2"
3939><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003940NAME="AEN8310"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003941></A
3942><H3
3943><A
3944NAME="XMLFREEIDTABLE"
3945></A
3946>xmlFreeIDTable ()</H3
3947><TABLE
3948BORDER="0"
3949BGCOLOR="#D6E8FF"
3950WIDTH="100%"
3951CELLPADDING="6"
3952><TR
3953><TD
3954><PRE
3955CLASS="PROGRAMLISTING"
3956>void xmlFreeIDTable (<A
3957HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3958>xmlIDTablePtr</A
3959> table);</PRE
3960></TD
3961></TR
3962></TABLE
3963><P
3964>Deallocate the memory used by an ID hash table.</P
3965><P
3966></P
3967><DIV
3968CLASS="INFORMALTABLE"
3969><P
3970></P
3971><TABLE
3972BORDER="0"
3973WIDTH="100%"
3974BGCOLOR="#FFD0D0"
3975CELLSPACING="0"
3976CELLPADDING="4"
3977CLASS="CALSTABLE"
3978><TR
3979><TD
3980WIDTH="20%"
3981ALIGN="RIGHT"
3982VALIGN="TOP"
3983><TT
3984CLASS="PARAMETER"
3985><I
3986>table</I
3987></TT
3988>&nbsp;:</TD
3989><TD
3990WIDTH="80%"
3991ALIGN="LEFT"
3992VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003993> An id table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003994></TR
3995></TABLE
3996><P
3997></P
3998></DIV
3999></DIV
4000><HR><DIV
4001CLASS="REFSECT2"
4002><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004003NAME="AEN8326"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004004></A
4005><H3
4006><A
4007NAME="XMLGETID"
4008></A
4009>xmlGetID ()</H3
4010><TABLE
4011BORDER="0"
4012BGCOLOR="#D6E8FF"
4013WIDTH="100%"
4014CELLPADDING="6"
4015><TR
4016><TD
4017><PRE
4018CLASS="PROGRAMLISTING"
4019><A
4020HREF="gnome-xml-tree.html#XMLATTRPTR"
4021>xmlAttrPtr</A
4022> xmlGetID (<A
4023HREF="gnome-xml-tree.html#XMLDOCPTR"
4024>xmlDocPtr</A
4025> doc,
4026 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004027HREF="gnome-xml-tree.html#XMLCHAR"
4028>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004029> *ID);</PRE
4030></TD
4031></TR
4032></TABLE
4033><P
4034>Search the attribute declaring the given ID</P
4035><P
4036></P
4037><DIV
4038CLASS="INFORMALTABLE"
4039><P
4040></P
4041><TABLE
4042BORDER="0"
4043WIDTH="100%"
4044BGCOLOR="#FFD0D0"
4045CELLSPACING="0"
4046CELLPADDING="4"
4047CLASS="CALSTABLE"
4048><TR
4049><TD
4050WIDTH="20%"
4051ALIGN="RIGHT"
4052VALIGN="TOP"
4053><TT
4054CLASS="PARAMETER"
4055><I
4056>doc</I
4057></TT
4058>&nbsp;:</TD
4059><TD
4060WIDTH="80%"
4061ALIGN="LEFT"
4062VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004063> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004064></TR
4065><TR
4066><TD
4067WIDTH="20%"
4068ALIGN="RIGHT"
4069VALIGN="TOP"
4070><TT
4071CLASS="PARAMETER"
4072><I
4073>ID</I
4074></TT
4075>&nbsp;:</TD
4076><TD
4077WIDTH="80%"
4078ALIGN="LEFT"
4079VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004080> the ID value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004081></TR
4082><TR
4083><TD
4084WIDTH="20%"
4085ALIGN="RIGHT"
4086VALIGN="TOP"
4087><I
4088CLASS="EMPHASIS"
4089>Returns</I
4090> :</TD
4091><TD
4092WIDTH="80%"
4093ALIGN="LEFT"
4094VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004095>NULL if not found, otherwise the xmlAttrPtr defining the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004096></TR
4097></TABLE
4098><P
4099></P
4100></DIV
4101></DIV
4102><HR><DIV
4103CLASS="REFSECT2"
4104><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004105NAME="AEN8352"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004106></A
4107><H3
4108><A
4109NAME="XMLISID"
4110></A
4111>xmlIsID ()</H3
4112><TABLE
4113BORDER="0"
4114BGCOLOR="#D6E8FF"
4115WIDTH="100%"
4116CELLPADDING="6"
4117><TR
4118><TD
4119><PRE
4120CLASS="PROGRAMLISTING"
4121>int xmlIsID (<A
4122HREF="gnome-xml-tree.html#XMLDOCPTR"
4123>xmlDocPtr</A
4124> doc,
4125 <A
4126HREF="gnome-xml-tree.html#XMLNODEPTR"
4127>xmlNodePtr</A
4128> elem,
4129 <A
4130HREF="gnome-xml-tree.html#XMLATTRPTR"
4131>xmlAttrPtr</A
4132> attr);</PRE
4133></TD
4134></TR
4135></TABLE
4136><P
4137>Determine whether an attribute is of type ID. In case we have Dtd(s)
4138then this is simple, otherwise we use an heuristic: name ID (upper
4139or lowercase).</P
4140><P
4141></P
4142><DIV
4143CLASS="INFORMALTABLE"
4144><P
4145></P
4146><TABLE
4147BORDER="0"
4148WIDTH="100%"
4149BGCOLOR="#FFD0D0"
4150CELLSPACING="0"
4151CELLPADDING="4"
4152CLASS="CALSTABLE"
4153><TR
4154><TD
4155WIDTH="20%"
4156ALIGN="RIGHT"
4157VALIGN="TOP"
4158><TT
4159CLASS="PARAMETER"
4160><I
4161>doc</I
4162></TT
4163>&nbsp;:</TD
4164><TD
4165WIDTH="80%"
4166ALIGN="LEFT"
4167VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004168> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004169></TR
4170><TR
4171><TD
4172WIDTH="20%"
4173ALIGN="RIGHT"
4174VALIGN="TOP"
4175><TT
4176CLASS="PARAMETER"
4177><I
4178>elem</I
4179></TT
4180>&nbsp;:</TD
4181><TD
4182WIDTH="80%"
4183ALIGN="LEFT"
4184VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004185> the element carrying the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004186></TR
4187><TR
4188><TD
4189WIDTH="20%"
4190ALIGN="RIGHT"
4191VALIGN="TOP"
4192><TT
4193CLASS="PARAMETER"
4194><I
4195>attr</I
4196></TT
4197>&nbsp;:</TD
4198><TD
4199WIDTH="80%"
4200ALIGN="LEFT"
4201VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004202> the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004203></TR
4204><TR
4205><TD
4206WIDTH="20%"
4207ALIGN="RIGHT"
4208VALIGN="TOP"
4209><I
4210CLASS="EMPHASIS"
4211>Returns</I
4212> :</TD
4213><TD
4214WIDTH="80%"
4215ALIGN="LEFT"
4216VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004217>0 or 1 depending on the lookup result</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004218></TR
4219></TABLE
4220><P
4221></P
4222></DIV
4223></DIV
4224><HR><DIV
4225CLASS="REFSECT2"
4226><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004227NAME="AEN8382"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004228></A
4229><H3
4230><A
4231NAME="XMLREMOVEID"
4232></A
4233>xmlRemoveID ()</H3
4234><TABLE
4235BORDER="0"
4236BGCOLOR="#D6E8FF"
4237WIDTH="100%"
4238CELLPADDING="6"
4239><TR
4240><TD
4241><PRE
4242CLASS="PROGRAMLISTING"
4243>int xmlRemoveID (<A
4244HREF="gnome-xml-tree.html#XMLDOCPTR"
4245>xmlDocPtr</A
4246> doc,
4247 <A
4248HREF="gnome-xml-tree.html#XMLATTRPTR"
4249>xmlAttrPtr</A
4250> attr);</PRE
4251></TD
4252></TR
4253></TABLE
4254><P
4255>Remove the given attribute from the ID table maintained internally.</P
4256><P
4257></P
4258><DIV
4259CLASS="INFORMALTABLE"
4260><P
4261></P
4262><TABLE
4263BORDER="0"
4264WIDTH="100%"
4265BGCOLOR="#FFD0D0"
4266CELLSPACING="0"
4267CELLPADDING="4"
4268CLASS="CALSTABLE"
4269><TR
4270><TD
4271WIDTH="20%"
4272ALIGN="RIGHT"
4273VALIGN="TOP"
4274><TT
4275CLASS="PARAMETER"
4276><I
4277>doc</I
4278></TT
4279>&nbsp;:</TD
4280><TD
4281WIDTH="80%"
4282ALIGN="LEFT"
4283VALIGN="TOP"
4284> the document</TD
4285></TR
4286><TR
4287><TD
4288WIDTH="20%"
4289ALIGN="RIGHT"
4290VALIGN="TOP"
4291><TT
4292CLASS="PARAMETER"
4293><I
4294>attr</I
4295></TT
4296>&nbsp;:</TD
4297><TD
4298WIDTH="80%"
4299ALIGN="LEFT"
4300VALIGN="TOP"
4301> the attribute</TD
4302></TR
4303><TR
4304><TD
4305WIDTH="20%"
4306ALIGN="RIGHT"
4307VALIGN="TOP"
4308><I
4309CLASS="EMPHASIS"
4310>Returns</I
4311> :</TD
4312><TD
4313WIDTH="80%"
4314ALIGN="LEFT"
4315VALIGN="TOP"
4316>-1 if the lookup failed and 0 otherwise</TD
4317></TR
4318></TABLE
4319><P
4320></P
4321></DIV
4322></DIV
4323><HR><DIV
4324CLASS="REFSECT2"
4325><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004326NAME="AEN8407"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004327></A
4328><H3
4329><A
4330NAME="XMLADDREF"
4331></A
4332>xmlAddRef ()</H3
4333><TABLE
4334BORDER="0"
4335BGCOLOR="#D6E8FF"
4336WIDTH="100%"
4337CELLPADDING="6"
4338><TR
4339><TD
4340><PRE
4341CLASS="PROGRAMLISTING"
4342><A
4343HREF="gnome-xml-tree.html#XMLREFPTR"
4344>xmlRefPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004345> xmlAddRef (<A
4346HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4347>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004348> ctxt,
4349 <A
4350HREF="gnome-xml-tree.html#XMLDOCPTR"
4351>xmlDocPtr</A
4352> doc,
4353 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004354HREF="gnome-xml-tree.html#XMLCHAR"
4355>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004356> *value,
4357 <A
4358HREF="gnome-xml-tree.html#XMLATTRPTR"
4359>xmlAttrPtr</A
4360> attr);</PRE
4361></TD
4362></TR
4363></TABLE
4364><P
4365>Register a new ref declaration</P
4366><P
4367></P
4368><DIV
4369CLASS="INFORMALTABLE"
4370><P
4371></P
4372><TABLE
4373BORDER="0"
4374WIDTH="100%"
4375BGCOLOR="#FFD0D0"
4376CELLSPACING="0"
4377CELLPADDING="4"
4378CLASS="CALSTABLE"
4379><TR
4380><TD
4381WIDTH="20%"
4382ALIGN="RIGHT"
4383VALIGN="TOP"
4384><TT
4385CLASS="PARAMETER"
4386><I
4387>ctxt</I
4388></TT
4389>&nbsp;:</TD
4390><TD
4391WIDTH="80%"
4392ALIGN="LEFT"
4393VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004394> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004395></TR
4396><TR
4397><TD
4398WIDTH="20%"
4399ALIGN="RIGHT"
4400VALIGN="TOP"
4401><TT
4402CLASS="PARAMETER"
4403><I
4404>doc</I
4405></TT
4406>&nbsp;:</TD
4407><TD
4408WIDTH="80%"
4409ALIGN="LEFT"
4410VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004411> pointer to the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004412></TR
4413><TR
4414><TD
4415WIDTH="20%"
4416ALIGN="RIGHT"
4417VALIGN="TOP"
4418><TT
4419CLASS="PARAMETER"
4420><I
4421>value</I
4422></TT
4423>&nbsp;:</TD
4424><TD
4425WIDTH="80%"
4426ALIGN="LEFT"
4427VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004428> the value name</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004429></TR
4430><TR
4431><TD
4432WIDTH="20%"
4433ALIGN="RIGHT"
4434VALIGN="TOP"
4435><TT
4436CLASS="PARAMETER"
4437><I
4438>attr</I
4439></TT
4440>&nbsp;:</TD
4441><TD
4442WIDTH="80%"
4443ALIGN="LEFT"
4444VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004445> the attribute holding the Ref</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004446></TR
4447><TR
4448><TD
4449WIDTH="20%"
4450ALIGN="RIGHT"
4451VALIGN="TOP"
4452><I
4453CLASS="EMPHASIS"
4454>Returns</I
4455> :</TD
4456><TD
4457WIDTH="80%"
4458ALIGN="LEFT"
4459VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004460>NULL if not, othervise the new xmlRefPtr</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004461></TR
4462></TABLE
4463><P
4464></P
4465></DIV
4466></DIV
4467><HR><DIV
4468CLASS="REFSECT2"
4469><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004470NAME="AEN8443"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004471></A
4472><H3
4473><A
4474NAME="XMLCOPYREFTABLE"
4475></A
4476>xmlCopyRefTable ()</H3
4477><TABLE
4478BORDER="0"
4479BGCOLOR="#D6E8FF"
4480WIDTH="100%"
4481CELLPADDING="6"
4482><TR
4483><TD
4484><PRE
4485CLASS="PROGRAMLISTING"
4486><A
4487HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
4488>xmlRefTablePtr</A
4489> xmlCopyRefTable (<A
4490HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
4491>xmlRefTablePtr</A
4492> table);</PRE
4493></TD
4494></TR
4495></TABLE
4496><P
4497></P
4498><DIV
4499CLASS="INFORMALTABLE"
4500><P
4501></P
4502><TABLE
4503BORDER="0"
4504WIDTH="100%"
4505BGCOLOR="#FFD0D0"
4506CELLSPACING="0"
4507CELLPADDING="4"
4508CLASS="CALSTABLE"
4509><TR
4510><TD
4511WIDTH="20%"
4512ALIGN="RIGHT"
4513VALIGN="TOP"
4514><TT
4515CLASS="PARAMETER"
4516><I
4517>table</I
4518></TT
4519>&nbsp;:</TD
4520><TD
4521WIDTH="80%"
4522ALIGN="LEFT"
4523VALIGN="TOP"
4524>&nbsp;</TD
4525></TR
4526><TR
4527><TD
4528WIDTH="20%"
4529ALIGN="RIGHT"
4530VALIGN="TOP"
4531><I
4532CLASS="EMPHASIS"
4533>Returns</I
4534> :</TD
4535><TD
4536WIDTH="80%"
4537ALIGN="LEFT"
4538VALIGN="TOP"
4539>&nbsp;</TD
4540></TR
4541></TABLE
4542><P
4543></P
4544></DIV
4545></DIV
4546><HR><DIV
4547CLASS="REFSECT2"
4548><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004549NAME="AEN8463"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004550></A
4551><H3
4552><A
4553NAME="XMLFREEREFTABLE"
4554></A
4555>xmlFreeRefTable ()</H3
4556><TABLE
4557BORDER="0"
4558BGCOLOR="#D6E8FF"
4559WIDTH="100%"
4560CELLPADDING="6"
4561><TR
4562><TD
4563><PRE
4564CLASS="PROGRAMLISTING"
4565>void xmlFreeRefTable (<A
4566HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
4567>xmlRefTablePtr</A
4568> table);</PRE
4569></TD
4570></TR
4571></TABLE
4572><P
4573>Deallocate the memory used by an Ref hash table.</P
4574><P
4575></P
4576><DIV
4577CLASS="INFORMALTABLE"
4578><P
4579></P
4580><TABLE
4581BORDER="0"
4582WIDTH="100%"
4583BGCOLOR="#FFD0D0"
4584CELLSPACING="0"
4585CELLPADDING="4"
4586CLASS="CALSTABLE"
4587><TR
4588><TD
4589WIDTH="20%"
4590ALIGN="RIGHT"
4591VALIGN="TOP"
4592><TT
4593CLASS="PARAMETER"
4594><I
4595>table</I
4596></TT
4597>&nbsp;:</TD
4598><TD
4599WIDTH="80%"
4600ALIGN="LEFT"
4601VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004602> An ref table</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004603></TR
4604></TABLE
4605><P
4606></P
4607></DIV
4608></DIV
4609><HR><DIV
4610CLASS="REFSECT2"
4611><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004612NAME="AEN8479"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004613></A
4614><H3
4615><A
4616NAME="XMLISREF"
4617></A
4618>xmlIsRef ()</H3
4619><TABLE
4620BORDER="0"
4621BGCOLOR="#D6E8FF"
4622WIDTH="100%"
4623CELLPADDING="6"
4624><TR
4625><TD
4626><PRE
4627CLASS="PROGRAMLISTING"
4628>int xmlIsRef (<A
4629HREF="gnome-xml-tree.html#XMLDOCPTR"
4630>xmlDocPtr</A
4631> doc,
4632 <A
4633HREF="gnome-xml-tree.html#XMLNODEPTR"
4634>xmlNodePtr</A
4635> elem,
4636 <A
4637HREF="gnome-xml-tree.html#XMLATTRPTR"
4638>xmlAttrPtr</A
4639> attr);</PRE
4640></TD
4641></TR
4642></TABLE
4643><P
4644>Determine whether an attribute is of type Ref. In case we have Dtd(s)
4645then this is simple, otherwise we use an heuristic: name Ref (upper
4646or lowercase).</P
4647><P
4648></P
4649><DIV
4650CLASS="INFORMALTABLE"
4651><P
4652></P
4653><TABLE
4654BORDER="0"
4655WIDTH="100%"
4656BGCOLOR="#FFD0D0"
4657CELLSPACING="0"
4658CELLPADDING="4"
4659CLASS="CALSTABLE"
4660><TR
4661><TD
4662WIDTH="20%"
4663ALIGN="RIGHT"
4664VALIGN="TOP"
4665><TT
4666CLASS="PARAMETER"
4667><I
4668>doc</I
4669></TT
4670>&nbsp;:</TD
4671><TD
4672WIDTH="80%"
4673ALIGN="LEFT"
4674VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004675> the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004676></TR
4677><TR
4678><TD
4679WIDTH="20%"
4680ALIGN="RIGHT"
4681VALIGN="TOP"
4682><TT
4683CLASS="PARAMETER"
4684><I
4685>elem</I
4686></TT
4687>&nbsp;:</TD
4688><TD
4689WIDTH="80%"
4690ALIGN="LEFT"
4691VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004692> the element carrying the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004693></TR
4694><TR
4695><TD
4696WIDTH="20%"
4697ALIGN="RIGHT"
4698VALIGN="TOP"
4699><TT
4700CLASS="PARAMETER"
4701><I
4702>attr</I
4703></TT
4704>&nbsp;:</TD
4705><TD
4706WIDTH="80%"
4707ALIGN="LEFT"
4708VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004709> the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004710></TR
4711><TR
4712><TD
4713WIDTH="20%"
4714ALIGN="RIGHT"
4715VALIGN="TOP"
4716><I
4717CLASS="EMPHASIS"
4718>Returns</I
4719> :</TD
4720><TD
4721WIDTH="80%"
4722ALIGN="LEFT"
4723VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004724>0 or 1 depending on the lookup result</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004725></TR
4726></TABLE
4727><P
4728></P
4729></DIV
4730></DIV
4731><HR><DIV
4732CLASS="REFSECT2"
4733><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004734NAME="AEN8509"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004735></A
4736><H3
4737><A
4738NAME="XMLREMOVEREF"
4739></A
4740>xmlRemoveRef ()</H3
4741><TABLE
4742BORDER="0"
4743BGCOLOR="#D6E8FF"
4744WIDTH="100%"
4745CELLPADDING="6"
4746><TR
4747><TD
4748><PRE
4749CLASS="PROGRAMLISTING"
4750>int xmlRemoveRef (<A
4751HREF="gnome-xml-tree.html#XMLDOCPTR"
4752>xmlDocPtr</A
4753> doc,
4754 <A
4755HREF="gnome-xml-tree.html#XMLATTRPTR"
4756>xmlAttrPtr</A
4757> attr);</PRE
4758></TD
4759></TR
4760></TABLE
4761><P
4762>Remove the given attribute from the Ref table maintained internally.</P
4763><P
4764></P
4765><DIV
4766CLASS="INFORMALTABLE"
4767><P
4768></P
4769><TABLE
4770BORDER="0"
4771WIDTH="100%"
4772BGCOLOR="#FFD0D0"
4773CELLSPACING="0"
4774CELLPADDING="4"
4775CLASS="CALSTABLE"
4776><TR
4777><TD
4778WIDTH="20%"
4779ALIGN="RIGHT"
4780VALIGN="TOP"
4781><TT
4782CLASS="PARAMETER"
4783><I
4784>doc</I
4785></TT
4786>&nbsp;:</TD
4787><TD
4788WIDTH="80%"
4789ALIGN="LEFT"
4790VALIGN="TOP"
4791> the document</TD
4792></TR
4793><TR
4794><TD
4795WIDTH="20%"
4796ALIGN="RIGHT"
4797VALIGN="TOP"
4798><TT
4799CLASS="PARAMETER"
4800><I
4801>attr</I
4802></TT
4803>&nbsp;:</TD
4804><TD
4805WIDTH="80%"
4806ALIGN="LEFT"
4807VALIGN="TOP"
4808> the attribute</TD
4809></TR
4810><TR
4811><TD
4812WIDTH="20%"
4813ALIGN="RIGHT"
4814VALIGN="TOP"
4815><I
4816CLASS="EMPHASIS"
4817>Returns</I
4818> :</TD
4819><TD
4820WIDTH="80%"
4821ALIGN="LEFT"
4822VALIGN="TOP"
4823>-1 if the lookup failed and 0 otherwise</TD
4824></TR
4825></TABLE
4826><P
4827></P
4828></DIV
4829></DIV
4830><HR><DIV
4831CLASS="REFSECT2"
4832><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004833NAME="AEN8534"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004834></A
4835><H3
4836><A
4837NAME="XMLVALIDATEROOT"
4838></A
4839>xmlValidateRoot ()</H3
4840><TABLE
4841BORDER="0"
4842BGCOLOR="#D6E8FF"
4843WIDTH="100%"
4844CELLPADDING="6"
4845><TR
4846><TD
4847><PRE
4848CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004849>int xmlValidateRoot (<A
4850HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4851>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004852> ctxt,
4853 <A
4854HREF="gnome-xml-tree.html#XMLDOCPTR"
4855>xmlDocPtr</A
4856> doc);</PRE
4857></TD
4858></TR
4859></TABLE
4860><P
4861>Try to validate a the root element
4862basically it does the following check as described by the
4863XML-1.0 recommendation:
4864- [ VC: Root Element Type ]
4865it doesn't try to recurse or apply other check to the element</P
4866><P
4867></P
4868><DIV
4869CLASS="INFORMALTABLE"
4870><P
4871></P
4872><TABLE
4873BORDER="0"
4874WIDTH="100%"
4875BGCOLOR="#FFD0D0"
4876CELLSPACING="0"
4877CELLPADDING="4"
4878CLASS="CALSTABLE"
4879><TR
4880><TD
4881WIDTH="20%"
4882ALIGN="RIGHT"
4883VALIGN="TOP"
4884><TT
4885CLASS="PARAMETER"
4886><I
4887>ctxt</I
4888></TT
4889>&nbsp;:</TD
4890><TD
4891WIDTH="80%"
4892ALIGN="LEFT"
4893VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004894> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004895></TR
4896><TR
4897><TD
4898WIDTH="20%"
4899ALIGN="RIGHT"
4900VALIGN="TOP"
4901><TT
4902CLASS="PARAMETER"
4903><I
4904>doc</I
4905></TT
4906>&nbsp;:</TD
4907><TD
4908WIDTH="80%"
4909ALIGN="LEFT"
4910VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004911> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004912></TR
4913><TR
4914><TD
4915WIDTH="20%"
4916ALIGN="RIGHT"
4917VALIGN="TOP"
4918><I
4919CLASS="EMPHASIS"
4920>Returns</I
4921> :</TD
4922><TD
4923WIDTH="80%"
4924ALIGN="LEFT"
4925VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004926>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004927></TR
4928></TABLE
4929><P
4930></P
4931></DIV
4932></DIV
4933><HR><DIV
4934CLASS="REFSECT2"
4935><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004936NAME="AEN8559"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004937></A
4938><H3
4939><A
4940NAME="XMLVALIDATEELEMENTDECL"
4941></A
4942>xmlValidateElementDecl ()</H3
4943><TABLE
4944BORDER="0"
4945BGCOLOR="#D6E8FF"
4946WIDTH="100%"
4947CELLPADDING="6"
4948><TR
4949><TD
4950><PRE
4951CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004952>int xmlValidateElementDecl (<A
4953HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4954>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004955> ctxt,
4956 <A
4957HREF="gnome-xml-tree.html#XMLDOCPTR"
4958>xmlDocPtr</A
4959> doc,
4960 <A
4961HREF="gnome-xml-tree.html#XMLELEMENTPTR"
4962>xmlElementPtr</A
4963> elem);</PRE
4964></TD
4965></TR
4966></TABLE
4967><P
4968>Try to validate a single element definition
4969basically it does the following checks as described by the
4970XML-1.0 recommendation:
4971- [ VC: One ID per Element Type ]
4972- [ VC: No Duplicate Types ]
4973- [ VC: Unique Element Type Declaration ]</P
4974><P
4975></P
4976><DIV
4977CLASS="INFORMALTABLE"
4978><P
4979></P
4980><TABLE
4981BORDER="0"
4982WIDTH="100%"
4983BGCOLOR="#FFD0D0"
4984CELLSPACING="0"
4985CELLPADDING="4"
4986CLASS="CALSTABLE"
4987><TR
4988><TD
4989WIDTH="20%"
4990ALIGN="RIGHT"
4991VALIGN="TOP"
4992><TT
4993CLASS="PARAMETER"
4994><I
4995>ctxt</I
4996></TT
4997>&nbsp;:</TD
4998><TD
4999WIDTH="80%"
5000ALIGN="LEFT"
5001VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005002> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005003></TR
5004><TR
5005><TD
5006WIDTH="20%"
5007ALIGN="RIGHT"
5008VALIGN="TOP"
5009><TT
5010CLASS="PARAMETER"
5011><I
5012>doc</I
5013></TT
5014>&nbsp;:</TD
5015><TD
5016WIDTH="80%"
5017ALIGN="LEFT"
5018VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005019> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005020></TR
5021><TR
5022><TD
5023WIDTH="20%"
5024ALIGN="RIGHT"
5025VALIGN="TOP"
5026><TT
5027CLASS="PARAMETER"
5028><I
5029>elem</I
5030></TT
5031>&nbsp;:</TD
5032><TD
5033WIDTH="80%"
5034ALIGN="LEFT"
5035VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005036> an element definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005037></TR
5038><TR
5039><TD
5040WIDTH="20%"
5041ALIGN="RIGHT"
5042VALIGN="TOP"
5043><I
5044CLASS="EMPHASIS"
5045>Returns</I
5046> :</TD
5047><TD
5048WIDTH="80%"
5049ALIGN="LEFT"
5050VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005051>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005052></TR
5053></TABLE
5054><P
5055></P
5056></DIV
5057></DIV
5058><HR><DIV
5059CLASS="REFSECT2"
5060><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005061NAME="AEN8589"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005062></A
5063><H3
5064><A
5065NAME="XMLVALIDNORMALIZEATTRIBUTEVALUE"
5066></A
5067>xmlValidNormalizeAttributeValue ()</H3
5068><TABLE
5069BORDER="0"
5070BGCOLOR="#D6E8FF"
5071WIDTH="100%"
5072CELLPADDING="6"
5073><TR
5074><TD
5075><PRE
5076CLASS="PROGRAMLISTING"
5077><A
5078HREF="gnome-xml-tree.html#XMLCHAR"
5079>xmlChar</A
5080>* xmlValidNormalizeAttributeValue (<A
5081HREF="gnome-xml-tree.html#XMLDOCPTR"
5082>xmlDocPtr</A
5083> doc,
5084 <A
5085HREF="gnome-xml-tree.html#XMLNODEPTR"
5086>xmlNodePtr</A
5087> elem,
5088 const <A
5089HREF="gnome-xml-tree.html#XMLCHAR"
5090>xmlChar</A
5091> *name,
5092 const <A
5093HREF="gnome-xml-tree.html#XMLCHAR"
5094>xmlChar</A
5095> *value);</PRE
5096></TD
5097></TR
5098></TABLE
5099><P
5100>Does the validation related extra step of the normalization of attribute
5101values:</P
5102><P
5103>If the declared value is not CDATA, then the XML processor must further
5104process the normalized attribute value by discarding any leading and
5105trailing space (<GTKDOCLINK
5106HREF="X20"
5107>x20</GTKDOCLINK
5108>) characters, and by replacing sequences of space
5109(<GTKDOCLINK
5110HREF="X20"
5111>x20</GTKDOCLINK
5112>) characters by single space (<GTKDOCLINK
5113HREF="X20"
5114>x20</GTKDOCLINK
5115>) character.</P
5116><P
5117></P
5118><DIV
5119CLASS="INFORMALTABLE"
5120><P
5121></P
5122><TABLE
5123BORDER="0"
5124WIDTH="100%"
5125BGCOLOR="#FFD0D0"
5126CELLSPACING="0"
5127CELLPADDING="4"
5128CLASS="CALSTABLE"
5129><TR
5130><TD
5131WIDTH="20%"
5132ALIGN="RIGHT"
5133VALIGN="TOP"
5134><TT
5135CLASS="PARAMETER"
5136><I
5137>doc</I
5138></TT
5139>&nbsp;:</TD
5140><TD
5141WIDTH="80%"
5142ALIGN="LEFT"
5143VALIGN="TOP"
5144> the document</TD
5145></TR
5146><TR
5147><TD
5148WIDTH="20%"
5149ALIGN="RIGHT"
5150VALIGN="TOP"
5151><TT
5152CLASS="PARAMETER"
5153><I
5154>elem</I
5155></TT
5156>&nbsp;:</TD
5157><TD
5158WIDTH="80%"
5159ALIGN="LEFT"
5160VALIGN="TOP"
5161> the parent</TD
5162></TR
5163><TR
5164><TD
5165WIDTH="20%"
5166ALIGN="RIGHT"
5167VALIGN="TOP"
5168><TT
5169CLASS="PARAMETER"
5170><I
5171>name</I
5172></TT
5173>&nbsp;:</TD
5174><TD
5175WIDTH="80%"
5176ALIGN="LEFT"
5177VALIGN="TOP"
5178> the attribute name</TD
5179></TR
5180><TR
5181><TD
5182WIDTH="20%"
5183ALIGN="RIGHT"
5184VALIGN="TOP"
5185><TT
5186CLASS="PARAMETER"
5187><I
5188>value</I
5189></TT
5190>&nbsp;:</TD
5191><TD
5192WIDTH="80%"
5193ALIGN="LEFT"
5194VALIGN="TOP"
5195> the attribute value</TD
5196></TR
5197><TR
5198><TD
5199WIDTH="20%"
5200ALIGN="RIGHT"
5201VALIGN="TOP"
5202><I
5203CLASS="EMPHASIS"
5204>Returns</I
5205> :</TD
5206><TD
5207WIDTH="80%"
5208ALIGN="LEFT"
5209VALIGN="TOP"
5210>a new normalized string if normalization is needed, NULL otherwise
5211the caller must free the returned value.</TD
5212></TR
5213></TABLE
5214><P
5215></P
5216></DIV
5217></DIV
5218><HR><DIV
5219CLASS="REFSECT2"
5220><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005221NAME="AEN8629"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005222></A
5223><H3
5224><A
5225NAME="XMLVALIDATEATTRIBUTEDECL"
5226></A
5227>xmlValidateAttributeDecl ()</H3
5228><TABLE
5229BORDER="0"
5230BGCOLOR="#D6E8FF"
5231WIDTH="100%"
5232CELLPADDING="6"
5233><TR
5234><TD
5235><PRE
5236CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005237>int xmlValidateAttributeDecl (<A
5238HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5239>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005240> ctxt,
5241 <A
5242HREF="gnome-xml-tree.html#XMLDOCPTR"
5243>xmlDocPtr</A
5244> doc,
5245 <A
5246HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
5247>xmlAttributePtr</A
5248> attr);</PRE
5249></TD
5250></TR
5251></TABLE
5252><P
5253>Try to validate a single attribute definition
5254basically it does the following checks as described by the
5255XML-1.0 recommendation:
5256- [ VC: Attribute Default Legal ]
5257- [ VC: Enumeration ]
5258- [ VC: ID Attribute Default ]</P
5259><P
5260>The ID/IDREF uniqueness and matching are done separately</P
5261><P
5262></P
5263><DIV
5264CLASS="INFORMALTABLE"
5265><P
5266></P
5267><TABLE
5268BORDER="0"
5269WIDTH="100%"
5270BGCOLOR="#FFD0D0"
5271CELLSPACING="0"
5272CELLPADDING="4"
5273CLASS="CALSTABLE"
5274><TR
5275><TD
5276WIDTH="20%"
5277ALIGN="RIGHT"
5278VALIGN="TOP"
5279><TT
5280CLASS="PARAMETER"
5281><I
5282>ctxt</I
5283></TT
5284>&nbsp;:</TD
5285><TD
5286WIDTH="80%"
5287ALIGN="LEFT"
5288VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005289> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005290></TR
5291><TR
5292><TD
5293WIDTH="20%"
5294ALIGN="RIGHT"
5295VALIGN="TOP"
5296><TT
5297CLASS="PARAMETER"
5298><I
5299>doc</I
5300></TT
5301>&nbsp;:</TD
5302><TD
5303WIDTH="80%"
5304ALIGN="LEFT"
5305VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005306> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005307></TR
5308><TR
5309><TD
5310WIDTH="20%"
5311ALIGN="RIGHT"
5312VALIGN="TOP"
5313><TT
5314CLASS="PARAMETER"
5315><I
5316>attr</I
5317></TT
5318>&nbsp;:</TD
5319><TD
5320WIDTH="80%"
5321ALIGN="LEFT"
5322VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005323> an attribute definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005324></TR
5325><TR
5326><TD
5327WIDTH="20%"
5328ALIGN="RIGHT"
5329VALIGN="TOP"
5330><I
5331CLASS="EMPHASIS"
5332>Returns</I
5333> :</TD
5334><TD
5335WIDTH="80%"
5336ALIGN="LEFT"
5337VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005338>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005339></TR
5340></TABLE
5341><P
5342></P
5343></DIV
5344></DIV
5345><HR><DIV
5346CLASS="REFSECT2"
5347><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005348NAME="AEN8660"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005349></A
5350><H3
5351><A
5352NAME="XMLVALIDATEATTRIBUTEVALUE"
5353></A
5354>xmlValidateAttributeValue ()</H3
5355><TABLE
5356BORDER="0"
5357BGCOLOR="#D6E8FF"
5358WIDTH="100%"
5359CELLPADDING="6"
5360><TR
5361><TD
5362><PRE
5363CLASS="PROGRAMLISTING"
5364>int xmlValidateAttributeValue (<A
5365HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
5366>xmlAttributeType</A
5367> type,
5368 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005369HREF="gnome-xml-tree.html#XMLCHAR"
5370>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005371> *value);</PRE
5372></TD
5373></TR
5374></TABLE
5375><P
5376>Validate that the given attribute value match the proper production</P
5377><P
5378>[ VC: ID ]
5379Values of type ID must match the Name production....</P
5380><P
5381>[ VC: IDREF ]
5382Values of type IDREF must match the Name production, and values
5383of type IDREFS must match Names ...</P
5384><P
5385>[ VC: Entity Name ]
5386Values of type ENTITY must match the Name production, values
5387of type ENTITIES must match Names ...</P
5388><P
5389>[ VC: Name Token ]
5390Values of type NMTOKEN must match the Nmtoken production; values
5391of type NMTOKENS must match Nmtokens.</P
5392><P
5393></P
5394><DIV
5395CLASS="INFORMALTABLE"
5396><P
5397></P
5398><TABLE
5399BORDER="0"
5400WIDTH="100%"
5401BGCOLOR="#FFD0D0"
5402CELLSPACING="0"
5403CELLPADDING="4"
5404CLASS="CALSTABLE"
5405><TR
5406><TD
5407WIDTH="20%"
5408ALIGN="RIGHT"
5409VALIGN="TOP"
5410><TT
5411CLASS="PARAMETER"
5412><I
5413>type</I
5414></TT
5415>&nbsp;:</TD
5416><TD
5417WIDTH="80%"
5418ALIGN="LEFT"
5419VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005420> an attribute type</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005421></TR
5422><TR
5423><TD
5424WIDTH="20%"
5425ALIGN="RIGHT"
5426VALIGN="TOP"
5427><TT
5428CLASS="PARAMETER"
5429><I
5430>value</I
5431></TT
5432>&nbsp;:</TD
5433><TD
5434WIDTH="80%"
5435ALIGN="LEFT"
5436VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005437> an attribute value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005438></TR
5439><TR
5440><TD
5441WIDTH="20%"
5442ALIGN="RIGHT"
5443VALIGN="TOP"
5444><I
5445CLASS="EMPHASIS"
5446>Returns</I
5447> :</TD
5448><TD
5449WIDTH="80%"
5450ALIGN="LEFT"
5451VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005452>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005453></TR
5454></TABLE
5455><P
5456></P
5457></DIV
5458></DIV
5459><HR><DIV
5460CLASS="REFSECT2"
5461><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005462NAME="AEN8689"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005463></A
5464><H3
5465><A
5466NAME="XMLVALIDATENOTATIONDECL"
5467></A
5468>xmlValidateNotationDecl ()</H3
5469><TABLE
5470BORDER="0"
5471BGCOLOR="#D6E8FF"
5472WIDTH="100%"
5473CELLPADDING="6"
5474><TR
5475><TD
5476><PRE
5477CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005478>int xmlValidateNotationDecl (<A
5479HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5480>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005481> ctxt,
5482 <A
5483HREF="gnome-xml-tree.html#XMLDOCPTR"
5484>xmlDocPtr</A
5485> doc,
5486 <A
5487HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
5488>xmlNotationPtr</A
5489> nota);</PRE
5490></TD
5491></TR
5492></TABLE
5493><P
5494>Try to validate a single notation definition
5495basically it does the following checks as described by the
5496XML-1.0 recommendation:
5497- it seems that no validity constraing exist on notation declarations
5498But this function get called anyway ...</P
5499><P
5500></P
5501><DIV
5502CLASS="INFORMALTABLE"
5503><P
5504></P
5505><TABLE
5506BORDER="0"
5507WIDTH="100%"
5508BGCOLOR="#FFD0D0"
5509CELLSPACING="0"
5510CELLPADDING="4"
5511CLASS="CALSTABLE"
5512><TR
5513><TD
5514WIDTH="20%"
5515ALIGN="RIGHT"
5516VALIGN="TOP"
5517><TT
5518CLASS="PARAMETER"
5519><I
5520>ctxt</I
5521></TT
5522>&nbsp;:</TD
5523><TD
5524WIDTH="80%"
5525ALIGN="LEFT"
5526VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005527> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005528></TR
5529><TR
5530><TD
5531WIDTH="20%"
5532ALIGN="RIGHT"
5533VALIGN="TOP"
5534><TT
5535CLASS="PARAMETER"
5536><I
5537>doc</I
5538></TT
5539>&nbsp;:</TD
5540><TD
5541WIDTH="80%"
5542ALIGN="LEFT"
5543VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005544> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005545></TR
5546><TR
5547><TD
5548WIDTH="20%"
5549ALIGN="RIGHT"
5550VALIGN="TOP"
5551><TT
5552CLASS="PARAMETER"
5553><I
5554>nota</I
5555></TT
5556>&nbsp;:</TD
5557><TD
5558WIDTH="80%"
5559ALIGN="LEFT"
5560VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005561> a notation definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005562></TR
5563><TR
5564><TD
5565WIDTH="20%"
5566ALIGN="RIGHT"
5567VALIGN="TOP"
5568><I
5569CLASS="EMPHASIS"
5570>Returns</I
5571> :</TD
5572><TD
5573WIDTH="80%"
5574ALIGN="LEFT"
5575VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005576>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005577></TR
5578></TABLE
5579><P
5580></P
5581></DIV
5582></DIV
5583><HR><DIV
5584CLASS="REFSECT2"
5585><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005586NAME="AEN8719"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005587></A
5588><H3
5589><A
5590NAME="XMLVALIDATEDTD"
5591></A
5592>xmlValidateDtd ()</H3
5593><TABLE
5594BORDER="0"
5595BGCOLOR="#D6E8FF"
5596WIDTH="100%"
5597CELLPADDING="6"
5598><TR
5599><TD
5600><PRE
5601CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005602>int xmlValidateDtd (<A
5603HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5604>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005605> ctxt,
5606 <A
5607HREF="gnome-xml-tree.html#XMLDOCPTR"
5608>xmlDocPtr</A
5609> doc,
5610 <A
5611HREF="gnome-xml-tree.html#XMLDTDPTR"
5612>xmlDtdPtr</A
5613> dtd);</PRE
5614></TD
5615></TR
5616></TABLE
5617><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005618>Try to validate the document against the dtd instance</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005619><P
5620>basically it does check all the definitions in the DtD.</P
5621><P
5622></P
5623><DIV
5624CLASS="INFORMALTABLE"
5625><P
5626></P
5627><TABLE
5628BORDER="0"
5629WIDTH="100%"
5630BGCOLOR="#FFD0D0"
5631CELLSPACING="0"
5632CELLPADDING="4"
5633CLASS="CALSTABLE"
5634><TR
5635><TD
5636WIDTH="20%"
5637ALIGN="RIGHT"
5638VALIGN="TOP"
5639><TT
5640CLASS="PARAMETER"
5641><I
5642>ctxt</I
5643></TT
5644>&nbsp;:</TD
5645><TD
5646WIDTH="80%"
5647ALIGN="LEFT"
5648VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005649> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005650></TR
5651><TR
5652><TD
5653WIDTH="20%"
5654ALIGN="RIGHT"
5655VALIGN="TOP"
5656><TT
5657CLASS="PARAMETER"
5658><I
5659>doc</I
5660></TT
5661>&nbsp;:</TD
5662><TD
5663WIDTH="80%"
5664ALIGN="LEFT"
5665VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005666> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005667></TR
5668><TR
5669><TD
5670WIDTH="20%"
5671ALIGN="RIGHT"
5672VALIGN="TOP"
5673><TT
5674CLASS="PARAMETER"
5675><I
5676>dtd</I
5677></TT
5678>&nbsp;:</TD
5679><TD
5680WIDTH="80%"
5681ALIGN="LEFT"
5682VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005683> a dtd instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005684></TR
5685><TR
5686><TD
5687WIDTH="20%"
5688ALIGN="RIGHT"
5689VALIGN="TOP"
5690><I
5691CLASS="EMPHASIS"
5692>Returns</I
5693> :</TD
5694><TD
5695WIDTH="80%"
5696ALIGN="LEFT"
5697VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005698>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005699></TR
5700></TABLE
5701><P
5702></P
5703></DIV
5704></DIV
5705><HR><DIV
5706CLASS="REFSECT2"
5707><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005708NAME="AEN8750"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005709></A
5710><H3
5711><A
5712NAME="XMLVALIDATEDTDFINAL"
5713></A
5714>xmlValidateDtdFinal ()</H3
5715><TABLE
5716BORDER="0"
5717BGCOLOR="#D6E8FF"
5718WIDTH="100%"
5719CELLPADDING="6"
5720><TR
5721><TD
5722><PRE
5723CLASS="PROGRAMLISTING"
5724>int xmlValidateDtdFinal (<A
5725HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5726>xmlValidCtxtPtr</A
5727> ctxt,
5728 <A
5729HREF="gnome-xml-tree.html#XMLDOCPTR"
5730>xmlDocPtr</A
5731> doc);</PRE
5732></TD
5733></TR
5734></TABLE
5735><P
5736>Does the final step for the dtds validation once all the
5737subsets have been parsed</P
5738><P
5739>basically it does the following checks described by the XML Rec
5740- check that ENTITY and ENTITIES type attributes default or
5741possible values matches one of the defined entities.
5742- check that NOTATION type attributes default or
5743possible values matches one of the defined notations.</P
5744><P
5745></P
5746><DIV
5747CLASS="INFORMALTABLE"
5748><P
5749></P
5750><TABLE
5751BORDER="0"
5752WIDTH="100%"
5753BGCOLOR="#FFD0D0"
5754CELLSPACING="0"
5755CELLPADDING="4"
5756CLASS="CALSTABLE"
5757><TR
5758><TD
5759WIDTH="20%"
5760ALIGN="RIGHT"
5761VALIGN="TOP"
5762><TT
5763CLASS="PARAMETER"
5764><I
5765>ctxt</I
5766></TT
5767>&nbsp;:</TD
5768><TD
5769WIDTH="80%"
5770ALIGN="LEFT"
5771VALIGN="TOP"
5772> the validation context</TD
5773></TR
5774><TR
5775><TD
5776WIDTH="20%"
5777ALIGN="RIGHT"
5778VALIGN="TOP"
5779><TT
5780CLASS="PARAMETER"
5781><I
5782>doc</I
5783></TT
5784>&nbsp;:</TD
5785><TD
5786WIDTH="80%"
5787ALIGN="LEFT"
5788VALIGN="TOP"
5789> a document instance</TD
5790></TR
5791><TR
5792><TD
5793WIDTH="20%"
5794ALIGN="RIGHT"
5795VALIGN="TOP"
5796><I
5797CLASS="EMPHASIS"
5798>Returns</I
5799> :</TD
5800><TD
5801WIDTH="80%"
5802ALIGN="LEFT"
5803VALIGN="TOP"
5804>1 if valid or 0 otherwise</TD
5805></TR
5806></TABLE
5807><P
5808></P
5809></DIV
5810></DIV
5811><HR><DIV
5812CLASS="REFSECT2"
5813><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005814NAME="AEN8776"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005815></A
5816><H3
5817><A
5818NAME="XMLVALIDATEDOCUMENT"
5819></A
5820>xmlValidateDocument ()</H3
5821><TABLE
5822BORDER="0"
5823BGCOLOR="#D6E8FF"
5824WIDTH="100%"
5825CELLPADDING="6"
5826><TR
5827><TD
5828><PRE
5829CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005830>int xmlValidateDocument (<A
5831HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5832>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005833> ctxt,
5834 <A
5835HREF="gnome-xml-tree.html#XMLDOCPTR"
5836>xmlDocPtr</A
5837> doc);</PRE
5838></TD
5839></TR
5840></TABLE
5841><P
5842>Try to validate the document instance</P
5843><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005844>basically it does the all the checks described by the XML Rec
Daniel Veillardb05deb71999-08-10 19:04:08 +00005845i.e. validates the internal and external subset (if present)
5846and validate the document tree.</P
5847><P
5848></P
5849><DIV
5850CLASS="INFORMALTABLE"
5851><P
5852></P
5853><TABLE
5854BORDER="0"
5855WIDTH="100%"
5856BGCOLOR="#FFD0D0"
5857CELLSPACING="0"
5858CELLPADDING="4"
5859CLASS="CALSTABLE"
5860><TR
5861><TD
5862WIDTH="20%"
5863ALIGN="RIGHT"
5864VALIGN="TOP"
5865><TT
5866CLASS="PARAMETER"
5867><I
5868>ctxt</I
5869></TT
5870>&nbsp;:</TD
5871><TD
5872WIDTH="80%"
5873ALIGN="LEFT"
5874VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005875> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005876></TR
5877><TR
5878><TD
5879WIDTH="20%"
5880ALIGN="RIGHT"
5881VALIGN="TOP"
5882><TT
5883CLASS="PARAMETER"
5884><I
5885>doc</I
5886></TT
5887>&nbsp;:</TD
5888><TD
5889WIDTH="80%"
5890ALIGN="LEFT"
5891VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005892> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005893></TR
5894><TR
5895><TD
5896WIDTH="20%"
5897ALIGN="RIGHT"
5898VALIGN="TOP"
5899><I
5900CLASS="EMPHASIS"
5901>Returns</I
5902> :</TD
5903><TD
5904WIDTH="80%"
5905ALIGN="LEFT"
5906VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005907>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005908></TR
5909></TABLE
5910><P
5911></P
5912></DIV
5913></DIV
5914><HR><DIV
5915CLASS="REFSECT2"
5916><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005917NAME="AEN8802"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005918></A
5919><H3
5920><A
5921NAME="XMLVALIDATEELEMENT"
5922></A
5923>xmlValidateElement ()</H3
5924><TABLE
5925BORDER="0"
5926BGCOLOR="#D6E8FF"
5927WIDTH="100%"
5928CELLPADDING="6"
5929><TR
5930><TD
5931><PRE
5932CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005933>int xmlValidateElement (<A
5934HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5935>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005936> ctxt,
5937 <A
5938HREF="gnome-xml-tree.html#XMLDOCPTR"
5939>xmlDocPtr</A
5940> doc,
5941 <A
5942HREF="gnome-xml-tree.html#XMLNODEPTR"
5943>xmlNodePtr</A
5944> elem);</PRE
5945></TD
5946></TR
5947></TABLE
5948><P
5949>Try to validate the subtree under an element</P
5950><P
5951></P
5952><DIV
5953CLASS="INFORMALTABLE"
5954><P
5955></P
5956><TABLE
5957BORDER="0"
5958WIDTH="100%"
5959BGCOLOR="#FFD0D0"
5960CELLSPACING="0"
5961CELLPADDING="4"
5962CLASS="CALSTABLE"
5963><TR
5964><TD
5965WIDTH="20%"
5966ALIGN="RIGHT"
5967VALIGN="TOP"
5968><TT
5969CLASS="PARAMETER"
5970><I
5971>ctxt</I
5972></TT
5973>&nbsp;:</TD
5974><TD
5975WIDTH="80%"
5976ALIGN="LEFT"
5977VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005978> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005979></TR
5980><TR
5981><TD
5982WIDTH="20%"
5983ALIGN="RIGHT"
5984VALIGN="TOP"
5985><TT
5986CLASS="PARAMETER"
5987><I
5988>doc</I
5989></TT
5990>&nbsp;:</TD
5991><TD
5992WIDTH="80%"
5993ALIGN="LEFT"
5994VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005995> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005996></TR
5997><TR
5998><TD
5999WIDTH="20%"
6000ALIGN="RIGHT"
6001VALIGN="TOP"
6002><TT
6003CLASS="PARAMETER"
6004><I
6005>elem</I
6006></TT
6007>&nbsp;:</TD
6008><TD
6009WIDTH="80%"
6010ALIGN="LEFT"
6011VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006012> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006013></TR
6014><TR
6015><TD
6016WIDTH="20%"
6017ALIGN="RIGHT"
6018VALIGN="TOP"
6019><I
6020CLASS="EMPHASIS"
6021>Returns</I
6022> :</TD
6023><TD
6024WIDTH="80%"
6025ALIGN="LEFT"
6026VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006027>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006028></TR
6029></TABLE
6030><P
6031></P
6032></DIV
6033></DIV
6034><HR><DIV
6035CLASS="REFSECT2"
6036><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006037NAME="AEN8832"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006038></A
6039><H3
6040><A
6041NAME="XMLVALIDATEONEELEMENT"
6042></A
6043>xmlValidateOneElement ()</H3
6044><TABLE
6045BORDER="0"
6046BGCOLOR="#D6E8FF"
6047WIDTH="100%"
6048CELLPADDING="6"
6049><TR
6050><TD
6051><PRE
6052CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006053>int xmlValidateOneElement (<A
6054HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
6055>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006056> ctxt,
6057 <A
6058HREF="gnome-xml-tree.html#XMLDOCPTR"
6059>xmlDocPtr</A
6060> doc,
6061 <A
6062HREF="gnome-xml-tree.html#XMLNODEPTR"
6063>xmlNodePtr</A
6064> elem);</PRE
6065></TD
6066></TR
6067></TABLE
6068><P
6069>Try to validate a single element and it's attributes,
6070basically it does the following checks as described by the
6071XML-1.0 recommendation:
6072- [ VC: Element Valid ]
6073- [ VC: Required Attribute ]
6074Then call <A
6075HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE"
6076>xmlValidateOneAttribute</A
6077>() for each attribute present.</P
6078><P
6079>The ID/IDREF checkings are done separately</P
6080><P
6081></P
6082><DIV
6083CLASS="INFORMALTABLE"
6084><P
6085></P
6086><TABLE
6087BORDER="0"
6088WIDTH="100%"
6089BGCOLOR="#FFD0D0"
6090CELLSPACING="0"
6091CELLPADDING="4"
6092CLASS="CALSTABLE"
6093><TR
6094><TD
6095WIDTH="20%"
6096ALIGN="RIGHT"
6097VALIGN="TOP"
6098><TT
6099CLASS="PARAMETER"
6100><I
6101>ctxt</I
6102></TT
6103>&nbsp;:</TD
6104><TD
6105WIDTH="80%"
6106ALIGN="LEFT"
6107VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006108> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006109></TR
6110><TR
6111><TD
6112WIDTH="20%"
6113ALIGN="RIGHT"
6114VALIGN="TOP"
6115><TT
6116CLASS="PARAMETER"
6117><I
6118>doc</I
6119></TT
6120>&nbsp;:</TD
6121><TD
6122WIDTH="80%"
6123ALIGN="LEFT"
6124VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006125> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006126></TR
6127><TR
6128><TD
6129WIDTH="20%"
6130ALIGN="RIGHT"
6131VALIGN="TOP"
6132><TT
6133CLASS="PARAMETER"
6134><I
6135>elem</I
6136></TT
6137>&nbsp;:</TD
6138><TD
6139WIDTH="80%"
6140ALIGN="LEFT"
6141VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006142> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006143></TR
6144><TR
6145><TD
6146WIDTH="20%"
6147ALIGN="RIGHT"
6148VALIGN="TOP"
6149><I
6150CLASS="EMPHASIS"
6151>Returns</I
6152> :</TD
6153><TD
6154WIDTH="80%"
6155ALIGN="LEFT"
6156VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006157>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006158></TR
6159></TABLE
6160><P
6161></P
6162></DIV
6163></DIV
6164><HR><DIV
6165CLASS="REFSECT2"
6166><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006167NAME="AEN8864"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006168></A
6169><H3
6170><A
6171NAME="XMLVALIDATEONEATTRIBUTE"
6172></A
6173>xmlValidateOneAttribute ()</H3
6174><TABLE
6175BORDER="0"
6176BGCOLOR="#D6E8FF"
6177WIDTH="100%"
6178CELLPADDING="6"
6179><TR
6180><TD
6181><PRE
6182CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006183>int xmlValidateOneAttribute (<A
6184HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
6185>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006186> ctxt,
6187 <A
6188HREF="gnome-xml-tree.html#XMLDOCPTR"
6189>xmlDocPtr</A
6190> doc,
6191 <A
6192HREF="gnome-xml-tree.html#XMLNODEPTR"
6193>xmlNodePtr</A
6194> elem,
6195 <A
6196HREF="gnome-xml-tree.html#XMLATTRPTR"
6197>xmlAttrPtr</A
6198> attr,
6199 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006200HREF="gnome-xml-tree.html#XMLCHAR"
6201>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006202> *value);</PRE
6203></TD
6204></TR
6205></TABLE
6206><P
6207>Try to validate a single attribute for an element
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006208basically it does the following checks as described by the
Daniel Veillardb05deb71999-08-10 19:04:08 +00006209XML-1.0 recommendation:
6210- [ VC: Attribute Value Type ]
6211- [ VC: Fixed Attribute Default ]
6212- [ VC: Entity Name ]
6213- [ VC: Name Token ]
6214- [ VC: ID ]
6215- [ VC: IDREF ]
6216- [ VC: Entity Name ]
6217- [ VC: Notation Attributes ]</P
6218><P
6219>The ID/IDREF uniqueness and matching are done separately</P
6220><P
6221></P
6222><DIV
6223CLASS="INFORMALTABLE"
6224><P
6225></P
6226><TABLE
6227BORDER="0"
6228WIDTH="100%"
6229BGCOLOR="#FFD0D0"
6230CELLSPACING="0"
6231CELLPADDING="4"
6232CLASS="CALSTABLE"
6233><TR
6234><TD
6235WIDTH="20%"
6236ALIGN="RIGHT"
6237VALIGN="TOP"
6238><TT
6239CLASS="PARAMETER"
6240><I
6241>ctxt</I
6242></TT
6243>&nbsp;:</TD
6244><TD
6245WIDTH="80%"
6246ALIGN="LEFT"
6247VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006248> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006249></TR
6250><TR
6251><TD
6252WIDTH="20%"
6253ALIGN="RIGHT"
6254VALIGN="TOP"
6255><TT
6256CLASS="PARAMETER"
6257><I
6258>doc</I
6259></TT
6260>&nbsp;:</TD
6261><TD
6262WIDTH="80%"
6263ALIGN="LEFT"
6264VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006265> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006266></TR
6267><TR
6268><TD
6269WIDTH="20%"
6270ALIGN="RIGHT"
6271VALIGN="TOP"
6272><TT
6273CLASS="PARAMETER"
6274><I
6275>elem</I
6276></TT
6277>&nbsp;:</TD
6278><TD
6279WIDTH="80%"
6280ALIGN="LEFT"
6281VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006282> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006283></TR
6284><TR
6285><TD
6286WIDTH="20%"
6287ALIGN="RIGHT"
6288VALIGN="TOP"
6289><TT
6290CLASS="PARAMETER"
6291><I
6292>attr</I
6293></TT
6294>&nbsp;:</TD
6295><TD
6296WIDTH="80%"
6297ALIGN="LEFT"
6298VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006299> an attribute instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006300></TR
6301><TR
6302><TD
6303WIDTH="20%"
6304ALIGN="RIGHT"
6305VALIGN="TOP"
6306><TT
6307CLASS="PARAMETER"
6308><I
6309>value</I
6310></TT
6311>&nbsp;:</TD
6312><TD
6313WIDTH="80%"
6314ALIGN="LEFT"
6315VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006316> the attribute value (without entities processing)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006317></TR
6318><TR
6319><TD
6320WIDTH="20%"
6321ALIGN="RIGHT"
6322VALIGN="TOP"
6323><I
6324CLASS="EMPHASIS"
6325>Returns</I
6326> :</TD
6327><TD
6328WIDTH="80%"
6329ALIGN="LEFT"
6330VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006331>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006332></TR
6333></TABLE
6334><P
6335></P
6336></DIV
6337></DIV
6338><HR><DIV
6339CLASS="REFSECT2"
6340><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006341NAME="AEN8905"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006342></A
6343><H3
6344><A
6345NAME="XMLVALIDATEDOCUMENTFINAL"
6346></A
6347>xmlValidateDocumentFinal ()</H3
6348><TABLE
6349BORDER="0"
6350BGCOLOR="#D6E8FF"
6351WIDTH="100%"
6352CELLPADDING="6"
6353><TR
6354><TD
6355><PRE
6356CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006357>int xmlValidateDocumentFinal (<A
6358HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
6359>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006360> ctxt,
6361 <A
6362HREF="gnome-xml-tree.html#XMLDOCPTR"
6363>xmlDocPtr</A
6364> doc);</PRE
6365></TD
6366></TR
6367></TABLE
6368><P
6369>Does the final step for the document validation once all the
6370incremental validation steps have been completed</P
6371><P
6372>basically it does the following checks described by the XML Rec</P
6373><P
6374></P
6375><DIV
6376CLASS="INFORMALTABLE"
6377><P
6378></P
6379><TABLE
6380BORDER="0"
6381WIDTH="100%"
6382BGCOLOR="#FFD0D0"
6383CELLSPACING="0"
6384CELLPADDING="4"
6385CLASS="CALSTABLE"
6386><TR
6387><TD
6388WIDTH="20%"
6389ALIGN="RIGHT"
6390VALIGN="TOP"
6391><TT
6392CLASS="PARAMETER"
6393><I
6394>ctxt</I
6395></TT
6396>&nbsp;:</TD
6397><TD
6398WIDTH="80%"
6399ALIGN="LEFT"
6400VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006401> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006402></TR
6403><TR
6404><TD
6405WIDTH="20%"
6406ALIGN="RIGHT"
6407VALIGN="TOP"
6408><TT
6409CLASS="PARAMETER"
6410><I
6411>doc</I
6412></TT
6413>&nbsp;:</TD
6414><TD
6415WIDTH="80%"
6416ALIGN="LEFT"
6417VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006418> a document instance</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006419></TR
6420><TR
6421><TD
6422WIDTH="20%"
6423ALIGN="RIGHT"
6424VALIGN="TOP"
6425><I
6426CLASS="EMPHASIS"
6427>Returns</I
6428> :</TD
6429><TD
6430WIDTH="80%"
6431ALIGN="LEFT"
6432VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006433>1 if valid or 0 otherwise</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006434></TR
6435></TABLE
6436><P
6437></P
6438></DIV
6439></DIV
6440><HR><DIV
6441CLASS="REFSECT2"
6442><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006443NAME="AEN8931"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006444></A
6445><H3
6446><A
6447NAME="XMLVALIDATENOTATIONUSE"
6448></A
6449>xmlValidateNotationUse ()</H3
6450><TABLE
6451BORDER="0"
6452BGCOLOR="#D6E8FF"
6453WIDTH="100%"
6454CELLPADDING="6"
6455><TR
6456><TD
6457><PRE
6458CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006459>int xmlValidateNotationUse (<A
6460HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
6461>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006462> ctxt,
6463 <A
6464HREF="gnome-xml-tree.html#XMLDOCPTR"
6465>xmlDocPtr</A
6466> doc,
6467 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006468HREF="gnome-xml-tree.html#XMLCHAR"
6469>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006470> *notationName);</PRE
6471></TD
6472></TR
6473></TABLE
6474><P
6475>Validate that the given mame match a notation declaration.
6476- [ VC: Notation Declared ]</P
6477><P
6478></P
6479><DIV
6480CLASS="INFORMALTABLE"
6481><P
6482></P
6483><TABLE
6484BORDER="0"
6485WIDTH="100%"
6486BGCOLOR="#FFD0D0"
6487CELLSPACING="0"
6488CELLPADDING="4"
6489CLASS="CALSTABLE"
6490><TR
6491><TD
6492WIDTH="20%"
6493ALIGN="RIGHT"
6494VALIGN="TOP"
6495><TT
6496CLASS="PARAMETER"
6497><I
6498>ctxt</I
6499></TT
6500>&nbsp;:</TD
6501><TD
6502WIDTH="80%"
6503ALIGN="LEFT"
6504VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006505> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006506></TR
6507><TR
6508><TD
6509WIDTH="20%"
6510ALIGN="RIGHT"
6511VALIGN="TOP"
6512><TT
6513CLASS="PARAMETER"
6514><I
6515>doc</I
6516></TT
6517>&nbsp;:</TD
6518><TD
6519WIDTH="80%"
6520ALIGN="LEFT"
6521VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006522> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006523></TR
6524><TR
6525><TD
6526WIDTH="20%"
6527ALIGN="RIGHT"
6528VALIGN="TOP"
6529><TT
6530CLASS="PARAMETER"
6531><I
6532>notationName</I
6533></TT
6534>&nbsp;:</TD
6535><TD
6536WIDTH="80%"
6537ALIGN="LEFT"
6538VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006539> the notation name to check</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006540></TR
6541><TR
6542><TD
6543WIDTH="20%"
6544ALIGN="RIGHT"
6545VALIGN="TOP"
6546><I
6547CLASS="EMPHASIS"
6548>Returns</I
6549> :</TD
6550><TD
6551WIDTH="80%"
6552ALIGN="LEFT"
6553VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006554>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006555></TR
6556></TABLE
6557><P
6558></P
6559></DIV
6560></DIV
6561><HR><DIV
6562CLASS="REFSECT2"
6563><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006564NAME="AEN8961"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006565></A
6566><H3
6567><A
6568NAME="XMLISMIXEDELEMENT"
6569></A
6570>xmlIsMixedElement ()</H3
6571><TABLE
6572BORDER="0"
6573BGCOLOR="#D6E8FF"
6574WIDTH="100%"
6575CELLPADDING="6"
6576><TR
6577><TD
6578><PRE
6579CLASS="PROGRAMLISTING"
6580>int xmlIsMixedElement (<A
6581HREF="gnome-xml-tree.html#XMLDOCPTR"
6582>xmlDocPtr</A
6583> doc,
6584 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006585HREF="gnome-xml-tree.html#XMLCHAR"
6586>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006587> *name);</PRE
6588></TD
6589></TR
6590></TABLE
6591><P
6592>Search in the DtDs whether an element accept Mixed content (or ANY)
6593basically if it is supposed to accept text childs</P
6594><P
6595></P
6596><DIV
6597CLASS="INFORMALTABLE"
6598><P
6599></P
6600><TABLE
6601BORDER="0"
6602WIDTH="100%"
6603BGCOLOR="#FFD0D0"
6604CELLSPACING="0"
6605CELLPADDING="4"
6606CLASS="CALSTABLE"
6607><TR
6608><TD
6609WIDTH="20%"
6610ALIGN="RIGHT"
6611VALIGN="TOP"
6612><TT
6613CLASS="PARAMETER"
6614><I
6615>doc</I
6616></TT
6617>&nbsp;:</TD
6618><TD
6619WIDTH="80%"
6620ALIGN="LEFT"
6621VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006622> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006623></TR
6624><TR
6625><TD
6626WIDTH="20%"
6627ALIGN="RIGHT"
6628VALIGN="TOP"
6629><TT
6630CLASS="PARAMETER"
6631><I
6632>name</I
6633></TT
6634>&nbsp;:</TD
6635><TD
6636WIDTH="80%"
6637ALIGN="LEFT"
6638VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006639> the element name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006640></TR
6641><TR
6642><TD
6643WIDTH="20%"
6644ALIGN="RIGHT"
6645VALIGN="TOP"
6646><I
6647CLASS="EMPHASIS"
6648>Returns</I
6649> :</TD
6650><TD
6651WIDTH="80%"
6652ALIGN="LEFT"
6653VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006654>0 if no, 1 if yes, and -1 if no element description is available</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006655></TR
6656></TABLE
6657><P
6658></P
6659></DIV
6660></DIV
6661><HR><DIV
6662CLASS="REFSECT2"
6663><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006664NAME="AEN8986"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006665></A
6666><H3
6667><A
6668NAME="XMLGETDTDATTRDESC"
6669></A
6670>xmlGetDtdAttrDesc ()</H3
6671><TABLE
6672BORDER="0"
6673BGCOLOR="#D6E8FF"
6674WIDTH="100%"
6675CELLPADDING="6"
6676><TR
6677><TD
6678><PRE
6679CLASS="PROGRAMLISTING"
6680><A
6681HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
6682>xmlAttributePtr</A
6683> xmlGetDtdAttrDesc (<A
6684HREF="gnome-xml-tree.html#XMLDTDPTR"
6685>xmlDtdPtr</A
6686> dtd,
6687 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006688HREF="gnome-xml-tree.html#XMLCHAR"
6689>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006690> *elem,
6691 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006692HREF="gnome-xml-tree.html#XMLCHAR"
6693>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006694> *name);</PRE
6695></TD
6696></TR
6697></TABLE
6698><P
6699>Search the Dtd for the description of this attribute on
6700this element.</P
6701><P
6702></P
6703><DIV
6704CLASS="INFORMALTABLE"
6705><P
6706></P
6707><TABLE
6708BORDER="0"
6709WIDTH="100%"
6710BGCOLOR="#FFD0D0"
6711CELLSPACING="0"
6712CELLPADDING="4"
6713CLASS="CALSTABLE"
6714><TR
6715><TD
6716WIDTH="20%"
6717ALIGN="RIGHT"
6718VALIGN="TOP"
6719><TT
6720CLASS="PARAMETER"
6721><I
6722>dtd</I
6723></TT
6724>&nbsp;:</TD
6725><TD
6726WIDTH="80%"
6727ALIGN="LEFT"
6728VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006729> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006730></TR
6731><TR
6732><TD
6733WIDTH="20%"
6734ALIGN="RIGHT"
6735VALIGN="TOP"
6736><TT
6737CLASS="PARAMETER"
6738><I
6739>elem</I
6740></TT
6741>&nbsp;:</TD
6742><TD
6743WIDTH="80%"
6744ALIGN="LEFT"
6745VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006746> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006747></TR
6748><TR
6749><TD
6750WIDTH="20%"
6751ALIGN="RIGHT"
6752VALIGN="TOP"
6753><TT
6754CLASS="PARAMETER"
6755><I
6756>name</I
6757></TT
6758>&nbsp;:</TD
6759><TD
6760WIDTH="80%"
6761ALIGN="LEFT"
6762VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006763> the attribute name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006764></TR
6765><TR
6766><TD
6767WIDTH="20%"
6768ALIGN="RIGHT"
6769VALIGN="TOP"
6770><I
6771CLASS="EMPHASIS"
6772>Returns</I
6773> :</TD
6774><TD
6775WIDTH="80%"
6776ALIGN="LEFT"
6777VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006778>the xmlAttributePtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006779></TR
6780></TABLE
6781><P
6782></P
6783></DIV
6784></DIV
6785><HR><DIV
6786CLASS="REFSECT2"
6787><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006788NAME="AEN9017"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006789></A
6790><H3
6791><A
6792NAME="XMLGETDTDNOTATIONDESC"
6793></A
6794>xmlGetDtdNotationDesc ()</H3
6795><TABLE
6796BORDER="0"
6797BGCOLOR="#D6E8FF"
6798WIDTH="100%"
6799CELLPADDING="6"
6800><TR
6801><TD
6802><PRE
6803CLASS="PROGRAMLISTING"
6804><A
6805HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
6806>xmlNotationPtr</A
6807> xmlGetDtdNotationDesc (<A
6808HREF="gnome-xml-tree.html#XMLDTDPTR"
6809>xmlDtdPtr</A
6810> dtd,
6811 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006812HREF="gnome-xml-tree.html#XMLCHAR"
6813>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006814> *name);</PRE
6815></TD
6816></TR
6817></TABLE
6818><P
6819>Search the Dtd for the description of this notation</P
6820><P
6821></P
6822><DIV
6823CLASS="INFORMALTABLE"
6824><P
6825></P
6826><TABLE
6827BORDER="0"
6828WIDTH="100%"
6829BGCOLOR="#FFD0D0"
6830CELLSPACING="0"
6831CELLPADDING="4"
6832CLASS="CALSTABLE"
6833><TR
6834><TD
6835WIDTH="20%"
6836ALIGN="RIGHT"
6837VALIGN="TOP"
6838><TT
6839CLASS="PARAMETER"
6840><I
6841>dtd</I
6842></TT
6843>&nbsp;:</TD
6844><TD
6845WIDTH="80%"
6846ALIGN="LEFT"
6847VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006848> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006849></TR
6850><TR
6851><TD
6852WIDTH="20%"
6853ALIGN="RIGHT"
6854VALIGN="TOP"
6855><TT
6856CLASS="PARAMETER"
6857><I
6858>name</I
6859></TT
6860>&nbsp;:</TD
6861><TD
6862WIDTH="80%"
6863ALIGN="LEFT"
6864VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006865> the notation name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006866></TR
6867><TR
6868><TD
6869WIDTH="20%"
6870ALIGN="RIGHT"
6871VALIGN="TOP"
6872><I
6873CLASS="EMPHASIS"
6874>Returns</I
6875> :</TD
6876><TD
6877WIDTH="80%"
6878ALIGN="LEFT"
6879VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006880>the xmlNotationPtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006881></TR
6882></TABLE
6883><P
6884></P
6885></DIV
6886></DIV
6887><HR><DIV
6888CLASS="REFSECT2"
6889><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006890NAME="AEN9043"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006891></A
6892><H3
6893><A
6894NAME="XMLGETDTDELEMENTDESC"
6895></A
6896>xmlGetDtdElementDesc ()</H3
6897><TABLE
6898BORDER="0"
6899BGCOLOR="#D6E8FF"
6900WIDTH="100%"
6901CELLPADDING="6"
6902><TR
6903><TD
6904><PRE
6905CLASS="PROGRAMLISTING"
6906><A
6907HREF="gnome-xml-tree.html#XMLELEMENTPTR"
6908>xmlElementPtr</A
6909> xmlGetDtdElementDesc (<A
6910HREF="gnome-xml-tree.html#XMLDTDPTR"
6911>xmlDtdPtr</A
6912> dtd,
6913 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006914HREF="gnome-xml-tree.html#XMLCHAR"
6915>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006916> *name);</PRE
6917></TD
6918></TR
6919></TABLE
6920><P
6921>Search the Dtd for the description of this element</P
6922><P
6923></P
6924><DIV
6925CLASS="INFORMALTABLE"
6926><P
6927></P
6928><TABLE
6929BORDER="0"
6930WIDTH="100%"
6931BGCOLOR="#FFD0D0"
6932CELLSPACING="0"
6933CELLPADDING="4"
6934CLASS="CALSTABLE"
6935><TR
6936><TD
6937WIDTH="20%"
6938ALIGN="RIGHT"
6939VALIGN="TOP"
6940><TT
6941CLASS="PARAMETER"
6942><I
6943>dtd</I
6944></TT
6945>&nbsp;:</TD
6946><TD
6947WIDTH="80%"
6948ALIGN="LEFT"
6949VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006950> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006951></TR
6952><TR
6953><TD
6954WIDTH="20%"
6955ALIGN="RIGHT"
6956VALIGN="TOP"
6957><TT
6958CLASS="PARAMETER"
6959><I
6960>name</I
6961></TT
6962>&nbsp;:</TD
6963><TD
6964WIDTH="80%"
6965ALIGN="LEFT"
6966VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006967> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006968></TR
6969><TR
6970><TD
6971WIDTH="20%"
6972ALIGN="RIGHT"
6973VALIGN="TOP"
6974><I
6975CLASS="EMPHASIS"
6976>Returns</I
6977> :</TD
6978><TD
6979WIDTH="80%"
6980ALIGN="LEFT"
6981VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006982>the xmlElementPtr if found or NULL</TD
6983></TR
6984></TABLE
6985><P
6986></P
6987></DIV
6988></DIV
6989><HR><DIV
6990CLASS="REFSECT2"
6991><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006992NAME="AEN9069"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006993></A
6994><H3
6995><A
6996NAME="XMLVALIDGETVALIDELEMENTS"
6997></A
6998>xmlValidGetValidElements ()</H3
6999><TABLE
7000BORDER="0"
7001BGCOLOR="#D6E8FF"
7002WIDTH="100%"
7003CELLPADDING="6"
7004><TR
7005><TD
7006><PRE
7007CLASS="PROGRAMLISTING"
7008>int xmlValidGetValidElements (<A
7009HREF="gnome-xml-tree.html#XMLNODE"
7010>xmlNode</A
7011> *prev,
7012 <A
7013HREF="gnome-xml-tree.html#XMLNODE"
7014>xmlNode</A
7015> *next,
7016 const <A
7017HREF="gnome-xml-tree.html#XMLCHAR"
7018>xmlChar</A
7019> **list,
7020 int max);</PRE
7021></TD
7022></TR
7023></TABLE
7024><P
7025>This function returns the list of authorized children to insert
7026within an existing tree while respecting the validity constraints
7027forced by the Dtd. The insertion point is defined using <TT
7028CLASS="PARAMETER"
7029><I
7030>prev</I
7031></TT
7032> and
7033<TT
7034CLASS="PARAMETER"
7035><I
7036>next</I
7037></TT
7038> in the following ways:
7039to insert before 'node': xmlValidGetValidElements(node-&gt;prev, node, ...
7040to insert next 'node': xmlValidGetValidElements(node, node-&gt;next, ...
7041to replace 'node': xmlValidGetValidElements(node-&gt;prev, node-&gt;next, ...
7042to prepend a child to 'node': xmlValidGetValidElements(NULL, node-&gt;childs,
7043to append a child to 'node': xmlValidGetValidElements(node-&gt;last, NULL, ...</P
7044><P
7045>pointers to the element names are inserted at the beginning of the array
7046and do not need to be freed.</P
7047><P
7048></P
7049><DIV
7050CLASS="INFORMALTABLE"
7051><P
7052></P
7053><TABLE
7054BORDER="0"
7055WIDTH="100%"
7056BGCOLOR="#FFD0D0"
7057CELLSPACING="0"
7058CELLPADDING="4"
7059CLASS="CALSTABLE"
7060><TR
7061><TD
7062WIDTH="20%"
7063ALIGN="RIGHT"
7064VALIGN="TOP"
7065><TT
7066CLASS="PARAMETER"
7067><I
7068>prev</I
7069></TT
7070>&nbsp;:</TD
7071><TD
7072WIDTH="80%"
7073ALIGN="LEFT"
7074VALIGN="TOP"
7075> an element to insert after</TD
7076></TR
7077><TR
7078><TD
7079WIDTH="20%"
7080ALIGN="RIGHT"
7081VALIGN="TOP"
7082><TT
7083CLASS="PARAMETER"
7084><I
7085>next</I
7086></TT
7087>&nbsp;:</TD
7088><TD
7089WIDTH="80%"
7090ALIGN="LEFT"
7091VALIGN="TOP"
7092> an element to insert next</TD
7093></TR
7094><TR
7095><TD
7096WIDTH="20%"
7097ALIGN="RIGHT"
7098VALIGN="TOP"
7099><TT
7100CLASS="PARAMETER"
7101><I
7102>list</I
7103></TT
7104>&nbsp;:</TD
7105><TD
7106WIDTH="80%"
7107ALIGN="LEFT"
7108VALIGN="TOP"
7109> an array to store the list of child names</TD
7110></TR
7111><TR
7112><TD
7113WIDTH="20%"
7114ALIGN="RIGHT"
7115VALIGN="TOP"
7116><TT
7117CLASS="PARAMETER"
7118><I
7119>max</I
7120></TT
7121>&nbsp;:</TD
7122><TD
7123WIDTH="80%"
7124ALIGN="LEFT"
7125VALIGN="TOP"
7126> the size of the array</TD
7127></TR
7128><TR
7129><TD
7130WIDTH="20%"
7131ALIGN="RIGHT"
7132VALIGN="TOP"
7133><I
7134CLASS="EMPHASIS"
7135>Returns</I
7136> :</TD
7137><TD
7138WIDTH="80%"
7139ALIGN="LEFT"
7140VALIGN="TOP"
7141>the number of element in the list, or -1 in case of error. If
7142the function returns the value <TT
7143CLASS="PARAMETER"
7144><I
7145>max</I
7146></TT
7147> the caller is invited to grow the
7148receiving array and retry.</TD
7149></TR
7150></TABLE
7151><P
7152></P
7153></DIV
7154></DIV
7155><HR><DIV
7156CLASS="REFSECT2"
7157><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007158NAME="AEN9107"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007159></A
7160><H3
7161><A
7162NAME="XMLVALIDGETPOTENTIALCHILDREN"
7163></A
7164>xmlValidGetPotentialChildren ()</H3
7165><TABLE
7166BORDER="0"
7167BGCOLOR="#D6E8FF"
7168WIDTH="100%"
7169CELLPADDING="6"
7170><TR
7171><TD
7172><PRE
7173CLASS="PROGRAMLISTING"
7174>int xmlValidGetPotentialChildren (<A
7175HREF="gnome-xml-tree.html#XMLELEMENTCONTENT"
7176>xmlElementContent</A
7177> *ctree,
7178 const <A
7179HREF="gnome-xml-tree.html#XMLCHAR"
7180>xmlChar</A
7181> **list,
7182 int *len,
7183 int max);</PRE
7184></TD
7185></TR
7186></TABLE
7187><P
7188>Build/extend a list of potential children allowed by the content tree</P
7189><P
7190></P
7191><DIV
7192CLASS="INFORMALTABLE"
7193><P
7194></P
7195><TABLE
7196BORDER="0"
7197WIDTH="100%"
7198BGCOLOR="#FFD0D0"
7199CELLSPACING="0"
7200CELLPADDING="4"
7201CLASS="CALSTABLE"
7202><TR
7203><TD
7204WIDTH="20%"
7205ALIGN="RIGHT"
7206VALIGN="TOP"
7207><TT
7208CLASS="PARAMETER"
7209><I
7210>ctree</I
7211></TT
7212>&nbsp;:</TD
7213><TD
7214WIDTH="80%"
7215ALIGN="LEFT"
7216VALIGN="TOP"
7217> an element content tree</TD
7218></TR
7219><TR
7220><TD
7221WIDTH="20%"
7222ALIGN="RIGHT"
7223VALIGN="TOP"
7224><TT
7225CLASS="PARAMETER"
7226><I
7227>list</I
7228></TT
7229>&nbsp;:</TD
7230><TD
7231WIDTH="80%"
7232ALIGN="LEFT"
7233VALIGN="TOP"
7234> an array to store the list of child names</TD
7235></TR
7236><TR
7237><TD
7238WIDTH="20%"
7239ALIGN="RIGHT"
7240VALIGN="TOP"
7241><TT
7242CLASS="PARAMETER"
7243><I
7244>len</I
7245></TT
7246>&nbsp;:</TD
7247><TD
7248WIDTH="80%"
7249ALIGN="LEFT"
7250VALIGN="TOP"
7251> a pointer to the number of element in the list</TD
7252></TR
7253><TR
7254><TD
7255WIDTH="20%"
7256ALIGN="RIGHT"
7257VALIGN="TOP"
7258><TT
7259CLASS="PARAMETER"
7260><I
7261>max</I
7262></TT
7263>&nbsp;:</TD
7264><TD
7265WIDTH="80%"
7266ALIGN="LEFT"
7267VALIGN="TOP"
7268> the size of the array</TD
7269></TR
7270><TR
7271><TD
7272WIDTH="20%"
7273ALIGN="RIGHT"
7274VALIGN="TOP"
7275><I
7276CLASS="EMPHASIS"
7277>Returns</I
7278> :</TD
7279><TD
7280WIDTH="80%"
7281ALIGN="LEFT"
7282VALIGN="TOP"
7283>the number of element in the list, or -1 in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007284></TR
7285></TABLE
7286><P
7287></P
7288></DIV
7289></DIV
7290></DIV
7291><DIV
7292CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00007293><BR
7294CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00007295WIDTH="100%"
7296BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007297BGCOLOR="#000000"
7298CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00007299CELLSPACING="0"
7300><TR
7301><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007302WIDTH="25%"
7303BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00007304ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00007305><A
7306HREF="gnome-xml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007307><FONT
7308COLOR="#FFFFFF"
7309SIZE="3"
7310><B
7311>&#60;&#60;&#60; Previous Page</B
7312></FONT
7313></A
Daniel Veillard35925471999-02-25 08:46:07 +00007314></TD
7315><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007316WIDTH="25%"
7317BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00007318ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00007319><FONT
7320COLOR="#FFFFFF"
7321SIZE="3"
7322><B
Daniel Veillard35925471999-02-25 08:46:07 +00007323><A
7324HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007325><FONT
7326COLOR="#FFFFFF"
7327SIZE="3"
7328><B
7329>Home</B
7330></FONT
7331></A
7332></B
7333></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00007334></TD
7335><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007336WIDTH="25%"
7337BGCOLOR="#00C000"
7338ALIGN="center"
7339><FONT
7340COLOR="#FFFFFF"
7341SIZE="3"
7342><B
7343><A
Daniel Veillard35008381999-10-25 13:15:52 +00007344HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007345><FONT
7346COLOR="#FFFFFF"
7347SIZE="3"
7348><B
7349>Up</B
7350></FONT
7351></A
7352></B
7353></FONT
7354></TD
7355><TD
7356WIDTH="25%"
7357BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00007358ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00007359><A
Daniel Veillard8f621982000-03-20 13:07:15 +00007360HREF="gnome-xml-uri.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007361><FONT
7362COLOR="#FFFFFF"
7363SIZE="3"
7364><B
7365>Next Page &#62;&#62;&#62;</B
7366></FONT
7367></A
Daniel Veillard35925471999-02-25 08:46:07 +00007368></TD
7369></TR
7370><TR
7371><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007372COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00007373ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00007374><FONT
7375COLOR="#FFFFFF"
7376SIZE="3"
7377><B
7378>entities</B
7379></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00007380></TD
7381><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007382COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00007383ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00007384><FONT
7385COLOR="#FFFFFF"
7386SIZE="3"
7387><B
Daniel Veillard8f621982000-03-20 13:07:15 +00007388>uri</B
Daniel Veillard14fff061999-06-22 21:49:07 +00007389></FONT
7390></TD
Daniel Veillard35925471999-02-25 08:46:07 +00007391></TR
7392></TABLE
7393></DIV
7394></BODY
7395></HTML
7396>