blob: d4db64e73c0cfda3b647d0feb7252eab0bcf5d53 [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,
Daniel Veillarda7084cd2002-04-15 17:12:47 +0000994 int max);
995int <A
996HREF="libxml-valid.html#XMLVALIDATENAMEVALUE"
997>xmlValidateNameValue</A
998> (const <A
999HREF="libxml-tree.html#XMLCHAR"
1000>xmlChar</A
1001> *value);
1002int <A
1003HREF="libxml-valid.html#XMLVALIDATENAMESVALUE"
1004>xmlValidateNamesValue</A
1005> (const <A
1006HREF="libxml-tree.html#XMLCHAR"
1007>xmlChar</A
1008> *value);
1009int <A
1010HREF="libxml-valid.html#XMLVALIDATENMTOKENVALUE"
1011>xmlValidateNmtokenValue</A
1012> (const <A
1013HREF="libxml-tree.html#XMLCHAR"
1014>xmlChar</A
1015> *value);
1016int <A
1017HREF="libxml-valid.html#XMLVALIDATENMTOKENSVALUE"
1018>xmlValidateNmtokensValue</A
1019> (const <A
1020HREF="libxml-tree.html#XMLCHAR"
1021>xmlChar</A
1022> *value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001023></TD
1024></TR
1025></TABLE
1026></DIV
1027><DIV
1028CLASS="REFSECT1"
1029><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001030NAME="AEN8613"
Daniel Veillard35925471999-02-25 08:46:07 +00001031></A
1032><H2
1033>Description</H2
1034><P
1035></P
1036></DIV
1037><DIV
1038CLASS="REFSECT1"
1039><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001040NAME="AEN8616"
Daniel Veillard35925471999-02-25 08:46:07 +00001041></A
1042><H2
1043>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001044><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001045CLASS="REFSECT2"
1046><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001047NAME="AEN8618"
Daniel Veillarda41123c2001-04-22 19:31:20 +00001048></A
1049><H3
1050><A
1051NAME="XMLVALIDSTATE"
1052></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001053>struct xmlValidState</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00001054><TABLE
1055BORDER="0"
1056BGCOLOR="#D6E8FF"
1057WIDTH="100%"
1058CELLPADDING="6"
1059><TR
1060><TD
1061><PRE
1062CLASS="PROGRAMLISTING"
1063>struct xmlValidState;</PRE
1064></TD
1065></TR
1066></TABLE
1067><P
1068></P
1069></DIV
1070><HR><DIV
1071CLASS="REFSECT2"
1072><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001073NAME="AEN8623"
Daniel Veillarda41123c2001-04-22 19:31:20 +00001074></A
1075><H3
1076><A
1077NAME="XMLVALIDSTATEPTR"
1078></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001079>xmlValidStatePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001080><TABLE
1081BORDER="0"
1082BGCOLOR="#D6E8FF"
1083WIDTH="100%"
1084CELLPADDING="6"
1085><TR
1086><TD
1087><PRE
1088CLASS="PROGRAMLISTING"
1089>typedef xmlValidState *xmlValidStatePtr;</PRE
1090></TD
1091></TR
1092></TABLE
Daniel Veillarda41123c2001-04-22 19:31:20 +00001093><P
1094></P
1095></DIV
1096><HR><DIV
1097CLASS="REFSECT2"
1098><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001099NAME="AEN8628"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001100></A
1101><H3
1102><A
1103NAME="XMLVALIDITYERRORFUNC"
1104></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001105>xmlValidityErrorFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00001106><TABLE
1107BORDER="0"
1108BGCOLOR="#D6E8FF"
1109WIDTH="100%"
1110CELLPADDING="6"
1111><TR
1112><TD
1113><PRE
1114CLASS="PROGRAMLISTING"
1115>void (*xmlValidityErrorFunc) (void *ctx,
1116 const char *msg,
1117 ...);</PRE
1118></TD
1119></TR
1120></TABLE
1121><P
Daniel Veillard19274092002-03-25 16:48:03 +00001122>Callback called when a validity error is found. This is a message
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001123oriented function similar to an *printf function.</P
1124><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001125></P
1126><DIV
1127CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001128><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001129NAME="AEN8634"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001130></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001131><P
1132></P
1133><TABLE
1134BORDER="0"
1135WIDTH="100%"
1136BGCOLOR="#FFD0D0"
1137CELLSPACING="0"
1138CELLPADDING="4"
1139CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001140><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001141><TR
1142><TD
1143WIDTH="20%"
1144ALIGN="RIGHT"
1145VALIGN="TOP"
1146><TT
1147CLASS="PARAMETER"
1148><I
1149>ctx</I
1150></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001151>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001152><TD
1153WIDTH="80%"
1154ALIGN="LEFT"
1155VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001156> an xmlValidCtxtPtr validity error context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001157></TR
1158><TR
1159><TD
1160WIDTH="20%"
1161ALIGN="RIGHT"
1162VALIGN="TOP"
1163><TT
1164CLASS="PARAMETER"
1165><I
1166>msg</I
1167></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001168>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001169><TD
1170WIDTH="80%"
1171ALIGN="LEFT"
1172VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001173> the string to format *printf like vararg</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001174></TR
1175><TR
1176><TD
1177WIDTH="20%"
1178ALIGN="RIGHT"
1179VALIGN="TOP"
1180><TT
1181CLASS="PARAMETER"
1182><I
1183>...</I
1184></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001185>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001186><TD
1187WIDTH="80%"
1188ALIGN="LEFT"
1189VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001190> remaining arguments to the format</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001191></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001192></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001193></TABLE
1194><P
1195></P
1196></DIV
1197></DIV
1198><HR><DIV
1199CLASS="REFSECT2"
1200><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001201NAME="AEN8651"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001202></A
1203><H3
1204><A
1205NAME="XMLVALIDITYWARNINGFUNC"
1206></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001207>xmlValidityWarningFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00001208><TABLE
1209BORDER="0"
1210BGCOLOR="#D6E8FF"
1211WIDTH="100%"
1212CELLPADDING="6"
1213><TR
1214><TD
1215><PRE
1216CLASS="PROGRAMLISTING"
1217>void (*xmlValidityWarningFunc) (void *ctx,
1218 const char *msg,
1219 ...);</PRE
1220></TD
1221></TR
1222></TABLE
1223><P
Daniel Veillard19274092002-03-25 16:48:03 +00001224>Callback called when a validity warning is found. This is a message
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001225oriented function similar to an *printf function.</P
1226><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001227></P
1228><DIV
1229CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001230><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001231NAME="AEN8657"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001232></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001233><P
1234></P
1235><TABLE
1236BORDER="0"
1237WIDTH="100%"
1238BGCOLOR="#FFD0D0"
1239CELLSPACING="0"
1240CELLPADDING="4"
1241CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001242><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001243><TR
1244><TD
1245WIDTH="20%"
1246ALIGN="RIGHT"
1247VALIGN="TOP"
1248><TT
1249CLASS="PARAMETER"
1250><I
1251>ctx</I
1252></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001253>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001254><TD
1255WIDTH="80%"
1256ALIGN="LEFT"
1257VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001258> an xmlValidCtxtPtr validity error context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001259></TR
1260><TR
1261><TD
1262WIDTH="20%"
1263ALIGN="RIGHT"
1264VALIGN="TOP"
1265><TT
1266CLASS="PARAMETER"
1267><I
1268>msg</I
1269></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001270>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001271><TD
1272WIDTH="80%"
1273ALIGN="LEFT"
1274VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001275> the string to format *printf like vararg</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001276></TR
1277><TR
1278><TD
1279WIDTH="20%"
1280ALIGN="RIGHT"
1281VALIGN="TOP"
1282><TT
1283CLASS="PARAMETER"
1284><I
1285>...</I
1286></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001287>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001288><TD
1289WIDTH="80%"
1290ALIGN="LEFT"
1291VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001292> remaining arguments to the format</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001293></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001294></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001295></TABLE
1296><P
1297></P
1298></DIV
1299></DIV
1300><HR><DIV
1301CLASS="REFSECT2"
1302><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001303NAME="AEN8674"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001304></A
1305><H3
1306><A
1307NAME="XMLVALIDCTXT"
1308></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001309>struct xmlValidCtxt</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001310><TABLE
1311BORDER="0"
1312BGCOLOR="#D6E8FF"
1313WIDTH="100%"
1314CELLPADDING="6"
1315><TR
1316><TD
1317><PRE
1318CLASS="PROGRAMLISTING"
1319>struct xmlValidCtxt {
1320 void *userData; /* user specific data block */
1321 xmlValidityErrorFunc error; /* the callback in case of errors */
1322 xmlValidityWarningFunc warning; /* the callback in case of warning */
1323
1324 /* Node analysis stack used when validating within entities */
1325 xmlNodePtr node; /* Current parsed Node */
1326 int nodeNr; /* Depth of the parsing stack */
1327 int nodeMax; /* Max depth of the parsing stack */
1328 xmlNodePtr *nodeTab; /* array of nodes */
1329
1330 int finishDtd; /* finished validating the Dtd ? */
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001331 xmlDocPtr doc; /* the document */
1332 int valid; /* temporary validity check result */
Daniel Veillarda41123c2001-04-22 19:31:20 +00001333
1334 /* state state used for non-determinist content validation */
1335 xmlValidState *vstate; /* current state */
1336 int vstateNr; /* Depth of the validation stack */
1337 int vstateMax; /* Max depth of the validation stack */
1338 xmlValidState *vstateTab; /* array of validation states */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001339};</PRE
1340></TD
1341></TR
1342></TABLE
1343><P
1344></P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001345><P
1346></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001347></DIV
1348><HR><DIV
1349CLASS="REFSECT2"
1350><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001351NAME="AEN8680"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001352></A
1353><H3
1354><A
1355NAME="XMLVALIDCTXTPTR"
1356></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001357>xmlValidCtxtPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001358><TABLE
1359BORDER="0"
1360BGCOLOR="#D6E8FF"
1361WIDTH="100%"
1362CELLPADDING="6"
1363><TR
1364><TD
1365><PRE
1366CLASS="PROGRAMLISTING"
1367>typedef xmlValidCtxt *xmlValidCtxtPtr;</PRE
1368></TD
1369></TR
1370></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001371><P
1372></P
1373></DIV
1374><HR><DIV
1375CLASS="REFSECT2"
1376><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001377NAME="AEN8685"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001378></A
1379><H3
1380><A
1381NAME="XMLNOTATIONTABLEPTR"
1382></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001383>xmlNotationTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001384><TABLE
1385BORDER="0"
1386BGCOLOR="#D6E8FF"
1387WIDTH="100%"
1388CELLPADDING="6"
1389><TR
1390><TD
1391><PRE
1392CLASS="PROGRAMLISTING"
1393>typedef xmlNotationTable *xmlNotationTablePtr;</PRE
1394></TD
1395></TR
1396></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001397><P
1398></P
1399></DIV
1400><HR><DIV
1401CLASS="REFSECT2"
1402><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001403NAME="AEN8690"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001404></A
1405><H3
1406><A
1407NAME="XMLELEMENTTABLEPTR"
1408></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001409>xmlElementTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001410><TABLE
1411BORDER="0"
1412BGCOLOR="#D6E8FF"
1413WIDTH="100%"
1414CELLPADDING="6"
1415><TR
1416><TD
1417><PRE
1418CLASS="PROGRAMLISTING"
1419>typedef xmlElementTable *xmlElementTablePtr;</PRE
1420></TD
1421></TR
1422></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001423><P
1424></P
1425></DIV
1426><HR><DIV
1427CLASS="REFSECT2"
1428><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001429NAME="AEN8695"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001430></A
1431><H3
1432><A
1433NAME="XMLATTRIBUTETABLEPTR"
1434></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001435>xmlAttributeTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001436><TABLE
1437BORDER="0"
1438BGCOLOR="#D6E8FF"
1439WIDTH="100%"
1440CELLPADDING="6"
1441><TR
1442><TD
1443><PRE
1444CLASS="PROGRAMLISTING"
1445>typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE
1446></TD
1447></TR
1448></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001449><P
1450></P
1451></DIV
1452><HR><DIV
1453CLASS="REFSECT2"
1454><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001455NAME="AEN8700"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001456></A
1457><H3
1458><A
1459NAME="XMLIDTABLEPTR"
1460></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001461>xmlIDTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001462><TABLE
1463BORDER="0"
1464BGCOLOR="#D6E8FF"
1465WIDTH="100%"
1466CELLPADDING="6"
1467><TR
1468><TD
1469><PRE
1470CLASS="PROGRAMLISTING"
1471>typedef xmlIDTable *xmlIDTablePtr;</PRE
1472></TD
1473></TR
1474></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001475><P
1476></P
1477></DIV
1478><HR><DIV
1479CLASS="REFSECT2"
1480><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001481NAME="AEN8705"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001482></A
1483><H3
1484><A
1485NAME="XMLREFTABLEPTR"
1486></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001487>xmlRefTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001488><TABLE
1489BORDER="0"
1490BGCOLOR="#D6E8FF"
1491WIDTH="100%"
1492CELLPADDING="6"
1493><TR
1494><TD
1495><PRE
1496CLASS="PROGRAMLISTING"
1497>typedef xmlRefTable *xmlRefTablePtr;</PRE
1498></TD
1499></TR
1500></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001501><P
1502></P
1503></DIV
1504><HR><DIV
1505CLASS="REFSECT2"
1506><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001507NAME="AEN8710"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001508></A
1509><H3
1510><A
1511NAME="XMLSPLITQNAME2"
1512></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001513>xmlSplitQName2 ()</H3
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001514><TABLE
1515BORDER="0"
1516BGCOLOR="#D6E8FF"
1517WIDTH="100%"
1518CELLPADDING="6"
1519><TR
1520><TD
1521><PRE
1522CLASS="PROGRAMLISTING"
1523><A
1524HREF="libxml-tree.html#XMLCHAR"
1525>xmlChar</A
1526>* xmlSplitQName2 (const <A
1527HREF="libxml-tree.html#XMLCHAR"
1528>xmlChar</A
1529> *name,
1530 <A
1531HREF="libxml-tree.html#XMLCHAR"
1532>xmlChar</A
1533> **prefix);</PRE
1534></TD
1535></TR
1536></TABLE
1537><P
1538>parse an XML qualified name string</P
1539><P
1540>[NS 5] QName ::= (Prefix ':')? LocalPart</P
1541><P
1542>[NS 6] Prefix ::= NCName</P
1543><P
1544>[NS 7] LocalPart ::= NCName</P
1545><P
1546></P
1547><DIV
1548CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001549><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001550NAME="AEN8722"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001551></A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001552><P
1553></P
1554><TABLE
1555BORDER="0"
1556WIDTH="100%"
1557BGCOLOR="#FFD0D0"
1558CELLSPACING="0"
1559CELLPADDING="4"
1560CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001561><TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001562><TR
1563><TD
1564WIDTH="20%"
1565ALIGN="RIGHT"
1566VALIGN="TOP"
1567><TT
1568CLASS="PARAMETER"
1569><I
1570>name</I
1571></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001572>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001573><TD
1574WIDTH="80%"
1575ALIGN="LEFT"
1576VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001577> an XML parser context</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001578></TR
1579><TR
1580><TD
1581WIDTH="20%"
1582ALIGN="RIGHT"
1583VALIGN="TOP"
1584><TT
1585CLASS="PARAMETER"
1586><I
1587>prefix</I
1588></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001589>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001590><TD
1591WIDTH="80%"
1592ALIGN="LEFT"
1593VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001594> a xmlChar ** </TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001595></TR
1596><TR
1597><TD
1598WIDTH="20%"
1599ALIGN="RIGHT"
1600VALIGN="TOP"
1601><I
1602CLASS="EMPHASIS"
1603>Returns</I
1604> :</TD
1605><TD
1606WIDTH="80%"
1607ALIGN="LEFT"
1608VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001609>NULL if not a QName, otherwise the local part, and prefix
Daniel Veillardaf43f632002-03-08 15:05:20 +00001610is updated to get the Prefix if any.</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001611></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001612></TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001613></TABLE
1614><P
1615></P
1616></DIV
1617></DIV
1618><HR><DIV
1619CLASS="REFSECT2"
1620><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001621NAME="AEN8739"
Daniel Veillard35925471999-02-25 08:46:07 +00001622></A
1623><H3
1624><A
1625NAME="XMLADDNOTATIONDECL"
1626></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001627>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001628><TABLE
1629BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001630BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001631WIDTH="100%"
1632CELLPADDING="6"
1633><TR
1634><TD
1635><PRE
1636CLASS="PROGRAMLISTING"
1637><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001638HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001639>xmlNotationPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001640> xmlAddNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001641HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001642>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001643> ctxt,
1644 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001645HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001646>xmlDtdPtr</A
1647> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001648 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001649HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001650>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001651> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001652 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001653HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001654>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001655> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001656 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001657HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001658>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001659> *SystemID);</PRE
1660></TD
1661></TR
1662></TABLE
1663><P
1664>Register a new notation declaration</P
1665><P
1666></P
1667><DIV
1668CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001669><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001670NAME="AEN8751"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001671></A
Daniel Veillard35925471999-02-25 08:46:07 +00001672><P
1673></P
1674><TABLE
1675BORDER="0"
1676WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001677BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001678CELLSPACING="0"
1679CELLPADDING="4"
1680CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001681><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001682><TR
1683><TD
1684WIDTH="20%"
1685ALIGN="RIGHT"
1686VALIGN="TOP"
1687><TT
1688CLASS="PARAMETER"
1689><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001690>ctxt</I
1691></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001692>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001693><TD
1694WIDTH="80%"
1695ALIGN="LEFT"
1696VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001697> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001698></TR
1699><TR
1700><TD
1701WIDTH="20%"
1702ALIGN="RIGHT"
1703VALIGN="TOP"
1704><TT
1705CLASS="PARAMETER"
1706><I
Daniel Veillard35925471999-02-25 08:46:07 +00001707>dtd</I
1708></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001709>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001710><TD
1711WIDTH="80%"
1712ALIGN="LEFT"
1713VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001714> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001715></TR
1716><TR
1717><TD
1718WIDTH="20%"
1719ALIGN="RIGHT"
1720VALIGN="TOP"
1721><TT
1722CLASS="PARAMETER"
1723><I
1724>name</I
1725></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001726>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001727><TD
1728WIDTH="80%"
1729ALIGN="LEFT"
1730VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001731> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001732></TR
1733><TR
1734><TD
1735WIDTH="20%"
1736ALIGN="RIGHT"
1737VALIGN="TOP"
1738><TT
1739CLASS="PARAMETER"
1740><I
1741>PublicID</I
1742></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001743>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001744><TD
1745WIDTH="80%"
1746ALIGN="LEFT"
1747VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001748> the public identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001749></TR
1750><TR
1751><TD
1752WIDTH="20%"
1753ALIGN="RIGHT"
1754VALIGN="TOP"
1755><TT
1756CLASS="PARAMETER"
1757><I
1758>SystemID</I
1759></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001760>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001761><TD
1762WIDTH="80%"
1763ALIGN="LEFT"
1764VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001765> the system identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001766></TR
1767><TR
1768><TD
1769WIDTH="20%"
1770ALIGN="RIGHT"
1771VALIGN="TOP"
1772><I
1773CLASS="EMPHASIS"
1774>Returns</I
1775> :</TD
1776><TD
1777WIDTH="80%"
1778ALIGN="LEFT"
1779VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001780>NULL if not, otherwise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001781></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001782></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001783></TABLE
1784><P
1785></P
1786></DIV
1787></DIV
1788><HR><DIV
1789CLASS="REFSECT2"
1790><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001791NAME="AEN8780"
Daniel Veillard35925471999-02-25 08:46:07 +00001792></A
1793><H3
1794><A
1795NAME="XMLCOPYNOTATIONTABLE"
1796></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001797>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001798><TABLE
1799BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001800BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001801WIDTH="100%"
1802CELLPADDING="6"
1803><TR
1804><TD
1805><PRE
1806CLASS="PROGRAMLISTING"
1807><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001808HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001809>xmlNotationTablePtr</A
1810> xmlCopyNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001811HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001812>xmlNotationTablePtr</A
1813> table);</PRE
1814></TD
1815></TR
1816></TABLE
1817><P
1818>Build a copy of a notation table.</P
1819><P
1820></P
1821><DIV
1822CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001823><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001824NAME="AEN8788"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001825></A
Daniel Veillard35925471999-02-25 08:46:07 +00001826><P
1827></P
1828><TABLE
1829BORDER="0"
1830WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001831BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001832CELLSPACING="0"
1833CELLPADDING="4"
1834CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001835><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001836><TR
1837><TD
1838WIDTH="20%"
1839ALIGN="RIGHT"
1840VALIGN="TOP"
1841><TT
1842CLASS="PARAMETER"
1843><I
1844>table</I
1845></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001846>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001847><TD
1848WIDTH="80%"
1849ALIGN="LEFT"
1850VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001851> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001852></TR
1853><TR
1854><TD
1855WIDTH="20%"
1856ALIGN="RIGHT"
1857VALIGN="TOP"
1858><I
1859CLASS="EMPHASIS"
1860>Returns</I
1861> :</TD
1862><TD
1863WIDTH="80%"
1864ALIGN="LEFT"
1865VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001866>the new xmlNotationTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001867></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001868></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001869></TABLE
1870><P
1871></P
1872></DIV
1873></DIV
1874><HR><DIV
1875CLASS="REFSECT2"
1876><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001877NAME="AEN8801"
Daniel Veillard35925471999-02-25 08:46:07 +00001878></A
1879><H3
1880><A
1881NAME="XMLFREENOTATIONTABLE"
1882></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001883>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001884><TABLE
1885BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001886BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001887WIDTH="100%"
1888CELLPADDING="6"
1889><TR
1890><TD
1891><PRE
1892CLASS="PROGRAMLISTING"
1893>void xmlFreeNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001894HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001895>xmlNotationTablePtr</A
1896> table);</PRE
1897></TD
1898></TR
1899></TABLE
1900><P
1901>Deallocate the memory used by an entities hash table.</P
1902><P
1903></P
1904><DIV
1905CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001906><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001907NAME="AEN8808"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001908></A
Daniel Veillard35925471999-02-25 08:46:07 +00001909><P
1910></P
1911><TABLE
1912BORDER="0"
1913WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001914BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001915CELLSPACING="0"
1916CELLPADDING="4"
1917CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001918><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001919><TR
1920><TD
1921WIDTH="20%"
1922ALIGN="RIGHT"
1923VALIGN="TOP"
1924><TT
1925CLASS="PARAMETER"
1926><I
1927>table</I
1928></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001929>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001930><TD
1931WIDTH="80%"
1932ALIGN="LEFT"
1933VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001934> An notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001935></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001936></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001937></TABLE
1938><P
1939></P
1940></DIV
1941></DIV
1942><HR><DIV
1943CLASS="REFSECT2"
1944><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001945NAME="AEN8817"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001946></A
1947><H3
1948><A
1949NAME="XMLDUMPNOTATIONDECL"
1950></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001951>xmlDumpNotationDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001952><TABLE
1953BORDER="0"
1954BGCOLOR="#D6E8FF"
1955WIDTH="100%"
1956CELLPADDING="6"
1957><TR
1958><TD
1959><PRE
1960CLASS="PROGRAMLISTING"
1961>void xmlDumpNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001962HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001963>xmlBufferPtr</A
1964> buf,
1965 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001966HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001967>xmlNotationPtr</A
1968> nota);</PRE
1969></TD
1970></TR
1971></TABLE
1972><P
1973>This will dump the content the notation declaration as an XML DTD definition</P
1974><P
1975></P
1976><DIV
1977CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001978><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001979NAME="AEN8825"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001980></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001981><P
1982></P
1983><TABLE
1984BORDER="0"
1985WIDTH="100%"
1986BGCOLOR="#FFD0D0"
1987CELLSPACING="0"
1988CELLPADDING="4"
1989CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001990><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001991><TR
1992><TD
1993WIDTH="20%"
1994ALIGN="RIGHT"
1995VALIGN="TOP"
1996><TT
1997CLASS="PARAMETER"
1998><I
1999>buf</I
2000></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002001>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002002><TD
2003WIDTH="80%"
2004ALIGN="LEFT"
2005VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002006> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002007></TR
2008><TR
2009><TD
2010WIDTH="20%"
2011ALIGN="RIGHT"
2012VALIGN="TOP"
2013><TT
2014CLASS="PARAMETER"
2015><I
2016>nota</I
2017></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002018>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002019><TD
2020WIDTH="80%"
2021ALIGN="LEFT"
2022VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002023> A notation declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002024></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002025></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002026></TABLE
2027><P
2028></P
2029></DIV
2030></DIV
2031><HR><DIV
2032CLASS="REFSECT2"
2033><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002034NAME="AEN8838"
Daniel Veillard35925471999-02-25 08:46:07 +00002035></A
2036><H3
2037><A
2038NAME="XMLDUMPNOTATIONTABLE"
2039></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002040>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002041><TABLE
2042BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002043BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002044WIDTH="100%"
2045CELLPADDING="6"
2046><TR
2047><TD
2048><PRE
2049CLASS="PROGRAMLISTING"
2050>void xmlDumpNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002051HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002052>xmlBufferPtr</A
2053> buf,
2054 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002055HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002056>xmlNotationTablePtr</A
2057> table);</PRE
2058></TD
2059></TR
2060></TABLE
2061><P
2062>This will dump the content of the notation table as an XML DTD definition</P
2063><P
Daniel Veillard35925471999-02-25 08:46:07 +00002064></P
2065><DIV
2066CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002067><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002068NAME="AEN8846"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002069></A
Daniel Veillard35925471999-02-25 08:46:07 +00002070><P
2071></P
2072><TABLE
2073BORDER="0"
2074WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002075BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002076CELLSPACING="0"
2077CELLPADDING="4"
2078CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002079><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002080><TR
2081><TD
2082WIDTH="20%"
2083ALIGN="RIGHT"
2084VALIGN="TOP"
2085><TT
2086CLASS="PARAMETER"
2087><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002088>buf</I
2089></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002090>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002091><TD
2092WIDTH="80%"
2093ALIGN="LEFT"
2094VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002095> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002096></TR
2097><TR
2098><TD
2099WIDTH="20%"
2100ALIGN="RIGHT"
2101VALIGN="TOP"
2102><TT
2103CLASS="PARAMETER"
2104><I
Daniel Veillard35925471999-02-25 08:46:07 +00002105>table</I
2106></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002107>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002108><TD
2109WIDTH="80%"
2110ALIGN="LEFT"
2111VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002112> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002113></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002114></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002115></TABLE
2116><P
2117></P
2118></DIV
2119></DIV
2120><HR><DIV
2121CLASS="REFSECT2"
2122><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002123NAME="AEN8859"
Daniel Veillard35925471999-02-25 08:46:07 +00002124></A
2125><H3
2126><A
2127NAME="XMLNEWELEMENTCONTENT"
2128></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002129>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002130><TABLE
2131BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002132BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002133WIDTH="100%"
2134CELLPADDING="6"
2135><TR
2136><TD
2137><PRE
2138CLASS="PROGRAMLISTING"
2139><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002140HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002141>xmlElementContentPtr</A
2142> xmlNewElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002143HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002144>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002145> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002146 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002147HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002148>xmlElementContentType</A
2149> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00002150></TD
2151></TR
2152></TABLE
2153><P
2154>Allocate an element content structure.</P
2155><P
2156></P
2157><DIV
2158CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002159><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002160NAME="AEN8868"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002161></A
Daniel Veillard35925471999-02-25 08:46:07 +00002162><P
2163></P
2164><TABLE
2165BORDER="0"
2166WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002167BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002168CELLSPACING="0"
2169CELLPADDING="4"
2170CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002171><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002172><TR
2173><TD
2174WIDTH="20%"
2175ALIGN="RIGHT"
2176VALIGN="TOP"
2177><TT
2178CLASS="PARAMETER"
2179><I
2180>name</I
2181></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002182>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002183><TD
2184WIDTH="80%"
2185ALIGN="LEFT"
2186VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002187> the subelement name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002188></TR
2189><TR
2190><TD
2191WIDTH="20%"
2192ALIGN="RIGHT"
2193VALIGN="TOP"
2194><TT
2195CLASS="PARAMETER"
2196><I
2197>type</I
2198></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002199>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002200><TD
2201WIDTH="80%"
2202ALIGN="LEFT"
2203VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002204> the type of element content decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002205></TR
2206><TR
2207><TD
2208WIDTH="20%"
2209ALIGN="RIGHT"
2210VALIGN="TOP"
2211><I
2212CLASS="EMPHASIS"
2213>Returns</I
2214> :</TD
2215><TD
2216WIDTH="80%"
2217ALIGN="LEFT"
2218VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002219>NULL if not, otherwise the new element content structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002220></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002221></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002222></TABLE
2223><P
2224></P
2225></DIV
2226></DIV
2227><HR><DIV
2228CLASS="REFSECT2"
2229><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002230NAME="AEN8885"
Daniel Veillard35925471999-02-25 08:46:07 +00002231></A
2232><H3
2233><A
2234NAME="XMLCOPYELEMENTCONTENT"
2235></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002236>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002237><TABLE
2238BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002239BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002240WIDTH="100%"
2241CELLPADDING="6"
2242><TR
2243><TD
2244><PRE
2245CLASS="PROGRAMLISTING"
2246><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002247HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002248>xmlElementContentPtr</A
2249> xmlCopyElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002250HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002251>xmlElementContentPtr</A
2252> content);</PRE
2253></TD
2254></TR
2255></TABLE
2256><P
2257>Build a copy of an element content description.</P
2258><P
2259></P
2260><DIV
2261CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002262><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002263NAME="AEN8893"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002264></A
Daniel Veillard35925471999-02-25 08:46:07 +00002265><P
2266></P
2267><TABLE
2268BORDER="0"
2269WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002270BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002271CELLSPACING="0"
2272CELLPADDING="4"
2273CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002274><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002275><TR
2276><TD
2277WIDTH="20%"
2278ALIGN="RIGHT"
2279VALIGN="TOP"
2280><TT
2281CLASS="PARAMETER"
2282><I
2283>content</I
2284></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002285>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002286><TD
2287WIDTH="80%"
2288ALIGN="LEFT"
2289VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002290> An element content pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002291></TR
2292><TR
2293><TD
2294WIDTH="20%"
2295ALIGN="RIGHT"
2296VALIGN="TOP"
2297><I
2298CLASS="EMPHASIS"
2299>Returns</I
2300> :</TD
2301><TD
2302WIDTH="80%"
2303ALIGN="LEFT"
2304VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002305>the new xmlElementContentPtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002306></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002307></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002308></TABLE
2309><P
2310></P
2311></DIV
2312></DIV
2313><HR><DIV
2314CLASS="REFSECT2"
2315><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002316NAME="AEN8906"
Daniel Veillard35925471999-02-25 08:46:07 +00002317></A
2318><H3
2319><A
2320NAME="XMLFREEELEMENTCONTENT"
2321></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002322>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002323><TABLE
2324BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002325BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002326WIDTH="100%"
2327CELLPADDING="6"
2328><TR
2329><TD
2330><PRE
2331CLASS="PROGRAMLISTING"
2332>void xmlFreeElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002333HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002334>xmlElementContentPtr</A
2335> cur);</PRE
2336></TD
2337></TR
2338></TABLE
2339><P
2340>Free an element content structure. This is a recursive call !</P
2341><P
2342></P
2343><DIV
2344CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002345><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002346NAME="AEN8913"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002347></A
Daniel Veillard35925471999-02-25 08:46:07 +00002348><P
2349></P
2350><TABLE
2351BORDER="0"
2352WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002353BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002354CELLSPACING="0"
2355CELLPADDING="4"
2356CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002357><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002358><TR
2359><TD
2360WIDTH="20%"
2361ALIGN="RIGHT"
2362VALIGN="TOP"
2363><TT
2364CLASS="PARAMETER"
2365><I
2366>cur</I
2367></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002368>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002369><TD
2370WIDTH="80%"
2371ALIGN="LEFT"
2372VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002373> the element content tree to free</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002374></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002375></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002376></TABLE
2377><P
2378></P
2379></DIV
2380></DIV
2381><HR><DIV
2382CLASS="REFSECT2"
2383><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002384NAME="AEN8922"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002385></A
2386><H3
2387><A
2388NAME="XMLSNPRINTFELEMENTCONTENT"
2389></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002390>xmlSnprintfElementContent ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002391><TABLE
2392BORDER="0"
2393BGCOLOR="#D6E8FF"
2394WIDTH="100%"
2395CELLPADDING="6"
2396><TR
2397><TD
2398><PRE
2399CLASS="PROGRAMLISTING"
2400>void xmlSnprintfElementContent (char *buf,
2401 int size,
2402 <A
2403HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
2404>xmlElementContentPtr</A
2405> content,
2406 int glob);</PRE
2407></TD
2408></TR
2409></TABLE
2410><P
2411>This will dump the content of the element content definition
2412Intended just for the debug routine</P
2413><P
2414></P
2415><DIV
2416CLASS="INFORMALTABLE"
2417><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002418NAME="AEN8929"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002419></A
2420><P
2421></P
2422><TABLE
2423BORDER="0"
2424WIDTH="100%"
2425BGCOLOR="#FFD0D0"
2426CELLSPACING="0"
2427CELLPADDING="4"
2428CLASS="CALSTABLE"
2429><TBODY
2430><TR
2431><TD
2432WIDTH="20%"
2433ALIGN="RIGHT"
2434VALIGN="TOP"
2435><TT
2436CLASS="PARAMETER"
2437><I
2438>buf</I
2439></TT
2440>&nbsp;:</TD
2441><TD
2442WIDTH="80%"
2443ALIGN="LEFT"
2444VALIGN="TOP"
2445> an output buffer</TD
2446></TR
2447><TR
2448><TD
2449WIDTH="20%"
2450ALIGN="RIGHT"
2451VALIGN="TOP"
2452><TT
2453CLASS="PARAMETER"
2454><I
2455>size</I
2456></TT
2457>&nbsp;:</TD
2458><TD
2459WIDTH="80%"
2460ALIGN="LEFT"
2461VALIGN="TOP"
2462> the buffer size</TD
2463></TR
2464><TR
2465><TD
2466WIDTH="20%"
2467ALIGN="RIGHT"
2468VALIGN="TOP"
2469><TT
2470CLASS="PARAMETER"
2471><I
2472>content</I
2473></TT
2474>&nbsp;:</TD
2475><TD
2476WIDTH="80%"
2477ALIGN="LEFT"
2478VALIGN="TOP"
2479> An element table</TD
2480></TR
2481><TR
2482><TD
2483WIDTH="20%"
2484ALIGN="RIGHT"
2485VALIGN="TOP"
2486><TT
2487CLASS="PARAMETER"
2488><I
2489>glob</I
2490></TT
2491>&nbsp;:</TD
2492><TD
2493WIDTH="80%"
2494ALIGN="LEFT"
2495VALIGN="TOP"
2496> 1 if one must print the englobing parenthesis, 0 otherwise</TD
2497></TR
2498></TBODY
2499></TABLE
2500><P
2501></P
2502></DIV
2503></DIV
2504><HR><DIV
2505CLASS="REFSECT2"
2506><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002507NAME="AEN8950"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002508></A
2509><H3
2510><A
2511NAME="XMLSPRINTFELEMENTCONTENT"
2512></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002513>xmlSprintfElementContent ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002514><TABLE
2515BORDER="0"
2516BGCOLOR="#D6E8FF"
2517WIDTH="100%"
2518CELLPADDING="6"
2519><TR
2520><TD
2521><PRE
2522CLASS="PROGRAMLISTING"
2523>void xmlSprintfElementContent (char *buf,
2524 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002525HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002526>xmlElementContentPtr</A
2527> content,
2528 int glob);</PRE
2529></TD
2530></TR
2531></TABLE
2532><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002533>Deprecated, unsafe, use xmlSnprintfElementContent</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002534><P
2535></P
2536><DIV
2537CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002538><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002539NAME="AEN8957"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002540></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002541><P
2542></P
2543><TABLE
2544BORDER="0"
2545WIDTH="100%"
2546BGCOLOR="#FFD0D0"
2547CELLSPACING="0"
2548CELLPADDING="4"
2549CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002550><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002551><TR
2552><TD
2553WIDTH="20%"
2554ALIGN="RIGHT"
2555VALIGN="TOP"
2556><TT
2557CLASS="PARAMETER"
2558><I
2559>buf</I
2560></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002561>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002562><TD
2563WIDTH="80%"
2564ALIGN="LEFT"
2565VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002566> an output buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002567></TR
2568><TR
2569><TD
2570WIDTH="20%"
2571ALIGN="RIGHT"
2572VALIGN="TOP"
2573><TT
2574CLASS="PARAMETER"
2575><I
2576>content</I
2577></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002578>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002579><TD
2580WIDTH="80%"
2581ALIGN="LEFT"
2582VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002583> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002584></TR
2585><TR
2586><TD
2587WIDTH="20%"
2588ALIGN="RIGHT"
2589VALIGN="TOP"
2590><TT
2591CLASS="PARAMETER"
2592><I
2593>glob</I
2594></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002595>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002596><TD
2597WIDTH="80%"
2598ALIGN="LEFT"
2599VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002600> 1 if one must print the englobing parenthesis, 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002601></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002602></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002603></TABLE
2604><P
2605></P
2606></DIV
2607></DIV
2608><HR><DIV
2609CLASS="REFSECT2"
2610><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002611NAME="AEN8974"
Daniel Veillard35925471999-02-25 08:46:07 +00002612></A
2613><H3
2614><A
2615NAME="XMLADDELEMENTDECL"
2616></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002617>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002618><TABLE
2619BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002620BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002621WIDTH="100%"
2622CELLPADDING="6"
2623><TR
2624><TD
2625><PRE
2626CLASS="PROGRAMLISTING"
2627><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002628HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002629>xmlElementPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002630> xmlAddElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002631HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002632>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002633> ctxt,
2634 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002635HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002636>xmlDtdPtr</A
2637> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002638 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002639HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002640>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002641> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002642 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002643HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard4c3a2031999-11-19 17:46:26 +00002644>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002645> type,
Daniel Veillard35925471999-02-25 08:46:07 +00002646 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002647HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002648>xmlElementContentPtr</A
2649> content);</PRE
2650></TD
2651></TR
2652></TABLE
2653><P
2654>Register a new element declaration</P
2655><P
2656></P
2657><DIV
2658CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002659><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002660NAME="AEN8986"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002661></A
Daniel Veillard35925471999-02-25 08:46:07 +00002662><P
2663></P
2664><TABLE
2665BORDER="0"
2666WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002667BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002668CELLSPACING="0"
2669CELLPADDING="4"
2670CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002671><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002672><TR
2673><TD
2674WIDTH="20%"
2675ALIGN="RIGHT"
2676VALIGN="TOP"
2677><TT
2678CLASS="PARAMETER"
2679><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002680>ctxt</I
2681></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002682>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002683><TD
2684WIDTH="80%"
2685ALIGN="LEFT"
2686VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002687> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002688></TR
2689><TR
2690><TD
2691WIDTH="20%"
2692ALIGN="RIGHT"
2693VALIGN="TOP"
2694><TT
2695CLASS="PARAMETER"
2696><I
Daniel Veillard35925471999-02-25 08:46:07 +00002697>dtd</I
2698></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002699>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002700><TD
2701WIDTH="80%"
2702ALIGN="LEFT"
2703VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002704> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002705></TR
2706><TR
2707><TD
2708WIDTH="20%"
2709ALIGN="RIGHT"
2710VALIGN="TOP"
2711><TT
2712CLASS="PARAMETER"
2713><I
2714>name</I
2715></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002716>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002717><TD
2718WIDTH="80%"
2719ALIGN="LEFT"
2720VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002721> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002722></TR
2723><TR
2724><TD
2725WIDTH="20%"
2726ALIGN="RIGHT"
2727VALIGN="TOP"
2728><TT
2729CLASS="PARAMETER"
2730><I
2731>type</I
2732></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002733>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002734><TD
2735WIDTH="80%"
2736ALIGN="LEFT"
2737VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002738> the element type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002739></TR
2740><TR
2741><TD
2742WIDTH="20%"
2743ALIGN="RIGHT"
2744VALIGN="TOP"
2745><TT
2746CLASS="PARAMETER"
2747><I
2748>content</I
2749></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002750>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002751><TD
2752WIDTH="80%"
2753ALIGN="LEFT"
2754VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002755> the element content tree or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002756></TR
2757><TR
2758><TD
2759WIDTH="20%"
2760ALIGN="RIGHT"
2761VALIGN="TOP"
2762><I
2763CLASS="EMPHASIS"
2764>Returns</I
2765> :</TD
2766><TD
2767WIDTH="80%"
2768ALIGN="LEFT"
2769VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002770>NULL if not, otherwise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002771></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002772></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002773></TABLE
2774><P
2775></P
2776></DIV
2777></DIV
2778><HR><DIV
2779CLASS="REFSECT2"
2780><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002781NAME="AEN9015"
Daniel Veillard35925471999-02-25 08:46:07 +00002782></A
2783><H3
2784><A
2785NAME="XMLCOPYELEMENTTABLE"
2786></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002787>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002788><TABLE
2789BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002790BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002791WIDTH="100%"
2792CELLPADDING="6"
2793><TR
2794><TD
2795><PRE
2796CLASS="PROGRAMLISTING"
2797><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002798HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002799>xmlElementTablePtr</A
2800> xmlCopyElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002801HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002802>xmlElementTablePtr</A
2803> table);</PRE
2804></TD
2805></TR
2806></TABLE
2807><P
2808>Build a copy of an element table.</P
2809><P
2810></P
2811><DIV
2812CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002813><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002814NAME="AEN9023"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002815></A
Daniel Veillard35925471999-02-25 08:46:07 +00002816><P
2817></P
2818><TABLE
2819BORDER="0"
2820WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002821BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002822CELLSPACING="0"
2823CELLPADDING="4"
2824CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002825><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002826><TR
2827><TD
2828WIDTH="20%"
2829ALIGN="RIGHT"
2830VALIGN="TOP"
2831><TT
2832CLASS="PARAMETER"
2833><I
2834>table</I
2835></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002836>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002837><TD
2838WIDTH="80%"
2839ALIGN="LEFT"
2840VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002841> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002842></TR
2843><TR
2844><TD
2845WIDTH="20%"
2846ALIGN="RIGHT"
2847VALIGN="TOP"
2848><I
2849CLASS="EMPHASIS"
2850>Returns</I
2851> :</TD
2852><TD
2853WIDTH="80%"
2854ALIGN="LEFT"
2855VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002856>the new xmlElementTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002857></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002858></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002859></TABLE
2860><P
2861></P
2862></DIV
2863></DIV
2864><HR><DIV
2865CLASS="REFSECT2"
2866><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002867NAME="AEN9036"
Daniel Veillard35925471999-02-25 08:46:07 +00002868></A
2869><H3
2870><A
2871NAME="XMLFREEELEMENTTABLE"
2872></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002873>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002874><TABLE
2875BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002876BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002877WIDTH="100%"
2878CELLPADDING="6"
2879><TR
2880><TD
2881><PRE
2882CLASS="PROGRAMLISTING"
2883>void xmlFreeElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002884HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002885>xmlElementTablePtr</A
2886> table);</PRE
2887></TD
2888></TR
2889></TABLE
2890><P
2891>Deallocate the memory used by an element hash table.</P
2892><P
2893></P
2894><DIV
2895CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002896><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002897NAME="AEN9043"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002898></A
Daniel Veillard35925471999-02-25 08:46:07 +00002899><P
2900></P
2901><TABLE
2902BORDER="0"
2903WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002904BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002905CELLSPACING="0"
2906CELLPADDING="4"
2907CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002908><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002909><TR
2910><TD
2911WIDTH="20%"
2912ALIGN="RIGHT"
2913VALIGN="TOP"
2914><TT
2915CLASS="PARAMETER"
2916><I
2917>table</I
2918></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002919>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002920><TD
2921WIDTH="80%"
2922ALIGN="LEFT"
2923VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002924> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002925></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002926></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002927></TABLE
2928><P
2929></P
2930></DIV
2931></DIV
2932><HR><DIV
2933CLASS="REFSECT2"
2934><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002935NAME="AEN9052"
Daniel Veillard35925471999-02-25 08:46:07 +00002936></A
2937><H3
2938><A
2939NAME="XMLDUMPELEMENTTABLE"
2940></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002941>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002942><TABLE
2943BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002944BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002945WIDTH="100%"
2946CELLPADDING="6"
2947><TR
2948><TD
2949><PRE
2950CLASS="PROGRAMLISTING"
2951>void xmlDumpElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002952HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002953>xmlBufferPtr</A
2954> buf,
2955 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002956HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002957>xmlElementTablePtr</A
2958> table);</PRE
2959></TD
2960></TR
2961></TABLE
2962><P
2963>This will dump the content of the element table as an XML DTD definition</P
2964><P
Daniel Veillard35925471999-02-25 08:46:07 +00002965></P
2966><DIV
2967CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002968><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002969NAME="AEN9060"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002970></A
Daniel Veillard35925471999-02-25 08:46:07 +00002971><P
2972></P
2973><TABLE
2974BORDER="0"
2975WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002976BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002977CELLSPACING="0"
2978CELLPADDING="4"
2979CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002980><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002981><TR
2982><TD
2983WIDTH="20%"
2984ALIGN="RIGHT"
2985VALIGN="TOP"
2986><TT
2987CLASS="PARAMETER"
2988><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002989>buf</I
2990></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002991>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002992><TD
2993WIDTH="80%"
2994ALIGN="LEFT"
2995VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002996> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002997></TR
2998><TR
2999><TD
3000WIDTH="20%"
3001ALIGN="RIGHT"
3002VALIGN="TOP"
3003><TT
3004CLASS="PARAMETER"
3005><I
Daniel Veillard35925471999-02-25 08:46:07 +00003006>table</I
3007></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003008>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003009><TD
3010WIDTH="80%"
3011ALIGN="LEFT"
3012VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003013> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003014></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003015></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003016></TABLE
3017><P
3018></P
3019></DIV
3020></DIV
3021><HR><DIV
3022CLASS="REFSECT2"
3023><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003024NAME="AEN9073"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003025></A
3026><H3
3027><A
3028NAME="XMLDUMPELEMENTDECL"
3029></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003030>xmlDumpElementDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003031><TABLE
3032BORDER="0"
3033BGCOLOR="#D6E8FF"
3034WIDTH="100%"
3035CELLPADDING="6"
3036><TR
3037><TD
3038><PRE
3039CLASS="PROGRAMLISTING"
3040>void xmlDumpElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003041HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003042>xmlBufferPtr</A
3043> buf,
3044 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003045HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003046>xmlElementPtr</A
3047> elem);</PRE
3048></TD
3049></TR
3050></TABLE
3051><P
3052>This will dump the content of the element declaration as an XML
3053DTD definition</P
3054><P
3055></P
3056><DIV
3057CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003058><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003059NAME="AEN9081"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003060></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003061><P
3062></P
3063><TABLE
3064BORDER="0"
3065WIDTH="100%"
3066BGCOLOR="#FFD0D0"
3067CELLSPACING="0"
3068CELLPADDING="4"
3069CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003070><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003071><TR
3072><TD
3073WIDTH="20%"
3074ALIGN="RIGHT"
3075VALIGN="TOP"
3076><TT
3077CLASS="PARAMETER"
3078><I
3079>buf</I
3080></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003081>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003082><TD
3083WIDTH="80%"
3084ALIGN="LEFT"
3085VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003086> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003087></TR
3088><TR
3089><TD
3090WIDTH="20%"
3091ALIGN="RIGHT"
3092VALIGN="TOP"
3093><TT
3094CLASS="PARAMETER"
3095><I
3096>elem</I
3097></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003098>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003099><TD
3100WIDTH="80%"
3101ALIGN="LEFT"
3102VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003103> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003104></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003105></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003106></TABLE
3107><P
3108></P
3109></DIV
3110></DIV
3111><HR><DIV
3112CLASS="REFSECT2"
3113><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003114NAME="AEN9094"
Daniel Veillard35925471999-02-25 08:46:07 +00003115></A
3116><H3
3117><A
3118NAME="XMLCREATEENUMERATION"
3119></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003120>xmlCreateEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003121><TABLE
3122BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003123BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003124WIDTH="100%"
3125CELLPADDING="6"
3126><TR
3127><TD
3128><PRE
3129CLASS="PROGRAMLISTING"
3130><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003131HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003132>xmlEnumerationPtr</A
3133> xmlCreateEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003134HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003135>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003136> *name);</PRE
3137></TD
3138></TR
3139></TABLE
3140><P
3141>create and initialize an enumeration attribute node.</P
3142><P
3143></P
3144><DIV
3145CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003146><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003147NAME="AEN9102"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003148></A
Daniel Veillard35925471999-02-25 08:46:07 +00003149><P
3150></P
3151><TABLE
3152BORDER="0"
3153WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003154BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003155CELLSPACING="0"
3156CELLPADDING="4"
3157CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003158><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003159><TR
3160><TD
3161WIDTH="20%"
3162ALIGN="RIGHT"
3163VALIGN="TOP"
3164><TT
3165CLASS="PARAMETER"
3166><I
3167>name</I
3168></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003169>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003170><TD
3171WIDTH="80%"
3172ALIGN="LEFT"
3173VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003174> the enumeration name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003175></TR
3176><TR
3177><TD
3178WIDTH="20%"
3179ALIGN="RIGHT"
3180VALIGN="TOP"
3181><I
3182CLASS="EMPHASIS"
3183>Returns</I
3184> :</TD
3185><TD
3186WIDTH="80%"
3187ALIGN="LEFT"
3188VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003189>the xmlEnumerationPtr just created or NULL in case
Daniel Veillardaf43f632002-03-08 15:05:20 +00003190of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003191></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003192></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003193></TABLE
3194><P
3195></P
3196></DIV
3197></DIV
3198><HR><DIV
3199CLASS="REFSECT2"
3200><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003201NAME="AEN9115"
Daniel Veillard35925471999-02-25 08:46:07 +00003202></A
3203><H3
3204><A
3205NAME="XMLFREEENUMERATION"
3206></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003207>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003208><TABLE
3209BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003210BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003211WIDTH="100%"
3212CELLPADDING="6"
3213><TR
3214><TD
3215><PRE
3216CLASS="PROGRAMLISTING"
3217>void xmlFreeEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003218HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003219>xmlEnumerationPtr</A
3220> cur);</PRE
3221></TD
3222></TR
3223></TABLE
3224><P
3225>free an enumeration attribute node (recursive).</P
3226><P
3227></P
3228><DIV
3229CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003230><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003231NAME="AEN9122"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003232></A
Daniel Veillard35925471999-02-25 08:46:07 +00003233><P
3234></P
3235><TABLE
3236BORDER="0"
3237WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003238BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003239CELLSPACING="0"
3240CELLPADDING="4"
3241CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003242><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003243><TR
3244><TD
3245WIDTH="20%"
3246ALIGN="RIGHT"
3247VALIGN="TOP"
3248><TT
3249CLASS="PARAMETER"
3250><I
3251>cur</I
3252></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003253>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003254><TD
3255WIDTH="80%"
3256ALIGN="LEFT"
3257VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003258> the tree to free.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003259></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003260></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003261></TABLE
3262><P
3263></P
3264></DIV
3265></DIV
3266><HR><DIV
3267CLASS="REFSECT2"
3268><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003269NAME="AEN9131"
Daniel Veillard35925471999-02-25 08:46:07 +00003270></A
3271><H3
3272><A
3273NAME="XMLCOPYENUMERATION"
3274></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003275>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003276><TABLE
3277BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003278BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003279WIDTH="100%"
3280CELLPADDING="6"
3281><TR
3282><TD
3283><PRE
3284CLASS="PROGRAMLISTING"
3285><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003286HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003287>xmlEnumerationPtr</A
3288> xmlCopyEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003289HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003290>xmlEnumerationPtr</A
3291> cur);</PRE
3292></TD
3293></TR
3294></TABLE
3295><P
3296>Copy an enumeration attribute node (recursive).</P
3297><P
3298></P
3299><DIV
3300CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003301><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003302NAME="AEN9139"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003303></A
Daniel Veillard35925471999-02-25 08:46:07 +00003304><P
3305></P
3306><TABLE
3307BORDER="0"
3308WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003309BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003310CELLSPACING="0"
3311CELLPADDING="4"
3312CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003313><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003314><TR
3315><TD
3316WIDTH="20%"
3317ALIGN="RIGHT"
3318VALIGN="TOP"
3319><TT
3320CLASS="PARAMETER"
3321><I
3322>cur</I
3323></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003324>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003325><TD
3326WIDTH="80%"
3327ALIGN="LEFT"
3328VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003329> the tree to copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003330></TR
3331><TR
3332><TD
3333WIDTH="20%"
3334ALIGN="RIGHT"
3335VALIGN="TOP"
3336><I
3337CLASS="EMPHASIS"
3338>Returns</I
3339> :</TD
3340><TD
3341WIDTH="80%"
3342ALIGN="LEFT"
3343VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003344>the xmlEnumerationPtr just created or NULL in case
Daniel Veillardaf43f632002-03-08 15:05:20 +00003345of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003346></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003347></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003348></TABLE
3349><P
3350></P
3351></DIV
3352></DIV
3353><HR><DIV
3354CLASS="REFSECT2"
3355><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003356NAME="AEN9152"
Daniel Veillard35925471999-02-25 08:46:07 +00003357></A
3358><H3
3359><A
3360NAME="XMLADDATTRIBUTEDECL"
3361></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003362>xmlAddAttributeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003363><TABLE
3364BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003365BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003366WIDTH="100%"
3367CELLPADDING="6"
3368><TR
3369><TD
3370><PRE
3371CLASS="PROGRAMLISTING"
3372><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003373HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003374>xmlAttributePtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003375> xmlAddAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003376HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003377>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00003378> ctxt,
3379 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003380HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003381>xmlDtdPtr</A
3382> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003383 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003384HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003385>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003386> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003387 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003388HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003389>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003390> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003391 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003392HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003393>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +00003394> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003395 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003396HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003397>xmlAttributeType</A
3398> type,
3399 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003400HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003401>xmlAttributeDefault</A
3402> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003403 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003404HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003405>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003406> *defaultValue,
3407 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003408HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003409>xmlEnumerationPtr</A
3410> tree);</PRE
3411></TD
3412></TR
3413></TABLE
3414><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003415>Register a new attribute declaration
3416Note that <TT
3417CLASS="PARAMETER"
3418><I
3419>tree</I
3420></TT
3421> becomes the ownership of the DTD</P
Daniel Veillard35925471999-02-25 08:46:07 +00003422><P
3423></P
3424><DIV
3425CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003426><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003427NAME="AEN9169"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003428></A
Daniel Veillard35925471999-02-25 08:46:07 +00003429><P
3430></P
3431><TABLE
3432BORDER="0"
3433WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003434BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003435CELLSPACING="0"
3436CELLPADDING="4"
3437CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003438><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003439><TR
3440><TD
3441WIDTH="20%"
3442ALIGN="RIGHT"
3443VALIGN="TOP"
3444><TT
3445CLASS="PARAMETER"
3446><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00003447>ctxt</I
3448></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003449>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003450><TD
3451WIDTH="80%"
3452ALIGN="LEFT"
3453VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003454> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003455></TR
3456><TR
3457><TD
3458WIDTH="20%"
3459ALIGN="RIGHT"
3460VALIGN="TOP"
3461><TT
3462CLASS="PARAMETER"
3463><I
Daniel Veillard35925471999-02-25 08:46:07 +00003464>dtd</I
3465></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003466>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003467><TD
3468WIDTH="80%"
3469ALIGN="LEFT"
3470VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003471> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003472></TR
3473><TR
3474><TD
3475WIDTH="20%"
3476ALIGN="RIGHT"
3477VALIGN="TOP"
3478><TT
3479CLASS="PARAMETER"
3480><I
3481>elem</I
3482></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003483>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003484><TD
3485WIDTH="80%"
3486ALIGN="LEFT"
3487VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003488> the element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003489></TR
3490><TR
3491><TD
3492WIDTH="20%"
3493ALIGN="RIGHT"
3494VALIGN="TOP"
3495><TT
3496CLASS="PARAMETER"
3497><I
3498>name</I
3499></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003500>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003501><TD
3502WIDTH="80%"
3503ALIGN="LEFT"
3504VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003505> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003506></TR
3507><TR
3508><TD
3509WIDTH="20%"
3510ALIGN="RIGHT"
3511VALIGN="TOP"
3512><TT
3513CLASS="PARAMETER"
3514><I
Daniel Veillard06047432000-04-24 11:33:38 +00003515>ns</I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003516></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003517>&nbsp;:</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003518><TD
3519WIDTH="80%"
3520ALIGN="LEFT"
3521VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003522> the attribute namespace prefix</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003523></TR
3524><TR
3525><TD
3526WIDTH="20%"
3527ALIGN="RIGHT"
3528VALIGN="TOP"
3529><TT
3530CLASS="PARAMETER"
3531><I
Daniel Veillard35925471999-02-25 08:46:07 +00003532>type</I
3533></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003534>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003535><TD
3536WIDTH="80%"
3537ALIGN="LEFT"
3538VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003539> the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003540></TR
3541><TR
3542><TD
3543WIDTH="20%"
3544ALIGN="RIGHT"
3545VALIGN="TOP"
3546><TT
3547CLASS="PARAMETER"
3548><I
3549>def</I
3550></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003551>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003552><TD
3553WIDTH="80%"
3554ALIGN="LEFT"
3555VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003556> the attribute default type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003557></TR
3558><TR
3559><TD
3560WIDTH="20%"
3561ALIGN="RIGHT"
3562VALIGN="TOP"
3563><TT
3564CLASS="PARAMETER"
3565><I
3566>defaultValue</I
3567></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003568>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003569><TD
3570WIDTH="80%"
3571ALIGN="LEFT"
3572VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003573> the attribute default value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003574></TR
3575><TR
3576><TD
3577WIDTH="20%"
3578ALIGN="RIGHT"
3579VALIGN="TOP"
3580><TT
3581CLASS="PARAMETER"
3582><I
3583>tree</I
3584></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003585>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003586><TD
3587WIDTH="80%"
3588ALIGN="LEFT"
3589VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003590> if it's an enumeration, the associated list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003591></TR
3592><TR
3593><TD
3594WIDTH="20%"
3595ALIGN="RIGHT"
3596VALIGN="TOP"
3597><I
3598CLASS="EMPHASIS"
3599>Returns</I
3600> :</TD
3601><TD
3602WIDTH="80%"
3603ALIGN="LEFT"
3604VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00003605>NULL if not new, otherwise the attribute decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003606></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003607></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003608></TABLE
3609><P
3610></P
3611></DIV
3612></DIV
3613><HR><DIV
3614CLASS="REFSECT2"
3615><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003616NAME="AEN9214"
Daniel Veillard35925471999-02-25 08:46:07 +00003617></A
3618><H3
3619><A
3620NAME="XMLCOPYATTRIBUTETABLE"
3621></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003622>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003623><TABLE
3624BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003625BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003626WIDTH="100%"
3627CELLPADDING="6"
3628><TR
3629><TD
3630><PRE
3631CLASS="PROGRAMLISTING"
3632><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003633HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003634>xmlAttributeTablePtr</A
3635> xmlCopyAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003636HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003637>xmlAttributeTablePtr</A
3638> table);</PRE
3639></TD
3640></TR
3641></TABLE
3642><P
3643>Build a copy of an attribute table.</P
3644><P
3645></P
3646><DIV
3647CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003648><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003649NAME="AEN9222"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003650></A
Daniel Veillard35925471999-02-25 08:46:07 +00003651><P
3652></P
3653><TABLE
3654BORDER="0"
3655WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003656BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003657CELLSPACING="0"
3658CELLPADDING="4"
3659CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003660><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003661><TR
3662><TD
3663WIDTH="20%"
3664ALIGN="RIGHT"
3665VALIGN="TOP"
3666><TT
3667CLASS="PARAMETER"
3668><I
3669>table</I
3670></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003671>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003672><TD
3673WIDTH="80%"
3674ALIGN="LEFT"
3675VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003676> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003677></TR
3678><TR
3679><TD
3680WIDTH="20%"
3681ALIGN="RIGHT"
3682VALIGN="TOP"
3683><I
3684CLASS="EMPHASIS"
3685>Returns</I
3686> :</TD
3687><TD
3688WIDTH="80%"
3689ALIGN="LEFT"
3690VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003691>the new xmlAttributeTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003692></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003693></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003694></TABLE
3695><P
3696></P
3697></DIV
3698></DIV
3699><HR><DIV
3700CLASS="REFSECT2"
3701><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003702NAME="AEN9235"
Daniel Veillard35925471999-02-25 08:46:07 +00003703></A
3704><H3
3705><A
3706NAME="XMLFREEATTRIBUTETABLE"
3707></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003708>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003709><TABLE
3710BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003711BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003712WIDTH="100%"
3713CELLPADDING="6"
3714><TR
3715><TD
3716><PRE
3717CLASS="PROGRAMLISTING"
3718>void xmlFreeAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003719HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003720>xmlAttributeTablePtr</A
3721> table);</PRE
3722></TD
3723></TR
3724></TABLE
3725><P
3726>Deallocate the memory used by an entities hash table.</P
3727><P
3728></P
3729><DIV
3730CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003731><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003732NAME="AEN9242"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003733></A
Daniel Veillard35925471999-02-25 08:46:07 +00003734><P
3735></P
3736><TABLE
3737BORDER="0"
3738WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003739BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003740CELLSPACING="0"
3741CELLPADDING="4"
3742CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003743><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003744><TR
3745><TD
3746WIDTH="20%"
3747ALIGN="RIGHT"
3748VALIGN="TOP"
3749><TT
3750CLASS="PARAMETER"
3751><I
3752>table</I
3753></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003754>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003755><TD
3756WIDTH="80%"
3757ALIGN="LEFT"
3758VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003759> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003760></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003761></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003762></TABLE
3763><P
3764></P
3765></DIV
3766></DIV
3767><HR><DIV
3768CLASS="REFSECT2"
3769><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003770NAME="AEN9251"
Daniel Veillard35925471999-02-25 08:46:07 +00003771></A
3772><H3
3773><A
3774NAME="XMLDUMPATTRIBUTETABLE"
3775></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003776>xmlDumpAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003777><TABLE
3778BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003779BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003780WIDTH="100%"
3781CELLPADDING="6"
3782><TR
3783><TD
3784><PRE
3785CLASS="PROGRAMLISTING"
3786>void xmlDumpAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003787HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003788>xmlBufferPtr</A
3789> buf,
3790 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003791HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003792>xmlAttributeTablePtr</A
3793> table);</PRE
3794></TD
3795></TR
3796></TABLE
3797><P
3798>This will dump the content of the attribute table as an XML DTD definition</P
3799><P
Daniel Veillard35925471999-02-25 08:46:07 +00003800></P
3801><DIV
3802CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003803><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003804NAME="AEN9259"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003805></A
Daniel Veillard35925471999-02-25 08:46:07 +00003806><P
3807></P
3808><TABLE
3809BORDER="0"
3810WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003811BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003812CELLSPACING="0"
3813CELLPADDING="4"
3814CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003815><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003816><TR
3817><TD
3818WIDTH="20%"
3819ALIGN="RIGHT"
3820VALIGN="TOP"
3821><TT
3822CLASS="PARAMETER"
3823><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003824>buf</I
3825></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003826>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003827><TD
3828WIDTH="80%"
3829ALIGN="LEFT"
3830VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003831> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003832></TR
3833><TR
3834><TD
3835WIDTH="20%"
3836ALIGN="RIGHT"
3837VALIGN="TOP"
3838><TT
3839CLASS="PARAMETER"
3840><I
Daniel Veillard35925471999-02-25 08:46:07 +00003841>table</I
3842></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003843>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003844><TD
3845WIDTH="80%"
3846ALIGN="LEFT"
3847VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003848> An attribute table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003849></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003850></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003851></TABLE
3852><P
3853></P
3854></DIV
3855></DIV
3856><HR><DIV
3857CLASS="REFSECT2"
3858><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003859NAME="AEN9272"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003860></A
3861><H3
3862><A
3863NAME="XMLDUMPATTRIBUTEDECL"
3864></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003865>xmlDumpAttributeDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003866><TABLE
3867BORDER="0"
3868BGCOLOR="#D6E8FF"
3869WIDTH="100%"
3870CELLPADDING="6"
3871><TR
3872><TD
3873><PRE
3874CLASS="PROGRAMLISTING"
3875>void xmlDumpAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003876HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003877>xmlBufferPtr</A
3878> buf,
3879 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003880HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003881>xmlAttributePtr</A
3882> attr);</PRE
3883></TD
3884></TR
3885></TABLE
3886><P
3887>This will dump the content of the attribute declaration as an XML
3888DTD definition</P
3889><P
3890></P
3891><DIV
3892CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003893><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003894NAME="AEN9280"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003895></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003896><P
3897></P
3898><TABLE
3899BORDER="0"
3900WIDTH="100%"
3901BGCOLOR="#FFD0D0"
3902CELLSPACING="0"
3903CELLPADDING="4"
3904CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003905><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003906><TR
3907><TD
3908WIDTH="20%"
3909ALIGN="RIGHT"
3910VALIGN="TOP"
3911><TT
3912CLASS="PARAMETER"
3913><I
3914>buf</I
3915></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003916>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003917><TD
3918WIDTH="80%"
3919ALIGN="LEFT"
3920VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003921> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003922></TR
3923><TR
3924><TD
3925WIDTH="20%"
3926ALIGN="RIGHT"
3927VALIGN="TOP"
3928><TT
3929CLASS="PARAMETER"
3930><I
3931>attr</I
3932></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003933>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003934><TD
3935WIDTH="80%"
3936ALIGN="LEFT"
3937VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003938> An attribute declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003939></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003940></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003941></TABLE
3942><P
3943></P
3944></DIV
3945></DIV
3946><HR><DIV
3947CLASS="REFSECT2"
3948><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003949NAME="AEN9293"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003950></A
3951><H3
3952><A
3953NAME="XMLADDID"
3954></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003955>xmlAddID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003956><TABLE
3957BORDER="0"
3958BGCOLOR="#D6E8FF"
3959WIDTH="100%"
3960CELLPADDING="6"
3961><TR
3962><TD
3963><PRE
3964CLASS="PROGRAMLISTING"
3965><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003966HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003967>xmlIDPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003968> xmlAddID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003969HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003970>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003971> ctxt,
3972 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003973HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003974>xmlDocPtr</A
3975> doc,
3976 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003977HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003978>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003979> *value,
3980 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003981HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003982>xmlAttrPtr</A
3983> attr);</PRE
3984></TD
3985></TR
3986></TABLE
3987><P
3988>Register a new id declaration</P
3989><P
3990></P
3991><DIV
3992CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003993><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003994NAME="AEN9304"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003995></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003996><P
3997></P
3998><TABLE
3999BORDER="0"
4000WIDTH="100%"
4001BGCOLOR="#FFD0D0"
4002CELLSPACING="0"
4003CELLPADDING="4"
4004CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004005><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004006><TR
4007><TD
4008WIDTH="20%"
4009ALIGN="RIGHT"
4010VALIGN="TOP"
4011><TT
4012CLASS="PARAMETER"
4013><I
4014>ctxt</I
4015></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004016>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004017><TD
4018WIDTH="80%"
4019ALIGN="LEFT"
4020VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004021> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004022></TR
4023><TR
4024><TD
4025WIDTH="20%"
4026ALIGN="RIGHT"
4027VALIGN="TOP"
4028><TT
4029CLASS="PARAMETER"
4030><I
4031>doc</I
4032></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004033>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004034><TD
4035WIDTH="80%"
4036ALIGN="LEFT"
4037VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004038> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004039></TR
4040><TR
4041><TD
4042WIDTH="20%"
4043ALIGN="RIGHT"
4044VALIGN="TOP"
4045><TT
4046CLASS="PARAMETER"
4047><I
4048>value</I
4049></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004050>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004051><TD
4052WIDTH="80%"
4053ALIGN="LEFT"
4054VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004055> the value name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004056></TR
4057><TR
4058><TD
4059WIDTH="20%"
4060ALIGN="RIGHT"
4061VALIGN="TOP"
4062><TT
4063CLASS="PARAMETER"
4064><I
4065>attr</I
4066></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004067>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004068><TD
4069WIDTH="80%"
4070ALIGN="LEFT"
4071VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004072> the attribute holding the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004073></TR
4074><TR
4075><TD
4076WIDTH="20%"
4077ALIGN="RIGHT"
4078VALIGN="TOP"
4079><I
4080CLASS="EMPHASIS"
4081>Returns</I
4082> :</TD
4083><TD
4084WIDTH="80%"
4085ALIGN="LEFT"
4086VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004087>NULL if not, otherwise the new xmlIDPtr</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004088></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004089></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004090></TABLE
4091><P
4092></P
4093></DIV
4094></DIV
4095><HR><DIV
4096CLASS="REFSECT2"
4097><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004098NAME="AEN9329"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004099></A
4100><H3
4101><A
4102NAME="XMLFREEIDTABLE"
4103></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004104>xmlFreeIDTable ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004105><TABLE
4106BORDER="0"
4107BGCOLOR="#D6E8FF"
4108WIDTH="100%"
4109CELLPADDING="6"
4110><TR
4111><TD
4112><PRE
4113CLASS="PROGRAMLISTING"
4114>void xmlFreeIDTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004115HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004116>xmlIDTablePtr</A
4117> table);</PRE
4118></TD
4119></TR
4120></TABLE
4121><P
4122>Deallocate the memory used by an ID hash table.</P
4123><P
4124></P
4125><DIV
4126CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004127><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004128NAME="AEN9336"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004129></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004130><P
4131></P
4132><TABLE
4133BORDER="0"
4134WIDTH="100%"
4135BGCOLOR="#FFD0D0"
4136CELLSPACING="0"
4137CELLPADDING="4"
4138CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004139><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004140><TR
4141><TD
4142WIDTH="20%"
4143ALIGN="RIGHT"
4144VALIGN="TOP"
4145><TT
4146CLASS="PARAMETER"
4147><I
4148>table</I
4149></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004150>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004151><TD
4152WIDTH="80%"
4153ALIGN="LEFT"
4154VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004155> An id table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004156></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004157></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004158></TABLE
4159><P
4160></P
4161></DIV
4162></DIV
4163><HR><DIV
4164CLASS="REFSECT2"
4165><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004166NAME="AEN9345"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004167></A
4168><H3
4169><A
4170NAME="XMLGETID"
4171></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004172>xmlGetID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004173><TABLE
4174BORDER="0"
4175BGCOLOR="#D6E8FF"
4176WIDTH="100%"
4177CELLPADDING="6"
4178><TR
4179><TD
4180><PRE
4181CLASS="PROGRAMLISTING"
4182><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004183HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004184>xmlAttrPtr</A
4185> xmlGetID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004186HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004187>xmlDocPtr</A
4188> doc,
4189 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004190HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004191>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004192> *ID);</PRE
4193></TD
4194></TR
4195></TABLE
4196><P
4197>Search the attribute declaring the given ID</P
4198><P
4199></P
4200><DIV
4201CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004202><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004203NAME="AEN9354"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004204></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004205><P
4206></P
4207><TABLE
4208BORDER="0"
4209WIDTH="100%"
4210BGCOLOR="#FFD0D0"
4211CELLSPACING="0"
4212CELLPADDING="4"
4213CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004214><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004215><TR
4216><TD
4217WIDTH="20%"
4218ALIGN="RIGHT"
4219VALIGN="TOP"
4220><TT
4221CLASS="PARAMETER"
4222><I
4223>doc</I
4224></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004225>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004226><TD
4227WIDTH="80%"
4228ALIGN="LEFT"
4229VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004230> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004231></TR
4232><TR
4233><TD
4234WIDTH="20%"
4235ALIGN="RIGHT"
4236VALIGN="TOP"
4237><TT
4238CLASS="PARAMETER"
4239><I
4240>ID</I
4241></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004242>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004243><TD
4244WIDTH="80%"
4245ALIGN="LEFT"
4246VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004247> the ID value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004248></TR
4249><TR
4250><TD
4251WIDTH="20%"
4252ALIGN="RIGHT"
4253VALIGN="TOP"
4254><I
4255CLASS="EMPHASIS"
4256>Returns</I
4257> :</TD
4258><TD
4259WIDTH="80%"
4260ALIGN="LEFT"
4261VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004262>NULL if not found, otherwise the xmlAttrPtr defining the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004263></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004264></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004265></TABLE
4266><P
4267></P
4268></DIV
4269></DIV
4270><HR><DIV
4271CLASS="REFSECT2"
4272><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004273NAME="AEN9371"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004274></A
4275><H3
4276><A
4277NAME="XMLISID"
4278></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004279>xmlIsID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004280><TABLE
4281BORDER="0"
4282BGCOLOR="#D6E8FF"
4283WIDTH="100%"
4284CELLPADDING="6"
4285><TR
4286><TD
4287><PRE
4288CLASS="PROGRAMLISTING"
4289>int xmlIsID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004290HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004291>xmlDocPtr</A
4292> doc,
4293 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004294HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004295>xmlNodePtr</A
4296> elem,
4297 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004298HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004299>xmlAttrPtr</A
4300> attr);</PRE
4301></TD
4302></TR
4303></TABLE
4304><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004305>Determine whether an attribute is of type ID. In case we have DTD(s)
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004306then this is simple, otherwise we use an heuristic: name ID (upper
4307or lowercase).</P
4308><P
4309></P
4310><DIV
4311CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004312><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004313NAME="AEN9380"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004314></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004315><P
4316></P
4317><TABLE
4318BORDER="0"
4319WIDTH="100%"
4320BGCOLOR="#FFD0D0"
4321CELLSPACING="0"
4322CELLPADDING="4"
4323CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004324><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004325><TR
4326><TD
4327WIDTH="20%"
4328ALIGN="RIGHT"
4329VALIGN="TOP"
4330><TT
4331CLASS="PARAMETER"
4332><I
4333>doc</I
4334></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004335>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004336><TD
4337WIDTH="80%"
4338ALIGN="LEFT"
4339VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004340> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004341></TR
4342><TR
4343><TD
4344WIDTH="20%"
4345ALIGN="RIGHT"
4346VALIGN="TOP"
4347><TT
4348CLASS="PARAMETER"
4349><I
4350>elem</I
4351></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004352>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004353><TD
4354WIDTH="80%"
4355ALIGN="LEFT"
4356VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004357> the element carrying the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004358></TR
4359><TR
4360><TD
4361WIDTH="20%"
4362ALIGN="RIGHT"
4363VALIGN="TOP"
4364><TT
4365CLASS="PARAMETER"
4366><I
4367>attr</I
4368></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004369>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004370><TD
4371WIDTH="80%"
4372ALIGN="LEFT"
4373VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004374> the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004375></TR
4376><TR
4377><TD
4378WIDTH="20%"
4379ALIGN="RIGHT"
4380VALIGN="TOP"
4381><I
4382CLASS="EMPHASIS"
4383>Returns</I
4384> :</TD
4385><TD
4386WIDTH="80%"
4387ALIGN="LEFT"
4388VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004389>0 or 1 depending on the lookup result</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004390></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004391></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004392></TABLE
4393><P
4394></P
4395></DIV
4396></DIV
4397><HR><DIV
4398CLASS="REFSECT2"
4399><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004400NAME="AEN9401"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004401></A
4402><H3
4403><A
4404NAME="XMLREMOVEID"
4405></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004406>xmlRemoveID ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004407><TABLE
4408BORDER="0"
4409BGCOLOR="#D6E8FF"
4410WIDTH="100%"
4411CELLPADDING="6"
4412><TR
4413><TD
4414><PRE
4415CLASS="PROGRAMLISTING"
4416>int xmlRemoveID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004417HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004418>xmlDocPtr</A
4419> doc,
4420 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004421HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004422>xmlAttrPtr</A
4423> attr);</PRE
4424></TD
4425></TR
4426></TABLE
4427><P
4428>Remove the given attribute from the ID table maintained internally.</P
4429><P
4430></P
4431><DIV
4432CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004433><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004434NAME="AEN9409"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004435></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004436><P
4437></P
4438><TABLE
4439BORDER="0"
4440WIDTH="100%"
4441BGCOLOR="#FFD0D0"
4442CELLSPACING="0"
4443CELLPADDING="4"
4444CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004445><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004446><TR
4447><TD
4448WIDTH="20%"
4449ALIGN="RIGHT"
4450VALIGN="TOP"
4451><TT
4452CLASS="PARAMETER"
4453><I
4454>doc</I
4455></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004456>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004457><TD
4458WIDTH="80%"
4459ALIGN="LEFT"
4460VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004461> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004462></TR
4463><TR
4464><TD
4465WIDTH="20%"
4466ALIGN="RIGHT"
4467VALIGN="TOP"
4468><TT
4469CLASS="PARAMETER"
4470><I
4471>attr</I
4472></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004473>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004474><TD
4475WIDTH="80%"
4476ALIGN="LEFT"
4477VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004478> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004479></TR
4480><TR
4481><TD
4482WIDTH="20%"
4483ALIGN="RIGHT"
4484VALIGN="TOP"
4485><I
4486CLASS="EMPHASIS"
4487>Returns</I
4488> :</TD
4489><TD
4490WIDTH="80%"
4491ALIGN="LEFT"
4492VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004493>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004494></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004495></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004496></TABLE
4497><P
4498></P
4499></DIV
4500></DIV
4501><HR><DIV
4502CLASS="REFSECT2"
4503><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004504NAME="AEN9426"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004505></A
4506><H3
4507><A
4508NAME="XMLADDREF"
4509></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004510>xmlAddRef ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004511><TABLE
4512BORDER="0"
4513BGCOLOR="#D6E8FF"
4514WIDTH="100%"
4515CELLPADDING="6"
4516><TR
4517><TD
4518><PRE
4519CLASS="PROGRAMLISTING"
4520><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004521HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004522>xmlRefPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004523> xmlAddRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004524HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004525>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004526> ctxt,
4527 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004528HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004529>xmlDocPtr</A
4530> doc,
4531 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004532HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004533>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004534> *value,
4535 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004536HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004537>xmlAttrPtr</A
4538> attr);</PRE
4539></TD
4540></TR
4541></TABLE
4542><P
4543>Register a new ref declaration</P
4544><P
4545></P
4546><DIV
4547CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004548><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004549NAME="AEN9437"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004550></A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004551><P
4552></P
4553><TABLE
4554BORDER="0"
4555WIDTH="100%"
4556BGCOLOR="#FFD0D0"
4557CELLSPACING="0"
4558CELLPADDING="4"
4559CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004560><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004561><TR
4562><TD
4563WIDTH="20%"
4564ALIGN="RIGHT"
4565VALIGN="TOP"
4566><TT
4567CLASS="PARAMETER"
4568><I
4569>ctxt</I
4570></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004571>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004572><TD
4573WIDTH="80%"
4574ALIGN="LEFT"
4575VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004576> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004577></TR
4578><TR
4579><TD
4580WIDTH="20%"
4581ALIGN="RIGHT"
4582VALIGN="TOP"
4583><TT
4584CLASS="PARAMETER"
4585><I
4586>doc</I
4587></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004588>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004589><TD
4590WIDTH="80%"
4591ALIGN="LEFT"
4592VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004593> pointer to the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004594></TR
4595><TR
4596><TD
4597WIDTH="20%"
4598ALIGN="RIGHT"
4599VALIGN="TOP"
4600><TT
4601CLASS="PARAMETER"
4602><I
4603>value</I
4604></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004605>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004606><TD
4607WIDTH="80%"
4608ALIGN="LEFT"
4609VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004610> the value name</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004611></TR
4612><TR
4613><TD
4614WIDTH="20%"
4615ALIGN="RIGHT"
4616VALIGN="TOP"
4617><TT
4618CLASS="PARAMETER"
4619><I
4620>attr</I
4621></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004622>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004623><TD
4624WIDTH="80%"
4625ALIGN="LEFT"
4626VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004627> the attribute holding the Ref</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004628></TR
4629><TR
4630><TD
4631WIDTH="20%"
4632ALIGN="RIGHT"
4633VALIGN="TOP"
4634><I
4635CLASS="EMPHASIS"
4636>Returns</I
4637> :</TD
4638><TD
4639WIDTH="80%"
4640ALIGN="LEFT"
4641VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004642>NULL if not, otherwise the new xmlRefPtr</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004643></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004644></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004645></TABLE
4646><P
4647></P
4648></DIV
4649></DIV
4650><HR><DIV
4651CLASS="REFSECT2"
4652><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004653NAME="AEN9462"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004654></A
4655><H3
4656><A
4657NAME="XMLFREEREFTABLE"
4658></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004659>xmlFreeRefTable ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004660><TABLE
4661BORDER="0"
4662BGCOLOR="#D6E8FF"
4663WIDTH="100%"
4664CELLPADDING="6"
4665><TR
4666><TD
4667><PRE
4668CLASS="PROGRAMLISTING"
4669>void xmlFreeRefTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004670HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004671>xmlRefTablePtr</A
4672> table);</PRE
4673></TD
4674></TR
4675></TABLE
4676><P
4677>Deallocate the memory used by an Ref hash table.</P
4678><P
4679></P
4680><DIV
4681CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004682><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004683NAME="AEN9469"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004684></A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004685><P
4686></P
4687><TABLE
4688BORDER="0"
4689WIDTH="100%"
4690BGCOLOR="#FFD0D0"
4691CELLSPACING="0"
4692CELLPADDING="4"
4693CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004694><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004695><TR
4696><TD
4697WIDTH="20%"
4698ALIGN="RIGHT"
4699VALIGN="TOP"
4700><TT
4701CLASS="PARAMETER"
4702><I
4703>table</I
4704></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004705>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004706><TD
4707WIDTH="80%"
4708ALIGN="LEFT"
4709VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004710> An ref table</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004711></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004712></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004713></TABLE
4714><P
4715></P
4716></DIV
4717></DIV
4718><HR><DIV
4719CLASS="REFSECT2"
4720><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004721NAME="AEN9478"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004722></A
4723><H3
4724><A
4725NAME="XMLISREF"
4726></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004727>xmlIsRef ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004728><TABLE
4729BORDER="0"
4730BGCOLOR="#D6E8FF"
4731WIDTH="100%"
4732CELLPADDING="6"
4733><TR
4734><TD
4735><PRE
4736CLASS="PROGRAMLISTING"
4737>int xmlIsRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004738HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004739>xmlDocPtr</A
4740> doc,
4741 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004742HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004743>xmlNodePtr</A
4744> elem,
4745 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004746HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004747>xmlAttrPtr</A
4748> attr);</PRE
4749></TD
4750></TR
4751></TABLE
4752><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004753>Determine whether an attribute is of type Ref. In case we have DTD(s)
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004754then this is simple, otherwise we use an heuristic: name Ref (upper
4755or lowercase).</P
4756><P
4757></P
4758><DIV
4759CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004760><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004761NAME="AEN9487"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004762></A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004763><P
4764></P
4765><TABLE
4766BORDER="0"
4767WIDTH="100%"
4768BGCOLOR="#FFD0D0"
4769CELLSPACING="0"
4770CELLPADDING="4"
4771CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004772><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004773><TR
4774><TD
4775WIDTH="20%"
4776ALIGN="RIGHT"
4777VALIGN="TOP"
4778><TT
4779CLASS="PARAMETER"
4780><I
4781>doc</I
4782></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004783>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004784><TD
4785WIDTH="80%"
4786ALIGN="LEFT"
4787VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004788> the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004789></TR
4790><TR
4791><TD
4792WIDTH="20%"
4793ALIGN="RIGHT"
4794VALIGN="TOP"
4795><TT
4796CLASS="PARAMETER"
4797><I
4798>elem</I
4799></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004800>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004801><TD
4802WIDTH="80%"
4803ALIGN="LEFT"
4804VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004805> the element carrying the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004806></TR
4807><TR
4808><TD
4809WIDTH="20%"
4810ALIGN="RIGHT"
4811VALIGN="TOP"
4812><TT
4813CLASS="PARAMETER"
4814><I
4815>attr</I
4816></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004817>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004818><TD
4819WIDTH="80%"
4820ALIGN="LEFT"
4821VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004822> the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004823></TR
4824><TR
4825><TD
4826WIDTH="20%"
4827ALIGN="RIGHT"
4828VALIGN="TOP"
4829><I
4830CLASS="EMPHASIS"
4831>Returns</I
4832> :</TD
4833><TD
4834WIDTH="80%"
4835ALIGN="LEFT"
4836VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004837>0 or 1 depending on the lookup result</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004838></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004839></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004840></TABLE
4841><P
4842></P
4843></DIV
4844></DIV
4845><HR><DIV
4846CLASS="REFSECT2"
4847><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004848NAME="AEN9508"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004849></A
4850><H3
4851><A
4852NAME="XMLREMOVEREF"
4853></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004854>xmlRemoveRef ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004855><TABLE
4856BORDER="0"
4857BGCOLOR="#D6E8FF"
4858WIDTH="100%"
4859CELLPADDING="6"
4860><TR
4861><TD
4862><PRE
4863CLASS="PROGRAMLISTING"
4864>int xmlRemoveRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004865HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004866>xmlDocPtr</A
4867> doc,
4868 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004869HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004870>xmlAttrPtr</A
4871> attr);</PRE
4872></TD
4873></TR
4874></TABLE
4875><P
4876>Remove the given attribute from the Ref table maintained internally.</P
4877><P
4878></P
4879><DIV
4880CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004881><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004882NAME="AEN9516"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004883></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004884><P
4885></P
4886><TABLE
4887BORDER="0"
4888WIDTH="100%"
4889BGCOLOR="#FFD0D0"
4890CELLSPACING="0"
4891CELLPADDING="4"
4892CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004893><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004894><TR
4895><TD
4896WIDTH="20%"
4897ALIGN="RIGHT"
4898VALIGN="TOP"
4899><TT
4900CLASS="PARAMETER"
4901><I
4902>doc</I
4903></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004904>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004905><TD
4906WIDTH="80%"
4907ALIGN="LEFT"
4908VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004909> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004910></TR
4911><TR
4912><TD
4913WIDTH="20%"
4914ALIGN="RIGHT"
4915VALIGN="TOP"
4916><TT
4917CLASS="PARAMETER"
4918><I
4919>attr</I
4920></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004921>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004922><TD
4923WIDTH="80%"
4924ALIGN="LEFT"
4925VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004926> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004927></TR
4928><TR
4929><TD
4930WIDTH="20%"
4931ALIGN="RIGHT"
4932VALIGN="TOP"
4933><I
4934CLASS="EMPHASIS"
4935>Returns</I
4936> :</TD
4937><TD
4938WIDTH="80%"
4939ALIGN="LEFT"
4940VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004941>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004942></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004943></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004944></TABLE
4945><P
4946></P
4947></DIV
4948></DIV
4949><HR><DIV
4950CLASS="REFSECT2"
4951><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004952NAME="AEN9533"
Daniel Veillarda41123c2001-04-22 19:31:20 +00004953></A
4954><H3
4955><A
4956NAME="XMLGETREFS"
4957></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004958>xmlGetRefs ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00004959><TABLE
4960BORDER="0"
4961BGCOLOR="#D6E8FF"
4962WIDTH="100%"
4963CELLPADDING="6"
4964><TR
4965><TD
4966><PRE
4967CLASS="PROGRAMLISTING"
4968><GTKDOCLINK
4969HREF="XMLLISTPTR"
4970>xmlListPtr</GTKDOCLINK
4971> xmlGetRefs (<A
4972HREF="libxml-tree.html#XMLDOCPTR"
4973>xmlDocPtr</A
4974> doc,
4975 const <A
4976HREF="libxml-tree.html#XMLCHAR"
4977>xmlChar</A
4978> *ID);</PRE
4979></TD
4980></TR
4981></TABLE
4982><P
4983>Find the set of references for the supplied ID.</P
4984><P
4985></P
4986><DIV
4987CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004988><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004989NAME="AEN9542"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004990></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00004991><P
4992></P
4993><TABLE
4994BORDER="0"
4995WIDTH="100%"
4996BGCOLOR="#FFD0D0"
4997CELLSPACING="0"
4998CELLPADDING="4"
4999CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005000><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005001><TR
5002><TD
5003WIDTH="20%"
5004ALIGN="RIGHT"
5005VALIGN="TOP"
5006><TT
5007CLASS="PARAMETER"
5008><I
5009>doc</I
5010></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005011>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005012><TD
5013WIDTH="80%"
5014ALIGN="LEFT"
5015VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005016> pointer to the document</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005017></TR
5018><TR
5019><TD
5020WIDTH="20%"
5021ALIGN="RIGHT"
5022VALIGN="TOP"
5023><TT
5024CLASS="PARAMETER"
5025><I
5026>ID</I
5027></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005028>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005029><TD
5030WIDTH="80%"
5031ALIGN="LEFT"
5032VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005033> the ID value</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005034></TR
5035><TR
5036><TD
5037WIDTH="20%"
5038ALIGN="RIGHT"
5039VALIGN="TOP"
5040><I
5041CLASS="EMPHASIS"
5042>Returns</I
5043> :</TD
5044><TD
5045WIDTH="80%"
5046ALIGN="LEFT"
5047VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005048>NULL if not found, otherwise node set for the ID.</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005049></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005050></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005051></TABLE
5052><P
5053></P
5054></DIV
5055></DIV
5056><HR><DIV
5057CLASS="REFSECT2"
5058><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005059NAME="AEN9559"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005060></A
5061><H3
5062><A
5063NAME="XMLVALIDATEROOT"
5064></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005065>xmlValidateRoot ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005066><TABLE
5067BORDER="0"
5068BGCOLOR="#D6E8FF"
5069WIDTH="100%"
5070CELLPADDING="6"
5071><TR
5072><TD
5073><PRE
5074CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005075>int xmlValidateRoot (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005076HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005077>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005078> ctxt,
5079 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005080HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005081>xmlDocPtr</A
5082> doc);</PRE
5083></TD
5084></TR
5085></TABLE
5086><P
5087>Try to validate a the root element
5088basically it does the following check as described by the
5089XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005090- [ VC: Root Element Type ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00005091it doesn't try to recurse or apply other check to the element</P
5092><P
5093></P
5094><DIV
5095CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005096><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005097NAME="AEN9567"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005098></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005099><P
5100></P
5101><TABLE
5102BORDER="0"
5103WIDTH="100%"
5104BGCOLOR="#FFD0D0"
5105CELLSPACING="0"
5106CELLPADDING="4"
5107CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005108><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005109><TR
5110><TD
5111WIDTH="20%"
5112ALIGN="RIGHT"
5113VALIGN="TOP"
5114><TT
5115CLASS="PARAMETER"
5116><I
5117>ctxt</I
5118></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005119>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005120><TD
5121WIDTH="80%"
5122ALIGN="LEFT"
5123VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005124> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005125></TR
5126><TR
5127><TD
5128WIDTH="20%"
5129ALIGN="RIGHT"
5130VALIGN="TOP"
5131><TT
5132CLASS="PARAMETER"
5133><I
5134>doc</I
5135></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005136>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005137><TD
5138WIDTH="80%"
5139ALIGN="LEFT"
5140VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005141> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005142></TR
5143><TR
5144><TD
5145WIDTH="20%"
5146ALIGN="RIGHT"
5147VALIGN="TOP"
5148><I
5149CLASS="EMPHASIS"
5150>Returns</I
5151> :</TD
5152><TD
5153WIDTH="80%"
5154ALIGN="LEFT"
5155VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005156>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005157></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005158></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005159></TABLE
5160><P
5161></P
5162></DIV
5163></DIV
5164><HR><DIV
5165CLASS="REFSECT2"
5166><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005167NAME="AEN9584"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005168></A
5169><H3
5170><A
5171NAME="XMLVALIDATEELEMENTDECL"
5172></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005173>xmlValidateElementDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005174><TABLE
5175BORDER="0"
5176BGCOLOR="#D6E8FF"
5177WIDTH="100%"
5178CELLPADDING="6"
5179><TR
5180><TD
5181><PRE
5182CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005183>int xmlValidateElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005184HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005185>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005186> ctxt,
5187 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005188HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005189>xmlDocPtr</A
5190> doc,
5191 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005192HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005193>xmlElementPtr</A
5194> elem);</PRE
5195></TD
5196></TR
5197></TABLE
5198><P
5199>Try to validate a single element definition
5200basically it does the following checks as described by the
5201XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005202- [ VC: One ID per Element Type ]
5203- [ VC: No Duplicate Types ]
5204- [ VC: Unique Element Type Declaration ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005205><P
5206></P
5207><DIV
5208CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005209><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005210NAME="AEN9593"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005211></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005212><P
5213></P
5214><TABLE
5215BORDER="0"
5216WIDTH="100%"
5217BGCOLOR="#FFD0D0"
5218CELLSPACING="0"
5219CELLPADDING="4"
5220CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005221><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005222><TR
5223><TD
5224WIDTH="20%"
5225ALIGN="RIGHT"
5226VALIGN="TOP"
5227><TT
5228CLASS="PARAMETER"
5229><I
5230>ctxt</I
5231></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005232>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005233><TD
5234WIDTH="80%"
5235ALIGN="LEFT"
5236VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005237> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005238></TR
5239><TR
5240><TD
5241WIDTH="20%"
5242ALIGN="RIGHT"
5243VALIGN="TOP"
5244><TT
5245CLASS="PARAMETER"
5246><I
5247>doc</I
5248></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005249>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005250><TD
5251WIDTH="80%"
5252ALIGN="LEFT"
5253VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005254> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005255></TR
5256><TR
5257><TD
5258WIDTH="20%"
5259ALIGN="RIGHT"
5260VALIGN="TOP"
5261><TT
5262CLASS="PARAMETER"
5263><I
5264>elem</I
5265></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005266>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005267><TD
5268WIDTH="80%"
5269ALIGN="LEFT"
5270VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005271> an element definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005272></TR
5273><TR
5274><TD
5275WIDTH="20%"
5276ALIGN="RIGHT"
5277VALIGN="TOP"
5278><I
5279CLASS="EMPHASIS"
5280>Returns</I
5281> :</TD
5282><TD
5283WIDTH="80%"
5284ALIGN="LEFT"
5285VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005286>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005287></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005288></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005289></TABLE
5290><P
5291></P
5292></DIV
5293></DIV
5294><HR><DIV
5295CLASS="REFSECT2"
5296><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005297NAME="AEN9614"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005298></A
5299><H3
5300><A
5301NAME="XMLVALIDNORMALIZEATTRIBUTEVALUE"
5302></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005303>xmlValidNormalizeAttributeValue ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005304><TABLE
5305BORDER="0"
5306BGCOLOR="#D6E8FF"
5307WIDTH="100%"
5308CELLPADDING="6"
5309><TR
5310><TD
5311><PRE
5312CLASS="PROGRAMLISTING"
5313><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005314HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005315>xmlChar</A
5316>* xmlValidNormalizeAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005317HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005318>xmlDocPtr</A
5319> doc,
5320 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005321HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005322>xmlNodePtr</A
5323> elem,
5324 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005325HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005326>xmlChar</A
5327> *name,
5328 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005329HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005330>xmlChar</A
5331> *value);</PRE
5332></TD
5333></TR
5334></TABLE
5335><P
5336>Does the validation related extra step of the normalization of attribute
5337values:</P
5338><P
5339>If the declared value is not CDATA, then the XML processor must further
5340process the normalized attribute value by discarding any leading and
5341trailing space (<GTKDOCLINK
5342HREF="X20"
5343>x20</GTKDOCLINK
5344>) characters, and by replacing sequences of space
5345(<GTKDOCLINK
5346HREF="X20"
5347>x20</GTKDOCLINK
5348>) characters by single space (<GTKDOCLINK
5349HREF="X20"
5350>x20</GTKDOCLINK
5351>) character.</P
5352><P
5353></P
5354><DIV
5355CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005356><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005357NAME="AEN9629"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005358></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005359><P
5360></P
5361><TABLE
5362BORDER="0"
5363WIDTH="100%"
5364BGCOLOR="#FFD0D0"
5365CELLSPACING="0"
5366CELLPADDING="4"
5367CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005368><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005369><TR
5370><TD
5371WIDTH="20%"
5372ALIGN="RIGHT"
5373VALIGN="TOP"
5374><TT
5375CLASS="PARAMETER"
5376><I
5377>doc</I
5378></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005379>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005380><TD
5381WIDTH="80%"
5382ALIGN="LEFT"
5383VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005384> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005385></TR
5386><TR
5387><TD
5388WIDTH="20%"
5389ALIGN="RIGHT"
5390VALIGN="TOP"
5391><TT
5392CLASS="PARAMETER"
5393><I
5394>elem</I
5395></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005396>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005397><TD
5398WIDTH="80%"
5399ALIGN="LEFT"
5400VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005401> the parent</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005402></TR
5403><TR
5404><TD
5405WIDTH="20%"
5406ALIGN="RIGHT"
5407VALIGN="TOP"
5408><TT
5409CLASS="PARAMETER"
5410><I
5411>name</I
5412></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005413>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005414><TD
5415WIDTH="80%"
5416ALIGN="LEFT"
5417VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005418> the attribute name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005419></TR
5420><TR
5421><TD
5422WIDTH="20%"
5423ALIGN="RIGHT"
5424VALIGN="TOP"
5425><TT
5426CLASS="PARAMETER"
5427><I
5428>value</I
5429></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005430>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005431><TD
5432WIDTH="80%"
5433ALIGN="LEFT"
5434VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005435> the attribute value</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005436></TR
5437><TR
5438><TD
5439WIDTH="20%"
5440ALIGN="RIGHT"
5441VALIGN="TOP"
5442><I
5443CLASS="EMPHASIS"
5444>Returns</I
5445> :</TD
5446><TD
5447WIDTH="80%"
5448ALIGN="LEFT"
5449VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005450>a new normalized string if normalization is needed, NULL otherwise
Daniel Veillardaf43f632002-03-08 15:05:20 +00005451the caller must free the returned value.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005452></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005453></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005454></TABLE
5455><P
5456></P
5457></DIV
5458></DIV
5459><HR><DIV
5460CLASS="REFSECT2"
5461><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005462NAME="AEN9654"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005463></A
5464><H3
5465><A
5466NAME="XMLVALIDCTXTNORMALIZEATTRIBUTEVALUE"
5467></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005468>xmlValidCtxtNormalizeAttributeValue ()</H3
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005469><TABLE
5470BORDER="0"
5471BGCOLOR="#D6E8FF"
5472WIDTH="100%"
5473CELLPADDING="6"
5474><TR
5475><TD
5476><PRE
5477CLASS="PROGRAMLISTING"
5478><A
5479HREF="libxml-tree.html#XMLCHAR"
5480>xmlChar</A
5481>* xmlValidCtxtNormalizeAttributeValue
5482 (<A
5483HREF="libxml-valid.html#XMLVALIDCTXTPTR"
5484>xmlValidCtxtPtr</A
5485> ctxt,
5486 <A
5487HREF="libxml-tree.html#XMLDOCPTR"
5488>xmlDocPtr</A
5489> doc,
5490 <A
5491HREF="libxml-tree.html#XMLNODEPTR"
5492>xmlNodePtr</A
5493> elem,
5494 const <A
5495HREF="libxml-tree.html#XMLCHAR"
5496>xmlChar</A
5497> *name,
5498 const <A
5499HREF="libxml-tree.html#XMLCHAR"
5500>xmlChar</A
5501> *value);</PRE
5502></TD
5503></TR
5504></TABLE
5505><P
5506>Does the validation related extra step of the normalization of attribute
5507values:</P
5508><P
5509>If the declared value is not CDATA, then the XML processor must further
5510process the normalized attribute value by discarding any leading and
5511trailing space (<GTKDOCLINK
5512HREF="X20"
5513>x20</GTKDOCLINK
5514>) characters, and by replacing sequences of space
5515(<GTKDOCLINK
5516HREF="X20"
5517>x20</GTKDOCLINK
5518>) characters by single space (<GTKDOCLINK
5519HREF="X20"
5520>x20</GTKDOCLINK
5521>) character.</P
5522><P
5523>Also check VC: Standalone Document Declaration in P32, and update
Daniel Veillardaf43f632002-03-08 15:05:20 +00005524ctxt-&gt;valid accordingly</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005525><P
5526></P
5527><DIV
5528CLASS="INFORMALTABLE"
5529><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005530NAME="AEN9671"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005531></A
5532><P
5533></P
5534><TABLE
5535BORDER="0"
5536WIDTH="100%"
5537BGCOLOR="#FFD0D0"
5538CELLSPACING="0"
5539CELLPADDING="4"
5540CLASS="CALSTABLE"
5541><TBODY
5542><TR
5543><TD
5544WIDTH="20%"
5545ALIGN="RIGHT"
5546VALIGN="TOP"
5547><TT
5548CLASS="PARAMETER"
5549><I
5550>ctxt</I
5551></TT
5552>&nbsp;:</TD
5553><TD
5554WIDTH="80%"
5555ALIGN="LEFT"
5556VALIGN="TOP"
5557> the validation context</TD
5558></TR
5559><TR
5560><TD
5561WIDTH="20%"
5562ALIGN="RIGHT"
5563VALIGN="TOP"
5564><TT
5565CLASS="PARAMETER"
5566><I
5567>doc</I
5568></TT
5569>&nbsp;:</TD
5570><TD
5571WIDTH="80%"
5572ALIGN="LEFT"
5573VALIGN="TOP"
5574> the document</TD
5575></TR
5576><TR
5577><TD
5578WIDTH="20%"
5579ALIGN="RIGHT"
5580VALIGN="TOP"
5581><TT
5582CLASS="PARAMETER"
5583><I
5584>elem</I
5585></TT
5586>&nbsp;:</TD
5587><TD
5588WIDTH="80%"
5589ALIGN="LEFT"
5590VALIGN="TOP"
5591> the parent</TD
5592></TR
5593><TR
5594><TD
5595WIDTH="20%"
5596ALIGN="RIGHT"
5597VALIGN="TOP"
5598><TT
5599CLASS="PARAMETER"
5600><I
5601>name</I
5602></TT
5603>&nbsp;:</TD
5604><TD
5605WIDTH="80%"
5606ALIGN="LEFT"
5607VALIGN="TOP"
5608> the attribute name</TD
5609></TR
5610><TR
5611><TD
5612WIDTH="20%"
5613ALIGN="RIGHT"
5614VALIGN="TOP"
5615><TT
5616CLASS="PARAMETER"
5617><I
5618>value</I
5619></TT
5620>&nbsp;:</TD
5621><TD
5622WIDTH="80%"
5623ALIGN="LEFT"
5624VALIGN="TOP"
5625> the attribute value</TD
5626></TR
5627><TR
5628><TD
5629WIDTH="20%"
5630ALIGN="RIGHT"
5631VALIGN="TOP"
5632><I
5633CLASS="EMPHASIS"
5634>Returns</I
5635> :</TD
5636><TD
5637WIDTH="80%"
5638ALIGN="LEFT"
5639VALIGN="TOP"
5640>a new normalized string if normalization is needed, NULL otherwise
Daniel Veillardaf43f632002-03-08 15:05:20 +00005641the caller must free the returned value.</TD
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005642></TR
5643></TBODY
5644></TABLE
5645><P
5646></P
5647></DIV
5648></DIV
5649><HR><DIV
5650CLASS="REFSECT2"
5651><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005652NAME="AEN9700"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005653></A
5654><H3
5655><A
5656NAME="XMLVALIDATEATTRIBUTEDECL"
5657></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005658>xmlValidateAttributeDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005659><TABLE
5660BORDER="0"
5661BGCOLOR="#D6E8FF"
5662WIDTH="100%"
5663CELLPADDING="6"
5664><TR
5665><TD
5666><PRE
5667CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005668>int xmlValidateAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005669HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005670>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005671> ctxt,
5672 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005673HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005674>xmlDocPtr</A
5675> doc,
5676 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005677HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005678>xmlAttributePtr</A
5679> attr);</PRE
5680></TD
5681></TR
5682></TABLE
5683><P
5684>Try to validate a single attribute definition
5685basically it does the following checks as described by the
5686XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005687- [ VC: Attribute Default Legal ]
5688- [ VC: Enumeration ]
5689- [ VC: ID Attribute Default ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005690><P
5691>The ID/IDREF uniqueness and matching are done separately</P
5692><P
5693></P
5694><DIV
5695CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005696><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005697NAME="AEN9710"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005698></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005699><P
5700></P
5701><TABLE
5702BORDER="0"
5703WIDTH="100%"
5704BGCOLOR="#FFD0D0"
5705CELLSPACING="0"
5706CELLPADDING="4"
5707CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005708><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005709><TR
5710><TD
5711WIDTH="20%"
5712ALIGN="RIGHT"
5713VALIGN="TOP"
5714><TT
5715CLASS="PARAMETER"
5716><I
5717>ctxt</I
5718></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005719>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005720><TD
5721WIDTH="80%"
5722ALIGN="LEFT"
5723VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005724> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005725></TR
5726><TR
5727><TD
5728WIDTH="20%"
5729ALIGN="RIGHT"
5730VALIGN="TOP"
5731><TT
5732CLASS="PARAMETER"
5733><I
5734>doc</I
5735></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005736>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005737><TD
5738WIDTH="80%"
5739ALIGN="LEFT"
5740VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005741> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005742></TR
5743><TR
5744><TD
5745WIDTH="20%"
5746ALIGN="RIGHT"
5747VALIGN="TOP"
5748><TT
5749CLASS="PARAMETER"
5750><I
5751>attr</I
5752></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005753>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005754><TD
5755WIDTH="80%"
5756ALIGN="LEFT"
5757VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005758> an attribute definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005759></TR
5760><TR
5761><TD
5762WIDTH="20%"
5763ALIGN="RIGHT"
5764VALIGN="TOP"
5765><I
5766CLASS="EMPHASIS"
5767>Returns</I
5768> :</TD
5769><TD
5770WIDTH="80%"
5771ALIGN="LEFT"
5772VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005773>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005774></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005775></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005776></TABLE
5777><P
5778></P
5779></DIV
5780></DIV
5781><HR><DIV
5782CLASS="REFSECT2"
5783><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005784NAME="AEN9731"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005785></A
5786><H3
5787><A
5788NAME="XMLVALIDATEATTRIBUTEVALUE"
5789></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005790>xmlValidateAttributeValue ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005791><TABLE
5792BORDER="0"
5793BGCOLOR="#D6E8FF"
5794WIDTH="100%"
5795CELLPADDING="6"
5796><TR
5797><TD
5798><PRE
5799CLASS="PROGRAMLISTING"
5800>int xmlValidateAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005801HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005802>xmlAttributeType</A
5803> type,
5804 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005805HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005806>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005807> *value);</PRE
5808></TD
5809></TR
5810></TABLE
5811><P
5812>Validate that the given attribute value match the proper production</P
5813><P
5814>[ VC: ID ]
5815Values of type ID must match the Name production....</P
5816><P
5817>[ VC: IDREF ]
5818Values of type IDREF must match the Name production, and values
5819of type IDREFS must match Names ...</P
5820><P
5821>[ VC: Entity Name ]
5822Values of type ENTITY must match the Name production, values
5823of type ENTITIES must match Names ...</P
5824><P
5825>[ VC: Name Token ]
5826Values of type NMTOKEN must match the Nmtoken production; values
5827of type NMTOKENS must match Nmtokens.</P
5828><P
5829></P
5830><DIV
5831CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005832><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005833NAME="AEN9743"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005834></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005835><P
5836></P
5837><TABLE
5838BORDER="0"
5839WIDTH="100%"
5840BGCOLOR="#FFD0D0"
5841CELLSPACING="0"
5842CELLPADDING="4"
5843CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005844><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005845><TR
5846><TD
5847WIDTH="20%"
5848ALIGN="RIGHT"
5849VALIGN="TOP"
5850><TT
5851CLASS="PARAMETER"
5852><I
5853>type</I
5854></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005855>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005856><TD
5857WIDTH="80%"
5858ALIGN="LEFT"
5859VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005860> an attribute type</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005861></TR
5862><TR
5863><TD
5864WIDTH="20%"
5865ALIGN="RIGHT"
5866VALIGN="TOP"
5867><TT
5868CLASS="PARAMETER"
5869><I
5870>value</I
5871></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005872>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005873><TD
5874WIDTH="80%"
5875ALIGN="LEFT"
5876VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005877> an attribute value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005878></TR
5879><TR
5880><TD
5881WIDTH="20%"
5882ALIGN="RIGHT"
5883VALIGN="TOP"
5884><I
5885CLASS="EMPHASIS"
5886>Returns</I
5887> :</TD
5888><TD
5889WIDTH="80%"
5890ALIGN="LEFT"
5891VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005892>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005893></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005894></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005895></TABLE
5896><P
5897></P
5898></DIV
5899></DIV
5900><HR><DIV
5901CLASS="REFSECT2"
5902><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005903NAME="AEN9760"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005904></A
5905><H3
5906><A
5907NAME="XMLVALIDATENOTATIONDECL"
5908></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005909>xmlValidateNotationDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005910><TABLE
5911BORDER="0"
5912BGCOLOR="#D6E8FF"
5913WIDTH="100%"
5914CELLPADDING="6"
5915><TR
5916><TD
5917><PRE
5918CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005919>int xmlValidateNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005920HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005921>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005922> ctxt,
5923 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005924HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005925>xmlDocPtr</A
5926> doc,
5927 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005928HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005929>xmlNotationPtr</A
5930> nota);</PRE
5931></TD
5932></TR
5933></TABLE
5934><P
5935>Try to validate a single notation definition
5936basically it does the following checks as described by the
5937XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005938- it seems that no validity constraint exists on notation declarations
Daniel Veillardb05deb71999-08-10 19:04:08 +00005939But this function get called anyway ...</P
5940><P
5941></P
5942><DIV
5943CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005944><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005945NAME="AEN9769"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005946></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005947><P
5948></P
5949><TABLE
5950BORDER="0"
5951WIDTH="100%"
5952BGCOLOR="#FFD0D0"
5953CELLSPACING="0"
5954CELLPADDING="4"
5955CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005956><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005957><TR
5958><TD
5959WIDTH="20%"
5960ALIGN="RIGHT"
5961VALIGN="TOP"
5962><TT
5963CLASS="PARAMETER"
5964><I
5965>ctxt</I
5966></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005967>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005968><TD
5969WIDTH="80%"
5970ALIGN="LEFT"
5971VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005972> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005973></TR
5974><TR
5975><TD
5976WIDTH="20%"
5977ALIGN="RIGHT"
5978VALIGN="TOP"
5979><TT
5980CLASS="PARAMETER"
5981><I
5982>doc</I
5983></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005984>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005985><TD
5986WIDTH="80%"
5987ALIGN="LEFT"
5988VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005989> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005990></TR
5991><TR
5992><TD
5993WIDTH="20%"
5994ALIGN="RIGHT"
5995VALIGN="TOP"
5996><TT
5997CLASS="PARAMETER"
5998><I
5999>nota</I
6000></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006001>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006002><TD
6003WIDTH="80%"
6004ALIGN="LEFT"
6005VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006006> a notation definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006007></TR
6008><TR
6009><TD
6010WIDTH="20%"
6011ALIGN="RIGHT"
6012VALIGN="TOP"
6013><I
6014CLASS="EMPHASIS"
6015>Returns</I
6016> :</TD
6017><TD
6018WIDTH="80%"
6019ALIGN="LEFT"
6020VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006021>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006022></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006023></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006024></TABLE
6025><P
6026></P
6027></DIV
6028></DIV
6029><HR><DIV
6030CLASS="REFSECT2"
6031><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006032NAME="AEN9790"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006033></A
6034><H3
6035><A
6036NAME="XMLVALIDATEDTD"
6037></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006038>xmlValidateDtd ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006039><TABLE
6040BORDER="0"
6041BGCOLOR="#D6E8FF"
6042WIDTH="100%"
6043CELLPADDING="6"
6044><TR
6045><TD
6046><PRE
6047CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006048>int xmlValidateDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006049HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006050>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006051> ctxt,
6052 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006053HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006054>xmlDocPtr</A
6055> doc,
6056 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006057HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006058>xmlDtdPtr</A
6059> dtd);</PRE
6060></TD
6061></TR
6062></TABLE
6063><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006064>Try to validate the document against the dtd instance</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006065><P
6066>basically it does check all the definitions in the DtD.</P
6067><P
6068></P
6069><DIV
6070CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006071><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006072NAME="AEN9800"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006073></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006074><P
6075></P
6076><TABLE
6077BORDER="0"
6078WIDTH="100%"
6079BGCOLOR="#FFD0D0"
6080CELLSPACING="0"
6081CELLPADDING="4"
6082CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006083><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006084><TR
6085><TD
6086WIDTH="20%"
6087ALIGN="RIGHT"
6088VALIGN="TOP"
6089><TT
6090CLASS="PARAMETER"
6091><I
6092>ctxt</I
6093></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006094>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006095><TD
6096WIDTH="80%"
6097ALIGN="LEFT"
6098VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006099> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006100></TR
6101><TR
6102><TD
6103WIDTH="20%"
6104ALIGN="RIGHT"
6105VALIGN="TOP"
6106><TT
6107CLASS="PARAMETER"
6108><I
6109>doc</I
6110></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006111>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006112><TD
6113WIDTH="80%"
6114ALIGN="LEFT"
6115VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006116> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006117></TR
6118><TR
6119><TD
6120WIDTH="20%"
6121ALIGN="RIGHT"
6122VALIGN="TOP"
6123><TT
6124CLASS="PARAMETER"
6125><I
6126>dtd</I
6127></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006128>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006129><TD
6130WIDTH="80%"
6131ALIGN="LEFT"
6132VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006133> a dtd instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006134></TR
6135><TR
6136><TD
6137WIDTH="20%"
6138ALIGN="RIGHT"
6139VALIGN="TOP"
6140><I
6141CLASS="EMPHASIS"
6142>Returns</I
6143> :</TD
6144><TD
6145WIDTH="80%"
6146ALIGN="LEFT"
6147VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006148>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006149></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006150></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006151></TABLE
6152><P
6153></P
6154></DIV
6155></DIV
6156><HR><DIV
6157CLASS="REFSECT2"
6158><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006159NAME="AEN9821"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006160></A
6161><H3
6162><A
6163NAME="XMLVALIDATEDTDFINAL"
6164></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006165>xmlValidateDtdFinal ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006166><TABLE
6167BORDER="0"
6168BGCOLOR="#D6E8FF"
6169WIDTH="100%"
6170CELLPADDING="6"
6171><TR
6172><TD
6173><PRE
6174CLASS="PROGRAMLISTING"
6175>int xmlValidateDtdFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006176HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006177>xmlValidCtxtPtr</A
6178> ctxt,
6179 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006180HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006181>xmlDocPtr</A
6182> doc);</PRE
6183></TD
6184></TR
6185></TABLE
6186><P
6187>Does the final step for the dtds validation once all the
6188subsets have been parsed</P
6189><P
6190>basically it does the following checks described by the XML Rec
6191- check that ENTITY and ENTITIES type attributes default or
Daniel Veillardaf43f632002-03-08 15:05:20 +00006192possible values matches one of the defined entities.
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006193- check that NOTATION type attributes default or
Daniel Veillardaf43f632002-03-08 15:05:20 +00006194possible values matches one of the defined notations.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006195><P
6196></P
6197><DIV
6198CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006199><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006200NAME="AEN9830"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006201></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006202><P
6203></P
6204><TABLE
6205BORDER="0"
6206WIDTH="100%"
6207BGCOLOR="#FFD0D0"
6208CELLSPACING="0"
6209CELLPADDING="4"
6210CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006211><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006212><TR
6213><TD
6214WIDTH="20%"
6215ALIGN="RIGHT"
6216VALIGN="TOP"
6217><TT
6218CLASS="PARAMETER"
6219><I
6220>ctxt</I
6221></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006222>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006223><TD
6224WIDTH="80%"
6225ALIGN="LEFT"
6226VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006227> the validation context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006228></TR
6229><TR
6230><TD
6231WIDTH="20%"
6232ALIGN="RIGHT"
6233VALIGN="TOP"
6234><TT
6235CLASS="PARAMETER"
6236><I
6237>doc</I
6238></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006239>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006240><TD
6241WIDTH="80%"
6242ALIGN="LEFT"
6243VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006244> a document instance</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006245></TR
6246><TR
6247><TD
6248WIDTH="20%"
6249ALIGN="RIGHT"
6250VALIGN="TOP"
6251><I
6252CLASS="EMPHASIS"
6253>Returns</I
6254> :</TD
6255><TD
6256WIDTH="80%"
6257ALIGN="LEFT"
6258VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006259>1 if valid or 0 if invalid and -1 if not well-formed</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006260></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006261></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006262></TABLE
6263><P
6264></P
6265></DIV
6266></DIV
6267><HR><DIV
6268CLASS="REFSECT2"
6269><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006270NAME="AEN9847"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006271></A
6272><H3
6273><A
6274NAME="XMLVALIDATEDOCUMENT"
6275></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006276>xmlValidateDocument ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006277><TABLE
6278BORDER="0"
6279BGCOLOR="#D6E8FF"
6280WIDTH="100%"
6281CELLPADDING="6"
6282><TR
6283><TD
6284><PRE
6285CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006286>int xmlValidateDocument (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006287HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006288>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006289> ctxt,
6290 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006291HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006292>xmlDocPtr</A
6293> doc);</PRE
6294></TD
6295></TR
6296></TABLE
6297><P
6298>Try to validate the document instance</P
6299><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006300>basically it does the all the checks described by the XML Rec
Daniel Veillardb05deb71999-08-10 19:04:08 +00006301i.e. validates the internal and external subset (if present)
6302and validate the document tree.</P
6303><P
6304></P
6305><DIV
6306CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006307><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006308NAME="AEN9856"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006309></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006310><P
6311></P
6312><TABLE
6313BORDER="0"
6314WIDTH="100%"
6315BGCOLOR="#FFD0D0"
6316CELLSPACING="0"
6317CELLPADDING="4"
6318CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006319><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006320><TR
6321><TD
6322WIDTH="20%"
6323ALIGN="RIGHT"
6324VALIGN="TOP"
6325><TT
6326CLASS="PARAMETER"
6327><I
6328>ctxt</I
6329></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006330>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006331><TD
6332WIDTH="80%"
6333ALIGN="LEFT"
6334VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006335> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006336></TR
6337><TR
6338><TD
6339WIDTH="20%"
6340ALIGN="RIGHT"
6341VALIGN="TOP"
6342><TT
6343CLASS="PARAMETER"
6344><I
6345>doc</I
6346></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006347>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006348><TD
6349WIDTH="80%"
6350ALIGN="LEFT"
6351VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006352> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006353></TR
6354><TR
6355><TD
6356WIDTH="20%"
6357ALIGN="RIGHT"
6358VALIGN="TOP"
6359><I
6360CLASS="EMPHASIS"
6361>Returns</I
6362> :</TD
6363><TD
6364WIDTH="80%"
6365ALIGN="LEFT"
6366VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006367>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006368></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006369></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006370></TABLE
6371><P
6372></P
6373></DIV
6374></DIV
6375><HR><DIV
6376CLASS="REFSECT2"
6377><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006378NAME="AEN9873"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006379></A
6380><H3
6381><A
6382NAME="XMLVALIDATEELEMENT"
6383></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006384>xmlValidateElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006385><TABLE
6386BORDER="0"
6387BGCOLOR="#D6E8FF"
6388WIDTH="100%"
6389CELLPADDING="6"
6390><TR
6391><TD
6392><PRE
6393CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006394>int xmlValidateElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006395HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006396>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006397> ctxt,
6398 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006399HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006400>xmlDocPtr</A
6401> doc,
6402 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006403HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006404>xmlNodePtr</A
6405> elem);</PRE
6406></TD
6407></TR
6408></TABLE
6409><P
6410>Try to validate the subtree under an element</P
6411><P
6412></P
6413><DIV
6414CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006415><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006416NAME="AEN9882"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006417></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006418><P
6419></P
6420><TABLE
6421BORDER="0"
6422WIDTH="100%"
6423BGCOLOR="#FFD0D0"
6424CELLSPACING="0"
6425CELLPADDING="4"
6426CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006427><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006428><TR
6429><TD
6430WIDTH="20%"
6431ALIGN="RIGHT"
6432VALIGN="TOP"
6433><TT
6434CLASS="PARAMETER"
6435><I
6436>ctxt</I
6437></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006438>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006439><TD
6440WIDTH="80%"
6441ALIGN="LEFT"
6442VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006443> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006444></TR
6445><TR
6446><TD
6447WIDTH="20%"
6448ALIGN="RIGHT"
6449VALIGN="TOP"
6450><TT
6451CLASS="PARAMETER"
6452><I
6453>doc</I
6454></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006455>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006456><TD
6457WIDTH="80%"
6458ALIGN="LEFT"
6459VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006460> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006461></TR
6462><TR
6463><TD
6464WIDTH="20%"
6465ALIGN="RIGHT"
6466VALIGN="TOP"
6467><TT
6468CLASS="PARAMETER"
6469><I
6470>elem</I
6471></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006472>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006473><TD
6474WIDTH="80%"
6475ALIGN="LEFT"
6476VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006477> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006478></TR
6479><TR
6480><TD
6481WIDTH="20%"
6482ALIGN="RIGHT"
6483VALIGN="TOP"
6484><I
6485CLASS="EMPHASIS"
6486>Returns</I
6487> :</TD
6488><TD
6489WIDTH="80%"
6490ALIGN="LEFT"
6491VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006492>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006493></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006494></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006495></TABLE
6496><P
6497></P
6498></DIV
6499></DIV
6500><HR><DIV
6501CLASS="REFSECT2"
6502><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006503NAME="AEN9903"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006504></A
6505><H3
6506><A
6507NAME="XMLVALIDATEONEELEMENT"
6508></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006509>xmlValidateOneElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006510><TABLE
6511BORDER="0"
6512BGCOLOR="#D6E8FF"
6513WIDTH="100%"
6514CELLPADDING="6"
6515><TR
6516><TD
6517><PRE
6518CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006519>int xmlValidateOneElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006520HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006521>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006522> ctxt,
6523 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006524HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006525>xmlDocPtr</A
6526> doc,
6527 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006528HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006529>xmlNodePtr</A
6530> elem);</PRE
6531></TD
6532></TR
6533></TABLE
6534><P
6535>Try to validate a single element and it's attributes,
6536basically it does the following checks as described by the
6537XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00006538- [ VC: Element Valid ]
6539- [ VC: Required Attribute ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00006540Then call <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006541HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006542>xmlValidateOneAttribute</A
6543>() for each attribute present.</P
6544><P
6545>The ID/IDREF checkings are done separately</P
6546><P
6547></P
6548><DIV
6549CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006550><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006551NAME="AEN9914"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006552></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006553><P
6554></P
6555><TABLE
6556BORDER="0"
6557WIDTH="100%"
6558BGCOLOR="#FFD0D0"
6559CELLSPACING="0"
6560CELLPADDING="4"
6561CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006562><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006563><TR
6564><TD
6565WIDTH="20%"
6566ALIGN="RIGHT"
6567VALIGN="TOP"
6568><TT
6569CLASS="PARAMETER"
6570><I
6571>ctxt</I
6572></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006573>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006574><TD
6575WIDTH="80%"
6576ALIGN="LEFT"
6577VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006578> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006579></TR
6580><TR
6581><TD
6582WIDTH="20%"
6583ALIGN="RIGHT"
6584VALIGN="TOP"
6585><TT
6586CLASS="PARAMETER"
6587><I
6588>doc</I
6589></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006590>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006591><TD
6592WIDTH="80%"
6593ALIGN="LEFT"
6594VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006595> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006596></TR
6597><TR
6598><TD
6599WIDTH="20%"
6600ALIGN="RIGHT"
6601VALIGN="TOP"
6602><TT
6603CLASS="PARAMETER"
6604><I
6605>elem</I
6606></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006607>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006608><TD
6609WIDTH="80%"
6610ALIGN="LEFT"
6611VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006612> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006613></TR
6614><TR
6615><TD
6616WIDTH="20%"
6617ALIGN="RIGHT"
6618VALIGN="TOP"
6619><I
6620CLASS="EMPHASIS"
6621>Returns</I
6622> :</TD
6623><TD
6624WIDTH="80%"
6625ALIGN="LEFT"
6626VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006627>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006628></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006629></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006630></TABLE
6631><P
6632></P
6633></DIV
6634></DIV
6635><HR><DIV
6636CLASS="REFSECT2"
6637><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006638NAME="AEN9935"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006639></A
6640><H3
6641><A
6642NAME="XMLVALIDATEONEATTRIBUTE"
6643></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006644>xmlValidateOneAttribute ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006645><TABLE
6646BORDER="0"
6647BGCOLOR="#D6E8FF"
6648WIDTH="100%"
6649CELLPADDING="6"
6650><TR
6651><TD
6652><PRE
6653CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006654>int xmlValidateOneAttribute (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006655HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006656>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006657> ctxt,
6658 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006659HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006660>xmlDocPtr</A
6661> doc,
6662 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006663HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006664>xmlNodePtr</A
6665> elem,
6666 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006667HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006668>xmlAttrPtr</A
6669> attr,
6670 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006671HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006672>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006673> *value);</PRE
6674></TD
6675></TR
6676></TABLE
6677><P
6678>Try to validate a single attribute for an element
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006679basically it does the following checks as described by the
Daniel Veillardb05deb71999-08-10 19:04:08 +00006680XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00006681- [ VC: Attribute Value Type ]
6682- [ VC: Fixed Attribute Default ]
6683- [ VC: Entity Name ]
6684- [ VC: Name Token ]
6685- [ VC: ID ]
6686- [ VC: IDREF ]
6687- [ VC: Entity Name ]
6688- [ VC: Notation Attributes ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006689><P
6690>The ID/IDREF uniqueness and matching are done separately</P
6691><P
6692></P
6693><DIV
6694CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006695><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006696NAME="AEN9947"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006697></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006698><P
6699></P
6700><TABLE
6701BORDER="0"
6702WIDTH="100%"
6703BGCOLOR="#FFD0D0"
6704CELLSPACING="0"
6705CELLPADDING="4"
6706CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006707><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006708><TR
6709><TD
6710WIDTH="20%"
6711ALIGN="RIGHT"
6712VALIGN="TOP"
6713><TT
6714CLASS="PARAMETER"
6715><I
6716>ctxt</I
6717></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006718>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006719><TD
6720WIDTH="80%"
6721ALIGN="LEFT"
6722VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006723> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006724></TR
6725><TR
6726><TD
6727WIDTH="20%"
6728ALIGN="RIGHT"
6729VALIGN="TOP"
6730><TT
6731CLASS="PARAMETER"
6732><I
6733>doc</I
6734></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006735>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006736><TD
6737WIDTH="80%"
6738ALIGN="LEFT"
6739VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006740> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006741></TR
6742><TR
6743><TD
6744WIDTH="20%"
6745ALIGN="RIGHT"
6746VALIGN="TOP"
6747><TT
6748CLASS="PARAMETER"
6749><I
6750>elem</I
6751></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006752>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006753><TD
6754WIDTH="80%"
6755ALIGN="LEFT"
6756VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006757> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006758></TR
6759><TR
6760><TD
6761WIDTH="20%"
6762ALIGN="RIGHT"
6763VALIGN="TOP"
6764><TT
6765CLASS="PARAMETER"
6766><I
6767>attr</I
6768></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006769>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006770><TD
6771WIDTH="80%"
6772ALIGN="LEFT"
6773VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006774> an attribute instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006775></TR
6776><TR
6777><TD
6778WIDTH="20%"
6779ALIGN="RIGHT"
6780VALIGN="TOP"
6781><TT
6782CLASS="PARAMETER"
6783><I
6784>value</I
6785></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006786>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006787><TD
6788WIDTH="80%"
6789ALIGN="LEFT"
6790VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006791> the attribute value (without entities processing)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006792></TR
6793><TR
6794><TD
6795WIDTH="20%"
6796ALIGN="RIGHT"
6797VALIGN="TOP"
6798><I
6799CLASS="EMPHASIS"
6800>Returns</I
6801> :</TD
6802><TD
6803WIDTH="80%"
6804ALIGN="LEFT"
6805VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006806>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006807></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006808></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006809></TABLE
6810><P
6811></P
6812></DIV
6813></DIV
6814><HR><DIV
6815CLASS="REFSECT2"
6816><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006817NAME="AEN9976"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006818></A
6819><H3
6820><A
6821NAME="XMLVALIDATEDOCUMENTFINAL"
6822></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006823>xmlValidateDocumentFinal ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006824><TABLE
6825BORDER="0"
6826BGCOLOR="#D6E8FF"
6827WIDTH="100%"
6828CELLPADDING="6"
6829><TR
6830><TD
6831><PRE
6832CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006833>int xmlValidateDocumentFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006834HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006835>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006836> ctxt,
6837 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006838HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006839>xmlDocPtr</A
6840> doc);</PRE
6841></TD
6842></TR
6843></TABLE
6844><P
6845>Does the final step for the document validation once all the
6846incremental validation steps have been completed</P
6847><P
6848>basically it does the following checks described by the XML Rec</P
6849><P
6850></P
6851><DIV
6852CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006853><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006854NAME="AEN9985"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006855></A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006856><P
6857></P
6858><TABLE
6859BORDER="0"
6860WIDTH="100%"
6861BGCOLOR="#FFD0D0"
6862CELLSPACING="0"
6863CELLPADDING="4"
6864CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006865><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006866><TR
6867><TD
6868WIDTH="20%"
6869ALIGN="RIGHT"
6870VALIGN="TOP"
6871><TT
6872CLASS="PARAMETER"
6873><I
6874>ctxt</I
6875></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006876>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006877><TD
6878WIDTH="80%"
6879ALIGN="LEFT"
6880VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006881> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006882></TR
6883><TR
6884><TD
6885WIDTH="20%"
6886ALIGN="RIGHT"
6887VALIGN="TOP"
6888><TT
6889CLASS="PARAMETER"
6890><I
6891>doc</I
6892></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006893>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006894><TD
6895WIDTH="80%"
6896ALIGN="LEFT"
6897VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006898> a document instance</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006899></TR
6900><TR
6901><TD
6902WIDTH="20%"
6903ALIGN="RIGHT"
6904VALIGN="TOP"
6905><I
6906CLASS="EMPHASIS"
6907>Returns</I
6908> :</TD
6909><TD
6910WIDTH="80%"
6911ALIGN="LEFT"
6912VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006913>1 if valid or 0 otherwise</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006914></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006915></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006916></TABLE
6917><P
6918></P
6919></DIV
6920></DIV
6921><HR><DIV
6922CLASS="REFSECT2"
6923><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006924NAME="AEN10002"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006925></A
6926><H3
6927><A
6928NAME="XMLVALIDATENOTATIONUSE"
6929></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006930>xmlValidateNotationUse ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006931><TABLE
6932BORDER="0"
6933BGCOLOR="#D6E8FF"
6934WIDTH="100%"
6935CELLPADDING="6"
6936><TR
6937><TD
6938><PRE
6939CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006940>int xmlValidateNotationUse (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006941HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006942>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006943> ctxt,
6944 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006945HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006946>xmlDocPtr</A
6947> doc,
6948 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006949HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006950>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006951> *notationName);</PRE
6952></TD
6953></TR
6954></TABLE
6955><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00006956>Validate that the given name match a notation declaration.
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006957- [ VC: Notation Declared ]</P
6958><P
6959></P
6960><DIV
6961CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006962><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006963NAME="AEN10011"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006964></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006965><P
6966></P
6967><TABLE
6968BORDER="0"
6969WIDTH="100%"
6970BGCOLOR="#FFD0D0"
6971CELLSPACING="0"
6972CELLPADDING="4"
6973CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006974><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006975><TR
6976><TD
6977WIDTH="20%"
6978ALIGN="RIGHT"
6979VALIGN="TOP"
6980><TT
6981CLASS="PARAMETER"
6982><I
6983>ctxt</I
6984></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006985>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006986><TD
6987WIDTH="80%"
6988ALIGN="LEFT"
6989VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006990> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006991></TR
6992><TR
6993><TD
6994WIDTH="20%"
6995ALIGN="RIGHT"
6996VALIGN="TOP"
6997><TT
6998CLASS="PARAMETER"
6999><I
7000>doc</I
7001></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007002>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007003><TD
7004WIDTH="80%"
7005ALIGN="LEFT"
7006VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007007> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007008></TR
7009><TR
7010><TD
7011WIDTH="20%"
7012ALIGN="RIGHT"
7013VALIGN="TOP"
7014><TT
7015CLASS="PARAMETER"
7016><I
7017>notationName</I
7018></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007019>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007020><TD
7021WIDTH="80%"
7022ALIGN="LEFT"
7023VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007024> the notation name to check</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007025></TR
7026><TR
7027><TD
7028WIDTH="20%"
7029ALIGN="RIGHT"
7030VALIGN="TOP"
7031><I
7032CLASS="EMPHASIS"
7033>Returns</I
7034> :</TD
7035><TD
7036WIDTH="80%"
7037ALIGN="LEFT"
7038VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007039>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007040></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007041></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007042></TABLE
7043><P
7044></P
7045></DIV
7046></DIV
7047><HR><DIV
7048CLASS="REFSECT2"
7049><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007050NAME="AEN10032"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007051></A
7052><H3
7053><A
7054NAME="XMLISMIXEDELEMENT"
7055></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007056>xmlIsMixedElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00007057><TABLE
7058BORDER="0"
7059BGCOLOR="#D6E8FF"
7060WIDTH="100%"
7061CELLPADDING="6"
7062><TR
7063><TD
7064><PRE
7065CLASS="PROGRAMLISTING"
7066>int xmlIsMixedElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007067HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007068>xmlDocPtr</A
7069> doc,
7070 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007071HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007072>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007073> *name);</PRE
7074></TD
7075></TR
7076></TABLE
7077><P
7078>Search in the DtDs whether an element accept Mixed content (or ANY)
7079basically if it is supposed to accept text childs</P
7080><P
7081></P
7082><DIV
7083CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007084><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007085NAME="AEN10040"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007086></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007087><P
7088></P
7089><TABLE
7090BORDER="0"
7091WIDTH="100%"
7092BGCOLOR="#FFD0D0"
7093CELLSPACING="0"
7094CELLPADDING="4"
7095CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007096><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00007097><TR
7098><TD
7099WIDTH="20%"
7100ALIGN="RIGHT"
7101VALIGN="TOP"
7102><TT
7103CLASS="PARAMETER"
7104><I
7105>doc</I
7106></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007107>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007108><TD
7109WIDTH="80%"
7110ALIGN="LEFT"
7111VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007112> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007113></TR
7114><TR
7115><TD
7116WIDTH="20%"
7117ALIGN="RIGHT"
7118VALIGN="TOP"
7119><TT
7120CLASS="PARAMETER"
7121><I
7122>name</I
7123></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007124>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007125><TD
7126WIDTH="80%"
7127ALIGN="LEFT"
7128VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007129> the element name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007130></TR
7131><TR
7132><TD
7133WIDTH="20%"
7134ALIGN="RIGHT"
7135VALIGN="TOP"
7136><I
7137CLASS="EMPHASIS"
7138>Returns</I
7139> :</TD
7140><TD
7141WIDTH="80%"
7142ALIGN="LEFT"
7143VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007144>0 if no, 1 if yes, and -1 if no element description is available</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007145></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007146></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007147></TABLE
7148><P
7149></P
7150></DIV
7151></DIV
7152><HR><DIV
7153CLASS="REFSECT2"
7154><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007155NAME="AEN10057"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007156></A
7157><H3
7158><A
7159NAME="XMLGETDTDATTRDESC"
7160></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007161>xmlGetDtdAttrDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007162><TABLE
7163BORDER="0"
7164BGCOLOR="#D6E8FF"
7165WIDTH="100%"
7166CELLPADDING="6"
7167><TR
7168><TD
7169><PRE
7170CLASS="PROGRAMLISTING"
7171><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007172HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007173>xmlAttributePtr</A
7174> xmlGetDtdAttrDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007175HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007176>xmlDtdPtr</A
7177> dtd,
7178 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007179HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007180>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007181> *elem,
7182 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007183HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007184>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007185> *name);</PRE
7186></TD
7187></TR
7188></TABLE
7189><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007190>Search the DTD for the description of this attribute on
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007191this element.</P
7192><P
7193></P
7194><DIV
7195CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007196><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007197NAME="AEN10067"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007198></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007199><P
7200></P
7201><TABLE
7202BORDER="0"
7203WIDTH="100%"
7204BGCOLOR="#FFD0D0"
7205CELLSPACING="0"
7206CELLPADDING="4"
7207CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007208><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007209><TR
7210><TD
7211WIDTH="20%"
7212ALIGN="RIGHT"
7213VALIGN="TOP"
7214><TT
7215CLASS="PARAMETER"
7216><I
7217>dtd</I
7218></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007219>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007220><TD
7221WIDTH="80%"
7222ALIGN="LEFT"
7223VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007224> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007225></TR
7226><TR
7227><TD
7228WIDTH="20%"
7229ALIGN="RIGHT"
7230VALIGN="TOP"
7231><TT
7232CLASS="PARAMETER"
7233><I
7234>elem</I
7235></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007236>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007237><TD
7238WIDTH="80%"
7239ALIGN="LEFT"
7240VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007241> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007242></TR
7243><TR
7244><TD
7245WIDTH="20%"
7246ALIGN="RIGHT"
7247VALIGN="TOP"
7248><TT
7249CLASS="PARAMETER"
7250><I
7251>name</I
7252></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007253>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007254><TD
7255WIDTH="80%"
7256ALIGN="LEFT"
7257VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007258> the attribute name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007259></TR
7260><TR
7261><TD
7262WIDTH="20%"
7263ALIGN="RIGHT"
7264VALIGN="TOP"
7265><I
7266CLASS="EMPHASIS"
7267>Returns</I
7268> :</TD
7269><TD
7270WIDTH="80%"
7271ALIGN="LEFT"
7272VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007273>the xmlAttributePtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007274></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007275></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007276></TABLE
7277><P
7278></P
7279></DIV
7280></DIV
7281><HR><DIV
7282CLASS="REFSECT2"
7283><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007284NAME="AEN10088"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007285></A
7286><H3
7287><A
7288NAME="XMLGETDTDQATTRDESC"
7289></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007290>xmlGetDtdQAttrDesc ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007291><TABLE
7292BORDER="0"
7293BGCOLOR="#D6E8FF"
7294WIDTH="100%"
7295CELLPADDING="6"
7296><TR
7297><TD
7298><PRE
7299CLASS="PROGRAMLISTING"
7300><A
7301HREF="libxml-tree.html#XMLATTRIBUTEPTR"
7302>xmlAttributePtr</A
7303> xmlGetDtdQAttrDesc (<A
7304HREF="libxml-tree.html#XMLDTDPTR"
7305>xmlDtdPtr</A
7306> dtd,
7307 const <A
7308HREF="libxml-tree.html#XMLCHAR"
7309>xmlChar</A
7310> *elem,
7311 const <A
7312HREF="libxml-tree.html#XMLCHAR"
7313>xmlChar</A
7314> *name,
7315 const <A
7316HREF="libxml-tree.html#XMLCHAR"
7317>xmlChar</A
7318> *prefix);</PRE
7319></TD
7320></TR
7321></TABLE
7322><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007323>Search the DTD for the description of this qualified attribute on
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007324this element.</P
7325><P
7326></P
7327><DIV
7328CLASS="INFORMALTABLE"
7329><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007330NAME="AEN10099"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007331></A
7332><P
7333></P
7334><TABLE
7335BORDER="0"
7336WIDTH="100%"
7337BGCOLOR="#FFD0D0"
7338CELLSPACING="0"
7339CELLPADDING="4"
7340CLASS="CALSTABLE"
7341><TBODY
7342><TR
7343><TD
7344WIDTH="20%"
7345ALIGN="RIGHT"
7346VALIGN="TOP"
7347><TT
7348CLASS="PARAMETER"
7349><I
7350>dtd</I
7351></TT
7352>&nbsp;:</TD
7353><TD
7354WIDTH="80%"
7355ALIGN="LEFT"
7356VALIGN="TOP"
7357> a pointer to the DtD to search</TD
7358></TR
7359><TR
7360><TD
7361WIDTH="20%"
7362ALIGN="RIGHT"
7363VALIGN="TOP"
7364><TT
7365CLASS="PARAMETER"
7366><I
7367>elem</I
7368></TT
7369>&nbsp;:</TD
7370><TD
7371WIDTH="80%"
7372ALIGN="LEFT"
7373VALIGN="TOP"
7374> the element name</TD
7375></TR
7376><TR
7377><TD
7378WIDTH="20%"
7379ALIGN="RIGHT"
7380VALIGN="TOP"
7381><TT
7382CLASS="PARAMETER"
7383><I
7384>name</I
7385></TT
7386>&nbsp;:</TD
7387><TD
7388WIDTH="80%"
7389ALIGN="LEFT"
7390VALIGN="TOP"
7391> the attribute name</TD
7392></TR
7393><TR
7394><TD
7395WIDTH="20%"
7396ALIGN="RIGHT"
7397VALIGN="TOP"
7398><TT
7399CLASS="PARAMETER"
7400><I
7401>prefix</I
7402></TT
7403>&nbsp;:</TD
7404><TD
7405WIDTH="80%"
7406ALIGN="LEFT"
7407VALIGN="TOP"
7408> the attribute namespace prefix</TD
7409></TR
7410><TR
7411><TD
7412WIDTH="20%"
7413ALIGN="RIGHT"
7414VALIGN="TOP"
7415><I
7416CLASS="EMPHASIS"
7417>Returns</I
7418> :</TD
7419><TD
7420WIDTH="80%"
7421ALIGN="LEFT"
7422VALIGN="TOP"
7423>the xmlAttributePtr if found or NULL</TD
7424></TR
7425></TBODY
7426></TABLE
7427><P
7428></P
7429></DIV
7430></DIV
7431><HR><DIV
7432CLASS="REFSECT2"
7433><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007434NAME="AEN10124"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007435></A
7436><H3
7437><A
7438NAME="XMLGETDTDNOTATIONDESC"
7439></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007440>xmlGetDtdNotationDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007441><TABLE
7442BORDER="0"
7443BGCOLOR="#D6E8FF"
7444WIDTH="100%"
7445CELLPADDING="6"
7446><TR
7447><TD
7448><PRE
7449CLASS="PROGRAMLISTING"
7450><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007451HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007452>xmlNotationPtr</A
7453> xmlGetDtdNotationDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007454HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007455>xmlDtdPtr</A
7456> dtd,
7457 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007458HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007459>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007460> *name);</PRE
7461></TD
7462></TR
7463></TABLE
7464><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007465>Search the DTD for the description of this notation</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007466><P
7467></P
7468><DIV
7469CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007470><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007471NAME="AEN10133"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007472></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007473><P
7474></P
7475><TABLE
7476BORDER="0"
7477WIDTH="100%"
7478BGCOLOR="#FFD0D0"
7479CELLSPACING="0"
7480CELLPADDING="4"
7481CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007482><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007483><TR
7484><TD
7485WIDTH="20%"
7486ALIGN="RIGHT"
7487VALIGN="TOP"
7488><TT
7489CLASS="PARAMETER"
7490><I
7491>dtd</I
7492></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007493>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007494><TD
7495WIDTH="80%"
7496ALIGN="LEFT"
7497VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007498> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007499></TR
7500><TR
7501><TD
7502WIDTH="20%"
7503ALIGN="RIGHT"
7504VALIGN="TOP"
7505><TT
7506CLASS="PARAMETER"
7507><I
7508>name</I
7509></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007510>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007511><TD
7512WIDTH="80%"
7513ALIGN="LEFT"
7514VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007515> the notation name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007516></TR
7517><TR
7518><TD
7519WIDTH="20%"
7520ALIGN="RIGHT"
7521VALIGN="TOP"
7522><I
7523CLASS="EMPHASIS"
7524>Returns</I
7525> :</TD
7526><TD
7527WIDTH="80%"
7528ALIGN="LEFT"
7529VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007530>the xmlNotationPtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007531></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007532></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007533></TABLE
7534><P
7535></P
7536></DIV
7537></DIV
7538><HR><DIV
7539CLASS="REFSECT2"
7540><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007541NAME="AEN10150"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007542></A
7543><H3
7544><A
7545NAME="XMLGETDTDQELEMENTDESC"
7546></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007547>xmlGetDtdQElementDesc ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007548><TABLE
7549BORDER="0"
7550BGCOLOR="#D6E8FF"
7551WIDTH="100%"
7552CELLPADDING="6"
7553><TR
7554><TD
7555><PRE
7556CLASS="PROGRAMLISTING"
7557><A
7558HREF="libxml-tree.html#XMLELEMENTPTR"
7559>xmlElementPtr</A
7560> xmlGetDtdQElementDesc (<A
7561HREF="libxml-tree.html#XMLDTDPTR"
7562>xmlDtdPtr</A
7563> dtd,
7564 const <A
7565HREF="libxml-tree.html#XMLCHAR"
7566>xmlChar</A
7567> *name,
7568 const <A
7569HREF="libxml-tree.html#XMLCHAR"
7570>xmlChar</A
7571> *prefix);</PRE
7572></TD
7573></TR
7574></TABLE
7575><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007576>Search the DTD for the description of this element</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007577><P
7578></P
7579><DIV
7580CLASS="INFORMALTABLE"
7581><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007582NAME="AEN10160"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007583></A
7584><P
7585></P
7586><TABLE
7587BORDER="0"
7588WIDTH="100%"
7589BGCOLOR="#FFD0D0"
7590CELLSPACING="0"
7591CELLPADDING="4"
7592CLASS="CALSTABLE"
7593><TBODY
7594><TR
7595><TD
7596WIDTH="20%"
7597ALIGN="RIGHT"
7598VALIGN="TOP"
7599><TT
7600CLASS="PARAMETER"
7601><I
7602>dtd</I
7603></TT
7604>&nbsp;:</TD
7605><TD
7606WIDTH="80%"
7607ALIGN="LEFT"
7608VALIGN="TOP"
7609> a pointer to the DtD to search</TD
7610></TR
7611><TR
7612><TD
7613WIDTH="20%"
7614ALIGN="RIGHT"
7615VALIGN="TOP"
7616><TT
7617CLASS="PARAMETER"
7618><I
7619>name</I
7620></TT
7621>&nbsp;:</TD
7622><TD
7623WIDTH="80%"
7624ALIGN="LEFT"
7625VALIGN="TOP"
7626> the element name</TD
7627></TR
7628><TR
7629><TD
7630WIDTH="20%"
7631ALIGN="RIGHT"
7632VALIGN="TOP"
7633><TT
7634CLASS="PARAMETER"
7635><I
7636>prefix</I
7637></TT
7638>&nbsp;:</TD
7639><TD
7640WIDTH="80%"
7641ALIGN="LEFT"
7642VALIGN="TOP"
7643> the element namespace prefix</TD
7644></TR
7645><TR
7646><TD
7647WIDTH="20%"
7648ALIGN="RIGHT"
7649VALIGN="TOP"
7650><I
7651CLASS="EMPHASIS"
7652>Returns</I
7653> :</TD
7654><TD
7655WIDTH="80%"
7656ALIGN="LEFT"
7657VALIGN="TOP"
7658>the xmlElementPtr if found or NULL</TD
7659></TR
7660></TBODY
7661></TABLE
7662><P
7663></P
7664></DIV
7665></DIV
7666><HR><DIV
7667CLASS="REFSECT2"
7668><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007669NAME="AEN10181"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007670></A
7671><H3
7672><A
7673NAME="XMLGETDTDELEMENTDESC"
7674></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007675>xmlGetDtdElementDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007676><TABLE
7677BORDER="0"
7678BGCOLOR="#D6E8FF"
7679WIDTH="100%"
7680CELLPADDING="6"
7681><TR
7682><TD
7683><PRE
7684CLASS="PROGRAMLISTING"
7685><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007686HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007687>xmlElementPtr</A
7688> xmlGetDtdElementDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007689HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007690>xmlDtdPtr</A
7691> dtd,
7692 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007693HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007694>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007695> *name);</PRE
7696></TD
7697></TR
7698></TABLE
7699><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007700>Search the DTD for the description of this element</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007701><P
7702></P
7703><DIV
7704CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007705><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007706NAME="AEN10190"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007707></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007708><P
7709></P
7710><TABLE
7711BORDER="0"
7712WIDTH="100%"
7713BGCOLOR="#FFD0D0"
7714CELLSPACING="0"
7715CELLPADDING="4"
7716CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007717><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007718><TR
7719><TD
7720WIDTH="20%"
7721ALIGN="RIGHT"
7722VALIGN="TOP"
7723><TT
7724CLASS="PARAMETER"
7725><I
7726>dtd</I
7727></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007728>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007729><TD
7730WIDTH="80%"
7731ALIGN="LEFT"
7732VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007733> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007734></TR
7735><TR
7736><TD
7737WIDTH="20%"
7738ALIGN="RIGHT"
7739VALIGN="TOP"
7740><TT
7741CLASS="PARAMETER"
7742><I
7743>name</I
7744></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007745>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007746><TD
7747WIDTH="80%"
7748ALIGN="LEFT"
7749VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007750> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007751></TR
7752><TR
7753><TD
7754WIDTH="20%"
7755ALIGN="RIGHT"
7756VALIGN="TOP"
7757><I
7758CLASS="EMPHASIS"
7759>Returns</I
7760> :</TD
7761><TD
7762WIDTH="80%"
7763ALIGN="LEFT"
7764VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007765>the xmlElementPtr if found or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007766></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007767></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007768></TABLE
7769><P
7770></P
7771></DIV
7772></DIV
7773><HR><DIV
7774CLASS="REFSECT2"
7775><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007776NAME="AEN10207"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007777></A
7778><H3
7779><A
7780NAME="XMLVALIDGETVALIDELEMENTS"
7781></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007782>xmlValidGetValidElements ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007783><TABLE
7784BORDER="0"
7785BGCOLOR="#D6E8FF"
7786WIDTH="100%"
7787CELLPADDING="6"
7788><TR
7789><TD
7790><PRE
7791CLASS="PROGRAMLISTING"
7792>int xmlValidGetValidElements (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007793HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007794>xmlNode</A
7795> *prev,
7796 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007797HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007798>xmlNode</A
7799> *next,
7800 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007801HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007802>xmlChar</A
7803> **list,
7804 int max);</PRE
7805></TD
7806></TR
7807></TABLE
7808><P
7809>This function returns the list of authorized children to insert
7810within an existing tree while respecting the validity constraints
7811forced by the Dtd. The insertion point is defined using <TT
7812CLASS="PARAMETER"
7813><I
7814>prev</I
7815></TT
7816> and
7817<TT
7818CLASS="PARAMETER"
7819><I
7820>next</I
7821></TT
7822> in the following ways:
Daniel Veillardaf43f632002-03-08 15:05:20 +00007823to insert before 'node': xmlValidGetValidElements(node-&gt;prev, node, ...
7824to insert next 'node': xmlValidGetValidElements(node, node-&gt;next, ...
7825to replace 'node': xmlValidGetValidElements(node-&gt;prev, node-&gt;next, ...
7826to prepend a child to 'node': xmlValidGetValidElements(NULL, node-&gt;childs,
7827to append a child to 'node': xmlValidGetValidElements(node-&gt;last, NULL, ...</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007828><P
7829>pointers to the element names are inserted at the beginning of the array
7830and do not need to be freed.</P
7831><P
7832></P
7833><DIV
7834CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007835><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007836NAME="AEN10219"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007837></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007838><P
7839></P
7840><TABLE
7841BORDER="0"
7842WIDTH="100%"
7843BGCOLOR="#FFD0D0"
7844CELLSPACING="0"
7845CELLPADDING="4"
7846CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007847><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007848><TR
7849><TD
7850WIDTH="20%"
7851ALIGN="RIGHT"
7852VALIGN="TOP"
7853><TT
7854CLASS="PARAMETER"
7855><I
7856>prev</I
7857></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007858>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007859><TD
7860WIDTH="80%"
7861ALIGN="LEFT"
7862VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007863> an element to insert after</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007864></TR
7865><TR
7866><TD
7867WIDTH="20%"
7868ALIGN="RIGHT"
7869VALIGN="TOP"
7870><TT
7871CLASS="PARAMETER"
7872><I
7873>next</I
7874></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007875>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007876><TD
7877WIDTH="80%"
7878ALIGN="LEFT"
7879VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007880> an element to insert next</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007881></TR
7882><TR
7883><TD
7884WIDTH="20%"
7885ALIGN="RIGHT"
7886VALIGN="TOP"
7887><TT
7888CLASS="PARAMETER"
7889><I
7890>list</I
7891></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007892>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007893><TD
7894WIDTH="80%"
7895ALIGN="LEFT"
7896VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007897> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007898></TR
7899><TR
7900><TD
7901WIDTH="20%"
7902ALIGN="RIGHT"
7903VALIGN="TOP"
7904><TT
7905CLASS="PARAMETER"
7906><I
7907>max</I
7908></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007909>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007910><TD
7911WIDTH="80%"
7912ALIGN="LEFT"
7913VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007914> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007915></TR
7916><TR
7917><TD
7918WIDTH="20%"
7919ALIGN="RIGHT"
7920VALIGN="TOP"
7921><I
7922CLASS="EMPHASIS"
7923>Returns</I
7924> :</TD
7925><TD
7926WIDTH="80%"
7927ALIGN="LEFT"
7928VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007929>the number of element in the list, or -1 in case of error. If
Daniel Veillardaf43f632002-03-08 15:05:20 +00007930the function returns the value <TT
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007931CLASS="PARAMETER"
7932><I
7933>max</I
7934></TT
7935> the caller is invited to grow the
Daniel Veillardaf43f632002-03-08 15:05:20 +00007936receiving array and retry.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007937></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007938></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007939></TABLE
7940><P
7941></P
7942></DIV
7943></DIV
7944><HR><DIV
7945CLASS="REFSECT2"
7946><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007947NAME="AEN10245"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007948></A
7949><H3
7950><A
7951NAME="XMLVALIDGETPOTENTIALCHILDREN"
7952></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007953>xmlValidGetPotentialChildren ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007954><TABLE
7955BORDER="0"
7956BGCOLOR="#D6E8FF"
7957WIDTH="100%"
7958CELLPADDING="6"
7959><TR
7960><TD
7961><PRE
7962CLASS="PROGRAMLISTING"
7963>int xmlValidGetPotentialChildren (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007964HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007965>xmlElementContent</A
7966> *ctree,
7967 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007968HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007969>xmlChar</A
7970> **list,
7971 int *len,
7972 int max);</PRE
7973></TD
7974></TR
7975></TABLE
7976><P
7977>Build/extend a list of potential children allowed by the content tree</P
7978><P
7979></P
7980><DIV
7981CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007982><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007983NAME="AEN10253"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007984></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007985><P
7986></P
7987><TABLE
7988BORDER="0"
7989WIDTH="100%"
7990BGCOLOR="#FFD0D0"
7991CELLSPACING="0"
7992CELLPADDING="4"
7993CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007994><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007995><TR
7996><TD
7997WIDTH="20%"
7998ALIGN="RIGHT"
7999VALIGN="TOP"
8000><TT
8001CLASS="PARAMETER"
8002><I
8003>ctree</I
8004></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008005>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008006><TD
8007WIDTH="80%"
8008ALIGN="LEFT"
8009VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008010> an element content tree</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008011></TR
8012><TR
8013><TD
8014WIDTH="20%"
8015ALIGN="RIGHT"
8016VALIGN="TOP"
8017><TT
8018CLASS="PARAMETER"
8019><I
8020>list</I
8021></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008022>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008023><TD
8024WIDTH="80%"
8025ALIGN="LEFT"
8026VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008027> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008028></TR
8029><TR
8030><TD
8031WIDTH="20%"
8032ALIGN="RIGHT"
8033VALIGN="TOP"
8034><TT
8035CLASS="PARAMETER"
8036><I
8037>len</I
8038></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008039>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008040><TD
8041WIDTH="80%"
8042ALIGN="LEFT"
8043VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008044> a pointer to the number of element in the list</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008045></TR
8046><TR
8047><TD
8048WIDTH="20%"
8049ALIGN="RIGHT"
8050VALIGN="TOP"
8051><TT
8052CLASS="PARAMETER"
8053><I
8054>max</I
8055></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008056>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008057><TD
8058WIDTH="80%"
8059ALIGN="LEFT"
8060VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008061> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008062></TR
8063><TR
8064><TD
8065WIDTH="20%"
8066ALIGN="RIGHT"
8067VALIGN="TOP"
8068><I
8069CLASS="EMPHASIS"
8070>Returns</I
8071> :</TD
8072><TD
8073WIDTH="80%"
8074ALIGN="LEFT"
8075VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008076>the number of element in the list, or -1 in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008077></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008078></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008079></TABLE
8080><P
8081></P
8082></DIV
8083></DIV
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008084><HR><DIV
8085CLASS="REFSECT2"
8086><A
8087NAME="AEN10278"
8088></A
8089><H3
8090><A
8091NAME="XMLVALIDATENAMEVALUE"
8092></A
8093>xmlValidateNameValue ()</H3
8094><TABLE
8095BORDER="0"
8096BGCOLOR="#D6E8FF"
8097WIDTH="100%"
8098CELLPADDING="6"
8099><TR
8100><TD
8101><PRE
8102CLASS="PROGRAMLISTING"
8103>int xmlValidateNameValue (const <A
8104HREF="libxml-tree.html#XMLCHAR"
8105>xmlChar</A
8106> *value);</PRE
8107></TD
8108></TR
8109></TABLE
8110><P
8111>Validate that the given value match Name production</P
8112><P
8113></P
8114><DIV
8115CLASS="INFORMALTABLE"
8116><A
8117NAME="AEN10285"
8118></A
8119><P
8120></P
8121><TABLE
8122BORDER="0"
8123WIDTH="100%"
8124BGCOLOR="#FFD0D0"
8125CELLSPACING="0"
8126CELLPADDING="4"
8127CLASS="CALSTABLE"
8128><TBODY
8129><TR
8130><TD
8131WIDTH="20%"
8132ALIGN="RIGHT"
8133VALIGN="TOP"
8134><TT
8135CLASS="PARAMETER"
8136><I
8137>value</I
8138></TT
8139>&nbsp;:</TD
8140><TD
8141WIDTH="80%"
8142ALIGN="LEFT"
8143VALIGN="TOP"
8144> an Name value</TD
8145></TR
8146><TR
8147><TD
8148WIDTH="20%"
8149ALIGN="RIGHT"
8150VALIGN="TOP"
8151><I
8152CLASS="EMPHASIS"
8153>Returns</I
8154> :</TD
8155><TD
8156WIDTH="80%"
8157ALIGN="LEFT"
8158VALIGN="TOP"
8159>1 if valid or 0 otherwise</TD
8160></TR
8161></TBODY
8162></TABLE
8163><P
8164></P
8165></DIV
8166></DIV
8167><HR><DIV
8168CLASS="REFSECT2"
8169><A
8170NAME="AEN10298"
8171></A
8172><H3
8173><A
8174NAME="XMLVALIDATENAMESVALUE"
8175></A
8176>xmlValidateNamesValue ()</H3
8177><TABLE
8178BORDER="0"
8179BGCOLOR="#D6E8FF"
8180WIDTH="100%"
8181CELLPADDING="6"
8182><TR
8183><TD
8184><PRE
8185CLASS="PROGRAMLISTING"
8186>int xmlValidateNamesValue (const <A
8187HREF="libxml-tree.html#XMLCHAR"
8188>xmlChar</A
8189> *value);</PRE
8190></TD
8191></TR
8192></TABLE
8193><P
8194>Validate that the given value match Names production</P
8195><P
8196></P
8197><DIV
8198CLASS="INFORMALTABLE"
8199><A
8200NAME="AEN10305"
8201></A
8202><P
8203></P
8204><TABLE
8205BORDER="0"
8206WIDTH="100%"
8207BGCOLOR="#FFD0D0"
8208CELLSPACING="0"
8209CELLPADDING="4"
8210CLASS="CALSTABLE"
8211><TBODY
8212><TR
8213><TD
8214WIDTH="20%"
8215ALIGN="RIGHT"
8216VALIGN="TOP"
8217><TT
8218CLASS="PARAMETER"
8219><I
8220>value</I
8221></TT
8222>&nbsp;:</TD
8223><TD
8224WIDTH="80%"
8225ALIGN="LEFT"
8226VALIGN="TOP"
8227> an Names value</TD
8228></TR
8229><TR
8230><TD
8231WIDTH="20%"
8232ALIGN="RIGHT"
8233VALIGN="TOP"
8234><I
8235CLASS="EMPHASIS"
8236>Returns</I
8237> :</TD
8238><TD
8239WIDTH="80%"
8240ALIGN="LEFT"
8241VALIGN="TOP"
8242>1 if valid or 0 otherwise</TD
8243></TR
8244></TBODY
8245></TABLE
8246><P
8247></P
8248></DIV
8249></DIV
8250><HR><DIV
8251CLASS="REFSECT2"
8252><A
8253NAME="AEN10318"
8254></A
8255><H3
8256><A
8257NAME="XMLVALIDATENMTOKENVALUE"
8258></A
8259>xmlValidateNmtokenValue ()</H3
8260><TABLE
8261BORDER="0"
8262BGCOLOR="#D6E8FF"
8263WIDTH="100%"
8264CELLPADDING="6"
8265><TR
8266><TD
8267><PRE
8268CLASS="PROGRAMLISTING"
8269>int xmlValidateNmtokenValue (const <A
8270HREF="libxml-tree.html#XMLCHAR"
8271>xmlChar</A
8272> *value);</PRE
8273></TD
8274></TR
8275></TABLE
8276><P
8277>Validate that the given value match Nmtoken production</P
8278><P
8279>[ VC: Name Token ]</P
8280><P
8281></P
8282><DIV
8283CLASS="INFORMALTABLE"
8284><A
8285NAME="AEN10326"
8286></A
8287><P
8288></P
8289><TABLE
8290BORDER="0"
8291WIDTH="100%"
8292BGCOLOR="#FFD0D0"
8293CELLSPACING="0"
8294CELLPADDING="4"
8295CLASS="CALSTABLE"
8296><TBODY
8297><TR
8298><TD
8299WIDTH="20%"
8300ALIGN="RIGHT"
8301VALIGN="TOP"
8302><TT
8303CLASS="PARAMETER"
8304><I
8305>value</I
8306></TT
8307>&nbsp;:</TD
8308><TD
8309WIDTH="80%"
8310ALIGN="LEFT"
8311VALIGN="TOP"
8312> an Nmtoken value</TD
8313></TR
8314><TR
8315><TD
8316WIDTH="20%"
8317ALIGN="RIGHT"
8318VALIGN="TOP"
8319><I
8320CLASS="EMPHASIS"
8321>Returns</I
8322> :</TD
8323><TD
8324WIDTH="80%"
8325ALIGN="LEFT"
8326VALIGN="TOP"
8327>1 if valid or 0 otherwise</TD
8328></TR
8329></TBODY
8330></TABLE
8331><P
8332></P
8333></DIV
8334></DIV
8335><HR><DIV
8336CLASS="REFSECT2"
8337><A
8338NAME="AEN10339"
8339></A
8340><H3
8341><A
8342NAME="XMLVALIDATENMTOKENSVALUE"
8343></A
8344>xmlValidateNmtokensValue ()</H3
8345><TABLE
8346BORDER="0"
8347BGCOLOR="#D6E8FF"
8348WIDTH="100%"
8349CELLPADDING="6"
8350><TR
8351><TD
8352><PRE
8353CLASS="PROGRAMLISTING"
8354>int xmlValidateNmtokensValue (const <A
8355HREF="libxml-tree.html#XMLCHAR"
8356>xmlChar</A
8357> *value);</PRE
8358></TD
8359></TR
8360></TABLE
8361><P
8362>Validate that the given value match Nmtokens production</P
8363><P
8364>[ VC: Name Token ]</P
8365><P
8366></P
8367><DIV
8368CLASS="INFORMALTABLE"
8369><A
8370NAME="AEN10347"
8371></A
8372><P
8373></P
8374><TABLE
8375BORDER="0"
8376WIDTH="100%"
8377BGCOLOR="#FFD0D0"
8378CELLSPACING="0"
8379CELLPADDING="4"
8380CLASS="CALSTABLE"
8381><TBODY
8382><TR
8383><TD
8384WIDTH="20%"
8385ALIGN="RIGHT"
8386VALIGN="TOP"
8387><TT
8388CLASS="PARAMETER"
8389><I
8390>value</I
8391></TT
8392>&nbsp;:</TD
8393><TD
8394WIDTH="80%"
8395ALIGN="LEFT"
8396VALIGN="TOP"
8397> an Nmtokens value</TD
8398></TR
8399><TR
8400><TD
8401WIDTH="20%"
8402ALIGN="RIGHT"
8403VALIGN="TOP"
8404><I
8405CLASS="EMPHASIS"
8406>Returns</I
8407> :</TD
8408><TD
8409WIDTH="80%"
8410ALIGN="LEFT"
8411VALIGN="TOP"
8412>1 if valid or 0 otherwise</TD
8413></TR
8414></TBODY
8415></TABLE
8416><P
8417></P
8418></DIV
8419></DIV
Daniel Veillard35925471999-02-25 08:46:07 +00008420></DIV
8421><DIV
8422CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00008423><BR
8424CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00008425WIDTH="100%"
8426BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008427BGCOLOR="#000000"
8428CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00008429CELLSPACING="0"
8430><TR
8431><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008432WIDTH="25%"
8433BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00008434ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00008435><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008436HREF="libxml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008437><FONT
8438COLOR="#FFFFFF"
8439SIZE="3"
8440><B
8441>&#60;&#60;&#60; Previous Page</B
8442></FONT
8443></A
Daniel Veillard35925471999-02-25 08:46:07 +00008444></TD
8445><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008446WIDTH="25%"
8447BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00008448ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00008449><FONT
8450COLOR="#FFFFFF"
8451SIZE="3"
8452><B
Daniel Veillard35925471999-02-25 08:46:07 +00008453><A
8454HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008455><FONT
8456COLOR="#FFFFFF"
8457SIZE="3"
8458><B
8459>Home</B
8460></FONT
8461></A
8462></B
8463></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00008464></TD
8465><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008466WIDTH="25%"
8467BGCOLOR="#00C000"
8468ALIGN="center"
8469><FONT
8470COLOR="#FFFFFF"
8471SIZE="3"
8472><B
8473><A
Daniel Veillard35008381999-10-25 13:15:52 +00008474HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008475><FONT
8476COLOR="#FFFFFF"
8477SIZE="3"
8478><B
8479>Up</B
8480></FONT
8481></A
8482></B
8483></FONT
8484></TD
8485><TD
8486WIDTH="25%"
8487BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00008488ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00008489><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008490HREF="libxml-uri.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008491><FONT
8492COLOR="#FFFFFF"
8493SIZE="3"
8494><B
8495>Next Page &#62;&#62;&#62;</B
8496></FONT
8497></A
Daniel Veillard35925471999-02-25 08:46:07 +00008498></TD
8499></TR
8500><TR
8501><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008502COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00008503ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00008504><FONT
8505COLOR="#FFFFFF"
8506SIZE="3"
8507><B
8508>entities</B
8509></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00008510></TD
8511><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008512COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00008513ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00008514><FONT
8515COLOR="#FFFFFF"
8516SIZE="3"
8517><B
Daniel Veillard8f621982000-03-20 13:07:15 +00008518>uri</B
Daniel Veillard14fff061999-06-22 21:49:07 +00008519></FONT
8520></TD
Daniel Veillard35925471999-02-25 08:46:07 +00008521></TR
8522></TABLE
8523></DIV
8524></BODY
8525></HTML
8526>