blob: aa7cd9090cb9bf6e6702b20913bbd61932e9e7c1 [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 Veillard29a11cc2000-10-25 13:32:39 +0000118NAME="AEN7421"
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 Veillard29a11cc2000-10-25 13:32:39 +0000126NAME="AEN7424"
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 +0000161typedef <A
162HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
163>xmlNotationTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000164>;
Daniel Veillard35925471999-02-25 08:46:07 +0000165typedef <A
166HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
167>xmlElementTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000168>;
Daniel Veillard35925471999-02-25 08:46:07 +0000169typedef <A
170HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
171>xmlAttributeTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000172>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000173typedef <A
174HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
175>xmlIDTablePtr</A
176>;
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000177typedef <A
178HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
179>xmlRefTablePtr</A
180>;
Daniel Veillard35925471999-02-25 08:46:07 +0000181<A
182HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
183>xmlNotationPtr</A
184> <A
185HREF="gnome-xml-valid.html#XMLADDNOTATIONDECL"
186>xmlAddNotationDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000187> (<A
188HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
189>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000190> ctxt,
191 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000192HREF="gnome-xml-tree.html#XMLDTDPTR"
193>xmlDtdPtr</A
194> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000195 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000196HREF="gnome-xml-tree.html#XMLCHAR"
197>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000198> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000199 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000200HREF="gnome-xml-tree.html#XMLCHAR"
201>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000202> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000203 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000204HREF="gnome-xml-tree.html#XMLCHAR"
205>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000206> *SystemID);
207<A
208HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
209>xmlNotationTablePtr</A
210> <A
211HREF="gnome-xml-valid.html#XMLCOPYNOTATIONTABLE"
212>xmlCopyNotationTable</A
213> (<A
214HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
215>xmlNotationTablePtr</A
216> table);
217void <A
218HREF="gnome-xml-valid.html#XMLFREENOTATIONTABLE"
219>xmlFreeNotationTable</A
220> (<A
221HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
222>xmlNotationTablePtr</A
223> table);
224void <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000225HREF="gnome-xml-valid.html#XMLDUMPNOTATIONDECL"
226>xmlDumpNotationDecl</A
227> (<A
228HREF="gnome-xml-tree.html#XMLBUFFERPTR"
229>xmlBufferPtr</A
230> buf,
231 <A
232HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
233>xmlNotationPtr</A
234> nota);
235void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000236HREF="gnome-xml-valid.html#XMLDUMPNOTATIONTABLE"
237>xmlDumpNotationTable</A
238> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000239HREF="gnome-xml-tree.html#XMLBUFFERPTR"
240>xmlBufferPtr</A
241> buf,
242 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000243HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
244>xmlNotationTablePtr</A
245> table);
246<A
247HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
248>xmlElementContentPtr</A
249> <A
250HREF="gnome-xml-valid.html#XMLNEWELEMENTCONTENT"
251>xmlNewElementContent</A
252> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000253HREF="gnome-xml-tree.html#XMLCHAR"
254>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000255> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000256 <A
257HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
258>xmlElementContentType</A
259> type);
Daniel Veillard35925471999-02-25 08:46:07 +0000260<A
261HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
262>xmlElementContentPtr</A
263> <A
264HREF="gnome-xml-valid.html#XMLCOPYELEMENTCONTENT"
265>xmlCopyElementContent</A
266> (<A
267HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
268>xmlElementContentPtr</A
269> content);
270void <A
271HREF="gnome-xml-valid.html#XMLFREEELEMENTCONTENT"
272>xmlFreeElementContent</A
273> (<A
274HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
275>xmlElementContentPtr</A
276> cur);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000277void <A
278HREF="gnome-xml-valid.html#XMLSPRINTFELEMENTCONTENT"
279>xmlSprintfElementContent</A
280> (char *buf,
281 <A
282HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
283>xmlElementContentPtr</A
284> content,
285 int glob);
Daniel Veillard35925471999-02-25 08:46:07 +0000286<A
287HREF="gnome-xml-tree.html#XMLELEMENTPTR"
288>xmlElementPtr</A
289> <A
290HREF="gnome-xml-valid.html#XMLADDELEMENTDECL"
291>xmlAddElementDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000292> (<A
293HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
294>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000295> ctxt,
296 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000297HREF="gnome-xml-tree.html#XMLDTDPTR"
298>xmlDtdPtr</A
299> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000300 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000301HREF="gnome-xml-tree.html#XMLCHAR"
302>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000303> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000304 <A
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000305HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL"
306>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000307> type,
Daniel Veillard35925471999-02-25 08:46:07 +0000308 <A
309HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
310>xmlElementContentPtr</A
311> content);
312<A
313HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
314>xmlElementTablePtr</A
315> <A
316HREF="gnome-xml-valid.html#XMLCOPYELEMENTTABLE"
317>xmlCopyElementTable</A
318> (<A
319HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
320>xmlElementTablePtr</A
321> table);
322void <A
323HREF="gnome-xml-valid.html#XMLFREEELEMENTTABLE"
324>xmlFreeElementTable</A
325> (<A
326HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
327>xmlElementTablePtr</A
328> table);
329void <A
330HREF="gnome-xml-valid.html#XMLDUMPELEMENTTABLE"
331>xmlDumpElementTable</A
332> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000333HREF="gnome-xml-tree.html#XMLBUFFERPTR"
334>xmlBufferPtr</A
335> buf,
336 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000337HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
338>xmlElementTablePtr</A
339> table);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000340void <A
341HREF="gnome-xml-valid.html#XMLDUMPELEMENTDECL"
342>xmlDumpElementDecl</A
343> (<A
344HREF="gnome-xml-tree.html#XMLBUFFERPTR"
345>xmlBufferPtr</A
346> buf,
347 <A
348HREF="gnome-xml-tree.html#XMLELEMENTPTR"
349>xmlElementPtr</A
350> elem);
Daniel Veillard35925471999-02-25 08:46:07 +0000351<A
352HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
353>xmlEnumerationPtr</A
354> <A
355HREF="gnome-xml-valid.html#XMLCREATEENUMERATION"
356>xmlCreateEnumeration</A
357> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000358HREF="gnome-xml-tree.html#XMLCHAR"
359>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000360> *name);
361void <A
362HREF="gnome-xml-valid.html#XMLFREEENUMERATION"
363>xmlFreeEnumeration</A
364> (<A
365HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
366>xmlEnumerationPtr</A
367> cur);
368<A
369HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
370>xmlEnumerationPtr</A
371> <A
372HREF="gnome-xml-valid.html#XMLCOPYENUMERATION"
373>xmlCopyEnumeration</A
374> (<A
375HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
376>xmlEnumerationPtr</A
377> cur);
378<A
379HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
380>xmlAttributePtr</A
381> <A
382HREF="gnome-xml-valid.html#XMLADDATTRIBUTEDECL"
383>xmlAddAttributeDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000384> (<A
385HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
386>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000387> ctxt,
388 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000389HREF="gnome-xml-tree.html#XMLDTDPTR"
390>xmlDtdPtr</A
391> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000392 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000393HREF="gnome-xml-tree.html#XMLCHAR"
394>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000395> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000396 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000397HREF="gnome-xml-tree.html#XMLCHAR"
398>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000399> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000400 const <A
401HREF="gnome-xml-tree.html#XMLCHAR"
402>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +0000403> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000404 <A
405HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
406>xmlAttributeType</A
407> type,
408 <A
409HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
410>xmlAttributeDefault</A
411> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000412 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000413HREF="gnome-xml-tree.html#XMLCHAR"
414>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000415> *defaultValue,
416 <A
417HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
418>xmlEnumerationPtr</A
419> tree);
420<A
421HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
422>xmlAttributeTablePtr</A
423> <A
424HREF="gnome-xml-valid.html#XMLCOPYATTRIBUTETABLE"
425>xmlCopyAttributeTable</A
426> (<A
427HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
428>xmlAttributeTablePtr</A
429> table);
430void <A
431HREF="gnome-xml-valid.html#XMLFREEATTRIBUTETABLE"
432>xmlFreeAttributeTable</A
433> (<A
434HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
435>xmlAttributeTablePtr</A
436> table);
437void <A
438HREF="gnome-xml-valid.html#XMLDUMPATTRIBUTETABLE"
439>xmlDumpAttributeTable</A
440> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000441HREF="gnome-xml-tree.html#XMLBUFFERPTR"
442>xmlBufferPtr</A
443> buf,
444 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000445HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
446>xmlAttributeTablePtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000447> table);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000448void <A
449HREF="gnome-xml-valid.html#XMLDUMPATTRIBUTEDECL"
450>xmlDumpAttributeDecl</A
451> (<A
452HREF="gnome-xml-tree.html#XMLBUFFERPTR"
453>xmlBufferPtr</A
454> buf,
455 <A
456HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
457>xmlAttributePtr</A
458> attr);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000459<A
460HREF="gnome-xml-tree.html#XMLIDPTR"
461>xmlIDPtr</A
462> <A
463HREF="gnome-xml-valid.html#XMLADDID"
464>xmlAddID</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000465> (<A
466HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
467>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000468> ctxt,
469 <A
470HREF="gnome-xml-tree.html#XMLDOCPTR"
471>xmlDocPtr</A
472> doc,
473 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000474HREF="gnome-xml-tree.html#XMLCHAR"
475>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000476> *value,
477 <A
478HREF="gnome-xml-tree.html#XMLATTRPTR"
479>xmlAttrPtr</A
480> attr);
481<A
482HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
483>xmlIDTablePtr</A
484> <A
485HREF="gnome-xml-valid.html#XMLCOPYIDTABLE"
486>xmlCopyIDTable</A
487> (<A
488HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
489>xmlIDTablePtr</A
490> table);
491void <A
492HREF="gnome-xml-valid.html#XMLFREEIDTABLE"
493>xmlFreeIDTable</A
494> (<A
495HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
496>xmlIDTablePtr</A
497> table);
498<A
499HREF="gnome-xml-tree.html#XMLATTRPTR"
500>xmlAttrPtr</A
501> <A
502HREF="gnome-xml-valid.html#XMLGETID"
503>xmlGetID</A
504> (<A
505HREF="gnome-xml-tree.html#XMLDOCPTR"
506>xmlDocPtr</A
507> doc,
508 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000509HREF="gnome-xml-tree.html#XMLCHAR"
510>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000511> *ID);
512int <A
513HREF="gnome-xml-valid.html#XMLISID"
514>xmlIsID</A
515> (<A
516HREF="gnome-xml-tree.html#XMLDOCPTR"
517>xmlDocPtr</A
518> doc,
519 <A
520HREF="gnome-xml-tree.html#XMLNODEPTR"
521>xmlNodePtr</A
522> elem,
523 <A
524HREF="gnome-xml-tree.html#XMLATTRPTR"
525>xmlAttrPtr</A
526> attr);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000527int <A
528HREF="gnome-xml-valid.html#XMLREMOVEID"
529>xmlRemoveID</A
530> (<A
531HREF="gnome-xml-tree.html#XMLDOCPTR"
532>xmlDocPtr</A
533> doc,
534 <A
535HREF="gnome-xml-tree.html#XMLATTRPTR"
536>xmlAttrPtr</A
537> attr);
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000538<A
539HREF="gnome-xml-tree.html#XMLREFPTR"
540>xmlRefPtr</A
541> <A
542HREF="gnome-xml-valid.html#XMLADDREF"
543>xmlAddRef</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000544> (<A
545HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
546>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000547> ctxt,
548 <A
549HREF="gnome-xml-tree.html#XMLDOCPTR"
550>xmlDocPtr</A
551> doc,
552 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000553HREF="gnome-xml-tree.html#XMLCHAR"
554>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000555> *value,
556 <A
557HREF="gnome-xml-tree.html#XMLATTRPTR"
558>xmlAttrPtr</A
559> attr);
560<A
561HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
562>xmlRefTablePtr</A
563> <A
564HREF="gnome-xml-valid.html#XMLCOPYREFTABLE"
565>xmlCopyRefTable</A
566> (<A
567HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
568>xmlRefTablePtr</A
569> table);
570void <A
571HREF="gnome-xml-valid.html#XMLFREEREFTABLE"
572>xmlFreeRefTable</A
573> (<A
574HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
575>xmlRefTablePtr</A
576> table);
577int <A
578HREF="gnome-xml-valid.html#XMLISREF"
579>xmlIsRef</A
580> (<A
581HREF="gnome-xml-tree.html#XMLDOCPTR"
582>xmlDocPtr</A
583> doc,
584 <A
585HREF="gnome-xml-tree.html#XMLNODEPTR"
586>xmlNodePtr</A
587> elem,
588 <A
589HREF="gnome-xml-tree.html#XMLATTRPTR"
590>xmlAttrPtr</A
591> attr);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000592int <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000593HREF="gnome-xml-valid.html#XMLREMOVEREF"
594>xmlRemoveRef</A
595> (<A
596HREF="gnome-xml-tree.html#XMLDOCPTR"
597>xmlDocPtr</A
598> doc,
599 <A
600HREF="gnome-xml-tree.html#XMLATTRPTR"
601>xmlAttrPtr</A
602> attr);
603int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000604HREF="gnome-xml-valid.html#XMLVALIDATEROOT"
605>xmlValidateRoot</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000606> (<A
607HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
608>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000609> ctxt,
610 <A
611HREF="gnome-xml-tree.html#XMLDOCPTR"
612>xmlDocPtr</A
613> doc);
614int <A
615HREF="gnome-xml-valid.html#XMLVALIDATEELEMENTDECL"
616>xmlValidateElementDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000617> (<A
618HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
619>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000620> ctxt,
621 <A
622HREF="gnome-xml-tree.html#XMLDOCPTR"
623>xmlDocPtr</A
624> doc,
625 <A
626HREF="gnome-xml-tree.html#XMLELEMENTPTR"
627>xmlElementPtr</A
628> elem);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000629<A
630HREF="gnome-xml-tree.html#XMLCHAR"
631>xmlChar</A
632>* <A
633HREF="gnome-xml-valid.html#XMLVALIDNORMALIZEATTRIBUTEVALUE"
634>xmlValidNormalizeAttributeValue</A
635> (<A
636HREF="gnome-xml-tree.html#XMLDOCPTR"
637>xmlDocPtr</A
638> doc,
639 <A
640HREF="gnome-xml-tree.html#XMLNODEPTR"
641>xmlNodePtr</A
642> elem,
643 const <A
644HREF="gnome-xml-tree.html#XMLCHAR"
645>xmlChar</A
646> *name,
647 const <A
648HREF="gnome-xml-tree.html#XMLCHAR"
649>xmlChar</A
650> *value);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000651int <A
652HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL"
653>xmlValidateAttributeDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000654> (<A
655HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
656>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000657> ctxt,
658 <A
659HREF="gnome-xml-tree.html#XMLDOCPTR"
660>xmlDocPtr</A
661> doc,
662 <A
663HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
664>xmlAttributePtr</A
665> attr);
666int <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000667HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
668>xmlValidateAttributeValue</A
669> (<A
670HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
671>xmlAttributeType</A
672> type,
673 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000674HREF="gnome-xml-tree.html#XMLCHAR"
675>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000676> *value);
677int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000678HREF="gnome-xml-valid.html#XMLVALIDATENOTATIONDECL"
679>xmlValidateNotationDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000680> (<A
681HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
682>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000683> ctxt,
684 <A
685HREF="gnome-xml-tree.html#XMLDOCPTR"
686>xmlDocPtr</A
687> doc,
688 <A
689HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
690>xmlNotationPtr</A
691> nota);
692int <A
693HREF="gnome-xml-valid.html#XMLVALIDATEDTD"
694>xmlValidateDtd</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000695> (<A
696HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
697>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000698> ctxt,
699 <A
700HREF="gnome-xml-tree.html#XMLDOCPTR"
701>xmlDocPtr</A
702> doc,
703 <A
704HREF="gnome-xml-tree.html#XMLDTDPTR"
705>xmlDtdPtr</A
706> dtd);
707int <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000708HREF="gnome-xml-valid.html#XMLVALIDATEDTDFINAL"
709>xmlValidateDtdFinal</A
710> (<A
711HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
712>xmlValidCtxtPtr</A
713> ctxt,
714 <A
715HREF="gnome-xml-tree.html#XMLDOCPTR"
716>xmlDocPtr</A
717> doc);
718int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000719HREF="gnome-xml-valid.html#XMLVALIDATEDOCUMENT"
720>xmlValidateDocument</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000721> (<A
722HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
723>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000724> ctxt,
725 <A
726HREF="gnome-xml-tree.html#XMLDOCPTR"
727>xmlDocPtr</A
728> doc);
729int <A
730HREF="gnome-xml-valid.html#XMLVALIDATEELEMENT"
731>xmlValidateElement</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000732> (<A
733HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
734>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000735> ctxt,
736 <A
737HREF="gnome-xml-tree.html#XMLDOCPTR"
738>xmlDocPtr</A
739> doc,
740 <A
741HREF="gnome-xml-tree.html#XMLNODEPTR"
742>xmlNodePtr</A
743> elem);
744int <A
745HREF="gnome-xml-valid.html#XMLVALIDATEONEELEMENT"
746>xmlValidateOneElement</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000747> (<A
748HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
749>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000750> ctxt,
751 <A
752HREF="gnome-xml-tree.html#XMLDOCPTR"
753>xmlDocPtr</A
754> doc,
755 <A
756HREF="gnome-xml-tree.html#XMLNODEPTR"
757>xmlNodePtr</A
758> elem);
759int <A
760HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE"
761>xmlValidateOneAttribute</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000762> (<A
763HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
764>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000765> ctxt,
766 <A
767HREF="gnome-xml-tree.html#XMLDOCPTR"
768>xmlDocPtr</A
769> doc,
770 <A
771HREF="gnome-xml-tree.html#XMLNODEPTR"
772>xmlNodePtr</A
773> elem,
774 <A
775HREF="gnome-xml-tree.html#XMLATTRPTR"
776>xmlAttrPtr</A
777> attr,
778 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000779HREF="gnome-xml-tree.html#XMLCHAR"
780>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000781> *value);
782int <A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000783HREF="gnome-xml-valid.html#XMLVALIDATEDOCUMENTFINAL"
784>xmlValidateDocumentFinal</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000785> (<A
786HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
787>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000788> ctxt,
789 <A
790HREF="gnome-xml-tree.html#XMLDOCPTR"
791>xmlDocPtr</A
792> doc);
793int <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000794HREF="gnome-xml-valid.html#XMLVALIDATENOTATIONUSE"
795>xmlValidateNotationUse</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000796> (<A
797HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
798>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000799> ctxt,
800 <A
801HREF="gnome-xml-tree.html#XMLDOCPTR"
802>xmlDocPtr</A
803> doc,
804 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000805HREF="gnome-xml-tree.html#XMLCHAR"
806>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000807> *notationName);
808int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000809HREF="gnome-xml-valid.html#XMLISMIXEDELEMENT"
810>xmlIsMixedElement</A
811> (<A
812HREF="gnome-xml-tree.html#XMLDOCPTR"
813>xmlDocPtr</A
814> doc,
815 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000816HREF="gnome-xml-tree.html#XMLCHAR"
817>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000818> *name);
819<A
820HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
821>xmlAttributePtr</A
822> <A
823HREF="gnome-xml-valid.html#XMLGETDTDATTRDESC"
824>xmlGetDtdAttrDesc</A
825> (<A
826HREF="gnome-xml-tree.html#XMLDTDPTR"
827>xmlDtdPtr</A
828> dtd,
829 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000830HREF="gnome-xml-tree.html#XMLCHAR"
831>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000832> *elem,
833 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000834HREF="gnome-xml-tree.html#XMLCHAR"
835>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000836> *name);
837<A
838HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
839>xmlNotationPtr</A
840> <A
841HREF="gnome-xml-valid.html#XMLGETDTDNOTATIONDESC"
842>xmlGetDtdNotationDesc</A
843> (<A
844HREF="gnome-xml-tree.html#XMLDTDPTR"
845>xmlDtdPtr</A
846> dtd,
847 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000848HREF="gnome-xml-tree.html#XMLCHAR"
849>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000850> *name);
851<A
852HREF="gnome-xml-tree.html#XMLELEMENTPTR"
853>xmlElementPtr</A
854> <A
855HREF="gnome-xml-valid.html#XMLGETDTDELEMENTDESC"
856>xmlGetDtdElementDesc</A
857> (<A
858HREF="gnome-xml-tree.html#XMLDTDPTR"
859>xmlDtdPtr</A
860> dtd,
861 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000862HREF="gnome-xml-tree.html#XMLCHAR"
863>xmlChar</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000864> *name);
865int <A
866HREF="gnome-xml-valid.html#XMLVALIDGETVALIDELEMENTS"
867>xmlValidGetValidElements</A
868> (<A
869HREF="gnome-xml-tree.html#XMLNODE"
870>xmlNode</A
871> *prev,
872 <A
873HREF="gnome-xml-tree.html#XMLNODE"
874>xmlNode</A
875> *next,
876 const <A
877HREF="gnome-xml-tree.html#XMLCHAR"
878>xmlChar</A
879> **list,
880 int max);
881int <A
882HREF="gnome-xml-valid.html#XMLVALIDGETPOTENTIALCHILDREN"
883>xmlValidGetPotentialChildren</A
884> (<A
885HREF="gnome-xml-tree.html#XMLELEMENTCONTENT"
886>xmlElementContent</A
887> *ctree,
888 const <A
889HREF="gnome-xml-tree.html#XMLCHAR"
890>xmlChar</A
891> **list,
892 int *len,
893 int max);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000894></TD
895></TR
896></TABLE
897></DIV
898><DIV
899CLASS="REFSECT1"
900><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +0000901NAME="AEN7631"
Daniel Veillard35925471999-02-25 08:46:07 +0000902></A
903><H2
904>Description</H2
905><P
906></P
907></DIV
908><DIV
909CLASS="REFSECT1"
910><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +0000911NAME="AEN7634"
Daniel Veillard35925471999-02-25 08:46:07 +0000912></A
913><H2
914>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000915><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000916CLASS="REFSECT2"
917><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +0000918NAME="AEN7636"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000919></A
920><H3
921><A
922NAME="XMLVALIDITYERRORFUNC"
923></A
924>xmlValidityErrorFunc ()</H3
925><TABLE
926BORDER="0"
927BGCOLOR="#D6E8FF"
928WIDTH="100%"
929CELLPADDING="6"
930><TR
931><TD
932><PRE
933CLASS="PROGRAMLISTING"
934>void (*xmlValidityErrorFunc) (void *ctx,
935 const char *msg,
936 ...);</PRE
937></TD
938></TR
939></TABLE
940><P
941></P
942><DIV
943CLASS="INFORMALTABLE"
944><P
945></P
946><TABLE
947BORDER="0"
948WIDTH="100%"
949BGCOLOR="#FFD0D0"
950CELLSPACING="0"
951CELLPADDING="4"
952CLASS="CALSTABLE"
953><TR
954><TD
955WIDTH="20%"
956ALIGN="RIGHT"
957VALIGN="TOP"
958><TT
959CLASS="PARAMETER"
960><I
961>ctx</I
962></TT
963>&nbsp;:</TD
964><TD
965WIDTH="80%"
966ALIGN="LEFT"
967VALIGN="TOP"
968>&nbsp;</TD
969></TR
970><TR
971><TD
972WIDTH="20%"
973ALIGN="RIGHT"
974VALIGN="TOP"
975><TT
976CLASS="PARAMETER"
977><I
978>msg</I
979></TT
980>&nbsp;:</TD
981><TD
982WIDTH="80%"
983ALIGN="LEFT"
984VALIGN="TOP"
985>&nbsp;</TD
986></TR
987><TR
988><TD
989WIDTH="20%"
990ALIGN="RIGHT"
991VALIGN="TOP"
992><TT
993CLASS="PARAMETER"
994><I
995>...</I
996></TT
997>&nbsp;:</TD
998><TD
999WIDTH="80%"
1000ALIGN="LEFT"
1001VALIGN="TOP"
1002>&nbsp;</TD
1003></TR
1004></TABLE
1005><P
1006></P
1007></DIV
1008></DIV
1009><HR><DIV
1010CLASS="REFSECT2"
1011><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001012NAME="AEN7658"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001013></A
1014><H3
1015><A
1016NAME="XMLVALIDITYWARNINGFUNC"
1017></A
1018>xmlValidityWarningFunc ()</H3
1019><TABLE
1020BORDER="0"
1021BGCOLOR="#D6E8FF"
1022WIDTH="100%"
1023CELLPADDING="6"
1024><TR
1025><TD
1026><PRE
1027CLASS="PROGRAMLISTING"
1028>void (*xmlValidityWarningFunc) (void *ctx,
1029 const char *msg,
1030 ...);</PRE
1031></TD
1032></TR
1033></TABLE
1034><P
1035></P
1036><DIV
1037CLASS="INFORMALTABLE"
1038><P
1039></P
1040><TABLE
1041BORDER="0"
1042WIDTH="100%"
1043BGCOLOR="#FFD0D0"
1044CELLSPACING="0"
1045CELLPADDING="4"
1046CLASS="CALSTABLE"
1047><TR
1048><TD
1049WIDTH="20%"
1050ALIGN="RIGHT"
1051VALIGN="TOP"
1052><TT
1053CLASS="PARAMETER"
1054><I
1055>ctx</I
1056></TT
1057>&nbsp;:</TD
1058><TD
1059WIDTH="80%"
1060ALIGN="LEFT"
1061VALIGN="TOP"
1062>&nbsp;</TD
1063></TR
1064><TR
1065><TD
1066WIDTH="20%"
1067ALIGN="RIGHT"
1068VALIGN="TOP"
1069><TT
1070CLASS="PARAMETER"
1071><I
1072>msg</I
1073></TT
1074>&nbsp;:</TD
1075><TD
1076WIDTH="80%"
1077ALIGN="LEFT"
1078VALIGN="TOP"
1079>&nbsp;</TD
1080></TR
1081><TR
1082><TD
1083WIDTH="20%"
1084ALIGN="RIGHT"
1085VALIGN="TOP"
1086><TT
1087CLASS="PARAMETER"
1088><I
1089>...</I
1090></TT
1091>&nbsp;:</TD
1092><TD
1093WIDTH="80%"
1094ALIGN="LEFT"
1095VALIGN="TOP"
1096>&nbsp;</TD
1097></TR
1098></TABLE
1099><P
1100></P
1101></DIV
1102></DIV
1103><HR><DIV
1104CLASS="REFSECT2"
1105><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001106NAME="AEN7680"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001107></A
1108><H3
1109><A
1110NAME="XMLVALIDCTXT"
1111></A
1112>struct xmlValidCtxt</H3
1113><TABLE
1114BORDER="0"
1115BGCOLOR="#D6E8FF"
1116WIDTH="100%"
1117CELLPADDING="6"
1118><TR
1119><TD
1120><PRE
1121CLASS="PROGRAMLISTING"
1122>struct xmlValidCtxt {
1123 void *userData; /* user specific data block */
1124 xmlValidityErrorFunc error; /* the callback in case of errors */
1125 xmlValidityWarningFunc warning; /* the callback in case of warning */
1126
1127 /* Node analysis stack used when validating within entities */
1128 xmlNodePtr node; /* Current parsed Node */
1129 int nodeNr; /* Depth of the parsing stack */
1130 int nodeMax; /* Max depth of the parsing stack */
1131 xmlNodePtr *nodeTab; /* array of nodes */
1132
1133 int finishDtd; /* finished validating the Dtd ? */
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001134 xmlDocPtr doc; /* the document */
1135 int valid; /* temporary validity check result */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001136};</PRE
1137></TD
1138></TR
1139></TABLE
1140><P
1141></P
1142></DIV
1143><HR><DIV
1144CLASS="REFSECT2"
1145><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001146NAME="AEN7685"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001147></A
1148><H3
1149><A
1150NAME="XMLVALIDCTXTPTR"
1151></A
1152>xmlValidCtxtPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001153><TABLE
1154BORDER="0"
1155BGCOLOR="#D6E8FF"
1156WIDTH="100%"
1157CELLPADDING="6"
1158><TR
1159><TD
1160><PRE
1161CLASS="PROGRAMLISTING"
1162>typedef xmlValidCtxt *xmlValidCtxtPtr;</PRE
1163></TD
1164></TR
1165></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001166><P
1167></P
1168></DIV
1169><HR><DIV
1170CLASS="REFSECT2"
1171><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001172NAME="AEN7690"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001173></A
1174><H3
1175><A
1176NAME="XMLNOTATIONTABLEPTR"
1177></A
1178>xmlNotationTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001179><TABLE
1180BORDER="0"
1181BGCOLOR="#D6E8FF"
1182WIDTH="100%"
1183CELLPADDING="6"
1184><TR
1185><TD
1186><PRE
1187CLASS="PROGRAMLISTING"
1188>typedef xmlNotationTable *xmlNotationTablePtr;</PRE
1189></TD
1190></TR
1191></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001192><P
1193></P
1194></DIV
1195><HR><DIV
1196CLASS="REFSECT2"
1197><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001198NAME="AEN7695"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001199></A
1200><H3
1201><A
1202NAME="XMLELEMENTTABLEPTR"
1203></A
1204>xmlElementTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001205><TABLE
1206BORDER="0"
1207BGCOLOR="#D6E8FF"
1208WIDTH="100%"
1209CELLPADDING="6"
1210><TR
1211><TD
1212><PRE
1213CLASS="PROGRAMLISTING"
1214>typedef xmlElementTable *xmlElementTablePtr;</PRE
1215></TD
1216></TR
1217></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001218><P
1219></P
1220></DIV
1221><HR><DIV
1222CLASS="REFSECT2"
1223><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001224NAME="AEN7700"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001225></A
1226><H3
1227><A
1228NAME="XMLATTRIBUTETABLEPTR"
1229></A
1230>xmlAttributeTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001231><TABLE
1232BORDER="0"
1233BGCOLOR="#D6E8FF"
1234WIDTH="100%"
1235CELLPADDING="6"
1236><TR
1237><TD
1238><PRE
1239CLASS="PROGRAMLISTING"
1240>typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE
1241></TD
1242></TR
1243></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001244><P
1245></P
1246></DIV
1247><HR><DIV
1248CLASS="REFSECT2"
1249><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001250NAME="AEN7705"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001251></A
1252><H3
1253><A
1254NAME="XMLIDTABLEPTR"
1255></A
1256>xmlIDTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001257><TABLE
1258BORDER="0"
1259BGCOLOR="#D6E8FF"
1260WIDTH="100%"
1261CELLPADDING="6"
1262><TR
1263><TD
1264><PRE
1265CLASS="PROGRAMLISTING"
1266>typedef xmlIDTable *xmlIDTablePtr;</PRE
1267></TD
1268></TR
1269></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001270><P
1271></P
1272></DIV
1273><HR><DIV
1274CLASS="REFSECT2"
1275><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001276NAME="AEN7710"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001277></A
1278><H3
1279><A
1280NAME="XMLREFTABLEPTR"
1281></A
1282>xmlRefTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001283><TABLE
1284BORDER="0"
1285BGCOLOR="#D6E8FF"
1286WIDTH="100%"
1287CELLPADDING="6"
1288><TR
1289><TD
1290><PRE
1291CLASS="PROGRAMLISTING"
1292>typedef xmlRefTable *xmlRefTablePtr;</PRE
1293></TD
1294></TR
1295></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001296><P
1297></P
1298></DIV
1299><HR><DIV
1300CLASS="REFSECT2"
1301><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001302NAME="AEN7715"
Daniel Veillard35925471999-02-25 08:46:07 +00001303></A
1304><H3
1305><A
1306NAME="XMLADDNOTATIONDECL"
1307></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001308>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001309><TABLE
1310BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001311BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001312WIDTH="100%"
1313CELLPADDING="6"
1314><TR
1315><TD
1316><PRE
1317CLASS="PROGRAMLISTING"
1318><A
1319HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
1320>xmlNotationPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001321> xmlAddNotationDecl (<A
1322HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
1323>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001324> ctxt,
1325 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001326HREF="gnome-xml-tree.html#XMLDTDPTR"
1327>xmlDtdPtr</A
1328> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001329 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001330HREF="gnome-xml-tree.html#XMLCHAR"
1331>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001332> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001333 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001334HREF="gnome-xml-tree.html#XMLCHAR"
1335>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001336> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001337 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001338HREF="gnome-xml-tree.html#XMLCHAR"
1339>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001340> *SystemID);</PRE
1341></TD
1342></TR
1343></TABLE
1344><P
1345>Register a new notation declaration</P
1346><P
1347></P
1348><DIV
1349CLASS="INFORMALTABLE"
1350><P
1351></P
1352><TABLE
1353BORDER="0"
1354WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001355BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001356CELLSPACING="0"
1357CELLPADDING="4"
1358CLASS="CALSTABLE"
1359><TR
1360><TD
1361WIDTH="20%"
1362ALIGN="RIGHT"
1363VALIGN="TOP"
1364><TT
1365CLASS="PARAMETER"
1366><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001367>ctxt</I
1368></TT
1369>&nbsp;:</TD
1370><TD
1371WIDTH="80%"
1372ALIGN="LEFT"
1373VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001374> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001375></TR
1376><TR
1377><TD
1378WIDTH="20%"
1379ALIGN="RIGHT"
1380VALIGN="TOP"
1381><TT
1382CLASS="PARAMETER"
1383><I
Daniel Veillard35925471999-02-25 08:46:07 +00001384>dtd</I
1385></TT
1386>&nbsp;:</TD
1387><TD
1388WIDTH="80%"
1389ALIGN="LEFT"
1390VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001391> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001392></TR
1393><TR
1394><TD
1395WIDTH="20%"
1396ALIGN="RIGHT"
1397VALIGN="TOP"
1398><TT
1399CLASS="PARAMETER"
1400><I
1401>name</I
1402></TT
1403>&nbsp;:</TD
1404><TD
1405WIDTH="80%"
1406ALIGN="LEFT"
1407VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001408> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001409></TR
1410><TR
1411><TD
1412WIDTH="20%"
1413ALIGN="RIGHT"
1414VALIGN="TOP"
1415><TT
1416CLASS="PARAMETER"
1417><I
1418>PublicID</I
1419></TT
1420>&nbsp;:</TD
1421><TD
1422WIDTH="80%"
1423ALIGN="LEFT"
1424VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001425> the public identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001426></TR
1427><TR
1428><TD
1429WIDTH="20%"
1430ALIGN="RIGHT"
1431VALIGN="TOP"
1432><TT
1433CLASS="PARAMETER"
1434><I
1435>SystemID</I
1436></TT
1437>&nbsp;:</TD
1438><TD
1439WIDTH="80%"
1440ALIGN="LEFT"
1441VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001442> the system identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001443></TR
1444><TR
1445><TD
1446WIDTH="20%"
1447ALIGN="RIGHT"
1448VALIGN="TOP"
1449><I
1450CLASS="EMPHASIS"
1451>Returns</I
1452> :</TD
1453><TD
1454WIDTH="80%"
1455ALIGN="LEFT"
1456VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001457>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001458></TR
1459></TABLE
1460><P
1461></P
1462></DIV
1463></DIV
1464><HR><DIV
1465CLASS="REFSECT2"
1466><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001467NAME="AEN7756"
Daniel Veillard35925471999-02-25 08:46:07 +00001468></A
1469><H3
1470><A
1471NAME="XMLCOPYNOTATIONTABLE"
1472></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001473>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001474><TABLE
1475BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001476BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001477WIDTH="100%"
1478CELLPADDING="6"
1479><TR
1480><TD
1481><PRE
1482CLASS="PROGRAMLISTING"
1483><A
1484HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1485>xmlNotationTablePtr</A
1486> xmlCopyNotationTable (<A
1487HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1488>xmlNotationTablePtr</A
1489> table);</PRE
1490></TD
1491></TR
1492></TABLE
1493><P
1494>Build a copy of a notation table.</P
1495><P
1496></P
1497><DIV
1498CLASS="INFORMALTABLE"
1499><P
1500></P
1501><TABLE
1502BORDER="0"
1503WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001504BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001505CELLSPACING="0"
1506CELLPADDING="4"
1507CLASS="CALSTABLE"
1508><TR
1509><TD
1510WIDTH="20%"
1511ALIGN="RIGHT"
1512VALIGN="TOP"
1513><TT
1514CLASS="PARAMETER"
1515><I
1516>table</I
1517></TT
1518>&nbsp;:</TD
1519><TD
1520WIDTH="80%"
1521ALIGN="LEFT"
1522VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001523> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001524></TR
1525><TR
1526><TD
1527WIDTH="20%"
1528ALIGN="RIGHT"
1529VALIGN="TOP"
1530><I
1531CLASS="EMPHASIS"
1532>Returns</I
1533> :</TD
1534><TD
1535WIDTH="80%"
1536ALIGN="LEFT"
1537VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001538>the new xmlNotationTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001539></TR
1540></TABLE
1541><P
1542></P
1543></DIV
1544></DIV
1545><HR><DIV
1546CLASS="REFSECT2"
1547><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001548NAME="AEN7777"
Daniel Veillard35925471999-02-25 08:46:07 +00001549></A
1550><H3
1551><A
1552NAME="XMLFREENOTATIONTABLE"
1553></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001554>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001555><TABLE
1556BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001557BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001558WIDTH="100%"
1559CELLPADDING="6"
1560><TR
1561><TD
1562><PRE
1563CLASS="PROGRAMLISTING"
1564>void xmlFreeNotationTable (<A
1565HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1566>xmlNotationTablePtr</A
1567> table);</PRE
1568></TD
1569></TR
1570></TABLE
1571><P
1572>Deallocate the memory used by an entities hash table.</P
1573><P
1574></P
1575><DIV
1576CLASS="INFORMALTABLE"
1577><P
1578></P
1579><TABLE
1580BORDER="0"
1581WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001582BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001583CELLSPACING="0"
1584CELLPADDING="4"
1585CLASS="CALSTABLE"
1586><TR
1587><TD
1588WIDTH="20%"
1589ALIGN="RIGHT"
1590VALIGN="TOP"
1591><TT
1592CLASS="PARAMETER"
1593><I
1594>table</I
1595></TT
1596>&nbsp;:</TD
1597><TD
1598WIDTH="80%"
1599ALIGN="LEFT"
1600VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001601> An notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001602></TR
1603></TABLE
1604><P
1605></P
1606></DIV
1607></DIV
1608><HR><DIV
1609CLASS="REFSECT2"
1610><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001611NAME="AEN7793"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001612></A
1613><H3
1614><A
1615NAME="XMLDUMPNOTATIONDECL"
1616></A
1617>xmlDumpNotationDecl ()</H3
1618><TABLE
1619BORDER="0"
1620BGCOLOR="#D6E8FF"
1621WIDTH="100%"
1622CELLPADDING="6"
1623><TR
1624><TD
1625><PRE
1626CLASS="PROGRAMLISTING"
1627>void xmlDumpNotationDecl (<A
1628HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1629>xmlBufferPtr</A
1630> buf,
1631 <A
1632HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
1633>xmlNotationPtr</A
1634> nota);</PRE
1635></TD
1636></TR
1637></TABLE
1638><P
1639>This will dump the content the notation declaration as an XML DTD definition</P
1640><P
1641></P
1642><DIV
1643CLASS="INFORMALTABLE"
1644><P
1645></P
1646><TABLE
1647BORDER="0"
1648WIDTH="100%"
1649BGCOLOR="#FFD0D0"
1650CELLSPACING="0"
1651CELLPADDING="4"
1652CLASS="CALSTABLE"
1653><TR
1654><TD
1655WIDTH="20%"
1656ALIGN="RIGHT"
1657VALIGN="TOP"
1658><TT
1659CLASS="PARAMETER"
1660><I
1661>buf</I
1662></TT
1663>&nbsp;:</TD
1664><TD
1665WIDTH="80%"
1666ALIGN="LEFT"
1667VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001668> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001669></TR
1670><TR
1671><TD
1672WIDTH="20%"
1673ALIGN="RIGHT"
1674VALIGN="TOP"
1675><TT
1676CLASS="PARAMETER"
1677><I
1678>nota</I
1679></TT
1680>&nbsp;:</TD
1681><TD
1682WIDTH="80%"
1683ALIGN="LEFT"
1684VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001685> A notation declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001686></TR
1687></TABLE
1688><P
1689></P
1690></DIV
1691></DIV
1692><HR><DIV
1693CLASS="REFSECT2"
1694><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001695NAME="AEN7814"
Daniel Veillard35925471999-02-25 08:46:07 +00001696></A
1697><H3
1698><A
1699NAME="XMLDUMPNOTATIONTABLE"
1700></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001701>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001702><TABLE
1703BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001704BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001705WIDTH="100%"
1706CELLPADDING="6"
1707><TR
1708><TD
1709><PRE
1710CLASS="PROGRAMLISTING"
1711>void xmlDumpNotationTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001712HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1713>xmlBufferPtr</A
1714> buf,
1715 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001716HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1717>xmlNotationTablePtr</A
1718> table);</PRE
1719></TD
1720></TR
1721></TABLE
1722><P
1723>This will dump the content of the notation table as an XML DTD definition</P
1724><P
Daniel Veillard35925471999-02-25 08:46:07 +00001725></P
1726><DIV
1727CLASS="INFORMALTABLE"
1728><P
1729></P
1730><TABLE
1731BORDER="0"
1732WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001733BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001734CELLSPACING="0"
1735CELLPADDING="4"
1736CLASS="CALSTABLE"
1737><TR
1738><TD
1739WIDTH="20%"
1740ALIGN="RIGHT"
1741VALIGN="TOP"
1742><TT
1743CLASS="PARAMETER"
1744><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001745>buf</I
1746></TT
1747>&nbsp;:</TD
1748><TD
1749WIDTH="80%"
1750ALIGN="LEFT"
1751VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001752> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001753></TR
1754><TR
1755><TD
1756WIDTH="20%"
1757ALIGN="RIGHT"
1758VALIGN="TOP"
1759><TT
1760CLASS="PARAMETER"
1761><I
Daniel Veillard35925471999-02-25 08:46:07 +00001762>table</I
1763></TT
1764>&nbsp;:</TD
1765><TD
1766WIDTH="80%"
1767ALIGN="LEFT"
1768VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001769> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001770></TR
1771></TABLE
1772><P
1773></P
1774></DIV
1775></DIV
1776><HR><DIV
1777CLASS="REFSECT2"
1778><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001779NAME="AEN7835"
Daniel Veillard35925471999-02-25 08:46:07 +00001780></A
1781><H3
1782><A
1783NAME="XMLNEWELEMENTCONTENT"
1784></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001785>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001786><TABLE
1787BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001788BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001789WIDTH="100%"
1790CELLPADDING="6"
1791><TR
1792><TD
1793><PRE
1794CLASS="PROGRAMLISTING"
1795><A
1796HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1797>xmlElementContentPtr</A
1798> xmlNewElementContent (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001799HREF="gnome-xml-tree.html#XMLCHAR"
1800>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001801> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00001802 <A
1803HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
1804>xmlElementContentType</A
1805> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001806></TD
1807></TR
1808></TABLE
1809><P
1810>Allocate an element content structure.</P
1811><P
1812></P
1813><DIV
1814CLASS="INFORMALTABLE"
1815><P
1816></P
1817><TABLE
1818BORDER="0"
1819WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001820BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001821CELLSPACING="0"
1822CELLPADDING="4"
1823CLASS="CALSTABLE"
1824><TR
1825><TD
1826WIDTH="20%"
1827ALIGN="RIGHT"
1828VALIGN="TOP"
1829><TT
1830CLASS="PARAMETER"
1831><I
1832>name</I
1833></TT
1834>&nbsp;:</TD
1835><TD
1836WIDTH="80%"
1837ALIGN="LEFT"
1838VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001839> the subelement name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001840></TR
1841><TR
1842><TD
1843WIDTH="20%"
1844ALIGN="RIGHT"
1845VALIGN="TOP"
1846><TT
1847CLASS="PARAMETER"
1848><I
1849>type</I
1850></TT
1851>&nbsp;:</TD
1852><TD
1853WIDTH="80%"
1854ALIGN="LEFT"
1855VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001856> the type of element content decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001857></TR
1858><TR
1859><TD
1860WIDTH="20%"
1861ALIGN="RIGHT"
1862VALIGN="TOP"
1863><I
1864CLASS="EMPHASIS"
1865>Returns</I
1866> :</TD
1867><TD
1868WIDTH="80%"
1869ALIGN="LEFT"
1870VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001871>NULL if not, othervise the new element content structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001872></TR
1873></TABLE
1874><P
1875></P
1876></DIV
1877></DIV
1878><HR><DIV
1879CLASS="REFSECT2"
1880><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001881NAME="AEN7861"
Daniel Veillard35925471999-02-25 08:46:07 +00001882></A
1883><H3
1884><A
1885NAME="XMLCOPYELEMENTCONTENT"
1886></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001887>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001888><TABLE
1889BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001890BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001891WIDTH="100%"
1892CELLPADDING="6"
1893><TR
1894><TD
1895><PRE
1896CLASS="PROGRAMLISTING"
1897><A
1898HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1899>xmlElementContentPtr</A
1900> xmlCopyElementContent (<A
1901HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1902>xmlElementContentPtr</A
1903> content);</PRE
1904></TD
1905></TR
1906></TABLE
1907><P
1908>Build a copy of an element content description.</P
1909><P
1910></P
1911><DIV
1912CLASS="INFORMALTABLE"
1913><P
1914></P
1915><TABLE
1916BORDER="0"
1917WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001918BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001919CELLSPACING="0"
1920CELLPADDING="4"
1921CLASS="CALSTABLE"
1922><TR
1923><TD
1924WIDTH="20%"
1925ALIGN="RIGHT"
1926VALIGN="TOP"
1927><TT
1928CLASS="PARAMETER"
1929><I
1930>content</I
1931></TT
1932>&nbsp;:</TD
1933><TD
1934WIDTH="80%"
1935ALIGN="LEFT"
1936VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001937> An element content pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001938></TR
1939><TR
1940><TD
1941WIDTH="20%"
1942ALIGN="RIGHT"
1943VALIGN="TOP"
1944><I
1945CLASS="EMPHASIS"
1946>Returns</I
1947> :</TD
1948><TD
1949WIDTH="80%"
1950ALIGN="LEFT"
1951VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001952>the new xmlElementContentPtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001953></TR
1954></TABLE
1955><P
1956></P
1957></DIV
1958></DIV
1959><HR><DIV
1960CLASS="REFSECT2"
1961><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001962NAME="AEN7882"
Daniel Veillard35925471999-02-25 08:46:07 +00001963></A
1964><H3
1965><A
1966NAME="XMLFREEELEMENTCONTENT"
1967></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001968>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001969><TABLE
1970BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001971BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001972WIDTH="100%"
1973CELLPADDING="6"
1974><TR
1975><TD
1976><PRE
1977CLASS="PROGRAMLISTING"
1978>void xmlFreeElementContent (<A
1979HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1980>xmlElementContentPtr</A
1981> cur);</PRE
1982></TD
1983></TR
1984></TABLE
1985><P
1986>Free an element content structure. This is a recursive call !</P
1987><P
1988></P
1989><DIV
1990CLASS="INFORMALTABLE"
1991><P
1992></P
1993><TABLE
1994BORDER="0"
1995WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001996BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001997CELLSPACING="0"
1998CELLPADDING="4"
1999CLASS="CALSTABLE"
2000><TR
2001><TD
2002WIDTH="20%"
2003ALIGN="RIGHT"
2004VALIGN="TOP"
2005><TT
2006CLASS="PARAMETER"
2007><I
2008>cur</I
2009></TT
2010>&nbsp;:</TD
2011><TD
2012WIDTH="80%"
2013ALIGN="LEFT"
2014VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002015> the element content tree to free</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002016></TR
2017></TABLE
2018><P
2019></P
2020></DIV
2021></DIV
2022><HR><DIV
2023CLASS="REFSECT2"
2024><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00002025NAME="AEN7898"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002026></A
2027><H3
2028><A
2029NAME="XMLSPRINTFELEMENTCONTENT"
2030></A
2031>xmlSprintfElementContent ()</H3
2032><TABLE
2033BORDER="0"
2034BGCOLOR="#D6E8FF"
2035WIDTH="100%"
2036CELLPADDING="6"
2037><TR
2038><TD
2039><PRE
2040CLASS="PROGRAMLISTING"
2041>void xmlSprintfElementContent (char *buf,
2042 <A
2043HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2044>xmlElementContentPtr</A
2045> content,
2046 int glob);</PRE
2047></TD
2048></TR
2049></TABLE
2050><P
2051>This will dump the content of the element content definition
2052Intended just for the debug routine</P
2053><P
2054></P
2055><DIV
2056CLASS="INFORMALTABLE"
2057><P
2058></P
2059><TABLE
2060BORDER="0"
2061WIDTH="100%"
2062BGCOLOR="#FFD0D0"
2063CELLSPACING="0"
2064CELLPADDING="4"
2065CLASS="CALSTABLE"
2066><TR
2067><TD
2068WIDTH="20%"
2069ALIGN="RIGHT"
2070VALIGN="TOP"
2071><TT
2072CLASS="PARAMETER"
2073><I
2074>buf</I
2075></TT
2076>&nbsp;:</TD
2077><TD
2078WIDTH="80%"
2079ALIGN="LEFT"
2080VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002081> an output buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002082></TR
2083><TR
2084><TD
2085WIDTH="20%"
2086ALIGN="RIGHT"
2087VALIGN="TOP"
2088><TT
2089CLASS="PARAMETER"
2090><I
2091>content</I
2092></TT
2093>&nbsp;:</TD
2094><TD
2095WIDTH="80%"
2096ALIGN="LEFT"
2097VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002098> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002099></TR
2100><TR
2101><TD
2102WIDTH="20%"
2103ALIGN="RIGHT"
2104VALIGN="TOP"
2105><TT
2106CLASS="PARAMETER"
2107><I
2108>glob</I
2109></TT
2110>&nbsp;:</TD
2111><TD
2112WIDTH="80%"
2113ALIGN="LEFT"
2114VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002115> 1 if one must print the englobing parenthesis, 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002116></TR
2117></TABLE
2118><P
2119></P
2120></DIV
2121></DIV
2122><HR><DIV
2123CLASS="REFSECT2"
2124><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00002125NAME="AEN7922"
Daniel Veillard35925471999-02-25 08:46:07 +00002126></A
2127><H3
2128><A
2129NAME="XMLADDELEMENTDECL"
2130></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002131>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002132><TABLE
2133BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002134BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002135WIDTH="100%"
2136CELLPADDING="6"
2137><TR
2138><TD
2139><PRE
2140CLASS="PROGRAMLISTING"
2141><A
2142HREF="gnome-xml-tree.html#XMLELEMENTPTR"
2143>xmlElementPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002144> xmlAddElementDecl (<A
2145HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
2146>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002147> ctxt,
2148 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002149HREF="gnome-xml-tree.html#XMLDTDPTR"
2150>xmlDtdPtr</A
2151> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002152 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002153HREF="gnome-xml-tree.html#XMLCHAR"
2154>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002155> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002156 <A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00002157HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL"
2158>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002159> type,
Daniel Veillard35925471999-02-25 08:46:07 +00002160 <A
2161HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2162>xmlElementContentPtr</A
2163> content);</PRE
2164></TD
2165></TR
2166></TABLE
2167><P
2168>Register a new element declaration</P
2169><P
2170></P
2171><DIV
2172CLASS="INFORMALTABLE"
2173><P
2174></P
2175><TABLE
2176BORDER="0"
2177WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002178BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002179CELLSPACING="0"
2180CELLPADDING="4"
2181CLASS="CALSTABLE"
2182><TR
2183><TD
2184WIDTH="20%"
2185ALIGN="RIGHT"
2186VALIGN="TOP"
2187><TT
2188CLASS="PARAMETER"
2189><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002190>ctxt</I
2191></TT
2192>&nbsp;:</TD
2193><TD
2194WIDTH="80%"
2195ALIGN="LEFT"
2196VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002197> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002198></TR
2199><TR
2200><TD
2201WIDTH="20%"
2202ALIGN="RIGHT"
2203VALIGN="TOP"
2204><TT
2205CLASS="PARAMETER"
2206><I
Daniel Veillard35925471999-02-25 08:46:07 +00002207>dtd</I
2208></TT
2209>&nbsp;:</TD
2210><TD
2211WIDTH="80%"
2212ALIGN="LEFT"
2213VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002214> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002215></TR
2216><TR
2217><TD
2218WIDTH="20%"
2219ALIGN="RIGHT"
2220VALIGN="TOP"
2221><TT
2222CLASS="PARAMETER"
2223><I
2224>name</I
2225></TT
2226>&nbsp;:</TD
2227><TD
2228WIDTH="80%"
2229ALIGN="LEFT"
2230VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002231> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002232></TR
2233><TR
2234><TD
2235WIDTH="20%"
2236ALIGN="RIGHT"
2237VALIGN="TOP"
2238><TT
2239CLASS="PARAMETER"
2240><I
2241>type</I
2242></TT
2243>&nbsp;:</TD
2244><TD
2245WIDTH="80%"
2246ALIGN="LEFT"
2247VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002248> the element type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002249></TR
2250><TR
2251><TD
2252WIDTH="20%"
2253ALIGN="RIGHT"
2254VALIGN="TOP"
2255><TT
2256CLASS="PARAMETER"
2257><I
2258>content</I
2259></TT
2260>&nbsp;:</TD
2261><TD
2262WIDTH="80%"
2263ALIGN="LEFT"
2264VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002265> the element content tree or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002266></TR
2267><TR
2268><TD
2269WIDTH="20%"
2270ALIGN="RIGHT"
2271VALIGN="TOP"
2272><I
2273CLASS="EMPHASIS"
2274>Returns</I
2275> :</TD
2276><TD
2277WIDTH="80%"
2278ALIGN="LEFT"
2279VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002280>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002281></TR
2282></TABLE
2283><P
2284></P
2285></DIV
2286></DIV
2287><HR><DIV
2288CLASS="REFSECT2"
2289><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00002290NAME="AEN7963"
Daniel Veillard35925471999-02-25 08:46:07 +00002291></A
2292><H3
2293><A
2294NAME="XMLCOPYELEMENTTABLE"
2295></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002296>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002297><TABLE
2298BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002299BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002300WIDTH="100%"
2301CELLPADDING="6"
2302><TR
2303><TD
2304><PRE
2305CLASS="PROGRAMLISTING"
2306><A
2307HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2308>xmlElementTablePtr</A
2309> xmlCopyElementTable (<A
2310HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2311>xmlElementTablePtr</A
2312> table);</PRE
2313></TD
2314></TR
2315></TABLE
2316><P
2317>Build a copy of an element table.</P
2318><P
2319></P
2320><DIV
2321CLASS="INFORMALTABLE"
2322><P
2323></P
2324><TABLE
2325BORDER="0"
2326WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002327BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002328CELLSPACING="0"
2329CELLPADDING="4"
2330CLASS="CALSTABLE"
2331><TR
2332><TD
2333WIDTH="20%"
2334ALIGN="RIGHT"
2335VALIGN="TOP"
2336><TT
2337CLASS="PARAMETER"
2338><I
2339>table</I
2340></TT
2341>&nbsp;:</TD
2342><TD
2343WIDTH="80%"
2344ALIGN="LEFT"
2345VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002346> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002347></TR
2348><TR
2349><TD
2350WIDTH="20%"
2351ALIGN="RIGHT"
2352VALIGN="TOP"
2353><I
2354CLASS="EMPHASIS"
2355>Returns</I
2356> :</TD
2357><TD
2358WIDTH="80%"
2359ALIGN="LEFT"
2360VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002361>the new xmlElementTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002362></TR
2363></TABLE
2364><P
2365></P
2366></DIV
2367></DIV
2368><HR><DIV
2369CLASS="REFSECT2"
2370><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00002371NAME="AEN7984"
Daniel Veillard35925471999-02-25 08:46:07 +00002372></A
2373><H3
2374><A
2375NAME="XMLFREEELEMENTTABLE"
2376></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002377>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002378><TABLE
2379BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002380BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002381WIDTH="100%"
2382CELLPADDING="6"
2383><TR
2384><TD
2385><PRE
2386CLASS="PROGRAMLISTING"
2387>void xmlFreeElementTable (<A
2388HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2389>xmlElementTablePtr</A
2390> table);</PRE
2391></TD
2392></TR
2393></TABLE
2394><P
2395>Deallocate the memory used by an element hash table.</P
2396><P
2397></P
2398><DIV
2399CLASS="INFORMALTABLE"
2400><P
2401></P
2402><TABLE
2403BORDER="0"
2404WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002405BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002406CELLSPACING="0"
2407CELLPADDING="4"
2408CLASS="CALSTABLE"
2409><TR
2410><TD
2411WIDTH="20%"
2412ALIGN="RIGHT"
2413VALIGN="TOP"
2414><TT
2415CLASS="PARAMETER"
2416><I
2417>table</I
2418></TT
2419>&nbsp;:</TD
2420><TD
2421WIDTH="80%"
2422ALIGN="LEFT"
2423VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002424> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002425></TR
2426></TABLE
2427><P
2428></P
2429></DIV
2430></DIV
2431><HR><DIV
2432CLASS="REFSECT2"
2433><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00002434NAME="AEN8000"
Daniel Veillard35925471999-02-25 08:46:07 +00002435></A
2436><H3
2437><A
2438NAME="XMLDUMPELEMENTTABLE"
2439></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002440>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002441><TABLE
2442BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002443BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002444WIDTH="100%"
2445CELLPADDING="6"
2446><TR
2447><TD
2448><PRE
2449CLASS="PROGRAMLISTING"
2450>void xmlDumpElementTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002451HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2452>xmlBufferPtr</A
2453> buf,
2454 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002455HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2456>xmlElementTablePtr</A
2457> table);</PRE
2458></TD
2459></TR
2460></TABLE
2461><P
2462>This will dump the content of the element table as an XML DTD definition</P
2463><P
Daniel Veillard35925471999-02-25 08:46:07 +00002464></P
2465><DIV
2466CLASS="INFORMALTABLE"
2467><P
2468></P
2469><TABLE
2470BORDER="0"
2471WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002472BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002473CELLSPACING="0"
2474CELLPADDING="4"
2475CLASS="CALSTABLE"
2476><TR
2477><TD
2478WIDTH="20%"
2479ALIGN="RIGHT"
2480VALIGN="TOP"
2481><TT
2482CLASS="PARAMETER"
2483><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002484>buf</I
2485></TT
2486>&nbsp;:</TD
2487><TD
2488WIDTH="80%"
2489ALIGN="LEFT"
2490VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002491> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002492></TR
2493><TR
2494><TD
2495WIDTH="20%"
2496ALIGN="RIGHT"
2497VALIGN="TOP"
2498><TT
2499CLASS="PARAMETER"
2500><I
Daniel Veillard35925471999-02-25 08:46:07 +00002501>table</I
2502></TT
2503>&nbsp;:</TD
2504><TD
2505WIDTH="80%"
2506ALIGN="LEFT"
2507VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002508> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002509></TR
2510></TABLE
2511><P
2512></P
2513></DIV
2514></DIV
2515><HR><DIV
2516CLASS="REFSECT2"
2517><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00002518NAME="AEN8021"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002519></A
2520><H3
2521><A
2522NAME="XMLDUMPELEMENTDECL"
2523></A
2524>xmlDumpElementDecl ()</H3
2525><TABLE
2526BORDER="0"
2527BGCOLOR="#D6E8FF"
2528WIDTH="100%"
2529CELLPADDING="6"
2530><TR
2531><TD
2532><PRE
2533CLASS="PROGRAMLISTING"
2534>void xmlDumpElementDecl (<A
2535HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2536>xmlBufferPtr</A
2537> buf,
2538 <A
2539HREF="gnome-xml-tree.html#XMLELEMENTPTR"
2540>xmlElementPtr</A
2541> elem);</PRE
2542></TD
2543></TR
2544></TABLE
2545><P
2546>This will dump the content of the element declaration as an XML
2547DTD definition</P
2548><P
2549></P
2550><DIV
2551CLASS="INFORMALTABLE"
2552><P
2553></P
2554><TABLE
2555BORDER="0"
2556WIDTH="100%"
2557BGCOLOR="#FFD0D0"
2558CELLSPACING="0"
2559CELLPADDING="4"
2560CLASS="CALSTABLE"
2561><TR
2562><TD
2563WIDTH="20%"
2564ALIGN="RIGHT"
2565VALIGN="TOP"
2566><TT
2567CLASS="PARAMETER"
2568><I
2569>buf</I
2570></TT
2571>&nbsp;:</TD
2572><TD
2573WIDTH="80%"
2574ALIGN="LEFT"
2575VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002576> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002577></TR
2578><TR
2579><TD
2580WIDTH="20%"
2581ALIGN="RIGHT"
2582VALIGN="TOP"
2583><TT
2584CLASS="PARAMETER"
2585><I
2586>elem</I
2587></TT
2588>&nbsp;:</TD
2589><TD
2590WIDTH="80%"
2591ALIGN="LEFT"
2592VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002593> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002594></TR
2595></TABLE
2596><P
2597></P
2598></DIV
2599></DIV
2600><HR><DIV
2601CLASS="REFSECT2"
2602><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00002603NAME="AEN8042"
Daniel Veillard35925471999-02-25 08:46:07 +00002604></A
2605><H3
2606><A
2607NAME="XMLCREATEENUMERATION"
2608></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002609>xmlCreateEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002610><TABLE
2611BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002612BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002613WIDTH="100%"
2614CELLPADDING="6"
2615><TR
2616><TD
2617><PRE
2618CLASS="PROGRAMLISTING"
2619><A
2620HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2621>xmlEnumerationPtr</A
2622> xmlCreateEnumeration (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002623HREF="gnome-xml-tree.html#XMLCHAR"
2624>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002625> *name);</PRE
2626></TD
2627></TR
2628></TABLE
2629><P
2630>create and initialize an enumeration attribute node.</P
2631><P
2632></P
2633><DIV
2634CLASS="INFORMALTABLE"
2635><P
2636></P
2637><TABLE
2638BORDER="0"
2639WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002640BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002641CELLSPACING="0"
2642CELLPADDING="4"
2643CLASS="CALSTABLE"
2644><TR
2645><TD
2646WIDTH="20%"
2647ALIGN="RIGHT"
2648VALIGN="TOP"
2649><TT
2650CLASS="PARAMETER"
2651><I
2652>name</I
2653></TT
2654>&nbsp;:</TD
2655><TD
2656WIDTH="80%"
2657ALIGN="LEFT"
2658VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002659> the enumeration name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002660></TR
2661><TR
2662><TD
2663WIDTH="20%"
2664ALIGN="RIGHT"
2665VALIGN="TOP"
2666><I
2667CLASS="EMPHASIS"
2668>Returns</I
2669> :</TD
2670><TD
2671WIDTH="80%"
2672ALIGN="LEFT"
2673VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002674>the xmlEnumerationPtr just created or NULL in case
2675of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002676></TR
2677></TABLE
2678><P
2679></P
2680></DIV
2681></DIV
2682><HR><DIV
2683CLASS="REFSECT2"
2684><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00002685NAME="AEN8063"
Daniel Veillard35925471999-02-25 08:46:07 +00002686></A
2687><H3
2688><A
2689NAME="XMLFREEENUMERATION"
2690></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002691>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002692><TABLE
2693BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002694BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002695WIDTH="100%"
2696CELLPADDING="6"
2697><TR
2698><TD
2699><PRE
2700CLASS="PROGRAMLISTING"
2701>void xmlFreeEnumeration (<A
2702HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2703>xmlEnumerationPtr</A
2704> cur);</PRE
2705></TD
2706></TR
2707></TABLE
2708><P
2709>free an enumeration attribute node (recursive).</P
2710><P
2711></P
2712><DIV
2713CLASS="INFORMALTABLE"
2714><P
2715></P
2716><TABLE
2717BORDER="0"
2718WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002719BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002720CELLSPACING="0"
2721CELLPADDING="4"
2722CLASS="CALSTABLE"
2723><TR
2724><TD
2725WIDTH="20%"
2726ALIGN="RIGHT"
2727VALIGN="TOP"
2728><TT
2729CLASS="PARAMETER"
2730><I
2731>cur</I
2732></TT
2733>&nbsp;:</TD
2734><TD
2735WIDTH="80%"
2736ALIGN="LEFT"
2737VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002738> the tree to free.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002739></TR
2740></TABLE
2741><P
2742></P
2743></DIV
2744></DIV
2745><HR><DIV
2746CLASS="REFSECT2"
2747><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00002748NAME="AEN8079"
Daniel Veillard35925471999-02-25 08:46:07 +00002749></A
2750><H3
2751><A
2752NAME="XMLCOPYENUMERATION"
2753></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002754>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002755><TABLE
2756BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002757BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002758WIDTH="100%"
2759CELLPADDING="6"
2760><TR
2761><TD
2762><PRE
2763CLASS="PROGRAMLISTING"
2764><A
2765HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2766>xmlEnumerationPtr</A
2767> xmlCopyEnumeration (<A
2768HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2769>xmlEnumerationPtr</A
2770> cur);</PRE
2771></TD
2772></TR
2773></TABLE
2774><P
2775>Copy an enumeration attribute node (recursive).</P
2776><P
2777></P
2778><DIV
2779CLASS="INFORMALTABLE"
2780><P
2781></P
2782><TABLE
2783BORDER="0"
2784WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002785BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002786CELLSPACING="0"
2787CELLPADDING="4"
2788CLASS="CALSTABLE"
2789><TR
2790><TD
2791WIDTH="20%"
2792ALIGN="RIGHT"
2793VALIGN="TOP"
2794><TT
2795CLASS="PARAMETER"
2796><I
2797>cur</I
2798></TT
2799>&nbsp;:</TD
2800><TD
2801WIDTH="80%"
2802ALIGN="LEFT"
2803VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002804> the tree to copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002805></TR
2806><TR
2807><TD
2808WIDTH="20%"
2809ALIGN="RIGHT"
2810VALIGN="TOP"
2811><I
2812CLASS="EMPHASIS"
2813>Returns</I
2814> :</TD
2815><TD
2816WIDTH="80%"
2817ALIGN="LEFT"
2818VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002819>the xmlEnumerationPtr just created or NULL in case
2820of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002821></TR
2822></TABLE
2823><P
2824></P
2825></DIV
2826></DIV
2827><HR><DIV
2828CLASS="REFSECT2"
2829><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00002830NAME="AEN8100"
Daniel Veillard35925471999-02-25 08:46:07 +00002831></A
2832><H3
2833><A
2834NAME="XMLADDATTRIBUTEDECL"
2835></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002836>xmlAddAttributeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002837><TABLE
2838BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002839BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002840WIDTH="100%"
2841CELLPADDING="6"
2842><TR
2843><TD
2844><PRE
2845CLASS="PROGRAMLISTING"
2846><A
2847HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
2848>xmlAttributePtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002849> xmlAddAttributeDecl (<A
2850HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
2851>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002852> ctxt,
2853 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002854HREF="gnome-xml-tree.html#XMLDTDPTR"
2855>xmlDtdPtr</A
2856> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002857 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002858HREF="gnome-xml-tree.html#XMLCHAR"
2859>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002860> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002861 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002862HREF="gnome-xml-tree.html#XMLCHAR"
2863>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002864> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002865 const <A
2866HREF="gnome-xml-tree.html#XMLCHAR"
2867>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +00002868> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002869 <A
2870HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
2871>xmlAttributeType</A
2872> type,
2873 <A
2874HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
2875>xmlAttributeDefault</A
2876> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002877 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002878HREF="gnome-xml-tree.html#XMLCHAR"
2879>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002880> *defaultValue,
2881 <A
2882HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2883>xmlEnumerationPtr</A
2884> tree);</PRE
2885></TD
2886></TR
2887></TABLE
2888><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002889>Register a new attribute declaration
2890Note that <TT
2891CLASS="PARAMETER"
2892><I
2893>tree</I
2894></TT
2895> becomes the ownership of the DTD</P
Daniel Veillard35925471999-02-25 08:46:07 +00002896><P
2897></P
2898><DIV
2899CLASS="INFORMALTABLE"
2900><P
2901></P
2902><TABLE
2903BORDER="0"
2904WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002905BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002906CELLSPACING="0"
2907CELLPADDING="4"
2908CLASS="CALSTABLE"
2909><TR
2910><TD
2911WIDTH="20%"
2912ALIGN="RIGHT"
2913VALIGN="TOP"
2914><TT
2915CLASS="PARAMETER"
2916><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002917>ctxt</I
2918></TT
2919>&nbsp;:</TD
2920><TD
2921WIDTH="80%"
2922ALIGN="LEFT"
2923VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002924> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002925></TR
2926><TR
2927><TD
2928WIDTH="20%"
2929ALIGN="RIGHT"
2930VALIGN="TOP"
2931><TT
2932CLASS="PARAMETER"
2933><I
Daniel Veillard35925471999-02-25 08:46:07 +00002934>dtd</I
2935></TT
2936>&nbsp;:</TD
2937><TD
2938WIDTH="80%"
2939ALIGN="LEFT"
2940VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002941> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002942></TR
2943><TR
2944><TD
2945WIDTH="20%"
2946ALIGN="RIGHT"
2947VALIGN="TOP"
2948><TT
2949CLASS="PARAMETER"
2950><I
2951>elem</I
2952></TT
2953>&nbsp;:</TD
2954><TD
2955WIDTH="80%"
2956ALIGN="LEFT"
2957VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002958> the element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002959></TR
2960><TR
2961><TD
2962WIDTH="20%"
2963ALIGN="RIGHT"
2964VALIGN="TOP"
2965><TT
2966CLASS="PARAMETER"
2967><I
2968>name</I
2969></TT
2970>&nbsp;:</TD
2971><TD
2972WIDTH="80%"
2973ALIGN="LEFT"
2974VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002975> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002976></TR
2977><TR
2978><TD
2979WIDTH="20%"
2980ALIGN="RIGHT"
2981VALIGN="TOP"
2982><TT
2983CLASS="PARAMETER"
2984><I
Daniel Veillard06047432000-04-24 11:33:38 +00002985>ns</I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002986></TT
2987>&nbsp;:</TD
2988><TD
2989WIDTH="80%"
2990ALIGN="LEFT"
2991VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002992> the attribute namespace prefix</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002993></TR
2994><TR
2995><TD
2996WIDTH="20%"
2997ALIGN="RIGHT"
2998VALIGN="TOP"
2999><TT
3000CLASS="PARAMETER"
3001><I
Daniel Veillard35925471999-02-25 08:46:07 +00003002>type</I
3003></TT
3004>&nbsp;:</TD
3005><TD
3006WIDTH="80%"
3007ALIGN="LEFT"
3008VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003009> the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003010></TR
3011><TR
3012><TD
3013WIDTH="20%"
3014ALIGN="RIGHT"
3015VALIGN="TOP"
3016><TT
3017CLASS="PARAMETER"
3018><I
3019>def</I
3020></TT
3021>&nbsp;:</TD
3022><TD
3023WIDTH="80%"
3024ALIGN="LEFT"
3025VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003026> the attribute default type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003027></TR
3028><TR
3029><TD
3030WIDTH="20%"
3031ALIGN="RIGHT"
3032VALIGN="TOP"
3033><TT
3034CLASS="PARAMETER"
3035><I
3036>defaultValue</I
3037></TT
3038>&nbsp;:</TD
3039><TD
3040WIDTH="80%"
3041ALIGN="LEFT"
3042VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003043> the attribute default value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003044></TR
3045><TR
3046><TD
3047WIDTH="20%"
3048ALIGN="RIGHT"
3049VALIGN="TOP"
3050><TT
3051CLASS="PARAMETER"
3052><I
3053>tree</I
3054></TT
3055>&nbsp;:</TD
3056><TD
3057WIDTH="80%"
3058ALIGN="LEFT"
3059VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003060> if it's an enumeration, the associated list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003061></TR
3062><TR
3063><TD
3064WIDTH="20%"
3065ALIGN="RIGHT"
3066VALIGN="TOP"
3067><I
3068CLASS="EMPHASIS"
3069>Returns</I
3070> :</TD
3071><TD
3072WIDTH="80%"
3073ALIGN="LEFT"
3074VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003075>NULL if not new, othervise the attribute decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003076></TR
3077></TABLE
3078><P
3079></P
3080></DIV
3081></DIV
3082><HR><DIV
3083CLASS="REFSECT2"
3084><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00003085NAME="AEN8162"
Daniel Veillard35925471999-02-25 08:46:07 +00003086></A
3087><H3
3088><A
3089NAME="XMLCOPYATTRIBUTETABLE"
3090></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003091>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003092><TABLE
3093BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003094BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003095WIDTH="100%"
3096CELLPADDING="6"
3097><TR
3098><TD
3099><PRE
3100CLASS="PROGRAMLISTING"
3101><A
3102HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3103>xmlAttributeTablePtr</A
3104> xmlCopyAttributeTable (<A
3105HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3106>xmlAttributeTablePtr</A
3107> table);</PRE
3108></TD
3109></TR
3110></TABLE
3111><P
3112>Build a copy of an attribute table.</P
3113><P
3114></P
3115><DIV
3116CLASS="INFORMALTABLE"
3117><P
3118></P
3119><TABLE
3120BORDER="0"
3121WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003122BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003123CELLSPACING="0"
3124CELLPADDING="4"
3125CLASS="CALSTABLE"
3126><TR
3127><TD
3128WIDTH="20%"
3129ALIGN="RIGHT"
3130VALIGN="TOP"
3131><TT
3132CLASS="PARAMETER"
3133><I
3134>table</I
3135></TT
3136>&nbsp;:</TD
3137><TD
3138WIDTH="80%"
3139ALIGN="LEFT"
3140VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003141> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003142></TR
3143><TR
3144><TD
3145WIDTH="20%"
3146ALIGN="RIGHT"
3147VALIGN="TOP"
3148><I
3149CLASS="EMPHASIS"
3150>Returns</I
3151> :</TD
3152><TD
3153WIDTH="80%"
3154ALIGN="LEFT"
3155VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003156>the new xmlAttributeTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003157></TR
3158></TABLE
3159><P
3160></P
3161></DIV
3162></DIV
3163><HR><DIV
3164CLASS="REFSECT2"
3165><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00003166NAME="AEN8183"
Daniel Veillard35925471999-02-25 08:46:07 +00003167></A
3168><H3
3169><A
3170NAME="XMLFREEATTRIBUTETABLE"
3171></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003172>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003173><TABLE
3174BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003175BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003176WIDTH="100%"
3177CELLPADDING="6"
3178><TR
3179><TD
3180><PRE
3181CLASS="PROGRAMLISTING"
3182>void xmlFreeAttributeTable (<A
3183HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3184>xmlAttributeTablePtr</A
3185> table);</PRE
3186></TD
3187></TR
3188></TABLE
3189><P
3190>Deallocate the memory used by an entities hash table.</P
3191><P
3192></P
3193><DIV
3194CLASS="INFORMALTABLE"
3195><P
3196></P
3197><TABLE
3198BORDER="0"
3199WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003200BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003201CELLSPACING="0"
3202CELLPADDING="4"
3203CLASS="CALSTABLE"
3204><TR
3205><TD
3206WIDTH="20%"
3207ALIGN="RIGHT"
3208VALIGN="TOP"
3209><TT
3210CLASS="PARAMETER"
3211><I
3212>table</I
3213></TT
3214>&nbsp;:</TD
3215><TD
3216WIDTH="80%"
3217ALIGN="LEFT"
3218VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003219> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003220></TR
3221></TABLE
3222><P
3223></P
3224></DIV
3225></DIV
3226><HR><DIV
3227CLASS="REFSECT2"
3228><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00003229NAME="AEN8199"
Daniel Veillard35925471999-02-25 08:46:07 +00003230></A
3231><H3
3232><A
3233NAME="XMLDUMPATTRIBUTETABLE"
3234></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003235>xmlDumpAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003236><TABLE
3237BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003238BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003239WIDTH="100%"
3240CELLPADDING="6"
3241><TR
3242><TD
3243><PRE
3244CLASS="PROGRAMLISTING"
3245>void xmlDumpAttributeTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003246HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3247>xmlBufferPtr</A
3248> buf,
3249 <A
Daniel Veillard35925471999-02-25 08:46:07 +00003250HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3251>xmlAttributeTablePtr</A
3252> table);</PRE
3253></TD
3254></TR
3255></TABLE
3256><P
3257>This will dump the content of the attribute table as an XML DTD definition</P
3258><P
Daniel Veillard35925471999-02-25 08:46:07 +00003259></P
3260><DIV
3261CLASS="INFORMALTABLE"
3262><P
3263></P
3264><TABLE
3265BORDER="0"
3266WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003267BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003268CELLSPACING="0"
3269CELLPADDING="4"
3270CLASS="CALSTABLE"
3271><TR
3272><TD
3273WIDTH="20%"
3274ALIGN="RIGHT"
3275VALIGN="TOP"
3276><TT
3277CLASS="PARAMETER"
3278><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003279>buf</I
3280></TT
3281>&nbsp;:</TD
3282><TD
3283WIDTH="80%"
3284ALIGN="LEFT"
3285VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003286> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003287></TR
3288><TR
3289><TD
3290WIDTH="20%"
3291ALIGN="RIGHT"
3292VALIGN="TOP"
3293><TT
3294CLASS="PARAMETER"
3295><I
Daniel Veillard35925471999-02-25 08:46:07 +00003296>table</I
3297></TT
3298>&nbsp;:</TD
3299><TD
3300WIDTH="80%"
3301ALIGN="LEFT"
3302VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003303> An attribute table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003304></TR
3305></TABLE
3306><P
3307></P
3308></DIV
3309></DIV
3310><HR><DIV
3311CLASS="REFSECT2"
3312><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00003313NAME="AEN8220"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003314></A
3315><H3
3316><A
3317NAME="XMLDUMPATTRIBUTEDECL"
3318></A
3319>xmlDumpAttributeDecl ()</H3
3320><TABLE
3321BORDER="0"
3322BGCOLOR="#D6E8FF"
3323WIDTH="100%"
3324CELLPADDING="6"
3325><TR
3326><TD
3327><PRE
3328CLASS="PROGRAMLISTING"
3329>void xmlDumpAttributeDecl (<A
3330HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3331>xmlBufferPtr</A
3332> buf,
3333 <A
3334HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
3335>xmlAttributePtr</A
3336> attr);</PRE
3337></TD
3338></TR
3339></TABLE
3340><P
3341>This will dump the content of the attribute declaration as an XML
3342DTD definition</P
3343><P
3344></P
3345><DIV
3346CLASS="INFORMALTABLE"
3347><P
3348></P
3349><TABLE
3350BORDER="0"
3351WIDTH="100%"
3352BGCOLOR="#FFD0D0"
3353CELLSPACING="0"
3354CELLPADDING="4"
3355CLASS="CALSTABLE"
3356><TR
3357><TD
3358WIDTH="20%"
3359ALIGN="RIGHT"
3360VALIGN="TOP"
3361><TT
3362CLASS="PARAMETER"
3363><I
3364>buf</I
3365></TT
3366>&nbsp;:</TD
3367><TD
3368WIDTH="80%"
3369ALIGN="LEFT"
3370VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003371> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003372></TR
3373><TR
3374><TD
3375WIDTH="20%"
3376ALIGN="RIGHT"
3377VALIGN="TOP"
3378><TT
3379CLASS="PARAMETER"
3380><I
3381>attr</I
3382></TT
3383>&nbsp;:</TD
3384><TD
3385WIDTH="80%"
3386ALIGN="LEFT"
3387VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003388> An attribute declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003389></TR
3390></TABLE
3391><P
3392></P
3393></DIV
3394></DIV
3395><HR><DIV
3396CLASS="REFSECT2"
3397><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00003398NAME="AEN8241"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003399></A
3400><H3
3401><A
3402NAME="XMLADDID"
3403></A
3404>xmlAddID ()</H3
3405><TABLE
3406BORDER="0"
3407BGCOLOR="#D6E8FF"
3408WIDTH="100%"
3409CELLPADDING="6"
3410><TR
3411><TD
3412><PRE
3413CLASS="PROGRAMLISTING"
3414><A
3415HREF="gnome-xml-tree.html#XMLIDPTR"
3416>xmlIDPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003417> xmlAddID (<A
3418HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
3419>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003420> ctxt,
3421 <A
3422HREF="gnome-xml-tree.html#XMLDOCPTR"
3423>xmlDocPtr</A
3424> doc,
3425 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003426HREF="gnome-xml-tree.html#XMLCHAR"
3427>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003428> *value,
3429 <A
3430HREF="gnome-xml-tree.html#XMLATTRPTR"
3431>xmlAttrPtr</A
3432> attr);</PRE
3433></TD
3434></TR
3435></TABLE
3436><P
3437>Register a new id declaration</P
3438><P
3439></P
3440><DIV
3441CLASS="INFORMALTABLE"
3442><P
3443></P
3444><TABLE
3445BORDER="0"
3446WIDTH="100%"
3447BGCOLOR="#FFD0D0"
3448CELLSPACING="0"
3449CELLPADDING="4"
3450CLASS="CALSTABLE"
3451><TR
3452><TD
3453WIDTH="20%"
3454ALIGN="RIGHT"
3455VALIGN="TOP"
3456><TT
3457CLASS="PARAMETER"
3458><I
3459>ctxt</I
3460></TT
3461>&nbsp;:</TD
3462><TD
3463WIDTH="80%"
3464ALIGN="LEFT"
3465VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003466> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003467></TR
3468><TR
3469><TD
3470WIDTH="20%"
3471ALIGN="RIGHT"
3472VALIGN="TOP"
3473><TT
3474CLASS="PARAMETER"
3475><I
3476>doc</I
3477></TT
3478>&nbsp;:</TD
3479><TD
3480WIDTH="80%"
3481ALIGN="LEFT"
3482VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003483> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003484></TR
3485><TR
3486><TD
3487WIDTH="20%"
3488ALIGN="RIGHT"
3489VALIGN="TOP"
3490><TT
3491CLASS="PARAMETER"
3492><I
3493>value</I
3494></TT
3495>&nbsp;:</TD
3496><TD
3497WIDTH="80%"
3498ALIGN="LEFT"
3499VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003500> the value name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003501></TR
3502><TR
3503><TD
3504WIDTH="20%"
3505ALIGN="RIGHT"
3506VALIGN="TOP"
3507><TT
3508CLASS="PARAMETER"
3509><I
3510>attr</I
3511></TT
3512>&nbsp;:</TD
3513><TD
3514WIDTH="80%"
3515ALIGN="LEFT"
3516VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003517> the attribute holding the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003518></TR
3519><TR
3520><TD
3521WIDTH="20%"
3522ALIGN="RIGHT"
3523VALIGN="TOP"
3524><I
3525CLASS="EMPHASIS"
3526>Returns</I
3527> :</TD
3528><TD
3529WIDTH="80%"
3530ALIGN="LEFT"
3531VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003532>NULL if not, othervise the new xmlIDPtr</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003533></TR
3534></TABLE
3535><P
3536></P
3537></DIV
3538></DIV
3539><HR><DIV
3540CLASS="REFSECT2"
3541><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00003542NAME="AEN8277"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003543></A
3544><H3
3545><A
3546NAME="XMLCOPYIDTABLE"
3547></A
3548>xmlCopyIDTable ()</H3
3549><TABLE
3550BORDER="0"
3551BGCOLOR="#D6E8FF"
3552WIDTH="100%"
3553CELLPADDING="6"
3554><TR
3555><TD
3556><PRE
3557CLASS="PROGRAMLISTING"
3558><A
3559HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3560>xmlIDTablePtr</A
3561> xmlCopyIDTable (<A
3562HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3563>xmlIDTablePtr</A
3564> table);</PRE
3565></TD
3566></TR
3567></TABLE
3568><P
3569></P
3570><DIV
3571CLASS="INFORMALTABLE"
3572><P
3573></P
3574><TABLE
3575BORDER="0"
3576WIDTH="100%"
3577BGCOLOR="#FFD0D0"
3578CELLSPACING="0"
3579CELLPADDING="4"
3580CLASS="CALSTABLE"
3581><TR
3582><TD
3583WIDTH="20%"
3584ALIGN="RIGHT"
3585VALIGN="TOP"
3586><TT
3587CLASS="PARAMETER"
3588><I
3589>table</I
3590></TT
3591>&nbsp;:</TD
3592><TD
3593WIDTH="80%"
3594ALIGN="LEFT"
3595VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003596>&nbsp;</TD
3597></TR
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003598><TR
3599><TD
3600WIDTH="20%"
3601ALIGN="RIGHT"
3602VALIGN="TOP"
3603><I
3604CLASS="EMPHASIS"
3605>Returns</I
3606> :</TD
3607><TD
3608WIDTH="80%"
3609ALIGN="LEFT"
3610VALIGN="TOP"
3611>&nbsp;</TD
3612></TR
Daniel Veillardb05deb71999-08-10 19:04:08 +00003613></TABLE
3614><P
3615></P
3616></DIV
3617></DIV
3618><HR><DIV
3619CLASS="REFSECT2"
3620><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00003621NAME="AEN8297"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003622></A
3623><H3
3624><A
3625NAME="XMLFREEIDTABLE"
3626></A
3627>xmlFreeIDTable ()</H3
3628><TABLE
3629BORDER="0"
3630BGCOLOR="#D6E8FF"
3631WIDTH="100%"
3632CELLPADDING="6"
3633><TR
3634><TD
3635><PRE
3636CLASS="PROGRAMLISTING"
3637>void xmlFreeIDTable (<A
3638HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3639>xmlIDTablePtr</A
3640> table);</PRE
3641></TD
3642></TR
3643></TABLE
3644><P
3645>Deallocate the memory used by an ID hash table.</P
3646><P
3647></P
3648><DIV
3649CLASS="INFORMALTABLE"
3650><P
3651></P
3652><TABLE
3653BORDER="0"
3654WIDTH="100%"
3655BGCOLOR="#FFD0D0"
3656CELLSPACING="0"
3657CELLPADDING="4"
3658CLASS="CALSTABLE"
3659><TR
3660><TD
3661WIDTH="20%"
3662ALIGN="RIGHT"
3663VALIGN="TOP"
3664><TT
3665CLASS="PARAMETER"
3666><I
3667>table</I
3668></TT
3669>&nbsp;:</TD
3670><TD
3671WIDTH="80%"
3672ALIGN="LEFT"
3673VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003674> An id table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003675></TR
3676></TABLE
3677><P
3678></P
3679></DIV
3680></DIV
3681><HR><DIV
3682CLASS="REFSECT2"
3683><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00003684NAME="AEN8313"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003685></A
3686><H3
3687><A
3688NAME="XMLGETID"
3689></A
3690>xmlGetID ()</H3
3691><TABLE
3692BORDER="0"
3693BGCOLOR="#D6E8FF"
3694WIDTH="100%"
3695CELLPADDING="6"
3696><TR
3697><TD
3698><PRE
3699CLASS="PROGRAMLISTING"
3700><A
3701HREF="gnome-xml-tree.html#XMLATTRPTR"
3702>xmlAttrPtr</A
3703> xmlGetID (<A
3704HREF="gnome-xml-tree.html#XMLDOCPTR"
3705>xmlDocPtr</A
3706> doc,
3707 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003708HREF="gnome-xml-tree.html#XMLCHAR"
3709>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003710> *ID);</PRE
3711></TD
3712></TR
3713></TABLE
3714><P
3715>Search the attribute declaring the given ID</P
3716><P
3717></P
3718><DIV
3719CLASS="INFORMALTABLE"
3720><P
3721></P
3722><TABLE
3723BORDER="0"
3724WIDTH="100%"
3725BGCOLOR="#FFD0D0"
3726CELLSPACING="0"
3727CELLPADDING="4"
3728CLASS="CALSTABLE"
3729><TR
3730><TD
3731WIDTH="20%"
3732ALIGN="RIGHT"
3733VALIGN="TOP"
3734><TT
3735CLASS="PARAMETER"
3736><I
3737>doc</I
3738></TT
3739>&nbsp;:</TD
3740><TD
3741WIDTH="80%"
3742ALIGN="LEFT"
3743VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003744> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003745></TR
3746><TR
3747><TD
3748WIDTH="20%"
3749ALIGN="RIGHT"
3750VALIGN="TOP"
3751><TT
3752CLASS="PARAMETER"
3753><I
3754>ID</I
3755></TT
3756>&nbsp;:</TD
3757><TD
3758WIDTH="80%"
3759ALIGN="LEFT"
3760VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003761> the ID value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003762></TR
3763><TR
3764><TD
3765WIDTH="20%"
3766ALIGN="RIGHT"
3767VALIGN="TOP"
3768><I
3769CLASS="EMPHASIS"
3770>Returns</I
3771> :</TD
3772><TD
3773WIDTH="80%"
3774ALIGN="LEFT"
3775VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003776>NULL if not found, otherwise the xmlAttrPtr defining the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003777></TR
3778></TABLE
3779><P
3780></P
3781></DIV
3782></DIV
3783><HR><DIV
3784CLASS="REFSECT2"
3785><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00003786NAME="AEN8339"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003787></A
3788><H3
3789><A
3790NAME="XMLISID"
3791></A
3792>xmlIsID ()</H3
3793><TABLE
3794BORDER="0"
3795BGCOLOR="#D6E8FF"
3796WIDTH="100%"
3797CELLPADDING="6"
3798><TR
3799><TD
3800><PRE
3801CLASS="PROGRAMLISTING"
3802>int xmlIsID (<A
3803HREF="gnome-xml-tree.html#XMLDOCPTR"
3804>xmlDocPtr</A
3805> doc,
3806 <A
3807HREF="gnome-xml-tree.html#XMLNODEPTR"
3808>xmlNodePtr</A
3809> elem,
3810 <A
3811HREF="gnome-xml-tree.html#XMLATTRPTR"
3812>xmlAttrPtr</A
3813> attr);</PRE
3814></TD
3815></TR
3816></TABLE
3817><P
3818>Determine whether an attribute is of type ID. In case we have Dtd(s)
3819then this is simple, otherwise we use an heuristic: name ID (upper
3820or lowercase).</P
3821><P
3822></P
3823><DIV
3824CLASS="INFORMALTABLE"
3825><P
3826></P
3827><TABLE
3828BORDER="0"
3829WIDTH="100%"
3830BGCOLOR="#FFD0D0"
3831CELLSPACING="0"
3832CELLPADDING="4"
3833CLASS="CALSTABLE"
3834><TR
3835><TD
3836WIDTH="20%"
3837ALIGN="RIGHT"
3838VALIGN="TOP"
3839><TT
3840CLASS="PARAMETER"
3841><I
3842>doc</I
3843></TT
3844>&nbsp;:</TD
3845><TD
3846WIDTH="80%"
3847ALIGN="LEFT"
3848VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003849> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003850></TR
3851><TR
3852><TD
3853WIDTH="20%"
3854ALIGN="RIGHT"
3855VALIGN="TOP"
3856><TT
3857CLASS="PARAMETER"
3858><I
3859>elem</I
3860></TT
3861>&nbsp;:</TD
3862><TD
3863WIDTH="80%"
3864ALIGN="LEFT"
3865VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003866> the element carrying the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003867></TR
3868><TR
3869><TD
3870WIDTH="20%"
3871ALIGN="RIGHT"
3872VALIGN="TOP"
3873><TT
3874CLASS="PARAMETER"
3875><I
3876>attr</I
3877></TT
3878>&nbsp;:</TD
3879><TD
3880WIDTH="80%"
3881ALIGN="LEFT"
3882VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003883> the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003884></TR
3885><TR
3886><TD
3887WIDTH="20%"
3888ALIGN="RIGHT"
3889VALIGN="TOP"
3890><I
3891CLASS="EMPHASIS"
3892>Returns</I
3893> :</TD
3894><TD
3895WIDTH="80%"
3896ALIGN="LEFT"
3897VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003898>0 or 1 depending on the lookup result</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003899></TR
3900></TABLE
3901><P
3902></P
3903></DIV
3904></DIV
3905><HR><DIV
3906CLASS="REFSECT2"
3907><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00003908NAME="AEN8369"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003909></A
3910><H3
3911><A
3912NAME="XMLREMOVEID"
3913></A
3914>xmlRemoveID ()</H3
3915><TABLE
3916BORDER="0"
3917BGCOLOR="#D6E8FF"
3918WIDTH="100%"
3919CELLPADDING="6"
3920><TR
3921><TD
3922><PRE
3923CLASS="PROGRAMLISTING"
3924>int xmlRemoveID (<A
3925HREF="gnome-xml-tree.html#XMLDOCPTR"
3926>xmlDocPtr</A
3927> doc,
3928 <A
3929HREF="gnome-xml-tree.html#XMLATTRPTR"
3930>xmlAttrPtr</A
3931> attr);</PRE
3932></TD
3933></TR
3934></TABLE
3935><P
3936>Remove the given attribute from the ID table maintained internally.</P
3937><P
3938></P
3939><DIV
3940CLASS="INFORMALTABLE"
3941><P
3942></P
3943><TABLE
3944BORDER="0"
3945WIDTH="100%"
3946BGCOLOR="#FFD0D0"
3947CELLSPACING="0"
3948CELLPADDING="4"
3949CLASS="CALSTABLE"
3950><TR
3951><TD
3952WIDTH="20%"
3953ALIGN="RIGHT"
3954VALIGN="TOP"
3955><TT
3956CLASS="PARAMETER"
3957><I
3958>doc</I
3959></TT
3960>&nbsp;:</TD
3961><TD
3962WIDTH="80%"
3963ALIGN="LEFT"
3964VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003965> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003966></TR
3967><TR
3968><TD
3969WIDTH="20%"
3970ALIGN="RIGHT"
3971VALIGN="TOP"
3972><TT
3973CLASS="PARAMETER"
3974><I
3975>attr</I
3976></TT
3977>&nbsp;:</TD
3978><TD
3979WIDTH="80%"
3980ALIGN="LEFT"
3981VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003982> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003983></TR
3984><TR
3985><TD
3986WIDTH="20%"
3987ALIGN="RIGHT"
3988VALIGN="TOP"
3989><I
3990CLASS="EMPHASIS"
3991>Returns</I
3992> :</TD
3993><TD
3994WIDTH="80%"
3995ALIGN="LEFT"
3996VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003997>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003998></TR
3999></TABLE
4000><P
4001></P
4002></DIV
4003></DIV
4004><HR><DIV
4005CLASS="REFSECT2"
4006><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00004007NAME="AEN8394"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004008></A
4009><H3
4010><A
4011NAME="XMLADDREF"
4012></A
4013>xmlAddRef ()</H3
4014><TABLE
4015BORDER="0"
4016BGCOLOR="#D6E8FF"
4017WIDTH="100%"
4018CELLPADDING="6"
4019><TR
4020><TD
4021><PRE
4022CLASS="PROGRAMLISTING"
4023><A
4024HREF="gnome-xml-tree.html#XMLREFPTR"
4025>xmlRefPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004026> xmlAddRef (<A
4027HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4028>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004029> ctxt,
4030 <A
4031HREF="gnome-xml-tree.html#XMLDOCPTR"
4032>xmlDocPtr</A
4033> doc,
4034 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004035HREF="gnome-xml-tree.html#XMLCHAR"
4036>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004037> *value,
4038 <A
4039HREF="gnome-xml-tree.html#XMLATTRPTR"
4040>xmlAttrPtr</A
4041> attr);</PRE
4042></TD
4043></TR
4044></TABLE
4045><P
4046>Register a new ref declaration</P
4047><P
4048></P
4049><DIV
4050CLASS="INFORMALTABLE"
4051><P
4052></P
4053><TABLE
4054BORDER="0"
4055WIDTH="100%"
4056BGCOLOR="#FFD0D0"
4057CELLSPACING="0"
4058CELLPADDING="4"
4059CLASS="CALSTABLE"
4060><TR
4061><TD
4062WIDTH="20%"
4063ALIGN="RIGHT"
4064VALIGN="TOP"
4065><TT
4066CLASS="PARAMETER"
4067><I
4068>ctxt</I
4069></TT
4070>&nbsp;:</TD
4071><TD
4072WIDTH="80%"
4073ALIGN="LEFT"
4074VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004075> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004076></TR
4077><TR
4078><TD
4079WIDTH="20%"
4080ALIGN="RIGHT"
4081VALIGN="TOP"
4082><TT
4083CLASS="PARAMETER"
4084><I
4085>doc</I
4086></TT
4087>&nbsp;:</TD
4088><TD
4089WIDTH="80%"
4090ALIGN="LEFT"
4091VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004092> pointer to the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004093></TR
4094><TR
4095><TD
4096WIDTH="20%"
4097ALIGN="RIGHT"
4098VALIGN="TOP"
4099><TT
4100CLASS="PARAMETER"
4101><I
4102>value</I
4103></TT
4104>&nbsp;:</TD
4105><TD
4106WIDTH="80%"
4107ALIGN="LEFT"
4108VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004109> the value name</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004110></TR
4111><TR
4112><TD
4113WIDTH="20%"
4114ALIGN="RIGHT"
4115VALIGN="TOP"
4116><TT
4117CLASS="PARAMETER"
4118><I
4119>attr</I
4120></TT
4121>&nbsp;:</TD
4122><TD
4123WIDTH="80%"
4124ALIGN="LEFT"
4125VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004126> the attribute holding the Ref</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004127></TR
4128><TR
4129><TD
4130WIDTH="20%"
4131ALIGN="RIGHT"
4132VALIGN="TOP"
4133><I
4134CLASS="EMPHASIS"
4135>Returns</I
4136> :</TD
4137><TD
4138WIDTH="80%"
4139ALIGN="LEFT"
4140VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004141>NULL if not, othervise the new xmlRefPtr</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004142></TR
4143></TABLE
4144><P
4145></P
4146></DIV
4147></DIV
4148><HR><DIV
4149CLASS="REFSECT2"
4150><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00004151NAME="AEN8430"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004152></A
4153><H3
4154><A
4155NAME="XMLCOPYREFTABLE"
4156></A
4157>xmlCopyRefTable ()</H3
4158><TABLE
4159BORDER="0"
4160BGCOLOR="#D6E8FF"
4161WIDTH="100%"
4162CELLPADDING="6"
4163><TR
4164><TD
4165><PRE
4166CLASS="PROGRAMLISTING"
4167><A
4168HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
4169>xmlRefTablePtr</A
4170> xmlCopyRefTable (<A
4171HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
4172>xmlRefTablePtr</A
4173> table);</PRE
4174></TD
4175></TR
4176></TABLE
4177><P
4178></P
4179><DIV
4180CLASS="INFORMALTABLE"
4181><P
4182></P
4183><TABLE
4184BORDER="0"
4185WIDTH="100%"
4186BGCOLOR="#FFD0D0"
4187CELLSPACING="0"
4188CELLPADDING="4"
4189CLASS="CALSTABLE"
4190><TR
4191><TD
4192WIDTH="20%"
4193ALIGN="RIGHT"
4194VALIGN="TOP"
4195><TT
4196CLASS="PARAMETER"
4197><I
4198>table</I
4199></TT
4200>&nbsp;:</TD
4201><TD
4202WIDTH="80%"
4203ALIGN="LEFT"
4204VALIGN="TOP"
4205>&nbsp;</TD
4206></TR
4207><TR
4208><TD
4209WIDTH="20%"
4210ALIGN="RIGHT"
4211VALIGN="TOP"
4212><I
4213CLASS="EMPHASIS"
4214>Returns</I
4215> :</TD
4216><TD
4217WIDTH="80%"
4218ALIGN="LEFT"
4219VALIGN="TOP"
4220>&nbsp;</TD
4221></TR
4222></TABLE
4223><P
4224></P
4225></DIV
4226></DIV
4227><HR><DIV
4228CLASS="REFSECT2"
4229><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00004230NAME="AEN8450"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004231></A
4232><H3
4233><A
4234NAME="XMLFREEREFTABLE"
4235></A
4236>xmlFreeRefTable ()</H3
4237><TABLE
4238BORDER="0"
4239BGCOLOR="#D6E8FF"
4240WIDTH="100%"
4241CELLPADDING="6"
4242><TR
4243><TD
4244><PRE
4245CLASS="PROGRAMLISTING"
4246>void xmlFreeRefTable (<A
4247HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
4248>xmlRefTablePtr</A
4249> table);</PRE
4250></TD
4251></TR
4252></TABLE
4253><P
4254>Deallocate the memory used by an Ref hash table.</P
4255><P
4256></P
4257><DIV
4258CLASS="INFORMALTABLE"
4259><P
4260></P
4261><TABLE
4262BORDER="0"
4263WIDTH="100%"
4264BGCOLOR="#FFD0D0"
4265CELLSPACING="0"
4266CELLPADDING="4"
4267CLASS="CALSTABLE"
4268><TR
4269><TD
4270WIDTH="20%"
4271ALIGN="RIGHT"
4272VALIGN="TOP"
4273><TT
4274CLASS="PARAMETER"
4275><I
4276>table</I
4277></TT
4278>&nbsp;:</TD
4279><TD
4280WIDTH="80%"
4281ALIGN="LEFT"
4282VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004283> An ref table</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004284></TR
4285></TABLE
4286><P
4287></P
4288></DIV
4289></DIV
4290><HR><DIV
4291CLASS="REFSECT2"
4292><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00004293NAME="AEN8466"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004294></A
4295><H3
4296><A
4297NAME="XMLISREF"
4298></A
4299>xmlIsRef ()</H3
4300><TABLE
4301BORDER="0"
4302BGCOLOR="#D6E8FF"
4303WIDTH="100%"
4304CELLPADDING="6"
4305><TR
4306><TD
4307><PRE
4308CLASS="PROGRAMLISTING"
4309>int xmlIsRef (<A
4310HREF="gnome-xml-tree.html#XMLDOCPTR"
4311>xmlDocPtr</A
4312> doc,
4313 <A
4314HREF="gnome-xml-tree.html#XMLNODEPTR"
4315>xmlNodePtr</A
4316> elem,
4317 <A
4318HREF="gnome-xml-tree.html#XMLATTRPTR"
4319>xmlAttrPtr</A
4320> attr);</PRE
4321></TD
4322></TR
4323></TABLE
4324><P
4325>Determine whether an attribute is of type Ref. In case we have Dtd(s)
4326then this is simple, otherwise we use an heuristic: name Ref (upper
4327or lowercase).</P
4328><P
4329></P
4330><DIV
4331CLASS="INFORMALTABLE"
4332><P
4333></P
4334><TABLE
4335BORDER="0"
4336WIDTH="100%"
4337BGCOLOR="#FFD0D0"
4338CELLSPACING="0"
4339CELLPADDING="4"
4340CLASS="CALSTABLE"
4341><TR
4342><TD
4343WIDTH="20%"
4344ALIGN="RIGHT"
4345VALIGN="TOP"
4346><TT
4347CLASS="PARAMETER"
4348><I
4349>doc</I
4350></TT
4351>&nbsp;:</TD
4352><TD
4353WIDTH="80%"
4354ALIGN="LEFT"
4355VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004356> the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004357></TR
4358><TR
4359><TD
4360WIDTH="20%"
4361ALIGN="RIGHT"
4362VALIGN="TOP"
4363><TT
4364CLASS="PARAMETER"
4365><I
4366>elem</I
4367></TT
4368>&nbsp;:</TD
4369><TD
4370WIDTH="80%"
4371ALIGN="LEFT"
4372VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004373> the element carrying the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004374></TR
4375><TR
4376><TD
4377WIDTH="20%"
4378ALIGN="RIGHT"
4379VALIGN="TOP"
4380><TT
4381CLASS="PARAMETER"
4382><I
4383>attr</I
4384></TT
4385>&nbsp;:</TD
4386><TD
4387WIDTH="80%"
4388ALIGN="LEFT"
4389VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004390> the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004391></TR
4392><TR
4393><TD
4394WIDTH="20%"
4395ALIGN="RIGHT"
4396VALIGN="TOP"
4397><I
4398CLASS="EMPHASIS"
4399>Returns</I
4400> :</TD
4401><TD
4402WIDTH="80%"
4403ALIGN="LEFT"
4404VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004405>0 or 1 depending on the lookup result</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004406></TR
4407></TABLE
4408><P
4409></P
4410></DIV
4411></DIV
4412><HR><DIV
4413CLASS="REFSECT2"
4414><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00004415NAME="AEN8496"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004416></A
4417><H3
4418><A
4419NAME="XMLREMOVEREF"
4420></A
4421>xmlRemoveRef ()</H3
4422><TABLE
4423BORDER="0"
4424BGCOLOR="#D6E8FF"
4425WIDTH="100%"
4426CELLPADDING="6"
4427><TR
4428><TD
4429><PRE
4430CLASS="PROGRAMLISTING"
4431>int xmlRemoveRef (<A
4432HREF="gnome-xml-tree.html#XMLDOCPTR"
4433>xmlDocPtr</A
4434> doc,
4435 <A
4436HREF="gnome-xml-tree.html#XMLATTRPTR"
4437>xmlAttrPtr</A
4438> attr);</PRE
4439></TD
4440></TR
4441></TABLE
4442><P
4443>Remove the given attribute from the Ref table maintained internally.</P
4444><P
4445></P
4446><DIV
4447CLASS="INFORMALTABLE"
4448><P
4449></P
4450><TABLE
4451BORDER="0"
4452WIDTH="100%"
4453BGCOLOR="#FFD0D0"
4454CELLSPACING="0"
4455CELLPADDING="4"
4456CLASS="CALSTABLE"
4457><TR
4458><TD
4459WIDTH="20%"
4460ALIGN="RIGHT"
4461VALIGN="TOP"
4462><TT
4463CLASS="PARAMETER"
4464><I
4465>doc</I
4466></TT
4467>&nbsp;:</TD
4468><TD
4469WIDTH="80%"
4470ALIGN="LEFT"
4471VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004472> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004473></TR
4474><TR
4475><TD
4476WIDTH="20%"
4477ALIGN="RIGHT"
4478VALIGN="TOP"
4479><TT
4480CLASS="PARAMETER"
4481><I
4482>attr</I
4483></TT
4484>&nbsp;:</TD
4485><TD
4486WIDTH="80%"
4487ALIGN="LEFT"
4488VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004489> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004490></TR
4491><TR
4492><TD
4493WIDTH="20%"
4494ALIGN="RIGHT"
4495VALIGN="TOP"
4496><I
4497CLASS="EMPHASIS"
4498>Returns</I
4499> :</TD
4500><TD
4501WIDTH="80%"
4502ALIGN="LEFT"
4503VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004504>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004505></TR
4506></TABLE
4507><P
4508></P
4509></DIV
4510></DIV
4511><HR><DIV
4512CLASS="REFSECT2"
4513><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00004514NAME="AEN8521"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004515></A
4516><H3
4517><A
4518NAME="XMLVALIDATEROOT"
4519></A
4520>xmlValidateRoot ()</H3
4521><TABLE
4522BORDER="0"
4523BGCOLOR="#D6E8FF"
4524WIDTH="100%"
4525CELLPADDING="6"
4526><TR
4527><TD
4528><PRE
4529CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004530>int xmlValidateRoot (<A
4531HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4532>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004533> ctxt,
4534 <A
4535HREF="gnome-xml-tree.html#XMLDOCPTR"
4536>xmlDocPtr</A
4537> doc);</PRE
4538></TD
4539></TR
4540></TABLE
4541><P
4542>Try to validate a the root element
4543basically it does the following check as described by the
4544XML-1.0 recommendation:
4545- [ VC: Root Element Type ]
4546it doesn't try to recurse or apply other check to the element</P
4547><P
4548></P
4549><DIV
4550CLASS="INFORMALTABLE"
4551><P
4552></P
4553><TABLE
4554BORDER="0"
4555WIDTH="100%"
4556BGCOLOR="#FFD0D0"
4557CELLSPACING="0"
4558CELLPADDING="4"
4559CLASS="CALSTABLE"
4560><TR
4561><TD
4562WIDTH="20%"
4563ALIGN="RIGHT"
4564VALIGN="TOP"
4565><TT
4566CLASS="PARAMETER"
4567><I
4568>ctxt</I
4569></TT
4570>&nbsp;:</TD
4571><TD
4572WIDTH="80%"
4573ALIGN="LEFT"
4574VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004575> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004576></TR
4577><TR
4578><TD
4579WIDTH="20%"
4580ALIGN="RIGHT"
4581VALIGN="TOP"
4582><TT
4583CLASS="PARAMETER"
4584><I
4585>doc</I
4586></TT
4587>&nbsp;:</TD
4588><TD
4589WIDTH="80%"
4590ALIGN="LEFT"
4591VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004592> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004593></TR
4594><TR
4595><TD
4596WIDTH="20%"
4597ALIGN="RIGHT"
4598VALIGN="TOP"
4599><I
4600CLASS="EMPHASIS"
4601>Returns</I
4602> :</TD
4603><TD
4604WIDTH="80%"
4605ALIGN="LEFT"
4606VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004607>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004608></TR
4609></TABLE
4610><P
4611></P
4612></DIV
4613></DIV
4614><HR><DIV
4615CLASS="REFSECT2"
4616><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00004617NAME="AEN8546"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004618></A
4619><H3
4620><A
4621NAME="XMLVALIDATEELEMENTDECL"
4622></A
4623>xmlValidateElementDecl ()</H3
4624><TABLE
4625BORDER="0"
4626BGCOLOR="#D6E8FF"
4627WIDTH="100%"
4628CELLPADDING="6"
4629><TR
4630><TD
4631><PRE
4632CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004633>int xmlValidateElementDecl (<A
4634HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4635>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004636> ctxt,
4637 <A
4638HREF="gnome-xml-tree.html#XMLDOCPTR"
4639>xmlDocPtr</A
4640> doc,
4641 <A
4642HREF="gnome-xml-tree.html#XMLELEMENTPTR"
4643>xmlElementPtr</A
4644> elem);</PRE
4645></TD
4646></TR
4647></TABLE
4648><P
4649>Try to validate a single element definition
4650basically it does the following checks as described by the
4651XML-1.0 recommendation:
4652- [ VC: One ID per Element Type ]
4653- [ VC: No Duplicate Types ]
4654- [ VC: Unique Element Type Declaration ]</P
4655><P
4656></P
4657><DIV
4658CLASS="INFORMALTABLE"
4659><P
4660></P
4661><TABLE
4662BORDER="0"
4663WIDTH="100%"
4664BGCOLOR="#FFD0D0"
4665CELLSPACING="0"
4666CELLPADDING="4"
4667CLASS="CALSTABLE"
4668><TR
4669><TD
4670WIDTH="20%"
4671ALIGN="RIGHT"
4672VALIGN="TOP"
4673><TT
4674CLASS="PARAMETER"
4675><I
4676>ctxt</I
4677></TT
4678>&nbsp;:</TD
4679><TD
4680WIDTH="80%"
4681ALIGN="LEFT"
4682VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004683> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004684></TR
4685><TR
4686><TD
4687WIDTH="20%"
4688ALIGN="RIGHT"
4689VALIGN="TOP"
4690><TT
4691CLASS="PARAMETER"
4692><I
4693>doc</I
4694></TT
4695>&nbsp;:</TD
4696><TD
4697WIDTH="80%"
4698ALIGN="LEFT"
4699VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004700> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004701></TR
4702><TR
4703><TD
4704WIDTH="20%"
4705ALIGN="RIGHT"
4706VALIGN="TOP"
4707><TT
4708CLASS="PARAMETER"
4709><I
4710>elem</I
4711></TT
4712>&nbsp;:</TD
4713><TD
4714WIDTH="80%"
4715ALIGN="LEFT"
4716VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004717> an element definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004718></TR
4719><TR
4720><TD
4721WIDTH="20%"
4722ALIGN="RIGHT"
4723VALIGN="TOP"
4724><I
4725CLASS="EMPHASIS"
4726>Returns</I
4727> :</TD
4728><TD
4729WIDTH="80%"
4730ALIGN="LEFT"
4731VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004732>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004733></TR
4734></TABLE
4735><P
4736></P
4737></DIV
4738></DIV
4739><HR><DIV
4740CLASS="REFSECT2"
4741><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00004742NAME="AEN8576"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004743></A
4744><H3
4745><A
4746NAME="XMLVALIDNORMALIZEATTRIBUTEVALUE"
4747></A
4748>xmlValidNormalizeAttributeValue ()</H3
4749><TABLE
4750BORDER="0"
4751BGCOLOR="#D6E8FF"
4752WIDTH="100%"
4753CELLPADDING="6"
4754><TR
4755><TD
4756><PRE
4757CLASS="PROGRAMLISTING"
4758><A
4759HREF="gnome-xml-tree.html#XMLCHAR"
4760>xmlChar</A
4761>* xmlValidNormalizeAttributeValue (<A
4762HREF="gnome-xml-tree.html#XMLDOCPTR"
4763>xmlDocPtr</A
4764> doc,
4765 <A
4766HREF="gnome-xml-tree.html#XMLNODEPTR"
4767>xmlNodePtr</A
4768> elem,
4769 const <A
4770HREF="gnome-xml-tree.html#XMLCHAR"
4771>xmlChar</A
4772> *name,
4773 const <A
4774HREF="gnome-xml-tree.html#XMLCHAR"
4775>xmlChar</A
4776> *value);</PRE
4777></TD
4778></TR
4779></TABLE
4780><P
4781>Does the validation related extra step of the normalization of attribute
4782values:</P
4783><P
4784>If the declared value is not CDATA, then the XML processor must further
4785process the normalized attribute value by discarding any leading and
4786trailing space (<GTKDOCLINK
4787HREF="X20"
4788>x20</GTKDOCLINK
4789>) characters, and by replacing sequences of space
4790(<GTKDOCLINK
4791HREF="X20"
4792>x20</GTKDOCLINK
4793>) characters by single space (<GTKDOCLINK
4794HREF="X20"
4795>x20</GTKDOCLINK
4796>) character.</P
4797><P
4798></P
4799><DIV
4800CLASS="INFORMALTABLE"
4801><P
4802></P
4803><TABLE
4804BORDER="0"
4805WIDTH="100%"
4806BGCOLOR="#FFD0D0"
4807CELLSPACING="0"
4808CELLPADDING="4"
4809CLASS="CALSTABLE"
4810><TR
4811><TD
4812WIDTH="20%"
4813ALIGN="RIGHT"
4814VALIGN="TOP"
4815><TT
4816CLASS="PARAMETER"
4817><I
4818>doc</I
4819></TT
4820>&nbsp;:</TD
4821><TD
4822WIDTH="80%"
4823ALIGN="LEFT"
4824VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004825> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004826></TR
4827><TR
4828><TD
4829WIDTH="20%"
4830ALIGN="RIGHT"
4831VALIGN="TOP"
4832><TT
4833CLASS="PARAMETER"
4834><I
4835>elem</I
4836></TT
4837>&nbsp;:</TD
4838><TD
4839WIDTH="80%"
4840ALIGN="LEFT"
4841VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004842> the parent</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004843></TR
4844><TR
4845><TD
4846WIDTH="20%"
4847ALIGN="RIGHT"
4848VALIGN="TOP"
4849><TT
4850CLASS="PARAMETER"
4851><I
4852>name</I
4853></TT
4854>&nbsp;:</TD
4855><TD
4856WIDTH="80%"
4857ALIGN="LEFT"
4858VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004859> the attribute name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004860></TR
4861><TR
4862><TD
4863WIDTH="20%"
4864ALIGN="RIGHT"
4865VALIGN="TOP"
4866><TT
4867CLASS="PARAMETER"
4868><I
4869>value</I
4870></TT
4871>&nbsp;:</TD
4872><TD
4873WIDTH="80%"
4874ALIGN="LEFT"
4875VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004876> the attribute value</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004877></TR
4878><TR
4879><TD
4880WIDTH="20%"
4881ALIGN="RIGHT"
4882VALIGN="TOP"
4883><I
4884CLASS="EMPHASIS"
4885>Returns</I
4886> :</TD
4887><TD
4888WIDTH="80%"
4889ALIGN="LEFT"
4890VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004891>a new normalized string if normalization is needed, NULL otherwise
4892the caller must free the returned value.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004893></TR
4894></TABLE
4895><P
4896></P
4897></DIV
4898></DIV
4899><HR><DIV
4900CLASS="REFSECT2"
4901><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00004902NAME="AEN8616"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004903></A
4904><H3
4905><A
4906NAME="XMLVALIDATEATTRIBUTEDECL"
4907></A
4908>xmlValidateAttributeDecl ()</H3
4909><TABLE
4910BORDER="0"
4911BGCOLOR="#D6E8FF"
4912WIDTH="100%"
4913CELLPADDING="6"
4914><TR
4915><TD
4916><PRE
4917CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004918>int xmlValidateAttributeDecl (<A
4919HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4920>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004921> ctxt,
4922 <A
4923HREF="gnome-xml-tree.html#XMLDOCPTR"
4924>xmlDocPtr</A
4925> doc,
4926 <A
4927HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
4928>xmlAttributePtr</A
4929> attr);</PRE
4930></TD
4931></TR
4932></TABLE
4933><P
4934>Try to validate a single attribute definition
4935basically it does the following checks as described by the
4936XML-1.0 recommendation:
4937- [ VC: Attribute Default Legal ]
4938- [ VC: Enumeration ]
4939- [ VC: ID Attribute Default ]</P
4940><P
4941>The ID/IDREF uniqueness and matching are done separately</P
4942><P
4943></P
4944><DIV
4945CLASS="INFORMALTABLE"
4946><P
4947></P
4948><TABLE
4949BORDER="0"
4950WIDTH="100%"
4951BGCOLOR="#FFD0D0"
4952CELLSPACING="0"
4953CELLPADDING="4"
4954CLASS="CALSTABLE"
4955><TR
4956><TD
4957WIDTH="20%"
4958ALIGN="RIGHT"
4959VALIGN="TOP"
4960><TT
4961CLASS="PARAMETER"
4962><I
4963>ctxt</I
4964></TT
4965>&nbsp;:</TD
4966><TD
4967WIDTH="80%"
4968ALIGN="LEFT"
4969VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004970> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004971></TR
4972><TR
4973><TD
4974WIDTH="20%"
4975ALIGN="RIGHT"
4976VALIGN="TOP"
4977><TT
4978CLASS="PARAMETER"
4979><I
4980>doc</I
4981></TT
4982>&nbsp;:</TD
4983><TD
4984WIDTH="80%"
4985ALIGN="LEFT"
4986VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004987> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004988></TR
4989><TR
4990><TD
4991WIDTH="20%"
4992ALIGN="RIGHT"
4993VALIGN="TOP"
4994><TT
4995CLASS="PARAMETER"
4996><I
4997>attr</I
4998></TT
4999>&nbsp;:</TD
5000><TD
5001WIDTH="80%"
5002ALIGN="LEFT"
5003VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005004> an attribute definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005005></TR
5006><TR
5007><TD
5008WIDTH="20%"
5009ALIGN="RIGHT"
5010VALIGN="TOP"
5011><I
5012CLASS="EMPHASIS"
5013>Returns</I
5014> :</TD
5015><TD
5016WIDTH="80%"
5017ALIGN="LEFT"
5018VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005019>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005020></TR
5021></TABLE
5022><P
5023></P
5024></DIV
5025></DIV
5026><HR><DIV
5027CLASS="REFSECT2"
5028><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00005029NAME="AEN8647"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005030></A
5031><H3
5032><A
5033NAME="XMLVALIDATEATTRIBUTEVALUE"
5034></A
5035>xmlValidateAttributeValue ()</H3
5036><TABLE
5037BORDER="0"
5038BGCOLOR="#D6E8FF"
5039WIDTH="100%"
5040CELLPADDING="6"
5041><TR
5042><TD
5043><PRE
5044CLASS="PROGRAMLISTING"
5045>int xmlValidateAttributeValue (<A
5046HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
5047>xmlAttributeType</A
5048> type,
5049 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005050HREF="gnome-xml-tree.html#XMLCHAR"
5051>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005052> *value);</PRE
5053></TD
5054></TR
5055></TABLE
5056><P
5057>Validate that the given attribute value match the proper production</P
5058><P
5059>[ VC: ID ]
5060Values of type ID must match the Name production....</P
5061><P
5062>[ VC: IDREF ]
5063Values of type IDREF must match the Name production, and values
5064of type IDREFS must match Names ...</P
5065><P
5066>[ VC: Entity Name ]
5067Values of type ENTITY must match the Name production, values
5068of type ENTITIES must match Names ...</P
5069><P
5070>[ VC: Name Token ]
5071Values of type NMTOKEN must match the Nmtoken production; values
5072of type NMTOKENS must match Nmtokens.</P
5073><P
5074></P
5075><DIV
5076CLASS="INFORMALTABLE"
5077><P
5078></P
5079><TABLE
5080BORDER="0"
5081WIDTH="100%"
5082BGCOLOR="#FFD0D0"
5083CELLSPACING="0"
5084CELLPADDING="4"
5085CLASS="CALSTABLE"
5086><TR
5087><TD
5088WIDTH="20%"
5089ALIGN="RIGHT"
5090VALIGN="TOP"
5091><TT
5092CLASS="PARAMETER"
5093><I
5094>type</I
5095></TT
5096>&nbsp;:</TD
5097><TD
5098WIDTH="80%"
5099ALIGN="LEFT"
5100VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005101> an attribute type</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005102></TR
5103><TR
5104><TD
5105WIDTH="20%"
5106ALIGN="RIGHT"
5107VALIGN="TOP"
5108><TT
5109CLASS="PARAMETER"
5110><I
5111>value</I
5112></TT
5113>&nbsp;:</TD
5114><TD
5115WIDTH="80%"
5116ALIGN="LEFT"
5117VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005118> an attribute value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005119></TR
5120><TR
5121><TD
5122WIDTH="20%"
5123ALIGN="RIGHT"
5124VALIGN="TOP"
5125><I
5126CLASS="EMPHASIS"
5127>Returns</I
5128> :</TD
5129><TD
5130WIDTH="80%"
5131ALIGN="LEFT"
5132VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005133>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005134></TR
5135></TABLE
5136><P
5137></P
5138></DIV
5139></DIV
5140><HR><DIV
5141CLASS="REFSECT2"
5142><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00005143NAME="AEN8676"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005144></A
5145><H3
5146><A
5147NAME="XMLVALIDATENOTATIONDECL"
5148></A
5149>xmlValidateNotationDecl ()</H3
5150><TABLE
5151BORDER="0"
5152BGCOLOR="#D6E8FF"
5153WIDTH="100%"
5154CELLPADDING="6"
5155><TR
5156><TD
5157><PRE
5158CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005159>int xmlValidateNotationDecl (<A
5160HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5161>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005162> ctxt,
5163 <A
5164HREF="gnome-xml-tree.html#XMLDOCPTR"
5165>xmlDocPtr</A
5166> doc,
5167 <A
5168HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
5169>xmlNotationPtr</A
5170> nota);</PRE
5171></TD
5172></TR
5173></TABLE
5174><P
5175>Try to validate a single notation definition
5176basically it does the following checks as described by the
5177XML-1.0 recommendation:
5178- it seems that no validity constraing exist on notation declarations
5179But this function get called anyway ...</P
5180><P
5181></P
5182><DIV
5183CLASS="INFORMALTABLE"
5184><P
5185></P
5186><TABLE
5187BORDER="0"
5188WIDTH="100%"
5189BGCOLOR="#FFD0D0"
5190CELLSPACING="0"
5191CELLPADDING="4"
5192CLASS="CALSTABLE"
5193><TR
5194><TD
5195WIDTH="20%"
5196ALIGN="RIGHT"
5197VALIGN="TOP"
5198><TT
5199CLASS="PARAMETER"
5200><I
5201>ctxt</I
5202></TT
5203>&nbsp;:</TD
5204><TD
5205WIDTH="80%"
5206ALIGN="LEFT"
5207VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005208> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005209></TR
5210><TR
5211><TD
5212WIDTH="20%"
5213ALIGN="RIGHT"
5214VALIGN="TOP"
5215><TT
5216CLASS="PARAMETER"
5217><I
5218>doc</I
5219></TT
5220>&nbsp;:</TD
5221><TD
5222WIDTH="80%"
5223ALIGN="LEFT"
5224VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005225> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005226></TR
5227><TR
5228><TD
5229WIDTH="20%"
5230ALIGN="RIGHT"
5231VALIGN="TOP"
5232><TT
5233CLASS="PARAMETER"
5234><I
5235>nota</I
5236></TT
5237>&nbsp;:</TD
5238><TD
5239WIDTH="80%"
5240ALIGN="LEFT"
5241VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005242> a notation definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005243></TR
5244><TR
5245><TD
5246WIDTH="20%"
5247ALIGN="RIGHT"
5248VALIGN="TOP"
5249><I
5250CLASS="EMPHASIS"
5251>Returns</I
5252> :</TD
5253><TD
5254WIDTH="80%"
5255ALIGN="LEFT"
5256VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005257>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005258></TR
5259></TABLE
5260><P
5261></P
5262></DIV
5263></DIV
5264><HR><DIV
5265CLASS="REFSECT2"
5266><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00005267NAME="AEN8706"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005268></A
5269><H3
5270><A
5271NAME="XMLVALIDATEDTD"
5272></A
5273>xmlValidateDtd ()</H3
5274><TABLE
5275BORDER="0"
5276BGCOLOR="#D6E8FF"
5277WIDTH="100%"
5278CELLPADDING="6"
5279><TR
5280><TD
5281><PRE
5282CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005283>int xmlValidateDtd (<A
5284HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5285>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005286> ctxt,
5287 <A
5288HREF="gnome-xml-tree.html#XMLDOCPTR"
5289>xmlDocPtr</A
5290> doc,
5291 <A
5292HREF="gnome-xml-tree.html#XMLDTDPTR"
5293>xmlDtdPtr</A
5294> dtd);</PRE
5295></TD
5296></TR
5297></TABLE
5298><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005299>Try to validate the document against the dtd instance</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005300><P
5301>basically it does check all the definitions in the DtD.</P
5302><P
5303></P
5304><DIV
5305CLASS="INFORMALTABLE"
5306><P
5307></P
5308><TABLE
5309BORDER="0"
5310WIDTH="100%"
5311BGCOLOR="#FFD0D0"
5312CELLSPACING="0"
5313CELLPADDING="4"
5314CLASS="CALSTABLE"
5315><TR
5316><TD
5317WIDTH="20%"
5318ALIGN="RIGHT"
5319VALIGN="TOP"
5320><TT
5321CLASS="PARAMETER"
5322><I
5323>ctxt</I
5324></TT
5325>&nbsp;:</TD
5326><TD
5327WIDTH="80%"
5328ALIGN="LEFT"
5329VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005330> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005331></TR
5332><TR
5333><TD
5334WIDTH="20%"
5335ALIGN="RIGHT"
5336VALIGN="TOP"
5337><TT
5338CLASS="PARAMETER"
5339><I
5340>doc</I
5341></TT
5342>&nbsp;:</TD
5343><TD
5344WIDTH="80%"
5345ALIGN="LEFT"
5346VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005347> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005348></TR
5349><TR
5350><TD
5351WIDTH="20%"
5352ALIGN="RIGHT"
5353VALIGN="TOP"
5354><TT
5355CLASS="PARAMETER"
5356><I
5357>dtd</I
5358></TT
5359>&nbsp;:</TD
5360><TD
5361WIDTH="80%"
5362ALIGN="LEFT"
5363VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005364> a dtd instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005365></TR
5366><TR
5367><TD
5368WIDTH="20%"
5369ALIGN="RIGHT"
5370VALIGN="TOP"
5371><I
5372CLASS="EMPHASIS"
5373>Returns</I
5374> :</TD
5375><TD
5376WIDTH="80%"
5377ALIGN="LEFT"
5378VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005379>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005380></TR
5381></TABLE
5382><P
5383></P
5384></DIV
5385></DIV
5386><HR><DIV
5387CLASS="REFSECT2"
5388><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00005389NAME="AEN8737"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005390></A
5391><H3
5392><A
5393NAME="XMLVALIDATEDTDFINAL"
5394></A
5395>xmlValidateDtdFinal ()</H3
5396><TABLE
5397BORDER="0"
5398BGCOLOR="#D6E8FF"
5399WIDTH="100%"
5400CELLPADDING="6"
5401><TR
5402><TD
5403><PRE
5404CLASS="PROGRAMLISTING"
5405>int xmlValidateDtdFinal (<A
5406HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5407>xmlValidCtxtPtr</A
5408> ctxt,
5409 <A
5410HREF="gnome-xml-tree.html#XMLDOCPTR"
5411>xmlDocPtr</A
5412> doc);</PRE
5413></TD
5414></TR
5415></TABLE
5416><P
5417>Does the final step for the dtds validation once all the
5418subsets have been parsed</P
5419><P
5420>basically it does the following checks described by the XML Rec
5421- check that ENTITY and ENTITIES type attributes default or
5422possible values matches one of the defined entities.
5423- check that NOTATION type attributes default or
5424possible values matches one of the defined notations.</P
5425><P
5426></P
5427><DIV
5428CLASS="INFORMALTABLE"
5429><P
5430></P
5431><TABLE
5432BORDER="0"
5433WIDTH="100%"
5434BGCOLOR="#FFD0D0"
5435CELLSPACING="0"
5436CELLPADDING="4"
5437CLASS="CALSTABLE"
5438><TR
5439><TD
5440WIDTH="20%"
5441ALIGN="RIGHT"
5442VALIGN="TOP"
5443><TT
5444CLASS="PARAMETER"
5445><I
5446>ctxt</I
5447></TT
5448>&nbsp;:</TD
5449><TD
5450WIDTH="80%"
5451ALIGN="LEFT"
5452VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005453> the validation context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005454></TR
5455><TR
5456><TD
5457WIDTH="20%"
5458ALIGN="RIGHT"
5459VALIGN="TOP"
5460><TT
5461CLASS="PARAMETER"
5462><I
5463>doc</I
5464></TT
5465>&nbsp;:</TD
5466><TD
5467WIDTH="80%"
5468ALIGN="LEFT"
5469VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005470> a document instance</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005471></TR
5472><TR
5473><TD
5474WIDTH="20%"
5475ALIGN="RIGHT"
5476VALIGN="TOP"
5477><I
5478CLASS="EMPHASIS"
5479>Returns</I
5480> :</TD
5481><TD
5482WIDTH="80%"
5483ALIGN="LEFT"
5484VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005485>1 if valid or 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005486></TR
5487></TABLE
5488><P
5489></P
5490></DIV
5491></DIV
5492><HR><DIV
5493CLASS="REFSECT2"
5494><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00005495NAME="AEN8763"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005496></A
5497><H3
5498><A
5499NAME="XMLVALIDATEDOCUMENT"
5500></A
5501>xmlValidateDocument ()</H3
5502><TABLE
5503BORDER="0"
5504BGCOLOR="#D6E8FF"
5505WIDTH="100%"
5506CELLPADDING="6"
5507><TR
5508><TD
5509><PRE
5510CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005511>int xmlValidateDocument (<A
5512HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5513>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005514> ctxt,
5515 <A
5516HREF="gnome-xml-tree.html#XMLDOCPTR"
5517>xmlDocPtr</A
5518> doc);</PRE
5519></TD
5520></TR
5521></TABLE
5522><P
5523>Try to validate the document instance</P
5524><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005525>basically it does the all the checks described by the XML Rec
Daniel Veillardb05deb71999-08-10 19:04:08 +00005526i.e. validates the internal and external subset (if present)
5527and validate the document tree.</P
5528><P
5529></P
5530><DIV
5531CLASS="INFORMALTABLE"
5532><P
5533></P
5534><TABLE
5535BORDER="0"
5536WIDTH="100%"
5537BGCOLOR="#FFD0D0"
5538CELLSPACING="0"
5539CELLPADDING="4"
5540CLASS="CALSTABLE"
5541><TR
5542><TD
5543WIDTH="20%"
5544ALIGN="RIGHT"
5545VALIGN="TOP"
5546><TT
5547CLASS="PARAMETER"
5548><I
5549>ctxt</I
5550></TT
5551>&nbsp;:</TD
5552><TD
5553WIDTH="80%"
5554ALIGN="LEFT"
5555VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005556> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005557></TR
5558><TR
5559><TD
5560WIDTH="20%"
5561ALIGN="RIGHT"
5562VALIGN="TOP"
5563><TT
5564CLASS="PARAMETER"
5565><I
5566>doc</I
5567></TT
5568>&nbsp;:</TD
5569><TD
5570WIDTH="80%"
5571ALIGN="LEFT"
5572VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005573> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005574></TR
5575><TR
5576><TD
5577WIDTH="20%"
5578ALIGN="RIGHT"
5579VALIGN="TOP"
5580><I
5581CLASS="EMPHASIS"
5582>Returns</I
5583> :</TD
5584><TD
5585WIDTH="80%"
5586ALIGN="LEFT"
5587VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005588>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005589></TR
5590></TABLE
5591><P
5592></P
5593></DIV
5594></DIV
5595><HR><DIV
5596CLASS="REFSECT2"
5597><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00005598NAME="AEN8789"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005599></A
5600><H3
5601><A
5602NAME="XMLVALIDATEELEMENT"
5603></A
5604>xmlValidateElement ()</H3
5605><TABLE
5606BORDER="0"
5607BGCOLOR="#D6E8FF"
5608WIDTH="100%"
5609CELLPADDING="6"
5610><TR
5611><TD
5612><PRE
5613CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005614>int xmlValidateElement (<A
5615HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5616>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005617> ctxt,
5618 <A
5619HREF="gnome-xml-tree.html#XMLDOCPTR"
5620>xmlDocPtr</A
5621> doc,
5622 <A
5623HREF="gnome-xml-tree.html#XMLNODEPTR"
5624>xmlNodePtr</A
5625> elem);</PRE
5626></TD
5627></TR
5628></TABLE
5629><P
5630>Try to validate the subtree under an element</P
5631><P
5632></P
5633><DIV
5634CLASS="INFORMALTABLE"
5635><P
5636></P
5637><TABLE
5638BORDER="0"
5639WIDTH="100%"
5640BGCOLOR="#FFD0D0"
5641CELLSPACING="0"
5642CELLPADDING="4"
5643CLASS="CALSTABLE"
5644><TR
5645><TD
5646WIDTH="20%"
5647ALIGN="RIGHT"
5648VALIGN="TOP"
5649><TT
5650CLASS="PARAMETER"
5651><I
5652>ctxt</I
5653></TT
5654>&nbsp;:</TD
5655><TD
5656WIDTH="80%"
5657ALIGN="LEFT"
5658VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005659> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005660></TR
5661><TR
5662><TD
5663WIDTH="20%"
5664ALIGN="RIGHT"
5665VALIGN="TOP"
5666><TT
5667CLASS="PARAMETER"
5668><I
5669>doc</I
5670></TT
5671>&nbsp;:</TD
5672><TD
5673WIDTH="80%"
5674ALIGN="LEFT"
5675VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005676> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005677></TR
5678><TR
5679><TD
5680WIDTH="20%"
5681ALIGN="RIGHT"
5682VALIGN="TOP"
5683><TT
5684CLASS="PARAMETER"
5685><I
5686>elem</I
5687></TT
5688>&nbsp;:</TD
5689><TD
5690WIDTH="80%"
5691ALIGN="LEFT"
5692VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005693> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005694></TR
5695><TR
5696><TD
5697WIDTH="20%"
5698ALIGN="RIGHT"
5699VALIGN="TOP"
5700><I
5701CLASS="EMPHASIS"
5702>Returns</I
5703> :</TD
5704><TD
5705WIDTH="80%"
5706ALIGN="LEFT"
5707VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005708>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005709></TR
5710></TABLE
5711><P
5712></P
5713></DIV
5714></DIV
5715><HR><DIV
5716CLASS="REFSECT2"
5717><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00005718NAME="AEN8819"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005719></A
5720><H3
5721><A
5722NAME="XMLVALIDATEONEELEMENT"
5723></A
5724>xmlValidateOneElement ()</H3
5725><TABLE
5726BORDER="0"
5727BGCOLOR="#D6E8FF"
5728WIDTH="100%"
5729CELLPADDING="6"
5730><TR
5731><TD
5732><PRE
5733CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005734>int xmlValidateOneElement (<A
5735HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5736>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005737> ctxt,
5738 <A
5739HREF="gnome-xml-tree.html#XMLDOCPTR"
5740>xmlDocPtr</A
5741> doc,
5742 <A
5743HREF="gnome-xml-tree.html#XMLNODEPTR"
5744>xmlNodePtr</A
5745> elem);</PRE
5746></TD
5747></TR
5748></TABLE
5749><P
5750>Try to validate a single element and it's attributes,
5751basically it does the following checks as described by the
5752XML-1.0 recommendation:
5753- [ VC: Element Valid ]
5754- [ VC: Required Attribute ]
5755Then call <A
5756HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE"
5757>xmlValidateOneAttribute</A
5758>() for each attribute present.</P
5759><P
5760>The ID/IDREF checkings are done separately</P
5761><P
5762></P
5763><DIV
5764CLASS="INFORMALTABLE"
5765><P
5766></P
5767><TABLE
5768BORDER="0"
5769WIDTH="100%"
5770BGCOLOR="#FFD0D0"
5771CELLSPACING="0"
5772CELLPADDING="4"
5773CLASS="CALSTABLE"
5774><TR
5775><TD
5776WIDTH="20%"
5777ALIGN="RIGHT"
5778VALIGN="TOP"
5779><TT
5780CLASS="PARAMETER"
5781><I
5782>ctxt</I
5783></TT
5784>&nbsp;:</TD
5785><TD
5786WIDTH="80%"
5787ALIGN="LEFT"
5788VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005789> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005790></TR
5791><TR
5792><TD
5793WIDTH="20%"
5794ALIGN="RIGHT"
5795VALIGN="TOP"
5796><TT
5797CLASS="PARAMETER"
5798><I
5799>doc</I
5800></TT
5801>&nbsp;:</TD
5802><TD
5803WIDTH="80%"
5804ALIGN="LEFT"
5805VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005806> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005807></TR
5808><TR
5809><TD
5810WIDTH="20%"
5811ALIGN="RIGHT"
5812VALIGN="TOP"
5813><TT
5814CLASS="PARAMETER"
5815><I
5816>elem</I
5817></TT
5818>&nbsp;:</TD
5819><TD
5820WIDTH="80%"
5821ALIGN="LEFT"
5822VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005823> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005824></TR
5825><TR
5826><TD
5827WIDTH="20%"
5828ALIGN="RIGHT"
5829VALIGN="TOP"
5830><I
5831CLASS="EMPHASIS"
5832>Returns</I
5833> :</TD
5834><TD
5835WIDTH="80%"
5836ALIGN="LEFT"
5837VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005838>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005839></TR
5840></TABLE
5841><P
5842></P
5843></DIV
5844></DIV
5845><HR><DIV
5846CLASS="REFSECT2"
5847><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00005848NAME="AEN8851"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005849></A
5850><H3
5851><A
5852NAME="XMLVALIDATEONEATTRIBUTE"
5853></A
5854>xmlValidateOneAttribute ()</H3
5855><TABLE
5856BORDER="0"
5857BGCOLOR="#D6E8FF"
5858WIDTH="100%"
5859CELLPADDING="6"
5860><TR
5861><TD
5862><PRE
5863CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005864>int xmlValidateOneAttribute (<A
5865HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5866>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005867> ctxt,
5868 <A
5869HREF="gnome-xml-tree.html#XMLDOCPTR"
5870>xmlDocPtr</A
5871> doc,
5872 <A
5873HREF="gnome-xml-tree.html#XMLNODEPTR"
5874>xmlNodePtr</A
5875> elem,
5876 <A
5877HREF="gnome-xml-tree.html#XMLATTRPTR"
5878>xmlAttrPtr</A
5879> attr,
5880 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005881HREF="gnome-xml-tree.html#XMLCHAR"
5882>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005883> *value);</PRE
5884></TD
5885></TR
5886></TABLE
5887><P
5888>Try to validate a single attribute for an element
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005889basically it does the following checks as described by the
Daniel Veillardb05deb71999-08-10 19:04:08 +00005890XML-1.0 recommendation:
5891- [ VC: Attribute Value Type ]
5892- [ VC: Fixed Attribute Default ]
5893- [ VC: Entity Name ]
5894- [ VC: Name Token ]
5895- [ VC: ID ]
5896- [ VC: IDREF ]
5897- [ VC: Entity Name ]
5898- [ VC: Notation Attributes ]</P
5899><P
5900>The ID/IDREF uniqueness and matching are done separately</P
5901><P
5902></P
5903><DIV
5904CLASS="INFORMALTABLE"
5905><P
5906></P
5907><TABLE
5908BORDER="0"
5909WIDTH="100%"
5910BGCOLOR="#FFD0D0"
5911CELLSPACING="0"
5912CELLPADDING="4"
5913CLASS="CALSTABLE"
5914><TR
5915><TD
5916WIDTH="20%"
5917ALIGN="RIGHT"
5918VALIGN="TOP"
5919><TT
5920CLASS="PARAMETER"
5921><I
5922>ctxt</I
5923></TT
5924>&nbsp;:</TD
5925><TD
5926WIDTH="80%"
5927ALIGN="LEFT"
5928VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005929> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005930></TR
5931><TR
5932><TD
5933WIDTH="20%"
5934ALIGN="RIGHT"
5935VALIGN="TOP"
5936><TT
5937CLASS="PARAMETER"
5938><I
5939>doc</I
5940></TT
5941>&nbsp;:</TD
5942><TD
5943WIDTH="80%"
5944ALIGN="LEFT"
5945VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005946> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005947></TR
5948><TR
5949><TD
5950WIDTH="20%"
5951ALIGN="RIGHT"
5952VALIGN="TOP"
5953><TT
5954CLASS="PARAMETER"
5955><I
5956>elem</I
5957></TT
5958>&nbsp;:</TD
5959><TD
5960WIDTH="80%"
5961ALIGN="LEFT"
5962VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005963> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005964></TR
5965><TR
5966><TD
5967WIDTH="20%"
5968ALIGN="RIGHT"
5969VALIGN="TOP"
5970><TT
5971CLASS="PARAMETER"
5972><I
5973>attr</I
5974></TT
5975>&nbsp;:</TD
5976><TD
5977WIDTH="80%"
5978ALIGN="LEFT"
5979VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005980> an attribute instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005981></TR
5982><TR
5983><TD
5984WIDTH="20%"
5985ALIGN="RIGHT"
5986VALIGN="TOP"
5987><TT
5988CLASS="PARAMETER"
5989><I
5990>value</I
5991></TT
5992>&nbsp;:</TD
5993><TD
5994WIDTH="80%"
5995ALIGN="LEFT"
5996VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005997> the attribute value (without entities processing)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005998></TR
5999><TR
6000><TD
6001WIDTH="20%"
6002ALIGN="RIGHT"
6003VALIGN="TOP"
6004><I
6005CLASS="EMPHASIS"
6006>Returns</I
6007> :</TD
6008><TD
6009WIDTH="80%"
6010ALIGN="LEFT"
6011VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006012>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006013></TR
6014></TABLE
6015><P
6016></P
6017></DIV
6018></DIV
6019><HR><DIV
6020CLASS="REFSECT2"
6021><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00006022NAME="AEN8892"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006023></A
6024><H3
6025><A
6026NAME="XMLVALIDATEDOCUMENTFINAL"
6027></A
6028>xmlValidateDocumentFinal ()</H3
6029><TABLE
6030BORDER="0"
6031BGCOLOR="#D6E8FF"
6032WIDTH="100%"
6033CELLPADDING="6"
6034><TR
6035><TD
6036><PRE
6037CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006038>int xmlValidateDocumentFinal (<A
6039HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
6040>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006041> ctxt,
6042 <A
6043HREF="gnome-xml-tree.html#XMLDOCPTR"
6044>xmlDocPtr</A
6045> doc);</PRE
6046></TD
6047></TR
6048></TABLE
6049><P
6050>Does the final step for the document validation once all the
6051incremental validation steps have been completed</P
6052><P
6053>basically it does the following checks described by the XML Rec</P
6054><P
6055></P
6056><DIV
6057CLASS="INFORMALTABLE"
6058><P
6059></P
6060><TABLE
6061BORDER="0"
6062WIDTH="100%"
6063BGCOLOR="#FFD0D0"
6064CELLSPACING="0"
6065CELLPADDING="4"
6066CLASS="CALSTABLE"
6067><TR
6068><TD
6069WIDTH="20%"
6070ALIGN="RIGHT"
6071VALIGN="TOP"
6072><TT
6073CLASS="PARAMETER"
6074><I
6075>ctxt</I
6076></TT
6077>&nbsp;:</TD
6078><TD
6079WIDTH="80%"
6080ALIGN="LEFT"
6081VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006082> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006083></TR
6084><TR
6085><TD
6086WIDTH="20%"
6087ALIGN="RIGHT"
6088VALIGN="TOP"
6089><TT
6090CLASS="PARAMETER"
6091><I
6092>doc</I
6093></TT
6094>&nbsp;:</TD
6095><TD
6096WIDTH="80%"
6097ALIGN="LEFT"
6098VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006099> a document instance</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006100></TR
6101><TR
6102><TD
6103WIDTH="20%"
6104ALIGN="RIGHT"
6105VALIGN="TOP"
6106><I
6107CLASS="EMPHASIS"
6108>Returns</I
6109> :</TD
6110><TD
6111WIDTH="80%"
6112ALIGN="LEFT"
6113VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006114>1 if valid or 0 otherwise</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006115></TR
6116></TABLE
6117><P
6118></P
6119></DIV
6120></DIV
6121><HR><DIV
6122CLASS="REFSECT2"
6123><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00006124NAME="AEN8918"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006125></A
6126><H3
6127><A
6128NAME="XMLVALIDATENOTATIONUSE"
6129></A
6130>xmlValidateNotationUse ()</H3
6131><TABLE
6132BORDER="0"
6133BGCOLOR="#D6E8FF"
6134WIDTH="100%"
6135CELLPADDING="6"
6136><TR
6137><TD
6138><PRE
6139CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006140>int xmlValidateNotationUse (<A
6141HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
6142>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006143> ctxt,
6144 <A
6145HREF="gnome-xml-tree.html#XMLDOCPTR"
6146>xmlDocPtr</A
6147> doc,
6148 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006149HREF="gnome-xml-tree.html#XMLCHAR"
6150>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006151> *notationName);</PRE
6152></TD
6153></TR
6154></TABLE
6155><P
6156>Validate that the given mame match a notation declaration.
6157- [ VC: Notation Declared ]</P
6158><P
6159></P
6160><DIV
6161CLASS="INFORMALTABLE"
6162><P
6163></P
6164><TABLE
6165BORDER="0"
6166WIDTH="100%"
6167BGCOLOR="#FFD0D0"
6168CELLSPACING="0"
6169CELLPADDING="4"
6170CLASS="CALSTABLE"
6171><TR
6172><TD
6173WIDTH="20%"
6174ALIGN="RIGHT"
6175VALIGN="TOP"
6176><TT
6177CLASS="PARAMETER"
6178><I
6179>ctxt</I
6180></TT
6181>&nbsp;:</TD
6182><TD
6183WIDTH="80%"
6184ALIGN="LEFT"
6185VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006186> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006187></TR
6188><TR
6189><TD
6190WIDTH="20%"
6191ALIGN="RIGHT"
6192VALIGN="TOP"
6193><TT
6194CLASS="PARAMETER"
6195><I
6196>doc</I
6197></TT
6198>&nbsp;:</TD
6199><TD
6200WIDTH="80%"
6201ALIGN="LEFT"
6202VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006203> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006204></TR
6205><TR
6206><TD
6207WIDTH="20%"
6208ALIGN="RIGHT"
6209VALIGN="TOP"
6210><TT
6211CLASS="PARAMETER"
6212><I
6213>notationName</I
6214></TT
6215>&nbsp;:</TD
6216><TD
6217WIDTH="80%"
6218ALIGN="LEFT"
6219VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006220> the notation name to check</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006221></TR
6222><TR
6223><TD
6224WIDTH="20%"
6225ALIGN="RIGHT"
6226VALIGN="TOP"
6227><I
6228CLASS="EMPHASIS"
6229>Returns</I
6230> :</TD
6231><TD
6232WIDTH="80%"
6233ALIGN="LEFT"
6234VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006235>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006236></TR
6237></TABLE
6238><P
6239></P
6240></DIV
6241></DIV
6242><HR><DIV
6243CLASS="REFSECT2"
6244><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00006245NAME="AEN8948"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006246></A
6247><H3
6248><A
6249NAME="XMLISMIXEDELEMENT"
6250></A
6251>xmlIsMixedElement ()</H3
6252><TABLE
6253BORDER="0"
6254BGCOLOR="#D6E8FF"
6255WIDTH="100%"
6256CELLPADDING="6"
6257><TR
6258><TD
6259><PRE
6260CLASS="PROGRAMLISTING"
6261>int xmlIsMixedElement (<A
6262HREF="gnome-xml-tree.html#XMLDOCPTR"
6263>xmlDocPtr</A
6264> doc,
6265 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006266HREF="gnome-xml-tree.html#XMLCHAR"
6267>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006268> *name);</PRE
6269></TD
6270></TR
6271></TABLE
6272><P
6273>Search in the DtDs whether an element accept Mixed content (or ANY)
6274basically if it is supposed to accept text childs</P
6275><P
6276></P
6277><DIV
6278CLASS="INFORMALTABLE"
6279><P
6280></P
6281><TABLE
6282BORDER="0"
6283WIDTH="100%"
6284BGCOLOR="#FFD0D0"
6285CELLSPACING="0"
6286CELLPADDING="4"
6287CLASS="CALSTABLE"
6288><TR
6289><TD
6290WIDTH="20%"
6291ALIGN="RIGHT"
6292VALIGN="TOP"
6293><TT
6294CLASS="PARAMETER"
6295><I
6296>doc</I
6297></TT
6298>&nbsp;:</TD
6299><TD
6300WIDTH="80%"
6301ALIGN="LEFT"
6302VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006303> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006304></TR
6305><TR
6306><TD
6307WIDTH="20%"
6308ALIGN="RIGHT"
6309VALIGN="TOP"
6310><TT
6311CLASS="PARAMETER"
6312><I
6313>name</I
6314></TT
6315>&nbsp;:</TD
6316><TD
6317WIDTH="80%"
6318ALIGN="LEFT"
6319VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006320> the element name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006321></TR
6322><TR
6323><TD
6324WIDTH="20%"
6325ALIGN="RIGHT"
6326VALIGN="TOP"
6327><I
6328CLASS="EMPHASIS"
6329>Returns</I
6330> :</TD
6331><TD
6332WIDTH="80%"
6333ALIGN="LEFT"
6334VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006335>0 if no, 1 if yes, and -1 if no element description is available</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006336></TR
6337></TABLE
6338><P
6339></P
6340></DIV
6341></DIV
6342><HR><DIV
6343CLASS="REFSECT2"
6344><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00006345NAME="AEN8973"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006346></A
6347><H3
6348><A
6349NAME="XMLGETDTDATTRDESC"
6350></A
6351>xmlGetDtdAttrDesc ()</H3
6352><TABLE
6353BORDER="0"
6354BGCOLOR="#D6E8FF"
6355WIDTH="100%"
6356CELLPADDING="6"
6357><TR
6358><TD
6359><PRE
6360CLASS="PROGRAMLISTING"
6361><A
6362HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
6363>xmlAttributePtr</A
6364> xmlGetDtdAttrDesc (<A
6365HREF="gnome-xml-tree.html#XMLDTDPTR"
6366>xmlDtdPtr</A
6367> dtd,
6368 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006369HREF="gnome-xml-tree.html#XMLCHAR"
6370>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006371> *elem,
6372 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006373HREF="gnome-xml-tree.html#XMLCHAR"
6374>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006375> *name);</PRE
6376></TD
6377></TR
6378></TABLE
6379><P
6380>Search the Dtd for the description of this attribute on
6381this element.</P
6382><P
6383></P
6384><DIV
6385CLASS="INFORMALTABLE"
6386><P
6387></P
6388><TABLE
6389BORDER="0"
6390WIDTH="100%"
6391BGCOLOR="#FFD0D0"
6392CELLSPACING="0"
6393CELLPADDING="4"
6394CLASS="CALSTABLE"
6395><TR
6396><TD
6397WIDTH="20%"
6398ALIGN="RIGHT"
6399VALIGN="TOP"
6400><TT
6401CLASS="PARAMETER"
6402><I
6403>dtd</I
6404></TT
6405>&nbsp;:</TD
6406><TD
6407WIDTH="80%"
6408ALIGN="LEFT"
6409VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006410> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006411></TR
6412><TR
6413><TD
6414WIDTH="20%"
6415ALIGN="RIGHT"
6416VALIGN="TOP"
6417><TT
6418CLASS="PARAMETER"
6419><I
6420>elem</I
6421></TT
6422>&nbsp;:</TD
6423><TD
6424WIDTH="80%"
6425ALIGN="LEFT"
6426VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006427> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006428></TR
6429><TR
6430><TD
6431WIDTH="20%"
6432ALIGN="RIGHT"
6433VALIGN="TOP"
6434><TT
6435CLASS="PARAMETER"
6436><I
6437>name</I
6438></TT
6439>&nbsp;:</TD
6440><TD
6441WIDTH="80%"
6442ALIGN="LEFT"
6443VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006444> the attribute name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006445></TR
6446><TR
6447><TD
6448WIDTH="20%"
6449ALIGN="RIGHT"
6450VALIGN="TOP"
6451><I
6452CLASS="EMPHASIS"
6453>Returns</I
6454> :</TD
6455><TD
6456WIDTH="80%"
6457ALIGN="LEFT"
6458VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006459>the xmlAttributePtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006460></TR
6461></TABLE
6462><P
6463></P
6464></DIV
6465></DIV
6466><HR><DIV
6467CLASS="REFSECT2"
6468><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00006469NAME="AEN9004"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006470></A
6471><H3
6472><A
6473NAME="XMLGETDTDNOTATIONDESC"
6474></A
6475>xmlGetDtdNotationDesc ()</H3
6476><TABLE
6477BORDER="0"
6478BGCOLOR="#D6E8FF"
6479WIDTH="100%"
6480CELLPADDING="6"
6481><TR
6482><TD
6483><PRE
6484CLASS="PROGRAMLISTING"
6485><A
6486HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
6487>xmlNotationPtr</A
6488> xmlGetDtdNotationDesc (<A
6489HREF="gnome-xml-tree.html#XMLDTDPTR"
6490>xmlDtdPtr</A
6491> dtd,
6492 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006493HREF="gnome-xml-tree.html#XMLCHAR"
6494>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006495> *name);</PRE
6496></TD
6497></TR
6498></TABLE
6499><P
6500>Search the Dtd for the description of this notation</P
6501><P
6502></P
6503><DIV
6504CLASS="INFORMALTABLE"
6505><P
6506></P
6507><TABLE
6508BORDER="0"
6509WIDTH="100%"
6510BGCOLOR="#FFD0D0"
6511CELLSPACING="0"
6512CELLPADDING="4"
6513CLASS="CALSTABLE"
6514><TR
6515><TD
6516WIDTH="20%"
6517ALIGN="RIGHT"
6518VALIGN="TOP"
6519><TT
6520CLASS="PARAMETER"
6521><I
6522>dtd</I
6523></TT
6524>&nbsp;:</TD
6525><TD
6526WIDTH="80%"
6527ALIGN="LEFT"
6528VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006529> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006530></TR
6531><TR
6532><TD
6533WIDTH="20%"
6534ALIGN="RIGHT"
6535VALIGN="TOP"
6536><TT
6537CLASS="PARAMETER"
6538><I
6539>name</I
6540></TT
6541>&nbsp;:</TD
6542><TD
6543WIDTH="80%"
6544ALIGN="LEFT"
6545VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006546> the notation name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006547></TR
6548><TR
6549><TD
6550WIDTH="20%"
6551ALIGN="RIGHT"
6552VALIGN="TOP"
6553><I
6554CLASS="EMPHASIS"
6555>Returns</I
6556> :</TD
6557><TD
6558WIDTH="80%"
6559ALIGN="LEFT"
6560VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006561>the xmlNotationPtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006562></TR
6563></TABLE
6564><P
6565></P
6566></DIV
6567></DIV
6568><HR><DIV
6569CLASS="REFSECT2"
6570><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00006571NAME="AEN9030"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006572></A
6573><H3
6574><A
6575NAME="XMLGETDTDELEMENTDESC"
6576></A
6577>xmlGetDtdElementDesc ()</H3
6578><TABLE
6579BORDER="0"
6580BGCOLOR="#D6E8FF"
6581WIDTH="100%"
6582CELLPADDING="6"
6583><TR
6584><TD
6585><PRE
6586CLASS="PROGRAMLISTING"
6587><A
6588HREF="gnome-xml-tree.html#XMLELEMENTPTR"
6589>xmlElementPtr</A
6590> xmlGetDtdElementDesc (<A
6591HREF="gnome-xml-tree.html#XMLDTDPTR"
6592>xmlDtdPtr</A
6593> dtd,
6594 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006595HREF="gnome-xml-tree.html#XMLCHAR"
6596>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006597> *name);</PRE
6598></TD
6599></TR
6600></TABLE
6601><P
6602>Search the Dtd for the description of this element</P
6603><P
6604></P
6605><DIV
6606CLASS="INFORMALTABLE"
6607><P
6608></P
6609><TABLE
6610BORDER="0"
6611WIDTH="100%"
6612BGCOLOR="#FFD0D0"
6613CELLSPACING="0"
6614CELLPADDING="4"
6615CLASS="CALSTABLE"
6616><TR
6617><TD
6618WIDTH="20%"
6619ALIGN="RIGHT"
6620VALIGN="TOP"
6621><TT
6622CLASS="PARAMETER"
6623><I
6624>dtd</I
6625></TT
6626>&nbsp;:</TD
6627><TD
6628WIDTH="80%"
6629ALIGN="LEFT"
6630VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006631> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006632></TR
6633><TR
6634><TD
6635WIDTH="20%"
6636ALIGN="RIGHT"
6637VALIGN="TOP"
6638><TT
6639CLASS="PARAMETER"
6640><I
6641>name</I
6642></TT
6643>&nbsp;:</TD
6644><TD
6645WIDTH="80%"
6646ALIGN="LEFT"
6647VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006648> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006649></TR
6650><TR
6651><TD
6652WIDTH="20%"
6653ALIGN="RIGHT"
6654VALIGN="TOP"
6655><I
6656CLASS="EMPHASIS"
6657>Returns</I
6658> :</TD
6659><TD
6660WIDTH="80%"
6661ALIGN="LEFT"
6662VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006663>the xmlElementPtr if found or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006664></TR
6665></TABLE
6666><P
6667></P
6668></DIV
6669></DIV
6670><HR><DIV
6671CLASS="REFSECT2"
6672><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00006673NAME="AEN9056"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006674></A
6675><H3
6676><A
6677NAME="XMLVALIDGETVALIDELEMENTS"
6678></A
6679>xmlValidGetValidElements ()</H3
6680><TABLE
6681BORDER="0"
6682BGCOLOR="#D6E8FF"
6683WIDTH="100%"
6684CELLPADDING="6"
6685><TR
6686><TD
6687><PRE
6688CLASS="PROGRAMLISTING"
6689>int xmlValidGetValidElements (<A
6690HREF="gnome-xml-tree.html#XMLNODE"
6691>xmlNode</A
6692> *prev,
6693 <A
6694HREF="gnome-xml-tree.html#XMLNODE"
6695>xmlNode</A
6696> *next,
6697 const <A
6698HREF="gnome-xml-tree.html#XMLCHAR"
6699>xmlChar</A
6700> **list,
6701 int max);</PRE
6702></TD
6703></TR
6704></TABLE
6705><P
6706>This function returns the list of authorized children to insert
6707within an existing tree while respecting the validity constraints
6708forced by the Dtd. The insertion point is defined using <TT
6709CLASS="PARAMETER"
6710><I
6711>prev</I
6712></TT
6713> and
6714<TT
6715CLASS="PARAMETER"
6716><I
6717>next</I
6718></TT
6719> in the following ways:
6720to insert before 'node': xmlValidGetValidElements(node-&gt;prev, node, ...
6721to insert next 'node': xmlValidGetValidElements(node, node-&gt;next, ...
6722to replace 'node': xmlValidGetValidElements(node-&gt;prev, node-&gt;next, ...
6723to prepend a child to 'node': xmlValidGetValidElements(NULL, node-&gt;childs,
6724to append a child to 'node': xmlValidGetValidElements(node-&gt;last, NULL, ...</P
6725><P
6726>pointers to the element names are inserted at the beginning of the array
6727and do not need to be freed.</P
6728><P
6729></P
6730><DIV
6731CLASS="INFORMALTABLE"
6732><P
6733></P
6734><TABLE
6735BORDER="0"
6736WIDTH="100%"
6737BGCOLOR="#FFD0D0"
6738CELLSPACING="0"
6739CELLPADDING="4"
6740CLASS="CALSTABLE"
6741><TR
6742><TD
6743WIDTH="20%"
6744ALIGN="RIGHT"
6745VALIGN="TOP"
6746><TT
6747CLASS="PARAMETER"
6748><I
6749>prev</I
6750></TT
6751>&nbsp;:</TD
6752><TD
6753WIDTH="80%"
6754ALIGN="LEFT"
6755VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006756> an element to insert after</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006757></TR
6758><TR
6759><TD
6760WIDTH="20%"
6761ALIGN="RIGHT"
6762VALIGN="TOP"
6763><TT
6764CLASS="PARAMETER"
6765><I
6766>next</I
6767></TT
6768>&nbsp;:</TD
6769><TD
6770WIDTH="80%"
6771ALIGN="LEFT"
6772VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006773> an element to insert next</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006774></TR
6775><TR
6776><TD
6777WIDTH="20%"
6778ALIGN="RIGHT"
6779VALIGN="TOP"
6780><TT
6781CLASS="PARAMETER"
6782><I
6783>list</I
6784></TT
6785>&nbsp;:</TD
6786><TD
6787WIDTH="80%"
6788ALIGN="LEFT"
6789VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006790> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006791></TR
6792><TR
6793><TD
6794WIDTH="20%"
6795ALIGN="RIGHT"
6796VALIGN="TOP"
6797><TT
6798CLASS="PARAMETER"
6799><I
6800>max</I
6801></TT
6802>&nbsp;:</TD
6803><TD
6804WIDTH="80%"
6805ALIGN="LEFT"
6806VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006807> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006808></TR
6809><TR
6810><TD
6811WIDTH="20%"
6812ALIGN="RIGHT"
6813VALIGN="TOP"
6814><I
6815CLASS="EMPHASIS"
6816>Returns</I
6817> :</TD
6818><TD
6819WIDTH="80%"
6820ALIGN="LEFT"
6821VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006822>the number of element in the list, or -1 in case of error. If
6823the function returns the value <TT
6824CLASS="PARAMETER"
6825><I
6826>max</I
6827></TT
6828> the caller is invited to grow the
6829receiving array and retry.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006830></TR
6831></TABLE
6832><P
6833></P
6834></DIV
6835></DIV
6836><HR><DIV
6837CLASS="REFSECT2"
6838><A
Daniel Veillard29a11cc2000-10-25 13:32:39 +00006839NAME="AEN9094"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006840></A
6841><H3
6842><A
6843NAME="XMLVALIDGETPOTENTIALCHILDREN"
6844></A
6845>xmlValidGetPotentialChildren ()</H3
6846><TABLE
6847BORDER="0"
6848BGCOLOR="#D6E8FF"
6849WIDTH="100%"
6850CELLPADDING="6"
6851><TR
6852><TD
6853><PRE
6854CLASS="PROGRAMLISTING"
6855>int xmlValidGetPotentialChildren (<A
6856HREF="gnome-xml-tree.html#XMLELEMENTCONTENT"
6857>xmlElementContent</A
6858> *ctree,
6859 const <A
6860HREF="gnome-xml-tree.html#XMLCHAR"
6861>xmlChar</A
6862> **list,
6863 int *len,
6864 int max);</PRE
6865></TD
6866></TR
6867></TABLE
6868><P
6869>Build/extend a list of potential children allowed by the content tree</P
6870><P
6871></P
6872><DIV
6873CLASS="INFORMALTABLE"
6874><P
6875></P
6876><TABLE
6877BORDER="0"
6878WIDTH="100%"
6879BGCOLOR="#FFD0D0"
6880CELLSPACING="0"
6881CELLPADDING="4"
6882CLASS="CALSTABLE"
6883><TR
6884><TD
6885WIDTH="20%"
6886ALIGN="RIGHT"
6887VALIGN="TOP"
6888><TT
6889CLASS="PARAMETER"
6890><I
6891>ctree</I
6892></TT
6893>&nbsp;:</TD
6894><TD
6895WIDTH="80%"
6896ALIGN="LEFT"
6897VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006898> an element content tree</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006899></TR
6900><TR
6901><TD
6902WIDTH="20%"
6903ALIGN="RIGHT"
6904VALIGN="TOP"
6905><TT
6906CLASS="PARAMETER"
6907><I
6908>list</I
6909></TT
6910>&nbsp;:</TD
6911><TD
6912WIDTH="80%"
6913ALIGN="LEFT"
6914VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006915> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006916></TR
6917><TR
6918><TD
6919WIDTH="20%"
6920ALIGN="RIGHT"
6921VALIGN="TOP"
6922><TT
6923CLASS="PARAMETER"
6924><I
6925>len</I
6926></TT
6927>&nbsp;:</TD
6928><TD
6929WIDTH="80%"
6930ALIGN="LEFT"
6931VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006932> a pointer to the number of element in the list</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006933></TR
6934><TR
6935><TD
6936WIDTH="20%"
6937ALIGN="RIGHT"
6938VALIGN="TOP"
6939><TT
6940CLASS="PARAMETER"
6941><I
6942>max</I
6943></TT
6944>&nbsp;:</TD
6945><TD
6946WIDTH="80%"
6947ALIGN="LEFT"
6948VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006949> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006950></TR
6951><TR
6952><TD
6953WIDTH="20%"
6954ALIGN="RIGHT"
6955VALIGN="TOP"
6956><I
6957CLASS="EMPHASIS"
6958>Returns</I
6959> :</TD
6960><TD
6961WIDTH="80%"
6962ALIGN="LEFT"
6963VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006964>the number of element in the list, or -1 in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006965></TR
6966></TABLE
6967><P
6968></P
6969></DIV
6970></DIV
6971></DIV
6972><DIV
6973CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00006974><BR
6975CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00006976WIDTH="100%"
6977BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006978BGCOLOR="#000000"
6979CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00006980CELLSPACING="0"
6981><TR
6982><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006983WIDTH="25%"
6984BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00006985ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00006986><A
6987HREF="gnome-xml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00006988><FONT
6989COLOR="#FFFFFF"
6990SIZE="3"
6991><B
6992>&#60;&#60;&#60; Previous Page</B
6993></FONT
6994></A
Daniel Veillard35925471999-02-25 08:46:07 +00006995></TD
6996><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006997WIDTH="25%"
6998BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00006999ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00007000><FONT
7001COLOR="#FFFFFF"
7002SIZE="3"
7003><B
Daniel Veillard35925471999-02-25 08:46:07 +00007004><A
7005HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007006><FONT
7007COLOR="#FFFFFF"
7008SIZE="3"
7009><B
7010>Home</B
7011></FONT
7012></A
7013></B
7014></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00007015></TD
7016><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007017WIDTH="25%"
7018BGCOLOR="#00C000"
7019ALIGN="center"
7020><FONT
7021COLOR="#FFFFFF"
7022SIZE="3"
7023><B
7024><A
Daniel Veillard35008381999-10-25 13:15:52 +00007025HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007026><FONT
7027COLOR="#FFFFFF"
7028SIZE="3"
7029><B
7030>Up</B
7031></FONT
7032></A
7033></B
7034></FONT
7035></TD
7036><TD
7037WIDTH="25%"
7038BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00007039ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00007040><A
Daniel Veillard8f621982000-03-20 13:07:15 +00007041HREF="gnome-xml-uri.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007042><FONT
7043COLOR="#FFFFFF"
7044SIZE="3"
7045><B
7046>Next Page &#62;&#62;&#62;</B
7047></FONT
7048></A
Daniel Veillard35925471999-02-25 08:46:07 +00007049></TD
7050></TR
7051><TR
7052><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007053COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00007054ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00007055><FONT
7056COLOR="#FFFFFF"
7057SIZE="3"
7058><B
7059>entities</B
7060></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00007061></TD
7062><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007063COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00007064ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00007065><FONT
7066COLOR="#FFFFFF"
7067SIZE="3"
7068><B
Daniel Veillard8f621982000-03-20 13:07:15 +00007069>uri</B
Daniel Veillard14fff061999-06-22 21:49:07 +00007070></FONT
7071></TD
Daniel Veillard35925471999-02-25 08:46:07 +00007072></TR
7073></TABLE
7074></DIV
7075></BODY
7076></HTML
7077>