blob: ddce9266b29cf8ba59c97fba94faef2c87c21b3b [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"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016HREF="libxml-entities.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000017REL="NEXT"
Daniel Veillard8f621982000-03-20 13:07:15 +000018TITLE="uri"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000019HREF="libxml-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
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000050HREF="libxml-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 Veillard9cb5ff42001-01-29 08:22:21 +0000104HREF="libxml-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
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000118NAME="LIBXML-VALID"
Daniel Veillard503b8932001-01-05 06:36:31 +0000119>valid</A
120></H1
Daniel Veillard35925471999-02-25 08:46:07 +0000121><DIV
122CLASS="REFNAMEDIV"
123><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000124NAME="AEN7611"
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 Veillard9cb5ff42001-01-29 08:22:21 +0000132NAME="AEN7614"
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
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000148HREF="libxml-valid.html#XMLVALIDITYERRORFUNC"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000149>*xmlValidityErrorFunc</A
150>) (void *ctx,
151 const char *msg,
152 ...);
153void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000154HREF="libxml-valid.html#XMLVALIDITYWARNINGFUNC"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000155>*xmlValidityWarningFunc</A
156>) (void *ctx,
157 const char *msg,
158 ...);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000159struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000160HREF="libxml-valid.html#XMLVALIDCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000161>xmlValidCtxt</A
162>;
163typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000164HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000165>xmlValidCtxtPtr</A
166>;
Daniel Veillard35925471999-02-25 08:46:07 +0000167typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000168HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000169>xmlNotationTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000170>;
Daniel Veillard35925471999-02-25 08:46:07 +0000171typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000172HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000173>xmlElementTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000174>;
Daniel Veillard35925471999-02-25 08:46:07 +0000175typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000176HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000177>xmlAttributeTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000178>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000179typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000180HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000181>xmlIDTablePtr</A
182>;
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000183typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000184HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000185>xmlRefTablePtr</A
186>;
Daniel Veillard35925471999-02-25 08:46:07 +0000187<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000188HREF="libxml-tree.html#XMLCHAR"
189>xmlChar</A
190>* <A
191HREF="libxml-valid.html#XMLSPLITQNAME2"
192>xmlSplitQName2</A
193> (const <A
194HREF="libxml-tree.html#XMLCHAR"
195>xmlChar</A
196> *name,
197 <A
198HREF="libxml-tree.html#XMLCHAR"
199>xmlChar</A
200> **prefix);
201<A
202HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000203>xmlNotationPtr</A
204> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000205HREF="libxml-valid.html#XMLADDNOTATIONDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000206>xmlAddNotationDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000207> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000208HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000209>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000210> ctxt,
211 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000212HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000213>xmlDtdPtr</A
214> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000215 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000216HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000217>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000218> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000219 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000220HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000221>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000222> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000223 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000224HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000225>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000226> *SystemID);
227<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000228HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000229>xmlNotationTablePtr</A
230> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000231HREF="libxml-valid.html#XMLCOPYNOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000232>xmlCopyNotationTable</A
233> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000234HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000235>xmlNotationTablePtr</A
236> table);
237void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000238HREF="libxml-valid.html#XMLFREENOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000239>xmlFreeNotationTable</A
240> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000241HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000242>xmlNotationTablePtr</A
243> table);
244void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000245HREF="libxml-valid.html#XMLDUMPNOTATIONDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000246>xmlDumpNotationDecl</A
247> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000248HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000249>xmlBufferPtr</A
250> buf,
251 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000252HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000253>xmlNotationPtr</A
254> nota);
255void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000256HREF="libxml-valid.html#XMLDUMPNOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000257>xmlDumpNotationTable</A
258> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000259HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000260>xmlBufferPtr</A
261> buf,
262 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000263HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000264>xmlNotationTablePtr</A
265> table);
266<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000267HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000268>xmlElementContentPtr</A
269> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000270HREF="libxml-valid.html#XMLNEWELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000271>xmlNewElementContent</A
272> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000273HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000274>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000275> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000276 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000277HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000278>xmlElementContentType</A
279> type);
Daniel Veillard35925471999-02-25 08:46:07 +0000280<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000281HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000282>xmlElementContentPtr</A
283> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000284HREF="libxml-valid.html#XMLCOPYELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000285>xmlCopyElementContent</A
286> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000287HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000288>xmlElementContentPtr</A
289> content);
290void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000291HREF="libxml-valid.html#XMLFREEELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000292>xmlFreeElementContent</A
293> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000294HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000295>xmlElementContentPtr</A
296> cur);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000297void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000298HREF="libxml-valid.html#XMLSPRINTFELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000299>xmlSprintfElementContent</A
300> (char *buf,
301 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000302HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000303>xmlElementContentPtr</A
304> content,
305 int glob);
Daniel Veillard35925471999-02-25 08:46:07 +0000306<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000307HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000308>xmlElementPtr</A
309> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000310HREF="libxml-valid.html#XMLADDELEMENTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000311>xmlAddElementDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000312> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000313HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000314>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000315> ctxt,
316 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000317HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000318>xmlDtdPtr</A
319> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000320 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000321HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000322>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000323> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000324 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000325HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000326>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000327> type,
Daniel Veillard35925471999-02-25 08:46:07 +0000328 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000329HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000330>xmlElementContentPtr</A
331> content);
332<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000333HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000334>xmlElementTablePtr</A
335> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000336HREF="libxml-valid.html#XMLCOPYELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000337>xmlCopyElementTable</A
338> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000339HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000340>xmlElementTablePtr</A
341> table);
342void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000343HREF="libxml-valid.html#XMLFREEELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000344>xmlFreeElementTable</A
345> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000346HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000347>xmlElementTablePtr</A
348> table);
349void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000350HREF="libxml-valid.html#XMLDUMPELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000351>xmlDumpElementTable</A
352> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000353HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000354>xmlBufferPtr</A
355> buf,
356 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000357HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000358>xmlElementTablePtr</A
359> table);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000360void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000361HREF="libxml-valid.html#XMLDUMPELEMENTDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000362>xmlDumpElementDecl</A
363> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000364HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000365>xmlBufferPtr</A
366> buf,
367 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000368HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000369>xmlElementPtr</A
370> elem);
Daniel Veillard35925471999-02-25 08:46:07 +0000371<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000372HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000373>xmlEnumerationPtr</A
374> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000375HREF="libxml-valid.html#XMLCREATEENUMERATION"
Daniel Veillard35925471999-02-25 08:46:07 +0000376>xmlCreateEnumeration</A
377> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000378HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000379>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000380> *name);
381void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000382HREF="libxml-valid.html#XMLFREEENUMERATION"
Daniel Veillard35925471999-02-25 08:46:07 +0000383>xmlFreeEnumeration</A
384> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000385HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000386>xmlEnumerationPtr</A
387> cur);
388<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000389HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000390>xmlEnumerationPtr</A
391> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000392HREF="libxml-valid.html#XMLCOPYENUMERATION"
Daniel Veillard35925471999-02-25 08:46:07 +0000393>xmlCopyEnumeration</A
394> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000395HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000396>xmlEnumerationPtr</A
397> cur);
398<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000399HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000400>xmlAttributePtr</A
401> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000402HREF="libxml-valid.html#XMLADDATTRIBUTEDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000403>xmlAddAttributeDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000404> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000405HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000406>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000407> ctxt,
408 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000409HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000410>xmlDtdPtr</A
411> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000412 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000413HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000414>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000415> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000416 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000417HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000418>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000419> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000420 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000421HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000422>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +0000423> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000424 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000425HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000426>xmlAttributeType</A
427> type,
428 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000429HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000430>xmlAttributeDefault</A
431> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000432 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000433HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000434>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000435> *defaultValue,
436 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000437HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000438>xmlEnumerationPtr</A
439> tree);
440<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000441HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000442>xmlAttributeTablePtr</A
443> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000444HREF="libxml-valid.html#XMLCOPYATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000445>xmlCopyAttributeTable</A
446> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000447HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000448>xmlAttributeTablePtr</A
449> table);
450void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000451HREF="libxml-valid.html#XMLFREEATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000452>xmlFreeAttributeTable</A
453> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000454HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000455>xmlAttributeTablePtr</A
456> table);
457void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000458HREF="libxml-valid.html#XMLDUMPATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000459>xmlDumpAttributeTable</A
460> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000461HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000462>xmlBufferPtr</A
463> buf,
464 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000465HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000466>xmlAttributeTablePtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000467> table);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000468void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000469HREF="libxml-valid.html#XMLDUMPATTRIBUTEDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000470>xmlDumpAttributeDecl</A
471> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000472HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000473>xmlBufferPtr</A
474> buf,
475 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000476HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000477>xmlAttributePtr</A
478> attr);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000479<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000480HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000481>xmlIDPtr</A
482> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000483HREF="libxml-valid.html#XMLADDID"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000484>xmlAddID</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000485> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000486HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000487>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000488> ctxt,
489 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000490HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000491>xmlDocPtr</A
492> doc,
493 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000494HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000495>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000496> *value,
497 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000498HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000499>xmlAttrPtr</A
500> attr);
501<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000502HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000503>xmlIDTablePtr</A
504> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000505HREF="libxml-valid.html#XMLCOPYIDTABLE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000506>xmlCopyIDTable</A
507> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000508HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000509>xmlIDTablePtr</A
510> table);
511void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000512HREF="libxml-valid.html#XMLFREEIDTABLE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000513>xmlFreeIDTable</A
514> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000515HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000516>xmlIDTablePtr</A
517> table);
518<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000519HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000520>xmlAttrPtr</A
521> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000522HREF="libxml-valid.html#XMLGETID"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000523>xmlGetID</A
524> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000525HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000526>xmlDocPtr</A
527> doc,
528 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000529HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000530>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000531> *ID);
532int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000533HREF="libxml-valid.html#XMLISID"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000534>xmlIsID</A
535> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000536HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000537>xmlDocPtr</A
538> doc,
539 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000540HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000541>xmlNodePtr</A
542> elem,
543 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000544HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000545>xmlAttrPtr</A
546> attr);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000547int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000548HREF="libxml-valid.html#XMLREMOVEID"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000549>xmlRemoveID</A
550> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000551HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000552>xmlDocPtr</A
553> doc,
554 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000555HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000556>xmlAttrPtr</A
557> attr);
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000558<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000559HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000560>xmlRefPtr</A
561> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000562HREF="libxml-valid.html#XMLADDREF"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000563>xmlAddRef</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000564> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000565HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000566>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000567> ctxt,
568 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000569HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000570>xmlDocPtr</A
571> doc,
572 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000573HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000574>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000575> *value,
576 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000577HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000578>xmlAttrPtr</A
579> attr);
580<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000581HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000582>xmlRefTablePtr</A
583> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000584HREF="libxml-valid.html#XMLCOPYREFTABLE"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000585>xmlCopyRefTable</A
586> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000587HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000588>xmlRefTablePtr</A
589> table);
590void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000591HREF="libxml-valid.html#XMLFREEREFTABLE"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000592>xmlFreeRefTable</A
593> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000594HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000595>xmlRefTablePtr</A
596> table);
597int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000598HREF="libxml-valid.html#XMLISREF"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000599>xmlIsRef</A
600> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000601HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000602>xmlDocPtr</A
603> doc,
604 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000605HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000606>xmlNodePtr</A
607> elem,
608 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000609HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000610>xmlAttrPtr</A
611> attr);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000612int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000613HREF="libxml-valid.html#XMLREMOVEREF"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000614>xmlRemoveRef</A
615> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000616HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000617>xmlDocPtr</A
618> doc,
619 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000620HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000621>xmlAttrPtr</A
622> attr);
623int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000624HREF="libxml-valid.html#XMLVALIDATEROOT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000625>xmlValidateRoot</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000626> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000627HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000628>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000629> ctxt,
630 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000631HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000632>xmlDocPtr</A
633> doc);
634int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000635HREF="libxml-valid.html#XMLVALIDATEELEMENTDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000636>xmlValidateElementDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000637> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000638HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000639>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000640> ctxt,
641 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000642HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000643>xmlDocPtr</A
644> doc,
645 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000646HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000647>xmlElementPtr</A
648> elem);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000649<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000650HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000651>xmlChar</A
652>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000653HREF="libxml-valid.html#XMLVALIDNORMALIZEATTRIBUTEVALUE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000654>xmlValidNormalizeAttributeValue</A
655> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000656HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000657>xmlDocPtr</A
658> doc,
659 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000660HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000661>xmlNodePtr</A
662> elem,
663 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000664HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000665>xmlChar</A
666> *name,
667 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000668HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000669>xmlChar</A
670> *value);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000671int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000672HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000673>xmlValidateAttributeDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000674> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000675HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000676>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000677> ctxt,
678 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000679HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000680>xmlDocPtr</A
681> doc,
682 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000683HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000684>xmlAttributePtr</A
685> attr);
686int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000687HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000688>xmlValidateAttributeValue</A
689> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000690HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000691>xmlAttributeType</A
692> type,
693 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000694HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000695>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000696> *value);
697int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000698HREF="libxml-valid.html#XMLVALIDATENOTATIONDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000699>xmlValidateNotationDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000700> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000701HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000702>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000703> ctxt,
704 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000705HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000706>xmlDocPtr</A
707> doc,
708 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000709HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000710>xmlNotationPtr</A
711> nota);
712int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000713HREF="libxml-valid.html#XMLVALIDATEDTD"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000714>xmlValidateDtd</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000715> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000716HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000717>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000718> ctxt,
719 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000720HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000721>xmlDocPtr</A
722> doc,
723 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000724HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000725>xmlDtdPtr</A
726> dtd);
727int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000728HREF="libxml-valid.html#XMLVALIDATEDTDFINAL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000729>xmlValidateDtdFinal</A
730> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000731HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000732>xmlValidCtxtPtr</A
733> ctxt,
734 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000735HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000736>xmlDocPtr</A
737> doc);
738int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000739HREF="libxml-valid.html#XMLVALIDATEDOCUMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000740>xmlValidateDocument</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000741> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000742HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000743>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000744> ctxt,
745 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000746HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000747>xmlDocPtr</A
748> doc);
749int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000750HREF="libxml-valid.html#XMLVALIDATEELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000751>xmlValidateElement</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000752> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000753HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000754>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000755> ctxt,
756 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000757HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000758>xmlDocPtr</A
759> doc,
760 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000761HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000762>xmlNodePtr</A
763> elem);
764int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000765HREF="libxml-valid.html#XMLVALIDATEONEELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000766>xmlValidateOneElement</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000767> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000768HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000769>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000770> ctxt,
771 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000772HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000773>xmlDocPtr</A
774> doc,
775 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000776HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000777>xmlNodePtr</A
778> elem);
779int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000780HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000781>xmlValidateOneAttribute</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000782> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000783HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000784>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000785> ctxt,
786 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000787HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000788>xmlDocPtr</A
789> doc,
790 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000791HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000792>xmlNodePtr</A
793> elem,
794 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000795HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000796>xmlAttrPtr</A
797> attr,
798 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000799HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000800>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000801> *value);
802int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000803HREF="libxml-valid.html#XMLVALIDATEDOCUMENTFINAL"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000804>xmlValidateDocumentFinal</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000805> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000806HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000807>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000808> ctxt,
809 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000810HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000811>xmlDocPtr</A
812> doc);
813int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000814HREF="libxml-valid.html#XMLVALIDATENOTATIONUSE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000815>xmlValidateNotationUse</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000816> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000817HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000818>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000819> ctxt,
820 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000821HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000822>xmlDocPtr</A
823> doc,
824 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000825HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000826>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000827> *notationName);
828int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000829HREF="libxml-valid.html#XMLISMIXEDELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000830>xmlIsMixedElement</A
831> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000832HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000833>xmlDocPtr</A
834> doc,
835 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000836HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000837>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000838> *name);
839<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000840HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000841>xmlAttributePtr</A
842> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000843HREF="libxml-valid.html#XMLGETDTDATTRDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000844>xmlGetDtdAttrDesc</A
845> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000846HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000847>xmlDtdPtr</A
848> dtd,
849 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000850HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000851>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000852> *elem,
853 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000854HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000855>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000856> *name);
857<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000858HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000859>xmlNotationPtr</A
860> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000861HREF="libxml-valid.html#XMLGETDTDNOTATIONDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000862>xmlGetDtdNotationDesc</A
863> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000864HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000865>xmlDtdPtr</A
866> dtd,
867 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000868HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000869>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000870> *name);
871<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000872HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000873>xmlElementPtr</A
874> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000875HREF="libxml-valid.html#XMLGETDTDELEMENTDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000876>xmlGetDtdElementDesc</A
877> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000878HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000879>xmlDtdPtr</A
880> dtd,
881 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000882HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000883>xmlChar</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000884> *name);
885int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000886HREF="libxml-valid.html#XMLVALIDGETVALIDELEMENTS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000887>xmlValidGetValidElements</A
888> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000889HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000890>xmlNode</A
891> *prev,
892 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000893HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000894>xmlNode</A
895> *next,
896 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000897HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000898>xmlChar</A
899> **list,
900 int max);
901int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000902HREF="libxml-valid.html#XMLVALIDGETPOTENTIALCHILDREN"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000903>xmlValidGetPotentialChildren</A
904> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000905HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000906>xmlElementContent</A
907> *ctree,
908 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000909HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000910>xmlChar</A
911> **list,
912 int *len,
913 int max);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000914></TD
915></TR
916></TABLE
917></DIV
918><DIV
919CLASS="REFSECT1"
920><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000921NAME="AEN7825"
Daniel Veillard35925471999-02-25 08:46:07 +0000922></A
923><H2
924>Description</H2
925><P
926></P
927></DIV
928><DIV
929CLASS="REFSECT1"
930><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000931NAME="AEN7828"
Daniel Veillard35925471999-02-25 08:46:07 +0000932></A
933><H2
934>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000935><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000936CLASS="REFSECT2"
937><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000938NAME="AEN7830"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000939></A
940><H3
941><A
942NAME="XMLVALIDITYERRORFUNC"
943></A
944>xmlValidityErrorFunc ()</H3
945><TABLE
946BORDER="0"
947BGCOLOR="#D6E8FF"
948WIDTH="100%"
949CELLPADDING="6"
950><TR
951><TD
952><PRE
953CLASS="PROGRAMLISTING"
954>void (*xmlValidityErrorFunc) (void *ctx,
955 const char *msg,
956 ...);</PRE
957></TD
958></TR
959></TABLE
960><P
961></P
962><DIV
963CLASS="INFORMALTABLE"
964><P
965></P
966><TABLE
967BORDER="0"
968WIDTH="100%"
969BGCOLOR="#FFD0D0"
970CELLSPACING="0"
971CELLPADDING="4"
972CLASS="CALSTABLE"
973><TR
974><TD
975WIDTH="20%"
976ALIGN="RIGHT"
977VALIGN="TOP"
978><TT
979CLASS="PARAMETER"
980><I
981>ctx</I
982></TT
983>&nbsp;:</TD
984><TD
985WIDTH="80%"
986ALIGN="LEFT"
987VALIGN="TOP"
988>&nbsp;</TD
989></TR
990><TR
991><TD
992WIDTH="20%"
993ALIGN="RIGHT"
994VALIGN="TOP"
995><TT
996CLASS="PARAMETER"
997><I
998>msg</I
999></TT
1000>&nbsp;:</TD
1001><TD
1002WIDTH="80%"
1003ALIGN="LEFT"
1004VALIGN="TOP"
1005>&nbsp;</TD
1006></TR
1007><TR
1008><TD
1009WIDTH="20%"
1010ALIGN="RIGHT"
1011VALIGN="TOP"
1012><TT
1013CLASS="PARAMETER"
1014><I
1015>...</I
1016></TT
1017>&nbsp;:</TD
1018><TD
1019WIDTH="80%"
1020ALIGN="LEFT"
1021VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001022>&#13;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001023></TR
1024></TABLE
1025><P
1026></P
1027></DIV
1028></DIV
1029><HR><DIV
1030CLASS="REFSECT2"
1031><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001032NAME="AEN7852"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001033></A
1034><H3
1035><A
1036NAME="XMLVALIDITYWARNINGFUNC"
1037></A
1038>xmlValidityWarningFunc ()</H3
1039><TABLE
1040BORDER="0"
1041BGCOLOR="#D6E8FF"
1042WIDTH="100%"
1043CELLPADDING="6"
1044><TR
1045><TD
1046><PRE
1047CLASS="PROGRAMLISTING"
1048>void (*xmlValidityWarningFunc) (void *ctx,
1049 const char *msg,
1050 ...);</PRE
1051></TD
1052></TR
1053></TABLE
1054><P
1055></P
1056><DIV
1057CLASS="INFORMALTABLE"
1058><P
1059></P
1060><TABLE
1061BORDER="0"
1062WIDTH="100%"
1063BGCOLOR="#FFD0D0"
1064CELLSPACING="0"
1065CELLPADDING="4"
1066CLASS="CALSTABLE"
1067><TR
1068><TD
1069WIDTH="20%"
1070ALIGN="RIGHT"
1071VALIGN="TOP"
1072><TT
1073CLASS="PARAMETER"
1074><I
1075>ctx</I
1076></TT
1077>&nbsp;:</TD
1078><TD
1079WIDTH="80%"
1080ALIGN="LEFT"
1081VALIGN="TOP"
1082>&nbsp;</TD
1083></TR
1084><TR
1085><TD
1086WIDTH="20%"
1087ALIGN="RIGHT"
1088VALIGN="TOP"
1089><TT
1090CLASS="PARAMETER"
1091><I
1092>msg</I
1093></TT
1094>&nbsp;:</TD
1095><TD
1096WIDTH="80%"
1097ALIGN="LEFT"
1098VALIGN="TOP"
1099>&nbsp;</TD
1100></TR
1101><TR
1102><TD
1103WIDTH="20%"
1104ALIGN="RIGHT"
1105VALIGN="TOP"
1106><TT
1107CLASS="PARAMETER"
1108><I
1109>...</I
1110></TT
1111>&nbsp;:</TD
1112><TD
1113WIDTH="80%"
1114ALIGN="LEFT"
1115VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001116>&#13;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001117></TR
1118></TABLE
1119><P
1120></P
1121></DIV
1122></DIV
1123><HR><DIV
1124CLASS="REFSECT2"
1125><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001126NAME="AEN7874"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001127></A
1128><H3
1129><A
1130NAME="XMLVALIDCTXT"
1131></A
1132>struct xmlValidCtxt</H3
1133><TABLE
1134BORDER="0"
1135BGCOLOR="#D6E8FF"
1136WIDTH="100%"
1137CELLPADDING="6"
1138><TR
1139><TD
1140><PRE
1141CLASS="PROGRAMLISTING"
1142>struct xmlValidCtxt {
1143 void *userData; /* user specific data block */
1144 xmlValidityErrorFunc error; /* the callback in case of errors */
1145 xmlValidityWarningFunc warning; /* the callback in case of warning */
1146
1147 /* Node analysis stack used when validating within entities */
1148 xmlNodePtr node; /* Current parsed Node */
1149 int nodeNr; /* Depth of the parsing stack */
1150 int nodeMax; /* Max depth of the parsing stack */
1151 xmlNodePtr *nodeTab; /* array of nodes */
1152
1153 int finishDtd; /* finished validating the Dtd ? */
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001154 xmlDocPtr doc; /* the document */
1155 int valid; /* temporary validity check result */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001156};</PRE
1157></TD
1158></TR
1159></TABLE
1160><P
1161></P
1162></DIV
1163><HR><DIV
1164CLASS="REFSECT2"
1165><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001166NAME="AEN7879"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001167></A
1168><H3
1169><A
1170NAME="XMLVALIDCTXTPTR"
1171></A
1172>xmlValidCtxtPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001173><TABLE
1174BORDER="0"
1175BGCOLOR="#D6E8FF"
1176WIDTH="100%"
1177CELLPADDING="6"
1178><TR
1179><TD
1180><PRE
1181CLASS="PROGRAMLISTING"
1182>typedef xmlValidCtxt *xmlValidCtxtPtr;</PRE
1183></TD
1184></TR
1185></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001186><P
1187></P
1188></DIV
1189><HR><DIV
1190CLASS="REFSECT2"
1191><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001192NAME="AEN7884"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001193></A
1194><H3
1195><A
1196NAME="XMLNOTATIONTABLEPTR"
1197></A
1198>xmlNotationTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001199><TABLE
1200BORDER="0"
1201BGCOLOR="#D6E8FF"
1202WIDTH="100%"
1203CELLPADDING="6"
1204><TR
1205><TD
1206><PRE
1207CLASS="PROGRAMLISTING"
1208>typedef xmlNotationTable *xmlNotationTablePtr;</PRE
1209></TD
1210></TR
1211></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001212><P
1213></P
1214></DIV
1215><HR><DIV
1216CLASS="REFSECT2"
1217><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001218NAME="AEN7889"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001219></A
1220><H3
1221><A
1222NAME="XMLELEMENTTABLEPTR"
1223></A
1224>xmlElementTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001225><TABLE
1226BORDER="0"
1227BGCOLOR="#D6E8FF"
1228WIDTH="100%"
1229CELLPADDING="6"
1230><TR
1231><TD
1232><PRE
1233CLASS="PROGRAMLISTING"
1234>typedef xmlElementTable *xmlElementTablePtr;</PRE
1235></TD
1236></TR
1237></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001238><P
1239></P
1240></DIV
1241><HR><DIV
1242CLASS="REFSECT2"
1243><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001244NAME="AEN7894"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001245></A
1246><H3
1247><A
1248NAME="XMLATTRIBUTETABLEPTR"
1249></A
1250>xmlAttributeTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001251><TABLE
1252BORDER="0"
1253BGCOLOR="#D6E8FF"
1254WIDTH="100%"
1255CELLPADDING="6"
1256><TR
1257><TD
1258><PRE
1259CLASS="PROGRAMLISTING"
1260>typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE
1261></TD
1262></TR
1263></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001264><P
1265></P
1266></DIV
1267><HR><DIV
1268CLASS="REFSECT2"
1269><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001270NAME="AEN7899"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001271></A
1272><H3
1273><A
1274NAME="XMLIDTABLEPTR"
1275></A
1276>xmlIDTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001277><TABLE
1278BORDER="0"
1279BGCOLOR="#D6E8FF"
1280WIDTH="100%"
1281CELLPADDING="6"
1282><TR
1283><TD
1284><PRE
1285CLASS="PROGRAMLISTING"
1286>typedef xmlIDTable *xmlIDTablePtr;</PRE
1287></TD
1288></TR
1289></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001290><P
1291></P
1292></DIV
1293><HR><DIV
1294CLASS="REFSECT2"
1295><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001296NAME="AEN7904"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001297></A
1298><H3
1299><A
1300NAME="XMLREFTABLEPTR"
1301></A
1302>xmlRefTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001303><TABLE
1304BORDER="0"
1305BGCOLOR="#D6E8FF"
1306WIDTH="100%"
1307CELLPADDING="6"
1308><TR
1309><TD
1310><PRE
1311CLASS="PROGRAMLISTING"
1312>typedef xmlRefTable *xmlRefTablePtr;</PRE
1313></TD
1314></TR
1315></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001316><P
1317></P
1318></DIV
1319><HR><DIV
1320CLASS="REFSECT2"
1321><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001322NAME="AEN7909"
1323></A
1324><H3
1325><A
1326NAME="XMLSPLITQNAME2"
1327></A
1328>xmlSplitQName2 ()</H3
1329><TABLE
1330BORDER="0"
1331BGCOLOR="#D6E8FF"
1332WIDTH="100%"
1333CELLPADDING="6"
1334><TR
1335><TD
1336><PRE
1337CLASS="PROGRAMLISTING"
1338><A
1339HREF="libxml-tree.html#XMLCHAR"
1340>xmlChar</A
1341>* xmlSplitQName2 (const <A
1342HREF="libxml-tree.html#XMLCHAR"
1343>xmlChar</A
1344> *name,
1345 <A
1346HREF="libxml-tree.html#XMLCHAR"
1347>xmlChar</A
1348> **prefix);</PRE
1349></TD
1350></TR
1351></TABLE
1352><P
1353>parse an XML qualified name string</P
1354><P
1355>[NS 5] QName ::= (Prefix ':')? LocalPart</P
1356><P
1357>[NS 6] Prefix ::= NCName</P
1358><P
1359>[NS 7] LocalPart ::= NCName</P
1360><P
1361></P
1362><DIV
1363CLASS="INFORMALTABLE"
1364><P
1365></P
1366><TABLE
1367BORDER="0"
1368WIDTH="100%"
1369BGCOLOR="#FFD0D0"
1370CELLSPACING="0"
1371CELLPADDING="4"
1372CLASS="CALSTABLE"
1373><TR
1374><TD
1375WIDTH="20%"
1376ALIGN="RIGHT"
1377VALIGN="TOP"
1378><TT
1379CLASS="PARAMETER"
1380><I
1381>name</I
1382></TT
1383>&nbsp;:</TD
1384><TD
1385WIDTH="80%"
1386ALIGN="LEFT"
1387VALIGN="TOP"
1388> an XML parser context</TD
1389></TR
1390><TR
1391><TD
1392WIDTH="20%"
1393ALIGN="RIGHT"
1394VALIGN="TOP"
1395><TT
1396CLASS="PARAMETER"
1397><I
1398>prefix</I
1399></TT
1400>&nbsp;:</TD
1401><TD
1402WIDTH="80%"
1403ALIGN="LEFT"
1404VALIGN="TOP"
1405> a xmlChar ** </TD
1406></TR
1407><TR
1408><TD
1409WIDTH="20%"
1410ALIGN="RIGHT"
1411VALIGN="TOP"
1412><I
1413CLASS="EMPHASIS"
1414>Returns</I
1415> :</TD
1416><TD
1417WIDTH="80%"
1418ALIGN="LEFT"
1419VALIGN="TOP"
1420>NULL if not a QName, otherwise the local part, and prefix
1421is updated to get the Prefix if any.</TD
1422></TR
1423></TABLE
1424><P
1425></P
1426></DIV
1427></DIV
1428><HR><DIV
1429CLASS="REFSECT2"
1430><A
1431NAME="AEN7938"
Daniel Veillard35925471999-02-25 08:46:07 +00001432></A
1433><H3
1434><A
1435NAME="XMLADDNOTATIONDECL"
1436></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001437>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001438><TABLE
1439BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001440BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001441WIDTH="100%"
1442CELLPADDING="6"
1443><TR
1444><TD
1445><PRE
1446CLASS="PROGRAMLISTING"
1447><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001448HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001449>xmlNotationPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001450> xmlAddNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001451HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001452>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001453> ctxt,
1454 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001455HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001456>xmlDtdPtr</A
1457> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001458 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001459HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001460>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001461> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001462 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001463HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001464>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001465> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001466 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001467HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001468>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001469> *SystemID);</PRE
1470></TD
1471></TR
1472></TABLE
1473><P
1474>Register a new notation declaration</P
1475><P
1476></P
1477><DIV
1478CLASS="INFORMALTABLE"
1479><P
1480></P
1481><TABLE
1482BORDER="0"
1483WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001484BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001485CELLSPACING="0"
1486CELLPADDING="4"
1487CLASS="CALSTABLE"
1488><TR
1489><TD
1490WIDTH="20%"
1491ALIGN="RIGHT"
1492VALIGN="TOP"
1493><TT
1494CLASS="PARAMETER"
1495><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001496>ctxt</I
1497></TT
1498>&nbsp;:</TD
1499><TD
1500WIDTH="80%"
1501ALIGN="LEFT"
1502VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001503> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001504></TR
1505><TR
1506><TD
1507WIDTH="20%"
1508ALIGN="RIGHT"
1509VALIGN="TOP"
1510><TT
1511CLASS="PARAMETER"
1512><I
Daniel Veillard35925471999-02-25 08:46:07 +00001513>dtd</I
1514></TT
1515>&nbsp;:</TD
1516><TD
1517WIDTH="80%"
1518ALIGN="LEFT"
1519VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001520> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001521></TR
1522><TR
1523><TD
1524WIDTH="20%"
1525ALIGN="RIGHT"
1526VALIGN="TOP"
1527><TT
1528CLASS="PARAMETER"
1529><I
1530>name</I
1531></TT
1532>&nbsp;:</TD
1533><TD
1534WIDTH="80%"
1535ALIGN="LEFT"
1536VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001537> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001538></TR
1539><TR
1540><TD
1541WIDTH="20%"
1542ALIGN="RIGHT"
1543VALIGN="TOP"
1544><TT
1545CLASS="PARAMETER"
1546><I
1547>PublicID</I
1548></TT
1549>&nbsp;:</TD
1550><TD
1551WIDTH="80%"
1552ALIGN="LEFT"
1553VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001554> the public identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001555></TR
1556><TR
1557><TD
1558WIDTH="20%"
1559ALIGN="RIGHT"
1560VALIGN="TOP"
1561><TT
1562CLASS="PARAMETER"
1563><I
1564>SystemID</I
1565></TT
1566>&nbsp;:</TD
1567><TD
1568WIDTH="80%"
1569ALIGN="LEFT"
1570VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001571> the system identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001572></TR
1573><TR
1574><TD
1575WIDTH="20%"
1576ALIGN="RIGHT"
1577VALIGN="TOP"
1578><I
1579CLASS="EMPHASIS"
1580>Returns</I
1581> :</TD
1582><TD
1583WIDTH="80%"
1584ALIGN="LEFT"
1585VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001586>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001587></TR
1588></TABLE
1589><P
1590></P
1591></DIV
1592></DIV
1593><HR><DIV
1594CLASS="REFSECT2"
1595><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001596NAME="AEN7979"
Daniel Veillard35925471999-02-25 08:46:07 +00001597></A
1598><H3
1599><A
1600NAME="XMLCOPYNOTATIONTABLE"
1601></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001602>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001603><TABLE
1604BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001605BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001606WIDTH="100%"
1607CELLPADDING="6"
1608><TR
1609><TD
1610><PRE
1611CLASS="PROGRAMLISTING"
1612><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001613HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001614>xmlNotationTablePtr</A
1615> xmlCopyNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001616HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001617>xmlNotationTablePtr</A
1618> table);</PRE
1619></TD
1620></TR
1621></TABLE
1622><P
1623>Build a copy of a notation table.</P
1624><P
1625></P
1626><DIV
1627CLASS="INFORMALTABLE"
1628><P
1629></P
1630><TABLE
1631BORDER="0"
1632WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001633BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001634CELLSPACING="0"
1635CELLPADDING="4"
1636CLASS="CALSTABLE"
1637><TR
1638><TD
1639WIDTH="20%"
1640ALIGN="RIGHT"
1641VALIGN="TOP"
1642><TT
1643CLASS="PARAMETER"
1644><I
1645>table</I
1646></TT
1647>&nbsp;:</TD
1648><TD
1649WIDTH="80%"
1650ALIGN="LEFT"
1651VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001652> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001653></TR
1654><TR
1655><TD
1656WIDTH="20%"
1657ALIGN="RIGHT"
1658VALIGN="TOP"
1659><I
1660CLASS="EMPHASIS"
1661>Returns</I
1662> :</TD
1663><TD
1664WIDTH="80%"
1665ALIGN="LEFT"
1666VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001667>the new xmlNotationTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001668></TR
1669></TABLE
1670><P
1671></P
1672></DIV
1673></DIV
1674><HR><DIV
1675CLASS="REFSECT2"
1676><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001677NAME="AEN8000"
Daniel Veillard35925471999-02-25 08:46:07 +00001678></A
1679><H3
1680><A
1681NAME="XMLFREENOTATIONTABLE"
1682></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001683>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001684><TABLE
1685BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001686BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001687WIDTH="100%"
1688CELLPADDING="6"
1689><TR
1690><TD
1691><PRE
1692CLASS="PROGRAMLISTING"
1693>void xmlFreeNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001694HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001695>xmlNotationTablePtr</A
1696> table);</PRE
1697></TD
1698></TR
1699></TABLE
1700><P
1701>Deallocate the memory used by an entities hash table.</P
1702><P
1703></P
1704><DIV
1705CLASS="INFORMALTABLE"
1706><P
1707></P
1708><TABLE
1709BORDER="0"
1710WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001711BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001712CELLSPACING="0"
1713CELLPADDING="4"
1714CLASS="CALSTABLE"
1715><TR
1716><TD
1717WIDTH="20%"
1718ALIGN="RIGHT"
1719VALIGN="TOP"
1720><TT
1721CLASS="PARAMETER"
1722><I
1723>table</I
1724></TT
1725>&nbsp;:</TD
1726><TD
1727WIDTH="80%"
1728ALIGN="LEFT"
1729VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001730> An notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001731></TR
1732></TABLE
1733><P
1734></P
1735></DIV
1736></DIV
1737><HR><DIV
1738CLASS="REFSECT2"
1739><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001740NAME="AEN8016"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001741></A
1742><H3
1743><A
1744NAME="XMLDUMPNOTATIONDECL"
1745></A
1746>xmlDumpNotationDecl ()</H3
1747><TABLE
1748BORDER="0"
1749BGCOLOR="#D6E8FF"
1750WIDTH="100%"
1751CELLPADDING="6"
1752><TR
1753><TD
1754><PRE
1755CLASS="PROGRAMLISTING"
1756>void xmlDumpNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001757HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001758>xmlBufferPtr</A
1759> buf,
1760 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001761HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001762>xmlNotationPtr</A
1763> nota);</PRE
1764></TD
1765></TR
1766></TABLE
1767><P
1768>This will dump the content the notation declaration as an XML DTD definition</P
1769><P
1770></P
1771><DIV
1772CLASS="INFORMALTABLE"
1773><P
1774></P
1775><TABLE
1776BORDER="0"
1777WIDTH="100%"
1778BGCOLOR="#FFD0D0"
1779CELLSPACING="0"
1780CELLPADDING="4"
1781CLASS="CALSTABLE"
1782><TR
1783><TD
1784WIDTH="20%"
1785ALIGN="RIGHT"
1786VALIGN="TOP"
1787><TT
1788CLASS="PARAMETER"
1789><I
1790>buf</I
1791></TT
1792>&nbsp;:</TD
1793><TD
1794WIDTH="80%"
1795ALIGN="LEFT"
1796VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001797> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001798></TR
1799><TR
1800><TD
1801WIDTH="20%"
1802ALIGN="RIGHT"
1803VALIGN="TOP"
1804><TT
1805CLASS="PARAMETER"
1806><I
1807>nota</I
1808></TT
1809>&nbsp;:</TD
1810><TD
1811WIDTH="80%"
1812ALIGN="LEFT"
1813VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001814> A notation declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001815></TR
1816></TABLE
1817><P
1818></P
1819></DIV
1820></DIV
1821><HR><DIV
1822CLASS="REFSECT2"
1823><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001824NAME="AEN8037"
Daniel Veillard35925471999-02-25 08:46:07 +00001825></A
1826><H3
1827><A
1828NAME="XMLDUMPNOTATIONTABLE"
1829></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001830>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001831><TABLE
1832BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001833BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001834WIDTH="100%"
1835CELLPADDING="6"
1836><TR
1837><TD
1838><PRE
1839CLASS="PROGRAMLISTING"
1840>void xmlDumpNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001841HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001842>xmlBufferPtr</A
1843> buf,
1844 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001845HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001846>xmlNotationTablePtr</A
1847> table);</PRE
1848></TD
1849></TR
1850></TABLE
1851><P
1852>This will dump the content of the notation table as an XML DTD definition</P
1853><P
Daniel Veillard35925471999-02-25 08:46:07 +00001854></P
1855><DIV
1856CLASS="INFORMALTABLE"
1857><P
1858></P
1859><TABLE
1860BORDER="0"
1861WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001862BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001863CELLSPACING="0"
1864CELLPADDING="4"
1865CLASS="CALSTABLE"
1866><TR
1867><TD
1868WIDTH="20%"
1869ALIGN="RIGHT"
1870VALIGN="TOP"
1871><TT
1872CLASS="PARAMETER"
1873><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001874>buf</I
1875></TT
1876>&nbsp;:</TD
1877><TD
1878WIDTH="80%"
1879ALIGN="LEFT"
1880VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001881> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001882></TR
1883><TR
1884><TD
1885WIDTH="20%"
1886ALIGN="RIGHT"
1887VALIGN="TOP"
1888><TT
1889CLASS="PARAMETER"
1890><I
Daniel Veillard35925471999-02-25 08:46:07 +00001891>table</I
1892></TT
1893>&nbsp;:</TD
1894><TD
1895WIDTH="80%"
1896ALIGN="LEFT"
1897VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001898> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001899></TR
1900></TABLE
1901><P
1902></P
1903></DIV
1904></DIV
1905><HR><DIV
1906CLASS="REFSECT2"
1907><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001908NAME="AEN8058"
Daniel Veillard35925471999-02-25 08:46:07 +00001909></A
1910><H3
1911><A
1912NAME="XMLNEWELEMENTCONTENT"
1913></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001914>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001915><TABLE
1916BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001917BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001918WIDTH="100%"
1919CELLPADDING="6"
1920><TR
1921><TD
1922><PRE
1923CLASS="PROGRAMLISTING"
1924><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001925HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001926>xmlElementContentPtr</A
1927> xmlNewElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001928HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001929>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001930> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00001931 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001932HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00001933>xmlElementContentType</A
1934> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001935></TD
1936></TR
1937></TABLE
1938><P
1939>Allocate an element content structure.</P
1940><P
1941></P
1942><DIV
1943CLASS="INFORMALTABLE"
1944><P
1945></P
1946><TABLE
1947BORDER="0"
1948WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001949BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001950CELLSPACING="0"
1951CELLPADDING="4"
1952CLASS="CALSTABLE"
1953><TR
1954><TD
1955WIDTH="20%"
1956ALIGN="RIGHT"
1957VALIGN="TOP"
1958><TT
1959CLASS="PARAMETER"
1960><I
1961>name</I
1962></TT
1963>&nbsp;:</TD
1964><TD
1965WIDTH="80%"
1966ALIGN="LEFT"
1967VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001968> the subelement name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001969></TR
1970><TR
1971><TD
1972WIDTH="20%"
1973ALIGN="RIGHT"
1974VALIGN="TOP"
1975><TT
1976CLASS="PARAMETER"
1977><I
1978>type</I
1979></TT
1980>&nbsp;:</TD
1981><TD
1982WIDTH="80%"
1983ALIGN="LEFT"
1984VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001985> the type of element content decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001986></TR
1987><TR
1988><TD
1989WIDTH="20%"
1990ALIGN="RIGHT"
1991VALIGN="TOP"
1992><I
1993CLASS="EMPHASIS"
1994>Returns</I
1995> :</TD
1996><TD
1997WIDTH="80%"
1998ALIGN="LEFT"
1999VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002000>NULL if not, othervise the new element content structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002001></TR
2002></TABLE
2003><P
2004></P
2005></DIV
2006></DIV
2007><HR><DIV
2008CLASS="REFSECT2"
2009><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002010NAME="AEN8084"
Daniel Veillard35925471999-02-25 08:46:07 +00002011></A
2012><H3
2013><A
2014NAME="XMLCOPYELEMENTCONTENT"
2015></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002016>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002017><TABLE
2018BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002019BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002020WIDTH="100%"
2021CELLPADDING="6"
2022><TR
2023><TD
2024><PRE
2025CLASS="PROGRAMLISTING"
2026><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002027HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002028>xmlElementContentPtr</A
2029> xmlCopyElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002030HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002031>xmlElementContentPtr</A
2032> content);</PRE
2033></TD
2034></TR
2035></TABLE
2036><P
2037>Build a copy of an element content description.</P
2038><P
2039></P
2040><DIV
2041CLASS="INFORMALTABLE"
2042><P
2043></P
2044><TABLE
2045BORDER="0"
2046WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002047BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002048CELLSPACING="0"
2049CELLPADDING="4"
2050CLASS="CALSTABLE"
2051><TR
2052><TD
2053WIDTH="20%"
2054ALIGN="RIGHT"
2055VALIGN="TOP"
2056><TT
2057CLASS="PARAMETER"
2058><I
2059>content</I
2060></TT
2061>&nbsp;:</TD
2062><TD
2063WIDTH="80%"
2064ALIGN="LEFT"
2065VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002066> An element content pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002067></TR
2068><TR
2069><TD
2070WIDTH="20%"
2071ALIGN="RIGHT"
2072VALIGN="TOP"
2073><I
2074CLASS="EMPHASIS"
2075>Returns</I
2076> :</TD
2077><TD
2078WIDTH="80%"
2079ALIGN="LEFT"
2080VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002081>the new xmlElementContentPtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002082></TR
2083></TABLE
2084><P
2085></P
2086></DIV
2087></DIV
2088><HR><DIV
2089CLASS="REFSECT2"
2090><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002091NAME="AEN8105"
Daniel Veillard35925471999-02-25 08:46:07 +00002092></A
2093><H3
2094><A
2095NAME="XMLFREEELEMENTCONTENT"
2096></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002097>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002098><TABLE
2099BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002100BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002101WIDTH="100%"
2102CELLPADDING="6"
2103><TR
2104><TD
2105><PRE
2106CLASS="PROGRAMLISTING"
2107>void xmlFreeElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002108HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002109>xmlElementContentPtr</A
2110> cur);</PRE
2111></TD
2112></TR
2113></TABLE
2114><P
2115>Free an element content structure. This is a recursive call !</P
2116><P
2117></P
2118><DIV
2119CLASS="INFORMALTABLE"
2120><P
2121></P
2122><TABLE
2123BORDER="0"
2124WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002125BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002126CELLSPACING="0"
2127CELLPADDING="4"
2128CLASS="CALSTABLE"
2129><TR
2130><TD
2131WIDTH="20%"
2132ALIGN="RIGHT"
2133VALIGN="TOP"
2134><TT
2135CLASS="PARAMETER"
2136><I
2137>cur</I
2138></TT
2139>&nbsp;:</TD
2140><TD
2141WIDTH="80%"
2142ALIGN="LEFT"
2143VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002144> the element content tree to free</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002145></TR
2146></TABLE
2147><P
2148></P
2149></DIV
2150></DIV
2151><HR><DIV
2152CLASS="REFSECT2"
2153><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002154NAME="AEN8121"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002155></A
2156><H3
2157><A
2158NAME="XMLSPRINTFELEMENTCONTENT"
2159></A
2160>xmlSprintfElementContent ()</H3
2161><TABLE
2162BORDER="0"
2163BGCOLOR="#D6E8FF"
2164WIDTH="100%"
2165CELLPADDING="6"
2166><TR
2167><TD
2168><PRE
2169CLASS="PROGRAMLISTING"
2170>void xmlSprintfElementContent (char *buf,
2171 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002172HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002173>xmlElementContentPtr</A
2174> content,
2175 int glob);</PRE
2176></TD
2177></TR
2178></TABLE
2179><P
2180>This will dump the content of the element content definition
2181Intended just for the debug routine</P
2182><P
2183></P
2184><DIV
2185CLASS="INFORMALTABLE"
2186><P
2187></P
2188><TABLE
2189BORDER="0"
2190WIDTH="100%"
2191BGCOLOR="#FFD0D0"
2192CELLSPACING="0"
2193CELLPADDING="4"
2194CLASS="CALSTABLE"
2195><TR
2196><TD
2197WIDTH="20%"
2198ALIGN="RIGHT"
2199VALIGN="TOP"
2200><TT
2201CLASS="PARAMETER"
2202><I
2203>buf</I
2204></TT
2205>&nbsp;:</TD
2206><TD
2207WIDTH="80%"
2208ALIGN="LEFT"
2209VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002210> an output buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002211></TR
2212><TR
2213><TD
2214WIDTH="20%"
2215ALIGN="RIGHT"
2216VALIGN="TOP"
2217><TT
2218CLASS="PARAMETER"
2219><I
2220>content</I
2221></TT
2222>&nbsp;:</TD
2223><TD
2224WIDTH="80%"
2225ALIGN="LEFT"
2226VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002227> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002228></TR
2229><TR
2230><TD
2231WIDTH="20%"
2232ALIGN="RIGHT"
2233VALIGN="TOP"
2234><TT
2235CLASS="PARAMETER"
2236><I
2237>glob</I
2238></TT
2239>&nbsp;:</TD
2240><TD
2241WIDTH="80%"
2242ALIGN="LEFT"
2243VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002244> 1 if one must print the englobing parenthesis, 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002245></TR
2246></TABLE
2247><P
2248></P
2249></DIV
2250></DIV
2251><HR><DIV
2252CLASS="REFSECT2"
2253><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002254NAME="AEN8145"
Daniel Veillard35925471999-02-25 08:46:07 +00002255></A
2256><H3
2257><A
2258NAME="XMLADDELEMENTDECL"
2259></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002260>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002261><TABLE
2262BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002263BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002264WIDTH="100%"
2265CELLPADDING="6"
2266><TR
2267><TD
2268><PRE
2269CLASS="PROGRAMLISTING"
2270><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002271HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002272>xmlElementPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002273> xmlAddElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002274HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002275>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002276> ctxt,
2277 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002278HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002279>xmlDtdPtr</A
2280> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002281 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002282HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002283>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002284> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002285 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002286HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard4c3a2031999-11-19 17:46:26 +00002287>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002288> type,
Daniel Veillard35925471999-02-25 08:46:07 +00002289 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002290HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002291>xmlElementContentPtr</A
2292> content);</PRE
2293></TD
2294></TR
2295></TABLE
2296><P
2297>Register a new element declaration</P
2298><P
2299></P
2300><DIV
2301CLASS="INFORMALTABLE"
2302><P
2303></P
2304><TABLE
2305BORDER="0"
2306WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002307BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002308CELLSPACING="0"
2309CELLPADDING="4"
2310CLASS="CALSTABLE"
2311><TR
2312><TD
2313WIDTH="20%"
2314ALIGN="RIGHT"
2315VALIGN="TOP"
2316><TT
2317CLASS="PARAMETER"
2318><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002319>ctxt</I
2320></TT
2321>&nbsp;:</TD
2322><TD
2323WIDTH="80%"
2324ALIGN="LEFT"
2325VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002326> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002327></TR
2328><TR
2329><TD
2330WIDTH="20%"
2331ALIGN="RIGHT"
2332VALIGN="TOP"
2333><TT
2334CLASS="PARAMETER"
2335><I
Daniel Veillard35925471999-02-25 08:46:07 +00002336>dtd</I
2337></TT
2338>&nbsp;:</TD
2339><TD
2340WIDTH="80%"
2341ALIGN="LEFT"
2342VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002343> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002344></TR
2345><TR
2346><TD
2347WIDTH="20%"
2348ALIGN="RIGHT"
2349VALIGN="TOP"
2350><TT
2351CLASS="PARAMETER"
2352><I
2353>name</I
2354></TT
2355>&nbsp;:</TD
2356><TD
2357WIDTH="80%"
2358ALIGN="LEFT"
2359VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002360> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002361></TR
2362><TR
2363><TD
2364WIDTH="20%"
2365ALIGN="RIGHT"
2366VALIGN="TOP"
2367><TT
2368CLASS="PARAMETER"
2369><I
2370>type</I
2371></TT
2372>&nbsp;:</TD
2373><TD
2374WIDTH="80%"
2375ALIGN="LEFT"
2376VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002377> the element type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002378></TR
2379><TR
2380><TD
2381WIDTH="20%"
2382ALIGN="RIGHT"
2383VALIGN="TOP"
2384><TT
2385CLASS="PARAMETER"
2386><I
2387>content</I
2388></TT
2389>&nbsp;:</TD
2390><TD
2391WIDTH="80%"
2392ALIGN="LEFT"
2393VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002394> the element content tree or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002395></TR
2396><TR
2397><TD
2398WIDTH="20%"
2399ALIGN="RIGHT"
2400VALIGN="TOP"
2401><I
2402CLASS="EMPHASIS"
2403>Returns</I
2404> :</TD
2405><TD
2406WIDTH="80%"
2407ALIGN="LEFT"
2408VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002409>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002410></TR
2411></TABLE
2412><P
2413></P
2414></DIV
2415></DIV
2416><HR><DIV
2417CLASS="REFSECT2"
2418><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002419NAME="AEN8186"
Daniel Veillard35925471999-02-25 08:46:07 +00002420></A
2421><H3
2422><A
2423NAME="XMLCOPYELEMENTTABLE"
2424></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002425>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002426><TABLE
2427BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002428BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002429WIDTH="100%"
2430CELLPADDING="6"
2431><TR
2432><TD
2433><PRE
2434CLASS="PROGRAMLISTING"
2435><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002436HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002437>xmlElementTablePtr</A
2438> xmlCopyElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002439HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002440>xmlElementTablePtr</A
2441> table);</PRE
2442></TD
2443></TR
2444></TABLE
2445><P
2446>Build a copy of an element table.</P
2447><P
2448></P
2449><DIV
2450CLASS="INFORMALTABLE"
2451><P
2452></P
2453><TABLE
2454BORDER="0"
2455WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002456BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002457CELLSPACING="0"
2458CELLPADDING="4"
2459CLASS="CALSTABLE"
2460><TR
2461><TD
2462WIDTH="20%"
2463ALIGN="RIGHT"
2464VALIGN="TOP"
2465><TT
2466CLASS="PARAMETER"
2467><I
2468>table</I
2469></TT
2470>&nbsp;:</TD
2471><TD
2472WIDTH="80%"
2473ALIGN="LEFT"
2474VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002475> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002476></TR
2477><TR
2478><TD
2479WIDTH="20%"
2480ALIGN="RIGHT"
2481VALIGN="TOP"
2482><I
2483CLASS="EMPHASIS"
2484>Returns</I
2485> :</TD
2486><TD
2487WIDTH="80%"
2488ALIGN="LEFT"
2489VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002490>the new xmlElementTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002491></TR
2492></TABLE
2493><P
2494></P
2495></DIV
2496></DIV
2497><HR><DIV
2498CLASS="REFSECT2"
2499><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002500NAME="AEN8207"
Daniel Veillard35925471999-02-25 08:46:07 +00002501></A
2502><H3
2503><A
2504NAME="XMLFREEELEMENTTABLE"
2505></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002506>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002507><TABLE
2508BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002509BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002510WIDTH="100%"
2511CELLPADDING="6"
2512><TR
2513><TD
2514><PRE
2515CLASS="PROGRAMLISTING"
2516>void xmlFreeElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002517HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002518>xmlElementTablePtr</A
2519> table);</PRE
2520></TD
2521></TR
2522></TABLE
2523><P
2524>Deallocate the memory used by an element hash table.</P
2525><P
2526></P
2527><DIV
2528CLASS="INFORMALTABLE"
2529><P
2530></P
2531><TABLE
2532BORDER="0"
2533WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002534BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002535CELLSPACING="0"
2536CELLPADDING="4"
2537CLASS="CALSTABLE"
2538><TR
2539><TD
2540WIDTH="20%"
2541ALIGN="RIGHT"
2542VALIGN="TOP"
2543><TT
2544CLASS="PARAMETER"
2545><I
2546>table</I
2547></TT
2548>&nbsp;:</TD
2549><TD
2550WIDTH="80%"
2551ALIGN="LEFT"
2552VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002553> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002554></TR
2555></TABLE
2556><P
2557></P
2558></DIV
2559></DIV
2560><HR><DIV
2561CLASS="REFSECT2"
2562><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002563NAME="AEN8223"
Daniel Veillard35925471999-02-25 08:46:07 +00002564></A
2565><H3
2566><A
2567NAME="XMLDUMPELEMENTTABLE"
2568></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002569>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002570><TABLE
2571BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002572BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002573WIDTH="100%"
2574CELLPADDING="6"
2575><TR
2576><TD
2577><PRE
2578CLASS="PROGRAMLISTING"
2579>void xmlDumpElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002580HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002581>xmlBufferPtr</A
2582> buf,
2583 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002584HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002585>xmlElementTablePtr</A
2586> table);</PRE
2587></TD
2588></TR
2589></TABLE
2590><P
2591>This will dump the content of the element table as an XML DTD definition</P
2592><P
Daniel Veillard35925471999-02-25 08:46:07 +00002593></P
2594><DIV
2595CLASS="INFORMALTABLE"
2596><P
2597></P
2598><TABLE
2599BORDER="0"
2600WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002601BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002602CELLSPACING="0"
2603CELLPADDING="4"
2604CLASS="CALSTABLE"
2605><TR
2606><TD
2607WIDTH="20%"
2608ALIGN="RIGHT"
2609VALIGN="TOP"
2610><TT
2611CLASS="PARAMETER"
2612><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002613>buf</I
2614></TT
2615>&nbsp;:</TD
2616><TD
2617WIDTH="80%"
2618ALIGN="LEFT"
2619VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002620> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002621></TR
2622><TR
2623><TD
2624WIDTH="20%"
2625ALIGN="RIGHT"
2626VALIGN="TOP"
2627><TT
2628CLASS="PARAMETER"
2629><I
Daniel Veillard35925471999-02-25 08:46:07 +00002630>table</I
2631></TT
2632>&nbsp;:</TD
2633><TD
2634WIDTH="80%"
2635ALIGN="LEFT"
2636VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002637> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002638></TR
2639></TABLE
2640><P
2641></P
2642></DIV
2643></DIV
2644><HR><DIV
2645CLASS="REFSECT2"
2646><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002647NAME="AEN8244"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002648></A
2649><H3
2650><A
2651NAME="XMLDUMPELEMENTDECL"
2652></A
2653>xmlDumpElementDecl ()</H3
2654><TABLE
2655BORDER="0"
2656BGCOLOR="#D6E8FF"
2657WIDTH="100%"
2658CELLPADDING="6"
2659><TR
2660><TD
2661><PRE
2662CLASS="PROGRAMLISTING"
2663>void xmlDumpElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002664HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002665>xmlBufferPtr</A
2666> buf,
2667 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002668HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002669>xmlElementPtr</A
2670> elem);</PRE
2671></TD
2672></TR
2673></TABLE
2674><P
2675>This will dump the content of the element declaration as an XML
2676DTD definition</P
2677><P
2678></P
2679><DIV
2680CLASS="INFORMALTABLE"
2681><P
2682></P
2683><TABLE
2684BORDER="0"
2685WIDTH="100%"
2686BGCOLOR="#FFD0D0"
2687CELLSPACING="0"
2688CELLPADDING="4"
2689CLASS="CALSTABLE"
2690><TR
2691><TD
2692WIDTH="20%"
2693ALIGN="RIGHT"
2694VALIGN="TOP"
2695><TT
2696CLASS="PARAMETER"
2697><I
2698>buf</I
2699></TT
2700>&nbsp;:</TD
2701><TD
2702WIDTH="80%"
2703ALIGN="LEFT"
2704VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002705> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002706></TR
2707><TR
2708><TD
2709WIDTH="20%"
2710ALIGN="RIGHT"
2711VALIGN="TOP"
2712><TT
2713CLASS="PARAMETER"
2714><I
2715>elem</I
2716></TT
2717>&nbsp;:</TD
2718><TD
2719WIDTH="80%"
2720ALIGN="LEFT"
2721VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002722> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002723></TR
2724></TABLE
2725><P
2726></P
2727></DIV
2728></DIV
2729><HR><DIV
2730CLASS="REFSECT2"
2731><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002732NAME="AEN8265"
Daniel Veillard35925471999-02-25 08:46:07 +00002733></A
2734><H3
2735><A
2736NAME="XMLCREATEENUMERATION"
2737></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002738>xmlCreateEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002739><TABLE
2740BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002741BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002742WIDTH="100%"
2743CELLPADDING="6"
2744><TR
2745><TD
2746><PRE
2747CLASS="PROGRAMLISTING"
2748><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002749HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002750>xmlEnumerationPtr</A
2751> xmlCreateEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002752HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002753>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002754> *name);</PRE
2755></TD
2756></TR
2757></TABLE
2758><P
2759>create and initialize an enumeration attribute node.</P
2760><P
2761></P
2762><DIV
2763CLASS="INFORMALTABLE"
2764><P
2765></P
2766><TABLE
2767BORDER="0"
2768WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002769BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002770CELLSPACING="0"
2771CELLPADDING="4"
2772CLASS="CALSTABLE"
2773><TR
2774><TD
2775WIDTH="20%"
2776ALIGN="RIGHT"
2777VALIGN="TOP"
2778><TT
2779CLASS="PARAMETER"
2780><I
2781>name</I
2782></TT
2783>&nbsp;:</TD
2784><TD
2785WIDTH="80%"
2786ALIGN="LEFT"
2787VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002788> the enumeration name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002789></TR
2790><TR
2791><TD
2792WIDTH="20%"
2793ALIGN="RIGHT"
2794VALIGN="TOP"
2795><I
2796CLASS="EMPHASIS"
2797>Returns</I
2798> :</TD
2799><TD
2800WIDTH="80%"
2801ALIGN="LEFT"
2802VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002803>the xmlEnumerationPtr just created or NULL in case
2804of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002805></TR
2806></TABLE
2807><P
2808></P
2809></DIV
2810></DIV
2811><HR><DIV
2812CLASS="REFSECT2"
2813><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002814NAME="AEN8286"
Daniel Veillard35925471999-02-25 08:46:07 +00002815></A
2816><H3
2817><A
2818NAME="XMLFREEENUMERATION"
2819></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002820>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002821><TABLE
2822BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002823BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002824WIDTH="100%"
2825CELLPADDING="6"
2826><TR
2827><TD
2828><PRE
2829CLASS="PROGRAMLISTING"
2830>void xmlFreeEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002831HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002832>xmlEnumerationPtr</A
2833> cur);</PRE
2834></TD
2835></TR
2836></TABLE
2837><P
2838>free an enumeration attribute node (recursive).</P
2839><P
2840></P
2841><DIV
2842CLASS="INFORMALTABLE"
2843><P
2844></P
2845><TABLE
2846BORDER="0"
2847WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002848BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002849CELLSPACING="0"
2850CELLPADDING="4"
2851CLASS="CALSTABLE"
2852><TR
2853><TD
2854WIDTH="20%"
2855ALIGN="RIGHT"
2856VALIGN="TOP"
2857><TT
2858CLASS="PARAMETER"
2859><I
2860>cur</I
2861></TT
2862>&nbsp;:</TD
2863><TD
2864WIDTH="80%"
2865ALIGN="LEFT"
2866VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002867> the tree to free.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002868></TR
2869></TABLE
2870><P
2871></P
2872></DIV
2873></DIV
2874><HR><DIV
2875CLASS="REFSECT2"
2876><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002877NAME="AEN8302"
Daniel Veillard35925471999-02-25 08:46:07 +00002878></A
2879><H3
2880><A
2881NAME="XMLCOPYENUMERATION"
2882></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002883>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002884><TABLE
2885BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002886BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002887WIDTH="100%"
2888CELLPADDING="6"
2889><TR
2890><TD
2891><PRE
2892CLASS="PROGRAMLISTING"
2893><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002894HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002895>xmlEnumerationPtr</A
2896> xmlCopyEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002897HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002898>xmlEnumerationPtr</A
2899> cur);</PRE
2900></TD
2901></TR
2902></TABLE
2903><P
2904>Copy an enumeration attribute node (recursive).</P
2905><P
2906></P
2907><DIV
2908CLASS="INFORMALTABLE"
2909><P
2910></P
2911><TABLE
2912BORDER="0"
2913WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002914BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002915CELLSPACING="0"
2916CELLPADDING="4"
2917CLASS="CALSTABLE"
2918><TR
2919><TD
2920WIDTH="20%"
2921ALIGN="RIGHT"
2922VALIGN="TOP"
2923><TT
2924CLASS="PARAMETER"
2925><I
2926>cur</I
2927></TT
2928>&nbsp;:</TD
2929><TD
2930WIDTH="80%"
2931ALIGN="LEFT"
2932VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002933> the tree to copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002934></TR
2935><TR
2936><TD
2937WIDTH="20%"
2938ALIGN="RIGHT"
2939VALIGN="TOP"
2940><I
2941CLASS="EMPHASIS"
2942>Returns</I
2943> :</TD
2944><TD
2945WIDTH="80%"
2946ALIGN="LEFT"
2947VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002948>the xmlEnumerationPtr just created or NULL in case
2949of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002950></TR
2951></TABLE
2952><P
2953></P
2954></DIV
2955></DIV
2956><HR><DIV
2957CLASS="REFSECT2"
2958><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002959NAME="AEN8323"
Daniel Veillard35925471999-02-25 08:46:07 +00002960></A
2961><H3
2962><A
2963NAME="XMLADDATTRIBUTEDECL"
2964></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002965>xmlAddAttributeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002966><TABLE
2967BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002968BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002969WIDTH="100%"
2970CELLPADDING="6"
2971><TR
2972><TD
2973><PRE
2974CLASS="PROGRAMLISTING"
2975><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002976HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002977>xmlAttributePtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002978> xmlAddAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002979HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002980>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002981> ctxt,
2982 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002983HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002984>xmlDtdPtr</A
2985> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002986 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002987HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002988>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002989> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002990 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002991HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002992>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002993> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002994 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002995HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002996>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +00002997> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002998 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002999HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003000>xmlAttributeType</A
3001> type,
3002 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003003HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003004>xmlAttributeDefault</A
3005> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003006 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003007HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003008>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003009> *defaultValue,
3010 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003011HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003012>xmlEnumerationPtr</A
3013> tree);</PRE
3014></TD
3015></TR
3016></TABLE
3017><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003018>Register a new attribute declaration
3019Note that <TT
3020CLASS="PARAMETER"
3021><I
3022>tree</I
3023></TT
3024> becomes the ownership of the DTD</P
Daniel Veillard35925471999-02-25 08:46:07 +00003025><P
3026></P
3027><DIV
3028CLASS="INFORMALTABLE"
3029><P
3030></P
3031><TABLE
3032BORDER="0"
3033WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003034BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003035CELLSPACING="0"
3036CELLPADDING="4"
3037CLASS="CALSTABLE"
3038><TR
3039><TD
3040WIDTH="20%"
3041ALIGN="RIGHT"
3042VALIGN="TOP"
3043><TT
3044CLASS="PARAMETER"
3045><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00003046>ctxt</I
3047></TT
3048>&nbsp;:</TD
3049><TD
3050WIDTH="80%"
3051ALIGN="LEFT"
3052VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003053> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003054></TR
3055><TR
3056><TD
3057WIDTH="20%"
3058ALIGN="RIGHT"
3059VALIGN="TOP"
3060><TT
3061CLASS="PARAMETER"
3062><I
Daniel Veillard35925471999-02-25 08:46:07 +00003063>dtd</I
3064></TT
3065>&nbsp;:</TD
3066><TD
3067WIDTH="80%"
3068ALIGN="LEFT"
3069VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003070> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003071></TR
3072><TR
3073><TD
3074WIDTH="20%"
3075ALIGN="RIGHT"
3076VALIGN="TOP"
3077><TT
3078CLASS="PARAMETER"
3079><I
3080>elem</I
3081></TT
3082>&nbsp;:</TD
3083><TD
3084WIDTH="80%"
3085ALIGN="LEFT"
3086VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003087> the element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003088></TR
3089><TR
3090><TD
3091WIDTH="20%"
3092ALIGN="RIGHT"
3093VALIGN="TOP"
3094><TT
3095CLASS="PARAMETER"
3096><I
3097>name</I
3098></TT
3099>&nbsp;:</TD
3100><TD
3101WIDTH="80%"
3102ALIGN="LEFT"
3103VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003104> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003105></TR
3106><TR
3107><TD
3108WIDTH="20%"
3109ALIGN="RIGHT"
3110VALIGN="TOP"
3111><TT
3112CLASS="PARAMETER"
3113><I
Daniel Veillard06047432000-04-24 11:33:38 +00003114>ns</I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003115></TT
3116>&nbsp;:</TD
3117><TD
3118WIDTH="80%"
3119ALIGN="LEFT"
3120VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003121> the attribute namespace prefix</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003122></TR
3123><TR
3124><TD
3125WIDTH="20%"
3126ALIGN="RIGHT"
3127VALIGN="TOP"
3128><TT
3129CLASS="PARAMETER"
3130><I
Daniel Veillard35925471999-02-25 08:46:07 +00003131>type</I
3132></TT
3133>&nbsp;:</TD
3134><TD
3135WIDTH="80%"
3136ALIGN="LEFT"
3137VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003138> the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003139></TR
3140><TR
3141><TD
3142WIDTH="20%"
3143ALIGN="RIGHT"
3144VALIGN="TOP"
3145><TT
3146CLASS="PARAMETER"
3147><I
3148>def</I
3149></TT
3150>&nbsp;:</TD
3151><TD
3152WIDTH="80%"
3153ALIGN="LEFT"
3154VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003155> the attribute default type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003156></TR
3157><TR
3158><TD
3159WIDTH="20%"
3160ALIGN="RIGHT"
3161VALIGN="TOP"
3162><TT
3163CLASS="PARAMETER"
3164><I
3165>defaultValue</I
3166></TT
3167>&nbsp;:</TD
3168><TD
3169WIDTH="80%"
3170ALIGN="LEFT"
3171VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003172> the attribute default value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003173></TR
3174><TR
3175><TD
3176WIDTH="20%"
3177ALIGN="RIGHT"
3178VALIGN="TOP"
3179><TT
3180CLASS="PARAMETER"
3181><I
3182>tree</I
3183></TT
3184>&nbsp;:</TD
3185><TD
3186WIDTH="80%"
3187ALIGN="LEFT"
3188VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003189> if it's an enumeration, the associated list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003190></TR
3191><TR
3192><TD
3193WIDTH="20%"
3194ALIGN="RIGHT"
3195VALIGN="TOP"
3196><I
3197CLASS="EMPHASIS"
3198>Returns</I
3199> :</TD
3200><TD
3201WIDTH="80%"
3202ALIGN="LEFT"
3203VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003204>NULL if not new, othervise the attribute decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003205></TR
3206></TABLE
3207><P
3208></P
3209></DIV
3210></DIV
3211><HR><DIV
3212CLASS="REFSECT2"
3213><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003214NAME="AEN8385"
Daniel Veillard35925471999-02-25 08:46:07 +00003215></A
3216><H3
3217><A
3218NAME="XMLCOPYATTRIBUTETABLE"
3219></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003220>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003221><TABLE
3222BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003223BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003224WIDTH="100%"
3225CELLPADDING="6"
3226><TR
3227><TD
3228><PRE
3229CLASS="PROGRAMLISTING"
3230><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003231HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003232>xmlAttributeTablePtr</A
3233> xmlCopyAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003234HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003235>xmlAttributeTablePtr</A
3236> table);</PRE
3237></TD
3238></TR
3239></TABLE
3240><P
3241>Build a copy of an attribute table.</P
3242><P
3243></P
3244><DIV
3245CLASS="INFORMALTABLE"
3246><P
3247></P
3248><TABLE
3249BORDER="0"
3250WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003251BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003252CELLSPACING="0"
3253CELLPADDING="4"
3254CLASS="CALSTABLE"
3255><TR
3256><TD
3257WIDTH="20%"
3258ALIGN="RIGHT"
3259VALIGN="TOP"
3260><TT
3261CLASS="PARAMETER"
3262><I
3263>table</I
3264></TT
3265>&nbsp;:</TD
3266><TD
3267WIDTH="80%"
3268ALIGN="LEFT"
3269VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003270> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003271></TR
3272><TR
3273><TD
3274WIDTH="20%"
3275ALIGN="RIGHT"
3276VALIGN="TOP"
3277><I
3278CLASS="EMPHASIS"
3279>Returns</I
3280> :</TD
3281><TD
3282WIDTH="80%"
3283ALIGN="LEFT"
3284VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003285>the new xmlAttributeTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003286></TR
3287></TABLE
3288><P
3289></P
3290></DIV
3291></DIV
3292><HR><DIV
3293CLASS="REFSECT2"
3294><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003295NAME="AEN8406"
Daniel Veillard35925471999-02-25 08:46:07 +00003296></A
3297><H3
3298><A
3299NAME="XMLFREEATTRIBUTETABLE"
3300></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003301>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003302><TABLE
3303BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003304BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003305WIDTH="100%"
3306CELLPADDING="6"
3307><TR
3308><TD
3309><PRE
3310CLASS="PROGRAMLISTING"
3311>void xmlFreeAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003312HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003313>xmlAttributeTablePtr</A
3314> table);</PRE
3315></TD
3316></TR
3317></TABLE
3318><P
3319>Deallocate the memory used by an entities hash table.</P
3320><P
3321></P
3322><DIV
3323CLASS="INFORMALTABLE"
3324><P
3325></P
3326><TABLE
3327BORDER="0"
3328WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003329BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003330CELLSPACING="0"
3331CELLPADDING="4"
3332CLASS="CALSTABLE"
3333><TR
3334><TD
3335WIDTH="20%"
3336ALIGN="RIGHT"
3337VALIGN="TOP"
3338><TT
3339CLASS="PARAMETER"
3340><I
3341>table</I
3342></TT
3343>&nbsp;:</TD
3344><TD
3345WIDTH="80%"
3346ALIGN="LEFT"
3347VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003348> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003349></TR
3350></TABLE
3351><P
3352></P
3353></DIV
3354></DIV
3355><HR><DIV
3356CLASS="REFSECT2"
3357><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003358NAME="AEN8422"
Daniel Veillard35925471999-02-25 08:46:07 +00003359></A
3360><H3
3361><A
3362NAME="XMLDUMPATTRIBUTETABLE"
3363></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003364>xmlDumpAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003365><TABLE
3366BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003367BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003368WIDTH="100%"
3369CELLPADDING="6"
3370><TR
3371><TD
3372><PRE
3373CLASS="PROGRAMLISTING"
3374>void xmlDumpAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003375HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003376>xmlBufferPtr</A
3377> buf,
3378 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003379HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003380>xmlAttributeTablePtr</A
3381> table);</PRE
3382></TD
3383></TR
3384></TABLE
3385><P
3386>This will dump the content of the attribute table as an XML DTD definition</P
3387><P
Daniel Veillard35925471999-02-25 08:46:07 +00003388></P
3389><DIV
3390CLASS="INFORMALTABLE"
3391><P
3392></P
3393><TABLE
3394BORDER="0"
3395WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003396BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003397CELLSPACING="0"
3398CELLPADDING="4"
3399CLASS="CALSTABLE"
3400><TR
3401><TD
3402WIDTH="20%"
3403ALIGN="RIGHT"
3404VALIGN="TOP"
3405><TT
3406CLASS="PARAMETER"
3407><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003408>buf</I
3409></TT
3410>&nbsp;:</TD
3411><TD
3412WIDTH="80%"
3413ALIGN="LEFT"
3414VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003415> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003416></TR
3417><TR
3418><TD
3419WIDTH="20%"
3420ALIGN="RIGHT"
3421VALIGN="TOP"
3422><TT
3423CLASS="PARAMETER"
3424><I
Daniel Veillard35925471999-02-25 08:46:07 +00003425>table</I
3426></TT
3427>&nbsp;:</TD
3428><TD
3429WIDTH="80%"
3430ALIGN="LEFT"
3431VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003432> An attribute table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003433></TR
3434></TABLE
3435><P
3436></P
3437></DIV
3438></DIV
3439><HR><DIV
3440CLASS="REFSECT2"
3441><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003442NAME="AEN8443"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003443></A
3444><H3
3445><A
3446NAME="XMLDUMPATTRIBUTEDECL"
3447></A
3448>xmlDumpAttributeDecl ()</H3
3449><TABLE
3450BORDER="0"
3451BGCOLOR="#D6E8FF"
3452WIDTH="100%"
3453CELLPADDING="6"
3454><TR
3455><TD
3456><PRE
3457CLASS="PROGRAMLISTING"
3458>void xmlDumpAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003459HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003460>xmlBufferPtr</A
3461> buf,
3462 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003463HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003464>xmlAttributePtr</A
3465> attr);</PRE
3466></TD
3467></TR
3468></TABLE
3469><P
3470>This will dump the content of the attribute declaration as an XML
3471DTD definition</P
3472><P
3473></P
3474><DIV
3475CLASS="INFORMALTABLE"
3476><P
3477></P
3478><TABLE
3479BORDER="0"
3480WIDTH="100%"
3481BGCOLOR="#FFD0D0"
3482CELLSPACING="0"
3483CELLPADDING="4"
3484CLASS="CALSTABLE"
3485><TR
3486><TD
3487WIDTH="20%"
3488ALIGN="RIGHT"
3489VALIGN="TOP"
3490><TT
3491CLASS="PARAMETER"
3492><I
3493>buf</I
3494></TT
3495>&nbsp;:</TD
3496><TD
3497WIDTH="80%"
3498ALIGN="LEFT"
3499VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003500> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003501></TR
3502><TR
3503><TD
3504WIDTH="20%"
3505ALIGN="RIGHT"
3506VALIGN="TOP"
3507><TT
3508CLASS="PARAMETER"
3509><I
3510>attr</I
3511></TT
3512>&nbsp;:</TD
3513><TD
3514WIDTH="80%"
3515ALIGN="LEFT"
3516VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003517> An attribute declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003518></TR
3519></TABLE
3520><P
3521></P
3522></DIV
3523></DIV
3524><HR><DIV
3525CLASS="REFSECT2"
3526><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003527NAME="AEN8464"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003528></A
3529><H3
3530><A
3531NAME="XMLADDID"
3532></A
3533>xmlAddID ()</H3
3534><TABLE
3535BORDER="0"
3536BGCOLOR="#D6E8FF"
3537WIDTH="100%"
3538CELLPADDING="6"
3539><TR
3540><TD
3541><PRE
3542CLASS="PROGRAMLISTING"
3543><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003544HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003545>xmlIDPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003546> xmlAddID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003547HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003548>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003549> ctxt,
3550 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003551HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003552>xmlDocPtr</A
3553> doc,
3554 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003555HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003556>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003557> *value,
3558 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003559HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003560>xmlAttrPtr</A
3561> attr);</PRE
3562></TD
3563></TR
3564></TABLE
3565><P
3566>Register a new id declaration</P
3567><P
3568></P
3569><DIV
3570CLASS="INFORMALTABLE"
3571><P
3572></P
3573><TABLE
3574BORDER="0"
3575WIDTH="100%"
3576BGCOLOR="#FFD0D0"
3577CELLSPACING="0"
3578CELLPADDING="4"
3579CLASS="CALSTABLE"
3580><TR
3581><TD
3582WIDTH="20%"
3583ALIGN="RIGHT"
3584VALIGN="TOP"
3585><TT
3586CLASS="PARAMETER"
3587><I
3588>ctxt</I
3589></TT
3590>&nbsp;:</TD
3591><TD
3592WIDTH="80%"
3593ALIGN="LEFT"
3594VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003595> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003596></TR
3597><TR
3598><TD
3599WIDTH="20%"
3600ALIGN="RIGHT"
3601VALIGN="TOP"
3602><TT
3603CLASS="PARAMETER"
3604><I
3605>doc</I
3606></TT
3607>&nbsp;:</TD
3608><TD
3609WIDTH="80%"
3610ALIGN="LEFT"
3611VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003612> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003613></TR
3614><TR
3615><TD
3616WIDTH="20%"
3617ALIGN="RIGHT"
3618VALIGN="TOP"
3619><TT
3620CLASS="PARAMETER"
3621><I
3622>value</I
3623></TT
3624>&nbsp;:</TD
3625><TD
3626WIDTH="80%"
3627ALIGN="LEFT"
3628VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003629> the value name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003630></TR
3631><TR
3632><TD
3633WIDTH="20%"
3634ALIGN="RIGHT"
3635VALIGN="TOP"
3636><TT
3637CLASS="PARAMETER"
3638><I
3639>attr</I
3640></TT
3641>&nbsp;:</TD
3642><TD
3643WIDTH="80%"
3644ALIGN="LEFT"
3645VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003646> the attribute holding the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003647></TR
3648><TR
3649><TD
3650WIDTH="20%"
3651ALIGN="RIGHT"
3652VALIGN="TOP"
3653><I
3654CLASS="EMPHASIS"
3655>Returns</I
3656> :</TD
3657><TD
3658WIDTH="80%"
3659ALIGN="LEFT"
3660VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003661>NULL if not, othervise the new xmlIDPtr</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003662></TR
3663></TABLE
3664><P
3665></P
3666></DIV
3667></DIV
3668><HR><DIV
3669CLASS="REFSECT2"
3670><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003671NAME="AEN8500"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003672></A
3673><H3
3674><A
3675NAME="XMLCOPYIDTABLE"
3676></A
3677>xmlCopyIDTable ()</H3
3678><TABLE
3679BORDER="0"
3680BGCOLOR="#D6E8FF"
3681WIDTH="100%"
3682CELLPADDING="6"
3683><TR
3684><TD
3685><PRE
3686CLASS="PROGRAMLISTING"
3687><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003688HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003689>xmlIDTablePtr</A
3690> xmlCopyIDTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003691HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003692>xmlIDTablePtr</A
3693> table);</PRE
3694></TD
3695></TR
3696></TABLE
3697><P
3698></P
3699><DIV
3700CLASS="INFORMALTABLE"
3701><P
3702></P
3703><TABLE
3704BORDER="0"
3705WIDTH="100%"
3706BGCOLOR="#FFD0D0"
3707CELLSPACING="0"
3708CELLPADDING="4"
3709CLASS="CALSTABLE"
3710><TR
3711><TD
3712WIDTH="20%"
3713ALIGN="RIGHT"
3714VALIGN="TOP"
3715><TT
3716CLASS="PARAMETER"
3717><I
3718>table</I
3719></TT
3720>&nbsp;:</TD
3721><TD
3722WIDTH="80%"
3723ALIGN="LEFT"
3724VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003725>&nbsp;</TD
3726></TR
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003727><TR
3728><TD
3729WIDTH="20%"
3730ALIGN="RIGHT"
3731VALIGN="TOP"
3732><I
3733CLASS="EMPHASIS"
3734>Returns</I
3735> :</TD
3736><TD
3737WIDTH="80%"
3738ALIGN="LEFT"
3739VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00003740>&#13;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003741></TR
Daniel Veillardb05deb71999-08-10 19:04:08 +00003742></TABLE
3743><P
3744></P
3745></DIV
3746></DIV
3747><HR><DIV
3748CLASS="REFSECT2"
3749><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003750NAME="AEN8520"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003751></A
3752><H3
3753><A
3754NAME="XMLFREEIDTABLE"
3755></A
3756>xmlFreeIDTable ()</H3
3757><TABLE
3758BORDER="0"
3759BGCOLOR="#D6E8FF"
3760WIDTH="100%"
3761CELLPADDING="6"
3762><TR
3763><TD
3764><PRE
3765CLASS="PROGRAMLISTING"
3766>void xmlFreeIDTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003767HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003768>xmlIDTablePtr</A
3769> table);</PRE
3770></TD
3771></TR
3772></TABLE
3773><P
3774>Deallocate the memory used by an ID hash table.</P
3775><P
3776></P
3777><DIV
3778CLASS="INFORMALTABLE"
3779><P
3780></P
3781><TABLE
3782BORDER="0"
3783WIDTH="100%"
3784BGCOLOR="#FFD0D0"
3785CELLSPACING="0"
3786CELLPADDING="4"
3787CLASS="CALSTABLE"
3788><TR
3789><TD
3790WIDTH="20%"
3791ALIGN="RIGHT"
3792VALIGN="TOP"
3793><TT
3794CLASS="PARAMETER"
3795><I
3796>table</I
3797></TT
3798>&nbsp;:</TD
3799><TD
3800WIDTH="80%"
3801ALIGN="LEFT"
3802VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003803> An id table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003804></TR
3805></TABLE
3806><P
3807></P
3808></DIV
3809></DIV
3810><HR><DIV
3811CLASS="REFSECT2"
3812><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003813NAME="AEN8536"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003814></A
3815><H3
3816><A
3817NAME="XMLGETID"
3818></A
3819>xmlGetID ()</H3
3820><TABLE
3821BORDER="0"
3822BGCOLOR="#D6E8FF"
3823WIDTH="100%"
3824CELLPADDING="6"
3825><TR
3826><TD
3827><PRE
3828CLASS="PROGRAMLISTING"
3829><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003830HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003831>xmlAttrPtr</A
3832> xmlGetID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003833HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003834>xmlDocPtr</A
3835> doc,
3836 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003837HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003838>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003839> *ID);</PRE
3840></TD
3841></TR
3842></TABLE
3843><P
3844>Search the attribute declaring the given ID</P
3845><P
3846></P
3847><DIV
3848CLASS="INFORMALTABLE"
3849><P
3850></P
3851><TABLE
3852BORDER="0"
3853WIDTH="100%"
3854BGCOLOR="#FFD0D0"
3855CELLSPACING="0"
3856CELLPADDING="4"
3857CLASS="CALSTABLE"
3858><TR
3859><TD
3860WIDTH="20%"
3861ALIGN="RIGHT"
3862VALIGN="TOP"
3863><TT
3864CLASS="PARAMETER"
3865><I
3866>doc</I
3867></TT
3868>&nbsp;:</TD
3869><TD
3870WIDTH="80%"
3871ALIGN="LEFT"
3872VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003873> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003874></TR
3875><TR
3876><TD
3877WIDTH="20%"
3878ALIGN="RIGHT"
3879VALIGN="TOP"
3880><TT
3881CLASS="PARAMETER"
3882><I
3883>ID</I
3884></TT
3885>&nbsp;:</TD
3886><TD
3887WIDTH="80%"
3888ALIGN="LEFT"
3889VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003890> the ID value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003891></TR
3892><TR
3893><TD
3894WIDTH="20%"
3895ALIGN="RIGHT"
3896VALIGN="TOP"
3897><I
3898CLASS="EMPHASIS"
3899>Returns</I
3900> :</TD
3901><TD
3902WIDTH="80%"
3903ALIGN="LEFT"
3904VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003905>NULL if not found, otherwise the xmlAttrPtr defining the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003906></TR
3907></TABLE
3908><P
3909></P
3910></DIV
3911></DIV
3912><HR><DIV
3913CLASS="REFSECT2"
3914><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003915NAME="AEN8562"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003916></A
3917><H3
3918><A
3919NAME="XMLISID"
3920></A
3921>xmlIsID ()</H3
3922><TABLE
3923BORDER="0"
3924BGCOLOR="#D6E8FF"
3925WIDTH="100%"
3926CELLPADDING="6"
3927><TR
3928><TD
3929><PRE
3930CLASS="PROGRAMLISTING"
3931>int xmlIsID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003932HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003933>xmlDocPtr</A
3934> doc,
3935 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003936HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003937>xmlNodePtr</A
3938> elem,
3939 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003940HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003941>xmlAttrPtr</A
3942> attr);</PRE
3943></TD
3944></TR
3945></TABLE
3946><P
3947>Determine whether an attribute is of type ID. In case we have Dtd(s)
3948then this is simple, otherwise we use an heuristic: name ID (upper
3949or lowercase).</P
3950><P
3951></P
3952><DIV
3953CLASS="INFORMALTABLE"
3954><P
3955></P
3956><TABLE
3957BORDER="0"
3958WIDTH="100%"
3959BGCOLOR="#FFD0D0"
3960CELLSPACING="0"
3961CELLPADDING="4"
3962CLASS="CALSTABLE"
3963><TR
3964><TD
3965WIDTH="20%"
3966ALIGN="RIGHT"
3967VALIGN="TOP"
3968><TT
3969CLASS="PARAMETER"
3970><I
3971>doc</I
3972></TT
3973>&nbsp;:</TD
3974><TD
3975WIDTH="80%"
3976ALIGN="LEFT"
3977VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003978> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003979></TR
3980><TR
3981><TD
3982WIDTH="20%"
3983ALIGN="RIGHT"
3984VALIGN="TOP"
3985><TT
3986CLASS="PARAMETER"
3987><I
3988>elem</I
3989></TT
3990>&nbsp;:</TD
3991><TD
3992WIDTH="80%"
3993ALIGN="LEFT"
3994VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003995> the element carrying the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003996></TR
3997><TR
3998><TD
3999WIDTH="20%"
4000ALIGN="RIGHT"
4001VALIGN="TOP"
4002><TT
4003CLASS="PARAMETER"
4004><I
4005>attr</I
4006></TT
4007>&nbsp;:</TD
4008><TD
4009WIDTH="80%"
4010ALIGN="LEFT"
4011VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004012> the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004013></TR
4014><TR
4015><TD
4016WIDTH="20%"
4017ALIGN="RIGHT"
4018VALIGN="TOP"
4019><I
4020CLASS="EMPHASIS"
4021>Returns</I
4022> :</TD
4023><TD
4024WIDTH="80%"
4025ALIGN="LEFT"
4026VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004027>0 or 1 depending on the lookup result</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004028></TR
4029></TABLE
4030><P
4031></P
4032></DIV
4033></DIV
4034><HR><DIV
4035CLASS="REFSECT2"
4036><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004037NAME="AEN8592"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004038></A
4039><H3
4040><A
4041NAME="XMLREMOVEID"
4042></A
4043>xmlRemoveID ()</H3
4044><TABLE
4045BORDER="0"
4046BGCOLOR="#D6E8FF"
4047WIDTH="100%"
4048CELLPADDING="6"
4049><TR
4050><TD
4051><PRE
4052CLASS="PROGRAMLISTING"
4053>int xmlRemoveID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004054HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004055>xmlDocPtr</A
4056> doc,
4057 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004058HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004059>xmlAttrPtr</A
4060> attr);</PRE
4061></TD
4062></TR
4063></TABLE
4064><P
4065>Remove the given attribute from the ID table maintained internally.</P
4066><P
4067></P
4068><DIV
4069CLASS="INFORMALTABLE"
4070><P
4071></P
4072><TABLE
4073BORDER="0"
4074WIDTH="100%"
4075BGCOLOR="#FFD0D0"
4076CELLSPACING="0"
4077CELLPADDING="4"
4078CLASS="CALSTABLE"
4079><TR
4080><TD
4081WIDTH="20%"
4082ALIGN="RIGHT"
4083VALIGN="TOP"
4084><TT
4085CLASS="PARAMETER"
4086><I
4087>doc</I
4088></TT
4089>&nbsp;:</TD
4090><TD
4091WIDTH="80%"
4092ALIGN="LEFT"
4093VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004094> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004095></TR
4096><TR
4097><TD
4098WIDTH="20%"
4099ALIGN="RIGHT"
4100VALIGN="TOP"
4101><TT
4102CLASS="PARAMETER"
4103><I
4104>attr</I
4105></TT
4106>&nbsp;:</TD
4107><TD
4108WIDTH="80%"
4109ALIGN="LEFT"
4110VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004111> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004112></TR
4113><TR
4114><TD
4115WIDTH="20%"
4116ALIGN="RIGHT"
4117VALIGN="TOP"
4118><I
4119CLASS="EMPHASIS"
4120>Returns</I
4121> :</TD
4122><TD
4123WIDTH="80%"
4124ALIGN="LEFT"
4125VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004126>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004127></TR
4128></TABLE
4129><P
4130></P
4131></DIV
4132></DIV
4133><HR><DIV
4134CLASS="REFSECT2"
4135><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004136NAME="AEN8617"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004137></A
4138><H3
4139><A
4140NAME="XMLADDREF"
4141></A
4142>xmlAddRef ()</H3
4143><TABLE
4144BORDER="0"
4145BGCOLOR="#D6E8FF"
4146WIDTH="100%"
4147CELLPADDING="6"
4148><TR
4149><TD
4150><PRE
4151CLASS="PROGRAMLISTING"
4152><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004153HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004154>xmlRefPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004155> xmlAddRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004156HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004157>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004158> ctxt,
4159 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004160HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004161>xmlDocPtr</A
4162> doc,
4163 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004164HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004165>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004166> *value,
4167 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004168HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004169>xmlAttrPtr</A
4170> attr);</PRE
4171></TD
4172></TR
4173></TABLE
4174><P
4175>Register a new ref declaration</P
4176><P
4177></P
4178><DIV
4179CLASS="INFORMALTABLE"
4180><P
4181></P
4182><TABLE
4183BORDER="0"
4184WIDTH="100%"
4185BGCOLOR="#FFD0D0"
4186CELLSPACING="0"
4187CELLPADDING="4"
4188CLASS="CALSTABLE"
4189><TR
4190><TD
4191WIDTH="20%"
4192ALIGN="RIGHT"
4193VALIGN="TOP"
4194><TT
4195CLASS="PARAMETER"
4196><I
4197>ctxt</I
4198></TT
4199>&nbsp;:</TD
4200><TD
4201WIDTH="80%"
4202ALIGN="LEFT"
4203VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004204> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004205></TR
4206><TR
4207><TD
4208WIDTH="20%"
4209ALIGN="RIGHT"
4210VALIGN="TOP"
4211><TT
4212CLASS="PARAMETER"
4213><I
4214>doc</I
4215></TT
4216>&nbsp;:</TD
4217><TD
4218WIDTH="80%"
4219ALIGN="LEFT"
4220VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004221> pointer to the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004222></TR
4223><TR
4224><TD
4225WIDTH="20%"
4226ALIGN="RIGHT"
4227VALIGN="TOP"
4228><TT
4229CLASS="PARAMETER"
4230><I
4231>value</I
4232></TT
4233>&nbsp;:</TD
4234><TD
4235WIDTH="80%"
4236ALIGN="LEFT"
4237VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004238> the value name</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004239></TR
4240><TR
4241><TD
4242WIDTH="20%"
4243ALIGN="RIGHT"
4244VALIGN="TOP"
4245><TT
4246CLASS="PARAMETER"
4247><I
4248>attr</I
4249></TT
4250>&nbsp;:</TD
4251><TD
4252WIDTH="80%"
4253ALIGN="LEFT"
4254VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004255> the attribute holding the Ref</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004256></TR
4257><TR
4258><TD
4259WIDTH="20%"
4260ALIGN="RIGHT"
4261VALIGN="TOP"
4262><I
4263CLASS="EMPHASIS"
4264>Returns</I
4265> :</TD
4266><TD
4267WIDTH="80%"
4268ALIGN="LEFT"
4269VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004270>NULL if not, othervise the new xmlRefPtr</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004271></TR
4272></TABLE
4273><P
4274></P
4275></DIV
4276></DIV
4277><HR><DIV
4278CLASS="REFSECT2"
4279><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004280NAME="AEN8653"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004281></A
4282><H3
4283><A
4284NAME="XMLCOPYREFTABLE"
4285></A
4286>xmlCopyRefTable ()</H3
4287><TABLE
4288BORDER="0"
4289BGCOLOR="#D6E8FF"
4290WIDTH="100%"
4291CELLPADDING="6"
4292><TR
4293><TD
4294><PRE
4295CLASS="PROGRAMLISTING"
4296><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004297HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004298>xmlRefTablePtr</A
4299> xmlCopyRefTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004300HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004301>xmlRefTablePtr</A
4302> table);</PRE
4303></TD
4304></TR
4305></TABLE
4306><P
4307></P
4308><DIV
4309CLASS="INFORMALTABLE"
4310><P
4311></P
4312><TABLE
4313BORDER="0"
4314WIDTH="100%"
4315BGCOLOR="#FFD0D0"
4316CELLSPACING="0"
4317CELLPADDING="4"
4318CLASS="CALSTABLE"
4319><TR
4320><TD
4321WIDTH="20%"
4322ALIGN="RIGHT"
4323VALIGN="TOP"
4324><TT
4325CLASS="PARAMETER"
4326><I
4327>table</I
4328></TT
4329>&nbsp;:</TD
4330><TD
4331WIDTH="80%"
4332ALIGN="LEFT"
4333VALIGN="TOP"
4334>&nbsp;</TD
4335></TR
4336><TR
4337><TD
4338WIDTH="20%"
4339ALIGN="RIGHT"
4340VALIGN="TOP"
4341><I
4342CLASS="EMPHASIS"
4343>Returns</I
4344> :</TD
4345><TD
4346WIDTH="80%"
4347ALIGN="LEFT"
4348VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00004349>&#13;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004350></TR
4351></TABLE
4352><P
4353></P
4354></DIV
4355></DIV
4356><HR><DIV
4357CLASS="REFSECT2"
4358><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004359NAME="AEN8673"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004360></A
4361><H3
4362><A
4363NAME="XMLFREEREFTABLE"
4364></A
4365>xmlFreeRefTable ()</H3
4366><TABLE
4367BORDER="0"
4368BGCOLOR="#D6E8FF"
4369WIDTH="100%"
4370CELLPADDING="6"
4371><TR
4372><TD
4373><PRE
4374CLASS="PROGRAMLISTING"
4375>void xmlFreeRefTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004376HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004377>xmlRefTablePtr</A
4378> table);</PRE
4379></TD
4380></TR
4381></TABLE
4382><P
4383>Deallocate the memory used by an Ref hash table.</P
4384><P
4385></P
4386><DIV
4387CLASS="INFORMALTABLE"
4388><P
4389></P
4390><TABLE
4391BORDER="0"
4392WIDTH="100%"
4393BGCOLOR="#FFD0D0"
4394CELLSPACING="0"
4395CELLPADDING="4"
4396CLASS="CALSTABLE"
4397><TR
4398><TD
4399WIDTH="20%"
4400ALIGN="RIGHT"
4401VALIGN="TOP"
4402><TT
4403CLASS="PARAMETER"
4404><I
4405>table</I
4406></TT
4407>&nbsp;:</TD
4408><TD
4409WIDTH="80%"
4410ALIGN="LEFT"
4411VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004412> An ref table</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004413></TR
4414></TABLE
4415><P
4416></P
4417></DIV
4418></DIV
4419><HR><DIV
4420CLASS="REFSECT2"
4421><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004422NAME="AEN8689"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004423></A
4424><H3
4425><A
4426NAME="XMLISREF"
4427></A
4428>xmlIsRef ()</H3
4429><TABLE
4430BORDER="0"
4431BGCOLOR="#D6E8FF"
4432WIDTH="100%"
4433CELLPADDING="6"
4434><TR
4435><TD
4436><PRE
4437CLASS="PROGRAMLISTING"
4438>int xmlIsRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004439HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004440>xmlDocPtr</A
4441> doc,
4442 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004443HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004444>xmlNodePtr</A
4445> elem,
4446 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004447HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004448>xmlAttrPtr</A
4449> attr);</PRE
4450></TD
4451></TR
4452></TABLE
4453><P
4454>Determine whether an attribute is of type Ref. In case we have Dtd(s)
4455then this is simple, otherwise we use an heuristic: name Ref (upper
4456or lowercase).</P
4457><P
4458></P
4459><DIV
4460CLASS="INFORMALTABLE"
4461><P
4462></P
4463><TABLE
4464BORDER="0"
4465WIDTH="100%"
4466BGCOLOR="#FFD0D0"
4467CELLSPACING="0"
4468CELLPADDING="4"
4469CLASS="CALSTABLE"
4470><TR
4471><TD
4472WIDTH="20%"
4473ALIGN="RIGHT"
4474VALIGN="TOP"
4475><TT
4476CLASS="PARAMETER"
4477><I
4478>doc</I
4479></TT
4480>&nbsp;:</TD
4481><TD
4482WIDTH="80%"
4483ALIGN="LEFT"
4484VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004485> the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004486></TR
4487><TR
4488><TD
4489WIDTH="20%"
4490ALIGN="RIGHT"
4491VALIGN="TOP"
4492><TT
4493CLASS="PARAMETER"
4494><I
4495>elem</I
4496></TT
4497>&nbsp;:</TD
4498><TD
4499WIDTH="80%"
4500ALIGN="LEFT"
4501VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004502> the element carrying the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004503></TR
4504><TR
4505><TD
4506WIDTH="20%"
4507ALIGN="RIGHT"
4508VALIGN="TOP"
4509><TT
4510CLASS="PARAMETER"
4511><I
4512>attr</I
4513></TT
4514>&nbsp;:</TD
4515><TD
4516WIDTH="80%"
4517ALIGN="LEFT"
4518VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004519> the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004520></TR
4521><TR
4522><TD
4523WIDTH="20%"
4524ALIGN="RIGHT"
4525VALIGN="TOP"
4526><I
4527CLASS="EMPHASIS"
4528>Returns</I
4529> :</TD
4530><TD
4531WIDTH="80%"
4532ALIGN="LEFT"
4533VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004534>0 or 1 depending on the lookup result</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004535></TR
4536></TABLE
4537><P
4538></P
4539></DIV
4540></DIV
4541><HR><DIV
4542CLASS="REFSECT2"
4543><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004544NAME="AEN8719"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004545></A
4546><H3
4547><A
4548NAME="XMLREMOVEREF"
4549></A
4550>xmlRemoveRef ()</H3
4551><TABLE
4552BORDER="0"
4553BGCOLOR="#D6E8FF"
4554WIDTH="100%"
4555CELLPADDING="6"
4556><TR
4557><TD
4558><PRE
4559CLASS="PROGRAMLISTING"
4560>int xmlRemoveRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004561HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004562>xmlDocPtr</A
4563> doc,
4564 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004565HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004566>xmlAttrPtr</A
4567> attr);</PRE
4568></TD
4569></TR
4570></TABLE
4571><P
4572>Remove the given attribute from the Ref table maintained internally.</P
4573><P
4574></P
4575><DIV
4576CLASS="INFORMALTABLE"
4577><P
4578></P
4579><TABLE
4580BORDER="0"
4581WIDTH="100%"
4582BGCOLOR="#FFD0D0"
4583CELLSPACING="0"
4584CELLPADDING="4"
4585CLASS="CALSTABLE"
4586><TR
4587><TD
4588WIDTH="20%"
4589ALIGN="RIGHT"
4590VALIGN="TOP"
4591><TT
4592CLASS="PARAMETER"
4593><I
4594>doc</I
4595></TT
4596>&nbsp;:</TD
4597><TD
4598WIDTH="80%"
4599ALIGN="LEFT"
4600VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004601> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004602></TR
4603><TR
4604><TD
4605WIDTH="20%"
4606ALIGN="RIGHT"
4607VALIGN="TOP"
4608><TT
4609CLASS="PARAMETER"
4610><I
4611>attr</I
4612></TT
4613>&nbsp;:</TD
4614><TD
4615WIDTH="80%"
4616ALIGN="LEFT"
4617VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004618> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004619></TR
4620><TR
4621><TD
4622WIDTH="20%"
4623ALIGN="RIGHT"
4624VALIGN="TOP"
4625><I
4626CLASS="EMPHASIS"
4627>Returns</I
4628> :</TD
4629><TD
4630WIDTH="80%"
4631ALIGN="LEFT"
4632VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004633>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004634></TR
4635></TABLE
4636><P
4637></P
4638></DIV
4639></DIV
4640><HR><DIV
4641CLASS="REFSECT2"
4642><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004643NAME="AEN8744"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004644></A
4645><H3
4646><A
4647NAME="XMLVALIDATEROOT"
4648></A
4649>xmlValidateRoot ()</H3
4650><TABLE
4651BORDER="0"
4652BGCOLOR="#D6E8FF"
4653WIDTH="100%"
4654CELLPADDING="6"
4655><TR
4656><TD
4657><PRE
4658CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004659>int xmlValidateRoot (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004660HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004661>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004662> ctxt,
4663 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004664HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004665>xmlDocPtr</A
4666> doc);</PRE
4667></TD
4668></TR
4669></TABLE
4670><P
4671>Try to validate a the root element
4672basically it does the following check as described by the
4673XML-1.0 recommendation:
4674- [ VC: Root Element Type ]
4675it doesn't try to recurse or apply other check to the element</P
4676><P
4677></P
4678><DIV
4679CLASS="INFORMALTABLE"
4680><P
4681></P
4682><TABLE
4683BORDER="0"
4684WIDTH="100%"
4685BGCOLOR="#FFD0D0"
4686CELLSPACING="0"
4687CELLPADDING="4"
4688CLASS="CALSTABLE"
4689><TR
4690><TD
4691WIDTH="20%"
4692ALIGN="RIGHT"
4693VALIGN="TOP"
4694><TT
4695CLASS="PARAMETER"
4696><I
4697>ctxt</I
4698></TT
4699>&nbsp;:</TD
4700><TD
4701WIDTH="80%"
4702ALIGN="LEFT"
4703VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004704> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004705></TR
4706><TR
4707><TD
4708WIDTH="20%"
4709ALIGN="RIGHT"
4710VALIGN="TOP"
4711><TT
4712CLASS="PARAMETER"
4713><I
4714>doc</I
4715></TT
4716>&nbsp;:</TD
4717><TD
4718WIDTH="80%"
4719ALIGN="LEFT"
4720VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004721> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004722></TR
4723><TR
4724><TD
4725WIDTH="20%"
4726ALIGN="RIGHT"
4727VALIGN="TOP"
4728><I
4729CLASS="EMPHASIS"
4730>Returns</I
4731> :</TD
4732><TD
4733WIDTH="80%"
4734ALIGN="LEFT"
4735VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004736>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004737></TR
4738></TABLE
4739><P
4740></P
4741></DIV
4742></DIV
4743><HR><DIV
4744CLASS="REFSECT2"
4745><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004746NAME="AEN8769"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004747></A
4748><H3
4749><A
4750NAME="XMLVALIDATEELEMENTDECL"
4751></A
4752>xmlValidateElementDecl ()</H3
4753><TABLE
4754BORDER="0"
4755BGCOLOR="#D6E8FF"
4756WIDTH="100%"
4757CELLPADDING="6"
4758><TR
4759><TD
4760><PRE
4761CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004762>int xmlValidateElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004763HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004764>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004765> ctxt,
4766 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004767HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004768>xmlDocPtr</A
4769> doc,
4770 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004771HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004772>xmlElementPtr</A
4773> elem);</PRE
4774></TD
4775></TR
4776></TABLE
4777><P
4778>Try to validate a single element definition
4779basically it does the following checks as described by the
4780XML-1.0 recommendation:
4781- [ VC: One ID per Element Type ]
4782- [ VC: No Duplicate Types ]
4783- [ VC: Unique Element Type Declaration ]</P
4784><P
4785></P
4786><DIV
4787CLASS="INFORMALTABLE"
4788><P
4789></P
4790><TABLE
4791BORDER="0"
4792WIDTH="100%"
4793BGCOLOR="#FFD0D0"
4794CELLSPACING="0"
4795CELLPADDING="4"
4796CLASS="CALSTABLE"
4797><TR
4798><TD
4799WIDTH="20%"
4800ALIGN="RIGHT"
4801VALIGN="TOP"
4802><TT
4803CLASS="PARAMETER"
4804><I
4805>ctxt</I
4806></TT
4807>&nbsp;:</TD
4808><TD
4809WIDTH="80%"
4810ALIGN="LEFT"
4811VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004812> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004813></TR
4814><TR
4815><TD
4816WIDTH="20%"
4817ALIGN="RIGHT"
4818VALIGN="TOP"
4819><TT
4820CLASS="PARAMETER"
4821><I
4822>doc</I
4823></TT
4824>&nbsp;:</TD
4825><TD
4826WIDTH="80%"
4827ALIGN="LEFT"
4828VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004829> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004830></TR
4831><TR
4832><TD
4833WIDTH="20%"
4834ALIGN="RIGHT"
4835VALIGN="TOP"
4836><TT
4837CLASS="PARAMETER"
4838><I
4839>elem</I
4840></TT
4841>&nbsp;:</TD
4842><TD
4843WIDTH="80%"
4844ALIGN="LEFT"
4845VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004846> an element definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004847></TR
4848><TR
4849><TD
4850WIDTH="20%"
4851ALIGN="RIGHT"
4852VALIGN="TOP"
4853><I
4854CLASS="EMPHASIS"
4855>Returns</I
4856> :</TD
4857><TD
4858WIDTH="80%"
4859ALIGN="LEFT"
4860VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004861>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004862></TR
4863></TABLE
4864><P
4865></P
4866></DIV
4867></DIV
4868><HR><DIV
4869CLASS="REFSECT2"
4870><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004871NAME="AEN8799"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004872></A
4873><H3
4874><A
4875NAME="XMLVALIDNORMALIZEATTRIBUTEVALUE"
4876></A
4877>xmlValidNormalizeAttributeValue ()</H3
4878><TABLE
4879BORDER="0"
4880BGCOLOR="#D6E8FF"
4881WIDTH="100%"
4882CELLPADDING="6"
4883><TR
4884><TD
4885><PRE
4886CLASS="PROGRAMLISTING"
4887><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004888HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004889>xmlChar</A
4890>* xmlValidNormalizeAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004891HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004892>xmlDocPtr</A
4893> doc,
4894 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004895HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004896>xmlNodePtr</A
4897> elem,
4898 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004899HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004900>xmlChar</A
4901> *name,
4902 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004903HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004904>xmlChar</A
4905> *value);</PRE
4906></TD
4907></TR
4908></TABLE
4909><P
4910>Does the validation related extra step of the normalization of attribute
4911values:</P
4912><P
4913>If the declared value is not CDATA, then the XML processor must further
4914process the normalized attribute value by discarding any leading and
4915trailing space (<GTKDOCLINK
4916HREF="X20"
4917>x20</GTKDOCLINK
4918>) characters, and by replacing sequences of space
4919(<GTKDOCLINK
4920HREF="X20"
4921>x20</GTKDOCLINK
4922>) characters by single space (<GTKDOCLINK
4923HREF="X20"
4924>x20</GTKDOCLINK
4925>) character.</P
4926><P
4927></P
4928><DIV
4929CLASS="INFORMALTABLE"
4930><P
4931></P
4932><TABLE
4933BORDER="0"
4934WIDTH="100%"
4935BGCOLOR="#FFD0D0"
4936CELLSPACING="0"
4937CELLPADDING="4"
4938CLASS="CALSTABLE"
4939><TR
4940><TD
4941WIDTH="20%"
4942ALIGN="RIGHT"
4943VALIGN="TOP"
4944><TT
4945CLASS="PARAMETER"
4946><I
4947>doc</I
4948></TT
4949>&nbsp;:</TD
4950><TD
4951WIDTH="80%"
4952ALIGN="LEFT"
4953VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004954> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004955></TR
4956><TR
4957><TD
4958WIDTH="20%"
4959ALIGN="RIGHT"
4960VALIGN="TOP"
4961><TT
4962CLASS="PARAMETER"
4963><I
4964>elem</I
4965></TT
4966>&nbsp;:</TD
4967><TD
4968WIDTH="80%"
4969ALIGN="LEFT"
4970VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004971> the parent</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004972></TR
4973><TR
4974><TD
4975WIDTH="20%"
4976ALIGN="RIGHT"
4977VALIGN="TOP"
4978><TT
4979CLASS="PARAMETER"
4980><I
4981>name</I
4982></TT
4983>&nbsp;:</TD
4984><TD
4985WIDTH="80%"
4986ALIGN="LEFT"
4987VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004988> the attribute name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004989></TR
4990><TR
4991><TD
4992WIDTH="20%"
4993ALIGN="RIGHT"
4994VALIGN="TOP"
4995><TT
4996CLASS="PARAMETER"
4997><I
4998>value</I
4999></TT
5000>&nbsp;:</TD
5001><TD
5002WIDTH="80%"
5003ALIGN="LEFT"
5004VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005005> the attribute value</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005006></TR
5007><TR
5008><TD
5009WIDTH="20%"
5010ALIGN="RIGHT"
5011VALIGN="TOP"
5012><I
5013CLASS="EMPHASIS"
5014>Returns</I
5015> :</TD
5016><TD
5017WIDTH="80%"
5018ALIGN="LEFT"
5019VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005020>a new normalized string if normalization is needed, NULL otherwise
5021the caller must free the returned value.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005022></TR
5023></TABLE
5024><P
5025></P
5026></DIV
5027></DIV
5028><HR><DIV
5029CLASS="REFSECT2"
5030><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005031NAME="AEN8839"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005032></A
5033><H3
5034><A
5035NAME="XMLVALIDATEATTRIBUTEDECL"
5036></A
5037>xmlValidateAttributeDecl ()</H3
5038><TABLE
5039BORDER="0"
5040BGCOLOR="#D6E8FF"
5041WIDTH="100%"
5042CELLPADDING="6"
5043><TR
5044><TD
5045><PRE
5046CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005047>int xmlValidateAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005048HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005049>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005050> ctxt,
5051 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005052HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005053>xmlDocPtr</A
5054> doc,
5055 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005056HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005057>xmlAttributePtr</A
5058> attr);</PRE
5059></TD
5060></TR
5061></TABLE
5062><P
5063>Try to validate a single attribute definition
5064basically it does the following checks as described by the
5065XML-1.0 recommendation:
5066- [ VC: Attribute Default Legal ]
5067- [ VC: Enumeration ]
5068- [ VC: ID Attribute Default ]</P
5069><P
5070>The ID/IDREF uniqueness and matching are done separately</P
5071><P
5072></P
5073><DIV
5074CLASS="INFORMALTABLE"
5075><P
5076></P
5077><TABLE
5078BORDER="0"
5079WIDTH="100%"
5080BGCOLOR="#FFD0D0"
5081CELLSPACING="0"
5082CELLPADDING="4"
5083CLASS="CALSTABLE"
5084><TR
5085><TD
5086WIDTH="20%"
5087ALIGN="RIGHT"
5088VALIGN="TOP"
5089><TT
5090CLASS="PARAMETER"
5091><I
5092>ctxt</I
5093></TT
5094>&nbsp;:</TD
5095><TD
5096WIDTH="80%"
5097ALIGN="LEFT"
5098VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005099> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005100></TR
5101><TR
5102><TD
5103WIDTH="20%"
5104ALIGN="RIGHT"
5105VALIGN="TOP"
5106><TT
5107CLASS="PARAMETER"
5108><I
5109>doc</I
5110></TT
5111>&nbsp;:</TD
5112><TD
5113WIDTH="80%"
5114ALIGN="LEFT"
5115VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005116> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005117></TR
5118><TR
5119><TD
5120WIDTH="20%"
5121ALIGN="RIGHT"
5122VALIGN="TOP"
5123><TT
5124CLASS="PARAMETER"
5125><I
5126>attr</I
5127></TT
5128>&nbsp;:</TD
5129><TD
5130WIDTH="80%"
5131ALIGN="LEFT"
5132VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005133> an attribute definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005134></TR
5135><TR
5136><TD
5137WIDTH="20%"
5138ALIGN="RIGHT"
5139VALIGN="TOP"
5140><I
5141CLASS="EMPHASIS"
5142>Returns</I
5143> :</TD
5144><TD
5145WIDTH="80%"
5146ALIGN="LEFT"
5147VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005148>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005149></TR
5150></TABLE
5151><P
5152></P
5153></DIV
5154></DIV
5155><HR><DIV
5156CLASS="REFSECT2"
5157><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005158NAME="AEN8870"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005159></A
5160><H3
5161><A
5162NAME="XMLVALIDATEATTRIBUTEVALUE"
5163></A
5164>xmlValidateAttributeValue ()</H3
5165><TABLE
5166BORDER="0"
5167BGCOLOR="#D6E8FF"
5168WIDTH="100%"
5169CELLPADDING="6"
5170><TR
5171><TD
5172><PRE
5173CLASS="PROGRAMLISTING"
5174>int xmlValidateAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005175HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005176>xmlAttributeType</A
5177> type,
5178 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005179HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005180>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005181> *value);</PRE
5182></TD
5183></TR
5184></TABLE
5185><P
5186>Validate that the given attribute value match the proper production</P
5187><P
5188>[ VC: ID ]
5189Values of type ID must match the Name production....</P
5190><P
5191>[ VC: IDREF ]
5192Values of type IDREF must match the Name production, and values
5193of type IDREFS must match Names ...</P
5194><P
5195>[ VC: Entity Name ]
5196Values of type ENTITY must match the Name production, values
5197of type ENTITIES must match Names ...</P
5198><P
5199>[ VC: Name Token ]
5200Values of type NMTOKEN must match the Nmtoken production; values
5201of type NMTOKENS must match Nmtokens.</P
5202><P
5203></P
5204><DIV
5205CLASS="INFORMALTABLE"
5206><P
5207></P
5208><TABLE
5209BORDER="0"
5210WIDTH="100%"
5211BGCOLOR="#FFD0D0"
5212CELLSPACING="0"
5213CELLPADDING="4"
5214CLASS="CALSTABLE"
5215><TR
5216><TD
5217WIDTH="20%"
5218ALIGN="RIGHT"
5219VALIGN="TOP"
5220><TT
5221CLASS="PARAMETER"
5222><I
5223>type</I
5224></TT
5225>&nbsp;:</TD
5226><TD
5227WIDTH="80%"
5228ALIGN="LEFT"
5229VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005230> an attribute type</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005231></TR
5232><TR
5233><TD
5234WIDTH="20%"
5235ALIGN="RIGHT"
5236VALIGN="TOP"
5237><TT
5238CLASS="PARAMETER"
5239><I
5240>value</I
5241></TT
5242>&nbsp;:</TD
5243><TD
5244WIDTH="80%"
5245ALIGN="LEFT"
5246VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005247> an attribute value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005248></TR
5249><TR
5250><TD
5251WIDTH="20%"
5252ALIGN="RIGHT"
5253VALIGN="TOP"
5254><I
5255CLASS="EMPHASIS"
5256>Returns</I
5257> :</TD
5258><TD
5259WIDTH="80%"
5260ALIGN="LEFT"
5261VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005262>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005263></TR
5264></TABLE
5265><P
5266></P
5267></DIV
5268></DIV
5269><HR><DIV
5270CLASS="REFSECT2"
5271><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005272NAME="AEN8899"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005273></A
5274><H3
5275><A
5276NAME="XMLVALIDATENOTATIONDECL"
5277></A
5278>xmlValidateNotationDecl ()</H3
5279><TABLE
5280BORDER="0"
5281BGCOLOR="#D6E8FF"
5282WIDTH="100%"
5283CELLPADDING="6"
5284><TR
5285><TD
5286><PRE
5287CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005288>int xmlValidateNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005289HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005290>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005291> ctxt,
5292 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005293HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005294>xmlDocPtr</A
5295> doc,
5296 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005297HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005298>xmlNotationPtr</A
5299> nota);</PRE
5300></TD
5301></TR
5302></TABLE
5303><P
5304>Try to validate a single notation definition
5305basically it does the following checks as described by the
5306XML-1.0 recommendation:
5307- it seems that no validity constraing exist on notation declarations
5308But this function get called anyway ...</P
5309><P
5310></P
5311><DIV
5312CLASS="INFORMALTABLE"
5313><P
5314></P
5315><TABLE
5316BORDER="0"
5317WIDTH="100%"
5318BGCOLOR="#FFD0D0"
5319CELLSPACING="0"
5320CELLPADDING="4"
5321CLASS="CALSTABLE"
5322><TR
5323><TD
5324WIDTH="20%"
5325ALIGN="RIGHT"
5326VALIGN="TOP"
5327><TT
5328CLASS="PARAMETER"
5329><I
5330>ctxt</I
5331></TT
5332>&nbsp;:</TD
5333><TD
5334WIDTH="80%"
5335ALIGN="LEFT"
5336VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005337> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005338></TR
5339><TR
5340><TD
5341WIDTH="20%"
5342ALIGN="RIGHT"
5343VALIGN="TOP"
5344><TT
5345CLASS="PARAMETER"
5346><I
5347>doc</I
5348></TT
5349>&nbsp;:</TD
5350><TD
5351WIDTH="80%"
5352ALIGN="LEFT"
5353VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005354> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005355></TR
5356><TR
5357><TD
5358WIDTH="20%"
5359ALIGN="RIGHT"
5360VALIGN="TOP"
5361><TT
5362CLASS="PARAMETER"
5363><I
5364>nota</I
5365></TT
5366>&nbsp;:</TD
5367><TD
5368WIDTH="80%"
5369ALIGN="LEFT"
5370VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005371> a notation definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005372></TR
5373><TR
5374><TD
5375WIDTH="20%"
5376ALIGN="RIGHT"
5377VALIGN="TOP"
5378><I
5379CLASS="EMPHASIS"
5380>Returns</I
5381> :</TD
5382><TD
5383WIDTH="80%"
5384ALIGN="LEFT"
5385VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005386>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005387></TR
5388></TABLE
5389><P
5390></P
5391></DIV
5392></DIV
5393><HR><DIV
5394CLASS="REFSECT2"
5395><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005396NAME="AEN8929"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005397></A
5398><H3
5399><A
5400NAME="XMLVALIDATEDTD"
5401></A
5402>xmlValidateDtd ()</H3
5403><TABLE
5404BORDER="0"
5405BGCOLOR="#D6E8FF"
5406WIDTH="100%"
5407CELLPADDING="6"
5408><TR
5409><TD
5410><PRE
5411CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005412>int xmlValidateDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005413HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005414>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005415> ctxt,
5416 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005417HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005418>xmlDocPtr</A
5419> doc,
5420 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005421HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005422>xmlDtdPtr</A
5423> dtd);</PRE
5424></TD
5425></TR
5426></TABLE
5427><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005428>Try to validate the document against the dtd instance</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005429><P
5430>basically it does check all the definitions in the DtD.</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 Veillardb05deb71999-08-10 19:04:08 +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 Veillardb05deb71999-08-10 19:04:08 +00005477></TR
5478><TR
5479><TD
5480WIDTH="20%"
5481ALIGN="RIGHT"
5482VALIGN="TOP"
5483><TT
5484CLASS="PARAMETER"
5485><I
5486>dtd</I
5487></TT
5488>&nbsp;:</TD
5489><TD
5490WIDTH="80%"
5491ALIGN="LEFT"
5492VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005493> a dtd instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005494></TR
5495><TR
5496><TD
5497WIDTH="20%"
5498ALIGN="RIGHT"
5499VALIGN="TOP"
5500><I
5501CLASS="EMPHASIS"
5502>Returns</I
5503> :</TD
5504><TD
5505WIDTH="80%"
5506ALIGN="LEFT"
5507VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005508>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005509></TR
5510></TABLE
5511><P
5512></P
5513></DIV
5514></DIV
5515><HR><DIV
5516CLASS="REFSECT2"
5517><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005518NAME="AEN8960"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005519></A
5520><H3
5521><A
5522NAME="XMLVALIDATEDTDFINAL"
5523></A
5524>xmlValidateDtdFinal ()</H3
5525><TABLE
5526BORDER="0"
5527BGCOLOR="#D6E8FF"
5528WIDTH="100%"
5529CELLPADDING="6"
5530><TR
5531><TD
5532><PRE
5533CLASS="PROGRAMLISTING"
5534>int xmlValidateDtdFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005535HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005536>xmlValidCtxtPtr</A
5537> ctxt,
5538 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005539HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005540>xmlDocPtr</A
5541> doc);</PRE
5542></TD
5543></TR
5544></TABLE
5545><P
5546>Does the final step for the dtds validation once all the
5547subsets have been parsed</P
5548><P
5549>basically it does the following checks described by the XML Rec
5550- check that ENTITY and ENTITIES type attributes default or
5551possible values matches one of the defined entities.
5552- check that NOTATION type attributes default or
5553possible values matches one of the defined notations.</P
5554><P
5555></P
5556><DIV
5557CLASS="INFORMALTABLE"
5558><P
5559></P
5560><TABLE
5561BORDER="0"
5562WIDTH="100%"
5563BGCOLOR="#FFD0D0"
5564CELLSPACING="0"
5565CELLPADDING="4"
5566CLASS="CALSTABLE"
5567><TR
5568><TD
5569WIDTH="20%"
5570ALIGN="RIGHT"
5571VALIGN="TOP"
5572><TT
5573CLASS="PARAMETER"
5574><I
5575>ctxt</I
5576></TT
5577>&nbsp;:</TD
5578><TD
5579WIDTH="80%"
5580ALIGN="LEFT"
5581VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005582> the validation context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005583></TR
5584><TR
5585><TD
5586WIDTH="20%"
5587ALIGN="RIGHT"
5588VALIGN="TOP"
5589><TT
5590CLASS="PARAMETER"
5591><I
5592>doc</I
5593></TT
5594>&nbsp;:</TD
5595><TD
5596WIDTH="80%"
5597ALIGN="LEFT"
5598VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005599> a document instance</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005600></TR
5601><TR
5602><TD
5603WIDTH="20%"
5604ALIGN="RIGHT"
5605VALIGN="TOP"
5606><I
5607CLASS="EMPHASIS"
5608>Returns</I
5609> :</TD
5610><TD
5611WIDTH="80%"
5612ALIGN="LEFT"
5613VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005614>1 if valid or 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005615></TR
5616></TABLE
5617><P
5618></P
5619></DIV
5620></DIV
5621><HR><DIV
5622CLASS="REFSECT2"
5623><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005624NAME="AEN8986"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005625></A
5626><H3
5627><A
5628NAME="XMLVALIDATEDOCUMENT"
5629></A
5630>xmlValidateDocument ()</H3
5631><TABLE
5632BORDER="0"
5633BGCOLOR="#D6E8FF"
5634WIDTH="100%"
5635CELLPADDING="6"
5636><TR
5637><TD
5638><PRE
5639CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005640>int xmlValidateDocument (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005641HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005642>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005643> ctxt,
5644 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005645HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005646>xmlDocPtr</A
5647> doc);</PRE
5648></TD
5649></TR
5650></TABLE
5651><P
5652>Try to validate the document instance</P
5653><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005654>basically it does the all the checks described by the XML Rec
Daniel Veillardb05deb71999-08-10 19:04:08 +00005655i.e. validates the internal and external subset (if present)
5656and validate the document tree.</P
5657><P
5658></P
5659><DIV
5660CLASS="INFORMALTABLE"
5661><P
5662></P
5663><TABLE
5664BORDER="0"
5665WIDTH="100%"
5666BGCOLOR="#FFD0D0"
5667CELLSPACING="0"
5668CELLPADDING="4"
5669CLASS="CALSTABLE"
5670><TR
5671><TD
5672WIDTH="20%"
5673ALIGN="RIGHT"
5674VALIGN="TOP"
5675><TT
5676CLASS="PARAMETER"
5677><I
5678>ctxt</I
5679></TT
5680>&nbsp;:</TD
5681><TD
5682WIDTH="80%"
5683ALIGN="LEFT"
5684VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005685> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005686></TR
5687><TR
5688><TD
5689WIDTH="20%"
5690ALIGN="RIGHT"
5691VALIGN="TOP"
5692><TT
5693CLASS="PARAMETER"
5694><I
5695>doc</I
5696></TT
5697>&nbsp;:</TD
5698><TD
5699WIDTH="80%"
5700ALIGN="LEFT"
5701VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005702> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005703></TR
5704><TR
5705><TD
5706WIDTH="20%"
5707ALIGN="RIGHT"
5708VALIGN="TOP"
5709><I
5710CLASS="EMPHASIS"
5711>Returns</I
5712> :</TD
5713><TD
5714WIDTH="80%"
5715ALIGN="LEFT"
5716VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005717>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005718></TR
5719></TABLE
5720><P
5721></P
5722></DIV
5723></DIV
5724><HR><DIV
5725CLASS="REFSECT2"
5726><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005727NAME="AEN9012"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005728></A
5729><H3
5730><A
5731NAME="XMLVALIDATEELEMENT"
5732></A
5733>xmlValidateElement ()</H3
5734><TABLE
5735BORDER="0"
5736BGCOLOR="#D6E8FF"
5737WIDTH="100%"
5738CELLPADDING="6"
5739><TR
5740><TD
5741><PRE
5742CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005743>int xmlValidateElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005744HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005745>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005746> ctxt,
5747 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005748HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005749>xmlDocPtr</A
5750> doc,
5751 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005752HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005753>xmlNodePtr</A
5754> elem);</PRE
5755></TD
5756></TR
5757></TABLE
5758><P
5759>Try to validate the subtree under an element</P
5760><P
5761></P
5762><DIV
5763CLASS="INFORMALTABLE"
5764><P
5765></P
5766><TABLE
5767BORDER="0"
5768WIDTH="100%"
5769BGCOLOR="#FFD0D0"
5770CELLSPACING="0"
5771CELLPADDING="4"
5772CLASS="CALSTABLE"
5773><TR
5774><TD
5775WIDTH="20%"
5776ALIGN="RIGHT"
5777VALIGN="TOP"
5778><TT
5779CLASS="PARAMETER"
5780><I
5781>ctxt</I
5782></TT
5783>&nbsp;:</TD
5784><TD
5785WIDTH="80%"
5786ALIGN="LEFT"
5787VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005788> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005789></TR
5790><TR
5791><TD
5792WIDTH="20%"
5793ALIGN="RIGHT"
5794VALIGN="TOP"
5795><TT
5796CLASS="PARAMETER"
5797><I
5798>doc</I
5799></TT
5800>&nbsp;:</TD
5801><TD
5802WIDTH="80%"
5803ALIGN="LEFT"
5804VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005805> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005806></TR
5807><TR
5808><TD
5809WIDTH="20%"
5810ALIGN="RIGHT"
5811VALIGN="TOP"
5812><TT
5813CLASS="PARAMETER"
5814><I
5815>elem</I
5816></TT
5817>&nbsp;:</TD
5818><TD
5819WIDTH="80%"
5820ALIGN="LEFT"
5821VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005822> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005823></TR
5824><TR
5825><TD
5826WIDTH="20%"
5827ALIGN="RIGHT"
5828VALIGN="TOP"
5829><I
5830CLASS="EMPHASIS"
5831>Returns</I
5832> :</TD
5833><TD
5834WIDTH="80%"
5835ALIGN="LEFT"
5836VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005837>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005838></TR
5839></TABLE
5840><P
5841></P
5842></DIV
5843></DIV
5844><HR><DIV
5845CLASS="REFSECT2"
5846><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005847NAME="AEN9042"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005848></A
5849><H3
5850><A
5851NAME="XMLVALIDATEONEELEMENT"
5852></A
5853>xmlValidateOneElement ()</H3
5854><TABLE
5855BORDER="0"
5856BGCOLOR="#D6E8FF"
5857WIDTH="100%"
5858CELLPADDING="6"
5859><TR
5860><TD
5861><PRE
5862CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005863>int xmlValidateOneElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005864HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005865>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005866> ctxt,
5867 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005868HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005869>xmlDocPtr</A
5870> doc,
5871 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005872HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005873>xmlNodePtr</A
5874> elem);</PRE
5875></TD
5876></TR
5877></TABLE
5878><P
5879>Try to validate a single element and it's attributes,
5880basically it does the following checks as described by the
5881XML-1.0 recommendation:
5882- [ VC: Element Valid ]
5883- [ VC: Required Attribute ]
5884Then call <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005885HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005886>xmlValidateOneAttribute</A
5887>() for each attribute present.</P
5888><P
5889>The ID/IDREF checkings are done separately</P
5890><P
5891></P
5892><DIV
5893CLASS="INFORMALTABLE"
5894><P
5895></P
5896><TABLE
5897BORDER="0"
5898WIDTH="100%"
5899BGCOLOR="#FFD0D0"
5900CELLSPACING="0"
5901CELLPADDING="4"
5902CLASS="CALSTABLE"
5903><TR
5904><TD
5905WIDTH="20%"
5906ALIGN="RIGHT"
5907VALIGN="TOP"
5908><TT
5909CLASS="PARAMETER"
5910><I
5911>ctxt</I
5912></TT
5913>&nbsp;:</TD
5914><TD
5915WIDTH="80%"
5916ALIGN="LEFT"
5917VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005918> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005919></TR
5920><TR
5921><TD
5922WIDTH="20%"
5923ALIGN="RIGHT"
5924VALIGN="TOP"
5925><TT
5926CLASS="PARAMETER"
5927><I
5928>doc</I
5929></TT
5930>&nbsp;:</TD
5931><TD
5932WIDTH="80%"
5933ALIGN="LEFT"
5934VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005935> a document instance</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>elem</I
5946></TT
5947>&nbsp;:</TD
5948><TD
5949WIDTH="80%"
5950ALIGN="LEFT"
5951VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005952> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005953></TR
5954><TR
5955><TD
5956WIDTH="20%"
5957ALIGN="RIGHT"
5958VALIGN="TOP"
5959><I
5960CLASS="EMPHASIS"
5961>Returns</I
5962> :</TD
5963><TD
5964WIDTH="80%"
5965ALIGN="LEFT"
5966VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005967>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005968></TR
5969></TABLE
5970><P
5971></P
5972></DIV
5973></DIV
5974><HR><DIV
5975CLASS="REFSECT2"
5976><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005977NAME="AEN9074"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005978></A
5979><H3
5980><A
5981NAME="XMLVALIDATEONEATTRIBUTE"
5982></A
5983>xmlValidateOneAttribute ()</H3
5984><TABLE
5985BORDER="0"
5986BGCOLOR="#D6E8FF"
5987WIDTH="100%"
5988CELLPADDING="6"
5989><TR
5990><TD
5991><PRE
5992CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005993>int xmlValidateOneAttribute (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005994HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005995>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005996> ctxt,
5997 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005998HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005999>xmlDocPtr</A
6000> doc,
6001 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006002HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006003>xmlNodePtr</A
6004> elem,
6005 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006006HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006007>xmlAttrPtr</A
6008> attr,
6009 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006010HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006011>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006012> *value);</PRE
6013></TD
6014></TR
6015></TABLE
6016><P
6017>Try to validate a single attribute for an element
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006018basically it does the following checks as described by the
Daniel Veillardb05deb71999-08-10 19:04:08 +00006019XML-1.0 recommendation:
6020- [ VC: Attribute Value Type ]
6021- [ VC: Fixed Attribute Default ]
6022- [ VC: Entity Name ]
6023- [ VC: Name Token ]
6024- [ VC: ID ]
6025- [ VC: IDREF ]
6026- [ VC: Entity Name ]
6027- [ VC: Notation Attributes ]</P
6028><P
6029>The ID/IDREF uniqueness and matching are done separately</P
6030><P
6031></P
6032><DIV
6033CLASS="INFORMALTABLE"
6034><P
6035></P
6036><TABLE
6037BORDER="0"
6038WIDTH="100%"
6039BGCOLOR="#FFD0D0"
6040CELLSPACING="0"
6041CELLPADDING="4"
6042CLASS="CALSTABLE"
6043><TR
6044><TD
6045WIDTH="20%"
6046ALIGN="RIGHT"
6047VALIGN="TOP"
6048><TT
6049CLASS="PARAMETER"
6050><I
6051>ctxt</I
6052></TT
6053>&nbsp;:</TD
6054><TD
6055WIDTH="80%"
6056ALIGN="LEFT"
6057VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006058> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006059></TR
6060><TR
6061><TD
6062WIDTH="20%"
6063ALIGN="RIGHT"
6064VALIGN="TOP"
6065><TT
6066CLASS="PARAMETER"
6067><I
6068>doc</I
6069></TT
6070>&nbsp;:</TD
6071><TD
6072WIDTH="80%"
6073ALIGN="LEFT"
6074VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006075> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006076></TR
6077><TR
6078><TD
6079WIDTH="20%"
6080ALIGN="RIGHT"
6081VALIGN="TOP"
6082><TT
6083CLASS="PARAMETER"
6084><I
6085>elem</I
6086></TT
6087>&nbsp;:</TD
6088><TD
6089WIDTH="80%"
6090ALIGN="LEFT"
6091VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006092> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006093></TR
6094><TR
6095><TD
6096WIDTH="20%"
6097ALIGN="RIGHT"
6098VALIGN="TOP"
6099><TT
6100CLASS="PARAMETER"
6101><I
6102>attr</I
6103></TT
6104>&nbsp;:</TD
6105><TD
6106WIDTH="80%"
6107ALIGN="LEFT"
6108VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006109> an attribute instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006110></TR
6111><TR
6112><TD
6113WIDTH="20%"
6114ALIGN="RIGHT"
6115VALIGN="TOP"
6116><TT
6117CLASS="PARAMETER"
6118><I
6119>value</I
6120></TT
6121>&nbsp;:</TD
6122><TD
6123WIDTH="80%"
6124ALIGN="LEFT"
6125VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006126> the attribute value (without entities processing)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006127></TR
6128><TR
6129><TD
6130WIDTH="20%"
6131ALIGN="RIGHT"
6132VALIGN="TOP"
6133><I
6134CLASS="EMPHASIS"
6135>Returns</I
6136> :</TD
6137><TD
6138WIDTH="80%"
6139ALIGN="LEFT"
6140VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006141>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006142></TR
6143></TABLE
6144><P
6145></P
6146></DIV
6147></DIV
6148><HR><DIV
6149CLASS="REFSECT2"
6150><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006151NAME="AEN9115"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006152></A
6153><H3
6154><A
6155NAME="XMLVALIDATEDOCUMENTFINAL"
6156></A
6157>xmlValidateDocumentFinal ()</H3
6158><TABLE
6159BORDER="0"
6160BGCOLOR="#D6E8FF"
6161WIDTH="100%"
6162CELLPADDING="6"
6163><TR
6164><TD
6165><PRE
6166CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006167>int xmlValidateDocumentFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006168HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006169>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006170> ctxt,
6171 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006172HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006173>xmlDocPtr</A
6174> doc);</PRE
6175></TD
6176></TR
6177></TABLE
6178><P
6179>Does the final step for the document validation once all the
6180incremental validation steps have been completed</P
6181><P
6182>basically it does the following checks described by the XML Rec</P
6183><P
6184></P
6185><DIV
6186CLASS="INFORMALTABLE"
6187><P
6188></P
6189><TABLE
6190BORDER="0"
6191WIDTH="100%"
6192BGCOLOR="#FFD0D0"
6193CELLSPACING="0"
6194CELLPADDING="4"
6195CLASS="CALSTABLE"
6196><TR
6197><TD
6198WIDTH="20%"
6199ALIGN="RIGHT"
6200VALIGN="TOP"
6201><TT
6202CLASS="PARAMETER"
6203><I
6204>ctxt</I
6205></TT
6206>&nbsp;:</TD
6207><TD
6208WIDTH="80%"
6209ALIGN="LEFT"
6210VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006211> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006212></TR
6213><TR
6214><TD
6215WIDTH="20%"
6216ALIGN="RIGHT"
6217VALIGN="TOP"
6218><TT
6219CLASS="PARAMETER"
6220><I
6221>doc</I
6222></TT
6223>&nbsp;:</TD
6224><TD
6225WIDTH="80%"
6226ALIGN="LEFT"
6227VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006228> a document instance</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006229></TR
6230><TR
6231><TD
6232WIDTH="20%"
6233ALIGN="RIGHT"
6234VALIGN="TOP"
6235><I
6236CLASS="EMPHASIS"
6237>Returns</I
6238> :</TD
6239><TD
6240WIDTH="80%"
6241ALIGN="LEFT"
6242VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006243>1 if valid or 0 otherwise</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006244></TR
6245></TABLE
6246><P
6247></P
6248></DIV
6249></DIV
6250><HR><DIV
6251CLASS="REFSECT2"
6252><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006253NAME="AEN9141"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006254></A
6255><H3
6256><A
6257NAME="XMLVALIDATENOTATIONUSE"
6258></A
6259>xmlValidateNotationUse ()</H3
6260><TABLE
6261BORDER="0"
6262BGCOLOR="#D6E8FF"
6263WIDTH="100%"
6264CELLPADDING="6"
6265><TR
6266><TD
6267><PRE
6268CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006269>int xmlValidateNotationUse (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006270HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006271>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006272> ctxt,
6273 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006274HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006275>xmlDocPtr</A
6276> doc,
6277 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006278HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006279>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006280> *notationName);</PRE
6281></TD
6282></TR
6283></TABLE
6284><P
6285>Validate that the given mame match a notation declaration.
6286- [ VC: Notation Declared ]</P
6287><P
6288></P
6289><DIV
6290CLASS="INFORMALTABLE"
6291><P
6292></P
6293><TABLE
6294BORDER="0"
6295WIDTH="100%"
6296BGCOLOR="#FFD0D0"
6297CELLSPACING="0"
6298CELLPADDING="4"
6299CLASS="CALSTABLE"
6300><TR
6301><TD
6302WIDTH="20%"
6303ALIGN="RIGHT"
6304VALIGN="TOP"
6305><TT
6306CLASS="PARAMETER"
6307><I
6308>ctxt</I
6309></TT
6310>&nbsp;:</TD
6311><TD
6312WIDTH="80%"
6313ALIGN="LEFT"
6314VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006315> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006316></TR
6317><TR
6318><TD
6319WIDTH="20%"
6320ALIGN="RIGHT"
6321VALIGN="TOP"
6322><TT
6323CLASS="PARAMETER"
6324><I
6325>doc</I
6326></TT
6327>&nbsp;:</TD
6328><TD
6329WIDTH="80%"
6330ALIGN="LEFT"
6331VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006332> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006333></TR
6334><TR
6335><TD
6336WIDTH="20%"
6337ALIGN="RIGHT"
6338VALIGN="TOP"
6339><TT
6340CLASS="PARAMETER"
6341><I
6342>notationName</I
6343></TT
6344>&nbsp;:</TD
6345><TD
6346WIDTH="80%"
6347ALIGN="LEFT"
6348VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006349> the notation name to check</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006350></TR
6351><TR
6352><TD
6353WIDTH="20%"
6354ALIGN="RIGHT"
6355VALIGN="TOP"
6356><I
6357CLASS="EMPHASIS"
6358>Returns</I
6359> :</TD
6360><TD
6361WIDTH="80%"
6362ALIGN="LEFT"
6363VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006364>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006365></TR
6366></TABLE
6367><P
6368></P
6369></DIV
6370></DIV
6371><HR><DIV
6372CLASS="REFSECT2"
6373><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006374NAME="AEN9171"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006375></A
6376><H3
6377><A
6378NAME="XMLISMIXEDELEMENT"
6379></A
6380>xmlIsMixedElement ()</H3
6381><TABLE
6382BORDER="0"
6383BGCOLOR="#D6E8FF"
6384WIDTH="100%"
6385CELLPADDING="6"
6386><TR
6387><TD
6388><PRE
6389CLASS="PROGRAMLISTING"
6390>int xmlIsMixedElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006391HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006392>xmlDocPtr</A
6393> doc,
6394 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006395HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006396>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006397> *name);</PRE
6398></TD
6399></TR
6400></TABLE
6401><P
6402>Search in the DtDs whether an element accept Mixed content (or ANY)
6403basically if it is supposed to accept text childs</P
6404><P
6405></P
6406><DIV
6407CLASS="INFORMALTABLE"
6408><P
6409></P
6410><TABLE
6411BORDER="0"
6412WIDTH="100%"
6413BGCOLOR="#FFD0D0"
6414CELLSPACING="0"
6415CELLPADDING="4"
6416CLASS="CALSTABLE"
6417><TR
6418><TD
6419WIDTH="20%"
6420ALIGN="RIGHT"
6421VALIGN="TOP"
6422><TT
6423CLASS="PARAMETER"
6424><I
6425>doc</I
6426></TT
6427>&nbsp;:</TD
6428><TD
6429WIDTH="80%"
6430ALIGN="LEFT"
6431VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006432> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006433></TR
6434><TR
6435><TD
6436WIDTH="20%"
6437ALIGN="RIGHT"
6438VALIGN="TOP"
6439><TT
6440CLASS="PARAMETER"
6441><I
6442>name</I
6443></TT
6444>&nbsp;:</TD
6445><TD
6446WIDTH="80%"
6447ALIGN="LEFT"
6448VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006449> the element name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006450></TR
6451><TR
6452><TD
6453WIDTH="20%"
6454ALIGN="RIGHT"
6455VALIGN="TOP"
6456><I
6457CLASS="EMPHASIS"
6458>Returns</I
6459> :</TD
6460><TD
6461WIDTH="80%"
6462ALIGN="LEFT"
6463VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006464>0 if no, 1 if yes, and -1 if no element description is available</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006465></TR
6466></TABLE
6467><P
6468></P
6469></DIV
6470></DIV
6471><HR><DIV
6472CLASS="REFSECT2"
6473><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006474NAME="AEN9196"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006475></A
6476><H3
6477><A
6478NAME="XMLGETDTDATTRDESC"
6479></A
6480>xmlGetDtdAttrDesc ()</H3
6481><TABLE
6482BORDER="0"
6483BGCOLOR="#D6E8FF"
6484WIDTH="100%"
6485CELLPADDING="6"
6486><TR
6487><TD
6488><PRE
6489CLASS="PROGRAMLISTING"
6490><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006491HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006492>xmlAttributePtr</A
6493> xmlGetDtdAttrDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006494HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006495>xmlDtdPtr</A
6496> dtd,
6497 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006498HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006499>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006500> *elem,
6501 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006502HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006503>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006504> *name);</PRE
6505></TD
6506></TR
6507></TABLE
6508><P
6509>Search the Dtd for the description of this attribute on
6510this element.</P
6511><P
6512></P
6513><DIV
6514CLASS="INFORMALTABLE"
6515><P
6516></P
6517><TABLE
6518BORDER="0"
6519WIDTH="100%"
6520BGCOLOR="#FFD0D0"
6521CELLSPACING="0"
6522CELLPADDING="4"
6523CLASS="CALSTABLE"
6524><TR
6525><TD
6526WIDTH="20%"
6527ALIGN="RIGHT"
6528VALIGN="TOP"
6529><TT
6530CLASS="PARAMETER"
6531><I
6532>dtd</I
6533></TT
6534>&nbsp;:</TD
6535><TD
6536WIDTH="80%"
6537ALIGN="LEFT"
6538VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006539> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006540></TR
6541><TR
6542><TD
6543WIDTH="20%"
6544ALIGN="RIGHT"
6545VALIGN="TOP"
6546><TT
6547CLASS="PARAMETER"
6548><I
6549>elem</I
6550></TT
6551>&nbsp;:</TD
6552><TD
6553WIDTH="80%"
6554ALIGN="LEFT"
6555VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006556> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006557></TR
6558><TR
6559><TD
6560WIDTH="20%"
6561ALIGN="RIGHT"
6562VALIGN="TOP"
6563><TT
6564CLASS="PARAMETER"
6565><I
6566>name</I
6567></TT
6568>&nbsp;:</TD
6569><TD
6570WIDTH="80%"
6571ALIGN="LEFT"
6572VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006573> the attribute name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006574></TR
6575><TR
6576><TD
6577WIDTH="20%"
6578ALIGN="RIGHT"
6579VALIGN="TOP"
6580><I
6581CLASS="EMPHASIS"
6582>Returns</I
6583> :</TD
6584><TD
6585WIDTH="80%"
6586ALIGN="LEFT"
6587VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006588>the xmlAttributePtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006589></TR
6590></TABLE
6591><P
6592></P
6593></DIV
6594></DIV
6595><HR><DIV
6596CLASS="REFSECT2"
6597><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006598NAME="AEN9227"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006599></A
6600><H3
6601><A
6602NAME="XMLGETDTDNOTATIONDESC"
6603></A
6604>xmlGetDtdNotationDesc ()</H3
6605><TABLE
6606BORDER="0"
6607BGCOLOR="#D6E8FF"
6608WIDTH="100%"
6609CELLPADDING="6"
6610><TR
6611><TD
6612><PRE
6613CLASS="PROGRAMLISTING"
6614><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006615HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006616>xmlNotationPtr</A
6617> xmlGetDtdNotationDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006618HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006619>xmlDtdPtr</A
6620> dtd,
6621 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006622HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006623>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006624> *name);</PRE
6625></TD
6626></TR
6627></TABLE
6628><P
6629>Search the Dtd for the description of this notation</P
6630><P
6631></P
6632><DIV
6633CLASS="INFORMALTABLE"
6634><P
6635></P
6636><TABLE
6637BORDER="0"
6638WIDTH="100%"
6639BGCOLOR="#FFD0D0"
6640CELLSPACING="0"
6641CELLPADDING="4"
6642CLASS="CALSTABLE"
6643><TR
6644><TD
6645WIDTH="20%"
6646ALIGN="RIGHT"
6647VALIGN="TOP"
6648><TT
6649CLASS="PARAMETER"
6650><I
6651>dtd</I
6652></TT
6653>&nbsp;:</TD
6654><TD
6655WIDTH="80%"
6656ALIGN="LEFT"
6657VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006658> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006659></TR
6660><TR
6661><TD
6662WIDTH="20%"
6663ALIGN="RIGHT"
6664VALIGN="TOP"
6665><TT
6666CLASS="PARAMETER"
6667><I
6668>name</I
6669></TT
6670>&nbsp;:</TD
6671><TD
6672WIDTH="80%"
6673ALIGN="LEFT"
6674VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006675> the notation name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006676></TR
6677><TR
6678><TD
6679WIDTH="20%"
6680ALIGN="RIGHT"
6681VALIGN="TOP"
6682><I
6683CLASS="EMPHASIS"
6684>Returns</I
6685> :</TD
6686><TD
6687WIDTH="80%"
6688ALIGN="LEFT"
6689VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006690>the xmlNotationPtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006691></TR
6692></TABLE
6693><P
6694></P
6695></DIV
6696></DIV
6697><HR><DIV
6698CLASS="REFSECT2"
6699><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006700NAME="AEN9253"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006701></A
6702><H3
6703><A
6704NAME="XMLGETDTDELEMENTDESC"
6705></A
6706>xmlGetDtdElementDesc ()</H3
6707><TABLE
6708BORDER="0"
6709BGCOLOR="#D6E8FF"
6710WIDTH="100%"
6711CELLPADDING="6"
6712><TR
6713><TD
6714><PRE
6715CLASS="PROGRAMLISTING"
6716><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006717HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006718>xmlElementPtr</A
6719> xmlGetDtdElementDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006720HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006721>xmlDtdPtr</A
6722> dtd,
6723 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006724HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006725>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006726> *name);</PRE
6727></TD
6728></TR
6729></TABLE
6730><P
6731>Search the Dtd for the description of this element</P
6732><P
6733></P
6734><DIV
6735CLASS="INFORMALTABLE"
6736><P
6737></P
6738><TABLE
6739BORDER="0"
6740WIDTH="100%"
6741BGCOLOR="#FFD0D0"
6742CELLSPACING="0"
6743CELLPADDING="4"
6744CLASS="CALSTABLE"
6745><TR
6746><TD
6747WIDTH="20%"
6748ALIGN="RIGHT"
6749VALIGN="TOP"
6750><TT
6751CLASS="PARAMETER"
6752><I
6753>dtd</I
6754></TT
6755>&nbsp;:</TD
6756><TD
6757WIDTH="80%"
6758ALIGN="LEFT"
6759VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006760> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006761></TR
6762><TR
6763><TD
6764WIDTH="20%"
6765ALIGN="RIGHT"
6766VALIGN="TOP"
6767><TT
6768CLASS="PARAMETER"
6769><I
6770>name</I
6771></TT
6772>&nbsp;:</TD
6773><TD
6774WIDTH="80%"
6775ALIGN="LEFT"
6776VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006777> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006778></TR
6779><TR
6780><TD
6781WIDTH="20%"
6782ALIGN="RIGHT"
6783VALIGN="TOP"
6784><I
6785CLASS="EMPHASIS"
6786>Returns</I
6787> :</TD
6788><TD
6789WIDTH="80%"
6790ALIGN="LEFT"
6791VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006792>the xmlElementPtr if found or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006793></TR
6794></TABLE
6795><P
6796></P
6797></DIV
6798></DIV
6799><HR><DIV
6800CLASS="REFSECT2"
6801><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006802NAME="AEN9279"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006803></A
6804><H3
6805><A
6806NAME="XMLVALIDGETVALIDELEMENTS"
6807></A
6808>xmlValidGetValidElements ()</H3
6809><TABLE
6810BORDER="0"
6811BGCOLOR="#D6E8FF"
6812WIDTH="100%"
6813CELLPADDING="6"
6814><TR
6815><TD
6816><PRE
6817CLASS="PROGRAMLISTING"
6818>int xmlValidGetValidElements (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006819HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006820>xmlNode</A
6821> *prev,
6822 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006823HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006824>xmlNode</A
6825> *next,
6826 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006827HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006828>xmlChar</A
6829> **list,
6830 int max);</PRE
6831></TD
6832></TR
6833></TABLE
6834><P
6835>This function returns the list of authorized children to insert
6836within an existing tree while respecting the validity constraints
6837forced by the Dtd. The insertion point is defined using <TT
6838CLASS="PARAMETER"
6839><I
6840>prev</I
6841></TT
6842> and
6843<TT
6844CLASS="PARAMETER"
6845><I
6846>next</I
6847></TT
6848> in the following ways:
6849to insert before 'node': xmlValidGetValidElements(node-&gt;prev, node, ...
6850to insert next 'node': xmlValidGetValidElements(node, node-&gt;next, ...
6851to replace 'node': xmlValidGetValidElements(node-&gt;prev, node-&gt;next, ...
6852to prepend a child to 'node': xmlValidGetValidElements(NULL, node-&gt;childs,
6853to append a child to 'node': xmlValidGetValidElements(node-&gt;last, NULL, ...</P
6854><P
6855>pointers to the element names are inserted at the beginning of the array
6856and do not need to be freed.</P
6857><P
6858></P
6859><DIV
6860CLASS="INFORMALTABLE"
6861><P
6862></P
6863><TABLE
6864BORDER="0"
6865WIDTH="100%"
6866BGCOLOR="#FFD0D0"
6867CELLSPACING="0"
6868CELLPADDING="4"
6869CLASS="CALSTABLE"
6870><TR
6871><TD
6872WIDTH="20%"
6873ALIGN="RIGHT"
6874VALIGN="TOP"
6875><TT
6876CLASS="PARAMETER"
6877><I
6878>prev</I
6879></TT
6880>&nbsp;:</TD
6881><TD
6882WIDTH="80%"
6883ALIGN="LEFT"
6884VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006885> an element to insert after</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006886></TR
6887><TR
6888><TD
6889WIDTH="20%"
6890ALIGN="RIGHT"
6891VALIGN="TOP"
6892><TT
6893CLASS="PARAMETER"
6894><I
6895>next</I
6896></TT
6897>&nbsp;:</TD
6898><TD
6899WIDTH="80%"
6900ALIGN="LEFT"
6901VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006902> an element to insert next</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006903></TR
6904><TR
6905><TD
6906WIDTH="20%"
6907ALIGN="RIGHT"
6908VALIGN="TOP"
6909><TT
6910CLASS="PARAMETER"
6911><I
6912>list</I
6913></TT
6914>&nbsp;:</TD
6915><TD
6916WIDTH="80%"
6917ALIGN="LEFT"
6918VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006919> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006920></TR
6921><TR
6922><TD
6923WIDTH="20%"
6924ALIGN="RIGHT"
6925VALIGN="TOP"
6926><TT
6927CLASS="PARAMETER"
6928><I
6929>max</I
6930></TT
6931>&nbsp;:</TD
6932><TD
6933WIDTH="80%"
6934ALIGN="LEFT"
6935VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006936> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006937></TR
6938><TR
6939><TD
6940WIDTH="20%"
6941ALIGN="RIGHT"
6942VALIGN="TOP"
6943><I
6944CLASS="EMPHASIS"
6945>Returns</I
6946> :</TD
6947><TD
6948WIDTH="80%"
6949ALIGN="LEFT"
6950VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006951>the number of element in the list, or -1 in case of error. If
6952the function returns the value <TT
6953CLASS="PARAMETER"
6954><I
6955>max</I
6956></TT
6957> the caller is invited to grow the
6958receiving array and retry.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006959></TR
6960></TABLE
6961><P
6962></P
6963></DIV
6964></DIV
6965><HR><DIV
6966CLASS="REFSECT2"
6967><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006968NAME="AEN9317"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006969></A
6970><H3
6971><A
6972NAME="XMLVALIDGETPOTENTIALCHILDREN"
6973></A
6974>xmlValidGetPotentialChildren ()</H3
6975><TABLE
6976BORDER="0"
6977BGCOLOR="#D6E8FF"
6978WIDTH="100%"
6979CELLPADDING="6"
6980><TR
6981><TD
6982><PRE
6983CLASS="PROGRAMLISTING"
6984>int xmlValidGetPotentialChildren (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006985HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006986>xmlElementContent</A
6987> *ctree,
6988 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006989HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006990>xmlChar</A
6991> **list,
6992 int *len,
6993 int max);</PRE
6994></TD
6995></TR
6996></TABLE
6997><P
6998>Build/extend a list of potential children allowed by the content tree</P
6999><P
7000></P
7001><DIV
7002CLASS="INFORMALTABLE"
7003><P
7004></P
7005><TABLE
7006BORDER="0"
7007WIDTH="100%"
7008BGCOLOR="#FFD0D0"
7009CELLSPACING="0"
7010CELLPADDING="4"
7011CLASS="CALSTABLE"
7012><TR
7013><TD
7014WIDTH="20%"
7015ALIGN="RIGHT"
7016VALIGN="TOP"
7017><TT
7018CLASS="PARAMETER"
7019><I
7020>ctree</I
7021></TT
7022>&nbsp;:</TD
7023><TD
7024WIDTH="80%"
7025ALIGN="LEFT"
7026VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007027> an element content tree</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007028></TR
7029><TR
7030><TD
7031WIDTH="20%"
7032ALIGN="RIGHT"
7033VALIGN="TOP"
7034><TT
7035CLASS="PARAMETER"
7036><I
7037>list</I
7038></TT
7039>&nbsp;:</TD
7040><TD
7041WIDTH="80%"
7042ALIGN="LEFT"
7043VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007044> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007045></TR
7046><TR
7047><TD
7048WIDTH="20%"
7049ALIGN="RIGHT"
7050VALIGN="TOP"
7051><TT
7052CLASS="PARAMETER"
7053><I
7054>len</I
7055></TT
7056>&nbsp;:</TD
7057><TD
7058WIDTH="80%"
7059ALIGN="LEFT"
7060VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007061> a pointer to the number of element in the list</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007062></TR
7063><TR
7064><TD
7065WIDTH="20%"
7066ALIGN="RIGHT"
7067VALIGN="TOP"
7068><TT
7069CLASS="PARAMETER"
7070><I
7071>max</I
7072></TT
7073>&nbsp;:</TD
7074><TD
7075WIDTH="80%"
7076ALIGN="LEFT"
7077VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007078> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007079></TR
7080><TR
7081><TD
7082WIDTH="20%"
7083ALIGN="RIGHT"
7084VALIGN="TOP"
7085><I
7086CLASS="EMPHASIS"
7087>Returns</I
7088> :</TD
7089><TD
7090WIDTH="80%"
7091ALIGN="LEFT"
7092VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007093>the number of element in the list, or -1 in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007094></TR
7095></TABLE
7096><P
7097></P
7098></DIV
7099></DIV
7100></DIV
7101><DIV
7102CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00007103><BR
7104CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00007105WIDTH="100%"
7106BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007107BGCOLOR="#000000"
7108CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00007109CELLSPACING="0"
7110><TR
7111><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007112WIDTH="25%"
7113BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00007114ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00007115><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007116HREF="libxml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007117><FONT
7118COLOR="#FFFFFF"
7119SIZE="3"
7120><B
7121>&#60;&#60;&#60; Previous Page</B
7122></FONT
7123></A
Daniel Veillard35925471999-02-25 08:46:07 +00007124></TD
7125><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007126WIDTH="25%"
7127BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00007128ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00007129><FONT
7130COLOR="#FFFFFF"
7131SIZE="3"
7132><B
Daniel Veillard35925471999-02-25 08:46:07 +00007133><A
7134HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007135><FONT
7136COLOR="#FFFFFF"
7137SIZE="3"
7138><B
7139>Home</B
7140></FONT
7141></A
7142></B
7143></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00007144></TD
7145><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007146WIDTH="25%"
7147BGCOLOR="#00C000"
7148ALIGN="center"
7149><FONT
7150COLOR="#FFFFFF"
7151SIZE="3"
7152><B
7153><A
Daniel Veillard35008381999-10-25 13:15:52 +00007154HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007155><FONT
7156COLOR="#FFFFFF"
7157SIZE="3"
7158><B
7159>Up</B
7160></FONT
7161></A
7162></B
7163></FONT
7164></TD
7165><TD
7166WIDTH="25%"
7167BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00007168ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00007169><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007170HREF="libxml-uri.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007171><FONT
7172COLOR="#FFFFFF"
7173SIZE="3"
7174><B
7175>Next Page &#62;&#62;&#62;</B
7176></FONT
7177></A
Daniel Veillard35925471999-02-25 08:46:07 +00007178></TD
7179></TR
7180><TR
7181><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007182COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00007183ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00007184><FONT
7185COLOR="#FFFFFF"
7186SIZE="3"
7187><B
7188>entities</B
7189></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00007190></TD
7191><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007192COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00007193ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00007194><FONT
7195COLOR="#FFFFFF"
7196SIZE="3"
7197><B
Daniel Veillard8f621982000-03-20 13:07:15 +00007198>uri</B
Daniel Veillard14fff061999-06-22 21:49:07 +00007199></FONT
7200></TD
Daniel Veillard35925471999-02-25 08:46:07 +00007201></TR
7202></TABLE
7203></DIV
7204></BODY
7205></HTML
7206>