blob: e1a4ca259ffec335e43de138784894f8a187631f [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>valid</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard539638b2002-07-06 19:55:14 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
Daniel Veillard60087f32001-10-10 09:45:09 +00008"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +00009REL="HOME"
10TITLE="Gnome XML Library Reference Manual"
11HREF="book1.html"><LINK
12REL="UP"
Daniel Veillard35008381999-10-25 13:15:52 +000013TITLE="Libxml Library Reference"
14HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000015REL="PREVIOUS"
16TITLE="entities"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000017HREF="libxml-entities.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000018REL="NEXT"
Daniel Veillard8f621982000-03-20 13:07:15 +000019TITLE="uri"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000020HREF="libxml-uri.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000021><BODY
Daniel Veillardbed7b052001-05-19 14:59:49 +000022CLASS="REFENTRY"
Daniel Veillard35925471999-02-25 08:46:07 +000023BGCOLOR="#FFFFFF"
24TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000025LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
Daniel Veillard35925471999-02-25 08:46:07 +000028><DIV
29CLASS="NAVHEADER"
30><TABLE
31WIDTH="100%"
32BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000033BGCOLOR="#000000"
34CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000035CELLSPACING="0"
36><TR
37><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000038COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000039ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000040><FONT
41COLOR="#FFFFFF"
42SIZE="5"
43>Gnome XML Library Reference Manual</FONT
44></TH
Daniel Veillard35925471999-02-25 08:46:07 +000045></TR
46><TR
47><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000048WIDTH="25%"
49BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000050ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000051><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000052HREF="libxml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000053><FONT
54COLOR="#FFFFFF"
55SIZE="3"
56><B
57>&#60;&#60;&#60; Previous Page</B
58></FONT
59></A
Daniel Veillard35925471999-02-25 08:46:07 +000060></TD
61><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000062WIDTH="25%"
63BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000064ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000065><FONT
66COLOR="#FFFFFF"
67SIZE="3"
68><B
69><A
70HREF="book1.html"
71><FONT
72COLOR="#FFFFFF"
73SIZE="3"
74><B
75>Home</B
76></FONT
77></A
78></B
79></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000080></TD
81><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000082WIDTH="25%"
83BGCOLOR="#00C000"
84ALIGN="center"
85><FONT
86COLOR="#FFFFFF"
87SIZE="3"
88><B
89><A
Daniel Veillard35008381999-10-25 13:15:52 +000090HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000091><FONT
92COLOR="#FFFFFF"
93SIZE="3"
94><B
95>Up</B
96></FONT
97></A
98></B
99></FONT
100></TD
101><TD
102WIDTH="25%"
103BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +0000104ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +0000105><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000106HREF="libxml-uri.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000107><FONT
108COLOR="#FFFFFF"
109SIZE="3"
110><B
111>Next Page &#62;&#62;&#62;</B
112></FONT
113></A
Daniel Veillard35925471999-02-25 08:46:07 +0000114></TD
115></TR
116></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000117></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000118><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000119><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000120NAME="LIBXML-VALID">valid</H1
Daniel Veillard35925471999-02-25 08:46:07 +0000121><DIV
122CLASS="REFNAMEDIV"
123><A
Daniel Veillard2ace1952002-09-26 12:28:02 +0000124NAME="AEN8587"
Daniel Veillard35925471999-02-25 08:46:07 +0000125></A
126><H2
127>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000128>valid&nbsp;--&nbsp;</DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000129><DIV
130CLASS="REFSYNOPSISDIV"
131><A
Daniel Veillard2ace1952002-09-26 12:28:02 +0000132NAME="AEN8590"><H2
Daniel Veillard35925471999-02-25 08:46:07 +0000133>Synopsis</H2
134><TABLE
135BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000136BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000137WIDTH="100%"
138CELLPADDING="6"
139><TR
140><TD
141><PRE
142CLASS="SYNOPSIS"
143>&#13;
144
Daniel Veillarda41123c2001-04-22 19:31:20 +0000145struct <A
146HREF="libxml-valid.html#XMLVALIDSTATE"
147>xmlValidState</A
148>;
149typedef <A
150HREF="libxml-valid.html#XMLVALIDSTATEPTR"
151>xmlValidStatePtr</A
152>;
Daniel Veillardb05deb71999-08-10 19:04:08 +0000153void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000154HREF="libxml-valid.html#XMLVALIDITYERRORFUNC"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000155>*xmlValidityErrorFunc</A
156>) (void *ctx,
157 const char *msg,
158 ...);
159void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000160HREF="libxml-valid.html#XMLVALIDITYWARNINGFUNC"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000161>*xmlValidityWarningFunc</A
162>) (void *ctx,
163 const char *msg,
164 ...);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000165struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000166HREF="libxml-valid.html#XMLVALIDCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000167>xmlValidCtxt</A
168>;
169typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000170HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000171>xmlValidCtxtPtr</A
172>;
Daniel Veillard35925471999-02-25 08:46:07 +0000173typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000174HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000175>xmlNotationTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000176>;
Daniel Veillard35925471999-02-25 08:46:07 +0000177typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000178HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000179>xmlElementTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000180>;
Daniel Veillard35925471999-02-25 08:46:07 +0000181typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000182HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000183>xmlAttributeTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000184>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000185typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000186HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000187>xmlIDTablePtr</A
188>;
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000189typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000190HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000191>xmlRefTablePtr</A
192>;
Daniel Veillard35925471999-02-25 08:46:07 +0000193<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000194HREF="libxml-tree.html#XMLCHAR"
195>xmlChar</A
196>* <A
197HREF="libxml-valid.html#XMLSPLITQNAME2"
198>xmlSplitQName2</A
199> (const <A
200HREF="libxml-tree.html#XMLCHAR"
201>xmlChar</A
202> *name,
203 <A
204HREF="libxml-tree.html#XMLCHAR"
205>xmlChar</A
206> **prefix);
207<A
208HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000209>xmlNotationPtr</A
210> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000211HREF="libxml-valid.html#XMLADDNOTATIONDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000212>xmlAddNotationDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000213> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000214HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000215>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000216> ctxt,
217 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000218HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000219>xmlDtdPtr</A
220> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000221 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000222HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000223>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000224> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000225 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000226HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000227>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000228> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000229 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000230HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000231>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000232> *SystemID);
233<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000234HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000235>xmlNotationTablePtr</A
236> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000237HREF="libxml-valid.html#XMLCOPYNOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000238>xmlCopyNotationTable</A
239> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000240HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000241>xmlNotationTablePtr</A
242> table);
243void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000244HREF="libxml-valid.html#XMLFREENOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000245>xmlFreeNotationTable</A
246> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000247HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000248>xmlNotationTablePtr</A
249> table);
250void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000251HREF="libxml-valid.html#XMLDUMPNOTATIONDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000252>xmlDumpNotationDecl</A
253> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000254HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000255>xmlBufferPtr</A
256> buf,
257 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000258HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000259>xmlNotationPtr</A
260> nota);
261void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000262HREF="libxml-valid.html#XMLDUMPNOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000263>xmlDumpNotationTable</A
264> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000265HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000266>xmlBufferPtr</A
267> buf,
268 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000269HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000270>xmlNotationTablePtr</A
271> table);
272<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000273HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000274>xmlElementContentPtr</A
275> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000276HREF="libxml-valid.html#XMLNEWELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000277>xmlNewElementContent</A
278> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000279HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000280>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000281> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000282 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000283HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000284>xmlElementContentType</A
285> type);
Daniel Veillard35925471999-02-25 08:46:07 +0000286<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000287HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000288>xmlElementContentPtr</A
289> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000290HREF="libxml-valid.html#XMLCOPYELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000291>xmlCopyElementContent</A
292> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000293HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000294>xmlElementContentPtr</A
295> content);
296void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000297HREF="libxml-valid.html#XMLFREEELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000298>xmlFreeElementContent</A
299> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000300HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000301>xmlElementContentPtr</A
302> cur);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000303void <A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000304HREF="libxml-valid.html#XMLSNPRINTFELEMENTCONTENT"
305>xmlSnprintfElementContent</A
306> (char *buf,
307 int size,
308 <A
309HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
310>xmlElementContentPtr</A
311> content,
312 int glob);
313void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000314HREF="libxml-valid.html#XMLSPRINTFELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000315>xmlSprintfElementContent</A
316> (char *buf,
317 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000318HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000319>xmlElementContentPtr</A
320> content,
321 int glob);
Daniel Veillard35925471999-02-25 08:46:07 +0000322<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000323HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000324>xmlElementPtr</A
325> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000326HREF="libxml-valid.html#XMLADDELEMENTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000327>xmlAddElementDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000328> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000329HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000330>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000331> ctxt,
332 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000333HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000334>xmlDtdPtr</A
335> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000336 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000337HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000338>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000339> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000340 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000341HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000342>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000343> type,
Daniel Veillard35925471999-02-25 08:46:07 +0000344 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000345HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000346>xmlElementContentPtr</A
347> content);
348<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000349HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000350>xmlElementTablePtr</A
351> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000352HREF="libxml-valid.html#XMLCOPYELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000353>xmlCopyElementTable</A
354> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000355HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000356>xmlElementTablePtr</A
357> table);
358void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000359HREF="libxml-valid.html#XMLFREEELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000360>xmlFreeElementTable</A
361> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000362HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000363>xmlElementTablePtr</A
364> table);
365void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000366HREF="libxml-valid.html#XMLDUMPELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000367>xmlDumpElementTable</A
368> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000369HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000370>xmlBufferPtr</A
371> buf,
372 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000373HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000374>xmlElementTablePtr</A
375> table);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000376void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000377HREF="libxml-valid.html#XMLDUMPELEMENTDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000378>xmlDumpElementDecl</A
379> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000380HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000381>xmlBufferPtr</A
382> buf,
383 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000384HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000385>xmlElementPtr</A
386> elem);
Daniel Veillard35925471999-02-25 08:46:07 +0000387<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000388HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000389>xmlEnumerationPtr</A
390> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000391HREF="libxml-valid.html#XMLCREATEENUMERATION"
Daniel Veillard35925471999-02-25 08:46:07 +0000392>xmlCreateEnumeration</A
393> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000394HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000395>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000396> *name);
397void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000398HREF="libxml-valid.html#XMLFREEENUMERATION"
Daniel Veillard35925471999-02-25 08:46:07 +0000399>xmlFreeEnumeration</A
400> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000401HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000402>xmlEnumerationPtr</A
403> cur);
404<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000405HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000406>xmlEnumerationPtr</A
407> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000408HREF="libxml-valid.html#XMLCOPYENUMERATION"
Daniel Veillard35925471999-02-25 08:46:07 +0000409>xmlCopyEnumeration</A
410> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000411HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000412>xmlEnumerationPtr</A
413> cur);
414<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000415HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000416>xmlAttributePtr</A
417> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000418HREF="libxml-valid.html#XMLADDATTRIBUTEDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000419>xmlAddAttributeDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000420> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000421HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000422>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000423> ctxt,
424 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000425HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000426>xmlDtdPtr</A
427> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000428 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000429HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000430>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000431> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000432 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000433HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000434>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000435> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000436 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000437HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000438>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +0000439> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000440 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000441HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000442>xmlAttributeType</A
443> type,
444 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000445HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000446>xmlAttributeDefault</A
447> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000448 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000449HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000450>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000451> *defaultValue,
452 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000453HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000454>xmlEnumerationPtr</A
455> tree);
456<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000457HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000458>xmlAttributeTablePtr</A
459> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000460HREF="libxml-valid.html#XMLCOPYATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000461>xmlCopyAttributeTable</A
462> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000463HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000464>xmlAttributeTablePtr</A
465> table);
466void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000467HREF="libxml-valid.html#XMLFREEATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000468>xmlFreeAttributeTable</A
469> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000470HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000471>xmlAttributeTablePtr</A
472> table);
473void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000474HREF="libxml-valid.html#XMLDUMPATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000475>xmlDumpAttributeTable</A
476> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000477HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000478>xmlBufferPtr</A
479> buf,
480 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000481HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000482>xmlAttributeTablePtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000483> table);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000484void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000485HREF="libxml-valid.html#XMLDUMPATTRIBUTEDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000486>xmlDumpAttributeDecl</A
487> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000488HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000489>xmlBufferPtr</A
490> buf,
491 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000492HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000493>xmlAttributePtr</A
494> attr);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000495<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000496HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000497>xmlIDPtr</A
498> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000499HREF="libxml-valid.html#XMLADDID"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000500>xmlAddID</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000501> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000502HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000503>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000504> ctxt,
505 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000506HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000507>xmlDocPtr</A
508> doc,
509 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000510HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000511>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000512> *value,
513 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000514HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000515>xmlAttrPtr</A
516> attr);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000517void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000518HREF="libxml-valid.html#XMLFREEIDTABLE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000519>xmlFreeIDTable</A
520> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000521HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000522>xmlIDTablePtr</A
523> table);
524<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000525HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000526>xmlAttrPtr</A
527> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000528HREF="libxml-valid.html#XMLGETID"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000529>xmlGetID</A
530> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000531HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000532>xmlDocPtr</A
533> doc,
534 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000535HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000536>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000537> *ID);
538int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000539HREF="libxml-valid.html#XMLISID"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000540>xmlIsID</A
541> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000542HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000543>xmlDocPtr</A
544> doc,
545 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000546HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000547>xmlNodePtr</A
548> elem,
549 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000550HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000551>xmlAttrPtr</A
552> attr);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000553int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000554HREF="libxml-valid.html#XMLREMOVEID"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000555>xmlRemoveID</A
556> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000557HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000558>xmlDocPtr</A
559> doc,
560 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000561HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000562>xmlAttrPtr</A
563> attr);
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000564<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000565HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000566>xmlRefPtr</A
567> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000568HREF="libxml-valid.html#XMLADDREF"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000569>xmlAddRef</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000570> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000571HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000572>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000573> ctxt,
574 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000575HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000576>xmlDocPtr</A
577> doc,
578 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000579HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000580>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000581> *value,
582 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000583HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000584>xmlAttrPtr</A
585> attr);
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000586void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000587HREF="libxml-valid.html#XMLFREEREFTABLE"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000588>xmlFreeRefTable</A
589> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000590HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000591>xmlRefTablePtr</A
592> table);
593int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000594HREF="libxml-valid.html#XMLISREF"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000595>xmlIsRef</A
596> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000597HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000598>xmlDocPtr</A
599> doc,
600 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000601HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000602>xmlNodePtr</A
603> elem,
604 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000605HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000606>xmlAttrPtr</A
607> attr);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000608int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000609HREF="libxml-valid.html#XMLREMOVEREF"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000610>xmlRemoveRef</A
611> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000612HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000613>xmlDocPtr</A
614> doc,
615 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000616HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000617>xmlAttrPtr</A
618> attr);
Daniel Veillarda41123c2001-04-22 19:31:20 +0000619<GTKDOCLINK
620HREF="XMLLISTPTR"
621>xmlListPtr</GTKDOCLINK
622> <A
623HREF="libxml-valid.html#XMLGETREFS"
624>xmlGetRefs</A
625> (<A
626HREF="libxml-tree.html#XMLDOCPTR"
627>xmlDocPtr</A
628> doc,
629 const <A
630HREF="libxml-tree.html#XMLCHAR"
631>xmlChar</A
632> *ID);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000633int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000634HREF="libxml-valid.html#XMLVALIDATEROOT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000635>xmlValidateRoot</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000636> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000637HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000638>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000639> ctxt,
640 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000641HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000642>xmlDocPtr</A
643> doc);
644int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000645HREF="libxml-valid.html#XMLVALIDATEELEMENTDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000646>xmlValidateElementDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000647> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000648HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000649>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000650> ctxt,
651 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000652HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000653>xmlDocPtr</A
654> doc,
655 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000656HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000657>xmlElementPtr</A
658> elem);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000659<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000660HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000661>xmlChar</A
662>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000663HREF="libxml-valid.html#XMLVALIDNORMALIZEATTRIBUTEVALUE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000664>xmlValidNormalizeAttributeValue</A
665> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000666HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000667>xmlDocPtr</A
668> doc,
669 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000670HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000671>xmlNodePtr</A
672> elem,
673 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000674HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000675>xmlChar</A
676> *name,
677 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000678HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000679>xmlChar</A
680> *value);
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000681<A
682HREF="libxml-tree.html#XMLCHAR"
683>xmlChar</A
684>* <A
685HREF="libxml-valid.html#XMLVALIDCTXTNORMALIZEATTRIBUTEVALUE"
686>xmlValidCtxtNormalizeAttributeValue</A
687>
688 (<A
689HREF="libxml-valid.html#XMLVALIDCTXTPTR"
690>xmlValidCtxtPtr</A
691> ctxt,
692 <A
693HREF="libxml-tree.html#XMLDOCPTR"
694>xmlDocPtr</A
695> doc,
696 <A
697HREF="libxml-tree.html#XMLNODEPTR"
698>xmlNodePtr</A
699> elem,
700 const <A
701HREF="libxml-tree.html#XMLCHAR"
702>xmlChar</A
703> *name,
704 const <A
705HREF="libxml-tree.html#XMLCHAR"
706>xmlChar</A
707> *value);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000708int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000709HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000710>xmlValidateAttributeDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000711> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000712HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000713>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000714> ctxt,
715 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000716HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000717>xmlDocPtr</A
718> doc,
719 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000720HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000721>xmlAttributePtr</A
722> attr);
723int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000724HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000725>xmlValidateAttributeValue</A
726> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000727HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000728>xmlAttributeType</A
729> type,
730 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000731HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000732>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000733> *value);
734int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000735HREF="libxml-valid.html#XMLVALIDATENOTATIONDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000736>xmlValidateNotationDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000737> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000738HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000739>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000740> ctxt,
741 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000742HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000743>xmlDocPtr</A
744> doc,
745 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000746HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000747>xmlNotationPtr</A
748> nota);
749int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000750HREF="libxml-valid.html#XMLVALIDATEDTD"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000751>xmlValidateDtd</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000752> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000753HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000754>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000755> ctxt,
756 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000757HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000758>xmlDocPtr</A
759> doc,
760 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000761HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000762>xmlDtdPtr</A
763> dtd);
764int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000765HREF="libxml-valid.html#XMLVALIDATEDTDFINAL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000766>xmlValidateDtdFinal</A
767> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000768HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000769>xmlValidCtxtPtr</A
770> ctxt,
771 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000772HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000773>xmlDocPtr</A
774> doc);
775int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000776HREF="libxml-valid.html#XMLVALIDATEDOCUMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000777>xmlValidateDocument</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000778> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000779HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000780>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000781> ctxt,
782 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000783HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000784>xmlDocPtr</A
785> doc);
786int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000787HREF="libxml-valid.html#XMLVALIDATEELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000788>xmlValidateElement</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000789> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000790HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000791>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000792> ctxt,
793 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000794HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000795>xmlDocPtr</A
796> doc,
797 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000798HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000799>xmlNodePtr</A
800> elem);
801int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000802HREF="libxml-valid.html#XMLVALIDATEONEELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000803>xmlValidateOneElement</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000804> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000805HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000806>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000807> ctxt,
808 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000809HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000810>xmlDocPtr</A
811> doc,
812 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000813HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000814>xmlNodePtr</A
815> elem);
816int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000817HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000818>xmlValidateOneAttribute</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000819> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000820HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000821>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000822> ctxt,
823 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000824HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000825>xmlDocPtr</A
826> doc,
827 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000828HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000829>xmlNodePtr</A
830> elem,
831 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000832HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000833>xmlAttrPtr</A
834> attr,
835 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000836HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000837>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000838> *value);
839int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000840HREF="libxml-valid.html#XMLVALIDATEDOCUMENTFINAL"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000841>xmlValidateDocumentFinal</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000842> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000843HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000844>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000845> ctxt,
846 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000847HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000848>xmlDocPtr</A
849> doc);
850int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000851HREF="libxml-valid.html#XMLVALIDATENOTATIONUSE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000852>xmlValidateNotationUse</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000853> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000854HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000855>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000856> ctxt,
857 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000858HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000859>xmlDocPtr</A
860> doc,
861 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000862HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000863>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000864> *notationName);
865int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000866HREF="libxml-valid.html#XMLISMIXEDELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000867>xmlIsMixedElement</A
868> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000869HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000870>xmlDocPtr</A
871> doc,
872 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000873HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000874>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000875> *name);
876<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000877HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000878>xmlAttributePtr</A
879> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000880HREF="libxml-valid.html#XMLGETDTDATTRDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000881>xmlGetDtdAttrDesc</A
882> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000883HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000884>xmlDtdPtr</A
885> dtd,
886 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000887HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000888>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000889> *elem,
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> *name);
894<A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000895HREF="libxml-tree.html#XMLATTRIBUTEPTR"
896>xmlAttributePtr</A
897> <A
898HREF="libxml-valid.html#XMLGETDTDQATTRDESC"
899>xmlGetDtdQAttrDesc</A
900> (<A
901HREF="libxml-tree.html#XMLDTDPTR"
902>xmlDtdPtr</A
903> dtd,
904 const <A
905HREF="libxml-tree.html#XMLCHAR"
906>xmlChar</A
907> *elem,
908 const <A
909HREF="libxml-tree.html#XMLCHAR"
910>xmlChar</A
911> *name,
912 const <A
913HREF="libxml-tree.html#XMLCHAR"
914>xmlChar</A
915> *prefix);
916<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000917HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000918>xmlNotationPtr</A
919> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000920HREF="libxml-valid.html#XMLGETDTDNOTATIONDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000921>xmlGetDtdNotationDesc</A
922> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000923HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000924>xmlDtdPtr</A
925> dtd,
926 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000927HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000928>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000929> *name);
930<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000931HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000932>xmlElementPtr</A
933> <A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000934HREF="libxml-valid.html#XMLGETDTDQELEMENTDESC"
935>xmlGetDtdQElementDesc</A
936> (<A
937HREF="libxml-tree.html#XMLDTDPTR"
938>xmlDtdPtr</A
939> dtd,
940 const <A
941HREF="libxml-tree.html#XMLCHAR"
942>xmlChar</A
943> *name,
944 const <A
945HREF="libxml-tree.html#XMLCHAR"
946>xmlChar</A
947> *prefix);
948<A
949HREF="libxml-tree.html#XMLELEMENTPTR"
950>xmlElementPtr</A
951> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000952HREF="libxml-valid.html#XMLGETDTDELEMENTDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000953>xmlGetDtdElementDesc</A
954> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000955HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000956>xmlDtdPtr</A
957> dtd,
958 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000959HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000960>xmlChar</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000961> *name);
962int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000963HREF="libxml-valid.html#XMLVALIDGETVALIDELEMENTS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000964>xmlValidGetValidElements</A
965> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000966HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000967>xmlNode</A
968> *prev,
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> *next,
973 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000974HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000975>xmlChar</A
976> **list,
977 int max);
978int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000979HREF="libxml-valid.html#XMLVALIDGETPOTENTIALCHILDREN"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000980>xmlValidGetPotentialChildren</A
981> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000982HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000983>xmlElementContent</A
984> *ctree,
985 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000986HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000987>xmlChar</A
988> **list,
989 int *len,
Daniel Veillarda7084cd2002-04-15 17:12:47 +0000990 int max);
991int <A
992HREF="libxml-valid.html#XMLVALIDATENAMEVALUE"
993>xmlValidateNameValue</A
994> (const <A
995HREF="libxml-tree.html#XMLCHAR"
996>xmlChar</A
997> *value);
998int <A
999HREF="libxml-valid.html#XMLVALIDATENAMESVALUE"
1000>xmlValidateNamesValue</A
1001> (const <A
1002HREF="libxml-tree.html#XMLCHAR"
1003>xmlChar</A
1004> *value);
1005int <A
1006HREF="libxml-valid.html#XMLVALIDATENMTOKENVALUE"
1007>xmlValidateNmtokenValue</A
1008> (const <A
1009HREF="libxml-tree.html#XMLCHAR"
1010>xmlChar</A
1011> *value);
1012int <A
1013HREF="libxml-valid.html#XMLVALIDATENMTOKENSVALUE"
1014>xmlValidateNmtokensValue</A
1015> (const <A
1016HREF="libxml-tree.html#XMLCHAR"
1017>xmlChar</A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001018> *value);
1019int <A
1020HREF="libxml-valid.html#XMLVALIDBUILDCONTENTMODEL"
1021>xmlValidBuildContentModel</A
1022> (<A
1023HREF="libxml-valid.html#XMLVALIDCTXTPTR"
1024>xmlValidCtxtPtr</A
1025> ctxt,
1026 <A
1027HREF="libxml-tree.html#XMLELEMENTPTR"
1028>xmlElementPtr</A
1029> elem);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001030></TD
1031></TR
1032></TABLE
1033></DIV
1034><DIV
1035CLASS="REFSECT1"
1036><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001037NAME="AEN8832"
Daniel Veillard35925471999-02-25 08:46:07 +00001038></A
1039><H2
1040>Description</H2
1041><P
1042></P
1043></DIV
1044><DIV
1045CLASS="REFSECT1"
1046><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001047NAME="AEN8835"
Daniel Veillard35925471999-02-25 08:46:07 +00001048></A
1049><H2
1050>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001051><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001052CLASS="REFSECT2"
1053><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001054NAME="AEN8837"
Daniel Veillarda41123c2001-04-22 19:31:20 +00001055></A
1056><H3
1057><A
1058NAME="XMLVALIDSTATE"
1059></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001060>struct xmlValidState</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00001061><TABLE
1062BORDER="0"
1063BGCOLOR="#D6E8FF"
1064WIDTH="100%"
1065CELLPADDING="6"
1066><TR
1067><TD
1068><PRE
1069CLASS="PROGRAMLISTING"
1070>struct xmlValidState;</PRE
1071></TD
1072></TR
1073></TABLE
1074><P
1075></P
1076></DIV
1077><HR><DIV
1078CLASS="REFSECT2"
1079><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001080NAME="AEN8842"
Daniel Veillarda41123c2001-04-22 19:31:20 +00001081></A
1082><H3
1083><A
1084NAME="XMLVALIDSTATEPTR"
1085></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001086>xmlValidStatePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001087><TABLE
1088BORDER="0"
1089BGCOLOR="#D6E8FF"
1090WIDTH="100%"
1091CELLPADDING="6"
1092><TR
1093><TD
1094><PRE
1095CLASS="PROGRAMLISTING"
1096>typedef xmlValidState *xmlValidStatePtr;</PRE
1097></TD
1098></TR
1099></TABLE
Daniel Veillarda41123c2001-04-22 19:31:20 +00001100><P
1101></P
1102></DIV
1103><HR><DIV
1104CLASS="REFSECT2"
1105><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001106NAME="AEN8847"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001107></A
1108><H3
1109><A
1110NAME="XMLVALIDITYERRORFUNC"
1111></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001112>xmlValidityErrorFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00001113><TABLE
1114BORDER="0"
1115BGCOLOR="#D6E8FF"
1116WIDTH="100%"
1117CELLPADDING="6"
1118><TR
1119><TD
1120><PRE
1121CLASS="PROGRAMLISTING"
1122>void (*xmlValidityErrorFunc) (void *ctx,
1123 const char *msg,
1124 ...);</PRE
1125></TD
1126></TR
1127></TABLE
1128><P
Daniel Veillard19274092002-03-25 16:48:03 +00001129>Callback called when a validity error is found. This is a message
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001130oriented function similar to an *printf function.</P
1131><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001132></P
1133><DIV
1134CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001135><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001136NAME="AEN8853"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001137></P
1138><TABLE
1139BORDER="0"
1140WIDTH="100%"
1141BGCOLOR="#FFD0D0"
1142CELLSPACING="0"
1143CELLPADDING="4"
1144CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001145><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001146><TR
1147><TD
1148WIDTH="20%"
1149ALIGN="RIGHT"
1150VALIGN="TOP"
1151><TT
1152CLASS="PARAMETER"
1153><I
1154>ctx</I
1155></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001156>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001157><TD
1158WIDTH="80%"
1159ALIGN="LEFT"
1160VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001161> an xmlValidCtxtPtr validity error context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001162></TR
1163><TR
1164><TD
1165WIDTH="20%"
1166ALIGN="RIGHT"
1167VALIGN="TOP"
1168><TT
1169CLASS="PARAMETER"
1170><I
1171>msg</I
1172></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001173>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001174><TD
1175WIDTH="80%"
1176ALIGN="LEFT"
1177VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001178> the string to format *printf like vararg</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001179></TR
1180><TR
1181><TD
1182WIDTH="20%"
1183ALIGN="RIGHT"
1184VALIGN="TOP"
1185><TT
1186CLASS="PARAMETER"
1187><I
1188>...</I
1189></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001190>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001191><TD
1192WIDTH="80%"
1193ALIGN="LEFT"
1194VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001195> remaining arguments to the format</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001196></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001197></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001198></TABLE
1199><P
1200></P
1201></DIV
1202></DIV
1203><HR><DIV
1204CLASS="REFSECT2"
1205><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001206NAME="AEN8870"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001207></A
1208><H3
1209><A
1210NAME="XMLVALIDITYWARNINGFUNC"
1211></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001212>xmlValidityWarningFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00001213><TABLE
1214BORDER="0"
1215BGCOLOR="#D6E8FF"
1216WIDTH="100%"
1217CELLPADDING="6"
1218><TR
1219><TD
1220><PRE
1221CLASS="PROGRAMLISTING"
1222>void (*xmlValidityWarningFunc) (void *ctx,
1223 const char *msg,
1224 ...);</PRE
1225></TD
1226></TR
1227></TABLE
1228><P
Daniel Veillard19274092002-03-25 16:48:03 +00001229>Callback called when a validity warning is found. This is a message
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001230oriented function similar to an *printf function.</P
1231><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001232></P
1233><DIV
1234CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001235><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001236NAME="AEN8876"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001237></P
1238><TABLE
1239BORDER="0"
1240WIDTH="100%"
1241BGCOLOR="#FFD0D0"
1242CELLSPACING="0"
1243CELLPADDING="4"
1244CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001245><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001246><TR
1247><TD
1248WIDTH="20%"
1249ALIGN="RIGHT"
1250VALIGN="TOP"
1251><TT
1252CLASS="PARAMETER"
1253><I
1254>ctx</I
1255></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001256>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001257><TD
1258WIDTH="80%"
1259ALIGN="LEFT"
1260VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001261> an xmlValidCtxtPtr validity error context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001262></TR
1263><TR
1264><TD
1265WIDTH="20%"
1266ALIGN="RIGHT"
1267VALIGN="TOP"
1268><TT
1269CLASS="PARAMETER"
1270><I
1271>msg</I
1272></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001273>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001274><TD
1275WIDTH="80%"
1276ALIGN="LEFT"
1277VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001278> the string to format *printf like vararg</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001279></TR
1280><TR
1281><TD
1282WIDTH="20%"
1283ALIGN="RIGHT"
1284VALIGN="TOP"
1285><TT
1286CLASS="PARAMETER"
1287><I
1288>...</I
1289></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001290>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001291><TD
1292WIDTH="80%"
1293ALIGN="LEFT"
1294VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001295> remaining arguments to the format</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001296></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001297></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001298></TABLE
1299><P
1300></P
1301></DIV
1302></DIV
1303><HR><DIV
1304CLASS="REFSECT2"
1305><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001306NAME="AEN8893"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001307></A
1308><H3
1309><A
1310NAME="XMLVALIDCTXT"
1311></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001312>struct xmlValidCtxt</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001313><TABLE
1314BORDER="0"
1315BGCOLOR="#D6E8FF"
1316WIDTH="100%"
1317CELLPADDING="6"
1318><TR
1319><TD
1320><PRE
1321CLASS="PROGRAMLISTING"
1322>struct xmlValidCtxt {
1323 void *userData; /* user specific data block */
1324 xmlValidityErrorFunc error; /* the callback in case of errors */
1325 xmlValidityWarningFunc warning; /* the callback in case of warning */
1326
1327 /* Node analysis stack used when validating within entities */
1328 xmlNodePtr node; /* Current parsed Node */
1329 int nodeNr; /* Depth of the parsing stack */
1330 int nodeMax; /* Max depth of the parsing stack */
1331 xmlNodePtr *nodeTab; /* array of nodes */
1332
1333 int finishDtd; /* finished validating the Dtd ? */
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001334 xmlDocPtr doc; /* the document */
1335 int valid; /* temporary validity check result */
Daniel Veillarda41123c2001-04-22 19:31:20 +00001336
1337 /* state state used for non-determinist content validation */
1338 xmlValidState *vstate; /* current state */
1339 int vstateNr; /* Depth of the validation stack */
1340 int vstateMax; /* Max depth of the validation stack */
1341 xmlValidState *vstateTab; /* array of validation states */
Daniel Veillard2ace1952002-09-26 12:28:02 +00001342
1343#ifdef LIBXML_REGEXP_ENABLED
1344 xmlAutomataPtr am; /* the automata */
1345 xmlAutomataStatePtr state; /* used to build the automata */
1346#else
1347 void *am;
1348 void *state;
1349#endif
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001350};</PRE
1351></TD
1352></TR
1353></TABLE
1354><P
1355></P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001356><P
1357></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001358></DIV
1359><HR><DIV
1360CLASS="REFSECT2"
1361><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001362NAME="AEN8899"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001363></A
1364><H3
1365><A
1366NAME="XMLVALIDCTXTPTR"
1367></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001368>xmlValidCtxtPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001369><TABLE
1370BORDER="0"
1371BGCOLOR="#D6E8FF"
1372WIDTH="100%"
1373CELLPADDING="6"
1374><TR
1375><TD
1376><PRE
1377CLASS="PROGRAMLISTING"
1378>typedef xmlValidCtxt *xmlValidCtxtPtr;</PRE
1379></TD
1380></TR
1381></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001382><P
1383></P
1384></DIV
1385><HR><DIV
1386CLASS="REFSECT2"
1387><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001388NAME="AEN8904"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001389></A
1390><H3
1391><A
1392NAME="XMLNOTATIONTABLEPTR"
1393></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001394>xmlNotationTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001395><TABLE
1396BORDER="0"
1397BGCOLOR="#D6E8FF"
1398WIDTH="100%"
1399CELLPADDING="6"
1400><TR
1401><TD
1402><PRE
1403CLASS="PROGRAMLISTING"
1404>typedef xmlNotationTable *xmlNotationTablePtr;</PRE
1405></TD
1406></TR
1407></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001408><P
1409></P
1410></DIV
1411><HR><DIV
1412CLASS="REFSECT2"
1413><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001414NAME="AEN8909"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001415></A
1416><H3
1417><A
1418NAME="XMLELEMENTTABLEPTR"
1419></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001420>xmlElementTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001421><TABLE
1422BORDER="0"
1423BGCOLOR="#D6E8FF"
1424WIDTH="100%"
1425CELLPADDING="6"
1426><TR
1427><TD
1428><PRE
1429CLASS="PROGRAMLISTING"
1430>typedef xmlElementTable *xmlElementTablePtr;</PRE
1431></TD
1432></TR
1433></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001434><P
1435></P
1436></DIV
1437><HR><DIV
1438CLASS="REFSECT2"
1439><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001440NAME="AEN8914"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001441></A
1442><H3
1443><A
1444NAME="XMLATTRIBUTETABLEPTR"
1445></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001446>xmlAttributeTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001447><TABLE
1448BORDER="0"
1449BGCOLOR="#D6E8FF"
1450WIDTH="100%"
1451CELLPADDING="6"
1452><TR
1453><TD
1454><PRE
1455CLASS="PROGRAMLISTING"
1456>typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE
1457></TD
1458></TR
1459></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001460><P
1461></P
1462></DIV
1463><HR><DIV
1464CLASS="REFSECT2"
1465><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001466NAME="AEN8919"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001467></A
1468><H3
1469><A
1470NAME="XMLIDTABLEPTR"
1471></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001472>xmlIDTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001473><TABLE
1474BORDER="0"
1475BGCOLOR="#D6E8FF"
1476WIDTH="100%"
1477CELLPADDING="6"
1478><TR
1479><TD
1480><PRE
1481CLASS="PROGRAMLISTING"
1482>typedef xmlIDTable *xmlIDTablePtr;</PRE
1483></TD
1484></TR
1485></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001486><P
1487></P
1488></DIV
1489><HR><DIV
1490CLASS="REFSECT2"
1491><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001492NAME="AEN8924"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001493></A
1494><H3
1495><A
1496NAME="XMLREFTABLEPTR"
1497></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001498>xmlRefTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001499><TABLE
1500BORDER="0"
1501BGCOLOR="#D6E8FF"
1502WIDTH="100%"
1503CELLPADDING="6"
1504><TR
1505><TD
1506><PRE
1507CLASS="PROGRAMLISTING"
1508>typedef xmlRefTable *xmlRefTablePtr;</PRE
1509></TD
1510></TR
1511></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001512><P
1513></P
1514></DIV
1515><HR><DIV
1516CLASS="REFSECT2"
1517><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001518NAME="AEN8929"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001519></A
1520><H3
1521><A
1522NAME="XMLSPLITQNAME2"
1523></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001524>xmlSplitQName2 ()</H3
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001525><TABLE
1526BORDER="0"
1527BGCOLOR="#D6E8FF"
1528WIDTH="100%"
1529CELLPADDING="6"
1530><TR
1531><TD
1532><PRE
1533CLASS="PROGRAMLISTING"
1534><A
1535HREF="libxml-tree.html#XMLCHAR"
1536>xmlChar</A
1537>* xmlSplitQName2 (const <A
1538HREF="libxml-tree.html#XMLCHAR"
1539>xmlChar</A
1540> *name,
1541 <A
1542HREF="libxml-tree.html#XMLCHAR"
1543>xmlChar</A
1544> **prefix);</PRE
1545></TD
1546></TR
1547></TABLE
1548><P
1549>parse an XML qualified name string</P
1550><P
1551>[NS 5] QName ::= (Prefix ':')? LocalPart</P
1552><P
1553>[NS 6] Prefix ::= NCName</P
1554><P
1555>[NS 7] LocalPart ::= NCName</P
1556><P
1557></P
1558><DIV
1559CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001560><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001561NAME="AEN8941"><P
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001562></P
1563><TABLE
1564BORDER="0"
1565WIDTH="100%"
1566BGCOLOR="#FFD0D0"
1567CELLSPACING="0"
1568CELLPADDING="4"
1569CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001570><TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001571><TR
1572><TD
1573WIDTH="20%"
1574ALIGN="RIGHT"
1575VALIGN="TOP"
1576><TT
1577CLASS="PARAMETER"
1578><I
1579>name</I
1580></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001581>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001582><TD
1583WIDTH="80%"
1584ALIGN="LEFT"
1585VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001586> an XML parser context</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001587></TR
1588><TR
1589><TD
1590WIDTH="20%"
1591ALIGN="RIGHT"
1592VALIGN="TOP"
1593><TT
1594CLASS="PARAMETER"
1595><I
1596>prefix</I
1597></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001598>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001599><TD
1600WIDTH="80%"
1601ALIGN="LEFT"
1602VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001603> a xmlChar ** </TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001604></TR
1605><TR
1606><TD
1607WIDTH="20%"
1608ALIGN="RIGHT"
1609VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001610><SPAN
1611CLASS="emphasis"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001612><I
1613CLASS="EMPHASIS"
1614>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001615></SPAN
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001616> :</TD
1617><TD
1618WIDTH="80%"
1619ALIGN="LEFT"
1620VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001621>NULL if not a QName, otherwise the local part, and prefix
Daniel Veillardaf43f632002-03-08 15:05:20 +00001622is updated to get the Prefix if any.</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001623></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001624></TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001625></TABLE
1626><P
1627></P
1628></DIV
1629></DIV
1630><HR><DIV
1631CLASS="REFSECT2"
1632><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001633NAME="AEN8958"
Daniel Veillard35925471999-02-25 08:46:07 +00001634></A
1635><H3
1636><A
1637NAME="XMLADDNOTATIONDECL"
1638></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001639>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001640><TABLE
1641BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001642BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001643WIDTH="100%"
1644CELLPADDING="6"
1645><TR
1646><TD
1647><PRE
1648CLASS="PROGRAMLISTING"
1649><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001650HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001651>xmlNotationPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001652> xmlAddNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001653HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001654>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001655> ctxt,
1656 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001657HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001658>xmlDtdPtr</A
1659> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001660 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001661HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001662>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001663> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001664 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001665HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001666>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001667> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001668 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001669HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001670>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001671> *SystemID);</PRE
1672></TD
1673></TR
1674></TABLE
1675><P
1676>Register a new notation declaration</P
1677><P
1678></P
1679><DIV
1680CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001681><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001682NAME="AEN8970"><P
Daniel Veillard35925471999-02-25 08:46:07 +00001683></P
1684><TABLE
1685BORDER="0"
1686WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001687BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001688CELLSPACING="0"
1689CELLPADDING="4"
1690CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001691><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001692><TR
1693><TD
1694WIDTH="20%"
1695ALIGN="RIGHT"
1696VALIGN="TOP"
1697><TT
1698CLASS="PARAMETER"
1699><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001700>ctxt</I
1701></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001702>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001703><TD
1704WIDTH="80%"
1705ALIGN="LEFT"
1706VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001707> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001708></TR
1709><TR
1710><TD
1711WIDTH="20%"
1712ALIGN="RIGHT"
1713VALIGN="TOP"
1714><TT
1715CLASS="PARAMETER"
1716><I
Daniel Veillard35925471999-02-25 08:46:07 +00001717>dtd</I
1718></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001719>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001720><TD
1721WIDTH="80%"
1722ALIGN="LEFT"
1723VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001724> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001725></TR
1726><TR
1727><TD
1728WIDTH="20%"
1729ALIGN="RIGHT"
1730VALIGN="TOP"
1731><TT
1732CLASS="PARAMETER"
1733><I
1734>name</I
1735></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001736>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001737><TD
1738WIDTH="80%"
1739ALIGN="LEFT"
1740VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001741> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001742></TR
1743><TR
1744><TD
1745WIDTH="20%"
1746ALIGN="RIGHT"
1747VALIGN="TOP"
1748><TT
1749CLASS="PARAMETER"
1750><I
1751>PublicID</I
1752></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001753>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001754><TD
1755WIDTH="80%"
1756ALIGN="LEFT"
1757VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001758> the public identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001759></TR
1760><TR
1761><TD
1762WIDTH="20%"
1763ALIGN="RIGHT"
1764VALIGN="TOP"
1765><TT
1766CLASS="PARAMETER"
1767><I
1768>SystemID</I
1769></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001770>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001771><TD
1772WIDTH="80%"
1773ALIGN="LEFT"
1774VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001775> the system identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001776></TR
1777><TR
1778><TD
1779WIDTH="20%"
1780ALIGN="RIGHT"
1781VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001782><SPAN
1783CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00001784><I
1785CLASS="EMPHASIS"
1786>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001787></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00001788> :</TD
1789><TD
1790WIDTH="80%"
1791ALIGN="LEFT"
1792VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001793>NULL if not, otherwise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001794></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001795></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001796></TABLE
1797><P
1798></P
1799></DIV
1800></DIV
1801><HR><DIV
1802CLASS="REFSECT2"
1803><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001804NAME="AEN8999"
Daniel Veillard35925471999-02-25 08:46:07 +00001805></A
1806><H3
1807><A
1808NAME="XMLCOPYNOTATIONTABLE"
1809></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001810>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001811><TABLE
1812BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001813BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001814WIDTH="100%"
1815CELLPADDING="6"
1816><TR
1817><TD
1818><PRE
1819CLASS="PROGRAMLISTING"
1820><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001821HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001822>xmlNotationTablePtr</A
1823> xmlCopyNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001824HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001825>xmlNotationTablePtr</A
1826> table);</PRE
1827></TD
1828></TR
1829></TABLE
1830><P
1831>Build a copy of a notation table.</P
1832><P
1833></P
1834><DIV
1835CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001836><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001837NAME="AEN9007"><P
Daniel Veillard35925471999-02-25 08:46:07 +00001838></P
1839><TABLE
1840BORDER="0"
1841WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001842BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001843CELLSPACING="0"
1844CELLPADDING="4"
1845CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001846><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001847><TR
1848><TD
1849WIDTH="20%"
1850ALIGN="RIGHT"
1851VALIGN="TOP"
1852><TT
1853CLASS="PARAMETER"
1854><I
1855>table</I
1856></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001857>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001858><TD
1859WIDTH="80%"
1860ALIGN="LEFT"
1861VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001862> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001863></TR
1864><TR
1865><TD
1866WIDTH="20%"
1867ALIGN="RIGHT"
1868VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001869><SPAN
1870CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00001871><I
1872CLASS="EMPHASIS"
1873>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001874></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00001875> :</TD
1876><TD
1877WIDTH="80%"
1878ALIGN="LEFT"
1879VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001880>the new xmlNotationTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001881></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001882></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001883></TABLE
1884><P
1885></P
1886></DIV
1887></DIV
1888><HR><DIV
1889CLASS="REFSECT2"
1890><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001891NAME="AEN9020"
Daniel Veillard35925471999-02-25 08:46:07 +00001892></A
1893><H3
1894><A
1895NAME="XMLFREENOTATIONTABLE"
1896></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001897>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001898><TABLE
1899BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001900BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001901WIDTH="100%"
1902CELLPADDING="6"
1903><TR
1904><TD
1905><PRE
1906CLASS="PROGRAMLISTING"
1907>void xmlFreeNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001908HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001909>xmlNotationTablePtr</A
1910> table);</PRE
1911></TD
1912></TR
1913></TABLE
1914><P
1915>Deallocate the memory used by an entities hash table.</P
1916><P
1917></P
1918><DIV
1919CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001920><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001921NAME="AEN9027"><P
Daniel Veillard35925471999-02-25 08:46:07 +00001922></P
1923><TABLE
1924BORDER="0"
1925WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001926BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001927CELLSPACING="0"
1928CELLPADDING="4"
1929CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001930><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001931><TR
1932><TD
1933WIDTH="20%"
1934ALIGN="RIGHT"
1935VALIGN="TOP"
1936><TT
1937CLASS="PARAMETER"
1938><I
1939>table</I
1940></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001941>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001942><TD
1943WIDTH="80%"
1944ALIGN="LEFT"
1945VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001946> An notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001947></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001948></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001949></TABLE
1950><P
1951></P
1952></DIV
1953></DIV
1954><HR><DIV
1955CLASS="REFSECT2"
1956><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001957NAME="AEN9036"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001958></A
1959><H3
1960><A
1961NAME="XMLDUMPNOTATIONDECL"
1962></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001963>xmlDumpNotationDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001964><TABLE
1965BORDER="0"
1966BGCOLOR="#D6E8FF"
1967WIDTH="100%"
1968CELLPADDING="6"
1969><TR
1970><TD
1971><PRE
1972CLASS="PROGRAMLISTING"
1973>void xmlDumpNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001974HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001975>xmlBufferPtr</A
1976> buf,
1977 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001978HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001979>xmlNotationPtr</A
1980> nota);</PRE
1981></TD
1982></TR
1983></TABLE
1984><P
1985>This will dump the content the notation declaration as an XML DTD definition</P
1986><P
1987></P
1988><DIV
1989CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001990><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001991NAME="AEN9044"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001992></P
1993><TABLE
1994BORDER="0"
1995WIDTH="100%"
1996BGCOLOR="#FFD0D0"
1997CELLSPACING="0"
1998CELLPADDING="4"
1999CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002000><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002001><TR
2002><TD
2003WIDTH="20%"
2004ALIGN="RIGHT"
2005VALIGN="TOP"
2006><TT
2007CLASS="PARAMETER"
2008><I
2009>buf</I
2010></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002011>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002012><TD
2013WIDTH="80%"
2014ALIGN="LEFT"
2015VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002016> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002017></TR
2018><TR
2019><TD
2020WIDTH="20%"
2021ALIGN="RIGHT"
2022VALIGN="TOP"
2023><TT
2024CLASS="PARAMETER"
2025><I
2026>nota</I
2027></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002028>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002029><TD
2030WIDTH="80%"
2031ALIGN="LEFT"
2032VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002033> A notation declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002034></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002035></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002036></TABLE
2037><P
2038></P
2039></DIV
2040></DIV
2041><HR><DIV
2042CLASS="REFSECT2"
2043><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002044NAME="AEN9057"
Daniel Veillard35925471999-02-25 08:46:07 +00002045></A
2046><H3
2047><A
2048NAME="XMLDUMPNOTATIONTABLE"
2049></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002050>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002051><TABLE
2052BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002053BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002054WIDTH="100%"
2055CELLPADDING="6"
2056><TR
2057><TD
2058><PRE
2059CLASS="PROGRAMLISTING"
2060>void xmlDumpNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002061HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002062>xmlBufferPtr</A
2063> buf,
2064 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002065HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002066>xmlNotationTablePtr</A
2067> table);</PRE
2068></TD
2069></TR
2070></TABLE
2071><P
2072>This will dump the content of the notation table as an XML DTD definition</P
2073><P
Daniel Veillard35925471999-02-25 08:46:07 +00002074></P
2075><DIV
2076CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002077><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002078NAME="AEN9065"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002079></P
2080><TABLE
2081BORDER="0"
2082WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002083BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002084CELLSPACING="0"
2085CELLPADDING="4"
2086CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002087><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002088><TR
2089><TD
2090WIDTH="20%"
2091ALIGN="RIGHT"
2092VALIGN="TOP"
2093><TT
2094CLASS="PARAMETER"
2095><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002096>buf</I
2097></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002098>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002099><TD
2100WIDTH="80%"
2101ALIGN="LEFT"
2102VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002103> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002104></TR
2105><TR
2106><TD
2107WIDTH="20%"
2108ALIGN="RIGHT"
2109VALIGN="TOP"
2110><TT
2111CLASS="PARAMETER"
2112><I
Daniel Veillard35925471999-02-25 08:46:07 +00002113>table</I
2114></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002115>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002116><TD
2117WIDTH="80%"
2118ALIGN="LEFT"
2119VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002120> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002121></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002122></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002123></TABLE
2124><P
2125></P
2126></DIV
2127></DIV
2128><HR><DIV
2129CLASS="REFSECT2"
2130><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002131NAME="AEN9078"
Daniel Veillard35925471999-02-25 08:46:07 +00002132></A
2133><H3
2134><A
2135NAME="XMLNEWELEMENTCONTENT"
2136></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002137>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002138><TABLE
2139BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002140BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002141WIDTH="100%"
2142CELLPADDING="6"
2143><TR
2144><TD
2145><PRE
2146CLASS="PROGRAMLISTING"
2147><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002148HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002149>xmlElementContentPtr</A
2150> xmlNewElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002151HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002152>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002153> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002154 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002155HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002156>xmlElementContentType</A
2157> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00002158></TD
2159></TR
2160></TABLE
2161><P
2162>Allocate an element content structure.</P
2163><P
2164></P
2165><DIV
2166CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002167><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002168NAME="AEN9087"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002169></P
2170><TABLE
2171BORDER="0"
2172WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002173BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002174CELLSPACING="0"
2175CELLPADDING="4"
2176CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002177><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002178><TR
2179><TD
2180WIDTH="20%"
2181ALIGN="RIGHT"
2182VALIGN="TOP"
2183><TT
2184CLASS="PARAMETER"
2185><I
2186>name</I
2187></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002188>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002189><TD
2190WIDTH="80%"
2191ALIGN="LEFT"
2192VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002193> the subelement name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002194></TR
2195><TR
2196><TD
2197WIDTH="20%"
2198ALIGN="RIGHT"
2199VALIGN="TOP"
2200><TT
2201CLASS="PARAMETER"
2202><I
2203>type</I
2204></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002205>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002206><TD
2207WIDTH="80%"
2208ALIGN="LEFT"
2209VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002210> the type of element content decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002211></TR
2212><TR
2213><TD
2214WIDTH="20%"
2215ALIGN="RIGHT"
2216VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002217><SPAN
2218CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002219><I
2220CLASS="EMPHASIS"
2221>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002222></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002223> :</TD
2224><TD
2225WIDTH="80%"
2226ALIGN="LEFT"
2227VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002228>NULL if not, otherwise the new element content structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002229></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002230></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002231></TABLE
2232><P
2233></P
2234></DIV
2235></DIV
2236><HR><DIV
2237CLASS="REFSECT2"
2238><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002239NAME="AEN9104"
Daniel Veillard35925471999-02-25 08:46:07 +00002240></A
2241><H3
2242><A
2243NAME="XMLCOPYELEMENTCONTENT"
2244></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002245>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002246><TABLE
2247BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002248BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002249WIDTH="100%"
2250CELLPADDING="6"
2251><TR
2252><TD
2253><PRE
2254CLASS="PROGRAMLISTING"
2255><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002256HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002257>xmlElementContentPtr</A
2258> xmlCopyElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002259HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002260>xmlElementContentPtr</A
2261> content);</PRE
2262></TD
2263></TR
2264></TABLE
2265><P
2266>Build a copy of an element content description.</P
2267><P
2268></P
2269><DIV
2270CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002271><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002272NAME="AEN9112"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002273></P
2274><TABLE
2275BORDER="0"
2276WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002277BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002278CELLSPACING="0"
2279CELLPADDING="4"
2280CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002281><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002282><TR
2283><TD
2284WIDTH="20%"
2285ALIGN="RIGHT"
2286VALIGN="TOP"
2287><TT
2288CLASS="PARAMETER"
2289><I
2290>content</I
2291></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002292>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002293><TD
2294WIDTH="80%"
2295ALIGN="LEFT"
2296VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002297> An element content pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002298></TR
2299><TR
2300><TD
2301WIDTH="20%"
2302ALIGN="RIGHT"
2303VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002304><SPAN
2305CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002306><I
2307CLASS="EMPHASIS"
2308>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002309></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002310> :</TD
2311><TD
2312WIDTH="80%"
2313ALIGN="LEFT"
2314VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002315>the new xmlElementContentPtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002316></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002317></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002318></TABLE
2319><P
2320></P
2321></DIV
2322></DIV
2323><HR><DIV
2324CLASS="REFSECT2"
2325><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002326NAME="AEN9125"
Daniel Veillard35925471999-02-25 08:46:07 +00002327></A
2328><H3
2329><A
2330NAME="XMLFREEELEMENTCONTENT"
2331></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002332>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002333><TABLE
2334BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002335BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002336WIDTH="100%"
2337CELLPADDING="6"
2338><TR
2339><TD
2340><PRE
2341CLASS="PROGRAMLISTING"
2342>void xmlFreeElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002343HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002344>xmlElementContentPtr</A
2345> cur);</PRE
2346></TD
2347></TR
2348></TABLE
2349><P
2350>Free an element content structure. This is a recursive call !</P
2351><P
2352></P
2353><DIV
2354CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002355><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002356NAME="AEN9132"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002357></P
2358><TABLE
2359BORDER="0"
2360WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002361BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002362CELLSPACING="0"
2363CELLPADDING="4"
2364CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002365><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002366><TR
2367><TD
2368WIDTH="20%"
2369ALIGN="RIGHT"
2370VALIGN="TOP"
2371><TT
2372CLASS="PARAMETER"
2373><I
2374>cur</I
2375></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002376>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002377><TD
2378WIDTH="80%"
2379ALIGN="LEFT"
2380VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002381> the element content tree to free</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002382></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002383></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002384></TABLE
2385><P
2386></P
2387></DIV
2388></DIV
2389><HR><DIV
2390CLASS="REFSECT2"
2391><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002392NAME="AEN9141"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002393></A
2394><H3
2395><A
2396NAME="XMLSNPRINTFELEMENTCONTENT"
2397></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002398>xmlSnprintfElementContent ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002399><TABLE
2400BORDER="0"
2401BGCOLOR="#D6E8FF"
2402WIDTH="100%"
2403CELLPADDING="6"
2404><TR
2405><TD
2406><PRE
2407CLASS="PROGRAMLISTING"
2408>void xmlSnprintfElementContent (char *buf,
2409 int size,
2410 <A
2411HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
2412>xmlElementContentPtr</A
2413> content,
2414 int glob);</PRE
2415></TD
2416></TR
2417></TABLE
2418><P
2419>This will dump the content of the element content definition
2420Intended just for the debug routine</P
2421><P
2422></P
2423><DIV
2424CLASS="INFORMALTABLE"
2425><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002426NAME="AEN9148"><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002427></P
2428><TABLE
2429BORDER="0"
2430WIDTH="100%"
2431BGCOLOR="#FFD0D0"
2432CELLSPACING="0"
2433CELLPADDING="4"
2434CLASS="CALSTABLE"
2435><TBODY
2436><TR
2437><TD
2438WIDTH="20%"
2439ALIGN="RIGHT"
2440VALIGN="TOP"
2441><TT
2442CLASS="PARAMETER"
2443><I
2444>buf</I
2445></TT
2446>&nbsp;:</TD
2447><TD
2448WIDTH="80%"
2449ALIGN="LEFT"
2450VALIGN="TOP"
2451> an output buffer</TD
2452></TR
2453><TR
2454><TD
2455WIDTH="20%"
2456ALIGN="RIGHT"
2457VALIGN="TOP"
2458><TT
2459CLASS="PARAMETER"
2460><I
2461>size</I
2462></TT
2463>&nbsp;:</TD
2464><TD
2465WIDTH="80%"
2466ALIGN="LEFT"
2467VALIGN="TOP"
2468> the buffer size</TD
2469></TR
2470><TR
2471><TD
2472WIDTH="20%"
2473ALIGN="RIGHT"
2474VALIGN="TOP"
2475><TT
2476CLASS="PARAMETER"
2477><I
2478>content</I
2479></TT
2480>&nbsp;:</TD
2481><TD
2482WIDTH="80%"
2483ALIGN="LEFT"
2484VALIGN="TOP"
2485> An element table</TD
2486></TR
2487><TR
2488><TD
2489WIDTH="20%"
2490ALIGN="RIGHT"
2491VALIGN="TOP"
2492><TT
2493CLASS="PARAMETER"
2494><I
2495>glob</I
2496></TT
2497>&nbsp;:</TD
2498><TD
2499WIDTH="80%"
2500ALIGN="LEFT"
2501VALIGN="TOP"
2502> 1 if one must print the englobing parenthesis, 0 otherwise</TD
2503></TR
2504></TBODY
2505></TABLE
2506><P
2507></P
2508></DIV
2509></DIV
2510><HR><DIV
2511CLASS="REFSECT2"
2512><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002513NAME="AEN9169"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002514></A
2515><H3
2516><A
2517NAME="XMLSPRINTFELEMENTCONTENT"
2518></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002519>xmlSprintfElementContent ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002520><TABLE
2521BORDER="0"
2522BGCOLOR="#D6E8FF"
2523WIDTH="100%"
2524CELLPADDING="6"
2525><TR
2526><TD
2527><PRE
2528CLASS="PROGRAMLISTING"
2529>void xmlSprintfElementContent (char *buf,
2530 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002531HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002532>xmlElementContentPtr</A
2533> content,
2534 int glob);</PRE
2535></TD
2536></TR
2537></TABLE
2538><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002539>Deprecated, unsafe, use xmlSnprintfElementContent</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002540><P
2541></P
2542><DIV
2543CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002544><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002545NAME="AEN9176"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002546></P
2547><TABLE
2548BORDER="0"
2549WIDTH="100%"
2550BGCOLOR="#FFD0D0"
2551CELLSPACING="0"
2552CELLPADDING="4"
2553CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002554><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002555><TR
2556><TD
2557WIDTH="20%"
2558ALIGN="RIGHT"
2559VALIGN="TOP"
2560><TT
2561CLASS="PARAMETER"
2562><I
2563>buf</I
2564></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002565>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002566><TD
2567WIDTH="80%"
2568ALIGN="LEFT"
2569VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002570> an output buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002571></TR
2572><TR
2573><TD
2574WIDTH="20%"
2575ALIGN="RIGHT"
2576VALIGN="TOP"
2577><TT
2578CLASS="PARAMETER"
2579><I
2580>content</I
2581></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002582>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002583><TD
2584WIDTH="80%"
2585ALIGN="LEFT"
2586VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002587> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002588></TR
2589><TR
2590><TD
2591WIDTH="20%"
2592ALIGN="RIGHT"
2593VALIGN="TOP"
2594><TT
2595CLASS="PARAMETER"
2596><I
2597>glob</I
2598></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002599>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002600><TD
2601WIDTH="80%"
2602ALIGN="LEFT"
2603VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002604> 1 if one must print the englobing parenthesis, 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002605></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002606></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002607></TABLE
2608><P
2609></P
2610></DIV
2611></DIV
2612><HR><DIV
2613CLASS="REFSECT2"
2614><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002615NAME="AEN9193"
Daniel Veillard35925471999-02-25 08:46:07 +00002616></A
2617><H3
2618><A
2619NAME="XMLADDELEMENTDECL"
2620></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002621>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002622><TABLE
2623BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002624BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002625WIDTH="100%"
2626CELLPADDING="6"
2627><TR
2628><TD
2629><PRE
2630CLASS="PROGRAMLISTING"
2631><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002632HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002633>xmlElementPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002634> xmlAddElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002635HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002636>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002637> ctxt,
2638 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002639HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002640>xmlDtdPtr</A
2641> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002642 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002643HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002644>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002645> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002646 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002647HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard4c3a2031999-11-19 17:46:26 +00002648>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002649> type,
Daniel Veillard35925471999-02-25 08:46:07 +00002650 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002651HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002652>xmlElementContentPtr</A
2653> content);</PRE
2654></TD
2655></TR
2656></TABLE
2657><P
2658>Register a new element declaration</P
2659><P
2660></P
2661><DIV
2662CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002663><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002664NAME="AEN9205"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002665></P
2666><TABLE
2667BORDER="0"
2668WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002669BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002670CELLSPACING="0"
2671CELLPADDING="4"
2672CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002673><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002674><TR
2675><TD
2676WIDTH="20%"
2677ALIGN="RIGHT"
2678VALIGN="TOP"
2679><TT
2680CLASS="PARAMETER"
2681><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002682>ctxt</I
2683></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002684>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002685><TD
2686WIDTH="80%"
2687ALIGN="LEFT"
2688VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002689> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002690></TR
2691><TR
2692><TD
2693WIDTH="20%"
2694ALIGN="RIGHT"
2695VALIGN="TOP"
2696><TT
2697CLASS="PARAMETER"
2698><I
Daniel Veillard35925471999-02-25 08:46:07 +00002699>dtd</I
2700></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002701>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002702><TD
2703WIDTH="80%"
2704ALIGN="LEFT"
2705VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002706> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002707></TR
2708><TR
2709><TD
2710WIDTH="20%"
2711ALIGN="RIGHT"
2712VALIGN="TOP"
2713><TT
2714CLASS="PARAMETER"
2715><I
2716>name</I
2717></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002718>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002719><TD
2720WIDTH="80%"
2721ALIGN="LEFT"
2722VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002723> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002724></TR
2725><TR
2726><TD
2727WIDTH="20%"
2728ALIGN="RIGHT"
2729VALIGN="TOP"
2730><TT
2731CLASS="PARAMETER"
2732><I
2733>type</I
2734></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002735>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002736><TD
2737WIDTH="80%"
2738ALIGN="LEFT"
2739VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002740> the element type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002741></TR
2742><TR
2743><TD
2744WIDTH="20%"
2745ALIGN="RIGHT"
2746VALIGN="TOP"
2747><TT
2748CLASS="PARAMETER"
2749><I
2750>content</I
2751></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002752>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002753><TD
2754WIDTH="80%"
2755ALIGN="LEFT"
2756VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002757> the element content tree or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002758></TR
2759><TR
2760><TD
2761WIDTH="20%"
2762ALIGN="RIGHT"
2763VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002764><SPAN
2765CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002766><I
2767CLASS="EMPHASIS"
2768>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002769></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002770> :</TD
2771><TD
2772WIDTH="80%"
2773ALIGN="LEFT"
2774VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002775>NULL if not, otherwise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002776></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002777></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002778></TABLE
2779><P
2780></P
2781></DIV
2782></DIV
2783><HR><DIV
2784CLASS="REFSECT2"
2785><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002786NAME="AEN9234"
Daniel Veillard35925471999-02-25 08:46:07 +00002787></A
2788><H3
2789><A
2790NAME="XMLCOPYELEMENTTABLE"
2791></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002792>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002793><TABLE
2794BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002795BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002796WIDTH="100%"
2797CELLPADDING="6"
2798><TR
2799><TD
2800><PRE
2801CLASS="PROGRAMLISTING"
2802><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002803HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002804>xmlElementTablePtr</A
2805> xmlCopyElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002806HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002807>xmlElementTablePtr</A
2808> table);</PRE
2809></TD
2810></TR
2811></TABLE
2812><P
2813>Build a copy of an element table.</P
2814><P
2815></P
2816><DIV
2817CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002818><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002819NAME="AEN9242"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002820></P
2821><TABLE
2822BORDER="0"
2823WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002824BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002825CELLSPACING="0"
2826CELLPADDING="4"
2827CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002828><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002829><TR
2830><TD
2831WIDTH="20%"
2832ALIGN="RIGHT"
2833VALIGN="TOP"
2834><TT
2835CLASS="PARAMETER"
2836><I
2837>table</I
2838></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002839>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002840><TD
2841WIDTH="80%"
2842ALIGN="LEFT"
2843VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002844> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002845></TR
2846><TR
2847><TD
2848WIDTH="20%"
2849ALIGN="RIGHT"
2850VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002851><SPAN
2852CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002853><I
2854CLASS="EMPHASIS"
2855>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002856></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002857> :</TD
2858><TD
2859WIDTH="80%"
2860ALIGN="LEFT"
2861VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002862>the new xmlElementTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002863></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002864></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002865></TABLE
2866><P
2867></P
2868></DIV
2869></DIV
2870><HR><DIV
2871CLASS="REFSECT2"
2872><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002873NAME="AEN9255"
Daniel Veillard35925471999-02-25 08:46:07 +00002874></A
2875><H3
2876><A
2877NAME="XMLFREEELEMENTTABLE"
2878></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002879>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002880><TABLE
2881BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002882BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002883WIDTH="100%"
2884CELLPADDING="6"
2885><TR
2886><TD
2887><PRE
2888CLASS="PROGRAMLISTING"
2889>void xmlFreeElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002890HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002891>xmlElementTablePtr</A
2892> table);</PRE
2893></TD
2894></TR
2895></TABLE
2896><P
2897>Deallocate the memory used by an element hash table.</P
2898><P
2899></P
2900><DIV
2901CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002902><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002903NAME="AEN9262"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002904></P
2905><TABLE
2906BORDER="0"
2907WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002908BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002909CELLSPACING="0"
2910CELLPADDING="4"
2911CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002912><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002913><TR
2914><TD
2915WIDTH="20%"
2916ALIGN="RIGHT"
2917VALIGN="TOP"
2918><TT
2919CLASS="PARAMETER"
2920><I
2921>table</I
2922></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002923>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002924><TD
2925WIDTH="80%"
2926ALIGN="LEFT"
2927VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002928> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002929></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002930></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002931></TABLE
2932><P
2933></P
2934></DIV
2935></DIV
2936><HR><DIV
2937CLASS="REFSECT2"
2938><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002939NAME="AEN9271"
Daniel Veillard35925471999-02-25 08:46:07 +00002940></A
2941><H3
2942><A
2943NAME="XMLDUMPELEMENTTABLE"
2944></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002945>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002946><TABLE
2947BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002948BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002949WIDTH="100%"
2950CELLPADDING="6"
2951><TR
2952><TD
2953><PRE
2954CLASS="PROGRAMLISTING"
2955>void xmlDumpElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002956HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002957>xmlBufferPtr</A
2958> buf,
2959 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002960HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002961>xmlElementTablePtr</A
2962> table);</PRE
2963></TD
2964></TR
2965></TABLE
2966><P
2967>This will dump the content of the element table as an XML DTD definition</P
2968><P
Daniel Veillard35925471999-02-25 08:46:07 +00002969></P
2970><DIV
2971CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002972><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002973NAME="AEN9279"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002974></P
2975><TABLE
2976BORDER="0"
2977WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002978BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002979CELLSPACING="0"
2980CELLPADDING="4"
2981CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002982><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002983><TR
2984><TD
2985WIDTH="20%"
2986ALIGN="RIGHT"
2987VALIGN="TOP"
2988><TT
2989CLASS="PARAMETER"
2990><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002991>buf</I
2992></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002993>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002994><TD
2995WIDTH="80%"
2996ALIGN="LEFT"
2997VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002998> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002999></TR
3000><TR
3001><TD
3002WIDTH="20%"
3003ALIGN="RIGHT"
3004VALIGN="TOP"
3005><TT
3006CLASS="PARAMETER"
3007><I
Daniel Veillard35925471999-02-25 08:46:07 +00003008>table</I
3009></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003010>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003011><TD
3012WIDTH="80%"
3013ALIGN="LEFT"
3014VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003015> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003016></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003017></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003018></TABLE
3019><P
3020></P
3021></DIV
3022></DIV
3023><HR><DIV
3024CLASS="REFSECT2"
3025><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003026NAME="AEN9292"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003027></A
3028><H3
3029><A
3030NAME="XMLDUMPELEMENTDECL"
3031></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003032>xmlDumpElementDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003033><TABLE
3034BORDER="0"
3035BGCOLOR="#D6E8FF"
3036WIDTH="100%"
3037CELLPADDING="6"
3038><TR
3039><TD
3040><PRE
3041CLASS="PROGRAMLISTING"
3042>void xmlDumpElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003043HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003044>xmlBufferPtr</A
3045> buf,
3046 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003047HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003048>xmlElementPtr</A
3049> elem);</PRE
3050></TD
3051></TR
3052></TABLE
3053><P
3054>This will dump the content of the element declaration as an XML
3055DTD definition</P
3056><P
3057></P
3058><DIV
3059CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003060><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003061NAME="AEN9300"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003062></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 Veillard2ace1952002-09-26 12:28:02 +00003114NAME="AEN9313"
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 Veillard2ace1952002-09-26 12:28:02 +00003147NAME="AEN9321"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003148></P
3149><TABLE
3150BORDER="0"
3151WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003152BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003153CELLSPACING="0"
3154CELLPADDING="4"
3155CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003156><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003157><TR
3158><TD
3159WIDTH="20%"
3160ALIGN="RIGHT"
3161VALIGN="TOP"
3162><TT
3163CLASS="PARAMETER"
3164><I
3165>name</I
3166></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003167>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003168><TD
3169WIDTH="80%"
3170ALIGN="LEFT"
3171VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003172> the enumeration name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003173></TR
3174><TR
3175><TD
3176WIDTH="20%"
3177ALIGN="RIGHT"
3178VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003179><SPAN
3180CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003181><I
3182CLASS="EMPHASIS"
3183>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003184></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003185> :</TD
3186><TD
3187WIDTH="80%"
3188ALIGN="LEFT"
3189VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003190>the xmlEnumerationPtr just created or NULL in case
Daniel Veillardaf43f632002-03-08 15:05:20 +00003191of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003192></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003193></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003194></TABLE
3195><P
3196></P
3197></DIV
3198></DIV
3199><HR><DIV
3200CLASS="REFSECT2"
3201><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003202NAME="AEN9334"
Daniel Veillard35925471999-02-25 08:46:07 +00003203></A
3204><H3
3205><A
3206NAME="XMLFREEENUMERATION"
3207></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003208>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003209><TABLE
3210BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003211BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003212WIDTH="100%"
3213CELLPADDING="6"
3214><TR
3215><TD
3216><PRE
3217CLASS="PROGRAMLISTING"
3218>void xmlFreeEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003219HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003220>xmlEnumerationPtr</A
3221> cur);</PRE
3222></TD
3223></TR
3224></TABLE
3225><P
3226>free an enumeration attribute node (recursive).</P
3227><P
3228></P
3229><DIV
3230CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003231><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003232NAME="AEN9341"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003233></P
3234><TABLE
3235BORDER="0"
3236WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003237BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003238CELLSPACING="0"
3239CELLPADDING="4"
3240CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003241><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003242><TR
3243><TD
3244WIDTH="20%"
3245ALIGN="RIGHT"
3246VALIGN="TOP"
3247><TT
3248CLASS="PARAMETER"
3249><I
3250>cur</I
3251></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003252>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003253><TD
3254WIDTH="80%"
3255ALIGN="LEFT"
3256VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003257> the tree to free.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003258></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003259></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003260></TABLE
3261><P
3262></P
3263></DIV
3264></DIV
3265><HR><DIV
3266CLASS="REFSECT2"
3267><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003268NAME="AEN9350"
Daniel Veillard35925471999-02-25 08:46:07 +00003269></A
3270><H3
3271><A
3272NAME="XMLCOPYENUMERATION"
3273></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003274>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003275><TABLE
3276BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003277BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003278WIDTH="100%"
3279CELLPADDING="6"
3280><TR
3281><TD
3282><PRE
3283CLASS="PROGRAMLISTING"
3284><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003285HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003286>xmlEnumerationPtr</A
3287> xmlCopyEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003288HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003289>xmlEnumerationPtr</A
3290> cur);</PRE
3291></TD
3292></TR
3293></TABLE
3294><P
3295>Copy an enumeration attribute node (recursive).</P
3296><P
3297></P
3298><DIV
3299CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003300><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003301NAME="AEN9358"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003302></P
3303><TABLE
3304BORDER="0"
3305WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003306BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003307CELLSPACING="0"
3308CELLPADDING="4"
3309CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003310><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003311><TR
3312><TD
3313WIDTH="20%"
3314ALIGN="RIGHT"
3315VALIGN="TOP"
3316><TT
3317CLASS="PARAMETER"
3318><I
3319>cur</I
3320></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003321>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003322><TD
3323WIDTH="80%"
3324ALIGN="LEFT"
3325VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003326> the tree to copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003327></TR
3328><TR
3329><TD
3330WIDTH="20%"
3331ALIGN="RIGHT"
3332VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003333><SPAN
3334CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003335><I
3336CLASS="EMPHASIS"
3337>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003338></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003339> :</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 Veillard2ace1952002-09-26 12:28:02 +00003356NAME="AEN9371"
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 Veillard2ace1952002-09-26 12:28:02 +00003427NAME="AEN9388"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003428></P
3429><TABLE
3430BORDER="0"
3431WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003432BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003433CELLSPACING="0"
3434CELLPADDING="4"
3435CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003436><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003437><TR
3438><TD
3439WIDTH="20%"
3440ALIGN="RIGHT"
3441VALIGN="TOP"
3442><TT
3443CLASS="PARAMETER"
3444><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00003445>ctxt</I
3446></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003447>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003448><TD
3449WIDTH="80%"
3450ALIGN="LEFT"
3451VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003452> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003453></TR
3454><TR
3455><TD
3456WIDTH="20%"
3457ALIGN="RIGHT"
3458VALIGN="TOP"
3459><TT
3460CLASS="PARAMETER"
3461><I
Daniel Veillard35925471999-02-25 08:46:07 +00003462>dtd</I
3463></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003464>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003465><TD
3466WIDTH="80%"
3467ALIGN="LEFT"
3468VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003469> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003470></TR
3471><TR
3472><TD
3473WIDTH="20%"
3474ALIGN="RIGHT"
3475VALIGN="TOP"
3476><TT
3477CLASS="PARAMETER"
3478><I
3479>elem</I
3480></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003481>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003482><TD
3483WIDTH="80%"
3484ALIGN="LEFT"
3485VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003486> the element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003487></TR
3488><TR
3489><TD
3490WIDTH="20%"
3491ALIGN="RIGHT"
3492VALIGN="TOP"
3493><TT
3494CLASS="PARAMETER"
3495><I
3496>name</I
3497></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003498>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003499><TD
3500WIDTH="80%"
3501ALIGN="LEFT"
3502VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003503> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003504></TR
3505><TR
3506><TD
3507WIDTH="20%"
3508ALIGN="RIGHT"
3509VALIGN="TOP"
3510><TT
3511CLASS="PARAMETER"
3512><I
Daniel Veillard06047432000-04-24 11:33:38 +00003513>ns</I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003514></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003515>&nbsp;:</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003516><TD
3517WIDTH="80%"
3518ALIGN="LEFT"
3519VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003520> the attribute namespace prefix</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003521></TR
3522><TR
3523><TD
3524WIDTH="20%"
3525ALIGN="RIGHT"
3526VALIGN="TOP"
3527><TT
3528CLASS="PARAMETER"
3529><I
Daniel Veillard35925471999-02-25 08:46:07 +00003530>type</I
3531></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003532>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003533><TD
3534WIDTH="80%"
3535ALIGN="LEFT"
3536VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003537> the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003538></TR
3539><TR
3540><TD
3541WIDTH="20%"
3542ALIGN="RIGHT"
3543VALIGN="TOP"
3544><TT
3545CLASS="PARAMETER"
3546><I
3547>def</I
3548></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003549>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003550><TD
3551WIDTH="80%"
3552ALIGN="LEFT"
3553VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003554> the attribute default type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003555></TR
3556><TR
3557><TD
3558WIDTH="20%"
3559ALIGN="RIGHT"
3560VALIGN="TOP"
3561><TT
3562CLASS="PARAMETER"
3563><I
3564>defaultValue</I
3565></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003566>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003567><TD
3568WIDTH="80%"
3569ALIGN="LEFT"
3570VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003571> the attribute default value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003572></TR
3573><TR
3574><TD
3575WIDTH="20%"
3576ALIGN="RIGHT"
3577VALIGN="TOP"
3578><TT
3579CLASS="PARAMETER"
3580><I
3581>tree</I
3582></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003583>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003584><TD
3585WIDTH="80%"
3586ALIGN="LEFT"
3587VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003588> if it's an enumeration, the associated list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003589></TR
3590><TR
3591><TD
3592WIDTH="20%"
3593ALIGN="RIGHT"
3594VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003595><SPAN
3596CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003597><I
3598CLASS="EMPHASIS"
3599>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003600></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003601> :</TD
3602><TD
3603WIDTH="80%"
3604ALIGN="LEFT"
3605VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00003606>NULL if not new, otherwise the attribute decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003607></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003608></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003609></TABLE
3610><P
3611></P
3612></DIV
3613></DIV
3614><HR><DIV
3615CLASS="REFSECT2"
3616><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003617NAME="AEN9433"
Daniel Veillard35925471999-02-25 08:46:07 +00003618></A
3619><H3
3620><A
3621NAME="XMLCOPYATTRIBUTETABLE"
3622></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003623>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003624><TABLE
3625BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003626BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003627WIDTH="100%"
3628CELLPADDING="6"
3629><TR
3630><TD
3631><PRE
3632CLASS="PROGRAMLISTING"
3633><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003634HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003635>xmlAttributeTablePtr</A
3636> xmlCopyAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003637HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003638>xmlAttributeTablePtr</A
3639> table);</PRE
3640></TD
3641></TR
3642></TABLE
3643><P
3644>Build a copy of an attribute table.</P
3645><P
3646></P
3647><DIV
3648CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003649><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003650NAME="AEN9441"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003651></P
3652><TABLE
3653BORDER="0"
3654WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003655BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003656CELLSPACING="0"
3657CELLPADDING="4"
3658CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003659><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003660><TR
3661><TD
3662WIDTH="20%"
3663ALIGN="RIGHT"
3664VALIGN="TOP"
3665><TT
3666CLASS="PARAMETER"
3667><I
3668>table</I
3669></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003670>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003671><TD
3672WIDTH="80%"
3673ALIGN="LEFT"
3674VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003675> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003676></TR
3677><TR
3678><TD
3679WIDTH="20%"
3680ALIGN="RIGHT"
3681VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003682><SPAN
3683CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003684><I
3685CLASS="EMPHASIS"
3686>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003687></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003688> :</TD
3689><TD
3690WIDTH="80%"
3691ALIGN="LEFT"
3692VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003693>the new xmlAttributeTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003694></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003695></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003696></TABLE
3697><P
3698></P
3699></DIV
3700></DIV
3701><HR><DIV
3702CLASS="REFSECT2"
3703><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003704NAME="AEN9454"
Daniel Veillard35925471999-02-25 08:46:07 +00003705></A
3706><H3
3707><A
3708NAME="XMLFREEATTRIBUTETABLE"
3709></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003710>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003711><TABLE
3712BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003713BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003714WIDTH="100%"
3715CELLPADDING="6"
3716><TR
3717><TD
3718><PRE
3719CLASS="PROGRAMLISTING"
3720>void xmlFreeAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003721HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003722>xmlAttributeTablePtr</A
3723> table);</PRE
3724></TD
3725></TR
3726></TABLE
3727><P
3728>Deallocate the memory used by an entities hash table.</P
3729><P
3730></P
3731><DIV
3732CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003733><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003734NAME="AEN9461"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003735></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 Veillard2ace1952002-09-26 12:28:02 +00003770NAME="AEN9470"
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 Veillard2ace1952002-09-26 12:28:02 +00003804NAME="AEN9478"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003805></P
3806><TABLE
3807BORDER="0"
3808WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003809BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003810CELLSPACING="0"
3811CELLPADDING="4"
3812CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003813><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003814><TR
3815><TD
3816WIDTH="20%"
3817ALIGN="RIGHT"
3818VALIGN="TOP"
3819><TT
3820CLASS="PARAMETER"
3821><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003822>buf</I
3823></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003824>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003825><TD
3826WIDTH="80%"
3827ALIGN="LEFT"
3828VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003829> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003830></TR
3831><TR
3832><TD
3833WIDTH="20%"
3834ALIGN="RIGHT"
3835VALIGN="TOP"
3836><TT
3837CLASS="PARAMETER"
3838><I
Daniel Veillard35925471999-02-25 08:46:07 +00003839>table</I
3840></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003841>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003842><TD
3843WIDTH="80%"
3844ALIGN="LEFT"
3845VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003846> An attribute table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003847></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003848></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003849></TABLE
3850><P
3851></P
3852></DIV
3853></DIV
3854><HR><DIV
3855CLASS="REFSECT2"
3856><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003857NAME="AEN9491"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003858></A
3859><H3
3860><A
3861NAME="XMLDUMPATTRIBUTEDECL"
3862></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003863>xmlDumpAttributeDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003864><TABLE
3865BORDER="0"
3866BGCOLOR="#D6E8FF"
3867WIDTH="100%"
3868CELLPADDING="6"
3869><TR
3870><TD
3871><PRE
3872CLASS="PROGRAMLISTING"
3873>void xmlDumpAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003874HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003875>xmlBufferPtr</A
3876> buf,
3877 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003878HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003879>xmlAttributePtr</A
3880> attr);</PRE
3881></TD
3882></TR
3883></TABLE
3884><P
3885>This will dump the content of the attribute declaration as an XML
3886DTD definition</P
3887><P
3888></P
3889><DIV
3890CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003891><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003892NAME="AEN9499"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003893></P
3894><TABLE
3895BORDER="0"
3896WIDTH="100%"
3897BGCOLOR="#FFD0D0"
3898CELLSPACING="0"
3899CELLPADDING="4"
3900CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003901><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003902><TR
3903><TD
3904WIDTH="20%"
3905ALIGN="RIGHT"
3906VALIGN="TOP"
3907><TT
3908CLASS="PARAMETER"
3909><I
3910>buf</I
3911></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003912>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003913><TD
3914WIDTH="80%"
3915ALIGN="LEFT"
3916VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003917> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003918></TR
3919><TR
3920><TD
3921WIDTH="20%"
3922ALIGN="RIGHT"
3923VALIGN="TOP"
3924><TT
3925CLASS="PARAMETER"
3926><I
3927>attr</I
3928></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003929>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003930><TD
3931WIDTH="80%"
3932ALIGN="LEFT"
3933VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003934> An attribute declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003935></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003936></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003937></TABLE
3938><P
3939></P
3940></DIV
3941></DIV
3942><HR><DIV
3943CLASS="REFSECT2"
3944><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003945NAME="AEN9512"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003946></A
3947><H3
3948><A
3949NAME="XMLADDID"
3950></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003951>xmlAddID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003952><TABLE
3953BORDER="0"
3954BGCOLOR="#D6E8FF"
3955WIDTH="100%"
3956CELLPADDING="6"
3957><TR
3958><TD
3959><PRE
3960CLASS="PROGRAMLISTING"
3961><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003962HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003963>xmlIDPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003964> xmlAddID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003965HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003966>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003967> ctxt,
3968 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003969HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003970>xmlDocPtr</A
3971> doc,
3972 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003973HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003974>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003975> *value,
3976 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003977HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003978>xmlAttrPtr</A
3979> attr);</PRE
3980></TD
3981></TR
3982></TABLE
3983><P
3984>Register a new id declaration</P
3985><P
3986></P
3987><DIV
3988CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003989><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003990NAME="AEN9523"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003991></P
3992><TABLE
3993BORDER="0"
3994WIDTH="100%"
3995BGCOLOR="#FFD0D0"
3996CELLSPACING="0"
3997CELLPADDING="4"
3998CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003999><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004000><TR
4001><TD
4002WIDTH="20%"
4003ALIGN="RIGHT"
4004VALIGN="TOP"
4005><TT
4006CLASS="PARAMETER"
4007><I
4008>ctxt</I
4009></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004010>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004011><TD
4012WIDTH="80%"
4013ALIGN="LEFT"
4014VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004015> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004016></TR
4017><TR
4018><TD
4019WIDTH="20%"
4020ALIGN="RIGHT"
4021VALIGN="TOP"
4022><TT
4023CLASS="PARAMETER"
4024><I
4025>doc</I
4026></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004027>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004028><TD
4029WIDTH="80%"
4030ALIGN="LEFT"
4031VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004032> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004033></TR
4034><TR
4035><TD
4036WIDTH="20%"
4037ALIGN="RIGHT"
4038VALIGN="TOP"
4039><TT
4040CLASS="PARAMETER"
4041><I
4042>value</I
4043></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004044>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004045><TD
4046WIDTH="80%"
4047ALIGN="LEFT"
4048VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004049> the value name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004050></TR
4051><TR
4052><TD
4053WIDTH="20%"
4054ALIGN="RIGHT"
4055VALIGN="TOP"
4056><TT
4057CLASS="PARAMETER"
4058><I
4059>attr</I
4060></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004061>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004062><TD
4063WIDTH="80%"
4064ALIGN="LEFT"
4065VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004066> the attribute holding the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004067></TR
4068><TR
4069><TD
4070WIDTH="20%"
4071ALIGN="RIGHT"
4072VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004073><SPAN
4074CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004075><I
4076CLASS="EMPHASIS"
4077>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004078></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004079> :</TD
4080><TD
4081WIDTH="80%"
4082ALIGN="LEFT"
4083VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004084>NULL if not, otherwise the new xmlIDPtr</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004085></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004086></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004087></TABLE
4088><P
4089></P
4090></DIV
4091></DIV
4092><HR><DIV
4093CLASS="REFSECT2"
4094><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004095NAME="AEN9548"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004096></A
4097><H3
4098><A
4099NAME="XMLFREEIDTABLE"
4100></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004101>xmlFreeIDTable ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004102><TABLE
4103BORDER="0"
4104BGCOLOR="#D6E8FF"
4105WIDTH="100%"
4106CELLPADDING="6"
4107><TR
4108><TD
4109><PRE
4110CLASS="PROGRAMLISTING"
4111>void xmlFreeIDTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004112HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004113>xmlIDTablePtr</A
4114> table);</PRE
4115></TD
4116></TR
4117></TABLE
4118><P
4119>Deallocate the memory used by an ID hash table.</P
4120><P
4121></P
4122><DIV
4123CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004124><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004125NAME="AEN9555"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004126></P
4127><TABLE
4128BORDER="0"
4129WIDTH="100%"
4130BGCOLOR="#FFD0D0"
4131CELLSPACING="0"
4132CELLPADDING="4"
4133CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004134><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004135><TR
4136><TD
4137WIDTH="20%"
4138ALIGN="RIGHT"
4139VALIGN="TOP"
4140><TT
4141CLASS="PARAMETER"
4142><I
4143>table</I
4144></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004145>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004146><TD
4147WIDTH="80%"
4148ALIGN="LEFT"
4149VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004150> An id table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004151></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004152></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004153></TABLE
4154><P
4155></P
4156></DIV
4157></DIV
4158><HR><DIV
4159CLASS="REFSECT2"
4160><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004161NAME="AEN9564"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004162></A
4163><H3
4164><A
4165NAME="XMLGETID"
4166></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004167>xmlGetID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004168><TABLE
4169BORDER="0"
4170BGCOLOR="#D6E8FF"
4171WIDTH="100%"
4172CELLPADDING="6"
4173><TR
4174><TD
4175><PRE
4176CLASS="PROGRAMLISTING"
4177><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004178HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004179>xmlAttrPtr</A
4180> xmlGetID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004181HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004182>xmlDocPtr</A
4183> doc,
4184 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004185HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004186>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004187> *ID);</PRE
4188></TD
4189></TR
4190></TABLE
4191><P
4192>Search the attribute declaring the given ID</P
4193><P
4194></P
4195><DIV
4196CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004197><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004198NAME="AEN9573"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004199></P
4200><TABLE
4201BORDER="0"
4202WIDTH="100%"
4203BGCOLOR="#FFD0D0"
4204CELLSPACING="0"
4205CELLPADDING="4"
4206CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004207><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004208><TR
4209><TD
4210WIDTH="20%"
4211ALIGN="RIGHT"
4212VALIGN="TOP"
4213><TT
4214CLASS="PARAMETER"
4215><I
4216>doc</I
4217></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004218>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004219><TD
4220WIDTH="80%"
4221ALIGN="LEFT"
4222VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004223> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004224></TR
4225><TR
4226><TD
4227WIDTH="20%"
4228ALIGN="RIGHT"
4229VALIGN="TOP"
4230><TT
4231CLASS="PARAMETER"
4232><I
4233>ID</I
4234></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004235>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004236><TD
4237WIDTH="80%"
4238ALIGN="LEFT"
4239VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004240> the ID value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004241></TR
4242><TR
4243><TD
4244WIDTH="20%"
4245ALIGN="RIGHT"
4246VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004247><SPAN
4248CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004249><I
4250CLASS="EMPHASIS"
4251>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004252></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004253> :</TD
4254><TD
4255WIDTH="80%"
4256ALIGN="LEFT"
4257VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004258>NULL if not found, otherwise the xmlAttrPtr defining the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004259></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004260></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004261></TABLE
4262><P
4263></P
4264></DIV
4265></DIV
4266><HR><DIV
4267CLASS="REFSECT2"
4268><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004269NAME="AEN9590"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004270></A
4271><H3
4272><A
4273NAME="XMLISID"
4274></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004275>xmlIsID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004276><TABLE
4277BORDER="0"
4278BGCOLOR="#D6E8FF"
4279WIDTH="100%"
4280CELLPADDING="6"
4281><TR
4282><TD
4283><PRE
4284CLASS="PROGRAMLISTING"
4285>int xmlIsID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004286HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004287>xmlDocPtr</A
4288> doc,
4289 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004290HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004291>xmlNodePtr</A
4292> elem,
4293 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004294HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004295>xmlAttrPtr</A
4296> attr);</PRE
4297></TD
4298></TR
4299></TABLE
4300><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004301>Determine whether an attribute is of type ID. In case we have DTD(s)
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004302then this is simple, otherwise we use an heuristic: name ID (upper
4303or lowercase).</P
4304><P
4305></P
4306><DIV
4307CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004308><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004309NAME="AEN9599"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004310></P
4311><TABLE
4312BORDER="0"
4313WIDTH="100%"
4314BGCOLOR="#FFD0D0"
4315CELLSPACING="0"
4316CELLPADDING="4"
4317CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004318><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004319><TR
4320><TD
4321WIDTH="20%"
4322ALIGN="RIGHT"
4323VALIGN="TOP"
4324><TT
4325CLASS="PARAMETER"
4326><I
4327>doc</I
4328></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004329>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004330><TD
4331WIDTH="80%"
4332ALIGN="LEFT"
4333VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004334> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004335></TR
4336><TR
4337><TD
4338WIDTH="20%"
4339ALIGN="RIGHT"
4340VALIGN="TOP"
4341><TT
4342CLASS="PARAMETER"
4343><I
4344>elem</I
4345></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004346>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004347><TD
4348WIDTH="80%"
4349ALIGN="LEFT"
4350VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004351> the element carrying the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004352></TR
4353><TR
4354><TD
4355WIDTH="20%"
4356ALIGN="RIGHT"
4357VALIGN="TOP"
4358><TT
4359CLASS="PARAMETER"
4360><I
4361>attr</I
4362></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004363>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004364><TD
4365WIDTH="80%"
4366ALIGN="LEFT"
4367VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004368> the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004369></TR
4370><TR
4371><TD
4372WIDTH="20%"
4373ALIGN="RIGHT"
4374VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004375><SPAN
4376CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004377><I
4378CLASS="EMPHASIS"
4379>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004380></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004381> :</TD
4382><TD
4383WIDTH="80%"
4384ALIGN="LEFT"
4385VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004386>0 or 1 depending on the lookup result</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004387></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004388></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004389></TABLE
4390><P
4391></P
4392></DIV
4393></DIV
4394><HR><DIV
4395CLASS="REFSECT2"
4396><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004397NAME="AEN9620"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004398></A
4399><H3
4400><A
4401NAME="XMLREMOVEID"
4402></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004403>xmlRemoveID ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004404><TABLE
4405BORDER="0"
4406BGCOLOR="#D6E8FF"
4407WIDTH="100%"
4408CELLPADDING="6"
4409><TR
4410><TD
4411><PRE
4412CLASS="PROGRAMLISTING"
4413>int xmlRemoveID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004414HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004415>xmlDocPtr</A
4416> doc,
4417 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004418HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004419>xmlAttrPtr</A
4420> attr);</PRE
4421></TD
4422></TR
4423></TABLE
4424><P
4425>Remove the given attribute from the ID table maintained internally.</P
4426><P
4427></P
4428><DIV
4429CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004430><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004431NAME="AEN9628"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004432></P
4433><TABLE
4434BORDER="0"
4435WIDTH="100%"
4436BGCOLOR="#FFD0D0"
4437CELLSPACING="0"
4438CELLPADDING="4"
4439CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004440><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004441><TR
4442><TD
4443WIDTH="20%"
4444ALIGN="RIGHT"
4445VALIGN="TOP"
4446><TT
4447CLASS="PARAMETER"
4448><I
4449>doc</I
4450></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004451>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004452><TD
4453WIDTH="80%"
4454ALIGN="LEFT"
4455VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004456> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004457></TR
4458><TR
4459><TD
4460WIDTH="20%"
4461ALIGN="RIGHT"
4462VALIGN="TOP"
4463><TT
4464CLASS="PARAMETER"
4465><I
4466>attr</I
4467></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004468>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004469><TD
4470WIDTH="80%"
4471ALIGN="LEFT"
4472VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004473> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004474></TR
4475><TR
4476><TD
4477WIDTH="20%"
4478ALIGN="RIGHT"
4479VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004480><SPAN
4481CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004482><I
4483CLASS="EMPHASIS"
4484>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004485></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004486> :</TD
4487><TD
4488WIDTH="80%"
4489ALIGN="LEFT"
4490VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004491>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004492></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004493></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004494></TABLE
4495><P
4496></P
4497></DIV
4498></DIV
4499><HR><DIV
4500CLASS="REFSECT2"
4501><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004502NAME="AEN9645"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004503></A
4504><H3
4505><A
4506NAME="XMLADDREF"
4507></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004508>xmlAddRef ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004509><TABLE
4510BORDER="0"
4511BGCOLOR="#D6E8FF"
4512WIDTH="100%"
4513CELLPADDING="6"
4514><TR
4515><TD
4516><PRE
4517CLASS="PROGRAMLISTING"
4518><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004519HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004520>xmlRefPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004521> xmlAddRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004522HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004523>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004524> ctxt,
4525 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004526HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004527>xmlDocPtr</A
4528> doc,
4529 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004530HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004531>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004532> *value,
4533 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004534HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004535>xmlAttrPtr</A
4536> attr);</PRE
4537></TD
4538></TR
4539></TABLE
4540><P
4541>Register a new ref declaration</P
4542><P
4543></P
4544><DIV
4545CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004546><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004547NAME="AEN9656"><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004548></P
4549><TABLE
4550BORDER="0"
4551WIDTH="100%"
4552BGCOLOR="#FFD0D0"
4553CELLSPACING="0"
4554CELLPADDING="4"
4555CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004556><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004557><TR
4558><TD
4559WIDTH="20%"
4560ALIGN="RIGHT"
4561VALIGN="TOP"
4562><TT
4563CLASS="PARAMETER"
4564><I
4565>ctxt</I
4566></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004567>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004568><TD
4569WIDTH="80%"
4570ALIGN="LEFT"
4571VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004572> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004573></TR
4574><TR
4575><TD
4576WIDTH="20%"
4577ALIGN="RIGHT"
4578VALIGN="TOP"
4579><TT
4580CLASS="PARAMETER"
4581><I
4582>doc</I
4583></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004584>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004585><TD
4586WIDTH="80%"
4587ALIGN="LEFT"
4588VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004589> pointer to the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004590></TR
4591><TR
4592><TD
4593WIDTH="20%"
4594ALIGN="RIGHT"
4595VALIGN="TOP"
4596><TT
4597CLASS="PARAMETER"
4598><I
4599>value</I
4600></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004601>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004602><TD
4603WIDTH="80%"
4604ALIGN="LEFT"
4605VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004606> the value name</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004607></TR
4608><TR
4609><TD
4610WIDTH="20%"
4611ALIGN="RIGHT"
4612VALIGN="TOP"
4613><TT
4614CLASS="PARAMETER"
4615><I
4616>attr</I
4617></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004618>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004619><TD
4620WIDTH="80%"
4621ALIGN="LEFT"
4622VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004623> the attribute holding the Ref</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004624></TR
4625><TR
4626><TD
4627WIDTH="20%"
4628ALIGN="RIGHT"
4629VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004630><SPAN
4631CLASS="emphasis"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004632><I
4633CLASS="EMPHASIS"
4634>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004635></SPAN
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004636> :</TD
4637><TD
4638WIDTH="80%"
4639ALIGN="LEFT"
4640VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004641>NULL if not, otherwise the new xmlRefPtr</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004642></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004643></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004644></TABLE
4645><P
4646></P
4647></DIV
4648></DIV
4649><HR><DIV
4650CLASS="REFSECT2"
4651><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004652NAME="AEN9681"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004653></A
4654><H3
4655><A
4656NAME="XMLFREEREFTABLE"
4657></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004658>xmlFreeRefTable ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004659><TABLE
4660BORDER="0"
4661BGCOLOR="#D6E8FF"
4662WIDTH="100%"
4663CELLPADDING="6"
4664><TR
4665><TD
4666><PRE
4667CLASS="PROGRAMLISTING"
4668>void xmlFreeRefTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004669HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004670>xmlRefTablePtr</A
4671> table);</PRE
4672></TD
4673></TR
4674></TABLE
4675><P
4676>Deallocate the memory used by an Ref hash table.</P
4677><P
4678></P
4679><DIV
4680CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004681><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004682NAME="AEN9688"><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004683></P
4684><TABLE
4685BORDER="0"
4686WIDTH="100%"
4687BGCOLOR="#FFD0D0"
4688CELLSPACING="0"
4689CELLPADDING="4"
4690CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004691><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004692><TR
4693><TD
4694WIDTH="20%"
4695ALIGN="RIGHT"
4696VALIGN="TOP"
4697><TT
4698CLASS="PARAMETER"
4699><I
4700>table</I
4701></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004702>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004703><TD
4704WIDTH="80%"
4705ALIGN="LEFT"
4706VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004707> An ref table</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004708></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004709></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004710></TABLE
4711><P
4712></P
4713></DIV
4714></DIV
4715><HR><DIV
4716CLASS="REFSECT2"
4717><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004718NAME="AEN9697"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004719></A
4720><H3
4721><A
4722NAME="XMLISREF"
4723></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004724>xmlIsRef ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004725><TABLE
4726BORDER="0"
4727BGCOLOR="#D6E8FF"
4728WIDTH="100%"
4729CELLPADDING="6"
4730><TR
4731><TD
4732><PRE
4733CLASS="PROGRAMLISTING"
4734>int xmlIsRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004735HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004736>xmlDocPtr</A
4737> doc,
4738 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004739HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004740>xmlNodePtr</A
4741> elem,
4742 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004743HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004744>xmlAttrPtr</A
4745> attr);</PRE
4746></TD
4747></TR
4748></TABLE
4749><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004750>Determine whether an attribute is of type Ref. In case we have DTD(s)
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004751then this is simple, otherwise we use an heuristic: name Ref (upper
4752or lowercase).</P
4753><P
4754></P
4755><DIV
4756CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004757><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004758NAME="AEN9706"><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004759></P
4760><TABLE
4761BORDER="0"
4762WIDTH="100%"
4763BGCOLOR="#FFD0D0"
4764CELLSPACING="0"
4765CELLPADDING="4"
4766CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004767><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004768><TR
4769><TD
4770WIDTH="20%"
4771ALIGN="RIGHT"
4772VALIGN="TOP"
4773><TT
4774CLASS="PARAMETER"
4775><I
4776>doc</I
4777></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004778>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004779><TD
4780WIDTH="80%"
4781ALIGN="LEFT"
4782VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004783> the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004784></TR
4785><TR
4786><TD
4787WIDTH="20%"
4788ALIGN="RIGHT"
4789VALIGN="TOP"
4790><TT
4791CLASS="PARAMETER"
4792><I
4793>elem</I
4794></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004795>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004796><TD
4797WIDTH="80%"
4798ALIGN="LEFT"
4799VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004800> the element carrying the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004801></TR
4802><TR
4803><TD
4804WIDTH="20%"
4805ALIGN="RIGHT"
4806VALIGN="TOP"
4807><TT
4808CLASS="PARAMETER"
4809><I
4810>attr</I
4811></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004812>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004813><TD
4814WIDTH="80%"
4815ALIGN="LEFT"
4816VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004817> the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004818></TR
4819><TR
4820><TD
4821WIDTH="20%"
4822ALIGN="RIGHT"
4823VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004824><SPAN
4825CLASS="emphasis"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004826><I
4827CLASS="EMPHASIS"
4828>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004829></SPAN
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004830> :</TD
4831><TD
4832WIDTH="80%"
4833ALIGN="LEFT"
4834VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004835>0 or 1 depending on the lookup result</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004836></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004837></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004838></TABLE
4839><P
4840></P
4841></DIV
4842></DIV
4843><HR><DIV
4844CLASS="REFSECT2"
4845><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004846NAME="AEN9727"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004847></A
4848><H3
4849><A
4850NAME="XMLREMOVEREF"
4851></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004852>xmlRemoveRef ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004853><TABLE
4854BORDER="0"
4855BGCOLOR="#D6E8FF"
4856WIDTH="100%"
4857CELLPADDING="6"
4858><TR
4859><TD
4860><PRE
4861CLASS="PROGRAMLISTING"
4862>int xmlRemoveRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004863HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004864>xmlDocPtr</A
4865> doc,
4866 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004867HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004868>xmlAttrPtr</A
4869> attr);</PRE
4870></TD
4871></TR
4872></TABLE
4873><P
4874>Remove the given attribute from the Ref table maintained internally.</P
4875><P
4876></P
4877><DIV
4878CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004879><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004880NAME="AEN9735"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004881></P
4882><TABLE
4883BORDER="0"
4884WIDTH="100%"
4885BGCOLOR="#FFD0D0"
4886CELLSPACING="0"
4887CELLPADDING="4"
4888CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004889><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004890><TR
4891><TD
4892WIDTH="20%"
4893ALIGN="RIGHT"
4894VALIGN="TOP"
4895><TT
4896CLASS="PARAMETER"
4897><I
4898>doc</I
4899></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004900>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004901><TD
4902WIDTH="80%"
4903ALIGN="LEFT"
4904VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004905> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004906></TR
4907><TR
4908><TD
4909WIDTH="20%"
4910ALIGN="RIGHT"
4911VALIGN="TOP"
4912><TT
4913CLASS="PARAMETER"
4914><I
4915>attr</I
4916></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004917>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004918><TD
4919WIDTH="80%"
4920ALIGN="LEFT"
4921VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004922> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004923></TR
4924><TR
4925><TD
4926WIDTH="20%"
4927ALIGN="RIGHT"
4928VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004929><SPAN
4930CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004931><I
4932CLASS="EMPHASIS"
4933>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004934></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004935> :</TD
4936><TD
4937WIDTH="80%"
4938ALIGN="LEFT"
4939VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004940>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004941></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004942></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004943></TABLE
4944><P
4945></P
4946></DIV
4947></DIV
4948><HR><DIV
4949CLASS="REFSECT2"
4950><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004951NAME="AEN9752"
Daniel Veillarda41123c2001-04-22 19:31:20 +00004952></A
4953><H3
4954><A
4955NAME="XMLGETREFS"
4956></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004957>xmlGetRefs ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00004958><TABLE
4959BORDER="0"
4960BGCOLOR="#D6E8FF"
4961WIDTH="100%"
4962CELLPADDING="6"
4963><TR
4964><TD
4965><PRE
4966CLASS="PROGRAMLISTING"
4967><GTKDOCLINK
4968HREF="XMLLISTPTR"
4969>xmlListPtr</GTKDOCLINK
4970> xmlGetRefs (<A
4971HREF="libxml-tree.html#XMLDOCPTR"
4972>xmlDocPtr</A
4973> doc,
4974 const <A
4975HREF="libxml-tree.html#XMLCHAR"
4976>xmlChar</A
4977> *ID);</PRE
4978></TD
4979></TR
4980></TABLE
4981><P
4982>Find the set of references for the supplied ID.</P
4983><P
4984></P
4985><DIV
4986CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004987><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004988NAME="AEN9761"><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00004989></P
4990><TABLE
4991BORDER="0"
4992WIDTH="100%"
4993BGCOLOR="#FFD0D0"
4994CELLSPACING="0"
4995CELLPADDING="4"
4996CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004997><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00004998><TR
4999><TD
5000WIDTH="20%"
5001ALIGN="RIGHT"
5002VALIGN="TOP"
5003><TT
5004CLASS="PARAMETER"
5005><I
5006>doc</I
5007></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005008>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005009><TD
5010WIDTH="80%"
5011ALIGN="LEFT"
5012VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005013> pointer to the document</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005014></TR
5015><TR
5016><TD
5017WIDTH="20%"
5018ALIGN="RIGHT"
5019VALIGN="TOP"
5020><TT
5021CLASS="PARAMETER"
5022><I
5023>ID</I
5024></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005025>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005026><TD
5027WIDTH="80%"
5028ALIGN="LEFT"
5029VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005030> the ID value</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005031></TR
5032><TR
5033><TD
5034WIDTH="20%"
5035ALIGN="RIGHT"
5036VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005037><SPAN
5038CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005039><I
5040CLASS="EMPHASIS"
5041>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005042></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +00005043> :</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 Veillard2ace1952002-09-26 12:28:02 +00005059NAME="AEN9778"
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 Veillard2ace1952002-09-26 12:28:02 +00005097NAME="AEN9786"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005098></P
5099><TABLE
5100BORDER="0"
5101WIDTH="100%"
5102BGCOLOR="#FFD0D0"
5103CELLSPACING="0"
5104CELLPADDING="4"
5105CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005106><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005107><TR
5108><TD
5109WIDTH="20%"
5110ALIGN="RIGHT"
5111VALIGN="TOP"
5112><TT
5113CLASS="PARAMETER"
5114><I
5115>ctxt</I
5116></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005117>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005118><TD
5119WIDTH="80%"
5120ALIGN="LEFT"
5121VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005122> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005123></TR
5124><TR
5125><TD
5126WIDTH="20%"
5127ALIGN="RIGHT"
5128VALIGN="TOP"
5129><TT
5130CLASS="PARAMETER"
5131><I
5132>doc</I
5133></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005134>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005135><TD
5136WIDTH="80%"
5137ALIGN="LEFT"
5138VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005139> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005140></TR
5141><TR
5142><TD
5143WIDTH="20%"
5144ALIGN="RIGHT"
5145VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005146><SPAN
5147CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005148><I
5149CLASS="EMPHASIS"
5150>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005151></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00005152> :</TD
5153><TD
5154WIDTH="80%"
5155ALIGN="LEFT"
5156VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005157>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005158></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005159></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005160></TABLE
5161><P
5162></P
5163></DIV
5164></DIV
5165><HR><DIV
5166CLASS="REFSECT2"
5167><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005168NAME="AEN9803"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005169></A
5170><H3
5171><A
5172NAME="XMLVALIDATEELEMENTDECL"
5173></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005174>xmlValidateElementDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005175><TABLE
5176BORDER="0"
5177BGCOLOR="#D6E8FF"
5178WIDTH="100%"
5179CELLPADDING="6"
5180><TR
5181><TD
5182><PRE
5183CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005184>int xmlValidateElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005185HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005186>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005187> ctxt,
5188 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005189HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005190>xmlDocPtr</A
5191> doc,
5192 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005193HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005194>xmlElementPtr</A
5195> elem);</PRE
5196></TD
5197></TR
5198></TABLE
5199><P
5200>Try to validate a single element definition
5201basically it does the following checks as described by the
5202XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005203- [ VC: One ID per Element Type ]
5204- [ VC: No Duplicate Types ]
5205- [ VC: Unique Element Type Declaration ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005206><P
5207></P
5208><DIV
5209CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005210><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005211NAME="AEN9812"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005212></P
5213><TABLE
5214BORDER="0"
5215WIDTH="100%"
5216BGCOLOR="#FFD0D0"
5217CELLSPACING="0"
5218CELLPADDING="4"
5219CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005220><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005221><TR
5222><TD
5223WIDTH="20%"
5224ALIGN="RIGHT"
5225VALIGN="TOP"
5226><TT
5227CLASS="PARAMETER"
5228><I
5229>ctxt</I
5230></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005231>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005232><TD
5233WIDTH="80%"
5234ALIGN="LEFT"
5235VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005236> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005237></TR
5238><TR
5239><TD
5240WIDTH="20%"
5241ALIGN="RIGHT"
5242VALIGN="TOP"
5243><TT
5244CLASS="PARAMETER"
5245><I
5246>doc</I
5247></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005248>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005249><TD
5250WIDTH="80%"
5251ALIGN="LEFT"
5252VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005253> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005254></TR
5255><TR
5256><TD
5257WIDTH="20%"
5258ALIGN="RIGHT"
5259VALIGN="TOP"
5260><TT
5261CLASS="PARAMETER"
5262><I
5263>elem</I
5264></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005265>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005266><TD
5267WIDTH="80%"
5268ALIGN="LEFT"
5269VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005270> an element definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005271></TR
5272><TR
5273><TD
5274WIDTH="20%"
5275ALIGN="RIGHT"
5276VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005277><SPAN
5278CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005279><I
5280CLASS="EMPHASIS"
5281>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005282></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00005283> :</TD
5284><TD
5285WIDTH="80%"
5286ALIGN="LEFT"
5287VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005288>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005289></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005290></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005291></TABLE
5292><P
5293></P
5294></DIV
5295></DIV
5296><HR><DIV
5297CLASS="REFSECT2"
5298><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005299NAME="AEN9833"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005300></A
5301><H3
5302><A
5303NAME="XMLVALIDNORMALIZEATTRIBUTEVALUE"
5304></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005305>xmlValidNormalizeAttributeValue ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005306><TABLE
5307BORDER="0"
5308BGCOLOR="#D6E8FF"
5309WIDTH="100%"
5310CELLPADDING="6"
5311><TR
5312><TD
5313><PRE
5314CLASS="PROGRAMLISTING"
5315><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005316HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005317>xmlChar</A
5318>* xmlValidNormalizeAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005319HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005320>xmlDocPtr</A
5321> doc,
5322 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005323HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005324>xmlNodePtr</A
5325> elem,
5326 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005327HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005328>xmlChar</A
5329> *name,
5330 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005331HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005332>xmlChar</A
5333> *value);</PRE
5334></TD
5335></TR
5336></TABLE
5337><P
5338>Does the validation related extra step of the normalization of attribute
5339values:</P
5340><P
5341>If the declared value is not CDATA, then the XML processor must further
5342process the normalized attribute value by discarding any leading and
5343trailing space (<GTKDOCLINK
5344HREF="X20"
5345>x20</GTKDOCLINK
5346>) characters, and by replacing sequences of space
5347(<GTKDOCLINK
5348HREF="X20"
5349>x20</GTKDOCLINK
5350>) characters by single space (<GTKDOCLINK
5351HREF="X20"
5352>x20</GTKDOCLINK
5353>) character.</P
5354><P
5355></P
5356><DIV
5357CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005358><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005359NAME="AEN9848"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005360></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"
Daniel Veillard539638b2002-07-06 19:55:14 +00005442><SPAN
5443CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005444><I
5445CLASS="EMPHASIS"
5446>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005447></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005448> :</TD
5449><TD
5450WIDTH="80%"
5451ALIGN="LEFT"
5452VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005453>a new normalized string if normalization is needed, NULL otherwise
Daniel Veillardaf43f632002-03-08 15:05:20 +00005454the caller must free the returned value.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005455></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005456></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005457></TABLE
5458><P
5459></P
5460></DIV
5461></DIV
5462><HR><DIV
5463CLASS="REFSECT2"
5464><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005465NAME="AEN9873"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005466></A
5467><H3
5468><A
5469NAME="XMLVALIDCTXTNORMALIZEATTRIBUTEVALUE"
5470></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005471>xmlValidCtxtNormalizeAttributeValue ()</H3
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005472><TABLE
5473BORDER="0"
5474BGCOLOR="#D6E8FF"
5475WIDTH="100%"
5476CELLPADDING="6"
5477><TR
5478><TD
5479><PRE
5480CLASS="PROGRAMLISTING"
5481><A
5482HREF="libxml-tree.html#XMLCHAR"
5483>xmlChar</A
5484>* xmlValidCtxtNormalizeAttributeValue
5485 (<A
5486HREF="libxml-valid.html#XMLVALIDCTXTPTR"
5487>xmlValidCtxtPtr</A
5488> ctxt,
5489 <A
5490HREF="libxml-tree.html#XMLDOCPTR"
5491>xmlDocPtr</A
5492> doc,
5493 <A
5494HREF="libxml-tree.html#XMLNODEPTR"
5495>xmlNodePtr</A
5496> elem,
5497 const <A
5498HREF="libxml-tree.html#XMLCHAR"
5499>xmlChar</A
5500> *name,
5501 const <A
5502HREF="libxml-tree.html#XMLCHAR"
5503>xmlChar</A
5504> *value);</PRE
5505></TD
5506></TR
5507></TABLE
5508><P
5509>Does the validation related extra step of the normalization of attribute
5510values:</P
5511><P
5512>If the declared value is not CDATA, then the XML processor must further
5513process the normalized attribute value by discarding any leading and
5514trailing space (<GTKDOCLINK
5515HREF="X20"
5516>x20</GTKDOCLINK
5517>) characters, and by replacing sequences of space
5518(<GTKDOCLINK
5519HREF="X20"
5520>x20</GTKDOCLINK
5521>) characters by single space (<GTKDOCLINK
5522HREF="X20"
5523>x20</GTKDOCLINK
5524>) character.</P
5525><P
5526>Also check VC: Standalone Document Declaration in P32, and update
Daniel Veillardaf43f632002-03-08 15:05:20 +00005527ctxt-&gt;valid accordingly</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005528><P
5529></P
5530><DIV
5531CLASS="INFORMALTABLE"
5532><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005533NAME="AEN9890"><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005534></P
5535><TABLE
5536BORDER="0"
5537WIDTH="100%"
5538BGCOLOR="#FFD0D0"
5539CELLSPACING="0"
5540CELLPADDING="4"
5541CLASS="CALSTABLE"
5542><TBODY
5543><TR
5544><TD
5545WIDTH="20%"
5546ALIGN="RIGHT"
5547VALIGN="TOP"
5548><TT
5549CLASS="PARAMETER"
5550><I
5551>ctxt</I
5552></TT
5553>&nbsp;:</TD
5554><TD
5555WIDTH="80%"
5556ALIGN="LEFT"
5557VALIGN="TOP"
5558> the validation context</TD
5559></TR
5560><TR
5561><TD
5562WIDTH="20%"
5563ALIGN="RIGHT"
5564VALIGN="TOP"
5565><TT
5566CLASS="PARAMETER"
5567><I
5568>doc</I
5569></TT
5570>&nbsp;:</TD
5571><TD
5572WIDTH="80%"
5573ALIGN="LEFT"
5574VALIGN="TOP"
5575> the document</TD
5576></TR
5577><TR
5578><TD
5579WIDTH="20%"
5580ALIGN="RIGHT"
5581VALIGN="TOP"
5582><TT
5583CLASS="PARAMETER"
5584><I
5585>elem</I
5586></TT
5587>&nbsp;:</TD
5588><TD
5589WIDTH="80%"
5590ALIGN="LEFT"
5591VALIGN="TOP"
5592> the parent</TD
5593></TR
5594><TR
5595><TD
5596WIDTH="20%"
5597ALIGN="RIGHT"
5598VALIGN="TOP"
5599><TT
5600CLASS="PARAMETER"
5601><I
5602>name</I
5603></TT
5604>&nbsp;:</TD
5605><TD
5606WIDTH="80%"
5607ALIGN="LEFT"
5608VALIGN="TOP"
5609> the attribute name</TD
5610></TR
5611><TR
5612><TD
5613WIDTH="20%"
5614ALIGN="RIGHT"
5615VALIGN="TOP"
5616><TT
5617CLASS="PARAMETER"
5618><I
5619>value</I
5620></TT
5621>&nbsp;:</TD
5622><TD
5623WIDTH="80%"
5624ALIGN="LEFT"
5625VALIGN="TOP"
5626> the attribute value</TD
5627></TR
5628><TR
5629><TD
5630WIDTH="20%"
5631ALIGN="RIGHT"
5632VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005633><SPAN
5634CLASS="emphasis"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005635><I
5636CLASS="EMPHASIS"
5637>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005638></SPAN
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005639> :</TD
5640><TD
5641WIDTH="80%"
5642ALIGN="LEFT"
5643VALIGN="TOP"
5644>a new normalized string if normalization is needed, NULL otherwise
Daniel Veillardaf43f632002-03-08 15:05:20 +00005645the caller must free the returned value.</TD
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005646></TR
5647></TBODY
5648></TABLE
5649><P
5650></P
5651></DIV
5652></DIV
5653><HR><DIV
5654CLASS="REFSECT2"
5655><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005656NAME="AEN9919"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005657></A
5658><H3
5659><A
5660NAME="XMLVALIDATEATTRIBUTEDECL"
5661></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005662>xmlValidateAttributeDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005663><TABLE
5664BORDER="0"
5665BGCOLOR="#D6E8FF"
5666WIDTH="100%"
5667CELLPADDING="6"
5668><TR
5669><TD
5670><PRE
5671CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005672>int xmlValidateAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005673HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005674>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005675> ctxt,
5676 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005677HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005678>xmlDocPtr</A
5679> doc,
5680 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005681HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005682>xmlAttributePtr</A
5683> attr);</PRE
5684></TD
5685></TR
5686></TABLE
5687><P
5688>Try to validate a single attribute definition
5689basically it does the following checks as described by the
5690XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005691- [ VC: Attribute Default Legal ]
5692- [ VC: Enumeration ]
5693- [ VC: ID Attribute Default ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005694><P
5695>The ID/IDREF uniqueness and matching are done separately</P
5696><P
5697></P
5698><DIV
5699CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005700><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005701NAME="AEN9929"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005702></P
5703><TABLE
5704BORDER="0"
5705WIDTH="100%"
5706BGCOLOR="#FFD0D0"
5707CELLSPACING="0"
5708CELLPADDING="4"
5709CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005710><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005711><TR
5712><TD
5713WIDTH="20%"
5714ALIGN="RIGHT"
5715VALIGN="TOP"
5716><TT
5717CLASS="PARAMETER"
5718><I
5719>ctxt</I
5720></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005721>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005722><TD
5723WIDTH="80%"
5724ALIGN="LEFT"
5725VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005726> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005727></TR
5728><TR
5729><TD
5730WIDTH="20%"
5731ALIGN="RIGHT"
5732VALIGN="TOP"
5733><TT
5734CLASS="PARAMETER"
5735><I
5736>doc</I
5737></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005738>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005739><TD
5740WIDTH="80%"
5741ALIGN="LEFT"
5742VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005743> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005744></TR
5745><TR
5746><TD
5747WIDTH="20%"
5748ALIGN="RIGHT"
5749VALIGN="TOP"
5750><TT
5751CLASS="PARAMETER"
5752><I
5753>attr</I
5754></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005755>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005756><TD
5757WIDTH="80%"
5758ALIGN="LEFT"
5759VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005760> an attribute definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005761></TR
5762><TR
5763><TD
5764WIDTH="20%"
5765ALIGN="RIGHT"
5766VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005767><SPAN
5768CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005769><I
5770CLASS="EMPHASIS"
5771>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005772></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00005773> :</TD
5774><TD
5775WIDTH="80%"
5776ALIGN="LEFT"
5777VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005778>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005779></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005780></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005781></TABLE
5782><P
5783></P
5784></DIV
5785></DIV
5786><HR><DIV
5787CLASS="REFSECT2"
5788><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005789NAME="AEN9950"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005790></A
5791><H3
5792><A
5793NAME="XMLVALIDATEATTRIBUTEVALUE"
5794></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005795>xmlValidateAttributeValue ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005796><TABLE
5797BORDER="0"
5798BGCOLOR="#D6E8FF"
5799WIDTH="100%"
5800CELLPADDING="6"
5801><TR
5802><TD
5803><PRE
5804CLASS="PROGRAMLISTING"
5805>int xmlValidateAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005806HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005807>xmlAttributeType</A
5808> type,
5809 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005810HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005811>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005812> *value);</PRE
5813></TD
5814></TR
5815></TABLE
5816><P
5817>Validate that the given attribute value match the proper production</P
5818><P
5819>[ VC: ID ]
5820Values of type ID must match the Name production....</P
5821><P
5822>[ VC: IDREF ]
5823Values of type IDREF must match the Name production, and values
5824of type IDREFS must match Names ...</P
5825><P
5826>[ VC: Entity Name ]
5827Values of type ENTITY must match the Name production, values
5828of type ENTITIES must match Names ...</P
5829><P
5830>[ VC: Name Token ]
5831Values of type NMTOKEN must match the Nmtoken production; values
5832of type NMTOKENS must match Nmtokens.</P
5833><P
5834></P
5835><DIV
5836CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005837><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005838NAME="AEN9962"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005839></P
5840><TABLE
5841BORDER="0"
5842WIDTH="100%"
5843BGCOLOR="#FFD0D0"
5844CELLSPACING="0"
5845CELLPADDING="4"
5846CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005847><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005848><TR
5849><TD
5850WIDTH="20%"
5851ALIGN="RIGHT"
5852VALIGN="TOP"
5853><TT
5854CLASS="PARAMETER"
5855><I
5856>type</I
5857></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005858>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005859><TD
5860WIDTH="80%"
5861ALIGN="LEFT"
5862VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005863> an attribute type</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005864></TR
5865><TR
5866><TD
5867WIDTH="20%"
5868ALIGN="RIGHT"
5869VALIGN="TOP"
5870><TT
5871CLASS="PARAMETER"
5872><I
5873>value</I
5874></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005875>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005876><TD
5877WIDTH="80%"
5878ALIGN="LEFT"
5879VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005880> an attribute value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005881></TR
5882><TR
5883><TD
5884WIDTH="20%"
5885ALIGN="RIGHT"
5886VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005887><SPAN
5888CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005889><I
5890CLASS="EMPHASIS"
5891>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005892></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005893> :</TD
5894><TD
5895WIDTH="80%"
5896ALIGN="LEFT"
5897VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005898>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005899></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005900></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005901></TABLE
5902><P
5903></P
5904></DIV
5905></DIV
5906><HR><DIV
5907CLASS="REFSECT2"
5908><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005909NAME="AEN9979"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005910></A
5911><H3
5912><A
5913NAME="XMLVALIDATENOTATIONDECL"
5914></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005915>xmlValidateNotationDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005916><TABLE
5917BORDER="0"
5918BGCOLOR="#D6E8FF"
5919WIDTH="100%"
5920CELLPADDING="6"
5921><TR
5922><TD
5923><PRE
5924CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005925>int xmlValidateNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005926HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005927>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005928> ctxt,
5929 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005930HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005931>xmlDocPtr</A
5932> doc,
5933 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005934HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005935>xmlNotationPtr</A
5936> nota);</PRE
5937></TD
5938></TR
5939></TABLE
5940><P
5941>Try to validate a single notation definition
5942basically it does the following checks as described by the
5943XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005944- it seems that no validity constraint exists on notation declarations
Daniel Veillardb05deb71999-08-10 19:04:08 +00005945But this function get called anyway ...</P
5946><P
5947></P
5948><DIV
5949CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005950><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005951NAME="AEN9988"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005952></P
5953><TABLE
5954BORDER="0"
5955WIDTH="100%"
5956BGCOLOR="#FFD0D0"
5957CELLSPACING="0"
5958CELLPADDING="4"
5959CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005960><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005961><TR
5962><TD
5963WIDTH="20%"
5964ALIGN="RIGHT"
5965VALIGN="TOP"
5966><TT
5967CLASS="PARAMETER"
5968><I
5969>ctxt</I
5970></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005971>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005972><TD
5973WIDTH="80%"
5974ALIGN="LEFT"
5975VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005976> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005977></TR
5978><TR
5979><TD
5980WIDTH="20%"
5981ALIGN="RIGHT"
5982VALIGN="TOP"
5983><TT
5984CLASS="PARAMETER"
5985><I
5986>doc</I
5987></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005988>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005989><TD
5990WIDTH="80%"
5991ALIGN="LEFT"
5992VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005993> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005994></TR
5995><TR
5996><TD
5997WIDTH="20%"
5998ALIGN="RIGHT"
5999VALIGN="TOP"
6000><TT
6001CLASS="PARAMETER"
6002><I
6003>nota</I
6004></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006005>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006006><TD
6007WIDTH="80%"
6008ALIGN="LEFT"
6009VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006010> a notation definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006011></TR
6012><TR
6013><TD
6014WIDTH="20%"
6015ALIGN="RIGHT"
6016VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006017><SPAN
6018CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006019><I
6020CLASS="EMPHASIS"
6021>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006022></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006023> :</TD
6024><TD
6025WIDTH="80%"
6026ALIGN="LEFT"
6027VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006028>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006029></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006030></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006031></TABLE
6032><P
6033></P
6034></DIV
6035></DIV
6036><HR><DIV
6037CLASS="REFSECT2"
6038><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006039NAME="AEN10009"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006040></A
6041><H3
6042><A
6043NAME="XMLVALIDATEDTD"
6044></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006045>xmlValidateDtd ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006046><TABLE
6047BORDER="0"
6048BGCOLOR="#D6E8FF"
6049WIDTH="100%"
6050CELLPADDING="6"
6051><TR
6052><TD
6053><PRE
6054CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006055>int xmlValidateDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006056HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006057>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006058> ctxt,
6059 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006060HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006061>xmlDocPtr</A
6062> doc,
6063 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006064HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006065>xmlDtdPtr</A
6066> dtd);</PRE
6067></TD
6068></TR
6069></TABLE
6070><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006071>Try to validate the document against the dtd instance</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006072><P
6073>basically it does check all the definitions in the DtD.</P
6074><P
6075></P
6076><DIV
6077CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006078><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006079NAME="AEN10019"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006080></P
6081><TABLE
6082BORDER="0"
6083WIDTH="100%"
6084BGCOLOR="#FFD0D0"
6085CELLSPACING="0"
6086CELLPADDING="4"
6087CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006088><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006089><TR
6090><TD
6091WIDTH="20%"
6092ALIGN="RIGHT"
6093VALIGN="TOP"
6094><TT
6095CLASS="PARAMETER"
6096><I
6097>ctxt</I
6098></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006099>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006100><TD
6101WIDTH="80%"
6102ALIGN="LEFT"
6103VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006104> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006105></TR
6106><TR
6107><TD
6108WIDTH="20%"
6109ALIGN="RIGHT"
6110VALIGN="TOP"
6111><TT
6112CLASS="PARAMETER"
6113><I
6114>doc</I
6115></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006116>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006117><TD
6118WIDTH="80%"
6119ALIGN="LEFT"
6120VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006121> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006122></TR
6123><TR
6124><TD
6125WIDTH="20%"
6126ALIGN="RIGHT"
6127VALIGN="TOP"
6128><TT
6129CLASS="PARAMETER"
6130><I
6131>dtd</I
6132></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006133>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006134><TD
6135WIDTH="80%"
6136ALIGN="LEFT"
6137VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006138> a dtd instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006139></TR
6140><TR
6141><TD
6142WIDTH="20%"
6143ALIGN="RIGHT"
6144VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006145><SPAN
6146CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006147><I
6148CLASS="EMPHASIS"
6149>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006150></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006151> :</TD
6152><TD
6153WIDTH="80%"
6154ALIGN="LEFT"
6155VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006156>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006157></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006158></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006159></TABLE
6160><P
6161></P
6162></DIV
6163></DIV
6164><HR><DIV
6165CLASS="REFSECT2"
6166><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006167NAME="AEN10040"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006168></A
6169><H3
6170><A
6171NAME="XMLVALIDATEDTDFINAL"
6172></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006173>xmlValidateDtdFinal ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006174><TABLE
6175BORDER="0"
6176BGCOLOR="#D6E8FF"
6177WIDTH="100%"
6178CELLPADDING="6"
6179><TR
6180><TD
6181><PRE
6182CLASS="PROGRAMLISTING"
6183>int xmlValidateDtdFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006184HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006185>xmlValidCtxtPtr</A
6186> ctxt,
6187 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006188HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006189>xmlDocPtr</A
6190> doc);</PRE
6191></TD
6192></TR
6193></TABLE
6194><P
6195>Does the final step for the dtds validation once all the
6196subsets have been parsed</P
6197><P
6198>basically it does the following checks described by the XML Rec
6199- check that ENTITY and ENTITIES type attributes default or
Daniel Veillardaf43f632002-03-08 15:05:20 +00006200possible values matches one of the defined entities.
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006201- check that NOTATION type attributes default or
Daniel Veillardaf43f632002-03-08 15:05:20 +00006202possible values matches one of the defined notations.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006203><P
6204></P
6205><DIV
6206CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006207><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006208NAME="AEN10049"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006209></P
6210><TABLE
6211BORDER="0"
6212WIDTH="100%"
6213BGCOLOR="#FFD0D0"
6214CELLSPACING="0"
6215CELLPADDING="4"
6216CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006217><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006218><TR
6219><TD
6220WIDTH="20%"
6221ALIGN="RIGHT"
6222VALIGN="TOP"
6223><TT
6224CLASS="PARAMETER"
6225><I
6226>ctxt</I
6227></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006228>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006229><TD
6230WIDTH="80%"
6231ALIGN="LEFT"
6232VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006233> the validation context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006234></TR
6235><TR
6236><TD
6237WIDTH="20%"
6238ALIGN="RIGHT"
6239VALIGN="TOP"
6240><TT
6241CLASS="PARAMETER"
6242><I
6243>doc</I
6244></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006245>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006246><TD
6247WIDTH="80%"
6248ALIGN="LEFT"
6249VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006250> a document instance</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006251></TR
6252><TR
6253><TD
6254WIDTH="20%"
6255ALIGN="RIGHT"
6256VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006257><SPAN
6258CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006259><I
6260CLASS="EMPHASIS"
6261>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006262></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006263> :</TD
6264><TD
6265WIDTH="80%"
6266ALIGN="LEFT"
6267VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006268>1 if valid or 0 if invalid and -1 if not well-formed</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006269></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006270></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006271></TABLE
6272><P
6273></P
6274></DIV
6275></DIV
6276><HR><DIV
6277CLASS="REFSECT2"
6278><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006279NAME="AEN10066"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006280></A
6281><H3
6282><A
6283NAME="XMLVALIDATEDOCUMENT"
6284></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006285>xmlValidateDocument ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006286><TABLE
6287BORDER="0"
6288BGCOLOR="#D6E8FF"
6289WIDTH="100%"
6290CELLPADDING="6"
6291><TR
6292><TD
6293><PRE
6294CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006295>int xmlValidateDocument (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006296HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006297>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006298> ctxt,
6299 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006300HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006301>xmlDocPtr</A
6302> doc);</PRE
6303></TD
6304></TR
6305></TABLE
6306><P
6307>Try to validate the document instance</P
6308><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006309>basically it does the all the checks described by the XML Rec
Daniel Veillardb05deb71999-08-10 19:04:08 +00006310i.e. validates the internal and external subset (if present)
6311and validate the document tree.</P
6312><P
6313></P
6314><DIV
6315CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006316><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006317NAME="AEN10075"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006318></P
6319><TABLE
6320BORDER="0"
6321WIDTH="100%"
6322BGCOLOR="#FFD0D0"
6323CELLSPACING="0"
6324CELLPADDING="4"
6325CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006326><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006327><TR
6328><TD
6329WIDTH="20%"
6330ALIGN="RIGHT"
6331VALIGN="TOP"
6332><TT
6333CLASS="PARAMETER"
6334><I
6335>ctxt</I
6336></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006337>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006338><TD
6339WIDTH="80%"
6340ALIGN="LEFT"
6341VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006342> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006343></TR
6344><TR
6345><TD
6346WIDTH="20%"
6347ALIGN="RIGHT"
6348VALIGN="TOP"
6349><TT
6350CLASS="PARAMETER"
6351><I
6352>doc</I
6353></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006354>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006355><TD
6356WIDTH="80%"
6357ALIGN="LEFT"
6358VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006359> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006360></TR
6361><TR
6362><TD
6363WIDTH="20%"
6364ALIGN="RIGHT"
6365VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006366><SPAN
6367CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006368><I
6369CLASS="EMPHASIS"
6370>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006371></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006372> :</TD
6373><TD
6374WIDTH="80%"
6375ALIGN="LEFT"
6376VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006377>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006378></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006379></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006380></TABLE
6381><P
6382></P
6383></DIV
6384></DIV
6385><HR><DIV
6386CLASS="REFSECT2"
6387><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006388NAME="AEN10092"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006389></A
6390><H3
6391><A
6392NAME="XMLVALIDATEELEMENT"
6393></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006394>xmlValidateElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006395><TABLE
6396BORDER="0"
6397BGCOLOR="#D6E8FF"
6398WIDTH="100%"
6399CELLPADDING="6"
6400><TR
6401><TD
6402><PRE
6403CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006404>int xmlValidateElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006405HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006406>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006407> ctxt,
6408 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006409HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006410>xmlDocPtr</A
6411> doc,
6412 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006413HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006414>xmlNodePtr</A
6415> elem);</PRE
6416></TD
6417></TR
6418></TABLE
6419><P
6420>Try to validate the subtree under an element</P
6421><P
6422></P
6423><DIV
6424CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006425><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006426NAME="AEN10101"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006427></P
6428><TABLE
6429BORDER="0"
6430WIDTH="100%"
6431BGCOLOR="#FFD0D0"
6432CELLSPACING="0"
6433CELLPADDING="4"
6434CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006435><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006436><TR
6437><TD
6438WIDTH="20%"
6439ALIGN="RIGHT"
6440VALIGN="TOP"
6441><TT
6442CLASS="PARAMETER"
6443><I
6444>ctxt</I
6445></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006446>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006447><TD
6448WIDTH="80%"
6449ALIGN="LEFT"
6450VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006451> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006452></TR
6453><TR
6454><TD
6455WIDTH="20%"
6456ALIGN="RIGHT"
6457VALIGN="TOP"
6458><TT
6459CLASS="PARAMETER"
6460><I
6461>doc</I
6462></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006463>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006464><TD
6465WIDTH="80%"
6466ALIGN="LEFT"
6467VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006468> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006469></TR
6470><TR
6471><TD
6472WIDTH="20%"
6473ALIGN="RIGHT"
6474VALIGN="TOP"
6475><TT
6476CLASS="PARAMETER"
6477><I
6478>elem</I
6479></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006480>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006481><TD
6482WIDTH="80%"
6483ALIGN="LEFT"
6484VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006485> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006486></TR
6487><TR
6488><TD
6489WIDTH="20%"
6490ALIGN="RIGHT"
6491VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006492><SPAN
6493CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006494><I
6495CLASS="EMPHASIS"
6496>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006497></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006498> :</TD
6499><TD
6500WIDTH="80%"
6501ALIGN="LEFT"
6502VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006503>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006504></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006505></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006506></TABLE
6507><P
6508></P
6509></DIV
6510></DIV
6511><HR><DIV
6512CLASS="REFSECT2"
6513><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006514NAME="AEN10122"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006515></A
6516><H3
6517><A
6518NAME="XMLVALIDATEONEELEMENT"
6519></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006520>xmlValidateOneElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006521><TABLE
6522BORDER="0"
6523BGCOLOR="#D6E8FF"
6524WIDTH="100%"
6525CELLPADDING="6"
6526><TR
6527><TD
6528><PRE
6529CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006530>int xmlValidateOneElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006531HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006532>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006533> ctxt,
6534 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006535HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006536>xmlDocPtr</A
6537> doc,
6538 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006539HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006540>xmlNodePtr</A
6541> elem);</PRE
6542></TD
6543></TR
6544></TABLE
6545><P
6546>Try to validate a single element and it's attributes,
6547basically it does the following checks as described by the
6548XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00006549- [ VC: Element Valid ]
6550- [ VC: Required Attribute ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00006551Then call <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006552HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006553>xmlValidateOneAttribute</A
6554>() for each attribute present.</P
6555><P
6556>The ID/IDREF checkings are done separately</P
6557><P
6558></P
6559><DIV
6560CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006561><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006562NAME="AEN10133"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006563></P
6564><TABLE
6565BORDER="0"
6566WIDTH="100%"
6567BGCOLOR="#FFD0D0"
6568CELLSPACING="0"
6569CELLPADDING="4"
6570CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006571><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006572><TR
6573><TD
6574WIDTH="20%"
6575ALIGN="RIGHT"
6576VALIGN="TOP"
6577><TT
6578CLASS="PARAMETER"
6579><I
6580>ctxt</I
6581></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006582>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006583><TD
6584WIDTH="80%"
6585ALIGN="LEFT"
6586VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006587> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006588></TR
6589><TR
6590><TD
6591WIDTH="20%"
6592ALIGN="RIGHT"
6593VALIGN="TOP"
6594><TT
6595CLASS="PARAMETER"
6596><I
6597>doc</I
6598></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006599>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006600><TD
6601WIDTH="80%"
6602ALIGN="LEFT"
6603VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006604> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006605></TR
6606><TR
6607><TD
6608WIDTH="20%"
6609ALIGN="RIGHT"
6610VALIGN="TOP"
6611><TT
6612CLASS="PARAMETER"
6613><I
6614>elem</I
6615></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006616>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006617><TD
6618WIDTH="80%"
6619ALIGN="LEFT"
6620VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006621> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006622></TR
6623><TR
6624><TD
6625WIDTH="20%"
6626ALIGN="RIGHT"
6627VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006628><SPAN
6629CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006630><I
6631CLASS="EMPHASIS"
6632>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006633></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006634> :</TD
6635><TD
6636WIDTH="80%"
6637ALIGN="LEFT"
6638VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006639>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006640></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006641></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006642></TABLE
6643><P
6644></P
6645></DIV
6646></DIV
6647><HR><DIV
6648CLASS="REFSECT2"
6649><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006650NAME="AEN10154"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006651></A
6652><H3
6653><A
6654NAME="XMLVALIDATEONEATTRIBUTE"
6655></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006656>xmlValidateOneAttribute ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006657><TABLE
6658BORDER="0"
6659BGCOLOR="#D6E8FF"
6660WIDTH="100%"
6661CELLPADDING="6"
6662><TR
6663><TD
6664><PRE
6665CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006666>int xmlValidateOneAttribute (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006667HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006668>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006669> ctxt,
6670 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006671HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006672>xmlDocPtr</A
6673> doc,
6674 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006675HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006676>xmlNodePtr</A
6677> elem,
6678 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006679HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006680>xmlAttrPtr</A
6681> attr,
6682 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006683HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006684>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006685> *value);</PRE
6686></TD
6687></TR
6688></TABLE
6689><P
6690>Try to validate a single attribute for an element
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006691basically it does the following checks as described by the
Daniel Veillardb05deb71999-08-10 19:04:08 +00006692XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00006693- [ VC: Attribute Value Type ]
6694- [ VC: Fixed Attribute Default ]
6695- [ VC: Entity Name ]
6696- [ VC: Name Token ]
6697- [ VC: ID ]
6698- [ VC: IDREF ]
6699- [ VC: Entity Name ]
6700- [ VC: Notation Attributes ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006701><P
6702>The ID/IDREF uniqueness and matching are done separately</P
6703><P
6704></P
6705><DIV
6706CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006707><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006708NAME="AEN10166"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006709></P
6710><TABLE
6711BORDER="0"
6712WIDTH="100%"
6713BGCOLOR="#FFD0D0"
6714CELLSPACING="0"
6715CELLPADDING="4"
6716CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006717><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006718><TR
6719><TD
6720WIDTH="20%"
6721ALIGN="RIGHT"
6722VALIGN="TOP"
6723><TT
6724CLASS="PARAMETER"
6725><I
6726>ctxt</I
6727></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006728>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006729><TD
6730WIDTH="80%"
6731ALIGN="LEFT"
6732VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006733> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006734></TR
6735><TR
6736><TD
6737WIDTH="20%"
6738ALIGN="RIGHT"
6739VALIGN="TOP"
6740><TT
6741CLASS="PARAMETER"
6742><I
6743>doc</I
6744></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006745>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006746><TD
6747WIDTH="80%"
6748ALIGN="LEFT"
6749VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006750> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006751></TR
6752><TR
6753><TD
6754WIDTH="20%"
6755ALIGN="RIGHT"
6756VALIGN="TOP"
6757><TT
6758CLASS="PARAMETER"
6759><I
6760>elem</I
6761></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006762>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006763><TD
6764WIDTH="80%"
6765ALIGN="LEFT"
6766VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006767> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006768></TR
6769><TR
6770><TD
6771WIDTH="20%"
6772ALIGN="RIGHT"
6773VALIGN="TOP"
6774><TT
6775CLASS="PARAMETER"
6776><I
6777>attr</I
6778></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006779>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006780><TD
6781WIDTH="80%"
6782ALIGN="LEFT"
6783VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006784> an attribute instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006785></TR
6786><TR
6787><TD
6788WIDTH="20%"
6789ALIGN="RIGHT"
6790VALIGN="TOP"
6791><TT
6792CLASS="PARAMETER"
6793><I
6794>value</I
6795></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006796>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006797><TD
6798WIDTH="80%"
6799ALIGN="LEFT"
6800VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006801> the attribute value (without entities processing)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006802></TR
6803><TR
6804><TD
6805WIDTH="20%"
6806ALIGN="RIGHT"
6807VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006808><SPAN
6809CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006810><I
6811CLASS="EMPHASIS"
6812>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006813></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006814> :</TD
6815><TD
6816WIDTH="80%"
6817ALIGN="LEFT"
6818VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006819>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006820></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006821></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006822></TABLE
6823><P
6824></P
6825></DIV
6826></DIV
6827><HR><DIV
6828CLASS="REFSECT2"
6829><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006830NAME="AEN10195"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006831></A
6832><H3
6833><A
6834NAME="XMLVALIDATEDOCUMENTFINAL"
6835></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006836>xmlValidateDocumentFinal ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006837><TABLE
6838BORDER="0"
6839BGCOLOR="#D6E8FF"
6840WIDTH="100%"
6841CELLPADDING="6"
6842><TR
6843><TD
6844><PRE
6845CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006846>int xmlValidateDocumentFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006847HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006848>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006849> ctxt,
6850 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006851HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006852>xmlDocPtr</A
6853> doc);</PRE
6854></TD
6855></TR
6856></TABLE
6857><P
6858>Does the final step for the document validation once all the
6859incremental validation steps have been completed</P
6860><P
6861>basically it does the following checks described by the XML Rec</P
6862><P
6863></P
6864><DIV
6865CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006866><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006867NAME="AEN10204"><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006868></P
6869><TABLE
6870BORDER="0"
6871WIDTH="100%"
6872BGCOLOR="#FFD0D0"
6873CELLSPACING="0"
6874CELLPADDING="4"
6875CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006876><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006877><TR
6878><TD
6879WIDTH="20%"
6880ALIGN="RIGHT"
6881VALIGN="TOP"
6882><TT
6883CLASS="PARAMETER"
6884><I
6885>ctxt</I
6886></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006887>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006888><TD
6889WIDTH="80%"
6890ALIGN="LEFT"
6891VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006892> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006893></TR
6894><TR
6895><TD
6896WIDTH="20%"
6897ALIGN="RIGHT"
6898VALIGN="TOP"
6899><TT
6900CLASS="PARAMETER"
6901><I
6902>doc</I
6903></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006904>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006905><TD
6906WIDTH="80%"
6907ALIGN="LEFT"
6908VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006909> a document instance</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006910></TR
6911><TR
6912><TD
6913WIDTH="20%"
6914ALIGN="RIGHT"
6915VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006916><SPAN
6917CLASS="emphasis"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006918><I
6919CLASS="EMPHASIS"
6920>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006921></SPAN
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006922> :</TD
6923><TD
6924WIDTH="80%"
6925ALIGN="LEFT"
6926VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006927>1 if valid or 0 otherwise</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006928></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006929></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006930></TABLE
6931><P
6932></P
6933></DIV
6934></DIV
6935><HR><DIV
6936CLASS="REFSECT2"
6937><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006938NAME="AEN10221"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006939></A
6940><H3
6941><A
6942NAME="XMLVALIDATENOTATIONUSE"
6943></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006944>xmlValidateNotationUse ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006945><TABLE
6946BORDER="0"
6947BGCOLOR="#D6E8FF"
6948WIDTH="100%"
6949CELLPADDING="6"
6950><TR
6951><TD
6952><PRE
6953CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006954>int xmlValidateNotationUse (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006955HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006956>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006957> ctxt,
6958 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006959HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006960>xmlDocPtr</A
6961> doc,
6962 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006963HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006964>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006965> *notationName);</PRE
6966></TD
6967></TR
6968></TABLE
6969><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00006970>Validate that the given name match a notation declaration.
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006971- [ VC: Notation Declared ]</P
6972><P
6973></P
6974><DIV
6975CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006976><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006977NAME="AEN10230"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006978></P
6979><TABLE
6980BORDER="0"
6981WIDTH="100%"
6982BGCOLOR="#FFD0D0"
6983CELLSPACING="0"
6984CELLPADDING="4"
6985CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006986><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006987><TR
6988><TD
6989WIDTH="20%"
6990ALIGN="RIGHT"
6991VALIGN="TOP"
6992><TT
6993CLASS="PARAMETER"
6994><I
6995>ctxt</I
6996></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006997>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006998><TD
6999WIDTH="80%"
7000ALIGN="LEFT"
7001VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007002> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007003></TR
7004><TR
7005><TD
7006WIDTH="20%"
7007ALIGN="RIGHT"
7008VALIGN="TOP"
7009><TT
7010CLASS="PARAMETER"
7011><I
7012>doc</I
7013></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007014>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007015><TD
7016WIDTH="80%"
7017ALIGN="LEFT"
7018VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007019> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007020></TR
7021><TR
7022><TD
7023WIDTH="20%"
7024ALIGN="RIGHT"
7025VALIGN="TOP"
7026><TT
7027CLASS="PARAMETER"
7028><I
7029>notationName</I
7030></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007031>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007032><TD
7033WIDTH="80%"
7034ALIGN="LEFT"
7035VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007036> the notation name to check</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007037></TR
7038><TR
7039><TD
7040WIDTH="20%"
7041ALIGN="RIGHT"
7042VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007043><SPAN
7044CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007045><I
7046CLASS="EMPHASIS"
7047>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007048></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007049> :</TD
7050><TD
7051WIDTH="80%"
7052ALIGN="LEFT"
7053VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007054>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007055></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007056></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007057></TABLE
7058><P
7059></P
7060></DIV
7061></DIV
7062><HR><DIV
7063CLASS="REFSECT2"
7064><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007065NAME="AEN10251"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007066></A
7067><H3
7068><A
7069NAME="XMLISMIXEDELEMENT"
7070></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007071>xmlIsMixedElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00007072><TABLE
7073BORDER="0"
7074BGCOLOR="#D6E8FF"
7075WIDTH="100%"
7076CELLPADDING="6"
7077><TR
7078><TD
7079><PRE
7080CLASS="PROGRAMLISTING"
7081>int xmlIsMixedElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007082HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007083>xmlDocPtr</A
7084> doc,
7085 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007086HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007087>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007088> *name);</PRE
7089></TD
7090></TR
7091></TABLE
7092><P
7093>Search in the DtDs whether an element accept Mixed content (or ANY)
7094basically if it is supposed to accept text childs</P
7095><P
7096></P
7097><DIV
7098CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007099><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007100NAME="AEN10259"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007101></P
7102><TABLE
7103BORDER="0"
7104WIDTH="100%"
7105BGCOLOR="#FFD0D0"
7106CELLSPACING="0"
7107CELLPADDING="4"
7108CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007109><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00007110><TR
7111><TD
7112WIDTH="20%"
7113ALIGN="RIGHT"
7114VALIGN="TOP"
7115><TT
7116CLASS="PARAMETER"
7117><I
7118>doc</I
7119></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007120>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007121><TD
7122WIDTH="80%"
7123ALIGN="LEFT"
7124VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007125> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007126></TR
7127><TR
7128><TD
7129WIDTH="20%"
7130ALIGN="RIGHT"
7131VALIGN="TOP"
7132><TT
7133CLASS="PARAMETER"
7134><I
7135>name</I
7136></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007137>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007138><TD
7139WIDTH="80%"
7140ALIGN="LEFT"
7141VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007142> the element name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007143></TR
7144><TR
7145><TD
7146WIDTH="20%"
7147ALIGN="RIGHT"
7148VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007149><SPAN
7150CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007151><I
7152CLASS="EMPHASIS"
7153>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007154></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00007155> :</TD
7156><TD
7157WIDTH="80%"
7158ALIGN="LEFT"
7159VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007160>0 if no, 1 if yes, and -1 if no element description is available</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007161></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007162></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007163></TABLE
7164><P
7165></P
7166></DIV
7167></DIV
7168><HR><DIV
7169CLASS="REFSECT2"
7170><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007171NAME="AEN10276"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007172></A
7173><H3
7174><A
7175NAME="XMLGETDTDATTRDESC"
7176></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007177>xmlGetDtdAttrDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007178><TABLE
7179BORDER="0"
7180BGCOLOR="#D6E8FF"
7181WIDTH="100%"
7182CELLPADDING="6"
7183><TR
7184><TD
7185><PRE
7186CLASS="PROGRAMLISTING"
7187><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007188HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007189>xmlAttributePtr</A
7190> xmlGetDtdAttrDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007191HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007192>xmlDtdPtr</A
7193> dtd,
7194 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007195HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007196>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007197> *elem,
7198 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007199HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007200>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007201> *name);</PRE
7202></TD
7203></TR
7204></TABLE
7205><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007206>Search the DTD for the description of this attribute on
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007207this element.</P
7208><P
7209></P
7210><DIV
7211CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007212><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007213NAME="AEN10286"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007214></P
7215><TABLE
7216BORDER="0"
7217WIDTH="100%"
7218BGCOLOR="#FFD0D0"
7219CELLSPACING="0"
7220CELLPADDING="4"
7221CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007222><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007223><TR
7224><TD
7225WIDTH="20%"
7226ALIGN="RIGHT"
7227VALIGN="TOP"
7228><TT
7229CLASS="PARAMETER"
7230><I
7231>dtd</I
7232></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007233>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007234><TD
7235WIDTH="80%"
7236ALIGN="LEFT"
7237VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007238> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007239></TR
7240><TR
7241><TD
7242WIDTH="20%"
7243ALIGN="RIGHT"
7244VALIGN="TOP"
7245><TT
7246CLASS="PARAMETER"
7247><I
7248>elem</I
7249></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007250>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007251><TD
7252WIDTH="80%"
7253ALIGN="LEFT"
7254VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007255> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007256></TR
7257><TR
7258><TD
7259WIDTH="20%"
7260ALIGN="RIGHT"
7261VALIGN="TOP"
7262><TT
7263CLASS="PARAMETER"
7264><I
7265>name</I
7266></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007267>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007268><TD
7269WIDTH="80%"
7270ALIGN="LEFT"
7271VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007272> the attribute name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007273></TR
7274><TR
7275><TD
7276WIDTH="20%"
7277ALIGN="RIGHT"
7278VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007279><SPAN
7280CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007281><I
7282CLASS="EMPHASIS"
7283>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007284></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007285> :</TD
7286><TD
7287WIDTH="80%"
7288ALIGN="LEFT"
7289VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007290>the xmlAttributePtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007291></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007292></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007293></TABLE
7294><P
7295></P
7296></DIV
7297></DIV
7298><HR><DIV
7299CLASS="REFSECT2"
7300><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007301NAME="AEN10307"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007302></A
7303><H3
7304><A
7305NAME="XMLGETDTDQATTRDESC"
7306></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007307>xmlGetDtdQAttrDesc ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007308><TABLE
7309BORDER="0"
7310BGCOLOR="#D6E8FF"
7311WIDTH="100%"
7312CELLPADDING="6"
7313><TR
7314><TD
7315><PRE
7316CLASS="PROGRAMLISTING"
7317><A
7318HREF="libxml-tree.html#XMLATTRIBUTEPTR"
7319>xmlAttributePtr</A
7320> xmlGetDtdQAttrDesc (<A
7321HREF="libxml-tree.html#XMLDTDPTR"
7322>xmlDtdPtr</A
7323> dtd,
7324 const <A
7325HREF="libxml-tree.html#XMLCHAR"
7326>xmlChar</A
7327> *elem,
7328 const <A
7329HREF="libxml-tree.html#XMLCHAR"
7330>xmlChar</A
7331> *name,
7332 const <A
7333HREF="libxml-tree.html#XMLCHAR"
7334>xmlChar</A
7335> *prefix);</PRE
7336></TD
7337></TR
7338></TABLE
7339><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007340>Search the DTD for the description of this qualified attribute on
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007341this element.</P
7342><P
7343></P
7344><DIV
7345CLASS="INFORMALTABLE"
7346><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007347NAME="AEN10318"><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007348></P
7349><TABLE
7350BORDER="0"
7351WIDTH="100%"
7352BGCOLOR="#FFD0D0"
7353CELLSPACING="0"
7354CELLPADDING="4"
7355CLASS="CALSTABLE"
7356><TBODY
7357><TR
7358><TD
7359WIDTH="20%"
7360ALIGN="RIGHT"
7361VALIGN="TOP"
7362><TT
7363CLASS="PARAMETER"
7364><I
7365>dtd</I
7366></TT
7367>&nbsp;:</TD
7368><TD
7369WIDTH="80%"
7370ALIGN="LEFT"
7371VALIGN="TOP"
7372> a pointer to the DtD to search</TD
7373></TR
7374><TR
7375><TD
7376WIDTH="20%"
7377ALIGN="RIGHT"
7378VALIGN="TOP"
7379><TT
7380CLASS="PARAMETER"
7381><I
7382>elem</I
7383></TT
7384>&nbsp;:</TD
7385><TD
7386WIDTH="80%"
7387ALIGN="LEFT"
7388VALIGN="TOP"
7389> the element name</TD
7390></TR
7391><TR
7392><TD
7393WIDTH="20%"
7394ALIGN="RIGHT"
7395VALIGN="TOP"
7396><TT
7397CLASS="PARAMETER"
7398><I
7399>name</I
7400></TT
7401>&nbsp;:</TD
7402><TD
7403WIDTH="80%"
7404ALIGN="LEFT"
7405VALIGN="TOP"
7406> the attribute name</TD
7407></TR
7408><TR
7409><TD
7410WIDTH="20%"
7411ALIGN="RIGHT"
7412VALIGN="TOP"
7413><TT
7414CLASS="PARAMETER"
7415><I
7416>prefix</I
7417></TT
7418>&nbsp;:</TD
7419><TD
7420WIDTH="80%"
7421ALIGN="LEFT"
7422VALIGN="TOP"
7423> the attribute namespace prefix</TD
7424></TR
7425><TR
7426><TD
7427WIDTH="20%"
7428ALIGN="RIGHT"
7429VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007430><SPAN
7431CLASS="emphasis"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007432><I
7433CLASS="EMPHASIS"
7434>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007435></SPAN
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007436> :</TD
7437><TD
7438WIDTH="80%"
7439ALIGN="LEFT"
7440VALIGN="TOP"
7441>the xmlAttributePtr if found or NULL</TD
7442></TR
7443></TBODY
7444></TABLE
7445><P
7446></P
7447></DIV
7448></DIV
7449><HR><DIV
7450CLASS="REFSECT2"
7451><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007452NAME="AEN10343"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007453></A
7454><H3
7455><A
7456NAME="XMLGETDTDNOTATIONDESC"
7457></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007458>xmlGetDtdNotationDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007459><TABLE
7460BORDER="0"
7461BGCOLOR="#D6E8FF"
7462WIDTH="100%"
7463CELLPADDING="6"
7464><TR
7465><TD
7466><PRE
7467CLASS="PROGRAMLISTING"
7468><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007469HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007470>xmlNotationPtr</A
7471> xmlGetDtdNotationDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007472HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007473>xmlDtdPtr</A
7474> dtd,
7475 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007476HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007477>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007478> *name);</PRE
7479></TD
7480></TR
7481></TABLE
7482><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007483>Search the DTD for the description of this notation</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007484><P
7485></P
7486><DIV
7487CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007488><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007489NAME="AEN10352"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007490></P
7491><TABLE
7492BORDER="0"
7493WIDTH="100%"
7494BGCOLOR="#FFD0D0"
7495CELLSPACING="0"
7496CELLPADDING="4"
7497CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007498><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007499><TR
7500><TD
7501WIDTH="20%"
7502ALIGN="RIGHT"
7503VALIGN="TOP"
7504><TT
7505CLASS="PARAMETER"
7506><I
7507>dtd</I
7508></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007509>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007510><TD
7511WIDTH="80%"
7512ALIGN="LEFT"
7513VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007514> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007515></TR
7516><TR
7517><TD
7518WIDTH="20%"
7519ALIGN="RIGHT"
7520VALIGN="TOP"
7521><TT
7522CLASS="PARAMETER"
7523><I
7524>name</I
7525></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007526>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007527><TD
7528WIDTH="80%"
7529ALIGN="LEFT"
7530VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007531> the notation name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007532></TR
7533><TR
7534><TD
7535WIDTH="20%"
7536ALIGN="RIGHT"
7537VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007538><SPAN
7539CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007540><I
7541CLASS="EMPHASIS"
7542>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007543></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007544> :</TD
7545><TD
7546WIDTH="80%"
7547ALIGN="LEFT"
7548VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007549>the xmlNotationPtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007550></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007551></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007552></TABLE
7553><P
7554></P
7555></DIV
7556></DIV
7557><HR><DIV
7558CLASS="REFSECT2"
7559><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007560NAME="AEN10369"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007561></A
7562><H3
7563><A
7564NAME="XMLGETDTDQELEMENTDESC"
7565></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007566>xmlGetDtdQElementDesc ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007567><TABLE
7568BORDER="0"
7569BGCOLOR="#D6E8FF"
7570WIDTH="100%"
7571CELLPADDING="6"
7572><TR
7573><TD
7574><PRE
7575CLASS="PROGRAMLISTING"
7576><A
7577HREF="libxml-tree.html#XMLELEMENTPTR"
7578>xmlElementPtr</A
7579> xmlGetDtdQElementDesc (<A
7580HREF="libxml-tree.html#XMLDTDPTR"
7581>xmlDtdPtr</A
7582> dtd,
7583 const <A
7584HREF="libxml-tree.html#XMLCHAR"
7585>xmlChar</A
7586> *name,
7587 const <A
7588HREF="libxml-tree.html#XMLCHAR"
7589>xmlChar</A
7590> *prefix);</PRE
7591></TD
7592></TR
7593></TABLE
7594><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007595>Search the DTD for the description of this element</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007596><P
7597></P
7598><DIV
7599CLASS="INFORMALTABLE"
7600><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007601NAME="AEN10379"><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007602></P
7603><TABLE
7604BORDER="0"
7605WIDTH="100%"
7606BGCOLOR="#FFD0D0"
7607CELLSPACING="0"
7608CELLPADDING="4"
7609CLASS="CALSTABLE"
7610><TBODY
7611><TR
7612><TD
7613WIDTH="20%"
7614ALIGN="RIGHT"
7615VALIGN="TOP"
7616><TT
7617CLASS="PARAMETER"
7618><I
7619>dtd</I
7620></TT
7621>&nbsp;:</TD
7622><TD
7623WIDTH="80%"
7624ALIGN="LEFT"
7625VALIGN="TOP"
7626> a pointer to the DtD to search</TD
7627></TR
7628><TR
7629><TD
7630WIDTH="20%"
7631ALIGN="RIGHT"
7632VALIGN="TOP"
7633><TT
7634CLASS="PARAMETER"
7635><I
7636>name</I
7637></TT
7638>&nbsp;:</TD
7639><TD
7640WIDTH="80%"
7641ALIGN="LEFT"
7642VALIGN="TOP"
7643> the element name</TD
7644></TR
7645><TR
7646><TD
7647WIDTH="20%"
7648ALIGN="RIGHT"
7649VALIGN="TOP"
7650><TT
7651CLASS="PARAMETER"
7652><I
7653>prefix</I
7654></TT
7655>&nbsp;:</TD
7656><TD
7657WIDTH="80%"
7658ALIGN="LEFT"
7659VALIGN="TOP"
7660> the element namespace prefix</TD
7661></TR
7662><TR
7663><TD
7664WIDTH="20%"
7665ALIGN="RIGHT"
7666VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007667><SPAN
7668CLASS="emphasis"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007669><I
7670CLASS="EMPHASIS"
7671>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007672></SPAN
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007673> :</TD
7674><TD
7675WIDTH="80%"
7676ALIGN="LEFT"
7677VALIGN="TOP"
7678>the xmlElementPtr if found or NULL</TD
7679></TR
7680></TBODY
7681></TABLE
7682><P
7683></P
7684></DIV
7685></DIV
7686><HR><DIV
7687CLASS="REFSECT2"
7688><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007689NAME="AEN10400"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007690></A
7691><H3
7692><A
7693NAME="XMLGETDTDELEMENTDESC"
7694></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007695>xmlGetDtdElementDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007696><TABLE
7697BORDER="0"
7698BGCOLOR="#D6E8FF"
7699WIDTH="100%"
7700CELLPADDING="6"
7701><TR
7702><TD
7703><PRE
7704CLASS="PROGRAMLISTING"
7705><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007706HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007707>xmlElementPtr</A
7708> xmlGetDtdElementDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007709HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007710>xmlDtdPtr</A
7711> dtd,
7712 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007713HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007714>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007715> *name);</PRE
7716></TD
7717></TR
7718></TABLE
7719><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007720>Search the DTD for the description of this element</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007721><P
7722></P
7723><DIV
7724CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007725><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007726NAME="AEN10409"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007727></P
7728><TABLE
7729BORDER="0"
7730WIDTH="100%"
7731BGCOLOR="#FFD0D0"
7732CELLSPACING="0"
7733CELLPADDING="4"
7734CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007735><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007736><TR
7737><TD
7738WIDTH="20%"
7739ALIGN="RIGHT"
7740VALIGN="TOP"
7741><TT
7742CLASS="PARAMETER"
7743><I
7744>dtd</I
7745></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007746>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007747><TD
7748WIDTH="80%"
7749ALIGN="LEFT"
7750VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007751> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007752></TR
7753><TR
7754><TD
7755WIDTH="20%"
7756ALIGN="RIGHT"
7757VALIGN="TOP"
7758><TT
7759CLASS="PARAMETER"
7760><I
7761>name</I
7762></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007763>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007764><TD
7765WIDTH="80%"
7766ALIGN="LEFT"
7767VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007768> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007769></TR
7770><TR
7771><TD
7772WIDTH="20%"
7773ALIGN="RIGHT"
7774VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007775><SPAN
7776CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007777><I
7778CLASS="EMPHASIS"
7779>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007780></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007781> :</TD
7782><TD
7783WIDTH="80%"
7784ALIGN="LEFT"
7785VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007786>the xmlElementPtr if found or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007787></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007788></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007789></TABLE
7790><P
7791></P
7792></DIV
7793></DIV
7794><HR><DIV
7795CLASS="REFSECT2"
7796><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007797NAME="AEN10426"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007798></A
7799><H3
7800><A
7801NAME="XMLVALIDGETVALIDELEMENTS"
7802></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007803>xmlValidGetValidElements ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007804><TABLE
7805BORDER="0"
7806BGCOLOR="#D6E8FF"
7807WIDTH="100%"
7808CELLPADDING="6"
7809><TR
7810><TD
7811><PRE
7812CLASS="PROGRAMLISTING"
7813>int xmlValidGetValidElements (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007814HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007815>xmlNode</A
7816> *prev,
7817 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007818HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007819>xmlNode</A
7820> *next,
7821 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007822HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007823>xmlChar</A
7824> **list,
7825 int max);</PRE
7826></TD
7827></TR
7828></TABLE
7829><P
7830>This function returns the list of authorized children to insert
7831within an existing tree while respecting the validity constraints
7832forced by the Dtd. The insertion point is defined using <TT
7833CLASS="PARAMETER"
7834><I
7835>prev</I
7836></TT
7837> and
7838<TT
7839CLASS="PARAMETER"
7840><I
7841>next</I
7842></TT
7843> in the following ways:
Daniel Veillardaf43f632002-03-08 15:05:20 +00007844to insert before 'node': xmlValidGetValidElements(node-&gt;prev, node, ...
7845to insert next 'node': xmlValidGetValidElements(node, node-&gt;next, ...
7846to replace 'node': xmlValidGetValidElements(node-&gt;prev, node-&gt;next, ...
7847to prepend a child to 'node': xmlValidGetValidElements(NULL, node-&gt;childs,
7848to append a child to 'node': xmlValidGetValidElements(node-&gt;last, NULL, ...</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007849><P
7850>pointers to the element names are inserted at the beginning of the array
7851and do not need to be freed.</P
7852><P
7853></P
7854><DIV
7855CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007856><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007857NAME="AEN10438"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007858></P
7859><TABLE
7860BORDER="0"
7861WIDTH="100%"
7862BGCOLOR="#FFD0D0"
7863CELLSPACING="0"
7864CELLPADDING="4"
7865CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007866><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007867><TR
7868><TD
7869WIDTH="20%"
7870ALIGN="RIGHT"
7871VALIGN="TOP"
7872><TT
7873CLASS="PARAMETER"
7874><I
7875>prev</I
7876></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007877>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007878><TD
7879WIDTH="80%"
7880ALIGN="LEFT"
7881VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007882> an element to insert after</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007883></TR
7884><TR
7885><TD
7886WIDTH="20%"
7887ALIGN="RIGHT"
7888VALIGN="TOP"
7889><TT
7890CLASS="PARAMETER"
7891><I
7892>next</I
7893></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007894>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007895><TD
7896WIDTH="80%"
7897ALIGN="LEFT"
7898VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007899> an element to insert next</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007900></TR
7901><TR
7902><TD
7903WIDTH="20%"
7904ALIGN="RIGHT"
7905VALIGN="TOP"
7906><TT
7907CLASS="PARAMETER"
7908><I
7909>list</I
7910></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007911>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007912><TD
7913WIDTH="80%"
7914ALIGN="LEFT"
7915VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007916> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007917></TR
7918><TR
7919><TD
7920WIDTH="20%"
7921ALIGN="RIGHT"
7922VALIGN="TOP"
7923><TT
7924CLASS="PARAMETER"
7925><I
7926>max</I
7927></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007928>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007929><TD
7930WIDTH="80%"
7931ALIGN="LEFT"
7932VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007933> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007934></TR
7935><TR
7936><TD
7937WIDTH="20%"
7938ALIGN="RIGHT"
7939VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007940><SPAN
7941CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007942><I
7943CLASS="EMPHASIS"
7944>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007945></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007946> :</TD
7947><TD
7948WIDTH="80%"
7949ALIGN="LEFT"
7950VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007951>the number of element in the list, or -1 in case of error. If
Daniel Veillardaf43f632002-03-08 15:05:20 +00007952the function returns the value <TT
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007953CLASS="PARAMETER"
7954><I
7955>max</I
7956></TT
7957> the caller is invited to grow the
Daniel Veillardaf43f632002-03-08 15:05:20 +00007958receiving array and retry.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007959></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007960></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007961></TABLE
7962><P
7963></P
7964></DIV
7965></DIV
7966><HR><DIV
7967CLASS="REFSECT2"
7968><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007969NAME="AEN10464"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007970></A
7971><H3
7972><A
7973NAME="XMLVALIDGETPOTENTIALCHILDREN"
7974></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007975>xmlValidGetPotentialChildren ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007976><TABLE
7977BORDER="0"
7978BGCOLOR="#D6E8FF"
7979WIDTH="100%"
7980CELLPADDING="6"
7981><TR
7982><TD
7983><PRE
7984CLASS="PROGRAMLISTING"
7985>int xmlValidGetPotentialChildren (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007986HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007987>xmlElementContent</A
7988> *ctree,
7989 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007990HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007991>xmlChar</A
7992> **list,
7993 int *len,
7994 int max);</PRE
7995></TD
7996></TR
7997></TABLE
7998><P
7999>Build/extend a list of potential children allowed by the content tree</P
8000><P
8001></P
8002><DIV
8003CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008004><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008005NAME="AEN10472"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008006></P
8007><TABLE
8008BORDER="0"
8009WIDTH="100%"
8010BGCOLOR="#FFD0D0"
8011CELLSPACING="0"
8012CELLPADDING="4"
8013CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008014><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008015><TR
8016><TD
8017WIDTH="20%"
8018ALIGN="RIGHT"
8019VALIGN="TOP"
8020><TT
8021CLASS="PARAMETER"
8022><I
8023>ctree</I
8024></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008025>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008026><TD
8027WIDTH="80%"
8028ALIGN="LEFT"
8029VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008030> an element content tree</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008031></TR
8032><TR
8033><TD
8034WIDTH="20%"
8035ALIGN="RIGHT"
8036VALIGN="TOP"
8037><TT
8038CLASS="PARAMETER"
8039><I
8040>list</I
8041></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008042>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008043><TD
8044WIDTH="80%"
8045ALIGN="LEFT"
8046VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008047> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008048></TR
8049><TR
8050><TD
8051WIDTH="20%"
8052ALIGN="RIGHT"
8053VALIGN="TOP"
8054><TT
8055CLASS="PARAMETER"
8056><I
8057>len</I
8058></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008059>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008060><TD
8061WIDTH="80%"
8062ALIGN="LEFT"
8063VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008064> a pointer to the number of element in the list</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008065></TR
8066><TR
8067><TD
8068WIDTH="20%"
8069ALIGN="RIGHT"
8070VALIGN="TOP"
8071><TT
8072CLASS="PARAMETER"
8073><I
8074>max</I
8075></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008076>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008077><TD
8078WIDTH="80%"
8079ALIGN="LEFT"
8080VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008081> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008082></TR
8083><TR
8084><TD
8085WIDTH="20%"
8086ALIGN="RIGHT"
8087VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008088><SPAN
8089CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008090><I
8091CLASS="EMPHASIS"
8092>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008093></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008094> :</TD
8095><TD
8096WIDTH="80%"
8097ALIGN="LEFT"
8098VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008099>the number of element in the list, or -1 in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008100></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008101></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008102></TABLE
8103><P
8104></P
8105></DIV
8106></DIV
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008107><HR><DIV
8108CLASS="REFSECT2"
8109><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008110NAME="AEN10497"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008111></A
8112><H3
8113><A
8114NAME="XMLVALIDATENAMEVALUE"
8115></A
8116>xmlValidateNameValue ()</H3
8117><TABLE
8118BORDER="0"
8119BGCOLOR="#D6E8FF"
8120WIDTH="100%"
8121CELLPADDING="6"
8122><TR
8123><TD
8124><PRE
8125CLASS="PROGRAMLISTING"
8126>int xmlValidateNameValue (const <A
8127HREF="libxml-tree.html#XMLCHAR"
8128>xmlChar</A
8129> *value);</PRE
8130></TD
8131></TR
8132></TABLE
8133><P
8134>Validate that the given value match Name production</P
8135><P
8136></P
8137><DIV
8138CLASS="INFORMALTABLE"
8139><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008140NAME="AEN10504"><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008141></P
8142><TABLE
8143BORDER="0"
8144WIDTH="100%"
8145BGCOLOR="#FFD0D0"
8146CELLSPACING="0"
8147CELLPADDING="4"
8148CLASS="CALSTABLE"
8149><TBODY
8150><TR
8151><TD
8152WIDTH="20%"
8153ALIGN="RIGHT"
8154VALIGN="TOP"
8155><TT
8156CLASS="PARAMETER"
8157><I
8158>value</I
8159></TT
8160>&nbsp;:</TD
8161><TD
8162WIDTH="80%"
8163ALIGN="LEFT"
8164VALIGN="TOP"
8165> an Name value</TD
8166></TR
8167><TR
8168><TD
8169WIDTH="20%"
8170ALIGN="RIGHT"
8171VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008172><SPAN
8173CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008174><I
8175CLASS="EMPHASIS"
8176>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008177></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008178> :</TD
8179><TD
8180WIDTH="80%"
8181ALIGN="LEFT"
8182VALIGN="TOP"
8183>1 if valid or 0 otherwise</TD
8184></TR
8185></TBODY
8186></TABLE
8187><P
8188></P
8189></DIV
8190></DIV
8191><HR><DIV
8192CLASS="REFSECT2"
8193><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008194NAME="AEN10517"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008195></A
8196><H3
8197><A
8198NAME="XMLVALIDATENAMESVALUE"
8199></A
8200>xmlValidateNamesValue ()</H3
8201><TABLE
8202BORDER="0"
8203BGCOLOR="#D6E8FF"
8204WIDTH="100%"
8205CELLPADDING="6"
8206><TR
8207><TD
8208><PRE
8209CLASS="PROGRAMLISTING"
8210>int xmlValidateNamesValue (const <A
8211HREF="libxml-tree.html#XMLCHAR"
8212>xmlChar</A
8213> *value);</PRE
8214></TD
8215></TR
8216></TABLE
8217><P
8218>Validate that the given value match Names production</P
8219><P
8220></P
8221><DIV
8222CLASS="INFORMALTABLE"
8223><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008224NAME="AEN10524"><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008225></P
8226><TABLE
8227BORDER="0"
8228WIDTH="100%"
8229BGCOLOR="#FFD0D0"
8230CELLSPACING="0"
8231CELLPADDING="4"
8232CLASS="CALSTABLE"
8233><TBODY
8234><TR
8235><TD
8236WIDTH="20%"
8237ALIGN="RIGHT"
8238VALIGN="TOP"
8239><TT
8240CLASS="PARAMETER"
8241><I
8242>value</I
8243></TT
8244>&nbsp;:</TD
8245><TD
8246WIDTH="80%"
8247ALIGN="LEFT"
8248VALIGN="TOP"
8249> an Names value</TD
8250></TR
8251><TR
8252><TD
8253WIDTH="20%"
8254ALIGN="RIGHT"
8255VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008256><SPAN
8257CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008258><I
8259CLASS="EMPHASIS"
8260>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008261></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008262> :</TD
8263><TD
8264WIDTH="80%"
8265ALIGN="LEFT"
8266VALIGN="TOP"
8267>1 if valid or 0 otherwise</TD
8268></TR
8269></TBODY
8270></TABLE
8271><P
8272></P
8273></DIV
8274></DIV
8275><HR><DIV
8276CLASS="REFSECT2"
8277><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008278NAME="AEN10537"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008279></A
8280><H3
8281><A
8282NAME="XMLVALIDATENMTOKENVALUE"
8283></A
8284>xmlValidateNmtokenValue ()</H3
8285><TABLE
8286BORDER="0"
8287BGCOLOR="#D6E8FF"
8288WIDTH="100%"
8289CELLPADDING="6"
8290><TR
8291><TD
8292><PRE
8293CLASS="PROGRAMLISTING"
8294>int xmlValidateNmtokenValue (const <A
8295HREF="libxml-tree.html#XMLCHAR"
8296>xmlChar</A
8297> *value);</PRE
8298></TD
8299></TR
8300></TABLE
8301><P
8302>Validate that the given value match Nmtoken production</P
8303><P
8304>[ VC: Name Token ]</P
8305><P
8306></P
8307><DIV
8308CLASS="INFORMALTABLE"
8309><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008310NAME="AEN10545"><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008311></P
8312><TABLE
8313BORDER="0"
8314WIDTH="100%"
8315BGCOLOR="#FFD0D0"
8316CELLSPACING="0"
8317CELLPADDING="4"
8318CLASS="CALSTABLE"
8319><TBODY
8320><TR
8321><TD
8322WIDTH="20%"
8323ALIGN="RIGHT"
8324VALIGN="TOP"
8325><TT
8326CLASS="PARAMETER"
8327><I
8328>value</I
8329></TT
8330>&nbsp;:</TD
8331><TD
8332WIDTH="80%"
8333ALIGN="LEFT"
8334VALIGN="TOP"
8335> an Nmtoken value</TD
8336></TR
8337><TR
8338><TD
8339WIDTH="20%"
8340ALIGN="RIGHT"
8341VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008342><SPAN
8343CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008344><I
8345CLASS="EMPHASIS"
8346>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008347></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008348> :</TD
8349><TD
8350WIDTH="80%"
8351ALIGN="LEFT"
8352VALIGN="TOP"
8353>1 if valid or 0 otherwise</TD
8354></TR
8355></TBODY
8356></TABLE
8357><P
8358></P
8359></DIV
8360></DIV
8361><HR><DIV
8362CLASS="REFSECT2"
8363><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008364NAME="AEN10558"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008365></A
8366><H3
8367><A
8368NAME="XMLVALIDATENMTOKENSVALUE"
8369></A
8370>xmlValidateNmtokensValue ()</H3
8371><TABLE
8372BORDER="0"
8373BGCOLOR="#D6E8FF"
8374WIDTH="100%"
8375CELLPADDING="6"
8376><TR
8377><TD
8378><PRE
8379CLASS="PROGRAMLISTING"
8380>int xmlValidateNmtokensValue (const <A
8381HREF="libxml-tree.html#XMLCHAR"
8382>xmlChar</A
8383> *value);</PRE
8384></TD
8385></TR
8386></TABLE
8387><P
8388>Validate that the given value match Nmtokens production</P
8389><P
8390>[ VC: Name Token ]</P
8391><P
8392></P
8393><DIV
8394CLASS="INFORMALTABLE"
8395><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008396NAME="AEN10566"><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008397></P
8398><TABLE
8399BORDER="0"
8400WIDTH="100%"
8401BGCOLOR="#FFD0D0"
8402CELLSPACING="0"
8403CELLPADDING="4"
8404CLASS="CALSTABLE"
8405><TBODY
8406><TR
8407><TD
8408WIDTH="20%"
8409ALIGN="RIGHT"
8410VALIGN="TOP"
8411><TT
8412CLASS="PARAMETER"
8413><I
8414>value</I
8415></TT
8416>&nbsp;:</TD
8417><TD
8418WIDTH="80%"
8419ALIGN="LEFT"
8420VALIGN="TOP"
8421> an Nmtokens value</TD
8422></TR
8423><TR
8424><TD
8425WIDTH="20%"
8426ALIGN="RIGHT"
8427VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008428><SPAN
8429CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008430><I
8431CLASS="EMPHASIS"
8432>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008433></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008434> :</TD
8435><TD
8436WIDTH="80%"
8437ALIGN="LEFT"
8438VALIGN="TOP"
8439>1 if valid or 0 otherwise</TD
8440></TR
8441></TBODY
8442></TABLE
8443><P
8444></P
8445></DIV
8446></DIV
Daniel Veillard2ace1952002-09-26 12:28:02 +00008447><HR><DIV
8448CLASS="REFSECT2"
8449><A
8450NAME="AEN10579"
8451></A
8452><H3
8453><A
8454NAME="XMLVALIDBUILDCONTENTMODEL"
8455></A
8456>xmlValidBuildContentModel ()</H3
8457><TABLE
8458BORDER="0"
8459BGCOLOR="#D6E8FF"
8460WIDTH="100%"
8461CELLPADDING="6"
8462><TR
8463><TD
8464><PRE
8465CLASS="PROGRAMLISTING"
8466>int xmlValidBuildContentModel (<A
8467HREF="libxml-valid.html#XMLVALIDCTXTPTR"
8468>xmlValidCtxtPtr</A
8469> ctxt,
8470 <A
8471HREF="libxml-tree.html#XMLELEMENTPTR"
8472>xmlElementPtr</A
8473> elem);</PRE
8474></TD
8475></TR
8476></TABLE
8477><P
8478>(Re)Build the automata associated to the content model of this
8479element</P
8480><P
8481></P
8482><DIV
8483CLASS="INFORMALTABLE"
8484><A
8485NAME="AEN10587"><P
8486></P
8487><TABLE
8488BORDER="0"
8489WIDTH="100%"
8490BGCOLOR="#FFD0D0"
8491CELLSPACING="0"
8492CELLPADDING="4"
8493CLASS="CALSTABLE"
8494><TBODY
8495><TR
8496><TD
8497WIDTH="20%"
8498ALIGN="RIGHT"
8499VALIGN="TOP"
8500><TT
8501CLASS="PARAMETER"
8502><I
8503>ctxt</I
8504></TT
8505>&nbsp;:</TD
8506><TD
8507WIDTH="80%"
8508ALIGN="LEFT"
8509VALIGN="TOP"
8510> a validation context</TD
8511></TR
8512><TR
8513><TD
8514WIDTH="20%"
8515ALIGN="RIGHT"
8516VALIGN="TOP"
8517><TT
8518CLASS="PARAMETER"
8519><I
8520>elem</I
8521></TT
8522>&nbsp;:</TD
8523><TD
8524WIDTH="80%"
8525ALIGN="LEFT"
8526VALIGN="TOP"
8527> an element declaration node</TD
8528></TR
8529><TR
8530><TD
8531WIDTH="20%"
8532ALIGN="RIGHT"
8533VALIGN="TOP"
8534><SPAN
8535CLASS="emphasis"
8536><I
8537CLASS="EMPHASIS"
8538>Returns</I
8539></SPAN
8540> :</TD
8541><TD
8542WIDTH="80%"
8543ALIGN="LEFT"
8544VALIGN="TOP"
8545>1 in case of success, 0 in case of error</TD
8546></TR
8547></TBODY
8548></TABLE
8549><P
8550></P
8551></DIV
8552></DIV
Daniel Veillard35925471999-02-25 08:46:07 +00008553></DIV
8554><DIV
8555CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00008556><BR
8557CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00008558WIDTH="100%"
8559BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008560BGCOLOR="#000000"
8561CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00008562CELLSPACING="0"
8563><TR
8564><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008565WIDTH="25%"
8566BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00008567ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00008568><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008569HREF="libxml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008570><FONT
8571COLOR="#FFFFFF"
8572SIZE="3"
8573><B
8574>&#60;&#60;&#60; Previous Page</B
8575></FONT
8576></A
Daniel Veillard35925471999-02-25 08:46:07 +00008577></TD
8578><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008579WIDTH="25%"
8580BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00008581ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00008582><FONT
8583COLOR="#FFFFFF"
8584SIZE="3"
8585><B
Daniel Veillard35925471999-02-25 08:46:07 +00008586><A
8587HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008588><FONT
8589COLOR="#FFFFFF"
8590SIZE="3"
8591><B
8592>Home</B
8593></FONT
8594></A
8595></B
8596></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00008597></TD
8598><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008599WIDTH="25%"
8600BGCOLOR="#00C000"
8601ALIGN="center"
8602><FONT
8603COLOR="#FFFFFF"
8604SIZE="3"
8605><B
8606><A
Daniel Veillard35008381999-10-25 13:15:52 +00008607HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008608><FONT
8609COLOR="#FFFFFF"
8610SIZE="3"
8611><B
8612>Up</B
8613></FONT
8614></A
8615></B
8616></FONT
8617></TD
8618><TD
8619WIDTH="25%"
8620BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00008621ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00008622><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008623HREF="libxml-uri.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008624><FONT
8625COLOR="#FFFFFF"
8626SIZE="3"
8627><B
8628>Next Page &#62;&#62;&#62;</B
8629></FONT
8630></A
Daniel Veillard35925471999-02-25 08:46:07 +00008631></TD
8632></TR
8633><TR
8634><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008635COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00008636ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00008637><FONT
8638COLOR="#FFFFFF"
8639SIZE="3"
8640><B
8641>entities</B
8642></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00008643></TD
8644><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008645COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00008646ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00008647><FONT
8648COLOR="#FFFFFF"
8649SIZE="3"
8650><B
Daniel Veillard8f621982000-03-20 13:07:15 +00008651>uri</B
Daniel Veillard14fff061999-06-22 21:49:07 +00008652></FONT
8653></TD
Daniel Veillard35925471999-02-25 08:46:07 +00008654></TR
8655></TABLE
8656></DIV
8657></BODY
8658></HTML
8659>