blob: f8626d6d407578e629ce7d68850844a936fe3be6 [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 Veillardaec63562003-03-23 20:42:17 +000019TITLE="relaxng"
20HREF="libxml-relaxng.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 Veillardaec63562003-03-23 20:42:17 +0000106HREF="libxml-relaxng.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 Veillardaec63562003-03-23 20:42:17 +0000120NAME="LIBXML-VALID"
121></A
122>valid</H1
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFNAMEDIV"
125><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000126NAME="AEN9905"
Daniel Veillard35925471999-02-25 08:46:07 +0000127></A
128><H2
129>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000130>valid&nbsp;--&nbsp;</DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000131><DIV
132CLASS="REFSYNOPSISDIV"
133><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +0000134NAME="AEN9908"
Daniel Veillardaec63562003-03-23 20:42:17 +0000135></A
136><H2
Daniel Veillard35925471999-02-25 08:46:07 +0000137>Synopsis</H2
138><TABLE
139BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000140BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000141WIDTH="100%"
142CELLPADDING="6"
143><TR
144><TD
145><PRE
146CLASS="SYNOPSIS"
147>&#13;
148
Daniel Veillarda41123c2001-04-22 19:31:20 +0000149struct <A
150HREF="libxml-valid.html#XMLVALIDSTATE"
151>xmlValidState</A
152>;
153typedef <A
154HREF="libxml-valid.html#XMLVALIDSTATEPTR"
155>xmlValidStatePtr</A
156>;
Daniel Veillardb05deb71999-08-10 19:04:08 +0000157void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000158HREF="libxml-valid.html#XMLVALIDITYERRORFUNC"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000159>*xmlValidityErrorFunc</A
160>) (void *ctx,
161 const char *msg,
162 ...);
163void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000164HREF="libxml-valid.html#XMLVALIDITYWARNINGFUNC"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000165>*xmlValidityWarningFunc</A
166>) (void *ctx,
167 const char *msg,
168 ...);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000169struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000170HREF="libxml-valid.html#XMLVALIDCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000171>xmlValidCtxt</A
172>;
173typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000174HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000175>xmlValidCtxtPtr</A
176>;
Daniel Veillard35925471999-02-25 08:46:07 +0000177typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000178HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000179>xmlNotationTablePtr</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#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000183>xmlElementTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000184>;
Daniel Veillard35925471999-02-25 08:46:07 +0000185typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000186HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000187>xmlAttributeTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000188>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000189typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000190HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000191>xmlIDTablePtr</A
192>;
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000193typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000194HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000195>xmlRefTablePtr</A
196>;
Daniel Veillard35925471999-02-25 08:46:07 +0000197<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000198HREF="libxml-tree.html#XMLCHAR"
199>xmlChar</A
200>* <A
201HREF="libxml-valid.html#XMLSPLITQNAME2"
202>xmlSplitQName2</A
203> (const <A
204HREF="libxml-tree.html#XMLCHAR"
205>xmlChar</A
206> *name,
207 <A
208HREF="libxml-tree.html#XMLCHAR"
209>xmlChar</A
210> **prefix);
211<A
212HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000213>xmlNotationPtr</A
214> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000215HREF="libxml-valid.html#XMLADDNOTATIONDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000216>xmlAddNotationDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000217> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000218HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000219>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000220> ctxt,
221 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000222HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000223>xmlDtdPtr</A
224> dtd,
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> *name,
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> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000233 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000234HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000235>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000236> *SystemID);
237<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000238HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000239>xmlNotationTablePtr</A
240> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000241HREF="libxml-valid.html#XMLCOPYNOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000242>xmlCopyNotationTable</A
243> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000244HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000245>xmlNotationTablePtr</A
246> table);
247void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000248HREF="libxml-valid.html#XMLFREENOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000249>xmlFreeNotationTable</A
250> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000251HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000252>xmlNotationTablePtr</A
253> table);
254void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000255HREF="libxml-valid.html#XMLDUMPNOTATIONDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000256>xmlDumpNotationDecl</A
257> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000258HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000259>xmlBufferPtr</A
260> buf,
261 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000262HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000263>xmlNotationPtr</A
264> nota);
265void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000266HREF="libxml-valid.html#XMLDUMPNOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000267>xmlDumpNotationTable</A
268> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000269HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000270>xmlBufferPtr</A
271> buf,
272 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000273HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000274>xmlNotationTablePtr</A
275> table);
276<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000277HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000278>xmlElementContentPtr</A
279> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000280HREF="libxml-valid.html#XMLNEWELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000281>xmlNewElementContent</A
282> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000283HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000284>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000285> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000286 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000287HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000288>xmlElementContentType</A
289> type);
Daniel Veillard35925471999-02-25 08:46:07 +0000290<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000291HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000292>xmlElementContentPtr</A
293> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000294HREF="libxml-valid.html#XMLCOPYELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000295>xmlCopyElementContent</A
296> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000297HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000298>xmlElementContentPtr</A
299> content);
300void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000301HREF="libxml-valid.html#XMLFREEELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000302>xmlFreeElementContent</A
303> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000304HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000305>xmlElementContentPtr</A
306> cur);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000307void <A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000308HREF="libxml-valid.html#XMLSNPRINTFELEMENTCONTENT"
309>xmlSnprintfElementContent</A
310> (char *buf,
311 int size,
312 <A
313HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
314>xmlElementContentPtr</A
315> content,
316 int glob);
317void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000318HREF="libxml-valid.html#XMLSPRINTFELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000319>xmlSprintfElementContent</A
320> (char *buf,
321 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000322HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000323>xmlElementContentPtr</A
324> content,
325 int glob);
Daniel Veillard35925471999-02-25 08:46:07 +0000326<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000327HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000328>xmlElementPtr</A
329> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000330HREF="libxml-valid.html#XMLADDELEMENTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000331>xmlAddElementDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000332> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000333HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000334>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000335> ctxt,
336 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000337HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000338>xmlDtdPtr</A
339> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000340 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000341HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000342>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000343> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000344 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000345HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000346>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000347> type,
Daniel Veillard35925471999-02-25 08:46:07 +0000348 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000349HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000350>xmlElementContentPtr</A
351> content);
352<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000353HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000354>xmlElementTablePtr</A
355> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000356HREF="libxml-valid.html#XMLCOPYELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000357>xmlCopyElementTable</A
358> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000359HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000360>xmlElementTablePtr</A
361> table);
362void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000363HREF="libxml-valid.html#XMLFREEELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000364>xmlFreeElementTable</A
365> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000366HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000367>xmlElementTablePtr</A
368> table);
369void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000370HREF="libxml-valid.html#XMLDUMPELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000371>xmlDumpElementTable</A
372> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000373HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000374>xmlBufferPtr</A
375> buf,
376 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000377HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000378>xmlElementTablePtr</A
379> table);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000380void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000381HREF="libxml-valid.html#XMLDUMPELEMENTDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000382>xmlDumpElementDecl</A
383> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000384HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000385>xmlBufferPtr</A
386> buf,
387 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000388HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000389>xmlElementPtr</A
390> elem);
Daniel Veillard35925471999-02-25 08:46:07 +0000391<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000392HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000393>xmlEnumerationPtr</A
394> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000395HREF="libxml-valid.html#XMLCREATEENUMERATION"
Daniel Veillard35925471999-02-25 08:46:07 +0000396>xmlCreateEnumeration</A
397> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000398HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000399>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000400> *name);
401void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000402HREF="libxml-valid.html#XMLFREEENUMERATION"
Daniel Veillard35925471999-02-25 08:46:07 +0000403>xmlFreeEnumeration</A
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> cur);
408<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000409HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000410>xmlEnumerationPtr</A
411> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000412HREF="libxml-valid.html#XMLCOPYENUMERATION"
Daniel Veillard35925471999-02-25 08:46:07 +0000413>xmlCopyEnumeration</A
414> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000415HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000416>xmlEnumerationPtr</A
417> cur);
418<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000419HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000420>xmlAttributePtr</A
421> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000422HREF="libxml-valid.html#XMLADDATTRIBUTEDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000423>xmlAddAttributeDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000424> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000425HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000426>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000427> ctxt,
428 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000429HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000430>xmlDtdPtr</A
431> dtd,
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> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000436 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000437HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000438>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000439> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000440 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000441HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000442>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +0000443> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000444 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000445HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000446>xmlAttributeType</A
447> type,
448 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000449HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000450>xmlAttributeDefault</A
451> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000452 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000453HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000454>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000455> *defaultValue,
456 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000457HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000458>xmlEnumerationPtr</A
459> tree);
460<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000461HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000462>xmlAttributeTablePtr</A
463> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000464HREF="libxml-valid.html#XMLCOPYATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000465>xmlCopyAttributeTable</A
466> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000467HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000468>xmlAttributeTablePtr</A
469> table);
470void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000471HREF="libxml-valid.html#XMLFREEATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000472>xmlFreeAttributeTable</A
473> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000474HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000475>xmlAttributeTablePtr</A
476> table);
477void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000478HREF="libxml-valid.html#XMLDUMPATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000479>xmlDumpAttributeTable</A
480> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000481HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000482>xmlBufferPtr</A
483> buf,
484 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000485HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000486>xmlAttributeTablePtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000487> table);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000488void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000489HREF="libxml-valid.html#XMLDUMPATTRIBUTEDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000490>xmlDumpAttributeDecl</A
491> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000492HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000493>xmlBufferPtr</A
494> buf,
495 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000496HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000497>xmlAttributePtr</A
498> attr);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000499<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000500HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000501>xmlIDPtr</A
502> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000503HREF="libxml-valid.html#XMLADDID"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000504>xmlAddID</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000505> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000506HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000507>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000508> ctxt,
509 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000510HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000511>xmlDocPtr</A
512> doc,
513 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000514HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000515>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000516> *value,
517 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000518HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000519>xmlAttrPtr</A
520> attr);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000521void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000522HREF="libxml-valid.html#XMLFREEIDTABLE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000523>xmlFreeIDTable</A
524> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000525HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000526>xmlIDTablePtr</A
527> table);
528<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000529HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000530>xmlAttrPtr</A
531> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000532HREF="libxml-valid.html#XMLGETID"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000533>xmlGetID</A
534> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000535HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000536>xmlDocPtr</A
537> doc,
538 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000539HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000540>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000541> *ID);
542int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000543HREF="libxml-valid.html#XMLISID"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000544>xmlIsID</A
545> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000546HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000547>xmlDocPtr</A
548> doc,
549 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000550HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000551>xmlNodePtr</A
552> elem,
553 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000554HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000555>xmlAttrPtr</A
556> attr);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000557int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000558HREF="libxml-valid.html#XMLREMOVEID"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000559>xmlRemoveID</A
560> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000561HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000562>xmlDocPtr</A
563> doc,
564 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000565HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000566>xmlAttrPtr</A
567> attr);
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000568<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000569HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000570>xmlRefPtr</A
571> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000572HREF="libxml-valid.html#XMLADDREF"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000573>xmlAddRef</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000574> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000575HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000576>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000577> ctxt,
578 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000579HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000580>xmlDocPtr</A
581> doc,
582 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000583HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000584>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000585> *value,
586 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000587HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000588>xmlAttrPtr</A
589> attr);
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000590void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000591HREF="libxml-valid.html#XMLFREEREFTABLE"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000592>xmlFreeRefTable</A
593> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000594HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000595>xmlRefTablePtr</A
596> table);
597int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000598HREF="libxml-valid.html#XMLISREF"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000599>xmlIsRef</A
600> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000601HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000602>xmlDocPtr</A
603> doc,
604 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000605HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000606>xmlNodePtr</A
607> elem,
608 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000609HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000610>xmlAttrPtr</A
611> attr);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000612int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000613HREF="libxml-valid.html#XMLREMOVEREF"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000614>xmlRemoveRef</A
615> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000616HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000617>xmlDocPtr</A
618> doc,
619 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000620HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000621>xmlAttrPtr</A
622> attr);
Daniel Veillarda41123c2001-04-22 19:31:20 +0000623<GTKDOCLINK
624HREF="XMLLISTPTR"
625>xmlListPtr</GTKDOCLINK
626> <A
627HREF="libxml-valid.html#XMLGETREFS"
628>xmlGetRefs</A
629> (<A
630HREF="libxml-tree.html#XMLDOCPTR"
631>xmlDocPtr</A
632> doc,
633 const <A
634HREF="libxml-tree.html#XMLCHAR"
635>xmlChar</A
636> *ID);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000637int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000638HREF="libxml-valid.html#XMLVALIDATEROOT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000639>xmlValidateRoot</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000640> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000641HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000642>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000643> ctxt,
644 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000645HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000646>xmlDocPtr</A
647> doc);
648int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000649HREF="libxml-valid.html#XMLVALIDATEELEMENTDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000650>xmlValidateElementDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000651> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000652HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000653>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000654> ctxt,
655 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000656HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000657>xmlDocPtr</A
658> doc,
659 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000660HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000661>xmlElementPtr</A
662> elem);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000663<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000664HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000665>xmlChar</A
666>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000667HREF="libxml-valid.html#XMLVALIDNORMALIZEATTRIBUTEVALUE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000668>xmlValidNormalizeAttributeValue</A
669> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000670HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000671>xmlDocPtr</A
672> doc,
673 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000674HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000675>xmlNodePtr</A
676> elem,
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> *name,
681 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000682HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000683>xmlChar</A
684> *value);
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000685<A
686HREF="libxml-tree.html#XMLCHAR"
687>xmlChar</A
688>* <A
689HREF="libxml-valid.html#XMLVALIDCTXTNORMALIZEATTRIBUTEVALUE"
690>xmlValidCtxtNormalizeAttributeValue</A
691>
692 (<A
693HREF="libxml-valid.html#XMLVALIDCTXTPTR"
694>xmlValidCtxtPtr</A
695> ctxt,
696 <A
697HREF="libxml-tree.html#XMLDOCPTR"
698>xmlDocPtr</A
699> doc,
700 <A
701HREF="libxml-tree.html#XMLNODEPTR"
702>xmlNodePtr</A
703> elem,
704 const <A
705HREF="libxml-tree.html#XMLCHAR"
706>xmlChar</A
707> *name,
708 const <A
709HREF="libxml-tree.html#XMLCHAR"
710>xmlChar</A
711> *value);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000712int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000713HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000714>xmlValidateAttributeDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000715> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000716HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000717>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000718> ctxt,
719 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000720HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000721>xmlDocPtr</A
722> doc,
723 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000724HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000725>xmlAttributePtr</A
726> attr);
727int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000728HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000729>xmlValidateAttributeValue</A
730> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000731HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000732>xmlAttributeType</A
733> type,
734 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000735HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000736>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000737> *value);
738int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000739HREF="libxml-valid.html#XMLVALIDATENOTATIONDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000740>xmlValidateNotationDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000741> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000742HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000743>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000744> ctxt,
745 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000746HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000747>xmlDocPtr</A
748> doc,
749 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000750HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000751>xmlNotationPtr</A
752> nota);
753int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000754HREF="libxml-valid.html#XMLVALIDATEDTD"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000755>xmlValidateDtd</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000756> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000757HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000758>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000759> ctxt,
760 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000761HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000762>xmlDocPtr</A
763> doc,
764 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000765HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000766>xmlDtdPtr</A
767> dtd);
768int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000769HREF="libxml-valid.html#XMLVALIDATEDTDFINAL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000770>xmlValidateDtdFinal</A
771> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000772HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000773>xmlValidCtxtPtr</A
774> ctxt,
775 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000776HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000777>xmlDocPtr</A
778> doc);
779int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000780HREF="libxml-valid.html#XMLVALIDATEDOCUMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000781>xmlValidateDocument</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000782> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000783HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000784>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000785> ctxt,
786 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000787HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000788>xmlDocPtr</A
789> doc);
790int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000791HREF="libxml-valid.html#XMLVALIDATEELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000792>xmlValidateElement</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000793> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000794HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000795>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000796> ctxt,
797 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000798HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000799>xmlDocPtr</A
800> doc,
801 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000802HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000803>xmlNodePtr</A
804> elem);
805int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000806HREF="libxml-valid.html#XMLVALIDATEONEELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000807>xmlValidateOneElement</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000808> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000809HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000810>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000811> ctxt,
812 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000813HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000814>xmlDocPtr</A
815> doc,
816 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000817HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000818>xmlNodePtr</A
819> elem);
820int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000821HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000822>xmlValidateOneAttribute</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000823> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000824HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000825>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000826> ctxt,
827 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000828HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000829>xmlDocPtr</A
830> doc,
831 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000832HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000833>xmlNodePtr</A
834> elem,
835 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000836HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000837>xmlAttrPtr</A
838> attr,
839 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000840HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000841>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000842> *value);
843int <A
Daniel Veillard5ede35e2002-10-01 11:37:35 +0000844HREF="libxml-valid.html#XMLVALIDATEONENAMESPACE"
845>xmlValidateOneNamespace</A
846> (<A
847HREF="libxml-valid.html#XMLVALIDCTXTPTR"
848>xmlValidCtxtPtr</A
849> ctxt,
850 <A
851HREF="libxml-tree.html#XMLDOCPTR"
852>xmlDocPtr</A
853> doc,
854 <A
855HREF="libxml-tree.html#XMLNODEPTR"
856>xmlNodePtr</A
857> elem,
858 const <A
859HREF="libxml-tree.html#XMLCHAR"
860>xmlChar</A
861> *prefix,
862 <A
863HREF="libxml-tree.html#XMLNSPTR"
864>xmlNsPtr</A
865> ns,
866 const <A
867HREF="libxml-tree.html#XMLCHAR"
868>xmlChar</A
869> *value);
870int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000871HREF="libxml-valid.html#XMLVALIDATEDOCUMENTFINAL"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000872>xmlValidateDocumentFinal</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000873> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000874HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000875>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000876> ctxt,
877 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000878HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000879>xmlDocPtr</A
880> doc);
881int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000882HREF="libxml-valid.html#XMLVALIDATENOTATIONUSE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000883>xmlValidateNotationUse</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000884> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000885HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000886>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000887> ctxt,
888 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000889HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000890>xmlDocPtr</A
891> doc,
892 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000893HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000894>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000895> *notationName);
896int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000897HREF="libxml-valid.html#XMLISMIXEDELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000898>xmlIsMixedElement</A
899> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000900HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000901>xmlDocPtr</A
902> doc,
903 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000904HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000905>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000906> *name);
907<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000908HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000909>xmlAttributePtr</A
910> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000911HREF="libxml-valid.html#XMLGETDTDATTRDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000912>xmlGetDtdAttrDesc</A
913> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000914HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000915>xmlDtdPtr</A
916> dtd,
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> *elem,
921 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000922HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000923>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000924> *name);
925<A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000926HREF="libxml-tree.html#XMLATTRIBUTEPTR"
927>xmlAttributePtr</A
928> <A
929HREF="libxml-valid.html#XMLGETDTDQATTRDESC"
930>xmlGetDtdQAttrDesc</A
931> (<A
932HREF="libxml-tree.html#XMLDTDPTR"
933>xmlDtdPtr</A
934> dtd,
935 const <A
936HREF="libxml-tree.html#XMLCHAR"
937>xmlChar</A
938> *elem,
939 const <A
940HREF="libxml-tree.html#XMLCHAR"
941>xmlChar</A
942> *name,
943 const <A
944HREF="libxml-tree.html#XMLCHAR"
945>xmlChar</A
946> *prefix);
947<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000948HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000949>xmlNotationPtr</A
950> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000951HREF="libxml-valid.html#XMLGETDTDNOTATIONDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000952>xmlGetDtdNotationDesc</A
953> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000954HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000955>xmlDtdPtr</A
956> dtd,
957 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000958HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000959>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000960> *name);
961<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000962HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000963>xmlElementPtr</A
964> <A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000965HREF="libxml-valid.html#XMLGETDTDQELEMENTDESC"
966>xmlGetDtdQElementDesc</A
967> (<A
968HREF="libxml-tree.html#XMLDTDPTR"
969>xmlDtdPtr</A
970> dtd,
971 const <A
972HREF="libxml-tree.html#XMLCHAR"
973>xmlChar</A
974> *name,
975 const <A
976HREF="libxml-tree.html#XMLCHAR"
977>xmlChar</A
978> *prefix);
979<A
980HREF="libxml-tree.html#XMLELEMENTPTR"
981>xmlElementPtr</A
982> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000983HREF="libxml-valid.html#XMLGETDTDELEMENTDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000984>xmlGetDtdElementDesc</A
985> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000986HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000987>xmlDtdPtr</A
988> dtd,
989 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000990HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000991>xmlChar</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000992> *name);
993int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000994HREF="libxml-valid.html#XMLVALIDGETVALIDELEMENTS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000995>xmlValidGetValidElements</A
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> *prev,
1000 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001001HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001002>xmlNode</A
1003> *next,
1004 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001005HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001006>xmlChar</A
1007> **list,
1008 int max);
1009int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001010HREF="libxml-valid.html#XMLVALIDGETPOTENTIALCHILDREN"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001011>xmlValidGetPotentialChildren</A
1012> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001013HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001014>xmlElementContent</A
1015> *ctree,
1016 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001017HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001018>xmlChar</A
1019> **list,
1020 int *len,
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001021 int max);
1022int <A
1023HREF="libxml-valid.html#XMLVALIDATENAMEVALUE"
1024>xmlValidateNameValue</A
1025> (const <A
1026HREF="libxml-tree.html#XMLCHAR"
1027>xmlChar</A
1028> *value);
1029int <A
1030HREF="libxml-valid.html#XMLVALIDATENAMESVALUE"
1031>xmlValidateNamesValue</A
1032> (const <A
1033HREF="libxml-tree.html#XMLCHAR"
1034>xmlChar</A
1035> *value);
1036int <A
1037HREF="libxml-valid.html#XMLVALIDATENMTOKENVALUE"
1038>xmlValidateNmtokenValue</A
1039> (const <A
1040HREF="libxml-tree.html#XMLCHAR"
1041>xmlChar</A
1042> *value);
1043int <A
1044HREF="libxml-valid.html#XMLVALIDATENMTOKENSVALUE"
1045>xmlValidateNmtokensValue</A
1046> (const <A
1047HREF="libxml-tree.html#XMLCHAR"
1048>xmlChar</A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001049> *value);
1050int <A
1051HREF="libxml-valid.html#XMLVALIDBUILDCONTENTMODEL"
1052>xmlValidBuildContentModel</A
1053> (<A
1054HREF="libxml-valid.html#XMLVALIDCTXTPTR"
1055>xmlValidCtxtPtr</A
1056> ctxt,
1057 <A
1058HREF="libxml-tree.html#XMLELEMENTPTR"
1059>xmlElementPtr</A
Daniel Veillardaec63562003-03-23 20:42:17 +00001060> elem);
1061int <A
1062HREF="libxml-valid.html#XMLVALIDATEPUSHELEMENT"
1063>xmlValidatePushElement</A
1064> (<A
1065HREF="libxml-valid.html#XMLVALIDCTXTPTR"
1066>xmlValidCtxtPtr</A
1067> ctxt,
1068 <A
1069HREF="libxml-tree.html#XMLDOCPTR"
1070>xmlDocPtr</A
1071> doc,
1072 <A
1073HREF="libxml-tree.html#XMLNODEPTR"
1074>xmlNodePtr</A
1075> elem,
1076 const <A
1077HREF="libxml-tree.html#XMLCHAR"
1078>xmlChar</A
1079> *qname);
1080int <A
1081HREF="libxml-valid.html#XMLVALIDATEPUSHCDATA"
1082>xmlValidatePushCData</A
1083> (<A
1084HREF="libxml-valid.html#XMLVALIDCTXTPTR"
1085>xmlValidCtxtPtr</A
1086> ctxt,
1087 const <A
1088HREF="libxml-tree.html#XMLCHAR"
1089>xmlChar</A
1090> *data,
1091 int len);
1092int <A
1093HREF="libxml-valid.html#XMLVALIDATEPOPELEMENT"
1094>xmlValidatePopElement</A
1095> (<A
1096HREF="libxml-valid.html#XMLVALIDCTXTPTR"
1097>xmlValidCtxtPtr</A
1098> ctxt,
1099 <A
1100HREF="libxml-tree.html#XMLDOCPTR"
1101>xmlDocPtr</A
1102> doc,
1103 <A
1104HREF="libxml-tree.html#XMLNODEPTR"
1105>xmlNodePtr</A
1106> elem,
1107 const <A
1108HREF="libxml-tree.html#XMLCHAR"
1109>xmlChar</A
1110> *qname);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001111></TD
1112></TR
1113></TABLE
1114></DIV
1115><DIV
1116CLASS="REFSECT1"
1117><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001118NAME="AEN10170"
Daniel Veillard35925471999-02-25 08:46:07 +00001119></A
1120><H2
1121>Description</H2
1122><P
1123></P
1124></DIV
1125><DIV
1126CLASS="REFSECT1"
1127><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001128NAME="AEN10173"
Daniel Veillard35925471999-02-25 08:46:07 +00001129></A
1130><H2
1131>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001132><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001133CLASS="REFSECT2"
1134><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001135NAME="AEN10175"
Daniel Veillarda41123c2001-04-22 19:31:20 +00001136></A
1137><H3
1138><A
1139NAME="XMLVALIDSTATE"
1140></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001141>struct xmlValidState</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00001142><TABLE
1143BORDER="0"
1144BGCOLOR="#D6E8FF"
1145WIDTH="100%"
1146CELLPADDING="6"
1147><TR
1148><TD
1149><PRE
1150CLASS="PROGRAMLISTING"
1151>struct xmlValidState;</PRE
1152></TD
1153></TR
1154></TABLE
1155><P
1156></P
1157></DIV
1158><HR><DIV
1159CLASS="REFSECT2"
1160><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001161NAME="AEN10180"
Daniel Veillarda41123c2001-04-22 19:31:20 +00001162></A
1163><H3
1164><A
1165NAME="XMLVALIDSTATEPTR"
1166></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001167>xmlValidStatePtr</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00001168><P
1169></P
1170></DIV
1171><HR><DIV
1172CLASS="REFSECT2"
1173><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001174NAME="AEN10184"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001175></A
1176><H3
1177><A
1178NAME="XMLVALIDITYERRORFUNC"
1179></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001180>xmlValidityErrorFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00001181><TABLE
1182BORDER="0"
1183BGCOLOR="#D6E8FF"
1184WIDTH="100%"
1185CELLPADDING="6"
1186><TR
1187><TD
1188><PRE
1189CLASS="PROGRAMLISTING"
1190>void (*xmlValidityErrorFunc) (void *ctx,
1191 const char *msg,
1192 ...);</PRE
1193></TD
1194></TR
1195></TABLE
1196><P
Daniel Veillard19274092002-03-25 16:48:03 +00001197>Callback called when a validity error is found. This is a message
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001198oriented function similar to an *printf function.</P
1199><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001200></P
1201><DIV
1202CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001203><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001204NAME="AEN10190"
Daniel Veillardaec63562003-03-23 20:42:17 +00001205></A
1206><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001207></P
1208><TABLE
1209BORDER="0"
1210WIDTH="100%"
1211BGCOLOR="#FFD0D0"
1212CELLSPACING="0"
1213CELLPADDING="4"
1214CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001215><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001216><TR
1217><TD
1218WIDTH="20%"
1219ALIGN="RIGHT"
1220VALIGN="TOP"
1221><TT
1222CLASS="PARAMETER"
1223><I
1224>ctx</I
1225></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001226>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001227><TD
1228WIDTH="80%"
1229ALIGN="LEFT"
1230VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001231>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001232></TR
1233><TR
1234><TD
1235WIDTH="20%"
1236ALIGN="RIGHT"
1237VALIGN="TOP"
1238><TT
1239CLASS="PARAMETER"
1240><I
1241>msg</I
1242></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001243>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001244><TD
1245WIDTH="80%"
1246ALIGN="LEFT"
1247VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001248>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001249></TR
1250><TR
1251><TD
1252WIDTH="20%"
1253ALIGN="RIGHT"
1254VALIGN="TOP"
1255><TT
1256CLASS="PARAMETER"
1257><I
1258>...</I
1259></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001260>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001261><TD
1262WIDTH="80%"
1263ALIGN="LEFT"
1264VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001265>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001266></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001267></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001268></TABLE
1269><P
1270></P
1271></DIV
1272></DIV
1273><HR><DIV
1274CLASS="REFSECT2"
1275><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001276NAME="AEN10207"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001277></A
1278><H3
1279><A
1280NAME="XMLVALIDITYWARNINGFUNC"
1281></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001282>xmlValidityWarningFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00001283><TABLE
1284BORDER="0"
1285BGCOLOR="#D6E8FF"
1286WIDTH="100%"
1287CELLPADDING="6"
1288><TR
1289><TD
1290><PRE
1291CLASS="PROGRAMLISTING"
1292>void (*xmlValidityWarningFunc) (void *ctx,
1293 const char *msg,
1294 ...);</PRE
1295></TD
1296></TR
1297></TABLE
1298><P
Daniel Veillard19274092002-03-25 16:48:03 +00001299>Callback called when a validity warning is found. This is a message
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001300oriented function similar to an *printf function.</P
1301><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001302></P
1303><DIV
1304CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001305><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001306NAME="AEN10213"
Daniel Veillardaec63562003-03-23 20:42:17 +00001307></A
1308><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001309></P
1310><TABLE
1311BORDER="0"
1312WIDTH="100%"
1313BGCOLOR="#FFD0D0"
1314CELLSPACING="0"
1315CELLPADDING="4"
1316CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001317><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001318><TR
1319><TD
1320WIDTH="20%"
1321ALIGN="RIGHT"
1322VALIGN="TOP"
1323><TT
1324CLASS="PARAMETER"
1325><I
1326>ctx</I
1327></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001328>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001329><TD
1330WIDTH="80%"
1331ALIGN="LEFT"
1332VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001333>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001334></TR
1335><TR
1336><TD
1337WIDTH="20%"
1338ALIGN="RIGHT"
1339VALIGN="TOP"
1340><TT
1341CLASS="PARAMETER"
1342><I
1343>msg</I
1344></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001345>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001346><TD
1347WIDTH="80%"
1348ALIGN="LEFT"
1349VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001350>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001351></TR
1352><TR
1353><TD
1354WIDTH="20%"
1355ALIGN="RIGHT"
1356VALIGN="TOP"
1357><TT
1358CLASS="PARAMETER"
1359><I
1360>...</I
1361></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001362>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001363><TD
1364WIDTH="80%"
1365ALIGN="LEFT"
1366VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001367>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001368></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001369></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001370></TABLE
1371><P
1372></P
1373></DIV
1374></DIV
1375><HR><DIV
1376CLASS="REFSECT2"
1377><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001378NAME="AEN10230"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001379></A
1380><H3
1381><A
1382NAME="XMLVALIDCTXT"
1383></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001384>struct xmlValidCtxt</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001385><TABLE
1386BORDER="0"
1387BGCOLOR="#D6E8FF"
1388WIDTH="100%"
1389CELLPADDING="6"
1390><TR
1391><TD
1392><PRE
1393CLASS="PROGRAMLISTING"
1394>struct xmlValidCtxt {
1395 void *userData; /* user specific data block */
1396 xmlValidityErrorFunc error; /* the callback in case of errors */
1397 xmlValidityWarningFunc warning; /* the callback in case of warning */
1398
1399 /* Node analysis stack used when validating within entities */
1400 xmlNodePtr node; /* Current parsed Node */
1401 int nodeNr; /* Depth of the parsing stack */
1402 int nodeMax; /* Max depth of the parsing stack */
1403 xmlNodePtr *nodeTab; /* array of nodes */
1404
1405 int finishDtd; /* finished validating the Dtd ? */
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001406 xmlDocPtr doc; /* the document */
1407 int valid; /* temporary validity check result */
Daniel Veillarda41123c2001-04-22 19:31:20 +00001408
1409 /* state state used for non-determinist content validation */
1410 xmlValidState *vstate; /* current state */
1411 int vstateNr; /* Depth of the validation stack */
1412 int vstateMax; /* Max depth of the validation stack */
1413 xmlValidState *vstateTab; /* array of validation states */
Daniel Veillard2ace1952002-09-26 12:28:02 +00001414
1415#ifdef LIBXML_REGEXP_ENABLED
1416 xmlAutomataPtr am; /* the automata */
1417 xmlAutomataStatePtr state; /* used to build the automata */
1418#else
1419 void *am;
1420 void *state;
1421#endif
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001422};</PRE
1423></TD
1424></TR
1425></TABLE
1426><P
1427></P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001428><P
1429></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001430></DIV
1431><HR><DIV
1432CLASS="REFSECT2"
1433><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001434NAME="AEN10236"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001435></A
1436><H3
1437><A
1438NAME="XMLVALIDCTXTPTR"
1439></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001440>xmlValidCtxtPtr</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001441><P
1442></P
1443></DIV
1444><HR><DIV
1445CLASS="REFSECT2"
1446><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001447NAME="AEN10240"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001448></A
1449><H3
1450><A
1451NAME="XMLNOTATIONTABLEPTR"
1452></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001453>xmlNotationTablePtr</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001454><P
1455></P
1456></DIV
1457><HR><DIV
1458CLASS="REFSECT2"
1459><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001460NAME="AEN10244"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001461></A
1462><H3
1463><A
1464NAME="XMLELEMENTTABLEPTR"
1465></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001466>xmlElementTablePtr</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001467><P
1468></P
1469></DIV
1470><HR><DIV
1471CLASS="REFSECT2"
1472><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001473NAME="AEN10248"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001474></A
1475><H3
1476><A
1477NAME="XMLATTRIBUTETABLEPTR"
1478></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001479>xmlAttributeTablePtr</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001480><P
1481></P
1482></DIV
1483><HR><DIV
1484CLASS="REFSECT2"
1485><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001486NAME="AEN10252"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001487></A
1488><H3
1489><A
1490NAME="XMLIDTABLEPTR"
1491></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001492>xmlIDTablePtr</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001493><P
1494></P
1495></DIV
1496><HR><DIV
1497CLASS="REFSECT2"
1498><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001499NAME="AEN10256"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001500></A
1501><H3
1502><A
1503NAME="XMLREFTABLEPTR"
1504></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001505>xmlRefTablePtr</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001506><P
1507></P
1508></DIV
1509><HR><DIV
1510CLASS="REFSECT2"
1511><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001512NAME="AEN10260"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001513></A
1514><H3
1515><A
1516NAME="XMLSPLITQNAME2"
1517></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001518>xmlSplitQName2 ()</H3
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001519><TABLE
1520BORDER="0"
1521BGCOLOR="#D6E8FF"
1522WIDTH="100%"
1523CELLPADDING="6"
1524><TR
1525><TD
1526><PRE
1527CLASS="PROGRAMLISTING"
1528><A
1529HREF="libxml-tree.html#XMLCHAR"
1530>xmlChar</A
1531>* xmlSplitQName2 (const <A
1532HREF="libxml-tree.html#XMLCHAR"
1533>xmlChar</A
1534> *name,
1535 <A
1536HREF="libxml-tree.html#XMLCHAR"
1537>xmlChar</A
1538> **prefix);</PRE
1539></TD
1540></TR
1541></TABLE
1542><P
1543>parse an XML qualified name string</P
1544><P
1545>[NS 5] QName ::= (Prefix ':')? LocalPart</P
1546><P
1547>[NS 6] Prefix ::= NCName</P
1548><P
1549>[NS 7] LocalPart ::= NCName</P
1550><P
1551></P
1552><DIV
1553CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001554><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001555NAME="AEN10272"
Daniel Veillardaec63562003-03-23 20:42:17 +00001556></A
1557><P
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001558></P
1559><TABLE
1560BORDER="0"
1561WIDTH="100%"
1562BGCOLOR="#FFD0D0"
1563CELLSPACING="0"
1564CELLPADDING="4"
1565CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001566><TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001567><TR
1568><TD
1569WIDTH="20%"
1570ALIGN="RIGHT"
1571VALIGN="TOP"
1572><TT
1573CLASS="PARAMETER"
1574><I
1575>name</I
1576></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001577>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001578><TD
1579WIDTH="80%"
1580ALIGN="LEFT"
1581VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001582>&nbsp;</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001583></TR
1584><TR
1585><TD
1586WIDTH="20%"
1587ALIGN="RIGHT"
1588VALIGN="TOP"
1589><TT
1590CLASS="PARAMETER"
1591><I
1592>prefix</I
1593></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001594>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001595><TD
1596WIDTH="80%"
1597ALIGN="LEFT"
1598VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001599>&nbsp;</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001600></TR
1601><TR
1602><TD
1603WIDTH="20%"
1604ALIGN="RIGHT"
1605VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001606><SPAN
1607CLASS="emphasis"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001608><I
1609CLASS="EMPHASIS"
1610>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001611></SPAN
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001612> :</TD
1613><TD
1614WIDTH="80%"
1615ALIGN="LEFT"
1616VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001617>&nbsp;</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001618></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001619></TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001620></TABLE
1621><P
1622></P
1623></DIV
1624></DIV
1625><HR><DIV
1626CLASS="REFSECT2"
1627><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001628NAME="AEN10289"
Daniel Veillard35925471999-02-25 08:46:07 +00001629></A
1630><H3
1631><A
1632NAME="XMLADDNOTATIONDECL"
1633></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001634>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001635><TABLE
1636BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001637BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001638WIDTH="100%"
1639CELLPADDING="6"
1640><TR
1641><TD
1642><PRE
1643CLASS="PROGRAMLISTING"
1644><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001645HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001646>xmlNotationPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001647> xmlAddNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001648HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001649>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001650> ctxt,
1651 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001652HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001653>xmlDtdPtr</A
1654> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001655 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001656HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001657>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001658> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001659 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001660HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001661>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001662> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001663 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001664HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001665>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001666> *SystemID);</PRE
1667></TD
1668></TR
1669></TABLE
1670><P
1671>Register a new notation declaration</P
1672><P
1673></P
1674><DIV
1675CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001676><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001677NAME="AEN10301"
Daniel Veillardaec63562003-03-23 20:42:17 +00001678></A
1679><P
Daniel Veillard35925471999-02-25 08:46:07 +00001680></P
1681><TABLE
1682BORDER="0"
1683WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001684BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001685CELLSPACING="0"
1686CELLPADDING="4"
1687CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001688><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001689><TR
1690><TD
1691WIDTH="20%"
1692ALIGN="RIGHT"
1693VALIGN="TOP"
1694><TT
1695CLASS="PARAMETER"
1696><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001697>ctxt</I
1698></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001699>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001700><TD
1701WIDTH="80%"
1702ALIGN="LEFT"
1703VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001704>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001705></TR
1706><TR
1707><TD
1708WIDTH="20%"
1709ALIGN="RIGHT"
1710VALIGN="TOP"
1711><TT
1712CLASS="PARAMETER"
1713><I
Daniel Veillard35925471999-02-25 08:46:07 +00001714>dtd</I
1715></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001716>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001717><TD
1718WIDTH="80%"
1719ALIGN="LEFT"
1720VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001721>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001722></TR
1723><TR
1724><TD
1725WIDTH="20%"
1726ALIGN="RIGHT"
1727VALIGN="TOP"
1728><TT
1729CLASS="PARAMETER"
1730><I
1731>name</I
1732></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001733>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001734><TD
1735WIDTH="80%"
1736ALIGN="LEFT"
1737VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001738>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001739></TR
1740><TR
1741><TD
1742WIDTH="20%"
1743ALIGN="RIGHT"
1744VALIGN="TOP"
1745><TT
1746CLASS="PARAMETER"
1747><I
1748>PublicID</I
1749></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001750>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001751><TD
1752WIDTH="80%"
1753ALIGN="LEFT"
1754VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001755>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001756></TR
1757><TR
1758><TD
1759WIDTH="20%"
1760ALIGN="RIGHT"
1761VALIGN="TOP"
1762><TT
1763CLASS="PARAMETER"
1764><I
1765>SystemID</I
1766></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001767>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001768><TD
1769WIDTH="80%"
1770ALIGN="LEFT"
1771VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001772>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001773></TR
1774><TR
1775><TD
1776WIDTH="20%"
1777ALIGN="RIGHT"
1778VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001779><SPAN
1780CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00001781><I
1782CLASS="EMPHASIS"
1783>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001784></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00001785> :</TD
1786><TD
1787WIDTH="80%"
1788ALIGN="LEFT"
1789VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001790>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001791></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001792></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001793></TABLE
1794><P
1795></P
1796></DIV
1797></DIV
1798><HR><DIV
1799CLASS="REFSECT2"
1800><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001801NAME="AEN10330"
Daniel Veillard35925471999-02-25 08:46:07 +00001802></A
1803><H3
1804><A
1805NAME="XMLCOPYNOTATIONTABLE"
1806></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001807>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001808><TABLE
1809BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001810BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001811WIDTH="100%"
1812CELLPADDING="6"
1813><TR
1814><TD
1815><PRE
1816CLASS="PROGRAMLISTING"
1817><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001818HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001819>xmlNotationTablePtr</A
1820> xmlCopyNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001821HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001822>xmlNotationTablePtr</A
1823> table);</PRE
1824></TD
1825></TR
1826></TABLE
1827><P
1828>Build a copy of a notation table.</P
1829><P
1830></P
1831><DIV
1832CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001833><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001834NAME="AEN10338"
Daniel Veillardaec63562003-03-23 20:42:17 +00001835></A
1836><P
Daniel Veillard35925471999-02-25 08:46:07 +00001837></P
1838><TABLE
1839BORDER="0"
1840WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001841BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001842CELLSPACING="0"
1843CELLPADDING="4"
1844CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001845><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001846><TR
1847><TD
1848WIDTH="20%"
1849ALIGN="RIGHT"
1850VALIGN="TOP"
1851><TT
1852CLASS="PARAMETER"
1853><I
1854>table</I
1855></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001856>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001857><TD
1858WIDTH="80%"
1859ALIGN="LEFT"
1860VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001861>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001862></TR
1863><TR
1864><TD
1865WIDTH="20%"
1866ALIGN="RIGHT"
1867VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001868><SPAN
1869CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00001870><I
1871CLASS="EMPHASIS"
1872>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001873></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00001874> :</TD
1875><TD
1876WIDTH="80%"
1877ALIGN="LEFT"
1878VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001879>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001880></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001881></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001882></TABLE
1883><P
1884></P
1885></DIV
1886></DIV
1887><HR><DIV
1888CLASS="REFSECT2"
1889><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001890NAME="AEN10351"
Daniel Veillard35925471999-02-25 08:46:07 +00001891></A
1892><H3
1893><A
1894NAME="XMLFREENOTATIONTABLE"
1895></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001896>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001897><TABLE
1898BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001899BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001900WIDTH="100%"
1901CELLPADDING="6"
1902><TR
1903><TD
1904><PRE
1905CLASS="PROGRAMLISTING"
1906>void xmlFreeNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001907HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001908>xmlNotationTablePtr</A
1909> table);</PRE
1910></TD
1911></TR
1912></TABLE
1913><P
1914>Deallocate the memory used by an entities hash table.</P
1915><P
1916></P
1917><DIV
1918CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001919><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001920NAME="AEN10358"
Daniel Veillardaec63562003-03-23 20:42:17 +00001921></A
1922><P
Daniel Veillard35925471999-02-25 08:46:07 +00001923></P
1924><TABLE
1925BORDER="0"
1926WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001927BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001928CELLSPACING="0"
1929CELLPADDING="4"
1930CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001931><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001932><TR
1933><TD
1934WIDTH="20%"
1935ALIGN="RIGHT"
1936VALIGN="TOP"
1937><TT
1938CLASS="PARAMETER"
1939><I
1940>table</I
1941></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001942>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001943><TD
1944WIDTH="80%"
1945ALIGN="LEFT"
1946VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001947>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001948></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001949></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001950></TABLE
1951><P
1952></P
1953></DIV
1954></DIV
1955><HR><DIV
1956CLASS="REFSECT2"
1957><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001958NAME="AEN10367"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001959></A
1960><H3
1961><A
1962NAME="XMLDUMPNOTATIONDECL"
1963></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001964>xmlDumpNotationDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001965><TABLE
1966BORDER="0"
1967BGCOLOR="#D6E8FF"
1968WIDTH="100%"
1969CELLPADDING="6"
1970><TR
1971><TD
1972><PRE
1973CLASS="PROGRAMLISTING"
1974>void xmlDumpNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001975HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001976>xmlBufferPtr</A
1977> buf,
1978 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001979HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001980>xmlNotationPtr</A
1981> nota);</PRE
1982></TD
1983></TR
1984></TABLE
1985><P
1986>This will dump the content the notation declaration as an XML DTD definition</P
1987><P
1988></P
1989><DIV
1990CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001991><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00001992NAME="AEN10375"
Daniel Veillardaec63562003-03-23 20:42:17 +00001993></A
1994><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001995></P
1996><TABLE
1997BORDER="0"
1998WIDTH="100%"
1999BGCOLOR="#FFD0D0"
2000CELLSPACING="0"
2001CELLPADDING="4"
2002CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002003><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002004><TR
2005><TD
2006WIDTH="20%"
2007ALIGN="RIGHT"
2008VALIGN="TOP"
2009><TT
2010CLASS="PARAMETER"
2011><I
2012>buf</I
2013></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002014>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002015><TD
2016WIDTH="80%"
2017ALIGN="LEFT"
2018VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002019>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002020></TR
2021><TR
2022><TD
2023WIDTH="20%"
2024ALIGN="RIGHT"
2025VALIGN="TOP"
2026><TT
2027CLASS="PARAMETER"
2028><I
2029>nota</I
2030></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002031>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002032><TD
2033WIDTH="80%"
2034ALIGN="LEFT"
2035VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002036>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002037></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002038></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002039></TABLE
2040><P
2041></P
2042></DIV
2043></DIV
2044><HR><DIV
2045CLASS="REFSECT2"
2046><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002047NAME="AEN10388"
Daniel Veillard35925471999-02-25 08:46:07 +00002048></A
2049><H3
2050><A
2051NAME="XMLDUMPNOTATIONTABLE"
2052></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002053>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002054><TABLE
2055BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002056BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002057WIDTH="100%"
2058CELLPADDING="6"
2059><TR
2060><TD
2061><PRE
2062CLASS="PROGRAMLISTING"
2063>void xmlDumpNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002064HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002065>xmlBufferPtr</A
2066> buf,
2067 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002068HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002069>xmlNotationTablePtr</A
2070> table);</PRE
2071></TD
2072></TR
2073></TABLE
2074><P
2075>This will dump the content of the notation table as an XML DTD definition</P
2076><P
Daniel Veillard35925471999-02-25 08:46:07 +00002077></P
2078><DIV
2079CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002080><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002081NAME="AEN10396"
Daniel Veillardaec63562003-03-23 20:42:17 +00002082></A
2083><P
Daniel Veillard35925471999-02-25 08:46:07 +00002084></P
2085><TABLE
2086BORDER="0"
2087WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002088BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002089CELLSPACING="0"
2090CELLPADDING="4"
2091CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002092><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002093><TR
2094><TD
2095WIDTH="20%"
2096ALIGN="RIGHT"
2097VALIGN="TOP"
2098><TT
2099CLASS="PARAMETER"
2100><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002101>buf</I
2102></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002103>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002104><TD
2105WIDTH="80%"
2106ALIGN="LEFT"
2107VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002108>&nbsp;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002109></TR
2110><TR
2111><TD
2112WIDTH="20%"
2113ALIGN="RIGHT"
2114VALIGN="TOP"
2115><TT
2116CLASS="PARAMETER"
2117><I
Daniel Veillard35925471999-02-25 08:46:07 +00002118>table</I
2119></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002120>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002121><TD
2122WIDTH="80%"
2123ALIGN="LEFT"
2124VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002125>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002126></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002127></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002128></TABLE
2129><P
2130></P
2131></DIV
2132></DIV
2133><HR><DIV
2134CLASS="REFSECT2"
2135><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002136NAME="AEN10409"
Daniel Veillard35925471999-02-25 08:46:07 +00002137></A
2138><H3
2139><A
2140NAME="XMLNEWELEMENTCONTENT"
2141></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002142>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002143><TABLE
2144BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002145BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002146WIDTH="100%"
2147CELLPADDING="6"
2148><TR
2149><TD
2150><PRE
2151CLASS="PROGRAMLISTING"
2152><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002153HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002154>xmlElementContentPtr</A
2155> xmlNewElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002156HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002157>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002158> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002159 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002160HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002161>xmlElementContentType</A
2162> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00002163></TD
2164></TR
2165></TABLE
2166><P
2167>Allocate an element content structure.</P
2168><P
2169></P
2170><DIV
2171CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002172><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002173NAME="AEN10418"
Daniel Veillardaec63562003-03-23 20:42:17 +00002174></A
2175><P
Daniel Veillard35925471999-02-25 08:46:07 +00002176></P
2177><TABLE
2178BORDER="0"
2179WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002180BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002181CELLSPACING="0"
2182CELLPADDING="4"
2183CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002184><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002185><TR
2186><TD
2187WIDTH="20%"
2188ALIGN="RIGHT"
2189VALIGN="TOP"
2190><TT
2191CLASS="PARAMETER"
2192><I
2193>name</I
2194></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002195>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002196><TD
2197WIDTH="80%"
2198ALIGN="LEFT"
2199VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002200>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002201></TR
2202><TR
2203><TD
2204WIDTH="20%"
2205ALIGN="RIGHT"
2206VALIGN="TOP"
2207><TT
2208CLASS="PARAMETER"
2209><I
2210>type</I
2211></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002212>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002213><TD
2214WIDTH="80%"
2215ALIGN="LEFT"
2216VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002217>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002218></TR
2219><TR
2220><TD
2221WIDTH="20%"
2222ALIGN="RIGHT"
2223VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002224><SPAN
2225CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002226><I
2227CLASS="EMPHASIS"
2228>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002229></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002230> :</TD
2231><TD
2232WIDTH="80%"
2233ALIGN="LEFT"
2234VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002235>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002236></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002237></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002238></TABLE
2239><P
2240></P
2241></DIV
2242></DIV
2243><HR><DIV
2244CLASS="REFSECT2"
2245><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002246NAME="AEN10435"
Daniel Veillard35925471999-02-25 08:46:07 +00002247></A
2248><H3
2249><A
2250NAME="XMLCOPYELEMENTCONTENT"
2251></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002252>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002253><TABLE
2254BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002255BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002256WIDTH="100%"
2257CELLPADDING="6"
2258><TR
2259><TD
2260><PRE
2261CLASS="PROGRAMLISTING"
2262><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002263HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002264>xmlElementContentPtr</A
2265> xmlCopyElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002266HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002267>xmlElementContentPtr</A
2268> content);</PRE
2269></TD
2270></TR
2271></TABLE
2272><P
2273>Build a copy of an element content description.</P
2274><P
2275></P
2276><DIV
2277CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002278><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002279NAME="AEN10443"
Daniel Veillardaec63562003-03-23 20:42:17 +00002280></A
2281><P
Daniel Veillard35925471999-02-25 08:46:07 +00002282></P
2283><TABLE
2284BORDER="0"
2285WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002286BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002287CELLSPACING="0"
2288CELLPADDING="4"
2289CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002290><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002291><TR
2292><TD
2293WIDTH="20%"
2294ALIGN="RIGHT"
2295VALIGN="TOP"
2296><TT
2297CLASS="PARAMETER"
2298><I
2299>content</I
2300></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002301>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002302><TD
2303WIDTH="80%"
2304ALIGN="LEFT"
2305VALIGN="TOP"
Daniel Veillardaec63562003-03-23 20:42:17 +00002306>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002307></TR
2308><TR
2309><TD
2310WIDTH="20%"
2311ALIGN="RIGHT"
2312VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002313><SPAN
2314CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002315><I
2316CLASS="EMPHASIS"
2317>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002318></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002319> :</TD
2320><TD
2321WIDTH="80%"
2322ALIGN="LEFT"
2323VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002324>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002325></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002326></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002327></TABLE
2328><P
2329></P
2330></DIV
2331></DIV
2332><HR><DIV
2333CLASS="REFSECT2"
2334><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002335NAME="AEN10456"
Daniel Veillard35925471999-02-25 08:46:07 +00002336></A
2337><H3
2338><A
2339NAME="XMLFREEELEMENTCONTENT"
2340></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002341>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002342><TABLE
2343BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002344BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002345WIDTH="100%"
2346CELLPADDING="6"
2347><TR
2348><TD
2349><PRE
2350CLASS="PROGRAMLISTING"
2351>void xmlFreeElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002352HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002353>xmlElementContentPtr</A
2354> cur);</PRE
2355></TD
2356></TR
2357></TABLE
2358><P
2359>Free an element content structure. This is a recursive call !</P
2360><P
2361></P
2362><DIV
2363CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002364><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002365NAME="AEN10463"
Daniel Veillardaec63562003-03-23 20:42:17 +00002366></A
2367><P
Daniel Veillard35925471999-02-25 08:46:07 +00002368></P
2369><TABLE
2370BORDER="0"
2371WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002372BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002373CELLSPACING="0"
2374CELLPADDING="4"
2375CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002376><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002377><TR
2378><TD
2379WIDTH="20%"
2380ALIGN="RIGHT"
2381VALIGN="TOP"
2382><TT
2383CLASS="PARAMETER"
2384><I
2385>cur</I
2386></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002387>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002388><TD
2389WIDTH="80%"
2390ALIGN="LEFT"
2391VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002392>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002393></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002394></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002395></TABLE
2396><P
2397></P
2398></DIV
2399></DIV
2400><HR><DIV
2401CLASS="REFSECT2"
2402><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002403NAME="AEN10472"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002404></A
2405><H3
2406><A
2407NAME="XMLSNPRINTFELEMENTCONTENT"
2408></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002409>xmlSnprintfElementContent ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002410><TABLE
2411BORDER="0"
2412BGCOLOR="#D6E8FF"
2413WIDTH="100%"
2414CELLPADDING="6"
2415><TR
2416><TD
2417><PRE
2418CLASS="PROGRAMLISTING"
2419>void xmlSnprintfElementContent (char *buf,
2420 int size,
2421 <A
2422HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
2423>xmlElementContentPtr</A
2424> content,
2425 int glob);</PRE
2426></TD
2427></TR
2428></TABLE
2429><P
2430>This will dump the content of the element content definition
2431Intended just for the debug routine</P
2432><P
2433></P
2434><DIV
2435CLASS="INFORMALTABLE"
2436><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002437NAME="AEN10479"
Daniel Veillardaec63562003-03-23 20:42:17 +00002438></A
2439><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002440></P
2441><TABLE
2442BORDER="0"
2443WIDTH="100%"
2444BGCOLOR="#FFD0D0"
2445CELLSPACING="0"
2446CELLPADDING="4"
2447CLASS="CALSTABLE"
2448><TBODY
2449><TR
2450><TD
2451WIDTH="20%"
2452ALIGN="RIGHT"
2453VALIGN="TOP"
2454><TT
2455CLASS="PARAMETER"
2456><I
2457>buf</I
2458></TT
2459>&nbsp;:</TD
2460><TD
2461WIDTH="80%"
2462ALIGN="LEFT"
2463VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002464>&nbsp;</TD
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002465></TR
2466><TR
2467><TD
2468WIDTH="20%"
2469ALIGN="RIGHT"
2470VALIGN="TOP"
2471><TT
2472CLASS="PARAMETER"
2473><I
2474>size</I
2475></TT
2476>&nbsp;:</TD
2477><TD
2478WIDTH="80%"
2479ALIGN="LEFT"
2480VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002481>&nbsp;</TD
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002482></TR
2483><TR
2484><TD
2485WIDTH="20%"
2486ALIGN="RIGHT"
2487VALIGN="TOP"
2488><TT
2489CLASS="PARAMETER"
2490><I
2491>content</I
2492></TT
2493>&nbsp;:</TD
2494><TD
2495WIDTH="80%"
2496ALIGN="LEFT"
2497VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002498>&nbsp;</TD
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002499></TR
2500><TR
2501><TD
2502WIDTH="20%"
2503ALIGN="RIGHT"
2504VALIGN="TOP"
2505><TT
2506CLASS="PARAMETER"
2507><I
2508>glob</I
2509></TT
2510>&nbsp;:</TD
2511><TD
2512WIDTH="80%"
2513ALIGN="LEFT"
2514VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002515>&nbsp;</TD
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002516></TR
2517></TBODY
2518></TABLE
2519><P
2520></P
2521></DIV
2522></DIV
2523><HR><DIV
2524CLASS="REFSECT2"
2525><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002526NAME="AEN10500"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002527></A
2528><H3
2529><A
2530NAME="XMLSPRINTFELEMENTCONTENT"
2531></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002532>xmlSprintfElementContent ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002533><TABLE
2534BORDER="0"
2535BGCOLOR="#D6E8FF"
2536WIDTH="100%"
2537CELLPADDING="6"
2538><TR
2539><TD
2540><PRE
2541CLASS="PROGRAMLISTING"
2542>void xmlSprintfElementContent (char *buf,
2543 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002544HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002545>xmlElementContentPtr</A
2546> content,
2547 int glob);</PRE
2548></TD
2549></TR
2550></TABLE
2551><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002552>Deprecated, unsafe, use xmlSnprintfElementContent</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002553><P
2554></P
2555><DIV
2556CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002557><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002558NAME="AEN10507"
Daniel Veillardaec63562003-03-23 20:42:17 +00002559></A
2560><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002561></P
2562><TABLE
2563BORDER="0"
2564WIDTH="100%"
2565BGCOLOR="#FFD0D0"
2566CELLSPACING="0"
2567CELLPADDING="4"
2568CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002569><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002570><TR
2571><TD
2572WIDTH="20%"
2573ALIGN="RIGHT"
2574VALIGN="TOP"
2575><TT
2576CLASS="PARAMETER"
2577><I
2578>buf</I
2579></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002580>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002581><TD
2582WIDTH="80%"
2583ALIGN="LEFT"
2584VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002585>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002586></TR
2587><TR
2588><TD
2589WIDTH="20%"
2590ALIGN="RIGHT"
2591VALIGN="TOP"
2592><TT
2593CLASS="PARAMETER"
2594><I
2595>content</I
2596></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002597>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002598><TD
2599WIDTH="80%"
2600ALIGN="LEFT"
2601VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002602>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002603></TR
2604><TR
2605><TD
2606WIDTH="20%"
2607ALIGN="RIGHT"
2608VALIGN="TOP"
2609><TT
2610CLASS="PARAMETER"
2611><I
2612>glob</I
2613></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002614>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002615><TD
2616WIDTH="80%"
2617ALIGN="LEFT"
2618VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002619>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002620></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002621></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002622></TABLE
2623><P
2624></P
2625></DIV
2626></DIV
2627><HR><DIV
2628CLASS="REFSECT2"
2629><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002630NAME="AEN10524"
Daniel Veillard35925471999-02-25 08:46:07 +00002631></A
2632><H3
2633><A
2634NAME="XMLADDELEMENTDECL"
2635></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002636>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002637><TABLE
2638BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002639BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002640WIDTH="100%"
2641CELLPADDING="6"
2642><TR
2643><TD
2644><PRE
2645CLASS="PROGRAMLISTING"
2646><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002647HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002648>xmlElementPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002649> xmlAddElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002650HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002651>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002652> ctxt,
2653 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002654HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002655>xmlDtdPtr</A
2656> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002657 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002658HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002659>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002660> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002661 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002662HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard4c3a2031999-11-19 17:46:26 +00002663>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002664> type,
Daniel Veillard35925471999-02-25 08:46:07 +00002665 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002666HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002667>xmlElementContentPtr</A
2668> content);</PRE
2669></TD
2670></TR
2671></TABLE
2672><P
2673>Register a new element declaration</P
2674><P
2675></P
2676><DIV
2677CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002678><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002679NAME="AEN10536"
Daniel Veillardaec63562003-03-23 20:42:17 +00002680></A
2681><P
Daniel Veillard35925471999-02-25 08:46:07 +00002682></P
2683><TABLE
2684BORDER="0"
2685WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002686BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002687CELLSPACING="0"
2688CELLPADDING="4"
2689CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002690><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002691><TR
2692><TD
2693WIDTH="20%"
2694ALIGN="RIGHT"
2695VALIGN="TOP"
2696><TT
2697CLASS="PARAMETER"
2698><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002699>ctxt</I
2700></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002701>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002702><TD
2703WIDTH="80%"
2704ALIGN="LEFT"
2705VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002706>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002707></TR
2708><TR
2709><TD
2710WIDTH="20%"
2711ALIGN="RIGHT"
2712VALIGN="TOP"
2713><TT
2714CLASS="PARAMETER"
2715><I
Daniel Veillard35925471999-02-25 08:46:07 +00002716>dtd</I
2717></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002718>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002719><TD
2720WIDTH="80%"
2721ALIGN="LEFT"
2722VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002723>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002724></TR
2725><TR
2726><TD
2727WIDTH="20%"
2728ALIGN="RIGHT"
2729VALIGN="TOP"
2730><TT
2731CLASS="PARAMETER"
2732><I
2733>name</I
2734></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002735>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002736><TD
2737WIDTH="80%"
2738ALIGN="LEFT"
2739VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002740>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002741></TR
2742><TR
2743><TD
2744WIDTH="20%"
2745ALIGN="RIGHT"
2746VALIGN="TOP"
2747><TT
2748CLASS="PARAMETER"
2749><I
2750>type</I
2751></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002752>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002753><TD
2754WIDTH="80%"
2755ALIGN="LEFT"
2756VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002757>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002758></TR
2759><TR
2760><TD
2761WIDTH="20%"
2762ALIGN="RIGHT"
2763VALIGN="TOP"
2764><TT
2765CLASS="PARAMETER"
2766><I
2767>content</I
2768></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002769>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002770><TD
2771WIDTH="80%"
2772ALIGN="LEFT"
2773VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002774>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002775></TR
2776><TR
2777><TD
2778WIDTH="20%"
2779ALIGN="RIGHT"
2780VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002781><SPAN
2782CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002783><I
2784CLASS="EMPHASIS"
2785>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002786></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002787> :</TD
2788><TD
2789WIDTH="80%"
2790ALIGN="LEFT"
2791VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002792>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002793></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002794></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002795></TABLE
2796><P
2797></P
2798></DIV
2799></DIV
2800><HR><DIV
2801CLASS="REFSECT2"
2802><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002803NAME="AEN10565"
Daniel Veillard35925471999-02-25 08:46:07 +00002804></A
2805><H3
2806><A
2807NAME="XMLCOPYELEMENTTABLE"
2808></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002809>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002810><TABLE
2811BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002812BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002813WIDTH="100%"
2814CELLPADDING="6"
2815><TR
2816><TD
2817><PRE
2818CLASS="PROGRAMLISTING"
2819><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002820HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002821>xmlElementTablePtr</A
2822> xmlCopyElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002823HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002824>xmlElementTablePtr</A
2825> table);</PRE
2826></TD
2827></TR
2828></TABLE
2829><P
2830>Build a copy of an element table.</P
2831><P
2832></P
2833><DIV
2834CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002835><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002836NAME="AEN10573"
Daniel Veillardaec63562003-03-23 20:42:17 +00002837></A
2838><P
Daniel Veillard35925471999-02-25 08:46:07 +00002839></P
2840><TABLE
2841BORDER="0"
2842WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002843BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002844CELLSPACING="0"
2845CELLPADDING="4"
2846CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002847><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002848><TR
2849><TD
2850WIDTH="20%"
2851ALIGN="RIGHT"
2852VALIGN="TOP"
2853><TT
2854CLASS="PARAMETER"
2855><I
2856>table</I
2857></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002858>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002859><TD
2860WIDTH="80%"
2861ALIGN="LEFT"
2862VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002863>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002864></TR
2865><TR
2866><TD
2867WIDTH="20%"
2868ALIGN="RIGHT"
2869VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002870><SPAN
2871CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002872><I
2873CLASS="EMPHASIS"
2874>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002875></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002876> :</TD
2877><TD
2878WIDTH="80%"
2879ALIGN="LEFT"
2880VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002881>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002882></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002883></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002884></TABLE
2885><P
2886></P
2887></DIV
2888></DIV
2889><HR><DIV
2890CLASS="REFSECT2"
2891><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002892NAME="AEN10586"
Daniel Veillard35925471999-02-25 08:46:07 +00002893></A
2894><H3
2895><A
2896NAME="XMLFREEELEMENTTABLE"
2897></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002898>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002899><TABLE
2900BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002901BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002902WIDTH="100%"
2903CELLPADDING="6"
2904><TR
2905><TD
2906><PRE
2907CLASS="PROGRAMLISTING"
2908>void xmlFreeElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002909HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002910>xmlElementTablePtr</A
2911> table);</PRE
2912></TD
2913></TR
2914></TABLE
2915><P
2916>Deallocate the memory used by an element hash table.</P
2917><P
2918></P
2919><DIV
2920CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002921><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002922NAME="AEN10593"
Daniel Veillardaec63562003-03-23 20:42:17 +00002923></A
2924><P
Daniel Veillard35925471999-02-25 08:46:07 +00002925></P
2926><TABLE
2927BORDER="0"
2928WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002929BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002930CELLSPACING="0"
2931CELLPADDING="4"
2932CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002933><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002934><TR
2935><TD
2936WIDTH="20%"
2937ALIGN="RIGHT"
2938VALIGN="TOP"
2939><TT
2940CLASS="PARAMETER"
2941><I
2942>table</I
2943></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002944>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002945><TD
2946WIDTH="80%"
2947ALIGN="LEFT"
2948VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002949>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002950></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002951></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002952></TABLE
2953><P
2954></P
2955></DIV
2956></DIV
2957><HR><DIV
2958CLASS="REFSECT2"
2959><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002960NAME="AEN10602"
Daniel Veillard35925471999-02-25 08:46:07 +00002961></A
2962><H3
2963><A
2964NAME="XMLDUMPELEMENTTABLE"
2965></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002966>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002967><TABLE
2968BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002969BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002970WIDTH="100%"
2971CELLPADDING="6"
2972><TR
2973><TD
2974><PRE
2975CLASS="PROGRAMLISTING"
2976>void xmlDumpElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002977HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002978>xmlBufferPtr</A
2979> buf,
2980 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002981HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002982>xmlElementTablePtr</A
2983> table);</PRE
2984></TD
2985></TR
2986></TABLE
2987><P
2988>This will dump the content of the element table as an XML DTD definition</P
2989><P
Daniel Veillard35925471999-02-25 08:46:07 +00002990></P
2991><DIV
2992CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002993><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00002994NAME="AEN10610"
Daniel Veillardaec63562003-03-23 20:42:17 +00002995></A
2996><P
Daniel Veillard35925471999-02-25 08:46:07 +00002997></P
2998><TABLE
2999BORDER="0"
3000WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003001BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003002CELLSPACING="0"
3003CELLPADDING="4"
3004CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003005><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003006><TR
3007><TD
3008WIDTH="20%"
3009ALIGN="RIGHT"
3010VALIGN="TOP"
3011><TT
3012CLASS="PARAMETER"
3013><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003014>buf</I
3015></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003016>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003017><TD
3018WIDTH="80%"
3019ALIGN="LEFT"
3020VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003021>&nbsp;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003022></TR
3023><TR
3024><TD
3025WIDTH="20%"
3026ALIGN="RIGHT"
3027VALIGN="TOP"
3028><TT
3029CLASS="PARAMETER"
3030><I
Daniel Veillard35925471999-02-25 08:46:07 +00003031>table</I
3032></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003033>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003034><TD
3035WIDTH="80%"
3036ALIGN="LEFT"
3037VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003038>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003039></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003040></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003041></TABLE
3042><P
3043></P
3044></DIV
3045></DIV
3046><HR><DIV
3047CLASS="REFSECT2"
3048><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003049NAME="AEN10623"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003050></A
3051><H3
3052><A
3053NAME="XMLDUMPELEMENTDECL"
3054></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003055>xmlDumpElementDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003056><TABLE
3057BORDER="0"
3058BGCOLOR="#D6E8FF"
3059WIDTH="100%"
3060CELLPADDING="6"
3061><TR
3062><TD
3063><PRE
3064CLASS="PROGRAMLISTING"
3065>void xmlDumpElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003066HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003067>xmlBufferPtr</A
3068> buf,
3069 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003070HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003071>xmlElementPtr</A
3072> elem);</PRE
3073></TD
3074></TR
3075></TABLE
3076><P
3077>This will dump the content of the element declaration as an XML
3078DTD definition</P
3079><P
3080></P
3081><DIV
3082CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003083><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003084NAME="AEN10631"
Daniel Veillardaec63562003-03-23 20:42:17 +00003085></A
3086><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003087></P
3088><TABLE
3089BORDER="0"
3090WIDTH="100%"
3091BGCOLOR="#FFD0D0"
3092CELLSPACING="0"
3093CELLPADDING="4"
3094CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003095><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003096><TR
3097><TD
3098WIDTH="20%"
3099ALIGN="RIGHT"
3100VALIGN="TOP"
3101><TT
3102CLASS="PARAMETER"
3103><I
3104>buf</I
3105></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003106>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003107><TD
3108WIDTH="80%"
3109ALIGN="LEFT"
3110VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003111>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003112></TR
3113><TR
3114><TD
3115WIDTH="20%"
3116ALIGN="RIGHT"
3117VALIGN="TOP"
3118><TT
3119CLASS="PARAMETER"
3120><I
3121>elem</I
3122></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003123>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003124><TD
3125WIDTH="80%"
3126ALIGN="LEFT"
3127VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003128>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003129></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003130></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003131></TABLE
3132><P
3133></P
3134></DIV
3135></DIV
3136><HR><DIV
3137CLASS="REFSECT2"
3138><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003139NAME="AEN10644"
Daniel Veillard35925471999-02-25 08:46:07 +00003140></A
3141><H3
3142><A
3143NAME="XMLCREATEENUMERATION"
3144></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003145>xmlCreateEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003146><TABLE
3147BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003148BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003149WIDTH="100%"
3150CELLPADDING="6"
3151><TR
3152><TD
3153><PRE
3154CLASS="PROGRAMLISTING"
3155><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003156HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003157>xmlEnumerationPtr</A
3158> xmlCreateEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003159HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003160>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003161> *name);</PRE
3162></TD
3163></TR
3164></TABLE
3165><P
3166>create and initialize an enumeration attribute node.</P
3167><P
3168></P
3169><DIV
3170CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003171><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003172NAME="AEN10652"
Daniel Veillardaec63562003-03-23 20:42:17 +00003173></A
3174><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 Veillardd8da01c2003-03-24 15:58:23 +00003199>&nbsp;</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 Veillardd8da01c2003-03-24 15:58:23 +00003217>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003218></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003219></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003220></TABLE
3221><P
3222></P
3223></DIV
3224></DIV
3225><HR><DIV
3226CLASS="REFSECT2"
3227><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003228NAME="AEN10665"
Daniel Veillard35925471999-02-25 08:46:07 +00003229></A
3230><H3
3231><A
3232NAME="XMLFREEENUMERATION"
3233></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003234>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003235><TABLE
3236BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003237BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003238WIDTH="100%"
3239CELLPADDING="6"
3240><TR
3241><TD
3242><PRE
3243CLASS="PROGRAMLISTING"
3244>void xmlFreeEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003245HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003246>xmlEnumerationPtr</A
3247> cur);</PRE
3248></TD
3249></TR
3250></TABLE
3251><P
3252>free an enumeration attribute node (recursive).</P
3253><P
3254></P
3255><DIV
3256CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003257><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003258NAME="AEN10672"
Daniel Veillardaec63562003-03-23 20:42:17 +00003259></A
3260><P
Daniel Veillard35925471999-02-25 08:46:07 +00003261></P
3262><TABLE
3263BORDER="0"
3264WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003265BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003266CELLSPACING="0"
3267CELLPADDING="4"
3268CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003269><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003270><TR
3271><TD
3272WIDTH="20%"
3273ALIGN="RIGHT"
3274VALIGN="TOP"
3275><TT
3276CLASS="PARAMETER"
3277><I
3278>cur</I
3279></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003280>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003281><TD
3282WIDTH="80%"
3283ALIGN="LEFT"
3284VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003285>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003286></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003287></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003288></TABLE
3289><P
3290></P
3291></DIV
3292></DIV
3293><HR><DIV
3294CLASS="REFSECT2"
3295><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003296NAME="AEN10681"
Daniel Veillard35925471999-02-25 08:46:07 +00003297></A
3298><H3
3299><A
3300NAME="XMLCOPYENUMERATION"
3301></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003302>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003303><TABLE
3304BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003305BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003306WIDTH="100%"
3307CELLPADDING="6"
3308><TR
3309><TD
3310><PRE
3311CLASS="PROGRAMLISTING"
3312><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003313HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003314>xmlEnumerationPtr</A
3315> xmlCopyEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003316HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003317>xmlEnumerationPtr</A
3318> cur);</PRE
3319></TD
3320></TR
3321></TABLE
3322><P
3323>Copy an enumeration attribute node (recursive).</P
3324><P
3325></P
3326><DIV
3327CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003328><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003329NAME="AEN10689"
Daniel Veillardaec63562003-03-23 20:42:17 +00003330></A
3331><P
Daniel Veillard35925471999-02-25 08:46:07 +00003332></P
3333><TABLE
3334BORDER="0"
3335WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003336BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003337CELLSPACING="0"
3338CELLPADDING="4"
3339CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003340><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003341><TR
3342><TD
3343WIDTH="20%"
3344ALIGN="RIGHT"
3345VALIGN="TOP"
3346><TT
3347CLASS="PARAMETER"
3348><I
3349>cur</I
3350></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003351>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003352><TD
3353WIDTH="80%"
3354ALIGN="LEFT"
3355VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003356>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003357></TR
3358><TR
3359><TD
3360WIDTH="20%"
3361ALIGN="RIGHT"
3362VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003363><SPAN
3364CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003365><I
3366CLASS="EMPHASIS"
3367>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003368></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003369> :</TD
3370><TD
3371WIDTH="80%"
3372ALIGN="LEFT"
3373VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003374>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003375></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003376></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003377></TABLE
3378><P
3379></P
3380></DIV
3381></DIV
3382><HR><DIV
3383CLASS="REFSECT2"
3384><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003385NAME="AEN10702"
Daniel Veillard35925471999-02-25 08:46:07 +00003386></A
3387><H3
3388><A
3389NAME="XMLADDATTRIBUTEDECL"
3390></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003391>xmlAddAttributeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003392><TABLE
3393BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003394BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003395WIDTH="100%"
3396CELLPADDING="6"
3397><TR
3398><TD
3399><PRE
3400CLASS="PROGRAMLISTING"
3401><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003402HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003403>xmlAttributePtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003404> xmlAddAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003405HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003406>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00003407> ctxt,
3408 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003409HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003410>xmlDtdPtr</A
3411> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003412 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003413HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003414>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003415> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003416 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003417HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003418>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003419> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003420 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003421HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003422>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +00003423> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003424 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003425HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003426>xmlAttributeType</A
3427> type,
3428 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003429HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003430>xmlAttributeDefault</A
3431> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003432 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003433HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003434>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003435> *defaultValue,
3436 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003437HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003438>xmlEnumerationPtr</A
3439> tree);</PRE
3440></TD
3441></TR
3442></TABLE
3443><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003444>Register a new attribute declaration
3445Note that <TT
3446CLASS="PARAMETER"
3447><I
3448>tree</I
3449></TT
3450> becomes the ownership of the DTD</P
Daniel Veillard35925471999-02-25 08:46:07 +00003451><P
3452></P
3453><DIV
3454CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003455><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003456NAME="AEN10719"
Daniel Veillardaec63562003-03-23 20:42:17 +00003457></A
3458><P
Daniel Veillard35925471999-02-25 08:46:07 +00003459></P
3460><TABLE
3461BORDER="0"
3462WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003463BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003464CELLSPACING="0"
3465CELLPADDING="4"
3466CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003467><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003468><TR
3469><TD
3470WIDTH="20%"
3471ALIGN="RIGHT"
3472VALIGN="TOP"
3473><TT
3474CLASS="PARAMETER"
3475><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00003476>ctxt</I
3477></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003478>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003479><TD
3480WIDTH="80%"
3481ALIGN="LEFT"
3482VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003483>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003484></TR
3485><TR
3486><TD
3487WIDTH="20%"
3488ALIGN="RIGHT"
3489VALIGN="TOP"
3490><TT
3491CLASS="PARAMETER"
3492><I
Daniel Veillard35925471999-02-25 08:46:07 +00003493>dtd</I
3494></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003495>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003496><TD
3497WIDTH="80%"
3498ALIGN="LEFT"
3499VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003500>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003501></TR
3502><TR
3503><TD
3504WIDTH="20%"
3505ALIGN="RIGHT"
3506VALIGN="TOP"
3507><TT
3508CLASS="PARAMETER"
3509><I
3510>elem</I
3511></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003512>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003513><TD
3514WIDTH="80%"
3515ALIGN="LEFT"
3516VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003517>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003518></TR
3519><TR
3520><TD
3521WIDTH="20%"
3522ALIGN="RIGHT"
3523VALIGN="TOP"
3524><TT
3525CLASS="PARAMETER"
3526><I
3527>name</I
3528></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003529>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003530><TD
3531WIDTH="80%"
3532ALIGN="LEFT"
3533VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003534>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003535></TR
3536><TR
3537><TD
3538WIDTH="20%"
3539ALIGN="RIGHT"
3540VALIGN="TOP"
3541><TT
3542CLASS="PARAMETER"
3543><I
Daniel Veillard06047432000-04-24 11:33:38 +00003544>ns</I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003545></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003546>&nbsp;:</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003547><TD
3548WIDTH="80%"
3549ALIGN="LEFT"
3550VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003551>&nbsp;</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003552></TR
3553><TR
3554><TD
3555WIDTH="20%"
3556ALIGN="RIGHT"
3557VALIGN="TOP"
3558><TT
3559CLASS="PARAMETER"
3560><I
Daniel Veillard35925471999-02-25 08:46:07 +00003561>type</I
3562></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003563>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003564><TD
3565WIDTH="80%"
3566ALIGN="LEFT"
3567VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003568>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003569></TR
3570><TR
3571><TD
3572WIDTH="20%"
3573ALIGN="RIGHT"
3574VALIGN="TOP"
3575><TT
3576CLASS="PARAMETER"
3577><I
3578>def</I
3579></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003580>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003581><TD
3582WIDTH="80%"
3583ALIGN="LEFT"
3584VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003585>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003586></TR
3587><TR
3588><TD
3589WIDTH="20%"
3590ALIGN="RIGHT"
3591VALIGN="TOP"
3592><TT
3593CLASS="PARAMETER"
3594><I
3595>defaultValue</I
3596></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003597>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003598><TD
3599WIDTH="80%"
3600ALIGN="LEFT"
3601VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003602>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003603></TR
3604><TR
3605><TD
3606WIDTH="20%"
3607ALIGN="RIGHT"
3608VALIGN="TOP"
3609><TT
3610CLASS="PARAMETER"
3611><I
3612>tree</I
3613></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003614>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003615><TD
3616WIDTH="80%"
3617ALIGN="LEFT"
3618VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003619>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003620></TR
3621><TR
3622><TD
3623WIDTH="20%"
3624ALIGN="RIGHT"
3625VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003626><SPAN
3627CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003628><I
3629CLASS="EMPHASIS"
3630>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003631></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003632> :</TD
3633><TD
3634WIDTH="80%"
3635ALIGN="LEFT"
3636VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003637>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003638></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003639></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003640></TABLE
3641><P
3642></P
3643></DIV
3644></DIV
3645><HR><DIV
3646CLASS="REFSECT2"
3647><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003648NAME="AEN10764"
Daniel Veillard35925471999-02-25 08:46:07 +00003649></A
3650><H3
3651><A
3652NAME="XMLCOPYATTRIBUTETABLE"
3653></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003654>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003655><TABLE
3656BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003657BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003658WIDTH="100%"
3659CELLPADDING="6"
3660><TR
3661><TD
3662><PRE
3663CLASS="PROGRAMLISTING"
3664><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003665HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003666>xmlAttributeTablePtr</A
3667> xmlCopyAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003668HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003669>xmlAttributeTablePtr</A
3670> table);</PRE
3671></TD
3672></TR
3673></TABLE
3674><P
3675>Build a copy of an attribute table.</P
3676><P
3677></P
3678><DIV
3679CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003680><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003681NAME="AEN10772"
Daniel Veillardaec63562003-03-23 20:42:17 +00003682></A
3683><P
Daniel Veillard35925471999-02-25 08:46:07 +00003684></P
3685><TABLE
3686BORDER="0"
3687WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003688BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003689CELLSPACING="0"
3690CELLPADDING="4"
3691CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003692><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003693><TR
3694><TD
3695WIDTH="20%"
3696ALIGN="RIGHT"
3697VALIGN="TOP"
3698><TT
3699CLASS="PARAMETER"
3700><I
3701>table</I
3702></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003703>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003704><TD
3705WIDTH="80%"
3706ALIGN="LEFT"
3707VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003708>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003709></TR
3710><TR
3711><TD
3712WIDTH="20%"
3713ALIGN="RIGHT"
3714VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003715><SPAN
3716CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003717><I
3718CLASS="EMPHASIS"
3719>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003720></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003721> :</TD
3722><TD
3723WIDTH="80%"
3724ALIGN="LEFT"
3725VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003726>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003727></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003728></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003729></TABLE
3730><P
3731></P
3732></DIV
3733></DIV
3734><HR><DIV
3735CLASS="REFSECT2"
3736><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003737NAME="AEN10785"
Daniel Veillard35925471999-02-25 08:46:07 +00003738></A
3739><H3
3740><A
3741NAME="XMLFREEATTRIBUTETABLE"
3742></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003743>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003744><TABLE
3745BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003746BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003747WIDTH="100%"
3748CELLPADDING="6"
3749><TR
3750><TD
3751><PRE
3752CLASS="PROGRAMLISTING"
3753>void xmlFreeAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003754HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003755>xmlAttributeTablePtr</A
3756> table);</PRE
3757></TD
3758></TR
3759></TABLE
3760><P
3761>Deallocate the memory used by an entities hash table.</P
3762><P
3763></P
3764><DIV
3765CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003766><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003767NAME="AEN10792"
Daniel Veillardaec63562003-03-23 20:42:17 +00003768></A
3769><P
Daniel Veillard35925471999-02-25 08:46:07 +00003770></P
3771><TABLE
3772BORDER="0"
3773WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003774BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003775CELLSPACING="0"
3776CELLPADDING="4"
3777CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003778><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003779><TR
3780><TD
3781WIDTH="20%"
3782ALIGN="RIGHT"
3783VALIGN="TOP"
3784><TT
3785CLASS="PARAMETER"
3786><I
3787>table</I
3788></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003789>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003790><TD
3791WIDTH="80%"
3792ALIGN="LEFT"
3793VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003794>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003795></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003796></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003797></TABLE
3798><P
3799></P
3800></DIV
3801></DIV
3802><HR><DIV
3803CLASS="REFSECT2"
3804><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003805NAME="AEN10801"
Daniel Veillard35925471999-02-25 08:46:07 +00003806></A
3807><H3
3808><A
3809NAME="XMLDUMPATTRIBUTETABLE"
3810></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003811>xmlDumpAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003812><TABLE
3813BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003814BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003815WIDTH="100%"
3816CELLPADDING="6"
3817><TR
3818><TD
3819><PRE
3820CLASS="PROGRAMLISTING"
3821>void xmlDumpAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003822HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003823>xmlBufferPtr</A
3824> buf,
3825 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003826HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003827>xmlAttributeTablePtr</A
3828> table);</PRE
3829></TD
3830></TR
3831></TABLE
3832><P
3833>This will dump the content of the attribute table as an XML DTD definition</P
3834><P
Daniel Veillard35925471999-02-25 08:46:07 +00003835></P
3836><DIV
3837CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003838><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003839NAME="AEN10809"
Daniel Veillardaec63562003-03-23 20:42:17 +00003840></A
3841><P
Daniel Veillard35925471999-02-25 08:46:07 +00003842></P
3843><TABLE
3844BORDER="0"
3845WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003846BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003847CELLSPACING="0"
3848CELLPADDING="4"
3849CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003850><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003851><TR
3852><TD
3853WIDTH="20%"
3854ALIGN="RIGHT"
3855VALIGN="TOP"
3856><TT
3857CLASS="PARAMETER"
3858><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003859>buf</I
3860></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003861>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003862><TD
3863WIDTH="80%"
3864ALIGN="LEFT"
3865VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003866>&nbsp;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003867></TR
3868><TR
3869><TD
3870WIDTH="20%"
3871ALIGN="RIGHT"
3872VALIGN="TOP"
3873><TT
3874CLASS="PARAMETER"
3875><I
Daniel Veillard35925471999-02-25 08:46:07 +00003876>table</I
3877></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003878>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003879><TD
3880WIDTH="80%"
3881ALIGN="LEFT"
3882VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003883>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003884></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003885></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003886></TABLE
3887><P
3888></P
3889></DIV
3890></DIV
3891><HR><DIV
3892CLASS="REFSECT2"
3893><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003894NAME="AEN10822"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003895></A
3896><H3
3897><A
3898NAME="XMLDUMPATTRIBUTEDECL"
3899></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003900>xmlDumpAttributeDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003901><TABLE
3902BORDER="0"
3903BGCOLOR="#D6E8FF"
3904WIDTH="100%"
3905CELLPADDING="6"
3906><TR
3907><TD
3908><PRE
3909CLASS="PROGRAMLISTING"
3910>void xmlDumpAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003911HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003912>xmlBufferPtr</A
3913> buf,
3914 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003915HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003916>xmlAttributePtr</A
3917> attr);</PRE
3918></TD
3919></TR
3920></TABLE
3921><P
3922>This will dump the content of the attribute declaration as an XML
3923DTD definition</P
3924><P
3925></P
3926><DIV
3927CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003928><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003929NAME="AEN10830"
Daniel Veillardaec63562003-03-23 20:42:17 +00003930></A
3931><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003932></P
3933><TABLE
3934BORDER="0"
3935WIDTH="100%"
3936BGCOLOR="#FFD0D0"
3937CELLSPACING="0"
3938CELLPADDING="4"
3939CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003940><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003941><TR
3942><TD
3943WIDTH="20%"
3944ALIGN="RIGHT"
3945VALIGN="TOP"
3946><TT
3947CLASS="PARAMETER"
3948><I
3949>buf</I
3950></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003951>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003952><TD
3953WIDTH="80%"
3954ALIGN="LEFT"
3955VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003956>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003957></TR
3958><TR
3959><TD
3960WIDTH="20%"
3961ALIGN="RIGHT"
3962VALIGN="TOP"
3963><TT
3964CLASS="PARAMETER"
3965><I
3966>attr</I
3967></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003968>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003969><TD
3970WIDTH="80%"
3971ALIGN="LEFT"
3972VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003973>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003974></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003975></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003976></TABLE
3977><P
3978></P
3979></DIV
3980></DIV
3981><HR><DIV
3982CLASS="REFSECT2"
3983><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00003984NAME="AEN10843"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003985></A
3986><H3
3987><A
3988NAME="XMLADDID"
3989></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003990>xmlAddID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003991><TABLE
3992BORDER="0"
3993BGCOLOR="#D6E8FF"
3994WIDTH="100%"
3995CELLPADDING="6"
3996><TR
3997><TD
3998><PRE
3999CLASS="PROGRAMLISTING"
4000><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004001HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004002>xmlIDPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004003> xmlAddID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004004HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004005>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004006> ctxt,
4007 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004008HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004009>xmlDocPtr</A
4010> doc,
4011 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004012HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004013>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004014> *value,
4015 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004016HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004017>xmlAttrPtr</A
4018> attr);</PRE
4019></TD
4020></TR
4021></TABLE
4022><P
4023>Register a new id declaration</P
4024><P
4025></P
4026><DIV
4027CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004028><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004029NAME="AEN10854"
Daniel Veillardaec63562003-03-23 20:42:17 +00004030></A
4031><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004032></P
4033><TABLE
4034BORDER="0"
4035WIDTH="100%"
4036BGCOLOR="#FFD0D0"
4037CELLSPACING="0"
4038CELLPADDING="4"
4039CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004040><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004041><TR
4042><TD
4043WIDTH="20%"
4044ALIGN="RIGHT"
4045VALIGN="TOP"
4046><TT
4047CLASS="PARAMETER"
4048><I
4049>ctxt</I
4050></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004051>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004052><TD
4053WIDTH="80%"
4054ALIGN="LEFT"
4055VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004056>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004057></TR
4058><TR
4059><TD
4060WIDTH="20%"
4061ALIGN="RIGHT"
4062VALIGN="TOP"
4063><TT
4064CLASS="PARAMETER"
4065><I
4066>doc</I
4067></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004068>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004069><TD
4070WIDTH="80%"
4071ALIGN="LEFT"
4072VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004073>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004074></TR
4075><TR
4076><TD
4077WIDTH="20%"
4078ALIGN="RIGHT"
4079VALIGN="TOP"
4080><TT
4081CLASS="PARAMETER"
4082><I
4083>value</I
4084></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004085>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004086><TD
4087WIDTH="80%"
4088ALIGN="LEFT"
4089VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004090>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004091></TR
4092><TR
4093><TD
4094WIDTH="20%"
4095ALIGN="RIGHT"
4096VALIGN="TOP"
4097><TT
4098CLASS="PARAMETER"
4099><I
4100>attr</I
4101></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004102>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004103><TD
4104WIDTH="80%"
4105ALIGN="LEFT"
4106VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004107>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004108></TR
4109><TR
4110><TD
4111WIDTH="20%"
4112ALIGN="RIGHT"
4113VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004114><SPAN
4115CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004116><I
4117CLASS="EMPHASIS"
4118>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004119></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004120> :</TD
4121><TD
4122WIDTH="80%"
4123ALIGN="LEFT"
4124VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004125>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004126></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004127></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004128></TABLE
4129><P
4130></P
4131></DIV
4132></DIV
4133><HR><DIV
4134CLASS="REFSECT2"
4135><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004136NAME="AEN10879"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004137></A
4138><H3
4139><A
4140NAME="XMLFREEIDTABLE"
4141></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004142>xmlFreeIDTable ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004143><TABLE
4144BORDER="0"
4145BGCOLOR="#D6E8FF"
4146WIDTH="100%"
4147CELLPADDING="6"
4148><TR
4149><TD
4150><PRE
4151CLASS="PROGRAMLISTING"
4152>void xmlFreeIDTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004153HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004154>xmlIDTablePtr</A
4155> table);</PRE
4156></TD
4157></TR
4158></TABLE
4159><P
4160>Deallocate the memory used by an ID hash table.</P
4161><P
4162></P
4163><DIV
4164CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004165><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004166NAME="AEN10886"
Daniel Veillardaec63562003-03-23 20:42:17 +00004167></A
4168><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004169></P
4170><TABLE
4171BORDER="0"
4172WIDTH="100%"
4173BGCOLOR="#FFD0D0"
4174CELLSPACING="0"
4175CELLPADDING="4"
4176CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004177><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004178><TR
4179><TD
4180WIDTH="20%"
4181ALIGN="RIGHT"
4182VALIGN="TOP"
4183><TT
4184CLASS="PARAMETER"
4185><I
4186>table</I
4187></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004188>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004189><TD
4190WIDTH="80%"
4191ALIGN="LEFT"
4192VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004193>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004194></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004195></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004196></TABLE
4197><P
4198></P
4199></DIV
4200></DIV
4201><HR><DIV
4202CLASS="REFSECT2"
4203><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004204NAME="AEN10895"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004205></A
4206><H3
4207><A
4208NAME="XMLGETID"
4209></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004210>xmlGetID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004211><TABLE
4212BORDER="0"
4213BGCOLOR="#D6E8FF"
4214WIDTH="100%"
4215CELLPADDING="6"
4216><TR
4217><TD
4218><PRE
4219CLASS="PROGRAMLISTING"
4220><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004221HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004222>xmlAttrPtr</A
4223> xmlGetID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004224HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004225>xmlDocPtr</A
4226> doc,
4227 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004228HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004229>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004230> *ID);</PRE
4231></TD
4232></TR
4233></TABLE
4234><P
4235>Search the attribute declaring the given ID</P
4236><P
4237></P
4238><DIV
4239CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004240><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004241NAME="AEN10904"
Daniel Veillardaec63562003-03-23 20:42:17 +00004242></A
4243><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004244></P
4245><TABLE
4246BORDER="0"
4247WIDTH="100%"
4248BGCOLOR="#FFD0D0"
4249CELLSPACING="0"
4250CELLPADDING="4"
4251CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004252><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004253><TR
4254><TD
4255WIDTH="20%"
4256ALIGN="RIGHT"
4257VALIGN="TOP"
4258><TT
4259CLASS="PARAMETER"
4260><I
4261>doc</I
4262></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004263>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004264><TD
4265WIDTH="80%"
4266ALIGN="LEFT"
4267VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004268>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004269></TR
4270><TR
4271><TD
4272WIDTH="20%"
4273ALIGN="RIGHT"
4274VALIGN="TOP"
4275><TT
4276CLASS="PARAMETER"
4277><I
4278>ID</I
4279></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004280>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004281><TD
4282WIDTH="80%"
4283ALIGN="LEFT"
4284VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004285>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004286></TR
4287><TR
4288><TD
4289WIDTH="20%"
4290ALIGN="RIGHT"
4291VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004292><SPAN
4293CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004294><I
4295CLASS="EMPHASIS"
4296>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004297></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004298> :</TD
4299><TD
4300WIDTH="80%"
4301ALIGN="LEFT"
4302VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004303>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004304></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004305></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004306></TABLE
4307><P
4308></P
4309></DIV
4310></DIV
4311><HR><DIV
4312CLASS="REFSECT2"
4313><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004314NAME="AEN10921"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004315></A
4316><H3
4317><A
4318NAME="XMLISID"
4319></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004320>xmlIsID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004321><TABLE
4322BORDER="0"
4323BGCOLOR="#D6E8FF"
4324WIDTH="100%"
4325CELLPADDING="6"
4326><TR
4327><TD
4328><PRE
4329CLASS="PROGRAMLISTING"
4330>int xmlIsID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004331HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004332>xmlDocPtr</A
4333> doc,
4334 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004335HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004336>xmlNodePtr</A
4337> elem,
4338 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004339HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004340>xmlAttrPtr</A
4341> attr);</PRE
4342></TD
4343></TR
4344></TABLE
4345><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004346>Determine whether an attribute is of type ID. In case we have DTD(s)
Daniel Veillard80ce3732002-10-07 17:39:30 +00004347then this is done if DTD loading has been requested. In the case
4348of HTML documents parsed with the HTML parser, then ID detection is
4349done systematically.</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004350><P
4351></P
4352><DIV
4353CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004354><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004355NAME="AEN10930"
Daniel Veillardaec63562003-03-23 20:42:17 +00004356></A
4357><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004358></P
4359><TABLE
4360BORDER="0"
4361WIDTH="100%"
4362BGCOLOR="#FFD0D0"
4363CELLSPACING="0"
4364CELLPADDING="4"
4365CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004366><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004367><TR
4368><TD
4369WIDTH="20%"
4370ALIGN="RIGHT"
4371VALIGN="TOP"
4372><TT
4373CLASS="PARAMETER"
4374><I
4375>doc</I
4376></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004377>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004378><TD
4379WIDTH="80%"
4380ALIGN="LEFT"
4381VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004382>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004383></TR
4384><TR
4385><TD
4386WIDTH="20%"
4387ALIGN="RIGHT"
4388VALIGN="TOP"
4389><TT
4390CLASS="PARAMETER"
4391><I
4392>elem</I
4393></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004394>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004395><TD
4396WIDTH="80%"
4397ALIGN="LEFT"
4398VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004399>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004400></TR
4401><TR
4402><TD
4403WIDTH="20%"
4404ALIGN="RIGHT"
4405VALIGN="TOP"
4406><TT
4407CLASS="PARAMETER"
4408><I
4409>attr</I
4410></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004411>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004412><TD
4413WIDTH="80%"
4414ALIGN="LEFT"
4415VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004416>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004417></TR
4418><TR
4419><TD
4420WIDTH="20%"
4421ALIGN="RIGHT"
4422VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004423><SPAN
4424CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004425><I
4426CLASS="EMPHASIS"
4427>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004428></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004429> :</TD
4430><TD
4431WIDTH="80%"
4432ALIGN="LEFT"
4433VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004434>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004435></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004436></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004437></TABLE
4438><P
4439></P
4440></DIV
4441></DIV
4442><HR><DIV
4443CLASS="REFSECT2"
4444><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004445NAME="AEN10951"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004446></A
4447><H3
4448><A
4449NAME="XMLREMOVEID"
4450></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004451>xmlRemoveID ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004452><TABLE
4453BORDER="0"
4454BGCOLOR="#D6E8FF"
4455WIDTH="100%"
4456CELLPADDING="6"
4457><TR
4458><TD
4459><PRE
4460CLASS="PROGRAMLISTING"
4461>int xmlRemoveID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004462HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004463>xmlDocPtr</A
4464> doc,
4465 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004466HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004467>xmlAttrPtr</A
4468> attr);</PRE
4469></TD
4470></TR
4471></TABLE
4472><P
4473>Remove the given attribute from the ID table maintained internally.</P
4474><P
4475></P
4476><DIV
4477CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004478><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004479NAME="AEN10959"
Daniel Veillardaec63562003-03-23 20:42:17 +00004480></A
4481><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004482></P
4483><TABLE
4484BORDER="0"
4485WIDTH="100%"
4486BGCOLOR="#FFD0D0"
4487CELLSPACING="0"
4488CELLPADDING="4"
4489CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004490><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004491><TR
4492><TD
4493WIDTH="20%"
4494ALIGN="RIGHT"
4495VALIGN="TOP"
4496><TT
4497CLASS="PARAMETER"
4498><I
4499>doc</I
4500></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004501>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004502><TD
4503WIDTH="80%"
4504ALIGN="LEFT"
4505VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004506>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004507></TR
4508><TR
4509><TD
4510WIDTH="20%"
4511ALIGN="RIGHT"
4512VALIGN="TOP"
4513><TT
4514CLASS="PARAMETER"
4515><I
4516>attr</I
4517></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004518>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004519><TD
4520WIDTH="80%"
4521ALIGN="LEFT"
4522VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004523>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004524></TR
4525><TR
4526><TD
4527WIDTH="20%"
4528ALIGN="RIGHT"
4529VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004530><SPAN
4531CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004532><I
4533CLASS="EMPHASIS"
4534>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004535></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004536> :</TD
4537><TD
4538WIDTH="80%"
4539ALIGN="LEFT"
4540VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004541>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004542></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004543></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004544></TABLE
4545><P
4546></P
4547></DIV
4548></DIV
4549><HR><DIV
4550CLASS="REFSECT2"
4551><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004552NAME="AEN10976"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004553></A
4554><H3
4555><A
4556NAME="XMLADDREF"
4557></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004558>xmlAddRef ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004559><TABLE
4560BORDER="0"
4561BGCOLOR="#D6E8FF"
4562WIDTH="100%"
4563CELLPADDING="6"
4564><TR
4565><TD
4566><PRE
4567CLASS="PROGRAMLISTING"
4568><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004569HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004570>xmlRefPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004571> xmlAddRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004572HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004573>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004574> ctxt,
4575 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004576HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004577>xmlDocPtr</A
4578> doc,
4579 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004580HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004581>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004582> *value,
4583 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004584HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004585>xmlAttrPtr</A
4586> attr);</PRE
4587></TD
4588></TR
4589></TABLE
4590><P
4591>Register a new ref declaration</P
4592><P
4593></P
4594><DIV
4595CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004596><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004597NAME="AEN10987"
Daniel Veillardaec63562003-03-23 20:42:17 +00004598></A
4599><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004600></P
4601><TABLE
4602BORDER="0"
4603WIDTH="100%"
4604BGCOLOR="#FFD0D0"
4605CELLSPACING="0"
4606CELLPADDING="4"
4607CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004608><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004609><TR
4610><TD
4611WIDTH="20%"
4612ALIGN="RIGHT"
4613VALIGN="TOP"
4614><TT
4615CLASS="PARAMETER"
4616><I
4617>ctxt</I
4618></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004619>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004620><TD
4621WIDTH="80%"
4622ALIGN="LEFT"
4623VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004624>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004625></TR
4626><TR
4627><TD
4628WIDTH="20%"
4629ALIGN="RIGHT"
4630VALIGN="TOP"
4631><TT
4632CLASS="PARAMETER"
4633><I
4634>doc</I
4635></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004636>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004637><TD
4638WIDTH="80%"
4639ALIGN="LEFT"
4640VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004641>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004642></TR
4643><TR
4644><TD
4645WIDTH="20%"
4646ALIGN="RIGHT"
4647VALIGN="TOP"
4648><TT
4649CLASS="PARAMETER"
4650><I
4651>value</I
4652></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004653>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004654><TD
4655WIDTH="80%"
4656ALIGN="LEFT"
4657VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004658>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004659></TR
4660><TR
4661><TD
4662WIDTH="20%"
4663ALIGN="RIGHT"
4664VALIGN="TOP"
4665><TT
4666CLASS="PARAMETER"
4667><I
4668>attr</I
4669></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004670>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004671><TD
4672WIDTH="80%"
4673ALIGN="LEFT"
4674VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004675>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004676></TR
4677><TR
4678><TD
4679WIDTH="20%"
4680ALIGN="RIGHT"
4681VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004682><SPAN
4683CLASS="emphasis"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004684><I
4685CLASS="EMPHASIS"
4686>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004687></SPAN
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004688> :</TD
4689><TD
4690WIDTH="80%"
4691ALIGN="LEFT"
4692VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004693>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004694></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004695></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004696></TABLE
4697><P
4698></P
4699></DIV
4700></DIV
4701><HR><DIV
4702CLASS="REFSECT2"
4703><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004704NAME="AEN11012"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004705></A
4706><H3
4707><A
4708NAME="XMLFREEREFTABLE"
4709></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004710>xmlFreeRefTable ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004711><TABLE
4712BORDER="0"
4713BGCOLOR="#D6E8FF"
4714WIDTH="100%"
4715CELLPADDING="6"
4716><TR
4717><TD
4718><PRE
4719CLASS="PROGRAMLISTING"
4720>void xmlFreeRefTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004721HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004722>xmlRefTablePtr</A
4723> table);</PRE
4724></TD
4725></TR
4726></TABLE
4727><P
4728>Deallocate the memory used by an Ref hash table.</P
4729><P
4730></P
4731><DIV
4732CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004733><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004734NAME="AEN11019"
Daniel Veillardaec63562003-03-23 20:42:17 +00004735></A
4736><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004737></P
4738><TABLE
4739BORDER="0"
4740WIDTH="100%"
4741BGCOLOR="#FFD0D0"
4742CELLSPACING="0"
4743CELLPADDING="4"
4744CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004745><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004746><TR
4747><TD
4748WIDTH="20%"
4749ALIGN="RIGHT"
4750VALIGN="TOP"
4751><TT
4752CLASS="PARAMETER"
4753><I
4754>table</I
4755></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004756>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004757><TD
4758WIDTH="80%"
4759ALIGN="LEFT"
4760VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004761>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004762></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004763></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004764></TABLE
4765><P
4766></P
4767></DIV
4768></DIV
4769><HR><DIV
4770CLASS="REFSECT2"
4771><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004772NAME="AEN11028"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004773></A
4774><H3
4775><A
4776NAME="XMLISREF"
4777></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004778>xmlIsRef ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004779><TABLE
4780BORDER="0"
4781BGCOLOR="#D6E8FF"
4782WIDTH="100%"
4783CELLPADDING="6"
4784><TR
4785><TD
4786><PRE
4787CLASS="PROGRAMLISTING"
4788>int xmlIsRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004789HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004790>xmlDocPtr</A
4791> doc,
4792 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004793HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004794>xmlNodePtr</A
4795> elem,
4796 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004797HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004798>xmlAttrPtr</A
4799> attr);</PRE
4800></TD
4801></TR
4802></TABLE
4803><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004804>Determine whether an attribute is of type Ref. In case we have DTD(s)
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004805then this is simple, otherwise we use an heuristic: name Ref (upper
4806or lowercase).</P
4807><P
4808></P
4809><DIV
4810CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004811><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004812NAME="AEN11037"
Daniel Veillardaec63562003-03-23 20:42:17 +00004813></A
4814><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004815></P
4816><TABLE
4817BORDER="0"
4818WIDTH="100%"
4819BGCOLOR="#FFD0D0"
4820CELLSPACING="0"
4821CELLPADDING="4"
4822CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004823><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004824><TR
4825><TD
4826WIDTH="20%"
4827ALIGN="RIGHT"
4828VALIGN="TOP"
4829><TT
4830CLASS="PARAMETER"
4831><I
4832>doc</I
4833></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004834>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004835><TD
4836WIDTH="80%"
4837ALIGN="LEFT"
4838VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004839>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004840></TR
4841><TR
4842><TD
4843WIDTH="20%"
4844ALIGN="RIGHT"
4845VALIGN="TOP"
4846><TT
4847CLASS="PARAMETER"
4848><I
4849>elem</I
4850></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004851>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004852><TD
4853WIDTH="80%"
4854ALIGN="LEFT"
4855VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004856>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004857></TR
4858><TR
4859><TD
4860WIDTH="20%"
4861ALIGN="RIGHT"
4862VALIGN="TOP"
4863><TT
4864CLASS="PARAMETER"
4865><I
4866>attr</I
4867></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004868>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004869><TD
4870WIDTH="80%"
4871ALIGN="LEFT"
4872VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004873>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004874></TR
4875><TR
4876><TD
4877WIDTH="20%"
4878ALIGN="RIGHT"
4879VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004880><SPAN
4881CLASS="emphasis"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004882><I
4883CLASS="EMPHASIS"
4884>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004885></SPAN
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004886> :</TD
4887><TD
4888WIDTH="80%"
4889ALIGN="LEFT"
4890VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004891>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004892></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004893></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004894></TABLE
4895><P
4896></P
4897></DIV
4898></DIV
4899><HR><DIV
4900CLASS="REFSECT2"
4901><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004902NAME="AEN11058"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004903></A
4904><H3
4905><A
4906NAME="XMLREMOVEREF"
4907></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004908>xmlRemoveRef ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004909><TABLE
4910BORDER="0"
4911BGCOLOR="#D6E8FF"
4912WIDTH="100%"
4913CELLPADDING="6"
4914><TR
4915><TD
4916><PRE
4917CLASS="PROGRAMLISTING"
4918>int xmlRemoveRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004919HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004920>xmlDocPtr</A
4921> doc,
4922 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004923HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004924>xmlAttrPtr</A
4925> attr);</PRE
4926></TD
4927></TR
4928></TABLE
4929><P
4930>Remove the given attribute from the Ref table maintained internally.</P
4931><P
4932></P
4933><DIV
4934CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004935><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004936NAME="AEN11066"
Daniel Veillardaec63562003-03-23 20:42:17 +00004937></A
4938><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004939></P
4940><TABLE
4941BORDER="0"
4942WIDTH="100%"
4943BGCOLOR="#FFD0D0"
4944CELLSPACING="0"
4945CELLPADDING="4"
4946CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004947><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004948><TR
4949><TD
4950WIDTH="20%"
4951ALIGN="RIGHT"
4952VALIGN="TOP"
4953><TT
4954CLASS="PARAMETER"
4955><I
4956>doc</I
4957></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004958>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004959><TD
4960WIDTH="80%"
4961ALIGN="LEFT"
4962VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004963>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004964></TR
4965><TR
4966><TD
4967WIDTH="20%"
4968ALIGN="RIGHT"
4969VALIGN="TOP"
4970><TT
4971CLASS="PARAMETER"
4972><I
4973>attr</I
4974></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004975>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004976><TD
4977WIDTH="80%"
4978ALIGN="LEFT"
4979VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004980>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004981></TR
4982><TR
4983><TD
4984WIDTH="20%"
4985ALIGN="RIGHT"
4986VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004987><SPAN
4988CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004989><I
4990CLASS="EMPHASIS"
4991>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004992></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004993> :</TD
4994><TD
4995WIDTH="80%"
4996ALIGN="LEFT"
4997VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00004998>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004999></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005000></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005001></TABLE
5002><P
5003></P
5004></DIV
5005></DIV
5006><HR><DIV
5007CLASS="REFSECT2"
5008><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005009NAME="AEN11083"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005010></A
5011><H3
5012><A
5013NAME="XMLGETREFS"
5014></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005015>xmlGetRefs ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00005016><TABLE
5017BORDER="0"
5018BGCOLOR="#D6E8FF"
5019WIDTH="100%"
5020CELLPADDING="6"
5021><TR
5022><TD
5023><PRE
5024CLASS="PROGRAMLISTING"
5025><GTKDOCLINK
5026HREF="XMLLISTPTR"
5027>xmlListPtr</GTKDOCLINK
5028> xmlGetRefs (<A
5029HREF="libxml-tree.html#XMLDOCPTR"
5030>xmlDocPtr</A
5031> doc,
5032 const <A
5033HREF="libxml-tree.html#XMLCHAR"
5034>xmlChar</A
5035> *ID);</PRE
5036></TD
5037></TR
5038></TABLE
5039><P
5040>Find the set of references for the supplied ID.</P
5041><P
5042></P
5043><DIV
5044CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005045><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005046NAME="AEN11092"
Daniel Veillardaec63562003-03-23 20:42:17 +00005047></A
5048><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00005049></P
5050><TABLE
5051BORDER="0"
5052WIDTH="100%"
5053BGCOLOR="#FFD0D0"
5054CELLSPACING="0"
5055CELLPADDING="4"
5056CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005057><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005058><TR
5059><TD
5060WIDTH="20%"
5061ALIGN="RIGHT"
5062VALIGN="TOP"
5063><TT
5064CLASS="PARAMETER"
5065><I
5066>doc</I
5067></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005068>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005069><TD
5070WIDTH="80%"
5071ALIGN="LEFT"
5072VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005073>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005074></TR
5075><TR
5076><TD
5077WIDTH="20%"
5078ALIGN="RIGHT"
5079VALIGN="TOP"
5080><TT
5081CLASS="PARAMETER"
5082><I
5083>ID</I
5084></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005085>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005086><TD
5087WIDTH="80%"
5088ALIGN="LEFT"
5089VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005090>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005091></TR
5092><TR
5093><TD
5094WIDTH="20%"
5095ALIGN="RIGHT"
5096VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005097><SPAN
5098CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005099><I
5100CLASS="EMPHASIS"
5101>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005102></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +00005103> :</TD
5104><TD
5105WIDTH="80%"
5106ALIGN="LEFT"
5107VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005108>&nbsp;</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005109></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005110></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005111></TABLE
5112><P
5113></P
5114></DIV
5115></DIV
5116><HR><DIV
5117CLASS="REFSECT2"
5118><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005119NAME="AEN11109"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005120></A
5121><H3
5122><A
5123NAME="XMLVALIDATEROOT"
5124></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005125>xmlValidateRoot ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005126><TABLE
5127BORDER="0"
5128BGCOLOR="#D6E8FF"
5129WIDTH="100%"
5130CELLPADDING="6"
5131><TR
5132><TD
5133><PRE
5134CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005135>int xmlValidateRoot (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005136HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005137>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005138> ctxt,
5139 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005140HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005141>xmlDocPtr</A
5142> doc);</PRE
5143></TD
5144></TR
5145></TABLE
5146><P
5147>Try to validate a the root element
5148basically it does the following check as described by the
5149XML-1.0 recommendation:
Daniel Veillardaec63562003-03-23 20:42:17 +00005150 - [ VC: Root Element Type ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00005151it doesn't try to recurse or apply other check to the element</P
5152><P
5153></P
5154><DIV
5155CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005156><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005157NAME="AEN11117"
Daniel Veillardaec63562003-03-23 20:42:17 +00005158></A
5159><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005160></P
5161><TABLE
5162BORDER="0"
5163WIDTH="100%"
5164BGCOLOR="#FFD0D0"
5165CELLSPACING="0"
5166CELLPADDING="4"
5167CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005168><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005169><TR
5170><TD
5171WIDTH="20%"
5172ALIGN="RIGHT"
5173VALIGN="TOP"
5174><TT
5175CLASS="PARAMETER"
5176><I
5177>ctxt</I
5178></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005179>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005180><TD
5181WIDTH="80%"
5182ALIGN="LEFT"
5183VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005184>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005185></TR
5186><TR
5187><TD
5188WIDTH="20%"
5189ALIGN="RIGHT"
5190VALIGN="TOP"
5191><TT
5192CLASS="PARAMETER"
5193><I
5194>doc</I
5195></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005196>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005197><TD
5198WIDTH="80%"
5199ALIGN="LEFT"
5200VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005201>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005202></TR
5203><TR
5204><TD
5205WIDTH="20%"
5206ALIGN="RIGHT"
5207VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005208><SPAN
5209CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005210><I
5211CLASS="EMPHASIS"
5212>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005213></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00005214> :</TD
5215><TD
5216WIDTH="80%"
5217ALIGN="LEFT"
5218VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005219>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005220></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005221></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005222></TABLE
5223><P
5224></P
5225></DIV
5226></DIV
5227><HR><DIV
5228CLASS="REFSECT2"
5229><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005230NAME="AEN11134"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005231></A
5232><H3
5233><A
5234NAME="XMLVALIDATEELEMENTDECL"
5235></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005236>xmlValidateElementDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005237><TABLE
5238BORDER="0"
5239BGCOLOR="#D6E8FF"
5240WIDTH="100%"
5241CELLPADDING="6"
5242><TR
5243><TD
5244><PRE
5245CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005246>int xmlValidateElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005247HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005248>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005249> ctxt,
5250 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005251HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005252>xmlDocPtr</A
5253> doc,
5254 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005255HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005256>xmlElementPtr</A
5257> elem);</PRE
5258></TD
5259></TR
5260></TABLE
5261><P
5262>Try to validate a single element definition
5263basically it does the following checks as described by the
5264XML-1.0 recommendation:
Daniel Veillardaec63562003-03-23 20:42:17 +00005265 - [ VC: One ID per Element Type ]
5266 - [ VC: No Duplicate Types ]
5267 - [ VC: Unique Element Type Declaration ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005268><P
5269></P
5270><DIV
5271CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005272><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005273NAME="AEN11143"
Daniel Veillardaec63562003-03-23 20:42:17 +00005274></A
5275><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005276></P
5277><TABLE
5278BORDER="0"
5279WIDTH="100%"
5280BGCOLOR="#FFD0D0"
5281CELLSPACING="0"
5282CELLPADDING="4"
5283CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005284><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005285><TR
5286><TD
5287WIDTH="20%"
5288ALIGN="RIGHT"
5289VALIGN="TOP"
5290><TT
5291CLASS="PARAMETER"
5292><I
5293>ctxt</I
5294></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005295>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005296><TD
5297WIDTH="80%"
5298ALIGN="LEFT"
5299VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005300>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005301></TR
5302><TR
5303><TD
5304WIDTH="20%"
5305ALIGN="RIGHT"
5306VALIGN="TOP"
5307><TT
5308CLASS="PARAMETER"
5309><I
5310>doc</I
5311></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005312>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005313><TD
5314WIDTH="80%"
5315ALIGN="LEFT"
5316VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005317>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005318></TR
5319><TR
5320><TD
5321WIDTH="20%"
5322ALIGN="RIGHT"
5323VALIGN="TOP"
5324><TT
5325CLASS="PARAMETER"
5326><I
5327>elem</I
5328></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005329>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005330><TD
5331WIDTH="80%"
5332ALIGN="LEFT"
5333VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005334>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005335></TR
5336><TR
5337><TD
5338WIDTH="20%"
5339ALIGN="RIGHT"
5340VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005341><SPAN
5342CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005343><I
5344CLASS="EMPHASIS"
5345>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005346></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00005347> :</TD
5348><TD
5349WIDTH="80%"
5350ALIGN="LEFT"
5351VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005352>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005353></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005354></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005355></TABLE
5356><P
5357></P
5358></DIV
5359></DIV
5360><HR><DIV
5361CLASS="REFSECT2"
5362><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005363NAME="AEN11164"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005364></A
5365><H3
5366><A
5367NAME="XMLVALIDNORMALIZEATTRIBUTEVALUE"
5368></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005369>xmlValidNormalizeAttributeValue ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005370><TABLE
5371BORDER="0"
5372BGCOLOR="#D6E8FF"
5373WIDTH="100%"
5374CELLPADDING="6"
5375><TR
5376><TD
5377><PRE
5378CLASS="PROGRAMLISTING"
5379><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005380HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005381>xmlChar</A
5382>* xmlValidNormalizeAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005383HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005384>xmlDocPtr</A
5385> doc,
5386 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005387HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005388>xmlNodePtr</A
5389> elem,
5390 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005391HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005392>xmlChar</A
5393> *name,
5394 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005395HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005396>xmlChar</A
5397> *value);</PRE
5398></TD
5399></TR
5400></TABLE
5401><P
5402>Does the validation related extra step of the normalization of attribute
5403values:</P
5404><P
5405>If the declared value is not CDATA, then the XML processor must further
5406process the normalized attribute value by discarding any leading and
5407trailing space (<GTKDOCLINK
5408HREF="X20"
5409>x20</GTKDOCLINK
5410>) characters, and by replacing sequences of space
5411(<GTKDOCLINK
5412HREF="X20"
5413>x20</GTKDOCLINK
5414>) characters by single space (<GTKDOCLINK
5415HREF="X20"
5416>x20</GTKDOCLINK
5417>) character.</P
5418><P
5419></P
5420><DIV
5421CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005422><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005423NAME="AEN11179"
Daniel Veillardaec63562003-03-23 20:42:17 +00005424></A
5425><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005426></P
5427><TABLE
5428BORDER="0"
5429WIDTH="100%"
5430BGCOLOR="#FFD0D0"
5431CELLSPACING="0"
5432CELLPADDING="4"
5433CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005434><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005435><TR
5436><TD
5437WIDTH="20%"
5438ALIGN="RIGHT"
5439VALIGN="TOP"
5440><TT
5441CLASS="PARAMETER"
5442><I
5443>doc</I
5444></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005445>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005446><TD
5447WIDTH="80%"
5448ALIGN="LEFT"
5449VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005450>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005451></TR
5452><TR
5453><TD
5454WIDTH="20%"
5455ALIGN="RIGHT"
5456VALIGN="TOP"
5457><TT
5458CLASS="PARAMETER"
5459><I
5460>elem</I
5461></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005462>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005463><TD
5464WIDTH="80%"
5465ALIGN="LEFT"
5466VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005467>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005468></TR
5469><TR
5470><TD
5471WIDTH="20%"
5472ALIGN="RIGHT"
5473VALIGN="TOP"
5474><TT
5475CLASS="PARAMETER"
5476><I
5477>name</I
5478></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005479>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005480><TD
5481WIDTH="80%"
5482ALIGN="LEFT"
5483VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005484>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005485></TR
5486><TR
5487><TD
5488WIDTH="20%"
5489ALIGN="RIGHT"
5490VALIGN="TOP"
5491><TT
5492CLASS="PARAMETER"
5493><I
5494>value</I
5495></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005496>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005497><TD
5498WIDTH="80%"
5499ALIGN="LEFT"
5500VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005501>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005502></TR
5503><TR
5504><TD
5505WIDTH="20%"
5506ALIGN="RIGHT"
5507VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005508><SPAN
5509CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005510><I
5511CLASS="EMPHASIS"
5512>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005513></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005514> :</TD
5515><TD
5516WIDTH="80%"
5517ALIGN="LEFT"
5518VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005519>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005520></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005521></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005522></TABLE
5523><P
5524></P
5525></DIV
5526></DIV
5527><HR><DIV
5528CLASS="REFSECT2"
5529><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005530NAME="AEN11204"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005531></A
5532><H3
5533><A
5534NAME="XMLVALIDCTXTNORMALIZEATTRIBUTEVALUE"
5535></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005536>xmlValidCtxtNormalizeAttributeValue ()</H3
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005537><TABLE
5538BORDER="0"
5539BGCOLOR="#D6E8FF"
5540WIDTH="100%"
5541CELLPADDING="6"
5542><TR
5543><TD
5544><PRE
5545CLASS="PROGRAMLISTING"
5546><A
5547HREF="libxml-tree.html#XMLCHAR"
5548>xmlChar</A
5549>* xmlValidCtxtNormalizeAttributeValue
5550 (<A
5551HREF="libxml-valid.html#XMLVALIDCTXTPTR"
5552>xmlValidCtxtPtr</A
5553> ctxt,
5554 <A
5555HREF="libxml-tree.html#XMLDOCPTR"
5556>xmlDocPtr</A
5557> doc,
5558 <A
5559HREF="libxml-tree.html#XMLNODEPTR"
5560>xmlNodePtr</A
5561> elem,
5562 const <A
5563HREF="libxml-tree.html#XMLCHAR"
5564>xmlChar</A
5565> *name,
5566 const <A
5567HREF="libxml-tree.html#XMLCHAR"
5568>xmlChar</A
5569> *value);</PRE
5570></TD
5571></TR
5572></TABLE
5573><P
5574>Does the validation related extra step of the normalization of attribute
5575values:</P
5576><P
5577>If the declared value is not CDATA, then the XML processor must further
5578process the normalized attribute value by discarding any leading and
5579trailing space (<GTKDOCLINK
5580HREF="X20"
5581>x20</GTKDOCLINK
5582>) characters, and by replacing sequences of space
5583(<GTKDOCLINK
5584HREF="X20"
5585>x20</GTKDOCLINK
5586>) characters by single space (<GTKDOCLINK
5587HREF="X20"
5588>x20</GTKDOCLINK
5589>) character.</P
5590><P
5591>Also check VC: Standalone Document Declaration in P32, and update
Daniel Veillardaec63562003-03-23 20:42:17 +00005592 ctxt-&gt;valid accordingly</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005593><P
5594></P
5595><DIV
5596CLASS="INFORMALTABLE"
5597><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005598NAME="AEN11221"
Daniel Veillardaec63562003-03-23 20:42:17 +00005599></A
5600><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005601></P
5602><TABLE
5603BORDER="0"
5604WIDTH="100%"
5605BGCOLOR="#FFD0D0"
5606CELLSPACING="0"
5607CELLPADDING="4"
5608CLASS="CALSTABLE"
5609><TBODY
5610><TR
5611><TD
5612WIDTH="20%"
5613ALIGN="RIGHT"
5614VALIGN="TOP"
5615><TT
5616CLASS="PARAMETER"
5617><I
5618>ctxt</I
5619></TT
5620>&nbsp;:</TD
5621><TD
5622WIDTH="80%"
5623ALIGN="LEFT"
5624VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005625> the validation context or NULL</TD
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005626></TR
5627><TR
5628><TD
5629WIDTH="20%"
5630ALIGN="RIGHT"
5631VALIGN="TOP"
5632><TT
5633CLASS="PARAMETER"
5634><I
5635>doc</I
5636></TT
5637>&nbsp;:</TD
5638><TD
5639WIDTH="80%"
5640ALIGN="LEFT"
5641VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005642>&nbsp;</TD
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005643></TR
5644><TR
5645><TD
5646WIDTH="20%"
5647ALIGN="RIGHT"
5648VALIGN="TOP"
5649><TT
5650CLASS="PARAMETER"
5651><I
5652>elem</I
5653></TT
5654>&nbsp;:</TD
5655><TD
5656WIDTH="80%"
5657ALIGN="LEFT"
5658VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005659>&nbsp;</TD
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005660></TR
5661><TR
5662><TD
5663WIDTH="20%"
5664ALIGN="RIGHT"
5665VALIGN="TOP"
5666><TT
5667CLASS="PARAMETER"
5668><I
5669>name</I
5670></TT
5671>&nbsp;:</TD
5672><TD
5673WIDTH="80%"
5674ALIGN="LEFT"
5675VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005676>&nbsp;</TD
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005677></TR
5678><TR
5679><TD
5680WIDTH="20%"
5681ALIGN="RIGHT"
5682VALIGN="TOP"
5683><TT
5684CLASS="PARAMETER"
5685><I
5686>value</I
5687></TT
5688>&nbsp;:</TD
5689><TD
5690WIDTH="80%"
5691ALIGN="LEFT"
5692VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005693>&nbsp;</TD
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005694></TR
5695><TR
5696><TD
5697WIDTH="20%"
5698ALIGN="RIGHT"
5699VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005700><SPAN
5701CLASS="emphasis"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005702><I
5703CLASS="EMPHASIS"
5704>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005705></SPAN
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005706> :</TD
5707><TD
5708WIDTH="80%"
5709ALIGN="LEFT"
5710VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005711>&nbsp;</TD
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005712></TR
5713></TBODY
5714></TABLE
5715><P
5716></P
5717></DIV
5718></DIV
5719><HR><DIV
5720CLASS="REFSECT2"
5721><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005722NAME="AEN11250"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005723></A
5724><H3
5725><A
5726NAME="XMLVALIDATEATTRIBUTEDECL"
5727></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005728>xmlValidateAttributeDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005729><TABLE
5730BORDER="0"
5731BGCOLOR="#D6E8FF"
5732WIDTH="100%"
5733CELLPADDING="6"
5734><TR
5735><TD
5736><PRE
5737CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005738>int xmlValidateAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005739HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005740>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005741> ctxt,
5742 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005743HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005744>xmlDocPtr</A
5745> doc,
5746 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005747HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005748>xmlAttributePtr</A
5749> attr);</PRE
5750></TD
5751></TR
5752></TABLE
5753><P
5754>Try to validate a single attribute definition
5755basically it does the following checks as described by the
5756XML-1.0 recommendation:
Daniel Veillardaec63562003-03-23 20:42:17 +00005757 - [ VC: Attribute Default Legal ]
5758 - [ VC: Enumeration ]
5759 - [ VC: ID Attribute Default ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005760><P
5761>The ID/IDREF uniqueness and matching are done separately</P
5762><P
5763></P
5764><DIV
5765CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005766><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005767NAME="AEN11260"
Daniel Veillardaec63562003-03-23 20:42:17 +00005768></A
5769><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005770></P
5771><TABLE
5772BORDER="0"
5773WIDTH="100%"
5774BGCOLOR="#FFD0D0"
5775CELLSPACING="0"
5776CELLPADDING="4"
5777CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005778><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005779><TR
5780><TD
5781WIDTH="20%"
5782ALIGN="RIGHT"
5783VALIGN="TOP"
5784><TT
5785CLASS="PARAMETER"
5786><I
5787>ctxt</I
5788></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005789>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005790><TD
5791WIDTH="80%"
5792ALIGN="LEFT"
5793VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005794>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005795></TR
5796><TR
5797><TD
5798WIDTH="20%"
5799ALIGN="RIGHT"
5800VALIGN="TOP"
5801><TT
5802CLASS="PARAMETER"
5803><I
5804>doc</I
5805></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005806>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005807><TD
5808WIDTH="80%"
5809ALIGN="LEFT"
5810VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005811>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005812></TR
5813><TR
5814><TD
5815WIDTH="20%"
5816ALIGN="RIGHT"
5817VALIGN="TOP"
5818><TT
5819CLASS="PARAMETER"
5820><I
5821>attr</I
5822></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005823>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005824><TD
5825WIDTH="80%"
5826ALIGN="LEFT"
5827VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005828>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005829></TR
5830><TR
5831><TD
5832WIDTH="20%"
5833ALIGN="RIGHT"
5834VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005835><SPAN
5836CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005837><I
5838CLASS="EMPHASIS"
5839>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005840></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00005841> :</TD
5842><TD
5843WIDTH="80%"
5844ALIGN="LEFT"
5845VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005846>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005847></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005848></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005849></TABLE
5850><P
5851></P
5852></DIV
5853></DIV
5854><HR><DIV
5855CLASS="REFSECT2"
5856><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005857NAME="AEN11281"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005858></A
5859><H3
5860><A
5861NAME="XMLVALIDATEATTRIBUTEVALUE"
5862></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005863>xmlValidateAttributeValue ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005864><TABLE
5865BORDER="0"
5866BGCOLOR="#D6E8FF"
5867WIDTH="100%"
5868CELLPADDING="6"
5869><TR
5870><TD
5871><PRE
5872CLASS="PROGRAMLISTING"
5873>int xmlValidateAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005874HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005875>xmlAttributeType</A
5876> type,
5877 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005878HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005879>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005880> *value);</PRE
5881></TD
5882></TR
5883></TABLE
5884><P
5885>Validate that the given attribute value match the proper production</P
5886><P
5887>[ VC: ID ]
5888Values of type ID must match the Name production....</P
5889><P
5890>[ VC: IDREF ]
5891Values of type IDREF must match the Name production, and values
5892of type IDREFS must match Names ...</P
5893><P
5894>[ VC: Entity Name ]
5895Values of type ENTITY must match the Name production, values
5896of type ENTITIES must match Names ...</P
5897><P
5898>[ VC: Name Token ]
5899Values of type NMTOKEN must match the Nmtoken production; values
5900of type NMTOKENS must match Nmtokens.</P
5901><P
5902></P
5903><DIV
5904CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005905><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005906NAME="AEN11293"
Daniel Veillardaec63562003-03-23 20:42:17 +00005907></A
5908><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005909></P
5910><TABLE
5911BORDER="0"
5912WIDTH="100%"
5913BGCOLOR="#FFD0D0"
5914CELLSPACING="0"
5915CELLPADDING="4"
5916CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005917><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005918><TR
5919><TD
5920WIDTH="20%"
5921ALIGN="RIGHT"
5922VALIGN="TOP"
5923><TT
5924CLASS="PARAMETER"
5925><I
5926>type</I
5927></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005928>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005929><TD
5930WIDTH="80%"
5931ALIGN="LEFT"
5932VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005933>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005934></TR
5935><TR
5936><TD
5937WIDTH="20%"
5938ALIGN="RIGHT"
5939VALIGN="TOP"
5940><TT
5941CLASS="PARAMETER"
5942><I
5943>value</I
5944></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005945>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005946><TD
5947WIDTH="80%"
5948ALIGN="LEFT"
5949VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005950>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005951></TR
5952><TR
5953><TD
5954WIDTH="20%"
5955ALIGN="RIGHT"
5956VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005957><SPAN
5958CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005959><I
5960CLASS="EMPHASIS"
5961>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005962></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005963> :</TD
5964><TD
5965WIDTH="80%"
5966ALIGN="LEFT"
5967VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005968>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005969></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005970></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005971></TABLE
5972><P
5973></P
5974></DIV
5975></DIV
5976><HR><DIV
5977CLASS="REFSECT2"
5978><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00005979NAME="AEN11310"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005980></A
5981><H3
5982><A
5983NAME="XMLVALIDATENOTATIONDECL"
5984></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005985>xmlValidateNotationDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005986><TABLE
5987BORDER="0"
5988BGCOLOR="#D6E8FF"
5989WIDTH="100%"
5990CELLPADDING="6"
5991><TR
5992><TD
5993><PRE
5994CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005995>int xmlValidateNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005996HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005997>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005998> ctxt,
5999 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006000HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006001>xmlDocPtr</A
6002> doc,
6003 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006004HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006005>xmlNotationPtr</A
6006> nota);</PRE
6007></TD
6008></TR
6009></TABLE
6010><P
6011>Try to validate a single notation definition
6012basically it does the following checks as described by the
6013XML-1.0 recommendation:
Daniel Veillardaec63562003-03-23 20:42:17 +00006014 - it seems that no validity constraint exists on notation declarations
Daniel Veillardb05deb71999-08-10 19:04:08 +00006015But this function get called anyway ...</P
6016><P
6017></P
6018><DIV
6019CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006020><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006021NAME="AEN11319"
Daniel Veillardaec63562003-03-23 20:42:17 +00006022></A
6023><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006024></P
6025><TABLE
6026BORDER="0"
6027WIDTH="100%"
6028BGCOLOR="#FFD0D0"
6029CELLSPACING="0"
6030CELLPADDING="4"
6031CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006032><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006033><TR
6034><TD
6035WIDTH="20%"
6036ALIGN="RIGHT"
6037VALIGN="TOP"
6038><TT
6039CLASS="PARAMETER"
6040><I
6041>ctxt</I
6042></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006043>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006044><TD
6045WIDTH="80%"
6046ALIGN="LEFT"
6047VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006048>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006049></TR
6050><TR
6051><TD
6052WIDTH="20%"
6053ALIGN="RIGHT"
6054VALIGN="TOP"
6055><TT
6056CLASS="PARAMETER"
6057><I
6058>doc</I
6059></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006060>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006061><TD
6062WIDTH="80%"
6063ALIGN="LEFT"
6064VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006065>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006066></TR
6067><TR
6068><TD
6069WIDTH="20%"
6070ALIGN="RIGHT"
6071VALIGN="TOP"
6072><TT
6073CLASS="PARAMETER"
6074><I
6075>nota</I
6076></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006077>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006078><TD
6079WIDTH="80%"
6080ALIGN="LEFT"
6081VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006082>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006083></TR
6084><TR
6085><TD
6086WIDTH="20%"
6087ALIGN="RIGHT"
6088VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006089><SPAN
6090CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006091><I
6092CLASS="EMPHASIS"
6093>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006094></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006095> :</TD
6096><TD
6097WIDTH="80%"
6098ALIGN="LEFT"
6099VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006100>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006101></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006102></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006103></TABLE
6104><P
6105></P
6106></DIV
6107></DIV
6108><HR><DIV
6109CLASS="REFSECT2"
6110><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006111NAME="AEN11340"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006112></A
6113><H3
6114><A
6115NAME="XMLVALIDATEDTD"
6116></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006117>xmlValidateDtd ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006118><TABLE
6119BORDER="0"
6120BGCOLOR="#D6E8FF"
6121WIDTH="100%"
6122CELLPADDING="6"
6123><TR
6124><TD
6125><PRE
6126CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006127>int xmlValidateDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006128HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006129>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006130> ctxt,
6131 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006132HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006133>xmlDocPtr</A
6134> doc,
6135 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006136HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006137>xmlDtdPtr</A
6138> dtd);</PRE
6139></TD
6140></TR
6141></TABLE
6142><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006143>Try to validate the document against the dtd instance</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006144><P
6145>basically it does check all the definitions in the DtD.</P
6146><P
6147></P
6148><DIV
6149CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006150><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006151NAME="AEN11350"
Daniel Veillardaec63562003-03-23 20:42:17 +00006152></A
6153><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006154></P
6155><TABLE
6156BORDER="0"
6157WIDTH="100%"
6158BGCOLOR="#FFD0D0"
6159CELLSPACING="0"
6160CELLPADDING="4"
6161CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006162><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006163><TR
6164><TD
6165WIDTH="20%"
6166ALIGN="RIGHT"
6167VALIGN="TOP"
6168><TT
6169CLASS="PARAMETER"
6170><I
6171>ctxt</I
6172></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006173>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006174><TD
6175WIDTH="80%"
6176ALIGN="LEFT"
6177VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006178>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006179></TR
6180><TR
6181><TD
6182WIDTH="20%"
6183ALIGN="RIGHT"
6184VALIGN="TOP"
6185><TT
6186CLASS="PARAMETER"
6187><I
6188>doc</I
6189></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006190>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006191><TD
6192WIDTH="80%"
6193ALIGN="LEFT"
6194VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006195>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006196></TR
6197><TR
6198><TD
6199WIDTH="20%"
6200ALIGN="RIGHT"
6201VALIGN="TOP"
6202><TT
6203CLASS="PARAMETER"
6204><I
6205>dtd</I
6206></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006207>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006208><TD
6209WIDTH="80%"
6210ALIGN="LEFT"
6211VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006212>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006213></TR
6214><TR
6215><TD
6216WIDTH="20%"
6217ALIGN="RIGHT"
6218VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006219><SPAN
6220CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006221><I
6222CLASS="EMPHASIS"
6223>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006224></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006225> :</TD
6226><TD
6227WIDTH="80%"
6228ALIGN="LEFT"
6229VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006230>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006231></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006232></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006233></TABLE
6234><P
6235></P
6236></DIV
6237></DIV
6238><HR><DIV
6239CLASS="REFSECT2"
6240><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006241NAME="AEN11371"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006242></A
6243><H3
6244><A
6245NAME="XMLVALIDATEDTDFINAL"
6246></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006247>xmlValidateDtdFinal ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006248><TABLE
6249BORDER="0"
6250BGCOLOR="#D6E8FF"
6251WIDTH="100%"
6252CELLPADDING="6"
6253><TR
6254><TD
6255><PRE
6256CLASS="PROGRAMLISTING"
6257>int xmlValidateDtdFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006258HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006259>xmlValidCtxtPtr</A
6260> ctxt,
6261 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006262HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006263>xmlDocPtr</A
6264> doc);</PRE
6265></TD
6266></TR
6267></TABLE
6268><P
6269>Does the final step for the dtds validation once all the
6270subsets have been parsed</P
6271><P
6272>basically it does the following checks described by the XML Rec
6273- check that ENTITY and ENTITIES type attributes default or
Daniel Veillardaec63562003-03-23 20:42:17 +00006274 possible values matches one of the defined entities.
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006275- check that NOTATION type attributes default or
Daniel Veillardaec63562003-03-23 20:42:17 +00006276 possible values matches one of the defined notations.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006277><P
6278></P
6279><DIV
6280CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006281><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006282NAME="AEN11380"
Daniel Veillardaec63562003-03-23 20:42:17 +00006283></A
6284><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006285></P
6286><TABLE
6287BORDER="0"
6288WIDTH="100%"
6289BGCOLOR="#FFD0D0"
6290CELLSPACING="0"
6291CELLPADDING="4"
6292CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006293><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006294><TR
6295><TD
6296WIDTH="20%"
6297ALIGN="RIGHT"
6298VALIGN="TOP"
6299><TT
6300CLASS="PARAMETER"
6301><I
6302>ctxt</I
6303></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006304>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006305><TD
6306WIDTH="80%"
6307ALIGN="LEFT"
6308VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006309>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006310></TR
6311><TR
6312><TD
6313WIDTH="20%"
6314ALIGN="RIGHT"
6315VALIGN="TOP"
6316><TT
6317CLASS="PARAMETER"
6318><I
6319>doc</I
6320></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006321>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006322><TD
6323WIDTH="80%"
6324ALIGN="LEFT"
6325VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006326>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006327></TR
6328><TR
6329><TD
6330WIDTH="20%"
6331ALIGN="RIGHT"
6332VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006333><SPAN
6334CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006335><I
6336CLASS="EMPHASIS"
6337>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006338></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006339> :</TD
6340><TD
6341WIDTH="80%"
6342ALIGN="LEFT"
6343VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006344>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006345></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006346></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006347></TABLE
6348><P
6349></P
6350></DIV
6351></DIV
6352><HR><DIV
6353CLASS="REFSECT2"
6354><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006355NAME="AEN11397"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006356></A
6357><H3
6358><A
6359NAME="XMLVALIDATEDOCUMENT"
6360></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006361>xmlValidateDocument ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006362><TABLE
6363BORDER="0"
6364BGCOLOR="#D6E8FF"
6365WIDTH="100%"
6366CELLPADDING="6"
6367><TR
6368><TD
6369><PRE
6370CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006371>int xmlValidateDocument (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006372HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006373>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006374> ctxt,
6375 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006376HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006377>xmlDocPtr</A
6378> doc);</PRE
6379></TD
6380></TR
6381></TABLE
6382><P
6383>Try to validate the document instance</P
6384><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006385>basically it does the all the checks described by the XML Rec
Daniel Veillardb05deb71999-08-10 19:04:08 +00006386i.e. validates the internal and external subset (if present)
6387and validate the document tree.</P
6388><P
6389></P
6390><DIV
6391CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006392><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006393NAME="AEN11406"
Daniel Veillardaec63562003-03-23 20:42:17 +00006394></A
6395><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006396></P
6397><TABLE
6398BORDER="0"
6399WIDTH="100%"
6400BGCOLOR="#FFD0D0"
6401CELLSPACING="0"
6402CELLPADDING="4"
6403CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006404><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006405><TR
6406><TD
6407WIDTH="20%"
6408ALIGN="RIGHT"
6409VALIGN="TOP"
6410><TT
6411CLASS="PARAMETER"
6412><I
6413>ctxt</I
6414></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006415>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006416><TD
6417WIDTH="80%"
6418ALIGN="LEFT"
6419VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006420>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006421></TR
6422><TR
6423><TD
6424WIDTH="20%"
6425ALIGN="RIGHT"
6426VALIGN="TOP"
6427><TT
6428CLASS="PARAMETER"
6429><I
6430>doc</I
6431></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006432>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006433><TD
6434WIDTH="80%"
6435ALIGN="LEFT"
6436VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006437>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006438></TR
6439><TR
6440><TD
6441WIDTH="20%"
6442ALIGN="RIGHT"
6443VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006444><SPAN
6445CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006446><I
6447CLASS="EMPHASIS"
6448>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006449></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006450> :</TD
6451><TD
6452WIDTH="80%"
6453ALIGN="LEFT"
6454VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006455>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006456></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006457></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006458></TABLE
6459><P
6460></P
6461></DIV
6462></DIV
6463><HR><DIV
6464CLASS="REFSECT2"
6465><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006466NAME="AEN11423"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006467></A
6468><H3
6469><A
6470NAME="XMLVALIDATEELEMENT"
6471></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006472>xmlValidateElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006473><TABLE
6474BORDER="0"
6475BGCOLOR="#D6E8FF"
6476WIDTH="100%"
6477CELLPADDING="6"
6478><TR
6479><TD
6480><PRE
6481CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006482>int xmlValidateElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006483HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006484>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006485> ctxt,
6486 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006487HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006488>xmlDocPtr</A
6489> doc,
6490 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006491HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006492>xmlNodePtr</A
6493> elem);</PRE
6494></TD
6495></TR
6496></TABLE
6497><P
6498>Try to validate the subtree under an element</P
6499><P
6500></P
6501><DIV
6502CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006503><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006504NAME="AEN11432"
Daniel Veillardaec63562003-03-23 20:42:17 +00006505></A
6506><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006507></P
6508><TABLE
6509BORDER="0"
6510WIDTH="100%"
6511BGCOLOR="#FFD0D0"
6512CELLSPACING="0"
6513CELLPADDING="4"
6514CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006515><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006516><TR
6517><TD
6518WIDTH="20%"
6519ALIGN="RIGHT"
6520VALIGN="TOP"
6521><TT
6522CLASS="PARAMETER"
6523><I
6524>ctxt</I
6525></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006526>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006527><TD
6528WIDTH="80%"
6529ALIGN="LEFT"
6530VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006531>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006532></TR
6533><TR
6534><TD
6535WIDTH="20%"
6536ALIGN="RIGHT"
6537VALIGN="TOP"
6538><TT
6539CLASS="PARAMETER"
6540><I
6541>doc</I
6542></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006543>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006544><TD
6545WIDTH="80%"
6546ALIGN="LEFT"
6547VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006548>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006549></TR
6550><TR
6551><TD
6552WIDTH="20%"
6553ALIGN="RIGHT"
6554VALIGN="TOP"
6555><TT
6556CLASS="PARAMETER"
6557><I
6558>elem</I
6559></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006560>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006561><TD
6562WIDTH="80%"
6563ALIGN="LEFT"
6564VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006565>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006566></TR
6567><TR
6568><TD
6569WIDTH="20%"
6570ALIGN="RIGHT"
6571VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006572><SPAN
6573CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006574><I
6575CLASS="EMPHASIS"
6576>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006577></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006578> :</TD
6579><TD
6580WIDTH="80%"
6581ALIGN="LEFT"
6582VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006583>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006584></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006585></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006586></TABLE
6587><P
6588></P
6589></DIV
6590></DIV
6591><HR><DIV
6592CLASS="REFSECT2"
6593><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006594NAME="AEN11453"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006595></A
6596><H3
6597><A
6598NAME="XMLVALIDATEONEELEMENT"
6599></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006600>xmlValidateOneElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006601><TABLE
6602BORDER="0"
6603BGCOLOR="#D6E8FF"
6604WIDTH="100%"
6605CELLPADDING="6"
6606><TR
6607><TD
6608><PRE
6609CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006610>int xmlValidateOneElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006611HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006612>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006613> ctxt,
6614 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006615HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006616>xmlDocPtr</A
6617> doc,
6618 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006619HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006620>xmlNodePtr</A
6621> elem);</PRE
6622></TD
6623></TR
6624></TABLE
6625><P
6626>Try to validate a single element and it's attributes,
6627basically it does the following checks as described by the
6628XML-1.0 recommendation:
Daniel Veillardaec63562003-03-23 20:42:17 +00006629 - [ VC: Element Valid ]
6630 - [ VC: Required Attribute ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00006631Then call <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006632HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006633>xmlValidateOneAttribute</A
6634>() for each attribute present.</P
6635><P
6636>The ID/IDREF checkings are done separately</P
6637><P
6638></P
6639><DIV
6640CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006641><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006642NAME="AEN11464"
Daniel Veillardaec63562003-03-23 20:42:17 +00006643></A
6644><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006645></P
6646><TABLE
6647BORDER="0"
6648WIDTH="100%"
6649BGCOLOR="#FFD0D0"
6650CELLSPACING="0"
6651CELLPADDING="4"
6652CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006653><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006654><TR
6655><TD
6656WIDTH="20%"
6657ALIGN="RIGHT"
6658VALIGN="TOP"
6659><TT
6660CLASS="PARAMETER"
6661><I
6662>ctxt</I
6663></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006664>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006665><TD
6666WIDTH="80%"
6667ALIGN="LEFT"
6668VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006669>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006670></TR
6671><TR
6672><TD
6673WIDTH="20%"
6674ALIGN="RIGHT"
6675VALIGN="TOP"
6676><TT
6677CLASS="PARAMETER"
6678><I
6679>doc</I
6680></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006681>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006682><TD
6683WIDTH="80%"
6684ALIGN="LEFT"
6685VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006686>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006687></TR
6688><TR
6689><TD
6690WIDTH="20%"
6691ALIGN="RIGHT"
6692VALIGN="TOP"
6693><TT
6694CLASS="PARAMETER"
6695><I
6696>elem</I
6697></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006698>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006699><TD
6700WIDTH="80%"
6701ALIGN="LEFT"
6702VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006703>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006704></TR
6705><TR
6706><TD
6707WIDTH="20%"
6708ALIGN="RIGHT"
6709VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006710><SPAN
6711CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006712><I
6713CLASS="EMPHASIS"
6714>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006715></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006716> :</TD
6717><TD
6718WIDTH="80%"
6719ALIGN="LEFT"
6720VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006721>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006722></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006723></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006724></TABLE
6725><P
6726></P
6727></DIV
6728></DIV
6729><HR><DIV
6730CLASS="REFSECT2"
6731><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006732NAME="AEN11485"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006733></A
6734><H3
6735><A
6736NAME="XMLVALIDATEONEATTRIBUTE"
6737></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006738>xmlValidateOneAttribute ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006739><TABLE
6740BORDER="0"
6741BGCOLOR="#D6E8FF"
6742WIDTH="100%"
6743CELLPADDING="6"
6744><TR
6745><TD
6746><PRE
6747CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006748>int xmlValidateOneAttribute (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006749HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006750>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006751> ctxt,
6752 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006753HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006754>xmlDocPtr</A
6755> doc,
6756 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006757HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006758>xmlNodePtr</A
6759> elem,
6760 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006761HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006762>xmlAttrPtr</A
6763> attr,
6764 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006765HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006766>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006767> *value);</PRE
6768></TD
6769></TR
6770></TABLE
6771><P
6772>Try to validate a single attribute for an element
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006773basically it does the following checks as described by the
Daniel Veillardb05deb71999-08-10 19:04:08 +00006774XML-1.0 recommendation:
Daniel Veillardaec63562003-03-23 20:42:17 +00006775 - [ VC: Attribute Value Type ]
6776 - [ VC: Fixed Attribute Default ]
6777 - [ VC: Entity Name ]
6778 - [ VC: Name Token ]
6779 - [ VC: ID ]
6780 - [ VC: IDREF ]
6781 - [ VC: Entity Name ]
6782 - [ VC: Notation Attributes ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006783><P
6784>The ID/IDREF uniqueness and matching are done separately</P
6785><P
6786></P
6787><DIV
6788CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006789><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006790NAME="AEN11497"
Daniel Veillardaec63562003-03-23 20:42:17 +00006791></A
6792><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006793></P
6794><TABLE
6795BORDER="0"
6796WIDTH="100%"
6797BGCOLOR="#FFD0D0"
6798CELLSPACING="0"
6799CELLPADDING="4"
6800CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006801><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006802><TR
6803><TD
6804WIDTH="20%"
6805ALIGN="RIGHT"
6806VALIGN="TOP"
6807><TT
6808CLASS="PARAMETER"
6809><I
6810>ctxt</I
6811></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006812>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006813><TD
6814WIDTH="80%"
6815ALIGN="LEFT"
6816VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006817>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006818></TR
6819><TR
6820><TD
6821WIDTH="20%"
6822ALIGN="RIGHT"
6823VALIGN="TOP"
6824><TT
6825CLASS="PARAMETER"
6826><I
6827>doc</I
6828></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006829>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006830><TD
6831WIDTH="80%"
6832ALIGN="LEFT"
6833VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006834>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006835></TR
6836><TR
6837><TD
6838WIDTH="20%"
6839ALIGN="RIGHT"
6840VALIGN="TOP"
6841><TT
6842CLASS="PARAMETER"
6843><I
6844>elem</I
6845></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006846>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006847><TD
6848WIDTH="80%"
6849ALIGN="LEFT"
6850VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006851>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006852></TR
6853><TR
6854><TD
6855WIDTH="20%"
6856ALIGN="RIGHT"
6857VALIGN="TOP"
6858><TT
6859CLASS="PARAMETER"
6860><I
6861>attr</I
6862></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006863>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006864><TD
6865WIDTH="80%"
6866ALIGN="LEFT"
6867VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006868>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006869></TR
6870><TR
6871><TD
6872WIDTH="20%"
6873ALIGN="RIGHT"
6874VALIGN="TOP"
6875><TT
6876CLASS="PARAMETER"
6877><I
6878>value</I
6879></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006880>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006881><TD
6882WIDTH="80%"
6883ALIGN="LEFT"
6884VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006885>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006886></TR
6887><TR
6888><TD
6889WIDTH="20%"
6890ALIGN="RIGHT"
6891VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006892><SPAN
6893CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006894><I
6895CLASS="EMPHASIS"
6896>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006897></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006898> :</TD
6899><TD
6900WIDTH="80%"
6901ALIGN="LEFT"
6902VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006903>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006904></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006905></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006906></TABLE
6907><P
6908></P
6909></DIV
6910></DIV
6911><HR><DIV
6912CLASS="REFSECT2"
6913><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006914NAME="AEN11526"
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006915></A
6916><H3
6917><A
6918NAME="XMLVALIDATEONENAMESPACE"
6919></A
6920>xmlValidateOneNamespace ()</H3
6921><TABLE
6922BORDER="0"
6923BGCOLOR="#D6E8FF"
6924WIDTH="100%"
6925CELLPADDING="6"
6926><TR
6927><TD
6928><PRE
6929CLASS="PROGRAMLISTING"
6930>int xmlValidateOneNamespace (<A
6931HREF="libxml-valid.html#XMLVALIDCTXTPTR"
6932>xmlValidCtxtPtr</A
6933> ctxt,
6934 <A
6935HREF="libxml-tree.html#XMLDOCPTR"
6936>xmlDocPtr</A
6937> doc,
6938 <A
6939HREF="libxml-tree.html#XMLNODEPTR"
6940>xmlNodePtr</A
6941> elem,
6942 const <A
6943HREF="libxml-tree.html#XMLCHAR"
6944>xmlChar</A
6945> *prefix,
6946 <A
6947HREF="libxml-tree.html#XMLNSPTR"
6948>xmlNsPtr</A
6949> ns,
6950 const <A
6951HREF="libxml-tree.html#XMLCHAR"
6952>xmlChar</A
6953> *value);</PRE
6954></TD
6955></TR
6956></TABLE
6957><P
6958>Try to validate a single namespace declaration for an element
6959basically it does the following checks as described by the
6960XML-1.0 recommendation:
Daniel Veillardaec63562003-03-23 20:42:17 +00006961 - [ VC: Attribute Value Type ]
6962 - [ VC: Fixed Attribute Default ]
6963 - [ VC: Entity Name ]
6964 - [ VC: Name Token ]
6965 - [ VC: ID ]
6966 - [ VC: IDREF ]
6967 - [ VC: Entity Name ]
6968 - [ VC: Notation Attributes ]</P
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006969><P
6970>The ID/IDREF uniqueness and matching are done separately</P
6971><P
6972></P
6973><DIV
6974CLASS="INFORMALTABLE"
6975><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00006976NAME="AEN11539"
Daniel Veillardaec63562003-03-23 20:42:17 +00006977></A
6978><P
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006979></P
6980><TABLE
6981BORDER="0"
6982WIDTH="100%"
6983BGCOLOR="#FFD0D0"
6984CELLSPACING="0"
6985CELLPADDING="4"
6986CLASS="CALSTABLE"
6987><TBODY
6988><TR
6989><TD
6990WIDTH="20%"
6991ALIGN="RIGHT"
6992VALIGN="TOP"
6993><TT
6994CLASS="PARAMETER"
6995><I
6996>ctxt</I
6997></TT
6998>&nbsp;:</TD
6999><TD
7000WIDTH="80%"
7001ALIGN="LEFT"
7002VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007003>&nbsp;</TD
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007004></TR
7005><TR
7006><TD
7007WIDTH="20%"
7008ALIGN="RIGHT"
7009VALIGN="TOP"
7010><TT
7011CLASS="PARAMETER"
7012><I
7013>doc</I
7014></TT
7015>&nbsp;:</TD
7016><TD
7017WIDTH="80%"
7018ALIGN="LEFT"
7019VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007020>&nbsp;</TD
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007021></TR
7022><TR
7023><TD
7024WIDTH="20%"
7025ALIGN="RIGHT"
7026VALIGN="TOP"
7027><TT
7028CLASS="PARAMETER"
7029><I
7030>elem</I
7031></TT
7032>&nbsp;:</TD
7033><TD
7034WIDTH="80%"
7035ALIGN="LEFT"
7036VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007037>&nbsp;</TD
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007038></TR
7039><TR
7040><TD
7041WIDTH="20%"
7042ALIGN="RIGHT"
7043VALIGN="TOP"
7044><TT
7045CLASS="PARAMETER"
7046><I
7047>prefix</I
7048></TT
7049>&nbsp;:</TD
7050><TD
7051WIDTH="80%"
7052ALIGN="LEFT"
7053VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007054>&nbsp;</TD
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007055></TR
7056><TR
7057><TD
7058WIDTH="20%"
7059ALIGN="RIGHT"
7060VALIGN="TOP"
7061><TT
7062CLASS="PARAMETER"
7063><I
7064>ns</I
7065></TT
7066>&nbsp;:</TD
7067><TD
7068WIDTH="80%"
7069ALIGN="LEFT"
7070VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007071>&nbsp;</TD
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007072></TR
7073><TR
7074><TD
7075WIDTH="20%"
7076ALIGN="RIGHT"
7077VALIGN="TOP"
7078><TT
7079CLASS="PARAMETER"
7080><I
7081>value</I
7082></TT
7083>&nbsp;:</TD
7084><TD
7085WIDTH="80%"
7086ALIGN="LEFT"
7087VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007088>&nbsp;</TD
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007089></TR
7090><TR
7091><TD
7092WIDTH="20%"
7093ALIGN="RIGHT"
7094VALIGN="TOP"
7095><SPAN
7096CLASS="emphasis"
7097><I
7098CLASS="EMPHASIS"
7099>Returns</I
7100></SPAN
7101> :</TD
7102><TD
7103WIDTH="80%"
7104ALIGN="LEFT"
7105VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007106>&nbsp;</TD
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007107></TR
7108></TBODY
7109></TABLE
7110><P
7111></P
7112></DIV
7113></DIV
7114><HR><DIV
7115CLASS="REFSECT2"
7116><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007117NAME="AEN11572"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007118></A
7119><H3
7120><A
7121NAME="XMLVALIDATEDOCUMENTFINAL"
7122></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007123>xmlValidateDocumentFinal ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007124><TABLE
7125BORDER="0"
7126BGCOLOR="#D6E8FF"
7127WIDTH="100%"
7128CELLPADDING="6"
7129><TR
7130><TD
7131><PRE
7132CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007133>int xmlValidateDocumentFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007134HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007135>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007136> ctxt,
7137 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007138HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007139>xmlDocPtr</A
7140> doc);</PRE
7141></TD
7142></TR
7143></TABLE
7144><P
7145>Does the final step for the document validation once all the
7146incremental validation steps have been completed</P
7147><P
7148>basically it does the following checks described by the XML Rec</P
7149><P
Daniel Veillardaec63562003-03-23 20:42:17 +00007150>Check all the IDREF/IDREFS attributes definition for validity</P
7151><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007152></P
7153><DIV
7154CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007155><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007156NAME="AEN11582"
Daniel Veillardaec63562003-03-23 20:42:17 +00007157></A
7158><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007159></P
7160><TABLE
7161BORDER="0"
7162WIDTH="100%"
7163BGCOLOR="#FFD0D0"
7164CELLSPACING="0"
7165CELLPADDING="4"
7166CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007167><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007168><TR
7169><TD
7170WIDTH="20%"
7171ALIGN="RIGHT"
7172VALIGN="TOP"
7173><TT
7174CLASS="PARAMETER"
7175><I
7176>ctxt</I
7177></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007178>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007179><TD
7180WIDTH="80%"
7181ALIGN="LEFT"
7182VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007183>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007184></TR
7185><TR
7186><TD
7187WIDTH="20%"
7188ALIGN="RIGHT"
7189VALIGN="TOP"
7190><TT
7191CLASS="PARAMETER"
7192><I
7193>doc</I
7194></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007195>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007196><TD
7197WIDTH="80%"
7198ALIGN="LEFT"
7199VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007200>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007201></TR
7202><TR
7203><TD
7204WIDTH="20%"
7205ALIGN="RIGHT"
7206VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007207><SPAN
7208CLASS="emphasis"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007209><I
7210CLASS="EMPHASIS"
7211>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007212></SPAN
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007213> :</TD
7214><TD
7215WIDTH="80%"
7216ALIGN="LEFT"
7217VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007218>&nbsp;</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007219></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007220></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007221></TABLE
7222><P
7223></P
7224></DIV
7225></DIV
7226><HR><DIV
7227CLASS="REFSECT2"
7228><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007229NAME="AEN11599"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007230></A
7231><H3
7232><A
7233NAME="XMLVALIDATENOTATIONUSE"
7234></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007235>xmlValidateNotationUse ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007236><TABLE
7237BORDER="0"
7238BGCOLOR="#D6E8FF"
7239WIDTH="100%"
7240CELLPADDING="6"
7241><TR
7242><TD
7243><PRE
7244CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007245>int xmlValidateNotationUse (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007246HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007247>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007248> ctxt,
7249 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007250HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007251>xmlDocPtr</A
7252> doc,
7253 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007254HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007255>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007256> *notationName);</PRE
7257></TD
7258></TR
7259></TABLE
7260><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007261>Validate that the given name match a notation declaration.
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007262- [ VC: Notation Declared ]</P
7263><P
7264></P
7265><DIV
7266CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007267><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007268NAME="AEN11608"
Daniel Veillardaec63562003-03-23 20:42:17 +00007269></A
7270><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007271></P
7272><TABLE
7273BORDER="0"
7274WIDTH="100%"
7275BGCOLOR="#FFD0D0"
7276CELLSPACING="0"
7277CELLPADDING="4"
7278CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007279><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007280><TR
7281><TD
7282WIDTH="20%"
7283ALIGN="RIGHT"
7284VALIGN="TOP"
7285><TT
7286CLASS="PARAMETER"
7287><I
7288>ctxt</I
7289></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007290>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007291><TD
7292WIDTH="80%"
7293ALIGN="LEFT"
7294VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007295>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007296></TR
7297><TR
7298><TD
7299WIDTH="20%"
7300ALIGN="RIGHT"
7301VALIGN="TOP"
7302><TT
7303CLASS="PARAMETER"
7304><I
7305>doc</I
7306></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007307>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007308><TD
7309WIDTH="80%"
7310ALIGN="LEFT"
7311VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007312>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007313></TR
7314><TR
7315><TD
7316WIDTH="20%"
7317ALIGN="RIGHT"
7318VALIGN="TOP"
7319><TT
7320CLASS="PARAMETER"
7321><I
7322>notationName</I
7323></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007324>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007325><TD
7326WIDTH="80%"
7327ALIGN="LEFT"
7328VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007329>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007330></TR
7331><TR
7332><TD
7333WIDTH="20%"
7334ALIGN="RIGHT"
7335VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007336><SPAN
7337CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007338><I
7339CLASS="EMPHASIS"
7340>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007341></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007342> :</TD
7343><TD
7344WIDTH="80%"
7345ALIGN="LEFT"
7346VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007347>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007348></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007349></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007350></TABLE
7351><P
7352></P
7353></DIV
7354></DIV
7355><HR><DIV
7356CLASS="REFSECT2"
7357><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007358NAME="AEN11629"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007359></A
7360><H3
7361><A
7362NAME="XMLISMIXEDELEMENT"
7363></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007364>xmlIsMixedElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00007365><TABLE
7366BORDER="0"
7367BGCOLOR="#D6E8FF"
7368WIDTH="100%"
7369CELLPADDING="6"
7370><TR
7371><TD
7372><PRE
7373CLASS="PROGRAMLISTING"
7374>int xmlIsMixedElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007375HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007376>xmlDocPtr</A
7377> doc,
7378 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007379HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007380>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007381> *name);</PRE
7382></TD
7383></TR
7384></TABLE
7385><P
7386>Search in the DtDs whether an element accept Mixed content (or ANY)
7387basically if it is supposed to accept text childs</P
7388><P
7389></P
7390><DIV
7391CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007392><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007393NAME="AEN11637"
Daniel Veillardaec63562003-03-23 20:42:17 +00007394></A
7395><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007396></P
7397><TABLE
7398BORDER="0"
7399WIDTH="100%"
7400BGCOLOR="#FFD0D0"
7401CELLSPACING="0"
7402CELLPADDING="4"
7403CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007404><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00007405><TR
7406><TD
7407WIDTH="20%"
7408ALIGN="RIGHT"
7409VALIGN="TOP"
7410><TT
7411CLASS="PARAMETER"
7412><I
7413>doc</I
7414></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007415>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007416><TD
7417WIDTH="80%"
7418ALIGN="LEFT"
7419VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007420>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007421></TR
7422><TR
7423><TD
7424WIDTH="20%"
7425ALIGN="RIGHT"
7426VALIGN="TOP"
7427><TT
7428CLASS="PARAMETER"
7429><I
7430>name</I
7431></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007432>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007433><TD
7434WIDTH="80%"
7435ALIGN="LEFT"
7436VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007437>&nbsp;</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007438></TR
7439><TR
7440><TD
7441WIDTH="20%"
7442ALIGN="RIGHT"
7443VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007444><SPAN
7445CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007446><I
7447CLASS="EMPHASIS"
7448>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007449></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00007450> :</TD
7451><TD
7452WIDTH="80%"
7453ALIGN="LEFT"
7454VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007455>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007456></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007457></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007458></TABLE
7459><P
7460></P
7461></DIV
7462></DIV
7463><HR><DIV
7464CLASS="REFSECT2"
7465><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007466NAME="AEN11654"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007467></A
7468><H3
7469><A
7470NAME="XMLGETDTDATTRDESC"
7471></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007472>xmlGetDtdAttrDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007473><TABLE
7474BORDER="0"
7475BGCOLOR="#D6E8FF"
7476WIDTH="100%"
7477CELLPADDING="6"
7478><TR
7479><TD
7480><PRE
7481CLASS="PROGRAMLISTING"
7482><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007483HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007484>xmlAttributePtr</A
7485> xmlGetDtdAttrDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007486HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007487>xmlDtdPtr</A
7488> dtd,
7489 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007490HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007491>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007492> *elem,
7493 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007494HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007495>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007496> *name);</PRE
7497></TD
7498></TR
7499></TABLE
7500><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007501>Search the DTD for the description of this attribute on
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007502this element.</P
7503><P
7504></P
7505><DIV
7506CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007507><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007508NAME="AEN11664"
Daniel Veillardaec63562003-03-23 20:42:17 +00007509></A
7510><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007511></P
7512><TABLE
7513BORDER="0"
7514WIDTH="100%"
7515BGCOLOR="#FFD0D0"
7516CELLSPACING="0"
7517CELLPADDING="4"
7518CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007519><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007520><TR
7521><TD
7522WIDTH="20%"
7523ALIGN="RIGHT"
7524VALIGN="TOP"
7525><TT
7526CLASS="PARAMETER"
7527><I
7528>dtd</I
7529></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007530>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007531><TD
7532WIDTH="80%"
7533ALIGN="LEFT"
7534VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007535>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007536></TR
7537><TR
7538><TD
7539WIDTH="20%"
7540ALIGN="RIGHT"
7541VALIGN="TOP"
7542><TT
7543CLASS="PARAMETER"
7544><I
7545>elem</I
7546></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007547>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007548><TD
7549WIDTH="80%"
7550ALIGN="LEFT"
7551VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007552>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007553></TR
7554><TR
7555><TD
7556WIDTH="20%"
7557ALIGN="RIGHT"
7558VALIGN="TOP"
7559><TT
7560CLASS="PARAMETER"
7561><I
7562>name</I
7563></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007564>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007565><TD
7566WIDTH="80%"
7567ALIGN="LEFT"
7568VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007569>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007570></TR
7571><TR
7572><TD
7573WIDTH="20%"
7574ALIGN="RIGHT"
7575VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007576><SPAN
7577CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007578><I
7579CLASS="EMPHASIS"
7580>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007581></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007582> :</TD
7583><TD
7584WIDTH="80%"
7585ALIGN="LEFT"
7586VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007587>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007588></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007589></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007590></TABLE
7591><P
7592></P
7593></DIV
7594></DIV
7595><HR><DIV
7596CLASS="REFSECT2"
7597><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007598NAME="AEN11685"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007599></A
7600><H3
7601><A
7602NAME="XMLGETDTDQATTRDESC"
7603></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007604>xmlGetDtdQAttrDesc ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007605><TABLE
7606BORDER="0"
7607BGCOLOR="#D6E8FF"
7608WIDTH="100%"
7609CELLPADDING="6"
7610><TR
7611><TD
7612><PRE
7613CLASS="PROGRAMLISTING"
7614><A
7615HREF="libxml-tree.html#XMLATTRIBUTEPTR"
7616>xmlAttributePtr</A
7617> xmlGetDtdQAttrDesc (<A
7618HREF="libxml-tree.html#XMLDTDPTR"
7619>xmlDtdPtr</A
7620> dtd,
7621 const <A
7622HREF="libxml-tree.html#XMLCHAR"
7623>xmlChar</A
7624> *elem,
7625 const <A
7626HREF="libxml-tree.html#XMLCHAR"
7627>xmlChar</A
7628> *name,
7629 const <A
7630HREF="libxml-tree.html#XMLCHAR"
7631>xmlChar</A
7632> *prefix);</PRE
7633></TD
7634></TR
7635></TABLE
7636><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007637>Search the DTD for the description of this qualified attribute on
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007638this element.</P
7639><P
7640></P
7641><DIV
7642CLASS="INFORMALTABLE"
7643><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007644NAME="AEN11696"
Daniel Veillardaec63562003-03-23 20:42:17 +00007645></A
7646><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007647></P
7648><TABLE
7649BORDER="0"
7650WIDTH="100%"
7651BGCOLOR="#FFD0D0"
7652CELLSPACING="0"
7653CELLPADDING="4"
7654CLASS="CALSTABLE"
7655><TBODY
7656><TR
7657><TD
7658WIDTH="20%"
7659ALIGN="RIGHT"
7660VALIGN="TOP"
7661><TT
7662CLASS="PARAMETER"
7663><I
7664>dtd</I
7665></TT
7666>&nbsp;:</TD
7667><TD
7668WIDTH="80%"
7669ALIGN="LEFT"
7670VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007671>&nbsp;</TD
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007672></TR
7673><TR
7674><TD
7675WIDTH="20%"
7676ALIGN="RIGHT"
7677VALIGN="TOP"
7678><TT
7679CLASS="PARAMETER"
7680><I
7681>elem</I
7682></TT
7683>&nbsp;:</TD
7684><TD
7685WIDTH="80%"
7686ALIGN="LEFT"
7687VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007688>&nbsp;</TD
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007689></TR
7690><TR
7691><TD
7692WIDTH="20%"
7693ALIGN="RIGHT"
7694VALIGN="TOP"
7695><TT
7696CLASS="PARAMETER"
7697><I
7698>name</I
7699></TT
7700>&nbsp;:</TD
7701><TD
7702WIDTH="80%"
7703ALIGN="LEFT"
7704VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007705>&nbsp;</TD
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007706></TR
7707><TR
7708><TD
7709WIDTH="20%"
7710ALIGN="RIGHT"
7711VALIGN="TOP"
7712><TT
7713CLASS="PARAMETER"
7714><I
7715>prefix</I
7716></TT
7717>&nbsp;:</TD
7718><TD
7719WIDTH="80%"
7720ALIGN="LEFT"
7721VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007722>&nbsp;</TD
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007723></TR
7724><TR
7725><TD
7726WIDTH="20%"
7727ALIGN="RIGHT"
7728VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007729><SPAN
7730CLASS="emphasis"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007731><I
7732CLASS="EMPHASIS"
7733>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007734></SPAN
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007735> :</TD
7736><TD
7737WIDTH="80%"
7738ALIGN="LEFT"
7739VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007740>&nbsp;</TD
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007741></TR
7742></TBODY
7743></TABLE
7744><P
7745></P
7746></DIV
7747></DIV
7748><HR><DIV
7749CLASS="REFSECT2"
7750><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007751NAME="AEN11721"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007752></A
7753><H3
7754><A
7755NAME="XMLGETDTDNOTATIONDESC"
7756></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007757>xmlGetDtdNotationDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007758><TABLE
7759BORDER="0"
7760BGCOLOR="#D6E8FF"
7761WIDTH="100%"
7762CELLPADDING="6"
7763><TR
7764><TD
7765><PRE
7766CLASS="PROGRAMLISTING"
7767><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007768HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007769>xmlNotationPtr</A
7770> xmlGetDtdNotationDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007771HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007772>xmlDtdPtr</A
7773> dtd,
7774 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007775HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007776>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007777> *name);</PRE
7778></TD
7779></TR
7780></TABLE
7781><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007782>Search the DTD for the description of this notation</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007783><P
7784></P
7785><DIV
7786CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007787><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007788NAME="AEN11730"
Daniel Veillardaec63562003-03-23 20:42:17 +00007789></A
7790><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007791></P
7792><TABLE
7793BORDER="0"
7794WIDTH="100%"
7795BGCOLOR="#FFD0D0"
7796CELLSPACING="0"
7797CELLPADDING="4"
7798CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007799><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007800><TR
7801><TD
7802WIDTH="20%"
7803ALIGN="RIGHT"
7804VALIGN="TOP"
7805><TT
7806CLASS="PARAMETER"
7807><I
7808>dtd</I
7809></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007810>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007811><TD
7812WIDTH="80%"
7813ALIGN="LEFT"
7814VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007815>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007816></TR
7817><TR
7818><TD
7819WIDTH="20%"
7820ALIGN="RIGHT"
7821VALIGN="TOP"
7822><TT
7823CLASS="PARAMETER"
7824><I
7825>name</I
7826></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007827>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007828><TD
7829WIDTH="80%"
7830ALIGN="LEFT"
7831VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007832>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007833></TR
7834><TR
7835><TD
7836WIDTH="20%"
7837ALIGN="RIGHT"
7838VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007839><SPAN
7840CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007841><I
7842CLASS="EMPHASIS"
7843>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007844></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007845> :</TD
7846><TD
7847WIDTH="80%"
7848ALIGN="LEFT"
7849VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007850>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007851></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007852></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007853></TABLE
7854><P
7855></P
7856></DIV
7857></DIV
7858><HR><DIV
7859CLASS="REFSECT2"
7860><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007861NAME="AEN11747"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007862></A
7863><H3
7864><A
7865NAME="XMLGETDTDQELEMENTDESC"
7866></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007867>xmlGetDtdQElementDesc ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007868><TABLE
7869BORDER="0"
7870BGCOLOR="#D6E8FF"
7871WIDTH="100%"
7872CELLPADDING="6"
7873><TR
7874><TD
7875><PRE
7876CLASS="PROGRAMLISTING"
7877><A
7878HREF="libxml-tree.html#XMLELEMENTPTR"
7879>xmlElementPtr</A
7880> xmlGetDtdQElementDesc (<A
7881HREF="libxml-tree.html#XMLDTDPTR"
7882>xmlDtdPtr</A
7883> dtd,
7884 const <A
7885HREF="libxml-tree.html#XMLCHAR"
7886>xmlChar</A
7887> *name,
7888 const <A
7889HREF="libxml-tree.html#XMLCHAR"
7890>xmlChar</A
7891> *prefix);</PRE
7892></TD
7893></TR
7894></TABLE
7895><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007896>Search the DTD for the description of this element</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007897><P
7898></P
7899><DIV
7900CLASS="INFORMALTABLE"
7901><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007902NAME="AEN11757"
Daniel Veillardaec63562003-03-23 20:42:17 +00007903></A
7904><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007905></P
7906><TABLE
7907BORDER="0"
7908WIDTH="100%"
7909BGCOLOR="#FFD0D0"
7910CELLSPACING="0"
7911CELLPADDING="4"
7912CLASS="CALSTABLE"
7913><TBODY
7914><TR
7915><TD
7916WIDTH="20%"
7917ALIGN="RIGHT"
7918VALIGN="TOP"
7919><TT
7920CLASS="PARAMETER"
7921><I
7922>dtd</I
7923></TT
7924>&nbsp;:</TD
7925><TD
7926WIDTH="80%"
7927ALIGN="LEFT"
7928VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007929>&nbsp;</TD
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007930></TR
7931><TR
7932><TD
7933WIDTH="20%"
7934ALIGN="RIGHT"
7935VALIGN="TOP"
7936><TT
7937CLASS="PARAMETER"
7938><I
7939>name</I
7940></TT
7941>&nbsp;:</TD
7942><TD
7943WIDTH="80%"
7944ALIGN="LEFT"
7945VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007946>&nbsp;</TD
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007947></TR
7948><TR
7949><TD
7950WIDTH="20%"
7951ALIGN="RIGHT"
7952VALIGN="TOP"
7953><TT
7954CLASS="PARAMETER"
7955><I
7956>prefix</I
7957></TT
7958>&nbsp;:</TD
7959><TD
7960WIDTH="80%"
7961ALIGN="LEFT"
7962VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007963>&nbsp;</TD
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007964></TR
7965><TR
7966><TD
7967WIDTH="20%"
7968ALIGN="RIGHT"
7969VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007970><SPAN
7971CLASS="emphasis"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007972><I
7973CLASS="EMPHASIS"
7974>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007975></SPAN
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007976> :</TD
7977><TD
7978WIDTH="80%"
7979ALIGN="LEFT"
7980VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007981>&nbsp;</TD
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007982></TR
7983></TBODY
7984></TABLE
7985><P
7986></P
7987></DIV
7988></DIV
7989><HR><DIV
7990CLASS="REFSECT2"
7991><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00007992NAME="AEN11778"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007993></A
7994><H3
7995><A
7996NAME="XMLGETDTDELEMENTDESC"
7997></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007998>xmlGetDtdElementDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007999><TABLE
8000BORDER="0"
8001BGCOLOR="#D6E8FF"
8002WIDTH="100%"
8003CELLPADDING="6"
8004><TR
8005><TD
8006><PRE
8007CLASS="PROGRAMLISTING"
8008><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008009HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008010>xmlElementPtr</A
8011> xmlGetDtdElementDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008012HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008013>xmlDtdPtr</A
8014> dtd,
8015 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008016HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008017>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008018> *name);</PRE
8019></TD
8020></TR
8021></TABLE
8022><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00008023>Search the DTD for the description of this element</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008024><P
8025></P
8026><DIV
8027CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008028><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008029NAME="AEN11787"
Daniel Veillardaec63562003-03-23 20:42:17 +00008030></A
8031><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008032></P
8033><TABLE
8034BORDER="0"
8035WIDTH="100%"
8036BGCOLOR="#FFD0D0"
8037CELLSPACING="0"
8038CELLPADDING="4"
8039CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008040><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008041><TR
8042><TD
8043WIDTH="20%"
8044ALIGN="RIGHT"
8045VALIGN="TOP"
8046><TT
8047CLASS="PARAMETER"
8048><I
8049>dtd</I
8050></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008051>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008052><TD
8053WIDTH="80%"
8054ALIGN="LEFT"
8055VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008056>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008057></TR
8058><TR
8059><TD
8060WIDTH="20%"
8061ALIGN="RIGHT"
8062VALIGN="TOP"
8063><TT
8064CLASS="PARAMETER"
8065><I
8066>name</I
8067></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008068>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008069><TD
8070WIDTH="80%"
8071ALIGN="LEFT"
8072VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008073>&nbsp;</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008074></TR
8075><TR
8076><TD
8077WIDTH="20%"
8078ALIGN="RIGHT"
8079VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008080><SPAN
8081CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008082><I
8083CLASS="EMPHASIS"
8084>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008085></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008086> :</TD
8087><TD
8088WIDTH="80%"
8089ALIGN="LEFT"
8090VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008091>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008092></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008093></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008094></TABLE
8095><P
8096></P
8097></DIV
8098></DIV
8099><HR><DIV
8100CLASS="REFSECT2"
8101><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008102NAME="AEN11804"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008103></A
8104><H3
8105><A
8106NAME="XMLVALIDGETVALIDELEMENTS"
8107></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008108>xmlValidGetValidElements ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008109><TABLE
8110BORDER="0"
8111BGCOLOR="#D6E8FF"
8112WIDTH="100%"
8113CELLPADDING="6"
8114><TR
8115><TD
8116><PRE
8117CLASS="PROGRAMLISTING"
8118>int xmlValidGetValidElements (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008119HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008120>xmlNode</A
8121> *prev,
8122 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008123HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008124>xmlNode</A
8125> *next,
8126 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008127HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008128>xmlChar</A
8129> **list,
8130 int max);</PRE
8131></TD
8132></TR
8133></TABLE
8134><P
8135>This function returns the list of authorized children to insert
8136within an existing tree while respecting the validity constraints
8137forced by the Dtd. The insertion point is defined using <TT
8138CLASS="PARAMETER"
8139><I
8140>prev</I
8141></TT
8142> and
8143<TT
8144CLASS="PARAMETER"
8145><I
8146>next</I
8147></TT
8148> in the following ways:
Daniel Veillardaec63562003-03-23 20:42:17 +00008149 to insert before 'node': xmlValidGetValidElements(node-&gt;prev, node, ...
8150 to insert next 'node': xmlValidGetValidElements(node, node-&gt;next, ...
8151 to replace 'node': xmlValidGetValidElements(node-&gt;prev, node-&gt;next, ...
8152 to prepend a child to 'node': xmlValidGetValidElements(NULL, node-&gt;childs,
8153 to append a child to 'node': xmlValidGetValidElements(node-&gt;last, NULL, ...</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008154><P
8155>pointers to the element names are inserted at the beginning of the array
8156and do not need to be freed.</P
8157><P
8158></P
8159><DIV
8160CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008161><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008162NAME="AEN11816"
Daniel Veillardaec63562003-03-23 20:42:17 +00008163></A
8164><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008165></P
8166><TABLE
8167BORDER="0"
8168WIDTH="100%"
8169BGCOLOR="#FFD0D0"
8170CELLSPACING="0"
8171CELLPADDING="4"
8172CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008173><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008174><TR
8175><TD
8176WIDTH="20%"
8177ALIGN="RIGHT"
8178VALIGN="TOP"
8179><TT
8180CLASS="PARAMETER"
8181><I
8182>prev</I
8183></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008184>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008185><TD
8186WIDTH="80%"
8187ALIGN="LEFT"
8188VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008189>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008190></TR
8191><TR
8192><TD
8193WIDTH="20%"
8194ALIGN="RIGHT"
8195VALIGN="TOP"
8196><TT
8197CLASS="PARAMETER"
8198><I
8199>next</I
8200></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008201>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008202><TD
8203WIDTH="80%"
8204ALIGN="LEFT"
8205VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008206>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008207></TR
8208><TR
8209><TD
8210WIDTH="20%"
8211ALIGN="RIGHT"
8212VALIGN="TOP"
8213><TT
8214CLASS="PARAMETER"
8215><I
8216>list</I
8217></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008218>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008219><TD
8220WIDTH="80%"
8221ALIGN="LEFT"
8222VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008223>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008224></TR
8225><TR
8226><TD
8227WIDTH="20%"
8228ALIGN="RIGHT"
8229VALIGN="TOP"
8230><TT
8231CLASS="PARAMETER"
8232><I
8233>max</I
8234></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008235>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008236><TD
8237WIDTH="80%"
8238ALIGN="LEFT"
8239VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008240>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008241></TR
8242><TR
8243><TD
8244WIDTH="20%"
8245ALIGN="RIGHT"
8246VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008247><SPAN
8248CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008249><I
8250CLASS="EMPHASIS"
8251>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008252></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008253> :</TD
8254><TD
8255WIDTH="80%"
8256ALIGN="LEFT"
8257VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008258>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008259></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008260></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008261></TABLE
8262><P
8263></P
8264></DIV
8265></DIV
8266><HR><DIV
8267CLASS="REFSECT2"
8268><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008269NAME="AEN11841"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008270></A
8271><H3
8272><A
8273NAME="XMLVALIDGETPOTENTIALCHILDREN"
8274></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008275>xmlValidGetPotentialChildren ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008276><TABLE
8277BORDER="0"
8278BGCOLOR="#D6E8FF"
8279WIDTH="100%"
8280CELLPADDING="6"
8281><TR
8282><TD
8283><PRE
8284CLASS="PROGRAMLISTING"
8285>int xmlValidGetPotentialChildren (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008286HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008287>xmlElementContent</A
8288> *ctree,
8289 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008290HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008291>xmlChar</A
8292> **list,
8293 int *len,
8294 int max);</PRE
8295></TD
8296></TR
8297></TABLE
8298><P
8299>Build/extend a list of potential children allowed by the content tree</P
8300><P
8301></P
8302><DIV
8303CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008304><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008305NAME="AEN11849"
Daniel Veillardaec63562003-03-23 20:42:17 +00008306></A
8307><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008308></P
8309><TABLE
8310BORDER="0"
8311WIDTH="100%"
8312BGCOLOR="#FFD0D0"
8313CELLSPACING="0"
8314CELLPADDING="4"
8315CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008316><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008317><TR
8318><TD
8319WIDTH="20%"
8320ALIGN="RIGHT"
8321VALIGN="TOP"
8322><TT
8323CLASS="PARAMETER"
8324><I
8325>ctree</I
8326></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008327>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008328><TD
8329WIDTH="80%"
8330ALIGN="LEFT"
8331VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008332>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008333></TR
8334><TR
8335><TD
8336WIDTH="20%"
8337ALIGN="RIGHT"
8338VALIGN="TOP"
8339><TT
8340CLASS="PARAMETER"
8341><I
8342>list</I
8343></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008344>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008345><TD
8346WIDTH="80%"
8347ALIGN="LEFT"
8348VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008349>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008350></TR
8351><TR
8352><TD
8353WIDTH="20%"
8354ALIGN="RIGHT"
8355VALIGN="TOP"
8356><TT
8357CLASS="PARAMETER"
8358><I
8359>len</I
8360></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008361>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008362><TD
8363WIDTH="80%"
8364ALIGN="LEFT"
8365VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008366>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008367></TR
8368><TR
8369><TD
8370WIDTH="20%"
8371ALIGN="RIGHT"
8372VALIGN="TOP"
8373><TT
8374CLASS="PARAMETER"
8375><I
8376>max</I
8377></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008378>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008379><TD
8380WIDTH="80%"
8381ALIGN="LEFT"
8382VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008383>&nbsp;</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008384></TR
8385><TR
8386><TD
8387WIDTH="20%"
8388ALIGN="RIGHT"
8389VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008390><SPAN
8391CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008392><I
8393CLASS="EMPHASIS"
8394>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008395></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008396> :</TD
8397><TD
8398WIDTH="80%"
8399ALIGN="LEFT"
8400VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008401>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008402></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008403></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008404></TABLE
8405><P
8406></P
8407></DIV
8408></DIV
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008409><HR><DIV
8410CLASS="REFSECT2"
8411><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008412NAME="AEN11874"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008413></A
8414><H3
8415><A
8416NAME="XMLVALIDATENAMEVALUE"
8417></A
8418>xmlValidateNameValue ()</H3
8419><TABLE
8420BORDER="0"
8421BGCOLOR="#D6E8FF"
8422WIDTH="100%"
8423CELLPADDING="6"
8424><TR
8425><TD
8426><PRE
8427CLASS="PROGRAMLISTING"
8428>int xmlValidateNameValue (const <A
8429HREF="libxml-tree.html#XMLCHAR"
8430>xmlChar</A
8431> *value);</PRE
8432></TD
8433></TR
8434></TABLE
8435><P
8436>Validate that the given value match Name production</P
8437><P
8438></P
8439><DIV
8440CLASS="INFORMALTABLE"
8441><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008442NAME="AEN11881"
Daniel Veillardaec63562003-03-23 20:42:17 +00008443></A
8444><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008445></P
8446><TABLE
8447BORDER="0"
8448WIDTH="100%"
8449BGCOLOR="#FFD0D0"
8450CELLSPACING="0"
8451CELLPADDING="4"
8452CLASS="CALSTABLE"
8453><TBODY
8454><TR
8455><TD
8456WIDTH="20%"
8457ALIGN="RIGHT"
8458VALIGN="TOP"
8459><TT
8460CLASS="PARAMETER"
8461><I
8462>value</I
8463></TT
8464>&nbsp;:</TD
8465><TD
8466WIDTH="80%"
8467ALIGN="LEFT"
8468VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008469>&nbsp;</TD
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008470></TR
8471><TR
8472><TD
8473WIDTH="20%"
8474ALIGN="RIGHT"
8475VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008476><SPAN
8477CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008478><I
8479CLASS="EMPHASIS"
8480>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008481></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008482> :</TD
8483><TD
8484WIDTH="80%"
8485ALIGN="LEFT"
8486VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008487>&nbsp;</TD
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008488></TR
8489></TBODY
8490></TABLE
8491><P
8492></P
8493></DIV
8494></DIV
8495><HR><DIV
8496CLASS="REFSECT2"
8497><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008498NAME="AEN11894"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008499></A
8500><H3
8501><A
8502NAME="XMLVALIDATENAMESVALUE"
8503></A
8504>xmlValidateNamesValue ()</H3
8505><TABLE
8506BORDER="0"
8507BGCOLOR="#D6E8FF"
8508WIDTH="100%"
8509CELLPADDING="6"
8510><TR
8511><TD
8512><PRE
8513CLASS="PROGRAMLISTING"
8514>int xmlValidateNamesValue (const <A
8515HREF="libxml-tree.html#XMLCHAR"
8516>xmlChar</A
8517> *value);</PRE
8518></TD
8519></TR
8520></TABLE
8521><P
8522>Validate that the given value match Names production</P
8523><P
8524></P
8525><DIV
8526CLASS="INFORMALTABLE"
8527><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008528NAME="AEN11901"
Daniel Veillardaec63562003-03-23 20:42:17 +00008529></A
8530><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008531></P
8532><TABLE
8533BORDER="0"
8534WIDTH="100%"
8535BGCOLOR="#FFD0D0"
8536CELLSPACING="0"
8537CELLPADDING="4"
8538CLASS="CALSTABLE"
8539><TBODY
8540><TR
8541><TD
8542WIDTH="20%"
8543ALIGN="RIGHT"
8544VALIGN="TOP"
8545><TT
8546CLASS="PARAMETER"
8547><I
8548>value</I
8549></TT
8550>&nbsp;:</TD
8551><TD
8552WIDTH="80%"
8553ALIGN="LEFT"
8554VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008555>&nbsp;</TD
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008556></TR
8557><TR
8558><TD
8559WIDTH="20%"
8560ALIGN="RIGHT"
8561VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008562><SPAN
8563CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008564><I
8565CLASS="EMPHASIS"
8566>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008567></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008568> :</TD
8569><TD
8570WIDTH="80%"
8571ALIGN="LEFT"
8572VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008573>&nbsp;</TD
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008574></TR
8575></TBODY
8576></TABLE
8577><P
8578></P
8579></DIV
8580></DIV
8581><HR><DIV
8582CLASS="REFSECT2"
8583><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008584NAME="AEN11914"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008585></A
8586><H3
8587><A
8588NAME="XMLVALIDATENMTOKENVALUE"
8589></A
8590>xmlValidateNmtokenValue ()</H3
8591><TABLE
8592BORDER="0"
8593BGCOLOR="#D6E8FF"
8594WIDTH="100%"
8595CELLPADDING="6"
8596><TR
8597><TD
8598><PRE
8599CLASS="PROGRAMLISTING"
8600>int xmlValidateNmtokenValue (const <A
8601HREF="libxml-tree.html#XMLCHAR"
8602>xmlChar</A
8603> *value);</PRE
8604></TD
8605></TR
8606></TABLE
8607><P
8608>Validate that the given value match Nmtoken production</P
8609><P
8610>[ VC: Name Token ]</P
8611><P
8612></P
8613><DIV
8614CLASS="INFORMALTABLE"
8615><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008616NAME="AEN11922"
Daniel Veillardaec63562003-03-23 20:42:17 +00008617></A
8618><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008619></P
8620><TABLE
8621BORDER="0"
8622WIDTH="100%"
8623BGCOLOR="#FFD0D0"
8624CELLSPACING="0"
8625CELLPADDING="4"
8626CLASS="CALSTABLE"
8627><TBODY
8628><TR
8629><TD
8630WIDTH="20%"
8631ALIGN="RIGHT"
8632VALIGN="TOP"
8633><TT
8634CLASS="PARAMETER"
8635><I
8636>value</I
8637></TT
8638>&nbsp;:</TD
8639><TD
8640WIDTH="80%"
8641ALIGN="LEFT"
8642VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008643>&nbsp;</TD
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008644></TR
8645><TR
8646><TD
8647WIDTH="20%"
8648ALIGN="RIGHT"
8649VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008650><SPAN
8651CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008652><I
8653CLASS="EMPHASIS"
8654>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008655></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008656> :</TD
8657><TD
8658WIDTH="80%"
8659ALIGN="LEFT"
8660VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008661>&nbsp;</TD
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008662></TR
8663></TBODY
8664></TABLE
8665><P
8666></P
8667></DIV
8668></DIV
8669><HR><DIV
8670CLASS="REFSECT2"
8671><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008672NAME="AEN11935"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008673></A
8674><H3
8675><A
8676NAME="XMLVALIDATENMTOKENSVALUE"
8677></A
8678>xmlValidateNmtokensValue ()</H3
8679><TABLE
8680BORDER="0"
8681BGCOLOR="#D6E8FF"
8682WIDTH="100%"
8683CELLPADDING="6"
8684><TR
8685><TD
8686><PRE
8687CLASS="PROGRAMLISTING"
8688>int xmlValidateNmtokensValue (const <A
8689HREF="libxml-tree.html#XMLCHAR"
8690>xmlChar</A
8691> *value);</PRE
8692></TD
8693></TR
8694></TABLE
8695><P
8696>Validate that the given value match Nmtokens production</P
8697><P
8698>[ VC: Name Token ]</P
8699><P
8700></P
8701><DIV
8702CLASS="INFORMALTABLE"
8703><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008704NAME="AEN11943"
Daniel Veillardaec63562003-03-23 20:42:17 +00008705></A
8706><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008707></P
8708><TABLE
8709BORDER="0"
8710WIDTH="100%"
8711BGCOLOR="#FFD0D0"
8712CELLSPACING="0"
8713CELLPADDING="4"
8714CLASS="CALSTABLE"
8715><TBODY
8716><TR
8717><TD
8718WIDTH="20%"
8719ALIGN="RIGHT"
8720VALIGN="TOP"
8721><TT
8722CLASS="PARAMETER"
8723><I
8724>value</I
8725></TT
8726>&nbsp;:</TD
8727><TD
8728WIDTH="80%"
8729ALIGN="LEFT"
8730VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008731>&nbsp;</TD
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008732></TR
8733><TR
8734><TD
8735WIDTH="20%"
8736ALIGN="RIGHT"
8737VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008738><SPAN
8739CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008740><I
8741CLASS="EMPHASIS"
8742>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008743></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008744> :</TD
8745><TD
8746WIDTH="80%"
8747ALIGN="LEFT"
8748VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008749>&nbsp;</TD
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008750></TR
8751></TBODY
8752></TABLE
8753><P
8754></P
8755></DIV
8756></DIV
Daniel Veillard2ace1952002-09-26 12:28:02 +00008757><HR><DIV
8758CLASS="REFSECT2"
8759><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008760NAME="AEN11956"
Daniel Veillard2ace1952002-09-26 12:28:02 +00008761></A
8762><H3
8763><A
8764NAME="XMLVALIDBUILDCONTENTMODEL"
8765></A
8766>xmlValidBuildContentModel ()</H3
8767><TABLE
8768BORDER="0"
8769BGCOLOR="#D6E8FF"
8770WIDTH="100%"
8771CELLPADDING="6"
8772><TR
8773><TD
8774><PRE
8775CLASS="PROGRAMLISTING"
8776>int xmlValidBuildContentModel (<A
8777HREF="libxml-valid.html#XMLVALIDCTXTPTR"
8778>xmlValidCtxtPtr</A
8779> ctxt,
8780 <A
8781HREF="libxml-tree.html#XMLELEMENTPTR"
8782>xmlElementPtr</A
8783> elem);</PRE
8784></TD
8785></TR
8786></TABLE
8787><P
8788>(Re)Build the automata associated to the content model of this
8789element</P
8790><P
8791></P
8792><DIV
8793CLASS="INFORMALTABLE"
8794><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008795NAME="AEN11964"
Daniel Veillardaec63562003-03-23 20:42:17 +00008796></A
8797><P
Daniel Veillard2ace1952002-09-26 12:28:02 +00008798></P
8799><TABLE
8800BORDER="0"
8801WIDTH="100%"
8802BGCOLOR="#FFD0D0"
8803CELLSPACING="0"
8804CELLPADDING="4"
8805CLASS="CALSTABLE"
8806><TBODY
8807><TR
8808><TD
8809WIDTH="20%"
8810ALIGN="RIGHT"
8811VALIGN="TOP"
8812><TT
8813CLASS="PARAMETER"
8814><I
8815>ctxt</I
8816></TT
8817>&nbsp;:</TD
8818><TD
8819WIDTH="80%"
8820ALIGN="LEFT"
8821VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008822>&nbsp;</TD
Daniel Veillard2ace1952002-09-26 12:28:02 +00008823></TR
8824><TR
8825><TD
8826WIDTH="20%"
8827ALIGN="RIGHT"
8828VALIGN="TOP"
8829><TT
8830CLASS="PARAMETER"
8831><I
8832>elem</I
8833></TT
8834>&nbsp;:</TD
8835><TD
8836WIDTH="80%"
8837ALIGN="LEFT"
8838VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008839>&nbsp;</TD
Daniel Veillard2ace1952002-09-26 12:28:02 +00008840></TR
8841><TR
8842><TD
8843WIDTH="20%"
8844ALIGN="RIGHT"
8845VALIGN="TOP"
8846><SPAN
8847CLASS="emphasis"
8848><I
8849CLASS="EMPHASIS"
8850>Returns</I
8851></SPAN
8852> :</TD
8853><TD
8854WIDTH="80%"
8855ALIGN="LEFT"
8856VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008857>&nbsp;</TD
Daniel Veillard2ace1952002-09-26 12:28:02 +00008858></TR
8859></TBODY
8860></TABLE
8861><P
8862></P
8863></DIV
8864></DIV
Daniel Veillardaec63562003-03-23 20:42:17 +00008865><HR><DIV
8866CLASS="REFSECT2"
8867><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008868NAME="AEN11981"
Daniel Veillardaec63562003-03-23 20:42:17 +00008869></A
8870><H3
8871><A
8872NAME="XMLVALIDATEPUSHELEMENT"
8873></A
8874>xmlValidatePushElement ()</H3
8875><TABLE
8876BORDER="0"
8877BGCOLOR="#D6E8FF"
8878WIDTH="100%"
8879CELLPADDING="6"
8880><TR
8881><TD
8882><PRE
8883CLASS="PROGRAMLISTING"
8884>int xmlValidatePushElement (<A
8885HREF="libxml-valid.html#XMLVALIDCTXTPTR"
8886>xmlValidCtxtPtr</A
8887> ctxt,
8888 <A
8889HREF="libxml-tree.html#XMLDOCPTR"
8890>xmlDocPtr</A
8891> doc,
8892 <A
8893HREF="libxml-tree.html#XMLNODEPTR"
8894>xmlNodePtr</A
8895> elem,
8896 const <A
8897HREF="libxml-tree.html#XMLCHAR"
8898>xmlChar</A
8899> *qname);</PRE
8900></TD
8901></TR
8902></TABLE
8903><P
8904>Push a new element start on the validation stack.</P
8905><P
8906></P
8907><DIV
8908CLASS="INFORMALTABLE"
8909><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008910NAME="AEN11991"
Daniel Veillardaec63562003-03-23 20:42:17 +00008911></A
8912><P
8913></P
8914><TABLE
8915BORDER="0"
8916WIDTH="100%"
8917BGCOLOR="#FFD0D0"
8918CELLSPACING="0"
8919CELLPADDING="4"
8920CLASS="CALSTABLE"
8921><TBODY
8922><TR
8923><TD
8924WIDTH="20%"
8925ALIGN="RIGHT"
8926VALIGN="TOP"
8927><TT
8928CLASS="PARAMETER"
8929><I
8930>ctxt</I
8931></TT
8932>&nbsp;:</TD
8933><TD
8934WIDTH="80%"
8935ALIGN="LEFT"
8936VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008937>&nbsp;</TD
Daniel Veillardaec63562003-03-23 20:42:17 +00008938></TR
8939><TR
8940><TD
8941WIDTH="20%"
8942ALIGN="RIGHT"
8943VALIGN="TOP"
8944><TT
8945CLASS="PARAMETER"
8946><I
8947>doc</I
8948></TT
8949>&nbsp;:</TD
8950><TD
8951WIDTH="80%"
8952ALIGN="LEFT"
8953VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008954>&nbsp;</TD
Daniel Veillardaec63562003-03-23 20:42:17 +00008955></TR
8956><TR
8957><TD
8958WIDTH="20%"
8959ALIGN="RIGHT"
8960VALIGN="TOP"
8961><TT
8962CLASS="PARAMETER"
8963><I
8964>elem</I
8965></TT
8966>&nbsp;:</TD
8967><TD
8968WIDTH="80%"
8969ALIGN="LEFT"
8970VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008971>&nbsp;</TD
Daniel Veillardaec63562003-03-23 20:42:17 +00008972></TR
8973><TR
8974><TD
8975WIDTH="20%"
8976ALIGN="RIGHT"
8977VALIGN="TOP"
8978><TT
8979CLASS="PARAMETER"
8980><I
8981>qname</I
8982></TT
8983>&nbsp;:</TD
8984><TD
8985WIDTH="80%"
8986ALIGN="LEFT"
8987VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00008988>&nbsp;</TD
Daniel Veillardaec63562003-03-23 20:42:17 +00008989></TR
8990><TR
8991><TD
8992WIDTH="20%"
8993ALIGN="RIGHT"
8994VALIGN="TOP"
8995><SPAN
8996CLASS="emphasis"
8997><I
8998CLASS="EMPHASIS"
8999>Returns</I
9000></SPAN
9001> :</TD
9002><TD
9003WIDTH="80%"
9004ALIGN="LEFT"
9005VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00009006>&nbsp;</TD
Daniel Veillardaec63562003-03-23 20:42:17 +00009007></TR
9008></TBODY
9009></TABLE
9010><P
9011></P
9012></DIV
9013></DIV
9014><HR><DIV
9015CLASS="REFSECT2"
9016><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00009017NAME="AEN12016"
Daniel Veillardaec63562003-03-23 20:42:17 +00009018></A
9019><H3
9020><A
9021NAME="XMLVALIDATEPUSHCDATA"
9022></A
9023>xmlValidatePushCData ()</H3
9024><TABLE
9025BORDER="0"
9026BGCOLOR="#D6E8FF"
9027WIDTH="100%"
9028CELLPADDING="6"
9029><TR
9030><TD
9031><PRE
9032CLASS="PROGRAMLISTING"
9033>int xmlValidatePushCData (<A
9034HREF="libxml-valid.html#XMLVALIDCTXTPTR"
9035>xmlValidCtxtPtr</A
9036> ctxt,
9037 const <A
9038HREF="libxml-tree.html#XMLCHAR"
9039>xmlChar</A
9040> *data,
9041 int len);</PRE
9042></TD
9043></TR
9044></TABLE
9045><P
9046>check the CData parsed for validation in the current stack</P
9047><P
9048></P
9049><DIV
9050CLASS="INFORMALTABLE"
9051><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00009052NAME="AEN12024"
Daniel Veillardaec63562003-03-23 20:42:17 +00009053></A
9054><P
9055></P
9056><TABLE
9057BORDER="0"
9058WIDTH="100%"
9059BGCOLOR="#FFD0D0"
9060CELLSPACING="0"
9061CELLPADDING="4"
9062CLASS="CALSTABLE"
9063><TBODY
9064><TR
9065><TD
9066WIDTH="20%"
9067ALIGN="RIGHT"
9068VALIGN="TOP"
9069><TT
9070CLASS="PARAMETER"
9071><I
9072>ctxt</I
9073></TT
9074>&nbsp;:</TD
9075><TD
9076WIDTH="80%"
9077ALIGN="LEFT"
9078VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00009079>&nbsp;</TD
Daniel Veillardaec63562003-03-23 20:42:17 +00009080></TR
9081><TR
9082><TD
9083WIDTH="20%"
9084ALIGN="RIGHT"
9085VALIGN="TOP"
9086><TT
9087CLASS="PARAMETER"
9088><I
9089>data</I
9090></TT
9091>&nbsp;:</TD
9092><TD
9093WIDTH="80%"
9094ALIGN="LEFT"
9095VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00009096>&nbsp;</TD
Daniel Veillardaec63562003-03-23 20:42:17 +00009097></TR
9098><TR
9099><TD
9100WIDTH="20%"
9101ALIGN="RIGHT"
9102VALIGN="TOP"
9103><TT
9104CLASS="PARAMETER"
9105><I
9106>len</I
9107></TT
9108>&nbsp;:</TD
9109><TD
9110WIDTH="80%"
9111ALIGN="LEFT"
9112VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00009113>&nbsp;</TD
Daniel Veillardaec63562003-03-23 20:42:17 +00009114></TR
9115><TR
9116><TD
9117WIDTH="20%"
9118ALIGN="RIGHT"
9119VALIGN="TOP"
9120><SPAN
9121CLASS="emphasis"
9122><I
9123CLASS="EMPHASIS"
9124>Returns</I
9125></SPAN
9126> :</TD
9127><TD
9128WIDTH="80%"
9129ALIGN="LEFT"
9130VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00009131>&nbsp;</TD
Daniel Veillardaec63562003-03-23 20:42:17 +00009132></TR
9133></TBODY
9134></TABLE
9135><P
9136></P
9137></DIV
9138></DIV
9139><HR><DIV
9140CLASS="REFSECT2"
9141><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00009142NAME="AEN12045"
Daniel Veillardaec63562003-03-23 20:42:17 +00009143></A
9144><H3
9145><A
9146NAME="XMLVALIDATEPOPELEMENT"
9147></A
9148>xmlValidatePopElement ()</H3
9149><TABLE
9150BORDER="0"
9151BGCOLOR="#D6E8FF"
9152WIDTH="100%"
9153CELLPADDING="6"
9154><TR
9155><TD
9156><PRE
9157CLASS="PROGRAMLISTING"
9158>int xmlValidatePopElement (<A
9159HREF="libxml-valid.html#XMLVALIDCTXTPTR"
9160>xmlValidCtxtPtr</A
9161> ctxt,
9162 <A
9163HREF="libxml-tree.html#XMLDOCPTR"
9164>xmlDocPtr</A
9165> doc,
9166 <A
9167HREF="libxml-tree.html#XMLNODEPTR"
9168>xmlNodePtr</A
9169> elem,
9170 const <A
9171HREF="libxml-tree.html#XMLCHAR"
9172>xmlChar</A
9173> *qname);</PRE
9174></TD
9175></TR
9176></TABLE
9177><P
9178>Pop the element end from the validation stack.</P
9179><P
9180></P
9181><DIV
9182CLASS="INFORMALTABLE"
9183><A
Daniel Veillardd8da01c2003-03-24 15:58:23 +00009184NAME="AEN12055"
Daniel Veillardaec63562003-03-23 20:42:17 +00009185></A
9186><P
9187></P
9188><TABLE
9189BORDER="0"
9190WIDTH="100%"
9191BGCOLOR="#FFD0D0"
9192CELLSPACING="0"
9193CELLPADDING="4"
9194CLASS="CALSTABLE"
9195><TBODY
9196><TR
9197><TD
9198WIDTH="20%"
9199ALIGN="RIGHT"
9200VALIGN="TOP"
9201><TT
9202CLASS="PARAMETER"
9203><I
9204>ctxt</I
9205></TT
9206>&nbsp;:</TD
9207><TD
9208WIDTH="80%"
9209ALIGN="LEFT"
9210VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00009211>&nbsp;</TD
Daniel Veillardaec63562003-03-23 20:42:17 +00009212></TR
9213><TR
9214><TD
9215WIDTH="20%"
9216ALIGN="RIGHT"
9217VALIGN="TOP"
9218><TT
9219CLASS="PARAMETER"
9220><I
9221>doc</I
9222></TT
9223>&nbsp;:</TD
9224><TD
9225WIDTH="80%"
9226ALIGN="LEFT"
9227VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00009228>&nbsp;</TD
Daniel Veillardaec63562003-03-23 20:42:17 +00009229></TR
9230><TR
9231><TD
9232WIDTH="20%"
9233ALIGN="RIGHT"
9234VALIGN="TOP"
9235><TT
9236CLASS="PARAMETER"
9237><I
9238>elem</I
9239></TT
9240>&nbsp;:</TD
9241><TD
9242WIDTH="80%"
9243ALIGN="LEFT"
9244VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00009245>&nbsp;</TD
Daniel Veillardaec63562003-03-23 20:42:17 +00009246></TR
9247><TR
9248><TD
9249WIDTH="20%"
9250ALIGN="RIGHT"
9251VALIGN="TOP"
9252><TT
9253CLASS="PARAMETER"
9254><I
9255>qname</I
9256></TT
9257>&nbsp;:</TD
9258><TD
9259WIDTH="80%"
9260ALIGN="LEFT"
9261VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00009262>&nbsp;</TD
Daniel Veillardaec63562003-03-23 20:42:17 +00009263></TR
9264><TR
9265><TD
9266WIDTH="20%"
9267ALIGN="RIGHT"
9268VALIGN="TOP"
9269><SPAN
9270CLASS="emphasis"
9271><I
9272CLASS="EMPHASIS"
9273>Returns</I
9274></SPAN
9275> :</TD
9276><TD
9277WIDTH="80%"
9278ALIGN="LEFT"
9279VALIGN="TOP"
Daniel Veillardd8da01c2003-03-24 15:58:23 +00009280>&nbsp;</TD
Daniel Veillardaec63562003-03-23 20:42:17 +00009281></TR
9282></TBODY
9283></TABLE
9284><P
9285></P
9286></DIV
9287></DIV
Daniel Veillard35925471999-02-25 08:46:07 +00009288></DIV
9289><DIV
9290CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00009291><BR
9292CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00009293WIDTH="100%"
9294BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009295BGCOLOR="#000000"
9296CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00009297CELLSPACING="0"
9298><TR
9299><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009300WIDTH="25%"
9301BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00009302ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00009303><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009304HREF="libxml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00009305><FONT
9306COLOR="#FFFFFF"
9307SIZE="3"
9308><B
9309>&#60;&#60;&#60; Previous Page</B
9310></FONT
9311></A
Daniel Veillard35925471999-02-25 08:46:07 +00009312></TD
9313><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009314WIDTH="25%"
9315BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00009316ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00009317><FONT
9318COLOR="#FFFFFF"
9319SIZE="3"
9320><B
Daniel Veillard35925471999-02-25 08:46:07 +00009321><A
9322HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00009323><FONT
9324COLOR="#FFFFFF"
9325SIZE="3"
9326><B
9327>Home</B
9328></FONT
9329></A
9330></B
9331></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00009332></TD
9333><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009334WIDTH="25%"
9335BGCOLOR="#00C000"
9336ALIGN="center"
9337><FONT
9338COLOR="#FFFFFF"
9339SIZE="3"
9340><B
9341><A
Daniel Veillard35008381999-10-25 13:15:52 +00009342HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00009343><FONT
9344COLOR="#FFFFFF"
9345SIZE="3"
9346><B
9347>Up</B
9348></FONT
9349></A
9350></B
9351></FONT
9352></TD
9353><TD
9354WIDTH="25%"
9355BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00009356ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00009357><A
Daniel Veillardaec63562003-03-23 20:42:17 +00009358HREF="libxml-relaxng.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00009359><FONT
9360COLOR="#FFFFFF"
9361SIZE="3"
9362><B
9363>Next Page &#62;&#62;&#62;</B
9364></FONT
9365></A
Daniel Veillard35925471999-02-25 08:46:07 +00009366></TD
9367></TR
9368><TR
9369><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009370COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00009371ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00009372><FONT
9373COLOR="#FFFFFF"
9374SIZE="3"
9375><B
9376>entities</B
9377></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00009378></TD
9379><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009380COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00009381ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00009382><FONT
9383COLOR="#FFFFFF"
9384SIZE="3"
9385><B
Daniel Veillardaec63562003-03-23 20:42:17 +00009386>relaxng</B
Daniel Veillard14fff061999-06-22 21:49:07 +00009387></FONT
9388></TD
Daniel Veillard35925471999-02-25 08:46:07 +00009389></TR
9390></TABLE
9391></DIV
9392></BODY
9393></HTML
9394>