blob: 708d0c638ea9a7685a5d2f80c0a158f892fd24ba [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 Veillard5ede35e2002-10-01 11:37:35 +0000840HREF="libxml-valid.html#XMLVALIDATEONENAMESPACE"
841>xmlValidateOneNamespace</A
842> (<A
843HREF="libxml-valid.html#XMLVALIDCTXTPTR"
844>xmlValidCtxtPtr</A
845> ctxt,
846 <A
847HREF="libxml-tree.html#XMLDOCPTR"
848>xmlDocPtr</A
849> doc,
850 <A
851HREF="libxml-tree.html#XMLNODEPTR"
852>xmlNodePtr</A
853> elem,
854 const <A
855HREF="libxml-tree.html#XMLCHAR"
856>xmlChar</A
857> *prefix,
858 <A
859HREF="libxml-tree.html#XMLNSPTR"
860>xmlNsPtr</A
861> ns,
862 const <A
863HREF="libxml-tree.html#XMLCHAR"
864>xmlChar</A
865> *value);
866int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000867HREF="libxml-valid.html#XMLVALIDATEDOCUMENTFINAL"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000868>xmlValidateDocumentFinal</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000869> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000870HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000871>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000872> ctxt,
873 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000874HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000875>xmlDocPtr</A
876> doc);
877int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000878HREF="libxml-valid.html#XMLVALIDATENOTATIONUSE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000879>xmlValidateNotationUse</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000880> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000881HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000882>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000883> ctxt,
884 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000885HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000886>xmlDocPtr</A
887> doc,
888 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000889HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000890>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000891> *notationName);
892int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000893HREF="libxml-valid.html#XMLISMIXEDELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000894>xmlIsMixedElement</A
895> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000896HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000897>xmlDocPtr</A
898> doc,
899 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000900HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000901>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000902> *name);
903<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000904HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000905>xmlAttributePtr</A
906> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000907HREF="libxml-valid.html#XMLGETDTDATTRDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000908>xmlGetDtdAttrDesc</A
909> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000910HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000911>xmlDtdPtr</A
912> dtd,
913 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000914HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000915>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000916> *elem,
917 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000918HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000919>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000920> *name);
921<A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000922HREF="libxml-tree.html#XMLATTRIBUTEPTR"
923>xmlAttributePtr</A
924> <A
925HREF="libxml-valid.html#XMLGETDTDQATTRDESC"
926>xmlGetDtdQAttrDesc</A
927> (<A
928HREF="libxml-tree.html#XMLDTDPTR"
929>xmlDtdPtr</A
930> dtd,
931 const <A
932HREF="libxml-tree.html#XMLCHAR"
933>xmlChar</A
934> *elem,
935 const <A
936HREF="libxml-tree.html#XMLCHAR"
937>xmlChar</A
938> *name,
939 const <A
940HREF="libxml-tree.html#XMLCHAR"
941>xmlChar</A
942> *prefix);
943<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000944HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000945>xmlNotationPtr</A
946> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000947HREF="libxml-valid.html#XMLGETDTDNOTATIONDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000948>xmlGetDtdNotationDesc</A
949> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000950HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000951>xmlDtdPtr</A
952> dtd,
953 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000954HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000955>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000956> *name);
957<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000958HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000959>xmlElementPtr</A
960> <A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000961HREF="libxml-valid.html#XMLGETDTDQELEMENTDESC"
962>xmlGetDtdQElementDesc</A
963> (<A
964HREF="libxml-tree.html#XMLDTDPTR"
965>xmlDtdPtr</A
966> dtd,
967 const <A
968HREF="libxml-tree.html#XMLCHAR"
969>xmlChar</A
970> *name,
971 const <A
972HREF="libxml-tree.html#XMLCHAR"
973>xmlChar</A
974> *prefix);
975<A
976HREF="libxml-tree.html#XMLELEMENTPTR"
977>xmlElementPtr</A
978> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000979HREF="libxml-valid.html#XMLGETDTDELEMENTDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000980>xmlGetDtdElementDesc</A
981> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000982HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000983>xmlDtdPtr</A
984> dtd,
985 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000986HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000987>xmlChar</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000988> *name);
989int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000990HREF="libxml-valid.html#XMLVALIDGETVALIDELEMENTS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000991>xmlValidGetValidElements</A
992> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000993HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000994>xmlNode</A
995> *prev,
996 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000997HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000998>xmlNode</A
999> *next,
1000 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001001HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001002>xmlChar</A
1003> **list,
1004 int max);
1005int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001006HREF="libxml-valid.html#XMLVALIDGETPOTENTIALCHILDREN"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001007>xmlValidGetPotentialChildren</A
1008> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001009HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001010>xmlElementContent</A
1011> *ctree,
1012 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001013HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001014>xmlChar</A
1015> **list,
1016 int *len,
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001017 int max);
1018int <A
1019HREF="libxml-valid.html#XMLVALIDATENAMEVALUE"
1020>xmlValidateNameValue</A
1021> (const <A
1022HREF="libxml-tree.html#XMLCHAR"
1023>xmlChar</A
1024> *value);
1025int <A
1026HREF="libxml-valid.html#XMLVALIDATENAMESVALUE"
1027>xmlValidateNamesValue</A
1028> (const <A
1029HREF="libxml-tree.html#XMLCHAR"
1030>xmlChar</A
1031> *value);
1032int <A
1033HREF="libxml-valid.html#XMLVALIDATENMTOKENVALUE"
1034>xmlValidateNmtokenValue</A
1035> (const <A
1036HREF="libxml-tree.html#XMLCHAR"
1037>xmlChar</A
1038> *value);
1039int <A
1040HREF="libxml-valid.html#XMLVALIDATENMTOKENSVALUE"
1041>xmlValidateNmtokensValue</A
1042> (const <A
1043HREF="libxml-tree.html#XMLCHAR"
1044>xmlChar</A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001045> *value);
1046int <A
1047HREF="libxml-valid.html#XMLVALIDBUILDCONTENTMODEL"
1048>xmlValidBuildContentModel</A
1049> (<A
1050HREF="libxml-valid.html#XMLVALIDCTXTPTR"
1051>xmlValidCtxtPtr</A
1052> ctxt,
1053 <A
1054HREF="libxml-tree.html#XMLELEMENTPTR"
1055>xmlElementPtr</A
1056> elem);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001057></TD
1058></TR
1059></TABLE
1060></DIV
1061><DIV
1062CLASS="REFSECT1"
1063><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001064NAME="AEN8839"
Daniel Veillard35925471999-02-25 08:46:07 +00001065></A
1066><H2
1067>Description</H2
1068><P
1069></P
1070></DIV
1071><DIV
1072CLASS="REFSECT1"
1073><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001074NAME="AEN8842"
Daniel Veillard35925471999-02-25 08:46:07 +00001075></A
1076><H2
1077>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001078><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001079CLASS="REFSECT2"
1080><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001081NAME="AEN8844"
Daniel Veillarda41123c2001-04-22 19:31:20 +00001082></A
1083><H3
1084><A
1085NAME="XMLVALIDSTATE"
1086></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001087>struct xmlValidState</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00001088><TABLE
1089BORDER="0"
1090BGCOLOR="#D6E8FF"
1091WIDTH="100%"
1092CELLPADDING="6"
1093><TR
1094><TD
1095><PRE
1096CLASS="PROGRAMLISTING"
1097>struct xmlValidState;</PRE
1098></TD
1099></TR
1100></TABLE
1101><P
1102></P
1103></DIV
1104><HR><DIV
1105CLASS="REFSECT2"
1106><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001107NAME="AEN8849"
Daniel Veillarda41123c2001-04-22 19:31:20 +00001108></A
1109><H3
1110><A
1111NAME="XMLVALIDSTATEPTR"
1112></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001113>xmlValidStatePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001114><TABLE
1115BORDER="0"
1116BGCOLOR="#D6E8FF"
1117WIDTH="100%"
1118CELLPADDING="6"
1119><TR
1120><TD
1121><PRE
1122CLASS="PROGRAMLISTING"
1123>typedef xmlValidState *xmlValidStatePtr;</PRE
1124></TD
1125></TR
1126></TABLE
Daniel Veillarda41123c2001-04-22 19:31:20 +00001127><P
1128></P
1129></DIV
1130><HR><DIV
1131CLASS="REFSECT2"
1132><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001133NAME="AEN8854"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001134></A
1135><H3
1136><A
1137NAME="XMLVALIDITYERRORFUNC"
1138></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001139>xmlValidityErrorFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00001140><TABLE
1141BORDER="0"
1142BGCOLOR="#D6E8FF"
1143WIDTH="100%"
1144CELLPADDING="6"
1145><TR
1146><TD
1147><PRE
1148CLASS="PROGRAMLISTING"
1149>void (*xmlValidityErrorFunc) (void *ctx,
1150 const char *msg,
1151 ...);</PRE
1152></TD
1153></TR
1154></TABLE
1155><P
Daniel Veillard19274092002-03-25 16:48:03 +00001156>Callback called when a validity error is found. This is a message
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001157oriented function similar to an *printf function.</P
1158><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001159></P
1160><DIV
1161CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001162><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001163NAME="AEN8860"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001164></P
1165><TABLE
1166BORDER="0"
1167WIDTH="100%"
1168BGCOLOR="#FFD0D0"
1169CELLSPACING="0"
1170CELLPADDING="4"
1171CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001172><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001173><TR
1174><TD
1175WIDTH="20%"
1176ALIGN="RIGHT"
1177VALIGN="TOP"
1178><TT
1179CLASS="PARAMETER"
1180><I
1181>ctx</I
1182></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001183>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001184><TD
1185WIDTH="80%"
1186ALIGN="LEFT"
1187VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001188> an xmlValidCtxtPtr validity error context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001189></TR
1190><TR
1191><TD
1192WIDTH="20%"
1193ALIGN="RIGHT"
1194VALIGN="TOP"
1195><TT
1196CLASS="PARAMETER"
1197><I
1198>msg</I
1199></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001200>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001201><TD
1202WIDTH="80%"
1203ALIGN="LEFT"
1204VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001205> the string to format *printf like vararg</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001206></TR
1207><TR
1208><TD
1209WIDTH="20%"
1210ALIGN="RIGHT"
1211VALIGN="TOP"
1212><TT
1213CLASS="PARAMETER"
1214><I
1215>...</I
1216></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001217>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001218><TD
1219WIDTH="80%"
1220ALIGN="LEFT"
1221VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001222> remaining arguments to the format</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001223></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001224></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001225></TABLE
1226><P
1227></P
1228></DIV
1229></DIV
1230><HR><DIV
1231CLASS="REFSECT2"
1232><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001233NAME="AEN8877"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001234></A
1235><H3
1236><A
1237NAME="XMLVALIDITYWARNINGFUNC"
1238></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001239>xmlValidityWarningFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00001240><TABLE
1241BORDER="0"
1242BGCOLOR="#D6E8FF"
1243WIDTH="100%"
1244CELLPADDING="6"
1245><TR
1246><TD
1247><PRE
1248CLASS="PROGRAMLISTING"
1249>void (*xmlValidityWarningFunc) (void *ctx,
1250 const char *msg,
1251 ...);</PRE
1252></TD
1253></TR
1254></TABLE
1255><P
Daniel Veillard19274092002-03-25 16:48:03 +00001256>Callback called when a validity warning is found. This is a message
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001257oriented function similar to an *printf function.</P
1258><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001259></P
1260><DIV
1261CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001262><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001263NAME="AEN8883"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001264></P
1265><TABLE
1266BORDER="0"
1267WIDTH="100%"
1268BGCOLOR="#FFD0D0"
1269CELLSPACING="0"
1270CELLPADDING="4"
1271CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001272><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001273><TR
1274><TD
1275WIDTH="20%"
1276ALIGN="RIGHT"
1277VALIGN="TOP"
1278><TT
1279CLASS="PARAMETER"
1280><I
1281>ctx</I
1282></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001283>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001284><TD
1285WIDTH="80%"
1286ALIGN="LEFT"
1287VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001288> an xmlValidCtxtPtr validity error context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001289></TR
1290><TR
1291><TD
1292WIDTH="20%"
1293ALIGN="RIGHT"
1294VALIGN="TOP"
1295><TT
1296CLASS="PARAMETER"
1297><I
1298>msg</I
1299></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001300>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001301><TD
1302WIDTH="80%"
1303ALIGN="LEFT"
1304VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001305> the string to format *printf like vararg</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001306></TR
1307><TR
1308><TD
1309WIDTH="20%"
1310ALIGN="RIGHT"
1311VALIGN="TOP"
1312><TT
1313CLASS="PARAMETER"
1314><I
1315>...</I
1316></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001317>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001318><TD
1319WIDTH="80%"
1320ALIGN="LEFT"
1321VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001322> remaining arguments to the format</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001323></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001324></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001325></TABLE
1326><P
1327></P
1328></DIV
1329></DIV
1330><HR><DIV
1331CLASS="REFSECT2"
1332><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001333NAME="AEN8900"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001334></A
1335><H3
1336><A
1337NAME="XMLVALIDCTXT"
1338></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001339>struct xmlValidCtxt</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001340><TABLE
1341BORDER="0"
1342BGCOLOR="#D6E8FF"
1343WIDTH="100%"
1344CELLPADDING="6"
1345><TR
1346><TD
1347><PRE
1348CLASS="PROGRAMLISTING"
1349>struct xmlValidCtxt {
1350 void *userData; /* user specific data block */
1351 xmlValidityErrorFunc error; /* the callback in case of errors */
1352 xmlValidityWarningFunc warning; /* the callback in case of warning */
1353
1354 /* Node analysis stack used when validating within entities */
1355 xmlNodePtr node; /* Current parsed Node */
1356 int nodeNr; /* Depth of the parsing stack */
1357 int nodeMax; /* Max depth of the parsing stack */
1358 xmlNodePtr *nodeTab; /* array of nodes */
1359
1360 int finishDtd; /* finished validating the Dtd ? */
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001361 xmlDocPtr doc; /* the document */
1362 int valid; /* temporary validity check result */
Daniel Veillarda41123c2001-04-22 19:31:20 +00001363
1364 /* state state used for non-determinist content validation */
1365 xmlValidState *vstate; /* current state */
1366 int vstateNr; /* Depth of the validation stack */
1367 int vstateMax; /* Max depth of the validation stack */
1368 xmlValidState *vstateTab; /* array of validation states */
Daniel Veillard2ace1952002-09-26 12:28:02 +00001369
1370#ifdef LIBXML_REGEXP_ENABLED
1371 xmlAutomataPtr am; /* the automata */
1372 xmlAutomataStatePtr state; /* used to build the automata */
1373#else
1374 void *am;
1375 void *state;
1376#endif
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001377};</PRE
1378></TD
1379></TR
1380></TABLE
1381><P
1382></P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001383><P
1384></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001385></DIV
1386><HR><DIV
1387CLASS="REFSECT2"
1388><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001389NAME="AEN8906"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001390></A
1391><H3
1392><A
1393NAME="XMLVALIDCTXTPTR"
1394></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001395>xmlValidCtxtPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001396><TABLE
1397BORDER="0"
1398BGCOLOR="#D6E8FF"
1399WIDTH="100%"
1400CELLPADDING="6"
1401><TR
1402><TD
1403><PRE
1404CLASS="PROGRAMLISTING"
1405>typedef xmlValidCtxt *xmlValidCtxtPtr;</PRE
1406></TD
1407></TR
1408></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001409><P
1410></P
1411></DIV
1412><HR><DIV
1413CLASS="REFSECT2"
1414><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001415NAME="AEN8911"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001416></A
1417><H3
1418><A
1419NAME="XMLNOTATIONTABLEPTR"
1420></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001421>xmlNotationTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001422><TABLE
1423BORDER="0"
1424BGCOLOR="#D6E8FF"
1425WIDTH="100%"
1426CELLPADDING="6"
1427><TR
1428><TD
1429><PRE
1430CLASS="PROGRAMLISTING"
1431>typedef xmlNotationTable *xmlNotationTablePtr;</PRE
1432></TD
1433></TR
1434></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001435><P
1436></P
1437></DIV
1438><HR><DIV
1439CLASS="REFSECT2"
1440><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001441NAME="AEN8916"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001442></A
1443><H3
1444><A
1445NAME="XMLELEMENTTABLEPTR"
1446></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001447>xmlElementTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001448><TABLE
1449BORDER="0"
1450BGCOLOR="#D6E8FF"
1451WIDTH="100%"
1452CELLPADDING="6"
1453><TR
1454><TD
1455><PRE
1456CLASS="PROGRAMLISTING"
1457>typedef xmlElementTable *xmlElementTablePtr;</PRE
1458></TD
1459></TR
1460></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001461><P
1462></P
1463></DIV
1464><HR><DIV
1465CLASS="REFSECT2"
1466><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001467NAME="AEN8921"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001468></A
1469><H3
1470><A
1471NAME="XMLATTRIBUTETABLEPTR"
1472></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001473>xmlAttributeTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001474><TABLE
1475BORDER="0"
1476BGCOLOR="#D6E8FF"
1477WIDTH="100%"
1478CELLPADDING="6"
1479><TR
1480><TD
1481><PRE
1482CLASS="PROGRAMLISTING"
1483>typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE
1484></TD
1485></TR
1486></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001487><P
1488></P
1489></DIV
1490><HR><DIV
1491CLASS="REFSECT2"
1492><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001493NAME="AEN8926"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001494></A
1495><H3
1496><A
1497NAME="XMLIDTABLEPTR"
1498></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001499>xmlIDTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001500><TABLE
1501BORDER="0"
1502BGCOLOR="#D6E8FF"
1503WIDTH="100%"
1504CELLPADDING="6"
1505><TR
1506><TD
1507><PRE
1508CLASS="PROGRAMLISTING"
1509>typedef xmlIDTable *xmlIDTablePtr;</PRE
1510></TD
1511></TR
1512></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001513><P
1514></P
1515></DIV
1516><HR><DIV
1517CLASS="REFSECT2"
1518><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001519NAME="AEN8931"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001520></A
1521><H3
1522><A
1523NAME="XMLREFTABLEPTR"
1524></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001525>xmlRefTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001526><TABLE
1527BORDER="0"
1528BGCOLOR="#D6E8FF"
1529WIDTH="100%"
1530CELLPADDING="6"
1531><TR
1532><TD
1533><PRE
1534CLASS="PROGRAMLISTING"
1535>typedef xmlRefTable *xmlRefTablePtr;</PRE
1536></TD
1537></TR
1538></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001539><P
1540></P
1541></DIV
1542><HR><DIV
1543CLASS="REFSECT2"
1544><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001545NAME="AEN8936"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001546></A
1547><H3
1548><A
1549NAME="XMLSPLITQNAME2"
1550></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001551>xmlSplitQName2 ()</H3
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001552><TABLE
1553BORDER="0"
1554BGCOLOR="#D6E8FF"
1555WIDTH="100%"
1556CELLPADDING="6"
1557><TR
1558><TD
1559><PRE
1560CLASS="PROGRAMLISTING"
1561><A
1562HREF="libxml-tree.html#XMLCHAR"
1563>xmlChar</A
1564>* xmlSplitQName2 (const <A
1565HREF="libxml-tree.html#XMLCHAR"
1566>xmlChar</A
1567> *name,
1568 <A
1569HREF="libxml-tree.html#XMLCHAR"
1570>xmlChar</A
1571> **prefix);</PRE
1572></TD
1573></TR
1574></TABLE
1575><P
1576>parse an XML qualified name string</P
1577><P
1578>[NS 5] QName ::= (Prefix ':')? LocalPart</P
1579><P
1580>[NS 6] Prefix ::= NCName</P
1581><P
1582>[NS 7] LocalPart ::= NCName</P
1583><P
1584></P
1585><DIV
1586CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001587><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001588NAME="AEN8948"><P
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001589></P
1590><TABLE
1591BORDER="0"
1592WIDTH="100%"
1593BGCOLOR="#FFD0D0"
1594CELLSPACING="0"
1595CELLPADDING="4"
1596CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001597><TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001598><TR
1599><TD
1600WIDTH="20%"
1601ALIGN="RIGHT"
1602VALIGN="TOP"
1603><TT
1604CLASS="PARAMETER"
1605><I
1606>name</I
1607></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001608>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001609><TD
1610WIDTH="80%"
1611ALIGN="LEFT"
1612VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001613> an XML parser context</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001614></TR
1615><TR
1616><TD
1617WIDTH="20%"
1618ALIGN="RIGHT"
1619VALIGN="TOP"
1620><TT
1621CLASS="PARAMETER"
1622><I
1623>prefix</I
1624></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001625>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001626><TD
1627WIDTH="80%"
1628ALIGN="LEFT"
1629VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001630> a xmlChar ** </TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001631></TR
1632><TR
1633><TD
1634WIDTH="20%"
1635ALIGN="RIGHT"
1636VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001637><SPAN
1638CLASS="emphasis"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001639><I
1640CLASS="EMPHASIS"
1641>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001642></SPAN
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001643> :</TD
1644><TD
1645WIDTH="80%"
1646ALIGN="LEFT"
1647VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001648>NULL if not a QName, otherwise the local part, and prefix
Daniel Veillardaf43f632002-03-08 15:05:20 +00001649is updated to get the Prefix if any.</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001650></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001651></TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001652></TABLE
1653><P
1654></P
1655></DIV
1656></DIV
1657><HR><DIV
1658CLASS="REFSECT2"
1659><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001660NAME="AEN8965"
Daniel Veillard35925471999-02-25 08:46:07 +00001661></A
1662><H3
1663><A
1664NAME="XMLADDNOTATIONDECL"
1665></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001666>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001667><TABLE
1668BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001669BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001670WIDTH="100%"
1671CELLPADDING="6"
1672><TR
1673><TD
1674><PRE
1675CLASS="PROGRAMLISTING"
1676><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001677HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001678>xmlNotationPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001679> xmlAddNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001680HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001681>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001682> ctxt,
1683 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001684HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001685>xmlDtdPtr</A
1686> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001687 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001688HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001689>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001690> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001691 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001692HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001693>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001694> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001695 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001696HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001697>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001698> *SystemID);</PRE
1699></TD
1700></TR
1701></TABLE
1702><P
1703>Register a new notation declaration</P
1704><P
1705></P
1706><DIV
1707CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001708><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001709NAME="AEN8977"><P
Daniel Veillard35925471999-02-25 08:46:07 +00001710></P
1711><TABLE
1712BORDER="0"
1713WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001714BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001715CELLSPACING="0"
1716CELLPADDING="4"
1717CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001718><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001719><TR
1720><TD
1721WIDTH="20%"
1722ALIGN="RIGHT"
1723VALIGN="TOP"
1724><TT
1725CLASS="PARAMETER"
1726><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001727>ctxt</I
1728></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001729>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001730><TD
1731WIDTH="80%"
1732ALIGN="LEFT"
1733VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001734> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001735></TR
1736><TR
1737><TD
1738WIDTH="20%"
1739ALIGN="RIGHT"
1740VALIGN="TOP"
1741><TT
1742CLASS="PARAMETER"
1743><I
Daniel Veillard35925471999-02-25 08:46:07 +00001744>dtd</I
1745></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001746>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001747><TD
1748WIDTH="80%"
1749ALIGN="LEFT"
1750VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001751> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001752></TR
1753><TR
1754><TD
1755WIDTH="20%"
1756ALIGN="RIGHT"
1757VALIGN="TOP"
1758><TT
1759CLASS="PARAMETER"
1760><I
1761>name</I
1762></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001763>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001764><TD
1765WIDTH="80%"
1766ALIGN="LEFT"
1767VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001768> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001769></TR
1770><TR
1771><TD
1772WIDTH="20%"
1773ALIGN="RIGHT"
1774VALIGN="TOP"
1775><TT
1776CLASS="PARAMETER"
1777><I
1778>PublicID</I
1779></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001780>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001781><TD
1782WIDTH="80%"
1783ALIGN="LEFT"
1784VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001785> the public identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001786></TR
1787><TR
1788><TD
1789WIDTH="20%"
1790ALIGN="RIGHT"
1791VALIGN="TOP"
1792><TT
1793CLASS="PARAMETER"
1794><I
1795>SystemID</I
1796></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001797>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001798><TD
1799WIDTH="80%"
1800ALIGN="LEFT"
1801VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001802> the system identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001803></TR
1804><TR
1805><TD
1806WIDTH="20%"
1807ALIGN="RIGHT"
1808VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001809><SPAN
1810CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00001811><I
1812CLASS="EMPHASIS"
1813>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001814></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00001815> :</TD
1816><TD
1817WIDTH="80%"
1818ALIGN="LEFT"
1819VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001820>NULL if not, otherwise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001821></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001822></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001823></TABLE
1824><P
1825></P
1826></DIV
1827></DIV
1828><HR><DIV
1829CLASS="REFSECT2"
1830><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001831NAME="AEN9006"
Daniel Veillard35925471999-02-25 08:46:07 +00001832></A
1833><H3
1834><A
1835NAME="XMLCOPYNOTATIONTABLE"
1836></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001837>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001838><TABLE
1839BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001840BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001841WIDTH="100%"
1842CELLPADDING="6"
1843><TR
1844><TD
1845><PRE
1846CLASS="PROGRAMLISTING"
1847><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001848HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001849>xmlNotationTablePtr</A
1850> xmlCopyNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001851HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001852>xmlNotationTablePtr</A
1853> table);</PRE
1854></TD
1855></TR
1856></TABLE
1857><P
1858>Build a copy of a notation table.</P
1859><P
1860></P
1861><DIV
1862CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001863><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001864NAME="AEN9014"><P
Daniel Veillard35925471999-02-25 08:46:07 +00001865></P
1866><TABLE
1867BORDER="0"
1868WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001869BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001870CELLSPACING="0"
1871CELLPADDING="4"
1872CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001873><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001874><TR
1875><TD
1876WIDTH="20%"
1877ALIGN="RIGHT"
1878VALIGN="TOP"
1879><TT
1880CLASS="PARAMETER"
1881><I
1882>table</I
1883></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001884>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001885><TD
1886WIDTH="80%"
1887ALIGN="LEFT"
1888VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001889> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001890></TR
1891><TR
1892><TD
1893WIDTH="20%"
1894ALIGN="RIGHT"
1895VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001896><SPAN
1897CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00001898><I
1899CLASS="EMPHASIS"
1900>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001901></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00001902> :</TD
1903><TD
1904WIDTH="80%"
1905ALIGN="LEFT"
1906VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001907>the new xmlNotationTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001908></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001909></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001910></TABLE
1911><P
1912></P
1913></DIV
1914></DIV
1915><HR><DIV
1916CLASS="REFSECT2"
1917><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001918NAME="AEN9027"
Daniel Veillard35925471999-02-25 08:46:07 +00001919></A
1920><H3
1921><A
1922NAME="XMLFREENOTATIONTABLE"
1923></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001924>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001925><TABLE
1926BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001927BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001928WIDTH="100%"
1929CELLPADDING="6"
1930><TR
1931><TD
1932><PRE
1933CLASS="PROGRAMLISTING"
1934>void xmlFreeNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001935HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001936>xmlNotationTablePtr</A
1937> table);</PRE
1938></TD
1939></TR
1940></TABLE
1941><P
1942>Deallocate the memory used by an entities hash table.</P
1943><P
1944></P
1945><DIV
1946CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001947><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001948NAME="AEN9034"><P
Daniel Veillard35925471999-02-25 08:46:07 +00001949></P
1950><TABLE
1951BORDER="0"
1952WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001953BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001954CELLSPACING="0"
1955CELLPADDING="4"
1956CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001957><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001958><TR
1959><TD
1960WIDTH="20%"
1961ALIGN="RIGHT"
1962VALIGN="TOP"
1963><TT
1964CLASS="PARAMETER"
1965><I
1966>table</I
1967></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001968>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001969><TD
1970WIDTH="80%"
1971ALIGN="LEFT"
1972VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001973> An notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001974></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001975></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001976></TABLE
1977><P
1978></P
1979></DIV
1980></DIV
1981><HR><DIV
1982CLASS="REFSECT2"
1983><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00001984NAME="AEN9043"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001985></A
1986><H3
1987><A
1988NAME="XMLDUMPNOTATIONDECL"
1989></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001990>xmlDumpNotationDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001991><TABLE
1992BORDER="0"
1993BGCOLOR="#D6E8FF"
1994WIDTH="100%"
1995CELLPADDING="6"
1996><TR
1997><TD
1998><PRE
1999CLASS="PROGRAMLISTING"
2000>void xmlDumpNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002001HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002002>xmlBufferPtr</A
2003> buf,
2004 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002005HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002006>xmlNotationPtr</A
2007> nota);</PRE
2008></TD
2009></TR
2010></TABLE
2011><P
2012>This will dump the content the notation declaration as an XML DTD definition</P
2013><P
2014></P
2015><DIV
2016CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002017><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002018NAME="AEN9051"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002019></P
2020><TABLE
2021BORDER="0"
2022WIDTH="100%"
2023BGCOLOR="#FFD0D0"
2024CELLSPACING="0"
2025CELLPADDING="4"
2026CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002027><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002028><TR
2029><TD
2030WIDTH="20%"
2031ALIGN="RIGHT"
2032VALIGN="TOP"
2033><TT
2034CLASS="PARAMETER"
2035><I
2036>buf</I
2037></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002038>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002039><TD
2040WIDTH="80%"
2041ALIGN="LEFT"
2042VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002043> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002044></TR
2045><TR
2046><TD
2047WIDTH="20%"
2048ALIGN="RIGHT"
2049VALIGN="TOP"
2050><TT
2051CLASS="PARAMETER"
2052><I
2053>nota</I
2054></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002055>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002056><TD
2057WIDTH="80%"
2058ALIGN="LEFT"
2059VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002060> A notation declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002061></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002062></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002063></TABLE
2064><P
2065></P
2066></DIV
2067></DIV
2068><HR><DIV
2069CLASS="REFSECT2"
2070><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002071NAME="AEN9064"
Daniel Veillard35925471999-02-25 08:46:07 +00002072></A
2073><H3
2074><A
2075NAME="XMLDUMPNOTATIONTABLE"
2076></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002077>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002078><TABLE
2079BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002080BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002081WIDTH="100%"
2082CELLPADDING="6"
2083><TR
2084><TD
2085><PRE
2086CLASS="PROGRAMLISTING"
2087>void xmlDumpNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002088HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002089>xmlBufferPtr</A
2090> buf,
2091 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002092HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002093>xmlNotationTablePtr</A
2094> table);</PRE
2095></TD
2096></TR
2097></TABLE
2098><P
2099>This will dump the content of the notation table as an XML DTD definition</P
2100><P
Daniel Veillard35925471999-02-25 08:46:07 +00002101></P
2102><DIV
2103CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002104><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002105NAME="AEN9072"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002106></P
2107><TABLE
2108BORDER="0"
2109WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002110BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002111CELLSPACING="0"
2112CELLPADDING="4"
2113CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002114><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002115><TR
2116><TD
2117WIDTH="20%"
2118ALIGN="RIGHT"
2119VALIGN="TOP"
2120><TT
2121CLASS="PARAMETER"
2122><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002123>buf</I
2124></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002125>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002126><TD
2127WIDTH="80%"
2128ALIGN="LEFT"
2129VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002130> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002131></TR
2132><TR
2133><TD
2134WIDTH="20%"
2135ALIGN="RIGHT"
2136VALIGN="TOP"
2137><TT
2138CLASS="PARAMETER"
2139><I
Daniel Veillard35925471999-02-25 08:46:07 +00002140>table</I
2141></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002142>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002143><TD
2144WIDTH="80%"
2145ALIGN="LEFT"
2146VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002147> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002148></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002149></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002150></TABLE
2151><P
2152></P
2153></DIV
2154></DIV
2155><HR><DIV
2156CLASS="REFSECT2"
2157><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002158NAME="AEN9085"
Daniel Veillard35925471999-02-25 08:46:07 +00002159></A
2160><H3
2161><A
2162NAME="XMLNEWELEMENTCONTENT"
2163></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002164>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002165><TABLE
2166BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002167BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002168WIDTH="100%"
2169CELLPADDING="6"
2170><TR
2171><TD
2172><PRE
2173CLASS="PROGRAMLISTING"
2174><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002175HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002176>xmlElementContentPtr</A
2177> xmlNewElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002178HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002179>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002180> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002181 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002182HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002183>xmlElementContentType</A
2184> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00002185></TD
2186></TR
2187></TABLE
2188><P
2189>Allocate an element content structure.</P
2190><P
2191></P
2192><DIV
2193CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002194><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002195NAME="AEN9094"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002196></P
2197><TABLE
2198BORDER="0"
2199WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002200BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002201CELLSPACING="0"
2202CELLPADDING="4"
2203CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002204><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002205><TR
2206><TD
2207WIDTH="20%"
2208ALIGN="RIGHT"
2209VALIGN="TOP"
2210><TT
2211CLASS="PARAMETER"
2212><I
2213>name</I
2214></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002215>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002216><TD
2217WIDTH="80%"
2218ALIGN="LEFT"
2219VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002220> the subelement name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002221></TR
2222><TR
2223><TD
2224WIDTH="20%"
2225ALIGN="RIGHT"
2226VALIGN="TOP"
2227><TT
2228CLASS="PARAMETER"
2229><I
2230>type</I
2231></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002232>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002233><TD
2234WIDTH="80%"
2235ALIGN="LEFT"
2236VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002237> the type of element content decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002238></TR
2239><TR
2240><TD
2241WIDTH="20%"
2242ALIGN="RIGHT"
2243VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002244><SPAN
2245CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002246><I
2247CLASS="EMPHASIS"
2248>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002249></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002250> :</TD
2251><TD
2252WIDTH="80%"
2253ALIGN="LEFT"
2254VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002255>NULL if not, otherwise the new element content structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002256></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002257></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002258></TABLE
2259><P
2260></P
2261></DIV
2262></DIV
2263><HR><DIV
2264CLASS="REFSECT2"
2265><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002266NAME="AEN9111"
Daniel Veillard35925471999-02-25 08:46:07 +00002267></A
2268><H3
2269><A
2270NAME="XMLCOPYELEMENTCONTENT"
2271></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002272>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002273><TABLE
2274BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002275BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002276WIDTH="100%"
2277CELLPADDING="6"
2278><TR
2279><TD
2280><PRE
2281CLASS="PROGRAMLISTING"
2282><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002283HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002284>xmlElementContentPtr</A
2285> xmlCopyElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002286HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002287>xmlElementContentPtr</A
2288> content);</PRE
2289></TD
2290></TR
2291></TABLE
2292><P
2293>Build a copy of an element content description.</P
2294><P
2295></P
2296><DIV
2297CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002298><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002299NAME="AEN9119"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002300></P
2301><TABLE
2302BORDER="0"
2303WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002304BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002305CELLSPACING="0"
2306CELLPADDING="4"
2307CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002308><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002309><TR
2310><TD
2311WIDTH="20%"
2312ALIGN="RIGHT"
2313VALIGN="TOP"
2314><TT
2315CLASS="PARAMETER"
2316><I
2317>content</I
2318></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002319>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002320><TD
2321WIDTH="80%"
2322ALIGN="LEFT"
2323VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002324> An element content pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002325></TR
2326><TR
2327><TD
2328WIDTH="20%"
2329ALIGN="RIGHT"
2330VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002331><SPAN
2332CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002333><I
2334CLASS="EMPHASIS"
2335>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002336></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002337> :</TD
2338><TD
2339WIDTH="80%"
2340ALIGN="LEFT"
2341VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002342>the new xmlElementContentPtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002343></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002344></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002345></TABLE
2346><P
2347></P
2348></DIV
2349></DIV
2350><HR><DIV
2351CLASS="REFSECT2"
2352><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002353NAME="AEN9132"
Daniel Veillard35925471999-02-25 08:46:07 +00002354></A
2355><H3
2356><A
2357NAME="XMLFREEELEMENTCONTENT"
2358></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002359>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002360><TABLE
2361BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002362BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002363WIDTH="100%"
2364CELLPADDING="6"
2365><TR
2366><TD
2367><PRE
2368CLASS="PROGRAMLISTING"
2369>void xmlFreeElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002370HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002371>xmlElementContentPtr</A
2372> cur);</PRE
2373></TD
2374></TR
2375></TABLE
2376><P
2377>Free an element content structure. This is a recursive call !</P
2378><P
2379></P
2380><DIV
2381CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002382><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002383NAME="AEN9139"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002384></P
2385><TABLE
2386BORDER="0"
2387WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002388BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002389CELLSPACING="0"
2390CELLPADDING="4"
2391CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002392><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002393><TR
2394><TD
2395WIDTH="20%"
2396ALIGN="RIGHT"
2397VALIGN="TOP"
2398><TT
2399CLASS="PARAMETER"
2400><I
2401>cur</I
2402></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002403>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002404><TD
2405WIDTH="80%"
2406ALIGN="LEFT"
2407VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002408> the element content tree to free</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002409></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002410></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002411></TABLE
2412><P
2413></P
2414></DIV
2415></DIV
2416><HR><DIV
2417CLASS="REFSECT2"
2418><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002419NAME="AEN9148"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002420></A
2421><H3
2422><A
2423NAME="XMLSNPRINTFELEMENTCONTENT"
2424></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002425>xmlSnprintfElementContent ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002426><TABLE
2427BORDER="0"
2428BGCOLOR="#D6E8FF"
2429WIDTH="100%"
2430CELLPADDING="6"
2431><TR
2432><TD
2433><PRE
2434CLASS="PROGRAMLISTING"
2435>void xmlSnprintfElementContent (char *buf,
2436 int size,
2437 <A
2438HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
2439>xmlElementContentPtr</A
2440> content,
2441 int glob);</PRE
2442></TD
2443></TR
2444></TABLE
2445><P
2446>This will dump the content of the element content definition
2447Intended just for the debug routine</P
2448><P
2449></P
2450><DIV
2451CLASS="INFORMALTABLE"
2452><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002453NAME="AEN9155"><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002454></P
2455><TABLE
2456BORDER="0"
2457WIDTH="100%"
2458BGCOLOR="#FFD0D0"
2459CELLSPACING="0"
2460CELLPADDING="4"
2461CLASS="CALSTABLE"
2462><TBODY
2463><TR
2464><TD
2465WIDTH="20%"
2466ALIGN="RIGHT"
2467VALIGN="TOP"
2468><TT
2469CLASS="PARAMETER"
2470><I
2471>buf</I
2472></TT
2473>&nbsp;:</TD
2474><TD
2475WIDTH="80%"
2476ALIGN="LEFT"
2477VALIGN="TOP"
2478> an output buffer</TD
2479></TR
2480><TR
2481><TD
2482WIDTH="20%"
2483ALIGN="RIGHT"
2484VALIGN="TOP"
2485><TT
2486CLASS="PARAMETER"
2487><I
2488>size</I
2489></TT
2490>&nbsp;:</TD
2491><TD
2492WIDTH="80%"
2493ALIGN="LEFT"
2494VALIGN="TOP"
2495> the buffer size</TD
2496></TR
2497><TR
2498><TD
2499WIDTH="20%"
2500ALIGN="RIGHT"
2501VALIGN="TOP"
2502><TT
2503CLASS="PARAMETER"
2504><I
2505>content</I
2506></TT
2507>&nbsp;:</TD
2508><TD
2509WIDTH="80%"
2510ALIGN="LEFT"
2511VALIGN="TOP"
2512> An element table</TD
2513></TR
2514><TR
2515><TD
2516WIDTH="20%"
2517ALIGN="RIGHT"
2518VALIGN="TOP"
2519><TT
2520CLASS="PARAMETER"
2521><I
2522>glob</I
2523></TT
2524>&nbsp;:</TD
2525><TD
2526WIDTH="80%"
2527ALIGN="LEFT"
2528VALIGN="TOP"
2529> 1 if one must print the englobing parenthesis, 0 otherwise</TD
2530></TR
2531></TBODY
2532></TABLE
2533><P
2534></P
2535></DIV
2536></DIV
2537><HR><DIV
2538CLASS="REFSECT2"
2539><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002540NAME="AEN9176"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002541></A
2542><H3
2543><A
2544NAME="XMLSPRINTFELEMENTCONTENT"
2545></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002546>xmlSprintfElementContent ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002547><TABLE
2548BORDER="0"
2549BGCOLOR="#D6E8FF"
2550WIDTH="100%"
2551CELLPADDING="6"
2552><TR
2553><TD
2554><PRE
2555CLASS="PROGRAMLISTING"
2556>void xmlSprintfElementContent (char *buf,
2557 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002558HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002559>xmlElementContentPtr</A
2560> content,
2561 int glob);</PRE
2562></TD
2563></TR
2564></TABLE
2565><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002566>Deprecated, unsafe, use xmlSnprintfElementContent</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002567><P
2568></P
2569><DIV
2570CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002571><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002572NAME="AEN9183"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002573></P
2574><TABLE
2575BORDER="0"
2576WIDTH="100%"
2577BGCOLOR="#FFD0D0"
2578CELLSPACING="0"
2579CELLPADDING="4"
2580CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002581><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002582><TR
2583><TD
2584WIDTH="20%"
2585ALIGN="RIGHT"
2586VALIGN="TOP"
2587><TT
2588CLASS="PARAMETER"
2589><I
2590>buf</I
2591></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002592>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002593><TD
2594WIDTH="80%"
2595ALIGN="LEFT"
2596VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002597> an output buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002598></TR
2599><TR
2600><TD
2601WIDTH="20%"
2602ALIGN="RIGHT"
2603VALIGN="TOP"
2604><TT
2605CLASS="PARAMETER"
2606><I
2607>content</I
2608></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002609>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002610><TD
2611WIDTH="80%"
2612ALIGN="LEFT"
2613VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002614> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002615></TR
2616><TR
2617><TD
2618WIDTH="20%"
2619ALIGN="RIGHT"
2620VALIGN="TOP"
2621><TT
2622CLASS="PARAMETER"
2623><I
2624>glob</I
2625></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002626>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002627><TD
2628WIDTH="80%"
2629ALIGN="LEFT"
2630VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002631> 1 if one must print the englobing parenthesis, 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002632></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002633></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002634></TABLE
2635><P
2636></P
2637></DIV
2638></DIV
2639><HR><DIV
2640CLASS="REFSECT2"
2641><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002642NAME="AEN9200"
Daniel Veillard35925471999-02-25 08:46:07 +00002643></A
2644><H3
2645><A
2646NAME="XMLADDELEMENTDECL"
2647></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002648>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002649><TABLE
2650BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002651BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002652WIDTH="100%"
2653CELLPADDING="6"
2654><TR
2655><TD
2656><PRE
2657CLASS="PROGRAMLISTING"
2658><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002659HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002660>xmlElementPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002661> xmlAddElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002662HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002663>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002664> ctxt,
2665 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002666HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002667>xmlDtdPtr</A
2668> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002669 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002670HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002671>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002672> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002673 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002674HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard4c3a2031999-11-19 17:46:26 +00002675>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002676> type,
Daniel Veillard35925471999-02-25 08:46:07 +00002677 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002678HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002679>xmlElementContentPtr</A
2680> content);</PRE
2681></TD
2682></TR
2683></TABLE
2684><P
2685>Register a new element declaration</P
2686><P
2687></P
2688><DIV
2689CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002690><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002691NAME="AEN9212"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002692></P
2693><TABLE
2694BORDER="0"
2695WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002696BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002697CELLSPACING="0"
2698CELLPADDING="4"
2699CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002700><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002701><TR
2702><TD
2703WIDTH="20%"
2704ALIGN="RIGHT"
2705VALIGN="TOP"
2706><TT
2707CLASS="PARAMETER"
2708><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002709>ctxt</I
2710></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002711>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002712><TD
2713WIDTH="80%"
2714ALIGN="LEFT"
2715VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002716> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002717></TR
2718><TR
2719><TD
2720WIDTH="20%"
2721ALIGN="RIGHT"
2722VALIGN="TOP"
2723><TT
2724CLASS="PARAMETER"
2725><I
Daniel Veillard35925471999-02-25 08:46:07 +00002726>dtd</I
2727></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002728>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002729><TD
2730WIDTH="80%"
2731ALIGN="LEFT"
2732VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002733> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002734></TR
2735><TR
2736><TD
2737WIDTH="20%"
2738ALIGN="RIGHT"
2739VALIGN="TOP"
2740><TT
2741CLASS="PARAMETER"
2742><I
2743>name</I
2744></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002745>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002746><TD
2747WIDTH="80%"
2748ALIGN="LEFT"
2749VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002750> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002751></TR
2752><TR
2753><TD
2754WIDTH="20%"
2755ALIGN="RIGHT"
2756VALIGN="TOP"
2757><TT
2758CLASS="PARAMETER"
2759><I
2760>type</I
2761></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002762>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002763><TD
2764WIDTH="80%"
2765ALIGN="LEFT"
2766VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002767> the element type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002768></TR
2769><TR
2770><TD
2771WIDTH="20%"
2772ALIGN="RIGHT"
2773VALIGN="TOP"
2774><TT
2775CLASS="PARAMETER"
2776><I
2777>content</I
2778></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002779>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002780><TD
2781WIDTH="80%"
2782ALIGN="LEFT"
2783VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002784> the element content tree or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002785></TR
2786><TR
2787><TD
2788WIDTH="20%"
2789ALIGN="RIGHT"
2790VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002791><SPAN
2792CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002793><I
2794CLASS="EMPHASIS"
2795>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002796></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002797> :</TD
2798><TD
2799WIDTH="80%"
2800ALIGN="LEFT"
2801VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002802>NULL if not, otherwise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002803></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002804></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002805></TABLE
2806><P
2807></P
2808></DIV
2809></DIV
2810><HR><DIV
2811CLASS="REFSECT2"
2812><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002813NAME="AEN9241"
Daniel Veillard35925471999-02-25 08:46:07 +00002814></A
2815><H3
2816><A
2817NAME="XMLCOPYELEMENTTABLE"
2818></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002819>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002820><TABLE
2821BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002822BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002823WIDTH="100%"
2824CELLPADDING="6"
2825><TR
2826><TD
2827><PRE
2828CLASS="PROGRAMLISTING"
2829><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002830HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002831>xmlElementTablePtr</A
2832> xmlCopyElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002833HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002834>xmlElementTablePtr</A
2835> table);</PRE
2836></TD
2837></TR
2838></TABLE
2839><P
2840>Build a copy of an element table.</P
2841><P
2842></P
2843><DIV
2844CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002845><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002846NAME="AEN9249"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002847></P
2848><TABLE
2849BORDER="0"
2850WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002851BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002852CELLSPACING="0"
2853CELLPADDING="4"
2854CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002855><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002856><TR
2857><TD
2858WIDTH="20%"
2859ALIGN="RIGHT"
2860VALIGN="TOP"
2861><TT
2862CLASS="PARAMETER"
2863><I
2864>table</I
2865></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002866>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002867><TD
2868WIDTH="80%"
2869ALIGN="LEFT"
2870VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002871> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002872></TR
2873><TR
2874><TD
2875WIDTH="20%"
2876ALIGN="RIGHT"
2877VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002878><SPAN
2879CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002880><I
2881CLASS="EMPHASIS"
2882>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002883></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002884> :</TD
2885><TD
2886WIDTH="80%"
2887ALIGN="LEFT"
2888VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002889>the new xmlElementTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002890></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002891></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002892></TABLE
2893><P
2894></P
2895></DIV
2896></DIV
2897><HR><DIV
2898CLASS="REFSECT2"
2899><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002900NAME="AEN9262"
Daniel Veillard35925471999-02-25 08:46:07 +00002901></A
2902><H3
2903><A
2904NAME="XMLFREEELEMENTTABLE"
2905></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002906>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002907><TABLE
2908BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002909BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002910WIDTH="100%"
2911CELLPADDING="6"
2912><TR
2913><TD
2914><PRE
2915CLASS="PROGRAMLISTING"
2916>void xmlFreeElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002917HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002918>xmlElementTablePtr</A
2919> table);</PRE
2920></TD
2921></TR
2922></TABLE
2923><P
2924>Deallocate the memory used by an element hash table.</P
2925><P
2926></P
2927><DIV
2928CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002929><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002930NAME="AEN9269"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002931></P
2932><TABLE
2933BORDER="0"
2934WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002935BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002936CELLSPACING="0"
2937CELLPADDING="4"
2938CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002939><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002940><TR
2941><TD
2942WIDTH="20%"
2943ALIGN="RIGHT"
2944VALIGN="TOP"
2945><TT
2946CLASS="PARAMETER"
2947><I
2948>table</I
2949></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002950>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002951><TD
2952WIDTH="80%"
2953ALIGN="LEFT"
2954VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002955> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002956></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002957></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002958></TABLE
2959><P
2960></P
2961></DIV
2962></DIV
2963><HR><DIV
2964CLASS="REFSECT2"
2965><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00002966NAME="AEN9278"
Daniel Veillard35925471999-02-25 08:46:07 +00002967></A
2968><H3
2969><A
2970NAME="XMLDUMPELEMENTTABLE"
2971></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002972>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002973><TABLE
2974BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002975BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002976WIDTH="100%"
2977CELLPADDING="6"
2978><TR
2979><TD
2980><PRE
2981CLASS="PROGRAMLISTING"
2982>void xmlDumpElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002983HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002984>xmlBufferPtr</A
2985> buf,
2986 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002987HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002988>xmlElementTablePtr</A
2989> table);</PRE
2990></TD
2991></TR
2992></TABLE
2993><P
2994>This will dump the content of the element table as an XML DTD definition</P
2995><P
Daniel Veillard35925471999-02-25 08:46:07 +00002996></P
2997><DIV
2998CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002999><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003000NAME="AEN9286"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003001></P
3002><TABLE
3003BORDER="0"
3004WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003005BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003006CELLSPACING="0"
3007CELLPADDING="4"
3008CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003009><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003010><TR
3011><TD
3012WIDTH="20%"
3013ALIGN="RIGHT"
3014VALIGN="TOP"
3015><TT
3016CLASS="PARAMETER"
3017><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003018>buf</I
3019></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003020>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003021><TD
3022WIDTH="80%"
3023ALIGN="LEFT"
3024VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003025> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003026></TR
3027><TR
3028><TD
3029WIDTH="20%"
3030ALIGN="RIGHT"
3031VALIGN="TOP"
3032><TT
3033CLASS="PARAMETER"
3034><I
Daniel Veillard35925471999-02-25 08:46:07 +00003035>table</I
3036></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003037>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003038><TD
3039WIDTH="80%"
3040ALIGN="LEFT"
3041VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003042> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003043></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003044></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003045></TABLE
3046><P
3047></P
3048></DIV
3049></DIV
3050><HR><DIV
3051CLASS="REFSECT2"
3052><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003053NAME="AEN9299"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003054></A
3055><H3
3056><A
3057NAME="XMLDUMPELEMENTDECL"
3058></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003059>xmlDumpElementDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003060><TABLE
3061BORDER="0"
3062BGCOLOR="#D6E8FF"
3063WIDTH="100%"
3064CELLPADDING="6"
3065><TR
3066><TD
3067><PRE
3068CLASS="PROGRAMLISTING"
3069>void xmlDumpElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003070HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003071>xmlBufferPtr</A
3072> buf,
3073 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003074HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003075>xmlElementPtr</A
3076> elem);</PRE
3077></TD
3078></TR
3079></TABLE
3080><P
3081>This will dump the content of the element declaration as an XML
3082DTD definition</P
3083><P
3084></P
3085><DIV
3086CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003087><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003088NAME="AEN9307"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003089></P
3090><TABLE
3091BORDER="0"
3092WIDTH="100%"
3093BGCOLOR="#FFD0D0"
3094CELLSPACING="0"
3095CELLPADDING="4"
3096CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003097><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003098><TR
3099><TD
3100WIDTH="20%"
3101ALIGN="RIGHT"
3102VALIGN="TOP"
3103><TT
3104CLASS="PARAMETER"
3105><I
3106>buf</I
3107></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003108>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003109><TD
3110WIDTH="80%"
3111ALIGN="LEFT"
3112VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003113> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003114></TR
3115><TR
3116><TD
3117WIDTH="20%"
3118ALIGN="RIGHT"
3119VALIGN="TOP"
3120><TT
3121CLASS="PARAMETER"
3122><I
3123>elem</I
3124></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003125>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003126><TD
3127WIDTH="80%"
3128ALIGN="LEFT"
3129VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003130> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003131></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003132></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003133></TABLE
3134><P
3135></P
3136></DIV
3137></DIV
3138><HR><DIV
3139CLASS="REFSECT2"
3140><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003141NAME="AEN9320"
Daniel Veillard35925471999-02-25 08:46:07 +00003142></A
3143><H3
3144><A
3145NAME="XMLCREATEENUMERATION"
3146></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003147>xmlCreateEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003148><TABLE
3149BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003150BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003151WIDTH="100%"
3152CELLPADDING="6"
3153><TR
3154><TD
3155><PRE
3156CLASS="PROGRAMLISTING"
3157><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003158HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003159>xmlEnumerationPtr</A
3160> xmlCreateEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003161HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003162>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003163> *name);</PRE
3164></TD
3165></TR
3166></TABLE
3167><P
3168>create and initialize an enumeration attribute node.</P
3169><P
3170></P
3171><DIV
3172CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003173><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003174NAME="AEN9328"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003175></P
3176><TABLE
3177BORDER="0"
3178WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003179BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003180CELLSPACING="0"
3181CELLPADDING="4"
3182CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003183><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003184><TR
3185><TD
3186WIDTH="20%"
3187ALIGN="RIGHT"
3188VALIGN="TOP"
3189><TT
3190CLASS="PARAMETER"
3191><I
3192>name</I
3193></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003194>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003195><TD
3196WIDTH="80%"
3197ALIGN="LEFT"
3198VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003199> the enumeration name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003200></TR
3201><TR
3202><TD
3203WIDTH="20%"
3204ALIGN="RIGHT"
3205VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003206><SPAN
3207CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003208><I
3209CLASS="EMPHASIS"
3210>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003211></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003212> :</TD
3213><TD
3214WIDTH="80%"
3215ALIGN="LEFT"
3216VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003217>the xmlEnumerationPtr just created or NULL in case
Daniel Veillardaf43f632002-03-08 15:05:20 +00003218of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003219></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003220></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003221></TABLE
3222><P
3223></P
3224></DIV
3225></DIV
3226><HR><DIV
3227CLASS="REFSECT2"
3228><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003229NAME="AEN9341"
Daniel Veillard35925471999-02-25 08:46:07 +00003230></A
3231><H3
3232><A
3233NAME="XMLFREEENUMERATION"
3234></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003235>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003236><TABLE
3237BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003238BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003239WIDTH="100%"
3240CELLPADDING="6"
3241><TR
3242><TD
3243><PRE
3244CLASS="PROGRAMLISTING"
3245>void xmlFreeEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003246HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003247>xmlEnumerationPtr</A
3248> cur);</PRE
3249></TD
3250></TR
3251></TABLE
3252><P
3253>free an enumeration attribute node (recursive).</P
3254><P
3255></P
3256><DIV
3257CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003258><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003259NAME="AEN9348"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003260></P
3261><TABLE
3262BORDER="0"
3263WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003264BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003265CELLSPACING="0"
3266CELLPADDING="4"
3267CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003268><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003269><TR
3270><TD
3271WIDTH="20%"
3272ALIGN="RIGHT"
3273VALIGN="TOP"
3274><TT
3275CLASS="PARAMETER"
3276><I
3277>cur</I
3278></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003279>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003280><TD
3281WIDTH="80%"
3282ALIGN="LEFT"
3283VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003284> the tree to free.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003285></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003286></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003287></TABLE
3288><P
3289></P
3290></DIV
3291></DIV
3292><HR><DIV
3293CLASS="REFSECT2"
3294><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003295NAME="AEN9357"
Daniel Veillard35925471999-02-25 08:46:07 +00003296></A
3297><H3
3298><A
3299NAME="XMLCOPYENUMERATION"
3300></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003301>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003302><TABLE
3303BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003304BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003305WIDTH="100%"
3306CELLPADDING="6"
3307><TR
3308><TD
3309><PRE
3310CLASS="PROGRAMLISTING"
3311><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003312HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003313>xmlEnumerationPtr</A
3314> xmlCopyEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003315HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003316>xmlEnumerationPtr</A
3317> cur);</PRE
3318></TD
3319></TR
3320></TABLE
3321><P
3322>Copy an enumeration attribute node (recursive).</P
3323><P
3324></P
3325><DIV
3326CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003327><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003328NAME="AEN9365"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003329></P
3330><TABLE
3331BORDER="0"
3332WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003333BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003334CELLSPACING="0"
3335CELLPADDING="4"
3336CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003337><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003338><TR
3339><TD
3340WIDTH="20%"
3341ALIGN="RIGHT"
3342VALIGN="TOP"
3343><TT
3344CLASS="PARAMETER"
3345><I
3346>cur</I
3347></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003348>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003349><TD
3350WIDTH="80%"
3351ALIGN="LEFT"
3352VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003353> the tree to copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003354></TR
3355><TR
3356><TD
3357WIDTH="20%"
3358ALIGN="RIGHT"
3359VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003360><SPAN
3361CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003362><I
3363CLASS="EMPHASIS"
3364>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003365></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003366> :</TD
3367><TD
3368WIDTH="80%"
3369ALIGN="LEFT"
3370VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003371>the xmlEnumerationPtr just created or NULL in case
Daniel Veillardaf43f632002-03-08 15:05:20 +00003372of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003373></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003374></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003375></TABLE
3376><P
3377></P
3378></DIV
3379></DIV
3380><HR><DIV
3381CLASS="REFSECT2"
3382><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003383NAME="AEN9378"
Daniel Veillard35925471999-02-25 08:46:07 +00003384></A
3385><H3
3386><A
3387NAME="XMLADDATTRIBUTEDECL"
3388></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003389>xmlAddAttributeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003390><TABLE
3391BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003392BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003393WIDTH="100%"
3394CELLPADDING="6"
3395><TR
3396><TD
3397><PRE
3398CLASS="PROGRAMLISTING"
3399><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003400HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003401>xmlAttributePtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003402> xmlAddAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003403HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003404>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00003405> ctxt,
3406 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003407HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003408>xmlDtdPtr</A
3409> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003410 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003411HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003412>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003413> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003414 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003415HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003416>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003417> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003418 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003419HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003420>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +00003421> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003422 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003423HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003424>xmlAttributeType</A
3425> type,
3426 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003427HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003428>xmlAttributeDefault</A
3429> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003430 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003431HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003432>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003433> *defaultValue,
3434 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003435HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003436>xmlEnumerationPtr</A
3437> tree);</PRE
3438></TD
3439></TR
3440></TABLE
3441><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003442>Register a new attribute declaration
3443Note that <TT
3444CLASS="PARAMETER"
3445><I
3446>tree</I
3447></TT
3448> becomes the ownership of the DTD</P
Daniel Veillard35925471999-02-25 08:46:07 +00003449><P
3450></P
3451><DIV
3452CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003453><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003454NAME="AEN9395"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003455></P
3456><TABLE
3457BORDER="0"
3458WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003459BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003460CELLSPACING="0"
3461CELLPADDING="4"
3462CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003463><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003464><TR
3465><TD
3466WIDTH="20%"
3467ALIGN="RIGHT"
3468VALIGN="TOP"
3469><TT
3470CLASS="PARAMETER"
3471><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00003472>ctxt</I
3473></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003474>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003475><TD
3476WIDTH="80%"
3477ALIGN="LEFT"
3478VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003479> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003480></TR
3481><TR
3482><TD
3483WIDTH="20%"
3484ALIGN="RIGHT"
3485VALIGN="TOP"
3486><TT
3487CLASS="PARAMETER"
3488><I
Daniel Veillard35925471999-02-25 08:46:07 +00003489>dtd</I
3490></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003491>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003492><TD
3493WIDTH="80%"
3494ALIGN="LEFT"
3495VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003496> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003497></TR
3498><TR
3499><TD
3500WIDTH="20%"
3501ALIGN="RIGHT"
3502VALIGN="TOP"
3503><TT
3504CLASS="PARAMETER"
3505><I
3506>elem</I
3507></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003508>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003509><TD
3510WIDTH="80%"
3511ALIGN="LEFT"
3512VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003513> the element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003514></TR
3515><TR
3516><TD
3517WIDTH="20%"
3518ALIGN="RIGHT"
3519VALIGN="TOP"
3520><TT
3521CLASS="PARAMETER"
3522><I
3523>name</I
3524></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003525>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003526><TD
3527WIDTH="80%"
3528ALIGN="LEFT"
3529VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003530> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003531></TR
3532><TR
3533><TD
3534WIDTH="20%"
3535ALIGN="RIGHT"
3536VALIGN="TOP"
3537><TT
3538CLASS="PARAMETER"
3539><I
Daniel Veillard06047432000-04-24 11:33:38 +00003540>ns</I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003541></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003542>&nbsp;:</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003543><TD
3544WIDTH="80%"
3545ALIGN="LEFT"
3546VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003547> the attribute namespace prefix</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003548></TR
3549><TR
3550><TD
3551WIDTH="20%"
3552ALIGN="RIGHT"
3553VALIGN="TOP"
3554><TT
3555CLASS="PARAMETER"
3556><I
Daniel Veillard35925471999-02-25 08:46:07 +00003557>type</I
3558></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003559>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003560><TD
3561WIDTH="80%"
3562ALIGN="LEFT"
3563VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003564> the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003565></TR
3566><TR
3567><TD
3568WIDTH="20%"
3569ALIGN="RIGHT"
3570VALIGN="TOP"
3571><TT
3572CLASS="PARAMETER"
3573><I
3574>def</I
3575></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003576>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003577><TD
3578WIDTH="80%"
3579ALIGN="LEFT"
3580VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003581> the attribute default type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003582></TR
3583><TR
3584><TD
3585WIDTH="20%"
3586ALIGN="RIGHT"
3587VALIGN="TOP"
3588><TT
3589CLASS="PARAMETER"
3590><I
3591>defaultValue</I
3592></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003593>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003594><TD
3595WIDTH="80%"
3596ALIGN="LEFT"
3597VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003598> the attribute default value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003599></TR
3600><TR
3601><TD
3602WIDTH="20%"
3603ALIGN="RIGHT"
3604VALIGN="TOP"
3605><TT
3606CLASS="PARAMETER"
3607><I
3608>tree</I
3609></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003610>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003611><TD
3612WIDTH="80%"
3613ALIGN="LEFT"
3614VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003615> if it's an enumeration, the associated list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003616></TR
3617><TR
3618><TD
3619WIDTH="20%"
3620ALIGN="RIGHT"
3621VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003622><SPAN
3623CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003624><I
3625CLASS="EMPHASIS"
3626>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003627></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003628> :</TD
3629><TD
3630WIDTH="80%"
3631ALIGN="LEFT"
3632VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00003633>NULL if not new, otherwise the attribute decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003634></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003635></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003636></TABLE
3637><P
3638></P
3639></DIV
3640></DIV
3641><HR><DIV
3642CLASS="REFSECT2"
3643><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003644NAME="AEN9440"
Daniel Veillard35925471999-02-25 08:46:07 +00003645></A
3646><H3
3647><A
3648NAME="XMLCOPYATTRIBUTETABLE"
3649></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003650>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003651><TABLE
3652BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003653BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003654WIDTH="100%"
3655CELLPADDING="6"
3656><TR
3657><TD
3658><PRE
3659CLASS="PROGRAMLISTING"
3660><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003661HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003662>xmlAttributeTablePtr</A
3663> xmlCopyAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003664HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003665>xmlAttributeTablePtr</A
3666> table);</PRE
3667></TD
3668></TR
3669></TABLE
3670><P
3671>Build a copy of an attribute table.</P
3672><P
3673></P
3674><DIV
3675CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003676><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003677NAME="AEN9448"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003678></P
3679><TABLE
3680BORDER="0"
3681WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003682BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003683CELLSPACING="0"
3684CELLPADDING="4"
3685CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003686><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003687><TR
3688><TD
3689WIDTH="20%"
3690ALIGN="RIGHT"
3691VALIGN="TOP"
3692><TT
3693CLASS="PARAMETER"
3694><I
3695>table</I
3696></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003697>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003698><TD
3699WIDTH="80%"
3700ALIGN="LEFT"
3701VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003702> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003703></TR
3704><TR
3705><TD
3706WIDTH="20%"
3707ALIGN="RIGHT"
3708VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003709><SPAN
3710CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003711><I
3712CLASS="EMPHASIS"
3713>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003714></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003715> :</TD
3716><TD
3717WIDTH="80%"
3718ALIGN="LEFT"
3719VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003720>the new xmlAttributeTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003721></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003722></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003723></TABLE
3724><P
3725></P
3726></DIV
3727></DIV
3728><HR><DIV
3729CLASS="REFSECT2"
3730><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003731NAME="AEN9461"
Daniel Veillard35925471999-02-25 08:46:07 +00003732></A
3733><H3
3734><A
3735NAME="XMLFREEATTRIBUTETABLE"
3736></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003737>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003738><TABLE
3739BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003740BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003741WIDTH="100%"
3742CELLPADDING="6"
3743><TR
3744><TD
3745><PRE
3746CLASS="PROGRAMLISTING"
3747>void xmlFreeAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003748HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003749>xmlAttributeTablePtr</A
3750> table);</PRE
3751></TD
3752></TR
3753></TABLE
3754><P
3755>Deallocate the memory used by an entities hash table.</P
3756><P
3757></P
3758><DIV
3759CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003760><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003761NAME="AEN9468"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003762></P
3763><TABLE
3764BORDER="0"
3765WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003766BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003767CELLSPACING="0"
3768CELLPADDING="4"
3769CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003770><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003771><TR
3772><TD
3773WIDTH="20%"
3774ALIGN="RIGHT"
3775VALIGN="TOP"
3776><TT
3777CLASS="PARAMETER"
3778><I
3779>table</I
3780></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003781>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003782><TD
3783WIDTH="80%"
3784ALIGN="LEFT"
3785VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003786> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003787></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003788></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003789></TABLE
3790><P
3791></P
3792></DIV
3793></DIV
3794><HR><DIV
3795CLASS="REFSECT2"
3796><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003797NAME="AEN9477"
Daniel Veillard35925471999-02-25 08:46:07 +00003798></A
3799><H3
3800><A
3801NAME="XMLDUMPATTRIBUTETABLE"
3802></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003803>xmlDumpAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003804><TABLE
3805BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003806BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003807WIDTH="100%"
3808CELLPADDING="6"
3809><TR
3810><TD
3811><PRE
3812CLASS="PROGRAMLISTING"
3813>void xmlDumpAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003814HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003815>xmlBufferPtr</A
3816> buf,
3817 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003818HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003819>xmlAttributeTablePtr</A
3820> table);</PRE
3821></TD
3822></TR
3823></TABLE
3824><P
3825>This will dump the content of the attribute table as an XML DTD definition</P
3826><P
Daniel Veillard35925471999-02-25 08:46:07 +00003827></P
3828><DIV
3829CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003830><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003831NAME="AEN9485"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003832></P
3833><TABLE
3834BORDER="0"
3835WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003836BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003837CELLSPACING="0"
3838CELLPADDING="4"
3839CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003840><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003841><TR
3842><TD
3843WIDTH="20%"
3844ALIGN="RIGHT"
3845VALIGN="TOP"
3846><TT
3847CLASS="PARAMETER"
3848><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003849>buf</I
3850></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003851>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003852><TD
3853WIDTH="80%"
3854ALIGN="LEFT"
3855VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003856> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003857></TR
3858><TR
3859><TD
3860WIDTH="20%"
3861ALIGN="RIGHT"
3862VALIGN="TOP"
3863><TT
3864CLASS="PARAMETER"
3865><I
Daniel Veillard35925471999-02-25 08:46:07 +00003866>table</I
3867></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003868>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003869><TD
3870WIDTH="80%"
3871ALIGN="LEFT"
3872VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003873> An attribute table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003874></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003875></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003876></TABLE
3877><P
3878></P
3879></DIV
3880></DIV
3881><HR><DIV
3882CLASS="REFSECT2"
3883><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003884NAME="AEN9498"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003885></A
3886><H3
3887><A
3888NAME="XMLDUMPATTRIBUTEDECL"
3889></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003890>xmlDumpAttributeDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003891><TABLE
3892BORDER="0"
3893BGCOLOR="#D6E8FF"
3894WIDTH="100%"
3895CELLPADDING="6"
3896><TR
3897><TD
3898><PRE
3899CLASS="PROGRAMLISTING"
3900>void xmlDumpAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003901HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003902>xmlBufferPtr</A
3903> buf,
3904 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003905HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003906>xmlAttributePtr</A
3907> attr);</PRE
3908></TD
3909></TR
3910></TABLE
3911><P
3912>This will dump the content of the attribute declaration as an XML
3913DTD definition</P
3914><P
3915></P
3916><DIV
3917CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003918><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003919NAME="AEN9506"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003920></P
3921><TABLE
3922BORDER="0"
3923WIDTH="100%"
3924BGCOLOR="#FFD0D0"
3925CELLSPACING="0"
3926CELLPADDING="4"
3927CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003928><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003929><TR
3930><TD
3931WIDTH="20%"
3932ALIGN="RIGHT"
3933VALIGN="TOP"
3934><TT
3935CLASS="PARAMETER"
3936><I
3937>buf</I
3938></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003939>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003940><TD
3941WIDTH="80%"
3942ALIGN="LEFT"
3943VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003944> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003945></TR
3946><TR
3947><TD
3948WIDTH="20%"
3949ALIGN="RIGHT"
3950VALIGN="TOP"
3951><TT
3952CLASS="PARAMETER"
3953><I
3954>attr</I
3955></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003956>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003957><TD
3958WIDTH="80%"
3959ALIGN="LEFT"
3960VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003961> An attribute declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003962></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003963></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003964></TABLE
3965><P
3966></P
3967></DIV
3968></DIV
3969><HR><DIV
3970CLASS="REFSECT2"
3971><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00003972NAME="AEN9519"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003973></A
3974><H3
3975><A
3976NAME="XMLADDID"
3977></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003978>xmlAddID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003979><TABLE
3980BORDER="0"
3981BGCOLOR="#D6E8FF"
3982WIDTH="100%"
3983CELLPADDING="6"
3984><TR
3985><TD
3986><PRE
3987CLASS="PROGRAMLISTING"
3988><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003989HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003990>xmlIDPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003991> xmlAddID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003992HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003993>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003994> ctxt,
3995 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003996HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003997>xmlDocPtr</A
3998> doc,
3999 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004000HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004001>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004002> *value,
4003 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004004HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004005>xmlAttrPtr</A
4006> attr);</PRE
4007></TD
4008></TR
4009></TABLE
4010><P
4011>Register a new id declaration</P
4012><P
4013></P
4014><DIV
4015CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004016><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004017NAME="AEN9530"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004018></P
4019><TABLE
4020BORDER="0"
4021WIDTH="100%"
4022BGCOLOR="#FFD0D0"
4023CELLSPACING="0"
4024CELLPADDING="4"
4025CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004026><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004027><TR
4028><TD
4029WIDTH="20%"
4030ALIGN="RIGHT"
4031VALIGN="TOP"
4032><TT
4033CLASS="PARAMETER"
4034><I
4035>ctxt</I
4036></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004037>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004038><TD
4039WIDTH="80%"
4040ALIGN="LEFT"
4041VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004042> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004043></TR
4044><TR
4045><TD
4046WIDTH="20%"
4047ALIGN="RIGHT"
4048VALIGN="TOP"
4049><TT
4050CLASS="PARAMETER"
4051><I
4052>doc</I
4053></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004054>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004055><TD
4056WIDTH="80%"
4057ALIGN="LEFT"
4058VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004059> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004060></TR
4061><TR
4062><TD
4063WIDTH="20%"
4064ALIGN="RIGHT"
4065VALIGN="TOP"
4066><TT
4067CLASS="PARAMETER"
4068><I
4069>value</I
4070></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004071>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004072><TD
4073WIDTH="80%"
4074ALIGN="LEFT"
4075VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004076> the value name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004077></TR
4078><TR
4079><TD
4080WIDTH="20%"
4081ALIGN="RIGHT"
4082VALIGN="TOP"
4083><TT
4084CLASS="PARAMETER"
4085><I
4086>attr</I
4087></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004088>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004089><TD
4090WIDTH="80%"
4091ALIGN="LEFT"
4092VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004093> the attribute holding the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004094></TR
4095><TR
4096><TD
4097WIDTH="20%"
4098ALIGN="RIGHT"
4099VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004100><SPAN
4101CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004102><I
4103CLASS="EMPHASIS"
4104>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004105></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004106> :</TD
4107><TD
4108WIDTH="80%"
4109ALIGN="LEFT"
4110VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004111>NULL if not, otherwise the new xmlIDPtr</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004112></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004113></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004114></TABLE
4115><P
4116></P
4117></DIV
4118></DIV
4119><HR><DIV
4120CLASS="REFSECT2"
4121><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004122NAME="AEN9555"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004123></A
4124><H3
4125><A
4126NAME="XMLFREEIDTABLE"
4127></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004128>xmlFreeIDTable ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004129><TABLE
4130BORDER="0"
4131BGCOLOR="#D6E8FF"
4132WIDTH="100%"
4133CELLPADDING="6"
4134><TR
4135><TD
4136><PRE
4137CLASS="PROGRAMLISTING"
4138>void xmlFreeIDTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004139HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004140>xmlIDTablePtr</A
4141> table);</PRE
4142></TD
4143></TR
4144></TABLE
4145><P
4146>Deallocate the memory used by an ID hash table.</P
4147><P
4148></P
4149><DIV
4150CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004151><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004152NAME="AEN9562"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004153></P
4154><TABLE
4155BORDER="0"
4156WIDTH="100%"
4157BGCOLOR="#FFD0D0"
4158CELLSPACING="0"
4159CELLPADDING="4"
4160CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004161><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004162><TR
4163><TD
4164WIDTH="20%"
4165ALIGN="RIGHT"
4166VALIGN="TOP"
4167><TT
4168CLASS="PARAMETER"
4169><I
4170>table</I
4171></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004172>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004173><TD
4174WIDTH="80%"
4175ALIGN="LEFT"
4176VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004177> An id table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004178></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004179></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004180></TABLE
4181><P
4182></P
4183></DIV
4184></DIV
4185><HR><DIV
4186CLASS="REFSECT2"
4187><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004188NAME="AEN9571"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004189></A
4190><H3
4191><A
4192NAME="XMLGETID"
4193></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004194>xmlGetID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004195><TABLE
4196BORDER="0"
4197BGCOLOR="#D6E8FF"
4198WIDTH="100%"
4199CELLPADDING="6"
4200><TR
4201><TD
4202><PRE
4203CLASS="PROGRAMLISTING"
4204><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004205HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004206>xmlAttrPtr</A
4207> xmlGetID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004208HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004209>xmlDocPtr</A
4210> doc,
4211 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004212HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004213>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004214> *ID);</PRE
4215></TD
4216></TR
4217></TABLE
4218><P
4219>Search the attribute declaring the given ID</P
4220><P
4221></P
4222><DIV
4223CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004224><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004225NAME="AEN9580"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004226></P
4227><TABLE
4228BORDER="0"
4229WIDTH="100%"
4230BGCOLOR="#FFD0D0"
4231CELLSPACING="0"
4232CELLPADDING="4"
4233CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004234><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004235><TR
4236><TD
4237WIDTH="20%"
4238ALIGN="RIGHT"
4239VALIGN="TOP"
4240><TT
4241CLASS="PARAMETER"
4242><I
4243>doc</I
4244></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004245>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004246><TD
4247WIDTH="80%"
4248ALIGN="LEFT"
4249VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004250> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004251></TR
4252><TR
4253><TD
4254WIDTH="20%"
4255ALIGN="RIGHT"
4256VALIGN="TOP"
4257><TT
4258CLASS="PARAMETER"
4259><I
4260>ID</I
4261></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004262>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004263><TD
4264WIDTH="80%"
4265ALIGN="LEFT"
4266VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004267> the ID value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004268></TR
4269><TR
4270><TD
4271WIDTH="20%"
4272ALIGN="RIGHT"
4273VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004274><SPAN
4275CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004276><I
4277CLASS="EMPHASIS"
4278>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004279></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004280> :</TD
4281><TD
4282WIDTH="80%"
4283ALIGN="LEFT"
4284VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004285>NULL if not found, otherwise the xmlAttrPtr defining the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004286></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004287></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004288></TABLE
4289><P
4290></P
4291></DIV
4292></DIV
4293><HR><DIV
4294CLASS="REFSECT2"
4295><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004296NAME="AEN9597"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004297></A
4298><H3
4299><A
4300NAME="XMLISID"
4301></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004302>xmlIsID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004303><TABLE
4304BORDER="0"
4305BGCOLOR="#D6E8FF"
4306WIDTH="100%"
4307CELLPADDING="6"
4308><TR
4309><TD
4310><PRE
4311CLASS="PROGRAMLISTING"
4312>int xmlIsID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004313HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004314>xmlDocPtr</A
4315> doc,
4316 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004317HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004318>xmlNodePtr</A
4319> elem,
4320 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004321HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004322>xmlAttrPtr</A
4323> attr);</PRE
4324></TD
4325></TR
4326></TABLE
4327><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004328>Determine whether an attribute is of type ID. In case we have DTD(s)
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004329then this is simple, otherwise we use an heuristic: name ID (upper
4330or lowercase).</P
4331><P
4332></P
4333><DIV
4334CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004335><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004336NAME="AEN9606"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004337></P
4338><TABLE
4339BORDER="0"
4340WIDTH="100%"
4341BGCOLOR="#FFD0D0"
4342CELLSPACING="0"
4343CELLPADDING="4"
4344CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004345><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004346><TR
4347><TD
4348WIDTH="20%"
4349ALIGN="RIGHT"
4350VALIGN="TOP"
4351><TT
4352CLASS="PARAMETER"
4353><I
4354>doc</I
4355></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004356>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004357><TD
4358WIDTH="80%"
4359ALIGN="LEFT"
4360VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004361> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004362></TR
4363><TR
4364><TD
4365WIDTH="20%"
4366ALIGN="RIGHT"
4367VALIGN="TOP"
4368><TT
4369CLASS="PARAMETER"
4370><I
4371>elem</I
4372></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004373>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004374><TD
4375WIDTH="80%"
4376ALIGN="LEFT"
4377VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004378> the element carrying the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004379></TR
4380><TR
4381><TD
4382WIDTH="20%"
4383ALIGN="RIGHT"
4384VALIGN="TOP"
4385><TT
4386CLASS="PARAMETER"
4387><I
4388>attr</I
4389></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004390>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004391><TD
4392WIDTH="80%"
4393ALIGN="LEFT"
4394VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004395> the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004396></TR
4397><TR
4398><TD
4399WIDTH="20%"
4400ALIGN="RIGHT"
4401VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004402><SPAN
4403CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004404><I
4405CLASS="EMPHASIS"
4406>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004407></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004408> :</TD
4409><TD
4410WIDTH="80%"
4411ALIGN="LEFT"
4412VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004413>0 or 1 depending on the lookup result</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004414></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004415></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004416></TABLE
4417><P
4418></P
4419></DIV
4420></DIV
4421><HR><DIV
4422CLASS="REFSECT2"
4423><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004424NAME="AEN9627"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004425></A
4426><H3
4427><A
4428NAME="XMLREMOVEID"
4429></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004430>xmlRemoveID ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004431><TABLE
4432BORDER="0"
4433BGCOLOR="#D6E8FF"
4434WIDTH="100%"
4435CELLPADDING="6"
4436><TR
4437><TD
4438><PRE
4439CLASS="PROGRAMLISTING"
4440>int xmlRemoveID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004441HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004442>xmlDocPtr</A
4443> doc,
4444 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004445HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004446>xmlAttrPtr</A
4447> attr);</PRE
4448></TD
4449></TR
4450></TABLE
4451><P
4452>Remove the given attribute from the ID table maintained internally.</P
4453><P
4454></P
4455><DIV
4456CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004457><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004458NAME="AEN9635"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004459></P
4460><TABLE
4461BORDER="0"
4462WIDTH="100%"
4463BGCOLOR="#FFD0D0"
4464CELLSPACING="0"
4465CELLPADDING="4"
4466CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004467><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004468><TR
4469><TD
4470WIDTH="20%"
4471ALIGN="RIGHT"
4472VALIGN="TOP"
4473><TT
4474CLASS="PARAMETER"
4475><I
4476>doc</I
4477></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004478>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004479><TD
4480WIDTH="80%"
4481ALIGN="LEFT"
4482VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004483> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004484></TR
4485><TR
4486><TD
4487WIDTH="20%"
4488ALIGN="RIGHT"
4489VALIGN="TOP"
4490><TT
4491CLASS="PARAMETER"
4492><I
4493>attr</I
4494></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004495>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004496><TD
4497WIDTH="80%"
4498ALIGN="LEFT"
4499VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004500> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004501></TR
4502><TR
4503><TD
4504WIDTH="20%"
4505ALIGN="RIGHT"
4506VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004507><SPAN
4508CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004509><I
4510CLASS="EMPHASIS"
4511>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004512></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004513> :</TD
4514><TD
4515WIDTH="80%"
4516ALIGN="LEFT"
4517VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004518>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004519></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004520></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004521></TABLE
4522><P
4523></P
4524></DIV
4525></DIV
4526><HR><DIV
4527CLASS="REFSECT2"
4528><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004529NAME="AEN9652"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004530></A
4531><H3
4532><A
4533NAME="XMLADDREF"
4534></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004535>xmlAddRef ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004536><TABLE
4537BORDER="0"
4538BGCOLOR="#D6E8FF"
4539WIDTH="100%"
4540CELLPADDING="6"
4541><TR
4542><TD
4543><PRE
4544CLASS="PROGRAMLISTING"
4545><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004546HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004547>xmlRefPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004548> xmlAddRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004549HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004550>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004551> ctxt,
4552 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004553HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004554>xmlDocPtr</A
4555> doc,
4556 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004557HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004558>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004559> *value,
4560 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004561HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004562>xmlAttrPtr</A
4563> attr);</PRE
4564></TD
4565></TR
4566></TABLE
4567><P
4568>Register a new ref declaration</P
4569><P
4570></P
4571><DIV
4572CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004573><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004574NAME="AEN9663"><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004575></P
4576><TABLE
4577BORDER="0"
4578WIDTH="100%"
4579BGCOLOR="#FFD0D0"
4580CELLSPACING="0"
4581CELLPADDING="4"
4582CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004583><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004584><TR
4585><TD
4586WIDTH="20%"
4587ALIGN="RIGHT"
4588VALIGN="TOP"
4589><TT
4590CLASS="PARAMETER"
4591><I
4592>ctxt</I
4593></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004594>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004595><TD
4596WIDTH="80%"
4597ALIGN="LEFT"
4598VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004599> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004600></TR
4601><TR
4602><TD
4603WIDTH="20%"
4604ALIGN="RIGHT"
4605VALIGN="TOP"
4606><TT
4607CLASS="PARAMETER"
4608><I
4609>doc</I
4610></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004611>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004612><TD
4613WIDTH="80%"
4614ALIGN="LEFT"
4615VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004616> pointer to the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004617></TR
4618><TR
4619><TD
4620WIDTH="20%"
4621ALIGN="RIGHT"
4622VALIGN="TOP"
4623><TT
4624CLASS="PARAMETER"
4625><I
4626>value</I
4627></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004628>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004629><TD
4630WIDTH="80%"
4631ALIGN="LEFT"
4632VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004633> the value name</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004634></TR
4635><TR
4636><TD
4637WIDTH="20%"
4638ALIGN="RIGHT"
4639VALIGN="TOP"
4640><TT
4641CLASS="PARAMETER"
4642><I
4643>attr</I
4644></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004645>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004646><TD
4647WIDTH="80%"
4648ALIGN="LEFT"
4649VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004650> the attribute holding the Ref</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004651></TR
4652><TR
4653><TD
4654WIDTH="20%"
4655ALIGN="RIGHT"
4656VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004657><SPAN
4658CLASS="emphasis"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004659><I
4660CLASS="EMPHASIS"
4661>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004662></SPAN
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004663> :</TD
4664><TD
4665WIDTH="80%"
4666ALIGN="LEFT"
4667VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004668>NULL if not, otherwise the new xmlRefPtr</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004669></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004670></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004671></TABLE
4672><P
4673></P
4674></DIV
4675></DIV
4676><HR><DIV
4677CLASS="REFSECT2"
4678><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004679NAME="AEN9688"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004680></A
4681><H3
4682><A
4683NAME="XMLFREEREFTABLE"
4684></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004685>xmlFreeRefTable ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004686><TABLE
4687BORDER="0"
4688BGCOLOR="#D6E8FF"
4689WIDTH="100%"
4690CELLPADDING="6"
4691><TR
4692><TD
4693><PRE
4694CLASS="PROGRAMLISTING"
4695>void xmlFreeRefTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004696HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004697>xmlRefTablePtr</A
4698> table);</PRE
4699></TD
4700></TR
4701></TABLE
4702><P
4703>Deallocate the memory used by an Ref hash table.</P
4704><P
4705></P
4706><DIV
4707CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004708><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004709NAME="AEN9695"><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004710></P
4711><TABLE
4712BORDER="0"
4713WIDTH="100%"
4714BGCOLOR="#FFD0D0"
4715CELLSPACING="0"
4716CELLPADDING="4"
4717CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004718><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004719><TR
4720><TD
4721WIDTH="20%"
4722ALIGN="RIGHT"
4723VALIGN="TOP"
4724><TT
4725CLASS="PARAMETER"
4726><I
4727>table</I
4728></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004729>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004730><TD
4731WIDTH="80%"
4732ALIGN="LEFT"
4733VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004734> An ref table</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004735></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004736></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004737></TABLE
4738><P
4739></P
4740></DIV
4741></DIV
4742><HR><DIV
4743CLASS="REFSECT2"
4744><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004745NAME="AEN9704"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004746></A
4747><H3
4748><A
4749NAME="XMLISREF"
4750></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004751>xmlIsRef ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004752><TABLE
4753BORDER="0"
4754BGCOLOR="#D6E8FF"
4755WIDTH="100%"
4756CELLPADDING="6"
4757><TR
4758><TD
4759><PRE
4760CLASS="PROGRAMLISTING"
4761>int xmlIsRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004762HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004763>xmlDocPtr</A
4764> doc,
4765 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004766HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004767>xmlNodePtr</A
4768> elem,
4769 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004770HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004771>xmlAttrPtr</A
4772> attr);</PRE
4773></TD
4774></TR
4775></TABLE
4776><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004777>Determine whether an attribute is of type Ref. In case we have DTD(s)
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004778then this is simple, otherwise we use an heuristic: name Ref (upper
4779or lowercase).</P
4780><P
4781></P
4782><DIV
4783CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004784><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004785NAME="AEN9713"><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004786></P
4787><TABLE
4788BORDER="0"
4789WIDTH="100%"
4790BGCOLOR="#FFD0D0"
4791CELLSPACING="0"
4792CELLPADDING="4"
4793CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004794><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004795><TR
4796><TD
4797WIDTH="20%"
4798ALIGN="RIGHT"
4799VALIGN="TOP"
4800><TT
4801CLASS="PARAMETER"
4802><I
4803>doc</I
4804></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004805>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004806><TD
4807WIDTH="80%"
4808ALIGN="LEFT"
4809VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004810> the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004811></TR
4812><TR
4813><TD
4814WIDTH="20%"
4815ALIGN="RIGHT"
4816VALIGN="TOP"
4817><TT
4818CLASS="PARAMETER"
4819><I
4820>elem</I
4821></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004822>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004823><TD
4824WIDTH="80%"
4825ALIGN="LEFT"
4826VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004827> the element carrying the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004828></TR
4829><TR
4830><TD
4831WIDTH="20%"
4832ALIGN="RIGHT"
4833VALIGN="TOP"
4834><TT
4835CLASS="PARAMETER"
4836><I
4837>attr</I
4838></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004839>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004840><TD
4841WIDTH="80%"
4842ALIGN="LEFT"
4843VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004844> the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004845></TR
4846><TR
4847><TD
4848WIDTH="20%"
4849ALIGN="RIGHT"
4850VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004851><SPAN
4852CLASS="emphasis"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004853><I
4854CLASS="EMPHASIS"
4855>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004856></SPAN
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004857> :</TD
4858><TD
4859WIDTH="80%"
4860ALIGN="LEFT"
4861VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004862>0 or 1 depending on the lookup result</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004863></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004864></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004865></TABLE
4866><P
4867></P
4868></DIV
4869></DIV
4870><HR><DIV
4871CLASS="REFSECT2"
4872><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004873NAME="AEN9734"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004874></A
4875><H3
4876><A
4877NAME="XMLREMOVEREF"
4878></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004879>xmlRemoveRef ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004880><TABLE
4881BORDER="0"
4882BGCOLOR="#D6E8FF"
4883WIDTH="100%"
4884CELLPADDING="6"
4885><TR
4886><TD
4887><PRE
4888CLASS="PROGRAMLISTING"
4889>int xmlRemoveRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004890HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004891>xmlDocPtr</A
4892> doc,
4893 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004894HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004895>xmlAttrPtr</A
4896> attr);</PRE
4897></TD
4898></TR
4899></TABLE
4900><P
4901>Remove the given attribute from the Ref table maintained internally.</P
4902><P
4903></P
4904><DIV
4905CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004906><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004907NAME="AEN9742"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004908></P
4909><TABLE
4910BORDER="0"
4911WIDTH="100%"
4912BGCOLOR="#FFD0D0"
4913CELLSPACING="0"
4914CELLPADDING="4"
4915CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004916><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004917><TR
4918><TD
4919WIDTH="20%"
4920ALIGN="RIGHT"
4921VALIGN="TOP"
4922><TT
4923CLASS="PARAMETER"
4924><I
4925>doc</I
4926></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004927>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004928><TD
4929WIDTH="80%"
4930ALIGN="LEFT"
4931VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004932> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004933></TR
4934><TR
4935><TD
4936WIDTH="20%"
4937ALIGN="RIGHT"
4938VALIGN="TOP"
4939><TT
4940CLASS="PARAMETER"
4941><I
4942>attr</I
4943></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004944>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004945><TD
4946WIDTH="80%"
4947ALIGN="LEFT"
4948VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004949> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004950></TR
4951><TR
4952><TD
4953WIDTH="20%"
4954ALIGN="RIGHT"
4955VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004956><SPAN
4957CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004958><I
4959CLASS="EMPHASIS"
4960>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004961></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004962> :</TD
4963><TD
4964WIDTH="80%"
4965ALIGN="LEFT"
4966VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004967>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004968></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004969></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004970></TABLE
4971><P
4972></P
4973></DIV
4974></DIV
4975><HR><DIV
4976CLASS="REFSECT2"
4977><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00004978NAME="AEN9759"
Daniel Veillarda41123c2001-04-22 19:31:20 +00004979></A
4980><H3
4981><A
4982NAME="XMLGETREFS"
4983></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004984>xmlGetRefs ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00004985><TABLE
4986BORDER="0"
4987BGCOLOR="#D6E8FF"
4988WIDTH="100%"
4989CELLPADDING="6"
4990><TR
4991><TD
4992><PRE
4993CLASS="PROGRAMLISTING"
4994><GTKDOCLINK
4995HREF="XMLLISTPTR"
4996>xmlListPtr</GTKDOCLINK
4997> xmlGetRefs (<A
4998HREF="libxml-tree.html#XMLDOCPTR"
4999>xmlDocPtr</A
5000> doc,
5001 const <A
5002HREF="libxml-tree.html#XMLCHAR"
5003>xmlChar</A
5004> *ID);</PRE
5005></TD
5006></TR
5007></TABLE
5008><P
5009>Find the set of references for the supplied ID.</P
5010><P
5011></P
5012><DIV
5013CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005014><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005015NAME="AEN9768"><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00005016></P
5017><TABLE
5018BORDER="0"
5019WIDTH="100%"
5020BGCOLOR="#FFD0D0"
5021CELLSPACING="0"
5022CELLPADDING="4"
5023CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005024><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005025><TR
5026><TD
5027WIDTH="20%"
5028ALIGN="RIGHT"
5029VALIGN="TOP"
5030><TT
5031CLASS="PARAMETER"
5032><I
5033>doc</I
5034></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005035>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005036><TD
5037WIDTH="80%"
5038ALIGN="LEFT"
5039VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005040> pointer to the document</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005041></TR
5042><TR
5043><TD
5044WIDTH="20%"
5045ALIGN="RIGHT"
5046VALIGN="TOP"
5047><TT
5048CLASS="PARAMETER"
5049><I
5050>ID</I
5051></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005052>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005053><TD
5054WIDTH="80%"
5055ALIGN="LEFT"
5056VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005057> the ID value</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005058></TR
5059><TR
5060><TD
5061WIDTH="20%"
5062ALIGN="RIGHT"
5063VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005064><SPAN
5065CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005066><I
5067CLASS="EMPHASIS"
5068>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005069></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +00005070> :</TD
5071><TD
5072WIDTH="80%"
5073ALIGN="LEFT"
5074VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005075>NULL if not found, otherwise node set for the ID.</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005076></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005077></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005078></TABLE
5079><P
5080></P
5081></DIV
5082></DIV
5083><HR><DIV
5084CLASS="REFSECT2"
5085><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005086NAME="AEN9785"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005087></A
5088><H3
5089><A
5090NAME="XMLVALIDATEROOT"
5091></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005092>xmlValidateRoot ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005093><TABLE
5094BORDER="0"
5095BGCOLOR="#D6E8FF"
5096WIDTH="100%"
5097CELLPADDING="6"
5098><TR
5099><TD
5100><PRE
5101CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005102>int xmlValidateRoot (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005103HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005104>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005105> ctxt,
5106 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005107HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005108>xmlDocPtr</A
5109> doc);</PRE
5110></TD
5111></TR
5112></TABLE
5113><P
5114>Try to validate a the root element
5115basically it does the following check as described by the
5116XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005117- [ VC: Root Element Type ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00005118it doesn't try to recurse or apply other check to the element</P
5119><P
5120></P
5121><DIV
5122CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005123><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005124NAME="AEN9793"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005125></P
5126><TABLE
5127BORDER="0"
5128WIDTH="100%"
5129BGCOLOR="#FFD0D0"
5130CELLSPACING="0"
5131CELLPADDING="4"
5132CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005133><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005134><TR
5135><TD
5136WIDTH="20%"
5137ALIGN="RIGHT"
5138VALIGN="TOP"
5139><TT
5140CLASS="PARAMETER"
5141><I
5142>ctxt</I
5143></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005144>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005145><TD
5146WIDTH="80%"
5147ALIGN="LEFT"
5148VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005149> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005150></TR
5151><TR
5152><TD
5153WIDTH="20%"
5154ALIGN="RIGHT"
5155VALIGN="TOP"
5156><TT
5157CLASS="PARAMETER"
5158><I
5159>doc</I
5160></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005161>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005162><TD
5163WIDTH="80%"
5164ALIGN="LEFT"
5165VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005166> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005167></TR
5168><TR
5169><TD
5170WIDTH="20%"
5171ALIGN="RIGHT"
5172VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005173><SPAN
5174CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005175><I
5176CLASS="EMPHASIS"
5177>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005178></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00005179> :</TD
5180><TD
5181WIDTH="80%"
5182ALIGN="LEFT"
5183VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005184>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005185></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005186></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005187></TABLE
5188><P
5189></P
5190></DIV
5191></DIV
5192><HR><DIV
5193CLASS="REFSECT2"
5194><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005195NAME="AEN9810"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005196></A
5197><H3
5198><A
5199NAME="XMLVALIDATEELEMENTDECL"
5200></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005201>xmlValidateElementDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005202><TABLE
5203BORDER="0"
5204BGCOLOR="#D6E8FF"
5205WIDTH="100%"
5206CELLPADDING="6"
5207><TR
5208><TD
5209><PRE
5210CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005211>int xmlValidateElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005212HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005213>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005214> ctxt,
5215 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005216HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005217>xmlDocPtr</A
5218> doc,
5219 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005220HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005221>xmlElementPtr</A
5222> elem);</PRE
5223></TD
5224></TR
5225></TABLE
5226><P
5227>Try to validate a single element definition
5228basically it does the following checks as described by the
5229XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005230- [ VC: One ID per Element Type ]
5231- [ VC: No Duplicate Types ]
5232- [ VC: Unique Element Type Declaration ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005233><P
5234></P
5235><DIV
5236CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005237><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005238NAME="AEN9819"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005239></P
5240><TABLE
5241BORDER="0"
5242WIDTH="100%"
5243BGCOLOR="#FFD0D0"
5244CELLSPACING="0"
5245CELLPADDING="4"
5246CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005247><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005248><TR
5249><TD
5250WIDTH="20%"
5251ALIGN="RIGHT"
5252VALIGN="TOP"
5253><TT
5254CLASS="PARAMETER"
5255><I
5256>ctxt</I
5257></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005258>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005259><TD
5260WIDTH="80%"
5261ALIGN="LEFT"
5262VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005263> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005264></TR
5265><TR
5266><TD
5267WIDTH="20%"
5268ALIGN="RIGHT"
5269VALIGN="TOP"
5270><TT
5271CLASS="PARAMETER"
5272><I
5273>doc</I
5274></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005275>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005276><TD
5277WIDTH="80%"
5278ALIGN="LEFT"
5279VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005280> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005281></TR
5282><TR
5283><TD
5284WIDTH="20%"
5285ALIGN="RIGHT"
5286VALIGN="TOP"
5287><TT
5288CLASS="PARAMETER"
5289><I
5290>elem</I
5291></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005292>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005293><TD
5294WIDTH="80%"
5295ALIGN="LEFT"
5296VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005297> an element definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005298></TR
5299><TR
5300><TD
5301WIDTH="20%"
5302ALIGN="RIGHT"
5303VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005304><SPAN
5305CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005306><I
5307CLASS="EMPHASIS"
5308>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005309></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00005310> :</TD
5311><TD
5312WIDTH="80%"
5313ALIGN="LEFT"
5314VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005315>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005316></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005317></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005318></TABLE
5319><P
5320></P
5321></DIV
5322></DIV
5323><HR><DIV
5324CLASS="REFSECT2"
5325><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005326NAME="AEN9840"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005327></A
5328><H3
5329><A
5330NAME="XMLVALIDNORMALIZEATTRIBUTEVALUE"
5331></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005332>xmlValidNormalizeAttributeValue ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005333><TABLE
5334BORDER="0"
5335BGCOLOR="#D6E8FF"
5336WIDTH="100%"
5337CELLPADDING="6"
5338><TR
5339><TD
5340><PRE
5341CLASS="PROGRAMLISTING"
5342><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005343HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005344>xmlChar</A
5345>* xmlValidNormalizeAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005346HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005347>xmlDocPtr</A
5348> doc,
5349 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005350HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005351>xmlNodePtr</A
5352> elem,
5353 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005354HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005355>xmlChar</A
5356> *name,
5357 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005358HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005359>xmlChar</A
5360> *value);</PRE
5361></TD
5362></TR
5363></TABLE
5364><P
5365>Does the validation related extra step of the normalization of attribute
5366values:</P
5367><P
5368>If the declared value is not CDATA, then the XML processor must further
5369process the normalized attribute value by discarding any leading and
5370trailing space (<GTKDOCLINK
5371HREF="X20"
5372>x20</GTKDOCLINK
5373>) characters, and by replacing sequences of space
5374(<GTKDOCLINK
5375HREF="X20"
5376>x20</GTKDOCLINK
5377>) characters by single space (<GTKDOCLINK
5378HREF="X20"
5379>x20</GTKDOCLINK
5380>) character.</P
5381><P
5382></P
5383><DIV
5384CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005385><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005386NAME="AEN9855"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005387></P
5388><TABLE
5389BORDER="0"
5390WIDTH="100%"
5391BGCOLOR="#FFD0D0"
5392CELLSPACING="0"
5393CELLPADDING="4"
5394CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005395><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005396><TR
5397><TD
5398WIDTH="20%"
5399ALIGN="RIGHT"
5400VALIGN="TOP"
5401><TT
5402CLASS="PARAMETER"
5403><I
5404>doc</I
5405></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005406>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005407><TD
5408WIDTH="80%"
5409ALIGN="LEFT"
5410VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005411> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005412></TR
5413><TR
5414><TD
5415WIDTH="20%"
5416ALIGN="RIGHT"
5417VALIGN="TOP"
5418><TT
5419CLASS="PARAMETER"
5420><I
5421>elem</I
5422></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005423>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005424><TD
5425WIDTH="80%"
5426ALIGN="LEFT"
5427VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005428> the parent</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005429></TR
5430><TR
5431><TD
5432WIDTH="20%"
5433ALIGN="RIGHT"
5434VALIGN="TOP"
5435><TT
5436CLASS="PARAMETER"
5437><I
5438>name</I
5439></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005440>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005441><TD
5442WIDTH="80%"
5443ALIGN="LEFT"
5444VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005445> the attribute name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005446></TR
5447><TR
5448><TD
5449WIDTH="20%"
5450ALIGN="RIGHT"
5451VALIGN="TOP"
5452><TT
5453CLASS="PARAMETER"
5454><I
5455>value</I
5456></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005457>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005458><TD
5459WIDTH="80%"
5460ALIGN="LEFT"
5461VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005462> the attribute value</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005463></TR
5464><TR
5465><TD
5466WIDTH="20%"
5467ALIGN="RIGHT"
5468VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005469><SPAN
5470CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005471><I
5472CLASS="EMPHASIS"
5473>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005474></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005475> :</TD
5476><TD
5477WIDTH="80%"
5478ALIGN="LEFT"
5479VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005480>a new normalized string if normalization is needed, NULL otherwise
Daniel Veillardaf43f632002-03-08 15:05:20 +00005481the caller must free the returned value.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005482></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005483></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005484></TABLE
5485><P
5486></P
5487></DIV
5488></DIV
5489><HR><DIV
5490CLASS="REFSECT2"
5491><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005492NAME="AEN9880"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005493></A
5494><H3
5495><A
5496NAME="XMLVALIDCTXTNORMALIZEATTRIBUTEVALUE"
5497></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005498>xmlValidCtxtNormalizeAttributeValue ()</H3
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005499><TABLE
5500BORDER="0"
5501BGCOLOR="#D6E8FF"
5502WIDTH="100%"
5503CELLPADDING="6"
5504><TR
5505><TD
5506><PRE
5507CLASS="PROGRAMLISTING"
5508><A
5509HREF="libxml-tree.html#XMLCHAR"
5510>xmlChar</A
5511>* xmlValidCtxtNormalizeAttributeValue
5512 (<A
5513HREF="libxml-valid.html#XMLVALIDCTXTPTR"
5514>xmlValidCtxtPtr</A
5515> ctxt,
5516 <A
5517HREF="libxml-tree.html#XMLDOCPTR"
5518>xmlDocPtr</A
5519> doc,
5520 <A
5521HREF="libxml-tree.html#XMLNODEPTR"
5522>xmlNodePtr</A
5523> elem,
5524 const <A
5525HREF="libxml-tree.html#XMLCHAR"
5526>xmlChar</A
5527> *name,
5528 const <A
5529HREF="libxml-tree.html#XMLCHAR"
5530>xmlChar</A
5531> *value);</PRE
5532></TD
5533></TR
5534></TABLE
5535><P
5536>Does the validation related extra step of the normalization of attribute
5537values:</P
5538><P
5539>If the declared value is not CDATA, then the XML processor must further
5540process the normalized attribute value by discarding any leading and
5541trailing space (<GTKDOCLINK
5542HREF="X20"
5543>x20</GTKDOCLINK
5544>) characters, and by replacing sequences of space
5545(<GTKDOCLINK
5546HREF="X20"
5547>x20</GTKDOCLINK
5548>) characters by single space (<GTKDOCLINK
5549HREF="X20"
5550>x20</GTKDOCLINK
5551>) character.</P
5552><P
5553>Also check VC: Standalone Document Declaration in P32, and update
Daniel Veillardaf43f632002-03-08 15:05:20 +00005554ctxt-&gt;valid accordingly</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005555><P
5556></P
5557><DIV
5558CLASS="INFORMALTABLE"
5559><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005560NAME="AEN9897"><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005561></P
5562><TABLE
5563BORDER="0"
5564WIDTH="100%"
5565BGCOLOR="#FFD0D0"
5566CELLSPACING="0"
5567CELLPADDING="4"
5568CLASS="CALSTABLE"
5569><TBODY
5570><TR
5571><TD
5572WIDTH="20%"
5573ALIGN="RIGHT"
5574VALIGN="TOP"
5575><TT
5576CLASS="PARAMETER"
5577><I
5578>ctxt</I
5579></TT
5580>&nbsp;:</TD
5581><TD
5582WIDTH="80%"
5583ALIGN="LEFT"
5584VALIGN="TOP"
5585> the validation context</TD
5586></TR
5587><TR
5588><TD
5589WIDTH="20%"
5590ALIGN="RIGHT"
5591VALIGN="TOP"
5592><TT
5593CLASS="PARAMETER"
5594><I
5595>doc</I
5596></TT
5597>&nbsp;:</TD
5598><TD
5599WIDTH="80%"
5600ALIGN="LEFT"
5601VALIGN="TOP"
5602> the document</TD
5603></TR
5604><TR
5605><TD
5606WIDTH="20%"
5607ALIGN="RIGHT"
5608VALIGN="TOP"
5609><TT
5610CLASS="PARAMETER"
5611><I
5612>elem</I
5613></TT
5614>&nbsp;:</TD
5615><TD
5616WIDTH="80%"
5617ALIGN="LEFT"
5618VALIGN="TOP"
5619> the parent</TD
5620></TR
5621><TR
5622><TD
5623WIDTH="20%"
5624ALIGN="RIGHT"
5625VALIGN="TOP"
5626><TT
5627CLASS="PARAMETER"
5628><I
5629>name</I
5630></TT
5631>&nbsp;:</TD
5632><TD
5633WIDTH="80%"
5634ALIGN="LEFT"
5635VALIGN="TOP"
5636> the attribute name</TD
5637></TR
5638><TR
5639><TD
5640WIDTH="20%"
5641ALIGN="RIGHT"
5642VALIGN="TOP"
5643><TT
5644CLASS="PARAMETER"
5645><I
5646>value</I
5647></TT
5648>&nbsp;:</TD
5649><TD
5650WIDTH="80%"
5651ALIGN="LEFT"
5652VALIGN="TOP"
5653> the attribute value</TD
5654></TR
5655><TR
5656><TD
5657WIDTH="20%"
5658ALIGN="RIGHT"
5659VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005660><SPAN
5661CLASS="emphasis"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005662><I
5663CLASS="EMPHASIS"
5664>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005665></SPAN
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005666> :</TD
5667><TD
5668WIDTH="80%"
5669ALIGN="LEFT"
5670VALIGN="TOP"
5671>a new normalized string if normalization is needed, NULL otherwise
Daniel Veillardaf43f632002-03-08 15:05:20 +00005672the caller must free the returned value.</TD
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005673></TR
5674></TBODY
5675></TABLE
5676><P
5677></P
5678></DIV
5679></DIV
5680><HR><DIV
5681CLASS="REFSECT2"
5682><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005683NAME="AEN9926"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005684></A
5685><H3
5686><A
5687NAME="XMLVALIDATEATTRIBUTEDECL"
5688></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005689>xmlValidateAttributeDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005690><TABLE
5691BORDER="0"
5692BGCOLOR="#D6E8FF"
5693WIDTH="100%"
5694CELLPADDING="6"
5695><TR
5696><TD
5697><PRE
5698CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005699>int xmlValidateAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005700HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005701>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005702> ctxt,
5703 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005704HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005705>xmlDocPtr</A
5706> doc,
5707 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005708HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005709>xmlAttributePtr</A
5710> attr);</PRE
5711></TD
5712></TR
5713></TABLE
5714><P
5715>Try to validate a single attribute definition
5716basically it does the following checks as described by the
5717XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005718- [ VC: Attribute Default Legal ]
5719- [ VC: Enumeration ]
5720- [ VC: ID Attribute Default ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005721><P
5722>The ID/IDREF uniqueness and matching are done separately</P
5723><P
5724></P
5725><DIV
5726CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005727><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005728NAME="AEN9936"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005729></P
5730><TABLE
5731BORDER="0"
5732WIDTH="100%"
5733BGCOLOR="#FFD0D0"
5734CELLSPACING="0"
5735CELLPADDING="4"
5736CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005737><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005738><TR
5739><TD
5740WIDTH="20%"
5741ALIGN="RIGHT"
5742VALIGN="TOP"
5743><TT
5744CLASS="PARAMETER"
5745><I
5746>ctxt</I
5747></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005748>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005749><TD
5750WIDTH="80%"
5751ALIGN="LEFT"
5752VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005753> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005754></TR
5755><TR
5756><TD
5757WIDTH="20%"
5758ALIGN="RIGHT"
5759VALIGN="TOP"
5760><TT
5761CLASS="PARAMETER"
5762><I
5763>doc</I
5764></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005765>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005766><TD
5767WIDTH="80%"
5768ALIGN="LEFT"
5769VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005770> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005771></TR
5772><TR
5773><TD
5774WIDTH="20%"
5775ALIGN="RIGHT"
5776VALIGN="TOP"
5777><TT
5778CLASS="PARAMETER"
5779><I
5780>attr</I
5781></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005782>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005783><TD
5784WIDTH="80%"
5785ALIGN="LEFT"
5786VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005787> an attribute definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005788></TR
5789><TR
5790><TD
5791WIDTH="20%"
5792ALIGN="RIGHT"
5793VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005794><SPAN
5795CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005796><I
5797CLASS="EMPHASIS"
5798>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005799></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00005800> :</TD
5801><TD
5802WIDTH="80%"
5803ALIGN="LEFT"
5804VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005805>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005806></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005807></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005808></TABLE
5809><P
5810></P
5811></DIV
5812></DIV
5813><HR><DIV
5814CLASS="REFSECT2"
5815><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005816NAME="AEN9957"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005817></A
5818><H3
5819><A
5820NAME="XMLVALIDATEATTRIBUTEVALUE"
5821></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005822>xmlValidateAttributeValue ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005823><TABLE
5824BORDER="0"
5825BGCOLOR="#D6E8FF"
5826WIDTH="100%"
5827CELLPADDING="6"
5828><TR
5829><TD
5830><PRE
5831CLASS="PROGRAMLISTING"
5832>int xmlValidateAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005833HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005834>xmlAttributeType</A
5835> type,
5836 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005837HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005838>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005839> *value);</PRE
5840></TD
5841></TR
5842></TABLE
5843><P
5844>Validate that the given attribute value match the proper production</P
5845><P
5846>[ VC: ID ]
5847Values of type ID must match the Name production....</P
5848><P
5849>[ VC: IDREF ]
5850Values of type IDREF must match the Name production, and values
5851of type IDREFS must match Names ...</P
5852><P
5853>[ VC: Entity Name ]
5854Values of type ENTITY must match the Name production, values
5855of type ENTITIES must match Names ...</P
5856><P
5857>[ VC: Name Token ]
5858Values of type NMTOKEN must match the Nmtoken production; values
5859of type NMTOKENS must match Nmtokens.</P
5860><P
5861></P
5862><DIV
5863CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005864><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005865NAME="AEN9969"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005866></P
5867><TABLE
5868BORDER="0"
5869WIDTH="100%"
5870BGCOLOR="#FFD0D0"
5871CELLSPACING="0"
5872CELLPADDING="4"
5873CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005874><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005875><TR
5876><TD
5877WIDTH="20%"
5878ALIGN="RIGHT"
5879VALIGN="TOP"
5880><TT
5881CLASS="PARAMETER"
5882><I
5883>type</I
5884></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005885>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005886><TD
5887WIDTH="80%"
5888ALIGN="LEFT"
5889VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005890> an attribute type</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005891></TR
5892><TR
5893><TD
5894WIDTH="20%"
5895ALIGN="RIGHT"
5896VALIGN="TOP"
5897><TT
5898CLASS="PARAMETER"
5899><I
5900>value</I
5901></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005902>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005903><TD
5904WIDTH="80%"
5905ALIGN="LEFT"
5906VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005907> an attribute value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005908></TR
5909><TR
5910><TD
5911WIDTH="20%"
5912ALIGN="RIGHT"
5913VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005914><SPAN
5915CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005916><I
5917CLASS="EMPHASIS"
5918>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005919></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005920> :</TD
5921><TD
5922WIDTH="80%"
5923ALIGN="LEFT"
5924VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005925>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005926></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005927></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005928></TABLE
5929><P
5930></P
5931></DIV
5932></DIV
5933><HR><DIV
5934CLASS="REFSECT2"
5935><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005936NAME="AEN9986"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005937></A
5938><H3
5939><A
5940NAME="XMLVALIDATENOTATIONDECL"
5941></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005942>xmlValidateNotationDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005943><TABLE
5944BORDER="0"
5945BGCOLOR="#D6E8FF"
5946WIDTH="100%"
5947CELLPADDING="6"
5948><TR
5949><TD
5950><PRE
5951CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005952>int xmlValidateNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005953HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005954>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005955> ctxt,
5956 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005957HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005958>xmlDocPtr</A
5959> doc,
5960 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005961HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005962>xmlNotationPtr</A
5963> nota);</PRE
5964></TD
5965></TR
5966></TABLE
5967><P
5968>Try to validate a single notation definition
5969basically it does the following checks as described by the
5970XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005971- it seems that no validity constraint exists on notation declarations
Daniel Veillardb05deb71999-08-10 19:04:08 +00005972But this function get called anyway ...</P
5973><P
5974></P
5975><DIV
5976CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005977><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00005978NAME="AEN9995"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005979></P
5980><TABLE
5981BORDER="0"
5982WIDTH="100%"
5983BGCOLOR="#FFD0D0"
5984CELLSPACING="0"
5985CELLPADDING="4"
5986CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005987><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005988><TR
5989><TD
5990WIDTH="20%"
5991ALIGN="RIGHT"
5992VALIGN="TOP"
5993><TT
5994CLASS="PARAMETER"
5995><I
5996>ctxt</I
5997></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005998>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005999><TD
6000WIDTH="80%"
6001ALIGN="LEFT"
6002VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006003> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006004></TR
6005><TR
6006><TD
6007WIDTH="20%"
6008ALIGN="RIGHT"
6009VALIGN="TOP"
6010><TT
6011CLASS="PARAMETER"
6012><I
6013>doc</I
6014></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006015>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006016><TD
6017WIDTH="80%"
6018ALIGN="LEFT"
6019VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006020> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006021></TR
6022><TR
6023><TD
6024WIDTH="20%"
6025ALIGN="RIGHT"
6026VALIGN="TOP"
6027><TT
6028CLASS="PARAMETER"
6029><I
6030>nota</I
6031></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006032>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006033><TD
6034WIDTH="80%"
6035ALIGN="LEFT"
6036VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006037> a notation definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006038></TR
6039><TR
6040><TD
6041WIDTH="20%"
6042ALIGN="RIGHT"
6043VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006044><SPAN
6045CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006046><I
6047CLASS="EMPHASIS"
6048>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006049></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006050> :</TD
6051><TD
6052WIDTH="80%"
6053ALIGN="LEFT"
6054VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006055>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006056></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006057></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006058></TABLE
6059><P
6060></P
6061></DIV
6062></DIV
6063><HR><DIV
6064CLASS="REFSECT2"
6065><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006066NAME="AEN10016"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006067></A
6068><H3
6069><A
6070NAME="XMLVALIDATEDTD"
6071></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006072>xmlValidateDtd ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006073><TABLE
6074BORDER="0"
6075BGCOLOR="#D6E8FF"
6076WIDTH="100%"
6077CELLPADDING="6"
6078><TR
6079><TD
6080><PRE
6081CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006082>int xmlValidateDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006083HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006084>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006085> ctxt,
6086 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006087HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006088>xmlDocPtr</A
6089> doc,
6090 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006091HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006092>xmlDtdPtr</A
6093> dtd);</PRE
6094></TD
6095></TR
6096></TABLE
6097><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006098>Try to validate the document against the dtd instance</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006099><P
6100>basically it does check all the definitions in the DtD.</P
6101><P
6102></P
6103><DIV
6104CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006105><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006106NAME="AEN10026"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006107></P
6108><TABLE
6109BORDER="0"
6110WIDTH="100%"
6111BGCOLOR="#FFD0D0"
6112CELLSPACING="0"
6113CELLPADDING="4"
6114CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006115><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006116><TR
6117><TD
6118WIDTH="20%"
6119ALIGN="RIGHT"
6120VALIGN="TOP"
6121><TT
6122CLASS="PARAMETER"
6123><I
6124>ctxt</I
6125></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006126>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006127><TD
6128WIDTH="80%"
6129ALIGN="LEFT"
6130VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006131> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006132></TR
6133><TR
6134><TD
6135WIDTH="20%"
6136ALIGN="RIGHT"
6137VALIGN="TOP"
6138><TT
6139CLASS="PARAMETER"
6140><I
6141>doc</I
6142></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006143>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006144><TD
6145WIDTH="80%"
6146ALIGN="LEFT"
6147VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006148> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006149></TR
6150><TR
6151><TD
6152WIDTH="20%"
6153ALIGN="RIGHT"
6154VALIGN="TOP"
6155><TT
6156CLASS="PARAMETER"
6157><I
6158>dtd</I
6159></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006160>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006161><TD
6162WIDTH="80%"
6163ALIGN="LEFT"
6164VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006165> a dtd instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006166></TR
6167><TR
6168><TD
6169WIDTH="20%"
6170ALIGN="RIGHT"
6171VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006172><SPAN
6173CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006174><I
6175CLASS="EMPHASIS"
6176>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006177></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006178> :</TD
6179><TD
6180WIDTH="80%"
6181ALIGN="LEFT"
6182VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006183>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006184></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006185></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006186></TABLE
6187><P
6188></P
6189></DIV
6190></DIV
6191><HR><DIV
6192CLASS="REFSECT2"
6193><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006194NAME="AEN10047"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006195></A
6196><H3
6197><A
6198NAME="XMLVALIDATEDTDFINAL"
6199></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006200>xmlValidateDtdFinal ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006201><TABLE
6202BORDER="0"
6203BGCOLOR="#D6E8FF"
6204WIDTH="100%"
6205CELLPADDING="6"
6206><TR
6207><TD
6208><PRE
6209CLASS="PROGRAMLISTING"
6210>int xmlValidateDtdFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006211HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006212>xmlValidCtxtPtr</A
6213> ctxt,
6214 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006215HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006216>xmlDocPtr</A
6217> doc);</PRE
6218></TD
6219></TR
6220></TABLE
6221><P
6222>Does the final step for the dtds validation once all the
6223subsets have been parsed</P
6224><P
6225>basically it does the following checks described by the XML Rec
6226- check that ENTITY and ENTITIES type attributes default or
Daniel Veillardaf43f632002-03-08 15:05:20 +00006227possible values matches one of the defined entities.
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006228- check that NOTATION type attributes default or
Daniel Veillardaf43f632002-03-08 15:05:20 +00006229possible values matches one of the defined notations.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006230><P
6231></P
6232><DIV
6233CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006234><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006235NAME="AEN10056"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006236></P
6237><TABLE
6238BORDER="0"
6239WIDTH="100%"
6240BGCOLOR="#FFD0D0"
6241CELLSPACING="0"
6242CELLPADDING="4"
6243CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006244><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006245><TR
6246><TD
6247WIDTH="20%"
6248ALIGN="RIGHT"
6249VALIGN="TOP"
6250><TT
6251CLASS="PARAMETER"
6252><I
6253>ctxt</I
6254></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006255>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006256><TD
6257WIDTH="80%"
6258ALIGN="LEFT"
6259VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006260> the validation context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006261></TR
6262><TR
6263><TD
6264WIDTH="20%"
6265ALIGN="RIGHT"
6266VALIGN="TOP"
6267><TT
6268CLASS="PARAMETER"
6269><I
6270>doc</I
6271></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006272>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006273><TD
6274WIDTH="80%"
6275ALIGN="LEFT"
6276VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006277> a document instance</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006278></TR
6279><TR
6280><TD
6281WIDTH="20%"
6282ALIGN="RIGHT"
6283VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006284><SPAN
6285CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006286><I
6287CLASS="EMPHASIS"
6288>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006289></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006290> :</TD
6291><TD
6292WIDTH="80%"
6293ALIGN="LEFT"
6294VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006295>1 if valid or 0 if invalid and -1 if not well-formed</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006296></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006297></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006298></TABLE
6299><P
6300></P
6301></DIV
6302></DIV
6303><HR><DIV
6304CLASS="REFSECT2"
6305><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006306NAME="AEN10073"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006307></A
6308><H3
6309><A
6310NAME="XMLVALIDATEDOCUMENT"
6311></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006312>xmlValidateDocument ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006313><TABLE
6314BORDER="0"
6315BGCOLOR="#D6E8FF"
6316WIDTH="100%"
6317CELLPADDING="6"
6318><TR
6319><TD
6320><PRE
6321CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006322>int xmlValidateDocument (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006323HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006324>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006325> ctxt,
6326 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006327HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006328>xmlDocPtr</A
6329> doc);</PRE
6330></TD
6331></TR
6332></TABLE
6333><P
6334>Try to validate the document instance</P
6335><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006336>basically it does the all the checks described by the XML Rec
Daniel Veillardb05deb71999-08-10 19:04:08 +00006337i.e. validates the internal and external subset (if present)
6338and validate the document tree.</P
6339><P
6340></P
6341><DIV
6342CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006343><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006344NAME="AEN10082"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006345></P
6346><TABLE
6347BORDER="0"
6348WIDTH="100%"
6349BGCOLOR="#FFD0D0"
6350CELLSPACING="0"
6351CELLPADDING="4"
6352CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006353><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006354><TR
6355><TD
6356WIDTH="20%"
6357ALIGN="RIGHT"
6358VALIGN="TOP"
6359><TT
6360CLASS="PARAMETER"
6361><I
6362>ctxt</I
6363></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006364>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006365><TD
6366WIDTH="80%"
6367ALIGN="LEFT"
6368VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006369> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006370></TR
6371><TR
6372><TD
6373WIDTH="20%"
6374ALIGN="RIGHT"
6375VALIGN="TOP"
6376><TT
6377CLASS="PARAMETER"
6378><I
6379>doc</I
6380></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006381>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006382><TD
6383WIDTH="80%"
6384ALIGN="LEFT"
6385VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006386> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006387></TR
6388><TR
6389><TD
6390WIDTH="20%"
6391ALIGN="RIGHT"
6392VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006393><SPAN
6394CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006395><I
6396CLASS="EMPHASIS"
6397>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006398></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006399> :</TD
6400><TD
6401WIDTH="80%"
6402ALIGN="LEFT"
6403VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006404>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006405></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006406></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006407></TABLE
6408><P
6409></P
6410></DIV
6411></DIV
6412><HR><DIV
6413CLASS="REFSECT2"
6414><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006415NAME="AEN10099"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006416></A
6417><H3
6418><A
6419NAME="XMLVALIDATEELEMENT"
6420></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006421>xmlValidateElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006422><TABLE
6423BORDER="0"
6424BGCOLOR="#D6E8FF"
6425WIDTH="100%"
6426CELLPADDING="6"
6427><TR
6428><TD
6429><PRE
6430CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006431>int xmlValidateElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006432HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006433>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006434> ctxt,
6435 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006436HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006437>xmlDocPtr</A
6438> doc,
6439 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006440HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006441>xmlNodePtr</A
6442> elem);</PRE
6443></TD
6444></TR
6445></TABLE
6446><P
6447>Try to validate the subtree under an element</P
6448><P
6449></P
6450><DIV
6451CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006452><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006453NAME="AEN10108"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006454></P
6455><TABLE
6456BORDER="0"
6457WIDTH="100%"
6458BGCOLOR="#FFD0D0"
6459CELLSPACING="0"
6460CELLPADDING="4"
6461CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006462><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006463><TR
6464><TD
6465WIDTH="20%"
6466ALIGN="RIGHT"
6467VALIGN="TOP"
6468><TT
6469CLASS="PARAMETER"
6470><I
6471>ctxt</I
6472></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006473>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006474><TD
6475WIDTH="80%"
6476ALIGN="LEFT"
6477VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006478> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006479></TR
6480><TR
6481><TD
6482WIDTH="20%"
6483ALIGN="RIGHT"
6484VALIGN="TOP"
6485><TT
6486CLASS="PARAMETER"
6487><I
6488>doc</I
6489></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006490>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006491><TD
6492WIDTH="80%"
6493ALIGN="LEFT"
6494VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006495> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006496></TR
6497><TR
6498><TD
6499WIDTH="20%"
6500ALIGN="RIGHT"
6501VALIGN="TOP"
6502><TT
6503CLASS="PARAMETER"
6504><I
6505>elem</I
6506></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006507>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006508><TD
6509WIDTH="80%"
6510ALIGN="LEFT"
6511VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006512> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006513></TR
6514><TR
6515><TD
6516WIDTH="20%"
6517ALIGN="RIGHT"
6518VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006519><SPAN
6520CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006521><I
6522CLASS="EMPHASIS"
6523>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006524></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006525> :</TD
6526><TD
6527WIDTH="80%"
6528ALIGN="LEFT"
6529VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006530>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006531></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006532></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006533></TABLE
6534><P
6535></P
6536></DIV
6537></DIV
6538><HR><DIV
6539CLASS="REFSECT2"
6540><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006541NAME="AEN10129"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006542></A
6543><H3
6544><A
6545NAME="XMLVALIDATEONEELEMENT"
6546></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006547>xmlValidateOneElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006548><TABLE
6549BORDER="0"
6550BGCOLOR="#D6E8FF"
6551WIDTH="100%"
6552CELLPADDING="6"
6553><TR
6554><TD
6555><PRE
6556CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006557>int xmlValidateOneElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006558HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006559>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006560> ctxt,
6561 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006562HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006563>xmlDocPtr</A
6564> doc,
6565 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006566HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006567>xmlNodePtr</A
6568> elem);</PRE
6569></TD
6570></TR
6571></TABLE
6572><P
6573>Try to validate a single element and it's attributes,
6574basically it does the following checks as described by the
6575XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00006576- [ VC: Element Valid ]
6577- [ VC: Required Attribute ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00006578Then call <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006579HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006580>xmlValidateOneAttribute</A
6581>() for each attribute present.</P
6582><P
6583>The ID/IDREF checkings are done separately</P
6584><P
6585></P
6586><DIV
6587CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006588><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006589NAME="AEN10140"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006590></P
6591><TABLE
6592BORDER="0"
6593WIDTH="100%"
6594BGCOLOR="#FFD0D0"
6595CELLSPACING="0"
6596CELLPADDING="4"
6597CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006598><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006599><TR
6600><TD
6601WIDTH="20%"
6602ALIGN="RIGHT"
6603VALIGN="TOP"
6604><TT
6605CLASS="PARAMETER"
6606><I
6607>ctxt</I
6608></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006609>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006610><TD
6611WIDTH="80%"
6612ALIGN="LEFT"
6613VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006614> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006615></TR
6616><TR
6617><TD
6618WIDTH="20%"
6619ALIGN="RIGHT"
6620VALIGN="TOP"
6621><TT
6622CLASS="PARAMETER"
6623><I
6624>doc</I
6625></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006626>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006627><TD
6628WIDTH="80%"
6629ALIGN="LEFT"
6630VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006631> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006632></TR
6633><TR
6634><TD
6635WIDTH="20%"
6636ALIGN="RIGHT"
6637VALIGN="TOP"
6638><TT
6639CLASS="PARAMETER"
6640><I
6641>elem</I
6642></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006643>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006644><TD
6645WIDTH="80%"
6646ALIGN="LEFT"
6647VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006648> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006649></TR
6650><TR
6651><TD
6652WIDTH="20%"
6653ALIGN="RIGHT"
6654VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006655><SPAN
6656CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006657><I
6658CLASS="EMPHASIS"
6659>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006660></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006661> :</TD
6662><TD
6663WIDTH="80%"
6664ALIGN="LEFT"
6665VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006666>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006667></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006668></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006669></TABLE
6670><P
6671></P
6672></DIV
6673></DIV
6674><HR><DIV
6675CLASS="REFSECT2"
6676><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006677NAME="AEN10161"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006678></A
6679><H3
6680><A
6681NAME="XMLVALIDATEONEATTRIBUTE"
6682></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006683>xmlValidateOneAttribute ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006684><TABLE
6685BORDER="0"
6686BGCOLOR="#D6E8FF"
6687WIDTH="100%"
6688CELLPADDING="6"
6689><TR
6690><TD
6691><PRE
6692CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006693>int xmlValidateOneAttribute (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006694HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006695>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006696> ctxt,
6697 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006698HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006699>xmlDocPtr</A
6700> doc,
6701 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006702HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006703>xmlNodePtr</A
6704> elem,
6705 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006706HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006707>xmlAttrPtr</A
6708> attr,
6709 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006710HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006711>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006712> *value);</PRE
6713></TD
6714></TR
6715></TABLE
6716><P
6717>Try to validate a single attribute for an element
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006718basically it does the following checks as described by the
Daniel Veillardb05deb71999-08-10 19:04:08 +00006719XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00006720- [ VC: Attribute Value Type ]
6721- [ VC: Fixed Attribute Default ]
6722- [ VC: Entity Name ]
6723- [ VC: Name Token ]
6724- [ VC: ID ]
6725- [ VC: IDREF ]
6726- [ VC: Entity Name ]
6727- [ VC: Notation Attributes ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006728><P
6729>The ID/IDREF uniqueness and matching are done separately</P
6730><P
6731></P
6732><DIV
6733CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006734><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006735NAME="AEN10173"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006736></P
6737><TABLE
6738BORDER="0"
6739WIDTH="100%"
6740BGCOLOR="#FFD0D0"
6741CELLSPACING="0"
6742CELLPADDING="4"
6743CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006744><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006745><TR
6746><TD
6747WIDTH="20%"
6748ALIGN="RIGHT"
6749VALIGN="TOP"
6750><TT
6751CLASS="PARAMETER"
6752><I
6753>ctxt</I
6754></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006755>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006756><TD
6757WIDTH="80%"
6758ALIGN="LEFT"
6759VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006760> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006761></TR
6762><TR
6763><TD
6764WIDTH="20%"
6765ALIGN="RIGHT"
6766VALIGN="TOP"
6767><TT
6768CLASS="PARAMETER"
6769><I
6770>doc</I
6771></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006772>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006773><TD
6774WIDTH="80%"
6775ALIGN="LEFT"
6776VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006777> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006778></TR
6779><TR
6780><TD
6781WIDTH="20%"
6782ALIGN="RIGHT"
6783VALIGN="TOP"
6784><TT
6785CLASS="PARAMETER"
6786><I
6787>elem</I
6788></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006789>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006790><TD
6791WIDTH="80%"
6792ALIGN="LEFT"
6793VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006794> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006795></TR
6796><TR
6797><TD
6798WIDTH="20%"
6799ALIGN="RIGHT"
6800VALIGN="TOP"
6801><TT
6802CLASS="PARAMETER"
6803><I
6804>attr</I
6805></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006806>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006807><TD
6808WIDTH="80%"
6809ALIGN="LEFT"
6810VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006811> an attribute instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006812></TR
6813><TR
6814><TD
6815WIDTH="20%"
6816ALIGN="RIGHT"
6817VALIGN="TOP"
6818><TT
6819CLASS="PARAMETER"
6820><I
6821>value</I
6822></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006823>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006824><TD
6825WIDTH="80%"
6826ALIGN="LEFT"
6827VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006828> the attribute value (without entities processing)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006829></TR
6830><TR
6831><TD
6832WIDTH="20%"
6833ALIGN="RIGHT"
6834VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006835><SPAN
6836CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006837><I
6838CLASS="EMPHASIS"
6839>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006840></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006841> :</TD
6842><TD
6843WIDTH="80%"
6844ALIGN="LEFT"
6845VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006846>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006847></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006848></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006849></TABLE
6850><P
6851></P
6852></DIV
6853></DIV
6854><HR><DIV
6855CLASS="REFSECT2"
6856><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00006857NAME="AEN10202"
6858></A
6859><H3
6860><A
6861NAME="XMLVALIDATEONENAMESPACE"
6862></A
6863>xmlValidateOneNamespace ()</H3
6864><TABLE
6865BORDER="0"
6866BGCOLOR="#D6E8FF"
6867WIDTH="100%"
6868CELLPADDING="6"
6869><TR
6870><TD
6871><PRE
6872CLASS="PROGRAMLISTING"
6873>int xmlValidateOneNamespace (<A
6874HREF="libxml-valid.html#XMLVALIDCTXTPTR"
6875>xmlValidCtxtPtr</A
6876> ctxt,
6877 <A
6878HREF="libxml-tree.html#XMLDOCPTR"
6879>xmlDocPtr</A
6880> doc,
6881 <A
6882HREF="libxml-tree.html#XMLNODEPTR"
6883>xmlNodePtr</A
6884> elem,
6885 const <A
6886HREF="libxml-tree.html#XMLCHAR"
6887>xmlChar</A
6888> *prefix,
6889 <A
6890HREF="libxml-tree.html#XMLNSPTR"
6891>xmlNsPtr</A
6892> ns,
6893 const <A
6894HREF="libxml-tree.html#XMLCHAR"
6895>xmlChar</A
6896> *value);</PRE
6897></TD
6898></TR
6899></TABLE
6900><P
6901>Try to validate a single namespace declaration for an element
6902basically it does the following checks as described by the
6903XML-1.0 recommendation:
6904- [ VC: Attribute Value Type ]
6905- [ VC: Fixed Attribute Default ]
6906- [ VC: Entity Name ]
6907- [ VC: Name Token ]
6908- [ VC: ID ]
6909- [ VC: IDREF ]
6910- [ VC: Entity Name ]
6911- [ VC: Notation Attributes ]</P
6912><P
6913>The ID/IDREF uniqueness and matching are done separately</P
6914><P
6915></P
6916><DIV
6917CLASS="INFORMALTABLE"
6918><A
6919NAME="AEN10215"><P
6920></P
6921><TABLE
6922BORDER="0"
6923WIDTH="100%"
6924BGCOLOR="#FFD0D0"
6925CELLSPACING="0"
6926CELLPADDING="4"
6927CLASS="CALSTABLE"
6928><TBODY
6929><TR
6930><TD
6931WIDTH="20%"
6932ALIGN="RIGHT"
6933VALIGN="TOP"
6934><TT
6935CLASS="PARAMETER"
6936><I
6937>ctxt</I
6938></TT
6939>&nbsp;:</TD
6940><TD
6941WIDTH="80%"
6942ALIGN="LEFT"
6943VALIGN="TOP"
6944> the validation context</TD
6945></TR
6946><TR
6947><TD
6948WIDTH="20%"
6949ALIGN="RIGHT"
6950VALIGN="TOP"
6951><TT
6952CLASS="PARAMETER"
6953><I
6954>doc</I
6955></TT
6956>&nbsp;:</TD
6957><TD
6958WIDTH="80%"
6959ALIGN="LEFT"
6960VALIGN="TOP"
6961> a document instance</TD
6962></TR
6963><TR
6964><TD
6965WIDTH="20%"
6966ALIGN="RIGHT"
6967VALIGN="TOP"
6968><TT
6969CLASS="PARAMETER"
6970><I
6971>elem</I
6972></TT
6973>&nbsp;:</TD
6974><TD
6975WIDTH="80%"
6976ALIGN="LEFT"
6977VALIGN="TOP"
6978> an element instance</TD
6979></TR
6980><TR
6981><TD
6982WIDTH="20%"
6983ALIGN="RIGHT"
6984VALIGN="TOP"
6985><TT
6986CLASS="PARAMETER"
6987><I
6988>prefix</I
6989></TT
6990>&nbsp;:</TD
6991><TD
6992WIDTH="80%"
6993ALIGN="LEFT"
6994VALIGN="TOP"
6995>&nbsp;</TD
6996></TR
6997><TR
6998><TD
6999WIDTH="20%"
7000ALIGN="RIGHT"
7001VALIGN="TOP"
7002><TT
7003CLASS="PARAMETER"
7004><I
7005>ns</I
7006></TT
7007>&nbsp;:</TD
7008><TD
7009WIDTH="80%"
7010ALIGN="LEFT"
7011VALIGN="TOP"
7012> an namespace declaration instance</TD
7013></TR
7014><TR
7015><TD
7016WIDTH="20%"
7017ALIGN="RIGHT"
7018VALIGN="TOP"
7019><TT
7020CLASS="PARAMETER"
7021><I
7022>value</I
7023></TT
7024>&nbsp;:</TD
7025><TD
7026WIDTH="80%"
7027ALIGN="LEFT"
7028VALIGN="TOP"
7029> the attribute value (without entities processing)</TD
7030></TR
7031><TR
7032><TD
7033WIDTH="20%"
7034ALIGN="RIGHT"
7035VALIGN="TOP"
7036><SPAN
7037CLASS="emphasis"
7038><I
7039CLASS="EMPHASIS"
7040>Returns</I
7041></SPAN
7042> :</TD
7043><TD
7044WIDTH="80%"
7045ALIGN="LEFT"
7046VALIGN="TOP"
7047>1 if valid or 0 otherwise</TD
7048></TR
7049></TBODY
7050></TABLE
7051><P
7052></P
7053></DIV
7054></DIV
7055><HR><DIV
7056CLASS="REFSECT2"
7057><A
7058NAME="AEN10248"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007059></A
7060><H3
7061><A
7062NAME="XMLVALIDATEDOCUMENTFINAL"
7063></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007064>xmlValidateDocumentFinal ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007065><TABLE
7066BORDER="0"
7067BGCOLOR="#D6E8FF"
7068WIDTH="100%"
7069CELLPADDING="6"
7070><TR
7071><TD
7072><PRE
7073CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007074>int xmlValidateDocumentFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007075HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007076>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007077> ctxt,
7078 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007079HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007080>xmlDocPtr</A
7081> doc);</PRE
7082></TD
7083></TR
7084></TABLE
7085><P
7086>Does the final step for the document validation once all the
7087incremental validation steps have been completed</P
7088><P
7089>basically it does the following checks described by the XML Rec</P
7090><P
7091></P
7092><DIV
7093CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007094><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007095NAME="AEN10257"><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007096></P
7097><TABLE
7098BORDER="0"
7099WIDTH="100%"
7100BGCOLOR="#FFD0D0"
7101CELLSPACING="0"
7102CELLPADDING="4"
7103CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007104><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007105><TR
7106><TD
7107WIDTH="20%"
7108ALIGN="RIGHT"
7109VALIGN="TOP"
7110><TT
7111CLASS="PARAMETER"
7112><I
7113>ctxt</I
7114></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007115>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007116><TD
7117WIDTH="80%"
7118ALIGN="LEFT"
7119VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007120> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007121></TR
7122><TR
7123><TD
7124WIDTH="20%"
7125ALIGN="RIGHT"
7126VALIGN="TOP"
7127><TT
7128CLASS="PARAMETER"
7129><I
7130>doc</I
7131></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007132>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007133><TD
7134WIDTH="80%"
7135ALIGN="LEFT"
7136VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007137> a document instance</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007138></TR
7139><TR
7140><TD
7141WIDTH="20%"
7142ALIGN="RIGHT"
7143VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007144><SPAN
7145CLASS="emphasis"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007146><I
7147CLASS="EMPHASIS"
7148>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007149></SPAN
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007150> :</TD
7151><TD
7152WIDTH="80%"
7153ALIGN="LEFT"
7154VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007155>1 if valid or 0 otherwise</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007156></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007157></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00007158></TABLE
7159><P
7160></P
7161></DIV
7162></DIV
7163><HR><DIV
7164CLASS="REFSECT2"
7165><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007166NAME="AEN10274"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007167></A
7168><H3
7169><A
7170NAME="XMLVALIDATENOTATIONUSE"
7171></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007172>xmlValidateNotationUse ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007173><TABLE
7174BORDER="0"
7175BGCOLOR="#D6E8FF"
7176WIDTH="100%"
7177CELLPADDING="6"
7178><TR
7179><TD
7180><PRE
7181CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007182>int xmlValidateNotationUse (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007183HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007184>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007185> ctxt,
7186 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007187HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007188>xmlDocPtr</A
7189> doc,
7190 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007191HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007192>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007193> *notationName);</PRE
7194></TD
7195></TR
7196></TABLE
7197><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007198>Validate that the given name match a notation declaration.
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007199- [ VC: Notation Declared ]</P
7200><P
7201></P
7202><DIV
7203CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007204><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007205NAME="AEN10283"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007206></P
7207><TABLE
7208BORDER="0"
7209WIDTH="100%"
7210BGCOLOR="#FFD0D0"
7211CELLSPACING="0"
7212CELLPADDING="4"
7213CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007214><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007215><TR
7216><TD
7217WIDTH="20%"
7218ALIGN="RIGHT"
7219VALIGN="TOP"
7220><TT
7221CLASS="PARAMETER"
7222><I
7223>ctxt</I
7224></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007225>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007226><TD
7227WIDTH="80%"
7228ALIGN="LEFT"
7229VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007230> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007231></TR
7232><TR
7233><TD
7234WIDTH="20%"
7235ALIGN="RIGHT"
7236VALIGN="TOP"
7237><TT
7238CLASS="PARAMETER"
7239><I
7240>doc</I
7241></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007242>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007243><TD
7244WIDTH="80%"
7245ALIGN="LEFT"
7246VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007247> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007248></TR
7249><TR
7250><TD
7251WIDTH="20%"
7252ALIGN="RIGHT"
7253VALIGN="TOP"
7254><TT
7255CLASS="PARAMETER"
7256><I
7257>notationName</I
7258></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007259>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007260><TD
7261WIDTH="80%"
7262ALIGN="LEFT"
7263VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007264> the notation name to check</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007265></TR
7266><TR
7267><TD
7268WIDTH="20%"
7269ALIGN="RIGHT"
7270VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007271><SPAN
7272CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007273><I
7274CLASS="EMPHASIS"
7275>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007276></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007277> :</TD
7278><TD
7279WIDTH="80%"
7280ALIGN="LEFT"
7281VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007282>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007283></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007284></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007285></TABLE
7286><P
7287></P
7288></DIV
7289></DIV
7290><HR><DIV
7291CLASS="REFSECT2"
7292><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007293NAME="AEN10304"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007294></A
7295><H3
7296><A
7297NAME="XMLISMIXEDELEMENT"
7298></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007299>xmlIsMixedElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00007300><TABLE
7301BORDER="0"
7302BGCOLOR="#D6E8FF"
7303WIDTH="100%"
7304CELLPADDING="6"
7305><TR
7306><TD
7307><PRE
7308CLASS="PROGRAMLISTING"
7309>int xmlIsMixedElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007310HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007311>xmlDocPtr</A
7312> doc,
7313 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007314HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007315>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007316> *name);</PRE
7317></TD
7318></TR
7319></TABLE
7320><P
7321>Search in the DtDs whether an element accept Mixed content (or ANY)
7322basically if it is supposed to accept text childs</P
7323><P
7324></P
7325><DIV
7326CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007327><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007328NAME="AEN10312"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007329></P
7330><TABLE
7331BORDER="0"
7332WIDTH="100%"
7333BGCOLOR="#FFD0D0"
7334CELLSPACING="0"
7335CELLPADDING="4"
7336CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007337><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00007338><TR
7339><TD
7340WIDTH="20%"
7341ALIGN="RIGHT"
7342VALIGN="TOP"
7343><TT
7344CLASS="PARAMETER"
7345><I
7346>doc</I
7347></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007348>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007349><TD
7350WIDTH="80%"
7351ALIGN="LEFT"
7352VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007353> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007354></TR
7355><TR
7356><TD
7357WIDTH="20%"
7358ALIGN="RIGHT"
7359VALIGN="TOP"
7360><TT
7361CLASS="PARAMETER"
7362><I
7363>name</I
7364></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007365>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007366><TD
7367WIDTH="80%"
7368ALIGN="LEFT"
7369VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007370> the element name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007371></TR
7372><TR
7373><TD
7374WIDTH="20%"
7375ALIGN="RIGHT"
7376VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007377><SPAN
7378CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007379><I
7380CLASS="EMPHASIS"
7381>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007382></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00007383> :</TD
7384><TD
7385WIDTH="80%"
7386ALIGN="LEFT"
7387VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007388>0 if no, 1 if yes, and -1 if no element description is available</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007389></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007390></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007391></TABLE
7392><P
7393></P
7394></DIV
7395></DIV
7396><HR><DIV
7397CLASS="REFSECT2"
7398><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007399NAME="AEN10329"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007400></A
7401><H3
7402><A
7403NAME="XMLGETDTDATTRDESC"
7404></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007405>xmlGetDtdAttrDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007406><TABLE
7407BORDER="0"
7408BGCOLOR="#D6E8FF"
7409WIDTH="100%"
7410CELLPADDING="6"
7411><TR
7412><TD
7413><PRE
7414CLASS="PROGRAMLISTING"
7415><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007416HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007417>xmlAttributePtr</A
7418> xmlGetDtdAttrDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007419HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007420>xmlDtdPtr</A
7421> dtd,
7422 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007423HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007424>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007425> *elem,
7426 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007427HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007428>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007429> *name);</PRE
7430></TD
7431></TR
7432></TABLE
7433><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007434>Search the DTD for the description of this attribute on
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007435this element.</P
7436><P
7437></P
7438><DIV
7439CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007440><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007441NAME="AEN10339"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007442></P
7443><TABLE
7444BORDER="0"
7445WIDTH="100%"
7446BGCOLOR="#FFD0D0"
7447CELLSPACING="0"
7448CELLPADDING="4"
7449CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007450><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007451><TR
7452><TD
7453WIDTH="20%"
7454ALIGN="RIGHT"
7455VALIGN="TOP"
7456><TT
7457CLASS="PARAMETER"
7458><I
7459>dtd</I
7460></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007461>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007462><TD
7463WIDTH="80%"
7464ALIGN="LEFT"
7465VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007466> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007467></TR
7468><TR
7469><TD
7470WIDTH="20%"
7471ALIGN="RIGHT"
7472VALIGN="TOP"
7473><TT
7474CLASS="PARAMETER"
7475><I
7476>elem</I
7477></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007478>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007479><TD
7480WIDTH="80%"
7481ALIGN="LEFT"
7482VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007483> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007484></TR
7485><TR
7486><TD
7487WIDTH="20%"
7488ALIGN="RIGHT"
7489VALIGN="TOP"
7490><TT
7491CLASS="PARAMETER"
7492><I
7493>name</I
7494></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007495>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007496><TD
7497WIDTH="80%"
7498ALIGN="LEFT"
7499VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007500> the attribute name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007501></TR
7502><TR
7503><TD
7504WIDTH="20%"
7505ALIGN="RIGHT"
7506VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007507><SPAN
7508CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007509><I
7510CLASS="EMPHASIS"
7511>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007512></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007513> :</TD
7514><TD
7515WIDTH="80%"
7516ALIGN="LEFT"
7517VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007518>the xmlAttributePtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007519></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007520></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007521></TABLE
7522><P
7523></P
7524></DIV
7525></DIV
7526><HR><DIV
7527CLASS="REFSECT2"
7528><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007529NAME="AEN10360"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007530></A
7531><H3
7532><A
7533NAME="XMLGETDTDQATTRDESC"
7534></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007535>xmlGetDtdQAttrDesc ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007536><TABLE
7537BORDER="0"
7538BGCOLOR="#D6E8FF"
7539WIDTH="100%"
7540CELLPADDING="6"
7541><TR
7542><TD
7543><PRE
7544CLASS="PROGRAMLISTING"
7545><A
7546HREF="libxml-tree.html#XMLATTRIBUTEPTR"
7547>xmlAttributePtr</A
7548> xmlGetDtdQAttrDesc (<A
7549HREF="libxml-tree.html#XMLDTDPTR"
7550>xmlDtdPtr</A
7551> dtd,
7552 const <A
7553HREF="libxml-tree.html#XMLCHAR"
7554>xmlChar</A
7555> *elem,
7556 const <A
7557HREF="libxml-tree.html#XMLCHAR"
7558>xmlChar</A
7559> *name,
7560 const <A
7561HREF="libxml-tree.html#XMLCHAR"
7562>xmlChar</A
7563> *prefix);</PRE
7564></TD
7565></TR
7566></TABLE
7567><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007568>Search the DTD for the description of this qualified attribute on
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007569this element.</P
7570><P
7571></P
7572><DIV
7573CLASS="INFORMALTABLE"
7574><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007575NAME="AEN10371"><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007576></P
7577><TABLE
7578BORDER="0"
7579WIDTH="100%"
7580BGCOLOR="#FFD0D0"
7581CELLSPACING="0"
7582CELLPADDING="4"
7583CLASS="CALSTABLE"
7584><TBODY
7585><TR
7586><TD
7587WIDTH="20%"
7588ALIGN="RIGHT"
7589VALIGN="TOP"
7590><TT
7591CLASS="PARAMETER"
7592><I
7593>dtd</I
7594></TT
7595>&nbsp;:</TD
7596><TD
7597WIDTH="80%"
7598ALIGN="LEFT"
7599VALIGN="TOP"
7600> a pointer to the DtD to search</TD
7601></TR
7602><TR
7603><TD
7604WIDTH="20%"
7605ALIGN="RIGHT"
7606VALIGN="TOP"
7607><TT
7608CLASS="PARAMETER"
7609><I
7610>elem</I
7611></TT
7612>&nbsp;:</TD
7613><TD
7614WIDTH="80%"
7615ALIGN="LEFT"
7616VALIGN="TOP"
7617> the element name</TD
7618></TR
7619><TR
7620><TD
7621WIDTH="20%"
7622ALIGN="RIGHT"
7623VALIGN="TOP"
7624><TT
7625CLASS="PARAMETER"
7626><I
7627>name</I
7628></TT
7629>&nbsp;:</TD
7630><TD
7631WIDTH="80%"
7632ALIGN="LEFT"
7633VALIGN="TOP"
7634> the attribute name</TD
7635></TR
7636><TR
7637><TD
7638WIDTH="20%"
7639ALIGN="RIGHT"
7640VALIGN="TOP"
7641><TT
7642CLASS="PARAMETER"
7643><I
7644>prefix</I
7645></TT
7646>&nbsp;:</TD
7647><TD
7648WIDTH="80%"
7649ALIGN="LEFT"
7650VALIGN="TOP"
7651> the attribute namespace prefix</TD
7652></TR
7653><TR
7654><TD
7655WIDTH="20%"
7656ALIGN="RIGHT"
7657VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007658><SPAN
7659CLASS="emphasis"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007660><I
7661CLASS="EMPHASIS"
7662>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007663></SPAN
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007664> :</TD
7665><TD
7666WIDTH="80%"
7667ALIGN="LEFT"
7668VALIGN="TOP"
7669>the xmlAttributePtr if found or NULL</TD
7670></TR
7671></TBODY
7672></TABLE
7673><P
7674></P
7675></DIV
7676></DIV
7677><HR><DIV
7678CLASS="REFSECT2"
7679><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007680NAME="AEN10396"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007681></A
7682><H3
7683><A
7684NAME="XMLGETDTDNOTATIONDESC"
7685></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007686>xmlGetDtdNotationDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007687><TABLE
7688BORDER="0"
7689BGCOLOR="#D6E8FF"
7690WIDTH="100%"
7691CELLPADDING="6"
7692><TR
7693><TD
7694><PRE
7695CLASS="PROGRAMLISTING"
7696><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007697HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007698>xmlNotationPtr</A
7699> xmlGetDtdNotationDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007700HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007701>xmlDtdPtr</A
7702> dtd,
7703 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007704HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007705>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007706> *name);</PRE
7707></TD
7708></TR
7709></TABLE
7710><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007711>Search the DTD for the description of this notation</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007712><P
7713></P
7714><DIV
7715CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007716><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007717NAME="AEN10405"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007718></P
7719><TABLE
7720BORDER="0"
7721WIDTH="100%"
7722BGCOLOR="#FFD0D0"
7723CELLSPACING="0"
7724CELLPADDING="4"
7725CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007726><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007727><TR
7728><TD
7729WIDTH="20%"
7730ALIGN="RIGHT"
7731VALIGN="TOP"
7732><TT
7733CLASS="PARAMETER"
7734><I
7735>dtd</I
7736></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007737>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007738><TD
7739WIDTH="80%"
7740ALIGN="LEFT"
7741VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007742> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007743></TR
7744><TR
7745><TD
7746WIDTH="20%"
7747ALIGN="RIGHT"
7748VALIGN="TOP"
7749><TT
7750CLASS="PARAMETER"
7751><I
7752>name</I
7753></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007754>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007755><TD
7756WIDTH="80%"
7757ALIGN="LEFT"
7758VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007759> the notation name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007760></TR
7761><TR
7762><TD
7763WIDTH="20%"
7764ALIGN="RIGHT"
7765VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007766><SPAN
7767CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007768><I
7769CLASS="EMPHASIS"
7770>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007771></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007772> :</TD
7773><TD
7774WIDTH="80%"
7775ALIGN="LEFT"
7776VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007777>the xmlNotationPtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007778></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007779></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007780></TABLE
7781><P
7782></P
7783></DIV
7784></DIV
7785><HR><DIV
7786CLASS="REFSECT2"
7787><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007788NAME="AEN10422"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007789></A
7790><H3
7791><A
7792NAME="XMLGETDTDQELEMENTDESC"
7793></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007794>xmlGetDtdQElementDesc ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007795><TABLE
7796BORDER="0"
7797BGCOLOR="#D6E8FF"
7798WIDTH="100%"
7799CELLPADDING="6"
7800><TR
7801><TD
7802><PRE
7803CLASS="PROGRAMLISTING"
7804><A
7805HREF="libxml-tree.html#XMLELEMENTPTR"
7806>xmlElementPtr</A
7807> xmlGetDtdQElementDesc (<A
7808HREF="libxml-tree.html#XMLDTDPTR"
7809>xmlDtdPtr</A
7810> dtd,
7811 const <A
7812HREF="libxml-tree.html#XMLCHAR"
7813>xmlChar</A
7814> *name,
7815 const <A
7816HREF="libxml-tree.html#XMLCHAR"
7817>xmlChar</A
7818> *prefix);</PRE
7819></TD
7820></TR
7821></TABLE
7822><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007823>Search the DTD for the description of this element</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007824><P
7825></P
7826><DIV
7827CLASS="INFORMALTABLE"
7828><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007829NAME="AEN10432"><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007830></P
7831><TABLE
7832BORDER="0"
7833WIDTH="100%"
7834BGCOLOR="#FFD0D0"
7835CELLSPACING="0"
7836CELLPADDING="4"
7837CLASS="CALSTABLE"
7838><TBODY
7839><TR
7840><TD
7841WIDTH="20%"
7842ALIGN="RIGHT"
7843VALIGN="TOP"
7844><TT
7845CLASS="PARAMETER"
7846><I
7847>dtd</I
7848></TT
7849>&nbsp;:</TD
7850><TD
7851WIDTH="80%"
7852ALIGN="LEFT"
7853VALIGN="TOP"
7854> a pointer to the DtD to search</TD
7855></TR
7856><TR
7857><TD
7858WIDTH="20%"
7859ALIGN="RIGHT"
7860VALIGN="TOP"
7861><TT
7862CLASS="PARAMETER"
7863><I
7864>name</I
7865></TT
7866>&nbsp;:</TD
7867><TD
7868WIDTH="80%"
7869ALIGN="LEFT"
7870VALIGN="TOP"
7871> the element name</TD
7872></TR
7873><TR
7874><TD
7875WIDTH="20%"
7876ALIGN="RIGHT"
7877VALIGN="TOP"
7878><TT
7879CLASS="PARAMETER"
7880><I
7881>prefix</I
7882></TT
7883>&nbsp;:</TD
7884><TD
7885WIDTH="80%"
7886ALIGN="LEFT"
7887VALIGN="TOP"
7888> the element namespace prefix</TD
7889></TR
7890><TR
7891><TD
7892WIDTH="20%"
7893ALIGN="RIGHT"
7894VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007895><SPAN
7896CLASS="emphasis"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007897><I
7898CLASS="EMPHASIS"
7899>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007900></SPAN
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007901> :</TD
7902><TD
7903WIDTH="80%"
7904ALIGN="LEFT"
7905VALIGN="TOP"
7906>the xmlElementPtr if found or NULL</TD
7907></TR
7908></TBODY
7909></TABLE
7910><P
7911></P
7912></DIV
7913></DIV
7914><HR><DIV
7915CLASS="REFSECT2"
7916><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007917NAME="AEN10453"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007918></A
7919><H3
7920><A
7921NAME="XMLGETDTDELEMENTDESC"
7922></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007923>xmlGetDtdElementDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007924><TABLE
7925BORDER="0"
7926BGCOLOR="#D6E8FF"
7927WIDTH="100%"
7928CELLPADDING="6"
7929><TR
7930><TD
7931><PRE
7932CLASS="PROGRAMLISTING"
7933><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007934HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007935>xmlElementPtr</A
7936> xmlGetDtdElementDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007937HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007938>xmlDtdPtr</A
7939> dtd,
7940 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007941HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007942>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007943> *name);</PRE
7944></TD
7945></TR
7946></TABLE
7947><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007948>Search the DTD for the description of this element</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007949><P
7950></P
7951><DIV
7952CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007953><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00007954NAME="AEN10462"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007955></P
7956><TABLE
7957BORDER="0"
7958WIDTH="100%"
7959BGCOLOR="#FFD0D0"
7960CELLSPACING="0"
7961CELLPADDING="4"
7962CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007963><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007964><TR
7965><TD
7966WIDTH="20%"
7967ALIGN="RIGHT"
7968VALIGN="TOP"
7969><TT
7970CLASS="PARAMETER"
7971><I
7972>dtd</I
7973></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007974>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007975><TD
7976WIDTH="80%"
7977ALIGN="LEFT"
7978VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007979> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007980></TR
7981><TR
7982><TD
7983WIDTH="20%"
7984ALIGN="RIGHT"
7985VALIGN="TOP"
7986><TT
7987CLASS="PARAMETER"
7988><I
7989>name</I
7990></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007991>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007992><TD
7993WIDTH="80%"
7994ALIGN="LEFT"
7995VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007996> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007997></TR
7998><TR
7999><TD
8000WIDTH="20%"
8001ALIGN="RIGHT"
8002VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008003><SPAN
8004CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008005><I
8006CLASS="EMPHASIS"
8007>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008008></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008009> :</TD
8010><TD
8011WIDTH="80%"
8012ALIGN="LEFT"
8013VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008014>the xmlElementPtr if found or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008015></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008016></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008017></TABLE
8018><P
8019></P
8020></DIV
8021></DIV
8022><HR><DIV
8023CLASS="REFSECT2"
8024><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008025NAME="AEN10479"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008026></A
8027><H3
8028><A
8029NAME="XMLVALIDGETVALIDELEMENTS"
8030></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008031>xmlValidGetValidElements ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008032><TABLE
8033BORDER="0"
8034BGCOLOR="#D6E8FF"
8035WIDTH="100%"
8036CELLPADDING="6"
8037><TR
8038><TD
8039><PRE
8040CLASS="PROGRAMLISTING"
8041>int xmlValidGetValidElements (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008042HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008043>xmlNode</A
8044> *prev,
8045 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008046HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008047>xmlNode</A
8048> *next,
8049 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008050HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008051>xmlChar</A
8052> **list,
8053 int max);</PRE
8054></TD
8055></TR
8056></TABLE
8057><P
8058>This function returns the list of authorized children to insert
8059within an existing tree while respecting the validity constraints
8060forced by the Dtd. The insertion point is defined using <TT
8061CLASS="PARAMETER"
8062><I
8063>prev</I
8064></TT
8065> and
8066<TT
8067CLASS="PARAMETER"
8068><I
8069>next</I
8070></TT
8071> in the following ways:
Daniel Veillardaf43f632002-03-08 15:05:20 +00008072to insert before 'node': xmlValidGetValidElements(node-&gt;prev, node, ...
8073to insert next 'node': xmlValidGetValidElements(node, node-&gt;next, ...
8074to replace 'node': xmlValidGetValidElements(node-&gt;prev, node-&gt;next, ...
8075to prepend a child to 'node': xmlValidGetValidElements(NULL, node-&gt;childs,
8076to append a child to 'node': xmlValidGetValidElements(node-&gt;last, NULL, ...</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008077><P
8078>pointers to the element names are inserted at the beginning of the array
8079and do not need to be freed.</P
8080><P
8081></P
8082><DIV
8083CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008084><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008085NAME="AEN10491"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008086></P
8087><TABLE
8088BORDER="0"
8089WIDTH="100%"
8090BGCOLOR="#FFD0D0"
8091CELLSPACING="0"
8092CELLPADDING="4"
8093CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008094><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008095><TR
8096><TD
8097WIDTH="20%"
8098ALIGN="RIGHT"
8099VALIGN="TOP"
8100><TT
8101CLASS="PARAMETER"
8102><I
8103>prev</I
8104></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008105>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008106><TD
8107WIDTH="80%"
8108ALIGN="LEFT"
8109VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008110> an element to insert after</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008111></TR
8112><TR
8113><TD
8114WIDTH="20%"
8115ALIGN="RIGHT"
8116VALIGN="TOP"
8117><TT
8118CLASS="PARAMETER"
8119><I
8120>next</I
8121></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008122>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008123><TD
8124WIDTH="80%"
8125ALIGN="LEFT"
8126VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008127> an element to insert next</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008128></TR
8129><TR
8130><TD
8131WIDTH="20%"
8132ALIGN="RIGHT"
8133VALIGN="TOP"
8134><TT
8135CLASS="PARAMETER"
8136><I
8137>list</I
8138></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008139>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008140><TD
8141WIDTH="80%"
8142ALIGN="LEFT"
8143VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008144> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008145></TR
8146><TR
8147><TD
8148WIDTH="20%"
8149ALIGN="RIGHT"
8150VALIGN="TOP"
8151><TT
8152CLASS="PARAMETER"
8153><I
8154>max</I
8155></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008156>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008157><TD
8158WIDTH="80%"
8159ALIGN="LEFT"
8160VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008161> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008162></TR
8163><TR
8164><TD
8165WIDTH="20%"
8166ALIGN="RIGHT"
8167VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008168><SPAN
8169CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008170><I
8171CLASS="EMPHASIS"
8172>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008173></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008174> :</TD
8175><TD
8176WIDTH="80%"
8177ALIGN="LEFT"
8178VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008179>the number of element in the list, or -1 in case of error. If
Daniel Veillardaf43f632002-03-08 15:05:20 +00008180the function returns the value <TT
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008181CLASS="PARAMETER"
8182><I
8183>max</I
8184></TT
8185> the caller is invited to grow the
Daniel Veillardaf43f632002-03-08 15:05:20 +00008186receiving array and retry.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008187></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008188></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008189></TABLE
8190><P
8191></P
8192></DIV
8193></DIV
8194><HR><DIV
8195CLASS="REFSECT2"
8196><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008197NAME="AEN10517"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008198></A
8199><H3
8200><A
8201NAME="XMLVALIDGETPOTENTIALCHILDREN"
8202></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008203>xmlValidGetPotentialChildren ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008204><TABLE
8205BORDER="0"
8206BGCOLOR="#D6E8FF"
8207WIDTH="100%"
8208CELLPADDING="6"
8209><TR
8210><TD
8211><PRE
8212CLASS="PROGRAMLISTING"
8213>int xmlValidGetPotentialChildren (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008214HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008215>xmlElementContent</A
8216> *ctree,
8217 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008218HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008219>xmlChar</A
8220> **list,
8221 int *len,
8222 int max);</PRE
8223></TD
8224></TR
8225></TABLE
8226><P
8227>Build/extend a list of potential children allowed by the content tree</P
8228><P
8229></P
8230><DIV
8231CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008232><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008233NAME="AEN10525"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008234></P
8235><TABLE
8236BORDER="0"
8237WIDTH="100%"
8238BGCOLOR="#FFD0D0"
8239CELLSPACING="0"
8240CELLPADDING="4"
8241CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008242><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008243><TR
8244><TD
8245WIDTH="20%"
8246ALIGN="RIGHT"
8247VALIGN="TOP"
8248><TT
8249CLASS="PARAMETER"
8250><I
8251>ctree</I
8252></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008253>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008254><TD
8255WIDTH="80%"
8256ALIGN="LEFT"
8257VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008258> an element content tree</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008259></TR
8260><TR
8261><TD
8262WIDTH="20%"
8263ALIGN="RIGHT"
8264VALIGN="TOP"
8265><TT
8266CLASS="PARAMETER"
8267><I
8268>list</I
8269></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008270>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008271><TD
8272WIDTH="80%"
8273ALIGN="LEFT"
8274VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008275> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008276></TR
8277><TR
8278><TD
8279WIDTH="20%"
8280ALIGN="RIGHT"
8281VALIGN="TOP"
8282><TT
8283CLASS="PARAMETER"
8284><I
8285>len</I
8286></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008287>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008288><TD
8289WIDTH="80%"
8290ALIGN="LEFT"
8291VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008292> a pointer to the number of element in the list</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008293></TR
8294><TR
8295><TD
8296WIDTH="20%"
8297ALIGN="RIGHT"
8298VALIGN="TOP"
8299><TT
8300CLASS="PARAMETER"
8301><I
8302>max</I
8303></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008304>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008305><TD
8306WIDTH="80%"
8307ALIGN="LEFT"
8308VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008309> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008310></TR
8311><TR
8312><TD
8313WIDTH="20%"
8314ALIGN="RIGHT"
8315VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008316><SPAN
8317CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008318><I
8319CLASS="EMPHASIS"
8320>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008321></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008322> :</TD
8323><TD
8324WIDTH="80%"
8325ALIGN="LEFT"
8326VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008327>the number of element in the list, or -1 in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008328></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008329></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008330></TABLE
8331><P
8332></P
8333></DIV
8334></DIV
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008335><HR><DIV
8336CLASS="REFSECT2"
8337><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008338NAME="AEN10550"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008339></A
8340><H3
8341><A
8342NAME="XMLVALIDATENAMEVALUE"
8343></A
8344>xmlValidateNameValue ()</H3
8345><TABLE
8346BORDER="0"
8347BGCOLOR="#D6E8FF"
8348WIDTH="100%"
8349CELLPADDING="6"
8350><TR
8351><TD
8352><PRE
8353CLASS="PROGRAMLISTING"
8354>int xmlValidateNameValue (const <A
8355HREF="libxml-tree.html#XMLCHAR"
8356>xmlChar</A
8357> *value);</PRE
8358></TD
8359></TR
8360></TABLE
8361><P
8362>Validate that the given value match Name production</P
8363><P
8364></P
8365><DIV
8366CLASS="INFORMALTABLE"
8367><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008368NAME="AEN10557"><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008369></P
8370><TABLE
8371BORDER="0"
8372WIDTH="100%"
8373BGCOLOR="#FFD0D0"
8374CELLSPACING="0"
8375CELLPADDING="4"
8376CLASS="CALSTABLE"
8377><TBODY
8378><TR
8379><TD
8380WIDTH="20%"
8381ALIGN="RIGHT"
8382VALIGN="TOP"
8383><TT
8384CLASS="PARAMETER"
8385><I
8386>value</I
8387></TT
8388>&nbsp;:</TD
8389><TD
8390WIDTH="80%"
8391ALIGN="LEFT"
8392VALIGN="TOP"
8393> an Name value</TD
8394></TR
8395><TR
8396><TD
8397WIDTH="20%"
8398ALIGN="RIGHT"
8399VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008400><SPAN
8401CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008402><I
8403CLASS="EMPHASIS"
8404>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008405></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008406> :</TD
8407><TD
8408WIDTH="80%"
8409ALIGN="LEFT"
8410VALIGN="TOP"
8411>1 if valid or 0 otherwise</TD
8412></TR
8413></TBODY
8414></TABLE
8415><P
8416></P
8417></DIV
8418></DIV
8419><HR><DIV
8420CLASS="REFSECT2"
8421><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008422NAME="AEN10570"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008423></A
8424><H3
8425><A
8426NAME="XMLVALIDATENAMESVALUE"
8427></A
8428>xmlValidateNamesValue ()</H3
8429><TABLE
8430BORDER="0"
8431BGCOLOR="#D6E8FF"
8432WIDTH="100%"
8433CELLPADDING="6"
8434><TR
8435><TD
8436><PRE
8437CLASS="PROGRAMLISTING"
8438>int xmlValidateNamesValue (const <A
8439HREF="libxml-tree.html#XMLCHAR"
8440>xmlChar</A
8441> *value);</PRE
8442></TD
8443></TR
8444></TABLE
8445><P
8446>Validate that the given value match Names production</P
8447><P
8448></P
8449><DIV
8450CLASS="INFORMALTABLE"
8451><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008452NAME="AEN10577"><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008453></P
8454><TABLE
8455BORDER="0"
8456WIDTH="100%"
8457BGCOLOR="#FFD0D0"
8458CELLSPACING="0"
8459CELLPADDING="4"
8460CLASS="CALSTABLE"
8461><TBODY
8462><TR
8463><TD
8464WIDTH="20%"
8465ALIGN="RIGHT"
8466VALIGN="TOP"
8467><TT
8468CLASS="PARAMETER"
8469><I
8470>value</I
8471></TT
8472>&nbsp;:</TD
8473><TD
8474WIDTH="80%"
8475ALIGN="LEFT"
8476VALIGN="TOP"
8477> an Names value</TD
8478></TR
8479><TR
8480><TD
8481WIDTH="20%"
8482ALIGN="RIGHT"
8483VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008484><SPAN
8485CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008486><I
8487CLASS="EMPHASIS"
8488>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008489></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008490> :</TD
8491><TD
8492WIDTH="80%"
8493ALIGN="LEFT"
8494VALIGN="TOP"
8495>1 if valid or 0 otherwise</TD
8496></TR
8497></TBODY
8498></TABLE
8499><P
8500></P
8501></DIV
8502></DIV
8503><HR><DIV
8504CLASS="REFSECT2"
8505><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008506NAME="AEN10590"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008507></A
8508><H3
8509><A
8510NAME="XMLVALIDATENMTOKENVALUE"
8511></A
8512>xmlValidateNmtokenValue ()</H3
8513><TABLE
8514BORDER="0"
8515BGCOLOR="#D6E8FF"
8516WIDTH="100%"
8517CELLPADDING="6"
8518><TR
8519><TD
8520><PRE
8521CLASS="PROGRAMLISTING"
8522>int xmlValidateNmtokenValue (const <A
8523HREF="libxml-tree.html#XMLCHAR"
8524>xmlChar</A
8525> *value);</PRE
8526></TD
8527></TR
8528></TABLE
8529><P
8530>Validate that the given value match Nmtoken production</P
8531><P
8532>[ VC: Name Token ]</P
8533><P
8534></P
8535><DIV
8536CLASS="INFORMALTABLE"
8537><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008538NAME="AEN10598"><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008539></P
8540><TABLE
8541BORDER="0"
8542WIDTH="100%"
8543BGCOLOR="#FFD0D0"
8544CELLSPACING="0"
8545CELLPADDING="4"
8546CLASS="CALSTABLE"
8547><TBODY
8548><TR
8549><TD
8550WIDTH="20%"
8551ALIGN="RIGHT"
8552VALIGN="TOP"
8553><TT
8554CLASS="PARAMETER"
8555><I
8556>value</I
8557></TT
8558>&nbsp;:</TD
8559><TD
8560WIDTH="80%"
8561ALIGN="LEFT"
8562VALIGN="TOP"
8563> an Nmtoken value</TD
8564></TR
8565><TR
8566><TD
8567WIDTH="20%"
8568ALIGN="RIGHT"
8569VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008570><SPAN
8571CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008572><I
8573CLASS="EMPHASIS"
8574>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008575></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008576> :</TD
8577><TD
8578WIDTH="80%"
8579ALIGN="LEFT"
8580VALIGN="TOP"
8581>1 if valid or 0 otherwise</TD
8582></TR
8583></TBODY
8584></TABLE
8585><P
8586></P
8587></DIV
8588></DIV
8589><HR><DIV
8590CLASS="REFSECT2"
8591><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008592NAME="AEN10611"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008593></A
8594><H3
8595><A
8596NAME="XMLVALIDATENMTOKENSVALUE"
8597></A
8598>xmlValidateNmtokensValue ()</H3
8599><TABLE
8600BORDER="0"
8601BGCOLOR="#D6E8FF"
8602WIDTH="100%"
8603CELLPADDING="6"
8604><TR
8605><TD
8606><PRE
8607CLASS="PROGRAMLISTING"
8608>int xmlValidateNmtokensValue (const <A
8609HREF="libxml-tree.html#XMLCHAR"
8610>xmlChar</A
8611> *value);</PRE
8612></TD
8613></TR
8614></TABLE
8615><P
8616>Validate that the given value match Nmtokens production</P
8617><P
8618>[ VC: Name Token ]</P
8619><P
8620></P
8621><DIV
8622CLASS="INFORMALTABLE"
8623><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008624NAME="AEN10619"><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008625></P
8626><TABLE
8627BORDER="0"
8628WIDTH="100%"
8629BGCOLOR="#FFD0D0"
8630CELLSPACING="0"
8631CELLPADDING="4"
8632CLASS="CALSTABLE"
8633><TBODY
8634><TR
8635><TD
8636WIDTH="20%"
8637ALIGN="RIGHT"
8638VALIGN="TOP"
8639><TT
8640CLASS="PARAMETER"
8641><I
8642>value</I
8643></TT
8644>&nbsp;:</TD
8645><TD
8646WIDTH="80%"
8647ALIGN="LEFT"
8648VALIGN="TOP"
8649> an Nmtokens value</TD
8650></TR
8651><TR
8652><TD
8653WIDTH="20%"
8654ALIGN="RIGHT"
8655VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008656><SPAN
8657CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008658><I
8659CLASS="EMPHASIS"
8660>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008661></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008662> :</TD
8663><TD
8664WIDTH="80%"
8665ALIGN="LEFT"
8666VALIGN="TOP"
8667>1 if valid or 0 otherwise</TD
8668></TR
8669></TBODY
8670></TABLE
8671><P
8672></P
8673></DIV
8674></DIV
Daniel Veillard2ace1952002-09-26 12:28:02 +00008675><HR><DIV
8676CLASS="REFSECT2"
8677><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008678NAME="AEN10632"
Daniel Veillard2ace1952002-09-26 12:28:02 +00008679></A
8680><H3
8681><A
8682NAME="XMLVALIDBUILDCONTENTMODEL"
8683></A
8684>xmlValidBuildContentModel ()</H3
8685><TABLE
8686BORDER="0"
8687BGCOLOR="#D6E8FF"
8688WIDTH="100%"
8689CELLPADDING="6"
8690><TR
8691><TD
8692><PRE
8693CLASS="PROGRAMLISTING"
8694>int xmlValidBuildContentModel (<A
8695HREF="libxml-valid.html#XMLVALIDCTXTPTR"
8696>xmlValidCtxtPtr</A
8697> ctxt,
8698 <A
8699HREF="libxml-tree.html#XMLELEMENTPTR"
8700>xmlElementPtr</A
8701> elem);</PRE
8702></TD
8703></TR
8704></TABLE
8705><P
8706>(Re)Build the automata associated to the content model of this
8707element</P
8708><P
8709></P
8710><DIV
8711CLASS="INFORMALTABLE"
8712><A
Daniel Veillard5ede35e2002-10-01 11:37:35 +00008713NAME="AEN10640"><P
Daniel Veillard2ace1952002-09-26 12:28:02 +00008714></P
8715><TABLE
8716BORDER="0"
8717WIDTH="100%"
8718BGCOLOR="#FFD0D0"
8719CELLSPACING="0"
8720CELLPADDING="4"
8721CLASS="CALSTABLE"
8722><TBODY
8723><TR
8724><TD
8725WIDTH="20%"
8726ALIGN="RIGHT"
8727VALIGN="TOP"
8728><TT
8729CLASS="PARAMETER"
8730><I
8731>ctxt</I
8732></TT
8733>&nbsp;:</TD
8734><TD
8735WIDTH="80%"
8736ALIGN="LEFT"
8737VALIGN="TOP"
8738> a validation context</TD
8739></TR
8740><TR
8741><TD
8742WIDTH="20%"
8743ALIGN="RIGHT"
8744VALIGN="TOP"
8745><TT
8746CLASS="PARAMETER"
8747><I
8748>elem</I
8749></TT
8750>&nbsp;:</TD
8751><TD
8752WIDTH="80%"
8753ALIGN="LEFT"
8754VALIGN="TOP"
8755> an element declaration node</TD
8756></TR
8757><TR
8758><TD
8759WIDTH="20%"
8760ALIGN="RIGHT"
8761VALIGN="TOP"
8762><SPAN
8763CLASS="emphasis"
8764><I
8765CLASS="EMPHASIS"
8766>Returns</I
8767></SPAN
8768> :</TD
8769><TD
8770WIDTH="80%"
8771ALIGN="LEFT"
8772VALIGN="TOP"
8773>1 in case of success, 0 in case of error</TD
8774></TR
8775></TBODY
8776></TABLE
8777><P
8778></P
8779></DIV
8780></DIV
Daniel Veillard35925471999-02-25 08:46:07 +00008781></DIV
8782><DIV
8783CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00008784><BR
8785CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00008786WIDTH="100%"
8787BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008788BGCOLOR="#000000"
8789CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00008790CELLSPACING="0"
8791><TR
8792><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008793WIDTH="25%"
8794BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00008795ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00008796><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008797HREF="libxml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008798><FONT
8799COLOR="#FFFFFF"
8800SIZE="3"
8801><B
8802>&#60;&#60;&#60; Previous Page</B
8803></FONT
8804></A
Daniel Veillard35925471999-02-25 08:46:07 +00008805></TD
8806><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008807WIDTH="25%"
8808BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00008809ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00008810><FONT
8811COLOR="#FFFFFF"
8812SIZE="3"
8813><B
Daniel Veillard35925471999-02-25 08:46:07 +00008814><A
8815HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008816><FONT
8817COLOR="#FFFFFF"
8818SIZE="3"
8819><B
8820>Home</B
8821></FONT
8822></A
8823></B
8824></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00008825></TD
8826><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008827WIDTH="25%"
8828BGCOLOR="#00C000"
8829ALIGN="center"
8830><FONT
8831COLOR="#FFFFFF"
8832SIZE="3"
8833><B
8834><A
Daniel Veillard35008381999-10-25 13:15:52 +00008835HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008836><FONT
8837COLOR="#FFFFFF"
8838SIZE="3"
8839><B
8840>Up</B
8841></FONT
8842></A
8843></B
8844></FONT
8845></TD
8846><TD
8847WIDTH="25%"
8848BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00008849ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00008850><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008851HREF="libxml-uri.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008852><FONT
8853COLOR="#FFFFFF"
8854SIZE="3"
8855><B
8856>Next Page &#62;&#62;&#62;</B
8857></FONT
8858></A
Daniel Veillard35925471999-02-25 08:46:07 +00008859></TD
8860></TR
8861><TR
8862><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008863COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00008864ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00008865><FONT
8866COLOR="#FFFFFF"
8867SIZE="3"
8868><B
8869>entities</B
8870></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00008871></TD
8872><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008873COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00008874ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00008875><FONT
8876COLOR="#FFFFFF"
8877SIZE="3"
8878><B
Daniel Veillard8f621982000-03-20 13:07:15 +00008879>uri</B
Daniel Veillard14fff061999-06-22 21:49:07 +00008880></FONT
8881></TD
Daniel Veillard35925471999-02-25 08:46:07 +00008882></TR
8883></TABLE
8884></DIV
8885></BODY
8886></HTML
8887>