blob: fe86179f48ed7e7a670f711962d5eff6ce6bb7c7 [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 Veillarda41123c2001-04-22 19:31:20 +0000124NAME="AEN7785"
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 Veillarda41123c2001-04-22 19:31:20 +0000132NAME="AEN7788"
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 Veillarda41123c2001-04-22 19:31:20 +0000147struct <A
148HREF="libxml-valid.html#XMLVALIDSTATE"
149>xmlValidState</A
150>;
151typedef <A
152HREF="libxml-valid.html#XMLVALIDSTATEPTR"
153>xmlValidStatePtr</A
154>;
Daniel Veillardb05deb71999-08-10 19:04:08 +0000155void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000156HREF="libxml-valid.html#XMLVALIDITYERRORFUNC"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000157>*xmlValidityErrorFunc</A
158>) (void *ctx,
159 const char *msg,
160 ...);
161void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000162HREF="libxml-valid.html#XMLVALIDITYWARNINGFUNC"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000163>*xmlValidityWarningFunc</A
164>) (void *ctx,
165 const char *msg,
166 ...);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000167struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000168HREF="libxml-valid.html#XMLVALIDCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000169>xmlValidCtxt</A
170>;
171typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000172HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000173>xmlValidCtxtPtr</A
174>;
Daniel Veillard35925471999-02-25 08:46:07 +0000175typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000176HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000177>xmlNotationTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000178>;
Daniel Veillard35925471999-02-25 08:46:07 +0000179typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000180HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000181>xmlElementTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000182>;
Daniel Veillard35925471999-02-25 08:46:07 +0000183typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000184HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000185>xmlAttributeTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000186>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000187typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000188HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000189>xmlIDTablePtr</A
190>;
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000191typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000192HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000193>xmlRefTablePtr</A
194>;
Daniel Veillard35925471999-02-25 08:46:07 +0000195<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000196HREF="libxml-tree.html#XMLCHAR"
197>xmlChar</A
198>* <A
199HREF="libxml-valid.html#XMLSPLITQNAME2"
200>xmlSplitQName2</A
201> (const <A
202HREF="libxml-tree.html#XMLCHAR"
203>xmlChar</A
204> *name,
205 <A
206HREF="libxml-tree.html#XMLCHAR"
207>xmlChar</A
208> **prefix);
209<A
210HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000211>xmlNotationPtr</A
212> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000213HREF="libxml-valid.html#XMLADDNOTATIONDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000214>xmlAddNotationDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000215> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000216HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000217>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000218> ctxt,
219 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000220HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000221>xmlDtdPtr</A
222> dtd,
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> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000227 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000228HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000229>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000230> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000231 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000232HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000233>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000234> *SystemID);
235<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000236HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000237>xmlNotationTablePtr</A
238> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000239HREF="libxml-valid.html#XMLCOPYNOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000240>xmlCopyNotationTable</A
241> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000242HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000243>xmlNotationTablePtr</A
244> table);
245void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000246HREF="libxml-valid.html#XMLFREENOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000247>xmlFreeNotationTable</A
248> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000249HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000250>xmlNotationTablePtr</A
251> table);
252void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000253HREF="libxml-valid.html#XMLDUMPNOTATIONDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000254>xmlDumpNotationDecl</A
255> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000256HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000257>xmlBufferPtr</A
258> buf,
259 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000260HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000261>xmlNotationPtr</A
262> nota);
263void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000264HREF="libxml-valid.html#XMLDUMPNOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000265>xmlDumpNotationTable</A
266> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000267HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000268>xmlBufferPtr</A
269> buf,
270 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000271HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000272>xmlNotationTablePtr</A
273> table);
274<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000275HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000276>xmlElementContentPtr</A
277> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000278HREF="libxml-valid.html#XMLNEWELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000279>xmlNewElementContent</A
280> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000281HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000282>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000283> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000284 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000285HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000286>xmlElementContentType</A
287> type);
Daniel Veillard35925471999-02-25 08:46:07 +0000288<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000289HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000290>xmlElementContentPtr</A
291> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000292HREF="libxml-valid.html#XMLCOPYELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000293>xmlCopyElementContent</A
294> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000295HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000296>xmlElementContentPtr</A
297> content);
298void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000299HREF="libxml-valid.html#XMLFREEELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000300>xmlFreeElementContent</A
301> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000302HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000303>xmlElementContentPtr</A
304> cur);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000305void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000306HREF="libxml-valid.html#XMLSPRINTFELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000307>xmlSprintfElementContent</A
308> (char *buf,
309 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000310HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000311>xmlElementContentPtr</A
312> content,
313 int glob);
Daniel Veillard35925471999-02-25 08:46:07 +0000314<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000315HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000316>xmlElementPtr</A
317> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000318HREF="libxml-valid.html#XMLADDELEMENTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000319>xmlAddElementDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000320> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000321HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000322>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000323> ctxt,
324 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000325HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000326>xmlDtdPtr</A
327> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000328 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000329HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000330>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000331> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000332 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000333HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000334>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000335> type,
Daniel Veillard35925471999-02-25 08:46:07 +0000336 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000337HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000338>xmlElementContentPtr</A
339> content);
340<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000341HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000342>xmlElementTablePtr</A
343> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000344HREF="libxml-valid.html#XMLCOPYELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000345>xmlCopyElementTable</A
346> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000347HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000348>xmlElementTablePtr</A
349> table);
350void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000351HREF="libxml-valid.html#XMLFREEELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000352>xmlFreeElementTable</A
353> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000354HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000355>xmlElementTablePtr</A
356> table);
357void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000358HREF="libxml-valid.html#XMLDUMPELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000359>xmlDumpElementTable</A
360> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000361HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000362>xmlBufferPtr</A
363> buf,
364 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000365HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000366>xmlElementTablePtr</A
367> table);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000368void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000369HREF="libxml-valid.html#XMLDUMPELEMENTDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000370>xmlDumpElementDecl</A
371> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000372HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000373>xmlBufferPtr</A
374> buf,
375 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000376HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000377>xmlElementPtr</A
378> elem);
Daniel Veillard35925471999-02-25 08:46:07 +0000379<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000380HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000381>xmlEnumerationPtr</A
382> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000383HREF="libxml-valid.html#XMLCREATEENUMERATION"
Daniel Veillard35925471999-02-25 08:46:07 +0000384>xmlCreateEnumeration</A
385> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000386HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000387>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000388> *name);
389void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000390HREF="libxml-valid.html#XMLFREEENUMERATION"
Daniel Veillard35925471999-02-25 08:46:07 +0000391>xmlFreeEnumeration</A
392> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000393HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000394>xmlEnumerationPtr</A
395> cur);
396<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000397HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000398>xmlEnumerationPtr</A
399> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000400HREF="libxml-valid.html#XMLCOPYENUMERATION"
Daniel Veillard35925471999-02-25 08:46:07 +0000401>xmlCopyEnumeration</A
402> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000403HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000404>xmlEnumerationPtr</A
405> cur);
406<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000407HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000408>xmlAttributePtr</A
409> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000410HREF="libxml-valid.html#XMLADDATTRIBUTEDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000411>xmlAddAttributeDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000412> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000413HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000414>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000415> ctxt,
416 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000417HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000418>xmlDtdPtr</A
419> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000420 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000421HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000422>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000423> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000424 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000425HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000426>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000427> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000428 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000429HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000430>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +0000431> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000432 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000433HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000434>xmlAttributeType</A
435> type,
436 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000437HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000438>xmlAttributeDefault</A
439> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000440 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000441HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000442>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000443> *defaultValue,
444 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000445HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000446>xmlEnumerationPtr</A
447> tree);
448<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000449HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000450>xmlAttributeTablePtr</A
451> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000452HREF="libxml-valid.html#XMLCOPYATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000453>xmlCopyAttributeTable</A
454> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000455HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000456>xmlAttributeTablePtr</A
457> table);
458void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000459HREF="libxml-valid.html#XMLFREEATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000460>xmlFreeAttributeTable</A
461> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000462HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000463>xmlAttributeTablePtr</A
464> table);
465void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000466HREF="libxml-valid.html#XMLDUMPATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000467>xmlDumpAttributeTable</A
468> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000469HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000470>xmlBufferPtr</A
471> buf,
472 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000473HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000474>xmlAttributeTablePtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000475> table);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000476void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000477HREF="libxml-valid.html#XMLDUMPATTRIBUTEDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000478>xmlDumpAttributeDecl</A
479> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000480HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000481>xmlBufferPtr</A
482> buf,
483 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000484HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000485>xmlAttributePtr</A
486> attr);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000487<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000488HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000489>xmlIDPtr</A
490> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000491HREF="libxml-valid.html#XMLADDID"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000492>xmlAddID</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000493> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000494HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000495>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000496> ctxt,
497 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000498HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000499>xmlDocPtr</A
500> doc,
501 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000502HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000503>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000504> *value,
505 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000506HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000507>xmlAttrPtr</A
508> attr);
509<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000510HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000511>xmlIDTablePtr</A
512> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000513HREF="libxml-valid.html#XMLCOPYIDTABLE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000514>xmlCopyIDTable</A
515> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000516HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000517>xmlIDTablePtr</A
518> table);
519void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000520HREF="libxml-valid.html#XMLFREEIDTABLE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000521>xmlFreeIDTable</A
522> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000523HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000524>xmlIDTablePtr</A
525> table);
526<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000527HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000528>xmlAttrPtr</A
529> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000530HREF="libxml-valid.html#XMLGETID"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000531>xmlGetID</A
532> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000533HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000534>xmlDocPtr</A
535> doc,
536 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000537HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000538>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000539> *ID);
540int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000541HREF="libxml-valid.html#XMLISID"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000542>xmlIsID</A
543> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000544HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000545>xmlDocPtr</A
546> doc,
547 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000548HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000549>xmlNodePtr</A
550> elem,
551 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000552HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000553>xmlAttrPtr</A
554> attr);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000555int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000556HREF="libxml-valid.html#XMLREMOVEID"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000557>xmlRemoveID</A
558> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000559HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000560>xmlDocPtr</A
561> doc,
562 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000563HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000564>xmlAttrPtr</A
565> attr);
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000566<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000567HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000568>xmlRefPtr</A
569> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000570HREF="libxml-valid.html#XMLADDREF"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000571>xmlAddRef</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000572> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000573HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000574>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000575> ctxt,
576 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000577HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000578>xmlDocPtr</A
579> doc,
580 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000581HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000582>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000583> *value,
584 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000585HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000586>xmlAttrPtr</A
587> attr);
588<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000589HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000590>xmlRefTablePtr</A
591> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000592HREF="libxml-valid.html#XMLCOPYREFTABLE"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000593>xmlCopyRefTable</A
594> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000595HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000596>xmlRefTablePtr</A
597> table);
598void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000599HREF="libxml-valid.html#XMLFREEREFTABLE"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000600>xmlFreeRefTable</A
601> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000602HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000603>xmlRefTablePtr</A
604> table);
605int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000606HREF="libxml-valid.html#XMLISREF"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000607>xmlIsRef</A
608> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000609HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000610>xmlDocPtr</A
611> doc,
612 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000613HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000614>xmlNodePtr</A
615> elem,
616 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000617HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000618>xmlAttrPtr</A
619> attr);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000620int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000621HREF="libxml-valid.html#XMLREMOVEREF"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000622>xmlRemoveRef</A
623> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000624HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000625>xmlDocPtr</A
626> doc,
627 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000628HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000629>xmlAttrPtr</A
630> attr);
Daniel Veillarda41123c2001-04-22 19:31:20 +0000631<GTKDOCLINK
632HREF="XMLLISTPTR"
633>xmlListPtr</GTKDOCLINK
634> <A
635HREF="libxml-valid.html#XMLGETREFS"
636>xmlGetRefs</A
637> (<A
638HREF="libxml-tree.html#XMLDOCPTR"
639>xmlDocPtr</A
640> doc,
641 const <A
642HREF="libxml-tree.html#XMLCHAR"
643>xmlChar</A
644> *ID);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000645int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000646HREF="libxml-valid.html#XMLVALIDATEROOT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000647>xmlValidateRoot</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000648> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000649HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000650>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000651> ctxt,
652 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000653HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000654>xmlDocPtr</A
655> doc);
656int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000657HREF="libxml-valid.html#XMLVALIDATEELEMENTDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000658>xmlValidateElementDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000659> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000660HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000661>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000662> ctxt,
663 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000664HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000665>xmlDocPtr</A
666> doc,
667 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000668HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000669>xmlElementPtr</A
670> elem);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000671<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000672HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000673>xmlChar</A
674>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000675HREF="libxml-valid.html#XMLVALIDNORMALIZEATTRIBUTEVALUE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000676>xmlValidNormalizeAttributeValue</A
677> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000678HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000679>xmlDocPtr</A
680> doc,
681 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000682HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000683>xmlNodePtr</A
684> elem,
685 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000686HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000687>xmlChar</A
688> *name,
689 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000690HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000691>xmlChar</A
692> *value);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000693int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000694HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000695>xmlValidateAttributeDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000696> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000697HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000698>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000699> ctxt,
700 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000701HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000702>xmlDocPtr</A
703> doc,
704 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000705HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000706>xmlAttributePtr</A
707> attr);
708int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000709HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000710>xmlValidateAttributeValue</A
711> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000712HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000713>xmlAttributeType</A
714> type,
715 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000716HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000717>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000718> *value);
719int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000720HREF="libxml-valid.html#XMLVALIDATENOTATIONDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000721>xmlValidateNotationDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000722> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000723HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000724>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000725> ctxt,
726 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000727HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000728>xmlDocPtr</A
729> doc,
730 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000731HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000732>xmlNotationPtr</A
733> nota);
734int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000735HREF="libxml-valid.html#XMLVALIDATEDTD"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000736>xmlValidateDtd</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000737> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000738HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000739>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000740> ctxt,
741 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000742HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000743>xmlDocPtr</A
744> doc,
745 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000746HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000747>xmlDtdPtr</A
748> dtd);
749int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000750HREF="libxml-valid.html#XMLVALIDATEDTDFINAL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000751>xmlValidateDtdFinal</A
752> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000753HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000754>xmlValidCtxtPtr</A
755> ctxt,
756 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000757HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000758>xmlDocPtr</A
759> doc);
760int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000761HREF="libxml-valid.html#XMLVALIDATEDOCUMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000762>xmlValidateDocument</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000763> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000764HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000765>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000766> ctxt,
767 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000768HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000769>xmlDocPtr</A
770> doc);
771int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000772HREF="libxml-valid.html#XMLVALIDATEELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000773>xmlValidateElement</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000774> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000775HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000776>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000777> ctxt,
778 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000779HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000780>xmlDocPtr</A
781> doc,
782 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000783HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000784>xmlNodePtr</A
785> elem);
786int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000787HREF="libxml-valid.html#XMLVALIDATEONEELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000788>xmlValidateOneElement</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000789> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000790HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000791>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000792> ctxt,
793 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000794HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000795>xmlDocPtr</A
796> doc,
797 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000798HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000799>xmlNodePtr</A
800> elem);
801int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000802HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000803>xmlValidateOneAttribute</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000804> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000805HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000806>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000807> ctxt,
808 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000809HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000810>xmlDocPtr</A
811> doc,
812 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000813HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000814>xmlNodePtr</A
815> elem,
816 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000817HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000818>xmlAttrPtr</A
819> attr,
820 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000821HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000822>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000823> *value);
824int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000825HREF="libxml-valid.html#XMLVALIDATEDOCUMENTFINAL"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000826>xmlValidateDocumentFinal</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000827> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000828HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000829>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000830> ctxt,
831 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000832HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000833>xmlDocPtr</A
834> doc);
835int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000836HREF="libxml-valid.html#XMLVALIDATENOTATIONUSE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000837>xmlValidateNotationUse</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000838> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000839HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000840>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000841> ctxt,
842 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000843HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000844>xmlDocPtr</A
845> doc,
846 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000847HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000848>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000849> *notationName);
850int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000851HREF="libxml-valid.html#XMLISMIXEDELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000852>xmlIsMixedElement</A
853> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000854HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000855>xmlDocPtr</A
856> doc,
857 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000858HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000859>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000860> *name);
861<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000862HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000863>xmlAttributePtr</A
864> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000865HREF="libxml-valid.html#XMLGETDTDATTRDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000866>xmlGetDtdAttrDesc</A
867> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000868HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000869>xmlDtdPtr</A
870> dtd,
871 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000872HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000873>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000874> *elem,
875 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000876HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000877>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000878> *name);
879<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000880HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000881>xmlNotationPtr</A
882> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000883HREF="libxml-valid.html#XMLGETDTDNOTATIONDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000884>xmlGetDtdNotationDesc</A
885> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000886HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000887>xmlDtdPtr</A
888> dtd,
889 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000890HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000891>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000892> *name);
893<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000894HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000895>xmlElementPtr</A
896> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000897HREF="libxml-valid.html#XMLGETDTDELEMENTDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000898>xmlGetDtdElementDesc</A
899> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000900HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000901>xmlDtdPtr</A
902> dtd,
903 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000904HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000905>xmlChar</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000906> *name);
907int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000908HREF="libxml-valid.html#XMLVALIDGETVALIDELEMENTS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000909>xmlValidGetValidElements</A
910> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000911HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000912>xmlNode</A
913> *prev,
914 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000915HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000916>xmlNode</A
917> *next,
918 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000919HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000920>xmlChar</A
921> **list,
922 int max);
923int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000924HREF="libxml-valid.html#XMLVALIDGETPOTENTIALCHILDREN"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000925>xmlValidGetPotentialChildren</A
926> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000927HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000928>xmlElementContent</A
929> *ctree,
930 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000931HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000932>xmlChar</A
933> **list,
934 int *len,
935 int max);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000936></TD
937></TR
938></TABLE
939></DIV
940><DIV
941CLASS="REFSECT1"
942><A
Daniel Veillarda41123c2001-04-22 19:31:20 +0000943NAME="AEN8005"
Daniel Veillard35925471999-02-25 08:46:07 +0000944></A
945><H2
946>Description</H2
947><P
948></P
949></DIV
950><DIV
951CLASS="REFSECT1"
952><A
Daniel Veillarda41123c2001-04-22 19:31:20 +0000953NAME="AEN8008"
Daniel Veillard35925471999-02-25 08:46:07 +0000954></A
955><H2
956>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000957><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000958CLASS="REFSECT2"
959><A
Daniel Veillarda41123c2001-04-22 19:31:20 +0000960NAME="AEN8010"
961></A
962><H3
963><A
964NAME="XMLVALIDSTATE"
965></A
966>struct xmlValidState</H3
967><TABLE
968BORDER="0"
969BGCOLOR="#D6E8FF"
970WIDTH="100%"
971CELLPADDING="6"
972><TR
973><TD
974><PRE
975CLASS="PROGRAMLISTING"
976>struct xmlValidState;</PRE
977></TD
978></TR
979></TABLE
980><P
981></P
982></DIV
983><HR><DIV
984CLASS="REFSECT2"
985><A
986NAME="AEN8015"
987></A
988><H3
989><A
990NAME="XMLVALIDSTATEPTR"
991></A
992>xmlValidStatePtr</H3
993><TABLE
994BORDER="0"
995BGCOLOR="#D6E8FF"
996WIDTH="100%"
997CELLPADDING="6"
998><TR
999><TD
1000><PRE
1001CLASS="PROGRAMLISTING"
1002>typedef xmlValidState *xmlValidStatePtr;</PRE
1003></TD
1004></TR
1005></TABLE
1006><P
1007></P
1008></DIV
1009><HR><DIV
1010CLASS="REFSECT2"
1011><A
1012NAME="AEN8020"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001013></A
1014><H3
1015><A
1016NAME="XMLVALIDITYERRORFUNC"
1017></A
1018>xmlValidityErrorFunc ()</H3
1019><TABLE
1020BORDER="0"
1021BGCOLOR="#D6E8FF"
1022WIDTH="100%"
1023CELLPADDING="6"
1024><TR
1025><TD
1026><PRE
1027CLASS="PROGRAMLISTING"
1028>void (*xmlValidityErrorFunc) (void *ctx,
1029 const char *msg,
1030 ...);</PRE
1031></TD
1032></TR
1033></TABLE
1034><P
1035></P
1036><DIV
1037CLASS="INFORMALTABLE"
1038><P
1039></P
1040><TABLE
1041BORDER="0"
1042WIDTH="100%"
1043BGCOLOR="#FFD0D0"
1044CELLSPACING="0"
1045CELLPADDING="4"
1046CLASS="CALSTABLE"
1047><TR
1048><TD
1049WIDTH="20%"
1050ALIGN="RIGHT"
1051VALIGN="TOP"
1052><TT
1053CLASS="PARAMETER"
1054><I
1055>ctx</I
1056></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001057>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001058><TD
1059WIDTH="80%"
1060ALIGN="LEFT"
1061VALIGN="TOP"
1062>&nbsp;</TD
1063></TR
1064><TR
1065><TD
1066WIDTH="20%"
1067ALIGN="RIGHT"
1068VALIGN="TOP"
1069><TT
1070CLASS="PARAMETER"
1071><I
1072>msg</I
1073></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001074>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001075><TD
1076WIDTH="80%"
1077ALIGN="LEFT"
1078VALIGN="TOP"
1079>&nbsp;</TD
1080></TR
1081><TR
1082><TD
1083WIDTH="20%"
1084ALIGN="RIGHT"
1085VALIGN="TOP"
1086><TT
1087CLASS="PARAMETER"
1088><I
1089>...</I
1090></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001091>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001092><TD
1093WIDTH="80%"
1094ALIGN="LEFT"
1095VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001096>&#13;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001097></TR
1098></TABLE
1099><P
1100></P
1101></DIV
1102></DIV
1103><HR><DIV
1104CLASS="REFSECT2"
1105><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001106NAME="AEN8042"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001107></A
1108><H3
1109><A
1110NAME="XMLVALIDITYWARNINGFUNC"
1111></A
1112>xmlValidityWarningFunc ()</H3
1113><TABLE
1114BORDER="0"
1115BGCOLOR="#D6E8FF"
1116WIDTH="100%"
1117CELLPADDING="6"
1118><TR
1119><TD
1120><PRE
1121CLASS="PROGRAMLISTING"
1122>void (*xmlValidityWarningFunc) (void *ctx,
1123 const char *msg,
1124 ...);</PRE
1125></TD
1126></TR
1127></TABLE
1128><P
1129></P
1130><DIV
1131CLASS="INFORMALTABLE"
1132><P
1133></P
1134><TABLE
1135BORDER="0"
1136WIDTH="100%"
1137BGCOLOR="#FFD0D0"
1138CELLSPACING="0"
1139CELLPADDING="4"
1140CLASS="CALSTABLE"
1141><TR
1142><TD
1143WIDTH="20%"
1144ALIGN="RIGHT"
1145VALIGN="TOP"
1146><TT
1147CLASS="PARAMETER"
1148><I
1149>ctx</I
1150></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001151>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001152><TD
1153WIDTH="80%"
1154ALIGN="LEFT"
1155VALIGN="TOP"
1156>&nbsp;</TD
1157></TR
1158><TR
1159><TD
1160WIDTH="20%"
1161ALIGN="RIGHT"
1162VALIGN="TOP"
1163><TT
1164CLASS="PARAMETER"
1165><I
1166>msg</I
1167></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001168>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001169><TD
1170WIDTH="80%"
1171ALIGN="LEFT"
1172VALIGN="TOP"
1173>&nbsp;</TD
1174></TR
1175><TR
1176><TD
1177WIDTH="20%"
1178ALIGN="RIGHT"
1179VALIGN="TOP"
1180><TT
1181CLASS="PARAMETER"
1182><I
1183>...</I
1184></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001185>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001186><TD
1187WIDTH="80%"
1188ALIGN="LEFT"
1189VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001190>&#13;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001191></TR
1192></TABLE
1193><P
1194></P
1195></DIV
1196></DIV
1197><HR><DIV
1198CLASS="REFSECT2"
1199><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001200NAME="AEN8064"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001201></A
1202><H3
1203><A
1204NAME="XMLVALIDCTXT"
1205></A
1206>struct xmlValidCtxt</H3
1207><TABLE
1208BORDER="0"
1209BGCOLOR="#D6E8FF"
1210WIDTH="100%"
1211CELLPADDING="6"
1212><TR
1213><TD
1214><PRE
1215CLASS="PROGRAMLISTING"
1216>struct xmlValidCtxt {
1217 void *userData; /* user specific data block */
1218 xmlValidityErrorFunc error; /* the callback in case of errors */
1219 xmlValidityWarningFunc warning; /* the callback in case of warning */
1220
1221 /* Node analysis stack used when validating within entities */
1222 xmlNodePtr node; /* Current parsed Node */
1223 int nodeNr; /* Depth of the parsing stack */
1224 int nodeMax; /* Max depth of the parsing stack */
1225 xmlNodePtr *nodeTab; /* array of nodes */
1226
1227 int finishDtd; /* finished validating the Dtd ? */
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001228 xmlDocPtr doc; /* the document */
1229 int valid; /* temporary validity check result */
Daniel Veillarda41123c2001-04-22 19:31:20 +00001230
1231 /* state state used for non-determinist content validation */
1232 xmlValidState *vstate; /* current state */
1233 int vstateNr; /* Depth of the validation stack */
1234 int vstateMax; /* Max depth of the validation stack */
1235 xmlValidState *vstateTab; /* array of validation states */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001236};</PRE
1237></TD
1238></TR
1239></TABLE
1240><P
1241></P
1242></DIV
1243><HR><DIV
1244CLASS="REFSECT2"
1245><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001246NAME="AEN8069"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001247></A
1248><H3
1249><A
1250NAME="XMLVALIDCTXTPTR"
1251></A
1252>xmlValidCtxtPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001253><TABLE
1254BORDER="0"
1255BGCOLOR="#D6E8FF"
1256WIDTH="100%"
1257CELLPADDING="6"
1258><TR
1259><TD
1260><PRE
1261CLASS="PROGRAMLISTING"
1262>typedef xmlValidCtxt *xmlValidCtxtPtr;</PRE
1263></TD
1264></TR
1265></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001266><P
1267></P
1268></DIV
1269><HR><DIV
1270CLASS="REFSECT2"
1271><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001272NAME="AEN8074"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001273></A
1274><H3
1275><A
1276NAME="XMLNOTATIONTABLEPTR"
1277></A
1278>xmlNotationTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001279><TABLE
1280BORDER="0"
1281BGCOLOR="#D6E8FF"
1282WIDTH="100%"
1283CELLPADDING="6"
1284><TR
1285><TD
1286><PRE
1287CLASS="PROGRAMLISTING"
1288>typedef xmlNotationTable *xmlNotationTablePtr;</PRE
1289></TD
1290></TR
1291></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001292><P
1293></P
1294></DIV
1295><HR><DIV
1296CLASS="REFSECT2"
1297><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001298NAME="AEN8079"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001299></A
1300><H3
1301><A
1302NAME="XMLELEMENTTABLEPTR"
1303></A
1304>xmlElementTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001305><TABLE
1306BORDER="0"
1307BGCOLOR="#D6E8FF"
1308WIDTH="100%"
1309CELLPADDING="6"
1310><TR
1311><TD
1312><PRE
1313CLASS="PROGRAMLISTING"
1314>typedef xmlElementTable *xmlElementTablePtr;</PRE
1315></TD
1316></TR
1317></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001318><P
1319></P
1320></DIV
1321><HR><DIV
1322CLASS="REFSECT2"
1323><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001324NAME="AEN8084"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001325></A
1326><H3
1327><A
1328NAME="XMLATTRIBUTETABLEPTR"
1329></A
1330>xmlAttributeTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001331><TABLE
1332BORDER="0"
1333BGCOLOR="#D6E8FF"
1334WIDTH="100%"
1335CELLPADDING="6"
1336><TR
1337><TD
1338><PRE
1339CLASS="PROGRAMLISTING"
1340>typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE
1341></TD
1342></TR
1343></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001344><P
1345></P
1346></DIV
1347><HR><DIV
1348CLASS="REFSECT2"
1349><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001350NAME="AEN8089"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001351></A
1352><H3
1353><A
1354NAME="XMLIDTABLEPTR"
1355></A
1356>xmlIDTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001357><TABLE
1358BORDER="0"
1359BGCOLOR="#D6E8FF"
1360WIDTH="100%"
1361CELLPADDING="6"
1362><TR
1363><TD
1364><PRE
1365CLASS="PROGRAMLISTING"
1366>typedef xmlIDTable *xmlIDTablePtr;</PRE
1367></TD
1368></TR
1369></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001370><P
1371></P
1372></DIV
1373><HR><DIV
1374CLASS="REFSECT2"
1375><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001376NAME="AEN8094"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001377></A
1378><H3
1379><A
1380NAME="XMLREFTABLEPTR"
1381></A
1382>xmlRefTablePtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001383><TABLE
1384BORDER="0"
1385BGCOLOR="#D6E8FF"
1386WIDTH="100%"
1387CELLPADDING="6"
1388><TR
1389><TD
1390><PRE
1391CLASS="PROGRAMLISTING"
1392>typedef xmlRefTable *xmlRefTablePtr;</PRE
1393></TD
1394></TR
1395></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001396><P
1397></P
1398></DIV
1399><HR><DIV
1400CLASS="REFSECT2"
1401><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001402NAME="AEN8099"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001403></A
1404><H3
1405><A
1406NAME="XMLSPLITQNAME2"
1407></A
1408>xmlSplitQName2 ()</H3
1409><TABLE
1410BORDER="0"
1411BGCOLOR="#D6E8FF"
1412WIDTH="100%"
1413CELLPADDING="6"
1414><TR
1415><TD
1416><PRE
1417CLASS="PROGRAMLISTING"
1418><A
1419HREF="libxml-tree.html#XMLCHAR"
1420>xmlChar</A
1421>* xmlSplitQName2 (const <A
1422HREF="libxml-tree.html#XMLCHAR"
1423>xmlChar</A
1424> *name,
1425 <A
1426HREF="libxml-tree.html#XMLCHAR"
1427>xmlChar</A
1428> **prefix);</PRE
1429></TD
1430></TR
1431></TABLE
1432><P
1433>parse an XML qualified name string</P
1434><P
1435>[NS 5] QName ::= (Prefix ':')? LocalPart</P
1436><P
1437>[NS 6] Prefix ::= NCName</P
1438><P
1439>[NS 7] LocalPart ::= NCName</P
1440><P
1441></P
1442><DIV
1443CLASS="INFORMALTABLE"
1444><P
1445></P
1446><TABLE
1447BORDER="0"
1448WIDTH="100%"
1449BGCOLOR="#FFD0D0"
1450CELLSPACING="0"
1451CELLPADDING="4"
1452CLASS="CALSTABLE"
1453><TR
1454><TD
1455WIDTH="20%"
1456ALIGN="RIGHT"
1457VALIGN="TOP"
1458><TT
1459CLASS="PARAMETER"
1460><I
1461>name</I
1462></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001463>:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001464><TD
1465WIDTH="80%"
1466ALIGN="LEFT"
1467VALIGN="TOP"
1468> an XML parser context</TD
1469></TR
1470><TR
1471><TD
1472WIDTH="20%"
1473ALIGN="RIGHT"
1474VALIGN="TOP"
1475><TT
1476CLASS="PARAMETER"
1477><I
1478>prefix</I
1479></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001480>:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001481><TD
1482WIDTH="80%"
1483ALIGN="LEFT"
1484VALIGN="TOP"
1485> a xmlChar ** </TD
1486></TR
1487><TR
1488><TD
1489WIDTH="20%"
1490ALIGN="RIGHT"
1491VALIGN="TOP"
1492><I
1493CLASS="EMPHASIS"
1494>Returns</I
1495> :</TD
1496><TD
1497WIDTH="80%"
1498ALIGN="LEFT"
1499VALIGN="TOP"
1500>NULL if not a QName, otherwise the local part, and prefix
1501is updated to get the Prefix if any.</TD
1502></TR
1503></TABLE
1504><P
1505></P
1506></DIV
1507></DIV
1508><HR><DIV
1509CLASS="REFSECT2"
1510><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001511NAME="AEN8128"
Daniel Veillard35925471999-02-25 08:46:07 +00001512></A
1513><H3
1514><A
1515NAME="XMLADDNOTATIONDECL"
1516></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001517>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001518><TABLE
1519BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001520BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001521WIDTH="100%"
1522CELLPADDING="6"
1523><TR
1524><TD
1525><PRE
1526CLASS="PROGRAMLISTING"
1527><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001528HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001529>xmlNotationPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001530> xmlAddNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001531HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001532>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001533> ctxt,
1534 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001535HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001536>xmlDtdPtr</A
1537> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001538 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001539HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001540>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001541> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001542 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001543HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001544>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001545> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001546 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001547HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001548>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001549> *SystemID);</PRE
1550></TD
1551></TR
1552></TABLE
1553><P
1554>Register a new notation declaration</P
1555><P
1556></P
1557><DIV
1558CLASS="INFORMALTABLE"
1559><P
1560></P
1561><TABLE
1562BORDER="0"
1563WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001564BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001565CELLSPACING="0"
1566CELLPADDING="4"
1567CLASS="CALSTABLE"
1568><TR
1569><TD
1570WIDTH="20%"
1571ALIGN="RIGHT"
1572VALIGN="TOP"
1573><TT
1574CLASS="PARAMETER"
1575><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001576>ctxt</I
1577></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001578>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001579><TD
1580WIDTH="80%"
1581ALIGN="LEFT"
1582VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001583> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001584></TR
1585><TR
1586><TD
1587WIDTH="20%"
1588ALIGN="RIGHT"
1589VALIGN="TOP"
1590><TT
1591CLASS="PARAMETER"
1592><I
Daniel Veillard35925471999-02-25 08:46:07 +00001593>dtd</I
1594></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001595>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001596><TD
1597WIDTH="80%"
1598ALIGN="LEFT"
1599VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001600> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001601></TR
1602><TR
1603><TD
1604WIDTH="20%"
1605ALIGN="RIGHT"
1606VALIGN="TOP"
1607><TT
1608CLASS="PARAMETER"
1609><I
1610>name</I
1611></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001612>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001613><TD
1614WIDTH="80%"
1615ALIGN="LEFT"
1616VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001617> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001618></TR
1619><TR
1620><TD
1621WIDTH="20%"
1622ALIGN="RIGHT"
1623VALIGN="TOP"
1624><TT
1625CLASS="PARAMETER"
1626><I
1627>PublicID</I
1628></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001629>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001630><TD
1631WIDTH="80%"
1632ALIGN="LEFT"
1633VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001634> the public identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001635></TR
1636><TR
1637><TD
1638WIDTH="20%"
1639ALIGN="RIGHT"
1640VALIGN="TOP"
1641><TT
1642CLASS="PARAMETER"
1643><I
1644>SystemID</I
1645></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001646>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001647><TD
1648WIDTH="80%"
1649ALIGN="LEFT"
1650VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001651> the system identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001652></TR
1653><TR
1654><TD
1655WIDTH="20%"
1656ALIGN="RIGHT"
1657VALIGN="TOP"
1658><I
1659CLASS="EMPHASIS"
1660>Returns</I
1661> :</TD
1662><TD
1663WIDTH="80%"
1664ALIGN="LEFT"
1665VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001666>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001667></TR
1668></TABLE
1669><P
1670></P
1671></DIV
1672></DIV
1673><HR><DIV
1674CLASS="REFSECT2"
1675><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001676NAME="AEN8169"
Daniel Veillard35925471999-02-25 08:46:07 +00001677></A
1678><H3
1679><A
1680NAME="XMLCOPYNOTATIONTABLE"
1681></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001682>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001683><TABLE
1684BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001685BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001686WIDTH="100%"
1687CELLPADDING="6"
1688><TR
1689><TD
1690><PRE
1691CLASS="PROGRAMLISTING"
1692><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001693HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001694>xmlNotationTablePtr</A
1695> xmlCopyNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001696HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001697>xmlNotationTablePtr</A
1698> table);</PRE
1699></TD
1700></TR
1701></TABLE
1702><P
1703>Build a copy of a notation table.</P
1704><P
1705></P
1706><DIV
1707CLASS="INFORMALTABLE"
1708><P
1709></P
1710><TABLE
1711BORDER="0"
1712WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001713BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001714CELLSPACING="0"
1715CELLPADDING="4"
1716CLASS="CALSTABLE"
1717><TR
1718><TD
1719WIDTH="20%"
1720ALIGN="RIGHT"
1721VALIGN="TOP"
1722><TT
1723CLASS="PARAMETER"
1724><I
1725>table</I
1726></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001727>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001728><TD
1729WIDTH="80%"
1730ALIGN="LEFT"
1731VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001732> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001733></TR
1734><TR
1735><TD
1736WIDTH="20%"
1737ALIGN="RIGHT"
1738VALIGN="TOP"
1739><I
1740CLASS="EMPHASIS"
1741>Returns</I
1742> :</TD
1743><TD
1744WIDTH="80%"
1745ALIGN="LEFT"
1746VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001747>the new xmlNotationTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001748></TR
1749></TABLE
1750><P
1751></P
1752></DIV
1753></DIV
1754><HR><DIV
1755CLASS="REFSECT2"
1756><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001757NAME="AEN8190"
Daniel Veillard35925471999-02-25 08:46:07 +00001758></A
1759><H3
1760><A
1761NAME="XMLFREENOTATIONTABLE"
1762></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001763>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001764><TABLE
1765BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001766BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001767WIDTH="100%"
1768CELLPADDING="6"
1769><TR
1770><TD
1771><PRE
1772CLASS="PROGRAMLISTING"
1773>void xmlFreeNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001774HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001775>xmlNotationTablePtr</A
1776> table);</PRE
1777></TD
1778></TR
1779></TABLE
1780><P
1781>Deallocate the memory used by an entities hash table.</P
1782><P
1783></P
1784><DIV
1785CLASS="INFORMALTABLE"
1786><P
1787></P
1788><TABLE
1789BORDER="0"
1790WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001791BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001792CELLSPACING="0"
1793CELLPADDING="4"
1794CLASS="CALSTABLE"
1795><TR
1796><TD
1797WIDTH="20%"
1798ALIGN="RIGHT"
1799VALIGN="TOP"
1800><TT
1801CLASS="PARAMETER"
1802><I
1803>table</I
1804></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001805>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001806><TD
1807WIDTH="80%"
1808ALIGN="LEFT"
1809VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001810> An notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001811></TR
1812></TABLE
1813><P
1814></P
1815></DIV
1816></DIV
1817><HR><DIV
1818CLASS="REFSECT2"
1819><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001820NAME="AEN8206"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001821></A
1822><H3
1823><A
1824NAME="XMLDUMPNOTATIONDECL"
1825></A
1826>xmlDumpNotationDecl ()</H3
1827><TABLE
1828BORDER="0"
1829BGCOLOR="#D6E8FF"
1830WIDTH="100%"
1831CELLPADDING="6"
1832><TR
1833><TD
1834><PRE
1835CLASS="PROGRAMLISTING"
1836>void xmlDumpNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001837HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001838>xmlBufferPtr</A
1839> buf,
1840 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001841HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001842>xmlNotationPtr</A
1843> nota);</PRE
1844></TD
1845></TR
1846></TABLE
1847><P
1848>This will dump the content the notation declaration as an XML DTD definition</P
1849><P
1850></P
1851><DIV
1852CLASS="INFORMALTABLE"
1853><P
1854></P
1855><TABLE
1856BORDER="0"
1857WIDTH="100%"
1858BGCOLOR="#FFD0D0"
1859CELLSPACING="0"
1860CELLPADDING="4"
1861CLASS="CALSTABLE"
1862><TR
1863><TD
1864WIDTH="20%"
1865ALIGN="RIGHT"
1866VALIGN="TOP"
1867><TT
1868CLASS="PARAMETER"
1869><I
1870>buf</I
1871></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001872>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001873><TD
1874WIDTH="80%"
1875ALIGN="LEFT"
1876VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001877> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001878></TR
1879><TR
1880><TD
1881WIDTH="20%"
1882ALIGN="RIGHT"
1883VALIGN="TOP"
1884><TT
1885CLASS="PARAMETER"
1886><I
1887>nota</I
1888></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001889>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001890><TD
1891WIDTH="80%"
1892ALIGN="LEFT"
1893VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001894> A notation declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001895></TR
1896></TABLE
1897><P
1898></P
1899></DIV
1900></DIV
1901><HR><DIV
1902CLASS="REFSECT2"
1903><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001904NAME="AEN8227"
Daniel Veillard35925471999-02-25 08:46:07 +00001905></A
1906><H3
1907><A
1908NAME="XMLDUMPNOTATIONTABLE"
1909></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001910>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001911><TABLE
1912BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001913BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001914WIDTH="100%"
1915CELLPADDING="6"
1916><TR
1917><TD
1918><PRE
1919CLASS="PROGRAMLISTING"
1920>void xmlDumpNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001921HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001922>xmlBufferPtr</A
1923> buf,
1924 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001925HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001926>xmlNotationTablePtr</A
1927> table);</PRE
1928></TD
1929></TR
1930></TABLE
1931><P
1932>This will dump the content of the notation table as an XML DTD definition</P
1933><P
Daniel Veillard35925471999-02-25 08:46:07 +00001934></P
1935><DIV
1936CLASS="INFORMALTABLE"
1937><P
1938></P
1939><TABLE
1940BORDER="0"
1941WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001942BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001943CELLSPACING="0"
1944CELLPADDING="4"
1945CLASS="CALSTABLE"
1946><TR
1947><TD
1948WIDTH="20%"
1949ALIGN="RIGHT"
1950VALIGN="TOP"
1951><TT
1952CLASS="PARAMETER"
1953><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001954>buf</I
1955></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001956>:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001957><TD
1958WIDTH="80%"
1959ALIGN="LEFT"
1960VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001961> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001962></TR
1963><TR
1964><TD
1965WIDTH="20%"
1966ALIGN="RIGHT"
1967VALIGN="TOP"
1968><TT
1969CLASS="PARAMETER"
1970><I
Daniel Veillard35925471999-02-25 08:46:07 +00001971>table</I
1972></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00001973>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001974><TD
1975WIDTH="80%"
1976ALIGN="LEFT"
1977VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001978> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001979></TR
1980></TABLE
1981><P
1982></P
1983></DIV
1984></DIV
1985><HR><DIV
1986CLASS="REFSECT2"
1987><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001988NAME="AEN8248"
Daniel Veillard35925471999-02-25 08:46:07 +00001989></A
1990><H3
1991><A
1992NAME="XMLNEWELEMENTCONTENT"
1993></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001994>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001995><TABLE
1996BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001997BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001998WIDTH="100%"
1999CELLPADDING="6"
2000><TR
2001><TD
2002><PRE
2003CLASS="PROGRAMLISTING"
2004><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002005HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002006>xmlElementContentPtr</A
2007> xmlNewElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002008HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002009>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002010> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002011 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002012HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002013>xmlElementContentType</A
2014> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00002015></TD
2016></TR
2017></TABLE
2018><P
2019>Allocate an element content structure.</P
2020><P
2021></P
2022><DIV
2023CLASS="INFORMALTABLE"
2024><P
2025></P
2026><TABLE
2027BORDER="0"
2028WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002029BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002030CELLSPACING="0"
2031CELLPADDING="4"
2032CLASS="CALSTABLE"
2033><TR
2034><TD
2035WIDTH="20%"
2036ALIGN="RIGHT"
2037VALIGN="TOP"
2038><TT
2039CLASS="PARAMETER"
2040><I
2041>name</I
2042></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002043>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002044><TD
2045WIDTH="80%"
2046ALIGN="LEFT"
2047VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002048> the subelement name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002049></TR
2050><TR
2051><TD
2052WIDTH="20%"
2053ALIGN="RIGHT"
2054VALIGN="TOP"
2055><TT
2056CLASS="PARAMETER"
2057><I
2058>type</I
2059></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002060>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002061><TD
2062WIDTH="80%"
2063ALIGN="LEFT"
2064VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002065> the type of element content decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002066></TR
2067><TR
2068><TD
2069WIDTH="20%"
2070ALIGN="RIGHT"
2071VALIGN="TOP"
2072><I
2073CLASS="EMPHASIS"
2074>Returns</I
2075> :</TD
2076><TD
2077WIDTH="80%"
2078ALIGN="LEFT"
2079VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002080>NULL if not, othervise the new element content structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002081></TR
2082></TABLE
2083><P
2084></P
2085></DIV
2086></DIV
2087><HR><DIV
2088CLASS="REFSECT2"
2089><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002090NAME="AEN8274"
Daniel Veillard35925471999-02-25 08:46:07 +00002091></A
2092><H3
2093><A
2094NAME="XMLCOPYELEMENTCONTENT"
2095></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002096>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002097><TABLE
2098BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002099BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002100WIDTH="100%"
2101CELLPADDING="6"
2102><TR
2103><TD
2104><PRE
2105CLASS="PROGRAMLISTING"
2106><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002107HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002108>xmlElementContentPtr</A
2109> xmlCopyElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002110HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002111>xmlElementContentPtr</A
2112> content);</PRE
2113></TD
2114></TR
2115></TABLE
2116><P
2117>Build a copy of an element content description.</P
2118><P
2119></P
2120><DIV
2121CLASS="INFORMALTABLE"
2122><P
2123></P
2124><TABLE
2125BORDER="0"
2126WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002127BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002128CELLSPACING="0"
2129CELLPADDING="4"
2130CLASS="CALSTABLE"
2131><TR
2132><TD
2133WIDTH="20%"
2134ALIGN="RIGHT"
2135VALIGN="TOP"
2136><TT
2137CLASS="PARAMETER"
2138><I
2139>content</I
2140></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002141>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002142><TD
2143WIDTH="80%"
2144ALIGN="LEFT"
2145VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002146> An element content pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002147></TR
2148><TR
2149><TD
2150WIDTH="20%"
2151ALIGN="RIGHT"
2152VALIGN="TOP"
2153><I
2154CLASS="EMPHASIS"
2155>Returns</I
2156> :</TD
2157><TD
2158WIDTH="80%"
2159ALIGN="LEFT"
2160VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002161>the new xmlElementContentPtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002162></TR
2163></TABLE
2164><P
2165></P
2166></DIV
2167></DIV
2168><HR><DIV
2169CLASS="REFSECT2"
2170><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002171NAME="AEN8295"
Daniel Veillard35925471999-02-25 08:46:07 +00002172></A
2173><H3
2174><A
2175NAME="XMLFREEELEMENTCONTENT"
2176></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002177>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002178><TABLE
2179BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002180BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002181WIDTH="100%"
2182CELLPADDING="6"
2183><TR
2184><TD
2185><PRE
2186CLASS="PROGRAMLISTING"
2187>void xmlFreeElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002188HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002189>xmlElementContentPtr</A
2190> cur);</PRE
2191></TD
2192></TR
2193></TABLE
2194><P
2195>Free an element content structure. This is a recursive call !</P
2196><P
2197></P
2198><DIV
2199CLASS="INFORMALTABLE"
2200><P
2201></P
2202><TABLE
2203BORDER="0"
2204WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002205BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002206CELLSPACING="0"
2207CELLPADDING="4"
2208CLASS="CALSTABLE"
2209><TR
2210><TD
2211WIDTH="20%"
2212ALIGN="RIGHT"
2213VALIGN="TOP"
2214><TT
2215CLASS="PARAMETER"
2216><I
2217>cur</I
2218></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002219>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002220><TD
2221WIDTH="80%"
2222ALIGN="LEFT"
2223VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002224> the element content tree to free</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002225></TR
2226></TABLE
2227><P
2228></P
2229></DIV
2230></DIV
2231><HR><DIV
2232CLASS="REFSECT2"
2233><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002234NAME="AEN8311"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002235></A
2236><H3
2237><A
2238NAME="XMLSPRINTFELEMENTCONTENT"
2239></A
2240>xmlSprintfElementContent ()</H3
2241><TABLE
2242BORDER="0"
2243BGCOLOR="#D6E8FF"
2244WIDTH="100%"
2245CELLPADDING="6"
2246><TR
2247><TD
2248><PRE
2249CLASS="PROGRAMLISTING"
2250>void xmlSprintfElementContent (char *buf,
2251 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002252HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002253>xmlElementContentPtr</A
2254> content,
2255 int glob);</PRE
2256></TD
2257></TR
2258></TABLE
2259><P
2260>This will dump the content of the element content definition
2261Intended just for the debug routine</P
2262><P
2263></P
2264><DIV
2265CLASS="INFORMALTABLE"
2266><P
2267></P
2268><TABLE
2269BORDER="0"
2270WIDTH="100%"
2271BGCOLOR="#FFD0D0"
2272CELLSPACING="0"
2273CELLPADDING="4"
2274CLASS="CALSTABLE"
2275><TR
2276><TD
2277WIDTH="20%"
2278ALIGN="RIGHT"
2279VALIGN="TOP"
2280><TT
2281CLASS="PARAMETER"
2282><I
2283>buf</I
2284></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002285>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002286><TD
2287WIDTH="80%"
2288ALIGN="LEFT"
2289VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002290> an output buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002291></TR
2292><TR
2293><TD
2294WIDTH="20%"
2295ALIGN="RIGHT"
2296VALIGN="TOP"
2297><TT
2298CLASS="PARAMETER"
2299><I
2300>content</I
2301></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002302>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002303><TD
2304WIDTH="80%"
2305ALIGN="LEFT"
2306VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002307> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002308></TR
2309><TR
2310><TD
2311WIDTH="20%"
2312ALIGN="RIGHT"
2313VALIGN="TOP"
2314><TT
2315CLASS="PARAMETER"
2316><I
2317>glob</I
2318></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002319>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002320><TD
2321WIDTH="80%"
2322ALIGN="LEFT"
2323VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002324> 1 if one must print the englobing parenthesis, 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002325></TR
2326></TABLE
2327><P
2328></P
2329></DIV
2330></DIV
2331><HR><DIV
2332CLASS="REFSECT2"
2333><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002334NAME="AEN8335"
Daniel Veillard35925471999-02-25 08:46:07 +00002335></A
2336><H3
2337><A
2338NAME="XMLADDELEMENTDECL"
2339></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002340>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002341><TABLE
2342BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002343BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002344WIDTH="100%"
2345CELLPADDING="6"
2346><TR
2347><TD
2348><PRE
2349CLASS="PROGRAMLISTING"
2350><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002351HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002352>xmlElementPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002353> xmlAddElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002354HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002355>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002356> ctxt,
2357 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002358HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002359>xmlDtdPtr</A
2360> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002361 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002362HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002363>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002364> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002365 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002366HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard4c3a2031999-11-19 17:46:26 +00002367>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002368> type,
Daniel Veillard35925471999-02-25 08:46:07 +00002369 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002370HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002371>xmlElementContentPtr</A
2372> content);</PRE
2373></TD
2374></TR
2375></TABLE
2376><P
2377>Register a new element declaration</P
2378><P
2379></P
2380><DIV
2381CLASS="INFORMALTABLE"
2382><P
2383></P
2384><TABLE
2385BORDER="0"
2386WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002387BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002388CELLSPACING="0"
2389CELLPADDING="4"
2390CLASS="CALSTABLE"
2391><TR
2392><TD
2393WIDTH="20%"
2394ALIGN="RIGHT"
2395VALIGN="TOP"
2396><TT
2397CLASS="PARAMETER"
2398><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002399>ctxt</I
2400></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002401>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002402><TD
2403WIDTH="80%"
2404ALIGN="LEFT"
2405VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002406> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002407></TR
2408><TR
2409><TD
2410WIDTH="20%"
2411ALIGN="RIGHT"
2412VALIGN="TOP"
2413><TT
2414CLASS="PARAMETER"
2415><I
Daniel Veillard35925471999-02-25 08:46:07 +00002416>dtd</I
2417></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002418>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002419><TD
2420WIDTH="80%"
2421ALIGN="LEFT"
2422VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002423> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002424></TR
2425><TR
2426><TD
2427WIDTH="20%"
2428ALIGN="RIGHT"
2429VALIGN="TOP"
2430><TT
2431CLASS="PARAMETER"
2432><I
2433>name</I
2434></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002435>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002436><TD
2437WIDTH="80%"
2438ALIGN="LEFT"
2439VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002440> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002441></TR
2442><TR
2443><TD
2444WIDTH="20%"
2445ALIGN="RIGHT"
2446VALIGN="TOP"
2447><TT
2448CLASS="PARAMETER"
2449><I
2450>type</I
2451></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002452>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002453><TD
2454WIDTH="80%"
2455ALIGN="LEFT"
2456VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002457> the element type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002458></TR
2459><TR
2460><TD
2461WIDTH="20%"
2462ALIGN="RIGHT"
2463VALIGN="TOP"
2464><TT
2465CLASS="PARAMETER"
2466><I
2467>content</I
2468></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002469>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002470><TD
2471WIDTH="80%"
2472ALIGN="LEFT"
2473VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002474> the element content tree or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002475></TR
2476><TR
2477><TD
2478WIDTH="20%"
2479ALIGN="RIGHT"
2480VALIGN="TOP"
2481><I
2482CLASS="EMPHASIS"
2483>Returns</I
2484> :</TD
2485><TD
2486WIDTH="80%"
2487ALIGN="LEFT"
2488VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002489>NULL if not, othervise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002490></TR
2491></TABLE
2492><P
2493></P
2494></DIV
2495></DIV
2496><HR><DIV
2497CLASS="REFSECT2"
2498><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002499NAME="AEN8376"
Daniel Veillard35925471999-02-25 08:46:07 +00002500></A
2501><H3
2502><A
2503NAME="XMLCOPYELEMENTTABLE"
2504></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002505>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002506><TABLE
2507BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002508BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002509WIDTH="100%"
2510CELLPADDING="6"
2511><TR
2512><TD
2513><PRE
2514CLASS="PROGRAMLISTING"
2515><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002516HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002517>xmlElementTablePtr</A
2518> xmlCopyElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002519HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002520>xmlElementTablePtr</A
2521> table);</PRE
2522></TD
2523></TR
2524></TABLE
2525><P
2526>Build a copy of an element table.</P
2527><P
2528></P
2529><DIV
2530CLASS="INFORMALTABLE"
2531><P
2532></P
2533><TABLE
2534BORDER="0"
2535WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002536BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002537CELLSPACING="0"
2538CELLPADDING="4"
2539CLASS="CALSTABLE"
2540><TR
2541><TD
2542WIDTH="20%"
2543ALIGN="RIGHT"
2544VALIGN="TOP"
2545><TT
2546CLASS="PARAMETER"
2547><I
2548>table</I
2549></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002550>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002551><TD
2552WIDTH="80%"
2553ALIGN="LEFT"
2554VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002555> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002556></TR
2557><TR
2558><TD
2559WIDTH="20%"
2560ALIGN="RIGHT"
2561VALIGN="TOP"
2562><I
2563CLASS="EMPHASIS"
2564>Returns</I
2565> :</TD
2566><TD
2567WIDTH="80%"
2568ALIGN="LEFT"
2569VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002570>the new xmlElementTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002571></TR
2572></TABLE
2573><P
2574></P
2575></DIV
2576></DIV
2577><HR><DIV
2578CLASS="REFSECT2"
2579><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002580NAME="AEN8397"
Daniel Veillard35925471999-02-25 08:46:07 +00002581></A
2582><H3
2583><A
2584NAME="XMLFREEELEMENTTABLE"
2585></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002586>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002587><TABLE
2588BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002589BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002590WIDTH="100%"
2591CELLPADDING="6"
2592><TR
2593><TD
2594><PRE
2595CLASS="PROGRAMLISTING"
2596>void xmlFreeElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002597HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002598>xmlElementTablePtr</A
2599> table);</PRE
2600></TD
2601></TR
2602></TABLE
2603><P
2604>Deallocate the memory used by an element hash table.</P
2605><P
2606></P
2607><DIV
2608CLASS="INFORMALTABLE"
2609><P
2610></P
2611><TABLE
2612BORDER="0"
2613WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002614BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002615CELLSPACING="0"
2616CELLPADDING="4"
2617CLASS="CALSTABLE"
2618><TR
2619><TD
2620WIDTH="20%"
2621ALIGN="RIGHT"
2622VALIGN="TOP"
2623><TT
2624CLASS="PARAMETER"
2625><I
2626>table</I
2627></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002628>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002629><TD
2630WIDTH="80%"
2631ALIGN="LEFT"
2632VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002633> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002634></TR
2635></TABLE
2636><P
2637></P
2638></DIV
2639></DIV
2640><HR><DIV
2641CLASS="REFSECT2"
2642><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002643NAME="AEN8413"
Daniel Veillard35925471999-02-25 08:46:07 +00002644></A
2645><H3
2646><A
2647NAME="XMLDUMPELEMENTTABLE"
2648></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002649>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002650><TABLE
2651BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002652BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002653WIDTH="100%"
2654CELLPADDING="6"
2655><TR
2656><TD
2657><PRE
2658CLASS="PROGRAMLISTING"
2659>void xmlDumpElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002660HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002661>xmlBufferPtr</A
2662> buf,
2663 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002664HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002665>xmlElementTablePtr</A
2666> table);</PRE
2667></TD
2668></TR
2669></TABLE
2670><P
2671>This will dump the content of the element table as an XML DTD definition</P
2672><P
Daniel Veillard35925471999-02-25 08:46:07 +00002673></P
2674><DIV
2675CLASS="INFORMALTABLE"
2676><P
2677></P
2678><TABLE
2679BORDER="0"
2680WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002681BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002682CELLSPACING="0"
2683CELLPADDING="4"
2684CLASS="CALSTABLE"
2685><TR
2686><TD
2687WIDTH="20%"
2688ALIGN="RIGHT"
2689VALIGN="TOP"
2690><TT
2691CLASS="PARAMETER"
2692><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002693>buf</I
2694></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002695>:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002696><TD
2697WIDTH="80%"
2698ALIGN="LEFT"
2699VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002700> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002701></TR
2702><TR
2703><TD
2704WIDTH="20%"
2705ALIGN="RIGHT"
2706VALIGN="TOP"
2707><TT
2708CLASS="PARAMETER"
2709><I
Daniel Veillard35925471999-02-25 08:46:07 +00002710>table</I
2711></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002712>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002713><TD
2714WIDTH="80%"
2715ALIGN="LEFT"
2716VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002717> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002718></TR
2719></TABLE
2720><P
2721></P
2722></DIV
2723></DIV
2724><HR><DIV
2725CLASS="REFSECT2"
2726><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002727NAME="AEN8434"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002728></A
2729><H3
2730><A
2731NAME="XMLDUMPELEMENTDECL"
2732></A
2733>xmlDumpElementDecl ()</H3
2734><TABLE
2735BORDER="0"
2736BGCOLOR="#D6E8FF"
2737WIDTH="100%"
2738CELLPADDING="6"
2739><TR
2740><TD
2741><PRE
2742CLASS="PROGRAMLISTING"
2743>void xmlDumpElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002744HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002745>xmlBufferPtr</A
2746> buf,
2747 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002748HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002749>xmlElementPtr</A
2750> elem);</PRE
2751></TD
2752></TR
2753></TABLE
2754><P
2755>This will dump the content of the element declaration as an XML
2756DTD definition</P
2757><P
2758></P
2759><DIV
2760CLASS="INFORMALTABLE"
2761><P
2762></P
2763><TABLE
2764BORDER="0"
2765WIDTH="100%"
2766BGCOLOR="#FFD0D0"
2767CELLSPACING="0"
2768CELLPADDING="4"
2769CLASS="CALSTABLE"
2770><TR
2771><TD
2772WIDTH="20%"
2773ALIGN="RIGHT"
2774VALIGN="TOP"
2775><TT
2776CLASS="PARAMETER"
2777><I
2778>buf</I
2779></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002780>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002781><TD
2782WIDTH="80%"
2783ALIGN="LEFT"
2784VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002785> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002786></TR
2787><TR
2788><TD
2789WIDTH="20%"
2790ALIGN="RIGHT"
2791VALIGN="TOP"
2792><TT
2793CLASS="PARAMETER"
2794><I
2795>elem</I
2796></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002797>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002798><TD
2799WIDTH="80%"
2800ALIGN="LEFT"
2801VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002802> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002803></TR
2804></TABLE
2805><P
2806></P
2807></DIV
2808></DIV
2809><HR><DIV
2810CLASS="REFSECT2"
2811><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002812NAME="AEN8455"
Daniel Veillard35925471999-02-25 08:46:07 +00002813></A
2814><H3
2815><A
2816NAME="XMLCREATEENUMERATION"
2817></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002818>xmlCreateEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002819><TABLE
2820BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002821BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002822WIDTH="100%"
2823CELLPADDING="6"
2824><TR
2825><TD
2826><PRE
2827CLASS="PROGRAMLISTING"
2828><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002829HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002830>xmlEnumerationPtr</A
2831> xmlCreateEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002832HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002833>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002834> *name);</PRE
2835></TD
2836></TR
2837></TABLE
2838><P
2839>create and initialize an enumeration attribute node.</P
2840><P
2841></P
2842><DIV
2843CLASS="INFORMALTABLE"
2844><P
2845></P
2846><TABLE
2847BORDER="0"
2848WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002849BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002850CELLSPACING="0"
2851CELLPADDING="4"
2852CLASS="CALSTABLE"
2853><TR
2854><TD
2855WIDTH="20%"
2856ALIGN="RIGHT"
2857VALIGN="TOP"
2858><TT
2859CLASS="PARAMETER"
2860><I
2861>name</I
2862></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002863>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002864><TD
2865WIDTH="80%"
2866ALIGN="LEFT"
2867VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002868> the enumeration name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002869></TR
2870><TR
2871><TD
2872WIDTH="20%"
2873ALIGN="RIGHT"
2874VALIGN="TOP"
2875><I
2876CLASS="EMPHASIS"
2877>Returns</I
2878> :</TD
2879><TD
2880WIDTH="80%"
2881ALIGN="LEFT"
2882VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002883>the xmlEnumerationPtr just created or NULL in case
2884of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002885></TR
2886></TABLE
2887><P
2888></P
2889></DIV
2890></DIV
2891><HR><DIV
2892CLASS="REFSECT2"
2893><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002894NAME="AEN8476"
Daniel Veillard35925471999-02-25 08:46:07 +00002895></A
2896><H3
2897><A
2898NAME="XMLFREEENUMERATION"
2899></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002900>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002901><TABLE
2902BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002903BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002904WIDTH="100%"
2905CELLPADDING="6"
2906><TR
2907><TD
2908><PRE
2909CLASS="PROGRAMLISTING"
2910>void xmlFreeEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002911HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002912>xmlEnumerationPtr</A
2913> cur);</PRE
2914></TD
2915></TR
2916></TABLE
2917><P
2918>free an enumeration attribute node (recursive).</P
2919><P
2920></P
2921><DIV
2922CLASS="INFORMALTABLE"
2923><P
2924></P
2925><TABLE
2926BORDER="0"
2927WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002928BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002929CELLSPACING="0"
2930CELLPADDING="4"
2931CLASS="CALSTABLE"
2932><TR
2933><TD
2934WIDTH="20%"
2935ALIGN="RIGHT"
2936VALIGN="TOP"
2937><TT
2938CLASS="PARAMETER"
2939><I
2940>cur</I
2941></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00002942>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002943><TD
2944WIDTH="80%"
2945ALIGN="LEFT"
2946VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002947> the tree to free.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002948></TR
2949></TABLE
2950><P
2951></P
2952></DIV
2953></DIV
2954><HR><DIV
2955CLASS="REFSECT2"
2956><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00002957NAME="AEN8492"
Daniel Veillard35925471999-02-25 08:46:07 +00002958></A
2959><H3
2960><A
2961NAME="XMLCOPYENUMERATION"
2962></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002963>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002964><TABLE
2965BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002966BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002967WIDTH="100%"
2968CELLPADDING="6"
2969><TR
2970><TD
2971><PRE
2972CLASS="PROGRAMLISTING"
2973><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002974HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002975>xmlEnumerationPtr</A
2976> xmlCopyEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002977HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002978>xmlEnumerationPtr</A
2979> cur);</PRE
2980></TD
2981></TR
2982></TABLE
2983><P
2984>Copy an enumeration attribute node (recursive).</P
2985><P
2986></P
2987><DIV
2988CLASS="INFORMALTABLE"
2989><P
2990></P
2991><TABLE
2992BORDER="0"
2993WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002994BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002995CELLSPACING="0"
2996CELLPADDING="4"
2997CLASS="CALSTABLE"
2998><TR
2999><TD
3000WIDTH="20%"
3001ALIGN="RIGHT"
3002VALIGN="TOP"
3003><TT
3004CLASS="PARAMETER"
3005><I
3006>cur</I
3007></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003008>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003009><TD
3010WIDTH="80%"
3011ALIGN="LEFT"
3012VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003013> the tree to copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003014></TR
3015><TR
3016><TD
3017WIDTH="20%"
3018ALIGN="RIGHT"
3019VALIGN="TOP"
3020><I
3021CLASS="EMPHASIS"
3022>Returns</I
3023> :</TD
3024><TD
3025WIDTH="80%"
3026ALIGN="LEFT"
3027VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003028>the xmlEnumerationPtr just created or NULL in case
3029of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003030></TR
3031></TABLE
3032><P
3033></P
3034></DIV
3035></DIV
3036><HR><DIV
3037CLASS="REFSECT2"
3038><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003039NAME="AEN8513"
Daniel Veillard35925471999-02-25 08:46:07 +00003040></A
3041><H3
3042><A
3043NAME="XMLADDATTRIBUTEDECL"
3044></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003045>xmlAddAttributeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003046><TABLE
3047BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003048BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003049WIDTH="100%"
3050CELLPADDING="6"
3051><TR
3052><TD
3053><PRE
3054CLASS="PROGRAMLISTING"
3055><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003056HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003057>xmlAttributePtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003058> xmlAddAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003059HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003060>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00003061> ctxt,
3062 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003063HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003064>xmlDtdPtr</A
3065> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003066 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003067HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003068>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003069> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003070 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003071HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003072>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003073> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003074 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003075HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003076>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +00003077> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003078 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003079HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003080>xmlAttributeType</A
3081> type,
3082 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003083HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003084>xmlAttributeDefault</A
3085> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003086 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003087HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003088>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003089> *defaultValue,
3090 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003091HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003092>xmlEnumerationPtr</A
3093> tree);</PRE
3094></TD
3095></TR
3096></TABLE
3097><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003098>Register a new attribute declaration
3099Note that <TT
3100CLASS="PARAMETER"
3101><I
3102>tree</I
3103></TT
3104> becomes the ownership of the DTD</P
Daniel Veillard35925471999-02-25 08:46:07 +00003105><P
3106></P
3107><DIV
3108CLASS="INFORMALTABLE"
3109><P
3110></P
3111><TABLE
3112BORDER="0"
3113WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003114BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003115CELLSPACING="0"
3116CELLPADDING="4"
3117CLASS="CALSTABLE"
3118><TR
3119><TD
3120WIDTH="20%"
3121ALIGN="RIGHT"
3122VALIGN="TOP"
3123><TT
3124CLASS="PARAMETER"
3125><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00003126>ctxt</I
3127></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003128>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003129><TD
3130WIDTH="80%"
3131ALIGN="LEFT"
3132VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003133> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003134></TR
3135><TR
3136><TD
3137WIDTH="20%"
3138ALIGN="RIGHT"
3139VALIGN="TOP"
3140><TT
3141CLASS="PARAMETER"
3142><I
Daniel Veillard35925471999-02-25 08:46:07 +00003143>dtd</I
3144></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003145>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003146><TD
3147WIDTH="80%"
3148ALIGN="LEFT"
3149VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003150> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003151></TR
3152><TR
3153><TD
3154WIDTH="20%"
3155ALIGN="RIGHT"
3156VALIGN="TOP"
3157><TT
3158CLASS="PARAMETER"
3159><I
3160>elem</I
3161></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003162>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003163><TD
3164WIDTH="80%"
3165ALIGN="LEFT"
3166VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003167> the element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003168></TR
3169><TR
3170><TD
3171WIDTH="20%"
3172ALIGN="RIGHT"
3173VALIGN="TOP"
3174><TT
3175CLASS="PARAMETER"
3176><I
3177>name</I
3178></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003179>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003180><TD
3181WIDTH="80%"
3182ALIGN="LEFT"
3183VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003184> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003185></TR
3186><TR
3187><TD
3188WIDTH="20%"
3189ALIGN="RIGHT"
3190VALIGN="TOP"
3191><TT
3192CLASS="PARAMETER"
3193><I
Daniel Veillard06047432000-04-24 11:33:38 +00003194>ns</I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003195></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003196>:</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003197><TD
3198WIDTH="80%"
3199ALIGN="LEFT"
3200VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003201> the attribute namespace prefix</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003202></TR
3203><TR
3204><TD
3205WIDTH="20%"
3206ALIGN="RIGHT"
3207VALIGN="TOP"
3208><TT
3209CLASS="PARAMETER"
3210><I
Daniel Veillard35925471999-02-25 08:46:07 +00003211>type</I
3212></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003213>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003214><TD
3215WIDTH="80%"
3216ALIGN="LEFT"
3217VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003218> the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003219></TR
3220><TR
3221><TD
3222WIDTH="20%"
3223ALIGN="RIGHT"
3224VALIGN="TOP"
3225><TT
3226CLASS="PARAMETER"
3227><I
3228>def</I
3229></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003230>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003231><TD
3232WIDTH="80%"
3233ALIGN="LEFT"
3234VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003235> the attribute default type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003236></TR
3237><TR
3238><TD
3239WIDTH="20%"
3240ALIGN="RIGHT"
3241VALIGN="TOP"
3242><TT
3243CLASS="PARAMETER"
3244><I
3245>defaultValue</I
3246></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003247>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003248><TD
3249WIDTH="80%"
3250ALIGN="LEFT"
3251VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003252> the attribute default value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003253></TR
3254><TR
3255><TD
3256WIDTH="20%"
3257ALIGN="RIGHT"
3258VALIGN="TOP"
3259><TT
3260CLASS="PARAMETER"
3261><I
3262>tree</I
3263></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003264>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003265><TD
3266WIDTH="80%"
3267ALIGN="LEFT"
3268VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003269> if it's an enumeration, the associated list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003270></TR
3271><TR
3272><TD
3273WIDTH="20%"
3274ALIGN="RIGHT"
3275VALIGN="TOP"
3276><I
3277CLASS="EMPHASIS"
3278>Returns</I
3279> :</TD
3280><TD
3281WIDTH="80%"
3282ALIGN="LEFT"
3283VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003284>NULL if not new, othervise the attribute decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003285></TR
3286></TABLE
3287><P
3288></P
3289></DIV
3290></DIV
3291><HR><DIV
3292CLASS="REFSECT2"
3293><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003294NAME="AEN8575"
Daniel Veillard35925471999-02-25 08:46:07 +00003295></A
3296><H3
3297><A
3298NAME="XMLCOPYATTRIBUTETABLE"
3299></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003300>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003301><TABLE
3302BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003303BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003304WIDTH="100%"
3305CELLPADDING="6"
3306><TR
3307><TD
3308><PRE
3309CLASS="PROGRAMLISTING"
3310><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003311HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003312>xmlAttributeTablePtr</A
3313> xmlCopyAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003314HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003315>xmlAttributeTablePtr</A
3316> table);</PRE
3317></TD
3318></TR
3319></TABLE
3320><P
3321>Build a copy of an attribute table.</P
3322><P
3323></P
3324><DIV
3325CLASS="INFORMALTABLE"
3326><P
3327></P
3328><TABLE
3329BORDER="0"
3330WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003331BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003332CELLSPACING="0"
3333CELLPADDING="4"
3334CLASS="CALSTABLE"
3335><TR
3336><TD
3337WIDTH="20%"
3338ALIGN="RIGHT"
3339VALIGN="TOP"
3340><TT
3341CLASS="PARAMETER"
3342><I
3343>table</I
3344></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003345>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003346><TD
3347WIDTH="80%"
3348ALIGN="LEFT"
3349VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003350> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003351></TR
3352><TR
3353><TD
3354WIDTH="20%"
3355ALIGN="RIGHT"
3356VALIGN="TOP"
3357><I
3358CLASS="EMPHASIS"
3359>Returns</I
3360> :</TD
3361><TD
3362WIDTH="80%"
3363ALIGN="LEFT"
3364VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003365>the new xmlAttributeTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003366></TR
3367></TABLE
3368><P
3369></P
3370></DIV
3371></DIV
3372><HR><DIV
3373CLASS="REFSECT2"
3374><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003375NAME="AEN8596"
Daniel Veillard35925471999-02-25 08:46:07 +00003376></A
3377><H3
3378><A
3379NAME="XMLFREEATTRIBUTETABLE"
3380></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003381>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003382><TABLE
3383BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003384BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003385WIDTH="100%"
3386CELLPADDING="6"
3387><TR
3388><TD
3389><PRE
3390CLASS="PROGRAMLISTING"
3391>void xmlFreeAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003392HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003393>xmlAttributeTablePtr</A
3394> table);</PRE
3395></TD
3396></TR
3397></TABLE
3398><P
3399>Deallocate the memory used by an entities hash table.</P
3400><P
3401></P
3402><DIV
3403CLASS="INFORMALTABLE"
3404><P
3405></P
3406><TABLE
3407BORDER="0"
3408WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003409BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003410CELLSPACING="0"
3411CELLPADDING="4"
3412CLASS="CALSTABLE"
3413><TR
3414><TD
3415WIDTH="20%"
3416ALIGN="RIGHT"
3417VALIGN="TOP"
3418><TT
3419CLASS="PARAMETER"
3420><I
3421>table</I
3422></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003423>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003424><TD
3425WIDTH="80%"
3426ALIGN="LEFT"
3427VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003428> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003429></TR
3430></TABLE
3431><P
3432></P
3433></DIV
3434></DIV
3435><HR><DIV
3436CLASS="REFSECT2"
3437><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003438NAME="AEN8612"
Daniel Veillard35925471999-02-25 08:46:07 +00003439></A
3440><H3
3441><A
3442NAME="XMLDUMPATTRIBUTETABLE"
3443></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003444>xmlDumpAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003445><TABLE
3446BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003447BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003448WIDTH="100%"
3449CELLPADDING="6"
3450><TR
3451><TD
3452><PRE
3453CLASS="PROGRAMLISTING"
3454>void xmlDumpAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003455HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003456>xmlBufferPtr</A
3457> buf,
3458 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003459HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003460>xmlAttributeTablePtr</A
3461> table);</PRE
3462></TD
3463></TR
3464></TABLE
3465><P
3466>This will dump the content of the attribute table as an XML DTD definition</P
3467><P
Daniel Veillard35925471999-02-25 08:46:07 +00003468></P
3469><DIV
3470CLASS="INFORMALTABLE"
3471><P
3472></P
3473><TABLE
3474BORDER="0"
3475WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003476BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003477CELLSPACING="0"
3478CELLPADDING="4"
3479CLASS="CALSTABLE"
3480><TR
3481><TD
3482WIDTH="20%"
3483ALIGN="RIGHT"
3484VALIGN="TOP"
3485><TT
3486CLASS="PARAMETER"
3487><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003488>buf</I
3489></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003490>:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003491><TD
3492WIDTH="80%"
3493ALIGN="LEFT"
3494VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003495> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003496></TR
3497><TR
3498><TD
3499WIDTH="20%"
3500ALIGN="RIGHT"
3501VALIGN="TOP"
3502><TT
3503CLASS="PARAMETER"
3504><I
Daniel Veillard35925471999-02-25 08:46:07 +00003505>table</I
3506></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003507>:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003508><TD
3509WIDTH="80%"
3510ALIGN="LEFT"
3511VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003512> An attribute table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003513></TR
3514></TABLE
3515><P
3516></P
3517></DIV
3518></DIV
3519><HR><DIV
3520CLASS="REFSECT2"
3521><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003522NAME="AEN8633"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003523></A
3524><H3
3525><A
3526NAME="XMLDUMPATTRIBUTEDECL"
3527></A
3528>xmlDumpAttributeDecl ()</H3
3529><TABLE
3530BORDER="0"
3531BGCOLOR="#D6E8FF"
3532WIDTH="100%"
3533CELLPADDING="6"
3534><TR
3535><TD
3536><PRE
3537CLASS="PROGRAMLISTING"
3538>void xmlDumpAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003539HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003540>xmlBufferPtr</A
3541> buf,
3542 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003543HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003544>xmlAttributePtr</A
3545> attr);</PRE
3546></TD
3547></TR
3548></TABLE
3549><P
3550>This will dump the content of the attribute declaration as an XML
3551DTD definition</P
3552><P
3553></P
3554><DIV
3555CLASS="INFORMALTABLE"
3556><P
3557></P
3558><TABLE
3559BORDER="0"
3560WIDTH="100%"
3561BGCOLOR="#FFD0D0"
3562CELLSPACING="0"
3563CELLPADDING="4"
3564CLASS="CALSTABLE"
3565><TR
3566><TD
3567WIDTH="20%"
3568ALIGN="RIGHT"
3569VALIGN="TOP"
3570><TT
3571CLASS="PARAMETER"
3572><I
3573>buf</I
3574></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003575>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003576><TD
3577WIDTH="80%"
3578ALIGN="LEFT"
3579VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003580> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003581></TR
3582><TR
3583><TD
3584WIDTH="20%"
3585ALIGN="RIGHT"
3586VALIGN="TOP"
3587><TT
3588CLASS="PARAMETER"
3589><I
3590>attr</I
3591></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003592>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003593><TD
3594WIDTH="80%"
3595ALIGN="LEFT"
3596VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003597> An attribute declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003598></TR
3599></TABLE
3600><P
3601></P
3602></DIV
3603></DIV
3604><HR><DIV
3605CLASS="REFSECT2"
3606><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003607NAME="AEN8654"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003608></A
3609><H3
3610><A
3611NAME="XMLADDID"
3612></A
3613>xmlAddID ()</H3
3614><TABLE
3615BORDER="0"
3616BGCOLOR="#D6E8FF"
3617WIDTH="100%"
3618CELLPADDING="6"
3619><TR
3620><TD
3621><PRE
3622CLASS="PROGRAMLISTING"
3623><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003624HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003625>xmlIDPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003626> xmlAddID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003627HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003628>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003629> ctxt,
3630 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003631HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003632>xmlDocPtr</A
3633> doc,
3634 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003635HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003636>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003637> *value,
3638 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003639HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003640>xmlAttrPtr</A
3641> attr);</PRE
3642></TD
3643></TR
3644></TABLE
3645><P
3646>Register a new id declaration</P
3647><P
3648></P
3649><DIV
3650CLASS="INFORMALTABLE"
3651><P
3652></P
3653><TABLE
3654BORDER="0"
3655WIDTH="100%"
3656BGCOLOR="#FFD0D0"
3657CELLSPACING="0"
3658CELLPADDING="4"
3659CLASS="CALSTABLE"
3660><TR
3661><TD
3662WIDTH="20%"
3663ALIGN="RIGHT"
3664VALIGN="TOP"
3665><TT
3666CLASS="PARAMETER"
3667><I
3668>ctxt</I
3669></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003670>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003671><TD
3672WIDTH="80%"
3673ALIGN="LEFT"
3674VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003675> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003676></TR
3677><TR
3678><TD
3679WIDTH="20%"
3680ALIGN="RIGHT"
3681VALIGN="TOP"
3682><TT
3683CLASS="PARAMETER"
3684><I
3685>doc</I
3686></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003687>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003688><TD
3689WIDTH="80%"
3690ALIGN="LEFT"
3691VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003692> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003693></TR
3694><TR
3695><TD
3696WIDTH="20%"
3697ALIGN="RIGHT"
3698VALIGN="TOP"
3699><TT
3700CLASS="PARAMETER"
3701><I
3702>value</I
3703></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003704>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003705><TD
3706WIDTH="80%"
3707ALIGN="LEFT"
3708VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003709> the value name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003710></TR
3711><TR
3712><TD
3713WIDTH="20%"
3714ALIGN="RIGHT"
3715VALIGN="TOP"
3716><TT
3717CLASS="PARAMETER"
3718><I
3719>attr</I
3720></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003721>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003722><TD
3723WIDTH="80%"
3724ALIGN="LEFT"
3725VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003726> the attribute holding the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003727></TR
3728><TR
3729><TD
3730WIDTH="20%"
3731ALIGN="RIGHT"
3732VALIGN="TOP"
3733><I
3734CLASS="EMPHASIS"
3735>Returns</I
3736> :</TD
3737><TD
3738WIDTH="80%"
3739ALIGN="LEFT"
3740VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003741>NULL if not, othervise the new xmlIDPtr</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003742></TR
3743></TABLE
3744><P
3745></P
3746></DIV
3747></DIV
3748><HR><DIV
3749CLASS="REFSECT2"
3750><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003751NAME="AEN8690"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003752></A
3753><H3
3754><A
3755NAME="XMLCOPYIDTABLE"
3756></A
3757>xmlCopyIDTable ()</H3
3758><TABLE
3759BORDER="0"
3760BGCOLOR="#D6E8FF"
3761WIDTH="100%"
3762CELLPADDING="6"
3763><TR
3764><TD
3765><PRE
3766CLASS="PROGRAMLISTING"
3767><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003768HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003769>xmlIDTablePtr</A
3770> xmlCopyIDTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003771HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003772>xmlIDTablePtr</A
3773> table);</PRE
3774></TD
3775></TR
3776></TABLE
3777><P
3778></P
3779><DIV
3780CLASS="INFORMALTABLE"
3781><P
3782></P
3783><TABLE
3784BORDER="0"
3785WIDTH="100%"
3786BGCOLOR="#FFD0D0"
3787CELLSPACING="0"
3788CELLPADDING="4"
3789CLASS="CALSTABLE"
3790><TR
3791><TD
3792WIDTH="20%"
3793ALIGN="RIGHT"
3794VALIGN="TOP"
3795><TT
3796CLASS="PARAMETER"
3797><I
3798>table</I
3799></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003800>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003801><TD
3802WIDTH="80%"
3803ALIGN="LEFT"
3804VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003805>&nbsp;</TD
3806></TR
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003807><TR
3808><TD
3809WIDTH="20%"
3810ALIGN="RIGHT"
3811VALIGN="TOP"
3812><I
3813CLASS="EMPHASIS"
3814>Returns</I
3815> :</TD
3816><TD
3817WIDTH="80%"
3818ALIGN="LEFT"
3819VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00003820>&#13;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003821></TR
Daniel Veillardb05deb71999-08-10 19:04:08 +00003822></TABLE
3823><P
3824></P
3825></DIV
3826></DIV
3827><HR><DIV
3828CLASS="REFSECT2"
3829><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003830NAME="AEN8710"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003831></A
3832><H3
3833><A
3834NAME="XMLFREEIDTABLE"
3835></A
3836>xmlFreeIDTable ()</H3
3837><TABLE
3838BORDER="0"
3839BGCOLOR="#D6E8FF"
3840WIDTH="100%"
3841CELLPADDING="6"
3842><TR
3843><TD
3844><PRE
3845CLASS="PROGRAMLISTING"
3846>void xmlFreeIDTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003847HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003848>xmlIDTablePtr</A
3849> table);</PRE
3850></TD
3851></TR
3852></TABLE
3853><P
3854>Deallocate the memory used by an ID hash table.</P
3855><P
3856></P
3857><DIV
3858CLASS="INFORMALTABLE"
3859><P
3860></P
3861><TABLE
3862BORDER="0"
3863WIDTH="100%"
3864BGCOLOR="#FFD0D0"
3865CELLSPACING="0"
3866CELLPADDING="4"
3867CLASS="CALSTABLE"
3868><TR
3869><TD
3870WIDTH="20%"
3871ALIGN="RIGHT"
3872VALIGN="TOP"
3873><TT
3874CLASS="PARAMETER"
3875><I
3876>table</I
3877></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003878>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003879><TD
3880WIDTH="80%"
3881ALIGN="LEFT"
3882VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003883> An id table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003884></TR
3885></TABLE
3886><P
3887></P
3888></DIV
3889></DIV
3890><HR><DIV
3891CLASS="REFSECT2"
3892><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003893NAME="AEN8726"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003894></A
3895><H3
3896><A
3897NAME="XMLGETID"
3898></A
3899>xmlGetID ()</H3
3900><TABLE
3901BORDER="0"
3902BGCOLOR="#D6E8FF"
3903WIDTH="100%"
3904CELLPADDING="6"
3905><TR
3906><TD
3907><PRE
3908CLASS="PROGRAMLISTING"
3909><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003910HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003911>xmlAttrPtr</A
3912> xmlGetID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003913HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003914>xmlDocPtr</A
3915> doc,
3916 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003917HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003918>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003919> *ID);</PRE
3920></TD
3921></TR
3922></TABLE
3923><P
3924>Search the attribute declaring the given ID</P
3925><P
3926></P
3927><DIV
3928CLASS="INFORMALTABLE"
3929><P
3930></P
3931><TABLE
3932BORDER="0"
3933WIDTH="100%"
3934BGCOLOR="#FFD0D0"
3935CELLSPACING="0"
3936CELLPADDING="4"
3937CLASS="CALSTABLE"
3938><TR
3939><TD
3940WIDTH="20%"
3941ALIGN="RIGHT"
3942VALIGN="TOP"
3943><TT
3944CLASS="PARAMETER"
3945><I
3946>doc</I
3947></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003948>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003949><TD
3950WIDTH="80%"
3951ALIGN="LEFT"
3952VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003953> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003954></TR
3955><TR
3956><TD
3957WIDTH="20%"
3958ALIGN="RIGHT"
3959VALIGN="TOP"
3960><TT
3961CLASS="PARAMETER"
3962><I
3963>ID</I
3964></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00003965>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003966><TD
3967WIDTH="80%"
3968ALIGN="LEFT"
3969VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003970> the ID value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003971></TR
3972><TR
3973><TD
3974WIDTH="20%"
3975ALIGN="RIGHT"
3976VALIGN="TOP"
3977><I
3978CLASS="EMPHASIS"
3979>Returns</I
3980> :</TD
3981><TD
3982WIDTH="80%"
3983ALIGN="LEFT"
3984VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003985>NULL if not found, otherwise the xmlAttrPtr defining the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003986></TR
3987></TABLE
3988><P
3989></P
3990></DIV
3991></DIV
3992><HR><DIV
3993CLASS="REFSECT2"
3994><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003995NAME="AEN8752"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003996></A
3997><H3
3998><A
3999NAME="XMLISID"
4000></A
4001>xmlIsID ()</H3
4002><TABLE
4003BORDER="0"
4004BGCOLOR="#D6E8FF"
4005WIDTH="100%"
4006CELLPADDING="6"
4007><TR
4008><TD
4009><PRE
4010CLASS="PROGRAMLISTING"
4011>int xmlIsID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004012HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004013>xmlDocPtr</A
4014> doc,
4015 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004016HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004017>xmlNodePtr</A
4018> elem,
4019 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004020HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004021>xmlAttrPtr</A
4022> attr);</PRE
4023></TD
4024></TR
4025></TABLE
4026><P
4027>Determine whether an attribute is of type ID. In case we have Dtd(s)
4028then this is simple, otherwise we use an heuristic: name ID (upper
4029or lowercase).</P
4030><P
4031></P
4032><DIV
4033CLASS="INFORMALTABLE"
4034><P
4035></P
4036><TABLE
4037BORDER="0"
4038WIDTH="100%"
4039BGCOLOR="#FFD0D0"
4040CELLSPACING="0"
4041CELLPADDING="4"
4042CLASS="CALSTABLE"
4043><TR
4044><TD
4045WIDTH="20%"
4046ALIGN="RIGHT"
4047VALIGN="TOP"
4048><TT
4049CLASS="PARAMETER"
4050><I
4051>doc</I
4052></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004053>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004054><TD
4055WIDTH="80%"
4056ALIGN="LEFT"
4057VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004058> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004059></TR
4060><TR
4061><TD
4062WIDTH="20%"
4063ALIGN="RIGHT"
4064VALIGN="TOP"
4065><TT
4066CLASS="PARAMETER"
4067><I
4068>elem</I
4069></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004070>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004071><TD
4072WIDTH="80%"
4073ALIGN="LEFT"
4074VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004075> the element carrying the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004076></TR
4077><TR
4078><TD
4079WIDTH="20%"
4080ALIGN="RIGHT"
4081VALIGN="TOP"
4082><TT
4083CLASS="PARAMETER"
4084><I
4085>attr</I
4086></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004087>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004088><TD
4089WIDTH="80%"
4090ALIGN="LEFT"
4091VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004092> the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004093></TR
4094><TR
4095><TD
4096WIDTH="20%"
4097ALIGN="RIGHT"
4098VALIGN="TOP"
4099><I
4100CLASS="EMPHASIS"
4101>Returns</I
4102> :</TD
4103><TD
4104WIDTH="80%"
4105ALIGN="LEFT"
4106VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004107>0 or 1 depending on the lookup result</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004108></TR
4109></TABLE
4110><P
4111></P
4112></DIV
4113></DIV
4114><HR><DIV
4115CLASS="REFSECT2"
4116><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004117NAME="AEN8782"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004118></A
4119><H3
4120><A
4121NAME="XMLREMOVEID"
4122></A
4123>xmlRemoveID ()</H3
4124><TABLE
4125BORDER="0"
4126BGCOLOR="#D6E8FF"
4127WIDTH="100%"
4128CELLPADDING="6"
4129><TR
4130><TD
4131><PRE
4132CLASS="PROGRAMLISTING"
4133>int xmlRemoveID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004134HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004135>xmlDocPtr</A
4136> doc,
4137 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004138HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004139>xmlAttrPtr</A
4140> attr);</PRE
4141></TD
4142></TR
4143></TABLE
4144><P
4145>Remove the given attribute from the ID table maintained internally.</P
4146><P
4147></P
4148><DIV
4149CLASS="INFORMALTABLE"
4150><P
4151></P
4152><TABLE
4153BORDER="0"
4154WIDTH="100%"
4155BGCOLOR="#FFD0D0"
4156CELLSPACING="0"
4157CELLPADDING="4"
4158CLASS="CALSTABLE"
4159><TR
4160><TD
4161WIDTH="20%"
4162ALIGN="RIGHT"
4163VALIGN="TOP"
4164><TT
4165CLASS="PARAMETER"
4166><I
4167>doc</I
4168></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004169>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004170><TD
4171WIDTH="80%"
4172ALIGN="LEFT"
4173VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004174> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004175></TR
4176><TR
4177><TD
4178WIDTH="20%"
4179ALIGN="RIGHT"
4180VALIGN="TOP"
4181><TT
4182CLASS="PARAMETER"
4183><I
4184>attr</I
4185></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004186>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004187><TD
4188WIDTH="80%"
4189ALIGN="LEFT"
4190VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004191> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004192></TR
4193><TR
4194><TD
4195WIDTH="20%"
4196ALIGN="RIGHT"
4197VALIGN="TOP"
4198><I
4199CLASS="EMPHASIS"
4200>Returns</I
4201> :</TD
4202><TD
4203WIDTH="80%"
4204ALIGN="LEFT"
4205VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004206>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004207></TR
4208></TABLE
4209><P
4210></P
4211></DIV
4212></DIV
4213><HR><DIV
4214CLASS="REFSECT2"
4215><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004216NAME="AEN8807"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004217></A
4218><H3
4219><A
4220NAME="XMLADDREF"
4221></A
4222>xmlAddRef ()</H3
4223><TABLE
4224BORDER="0"
4225BGCOLOR="#D6E8FF"
4226WIDTH="100%"
4227CELLPADDING="6"
4228><TR
4229><TD
4230><PRE
4231CLASS="PROGRAMLISTING"
4232><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004233HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004234>xmlRefPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004235> xmlAddRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004236HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004237>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004238> ctxt,
4239 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004240HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004241>xmlDocPtr</A
4242> doc,
4243 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004244HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004245>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004246> *value,
4247 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004248HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004249>xmlAttrPtr</A
4250> attr);</PRE
4251></TD
4252></TR
4253></TABLE
4254><P
4255>Register a new ref declaration</P
4256><P
4257></P
4258><DIV
4259CLASS="INFORMALTABLE"
4260><P
4261></P
4262><TABLE
4263BORDER="0"
4264WIDTH="100%"
4265BGCOLOR="#FFD0D0"
4266CELLSPACING="0"
4267CELLPADDING="4"
4268CLASS="CALSTABLE"
4269><TR
4270><TD
4271WIDTH="20%"
4272ALIGN="RIGHT"
4273VALIGN="TOP"
4274><TT
4275CLASS="PARAMETER"
4276><I
4277>ctxt</I
4278></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004279>:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004280><TD
4281WIDTH="80%"
4282ALIGN="LEFT"
4283VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004284> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004285></TR
4286><TR
4287><TD
4288WIDTH="20%"
4289ALIGN="RIGHT"
4290VALIGN="TOP"
4291><TT
4292CLASS="PARAMETER"
4293><I
4294>doc</I
4295></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004296>:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004297><TD
4298WIDTH="80%"
4299ALIGN="LEFT"
4300VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004301> pointer to the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004302></TR
4303><TR
4304><TD
4305WIDTH="20%"
4306ALIGN="RIGHT"
4307VALIGN="TOP"
4308><TT
4309CLASS="PARAMETER"
4310><I
4311>value</I
4312></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004313>:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004314><TD
4315WIDTH="80%"
4316ALIGN="LEFT"
4317VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004318> the value name</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004319></TR
4320><TR
4321><TD
4322WIDTH="20%"
4323ALIGN="RIGHT"
4324VALIGN="TOP"
4325><TT
4326CLASS="PARAMETER"
4327><I
4328>attr</I
4329></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004330>:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004331><TD
4332WIDTH="80%"
4333ALIGN="LEFT"
4334VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004335> the attribute holding the Ref</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004336></TR
4337><TR
4338><TD
4339WIDTH="20%"
4340ALIGN="RIGHT"
4341VALIGN="TOP"
4342><I
4343CLASS="EMPHASIS"
4344>Returns</I
4345> :</TD
4346><TD
4347WIDTH="80%"
4348ALIGN="LEFT"
4349VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004350>NULL if not, othervise the new xmlRefPtr</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004351></TR
4352></TABLE
4353><P
4354></P
4355></DIV
4356></DIV
4357><HR><DIV
4358CLASS="REFSECT2"
4359><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004360NAME="AEN8843"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004361></A
4362><H3
4363><A
4364NAME="XMLCOPYREFTABLE"
4365></A
4366>xmlCopyRefTable ()</H3
4367><TABLE
4368BORDER="0"
4369BGCOLOR="#D6E8FF"
4370WIDTH="100%"
4371CELLPADDING="6"
4372><TR
4373><TD
4374><PRE
4375CLASS="PROGRAMLISTING"
4376><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004377HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004378>xmlRefTablePtr</A
4379> xmlCopyRefTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004380HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004381>xmlRefTablePtr</A
4382> table);</PRE
4383></TD
4384></TR
4385></TABLE
4386><P
4387></P
4388><DIV
4389CLASS="INFORMALTABLE"
4390><P
4391></P
4392><TABLE
4393BORDER="0"
4394WIDTH="100%"
4395BGCOLOR="#FFD0D0"
4396CELLSPACING="0"
4397CELLPADDING="4"
4398CLASS="CALSTABLE"
4399><TR
4400><TD
4401WIDTH="20%"
4402ALIGN="RIGHT"
4403VALIGN="TOP"
4404><TT
4405CLASS="PARAMETER"
4406><I
4407>table</I
4408></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004409>:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004410><TD
4411WIDTH="80%"
4412ALIGN="LEFT"
4413VALIGN="TOP"
4414>&nbsp;</TD
4415></TR
4416><TR
4417><TD
4418WIDTH="20%"
4419ALIGN="RIGHT"
4420VALIGN="TOP"
4421><I
4422CLASS="EMPHASIS"
4423>Returns</I
4424> :</TD
4425><TD
4426WIDTH="80%"
4427ALIGN="LEFT"
4428VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00004429>&#13;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004430></TR
4431></TABLE
4432><P
4433></P
4434></DIV
4435></DIV
4436><HR><DIV
4437CLASS="REFSECT2"
4438><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004439NAME="AEN8863"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004440></A
4441><H3
4442><A
4443NAME="XMLFREEREFTABLE"
4444></A
4445>xmlFreeRefTable ()</H3
4446><TABLE
4447BORDER="0"
4448BGCOLOR="#D6E8FF"
4449WIDTH="100%"
4450CELLPADDING="6"
4451><TR
4452><TD
4453><PRE
4454CLASS="PROGRAMLISTING"
4455>void xmlFreeRefTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004456HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004457>xmlRefTablePtr</A
4458> table);</PRE
4459></TD
4460></TR
4461></TABLE
4462><P
4463>Deallocate the memory used by an Ref hash table.</P
4464><P
4465></P
4466><DIV
4467CLASS="INFORMALTABLE"
4468><P
4469></P
4470><TABLE
4471BORDER="0"
4472WIDTH="100%"
4473BGCOLOR="#FFD0D0"
4474CELLSPACING="0"
4475CELLPADDING="4"
4476CLASS="CALSTABLE"
4477><TR
4478><TD
4479WIDTH="20%"
4480ALIGN="RIGHT"
4481VALIGN="TOP"
4482><TT
4483CLASS="PARAMETER"
4484><I
4485>table</I
4486></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004487>:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004488><TD
4489WIDTH="80%"
4490ALIGN="LEFT"
4491VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004492> An ref table</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004493></TR
4494></TABLE
4495><P
4496></P
4497></DIV
4498></DIV
4499><HR><DIV
4500CLASS="REFSECT2"
4501><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004502NAME="AEN8879"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004503></A
4504><H3
4505><A
4506NAME="XMLISREF"
4507></A
4508>xmlIsRef ()</H3
4509><TABLE
4510BORDER="0"
4511BGCOLOR="#D6E8FF"
4512WIDTH="100%"
4513CELLPADDING="6"
4514><TR
4515><TD
4516><PRE
4517CLASS="PROGRAMLISTING"
4518>int xmlIsRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004519HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004520>xmlDocPtr</A
4521> doc,
4522 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004523HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004524>xmlNodePtr</A
4525> elem,
4526 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004527HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004528>xmlAttrPtr</A
4529> attr);</PRE
4530></TD
4531></TR
4532></TABLE
4533><P
4534>Determine whether an attribute is of type Ref. In case we have Dtd(s)
4535then this is simple, otherwise we use an heuristic: name Ref (upper
4536or lowercase).</P
4537><P
4538></P
4539><DIV
4540CLASS="INFORMALTABLE"
4541><P
4542></P
4543><TABLE
4544BORDER="0"
4545WIDTH="100%"
4546BGCOLOR="#FFD0D0"
4547CELLSPACING="0"
4548CELLPADDING="4"
4549CLASS="CALSTABLE"
4550><TR
4551><TD
4552WIDTH="20%"
4553ALIGN="RIGHT"
4554VALIGN="TOP"
4555><TT
4556CLASS="PARAMETER"
4557><I
4558>doc</I
4559></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004560>:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004561><TD
4562WIDTH="80%"
4563ALIGN="LEFT"
4564VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004565> the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004566></TR
4567><TR
4568><TD
4569WIDTH="20%"
4570ALIGN="RIGHT"
4571VALIGN="TOP"
4572><TT
4573CLASS="PARAMETER"
4574><I
4575>elem</I
4576></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004577>:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004578><TD
4579WIDTH="80%"
4580ALIGN="LEFT"
4581VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004582> the element carrying the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004583></TR
4584><TR
4585><TD
4586WIDTH="20%"
4587ALIGN="RIGHT"
4588VALIGN="TOP"
4589><TT
4590CLASS="PARAMETER"
4591><I
4592>attr</I
4593></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004594>:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004595><TD
4596WIDTH="80%"
4597ALIGN="LEFT"
4598VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004599> the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004600></TR
4601><TR
4602><TD
4603WIDTH="20%"
4604ALIGN="RIGHT"
4605VALIGN="TOP"
4606><I
4607CLASS="EMPHASIS"
4608>Returns</I
4609> :</TD
4610><TD
4611WIDTH="80%"
4612ALIGN="LEFT"
4613VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004614>0 or 1 depending on the lookup result</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004615></TR
4616></TABLE
4617><P
4618></P
4619></DIV
4620></DIV
4621><HR><DIV
4622CLASS="REFSECT2"
4623><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004624NAME="AEN8909"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004625></A
4626><H3
4627><A
4628NAME="XMLREMOVEREF"
4629></A
4630>xmlRemoveRef ()</H3
4631><TABLE
4632BORDER="0"
4633BGCOLOR="#D6E8FF"
4634WIDTH="100%"
4635CELLPADDING="6"
4636><TR
4637><TD
4638><PRE
4639CLASS="PROGRAMLISTING"
4640>int xmlRemoveRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004641HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004642>xmlDocPtr</A
4643> doc,
4644 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004645HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004646>xmlAttrPtr</A
4647> attr);</PRE
4648></TD
4649></TR
4650></TABLE
4651><P
4652>Remove the given attribute from the Ref table maintained internally.</P
4653><P
4654></P
4655><DIV
4656CLASS="INFORMALTABLE"
4657><P
4658></P
4659><TABLE
4660BORDER="0"
4661WIDTH="100%"
4662BGCOLOR="#FFD0D0"
4663CELLSPACING="0"
4664CELLPADDING="4"
4665CLASS="CALSTABLE"
4666><TR
4667><TD
4668WIDTH="20%"
4669ALIGN="RIGHT"
4670VALIGN="TOP"
4671><TT
4672CLASS="PARAMETER"
4673><I
4674>doc</I
4675></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004676>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004677><TD
4678WIDTH="80%"
4679ALIGN="LEFT"
4680VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004681> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004682></TR
4683><TR
4684><TD
4685WIDTH="20%"
4686ALIGN="RIGHT"
4687VALIGN="TOP"
4688><TT
4689CLASS="PARAMETER"
4690><I
4691>attr</I
4692></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004693>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004694><TD
4695WIDTH="80%"
4696ALIGN="LEFT"
4697VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004698> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004699></TR
4700><TR
4701><TD
4702WIDTH="20%"
4703ALIGN="RIGHT"
4704VALIGN="TOP"
4705><I
4706CLASS="EMPHASIS"
4707>Returns</I
4708> :</TD
4709><TD
4710WIDTH="80%"
4711ALIGN="LEFT"
4712VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004713>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004714></TR
4715></TABLE
4716><P
4717></P
4718></DIV
4719></DIV
4720><HR><DIV
4721CLASS="REFSECT2"
4722><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004723NAME="AEN8934"
4724></A
4725><H3
4726><A
4727NAME="XMLGETREFS"
4728></A
4729>xmlGetRefs ()</H3
4730><TABLE
4731BORDER="0"
4732BGCOLOR="#D6E8FF"
4733WIDTH="100%"
4734CELLPADDING="6"
4735><TR
4736><TD
4737><PRE
4738CLASS="PROGRAMLISTING"
4739><GTKDOCLINK
4740HREF="XMLLISTPTR"
4741>xmlListPtr</GTKDOCLINK
4742> xmlGetRefs (<A
4743HREF="libxml-tree.html#XMLDOCPTR"
4744>xmlDocPtr</A
4745> doc,
4746 const <A
4747HREF="libxml-tree.html#XMLCHAR"
4748>xmlChar</A
4749> *ID);</PRE
4750></TD
4751></TR
4752></TABLE
4753><P
4754>Find the set of references for the supplied ID.</P
4755><P
4756></P
4757><DIV
4758CLASS="INFORMALTABLE"
4759><P
4760></P
4761><TABLE
4762BORDER="0"
4763WIDTH="100%"
4764BGCOLOR="#FFD0D0"
4765CELLSPACING="0"
4766CELLPADDING="4"
4767CLASS="CALSTABLE"
4768><TR
4769><TD
4770WIDTH="20%"
4771ALIGN="RIGHT"
4772VALIGN="TOP"
4773><TT
4774CLASS="PARAMETER"
4775><I
4776>doc</I
4777></TT
4778>:</TD
4779><TD
4780WIDTH="80%"
4781ALIGN="LEFT"
4782VALIGN="TOP"
4783> pointer to the document</TD
4784></TR
4785><TR
4786><TD
4787WIDTH="20%"
4788ALIGN="RIGHT"
4789VALIGN="TOP"
4790><TT
4791CLASS="PARAMETER"
4792><I
4793>ID</I
4794></TT
4795>:</TD
4796><TD
4797WIDTH="80%"
4798ALIGN="LEFT"
4799VALIGN="TOP"
4800> the ID value</TD
4801></TR
4802><TR
4803><TD
4804WIDTH="20%"
4805ALIGN="RIGHT"
4806VALIGN="TOP"
4807><I
4808CLASS="EMPHASIS"
4809>Returns</I
4810> :</TD
4811><TD
4812WIDTH="80%"
4813ALIGN="LEFT"
4814VALIGN="TOP"
4815>NULL if not found, otherwise node set for the ID.</TD
4816></TR
4817></TABLE
4818><P
4819></P
4820></DIV
4821></DIV
4822><HR><DIV
4823CLASS="REFSECT2"
4824><A
4825NAME="AEN8960"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004826></A
4827><H3
4828><A
4829NAME="XMLVALIDATEROOT"
4830></A
4831>xmlValidateRoot ()</H3
4832><TABLE
4833BORDER="0"
4834BGCOLOR="#D6E8FF"
4835WIDTH="100%"
4836CELLPADDING="6"
4837><TR
4838><TD
4839><PRE
4840CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004841>int xmlValidateRoot (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004842HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004843>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004844> ctxt,
4845 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004846HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004847>xmlDocPtr</A
4848> doc);</PRE
4849></TD
4850></TR
4851></TABLE
4852><P
4853>Try to validate a the root element
4854basically it does the following check as described by the
4855XML-1.0 recommendation:
4856- [ VC: Root Element Type ]
4857it doesn't try to recurse or apply other check to the element</P
4858><P
4859></P
4860><DIV
4861CLASS="INFORMALTABLE"
4862><P
4863></P
4864><TABLE
4865BORDER="0"
4866WIDTH="100%"
4867BGCOLOR="#FFD0D0"
4868CELLSPACING="0"
4869CELLPADDING="4"
4870CLASS="CALSTABLE"
4871><TR
4872><TD
4873WIDTH="20%"
4874ALIGN="RIGHT"
4875VALIGN="TOP"
4876><TT
4877CLASS="PARAMETER"
4878><I
4879>ctxt</I
4880></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004881>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004882><TD
4883WIDTH="80%"
4884ALIGN="LEFT"
4885VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004886> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004887></TR
4888><TR
4889><TD
4890WIDTH="20%"
4891ALIGN="RIGHT"
4892VALIGN="TOP"
4893><TT
4894CLASS="PARAMETER"
4895><I
4896>doc</I
4897></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004898>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004899><TD
4900WIDTH="80%"
4901ALIGN="LEFT"
4902VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004903> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004904></TR
4905><TR
4906><TD
4907WIDTH="20%"
4908ALIGN="RIGHT"
4909VALIGN="TOP"
4910><I
4911CLASS="EMPHASIS"
4912>Returns</I
4913> :</TD
4914><TD
4915WIDTH="80%"
4916ALIGN="LEFT"
4917VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004918>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004919></TR
4920></TABLE
4921><P
4922></P
4923></DIV
4924></DIV
4925><HR><DIV
4926CLASS="REFSECT2"
4927><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004928NAME="AEN8985"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004929></A
4930><H3
4931><A
4932NAME="XMLVALIDATEELEMENTDECL"
4933></A
4934>xmlValidateElementDecl ()</H3
4935><TABLE
4936BORDER="0"
4937BGCOLOR="#D6E8FF"
4938WIDTH="100%"
4939CELLPADDING="6"
4940><TR
4941><TD
4942><PRE
4943CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004944>int xmlValidateElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004945HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004946>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004947> ctxt,
4948 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004949HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004950>xmlDocPtr</A
4951> doc,
4952 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004953HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004954>xmlElementPtr</A
4955> elem);</PRE
4956></TD
4957></TR
4958></TABLE
4959><P
4960>Try to validate a single element definition
4961basically it does the following checks as described by the
4962XML-1.0 recommendation:
4963- [ VC: One ID per Element Type ]
4964- [ VC: No Duplicate Types ]
4965- [ VC: Unique Element Type Declaration ]</P
4966><P
4967></P
4968><DIV
4969CLASS="INFORMALTABLE"
4970><P
4971></P
4972><TABLE
4973BORDER="0"
4974WIDTH="100%"
4975BGCOLOR="#FFD0D0"
4976CELLSPACING="0"
4977CELLPADDING="4"
4978CLASS="CALSTABLE"
4979><TR
4980><TD
4981WIDTH="20%"
4982ALIGN="RIGHT"
4983VALIGN="TOP"
4984><TT
4985CLASS="PARAMETER"
4986><I
4987>ctxt</I
4988></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00004989>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004990><TD
4991WIDTH="80%"
4992ALIGN="LEFT"
4993VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004994> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004995></TR
4996><TR
4997><TD
4998WIDTH="20%"
4999ALIGN="RIGHT"
5000VALIGN="TOP"
5001><TT
5002CLASS="PARAMETER"
5003><I
5004>doc</I
5005></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005006>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005007><TD
5008WIDTH="80%"
5009ALIGN="LEFT"
5010VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005011> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005012></TR
5013><TR
5014><TD
5015WIDTH="20%"
5016ALIGN="RIGHT"
5017VALIGN="TOP"
5018><TT
5019CLASS="PARAMETER"
5020><I
5021>elem</I
5022></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005023>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005024><TD
5025WIDTH="80%"
5026ALIGN="LEFT"
5027VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005028> an element definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005029></TR
5030><TR
5031><TD
5032WIDTH="20%"
5033ALIGN="RIGHT"
5034VALIGN="TOP"
5035><I
5036CLASS="EMPHASIS"
5037>Returns</I
5038> :</TD
5039><TD
5040WIDTH="80%"
5041ALIGN="LEFT"
5042VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005043>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005044></TR
5045></TABLE
5046><P
5047></P
5048></DIV
5049></DIV
5050><HR><DIV
5051CLASS="REFSECT2"
5052><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005053NAME="AEN9015"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005054></A
5055><H3
5056><A
5057NAME="XMLVALIDNORMALIZEATTRIBUTEVALUE"
5058></A
5059>xmlValidNormalizeAttributeValue ()</H3
5060><TABLE
5061BORDER="0"
5062BGCOLOR="#D6E8FF"
5063WIDTH="100%"
5064CELLPADDING="6"
5065><TR
5066><TD
5067><PRE
5068CLASS="PROGRAMLISTING"
5069><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005070HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005071>xmlChar</A
5072>* xmlValidNormalizeAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005073HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005074>xmlDocPtr</A
5075> doc,
5076 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005077HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005078>xmlNodePtr</A
5079> elem,
5080 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005081HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005082>xmlChar</A
5083> *name,
5084 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005085HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005086>xmlChar</A
5087> *value);</PRE
5088></TD
5089></TR
5090></TABLE
5091><P
5092>Does the validation related extra step of the normalization of attribute
5093values:</P
5094><P
5095>If the declared value is not CDATA, then the XML processor must further
5096process the normalized attribute value by discarding any leading and
5097trailing space (<GTKDOCLINK
5098HREF="X20"
5099>x20</GTKDOCLINK
5100>) characters, and by replacing sequences of space
5101(<GTKDOCLINK
5102HREF="X20"
5103>x20</GTKDOCLINK
5104>) characters by single space (<GTKDOCLINK
5105HREF="X20"
5106>x20</GTKDOCLINK
5107>) character.</P
5108><P
5109></P
5110><DIV
5111CLASS="INFORMALTABLE"
5112><P
5113></P
5114><TABLE
5115BORDER="0"
5116WIDTH="100%"
5117BGCOLOR="#FFD0D0"
5118CELLSPACING="0"
5119CELLPADDING="4"
5120CLASS="CALSTABLE"
5121><TR
5122><TD
5123WIDTH="20%"
5124ALIGN="RIGHT"
5125VALIGN="TOP"
5126><TT
5127CLASS="PARAMETER"
5128><I
5129>doc</I
5130></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005131>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005132><TD
5133WIDTH="80%"
5134ALIGN="LEFT"
5135VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005136> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005137></TR
5138><TR
5139><TD
5140WIDTH="20%"
5141ALIGN="RIGHT"
5142VALIGN="TOP"
5143><TT
5144CLASS="PARAMETER"
5145><I
5146>elem</I
5147></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005148>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005149><TD
5150WIDTH="80%"
5151ALIGN="LEFT"
5152VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005153> the parent</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005154></TR
5155><TR
5156><TD
5157WIDTH="20%"
5158ALIGN="RIGHT"
5159VALIGN="TOP"
5160><TT
5161CLASS="PARAMETER"
5162><I
5163>name</I
5164></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005165>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005166><TD
5167WIDTH="80%"
5168ALIGN="LEFT"
5169VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005170> the attribute name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005171></TR
5172><TR
5173><TD
5174WIDTH="20%"
5175ALIGN="RIGHT"
5176VALIGN="TOP"
5177><TT
5178CLASS="PARAMETER"
5179><I
5180>value</I
5181></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005182>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005183><TD
5184WIDTH="80%"
5185ALIGN="LEFT"
5186VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005187> the attribute value</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005188></TR
5189><TR
5190><TD
5191WIDTH="20%"
5192ALIGN="RIGHT"
5193VALIGN="TOP"
5194><I
5195CLASS="EMPHASIS"
5196>Returns</I
5197> :</TD
5198><TD
5199WIDTH="80%"
5200ALIGN="LEFT"
5201VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005202>a new normalized string if normalization is needed, NULL otherwise
5203the caller must free the returned value.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005204></TR
5205></TABLE
5206><P
5207></P
5208></DIV
5209></DIV
5210><HR><DIV
5211CLASS="REFSECT2"
5212><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005213NAME="AEN9055"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005214></A
5215><H3
5216><A
5217NAME="XMLVALIDATEATTRIBUTEDECL"
5218></A
5219>xmlValidateAttributeDecl ()</H3
5220><TABLE
5221BORDER="0"
5222BGCOLOR="#D6E8FF"
5223WIDTH="100%"
5224CELLPADDING="6"
5225><TR
5226><TD
5227><PRE
5228CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005229>int xmlValidateAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005230HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005231>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005232> ctxt,
5233 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005234HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005235>xmlDocPtr</A
5236> doc,
5237 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005238HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005239>xmlAttributePtr</A
5240> attr);</PRE
5241></TD
5242></TR
5243></TABLE
5244><P
5245>Try to validate a single attribute definition
5246basically it does the following checks as described by the
5247XML-1.0 recommendation:
5248- [ VC: Attribute Default Legal ]
5249- [ VC: Enumeration ]
5250- [ VC: ID Attribute Default ]</P
5251><P
5252>The ID/IDREF uniqueness and matching are done separately</P
5253><P
5254></P
5255><DIV
5256CLASS="INFORMALTABLE"
5257><P
5258></P
5259><TABLE
5260BORDER="0"
5261WIDTH="100%"
5262BGCOLOR="#FFD0D0"
5263CELLSPACING="0"
5264CELLPADDING="4"
5265CLASS="CALSTABLE"
5266><TR
5267><TD
5268WIDTH="20%"
5269ALIGN="RIGHT"
5270VALIGN="TOP"
5271><TT
5272CLASS="PARAMETER"
5273><I
5274>ctxt</I
5275></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005276>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005277><TD
5278WIDTH="80%"
5279ALIGN="LEFT"
5280VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005281> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005282></TR
5283><TR
5284><TD
5285WIDTH="20%"
5286ALIGN="RIGHT"
5287VALIGN="TOP"
5288><TT
5289CLASS="PARAMETER"
5290><I
5291>doc</I
5292></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005293>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005294><TD
5295WIDTH="80%"
5296ALIGN="LEFT"
5297VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005298> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005299></TR
5300><TR
5301><TD
5302WIDTH="20%"
5303ALIGN="RIGHT"
5304VALIGN="TOP"
5305><TT
5306CLASS="PARAMETER"
5307><I
5308>attr</I
5309></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005310>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005311><TD
5312WIDTH="80%"
5313ALIGN="LEFT"
5314VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005315> an attribute definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005316></TR
5317><TR
5318><TD
5319WIDTH="20%"
5320ALIGN="RIGHT"
5321VALIGN="TOP"
5322><I
5323CLASS="EMPHASIS"
5324>Returns</I
5325> :</TD
5326><TD
5327WIDTH="80%"
5328ALIGN="LEFT"
5329VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005330>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005331></TR
5332></TABLE
5333><P
5334></P
5335></DIV
5336></DIV
5337><HR><DIV
5338CLASS="REFSECT2"
5339><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005340NAME="AEN9086"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005341></A
5342><H3
5343><A
5344NAME="XMLVALIDATEATTRIBUTEVALUE"
5345></A
5346>xmlValidateAttributeValue ()</H3
5347><TABLE
5348BORDER="0"
5349BGCOLOR="#D6E8FF"
5350WIDTH="100%"
5351CELLPADDING="6"
5352><TR
5353><TD
5354><PRE
5355CLASS="PROGRAMLISTING"
5356>int xmlValidateAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005357HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005358>xmlAttributeType</A
5359> type,
5360 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005361HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005362>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005363> *value);</PRE
5364></TD
5365></TR
5366></TABLE
5367><P
5368>Validate that the given attribute value match the proper production</P
5369><P
5370>[ VC: ID ]
5371Values of type ID must match the Name production....</P
5372><P
5373>[ VC: IDREF ]
5374Values of type IDREF must match the Name production, and values
5375of type IDREFS must match Names ...</P
5376><P
5377>[ VC: Entity Name ]
5378Values of type ENTITY must match the Name production, values
5379of type ENTITIES must match Names ...</P
5380><P
5381>[ VC: Name Token ]
5382Values of type NMTOKEN must match the Nmtoken production; values
5383of type NMTOKENS must match Nmtokens.</P
5384><P
5385></P
5386><DIV
5387CLASS="INFORMALTABLE"
5388><P
5389></P
5390><TABLE
5391BORDER="0"
5392WIDTH="100%"
5393BGCOLOR="#FFD0D0"
5394CELLSPACING="0"
5395CELLPADDING="4"
5396CLASS="CALSTABLE"
5397><TR
5398><TD
5399WIDTH="20%"
5400ALIGN="RIGHT"
5401VALIGN="TOP"
5402><TT
5403CLASS="PARAMETER"
5404><I
5405>type</I
5406></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005407>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005408><TD
5409WIDTH="80%"
5410ALIGN="LEFT"
5411VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005412> an attribute type</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005413></TR
5414><TR
5415><TD
5416WIDTH="20%"
5417ALIGN="RIGHT"
5418VALIGN="TOP"
5419><TT
5420CLASS="PARAMETER"
5421><I
5422>value</I
5423></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005424>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005425><TD
5426WIDTH="80%"
5427ALIGN="LEFT"
5428VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005429> an attribute value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005430></TR
5431><TR
5432><TD
5433WIDTH="20%"
5434ALIGN="RIGHT"
5435VALIGN="TOP"
5436><I
5437CLASS="EMPHASIS"
5438>Returns</I
5439> :</TD
5440><TD
5441WIDTH="80%"
5442ALIGN="LEFT"
5443VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005444>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005445></TR
5446></TABLE
5447><P
5448></P
5449></DIV
5450></DIV
5451><HR><DIV
5452CLASS="REFSECT2"
5453><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005454NAME="AEN9115"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005455></A
5456><H3
5457><A
5458NAME="XMLVALIDATENOTATIONDECL"
5459></A
5460>xmlValidateNotationDecl ()</H3
5461><TABLE
5462BORDER="0"
5463BGCOLOR="#D6E8FF"
5464WIDTH="100%"
5465CELLPADDING="6"
5466><TR
5467><TD
5468><PRE
5469CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005470>int xmlValidateNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005471HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005472>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005473> ctxt,
5474 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005475HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005476>xmlDocPtr</A
5477> doc,
5478 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005479HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005480>xmlNotationPtr</A
5481> nota);</PRE
5482></TD
5483></TR
5484></TABLE
5485><P
5486>Try to validate a single notation definition
5487basically it does the following checks as described by the
5488XML-1.0 recommendation:
5489- it seems that no validity constraing exist on notation declarations
5490But this function get called anyway ...</P
5491><P
5492></P
5493><DIV
5494CLASS="INFORMALTABLE"
5495><P
5496></P
5497><TABLE
5498BORDER="0"
5499WIDTH="100%"
5500BGCOLOR="#FFD0D0"
5501CELLSPACING="0"
5502CELLPADDING="4"
5503CLASS="CALSTABLE"
5504><TR
5505><TD
5506WIDTH="20%"
5507ALIGN="RIGHT"
5508VALIGN="TOP"
5509><TT
5510CLASS="PARAMETER"
5511><I
5512>ctxt</I
5513></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005514>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005515><TD
5516WIDTH="80%"
5517ALIGN="LEFT"
5518VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005519> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005520></TR
5521><TR
5522><TD
5523WIDTH="20%"
5524ALIGN="RIGHT"
5525VALIGN="TOP"
5526><TT
5527CLASS="PARAMETER"
5528><I
5529>doc</I
5530></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005531>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005532><TD
5533WIDTH="80%"
5534ALIGN="LEFT"
5535VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005536> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005537></TR
5538><TR
5539><TD
5540WIDTH="20%"
5541ALIGN="RIGHT"
5542VALIGN="TOP"
5543><TT
5544CLASS="PARAMETER"
5545><I
5546>nota</I
5547></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005548>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005549><TD
5550WIDTH="80%"
5551ALIGN="LEFT"
5552VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005553> a notation definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005554></TR
5555><TR
5556><TD
5557WIDTH="20%"
5558ALIGN="RIGHT"
5559VALIGN="TOP"
5560><I
5561CLASS="EMPHASIS"
5562>Returns</I
5563> :</TD
5564><TD
5565WIDTH="80%"
5566ALIGN="LEFT"
5567VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005568>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005569></TR
5570></TABLE
5571><P
5572></P
5573></DIV
5574></DIV
5575><HR><DIV
5576CLASS="REFSECT2"
5577><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005578NAME="AEN9145"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005579></A
5580><H3
5581><A
5582NAME="XMLVALIDATEDTD"
5583></A
5584>xmlValidateDtd ()</H3
5585><TABLE
5586BORDER="0"
5587BGCOLOR="#D6E8FF"
5588WIDTH="100%"
5589CELLPADDING="6"
5590><TR
5591><TD
5592><PRE
5593CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005594>int xmlValidateDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005595HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005596>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005597> ctxt,
5598 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005599HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005600>xmlDocPtr</A
5601> doc,
5602 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005603HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005604>xmlDtdPtr</A
5605> dtd);</PRE
5606></TD
5607></TR
5608></TABLE
5609><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005610>Try to validate the document against the dtd instance</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005611><P
5612>basically it does check all the definitions in the DtD.</P
5613><P
5614></P
5615><DIV
5616CLASS="INFORMALTABLE"
5617><P
5618></P
5619><TABLE
5620BORDER="0"
5621WIDTH="100%"
5622BGCOLOR="#FFD0D0"
5623CELLSPACING="0"
5624CELLPADDING="4"
5625CLASS="CALSTABLE"
5626><TR
5627><TD
5628WIDTH="20%"
5629ALIGN="RIGHT"
5630VALIGN="TOP"
5631><TT
5632CLASS="PARAMETER"
5633><I
5634>ctxt</I
5635></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005636>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005637><TD
5638WIDTH="80%"
5639ALIGN="LEFT"
5640VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005641> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005642></TR
5643><TR
5644><TD
5645WIDTH="20%"
5646ALIGN="RIGHT"
5647VALIGN="TOP"
5648><TT
5649CLASS="PARAMETER"
5650><I
5651>doc</I
5652></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005653>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005654><TD
5655WIDTH="80%"
5656ALIGN="LEFT"
5657VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005658> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005659></TR
5660><TR
5661><TD
5662WIDTH="20%"
5663ALIGN="RIGHT"
5664VALIGN="TOP"
5665><TT
5666CLASS="PARAMETER"
5667><I
5668>dtd</I
5669></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005670>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005671><TD
5672WIDTH="80%"
5673ALIGN="LEFT"
5674VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005675> a dtd instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005676></TR
5677><TR
5678><TD
5679WIDTH="20%"
5680ALIGN="RIGHT"
5681VALIGN="TOP"
5682><I
5683CLASS="EMPHASIS"
5684>Returns</I
5685> :</TD
5686><TD
5687WIDTH="80%"
5688ALIGN="LEFT"
5689VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005690>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005691></TR
5692></TABLE
5693><P
5694></P
5695></DIV
5696></DIV
5697><HR><DIV
5698CLASS="REFSECT2"
5699><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005700NAME="AEN9176"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005701></A
5702><H3
5703><A
5704NAME="XMLVALIDATEDTDFINAL"
5705></A
5706>xmlValidateDtdFinal ()</H3
5707><TABLE
5708BORDER="0"
5709BGCOLOR="#D6E8FF"
5710WIDTH="100%"
5711CELLPADDING="6"
5712><TR
5713><TD
5714><PRE
5715CLASS="PROGRAMLISTING"
5716>int xmlValidateDtdFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005717HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005718>xmlValidCtxtPtr</A
5719> ctxt,
5720 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005721HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005722>xmlDocPtr</A
5723> doc);</PRE
5724></TD
5725></TR
5726></TABLE
5727><P
5728>Does the final step for the dtds validation once all the
5729subsets have been parsed</P
5730><P
5731>basically it does the following checks described by the XML Rec
5732- check that ENTITY and ENTITIES type attributes default or
5733possible values matches one of the defined entities.
5734- check that NOTATION type attributes default or
5735possible values matches one of the defined notations.</P
5736><P
5737></P
5738><DIV
5739CLASS="INFORMALTABLE"
5740><P
5741></P
5742><TABLE
5743BORDER="0"
5744WIDTH="100%"
5745BGCOLOR="#FFD0D0"
5746CELLSPACING="0"
5747CELLPADDING="4"
5748CLASS="CALSTABLE"
5749><TR
5750><TD
5751WIDTH="20%"
5752ALIGN="RIGHT"
5753VALIGN="TOP"
5754><TT
5755CLASS="PARAMETER"
5756><I
5757>ctxt</I
5758></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005759>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005760><TD
5761WIDTH="80%"
5762ALIGN="LEFT"
5763VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005764> the validation context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005765></TR
5766><TR
5767><TD
5768WIDTH="20%"
5769ALIGN="RIGHT"
5770VALIGN="TOP"
5771><TT
5772CLASS="PARAMETER"
5773><I
5774>doc</I
5775></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005776>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005777><TD
5778WIDTH="80%"
5779ALIGN="LEFT"
5780VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005781> a document instance</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005782></TR
5783><TR
5784><TD
5785WIDTH="20%"
5786ALIGN="RIGHT"
5787VALIGN="TOP"
5788><I
5789CLASS="EMPHASIS"
5790>Returns</I
5791> :</TD
5792><TD
5793WIDTH="80%"
5794ALIGN="LEFT"
5795VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005796>1 if valid or 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005797></TR
5798></TABLE
5799><P
5800></P
5801></DIV
5802></DIV
5803><HR><DIV
5804CLASS="REFSECT2"
5805><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005806NAME="AEN9202"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005807></A
5808><H3
5809><A
5810NAME="XMLVALIDATEDOCUMENT"
5811></A
5812>xmlValidateDocument ()</H3
5813><TABLE
5814BORDER="0"
5815BGCOLOR="#D6E8FF"
5816WIDTH="100%"
5817CELLPADDING="6"
5818><TR
5819><TD
5820><PRE
5821CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005822>int xmlValidateDocument (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005823HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005824>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005825> ctxt,
5826 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005827HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005828>xmlDocPtr</A
5829> doc);</PRE
5830></TD
5831></TR
5832></TABLE
5833><P
5834>Try to validate the document instance</P
5835><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00005836>basically it does the all the checks described by the XML Rec
Daniel Veillardb05deb71999-08-10 19:04:08 +00005837i.e. validates the internal and external subset (if present)
5838and validate the document tree.</P
5839><P
5840></P
5841><DIV
5842CLASS="INFORMALTABLE"
5843><P
5844></P
5845><TABLE
5846BORDER="0"
5847WIDTH="100%"
5848BGCOLOR="#FFD0D0"
5849CELLSPACING="0"
5850CELLPADDING="4"
5851CLASS="CALSTABLE"
5852><TR
5853><TD
5854WIDTH="20%"
5855ALIGN="RIGHT"
5856VALIGN="TOP"
5857><TT
5858CLASS="PARAMETER"
5859><I
5860>ctxt</I
5861></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005862>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005863><TD
5864WIDTH="80%"
5865ALIGN="LEFT"
5866VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005867> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005868></TR
5869><TR
5870><TD
5871WIDTH="20%"
5872ALIGN="RIGHT"
5873VALIGN="TOP"
5874><TT
5875CLASS="PARAMETER"
5876><I
5877>doc</I
5878></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005879>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005880><TD
5881WIDTH="80%"
5882ALIGN="LEFT"
5883VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005884> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005885></TR
5886><TR
5887><TD
5888WIDTH="20%"
5889ALIGN="RIGHT"
5890VALIGN="TOP"
5891><I
5892CLASS="EMPHASIS"
5893>Returns</I
5894> :</TD
5895><TD
5896WIDTH="80%"
5897ALIGN="LEFT"
5898VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005899>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005900></TR
5901></TABLE
5902><P
5903></P
5904></DIV
5905></DIV
5906><HR><DIV
5907CLASS="REFSECT2"
5908><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005909NAME="AEN9228"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005910></A
5911><H3
5912><A
5913NAME="XMLVALIDATEELEMENT"
5914></A
5915>xmlValidateElement ()</H3
5916><TABLE
5917BORDER="0"
5918BGCOLOR="#D6E8FF"
5919WIDTH="100%"
5920CELLPADDING="6"
5921><TR
5922><TD
5923><PRE
5924CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005925>int xmlValidateElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005926HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005927>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005928> ctxt,
5929 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005930HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005931>xmlDocPtr</A
5932> doc,
5933 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005934HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005935>xmlNodePtr</A
5936> elem);</PRE
5937></TD
5938></TR
5939></TABLE
5940><P
5941>Try to validate the subtree under an element</P
5942><P
5943></P
5944><DIV
5945CLASS="INFORMALTABLE"
5946><P
5947></P
5948><TABLE
5949BORDER="0"
5950WIDTH="100%"
5951BGCOLOR="#FFD0D0"
5952CELLSPACING="0"
5953CELLPADDING="4"
5954CLASS="CALSTABLE"
5955><TR
5956><TD
5957WIDTH="20%"
5958ALIGN="RIGHT"
5959VALIGN="TOP"
5960><TT
5961CLASS="PARAMETER"
5962><I
5963>ctxt</I
5964></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005965>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005966><TD
5967WIDTH="80%"
5968ALIGN="LEFT"
5969VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005970> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005971></TR
5972><TR
5973><TD
5974WIDTH="20%"
5975ALIGN="RIGHT"
5976VALIGN="TOP"
5977><TT
5978CLASS="PARAMETER"
5979><I
5980>doc</I
5981></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005982>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005983><TD
5984WIDTH="80%"
5985ALIGN="LEFT"
5986VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005987> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005988></TR
5989><TR
5990><TD
5991WIDTH="20%"
5992ALIGN="RIGHT"
5993VALIGN="TOP"
5994><TT
5995CLASS="PARAMETER"
5996><I
5997>elem</I
5998></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00005999>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006000><TD
6001WIDTH="80%"
6002ALIGN="LEFT"
6003VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006004> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006005></TR
6006><TR
6007><TD
6008WIDTH="20%"
6009ALIGN="RIGHT"
6010VALIGN="TOP"
6011><I
6012CLASS="EMPHASIS"
6013>Returns</I
6014> :</TD
6015><TD
6016WIDTH="80%"
6017ALIGN="LEFT"
6018VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006019>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006020></TR
6021></TABLE
6022><P
6023></P
6024></DIV
6025></DIV
6026><HR><DIV
6027CLASS="REFSECT2"
6028><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006029NAME="AEN9258"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006030></A
6031><H3
6032><A
6033NAME="XMLVALIDATEONEELEMENT"
6034></A
6035>xmlValidateOneElement ()</H3
6036><TABLE
6037BORDER="0"
6038BGCOLOR="#D6E8FF"
6039WIDTH="100%"
6040CELLPADDING="6"
6041><TR
6042><TD
6043><PRE
6044CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006045>int xmlValidateOneElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006046HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006047>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006048> ctxt,
6049 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006050HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006051>xmlDocPtr</A
6052> doc,
6053 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006054HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006055>xmlNodePtr</A
6056> elem);</PRE
6057></TD
6058></TR
6059></TABLE
6060><P
6061>Try to validate a single element and it's attributes,
6062basically it does the following checks as described by the
6063XML-1.0 recommendation:
6064- [ VC: Element Valid ]
6065- [ VC: Required Attribute ]
6066Then call <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006067HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006068>xmlValidateOneAttribute</A
6069>() for each attribute present.</P
6070><P
6071>The ID/IDREF checkings are done separately</P
6072><P
6073></P
6074><DIV
6075CLASS="INFORMALTABLE"
6076><P
6077></P
6078><TABLE
6079BORDER="0"
6080WIDTH="100%"
6081BGCOLOR="#FFD0D0"
6082CELLSPACING="0"
6083CELLPADDING="4"
6084CLASS="CALSTABLE"
6085><TR
6086><TD
6087WIDTH="20%"
6088ALIGN="RIGHT"
6089VALIGN="TOP"
6090><TT
6091CLASS="PARAMETER"
6092><I
6093>ctxt</I
6094></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006095>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006096><TD
6097WIDTH="80%"
6098ALIGN="LEFT"
6099VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006100> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006101></TR
6102><TR
6103><TD
6104WIDTH="20%"
6105ALIGN="RIGHT"
6106VALIGN="TOP"
6107><TT
6108CLASS="PARAMETER"
6109><I
6110>doc</I
6111></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006112>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006113><TD
6114WIDTH="80%"
6115ALIGN="LEFT"
6116VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006117> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006118></TR
6119><TR
6120><TD
6121WIDTH="20%"
6122ALIGN="RIGHT"
6123VALIGN="TOP"
6124><TT
6125CLASS="PARAMETER"
6126><I
6127>elem</I
6128></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006129>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006130><TD
6131WIDTH="80%"
6132ALIGN="LEFT"
6133VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006134> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006135></TR
6136><TR
6137><TD
6138WIDTH="20%"
6139ALIGN="RIGHT"
6140VALIGN="TOP"
6141><I
6142CLASS="EMPHASIS"
6143>Returns</I
6144> :</TD
6145><TD
6146WIDTH="80%"
6147ALIGN="LEFT"
6148VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006149>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006150></TR
6151></TABLE
6152><P
6153></P
6154></DIV
6155></DIV
6156><HR><DIV
6157CLASS="REFSECT2"
6158><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006159NAME="AEN9290"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006160></A
6161><H3
6162><A
6163NAME="XMLVALIDATEONEATTRIBUTE"
6164></A
6165>xmlValidateOneAttribute ()</H3
6166><TABLE
6167BORDER="0"
6168BGCOLOR="#D6E8FF"
6169WIDTH="100%"
6170CELLPADDING="6"
6171><TR
6172><TD
6173><PRE
6174CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006175>int xmlValidateOneAttribute (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006176HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006177>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006178> ctxt,
6179 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006180HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006181>xmlDocPtr</A
6182> doc,
6183 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006184HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006185>xmlNodePtr</A
6186> elem,
6187 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006188HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006189>xmlAttrPtr</A
6190> attr,
6191 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006192HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006193>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006194> *value);</PRE
6195></TD
6196></TR
6197></TABLE
6198><P
6199>Try to validate a single attribute for an element
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006200basically it does the following checks as described by the
Daniel Veillardb05deb71999-08-10 19:04:08 +00006201XML-1.0 recommendation:
6202- [ VC: Attribute Value Type ]
6203- [ VC: Fixed Attribute Default ]
6204- [ VC: Entity Name ]
6205- [ VC: Name Token ]
6206- [ VC: ID ]
6207- [ VC: IDREF ]
6208- [ VC: Entity Name ]
6209- [ VC: Notation Attributes ]</P
6210><P
6211>The ID/IDREF uniqueness and matching are done separately</P
6212><P
6213></P
6214><DIV
6215CLASS="INFORMALTABLE"
6216><P
6217></P
6218><TABLE
6219BORDER="0"
6220WIDTH="100%"
6221BGCOLOR="#FFD0D0"
6222CELLSPACING="0"
6223CELLPADDING="4"
6224CLASS="CALSTABLE"
6225><TR
6226><TD
6227WIDTH="20%"
6228ALIGN="RIGHT"
6229VALIGN="TOP"
6230><TT
6231CLASS="PARAMETER"
6232><I
6233>ctxt</I
6234></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006235>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006236><TD
6237WIDTH="80%"
6238ALIGN="LEFT"
6239VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006240> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006241></TR
6242><TR
6243><TD
6244WIDTH="20%"
6245ALIGN="RIGHT"
6246VALIGN="TOP"
6247><TT
6248CLASS="PARAMETER"
6249><I
6250>doc</I
6251></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006252>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006253><TD
6254WIDTH="80%"
6255ALIGN="LEFT"
6256VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006257> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006258></TR
6259><TR
6260><TD
6261WIDTH="20%"
6262ALIGN="RIGHT"
6263VALIGN="TOP"
6264><TT
6265CLASS="PARAMETER"
6266><I
6267>elem</I
6268></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006269>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006270><TD
6271WIDTH="80%"
6272ALIGN="LEFT"
6273VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006274> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006275></TR
6276><TR
6277><TD
6278WIDTH="20%"
6279ALIGN="RIGHT"
6280VALIGN="TOP"
6281><TT
6282CLASS="PARAMETER"
6283><I
6284>attr</I
6285></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006286>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006287><TD
6288WIDTH="80%"
6289ALIGN="LEFT"
6290VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006291> an attribute instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006292></TR
6293><TR
6294><TD
6295WIDTH="20%"
6296ALIGN="RIGHT"
6297VALIGN="TOP"
6298><TT
6299CLASS="PARAMETER"
6300><I
6301>value</I
6302></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006303>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006304><TD
6305WIDTH="80%"
6306ALIGN="LEFT"
6307VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006308> the attribute value (without entities processing)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006309></TR
6310><TR
6311><TD
6312WIDTH="20%"
6313ALIGN="RIGHT"
6314VALIGN="TOP"
6315><I
6316CLASS="EMPHASIS"
6317>Returns</I
6318> :</TD
6319><TD
6320WIDTH="80%"
6321ALIGN="LEFT"
6322VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006323>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006324></TR
6325></TABLE
6326><P
6327></P
6328></DIV
6329></DIV
6330><HR><DIV
6331CLASS="REFSECT2"
6332><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006333NAME="AEN9331"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006334></A
6335><H3
6336><A
6337NAME="XMLVALIDATEDOCUMENTFINAL"
6338></A
6339>xmlValidateDocumentFinal ()</H3
6340><TABLE
6341BORDER="0"
6342BGCOLOR="#D6E8FF"
6343WIDTH="100%"
6344CELLPADDING="6"
6345><TR
6346><TD
6347><PRE
6348CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006349>int xmlValidateDocumentFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006350HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006351>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006352> ctxt,
6353 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006354HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006355>xmlDocPtr</A
6356> doc);</PRE
6357></TD
6358></TR
6359></TABLE
6360><P
6361>Does the final step for the document validation once all the
6362incremental validation steps have been completed</P
6363><P
6364>basically it does the following checks described by the XML Rec</P
6365><P
6366></P
6367><DIV
6368CLASS="INFORMALTABLE"
6369><P
6370></P
6371><TABLE
6372BORDER="0"
6373WIDTH="100%"
6374BGCOLOR="#FFD0D0"
6375CELLSPACING="0"
6376CELLPADDING="4"
6377CLASS="CALSTABLE"
6378><TR
6379><TD
6380WIDTH="20%"
6381ALIGN="RIGHT"
6382VALIGN="TOP"
6383><TT
6384CLASS="PARAMETER"
6385><I
6386>ctxt</I
6387></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006388>:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006389><TD
6390WIDTH="80%"
6391ALIGN="LEFT"
6392VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006393> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006394></TR
6395><TR
6396><TD
6397WIDTH="20%"
6398ALIGN="RIGHT"
6399VALIGN="TOP"
6400><TT
6401CLASS="PARAMETER"
6402><I
6403>doc</I
6404></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006405>:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006406><TD
6407WIDTH="80%"
6408ALIGN="LEFT"
6409VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006410> a document instance</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006411></TR
6412><TR
6413><TD
6414WIDTH="20%"
6415ALIGN="RIGHT"
6416VALIGN="TOP"
6417><I
6418CLASS="EMPHASIS"
6419>Returns</I
6420> :</TD
6421><TD
6422WIDTH="80%"
6423ALIGN="LEFT"
6424VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006425>1 if valid or 0 otherwise</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006426></TR
6427></TABLE
6428><P
6429></P
6430></DIV
6431></DIV
6432><HR><DIV
6433CLASS="REFSECT2"
6434><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006435NAME="AEN9357"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006436></A
6437><H3
6438><A
6439NAME="XMLVALIDATENOTATIONUSE"
6440></A
6441>xmlValidateNotationUse ()</H3
6442><TABLE
6443BORDER="0"
6444BGCOLOR="#D6E8FF"
6445WIDTH="100%"
6446CELLPADDING="6"
6447><TR
6448><TD
6449><PRE
6450CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006451>int xmlValidateNotationUse (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006452HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006453>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006454> ctxt,
6455 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006456HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006457>xmlDocPtr</A
6458> doc,
6459 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006460HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006461>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006462> *notationName);</PRE
6463></TD
6464></TR
6465></TABLE
6466><P
6467>Validate that the given mame match a notation declaration.
6468- [ VC: Notation Declared ]</P
6469><P
6470></P
6471><DIV
6472CLASS="INFORMALTABLE"
6473><P
6474></P
6475><TABLE
6476BORDER="0"
6477WIDTH="100%"
6478BGCOLOR="#FFD0D0"
6479CELLSPACING="0"
6480CELLPADDING="4"
6481CLASS="CALSTABLE"
6482><TR
6483><TD
6484WIDTH="20%"
6485ALIGN="RIGHT"
6486VALIGN="TOP"
6487><TT
6488CLASS="PARAMETER"
6489><I
6490>ctxt</I
6491></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006492>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006493><TD
6494WIDTH="80%"
6495ALIGN="LEFT"
6496VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006497> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006498></TR
6499><TR
6500><TD
6501WIDTH="20%"
6502ALIGN="RIGHT"
6503VALIGN="TOP"
6504><TT
6505CLASS="PARAMETER"
6506><I
6507>doc</I
6508></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006509>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006510><TD
6511WIDTH="80%"
6512ALIGN="LEFT"
6513VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006514> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006515></TR
6516><TR
6517><TD
6518WIDTH="20%"
6519ALIGN="RIGHT"
6520VALIGN="TOP"
6521><TT
6522CLASS="PARAMETER"
6523><I
6524>notationName</I
6525></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006526>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006527><TD
6528WIDTH="80%"
6529ALIGN="LEFT"
6530VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006531> the notation name to check</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006532></TR
6533><TR
6534><TD
6535WIDTH="20%"
6536ALIGN="RIGHT"
6537VALIGN="TOP"
6538><I
6539CLASS="EMPHASIS"
6540>Returns</I
6541> :</TD
6542><TD
6543WIDTH="80%"
6544ALIGN="LEFT"
6545VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006546>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006547></TR
6548></TABLE
6549><P
6550></P
6551></DIV
6552></DIV
6553><HR><DIV
6554CLASS="REFSECT2"
6555><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006556NAME="AEN9387"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006557></A
6558><H3
6559><A
6560NAME="XMLISMIXEDELEMENT"
6561></A
6562>xmlIsMixedElement ()</H3
6563><TABLE
6564BORDER="0"
6565BGCOLOR="#D6E8FF"
6566WIDTH="100%"
6567CELLPADDING="6"
6568><TR
6569><TD
6570><PRE
6571CLASS="PROGRAMLISTING"
6572>int xmlIsMixedElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006573HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006574>xmlDocPtr</A
6575> doc,
6576 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006577HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006578>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006579> *name);</PRE
6580></TD
6581></TR
6582></TABLE
6583><P
6584>Search in the DtDs whether an element accept Mixed content (or ANY)
6585basically if it is supposed to accept text childs</P
6586><P
6587></P
6588><DIV
6589CLASS="INFORMALTABLE"
6590><P
6591></P
6592><TABLE
6593BORDER="0"
6594WIDTH="100%"
6595BGCOLOR="#FFD0D0"
6596CELLSPACING="0"
6597CELLPADDING="4"
6598CLASS="CALSTABLE"
6599><TR
6600><TD
6601WIDTH="20%"
6602ALIGN="RIGHT"
6603VALIGN="TOP"
6604><TT
6605CLASS="PARAMETER"
6606><I
6607>doc</I
6608></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006609>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006610><TD
6611WIDTH="80%"
6612ALIGN="LEFT"
6613VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006614> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006615></TR
6616><TR
6617><TD
6618WIDTH="20%"
6619ALIGN="RIGHT"
6620VALIGN="TOP"
6621><TT
6622CLASS="PARAMETER"
6623><I
6624>name</I
6625></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006626>:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006627><TD
6628WIDTH="80%"
6629ALIGN="LEFT"
6630VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006631> the element name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006632></TR
6633><TR
6634><TD
6635WIDTH="20%"
6636ALIGN="RIGHT"
6637VALIGN="TOP"
6638><I
6639CLASS="EMPHASIS"
6640>Returns</I
6641> :</TD
6642><TD
6643WIDTH="80%"
6644ALIGN="LEFT"
6645VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006646>0 if no, 1 if yes, and -1 if no element description is available</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006647></TR
6648></TABLE
6649><P
6650></P
6651></DIV
6652></DIV
6653><HR><DIV
6654CLASS="REFSECT2"
6655><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006656NAME="AEN9412"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006657></A
6658><H3
6659><A
6660NAME="XMLGETDTDATTRDESC"
6661></A
6662>xmlGetDtdAttrDesc ()</H3
6663><TABLE
6664BORDER="0"
6665BGCOLOR="#D6E8FF"
6666WIDTH="100%"
6667CELLPADDING="6"
6668><TR
6669><TD
6670><PRE
6671CLASS="PROGRAMLISTING"
6672><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006673HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006674>xmlAttributePtr</A
6675> xmlGetDtdAttrDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006676HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006677>xmlDtdPtr</A
6678> dtd,
6679 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006680HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006681>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006682> *elem,
6683 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006684HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006685>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006686> *name);</PRE
6687></TD
6688></TR
6689></TABLE
6690><P
6691>Search the Dtd for the description of this attribute on
6692this element.</P
6693><P
6694></P
6695><DIV
6696CLASS="INFORMALTABLE"
6697><P
6698></P
6699><TABLE
6700BORDER="0"
6701WIDTH="100%"
6702BGCOLOR="#FFD0D0"
6703CELLSPACING="0"
6704CELLPADDING="4"
6705CLASS="CALSTABLE"
6706><TR
6707><TD
6708WIDTH="20%"
6709ALIGN="RIGHT"
6710VALIGN="TOP"
6711><TT
6712CLASS="PARAMETER"
6713><I
6714>dtd</I
6715></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006716>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006717><TD
6718WIDTH="80%"
6719ALIGN="LEFT"
6720VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006721> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006722></TR
6723><TR
6724><TD
6725WIDTH="20%"
6726ALIGN="RIGHT"
6727VALIGN="TOP"
6728><TT
6729CLASS="PARAMETER"
6730><I
6731>elem</I
6732></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006733>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006734><TD
6735WIDTH="80%"
6736ALIGN="LEFT"
6737VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006738> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006739></TR
6740><TR
6741><TD
6742WIDTH="20%"
6743ALIGN="RIGHT"
6744VALIGN="TOP"
6745><TT
6746CLASS="PARAMETER"
6747><I
6748>name</I
6749></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006750>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006751><TD
6752WIDTH="80%"
6753ALIGN="LEFT"
6754VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006755> the attribute name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006756></TR
6757><TR
6758><TD
6759WIDTH="20%"
6760ALIGN="RIGHT"
6761VALIGN="TOP"
6762><I
6763CLASS="EMPHASIS"
6764>Returns</I
6765> :</TD
6766><TD
6767WIDTH="80%"
6768ALIGN="LEFT"
6769VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006770>the xmlAttributePtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006771></TR
6772></TABLE
6773><P
6774></P
6775></DIV
6776></DIV
6777><HR><DIV
6778CLASS="REFSECT2"
6779><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006780NAME="AEN9443"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006781></A
6782><H3
6783><A
6784NAME="XMLGETDTDNOTATIONDESC"
6785></A
6786>xmlGetDtdNotationDesc ()</H3
6787><TABLE
6788BORDER="0"
6789BGCOLOR="#D6E8FF"
6790WIDTH="100%"
6791CELLPADDING="6"
6792><TR
6793><TD
6794><PRE
6795CLASS="PROGRAMLISTING"
6796><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006797HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006798>xmlNotationPtr</A
6799> xmlGetDtdNotationDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006800HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006801>xmlDtdPtr</A
6802> dtd,
6803 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006804HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006805>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006806> *name);</PRE
6807></TD
6808></TR
6809></TABLE
6810><P
6811>Search the Dtd for the description of this notation</P
6812><P
6813></P
6814><DIV
6815CLASS="INFORMALTABLE"
6816><P
6817></P
6818><TABLE
6819BORDER="0"
6820WIDTH="100%"
6821BGCOLOR="#FFD0D0"
6822CELLSPACING="0"
6823CELLPADDING="4"
6824CLASS="CALSTABLE"
6825><TR
6826><TD
6827WIDTH="20%"
6828ALIGN="RIGHT"
6829VALIGN="TOP"
6830><TT
6831CLASS="PARAMETER"
6832><I
6833>dtd</I
6834></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006835>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006836><TD
6837WIDTH="80%"
6838ALIGN="LEFT"
6839VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006840> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006841></TR
6842><TR
6843><TD
6844WIDTH="20%"
6845ALIGN="RIGHT"
6846VALIGN="TOP"
6847><TT
6848CLASS="PARAMETER"
6849><I
6850>name</I
6851></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006852>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006853><TD
6854WIDTH="80%"
6855ALIGN="LEFT"
6856VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006857> the notation name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006858></TR
6859><TR
6860><TD
6861WIDTH="20%"
6862ALIGN="RIGHT"
6863VALIGN="TOP"
6864><I
6865CLASS="EMPHASIS"
6866>Returns</I
6867> :</TD
6868><TD
6869WIDTH="80%"
6870ALIGN="LEFT"
6871VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006872>the xmlNotationPtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006873></TR
6874></TABLE
6875><P
6876></P
6877></DIV
6878></DIV
6879><HR><DIV
6880CLASS="REFSECT2"
6881><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006882NAME="AEN9469"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006883></A
6884><H3
6885><A
6886NAME="XMLGETDTDELEMENTDESC"
6887></A
6888>xmlGetDtdElementDesc ()</H3
6889><TABLE
6890BORDER="0"
6891BGCOLOR="#D6E8FF"
6892WIDTH="100%"
6893CELLPADDING="6"
6894><TR
6895><TD
6896><PRE
6897CLASS="PROGRAMLISTING"
6898><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006899HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006900>xmlElementPtr</A
6901> xmlGetDtdElementDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006902HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006903>xmlDtdPtr</A
6904> dtd,
6905 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006906HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006907>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006908> *name);</PRE
6909></TD
6910></TR
6911></TABLE
6912><P
6913>Search the Dtd for the description of this element</P
6914><P
6915></P
6916><DIV
6917CLASS="INFORMALTABLE"
6918><P
6919></P
6920><TABLE
6921BORDER="0"
6922WIDTH="100%"
6923BGCOLOR="#FFD0D0"
6924CELLSPACING="0"
6925CELLPADDING="4"
6926CLASS="CALSTABLE"
6927><TR
6928><TD
6929WIDTH="20%"
6930ALIGN="RIGHT"
6931VALIGN="TOP"
6932><TT
6933CLASS="PARAMETER"
6934><I
6935>dtd</I
6936></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006937>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006938><TD
6939WIDTH="80%"
6940ALIGN="LEFT"
6941VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006942> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006943></TR
6944><TR
6945><TD
6946WIDTH="20%"
6947ALIGN="RIGHT"
6948VALIGN="TOP"
6949><TT
6950CLASS="PARAMETER"
6951><I
6952>name</I
6953></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00006954>:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006955><TD
6956WIDTH="80%"
6957ALIGN="LEFT"
6958VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006959> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006960></TR
6961><TR
6962><TD
6963WIDTH="20%"
6964ALIGN="RIGHT"
6965VALIGN="TOP"
6966><I
6967CLASS="EMPHASIS"
6968>Returns</I
6969> :</TD
6970><TD
6971WIDTH="80%"
6972ALIGN="LEFT"
6973VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006974>the xmlElementPtr if found or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006975></TR
6976></TABLE
6977><P
6978></P
6979></DIV
6980></DIV
6981><HR><DIV
6982CLASS="REFSECT2"
6983><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00006984NAME="AEN9495"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006985></A
6986><H3
6987><A
6988NAME="XMLVALIDGETVALIDELEMENTS"
6989></A
6990>xmlValidGetValidElements ()</H3
6991><TABLE
6992BORDER="0"
6993BGCOLOR="#D6E8FF"
6994WIDTH="100%"
6995CELLPADDING="6"
6996><TR
6997><TD
6998><PRE
6999CLASS="PROGRAMLISTING"
7000>int xmlValidGetValidElements (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007001HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007002>xmlNode</A
7003> *prev,
7004 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007005HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007006>xmlNode</A
7007> *next,
7008 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007009HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007010>xmlChar</A
7011> **list,
7012 int max);</PRE
7013></TD
7014></TR
7015></TABLE
7016><P
7017>This function returns the list of authorized children to insert
7018within an existing tree while respecting the validity constraints
7019forced by the Dtd. The insertion point is defined using <TT
7020CLASS="PARAMETER"
7021><I
7022>prev</I
7023></TT
7024> and
7025<TT
7026CLASS="PARAMETER"
7027><I
7028>next</I
7029></TT
7030> in the following ways:
Daniel Veillarda41123c2001-04-22 19:31:20 +00007031to insert before 'node': xmlValidGetValidElements(node-prev, node, ...
7032to insert next 'node': xmlValidGetValidElements(node, node-next, ...
7033to replace 'node': xmlValidGetValidElements(node-prev, node-next, ...
7034to prepend a child to 'node': xmlValidGetValidElements(NULL, node-childs,
7035to append a child to 'node': xmlValidGetValidElements(node-last, NULL, ...</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007036><P
7037>pointers to the element names are inserted at the beginning of the array
7038and do not need to be freed.</P
7039><P
7040></P
7041><DIV
7042CLASS="INFORMALTABLE"
7043><P
7044></P
7045><TABLE
7046BORDER="0"
7047WIDTH="100%"
7048BGCOLOR="#FFD0D0"
7049CELLSPACING="0"
7050CELLPADDING="4"
7051CLASS="CALSTABLE"
7052><TR
7053><TD
7054WIDTH="20%"
7055ALIGN="RIGHT"
7056VALIGN="TOP"
7057><TT
7058CLASS="PARAMETER"
7059><I
7060>prev</I
7061></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00007062>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007063><TD
7064WIDTH="80%"
7065ALIGN="LEFT"
7066VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007067> an element to insert after</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007068></TR
7069><TR
7070><TD
7071WIDTH="20%"
7072ALIGN="RIGHT"
7073VALIGN="TOP"
7074><TT
7075CLASS="PARAMETER"
7076><I
7077>next</I
7078></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00007079>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007080><TD
7081WIDTH="80%"
7082ALIGN="LEFT"
7083VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007084> an element to insert next</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007085></TR
7086><TR
7087><TD
7088WIDTH="20%"
7089ALIGN="RIGHT"
7090VALIGN="TOP"
7091><TT
7092CLASS="PARAMETER"
7093><I
7094>list</I
7095></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00007096>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007097><TD
7098WIDTH="80%"
7099ALIGN="LEFT"
7100VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007101> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007102></TR
7103><TR
7104><TD
7105WIDTH="20%"
7106ALIGN="RIGHT"
7107VALIGN="TOP"
7108><TT
7109CLASS="PARAMETER"
7110><I
7111>max</I
7112></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00007113>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007114><TD
7115WIDTH="80%"
7116ALIGN="LEFT"
7117VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007118> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007119></TR
7120><TR
7121><TD
7122WIDTH="20%"
7123ALIGN="RIGHT"
7124VALIGN="TOP"
7125><I
7126CLASS="EMPHASIS"
7127>Returns</I
7128> :</TD
7129><TD
7130WIDTH="80%"
7131ALIGN="LEFT"
7132VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007133>the number of element in the list, or -1 in case of error. If
7134the function returns the value <TT
7135CLASS="PARAMETER"
7136><I
7137>max</I
7138></TT
7139> the caller is invited to grow the
7140receiving array and retry.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007141></TR
7142></TABLE
7143><P
7144></P
7145></DIV
7146></DIV
7147><HR><DIV
7148CLASS="REFSECT2"
7149><A
Daniel Veillarda41123c2001-04-22 19:31:20 +00007150NAME="AEN9533"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007151></A
7152><H3
7153><A
7154NAME="XMLVALIDGETPOTENTIALCHILDREN"
7155></A
7156>xmlValidGetPotentialChildren ()</H3
7157><TABLE
7158BORDER="0"
7159BGCOLOR="#D6E8FF"
7160WIDTH="100%"
7161CELLPADDING="6"
7162><TR
7163><TD
7164><PRE
7165CLASS="PROGRAMLISTING"
7166>int xmlValidGetPotentialChildren (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007167HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007168>xmlElementContent</A
7169> *ctree,
7170 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007171HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007172>xmlChar</A
7173> **list,
7174 int *len,
7175 int max);</PRE
7176></TD
7177></TR
7178></TABLE
7179><P
7180>Build/extend a list of potential children allowed by the content tree</P
7181><P
7182></P
7183><DIV
7184CLASS="INFORMALTABLE"
7185><P
7186></P
7187><TABLE
7188BORDER="0"
7189WIDTH="100%"
7190BGCOLOR="#FFD0D0"
7191CELLSPACING="0"
7192CELLPADDING="4"
7193CLASS="CALSTABLE"
7194><TR
7195><TD
7196WIDTH="20%"
7197ALIGN="RIGHT"
7198VALIGN="TOP"
7199><TT
7200CLASS="PARAMETER"
7201><I
7202>ctree</I
7203></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00007204>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007205><TD
7206WIDTH="80%"
7207ALIGN="LEFT"
7208VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007209> an element content tree</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007210></TR
7211><TR
7212><TD
7213WIDTH="20%"
7214ALIGN="RIGHT"
7215VALIGN="TOP"
7216><TT
7217CLASS="PARAMETER"
7218><I
7219>list</I
7220></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00007221>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007222><TD
7223WIDTH="80%"
7224ALIGN="LEFT"
7225VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007226> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007227></TR
7228><TR
7229><TD
7230WIDTH="20%"
7231ALIGN="RIGHT"
7232VALIGN="TOP"
7233><TT
7234CLASS="PARAMETER"
7235><I
7236>len</I
7237></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00007238>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007239><TD
7240WIDTH="80%"
7241ALIGN="LEFT"
7242VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007243> a pointer to the number of element in the list</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007244></TR
7245><TR
7246><TD
7247WIDTH="20%"
7248ALIGN="RIGHT"
7249VALIGN="TOP"
7250><TT
7251CLASS="PARAMETER"
7252><I
7253>max</I
7254></TT
Daniel Veillarda41123c2001-04-22 19:31:20 +00007255>:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007256><TD
7257WIDTH="80%"
7258ALIGN="LEFT"
7259VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007260> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007261></TR
7262><TR
7263><TD
7264WIDTH="20%"
7265ALIGN="RIGHT"
7266VALIGN="TOP"
7267><I
7268CLASS="EMPHASIS"
7269>Returns</I
7270> :</TD
7271><TD
7272WIDTH="80%"
7273ALIGN="LEFT"
7274VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007275>the number of element in the list, or -1 in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007276></TR
7277></TABLE
7278><P
7279></P
7280></DIV
7281></DIV
7282></DIV
7283><DIV
7284CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00007285><BR
7286CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00007287WIDTH="100%"
7288BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007289BGCOLOR="#000000"
7290CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00007291CELLSPACING="0"
7292><TR
7293><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007294WIDTH="25%"
7295BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00007296ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00007297><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007298HREF="libxml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007299><FONT
7300COLOR="#FFFFFF"
7301SIZE="3"
7302><B
7303>&#60;&#60;&#60; Previous Page</B
7304></FONT
7305></A
Daniel Veillard35925471999-02-25 08:46:07 +00007306></TD
7307><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007308WIDTH="25%"
7309BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00007310ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00007311><FONT
7312COLOR="#FFFFFF"
7313SIZE="3"
7314><B
Daniel Veillard35925471999-02-25 08:46:07 +00007315><A
7316HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007317><FONT
7318COLOR="#FFFFFF"
7319SIZE="3"
7320><B
7321>Home</B
7322></FONT
7323></A
7324></B
7325></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00007326></TD
7327><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007328WIDTH="25%"
7329BGCOLOR="#00C000"
7330ALIGN="center"
7331><FONT
7332COLOR="#FFFFFF"
7333SIZE="3"
7334><B
7335><A
Daniel Veillard35008381999-10-25 13:15:52 +00007336HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007337><FONT
7338COLOR="#FFFFFF"
7339SIZE="3"
7340><B
7341>Up</B
7342></FONT
7343></A
7344></B
7345></FONT
7346></TD
7347><TD
7348WIDTH="25%"
7349BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00007350ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00007351><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007352HREF="libxml-uri.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007353><FONT
7354COLOR="#FFFFFF"
7355SIZE="3"
7356><B
7357>Next Page &#62;&#62;&#62;</B
7358></FONT
7359></A
Daniel Veillard35925471999-02-25 08:46:07 +00007360></TD
7361></TR
7362><TR
7363><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007364COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00007365ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00007366><FONT
7367COLOR="#FFFFFF"
7368SIZE="3"
7369><B
7370>entities</B
7371></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00007372></TD
7373><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007374COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00007375ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00007376><FONT
7377COLOR="#FFFFFF"
7378SIZE="3"
7379><B
Daniel Veillard8f621982000-03-20 13:07:15 +00007380>uri</B
Daniel Veillard14fff061999-06-22 21:49:07 +00007381></FONT
7382></TD
Daniel Veillard35925471999-02-25 08:46:07 +00007383></TR
7384></TABLE
7385></DIV
7386></BODY
7387></HTML
7388>