blob: c00d15d810fab302ab27aefc7e1401886d2d07fb [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 Veillardaec63562003-03-23 20:42:17 +0000126NAME="AEN9972"
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 Veillardaec63562003-03-23 20:42:17 +0000134NAME="AEN9975"
135></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 Veillardaec63562003-03-23 20:42:17 +00001118NAME="AEN10237"
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 Veillardaec63562003-03-23 20:42:17 +00001128NAME="AEN10240"
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 Veillardaec63562003-03-23 20:42:17 +00001135NAME="AEN10242"
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 Veillardaec63562003-03-23 20:42:17 +00001161NAME="AEN10247"
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 Veillard4b8328d2001-07-05 22:48:42 +00001168><TABLE
1169BORDER="0"
1170BGCOLOR="#D6E8FF"
1171WIDTH="100%"
1172CELLPADDING="6"
1173><TR
1174><TD
1175><PRE
1176CLASS="PROGRAMLISTING"
1177>typedef xmlValidState *xmlValidStatePtr;</PRE
1178></TD
1179></TR
1180></TABLE
Daniel Veillarda41123c2001-04-22 19:31:20 +00001181><P
1182></P
1183></DIV
1184><HR><DIV
1185CLASS="REFSECT2"
1186><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001187NAME="AEN10252"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001188></A
1189><H3
1190><A
1191NAME="XMLVALIDITYERRORFUNC"
1192></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001193>xmlValidityErrorFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00001194><TABLE
1195BORDER="0"
1196BGCOLOR="#D6E8FF"
1197WIDTH="100%"
1198CELLPADDING="6"
1199><TR
1200><TD
1201><PRE
1202CLASS="PROGRAMLISTING"
1203>void (*xmlValidityErrorFunc) (void *ctx,
1204 const char *msg,
1205 ...);</PRE
1206></TD
1207></TR
1208></TABLE
1209><P
Daniel Veillard19274092002-03-25 16:48:03 +00001210>Callback called when a validity error is found. This is a message
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001211oriented function similar to an *printf function.</P
1212><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001213></P
1214><DIV
1215CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001216><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001217NAME="AEN10258"
1218></A
1219><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001220></P
1221><TABLE
1222BORDER="0"
1223WIDTH="100%"
1224BGCOLOR="#FFD0D0"
1225CELLSPACING="0"
1226CELLPADDING="4"
1227CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001228><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001229><TR
1230><TD
1231WIDTH="20%"
1232ALIGN="RIGHT"
1233VALIGN="TOP"
1234><TT
1235CLASS="PARAMETER"
1236><I
1237>ctx</I
1238></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001239>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001240><TD
1241WIDTH="80%"
1242ALIGN="LEFT"
1243VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001244> an xmlValidCtxtPtr validity error context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001245></TR
1246><TR
1247><TD
1248WIDTH="20%"
1249ALIGN="RIGHT"
1250VALIGN="TOP"
1251><TT
1252CLASS="PARAMETER"
1253><I
1254>msg</I
1255></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001256>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001257><TD
1258WIDTH="80%"
1259ALIGN="LEFT"
1260VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001261> the string to format *printf like vararg</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001262></TR
1263><TR
1264><TD
1265WIDTH="20%"
1266ALIGN="RIGHT"
1267VALIGN="TOP"
1268><TT
1269CLASS="PARAMETER"
1270><I
1271>...</I
1272></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001273>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001274><TD
1275WIDTH="80%"
1276ALIGN="LEFT"
1277VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001278> remaining arguments to the format</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001279></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001280></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001281></TABLE
1282><P
1283></P
1284></DIV
1285></DIV
1286><HR><DIV
1287CLASS="REFSECT2"
1288><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001289NAME="AEN10275"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001290></A
1291><H3
1292><A
1293NAME="XMLVALIDITYWARNINGFUNC"
1294></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001295>xmlValidityWarningFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00001296><TABLE
1297BORDER="0"
1298BGCOLOR="#D6E8FF"
1299WIDTH="100%"
1300CELLPADDING="6"
1301><TR
1302><TD
1303><PRE
1304CLASS="PROGRAMLISTING"
1305>void (*xmlValidityWarningFunc) (void *ctx,
1306 const char *msg,
1307 ...);</PRE
1308></TD
1309></TR
1310></TABLE
1311><P
Daniel Veillard19274092002-03-25 16:48:03 +00001312>Callback called when a validity warning is found. This is a message
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001313oriented function similar to an *printf function.</P
1314><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001315></P
1316><DIV
1317CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001318><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001319NAME="AEN10281"
1320></A
1321><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001322></P
1323><TABLE
1324BORDER="0"
1325WIDTH="100%"
1326BGCOLOR="#FFD0D0"
1327CELLSPACING="0"
1328CELLPADDING="4"
1329CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001330><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001331><TR
1332><TD
1333WIDTH="20%"
1334ALIGN="RIGHT"
1335VALIGN="TOP"
1336><TT
1337CLASS="PARAMETER"
1338><I
1339>ctx</I
1340></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001341>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001342><TD
1343WIDTH="80%"
1344ALIGN="LEFT"
1345VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001346> an xmlValidCtxtPtr validity error context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001347></TR
1348><TR
1349><TD
1350WIDTH="20%"
1351ALIGN="RIGHT"
1352VALIGN="TOP"
1353><TT
1354CLASS="PARAMETER"
1355><I
1356>msg</I
1357></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001358>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001359><TD
1360WIDTH="80%"
1361ALIGN="LEFT"
1362VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001363> the string to format *printf like vararg</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001364></TR
1365><TR
1366><TD
1367WIDTH="20%"
1368ALIGN="RIGHT"
1369VALIGN="TOP"
1370><TT
1371CLASS="PARAMETER"
1372><I
1373>...</I
1374></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001375>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001376><TD
1377WIDTH="80%"
1378ALIGN="LEFT"
1379VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001380> remaining arguments to the format</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001381></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001382></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001383></TABLE
1384><P
1385></P
1386></DIV
1387></DIV
1388><HR><DIV
1389CLASS="REFSECT2"
1390><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001391NAME="AEN10298"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001392></A
1393><H3
1394><A
1395NAME="XMLVALIDCTXT"
1396></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001397>struct xmlValidCtxt</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001398><TABLE
1399BORDER="0"
1400BGCOLOR="#D6E8FF"
1401WIDTH="100%"
1402CELLPADDING="6"
1403><TR
1404><TD
1405><PRE
1406CLASS="PROGRAMLISTING"
1407>struct xmlValidCtxt {
1408 void *userData; /* user specific data block */
1409 xmlValidityErrorFunc error; /* the callback in case of errors */
1410 xmlValidityWarningFunc warning; /* the callback in case of warning */
1411
1412 /* Node analysis stack used when validating within entities */
1413 xmlNodePtr node; /* Current parsed Node */
1414 int nodeNr; /* Depth of the parsing stack */
1415 int nodeMax; /* Max depth of the parsing stack */
1416 xmlNodePtr *nodeTab; /* array of nodes */
1417
1418 int finishDtd; /* finished validating the Dtd ? */
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001419 xmlDocPtr doc; /* the document */
1420 int valid; /* temporary validity check result */
Daniel Veillarda41123c2001-04-22 19:31:20 +00001421
1422 /* state state used for non-determinist content validation */
1423 xmlValidState *vstate; /* current state */
1424 int vstateNr; /* Depth of the validation stack */
1425 int vstateMax; /* Max depth of the validation stack */
1426 xmlValidState *vstateTab; /* array of validation states */
Daniel Veillard2ace1952002-09-26 12:28:02 +00001427
1428#ifdef LIBXML_REGEXP_ENABLED
1429 xmlAutomataPtr am; /* the automata */
1430 xmlAutomataStatePtr state; /* used to build the automata */
1431#else
1432 void *am;
1433 void *state;
1434#endif
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001435};</PRE
1436></TD
1437></TR
1438></TABLE
1439><P
1440></P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001441><P
1442></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001443></DIV
1444><HR><DIV
1445CLASS="REFSECT2"
1446><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001447NAME="AEN10304"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001448></A
1449><H3
1450><A
1451NAME="XMLVALIDCTXTPTR"
1452></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001453>xmlValidCtxtPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001454><TABLE
1455BORDER="0"
1456BGCOLOR="#D6E8FF"
1457WIDTH="100%"
1458CELLPADDING="6"
1459><TR
1460><TD
1461><PRE
1462CLASS="PROGRAMLISTING"
1463>typedef xmlValidCtxt *xmlValidCtxtPtr;</PRE
1464></TD
1465></TR
1466></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001467><P
1468></P
1469></DIV
1470><HR><DIV
1471CLASS="REFSECT2"
1472><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001473NAME="AEN10309"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001474></A
1475><H3
1476><A
1477NAME="XMLNOTATIONTABLEPTR"
1478></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001479>xmlNotationTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001480><TABLE
1481BORDER="0"
1482BGCOLOR="#D6E8FF"
1483WIDTH="100%"
1484CELLPADDING="6"
1485><TR
1486><TD
1487><PRE
1488CLASS="PROGRAMLISTING"
1489>typedef xmlNotationTable *xmlNotationTablePtr;</PRE
1490></TD
1491></TR
1492></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001493><P
1494></P
1495></DIV
1496><HR><DIV
1497CLASS="REFSECT2"
1498><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001499NAME="AEN10314"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001500></A
1501><H3
1502><A
1503NAME="XMLELEMENTTABLEPTR"
1504></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001505>xmlElementTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001506><TABLE
1507BORDER="0"
1508BGCOLOR="#D6E8FF"
1509WIDTH="100%"
1510CELLPADDING="6"
1511><TR
1512><TD
1513><PRE
1514CLASS="PROGRAMLISTING"
1515>typedef xmlElementTable *xmlElementTablePtr;</PRE
1516></TD
1517></TR
1518></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001519><P
1520></P
1521></DIV
1522><HR><DIV
1523CLASS="REFSECT2"
1524><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001525NAME="AEN10319"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001526></A
1527><H3
1528><A
1529NAME="XMLATTRIBUTETABLEPTR"
1530></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001531>xmlAttributeTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001532><TABLE
1533BORDER="0"
1534BGCOLOR="#D6E8FF"
1535WIDTH="100%"
1536CELLPADDING="6"
1537><TR
1538><TD
1539><PRE
1540CLASS="PROGRAMLISTING"
1541>typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE
1542></TD
1543></TR
1544></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001545><P
1546></P
1547></DIV
1548><HR><DIV
1549CLASS="REFSECT2"
1550><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001551NAME="AEN10324"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001552></A
1553><H3
1554><A
1555NAME="XMLIDTABLEPTR"
1556></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001557>xmlIDTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001558><TABLE
1559BORDER="0"
1560BGCOLOR="#D6E8FF"
1561WIDTH="100%"
1562CELLPADDING="6"
1563><TR
1564><TD
1565><PRE
1566CLASS="PROGRAMLISTING"
1567>typedef xmlIDTable *xmlIDTablePtr;</PRE
1568></TD
1569></TR
1570></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001571><P
1572></P
1573></DIV
1574><HR><DIV
1575CLASS="REFSECT2"
1576><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001577NAME="AEN10329"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001578></A
1579><H3
1580><A
1581NAME="XMLREFTABLEPTR"
1582></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001583>xmlRefTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001584><TABLE
1585BORDER="0"
1586BGCOLOR="#D6E8FF"
1587WIDTH="100%"
1588CELLPADDING="6"
1589><TR
1590><TD
1591><PRE
1592CLASS="PROGRAMLISTING"
1593>typedef xmlRefTable *xmlRefTablePtr;</PRE
1594></TD
1595></TR
1596></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001597><P
1598></P
1599></DIV
1600><HR><DIV
1601CLASS="REFSECT2"
1602><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001603NAME="AEN10334"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001604></A
1605><H3
1606><A
1607NAME="XMLSPLITQNAME2"
1608></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001609>xmlSplitQName2 ()</H3
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001610><TABLE
1611BORDER="0"
1612BGCOLOR="#D6E8FF"
1613WIDTH="100%"
1614CELLPADDING="6"
1615><TR
1616><TD
1617><PRE
1618CLASS="PROGRAMLISTING"
1619><A
1620HREF="libxml-tree.html#XMLCHAR"
1621>xmlChar</A
1622>* xmlSplitQName2 (const <A
1623HREF="libxml-tree.html#XMLCHAR"
1624>xmlChar</A
1625> *name,
1626 <A
1627HREF="libxml-tree.html#XMLCHAR"
1628>xmlChar</A
1629> **prefix);</PRE
1630></TD
1631></TR
1632></TABLE
1633><P
1634>parse an XML qualified name string</P
1635><P
1636>[NS 5] QName ::= (Prefix ':')? LocalPart</P
1637><P
1638>[NS 6] Prefix ::= NCName</P
1639><P
1640>[NS 7] LocalPart ::= NCName</P
1641><P
1642></P
1643><DIV
1644CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001645><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001646NAME="AEN10346"
1647></A
1648><P
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001649></P
1650><TABLE
1651BORDER="0"
1652WIDTH="100%"
1653BGCOLOR="#FFD0D0"
1654CELLSPACING="0"
1655CELLPADDING="4"
1656CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001657><TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001658><TR
1659><TD
1660WIDTH="20%"
1661ALIGN="RIGHT"
1662VALIGN="TOP"
1663><TT
1664CLASS="PARAMETER"
1665><I
1666>name</I
1667></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001668>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001669><TD
1670WIDTH="80%"
1671ALIGN="LEFT"
1672VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001673> an XML parser context</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001674></TR
1675><TR
1676><TD
1677WIDTH="20%"
1678ALIGN="RIGHT"
1679VALIGN="TOP"
1680><TT
1681CLASS="PARAMETER"
1682><I
1683>prefix</I
1684></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001685>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001686><TD
1687WIDTH="80%"
1688ALIGN="LEFT"
1689VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001690> a xmlChar ** </TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001691></TR
1692><TR
1693><TD
1694WIDTH="20%"
1695ALIGN="RIGHT"
1696VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001697><SPAN
1698CLASS="emphasis"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001699><I
1700CLASS="EMPHASIS"
1701>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001702></SPAN
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001703> :</TD
1704><TD
1705WIDTH="80%"
1706ALIGN="LEFT"
1707VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001708>NULL if not a QName, otherwise the local part, and prefix
Daniel Veillardaec63562003-03-23 20:42:17 +00001709 is updated to get the Prefix if any.</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001710></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001711></TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001712></TABLE
1713><P
1714></P
1715></DIV
1716></DIV
1717><HR><DIV
1718CLASS="REFSECT2"
1719><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001720NAME="AEN10363"
Daniel Veillard35925471999-02-25 08:46:07 +00001721></A
1722><H3
1723><A
1724NAME="XMLADDNOTATIONDECL"
1725></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001726>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001727><TABLE
1728BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001729BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001730WIDTH="100%"
1731CELLPADDING="6"
1732><TR
1733><TD
1734><PRE
1735CLASS="PROGRAMLISTING"
1736><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001737HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001738>xmlNotationPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001739> xmlAddNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001740HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001741>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001742> ctxt,
1743 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001744HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001745>xmlDtdPtr</A
1746> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001747 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001748HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001749>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001750> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001751 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001752HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001753>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001754> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001755 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001756HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001757>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001758> *SystemID);</PRE
1759></TD
1760></TR
1761></TABLE
1762><P
1763>Register a new notation declaration</P
1764><P
1765></P
1766><DIV
1767CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001768><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001769NAME="AEN10375"
1770></A
1771><P
Daniel Veillard35925471999-02-25 08:46:07 +00001772></P
1773><TABLE
1774BORDER="0"
1775WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001776BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001777CELLSPACING="0"
1778CELLPADDING="4"
1779CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001780><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001781><TR
1782><TD
1783WIDTH="20%"
1784ALIGN="RIGHT"
1785VALIGN="TOP"
1786><TT
1787CLASS="PARAMETER"
1788><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001789>ctxt</I
1790></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001791>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001792><TD
1793WIDTH="80%"
1794ALIGN="LEFT"
1795VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001796> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001797></TR
1798><TR
1799><TD
1800WIDTH="20%"
1801ALIGN="RIGHT"
1802VALIGN="TOP"
1803><TT
1804CLASS="PARAMETER"
1805><I
Daniel Veillard35925471999-02-25 08:46:07 +00001806>dtd</I
1807></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001808>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001809><TD
1810WIDTH="80%"
1811ALIGN="LEFT"
1812VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001813> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001814></TR
1815><TR
1816><TD
1817WIDTH="20%"
1818ALIGN="RIGHT"
1819VALIGN="TOP"
1820><TT
1821CLASS="PARAMETER"
1822><I
1823>name</I
1824></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001825>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001826><TD
1827WIDTH="80%"
1828ALIGN="LEFT"
1829VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001830> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001831></TR
1832><TR
1833><TD
1834WIDTH="20%"
1835ALIGN="RIGHT"
1836VALIGN="TOP"
1837><TT
1838CLASS="PARAMETER"
1839><I
1840>PublicID</I
1841></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001842>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001843><TD
1844WIDTH="80%"
1845ALIGN="LEFT"
1846VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001847> the public identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001848></TR
1849><TR
1850><TD
1851WIDTH="20%"
1852ALIGN="RIGHT"
1853VALIGN="TOP"
1854><TT
1855CLASS="PARAMETER"
1856><I
1857>SystemID</I
1858></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001859>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001860><TD
1861WIDTH="80%"
1862ALIGN="LEFT"
1863VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001864> the system identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001865></TR
1866><TR
1867><TD
1868WIDTH="20%"
1869ALIGN="RIGHT"
1870VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001871><SPAN
1872CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00001873><I
1874CLASS="EMPHASIS"
1875>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001876></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00001877> :</TD
1878><TD
1879WIDTH="80%"
1880ALIGN="LEFT"
1881VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001882>NULL if not, otherwise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001883></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001884></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001885></TABLE
1886><P
1887></P
1888></DIV
1889></DIV
1890><HR><DIV
1891CLASS="REFSECT2"
1892><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001893NAME="AEN10404"
Daniel Veillard35925471999-02-25 08:46:07 +00001894></A
1895><H3
1896><A
1897NAME="XMLCOPYNOTATIONTABLE"
1898></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001899>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001900><TABLE
1901BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001902BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001903WIDTH="100%"
1904CELLPADDING="6"
1905><TR
1906><TD
1907><PRE
1908CLASS="PROGRAMLISTING"
1909><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001910HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001911>xmlNotationTablePtr</A
1912> xmlCopyNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001913HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001914>xmlNotationTablePtr</A
1915> table);</PRE
1916></TD
1917></TR
1918></TABLE
1919><P
1920>Build a copy of a notation table.</P
1921><P
1922></P
1923><DIV
1924CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001925><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001926NAME="AEN10412"
1927></A
1928><P
Daniel Veillard35925471999-02-25 08:46:07 +00001929></P
1930><TABLE
1931BORDER="0"
1932WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001933BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001934CELLSPACING="0"
1935CELLPADDING="4"
1936CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001937><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001938><TR
1939><TD
1940WIDTH="20%"
1941ALIGN="RIGHT"
1942VALIGN="TOP"
1943><TT
1944CLASS="PARAMETER"
1945><I
1946>table</I
1947></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001948>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001949><TD
1950WIDTH="80%"
1951ALIGN="LEFT"
1952VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001953> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001954></TR
1955><TR
1956><TD
1957WIDTH="20%"
1958ALIGN="RIGHT"
1959VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001960><SPAN
1961CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00001962><I
1963CLASS="EMPHASIS"
1964>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001965></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00001966> :</TD
1967><TD
1968WIDTH="80%"
1969ALIGN="LEFT"
1970VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001971>the new xmlNotationTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001972></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001973></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001974></TABLE
1975><P
1976></P
1977></DIV
1978></DIV
1979><HR><DIV
1980CLASS="REFSECT2"
1981><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001982NAME="AEN10425"
Daniel Veillard35925471999-02-25 08:46:07 +00001983></A
1984><H3
1985><A
1986NAME="XMLFREENOTATIONTABLE"
1987></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001988>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001989><TABLE
1990BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001991BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001992WIDTH="100%"
1993CELLPADDING="6"
1994><TR
1995><TD
1996><PRE
1997CLASS="PROGRAMLISTING"
1998>void xmlFreeNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001999HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002000>xmlNotationTablePtr</A
2001> table);</PRE
2002></TD
2003></TR
2004></TABLE
2005><P
2006>Deallocate the memory used by an entities hash table.</P
2007><P
2008></P
2009><DIV
2010CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002011><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002012NAME="AEN10432"
2013></A
2014><P
Daniel Veillard35925471999-02-25 08:46:07 +00002015></P
2016><TABLE
2017BORDER="0"
2018WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002019BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002020CELLSPACING="0"
2021CELLPADDING="4"
2022CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002023><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002024><TR
2025><TD
2026WIDTH="20%"
2027ALIGN="RIGHT"
2028VALIGN="TOP"
2029><TT
2030CLASS="PARAMETER"
2031><I
2032>table</I
2033></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002034>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002035><TD
2036WIDTH="80%"
2037ALIGN="LEFT"
2038VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002039> An notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002040></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002041></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002042></TABLE
2043><P
2044></P
2045></DIV
2046></DIV
2047><HR><DIV
2048CLASS="REFSECT2"
2049><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002050NAME="AEN10441"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002051></A
2052><H3
2053><A
2054NAME="XMLDUMPNOTATIONDECL"
2055></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002056>xmlDumpNotationDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002057><TABLE
2058BORDER="0"
2059BGCOLOR="#D6E8FF"
2060WIDTH="100%"
2061CELLPADDING="6"
2062><TR
2063><TD
2064><PRE
2065CLASS="PROGRAMLISTING"
2066>void xmlDumpNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002067HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002068>xmlBufferPtr</A
2069> buf,
2070 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002071HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002072>xmlNotationPtr</A
2073> nota);</PRE
2074></TD
2075></TR
2076></TABLE
2077><P
2078>This will dump the content the notation declaration as an XML DTD definition</P
2079><P
2080></P
2081><DIV
2082CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002083><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002084NAME="AEN10449"
2085></A
2086><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002087></P
2088><TABLE
2089BORDER="0"
2090WIDTH="100%"
2091BGCOLOR="#FFD0D0"
2092CELLSPACING="0"
2093CELLPADDING="4"
2094CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002095><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002096><TR
2097><TD
2098WIDTH="20%"
2099ALIGN="RIGHT"
2100VALIGN="TOP"
2101><TT
2102CLASS="PARAMETER"
2103><I
2104>buf</I
2105></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002106>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002107><TD
2108WIDTH="80%"
2109ALIGN="LEFT"
2110VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002111> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002112></TR
2113><TR
2114><TD
2115WIDTH="20%"
2116ALIGN="RIGHT"
2117VALIGN="TOP"
2118><TT
2119CLASS="PARAMETER"
2120><I
2121>nota</I
2122></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002123>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002124><TD
2125WIDTH="80%"
2126ALIGN="LEFT"
2127VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002128> A notation declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002129></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002130></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002131></TABLE
2132><P
2133></P
2134></DIV
2135></DIV
2136><HR><DIV
2137CLASS="REFSECT2"
2138><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002139NAME="AEN10462"
Daniel Veillard35925471999-02-25 08:46:07 +00002140></A
2141><H3
2142><A
2143NAME="XMLDUMPNOTATIONTABLE"
2144></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002145>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002146><TABLE
2147BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002148BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002149WIDTH="100%"
2150CELLPADDING="6"
2151><TR
2152><TD
2153><PRE
2154CLASS="PROGRAMLISTING"
2155>void xmlDumpNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002156HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002157>xmlBufferPtr</A
2158> buf,
2159 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002160HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002161>xmlNotationTablePtr</A
2162> table);</PRE
2163></TD
2164></TR
2165></TABLE
2166><P
2167>This will dump the content of the notation table as an XML DTD definition</P
2168><P
Daniel Veillard35925471999-02-25 08:46:07 +00002169></P
2170><DIV
2171CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002172><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002173NAME="AEN10470"
2174></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
Daniel Veillard5099ae81999-04-21 20:12:07 +00002193>buf</I
2194></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002195>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002196><TD
2197WIDTH="80%"
2198ALIGN="LEFT"
2199VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002200> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002201></TR
2202><TR
2203><TD
2204WIDTH="20%"
2205ALIGN="RIGHT"
2206VALIGN="TOP"
2207><TT
2208CLASS="PARAMETER"
2209><I
Daniel Veillard35925471999-02-25 08:46:07 +00002210>table</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 Veillard4b8328d2001-07-05 22:48:42 +00002217> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002218></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002219></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002220></TABLE
2221><P
2222></P
2223></DIV
2224></DIV
2225><HR><DIV
2226CLASS="REFSECT2"
2227><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002228NAME="AEN10483"
Daniel Veillard35925471999-02-25 08:46:07 +00002229></A
2230><H3
2231><A
2232NAME="XMLNEWELEMENTCONTENT"
2233></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002234>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002235><TABLE
2236BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002237BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002238WIDTH="100%"
2239CELLPADDING="6"
2240><TR
2241><TD
2242><PRE
2243CLASS="PROGRAMLISTING"
2244><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002245HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002246>xmlElementContentPtr</A
2247> xmlNewElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002248HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002249>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002250> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002251 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002252HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002253>xmlElementContentType</A
2254> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00002255></TD
2256></TR
2257></TABLE
2258><P
2259>Allocate an element content structure.</P
2260><P
2261></P
2262><DIV
2263CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002264><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002265NAME="AEN10492"
2266></A
2267><P
Daniel Veillard35925471999-02-25 08:46:07 +00002268></P
2269><TABLE
2270BORDER="0"
2271WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002272BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002273CELLSPACING="0"
2274CELLPADDING="4"
2275CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002276><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002277><TR
2278><TD
2279WIDTH="20%"
2280ALIGN="RIGHT"
2281VALIGN="TOP"
2282><TT
2283CLASS="PARAMETER"
2284><I
2285>name</I
2286></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002287>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002288><TD
2289WIDTH="80%"
2290ALIGN="LEFT"
2291VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002292> the subelement name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002293></TR
2294><TR
2295><TD
2296WIDTH="20%"
2297ALIGN="RIGHT"
2298VALIGN="TOP"
2299><TT
2300CLASS="PARAMETER"
2301><I
2302>type</I
2303></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002304>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002305><TD
2306WIDTH="80%"
2307ALIGN="LEFT"
2308VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002309> the type of element content decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002310></TR
2311><TR
2312><TD
2313WIDTH="20%"
2314ALIGN="RIGHT"
2315VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002316><SPAN
2317CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002318><I
2319CLASS="EMPHASIS"
2320>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002321></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002322> :</TD
2323><TD
2324WIDTH="80%"
2325ALIGN="LEFT"
2326VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002327>NULL if not, otherwise the new element content structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002328></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002329></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002330></TABLE
2331><P
2332></P
2333></DIV
2334></DIV
2335><HR><DIV
2336CLASS="REFSECT2"
2337><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002338NAME="AEN10509"
Daniel Veillard35925471999-02-25 08:46:07 +00002339></A
2340><H3
2341><A
2342NAME="XMLCOPYELEMENTCONTENT"
2343></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002344>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002345><TABLE
2346BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002347BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002348WIDTH="100%"
2349CELLPADDING="6"
2350><TR
2351><TD
2352><PRE
2353CLASS="PROGRAMLISTING"
2354><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002355HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002356>xmlElementContentPtr</A
2357> xmlCopyElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002358HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002359>xmlElementContentPtr</A
2360> content);</PRE
2361></TD
2362></TR
2363></TABLE
2364><P
2365>Build a copy of an element content description.</P
2366><P
2367></P
2368><DIV
2369CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002370><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002371NAME="AEN10517"
2372></A
2373><P
Daniel Veillard35925471999-02-25 08:46:07 +00002374></P
2375><TABLE
2376BORDER="0"
2377WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002378BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002379CELLSPACING="0"
2380CELLPADDING="4"
2381CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002382><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002383><TR
2384><TD
2385WIDTH="20%"
2386ALIGN="RIGHT"
2387VALIGN="TOP"
2388><TT
2389CLASS="PARAMETER"
2390><I
2391>content</I
2392></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002393>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002394><TD
2395WIDTH="80%"
2396ALIGN="LEFT"
2397VALIGN="TOP"
Daniel Veillardaec63562003-03-23 20:42:17 +00002398>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002399></TR
2400><TR
2401><TD
2402WIDTH="20%"
2403ALIGN="RIGHT"
2404VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002405><SPAN
2406CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002407><I
2408CLASS="EMPHASIS"
2409>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002410></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002411> :</TD
2412><TD
2413WIDTH="80%"
2414ALIGN="LEFT"
2415VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002416>the new xmlElementContentPtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002417></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002418></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002419></TABLE
2420><P
2421></P
2422></DIV
2423></DIV
2424><HR><DIV
2425CLASS="REFSECT2"
2426><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002427NAME="AEN10530"
Daniel Veillard35925471999-02-25 08:46:07 +00002428></A
2429><H3
2430><A
2431NAME="XMLFREEELEMENTCONTENT"
2432></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002433>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002434><TABLE
2435BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002436BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002437WIDTH="100%"
2438CELLPADDING="6"
2439><TR
2440><TD
2441><PRE
2442CLASS="PROGRAMLISTING"
2443>void xmlFreeElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002444HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002445>xmlElementContentPtr</A
2446> cur);</PRE
2447></TD
2448></TR
2449></TABLE
2450><P
2451>Free an element content structure. This is a recursive call !</P
2452><P
2453></P
2454><DIV
2455CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002456><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002457NAME="AEN10537"
2458></A
2459><P
Daniel Veillard35925471999-02-25 08:46:07 +00002460></P
2461><TABLE
2462BORDER="0"
2463WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002464BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002465CELLSPACING="0"
2466CELLPADDING="4"
2467CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002468><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002469><TR
2470><TD
2471WIDTH="20%"
2472ALIGN="RIGHT"
2473VALIGN="TOP"
2474><TT
2475CLASS="PARAMETER"
2476><I
2477>cur</I
2478></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002479>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002480><TD
2481WIDTH="80%"
2482ALIGN="LEFT"
2483VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002484> the element content tree to free</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002485></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002486></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002487></TABLE
2488><P
2489></P
2490></DIV
2491></DIV
2492><HR><DIV
2493CLASS="REFSECT2"
2494><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002495NAME="AEN10546"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002496></A
2497><H3
2498><A
2499NAME="XMLSNPRINTFELEMENTCONTENT"
2500></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002501>xmlSnprintfElementContent ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002502><TABLE
2503BORDER="0"
2504BGCOLOR="#D6E8FF"
2505WIDTH="100%"
2506CELLPADDING="6"
2507><TR
2508><TD
2509><PRE
2510CLASS="PROGRAMLISTING"
2511>void xmlSnprintfElementContent (char *buf,
2512 int size,
2513 <A
2514HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
2515>xmlElementContentPtr</A
2516> content,
2517 int glob);</PRE
2518></TD
2519></TR
2520></TABLE
2521><P
2522>This will dump the content of the element content definition
2523Intended just for the debug routine</P
2524><P
2525></P
2526><DIV
2527CLASS="INFORMALTABLE"
2528><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002529NAME="AEN10553"
2530></A
2531><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002532></P
2533><TABLE
2534BORDER="0"
2535WIDTH="100%"
2536BGCOLOR="#FFD0D0"
2537CELLSPACING="0"
2538CELLPADDING="4"
2539CLASS="CALSTABLE"
2540><TBODY
2541><TR
2542><TD
2543WIDTH="20%"
2544ALIGN="RIGHT"
2545VALIGN="TOP"
2546><TT
2547CLASS="PARAMETER"
2548><I
2549>buf</I
2550></TT
2551>&nbsp;:</TD
2552><TD
2553WIDTH="80%"
2554ALIGN="LEFT"
2555VALIGN="TOP"
2556> an output buffer</TD
2557></TR
2558><TR
2559><TD
2560WIDTH="20%"
2561ALIGN="RIGHT"
2562VALIGN="TOP"
2563><TT
2564CLASS="PARAMETER"
2565><I
2566>size</I
2567></TT
2568>&nbsp;:</TD
2569><TD
2570WIDTH="80%"
2571ALIGN="LEFT"
2572VALIGN="TOP"
2573> the buffer size</TD
2574></TR
2575><TR
2576><TD
2577WIDTH="20%"
2578ALIGN="RIGHT"
2579VALIGN="TOP"
2580><TT
2581CLASS="PARAMETER"
2582><I
2583>content</I
2584></TT
2585>&nbsp;:</TD
2586><TD
2587WIDTH="80%"
2588ALIGN="LEFT"
2589VALIGN="TOP"
2590> An element table</TD
2591></TR
2592><TR
2593><TD
2594WIDTH="20%"
2595ALIGN="RIGHT"
2596VALIGN="TOP"
2597><TT
2598CLASS="PARAMETER"
2599><I
2600>glob</I
2601></TT
2602>&nbsp;:</TD
2603><TD
2604WIDTH="80%"
2605ALIGN="LEFT"
2606VALIGN="TOP"
2607> 1 if one must print the englobing parenthesis, 0 otherwise</TD
2608></TR
2609></TBODY
2610></TABLE
2611><P
2612></P
2613></DIV
2614></DIV
2615><HR><DIV
2616CLASS="REFSECT2"
2617><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002618NAME="AEN10574"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002619></A
2620><H3
2621><A
2622NAME="XMLSPRINTFELEMENTCONTENT"
2623></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002624>xmlSprintfElementContent ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002625><TABLE
2626BORDER="0"
2627BGCOLOR="#D6E8FF"
2628WIDTH="100%"
2629CELLPADDING="6"
2630><TR
2631><TD
2632><PRE
2633CLASS="PROGRAMLISTING"
2634>void xmlSprintfElementContent (char *buf,
2635 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002636HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002637>xmlElementContentPtr</A
2638> content,
2639 int glob);</PRE
2640></TD
2641></TR
2642></TABLE
2643><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002644>Deprecated, unsafe, use xmlSnprintfElementContent</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002645><P
2646></P
2647><DIV
2648CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002649><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002650NAME="AEN10581"
2651></A
2652><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002653></P
2654><TABLE
2655BORDER="0"
2656WIDTH="100%"
2657BGCOLOR="#FFD0D0"
2658CELLSPACING="0"
2659CELLPADDING="4"
2660CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002661><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002662><TR
2663><TD
2664WIDTH="20%"
2665ALIGN="RIGHT"
2666VALIGN="TOP"
2667><TT
2668CLASS="PARAMETER"
2669><I
2670>buf</I
2671></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002672>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002673><TD
2674WIDTH="80%"
2675ALIGN="LEFT"
2676VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002677> an output buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002678></TR
2679><TR
2680><TD
2681WIDTH="20%"
2682ALIGN="RIGHT"
2683VALIGN="TOP"
2684><TT
2685CLASS="PARAMETER"
2686><I
2687>content</I
2688></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002689>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002690><TD
2691WIDTH="80%"
2692ALIGN="LEFT"
2693VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002694> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002695></TR
2696><TR
2697><TD
2698WIDTH="20%"
2699ALIGN="RIGHT"
2700VALIGN="TOP"
2701><TT
2702CLASS="PARAMETER"
2703><I
2704>glob</I
2705></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002706>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002707><TD
2708WIDTH="80%"
2709ALIGN="LEFT"
2710VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002711> 1 if one must print the englobing parenthesis, 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002712></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002713></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002714></TABLE
2715><P
2716></P
2717></DIV
2718></DIV
2719><HR><DIV
2720CLASS="REFSECT2"
2721><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002722NAME="AEN10598"
Daniel Veillard35925471999-02-25 08:46:07 +00002723></A
2724><H3
2725><A
2726NAME="XMLADDELEMENTDECL"
2727></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002728>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002729><TABLE
2730BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002731BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002732WIDTH="100%"
2733CELLPADDING="6"
2734><TR
2735><TD
2736><PRE
2737CLASS="PROGRAMLISTING"
2738><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002739HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002740>xmlElementPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002741> xmlAddElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002742HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002743>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002744> ctxt,
2745 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002746HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002747>xmlDtdPtr</A
2748> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002749 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002750HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002751>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002752> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002753 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002754HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard4c3a2031999-11-19 17:46:26 +00002755>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002756> type,
Daniel Veillard35925471999-02-25 08:46:07 +00002757 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002758HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002759>xmlElementContentPtr</A
2760> content);</PRE
2761></TD
2762></TR
2763></TABLE
2764><P
2765>Register a new element declaration</P
2766><P
2767></P
2768><DIV
2769CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002770><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002771NAME="AEN10610"
2772></A
2773><P
Daniel Veillard35925471999-02-25 08:46:07 +00002774></P
2775><TABLE
2776BORDER="0"
2777WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002778BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002779CELLSPACING="0"
2780CELLPADDING="4"
2781CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002782><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002783><TR
2784><TD
2785WIDTH="20%"
2786ALIGN="RIGHT"
2787VALIGN="TOP"
2788><TT
2789CLASS="PARAMETER"
2790><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002791>ctxt</I
2792></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002793>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002794><TD
2795WIDTH="80%"
2796ALIGN="LEFT"
2797VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002798> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002799></TR
2800><TR
2801><TD
2802WIDTH="20%"
2803ALIGN="RIGHT"
2804VALIGN="TOP"
2805><TT
2806CLASS="PARAMETER"
2807><I
Daniel Veillard35925471999-02-25 08:46:07 +00002808>dtd</I
2809></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002810>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002811><TD
2812WIDTH="80%"
2813ALIGN="LEFT"
2814VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002815> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002816></TR
2817><TR
2818><TD
2819WIDTH="20%"
2820ALIGN="RIGHT"
2821VALIGN="TOP"
2822><TT
2823CLASS="PARAMETER"
2824><I
2825>name</I
2826></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002827>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002828><TD
2829WIDTH="80%"
2830ALIGN="LEFT"
2831VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002832> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002833></TR
2834><TR
2835><TD
2836WIDTH="20%"
2837ALIGN="RIGHT"
2838VALIGN="TOP"
2839><TT
2840CLASS="PARAMETER"
2841><I
2842>type</I
2843></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002844>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002845><TD
2846WIDTH="80%"
2847ALIGN="LEFT"
2848VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002849> the element type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002850></TR
2851><TR
2852><TD
2853WIDTH="20%"
2854ALIGN="RIGHT"
2855VALIGN="TOP"
2856><TT
2857CLASS="PARAMETER"
2858><I
2859>content</I
2860></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002861>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002862><TD
2863WIDTH="80%"
2864ALIGN="LEFT"
2865VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002866> the element content tree or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002867></TR
2868><TR
2869><TD
2870WIDTH="20%"
2871ALIGN="RIGHT"
2872VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002873><SPAN
2874CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002875><I
2876CLASS="EMPHASIS"
2877>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002878></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002879> :</TD
2880><TD
2881WIDTH="80%"
2882ALIGN="LEFT"
2883VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002884>NULL if not, otherwise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002885></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002886></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002887></TABLE
2888><P
2889></P
2890></DIV
2891></DIV
2892><HR><DIV
2893CLASS="REFSECT2"
2894><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002895NAME="AEN10639"
Daniel Veillard35925471999-02-25 08:46:07 +00002896></A
2897><H3
2898><A
2899NAME="XMLCOPYELEMENTTABLE"
2900></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002901>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002902><TABLE
2903BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002904BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002905WIDTH="100%"
2906CELLPADDING="6"
2907><TR
2908><TD
2909><PRE
2910CLASS="PROGRAMLISTING"
2911><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002912HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002913>xmlElementTablePtr</A
2914> xmlCopyElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002915HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002916>xmlElementTablePtr</A
2917> table);</PRE
2918></TD
2919></TR
2920></TABLE
2921><P
2922>Build a copy of an element table.</P
2923><P
2924></P
2925><DIV
2926CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002927><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002928NAME="AEN10647"
2929></A
2930><P
Daniel Veillard35925471999-02-25 08:46:07 +00002931></P
2932><TABLE
2933BORDER="0"
2934WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002935BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002936CELLSPACING="0"
2937CELLPADDING="4"
2938CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002939><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002940><TR
2941><TD
2942WIDTH="20%"
2943ALIGN="RIGHT"
2944VALIGN="TOP"
2945><TT
2946CLASS="PARAMETER"
2947><I
2948>table</I
2949></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002950>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002951><TD
2952WIDTH="80%"
2953ALIGN="LEFT"
2954VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002955> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002956></TR
2957><TR
2958><TD
2959WIDTH="20%"
2960ALIGN="RIGHT"
2961VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002962><SPAN
2963CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002964><I
2965CLASS="EMPHASIS"
2966>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002967></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002968> :</TD
2969><TD
2970WIDTH="80%"
2971ALIGN="LEFT"
2972VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002973>the new xmlElementTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002974></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002975></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002976></TABLE
2977><P
2978></P
2979></DIV
2980></DIV
2981><HR><DIV
2982CLASS="REFSECT2"
2983><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002984NAME="AEN10660"
Daniel Veillard35925471999-02-25 08:46:07 +00002985></A
2986><H3
2987><A
2988NAME="XMLFREEELEMENTTABLE"
2989></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002990>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002991><TABLE
2992BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002993BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002994WIDTH="100%"
2995CELLPADDING="6"
2996><TR
2997><TD
2998><PRE
2999CLASS="PROGRAMLISTING"
3000>void xmlFreeElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003001HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003002>xmlElementTablePtr</A
3003> table);</PRE
3004></TD
3005></TR
3006></TABLE
3007><P
3008>Deallocate the memory used by an element hash table.</P
3009><P
3010></P
3011><DIV
3012CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003013><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003014NAME="AEN10667"
3015></A
3016><P
Daniel Veillard35925471999-02-25 08:46:07 +00003017></P
3018><TABLE
3019BORDER="0"
3020WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003021BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003022CELLSPACING="0"
3023CELLPADDING="4"
3024CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003025><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003026><TR
3027><TD
3028WIDTH="20%"
3029ALIGN="RIGHT"
3030VALIGN="TOP"
3031><TT
3032CLASS="PARAMETER"
3033><I
3034>table</I
3035></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003036>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003037><TD
3038WIDTH="80%"
3039ALIGN="LEFT"
3040VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003041> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003042></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003043></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003044></TABLE
3045><P
3046></P
3047></DIV
3048></DIV
3049><HR><DIV
3050CLASS="REFSECT2"
3051><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003052NAME="AEN10676"
Daniel Veillard35925471999-02-25 08:46:07 +00003053></A
3054><H3
3055><A
3056NAME="XMLDUMPELEMENTTABLE"
3057></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003058>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003059><TABLE
3060BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003061BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003062WIDTH="100%"
3063CELLPADDING="6"
3064><TR
3065><TD
3066><PRE
3067CLASS="PROGRAMLISTING"
3068>void xmlDumpElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003069HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003070>xmlBufferPtr</A
3071> buf,
3072 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003073HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003074>xmlElementTablePtr</A
3075> table);</PRE
3076></TD
3077></TR
3078></TABLE
3079><P
3080>This will dump the content of the element table as an XML DTD definition</P
3081><P
Daniel Veillard35925471999-02-25 08:46:07 +00003082></P
3083><DIV
3084CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003085><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003086NAME="AEN10684"
3087></A
3088><P
Daniel Veillard35925471999-02-25 08:46:07 +00003089></P
3090><TABLE
3091BORDER="0"
3092WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003093BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003094CELLSPACING="0"
3095CELLPADDING="4"
3096CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003097><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003098><TR
3099><TD
3100WIDTH="20%"
3101ALIGN="RIGHT"
3102VALIGN="TOP"
3103><TT
3104CLASS="PARAMETER"
3105><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003106>buf</I
3107></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003108>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003109><TD
3110WIDTH="80%"
3111ALIGN="LEFT"
3112VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003113> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003114></TR
3115><TR
3116><TD
3117WIDTH="20%"
3118ALIGN="RIGHT"
3119VALIGN="TOP"
3120><TT
3121CLASS="PARAMETER"
3122><I
Daniel Veillard35925471999-02-25 08:46:07 +00003123>table</I
3124></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003125>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003126><TD
3127WIDTH="80%"
3128ALIGN="LEFT"
3129VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003130> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003131></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003132></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003133></TABLE
3134><P
3135></P
3136></DIV
3137></DIV
3138><HR><DIV
3139CLASS="REFSECT2"
3140><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003141NAME="AEN10697"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003142></A
3143><H3
3144><A
3145NAME="XMLDUMPELEMENTDECL"
3146></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003147>xmlDumpElementDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003148><TABLE
3149BORDER="0"
3150BGCOLOR="#D6E8FF"
3151WIDTH="100%"
3152CELLPADDING="6"
3153><TR
3154><TD
3155><PRE
3156CLASS="PROGRAMLISTING"
3157>void xmlDumpElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003158HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003159>xmlBufferPtr</A
3160> buf,
3161 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003162HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003163>xmlElementPtr</A
3164> elem);</PRE
3165></TD
3166></TR
3167></TABLE
3168><P
3169>This will dump the content of the element declaration as an XML
3170DTD definition</P
3171><P
3172></P
3173><DIV
3174CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003175><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003176NAME="AEN10705"
3177></A
3178><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003179></P
3180><TABLE
3181BORDER="0"
3182WIDTH="100%"
3183BGCOLOR="#FFD0D0"
3184CELLSPACING="0"
3185CELLPADDING="4"
3186CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003187><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003188><TR
3189><TD
3190WIDTH="20%"
3191ALIGN="RIGHT"
3192VALIGN="TOP"
3193><TT
3194CLASS="PARAMETER"
3195><I
3196>buf</I
3197></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003198>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003199><TD
3200WIDTH="80%"
3201ALIGN="LEFT"
3202VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003203> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003204></TR
3205><TR
3206><TD
3207WIDTH="20%"
3208ALIGN="RIGHT"
3209VALIGN="TOP"
3210><TT
3211CLASS="PARAMETER"
3212><I
3213>elem</I
3214></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003215>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003216><TD
3217WIDTH="80%"
3218ALIGN="LEFT"
3219VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003220> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003221></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003222></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003223></TABLE
3224><P
3225></P
3226></DIV
3227></DIV
3228><HR><DIV
3229CLASS="REFSECT2"
3230><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003231NAME="AEN10718"
Daniel Veillard35925471999-02-25 08:46:07 +00003232></A
3233><H3
3234><A
3235NAME="XMLCREATEENUMERATION"
3236></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003237>xmlCreateEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003238><TABLE
3239BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003240BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003241WIDTH="100%"
3242CELLPADDING="6"
3243><TR
3244><TD
3245><PRE
3246CLASS="PROGRAMLISTING"
3247><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003248HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003249>xmlEnumerationPtr</A
3250> xmlCreateEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003251HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003252>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003253> *name);</PRE
3254></TD
3255></TR
3256></TABLE
3257><P
3258>create and initialize an enumeration attribute node.</P
3259><P
3260></P
3261><DIV
3262CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003263><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003264NAME="AEN10726"
3265></A
3266><P
Daniel Veillard35925471999-02-25 08:46:07 +00003267></P
3268><TABLE
3269BORDER="0"
3270WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003271BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003272CELLSPACING="0"
3273CELLPADDING="4"
3274CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003275><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003276><TR
3277><TD
3278WIDTH="20%"
3279ALIGN="RIGHT"
3280VALIGN="TOP"
3281><TT
3282CLASS="PARAMETER"
3283><I
3284>name</I
3285></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003286>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003287><TD
3288WIDTH="80%"
3289ALIGN="LEFT"
3290VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003291> the enumeration name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003292></TR
3293><TR
3294><TD
3295WIDTH="20%"
3296ALIGN="RIGHT"
3297VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003298><SPAN
3299CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003300><I
3301CLASS="EMPHASIS"
3302>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003303></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003304> :</TD
3305><TD
3306WIDTH="80%"
3307ALIGN="LEFT"
3308VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003309>the xmlEnumerationPtr just created or NULL in case
Daniel Veillardaec63562003-03-23 20:42:17 +00003310 of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003311></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003312></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003313></TABLE
3314><P
3315></P
3316></DIV
3317></DIV
3318><HR><DIV
3319CLASS="REFSECT2"
3320><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003321NAME="AEN10739"
Daniel Veillard35925471999-02-25 08:46:07 +00003322></A
3323><H3
3324><A
3325NAME="XMLFREEENUMERATION"
3326></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003327>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003328><TABLE
3329BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003330BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003331WIDTH="100%"
3332CELLPADDING="6"
3333><TR
3334><TD
3335><PRE
3336CLASS="PROGRAMLISTING"
3337>void xmlFreeEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003338HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003339>xmlEnumerationPtr</A
3340> cur);</PRE
3341></TD
3342></TR
3343></TABLE
3344><P
3345>free an enumeration attribute node (recursive).</P
3346><P
3347></P
3348><DIV
3349CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003350><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003351NAME="AEN10746"
3352></A
3353><P
Daniel Veillard35925471999-02-25 08:46:07 +00003354></P
3355><TABLE
3356BORDER="0"
3357WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003358BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003359CELLSPACING="0"
3360CELLPADDING="4"
3361CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003362><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003363><TR
3364><TD
3365WIDTH="20%"
3366ALIGN="RIGHT"
3367VALIGN="TOP"
3368><TT
3369CLASS="PARAMETER"
3370><I
3371>cur</I
3372></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003373>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003374><TD
3375WIDTH="80%"
3376ALIGN="LEFT"
3377VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003378> the tree to free.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003379></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003380></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003381></TABLE
3382><P
3383></P
3384></DIV
3385></DIV
3386><HR><DIV
3387CLASS="REFSECT2"
3388><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003389NAME="AEN10755"
Daniel Veillard35925471999-02-25 08:46:07 +00003390></A
3391><H3
3392><A
3393NAME="XMLCOPYENUMERATION"
3394></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003395>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003396><TABLE
3397BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003398BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003399WIDTH="100%"
3400CELLPADDING="6"
3401><TR
3402><TD
3403><PRE
3404CLASS="PROGRAMLISTING"
3405><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003406HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003407>xmlEnumerationPtr</A
3408> xmlCopyEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003409HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003410>xmlEnumerationPtr</A
3411> cur);</PRE
3412></TD
3413></TR
3414></TABLE
3415><P
3416>Copy an enumeration attribute node (recursive).</P
3417><P
3418></P
3419><DIV
3420CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003421><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003422NAME="AEN10763"
3423></A
3424><P
Daniel Veillard35925471999-02-25 08:46:07 +00003425></P
3426><TABLE
3427BORDER="0"
3428WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003429BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003430CELLSPACING="0"
3431CELLPADDING="4"
3432CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003433><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003434><TR
3435><TD
3436WIDTH="20%"
3437ALIGN="RIGHT"
3438VALIGN="TOP"
3439><TT
3440CLASS="PARAMETER"
3441><I
3442>cur</I
3443></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003444>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003445><TD
3446WIDTH="80%"
3447ALIGN="LEFT"
3448VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003449> the tree to copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003450></TR
3451><TR
3452><TD
3453WIDTH="20%"
3454ALIGN="RIGHT"
3455VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003456><SPAN
3457CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003458><I
3459CLASS="EMPHASIS"
3460>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003461></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003462> :</TD
3463><TD
3464WIDTH="80%"
3465ALIGN="LEFT"
3466VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003467>the xmlEnumerationPtr just created or NULL in case
Daniel Veillardaec63562003-03-23 20:42:17 +00003468 of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003469></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003470></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003471></TABLE
3472><P
3473></P
3474></DIV
3475></DIV
3476><HR><DIV
3477CLASS="REFSECT2"
3478><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003479NAME="AEN10776"
Daniel Veillard35925471999-02-25 08:46:07 +00003480></A
3481><H3
3482><A
3483NAME="XMLADDATTRIBUTEDECL"
3484></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003485>xmlAddAttributeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003486><TABLE
3487BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003488BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003489WIDTH="100%"
3490CELLPADDING="6"
3491><TR
3492><TD
3493><PRE
3494CLASS="PROGRAMLISTING"
3495><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003496HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003497>xmlAttributePtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003498> xmlAddAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003499HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003500>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00003501> ctxt,
3502 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003503HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003504>xmlDtdPtr</A
3505> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003506 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003507HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003508>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003509> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003510 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003511HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003512>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003513> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003514 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003515HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003516>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +00003517> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003518 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003519HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003520>xmlAttributeType</A
3521> type,
3522 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003523HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003524>xmlAttributeDefault</A
3525> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003526 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003527HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003528>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003529> *defaultValue,
3530 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003531HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003532>xmlEnumerationPtr</A
3533> tree);</PRE
3534></TD
3535></TR
3536></TABLE
3537><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003538>Register a new attribute declaration
3539Note that <TT
3540CLASS="PARAMETER"
3541><I
3542>tree</I
3543></TT
3544> becomes the ownership of the DTD</P
Daniel Veillard35925471999-02-25 08:46:07 +00003545><P
3546></P
3547><DIV
3548CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003549><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003550NAME="AEN10793"
3551></A
3552><P
Daniel Veillard35925471999-02-25 08:46:07 +00003553></P
3554><TABLE
3555BORDER="0"
3556WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003557BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003558CELLSPACING="0"
3559CELLPADDING="4"
3560CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003561><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003562><TR
3563><TD
3564WIDTH="20%"
3565ALIGN="RIGHT"
3566VALIGN="TOP"
3567><TT
3568CLASS="PARAMETER"
3569><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00003570>ctxt</I
3571></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003572>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003573><TD
3574WIDTH="80%"
3575ALIGN="LEFT"
3576VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003577> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003578></TR
3579><TR
3580><TD
3581WIDTH="20%"
3582ALIGN="RIGHT"
3583VALIGN="TOP"
3584><TT
3585CLASS="PARAMETER"
3586><I
Daniel Veillard35925471999-02-25 08:46:07 +00003587>dtd</I
3588></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003589>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003590><TD
3591WIDTH="80%"
3592ALIGN="LEFT"
3593VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003594> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003595></TR
3596><TR
3597><TD
3598WIDTH="20%"
3599ALIGN="RIGHT"
3600VALIGN="TOP"
3601><TT
3602CLASS="PARAMETER"
3603><I
3604>elem</I
3605></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003606>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003607><TD
3608WIDTH="80%"
3609ALIGN="LEFT"
3610VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003611> the element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003612></TR
3613><TR
3614><TD
3615WIDTH="20%"
3616ALIGN="RIGHT"
3617VALIGN="TOP"
3618><TT
3619CLASS="PARAMETER"
3620><I
3621>name</I
3622></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003623>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003624><TD
3625WIDTH="80%"
3626ALIGN="LEFT"
3627VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003628> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003629></TR
3630><TR
3631><TD
3632WIDTH="20%"
3633ALIGN="RIGHT"
3634VALIGN="TOP"
3635><TT
3636CLASS="PARAMETER"
3637><I
Daniel Veillard06047432000-04-24 11:33:38 +00003638>ns</I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003639></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003640>&nbsp;:</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003641><TD
3642WIDTH="80%"
3643ALIGN="LEFT"
3644VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003645> the attribute namespace prefix</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003646></TR
3647><TR
3648><TD
3649WIDTH="20%"
3650ALIGN="RIGHT"
3651VALIGN="TOP"
3652><TT
3653CLASS="PARAMETER"
3654><I
Daniel Veillard35925471999-02-25 08:46:07 +00003655>type</I
3656></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003657>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003658><TD
3659WIDTH="80%"
3660ALIGN="LEFT"
3661VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003662> the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003663></TR
3664><TR
3665><TD
3666WIDTH="20%"
3667ALIGN="RIGHT"
3668VALIGN="TOP"
3669><TT
3670CLASS="PARAMETER"
3671><I
3672>def</I
3673></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003674>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003675><TD
3676WIDTH="80%"
3677ALIGN="LEFT"
3678VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003679> the attribute default type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003680></TR
3681><TR
3682><TD
3683WIDTH="20%"
3684ALIGN="RIGHT"
3685VALIGN="TOP"
3686><TT
3687CLASS="PARAMETER"
3688><I
3689>defaultValue</I
3690></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003691>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003692><TD
3693WIDTH="80%"
3694ALIGN="LEFT"
3695VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003696> the attribute default value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003697></TR
3698><TR
3699><TD
3700WIDTH="20%"
3701ALIGN="RIGHT"
3702VALIGN="TOP"
3703><TT
3704CLASS="PARAMETER"
3705><I
3706>tree</I
3707></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003708>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003709><TD
3710WIDTH="80%"
3711ALIGN="LEFT"
3712VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003713> if it's an enumeration, the associated list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003714></TR
3715><TR
3716><TD
3717WIDTH="20%"
3718ALIGN="RIGHT"
3719VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003720><SPAN
3721CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003722><I
3723CLASS="EMPHASIS"
3724>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003725></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003726> :</TD
3727><TD
3728WIDTH="80%"
3729ALIGN="LEFT"
3730VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00003731>NULL if not new, otherwise the attribute decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003732></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003733></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003734></TABLE
3735><P
3736></P
3737></DIV
3738></DIV
3739><HR><DIV
3740CLASS="REFSECT2"
3741><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003742NAME="AEN10838"
Daniel Veillard35925471999-02-25 08:46:07 +00003743></A
3744><H3
3745><A
3746NAME="XMLCOPYATTRIBUTETABLE"
3747></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003748>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003749><TABLE
3750BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003751BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003752WIDTH="100%"
3753CELLPADDING="6"
3754><TR
3755><TD
3756><PRE
3757CLASS="PROGRAMLISTING"
3758><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003759HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003760>xmlAttributeTablePtr</A
3761> xmlCopyAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003762HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003763>xmlAttributeTablePtr</A
3764> table);</PRE
3765></TD
3766></TR
3767></TABLE
3768><P
3769>Build a copy of an attribute table.</P
3770><P
3771></P
3772><DIV
3773CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003774><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003775NAME="AEN10846"
3776></A
3777><P
Daniel Veillard35925471999-02-25 08:46:07 +00003778></P
3779><TABLE
3780BORDER="0"
3781WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003782BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003783CELLSPACING="0"
3784CELLPADDING="4"
3785CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003786><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003787><TR
3788><TD
3789WIDTH="20%"
3790ALIGN="RIGHT"
3791VALIGN="TOP"
3792><TT
3793CLASS="PARAMETER"
3794><I
3795>table</I
3796></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003797>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003798><TD
3799WIDTH="80%"
3800ALIGN="LEFT"
3801VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003802> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003803></TR
3804><TR
3805><TD
3806WIDTH="20%"
3807ALIGN="RIGHT"
3808VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003809><SPAN
3810CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003811><I
3812CLASS="EMPHASIS"
3813>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003814></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003815> :</TD
3816><TD
3817WIDTH="80%"
3818ALIGN="LEFT"
3819VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003820>the new xmlAttributeTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003821></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003822></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003823></TABLE
3824><P
3825></P
3826></DIV
3827></DIV
3828><HR><DIV
3829CLASS="REFSECT2"
3830><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003831NAME="AEN10859"
Daniel Veillard35925471999-02-25 08:46:07 +00003832></A
3833><H3
3834><A
3835NAME="XMLFREEATTRIBUTETABLE"
3836></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003837>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003838><TABLE
3839BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003840BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003841WIDTH="100%"
3842CELLPADDING="6"
3843><TR
3844><TD
3845><PRE
3846CLASS="PROGRAMLISTING"
3847>void xmlFreeAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003848HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003849>xmlAttributeTablePtr</A
3850> table);</PRE
3851></TD
3852></TR
3853></TABLE
3854><P
3855>Deallocate the memory used by an entities hash table.</P
3856><P
3857></P
3858><DIV
3859CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003860><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003861NAME="AEN10866"
3862></A
3863><P
Daniel Veillard35925471999-02-25 08:46:07 +00003864></P
3865><TABLE
3866BORDER="0"
3867WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003868BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003869CELLSPACING="0"
3870CELLPADDING="4"
3871CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003872><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003873><TR
3874><TD
3875WIDTH="20%"
3876ALIGN="RIGHT"
3877VALIGN="TOP"
3878><TT
3879CLASS="PARAMETER"
3880><I
3881>table</I
3882></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003883>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003884><TD
3885WIDTH="80%"
3886ALIGN="LEFT"
3887VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003888> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003889></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003890></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003891></TABLE
3892><P
3893></P
3894></DIV
3895></DIV
3896><HR><DIV
3897CLASS="REFSECT2"
3898><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003899NAME="AEN10875"
Daniel Veillard35925471999-02-25 08:46:07 +00003900></A
3901><H3
3902><A
3903NAME="XMLDUMPATTRIBUTETABLE"
3904></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003905>xmlDumpAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003906><TABLE
3907BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003908BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003909WIDTH="100%"
3910CELLPADDING="6"
3911><TR
3912><TD
3913><PRE
3914CLASS="PROGRAMLISTING"
3915>void xmlDumpAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003916HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003917>xmlBufferPtr</A
3918> buf,
3919 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003920HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003921>xmlAttributeTablePtr</A
3922> table);</PRE
3923></TD
3924></TR
3925></TABLE
3926><P
3927>This will dump the content of the attribute table as an XML DTD definition</P
3928><P
Daniel Veillard35925471999-02-25 08:46:07 +00003929></P
3930><DIV
3931CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003932><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003933NAME="AEN10883"
3934></A
3935><P
Daniel Veillard35925471999-02-25 08:46:07 +00003936></P
3937><TABLE
3938BORDER="0"
3939WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003940BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003941CELLSPACING="0"
3942CELLPADDING="4"
3943CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003944><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003945><TR
3946><TD
3947WIDTH="20%"
3948ALIGN="RIGHT"
3949VALIGN="TOP"
3950><TT
3951CLASS="PARAMETER"
3952><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003953>buf</I
3954></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003955>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003956><TD
3957WIDTH="80%"
3958ALIGN="LEFT"
3959VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003960> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003961></TR
3962><TR
3963><TD
3964WIDTH="20%"
3965ALIGN="RIGHT"
3966VALIGN="TOP"
3967><TT
3968CLASS="PARAMETER"
3969><I
Daniel Veillard35925471999-02-25 08:46:07 +00003970>table</I
3971></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003972>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003973><TD
3974WIDTH="80%"
3975ALIGN="LEFT"
3976VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003977> An attribute table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003978></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003979></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003980></TABLE
3981><P
3982></P
3983></DIV
3984></DIV
3985><HR><DIV
3986CLASS="REFSECT2"
3987><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003988NAME="AEN10896"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003989></A
3990><H3
3991><A
3992NAME="XMLDUMPATTRIBUTEDECL"
3993></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003994>xmlDumpAttributeDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003995><TABLE
3996BORDER="0"
3997BGCOLOR="#D6E8FF"
3998WIDTH="100%"
3999CELLPADDING="6"
4000><TR
4001><TD
4002><PRE
4003CLASS="PROGRAMLISTING"
4004>void xmlDumpAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004005HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004006>xmlBufferPtr</A
4007> buf,
4008 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004009HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004010>xmlAttributePtr</A
4011> attr);</PRE
4012></TD
4013></TR
4014></TABLE
4015><P
4016>This will dump the content of the attribute declaration as an XML
4017DTD definition</P
4018><P
4019></P
4020><DIV
4021CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004022><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004023NAME="AEN10904"
4024></A
4025><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004026></P
4027><TABLE
4028BORDER="0"
4029WIDTH="100%"
4030BGCOLOR="#FFD0D0"
4031CELLSPACING="0"
4032CELLPADDING="4"
4033CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004034><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004035><TR
4036><TD
4037WIDTH="20%"
4038ALIGN="RIGHT"
4039VALIGN="TOP"
4040><TT
4041CLASS="PARAMETER"
4042><I
4043>buf</I
4044></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004045>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004046><TD
4047WIDTH="80%"
4048ALIGN="LEFT"
4049VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004050> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004051></TR
4052><TR
4053><TD
4054WIDTH="20%"
4055ALIGN="RIGHT"
4056VALIGN="TOP"
4057><TT
4058CLASS="PARAMETER"
4059><I
4060>attr</I
4061></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004062>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004063><TD
4064WIDTH="80%"
4065ALIGN="LEFT"
4066VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004067> An attribute declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004068></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004069></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004070></TABLE
4071><P
4072></P
4073></DIV
4074></DIV
4075><HR><DIV
4076CLASS="REFSECT2"
4077><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004078NAME="AEN10917"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004079></A
4080><H3
4081><A
4082NAME="XMLADDID"
4083></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004084>xmlAddID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004085><TABLE
4086BORDER="0"
4087BGCOLOR="#D6E8FF"
4088WIDTH="100%"
4089CELLPADDING="6"
4090><TR
4091><TD
4092><PRE
4093CLASS="PROGRAMLISTING"
4094><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004095HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004096>xmlIDPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004097> xmlAddID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004098HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004099>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004100> ctxt,
4101 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004102HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004103>xmlDocPtr</A
4104> doc,
4105 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004106HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004107>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004108> *value,
4109 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004110HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004111>xmlAttrPtr</A
4112> attr);</PRE
4113></TD
4114></TR
4115></TABLE
4116><P
4117>Register a new id declaration</P
4118><P
4119></P
4120><DIV
4121CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004122><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004123NAME="AEN10928"
4124></A
4125><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004126></P
4127><TABLE
4128BORDER="0"
4129WIDTH="100%"
4130BGCOLOR="#FFD0D0"
4131CELLSPACING="0"
4132CELLPADDING="4"
4133CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004134><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004135><TR
4136><TD
4137WIDTH="20%"
4138ALIGN="RIGHT"
4139VALIGN="TOP"
4140><TT
4141CLASS="PARAMETER"
4142><I
4143>ctxt</I
4144></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004145>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004146><TD
4147WIDTH="80%"
4148ALIGN="LEFT"
4149VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004150> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004151></TR
4152><TR
4153><TD
4154WIDTH="20%"
4155ALIGN="RIGHT"
4156VALIGN="TOP"
4157><TT
4158CLASS="PARAMETER"
4159><I
4160>doc</I
4161></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004162>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004163><TD
4164WIDTH="80%"
4165ALIGN="LEFT"
4166VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004167> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004168></TR
4169><TR
4170><TD
4171WIDTH="20%"
4172ALIGN="RIGHT"
4173VALIGN="TOP"
4174><TT
4175CLASS="PARAMETER"
4176><I
4177>value</I
4178></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004179>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004180><TD
4181WIDTH="80%"
4182ALIGN="LEFT"
4183VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004184> the value name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004185></TR
4186><TR
4187><TD
4188WIDTH="20%"
4189ALIGN="RIGHT"
4190VALIGN="TOP"
4191><TT
4192CLASS="PARAMETER"
4193><I
4194>attr</I
4195></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004196>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004197><TD
4198WIDTH="80%"
4199ALIGN="LEFT"
4200VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004201> the attribute holding the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004202></TR
4203><TR
4204><TD
4205WIDTH="20%"
4206ALIGN="RIGHT"
4207VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004208><SPAN
4209CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004210><I
4211CLASS="EMPHASIS"
4212>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004213></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004214> :</TD
4215><TD
4216WIDTH="80%"
4217ALIGN="LEFT"
4218VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004219>NULL if not, otherwise the new xmlIDPtr</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004220></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004221></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004222></TABLE
4223><P
4224></P
4225></DIV
4226></DIV
4227><HR><DIV
4228CLASS="REFSECT2"
4229><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004230NAME="AEN10953"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004231></A
4232><H3
4233><A
4234NAME="XMLFREEIDTABLE"
4235></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004236>xmlFreeIDTable ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004237><TABLE
4238BORDER="0"
4239BGCOLOR="#D6E8FF"
4240WIDTH="100%"
4241CELLPADDING="6"
4242><TR
4243><TD
4244><PRE
4245CLASS="PROGRAMLISTING"
4246>void xmlFreeIDTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004247HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004248>xmlIDTablePtr</A
4249> table);</PRE
4250></TD
4251></TR
4252></TABLE
4253><P
4254>Deallocate the memory used by an ID hash table.</P
4255><P
4256></P
4257><DIV
4258CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004259><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004260NAME="AEN10960"
4261></A
4262><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004263></P
4264><TABLE
4265BORDER="0"
4266WIDTH="100%"
4267BGCOLOR="#FFD0D0"
4268CELLSPACING="0"
4269CELLPADDING="4"
4270CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004271><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004272><TR
4273><TD
4274WIDTH="20%"
4275ALIGN="RIGHT"
4276VALIGN="TOP"
4277><TT
4278CLASS="PARAMETER"
4279><I
4280>table</I
4281></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004282>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004283><TD
4284WIDTH="80%"
4285ALIGN="LEFT"
4286VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004287> An id table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004288></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004289></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004290></TABLE
4291><P
4292></P
4293></DIV
4294></DIV
4295><HR><DIV
4296CLASS="REFSECT2"
4297><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004298NAME="AEN10969"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004299></A
4300><H3
4301><A
4302NAME="XMLGETID"
4303></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004304>xmlGetID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004305><TABLE
4306BORDER="0"
4307BGCOLOR="#D6E8FF"
4308WIDTH="100%"
4309CELLPADDING="6"
4310><TR
4311><TD
4312><PRE
4313CLASS="PROGRAMLISTING"
4314><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004315HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004316>xmlAttrPtr</A
4317> xmlGetID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004318HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004319>xmlDocPtr</A
4320> doc,
4321 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004322HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004323>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004324> *ID);</PRE
4325></TD
4326></TR
4327></TABLE
4328><P
4329>Search the attribute declaring the given ID</P
4330><P
4331></P
4332><DIV
4333CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004334><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004335NAME="AEN10978"
4336></A
4337><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004338></P
4339><TABLE
4340BORDER="0"
4341WIDTH="100%"
4342BGCOLOR="#FFD0D0"
4343CELLSPACING="0"
4344CELLPADDING="4"
4345CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004346><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004347><TR
4348><TD
4349WIDTH="20%"
4350ALIGN="RIGHT"
4351VALIGN="TOP"
4352><TT
4353CLASS="PARAMETER"
4354><I
4355>doc</I
4356></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004357>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004358><TD
4359WIDTH="80%"
4360ALIGN="LEFT"
4361VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004362> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004363></TR
4364><TR
4365><TD
4366WIDTH="20%"
4367ALIGN="RIGHT"
4368VALIGN="TOP"
4369><TT
4370CLASS="PARAMETER"
4371><I
4372>ID</I
4373></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004374>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004375><TD
4376WIDTH="80%"
4377ALIGN="LEFT"
4378VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004379> the ID value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004380></TR
4381><TR
4382><TD
4383WIDTH="20%"
4384ALIGN="RIGHT"
4385VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004386><SPAN
4387CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004388><I
4389CLASS="EMPHASIS"
4390>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004391></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004392> :</TD
4393><TD
4394WIDTH="80%"
4395ALIGN="LEFT"
4396VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004397>NULL if not found, otherwise the xmlAttrPtr defining the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004398></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004399></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004400></TABLE
4401><P
4402></P
4403></DIV
4404></DIV
4405><HR><DIV
4406CLASS="REFSECT2"
4407><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004408NAME="AEN10995"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004409></A
4410><H3
4411><A
4412NAME="XMLISID"
4413></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004414>xmlIsID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004415><TABLE
4416BORDER="0"
4417BGCOLOR="#D6E8FF"
4418WIDTH="100%"
4419CELLPADDING="6"
4420><TR
4421><TD
4422><PRE
4423CLASS="PROGRAMLISTING"
4424>int xmlIsID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004425HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004426>xmlDocPtr</A
4427> doc,
4428 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004429HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004430>xmlNodePtr</A
4431> elem,
4432 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004433HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004434>xmlAttrPtr</A
4435> attr);</PRE
4436></TD
4437></TR
4438></TABLE
4439><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004440>Determine whether an attribute is of type ID. In case we have DTD(s)
Daniel Veillard80ce3732002-10-07 17:39:30 +00004441then this is done if DTD loading has been requested. In the case
4442of HTML documents parsed with the HTML parser, then ID detection is
4443done systematically.</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004444><P
4445></P
4446><DIV
4447CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004448><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004449NAME="AEN11004"
4450></A
4451><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004452></P
4453><TABLE
4454BORDER="0"
4455WIDTH="100%"
4456BGCOLOR="#FFD0D0"
4457CELLSPACING="0"
4458CELLPADDING="4"
4459CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004460><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004461><TR
4462><TD
4463WIDTH="20%"
4464ALIGN="RIGHT"
4465VALIGN="TOP"
4466><TT
4467CLASS="PARAMETER"
4468><I
4469>doc</I
4470></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004471>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004472><TD
4473WIDTH="80%"
4474ALIGN="LEFT"
4475VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004476> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004477></TR
4478><TR
4479><TD
4480WIDTH="20%"
4481ALIGN="RIGHT"
4482VALIGN="TOP"
4483><TT
4484CLASS="PARAMETER"
4485><I
4486>elem</I
4487></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004488>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004489><TD
4490WIDTH="80%"
4491ALIGN="LEFT"
4492VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004493> the element carrying the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004494></TR
4495><TR
4496><TD
4497WIDTH="20%"
4498ALIGN="RIGHT"
4499VALIGN="TOP"
4500><TT
4501CLASS="PARAMETER"
4502><I
4503>attr</I
4504></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004505>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004506><TD
4507WIDTH="80%"
4508ALIGN="LEFT"
4509VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004510> the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004511></TR
4512><TR
4513><TD
4514WIDTH="20%"
4515ALIGN="RIGHT"
4516VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004517><SPAN
4518CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004519><I
4520CLASS="EMPHASIS"
4521>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004522></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004523> :</TD
4524><TD
4525WIDTH="80%"
4526ALIGN="LEFT"
4527VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004528>0 or 1 depending on the lookup result</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004529></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004530></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004531></TABLE
4532><P
4533></P
4534></DIV
4535></DIV
4536><HR><DIV
4537CLASS="REFSECT2"
4538><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004539NAME="AEN11025"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004540></A
4541><H3
4542><A
4543NAME="XMLREMOVEID"
4544></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004545>xmlRemoveID ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004546><TABLE
4547BORDER="0"
4548BGCOLOR="#D6E8FF"
4549WIDTH="100%"
4550CELLPADDING="6"
4551><TR
4552><TD
4553><PRE
4554CLASS="PROGRAMLISTING"
4555>int xmlRemoveID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004556HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004557>xmlDocPtr</A
4558> doc,
4559 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004560HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004561>xmlAttrPtr</A
4562> attr);</PRE
4563></TD
4564></TR
4565></TABLE
4566><P
4567>Remove the given attribute from the ID table maintained internally.</P
4568><P
4569></P
4570><DIV
4571CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004572><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004573NAME="AEN11033"
4574></A
4575><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004576></P
4577><TABLE
4578BORDER="0"
4579WIDTH="100%"
4580BGCOLOR="#FFD0D0"
4581CELLSPACING="0"
4582CELLPADDING="4"
4583CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004584><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004585><TR
4586><TD
4587WIDTH="20%"
4588ALIGN="RIGHT"
4589VALIGN="TOP"
4590><TT
4591CLASS="PARAMETER"
4592><I
4593>doc</I
4594></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004595>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004596><TD
4597WIDTH="80%"
4598ALIGN="LEFT"
4599VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004600> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004601></TR
4602><TR
4603><TD
4604WIDTH="20%"
4605ALIGN="RIGHT"
4606VALIGN="TOP"
4607><TT
4608CLASS="PARAMETER"
4609><I
4610>attr</I
4611></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004612>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004613><TD
4614WIDTH="80%"
4615ALIGN="LEFT"
4616VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004617> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004618></TR
4619><TR
4620><TD
4621WIDTH="20%"
4622ALIGN="RIGHT"
4623VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004624><SPAN
4625CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004626><I
4627CLASS="EMPHASIS"
4628>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004629></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004630> :</TD
4631><TD
4632WIDTH="80%"
4633ALIGN="LEFT"
4634VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004635>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004636></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004637></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004638></TABLE
4639><P
4640></P
4641></DIV
4642></DIV
4643><HR><DIV
4644CLASS="REFSECT2"
4645><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004646NAME="AEN11050"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004647></A
4648><H3
4649><A
4650NAME="XMLADDREF"
4651></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004652>xmlAddRef ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004653><TABLE
4654BORDER="0"
4655BGCOLOR="#D6E8FF"
4656WIDTH="100%"
4657CELLPADDING="6"
4658><TR
4659><TD
4660><PRE
4661CLASS="PROGRAMLISTING"
4662><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004663HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004664>xmlRefPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004665> xmlAddRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004666HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004667>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004668> ctxt,
4669 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004670HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004671>xmlDocPtr</A
4672> doc,
4673 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004674HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004675>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004676> *value,
4677 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004678HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004679>xmlAttrPtr</A
4680> attr);</PRE
4681></TD
4682></TR
4683></TABLE
4684><P
4685>Register a new ref declaration</P
4686><P
4687></P
4688><DIV
4689CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004690><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004691NAME="AEN11061"
4692></A
4693><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004694></P
4695><TABLE
4696BORDER="0"
4697WIDTH="100%"
4698BGCOLOR="#FFD0D0"
4699CELLSPACING="0"
4700CELLPADDING="4"
4701CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004702><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004703><TR
4704><TD
4705WIDTH="20%"
4706ALIGN="RIGHT"
4707VALIGN="TOP"
4708><TT
4709CLASS="PARAMETER"
4710><I
4711>ctxt</I
4712></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004713>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004714><TD
4715WIDTH="80%"
4716ALIGN="LEFT"
4717VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004718> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004719></TR
4720><TR
4721><TD
4722WIDTH="20%"
4723ALIGN="RIGHT"
4724VALIGN="TOP"
4725><TT
4726CLASS="PARAMETER"
4727><I
4728>doc</I
4729></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004730>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004731><TD
4732WIDTH="80%"
4733ALIGN="LEFT"
4734VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004735> pointer to the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004736></TR
4737><TR
4738><TD
4739WIDTH="20%"
4740ALIGN="RIGHT"
4741VALIGN="TOP"
4742><TT
4743CLASS="PARAMETER"
4744><I
4745>value</I
4746></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004747>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004748><TD
4749WIDTH="80%"
4750ALIGN="LEFT"
4751VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004752> the value name</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004753></TR
4754><TR
4755><TD
4756WIDTH="20%"
4757ALIGN="RIGHT"
4758VALIGN="TOP"
4759><TT
4760CLASS="PARAMETER"
4761><I
4762>attr</I
4763></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004764>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004765><TD
4766WIDTH="80%"
4767ALIGN="LEFT"
4768VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004769> the attribute holding the Ref</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004770></TR
4771><TR
4772><TD
4773WIDTH="20%"
4774ALIGN="RIGHT"
4775VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004776><SPAN
4777CLASS="emphasis"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004778><I
4779CLASS="EMPHASIS"
4780>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004781></SPAN
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004782> :</TD
4783><TD
4784WIDTH="80%"
4785ALIGN="LEFT"
4786VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004787>NULL if not, otherwise the new xmlRefPtr</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004788></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004789></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004790></TABLE
4791><P
4792></P
4793></DIV
4794></DIV
4795><HR><DIV
4796CLASS="REFSECT2"
4797><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004798NAME="AEN11086"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004799></A
4800><H3
4801><A
4802NAME="XMLFREEREFTABLE"
4803></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004804>xmlFreeRefTable ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004805><TABLE
4806BORDER="0"
4807BGCOLOR="#D6E8FF"
4808WIDTH="100%"
4809CELLPADDING="6"
4810><TR
4811><TD
4812><PRE
4813CLASS="PROGRAMLISTING"
4814>void xmlFreeRefTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004815HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004816>xmlRefTablePtr</A
4817> table);</PRE
4818></TD
4819></TR
4820></TABLE
4821><P
4822>Deallocate the memory used by an Ref hash table.</P
4823><P
4824></P
4825><DIV
4826CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004827><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004828NAME="AEN11093"
4829></A
4830><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004831></P
4832><TABLE
4833BORDER="0"
4834WIDTH="100%"
4835BGCOLOR="#FFD0D0"
4836CELLSPACING="0"
4837CELLPADDING="4"
4838CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004839><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004840><TR
4841><TD
4842WIDTH="20%"
4843ALIGN="RIGHT"
4844VALIGN="TOP"
4845><TT
4846CLASS="PARAMETER"
4847><I
4848>table</I
4849></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004850>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004851><TD
4852WIDTH="80%"
4853ALIGN="LEFT"
4854VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004855> An ref table</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004856></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004857></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004858></TABLE
4859><P
4860></P
4861></DIV
4862></DIV
4863><HR><DIV
4864CLASS="REFSECT2"
4865><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004866NAME="AEN11102"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004867></A
4868><H3
4869><A
4870NAME="XMLISREF"
4871></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004872>xmlIsRef ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004873><TABLE
4874BORDER="0"
4875BGCOLOR="#D6E8FF"
4876WIDTH="100%"
4877CELLPADDING="6"
4878><TR
4879><TD
4880><PRE
4881CLASS="PROGRAMLISTING"
4882>int xmlIsRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004883HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004884>xmlDocPtr</A
4885> doc,
4886 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004887HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004888>xmlNodePtr</A
4889> elem,
4890 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004891HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004892>xmlAttrPtr</A
4893> attr);</PRE
4894></TD
4895></TR
4896></TABLE
4897><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004898>Determine whether an attribute is of type Ref. In case we have DTD(s)
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004899then this is simple, otherwise we use an heuristic: name Ref (upper
4900or lowercase).</P
4901><P
4902></P
4903><DIV
4904CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004905><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004906NAME="AEN11111"
4907></A
4908><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004909></P
4910><TABLE
4911BORDER="0"
4912WIDTH="100%"
4913BGCOLOR="#FFD0D0"
4914CELLSPACING="0"
4915CELLPADDING="4"
4916CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004917><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004918><TR
4919><TD
4920WIDTH="20%"
4921ALIGN="RIGHT"
4922VALIGN="TOP"
4923><TT
4924CLASS="PARAMETER"
4925><I
4926>doc</I
4927></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004928>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004929><TD
4930WIDTH="80%"
4931ALIGN="LEFT"
4932VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004933> the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004934></TR
4935><TR
4936><TD
4937WIDTH="20%"
4938ALIGN="RIGHT"
4939VALIGN="TOP"
4940><TT
4941CLASS="PARAMETER"
4942><I
4943>elem</I
4944></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004945>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004946><TD
4947WIDTH="80%"
4948ALIGN="LEFT"
4949VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004950> the element carrying the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004951></TR
4952><TR
4953><TD
4954WIDTH="20%"
4955ALIGN="RIGHT"
4956VALIGN="TOP"
4957><TT
4958CLASS="PARAMETER"
4959><I
4960>attr</I
4961></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004962>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004963><TD
4964WIDTH="80%"
4965ALIGN="LEFT"
4966VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004967> the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004968></TR
4969><TR
4970><TD
4971WIDTH="20%"
4972ALIGN="RIGHT"
4973VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004974><SPAN
4975CLASS="emphasis"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004976><I
4977CLASS="EMPHASIS"
4978>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004979></SPAN
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004980> :</TD
4981><TD
4982WIDTH="80%"
4983ALIGN="LEFT"
4984VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004985>0 or 1 depending on the lookup result</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004986></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004987></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004988></TABLE
4989><P
4990></P
4991></DIV
4992></DIV
4993><HR><DIV
4994CLASS="REFSECT2"
4995><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004996NAME="AEN11132"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004997></A
4998><H3
4999><A
5000NAME="XMLREMOVEREF"
5001></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005002>xmlRemoveRef ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005003><TABLE
5004BORDER="0"
5005BGCOLOR="#D6E8FF"
5006WIDTH="100%"
5007CELLPADDING="6"
5008><TR
5009><TD
5010><PRE
5011CLASS="PROGRAMLISTING"
5012>int xmlRemoveRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005013HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005014>xmlDocPtr</A
5015> doc,
5016 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005017HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005018>xmlAttrPtr</A
5019> attr);</PRE
5020></TD
5021></TR
5022></TABLE
5023><P
5024>Remove the given attribute from the Ref table maintained internally.</P
5025><P
5026></P
5027><DIV
5028CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005029><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005030NAME="AEN11140"
5031></A
5032><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005033></P
5034><TABLE
5035BORDER="0"
5036WIDTH="100%"
5037BGCOLOR="#FFD0D0"
5038CELLSPACING="0"
5039CELLPADDING="4"
5040CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005041><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005042><TR
5043><TD
5044WIDTH="20%"
5045ALIGN="RIGHT"
5046VALIGN="TOP"
5047><TT
5048CLASS="PARAMETER"
5049><I
5050>doc</I
5051></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005052>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005053><TD
5054WIDTH="80%"
5055ALIGN="LEFT"
5056VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005057> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005058></TR
5059><TR
5060><TD
5061WIDTH="20%"
5062ALIGN="RIGHT"
5063VALIGN="TOP"
5064><TT
5065CLASS="PARAMETER"
5066><I
5067>attr</I
5068></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005069>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005070><TD
5071WIDTH="80%"
5072ALIGN="LEFT"
5073VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005074> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005075></TR
5076><TR
5077><TD
5078WIDTH="20%"
5079ALIGN="RIGHT"
5080VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005081><SPAN
5082CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005083><I
5084CLASS="EMPHASIS"
5085>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005086></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005087> :</TD
5088><TD
5089WIDTH="80%"
5090ALIGN="LEFT"
5091VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005092>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005093></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005094></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005095></TABLE
5096><P
5097></P
5098></DIV
5099></DIV
5100><HR><DIV
5101CLASS="REFSECT2"
5102><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005103NAME="AEN11157"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005104></A
5105><H3
5106><A
5107NAME="XMLGETREFS"
5108></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005109>xmlGetRefs ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00005110><TABLE
5111BORDER="0"
5112BGCOLOR="#D6E8FF"
5113WIDTH="100%"
5114CELLPADDING="6"
5115><TR
5116><TD
5117><PRE
5118CLASS="PROGRAMLISTING"
5119><GTKDOCLINK
5120HREF="XMLLISTPTR"
5121>xmlListPtr</GTKDOCLINK
5122> xmlGetRefs (<A
5123HREF="libxml-tree.html#XMLDOCPTR"
5124>xmlDocPtr</A
5125> doc,
5126 const <A
5127HREF="libxml-tree.html#XMLCHAR"
5128>xmlChar</A
5129> *ID);</PRE
5130></TD
5131></TR
5132></TABLE
5133><P
5134>Find the set of references for the supplied ID.</P
5135><P
5136></P
5137><DIV
5138CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005139><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005140NAME="AEN11166"
5141></A
5142><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00005143></P
5144><TABLE
5145BORDER="0"
5146WIDTH="100%"
5147BGCOLOR="#FFD0D0"
5148CELLSPACING="0"
5149CELLPADDING="4"
5150CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005151><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005152><TR
5153><TD
5154WIDTH="20%"
5155ALIGN="RIGHT"
5156VALIGN="TOP"
5157><TT
5158CLASS="PARAMETER"
5159><I
5160>doc</I
5161></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005162>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005163><TD
5164WIDTH="80%"
5165ALIGN="LEFT"
5166VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005167> pointer to the document</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005168></TR
5169><TR
5170><TD
5171WIDTH="20%"
5172ALIGN="RIGHT"
5173VALIGN="TOP"
5174><TT
5175CLASS="PARAMETER"
5176><I
5177>ID</I
5178></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005179>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005180><TD
5181WIDTH="80%"
5182ALIGN="LEFT"
5183VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005184> the ID value</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005185></TR
5186><TR
5187><TD
5188WIDTH="20%"
5189ALIGN="RIGHT"
5190VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005191><SPAN
5192CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005193><I
5194CLASS="EMPHASIS"
5195>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005196></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +00005197> :</TD
5198><TD
5199WIDTH="80%"
5200ALIGN="LEFT"
5201VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005202>NULL if not found, otherwise node set for the ID.</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005203></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005204></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005205></TABLE
5206><P
5207></P
5208></DIV
5209></DIV
5210><HR><DIV
5211CLASS="REFSECT2"
5212><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005213NAME="AEN11183"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005214></A
5215><H3
5216><A
5217NAME="XMLVALIDATEROOT"
5218></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005219>xmlValidateRoot ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005220><TABLE
5221BORDER="0"
5222BGCOLOR="#D6E8FF"
5223WIDTH="100%"
5224CELLPADDING="6"
5225><TR
5226><TD
5227><PRE
5228CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005229>int xmlValidateRoot (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005230HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005231>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005232> ctxt,
5233 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005234HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005235>xmlDocPtr</A
5236> doc);</PRE
5237></TD
5238></TR
5239></TABLE
5240><P
5241>Try to validate a the root element
5242basically it does the following check as described by the
5243XML-1.0 recommendation:
Daniel Veillardaec63562003-03-23 20:42:17 +00005244 - [ VC: Root Element Type ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00005245it doesn't try to recurse or apply other check to the element</P
5246><P
5247></P
5248><DIV
5249CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005250><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005251NAME="AEN11191"
5252></A
5253><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005254></P
5255><TABLE
5256BORDER="0"
5257WIDTH="100%"
5258BGCOLOR="#FFD0D0"
5259CELLSPACING="0"
5260CELLPADDING="4"
5261CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005262><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005263><TR
5264><TD
5265WIDTH="20%"
5266ALIGN="RIGHT"
5267VALIGN="TOP"
5268><TT
5269CLASS="PARAMETER"
5270><I
5271>ctxt</I
5272></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005273>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005274><TD
5275WIDTH="80%"
5276ALIGN="LEFT"
5277VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005278> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005279></TR
5280><TR
5281><TD
5282WIDTH="20%"
5283ALIGN="RIGHT"
5284VALIGN="TOP"
5285><TT
5286CLASS="PARAMETER"
5287><I
5288>doc</I
5289></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005290>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005291><TD
5292WIDTH="80%"
5293ALIGN="LEFT"
5294VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005295> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005296></TR
5297><TR
5298><TD
5299WIDTH="20%"
5300ALIGN="RIGHT"
5301VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005302><SPAN
5303CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005304><I
5305CLASS="EMPHASIS"
5306>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005307></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00005308> :</TD
5309><TD
5310WIDTH="80%"
5311ALIGN="LEFT"
5312VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005313>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005314></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005315></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005316></TABLE
5317><P
5318></P
5319></DIV
5320></DIV
5321><HR><DIV
5322CLASS="REFSECT2"
5323><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005324NAME="AEN11208"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005325></A
5326><H3
5327><A
5328NAME="XMLVALIDATEELEMENTDECL"
5329></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005330>xmlValidateElementDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005331><TABLE
5332BORDER="0"
5333BGCOLOR="#D6E8FF"
5334WIDTH="100%"
5335CELLPADDING="6"
5336><TR
5337><TD
5338><PRE
5339CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005340>int xmlValidateElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005341HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005342>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005343> ctxt,
5344 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005345HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005346>xmlDocPtr</A
5347> doc,
5348 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005349HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005350>xmlElementPtr</A
5351> elem);</PRE
5352></TD
5353></TR
5354></TABLE
5355><P
5356>Try to validate a single element definition
5357basically it does the following checks as described by the
5358XML-1.0 recommendation:
Daniel Veillardaec63562003-03-23 20:42:17 +00005359 - [ VC: One ID per Element Type ]
5360 - [ VC: No Duplicate Types ]
5361 - [ VC: Unique Element Type Declaration ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005362><P
5363></P
5364><DIV
5365CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005366><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005367NAME="AEN11217"
5368></A
5369><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005370></P
5371><TABLE
5372BORDER="0"
5373WIDTH="100%"
5374BGCOLOR="#FFD0D0"
5375CELLSPACING="0"
5376CELLPADDING="4"
5377CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005378><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005379><TR
5380><TD
5381WIDTH="20%"
5382ALIGN="RIGHT"
5383VALIGN="TOP"
5384><TT
5385CLASS="PARAMETER"
5386><I
5387>ctxt</I
5388></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005389>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005390><TD
5391WIDTH="80%"
5392ALIGN="LEFT"
5393VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005394> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005395></TR
5396><TR
5397><TD
5398WIDTH="20%"
5399ALIGN="RIGHT"
5400VALIGN="TOP"
5401><TT
5402CLASS="PARAMETER"
5403><I
5404>doc</I
5405></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005406>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005407><TD
5408WIDTH="80%"
5409ALIGN="LEFT"
5410VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005411> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005412></TR
5413><TR
5414><TD
5415WIDTH="20%"
5416ALIGN="RIGHT"
5417VALIGN="TOP"
5418><TT
5419CLASS="PARAMETER"
5420><I
5421>elem</I
5422></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005423>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005424><TD
5425WIDTH="80%"
5426ALIGN="LEFT"
5427VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005428> an element definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005429></TR
5430><TR
5431><TD
5432WIDTH="20%"
5433ALIGN="RIGHT"
5434VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005435><SPAN
5436CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005437><I
5438CLASS="EMPHASIS"
5439>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005440></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00005441> :</TD
5442><TD
5443WIDTH="80%"
5444ALIGN="LEFT"
5445VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005446>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005447></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005448></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005449></TABLE
5450><P
5451></P
5452></DIV
5453></DIV
5454><HR><DIV
5455CLASS="REFSECT2"
5456><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005457NAME="AEN11238"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005458></A
5459><H3
5460><A
5461NAME="XMLVALIDNORMALIZEATTRIBUTEVALUE"
5462></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005463>xmlValidNormalizeAttributeValue ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005464><TABLE
5465BORDER="0"
5466BGCOLOR="#D6E8FF"
5467WIDTH="100%"
5468CELLPADDING="6"
5469><TR
5470><TD
5471><PRE
5472CLASS="PROGRAMLISTING"
5473><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005474HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005475>xmlChar</A
5476>* xmlValidNormalizeAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005477HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005478>xmlDocPtr</A
5479> doc,
5480 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005481HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005482>xmlNodePtr</A
5483> elem,
5484 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005485HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005486>xmlChar</A
5487> *name,
5488 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005489HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005490>xmlChar</A
5491> *value);</PRE
5492></TD
5493></TR
5494></TABLE
5495><P
5496>Does the validation related extra step of the normalization of attribute
5497values:</P
5498><P
5499>If the declared value is not CDATA, then the XML processor must further
5500process the normalized attribute value by discarding any leading and
5501trailing space (<GTKDOCLINK
5502HREF="X20"
5503>x20</GTKDOCLINK
5504>) characters, and by replacing sequences of space
5505(<GTKDOCLINK
5506HREF="X20"
5507>x20</GTKDOCLINK
5508>) characters by single space (<GTKDOCLINK
5509HREF="X20"
5510>x20</GTKDOCLINK
5511>) character.</P
5512><P
5513></P
5514><DIV
5515CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005516><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005517NAME="AEN11253"
5518></A
5519><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005520></P
5521><TABLE
5522BORDER="0"
5523WIDTH="100%"
5524BGCOLOR="#FFD0D0"
5525CELLSPACING="0"
5526CELLPADDING="4"
5527CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005528><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005529><TR
5530><TD
5531WIDTH="20%"
5532ALIGN="RIGHT"
5533VALIGN="TOP"
5534><TT
5535CLASS="PARAMETER"
5536><I
5537>doc</I
5538></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005539>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005540><TD
5541WIDTH="80%"
5542ALIGN="LEFT"
5543VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005544> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005545></TR
5546><TR
5547><TD
5548WIDTH="20%"
5549ALIGN="RIGHT"
5550VALIGN="TOP"
5551><TT
5552CLASS="PARAMETER"
5553><I
5554>elem</I
5555></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005556>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005557><TD
5558WIDTH="80%"
5559ALIGN="LEFT"
5560VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005561> the parent</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005562></TR
5563><TR
5564><TD
5565WIDTH="20%"
5566ALIGN="RIGHT"
5567VALIGN="TOP"
5568><TT
5569CLASS="PARAMETER"
5570><I
5571>name</I
5572></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005573>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005574><TD
5575WIDTH="80%"
5576ALIGN="LEFT"
5577VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005578> the attribute name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005579></TR
5580><TR
5581><TD
5582WIDTH="20%"
5583ALIGN="RIGHT"
5584VALIGN="TOP"
5585><TT
5586CLASS="PARAMETER"
5587><I
5588>value</I
5589></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005590>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005591><TD
5592WIDTH="80%"
5593ALIGN="LEFT"
5594VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005595> the attribute value</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005596></TR
5597><TR
5598><TD
5599WIDTH="20%"
5600ALIGN="RIGHT"
5601VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005602><SPAN
5603CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005604><I
5605CLASS="EMPHASIS"
5606>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005607></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005608> :</TD
5609><TD
5610WIDTH="80%"
5611ALIGN="LEFT"
5612VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005613>a new normalized string if normalization is needed, NULL otherwise
Daniel Veillardaec63562003-03-23 20:42:17 +00005614 the caller must free the returned value.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005615></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005616></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005617></TABLE
5618><P
5619></P
5620></DIV
5621></DIV
5622><HR><DIV
5623CLASS="REFSECT2"
5624><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005625NAME="AEN11278"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005626></A
5627><H3
5628><A
5629NAME="XMLVALIDCTXTNORMALIZEATTRIBUTEVALUE"
5630></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005631>xmlValidCtxtNormalizeAttributeValue ()</H3
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005632><TABLE
5633BORDER="0"
5634BGCOLOR="#D6E8FF"
5635WIDTH="100%"
5636CELLPADDING="6"
5637><TR
5638><TD
5639><PRE
5640CLASS="PROGRAMLISTING"
5641><A
5642HREF="libxml-tree.html#XMLCHAR"
5643>xmlChar</A
5644>* xmlValidCtxtNormalizeAttributeValue
5645 (<A
5646HREF="libxml-valid.html#XMLVALIDCTXTPTR"
5647>xmlValidCtxtPtr</A
5648> ctxt,
5649 <A
5650HREF="libxml-tree.html#XMLDOCPTR"
5651>xmlDocPtr</A
5652> doc,
5653 <A
5654HREF="libxml-tree.html#XMLNODEPTR"
5655>xmlNodePtr</A
5656> elem,
5657 const <A
5658HREF="libxml-tree.html#XMLCHAR"
5659>xmlChar</A
5660> *name,
5661 const <A
5662HREF="libxml-tree.html#XMLCHAR"
5663>xmlChar</A
5664> *value);</PRE
5665></TD
5666></TR
5667></TABLE
5668><P
5669>Does the validation related extra step of the normalization of attribute
5670values:</P
5671><P
5672>If the declared value is not CDATA, then the XML processor must further
5673process the normalized attribute value by discarding any leading and
5674trailing space (<GTKDOCLINK
5675HREF="X20"
5676>x20</GTKDOCLINK
5677>) characters, and by replacing sequences of space
5678(<GTKDOCLINK
5679HREF="X20"
5680>x20</GTKDOCLINK
5681>) characters by single space (<GTKDOCLINK
5682HREF="X20"
5683>x20</GTKDOCLINK
5684>) character.</P
5685><P
5686>Also check VC: Standalone Document Declaration in P32, and update
Daniel Veillardaec63562003-03-23 20:42:17 +00005687 ctxt-&gt;valid accordingly</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005688><P
5689></P
5690><DIV
5691CLASS="INFORMALTABLE"
5692><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005693NAME="AEN11295"
5694></A
5695><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005696></P
5697><TABLE
5698BORDER="0"
5699WIDTH="100%"
5700BGCOLOR="#FFD0D0"
5701CELLSPACING="0"
5702CELLPADDING="4"
5703CLASS="CALSTABLE"
5704><TBODY
5705><TR
5706><TD
5707WIDTH="20%"
5708ALIGN="RIGHT"
5709VALIGN="TOP"
5710><TT
5711CLASS="PARAMETER"
5712><I
5713>ctxt</I
5714></TT
5715>&nbsp;:</TD
5716><TD
5717WIDTH="80%"
5718ALIGN="LEFT"
5719VALIGN="TOP"
5720> the validation context</TD
5721></TR
5722><TR
5723><TD
5724WIDTH="20%"
5725ALIGN="RIGHT"
5726VALIGN="TOP"
5727><TT
5728CLASS="PARAMETER"
5729><I
5730>doc</I
5731></TT
5732>&nbsp;:</TD
5733><TD
5734WIDTH="80%"
5735ALIGN="LEFT"
5736VALIGN="TOP"
5737> the document</TD
5738></TR
5739><TR
5740><TD
5741WIDTH="20%"
5742ALIGN="RIGHT"
5743VALIGN="TOP"
5744><TT
5745CLASS="PARAMETER"
5746><I
5747>elem</I
5748></TT
5749>&nbsp;:</TD
5750><TD
5751WIDTH="80%"
5752ALIGN="LEFT"
5753VALIGN="TOP"
5754> the parent</TD
5755></TR
5756><TR
5757><TD
5758WIDTH="20%"
5759ALIGN="RIGHT"
5760VALIGN="TOP"
5761><TT
5762CLASS="PARAMETER"
5763><I
5764>name</I
5765></TT
5766>&nbsp;:</TD
5767><TD
5768WIDTH="80%"
5769ALIGN="LEFT"
5770VALIGN="TOP"
5771> the attribute name</TD
5772></TR
5773><TR
5774><TD
5775WIDTH="20%"
5776ALIGN="RIGHT"
5777VALIGN="TOP"
5778><TT
5779CLASS="PARAMETER"
5780><I
5781>value</I
5782></TT
5783>&nbsp;:</TD
5784><TD
5785WIDTH="80%"
5786ALIGN="LEFT"
5787VALIGN="TOP"
5788> the attribute value</TD
5789></TR
5790><TR
5791><TD
5792WIDTH="20%"
5793ALIGN="RIGHT"
5794VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005795><SPAN
5796CLASS="emphasis"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005797><I
5798CLASS="EMPHASIS"
5799>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005800></SPAN
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005801> :</TD
5802><TD
5803WIDTH="80%"
5804ALIGN="LEFT"
5805VALIGN="TOP"
5806>a new normalized string if normalization is needed, NULL otherwise
Daniel Veillardaec63562003-03-23 20:42:17 +00005807 the caller must free the returned value.</TD
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005808></TR
5809></TBODY
5810></TABLE
5811><P
5812></P
5813></DIV
5814></DIV
5815><HR><DIV
5816CLASS="REFSECT2"
5817><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005818NAME="AEN11324"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005819></A
5820><H3
5821><A
5822NAME="XMLVALIDATEATTRIBUTEDECL"
5823></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005824>xmlValidateAttributeDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005825><TABLE
5826BORDER="0"
5827BGCOLOR="#D6E8FF"
5828WIDTH="100%"
5829CELLPADDING="6"
5830><TR
5831><TD
5832><PRE
5833CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005834>int xmlValidateAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005835HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005836>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005837> ctxt,
5838 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005839HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005840>xmlDocPtr</A
5841> doc,
5842 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005843HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005844>xmlAttributePtr</A
5845> attr);</PRE
5846></TD
5847></TR
5848></TABLE
5849><P
5850>Try to validate a single attribute definition
5851basically it does the following checks as described by the
5852XML-1.0 recommendation:
Daniel Veillardaec63562003-03-23 20:42:17 +00005853 - [ VC: Attribute Default Legal ]
5854 - [ VC: Enumeration ]
5855 - [ VC: ID Attribute Default ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005856><P
5857>The ID/IDREF uniqueness and matching are done separately</P
5858><P
5859></P
5860><DIV
5861CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005862><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005863NAME="AEN11334"
5864></A
5865><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005866></P
5867><TABLE
5868BORDER="0"
5869WIDTH="100%"
5870BGCOLOR="#FFD0D0"
5871CELLSPACING="0"
5872CELLPADDING="4"
5873CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005874><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005875><TR
5876><TD
5877WIDTH="20%"
5878ALIGN="RIGHT"
5879VALIGN="TOP"
5880><TT
5881CLASS="PARAMETER"
5882><I
5883>ctxt</I
5884></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005885>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005886><TD
5887WIDTH="80%"
5888ALIGN="LEFT"
5889VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005890> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005891></TR
5892><TR
5893><TD
5894WIDTH="20%"
5895ALIGN="RIGHT"
5896VALIGN="TOP"
5897><TT
5898CLASS="PARAMETER"
5899><I
5900>doc</I
5901></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005902>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005903><TD
5904WIDTH="80%"
5905ALIGN="LEFT"
5906VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005907> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005908></TR
5909><TR
5910><TD
5911WIDTH="20%"
5912ALIGN="RIGHT"
5913VALIGN="TOP"
5914><TT
5915CLASS="PARAMETER"
5916><I
5917>attr</I
5918></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005919>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005920><TD
5921WIDTH="80%"
5922ALIGN="LEFT"
5923VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005924> an attribute definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005925></TR
5926><TR
5927><TD
5928WIDTH="20%"
5929ALIGN="RIGHT"
5930VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005931><SPAN
5932CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005933><I
5934CLASS="EMPHASIS"
5935>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005936></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00005937> :</TD
5938><TD
5939WIDTH="80%"
5940ALIGN="LEFT"
5941VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005942>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005943></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005944></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005945></TABLE
5946><P
5947></P
5948></DIV
5949></DIV
5950><HR><DIV
5951CLASS="REFSECT2"
5952><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005953NAME="AEN11355"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005954></A
5955><H3
5956><A
5957NAME="XMLVALIDATEATTRIBUTEVALUE"
5958></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005959>xmlValidateAttributeValue ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005960><TABLE
5961BORDER="0"
5962BGCOLOR="#D6E8FF"
5963WIDTH="100%"
5964CELLPADDING="6"
5965><TR
5966><TD
5967><PRE
5968CLASS="PROGRAMLISTING"
5969>int xmlValidateAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005970HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005971>xmlAttributeType</A
5972> type,
5973 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005974HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005975>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005976> *value);</PRE
5977></TD
5978></TR
5979></TABLE
5980><P
5981>Validate that the given attribute value match the proper production</P
5982><P
5983>[ VC: ID ]
5984Values of type ID must match the Name production....</P
5985><P
5986>[ VC: IDREF ]
5987Values of type IDREF must match the Name production, and values
5988of type IDREFS must match Names ...</P
5989><P
5990>[ VC: Entity Name ]
5991Values of type ENTITY must match the Name production, values
5992of type ENTITIES must match Names ...</P
5993><P
5994>[ VC: Name Token ]
5995Values of type NMTOKEN must match the Nmtoken production; values
5996of type NMTOKENS must match Nmtokens.</P
5997><P
5998></P
5999><DIV
6000CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006001><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006002NAME="AEN11367"
6003></A
6004><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006005></P
6006><TABLE
6007BORDER="0"
6008WIDTH="100%"
6009BGCOLOR="#FFD0D0"
6010CELLSPACING="0"
6011CELLPADDING="4"
6012CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006013><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006014><TR
6015><TD
6016WIDTH="20%"
6017ALIGN="RIGHT"
6018VALIGN="TOP"
6019><TT
6020CLASS="PARAMETER"
6021><I
6022>type</I
6023></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006024>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006025><TD
6026WIDTH="80%"
6027ALIGN="LEFT"
6028VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006029> an attribute type</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006030></TR
6031><TR
6032><TD
6033WIDTH="20%"
6034ALIGN="RIGHT"
6035VALIGN="TOP"
6036><TT
6037CLASS="PARAMETER"
6038><I
6039>value</I
6040></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006041>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006042><TD
6043WIDTH="80%"
6044ALIGN="LEFT"
6045VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006046> an attribute value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006047></TR
6048><TR
6049><TD
6050WIDTH="20%"
6051ALIGN="RIGHT"
6052VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006053><SPAN
6054CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006055><I
6056CLASS="EMPHASIS"
6057>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006058></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006059> :</TD
6060><TD
6061WIDTH="80%"
6062ALIGN="LEFT"
6063VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006064>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006065></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006066></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006067></TABLE
6068><P
6069></P
6070></DIV
6071></DIV
6072><HR><DIV
6073CLASS="REFSECT2"
6074><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006075NAME="AEN11384"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006076></A
6077><H3
6078><A
6079NAME="XMLVALIDATENOTATIONDECL"
6080></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006081>xmlValidateNotationDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006082><TABLE
6083BORDER="0"
6084BGCOLOR="#D6E8FF"
6085WIDTH="100%"
6086CELLPADDING="6"
6087><TR
6088><TD
6089><PRE
6090CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006091>int xmlValidateNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006092HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006093>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006094> ctxt,
6095 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006096HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006097>xmlDocPtr</A
6098> doc,
6099 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006100HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006101>xmlNotationPtr</A
6102> nota);</PRE
6103></TD
6104></TR
6105></TABLE
6106><P
6107>Try to validate a single notation definition
6108basically it does the following checks as described by the
6109XML-1.0 recommendation:
Daniel Veillardaec63562003-03-23 20:42:17 +00006110 - it seems that no validity constraint exists on notation declarations
Daniel Veillardb05deb71999-08-10 19:04:08 +00006111But this function get called anyway ...</P
6112><P
6113></P
6114><DIV
6115CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006116><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006117NAME="AEN11393"
6118></A
6119><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006120></P
6121><TABLE
6122BORDER="0"
6123WIDTH="100%"
6124BGCOLOR="#FFD0D0"
6125CELLSPACING="0"
6126CELLPADDING="4"
6127CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006128><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006129><TR
6130><TD
6131WIDTH="20%"
6132ALIGN="RIGHT"
6133VALIGN="TOP"
6134><TT
6135CLASS="PARAMETER"
6136><I
6137>ctxt</I
6138></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006139>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006140><TD
6141WIDTH="80%"
6142ALIGN="LEFT"
6143VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006144> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006145></TR
6146><TR
6147><TD
6148WIDTH="20%"
6149ALIGN="RIGHT"
6150VALIGN="TOP"
6151><TT
6152CLASS="PARAMETER"
6153><I
6154>doc</I
6155></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006156>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006157><TD
6158WIDTH="80%"
6159ALIGN="LEFT"
6160VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006161> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006162></TR
6163><TR
6164><TD
6165WIDTH="20%"
6166ALIGN="RIGHT"
6167VALIGN="TOP"
6168><TT
6169CLASS="PARAMETER"
6170><I
6171>nota</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 Veillard4b8328d2001-07-05 22:48:42 +00006178> a notation definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006179></TR
6180><TR
6181><TD
6182WIDTH="20%"
6183ALIGN="RIGHT"
6184VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006185><SPAN
6186CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006187><I
6188CLASS="EMPHASIS"
6189>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006190></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006191> :</TD
6192><TD
6193WIDTH="80%"
6194ALIGN="LEFT"
6195VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006196>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006197></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006198></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006199></TABLE
6200><P
6201></P
6202></DIV
6203></DIV
6204><HR><DIV
6205CLASS="REFSECT2"
6206><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006207NAME="AEN11414"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006208></A
6209><H3
6210><A
6211NAME="XMLVALIDATEDTD"
6212></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006213>xmlValidateDtd ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006214><TABLE
6215BORDER="0"
6216BGCOLOR="#D6E8FF"
6217WIDTH="100%"
6218CELLPADDING="6"
6219><TR
6220><TD
6221><PRE
6222CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006223>int xmlValidateDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006224HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006225>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006226> ctxt,
6227 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006228HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006229>xmlDocPtr</A
6230> doc,
6231 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006232HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006233>xmlDtdPtr</A
6234> dtd);</PRE
6235></TD
6236></TR
6237></TABLE
6238><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006239>Try to validate the document against the dtd instance</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006240><P
6241>basically it does check all the definitions in the DtD.</P
6242><P
6243></P
6244><DIV
6245CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006246><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006247NAME="AEN11424"
6248></A
6249><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006250></P
6251><TABLE
6252BORDER="0"
6253WIDTH="100%"
6254BGCOLOR="#FFD0D0"
6255CELLSPACING="0"
6256CELLPADDING="4"
6257CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006258><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006259><TR
6260><TD
6261WIDTH="20%"
6262ALIGN="RIGHT"
6263VALIGN="TOP"
6264><TT
6265CLASS="PARAMETER"
6266><I
6267>ctxt</I
6268></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006269>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006270><TD
6271WIDTH="80%"
6272ALIGN="LEFT"
6273VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006274> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006275></TR
6276><TR
6277><TD
6278WIDTH="20%"
6279ALIGN="RIGHT"
6280VALIGN="TOP"
6281><TT
6282CLASS="PARAMETER"
6283><I
6284>doc</I
6285></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006286>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006287><TD
6288WIDTH="80%"
6289ALIGN="LEFT"
6290VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006291> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006292></TR
6293><TR
6294><TD
6295WIDTH="20%"
6296ALIGN="RIGHT"
6297VALIGN="TOP"
6298><TT
6299CLASS="PARAMETER"
6300><I
6301>dtd</I
6302></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006303>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006304><TD
6305WIDTH="80%"
6306ALIGN="LEFT"
6307VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006308> a dtd instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006309></TR
6310><TR
6311><TD
6312WIDTH="20%"
6313ALIGN="RIGHT"
6314VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006315><SPAN
6316CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006317><I
6318CLASS="EMPHASIS"
6319>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006320></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006321> :</TD
6322><TD
6323WIDTH="80%"
6324ALIGN="LEFT"
6325VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006326>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006327></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006328></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006329></TABLE
6330><P
6331></P
6332></DIV
6333></DIV
6334><HR><DIV
6335CLASS="REFSECT2"
6336><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006337NAME="AEN11445"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006338></A
6339><H3
6340><A
6341NAME="XMLVALIDATEDTDFINAL"
6342></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006343>xmlValidateDtdFinal ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006344><TABLE
6345BORDER="0"
6346BGCOLOR="#D6E8FF"
6347WIDTH="100%"
6348CELLPADDING="6"
6349><TR
6350><TD
6351><PRE
6352CLASS="PROGRAMLISTING"
6353>int xmlValidateDtdFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006354HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006355>xmlValidCtxtPtr</A
6356> ctxt,
6357 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006358HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006359>xmlDocPtr</A
6360> doc);</PRE
6361></TD
6362></TR
6363></TABLE
6364><P
6365>Does the final step for the dtds validation once all the
6366subsets have been parsed</P
6367><P
6368>basically it does the following checks described by the XML Rec
6369- check that ENTITY and ENTITIES type attributes default or
Daniel Veillardaec63562003-03-23 20:42:17 +00006370 possible values matches one of the defined entities.
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006371- check that NOTATION type attributes default or
Daniel Veillardaec63562003-03-23 20:42:17 +00006372 possible values matches one of the defined notations.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006373><P
6374></P
6375><DIV
6376CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006377><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006378NAME="AEN11454"
6379></A
6380><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006381></P
6382><TABLE
6383BORDER="0"
6384WIDTH="100%"
6385BGCOLOR="#FFD0D0"
6386CELLSPACING="0"
6387CELLPADDING="4"
6388CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006389><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006390><TR
6391><TD
6392WIDTH="20%"
6393ALIGN="RIGHT"
6394VALIGN="TOP"
6395><TT
6396CLASS="PARAMETER"
6397><I
6398>ctxt</I
6399></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006400>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006401><TD
6402WIDTH="80%"
6403ALIGN="LEFT"
6404VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006405> the validation context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006406></TR
6407><TR
6408><TD
6409WIDTH="20%"
6410ALIGN="RIGHT"
6411VALIGN="TOP"
6412><TT
6413CLASS="PARAMETER"
6414><I
6415>doc</I
6416></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006417>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006418><TD
6419WIDTH="80%"
6420ALIGN="LEFT"
6421VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006422> a document instance</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006423></TR
6424><TR
6425><TD
6426WIDTH="20%"
6427ALIGN="RIGHT"
6428VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006429><SPAN
6430CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006431><I
6432CLASS="EMPHASIS"
6433>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006434></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006435> :</TD
6436><TD
6437WIDTH="80%"
6438ALIGN="LEFT"
6439VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006440>1 if valid or 0 if invalid and -1 if not well-formed</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006441></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006442></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006443></TABLE
6444><P
6445></P
6446></DIV
6447></DIV
6448><HR><DIV
6449CLASS="REFSECT2"
6450><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006451NAME="AEN11471"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006452></A
6453><H3
6454><A
6455NAME="XMLVALIDATEDOCUMENT"
6456></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006457>xmlValidateDocument ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006458><TABLE
6459BORDER="0"
6460BGCOLOR="#D6E8FF"
6461WIDTH="100%"
6462CELLPADDING="6"
6463><TR
6464><TD
6465><PRE
6466CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006467>int xmlValidateDocument (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006468HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006469>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006470> ctxt,
6471 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006472HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006473>xmlDocPtr</A
6474> doc);</PRE
6475></TD
6476></TR
6477></TABLE
6478><P
6479>Try to validate the document instance</P
6480><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006481>basically it does the all the checks described by the XML Rec
Daniel Veillardb05deb71999-08-10 19:04:08 +00006482i.e. validates the internal and external subset (if present)
6483and validate the document tree.</P
6484><P
6485></P
6486><DIV
6487CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006488><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006489NAME="AEN11480"
6490></A
6491><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006492></P
6493><TABLE
6494BORDER="0"
6495WIDTH="100%"
6496BGCOLOR="#FFD0D0"
6497CELLSPACING="0"
6498CELLPADDING="4"
6499CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006500><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006501><TR
6502><TD
6503WIDTH="20%"
6504ALIGN="RIGHT"
6505VALIGN="TOP"
6506><TT
6507CLASS="PARAMETER"
6508><I
6509>ctxt</I
6510></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006511>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006512><TD
6513WIDTH="80%"
6514ALIGN="LEFT"
6515VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006516> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006517></TR
6518><TR
6519><TD
6520WIDTH="20%"
6521ALIGN="RIGHT"
6522VALIGN="TOP"
6523><TT
6524CLASS="PARAMETER"
6525><I
6526>doc</I
6527></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006528>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006529><TD
6530WIDTH="80%"
6531ALIGN="LEFT"
6532VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006533> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006534></TR
6535><TR
6536><TD
6537WIDTH="20%"
6538ALIGN="RIGHT"
6539VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006540><SPAN
6541CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006542><I
6543CLASS="EMPHASIS"
6544>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006545></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006546> :</TD
6547><TD
6548WIDTH="80%"
6549ALIGN="LEFT"
6550VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006551>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006552></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006553></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006554></TABLE
6555><P
6556></P
6557></DIV
6558></DIV
6559><HR><DIV
6560CLASS="REFSECT2"
6561><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006562NAME="AEN11497"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006563></A
6564><H3
6565><A
6566NAME="XMLVALIDATEELEMENT"
6567></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006568>xmlValidateElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006569><TABLE
6570BORDER="0"
6571BGCOLOR="#D6E8FF"
6572WIDTH="100%"
6573CELLPADDING="6"
6574><TR
6575><TD
6576><PRE
6577CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006578>int xmlValidateElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006579HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006580>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006581> ctxt,
6582 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006583HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006584>xmlDocPtr</A
6585> doc,
6586 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006587HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006588>xmlNodePtr</A
6589> elem);</PRE
6590></TD
6591></TR
6592></TABLE
6593><P
6594>Try to validate the subtree under an element</P
6595><P
6596></P
6597><DIV
6598CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006599><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006600NAME="AEN11506"
6601></A
6602><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006603></P
6604><TABLE
6605BORDER="0"
6606WIDTH="100%"
6607BGCOLOR="#FFD0D0"
6608CELLSPACING="0"
6609CELLPADDING="4"
6610CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006611><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006612><TR
6613><TD
6614WIDTH="20%"
6615ALIGN="RIGHT"
6616VALIGN="TOP"
6617><TT
6618CLASS="PARAMETER"
6619><I
6620>ctxt</I
6621></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006622>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006623><TD
6624WIDTH="80%"
6625ALIGN="LEFT"
6626VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006627> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006628></TR
6629><TR
6630><TD
6631WIDTH="20%"
6632ALIGN="RIGHT"
6633VALIGN="TOP"
6634><TT
6635CLASS="PARAMETER"
6636><I
6637>doc</I
6638></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006639>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006640><TD
6641WIDTH="80%"
6642ALIGN="LEFT"
6643VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006644> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006645></TR
6646><TR
6647><TD
6648WIDTH="20%"
6649ALIGN="RIGHT"
6650VALIGN="TOP"
6651><TT
6652CLASS="PARAMETER"
6653><I
6654>elem</I
6655></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006656>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006657><TD
6658WIDTH="80%"
6659ALIGN="LEFT"
6660VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006661> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006662></TR
6663><TR
6664><TD
6665WIDTH="20%"
6666ALIGN="RIGHT"
6667VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006668><SPAN
6669CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006670><I
6671CLASS="EMPHASIS"
6672>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006673></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006674> :</TD
6675><TD
6676WIDTH="80%"
6677ALIGN="LEFT"
6678VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006679>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006680></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006681></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006682></TABLE
6683><P
6684></P
6685></DIV
6686></DIV
6687><HR><DIV
6688CLASS="REFSECT2"
6689><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006690NAME="AEN11527"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006691></A
6692><H3
6693><A
6694NAME="XMLVALIDATEONEELEMENT"
6695></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006696>xmlValidateOneElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006697><TABLE
6698BORDER="0"
6699BGCOLOR="#D6E8FF"
6700WIDTH="100%"
6701CELLPADDING="6"
6702><TR
6703><TD
6704><PRE
6705CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006706>int xmlValidateOneElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006707HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006708>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006709> ctxt,
6710 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006711HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006712>xmlDocPtr</A
6713> doc,
6714 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006715HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006716>xmlNodePtr</A
6717> elem);</PRE
6718></TD
6719></TR
6720></TABLE
6721><P
6722>Try to validate a single element and it's attributes,
6723basically it does the following checks as described by the
6724XML-1.0 recommendation:
Daniel Veillardaec63562003-03-23 20:42:17 +00006725 - [ VC: Element Valid ]
6726 - [ VC: Required Attribute ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00006727Then call <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006728HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006729>xmlValidateOneAttribute</A
6730>() for each attribute present.</P
6731><P
6732>The ID/IDREF checkings are done separately</P
6733><P
6734></P
6735><DIV
6736CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006737><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006738NAME="AEN11538"
6739></A
6740><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006741></P
6742><TABLE
6743BORDER="0"
6744WIDTH="100%"
6745BGCOLOR="#FFD0D0"
6746CELLSPACING="0"
6747CELLPADDING="4"
6748CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006749><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006750><TR
6751><TD
6752WIDTH="20%"
6753ALIGN="RIGHT"
6754VALIGN="TOP"
6755><TT
6756CLASS="PARAMETER"
6757><I
6758>ctxt</I
6759></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006760>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006761><TD
6762WIDTH="80%"
6763ALIGN="LEFT"
6764VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006765> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006766></TR
6767><TR
6768><TD
6769WIDTH="20%"
6770ALIGN="RIGHT"
6771VALIGN="TOP"
6772><TT
6773CLASS="PARAMETER"
6774><I
6775>doc</I
6776></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006777>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006778><TD
6779WIDTH="80%"
6780ALIGN="LEFT"
6781VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006782> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006783></TR
6784><TR
6785><TD
6786WIDTH="20%"
6787ALIGN="RIGHT"
6788VALIGN="TOP"
6789><TT
6790CLASS="PARAMETER"
6791><I
6792>elem</I
6793></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006794>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006795><TD
6796WIDTH="80%"
6797ALIGN="LEFT"
6798VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006799> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006800></TR
6801><TR
6802><TD
6803WIDTH="20%"
6804ALIGN="RIGHT"
6805VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006806><SPAN
6807CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006808><I
6809CLASS="EMPHASIS"
6810>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006811></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006812> :</TD
6813><TD
6814WIDTH="80%"
6815ALIGN="LEFT"
6816VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006817>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006818></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006819></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006820></TABLE
6821><P
6822></P
6823></DIV
6824></DIV
6825><HR><DIV
6826CLASS="REFSECT2"
6827><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006828NAME="AEN11559"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006829></A
6830><H3
6831><A
6832NAME="XMLVALIDATEONEATTRIBUTE"
6833></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006834>xmlValidateOneAttribute ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006835><TABLE
6836BORDER="0"
6837BGCOLOR="#D6E8FF"
6838WIDTH="100%"
6839CELLPADDING="6"
6840><TR
6841><TD
6842><PRE
6843CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006844>int xmlValidateOneAttribute (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006845HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006846>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006847> ctxt,
6848 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006849HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006850>xmlDocPtr</A
6851> doc,
6852 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006853HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006854>xmlNodePtr</A
6855> elem,
6856 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006857HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006858>xmlAttrPtr</A
6859> attr,
6860 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006861HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006862>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006863> *value);</PRE
6864></TD
6865></TR
6866></TABLE
6867><P
6868>Try to validate a single attribute for an element
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006869basically it does the following checks as described by the
Daniel Veillardb05deb71999-08-10 19:04:08 +00006870XML-1.0 recommendation:
Daniel Veillardaec63562003-03-23 20:42:17 +00006871 - [ VC: Attribute Value Type ]
6872 - [ VC: Fixed Attribute Default ]
6873 - [ VC: Entity Name ]
6874 - [ VC: Name Token ]
6875 - [ VC: ID ]
6876 - [ VC: IDREF ]
6877 - [ VC: Entity Name ]
6878 - [ VC: Notation Attributes ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006879><P
6880>The ID/IDREF uniqueness and matching are done separately</P
6881><P
6882></P
6883><DIV
6884CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006885><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006886NAME="AEN11571"
6887></A
6888><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006889></P
6890><TABLE
6891BORDER="0"
6892WIDTH="100%"
6893BGCOLOR="#FFD0D0"
6894CELLSPACING="0"
6895CELLPADDING="4"
6896CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006897><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006898><TR
6899><TD
6900WIDTH="20%"
6901ALIGN="RIGHT"
6902VALIGN="TOP"
6903><TT
6904CLASS="PARAMETER"
6905><I
6906>ctxt</I
6907></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006908>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006909><TD
6910WIDTH="80%"
6911ALIGN="LEFT"
6912VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006913> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006914></TR
6915><TR
6916><TD
6917WIDTH="20%"
6918ALIGN="RIGHT"
6919VALIGN="TOP"
6920><TT
6921CLASS="PARAMETER"
6922><I
6923>doc</I
6924></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006925>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006926><TD
6927WIDTH="80%"
6928ALIGN="LEFT"
6929VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006930> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006931></TR
6932><TR
6933><TD
6934WIDTH="20%"
6935ALIGN="RIGHT"
6936VALIGN="TOP"
6937><TT
6938CLASS="PARAMETER"
6939><I
6940>elem</I
6941></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006942>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006943><TD
6944WIDTH="80%"
6945ALIGN="LEFT"
6946VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006947> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006948></TR
6949><TR
6950><TD
6951WIDTH="20%"
6952ALIGN="RIGHT"
6953VALIGN="TOP"
6954><TT
6955CLASS="PARAMETER"
6956><I
6957>attr</I
6958></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006959>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006960><TD
6961WIDTH="80%"
6962ALIGN="LEFT"
6963VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006964> an attribute instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006965></TR
6966><TR
6967><TD
6968WIDTH="20%"
6969ALIGN="RIGHT"
6970VALIGN="TOP"
6971><TT
6972CLASS="PARAMETER"
6973><I
6974>value</I
6975></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006976>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006977><TD
6978WIDTH="80%"
6979ALIGN="LEFT"
6980VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006981> the attribute value (without entities processing)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006982></TR
6983><TR
6984><TD
6985WIDTH="20%"
6986ALIGN="RIGHT"
6987VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006988><SPAN
6989CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006990><I
6991CLASS="EMPHASIS"
6992>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006993></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006994> :</TD
6995><TD
6996WIDTH="80%"
6997ALIGN="LEFT"
6998VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006999>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007000></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007001></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00007002></TABLE
7003><P
7004></P
7005></DIV
7006></DIV
7007><HR><DIV
7008CLASS="REFSECT2"
7009><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007010NAME="AEN11600"
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007011></A
7012><H3
7013><A
7014NAME="XMLVALIDATEONENAMESPACE"
7015></A
7016>xmlValidateOneNamespace ()</H3
7017><TABLE
7018BORDER="0"
7019BGCOLOR="#D6E8FF"
7020WIDTH="100%"
7021CELLPADDING="6"
7022><TR
7023><TD
7024><PRE
7025CLASS="PROGRAMLISTING"
7026>int xmlValidateOneNamespace (<A
7027HREF="libxml-valid.html#XMLVALIDCTXTPTR"
7028>xmlValidCtxtPtr</A
7029> ctxt,
7030 <A
7031HREF="libxml-tree.html#XMLDOCPTR"
7032>xmlDocPtr</A
7033> doc,
7034 <A
7035HREF="libxml-tree.html#XMLNODEPTR"
7036>xmlNodePtr</A
7037> elem,
7038 const <A
7039HREF="libxml-tree.html#XMLCHAR"
7040>xmlChar</A
7041> *prefix,
7042 <A
7043HREF="libxml-tree.html#XMLNSPTR"
7044>xmlNsPtr</A
7045> ns,
7046 const <A
7047HREF="libxml-tree.html#XMLCHAR"
7048>xmlChar</A
7049> *value);</PRE
7050></TD
7051></TR
7052></TABLE
7053><P
7054>Try to validate a single namespace declaration for an element
7055basically it does the following checks as described by the
7056XML-1.0 recommendation:
Daniel Veillardaec63562003-03-23 20:42:17 +00007057 - [ VC: Attribute Value Type ]
7058 - [ VC: Fixed Attribute Default ]
7059 - [ VC: Entity Name ]
7060 - [ VC: Name Token ]
7061 - [ VC: ID ]
7062 - [ VC: IDREF ]
7063 - [ VC: Entity Name ]
7064 - [ VC: Notation Attributes ]</P
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007065><P
7066>The ID/IDREF uniqueness and matching are done separately</P
7067><P
7068></P
7069><DIV
7070CLASS="INFORMALTABLE"
7071><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007072NAME="AEN11613"
7073></A
7074><P
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007075></P
7076><TABLE
7077BORDER="0"
7078WIDTH="100%"
7079BGCOLOR="#FFD0D0"
7080CELLSPACING="0"
7081CELLPADDING="4"
7082CLASS="CALSTABLE"
7083><TBODY
7084><TR
7085><TD
7086WIDTH="20%"
7087ALIGN="RIGHT"
7088VALIGN="TOP"
7089><TT
7090CLASS="PARAMETER"
7091><I
7092>ctxt</I
7093></TT
7094>&nbsp;:</TD
7095><TD
7096WIDTH="80%"
7097ALIGN="LEFT"
7098VALIGN="TOP"
7099> the validation context</TD
7100></TR
7101><TR
7102><TD
7103WIDTH="20%"
7104ALIGN="RIGHT"
7105VALIGN="TOP"
7106><TT
7107CLASS="PARAMETER"
7108><I
7109>doc</I
7110></TT
7111>&nbsp;:</TD
7112><TD
7113WIDTH="80%"
7114ALIGN="LEFT"
7115VALIGN="TOP"
7116> a document instance</TD
7117></TR
7118><TR
7119><TD
7120WIDTH="20%"
7121ALIGN="RIGHT"
7122VALIGN="TOP"
7123><TT
7124CLASS="PARAMETER"
7125><I
7126>elem</I
7127></TT
7128>&nbsp;:</TD
7129><TD
7130WIDTH="80%"
7131ALIGN="LEFT"
7132VALIGN="TOP"
7133> an element instance</TD
7134></TR
7135><TR
7136><TD
7137WIDTH="20%"
7138ALIGN="RIGHT"
7139VALIGN="TOP"
7140><TT
7141CLASS="PARAMETER"
7142><I
7143>prefix</I
7144></TT
7145>&nbsp;:</TD
7146><TD
7147WIDTH="80%"
7148ALIGN="LEFT"
7149VALIGN="TOP"
Daniel Veillardaec63562003-03-23 20:42:17 +00007150> the namespace prefix</TD
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007151></TR
7152><TR
7153><TD
7154WIDTH="20%"
7155ALIGN="RIGHT"
7156VALIGN="TOP"
7157><TT
7158CLASS="PARAMETER"
7159><I
7160>ns</I
7161></TT
7162>&nbsp;:</TD
7163><TD
7164WIDTH="80%"
7165ALIGN="LEFT"
7166VALIGN="TOP"
7167> an namespace declaration instance</TD
7168></TR
7169><TR
7170><TD
7171WIDTH="20%"
7172ALIGN="RIGHT"
7173VALIGN="TOP"
7174><TT
7175CLASS="PARAMETER"
7176><I
7177>value</I
7178></TT
7179>&nbsp;:</TD
7180><TD
7181WIDTH="80%"
7182ALIGN="LEFT"
7183VALIGN="TOP"
7184> the attribute value (without entities processing)</TD
7185></TR
7186><TR
7187><TD
7188WIDTH="20%"
7189ALIGN="RIGHT"
7190VALIGN="TOP"
7191><SPAN
7192CLASS="emphasis"
7193><I
7194CLASS="EMPHASIS"
7195>Returns</I
7196></SPAN
7197> :</TD
7198><TD
7199WIDTH="80%"
7200ALIGN="LEFT"
7201VALIGN="TOP"
7202>1 if valid or 0 otherwise</TD
7203></TR
7204></TBODY
7205></TABLE
7206><P
7207></P
7208></DIV
7209></DIV
7210><HR><DIV
7211CLASS="REFSECT2"
7212><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007213NAME="AEN11646"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007214></A
7215><H3
7216><A
7217NAME="XMLVALIDATEDOCUMENTFINAL"
7218></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007219>xmlValidateDocumentFinal ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007220><TABLE
7221BORDER="0"
7222BGCOLOR="#D6E8FF"
7223WIDTH="100%"
7224CELLPADDING="6"
7225><TR
7226><TD
7227><PRE
7228CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007229>int xmlValidateDocumentFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007230HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007231>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007232> ctxt,
7233 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007234HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007235>xmlDocPtr</A
7236> doc);</PRE
7237></TD
7238></TR
7239></TABLE
7240><P
7241>Does the final step for the document validation once all the
7242incremental validation steps have been completed</P
7243><P
7244>basically it does the following checks described by the XML Rec</P
7245><P
Daniel Veillardaec63562003-03-23 20:42:17 +00007246>Check all the IDREF/IDREFS attributes definition for validity</P
7247><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007248></P
7249><DIV
7250CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007251><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007252NAME="AEN11656"
7253></A
7254><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007255></P
7256><TABLE
7257BORDER="0"
7258WIDTH="100%"
7259BGCOLOR="#FFD0D0"
7260CELLSPACING="0"
7261CELLPADDING="4"
7262CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007263><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007264><TR
7265><TD
7266WIDTH="20%"
7267ALIGN="RIGHT"
7268VALIGN="TOP"
7269><TT
7270CLASS="PARAMETER"
7271><I
7272>ctxt</I
7273></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007274>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007275><TD
7276WIDTH="80%"
7277ALIGN="LEFT"
7278VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007279> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007280></TR
7281><TR
7282><TD
7283WIDTH="20%"
7284ALIGN="RIGHT"
7285VALIGN="TOP"
7286><TT
7287CLASS="PARAMETER"
7288><I
7289>doc</I
7290></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007291>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007292><TD
7293WIDTH="80%"
7294ALIGN="LEFT"
7295VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007296> a document instance</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007297></TR
7298><TR
7299><TD
7300WIDTH="20%"
7301ALIGN="RIGHT"
7302VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007303><SPAN
7304CLASS="emphasis"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007305><I
7306CLASS="EMPHASIS"
7307>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007308></SPAN
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007309> :</TD
7310><TD
7311WIDTH="80%"
7312ALIGN="LEFT"
7313VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007314>1 if valid or 0 otherwise</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007315></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007316></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007317></TABLE
7318><P
7319></P
7320></DIV
7321></DIV
7322><HR><DIV
7323CLASS="REFSECT2"
7324><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007325NAME="AEN11673"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007326></A
7327><H3
7328><A
7329NAME="XMLVALIDATENOTATIONUSE"
7330></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007331>xmlValidateNotationUse ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007332><TABLE
7333BORDER="0"
7334BGCOLOR="#D6E8FF"
7335WIDTH="100%"
7336CELLPADDING="6"
7337><TR
7338><TD
7339><PRE
7340CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007341>int xmlValidateNotationUse (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007342HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007343>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007344> ctxt,
7345 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007346HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007347>xmlDocPtr</A
7348> doc,
7349 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007350HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007351>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007352> *notationName);</PRE
7353></TD
7354></TR
7355></TABLE
7356><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007357>Validate that the given name match a notation declaration.
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007358- [ VC: Notation Declared ]</P
7359><P
7360></P
7361><DIV
7362CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007363><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007364NAME="AEN11682"
7365></A
7366><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007367></P
7368><TABLE
7369BORDER="0"
7370WIDTH="100%"
7371BGCOLOR="#FFD0D0"
7372CELLSPACING="0"
7373CELLPADDING="4"
7374CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007375><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007376><TR
7377><TD
7378WIDTH="20%"
7379ALIGN="RIGHT"
7380VALIGN="TOP"
7381><TT
7382CLASS="PARAMETER"
7383><I
7384>ctxt</I
7385></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007386>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007387><TD
7388WIDTH="80%"
7389ALIGN="LEFT"
7390VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007391> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007392></TR
7393><TR
7394><TD
7395WIDTH="20%"
7396ALIGN="RIGHT"
7397VALIGN="TOP"
7398><TT
7399CLASS="PARAMETER"
7400><I
7401>doc</I
7402></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007403>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007404><TD
7405WIDTH="80%"
7406ALIGN="LEFT"
7407VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007408> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007409></TR
7410><TR
7411><TD
7412WIDTH="20%"
7413ALIGN="RIGHT"
7414VALIGN="TOP"
7415><TT
7416CLASS="PARAMETER"
7417><I
7418>notationName</I
7419></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007420>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007421><TD
7422WIDTH="80%"
7423ALIGN="LEFT"
7424VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007425> the notation name to check</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007426></TR
7427><TR
7428><TD
7429WIDTH="20%"
7430ALIGN="RIGHT"
7431VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007432><SPAN
7433CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007434><I
7435CLASS="EMPHASIS"
7436>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007437></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007438> :</TD
7439><TD
7440WIDTH="80%"
7441ALIGN="LEFT"
7442VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007443>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007444></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007445></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007446></TABLE
7447><P
7448></P
7449></DIV
7450></DIV
7451><HR><DIV
7452CLASS="REFSECT2"
7453><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007454NAME="AEN11703"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007455></A
7456><H3
7457><A
7458NAME="XMLISMIXEDELEMENT"
7459></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007460>xmlIsMixedElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00007461><TABLE
7462BORDER="0"
7463BGCOLOR="#D6E8FF"
7464WIDTH="100%"
7465CELLPADDING="6"
7466><TR
7467><TD
7468><PRE
7469CLASS="PROGRAMLISTING"
7470>int xmlIsMixedElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007471HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007472>xmlDocPtr</A
7473> doc,
7474 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007475HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007476>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007477> *name);</PRE
7478></TD
7479></TR
7480></TABLE
7481><P
7482>Search in the DtDs whether an element accept Mixed content (or ANY)
7483basically if it is supposed to accept text childs</P
7484><P
7485></P
7486><DIV
7487CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007488><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007489NAME="AEN11711"
7490></A
7491><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007492></P
7493><TABLE
7494BORDER="0"
7495WIDTH="100%"
7496BGCOLOR="#FFD0D0"
7497CELLSPACING="0"
7498CELLPADDING="4"
7499CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007500><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00007501><TR
7502><TD
7503WIDTH="20%"
7504ALIGN="RIGHT"
7505VALIGN="TOP"
7506><TT
7507CLASS="PARAMETER"
7508><I
7509>doc</I
7510></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007511>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007512><TD
7513WIDTH="80%"
7514ALIGN="LEFT"
7515VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007516> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007517></TR
7518><TR
7519><TD
7520WIDTH="20%"
7521ALIGN="RIGHT"
7522VALIGN="TOP"
7523><TT
7524CLASS="PARAMETER"
7525><I
7526>name</I
7527></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007528>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007529><TD
7530WIDTH="80%"
7531ALIGN="LEFT"
7532VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007533> the element name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007534></TR
7535><TR
7536><TD
7537WIDTH="20%"
7538ALIGN="RIGHT"
7539VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007540><SPAN
7541CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007542><I
7543CLASS="EMPHASIS"
7544>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007545></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00007546> :</TD
7547><TD
7548WIDTH="80%"
7549ALIGN="LEFT"
7550VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007551>0 if no, 1 if yes, and -1 if no element description is available</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007552></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007553></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007554></TABLE
7555><P
7556></P
7557></DIV
7558></DIV
7559><HR><DIV
7560CLASS="REFSECT2"
7561><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007562NAME="AEN11728"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007563></A
7564><H3
7565><A
7566NAME="XMLGETDTDATTRDESC"
7567></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007568>xmlGetDtdAttrDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007569><TABLE
7570BORDER="0"
7571BGCOLOR="#D6E8FF"
7572WIDTH="100%"
7573CELLPADDING="6"
7574><TR
7575><TD
7576><PRE
7577CLASS="PROGRAMLISTING"
7578><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007579HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007580>xmlAttributePtr</A
7581> xmlGetDtdAttrDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007582HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007583>xmlDtdPtr</A
7584> dtd,
7585 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007586HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007587>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007588> *elem,
7589 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007590HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007591>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007592> *name);</PRE
7593></TD
7594></TR
7595></TABLE
7596><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007597>Search the DTD for the description of this attribute on
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007598this element.</P
7599><P
7600></P
7601><DIV
7602CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007603><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007604NAME="AEN11738"
7605></A
7606><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007607></P
7608><TABLE
7609BORDER="0"
7610WIDTH="100%"
7611BGCOLOR="#FFD0D0"
7612CELLSPACING="0"
7613CELLPADDING="4"
7614CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007615><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007616><TR
7617><TD
7618WIDTH="20%"
7619ALIGN="RIGHT"
7620VALIGN="TOP"
7621><TT
7622CLASS="PARAMETER"
7623><I
7624>dtd</I
7625></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007626>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007627><TD
7628WIDTH="80%"
7629ALIGN="LEFT"
7630VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007631> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007632></TR
7633><TR
7634><TD
7635WIDTH="20%"
7636ALIGN="RIGHT"
7637VALIGN="TOP"
7638><TT
7639CLASS="PARAMETER"
7640><I
7641>elem</I
7642></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007643>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007644><TD
7645WIDTH="80%"
7646ALIGN="LEFT"
7647VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007648> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007649></TR
7650><TR
7651><TD
7652WIDTH="20%"
7653ALIGN="RIGHT"
7654VALIGN="TOP"
7655><TT
7656CLASS="PARAMETER"
7657><I
7658>name</I
7659></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007660>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007661><TD
7662WIDTH="80%"
7663ALIGN="LEFT"
7664VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007665> the attribute name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007666></TR
7667><TR
7668><TD
7669WIDTH="20%"
7670ALIGN="RIGHT"
7671VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007672><SPAN
7673CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007674><I
7675CLASS="EMPHASIS"
7676>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007677></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007678> :</TD
7679><TD
7680WIDTH="80%"
7681ALIGN="LEFT"
7682VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007683>the xmlAttributePtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007684></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007685></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007686></TABLE
7687><P
7688></P
7689></DIV
7690></DIV
7691><HR><DIV
7692CLASS="REFSECT2"
7693><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007694NAME="AEN11759"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007695></A
7696><H3
7697><A
7698NAME="XMLGETDTDQATTRDESC"
7699></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007700>xmlGetDtdQAttrDesc ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007701><TABLE
7702BORDER="0"
7703BGCOLOR="#D6E8FF"
7704WIDTH="100%"
7705CELLPADDING="6"
7706><TR
7707><TD
7708><PRE
7709CLASS="PROGRAMLISTING"
7710><A
7711HREF="libxml-tree.html#XMLATTRIBUTEPTR"
7712>xmlAttributePtr</A
7713> xmlGetDtdQAttrDesc (<A
7714HREF="libxml-tree.html#XMLDTDPTR"
7715>xmlDtdPtr</A
7716> dtd,
7717 const <A
7718HREF="libxml-tree.html#XMLCHAR"
7719>xmlChar</A
7720> *elem,
7721 const <A
7722HREF="libxml-tree.html#XMLCHAR"
7723>xmlChar</A
7724> *name,
7725 const <A
7726HREF="libxml-tree.html#XMLCHAR"
7727>xmlChar</A
7728> *prefix);</PRE
7729></TD
7730></TR
7731></TABLE
7732><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007733>Search the DTD for the description of this qualified attribute on
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007734this element.</P
7735><P
7736></P
7737><DIV
7738CLASS="INFORMALTABLE"
7739><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007740NAME="AEN11770"
7741></A
7742><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007743></P
7744><TABLE
7745BORDER="0"
7746WIDTH="100%"
7747BGCOLOR="#FFD0D0"
7748CELLSPACING="0"
7749CELLPADDING="4"
7750CLASS="CALSTABLE"
7751><TBODY
7752><TR
7753><TD
7754WIDTH="20%"
7755ALIGN="RIGHT"
7756VALIGN="TOP"
7757><TT
7758CLASS="PARAMETER"
7759><I
7760>dtd</I
7761></TT
7762>&nbsp;:</TD
7763><TD
7764WIDTH="80%"
7765ALIGN="LEFT"
7766VALIGN="TOP"
7767> a pointer to the DtD to search</TD
7768></TR
7769><TR
7770><TD
7771WIDTH="20%"
7772ALIGN="RIGHT"
7773VALIGN="TOP"
7774><TT
7775CLASS="PARAMETER"
7776><I
7777>elem</I
7778></TT
7779>&nbsp;:</TD
7780><TD
7781WIDTH="80%"
7782ALIGN="LEFT"
7783VALIGN="TOP"
7784> the element name</TD
7785></TR
7786><TR
7787><TD
7788WIDTH="20%"
7789ALIGN="RIGHT"
7790VALIGN="TOP"
7791><TT
7792CLASS="PARAMETER"
7793><I
7794>name</I
7795></TT
7796>&nbsp;:</TD
7797><TD
7798WIDTH="80%"
7799ALIGN="LEFT"
7800VALIGN="TOP"
7801> the attribute name</TD
7802></TR
7803><TR
7804><TD
7805WIDTH="20%"
7806ALIGN="RIGHT"
7807VALIGN="TOP"
7808><TT
7809CLASS="PARAMETER"
7810><I
7811>prefix</I
7812></TT
7813>&nbsp;:</TD
7814><TD
7815WIDTH="80%"
7816ALIGN="LEFT"
7817VALIGN="TOP"
7818> the attribute namespace prefix</TD
7819></TR
7820><TR
7821><TD
7822WIDTH="20%"
7823ALIGN="RIGHT"
7824VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007825><SPAN
7826CLASS="emphasis"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007827><I
7828CLASS="EMPHASIS"
7829>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007830></SPAN
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007831> :</TD
7832><TD
7833WIDTH="80%"
7834ALIGN="LEFT"
7835VALIGN="TOP"
7836>the xmlAttributePtr if found or NULL</TD
7837></TR
7838></TBODY
7839></TABLE
7840><P
7841></P
7842></DIV
7843></DIV
7844><HR><DIV
7845CLASS="REFSECT2"
7846><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007847NAME="AEN11795"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007848></A
7849><H3
7850><A
7851NAME="XMLGETDTDNOTATIONDESC"
7852></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007853>xmlGetDtdNotationDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007854><TABLE
7855BORDER="0"
7856BGCOLOR="#D6E8FF"
7857WIDTH="100%"
7858CELLPADDING="6"
7859><TR
7860><TD
7861><PRE
7862CLASS="PROGRAMLISTING"
7863><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007864HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007865>xmlNotationPtr</A
7866> xmlGetDtdNotationDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007867HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007868>xmlDtdPtr</A
7869> dtd,
7870 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007871HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007872>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007873> *name);</PRE
7874></TD
7875></TR
7876></TABLE
7877><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007878>Search the DTD for the description of this notation</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007879><P
7880></P
7881><DIV
7882CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007883><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007884NAME="AEN11804"
7885></A
7886><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007887></P
7888><TABLE
7889BORDER="0"
7890WIDTH="100%"
7891BGCOLOR="#FFD0D0"
7892CELLSPACING="0"
7893CELLPADDING="4"
7894CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007895><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007896><TR
7897><TD
7898WIDTH="20%"
7899ALIGN="RIGHT"
7900VALIGN="TOP"
7901><TT
7902CLASS="PARAMETER"
7903><I
7904>dtd</I
7905></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007906>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007907><TD
7908WIDTH="80%"
7909ALIGN="LEFT"
7910VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007911> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007912></TR
7913><TR
7914><TD
7915WIDTH="20%"
7916ALIGN="RIGHT"
7917VALIGN="TOP"
7918><TT
7919CLASS="PARAMETER"
7920><I
7921>name</I
7922></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007923>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007924><TD
7925WIDTH="80%"
7926ALIGN="LEFT"
7927VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007928> the notation name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007929></TR
7930><TR
7931><TD
7932WIDTH="20%"
7933ALIGN="RIGHT"
7934VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007935><SPAN
7936CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007937><I
7938CLASS="EMPHASIS"
7939>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007940></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007941> :</TD
7942><TD
7943WIDTH="80%"
7944ALIGN="LEFT"
7945VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007946>the xmlNotationPtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007947></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007948></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007949></TABLE
7950><P
7951></P
7952></DIV
7953></DIV
7954><HR><DIV
7955CLASS="REFSECT2"
7956><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007957NAME="AEN11821"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007958></A
7959><H3
7960><A
7961NAME="XMLGETDTDQELEMENTDESC"
7962></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007963>xmlGetDtdQElementDesc ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007964><TABLE
7965BORDER="0"
7966BGCOLOR="#D6E8FF"
7967WIDTH="100%"
7968CELLPADDING="6"
7969><TR
7970><TD
7971><PRE
7972CLASS="PROGRAMLISTING"
7973><A
7974HREF="libxml-tree.html#XMLELEMENTPTR"
7975>xmlElementPtr</A
7976> xmlGetDtdQElementDesc (<A
7977HREF="libxml-tree.html#XMLDTDPTR"
7978>xmlDtdPtr</A
7979> dtd,
7980 const <A
7981HREF="libxml-tree.html#XMLCHAR"
7982>xmlChar</A
7983> *name,
7984 const <A
7985HREF="libxml-tree.html#XMLCHAR"
7986>xmlChar</A
7987> *prefix);</PRE
7988></TD
7989></TR
7990></TABLE
7991><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007992>Search the DTD for the description of this element</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007993><P
7994></P
7995><DIV
7996CLASS="INFORMALTABLE"
7997><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007998NAME="AEN11831"
7999></A
8000><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008001></P
8002><TABLE
8003BORDER="0"
8004WIDTH="100%"
8005BGCOLOR="#FFD0D0"
8006CELLSPACING="0"
8007CELLPADDING="4"
8008CLASS="CALSTABLE"
8009><TBODY
8010><TR
8011><TD
8012WIDTH="20%"
8013ALIGN="RIGHT"
8014VALIGN="TOP"
8015><TT
8016CLASS="PARAMETER"
8017><I
8018>dtd</I
8019></TT
8020>&nbsp;:</TD
8021><TD
8022WIDTH="80%"
8023ALIGN="LEFT"
8024VALIGN="TOP"
8025> a pointer to the DtD to search</TD
8026></TR
8027><TR
8028><TD
8029WIDTH="20%"
8030ALIGN="RIGHT"
8031VALIGN="TOP"
8032><TT
8033CLASS="PARAMETER"
8034><I
8035>name</I
8036></TT
8037>&nbsp;:</TD
8038><TD
8039WIDTH="80%"
8040ALIGN="LEFT"
8041VALIGN="TOP"
8042> the element name</TD
8043></TR
8044><TR
8045><TD
8046WIDTH="20%"
8047ALIGN="RIGHT"
8048VALIGN="TOP"
8049><TT
8050CLASS="PARAMETER"
8051><I
8052>prefix</I
8053></TT
8054>&nbsp;:</TD
8055><TD
8056WIDTH="80%"
8057ALIGN="LEFT"
8058VALIGN="TOP"
8059> the element namespace prefix</TD
8060></TR
8061><TR
8062><TD
8063WIDTH="20%"
8064ALIGN="RIGHT"
8065VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008066><SPAN
8067CLASS="emphasis"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008068><I
8069CLASS="EMPHASIS"
8070>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008071></SPAN
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00008072> :</TD
8073><TD
8074WIDTH="80%"
8075ALIGN="LEFT"
8076VALIGN="TOP"
8077>the xmlElementPtr if found or NULL</TD
8078></TR
8079></TBODY
8080></TABLE
8081><P
8082></P
8083></DIV
8084></DIV
8085><HR><DIV
8086CLASS="REFSECT2"
8087><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008088NAME="AEN11852"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008089></A
8090><H3
8091><A
8092NAME="XMLGETDTDELEMENTDESC"
8093></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008094>xmlGetDtdElementDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008095><TABLE
8096BORDER="0"
8097BGCOLOR="#D6E8FF"
8098WIDTH="100%"
8099CELLPADDING="6"
8100><TR
8101><TD
8102><PRE
8103CLASS="PROGRAMLISTING"
8104><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008105HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008106>xmlElementPtr</A
8107> xmlGetDtdElementDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008108HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008109>xmlDtdPtr</A
8110> dtd,
8111 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008112HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008113>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008114> *name);</PRE
8115></TD
8116></TR
8117></TABLE
8118><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00008119>Search the DTD for the description of this element</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008120><P
8121></P
8122><DIV
8123CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008124><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008125NAME="AEN11861"
8126></A
8127><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008128></P
8129><TABLE
8130BORDER="0"
8131WIDTH="100%"
8132BGCOLOR="#FFD0D0"
8133CELLSPACING="0"
8134CELLPADDING="4"
8135CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008136><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008137><TR
8138><TD
8139WIDTH="20%"
8140ALIGN="RIGHT"
8141VALIGN="TOP"
8142><TT
8143CLASS="PARAMETER"
8144><I
8145>dtd</I
8146></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008147>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008148><TD
8149WIDTH="80%"
8150ALIGN="LEFT"
8151VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008152> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008153></TR
8154><TR
8155><TD
8156WIDTH="20%"
8157ALIGN="RIGHT"
8158VALIGN="TOP"
8159><TT
8160CLASS="PARAMETER"
8161><I
8162>name</I
8163></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008164>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008165><TD
8166WIDTH="80%"
8167ALIGN="LEFT"
8168VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008169> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008170></TR
8171><TR
8172><TD
8173WIDTH="20%"
8174ALIGN="RIGHT"
8175VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008176><SPAN
8177CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008178><I
8179CLASS="EMPHASIS"
8180>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008181></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008182> :</TD
8183><TD
8184WIDTH="80%"
8185ALIGN="LEFT"
8186VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008187>the xmlElementPtr if found or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008188></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008189></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008190></TABLE
8191><P
8192></P
8193></DIV
8194></DIV
8195><HR><DIV
8196CLASS="REFSECT2"
8197><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008198NAME="AEN11878"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008199></A
8200><H3
8201><A
8202NAME="XMLVALIDGETVALIDELEMENTS"
8203></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008204>xmlValidGetValidElements ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008205><TABLE
8206BORDER="0"
8207BGCOLOR="#D6E8FF"
8208WIDTH="100%"
8209CELLPADDING="6"
8210><TR
8211><TD
8212><PRE
8213CLASS="PROGRAMLISTING"
8214>int xmlValidGetValidElements (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008215HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008216>xmlNode</A
8217> *prev,
8218 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008219HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008220>xmlNode</A
8221> *next,
8222 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008223HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008224>xmlChar</A
8225> **list,
8226 int max);</PRE
8227></TD
8228></TR
8229></TABLE
8230><P
8231>This function returns the list of authorized children to insert
8232within an existing tree while respecting the validity constraints
8233forced by the Dtd. The insertion point is defined using <TT
8234CLASS="PARAMETER"
8235><I
8236>prev</I
8237></TT
8238> and
8239<TT
8240CLASS="PARAMETER"
8241><I
8242>next</I
8243></TT
8244> in the following ways:
Daniel Veillardaec63562003-03-23 20:42:17 +00008245 to insert before 'node': xmlValidGetValidElements(node-&gt;prev, node, ...
8246 to insert next 'node': xmlValidGetValidElements(node, node-&gt;next, ...
8247 to replace 'node': xmlValidGetValidElements(node-&gt;prev, node-&gt;next, ...
8248 to prepend a child to 'node': xmlValidGetValidElements(NULL, node-&gt;childs,
8249 to append a child to 'node': xmlValidGetValidElements(node-&gt;last, NULL, ...</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008250><P
8251>pointers to the element names are inserted at the beginning of the array
8252and do not need to be freed.</P
8253><P
8254></P
8255><DIV
8256CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008257><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008258NAME="AEN11890"
8259></A
8260><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008261></P
8262><TABLE
8263BORDER="0"
8264WIDTH="100%"
8265BGCOLOR="#FFD0D0"
8266CELLSPACING="0"
8267CELLPADDING="4"
8268CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008269><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008270><TR
8271><TD
8272WIDTH="20%"
8273ALIGN="RIGHT"
8274VALIGN="TOP"
8275><TT
8276CLASS="PARAMETER"
8277><I
8278>prev</I
8279></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008280>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008281><TD
8282WIDTH="80%"
8283ALIGN="LEFT"
8284VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008285> an element to insert after</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008286></TR
8287><TR
8288><TD
8289WIDTH="20%"
8290ALIGN="RIGHT"
8291VALIGN="TOP"
8292><TT
8293CLASS="PARAMETER"
8294><I
8295>next</I
8296></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008297>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008298><TD
8299WIDTH="80%"
8300ALIGN="LEFT"
8301VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008302> an element to insert next</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008303></TR
8304><TR
8305><TD
8306WIDTH="20%"
8307ALIGN="RIGHT"
8308VALIGN="TOP"
8309><TT
8310CLASS="PARAMETER"
8311><I
8312>list</I
8313></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008314>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008315><TD
8316WIDTH="80%"
8317ALIGN="LEFT"
8318VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008319> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008320></TR
8321><TR
8322><TD
8323WIDTH="20%"
8324ALIGN="RIGHT"
8325VALIGN="TOP"
8326><TT
8327CLASS="PARAMETER"
8328><I
8329>max</I
8330></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008331>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008332><TD
8333WIDTH="80%"
8334ALIGN="LEFT"
8335VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008336> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008337></TR
8338><TR
8339><TD
8340WIDTH="20%"
8341ALIGN="RIGHT"
8342VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008343><SPAN
8344CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008345><I
8346CLASS="EMPHASIS"
8347>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008348></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008349> :</TD
8350><TD
8351WIDTH="80%"
8352ALIGN="LEFT"
8353VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008354>the number of element in the list, or -1 in case of error. If
Daniel Veillardaec63562003-03-23 20:42:17 +00008355 the function returns the value <TT
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008356CLASS="PARAMETER"
8357><I
8358>max</I
8359></TT
8360> the caller is invited to grow the
Daniel Veillardaec63562003-03-23 20:42:17 +00008361 receiving array and retry.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008362></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008363></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008364></TABLE
8365><P
8366></P
8367></DIV
8368></DIV
8369><HR><DIV
8370CLASS="REFSECT2"
8371><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008372NAME="AEN11916"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008373></A
8374><H3
8375><A
8376NAME="XMLVALIDGETPOTENTIALCHILDREN"
8377></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008378>xmlValidGetPotentialChildren ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008379><TABLE
8380BORDER="0"
8381BGCOLOR="#D6E8FF"
8382WIDTH="100%"
8383CELLPADDING="6"
8384><TR
8385><TD
8386><PRE
8387CLASS="PROGRAMLISTING"
8388>int xmlValidGetPotentialChildren (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008389HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008390>xmlElementContent</A
8391> *ctree,
8392 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008393HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008394>xmlChar</A
8395> **list,
8396 int *len,
8397 int max);</PRE
8398></TD
8399></TR
8400></TABLE
8401><P
8402>Build/extend a list of potential children allowed by the content tree</P
8403><P
8404></P
8405><DIV
8406CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008407><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008408NAME="AEN11924"
8409></A
8410><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008411></P
8412><TABLE
8413BORDER="0"
8414WIDTH="100%"
8415BGCOLOR="#FFD0D0"
8416CELLSPACING="0"
8417CELLPADDING="4"
8418CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008419><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008420><TR
8421><TD
8422WIDTH="20%"
8423ALIGN="RIGHT"
8424VALIGN="TOP"
8425><TT
8426CLASS="PARAMETER"
8427><I
8428>ctree</I
8429></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008430>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008431><TD
8432WIDTH="80%"
8433ALIGN="LEFT"
8434VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008435> an element content tree</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008436></TR
8437><TR
8438><TD
8439WIDTH="20%"
8440ALIGN="RIGHT"
8441VALIGN="TOP"
8442><TT
8443CLASS="PARAMETER"
8444><I
8445>list</I
8446></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008447>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008448><TD
8449WIDTH="80%"
8450ALIGN="LEFT"
8451VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008452> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008453></TR
8454><TR
8455><TD
8456WIDTH="20%"
8457ALIGN="RIGHT"
8458VALIGN="TOP"
8459><TT
8460CLASS="PARAMETER"
8461><I
8462>len</I
8463></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008464>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008465><TD
8466WIDTH="80%"
8467ALIGN="LEFT"
8468VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008469> a pointer to the number of element in the list</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008470></TR
8471><TR
8472><TD
8473WIDTH="20%"
8474ALIGN="RIGHT"
8475VALIGN="TOP"
8476><TT
8477CLASS="PARAMETER"
8478><I
8479>max</I
8480></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008481>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008482><TD
8483WIDTH="80%"
8484ALIGN="LEFT"
8485VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008486> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008487></TR
8488><TR
8489><TD
8490WIDTH="20%"
8491ALIGN="RIGHT"
8492VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008493><SPAN
8494CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008495><I
8496CLASS="EMPHASIS"
8497>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008498></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008499> :</TD
8500><TD
8501WIDTH="80%"
8502ALIGN="LEFT"
8503VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008504>the number of element in the list, or -1 in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008505></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008506></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008507></TABLE
8508><P
8509></P
8510></DIV
8511></DIV
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008512><HR><DIV
8513CLASS="REFSECT2"
8514><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008515NAME="AEN11949"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008516></A
8517><H3
8518><A
8519NAME="XMLVALIDATENAMEVALUE"
8520></A
8521>xmlValidateNameValue ()</H3
8522><TABLE
8523BORDER="0"
8524BGCOLOR="#D6E8FF"
8525WIDTH="100%"
8526CELLPADDING="6"
8527><TR
8528><TD
8529><PRE
8530CLASS="PROGRAMLISTING"
8531>int xmlValidateNameValue (const <A
8532HREF="libxml-tree.html#XMLCHAR"
8533>xmlChar</A
8534> *value);</PRE
8535></TD
8536></TR
8537></TABLE
8538><P
8539>Validate that the given value match Name production</P
8540><P
8541></P
8542><DIV
8543CLASS="INFORMALTABLE"
8544><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008545NAME="AEN11956"
8546></A
8547><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008548></P
8549><TABLE
8550BORDER="0"
8551WIDTH="100%"
8552BGCOLOR="#FFD0D0"
8553CELLSPACING="0"
8554CELLPADDING="4"
8555CLASS="CALSTABLE"
8556><TBODY
8557><TR
8558><TD
8559WIDTH="20%"
8560ALIGN="RIGHT"
8561VALIGN="TOP"
8562><TT
8563CLASS="PARAMETER"
8564><I
8565>value</I
8566></TT
8567>&nbsp;:</TD
8568><TD
8569WIDTH="80%"
8570ALIGN="LEFT"
8571VALIGN="TOP"
8572> an Name value</TD
8573></TR
8574><TR
8575><TD
8576WIDTH="20%"
8577ALIGN="RIGHT"
8578VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008579><SPAN
8580CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008581><I
8582CLASS="EMPHASIS"
8583>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008584></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008585> :</TD
8586><TD
8587WIDTH="80%"
8588ALIGN="LEFT"
8589VALIGN="TOP"
8590>1 if valid or 0 otherwise</TD
8591></TR
8592></TBODY
8593></TABLE
8594><P
8595></P
8596></DIV
8597></DIV
8598><HR><DIV
8599CLASS="REFSECT2"
8600><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008601NAME="AEN11969"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008602></A
8603><H3
8604><A
8605NAME="XMLVALIDATENAMESVALUE"
8606></A
8607>xmlValidateNamesValue ()</H3
8608><TABLE
8609BORDER="0"
8610BGCOLOR="#D6E8FF"
8611WIDTH="100%"
8612CELLPADDING="6"
8613><TR
8614><TD
8615><PRE
8616CLASS="PROGRAMLISTING"
8617>int xmlValidateNamesValue (const <A
8618HREF="libxml-tree.html#XMLCHAR"
8619>xmlChar</A
8620> *value);</PRE
8621></TD
8622></TR
8623></TABLE
8624><P
8625>Validate that the given value match Names production</P
8626><P
8627></P
8628><DIV
8629CLASS="INFORMALTABLE"
8630><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008631NAME="AEN11976"
8632></A
8633><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008634></P
8635><TABLE
8636BORDER="0"
8637WIDTH="100%"
8638BGCOLOR="#FFD0D0"
8639CELLSPACING="0"
8640CELLPADDING="4"
8641CLASS="CALSTABLE"
8642><TBODY
8643><TR
8644><TD
8645WIDTH="20%"
8646ALIGN="RIGHT"
8647VALIGN="TOP"
8648><TT
8649CLASS="PARAMETER"
8650><I
8651>value</I
8652></TT
8653>&nbsp;:</TD
8654><TD
8655WIDTH="80%"
8656ALIGN="LEFT"
8657VALIGN="TOP"
8658> an Names value</TD
8659></TR
8660><TR
8661><TD
8662WIDTH="20%"
8663ALIGN="RIGHT"
8664VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008665><SPAN
8666CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008667><I
8668CLASS="EMPHASIS"
8669>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008670></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008671> :</TD
8672><TD
8673WIDTH="80%"
8674ALIGN="LEFT"
8675VALIGN="TOP"
8676>1 if valid or 0 otherwise</TD
8677></TR
8678></TBODY
8679></TABLE
8680><P
8681></P
8682></DIV
8683></DIV
8684><HR><DIV
8685CLASS="REFSECT2"
8686><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008687NAME="AEN11989"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008688></A
8689><H3
8690><A
8691NAME="XMLVALIDATENMTOKENVALUE"
8692></A
8693>xmlValidateNmtokenValue ()</H3
8694><TABLE
8695BORDER="0"
8696BGCOLOR="#D6E8FF"
8697WIDTH="100%"
8698CELLPADDING="6"
8699><TR
8700><TD
8701><PRE
8702CLASS="PROGRAMLISTING"
8703>int xmlValidateNmtokenValue (const <A
8704HREF="libxml-tree.html#XMLCHAR"
8705>xmlChar</A
8706> *value);</PRE
8707></TD
8708></TR
8709></TABLE
8710><P
8711>Validate that the given value match Nmtoken production</P
8712><P
8713>[ VC: Name Token ]</P
8714><P
8715></P
8716><DIV
8717CLASS="INFORMALTABLE"
8718><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008719NAME="AEN11997"
8720></A
8721><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008722></P
8723><TABLE
8724BORDER="0"
8725WIDTH="100%"
8726BGCOLOR="#FFD0D0"
8727CELLSPACING="0"
8728CELLPADDING="4"
8729CLASS="CALSTABLE"
8730><TBODY
8731><TR
8732><TD
8733WIDTH="20%"
8734ALIGN="RIGHT"
8735VALIGN="TOP"
8736><TT
8737CLASS="PARAMETER"
8738><I
8739>value</I
8740></TT
8741>&nbsp;:</TD
8742><TD
8743WIDTH="80%"
8744ALIGN="LEFT"
8745VALIGN="TOP"
8746> an Nmtoken value</TD
8747></TR
8748><TR
8749><TD
8750WIDTH="20%"
8751ALIGN="RIGHT"
8752VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008753><SPAN
8754CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008755><I
8756CLASS="EMPHASIS"
8757>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008758></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008759> :</TD
8760><TD
8761WIDTH="80%"
8762ALIGN="LEFT"
8763VALIGN="TOP"
8764>1 if valid or 0 otherwise</TD
8765></TR
8766></TBODY
8767></TABLE
8768><P
8769></P
8770></DIV
8771></DIV
8772><HR><DIV
8773CLASS="REFSECT2"
8774><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008775NAME="AEN12010"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008776></A
8777><H3
8778><A
8779NAME="XMLVALIDATENMTOKENSVALUE"
8780></A
8781>xmlValidateNmtokensValue ()</H3
8782><TABLE
8783BORDER="0"
8784BGCOLOR="#D6E8FF"
8785WIDTH="100%"
8786CELLPADDING="6"
8787><TR
8788><TD
8789><PRE
8790CLASS="PROGRAMLISTING"
8791>int xmlValidateNmtokensValue (const <A
8792HREF="libxml-tree.html#XMLCHAR"
8793>xmlChar</A
8794> *value);</PRE
8795></TD
8796></TR
8797></TABLE
8798><P
8799>Validate that the given value match Nmtokens production</P
8800><P
8801>[ VC: Name Token ]</P
8802><P
8803></P
8804><DIV
8805CLASS="INFORMALTABLE"
8806><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008807NAME="AEN12018"
8808></A
8809><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008810></P
8811><TABLE
8812BORDER="0"
8813WIDTH="100%"
8814BGCOLOR="#FFD0D0"
8815CELLSPACING="0"
8816CELLPADDING="4"
8817CLASS="CALSTABLE"
8818><TBODY
8819><TR
8820><TD
8821WIDTH="20%"
8822ALIGN="RIGHT"
8823VALIGN="TOP"
8824><TT
8825CLASS="PARAMETER"
8826><I
8827>value</I
8828></TT
8829>&nbsp;:</TD
8830><TD
8831WIDTH="80%"
8832ALIGN="LEFT"
8833VALIGN="TOP"
8834> an Nmtokens value</TD
8835></TR
8836><TR
8837><TD
8838WIDTH="20%"
8839ALIGN="RIGHT"
8840VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008841><SPAN
8842CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008843><I
8844CLASS="EMPHASIS"
8845>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008846></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008847> :</TD
8848><TD
8849WIDTH="80%"
8850ALIGN="LEFT"
8851VALIGN="TOP"
8852>1 if valid or 0 otherwise</TD
8853></TR
8854></TBODY
8855></TABLE
8856><P
8857></P
8858></DIV
8859></DIV
Daniel Veillard2ace1952002-09-26 12:28:02 +00008860><HR><DIV
8861CLASS="REFSECT2"
8862><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008863NAME="AEN12031"
Daniel Veillard2ace1952002-09-26 12:28:02 +00008864></A
8865><H3
8866><A
8867NAME="XMLVALIDBUILDCONTENTMODEL"
8868></A
8869>xmlValidBuildContentModel ()</H3
8870><TABLE
8871BORDER="0"
8872BGCOLOR="#D6E8FF"
8873WIDTH="100%"
8874CELLPADDING="6"
8875><TR
8876><TD
8877><PRE
8878CLASS="PROGRAMLISTING"
8879>int xmlValidBuildContentModel (<A
8880HREF="libxml-valid.html#XMLVALIDCTXTPTR"
8881>xmlValidCtxtPtr</A
8882> ctxt,
8883 <A
8884HREF="libxml-tree.html#XMLELEMENTPTR"
8885>xmlElementPtr</A
8886> elem);</PRE
8887></TD
8888></TR
8889></TABLE
8890><P
8891>(Re)Build the automata associated to the content model of this
8892element</P
8893><P
8894></P
8895><DIV
8896CLASS="INFORMALTABLE"
8897><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008898NAME="AEN12039"
8899></A
8900><P
Daniel Veillard2ace1952002-09-26 12:28:02 +00008901></P
8902><TABLE
8903BORDER="0"
8904WIDTH="100%"
8905BGCOLOR="#FFD0D0"
8906CELLSPACING="0"
8907CELLPADDING="4"
8908CLASS="CALSTABLE"
8909><TBODY
8910><TR
8911><TD
8912WIDTH="20%"
8913ALIGN="RIGHT"
8914VALIGN="TOP"
8915><TT
8916CLASS="PARAMETER"
8917><I
8918>ctxt</I
8919></TT
8920>&nbsp;:</TD
8921><TD
8922WIDTH="80%"
8923ALIGN="LEFT"
8924VALIGN="TOP"
8925> a validation context</TD
8926></TR
8927><TR
8928><TD
8929WIDTH="20%"
8930ALIGN="RIGHT"
8931VALIGN="TOP"
8932><TT
8933CLASS="PARAMETER"
8934><I
8935>elem</I
8936></TT
8937>&nbsp;:</TD
8938><TD
8939WIDTH="80%"
8940ALIGN="LEFT"
8941VALIGN="TOP"
8942> an element declaration node</TD
8943></TR
8944><TR
8945><TD
8946WIDTH="20%"
8947ALIGN="RIGHT"
8948VALIGN="TOP"
8949><SPAN
8950CLASS="emphasis"
8951><I
8952CLASS="EMPHASIS"
8953>Returns</I
8954></SPAN
8955> :</TD
8956><TD
8957WIDTH="80%"
8958ALIGN="LEFT"
8959VALIGN="TOP"
8960>1 in case of success, 0 in case of error</TD
8961></TR
8962></TBODY
8963></TABLE
8964><P
8965></P
8966></DIV
8967></DIV
Daniel Veillardaec63562003-03-23 20:42:17 +00008968><HR><DIV
8969CLASS="REFSECT2"
8970><A
8971NAME="AEN12056"
8972></A
8973><H3
8974><A
8975NAME="XMLVALIDATEPUSHELEMENT"
8976></A
8977>xmlValidatePushElement ()</H3
8978><TABLE
8979BORDER="0"
8980BGCOLOR="#D6E8FF"
8981WIDTH="100%"
8982CELLPADDING="6"
8983><TR
8984><TD
8985><PRE
8986CLASS="PROGRAMLISTING"
8987>int xmlValidatePushElement (<A
8988HREF="libxml-valid.html#XMLVALIDCTXTPTR"
8989>xmlValidCtxtPtr</A
8990> ctxt,
8991 <A
8992HREF="libxml-tree.html#XMLDOCPTR"
8993>xmlDocPtr</A
8994> doc,
8995 <A
8996HREF="libxml-tree.html#XMLNODEPTR"
8997>xmlNodePtr</A
8998> elem,
8999 const <A
9000HREF="libxml-tree.html#XMLCHAR"
9001>xmlChar</A
9002> *qname);</PRE
9003></TD
9004></TR
9005></TABLE
9006><P
9007>Push a new element start on the validation stack.</P
9008><P
9009></P
9010><DIV
9011CLASS="INFORMALTABLE"
9012><A
9013NAME="AEN12066"
9014></A
9015><P
9016></P
9017><TABLE
9018BORDER="0"
9019WIDTH="100%"
9020BGCOLOR="#FFD0D0"
9021CELLSPACING="0"
9022CELLPADDING="4"
9023CLASS="CALSTABLE"
9024><TBODY
9025><TR
9026><TD
9027WIDTH="20%"
9028ALIGN="RIGHT"
9029VALIGN="TOP"
9030><TT
9031CLASS="PARAMETER"
9032><I
9033>ctxt</I
9034></TT
9035>&nbsp;:</TD
9036><TD
9037WIDTH="80%"
9038ALIGN="LEFT"
9039VALIGN="TOP"
9040> the validation context</TD
9041></TR
9042><TR
9043><TD
9044WIDTH="20%"
9045ALIGN="RIGHT"
9046VALIGN="TOP"
9047><TT
9048CLASS="PARAMETER"
9049><I
9050>doc</I
9051></TT
9052>&nbsp;:</TD
9053><TD
9054WIDTH="80%"
9055ALIGN="LEFT"
9056VALIGN="TOP"
9057> a document instance</TD
9058></TR
9059><TR
9060><TD
9061WIDTH="20%"
9062ALIGN="RIGHT"
9063VALIGN="TOP"
9064><TT
9065CLASS="PARAMETER"
9066><I
9067>elem</I
9068></TT
9069>&nbsp;:</TD
9070><TD
9071WIDTH="80%"
9072ALIGN="LEFT"
9073VALIGN="TOP"
9074> an element instance</TD
9075></TR
9076><TR
9077><TD
9078WIDTH="20%"
9079ALIGN="RIGHT"
9080VALIGN="TOP"
9081><TT
9082CLASS="PARAMETER"
9083><I
9084>qname</I
9085></TT
9086>&nbsp;:</TD
9087><TD
9088WIDTH="80%"
9089ALIGN="LEFT"
9090VALIGN="TOP"
9091> the qualified name as appearing in the serialization</TD
9092></TR
9093><TR
9094><TD
9095WIDTH="20%"
9096ALIGN="RIGHT"
9097VALIGN="TOP"
9098><SPAN
9099CLASS="emphasis"
9100><I
9101CLASS="EMPHASIS"
9102>Returns</I
9103></SPAN
9104> :</TD
9105><TD
9106WIDTH="80%"
9107ALIGN="LEFT"
9108VALIGN="TOP"
9109>1 if no validation problem was found or 0 otherwise</TD
9110></TR
9111></TBODY
9112></TABLE
9113><P
9114></P
9115></DIV
9116></DIV
9117><HR><DIV
9118CLASS="REFSECT2"
9119><A
9120NAME="AEN12091"
9121></A
9122><H3
9123><A
9124NAME="XMLVALIDATEPUSHCDATA"
9125></A
9126>xmlValidatePushCData ()</H3
9127><TABLE
9128BORDER="0"
9129BGCOLOR="#D6E8FF"
9130WIDTH="100%"
9131CELLPADDING="6"
9132><TR
9133><TD
9134><PRE
9135CLASS="PROGRAMLISTING"
9136>int xmlValidatePushCData (<A
9137HREF="libxml-valid.html#XMLVALIDCTXTPTR"
9138>xmlValidCtxtPtr</A
9139> ctxt,
9140 const <A
9141HREF="libxml-tree.html#XMLCHAR"
9142>xmlChar</A
9143> *data,
9144 int len);</PRE
9145></TD
9146></TR
9147></TABLE
9148><P
9149>check the CData parsed for validation in the current stack</P
9150><P
9151></P
9152><DIV
9153CLASS="INFORMALTABLE"
9154><A
9155NAME="AEN12099"
9156></A
9157><P
9158></P
9159><TABLE
9160BORDER="0"
9161WIDTH="100%"
9162BGCOLOR="#FFD0D0"
9163CELLSPACING="0"
9164CELLPADDING="4"
9165CLASS="CALSTABLE"
9166><TBODY
9167><TR
9168><TD
9169WIDTH="20%"
9170ALIGN="RIGHT"
9171VALIGN="TOP"
9172><TT
9173CLASS="PARAMETER"
9174><I
9175>ctxt</I
9176></TT
9177>&nbsp;:</TD
9178><TD
9179WIDTH="80%"
9180ALIGN="LEFT"
9181VALIGN="TOP"
9182> the validation context</TD
9183></TR
9184><TR
9185><TD
9186WIDTH="20%"
9187ALIGN="RIGHT"
9188VALIGN="TOP"
9189><TT
9190CLASS="PARAMETER"
9191><I
9192>data</I
9193></TT
9194>&nbsp;:</TD
9195><TD
9196WIDTH="80%"
9197ALIGN="LEFT"
9198VALIGN="TOP"
9199> some character data read</TD
9200></TR
9201><TR
9202><TD
9203WIDTH="20%"
9204ALIGN="RIGHT"
9205VALIGN="TOP"
9206><TT
9207CLASS="PARAMETER"
9208><I
9209>len</I
9210></TT
9211>&nbsp;:</TD
9212><TD
9213WIDTH="80%"
9214ALIGN="LEFT"
9215VALIGN="TOP"
9216> the lenght of the data</TD
9217></TR
9218><TR
9219><TD
9220WIDTH="20%"
9221ALIGN="RIGHT"
9222VALIGN="TOP"
9223><SPAN
9224CLASS="emphasis"
9225><I
9226CLASS="EMPHASIS"
9227>Returns</I
9228></SPAN
9229> :</TD
9230><TD
9231WIDTH="80%"
9232ALIGN="LEFT"
9233VALIGN="TOP"
9234>1 if no validation problem was found or 0 otherwise</TD
9235></TR
9236></TBODY
9237></TABLE
9238><P
9239></P
9240></DIV
9241></DIV
9242><HR><DIV
9243CLASS="REFSECT2"
9244><A
9245NAME="AEN12120"
9246></A
9247><H3
9248><A
9249NAME="XMLVALIDATEPOPELEMENT"
9250></A
9251>xmlValidatePopElement ()</H3
9252><TABLE
9253BORDER="0"
9254BGCOLOR="#D6E8FF"
9255WIDTH="100%"
9256CELLPADDING="6"
9257><TR
9258><TD
9259><PRE
9260CLASS="PROGRAMLISTING"
9261>int xmlValidatePopElement (<A
9262HREF="libxml-valid.html#XMLVALIDCTXTPTR"
9263>xmlValidCtxtPtr</A
9264> ctxt,
9265 <A
9266HREF="libxml-tree.html#XMLDOCPTR"
9267>xmlDocPtr</A
9268> doc,
9269 <A
9270HREF="libxml-tree.html#XMLNODEPTR"
9271>xmlNodePtr</A
9272> elem,
9273 const <A
9274HREF="libxml-tree.html#XMLCHAR"
9275>xmlChar</A
9276> *qname);</PRE
9277></TD
9278></TR
9279></TABLE
9280><P
9281>Pop the element end from the validation stack.</P
9282><P
9283></P
9284><DIV
9285CLASS="INFORMALTABLE"
9286><A
9287NAME="AEN12130"
9288></A
9289><P
9290></P
9291><TABLE
9292BORDER="0"
9293WIDTH="100%"
9294BGCOLOR="#FFD0D0"
9295CELLSPACING="0"
9296CELLPADDING="4"
9297CLASS="CALSTABLE"
9298><TBODY
9299><TR
9300><TD
9301WIDTH="20%"
9302ALIGN="RIGHT"
9303VALIGN="TOP"
9304><TT
9305CLASS="PARAMETER"
9306><I
9307>ctxt</I
9308></TT
9309>&nbsp;:</TD
9310><TD
9311WIDTH="80%"
9312ALIGN="LEFT"
9313VALIGN="TOP"
9314> the validation context</TD
9315></TR
9316><TR
9317><TD
9318WIDTH="20%"
9319ALIGN="RIGHT"
9320VALIGN="TOP"
9321><TT
9322CLASS="PARAMETER"
9323><I
9324>doc</I
9325></TT
9326>&nbsp;:</TD
9327><TD
9328WIDTH="80%"
9329ALIGN="LEFT"
9330VALIGN="TOP"
9331> a document instance</TD
9332></TR
9333><TR
9334><TD
9335WIDTH="20%"
9336ALIGN="RIGHT"
9337VALIGN="TOP"
9338><TT
9339CLASS="PARAMETER"
9340><I
9341>elem</I
9342></TT
9343>&nbsp;:</TD
9344><TD
9345WIDTH="80%"
9346ALIGN="LEFT"
9347VALIGN="TOP"
9348> an element instance</TD
9349></TR
9350><TR
9351><TD
9352WIDTH="20%"
9353ALIGN="RIGHT"
9354VALIGN="TOP"
9355><TT
9356CLASS="PARAMETER"
9357><I
9358>qname</I
9359></TT
9360>&nbsp;:</TD
9361><TD
9362WIDTH="80%"
9363ALIGN="LEFT"
9364VALIGN="TOP"
9365> the qualified name as appearing in the serialization</TD
9366></TR
9367><TR
9368><TD
9369WIDTH="20%"
9370ALIGN="RIGHT"
9371VALIGN="TOP"
9372><SPAN
9373CLASS="emphasis"
9374><I
9375CLASS="EMPHASIS"
9376>Returns</I
9377></SPAN
9378> :</TD
9379><TD
9380WIDTH="80%"
9381ALIGN="LEFT"
9382VALIGN="TOP"
9383>1 if no validation problem was found or 0 otherwise</TD
9384></TR
9385></TBODY
9386></TABLE
9387><P
9388></P
9389></DIV
9390></DIV
Daniel Veillard35925471999-02-25 08:46:07 +00009391></DIV
9392><DIV
9393CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00009394><BR
9395CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00009396WIDTH="100%"
9397BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009398BGCOLOR="#000000"
9399CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00009400CELLSPACING="0"
9401><TR
9402><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009403WIDTH="25%"
9404BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00009405ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00009406><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009407HREF="libxml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00009408><FONT
9409COLOR="#FFFFFF"
9410SIZE="3"
9411><B
9412>&#60;&#60;&#60; Previous Page</B
9413></FONT
9414></A
Daniel Veillard35925471999-02-25 08:46:07 +00009415></TD
9416><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009417WIDTH="25%"
9418BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00009419ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00009420><FONT
9421COLOR="#FFFFFF"
9422SIZE="3"
9423><B
Daniel Veillard35925471999-02-25 08:46:07 +00009424><A
9425HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00009426><FONT
9427COLOR="#FFFFFF"
9428SIZE="3"
9429><B
9430>Home</B
9431></FONT
9432></A
9433></B
9434></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00009435></TD
9436><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009437WIDTH="25%"
9438BGCOLOR="#00C000"
9439ALIGN="center"
9440><FONT
9441COLOR="#FFFFFF"
9442SIZE="3"
9443><B
9444><A
Daniel Veillard35008381999-10-25 13:15:52 +00009445HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00009446><FONT
9447COLOR="#FFFFFF"
9448SIZE="3"
9449><B
9450>Up</B
9451></FONT
9452></A
9453></B
9454></FONT
9455></TD
9456><TD
9457WIDTH="25%"
9458BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00009459ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00009460><A
Daniel Veillardaec63562003-03-23 20:42:17 +00009461HREF="libxml-relaxng.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00009462><FONT
9463COLOR="#FFFFFF"
9464SIZE="3"
9465><B
9466>Next Page &#62;&#62;&#62;</B
9467></FONT
9468></A
Daniel Veillard35925471999-02-25 08:46:07 +00009469></TD
9470></TR
9471><TR
9472><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009473COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00009474ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00009475><FONT
9476COLOR="#FFFFFF"
9477SIZE="3"
9478><B
9479>entities</B
9480></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00009481></TD
9482><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009483COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00009484ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00009485><FONT
9486COLOR="#FFFFFF"
9487SIZE="3"
9488><B
Daniel Veillardaec63562003-03-23 20:42:17 +00009489>relaxng</B
Daniel Veillard14fff061999-06-22 21:49:07 +00009490></FONT
9491></TD
Daniel Veillard35925471999-02-25 08:46:07 +00009492></TR
9493></TABLE
9494></DIV
9495></BODY
9496></HTML
9497>