blob: 14fded027245ed575517c7267b25a0908e42988d [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>valid</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard503b8932001-01-05 06:36:31 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +00008REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
Daniel Veillard35008381999-10-25 13:15:52 +000012TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000014REL="PREVIOUS"
15TITLE="entities"
16HREF="gnome-xml-entities.html"><LINK
17REL="NEXT"
Daniel 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"
Daniel Veillard503b8932001-01-05 06:36:31 +000023LINK="#0000FF"
24VLINK="#840084"
25ALINK="#0000FF"
Daniel Veillard35925471999-02-25 08:46:07 +000026><DIV
27CLASS="NAVHEADER"
28><TABLE
29WIDTH="100%"
30BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000031BGCOLOR="#000000"
32CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000033CELLSPACING="0"
34><TR
35><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000036COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000037ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000038><FONT
39COLOR="#FFFFFF"
40SIZE="5"
41>Gnome XML Library Reference Manual</FONT
42></TH
Daniel Veillard35925471999-02-25 08:46:07 +000043></TR
44><TR
45><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000046WIDTH="25%"
47BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000048ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000049><A
50HREF="gnome-xml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000051><FONT
52COLOR="#FFFFFF"
53SIZE="3"
54><B
55>&#60;&#60;&#60; Previous Page</B
56></FONT
57></A
Daniel Veillard35925471999-02-25 08:46:07 +000058></TD
59><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000060WIDTH="25%"
61BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000062ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000063><FONT
64COLOR="#FFFFFF"
65SIZE="3"
66><B
67><A
68HREF="book1.html"
69><FONT
70COLOR="#FFFFFF"
71SIZE="3"
72><B
73>Home</B
74></FONT
75></A
76></B
77></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000078></TD
79><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000080WIDTH="25%"
81BGCOLOR="#00C000"
82ALIGN="center"
83><FONT
84COLOR="#FFFFFF"
85SIZE="3"
86><B
87><A
Daniel Veillard35008381999-10-25 13:15:52 +000088HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000089><FONT
90COLOR="#FFFFFF"
91SIZE="3"
92><B
93>Up</B
94></FONT
95></A
96></B
97></FONT
98></TD
99><TD
100WIDTH="25%"
101BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +0000102ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +0000103><A
Daniel Veillard8f621982000-03-20 13:07:15 +0000104HREF="gnome-xml-uri.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000105><FONT
106COLOR="#FFFFFF"
107SIZE="3"
108><B
109>Next Page &#62;&#62;&#62;</B
110></FONT
111></A
Daniel Veillard35925471999-02-25 08:46:07 +0000112></TD
113></TR
114></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000115></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000116><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000117><A
118NAME="GNOME-XML-VALID"
119>valid</A
120></H1
Daniel Veillard35925471999-02-25 08:46:07 +0000121><DIV
122CLASS="REFNAMEDIV"
123><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000124NAME="AEN7569"
Daniel Veillard35925471999-02-25 08:46:07 +0000125></A
126><H2
127>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000128>valid&nbsp;--&nbsp;</DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000129><DIV
130CLASS="REFSYNOPSISDIV"
131><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000132NAME="AEN7572"
Daniel Veillard35925471999-02-25 08:46:07 +0000133></A
134><H2
135>Synopsis</H2
136><TABLE
137BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000138BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000139WIDTH="100%"
140CELLPADDING="6"
141><TR
142><TD
143><PRE
144CLASS="SYNOPSIS"
145>&#13;
146
Daniel Veillardb05deb71999-08-10 19:04:08 +0000147void (<A
148HREF="gnome-xml-valid.html#XMLVALIDITYERRORFUNC"
149>*xmlValidityErrorFunc</A
150>) (void *ctx,
151 const char *msg,
152 ...);
153void (<A
154HREF="gnome-xml-valid.html#XMLVALIDITYWARNINGFUNC"
155>*xmlValidityWarningFunc</A
156>) (void *ctx,
157 const char *msg,
158 ...);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000159struct <A
160HREF="gnome-xml-valid.html#XMLVALIDCTXT"
161>xmlValidCtxt</A
162>;
163typedef <A
164HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
165>xmlValidCtxtPtr</A
166>;
Daniel Veillard35925471999-02-25 08:46:07 +0000167typedef <A
168HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
169>xmlNotationTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000170>;
Daniel Veillard35925471999-02-25 08:46:07 +0000171typedef <A
172HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
173>xmlElementTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000174>;
Daniel Veillard35925471999-02-25 08:46:07 +0000175typedef <A
176HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
177>xmlAttributeTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000178>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000179typedef <A
180HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
181>xmlIDTablePtr</A
182>;
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000183typedef <A
184HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
185>xmlRefTablePtr</A
186>;
Daniel Veillard35925471999-02-25 08:46:07 +0000187<A
188HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
189>xmlNotationPtr</A
190> <A
191HREF="gnome-xml-valid.html#XMLADDNOTATIONDECL"
192>xmlAddNotationDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000193> (<A
194HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
195>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000196> ctxt,
197 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000198HREF="gnome-xml-tree.html#XMLDTDPTR"
199>xmlDtdPtr</A
200> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000201 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000202HREF="gnome-xml-tree.html#XMLCHAR"
203>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000204> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000205 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000206HREF="gnome-xml-tree.html#XMLCHAR"
207>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000208> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000209 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000210HREF="gnome-xml-tree.html#XMLCHAR"
211>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000212> *SystemID);
213<A
214HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
215>xmlNotationTablePtr</A
216> <A
217HREF="gnome-xml-valid.html#XMLCOPYNOTATIONTABLE"
218>xmlCopyNotationTable</A
219> (<A
220HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
221>xmlNotationTablePtr</A
222> table);
223void <A
224HREF="gnome-xml-valid.html#XMLFREENOTATIONTABLE"
225>xmlFreeNotationTable</A
226> (<A
227HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
228>xmlNotationTablePtr</A
229> table);
230void <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000231HREF="gnome-xml-valid.html#XMLDUMPNOTATIONDECL"
232>xmlDumpNotationDecl</A
233> (<A
234HREF="gnome-xml-tree.html#XMLBUFFERPTR"
235>xmlBufferPtr</A
236> buf,
237 <A
238HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
239>xmlNotationPtr</A
240> nota);
241void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000242HREF="gnome-xml-valid.html#XMLDUMPNOTATIONTABLE"
243>xmlDumpNotationTable</A
244> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000245HREF="gnome-xml-tree.html#XMLBUFFERPTR"
246>xmlBufferPtr</A
247> buf,
248 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000249HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
250>xmlNotationTablePtr</A
251> table);
252<A
253HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
254>xmlElementContentPtr</A
255> <A
256HREF="gnome-xml-valid.html#XMLNEWELEMENTCONTENT"
257>xmlNewElementContent</A
258> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000259HREF="gnome-xml-tree.html#XMLCHAR"
260>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000261> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000262 <A
263HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
264>xmlElementContentType</A
265> type);
Daniel Veillard35925471999-02-25 08:46:07 +0000266<A
267HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
268>xmlElementContentPtr</A
269> <A
270HREF="gnome-xml-valid.html#XMLCOPYELEMENTCONTENT"
271>xmlCopyElementContent</A
272> (<A
273HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
274>xmlElementContentPtr</A
275> content);
276void <A
277HREF="gnome-xml-valid.html#XMLFREEELEMENTCONTENT"
278>xmlFreeElementContent</A
279> (<A
280HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
281>xmlElementContentPtr</A
282> cur);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000283void <A
284HREF="gnome-xml-valid.html#XMLSPRINTFELEMENTCONTENT"
285>xmlSprintfElementContent</A
286> (char *buf,
287 <A
288HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
289>xmlElementContentPtr</A
290> content,
291 int glob);
Daniel Veillard35925471999-02-25 08:46:07 +0000292<A
293HREF="gnome-xml-tree.html#XMLELEMENTPTR"
294>xmlElementPtr</A
295> <A
296HREF="gnome-xml-valid.html#XMLADDELEMENTDECL"
297>xmlAddElementDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000298> (<A
299HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
300>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000301> ctxt,
302 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000303HREF="gnome-xml-tree.html#XMLDTDPTR"
304>xmlDtdPtr</A
305> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000306 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000307HREF="gnome-xml-tree.html#XMLCHAR"
308>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000309> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000310 <A
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000311HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL"
312>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000313> type,
Daniel Veillard35925471999-02-25 08:46:07 +0000314 <A
315HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
316>xmlElementContentPtr</A
317> content);
318<A
319HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
320>xmlElementTablePtr</A
321> <A
322HREF="gnome-xml-valid.html#XMLCOPYELEMENTTABLE"
323>xmlCopyElementTable</A
324> (<A
325HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
326>xmlElementTablePtr</A
327> table);
328void <A
329HREF="gnome-xml-valid.html#XMLFREEELEMENTTABLE"
330>xmlFreeElementTable</A
331> (<A
332HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
333>xmlElementTablePtr</A
334> table);
335void <A
336HREF="gnome-xml-valid.html#XMLDUMPELEMENTTABLE"
337>xmlDumpElementTable</A
338> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000339HREF="gnome-xml-tree.html#XMLBUFFERPTR"
340>xmlBufferPtr</A
341> buf,
342 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000343HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
344>xmlElementTablePtr</A
345> table);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000346void <A
347HREF="gnome-xml-valid.html#XMLDUMPELEMENTDECL"
348>xmlDumpElementDecl</A
349> (<A
350HREF="gnome-xml-tree.html#XMLBUFFERPTR"
351>xmlBufferPtr</A
352> buf,
353 <A
354HREF="gnome-xml-tree.html#XMLELEMENTPTR"
355>xmlElementPtr</A
356> elem);
Daniel Veillard35925471999-02-25 08:46:07 +0000357<A
358HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
359>xmlEnumerationPtr</A
360> <A
361HREF="gnome-xml-valid.html#XMLCREATEENUMERATION"
362>xmlCreateEnumeration</A
363> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000364HREF="gnome-xml-tree.html#XMLCHAR"
365>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000366> *name);
367void <A
368HREF="gnome-xml-valid.html#XMLFREEENUMERATION"
369>xmlFreeEnumeration</A
370> (<A
371HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
372>xmlEnumerationPtr</A
373> cur);
374<A
375HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
376>xmlEnumerationPtr</A
377> <A
378HREF="gnome-xml-valid.html#XMLCOPYENUMERATION"
379>xmlCopyEnumeration</A
380> (<A
381HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
382>xmlEnumerationPtr</A
383> cur);
384<A
385HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
386>xmlAttributePtr</A
387> <A
388HREF="gnome-xml-valid.html#XMLADDATTRIBUTEDECL"
389>xmlAddAttributeDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000390> (<A
391HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
392>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000393> ctxt,
394 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000395HREF="gnome-xml-tree.html#XMLDTDPTR"
396>xmlDtdPtr</A
397> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000398 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000399HREF="gnome-xml-tree.html#XMLCHAR"
400>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000401> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000402 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000403HREF="gnome-xml-tree.html#XMLCHAR"
404>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000405> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000406 const <A
407HREF="gnome-xml-tree.html#XMLCHAR"
408>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +0000409> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000410 <A
411HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
412>xmlAttributeType</A
413> type,
414 <A
415HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
416>xmlAttributeDefault</A
417> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000418 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000419HREF="gnome-xml-tree.html#XMLCHAR"
420>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000421> *defaultValue,
422 <A
423HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
424>xmlEnumerationPtr</A
425> tree);
426<A
427HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
428>xmlAttributeTablePtr</A
429> <A
430HREF="gnome-xml-valid.html#XMLCOPYATTRIBUTETABLE"
431>xmlCopyAttributeTable</A
432> (<A
433HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
434>xmlAttributeTablePtr</A
435> table);
436void <A
437HREF="gnome-xml-valid.html#XMLFREEATTRIBUTETABLE"
438>xmlFreeAttributeTable</A
439> (<A
440HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
441>xmlAttributeTablePtr</A
442> table);
443void <A
444HREF="gnome-xml-valid.html#XMLDUMPATTRIBUTETABLE"
445>xmlDumpAttributeTable</A
446> (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000447HREF="gnome-xml-tree.html#XMLBUFFERPTR"
448>xmlBufferPtr</A
449> buf,
450 <A
Daniel Veillard35925471999-02-25 08:46:07 +0000451HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
452>xmlAttributeTablePtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000453> table);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000454void <A
455HREF="gnome-xml-valid.html#XMLDUMPATTRIBUTEDECL"
456>xmlDumpAttributeDecl</A
457> (<A
458HREF="gnome-xml-tree.html#XMLBUFFERPTR"
459>xmlBufferPtr</A
460> buf,
461 <A
462HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
463>xmlAttributePtr</A
464> attr);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000465<A
466HREF="gnome-xml-tree.html#XMLIDPTR"
467>xmlIDPtr</A
468> <A
469HREF="gnome-xml-valid.html#XMLADDID"
470>xmlAddID</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000471> (<A
472HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
473>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000474> ctxt,
475 <A
476HREF="gnome-xml-tree.html#XMLDOCPTR"
477>xmlDocPtr</A
478> doc,
479 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000480HREF="gnome-xml-tree.html#XMLCHAR"
481>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000482> *value,
483 <A
484HREF="gnome-xml-tree.html#XMLATTRPTR"
485>xmlAttrPtr</A
486> attr);
487<A
488HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
489>xmlIDTablePtr</A
490> <A
491HREF="gnome-xml-valid.html#XMLCOPYIDTABLE"
492>xmlCopyIDTable</A
493> (<A
494HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
495>xmlIDTablePtr</A
496> table);
497void <A
498HREF="gnome-xml-valid.html#XMLFREEIDTABLE"
499>xmlFreeIDTable</A
500> (<A
501HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
502>xmlIDTablePtr</A
503> table);
504<A
505HREF="gnome-xml-tree.html#XMLATTRPTR"
506>xmlAttrPtr</A
507> <A
508HREF="gnome-xml-valid.html#XMLGETID"
509>xmlGetID</A
510> (<A
511HREF="gnome-xml-tree.html#XMLDOCPTR"
512>xmlDocPtr</A
513> doc,
514 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000515HREF="gnome-xml-tree.html#XMLCHAR"
516>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000517> *ID);
518int <A
519HREF="gnome-xml-valid.html#XMLISID"
520>xmlIsID</A
521> (<A
522HREF="gnome-xml-tree.html#XMLDOCPTR"
523>xmlDocPtr</A
524> doc,
525 <A
526HREF="gnome-xml-tree.html#XMLNODEPTR"
527>xmlNodePtr</A
528> elem,
529 <A
530HREF="gnome-xml-tree.html#XMLATTRPTR"
531>xmlAttrPtr</A
532> attr);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000533int <A
534HREF="gnome-xml-valid.html#XMLREMOVEID"
535>xmlRemoveID</A
536> (<A
537HREF="gnome-xml-tree.html#XMLDOCPTR"
538>xmlDocPtr</A
539> doc,
540 <A
541HREF="gnome-xml-tree.html#XMLATTRPTR"
542>xmlAttrPtr</A
543> attr);
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000544<A
545HREF="gnome-xml-tree.html#XMLREFPTR"
546>xmlRefPtr</A
547> <A
548HREF="gnome-xml-valid.html#XMLADDREF"
549>xmlAddRef</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000550> (<A
551HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
552>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000553> ctxt,
554 <A
555HREF="gnome-xml-tree.html#XMLDOCPTR"
556>xmlDocPtr</A
557> doc,
558 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000559HREF="gnome-xml-tree.html#XMLCHAR"
560>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000561> *value,
562 <A
563HREF="gnome-xml-tree.html#XMLATTRPTR"
564>xmlAttrPtr</A
565> attr);
566<A
567HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
568>xmlRefTablePtr</A
569> <A
570HREF="gnome-xml-valid.html#XMLCOPYREFTABLE"
571>xmlCopyRefTable</A
572> (<A
573HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
574>xmlRefTablePtr</A
575> table);
576void <A
577HREF="gnome-xml-valid.html#XMLFREEREFTABLE"
578>xmlFreeRefTable</A
579> (<A
580HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
581>xmlRefTablePtr</A
582> table);
583int <A
584HREF="gnome-xml-valid.html#XMLISREF"
585>xmlIsRef</A
586> (<A
587HREF="gnome-xml-tree.html#XMLDOCPTR"
588>xmlDocPtr</A
589> doc,
590 <A
591HREF="gnome-xml-tree.html#XMLNODEPTR"
592>xmlNodePtr</A
593> elem,
594 <A
595HREF="gnome-xml-tree.html#XMLATTRPTR"
596>xmlAttrPtr</A
597> attr);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000598int <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000599HREF="gnome-xml-valid.html#XMLREMOVEREF"
600>xmlRemoveRef</A
601> (<A
602HREF="gnome-xml-tree.html#XMLDOCPTR"
603>xmlDocPtr</A
604> doc,
605 <A
606HREF="gnome-xml-tree.html#XMLATTRPTR"
607>xmlAttrPtr</A
608> attr);
609int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000610HREF="gnome-xml-valid.html#XMLVALIDATEROOT"
611>xmlValidateRoot</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000612> (<A
613HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
614>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000615> ctxt,
616 <A
617HREF="gnome-xml-tree.html#XMLDOCPTR"
618>xmlDocPtr</A
619> doc);
620int <A
621HREF="gnome-xml-valid.html#XMLVALIDATEELEMENTDECL"
622>xmlValidateElementDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000623> (<A
624HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
625>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000626> ctxt,
627 <A
628HREF="gnome-xml-tree.html#XMLDOCPTR"
629>xmlDocPtr</A
630> doc,
631 <A
632HREF="gnome-xml-tree.html#XMLELEMENTPTR"
633>xmlElementPtr</A
634> elem);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000635<A
636HREF="gnome-xml-tree.html#XMLCHAR"
637>xmlChar</A
638>* <A
639HREF="gnome-xml-valid.html#XMLVALIDNORMALIZEATTRIBUTEVALUE"
640>xmlValidNormalizeAttributeValue</A
641> (<A
642HREF="gnome-xml-tree.html#XMLDOCPTR"
643>xmlDocPtr</A
644> doc,
645 <A
646HREF="gnome-xml-tree.html#XMLNODEPTR"
647>xmlNodePtr</A
648> elem,
649 const <A
650HREF="gnome-xml-tree.html#XMLCHAR"
651>xmlChar</A
652> *name,
653 const <A
654HREF="gnome-xml-tree.html#XMLCHAR"
655>xmlChar</A
656> *value);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000657int <A
658HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL"
659>xmlValidateAttributeDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000660> (<A
661HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
662>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000663> ctxt,
664 <A
665HREF="gnome-xml-tree.html#XMLDOCPTR"
666>xmlDocPtr</A
667> doc,
668 <A
669HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
670>xmlAttributePtr</A
671> attr);
672int <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000673HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
674>xmlValidateAttributeValue</A
675> (<A
676HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
677>xmlAttributeType</A
678> type,
679 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000680HREF="gnome-xml-tree.html#XMLCHAR"
681>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000682> *value);
683int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000684HREF="gnome-xml-valid.html#XMLVALIDATENOTATIONDECL"
685>xmlValidateNotationDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000686> (<A
687HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
688>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000689> ctxt,
690 <A
691HREF="gnome-xml-tree.html#XMLDOCPTR"
692>xmlDocPtr</A
693> doc,
694 <A
695HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
696>xmlNotationPtr</A
697> nota);
698int <A
699HREF="gnome-xml-valid.html#XMLVALIDATEDTD"
700>xmlValidateDtd</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000701> (<A
702HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
703>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000704> ctxt,
705 <A
706HREF="gnome-xml-tree.html#XMLDOCPTR"
707>xmlDocPtr</A
708> doc,
709 <A
710HREF="gnome-xml-tree.html#XMLDTDPTR"
711>xmlDtdPtr</A
712> dtd);
713int <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000714HREF="gnome-xml-valid.html#XMLVALIDATEDTDFINAL"
715>xmlValidateDtdFinal</A
716> (<A
717HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
718>xmlValidCtxtPtr</A
719> ctxt,
720 <A
721HREF="gnome-xml-tree.html#XMLDOCPTR"
722>xmlDocPtr</A
723> doc);
724int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000725HREF="gnome-xml-valid.html#XMLVALIDATEDOCUMENT"
726>xmlValidateDocument</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000727> (<A
728HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
729>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000730> ctxt,
731 <A
732HREF="gnome-xml-tree.html#XMLDOCPTR"
733>xmlDocPtr</A
734> doc);
735int <A
736HREF="gnome-xml-valid.html#XMLVALIDATEELEMENT"
737>xmlValidateElement</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000738> (<A
739HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
740>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000741> ctxt,
742 <A
743HREF="gnome-xml-tree.html#XMLDOCPTR"
744>xmlDocPtr</A
745> doc,
746 <A
747HREF="gnome-xml-tree.html#XMLNODEPTR"
748>xmlNodePtr</A
749> elem);
750int <A
751HREF="gnome-xml-valid.html#XMLVALIDATEONEELEMENT"
752>xmlValidateOneElement</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000753> (<A
754HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
755>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000756> ctxt,
757 <A
758HREF="gnome-xml-tree.html#XMLDOCPTR"
759>xmlDocPtr</A
760> doc,
761 <A
762HREF="gnome-xml-tree.html#XMLNODEPTR"
763>xmlNodePtr</A
764> elem);
765int <A
766HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE"
767>xmlValidateOneAttribute</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000768> (<A
769HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
770>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000771> ctxt,
772 <A
773HREF="gnome-xml-tree.html#XMLDOCPTR"
774>xmlDocPtr</A
775> doc,
776 <A
777HREF="gnome-xml-tree.html#XMLNODEPTR"
778>xmlNodePtr</A
779> elem,
780 <A
781HREF="gnome-xml-tree.html#XMLATTRPTR"
782>xmlAttrPtr</A
783> attr,
784 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000785HREF="gnome-xml-tree.html#XMLCHAR"
786>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000787> *value);
788int <A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000789HREF="gnome-xml-valid.html#XMLVALIDATEDOCUMENTFINAL"
790>xmlValidateDocumentFinal</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000791> (<A
792HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
793>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000794> ctxt,
795 <A
796HREF="gnome-xml-tree.html#XMLDOCPTR"
797>xmlDocPtr</A
798> doc);
799int <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000800HREF="gnome-xml-valid.html#XMLVALIDATENOTATIONUSE"
801>xmlValidateNotationUse</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000802> (<A
803HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
804>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000805> ctxt,
806 <A
807HREF="gnome-xml-tree.html#XMLDOCPTR"
808>xmlDocPtr</A
809> doc,
810 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000811HREF="gnome-xml-tree.html#XMLCHAR"
812>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000813> *notationName);
814int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000815HREF="gnome-xml-valid.html#XMLISMIXEDELEMENT"
816>xmlIsMixedElement</A
817> (<A
818HREF="gnome-xml-tree.html#XMLDOCPTR"
819>xmlDocPtr</A
820> doc,
821 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000822HREF="gnome-xml-tree.html#XMLCHAR"
823>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000824> *name);
825<A
826HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
827>xmlAttributePtr</A
828> <A
829HREF="gnome-xml-valid.html#XMLGETDTDATTRDESC"
830>xmlGetDtdAttrDesc</A
831> (<A
832HREF="gnome-xml-tree.html#XMLDTDPTR"
833>xmlDtdPtr</A
834> dtd,
835 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000836HREF="gnome-xml-tree.html#XMLCHAR"
837>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000838> *elem,
839 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000840HREF="gnome-xml-tree.html#XMLCHAR"
841>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000842> *name);
843<A
844HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
845>xmlNotationPtr</A
846> <A
847HREF="gnome-xml-valid.html#XMLGETDTDNOTATIONDESC"
848>xmlGetDtdNotationDesc</A
849> (<A
850HREF="gnome-xml-tree.html#XMLDTDPTR"
851>xmlDtdPtr</A
852> dtd,
853 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000854HREF="gnome-xml-tree.html#XMLCHAR"
855>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000856> *name);
857<A
858HREF="gnome-xml-tree.html#XMLELEMENTPTR"
859>xmlElementPtr</A
860> <A
861HREF="gnome-xml-valid.html#XMLGETDTDELEMENTDESC"
862>xmlGetDtdElementDesc</A
863> (<A
864HREF="gnome-xml-tree.html#XMLDTDPTR"
865>xmlDtdPtr</A
866> dtd,
867 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000868HREF="gnome-xml-tree.html#XMLCHAR"
869>xmlChar</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000870> *name);
871int <A
872HREF="gnome-xml-valid.html#XMLVALIDGETVALIDELEMENTS"
873>xmlValidGetValidElements</A
874> (<A
875HREF="gnome-xml-tree.html#XMLNODE"
876>xmlNode</A
877> *prev,
878 <A
879HREF="gnome-xml-tree.html#XMLNODE"
880>xmlNode</A
881> *next,
882 const <A
883HREF="gnome-xml-tree.html#XMLCHAR"
884>xmlChar</A
885> **list,
886 int max);
887int <A
888HREF="gnome-xml-valid.html#XMLVALIDGETPOTENTIALCHILDREN"
889>xmlValidGetPotentialChildren</A
890> (<A
891HREF="gnome-xml-tree.html#XMLELEMENTCONTENT"
892>xmlElementContent</A
893> *ctree,
894 const <A
895HREF="gnome-xml-tree.html#XMLCHAR"
896>xmlChar</A
897> **list,
898 int *len,
899 int max);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000900></TD
901></TR
902></TABLE
903></DIV
904><DIV
905CLASS="REFSECT1"
906><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000907NAME="AEN7779"
Daniel Veillard35925471999-02-25 08:46:07 +0000908></A
909><H2
910>Description</H2
911><P
912></P
913></DIV
914><DIV
915CLASS="REFSECT1"
916><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000917NAME="AEN7782"
Daniel Veillard35925471999-02-25 08:46:07 +0000918></A
919><H2
920>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000921><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000922CLASS="REFSECT2"
923><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000924NAME="AEN7784"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000925></A
926><H3
927><A
928NAME="XMLVALIDITYERRORFUNC"
929></A
930>xmlValidityErrorFunc ()</H3
931><TABLE
932BORDER="0"
933BGCOLOR="#D6E8FF"
934WIDTH="100%"
935CELLPADDING="6"
936><TR
937><TD
938><PRE
939CLASS="PROGRAMLISTING"
940>void (*xmlValidityErrorFunc) (void *ctx,
941 const char *msg,
942 ...);</PRE
943></TD
944></TR
945></TABLE
946><P
947></P
948><DIV
949CLASS="INFORMALTABLE"
950><P
951></P
952><TABLE
953BORDER="0"
954WIDTH="100%"
955BGCOLOR="#FFD0D0"
956CELLSPACING="0"
957CELLPADDING="4"
958CLASS="CALSTABLE"
959><TR
960><TD
961WIDTH="20%"
962ALIGN="RIGHT"
963VALIGN="TOP"
964><TT
965CLASS="PARAMETER"
966><I
967>ctx</I
968></TT
969>&nbsp;:</TD
970><TD
971WIDTH="80%"
972ALIGN="LEFT"
973VALIGN="TOP"
974>&nbsp;</TD
975></TR
976><TR
977><TD
978WIDTH="20%"
979ALIGN="RIGHT"
980VALIGN="TOP"
981><TT
982CLASS="PARAMETER"
983><I
984>msg</I
985></TT
986>&nbsp;:</TD
987><TD
988WIDTH="80%"
989ALIGN="LEFT"
990VALIGN="TOP"
991>&nbsp;</TD
992></TR
993><TR
994><TD
995WIDTH="20%"
996ALIGN="RIGHT"
997VALIGN="TOP"
998><TT
999CLASS="PARAMETER"
1000><I
1001>...</I
1002></TT
1003>&nbsp;:</TD
1004><TD
1005WIDTH="80%"
1006ALIGN="LEFT"
1007VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001008>&#13;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001009></TR
1010></TABLE
1011><P
1012></P
1013></DIV
1014></DIV
1015><HR><DIV
1016CLASS="REFSECT2"
1017><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001018NAME="AEN7806"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001019></A
1020><H3
1021><A
1022NAME="XMLVALIDITYWARNINGFUNC"
1023></A
1024>xmlValidityWarningFunc ()</H3
1025><TABLE
1026BORDER="0"
1027BGCOLOR="#D6E8FF"
1028WIDTH="100%"
1029CELLPADDING="6"
1030><TR
1031><TD
1032><PRE
1033CLASS="PROGRAMLISTING"
1034>void (*xmlValidityWarningFunc) (void *ctx,
1035 const char *msg,
1036 ...);</PRE
1037></TD
1038></TR
1039></TABLE
1040><P
1041></P
1042><DIV
1043CLASS="INFORMALTABLE"
1044><P
1045></P
1046><TABLE
1047BORDER="0"
1048WIDTH="100%"
1049BGCOLOR="#FFD0D0"
1050CELLSPACING="0"
1051CELLPADDING="4"
1052CLASS="CALSTABLE"
1053><TR
1054><TD
1055WIDTH="20%"
1056ALIGN="RIGHT"
1057VALIGN="TOP"
1058><TT
1059CLASS="PARAMETER"
1060><I
1061>ctx</I
1062></TT
1063>&nbsp;:</TD
1064><TD
1065WIDTH="80%"
1066ALIGN="LEFT"
1067VALIGN="TOP"
1068>&nbsp;</TD
1069></TR
1070><TR
1071><TD
1072WIDTH="20%"
1073ALIGN="RIGHT"
1074VALIGN="TOP"
1075><TT
1076CLASS="PARAMETER"
1077><I
1078>msg</I
1079></TT
1080>&nbsp;:</TD
1081><TD
1082WIDTH="80%"
1083ALIGN="LEFT"
1084VALIGN="TOP"
1085>&nbsp;</TD
1086></TR
1087><TR
1088><TD
1089WIDTH="20%"
1090ALIGN="RIGHT"
1091VALIGN="TOP"
1092><TT
1093CLASS="PARAMETER"
1094><I
1095>...</I
1096></TT
1097>&nbsp;:</TD
1098><TD
1099WIDTH="80%"
1100ALIGN="LEFT"
1101VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001102>&#13;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001103></TR
1104></TABLE
1105><P
1106></P
1107></DIV
1108></DIV
1109><HR><DIV
1110CLASS="REFSECT2"
1111><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001112NAME="AEN7828"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001113></A
1114><H3
1115><A
1116NAME="XMLVALIDCTXT"
1117></A
1118>struct xmlValidCtxt</H3
1119><TABLE
1120BORDER="0"
1121BGCOLOR="#D6E8FF"
1122WIDTH="100%"
1123CELLPADDING="6"
1124><TR
1125><TD
1126><PRE
1127CLASS="PROGRAMLISTING"
1128>struct xmlValidCtxt {
1129 void *userData; /* user specific data block */
1130 xmlValidityErrorFunc error; /* the callback in case of errors */
1131 xmlValidityWarningFunc warning; /* the callback in case of warning */
1132
1133 /* Node analysis stack used when validating within entities */
1134 xmlNodePtr node; /* Current parsed Node */
1135 int nodeNr; /* Depth of the parsing stack */
1136 int nodeMax; /* Max depth of the parsing stack */
1137 xmlNodePtr *nodeTab; /* array of nodes */
1138
1139 int finishDtd; /* finished validating the Dtd ? */
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001140 xmlDocPtr doc; /* the document */
1141 int valid; /* temporary validity check result */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001142};</PRE
1143></TD
1144></TR
1145></TABLE
1146><P
1147></P
1148></DIV
1149><HR><DIV
1150CLASS="REFSECT2"
1151><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001152NAME="AEN7833"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001153></A
1154><H3
1155><A
1156NAME="XMLVALIDCTXTPTR"
1157></A
1158>xmlValidCtxtPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001159><TABLE
1160BORDER="0"
1161BGCOLOR="#D6E8FF"
1162WIDTH="100%"
1163CELLPADDING="6"
1164><TR
1165><TD
1166><PRE
1167CLASS="PROGRAMLISTING"
1168>typedef xmlValidCtxt *xmlValidCtxtPtr;</PRE
1169></TD
1170></TR
1171></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001172><P
1173></P
1174></DIV
1175><HR><DIV
1176CLASS="REFSECT2"
1177><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001178NAME="AEN7838"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001179></A
1180><H3
1181><A
1182NAME="XMLNOTATIONTABLEPTR"
1183></A
1184>xmlNotationTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001185><TABLE
1186BORDER="0"
1187BGCOLOR="#D6E8FF"
1188WIDTH="100%"
1189CELLPADDING="6"
1190><TR
1191><TD
1192><PRE
1193CLASS="PROGRAMLISTING"
1194>typedef xmlNotationTable *xmlNotationTablePtr;</PRE
1195></TD
1196></TR
1197></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001198><P
1199></P
1200></DIV
1201><HR><DIV
1202CLASS="REFSECT2"
1203><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001204NAME="AEN7843"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001205></A
1206><H3
1207><A
1208NAME="XMLELEMENTTABLEPTR"
1209></A
1210>xmlElementTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001211><TABLE
1212BORDER="0"
1213BGCOLOR="#D6E8FF"
1214WIDTH="100%"
1215CELLPADDING="6"
1216><TR
1217><TD
1218><PRE
1219CLASS="PROGRAMLISTING"
1220>typedef xmlElementTable *xmlElementTablePtr;</PRE
1221></TD
1222></TR
1223></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001224><P
1225></P
1226></DIV
1227><HR><DIV
1228CLASS="REFSECT2"
1229><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001230NAME="AEN7848"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001231></A
1232><H3
1233><A
1234NAME="XMLATTRIBUTETABLEPTR"
1235></A
1236>xmlAttributeTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001237><TABLE
1238BORDER="0"
1239BGCOLOR="#D6E8FF"
1240WIDTH="100%"
1241CELLPADDING="6"
1242><TR
1243><TD
1244><PRE
1245CLASS="PROGRAMLISTING"
1246>typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE
1247></TD
1248></TR
1249></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001250><P
1251></P
1252></DIV
1253><HR><DIV
1254CLASS="REFSECT2"
1255><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001256NAME="AEN7853"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001257></A
1258><H3
1259><A
1260NAME="XMLIDTABLEPTR"
1261></A
1262>xmlIDTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001263><TABLE
1264BORDER="0"
1265BGCOLOR="#D6E8FF"
1266WIDTH="100%"
1267CELLPADDING="6"
1268><TR
1269><TD
1270><PRE
1271CLASS="PROGRAMLISTING"
1272>typedef xmlIDTable *xmlIDTablePtr;</PRE
1273></TD
1274></TR
1275></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001276><P
1277></P
1278></DIV
1279><HR><DIV
1280CLASS="REFSECT2"
1281><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001282NAME="AEN7858"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001283></A
1284><H3
1285><A
1286NAME="XMLREFTABLEPTR"
1287></A
1288>xmlRefTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001289><TABLE
1290BORDER="0"
1291BGCOLOR="#D6E8FF"
1292WIDTH="100%"
1293CELLPADDING="6"
1294><TR
1295><TD
1296><PRE
1297CLASS="PROGRAMLISTING"
1298>typedef xmlRefTable *xmlRefTablePtr;</PRE
1299></TD
1300></TR
1301></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001302><P
1303></P
1304></DIV
1305><HR><DIV
1306CLASS="REFSECT2"
1307><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001308NAME="AEN7863"
Daniel Veillard35925471999-02-25 08:46:07 +00001309></A
1310><H3
1311><A
1312NAME="XMLADDNOTATIONDECL"
1313></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001314>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001315><TABLE
1316BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001317BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001318WIDTH="100%"
1319CELLPADDING="6"
1320><TR
1321><TD
1322><PRE
1323CLASS="PROGRAMLISTING"
1324><A
1325HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
1326>xmlNotationPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001327> xmlAddNotationDecl (<A
1328HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
1329>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001330> ctxt,
1331 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001332HREF="gnome-xml-tree.html#XMLDTDPTR"
1333>xmlDtdPtr</A
1334> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001335 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001336HREF="gnome-xml-tree.html#XMLCHAR"
1337>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001338> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001339 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001340HREF="gnome-xml-tree.html#XMLCHAR"
1341>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001342> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001343 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001344HREF="gnome-xml-tree.html#XMLCHAR"
1345>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001346> *SystemID);</PRE
1347></TD
1348></TR
1349></TABLE
1350><P
1351>Register a new notation declaration</P
1352><P
1353></P
1354><DIV
1355CLASS="INFORMALTABLE"
1356><P
1357></P
1358><TABLE
1359BORDER="0"
1360WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001361BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001362CELLSPACING="0"
1363CELLPADDING="4"
1364CLASS="CALSTABLE"
1365><TR
1366><TD
1367WIDTH="20%"
1368ALIGN="RIGHT"
1369VALIGN="TOP"
1370><TT
1371CLASS="PARAMETER"
1372><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001373>ctxt</I
1374></TT
1375>&nbsp;:</TD
1376><TD
1377WIDTH="80%"
1378ALIGN="LEFT"
1379VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001380> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001381></TR
1382><TR
1383><TD
1384WIDTH="20%"
1385ALIGN="RIGHT"
1386VALIGN="TOP"
1387><TT
1388CLASS="PARAMETER"
1389><I
Daniel Veillard35925471999-02-25 08:46:07 +00001390>dtd</I
1391></TT
1392>&nbsp;:</TD
1393><TD
1394WIDTH="80%"
1395ALIGN="LEFT"
1396VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001397> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001398></TR
1399><TR
1400><TD
1401WIDTH="20%"
1402ALIGN="RIGHT"
1403VALIGN="TOP"
1404><TT
1405CLASS="PARAMETER"
1406><I
1407>name</I
1408></TT
1409>&nbsp;:</TD
1410><TD
1411WIDTH="80%"
1412ALIGN="LEFT"
1413VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001414> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001415></TR
1416><TR
1417><TD
1418WIDTH="20%"
1419ALIGN="RIGHT"
1420VALIGN="TOP"
1421><TT
1422CLASS="PARAMETER"
1423><I
1424>PublicID</I
1425></TT
1426>&nbsp;:</TD
1427><TD
1428WIDTH="80%"
1429ALIGN="LEFT"
1430VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001431> the public identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001432></TR
1433><TR
1434><TD
1435WIDTH="20%"
1436ALIGN="RIGHT"
1437VALIGN="TOP"
1438><TT
1439CLASS="PARAMETER"
1440><I
1441>SystemID</I
1442></TT
1443>&nbsp;:</TD
1444><TD
1445WIDTH="80%"
1446ALIGN="LEFT"
1447VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001448> the system identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001449></TR
1450><TR
1451><TD
1452WIDTH="20%"
1453ALIGN="RIGHT"
1454VALIGN="TOP"
1455><I
1456CLASS="EMPHASIS"
1457>Returns</I
1458> :</TD
1459><TD
1460WIDTH="80%"
1461ALIGN="LEFT"
1462VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001463>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001464></TR
1465></TABLE
1466><P
1467></P
1468></DIV
1469></DIV
1470><HR><DIV
1471CLASS="REFSECT2"
1472><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001473NAME="AEN7904"
Daniel Veillard35925471999-02-25 08:46:07 +00001474></A
1475><H3
1476><A
1477NAME="XMLCOPYNOTATIONTABLE"
1478></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001479>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001480><TABLE
1481BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001482BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001483WIDTH="100%"
1484CELLPADDING="6"
1485><TR
1486><TD
1487><PRE
1488CLASS="PROGRAMLISTING"
1489><A
1490HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1491>xmlNotationTablePtr</A
1492> xmlCopyNotationTable (<A
1493HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1494>xmlNotationTablePtr</A
1495> table);</PRE
1496></TD
1497></TR
1498></TABLE
1499><P
1500>Build a copy of a notation table.</P
1501><P
1502></P
1503><DIV
1504CLASS="INFORMALTABLE"
1505><P
1506></P
1507><TABLE
1508BORDER="0"
1509WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001510BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001511CELLSPACING="0"
1512CELLPADDING="4"
1513CLASS="CALSTABLE"
1514><TR
1515><TD
1516WIDTH="20%"
1517ALIGN="RIGHT"
1518VALIGN="TOP"
1519><TT
1520CLASS="PARAMETER"
1521><I
1522>table</I
1523></TT
1524>&nbsp;:</TD
1525><TD
1526WIDTH="80%"
1527ALIGN="LEFT"
1528VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001529> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001530></TR
1531><TR
1532><TD
1533WIDTH="20%"
1534ALIGN="RIGHT"
1535VALIGN="TOP"
1536><I
1537CLASS="EMPHASIS"
1538>Returns</I
1539> :</TD
1540><TD
1541WIDTH="80%"
1542ALIGN="LEFT"
1543VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001544>the new xmlNotationTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001545></TR
1546></TABLE
1547><P
1548></P
1549></DIV
1550></DIV
1551><HR><DIV
1552CLASS="REFSECT2"
1553><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001554NAME="AEN7925"
Daniel Veillard35925471999-02-25 08:46:07 +00001555></A
1556><H3
1557><A
1558NAME="XMLFREENOTATIONTABLE"
1559></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001560>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001561><TABLE
1562BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001563BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001564WIDTH="100%"
1565CELLPADDING="6"
1566><TR
1567><TD
1568><PRE
1569CLASS="PROGRAMLISTING"
1570>void xmlFreeNotationTable (<A
1571HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1572>xmlNotationTablePtr</A
1573> table);</PRE
1574></TD
1575></TR
1576></TABLE
1577><P
1578>Deallocate the memory used by an entities hash table.</P
1579><P
1580></P
1581><DIV
1582CLASS="INFORMALTABLE"
1583><P
1584></P
1585><TABLE
1586BORDER="0"
1587WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001588BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001589CELLSPACING="0"
1590CELLPADDING="4"
1591CLASS="CALSTABLE"
1592><TR
1593><TD
1594WIDTH="20%"
1595ALIGN="RIGHT"
1596VALIGN="TOP"
1597><TT
1598CLASS="PARAMETER"
1599><I
1600>table</I
1601></TT
1602>&nbsp;:</TD
1603><TD
1604WIDTH="80%"
1605ALIGN="LEFT"
1606VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001607> An notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001608></TR
1609></TABLE
1610><P
1611></P
1612></DIV
1613></DIV
1614><HR><DIV
1615CLASS="REFSECT2"
1616><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001617NAME="AEN7941"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001618></A
1619><H3
1620><A
1621NAME="XMLDUMPNOTATIONDECL"
1622></A
1623>xmlDumpNotationDecl ()</H3
1624><TABLE
1625BORDER="0"
1626BGCOLOR="#D6E8FF"
1627WIDTH="100%"
1628CELLPADDING="6"
1629><TR
1630><TD
1631><PRE
1632CLASS="PROGRAMLISTING"
1633>void xmlDumpNotationDecl (<A
1634HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1635>xmlBufferPtr</A
1636> buf,
1637 <A
1638HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
1639>xmlNotationPtr</A
1640> nota);</PRE
1641></TD
1642></TR
1643></TABLE
1644><P
1645>This will dump the content the notation declaration as an XML DTD definition</P
1646><P
1647></P
1648><DIV
1649CLASS="INFORMALTABLE"
1650><P
1651></P
1652><TABLE
1653BORDER="0"
1654WIDTH="100%"
1655BGCOLOR="#FFD0D0"
1656CELLSPACING="0"
1657CELLPADDING="4"
1658CLASS="CALSTABLE"
1659><TR
1660><TD
1661WIDTH="20%"
1662ALIGN="RIGHT"
1663VALIGN="TOP"
1664><TT
1665CLASS="PARAMETER"
1666><I
1667>buf</I
1668></TT
1669>&nbsp;:</TD
1670><TD
1671WIDTH="80%"
1672ALIGN="LEFT"
1673VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001674> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001675></TR
1676><TR
1677><TD
1678WIDTH="20%"
1679ALIGN="RIGHT"
1680VALIGN="TOP"
1681><TT
1682CLASS="PARAMETER"
1683><I
1684>nota</I
1685></TT
1686>&nbsp;:</TD
1687><TD
1688WIDTH="80%"
1689ALIGN="LEFT"
1690VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001691> A notation declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001692></TR
1693></TABLE
1694><P
1695></P
1696></DIV
1697></DIV
1698><HR><DIV
1699CLASS="REFSECT2"
1700><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001701NAME="AEN7962"
Daniel Veillard35925471999-02-25 08:46:07 +00001702></A
1703><H3
1704><A
1705NAME="XMLDUMPNOTATIONTABLE"
1706></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001707>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001708><TABLE
1709BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001710BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001711WIDTH="100%"
1712CELLPADDING="6"
1713><TR
1714><TD
1715><PRE
1716CLASS="PROGRAMLISTING"
1717>void xmlDumpNotationTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001718HREF="gnome-xml-tree.html#XMLBUFFERPTR"
1719>xmlBufferPtr</A
1720> buf,
1721 <A
Daniel Veillard35925471999-02-25 08:46:07 +00001722HREF="gnome-xml-valid.html#XMLNOTATIONTABLEPTR"
1723>xmlNotationTablePtr</A
1724> table);</PRE
1725></TD
1726></TR
1727></TABLE
1728><P
1729>This will dump the content of the notation table as an XML DTD definition</P
1730><P
Daniel Veillard35925471999-02-25 08:46:07 +00001731></P
1732><DIV
1733CLASS="INFORMALTABLE"
1734><P
1735></P
1736><TABLE
1737BORDER="0"
1738WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001739BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001740CELLSPACING="0"
1741CELLPADDING="4"
1742CLASS="CALSTABLE"
1743><TR
1744><TD
1745WIDTH="20%"
1746ALIGN="RIGHT"
1747VALIGN="TOP"
1748><TT
1749CLASS="PARAMETER"
1750><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001751>buf</I
1752></TT
1753>&nbsp;:</TD
1754><TD
1755WIDTH="80%"
1756ALIGN="LEFT"
1757VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001758> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001759></TR
1760><TR
1761><TD
1762WIDTH="20%"
1763ALIGN="RIGHT"
1764VALIGN="TOP"
1765><TT
1766CLASS="PARAMETER"
1767><I
Daniel Veillard35925471999-02-25 08:46:07 +00001768>table</I
1769></TT
1770>&nbsp;:</TD
1771><TD
1772WIDTH="80%"
1773ALIGN="LEFT"
1774VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001775> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001776></TR
1777></TABLE
1778><P
1779></P
1780></DIV
1781></DIV
1782><HR><DIV
1783CLASS="REFSECT2"
1784><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001785NAME="AEN7983"
Daniel Veillard35925471999-02-25 08:46:07 +00001786></A
1787><H3
1788><A
1789NAME="XMLNEWELEMENTCONTENT"
1790></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001791>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001792><TABLE
1793BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001794BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001795WIDTH="100%"
1796CELLPADDING="6"
1797><TR
1798><TD
1799><PRE
1800CLASS="PROGRAMLISTING"
1801><A
1802HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1803>xmlElementContentPtr</A
1804> xmlNewElementContent (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001805HREF="gnome-xml-tree.html#XMLCHAR"
1806>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001807> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00001808 <A
1809HREF="gnome-xml-tree.html#XMLELEMENTCONTENTTYPE"
1810>xmlElementContentType</A
1811> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001812></TD
1813></TR
1814></TABLE
1815><P
1816>Allocate an element content structure.</P
1817><P
1818></P
1819><DIV
1820CLASS="INFORMALTABLE"
1821><P
1822></P
1823><TABLE
1824BORDER="0"
1825WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001826BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001827CELLSPACING="0"
1828CELLPADDING="4"
1829CLASS="CALSTABLE"
1830><TR
1831><TD
1832WIDTH="20%"
1833ALIGN="RIGHT"
1834VALIGN="TOP"
1835><TT
1836CLASS="PARAMETER"
1837><I
1838>name</I
1839></TT
1840>&nbsp;:</TD
1841><TD
1842WIDTH="80%"
1843ALIGN="LEFT"
1844VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001845> the subelement name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001846></TR
1847><TR
1848><TD
1849WIDTH="20%"
1850ALIGN="RIGHT"
1851VALIGN="TOP"
1852><TT
1853CLASS="PARAMETER"
1854><I
1855>type</I
1856></TT
1857>&nbsp;:</TD
1858><TD
1859WIDTH="80%"
1860ALIGN="LEFT"
1861VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001862> the type of element content decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001863></TR
1864><TR
1865><TD
1866WIDTH="20%"
1867ALIGN="RIGHT"
1868VALIGN="TOP"
1869><I
1870CLASS="EMPHASIS"
1871>Returns</I
1872> :</TD
1873><TD
1874WIDTH="80%"
1875ALIGN="LEFT"
1876VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001877>NULL if not, othervise the new element content structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001878></TR
1879></TABLE
1880><P
1881></P
1882></DIV
1883></DIV
1884><HR><DIV
1885CLASS="REFSECT2"
1886><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001887NAME="AEN8009"
Daniel Veillard35925471999-02-25 08:46:07 +00001888></A
1889><H3
1890><A
1891NAME="XMLCOPYELEMENTCONTENT"
1892></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001893>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001894><TABLE
1895BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001896BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001897WIDTH="100%"
1898CELLPADDING="6"
1899><TR
1900><TD
1901><PRE
1902CLASS="PROGRAMLISTING"
1903><A
1904HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1905>xmlElementContentPtr</A
1906> xmlCopyElementContent (<A
1907HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1908>xmlElementContentPtr</A
1909> content);</PRE
1910></TD
1911></TR
1912></TABLE
1913><P
1914>Build a copy of an element content description.</P
1915><P
1916></P
1917><DIV
1918CLASS="INFORMALTABLE"
1919><P
1920></P
1921><TABLE
1922BORDER="0"
1923WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001924BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001925CELLSPACING="0"
1926CELLPADDING="4"
1927CLASS="CALSTABLE"
1928><TR
1929><TD
1930WIDTH="20%"
1931ALIGN="RIGHT"
1932VALIGN="TOP"
1933><TT
1934CLASS="PARAMETER"
1935><I
1936>content</I
1937></TT
1938>&nbsp;:</TD
1939><TD
1940WIDTH="80%"
1941ALIGN="LEFT"
1942VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001943> An element content pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001944></TR
1945><TR
1946><TD
1947WIDTH="20%"
1948ALIGN="RIGHT"
1949VALIGN="TOP"
1950><I
1951CLASS="EMPHASIS"
1952>Returns</I
1953> :</TD
1954><TD
1955WIDTH="80%"
1956ALIGN="LEFT"
1957VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001958>the new xmlElementContentPtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001959></TR
1960></TABLE
1961><P
1962></P
1963></DIV
1964></DIV
1965><HR><DIV
1966CLASS="REFSECT2"
1967><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001968NAME="AEN8030"
Daniel Veillard35925471999-02-25 08:46:07 +00001969></A
1970><H3
1971><A
1972NAME="XMLFREEELEMENTCONTENT"
1973></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001974>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001975><TABLE
1976BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001977BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001978WIDTH="100%"
1979CELLPADDING="6"
1980><TR
1981><TD
1982><PRE
1983CLASS="PROGRAMLISTING"
1984>void xmlFreeElementContent (<A
1985HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
1986>xmlElementContentPtr</A
1987> cur);</PRE
1988></TD
1989></TR
1990></TABLE
1991><P
1992>Free an element content structure. This is a recursive call !</P
1993><P
1994></P
1995><DIV
1996CLASS="INFORMALTABLE"
1997><P
1998></P
1999><TABLE
2000BORDER="0"
2001WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002002BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002003CELLSPACING="0"
2004CELLPADDING="4"
2005CLASS="CALSTABLE"
2006><TR
2007><TD
2008WIDTH="20%"
2009ALIGN="RIGHT"
2010VALIGN="TOP"
2011><TT
2012CLASS="PARAMETER"
2013><I
2014>cur</I
2015></TT
2016>&nbsp;:</TD
2017><TD
2018WIDTH="80%"
2019ALIGN="LEFT"
2020VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002021> the element content tree to free</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002022></TR
2023></TABLE
2024><P
2025></P
2026></DIV
2027></DIV
2028><HR><DIV
2029CLASS="REFSECT2"
2030><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002031NAME="AEN8046"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002032></A
2033><H3
2034><A
2035NAME="XMLSPRINTFELEMENTCONTENT"
2036></A
2037>xmlSprintfElementContent ()</H3
2038><TABLE
2039BORDER="0"
2040BGCOLOR="#D6E8FF"
2041WIDTH="100%"
2042CELLPADDING="6"
2043><TR
2044><TD
2045><PRE
2046CLASS="PROGRAMLISTING"
2047>void xmlSprintfElementContent (char *buf,
2048 <A
2049HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2050>xmlElementContentPtr</A
2051> content,
2052 int glob);</PRE
2053></TD
2054></TR
2055></TABLE
2056><P
2057>This will dump the content of the element content definition
2058Intended just for the debug routine</P
2059><P
2060></P
2061><DIV
2062CLASS="INFORMALTABLE"
2063><P
2064></P
2065><TABLE
2066BORDER="0"
2067WIDTH="100%"
2068BGCOLOR="#FFD0D0"
2069CELLSPACING="0"
2070CELLPADDING="4"
2071CLASS="CALSTABLE"
2072><TR
2073><TD
2074WIDTH="20%"
2075ALIGN="RIGHT"
2076VALIGN="TOP"
2077><TT
2078CLASS="PARAMETER"
2079><I
2080>buf</I
2081></TT
2082>&nbsp;:</TD
2083><TD
2084WIDTH="80%"
2085ALIGN="LEFT"
2086VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002087> an output buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002088></TR
2089><TR
2090><TD
2091WIDTH="20%"
2092ALIGN="RIGHT"
2093VALIGN="TOP"
2094><TT
2095CLASS="PARAMETER"
2096><I
2097>content</I
2098></TT
2099>&nbsp;:</TD
2100><TD
2101WIDTH="80%"
2102ALIGN="LEFT"
2103VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002104> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002105></TR
2106><TR
2107><TD
2108WIDTH="20%"
2109ALIGN="RIGHT"
2110VALIGN="TOP"
2111><TT
2112CLASS="PARAMETER"
2113><I
2114>glob</I
2115></TT
2116>&nbsp;:</TD
2117><TD
2118WIDTH="80%"
2119ALIGN="LEFT"
2120VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002121> 1 if one must print the englobing parenthesis, 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002122></TR
2123></TABLE
2124><P
2125></P
2126></DIV
2127></DIV
2128><HR><DIV
2129CLASS="REFSECT2"
2130><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002131NAME="AEN8070"
Daniel Veillard35925471999-02-25 08:46:07 +00002132></A
2133><H3
2134><A
2135NAME="XMLADDELEMENTDECL"
2136></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002137>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002138><TABLE
2139BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002140BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002141WIDTH="100%"
2142CELLPADDING="6"
2143><TR
2144><TD
2145><PRE
2146CLASS="PROGRAMLISTING"
2147><A
2148HREF="gnome-xml-tree.html#XMLELEMENTPTR"
2149>xmlElementPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002150> xmlAddElementDecl (<A
2151HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
2152>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002153> ctxt,
2154 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002155HREF="gnome-xml-tree.html#XMLDTDPTR"
2156>xmlDtdPtr</A
2157> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002158 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002159HREF="gnome-xml-tree.html#XMLCHAR"
2160>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002161> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002162 <A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00002163HREF="gnome-xml-tree.html#XMLELEMENTTYPEVAL"
2164>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002165> type,
Daniel Veillard35925471999-02-25 08:46:07 +00002166 <A
2167HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2168>xmlElementContentPtr</A
2169> content);</PRE
2170></TD
2171></TR
2172></TABLE
2173><P
2174>Register a new element declaration</P
2175><P
2176></P
2177><DIV
2178CLASS="INFORMALTABLE"
2179><P
2180></P
2181><TABLE
2182BORDER="0"
2183WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002184BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002185CELLSPACING="0"
2186CELLPADDING="4"
2187CLASS="CALSTABLE"
2188><TR
2189><TD
2190WIDTH="20%"
2191ALIGN="RIGHT"
2192VALIGN="TOP"
2193><TT
2194CLASS="PARAMETER"
2195><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002196>ctxt</I
2197></TT
2198>&nbsp;:</TD
2199><TD
2200WIDTH="80%"
2201ALIGN="LEFT"
2202VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002203> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002204></TR
2205><TR
2206><TD
2207WIDTH="20%"
2208ALIGN="RIGHT"
2209VALIGN="TOP"
2210><TT
2211CLASS="PARAMETER"
2212><I
Daniel Veillard35925471999-02-25 08:46:07 +00002213>dtd</I
2214></TT
2215>&nbsp;:</TD
2216><TD
2217WIDTH="80%"
2218ALIGN="LEFT"
2219VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002220> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002221></TR
2222><TR
2223><TD
2224WIDTH="20%"
2225ALIGN="RIGHT"
2226VALIGN="TOP"
2227><TT
2228CLASS="PARAMETER"
2229><I
2230>name</I
2231></TT
2232>&nbsp;:</TD
2233><TD
2234WIDTH="80%"
2235ALIGN="LEFT"
2236VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002237> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002238></TR
2239><TR
2240><TD
2241WIDTH="20%"
2242ALIGN="RIGHT"
2243VALIGN="TOP"
2244><TT
2245CLASS="PARAMETER"
2246><I
2247>type</I
2248></TT
2249>&nbsp;:</TD
2250><TD
2251WIDTH="80%"
2252ALIGN="LEFT"
2253VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002254> the element type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002255></TR
2256><TR
2257><TD
2258WIDTH="20%"
2259ALIGN="RIGHT"
2260VALIGN="TOP"
2261><TT
2262CLASS="PARAMETER"
2263><I
2264>content</I
2265></TT
2266>&nbsp;:</TD
2267><TD
2268WIDTH="80%"
2269ALIGN="LEFT"
2270VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002271> the element content tree or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002272></TR
2273><TR
2274><TD
2275WIDTH="20%"
2276ALIGN="RIGHT"
2277VALIGN="TOP"
2278><I
2279CLASS="EMPHASIS"
2280>Returns</I
2281> :</TD
2282><TD
2283WIDTH="80%"
2284ALIGN="LEFT"
2285VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002286>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002287></TR
2288></TABLE
2289><P
2290></P
2291></DIV
2292></DIV
2293><HR><DIV
2294CLASS="REFSECT2"
2295><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002296NAME="AEN8111"
Daniel Veillard35925471999-02-25 08:46:07 +00002297></A
2298><H3
2299><A
2300NAME="XMLCOPYELEMENTTABLE"
2301></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002302>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002303><TABLE
2304BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002305BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002306WIDTH="100%"
2307CELLPADDING="6"
2308><TR
2309><TD
2310><PRE
2311CLASS="PROGRAMLISTING"
2312><A
2313HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2314>xmlElementTablePtr</A
2315> xmlCopyElementTable (<A
2316HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2317>xmlElementTablePtr</A
2318> table);</PRE
2319></TD
2320></TR
2321></TABLE
2322><P
2323>Build a copy of an element table.</P
2324><P
2325></P
2326><DIV
2327CLASS="INFORMALTABLE"
2328><P
2329></P
2330><TABLE
2331BORDER="0"
2332WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002333BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002334CELLSPACING="0"
2335CELLPADDING="4"
2336CLASS="CALSTABLE"
2337><TR
2338><TD
2339WIDTH="20%"
2340ALIGN="RIGHT"
2341VALIGN="TOP"
2342><TT
2343CLASS="PARAMETER"
2344><I
2345>table</I
2346></TT
2347>&nbsp;:</TD
2348><TD
2349WIDTH="80%"
2350ALIGN="LEFT"
2351VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002352> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002353></TR
2354><TR
2355><TD
2356WIDTH="20%"
2357ALIGN="RIGHT"
2358VALIGN="TOP"
2359><I
2360CLASS="EMPHASIS"
2361>Returns</I
2362> :</TD
2363><TD
2364WIDTH="80%"
2365ALIGN="LEFT"
2366VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002367>the new xmlElementTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002368></TR
2369></TABLE
2370><P
2371></P
2372></DIV
2373></DIV
2374><HR><DIV
2375CLASS="REFSECT2"
2376><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002377NAME="AEN8132"
Daniel Veillard35925471999-02-25 08:46:07 +00002378></A
2379><H3
2380><A
2381NAME="XMLFREEELEMENTTABLE"
2382></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002383>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002384><TABLE
2385BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002386BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002387WIDTH="100%"
2388CELLPADDING="6"
2389><TR
2390><TD
2391><PRE
2392CLASS="PROGRAMLISTING"
2393>void xmlFreeElementTable (<A
2394HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2395>xmlElementTablePtr</A
2396> table);</PRE
2397></TD
2398></TR
2399></TABLE
2400><P
2401>Deallocate the memory used by an element hash table.</P
2402><P
2403></P
2404><DIV
2405CLASS="INFORMALTABLE"
2406><P
2407></P
2408><TABLE
2409BORDER="0"
2410WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002411BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002412CELLSPACING="0"
2413CELLPADDING="4"
2414CLASS="CALSTABLE"
2415><TR
2416><TD
2417WIDTH="20%"
2418ALIGN="RIGHT"
2419VALIGN="TOP"
2420><TT
2421CLASS="PARAMETER"
2422><I
2423>table</I
2424></TT
2425>&nbsp;:</TD
2426><TD
2427WIDTH="80%"
2428ALIGN="LEFT"
2429VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002430> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002431></TR
2432></TABLE
2433><P
2434></P
2435></DIV
2436></DIV
2437><HR><DIV
2438CLASS="REFSECT2"
2439><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002440NAME="AEN8148"
Daniel Veillard35925471999-02-25 08:46:07 +00002441></A
2442><H3
2443><A
2444NAME="XMLDUMPELEMENTTABLE"
2445></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002446>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002447><TABLE
2448BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002449BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002450WIDTH="100%"
2451CELLPADDING="6"
2452><TR
2453><TD
2454><PRE
2455CLASS="PROGRAMLISTING"
2456>void xmlDumpElementTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002457HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2458>xmlBufferPtr</A
2459> buf,
2460 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002461HREF="gnome-xml-valid.html#XMLELEMENTTABLEPTR"
2462>xmlElementTablePtr</A
2463> table);</PRE
2464></TD
2465></TR
2466></TABLE
2467><P
2468>This will dump the content of the element table as an XML DTD definition</P
2469><P
Daniel Veillard35925471999-02-25 08:46:07 +00002470></P
2471><DIV
2472CLASS="INFORMALTABLE"
2473><P
2474></P
2475><TABLE
2476BORDER="0"
2477WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002478BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002479CELLSPACING="0"
2480CELLPADDING="4"
2481CLASS="CALSTABLE"
2482><TR
2483><TD
2484WIDTH="20%"
2485ALIGN="RIGHT"
2486VALIGN="TOP"
2487><TT
2488CLASS="PARAMETER"
2489><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002490>buf</I
2491></TT
2492>&nbsp;:</TD
2493><TD
2494WIDTH="80%"
2495ALIGN="LEFT"
2496VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002497> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002498></TR
2499><TR
2500><TD
2501WIDTH="20%"
2502ALIGN="RIGHT"
2503VALIGN="TOP"
2504><TT
2505CLASS="PARAMETER"
2506><I
Daniel Veillard35925471999-02-25 08:46:07 +00002507>table</I
2508></TT
2509>&nbsp;:</TD
2510><TD
2511WIDTH="80%"
2512ALIGN="LEFT"
2513VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002514> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002515></TR
2516></TABLE
2517><P
2518></P
2519></DIV
2520></DIV
2521><HR><DIV
2522CLASS="REFSECT2"
2523><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002524NAME="AEN8169"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002525></A
2526><H3
2527><A
2528NAME="XMLDUMPELEMENTDECL"
2529></A
2530>xmlDumpElementDecl ()</H3
2531><TABLE
2532BORDER="0"
2533BGCOLOR="#D6E8FF"
2534WIDTH="100%"
2535CELLPADDING="6"
2536><TR
2537><TD
2538><PRE
2539CLASS="PROGRAMLISTING"
2540>void xmlDumpElementDecl (<A
2541HREF="gnome-xml-tree.html#XMLBUFFERPTR"
2542>xmlBufferPtr</A
2543> buf,
2544 <A
2545HREF="gnome-xml-tree.html#XMLELEMENTPTR"
2546>xmlElementPtr</A
2547> elem);</PRE
2548></TD
2549></TR
2550></TABLE
2551><P
2552>This will dump the content of the element declaration as an XML
2553DTD definition</P
2554><P
2555></P
2556><DIV
2557CLASS="INFORMALTABLE"
2558><P
2559></P
2560><TABLE
2561BORDER="0"
2562WIDTH="100%"
2563BGCOLOR="#FFD0D0"
2564CELLSPACING="0"
2565CELLPADDING="4"
2566CLASS="CALSTABLE"
2567><TR
2568><TD
2569WIDTH="20%"
2570ALIGN="RIGHT"
2571VALIGN="TOP"
2572><TT
2573CLASS="PARAMETER"
2574><I
2575>buf</I
2576></TT
2577>&nbsp;:</TD
2578><TD
2579WIDTH="80%"
2580ALIGN="LEFT"
2581VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002582> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002583></TR
2584><TR
2585><TD
2586WIDTH="20%"
2587ALIGN="RIGHT"
2588VALIGN="TOP"
2589><TT
2590CLASS="PARAMETER"
2591><I
2592>elem</I
2593></TT
2594>&nbsp;:</TD
2595><TD
2596WIDTH="80%"
2597ALIGN="LEFT"
2598VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002599> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002600></TR
2601></TABLE
2602><P
2603></P
2604></DIV
2605></DIV
2606><HR><DIV
2607CLASS="REFSECT2"
2608><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002609NAME="AEN8190"
Daniel Veillard35925471999-02-25 08:46:07 +00002610></A
2611><H3
2612><A
2613NAME="XMLCREATEENUMERATION"
2614></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002615>xmlCreateEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002616><TABLE
2617BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002618BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002619WIDTH="100%"
2620CELLPADDING="6"
2621><TR
2622><TD
2623><PRE
2624CLASS="PROGRAMLISTING"
2625><A
2626HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2627>xmlEnumerationPtr</A
2628> xmlCreateEnumeration (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002629HREF="gnome-xml-tree.html#XMLCHAR"
2630>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002631> *name);</PRE
2632></TD
2633></TR
2634></TABLE
2635><P
2636>create and initialize an enumeration attribute node.</P
2637><P
2638></P
2639><DIV
2640CLASS="INFORMALTABLE"
2641><P
2642></P
2643><TABLE
2644BORDER="0"
2645WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002646BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002647CELLSPACING="0"
2648CELLPADDING="4"
2649CLASS="CALSTABLE"
2650><TR
2651><TD
2652WIDTH="20%"
2653ALIGN="RIGHT"
2654VALIGN="TOP"
2655><TT
2656CLASS="PARAMETER"
2657><I
2658>name</I
2659></TT
2660>&nbsp;:</TD
2661><TD
2662WIDTH="80%"
2663ALIGN="LEFT"
2664VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002665> the enumeration name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002666></TR
2667><TR
2668><TD
2669WIDTH="20%"
2670ALIGN="RIGHT"
2671VALIGN="TOP"
2672><I
2673CLASS="EMPHASIS"
2674>Returns</I
2675> :</TD
2676><TD
2677WIDTH="80%"
2678ALIGN="LEFT"
2679VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002680>the xmlEnumerationPtr just created or NULL in case
2681of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002682></TR
2683></TABLE
2684><P
2685></P
2686></DIV
2687></DIV
2688><HR><DIV
2689CLASS="REFSECT2"
2690><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002691NAME="AEN8211"
Daniel Veillard35925471999-02-25 08:46:07 +00002692></A
2693><H3
2694><A
2695NAME="XMLFREEENUMERATION"
2696></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002697>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002698><TABLE
2699BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002700BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002701WIDTH="100%"
2702CELLPADDING="6"
2703><TR
2704><TD
2705><PRE
2706CLASS="PROGRAMLISTING"
2707>void xmlFreeEnumeration (<A
2708HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2709>xmlEnumerationPtr</A
2710> cur);</PRE
2711></TD
2712></TR
2713></TABLE
2714><P
2715>free an enumeration attribute node (recursive).</P
2716><P
2717></P
2718><DIV
2719CLASS="INFORMALTABLE"
2720><P
2721></P
2722><TABLE
2723BORDER="0"
2724WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002725BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002726CELLSPACING="0"
2727CELLPADDING="4"
2728CLASS="CALSTABLE"
2729><TR
2730><TD
2731WIDTH="20%"
2732ALIGN="RIGHT"
2733VALIGN="TOP"
2734><TT
2735CLASS="PARAMETER"
2736><I
2737>cur</I
2738></TT
2739>&nbsp;:</TD
2740><TD
2741WIDTH="80%"
2742ALIGN="LEFT"
2743VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002744> the tree to free.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002745></TR
2746></TABLE
2747><P
2748></P
2749></DIV
2750></DIV
2751><HR><DIV
2752CLASS="REFSECT2"
2753><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002754NAME="AEN8227"
Daniel Veillard35925471999-02-25 08:46:07 +00002755></A
2756><H3
2757><A
2758NAME="XMLCOPYENUMERATION"
2759></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002760>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002761><TABLE
2762BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002763BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002764WIDTH="100%"
2765CELLPADDING="6"
2766><TR
2767><TD
2768><PRE
2769CLASS="PROGRAMLISTING"
2770><A
2771HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2772>xmlEnumerationPtr</A
2773> xmlCopyEnumeration (<A
2774HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2775>xmlEnumerationPtr</A
2776> cur);</PRE
2777></TD
2778></TR
2779></TABLE
2780><P
2781>Copy an enumeration attribute node (recursive).</P
2782><P
2783></P
2784><DIV
2785CLASS="INFORMALTABLE"
2786><P
2787></P
2788><TABLE
2789BORDER="0"
2790WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002791BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002792CELLSPACING="0"
2793CELLPADDING="4"
2794CLASS="CALSTABLE"
2795><TR
2796><TD
2797WIDTH="20%"
2798ALIGN="RIGHT"
2799VALIGN="TOP"
2800><TT
2801CLASS="PARAMETER"
2802><I
2803>cur</I
2804></TT
2805>&nbsp;:</TD
2806><TD
2807WIDTH="80%"
2808ALIGN="LEFT"
2809VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002810> the tree to copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002811></TR
2812><TR
2813><TD
2814WIDTH="20%"
2815ALIGN="RIGHT"
2816VALIGN="TOP"
2817><I
2818CLASS="EMPHASIS"
2819>Returns</I
2820> :</TD
2821><TD
2822WIDTH="80%"
2823ALIGN="LEFT"
2824VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002825>the xmlEnumerationPtr just created or NULL in case
2826of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002827></TR
2828></TABLE
2829><P
2830></P
2831></DIV
2832></DIV
2833><HR><DIV
2834CLASS="REFSECT2"
2835><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002836NAME="AEN8248"
Daniel Veillard35925471999-02-25 08:46:07 +00002837></A
2838><H3
2839><A
2840NAME="XMLADDATTRIBUTEDECL"
2841></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002842>xmlAddAttributeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002843><TABLE
2844BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002845BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002846WIDTH="100%"
2847CELLPADDING="6"
2848><TR
2849><TD
2850><PRE
2851CLASS="PROGRAMLISTING"
2852><A
2853HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
2854>xmlAttributePtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002855> xmlAddAttributeDecl (<A
2856HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
2857>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002858> ctxt,
2859 <A
Daniel Veillard35925471999-02-25 08:46:07 +00002860HREF="gnome-xml-tree.html#XMLDTDPTR"
2861>xmlDtdPtr</A
2862> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002863 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002864HREF="gnome-xml-tree.html#XMLCHAR"
2865>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002866> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002867 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002868HREF="gnome-xml-tree.html#XMLCHAR"
2869>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002870> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002871 const <A
2872HREF="gnome-xml-tree.html#XMLCHAR"
2873>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +00002874> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002875 <A
2876HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
2877>xmlAttributeType</A
2878> type,
2879 <A
2880HREF="gnome-xml-tree.html#XMLATTRIBUTEDEFAULT"
2881>xmlAttributeDefault</A
2882> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002883 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002884HREF="gnome-xml-tree.html#XMLCHAR"
2885>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002886> *defaultValue,
2887 <A
2888HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2889>xmlEnumerationPtr</A
2890> tree);</PRE
2891></TD
2892></TR
2893></TABLE
2894><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002895>Register a new attribute declaration
2896Note that <TT
2897CLASS="PARAMETER"
2898><I
2899>tree</I
2900></TT
2901> becomes the ownership of the DTD</P
Daniel Veillard35925471999-02-25 08:46:07 +00002902><P
2903></P
2904><DIV
2905CLASS="INFORMALTABLE"
2906><P
2907></P
2908><TABLE
2909BORDER="0"
2910WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002911BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002912CELLSPACING="0"
2913CELLPADDING="4"
2914CLASS="CALSTABLE"
2915><TR
2916><TD
2917WIDTH="20%"
2918ALIGN="RIGHT"
2919VALIGN="TOP"
2920><TT
2921CLASS="PARAMETER"
2922><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002923>ctxt</I
2924></TT
2925>&nbsp;:</TD
2926><TD
2927WIDTH="80%"
2928ALIGN="LEFT"
2929VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002930> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002931></TR
2932><TR
2933><TD
2934WIDTH="20%"
2935ALIGN="RIGHT"
2936VALIGN="TOP"
2937><TT
2938CLASS="PARAMETER"
2939><I
Daniel Veillard35925471999-02-25 08:46:07 +00002940>dtd</I
2941></TT
2942>&nbsp;:</TD
2943><TD
2944WIDTH="80%"
2945ALIGN="LEFT"
2946VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002947> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002948></TR
2949><TR
2950><TD
2951WIDTH="20%"
2952ALIGN="RIGHT"
2953VALIGN="TOP"
2954><TT
2955CLASS="PARAMETER"
2956><I
2957>elem</I
2958></TT
2959>&nbsp;:</TD
2960><TD
2961WIDTH="80%"
2962ALIGN="LEFT"
2963VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002964> the element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002965></TR
2966><TR
2967><TD
2968WIDTH="20%"
2969ALIGN="RIGHT"
2970VALIGN="TOP"
2971><TT
2972CLASS="PARAMETER"
2973><I
2974>name</I
2975></TT
2976>&nbsp;:</TD
2977><TD
2978WIDTH="80%"
2979ALIGN="LEFT"
2980VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002981> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002982></TR
2983><TR
2984><TD
2985WIDTH="20%"
2986ALIGN="RIGHT"
2987VALIGN="TOP"
2988><TT
2989CLASS="PARAMETER"
2990><I
Daniel Veillard06047432000-04-24 11:33:38 +00002991>ns</I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002992></TT
2993>&nbsp;:</TD
2994><TD
2995WIDTH="80%"
2996ALIGN="LEFT"
2997VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002998> the attribute namespace prefix</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002999></TR
3000><TR
3001><TD
3002WIDTH="20%"
3003ALIGN="RIGHT"
3004VALIGN="TOP"
3005><TT
3006CLASS="PARAMETER"
3007><I
Daniel Veillard35925471999-02-25 08:46:07 +00003008>type</I
3009></TT
3010>&nbsp;:</TD
3011><TD
3012WIDTH="80%"
3013ALIGN="LEFT"
3014VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003015> the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003016></TR
3017><TR
3018><TD
3019WIDTH="20%"
3020ALIGN="RIGHT"
3021VALIGN="TOP"
3022><TT
3023CLASS="PARAMETER"
3024><I
3025>def</I
3026></TT
3027>&nbsp;:</TD
3028><TD
3029WIDTH="80%"
3030ALIGN="LEFT"
3031VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003032> the attribute default type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003033></TR
3034><TR
3035><TD
3036WIDTH="20%"
3037ALIGN="RIGHT"
3038VALIGN="TOP"
3039><TT
3040CLASS="PARAMETER"
3041><I
3042>defaultValue</I
3043></TT
3044>&nbsp;:</TD
3045><TD
3046WIDTH="80%"
3047ALIGN="LEFT"
3048VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003049> the attribute default value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003050></TR
3051><TR
3052><TD
3053WIDTH="20%"
3054ALIGN="RIGHT"
3055VALIGN="TOP"
3056><TT
3057CLASS="PARAMETER"
3058><I
3059>tree</I
3060></TT
3061>&nbsp;:</TD
3062><TD
3063WIDTH="80%"
3064ALIGN="LEFT"
3065VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003066> if it's an enumeration, the associated list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003067></TR
3068><TR
3069><TD
3070WIDTH="20%"
3071ALIGN="RIGHT"
3072VALIGN="TOP"
3073><I
3074CLASS="EMPHASIS"
3075>Returns</I
3076> :</TD
3077><TD
3078WIDTH="80%"
3079ALIGN="LEFT"
3080VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003081>NULL if not new, othervise the attribute decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003082></TR
3083></TABLE
3084><P
3085></P
3086></DIV
3087></DIV
3088><HR><DIV
3089CLASS="REFSECT2"
3090><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003091NAME="AEN8310"
Daniel Veillard35925471999-02-25 08:46:07 +00003092></A
3093><H3
3094><A
3095NAME="XMLCOPYATTRIBUTETABLE"
3096></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003097>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003098><TABLE
3099BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003100BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003101WIDTH="100%"
3102CELLPADDING="6"
3103><TR
3104><TD
3105><PRE
3106CLASS="PROGRAMLISTING"
3107><A
3108HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3109>xmlAttributeTablePtr</A
3110> xmlCopyAttributeTable (<A
3111HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3112>xmlAttributeTablePtr</A
3113> table);</PRE
3114></TD
3115></TR
3116></TABLE
3117><P
3118>Build a copy of an attribute table.</P
3119><P
3120></P
3121><DIV
3122CLASS="INFORMALTABLE"
3123><P
3124></P
3125><TABLE
3126BORDER="0"
3127WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003128BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003129CELLSPACING="0"
3130CELLPADDING="4"
3131CLASS="CALSTABLE"
3132><TR
3133><TD
3134WIDTH="20%"
3135ALIGN="RIGHT"
3136VALIGN="TOP"
3137><TT
3138CLASS="PARAMETER"
3139><I
3140>table</I
3141></TT
3142>&nbsp;:</TD
3143><TD
3144WIDTH="80%"
3145ALIGN="LEFT"
3146VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003147> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003148></TR
3149><TR
3150><TD
3151WIDTH="20%"
3152ALIGN="RIGHT"
3153VALIGN="TOP"
3154><I
3155CLASS="EMPHASIS"
3156>Returns</I
3157> :</TD
3158><TD
3159WIDTH="80%"
3160ALIGN="LEFT"
3161VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003162>the new xmlAttributeTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003163></TR
3164></TABLE
3165><P
3166></P
3167></DIV
3168></DIV
3169><HR><DIV
3170CLASS="REFSECT2"
3171><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003172NAME="AEN8331"
Daniel Veillard35925471999-02-25 08:46:07 +00003173></A
3174><H3
3175><A
3176NAME="XMLFREEATTRIBUTETABLE"
3177></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003178>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003179><TABLE
3180BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003181BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003182WIDTH="100%"
3183CELLPADDING="6"
3184><TR
3185><TD
3186><PRE
3187CLASS="PROGRAMLISTING"
3188>void xmlFreeAttributeTable (<A
3189HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3190>xmlAttributeTablePtr</A
3191> table);</PRE
3192></TD
3193></TR
3194></TABLE
3195><P
3196>Deallocate the memory used by an entities hash table.</P
3197><P
3198></P
3199><DIV
3200CLASS="INFORMALTABLE"
3201><P
3202></P
3203><TABLE
3204BORDER="0"
3205WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003206BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003207CELLSPACING="0"
3208CELLPADDING="4"
3209CLASS="CALSTABLE"
3210><TR
3211><TD
3212WIDTH="20%"
3213ALIGN="RIGHT"
3214VALIGN="TOP"
3215><TT
3216CLASS="PARAMETER"
3217><I
3218>table</I
3219></TT
3220>&nbsp;:</TD
3221><TD
3222WIDTH="80%"
3223ALIGN="LEFT"
3224VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003225> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003226></TR
3227></TABLE
3228><P
3229></P
3230></DIV
3231></DIV
3232><HR><DIV
3233CLASS="REFSECT2"
3234><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003235NAME="AEN8347"
Daniel Veillard35925471999-02-25 08:46:07 +00003236></A
3237><H3
3238><A
3239NAME="XMLDUMPATTRIBUTETABLE"
3240></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003241>xmlDumpAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003242><TABLE
3243BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003244BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003245WIDTH="100%"
3246CELLPADDING="6"
3247><TR
3248><TD
3249><PRE
3250CLASS="PROGRAMLISTING"
3251>void xmlDumpAttributeTable (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003252HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3253>xmlBufferPtr</A
3254> buf,
3255 <A
Daniel Veillard35925471999-02-25 08:46:07 +00003256HREF="gnome-xml-valid.html#XMLATTRIBUTETABLEPTR"
3257>xmlAttributeTablePtr</A
3258> table);</PRE
3259></TD
3260></TR
3261></TABLE
3262><P
3263>This will dump the content of the attribute table as an XML DTD definition</P
3264><P
Daniel Veillard35925471999-02-25 08:46:07 +00003265></P
3266><DIV
3267CLASS="INFORMALTABLE"
3268><P
3269></P
3270><TABLE
3271BORDER="0"
3272WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003273BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003274CELLSPACING="0"
3275CELLPADDING="4"
3276CLASS="CALSTABLE"
3277><TR
3278><TD
3279WIDTH="20%"
3280ALIGN="RIGHT"
3281VALIGN="TOP"
3282><TT
3283CLASS="PARAMETER"
3284><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003285>buf</I
3286></TT
3287>&nbsp;:</TD
3288><TD
3289WIDTH="80%"
3290ALIGN="LEFT"
3291VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003292> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003293></TR
3294><TR
3295><TD
3296WIDTH="20%"
3297ALIGN="RIGHT"
3298VALIGN="TOP"
3299><TT
3300CLASS="PARAMETER"
3301><I
Daniel Veillard35925471999-02-25 08:46:07 +00003302>table</I
3303></TT
3304>&nbsp;:</TD
3305><TD
3306WIDTH="80%"
3307ALIGN="LEFT"
3308VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003309> An attribute table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003310></TR
3311></TABLE
3312><P
3313></P
3314></DIV
3315></DIV
3316><HR><DIV
3317CLASS="REFSECT2"
3318><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003319NAME="AEN8368"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003320></A
3321><H3
3322><A
3323NAME="XMLDUMPATTRIBUTEDECL"
3324></A
3325>xmlDumpAttributeDecl ()</H3
3326><TABLE
3327BORDER="0"
3328BGCOLOR="#D6E8FF"
3329WIDTH="100%"
3330CELLPADDING="6"
3331><TR
3332><TD
3333><PRE
3334CLASS="PROGRAMLISTING"
3335>void xmlDumpAttributeDecl (<A
3336HREF="gnome-xml-tree.html#XMLBUFFERPTR"
3337>xmlBufferPtr</A
3338> buf,
3339 <A
3340HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
3341>xmlAttributePtr</A
3342> attr);</PRE
3343></TD
3344></TR
3345></TABLE
3346><P
3347>This will dump the content of the attribute declaration as an XML
3348DTD definition</P
3349><P
3350></P
3351><DIV
3352CLASS="INFORMALTABLE"
3353><P
3354></P
3355><TABLE
3356BORDER="0"
3357WIDTH="100%"
3358BGCOLOR="#FFD0D0"
3359CELLSPACING="0"
3360CELLPADDING="4"
3361CLASS="CALSTABLE"
3362><TR
3363><TD
3364WIDTH="20%"
3365ALIGN="RIGHT"
3366VALIGN="TOP"
3367><TT
3368CLASS="PARAMETER"
3369><I
3370>buf</I
3371></TT
3372>&nbsp;:</TD
3373><TD
3374WIDTH="80%"
3375ALIGN="LEFT"
3376VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003377> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003378></TR
3379><TR
3380><TD
3381WIDTH="20%"
3382ALIGN="RIGHT"
3383VALIGN="TOP"
3384><TT
3385CLASS="PARAMETER"
3386><I
3387>attr</I
3388></TT
3389>&nbsp;:</TD
3390><TD
3391WIDTH="80%"
3392ALIGN="LEFT"
3393VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003394> An attribute declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003395></TR
3396></TABLE
3397><P
3398></P
3399></DIV
3400></DIV
3401><HR><DIV
3402CLASS="REFSECT2"
3403><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003404NAME="AEN8389"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003405></A
3406><H3
3407><A
3408NAME="XMLADDID"
3409></A
3410>xmlAddID ()</H3
3411><TABLE
3412BORDER="0"
3413BGCOLOR="#D6E8FF"
3414WIDTH="100%"
3415CELLPADDING="6"
3416><TR
3417><TD
3418><PRE
3419CLASS="PROGRAMLISTING"
3420><A
3421HREF="gnome-xml-tree.html#XMLIDPTR"
3422>xmlIDPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003423> xmlAddID (<A
3424HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
3425>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003426> ctxt,
3427 <A
3428HREF="gnome-xml-tree.html#XMLDOCPTR"
3429>xmlDocPtr</A
3430> doc,
3431 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003432HREF="gnome-xml-tree.html#XMLCHAR"
3433>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003434> *value,
3435 <A
3436HREF="gnome-xml-tree.html#XMLATTRPTR"
3437>xmlAttrPtr</A
3438> attr);</PRE
3439></TD
3440></TR
3441></TABLE
3442><P
3443>Register a new id declaration</P
3444><P
3445></P
3446><DIV
3447CLASS="INFORMALTABLE"
3448><P
3449></P
3450><TABLE
3451BORDER="0"
3452WIDTH="100%"
3453BGCOLOR="#FFD0D0"
3454CELLSPACING="0"
3455CELLPADDING="4"
3456CLASS="CALSTABLE"
3457><TR
3458><TD
3459WIDTH="20%"
3460ALIGN="RIGHT"
3461VALIGN="TOP"
3462><TT
3463CLASS="PARAMETER"
3464><I
3465>ctxt</I
3466></TT
3467>&nbsp;:</TD
3468><TD
3469WIDTH="80%"
3470ALIGN="LEFT"
3471VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003472> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003473></TR
3474><TR
3475><TD
3476WIDTH="20%"
3477ALIGN="RIGHT"
3478VALIGN="TOP"
3479><TT
3480CLASS="PARAMETER"
3481><I
3482>doc</I
3483></TT
3484>&nbsp;:</TD
3485><TD
3486WIDTH="80%"
3487ALIGN="LEFT"
3488VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003489> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003490></TR
3491><TR
3492><TD
3493WIDTH="20%"
3494ALIGN="RIGHT"
3495VALIGN="TOP"
3496><TT
3497CLASS="PARAMETER"
3498><I
3499>value</I
3500></TT
3501>&nbsp;:</TD
3502><TD
3503WIDTH="80%"
3504ALIGN="LEFT"
3505VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003506> the value name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003507></TR
3508><TR
3509><TD
3510WIDTH="20%"
3511ALIGN="RIGHT"
3512VALIGN="TOP"
3513><TT
3514CLASS="PARAMETER"
3515><I
3516>attr</I
3517></TT
3518>&nbsp;:</TD
3519><TD
3520WIDTH="80%"
3521ALIGN="LEFT"
3522VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003523> the attribute holding the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003524></TR
3525><TR
3526><TD
3527WIDTH="20%"
3528ALIGN="RIGHT"
3529VALIGN="TOP"
3530><I
3531CLASS="EMPHASIS"
3532>Returns</I
3533> :</TD
3534><TD
3535WIDTH="80%"
3536ALIGN="LEFT"
3537VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003538>NULL if not, othervise the new xmlIDPtr</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003539></TR
3540></TABLE
3541><P
3542></P
3543></DIV
3544></DIV
3545><HR><DIV
3546CLASS="REFSECT2"
3547><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003548NAME="AEN8425"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003549></A
3550><H3
3551><A
3552NAME="XMLCOPYIDTABLE"
3553></A
3554>xmlCopyIDTable ()</H3
3555><TABLE
3556BORDER="0"
3557BGCOLOR="#D6E8FF"
3558WIDTH="100%"
3559CELLPADDING="6"
3560><TR
3561><TD
3562><PRE
3563CLASS="PROGRAMLISTING"
3564><A
3565HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3566>xmlIDTablePtr</A
3567> xmlCopyIDTable (<A
3568HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3569>xmlIDTablePtr</A
3570> table);</PRE
3571></TD
3572></TR
3573></TABLE
3574><P
3575></P
3576><DIV
3577CLASS="INFORMALTABLE"
3578><P
3579></P
3580><TABLE
3581BORDER="0"
3582WIDTH="100%"
3583BGCOLOR="#FFD0D0"
3584CELLSPACING="0"
3585CELLPADDING="4"
3586CLASS="CALSTABLE"
3587><TR
3588><TD
3589WIDTH="20%"
3590ALIGN="RIGHT"
3591VALIGN="TOP"
3592><TT
3593CLASS="PARAMETER"
3594><I
3595>table</I
3596></TT
3597>&nbsp;:</TD
3598><TD
3599WIDTH="80%"
3600ALIGN="LEFT"
3601VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003602>&nbsp;</TD
3603></TR
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003604><TR
3605><TD
3606WIDTH="20%"
3607ALIGN="RIGHT"
3608VALIGN="TOP"
3609><I
3610CLASS="EMPHASIS"
3611>Returns</I
3612> :</TD
3613><TD
3614WIDTH="80%"
3615ALIGN="LEFT"
3616VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00003617>&#13;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003618></TR
Daniel Veillardb05deb71999-08-10 19:04:08 +00003619></TABLE
3620><P
3621></P
3622></DIV
3623></DIV
3624><HR><DIV
3625CLASS="REFSECT2"
3626><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003627NAME="AEN8445"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003628></A
3629><H3
3630><A
3631NAME="XMLFREEIDTABLE"
3632></A
3633>xmlFreeIDTable ()</H3
3634><TABLE
3635BORDER="0"
3636BGCOLOR="#D6E8FF"
3637WIDTH="100%"
3638CELLPADDING="6"
3639><TR
3640><TD
3641><PRE
3642CLASS="PROGRAMLISTING"
3643>void xmlFreeIDTable (<A
3644HREF="gnome-xml-valid.html#XMLIDTABLEPTR"
3645>xmlIDTablePtr</A
3646> table);</PRE
3647></TD
3648></TR
3649></TABLE
3650><P
3651>Deallocate the memory used by an ID hash table.</P
3652><P
3653></P
3654><DIV
3655CLASS="INFORMALTABLE"
3656><P
3657></P
3658><TABLE
3659BORDER="0"
3660WIDTH="100%"
3661BGCOLOR="#FFD0D0"
3662CELLSPACING="0"
3663CELLPADDING="4"
3664CLASS="CALSTABLE"
3665><TR
3666><TD
3667WIDTH="20%"
3668ALIGN="RIGHT"
3669VALIGN="TOP"
3670><TT
3671CLASS="PARAMETER"
3672><I
3673>table</I
3674></TT
3675>&nbsp;:</TD
3676><TD
3677WIDTH="80%"
3678ALIGN="LEFT"
3679VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003680> An id table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003681></TR
3682></TABLE
3683><P
3684></P
3685></DIV
3686></DIV
3687><HR><DIV
3688CLASS="REFSECT2"
3689><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003690NAME="AEN8461"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003691></A
3692><H3
3693><A
3694NAME="XMLGETID"
3695></A
3696>xmlGetID ()</H3
3697><TABLE
3698BORDER="0"
3699BGCOLOR="#D6E8FF"
3700WIDTH="100%"
3701CELLPADDING="6"
3702><TR
3703><TD
3704><PRE
3705CLASS="PROGRAMLISTING"
3706><A
3707HREF="gnome-xml-tree.html#XMLATTRPTR"
3708>xmlAttrPtr</A
3709> xmlGetID (<A
3710HREF="gnome-xml-tree.html#XMLDOCPTR"
3711>xmlDocPtr</A
3712> doc,
3713 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003714HREF="gnome-xml-tree.html#XMLCHAR"
3715>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003716> *ID);</PRE
3717></TD
3718></TR
3719></TABLE
3720><P
3721>Search the attribute declaring the given ID</P
3722><P
3723></P
3724><DIV
3725CLASS="INFORMALTABLE"
3726><P
3727></P
3728><TABLE
3729BORDER="0"
3730WIDTH="100%"
3731BGCOLOR="#FFD0D0"
3732CELLSPACING="0"
3733CELLPADDING="4"
3734CLASS="CALSTABLE"
3735><TR
3736><TD
3737WIDTH="20%"
3738ALIGN="RIGHT"
3739VALIGN="TOP"
3740><TT
3741CLASS="PARAMETER"
3742><I
3743>doc</I
3744></TT
3745>&nbsp;:</TD
3746><TD
3747WIDTH="80%"
3748ALIGN="LEFT"
3749VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003750> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003751></TR
3752><TR
3753><TD
3754WIDTH="20%"
3755ALIGN="RIGHT"
3756VALIGN="TOP"
3757><TT
3758CLASS="PARAMETER"
3759><I
3760>ID</I
3761></TT
3762>&nbsp;:</TD
3763><TD
3764WIDTH="80%"
3765ALIGN="LEFT"
3766VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003767> the ID value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003768></TR
3769><TR
3770><TD
3771WIDTH="20%"
3772ALIGN="RIGHT"
3773VALIGN="TOP"
3774><I
3775CLASS="EMPHASIS"
3776>Returns</I
3777> :</TD
3778><TD
3779WIDTH="80%"
3780ALIGN="LEFT"
3781VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003782>NULL if not found, otherwise the xmlAttrPtr defining the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003783></TR
3784></TABLE
3785><P
3786></P
3787></DIV
3788></DIV
3789><HR><DIV
3790CLASS="REFSECT2"
3791><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003792NAME="AEN8487"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003793></A
3794><H3
3795><A
3796NAME="XMLISID"
3797></A
3798>xmlIsID ()</H3
3799><TABLE
3800BORDER="0"
3801BGCOLOR="#D6E8FF"
3802WIDTH="100%"
3803CELLPADDING="6"
3804><TR
3805><TD
3806><PRE
3807CLASS="PROGRAMLISTING"
3808>int xmlIsID (<A
3809HREF="gnome-xml-tree.html#XMLDOCPTR"
3810>xmlDocPtr</A
3811> doc,
3812 <A
3813HREF="gnome-xml-tree.html#XMLNODEPTR"
3814>xmlNodePtr</A
3815> elem,
3816 <A
3817HREF="gnome-xml-tree.html#XMLATTRPTR"
3818>xmlAttrPtr</A
3819> attr);</PRE
3820></TD
3821></TR
3822></TABLE
3823><P
3824>Determine whether an attribute is of type ID. In case we have Dtd(s)
3825then this is simple, otherwise we use an heuristic: name ID (upper
3826or lowercase).</P
3827><P
3828></P
3829><DIV
3830CLASS="INFORMALTABLE"
3831><P
3832></P
3833><TABLE
3834BORDER="0"
3835WIDTH="100%"
3836BGCOLOR="#FFD0D0"
3837CELLSPACING="0"
3838CELLPADDING="4"
3839CLASS="CALSTABLE"
3840><TR
3841><TD
3842WIDTH="20%"
3843ALIGN="RIGHT"
3844VALIGN="TOP"
3845><TT
3846CLASS="PARAMETER"
3847><I
3848>doc</I
3849></TT
3850>&nbsp;:</TD
3851><TD
3852WIDTH="80%"
3853ALIGN="LEFT"
3854VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003855> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003856></TR
3857><TR
3858><TD
3859WIDTH="20%"
3860ALIGN="RIGHT"
3861VALIGN="TOP"
3862><TT
3863CLASS="PARAMETER"
3864><I
3865>elem</I
3866></TT
3867>&nbsp;:</TD
3868><TD
3869WIDTH="80%"
3870ALIGN="LEFT"
3871VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003872> the element carrying the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003873></TR
3874><TR
3875><TD
3876WIDTH="20%"
3877ALIGN="RIGHT"
3878VALIGN="TOP"
3879><TT
3880CLASS="PARAMETER"
3881><I
3882>attr</I
3883></TT
3884>&nbsp;:</TD
3885><TD
3886WIDTH="80%"
3887ALIGN="LEFT"
3888VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003889> the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003890></TR
3891><TR
3892><TD
3893WIDTH="20%"
3894ALIGN="RIGHT"
3895VALIGN="TOP"
3896><I
3897CLASS="EMPHASIS"
3898>Returns</I
3899> :</TD
3900><TD
3901WIDTH="80%"
3902ALIGN="LEFT"
3903VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003904>0 or 1 depending on the lookup result</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003905></TR
3906></TABLE
3907><P
3908></P
3909></DIV
3910></DIV
3911><HR><DIV
3912CLASS="REFSECT2"
3913><A
Daniel Veillard503b8932001-01-05 06:36:31 +00003914NAME="AEN8517"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003915></A
3916><H3
3917><A
3918NAME="XMLREMOVEID"
3919></A
3920>xmlRemoveID ()</H3
3921><TABLE
3922BORDER="0"
3923BGCOLOR="#D6E8FF"
3924WIDTH="100%"
3925CELLPADDING="6"
3926><TR
3927><TD
3928><PRE
3929CLASS="PROGRAMLISTING"
3930>int xmlRemoveID (<A
3931HREF="gnome-xml-tree.html#XMLDOCPTR"
3932>xmlDocPtr</A
3933> doc,
3934 <A
3935HREF="gnome-xml-tree.html#XMLATTRPTR"
3936>xmlAttrPtr</A
3937> attr);</PRE
3938></TD
3939></TR
3940></TABLE
3941><P
3942>Remove the given attribute from the ID table maintained internally.</P
3943><P
3944></P
3945><DIV
3946CLASS="INFORMALTABLE"
3947><P
3948></P
3949><TABLE
3950BORDER="0"
3951WIDTH="100%"
3952BGCOLOR="#FFD0D0"
3953CELLSPACING="0"
3954CELLPADDING="4"
3955CLASS="CALSTABLE"
3956><TR
3957><TD
3958WIDTH="20%"
3959ALIGN="RIGHT"
3960VALIGN="TOP"
3961><TT
3962CLASS="PARAMETER"
3963><I
3964>doc</I
3965></TT
3966>&nbsp;:</TD
3967><TD
3968WIDTH="80%"
3969ALIGN="LEFT"
3970VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003971> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003972></TR
3973><TR
3974><TD
3975WIDTH="20%"
3976ALIGN="RIGHT"
3977VALIGN="TOP"
3978><TT
3979CLASS="PARAMETER"
3980><I
3981>attr</I
3982></TT
3983>&nbsp;:</TD
3984><TD
3985WIDTH="80%"
3986ALIGN="LEFT"
3987VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003988> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003989></TR
3990><TR
3991><TD
3992WIDTH="20%"
3993ALIGN="RIGHT"
3994VALIGN="TOP"
3995><I
3996CLASS="EMPHASIS"
3997>Returns</I
3998> :</TD
3999><TD
4000WIDTH="80%"
4001ALIGN="LEFT"
4002VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004003>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004004></TR
4005></TABLE
4006><P
4007></P
4008></DIV
4009></DIV
4010><HR><DIV
4011CLASS="REFSECT2"
4012><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004013NAME="AEN8542"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004014></A
4015><H3
4016><A
4017NAME="XMLADDREF"
4018></A
4019>xmlAddRef ()</H3
4020><TABLE
4021BORDER="0"
4022BGCOLOR="#D6E8FF"
4023WIDTH="100%"
4024CELLPADDING="6"
4025><TR
4026><TD
4027><PRE
4028CLASS="PROGRAMLISTING"
4029><A
4030HREF="gnome-xml-tree.html#XMLREFPTR"
4031>xmlRefPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004032> xmlAddRef (<A
4033HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4034>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004035> ctxt,
4036 <A
4037HREF="gnome-xml-tree.html#XMLDOCPTR"
4038>xmlDocPtr</A
4039> doc,
4040 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004041HREF="gnome-xml-tree.html#XMLCHAR"
4042>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004043> *value,
4044 <A
4045HREF="gnome-xml-tree.html#XMLATTRPTR"
4046>xmlAttrPtr</A
4047> attr);</PRE
4048></TD
4049></TR
4050></TABLE
4051><P
4052>Register a new ref declaration</P
4053><P
4054></P
4055><DIV
4056CLASS="INFORMALTABLE"
4057><P
4058></P
4059><TABLE
4060BORDER="0"
4061WIDTH="100%"
4062BGCOLOR="#FFD0D0"
4063CELLSPACING="0"
4064CELLPADDING="4"
4065CLASS="CALSTABLE"
4066><TR
4067><TD
4068WIDTH="20%"
4069ALIGN="RIGHT"
4070VALIGN="TOP"
4071><TT
4072CLASS="PARAMETER"
4073><I
4074>ctxt</I
4075></TT
4076>&nbsp;:</TD
4077><TD
4078WIDTH="80%"
4079ALIGN="LEFT"
4080VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004081> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004082></TR
4083><TR
4084><TD
4085WIDTH="20%"
4086ALIGN="RIGHT"
4087VALIGN="TOP"
4088><TT
4089CLASS="PARAMETER"
4090><I
4091>doc</I
4092></TT
4093>&nbsp;:</TD
4094><TD
4095WIDTH="80%"
4096ALIGN="LEFT"
4097VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004098> pointer to the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004099></TR
4100><TR
4101><TD
4102WIDTH="20%"
4103ALIGN="RIGHT"
4104VALIGN="TOP"
4105><TT
4106CLASS="PARAMETER"
4107><I
4108>value</I
4109></TT
4110>&nbsp;:</TD
4111><TD
4112WIDTH="80%"
4113ALIGN="LEFT"
4114VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004115> the value name</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004116></TR
4117><TR
4118><TD
4119WIDTH="20%"
4120ALIGN="RIGHT"
4121VALIGN="TOP"
4122><TT
4123CLASS="PARAMETER"
4124><I
4125>attr</I
4126></TT
4127>&nbsp;:</TD
4128><TD
4129WIDTH="80%"
4130ALIGN="LEFT"
4131VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004132> the attribute holding the Ref</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004133></TR
4134><TR
4135><TD
4136WIDTH="20%"
4137ALIGN="RIGHT"
4138VALIGN="TOP"
4139><I
4140CLASS="EMPHASIS"
4141>Returns</I
4142> :</TD
4143><TD
4144WIDTH="80%"
4145ALIGN="LEFT"
4146VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004147>NULL if not, othervise the new xmlRefPtr</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004148></TR
4149></TABLE
4150><P
4151></P
4152></DIV
4153></DIV
4154><HR><DIV
4155CLASS="REFSECT2"
4156><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004157NAME="AEN8578"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004158></A
4159><H3
4160><A
4161NAME="XMLCOPYREFTABLE"
4162></A
4163>xmlCopyRefTable ()</H3
4164><TABLE
4165BORDER="0"
4166BGCOLOR="#D6E8FF"
4167WIDTH="100%"
4168CELLPADDING="6"
4169><TR
4170><TD
4171><PRE
4172CLASS="PROGRAMLISTING"
4173><A
4174HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
4175>xmlRefTablePtr</A
4176> xmlCopyRefTable (<A
4177HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
4178>xmlRefTablePtr</A
4179> table);</PRE
4180></TD
4181></TR
4182></TABLE
4183><P
4184></P
4185><DIV
4186CLASS="INFORMALTABLE"
4187><P
4188></P
4189><TABLE
4190BORDER="0"
4191WIDTH="100%"
4192BGCOLOR="#FFD0D0"
4193CELLSPACING="0"
4194CELLPADDING="4"
4195CLASS="CALSTABLE"
4196><TR
4197><TD
4198WIDTH="20%"
4199ALIGN="RIGHT"
4200VALIGN="TOP"
4201><TT
4202CLASS="PARAMETER"
4203><I
4204>table</I
4205></TT
4206>&nbsp;:</TD
4207><TD
4208WIDTH="80%"
4209ALIGN="LEFT"
4210VALIGN="TOP"
4211>&nbsp;</TD
4212></TR
4213><TR
4214><TD
4215WIDTH="20%"
4216ALIGN="RIGHT"
4217VALIGN="TOP"
4218><I
4219CLASS="EMPHASIS"
4220>Returns</I
4221> :</TD
4222><TD
4223WIDTH="80%"
4224ALIGN="LEFT"
4225VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00004226>&#13;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004227></TR
4228></TABLE
4229><P
4230></P
4231></DIV
4232></DIV
4233><HR><DIV
4234CLASS="REFSECT2"
4235><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004236NAME="AEN8598"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004237></A
4238><H3
4239><A
4240NAME="XMLFREEREFTABLE"
4241></A
4242>xmlFreeRefTable ()</H3
4243><TABLE
4244BORDER="0"
4245BGCOLOR="#D6E8FF"
4246WIDTH="100%"
4247CELLPADDING="6"
4248><TR
4249><TD
4250><PRE
4251CLASS="PROGRAMLISTING"
4252>void xmlFreeRefTable (<A
4253HREF="gnome-xml-valid.html#XMLREFTABLEPTR"
4254>xmlRefTablePtr</A
4255> table);</PRE
4256></TD
4257></TR
4258></TABLE
4259><P
4260>Deallocate the memory used by an Ref hash table.</P
4261><P
4262></P
4263><DIV
4264CLASS="INFORMALTABLE"
4265><P
4266></P
4267><TABLE
4268BORDER="0"
4269WIDTH="100%"
4270BGCOLOR="#FFD0D0"
4271CELLSPACING="0"
4272CELLPADDING="4"
4273CLASS="CALSTABLE"
4274><TR
4275><TD
4276WIDTH="20%"
4277ALIGN="RIGHT"
4278VALIGN="TOP"
4279><TT
4280CLASS="PARAMETER"
4281><I
4282>table</I
4283></TT
4284>&nbsp;:</TD
4285><TD
4286WIDTH="80%"
4287ALIGN="LEFT"
4288VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004289> An ref table</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004290></TR
4291></TABLE
4292><P
4293></P
4294></DIV
4295></DIV
4296><HR><DIV
4297CLASS="REFSECT2"
4298><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004299NAME="AEN8614"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004300></A
4301><H3
4302><A
4303NAME="XMLISREF"
4304></A
4305>xmlIsRef ()</H3
4306><TABLE
4307BORDER="0"
4308BGCOLOR="#D6E8FF"
4309WIDTH="100%"
4310CELLPADDING="6"
4311><TR
4312><TD
4313><PRE
4314CLASS="PROGRAMLISTING"
4315>int xmlIsRef (<A
4316HREF="gnome-xml-tree.html#XMLDOCPTR"
4317>xmlDocPtr</A
4318> doc,
4319 <A
4320HREF="gnome-xml-tree.html#XMLNODEPTR"
4321>xmlNodePtr</A
4322> elem,
4323 <A
4324HREF="gnome-xml-tree.html#XMLATTRPTR"
4325>xmlAttrPtr</A
4326> attr);</PRE
4327></TD
4328></TR
4329></TABLE
4330><P
4331>Determine whether an attribute is of type Ref. In case we have Dtd(s)
4332then this is simple, otherwise we use an heuristic: name Ref (upper
4333or lowercase).</P
4334><P
4335></P
4336><DIV
4337CLASS="INFORMALTABLE"
4338><P
4339></P
4340><TABLE
4341BORDER="0"
4342WIDTH="100%"
4343BGCOLOR="#FFD0D0"
4344CELLSPACING="0"
4345CELLPADDING="4"
4346CLASS="CALSTABLE"
4347><TR
4348><TD
4349WIDTH="20%"
4350ALIGN="RIGHT"
4351VALIGN="TOP"
4352><TT
4353CLASS="PARAMETER"
4354><I
4355>doc</I
4356></TT
4357>&nbsp;:</TD
4358><TD
4359WIDTH="80%"
4360ALIGN="LEFT"
4361VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004362> the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004363></TR
4364><TR
4365><TD
4366WIDTH="20%"
4367ALIGN="RIGHT"
4368VALIGN="TOP"
4369><TT
4370CLASS="PARAMETER"
4371><I
4372>elem</I
4373></TT
4374>&nbsp;:</TD
4375><TD
4376WIDTH="80%"
4377ALIGN="LEFT"
4378VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004379> the element carrying the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004380></TR
4381><TR
4382><TD
4383WIDTH="20%"
4384ALIGN="RIGHT"
4385VALIGN="TOP"
4386><TT
4387CLASS="PARAMETER"
4388><I
4389>attr</I
4390></TT
4391>&nbsp;:</TD
4392><TD
4393WIDTH="80%"
4394ALIGN="LEFT"
4395VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004396> the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004397></TR
4398><TR
4399><TD
4400WIDTH="20%"
4401ALIGN="RIGHT"
4402VALIGN="TOP"
4403><I
4404CLASS="EMPHASIS"
4405>Returns</I
4406> :</TD
4407><TD
4408WIDTH="80%"
4409ALIGN="LEFT"
4410VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004411>0 or 1 depending on the lookup result</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004412></TR
4413></TABLE
4414><P
4415></P
4416></DIV
4417></DIV
4418><HR><DIV
4419CLASS="REFSECT2"
4420><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004421NAME="AEN8644"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004422></A
4423><H3
4424><A
4425NAME="XMLREMOVEREF"
4426></A
4427>xmlRemoveRef ()</H3
4428><TABLE
4429BORDER="0"
4430BGCOLOR="#D6E8FF"
4431WIDTH="100%"
4432CELLPADDING="6"
4433><TR
4434><TD
4435><PRE
4436CLASS="PROGRAMLISTING"
4437>int xmlRemoveRef (<A
4438HREF="gnome-xml-tree.html#XMLDOCPTR"
4439>xmlDocPtr</A
4440> doc,
4441 <A
4442HREF="gnome-xml-tree.html#XMLATTRPTR"
4443>xmlAttrPtr</A
4444> attr);</PRE
4445></TD
4446></TR
4447></TABLE
4448><P
4449>Remove the given attribute from the Ref table maintained internally.</P
4450><P
4451></P
4452><DIV
4453CLASS="INFORMALTABLE"
4454><P
4455></P
4456><TABLE
4457BORDER="0"
4458WIDTH="100%"
4459BGCOLOR="#FFD0D0"
4460CELLSPACING="0"
4461CELLPADDING="4"
4462CLASS="CALSTABLE"
4463><TR
4464><TD
4465WIDTH="20%"
4466ALIGN="RIGHT"
4467VALIGN="TOP"
4468><TT
4469CLASS="PARAMETER"
4470><I
4471>doc</I
4472></TT
4473>&nbsp;:</TD
4474><TD
4475WIDTH="80%"
4476ALIGN="LEFT"
4477VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004478> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004479></TR
4480><TR
4481><TD
4482WIDTH="20%"
4483ALIGN="RIGHT"
4484VALIGN="TOP"
4485><TT
4486CLASS="PARAMETER"
4487><I
4488>attr</I
4489></TT
4490>&nbsp;:</TD
4491><TD
4492WIDTH="80%"
4493ALIGN="LEFT"
4494VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004495> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004496></TR
4497><TR
4498><TD
4499WIDTH="20%"
4500ALIGN="RIGHT"
4501VALIGN="TOP"
4502><I
4503CLASS="EMPHASIS"
4504>Returns</I
4505> :</TD
4506><TD
4507WIDTH="80%"
4508ALIGN="LEFT"
4509VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004510>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004511></TR
4512></TABLE
4513><P
4514></P
4515></DIV
4516></DIV
4517><HR><DIV
4518CLASS="REFSECT2"
4519><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004520NAME="AEN8669"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004521></A
4522><H3
4523><A
4524NAME="XMLVALIDATEROOT"
4525></A
4526>xmlValidateRoot ()</H3
4527><TABLE
4528BORDER="0"
4529BGCOLOR="#D6E8FF"
4530WIDTH="100%"
4531CELLPADDING="6"
4532><TR
4533><TD
4534><PRE
4535CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004536>int xmlValidateRoot (<A
4537HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4538>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004539> ctxt,
4540 <A
4541HREF="gnome-xml-tree.html#XMLDOCPTR"
4542>xmlDocPtr</A
4543> doc);</PRE
4544></TD
4545></TR
4546></TABLE
4547><P
4548>Try to validate a the root element
4549basically it does the following check as described by the
4550XML-1.0 recommendation:
4551- [ VC: Root Element Type ]
4552it doesn't try to recurse or apply other check to the element</P
4553><P
4554></P
4555><DIV
4556CLASS="INFORMALTABLE"
4557><P
4558></P
4559><TABLE
4560BORDER="0"
4561WIDTH="100%"
4562BGCOLOR="#FFD0D0"
4563CELLSPACING="0"
4564CELLPADDING="4"
4565CLASS="CALSTABLE"
4566><TR
4567><TD
4568WIDTH="20%"
4569ALIGN="RIGHT"
4570VALIGN="TOP"
4571><TT
4572CLASS="PARAMETER"
4573><I
4574>ctxt</I
4575></TT
4576>&nbsp;:</TD
4577><TD
4578WIDTH="80%"
4579ALIGN="LEFT"
4580VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004581> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004582></TR
4583><TR
4584><TD
4585WIDTH="20%"
4586ALIGN="RIGHT"
4587VALIGN="TOP"
4588><TT
4589CLASS="PARAMETER"
4590><I
4591>doc</I
4592></TT
4593>&nbsp;:</TD
4594><TD
4595WIDTH="80%"
4596ALIGN="LEFT"
4597VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004598> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004599></TR
4600><TR
4601><TD
4602WIDTH="20%"
4603ALIGN="RIGHT"
4604VALIGN="TOP"
4605><I
4606CLASS="EMPHASIS"
4607>Returns</I
4608> :</TD
4609><TD
4610WIDTH="80%"
4611ALIGN="LEFT"
4612VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004613>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004614></TR
4615></TABLE
4616><P
4617></P
4618></DIV
4619></DIV
4620><HR><DIV
4621CLASS="REFSECT2"
4622><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004623NAME="AEN8694"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004624></A
4625><H3
4626><A
4627NAME="XMLVALIDATEELEMENTDECL"
4628></A
4629>xmlValidateElementDecl ()</H3
4630><TABLE
4631BORDER="0"
4632BGCOLOR="#D6E8FF"
4633WIDTH="100%"
4634CELLPADDING="6"
4635><TR
4636><TD
4637><PRE
4638CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004639>int xmlValidateElementDecl (<A
4640HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4641>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004642> ctxt,
4643 <A
4644HREF="gnome-xml-tree.html#XMLDOCPTR"
4645>xmlDocPtr</A
4646> doc,
4647 <A
4648HREF="gnome-xml-tree.html#XMLELEMENTPTR"
4649>xmlElementPtr</A
4650> elem);</PRE
4651></TD
4652></TR
4653></TABLE
4654><P
4655>Try to validate a single element definition
4656basically it does the following checks as described by the
4657XML-1.0 recommendation:
4658- [ VC: One ID per Element Type ]
4659- [ VC: No Duplicate Types ]
4660- [ VC: Unique Element Type Declaration ]</P
4661><P
4662></P
4663><DIV
4664CLASS="INFORMALTABLE"
4665><P
4666></P
4667><TABLE
4668BORDER="0"
4669WIDTH="100%"
4670BGCOLOR="#FFD0D0"
4671CELLSPACING="0"
4672CELLPADDING="4"
4673CLASS="CALSTABLE"
4674><TR
4675><TD
4676WIDTH="20%"
4677ALIGN="RIGHT"
4678VALIGN="TOP"
4679><TT
4680CLASS="PARAMETER"
4681><I
4682>ctxt</I
4683></TT
4684>&nbsp;:</TD
4685><TD
4686WIDTH="80%"
4687ALIGN="LEFT"
4688VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004689> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004690></TR
4691><TR
4692><TD
4693WIDTH="20%"
4694ALIGN="RIGHT"
4695VALIGN="TOP"
4696><TT
4697CLASS="PARAMETER"
4698><I
4699>doc</I
4700></TT
4701>&nbsp;:</TD
4702><TD
4703WIDTH="80%"
4704ALIGN="LEFT"
4705VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004706> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004707></TR
4708><TR
4709><TD
4710WIDTH="20%"
4711ALIGN="RIGHT"
4712VALIGN="TOP"
4713><TT
4714CLASS="PARAMETER"
4715><I
4716>elem</I
4717></TT
4718>&nbsp;:</TD
4719><TD
4720WIDTH="80%"
4721ALIGN="LEFT"
4722VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004723> an element definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004724></TR
4725><TR
4726><TD
4727WIDTH="20%"
4728ALIGN="RIGHT"
4729VALIGN="TOP"
4730><I
4731CLASS="EMPHASIS"
4732>Returns</I
4733> :</TD
4734><TD
4735WIDTH="80%"
4736ALIGN="LEFT"
4737VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004738>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004739></TR
4740></TABLE
4741><P
4742></P
4743></DIV
4744></DIV
4745><HR><DIV
4746CLASS="REFSECT2"
4747><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004748NAME="AEN8724"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004749></A
4750><H3
4751><A
4752NAME="XMLVALIDNORMALIZEATTRIBUTEVALUE"
4753></A
4754>xmlValidNormalizeAttributeValue ()</H3
4755><TABLE
4756BORDER="0"
4757BGCOLOR="#D6E8FF"
4758WIDTH="100%"
4759CELLPADDING="6"
4760><TR
4761><TD
4762><PRE
4763CLASS="PROGRAMLISTING"
4764><A
4765HREF="gnome-xml-tree.html#XMLCHAR"
4766>xmlChar</A
4767>* xmlValidNormalizeAttributeValue (<A
4768HREF="gnome-xml-tree.html#XMLDOCPTR"
4769>xmlDocPtr</A
4770> doc,
4771 <A
4772HREF="gnome-xml-tree.html#XMLNODEPTR"
4773>xmlNodePtr</A
4774> elem,
4775 const <A
4776HREF="gnome-xml-tree.html#XMLCHAR"
4777>xmlChar</A
4778> *name,
4779 const <A
4780HREF="gnome-xml-tree.html#XMLCHAR"
4781>xmlChar</A
4782> *value);</PRE
4783></TD
4784></TR
4785></TABLE
4786><P
4787>Does the validation related extra step of the normalization of attribute
4788values:</P
4789><P
4790>If the declared value is not CDATA, then the XML processor must further
4791process the normalized attribute value by discarding any leading and
4792trailing space (<GTKDOCLINK
4793HREF="X20"
4794>x20</GTKDOCLINK
4795>) characters, and by replacing sequences of space
4796(<GTKDOCLINK
4797HREF="X20"
4798>x20</GTKDOCLINK
4799>) characters by single space (<GTKDOCLINK
4800HREF="X20"
4801>x20</GTKDOCLINK
4802>) character.</P
4803><P
4804></P
4805><DIV
4806CLASS="INFORMALTABLE"
4807><P
4808></P
4809><TABLE
4810BORDER="0"
4811WIDTH="100%"
4812BGCOLOR="#FFD0D0"
4813CELLSPACING="0"
4814CELLPADDING="4"
4815CLASS="CALSTABLE"
4816><TR
4817><TD
4818WIDTH="20%"
4819ALIGN="RIGHT"
4820VALIGN="TOP"
4821><TT
4822CLASS="PARAMETER"
4823><I
4824>doc</I
4825></TT
4826>&nbsp;:</TD
4827><TD
4828WIDTH="80%"
4829ALIGN="LEFT"
4830VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004831> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004832></TR
4833><TR
4834><TD
4835WIDTH="20%"
4836ALIGN="RIGHT"
4837VALIGN="TOP"
4838><TT
4839CLASS="PARAMETER"
4840><I
4841>elem</I
4842></TT
4843>&nbsp;:</TD
4844><TD
4845WIDTH="80%"
4846ALIGN="LEFT"
4847VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004848> the parent</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004849></TR
4850><TR
4851><TD
4852WIDTH="20%"
4853ALIGN="RIGHT"
4854VALIGN="TOP"
4855><TT
4856CLASS="PARAMETER"
4857><I
4858>name</I
4859></TT
4860>&nbsp;:</TD
4861><TD
4862WIDTH="80%"
4863ALIGN="LEFT"
4864VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004865> the attribute name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004866></TR
4867><TR
4868><TD
4869WIDTH="20%"
4870ALIGN="RIGHT"
4871VALIGN="TOP"
4872><TT
4873CLASS="PARAMETER"
4874><I
4875>value</I
4876></TT
4877>&nbsp;:</TD
4878><TD
4879WIDTH="80%"
4880ALIGN="LEFT"
4881VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004882> the attribute value</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004883></TR
4884><TR
4885><TD
4886WIDTH="20%"
4887ALIGN="RIGHT"
4888VALIGN="TOP"
4889><I
4890CLASS="EMPHASIS"
4891>Returns</I
4892> :</TD
4893><TD
4894WIDTH="80%"
4895ALIGN="LEFT"
4896VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004897>a new normalized string if normalization is needed, NULL otherwise
4898the caller must free the returned value.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004899></TR
4900></TABLE
4901><P
4902></P
4903></DIV
4904></DIV
4905><HR><DIV
4906CLASS="REFSECT2"
4907><A
Daniel Veillard503b8932001-01-05 06:36:31 +00004908NAME="AEN8764"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004909></A
4910><H3
4911><A
4912NAME="XMLVALIDATEATTRIBUTEDECL"
4913></A
4914>xmlValidateAttributeDecl ()</H3
4915><TABLE
4916BORDER="0"
4917BGCOLOR="#D6E8FF"
4918WIDTH="100%"
4919CELLPADDING="6"
4920><TR
4921><TD
4922><PRE
4923CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004924>int xmlValidateAttributeDecl (<A
4925HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
4926>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004927> ctxt,
4928 <A
4929HREF="gnome-xml-tree.html#XMLDOCPTR"
4930>xmlDocPtr</A
4931> doc,
4932 <A
4933HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
4934>xmlAttributePtr</A
4935> attr);</PRE
4936></TD
4937></TR
4938></TABLE
4939><P
4940>Try to validate a single attribute definition
4941basically it does the following checks as described by the
4942XML-1.0 recommendation:
4943- [ VC: Attribute Default Legal ]
4944- [ VC: Enumeration ]
4945- [ VC: ID Attribute Default ]</P
4946><P
4947>The ID/IDREF uniqueness and matching are done separately</P
4948><P
4949></P
4950><DIV
4951CLASS="INFORMALTABLE"
4952><P
4953></P
4954><TABLE
4955BORDER="0"
4956WIDTH="100%"
4957BGCOLOR="#FFD0D0"
4958CELLSPACING="0"
4959CELLPADDING="4"
4960CLASS="CALSTABLE"
4961><TR
4962><TD
4963WIDTH="20%"
4964ALIGN="RIGHT"
4965VALIGN="TOP"
4966><TT
4967CLASS="PARAMETER"
4968><I
4969>ctxt</I
4970></TT
4971>&nbsp;:</TD
4972><TD
4973WIDTH="80%"
4974ALIGN="LEFT"
4975VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004976> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004977></TR
4978><TR
4979><TD
4980WIDTH="20%"
4981ALIGN="RIGHT"
4982VALIGN="TOP"
4983><TT
4984CLASS="PARAMETER"
4985><I
4986>doc</I
4987></TT
4988>&nbsp;:</TD
4989><TD
4990WIDTH="80%"
4991ALIGN="LEFT"
4992VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004993> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004994></TR
4995><TR
4996><TD
4997WIDTH="20%"
4998ALIGN="RIGHT"
4999VALIGN="TOP"
5000><TT
5001CLASS="PARAMETER"
5002><I
5003>attr</I
5004></TT
5005>&nbsp;:</TD
5006><TD
5007WIDTH="80%"
5008ALIGN="LEFT"
5009VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005010> an attribute definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005011></TR
5012><TR
5013><TD
5014WIDTH="20%"
5015ALIGN="RIGHT"
5016VALIGN="TOP"
5017><I
5018CLASS="EMPHASIS"
5019>Returns</I
5020> :</TD
5021><TD
5022WIDTH="80%"
5023ALIGN="LEFT"
5024VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005025>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005026></TR
5027></TABLE
5028><P
5029></P
5030></DIV
5031></DIV
5032><HR><DIV
5033CLASS="REFSECT2"
5034><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005035NAME="AEN8795"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005036></A
5037><H3
5038><A
5039NAME="XMLVALIDATEATTRIBUTEVALUE"
5040></A
5041>xmlValidateAttributeValue ()</H3
5042><TABLE
5043BORDER="0"
5044BGCOLOR="#D6E8FF"
5045WIDTH="100%"
5046CELLPADDING="6"
5047><TR
5048><TD
5049><PRE
5050CLASS="PROGRAMLISTING"
5051>int xmlValidateAttributeValue (<A
5052HREF="gnome-xml-tree.html#XMLATTRIBUTETYPE"
5053>xmlAttributeType</A
5054> type,
5055 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005056HREF="gnome-xml-tree.html#XMLCHAR"
5057>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005058> *value);</PRE
5059></TD
5060></TR
5061></TABLE
5062><P
5063>Validate that the given attribute value match the proper production</P
5064><P
5065>[ VC: ID ]
5066Values of type ID must match the Name production....</P
5067><P
5068>[ VC: IDREF ]
5069Values of type IDREF must match the Name production, and values
5070of type IDREFS must match Names ...</P
5071><P
5072>[ VC: Entity Name ]
5073Values of type ENTITY must match the Name production, values
5074of type ENTITIES must match Names ...</P
5075><P
5076>[ VC: Name Token ]
5077Values of type NMTOKEN must match the Nmtoken production; values
5078of type NMTOKENS must match Nmtokens.</P
5079><P
5080></P
5081><DIV
5082CLASS="INFORMALTABLE"
5083><P
5084></P
5085><TABLE
5086BORDER="0"
5087WIDTH="100%"
5088BGCOLOR="#FFD0D0"
5089CELLSPACING="0"
5090CELLPADDING="4"
5091CLASS="CALSTABLE"
5092><TR
5093><TD
5094WIDTH="20%"
5095ALIGN="RIGHT"
5096VALIGN="TOP"
5097><TT
5098CLASS="PARAMETER"
5099><I
5100>type</I
5101></TT
5102>&nbsp;:</TD
5103><TD
5104WIDTH="80%"
5105ALIGN="LEFT"
5106VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005107> an attribute type</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005108></TR
5109><TR
5110><TD
5111WIDTH="20%"
5112ALIGN="RIGHT"
5113VALIGN="TOP"
5114><TT
5115CLASS="PARAMETER"
5116><I
5117>value</I
5118></TT
5119>&nbsp;:</TD
5120><TD
5121WIDTH="80%"
5122ALIGN="LEFT"
5123VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005124> an attribute value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005125></TR
5126><TR
5127><TD
5128WIDTH="20%"
5129ALIGN="RIGHT"
5130VALIGN="TOP"
5131><I
5132CLASS="EMPHASIS"
5133>Returns</I
5134> :</TD
5135><TD
5136WIDTH="80%"
5137ALIGN="LEFT"
5138VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005139>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005140></TR
5141></TABLE
5142><P
5143></P
5144></DIV
5145></DIV
5146><HR><DIV
5147CLASS="REFSECT2"
5148><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005149NAME="AEN8824"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005150></A
5151><H3
5152><A
5153NAME="XMLVALIDATENOTATIONDECL"
5154></A
5155>xmlValidateNotationDecl ()</H3
5156><TABLE
5157BORDER="0"
5158BGCOLOR="#D6E8FF"
5159WIDTH="100%"
5160CELLPADDING="6"
5161><TR
5162><TD
5163><PRE
5164CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005165>int xmlValidateNotationDecl (<A
5166HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5167>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005168> ctxt,
5169 <A
5170HREF="gnome-xml-tree.html#XMLDOCPTR"
5171>xmlDocPtr</A
5172> doc,
5173 <A
5174HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
5175>xmlNotationPtr</A
5176> nota);</PRE
5177></TD
5178></TR
5179></TABLE
5180><P
5181>Try to validate a single notation definition
5182basically it does the following checks as described by the
5183XML-1.0 recommendation:
5184- it seems that no validity constraing exist on notation declarations
5185But this function get called anyway ...</P
5186><P
5187></P
5188><DIV
5189CLASS="INFORMALTABLE"
5190><P
5191></P
5192><TABLE
5193BORDER="0"
5194WIDTH="100%"
5195BGCOLOR="#FFD0D0"
5196CELLSPACING="0"
5197CELLPADDING="4"
5198CLASS="CALSTABLE"
5199><TR
5200><TD
5201WIDTH="20%"
5202ALIGN="RIGHT"
5203VALIGN="TOP"
5204><TT
5205CLASS="PARAMETER"
5206><I
5207>ctxt</I
5208></TT
5209>&nbsp;:</TD
5210><TD
5211WIDTH="80%"
5212ALIGN="LEFT"
5213VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005214> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005215></TR
5216><TR
5217><TD
5218WIDTH="20%"
5219ALIGN="RIGHT"
5220VALIGN="TOP"
5221><TT
5222CLASS="PARAMETER"
5223><I
5224>doc</I
5225></TT
5226>&nbsp;:</TD
5227><TD
5228WIDTH="80%"
5229ALIGN="LEFT"
5230VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005231> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005232></TR
5233><TR
5234><TD
5235WIDTH="20%"
5236ALIGN="RIGHT"
5237VALIGN="TOP"
5238><TT
5239CLASS="PARAMETER"
5240><I
5241>nota</I
5242></TT
5243>&nbsp;:</TD
5244><TD
5245WIDTH="80%"
5246ALIGN="LEFT"
5247VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005248> a notation definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005249></TR
5250><TR
5251><TD
5252WIDTH="20%"
5253ALIGN="RIGHT"
5254VALIGN="TOP"
5255><I
5256CLASS="EMPHASIS"
5257>Returns</I
5258> :</TD
5259><TD
5260WIDTH="80%"
5261ALIGN="LEFT"
5262VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005263>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005264></TR
5265></TABLE
5266><P
5267></P
5268></DIV
5269></DIV
5270><HR><DIV
5271CLASS="REFSECT2"
5272><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005273NAME="AEN8854"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005274></A
5275><H3
5276><A
5277NAME="XMLVALIDATEDTD"
5278></A
5279>xmlValidateDtd ()</H3
5280><TABLE
5281BORDER="0"
5282BGCOLOR="#D6E8FF"
5283WIDTH="100%"
5284CELLPADDING="6"
5285><TR
5286><TD
5287><PRE
5288CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005289>int xmlValidateDtd (<A
5290HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5291>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005292> ctxt,
5293 <A
5294HREF="gnome-xml-tree.html#XMLDOCPTR"
5295>xmlDocPtr</A
5296> doc,
5297 <A
5298HREF="gnome-xml-tree.html#XMLDTDPTR"
5299>xmlDtdPtr</A
5300> dtd);</PRE
5301></TD
5302></TR
5303></TABLE
5304><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005305>Try to validate the document against the dtd instance</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005306><P
5307>basically it does check all the definitions in the DtD.</P
5308><P
5309></P
5310><DIV
5311CLASS="INFORMALTABLE"
5312><P
5313></P
5314><TABLE
5315BORDER="0"
5316WIDTH="100%"
5317BGCOLOR="#FFD0D0"
5318CELLSPACING="0"
5319CELLPADDING="4"
5320CLASS="CALSTABLE"
5321><TR
5322><TD
5323WIDTH="20%"
5324ALIGN="RIGHT"
5325VALIGN="TOP"
5326><TT
5327CLASS="PARAMETER"
5328><I
5329>ctxt</I
5330></TT
5331>&nbsp;:</TD
5332><TD
5333WIDTH="80%"
5334ALIGN="LEFT"
5335VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005336> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005337></TR
5338><TR
5339><TD
5340WIDTH="20%"
5341ALIGN="RIGHT"
5342VALIGN="TOP"
5343><TT
5344CLASS="PARAMETER"
5345><I
5346>doc</I
5347></TT
5348>&nbsp;:</TD
5349><TD
5350WIDTH="80%"
5351ALIGN="LEFT"
5352VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005353> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005354></TR
5355><TR
5356><TD
5357WIDTH="20%"
5358ALIGN="RIGHT"
5359VALIGN="TOP"
5360><TT
5361CLASS="PARAMETER"
5362><I
5363>dtd</I
5364></TT
5365>&nbsp;:</TD
5366><TD
5367WIDTH="80%"
5368ALIGN="LEFT"
5369VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005370> a dtd instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005371></TR
5372><TR
5373><TD
5374WIDTH="20%"
5375ALIGN="RIGHT"
5376VALIGN="TOP"
5377><I
5378CLASS="EMPHASIS"
5379>Returns</I
5380> :</TD
5381><TD
5382WIDTH="80%"
5383ALIGN="LEFT"
5384VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005385>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005386></TR
5387></TABLE
5388><P
5389></P
5390></DIV
5391></DIV
5392><HR><DIV
5393CLASS="REFSECT2"
5394><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005395NAME="AEN8885"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005396></A
5397><H3
5398><A
5399NAME="XMLVALIDATEDTDFINAL"
5400></A
5401>xmlValidateDtdFinal ()</H3
5402><TABLE
5403BORDER="0"
5404BGCOLOR="#D6E8FF"
5405WIDTH="100%"
5406CELLPADDING="6"
5407><TR
5408><TD
5409><PRE
5410CLASS="PROGRAMLISTING"
5411>int xmlValidateDtdFinal (<A
5412HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5413>xmlValidCtxtPtr</A
5414> ctxt,
5415 <A
5416HREF="gnome-xml-tree.html#XMLDOCPTR"
5417>xmlDocPtr</A
5418> doc);</PRE
5419></TD
5420></TR
5421></TABLE
5422><P
5423>Does the final step for the dtds validation once all the
5424subsets have been parsed</P
5425><P
5426>basically it does the following checks described by the XML Rec
5427- check that ENTITY and ENTITIES type attributes default or
5428possible values matches one of the defined entities.
5429- check that NOTATION type attributes default or
5430possible values matches one of the defined notations.</P
5431><P
5432></P
5433><DIV
5434CLASS="INFORMALTABLE"
5435><P
5436></P
5437><TABLE
5438BORDER="0"
5439WIDTH="100%"
5440BGCOLOR="#FFD0D0"
5441CELLSPACING="0"
5442CELLPADDING="4"
5443CLASS="CALSTABLE"
5444><TR
5445><TD
5446WIDTH="20%"
5447ALIGN="RIGHT"
5448VALIGN="TOP"
5449><TT
5450CLASS="PARAMETER"
5451><I
5452>ctxt</I
5453></TT
5454>&nbsp;:</TD
5455><TD
5456WIDTH="80%"
5457ALIGN="LEFT"
5458VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005459> the validation context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005460></TR
5461><TR
5462><TD
5463WIDTH="20%"
5464ALIGN="RIGHT"
5465VALIGN="TOP"
5466><TT
5467CLASS="PARAMETER"
5468><I
5469>doc</I
5470></TT
5471>&nbsp;:</TD
5472><TD
5473WIDTH="80%"
5474ALIGN="LEFT"
5475VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005476> a document instance</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005477></TR
5478><TR
5479><TD
5480WIDTH="20%"
5481ALIGN="RIGHT"
5482VALIGN="TOP"
5483><I
5484CLASS="EMPHASIS"
5485>Returns</I
5486> :</TD
5487><TD
5488WIDTH="80%"
5489ALIGN="LEFT"
5490VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005491>1 if valid or 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005492></TR
5493></TABLE
5494><P
5495></P
5496></DIV
5497></DIV
5498><HR><DIV
5499CLASS="REFSECT2"
5500><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005501NAME="AEN8911"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005502></A
5503><H3
5504><A
5505NAME="XMLVALIDATEDOCUMENT"
5506></A
5507>xmlValidateDocument ()</H3
5508><TABLE
5509BORDER="0"
5510BGCOLOR="#D6E8FF"
5511WIDTH="100%"
5512CELLPADDING="6"
5513><TR
5514><TD
5515><PRE
5516CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005517>int xmlValidateDocument (<A
5518HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5519>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005520> ctxt,
5521 <A
5522HREF="gnome-xml-tree.html#XMLDOCPTR"
5523>xmlDocPtr</A
5524> doc);</PRE
5525></TD
5526></TR
5527></TABLE
5528><P
5529>Try to validate the document instance</P
5530><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005531>basically it does the all the checks described by the XML Rec
Daniel Veillardb05deb71999-08-10 19:04:08 +00005532i.e. validates the internal and external subset (if present)
5533and validate the document tree.</P
5534><P
5535></P
5536><DIV
5537CLASS="INFORMALTABLE"
5538><P
5539></P
5540><TABLE
5541BORDER="0"
5542WIDTH="100%"
5543BGCOLOR="#FFD0D0"
5544CELLSPACING="0"
5545CELLPADDING="4"
5546CLASS="CALSTABLE"
5547><TR
5548><TD
5549WIDTH="20%"
5550ALIGN="RIGHT"
5551VALIGN="TOP"
5552><TT
5553CLASS="PARAMETER"
5554><I
5555>ctxt</I
5556></TT
5557>&nbsp;:</TD
5558><TD
5559WIDTH="80%"
5560ALIGN="LEFT"
5561VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005562> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005563></TR
5564><TR
5565><TD
5566WIDTH="20%"
5567ALIGN="RIGHT"
5568VALIGN="TOP"
5569><TT
5570CLASS="PARAMETER"
5571><I
5572>doc</I
5573></TT
5574>&nbsp;:</TD
5575><TD
5576WIDTH="80%"
5577ALIGN="LEFT"
5578VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005579> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005580></TR
5581><TR
5582><TD
5583WIDTH="20%"
5584ALIGN="RIGHT"
5585VALIGN="TOP"
5586><I
5587CLASS="EMPHASIS"
5588>Returns</I
5589> :</TD
5590><TD
5591WIDTH="80%"
5592ALIGN="LEFT"
5593VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005594>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005595></TR
5596></TABLE
5597><P
5598></P
5599></DIV
5600></DIV
5601><HR><DIV
5602CLASS="REFSECT2"
5603><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005604NAME="AEN8937"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005605></A
5606><H3
5607><A
5608NAME="XMLVALIDATEELEMENT"
5609></A
5610>xmlValidateElement ()</H3
5611><TABLE
5612BORDER="0"
5613BGCOLOR="#D6E8FF"
5614WIDTH="100%"
5615CELLPADDING="6"
5616><TR
5617><TD
5618><PRE
5619CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005620>int xmlValidateElement (<A
5621HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5622>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005623> ctxt,
5624 <A
5625HREF="gnome-xml-tree.html#XMLDOCPTR"
5626>xmlDocPtr</A
5627> doc,
5628 <A
5629HREF="gnome-xml-tree.html#XMLNODEPTR"
5630>xmlNodePtr</A
5631> elem);</PRE
5632></TD
5633></TR
5634></TABLE
5635><P
5636>Try to validate the subtree under an element</P
5637><P
5638></P
5639><DIV
5640CLASS="INFORMALTABLE"
5641><P
5642></P
5643><TABLE
5644BORDER="0"
5645WIDTH="100%"
5646BGCOLOR="#FFD0D0"
5647CELLSPACING="0"
5648CELLPADDING="4"
5649CLASS="CALSTABLE"
5650><TR
5651><TD
5652WIDTH="20%"
5653ALIGN="RIGHT"
5654VALIGN="TOP"
5655><TT
5656CLASS="PARAMETER"
5657><I
5658>ctxt</I
5659></TT
5660>&nbsp;:</TD
5661><TD
5662WIDTH="80%"
5663ALIGN="LEFT"
5664VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005665> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005666></TR
5667><TR
5668><TD
5669WIDTH="20%"
5670ALIGN="RIGHT"
5671VALIGN="TOP"
5672><TT
5673CLASS="PARAMETER"
5674><I
5675>doc</I
5676></TT
5677>&nbsp;:</TD
5678><TD
5679WIDTH="80%"
5680ALIGN="LEFT"
5681VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005682> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005683></TR
5684><TR
5685><TD
5686WIDTH="20%"
5687ALIGN="RIGHT"
5688VALIGN="TOP"
5689><TT
5690CLASS="PARAMETER"
5691><I
5692>elem</I
5693></TT
5694>&nbsp;:</TD
5695><TD
5696WIDTH="80%"
5697ALIGN="LEFT"
5698VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005699> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005700></TR
5701><TR
5702><TD
5703WIDTH="20%"
5704ALIGN="RIGHT"
5705VALIGN="TOP"
5706><I
5707CLASS="EMPHASIS"
5708>Returns</I
5709> :</TD
5710><TD
5711WIDTH="80%"
5712ALIGN="LEFT"
5713VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005714>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005715></TR
5716></TABLE
5717><P
5718></P
5719></DIV
5720></DIV
5721><HR><DIV
5722CLASS="REFSECT2"
5723><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005724NAME="AEN8967"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005725></A
5726><H3
5727><A
5728NAME="XMLVALIDATEONEELEMENT"
5729></A
5730>xmlValidateOneElement ()</H3
5731><TABLE
5732BORDER="0"
5733BGCOLOR="#D6E8FF"
5734WIDTH="100%"
5735CELLPADDING="6"
5736><TR
5737><TD
5738><PRE
5739CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005740>int xmlValidateOneElement (<A
5741HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5742>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005743> ctxt,
5744 <A
5745HREF="gnome-xml-tree.html#XMLDOCPTR"
5746>xmlDocPtr</A
5747> doc,
5748 <A
5749HREF="gnome-xml-tree.html#XMLNODEPTR"
5750>xmlNodePtr</A
5751> elem);</PRE
5752></TD
5753></TR
5754></TABLE
5755><P
5756>Try to validate a single element and it's attributes,
5757basically it does the following checks as described by the
5758XML-1.0 recommendation:
5759- [ VC: Element Valid ]
5760- [ VC: Required Attribute ]
5761Then call <A
5762HREF="gnome-xml-valid.html#XMLVALIDATEONEATTRIBUTE"
5763>xmlValidateOneAttribute</A
5764>() for each attribute present.</P
5765><P
5766>The ID/IDREF checkings are done separately</P
5767><P
5768></P
5769><DIV
5770CLASS="INFORMALTABLE"
5771><P
5772></P
5773><TABLE
5774BORDER="0"
5775WIDTH="100%"
5776BGCOLOR="#FFD0D0"
5777CELLSPACING="0"
5778CELLPADDING="4"
5779CLASS="CALSTABLE"
5780><TR
5781><TD
5782WIDTH="20%"
5783ALIGN="RIGHT"
5784VALIGN="TOP"
5785><TT
5786CLASS="PARAMETER"
5787><I
5788>ctxt</I
5789></TT
5790>&nbsp;:</TD
5791><TD
5792WIDTH="80%"
5793ALIGN="LEFT"
5794VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005795> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005796></TR
5797><TR
5798><TD
5799WIDTH="20%"
5800ALIGN="RIGHT"
5801VALIGN="TOP"
5802><TT
5803CLASS="PARAMETER"
5804><I
5805>doc</I
5806></TT
5807>&nbsp;:</TD
5808><TD
5809WIDTH="80%"
5810ALIGN="LEFT"
5811VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005812> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005813></TR
5814><TR
5815><TD
5816WIDTH="20%"
5817ALIGN="RIGHT"
5818VALIGN="TOP"
5819><TT
5820CLASS="PARAMETER"
5821><I
5822>elem</I
5823></TT
5824>&nbsp;:</TD
5825><TD
5826WIDTH="80%"
5827ALIGN="LEFT"
5828VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005829> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005830></TR
5831><TR
5832><TD
5833WIDTH="20%"
5834ALIGN="RIGHT"
5835VALIGN="TOP"
5836><I
5837CLASS="EMPHASIS"
5838>Returns</I
5839> :</TD
5840><TD
5841WIDTH="80%"
5842ALIGN="LEFT"
5843VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005844>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005845></TR
5846></TABLE
5847><P
5848></P
5849></DIV
5850></DIV
5851><HR><DIV
5852CLASS="REFSECT2"
5853><A
Daniel Veillard503b8932001-01-05 06:36:31 +00005854NAME="AEN8999"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005855></A
5856><H3
5857><A
5858NAME="XMLVALIDATEONEATTRIBUTE"
5859></A
5860>xmlValidateOneAttribute ()</H3
5861><TABLE
5862BORDER="0"
5863BGCOLOR="#D6E8FF"
5864WIDTH="100%"
5865CELLPADDING="6"
5866><TR
5867><TD
5868><PRE
5869CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005870>int xmlValidateOneAttribute (<A
5871HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
5872>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005873> ctxt,
5874 <A
5875HREF="gnome-xml-tree.html#XMLDOCPTR"
5876>xmlDocPtr</A
5877> doc,
5878 <A
5879HREF="gnome-xml-tree.html#XMLNODEPTR"
5880>xmlNodePtr</A
5881> elem,
5882 <A
5883HREF="gnome-xml-tree.html#XMLATTRPTR"
5884>xmlAttrPtr</A
5885> attr,
5886 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005887HREF="gnome-xml-tree.html#XMLCHAR"
5888>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005889> *value);</PRE
5890></TD
5891></TR
5892></TABLE
5893><P
5894>Try to validate a single attribute for an element
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005895basically it does the following checks as described by the
Daniel Veillardb05deb71999-08-10 19:04:08 +00005896XML-1.0 recommendation:
5897- [ VC: Attribute Value Type ]
5898- [ VC: Fixed Attribute Default ]
5899- [ VC: Entity Name ]
5900- [ VC: Name Token ]
5901- [ VC: ID ]
5902- [ VC: IDREF ]
5903- [ VC: Entity Name ]
5904- [ VC: Notation Attributes ]</P
5905><P
5906>The ID/IDREF uniqueness and matching are done separately</P
5907><P
5908></P
5909><DIV
5910CLASS="INFORMALTABLE"
5911><P
5912></P
5913><TABLE
5914BORDER="0"
5915WIDTH="100%"
5916BGCOLOR="#FFD0D0"
5917CELLSPACING="0"
5918CELLPADDING="4"
5919CLASS="CALSTABLE"
5920><TR
5921><TD
5922WIDTH="20%"
5923ALIGN="RIGHT"
5924VALIGN="TOP"
5925><TT
5926CLASS="PARAMETER"
5927><I
5928>ctxt</I
5929></TT
5930>&nbsp;:</TD
5931><TD
5932WIDTH="80%"
5933ALIGN="LEFT"
5934VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005935> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005936></TR
5937><TR
5938><TD
5939WIDTH="20%"
5940ALIGN="RIGHT"
5941VALIGN="TOP"
5942><TT
5943CLASS="PARAMETER"
5944><I
5945>doc</I
5946></TT
5947>&nbsp;:</TD
5948><TD
5949WIDTH="80%"
5950ALIGN="LEFT"
5951VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005952> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005953></TR
5954><TR
5955><TD
5956WIDTH="20%"
5957ALIGN="RIGHT"
5958VALIGN="TOP"
5959><TT
5960CLASS="PARAMETER"
5961><I
5962>elem</I
5963></TT
5964>&nbsp;:</TD
5965><TD
5966WIDTH="80%"
5967ALIGN="LEFT"
5968VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005969> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005970></TR
5971><TR
5972><TD
5973WIDTH="20%"
5974ALIGN="RIGHT"
5975VALIGN="TOP"
5976><TT
5977CLASS="PARAMETER"
5978><I
5979>attr</I
5980></TT
5981>&nbsp;:</TD
5982><TD
5983WIDTH="80%"
5984ALIGN="LEFT"
5985VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005986> an attribute instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005987></TR
5988><TR
5989><TD
5990WIDTH="20%"
5991ALIGN="RIGHT"
5992VALIGN="TOP"
5993><TT
5994CLASS="PARAMETER"
5995><I
5996>value</I
5997></TT
5998>&nbsp;:</TD
5999><TD
6000WIDTH="80%"
6001ALIGN="LEFT"
6002VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006003> the attribute value (without entities processing)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006004></TR
6005><TR
6006><TD
6007WIDTH="20%"
6008ALIGN="RIGHT"
6009VALIGN="TOP"
6010><I
6011CLASS="EMPHASIS"
6012>Returns</I
6013> :</TD
6014><TD
6015WIDTH="80%"
6016ALIGN="LEFT"
6017VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006018>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006019></TR
6020></TABLE
6021><P
6022></P
6023></DIV
6024></DIV
6025><HR><DIV
6026CLASS="REFSECT2"
6027><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006028NAME="AEN9040"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006029></A
6030><H3
6031><A
6032NAME="XMLVALIDATEDOCUMENTFINAL"
6033></A
6034>xmlValidateDocumentFinal ()</H3
6035><TABLE
6036BORDER="0"
6037BGCOLOR="#D6E8FF"
6038WIDTH="100%"
6039CELLPADDING="6"
6040><TR
6041><TD
6042><PRE
6043CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006044>int xmlValidateDocumentFinal (<A
6045HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
6046>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006047> ctxt,
6048 <A
6049HREF="gnome-xml-tree.html#XMLDOCPTR"
6050>xmlDocPtr</A
6051> doc);</PRE
6052></TD
6053></TR
6054></TABLE
6055><P
6056>Does the final step for the document validation once all the
6057incremental validation steps have been completed</P
6058><P
6059>basically it does the following checks described by the XML Rec</P
6060><P
6061></P
6062><DIV
6063CLASS="INFORMALTABLE"
6064><P
6065></P
6066><TABLE
6067BORDER="0"
6068WIDTH="100%"
6069BGCOLOR="#FFD0D0"
6070CELLSPACING="0"
6071CELLPADDING="4"
6072CLASS="CALSTABLE"
6073><TR
6074><TD
6075WIDTH="20%"
6076ALIGN="RIGHT"
6077VALIGN="TOP"
6078><TT
6079CLASS="PARAMETER"
6080><I
6081>ctxt</I
6082></TT
6083>&nbsp;:</TD
6084><TD
6085WIDTH="80%"
6086ALIGN="LEFT"
6087VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006088> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006089></TR
6090><TR
6091><TD
6092WIDTH="20%"
6093ALIGN="RIGHT"
6094VALIGN="TOP"
6095><TT
6096CLASS="PARAMETER"
6097><I
6098>doc</I
6099></TT
6100>&nbsp;:</TD
6101><TD
6102WIDTH="80%"
6103ALIGN="LEFT"
6104VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006105> a document instance</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006106></TR
6107><TR
6108><TD
6109WIDTH="20%"
6110ALIGN="RIGHT"
6111VALIGN="TOP"
6112><I
6113CLASS="EMPHASIS"
6114>Returns</I
6115> :</TD
6116><TD
6117WIDTH="80%"
6118ALIGN="LEFT"
6119VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006120>1 if valid or 0 otherwise</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006121></TR
6122></TABLE
6123><P
6124></P
6125></DIV
6126></DIV
6127><HR><DIV
6128CLASS="REFSECT2"
6129><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006130NAME="AEN9066"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006131></A
6132><H3
6133><A
6134NAME="XMLVALIDATENOTATIONUSE"
6135></A
6136>xmlValidateNotationUse ()</H3
6137><TABLE
6138BORDER="0"
6139BGCOLOR="#D6E8FF"
6140WIDTH="100%"
6141CELLPADDING="6"
6142><TR
6143><TD
6144><PRE
6145CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006146>int xmlValidateNotationUse (<A
6147HREF="gnome-xml-valid.html#XMLVALIDCTXTPTR"
6148>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006149> ctxt,
6150 <A
6151HREF="gnome-xml-tree.html#XMLDOCPTR"
6152>xmlDocPtr</A
6153> doc,
6154 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006155HREF="gnome-xml-tree.html#XMLCHAR"
6156>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006157> *notationName);</PRE
6158></TD
6159></TR
6160></TABLE
6161><P
6162>Validate that the given mame match a notation declaration.
6163- [ VC: Notation Declared ]</P
6164><P
6165></P
6166><DIV
6167CLASS="INFORMALTABLE"
6168><P
6169></P
6170><TABLE
6171BORDER="0"
6172WIDTH="100%"
6173BGCOLOR="#FFD0D0"
6174CELLSPACING="0"
6175CELLPADDING="4"
6176CLASS="CALSTABLE"
6177><TR
6178><TD
6179WIDTH="20%"
6180ALIGN="RIGHT"
6181VALIGN="TOP"
6182><TT
6183CLASS="PARAMETER"
6184><I
6185>ctxt</I
6186></TT
6187>&nbsp;:</TD
6188><TD
6189WIDTH="80%"
6190ALIGN="LEFT"
6191VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006192> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006193></TR
6194><TR
6195><TD
6196WIDTH="20%"
6197ALIGN="RIGHT"
6198VALIGN="TOP"
6199><TT
6200CLASS="PARAMETER"
6201><I
6202>doc</I
6203></TT
6204>&nbsp;:</TD
6205><TD
6206WIDTH="80%"
6207ALIGN="LEFT"
6208VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006209> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006210></TR
6211><TR
6212><TD
6213WIDTH="20%"
6214ALIGN="RIGHT"
6215VALIGN="TOP"
6216><TT
6217CLASS="PARAMETER"
6218><I
6219>notationName</I
6220></TT
6221>&nbsp;:</TD
6222><TD
6223WIDTH="80%"
6224ALIGN="LEFT"
6225VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006226> the notation name to check</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006227></TR
6228><TR
6229><TD
6230WIDTH="20%"
6231ALIGN="RIGHT"
6232VALIGN="TOP"
6233><I
6234CLASS="EMPHASIS"
6235>Returns</I
6236> :</TD
6237><TD
6238WIDTH="80%"
6239ALIGN="LEFT"
6240VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006241>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006242></TR
6243></TABLE
6244><P
6245></P
6246></DIV
6247></DIV
6248><HR><DIV
6249CLASS="REFSECT2"
6250><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006251NAME="AEN9096"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006252></A
6253><H3
6254><A
6255NAME="XMLISMIXEDELEMENT"
6256></A
6257>xmlIsMixedElement ()</H3
6258><TABLE
6259BORDER="0"
6260BGCOLOR="#D6E8FF"
6261WIDTH="100%"
6262CELLPADDING="6"
6263><TR
6264><TD
6265><PRE
6266CLASS="PROGRAMLISTING"
6267>int xmlIsMixedElement (<A
6268HREF="gnome-xml-tree.html#XMLDOCPTR"
6269>xmlDocPtr</A
6270> doc,
6271 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006272HREF="gnome-xml-tree.html#XMLCHAR"
6273>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006274> *name);</PRE
6275></TD
6276></TR
6277></TABLE
6278><P
6279>Search in the DtDs whether an element accept Mixed content (or ANY)
6280basically if it is supposed to accept text childs</P
6281><P
6282></P
6283><DIV
6284CLASS="INFORMALTABLE"
6285><P
6286></P
6287><TABLE
6288BORDER="0"
6289WIDTH="100%"
6290BGCOLOR="#FFD0D0"
6291CELLSPACING="0"
6292CELLPADDING="4"
6293CLASS="CALSTABLE"
6294><TR
6295><TD
6296WIDTH="20%"
6297ALIGN="RIGHT"
6298VALIGN="TOP"
6299><TT
6300CLASS="PARAMETER"
6301><I
6302>doc</I
6303></TT
6304>&nbsp;:</TD
6305><TD
6306WIDTH="80%"
6307ALIGN="LEFT"
6308VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006309> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006310></TR
6311><TR
6312><TD
6313WIDTH="20%"
6314ALIGN="RIGHT"
6315VALIGN="TOP"
6316><TT
6317CLASS="PARAMETER"
6318><I
6319>name</I
6320></TT
6321>&nbsp;:</TD
6322><TD
6323WIDTH="80%"
6324ALIGN="LEFT"
6325VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006326> the element name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006327></TR
6328><TR
6329><TD
6330WIDTH="20%"
6331ALIGN="RIGHT"
6332VALIGN="TOP"
6333><I
6334CLASS="EMPHASIS"
6335>Returns</I
6336> :</TD
6337><TD
6338WIDTH="80%"
6339ALIGN="LEFT"
6340VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006341>0 if no, 1 if yes, and -1 if no element description is available</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006342></TR
6343></TABLE
6344><P
6345></P
6346></DIV
6347></DIV
6348><HR><DIV
6349CLASS="REFSECT2"
6350><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006351NAME="AEN9121"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006352></A
6353><H3
6354><A
6355NAME="XMLGETDTDATTRDESC"
6356></A
6357>xmlGetDtdAttrDesc ()</H3
6358><TABLE
6359BORDER="0"
6360BGCOLOR="#D6E8FF"
6361WIDTH="100%"
6362CELLPADDING="6"
6363><TR
6364><TD
6365><PRE
6366CLASS="PROGRAMLISTING"
6367><A
6368HREF="gnome-xml-tree.html#XMLATTRIBUTEPTR"
6369>xmlAttributePtr</A
6370> xmlGetDtdAttrDesc (<A
6371HREF="gnome-xml-tree.html#XMLDTDPTR"
6372>xmlDtdPtr</A
6373> dtd,
6374 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006375HREF="gnome-xml-tree.html#XMLCHAR"
6376>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006377> *elem,
6378 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006379HREF="gnome-xml-tree.html#XMLCHAR"
6380>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006381> *name);</PRE
6382></TD
6383></TR
6384></TABLE
6385><P
6386>Search the Dtd for the description of this attribute on
6387this element.</P
6388><P
6389></P
6390><DIV
6391CLASS="INFORMALTABLE"
6392><P
6393></P
6394><TABLE
6395BORDER="0"
6396WIDTH="100%"
6397BGCOLOR="#FFD0D0"
6398CELLSPACING="0"
6399CELLPADDING="4"
6400CLASS="CALSTABLE"
6401><TR
6402><TD
6403WIDTH="20%"
6404ALIGN="RIGHT"
6405VALIGN="TOP"
6406><TT
6407CLASS="PARAMETER"
6408><I
6409>dtd</I
6410></TT
6411>&nbsp;:</TD
6412><TD
6413WIDTH="80%"
6414ALIGN="LEFT"
6415VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006416> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006417></TR
6418><TR
6419><TD
6420WIDTH="20%"
6421ALIGN="RIGHT"
6422VALIGN="TOP"
6423><TT
6424CLASS="PARAMETER"
6425><I
6426>elem</I
6427></TT
6428>&nbsp;:</TD
6429><TD
6430WIDTH="80%"
6431ALIGN="LEFT"
6432VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006433> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006434></TR
6435><TR
6436><TD
6437WIDTH="20%"
6438ALIGN="RIGHT"
6439VALIGN="TOP"
6440><TT
6441CLASS="PARAMETER"
6442><I
6443>name</I
6444></TT
6445>&nbsp;:</TD
6446><TD
6447WIDTH="80%"
6448ALIGN="LEFT"
6449VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006450> the attribute name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006451></TR
6452><TR
6453><TD
6454WIDTH="20%"
6455ALIGN="RIGHT"
6456VALIGN="TOP"
6457><I
6458CLASS="EMPHASIS"
6459>Returns</I
6460> :</TD
6461><TD
6462WIDTH="80%"
6463ALIGN="LEFT"
6464VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006465>the xmlAttributePtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006466></TR
6467></TABLE
6468><P
6469></P
6470></DIV
6471></DIV
6472><HR><DIV
6473CLASS="REFSECT2"
6474><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006475NAME="AEN9152"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006476></A
6477><H3
6478><A
6479NAME="XMLGETDTDNOTATIONDESC"
6480></A
6481>xmlGetDtdNotationDesc ()</H3
6482><TABLE
6483BORDER="0"
6484BGCOLOR="#D6E8FF"
6485WIDTH="100%"
6486CELLPADDING="6"
6487><TR
6488><TD
6489><PRE
6490CLASS="PROGRAMLISTING"
6491><A
6492HREF="gnome-xml-tree.html#XMLNOTATIONPTR"
6493>xmlNotationPtr</A
6494> xmlGetDtdNotationDesc (<A
6495HREF="gnome-xml-tree.html#XMLDTDPTR"
6496>xmlDtdPtr</A
6497> dtd,
6498 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006499HREF="gnome-xml-tree.html#XMLCHAR"
6500>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006501> *name);</PRE
6502></TD
6503></TR
6504></TABLE
6505><P
6506>Search the Dtd for the description of this notation</P
6507><P
6508></P
6509><DIV
6510CLASS="INFORMALTABLE"
6511><P
6512></P
6513><TABLE
6514BORDER="0"
6515WIDTH="100%"
6516BGCOLOR="#FFD0D0"
6517CELLSPACING="0"
6518CELLPADDING="4"
6519CLASS="CALSTABLE"
6520><TR
6521><TD
6522WIDTH="20%"
6523ALIGN="RIGHT"
6524VALIGN="TOP"
6525><TT
6526CLASS="PARAMETER"
6527><I
6528>dtd</I
6529></TT
6530>&nbsp;:</TD
6531><TD
6532WIDTH="80%"
6533ALIGN="LEFT"
6534VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006535> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006536></TR
6537><TR
6538><TD
6539WIDTH="20%"
6540ALIGN="RIGHT"
6541VALIGN="TOP"
6542><TT
6543CLASS="PARAMETER"
6544><I
6545>name</I
6546></TT
6547>&nbsp;:</TD
6548><TD
6549WIDTH="80%"
6550ALIGN="LEFT"
6551VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006552> the notation name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006553></TR
6554><TR
6555><TD
6556WIDTH="20%"
6557ALIGN="RIGHT"
6558VALIGN="TOP"
6559><I
6560CLASS="EMPHASIS"
6561>Returns</I
6562> :</TD
6563><TD
6564WIDTH="80%"
6565ALIGN="LEFT"
6566VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006567>the xmlNotationPtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006568></TR
6569></TABLE
6570><P
6571></P
6572></DIV
6573></DIV
6574><HR><DIV
6575CLASS="REFSECT2"
6576><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006577NAME="AEN9178"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006578></A
6579><H3
6580><A
6581NAME="XMLGETDTDELEMENTDESC"
6582></A
6583>xmlGetDtdElementDesc ()</H3
6584><TABLE
6585BORDER="0"
6586BGCOLOR="#D6E8FF"
6587WIDTH="100%"
6588CELLPADDING="6"
6589><TR
6590><TD
6591><PRE
6592CLASS="PROGRAMLISTING"
6593><A
6594HREF="gnome-xml-tree.html#XMLELEMENTPTR"
6595>xmlElementPtr</A
6596> xmlGetDtdElementDesc (<A
6597HREF="gnome-xml-tree.html#XMLDTDPTR"
6598>xmlDtdPtr</A
6599> dtd,
6600 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006601HREF="gnome-xml-tree.html#XMLCHAR"
6602>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006603> *name);</PRE
6604></TD
6605></TR
6606></TABLE
6607><P
6608>Search the Dtd for the description of this element</P
6609><P
6610></P
6611><DIV
6612CLASS="INFORMALTABLE"
6613><P
6614></P
6615><TABLE
6616BORDER="0"
6617WIDTH="100%"
6618BGCOLOR="#FFD0D0"
6619CELLSPACING="0"
6620CELLPADDING="4"
6621CLASS="CALSTABLE"
6622><TR
6623><TD
6624WIDTH="20%"
6625ALIGN="RIGHT"
6626VALIGN="TOP"
6627><TT
6628CLASS="PARAMETER"
6629><I
6630>dtd</I
6631></TT
6632>&nbsp;:</TD
6633><TD
6634WIDTH="80%"
6635ALIGN="LEFT"
6636VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006637> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006638></TR
6639><TR
6640><TD
6641WIDTH="20%"
6642ALIGN="RIGHT"
6643VALIGN="TOP"
6644><TT
6645CLASS="PARAMETER"
6646><I
6647>name</I
6648></TT
6649>&nbsp;:</TD
6650><TD
6651WIDTH="80%"
6652ALIGN="LEFT"
6653VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006654> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006655></TR
6656><TR
6657><TD
6658WIDTH="20%"
6659ALIGN="RIGHT"
6660VALIGN="TOP"
6661><I
6662CLASS="EMPHASIS"
6663>Returns</I
6664> :</TD
6665><TD
6666WIDTH="80%"
6667ALIGN="LEFT"
6668VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006669>the xmlElementPtr if found or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006670></TR
6671></TABLE
6672><P
6673></P
6674></DIV
6675></DIV
6676><HR><DIV
6677CLASS="REFSECT2"
6678><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006679NAME="AEN9204"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006680></A
6681><H3
6682><A
6683NAME="XMLVALIDGETVALIDELEMENTS"
6684></A
6685>xmlValidGetValidElements ()</H3
6686><TABLE
6687BORDER="0"
6688BGCOLOR="#D6E8FF"
6689WIDTH="100%"
6690CELLPADDING="6"
6691><TR
6692><TD
6693><PRE
6694CLASS="PROGRAMLISTING"
6695>int xmlValidGetValidElements (<A
6696HREF="gnome-xml-tree.html#XMLNODE"
6697>xmlNode</A
6698> *prev,
6699 <A
6700HREF="gnome-xml-tree.html#XMLNODE"
6701>xmlNode</A
6702> *next,
6703 const <A
6704HREF="gnome-xml-tree.html#XMLCHAR"
6705>xmlChar</A
6706> **list,
6707 int max);</PRE
6708></TD
6709></TR
6710></TABLE
6711><P
6712>This function returns the list of authorized children to insert
6713within an existing tree while respecting the validity constraints
6714forced by the Dtd. The insertion point is defined using <TT
6715CLASS="PARAMETER"
6716><I
6717>prev</I
6718></TT
6719> and
6720<TT
6721CLASS="PARAMETER"
6722><I
6723>next</I
6724></TT
6725> in the following ways:
6726to insert before 'node': xmlValidGetValidElements(node-&gt;prev, node, ...
6727to insert next 'node': xmlValidGetValidElements(node, node-&gt;next, ...
6728to replace 'node': xmlValidGetValidElements(node-&gt;prev, node-&gt;next, ...
6729to prepend a child to 'node': xmlValidGetValidElements(NULL, node-&gt;childs,
6730to append a child to 'node': xmlValidGetValidElements(node-&gt;last, NULL, ...</P
6731><P
6732>pointers to the element names are inserted at the beginning of the array
6733and do not need to be freed.</P
6734><P
6735></P
6736><DIV
6737CLASS="INFORMALTABLE"
6738><P
6739></P
6740><TABLE
6741BORDER="0"
6742WIDTH="100%"
6743BGCOLOR="#FFD0D0"
6744CELLSPACING="0"
6745CELLPADDING="4"
6746CLASS="CALSTABLE"
6747><TR
6748><TD
6749WIDTH="20%"
6750ALIGN="RIGHT"
6751VALIGN="TOP"
6752><TT
6753CLASS="PARAMETER"
6754><I
6755>prev</I
6756></TT
6757>&nbsp;:</TD
6758><TD
6759WIDTH="80%"
6760ALIGN="LEFT"
6761VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006762> an element to insert after</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006763></TR
6764><TR
6765><TD
6766WIDTH="20%"
6767ALIGN="RIGHT"
6768VALIGN="TOP"
6769><TT
6770CLASS="PARAMETER"
6771><I
6772>next</I
6773></TT
6774>&nbsp;:</TD
6775><TD
6776WIDTH="80%"
6777ALIGN="LEFT"
6778VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006779> an element to insert next</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006780></TR
6781><TR
6782><TD
6783WIDTH="20%"
6784ALIGN="RIGHT"
6785VALIGN="TOP"
6786><TT
6787CLASS="PARAMETER"
6788><I
6789>list</I
6790></TT
6791>&nbsp;:</TD
6792><TD
6793WIDTH="80%"
6794ALIGN="LEFT"
6795VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006796> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006797></TR
6798><TR
6799><TD
6800WIDTH="20%"
6801ALIGN="RIGHT"
6802VALIGN="TOP"
6803><TT
6804CLASS="PARAMETER"
6805><I
6806>max</I
6807></TT
6808>&nbsp;:</TD
6809><TD
6810WIDTH="80%"
6811ALIGN="LEFT"
6812VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006813> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006814></TR
6815><TR
6816><TD
6817WIDTH="20%"
6818ALIGN="RIGHT"
6819VALIGN="TOP"
6820><I
6821CLASS="EMPHASIS"
6822>Returns</I
6823> :</TD
6824><TD
6825WIDTH="80%"
6826ALIGN="LEFT"
6827VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006828>the number of element in the list, or -1 in case of error. If
6829the function returns the value <TT
6830CLASS="PARAMETER"
6831><I
6832>max</I
6833></TT
6834> the caller is invited to grow the
6835receiving array and retry.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006836></TR
6837></TABLE
6838><P
6839></P
6840></DIV
6841></DIV
6842><HR><DIV
6843CLASS="REFSECT2"
6844><A
Daniel Veillard503b8932001-01-05 06:36:31 +00006845NAME="AEN9242"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006846></A
6847><H3
6848><A
6849NAME="XMLVALIDGETPOTENTIALCHILDREN"
6850></A
6851>xmlValidGetPotentialChildren ()</H3
6852><TABLE
6853BORDER="0"
6854BGCOLOR="#D6E8FF"
6855WIDTH="100%"
6856CELLPADDING="6"
6857><TR
6858><TD
6859><PRE
6860CLASS="PROGRAMLISTING"
6861>int xmlValidGetPotentialChildren (<A
6862HREF="gnome-xml-tree.html#XMLELEMENTCONTENT"
6863>xmlElementContent</A
6864> *ctree,
6865 const <A
6866HREF="gnome-xml-tree.html#XMLCHAR"
6867>xmlChar</A
6868> **list,
6869 int *len,
6870 int max);</PRE
6871></TD
6872></TR
6873></TABLE
6874><P
6875>Build/extend a list of potential children allowed by the content tree</P
6876><P
6877></P
6878><DIV
6879CLASS="INFORMALTABLE"
6880><P
6881></P
6882><TABLE
6883BORDER="0"
6884WIDTH="100%"
6885BGCOLOR="#FFD0D0"
6886CELLSPACING="0"
6887CELLPADDING="4"
6888CLASS="CALSTABLE"
6889><TR
6890><TD
6891WIDTH="20%"
6892ALIGN="RIGHT"
6893VALIGN="TOP"
6894><TT
6895CLASS="PARAMETER"
6896><I
6897>ctree</I
6898></TT
6899>&nbsp;:</TD
6900><TD
6901WIDTH="80%"
6902ALIGN="LEFT"
6903VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006904> an element content tree</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006905></TR
6906><TR
6907><TD
6908WIDTH="20%"
6909ALIGN="RIGHT"
6910VALIGN="TOP"
6911><TT
6912CLASS="PARAMETER"
6913><I
6914>list</I
6915></TT
6916>&nbsp;:</TD
6917><TD
6918WIDTH="80%"
6919ALIGN="LEFT"
6920VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006921> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006922></TR
6923><TR
6924><TD
6925WIDTH="20%"
6926ALIGN="RIGHT"
6927VALIGN="TOP"
6928><TT
6929CLASS="PARAMETER"
6930><I
6931>len</I
6932></TT
6933>&nbsp;:</TD
6934><TD
6935WIDTH="80%"
6936ALIGN="LEFT"
6937VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006938> a pointer to the number of element in the list</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006939></TR
6940><TR
6941><TD
6942WIDTH="20%"
6943ALIGN="RIGHT"
6944VALIGN="TOP"
6945><TT
6946CLASS="PARAMETER"
6947><I
6948>max</I
6949></TT
6950>&nbsp;:</TD
6951><TD
6952WIDTH="80%"
6953ALIGN="LEFT"
6954VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006955> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006956></TR
6957><TR
6958><TD
6959WIDTH="20%"
6960ALIGN="RIGHT"
6961VALIGN="TOP"
6962><I
6963CLASS="EMPHASIS"
6964>Returns</I
6965> :</TD
6966><TD
6967WIDTH="80%"
6968ALIGN="LEFT"
6969VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006970>the number of element in the list, or -1 in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006971></TR
6972></TABLE
6973><P
6974></P
6975></DIV
6976></DIV
6977></DIV
6978><DIV
6979CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00006980><BR
6981CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00006982WIDTH="100%"
6983BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006984BGCOLOR="#000000"
6985CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00006986CELLSPACING="0"
6987><TR
6988><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006989WIDTH="25%"
6990BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00006991ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00006992><A
6993HREF="gnome-xml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00006994><FONT
6995COLOR="#FFFFFF"
6996SIZE="3"
6997><B
6998>&#60;&#60;&#60; Previous Page</B
6999></FONT
7000></A
Daniel Veillard35925471999-02-25 08:46:07 +00007001></TD
7002><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007003WIDTH="25%"
7004BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00007005ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00007006><FONT
7007COLOR="#FFFFFF"
7008SIZE="3"
7009><B
Daniel Veillard35925471999-02-25 08:46:07 +00007010><A
7011HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007012><FONT
7013COLOR="#FFFFFF"
7014SIZE="3"
7015><B
7016>Home</B
7017></FONT
7018></A
7019></B
7020></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00007021></TD
7022><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007023WIDTH="25%"
7024BGCOLOR="#00C000"
7025ALIGN="center"
7026><FONT
7027COLOR="#FFFFFF"
7028SIZE="3"
7029><B
7030><A
Daniel Veillard35008381999-10-25 13:15:52 +00007031HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007032><FONT
7033COLOR="#FFFFFF"
7034SIZE="3"
7035><B
7036>Up</B
7037></FONT
7038></A
7039></B
7040></FONT
7041></TD
7042><TD
7043WIDTH="25%"
7044BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00007045ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00007046><A
Daniel Veillard8f621982000-03-20 13:07:15 +00007047HREF="gnome-xml-uri.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007048><FONT
7049COLOR="#FFFFFF"
7050SIZE="3"
7051><B
7052>Next Page &#62;&#62;&#62;</B
7053></FONT
7054></A
Daniel Veillard35925471999-02-25 08:46:07 +00007055></TD
7056></TR
7057><TR
7058><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007059COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00007060ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00007061><FONT
7062COLOR="#FFFFFF"
7063SIZE="3"
7064><B
7065>entities</B
7066></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00007067></TD
7068><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007069COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00007070ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00007071><FONT
7072COLOR="#FFFFFF"
7073SIZE="3"
7074><B
Daniel Veillard8f621982000-03-20 13:07:15 +00007075>uri</B
Daniel Veillard14fff061999-06-22 21:49:07 +00007076></FONT
7077></TD
Daniel Veillard35925471999-02-25 08:46:07 +00007078></TR
7079></TABLE
7080></DIV
7081></BODY
7082></HTML
7083>