blob: dd83d4f455d15de54c76343796f36fb2696accfb [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>valid</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard60087f32001-10-10 09:45:09 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.64
8"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +00009REL="HOME"
10TITLE="Gnome XML Library Reference Manual"
11HREF="book1.html"><LINK
12REL="UP"
Daniel Veillard35008381999-10-25 13:15:52 +000013TITLE="Libxml Library Reference"
14HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000015REL="PREVIOUS"
16TITLE="entities"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000017HREF="libxml-entities.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000018REL="NEXT"
Daniel Veillard8f621982000-03-20 13:07:15 +000019TITLE="uri"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000020HREF="libxml-uri.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000021><BODY
Daniel Veillardbed7b052001-05-19 14:59:49 +000022CLASS="REFENTRY"
Daniel Veillard35925471999-02-25 08:46:07 +000023BGCOLOR="#FFFFFF"
24TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000025LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
Daniel Veillard35925471999-02-25 08:46:07 +000028><DIV
29CLASS="NAVHEADER"
30><TABLE
31WIDTH="100%"
32BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000033BGCOLOR="#000000"
34CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000035CELLSPACING="0"
36><TR
37><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000038COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000039ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000040><FONT
41COLOR="#FFFFFF"
42SIZE="5"
43>Gnome XML Library Reference Manual</FONT
44></TH
Daniel Veillard35925471999-02-25 08:46:07 +000045></TR
46><TR
47><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000048WIDTH="25%"
49BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000050ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000051><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000052HREF="libxml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000053><FONT
54COLOR="#FFFFFF"
55SIZE="3"
56><B
57>&#60;&#60;&#60; Previous Page</B
58></FONT
59></A
Daniel Veillard35925471999-02-25 08:46:07 +000060></TD
61><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000062WIDTH="25%"
63BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000064ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000065><FONT
66COLOR="#FFFFFF"
67SIZE="3"
68><B
69><A
70HREF="book1.html"
71><FONT
72COLOR="#FFFFFF"
73SIZE="3"
74><B
75>Home</B
76></FONT
77></A
78></B
79></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000080></TD
81><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000082WIDTH="25%"
83BGCOLOR="#00C000"
84ALIGN="center"
85><FONT
86COLOR="#FFFFFF"
87SIZE="3"
88><B
89><A
Daniel Veillard35008381999-10-25 13:15:52 +000090HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000091><FONT
92COLOR="#FFFFFF"
93SIZE="3"
94><B
95>Up</B
96></FONT
97></A
98></B
99></FONT
100></TD
101><TD
102WIDTH="25%"
103BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +0000104ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +0000105><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000106HREF="libxml-uri.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000107><FONT
108COLOR="#FFFFFF"
109SIZE="3"
110><B
111>Next Page &#62;&#62;&#62;</B
112></FONT
113></A
Daniel Veillard35925471999-02-25 08:46:07 +0000114></TD
115></TR
116></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000117></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000118><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000119><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000120NAME="LIBXML-VALID"
Daniel Veillard503b8932001-01-05 06:36:31 +0000121>valid</A
122></H1
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFNAMEDIV"
125><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000126NAME="AEN8371"
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 Veillard5f4b5992002-02-20 10:22:49 +0000134NAME="AEN8374"
Daniel Veillard35925471999-02-25 08:46:07 +0000135></A
136><H2
137>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 Veillard9cb5ff42001-01-29 08:22:21 +0000844HREF="libxml-valid.html#XMLVALIDATEDOCUMENTFINAL"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000845>xmlValidateDocumentFinal</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000846> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000847HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000848>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000849> ctxt,
850 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000851HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000852>xmlDocPtr</A
853> doc);
854int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000855HREF="libxml-valid.html#XMLVALIDATENOTATIONUSE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000856>xmlValidateNotationUse</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000857> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000858HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000859>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000860> ctxt,
861 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000862HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000863>xmlDocPtr</A
864> doc,
865 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000866HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000867>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000868> *notationName);
869int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000870HREF="libxml-valid.html#XMLISMIXEDELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000871>xmlIsMixedElement</A
872> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000873HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000874>xmlDocPtr</A
875> doc,
876 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000877HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000878>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000879> *name);
880<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000881HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000882>xmlAttributePtr</A
883> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000884HREF="libxml-valid.html#XMLGETDTDATTRDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000885>xmlGetDtdAttrDesc</A
886> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000887HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000888>xmlDtdPtr</A
889> dtd,
890 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000891HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000892>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000893> *elem,
894 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000895HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000896>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000897> *name);
898<A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000899HREF="libxml-tree.html#XMLATTRIBUTEPTR"
900>xmlAttributePtr</A
901> <A
902HREF="libxml-valid.html#XMLGETDTDQATTRDESC"
903>xmlGetDtdQAttrDesc</A
904> (<A
905HREF="libxml-tree.html#XMLDTDPTR"
906>xmlDtdPtr</A
907> dtd,
908 const <A
909HREF="libxml-tree.html#XMLCHAR"
910>xmlChar</A
911> *elem,
912 const <A
913HREF="libxml-tree.html#XMLCHAR"
914>xmlChar</A
915> *name,
916 const <A
917HREF="libxml-tree.html#XMLCHAR"
918>xmlChar</A
919> *prefix);
920<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000921HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000922>xmlNotationPtr</A
923> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000924HREF="libxml-valid.html#XMLGETDTDNOTATIONDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000925>xmlGetDtdNotationDesc</A
926> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000927HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000928>xmlDtdPtr</A
929> dtd,
930 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000931HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000932>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000933> *name);
934<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000935HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000936>xmlElementPtr</A
937> <A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000938HREF="libxml-valid.html#XMLGETDTDQELEMENTDESC"
939>xmlGetDtdQElementDesc</A
940> (<A
941HREF="libxml-tree.html#XMLDTDPTR"
942>xmlDtdPtr</A
943> dtd,
944 const <A
945HREF="libxml-tree.html#XMLCHAR"
946>xmlChar</A
947> *name,
948 const <A
949HREF="libxml-tree.html#XMLCHAR"
950>xmlChar</A
951> *prefix);
952<A
953HREF="libxml-tree.html#XMLELEMENTPTR"
954>xmlElementPtr</A
955> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000956HREF="libxml-valid.html#XMLGETDTDELEMENTDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000957>xmlGetDtdElementDesc</A
958> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000959HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000960>xmlDtdPtr</A
961> dtd,
962 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000963HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000964>xmlChar</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000965> *name);
966int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000967HREF="libxml-valid.html#XMLVALIDGETVALIDELEMENTS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000968>xmlValidGetValidElements</A
969> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000970HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000971>xmlNode</A
972> *prev,
973 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000974HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000975>xmlNode</A
976> *next,
977 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000978HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000979>xmlChar</A
980> **list,
981 int max);
982int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000983HREF="libxml-valid.html#XMLVALIDGETPOTENTIALCHILDREN"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000984>xmlValidGetPotentialChildren</A
985> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000986HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000987>xmlElementContent</A
988> *ctree,
989 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000990HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000991>xmlChar</A
992> **list,
993 int *len,
994 int max);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000995></TD
996></TR
997></TABLE
998></DIV
999><DIV
1000CLASS="REFSECT1"
1001><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001002NAME="AEN8605"
Daniel Veillard35925471999-02-25 08:46:07 +00001003></A
1004><H2
1005>Description</H2
1006><P
1007></P
1008></DIV
1009><DIV
1010CLASS="REFSECT1"
1011><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001012NAME="AEN8608"
Daniel Veillard35925471999-02-25 08:46:07 +00001013></A
1014><H2
1015>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001016><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001017CLASS="REFSECT2"
1018><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001019NAME="AEN8610"
Daniel Veillarda41123c2001-04-22 19:31:20 +00001020></A
1021><H3
1022><A
1023NAME="XMLVALIDSTATE"
1024></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001025>struct xmlValidState</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00001026><TABLE
1027BORDER="0"
1028BGCOLOR="#D6E8FF"
1029WIDTH="100%"
1030CELLPADDING="6"
1031><TR
1032><TD
1033><PRE
1034CLASS="PROGRAMLISTING"
1035>struct xmlValidState;</PRE
1036></TD
1037></TR
1038></TABLE
1039><P
1040></P
1041></DIV
1042><HR><DIV
1043CLASS="REFSECT2"
1044><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001045NAME="AEN8615"
Daniel Veillarda41123c2001-04-22 19:31:20 +00001046></A
1047><H3
1048><A
1049NAME="XMLVALIDSTATEPTR"
1050></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001051>xmlValidStatePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001052><TABLE
1053BORDER="0"
1054BGCOLOR="#D6E8FF"
1055WIDTH="100%"
1056CELLPADDING="6"
1057><TR
1058><TD
1059><PRE
1060CLASS="PROGRAMLISTING"
1061>typedef xmlValidState *xmlValidStatePtr;</PRE
1062></TD
1063></TR
1064></TABLE
Daniel Veillarda41123c2001-04-22 19:31:20 +00001065><P
1066></P
1067></DIV
1068><HR><DIV
1069CLASS="REFSECT2"
1070><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001071NAME="AEN8620"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001072></A
1073><H3
1074><A
1075NAME="XMLVALIDITYERRORFUNC"
1076></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001077>xmlValidityErrorFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00001078><TABLE
1079BORDER="0"
1080BGCOLOR="#D6E8FF"
1081WIDTH="100%"
1082CELLPADDING="6"
1083><TR
1084><TD
1085><PRE
1086CLASS="PROGRAMLISTING"
1087>void (*xmlValidityErrorFunc) (void *ctx,
1088 const char *msg,
1089 ...);</PRE
1090></TD
1091></TR
1092></TABLE
1093><P
Daniel Veillard19274092002-03-25 16:48:03 +00001094>Callback called when a validity error is found. This is a message
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001095oriented function similar to an *printf function.</P
1096><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001097></P
1098><DIV
1099CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001100><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001101NAME="AEN8626"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001102></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001103><P
1104></P
1105><TABLE
1106BORDER="0"
1107WIDTH="100%"
1108BGCOLOR="#FFD0D0"
1109CELLSPACING="0"
1110CELLPADDING="4"
1111CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001112><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001113><TR
1114><TD
1115WIDTH="20%"
1116ALIGN="RIGHT"
1117VALIGN="TOP"
1118><TT
1119CLASS="PARAMETER"
1120><I
1121>ctx</I
1122></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001123>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001124><TD
1125WIDTH="80%"
1126ALIGN="LEFT"
1127VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001128> an xmlValidCtxtPtr validity error context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001129></TR
1130><TR
1131><TD
1132WIDTH="20%"
1133ALIGN="RIGHT"
1134VALIGN="TOP"
1135><TT
1136CLASS="PARAMETER"
1137><I
1138>msg</I
1139></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001140>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001141><TD
1142WIDTH="80%"
1143ALIGN="LEFT"
1144VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001145> the string to format *printf like vararg</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001146></TR
1147><TR
1148><TD
1149WIDTH="20%"
1150ALIGN="RIGHT"
1151VALIGN="TOP"
1152><TT
1153CLASS="PARAMETER"
1154><I
1155>...</I
1156></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001157>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001158><TD
1159WIDTH="80%"
1160ALIGN="LEFT"
1161VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001162> remaining arguments to the format</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001163></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001164></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001165></TABLE
1166><P
1167></P
1168></DIV
1169></DIV
1170><HR><DIV
1171CLASS="REFSECT2"
1172><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001173NAME="AEN8643"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001174></A
1175><H3
1176><A
1177NAME="XMLVALIDITYWARNINGFUNC"
1178></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001179>xmlValidityWarningFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00001180><TABLE
1181BORDER="0"
1182BGCOLOR="#D6E8FF"
1183WIDTH="100%"
1184CELLPADDING="6"
1185><TR
1186><TD
1187><PRE
1188CLASS="PROGRAMLISTING"
1189>void (*xmlValidityWarningFunc) (void *ctx,
1190 const char *msg,
1191 ...);</PRE
1192></TD
1193></TR
1194></TABLE
1195><P
Daniel Veillard19274092002-03-25 16:48:03 +00001196>Callback called when a validity warning is found. This is a message
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001197oriented function similar to an *printf function.</P
1198><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001199></P
1200><DIV
1201CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001202><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001203NAME="AEN8649"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001204></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001205><P
1206></P
1207><TABLE
1208BORDER="0"
1209WIDTH="100%"
1210BGCOLOR="#FFD0D0"
1211CELLSPACING="0"
1212CELLPADDING="4"
1213CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001214><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001215><TR
1216><TD
1217WIDTH="20%"
1218ALIGN="RIGHT"
1219VALIGN="TOP"
1220><TT
1221CLASS="PARAMETER"
1222><I
1223>ctx</I
1224></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001225>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001226><TD
1227WIDTH="80%"
1228ALIGN="LEFT"
1229VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001230> an xmlValidCtxtPtr validity error context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001231></TR
1232><TR
1233><TD
1234WIDTH="20%"
1235ALIGN="RIGHT"
1236VALIGN="TOP"
1237><TT
1238CLASS="PARAMETER"
1239><I
1240>msg</I
1241></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001242>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001243><TD
1244WIDTH="80%"
1245ALIGN="LEFT"
1246VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001247> the string to format *printf like vararg</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001248></TR
1249><TR
1250><TD
1251WIDTH="20%"
1252ALIGN="RIGHT"
1253VALIGN="TOP"
1254><TT
1255CLASS="PARAMETER"
1256><I
1257>...</I
1258></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001259>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001260><TD
1261WIDTH="80%"
1262ALIGN="LEFT"
1263VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001264> remaining arguments to the format</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001265></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001266></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001267></TABLE
1268><P
1269></P
1270></DIV
1271></DIV
1272><HR><DIV
1273CLASS="REFSECT2"
1274><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001275NAME="AEN8666"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001276></A
1277><H3
1278><A
1279NAME="XMLVALIDCTXT"
1280></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001281>struct xmlValidCtxt</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001282><TABLE
1283BORDER="0"
1284BGCOLOR="#D6E8FF"
1285WIDTH="100%"
1286CELLPADDING="6"
1287><TR
1288><TD
1289><PRE
1290CLASS="PROGRAMLISTING"
1291>struct xmlValidCtxt {
1292 void *userData; /* user specific data block */
1293 xmlValidityErrorFunc error; /* the callback in case of errors */
1294 xmlValidityWarningFunc warning; /* the callback in case of warning */
1295
1296 /* Node analysis stack used when validating within entities */
1297 xmlNodePtr node; /* Current parsed Node */
1298 int nodeNr; /* Depth of the parsing stack */
1299 int nodeMax; /* Max depth of the parsing stack */
1300 xmlNodePtr *nodeTab; /* array of nodes */
1301
1302 int finishDtd; /* finished validating the Dtd ? */
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001303 xmlDocPtr doc; /* the document */
1304 int valid; /* temporary validity check result */
Daniel Veillarda41123c2001-04-22 19:31:20 +00001305
1306 /* state state used for non-determinist content validation */
1307 xmlValidState *vstate; /* current state */
1308 int vstateNr; /* Depth of the validation stack */
1309 int vstateMax; /* Max depth of the validation stack */
1310 xmlValidState *vstateTab; /* array of validation states */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001311};</PRE
1312></TD
1313></TR
1314></TABLE
1315><P
1316></P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001317><P
1318></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001319></DIV
1320><HR><DIV
1321CLASS="REFSECT2"
1322><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001323NAME="AEN8672"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001324></A
1325><H3
1326><A
1327NAME="XMLVALIDCTXTPTR"
1328></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001329>xmlValidCtxtPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001330><TABLE
1331BORDER="0"
1332BGCOLOR="#D6E8FF"
1333WIDTH="100%"
1334CELLPADDING="6"
1335><TR
1336><TD
1337><PRE
1338CLASS="PROGRAMLISTING"
1339>typedef xmlValidCtxt *xmlValidCtxtPtr;</PRE
1340></TD
1341></TR
1342></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001343><P
1344></P
1345></DIV
1346><HR><DIV
1347CLASS="REFSECT2"
1348><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001349NAME="AEN8677"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001350></A
1351><H3
1352><A
1353NAME="XMLNOTATIONTABLEPTR"
1354></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001355>xmlNotationTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001356><TABLE
1357BORDER="0"
1358BGCOLOR="#D6E8FF"
1359WIDTH="100%"
1360CELLPADDING="6"
1361><TR
1362><TD
1363><PRE
1364CLASS="PROGRAMLISTING"
1365>typedef xmlNotationTable *xmlNotationTablePtr;</PRE
1366></TD
1367></TR
1368></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001369><P
1370></P
1371></DIV
1372><HR><DIV
1373CLASS="REFSECT2"
1374><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001375NAME="AEN8682"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001376></A
1377><H3
1378><A
1379NAME="XMLELEMENTTABLEPTR"
1380></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001381>xmlElementTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001382><TABLE
1383BORDER="0"
1384BGCOLOR="#D6E8FF"
1385WIDTH="100%"
1386CELLPADDING="6"
1387><TR
1388><TD
1389><PRE
1390CLASS="PROGRAMLISTING"
1391>typedef xmlElementTable *xmlElementTablePtr;</PRE
1392></TD
1393></TR
1394></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001395><P
1396></P
1397></DIV
1398><HR><DIV
1399CLASS="REFSECT2"
1400><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001401NAME="AEN8687"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001402></A
1403><H3
1404><A
1405NAME="XMLATTRIBUTETABLEPTR"
1406></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001407>xmlAttributeTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001408><TABLE
1409BORDER="0"
1410BGCOLOR="#D6E8FF"
1411WIDTH="100%"
1412CELLPADDING="6"
1413><TR
1414><TD
1415><PRE
1416CLASS="PROGRAMLISTING"
1417>typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE
1418></TD
1419></TR
1420></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001421><P
1422></P
1423></DIV
1424><HR><DIV
1425CLASS="REFSECT2"
1426><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001427NAME="AEN8692"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001428></A
1429><H3
1430><A
1431NAME="XMLIDTABLEPTR"
1432></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001433>xmlIDTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001434><TABLE
1435BORDER="0"
1436BGCOLOR="#D6E8FF"
1437WIDTH="100%"
1438CELLPADDING="6"
1439><TR
1440><TD
1441><PRE
1442CLASS="PROGRAMLISTING"
1443>typedef xmlIDTable *xmlIDTablePtr;</PRE
1444></TD
1445></TR
1446></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001447><P
1448></P
1449></DIV
1450><HR><DIV
1451CLASS="REFSECT2"
1452><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001453NAME="AEN8697"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001454></A
1455><H3
1456><A
1457NAME="XMLREFTABLEPTR"
1458></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001459>xmlRefTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001460><TABLE
1461BORDER="0"
1462BGCOLOR="#D6E8FF"
1463WIDTH="100%"
1464CELLPADDING="6"
1465><TR
1466><TD
1467><PRE
1468CLASS="PROGRAMLISTING"
1469>typedef xmlRefTable *xmlRefTablePtr;</PRE
1470></TD
1471></TR
1472></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001473><P
1474></P
1475></DIV
1476><HR><DIV
1477CLASS="REFSECT2"
1478><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001479NAME="AEN8702"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001480></A
1481><H3
1482><A
1483NAME="XMLSPLITQNAME2"
1484></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001485>xmlSplitQName2 ()</H3
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001486><TABLE
1487BORDER="0"
1488BGCOLOR="#D6E8FF"
1489WIDTH="100%"
1490CELLPADDING="6"
1491><TR
1492><TD
1493><PRE
1494CLASS="PROGRAMLISTING"
1495><A
1496HREF="libxml-tree.html#XMLCHAR"
1497>xmlChar</A
1498>* xmlSplitQName2 (const <A
1499HREF="libxml-tree.html#XMLCHAR"
1500>xmlChar</A
1501> *name,
1502 <A
1503HREF="libxml-tree.html#XMLCHAR"
1504>xmlChar</A
1505> **prefix);</PRE
1506></TD
1507></TR
1508></TABLE
1509><P
1510>parse an XML qualified name string</P
1511><P
1512>[NS 5] QName ::= (Prefix ':')? LocalPart</P
1513><P
1514>[NS 6] Prefix ::= NCName</P
1515><P
1516>[NS 7] LocalPart ::= NCName</P
1517><P
1518></P
1519><DIV
1520CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001521><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001522NAME="AEN8714"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001523></A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001524><P
1525></P
1526><TABLE
1527BORDER="0"
1528WIDTH="100%"
1529BGCOLOR="#FFD0D0"
1530CELLSPACING="0"
1531CELLPADDING="4"
1532CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001533><TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001534><TR
1535><TD
1536WIDTH="20%"
1537ALIGN="RIGHT"
1538VALIGN="TOP"
1539><TT
1540CLASS="PARAMETER"
1541><I
1542>name</I
1543></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001544>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001545><TD
1546WIDTH="80%"
1547ALIGN="LEFT"
1548VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001549> an XML parser context</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001550></TR
1551><TR
1552><TD
1553WIDTH="20%"
1554ALIGN="RIGHT"
1555VALIGN="TOP"
1556><TT
1557CLASS="PARAMETER"
1558><I
1559>prefix</I
1560></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001561>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001562><TD
1563WIDTH="80%"
1564ALIGN="LEFT"
1565VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001566> a xmlChar ** </TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001567></TR
1568><TR
1569><TD
1570WIDTH="20%"
1571ALIGN="RIGHT"
1572VALIGN="TOP"
1573><I
1574CLASS="EMPHASIS"
1575>Returns</I
1576> :</TD
1577><TD
1578WIDTH="80%"
1579ALIGN="LEFT"
1580VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001581>NULL if not a QName, otherwise the local part, and prefix
Daniel Veillardaf43f632002-03-08 15:05:20 +00001582is updated to get the Prefix if any.</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001583></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001584></TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001585></TABLE
1586><P
1587></P
1588></DIV
1589></DIV
1590><HR><DIV
1591CLASS="REFSECT2"
1592><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001593NAME="AEN8731"
Daniel Veillard35925471999-02-25 08:46:07 +00001594></A
1595><H3
1596><A
1597NAME="XMLADDNOTATIONDECL"
1598></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001599>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001600><TABLE
1601BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001602BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001603WIDTH="100%"
1604CELLPADDING="6"
1605><TR
1606><TD
1607><PRE
1608CLASS="PROGRAMLISTING"
1609><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001610HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001611>xmlNotationPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001612> xmlAddNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001613HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001614>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001615> ctxt,
1616 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001617HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001618>xmlDtdPtr</A
1619> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001620 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001621HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001622>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001623> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001624 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001625HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001626>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001627> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001628 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001629HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001630>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001631> *SystemID);</PRE
1632></TD
1633></TR
1634></TABLE
1635><P
1636>Register a new notation declaration</P
1637><P
1638></P
1639><DIV
1640CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001641><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001642NAME="AEN8743"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001643></A
Daniel Veillard35925471999-02-25 08:46:07 +00001644><P
1645></P
1646><TABLE
1647BORDER="0"
1648WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001649BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001650CELLSPACING="0"
1651CELLPADDING="4"
1652CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001653><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001654><TR
1655><TD
1656WIDTH="20%"
1657ALIGN="RIGHT"
1658VALIGN="TOP"
1659><TT
1660CLASS="PARAMETER"
1661><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001662>ctxt</I
1663></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001664>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001665><TD
1666WIDTH="80%"
1667ALIGN="LEFT"
1668VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001669> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001670></TR
1671><TR
1672><TD
1673WIDTH="20%"
1674ALIGN="RIGHT"
1675VALIGN="TOP"
1676><TT
1677CLASS="PARAMETER"
1678><I
Daniel Veillard35925471999-02-25 08:46:07 +00001679>dtd</I
1680></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001681>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001682><TD
1683WIDTH="80%"
1684ALIGN="LEFT"
1685VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001686> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001687></TR
1688><TR
1689><TD
1690WIDTH="20%"
1691ALIGN="RIGHT"
1692VALIGN="TOP"
1693><TT
1694CLASS="PARAMETER"
1695><I
1696>name</I
1697></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001698>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001699><TD
1700WIDTH="80%"
1701ALIGN="LEFT"
1702VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001703> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001704></TR
1705><TR
1706><TD
1707WIDTH="20%"
1708ALIGN="RIGHT"
1709VALIGN="TOP"
1710><TT
1711CLASS="PARAMETER"
1712><I
1713>PublicID</I
1714></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001715>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001716><TD
1717WIDTH="80%"
1718ALIGN="LEFT"
1719VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001720> the public identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001721></TR
1722><TR
1723><TD
1724WIDTH="20%"
1725ALIGN="RIGHT"
1726VALIGN="TOP"
1727><TT
1728CLASS="PARAMETER"
1729><I
1730>SystemID</I
1731></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001732>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001733><TD
1734WIDTH="80%"
1735ALIGN="LEFT"
1736VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001737> the system identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001738></TR
1739><TR
1740><TD
1741WIDTH="20%"
1742ALIGN="RIGHT"
1743VALIGN="TOP"
1744><I
1745CLASS="EMPHASIS"
1746>Returns</I
1747> :</TD
1748><TD
1749WIDTH="80%"
1750ALIGN="LEFT"
1751VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001752>NULL if not, otherwise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001753></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001754></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001755></TABLE
1756><P
1757></P
1758></DIV
1759></DIV
1760><HR><DIV
1761CLASS="REFSECT2"
1762><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001763NAME="AEN8772"
Daniel Veillard35925471999-02-25 08:46:07 +00001764></A
1765><H3
1766><A
1767NAME="XMLCOPYNOTATIONTABLE"
1768></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001769>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001770><TABLE
1771BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001772BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001773WIDTH="100%"
1774CELLPADDING="6"
1775><TR
1776><TD
1777><PRE
1778CLASS="PROGRAMLISTING"
1779><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001780HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001781>xmlNotationTablePtr</A
1782> xmlCopyNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001783HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001784>xmlNotationTablePtr</A
1785> table);</PRE
1786></TD
1787></TR
1788></TABLE
1789><P
1790>Build a copy of a notation table.</P
1791><P
1792></P
1793><DIV
1794CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001795><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001796NAME="AEN8780"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001797></A
Daniel Veillard35925471999-02-25 08:46:07 +00001798><P
1799></P
1800><TABLE
1801BORDER="0"
1802WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001803BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001804CELLSPACING="0"
1805CELLPADDING="4"
1806CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001807><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001808><TR
1809><TD
1810WIDTH="20%"
1811ALIGN="RIGHT"
1812VALIGN="TOP"
1813><TT
1814CLASS="PARAMETER"
1815><I
1816>table</I
1817></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001818>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001819><TD
1820WIDTH="80%"
1821ALIGN="LEFT"
1822VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001823> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001824></TR
1825><TR
1826><TD
1827WIDTH="20%"
1828ALIGN="RIGHT"
1829VALIGN="TOP"
1830><I
1831CLASS="EMPHASIS"
1832>Returns</I
1833> :</TD
1834><TD
1835WIDTH="80%"
1836ALIGN="LEFT"
1837VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001838>the new xmlNotationTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001839></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001840></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001841></TABLE
1842><P
1843></P
1844></DIV
1845></DIV
1846><HR><DIV
1847CLASS="REFSECT2"
1848><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001849NAME="AEN8793"
Daniel Veillard35925471999-02-25 08:46:07 +00001850></A
1851><H3
1852><A
1853NAME="XMLFREENOTATIONTABLE"
1854></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001855>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001856><TABLE
1857BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001858BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001859WIDTH="100%"
1860CELLPADDING="6"
1861><TR
1862><TD
1863><PRE
1864CLASS="PROGRAMLISTING"
1865>void xmlFreeNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001866HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001867>xmlNotationTablePtr</A
1868> table);</PRE
1869></TD
1870></TR
1871></TABLE
1872><P
1873>Deallocate the memory used by an entities hash table.</P
1874><P
1875></P
1876><DIV
1877CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001878><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001879NAME="AEN8800"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001880></A
Daniel Veillard35925471999-02-25 08:46:07 +00001881><P
1882></P
1883><TABLE
1884BORDER="0"
1885WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001886BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001887CELLSPACING="0"
1888CELLPADDING="4"
1889CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001890><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001891><TR
1892><TD
1893WIDTH="20%"
1894ALIGN="RIGHT"
1895VALIGN="TOP"
1896><TT
1897CLASS="PARAMETER"
1898><I
1899>table</I
1900></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001901>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001902><TD
1903WIDTH="80%"
1904ALIGN="LEFT"
1905VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001906> An notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001907></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001908></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001909></TABLE
1910><P
1911></P
1912></DIV
1913></DIV
1914><HR><DIV
1915CLASS="REFSECT2"
1916><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001917NAME="AEN8809"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001918></A
1919><H3
1920><A
1921NAME="XMLDUMPNOTATIONDECL"
1922></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001923>xmlDumpNotationDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001924><TABLE
1925BORDER="0"
1926BGCOLOR="#D6E8FF"
1927WIDTH="100%"
1928CELLPADDING="6"
1929><TR
1930><TD
1931><PRE
1932CLASS="PROGRAMLISTING"
1933>void xmlDumpNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001934HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001935>xmlBufferPtr</A
1936> buf,
1937 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001938HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001939>xmlNotationPtr</A
1940> nota);</PRE
1941></TD
1942></TR
1943></TABLE
1944><P
1945>This will dump the content the notation declaration as an XML DTD definition</P
1946><P
1947></P
1948><DIV
1949CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001950><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001951NAME="AEN8817"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001952></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001953><P
1954></P
1955><TABLE
1956BORDER="0"
1957WIDTH="100%"
1958BGCOLOR="#FFD0D0"
1959CELLSPACING="0"
1960CELLPADDING="4"
1961CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001962><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001963><TR
1964><TD
1965WIDTH="20%"
1966ALIGN="RIGHT"
1967VALIGN="TOP"
1968><TT
1969CLASS="PARAMETER"
1970><I
1971>buf</I
1972></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001973>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001974><TD
1975WIDTH="80%"
1976ALIGN="LEFT"
1977VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001978> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001979></TR
1980><TR
1981><TD
1982WIDTH="20%"
1983ALIGN="RIGHT"
1984VALIGN="TOP"
1985><TT
1986CLASS="PARAMETER"
1987><I
1988>nota</I
1989></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001990>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001991><TD
1992WIDTH="80%"
1993ALIGN="LEFT"
1994VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001995> A notation declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001996></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001997></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001998></TABLE
1999><P
2000></P
2001></DIV
2002></DIV
2003><HR><DIV
2004CLASS="REFSECT2"
2005><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002006NAME="AEN8830"
Daniel Veillard35925471999-02-25 08:46:07 +00002007></A
2008><H3
2009><A
2010NAME="XMLDUMPNOTATIONTABLE"
2011></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002012>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002013><TABLE
2014BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002015BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002016WIDTH="100%"
2017CELLPADDING="6"
2018><TR
2019><TD
2020><PRE
2021CLASS="PROGRAMLISTING"
2022>void xmlDumpNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002023HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002024>xmlBufferPtr</A
2025> buf,
2026 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002027HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002028>xmlNotationTablePtr</A
2029> table);</PRE
2030></TD
2031></TR
2032></TABLE
2033><P
2034>This will dump the content of the notation table as an XML DTD definition</P
2035><P
Daniel Veillard35925471999-02-25 08:46:07 +00002036></P
2037><DIV
2038CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002039><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002040NAME="AEN8838"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002041></A
Daniel Veillard35925471999-02-25 08:46:07 +00002042><P
2043></P
2044><TABLE
2045BORDER="0"
2046WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002047BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002048CELLSPACING="0"
2049CELLPADDING="4"
2050CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002051><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002052><TR
2053><TD
2054WIDTH="20%"
2055ALIGN="RIGHT"
2056VALIGN="TOP"
2057><TT
2058CLASS="PARAMETER"
2059><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002060>buf</I
2061></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002062>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002063><TD
2064WIDTH="80%"
2065ALIGN="LEFT"
2066VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002067> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002068></TR
2069><TR
2070><TD
2071WIDTH="20%"
2072ALIGN="RIGHT"
2073VALIGN="TOP"
2074><TT
2075CLASS="PARAMETER"
2076><I
Daniel Veillard35925471999-02-25 08:46:07 +00002077>table</I
2078></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002079>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002080><TD
2081WIDTH="80%"
2082ALIGN="LEFT"
2083VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002084> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002085></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002086></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002087></TABLE
2088><P
2089></P
2090></DIV
2091></DIV
2092><HR><DIV
2093CLASS="REFSECT2"
2094><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002095NAME="AEN8851"
Daniel Veillard35925471999-02-25 08:46:07 +00002096></A
2097><H3
2098><A
2099NAME="XMLNEWELEMENTCONTENT"
2100></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002101>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002102><TABLE
2103BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002104BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002105WIDTH="100%"
2106CELLPADDING="6"
2107><TR
2108><TD
2109><PRE
2110CLASS="PROGRAMLISTING"
2111><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002112HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002113>xmlElementContentPtr</A
2114> xmlNewElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002115HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002116>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002117> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002118 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002119HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002120>xmlElementContentType</A
2121> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00002122></TD
2123></TR
2124></TABLE
2125><P
2126>Allocate an element content structure.</P
2127><P
2128></P
2129><DIV
2130CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002131><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002132NAME="AEN8860"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002133></A
Daniel Veillard35925471999-02-25 08:46:07 +00002134><P
2135></P
2136><TABLE
2137BORDER="0"
2138WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002139BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002140CELLSPACING="0"
2141CELLPADDING="4"
2142CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002143><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002144><TR
2145><TD
2146WIDTH="20%"
2147ALIGN="RIGHT"
2148VALIGN="TOP"
2149><TT
2150CLASS="PARAMETER"
2151><I
2152>name</I
2153></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002154>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002155><TD
2156WIDTH="80%"
2157ALIGN="LEFT"
2158VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002159> the subelement name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002160></TR
2161><TR
2162><TD
2163WIDTH="20%"
2164ALIGN="RIGHT"
2165VALIGN="TOP"
2166><TT
2167CLASS="PARAMETER"
2168><I
2169>type</I
2170></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002171>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002172><TD
2173WIDTH="80%"
2174ALIGN="LEFT"
2175VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002176> the type of element content decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002177></TR
2178><TR
2179><TD
2180WIDTH="20%"
2181ALIGN="RIGHT"
2182VALIGN="TOP"
2183><I
2184CLASS="EMPHASIS"
2185>Returns</I
2186> :</TD
2187><TD
2188WIDTH="80%"
2189ALIGN="LEFT"
2190VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002191>NULL if not, otherwise the new element content structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002192></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002193></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002194></TABLE
2195><P
2196></P
2197></DIV
2198></DIV
2199><HR><DIV
2200CLASS="REFSECT2"
2201><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002202NAME="AEN8877"
Daniel Veillard35925471999-02-25 08:46:07 +00002203></A
2204><H3
2205><A
2206NAME="XMLCOPYELEMENTCONTENT"
2207></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002208>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002209><TABLE
2210BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002211BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002212WIDTH="100%"
2213CELLPADDING="6"
2214><TR
2215><TD
2216><PRE
2217CLASS="PROGRAMLISTING"
2218><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002219HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002220>xmlElementContentPtr</A
2221> xmlCopyElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002222HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002223>xmlElementContentPtr</A
2224> content);</PRE
2225></TD
2226></TR
2227></TABLE
2228><P
2229>Build a copy of an element content description.</P
2230><P
2231></P
2232><DIV
2233CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002234><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002235NAME="AEN8885"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002236></A
Daniel Veillard35925471999-02-25 08:46:07 +00002237><P
2238></P
2239><TABLE
2240BORDER="0"
2241WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002242BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002243CELLSPACING="0"
2244CELLPADDING="4"
2245CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002246><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002247><TR
2248><TD
2249WIDTH="20%"
2250ALIGN="RIGHT"
2251VALIGN="TOP"
2252><TT
2253CLASS="PARAMETER"
2254><I
2255>content</I
2256></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002257>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002258><TD
2259WIDTH="80%"
2260ALIGN="LEFT"
2261VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002262> An element content pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002263></TR
2264><TR
2265><TD
2266WIDTH="20%"
2267ALIGN="RIGHT"
2268VALIGN="TOP"
2269><I
2270CLASS="EMPHASIS"
2271>Returns</I
2272> :</TD
2273><TD
2274WIDTH="80%"
2275ALIGN="LEFT"
2276VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002277>the new xmlElementContentPtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002278></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002279></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002280></TABLE
2281><P
2282></P
2283></DIV
2284></DIV
2285><HR><DIV
2286CLASS="REFSECT2"
2287><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002288NAME="AEN8898"
Daniel Veillard35925471999-02-25 08:46:07 +00002289></A
2290><H3
2291><A
2292NAME="XMLFREEELEMENTCONTENT"
2293></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002294>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002295><TABLE
2296BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002297BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002298WIDTH="100%"
2299CELLPADDING="6"
2300><TR
2301><TD
2302><PRE
2303CLASS="PROGRAMLISTING"
2304>void xmlFreeElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002305HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002306>xmlElementContentPtr</A
2307> cur);</PRE
2308></TD
2309></TR
2310></TABLE
2311><P
2312>Free an element content structure. This is a recursive call !</P
2313><P
2314></P
2315><DIV
2316CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002317><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002318NAME="AEN8905"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002319></A
Daniel Veillard35925471999-02-25 08:46:07 +00002320><P
2321></P
2322><TABLE
2323BORDER="0"
2324WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002325BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002326CELLSPACING="0"
2327CELLPADDING="4"
2328CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002329><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002330><TR
2331><TD
2332WIDTH="20%"
2333ALIGN="RIGHT"
2334VALIGN="TOP"
2335><TT
2336CLASS="PARAMETER"
2337><I
2338>cur</I
2339></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002340>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002341><TD
2342WIDTH="80%"
2343ALIGN="LEFT"
2344VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002345> the element content tree to free</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002346></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002347></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002348></TABLE
2349><P
2350></P
2351></DIV
2352></DIV
2353><HR><DIV
2354CLASS="REFSECT2"
2355><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002356NAME="AEN8914"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002357></A
2358><H3
2359><A
2360NAME="XMLSNPRINTFELEMENTCONTENT"
2361></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002362>xmlSnprintfElementContent ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002363><TABLE
2364BORDER="0"
2365BGCOLOR="#D6E8FF"
2366WIDTH="100%"
2367CELLPADDING="6"
2368><TR
2369><TD
2370><PRE
2371CLASS="PROGRAMLISTING"
2372>void xmlSnprintfElementContent (char *buf,
2373 int size,
2374 <A
2375HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
2376>xmlElementContentPtr</A
2377> content,
2378 int glob);</PRE
2379></TD
2380></TR
2381></TABLE
2382><P
2383>This will dump the content of the element content definition
2384Intended just for the debug routine</P
2385><P
2386></P
2387><DIV
2388CLASS="INFORMALTABLE"
2389><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002390NAME="AEN8921"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002391></A
2392><P
2393></P
2394><TABLE
2395BORDER="0"
2396WIDTH="100%"
2397BGCOLOR="#FFD0D0"
2398CELLSPACING="0"
2399CELLPADDING="4"
2400CLASS="CALSTABLE"
2401><TBODY
2402><TR
2403><TD
2404WIDTH="20%"
2405ALIGN="RIGHT"
2406VALIGN="TOP"
2407><TT
2408CLASS="PARAMETER"
2409><I
2410>buf</I
2411></TT
2412>&nbsp;:</TD
2413><TD
2414WIDTH="80%"
2415ALIGN="LEFT"
2416VALIGN="TOP"
2417> an output buffer</TD
2418></TR
2419><TR
2420><TD
2421WIDTH="20%"
2422ALIGN="RIGHT"
2423VALIGN="TOP"
2424><TT
2425CLASS="PARAMETER"
2426><I
2427>size</I
2428></TT
2429>&nbsp;:</TD
2430><TD
2431WIDTH="80%"
2432ALIGN="LEFT"
2433VALIGN="TOP"
2434> the buffer size</TD
2435></TR
2436><TR
2437><TD
2438WIDTH="20%"
2439ALIGN="RIGHT"
2440VALIGN="TOP"
2441><TT
2442CLASS="PARAMETER"
2443><I
2444>content</I
2445></TT
2446>&nbsp;:</TD
2447><TD
2448WIDTH="80%"
2449ALIGN="LEFT"
2450VALIGN="TOP"
2451> An element table</TD
2452></TR
2453><TR
2454><TD
2455WIDTH="20%"
2456ALIGN="RIGHT"
2457VALIGN="TOP"
2458><TT
2459CLASS="PARAMETER"
2460><I
2461>glob</I
2462></TT
2463>&nbsp;:</TD
2464><TD
2465WIDTH="80%"
2466ALIGN="LEFT"
2467VALIGN="TOP"
2468> 1 if one must print the englobing parenthesis, 0 otherwise</TD
2469></TR
2470></TBODY
2471></TABLE
2472><P
2473></P
2474></DIV
2475></DIV
2476><HR><DIV
2477CLASS="REFSECT2"
2478><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002479NAME="AEN8942"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002480></A
2481><H3
2482><A
2483NAME="XMLSPRINTFELEMENTCONTENT"
2484></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002485>xmlSprintfElementContent ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002486><TABLE
2487BORDER="0"
2488BGCOLOR="#D6E8FF"
2489WIDTH="100%"
2490CELLPADDING="6"
2491><TR
2492><TD
2493><PRE
2494CLASS="PROGRAMLISTING"
2495>void xmlSprintfElementContent (char *buf,
2496 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002497HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002498>xmlElementContentPtr</A
2499> content,
2500 int glob);</PRE
2501></TD
2502></TR
2503></TABLE
2504><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002505>Deprecated, unsafe, use xmlSnprintfElementContent</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002506><P
2507></P
2508><DIV
2509CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002510><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002511NAME="AEN8949"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002512></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002513><P
2514></P
2515><TABLE
2516BORDER="0"
2517WIDTH="100%"
2518BGCOLOR="#FFD0D0"
2519CELLSPACING="0"
2520CELLPADDING="4"
2521CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002522><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002523><TR
2524><TD
2525WIDTH="20%"
2526ALIGN="RIGHT"
2527VALIGN="TOP"
2528><TT
2529CLASS="PARAMETER"
2530><I
2531>buf</I
2532></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002533>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002534><TD
2535WIDTH="80%"
2536ALIGN="LEFT"
2537VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002538> an output buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002539></TR
2540><TR
2541><TD
2542WIDTH="20%"
2543ALIGN="RIGHT"
2544VALIGN="TOP"
2545><TT
2546CLASS="PARAMETER"
2547><I
2548>content</I
2549></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002550>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002551><TD
2552WIDTH="80%"
2553ALIGN="LEFT"
2554VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002555> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002556></TR
2557><TR
2558><TD
2559WIDTH="20%"
2560ALIGN="RIGHT"
2561VALIGN="TOP"
2562><TT
2563CLASS="PARAMETER"
2564><I
2565>glob</I
2566></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002567>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002568><TD
2569WIDTH="80%"
2570ALIGN="LEFT"
2571VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002572> 1 if one must print the englobing parenthesis, 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002573></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002574></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002575></TABLE
2576><P
2577></P
2578></DIV
2579></DIV
2580><HR><DIV
2581CLASS="REFSECT2"
2582><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002583NAME="AEN8966"
Daniel Veillard35925471999-02-25 08:46:07 +00002584></A
2585><H3
2586><A
2587NAME="XMLADDELEMENTDECL"
2588></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002589>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002590><TABLE
2591BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002592BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002593WIDTH="100%"
2594CELLPADDING="6"
2595><TR
2596><TD
2597><PRE
2598CLASS="PROGRAMLISTING"
2599><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002600HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002601>xmlElementPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002602> xmlAddElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002603HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002604>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002605> ctxt,
2606 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002607HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002608>xmlDtdPtr</A
2609> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002610 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002611HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002612>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002613> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002614 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002615HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard4c3a2031999-11-19 17:46:26 +00002616>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002617> type,
Daniel Veillard35925471999-02-25 08:46:07 +00002618 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002619HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002620>xmlElementContentPtr</A
2621> content);</PRE
2622></TD
2623></TR
2624></TABLE
2625><P
2626>Register a new element declaration</P
2627><P
2628></P
2629><DIV
2630CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002631><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002632NAME="AEN8978"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002633></A
Daniel Veillard35925471999-02-25 08:46:07 +00002634><P
2635></P
2636><TABLE
2637BORDER="0"
2638WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002639BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002640CELLSPACING="0"
2641CELLPADDING="4"
2642CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002643><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002644><TR
2645><TD
2646WIDTH="20%"
2647ALIGN="RIGHT"
2648VALIGN="TOP"
2649><TT
2650CLASS="PARAMETER"
2651><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002652>ctxt</I
2653></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002654>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002655><TD
2656WIDTH="80%"
2657ALIGN="LEFT"
2658VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002659> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002660></TR
2661><TR
2662><TD
2663WIDTH="20%"
2664ALIGN="RIGHT"
2665VALIGN="TOP"
2666><TT
2667CLASS="PARAMETER"
2668><I
Daniel Veillard35925471999-02-25 08:46:07 +00002669>dtd</I
2670></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002671>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002672><TD
2673WIDTH="80%"
2674ALIGN="LEFT"
2675VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002676> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002677></TR
2678><TR
2679><TD
2680WIDTH="20%"
2681ALIGN="RIGHT"
2682VALIGN="TOP"
2683><TT
2684CLASS="PARAMETER"
2685><I
2686>name</I
2687></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002688>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002689><TD
2690WIDTH="80%"
2691ALIGN="LEFT"
2692VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002693> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002694></TR
2695><TR
2696><TD
2697WIDTH="20%"
2698ALIGN="RIGHT"
2699VALIGN="TOP"
2700><TT
2701CLASS="PARAMETER"
2702><I
2703>type</I
2704></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002705>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002706><TD
2707WIDTH="80%"
2708ALIGN="LEFT"
2709VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002710> the element type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002711></TR
2712><TR
2713><TD
2714WIDTH="20%"
2715ALIGN="RIGHT"
2716VALIGN="TOP"
2717><TT
2718CLASS="PARAMETER"
2719><I
2720>content</I
2721></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002722>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002723><TD
2724WIDTH="80%"
2725ALIGN="LEFT"
2726VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002727> the element content tree or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002728></TR
2729><TR
2730><TD
2731WIDTH="20%"
2732ALIGN="RIGHT"
2733VALIGN="TOP"
2734><I
2735CLASS="EMPHASIS"
2736>Returns</I
2737> :</TD
2738><TD
2739WIDTH="80%"
2740ALIGN="LEFT"
2741VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002742>NULL if not, otherwise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002743></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002744></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002745></TABLE
2746><P
2747></P
2748></DIV
2749></DIV
2750><HR><DIV
2751CLASS="REFSECT2"
2752><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002753NAME="AEN9007"
Daniel Veillard35925471999-02-25 08:46:07 +00002754></A
2755><H3
2756><A
2757NAME="XMLCOPYELEMENTTABLE"
2758></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002759>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002760><TABLE
2761BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002762BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002763WIDTH="100%"
2764CELLPADDING="6"
2765><TR
2766><TD
2767><PRE
2768CLASS="PROGRAMLISTING"
2769><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002770HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002771>xmlElementTablePtr</A
2772> xmlCopyElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002773HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002774>xmlElementTablePtr</A
2775> table);</PRE
2776></TD
2777></TR
2778></TABLE
2779><P
2780>Build a copy of an element table.</P
2781><P
2782></P
2783><DIV
2784CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002785><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002786NAME="AEN9015"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002787></A
Daniel Veillard35925471999-02-25 08:46:07 +00002788><P
2789></P
2790><TABLE
2791BORDER="0"
2792WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002793BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002794CELLSPACING="0"
2795CELLPADDING="4"
2796CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002797><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002798><TR
2799><TD
2800WIDTH="20%"
2801ALIGN="RIGHT"
2802VALIGN="TOP"
2803><TT
2804CLASS="PARAMETER"
2805><I
2806>table</I
2807></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002808>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002809><TD
2810WIDTH="80%"
2811ALIGN="LEFT"
2812VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002813> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002814></TR
2815><TR
2816><TD
2817WIDTH="20%"
2818ALIGN="RIGHT"
2819VALIGN="TOP"
2820><I
2821CLASS="EMPHASIS"
2822>Returns</I
2823> :</TD
2824><TD
2825WIDTH="80%"
2826ALIGN="LEFT"
2827VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002828>the new xmlElementTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002829></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002830></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002831></TABLE
2832><P
2833></P
2834></DIV
2835></DIV
2836><HR><DIV
2837CLASS="REFSECT2"
2838><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002839NAME="AEN9028"
Daniel Veillard35925471999-02-25 08:46:07 +00002840></A
2841><H3
2842><A
2843NAME="XMLFREEELEMENTTABLE"
2844></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002845>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002846><TABLE
2847BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002848BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002849WIDTH="100%"
2850CELLPADDING="6"
2851><TR
2852><TD
2853><PRE
2854CLASS="PROGRAMLISTING"
2855>void xmlFreeElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002856HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002857>xmlElementTablePtr</A
2858> table);</PRE
2859></TD
2860></TR
2861></TABLE
2862><P
2863>Deallocate the memory used by an element hash table.</P
2864><P
2865></P
2866><DIV
2867CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002868><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002869NAME="AEN9035"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002870></A
Daniel Veillard35925471999-02-25 08:46:07 +00002871><P
2872></P
2873><TABLE
2874BORDER="0"
2875WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002876BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002877CELLSPACING="0"
2878CELLPADDING="4"
2879CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002880><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002881><TR
2882><TD
2883WIDTH="20%"
2884ALIGN="RIGHT"
2885VALIGN="TOP"
2886><TT
2887CLASS="PARAMETER"
2888><I
2889>table</I
2890></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002891>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002892><TD
2893WIDTH="80%"
2894ALIGN="LEFT"
2895VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002896> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002897></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002898></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002899></TABLE
2900><P
2901></P
2902></DIV
2903></DIV
2904><HR><DIV
2905CLASS="REFSECT2"
2906><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002907NAME="AEN9044"
Daniel Veillard35925471999-02-25 08:46:07 +00002908></A
2909><H3
2910><A
2911NAME="XMLDUMPELEMENTTABLE"
2912></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002913>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002914><TABLE
2915BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002916BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002917WIDTH="100%"
2918CELLPADDING="6"
2919><TR
2920><TD
2921><PRE
2922CLASS="PROGRAMLISTING"
2923>void xmlDumpElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002924HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002925>xmlBufferPtr</A
2926> buf,
2927 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002928HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002929>xmlElementTablePtr</A
2930> table);</PRE
2931></TD
2932></TR
2933></TABLE
2934><P
2935>This will dump the content of the element table as an XML DTD definition</P
2936><P
Daniel Veillard35925471999-02-25 08:46:07 +00002937></P
2938><DIV
2939CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002940><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002941NAME="AEN9052"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002942></A
Daniel Veillard35925471999-02-25 08:46:07 +00002943><P
2944></P
2945><TABLE
2946BORDER="0"
2947WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002948BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002949CELLSPACING="0"
2950CELLPADDING="4"
2951CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002952><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002953><TR
2954><TD
2955WIDTH="20%"
2956ALIGN="RIGHT"
2957VALIGN="TOP"
2958><TT
2959CLASS="PARAMETER"
2960><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002961>buf</I
2962></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002963>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002964><TD
2965WIDTH="80%"
2966ALIGN="LEFT"
2967VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002968> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002969></TR
2970><TR
2971><TD
2972WIDTH="20%"
2973ALIGN="RIGHT"
2974VALIGN="TOP"
2975><TT
2976CLASS="PARAMETER"
2977><I
Daniel Veillard35925471999-02-25 08:46:07 +00002978>table</I
2979></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002980>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002981><TD
2982WIDTH="80%"
2983ALIGN="LEFT"
2984VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002985> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002986></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002987></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002988></TABLE
2989><P
2990></P
2991></DIV
2992></DIV
2993><HR><DIV
2994CLASS="REFSECT2"
2995><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002996NAME="AEN9065"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002997></A
2998><H3
2999><A
3000NAME="XMLDUMPELEMENTDECL"
3001></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003002>xmlDumpElementDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003003><TABLE
3004BORDER="0"
3005BGCOLOR="#D6E8FF"
3006WIDTH="100%"
3007CELLPADDING="6"
3008><TR
3009><TD
3010><PRE
3011CLASS="PROGRAMLISTING"
3012>void xmlDumpElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003013HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003014>xmlBufferPtr</A
3015> buf,
3016 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003017HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003018>xmlElementPtr</A
3019> elem);</PRE
3020></TD
3021></TR
3022></TABLE
3023><P
3024>This will dump the content of the element declaration as an XML
3025DTD definition</P
3026><P
3027></P
3028><DIV
3029CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003030><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003031NAME="AEN9073"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003032></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003033><P
3034></P
3035><TABLE
3036BORDER="0"
3037WIDTH="100%"
3038BGCOLOR="#FFD0D0"
3039CELLSPACING="0"
3040CELLPADDING="4"
3041CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003042><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003043><TR
3044><TD
3045WIDTH="20%"
3046ALIGN="RIGHT"
3047VALIGN="TOP"
3048><TT
3049CLASS="PARAMETER"
3050><I
3051>buf</I
3052></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003053>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003054><TD
3055WIDTH="80%"
3056ALIGN="LEFT"
3057VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003058> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003059></TR
3060><TR
3061><TD
3062WIDTH="20%"
3063ALIGN="RIGHT"
3064VALIGN="TOP"
3065><TT
3066CLASS="PARAMETER"
3067><I
3068>elem</I
3069></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003070>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003071><TD
3072WIDTH="80%"
3073ALIGN="LEFT"
3074VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003075> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003076></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003077></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003078></TABLE
3079><P
3080></P
3081></DIV
3082></DIV
3083><HR><DIV
3084CLASS="REFSECT2"
3085><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003086NAME="AEN9086"
Daniel Veillard35925471999-02-25 08:46:07 +00003087></A
3088><H3
3089><A
3090NAME="XMLCREATEENUMERATION"
3091></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003092>xmlCreateEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003093><TABLE
3094BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003095BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003096WIDTH="100%"
3097CELLPADDING="6"
3098><TR
3099><TD
3100><PRE
3101CLASS="PROGRAMLISTING"
3102><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003103HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003104>xmlEnumerationPtr</A
3105> xmlCreateEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003106HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003107>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003108> *name);</PRE
3109></TD
3110></TR
3111></TABLE
3112><P
3113>create and initialize an enumeration attribute node.</P
3114><P
3115></P
3116><DIV
3117CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003118><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003119NAME="AEN9094"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003120></A
Daniel Veillard35925471999-02-25 08:46:07 +00003121><P
3122></P
3123><TABLE
3124BORDER="0"
3125WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003126BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003127CELLSPACING="0"
3128CELLPADDING="4"
3129CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003130><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003131><TR
3132><TD
3133WIDTH="20%"
3134ALIGN="RIGHT"
3135VALIGN="TOP"
3136><TT
3137CLASS="PARAMETER"
3138><I
3139>name</I
3140></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003141>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003142><TD
3143WIDTH="80%"
3144ALIGN="LEFT"
3145VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003146> the enumeration name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003147></TR
3148><TR
3149><TD
3150WIDTH="20%"
3151ALIGN="RIGHT"
3152VALIGN="TOP"
3153><I
3154CLASS="EMPHASIS"
3155>Returns</I
3156> :</TD
3157><TD
3158WIDTH="80%"
3159ALIGN="LEFT"
3160VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003161>the xmlEnumerationPtr just created or NULL in case
Daniel Veillardaf43f632002-03-08 15:05:20 +00003162of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003163></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003164></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003165></TABLE
3166><P
3167></P
3168></DIV
3169></DIV
3170><HR><DIV
3171CLASS="REFSECT2"
3172><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003173NAME="AEN9107"
Daniel Veillard35925471999-02-25 08:46:07 +00003174></A
3175><H3
3176><A
3177NAME="XMLFREEENUMERATION"
3178></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003179>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003180><TABLE
3181BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003182BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003183WIDTH="100%"
3184CELLPADDING="6"
3185><TR
3186><TD
3187><PRE
3188CLASS="PROGRAMLISTING"
3189>void xmlFreeEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003190HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003191>xmlEnumerationPtr</A
3192> cur);</PRE
3193></TD
3194></TR
3195></TABLE
3196><P
3197>free an enumeration attribute node (recursive).</P
3198><P
3199></P
3200><DIV
3201CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003202><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003203NAME="AEN9114"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003204></A
Daniel Veillard35925471999-02-25 08:46:07 +00003205><P
3206></P
3207><TABLE
3208BORDER="0"
3209WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003210BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003211CELLSPACING="0"
3212CELLPADDING="4"
3213CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003214><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003215><TR
3216><TD
3217WIDTH="20%"
3218ALIGN="RIGHT"
3219VALIGN="TOP"
3220><TT
3221CLASS="PARAMETER"
3222><I
3223>cur</I
3224></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003225>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003226><TD
3227WIDTH="80%"
3228ALIGN="LEFT"
3229VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003230> the tree to free.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003231></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003232></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003233></TABLE
3234><P
3235></P
3236></DIV
3237></DIV
3238><HR><DIV
3239CLASS="REFSECT2"
3240><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003241NAME="AEN9123"
Daniel Veillard35925471999-02-25 08:46:07 +00003242></A
3243><H3
3244><A
3245NAME="XMLCOPYENUMERATION"
3246></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003247>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003248><TABLE
3249BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003250BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003251WIDTH="100%"
3252CELLPADDING="6"
3253><TR
3254><TD
3255><PRE
3256CLASS="PROGRAMLISTING"
3257><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003258HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003259>xmlEnumerationPtr</A
3260> xmlCopyEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003261HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003262>xmlEnumerationPtr</A
3263> cur);</PRE
3264></TD
3265></TR
3266></TABLE
3267><P
3268>Copy an enumeration attribute node (recursive).</P
3269><P
3270></P
3271><DIV
3272CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003273><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003274NAME="AEN9131"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003275></A
Daniel Veillard35925471999-02-25 08:46:07 +00003276><P
3277></P
3278><TABLE
3279BORDER="0"
3280WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003281BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003282CELLSPACING="0"
3283CELLPADDING="4"
3284CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003285><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003286><TR
3287><TD
3288WIDTH="20%"
3289ALIGN="RIGHT"
3290VALIGN="TOP"
3291><TT
3292CLASS="PARAMETER"
3293><I
3294>cur</I
3295></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003296>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003297><TD
3298WIDTH="80%"
3299ALIGN="LEFT"
3300VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003301> the tree to copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003302></TR
3303><TR
3304><TD
3305WIDTH="20%"
3306ALIGN="RIGHT"
3307VALIGN="TOP"
3308><I
3309CLASS="EMPHASIS"
3310>Returns</I
3311> :</TD
3312><TD
3313WIDTH="80%"
3314ALIGN="LEFT"
3315VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003316>the xmlEnumerationPtr just created or NULL in case
Daniel Veillardaf43f632002-03-08 15:05:20 +00003317of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003318></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003319></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003320></TABLE
3321><P
3322></P
3323></DIV
3324></DIV
3325><HR><DIV
3326CLASS="REFSECT2"
3327><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003328NAME="AEN9144"
Daniel Veillard35925471999-02-25 08:46:07 +00003329></A
3330><H3
3331><A
3332NAME="XMLADDATTRIBUTEDECL"
3333></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003334>xmlAddAttributeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003335><TABLE
3336BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003337BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003338WIDTH="100%"
3339CELLPADDING="6"
3340><TR
3341><TD
3342><PRE
3343CLASS="PROGRAMLISTING"
3344><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003345HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003346>xmlAttributePtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003347> xmlAddAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003348HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003349>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00003350> ctxt,
3351 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003352HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003353>xmlDtdPtr</A
3354> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003355 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003356HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003357>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003358> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003359 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003360HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003361>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003362> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003363 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003364HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003365>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +00003366> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003367 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003368HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003369>xmlAttributeType</A
3370> type,
3371 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003372HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003373>xmlAttributeDefault</A
3374> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003375 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003376HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003377>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003378> *defaultValue,
3379 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003380HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003381>xmlEnumerationPtr</A
3382> tree);</PRE
3383></TD
3384></TR
3385></TABLE
3386><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003387>Register a new attribute declaration
3388Note that <TT
3389CLASS="PARAMETER"
3390><I
3391>tree</I
3392></TT
3393> becomes the ownership of the DTD</P
Daniel Veillard35925471999-02-25 08:46:07 +00003394><P
3395></P
3396><DIV
3397CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003398><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003399NAME="AEN9161"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003400></A
Daniel Veillard35925471999-02-25 08:46:07 +00003401><P
3402></P
3403><TABLE
3404BORDER="0"
3405WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003406BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003407CELLSPACING="0"
3408CELLPADDING="4"
3409CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003410><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003411><TR
3412><TD
3413WIDTH="20%"
3414ALIGN="RIGHT"
3415VALIGN="TOP"
3416><TT
3417CLASS="PARAMETER"
3418><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00003419>ctxt</I
3420></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003421>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003422><TD
3423WIDTH="80%"
3424ALIGN="LEFT"
3425VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003426> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003427></TR
3428><TR
3429><TD
3430WIDTH="20%"
3431ALIGN="RIGHT"
3432VALIGN="TOP"
3433><TT
3434CLASS="PARAMETER"
3435><I
Daniel Veillard35925471999-02-25 08:46:07 +00003436>dtd</I
3437></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003438>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003439><TD
3440WIDTH="80%"
3441ALIGN="LEFT"
3442VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003443> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003444></TR
3445><TR
3446><TD
3447WIDTH="20%"
3448ALIGN="RIGHT"
3449VALIGN="TOP"
3450><TT
3451CLASS="PARAMETER"
3452><I
3453>elem</I
3454></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003455>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003456><TD
3457WIDTH="80%"
3458ALIGN="LEFT"
3459VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003460> the element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003461></TR
3462><TR
3463><TD
3464WIDTH="20%"
3465ALIGN="RIGHT"
3466VALIGN="TOP"
3467><TT
3468CLASS="PARAMETER"
3469><I
3470>name</I
3471></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003472>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003473><TD
3474WIDTH="80%"
3475ALIGN="LEFT"
3476VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003477> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003478></TR
3479><TR
3480><TD
3481WIDTH="20%"
3482ALIGN="RIGHT"
3483VALIGN="TOP"
3484><TT
3485CLASS="PARAMETER"
3486><I
Daniel Veillard06047432000-04-24 11:33:38 +00003487>ns</I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003488></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003489>&nbsp;:</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003490><TD
3491WIDTH="80%"
3492ALIGN="LEFT"
3493VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003494> the attribute namespace prefix</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003495></TR
3496><TR
3497><TD
3498WIDTH="20%"
3499ALIGN="RIGHT"
3500VALIGN="TOP"
3501><TT
3502CLASS="PARAMETER"
3503><I
Daniel Veillard35925471999-02-25 08:46:07 +00003504>type</I
3505></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003506>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003507><TD
3508WIDTH="80%"
3509ALIGN="LEFT"
3510VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003511> the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003512></TR
3513><TR
3514><TD
3515WIDTH="20%"
3516ALIGN="RIGHT"
3517VALIGN="TOP"
3518><TT
3519CLASS="PARAMETER"
3520><I
3521>def</I
3522></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003523>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003524><TD
3525WIDTH="80%"
3526ALIGN="LEFT"
3527VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003528> the attribute default type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003529></TR
3530><TR
3531><TD
3532WIDTH="20%"
3533ALIGN="RIGHT"
3534VALIGN="TOP"
3535><TT
3536CLASS="PARAMETER"
3537><I
3538>defaultValue</I
3539></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003540>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003541><TD
3542WIDTH="80%"
3543ALIGN="LEFT"
3544VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003545> the attribute default value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003546></TR
3547><TR
3548><TD
3549WIDTH="20%"
3550ALIGN="RIGHT"
3551VALIGN="TOP"
3552><TT
3553CLASS="PARAMETER"
3554><I
3555>tree</I
3556></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003557>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003558><TD
3559WIDTH="80%"
3560ALIGN="LEFT"
3561VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003562> if it's an enumeration, the associated list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003563></TR
3564><TR
3565><TD
3566WIDTH="20%"
3567ALIGN="RIGHT"
3568VALIGN="TOP"
3569><I
3570CLASS="EMPHASIS"
3571>Returns</I
3572> :</TD
3573><TD
3574WIDTH="80%"
3575ALIGN="LEFT"
3576VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00003577>NULL if not new, otherwise the attribute decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003578></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003579></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003580></TABLE
3581><P
3582></P
3583></DIV
3584></DIV
3585><HR><DIV
3586CLASS="REFSECT2"
3587><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003588NAME="AEN9206"
Daniel Veillard35925471999-02-25 08:46:07 +00003589></A
3590><H3
3591><A
3592NAME="XMLCOPYATTRIBUTETABLE"
3593></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003594>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003595><TABLE
3596BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003597BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003598WIDTH="100%"
3599CELLPADDING="6"
3600><TR
3601><TD
3602><PRE
3603CLASS="PROGRAMLISTING"
3604><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003605HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003606>xmlAttributeTablePtr</A
3607> xmlCopyAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003608HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003609>xmlAttributeTablePtr</A
3610> table);</PRE
3611></TD
3612></TR
3613></TABLE
3614><P
3615>Build a copy of an attribute table.</P
3616><P
3617></P
3618><DIV
3619CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003620><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003621NAME="AEN9214"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003622></A
Daniel Veillard35925471999-02-25 08:46:07 +00003623><P
3624></P
3625><TABLE
3626BORDER="0"
3627WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003628BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003629CELLSPACING="0"
3630CELLPADDING="4"
3631CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003632><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003633><TR
3634><TD
3635WIDTH="20%"
3636ALIGN="RIGHT"
3637VALIGN="TOP"
3638><TT
3639CLASS="PARAMETER"
3640><I
3641>table</I
3642></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003643>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003644><TD
3645WIDTH="80%"
3646ALIGN="LEFT"
3647VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003648> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003649></TR
3650><TR
3651><TD
3652WIDTH="20%"
3653ALIGN="RIGHT"
3654VALIGN="TOP"
3655><I
3656CLASS="EMPHASIS"
3657>Returns</I
3658> :</TD
3659><TD
3660WIDTH="80%"
3661ALIGN="LEFT"
3662VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003663>the new xmlAttributeTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003664></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003665></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003666></TABLE
3667><P
3668></P
3669></DIV
3670></DIV
3671><HR><DIV
3672CLASS="REFSECT2"
3673><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003674NAME="AEN9227"
Daniel Veillard35925471999-02-25 08:46:07 +00003675></A
3676><H3
3677><A
3678NAME="XMLFREEATTRIBUTETABLE"
3679></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003680>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003681><TABLE
3682BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003683BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003684WIDTH="100%"
3685CELLPADDING="6"
3686><TR
3687><TD
3688><PRE
3689CLASS="PROGRAMLISTING"
3690>void xmlFreeAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003691HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003692>xmlAttributeTablePtr</A
3693> table);</PRE
3694></TD
3695></TR
3696></TABLE
3697><P
3698>Deallocate the memory used by an entities hash table.</P
3699><P
3700></P
3701><DIV
3702CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003703><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003704NAME="AEN9234"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003705></A
Daniel Veillard35925471999-02-25 08:46:07 +00003706><P
3707></P
3708><TABLE
3709BORDER="0"
3710WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003711BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003712CELLSPACING="0"
3713CELLPADDING="4"
3714CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003715><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003716><TR
3717><TD
3718WIDTH="20%"
3719ALIGN="RIGHT"
3720VALIGN="TOP"
3721><TT
3722CLASS="PARAMETER"
3723><I
3724>table</I
3725></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003726>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003727><TD
3728WIDTH="80%"
3729ALIGN="LEFT"
3730VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003731> An attribute table</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 Veillard5f4b5992002-02-20 10:22:49 +00003742NAME="AEN9243"
Daniel Veillard35925471999-02-25 08:46:07 +00003743></A
3744><H3
3745><A
3746NAME="XMLDUMPATTRIBUTETABLE"
3747></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003748>xmlDumpAttributeTable ()</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>void xmlDumpAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003759HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003760>xmlBufferPtr</A
3761> buf,
3762 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003763HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003764>xmlAttributeTablePtr</A
3765> table);</PRE
3766></TD
3767></TR
3768></TABLE
3769><P
3770>This will dump the content of the attribute table as an XML DTD definition</P
3771><P
Daniel Veillard35925471999-02-25 08:46:07 +00003772></P
3773><DIV
3774CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003775><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003776NAME="AEN9251"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003777></A
Daniel Veillard35925471999-02-25 08:46:07 +00003778><P
3779></P
3780><TABLE
3781BORDER="0"
3782WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003783BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003784CELLSPACING="0"
3785CELLPADDING="4"
3786CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003787><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003788><TR
3789><TD
3790WIDTH="20%"
3791ALIGN="RIGHT"
3792VALIGN="TOP"
3793><TT
3794CLASS="PARAMETER"
3795><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003796>buf</I
3797></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003798>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003799><TD
3800WIDTH="80%"
3801ALIGN="LEFT"
3802VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003803> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003804></TR
3805><TR
3806><TD
3807WIDTH="20%"
3808ALIGN="RIGHT"
3809VALIGN="TOP"
3810><TT
3811CLASS="PARAMETER"
3812><I
Daniel Veillard35925471999-02-25 08:46:07 +00003813>table</I
3814></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003815>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003816><TD
3817WIDTH="80%"
3818ALIGN="LEFT"
3819VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003820> An attribute table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003821></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003822></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003823></TABLE
3824><P
3825></P
3826></DIV
3827></DIV
3828><HR><DIV
3829CLASS="REFSECT2"
3830><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003831NAME="AEN9264"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003832></A
3833><H3
3834><A
3835NAME="XMLDUMPATTRIBUTEDECL"
3836></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003837>xmlDumpAttributeDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003838><TABLE
3839BORDER="0"
3840BGCOLOR="#D6E8FF"
3841WIDTH="100%"
3842CELLPADDING="6"
3843><TR
3844><TD
3845><PRE
3846CLASS="PROGRAMLISTING"
3847>void xmlDumpAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003848HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003849>xmlBufferPtr</A
3850> buf,
3851 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003852HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003853>xmlAttributePtr</A
3854> attr);</PRE
3855></TD
3856></TR
3857></TABLE
3858><P
3859>This will dump the content of the attribute declaration as an XML
3860DTD definition</P
3861><P
3862></P
3863><DIV
3864CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003865><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003866NAME="AEN9272"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003867></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003868><P
3869></P
3870><TABLE
3871BORDER="0"
3872WIDTH="100%"
3873BGCOLOR="#FFD0D0"
3874CELLSPACING="0"
3875CELLPADDING="4"
3876CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003877><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003878><TR
3879><TD
3880WIDTH="20%"
3881ALIGN="RIGHT"
3882VALIGN="TOP"
3883><TT
3884CLASS="PARAMETER"
3885><I
3886>buf</I
3887></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003888>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003889><TD
3890WIDTH="80%"
3891ALIGN="LEFT"
3892VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003893> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003894></TR
3895><TR
3896><TD
3897WIDTH="20%"
3898ALIGN="RIGHT"
3899VALIGN="TOP"
3900><TT
3901CLASS="PARAMETER"
3902><I
3903>attr</I
3904></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003905>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003906><TD
3907WIDTH="80%"
3908ALIGN="LEFT"
3909VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003910> An attribute declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003911></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003912></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003913></TABLE
3914><P
3915></P
3916></DIV
3917></DIV
3918><HR><DIV
3919CLASS="REFSECT2"
3920><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003921NAME="AEN9285"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003922></A
3923><H3
3924><A
3925NAME="XMLADDID"
3926></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003927>xmlAddID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003928><TABLE
3929BORDER="0"
3930BGCOLOR="#D6E8FF"
3931WIDTH="100%"
3932CELLPADDING="6"
3933><TR
3934><TD
3935><PRE
3936CLASS="PROGRAMLISTING"
3937><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003938HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003939>xmlIDPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003940> xmlAddID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003941HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003942>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003943> ctxt,
3944 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003945HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003946>xmlDocPtr</A
3947> doc,
3948 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003949HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003950>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003951> *value,
3952 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003953HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003954>xmlAttrPtr</A
3955> attr);</PRE
3956></TD
3957></TR
3958></TABLE
3959><P
3960>Register a new id declaration</P
3961><P
3962></P
3963><DIV
3964CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003965><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003966NAME="AEN9296"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003967></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003968><P
3969></P
3970><TABLE
3971BORDER="0"
3972WIDTH="100%"
3973BGCOLOR="#FFD0D0"
3974CELLSPACING="0"
3975CELLPADDING="4"
3976CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003977><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003978><TR
3979><TD
3980WIDTH="20%"
3981ALIGN="RIGHT"
3982VALIGN="TOP"
3983><TT
3984CLASS="PARAMETER"
3985><I
3986>ctxt</I
3987></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003988>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003989><TD
3990WIDTH="80%"
3991ALIGN="LEFT"
3992VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003993> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003994></TR
3995><TR
3996><TD
3997WIDTH="20%"
3998ALIGN="RIGHT"
3999VALIGN="TOP"
4000><TT
4001CLASS="PARAMETER"
4002><I
4003>doc</I
4004></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004005>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004006><TD
4007WIDTH="80%"
4008ALIGN="LEFT"
4009VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004010> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004011></TR
4012><TR
4013><TD
4014WIDTH="20%"
4015ALIGN="RIGHT"
4016VALIGN="TOP"
4017><TT
4018CLASS="PARAMETER"
4019><I
4020>value</I
4021></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004022>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004023><TD
4024WIDTH="80%"
4025ALIGN="LEFT"
4026VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004027> the value name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004028></TR
4029><TR
4030><TD
4031WIDTH="20%"
4032ALIGN="RIGHT"
4033VALIGN="TOP"
4034><TT
4035CLASS="PARAMETER"
4036><I
4037>attr</I
4038></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004039>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004040><TD
4041WIDTH="80%"
4042ALIGN="LEFT"
4043VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004044> the attribute holding the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004045></TR
4046><TR
4047><TD
4048WIDTH="20%"
4049ALIGN="RIGHT"
4050VALIGN="TOP"
4051><I
4052CLASS="EMPHASIS"
4053>Returns</I
4054> :</TD
4055><TD
4056WIDTH="80%"
4057ALIGN="LEFT"
4058VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004059>NULL if not, otherwise the new xmlIDPtr</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004060></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004061></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004062></TABLE
4063><P
4064></P
4065></DIV
4066></DIV
4067><HR><DIV
4068CLASS="REFSECT2"
4069><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004070NAME="AEN9321"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004071></A
4072><H3
4073><A
4074NAME="XMLFREEIDTABLE"
4075></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004076>xmlFreeIDTable ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004077><TABLE
4078BORDER="0"
4079BGCOLOR="#D6E8FF"
4080WIDTH="100%"
4081CELLPADDING="6"
4082><TR
4083><TD
4084><PRE
4085CLASS="PROGRAMLISTING"
4086>void xmlFreeIDTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004087HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004088>xmlIDTablePtr</A
4089> table);</PRE
4090></TD
4091></TR
4092></TABLE
4093><P
4094>Deallocate the memory used by an ID hash table.</P
4095><P
4096></P
4097><DIV
4098CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004099><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004100NAME="AEN9328"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004101></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004102><P
4103></P
4104><TABLE
4105BORDER="0"
4106WIDTH="100%"
4107BGCOLOR="#FFD0D0"
4108CELLSPACING="0"
4109CELLPADDING="4"
4110CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004111><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004112><TR
4113><TD
4114WIDTH="20%"
4115ALIGN="RIGHT"
4116VALIGN="TOP"
4117><TT
4118CLASS="PARAMETER"
4119><I
4120>table</I
4121></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004122>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004123><TD
4124WIDTH="80%"
4125ALIGN="LEFT"
4126VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004127> An id table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004128></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004129></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004130></TABLE
4131><P
4132></P
4133></DIV
4134></DIV
4135><HR><DIV
4136CLASS="REFSECT2"
4137><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004138NAME="AEN9337"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004139></A
4140><H3
4141><A
4142NAME="XMLGETID"
4143></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004144>xmlGetID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004145><TABLE
4146BORDER="0"
4147BGCOLOR="#D6E8FF"
4148WIDTH="100%"
4149CELLPADDING="6"
4150><TR
4151><TD
4152><PRE
4153CLASS="PROGRAMLISTING"
4154><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004155HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004156>xmlAttrPtr</A
4157> xmlGetID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004158HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004159>xmlDocPtr</A
4160> doc,
4161 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004162HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004163>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004164> *ID);</PRE
4165></TD
4166></TR
4167></TABLE
4168><P
4169>Search the attribute declaring the given ID</P
4170><P
4171></P
4172><DIV
4173CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004174><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004175NAME="AEN9346"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004176></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004177><P
4178></P
4179><TABLE
4180BORDER="0"
4181WIDTH="100%"
4182BGCOLOR="#FFD0D0"
4183CELLSPACING="0"
4184CELLPADDING="4"
4185CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004186><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004187><TR
4188><TD
4189WIDTH="20%"
4190ALIGN="RIGHT"
4191VALIGN="TOP"
4192><TT
4193CLASS="PARAMETER"
4194><I
4195>doc</I
4196></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004197>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004198><TD
4199WIDTH="80%"
4200ALIGN="LEFT"
4201VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004202> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004203></TR
4204><TR
4205><TD
4206WIDTH="20%"
4207ALIGN="RIGHT"
4208VALIGN="TOP"
4209><TT
4210CLASS="PARAMETER"
4211><I
4212>ID</I
4213></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004214>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004215><TD
4216WIDTH="80%"
4217ALIGN="LEFT"
4218VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004219> the ID value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004220></TR
4221><TR
4222><TD
4223WIDTH="20%"
4224ALIGN="RIGHT"
4225VALIGN="TOP"
4226><I
4227CLASS="EMPHASIS"
4228>Returns</I
4229> :</TD
4230><TD
4231WIDTH="80%"
4232ALIGN="LEFT"
4233VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004234>NULL if not found, otherwise the xmlAttrPtr defining the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004235></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004236></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004237></TABLE
4238><P
4239></P
4240></DIV
4241></DIV
4242><HR><DIV
4243CLASS="REFSECT2"
4244><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004245NAME="AEN9363"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004246></A
4247><H3
4248><A
4249NAME="XMLISID"
4250></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004251>xmlIsID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004252><TABLE
4253BORDER="0"
4254BGCOLOR="#D6E8FF"
4255WIDTH="100%"
4256CELLPADDING="6"
4257><TR
4258><TD
4259><PRE
4260CLASS="PROGRAMLISTING"
4261>int xmlIsID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004262HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004263>xmlDocPtr</A
4264> doc,
4265 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004266HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004267>xmlNodePtr</A
4268> elem,
4269 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004270HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004271>xmlAttrPtr</A
4272> attr);</PRE
4273></TD
4274></TR
4275></TABLE
4276><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004277>Determine whether an attribute is of type ID. In case we have DTD(s)
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004278then this is simple, otherwise we use an heuristic: name ID (upper
4279or lowercase).</P
4280><P
4281></P
4282><DIV
4283CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004284><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004285NAME="AEN9372"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004286></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004287><P
4288></P
4289><TABLE
4290BORDER="0"
4291WIDTH="100%"
4292BGCOLOR="#FFD0D0"
4293CELLSPACING="0"
4294CELLPADDING="4"
4295CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004296><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004297><TR
4298><TD
4299WIDTH="20%"
4300ALIGN="RIGHT"
4301VALIGN="TOP"
4302><TT
4303CLASS="PARAMETER"
4304><I
4305>doc</I
4306></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004307>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004308><TD
4309WIDTH="80%"
4310ALIGN="LEFT"
4311VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004312> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004313></TR
4314><TR
4315><TD
4316WIDTH="20%"
4317ALIGN="RIGHT"
4318VALIGN="TOP"
4319><TT
4320CLASS="PARAMETER"
4321><I
4322>elem</I
4323></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004324>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004325><TD
4326WIDTH="80%"
4327ALIGN="LEFT"
4328VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004329> the element carrying the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004330></TR
4331><TR
4332><TD
4333WIDTH="20%"
4334ALIGN="RIGHT"
4335VALIGN="TOP"
4336><TT
4337CLASS="PARAMETER"
4338><I
4339>attr</I
4340></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004341>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004342><TD
4343WIDTH="80%"
4344ALIGN="LEFT"
4345VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004346> the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004347></TR
4348><TR
4349><TD
4350WIDTH="20%"
4351ALIGN="RIGHT"
4352VALIGN="TOP"
4353><I
4354CLASS="EMPHASIS"
4355>Returns</I
4356> :</TD
4357><TD
4358WIDTH="80%"
4359ALIGN="LEFT"
4360VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004361>0 or 1 depending on the lookup result</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004362></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004363></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004364></TABLE
4365><P
4366></P
4367></DIV
4368></DIV
4369><HR><DIV
4370CLASS="REFSECT2"
4371><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004372NAME="AEN9393"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004373></A
4374><H3
4375><A
4376NAME="XMLREMOVEID"
4377></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004378>xmlRemoveID ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004379><TABLE
4380BORDER="0"
4381BGCOLOR="#D6E8FF"
4382WIDTH="100%"
4383CELLPADDING="6"
4384><TR
4385><TD
4386><PRE
4387CLASS="PROGRAMLISTING"
4388>int xmlRemoveID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004389HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004390>xmlDocPtr</A
4391> doc,
4392 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004393HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004394>xmlAttrPtr</A
4395> attr);</PRE
4396></TD
4397></TR
4398></TABLE
4399><P
4400>Remove the given attribute from the ID table maintained internally.</P
4401><P
4402></P
4403><DIV
4404CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004405><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004406NAME="AEN9401"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004407></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004408><P
4409></P
4410><TABLE
4411BORDER="0"
4412WIDTH="100%"
4413BGCOLOR="#FFD0D0"
4414CELLSPACING="0"
4415CELLPADDING="4"
4416CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004417><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004418><TR
4419><TD
4420WIDTH="20%"
4421ALIGN="RIGHT"
4422VALIGN="TOP"
4423><TT
4424CLASS="PARAMETER"
4425><I
4426>doc</I
4427></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004428>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004429><TD
4430WIDTH="80%"
4431ALIGN="LEFT"
4432VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004433> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004434></TR
4435><TR
4436><TD
4437WIDTH="20%"
4438ALIGN="RIGHT"
4439VALIGN="TOP"
4440><TT
4441CLASS="PARAMETER"
4442><I
4443>attr</I
4444></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004445>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004446><TD
4447WIDTH="80%"
4448ALIGN="LEFT"
4449VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004450> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004451></TR
4452><TR
4453><TD
4454WIDTH="20%"
4455ALIGN="RIGHT"
4456VALIGN="TOP"
4457><I
4458CLASS="EMPHASIS"
4459>Returns</I
4460> :</TD
4461><TD
4462WIDTH="80%"
4463ALIGN="LEFT"
4464VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004465>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004466></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004467></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004468></TABLE
4469><P
4470></P
4471></DIV
4472></DIV
4473><HR><DIV
4474CLASS="REFSECT2"
4475><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004476NAME="AEN9418"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004477></A
4478><H3
4479><A
4480NAME="XMLADDREF"
4481></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004482>xmlAddRef ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004483><TABLE
4484BORDER="0"
4485BGCOLOR="#D6E8FF"
4486WIDTH="100%"
4487CELLPADDING="6"
4488><TR
4489><TD
4490><PRE
4491CLASS="PROGRAMLISTING"
4492><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004493HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004494>xmlRefPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004495> xmlAddRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004496HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004497>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004498> ctxt,
4499 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004500HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004501>xmlDocPtr</A
4502> doc,
4503 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004504HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004505>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004506> *value,
4507 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004508HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004509>xmlAttrPtr</A
4510> attr);</PRE
4511></TD
4512></TR
4513></TABLE
4514><P
4515>Register a new ref declaration</P
4516><P
4517></P
4518><DIV
4519CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004520><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004521NAME="AEN9429"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004522></A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004523><P
4524></P
4525><TABLE
4526BORDER="0"
4527WIDTH="100%"
4528BGCOLOR="#FFD0D0"
4529CELLSPACING="0"
4530CELLPADDING="4"
4531CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004532><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004533><TR
4534><TD
4535WIDTH="20%"
4536ALIGN="RIGHT"
4537VALIGN="TOP"
4538><TT
4539CLASS="PARAMETER"
4540><I
4541>ctxt</I
4542></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004543>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004544><TD
4545WIDTH="80%"
4546ALIGN="LEFT"
4547VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004548> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004549></TR
4550><TR
4551><TD
4552WIDTH="20%"
4553ALIGN="RIGHT"
4554VALIGN="TOP"
4555><TT
4556CLASS="PARAMETER"
4557><I
4558>doc</I
4559></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004560>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004561><TD
4562WIDTH="80%"
4563ALIGN="LEFT"
4564VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004565> pointer to the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004566></TR
4567><TR
4568><TD
4569WIDTH="20%"
4570ALIGN="RIGHT"
4571VALIGN="TOP"
4572><TT
4573CLASS="PARAMETER"
4574><I
4575>value</I
4576></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004577>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004578><TD
4579WIDTH="80%"
4580ALIGN="LEFT"
4581VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004582> the value name</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004583></TR
4584><TR
4585><TD
4586WIDTH="20%"
4587ALIGN="RIGHT"
4588VALIGN="TOP"
4589><TT
4590CLASS="PARAMETER"
4591><I
4592>attr</I
4593></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004594>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004595><TD
4596WIDTH="80%"
4597ALIGN="LEFT"
4598VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004599> the attribute holding the Ref</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004600></TR
4601><TR
4602><TD
4603WIDTH="20%"
4604ALIGN="RIGHT"
4605VALIGN="TOP"
4606><I
4607CLASS="EMPHASIS"
4608>Returns</I
4609> :</TD
4610><TD
4611WIDTH="80%"
4612ALIGN="LEFT"
4613VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004614>NULL if not, otherwise the new xmlRefPtr</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004615></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004616></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004617></TABLE
4618><P
4619></P
4620></DIV
4621></DIV
4622><HR><DIV
4623CLASS="REFSECT2"
4624><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004625NAME="AEN9454"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004626></A
4627><H3
4628><A
4629NAME="XMLFREEREFTABLE"
4630></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004631>xmlFreeRefTable ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004632><TABLE
4633BORDER="0"
4634BGCOLOR="#D6E8FF"
4635WIDTH="100%"
4636CELLPADDING="6"
4637><TR
4638><TD
4639><PRE
4640CLASS="PROGRAMLISTING"
4641>void xmlFreeRefTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004642HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004643>xmlRefTablePtr</A
4644> table);</PRE
4645></TD
4646></TR
4647></TABLE
4648><P
4649>Deallocate the memory used by an Ref hash table.</P
4650><P
4651></P
4652><DIV
4653CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004654><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004655NAME="AEN9461"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004656></A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004657><P
4658></P
4659><TABLE
4660BORDER="0"
4661WIDTH="100%"
4662BGCOLOR="#FFD0D0"
4663CELLSPACING="0"
4664CELLPADDING="4"
4665CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004666><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004667><TR
4668><TD
4669WIDTH="20%"
4670ALIGN="RIGHT"
4671VALIGN="TOP"
4672><TT
4673CLASS="PARAMETER"
4674><I
4675>table</I
4676></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004677>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004678><TD
4679WIDTH="80%"
4680ALIGN="LEFT"
4681VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004682> An ref table</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004683></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004684></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004685></TABLE
4686><P
4687></P
4688></DIV
4689></DIV
4690><HR><DIV
4691CLASS="REFSECT2"
4692><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004693NAME="AEN9470"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004694></A
4695><H3
4696><A
4697NAME="XMLISREF"
4698></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004699>xmlIsRef ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004700><TABLE
4701BORDER="0"
4702BGCOLOR="#D6E8FF"
4703WIDTH="100%"
4704CELLPADDING="6"
4705><TR
4706><TD
4707><PRE
4708CLASS="PROGRAMLISTING"
4709>int xmlIsRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004710HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004711>xmlDocPtr</A
4712> doc,
4713 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004714HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004715>xmlNodePtr</A
4716> elem,
4717 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004718HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004719>xmlAttrPtr</A
4720> attr);</PRE
4721></TD
4722></TR
4723></TABLE
4724><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004725>Determine whether an attribute is of type Ref. In case we have DTD(s)
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004726then this is simple, otherwise we use an heuristic: name Ref (upper
4727or lowercase).</P
4728><P
4729></P
4730><DIV
4731CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004732><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004733NAME="AEN9479"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004734></A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004735><P
4736></P
4737><TABLE
4738BORDER="0"
4739WIDTH="100%"
4740BGCOLOR="#FFD0D0"
4741CELLSPACING="0"
4742CELLPADDING="4"
4743CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004744><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004745><TR
4746><TD
4747WIDTH="20%"
4748ALIGN="RIGHT"
4749VALIGN="TOP"
4750><TT
4751CLASS="PARAMETER"
4752><I
4753>doc</I
4754></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004755>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004756><TD
4757WIDTH="80%"
4758ALIGN="LEFT"
4759VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004760> the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004761></TR
4762><TR
4763><TD
4764WIDTH="20%"
4765ALIGN="RIGHT"
4766VALIGN="TOP"
4767><TT
4768CLASS="PARAMETER"
4769><I
4770>elem</I
4771></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004772>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004773><TD
4774WIDTH="80%"
4775ALIGN="LEFT"
4776VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004777> the element carrying the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004778></TR
4779><TR
4780><TD
4781WIDTH="20%"
4782ALIGN="RIGHT"
4783VALIGN="TOP"
4784><TT
4785CLASS="PARAMETER"
4786><I
4787>attr</I
4788></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004789>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004790><TD
4791WIDTH="80%"
4792ALIGN="LEFT"
4793VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004794> the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004795></TR
4796><TR
4797><TD
4798WIDTH="20%"
4799ALIGN="RIGHT"
4800VALIGN="TOP"
4801><I
4802CLASS="EMPHASIS"
4803>Returns</I
4804> :</TD
4805><TD
4806WIDTH="80%"
4807ALIGN="LEFT"
4808VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004809>0 or 1 depending on the lookup result</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004810></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004811></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004812></TABLE
4813><P
4814></P
4815></DIV
4816></DIV
4817><HR><DIV
4818CLASS="REFSECT2"
4819><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004820NAME="AEN9500"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004821></A
4822><H3
4823><A
4824NAME="XMLREMOVEREF"
4825></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004826>xmlRemoveRef ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004827><TABLE
4828BORDER="0"
4829BGCOLOR="#D6E8FF"
4830WIDTH="100%"
4831CELLPADDING="6"
4832><TR
4833><TD
4834><PRE
4835CLASS="PROGRAMLISTING"
4836>int xmlRemoveRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004837HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004838>xmlDocPtr</A
4839> doc,
4840 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004841HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004842>xmlAttrPtr</A
4843> attr);</PRE
4844></TD
4845></TR
4846></TABLE
4847><P
4848>Remove the given attribute from the Ref table maintained internally.</P
4849><P
4850></P
4851><DIV
4852CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004853><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004854NAME="AEN9508"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004855></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004856><P
4857></P
4858><TABLE
4859BORDER="0"
4860WIDTH="100%"
4861BGCOLOR="#FFD0D0"
4862CELLSPACING="0"
4863CELLPADDING="4"
4864CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004865><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004866><TR
4867><TD
4868WIDTH="20%"
4869ALIGN="RIGHT"
4870VALIGN="TOP"
4871><TT
4872CLASS="PARAMETER"
4873><I
4874>doc</I
4875></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004876>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004877><TD
4878WIDTH="80%"
4879ALIGN="LEFT"
4880VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004881> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004882></TR
4883><TR
4884><TD
4885WIDTH="20%"
4886ALIGN="RIGHT"
4887VALIGN="TOP"
4888><TT
4889CLASS="PARAMETER"
4890><I
4891>attr</I
4892></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004893>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004894><TD
4895WIDTH="80%"
4896ALIGN="LEFT"
4897VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004898> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004899></TR
4900><TR
4901><TD
4902WIDTH="20%"
4903ALIGN="RIGHT"
4904VALIGN="TOP"
4905><I
4906CLASS="EMPHASIS"
4907>Returns</I
4908> :</TD
4909><TD
4910WIDTH="80%"
4911ALIGN="LEFT"
4912VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004913>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004914></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004915></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004916></TABLE
4917><P
4918></P
4919></DIV
4920></DIV
4921><HR><DIV
4922CLASS="REFSECT2"
4923><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004924NAME="AEN9525"
Daniel Veillarda41123c2001-04-22 19:31:20 +00004925></A
4926><H3
4927><A
4928NAME="XMLGETREFS"
4929></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004930>xmlGetRefs ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00004931><TABLE
4932BORDER="0"
4933BGCOLOR="#D6E8FF"
4934WIDTH="100%"
4935CELLPADDING="6"
4936><TR
4937><TD
4938><PRE
4939CLASS="PROGRAMLISTING"
4940><GTKDOCLINK
4941HREF="XMLLISTPTR"
4942>xmlListPtr</GTKDOCLINK
4943> xmlGetRefs (<A
4944HREF="libxml-tree.html#XMLDOCPTR"
4945>xmlDocPtr</A
4946> doc,
4947 const <A
4948HREF="libxml-tree.html#XMLCHAR"
4949>xmlChar</A
4950> *ID);</PRE
4951></TD
4952></TR
4953></TABLE
4954><P
4955>Find the set of references for the supplied ID.</P
4956><P
4957></P
4958><DIV
4959CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004960><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004961NAME="AEN9534"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004962></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004963><P
4964></P
4965><TABLE
4966BORDER="0"
4967WIDTH="100%"
4968BGCOLOR="#FFD0D0"
4969CELLSPACING="0"
4970CELLPADDING="4"
4971CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004972><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00004973><TR
4974><TD
4975WIDTH="20%"
4976ALIGN="RIGHT"
4977VALIGN="TOP"
4978><TT
4979CLASS="PARAMETER"
4980><I
4981>doc</I
4982></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004983>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00004984><TD
4985WIDTH="80%"
4986ALIGN="LEFT"
4987VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004988> pointer to the document</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00004989></TR
4990><TR
4991><TD
4992WIDTH="20%"
4993ALIGN="RIGHT"
4994VALIGN="TOP"
4995><TT
4996CLASS="PARAMETER"
4997><I
4998>ID</I
4999></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005000>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005001><TD
5002WIDTH="80%"
5003ALIGN="LEFT"
5004VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005005> the ID value</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005006></TR
5007><TR
5008><TD
5009WIDTH="20%"
5010ALIGN="RIGHT"
5011VALIGN="TOP"
5012><I
5013CLASS="EMPHASIS"
5014>Returns</I
5015> :</TD
5016><TD
5017WIDTH="80%"
5018ALIGN="LEFT"
5019VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005020>NULL if not found, otherwise node set for the ID.</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005021></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005022></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005023></TABLE
5024><P
5025></P
5026></DIV
5027></DIV
5028><HR><DIV
5029CLASS="REFSECT2"
5030><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005031NAME="AEN9551"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005032></A
5033><H3
5034><A
5035NAME="XMLVALIDATEROOT"
5036></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005037>xmlValidateRoot ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005038><TABLE
5039BORDER="0"
5040BGCOLOR="#D6E8FF"
5041WIDTH="100%"
5042CELLPADDING="6"
5043><TR
5044><TD
5045><PRE
5046CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005047>int xmlValidateRoot (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005048HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005049>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005050> ctxt,
5051 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005052HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005053>xmlDocPtr</A
5054> doc);</PRE
5055></TD
5056></TR
5057></TABLE
5058><P
5059>Try to validate a the root element
5060basically it does the following check as described by the
5061XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005062- [ VC: Root Element Type ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00005063it doesn't try to recurse or apply other check to the element</P
5064><P
5065></P
5066><DIV
5067CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005068><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005069NAME="AEN9559"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005070></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005071><P
5072></P
5073><TABLE
5074BORDER="0"
5075WIDTH="100%"
5076BGCOLOR="#FFD0D0"
5077CELLSPACING="0"
5078CELLPADDING="4"
5079CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005080><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005081><TR
5082><TD
5083WIDTH="20%"
5084ALIGN="RIGHT"
5085VALIGN="TOP"
5086><TT
5087CLASS="PARAMETER"
5088><I
5089>ctxt</I
5090></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005091>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005092><TD
5093WIDTH="80%"
5094ALIGN="LEFT"
5095VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005096> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005097></TR
5098><TR
5099><TD
5100WIDTH="20%"
5101ALIGN="RIGHT"
5102VALIGN="TOP"
5103><TT
5104CLASS="PARAMETER"
5105><I
5106>doc</I
5107></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005108>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005109><TD
5110WIDTH="80%"
5111ALIGN="LEFT"
5112VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005113> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005114></TR
5115><TR
5116><TD
5117WIDTH="20%"
5118ALIGN="RIGHT"
5119VALIGN="TOP"
5120><I
5121CLASS="EMPHASIS"
5122>Returns</I
5123> :</TD
5124><TD
5125WIDTH="80%"
5126ALIGN="LEFT"
5127VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005128>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005129></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005130></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005131></TABLE
5132><P
5133></P
5134></DIV
5135></DIV
5136><HR><DIV
5137CLASS="REFSECT2"
5138><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005139NAME="AEN9576"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005140></A
5141><H3
5142><A
5143NAME="XMLVALIDATEELEMENTDECL"
5144></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005145>xmlValidateElementDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005146><TABLE
5147BORDER="0"
5148BGCOLOR="#D6E8FF"
5149WIDTH="100%"
5150CELLPADDING="6"
5151><TR
5152><TD
5153><PRE
5154CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005155>int xmlValidateElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005156HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005157>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005158> ctxt,
5159 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005160HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005161>xmlDocPtr</A
5162> doc,
5163 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005164HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005165>xmlElementPtr</A
5166> elem);</PRE
5167></TD
5168></TR
5169></TABLE
5170><P
5171>Try to validate a single element definition
5172basically it does the following checks as described by the
5173XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005174- [ VC: One ID per Element Type ]
5175- [ VC: No Duplicate Types ]
5176- [ VC: Unique Element Type Declaration ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005177><P
5178></P
5179><DIV
5180CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005181><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005182NAME="AEN9585"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005183></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005184><P
5185></P
5186><TABLE
5187BORDER="0"
5188WIDTH="100%"
5189BGCOLOR="#FFD0D0"
5190CELLSPACING="0"
5191CELLPADDING="4"
5192CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005193><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005194><TR
5195><TD
5196WIDTH="20%"
5197ALIGN="RIGHT"
5198VALIGN="TOP"
5199><TT
5200CLASS="PARAMETER"
5201><I
5202>ctxt</I
5203></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005204>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005205><TD
5206WIDTH="80%"
5207ALIGN="LEFT"
5208VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005209> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005210></TR
5211><TR
5212><TD
5213WIDTH="20%"
5214ALIGN="RIGHT"
5215VALIGN="TOP"
5216><TT
5217CLASS="PARAMETER"
5218><I
5219>doc</I
5220></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005221>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005222><TD
5223WIDTH="80%"
5224ALIGN="LEFT"
5225VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005226> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005227></TR
5228><TR
5229><TD
5230WIDTH="20%"
5231ALIGN="RIGHT"
5232VALIGN="TOP"
5233><TT
5234CLASS="PARAMETER"
5235><I
5236>elem</I
5237></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005238>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005239><TD
5240WIDTH="80%"
5241ALIGN="LEFT"
5242VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005243> an element definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005244></TR
5245><TR
5246><TD
5247WIDTH="20%"
5248ALIGN="RIGHT"
5249VALIGN="TOP"
5250><I
5251CLASS="EMPHASIS"
5252>Returns</I
5253> :</TD
5254><TD
5255WIDTH="80%"
5256ALIGN="LEFT"
5257VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005258>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005259></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005260></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005261></TABLE
5262><P
5263></P
5264></DIV
5265></DIV
5266><HR><DIV
5267CLASS="REFSECT2"
5268><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005269NAME="AEN9606"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005270></A
5271><H3
5272><A
5273NAME="XMLVALIDNORMALIZEATTRIBUTEVALUE"
5274></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005275>xmlValidNormalizeAttributeValue ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005276><TABLE
5277BORDER="0"
5278BGCOLOR="#D6E8FF"
5279WIDTH="100%"
5280CELLPADDING="6"
5281><TR
5282><TD
5283><PRE
5284CLASS="PROGRAMLISTING"
5285><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005286HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005287>xmlChar</A
5288>* xmlValidNormalizeAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005289HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005290>xmlDocPtr</A
5291> doc,
5292 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005293HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005294>xmlNodePtr</A
5295> elem,
5296 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005297HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005298>xmlChar</A
5299> *name,
5300 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005301HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005302>xmlChar</A
5303> *value);</PRE
5304></TD
5305></TR
5306></TABLE
5307><P
5308>Does the validation related extra step of the normalization of attribute
5309values:</P
5310><P
5311>If the declared value is not CDATA, then the XML processor must further
5312process the normalized attribute value by discarding any leading and
5313trailing space (<GTKDOCLINK
5314HREF="X20"
5315>x20</GTKDOCLINK
5316>) characters, and by replacing sequences of space
5317(<GTKDOCLINK
5318HREF="X20"
5319>x20</GTKDOCLINK
5320>) characters by single space (<GTKDOCLINK
5321HREF="X20"
5322>x20</GTKDOCLINK
5323>) character.</P
5324><P
5325></P
5326><DIV
5327CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005328><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005329NAME="AEN9621"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005330></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005331><P
5332></P
5333><TABLE
5334BORDER="0"
5335WIDTH="100%"
5336BGCOLOR="#FFD0D0"
5337CELLSPACING="0"
5338CELLPADDING="4"
5339CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005340><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005341><TR
5342><TD
5343WIDTH="20%"
5344ALIGN="RIGHT"
5345VALIGN="TOP"
5346><TT
5347CLASS="PARAMETER"
5348><I
5349>doc</I
5350></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005351>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005352><TD
5353WIDTH="80%"
5354ALIGN="LEFT"
5355VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005356> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005357></TR
5358><TR
5359><TD
5360WIDTH="20%"
5361ALIGN="RIGHT"
5362VALIGN="TOP"
5363><TT
5364CLASS="PARAMETER"
5365><I
5366>elem</I
5367></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005368>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005369><TD
5370WIDTH="80%"
5371ALIGN="LEFT"
5372VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005373> the parent</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005374></TR
5375><TR
5376><TD
5377WIDTH="20%"
5378ALIGN="RIGHT"
5379VALIGN="TOP"
5380><TT
5381CLASS="PARAMETER"
5382><I
5383>name</I
5384></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005385>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005386><TD
5387WIDTH="80%"
5388ALIGN="LEFT"
5389VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005390> the attribute name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005391></TR
5392><TR
5393><TD
5394WIDTH="20%"
5395ALIGN="RIGHT"
5396VALIGN="TOP"
5397><TT
5398CLASS="PARAMETER"
5399><I
5400>value</I
5401></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005402>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005403><TD
5404WIDTH="80%"
5405ALIGN="LEFT"
5406VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005407> the attribute value</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005408></TR
5409><TR
5410><TD
5411WIDTH="20%"
5412ALIGN="RIGHT"
5413VALIGN="TOP"
5414><I
5415CLASS="EMPHASIS"
5416>Returns</I
5417> :</TD
5418><TD
5419WIDTH="80%"
5420ALIGN="LEFT"
5421VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005422>a new normalized string if normalization is needed, NULL otherwise
Daniel Veillardaf43f632002-03-08 15:05:20 +00005423the caller must free the returned value.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005424></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005425></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005426></TABLE
5427><P
5428></P
5429></DIV
5430></DIV
5431><HR><DIV
5432CLASS="REFSECT2"
5433><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005434NAME="AEN9646"
5435></A
5436><H3
5437><A
5438NAME="XMLVALIDCTXTNORMALIZEATTRIBUTEVALUE"
5439></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005440>xmlValidCtxtNormalizeAttributeValue ()</H3
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005441><TABLE
5442BORDER="0"
5443BGCOLOR="#D6E8FF"
5444WIDTH="100%"
5445CELLPADDING="6"
5446><TR
5447><TD
5448><PRE
5449CLASS="PROGRAMLISTING"
5450><A
5451HREF="libxml-tree.html#XMLCHAR"
5452>xmlChar</A
5453>* xmlValidCtxtNormalizeAttributeValue
5454 (<A
5455HREF="libxml-valid.html#XMLVALIDCTXTPTR"
5456>xmlValidCtxtPtr</A
5457> ctxt,
5458 <A
5459HREF="libxml-tree.html#XMLDOCPTR"
5460>xmlDocPtr</A
5461> doc,
5462 <A
5463HREF="libxml-tree.html#XMLNODEPTR"
5464>xmlNodePtr</A
5465> elem,
5466 const <A
5467HREF="libxml-tree.html#XMLCHAR"
5468>xmlChar</A
5469> *name,
5470 const <A
5471HREF="libxml-tree.html#XMLCHAR"
5472>xmlChar</A
5473> *value);</PRE
5474></TD
5475></TR
5476></TABLE
5477><P
5478>Does the validation related extra step of the normalization of attribute
5479values:</P
5480><P
5481>If the declared value is not CDATA, then the XML processor must further
5482process the normalized attribute value by discarding any leading and
5483trailing space (<GTKDOCLINK
5484HREF="X20"
5485>x20</GTKDOCLINK
5486>) characters, and by replacing sequences of space
5487(<GTKDOCLINK
5488HREF="X20"
5489>x20</GTKDOCLINK
5490>) characters by single space (<GTKDOCLINK
5491HREF="X20"
5492>x20</GTKDOCLINK
5493>) character.</P
5494><P
5495>Also check VC: Standalone Document Declaration in P32, and update
Daniel Veillardaf43f632002-03-08 15:05:20 +00005496ctxt-&gt;valid accordingly</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005497><P
5498></P
5499><DIV
5500CLASS="INFORMALTABLE"
5501><A
5502NAME="AEN9663"
5503></A
5504><P
5505></P
5506><TABLE
5507BORDER="0"
5508WIDTH="100%"
5509BGCOLOR="#FFD0D0"
5510CELLSPACING="0"
5511CELLPADDING="4"
5512CLASS="CALSTABLE"
5513><TBODY
5514><TR
5515><TD
5516WIDTH="20%"
5517ALIGN="RIGHT"
5518VALIGN="TOP"
5519><TT
5520CLASS="PARAMETER"
5521><I
5522>ctxt</I
5523></TT
5524>&nbsp;:</TD
5525><TD
5526WIDTH="80%"
5527ALIGN="LEFT"
5528VALIGN="TOP"
5529> the validation context</TD
5530></TR
5531><TR
5532><TD
5533WIDTH="20%"
5534ALIGN="RIGHT"
5535VALIGN="TOP"
5536><TT
5537CLASS="PARAMETER"
5538><I
5539>doc</I
5540></TT
5541>&nbsp;:</TD
5542><TD
5543WIDTH="80%"
5544ALIGN="LEFT"
5545VALIGN="TOP"
5546> the document</TD
5547></TR
5548><TR
5549><TD
5550WIDTH="20%"
5551ALIGN="RIGHT"
5552VALIGN="TOP"
5553><TT
5554CLASS="PARAMETER"
5555><I
5556>elem</I
5557></TT
5558>&nbsp;:</TD
5559><TD
5560WIDTH="80%"
5561ALIGN="LEFT"
5562VALIGN="TOP"
5563> the parent</TD
5564></TR
5565><TR
5566><TD
5567WIDTH="20%"
5568ALIGN="RIGHT"
5569VALIGN="TOP"
5570><TT
5571CLASS="PARAMETER"
5572><I
5573>name</I
5574></TT
5575>&nbsp;:</TD
5576><TD
5577WIDTH="80%"
5578ALIGN="LEFT"
5579VALIGN="TOP"
5580> the attribute name</TD
5581></TR
5582><TR
5583><TD
5584WIDTH="20%"
5585ALIGN="RIGHT"
5586VALIGN="TOP"
5587><TT
5588CLASS="PARAMETER"
5589><I
5590>value</I
5591></TT
5592>&nbsp;:</TD
5593><TD
5594WIDTH="80%"
5595ALIGN="LEFT"
5596VALIGN="TOP"
5597> the attribute value</TD
5598></TR
5599><TR
5600><TD
5601WIDTH="20%"
5602ALIGN="RIGHT"
5603VALIGN="TOP"
5604><I
5605CLASS="EMPHASIS"
5606>Returns</I
5607> :</TD
5608><TD
5609WIDTH="80%"
5610ALIGN="LEFT"
5611VALIGN="TOP"
5612>a new normalized string if normalization is needed, NULL otherwise
Daniel Veillardaf43f632002-03-08 15:05:20 +00005613the caller must free the returned value.</TD
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005614></TR
5615></TBODY
5616></TABLE
5617><P
5618></P
5619></DIV
5620></DIV
5621><HR><DIV
5622CLASS="REFSECT2"
5623><A
5624NAME="AEN9692"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005625></A
5626><H3
5627><A
5628NAME="XMLVALIDATEATTRIBUTEDECL"
5629></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005630>xmlValidateAttributeDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005631><TABLE
5632BORDER="0"
5633BGCOLOR="#D6E8FF"
5634WIDTH="100%"
5635CELLPADDING="6"
5636><TR
5637><TD
5638><PRE
5639CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005640>int xmlValidateAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005641HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005642>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005643> ctxt,
5644 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005645HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005646>xmlDocPtr</A
5647> doc,
5648 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005649HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005650>xmlAttributePtr</A
5651> attr);</PRE
5652></TD
5653></TR
5654></TABLE
5655><P
5656>Try to validate a single attribute definition
5657basically it does the following checks as described by the
5658XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005659- [ VC: Attribute Default Legal ]
5660- [ VC: Enumeration ]
5661- [ VC: ID Attribute Default ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005662><P
5663>The ID/IDREF uniqueness and matching are done separately</P
5664><P
5665></P
5666><DIV
5667CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005668><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005669NAME="AEN9702"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005670></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005671><P
5672></P
5673><TABLE
5674BORDER="0"
5675WIDTH="100%"
5676BGCOLOR="#FFD0D0"
5677CELLSPACING="0"
5678CELLPADDING="4"
5679CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005680><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005681><TR
5682><TD
5683WIDTH="20%"
5684ALIGN="RIGHT"
5685VALIGN="TOP"
5686><TT
5687CLASS="PARAMETER"
5688><I
5689>ctxt</I
5690></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005691>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005692><TD
5693WIDTH="80%"
5694ALIGN="LEFT"
5695VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005696> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005697></TR
5698><TR
5699><TD
5700WIDTH="20%"
5701ALIGN="RIGHT"
5702VALIGN="TOP"
5703><TT
5704CLASS="PARAMETER"
5705><I
5706>doc</I
5707></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005708>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005709><TD
5710WIDTH="80%"
5711ALIGN="LEFT"
5712VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005713> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005714></TR
5715><TR
5716><TD
5717WIDTH="20%"
5718ALIGN="RIGHT"
5719VALIGN="TOP"
5720><TT
5721CLASS="PARAMETER"
5722><I
5723>attr</I
5724></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005725>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005726><TD
5727WIDTH="80%"
5728ALIGN="LEFT"
5729VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005730> an attribute definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005731></TR
5732><TR
5733><TD
5734WIDTH="20%"
5735ALIGN="RIGHT"
5736VALIGN="TOP"
5737><I
5738CLASS="EMPHASIS"
5739>Returns</I
5740> :</TD
5741><TD
5742WIDTH="80%"
5743ALIGN="LEFT"
5744VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005745>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005746></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005747></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005748></TABLE
5749><P
5750></P
5751></DIV
5752></DIV
5753><HR><DIV
5754CLASS="REFSECT2"
5755><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005756NAME="AEN9723"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005757></A
5758><H3
5759><A
5760NAME="XMLVALIDATEATTRIBUTEVALUE"
5761></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005762>xmlValidateAttributeValue ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005763><TABLE
5764BORDER="0"
5765BGCOLOR="#D6E8FF"
5766WIDTH="100%"
5767CELLPADDING="6"
5768><TR
5769><TD
5770><PRE
5771CLASS="PROGRAMLISTING"
5772>int xmlValidateAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005773HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005774>xmlAttributeType</A
5775> type,
5776 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005777HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005778>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005779> *value);</PRE
5780></TD
5781></TR
5782></TABLE
5783><P
5784>Validate that the given attribute value match the proper production</P
5785><P
5786>[ VC: ID ]
5787Values of type ID must match the Name production....</P
5788><P
5789>[ VC: IDREF ]
5790Values of type IDREF must match the Name production, and values
5791of type IDREFS must match Names ...</P
5792><P
5793>[ VC: Entity Name ]
5794Values of type ENTITY must match the Name production, values
5795of type ENTITIES must match Names ...</P
5796><P
5797>[ VC: Name Token ]
5798Values of type NMTOKEN must match the Nmtoken production; values
5799of type NMTOKENS must match Nmtokens.</P
5800><P
5801></P
5802><DIV
5803CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005804><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005805NAME="AEN9735"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005806></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005807><P
5808></P
5809><TABLE
5810BORDER="0"
5811WIDTH="100%"
5812BGCOLOR="#FFD0D0"
5813CELLSPACING="0"
5814CELLPADDING="4"
5815CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005816><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005817><TR
5818><TD
5819WIDTH="20%"
5820ALIGN="RIGHT"
5821VALIGN="TOP"
5822><TT
5823CLASS="PARAMETER"
5824><I
5825>type</I
5826></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005827>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005828><TD
5829WIDTH="80%"
5830ALIGN="LEFT"
5831VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005832> an attribute type</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005833></TR
5834><TR
5835><TD
5836WIDTH="20%"
5837ALIGN="RIGHT"
5838VALIGN="TOP"
5839><TT
5840CLASS="PARAMETER"
5841><I
5842>value</I
5843></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005844>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005845><TD
5846WIDTH="80%"
5847ALIGN="LEFT"
5848VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005849> an attribute value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005850></TR
5851><TR
5852><TD
5853WIDTH="20%"
5854ALIGN="RIGHT"
5855VALIGN="TOP"
5856><I
5857CLASS="EMPHASIS"
5858>Returns</I
5859> :</TD
5860><TD
5861WIDTH="80%"
5862ALIGN="LEFT"
5863VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005864>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005865></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005866></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005867></TABLE
5868><P
5869></P
5870></DIV
5871></DIV
5872><HR><DIV
5873CLASS="REFSECT2"
5874><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005875NAME="AEN9752"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005876></A
5877><H3
5878><A
5879NAME="XMLVALIDATENOTATIONDECL"
5880></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005881>xmlValidateNotationDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005882><TABLE
5883BORDER="0"
5884BGCOLOR="#D6E8FF"
5885WIDTH="100%"
5886CELLPADDING="6"
5887><TR
5888><TD
5889><PRE
5890CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005891>int xmlValidateNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005892HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005893>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005894> ctxt,
5895 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005896HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005897>xmlDocPtr</A
5898> doc,
5899 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005900HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005901>xmlNotationPtr</A
5902> nota);</PRE
5903></TD
5904></TR
5905></TABLE
5906><P
5907>Try to validate a single notation definition
5908basically it does the following checks as described by the
5909XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005910- it seems that no validity constraint exists on notation declarations
Daniel Veillardb05deb71999-08-10 19:04:08 +00005911But this function get called anyway ...</P
5912><P
5913></P
5914><DIV
5915CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005916><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005917NAME="AEN9761"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005918></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005919><P
5920></P
5921><TABLE
5922BORDER="0"
5923WIDTH="100%"
5924BGCOLOR="#FFD0D0"
5925CELLSPACING="0"
5926CELLPADDING="4"
5927CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005928><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005929><TR
5930><TD
5931WIDTH="20%"
5932ALIGN="RIGHT"
5933VALIGN="TOP"
5934><TT
5935CLASS="PARAMETER"
5936><I
5937>ctxt</I
5938></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005939>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005940><TD
5941WIDTH="80%"
5942ALIGN="LEFT"
5943VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005944> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005945></TR
5946><TR
5947><TD
5948WIDTH="20%"
5949ALIGN="RIGHT"
5950VALIGN="TOP"
5951><TT
5952CLASS="PARAMETER"
5953><I
5954>doc</I
5955></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005956>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005957><TD
5958WIDTH="80%"
5959ALIGN="LEFT"
5960VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005961> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005962></TR
5963><TR
5964><TD
5965WIDTH="20%"
5966ALIGN="RIGHT"
5967VALIGN="TOP"
5968><TT
5969CLASS="PARAMETER"
5970><I
5971>nota</I
5972></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005973>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005974><TD
5975WIDTH="80%"
5976ALIGN="LEFT"
5977VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005978> a notation definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005979></TR
5980><TR
5981><TD
5982WIDTH="20%"
5983ALIGN="RIGHT"
5984VALIGN="TOP"
5985><I
5986CLASS="EMPHASIS"
5987>Returns</I
5988> :</TD
5989><TD
5990WIDTH="80%"
5991ALIGN="LEFT"
5992VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005993>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005994></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005995></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005996></TABLE
5997><P
5998></P
5999></DIV
6000></DIV
6001><HR><DIV
6002CLASS="REFSECT2"
6003><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006004NAME="AEN9782"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006005></A
6006><H3
6007><A
6008NAME="XMLVALIDATEDTD"
6009></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006010>xmlValidateDtd ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006011><TABLE
6012BORDER="0"
6013BGCOLOR="#D6E8FF"
6014WIDTH="100%"
6015CELLPADDING="6"
6016><TR
6017><TD
6018><PRE
6019CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006020>int xmlValidateDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006021HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006022>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006023> ctxt,
6024 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006025HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006026>xmlDocPtr</A
6027> doc,
6028 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006029HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006030>xmlDtdPtr</A
6031> dtd);</PRE
6032></TD
6033></TR
6034></TABLE
6035><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006036>Try to validate the document against the dtd instance</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006037><P
6038>basically it does check all the definitions in the DtD.</P
6039><P
6040></P
6041><DIV
6042CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006043><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006044NAME="AEN9792"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006045></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006046><P
6047></P
6048><TABLE
6049BORDER="0"
6050WIDTH="100%"
6051BGCOLOR="#FFD0D0"
6052CELLSPACING="0"
6053CELLPADDING="4"
6054CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006055><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006056><TR
6057><TD
6058WIDTH="20%"
6059ALIGN="RIGHT"
6060VALIGN="TOP"
6061><TT
6062CLASS="PARAMETER"
6063><I
6064>ctxt</I
6065></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006066>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006067><TD
6068WIDTH="80%"
6069ALIGN="LEFT"
6070VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006071> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006072></TR
6073><TR
6074><TD
6075WIDTH="20%"
6076ALIGN="RIGHT"
6077VALIGN="TOP"
6078><TT
6079CLASS="PARAMETER"
6080><I
6081>doc</I
6082></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006083>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006084><TD
6085WIDTH="80%"
6086ALIGN="LEFT"
6087VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006088> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006089></TR
6090><TR
6091><TD
6092WIDTH="20%"
6093ALIGN="RIGHT"
6094VALIGN="TOP"
6095><TT
6096CLASS="PARAMETER"
6097><I
6098>dtd</I
6099></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006100>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006101><TD
6102WIDTH="80%"
6103ALIGN="LEFT"
6104VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006105> a dtd instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006106></TR
6107><TR
6108><TD
6109WIDTH="20%"
6110ALIGN="RIGHT"
6111VALIGN="TOP"
6112><I
6113CLASS="EMPHASIS"
6114>Returns</I
6115> :</TD
6116><TD
6117WIDTH="80%"
6118ALIGN="LEFT"
6119VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006120>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006121></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006122></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006123></TABLE
6124><P
6125></P
6126></DIV
6127></DIV
6128><HR><DIV
6129CLASS="REFSECT2"
6130><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006131NAME="AEN9813"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006132></A
6133><H3
6134><A
6135NAME="XMLVALIDATEDTDFINAL"
6136></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006137>xmlValidateDtdFinal ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006138><TABLE
6139BORDER="0"
6140BGCOLOR="#D6E8FF"
6141WIDTH="100%"
6142CELLPADDING="6"
6143><TR
6144><TD
6145><PRE
6146CLASS="PROGRAMLISTING"
6147>int xmlValidateDtdFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006148HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006149>xmlValidCtxtPtr</A
6150> ctxt,
6151 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006152HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006153>xmlDocPtr</A
6154> doc);</PRE
6155></TD
6156></TR
6157></TABLE
6158><P
6159>Does the final step for the dtds validation once all the
6160subsets have been parsed</P
6161><P
6162>basically it does the following checks described by the XML Rec
6163- check that ENTITY and ENTITIES type attributes default or
Daniel Veillardaf43f632002-03-08 15:05:20 +00006164possible values matches one of the defined entities.
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006165- check that NOTATION type attributes default or
Daniel Veillardaf43f632002-03-08 15:05:20 +00006166possible values matches one of the defined notations.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006167><P
6168></P
6169><DIV
6170CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006171><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006172NAME="AEN9822"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006173></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006174><P
6175></P
6176><TABLE
6177BORDER="0"
6178WIDTH="100%"
6179BGCOLOR="#FFD0D0"
6180CELLSPACING="0"
6181CELLPADDING="4"
6182CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006183><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006184><TR
6185><TD
6186WIDTH="20%"
6187ALIGN="RIGHT"
6188VALIGN="TOP"
6189><TT
6190CLASS="PARAMETER"
6191><I
6192>ctxt</I
6193></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006194>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006195><TD
6196WIDTH="80%"
6197ALIGN="LEFT"
6198VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006199> the validation context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006200></TR
6201><TR
6202><TD
6203WIDTH="20%"
6204ALIGN="RIGHT"
6205VALIGN="TOP"
6206><TT
6207CLASS="PARAMETER"
6208><I
6209>doc</I
6210></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006211>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006212><TD
6213WIDTH="80%"
6214ALIGN="LEFT"
6215VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006216> a document instance</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006217></TR
6218><TR
6219><TD
6220WIDTH="20%"
6221ALIGN="RIGHT"
6222VALIGN="TOP"
6223><I
6224CLASS="EMPHASIS"
6225>Returns</I
6226> :</TD
6227><TD
6228WIDTH="80%"
6229ALIGN="LEFT"
6230VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006231>1 if valid or 0 if invalid and -1 if not well-formed</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006232></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006233></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006234></TABLE
6235><P
6236></P
6237></DIV
6238></DIV
6239><HR><DIV
6240CLASS="REFSECT2"
6241><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006242NAME="AEN9839"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006243></A
6244><H3
6245><A
6246NAME="XMLVALIDATEDOCUMENT"
6247></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006248>xmlValidateDocument ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006249><TABLE
6250BORDER="0"
6251BGCOLOR="#D6E8FF"
6252WIDTH="100%"
6253CELLPADDING="6"
6254><TR
6255><TD
6256><PRE
6257CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006258>int xmlValidateDocument (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006259HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006260>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006261> ctxt,
6262 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006263HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006264>xmlDocPtr</A
6265> doc);</PRE
6266></TD
6267></TR
6268></TABLE
6269><P
6270>Try to validate the document instance</P
6271><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006272>basically it does the all the checks described by the XML Rec
Daniel Veillardb05deb71999-08-10 19:04:08 +00006273i.e. validates the internal and external subset (if present)
6274and validate the document tree.</P
6275><P
6276></P
6277><DIV
6278CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006279><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006280NAME="AEN9848"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006281></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006282><P
6283></P
6284><TABLE
6285BORDER="0"
6286WIDTH="100%"
6287BGCOLOR="#FFD0D0"
6288CELLSPACING="0"
6289CELLPADDING="4"
6290CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006291><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006292><TR
6293><TD
6294WIDTH="20%"
6295ALIGN="RIGHT"
6296VALIGN="TOP"
6297><TT
6298CLASS="PARAMETER"
6299><I
6300>ctxt</I
6301></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006302>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006303><TD
6304WIDTH="80%"
6305ALIGN="LEFT"
6306VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006307> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006308></TR
6309><TR
6310><TD
6311WIDTH="20%"
6312ALIGN="RIGHT"
6313VALIGN="TOP"
6314><TT
6315CLASS="PARAMETER"
6316><I
6317>doc</I
6318></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006319>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006320><TD
6321WIDTH="80%"
6322ALIGN="LEFT"
6323VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006324> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006325></TR
6326><TR
6327><TD
6328WIDTH="20%"
6329ALIGN="RIGHT"
6330VALIGN="TOP"
6331><I
6332CLASS="EMPHASIS"
6333>Returns</I
6334> :</TD
6335><TD
6336WIDTH="80%"
6337ALIGN="LEFT"
6338VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006339>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006340></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006341></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006342></TABLE
6343><P
6344></P
6345></DIV
6346></DIV
6347><HR><DIV
6348CLASS="REFSECT2"
6349><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006350NAME="AEN9865"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006351></A
6352><H3
6353><A
6354NAME="XMLVALIDATEELEMENT"
6355></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006356>xmlValidateElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006357><TABLE
6358BORDER="0"
6359BGCOLOR="#D6E8FF"
6360WIDTH="100%"
6361CELLPADDING="6"
6362><TR
6363><TD
6364><PRE
6365CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006366>int xmlValidateElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006367HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006368>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006369> ctxt,
6370 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006371HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006372>xmlDocPtr</A
6373> doc,
6374 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006375HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006376>xmlNodePtr</A
6377> elem);</PRE
6378></TD
6379></TR
6380></TABLE
6381><P
6382>Try to validate the subtree under an element</P
6383><P
6384></P
6385><DIV
6386CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006387><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006388NAME="AEN9874"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006389></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006390><P
6391></P
6392><TABLE
6393BORDER="0"
6394WIDTH="100%"
6395BGCOLOR="#FFD0D0"
6396CELLSPACING="0"
6397CELLPADDING="4"
6398CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006399><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006400><TR
6401><TD
6402WIDTH="20%"
6403ALIGN="RIGHT"
6404VALIGN="TOP"
6405><TT
6406CLASS="PARAMETER"
6407><I
6408>ctxt</I
6409></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006410>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006411><TD
6412WIDTH="80%"
6413ALIGN="LEFT"
6414VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006415> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006416></TR
6417><TR
6418><TD
6419WIDTH="20%"
6420ALIGN="RIGHT"
6421VALIGN="TOP"
6422><TT
6423CLASS="PARAMETER"
6424><I
6425>doc</I
6426></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006427>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006428><TD
6429WIDTH="80%"
6430ALIGN="LEFT"
6431VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006432> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006433></TR
6434><TR
6435><TD
6436WIDTH="20%"
6437ALIGN="RIGHT"
6438VALIGN="TOP"
6439><TT
6440CLASS="PARAMETER"
6441><I
6442>elem</I
6443></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006444>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006445><TD
6446WIDTH="80%"
6447ALIGN="LEFT"
6448VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006449> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006450></TR
6451><TR
6452><TD
6453WIDTH="20%"
6454ALIGN="RIGHT"
6455VALIGN="TOP"
6456><I
6457CLASS="EMPHASIS"
6458>Returns</I
6459> :</TD
6460><TD
6461WIDTH="80%"
6462ALIGN="LEFT"
6463VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006464>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006465></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006466></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006467></TABLE
6468><P
6469></P
6470></DIV
6471></DIV
6472><HR><DIV
6473CLASS="REFSECT2"
6474><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006475NAME="AEN9895"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006476></A
6477><H3
6478><A
6479NAME="XMLVALIDATEONEELEMENT"
6480></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006481>xmlValidateOneElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006482><TABLE
6483BORDER="0"
6484BGCOLOR="#D6E8FF"
6485WIDTH="100%"
6486CELLPADDING="6"
6487><TR
6488><TD
6489><PRE
6490CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006491>int xmlValidateOneElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006492HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006493>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006494> ctxt,
6495 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006496HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006497>xmlDocPtr</A
6498> doc,
6499 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006500HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006501>xmlNodePtr</A
6502> elem);</PRE
6503></TD
6504></TR
6505></TABLE
6506><P
6507>Try to validate a single element and it's attributes,
6508basically it does the following checks as described by the
6509XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00006510- [ VC: Element Valid ]
6511- [ VC: Required Attribute ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00006512Then call <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006513HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006514>xmlValidateOneAttribute</A
6515>() for each attribute present.</P
6516><P
6517>The ID/IDREF checkings are done separately</P
6518><P
6519></P
6520><DIV
6521CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006522><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006523NAME="AEN9906"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006524></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006525><P
6526></P
6527><TABLE
6528BORDER="0"
6529WIDTH="100%"
6530BGCOLOR="#FFD0D0"
6531CELLSPACING="0"
6532CELLPADDING="4"
6533CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006534><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006535><TR
6536><TD
6537WIDTH="20%"
6538ALIGN="RIGHT"
6539VALIGN="TOP"
6540><TT
6541CLASS="PARAMETER"
6542><I
6543>ctxt</I
6544></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006545>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006546><TD
6547WIDTH="80%"
6548ALIGN="LEFT"
6549VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006550> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006551></TR
6552><TR
6553><TD
6554WIDTH="20%"
6555ALIGN="RIGHT"
6556VALIGN="TOP"
6557><TT
6558CLASS="PARAMETER"
6559><I
6560>doc</I
6561></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006562>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006563><TD
6564WIDTH="80%"
6565ALIGN="LEFT"
6566VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006567> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006568></TR
6569><TR
6570><TD
6571WIDTH="20%"
6572ALIGN="RIGHT"
6573VALIGN="TOP"
6574><TT
6575CLASS="PARAMETER"
6576><I
6577>elem</I
6578></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006579>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006580><TD
6581WIDTH="80%"
6582ALIGN="LEFT"
6583VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006584> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006585></TR
6586><TR
6587><TD
6588WIDTH="20%"
6589ALIGN="RIGHT"
6590VALIGN="TOP"
6591><I
6592CLASS="EMPHASIS"
6593>Returns</I
6594> :</TD
6595><TD
6596WIDTH="80%"
6597ALIGN="LEFT"
6598VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006599>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006600></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006601></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006602></TABLE
6603><P
6604></P
6605></DIV
6606></DIV
6607><HR><DIV
6608CLASS="REFSECT2"
6609><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006610NAME="AEN9927"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006611></A
6612><H3
6613><A
6614NAME="XMLVALIDATEONEATTRIBUTE"
6615></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006616>xmlValidateOneAttribute ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006617><TABLE
6618BORDER="0"
6619BGCOLOR="#D6E8FF"
6620WIDTH="100%"
6621CELLPADDING="6"
6622><TR
6623><TD
6624><PRE
6625CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006626>int xmlValidateOneAttribute (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006627HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006628>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006629> ctxt,
6630 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006631HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006632>xmlDocPtr</A
6633> doc,
6634 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006635HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006636>xmlNodePtr</A
6637> elem,
6638 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006639HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006640>xmlAttrPtr</A
6641> attr,
6642 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006643HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006644>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006645> *value);</PRE
6646></TD
6647></TR
6648></TABLE
6649><P
6650>Try to validate a single attribute for an element
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006651basically it does the following checks as described by the
Daniel Veillardb05deb71999-08-10 19:04:08 +00006652XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00006653- [ VC: Attribute Value Type ]
6654- [ VC: Fixed Attribute Default ]
6655- [ VC: Entity Name ]
6656- [ VC: Name Token ]
6657- [ VC: ID ]
6658- [ VC: IDREF ]
6659- [ VC: Entity Name ]
6660- [ VC: Notation Attributes ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006661><P
6662>The ID/IDREF uniqueness and matching are done separately</P
6663><P
6664></P
6665><DIV
6666CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006667><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006668NAME="AEN9939"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006669></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006670><P
6671></P
6672><TABLE
6673BORDER="0"
6674WIDTH="100%"
6675BGCOLOR="#FFD0D0"
6676CELLSPACING="0"
6677CELLPADDING="4"
6678CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006679><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006680><TR
6681><TD
6682WIDTH="20%"
6683ALIGN="RIGHT"
6684VALIGN="TOP"
6685><TT
6686CLASS="PARAMETER"
6687><I
6688>ctxt</I
6689></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006690>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006691><TD
6692WIDTH="80%"
6693ALIGN="LEFT"
6694VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006695> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006696></TR
6697><TR
6698><TD
6699WIDTH="20%"
6700ALIGN="RIGHT"
6701VALIGN="TOP"
6702><TT
6703CLASS="PARAMETER"
6704><I
6705>doc</I
6706></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006707>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006708><TD
6709WIDTH="80%"
6710ALIGN="LEFT"
6711VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006712> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006713></TR
6714><TR
6715><TD
6716WIDTH="20%"
6717ALIGN="RIGHT"
6718VALIGN="TOP"
6719><TT
6720CLASS="PARAMETER"
6721><I
6722>elem</I
6723></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006724>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006725><TD
6726WIDTH="80%"
6727ALIGN="LEFT"
6728VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006729> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006730></TR
6731><TR
6732><TD
6733WIDTH="20%"
6734ALIGN="RIGHT"
6735VALIGN="TOP"
6736><TT
6737CLASS="PARAMETER"
6738><I
6739>attr</I
6740></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006741>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006742><TD
6743WIDTH="80%"
6744ALIGN="LEFT"
6745VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006746> an attribute instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006747></TR
6748><TR
6749><TD
6750WIDTH="20%"
6751ALIGN="RIGHT"
6752VALIGN="TOP"
6753><TT
6754CLASS="PARAMETER"
6755><I
6756>value</I
6757></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006758>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006759><TD
6760WIDTH="80%"
6761ALIGN="LEFT"
6762VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006763> the attribute value (without entities processing)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006764></TR
6765><TR
6766><TD
6767WIDTH="20%"
6768ALIGN="RIGHT"
6769VALIGN="TOP"
6770><I
6771CLASS="EMPHASIS"
6772>Returns</I
6773> :</TD
6774><TD
6775WIDTH="80%"
6776ALIGN="LEFT"
6777VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006778>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006779></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006780></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006781></TABLE
6782><P
6783></P
6784></DIV
6785></DIV
6786><HR><DIV
6787CLASS="REFSECT2"
6788><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006789NAME="AEN9968"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006790></A
6791><H3
6792><A
6793NAME="XMLVALIDATEDOCUMENTFINAL"
6794></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006795>xmlValidateDocumentFinal ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006796><TABLE
6797BORDER="0"
6798BGCOLOR="#D6E8FF"
6799WIDTH="100%"
6800CELLPADDING="6"
6801><TR
6802><TD
6803><PRE
6804CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006805>int xmlValidateDocumentFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006806HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006807>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006808> ctxt,
6809 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006810HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006811>xmlDocPtr</A
6812> doc);</PRE
6813></TD
6814></TR
6815></TABLE
6816><P
6817>Does the final step for the document validation once all the
6818incremental validation steps have been completed</P
6819><P
6820>basically it does the following checks described by the XML Rec</P
6821><P
6822></P
6823><DIV
6824CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006825><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006826NAME="AEN9977"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006827></A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006828><P
6829></P
6830><TABLE
6831BORDER="0"
6832WIDTH="100%"
6833BGCOLOR="#FFD0D0"
6834CELLSPACING="0"
6835CELLPADDING="4"
6836CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006837><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006838><TR
6839><TD
6840WIDTH="20%"
6841ALIGN="RIGHT"
6842VALIGN="TOP"
6843><TT
6844CLASS="PARAMETER"
6845><I
6846>ctxt</I
6847></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006848>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006849><TD
6850WIDTH="80%"
6851ALIGN="LEFT"
6852VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006853> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006854></TR
6855><TR
6856><TD
6857WIDTH="20%"
6858ALIGN="RIGHT"
6859VALIGN="TOP"
6860><TT
6861CLASS="PARAMETER"
6862><I
6863>doc</I
6864></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006865>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006866><TD
6867WIDTH="80%"
6868ALIGN="LEFT"
6869VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006870> a document instance</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006871></TR
6872><TR
6873><TD
6874WIDTH="20%"
6875ALIGN="RIGHT"
6876VALIGN="TOP"
6877><I
6878CLASS="EMPHASIS"
6879>Returns</I
6880> :</TD
6881><TD
6882WIDTH="80%"
6883ALIGN="LEFT"
6884VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006885>1 if valid or 0 otherwise</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006886></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006887></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006888></TABLE
6889><P
6890></P
6891></DIV
6892></DIV
6893><HR><DIV
6894CLASS="REFSECT2"
6895><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006896NAME="AEN9994"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006897></A
6898><H3
6899><A
6900NAME="XMLVALIDATENOTATIONUSE"
6901></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006902>xmlValidateNotationUse ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006903><TABLE
6904BORDER="0"
6905BGCOLOR="#D6E8FF"
6906WIDTH="100%"
6907CELLPADDING="6"
6908><TR
6909><TD
6910><PRE
6911CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006912>int xmlValidateNotationUse (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006913HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006914>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006915> ctxt,
6916 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006917HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006918>xmlDocPtr</A
6919> doc,
6920 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006921HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006922>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006923> *notationName);</PRE
6924></TD
6925></TR
6926></TABLE
6927><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00006928>Validate that the given name match a notation declaration.
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006929- [ VC: Notation Declared ]</P
6930><P
6931></P
6932><DIV
6933CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006934><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006935NAME="AEN10003"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006936></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006937><P
6938></P
6939><TABLE
6940BORDER="0"
6941WIDTH="100%"
6942BGCOLOR="#FFD0D0"
6943CELLSPACING="0"
6944CELLPADDING="4"
6945CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006946><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006947><TR
6948><TD
6949WIDTH="20%"
6950ALIGN="RIGHT"
6951VALIGN="TOP"
6952><TT
6953CLASS="PARAMETER"
6954><I
6955>ctxt</I
6956></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006957>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006958><TD
6959WIDTH="80%"
6960ALIGN="LEFT"
6961VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006962> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006963></TR
6964><TR
6965><TD
6966WIDTH="20%"
6967ALIGN="RIGHT"
6968VALIGN="TOP"
6969><TT
6970CLASS="PARAMETER"
6971><I
6972>doc</I
6973></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006974>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006975><TD
6976WIDTH="80%"
6977ALIGN="LEFT"
6978VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006979> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006980></TR
6981><TR
6982><TD
6983WIDTH="20%"
6984ALIGN="RIGHT"
6985VALIGN="TOP"
6986><TT
6987CLASS="PARAMETER"
6988><I
6989>notationName</I
6990></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006991>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006992><TD
6993WIDTH="80%"
6994ALIGN="LEFT"
6995VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006996> the notation name to check</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006997></TR
6998><TR
6999><TD
7000WIDTH="20%"
7001ALIGN="RIGHT"
7002VALIGN="TOP"
7003><I
7004CLASS="EMPHASIS"
7005>Returns</I
7006> :</TD
7007><TD
7008WIDTH="80%"
7009ALIGN="LEFT"
7010VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007011>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007012></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007013></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007014></TABLE
7015><P
7016></P
7017></DIV
7018></DIV
7019><HR><DIV
7020CLASS="REFSECT2"
7021><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007022NAME="AEN10024"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007023></A
7024><H3
7025><A
7026NAME="XMLISMIXEDELEMENT"
7027></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007028>xmlIsMixedElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00007029><TABLE
7030BORDER="0"
7031BGCOLOR="#D6E8FF"
7032WIDTH="100%"
7033CELLPADDING="6"
7034><TR
7035><TD
7036><PRE
7037CLASS="PROGRAMLISTING"
7038>int xmlIsMixedElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007039HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007040>xmlDocPtr</A
7041> doc,
7042 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007043HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007044>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007045> *name);</PRE
7046></TD
7047></TR
7048></TABLE
7049><P
7050>Search in the DtDs whether an element accept Mixed content (or ANY)
7051basically if it is supposed to accept text childs</P
7052><P
7053></P
7054><DIV
7055CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007056><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007057NAME="AEN10032"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007058></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007059><P
7060></P
7061><TABLE
7062BORDER="0"
7063WIDTH="100%"
7064BGCOLOR="#FFD0D0"
7065CELLSPACING="0"
7066CELLPADDING="4"
7067CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007068><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00007069><TR
7070><TD
7071WIDTH="20%"
7072ALIGN="RIGHT"
7073VALIGN="TOP"
7074><TT
7075CLASS="PARAMETER"
7076><I
7077>doc</I
7078></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007079>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007080><TD
7081WIDTH="80%"
7082ALIGN="LEFT"
7083VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007084> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007085></TR
7086><TR
7087><TD
7088WIDTH="20%"
7089ALIGN="RIGHT"
7090VALIGN="TOP"
7091><TT
7092CLASS="PARAMETER"
7093><I
7094>name</I
7095></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007096>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007097><TD
7098WIDTH="80%"
7099ALIGN="LEFT"
7100VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007101> the element name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007102></TR
7103><TR
7104><TD
7105WIDTH="20%"
7106ALIGN="RIGHT"
7107VALIGN="TOP"
7108><I
7109CLASS="EMPHASIS"
7110>Returns</I
7111> :</TD
7112><TD
7113WIDTH="80%"
7114ALIGN="LEFT"
7115VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007116>0 if no, 1 if yes, and -1 if no element description is available</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007117></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007118></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007119></TABLE
7120><P
7121></P
7122></DIV
7123></DIV
7124><HR><DIV
7125CLASS="REFSECT2"
7126><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007127NAME="AEN10049"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007128></A
7129><H3
7130><A
7131NAME="XMLGETDTDATTRDESC"
7132></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007133>xmlGetDtdAttrDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007134><TABLE
7135BORDER="0"
7136BGCOLOR="#D6E8FF"
7137WIDTH="100%"
7138CELLPADDING="6"
7139><TR
7140><TD
7141><PRE
7142CLASS="PROGRAMLISTING"
7143><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007144HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007145>xmlAttributePtr</A
7146> xmlGetDtdAttrDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007147HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007148>xmlDtdPtr</A
7149> dtd,
7150 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007151HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007152>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007153> *elem,
7154 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007155HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007156>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007157> *name);</PRE
7158></TD
7159></TR
7160></TABLE
7161><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007162>Search the DTD for the description of this attribute on
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007163this element.</P
7164><P
7165></P
7166><DIV
7167CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007168><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007169NAME="AEN10059"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007170></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007171><P
7172></P
7173><TABLE
7174BORDER="0"
7175WIDTH="100%"
7176BGCOLOR="#FFD0D0"
7177CELLSPACING="0"
7178CELLPADDING="4"
7179CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007180><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007181><TR
7182><TD
7183WIDTH="20%"
7184ALIGN="RIGHT"
7185VALIGN="TOP"
7186><TT
7187CLASS="PARAMETER"
7188><I
7189>dtd</I
7190></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007191>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007192><TD
7193WIDTH="80%"
7194ALIGN="LEFT"
7195VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007196> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007197></TR
7198><TR
7199><TD
7200WIDTH="20%"
7201ALIGN="RIGHT"
7202VALIGN="TOP"
7203><TT
7204CLASS="PARAMETER"
7205><I
7206>elem</I
7207></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007208>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007209><TD
7210WIDTH="80%"
7211ALIGN="LEFT"
7212VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007213> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007214></TR
7215><TR
7216><TD
7217WIDTH="20%"
7218ALIGN="RIGHT"
7219VALIGN="TOP"
7220><TT
7221CLASS="PARAMETER"
7222><I
7223>name</I
7224></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007225>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007226><TD
7227WIDTH="80%"
7228ALIGN="LEFT"
7229VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007230> the attribute name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007231></TR
7232><TR
7233><TD
7234WIDTH="20%"
7235ALIGN="RIGHT"
7236VALIGN="TOP"
7237><I
7238CLASS="EMPHASIS"
7239>Returns</I
7240> :</TD
7241><TD
7242WIDTH="80%"
7243ALIGN="LEFT"
7244VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007245>the xmlAttributePtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007246></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007247></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007248></TABLE
7249><P
7250></P
7251></DIV
7252></DIV
7253><HR><DIV
7254CLASS="REFSECT2"
7255><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007256NAME="AEN10080"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007257></A
7258><H3
7259><A
7260NAME="XMLGETDTDQATTRDESC"
7261></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007262>xmlGetDtdQAttrDesc ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007263><TABLE
7264BORDER="0"
7265BGCOLOR="#D6E8FF"
7266WIDTH="100%"
7267CELLPADDING="6"
7268><TR
7269><TD
7270><PRE
7271CLASS="PROGRAMLISTING"
7272><A
7273HREF="libxml-tree.html#XMLATTRIBUTEPTR"
7274>xmlAttributePtr</A
7275> xmlGetDtdQAttrDesc (<A
7276HREF="libxml-tree.html#XMLDTDPTR"
7277>xmlDtdPtr</A
7278> dtd,
7279 const <A
7280HREF="libxml-tree.html#XMLCHAR"
7281>xmlChar</A
7282> *elem,
7283 const <A
7284HREF="libxml-tree.html#XMLCHAR"
7285>xmlChar</A
7286> *name,
7287 const <A
7288HREF="libxml-tree.html#XMLCHAR"
7289>xmlChar</A
7290> *prefix);</PRE
7291></TD
7292></TR
7293></TABLE
7294><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007295>Search the DTD for the description of this qualified attribute on
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007296this element.</P
7297><P
7298></P
7299><DIV
7300CLASS="INFORMALTABLE"
7301><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007302NAME="AEN10091"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007303></A
7304><P
7305></P
7306><TABLE
7307BORDER="0"
7308WIDTH="100%"
7309BGCOLOR="#FFD0D0"
7310CELLSPACING="0"
7311CELLPADDING="4"
7312CLASS="CALSTABLE"
7313><TBODY
7314><TR
7315><TD
7316WIDTH="20%"
7317ALIGN="RIGHT"
7318VALIGN="TOP"
7319><TT
7320CLASS="PARAMETER"
7321><I
7322>dtd</I
7323></TT
7324>&nbsp;:</TD
7325><TD
7326WIDTH="80%"
7327ALIGN="LEFT"
7328VALIGN="TOP"
7329> a pointer to the DtD to search</TD
7330></TR
7331><TR
7332><TD
7333WIDTH="20%"
7334ALIGN="RIGHT"
7335VALIGN="TOP"
7336><TT
7337CLASS="PARAMETER"
7338><I
7339>elem</I
7340></TT
7341>&nbsp;:</TD
7342><TD
7343WIDTH="80%"
7344ALIGN="LEFT"
7345VALIGN="TOP"
7346> the element name</TD
7347></TR
7348><TR
7349><TD
7350WIDTH="20%"
7351ALIGN="RIGHT"
7352VALIGN="TOP"
7353><TT
7354CLASS="PARAMETER"
7355><I
7356>name</I
7357></TT
7358>&nbsp;:</TD
7359><TD
7360WIDTH="80%"
7361ALIGN="LEFT"
7362VALIGN="TOP"
7363> the attribute name</TD
7364></TR
7365><TR
7366><TD
7367WIDTH="20%"
7368ALIGN="RIGHT"
7369VALIGN="TOP"
7370><TT
7371CLASS="PARAMETER"
7372><I
7373>prefix</I
7374></TT
7375>&nbsp;:</TD
7376><TD
7377WIDTH="80%"
7378ALIGN="LEFT"
7379VALIGN="TOP"
7380> the attribute namespace prefix</TD
7381></TR
7382><TR
7383><TD
7384WIDTH="20%"
7385ALIGN="RIGHT"
7386VALIGN="TOP"
7387><I
7388CLASS="EMPHASIS"
7389>Returns</I
7390> :</TD
7391><TD
7392WIDTH="80%"
7393ALIGN="LEFT"
7394VALIGN="TOP"
7395>the xmlAttributePtr if found or NULL</TD
7396></TR
7397></TBODY
7398></TABLE
7399><P
7400></P
7401></DIV
7402></DIV
7403><HR><DIV
7404CLASS="REFSECT2"
7405><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007406NAME="AEN10116"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007407></A
7408><H3
7409><A
7410NAME="XMLGETDTDNOTATIONDESC"
7411></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007412>xmlGetDtdNotationDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007413><TABLE
7414BORDER="0"
7415BGCOLOR="#D6E8FF"
7416WIDTH="100%"
7417CELLPADDING="6"
7418><TR
7419><TD
7420><PRE
7421CLASS="PROGRAMLISTING"
7422><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007423HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007424>xmlNotationPtr</A
7425> xmlGetDtdNotationDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007426HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007427>xmlDtdPtr</A
7428> dtd,
7429 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007430HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007431>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007432> *name);</PRE
7433></TD
7434></TR
7435></TABLE
7436><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007437>Search the DTD for the description of this notation</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007438><P
7439></P
7440><DIV
7441CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007442><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007443NAME="AEN10125"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007444></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007445><P
7446></P
7447><TABLE
7448BORDER="0"
7449WIDTH="100%"
7450BGCOLOR="#FFD0D0"
7451CELLSPACING="0"
7452CELLPADDING="4"
7453CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007454><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007455><TR
7456><TD
7457WIDTH="20%"
7458ALIGN="RIGHT"
7459VALIGN="TOP"
7460><TT
7461CLASS="PARAMETER"
7462><I
7463>dtd</I
7464></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007465>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007466><TD
7467WIDTH="80%"
7468ALIGN="LEFT"
7469VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007470> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007471></TR
7472><TR
7473><TD
7474WIDTH="20%"
7475ALIGN="RIGHT"
7476VALIGN="TOP"
7477><TT
7478CLASS="PARAMETER"
7479><I
7480>name</I
7481></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007482>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007483><TD
7484WIDTH="80%"
7485ALIGN="LEFT"
7486VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007487> the notation name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007488></TR
7489><TR
7490><TD
7491WIDTH="20%"
7492ALIGN="RIGHT"
7493VALIGN="TOP"
7494><I
7495CLASS="EMPHASIS"
7496>Returns</I
7497> :</TD
7498><TD
7499WIDTH="80%"
7500ALIGN="LEFT"
7501VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007502>the xmlNotationPtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007503></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007504></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007505></TABLE
7506><P
7507></P
7508></DIV
7509></DIV
7510><HR><DIV
7511CLASS="REFSECT2"
7512><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007513NAME="AEN10142"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007514></A
7515><H3
7516><A
7517NAME="XMLGETDTDQELEMENTDESC"
7518></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007519>xmlGetDtdQElementDesc ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007520><TABLE
7521BORDER="0"
7522BGCOLOR="#D6E8FF"
7523WIDTH="100%"
7524CELLPADDING="6"
7525><TR
7526><TD
7527><PRE
7528CLASS="PROGRAMLISTING"
7529><A
7530HREF="libxml-tree.html#XMLELEMENTPTR"
7531>xmlElementPtr</A
7532> xmlGetDtdQElementDesc (<A
7533HREF="libxml-tree.html#XMLDTDPTR"
7534>xmlDtdPtr</A
7535> dtd,
7536 const <A
7537HREF="libxml-tree.html#XMLCHAR"
7538>xmlChar</A
7539> *name,
7540 const <A
7541HREF="libxml-tree.html#XMLCHAR"
7542>xmlChar</A
7543> *prefix);</PRE
7544></TD
7545></TR
7546></TABLE
7547><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007548>Search the DTD for the description of this element</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007549><P
7550></P
7551><DIV
7552CLASS="INFORMALTABLE"
7553><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007554NAME="AEN10152"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007555></A
7556><P
7557></P
7558><TABLE
7559BORDER="0"
7560WIDTH="100%"
7561BGCOLOR="#FFD0D0"
7562CELLSPACING="0"
7563CELLPADDING="4"
7564CLASS="CALSTABLE"
7565><TBODY
7566><TR
7567><TD
7568WIDTH="20%"
7569ALIGN="RIGHT"
7570VALIGN="TOP"
7571><TT
7572CLASS="PARAMETER"
7573><I
7574>dtd</I
7575></TT
7576>&nbsp;:</TD
7577><TD
7578WIDTH="80%"
7579ALIGN="LEFT"
7580VALIGN="TOP"
7581> a pointer to the DtD to search</TD
7582></TR
7583><TR
7584><TD
7585WIDTH="20%"
7586ALIGN="RIGHT"
7587VALIGN="TOP"
7588><TT
7589CLASS="PARAMETER"
7590><I
7591>name</I
7592></TT
7593>&nbsp;:</TD
7594><TD
7595WIDTH="80%"
7596ALIGN="LEFT"
7597VALIGN="TOP"
7598> the element name</TD
7599></TR
7600><TR
7601><TD
7602WIDTH="20%"
7603ALIGN="RIGHT"
7604VALIGN="TOP"
7605><TT
7606CLASS="PARAMETER"
7607><I
7608>prefix</I
7609></TT
7610>&nbsp;:</TD
7611><TD
7612WIDTH="80%"
7613ALIGN="LEFT"
7614VALIGN="TOP"
7615> the element namespace prefix</TD
7616></TR
7617><TR
7618><TD
7619WIDTH="20%"
7620ALIGN="RIGHT"
7621VALIGN="TOP"
7622><I
7623CLASS="EMPHASIS"
7624>Returns</I
7625> :</TD
7626><TD
7627WIDTH="80%"
7628ALIGN="LEFT"
7629VALIGN="TOP"
7630>the xmlElementPtr if found or NULL</TD
7631></TR
7632></TBODY
7633></TABLE
7634><P
7635></P
7636></DIV
7637></DIV
7638><HR><DIV
7639CLASS="REFSECT2"
7640><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007641NAME="AEN10173"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007642></A
7643><H3
7644><A
7645NAME="XMLGETDTDELEMENTDESC"
7646></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007647>xmlGetDtdElementDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007648><TABLE
7649BORDER="0"
7650BGCOLOR="#D6E8FF"
7651WIDTH="100%"
7652CELLPADDING="6"
7653><TR
7654><TD
7655><PRE
7656CLASS="PROGRAMLISTING"
7657><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007658HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007659>xmlElementPtr</A
7660> xmlGetDtdElementDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007661HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007662>xmlDtdPtr</A
7663> dtd,
7664 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007665HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007666>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007667> *name);</PRE
7668></TD
7669></TR
7670></TABLE
7671><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007672>Search the DTD for the description of this element</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007673><P
7674></P
7675><DIV
7676CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007677><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007678NAME="AEN10182"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007679></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007680><P
7681></P
7682><TABLE
7683BORDER="0"
7684WIDTH="100%"
7685BGCOLOR="#FFD0D0"
7686CELLSPACING="0"
7687CELLPADDING="4"
7688CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007689><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007690><TR
7691><TD
7692WIDTH="20%"
7693ALIGN="RIGHT"
7694VALIGN="TOP"
7695><TT
7696CLASS="PARAMETER"
7697><I
7698>dtd</I
7699></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007700>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007701><TD
7702WIDTH="80%"
7703ALIGN="LEFT"
7704VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007705> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007706></TR
7707><TR
7708><TD
7709WIDTH="20%"
7710ALIGN="RIGHT"
7711VALIGN="TOP"
7712><TT
7713CLASS="PARAMETER"
7714><I
7715>name</I
7716></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007717>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007718><TD
7719WIDTH="80%"
7720ALIGN="LEFT"
7721VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007722> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007723></TR
7724><TR
7725><TD
7726WIDTH="20%"
7727ALIGN="RIGHT"
7728VALIGN="TOP"
7729><I
7730CLASS="EMPHASIS"
7731>Returns</I
7732> :</TD
7733><TD
7734WIDTH="80%"
7735ALIGN="LEFT"
7736VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007737>the xmlElementPtr if found or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007738></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007739></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007740></TABLE
7741><P
7742></P
7743></DIV
7744></DIV
7745><HR><DIV
7746CLASS="REFSECT2"
7747><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007748NAME="AEN10199"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007749></A
7750><H3
7751><A
7752NAME="XMLVALIDGETVALIDELEMENTS"
7753></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007754>xmlValidGetValidElements ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007755><TABLE
7756BORDER="0"
7757BGCOLOR="#D6E8FF"
7758WIDTH="100%"
7759CELLPADDING="6"
7760><TR
7761><TD
7762><PRE
7763CLASS="PROGRAMLISTING"
7764>int xmlValidGetValidElements (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007765HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007766>xmlNode</A
7767> *prev,
7768 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007769HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007770>xmlNode</A
7771> *next,
7772 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007773HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007774>xmlChar</A
7775> **list,
7776 int max);</PRE
7777></TD
7778></TR
7779></TABLE
7780><P
7781>This function returns the list of authorized children to insert
7782within an existing tree while respecting the validity constraints
7783forced by the Dtd. The insertion point is defined using <TT
7784CLASS="PARAMETER"
7785><I
7786>prev</I
7787></TT
7788> and
7789<TT
7790CLASS="PARAMETER"
7791><I
7792>next</I
7793></TT
7794> in the following ways:
Daniel Veillardaf43f632002-03-08 15:05:20 +00007795to insert before 'node': xmlValidGetValidElements(node-&gt;prev, node, ...
7796to insert next 'node': xmlValidGetValidElements(node, node-&gt;next, ...
7797to replace 'node': xmlValidGetValidElements(node-&gt;prev, node-&gt;next, ...
7798to prepend a child to 'node': xmlValidGetValidElements(NULL, node-&gt;childs,
7799to append a child to 'node': xmlValidGetValidElements(node-&gt;last, NULL, ...</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007800><P
7801>pointers to the element names are inserted at the beginning of the array
7802and do not need to be freed.</P
7803><P
7804></P
7805><DIV
7806CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007807><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007808NAME="AEN10211"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007809></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007810><P
7811></P
7812><TABLE
7813BORDER="0"
7814WIDTH="100%"
7815BGCOLOR="#FFD0D0"
7816CELLSPACING="0"
7817CELLPADDING="4"
7818CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007819><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007820><TR
7821><TD
7822WIDTH="20%"
7823ALIGN="RIGHT"
7824VALIGN="TOP"
7825><TT
7826CLASS="PARAMETER"
7827><I
7828>prev</I
7829></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007830>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007831><TD
7832WIDTH="80%"
7833ALIGN="LEFT"
7834VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007835> an element to insert after</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007836></TR
7837><TR
7838><TD
7839WIDTH="20%"
7840ALIGN="RIGHT"
7841VALIGN="TOP"
7842><TT
7843CLASS="PARAMETER"
7844><I
7845>next</I
7846></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007847>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007848><TD
7849WIDTH="80%"
7850ALIGN="LEFT"
7851VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007852> an element to insert next</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007853></TR
7854><TR
7855><TD
7856WIDTH="20%"
7857ALIGN="RIGHT"
7858VALIGN="TOP"
7859><TT
7860CLASS="PARAMETER"
7861><I
7862>list</I
7863></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007864>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007865><TD
7866WIDTH="80%"
7867ALIGN="LEFT"
7868VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007869> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007870></TR
7871><TR
7872><TD
7873WIDTH="20%"
7874ALIGN="RIGHT"
7875VALIGN="TOP"
7876><TT
7877CLASS="PARAMETER"
7878><I
7879>max</I
7880></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007881>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007882><TD
7883WIDTH="80%"
7884ALIGN="LEFT"
7885VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007886> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007887></TR
7888><TR
7889><TD
7890WIDTH="20%"
7891ALIGN="RIGHT"
7892VALIGN="TOP"
7893><I
7894CLASS="EMPHASIS"
7895>Returns</I
7896> :</TD
7897><TD
7898WIDTH="80%"
7899ALIGN="LEFT"
7900VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007901>the number of element in the list, or -1 in case of error. If
Daniel Veillardaf43f632002-03-08 15:05:20 +00007902the function returns the value <TT
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007903CLASS="PARAMETER"
7904><I
7905>max</I
7906></TT
7907> the caller is invited to grow the
Daniel Veillardaf43f632002-03-08 15:05:20 +00007908receiving array and retry.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007909></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007910></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007911></TABLE
7912><P
7913></P
7914></DIV
7915></DIV
7916><HR><DIV
7917CLASS="REFSECT2"
7918><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007919NAME="AEN10237"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007920></A
7921><H3
7922><A
7923NAME="XMLVALIDGETPOTENTIALCHILDREN"
7924></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007925>xmlValidGetPotentialChildren ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007926><TABLE
7927BORDER="0"
7928BGCOLOR="#D6E8FF"
7929WIDTH="100%"
7930CELLPADDING="6"
7931><TR
7932><TD
7933><PRE
7934CLASS="PROGRAMLISTING"
7935>int xmlValidGetPotentialChildren (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007936HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007937>xmlElementContent</A
7938> *ctree,
7939 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007940HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007941>xmlChar</A
7942> **list,
7943 int *len,
7944 int max);</PRE
7945></TD
7946></TR
7947></TABLE
7948><P
7949>Build/extend a list of potential children allowed by the content tree</P
7950><P
7951></P
7952><DIV
7953CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007954><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007955NAME="AEN10245"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007956></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007957><P
7958></P
7959><TABLE
7960BORDER="0"
7961WIDTH="100%"
7962BGCOLOR="#FFD0D0"
7963CELLSPACING="0"
7964CELLPADDING="4"
7965CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007966><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007967><TR
7968><TD
7969WIDTH="20%"
7970ALIGN="RIGHT"
7971VALIGN="TOP"
7972><TT
7973CLASS="PARAMETER"
7974><I
7975>ctree</I
7976></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007977>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007978><TD
7979WIDTH="80%"
7980ALIGN="LEFT"
7981VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007982> an element content tree</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007983></TR
7984><TR
7985><TD
7986WIDTH="20%"
7987ALIGN="RIGHT"
7988VALIGN="TOP"
7989><TT
7990CLASS="PARAMETER"
7991><I
7992>list</I
7993></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007994>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007995><TD
7996WIDTH="80%"
7997ALIGN="LEFT"
7998VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007999> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008000></TR
8001><TR
8002><TD
8003WIDTH="20%"
8004ALIGN="RIGHT"
8005VALIGN="TOP"
8006><TT
8007CLASS="PARAMETER"
8008><I
8009>len</I
8010></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008011>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008012><TD
8013WIDTH="80%"
8014ALIGN="LEFT"
8015VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008016> a pointer to the number of element in the list</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008017></TR
8018><TR
8019><TD
8020WIDTH="20%"
8021ALIGN="RIGHT"
8022VALIGN="TOP"
8023><TT
8024CLASS="PARAMETER"
8025><I
8026>max</I
8027></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008028>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008029><TD
8030WIDTH="80%"
8031ALIGN="LEFT"
8032VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008033> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008034></TR
8035><TR
8036><TD
8037WIDTH="20%"
8038ALIGN="RIGHT"
8039VALIGN="TOP"
8040><I
8041CLASS="EMPHASIS"
8042>Returns</I
8043> :</TD
8044><TD
8045WIDTH="80%"
8046ALIGN="LEFT"
8047VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008048>the number of element in the list, or -1 in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008049></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008050></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008051></TABLE
8052><P
8053></P
8054></DIV
8055></DIV
8056></DIV
8057><DIV
8058CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00008059><BR
8060CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00008061WIDTH="100%"
8062BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008063BGCOLOR="#000000"
8064CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00008065CELLSPACING="0"
8066><TR
8067><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008068WIDTH="25%"
8069BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00008070ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00008071><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008072HREF="libxml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008073><FONT
8074COLOR="#FFFFFF"
8075SIZE="3"
8076><B
8077>&#60;&#60;&#60; Previous Page</B
8078></FONT
8079></A
Daniel Veillard35925471999-02-25 08:46:07 +00008080></TD
8081><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008082WIDTH="25%"
8083BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00008084ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00008085><FONT
8086COLOR="#FFFFFF"
8087SIZE="3"
8088><B
Daniel Veillard35925471999-02-25 08:46:07 +00008089><A
8090HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008091><FONT
8092COLOR="#FFFFFF"
8093SIZE="3"
8094><B
8095>Home</B
8096></FONT
8097></A
8098></B
8099></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00008100></TD
8101><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008102WIDTH="25%"
8103BGCOLOR="#00C000"
8104ALIGN="center"
8105><FONT
8106COLOR="#FFFFFF"
8107SIZE="3"
8108><B
8109><A
Daniel Veillard35008381999-10-25 13:15:52 +00008110HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008111><FONT
8112COLOR="#FFFFFF"
8113SIZE="3"
8114><B
8115>Up</B
8116></FONT
8117></A
8118></B
8119></FONT
8120></TD
8121><TD
8122WIDTH="25%"
8123BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00008124ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00008125><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008126HREF="libxml-uri.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008127><FONT
8128COLOR="#FFFFFF"
8129SIZE="3"
8130><B
8131>Next Page &#62;&#62;&#62;</B
8132></FONT
8133></A
Daniel Veillard35925471999-02-25 08:46:07 +00008134></TD
8135></TR
8136><TR
8137><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008138COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00008139ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00008140><FONT
8141COLOR="#FFFFFF"
8142SIZE="3"
8143><B
8144>entities</B
8145></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00008146></TD
8147><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008148COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00008149ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00008150><FONT
8151COLOR="#FFFFFF"
8152SIZE="3"
8153><B
Daniel Veillard8f621982000-03-20 13:07:15 +00008154>uri</B
Daniel Veillard14fff061999-06-22 21:49:07 +00008155></FONT
8156></TD
Daniel Veillard35925471999-02-25 08:46:07 +00008157></TR
8158></TABLE
8159></DIV
8160></BODY
8161></HTML
8162>