blob: e5b39c6f3817039714d89234e36c2c88289d1114 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>valid</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard539638b2002-07-06 19:55:14 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
Daniel Veillard60087f32001-10-10 09:45:09 +00008"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +00009REL="HOME"
10TITLE="Gnome XML Library Reference Manual"
11HREF="book1.html"><LINK
12REL="UP"
Daniel Veillard35008381999-10-25 13:15:52 +000013TITLE="Libxml Library Reference"
14HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000015REL="PREVIOUS"
16TITLE="entities"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000017HREF="libxml-entities.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000018REL="NEXT"
Daniel Veillard8f621982000-03-20 13:07:15 +000019TITLE="uri"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000020HREF="libxml-uri.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000021><BODY
Daniel Veillardbed7b052001-05-19 14:59:49 +000022CLASS="REFENTRY"
Daniel Veillard35925471999-02-25 08:46:07 +000023BGCOLOR="#FFFFFF"
24TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000025LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
Daniel Veillard35925471999-02-25 08:46:07 +000028><DIV
29CLASS="NAVHEADER"
30><TABLE
31WIDTH="100%"
32BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000033BGCOLOR="#000000"
34CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000035CELLSPACING="0"
36><TR
37><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000038COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000039ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000040><FONT
41COLOR="#FFFFFF"
42SIZE="5"
43>Gnome XML Library Reference Manual</FONT
44></TH
Daniel Veillard35925471999-02-25 08:46:07 +000045></TR
46><TR
47><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000048WIDTH="25%"
49BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000050ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000051><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000052HREF="libxml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000053><FONT
54COLOR="#FFFFFF"
55SIZE="3"
56><B
57>&#60;&#60;&#60; Previous Page</B
58></FONT
59></A
Daniel Veillard35925471999-02-25 08:46:07 +000060></TD
61><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000062WIDTH="25%"
63BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000064ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000065><FONT
66COLOR="#FFFFFF"
67SIZE="3"
68><B
69><A
70HREF="book1.html"
71><FONT
72COLOR="#FFFFFF"
73SIZE="3"
74><B
75>Home</B
76></FONT
77></A
78></B
79></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000080></TD
81><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000082WIDTH="25%"
83BGCOLOR="#00C000"
84ALIGN="center"
85><FONT
86COLOR="#FFFFFF"
87SIZE="3"
88><B
89><A
Daniel Veillard35008381999-10-25 13:15:52 +000090HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000091><FONT
92COLOR="#FFFFFF"
93SIZE="3"
94><B
95>Up</B
96></FONT
97></A
98></B
99></FONT
100></TD
101><TD
102WIDTH="25%"
103BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +0000104ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +0000105><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000106HREF="libxml-uri.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000107><FONT
108COLOR="#FFFFFF"
109SIZE="3"
110><B
111>Next Page &#62;&#62;&#62;</B
112></FONT
113></A
Daniel Veillard35925471999-02-25 08:46:07 +0000114></TD
115></TR
116></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000117></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000118><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000119><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000120NAME="LIBXML-VALID">valid</H1
Daniel Veillard35925471999-02-25 08:46:07 +0000121><DIV
122CLASS="REFNAMEDIV"
123><A
Daniel Veillard2ace1952002-09-26 12:28:02 +0000124NAME="AEN8587"
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 Veillard2ace1952002-09-26 12:28:02 +0000132NAME="AEN8590"><H2
Daniel Veillard35925471999-02-25 08:46:07 +0000133>Synopsis</H2
134><TABLE
135BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000136BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000137WIDTH="100%"
138CELLPADDING="6"
139><TR
140><TD
141><PRE
142CLASS="SYNOPSIS"
143>&#13;
144
Daniel Veillarda41123c2001-04-22 19:31:20 +0000145struct <A
146HREF="libxml-valid.html#XMLVALIDSTATE"
147>xmlValidState</A
148>;
149typedef <A
150HREF="libxml-valid.html#XMLVALIDSTATEPTR"
151>xmlValidStatePtr</A
152>;
Daniel Veillardb05deb71999-08-10 19:04:08 +0000153void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000154HREF="libxml-valid.html#XMLVALIDITYERRORFUNC"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000155>*xmlValidityErrorFunc</A
156>) (void *ctx,
157 const char *msg,
158 ...);
159void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000160HREF="libxml-valid.html#XMLVALIDITYWARNINGFUNC"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000161>*xmlValidityWarningFunc</A
162>) (void *ctx,
163 const char *msg,
164 ...);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000165struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000166HREF="libxml-valid.html#XMLVALIDCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000167>xmlValidCtxt</A
168>;
169typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000170HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000171>xmlValidCtxtPtr</A
172>;
Daniel Veillard35925471999-02-25 08:46:07 +0000173typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000174HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000175>xmlNotationTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000176>;
Daniel Veillard35925471999-02-25 08:46:07 +0000177typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000178HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000179>xmlElementTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000180>;
Daniel Veillard35925471999-02-25 08:46:07 +0000181typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000182HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000183>xmlAttributeTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000184>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000185typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000186HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000187>xmlIDTablePtr</A
188>;
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000189typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000190HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000191>xmlRefTablePtr</A
192>;
Daniel Veillard35925471999-02-25 08:46:07 +0000193<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000194HREF="libxml-tree.html#XMLCHAR"
195>xmlChar</A
196>* <A
197HREF="libxml-valid.html#XMLSPLITQNAME2"
198>xmlSplitQName2</A
199> (const <A
200HREF="libxml-tree.html#XMLCHAR"
201>xmlChar</A
202> *name,
203 <A
204HREF="libxml-tree.html#XMLCHAR"
205>xmlChar</A
206> **prefix);
207<A
208HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000209>xmlNotationPtr</A
210> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000211HREF="libxml-valid.html#XMLADDNOTATIONDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000212>xmlAddNotationDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000213> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000214HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000215>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000216> ctxt,
217 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000218HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000219>xmlDtdPtr</A
220> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000221 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000222HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000223>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000224> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000225 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000226HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000227>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000228> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000229 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000230HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000231>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000232> *SystemID);
233<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000234HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000235>xmlNotationTablePtr</A
236> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000237HREF="libxml-valid.html#XMLCOPYNOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000238>xmlCopyNotationTable</A
239> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000240HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000241>xmlNotationTablePtr</A
242> table);
243void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000244HREF="libxml-valid.html#XMLFREENOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000245>xmlFreeNotationTable</A
246> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000247HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000248>xmlNotationTablePtr</A
249> table);
250void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000251HREF="libxml-valid.html#XMLDUMPNOTATIONDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000252>xmlDumpNotationDecl</A
253> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000254HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000255>xmlBufferPtr</A
256> buf,
257 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000258HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000259>xmlNotationPtr</A
260> nota);
261void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000262HREF="libxml-valid.html#XMLDUMPNOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000263>xmlDumpNotationTable</A
264> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000265HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000266>xmlBufferPtr</A
267> buf,
268 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000269HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000270>xmlNotationTablePtr</A
271> table);
272<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000273HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000274>xmlElementContentPtr</A
275> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000276HREF="libxml-valid.html#XMLNEWELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000277>xmlNewElementContent</A
278> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000279HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000280>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000281> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000282 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000283HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000284>xmlElementContentType</A
285> type);
Daniel Veillard35925471999-02-25 08:46:07 +0000286<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000287HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000288>xmlElementContentPtr</A
289> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000290HREF="libxml-valid.html#XMLCOPYELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000291>xmlCopyElementContent</A
292> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000293HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000294>xmlElementContentPtr</A
295> content);
296void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000297HREF="libxml-valid.html#XMLFREEELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000298>xmlFreeElementContent</A
299> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000300HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000301>xmlElementContentPtr</A
302> cur);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000303void <A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000304HREF="libxml-valid.html#XMLSNPRINTFELEMENTCONTENT"
305>xmlSnprintfElementContent</A
306> (char *buf,
307 int size,
308 <A
309HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
310>xmlElementContentPtr</A
311> content,
312 int glob);
313void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000314HREF="libxml-valid.html#XMLSPRINTFELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000315>xmlSprintfElementContent</A
316> (char *buf,
317 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000318HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000319>xmlElementContentPtr</A
320> content,
321 int glob);
Daniel Veillard35925471999-02-25 08:46:07 +0000322<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000323HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000324>xmlElementPtr</A
325> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000326HREF="libxml-valid.html#XMLADDELEMENTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000327>xmlAddElementDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000328> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000329HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000330>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000331> ctxt,
332 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000333HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000334>xmlDtdPtr</A
335> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000336 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000337HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000338>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000339> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000340 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000341HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000342>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000343> type,
Daniel Veillard35925471999-02-25 08:46:07 +0000344 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000345HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000346>xmlElementContentPtr</A
347> content);
348<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000349HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000350>xmlElementTablePtr</A
351> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000352HREF="libxml-valid.html#XMLCOPYELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000353>xmlCopyElementTable</A
354> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000355HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000356>xmlElementTablePtr</A
357> table);
358void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000359HREF="libxml-valid.html#XMLFREEELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000360>xmlFreeElementTable</A
361> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000362HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000363>xmlElementTablePtr</A
364> table);
365void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000366HREF="libxml-valid.html#XMLDUMPELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000367>xmlDumpElementTable</A
368> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000369HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000370>xmlBufferPtr</A
371> buf,
372 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000373HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000374>xmlElementTablePtr</A
375> table);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000376void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000377HREF="libxml-valid.html#XMLDUMPELEMENTDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000378>xmlDumpElementDecl</A
379> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000380HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000381>xmlBufferPtr</A
382> buf,
383 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000384HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000385>xmlElementPtr</A
386> elem);
Daniel Veillard35925471999-02-25 08:46:07 +0000387<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000388HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000389>xmlEnumerationPtr</A
390> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000391HREF="libxml-valid.html#XMLCREATEENUMERATION"
Daniel Veillard35925471999-02-25 08:46:07 +0000392>xmlCreateEnumeration</A
393> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000394HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000395>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000396> *name);
397void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000398HREF="libxml-valid.html#XMLFREEENUMERATION"
Daniel Veillard35925471999-02-25 08:46:07 +0000399>xmlFreeEnumeration</A
400> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000401HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000402>xmlEnumerationPtr</A
403> cur);
404<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000405HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000406>xmlEnumerationPtr</A
407> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000408HREF="libxml-valid.html#XMLCOPYENUMERATION"
Daniel Veillard35925471999-02-25 08:46:07 +0000409>xmlCopyEnumeration</A
410> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000411HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000412>xmlEnumerationPtr</A
413> cur);
414<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000415HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000416>xmlAttributePtr</A
417> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000418HREF="libxml-valid.html#XMLADDATTRIBUTEDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000419>xmlAddAttributeDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000420> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000421HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000422>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000423> ctxt,
424 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000425HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000426>xmlDtdPtr</A
427> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000428 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000429HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000430>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000431> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000432 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000433HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000434>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000435> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000436 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000437HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000438>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +0000439> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000440 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000441HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000442>xmlAttributeType</A
443> type,
444 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000445HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000446>xmlAttributeDefault</A
447> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000448 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000449HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000450>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000451> *defaultValue,
452 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000453HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000454>xmlEnumerationPtr</A
455> tree);
456<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000457HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000458>xmlAttributeTablePtr</A
459> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000460HREF="libxml-valid.html#XMLCOPYATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000461>xmlCopyAttributeTable</A
462> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000463HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000464>xmlAttributeTablePtr</A
465> table);
466void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000467HREF="libxml-valid.html#XMLFREEATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000468>xmlFreeAttributeTable</A
469> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000470HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000471>xmlAttributeTablePtr</A
472> table);
473void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000474HREF="libxml-valid.html#XMLDUMPATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000475>xmlDumpAttributeTable</A
476> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000477HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000478>xmlBufferPtr</A
479> buf,
480 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000481HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000482>xmlAttributeTablePtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000483> table);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000484void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000485HREF="libxml-valid.html#XMLDUMPATTRIBUTEDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000486>xmlDumpAttributeDecl</A
487> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000488HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000489>xmlBufferPtr</A
490> buf,
491 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000492HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000493>xmlAttributePtr</A
494> attr);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000495<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000496HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000497>xmlIDPtr</A
498> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000499HREF="libxml-valid.html#XMLADDID"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000500>xmlAddID</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000501> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000502HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000503>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000504> ctxt,
505 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000506HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000507>xmlDocPtr</A
508> doc,
509 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000510HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000511>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000512> *value,
513 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000514HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000515>xmlAttrPtr</A
516> attr);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000517void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000518HREF="libxml-valid.html#XMLFREEIDTABLE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000519>xmlFreeIDTable</A
520> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000521HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000522>xmlIDTablePtr</A
523> table);
524<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000525HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000526>xmlAttrPtr</A
527> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000528HREF="libxml-valid.html#XMLGETID"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000529>xmlGetID</A
530> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000531HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000532>xmlDocPtr</A
533> doc,
534 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000535HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000536>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000537> *ID);
538int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000539HREF="libxml-valid.html#XMLISID"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000540>xmlIsID</A
541> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000542HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000543>xmlDocPtr</A
544> doc,
545 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000546HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000547>xmlNodePtr</A
548> elem,
549 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000550HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000551>xmlAttrPtr</A
552> attr);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000553int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000554HREF="libxml-valid.html#XMLREMOVEID"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000555>xmlRemoveID</A
556> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000557HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000558>xmlDocPtr</A
559> doc,
560 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000561HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000562>xmlAttrPtr</A
563> attr);
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000564<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000565HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000566>xmlRefPtr</A
567> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000568HREF="libxml-valid.html#XMLADDREF"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000569>xmlAddRef</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000570> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000571HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000572>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000573> ctxt,
574 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000575HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000576>xmlDocPtr</A
577> doc,
578 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000579HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000580>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000581> *value,
582 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000583HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000584>xmlAttrPtr</A
585> attr);
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000586void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000587HREF="libxml-valid.html#XMLFREEREFTABLE"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000588>xmlFreeRefTable</A
589> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000590HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000591>xmlRefTablePtr</A
592> table);
593int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000594HREF="libxml-valid.html#XMLISREF"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000595>xmlIsRef</A
596> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000597HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000598>xmlDocPtr</A
599> doc,
600 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000601HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000602>xmlNodePtr</A
603> elem,
604 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000605HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000606>xmlAttrPtr</A
607> attr);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000608int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000609HREF="libxml-valid.html#XMLREMOVEREF"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000610>xmlRemoveRef</A
611> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000612HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000613>xmlDocPtr</A
614> doc,
615 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000616HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000617>xmlAttrPtr</A
618> attr);
Daniel Veillarda41123c2001-04-22 19:31:20 +0000619<GTKDOCLINK
620HREF="XMLLISTPTR"
621>xmlListPtr</GTKDOCLINK
622> <A
623HREF="libxml-valid.html#XMLGETREFS"
624>xmlGetRefs</A
625> (<A
626HREF="libxml-tree.html#XMLDOCPTR"
627>xmlDocPtr</A
628> doc,
629 const <A
630HREF="libxml-tree.html#XMLCHAR"
631>xmlChar</A
632> *ID);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000633int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000634HREF="libxml-valid.html#XMLVALIDATEROOT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000635>xmlValidateRoot</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000636> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000637HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000638>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000639> ctxt,
640 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000641HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000642>xmlDocPtr</A
643> doc);
644int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000645HREF="libxml-valid.html#XMLVALIDATEELEMENTDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000646>xmlValidateElementDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000647> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000648HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000649>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000650> ctxt,
651 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000652HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000653>xmlDocPtr</A
654> doc,
655 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000656HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000657>xmlElementPtr</A
658> elem);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000659<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000660HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000661>xmlChar</A
662>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000663HREF="libxml-valid.html#XMLVALIDNORMALIZEATTRIBUTEVALUE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000664>xmlValidNormalizeAttributeValue</A
665> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000666HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000667>xmlDocPtr</A
668> doc,
669 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000670HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000671>xmlNodePtr</A
672> elem,
673 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000674HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000675>xmlChar</A
676> *name,
677 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000678HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000679>xmlChar</A
680> *value);
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000681<A
682HREF="libxml-tree.html#XMLCHAR"
683>xmlChar</A
684>* <A
685HREF="libxml-valid.html#XMLVALIDCTXTNORMALIZEATTRIBUTEVALUE"
686>xmlValidCtxtNormalizeAttributeValue</A
687>
688 (<A
689HREF="libxml-valid.html#XMLVALIDCTXTPTR"
690>xmlValidCtxtPtr</A
691> ctxt,
692 <A
693HREF="libxml-tree.html#XMLDOCPTR"
694>xmlDocPtr</A
695> doc,
696 <A
697HREF="libxml-tree.html#XMLNODEPTR"
698>xmlNodePtr</A
699> elem,
700 const <A
701HREF="libxml-tree.html#XMLCHAR"
702>xmlChar</A
703> *name,
704 const <A
705HREF="libxml-tree.html#XMLCHAR"
706>xmlChar</A
707> *value);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000708int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000709HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000710>xmlValidateAttributeDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000711> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000712HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000713>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000714> ctxt,
715 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000716HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000717>xmlDocPtr</A
718> doc,
719 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000720HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000721>xmlAttributePtr</A
722> attr);
723int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000724HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000725>xmlValidateAttributeValue</A
726> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000727HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000728>xmlAttributeType</A
729> type,
730 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000731HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000732>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000733> *value);
734int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000735HREF="libxml-valid.html#XMLVALIDATENOTATIONDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000736>xmlValidateNotationDecl</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#XMLNOTATIONPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000747>xmlNotationPtr</A
748> nota);
749int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000750HREF="libxml-valid.html#XMLVALIDATEDTD"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000751>xmlValidateDtd</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000752> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000753HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000754>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000755> ctxt,
756 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000757HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000758>xmlDocPtr</A
759> doc,
760 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000761HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000762>xmlDtdPtr</A
763> dtd);
764int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000765HREF="libxml-valid.html#XMLVALIDATEDTDFINAL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000766>xmlValidateDtdFinal</A
767> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000768HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000769>xmlValidCtxtPtr</A
770> ctxt,
771 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000772HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000773>xmlDocPtr</A
774> doc);
775int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000776HREF="libxml-valid.html#XMLVALIDATEDOCUMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000777>xmlValidateDocument</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000778> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000779HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000780>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000781> ctxt,
782 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000783HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000784>xmlDocPtr</A
785> doc);
786int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000787HREF="libxml-valid.html#XMLVALIDATEELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000788>xmlValidateElement</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#XMLVALIDATEONEELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000803>xmlValidateOneElement</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);
816int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000817HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000818>xmlValidateOneAttribute</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000819> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000820HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000821>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000822> ctxt,
823 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000824HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000825>xmlDocPtr</A
826> doc,
827 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000828HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000829>xmlNodePtr</A
830> elem,
831 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000832HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000833>xmlAttrPtr</A
834> attr,
835 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000836HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000837>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000838> *value);
839int <A
Daniel Veillard5ede35e2002-10-01 11:37:35 +0000840HREF="libxml-valid.html#XMLVALIDATEONENAMESPACE"
841>xmlValidateOneNamespace</A
842> (<A
843HREF="libxml-valid.html#XMLVALIDCTXTPTR"
844>xmlValidCtxtPtr</A
845> ctxt,
846 <A
847HREF="libxml-tree.html#XMLDOCPTR"
848>xmlDocPtr</A
849> doc,
850 <A
851HREF="libxml-tree.html#XMLNODEPTR"
852>xmlNodePtr</A
853> elem,
854 const <A
855HREF="libxml-tree.html#XMLCHAR"
856>xmlChar</A
857> *prefix,
858 <A
859HREF="libxml-tree.html#XMLNSPTR"
860>xmlNsPtr</A
861> ns,
862 const <A
863HREF="libxml-tree.html#XMLCHAR"
864>xmlChar</A
865> *value);
866int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000867HREF="libxml-valid.html#XMLVALIDATEDOCUMENTFINAL"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000868>xmlValidateDocumentFinal</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000869> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000870HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000871>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000872> ctxt,
873 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000874HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000875>xmlDocPtr</A
876> doc);
877int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000878HREF="libxml-valid.html#XMLVALIDATENOTATIONUSE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000879>xmlValidateNotationUse</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000880> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000881HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000882>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000883> ctxt,
884 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000885HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000886>xmlDocPtr</A
887> doc,
888 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000889HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000890>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000891> *notationName);
892int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000893HREF="libxml-valid.html#XMLISMIXEDELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000894>xmlIsMixedElement</A
895> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000896HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000897>xmlDocPtr</A
898> doc,
899 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000900HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000901>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000902> *name);
903<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000904HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000905>xmlAttributePtr</A
906> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000907HREF="libxml-valid.html#XMLGETDTDATTRDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000908>xmlGetDtdAttrDesc</A
909> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000910HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000911>xmlDtdPtr</A
912> dtd,
913 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000914HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000915>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000916> *elem,
917 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000918HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000919>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000920> *name);
921<A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000922HREF="libxml-tree.html#XMLATTRIBUTEPTR"
923>xmlAttributePtr</A
924> <A
925HREF="libxml-valid.html#XMLGETDTDQATTRDESC"
926>xmlGetDtdQAttrDesc</A
927> (<A
928HREF="libxml-tree.html#XMLDTDPTR"
929>xmlDtdPtr</A
930> dtd,
931 const <A
932HREF="libxml-tree.html#XMLCHAR"
933>xmlChar</A
934> *elem,
935 const <A
936HREF="libxml-tree.html#XMLCHAR"
937>xmlChar</A
938> *name,
939 const <A
940HREF="libxml-tree.html#XMLCHAR"
941>xmlChar</A
942> *prefix);
943<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000944HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000945>xmlNotationPtr</A
946> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000947HREF="libxml-valid.html#XMLGETDTDNOTATIONDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000948>xmlGetDtdNotationDesc</A
949> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000950HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000951>xmlDtdPtr</A
952> dtd,
953 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000954HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000955>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000956> *name);
957<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000958HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000959>xmlElementPtr</A
960> <A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000961HREF="libxml-valid.html#XMLGETDTDQELEMENTDESC"
962>xmlGetDtdQElementDesc</A
963> (<A
964HREF="libxml-tree.html#XMLDTDPTR"
965>xmlDtdPtr</A
966> dtd,
967 const <A
968HREF="libxml-tree.html#XMLCHAR"
969>xmlChar</A
970> *name,
971 const <A
972HREF="libxml-tree.html#XMLCHAR"
973>xmlChar</A
974> *prefix);
975<A
976HREF="libxml-tree.html#XMLELEMENTPTR"
977>xmlElementPtr</A
978> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000979HREF="libxml-valid.html#XMLGETDTDELEMENTDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000980>xmlGetDtdElementDesc</A
981> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000982HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000983>xmlDtdPtr</A
984> dtd,
985 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000986HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000987>xmlChar</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000988> *name);
989int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000990HREF="libxml-valid.html#XMLVALIDGETVALIDELEMENTS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000991>xmlValidGetValidElements</A
992> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000993HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000994>xmlNode</A
995> *prev,
996 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000997HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000998>xmlNode</A
999> *next,
1000 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001001HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001002>xmlChar</A
1003> **list,
1004 int max);
1005int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001006HREF="libxml-valid.html#XMLVALIDGETPOTENTIALCHILDREN"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001007>xmlValidGetPotentialChildren</A
1008> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001009HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001010>xmlElementContent</A
1011> *ctree,
1012 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001013HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001014>xmlChar</A
1015> **list,
1016 int *len,
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001017 int max);
1018int <A
1019HREF="libxml-valid.html#XMLVALIDATENAMEVALUE"
1020>xmlValidateNameValue</A
1021> (const <A
1022HREF="libxml-tree.html#XMLCHAR"
1023>xmlChar</A
1024> *value);
1025int <A
1026HREF="libxml-valid.html#XMLVALIDATENAMESVALUE"
1027>xmlValidateNamesValue</A
1028> (const <A
1029HREF="libxml-tree.html#XMLCHAR"
1030>xmlChar</A
1031> *value);
1032int <A
1033HREF="libxml-valid.html#XMLVALIDATENMTOKENVALUE"
1034>xmlValidateNmtokenValue</A
1035> (const <A
1036HREF="libxml-tree.html#XMLCHAR"
1037>xmlChar</A
1038> *value);
1039int <A
1040HREF="libxml-valid.html#XMLVALIDATENMTOKENSVALUE"
1041>xmlValidateNmtokensValue</A
1042> (const <A
1043HREF="libxml-tree.html#XMLCHAR"
1044>xmlChar</A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001045> *value);
1046int <A
1047HREF="libxml-valid.html#XMLVALIDBUILDCONTENTMODEL"
1048>xmlValidBuildContentModel</A
1049> (<A
1050HREF="libxml-valid.html#XMLVALIDCTXTPTR"
1051>xmlValidCtxtPtr</A
1052> ctxt,
1053 <A
1054HREF="libxml-tree.html#XMLELEMENTPTR"
1055>xmlElementPtr</A
1056> elem);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001057></TD
1058></TR
1059></TABLE
1060></DIV
1061><DIV
1062CLASS="REFSECT1"
1063><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001064NAME="AEN8839"
Daniel Veillard35925471999-02-25 08:46:07 +00001065></A
1066><H2
1067>Description</H2
1068><P
1069></P
1070></DIV
1071><DIV
1072CLASS="REFSECT1"
1073><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001074NAME="AEN8842"
Daniel Veillard35925471999-02-25 08:46:07 +00001075></A
1076><H2
1077>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001078><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001079CLASS="REFSECT2"
1080><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001081NAME="AEN8844"
Daniel Veillarda41123c2001-04-22 19:31:20 +00001082></A
1083><H3
1084><A
1085NAME="XMLVALIDSTATE"
1086></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001087>struct xmlValidState</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00001088><TABLE
1089BORDER="0"
1090BGCOLOR="#D6E8FF"
1091WIDTH="100%"
1092CELLPADDING="6"
1093><TR
1094><TD
1095><PRE
1096CLASS="PROGRAMLISTING"
1097>struct xmlValidState;</PRE
1098></TD
1099></TR
1100></TABLE
1101><P
1102></P
1103></DIV
1104><HR><DIV
1105CLASS="REFSECT2"
1106><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001107NAME="AEN8849"
Daniel Veillarda41123c2001-04-22 19:31:20 +00001108></A
1109><H3
1110><A
1111NAME="XMLVALIDSTATEPTR"
1112></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001113>xmlValidStatePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001114><TABLE
1115BORDER="0"
1116BGCOLOR="#D6E8FF"
1117WIDTH="100%"
1118CELLPADDING="6"
1119><TR
1120><TD
1121><PRE
1122CLASS="PROGRAMLISTING"
1123>typedef xmlValidState *xmlValidStatePtr;</PRE
1124></TD
1125></TR
1126></TABLE
Daniel Veillarda41123c2001-04-22 19:31:20 +00001127><P
1128></P
1129></DIV
1130><HR><DIV
1131CLASS="REFSECT2"
1132><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001133NAME="AEN8854"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001134></A
1135><H3
1136><A
1137NAME="XMLVALIDITYERRORFUNC"
1138></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001139>xmlValidityErrorFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00001140><TABLE
1141BORDER="0"
1142BGCOLOR="#D6E8FF"
1143WIDTH="100%"
1144CELLPADDING="6"
1145><TR
1146><TD
1147><PRE
1148CLASS="PROGRAMLISTING"
1149>void (*xmlValidityErrorFunc) (void *ctx,
1150 const char *msg,
1151 ...);</PRE
1152></TD
1153></TR
1154></TABLE
1155><P
Daniel Veillard19274092002-03-25 16:48:03 +00001156>Callback called when a validity error is found. This is a message
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001157oriented function similar to an *printf function.</P
1158><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001159></P
1160><DIV
1161CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001162><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001163NAME="AEN8860"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001164></P
1165><TABLE
1166BORDER="0"
1167WIDTH="100%"
1168BGCOLOR="#FFD0D0"
1169CELLSPACING="0"
1170CELLPADDING="4"
1171CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001172><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001173><TR
1174><TD
1175WIDTH="20%"
1176ALIGN="RIGHT"
1177VALIGN="TOP"
1178><TT
1179CLASS="PARAMETER"
1180><I
1181>ctx</I
1182></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001183>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001184><TD
1185WIDTH="80%"
1186ALIGN="LEFT"
1187VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001188> an xmlValidCtxtPtr validity error context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001189></TR
1190><TR
1191><TD
1192WIDTH="20%"
1193ALIGN="RIGHT"
1194VALIGN="TOP"
1195><TT
1196CLASS="PARAMETER"
1197><I
1198>msg</I
1199></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001200>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001201><TD
1202WIDTH="80%"
1203ALIGN="LEFT"
1204VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001205> the string to format *printf like vararg</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001206></TR
1207><TR
1208><TD
1209WIDTH="20%"
1210ALIGN="RIGHT"
1211VALIGN="TOP"
1212><TT
1213CLASS="PARAMETER"
1214><I
1215>...</I
1216></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001217>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001218><TD
1219WIDTH="80%"
1220ALIGN="LEFT"
1221VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001222> remaining arguments to the format</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001223></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001224></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001225></TABLE
1226><P
1227></P
1228></DIV
1229></DIV
1230><HR><DIV
1231CLASS="REFSECT2"
1232><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001233NAME="AEN8877"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001234></A
1235><H3
1236><A
1237NAME="XMLVALIDITYWARNINGFUNC"
1238></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001239>xmlValidityWarningFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00001240><TABLE
1241BORDER="0"
1242BGCOLOR="#D6E8FF"
1243WIDTH="100%"
1244CELLPADDING="6"
1245><TR
1246><TD
1247><PRE
1248CLASS="PROGRAMLISTING"
1249>void (*xmlValidityWarningFunc) (void *ctx,
1250 const char *msg,
1251 ...);</PRE
1252></TD
1253></TR
1254></TABLE
1255><P
Daniel Veillard19274092002-03-25 16:48:03 +00001256>Callback called when a validity warning is found. This is a message
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001257oriented function similar to an *printf function.</P
1258><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001259></P
1260><DIV
1261CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001262><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001263NAME="AEN8883"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001264></P
1265><TABLE
1266BORDER="0"
1267WIDTH="100%"
1268BGCOLOR="#FFD0D0"
1269CELLSPACING="0"
1270CELLPADDING="4"
1271CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001272><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001273><TR
1274><TD
1275WIDTH="20%"
1276ALIGN="RIGHT"
1277VALIGN="TOP"
1278><TT
1279CLASS="PARAMETER"
1280><I
1281>ctx</I
1282></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001283>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001284><TD
1285WIDTH="80%"
1286ALIGN="LEFT"
1287VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001288> an xmlValidCtxtPtr validity error context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001289></TR
1290><TR
1291><TD
1292WIDTH="20%"
1293ALIGN="RIGHT"
1294VALIGN="TOP"
1295><TT
1296CLASS="PARAMETER"
1297><I
1298>msg</I
1299></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001300>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001301><TD
1302WIDTH="80%"
1303ALIGN="LEFT"
1304VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001305> the string to format *printf like vararg</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001306></TR
1307><TR
1308><TD
1309WIDTH="20%"
1310ALIGN="RIGHT"
1311VALIGN="TOP"
1312><TT
1313CLASS="PARAMETER"
1314><I
1315>...</I
1316></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001317>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001318><TD
1319WIDTH="80%"
1320ALIGN="LEFT"
1321VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001322> remaining arguments to the format</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001323></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001324></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001325></TABLE
1326><P
1327></P
1328></DIV
1329></DIV
1330><HR><DIV
1331CLASS="REFSECT2"
1332><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001333NAME="AEN8900"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001334></A
1335><H3
1336><A
1337NAME="XMLVALIDCTXT"
1338></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001339>struct xmlValidCtxt</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001340><TABLE
1341BORDER="0"
1342BGCOLOR="#D6E8FF"
1343WIDTH="100%"
1344CELLPADDING="6"
1345><TR
1346><TD
1347><PRE
1348CLASS="PROGRAMLISTING"
1349>struct xmlValidCtxt {
1350 void *userData; /* user specific data block */
1351 xmlValidityErrorFunc error; /* the callback in case of errors */
1352 xmlValidityWarningFunc warning; /* the callback in case of warning */
1353
1354 /* Node analysis stack used when validating within entities */
1355 xmlNodePtr node; /* Current parsed Node */
1356 int nodeNr; /* Depth of the parsing stack */
1357 int nodeMax; /* Max depth of the parsing stack */
1358 xmlNodePtr *nodeTab; /* array of nodes */
1359
1360 int finishDtd; /* finished validating the Dtd ? */
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001361 xmlDocPtr doc; /* the document */
1362 int valid; /* temporary validity check result */
Daniel Veillarda41123c2001-04-22 19:31:20 +00001363
1364 /* state state used for non-determinist content validation */
1365 xmlValidState *vstate; /* current state */
1366 int vstateNr; /* Depth of the validation stack */
1367 int vstateMax; /* Max depth of the validation stack */
1368 xmlValidState *vstateTab; /* array of validation states */
Daniel Veillard2ace1952002-09-26 12:28:02 +00001369
1370#ifdef LIBXML_REGEXP_ENABLED
1371 xmlAutomataPtr am; /* the automata */
1372 xmlAutomataStatePtr state; /* used to build the automata */
1373#else
1374 void *am;
1375 void *state;
1376#endif
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001377};</PRE
1378></TD
1379></TR
1380></TABLE
1381><P
1382></P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001383><P
1384></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001385></DIV
1386><HR><DIV
1387CLASS="REFSECT2"
1388><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001389NAME="AEN8906"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001390></A
1391><H3
1392><A
1393NAME="XMLVALIDCTXTPTR"
1394></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001395>xmlValidCtxtPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001396><TABLE
1397BORDER="0"
1398BGCOLOR="#D6E8FF"
1399WIDTH="100%"
1400CELLPADDING="6"
1401><TR
1402><TD
1403><PRE
1404CLASS="PROGRAMLISTING"
1405>typedef xmlValidCtxt *xmlValidCtxtPtr;</PRE
1406></TD
1407></TR
1408></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001409><P
1410></P
1411></DIV
1412><HR><DIV
1413CLASS="REFSECT2"
1414><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001415NAME="AEN8911"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001416></A
1417><H3
1418><A
1419NAME="XMLNOTATIONTABLEPTR"
1420></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001421>xmlNotationTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001422><TABLE
1423BORDER="0"
1424BGCOLOR="#D6E8FF"
1425WIDTH="100%"
1426CELLPADDING="6"
1427><TR
1428><TD
1429><PRE
1430CLASS="PROGRAMLISTING"
1431>typedef xmlNotationTable *xmlNotationTablePtr;</PRE
1432></TD
1433></TR
1434></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001435><P
1436></P
1437></DIV
1438><HR><DIV
1439CLASS="REFSECT2"
1440><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001441NAME="AEN8916"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001442></A
1443><H3
1444><A
1445NAME="XMLELEMENTTABLEPTR"
1446></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001447>xmlElementTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001448><TABLE
1449BORDER="0"
1450BGCOLOR="#D6E8FF"
1451WIDTH="100%"
1452CELLPADDING="6"
1453><TR
1454><TD
1455><PRE
1456CLASS="PROGRAMLISTING"
1457>typedef xmlElementTable *xmlElementTablePtr;</PRE
1458></TD
1459></TR
1460></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001461><P
1462></P
1463></DIV
1464><HR><DIV
1465CLASS="REFSECT2"
1466><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001467NAME="AEN8921"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001468></A
1469><H3
1470><A
1471NAME="XMLATTRIBUTETABLEPTR"
1472></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001473>xmlAttributeTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001474><TABLE
1475BORDER="0"
1476BGCOLOR="#D6E8FF"
1477WIDTH="100%"
1478CELLPADDING="6"
1479><TR
1480><TD
1481><PRE
1482CLASS="PROGRAMLISTING"
1483>typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE
1484></TD
1485></TR
1486></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001487><P
1488></P
1489></DIV
1490><HR><DIV
1491CLASS="REFSECT2"
1492><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001493NAME="AEN8926"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001494></A
1495><H3
1496><A
1497NAME="XMLIDTABLEPTR"
1498></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001499>xmlIDTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001500><TABLE
1501BORDER="0"
1502BGCOLOR="#D6E8FF"
1503WIDTH="100%"
1504CELLPADDING="6"
1505><TR
1506><TD
1507><PRE
1508CLASS="PROGRAMLISTING"
1509>typedef xmlIDTable *xmlIDTablePtr;</PRE
1510></TD
1511></TR
1512></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001513><P
1514></P
1515></DIV
1516><HR><DIV
1517CLASS="REFSECT2"
1518><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001519NAME="AEN8931"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001520></A
1521><H3
1522><A
1523NAME="XMLREFTABLEPTR"
1524></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001525>xmlRefTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001526><TABLE
1527BORDER="0"
1528BGCOLOR="#D6E8FF"
1529WIDTH="100%"
1530CELLPADDING="6"
1531><TR
1532><TD
1533><PRE
1534CLASS="PROGRAMLISTING"
1535>typedef xmlRefTable *xmlRefTablePtr;</PRE
1536></TD
1537></TR
1538></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001539><P
1540></P
1541></DIV
1542><HR><DIV
1543CLASS="REFSECT2"
1544><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001545NAME="AEN8936"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001546></A
1547><H3
1548><A
1549NAME="XMLSPLITQNAME2"
1550></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001551>xmlSplitQName2 ()</H3
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001552><TABLE
1553BORDER="0"
1554BGCOLOR="#D6E8FF"
1555WIDTH="100%"
1556CELLPADDING="6"
1557><TR
1558><TD
1559><PRE
1560CLASS="PROGRAMLISTING"
1561><A
1562HREF="libxml-tree.html#XMLCHAR"
1563>xmlChar</A
1564>* xmlSplitQName2 (const <A
1565HREF="libxml-tree.html#XMLCHAR"
1566>xmlChar</A
1567> *name,
1568 <A
1569HREF="libxml-tree.html#XMLCHAR"
1570>xmlChar</A
1571> **prefix);</PRE
1572></TD
1573></TR
1574></TABLE
1575><P
1576>parse an XML qualified name string</P
1577><P
1578>[NS 5] QName ::= (Prefix ':')? LocalPart</P
1579><P
1580>[NS 6] Prefix ::= NCName</P
1581><P
1582>[NS 7] LocalPart ::= NCName</P
1583><P
1584></P
1585><DIV
1586CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001587><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001588NAME="AEN8948"><P
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001589></P
1590><TABLE
1591BORDER="0"
1592WIDTH="100%"
1593BGCOLOR="#FFD0D0"
1594CELLSPACING="0"
1595CELLPADDING="4"
1596CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001597><TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001598><TR
1599><TD
1600WIDTH="20%"
1601ALIGN="RIGHT"
1602VALIGN="TOP"
1603><TT
1604CLASS="PARAMETER"
1605><I
1606>name</I
1607></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001608>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001609><TD
1610WIDTH="80%"
1611ALIGN="LEFT"
1612VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001613> an XML parser context</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001614></TR
1615><TR
1616><TD
1617WIDTH="20%"
1618ALIGN="RIGHT"
1619VALIGN="TOP"
1620><TT
1621CLASS="PARAMETER"
1622><I
1623>prefix</I
1624></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001625>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001626><TD
1627WIDTH="80%"
1628ALIGN="LEFT"
1629VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001630> a xmlChar ** </TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001631></TR
1632><TR
1633><TD
1634WIDTH="20%"
1635ALIGN="RIGHT"
1636VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001637><SPAN
1638CLASS="emphasis"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001639><I
1640CLASS="EMPHASIS"
1641>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001642></SPAN
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001643> :</TD
1644><TD
1645WIDTH="80%"
1646ALIGN="LEFT"
1647VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001648>NULL if not a QName, otherwise the local part, and prefix
Daniel Veillardaf43f632002-03-08 15:05:20 +00001649is updated to get the Prefix if any.</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001650></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001651></TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001652></TABLE
1653><P
1654></P
1655></DIV
1656></DIV
1657><HR><DIV
1658CLASS="REFSECT2"
1659><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001660NAME="AEN8965"
Daniel Veillard35925471999-02-25 08:46:07 +00001661></A
1662><H3
1663><A
1664NAME="XMLADDNOTATIONDECL"
1665></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001666>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001667><TABLE
1668BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001669BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001670WIDTH="100%"
1671CELLPADDING="6"
1672><TR
1673><TD
1674><PRE
1675CLASS="PROGRAMLISTING"
1676><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001677HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001678>xmlNotationPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001679> xmlAddNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001680HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001681>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001682> ctxt,
1683 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001684HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001685>xmlDtdPtr</A
1686> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001687 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001688HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001689>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001690> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001691 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001692HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001693>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001694> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001695 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001696HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001697>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001698> *SystemID);</PRE
1699></TD
1700></TR
1701></TABLE
1702><P
1703>Register a new notation declaration</P
1704><P
1705></P
1706><DIV
1707CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001708><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001709NAME="AEN8977"><P
Daniel Veillard35925471999-02-25 08:46:07 +00001710></P
1711><TABLE
1712BORDER="0"
1713WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001714BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001715CELLSPACING="0"
1716CELLPADDING="4"
1717CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001718><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001719><TR
1720><TD
1721WIDTH="20%"
1722ALIGN="RIGHT"
1723VALIGN="TOP"
1724><TT
1725CLASS="PARAMETER"
1726><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001727>ctxt</I
1728></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001729>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001730><TD
1731WIDTH="80%"
1732ALIGN="LEFT"
1733VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001734> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001735></TR
1736><TR
1737><TD
1738WIDTH="20%"
1739ALIGN="RIGHT"
1740VALIGN="TOP"
1741><TT
1742CLASS="PARAMETER"
1743><I
Daniel Veillard35925471999-02-25 08:46:07 +00001744>dtd</I
1745></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001746>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001747><TD
1748WIDTH="80%"
1749ALIGN="LEFT"
1750VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001751> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001752></TR
1753><TR
1754><TD
1755WIDTH="20%"
1756ALIGN="RIGHT"
1757VALIGN="TOP"
1758><TT
1759CLASS="PARAMETER"
1760><I
1761>name</I
1762></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001763>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001764><TD
1765WIDTH="80%"
1766ALIGN="LEFT"
1767VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001768> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001769></TR
1770><TR
1771><TD
1772WIDTH="20%"
1773ALIGN="RIGHT"
1774VALIGN="TOP"
1775><TT
1776CLASS="PARAMETER"
1777><I
1778>PublicID</I
1779></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001780>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001781><TD
1782WIDTH="80%"
1783ALIGN="LEFT"
1784VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001785> the public identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001786></TR
1787><TR
1788><TD
1789WIDTH="20%"
1790ALIGN="RIGHT"
1791VALIGN="TOP"
1792><TT
1793CLASS="PARAMETER"
1794><I
1795>SystemID</I
1796></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001797>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001798><TD
1799WIDTH="80%"
1800ALIGN="LEFT"
1801VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001802> the system identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001803></TR
1804><TR
1805><TD
1806WIDTH="20%"
1807ALIGN="RIGHT"
1808VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001809><SPAN
1810CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00001811><I
1812CLASS="EMPHASIS"
1813>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001814></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00001815> :</TD
1816><TD
1817WIDTH="80%"
1818ALIGN="LEFT"
1819VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001820>NULL if not, otherwise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001821></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001822></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001823></TABLE
1824><P
1825></P
1826></DIV
1827></DIV
1828><HR><DIV
1829CLASS="REFSECT2"
1830><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001831NAME="AEN9006"
Daniel Veillard35925471999-02-25 08:46:07 +00001832></A
1833><H3
1834><A
1835NAME="XMLCOPYNOTATIONTABLE"
1836></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001837>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001838><TABLE
1839BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001840BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001841WIDTH="100%"
1842CELLPADDING="6"
1843><TR
1844><TD
1845><PRE
1846CLASS="PROGRAMLISTING"
1847><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001848HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001849>xmlNotationTablePtr</A
1850> xmlCopyNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001851HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001852>xmlNotationTablePtr</A
1853> table);</PRE
1854></TD
1855></TR
1856></TABLE
1857><P
1858>Build a copy of a notation table.</P
1859><P
1860></P
1861><DIV
1862CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001863><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001864NAME="AEN9014"><P
Daniel Veillard35925471999-02-25 08:46:07 +00001865></P
1866><TABLE
1867BORDER="0"
1868WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001869BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001870CELLSPACING="0"
1871CELLPADDING="4"
1872CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001873><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001874><TR
1875><TD
1876WIDTH="20%"
1877ALIGN="RIGHT"
1878VALIGN="TOP"
1879><TT
1880CLASS="PARAMETER"
1881><I
1882>table</I
1883></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001884>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001885><TD
1886WIDTH="80%"
1887ALIGN="LEFT"
1888VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001889> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001890></TR
1891><TR
1892><TD
1893WIDTH="20%"
1894ALIGN="RIGHT"
1895VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001896><SPAN
1897CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00001898><I
1899CLASS="EMPHASIS"
1900>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001901></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00001902> :</TD
1903><TD
1904WIDTH="80%"
1905ALIGN="LEFT"
1906VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001907>the new xmlNotationTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001908></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001909></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001910></TABLE
1911><P
1912></P
1913></DIV
1914></DIV
1915><HR><DIV
1916CLASS="REFSECT2"
1917><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001918NAME="AEN9027"
Daniel Veillard35925471999-02-25 08:46:07 +00001919></A
1920><H3
1921><A
1922NAME="XMLFREENOTATIONTABLE"
1923></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001924>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001925><TABLE
1926BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001927BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001928WIDTH="100%"
1929CELLPADDING="6"
1930><TR
1931><TD
1932><PRE
1933CLASS="PROGRAMLISTING"
1934>void xmlFreeNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001935HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001936>xmlNotationTablePtr</A
1937> table);</PRE
1938></TD
1939></TR
1940></TABLE
1941><P
1942>Deallocate the memory used by an entities hash table.</P
1943><P
1944></P
1945><DIV
1946CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001947><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001948NAME="AEN9034"><P
Daniel Veillard35925471999-02-25 08:46:07 +00001949></P
1950><TABLE
1951BORDER="0"
1952WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001953BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001954CELLSPACING="0"
1955CELLPADDING="4"
1956CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001957><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001958><TR
1959><TD
1960WIDTH="20%"
1961ALIGN="RIGHT"
1962VALIGN="TOP"
1963><TT
1964CLASS="PARAMETER"
1965><I
1966>table</I
1967></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001968>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001969><TD
1970WIDTH="80%"
1971ALIGN="LEFT"
1972VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001973> An notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001974></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001975></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001976></TABLE
1977><P
1978></P
1979></DIV
1980></DIV
1981><HR><DIV
1982CLASS="REFSECT2"
1983><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001984NAME="AEN9043"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001985></A
1986><H3
1987><A
1988NAME="XMLDUMPNOTATIONDECL"
1989></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001990>xmlDumpNotationDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001991><TABLE
1992BORDER="0"
1993BGCOLOR="#D6E8FF"
1994WIDTH="100%"
1995CELLPADDING="6"
1996><TR
1997><TD
1998><PRE
1999CLASS="PROGRAMLISTING"
2000>void xmlDumpNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002001HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002002>xmlBufferPtr</A
2003> buf,
2004 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002005HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002006>xmlNotationPtr</A
2007> nota);</PRE
2008></TD
2009></TR
2010></TABLE
2011><P
2012>This will dump the content the notation declaration as an XML DTD definition</P
2013><P
2014></P
2015><DIV
2016CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002017><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002018NAME="AEN9051"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002019></P
2020><TABLE
2021BORDER="0"
2022WIDTH="100%"
2023BGCOLOR="#FFD0D0"
2024CELLSPACING="0"
2025CELLPADDING="4"
2026CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002027><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002028><TR
2029><TD
2030WIDTH="20%"
2031ALIGN="RIGHT"
2032VALIGN="TOP"
2033><TT
2034CLASS="PARAMETER"
2035><I
2036>buf</I
2037></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002038>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002039><TD
2040WIDTH="80%"
2041ALIGN="LEFT"
2042VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002043> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002044></TR
2045><TR
2046><TD
2047WIDTH="20%"
2048ALIGN="RIGHT"
2049VALIGN="TOP"
2050><TT
2051CLASS="PARAMETER"
2052><I
2053>nota</I
2054></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002055>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002056><TD
2057WIDTH="80%"
2058ALIGN="LEFT"
2059VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002060> A notation declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002061></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002062></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002063></TABLE
2064><P
2065></P
2066></DIV
2067></DIV
2068><HR><DIV
2069CLASS="REFSECT2"
2070><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002071NAME="AEN9064"
Daniel Veillard35925471999-02-25 08:46:07 +00002072></A
2073><H3
2074><A
2075NAME="XMLDUMPNOTATIONTABLE"
2076></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002077>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002078><TABLE
2079BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002080BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002081WIDTH="100%"
2082CELLPADDING="6"
2083><TR
2084><TD
2085><PRE
2086CLASS="PROGRAMLISTING"
2087>void xmlDumpNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002088HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002089>xmlBufferPtr</A
2090> buf,
2091 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002092HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002093>xmlNotationTablePtr</A
2094> table);</PRE
2095></TD
2096></TR
2097></TABLE
2098><P
2099>This will dump the content of the notation table as an XML DTD definition</P
2100><P
Daniel Veillard35925471999-02-25 08:46:07 +00002101></P
2102><DIV
2103CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002104><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002105NAME="AEN9072"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002106></P
2107><TABLE
2108BORDER="0"
2109WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002110BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002111CELLSPACING="0"
2112CELLPADDING="4"
2113CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002114><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002115><TR
2116><TD
2117WIDTH="20%"
2118ALIGN="RIGHT"
2119VALIGN="TOP"
2120><TT
2121CLASS="PARAMETER"
2122><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002123>buf</I
2124></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002125>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002126><TD
2127WIDTH="80%"
2128ALIGN="LEFT"
2129VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002130> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002131></TR
2132><TR
2133><TD
2134WIDTH="20%"
2135ALIGN="RIGHT"
2136VALIGN="TOP"
2137><TT
2138CLASS="PARAMETER"
2139><I
Daniel Veillard35925471999-02-25 08:46:07 +00002140>table</I
2141></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002142>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002143><TD
2144WIDTH="80%"
2145ALIGN="LEFT"
2146VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002147> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002148></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002149></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002150></TABLE
2151><P
2152></P
2153></DIV
2154></DIV
2155><HR><DIV
2156CLASS="REFSECT2"
2157><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002158NAME="AEN9085"
Daniel Veillard35925471999-02-25 08:46:07 +00002159></A
2160><H3
2161><A
2162NAME="XMLNEWELEMENTCONTENT"
2163></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002164>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002165><TABLE
2166BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002167BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002168WIDTH="100%"
2169CELLPADDING="6"
2170><TR
2171><TD
2172><PRE
2173CLASS="PROGRAMLISTING"
2174><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002175HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002176>xmlElementContentPtr</A
2177> xmlNewElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002178HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002179>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002180> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002181 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002182HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002183>xmlElementContentType</A
2184> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00002185></TD
2186></TR
2187></TABLE
2188><P
2189>Allocate an element content structure.</P
2190><P
2191></P
2192><DIV
2193CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002194><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002195NAME="AEN9094"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002196></P
2197><TABLE
2198BORDER="0"
2199WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002200BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002201CELLSPACING="0"
2202CELLPADDING="4"
2203CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002204><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002205><TR
2206><TD
2207WIDTH="20%"
2208ALIGN="RIGHT"
2209VALIGN="TOP"
2210><TT
2211CLASS="PARAMETER"
2212><I
2213>name</I
2214></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002215>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002216><TD
2217WIDTH="80%"
2218ALIGN="LEFT"
2219VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002220> the subelement name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002221></TR
2222><TR
2223><TD
2224WIDTH="20%"
2225ALIGN="RIGHT"
2226VALIGN="TOP"
2227><TT
2228CLASS="PARAMETER"
2229><I
2230>type</I
2231></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002232>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002233><TD
2234WIDTH="80%"
2235ALIGN="LEFT"
2236VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002237> the type of element content decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002238></TR
2239><TR
2240><TD
2241WIDTH="20%"
2242ALIGN="RIGHT"
2243VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002244><SPAN
2245CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002246><I
2247CLASS="EMPHASIS"
2248>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002249></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002250> :</TD
2251><TD
2252WIDTH="80%"
2253ALIGN="LEFT"
2254VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002255>NULL if not, otherwise the new element content structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002256></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002257></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002258></TABLE
2259><P
2260></P
2261></DIV
2262></DIV
2263><HR><DIV
2264CLASS="REFSECT2"
2265><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002266NAME="AEN9111"
Daniel Veillard35925471999-02-25 08:46:07 +00002267></A
2268><H3
2269><A
2270NAME="XMLCOPYELEMENTCONTENT"
2271></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002272>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002273><TABLE
2274BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002275BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002276WIDTH="100%"
2277CELLPADDING="6"
2278><TR
2279><TD
2280><PRE
2281CLASS="PROGRAMLISTING"
2282><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002283HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002284>xmlElementContentPtr</A
2285> xmlCopyElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002286HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002287>xmlElementContentPtr</A
2288> content);</PRE
2289></TD
2290></TR
2291></TABLE
2292><P
2293>Build a copy of an element content description.</P
2294><P
2295></P
2296><DIV
2297CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002298><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002299NAME="AEN9119"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002300></P
2301><TABLE
2302BORDER="0"
2303WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002304BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002305CELLSPACING="0"
2306CELLPADDING="4"
2307CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002308><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002309><TR
2310><TD
2311WIDTH="20%"
2312ALIGN="RIGHT"
2313VALIGN="TOP"
2314><TT
2315CLASS="PARAMETER"
2316><I
2317>content</I
2318></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002319>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002320><TD
2321WIDTH="80%"
2322ALIGN="LEFT"
2323VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002324> An element content pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002325></TR
2326><TR
2327><TD
2328WIDTH="20%"
2329ALIGN="RIGHT"
2330VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002331><SPAN
2332CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002333><I
2334CLASS="EMPHASIS"
2335>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002336></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002337> :</TD
2338><TD
2339WIDTH="80%"
2340ALIGN="LEFT"
2341VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002342>the new xmlElementContentPtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002343></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002344></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002345></TABLE
2346><P
2347></P
2348></DIV
2349></DIV
2350><HR><DIV
2351CLASS="REFSECT2"
2352><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002353NAME="AEN9132"
Daniel Veillard35925471999-02-25 08:46:07 +00002354></A
2355><H3
2356><A
2357NAME="XMLFREEELEMENTCONTENT"
2358></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002359>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002360><TABLE
2361BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002362BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002363WIDTH="100%"
2364CELLPADDING="6"
2365><TR
2366><TD
2367><PRE
2368CLASS="PROGRAMLISTING"
2369>void xmlFreeElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002370HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002371>xmlElementContentPtr</A
2372> cur);</PRE
2373></TD
2374></TR
2375></TABLE
2376><P
2377>Free an element content structure. This is a recursive call !</P
2378><P
2379></P
2380><DIV
2381CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002382><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002383NAME="AEN9139"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002384></P
2385><TABLE
2386BORDER="0"
2387WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002388BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002389CELLSPACING="0"
2390CELLPADDING="4"
2391CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002392><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002393><TR
2394><TD
2395WIDTH="20%"
2396ALIGN="RIGHT"
2397VALIGN="TOP"
2398><TT
2399CLASS="PARAMETER"
2400><I
2401>cur</I
2402></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002403>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002404><TD
2405WIDTH="80%"
2406ALIGN="LEFT"
2407VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002408> the element content tree to free</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002409></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002410></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002411></TABLE
2412><P
2413></P
2414></DIV
2415></DIV
2416><HR><DIV
2417CLASS="REFSECT2"
2418><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002419NAME="AEN9148"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002420></A
2421><H3
2422><A
2423NAME="XMLSNPRINTFELEMENTCONTENT"
2424></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002425>xmlSnprintfElementContent ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002426><TABLE
2427BORDER="0"
2428BGCOLOR="#D6E8FF"
2429WIDTH="100%"
2430CELLPADDING="6"
2431><TR
2432><TD
2433><PRE
2434CLASS="PROGRAMLISTING"
2435>void xmlSnprintfElementContent (char *buf,
2436 int size,
2437 <A
2438HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
2439>xmlElementContentPtr</A
2440> content,
2441 int glob);</PRE
2442></TD
2443></TR
2444></TABLE
2445><P
2446>This will dump the content of the element content definition
2447Intended just for the debug routine</P
2448><P
2449></P
2450><DIV
2451CLASS="INFORMALTABLE"
2452><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002453NAME="AEN9155"><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002454></P
2455><TABLE
2456BORDER="0"
2457WIDTH="100%"
2458BGCOLOR="#FFD0D0"
2459CELLSPACING="0"
2460CELLPADDING="4"
2461CLASS="CALSTABLE"
2462><TBODY
2463><TR
2464><TD
2465WIDTH="20%"
2466ALIGN="RIGHT"
2467VALIGN="TOP"
2468><TT
2469CLASS="PARAMETER"
2470><I
2471>buf</I
2472></TT
2473>&nbsp;:</TD
2474><TD
2475WIDTH="80%"
2476ALIGN="LEFT"
2477VALIGN="TOP"
2478> an output buffer</TD
2479></TR
2480><TR
2481><TD
2482WIDTH="20%"
2483ALIGN="RIGHT"
2484VALIGN="TOP"
2485><TT
2486CLASS="PARAMETER"
2487><I
2488>size</I
2489></TT
2490>&nbsp;:</TD
2491><TD
2492WIDTH="80%"
2493ALIGN="LEFT"
2494VALIGN="TOP"
2495> the buffer size</TD
2496></TR
2497><TR
2498><TD
2499WIDTH="20%"
2500ALIGN="RIGHT"
2501VALIGN="TOP"
2502><TT
2503CLASS="PARAMETER"
2504><I
2505>content</I
2506></TT
2507>&nbsp;:</TD
2508><TD
2509WIDTH="80%"
2510ALIGN="LEFT"
2511VALIGN="TOP"
2512> An element table</TD
2513></TR
2514><TR
2515><TD
2516WIDTH="20%"
2517ALIGN="RIGHT"
2518VALIGN="TOP"
2519><TT
2520CLASS="PARAMETER"
2521><I
2522>glob</I
2523></TT
2524>&nbsp;:</TD
2525><TD
2526WIDTH="80%"
2527ALIGN="LEFT"
2528VALIGN="TOP"
2529> 1 if one must print the englobing parenthesis, 0 otherwise</TD
2530></TR
2531></TBODY
2532></TABLE
2533><P
2534></P
2535></DIV
2536></DIV
2537><HR><DIV
2538CLASS="REFSECT2"
2539><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002540NAME="AEN9176"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002541></A
2542><H3
2543><A
2544NAME="XMLSPRINTFELEMENTCONTENT"
2545></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002546>xmlSprintfElementContent ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002547><TABLE
2548BORDER="0"
2549BGCOLOR="#D6E8FF"
2550WIDTH="100%"
2551CELLPADDING="6"
2552><TR
2553><TD
2554><PRE
2555CLASS="PROGRAMLISTING"
2556>void xmlSprintfElementContent (char *buf,
2557 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002558HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002559>xmlElementContentPtr</A
2560> content,
2561 int glob);</PRE
2562></TD
2563></TR
2564></TABLE
2565><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002566>Deprecated, unsafe, use xmlSnprintfElementContent</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002567><P
2568></P
2569><DIV
2570CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002571><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002572NAME="AEN9183"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002573></P
2574><TABLE
2575BORDER="0"
2576WIDTH="100%"
2577BGCOLOR="#FFD0D0"
2578CELLSPACING="0"
2579CELLPADDING="4"
2580CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002581><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002582><TR
2583><TD
2584WIDTH="20%"
2585ALIGN="RIGHT"
2586VALIGN="TOP"
2587><TT
2588CLASS="PARAMETER"
2589><I
2590>buf</I
2591></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002592>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002593><TD
2594WIDTH="80%"
2595ALIGN="LEFT"
2596VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002597> an output buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002598></TR
2599><TR
2600><TD
2601WIDTH="20%"
2602ALIGN="RIGHT"
2603VALIGN="TOP"
2604><TT
2605CLASS="PARAMETER"
2606><I
2607>content</I
2608></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002609>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002610><TD
2611WIDTH="80%"
2612ALIGN="LEFT"
2613VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002614> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002615></TR
2616><TR
2617><TD
2618WIDTH="20%"
2619ALIGN="RIGHT"
2620VALIGN="TOP"
2621><TT
2622CLASS="PARAMETER"
2623><I
2624>glob</I
2625></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002626>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002627><TD
2628WIDTH="80%"
2629ALIGN="LEFT"
2630VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002631> 1 if one must print the englobing parenthesis, 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002632></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002633></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002634></TABLE
2635><P
2636></P
2637></DIV
2638></DIV
2639><HR><DIV
2640CLASS="REFSECT2"
2641><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002642NAME="AEN9200"
Daniel Veillard35925471999-02-25 08:46:07 +00002643></A
2644><H3
2645><A
2646NAME="XMLADDELEMENTDECL"
2647></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002648>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002649><TABLE
2650BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002651BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002652WIDTH="100%"
2653CELLPADDING="6"
2654><TR
2655><TD
2656><PRE
2657CLASS="PROGRAMLISTING"
2658><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002659HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002660>xmlElementPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002661> xmlAddElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002662HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002663>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002664> ctxt,
2665 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002666HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002667>xmlDtdPtr</A
2668> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002669 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002670HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002671>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002672> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002673 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002674HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard4c3a2031999-11-19 17:46:26 +00002675>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002676> type,
Daniel Veillard35925471999-02-25 08:46:07 +00002677 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002678HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002679>xmlElementContentPtr</A
2680> content);</PRE
2681></TD
2682></TR
2683></TABLE
2684><P
2685>Register a new element declaration</P
2686><P
2687></P
2688><DIV
2689CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002690><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002691NAME="AEN9212"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002692></P
2693><TABLE
2694BORDER="0"
2695WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002696BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002697CELLSPACING="0"
2698CELLPADDING="4"
2699CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002700><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002701><TR
2702><TD
2703WIDTH="20%"
2704ALIGN="RIGHT"
2705VALIGN="TOP"
2706><TT
2707CLASS="PARAMETER"
2708><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002709>ctxt</I
2710></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002711>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002712><TD
2713WIDTH="80%"
2714ALIGN="LEFT"
2715VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002716> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002717></TR
2718><TR
2719><TD
2720WIDTH="20%"
2721ALIGN="RIGHT"
2722VALIGN="TOP"
2723><TT
2724CLASS="PARAMETER"
2725><I
Daniel Veillard35925471999-02-25 08:46:07 +00002726>dtd</I
2727></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002728>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002729><TD
2730WIDTH="80%"
2731ALIGN="LEFT"
2732VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002733> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002734></TR
2735><TR
2736><TD
2737WIDTH="20%"
2738ALIGN="RIGHT"
2739VALIGN="TOP"
2740><TT
2741CLASS="PARAMETER"
2742><I
2743>name</I
2744></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002745>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002746><TD
2747WIDTH="80%"
2748ALIGN="LEFT"
2749VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002750> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002751></TR
2752><TR
2753><TD
2754WIDTH="20%"
2755ALIGN="RIGHT"
2756VALIGN="TOP"
2757><TT
2758CLASS="PARAMETER"
2759><I
2760>type</I
2761></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002762>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002763><TD
2764WIDTH="80%"
2765ALIGN="LEFT"
2766VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002767> the element type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002768></TR
2769><TR
2770><TD
2771WIDTH="20%"
2772ALIGN="RIGHT"
2773VALIGN="TOP"
2774><TT
2775CLASS="PARAMETER"
2776><I
2777>content</I
2778></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002779>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002780><TD
2781WIDTH="80%"
2782ALIGN="LEFT"
2783VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002784> the element content tree or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002785></TR
2786><TR
2787><TD
2788WIDTH="20%"
2789ALIGN="RIGHT"
2790VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002791><SPAN
2792CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002793><I
2794CLASS="EMPHASIS"
2795>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002796></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002797> :</TD
2798><TD
2799WIDTH="80%"
2800ALIGN="LEFT"
2801VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002802>NULL if not, otherwise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002803></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002804></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002805></TABLE
2806><P
2807></P
2808></DIV
2809></DIV
2810><HR><DIV
2811CLASS="REFSECT2"
2812><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002813NAME="AEN9241"
Daniel Veillard35925471999-02-25 08:46:07 +00002814></A
2815><H3
2816><A
2817NAME="XMLCOPYELEMENTTABLE"
2818></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002819>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002820><TABLE
2821BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002822BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002823WIDTH="100%"
2824CELLPADDING="6"
2825><TR
2826><TD
2827><PRE
2828CLASS="PROGRAMLISTING"
2829><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002830HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002831>xmlElementTablePtr</A
2832> xmlCopyElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002833HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002834>xmlElementTablePtr</A
2835> table);</PRE
2836></TD
2837></TR
2838></TABLE
2839><P
2840>Build a copy of an element table.</P
2841><P
2842></P
2843><DIV
2844CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002845><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002846NAME="AEN9249"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002847></P
2848><TABLE
2849BORDER="0"
2850WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002851BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002852CELLSPACING="0"
2853CELLPADDING="4"
2854CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002855><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002856><TR
2857><TD
2858WIDTH="20%"
2859ALIGN="RIGHT"
2860VALIGN="TOP"
2861><TT
2862CLASS="PARAMETER"
2863><I
2864>table</I
2865></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002866>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002867><TD
2868WIDTH="80%"
2869ALIGN="LEFT"
2870VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002871> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002872></TR
2873><TR
2874><TD
2875WIDTH="20%"
2876ALIGN="RIGHT"
2877VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002878><SPAN
2879CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002880><I
2881CLASS="EMPHASIS"
2882>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002883></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002884> :</TD
2885><TD
2886WIDTH="80%"
2887ALIGN="LEFT"
2888VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002889>the new xmlElementTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002890></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002891></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002892></TABLE
2893><P
2894></P
2895></DIV
2896></DIV
2897><HR><DIV
2898CLASS="REFSECT2"
2899><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002900NAME="AEN9262"
Daniel Veillard35925471999-02-25 08:46:07 +00002901></A
2902><H3
2903><A
2904NAME="XMLFREEELEMENTTABLE"
2905></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002906>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002907><TABLE
2908BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002909BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002910WIDTH="100%"
2911CELLPADDING="6"
2912><TR
2913><TD
2914><PRE
2915CLASS="PROGRAMLISTING"
2916>void xmlFreeElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002917HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002918>xmlElementTablePtr</A
2919> table);</PRE
2920></TD
2921></TR
2922></TABLE
2923><P
2924>Deallocate the memory used by an element hash table.</P
2925><P
2926></P
2927><DIV
2928CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002929><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002930NAME="AEN9269"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002931></P
2932><TABLE
2933BORDER="0"
2934WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002935BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002936CELLSPACING="0"
2937CELLPADDING="4"
2938CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002939><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002940><TR
2941><TD
2942WIDTH="20%"
2943ALIGN="RIGHT"
2944VALIGN="TOP"
2945><TT
2946CLASS="PARAMETER"
2947><I
2948>table</I
2949></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002950>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002951><TD
2952WIDTH="80%"
2953ALIGN="LEFT"
2954VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002955> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002956></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002957></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002958></TABLE
2959><P
2960></P
2961></DIV
2962></DIV
2963><HR><DIV
2964CLASS="REFSECT2"
2965><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002966NAME="AEN9278"
Daniel Veillard35925471999-02-25 08:46:07 +00002967></A
2968><H3
2969><A
2970NAME="XMLDUMPELEMENTTABLE"
2971></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002972>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002973><TABLE
2974BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002975BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002976WIDTH="100%"
2977CELLPADDING="6"
2978><TR
2979><TD
2980><PRE
2981CLASS="PROGRAMLISTING"
2982>void xmlDumpElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002983HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002984>xmlBufferPtr</A
2985> buf,
2986 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002987HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002988>xmlElementTablePtr</A
2989> table);</PRE
2990></TD
2991></TR
2992></TABLE
2993><P
2994>This will dump the content of the element table as an XML DTD definition</P
2995><P
Daniel Veillard35925471999-02-25 08:46:07 +00002996></P
2997><DIV
2998CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002999><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003000NAME="AEN9286"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003001></P
3002><TABLE
3003BORDER="0"
3004WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003005BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003006CELLSPACING="0"
3007CELLPADDING="4"
3008CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003009><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003010><TR
3011><TD
3012WIDTH="20%"
3013ALIGN="RIGHT"
3014VALIGN="TOP"
3015><TT
3016CLASS="PARAMETER"
3017><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003018>buf</I
3019></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003020>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003021><TD
3022WIDTH="80%"
3023ALIGN="LEFT"
3024VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003025> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003026></TR
3027><TR
3028><TD
3029WIDTH="20%"
3030ALIGN="RIGHT"
3031VALIGN="TOP"
3032><TT
3033CLASS="PARAMETER"
3034><I
Daniel Veillard35925471999-02-25 08:46:07 +00003035>table</I
3036></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003037>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003038><TD
3039WIDTH="80%"
3040ALIGN="LEFT"
3041VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003042> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003043></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003044></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003045></TABLE
3046><P
3047></P
3048></DIV
3049></DIV
3050><HR><DIV
3051CLASS="REFSECT2"
3052><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003053NAME="AEN9299"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003054></A
3055><H3
3056><A
3057NAME="XMLDUMPELEMENTDECL"
3058></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003059>xmlDumpElementDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003060><TABLE
3061BORDER="0"
3062BGCOLOR="#D6E8FF"
3063WIDTH="100%"
3064CELLPADDING="6"
3065><TR
3066><TD
3067><PRE
3068CLASS="PROGRAMLISTING"
3069>void xmlDumpElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003070HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003071>xmlBufferPtr</A
3072> buf,
3073 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003074HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003075>xmlElementPtr</A
3076> elem);</PRE
3077></TD
3078></TR
3079></TABLE
3080><P
3081>This will dump the content of the element declaration as an XML
3082DTD definition</P
3083><P
3084></P
3085><DIV
3086CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003087><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003088NAME="AEN9307"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003089></P
3090><TABLE
3091BORDER="0"
3092WIDTH="100%"
3093BGCOLOR="#FFD0D0"
3094CELLSPACING="0"
3095CELLPADDING="4"
3096CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003097><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003098><TR
3099><TD
3100WIDTH="20%"
3101ALIGN="RIGHT"
3102VALIGN="TOP"
3103><TT
3104CLASS="PARAMETER"
3105><I
3106>buf</I
3107></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003108>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003109><TD
3110WIDTH="80%"
3111ALIGN="LEFT"
3112VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003113> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003114></TR
3115><TR
3116><TD
3117WIDTH="20%"
3118ALIGN="RIGHT"
3119VALIGN="TOP"
3120><TT
3121CLASS="PARAMETER"
3122><I
3123>elem</I
3124></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003125>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003126><TD
3127WIDTH="80%"
3128ALIGN="LEFT"
3129VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003130> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003131></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003132></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003133></TABLE
3134><P
3135></P
3136></DIV
3137></DIV
3138><HR><DIV
3139CLASS="REFSECT2"
3140><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003141NAME="AEN9320"
Daniel Veillard35925471999-02-25 08:46:07 +00003142></A
3143><H3
3144><A
3145NAME="XMLCREATEENUMERATION"
3146></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003147>xmlCreateEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003148><TABLE
3149BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003150BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003151WIDTH="100%"
3152CELLPADDING="6"
3153><TR
3154><TD
3155><PRE
3156CLASS="PROGRAMLISTING"
3157><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003158HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003159>xmlEnumerationPtr</A
3160> xmlCreateEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003161HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003162>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003163> *name);</PRE
3164></TD
3165></TR
3166></TABLE
3167><P
3168>create and initialize an enumeration attribute node.</P
3169><P
3170></P
3171><DIV
3172CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003173><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003174NAME="AEN9328"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003175></P
3176><TABLE
3177BORDER="0"
3178WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003179BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003180CELLSPACING="0"
3181CELLPADDING="4"
3182CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003183><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003184><TR
3185><TD
3186WIDTH="20%"
3187ALIGN="RIGHT"
3188VALIGN="TOP"
3189><TT
3190CLASS="PARAMETER"
3191><I
3192>name</I
3193></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003194>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003195><TD
3196WIDTH="80%"
3197ALIGN="LEFT"
3198VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003199> the enumeration name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003200></TR
3201><TR
3202><TD
3203WIDTH="20%"
3204ALIGN="RIGHT"
3205VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003206><SPAN
3207CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003208><I
3209CLASS="EMPHASIS"
3210>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003211></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003212> :</TD
3213><TD
3214WIDTH="80%"
3215ALIGN="LEFT"
3216VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003217>the xmlEnumerationPtr just created or NULL in case
Daniel Veillardaf43f632002-03-08 15:05:20 +00003218of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003219></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003220></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003221></TABLE
3222><P
3223></P
3224></DIV
3225></DIV
3226><HR><DIV
3227CLASS="REFSECT2"
3228><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003229NAME="AEN9341"
Daniel Veillard35925471999-02-25 08:46:07 +00003230></A
3231><H3
3232><A
3233NAME="XMLFREEENUMERATION"
3234></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003235>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003236><TABLE
3237BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003238BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003239WIDTH="100%"
3240CELLPADDING="6"
3241><TR
3242><TD
3243><PRE
3244CLASS="PROGRAMLISTING"
3245>void xmlFreeEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003246HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003247>xmlEnumerationPtr</A
3248> cur);</PRE
3249></TD
3250></TR
3251></TABLE
3252><P
3253>free an enumeration attribute node (recursive).</P
3254><P
3255></P
3256><DIV
3257CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003258><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003259NAME="AEN9348"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003260></P
3261><TABLE
3262BORDER="0"
3263WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003264BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003265CELLSPACING="0"
3266CELLPADDING="4"
3267CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003268><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003269><TR
3270><TD
3271WIDTH="20%"
3272ALIGN="RIGHT"
3273VALIGN="TOP"
3274><TT
3275CLASS="PARAMETER"
3276><I
3277>cur</I
3278></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003279>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003280><TD
3281WIDTH="80%"
3282ALIGN="LEFT"
3283VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003284> the tree to free.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003285></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003286></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003287></TABLE
3288><P
3289></P
3290></DIV
3291></DIV
3292><HR><DIV
3293CLASS="REFSECT2"
3294><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003295NAME="AEN9357"
Daniel Veillard35925471999-02-25 08:46:07 +00003296></A
3297><H3
3298><A
3299NAME="XMLCOPYENUMERATION"
3300></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003301>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003302><TABLE
3303BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003304BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003305WIDTH="100%"
3306CELLPADDING="6"
3307><TR
3308><TD
3309><PRE
3310CLASS="PROGRAMLISTING"
3311><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003312HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003313>xmlEnumerationPtr</A
3314> xmlCopyEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003315HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003316>xmlEnumerationPtr</A
3317> cur);</PRE
3318></TD
3319></TR
3320></TABLE
3321><P
3322>Copy an enumeration attribute node (recursive).</P
3323><P
3324></P
3325><DIV
3326CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003327><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003328NAME="AEN9365"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003329></P
3330><TABLE
3331BORDER="0"
3332WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003333BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003334CELLSPACING="0"
3335CELLPADDING="4"
3336CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003337><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003338><TR
3339><TD
3340WIDTH="20%"
3341ALIGN="RIGHT"
3342VALIGN="TOP"
3343><TT
3344CLASS="PARAMETER"
3345><I
3346>cur</I
3347></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003348>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003349><TD
3350WIDTH="80%"
3351ALIGN="LEFT"
3352VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003353> the tree to copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003354></TR
3355><TR
3356><TD
3357WIDTH="20%"
3358ALIGN="RIGHT"
3359VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003360><SPAN
3361CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003362><I
3363CLASS="EMPHASIS"
3364>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003365></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003366> :</TD
3367><TD
3368WIDTH="80%"
3369ALIGN="LEFT"
3370VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003371>the xmlEnumerationPtr just created or NULL in case
Daniel Veillardaf43f632002-03-08 15:05:20 +00003372of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003373></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003374></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003375></TABLE
3376><P
3377></P
3378></DIV
3379></DIV
3380><HR><DIV
3381CLASS="REFSECT2"
3382><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003383NAME="AEN9378"
Daniel Veillard35925471999-02-25 08:46:07 +00003384></A
3385><H3
3386><A
3387NAME="XMLADDATTRIBUTEDECL"
3388></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003389>xmlAddAttributeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003390><TABLE
3391BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003392BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003393WIDTH="100%"
3394CELLPADDING="6"
3395><TR
3396><TD
3397><PRE
3398CLASS="PROGRAMLISTING"
3399><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003400HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003401>xmlAttributePtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003402> xmlAddAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003403HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003404>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00003405> ctxt,
3406 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003407HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003408>xmlDtdPtr</A
3409> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003410 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003411HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003412>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003413> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003414 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003415HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003416>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003417> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003418 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003419HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003420>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +00003421> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003422 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003423HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003424>xmlAttributeType</A
3425> type,
3426 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003427HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003428>xmlAttributeDefault</A
3429> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003430 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003431HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003432>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003433> *defaultValue,
3434 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003435HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003436>xmlEnumerationPtr</A
3437> tree);</PRE
3438></TD
3439></TR
3440></TABLE
3441><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003442>Register a new attribute declaration
3443Note that <TT
3444CLASS="PARAMETER"
3445><I
3446>tree</I
3447></TT
3448> becomes the ownership of the DTD</P
Daniel Veillard35925471999-02-25 08:46:07 +00003449><P
3450></P
3451><DIV
3452CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003453><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003454NAME="AEN9395"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003455></P
3456><TABLE
3457BORDER="0"
3458WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003459BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003460CELLSPACING="0"
3461CELLPADDING="4"
3462CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003463><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003464><TR
3465><TD
3466WIDTH="20%"
3467ALIGN="RIGHT"
3468VALIGN="TOP"
3469><TT
3470CLASS="PARAMETER"
3471><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00003472>ctxt</I
3473></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003474>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003475><TD
3476WIDTH="80%"
3477ALIGN="LEFT"
3478VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003479> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003480></TR
3481><TR
3482><TD
3483WIDTH="20%"
3484ALIGN="RIGHT"
3485VALIGN="TOP"
3486><TT
3487CLASS="PARAMETER"
3488><I
Daniel Veillard35925471999-02-25 08:46:07 +00003489>dtd</I
3490></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003491>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003492><TD
3493WIDTH="80%"
3494ALIGN="LEFT"
3495VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003496> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003497></TR
3498><TR
3499><TD
3500WIDTH="20%"
3501ALIGN="RIGHT"
3502VALIGN="TOP"
3503><TT
3504CLASS="PARAMETER"
3505><I
3506>elem</I
3507></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003508>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003509><TD
3510WIDTH="80%"
3511ALIGN="LEFT"
3512VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003513> the element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003514></TR
3515><TR
3516><TD
3517WIDTH="20%"
3518ALIGN="RIGHT"
3519VALIGN="TOP"
3520><TT
3521CLASS="PARAMETER"
3522><I
3523>name</I
3524></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003525>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003526><TD
3527WIDTH="80%"
3528ALIGN="LEFT"
3529VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003530> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003531></TR
3532><TR
3533><TD
3534WIDTH="20%"
3535ALIGN="RIGHT"
3536VALIGN="TOP"
3537><TT
3538CLASS="PARAMETER"
3539><I
Daniel Veillard06047432000-04-24 11:33:38 +00003540>ns</I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003541></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003542>&nbsp;:</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003543><TD
3544WIDTH="80%"
3545ALIGN="LEFT"
3546VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003547> the attribute namespace prefix</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003548></TR
3549><TR
3550><TD
3551WIDTH="20%"
3552ALIGN="RIGHT"
3553VALIGN="TOP"
3554><TT
3555CLASS="PARAMETER"
3556><I
Daniel Veillard35925471999-02-25 08:46:07 +00003557>type</I
3558></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003559>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003560><TD
3561WIDTH="80%"
3562ALIGN="LEFT"
3563VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003564> the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003565></TR
3566><TR
3567><TD
3568WIDTH="20%"
3569ALIGN="RIGHT"
3570VALIGN="TOP"
3571><TT
3572CLASS="PARAMETER"
3573><I
3574>def</I
3575></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003576>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003577><TD
3578WIDTH="80%"
3579ALIGN="LEFT"
3580VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003581> the attribute default type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003582></TR
3583><TR
3584><TD
3585WIDTH="20%"
3586ALIGN="RIGHT"
3587VALIGN="TOP"
3588><TT
3589CLASS="PARAMETER"
3590><I
3591>defaultValue</I
3592></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003593>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003594><TD
3595WIDTH="80%"
3596ALIGN="LEFT"
3597VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003598> the attribute default value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003599></TR
3600><TR
3601><TD
3602WIDTH="20%"
3603ALIGN="RIGHT"
3604VALIGN="TOP"
3605><TT
3606CLASS="PARAMETER"
3607><I
3608>tree</I
3609></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003610>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003611><TD
3612WIDTH="80%"
3613ALIGN="LEFT"
3614VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003615> if it's an enumeration, the associated list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003616></TR
3617><TR
3618><TD
3619WIDTH="20%"
3620ALIGN="RIGHT"
3621VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003622><SPAN
3623CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003624><I
3625CLASS="EMPHASIS"
3626>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003627></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003628> :</TD
3629><TD
3630WIDTH="80%"
3631ALIGN="LEFT"
3632VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00003633>NULL if not new, otherwise the attribute decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003634></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003635></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003636></TABLE
3637><P
3638></P
3639></DIV
3640></DIV
3641><HR><DIV
3642CLASS="REFSECT2"
3643><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003644NAME="AEN9440"
Daniel Veillard35925471999-02-25 08:46:07 +00003645></A
3646><H3
3647><A
3648NAME="XMLCOPYATTRIBUTETABLE"
3649></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003650>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003651><TABLE
3652BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003653BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003654WIDTH="100%"
3655CELLPADDING="6"
3656><TR
3657><TD
3658><PRE
3659CLASS="PROGRAMLISTING"
3660><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003661HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003662>xmlAttributeTablePtr</A
3663> xmlCopyAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003664HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003665>xmlAttributeTablePtr</A
3666> table);</PRE
3667></TD
3668></TR
3669></TABLE
3670><P
3671>Build a copy of an attribute table.</P
3672><P
3673></P
3674><DIV
3675CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003676><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003677NAME="AEN9448"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003678></P
3679><TABLE
3680BORDER="0"
3681WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003682BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003683CELLSPACING="0"
3684CELLPADDING="4"
3685CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003686><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003687><TR
3688><TD
3689WIDTH="20%"
3690ALIGN="RIGHT"
3691VALIGN="TOP"
3692><TT
3693CLASS="PARAMETER"
3694><I
3695>table</I
3696></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003697>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003698><TD
3699WIDTH="80%"
3700ALIGN="LEFT"
3701VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003702> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003703></TR
3704><TR
3705><TD
3706WIDTH="20%"
3707ALIGN="RIGHT"
3708VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003709><SPAN
3710CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003711><I
3712CLASS="EMPHASIS"
3713>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003714></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003715> :</TD
3716><TD
3717WIDTH="80%"
3718ALIGN="LEFT"
3719VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003720>the new xmlAttributeTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003721></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003722></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003723></TABLE
3724><P
3725></P
3726></DIV
3727></DIV
3728><HR><DIV
3729CLASS="REFSECT2"
3730><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003731NAME="AEN9461"
Daniel Veillard35925471999-02-25 08:46:07 +00003732></A
3733><H3
3734><A
3735NAME="XMLFREEATTRIBUTETABLE"
3736></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003737>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003738><TABLE
3739BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003740BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003741WIDTH="100%"
3742CELLPADDING="6"
3743><TR
3744><TD
3745><PRE
3746CLASS="PROGRAMLISTING"
3747>void xmlFreeAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003748HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003749>xmlAttributeTablePtr</A
3750> table);</PRE
3751></TD
3752></TR
3753></TABLE
3754><P
3755>Deallocate the memory used by an entities hash table.</P
3756><P
3757></P
3758><DIV
3759CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003760><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003761NAME="AEN9468"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003762></P
3763><TABLE
3764BORDER="0"
3765WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003766BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003767CELLSPACING="0"
3768CELLPADDING="4"
3769CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003770><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003771><TR
3772><TD
3773WIDTH="20%"
3774ALIGN="RIGHT"
3775VALIGN="TOP"
3776><TT
3777CLASS="PARAMETER"
3778><I
3779>table</I
3780></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003781>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003782><TD
3783WIDTH="80%"
3784ALIGN="LEFT"
3785VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003786> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003787></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003788></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003789></TABLE
3790><P
3791></P
3792></DIV
3793></DIV
3794><HR><DIV
3795CLASS="REFSECT2"
3796><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003797NAME="AEN9477"
Daniel Veillard35925471999-02-25 08:46:07 +00003798></A
3799><H3
3800><A
3801NAME="XMLDUMPATTRIBUTETABLE"
3802></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003803>xmlDumpAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003804><TABLE
3805BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003806BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003807WIDTH="100%"
3808CELLPADDING="6"
3809><TR
3810><TD
3811><PRE
3812CLASS="PROGRAMLISTING"
3813>void xmlDumpAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003814HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003815>xmlBufferPtr</A
3816> buf,
3817 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003818HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003819>xmlAttributeTablePtr</A
3820> table);</PRE
3821></TD
3822></TR
3823></TABLE
3824><P
3825>This will dump the content of the attribute table as an XML DTD definition</P
3826><P
Daniel Veillard35925471999-02-25 08:46:07 +00003827></P
3828><DIV
3829CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003830><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003831NAME="AEN9485"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003832></P
3833><TABLE
3834BORDER="0"
3835WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003836BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003837CELLSPACING="0"
3838CELLPADDING="4"
3839CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003840><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003841><TR
3842><TD
3843WIDTH="20%"
3844ALIGN="RIGHT"
3845VALIGN="TOP"
3846><TT
3847CLASS="PARAMETER"
3848><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003849>buf</I
3850></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003851>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003852><TD
3853WIDTH="80%"
3854ALIGN="LEFT"
3855VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003856> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003857></TR
3858><TR
3859><TD
3860WIDTH="20%"
3861ALIGN="RIGHT"
3862VALIGN="TOP"
3863><TT
3864CLASS="PARAMETER"
3865><I
Daniel Veillard35925471999-02-25 08:46:07 +00003866>table</I
3867></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003868>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003869><TD
3870WIDTH="80%"
3871ALIGN="LEFT"
3872VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003873> An attribute table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003874></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003875></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003876></TABLE
3877><P
3878></P
3879></DIV
3880></DIV
3881><HR><DIV
3882CLASS="REFSECT2"
3883><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003884NAME="AEN9498"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003885></A
3886><H3
3887><A
3888NAME="XMLDUMPATTRIBUTEDECL"
3889></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003890>xmlDumpAttributeDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003891><TABLE
3892BORDER="0"
3893BGCOLOR="#D6E8FF"
3894WIDTH="100%"
3895CELLPADDING="6"
3896><TR
3897><TD
3898><PRE
3899CLASS="PROGRAMLISTING"
3900>void xmlDumpAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003901HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003902>xmlBufferPtr</A
3903> buf,
3904 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003905HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003906>xmlAttributePtr</A
3907> attr);</PRE
3908></TD
3909></TR
3910></TABLE
3911><P
3912>This will dump the content of the attribute declaration as an XML
3913DTD definition</P
3914><P
3915></P
3916><DIV
3917CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003918><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003919NAME="AEN9506"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003920></P
3921><TABLE
3922BORDER="0"
3923WIDTH="100%"
3924BGCOLOR="#FFD0D0"
3925CELLSPACING="0"
3926CELLPADDING="4"
3927CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003928><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003929><TR
3930><TD
3931WIDTH="20%"
3932ALIGN="RIGHT"
3933VALIGN="TOP"
3934><TT
3935CLASS="PARAMETER"
3936><I
3937>buf</I
3938></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003939>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003940><TD
3941WIDTH="80%"
3942ALIGN="LEFT"
3943VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003944> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003945></TR
3946><TR
3947><TD
3948WIDTH="20%"
3949ALIGN="RIGHT"
3950VALIGN="TOP"
3951><TT
3952CLASS="PARAMETER"
3953><I
3954>attr</I
3955></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003956>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003957><TD
3958WIDTH="80%"
3959ALIGN="LEFT"
3960VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003961> An attribute declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003962></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003963></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003964></TABLE
3965><P
3966></P
3967></DIV
3968></DIV
3969><HR><DIV
3970CLASS="REFSECT2"
3971><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003972NAME="AEN9519"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003973></A
3974><H3
3975><A
3976NAME="XMLADDID"
3977></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003978>xmlAddID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003979><TABLE
3980BORDER="0"
3981BGCOLOR="#D6E8FF"
3982WIDTH="100%"
3983CELLPADDING="6"
3984><TR
3985><TD
3986><PRE
3987CLASS="PROGRAMLISTING"
3988><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003989HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003990>xmlIDPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003991> xmlAddID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003992HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003993>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003994> ctxt,
3995 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003996HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003997>xmlDocPtr</A
3998> doc,
3999 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004000HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004001>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004002> *value,
4003 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004004HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004005>xmlAttrPtr</A
4006> attr);</PRE
4007></TD
4008></TR
4009></TABLE
4010><P
4011>Register a new id declaration</P
4012><P
4013></P
4014><DIV
4015CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004016><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004017NAME="AEN9530"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004018></P
4019><TABLE
4020BORDER="0"
4021WIDTH="100%"
4022BGCOLOR="#FFD0D0"
4023CELLSPACING="0"
4024CELLPADDING="4"
4025CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004026><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004027><TR
4028><TD
4029WIDTH="20%"
4030ALIGN="RIGHT"
4031VALIGN="TOP"
4032><TT
4033CLASS="PARAMETER"
4034><I
4035>ctxt</I
4036></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004037>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004038><TD
4039WIDTH="80%"
4040ALIGN="LEFT"
4041VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004042> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004043></TR
4044><TR
4045><TD
4046WIDTH="20%"
4047ALIGN="RIGHT"
4048VALIGN="TOP"
4049><TT
4050CLASS="PARAMETER"
4051><I
4052>doc</I
4053></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004054>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004055><TD
4056WIDTH="80%"
4057ALIGN="LEFT"
4058VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004059> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004060></TR
4061><TR
4062><TD
4063WIDTH="20%"
4064ALIGN="RIGHT"
4065VALIGN="TOP"
4066><TT
4067CLASS="PARAMETER"
4068><I
4069>value</I
4070></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004071>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004072><TD
4073WIDTH="80%"
4074ALIGN="LEFT"
4075VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004076> the value name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004077></TR
4078><TR
4079><TD
4080WIDTH="20%"
4081ALIGN="RIGHT"
4082VALIGN="TOP"
4083><TT
4084CLASS="PARAMETER"
4085><I
4086>attr</I
4087></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004088>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004089><TD
4090WIDTH="80%"
4091ALIGN="LEFT"
4092VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004093> the attribute holding the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004094></TR
4095><TR
4096><TD
4097WIDTH="20%"
4098ALIGN="RIGHT"
4099VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004100><SPAN
4101CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004102><I
4103CLASS="EMPHASIS"
4104>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004105></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004106> :</TD
4107><TD
4108WIDTH="80%"
4109ALIGN="LEFT"
4110VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004111>NULL if not, otherwise the new xmlIDPtr</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004112></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004113></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004114></TABLE
4115><P
4116></P
4117></DIV
4118></DIV
4119><HR><DIV
4120CLASS="REFSECT2"
4121><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004122NAME="AEN9555"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004123></A
4124><H3
4125><A
4126NAME="XMLFREEIDTABLE"
4127></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004128>xmlFreeIDTable ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004129><TABLE
4130BORDER="0"
4131BGCOLOR="#D6E8FF"
4132WIDTH="100%"
4133CELLPADDING="6"
4134><TR
4135><TD
4136><PRE
4137CLASS="PROGRAMLISTING"
4138>void xmlFreeIDTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004139HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004140>xmlIDTablePtr</A
4141> table);</PRE
4142></TD
4143></TR
4144></TABLE
4145><P
4146>Deallocate the memory used by an ID hash table.</P
4147><P
4148></P
4149><DIV
4150CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004151><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004152NAME="AEN9562"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004153></P
4154><TABLE
4155BORDER="0"
4156WIDTH="100%"
4157BGCOLOR="#FFD0D0"
4158CELLSPACING="0"
4159CELLPADDING="4"
4160CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004161><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004162><TR
4163><TD
4164WIDTH="20%"
4165ALIGN="RIGHT"
4166VALIGN="TOP"
4167><TT
4168CLASS="PARAMETER"
4169><I
4170>table</I
4171></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004172>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004173><TD
4174WIDTH="80%"
4175ALIGN="LEFT"
4176VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004177> An id table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004178></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004179></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004180></TABLE
4181><P
4182></P
4183></DIV
4184></DIV
4185><HR><DIV
4186CLASS="REFSECT2"
4187><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004188NAME="AEN9571"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004189></A
4190><H3
4191><A
4192NAME="XMLGETID"
4193></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004194>xmlGetID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004195><TABLE
4196BORDER="0"
4197BGCOLOR="#D6E8FF"
4198WIDTH="100%"
4199CELLPADDING="6"
4200><TR
4201><TD
4202><PRE
4203CLASS="PROGRAMLISTING"
4204><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004205HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004206>xmlAttrPtr</A
4207> xmlGetID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004208HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004209>xmlDocPtr</A
4210> doc,
4211 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004212HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004213>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004214> *ID);</PRE
4215></TD
4216></TR
4217></TABLE
4218><P
4219>Search the attribute declaring the given ID</P
4220><P
4221></P
4222><DIV
4223CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004224><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004225NAME="AEN9580"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004226></P
4227><TABLE
4228BORDER="0"
4229WIDTH="100%"
4230BGCOLOR="#FFD0D0"
4231CELLSPACING="0"
4232CELLPADDING="4"
4233CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004234><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004235><TR
4236><TD
4237WIDTH="20%"
4238ALIGN="RIGHT"
4239VALIGN="TOP"
4240><TT
4241CLASS="PARAMETER"
4242><I
4243>doc</I
4244></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004245>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004246><TD
4247WIDTH="80%"
4248ALIGN="LEFT"
4249VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004250> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004251></TR
4252><TR
4253><TD
4254WIDTH="20%"
4255ALIGN="RIGHT"
4256VALIGN="TOP"
4257><TT
4258CLASS="PARAMETER"
4259><I
4260>ID</I
4261></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004262>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004263><TD
4264WIDTH="80%"
4265ALIGN="LEFT"
4266VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004267> the ID value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004268></TR
4269><TR
4270><TD
4271WIDTH="20%"
4272ALIGN="RIGHT"
4273VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004274><SPAN
4275CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004276><I
4277CLASS="EMPHASIS"
4278>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004279></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004280> :</TD
4281><TD
4282WIDTH="80%"
4283ALIGN="LEFT"
4284VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004285>NULL if not found, otherwise the xmlAttrPtr defining the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004286></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004287></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004288></TABLE
4289><P
4290></P
4291></DIV
4292></DIV
4293><HR><DIV
4294CLASS="REFSECT2"
4295><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004296NAME="AEN9597"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004297></A
4298><H3
4299><A
4300NAME="XMLISID"
4301></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004302>xmlIsID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004303><TABLE
4304BORDER="0"
4305BGCOLOR="#D6E8FF"
4306WIDTH="100%"
4307CELLPADDING="6"
4308><TR
4309><TD
4310><PRE
4311CLASS="PROGRAMLISTING"
4312>int xmlIsID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004313HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004314>xmlDocPtr</A
4315> doc,
4316 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004317HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004318>xmlNodePtr</A
4319> elem,
4320 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004321HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004322>xmlAttrPtr</A
4323> attr);</PRE
4324></TD
4325></TR
4326></TABLE
4327><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004328>Determine whether an attribute is of type ID. In case we have DTD(s)
Daniel Veillard80ce3732002-10-07 17:39:30 +00004329then this is done if DTD loading has been requested. In the case
4330of HTML documents parsed with the HTML parser, then ID detection is
4331done systematically.</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004332><P
4333></P
4334><DIV
4335CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004336><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004337NAME="AEN9606"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004338></P
4339><TABLE
4340BORDER="0"
4341WIDTH="100%"
4342BGCOLOR="#FFD0D0"
4343CELLSPACING="0"
4344CELLPADDING="4"
4345CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004346><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004347><TR
4348><TD
4349WIDTH="20%"
4350ALIGN="RIGHT"
4351VALIGN="TOP"
4352><TT
4353CLASS="PARAMETER"
4354><I
4355>doc</I
4356></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004357>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004358><TD
4359WIDTH="80%"
4360ALIGN="LEFT"
4361VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004362> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004363></TR
4364><TR
4365><TD
4366WIDTH="20%"
4367ALIGN="RIGHT"
4368VALIGN="TOP"
4369><TT
4370CLASS="PARAMETER"
4371><I
4372>elem</I
4373></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004374>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004375><TD
4376WIDTH="80%"
4377ALIGN="LEFT"
4378VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004379> the element carrying the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004380></TR
4381><TR
4382><TD
4383WIDTH="20%"
4384ALIGN="RIGHT"
4385VALIGN="TOP"
4386><TT
4387CLASS="PARAMETER"
4388><I
4389>attr</I
4390></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004391>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004392><TD
4393WIDTH="80%"
4394ALIGN="LEFT"
4395VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004396> the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004397></TR
4398><TR
4399><TD
4400WIDTH="20%"
4401ALIGN="RIGHT"
4402VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004403><SPAN
4404CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004405><I
4406CLASS="EMPHASIS"
4407>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004408></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004409> :</TD
4410><TD
4411WIDTH="80%"
4412ALIGN="LEFT"
4413VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004414>0 or 1 depending on the lookup result</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004415></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004416></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004417></TABLE
4418><P
4419></P
4420></DIV
4421></DIV
4422><HR><DIV
4423CLASS="REFSECT2"
4424><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004425NAME="AEN9627"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004426></A
4427><H3
4428><A
4429NAME="XMLREMOVEID"
4430></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004431>xmlRemoveID ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004432><TABLE
4433BORDER="0"
4434BGCOLOR="#D6E8FF"
4435WIDTH="100%"
4436CELLPADDING="6"
4437><TR
4438><TD
4439><PRE
4440CLASS="PROGRAMLISTING"
4441>int xmlRemoveID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004442HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004443>xmlDocPtr</A
4444> doc,
4445 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004446HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004447>xmlAttrPtr</A
4448> attr);</PRE
4449></TD
4450></TR
4451></TABLE
4452><P
4453>Remove the given attribute from the ID table maintained internally.</P
4454><P
4455></P
4456><DIV
4457CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004458><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004459NAME="AEN9635"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004460></P
4461><TABLE
4462BORDER="0"
4463WIDTH="100%"
4464BGCOLOR="#FFD0D0"
4465CELLSPACING="0"
4466CELLPADDING="4"
4467CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004468><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004469><TR
4470><TD
4471WIDTH="20%"
4472ALIGN="RIGHT"
4473VALIGN="TOP"
4474><TT
4475CLASS="PARAMETER"
4476><I
4477>doc</I
4478></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004479>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004480><TD
4481WIDTH="80%"
4482ALIGN="LEFT"
4483VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004484> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004485></TR
4486><TR
4487><TD
4488WIDTH="20%"
4489ALIGN="RIGHT"
4490VALIGN="TOP"
4491><TT
4492CLASS="PARAMETER"
4493><I
4494>attr</I
4495></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004496>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004497><TD
4498WIDTH="80%"
4499ALIGN="LEFT"
4500VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004501> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004502></TR
4503><TR
4504><TD
4505WIDTH="20%"
4506ALIGN="RIGHT"
4507VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004508><SPAN
4509CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004510><I
4511CLASS="EMPHASIS"
4512>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004513></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004514> :</TD
4515><TD
4516WIDTH="80%"
4517ALIGN="LEFT"
4518VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004519>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004520></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004521></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004522></TABLE
4523><P
4524></P
4525></DIV
4526></DIV
4527><HR><DIV
4528CLASS="REFSECT2"
4529><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004530NAME="AEN9652"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004531></A
4532><H3
4533><A
4534NAME="XMLADDREF"
4535></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004536>xmlAddRef ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004537><TABLE
4538BORDER="0"
4539BGCOLOR="#D6E8FF"
4540WIDTH="100%"
4541CELLPADDING="6"
4542><TR
4543><TD
4544><PRE
4545CLASS="PROGRAMLISTING"
4546><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004547HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004548>xmlRefPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004549> xmlAddRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004550HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004551>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004552> ctxt,
4553 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004554HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004555>xmlDocPtr</A
4556> doc,
4557 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004558HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004559>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004560> *value,
4561 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004562HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004563>xmlAttrPtr</A
4564> attr);</PRE
4565></TD
4566></TR
4567></TABLE
4568><P
4569>Register a new ref declaration</P
4570><P
4571></P
4572><DIV
4573CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004574><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004575NAME="AEN9663"><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004576></P
4577><TABLE
4578BORDER="0"
4579WIDTH="100%"
4580BGCOLOR="#FFD0D0"
4581CELLSPACING="0"
4582CELLPADDING="4"
4583CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004584><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004585><TR
4586><TD
4587WIDTH="20%"
4588ALIGN="RIGHT"
4589VALIGN="TOP"
4590><TT
4591CLASS="PARAMETER"
4592><I
4593>ctxt</I
4594></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004595>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004596><TD
4597WIDTH="80%"
4598ALIGN="LEFT"
4599VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004600> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004601></TR
4602><TR
4603><TD
4604WIDTH="20%"
4605ALIGN="RIGHT"
4606VALIGN="TOP"
4607><TT
4608CLASS="PARAMETER"
4609><I
4610>doc</I
4611></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004612>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004613><TD
4614WIDTH="80%"
4615ALIGN="LEFT"
4616VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004617> pointer to the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004618></TR
4619><TR
4620><TD
4621WIDTH="20%"
4622ALIGN="RIGHT"
4623VALIGN="TOP"
4624><TT
4625CLASS="PARAMETER"
4626><I
4627>value</I
4628></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004629>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004630><TD
4631WIDTH="80%"
4632ALIGN="LEFT"
4633VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004634> the value name</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004635></TR
4636><TR
4637><TD
4638WIDTH="20%"
4639ALIGN="RIGHT"
4640VALIGN="TOP"
4641><TT
4642CLASS="PARAMETER"
4643><I
4644>attr</I
4645></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004646>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004647><TD
4648WIDTH="80%"
4649ALIGN="LEFT"
4650VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004651> the attribute holding the Ref</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004652></TR
4653><TR
4654><TD
4655WIDTH="20%"
4656ALIGN="RIGHT"
4657VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004658><SPAN
4659CLASS="emphasis"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004660><I
4661CLASS="EMPHASIS"
4662>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004663></SPAN
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004664> :</TD
4665><TD
4666WIDTH="80%"
4667ALIGN="LEFT"
4668VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004669>NULL if not, otherwise the new xmlRefPtr</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004670></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004671></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004672></TABLE
4673><P
4674></P
4675></DIV
4676></DIV
4677><HR><DIV
4678CLASS="REFSECT2"
4679><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004680NAME="AEN9688"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004681></A
4682><H3
4683><A
4684NAME="XMLFREEREFTABLE"
4685></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004686>xmlFreeRefTable ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004687><TABLE
4688BORDER="0"
4689BGCOLOR="#D6E8FF"
4690WIDTH="100%"
4691CELLPADDING="6"
4692><TR
4693><TD
4694><PRE
4695CLASS="PROGRAMLISTING"
4696>void xmlFreeRefTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004697HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004698>xmlRefTablePtr</A
4699> table);</PRE
4700></TD
4701></TR
4702></TABLE
4703><P
4704>Deallocate the memory used by an Ref hash table.</P
4705><P
4706></P
4707><DIV
4708CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004709><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004710NAME="AEN9695"><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004711></P
4712><TABLE
4713BORDER="0"
4714WIDTH="100%"
4715BGCOLOR="#FFD0D0"
4716CELLSPACING="0"
4717CELLPADDING="4"
4718CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004719><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004720><TR
4721><TD
4722WIDTH="20%"
4723ALIGN="RIGHT"
4724VALIGN="TOP"
4725><TT
4726CLASS="PARAMETER"
4727><I
4728>table</I
4729></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004730>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004731><TD
4732WIDTH="80%"
4733ALIGN="LEFT"
4734VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004735> An ref table</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004736></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004737></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004738></TABLE
4739><P
4740></P
4741></DIV
4742></DIV
4743><HR><DIV
4744CLASS="REFSECT2"
4745><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004746NAME="AEN9704"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004747></A
4748><H3
4749><A
4750NAME="XMLISREF"
4751></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004752>xmlIsRef ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004753><TABLE
4754BORDER="0"
4755BGCOLOR="#D6E8FF"
4756WIDTH="100%"
4757CELLPADDING="6"
4758><TR
4759><TD
4760><PRE
4761CLASS="PROGRAMLISTING"
4762>int xmlIsRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004763HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004764>xmlDocPtr</A
4765> doc,
4766 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004767HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004768>xmlNodePtr</A
4769> elem,
4770 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004771HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004772>xmlAttrPtr</A
4773> attr);</PRE
4774></TD
4775></TR
4776></TABLE
4777><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004778>Determine whether an attribute is of type Ref. In case we have DTD(s)
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004779then this is simple, otherwise we use an heuristic: name Ref (upper
4780or lowercase).</P
4781><P
4782></P
4783><DIV
4784CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004785><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004786NAME="AEN9713"><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004787></P
4788><TABLE
4789BORDER="0"
4790WIDTH="100%"
4791BGCOLOR="#FFD0D0"
4792CELLSPACING="0"
4793CELLPADDING="4"
4794CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004795><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004796><TR
4797><TD
4798WIDTH="20%"
4799ALIGN="RIGHT"
4800VALIGN="TOP"
4801><TT
4802CLASS="PARAMETER"
4803><I
4804>doc</I
4805></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004806>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004807><TD
4808WIDTH="80%"
4809ALIGN="LEFT"
4810VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004811> the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004812></TR
4813><TR
4814><TD
4815WIDTH="20%"
4816ALIGN="RIGHT"
4817VALIGN="TOP"
4818><TT
4819CLASS="PARAMETER"
4820><I
4821>elem</I
4822></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004823>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004824><TD
4825WIDTH="80%"
4826ALIGN="LEFT"
4827VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004828> the element carrying the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004829></TR
4830><TR
4831><TD
4832WIDTH="20%"
4833ALIGN="RIGHT"
4834VALIGN="TOP"
4835><TT
4836CLASS="PARAMETER"
4837><I
4838>attr</I
4839></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004840>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004841><TD
4842WIDTH="80%"
4843ALIGN="LEFT"
4844VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004845> the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004846></TR
4847><TR
4848><TD
4849WIDTH="20%"
4850ALIGN="RIGHT"
4851VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004852><SPAN
4853CLASS="emphasis"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004854><I
4855CLASS="EMPHASIS"
4856>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004857></SPAN
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004858> :</TD
4859><TD
4860WIDTH="80%"
4861ALIGN="LEFT"
4862VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004863>0 or 1 depending on the lookup result</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004864></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004865></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004866></TABLE
4867><P
4868></P
4869></DIV
4870></DIV
4871><HR><DIV
4872CLASS="REFSECT2"
4873><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004874NAME="AEN9734"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004875></A
4876><H3
4877><A
4878NAME="XMLREMOVEREF"
4879></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004880>xmlRemoveRef ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004881><TABLE
4882BORDER="0"
4883BGCOLOR="#D6E8FF"
4884WIDTH="100%"
4885CELLPADDING="6"
4886><TR
4887><TD
4888><PRE
4889CLASS="PROGRAMLISTING"
4890>int xmlRemoveRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004891HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004892>xmlDocPtr</A
4893> doc,
4894 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004895HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004896>xmlAttrPtr</A
4897> attr);</PRE
4898></TD
4899></TR
4900></TABLE
4901><P
4902>Remove the given attribute from the Ref table maintained internally.</P
4903><P
4904></P
4905><DIV
4906CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004907><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004908NAME="AEN9742"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004909></P
4910><TABLE
4911BORDER="0"
4912WIDTH="100%"
4913BGCOLOR="#FFD0D0"
4914CELLSPACING="0"
4915CELLPADDING="4"
4916CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004917><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004918><TR
4919><TD
4920WIDTH="20%"
4921ALIGN="RIGHT"
4922VALIGN="TOP"
4923><TT
4924CLASS="PARAMETER"
4925><I
4926>doc</I
4927></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004928>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004929><TD
4930WIDTH="80%"
4931ALIGN="LEFT"
4932VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004933> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004934></TR
4935><TR
4936><TD
4937WIDTH="20%"
4938ALIGN="RIGHT"
4939VALIGN="TOP"
4940><TT
4941CLASS="PARAMETER"
4942><I
4943>attr</I
4944></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004945>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004946><TD
4947WIDTH="80%"
4948ALIGN="LEFT"
4949VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004950> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004951></TR
4952><TR
4953><TD
4954WIDTH="20%"
4955ALIGN="RIGHT"
4956VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004957><SPAN
4958CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004959><I
4960CLASS="EMPHASIS"
4961>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004962></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004963> :</TD
4964><TD
4965WIDTH="80%"
4966ALIGN="LEFT"
4967VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004968>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004969></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004970></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004971></TABLE
4972><P
4973></P
4974></DIV
4975></DIV
4976><HR><DIV
4977CLASS="REFSECT2"
4978><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004979NAME="AEN9759"
Daniel Veillarda41123c2001-04-22 19:31:20 +00004980></A
4981><H3
4982><A
4983NAME="XMLGETREFS"
4984></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004985>xmlGetRefs ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00004986><TABLE
4987BORDER="0"
4988BGCOLOR="#D6E8FF"
4989WIDTH="100%"
4990CELLPADDING="6"
4991><TR
4992><TD
4993><PRE
4994CLASS="PROGRAMLISTING"
4995><GTKDOCLINK
4996HREF="XMLLISTPTR"
4997>xmlListPtr</GTKDOCLINK
4998> xmlGetRefs (<A
4999HREF="libxml-tree.html#XMLDOCPTR"
5000>xmlDocPtr</A
5001> doc,
5002 const <A
5003HREF="libxml-tree.html#XMLCHAR"
5004>xmlChar</A
5005> *ID);</PRE
5006></TD
5007></TR
5008></TABLE
5009><P
5010>Find the set of references for the supplied ID.</P
5011><P
5012></P
5013><DIV
5014CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005015><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005016NAME="AEN9768"><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00005017></P
5018><TABLE
5019BORDER="0"
5020WIDTH="100%"
5021BGCOLOR="#FFD0D0"
5022CELLSPACING="0"
5023CELLPADDING="4"
5024CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005025><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005026><TR
5027><TD
5028WIDTH="20%"
5029ALIGN="RIGHT"
5030VALIGN="TOP"
5031><TT
5032CLASS="PARAMETER"
5033><I
5034>doc</I
5035></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005036>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005037><TD
5038WIDTH="80%"
5039ALIGN="LEFT"
5040VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005041> pointer to the document</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005042></TR
5043><TR
5044><TD
5045WIDTH="20%"
5046ALIGN="RIGHT"
5047VALIGN="TOP"
5048><TT
5049CLASS="PARAMETER"
5050><I
5051>ID</I
5052></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005053>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005054><TD
5055WIDTH="80%"
5056ALIGN="LEFT"
5057VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005058> the ID value</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005059></TR
5060><TR
5061><TD
5062WIDTH="20%"
5063ALIGN="RIGHT"
5064VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005065><SPAN
5066CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005067><I
5068CLASS="EMPHASIS"
5069>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005070></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +00005071> :</TD
5072><TD
5073WIDTH="80%"
5074ALIGN="LEFT"
5075VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005076>NULL if not found, otherwise node set for the ID.</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005077></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005078></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005079></TABLE
5080><P
5081></P
5082></DIV
5083></DIV
5084><HR><DIV
5085CLASS="REFSECT2"
5086><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005087NAME="AEN9785"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005088></A
5089><H3
5090><A
5091NAME="XMLVALIDATEROOT"
5092></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005093>xmlValidateRoot ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005094><TABLE
5095BORDER="0"
5096BGCOLOR="#D6E8FF"
5097WIDTH="100%"
5098CELLPADDING="6"
5099><TR
5100><TD
5101><PRE
5102CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005103>int xmlValidateRoot (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005104HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005105>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005106> ctxt,
5107 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005108HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005109>xmlDocPtr</A
5110> doc);</PRE
5111></TD
5112></TR
5113></TABLE
5114><P
5115>Try to validate a the root element
5116basically it does the following check as described by the
5117XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005118- [ VC: Root Element Type ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00005119it doesn't try to recurse or apply other check to the element</P
5120><P
5121></P
5122><DIV
5123CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005124><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005125NAME="AEN9793"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005126></P
5127><TABLE
5128BORDER="0"
5129WIDTH="100%"
5130BGCOLOR="#FFD0D0"
5131CELLSPACING="0"
5132CELLPADDING="4"
5133CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005134><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005135><TR
5136><TD
5137WIDTH="20%"
5138ALIGN="RIGHT"
5139VALIGN="TOP"
5140><TT
5141CLASS="PARAMETER"
5142><I
5143>ctxt</I
5144></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005145>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005146><TD
5147WIDTH="80%"
5148ALIGN="LEFT"
5149VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005150> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005151></TR
5152><TR
5153><TD
5154WIDTH="20%"
5155ALIGN="RIGHT"
5156VALIGN="TOP"
5157><TT
5158CLASS="PARAMETER"
5159><I
5160>doc</I
5161></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005162>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005163><TD
5164WIDTH="80%"
5165ALIGN="LEFT"
5166VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005167> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005168></TR
5169><TR
5170><TD
5171WIDTH="20%"
5172ALIGN="RIGHT"
5173VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005174><SPAN
5175CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005176><I
5177CLASS="EMPHASIS"
5178>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005179></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00005180> :</TD
5181><TD
5182WIDTH="80%"
5183ALIGN="LEFT"
5184VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005185>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005186></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005187></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005188></TABLE
5189><P
5190></P
5191></DIV
5192></DIV
5193><HR><DIV
5194CLASS="REFSECT2"
5195><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005196NAME="AEN9810"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005197></A
5198><H3
5199><A
5200NAME="XMLVALIDATEELEMENTDECL"
5201></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005202>xmlValidateElementDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005203><TABLE
5204BORDER="0"
5205BGCOLOR="#D6E8FF"
5206WIDTH="100%"
5207CELLPADDING="6"
5208><TR
5209><TD
5210><PRE
5211CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005212>int xmlValidateElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005213HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005214>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005215> ctxt,
5216 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005217HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005218>xmlDocPtr</A
5219> doc,
5220 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005221HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005222>xmlElementPtr</A
5223> elem);</PRE
5224></TD
5225></TR
5226></TABLE
5227><P
5228>Try to validate a single element definition
5229basically it does the following checks as described by the
5230XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005231- [ VC: One ID per Element Type ]
5232- [ VC: No Duplicate Types ]
5233- [ VC: Unique Element Type Declaration ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005234><P
5235></P
5236><DIV
5237CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005238><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005239NAME="AEN9819"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005240></P
5241><TABLE
5242BORDER="0"
5243WIDTH="100%"
5244BGCOLOR="#FFD0D0"
5245CELLSPACING="0"
5246CELLPADDING="4"
5247CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005248><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005249><TR
5250><TD
5251WIDTH="20%"
5252ALIGN="RIGHT"
5253VALIGN="TOP"
5254><TT
5255CLASS="PARAMETER"
5256><I
5257>ctxt</I
5258></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005259>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005260><TD
5261WIDTH="80%"
5262ALIGN="LEFT"
5263VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005264> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005265></TR
5266><TR
5267><TD
5268WIDTH="20%"
5269ALIGN="RIGHT"
5270VALIGN="TOP"
5271><TT
5272CLASS="PARAMETER"
5273><I
5274>doc</I
5275></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005276>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005277><TD
5278WIDTH="80%"
5279ALIGN="LEFT"
5280VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005281> a document instance</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>elem</I
5292></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005293>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005294><TD
5295WIDTH="80%"
5296ALIGN="LEFT"
5297VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005298> an element definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005299></TR
5300><TR
5301><TD
5302WIDTH="20%"
5303ALIGN="RIGHT"
5304VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005305><SPAN
5306CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005307><I
5308CLASS="EMPHASIS"
5309>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005310></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00005311> :</TD
5312><TD
5313WIDTH="80%"
5314ALIGN="LEFT"
5315VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005316>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005317></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005318></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005319></TABLE
5320><P
5321></P
5322></DIV
5323></DIV
5324><HR><DIV
5325CLASS="REFSECT2"
5326><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005327NAME="AEN9840"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005328></A
5329><H3
5330><A
5331NAME="XMLVALIDNORMALIZEATTRIBUTEVALUE"
5332></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005333>xmlValidNormalizeAttributeValue ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005334><TABLE
5335BORDER="0"
5336BGCOLOR="#D6E8FF"
5337WIDTH="100%"
5338CELLPADDING="6"
5339><TR
5340><TD
5341><PRE
5342CLASS="PROGRAMLISTING"
5343><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005344HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005345>xmlChar</A
5346>* xmlValidNormalizeAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005347HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005348>xmlDocPtr</A
5349> doc,
5350 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005351HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005352>xmlNodePtr</A
5353> elem,
5354 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005355HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005356>xmlChar</A
5357> *name,
5358 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005359HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005360>xmlChar</A
5361> *value);</PRE
5362></TD
5363></TR
5364></TABLE
5365><P
5366>Does the validation related extra step of the normalization of attribute
5367values:</P
5368><P
5369>If the declared value is not CDATA, then the XML processor must further
5370process the normalized attribute value by discarding any leading and
5371trailing space (<GTKDOCLINK
5372HREF="X20"
5373>x20</GTKDOCLINK
5374>) characters, and by replacing sequences of space
5375(<GTKDOCLINK
5376HREF="X20"
5377>x20</GTKDOCLINK
5378>) characters by single space (<GTKDOCLINK
5379HREF="X20"
5380>x20</GTKDOCLINK
5381>) character.</P
5382><P
5383></P
5384><DIV
5385CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005386><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005387NAME="AEN9855"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005388></P
5389><TABLE
5390BORDER="0"
5391WIDTH="100%"
5392BGCOLOR="#FFD0D0"
5393CELLSPACING="0"
5394CELLPADDING="4"
5395CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005396><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005397><TR
5398><TD
5399WIDTH="20%"
5400ALIGN="RIGHT"
5401VALIGN="TOP"
5402><TT
5403CLASS="PARAMETER"
5404><I
5405>doc</I
5406></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005407>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005408><TD
5409WIDTH="80%"
5410ALIGN="LEFT"
5411VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005412> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005413></TR
5414><TR
5415><TD
5416WIDTH="20%"
5417ALIGN="RIGHT"
5418VALIGN="TOP"
5419><TT
5420CLASS="PARAMETER"
5421><I
5422>elem</I
5423></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005424>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005425><TD
5426WIDTH="80%"
5427ALIGN="LEFT"
5428VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005429> the parent</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005430></TR
5431><TR
5432><TD
5433WIDTH="20%"
5434ALIGN="RIGHT"
5435VALIGN="TOP"
5436><TT
5437CLASS="PARAMETER"
5438><I
5439>name</I
5440></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005441>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005442><TD
5443WIDTH="80%"
5444ALIGN="LEFT"
5445VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005446> the attribute name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005447></TR
5448><TR
5449><TD
5450WIDTH="20%"
5451ALIGN="RIGHT"
5452VALIGN="TOP"
5453><TT
5454CLASS="PARAMETER"
5455><I
5456>value</I
5457></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005458>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005459><TD
5460WIDTH="80%"
5461ALIGN="LEFT"
5462VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005463> the attribute value</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005464></TR
5465><TR
5466><TD
5467WIDTH="20%"
5468ALIGN="RIGHT"
5469VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005470><SPAN
5471CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005472><I
5473CLASS="EMPHASIS"
5474>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005475></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005476> :</TD
5477><TD
5478WIDTH="80%"
5479ALIGN="LEFT"
5480VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005481>a new normalized string if normalization is needed, NULL otherwise
Daniel Veillardaf43f632002-03-08 15:05:20 +00005482the caller must free the returned value.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005483></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005484></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005485></TABLE
5486><P
5487></P
5488></DIV
5489></DIV
5490><HR><DIV
5491CLASS="REFSECT2"
5492><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005493NAME="AEN9880"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005494></A
5495><H3
5496><A
5497NAME="XMLVALIDCTXTNORMALIZEATTRIBUTEVALUE"
5498></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005499>xmlValidCtxtNormalizeAttributeValue ()</H3
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005500><TABLE
5501BORDER="0"
5502BGCOLOR="#D6E8FF"
5503WIDTH="100%"
5504CELLPADDING="6"
5505><TR
5506><TD
5507><PRE
5508CLASS="PROGRAMLISTING"
5509><A
5510HREF="libxml-tree.html#XMLCHAR"
5511>xmlChar</A
5512>* xmlValidCtxtNormalizeAttributeValue
5513 (<A
5514HREF="libxml-valid.html#XMLVALIDCTXTPTR"
5515>xmlValidCtxtPtr</A
5516> ctxt,
5517 <A
5518HREF="libxml-tree.html#XMLDOCPTR"
5519>xmlDocPtr</A
5520> doc,
5521 <A
5522HREF="libxml-tree.html#XMLNODEPTR"
5523>xmlNodePtr</A
5524> elem,
5525 const <A
5526HREF="libxml-tree.html#XMLCHAR"
5527>xmlChar</A
5528> *name,
5529 const <A
5530HREF="libxml-tree.html#XMLCHAR"
5531>xmlChar</A
5532> *value);</PRE
5533></TD
5534></TR
5535></TABLE
5536><P
5537>Does the validation related extra step of the normalization of attribute
5538values:</P
5539><P
5540>If the declared value is not CDATA, then the XML processor must further
5541process the normalized attribute value by discarding any leading and
5542trailing space (<GTKDOCLINK
5543HREF="X20"
5544>x20</GTKDOCLINK
5545>) characters, and by replacing sequences of space
5546(<GTKDOCLINK
5547HREF="X20"
5548>x20</GTKDOCLINK
5549>) characters by single space (<GTKDOCLINK
5550HREF="X20"
5551>x20</GTKDOCLINK
5552>) character.</P
5553><P
5554>Also check VC: Standalone Document Declaration in P32, and update
Daniel Veillardaf43f632002-03-08 15:05:20 +00005555ctxt-&gt;valid accordingly</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005556><P
5557></P
5558><DIV
5559CLASS="INFORMALTABLE"
5560><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005561NAME="AEN9897"><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005562></P
5563><TABLE
5564BORDER="0"
5565WIDTH="100%"
5566BGCOLOR="#FFD0D0"
5567CELLSPACING="0"
5568CELLPADDING="4"
5569CLASS="CALSTABLE"
5570><TBODY
5571><TR
5572><TD
5573WIDTH="20%"
5574ALIGN="RIGHT"
5575VALIGN="TOP"
5576><TT
5577CLASS="PARAMETER"
5578><I
5579>ctxt</I
5580></TT
5581>&nbsp;:</TD
5582><TD
5583WIDTH="80%"
5584ALIGN="LEFT"
5585VALIGN="TOP"
5586> the validation context</TD
5587></TR
5588><TR
5589><TD
5590WIDTH="20%"
5591ALIGN="RIGHT"
5592VALIGN="TOP"
5593><TT
5594CLASS="PARAMETER"
5595><I
5596>doc</I
5597></TT
5598>&nbsp;:</TD
5599><TD
5600WIDTH="80%"
5601ALIGN="LEFT"
5602VALIGN="TOP"
5603> the document</TD
5604></TR
5605><TR
5606><TD
5607WIDTH="20%"
5608ALIGN="RIGHT"
5609VALIGN="TOP"
5610><TT
5611CLASS="PARAMETER"
5612><I
5613>elem</I
5614></TT
5615>&nbsp;:</TD
5616><TD
5617WIDTH="80%"
5618ALIGN="LEFT"
5619VALIGN="TOP"
5620> the parent</TD
5621></TR
5622><TR
5623><TD
5624WIDTH="20%"
5625ALIGN="RIGHT"
5626VALIGN="TOP"
5627><TT
5628CLASS="PARAMETER"
5629><I
5630>name</I
5631></TT
5632>&nbsp;:</TD
5633><TD
5634WIDTH="80%"
5635ALIGN="LEFT"
5636VALIGN="TOP"
5637> the attribute name</TD
5638></TR
5639><TR
5640><TD
5641WIDTH="20%"
5642ALIGN="RIGHT"
5643VALIGN="TOP"
5644><TT
5645CLASS="PARAMETER"
5646><I
5647>value</I
5648></TT
5649>&nbsp;:</TD
5650><TD
5651WIDTH="80%"
5652ALIGN="LEFT"
5653VALIGN="TOP"
5654> the attribute value</TD
5655></TR
5656><TR
5657><TD
5658WIDTH="20%"
5659ALIGN="RIGHT"
5660VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005661><SPAN
5662CLASS="emphasis"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005663><I
5664CLASS="EMPHASIS"
5665>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005666></SPAN
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005667> :</TD
5668><TD
5669WIDTH="80%"
5670ALIGN="LEFT"
5671VALIGN="TOP"
5672>a new normalized string if normalization is needed, NULL otherwise
Daniel Veillardaf43f632002-03-08 15:05:20 +00005673the caller must free the returned value.</TD
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005674></TR
5675></TBODY
5676></TABLE
5677><P
5678></P
5679></DIV
5680></DIV
5681><HR><DIV
5682CLASS="REFSECT2"
5683><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005684NAME="AEN9926"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005685></A
5686><H3
5687><A
5688NAME="XMLVALIDATEATTRIBUTEDECL"
5689></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005690>xmlValidateAttributeDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005691><TABLE
5692BORDER="0"
5693BGCOLOR="#D6E8FF"
5694WIDTH="100%"
5695CELLPADDING="6"
5696><TR
5697><TD
5698><PRE
5699CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005700>int xmlValidateAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005701HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005702>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005703> ctxt,
5704 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005705HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005706>xmlDocPtr</A
5707> doc,
5708 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005709HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005710>xmlAttributePtr</A
5711> attr);</PRE
5712></TD
5713></TR
5714></TABLE
5715><P
5716>Try to validate a single attribute definition
5717basically it does the following checks as described by the
5718XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005719- [ VC: Attribute Default Legal ]
5720- [ VC: Enumeration ]
5721- [ VC: ID Attribute Default ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005722><P
5723>The ID/IDREF uniqueness and matching are done separately</P
5724><P
5725></P
5726><DIV
5727CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005728><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005729NAME="AEN9936"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005730></P
5731><TABLE
5732BORDER="0"
5733WIDTH="100%"
5734BGCOLOR="#FFD0D0"
5735CELLSPACING="0"
5736CELLPADDING="4"
5737CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005738><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005739><TR
5740><TD
5741WIDTH="20%"
5742ALIGN="RIGHT"
5743VALIGN="TOP"
5744><TT
5745CLASS="PARAMETER"
5746><I
5747>ctxt</I
5748></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005749>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005750><TD
5751WIDTH="80%"
5752ALIGN="LEFT"
5753VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005754> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005755></TR
5756><TR
5757><TD
5758WIDTH="20%"
5759ALIGN="RIGHT"
5760VALIGN="TOP"
5761><TT
5762CLASS="PARAMETER"
5763><I
5764>doc</I
5765></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005766>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005767><TD
5768WIDTH="80%"
5769ALIGN="LEFT"
5770VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005771> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005772></TR
5773><TR
5774><TD
5775WIDTH="20%"
5776ALIGN="RIGHT"
5777VALIGN="TOP"
5778><TT
5779CLASS="PARAMETER"
5780><I
5781>attr</I
5782></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005783>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005784><TD
5785WIDTH="80%"
5786ALIGN="LEFT"
5787VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005788> an attribute definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005789></TR
5790><TR
5791><TD
5792WIDTH="20%"
5793ALIGN="RIGHT"
5794VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005795><SPAN
5796CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005797><I
5798CLASS="EMPHASIS"
5799>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005800></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00005801> :</TD
5802><TD
5803WIDTH="80%"
5804ALIGN="LEFT"
5805VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005806>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005807></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005808></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005809></TABLE
5810><P
5811></P
5812></DIV
5813></DIV
5814><HR><DIV
5815CLASS="REFSECT2"
5816><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005817NAME="AEN9957"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005818></A
5819><H3
5820><A
5821NAME="XMLVALIDATEATTRIBUTEVALUE"
5822></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005823>xmlValidateAttributeValue ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005824><TABLE
5825BORDER="0"
5826BGCOLOR="#D6E8FF"
5827WIDTH="100%"
5828CELLPADDING="6"
5829><TR
5830><TD
5831><PRE
5832CLASS="PROGRAMLISTING"
5833>int xmlValidateAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005834HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005835>xmlAttributeType</A
5836> type,
5837 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005838HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005839>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005840> *value);</PRE
5841></TD
5842></TR
5843></TABLE
5844><P
5845>Validate that the given attribute value match the proper production</P
5846><P
5847>[ VC: ID ]
5848Values of type ID must match the Name production....</P
5849><P
5850>[ VC: IDREF ]
5851Values of type IDREF must match the Name production, and values
5852of type IDREFS must match Names ...</P
5853><P
5854>[ VC: Entity Name ]
5855Values of type ENTITY must match the Name production, values
5856of type ENTITIES must match Names ...</P
5857><P
5858>[ VC: Name Token ]
5859Values of type NMTOKEN must match the Nmtoken production; values
5860of type NMTOKENS must match Nmtokens.</P
5861><P
5862></P
5863><DIV
5864CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005865><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005866NAME="AEN9969"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005867></P
5868><TABLE
5869BORDER="0"
5870WIDTH="100%"
5871BGCOLOR="#FFD0D0"
5872CELLSPACING="0"
5873CELLPADDING="4"
5874CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005875><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005876><TR
5877><TD
5878WIDTH="20%"
5879ALIGN="RIGHT"
5880VALIGN="TOP"
5881><TT
5882CLASS="PARAMETER"
5883><I
5884>type</I
5885></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005886>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005887><TD
5888WIDTH="80%"
5889ALIGN="LEFT"
5890VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005891> an attribute type</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005892></TR
5893><TR
5894><TD
5895WIDTH="20%"
5896ALIGN="RIGHT"
5897VALIGN="TOP"
5898><TT
5899CLASS="PARAMETER"
5900><I
5901>value</I
5902></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005903>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005904><TD
5905WIDTH="80%"
5906ALIGN="LEFT"
5907VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005908> an attribute value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005909></TR
5910><TR
5911><TD
5912WIDTH="20%"
5913ALIGN="RIGHT"
5914VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005915><SPAN
5916CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005917><I
5918CLASS="EMPHASIS"
5919>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005920></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005921> :</TD
5922><TD
5923WIDTH="80%"
5924ALIGN="LEFT"
5925VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005926>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005927></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005928></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005929></TABLE
5930><P
5931></P
5932></DIV
5933></DIV
5934><HR><DIV
5935CLASS="REFSECT2"
5936><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005937NAME="AEN9986"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005938></A
5939><H3
5940><A
5941NAME="XMLVALIDATENOTATIONDECL"
5942></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005943>xmlValidateNotationDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005944><TABLE
5945BORDER="0"
5946BGCOLOR="#D6E8FF"
5947WIDTH="100%"
5948CELLPADDING="6"
5949><TR
5950><TD
5951><PRE
5952CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005953>int xmlValidateNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005954HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005955>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005956> ctxt,
5957 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005958HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005959>xmlDocPtr</A
5960> doc,
5961 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005962HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005963>xmlNotationPtr</A
5964> nota);</PRE
5965></TD
5966></TR
5967></TABLE
5968><P
5969>Try to validate a single notation definition
5970basically it does the following checks as described by the
5971XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005972- it seems that no validity constraint exists on notation declarations
Daniel Veillardb05deb71999-08-10 19:04:08 +00005973But this function get called anyway ...</P
5974><P
5975></P
5976><DIV
5977CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005978><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005979NAME="AEN9995"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005980></P
5981><TABLE
5982BORDER="0"
5983WIDTH="100%"
5984BGCOLOR="#FFD0D0"
5985CELLSPACING="0"
5986CELLPADDING="4"
5987CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005988><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005989><TR
5990><TD
5991WIDTH="20%"
5992ALIGN="RIGHT"
5993VALIGN="TOP"
5994><TT
5995CLASS="PARAMETER"
5996><I
5997>ctxt</I
5998></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005999>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006000><TD
6001WIDTH="80%"
6002ALIGN="LEFT"
6003VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006004> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006005></TR
6006><TR
6007><TD
6008WIDTH="20%"
6009ALIGN="RIGHT"
6010VALIGN="TOP"
6011><TT
6012CLASS="PARAMETER"
6013><I
6014>doc</I
6015></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006016>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006017><TD
6018WIDTH="80%"
6019ALIGN="LEFT"
6020VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006021> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006022></TR
6023><TR
6024><TD
6025WIDTH="20%"
6026ALIGN="RIGHT"
6027VALIGN="TOP"
6028><TT
6029CLASS="PARAMETER"
6030><I
6031>nota</I
6032></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006033>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006034><TD
6035WIDTH="80%"
6036ALIGN="LEFT"
6037VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006038> a notation definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006039></TR
6040><TR
6041><TD
6042WIDTH="20%"
6043ALIGN="RIGHT"
6044VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006045><SPAN
6046CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006047><I
6048CLASS="EMPHASIS"
6049>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006050></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006051> :</TD
6052><TD
6053WIDTH="80%"
6054ALIGN="LEFT"
6055VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006056>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006057></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006058></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006059></TABLE
6060><P
6061></P
6062></DIV
6063></DIV
6064><HR><DIV
6065CLASS="REFSECT2"
6066><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006067NAME="AEN10016"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006068></A
6069><H3
6070><A
6071NAME="XMLVALIDATEDTD"
6072></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006073>xmlValidateDtd ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006074><TABLE
6075BORDER="0"
6076BGCOLOR="#D6E8FF"
6077WIDTH="100%"
6078CELLPADDING="6"
6079><TR
6080><TD
6081><PRE
6082CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006083>int xmlValidateDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006084HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006085>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006086> ctxt,
6087 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006088HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006089>xmlDocPtr</A
6090> doc,
6091 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006092HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006093>xmlDtdPtr</A
6094> dtd);</PRE
6095></TD
6096></TR
6097></TABLE
6098><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006099>Try to validate the document against the dtd instance</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006100><P
6101>basically it does check all the definitions in the DtD.</P
6102><P
6103></P
6104><DIV
6105CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006106><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006107NAME="AEN10026"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006108></P
6109><TABLE
6110BORDER="0"
6111WIDTH="100%"
6112BGCOLOR="#FFD0D0"
6113CELLSPACING="0"
6114CELLPADDING="4"
6115CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006116><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006117><TR
6118><TD
6119WIDTH="20%"
6120ALIGN="RIGHT"
6121VALIGN="TOP"
6122><TT
6123CLASS="PARAMETER"
6124><I
6125>ctxt</I
6126></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006127>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006128><TD
6129WIDTH="80%"
6130ALIGN="LEFT"
6131VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006132> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006133></TR
6134><TR
6135><TD
6136WIDTH="20%"
6137ALIGN="RIGHT"
6138VALIGN="TOP"
6139><TT
6140CLASS="PARAMETER"
6141><I
6142>doc</I
6143></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006144>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006145><TD
6146WIDTH="80%"
6147ALIGN="LEFT"
6148VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006149> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006150></TR
6151><TR
6152><TD
6153WIDTH="20%"
6154ALIGN="RIGHT"
6155VALIGN="TOP"
6156><TT
6157CLASS="PARAMETER"
6158><I
6159>dtd</I
6160></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006161>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006162><TD
6163WIDTH="80%"
6164ALIGN="LEFT"
6165VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006166> a dtd instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006167></TR
6168><TR
6169><TD
6170WIDTH="20%"
6171ALIGN="RIGHT"
6172VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006173><SPAN
6174CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006175><I
6176CLASS="EMPHASIS"
6177>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006178></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006179> :</TD
6180><TD
6181WIDTH="80%"
6182ALIGN="LEFT"
6183VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006184>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006185></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006186></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006187></TABLE
6188><P
6189></P
6190></DIV
6191></DIV
6192><HR><DIV
6193CLASS="REFSECT2"
6194><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006195NAME="AEN10047"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006196></A
6197><H3
6198><A
6199NAME="XMLVALIDATEDTDFINAL"
6200></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006201>xmlValidateDtdFinal ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006202><TABLE
6203BORDER="0"
6204BGCOLOR="#D6E8FF"
6205WIDTH="100%"
6206CELLPADDING="6"
6207><TR
6208><TD
6209><PRE
6210CLASS="PROGRAMLISTING"
6211>int xmlValidateDtdFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006212HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006213>xmlValidCtxtPtr</A
6214> ctxt,
6215 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006216HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006217>xmlDocPtr</A
6218> doc);</PRE
6219></TD
6220></TR
6221></TABLE
6222><P
6223>Does the final step for the dtds validation once all the
6224subsets have been parsed</P
6225><P
6226>basically it does the following checks described by the XML Rec
6227- check that ENTITY and ENTITIES type attributes default or
Daniel Veillardaf43f632002-03-08 15:05:20 +00006228possible values matches one of the defined entities.
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006229- check that NOTATION type attributes default or
Daniel Veillardaf43f632002-03-08 15:05:20 +00006230possible values matches one of the defined notations.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006231><P
6232></P
6233><DIV
6234CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006235><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006236NAME="AEN10056"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006237></P
6238><TABLE
6239BORDER="0"
6240WIDTH="100%"
6241BGCOLOR="#FFD0D0"
6242CELLSPACING="0"
6243CELLPADDING="4"
6244CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006245><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006246><TR
6247><TD
6248WIDTH="20%"
6249ALIGN="RIGHT"
6250VALIGN="TOP"
6251><TT
6252CLASS="PARAMETER"
6253><I
6254>ctxt</I
6255></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006256>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006257><TD
6258WIDTH="80%"
6259ALIGN="LEFT"
6260VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006261> the validation context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006262></TR
6263><TR
6264><TD
6265WIDTH="20%"
6266ALIGN="RIGHT"
6267VALIGN="TOP"
6268><TT
6269CLASS="PARAMETER"
6270><I
6271>doc</I
6272></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006273>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006274><TD
6275WIDTH="80%"
6276ALIGN="LEFT"
6277VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006278> a document instance</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006279></TR
6280><TR
6281><TD
6282WIDTH="20%"
6283ALIGN="RIGHT"
6284VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006285><SPAN
6286CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006287><I
6288CLASS="EMPHASIS"
6289>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006290></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006291> :</TD
6292><TD
6293WIDTH="80%"
6294ALIGN="LEFT"
6295VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006296>1 if valid or 0 if invalid and -1 if not well-formed</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006297></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006298></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006299></TABLE
6300><P
6301></P
6302></DIV
6303></DIV
6304><HR><DIV
6305CLASS="REFSECT2"
6306><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006307NAME="AEN10073"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006308></A
6309><H3
6310><A
6311NAME="XMLVALIDATEDOCUMENT"
6312></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006313>xmlValidateDocument ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006314><TABLE
6315BORDER="0"
6316BGCOLOR="#D6E8FF"
6317WIDTH="100%"
6318CELLPADDING="6"
6319><TR
6320><TD
6321><PRE
6322CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006323>int xmlValidateDocument (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006324HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006325>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006326> ctxt,
6327 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006328HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006329>xmlDocPtr</A
6330> doc);</PRE
6331></TD
6332></TR
6333></TABLE
6334><P
6335>Try to validate the document instance</P
6336><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006337>basically it does the all the checks described by the XML Rec
Daniel Veillardb05deb71999-08-10 19:04:08 +00006338i.e. validates the internal and external subset (if present)
6339and validate the document tree.</P
6340><P
6341></P
6342><DIV
6343CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006344><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006345NAME="AEN10082"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006346></P
6347><TABLE
6348BORDER="0"
6349WIDTH="100%"
6350BGCOLOR="#FFD0D0"
6351CELLSPACING="0"
6352CELLPADDING="4"
6353CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006354><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006355><TR
6356><TD
6357WIDTH="20%"
6358ALIGN="RIGHT"
6359VALIGN="TOP"
6360><TT
6361CLASS="PARAMETER"
6362><I
6363>ctxt</I
6364></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006365>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006366><TD
6367WIDTH="80%"
6368ALIGN="LEFT"
6369VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006370> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006371></TR
6372><TR
6373><TD
6374WIDTH="20%"
6375ALIGN="RIGHT"
6376VALIGN="TOP"
6377><TT
6378CLASS="PARAMETER"
6379><I
6380>doc</I
6381></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006382>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006383><TD
6384WIDTH="80%"
6385ALIGN="LEFT"
6386VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006387> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006388></TR
6389><TR
6390><TD
6391WIDTH="20%"
6392ALIGN="RIGHT"
6393VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006394><SPAN
6395CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006396><I
6397CLASS="EMPHASIS"
6398>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006399></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006400> :</TD
6401><TD
6402WIDTH="80%"
6403ALIGN="LEFT"
6404VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006405>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006406></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006407></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006408></TABLE
6409><P
6410></P
6411></DIV
6412></DIV
6413><HR><DIV
6414CLASS="REFSECT2"
6415><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006416NAME="AEN10099"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006417></A
6418><H3
6419><A
6420NAME="XMLVALIDATEELEMENT"
6421></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006422>xmlValidateElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006423><TABLE
6424BORDER="0"
6425BGCOLOR="#D6E8FF"
6426WIDTH="100%"
6427CELLPADDING="6"
6428><TR
6429><TD
6430><PRE
6431CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006432>int xmlValidateElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006433HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006434>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006435> ctxt,
6436 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006437HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006438>xmlDocPtr</A
6439> doc,
6440 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006441HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006442>xmlNodePtr</A
6443> elem);</PRE
6444></TD
6445></TR
6446></TABLE
6447><P
6448>Try to validate the subtree under an element</P
6449><P
6450></P
6451><DIV
6452CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006453><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006454NAME="AEN10108"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006455></P
6456><TABLE
6457BORDER="0"
6458WIDTH="100%"
6459BGCOLOR="#FFD0D0"
6460CELLSPACING="0"
6461CELLPADDING="4"
6462CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006463><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006464><TR
6465><TD
6466WIDTH="20%"
6467ALIGN="RIGHT"
6468VALIGN="TOP"
6469><TT
6470CLASS="PARAMETER"
6471><I
6472>ctxt</I
6473></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006474>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006475><TD
6476WIDTH="80%"
6477ALIGN="LEFT"
6478VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006479> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006480></TR
6481><TR
6482><TD
6483WIDTH="20%"
6484ALIGN="RIGHT"
6485VALIGN="TOP"
6486><TT
6487CLASS="PARAMETER"
6488><I
6489>doc</I
6490></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006491>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006492><TD
6493WIDTH="80%"
6494ALIGN="LEFT"
6495VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006496> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006497></TR
6498><TR
6499><TD
6500WIDTH="20%"
6501ALIGN="RIGHT"
6502VALIGN="TOP"
6503><TT
6504CLASS="PARAMETER"
6505><I
6506>elem</I
6507></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006508>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006509><TD
6510WIDTH="80%"
6511ALIGN="LEFT"
6512VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006513> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006514></TR
6515><TR
6516><TD
6517WIDTH="20%"
6518ALIGN="RIGHT"
6519VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006520><SPAN
6521CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006522><I
6523CLASS="EMPHASIS"
6524>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006525></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006526> :</TD
6527><TD
6528WIDTH="80%"
6529ALIGN="LEFT"
6530VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006531>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006532></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006533></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006534></TABLE
6535><P
6536></P
6537></DIV
6538></DIV
6539><HR><DIV
6540CLASS="REFSECT2"
6541><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006542NAME="AEN10129"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006543></A
6544><H3
6545><A
6546NAME="XMLVALIDATEONEELEMENT"
6547></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006548>xmlValidateOneElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006549><TABLE
6550BORDER="0"
6551BGCOLOR="#D6E8FF"
6552WIDTH="100%"
6553CELLPADDING="6"
6554><TR
6555><TD
6556><PRE
6557CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006558>int xmlValidateOneElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006559HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006560>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006561> ctxt,
6562 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006563HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006564>xmlDocPtr</A
6565> doc,
6566 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006567HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006568>xmlNodePtr</A
6569> elem);</PRE
6570></TD
6571></TR
6572></TABLE
6573><P
6574>Try to validate a single element and it's attributes,
6575basically it does the following checks as described by the
6576XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00006577- [ VC: Element Valid ]
6578- [ VC: Required Attribute ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00006579Then call <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006580HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006581>xmlValidateOneAttribute</A
6582>() for each attribute present.</P
6583><P
6584>The ID/IDREF checkings are done separately</P
6585><P
6586></P
6587><DIV
6588CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006589><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006590NAME="AEN10140"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006591></P
6592><TABLE
6593BORDER="0"
6594WIDTH="100%"
6595BGCOLOR="#FFD0D0"
6596CELLSPACING="0"
6597CELLPADDING="4"
6598CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006599><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006600><TR
6601><TD
6602WIDTH="20%"
6603ALIGN="RIGHT"
6604VALIGN="TOP"
6605><TT
6606CLASS="PARAMETER"
6607><I
6608>ctxt</I
6609></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006610>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006611><TD
6612WIDTH="80%"
6613ALIGN="LEFT"
6614VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006615> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006616></TR
6617><TR
6618><TD
6619WIDTH="20%"
6620ALIGN="RIGHT"
6621VALIGN="TOP"
6622><TT
6623CLASS="PARAMETER"
6624><I
6625>doc</I
6626></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006627>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006628><TD
6629WIDTH="80%"
6630ALIGN="LEFT"
6631VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006632> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006633></TR
6634><TR
6635><TD
6636WIDTH="20%"
6637ALIGN="RIGHT"
6638VALIGN="TOP"
6639><TT
6640CLASS="PARAMETER"
6641><I
6642>elem</I
6643></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006644>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006645><TD
6646WIDTH="80%"
6647ALIGN="LEFT"
6648VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006649> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006650></TR
6651><TR
6652><TD
6653WIDTH="20%"
6654ALIGN="RIGHT"
6655VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006656><SPAN
6657CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006658><I
6659CLASS="EMPHASIS"
6660>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006661></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006662> :</TD
6663><TD
6664WIDTH="80%"
6665ALIGN="LEFT"
6666VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006667>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006668></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006669></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006670></TABLE
6671><P
6672></P
6673></DIV
6674></DIV
6675><HR><DIV
6676CLASS="REFSECT2"
6677><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006678NAME="AEN10161"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006679></A
6680><H3
6681><A
6682NAME="XMLVALIDATEONEATTRIBUTE"
6683></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006684>xmlValidateOneAttribute ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006685><TABLE
6686BORDER="0"
6687BGCOLOR="#D6E8FF"
6688WIDTH="100%"
6689CELLPADDING="6"
6690><TR
6691><TD
6692><PRE
6693CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006694>int xmlValidateOneAttribute (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006695HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006696>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006697> ctxt,
6698 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006699HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006700>xmlDocPtr</A
6701> doc,
6702 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006703HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006704>xmlNodePtr</A
6705> elem,
6706 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006707HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006708>xmlAttrPtr</A
6709> attr,
6710 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006711HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006712>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006713> *value);</PRE
6714></TD
6715></TR
6716></TABLE
6717><P
6718>Try to validate a single attribute for an element
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006719basically it does the following checks as described by the
Daniel Veillardb05deb71999-08-10 19:04:08 +00006720XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00006721- [ VC: Attribute Value Type ]
6722- [ VC: Fixed Attribute Default ]
6723- [ VC: Entity Name ]
6724- [ VC: Name Token ]
6725- [ VC: ID ]
6726- [ VC: IDREF ]
6727- [ VC: Entity Name ]
6728- [ VC: Notation Attributes ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006729><P
6730>The ID/IDREF uniqueness and matching are done separately</P
6731><P
6732></P
6733><DIV
6734CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006735><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006736NAME="AEN10173"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006737></P
6738><TABLE
6739BORDER="0"
6740WIDTH="100%"
6741BGCOLOR="#FFD0D0"
6742CELLSPACING="0"
6743CELLPADDING="4"
6744CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006745><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006746><TR
6747><TD
6748WIDTH="20%"
6749ALIGN="RIGHT"
6750VALIGN="TOP"
6751><TT
6752CLASS="PARAMETER"
6753><I
6754>ctxt</I
6755></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006756>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006757><TD
6758WIDTH="80%"
6759ALIGN="LEFT"
6760VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006761> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006762></TR
6763><TR
6764><TD
6765WIDTH="20%"
6766ALIGN="RIGHT"
6767VALIGN="TOP"
6768><TT
6769CLASS="PARAMETER"
6770><I
6771>doc</I
6772></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006773>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006774><TD
6775WIDTH="80%"
6776ALIGN="LEFT"
6777VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006778> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006779></TR
6780><TR
6781><TD
6782WIDTH="20%"
6783ALIGN="RIGHT"
6784VALIGN="TOP"
6785><TT
6786CLASS="PARAMETER"
6787><I
6788>elem</I
6789></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006790>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006791><TD
6792WIDTH="80%"
6793ALIGN="LEFT"
6794VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006795> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006796></TR
6797><TR
6798><TD
6799WIDTH="20%"
6800ALIGN="RIGHT"
6801VALIGN="TOP"
6802><TT
6803CLASS="PARAMETER"
6804><I
6805>attr</I
6806></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006807>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006808><TD
6809WIDTH="80%"
6810ALIGN="LEFT"
6811VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006812> an attribute instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006813></TR
6814><TR
6815><TD
6816WIDTH="20%"
6817ALIGN="RIGHT"
6818VALIGN="TOP"
6819><TT
6820CLASS="PARAMETER"
6821><I
6822>value</I
6823></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006824>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006825><TD
6826WIDTH="80%"
6827ALIGN="LEFT"
6828VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006829> the attribute value (without entities processing)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006830></TR
6831><TR
6832><TD
6833WIDTH="20%"
6834ALIGN="RIGHT"
6835VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006836><SPAN
6837CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006838><I
6839CLASS="EMPHASIS"
6840>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006841></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006842> :</TD
6843><TD
6844WIDTH="80%"
6845ALIGN="LEFT"
6846VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006847>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006848></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006849></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006850></TABLE
6851><P
6852></P
6853></DIV
6854></DIV
6855><HR><DIV
6856CLASS="REFSECT2"
6857><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006858NAME="AEN10202"
6859></A
6860><H3
6861><A
6862NAME="XMLVALIDATEONENAMESPACE"
6863></A
6864>xmlValidateOneNamespace ()</H3
6865><TABLE
6866BORDER="0"
6867BGCOLOR="#D6E8FF"
6868WIDTH="100%"
6869CELLPADDING="6"
6870><TR
6871><TD
6872><PRE
6873CLASS="PROGRAMLISTING"
6874>int xmlValidateOneNamespace (<A
6875HREF="libxml-valid.html#XMLVALIDCTXTPTR"
6876>xmlValidCtxtPtr</A
6877> ctxt,
6878 <A
6879HREF="libxml-tree.html#XMLDOCPTR"
6880>xmlDocPtr</A
6881> doc,
6882 <A
6883HREF="libxml-tree.html#XMLNODEPTR"
6884>xmlNodePtr</A
6885> elem,
6886 const <A
6887HREF="libxml-tree.html#XMLCHAR"
6888>xmlChar</A
6889> *prefix,
6890 <A
6891HREF="libxml-tree.html#XMLNSPTR"
6892>xmlNsPtr</A
6893> ns,
6894 const <A
6895HREF="libxml-tree.html#XMLCHAR"
6896>xmlChar</A
6897> *value);</PRE
6898></TD
6899></TR
6900></TABLE
6901><P
6902>Try to validate a single namespace declaration for an element
6903basically it does the following checks as described by the
6904XML-1.0 recommendation:
6905- [ VC: Attribute Value Type ]
6906- [ VC: Fixed Attribute Default ]
6907- [ VC: Entity Name ]
6908- [ VC: Name Token ]
6909- [ VC: ID ]
6910- [ VC: IDREF ]
6911- [ VC: Entity Name ]
6912- [ VC: Notation Attributes ]</P
6913><P
6914>The ID/IDREF uniqueness and matching are done separately</P
6915><P
6916></P
6917><DIV
6918CLASS="INFORMALTABLE"
6919><A
6920NAME="AEN10215"><P
6921></P
6922><TABLE
6923BORDER="0"
6924WIDTH="100%"
6925BGCOLOR="#FFD0D0"
6926CELLSPACING="0"
6927CELLPADDING="4"
6928CLASS="CALSTABLE"
6929><TBODY
6930><TR
6931><TD
6932WIDTH="20%"
6933ALIGN="RIGHT"
6934VALIGN="TOP"
6935><TT
6936CLASS="PARAMETER"
6937><I
6938>ctxt</I
6939></TT
6940>&nbsp;:</TD
6941><TD
6942WIDTH="80%"
6943ALIGN="LEFT"
6944VALIGN="TOP"
6945> the validation context</TD
6946></TR
6947><TR
6948><TD
6949WIDTH="20%"
6950ALIGN="RIGHT"
6951VALIGN="TOP"
6952><TT
6953CLASS="PARAMETER"
6954><I
6955>doc</I
6956></TT
6957>&nbsp;:</TD
6958><TD
6959WIDTH="80%"
6960ALIGN="LEFT"
6961VALIGN="TOP"
6962> a document instance</TD
6963></TR
6964><TR
6965><TD
6966WIDTH="20%"
6967ALIGN="RIGHT"
6968VALIGN="TOP"
6969><TT
6970CLASS="PARAMETER"
6971><I
6972>elem</I
6973></TT
6974>&nbsp;:</TD
6975><TD
6976WIDTH="80%"
6977ALIGN="LEFT"
6978VALIGN="TOP"
6979> an element instance</TD
6980></TR
6981><TR
6982><TD
6983WIDTH="20%"
6984ALIGN="RIGHT"
6985VALIGN="TOP"
6986><TT
6987CLASS="PARAMETER"
6988><I
6989>prefix</I
6990></TT
6991>&nbsp;:</TD
6992><TD
6993WIDTH="80%"
6994ALIGN="LEFT"
6995VALIGN="TOP"
6996>&nbsp;</TD
6997></TR
6998><TR
6999><TD
7000WIDTH="20%"
7001ALIGN="RIGHT"
7002VALIGN="TOP"
7003><TT
7004CLASS="PARAMETER"
7005><I
7006>ns</I
7007></TT
7008>&nbsp;:</TD
7009><TD
7010WIDTH="80%"
7011ALIGN="LEFT"
7012VALIGN="TOP"
7013> an namespace declaration instance</TD
7014></TR
7015><TR
7016><TD
7017WIDTH="20%"
7018ALIGN="RIGHT"
7019VALIGN="TOP"
7020><TT
7021CLASS="PARAMETER"
7022><I
7023>value</I
7024></TT
7025>&nbsp;:</TD
7026><TD
7027WIDTH="80%"
7028ALIGN="LEFT"
7029VALIGN="TOP"
7030> the attribute value (without entities processing)</TD
7031></TR
7032><TR
7033><TD
7034WIDTH="20%"
7035ALIGN="RIGHT"
7036VALIGN="TOP"
7037><SPAN
7038CLASS="emphasis"
7039><I
7040CLASS="EMPHASIS"
7041>Returns</I
7042></SPAN
7043> :</TD
7044><TD
7045WIDTH="80%"
7046ALIGN="LEFT"
7047VALIGN="TOP"
7048>1 if valid or 0 otherwise</TD
7049></TR
7050></TBODY
7051></TABLE
7052><P
7053></P
7054></DIV
7055></DIV
7056><HR><DIV
7057CLASS="REFSECT2"
7058><A
7059NAME="AEN10248"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007060></A
7061><H3
7062><A
7063NAME="XMLVALIDATEDOCUMENTFINAL"
7064></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007065>xmlValidateDocumentFinal ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007066><TABLE
7067BORDER="0"
7068BGCOLOR="#D6E8FF"
7069WIDTH="100%"
7070CELLPADDING="6"
7071><TR
7072><TD
7073><PRE
7074CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007075>int xmlValidateDocumentFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007076HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007077>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007078> ctxt,
7079 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007080HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007081>xmlDocPtr</A
7082> doc);</PRE
7083></TD
7084></TR
7085></TABLE
7086><P
7087>Does the final step for the document validation once all the
7088incremental validation steps have been completed</P
7089><P
7090>basically it does the following checks described by the XML Rec</P
7091><P
7092></P
7093><DIV
7094CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007095><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007096NAME="AEN10257"><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007097></P
7098><TABLE
7099BORDER="0"
7100WIDTH="100%"
7101BGCOLOR="#FFD0D0"
7102CELLSPACING="0"
7103CELLPADDING="4"
7104CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007105><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007106><TR
7107><TD
7108WIDTH="20%"
7109ALIGN="RIGHT"
7110VALIGN="TOP"
7111><TT
7112CLASS="PARAMETER"
7113><I
7114>ctxt</I
7115></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007116>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007117><TD
7118WIDTH="80%"
7119ALIGN="LEFT"
7120VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007121> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007122></TR
7123><TR
7124><TD
7125WIDTH="20%"
7126ALIGN="RIGHT"
7127VALIGN="TOP"
7128><TT
7129CLASS="PARAMETER"
7130><I
7131>doc</I
7132></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007133>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007134><TD
7135WIDTH="80%"
7136ALIGN="LEFT"
7137VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007138> a document instance</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007139></TR
7140><TR
7141><TD
7142WIDTH="20%"
7143ALIGN="RIGHT"
7144VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007145><SPAN
7146CLASS="emphasis"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007147><I
7148CLASS="EMPHASIS"
7149>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007150></SPAN
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007151> :</TD
7152><TD
7153WIDTH="80%"
7154ALIGN="LEFT"
7155VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007156>1 if valid or 0 otherwise</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007157></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007158></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007159></TABLE
7160><P
7161></P
7162></DIV
7163></DIV
7164><HR><DIV
7165CLASS="REFSECT2"
7166><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007167NAME="AEN10274"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007168></A
7169><H3
7170><A
7171NAME="XMLVALIDATENOTATIONUSE"
7172></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007173>xmlValidateNotationUse ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007174><TABLE
7175BORDER="0"
7176BGCOLOR="#D6E8FF"
7177WIDTH="100%"
7178CELLPADDING="6"
7179><TR
7180><TD
7181><PRE
7182CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007183>int xmlValidateNotationUse (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007184HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007185>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007186> ctxt,
7187 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007188HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007189>xmlDocPtr</A
7190> doc,
7191 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007192HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007193>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007194> *notationName);</PRE
7195></TD
7196></TR
7197></TABLE
7198><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007199>Validate that the given name match a notation declaration.
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007200- [ VC: Notation Declared ]</P
7201><P
7202></P
7203><DIV
7204CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007205><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007206NAME="AEN10283"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007207></P
7208><TABLE
7209BORDER="0"
7210WIDTH="100%"
7211BGCOLOR="#FFD0D0"
7212CELLSPACING="0"
7213CELLPADDING="4"
7214CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007215><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007216><TR
7217><TD
7218WIDTH="20%"
7219ALIGN="RIGHT"
7220VALIGN="TOP"
7221><TT
7222CLASS="PARAMETER"
7223><I
7224>ctxt</I
7225></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007226>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007227><TD
7228WIDTH="80%"
7229ALIGN="LEFT"
7230VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007231> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007232></TR
7233><TR
7234><TD
7235WIDTH="20%"
7236ALIGN="RIGHT"
7237VALIGN="TOP"
7238><TT
7239CLASS="PARAMETER"
7240><I
7241>doc</I
7242></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007243>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007244><TD
7245WIDTH="80%"
7246ALIGN="LEFT"
7247VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007248> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007249></TR
7250><TR
7251><TD
7252WIDTH="20%"
7253ALIGN="RIGHT"
7254VALIGN="TOP"
7255><TT
7256CLASS="PARAMETER"
7257><I
7258>notationName</I
7259></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007260>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007261><TD
7262WIDTH="80%"
7263ALIGN="LEFT"
7264VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007265> the notation name to check</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007266></TR
7267><TR
7268><TD
7269WIDTH="20%"
7270ALIGN="RIGHT"
7271VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007272><SPAN
7273CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007274><I
7275CLASS="EMPHASIS"
7276>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007277></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007278> :</TD
7279><TD
7280WIDTH="80%"
7281ALIGN="LEFT"
7282VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007283>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007284></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007285></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007286></TABLE
7287><P
7288></P
7289></DIV
7290></DIV
7291><HR><DIV
7292CLASS="REFSECT2"
7293><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007294NAME="AEN10304"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007295></A
7296><H3
7297><A
7298NAME="XMLISMIXEDELEMENT"
7299></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007300>xmlIsMixedElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00007301><TABLE
7302BORDER="0"
7303BGCOLOR="#D6E8FF"
7304WIDTH="100%"
7305CELLPADDING="6"
7306><TR
7307><TD
7308><PRE
7309CLASS="PROGRAMLISTING"
7310>int xmlIsMixedElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007311HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007312>xmlDocPtr</A
7313> doc,
7314 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007315HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007316>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007317> *name);</PRE
7318></TD
7319></TR
7320></TABLE
7321><P
7322>Search in the DtDs whether an element accept Mixed content (or ANY)
7323basically if it is supposed to accept text childs</P
7324><P
7325></P
7326><DIV
7327CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007328><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007329NAME="AEN10312"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007330></P
7331><TABLE
7332BORDER="0"
7333WIDTH="100%"
7334BGCOLOR="#FFD0D0"
7335CELLSPACING="0"
7336CELLPADDING="4"
7337CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007338><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00007339><TR
7340><TD
7341WIDTH="20%"
7342ALIGN="RIGHT"
7343VALIGN="TOP"
7344><TT
7345CLASS="PARAMETER"
7346><I
7347>doc</I
7348></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007349>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007350><TD
7351WIDTH="80%"
7352ALIGN="LEFT"
7353VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007354> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007355></TR
7356><TR
7357><TD
7358WIDTH="20%"
7359ALIGN="RIGHT"
7360VALIGN="TOP"
7361><TT
7362CLASS="PARAMETER"
7363><I
7364>name</I
7365></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007366>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007367><TD
7368WIDTH="80%"
7369ALIGN="LEFT"
7370VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007371> the element name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007372></TR
7373><TR
7374><TD
7375WIDTH="20%"
7376ALIGN="RIGHT"
7377VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007378><SPAN
7379CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007380><I
7381CLASS="EMPHASIS"
7382>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007383></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00007384> :</TD
7385><TD
7386WIDTH="80%"
7387ALIGN="LEFT"
7388VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007389>0 if no, 1 if yes, and -1 if no element description is available</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007390></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007391></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007392></TABLE
7393><P
7394></P
7395></DIV
7396></DIV
7397><HR><DIV
7398CLASS="REFSECT2"
7399><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007400NAME="AEN10329"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007401></A
7402><H3
7403><A
7404NAME="XMLGETDTDATTRDESC"
7405></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007406>xmlGetDtdAttrDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007407><TABLE
7408BORDER="0"
7409BGCOLOR="#D6E8FF"
7410WIDTH="100%"
7411CELLPADDING="6"
7412><TR
7413><TD
7414><PRE
7415CLASS="PROGRAMLISTING"
7416><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007417HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007418>xmlAttributePtr</A
7419> xmlGetDtdAttrDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007420HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007421>xmlDtdPtr</A
7422> dtd,
7423 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007424HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007425>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007426> *elem,
7427 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007428HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007429>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007430> *name);</PRE
7431></TD
7432></TR
7433></TABLE
7434><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007435>Search the DTD for the description of this attribute on
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007436this element.</P
7437><P
7438></P
7439><DIV
7440CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007441><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007442NAME="AEN10339"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007443></P
7444><TABLE
7445BORDER="0"
7446WIDTH="100%"
7447BGCOLOR="#FFD0D0"
7448CELLSPACING="0"
7449CELLPADDING="4"
7450CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007451><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007452><TR
7453><TD
7454WIDTH="20%"
7455ALIGN="RIGHT"
7456VALIGN="TOP"
7457><TT
7458CLASS="PARAMETER"
7459><I
7460>dtd</I
7461></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007462>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007463><TD
7464WIDTH="80%"
7465ALIGN="LEFT"
7466VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007467> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007468></TR
7469><TR
7470><TD
7471WIDTH="20%"
7472ALIGN="RIGHT"
7473VALIGN="TOP"
7474><TT
7475CLASS="PARAMETER"
7476><I
7477>elem</I
7478></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007479>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007480><TD
7481WIDTH="80%"
7482ALIGN="LEFT"
7483VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007484> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007485></TR
7486><TR
7487><TD
7488WIDTH="20%"
7489ALIGN="RIGHT"
7490VALIGN="TOP"
7491><TT
7492CLASS="PARAMETER"
7493><I
7494>name</I
7495></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007496>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007497><TD
7498WIDTH="80%"
7499ALIGN="LEFT"
7500VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007501> the attribute name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007502></TR
7503><TR
7504><TD
7505WIDTH="20%"
7506ALIGN="RIGHT"
7507VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007508><SPAN
7509CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007510><I
7511CLASS="EMPHASIS"
7512>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007513></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007514> :</TD
7515><TD
7516WIDTH="80%"
7517ALIGN="LEFT"
7518VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007519>the xmlAttributePtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007520></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007521></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007522></TABLE
7523><P
7524></P
7525></DIV
7526></DIV
7527><HR><DIV
7528CLASS="REFSECT2"
7529><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007530NAME="AEN10360"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007531></A
7532><H3
7533><A
7534NAME="XMLGETDTDQATTRDESC"
7535></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007536>xmlGetDtdQAttrDesc ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007537><TABLE
7538BORDER="0"
7539BGCOLOR="#D6E8FF"
7540WIDTH="100%"
7541CELLPADDING="6"
7542><TR
7543><TD
7544><PRE
7545CLASS="PROGRAMLISTING"
7546><A
7547HREF="libxml-tree.html#XMLATTRIBUTEPTR"
7548>xmlAttributePtr</A
7549> xmlGetDtdQAttrDesc (<A
7550HREF="libxml-tree.html#XMLDTDPTR"
7551>xmlDtdPtr</A
7552> dtd,
7553 const <A
7554HREF="libxml-tree.html#XMLCHAR"
7555>xmlChar</A
7556> *elem,
7557 const <A
7558HREF="libxml-tree.html#XMLCHAR"
7559>xmlChar</A
7560> *name,
7561 const <A
7562HREF="libxml-tree.html#XMLCHAR"
7563>xmlChar</A
7564> *prefix);</PRE
7565></TD
7566></TR
7567></TABLE
7568><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007569>Search the DTD for the description of this qualified attribute on
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007570this element.</P
7571><P
7572></P
7573><DIV
7574CLASS="INFORMALTABLE"
7575><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007576NAME="AEN10371"><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007577></P
7578><TABLE
7579BORDER="0"
7580WIDTH="100%"
7581BGCOLOR="#FFD0D0"
7582CELLSPACING="0"
7583CELLPADDING="4"
7584CLASS="CALSTABLE"
7585><TBODY
7586><TR
7587><TD
7588WIDTH="20%"
7589ALIGN="RIGHT"
7590VALIGN="TOP"
7591><TT
7592CLASS="PARAMETER"
7593><I
7594>dtd</I
7595></TT
7596>&nbsp;:</TD
7597><TD
7598WIDTH="80%"
7599ALIGN="LEFT"
7600VALIGN="TOP"
7601> a pointer to the DtD to search</TD
7602></TR
7603><TR
7604><TD
7605WIDTH="20%"
7606ALIGN="RIGHT"
7607VALIGN="TOP"
7608><TT
7609CLASS="PARAMETER"
7610><I
7611>elem</I
7612></TT
7613>&nbsp;:</TD
7614><TD
7615WIDTH="80%"
7616ALIGN="LEFT"
7617VALIGN="TOP"
7618> the element name</TD
7619></TR
7620><TR
7621><TD
7622WIDTH="20%"
7623ALIGN="RIGHT"
7624VALIGN="TOP"
7625><TT
7626CLASS="PARAMETER"
7627><I
7628>name</I
7629></TT
7630>&nbsp;:</TD
7631><TD
7632WIDTH="80%"
7633ALIGN="LEFT"
7634VALIGN="TOP"
7635> the attribute name</TD
7636></TR
7637><TR
7638><TD
7639WIDTH="20%"
7640ALIGN="RIGHT"
7641VALIGN="TOP"
7642><TT
7643CLASS="PARAMETER"
7644><I
7645>prefix</I
7646></TT
7647>&nbsp;:</TD
7648><TD
7649WIDTH="80%"
7650ALIGN="LEFT"
7651VALIGN="TOP"
7652> the attribute namespace prefix</TD
7653></TR
7654><TR
7655><TD
7656WIDTH="20%"
7657ALIGN="RIGHT"
7658VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007659><SPAN
7660CLASS="emphasis"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007661><I
7662CLASS="EMPHASIS"
7663>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007664></SPAN
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007665> :</TD
7666><TD
7667WIDTH="80%"
7668ALIGN="LEFT"
7669VALIGN="TOP"
7670>the xmlAttributePtr if found or NULL</TD
7671></TR
7672></TBODY
7673></TABLE
7674><P
7675></P
7676></DIV
7677></DIV
7678><HR><DIV
7679CLASS="REFSECT2"
7680><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007681NAME="AEN10396"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007682></A
7683><H3
7684><A
7685NAME="XMLGETDTDNOTATIONDESC"
7686></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007687>xmlGetDtdNotationDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007688><TABLE
7689BORDER="0"
7690BGCOLOR="#D6E8FF"
7691WIDTH="100%"
7692CELLPADDING="6"
7693><TR
7694><TD
7695><PRE
7696CLASS="PROGRAMLISTING"
7697><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007698HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007699>xmlNotationPtr</A
7700> xmlGetDtdNotationDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007701HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007702>xmlDtdPtr</A
7703> dtd,
7704 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007705HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007706>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007707> *name);</PRE
7708></TD
7709></TR
7710></TABLE
7711><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007712>Search the DTD for the description of this notation</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007713><P
7714></P
7715><DIV
7716CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007717><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007718NAME="AEN10405"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007719></P
7720><TABLE
7721BORDER="0"
7722WIDTH="100%"
7723BGCOLOR="#FFD0D0"
7724CELLSPACING="0"
7725CELLPADDING="4"
7726CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007727><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007728><TR
7729><TD
7730WIDTH="20%"
7731ALIGN="RIGHT"
7732VALIGN="TOP"
7733><TT
7734CLASS="PARAMETER"
7735><I
7736>dtd</I
7737></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007738>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007739><TD
7740WIDTH="80%"
7741ALIGN="LEFT"
7742VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007743> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007744></TR
7745><TR
7746><TD
7747WIDTH="20%"
7748ALIGN="RIGHT"
7749VALIGN="TOP"
7750><TT
7751CLASS="PARAMETER"
7752><I
7753>name</I
7754></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007755>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007756><TD
7757WIDTH="80%"
7758ALIGN="LEFT"
7759VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007760> the notation name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007761></TR
7762><TR
7763><TD
7764WIDTH="20%"
7765ALIGN="RIGHT"
7766VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007767><SPAN
7768CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007769><I
7770CLASS="EMPHASIS"
7771>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007772></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007773> :</TD
7774><TD
7775WIDTH="80%"
7776ALIGN="LEFT"
7777VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007778>the xmlNotationPtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007779></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007780></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007781></TABLE
7782><P
7783></P
7784></DIV
7785></DIV
7786><HR><DIV
7787CLASS="REFSECT2"
7788><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007789NAME="AEN10422"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007790></A
7791><H3
7792><A
7793NAME="XMLGETDTDQELEMENTDESC"
7794></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007795>xmlGetDtdQElementDesc ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007796><TABLE
7797BORDER="0"
7798BGCOLOR="#D6E8FF"
7799WIDTH="100%"
7800CELLPADDING="6"
7801><TR
7802><TD
7803><PRE
7804CLASS="PROGRAMLISTING"
7805><A
7806HREF="libxml-tree.html#XMLELEMENTPTR"
7807>xmlElementPtr</A
7808> xmlGetDtdQElementDesc (<A
7809HREF="libxml-tree.html#XMLDTDPTR"
7810>xmlDtdPtr</A
7811> dtd,
7812 const <A
7813HREF="libxml-tree.html#XMLCHAR"
7814>xmlChar</A
7815> *name,
7816 const <A
7817HREF="libxml-tree.html#XMLCHAR"
7818>xmlChar</A
7819> *prefix);</PRE
7820></TD
7821></TR
7822></TABLE
7823><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007824>Search the DTD for the description of this element</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007825><P
7826></P
7827><DIV
7828CLASS="INFORMALTABLE"
7829><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007830NAME="AEN10432"><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007831></P
7832><TABLE
7833BORDER="0"
7834WIDTH="100%"
7835BGCOLOR="#FFD0D0"
7836CELLSPACING="0"
7837CELLPADDING="4"
7838CLASS="CALSTABLE"
7839><TBODY
7840><TR
7841><TD
7842WIDTH="20%"
7843ALIGN="RIGHT"
7844VALIGN="TOP"
7845><TT
7846CLASS="PARAMETER"
7847><I
7848>dtd</I
7849></TT
7850>&nbsp;:</TD
7851><TD
7852WIDTH="80%"
7853ALIGN="LEFT"
7854VALIGN="TOP"
7855> a pointer to the DtD to search</TD
7856></TR
7857><TR
7858><TD
7859WIDTH="20%"
7860ALIGN="RIGHT"
7861VALIGN="TOP"
7862><TT
7863CLASS="PARAMETER"
7864><I
7865>name</I
7866></TT
7867>&nbsp;:</TD
7868><TD
7869WIDTH="80%"
7870ALIGN="LEFT"
7871VALIGN="TOP"
7872> the element name</TD
7873></TR
7874><TR
7875><TD
7876WIDTH="20%"
7877ALIGN="RIGHT"
7878VALIGN="TOP"
7879><TT
7880CLASS="PARAMETER"
7881><I
7882>prefix</I
7883></TT
7884>&nbsp;:</TD
7885><TD
7886WIDTH="80%"
7887ALIGN="LEFT"
7888VALIGN="TOP"
7889> the element namespace prefix</TD
7890></TR
7891><TR
7892><TD
7893WIDTH="20%"
7894ALIGN="RIGHT"
7895VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007896><SPAN
7897CLASS="emphasis"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007898><I
7899CLASS="EMPHASIS"
7900>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007901></SPAN
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007902> :</TD
7903><TD
7904WIDTH="80%"
7905ALIGN="LEFT"
7906VALIGN="TOP"
7907>the xmlElementPtr if found or NULL</TD
7908></TR
7909></TBODY
7910></TABLE
7911><P
7912></P
7913></DIV
7914></DIV
7915><HR><DIV
7916CLASS="REFSECT2"
7917><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007918NAME="AEN10453"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007919></A
7920><H3
7921><A
7922NAME="XMLGETDTDELEMENTDESC"
7923></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007924>xmlGetDtdElementDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007925><TABLE
7926BORDER="0"
7927BGCOLOR="#D6E8FF"
7928WIDTH="100%"
7929CELLPADDING="6"
7930><TR
7931><TD
7932><PRE
7933CLASS="PROGRAMLISTING"
7934><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007935HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007936>xmlElementPtr</A
7937> xmlGetDtdElementDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007938HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007939>xmlDtdPtr</A
7940> dtd,
7941 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007942HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007943>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007944> *name);</PRE
7945></TD
7946></TR
7947></TABLE
7948><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007949>Search the DTD for the description of this element</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007950><P
7951></P
7952><DIV
7953CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007954><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007955NAME="AEN10462"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007956></P
7957><TABLE
7958BORDER="0"
7959WIDTH="100%"
7960BGCOLOR="#FFD0D0"
7961CELLSPACING="0"
7962CELLPADDING="4"
7963CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007964><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007965><TR
7966><TD
7967WIDTH="20%"
7968ALIGN="RIGHT"
7969VALIGN="TOP"
7970><TT
7971CLASS="PARAMETER"
7972><I
7973>dtd</I
7974></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007975>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007976><TD
7977WIDTH="80%"
7978ALIGN="LEFT"
7979VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007980> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007981></TR
7982><TR
7983><TD
7984WIDTH="20%"
7985ALIGN="RIGHT"
7986VALIGN="TOP"
7987><TT
7988CLASS="PARAMETER"
7989><I
7990>name</I
7991></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007992>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007993><TD
7994WIDTH="80%"
7995ALIGN="LEFT"
7996VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007997> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007998></TR
7999><TR
8000><TD
8001WIDTH="20%"
8002ALIGN="RIGHT"
8003VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008004><SPAN
8005CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008006><I
8007CLASS="EMPHASIS"
8008>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008009></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008010> :</TD
8011><TD
8012WIDTH="80%"
8013ALIGN="LEFT"
8014VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008015>the xmlElementPtr if found or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008016></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008017></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008018></TABLE
8019><P
8020></P
8021></DIV
8022></DIV
8023><HR><DIV
8024CLASS="REFSECT2"
8025><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008026NAME="AEN10479"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008027></A
8028><H3
8029><A
8030NAME="XMLVALIDGETVALIDELEMENTS"
8031></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008032>xmlValidGetValidElements ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008033><TABLE
8034BORDER="0"
8035BGCOLOR="#D6E8FF"
8036WIDTH="100%"
8037CELLPADDING="6"
8038><TR
8039><TD
8040><PRE
8041CLASS="PROGRAMLISTING"
8042>int xmlValidGetValidElements (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008043HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008044>xmlNode</A
8045> *prev,
8046 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008047HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008048>xmlNode</A
8049> *next,
8050 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008051HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008052>xmlChar</A
8053> **list,
8054 int max);</PRE
8055></TD
8056></TR
8057></TABLE
8058><P
8059>This function returns the list of authorized children to insert
8060within an existing tree while respecting the validity constraints
8061forced by the Dtd. The insertion point is defined using <TT
8062CLASS="PARAMETER"
8063><I
8064>prev</I
8065></TT
8066> and
8067<TT
8068CLASS="PARAMETER"
8069><I
8070>next</I
8071></TT
8072> in the following ways:
Daniel Veillardaf43f632002-03-08 15:05:20 +00008073to insert before 'node': xmlValidGetValidElements(node-&gt;prev, node, ...
8074to insert next 'node': xmlValidGetValidElements(node, node-&gt;next, ...
8075to replace 'node': xmlValidGetValidElements(node-&gt;prev, node-&gt;next, ...
8076to prepend a child to 'node': xmlValidGetValidElements(NULL, node-&gt;childs,
8077to append a child to 'node': xmlValidGetValidElements(node-&gt;last, NULL, ...</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008078><P
8079>pointers to the element names are inserted at the beginning of the array
8080and do not need to be freed.</P
8081><P
8082></P
8083><DIV
8084CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008085><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008086NAME="AEN10491"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008087></P
8088><TABLE
8089BORDER="0"
8090WIDTH="100%"
8091BGCOLOR="#FFD0D0"
8092CELLSPACING="0"
8093CELLPADDING="4"
8094CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008095><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008096><TR
8097><TD
8098WIDTH="20%"
8099ALIGN="RIGHT"
8100VALIGN="TOP"
8101><TT
8102CLASS="PARAMETER"
8103><I
8104>prev</I
8105></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008106>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008107><TD
8108WIDTH="80%"
8109ALIGN="LEFT"
8110VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008111> an element to insert after</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008112></TR
8113><TR
8114><TD
8115WIDTH="20%"
8116ALIGN="RIGHT"
8117VALIGN="TOP"
8118><TT
8119CLASS="PARAMETER"
8120><I
8121>next</I
8122></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008123>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008124><TD
8125WIDTH="80%"
8126ALIGN="LEFT"
8127VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008128> an element to insert next</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008129></TR
8130><TR
8131><TD
8132WIDTH="20%"
8133ALIGN="RIGHT"
8134VALIGN="TOP"
8135><TT
8136CLASS="PARAMETER"
8137><I
8138>list</I
8139></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008140>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008141><TD
8142WIDTH="80%"
8143ALIGN="LEFT"
8144VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008145> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008146></TR
8147><TR
8148><TD
8149WIDTH="20%"
8150ALIGN="RIGHT"
8151VALIGN="TOP"
8152><TT
8153CLASS="PARAMETER"
8154><I
8155>max</I
8156></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008157>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008158><TD
8159WIDTH="80%"
8160ALIGN="LEFT"
8161VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008162> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008163></TR
8164><TR
8165><TD
8166WIDTH="20%"
8167ALIGN="RIGHT"
8168VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008169><SPAN
8170CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008171><I
8172CLASS="EMPHASIS"
8173>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008174></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008175> :</TD
8176><TD
8177WIDTH="80%"
8178ALIGN="LEFT"
8179VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008180>the number of element in the list, or -1 in case of error. If
Daniel Veillardaf43f632002-03-08 15:05:20 +00008181the function returns the value <TT
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008182CLASS="PARAMETER"
8183><I
8184>max</I
8185></TT
8186> the caller is invited to grow the
Daniel Veillardaf43f632002-03-08 15:05:20 +00008187receiving array and retry.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008188></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008189></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008190></TABLE
8191><P
8192></P
8193></DIV
8194></DIV
8195><HR><DIV
8196CLASS="REFSECT2"
8197><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008198NAME="AEN10517"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008199></A
8200><H3
8201><A
8202NAME="XMLVALIDGETPOTENTIALCHILDREN"
8203></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008204>xmlValidGetPotentialChildren ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008205><TABLE
8206BORDER="0"
8207BGCOLOR="#D6E8FF"
8208WIDTH="100%"
8209CELLPADDING="6"
8210><TR
8211><TD
8212><PRE
8213CLASS="PROGRAMLISTING"
8214>int xmlValidGetPotentialChildren (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008215HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008216>xmlElementContent</A
8217> *ctree,
8218 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008219HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008220>xmlChar</A
8221> **list,
8222 int *len,
8223 int max);</PRE
8224></TD
8225></TR
8226></TABLE
8227><P
8228>Build/extend a list of potential children allowed by the content tree</P
8229><P
8230></P
8231><DIV
8232CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008233><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008234NAME="AEN10525"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008235></P
8236><TABLE
8237BORDER="0"
8238WIDTH="100%"
8239BGCOLOR="#FFD0D0"
8240CELLSPACING="0"
8241CELLPADDING="4"
8242CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008243><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008244><TR
8245><TD
8246WIDTH="20%"
8247ALIGN="RIGHT"
8248VALIGN="TOP"
8249><TT
8250CLASS="PARAMETER"
8251><I
8252>ctree</I
8253></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008254>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008255><TD
8256WIDTH="80%"
8257ALIGN="LEFT"
8258VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008259> an element content tree</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008260></TR
8261><TR
8262><TD
8263WIDTH="20%"
8264ALIGN="RIGHT"
8265VALIGN="TOP"
8266><TT
8267CLASS="PARAMETER"
8268><I
8269>list</I
8270></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008271>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008272><TD
8273WIDTH="80%"
8274ALIGN="LEFT"
8275VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008276> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008277></TR
8278><TR
8279><TD
8280WIDTH="20%"
8281ALIGN="RIGHT"
8282VALIGN="TOP"
8283><TT
8284CLASS="PARAMETER"
8285><I
8286>len</I
8287></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008288>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008289><TD
8290WIDTH="80%"
8291ALIGN="LEFT"
8292VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008293> a pointer to the number of element in the list</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008294></TR
8295><TR
8296><TD
8297WIDTH="20%"
8298ALIGN="RIGHT"
8299VALIGN="TOP"
8300><TT
8301CLASS="PARAMETER"
8302><I
8303>max</I
8304></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008305>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008306><TD
8307WIDTH="80%"
8308ALIGN="LEFT"
8309VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008310> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008311></TR
8312><TR
8313><TD
8314WIDTH="20%"
8315ALIGN="RIGHT"
8316VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008317><SPAN
8318CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008319><I
8320CLASS="EMPHASIS"
8321>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008322></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008323> :</TD
8324><TD
8325WIDTH="80%"
8326ALIGN="LEFT"
8327VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008328>the number of element in the list, or -1 in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008329></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008330></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008331></TABLE
8332><P
8333></P
8334></DIV
8335></DIV
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008336><HR><DIV
8337CLASS="REFSECT2"
8338><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008339NAME="AEN10550"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008340></A
8341><H3
8342><A
8343NAME="XMLVALIDATENAMEVALUE"
8344></A
8345>xmlValidateNameValue ()</H3
8346><TABLE
8347BORDER="0"
8348BGCOLOR="#D6E8FF"
8349WIDTH="100%"
8350CELLPADDING="6"
8351><TR
8352><TD
8353><PRE
8354CLASS="PROGRAMLISTING"
8355>int xmlValidateNameValue (const <A
8356HREF="libxml-tree.html#XMLCHAR"
8357>xmlChar</A
8358> *value);</PRE
8359></TD
8360></TR
8361></TABLE
8362><P
8363>Validate that the given value match Name production</P
8364><P
8365></P
8366><DIV
8367CLASS="INFORMALTABLE"
8368><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008369NAME="AEN10557"><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008370></P
8371><TABLE
8372BORDER="0"
8373WIDTH="100%"
8374BGCOLOR="#FFD0D0"
8375CELLSPACING="0"
8376CELLPADDING="4"
8377CLASS="CALSTABLE"
8378><TBODY
8379><TR
8380><TD
8381WIDTH="20%"
8382ALIGN="RIGHT"
8383VALIGN="TOP"
8384><TT
8385CLASS="PARAMETER"
8386><I
8387>value</I
8388></TT
8389>&nbsp;:</TD
8390><TD
8391WIDTH="80%"
8392ALIGN="LEFT"
8393VALIGN="TOP"
8394> an Name value</TD
8395></TR
8396><TR
8397><TD
8398WIDTH="20%"
8399ALIGN="RIGHT"
8400VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008401><SPAN
8402CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008403><I
8404CLASS="EMPHASIS"
8405>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008406></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008407> :</TD
8408><TD
8409WIDTH="80%"
8410ALIGN="LEFT"
8411VALIGN="TOP"
8412>1 if valid or 0 otherwise</TD
8413></TR
8414></TBODY
8415></TABLE
8416><P
8417></P
8418></DIV
8419></DIV
8420><HR><DIV
8421CLASS="REFSECT2"
8422><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008423NAME="AEN10570"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008424></A
8425><H3
8426><A
8427NAME="XMLVALIDATENAMESVALUE"
8428></A
8429>xmlValidateNamesValue ()</H3
8430><TABLE
8431BORDER="0"
8432BGCOLOR="#D6E8FF"
8433WIDTH="100%"
8434CELLPADDING="6"
8435><TR
8436><TD
8437><PRE
8438CLASS="PROGRAMLISTING"
8439>int xmlValidateNamesValue (const <A
8440HREF="libxml-tree.html#XMLCHAR"
8441>xmlChar</A
8442> *value);</PRE
8443></TD
8444></TR
8445></TABLE
8446><P
8447>Validate that the given value match Names production</P
8448><P
8449></P
8450><DIV
8451CLASS="INFORMALTABLE"
8452><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008453NAME="AEN10577"><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008454></P
8455><TABLE
8456BORDER="0"
8457WIDTH="100%"
8458BGCOLOR="#FFD0D0"
8459CELLSPACING="0"
8460CELLPADDING="4"
8461CLASS="CALSTABLE"
8462><TBODY
8463><TR
8464><TD
8465WIDTH="20%"
8466ALIGN="RIGHT"
8467VALIGN="TOP"
8468><TT
8469CLASS="PARAMETER"
8470><I
8471>value</I
8472></TT
8473>&nbsp;:</TD
8474><TD
8475WIDTH="80%"
8476ALIGN="LEFT"
8477VALIGN="TOP"
8478> an Names value</TD
8479></TR
8480><TR
8481><TD
8482WIDTH="20%"
8483ALIGN="RIGHT"
8484VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008485><SPAN
8486CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008487><I
8488CLASS="EMPHASIS"
8489>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008490></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008491> :</TD
8492><TD
8493WIDTH="80%"
8494ALIGN="LEFT"
8495VALIGN="TOP"
8496>1 if valid or 0 otherwise</TD
8497></TR
8498></TBODY
8499></TABLE
8500><P
8501></P
8502></DIV
8503></DIV
8504><HR><DIV
8505CLASS="REFSECT2"
8506><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008507NAME="AEN10590"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008508></A
8509><H3
8510><A
8511NAME="XMLVALIDATENMTOKENVALUE"
8512></A
8513>xmlValidateNmtokenValue ()</H3
8514><TABLE
8515BORDER="0"
8516BGCOLOR="#D6E8FF"
8517WIDTH="100%"
8518CELLPADDING="6"
8519><TR
8520><TD
8521><PRE
8522CLASS="PROGRAMLISTING"
8523>int xmlValidateNmtokenValue (const <A
8524HREF="libxml-tree.html#XMLCHAR"
8525>xmlChar</A
8526> *value);</PRE
8527></TD
8528></TR
8529></TABLE
8530><P
8531>Validate that the given value match Nmtoken production</P
8532><P
8533>[ VC: Name Token ]</P
8534><P
8535></P
8536><DIV
8537CLASS="INFORMALTABLE"
8538><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008539NAME="AEN10598"><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008540></P
8541><TABLE
8542BORDER="0"
8543WIDTH="100%"
8544BGCOLOR="#FFD0D0"
8545CELLSPACING="0"
8546CELLPADDING="4"
8547CLASS="CALSTABLE"
8548><TBODY
8549><TR
8550><TD
8551WIDTH="20%"
8552ALIGN="RIGHT"
8553VALIGN="TOP"
8554><TT
8555CLASS="PARAMETER"
8556><I
8557>value</I
8558></TT
8559>&nbsp;:</TD
8560><TD
8561WIDTH="80%"
8562ALIGN="LEFT"
8563VALIGN="TOP"
8564> an Nmtoken value</TD
8565></TR
8566><TR
8567><TD
8568WIDTH="20%"
8569ALIGN="RIGHT"
8570VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008571><SPAN
8572CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008573><I
8574CLASS="EMPHASIS"
8575>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008576></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008577> :</TD
8578><TD
8579WIDTH="80%"
8580ALIGN="LEFT"
8581VALIGN="TOP"
8582>1 if valid or 0 otherwise</TD
8583></TR
8584></TBODY
8585></TABLE
8586><P
8587></P
8588></DIV
8589></DIV
8590><HR><DIV
8591CLASS="REFSECT2"
8592><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008593NAME="AEN10611"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008594></A
8595><H3
8596><A
8597NAME="XMLVALIDATENMTOKENSVALUE"
8598></A
8599>xmlValidateNmtokensValue ()</H3
8600><TABLE
8601BORDER="0"
8602BGCOLOR="#D6E8FF"
8603WIDTH="100%"
8604CELLPADDING="6"
8605><TR
8606><TD
8607><PRE
8608CLASS="PROGRAMLISTING"
8609>int xmlValidateNmtokensValue (const <A
8610HREF="libxml-tree.html#XMLCHAR"
8611>xmlChar</A
8612> *value);</PRE
8613></TD
8614></TR
8615></TABLE
8616><P
8617>Validate that the given value match Nmtokens production</P
8618><P
8619>[ VC: Name Token ]</P
8620><P
8621></P
8622><DIV
8623CLASS="INFORMALTABLE"
8624><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008625NAME="AEN10619"><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008626></P
8627><TABLE
8628BORDER="0"
8629WIDTH="100%"
8630BGCOLOR="#FFD0D0"
8631CELLSPACING="0"
8632CELLPADDING="4"
8633CLASS="CALSTABLE"
8634><TBODY
8635><TR
8636><TD
8637WIDTH="20%"
8638ALIGN="RIGHT"
8639VALIGN="TOP"
8640><TT
8641CLASS="PARAMETER"
8642><I
8643>value</I
8644></TT
8645>&nbsp;:</TD
8646><TD
8647WIDTH="80%"
8648ALIGN="LEFT"
8649VALIGN="TOP"
8650> an Nmtokens value</TD
8651></TR
8652><TR
8653><TD
8654WIDTH="20%"
8655ALIGN="RIGHT"
8656VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008657><SPAN
8658CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008659><I
8660CLASS="EMPHASIS"
8661>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008662></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008663> :</TD
8664><TD
8665WIDTH="80%"
8666ALIGN="LEFT"
8667VALIGN="TOP"
8668>1 if valid or 0 otherwise</TD
8669></TR
8670></TBODY
8671></TABLE
8672><P
8673></P
8674></DIV
8675></DIV
Daniel Veillard2ace1952002-09-26 12:28:02 +00008676><HR><DIV
8677CLASS="REFSECT2"
8678><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008679NAME="AEN10632"
Daniel Veillard2ace1952002-09-26 12:28:02 +00008680></A
8681><H3
8682><A
8683NAME="XMLVALIDBUILDCONTENTMODEL"
8684></A
8685>xmlValidBuildContentModel ()</H3
8686><TABLE
8687BORDER="0"
8688BGCOLOR="#D6E8FF"
8689WIDTH="100%"
8690CELLPADDING="6"
8691><TR
8692><TD
8693><PRE
8694CLASS="PROGRAMLISTING"
8695>int xmlValidBuildContentModel (<A
8696HREF="libxml-valid.html#XMLVALIDCTXTPTR"
8697>xmlValidCtxtPtr</A
8698> ctxt,
8699 <A
8700HREF="libxml-tree.html#XMLELEMENTPTR"
8701>xmlElementPtr</A
8702> elem);</PRE
8703></TD
8704></TR
8705></TABLE
8706><P
8707>(Re)Build the automata associated to the content model of this
8708element</P
8709><P
8710></P
8711><DIV
8712CLASS="INFORMALTABLE"
8713><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008714NAME="AEN10640"><P
Daniel Veillard2ace1952002-09-26 12:28:02 +00008715></P
8716><TABLE
8717BORDER="0"
8718WIDTH="100%"
8719BGCOLOR="#FFD0D0"
8720CELLSPACING="0"
8721CELLPADDING="4"
8722CLASS="CALSTABLE"
8723><TBODY
8724><TR
8725><TD
8726WIDTH="20%"
8727ALIGN="RIGHT"
8728VALIGN="TOP"
8729><TT
8730CLASS="PARAMETER"
8731><I
8732>ctxt</I
8733></TT
8734>&nbsp;:</TD
8735><TD
8736WIDTH="80%"
8737ALIGN="LEFT"
8738VALIGN="TOP"
8739> a validation context</TD
8740></TR
8741><TR
8742><TD
8743WIDTH="20%"
8744ALIGN="RIGHT"
8745VALIGN="TOP"
8746><TT
8747CLASS="PARAMETER"
8748><I
8749>elem</I
8750></TT
8751>&nbsp;:</TD
8752><TD
8753WIDTH="80%"
8754ALIGN="LEFT"
8755VALIGN="TOP"
8756> an element declaration node</TD
8757></TR
8758><TR
8759><TD
8760WIDTH="20%"
8761ALIGN="RIGHT"
8762VALIGN="TOP"
8763><SPAN
8764CLASS="emphasis"
8765><I
8766CLASS="EMPHASIS"
8767>Returns</I
8768></SPAN
8769> :</TD
8770><TD
8771WIDTH="80%"
8772ALIGN="LEFT"
8773VALIGN="TOP"
8774>1 in case of success, 0 in case of error</TD
8775></TR
8776></TBODY
8777></TABLE
8778><P
8779></P
8780></DIV
8781></DIV
Daniel Veillard35925471999-02-25 08:46:07 +00008782></DIV
8783><DIV
8784CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00008785><BR
8786CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00008787WIDTH="100%"
8788BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008789BGCOLOR="#000000"
8790CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00008791CELLSPACING="0"
8792><TR
8793><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008794WIDTH="25%"
8795BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00008796ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00008797><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008798HREF="libxml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008799><FONT
8800COLOR="#FFFFFF"
8801SIZE="3"
8802><B
8803>&#60;&#60;&#60; Previous Page</B
8804></FONT
8805></A
Daniel Veillard35925471999-02-25 08:46:07 +00008806></TD
8807><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008808WIDTH="25%"
8809BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00008810ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00008811><FONT
8812COLOR="#FFFFFF"
8813SIZE="3"
8814><B
Daniel Veillard35925471999-02-25 08:46:07 +00008815><A
8816HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008817><FONT
8818COLOR="#FFFFFF"
8819SIZE="3"
8820><B
8821>Home</B
8822></FONT
8823></A
8824></B
8825></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00008826></TD
8827><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008828WIDTH="25%"
8829BGCOLOR="#00C000"
8830ALIGN="center"
8831><FONT
8832COLOR="#FFFFFF"
8833SIZE="3"
8834><B
8835><A
Daniel Veillard35008381999-10-25 13:15:52 +00008836HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008837><FONT
8838COLOR="#FFFFFF"
8839SIZE="3"
8840><B
8841>Up</B
8842></FONT
8843></A
8844></B
8845></FONT
8846></TD
8847><TD
8848WIDTH="25%"
8849BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00008850ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00008851><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008852HREF="libxml-uri.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008853><FONT
8854COLOR="#FFFFFF"
8855SIZE="3"
8856><B
8857>Next Page &#62;&#62;&#62;</B
8858></FONT
8859></A
Daniel Veillard35925471999-02-25 08:46:07 +00008860></TD
8861></TR
8862><TR
8863><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008864COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00008865ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00008866><FONT
8867COLOR="#FFFFFF"
8868SIZE="3"
8869><B
8870>entities</B
8871></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00008872></TD
8873><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008874COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00008875ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00008876><FONT
8877COLOR="#FFFFFF"
8878SIZE="3"
8879><B
Daniel Veillard8f621982000-03-20 13:07:15 +00008880>uri</B
Daniel Veillard14fff061999-06-22 21:49:07 +00008881></FONT
8882></TD
Daniel Veillard35925471999-02-25 08:46:07 +00008883></TR
8884></TABLE
8885></DIV
8886></BODY
8887></HTML
8888>