blob: 01be70c7078961525722ee5eaf9fa4c1ac6f2c0a [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 Veillard539638b2002-07-06 19:55:14 +0000124NAME="AEN8523"
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 Veillard539638b2002-07-06 19:55:14 +0000132NAME="AEN8526"><H2
Daniel Veillard35925471999-02-25 08:46:07 +0000133>Synopsis</H2
134><TABLE
135BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000136BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000137WIDTH="100%"
138CELLPADDING="6"
139><TR
140><TD
141><PRE
142CLASS="SYNOPSIS"
143>&#13;
144
Daniel Veillarda41123c2001-04-22 19:31:20 +0000145struct <A
146HREF="libxml-valid.html#XMLVALIDSTATE"
147>xmlValidState</A
148>;
149typedef <A
150HREF="libxml-valid.html#XMLVALIDSTATEPTR"
151>xmlValidStatePtr</A
152>;
Daniel Veillardb05deb71999-08-10 19:04:08 +0000153void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000154HREF="libxml-valid.html#XMLVALIDITYERRORFUNC"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000155>*xmlValidityErrorFunc</A
156>) (void *ctx,
157 const char *msg,
158 ...);
159void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000160HREF="libxml-valid.html#XMLVALIDITYWARNINGFUNC"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000161>*xmlValidityWarningFunc</A
162>) (void *ctx,
163 const char *msg,
164 ...);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000165struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000166HREF="libxml-valid.html#XMLVALIDCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000167>xmlValidCtxt</A
168>;
169typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000170HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000171>xmlValidCtxtPtr</A
172>;
Daniel Veillard35925471999-02-25 08:46:07 +0000173typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000174HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000175>xmlNotationTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000176>;
Daniel Veillard35925471999-02-25 08:46:07 +0000177typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000178HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000179>xmlElementTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000180>;
Daniel Veillard35925471999-02-25 08:46:07 +0000181typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000182HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000183>xmlAttributeTablePtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000184>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000185typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000186HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000187>xmlIDTablePtr</A
188>;
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000189typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000190HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000191>xmlRefTablePtr</A
192>;
Daniel Veillard35925471999-02-25 08:46:07 +0000193<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000194HREF="libxml-tree.html#XMLCHAR"
195>xmlChar</A
196>* <A
197HREF="libxml-valid.html#XMLSPLITQNAME2"
198>xmlSplitQName2</A
199> (const <A
200HREF="libxml-tree.html#XMLCHAR"
201>xmlChar</A
202> *name,
203 <A
204HREF="libxml-tree.html#XMLCHAR"
205>xmlChar</A
206> **prefix);
207<A
208HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000209>xmlNotationPtr</A
210> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000211HREF="libxml-valid.html#XMLADDNOTATIONDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000212>xmlAddNotationDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000213> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000214HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000215>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000216> ctxt,
217 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000218HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000219>xmlDtdPtr</A
220> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000221 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000222HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000223>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000224> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000225 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000226HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000227>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000228> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000229 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000230HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000231>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000232> *SystemID);
233<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000234HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000235>xmlNotationTablePtr</A
236> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000237HREF="libxml-valid.html#XMLCOPYNOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000238>xmlCopyNotationTable</A
239> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000240HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000241>xmlNotationTablePtr</A
242> table);
243void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000244HREF="libxml-valid.html#XMLFREENOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000245>xmlFreeNotationTable</A
246> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000247HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000248>xmlNotationTablePtr</A
249> table);
250void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000251HREF="libxml-valid.html#XMLDUMPNOTATIONDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000252>xmlDumpNotationDecl</A
253> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000254HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000255>xmlBufferPtr</A
256> buf,
257 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000258HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000259>xmlNotationPtr</A
260> nota);
261void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000262HREF="libxml-valid.html#XMLDUMPNOTATIONTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000263>xmlDumpNotationTable</A
264> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000265HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000266>xmlBufferPtr</A
267> buf,
268 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000269HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000270>xmlNotationTablePtr</A
271> table);
272<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000273HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000274>xmlElementContentPtr</A
275> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000276HREF="libxml-valid.html#XMLNEWELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000277>xmlNewElementContent</A
278> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000279HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000280>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000281> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000282 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000283HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000284>xmlElementContentType</A
285> type);
Daniel Veillard35925471999-02-25 08:46:07 +0000286<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000287HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000288>xmlElementContentPtr</A
289> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000290HREF="libxml-valid.html#XMLCOPYELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000291>xmlCopyElementContent</A
292> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000293HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000294>xmlElementContentPtr</A
295> content);
296void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000297HREF="libxml-valid.html#XMLFREEELEMENTCONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000298>xmlFreeElementContent</A
299> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000300HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000301>xmlElementContentPtr</A
302> cur);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000303void <A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000304HREF="libxml-valid.html#XMLSNPRINTFELEMENTCONTENT"
305>xmlSnprintfElementContent</A
306> (char *buf,
307 int size,
308 <A
309HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
310>xmlElementContentPtr</A
311> content,
312 int glob);
313void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000314HREF="libxml-valid.html#XMLSPRINTFELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000315>xmlSprintfElementContent</A
316> (char *buf,
317 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000318HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000319>xmlElementContentPtr</A
320> content,
321 int glob);
Daniel Veillard35925471999-02-25 08:46:07 +0000322<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000323HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000324>xmlElementPtr</A
325> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000326HREF="libxml-valid.html#XMLADDELEMENTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000327>xmlAddElementDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000328> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000329HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000330>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000331> ctxt,
332 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000333HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000334>xmlDtdPtr</A
335> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000336 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000337HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000338>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000339> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000340 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000341HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000342>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000343> type,
Daniel Veillard35925471999-02-25 08:46:07 +0000344 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000345HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000346>xmlElementContentPtr</A
347> content);
348<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000349HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000350>xmlElementTablePtr</A
351> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000352HREF="libxml-valid.html#XMLCOPYELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000353>xmlCopyElementTable</A
354> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000355HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000356>xmlElementTablePtr</A
357> table);
358void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000359HREF="libxml-valid.html#XMLFREEELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000360>xmlFreeElementTable</A
361> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000362HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000363>xmlElementTablePtr</A
364> table);
365void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000366HREF="libxml-valid.html#XMLDUMPELEMENTTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000367>xmlDumpElementTable</A
368> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000369HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000370>xmlBufferPtr</A
371> buf,
372 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000373HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000374>xmlElementTablePtr</A
375> table);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000376void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000377HREF="libxml-valid.html#XMLDUMPELEMENTDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000378>xmlDumpElementDecl</A
379> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000380HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000381>xmlBufferPtr</A
382> buf,
383 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000384HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000385>xmlElementPtr</A
386> elem);
Daniel Veillard35925471999-02-25 08:46:07 +0000387<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000388HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000389>xmlEnumerationPtr</A
390> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000391HREF="libxml-valid.html#XMLCREATEENUMERATION"
Daniel Veillard35925471999-02-25 08:46:07 +0000392>xmlCreateEnumeration</A
393> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000394HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000395>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000396> *name);
397void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000398HREF="libxml-valid.html#XMLFREEENUMERATION"
Daniel Veillard35925471999-02-25 08:46:07 +0000399>xmlFreeEnumeration</A
400> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000401HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000402>xmlEnumerationPtr</A
403> cur);
404<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000405HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000406>xmlEnumerationPtr</A
407> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000408HREF="libxml-valid.html#XMLCOPYENUMERATION"
Daniel Veillard35925471999-02-25 08:46:07 +0000409>xmlCopyEnumeration</A
410> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000411HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000412>xmlEnumerationPtr</A
413> cur);
414<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000415HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000416>xmlAttributePtr</A
417> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000418HREF="libxml-valid.html#XMLADDATTRIBUTEDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000419>xmlAddAttributeDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000420> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000421HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000422>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000423> ctxt,
424 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000425HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000426>xmlDtdPtr</A
427> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000428 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000429HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000430>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000431> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000432 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000433HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000434>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000435> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000436 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000437HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000438>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +0000439> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000440 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000441HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000442>xmlAttributeType</A
443> type,
444 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000445HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000446>xmlAttributeDefault</A
447> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000448 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000449HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000450>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000451> *defaultValue,
452 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000453HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000454>xmlEnumerationPtr</A
455> tree);
456<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000457HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000458>xmlAttributeTablePtr</A
459> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000460HREF="libxml-valid.html#XMLCOPYATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000461>xmlCopyAttributeTable</A
462> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000463HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000464>xmlAttributeTablePtr</A
465> table);
466void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000467HREF="libxml-valid.html#XMLFREEATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000468>xmlFreeAttributeTable</A
469> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000470HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000471>xmlAttributeTablePtr</A
472> table);
473void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000474HREF="libxml-valid.html#XMLDUMPATTRIBUTETABLE"
Daniel Veillard35925471999-02-25 08:46:07 +0000475>xmlDumpAttributeTable</A
476> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000477HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000478>xmlBufferPtr</A
479> buf,
480 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000481HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000482>xmlAttributeTablePtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000483> table);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000484void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000485HREF="libxml-valid.html#XMLDUMPATTRIBUTEDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000486>xmlDumpAttributeDecl</A
487> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000488HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000489>xmlBufferPtr</A
490> buf,
491 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000492HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000493>xmlAttributePtr</A
494> attr);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000495<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000496HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000497>xmlIDPtr</A
498> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000499HREF="libxml-valid.html#XMLADDID"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000500>xmlAddID</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000501> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000502HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000503>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000504> ctxt,
505 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000506HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000507>xmlDocPtr</A
508> doc,
509 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000510HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000511>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000512> *value,
513 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000514HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000515>xmlAttrPtr</A
516> attr);
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000517void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000518HREF="libxml-valid.html#XMLFREEIDTABLE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000519>xmlFreeIDTable</A
520> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000521HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000522>xmlIDTablePtr</A
523> table);
524<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000525HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000526>xmlAttrPtr</A
527> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000528HREF="libxml-valid.html#XMLGETID"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000529>xmlGetID</A
530> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000531HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000532>xmlDocPtr</A
533> doc,
534 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000535HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000536>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000537> *ID);
538int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000539HREF="libxml-valid.html#XMLISID"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000540>xmlIsID</A
541> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000542HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000543>xmlDocPtr</A
544> doc,
545 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000546HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000547>xmlNodePtr</A
548> elem,
549 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000550HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000551>xmlAttrPtr</A
552> attr);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000553int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000554HREF="libxml-valid.html#XMLREMOVEID"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000555>xmlRemoveID</A
556> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000557HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000558>xmlDocPtr</A
559> doc,
560 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000561HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000562>xmlAttrPtr</A
563> attr);
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000564<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000565HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000566>xmlRefPtr</A
567> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000568HREF="libxml-valid.html#XMLADDREF"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000569>xmlAddRef</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000570> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000571HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000572>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000573> ctxt,
574 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000575HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000576>xmlDocPtr</A
577> doc,
578 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000579HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000580>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000581> *value,
582 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000583HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000584>xmlAttrPtr</A
585> attr);
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000586void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000587HREF="libxml-valid.html#XMLFREEREFTABLE"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000588>xmlFreeRefTable</A
589> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000590HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000591>xmlRefTablePtr</A
592> table);
593int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000594HREF="libxml-valid.html#XMLISREF"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000595>xmlIsRef</A
596> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000597HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000598>xmlDocPtr</A
599> doc,
600 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000601HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000602>xmlNodePtr</A
603> elem,
604 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000605HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000606>xmlAttrPtr</A
607> attr);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000608int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000609HREF="libxml-valid.html#XMLREMOVEREF"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000610>xmlRemoveRef</A
611> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000612HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000613>xmlDocPtr</A
614> doc,
615 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000616HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000617>xmlAttrPtr</A
618> attr);
Daniel Veillarda41123c2001-04-22 19:31:20 +0000619<GTKDOCLINK
620HREF="XMLLISTPTR"
621>xmlListPtr</GTKDOCLINK
622> <A
623HREF="libxml-valid.html#XMLGETREFS"
624>xmlGetRefs</A
625> (<A
626HREF="libxml-tree.html#XMLDOCPTR"
627>xmlDocPtr</A
628> doc,
629 const <A
630HREF="libxml-tree.html#XMLCHAR"
631>xmlChar</A
632> *ID);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000633int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000634HREF="libxml-valid.html#XMLVALIDATEROOT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000635>xmlValidateRoot</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000636> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000637HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000638>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000639> ctxt,
640 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000641HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000642>xmlDocPtr</A
643> doc);
644int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000645HREF="libxml-valid.html#XMLVALIDATEELEMENTDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000646>xmlValidateElementDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000647> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000648HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000649>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000650> ctxt,
651 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000652HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000653>xmlDocPtr</A
654> doc,
655 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000656HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000657>xmlElementPtr</A
658> elem);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000659<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000660HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000661>xmlChar</A
662>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000663HREF="libxml-valid.html#XMLVALIDNORMALIZEATTRIBUTEVALUE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000664>xmlValidNormalizeAttributeValue</A
665> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000666HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000667>xmlDocPtr</A
668> doc,
669 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000670HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000671>xmlNodePtr</A
672> elem,
673 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000674HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000675>xmlChar</A
676> *name,
677 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000678HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000679>xmlChar</A
680> *value);
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000681<A
682HREF="libxml-tree.html#XMLCHAR"
683>xmlChar</A
684>* <A
685HREF="libxml-valid.html#XMLVALIDCTXTNORMALIZEATTRIBUTEVALUE"
686>xmlValidCtxtNormalizeAttributeValue</A
687>
688 (<A
689HREF="libxml-valid.html#XMLVALIDCTXTPTR"
690>xmlValidCtxtPtr</A
691> ctxt,
692 <A
693HREF="libxml-tree.html#XMLDOCPTR"
694>xmlDocPtr</A
695> doc,
696 <A
697HREF="libxml-tree.html#XMLNODEPTR"
698>xmlNodePtr</A
699> elem,
700 const <A
701HREF="libxml-tree.html#XMLCHAR"
702>xmlChar</A
703> *name,
704 const <A
705HREF="libxml-tree.html#XMLCHAR"
706>xmlChar</A
707> *value);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000708int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000709HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000710>xmlValidateAttributeDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000711> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000712HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000713>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000714> ctxt,
715 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000716HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000717>xmlDocPtr</A
718> doc,
719 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000720HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000721>xmlAttributePtr</A
722> attr);
723int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000724HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000725>xmlValidateAttributeValue</A
726> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000727HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000728>xmlAttributeType</A
729> type,
730 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000731HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000732>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000733> *value);
734int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000735HREF="libxml-valid.html#XMLVALIDATENOTATIONDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000736>xmlValidateNotationDecl</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000737> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000738HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000739>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000740> ctxt,
741 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000742HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000743>xmlDocPtr</A
744> doc,
745 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000746HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000747>xmlNotationPtr</A
748> nota);
749int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000750HREF="libxml-valid.html#XMLVALIDATEDTD"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000751>xmlValidateDtd</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000752> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000753HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000754>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000755> ctxt,
756 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000757HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000758>xmlDocPtr</A
759> doc,
760 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000761HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000762>xmlDtdPtr</A
763> dtd);
764int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000765HREF="libxml-valid.html#XMLVALIDATEDTDFINAL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000766>xmlValidateDtdFinal</A
767> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000768HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000769>xmlValidCtxtPtr</A
770> ctxt,
771 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000772HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000773>xmlDocPtr</A
774> doc);
775int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000776HREF="libxml-valid.html#XMLVALIDATEDOCUMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000777>xmlValidateDocument</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000778> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000779HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000780>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000781> ctxt,
782 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000783HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000784>xmlDocPtr</A
785> doc);
786int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000787HREF="libxml-valid.html#XMLVALIDATEELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000788>xmlValidateElement</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000789> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000790HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000791>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000792> ctxt,
793 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000794HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000795>xmlDocPtr</A
796> doc,
797 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000798HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000799>xmlNodePtr</A
800> elem);
801int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000802HREF="libxml-valid.html#XMLVALIDATEONEELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000803>xmlValidateOneElement</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000804> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000805HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000806>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000807> ctxt,
808 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000809HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000810>xmlDocPtr</A
811> doc,
812 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000813HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000814>xmlNodePtr</A
815> elem);
816int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000817HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000818>xmlValidateOneAttribute</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000819> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000820HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000821>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000822> ctxt,
823 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000824HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000825>xmlDocPtr</A
826> doc,
827 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000828HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000829>xmlNodePtr</A
830> elem,
831 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000832HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000833>xmlAttrPtr</A
834> attr,
835 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000836HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000837>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000838> *value);
839int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000840HREF="libxml-valid.html#XMLVALIDATEDOCUMENTFINAL"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000841>xmlValidateDocumentFinal</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000842> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000843HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000844>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000845> ctxt,
846 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000847HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +0000848>xmlDocPtr</A
849> doc);
850int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000851HREF="libxml-valid.html#XMLVALIDATENOTATIONUSE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000852>xmlValidateNotationUse</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000853> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000854HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000855>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000856> ctxt,
857 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000858HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000859>xmlDocPtr</A
860> doc,
861 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000862HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000863>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000864> *notationName);
865int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000866HREF="libxml-valid.html#XMLISMIXEDELEMENT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000867>xmlIsMixedElement</A
868> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000869HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000870>xmlDocPtr</A
871> doc,
872 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000873HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000874>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000875> *name);
876<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000877HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000878>xmlAttributePtr</A
879> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000880HREF="libxml-valid.html#XMLGETDTDATTRDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000881>xmlGetDtdAttrDesc</A
882> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000883HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000884>xmlDtdPtr</A
885> dtd,
886 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000887HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000888>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000889> *elem,
890 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000891HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000892>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000893> *name);
894<A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000895HREF="libxml-tree.html#XMLATTRIBUTEPTR"
896>xmlAttributePtr</A
897> <A
898HREF="libxml-valid.html#XMLGETDTDQATTRDESC"
899>xmlGetDtdQAttrDesc</A
900> (<A
901HREF="libxml-tree.html#XMLDTDPTR"
902>xmlDtdPtr</A
903> dtd,
904 const <A
905HREF="libxml-tree.html#XMLCHAR"
906>xmlChar</A
907> *elem,
908 const <A
909HREF="libxml-tree.html#XMLCHAR"
910>xmlChar</A
911> *name,
912 const <A
913HREF="libxml-tree.html#XMLCHAR"
914>xmlChar</A
915> *prefix);
916<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000917HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000918>xmlNotationPtr</A
919> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000920HREF="libxml-valid.html#XMLGETDTDNOTATIONDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000921>xmlGetDtdNotationDesc</A
922> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000923HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000924>xmlDtdPtr</A
925> dtd,
926 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000927HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000928>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000929> *name);
930<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000931HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000932>xmlElementPtr</A
933> <A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000934HREF="libxml-valid.html#XMLGETDTDQELEMENTDESC"
935>xmlGetDtdQElementDesc</A
936> (<A
937HREF="libxml-tree.html#XMLDTDPTR"
938>xmlDtdPtr</A
939> dtd,
940 const <A
941HREF="libxml-tree.html#XMLCHAR"
942>xmlChar</A
943> *name,
944 const <A
945HREF="libxml-tree.html#XMLCHAR"
946>xmlChar</A
947> *prefix);
948<A
949HREF="libxml-tree.html#XMLELEMENTPTR"
950>xmlElementPtr</A
951> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000952HREF="libxml-valid.html#XMLGETDTDELEMENTDESC"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000953>xmlGetDtdElementDesc</A
954> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000955HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000956>xmlDtdPtr</A
957> dtd,
958 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000959HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000960>xmlChar</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000961> *name);
962int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000963HREF="libxml-valid.html#XMLVALIDGETVALIDELEMENTS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000964>xmlValidGetValidElements</A
965> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000966HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000967>xmlNode</A
968> *prev,
969 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000970HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000971>xmlNode</A
972> *next,
973 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000974HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000975>xmlChar</A
976> **list,
977 int max);
978int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000979HREF="libxml-valid.html#XMLVALIDGETPOTENTIALCHILDREN"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000980>xmlValidGetPotentialChildren</A
981> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000982HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000983>xmlElementContent</A
984> *ctree,
985 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000986HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000987>xmlChar</A
988> **list,
989 int *len,
Daniel Veillarda7084cd2002-04-15 17:12:47 +0000990 int max);
991int <A
992HREF="libxml-valid.html#XMLVALIDATENAMEVALUE"
993>xmlValidateNameValue</A
994> (const <A
995HREF="libxml-tree.html#XMLCHAR"
996>xmlChar</A
997> *value);
998int <A
999HREF="libxml-valid.html#XMLVALIDATENAMESVALUE"
1000>xmlValidateNamesValue</A
1001> (const <A
1002HREF="libxml-tree.html#XMLCHAR"
1003>xmlChar</A
1004> *value);
1005int <A
1006HREF="libxml-valid.html#XMLVALIDATENMTOKENVALUE"
1007>xmlValidateNmtokenValue</A
1008> (const <A
1009HREF="libxml-tree.html#XMLCHAR"
1010>xmlChar</A
1011> *value);
1012int <A
1013HREF="libxml-valid.html#XMLVALIDATENMTOKENSVALUE"
1014>xmlValidateNmtokensValue</A
1015> (const <A
1016HREF="libxml-tree.html#XMLCHAR"
1017>xmlChar</A
1018> *value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001019></TD
1020></TR
1021></TABLE
1022></DIV
1023><DIV
1024CLASS="REFSECT1"
1025><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001026NAME="AEN8765"
Daniel Veillard35925471999-02-25 08:46:07 +00001027></A
1028><H2
1029>Description</H2
1030><P
1031></P
1032></DIV
1033><DIV
1034CLASS="REFSECT1"
1035><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001036NAME="AEN8768"
Daniel Veillard35925471999-02-25 08:46:07 +00001037></A
1038><H2
1039>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001040><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001041CLASS="REFSECT2"
1042><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001043NAME="AEN8770"
Daniel Veillarda41123c2001-04-22 19:31:20 +00001044></A
1045><H3
1046><A
1047NAME="XMLVALIDSTATE"
1048></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001049>struct xmlValidState</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00001050><TABLE
1051BORDER="0"
1052BGCOLOR="#D6E8FF"
1053WIDTH="100%"
1054CELLPADDING="6"
1055><TR
1056><TD
1057><PRE
1058CLASS="PROGRAMLISTING"
1059>struct xmlValidState;</PRE
1060></TD
1061></TR
1062></TABLE
1063><P
1064></P
1065></DIV
1066><HR><DIV
1067CLASS="REFSECT2"
1068><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001069NAME="AEN8775"
Daniel Veillarda41123c2001-04-22 19:31:20 +00001070></A
1071><H3
1072><A
1073NAME="XMLVALIDSTATEPTR"
1074></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001075>xmlValidStatePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001076><TABLE
1077BORDER="0"
1078BGCOLOR="#D6E8FF"
1079WIDTH="100%"
1080CELLPADDING="6"
1081><TR
1082><TD
1083><PRE
1084CLASS="PROGRAMLISTING"
1085>typedef xmlValidState *xmlValidStatePtr;</PRE
1086></TD
1087></TR
1088></TABLE
Daniel Veillarda41123c2001-04-22 19:31:20 +00001089><P
1090></P
1091></DIV
1092><HR><DIV
1093CLASS="REFSECT2"
1094><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001095NAME="AEN8780"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001096></A
1097><H3
1098><A
1099NAME="XMLVALIDITYERRORFUNC"
1100></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001101>xmlValidityErrorFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00001102><TABLE
1103BORDER="0"
1104BGCOLOR="#D6E8FF"
1105WIDTH="100%"
1106CELLPADDING="6"
1107><TR
1108><TD
1109><PRE
1110CLASS="PROGRAMLISTING"
1111>void (*xmlValidityErrorFunc) (void *ctx,
1112 const char *msg,
1113 ...);</PRE
1114></TD
1115></TR
1116></TABLE
1117><P
Daniel Veillard19274092002-03-25 16:48:03 +00001118>Callback called when a validity error is found. This is a message
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001119oriented function similar to an *printf function.</P
1120><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001121></P
1122><DIV
1123CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001124><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001125NAME="AEN8786"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001126></P
1127><TABLE
1128BORDER="0"
1129WIDTH="100%"
1130BGCOLOR="#FFD0D0"
1131CELLSPACING="0"
1132CELLPADDING="4"
1133CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001134><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001135><TR
1136><TD
1137WIDTH="20%"
1138ALIGN="RIGHT"
1139VALIGN="TOP"
1140><TT
1141CLASS="PARAMETER"
1142><I
1143>ctx</I
1144></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001145>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001146><TD
1147WIDTH="80%"
1148ALIGN="LEFT"
1149VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001150> an xmlValidCtxtPtr validity error context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001151></TR
1152><TR
1153><TD
1154WIDTH="20%"
1155ALIGN="RIGHT"
1156VALIGN="TOP"
1157><TT
1158CLASS="PARAMETER"
1159><I
1160>msg</I
1161></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001162>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001163><TD
1164WIDTH="80%"
1165ALIGN="LEFT"
1166VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001167> the string to format *printf like vararg</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001168></TR
1169><TR
1170><TD
1171WIDTH="20%"
1172ALIGN="RIGHT"
1173VALIGN="TOP"
1174><TT
1175CLASS="PARAMETER"
1176><I
1177>...</I
1178></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001179>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001180><TD
1181WIDTH="80%"
1182ALIGN="LEFT"
1183VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001184> remaining arguments to the format</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001185></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001186></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001187></TABLE
1188><P
1189></P
1190></DIV
1191></DIV
1192><HR><DIV
1193CLASS="REFSECT2"
1194><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001195NAME="AEN8803"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001196></A
1197><H3
1198><A
1199NAME="XMLVALIDITYWARNINGFUNC"
1200></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001201>xmlValidityWarningFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00001202><TABLE
1203BORDER="0"
1204BGCOLOR="#D6E8FF"
1205WIDTH="100%"
1206CELLPADDING="6"
1207><TR
1208><TD
1209><PRE
1210CLASS="PROGRAMLISTING"
1211>void (*xmlValidityWarningFunc) (void *ctx,
1212 const char *msg,
1213 ...);</PRE
1214></TD
1215></TR
1216></TABLE
1217><P
Daniel Veillard19274092002-03-25 16:48:03 +00001218>Callback called when a validity warning is found. This is a message
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001219oriented function similar to an *printf function.</P
1220><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001221></P
1222><DIV
1223CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001224><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001225NAME="AEN8809"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001226></P
1227><TABLE
1228BORDER="0"
1229WIDTH="100%"
1230BGCOLOR="#FFD0D0"
1231CELLSPACING="0"
1232CELLPADDING="4"
1233CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001234><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001235><TR
1236><TD
1237WIDTH="20%"
1238ALIGN="RIGHT"
1239VALIGN="TOP"
1240><TT
1241CLASS="PARAMETER"
1242><I
1243>ctx</I
1244></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001245>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001246><TD
1247WIDTH="80%"
1248ALIGN="LEFT"
1249VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001250> an xmlValidCtxtPtr validity error context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001251></TR
1252><TR
1253><TD
1254WIDTH="20%"
1255ALIGN="RIGHT"
1256VALIGN="TOP"
1257><TT
1258CLASS="PARAMETER"
1259><I
1260>msg</I
1261></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001262>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001263><TD
1264WIDTH="80%"
1265ALIGN="LEFT"
1266VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001267> the string to format *printf like vararg</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001268></TR
1269><TR
1270><TD
1271WIDTH="20%"
1272ALIGN="RIGHT"
1273VALIGN="TOP"
1274><TT
1275CLASS="PARAMETER"
1276><I
1277>...</I
1278></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001279>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001280><TD
1281WIDTH="80%"
1282ALIGN="LEFT"
1283VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001284> remaining arguments to the format</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001285></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001286></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00001287></TABLE
1288><P
1289></P
1290></DIV
1291></DIV
1292><HR><DIV
1293CLASS="REFSECT2"
1294><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001295NAME="AEN8826"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001296></A
1297><H3
1298><A
1299NAME="XMLVALIDCTXT"
1300></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001301>struct xmlValidCtxt</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001302><TABLE
1303BORDER="0"
1304BGCOLOR="#D6E8FF"
1305WIDTH="100%"
1306CELLPADDING="6"
1307><TR
1308><TD
1309><PRE
1310CLASS="PROGRAMLISTING"
1311>struct xmlValidCtxt {
1312 void *userData; /* user specific data block */
1313 xmlValidityErrorFunc error; /* the callback in case of errors */
1314 xmlValidityWarningFunc warning; /* the callback in case of warning */
1315
1316 /* Node analysis stack used when validating within entities */
1317 xmlNodePtr node; /* Current parsed Node */
1318 int nodeNr; /* Depth of the parsing stack */
1319 int nodeMax; /* Max depth of the parsing stack */
1320 xmlNodePtr *nodeTab; /* array of nodes */
1321
1322 int finishDtd; /* finished validating the Dtd ? */
Daniel Veillard29a11cc2000-10-25 13:32:39 +00001323 xmlDocPtr doc; /* the document */
1324 int valid; /* temporary validity check result */
Daniel Veillarda41123c2001-04-22 19:31:20 +00001325
1326 /* state state used for non-determinist content validation */
1327 xmlValidState *vstate; /* current state */
1328 int vstateNr; /* Depth of the validation stack */
1329 int vstateMax; /* Max depth of the validation stack */
1330 xmlValidState *vstateTab; /* array of validation states */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001331};</PRE
1332></TD
1333></TR
1334></TABLE
1335><P
1336></P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001337><P
1338></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001339></DIV
1340><HR><DIV
1341CLASS="REFSECT2"
1342><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001343NAME="AEN8832"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001344></A
1345><H3
1346><A
1347NAME="XMLVALIDCTXTPTR"
1348></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001349>xmlValidCtxtPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001350><TABLE
1351BORDER="0"
1352BGCOLOR="#D6E8FF"
1353WIDTH="100%"
1354CELLPADDING="6"
1355><TR
1356><TD
1357><PRE
1358CLASS="PROGRAMLISTING"
1359>typedef xmlValidCtxt *xmlValidCtxtPtr;</PRE
1360></TD
1361></TR
1362></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001363><P
1364></P
1365></DIV
1366><HR><DIV
1367CLASS="REFSECT2"
1368><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001369NAME="AEN8837"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001370></A
1371><H3
1372><A
1373NAME="XMLNOTATIONTABLEPTR"
1374></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001375>xmlNotationTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001376><TABLE
1377BORDER="0"
1378BGCOLOR="#D6E8FF"
1379WIDTH="100%"
1380CELLPADDING="6"
1381><TR
1382><TD
1383><PRE
1384CLASS="PROGRAMLISTING"
1385>typedef xmlNotationTable *xmlNotationTablePtr;</PRE
1386></TD
1387></TR
1388></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001389><P
1390></P
1391></DIV
1392><HR><DIV
1393CLASS="REFSECT2"
1394><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001395NAME="AEN8842"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001396></A
1397><H3
1398><A
1399NAME="XMLELEMENTTABLEPTR"
1400></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001401>xmlElementTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001402><TABLE
1403BORDER="0"
1404BGCOLOR="#D6E8FF"
1405WIDTH="100%"
1406CELLPADDING="6"
1407><TR
1408><TD
1409><PRE
1410CLASS="PROGRAMLISTING"
1411>typedef xmlElementTable *xmlElementTablePtr;</PRE
1412></TD
1413></TR
1414></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001415><P
1416></P
1417></DIV
1418><HR><DIV
1419CLASS="REFSECT2"
1420><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001421NAME="AEN8847"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001422></A
1423><H3
1424><A
1425NAME="XMLATTRIBUTETABLEPTR"
1426></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001427>xmlAttributeTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001428><TABLE
1429BORDER="0"
1430BGCOLOR="#D6E8FF"
1431WIDTH="100%"
1432CELLPADDING="6"
1433><TR
1434><TD
1435><PRE
1436CLASS="PROGRAMLISTING"
1437>typedef xmlAttributeTable *xmlAttributeTablePtr;</PRE
1438></TD
1439></TR
1440></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001441><P
1442></P
1443></DIV
1444><HR><DIV
1445CLASS="REFSECT2"
1446><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001447NAME="AEN8852"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001448></A
1449><H3
1450><A
1451NAME="XMLIDTABLEPTR"
1452></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001453>xmlIDTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001454><TABLE
1455BORDER="0"
1456BGCOLOR="#D6E8FF"
1457WIDTH="100%"
1458CELLPADDING="6"
1459><TR
1460><TD
1461><PRE
1462CLASS="PROGRAMLISTING"
1463>typedef xmlIDTable *xmlIDTablePtr;</PRE
1464></TD
1465></TR
1466></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001467><P
1468></P
1469></DIV
1470><HR><DIV
1471CLASS="REFSECT2"
1472><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001473NAME="AEN8857"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001474></A
1475><H3
1476><A
1477NAME="XMLREFTABLEPTR"
1478></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001479>xmlRefTablePtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001480><TABLE
1481BORDER="0"
1482BGCOLOR="#D6E8FF"
1483WIDTH="100%"
1484CELLPADDING="6"
1485><TR
1486><TD
1487><PRE
1488CLASS="PROGRAMLISTING"
1489>typedef xmlRefTable *xmlRefTablePtr;</PRE
1490></TD
1491></TR
1492></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001493><P
1494></P
1495></DIV
1496><HR><DIV
1497CLASS="REFSECT2"
1498><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001499NAME="AEN8862"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001500></A
1501><H3
1502><A
1503NAME="XMLSPLITQNAME2"
1504></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001505>xmlSplitQName2 ()</H3
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001506><TABLE
1507BORDER="0"
1508BGCOLOR="#D6E8FF"
1509WIDTH="100%"
1510CELLPADDING="6"
1511><TR
1512><TD
1513><PRE
1514CLASS="PROGRAMLISTING"
1515><A
1516HREF="libxml-tree.html#XMLCHAR"
1517>xmlChar</A
1518>* xmlSplitQName2 (const <A
1519HREF="libxml-tree.html#XMLCHAR"
1520>xmlChar</A
1521> *name,
1522 <A
1523HREF="libxml-tree.html#XMLCHAR"
1524>xmlChar</A
1525> **prefix);</PRE
1526></TD
1527></TR
1528></TABLE
1529><P
1530>parse an XML qualified name string</P
1531><P
1532>[NS 5] QName ::= (Prefix ':')? LocalPart</P
1533><P
1534>[NS 6] Prefix ::= NCName</P
1535><P
1536>[NS 7] LocalPart ::= NCName</P
1537><P
1538></P
1539><DIV
1540CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001541><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001542NAME="AEN8874"><P
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001543></P
1544><TABLE
1545BORDER="0"
1546WIDTH="100%"
1547BGCOLOR="#FFD0D0"
1548CELLSPACING="0"
1549CELLPADDING="4"
1550CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001551><TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001552><TR
1553><TD
1554WIDTH="20%"
1555ALIGN="RIGHT"
1556VALIGN="TOP"
1557><TT
1558CLASS="PARAMETER"
1559><I
1560>name</I
1561></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001562>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001563><TD
1564WIDTH="80%"
1565ALIGN="LEFT"
1566VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001567> an XML parser context</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001568></TR
1569><TR
1570><TD
1571WIDTH="20%"
1572ALIGN="RIGHT"
1573VALIGN="TOP"
1574><TT
1575CLASS="PARAMETER"
1576><I
1577>prefix</I
1578></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001579>&nbsp;:</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001580><TD
1581WIDTH="80%"
1582ALIGN="LEFT"
1583VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001584> a xmlChar ** </TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001585></TR
1586><TR
1587><TD
1588WIDTH="20%"
1589ALIGN="RIGHT"
1590VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001591><SPAN
1592CLASS="emphasis"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001593><I
1594CLASS="EMPHASIS"
1595>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001596></SPAN
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001597> :</TD
1598><TD
1599WIDTH="80%"
1600ALIGN="LEFT"
1601VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001602>NULL if not a QName, otherwise the local part, and prefix
Daniel Veillardaf43f632002-03-08 15:05:20 +00001603is updated to get the Prefix if any.</TD
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001604></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001605></TBODY
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001606></TABLE
1607><P
1608></P
1609></DIV
1610></DIV
1611><HR><DIV
1612CLASS="REFSECT2"
1613><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001614NAME="AEN8891"
Daniel Veillard35925471999-02-25 08:46:07 +00001615></A
1616><H3
1617><A
1618NAME="XMLADDNOTATIONDECL"
1619></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001620>xmlAddNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001621><TABLE
1622BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001623BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001624WIDTH="100%"
1625CELLPADDING="6"
1626><TR
1627><TD
1628><PRE
1629CLASS="PROGRAMLISTING"
1630><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001631HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001632>xmlNotationPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001633> xmlAddNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001634HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001635>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001636> ctxt,
1637 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001638HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001639>xmlDtdPtr</A
1640> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001641 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001642HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001643>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001644> *name,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001645 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001646HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001647>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001648> *PublicID,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001649 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001650HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001651>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001652> *SystemID);</PRE
1653></TD
1654></TR
1655></TABLE
1656><P
1657>Register a new notation declaration</P
1658><P
1659></P
1660><DIV
1661CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001662><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001663NAME="AEN8903"><P
Daniel Veillard35925471999-02-25 08:46:07 +00001664></P
1665><TABLE
1666BORDER="0"
1667WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001668BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001669CELLSPACING="0"
1670CELLPADDING="4"
1671CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001672><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001673><TR
1674><TD
1675WIDTH="20%"
1676ALIGN="RIGHT"
1677VALIGN="TOP"
1678><TT
1679CLASS="PARAMETER"
1680><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00001681>ctxt</I
1682></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001683>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001684><TD
1685WIDTH="80%"
1686ALIGN="LEFT"
1687VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001688> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001689></TR
1690><TR
1691><TD
1692WIDTH="20%"
1693ALIGN="RIGHT"
1694VALIGN="TOP"
1695><TT
1696CLASS="PARAMETER"
1697><I
Daniel Veillard35925471999-02-25 08:46:07 +00001698>dtd</I
1699></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001700>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001701><TD
1702WIDTH="80%"
1703ALIGN="LEFT"
1704VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001705> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001706></TR
1707><TR
1708><TD
1709WIDTH="20%"
1710ALIGN="RIGHT"
1711VALIGN="TOP"
1712><TT
1713CLASS="PARAMETER"
1714><I
1715>name</I
1716></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001717>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001718><TD
1719WIDTH="80%"
1720ALIGN="LEFT"
1721VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001722> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001723></TR
1724><TR
1725><TD
1726WIDTH="20%"
1727ALIGN="RIGHT"
1728VALIGN="TOP"
1729><TT
1730CLASS="PARAMETER"
1731><I
1732>PublicID</I
1733></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001734>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001735><TD
1736WIDTH="80%"
1737ALIGN="LEFT"
1738VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001739> the public identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001740></TR
1741><TR
1742><TD
1743WIDTH="20%"
1744ALIGN="RIGHT"
1745VALIGN="TOP"
1746><TT
1747CLASS="PARAMETER"
1748><I
1749>SystemID</I
1750></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001751>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001752><TD
1753WIDTH="80%"
1754ALIGN="LEFT"
1755VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001756> the system identifier or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001757></TR
1758><TR
1759><TD
1760WIDTH="20%"
1761ALIGN="RIGHT"
1762VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001763><SPAN
1764CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00001765><I
1766CLASS="EMPHASIS"
1767>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001768></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00001769> :</TD
1770><TD
1771WIDTH="80%"
1772ALIGN="LEFT"
1773VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001774>NULL if not, otherwise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001775></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001776></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001777></TABLE
1778><P
1779></P
1780></DIV
1781></DIV
1782><HR><DIV
1783CLASS="REFSECT2"
1784><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001785NAME="AEN8932"
Daniel Veillard35925471999-02-25 08:46:07 +00001786></A
1787><H3
1788><A
1789NAME="XMLCOPYNOTATIONTABLE"
1790></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001791>xmlCopyNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001792><TABLE
1793BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001794BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001795WIDTH="100%"
1796CELLPADDING="6"
1797><TR
1798><TD
1799><PRE
1800CLASS="PROGRAMLISTING"
1801><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001802HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001803>xmlNotationTablePtr</A
1804> xmlCopyNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001805HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001806>xmlNotationTablePtr</A
1807> table);</PRE
1808></TD
1809></TR
1810></TABLE
1811><P
1812>Build a copy of a notation table.</P
1813><P
1814></P
1815><DIV
1816CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001817><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001818NAME="AEN8940"><P
Daniel Veillard35925471999-02-25 08:46:07 +00001819></P
1820><TABLE
1821BORDER="0"
1822WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001823BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001824CELLSPACING="0"
1825CELLPADDING="4"
1826CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001827><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001828><TR
1829><TD
1830WIDTH="20%"
1831ALIGN="RIGHT"
1832VALIGN="TOP"
1833><TT
1834CLASS="PARAMETER"
1835><I
1836>table</I
1837></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001838>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001839><TD
1840WIDTH="80%"
1841ALIGN="LEFT"
1842VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001843> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001844></TR
1845><TR
1846><TD
1847WIDTH="20%"
1848ALIGN="RIGHT"
1849VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001850><SPAN
1851CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00001852><I
1853CLASS="EMPHASIS"
1854>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001855></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00001856> :</TD
1857><TD
1858WIDTH="80%"
1859ALIGN="LEFT"
1860VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001861>the new xmlNotationTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001862></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001863></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001864></TABLE
1865><P
1866></P
1867></DIV
1868></DIV
1869><HR><DIV
1870CLASS="REFSECT2"
1871><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001872NAME="AEN8953"
Daniel Veillard35925471999-02-25 08:46:07 +00001873></A
1874><H3
1875><A
1876NAME="XMLFREENOTATIONTABLE"
1877></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001878>xmlFreeNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001879><TABLE
1880BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001881BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001882WIDTH="100%"
1883CELLPADDING="6"
1884><TR
1885><TD
1886><PRE
1887CLASS="PROGRAMLISTING"
1888>void xmlFreeNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001889HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001890>xmlNotationTablePtr</A
1891> table);</PRE
1892></TD
1893></TR
1894></TABLE
1895><P
1896>Deallocate the memory used by an entities hash table.</P
1897><P
1898></P
1899><DIV
1900CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001901><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001902NAME="AEN8960"><P
Daniel Veillard35925471999-02-25 08:46:07 +00001903></P
1904><TABLE
1905BORDER="0"
1906WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001907BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001908CELLSPACING="0"
1909CELLPADDING="4"
1910CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001911><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001912><TR
1913><TD
1914WIDTH="20%"
1915ALIGN="RIGHT"
1916VALIGN="TOP"
1917><TT
1918CLASS="PARAMETER"
1919><I
1920>table</I
1921></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001922>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001923><TD
1924WIDTH="80%"
1925ALIGN="LEFT"
1926VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001927> An notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001928></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001929></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001930></TABLE
1931><P
1932></P
1933></DIV
1934></DIV
1935><HR><DIV
1936CLASS="REFSECT2"
1937><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001938NAME="AEN8969"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001939></A
1940><H3
1941><A
1942NAME="XMLDUMPNOTATIONDECL"
1943></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001944>xmlDumpNotationDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001945><TABLE
1946BORDER="0"
1947BGCOLOR="#D6E8FF"
1948WIDTH="100%"
1949CELLPADDING="6"
1950><TR
1951><TD
1952><PRE
1953CLASS="PROGRAMLISTING"
1954>void xmlDumpNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001955HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001956>xmlBufferPtr</A
1957> buf,
1958 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001959HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001960>xmlNotationPtr</A
1961> nota);</PRE
1962></TD
1963></TR
1964></TABLE
1965><P
1966>This will dump the content the notation declaration as an XML DTD definition</P
1967><P
1968></P
1969><DIV
1970CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001971><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001972NAME="AEN8977"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001973></P
1974><TABLE
1975BORDER="0"
1976WIDTH="100%"
1977BGCOLOR="#FFD0D0"
1978CELLSPACING="0"
1979CELLPADDING="4"
1980CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001981><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001982><TR
1983><TD
1984WIDTH="20%"
1985ALIGN="RIGHT"
1986VALIGN="TOP"
1987><TT
1988CLASS="PARAMETER"
1989><I
1990>buf</I
1991></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001992>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001993><TD
1994WIDTH="80%"
1995ALIGN="LEFT"
1996VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001997> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001998></TR
1999><TR
2000><TD
2001WIDTH="20%"
2002ALIGN="RIGHT"
2003VALIGN="TOP"
2004><TT
2005CLASS="PARAMETER"
2006><I
2007>nota</I
2008></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002009>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002010><TD
2011WIDTH="80%"
2012ALIGN="LEFT"
2013VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002014> A notation declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002015></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002016></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002017></TABLE
2018><P
2019></P
2020></DIV
2021></DIV
2022><HR><DIV
2023CLASS="REFSECT2"
2024><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002025NAME="AEN8990"
Daniel Veillard35925471999-02-25 08:46:07 +00002026></A
2027><H3
2028><A
2029NAME="XMLDUMPNOTATIONTABLE"
2030></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002031>xmlDumpNotationTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002032><TABLE
2033BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002034BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002035WIDTH="100%"
2036CELLPADDING="6"
2037><TR
2038><TD
2039><PRE
2040CLASS="PROGRAMLISTING"
2041>void xmlDumpNotationTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002042HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002043>xmlBufferPtr</A
2044> buf,
2045 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002046HREF="libxml-valid.html#XMLNOTATIONTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002047>xmlNotationTablePtr</A
2048> table);</PRE
2049></TD
2050></TR
2051></TABLE
2052><P
2053>This will dump the content of the notation table as an XML DTD definition</P
2054><P
Daniel Veillard35925471999-02-25 08:46:07 +00002055></P
2056><DIV
2057CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002058><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002059NAME="AEN8998"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002060></P
2061><TABLE
2062BORDER="0"
2063WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002064BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002065CELLSPACING="0"
2066CELLPADDING="4"
2067CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002068><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002069><TR
2070><TD
2071WIDTH="20%"
2072ALIGN="RIGHT"
2073VALIGN="TOP"
2074><TT
2075CLASS="PARAMETER"
2076><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002077>buf</I
2078></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002079>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002080><TD
2081WIDTH="80%"
2082ALIGN="LEFT"
2083VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002084> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002085></TR
2086><TR
2087><TD
2088WIDTH="20%"
2089ALIGN="RIGHT"
2090VALIGN="TOP"
2091><TT
2092CLASS="PARAMETER"
2093><I
Daniel Veillard35925471999-02-25 08:46:07 +00002094>table</I
2095></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002096>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002097><TD
2098WIDTH="80%"
2099ALIGN="LEFT"
2100VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002101> A notation table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002102></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002103></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002104></TABLE
2105><P
2106></P
2107></DIV
2108></DIV
2109><HR><DIV
2110CLASS="REFSECT2"
2111><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002112NAME="AEN9011"
Daniel Veillard35925471999-02-25 08:46:07 +00002113></A
2114><H3
2115><A
2116NAME="XMLNEWELEMENTCONTENT"
2117></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002118>xmlNewElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002119><TABLE
2120BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002121BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002122WIDTH="100%"
2123CELLPADDING="6"
2124><TR
2125><TD
2126><PRE
2127CLASS="PROGRAMLISTING"
2128><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002129HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002130>xmlElementContentPtr</A
2131> xmlNewElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002132HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002133>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002134> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002135 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002136HREF="libxml-tree.html#XMLELEMENTCONTENTTYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002137>xmlElementContentType</A
2138> type);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00002139></TD
2140></TR
2141></TABLE
2142><P
2143>Allocate an element content structure.</P
2144><P
2145></P
2146><DIV
2147CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002148><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002149NAME="AEN9020"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002150></P
2151><TABLE
2152BORDER="0"
2153WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002154BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002155CELLSPACING="0"
2156CELLPADDING="4"
2157CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002158><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002159><TR
2160><TD
2161WIDTH="20%"
2162ALIGN="RIGHT"
2163VALIGN="TOP"
2164><TT
2165CLASS="PARAMETER"
2166><I
2167>name</I
2168></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002169>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002170><TD
2171WIDTH="80%"
2172ALIGN="LEFT"
2173VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002174> the subelement name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002175></TR
2176><TR
2177><TD
2178WIDTH="20%"
2179ALIGN="RIGHT"
2180VALIGN="TOP"
2181><TT
2182CLASS="PARAMETER"
2183><I
2184>type</I
2185></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002186>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002187><TD
2188WIDTH="80%"
2189ALIGN="LEFT"
2190VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002191> the type of element content decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002192></TR
2193><TR
2194><TD
2195WIDTH="20%"
2196ALIGN="RIGHT"
2197VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002198><SPAN
2199CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002200><I
2201CLASS="EMPHASIS"
2202>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002203></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002204> :</TD
2205><TD
2206WIDTH="80%"
2207ALIGN="LEFT"
2208VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002209>NULL if not, otherwise the new element content structure</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002210></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002211></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002212></TABLE
2213><P
2214></P
2215></DIV
2216></DIV
2217><HR><DIV
2218CLASS="REFSECT2"
2219><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002220NAME="AEN9037"
Daniel Veillard35925471999-02-25 08:46:07 +00002221></A
2222><H3
2223><A
2224NAME="XMLCOPYELEMENTCONTENT"
2225></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002226>xmlCopyElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002227><TABLE
2228BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002229BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002230WIDTH="100%"
2231CELLPADDING="6"
2232><TR
2233><TD
2234><PRE
2235CLASS="PROGRAMLISTING"
2236><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002237HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002238>xmlElementContentPtr</A
2239> xmlCopyElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002240HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002241>xmlElementContentPtr</A
2242> content);</PRE
2243></TD
2244></TR
2245></TABLE
2246><P
2247>Build a copy of an element content description.</P
2248><P
2249></P
2250><DIV
2251CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002252><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002253NAME="AEN9045"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002254></P
2255><TABLE
2256BORDER="0"
2257WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002258BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002259CELLSPACING="0"
2260CELLPADDING="4"
2261CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002262><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002263><TR
2264><TD
2265WIDTH="20%"
2266ALIGN="RIGHT"
2267VALIGN="TOP"
2268><TT
2269CLASS="PARAMETER"
2270><I
2271>content</I
2272></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002273>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002274><TD
2275WIDTH="80%"
2276ALIGN="LEFT"
2277VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002278> An element content pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002279></TR
2280><TR
2281><TD
2282WIDTH="20%"
2283ALIGN="RIGHT"
2284VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002285><SPAN
2286CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002287><I
2288CLASS="EMPHASIS"
2289>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002290></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002291> :</TD
2292><TD
2293WIDTH="80%"
2294ALIGN="LEFT"
2295VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002296>the new xmlElementContentPtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002297></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002298></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002299></TABLE
2300><P
2301></P
2302></DIV
2303></DIV
2304><HR><DIV
2305CLASS="REFSECT2"
2306><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002307NAME="AEN9058"
Daniel Veillard35925471999-02-25 08:46:07 +00002308></A
2309><H3
2310><A
2311NAME="XMLFREEELEMENTCONTENT"
2312></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002313>xmlFreeElementContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002314><TABLE
2315BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002316BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002317WIDTH="100%"
2318CELLPADDING="6"
2319><TR
2320><TD
2321><PRE
2322CLASS="PROGRAMLISTING"
2323>void xmlFreeElementContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002324HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002325>xmlElementContentPtr</A
2326> cur);</PRE
2327></TD
2328></TR
2329></TABLE
2330><P
2331>Free an element content structure. This is a recursive call !</P
2332><P
2333></P
2334><DIV
2335CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002336><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002337NAME="AEN9065"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002338></P
2339><TABLE
2340BORDER="0"
2341WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002342BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002343CELLSPACING="0"
2344CELLPADDING="4"
2345CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002346><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002347><TR
2348><TD
2349WIDTH="20%"
2350ALIGN="RIGHT"
2351VALIGN="TOP"
2352><TT
2353CLASS="PARAMETER"
2354><I
2355>cur</I
2356></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002357>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002358><TD
2359WIDTH="80%"
2360ALIGN="LEFT"
2361VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002362> the element content tree to free</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002363></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002364></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002365></TABLE
2366><P
2367></P
2368></DIV
2369></DIV
2370><HR><DIV
2371CLASS="REFSECT2"
2372><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002373NAME="AEN9074"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002374></A
2375><H3
2376><A
2377NAME="XMLSNPRINTFELEMENTCONTENT"
2378></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002379>xmlSnprintfElementContent ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002380><TABLE
2381BORDER="0"
2382BGCOLOR="#D6E8FF"
2383WIDTH="100%"
2384CELLPADDING="6"
2385><TR
2386><TD
2387><PRE
2388CLASS="PROGRAMLISTING"
2389>void xmlSnprintfElementContent (char *buf,
2390 int size,
2391 <A
2392HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
2393>xmlElementContentPtr</A
2394> content,
2395 int glob);</PRE
2396></TD
2397></TR
2398></TABLE
2399><P
2400>This will dump the content of the element content definition
2401Intended just for the debug routine</P
2402><P
2403></P
2404><DIV
2405CLASS="INFORMALTABLE"
2406><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002407NAME="AEN9081"><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002408></P
2409><TABLE
2410BORDER="0"
2411WIDTH="100%"
2412BGCOLOR="#FFD0D0"
2413CELLSPACING="0"
2414CELLPADDING="4"
2415CLASS="CALSTABLE"
2416><TBODY
2417><TR
2418><TD
2419WIDTH="20%"
2420ALIGN="RIGHT"
2421VALIGN="TOP"
2422><TT
2423CLASS="PARAMETER"
2424><I
2425>buf</I
2426></TT
2427>&nbsp;:</TD
2428><TD
2429WIDTH="80%"
2430ALIGN="LEFT"
2431VALIGN="TOP"
2432> an output buffer</TD
2433></TR
2434><TR
2435><TD
2436WIDTH="20%"
2437ALIGN="RIGHT"
2438VALIGN="TOP"
2439><TT
2440CLASS="PARAMETER"
2441><I
2442>size</I
2443></TT
2444>&nbsp;:</TD
2445><TD
2446WIDTH="80%"
2447ALIGN="LEFT"
2448VALIGN="TOP"
2449> the buffer size</TD
2450></TR
2451><TR
2452><TD
2453WIDTH="20%"
2454ALIGN="RIGHT"
2455VALIGN="TOP"
2456><TT
2457CLASS="PARAMETER"
2458><I
2459>content</I
2460></TT
2461>&nbsp;:</TD
2462><TD
2463WIDTH="80%"
2464ALIGN="LEFT"
2465VALIGN="TOP"
2466> An element table</TD
2467></TR
2468><TR
2469><TD
2470WIDTH="20%"
2471ALIGN="RIGHT"
2472VALIGN="TOP"
2473><TT
2474CLASS="PARAMETER"
2475><I
2476>glob</I
2477></TT
2478>&nbsp;:</TD
2479><TD
2480WIDTH="80%"
2481ALIGN="LEFT"
2482VALIGN="TOP"
2483> 1 if one must print the englobing parenthesis, 0 otherwise</TD
2484></TR
2485></TBODY
2486></TABLE
2487><P
2488></P
2489></DIV
2490></DIV
2491><HR><DIV
2492CLASS="REFSECT2"
2493><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002494NAME="AEN9102"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002495></A
2496><H3
2497><A
2498NAME="XMLSPRINTFELEMENTCONTENT"
2499></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002500>xmlSprintfElementContent ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002501><TABLE
2502BORDER="0"
2503BGCOLOR="#D6E8FF"
2504WIDTH="100%"
2505CELLPADDING="6"
2506><TR
2507><TD
2508><PRE
2509CLASS="PROGRAMLISTING"
2510>void xmlSprintfElementContent (char *buf,
2511 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002512HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002513>xmlElementContentPtr</A
2514> content,
2515 int glob);</PRE
2516></TD
2517></TR
2518></TABLE
2519><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002520>Deprecated, unsafe, use xmlSnprintfElementContent</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002521><P
2522></P
2523><DIV
2524CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002525><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002526NAME="AEN9109"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002527></P
2528><TABLE
2529BORDER="0"
2530WIDTH="100%"
2531BGCOLOR="#FFD0D0"
2532CELLSPACING="0"
2533CELLPADDING="4"
2534CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002535><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002536><TR
2537><TD
2538WIDTH="20%"
2539ALIGN="RIGHT"
2540VALIGN="TOP"
2541><TT
2542CLASS="PARAMETER"
2543><I
2544>buf</I
2545></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002546>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002547><TD
2548WIDTH="80%"
2549ALIGN="LEFT"
2550VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002551> an output buffer</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002552></TR
2553><TR
2554><TD
2555WIDTH="20%"
2556ALIGN="RIGHT"
2557VALIGN="TOP"
2558><TT
2559CLASS="PARAMETER"
2560><I
2561>content</I
2562></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002563>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002564><TD
2565WIDTH="80%"
2566ALIGN="LEFT"
2567VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002568> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002569></TR
2570><TR
2571><TD
2572WIDTH="20%"
2573ALIGN="RIGHT"
2574VALIGN="TOP"
2575><TT
2576CLASS="PARAMETER"
2577><I
2578>glob</I
2579></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002580>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002581><TD
2582WIDTH="80%"
2583ALIGN="LEFT"
2584VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002585> 1 if one must print the englobing parenthesis, 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002586></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002587></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002588></TABLE
2589><P
2590></P
2591></DIV
2592></DIV
2593><HR><DIV
2594CLASS="REFSECT2"
2595><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002596NAME="AEN9126"
Daniel Veillard35925471999-02-25 08:46:07 +00002597></A
2598><H3
2599><A
2600NAME="XMLADDELEMENTDECL"
2601></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002602>xmlAddElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002603><TABLE
2604BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002605BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002606WIDTH="100%"
2607CELLPADDING="6"
2608><TR
2609><TD
2610><PRE
2611CLASS="PROGRAMLISTING"
2612><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002613HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002614>xmlElementPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002615> xmlAddElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002616HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002617>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002618> ctxt,
2619 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002620HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002621>xmlDtdPtr</A
2622> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002623 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002624HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002625>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002626> *name,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002627 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002628HREF="libxml-tree.html#XMLELEMENTTYPEVAL"
Daniel Veillard4c3a2031999-11-19 17:46:26 +00002629>xmlElementTypeVal</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002630> type,
Daniel Veillard35925471999-02-25 08:46:07 +00002631 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002632HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002633>xmlElementContentPtr</A
2634> content);</PRE
2635></TD
2636></TR
2637></TABLE
2638><P
2639>Register a new element declaration</P
2640><P
2641></P
2642><DIV
2643CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002644><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002645NAME="AEN9138"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002646></P
2647><TABLE
2648BORDER="0"
2649WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002650BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002651CELLSPACING="0"
2652CELLPADDING="4"
2653CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002654><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002655><TR
2656><TD
2657WIDTH="20%"
2658ALIGN="RIGHT"
2659VALIGN="TOP"
2660><TT
2661CLASS="PARAMETER"
2662><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00002663>ctxt</I
2664></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002665>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002666><TD
2667WIDTH="80%"
2668ALIGN="LEFT"
2669VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002670> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002671></TR
2672><TR
2673><TD
2674WIDTH="20%"
2675ALIGN="RIGHT"
2676VALIGN="TOP"
2677><TT
2678CLASS="PARAMETER"
2679><I
Daniel Veillard35925471999-02-25 08:46:07 +00002680>dtd</I
2681></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002682>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002683><TD
2684WIDTH="80%"
2685ALIGN="LEFT"
2686VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002687> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002688></TR
2689><TR
2690><TD
2691WIDTH="20%"
2692ALIGN="RIGHT"
2693VALIGN="TOP"
2694><TT
2695CLASS="PARAMETER"
2696><I
2697>name</I
2698></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002699>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002700><TD
2701WIDTH="80%"
2702ALIGN="LEFT"
2703VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002704> the entity name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002705></TR
2706><TR
2707><TD
2708WIDTH="20%"
2709ALIGN="RIGHT"
2710VALIGN="TOP"
2711><TT
2712CLASS="PARAMETER"
2713><I
2714>type</I
2715></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002716>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002717><TD
2718WIDTH="80%"
2719ALIGN="LEFT"
2720VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002721> the element type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002722></TR
2723><TR
2724><TD
2725WIDTH="20%"
2726ALIGN="RIGHT"
2727VALIGN="TOP"
2728><TT
2729CLASS="PARAMETER"
2730><I
2731>content</I
2732></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002733>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002734><TD
2735WIDTH="80%"
2736ALIGN="LEFT"
2737VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002738> the element content tree or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002739></TR
2740><TR
2741><TD
2742WIDTH="20%"
2743ALIGN="RIGHT"
2744VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002745><SPAN
2746CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002747><I
2748CLASS="EMPHASIS"
2749>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002750></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002751> :</TD
2752><TD
2753WIDTH="80%"
2754ALIGN="LEFT"
2755VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002756>NULL if not, otherwise the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002757></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002758></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002759></TABLE
2760><P
2761></P
2762></DIV
2763></DIV
2764><HR><DIV
2765CLASS="REFSECT2"
2766><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002767NAME="AEN9167"
Daniel Veillard35925471999-02-25 08:46:07 +00002768></A
2769><H3
2770><A
2771NAME="XMLCOPYELEMENTTABLE"
2772></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002773>xmlCopyElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002774><TABLE
2775BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002776BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002777WIDTH="100%"
2778CELLPADDING="6"
2779><TR
2780><TD
2781><PRE
2782CLASS="PROGRAMLISTING"
2783><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002784HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002785>xmlElementTablePtr</A
2786> xmlCopyElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002787HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002788>xmlElementTablePtr</A
2789> table);</PRE
2790></TD
2791></TR
2792></TABLE
2793><P
2794>Build a copy of an element table.</P
2795><P
2796></P
2797><DIV
2798CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002799><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002800NAME="AEN9175"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002801></P
2802><TABLE
2803BORDER="0"
2804WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002805BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002806CELLSPACING="0"
2807CELLPADDING="4"
2808CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002809><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002810><TR
2811><TD
2812WIDTH="20%"
2813ALIGN="RIGHT"
2814VALIGN="TOP"
2815><TT
2816CLASS="PARAMETER"
2817><I
2818>table</I
2819></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002820>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002821><TD
2822WIDTH="80%"
2823ALIGN="LEFT"
2824VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002825> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002826></TR
2827><TR
2828><TD
2829WIDTH="20%"
2830ALIGN="RIGHT"
2831VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002832><SPAN
2833CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00002834><I
2835CLASS="EMPHASIS"
2836>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002837></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00002838> :</TD
2839><TD
2840WIDTH="80%"
2841ALIGN="LEFT"
2842VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002843>the new xmlElementTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002844></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002845></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002846></TABLE
2847><P
2848></P
2849></DIV
2850></DIV
2851><HR><DIV
2852CLASS="REFSECT2"
2853><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002854NAME="AEN9188"
Daniel Veillard35925471999-02-25 08:46:07 +00002855></A
2856><H3
2857><A
2858NAME="XMLFREEELEMENTTABLE"
2859></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002860>xmlFreeElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002861><TABLE
2862BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002863BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002864WIDTH="100%"
2865CELLPADDING="6"
2866><TR
2867><TD
2868><PRE
2869CLASS="PROGRAMLISTING"
2870>void xmlFreeElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002871HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002872>xmlElementTablePtr</A
2873> table);</PRE
2874></TD
2875></TR
2876></TABLE
2877><P
2878>Deallocate the memory used by an element hash table.</P
2879><P
2880></P
2881><DIV
2882CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002883><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002884NAME="AEN9195"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002885></P
2886><TABLE
2887BORDER="0"
2888WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002889BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002890CELLSPACING="0"
2891CELLPADDING="4"
2892CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002893><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002894><TR
2895><TD
2896WIDTH="20%"
2897ALIGN="RIGHT"
2898VALIGN="TOP"
2899><TT
2900CLASS="PARAMETER"
2901><I
2902>table</I
2903></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002904>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002905><TD
2906WIDTH="80%"
2907ALIGN="LEFT"
2908VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002909> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002910></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002911></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002912></TABLE
2913><P
2914></P
2915></DIV
2916></DIV
2917><HR><DIV
2918CLASS="REFSECT2"
2919><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002920NAME="AEN9204"
Daniel Veillard35925471999-02-25 08:46:07 +00002921></A
2922><H3
2923><A
2924NAME="XMLDUMPELEMENTTABLE"
2925></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002926>xmlDumpElementTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002927><TABLE
2928BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002929BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002930WIDTH="100%"
2931CELLPADDING="6"
2932><TR
2933><TD
2934><PRE
2935CLASS="PROGRAMLISTING"
2936>void xmlDumpElementTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002937HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002938>xmlBufferPtr</A
2939> buf,
2940 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002941HREF="libxml-valid.html#XMLELEMENTTABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00002942>xmlElementTablePtr</A
2943> table);</PRE
2944></TD
2945></TR
2946></TABLE
2947><P
2948>This will dump the content of the element table as an XML DTD definition</P
2949><P
Daniel Veillard35925471999-02-25 08:46:07 +00002950></P
2951><DIV
2952CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002953><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002954NAME="AEN9212"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002955></P
2956><TABLE
2957BORDER="0"
2958WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002959BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002960CELLSPACING="0"
2961CELLPADDING="4"
2962CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002963><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002964><TR
2965><TD
2966WIDTH="20%"
2967ALIGN="RIGHT"
2968VALIGN="TOP"
2969><TT
2970CLASS="PARAMETER"
2971><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002972>buf</I
2973></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002974>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002975><TD
2976WIDTH="80%"
2977ALIGN="LEFT"
2978VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002979> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002980></TR
2981><TR
2982><TD
2983WIDTH="20%"
2984ALIGN="RIGHT"
2985VALIGN="TOP"
2986><TT
2987CLASS="PARAMETER"
2988><I
Daniel Veillard35925471999-02-25 08:46:07 +00002989>table</I
2990></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002991>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002992><TD
2993WIDTH="80%"
2994ALIGN="LEFT"
2995VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002996> An element table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002997></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002998></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002999></TABLE
3000><P
3001></P
3002></DIV
3003></DIV
3004><HR><DIV
3005CLASS="REFSECT2"
3006><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003007NAME="AEN9225"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003008></A
3009><H3
3010><A
3011NAME="XMLDUMPELEMENTDECL"
3012></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003013>xmlDumpElementDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003014><TABLE
3015BORDER="0"
3016BGCOLOR="#D6E8FF"
3017WIDTH="100%"
3018CELLPADDING="6"
3019><TR
3020><TD
3021><PRE
3022CLASS="PROGRAMLISTING"
3023>void xmlDumpElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003024HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003025>xmlBufferPtr</A
3026> buf,
3027 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003028HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003029>xmlElementPtr</A
3030> elem);</PRE
3031></TD
3032></TR
3033></TABLE
3034><P
3035>This will dump the content of the element declaration as an XML
3036DTD definition</P
3037><P
3038></P
3039><DIV
3040CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003041><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003042NAME="AEN9233"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003043></P
3044><TABLE
3045BORDER="0"
3046WIDTH="100%"
3047BGCOLOR="#FFD0D0"
3048CELLSPACING="0"
3049CELLPADDING="4"
3050CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003051><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003052><TR
3053><TD
3054WIDTH="20%"
3055ALIGN="RIGHT"
3056VALIGN="TOP"
3057><TT
3058CLASS="PARAMETER"
3059><I
3060>buf</I
3061></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003062>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003063><TD
3064WIDTH="80%"
3065ALIGN="LEFT"
3066VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003067> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003068></TR
3069><TR
3070><TD
3071WIDTH="20%"
3072ALIGN="RIGHT"
3073VALIGN="TOP"
3074><TT
3075CLASS="PARAMETER"
3076><I
3077>elem</I
3078></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003079>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003080><TD
3081WIDTH="80%"
3082ALIGN="LEFT"
3083VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003084> An element table</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003085></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003086></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003087></TABLE
3088><P
3089></P
3090></DIV
3091></DIV
3092><HR><DIV
3093CLASS="REFSECT2"
3094><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003095NAME="AEN9246"
Daniel Veillard35925471999-02-25 08:46:07 +00003096></A
3097><H3
3098><A
3099NAME="XMLCREATEENUMERATION"
3100></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003101>xmlCreateEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003102><TABLE
3103BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003104BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003105WIDTH="100%"
3106CELLPADDING="6"
3107><TR
3108><TD
3109><PRE
3110CLASS="PROGRAMLISTING"
3111><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003112HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003113>xmlEnumerationPtr</A
3114> xmlCreateEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003115HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003116>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003117> *name);</PRE
3118></TD
3119></TR
3120></TABLE
3121><P
3122>create and initialize an enumeration attribute node.</P
3123><P
3124></P
3125><DIV
3126CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003127><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003128NAME="AEN9254"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003129></P
3130><TABLE
3131BORDER="0"
3132WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003133BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003134CELLSPACING="0"
3135CELLPADDING="4"
3136CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003137><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003138><TR
3139><TD
3140WIDTH="20%"
3141ALIGN="RIGHT"
3142VALIGN="TOP"
3143><TT
3144CLASS="PARAMETER"
3145><I
3146>name</I
3147></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003148>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003149><TD
3150WIDTH="80%"
3151ALIGN="LEFT"
3152VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003153> the enumeration name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003154></TR
3155><TR
3156><TD
3157WIDTH="20%"
3158ALIGN="RIGHT"
3159VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003160><SPAN
3161CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003162><I
3163CLASS="EMPHASIS"
3164>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003165></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003166> :</TD
3167><TD
3168WIDTH="80%"
3169ALIGN="LEFT"
3170VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003171>the xmlEnumerationPtr just created or NULL in case
Daniel Veillardaf43f632002-03-08 15:05:20 +00003172of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003173></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003174></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003175></TABLE
3176><P
3177></P
3178></DIV
3179></DIV
3180><HR><DIV
3181CLASS="REFSECT2"
3182><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003183NAME="AEN9267"
Daniel Veillard35925471999-02-25 08:46:07 +00003184></A
3185><H3
3186><A
3187NAME="XMLFREEENUMERATION"
3188></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003189>xmlFreeEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003190><TABLE
3191BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003192BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003193WIDTH="100%"
3194CELLPADDING="6"
3195><TR
3196><TD
3197><PRE
3198CLASS="PROGRAMLISTING"
3199>void xmlFreeEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003200HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003201>xmlEnumerationPtr</A
3202> cur);</PRE
3203></TD
3204></TR
3205></TABLE
3206><P
3207>free an enumeration attribute node (recursive).</P
3208><P
3209></P
3210><DIV
3211CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003212><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003213NAME="AEN9274"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003214></P
3215><TABLE
3216BORDER="0"
3217WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003218BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003219CELLSPACING="0"
3220CELLPADDING="4"
3221CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003222><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003223><TR
3224><TD
3225WIDTH="20%"
3226ALIGN="RIGHT"
3227VALIGN="TOP"
3228><TT
3229CLASS="PARAMETER"
3230><I
3231>cur</I
3232></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003233>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003234><TD
3235WIDTH="80%"
3236ALIGN="LEFT"
3237VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003238> the tree to free.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003239></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003240></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003241></TABLE
3242><P
3243></P
3244></DIV
3245></DIV
3246><HR><DIV
3247CLASS="REFSECT2"
3248><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003249NAME="AEN9283"
Daniel Veillard35925471999-02-25 08:46:07 +00003250></A
3251><H3
3252><A
3253NAME="XMLCOPYENUMERATION"
3254></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003255>xmlCopyEnumeration ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003256><TABLE
3257BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003258BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003259WIDTH="100%"
3260CELLPADDING="6"
3261><TR
3262><TD
3263><PRE
3264CLASS="PROGRAMLISTING"
3265><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003266HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003267>xmlEnumerationPtr</A
3268> xmlCopyEnumeration (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003269HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003270>xmlEnumerationPtr</A
3271> cur);</PRE
3272></TD
3273></TR
3274></TABLE
3275><P
3276>Copy an enumeration attribute node (recursive).</P
3277><P
3278></P
3279><DIV
3280CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003281><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003282NAME="AEN9291"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003283></P
3284><TABLE
3285BORDER="0"
3286WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003287BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003288CELLSPACING="0"
3289CELLPADDING="4"
3290CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003291><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003292><TR
3293><TD
3294WIDTH="20%"
3295ALIGN="RIGHT"
3296VALIGN="TOP"
3297><TT
3298CLASS="PARAMETER"
3299><I
3300>cur</I
3301></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003302>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003303><TD
3304WIDTH="80%"
3305ALIGN="LEFT"
3306VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003307> the tree to copy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003308></TR
3309><TR
3310><TD
3311WIDTH="20%"
3312ALIGN="RIGHT"
3313VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003314><SPAN
3315CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003316><I
3317CLASS="EMPHASIS"
3318>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003319></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003320> :</TD
3321><TD
3322WIDTH="80%"
3323ALIGN="LEFT"
3324VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003325>the xmlEnumerationPtr just created or NULL in case
Daniel Veillardaf43f632002-03-08 15:05:20 +00003326of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003327></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003328></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003329></TABLE
3330><P
3331></P
3332></DIV
3333></DIV
3334><HR><DIV
3335CLASS="REFSECT2"
3336><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003337NAME="AEN9304"
Daniel Veillard35925471999-02-25 08:46:07 +00003338></A
3339><H3
3340><A
3341NAME="XMLADDATTRIBUTEDECL"
3342></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003343>xmlAddAttributeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003344><TABLE
3345BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003346BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003347WIDTH="100%"
3348CELLPADDING="6"
3349><TR
3350><TD
3351><PRE
3352CLASS="PROGRAMLISTING"
3353><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003354HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003355>xmlAttributePtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003356> xmlAddAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003357HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003358>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00003359> ctxt,
3360 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003361HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003362>xmlDtdPtr</A
3363> dtd,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003364 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003365HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003366>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003367> *elem,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003368 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003369HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003370>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003371> *name,
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003372 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003373HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003374>xmlChar</A
Daniel Veillard06047432000-04-24 11:33:38 +00003375> *ns,
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003376 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003377HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003378>xmlAttributeType</A
3379> type,
3380 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003381HREF="libxml-tree.html#XMLATTRIBUTEDEFAULT"
Daniel Veillardd2d38e91999-08-30 11:42:36 +00003382>xmlAttributeDefault</A
3383> def,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003384 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003385HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003386>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003387> *defaultValue,
3388 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003389HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003390>xmlEnumerationPtr</A
3391> tree);</PRE
3392></TD
3393></TR
3394></TABLE
3395><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003396>Register a new attribute declaration
3397Note that <TT
3398CLASS="PARAMETER"
3399><I
3400>tree</I
3401></TT
3402> becomes the ownership of the DTD</P
Daniel Veillard35925471999-02-25 08:46:07 +00003403><P
3404></P
3405><DIV
3406CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003407><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003408NAME="AEN9321"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003409></P
3410><TABLE
3411BORDER="0"
3412WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003413BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003414CELLSPACING="0"
3415CELLPADDING="4"
3416CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003417><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003418><TR
3419><TD
3420WIDTH="20%"
3421ALIGN="RIGHT"
3422VALIGN="TOP"
3423><TT
3424CLASS="PARAMETER"
3425><I
Daniel Veillardb05deb71999-08-10 19:04:08 +00003426>ctxt</I
3427></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003428>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003429><TD
3430WIDTH="80%"
3431ALIGN="LEFT"
3432VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003433> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003434></TR
3435><TR
3436><TD
3437WIDTH="20%"
3438ALIGN="RIGHT"
3439VALIGN="TOP"
3440><TT
3441CLASS="PARAMETER"
3442><I
Daniel Veillard35925471999-02-25 08:46:07 +00003443>dtd</I
3444></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003445>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003446><TD
3447WIDTH="80%"
3448ALIGN="LEFT"
3449VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003450> pointer to the DTD</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003451></TR
3452><TR
3453><TD
3454WIDTH="20%"
3455ALIGN="RIGHT"
3456VALIGN="TOP"
3457><TT
3458CLASS="PARAMETER"
3459><I
3460>elem</I
3461></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003462>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003463><TD
3464WIDTH="80%"
3465ALIGN="LEFT"
3466VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003467> the element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003468></TR
3469><TR
3470><TD
3471WIDTH="20%"
3472ALIGN="RIGHT"
3473VALIGN="TOP"
3474><TT
3475CLASS="PARAMETER"
3476><I
3477>name</I
3478></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003479>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003480><TD
3481WIDTH="80%"
3482ALIGN="LEFT"
3483VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003484> the attribute name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003485></TR
3486><TR
3487><TD
3488WIDTH="20%"
3489ALIGN="RIGHT"
3490VALIGN="TOP"
3491><TT
3492CLASS="PARAMETER"
3493><I
Daniel Veillard06047432000-04-24 11:33:38 +00003494>ns</I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003495></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003496>&nbsp;:</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003497><TD
3498WIDTH="80%"
3499ALIGN="LEFT"
3500VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003501> the attribute namespace prefix</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003502></TR
3503><TR
3504><TD
3505WIDTH="20%"
3506ALIGN="RIGHT"
3507VALIGN="TOP"
3508><TT
3509CLASS="PARAMETER"
3510><I
Daniel Veillard35925471999-02-25 08:46:07 +00003511>type</I
3512></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003513>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003514><TD
3515WIDTH="80%"
3516ALIGN="LEFT"
3517VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003518> the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003519></TR
3520><TR
3521><TD
3522WIDTH="20%"
3523ALIGN="RIGHT"
3524VALIGN="TOP"
3525><TT
3526CLASS="PARAMETER"
3527><I
3528>def</I
3529></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003530>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003531><TD
3532WIDTH="80%"
3533ALIGN="LEFT"
3534VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003535> the attribute default type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003536></TR
3537><TR
3538><TD
3539WIDTH="20%"
3540ALIGN="RIGHT"
3541VALIGN="TOP"
3542><TT
3543CLASS="PARAMETER"
3544><I
3545>defaultValue</I
3546></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003547>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003548><TD
3549WIDTH="80%"
3550ALIGN="LEFT"
3551VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003552> the attribute default value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003553></TR
3554><TR
3555><TD
3556WIDTH="20%"
3557ALIGN="RIGHT"
3558VALIGN="TOP"
3559><TT
3560CLASS="PARAMETER"
3561><I
3562>tree</I
3563></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003564>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003565><TD
3566WIDTH="80%"
3567ALIGN="LEFT"
3568VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003569> if it's an enumeration, the associated list</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003570></TR
3571><TR
3572><TD
3573WIDTH="20%"
3574ALIGN="RIGHT"
3575VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003576><SPAN
3577CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003578><I
3579CLASS="EMPHASIS"
3580>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003581></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003582> :</TD
3583><TD
3584WIDTH="80%"
3585ALIGN="LEFT"
3586VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00003587>NULL if not new, otherwise the attribute decl</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003588></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003589></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003590></TABLE
3591><P
3592></P
3593></DIV
3594></DIV
3595><HR><DIV
3596CLASS="REFSECT2"
3597><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003598NAME="AEN9366"
Daniel Veillard35925471999-02-25 08:46:07 +00003599></A
3600><H3
3601><A
3602NAME="XMLCOPYATTRIBUTETABLE"
3603></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003604>xmlCopyAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003605><TABLE
3606BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003607BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003608WIDTH="100%"
3609CELLPADDING="6"
3610><TR
3611><TD
3612><PRE
3613CLASS="PROGRAMLISTING"
3614><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003615HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003616>xmlAttributeTablePtr</A
3617> xmlCopyAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003618HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003619>xmlAttributeTablePtr</A
3620> table);</PRE
3621></TD
3622></TR
3623></TABLE
3624><P
3625>Build a copy of an attribute table.</P
3626><P
3627></P
3628><DIV
3629CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003630><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003631NAME="AEN9374"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003632></P
3633><TABLE
3634BORDER="0"
3635WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003636BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003637CELLSPACING="0"
3638CELLPADDING="4"
3639CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003640><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003641><TR
3642><TD
3643WIDTH="20%"
3644ALIGN="RIGHT"
3645VALIGN="TOP"
3646><TT
3647CLASS="PARAMETER"
3648><I
3649>table</I
3650></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003651>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003652><TD
3653WIDTH="80%"
3654ALIGN="LEFT"
3655VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003656> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003657></TR
3658><TR
3659><TD
3660WIDTH="20%"
3661ALIGN="RIGHT"
3662VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003663><SPAN
3664CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00003665><I
3666CLASS="EMPHASIS"
3667>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003668></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00003669> :</TD
3670><TD
3671WIDTH="80%"
3672ALIGN="LEFT"
3673VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003674>the new xmlAttributeTablePtr or NULL in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003675></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003676></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003677></TABLE
3678><P
3679></P
3680></DIV
3681></DIV
3682><HR><DIV
3683CLASS="REFSECT2"
3684><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003685NAME="AEN9387"
Daniel Veillard35925471999-02-25 08:46:07 +00003686></A
3687><H3
3688><A
3689NAME="XMLFREEATTRIBUTETABLE"
3690></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003691>xmlFreeAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003692><TABLE
3693BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003694BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003695WIDTH="100%"
3696CELLPADDING="6"
3697><TR
3698><TD
3699><PRE
3700CLASS="PROGRAMLISTING"
3701>void xmlFreeAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003702HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003703>xmlAttributeTablePtr</A
3704> table);</PRE
3705></TD
3706></TR
3707></TABLE
3708><P
3709>Deallocate the memory used by an entities hash table.</P
3710><P
3711></P
3712><DIV
3713CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003714><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003715NAME="AEN9394"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003716></P
3717><TABLE
3718BORDER="0"
3719WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003720BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003721CELLSPACING="0"
3722CELLPADDING="4"
3723CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003724><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003725><TR
3726><TD
3727WIDTH="20%"
3728ALIGN="RIGHT"
3729VALIGN="TOP"
3730><TT
3731CLASS="PARAMETER"
3732><I
3733>table</I
3734></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003735>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003736><TD
3737WIDTH="80%"
3738ALIGN="LEFT"
3739VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003740> An attribute table</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003741></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003742></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003743></TABLE
3744><P
3745></P
3746></DIV
3747></DIV
3748><HR><DIV
3749CLASS="REFSECT2"
3750><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003751NAME="AEN9403"
Daniel Veillard35925471999-02-25 08:46:07 +00003752></A
3753><H3
3754><A
3755NAME="XMLDUMPATTRIBUTETABLE"
3756></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003757>xmlDumpAttributeTable ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003758><TABLE
3759BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003760BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003761WIDTH="100%"
3762CELLPADDING="6"
3763><TR
3764><TD
3765><PRE
3766CLASS="PROGRAMLISTING"
3767>void xmlDumpAttributeTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003768HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003769>xmlBufferPtr</A
3770> buf,
3771 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003772HREF="libxml-valid.html#XMLATTRIBUTETABLEPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003773>xmlAttributeTablePtr</A
3774> table);</PRE
3775></TD
3776></TR
3777></TABLE
3778><P
3779>This will dump the content of the attribute table as an XML DTD definition</P
3780><P
Daniel Veillard35925471999-02-25 08:46:07 +00003781></P
3782><DIV
3783CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003784><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003785NAME="AEN9411"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003786></P
3787><TABLE
3788BORDER="0"
3789WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003790BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003791CELLSPACING="0"
3792CELLPADDING="4"
3793CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003794><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003795><TR
3796><TD
3797WIDTH="20%"
3798ALIGN="RIGHT"
3799VALIGN="TOP"
3800><TT
3801CLASS="PARAMETER"
3802><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003803>buf</I
3804></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003805>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003806><TD
3807WIDTH="80%"
3808ALIGN="LEFT"
3809VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003810> the XML buffer output</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003811></TR
3812><TR
3813><TD
3814WIDTH="20%"
3815ALIGN="RIGHT"
3816VALIGN="TOP"
3817><TT
3818CLASS="PARAMETER"
3819><I
Daniel Veillard35925471999-02-25 08:46:07 +00003820>table</I
3821></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003822>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003823><TD
3824WIDTH="80%"
3825ALIGN="LEFT"
3826VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003827> An attribute table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003828></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003829></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003830></TABLE
3831><P
3832></P
3833></DIV
3834></DIV
3835><HR><DIV
3836CLASS="REFSECT2"
3837><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003838NAME="AEN9424"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003839></A
3840><H3
3841><A
3842NAME="XMLDUMPATTRIBUTEDECL"
3843></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003844>xmlDumpAttributeDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003845><TABLE
3846BORDER="0"
3847BGCOLOR="#D6E8FF"
3848WIDTH="100%"
3849CELLPADDING="6"
3850><TR
3851><TD
3852><PRE
3853CLASS="PROGRAMLISTING"
3854>void xmlDumpAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003855HREF="libxml-tree.html#XMLBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003856>xmlBufferPtr</A
3857> buf,
3858 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003859HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003860>xmlAttributePtr</A
3861> attr);</PRE
3862></TD
3863></TR
3864></TABLE
3865><P
3866>This will dump the content of the attribute declaration as an XML
3867DTD definition</P
3868><P
3869></P
3870><DIV
3871CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003872><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003873NAME="AEN9432"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003874></P
3875><TABLE
3876BORDER="0"
3877WIDTH="100%"
3878BGCOLOR="#FFD0D0"
3879CELLSPACING="0"
3880CELLPADDING="4"
3881CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003882><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003883><TR
3884><TD
3885WIDTH="20%"
3886ALIGN="RIGHT"
3887VALIGN="TOP"
3888><TT
3889CLASS="PARAMETER"
3890><I
3891>buf</I
3892></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003893>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003894><TD
3895WIDTH="80%"
3896ALIGN="LEFT"
3897VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003898> the XML buffer output</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003899></TR
3900><TR
3901><TD
3902WIDTH="20%"
3903ALIGN="RIGHT"
3904VALIGN="TOP"
3905><TT
3906CLASS="PARAMETER"
3907><I
3908>attr</I
3909></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003910>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003911><TD
3912WIDTH="80%"
3913ALIGN="LEFT"
3914VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003915> An attribute declaration</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003916></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003917></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003918></TABLE
3919><P
3920></P
3921></DIV
3922></DIV
3923><HR><DIV
3924CLASS="REFSECT2"
3925><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003926NAME="AEN9445"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003927></A
3928><H3
3929><A
3930NAME="XMLADDID"
3931></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003932>xmlAddID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003933><TABLE
3934BORDER="0"
3935BGCOLOR="#D6E8FF"
3936WIDTH="100%"
3937CELLPADDING="6"
3938><TR
3939><TD
3940><PRE
3941CLASS="PROGRAMLISTING"
3942><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003943HREF="libxml-tree.html#XMLIDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003944>xmlIDPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003945> xmlAddID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003946HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003947>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003948> ctxt,
3949 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003950HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003951>xmlDocPtr</A
3952> doc,
3953 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003954HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003955>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003956> *value,
3957 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003958HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003959>xmlAttrPtr</A
3960> attr);</PRE
3961></TD
3962></TR
3963></TABLE
3964><P
3965>Register a new id declaration</P
3966><P
3967></P
3968><DIV
3969CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003970><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003971NAME="AEN9456"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003972></P
3973><TABLE
3974BORDER="0"
3975WIDTH="100%"
3976BGCOLOR="#FFD0D0"
3977CELLSPACING="0"
3978CELLPADDING="4"
3979CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003980><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003981><TR
3982><TD
3983WIDTH="20%"
3984ALIGN="RIGHT"
3985VALIGN="TOP"
3986><TT
3987CLASS="PARAMETER"
3988><I
3989>ctxt</I
3990></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003991>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003992><TD
3993WIDTH="80%"
3994ALIGN="LEFT"
3995VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003996> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003997></TR
3998><TR
3999><TD
4000WIDTH="20%"
4001ALIGN="RIGHT"
4002VALIGN="TOP"
4003><TT
4004CLASS="PARAMETER"
4005><I
4006>doc</I
4007></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004008>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004009><TD
4010WIDTH="80%"
4011ALIGN="LEFT"
4012VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004013> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004014></TR
4015><TR
4016><TD
4017WIDTH="20%"
4018ALIGN="RIGHT"
4019VALIGN="TOP"
4020><TT
4021CLASS="PARAMETER"
4022><I
4023>value</I
4024></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004025>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004026><TD
4027WIDTH="80%"
4028ALIGN="LEFT"
4029VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004030> the value name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004031></TR
4032><TR
4033><TD
4034WIDTH="20%"
4035ALIGN="RIGHT"
4036VALIGN="TOP"
4037><TT
4038CLASS="PARAMETER"
4039><I
4040>attr</I
4041></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004042>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004043><TD
4044WIDTH="80%"
4045ALIGN="LEFT"
4046VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004047> the attribute holding the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004048></TR
4049><TR
4050><TD
4051WIDTH="20%"
4052ALIGN="RIGHT"
4053VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004054><SPAN
4055CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004056><I
4057CLASS="EMPHASIS"
4058>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004059></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004060> :</TD
4061><TD
4062WIDTH="80%"
4063ALIGN="LEFT"
4064VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004065>NULL if not, otherwise the new xmlIDPtr</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004066></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004067></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004068></TABLE
4069><P
4070></P
4071></DIV
4072></DIV
4073><HR><DIV
4074CLASS="REFSECT2"
4075><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004076NAME="AEN9481"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004077></A
4078><H3
4079><A
4080NAME="XMLFREEIDTABLE"
4081></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004082>xmlFreeIDTable ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004083><TABLE
4084BORDER="0"
4085BGCOLOR="#D6E8FF"
4086WIDTH="100%"
4087CELLPADDING="6"
4088><TR
4089><TD
4090><PRE
4091CLASS="PROGRAMLISTING"
4092>void xmlFreeIDTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004093HREF="libxml-valid.html#XMLIDTABLEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004094>xmlIDTablePtr</A
4095> table);</PRE
4096></TD
4097></TR
4098></TABLE
4099><P
4100>Deallocate the memory used by an ID hash table.</P
4101><P
4102></P
4103><DIV
4104CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004105><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004106NAME="AEN9488"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004107></P
4108><TABLE
4109BORDER="0"
4110WIDTH="100%"
4111BGCOLOR="#FFD0D0"
4112CELLSPACING="0"
4113CELLPADDING="4"
4114CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004115><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004116><TR
4117><TD
4118WIDTH="20%"
4119ALIGN="RIGHT"
4120VALIGN="TOP"
4121><TT
4122CLASS="PARAMETER"
4123><I
4124>table</I
4125></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004126>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004127><TD
4128WIDTH="80%"
4129ALIGN="LEFT"
4130VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004131> An id table</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004132></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004133></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004134></TABLE
4135><P
4136></P
4137></DIV
4138></DIV
4139><HR><DIV
4140CLASS="REFSECT2"
4141><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004142NAME="AEN9497"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004143></A
4144><H3
4145><A
4146NAME="XMLGETID"
4147></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004148>xmlGetID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004149><TABLE
4150BORDER="0"
4151BGCOLOR="#D6E8FF"
4152WIDTH="100%"
4153CELLPADDING="6"
4154><TR
4155><TD
4156><PRE
4157CLASS="PROGRAMLISTING"
4158><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004159HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004160>xmlAttrPtr</A
4161> xmlGetID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004162HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004163>xmlDocPtr</A
4164> doc,
4165 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004166HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004167>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004168> *ID);</PRE
4169></TD
4170></TR
4171></TABLE
4172><P
4173>Search the attribute declaring the given ID</P
4174><P
4175></P
4176><DIV
4177CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004178><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004179NAME="AEN9506"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004180></P
4181><TABLE
4182BORDER="0"
4183WIDTH="100%"
4184BGCOLOR="#FFD0D0"
4185CELLSPACING="0"
4186CELLPADDING="4"
4187CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004188><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004189><TR
4190><TD
4191WIDTH="20%"
4192ALIGN="RIGHT"
4193VALIGN="TOP"
4194><TT
4195CLASS="PARAMETER"
4196><I
4197>doc</I
4198></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004199>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004200><TD
4201WIDTH="80%"
4202ALIGN="LEFT"
4203VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004204> pointer to the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004205></TR
4206><TR
4207><TD
4208WIDTH="20%"
4209ALIGN="RIGHT"
4210VALIGN="TOP"
4211><TT
4212CLASS="PARAMETER"
4213><I
4214>ID</I
4215></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004216>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004217><TD
4218WIDTH="80%"
4219ALIGN="LEFT"
4220VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004221> the ID value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004222></TR
4223><TR
4224><TD
4225WIDTH="20%"
4226ALIGN="RIGHT"
4227VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004228><SPAN
4229CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004230><I
4231CLASS="EMPHASIS"
4232>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004233></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004234> :</TD
4235><TD
4236WIDTH="80%"
4237ALIGN="LEFT"
4238VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004239>NULL if not found, otherwise the xmlAttrPtr defining the ID</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004240></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004241></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004242></TABLE
4243><P
4244></P
4245></DIV
4246></DIV
4247><HR><DIV
4248CLASS="REFSECT2"
4249><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004250NAME="AEN9523"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004251></A
4252><H3
4253><A
4254NAME="XMLISID"
4255></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004256>xmlIsID ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004257><TABLE
4258BORDER="0"
4259BGCOLOR="#D6E8FF"
4260WIDTH="100%"
4261CELLPADDING="6"
4262><TR
4263><TD
4264><PRE
4265CLASS="PROGRAMLISTING"
4266>int xmlIsID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004267HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004268>xmlDocPtr</A
4269> doc,
4270 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004271HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004272>xmlNodePtr</A
4273> elem,
4274 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004275HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004276>xmlAttrPtr</A
4277> attr);</PRE
4278></TD
4279></TR
4280></TABLE
4281><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004282>Determine whether an attribute is of type ID. In case we have DTD(s)
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004283then this is simple, otherwise we use an heuristic: name ID (upper
4284or lowercase).</P
4285><P
4286></P
4287><DIV
4288CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004289><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004290NAME="AEN9532"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004291></P
4292><TABLE
4293BORDER="0"
4294WIDTH="100%"
4295BGCOLOR="#FFD0D0"
4296CELLSPACING="0"
4297CELLPADDING="4"
4298CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004299><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004300><TR
4301><TD
4302WIDTH="20%"
4303ALIGN="RIGHT"
4304VALIGN="TOP"
4305><TT
4306CLASS="PARAMETER"
4307><I
4308>doc</I
4309></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004310>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004311><TD
4312WIDTH="80%"
4313ALIGN="LEFT"
4314VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004315> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004316></TR
4317><TR
4318><TD
4319WIDTH="20%"
4320ALIGN="RIGHT"
4321VALIGN="TOP"
4322><TT
4323CLASS="PARAMETER"
4324><I
4325>elem</I
4326></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004327>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004328><TD
4329WIDTH="80%"
4330ALIGN="LEFT"
4331VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004332> the element carrying the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004333></TR
4334><TR
4335><TD
4336WIDTH="20%"
4337ALIGN="RIGHT"
4338VALIGN="TOP"
4339><TT
4340CLASS="PARAMETER"
4341><I
4342>attr</I
4343></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004344>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004345><TD
4346WIDTH="80%"
4347ALIGN="LEFT"
4348VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004349> the attribute</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004350></TR
4351><TR
4352><TD
4353WIDTH="20%"
4354ALIGN="RIGHT"
4355VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004356><SPAN
4357CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004358><I
4359CLASS="EMPHASIS"
4360>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004361></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004362> :</TD
4363><TD
4364WIDTH="80%"
4365ALIGN="LEFT"
4366VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004367>0 or 1 depending on the lookup result</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004368></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004369></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004370></TABLE
4371><P
4372></P
4373></DIV
4374></DIV
4375><HR><DIV
4376CLASS="REFSECT2"
4377><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004378NAME="AEN9553"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004379></A
4380><H3
4381><A
4382NAME="XMLREMOVEID"
4383></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004384>xmlRemoveID ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004385><TABLE
4386BORDER="0"
4387BGCOLOR="#D6E8FF"
4388WIDTH="100%"
4389CELLPADDING="6"
4390><TR
4391><TD
4392><PRE
4393CLASS="PROGRAMLISTING"
4394>int xmlRemoveID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004395HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004396>xmlDocPtr</A
4397> doc,
4398 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004399HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004400>xmlAttrPtr</A
4401> attr);</PRE
4402></TD
4403></TR
4404></TABLE
4405><P
4406>Remove the given attribute from the ID table maintained internally.</P
4407><P
4408></P
4409><DIV
4410CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004411><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004412NAME="AEN9561"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004413></P
4414><TABLE
4415BORDER="0"
4416WIDTH="100%"
4417BGCOLOR="#FFD0D0"
4418CELLSPACING="0"
4419CELLPADDING="4"
4420CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004421><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004422><TR
4423><TD
4424WIDTH="20%"
4425ALIGN="RIGHT"
4426VALIGN="TOP"
4427><TT
4428CLASS="PARAMETER"
4429><I
4430>doc</I
4431></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004432>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004433><TD
4434WIDTH="80%"
4435ALIGN="LEFT"
4436VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004437> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004438></TR
4439><TR
4440><TD
4441WIDTH="20%"
4442ALIGN="RIGHT"
4443VALIGN="TOP"
4444><TT
4445CLASS="PARAMETER"
4446><I
4447>attr</I
4448></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004449>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004450><TD
4451WIDTH="80%"
4452ALIGN="LEFT"
4453VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004454> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004455></TR
4456><TR
4457><TD
4458WIDTH="20%"
4459ALIGN="RIGHT"
4460VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004461><SPAN
4462CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004463><I
4464CLASS="EMPHASIS"
4465>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004466></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004467> :</TD
4468><TD
4469WIDTH="80%"
4470ALIGN="LEFT"
4471VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004472>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004473></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004474></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004475></TABLE
4476><P
4477></P
4478></DIV
4479></DIV
4480><HR><DIV
4481CLASS="REFSECT2"
4482><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004483NAME="AEN9578"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004484></A
4485><H3
4486><A
4487NAME="XMLADDREF"
4488></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004489>xmlAddRef ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004490><TABLE
4491BORDER="0"
4492BGCOLOR="#D6E8FF"
4493WIDTH="100%"
4494CELLPADDING="6"
4495><TR
4496><TD
4497><PRE
4498CLASS="PROGRAMLISTING"
4499><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004500HREF="libxml-tree.html#XMLREFPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004501>xmlRefPtr</A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004502> xmlAddRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004503HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004504>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004505> ctxt,
4506 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004507HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004508>xmlDocPtr</A
4509> doc,
4510 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004511HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004512>xmlChar</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004513> *value,
4514 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004515HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004516>xmlAttrPtr</A
4517> attr);</PRE
4518></TD
4519></TR
4520></TABLE
4521><P
4522>Register a new ref declaration</P
4523><P
4524></P
4525><DIV
4526CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004527><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004528NAME="AEN9589"><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004529></P
4530><TABLE
4531BORDER="0"
4532WIDTH="100%"
4533BGCOLOR="#FFD0D0"
4534CELLSPACING="0"
4535CELLPADDING="4"
4536CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004537><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004538><TR
4539><TD
4540WIDTH="20%"
4541ALIGN="RIGHT"
4542VALIGN="TOP"
4543><TT
4544CLASS="PARAMETER"
4545><I
4546>ctxt</I
4547></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004548>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004549><TD
4550WIDTH="80%"
4551ALIGN="LEFT"
4552VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004553> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004554></TR
4555><TR
4556><TD
4557WIDTH="20%"
4558ALIGN="RIGHT"
4559VALIGN="TOP"
4560><TT
4561CLASS="PARAMETER"
4562><I
4563>doc</I
4564></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004565>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004566><TD
4567WIDTH="80%"
4568ALIGN="LEFT"
4569VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004570> pointer to the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004571></TR
4572><TR
4573><TD
4574WIDTH="20%"
4575ALIGN="RIGHT"
4576VALIGN="TOP"
4577><TT
4578CLASS="PARAMETER"
4579><I
4580>value</I
4581></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004582>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004583><TD
4584WIDTH="80%"
4585ALIGN="LEFT"
4586VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004587> the value name</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004588></TR
4589><TR
4590><TD
4591WIDTH="20%"
4592ALIGN="RIGHT"
4593VALIGN="TOP"
4594><TT
4595CLASS="PARAMETER"
4596><I
4597>attr</I
4598></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004599>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004600><TD
4601WIDTH="80%"
4602ALIGN="LEFT"
4603VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004604> the attribute holding the Ref</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004605></TR
4606><TR
4607><TD
4608WIDTH="20%"
4609ALIGN="RIGHT"
4610VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004611><SPAN
4612CLASS="emphasis"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004613><I
4614CLASS="EMPHASIS"
4615>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004616></SPAN
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004617> :</TD
4618><TD
4619WIDTH="80%"
4620ALIGN="LEFT"
4621VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004622>NULL if not, otherwise the new xmlRefPtr</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004623></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004624></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004625></TABLE
4626><P
4627></P
4628></DIV
4629></DIV
4630><HR><DIV
4631CLASS="REFSECT2"
4632><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004633NAME="AEN9614"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004634></A
4635><H3
4636><A
4637NAME="XMLFREEREFTABLE"
4638></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004639>xmlFreeRefTable ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004640><TABLE
4641BORDER="0"
4642BGCOLOR="#D6E8FF"
4643WIDTH="100%"
4644CELLPADDING="6"
4645><TR
4646><TD
4647><PRE
4648CLASS="PROGRAMLISTING"
4649>void xmlFreeRefTable (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004650HREF="libxml-valid.html#XMLREFTABLEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004651>xmlRefTablePtr</A
4652> table);</PRE
4653></TD
4654></TR
4655></TABLE
4656><P
4657>Deallocate the memory used by an Ref hash table.</P
4658><P
4659></P
4660><DIV
4661CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004662><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004663NAME="AEN9621"><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004664></P
4665><TABLE
4666BORDER="0"
4667WIDTH="100%"
4668BGCOLOR="#FFD0D0"
4669CELLSPACING="0"
4670CELLPADDING="4"
4671CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004672><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004673><TR
4674><TD
4675WIDTH="20%"
4676ALIGN="RIGHT"
4677VALIGN="TOP"
4678><TT
4679CLASS="PARAMETER"
4680><I
4681>table</I
4682></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004683>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004684><TD
4685WIDTH="80%"
4686ALIGN="LEFT"
4687VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004688> An ref table</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004689></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004690></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004691></TABLE
4692><P
4693></P
4694></DIV
4695></DIV
4696><HR><DIV
4697CLASS="REFSECT2"
4698><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004699NAME="AEN9630"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004700></A
4701><H3
4702><A
4703NAME="XMLISREF"
4704></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004705>xmlIsRef ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004706><TABLE
4707BORDER="0"
4708BGCOLOR="#D6E8FF"
4709WIDTH="100%"
4710CELLPADDING="6"
4711><TR
4712><TD
4713><PRE
4714CLASS="PROGRAMLISTING"
4715>int xmlIsRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004716HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004717>xmlDocPtr</A
4718> doc,
4719 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004720HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004721>xmlNodePtr</A
4722> elem,
4723 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004724HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004725>xmlAttrPtr</A
4726> attr);</PRE
4727></TD
4728></TR
4729></TABLE
4730><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004731>Determine whether an attribute is of type Ref. In case we have DTD(s)
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004732then this is simple, otherwise we use an heuristic: name Ref (upper
4733or lowercase).</P
4734><P
4735></P
4736><DIV
4737CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004738><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004739NAME="AEN9639"><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004740></P
4741><TABLE
4742BORDER="0"
4743WIDTH="100%"
4744BGCOLOR="#FFD0D0"
4745CELLSPACING="0"
4746CELLPADDING="4"
4747CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004748><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004749><TR
4750><TD
4751WIDTH="20%"
4752ALIGN="RIGHT"
4753VALIGN="TOP"
4754><TT
4755CLASS="PARAMETER"
4756><I
4757>doc</I
4758></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004759>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004760><TD
4761WIDTH="80%"
4762ALIGN="LEFT"
4763VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004764> the document</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004765></TR
4766><TR
4767><TD
4768WIDTH="20%"
4769ALIGN="RIGHT"
4770VALIGN="TOP"
4771><TT
4772CLASS="PARAMETER"
4773><I
4774>elem</I
4775></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004776>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004777><TD
4778WIDTH="80%"
4779ALIGN="LEFT"
4780VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004781> the element carrying the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004782></TR
4783><TR
4784><TD
4785WIDTH="20%"
4786ALIGN="RIGHT"
4787VALIGN="TOP"
4788><TT
4789CLASS="PARAMETER"
4790><I
4791>attr</I
4792></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004793>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004794><TD
4795WIDTH="80%"
4796ALIGN="LEFT"
4797VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004798> the attribute</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004799></TR
4800><TR
4801><TD
4802WIDTH="20%"
4803ALIGN="RIGHT"
4804VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004805><SPAN
4806CLASS="emphasis"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004807><I
4808CLASS="EMPHASIS"
4809>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004810></SPAN
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004811> :</TD
4812><TD
4813WIDTH="80%"
4814ALIGN="LEFT"
4815VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004816>0 or 1 depending on the lookup result</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004817></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004818></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00004819></TABLE
4820><P
4821></P
4822></DIV
4823></DIV
4824><HR><DIV
4825CLASS="REFSECT2"
4826><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004827NAME="AEN9660"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004828></A
4829><H3
4830><A
4831NAME="XMLREMOVEREF"
4832></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004833>xmlRemoveRef ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004834><TABLE
4835BORDER="0"
4836BGCOLOR="#D6E8FF"
4837WIDTH="100%"
4838CELLPADDING="6"
4839><TR
4840><TD
4841><PRE
4842CLASS="PROGRAMLISTING"
4843>int xmlRemoveRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004844HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004845>xmlDocPtr</A
4846> doc,
4847 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004848HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004849>xmlAttrPtr</A
4850> attr);</PRE
4851></TD
4852></TR
4853></TABLE
4854><P
4855>Remove the given attribute from the Ref table maintained internally.</P
4856><P
4857></P
4858><DIV
4859CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004860><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004861NAME="AEN9668"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004862></P
4863><TABLE
4864BORDER="0"
4865WIDTH="100%"
4866BGCOLOR="#FFD0D0"
4867CELLSPACING="0"
4868CELLPADDING="4"
4869CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004870><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004871><TR
4872><TD
4873WIDTH="20%"
4874ALIGN="RIGHT"
4875VALIGN="TOP"
4876><TT
4877CLASS="PARAMETER"
4878><I
4879>doc</I
4880></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004881>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004882><TD
4883WIDTH="80%"
4884ALIGN="LEFT"
4885VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004886> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004887></TR
4888><TR
4889><TD
4890WIDTH="20%"
4891ALIGN="RIGHT"
4892VALIGN="TOP"
4893><TT
4894CLASS="PARAMETER"
4895><I
4896>attr</I
4897></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004898>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004899><TD
4900WIDTH="80%"
4901ALIGN="LEFT"
4902VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004903> the attribute</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004904></TR
4905><TR
4906><TD
4907WIDTH="20%"
4908ALIGN="RIGHT"
4909VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004910><SPAN
4911CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004912><I
4913CLASS="EMPHASIS"
4914>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004915></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004916> :</TD
4917><TD
4918WIDTH="80%"
4919ALIGN="LEFT"
4920VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004921>-1 if the lookup failed and 0 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004922></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004923></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004924></TABLE
4925><P
4926></P
4927></DIV
4928></DIV
4929><HR><DIV
4930CLASS="REFSECT2"
4931><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004932NAME="AEN9685"
Daniel Veillarda41123c2001-04-22 19:31:20 +00004933></A
4934><H3
4935><A
4936NAME="XMLGETREFS"
4937></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004938>xmlGetRefs ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00004939><TABLE
4940BORDER="0"
4941BGCOLOR="#D6E8FF"
4942WIDTH="100%"
4943CELLPADDING="6"
4944><TR
4945><TD
4946><PRE
4947CLASS="PROGRAMLISTING"
4948><GTKDOCLINK
4949HREF="XMLLISTPTR"
4950>xmlListPtr</GTKDOCLINK
4951> xmlGetRefs (<A
4952HREF="libxml-tree.html#XMLDOCPTR"
4953>xmlDocPtr</A
4954> doc,
4955 const <A
4956HREF="libxml-tree.html#XMLCHAR"
4957>xmlChar</A
4958> *ID);</PRE
4959></TD
4960></TR
4961></TABLE
4962><P
4963>Find the set of references for the supplied ID.</P
4964><P
4965></P
4966><DIV
4967CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004968><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004969NAME="AEN9694"><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00004970></P
4971><TABLE
4972BORDER="0"
4973WIDTH="100%"
4974BGCOLOR="#FFD0D0"
4975CELLSPACING="0"
4976CELLPADDING="4"
4977CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004978><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00004979><TR
4980><TD
4981WIDTH="20%"
4982ALIGN="RIGHT"
4983VALIGN="TOP"
4984><TT
4985CLASS="PARAMETER"
4986><I
4987>doc</I
4988></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004989>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00004990><TD
4991WIDTH="80%"
4992ALIGN="LEFT"
4993VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004994> pointer to the document</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00004995></TR
4996><TR
4997><TD
4998WIDTH="20%"
4999ALIGN="RIGHT"
5000VALIGN="TOP"
5001><TT
5002CLASS="PARAMETER"
5003><I
5004>ID</I
5005></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005006>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005007><TD
5008WIDTH="80%"
5009ALIGN="LEFT"
5010VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005011> the ID value</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005012></TR
5013><TR
5014><TD
5015WIDTH="20%"
5016ALIGN="RIGHT"
5017VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005018><SPAN
5019CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005020><I
5021CLASS="EMPHASIS"
5022>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005023></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +00005024> :</TD
5025><TD
5026WIDTH="80%"
5027ALIGN="LEFT"
5028VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005029>NULL if not found, otherwise node set for the ID.</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005030></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005031></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005032></TABLE
5033><P
5034></P
5035></DIV
5036></DIV
5037><HR><DIV
5038CLASS="REFSECT2"
5039><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005040NAME="AEN9711"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005041></A
5042><H3
5043><A
5044NAME="XMLVALIDATEROOT"
5045></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005046>xmlValidateRoot ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005047><TABLE
5048BORDER="0"
5049BGCOLOR="#D6E8FF"
5050WIDTH="100%"
5051CELLPADDING="6"
5052><TR
5053><TD
5054><PRE
5055CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005056>int xmlValidateRoot (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005057HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005058>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005059> ctxt,
5060 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005061HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005062>xmlDocPtr</A
5063> doc);</PRE
5064></TD
5065></TR
5066></TABLE
5067><P
5068>Try to validate a the root element
5069basically it does the following check as described by the
5070XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005071- [ VC: Root Element Type ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00005072it doesn't try to recurse or apply other check to the element</P
5073><P
5074></P
5075><DIV
5076CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005077><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005078NAME="AEN9719"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005079></P
5080><TABLE
5081BORDER="0"
5082WIDTH="100%"
5083BGCOLOR="#FFD0D0"
5084CELLSPACING="0"
5085CELLPADDING="4"
5086CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005087><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005088><TR
5089><TD
5090WIDTH="20%"
5091ALIGN="RIGHT"
5092VALIGN="TOP"
5093><TT
5094CLASS="PARAMETER"
5095><I
5096>ctxt</I
5097></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005098>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005099><TD
5100WIDTH="80%"
5101ALIGN="LEFT"
5102VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005103> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005104></TR
5105><TR
5106><TD
5107WIDTH="20%"
5108ALIGN="RIGHT"
5109VALIGN="TOP"
5110><TT
5111CLASS="PARAMETER"
5112><I
5113>doc</I
5114></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005115>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005116><TD
5117WIDTH="80%"
5118ALIGN="LEFT"
5119VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005120> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005121></TR
5122><TR
5123><TD
5124WIDTH="20%"
5125ALIGN="RIGHT"
5126VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005127><SPAN
5128CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005129><I
5130CLASS="EMPHASIS"
5131>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005132></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00005133> :</TD
5134><TD
5135WIDTH="80%"
5136ALIGN="LEFT"
5137VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005138>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005139></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005140></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005141></TABLE
5142><P
5143></P
5144></DIV
5145></DIV
5146><HR><DIV
5147CLASS="REFSECT2"
5148><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005149NAME="AEN9736"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005150></A
5151><H3
5152><A
5153NAME="XMLVALIDATEELEMENTDECL"
5154></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005155>xmlValidateElementDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005156><TABLE
5157BORDER="0"
5158BGCOLOR="#D6E8FF"
5159WIDTH="100%"
5160CELLPADDING="6"
5161><TR
5162><TD
5163><PRE
5164CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005165>int xmlValidateElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005166HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005167>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005168> ctxt,
5169 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005170HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005171>xmlDocPtr</A
5172> doc,
5173 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005174HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005175>xmlElementPtr</A
5176> elem);</PRE
5177></TD
5178></TR
5179></TABLE
5180><P
5181>Try to validate a single element definition
5182basically it does the following checks as described by the
5183XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005184- [ VC: One ID per Element Type ]
5185- [ VC: No Duplicate Types ]
5186- [ VC: Unique Element Type Declaration ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005187><P
5188></P
5189><DIV
5190CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005191><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005192NAME="AEN9745"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005193></P
5194><TABLE
5195BORDER="0"
5196WIDTH="100%"
5197BGCOLOR="#FFD0D0"
5198CELLSPACING="0"
5199CELLPADDING="4"
5200CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005201><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005202><TR
5203><TD
5204WIDTH="20%"
5205ALIGN="RIGHT"
5206VALIGN="TOP"
5207><TT
5208CLASS="PARAMETER"
5209><I
5210>ctxt</I
5211></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005212>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005213><TD
5214WIDTH="80%"
5215ALIGN="LEFT"
5216VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005217> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005218></TR
5219><TR
5220><TD
5221WIDTH="20%"
5222ALIGN="RIGHT"
5223VALIGN="TOP"
5224><TT
5225CLASS="PARAMETER"
5226><I
5227>doc</I
5228></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005229>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005230><TD
5231WIDTH="80%"
5232ALIGN="LEFT"
5233VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005234> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005235></TR
5236><TR
5237><TD
5238WIDTH="20%"
5239ALIGN="RIGHT"
5240VALIGN="TOP"
5241><TT
5242CLASS="PARAMETER"
5243><I
5244>elem</I
5245></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005246>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005247><TD
5248WIDTH="80%"
5249ALIGN="LEFT"
5250VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005251> an element definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005252></TR
5253><TR
5254><TD
5255WIDTH="20%"
5256ALIGN="RIGHT"
5257VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005258><SPAN
5259CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005260><I
5261CLASS="EMPHASIS"
5262>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005263></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00005264> :</TD
5265><TD
5266WIDTH="80%"
5267ALIGN="LEFT"
5268VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005269>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005270></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005271></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005272></TABLE
5273><P
5274></P
5275></DIV
5276></DIV
5277><HR><DIV
5278CLASS="REFSECT2"
5279><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005280NAME="AEN9766"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005281></A
5282><H3
5283><A
5284NAME="XMLVALIDNORMALIZEATTRIBUTEVALUE"
5285></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005286>xmlValidNormalizeAttributeValue ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005287><TABLE
5288BORDER="0"
5289BGCOLOR="#D6E8FF"
5290WIDTH="100%"
5291CELLPADDING="6"
5292><TR
5293><TD
5294><PRE
5295CLASS="PROGRAMLISTING"
5296><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005297HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005298>xmlChar</A
5299>* xmlValidNormalizeAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005300HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005301>xmlDocPtr</A
5302> doc,
5303 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005304HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005305>xmlNodePtr</A
5306> elem,
5307 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005308HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005309>xmlChar</A
5310> *name,
5311 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005312HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005313>xmlChar</A
5314> *value);</PRE
5315></TD
5316></TR
5317></TABLE
5318><P
5319>Does the validation related extra step of the normalization of attribute
5320values:</P
5321><P
5322>If the declared value is not CDATA, then the XML processor must further
5323process the normalized attribute value by discarding any leading and
5324trailing space (<GTKDOCLINK
5325HREF="X20"
5326>x20</GTKDOCLINK
5327>) characters, and by replacing sequences of space
5328(<GTKDOCLINK
5329HREF="X20"
5330>x20</GTKDOCLINK
5331>) characters by single space (<GTKDOCLINK
5332HREF="X20"
5333>x20</GTKDOCLINK
5334>) character.</P
5335><P
5336></P
5337><DIV
5338CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005339><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005340NAME="AEN9781"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005341></P
5342><TABLE
5343BORDER="0"
5344WIDTH="100%"
5345BGCOLOR="#FFD0D0"
5346CELLSPACING="0"
5347CELLPADDING="4"
5348CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005349><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005350><TR
5351><TD
5352WIDTH="20%"
5353ALIGN="RIGHT"
5354VALIGN="TOP"
5355><TT
5356CLASS="PARAMETER"
5357><I
5358>doc</I
5359></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005360>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005361><TD
5362WIDTH="80%"
5363ALIGN="LEFT"
5364VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005365> the document</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005366></TR
5367><TR
5368><TD
5369WIDTH="20%"
5370ALIGN="RIGHT"
5371VALIGN="TOP"
5372><TT
5373CLASS="PARAMETER"
5374><I
5375>elem</I
5376></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005377>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005378><TD
5379WIDTH="80%"
5380ALIGN="LEFT"
5381VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005382> the parent</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005383></TR
5384><TR
5385><TD
5386WIDTH="20%"
5387ALIGN="RIGHT"
5388VALIGN="TOP"
5389><TT
5390CLASS="PARAMETER"
5391><I
5392>name</I
5393></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005394>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005395><TD
5396WIDTH="80%"
5397ALIGN="LEFT"
5398VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005399> the attribute name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005400></TR
5401><TR
5402><TD
5403WIDTH="20%"
5404ALIGN="RIGHT"
5405VALIGN="TOP"
5406><TT
5407CLASS="PARAMETER"
5408><I
5409>value</I
5410></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005411>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005412><TD
5413WIDTH="80%"
5414ALIGN="LEFT"
5415VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005416> the attribute value</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005417></TR
5418><TR
5419><TD
5420WIDTH="20%"
5421ALIGN="RIGHT"
5422VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005423><SPAN
5424CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005425><I
5426CLASS="EMPHASIS"
5427>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005428></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005429> :</TD
5430><TD
5431WIDTH="80%"
5432ALIGN="LEFT"
5433VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005434>a new normalized string if normalization is needed, NULL otherwise
Daniel Veillardaf43f632002-03-08 15:05:20 +00005435the caller must free the returned value.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005436></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005437></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005438></TABLE
5439><P
5440></P
5441></DIV
5442></DIV
5443><HR><DIV
5444CLASS="REFSECT2"
5445><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005446NAME="AEN9806"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005447></A
5448><H3
5449><A
5450NAME="XMLVALIDCTXTNORMALIZEATTRIBUTEVALUE"
5451></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005452>xmlValidCtxtNormalizeAttributeValue ()</H3
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005453><TABLE
5454BORDER="0"
5455BGCOLOR="#D6E8FF"
5456WIDTH="100%"
5457CELLPADDING="6"
5458><TR
5459><TD
5460><PRE
5461CLASS="PROGRAMLISTING"
5462><A
5463HREF="libxml-tree.html#XMLCHAR"
5464>xmlChar</A
5465>* xmlValidCtxtNormalizeAttributeValue
5466 (<A
5467HREF="libxml-valid.html#XMLVALIDCTXTPTR"
5468>xmlValidCtxtPtr</A
5469> ctxt,
5470 <A
5471HREF="libxml-tree.html#XMLDOCPTR"
5472>xmlDocPtr</A
5473> doc,
5474 <A
5475HREF="libxml-tree.html#XMLNODEPTR"
5476>xmlNodePtr</A
5477> elem,
5478 const <A
5479HREF="libxml-tree.html#XMLCHAR"
5480>xmlChar</A
5481> *name,
5482 const <A
5483HREF="libxml-tree.html#XMLCHAR"
5484>xmlChar</A
5485> *value);</PRE
5486></TD
5487></TR
5488></TABLE
5489><P
5490>Does the validation related extra step of the normalization of attribute
5491values:</P
5492><P
5493>If the declared value is not CDATA, then the XML processor must further
5494process the normalized attribute value by discarding any leading and
5495trailing space (<GTKDOCLINK
5496HREF="X20"
5497>x20</GTKDOCLINK
5498>) characters, and by replacing sequences of space
5499(<GTKDOCLINK
5500HREF="X20"
5501>x20</GTKDOCLINK
5502>) characters by single space (<GTKDOCLINK
5503HREF="X20"
5504>x20</GTKDOCLINK
5505>) character.</P
5506><P
5507>Also check VC: Standalone Document Declaration in P32, and update
Daniel Veillardaf43f632002-03-08 15:05:20 +00005508ctxt-&gt;valid accordingly</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005509><P
5510></P
5511><DIV
5512CLASS="INFORMALTABLE"
5513><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005514NAME="AEN9823"><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005515></P
5516><TABLE
5517BORDER="0"
5518WIDTH="100%"
5519BGCOLOR="#FFD0D0"
5520CELLSPACING="0"
5521CELLPADDING="4"
5522CLASS="CALSTABLE"
5523><TBODY
5524><TR
5525><TD
5526WIDTH="20%"
5527ALIGN="RIGHT"
5528VALIGN="TOP"
5529><TT
5530CLASS="PARAMETER"
5531><I
5532>ctxt</I
5533></TT
5534>&nbsp;:</TD
5535><TD
5536WIDTH="80%"
5537ALIGN="LEFT"
5538VALIGN="TOP"
5539> the validation context</TD
5540></TR
5541><TR
5542><TD
5543WIDTH="20%"
5544ALIGN="RIGHT"
5545VALIGN="TOP"
5546><TT
5547CLASS="PARAMETER"
5548><I
5549>doc</I
5550></TT
5551>&nbsp;:</TD
5552><TD
5553WIDTH="80%"
5554ALIGN="LEFT"
5555VALIGN="TOP"
5556> the document</TD
5557></TR
5558><TR
5559><TD
5560WIDTH="20%"
5561ALIGN="RIGHT"
5562VALIGN="TOP"
5563><TT
5564CLASS="PARAMETER"
5565><I
5566>elem</I
5567></TT
5568>&nbsp;:</TD
5569><TD
5570WIDTH="80%"
5571ALIGN="LEFT"
5572VALIGN="TOP"
5573> the parent</TD
5574></TR
5575><TR
5576><TD
5577WIDTH="20%"
5578ALIGN="RIGHT"
5579VALIGN="TOP"
5580><TT
5581CLASS="PARAMETER"
5582><I
5583>name</I
5584></TT
5585>&nbsp;:</TD
5586><TD
5587WIDTH="80%"
5588ALIGN="LEFT"
5589VALIGN="TOP"
5590> the attribute name</TD
5591></TR
5592><TR
5593><TD
5594WIDTH="20%"
5595ALIGN="RIGHT"
5596VALIGN="TOP"
5597><TT
5598CLASS="PARAMETER"
5599><I
5600>value</I
5601></TT
5602>&nbsp;:</TD
5603><TD
5604WIDTH="80%"
5605ALIGN="LEFT"
5606VALIGN="TOP"
5607> the attribute value</TD
5608></TR
5609><TR
5610><TD
5611WIDTH="20%"
5612ALIGN="RIGHT"
5613VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005614><SPAN
5615CLASS="emphasis"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005616><I
5617CLASS="EMPHASIS"
5618>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005619></SPAN
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005620> :</TD
5621><TD
5622WIDTH="80%"
5623ALIGN="LEFT"
5624VALIGN="TOP"
5625>a new normalized string if normalization is needed, NULL otherwise
Daniel Veillardaf43f632002-03-08 15:05:20 +00005626the caller must free the returned value.</TD
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005627></TR
5628></TBODY
5629></TABLE
5630><P
5631></P
5632></DIV
5633></DIV
5634><HR><DIV
5635CLASS="REFSECT2"
5636><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005637NAME="AEN9852"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005638></A
5639><H3
5640><A
5641NAME="XMLVALIDATEATTRIBUTEDECL"
5642></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005643>xmlValidateAttributeDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005644><TABLE
5645BORDER="0"
5646BGCOLOR="#D6E8FF"
5647WIDTH="100%"
5648CELLPADDING="6"
5649><TR
5650><TD
5651><PRE
5652CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005653>int xmlValidateAttributeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005654HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005655>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005656> ctxt,
5657 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005658HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005659>xmlDocPtr</A
5660> doc,
5661 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005662HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005663>xmlAttributePtr</A
5664> attr);</PRE
5665></TD
5666></TR
5667></TABLE
5668><P
5669>Try to validate a single attribute definition
5670basically it does the following checks as described by the
5671XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005672- [ VC: Attribute Default Legal ]
5673- [ VC: Enumeration ]
5674- [ VC: ID Attribute Default ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005675><P
5676>The ID/IDREF uniqueness and matching are done separately</P
5677><P
5678></P
5679><DIV
5680CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005681><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005682NAME="AEN9862"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005683></P
5684><TABLE
5685BORDER="0"
5686WIDTH="100%"
5687BGCOLOR="#FFD0D0"
5688CELLSPACING="0"
5689CELLPADDING="4"
5690CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005691><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005692><TR
5693><TD
5694WIDTH="20%"
5695ALIGN="RIGHT"
5696VALIGN="TOP"
5697><TT
5698CLASS="PARAMETER"
5699><I
5700>ctxt</I
5701></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005702>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005703><TD
5704WIDTH="80%"
5705ALIGN="LEFT"
5706VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005707> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005708></TR
5709><TR
5710><TD
5711WIDTH="20%"
5712ALIGN="RIGHT"
5713VALIGN="TOP"
5714><TT
5715CLASS="PARAMETER"
5716><I
5717>doc</I
5718></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005719>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005720><TD
5721WIDTH="80%"
5722ALIGN="LEFT"
5723VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005724> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005725></TR
5726><TR
5727><TD
5728WIDTH="20%"
5729ALIGN="RIGHT"
5730VALIGN="TOP"
5731><TT
5732CLASS="PARAMETER"
5733><I
5734>attr</I
5735></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005736>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005737><TD
5738WIDTH="80%"
5739ALIGN="LEFT"
5740VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005741> an attribute definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005742></TR
5743><TR
5744><TD
5745WIDTH="20%"
5746ALIGN="RIGHT"
5747VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005748><SPAN
5749CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005750><I
5751CLASS="EMPHASIS"
5752>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005753></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00005754> :</TD
5755><TD
5756WIDTH="80%"
5757ALIGN="LEFT"
5758VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005759>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005760></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005761></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005762></TABLE
5763><P
5764></P
5765></DIV
5766></DIV
5767><HR><DIV
5768CLASS="REFSECT2"
5769><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005770NAME="AEN9883"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005771></A
5772><H3
5773><A
5774NAME="XMLVALIDATEATTRIBUTEVALUE"
5775></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005776>xmlValidateAttributeValue ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005777><TABLE
5778BORDER="0"
5779BGCOLOR="#D6E8FF"
5780WIDTH="100%"
5781CELLPADDING="6"
5782><TR
5783><TD
5784><PRE
5785CLASS="PROGRAMLISTING"
5786>int xmlValidateAttributeValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005787HREF="libxml-tree.html#XMLATTRIBUTETYPE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005788>xmlAttributeType</A
5789> type,
5790 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005791HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005792>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005793> *value);</PRE
5794></TD
5795></TR
5796></TABLE
5797><P
5798>Validate that the given attribute value match the proper production</P
5799><P
5800>[ VC: ID ]
5801Values of type ID must match the Name production....</P
5802><P
5803>[ VC: IDREF ]
5804Values of type IDREF must match the Name production, and values
5805of type IDREFS must match Names ...</P
5806><P
5807>[ VC: Entity Name ]
5808Values of type ENTITY must match the Name production, values
5809of type ENTITIES must match Names ...</P
5810><P
5811>[ VC: Name Token ]
5812Values of type NMTOKEN must match the Nmtoken production; values
5813of type NMTOKENS must match Nmtokens.</P
5814><P
5815></P
5816><DIV
5817CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005818><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005819NAME="AEN9895"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005820></P
5821><TABLE
5822BORDER="0"
5823WIDTH="100%"
5824BGCOLOR="#FFD0D0"
5825CELLSPACING="0"
5826CELLPADDING="4"
5827CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005828><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005829><TR
5830><TD
5831WIDTH="20%"
5832ALIGN="RIGHT"
5833VALIGN="TOP"
5834><TT
5835CLASS="PARAMETER"
5836><I
5837>type</I
5838></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005839>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005840><TD
5841WIDTH="80%"
5842ALIGN="LEFT"
5843VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005844> an attribute type</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005845></TR
5846><TR
5847><TD
5848WIDTH="20%"
5849ALIGN="RIGHT"
5850VALIGN="TOP"
5851><TT
5852CLASS="PARAMETER"
5853><I
5854>value</I
5855></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005856>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005857><TD
5858WIDTH="80%"
5859ALIGN="LEFT"
5860VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005861> an attribute value</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005862></TR
5863><TR
5864><TD
5865WIDTH="20%"
5866ALIGN="RIGHT"
5867VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005868><SPAN
5869CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005870><I
5871CLASS="EMPHASIS"
5872>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005873></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005874> :</TD
5875><TD
5876WIDTH="80%"
5877ALIGN="LEFT"
5878VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005879>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005880></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005881></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005882></TABLE
5883><P
5884></P
5885></DIV
5886></DIV
5887><HR><DIV
5888CLASS="REFSECT2"
5889><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005890NAME="AEN9912"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005891></A
5892><H3
5893><A
5894NAME="XMLVALIDATENOTATIONDECL"
5895></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005896>xmlValidateNotationDecl ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00005897><TABLE
5898BORDER="0"
5899BGCOLOR="#D6E8FF"
5900WIDTH="100%"
5901CELLPADDING="6"
5902><TR
5903><TD
5904><PRE
5905CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005906>int xmlValidateNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005907HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005908>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005909> ctxt,
5910 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005911HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005912>xmlDocPtr</A
5913> doc,
5914 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005915HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005916>xmlNotationPtr</A
5917> nota);</PRE
5918></TD
5919></TR
5920></TABLE
5921><P
5922>Try to validate a single notation definition
5923basically it does the following checks as described by the
5924XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00005925- it seems that no validity constraint exists on notation declarations
Daniel Veillardb05deb71999-08-10 19:04:08 +00005926But this function get called anyway ...</P
5927><P
5928></P
5929><DIV
5930CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005931><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005932NAME="AEN9921"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005933></P
5934><TABLE
5935BORDER="0"
5936WIDTH="100%"
5937BGCOLOR="#FFD0D0"
5938CELLSPACING="0"
5939CELLPADDING="4"
5940CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005941><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00005942><TR
5943><TD
5944WIDTH="20%"
5945ALIGN="RIGHT"
5946VALIGN="TOP"
5947><TT
5948CLASS="PARAMETER"
5949><I
5950>ctxt</I
5951></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005952>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005953><TD
5954WIDTH="80%"
5955ALIGN="LEFT"
5956VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005957> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005958></TR
5959><TR
5960><TD
5961WIDTH="20%"
5962ALIGN="RIGHT"
5963VALIGN="TOP"
5964><TT
5965CLASS="PARAMETER"
5966><I
5967>doc</I
5968></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005969>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005970><TD
5971WIDTH="80%"
5972ALIGN="LEFT"
5973VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005974> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005975></TR
5976><TR
5977><TD
5978WIDTH="20%"
5979ALIGN="RIGHT"
5980VALIGN="TOP"
5981><TT
5982CLASS="PARAMETER"
5983><I
5984>nota</I
5985></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005986>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005987><TD
5988WIDTH="80%"
5989ALIGN="LEFT"
5990VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005991> a notation definition</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00005992></TR
5993><TR
5994><TD
5995WIDTH="20%"
5996ALIGN="RIGHT"
5997VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005998><SPAN
5999CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006000><I
6001CLASS="EMPHASIS"
6002>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006003></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006004> :</TD
6005><TD
6006WIDTH="80%"
6007ALIGN="LEFT"
6008VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006009>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006010></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006011></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006012></TABLE
6013><P
6014></P
6015></DIV
6016></DIV
6017><HR><DIV
6018CLASS="REFSECT2"
6019><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006020NAME="AEN9942"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006021></A
6022><H3
6023><A
6024NAME="XMLVALIDATEDTD"
6025></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006026>xmlValidateDtd ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006027><TABLE
6028BORDER="0"
6029BGCOLOR="#D6E8FF"
6030WIDTH="100%"
6031CELLPADDING="6"
6032><TR
6033><TD
6034><PRE
6035CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006036>int xmlValidateDtd (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006037HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006038>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006039> ctxt,
6040 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006041HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006042>xmlDocPtr</A
6043> doc,
6044 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006045HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006046>xmlDtdPtr</A
6047> dtd);</PRE
6048></TD
6049></TR
6050></TABLE
6051><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006052>Try to validate the document against the dtd instance</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006053><P
6054>basically it does check all the definitions in the DtD.</P
6055><P
6056></P
6057><DIV
6058CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006059><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006060NAME="AEN9952"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006061></P
6062><TABLE
6063BORDER="0"
6064WIDTH="100%"
6065BGCOLOR="#FFD0D0"
6066CELLSPACING="0"
6067CELLPADDING="4"
6068CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006069><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006070><TR
6071><TD
6072WIDTH="20%"
6073ALIGN="RIGHT"
6074VALIGN="TOP"
6075><TT
6076CLASS="PARAMETER"
6077><I
6078>ctxt</I
6079></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006080>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006081><TD
6082WIDTH="80%"
6083ALIGN="LEFT"
6084VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006085> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006086></TR
6087><TR
6088><TD
6089WIDTH="20%"
6090ALIGN="RIGHT"
6091VALIGN="TOP"
6092><TT
6093CLASS="PARAMETER"
6094><I
6095>doc</I
6096></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006097>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006098><TD
6099WIDTH="80%"
6100ALIGN="LEFT"
6101VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006102> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006103></TR
6104><TR
6105><TD
6106WIDTH="20%"
6107ALIGN="RIGHT"
6108VALIGN="TOP"
6109><TT
6110CLASS="PARAMETER"
6111><I
6112>dtd</I
6113></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006114>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006115><TD
6116WIDTH="80%"
6117ALIGN="LEFT"
6118VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006119> a dtd instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006120></TR
6121><TR
6122><TD
6123WIDTH="20%"
6124ALIGN="RIGHT"
6125VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006126><SPAN
6127CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006128><I
6129CLASS="EMPHASIS"
6130>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006131></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006132> :</TD
6133><TD
6134WIDTH="80%"
6135ALIGN="LEFT"
6136VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006137>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006138></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006139></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006140></TABLE
6141><P
6142></P
6143></DIV
6144></DIV
6145><HR><DIV
6146CLASS="REFSECT2"
6147><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006148NAME="AEN9973"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006149></A
6150><H3
6151><A
6152NAME="XMLVALIDATEDTDFINAL"
6153></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006154>xmlValidateDtdFinal ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006155><TABLE
6156BORDER="0"
6157BGCOLOR="#D6E8FF"
6158WIDTH="100%"
6159CELLPADDING="6"
6160><TR
6161><TD
6162><PRE
6163CLASS="PROGRAMLISTING"
6164>int xmlValidateDtdFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006165HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006166>xmlValidCtxtPtr</A
6167> ctxt,
6168 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006169HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006170>xmlDocPtr</A
6171> doc);</PRE
6172></TD
6173></TR
6174></TABLE
6175><P
6176>Does the final step for the dtds validation once all the
6177subsets have been parsed</P
6178><P
6179>basically it does the following checks described by the XML Rec
6180- check that ENTITY and ENTITIES type attributes default or
Daniel Veillardaf43f632002-03-08 15:05:20 +00006181possible values matches one of the defined entities.
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006182- check that NOTATION type attributes default or
Daniel Veillardaf43f632002-03-08 15:05:20 +00006183possible values matches one of the defined notations.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006184><P
6185></P
6186><DIV
6187CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006188><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006189NAME="AEN9982"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006190></P
6191><TABLE
6192BORDER="0"
6193WIDTH="100%"
6194BGCOLOR="#FFD0D0"
6195CELLSPACING="0"
6196CELLPADDING="4"
6197CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006198><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006199><TR
6200><TD
6201WIDTH="20%"
6202ALIGN="RIGHT"
6203VALIGN="TOP"
6204><TT
6205CLASS="PARAMETER"
6206><I
6207>ctxt</I
6208></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006209>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006210><TD
6211WIDTH="80%"
6212ALIGN="LEFT"
6213VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006214> the validation context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006215></TR
6216><TR
6217><TD
6218WIDTH="20%"
6219ALIGN="RIGHT"
6220VALIGN="TOP"
6221><TT
6222CLASS="PARAMETER"
6223><I
6224>doc</I
6225></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006226>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006227><TD
6228WIDTH="80%"
6229ALIGN="LEFT"
6230VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006231> a document instance</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006232></TR
6233><TR
6234><TD
6235WIDTH="20%"
6236ALIGN="RIGHT"
6237VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006238><SPAN
6239CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006240><I
6241CLASS="EMPHASIS"
6242>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006243></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006244> :</TD
6245><TD
6246WIDTH="80%"
6247ALIGN="LEFT"
6248VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006249>1 if valid or 0 if invalid and -1 if not well-formed</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006250></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006251></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006252></TABLE
6253><P
6254></P
6255></DIV
6256></DIV
6257><HR><DIV
6258CLASS="REFSECT2"
6259><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006260NAME="AEN9999"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006261></A
6262><H3
6263><A
6264NAME="XMLVALIDATEDOCUMENT"
6265></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006266>xmlValidateDocument ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006267><TABLE
6268BORDER="0"
6269BGCOLOR="#D6E8FF"
6270WIDTH="100%"
6271CELLPADDING="6"
6272><TR
6273><TD
6274><PRE
6275CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006276>int xmlValidateDocument (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006277HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006278>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006279> ctxt,
6280 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006281HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006282>xmlDocPtr</A
6283> doc);</PRE
6284></TD
6285></TR
6286></TABLE
6287><P
6288>Try to validate the document instance</P
6289><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006290>basically it does the all the checks described by the XML Rec
Daniel Veillardb05deb71999-08-10 19:04:08 +00006291i.e. validates the internal and external subset (if present)
6292and validate the document tree.</P
6293><P
6294></P
6295><DIV
6296CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006297><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006298NAME="AEN10008"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006299></P
6300><TABLE
6301BORDER="0"
6302WIDTH="100%"
6303BGCOLOR="#FFD0D0"
6304CELLSPACING="0"
6305CELLPADDING="4"
6306CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006307><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006308><TR
6309><TD
6310WIDTH="20%"
6311ALIGN="RIGHT"
6312VALIGN="TOP"
6313><TT
6314CLASS="PARAMETER"
6315><I
6316>ctxt</I
6317></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006318>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006319><TD
6320WIDTH="80%"
6321ALIGN="LEFT"
6322VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006323> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006324></TR
6325><TR
6326><TD
6327WIDTH="20%"
6328ALIGN="RIGHT"
6329VALIGN="TOP"
6330><TT
6331CLASS="PARAMETER"
6332><I
6333>doc</I
6334></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006335>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006336><TD
6337WIDTH="80%"
6338ALIGN="LEFT"
6339VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006340> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006341></TR
6342><TR
6343><TD
6344WIDTH="20%"
6345ALIGN="RIGHT"
6346VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006347><SPAN
6348CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006349><I
6350CLASS="EMPHASIS"
6351>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006352></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006353> :</TD
6354><TD
6355WIDTH="80%"
6356ALIGN="LEFT"
6357VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006358>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006359></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006360></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006361></TABLE
6362><P
6363></P
6364></DIV
6365></DIV
6366><HR><DIV
6367CLASS="REFSECT2"
6368><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006369NAME="AEN10025"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006370></A
6371><H3
6372><A
6373NAME="XMLVALIDATEELEMENT"
6374></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006375>xmlValidateElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006376><TABLE
6377BORDER="0"
6378BGCOLOR="#D6E8FF"
6379WIDTH="100%"
6380CELLPADDING="6"
6381><TR
6382><TD
6383><PRE
6384CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006385>int xmlValidateElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006386HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006387>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006388> ctxt,
6389 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006390HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006391>xmlDocPtr</A
6392> doc,
6393 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006394HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006395>xmlNodePtr</A
6396> elem);</PRE
6397></TD
6398></TR
6399></TABLE
6400><P
6401>Try to validate the subtree under an element</P
6402><P
6403></P
6404><DIV
6405CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006406><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006407NAME="AEN10034"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006408></P
6409><TABLE
6410BORDER="0"
6411WIDTH="100%"
6412BGCOLOR="#FFD0D0"
6413CELLSPACING="0"
6414CELLPADDING="4"
6415CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006416><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006417><TR
6418><TD
6419WIDTH="20%"
6420ALIGN="RIGHT"
6421VALIGN="TOP"
6422><TT
6423CLASS="PARAMETER"
6424><I
6425>ctxt</I
6426></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006427>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006428><TD
6429WIDTH="80%"
6430ALIGN="LEFT"
6431VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006432> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006433></TR
6434><TR
6435><TD
6436WIDTH="20%"
6437ALIGN="RIGHT"
6438VALIGN="TOP"
6439><TT
6440CLASS="PARAMETER"
6441><I
6442>doc</I
6443></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006444>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006445><TD
6446WIDTH="80%"
6447ALIGN="LEFT"
6448VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006449> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006450></TR
6451><TR
6452><TD
6453WIDTH="20%"
6454ALIGN="RIGHT"
6455VALIGN="TOP"
6456><TT
6457CLASS="PARAMETER"
6458><I
6459>elem</I
6460></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006461>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006462><TD
6463WIDTH="80%"
6464ALIGN="LEFT"
6465VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006466> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006467></TR
6468><TR
6469><TD
6470WIDTH="20%"
6471ALIGN="RIGHT"
6472VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006473><SPAN
6474CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006475><I
6476CLASS="EMPHASIS"
6477>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006478></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006479> :</TD
6480><TD
6481WIDTH="80%"
6482ALIGN="LEFT"
6483VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006484>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006485></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006486></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006487></TABLE
6488><P
6489></P
6490></DIV
6491></DIV
6492><HR><DIV
6493CLASS="REFSECT2"
6494><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006495NAME="AEN10055"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006496></A
6497><H3
6498><A
6499NAME="XMLVALIDATEONEELEMENT"
6500></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006501>xmlValidateOneElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006502><TABLE
6503BORDER="0"
6504BGCOLOR="#D6E8FF"
6505WIDTH="100%"
6506CELLPADDING="6"
6507><TR
6508><TD
6509><PRE
6510CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006511>int xmlValidateOneElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006512HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006513>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006514> ctxt,
6515 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006516HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006517>xmlDocPtr</A
6518> doc,
6519 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006520HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006521>xmlNodePtr</A
6522> elem);</PRE
6523></TD
6524></TR
6525></TABLE
6526><P
6527>Try to validate a single element and it's attributes,
6528basically it does the following checks as described by the
6529XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00006530- [ VC: Element Valid ]
6531- [ VC: Required Attribute ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00006532Then call <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006533HREF="libxml-valid.html#XMLVALIDATEONEATTRIBUTE"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006534>xmlValidateOneAttribute</A
6535>() for each attribute present.</P
6536><P
6537>The ID/IDREF checkings are done separately</P
6538><P
6539></P
6540><DIV
6541CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006542><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006543NAME="AEN10066"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006544></P
6545><TABLE
6546BORDER="0"
6547WIDTH="100%"
6548BGCOLOR="#FFD0D0"
6549CELLSPACING="0"
6550CELLPADDING="4"
6551CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006552><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006553><TR
6554><TD
6555WIDTH="20%"
6556ALIGN="RIGHT"
6557VALIGN="TOP"
6558><TT
6559CLASS="PARAMETER"
6560><I
6561>ctxt</I
6562></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006563>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006564><TD
6565WIDTH="80%"
6566ALIGN="LEFT"
6567VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006568> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006569></TR
6570><TR
6571><TD
6572WIDTH="20%"
6573ALIGN="RIGHT"
6574VALIGN="TOP"
6575><TT
6576CLASS="PARAMETER"
6577><I
6578>doc</I
6579></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006580>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006581><TD
6582WIDTH="80%"
6583ALIGN="LEFT"
6584VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006585> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006586></TR
6587><TR
6588><TD
6589WIDTH="20%"
6590ALIGN="RIGHT"
6591VALIGN="TOP"
6592><TT
6593CLASS="PARAMETER"
6594><I
6595>elem</I
6596></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006597>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006598><TD
6599WIDTH="80%"
6600ALIGN="LEFT"
6601VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006602> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006603></TR
6604><TR
6605><TD
6606WIDTH="20%"
6607ALIGN="RIGHT"
6608VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006609><SPAN
6610CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006611><I
6612CLASS="EMPHASIS"
6613>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006614></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006615> :</TD
6616><TD
6617WIDTH="80%"
6618ALIGN="LEFT"
6619VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006620>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006621></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006622></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006623></TABLE
6624><P
6625></P
6626></DIV
6627></DIV
6628><HR><DIV
6629CLASS="REFSECT2"
6630><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006631NAME="AEN10087"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006632></A
6633><H3
6634><A
6635NAME="XMLVALIDATEONEATTRIBUTE"
6636></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006637>xmlValidateOneAttribute ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00006638><TABLE
6639BORDER="0"
6640BGCOLOR="#D6E8FF"
6641WIDTH="100%"
6642CELLPADDING="6"
6643><TR
6644><TD
6645><PRE
6646CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006647>int xmlValidateOneAttribute (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006648HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006649>xmlValidCtxtPtr</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006650> ctxt,
6651 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006652HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006653>xmlDocPtr</A
6654> doc,
6655 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006656HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006657>xmlNodePtr</A
6658> elem,
6659 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006660HREF="libxml-tree.html#XMLATTRPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006661>xmlAttrPtr</A
6662> attr,
6663 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006664HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006665>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006666> *value);</PRE
6667></TD
6668></TR
6669></TABLE
6670><P
6671>Try to validate a single attribute for an element
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006672basically it does the following checks as described by the
Daniel Veillardb05deb71999-08-10 19:04:08 +00006673XML-1.0 recommendation:
Daniel Veillardaf43f632002-03-08 15:05:20 +00006674- [ VC: Attribute Value Type ]
6675- [ VC: Fixed Attribute Default ]
6676- [ VC: Entity Name ]
6677- [ VC: Name Token ]
6678- [ VC: ID ]
6679- [ VC: IDREF ]
6680- [ VC: Entity Name ]
6681- [ VC: Notation Attributes ]</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006682><P
6683>The ID/IDREF uniqueness and matching are done separately</P
6684><P
6685></P
6686><DIV
6687CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006688><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006689NAME="AEN10099"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006690></P
6691><TABLE
6692BORDER="0"
6693WIDTH="100%"
6694BGCOLOR="#FFD0D0"
6695CELLSPACING="0"
6696CELLPADDING="4"
6697CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006698><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006699><TR
6700><TD
6701WIDTH="20%"
6702ALIGN="RIGHT"
6703VALIGN="TOP"
6704><TT
6705CLASS="PARAMETER"
6706><I
6707>ctxt</I
6708></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006709>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006710><TD
6711WIDTH="80%"
6712ALIGN="LEFT"
6713VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006714> the validation context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006715></TR
6716><TR
6717><TD
6718WIDTH="20%"
6719ALIGN="RIGHT"
6720VALIGN="TOP"
6721><TT
6722CLASS="PARAMETER"
6723><I
6724>doc</I
6725></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006726>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006727><TD
6728WIDTH="80%"
6729ALIGN="LEFT"
6730VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006731> a document instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006732></TR
6733><TR
6734><TD
6735WIDTH="20%"
6736ALIGN="RIGHT"
6737VALIGN="TOP"
6738><TT
6739CLASS="PARAMETER"
6740><I
6741>elem</I
6742></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006743>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006744><TD
6745WIDTH="80%"
6746ALIGN="LEFT"
6747VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006748> an element instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006749></TR
6750><TR
6751><TD
6752WIDTH="20%"
6753ALIGN="RIGHT"
6754VALIGN="TOP"
6755><TT
6756CLASS="PARAMETER"
6757><I
6758>attr</I
6759></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006760>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006761><TD
6762WIDTH="80%"
6763ALIGN="LEFT"
6764VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006765> an attribute instance</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006766></TR
6767><TR
6768><TD
6769WIDTH="20%"
6770ALIGN="RIGHT"
6771VALIGN="TOP"
6772><TT
6773CLASS="PARAMETER"
6774><I
6775>value</I
6776></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006777>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006778><TD
6779WIDTH="80%"
6780ALIGN="LEFT"
6781VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006782> the attribute value (without entities processing)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006783></TR
6784><TR
6785><TD
6786WIDTH="20%"
6787ALIGN="RIGHT"
6788VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006789><SPAN
6790CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006791><I
6792CLASS="EMPHASIS"
6793>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006794></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00006795> :</TD
6796><TD
6797WIDTH="80%"
6798ALIGN="LEFT"
6799VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006800>1 if valid or 0 otherwise</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00006801></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006802></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00006803></TABLE
6804><P
6805></P
6806></DIV
6807></DIV
6808><HR><DIV
6809CLASS="REFSECT2"
6810><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006811NAME="AEN10128"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006812></A
6813><H3
6814><A
6815NAME="XMLVALIDATEDOCUMENTFINAL"
6816></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006817>xmlValidateDocumentFinal ()</H3
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006818><TABLE
6819BORDER="0"
6820BGCOLOR="#D6E8FF"
6821WIDTH="100%"
6822CELLPADDING="6"
6823><TR
6824><TD
6825><PRE
6826CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006827>int xmlValidateDocumentFinal (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006828HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006829>xmlValidCtxtPtr</A
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006830> ctxt,
6831 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006832HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006833>xmlDocPtr</A
6834> doc);</PRE
6835></TD
6836></TR
6837></TABLE
6838><P
6839>Does the final step for the document validation once all the
6840incremental validation steps have been completed</P
6841><P
6842>basically it does the following checks described by the XML Rec</P
6843><P
6844></P
6845><DIV
6846CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006847><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006848NAME="AEN10137"><P
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006849></P
6850><TABLE
6851BORDER="0"
6852WIDTH="100%"
6853BGCOLOR="#FFD0D0"
6854CELLSPACING="0"
6855CELLPADDING="4"
6856CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006857><TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006858><TR
6859><TD
6860WIDTH="20%"
6861ALIGN="RIGHT"
6862VALIGN="TOP"
6863><TT
6864CLASS="PARAMETER"
6865><I
6866>ctxt</I
6867></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006868>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006869><TD
6870WIDTH="80%"
6871ALIGN="LEFT"
6872VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006873> the validation context</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006874></TR
6875><TR
6876><TD
6877WIDTH="20%"
6878ALIGN="RIGHT"
6879VALIGN="TOP"
6880><TT
6881CLASS="PARAMETER"
6882><I
6883>doc</I
6884></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006885>&nbsp;:</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006886><TD
6887WIDTH="80%"
6888ALIGN="LEFT"
6889VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006890> a document instance</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006891></TR
6892><TR
6893><TD
6894WIDTH="20%"
6895ALIGN="RIGHT"
6896VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006897><SPAN
6898CLASS="emphasis"
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006899><I
6900CLASS="EMPHASIS"
6901>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006902></SPAN
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006903> :</TD
6904><TD
6905WIDTH="80%"
6906ALIGN="LEFT"
6907VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006908>1 if valid or 0 otherwise</TD
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006909></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006910></TBODY
Daniel Veillard7f7d1111999-09-22 09:46:25 +00006911></TABLE
6912><P
6913></P
6914></DIV
6915></DIV
6916><HR><DIV
6917CLASS="REFSECT2"
6918><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006919NAME="AEN10154"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006920></A
6921><H3
6922><A
6923NAME="XMLVALIDATENOTATIONUSE"
6924></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006925>xmlValidateNotationUse ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006926><TABLE
6927BORDER="0"
6928BGCOLOR="#D6E8FF"
6929WIDTH="100%"
6930CELLPADDING="6"
6931><TR
6932><TD
6933><PRE
6934CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006935>int xmlValidateNotationUse (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006936HREF="libxml-valid.html#XMLVALIDCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006937>xmlValidCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006938> ctxt,
6939 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006940HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006941>xmlDocPtr</A
6942> doc,
6943 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006944HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006945>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006946> *notationName);</PRE
6947></TD
6948></TR
6949></TABLE
6950><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00006951>Validate that the given name match a notation declaration.
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006952- [ VC: Notation Declared ]</P
6953><P
6954></P
6955><DIV
6956CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006957><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006958NAME="AEN10163"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006959></P
6960><TABLE
6961BORDER="0"
6962WIDTH="100%"
6963BGCOLOR="#FFD0D0"
6964CELLSPACING="0"
6965CELLPADDING="4"
6966CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006967><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006968><TR
6969><TD
6970WIDTH="20%"
6971ALIGN="RIGHT"
6972VALIGN="TOP"
6973><TT
6974CLASS="PARAMETER"
6975><I
6976>ctxt</I
6977></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006978>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006979><TD
6980WIDTH="80%"
6981ALIGN="LEFT"
6982VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006983> the validation context</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006984></TR
6985><TR
6986><TD
6987WIDTH="20%"
6988ALIGN="RIGHT"
6989VALIGN="TOP"
6990><TT
6991CLASS="PARAMETER"
6992><I
6993>doc</I
6994></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006995>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006996><TD
6997WIDTH="80%"
6998ALIGN="LEFT"
6999VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007000> the document</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007001></TR
7002><TR
7003><TD
7004WIDTH="20%"
7005ALIGN="RIGHT"
7006VALIGN="TOP"
7007><TT
7008CLASS="PARAMETER"
7009><I
7010>notationName</I
7011></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007012>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007013><TD
7014WIDTH="80%"
7015ALIGN="LEFT"
7016VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007017> the notation name to check</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007018></TR
7019><TR
7020><TD
7021WIDTH="20%"
7022ALIGN="RIGHT"
7023VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007024><SPAN
7025CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007026><I
7027CLASS="EMPHASIS"
7028>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007029></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007030> :</TD
7031><TD
7032WIDTH="80%"
7033ALIGN="LEFT"
7034VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007035>1 if valid or 0 otherwise</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007036></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007037></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007038></TABLE
7039><P
7040></P
7041></DIV
7042></DIV
7043><HR><DIV
7044CLASS="REFSECT2"
7045><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007046NAME="AEN10184"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007047></A
7048><H3
7049><A
7050NAME="XMLISMIXEDELEMENT"
7051></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007052>xmlIsMixedElement ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00007053><TABLE
7054BORDER="0"
7055BGCOLOR="#D6E8FF"
7056WIDTH="100%"
7057CELLPADDING="6"
7058><TR
7059><TD
7060><PRE
7061CLASS="PROGRAMLISTING"
7062>int xmlIsMixedElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007063HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007064>xmlDocPtr</A
7065> doc,
7066 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007067HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007068>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007069> *name);</PRE
7070></TD
7071></TR
7072></TABLE
7073><P
7074>Search in the DtDs whether an element accept Mixed content (or ANY)
7075basically if it is supposed to accept text childs</P
7076><P
7077></P
7078><DIV
7079CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007080><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007081NAME="AEN10192"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007082></P
7083><TABLE
7084BORDER="0"
7085WIDTH="100%"
7086BGCOLOR="#FFD0D0"
7087CELLSPACING="0"
7088CELLPADDING="4"
7089CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007090><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00007091><TR
7092><TD
7093WIDTH="20%"
7094ALIGN="RIGHT"
7095VALIGN="TOP"
7096><TT
7097CLASS="PARAMETER"
7098><I
7099>doc</I
7100></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007101>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007102><TD
7103WIDTH="80%"
7104ALIGN="LEFT"
7105VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007106> the document</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007107></TR
7108><TR
7109><TD
7110WIDTH="20%"
7111ALIGN="RIGHT"
7112VALIGN="TOP"
7113><TT
7114CLASS="PARAMETER"
7115><I
7116>name</I
7117></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007118>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007119><TD
7120WIDTH="80%"
7121ALIGN="LEFT"
7122VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007123> the element name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007124></TR
7125><TR
7126><TD
7127WIDTH="20%"
7128ALIGN="RIGHT"
7129VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007130><SPAN
7131CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007132><I
7133CLASS="EMPHASIS"
7134>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007135></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00007136> :</TD
7137><TD
7138WIDTH="80%"
7139ALIGN="LEFT"
7140VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007141>0 if no, 1 if yes, and -1 if no element description is available</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007142></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007143></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007144></TABLE
7145><P
7146></P
7147></DIV
7148></DIV
7149><HR><DIV
7150CLASS="REFSECT2"
7151><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007152NAME="AEN10209"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007153></A
7154><H3
7155><A
7156NAME="XMLGETDTDATTRDESC"
7157></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007158>xmlGetDtdAttrDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007159><TABLE
7160BORDER="0"
7161BGCOLOR="#D6E8FF"
7162WIDTH="100%"
7163CELLPADDING="6"
7164><TR
7165><TD
7166><PRE
7167CLASS="PROGRAMLISTING"
7168><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007169HREF="libxml-tree.html#XMLATTRIBUTEPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007170>xmlAttributePtr</A
7171> xmlGetDtdAttrDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007172HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007173>xmlDtdPtr</A
7174> dtd,
7175 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007176HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007177>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007178> *elem,
7179 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007180HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007181>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007182> *name);</PRE
7183></TD
7184></TR
7185></TABLE
7186><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007187>Search the DTD for the description of this attribute on
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007188this element.</P
7189><P
7190></P
7191><DIV
7192CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007193><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007194NAME="AEN10219"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007195></P
7196><TABLE
7197BORDER="0"
7198WIDTH="100%"
7199BGCOLOR="#FFD0D0"
7200CELLSPACING="0"
7201CELLPADDING="4"
7202CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007203><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007204><TR
7205><TD
7206WIDTH="20%"
7207ALIGN="RIGHT"
7208VALIGN="TOP"
7209><TT
7210CLASS="PARAMETER"
7211><I
7212>dtd</I
7213></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007214>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007215><TD
7216WIDTH="80%"
7217ALIGN="LEFT"
7218VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007219> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007220></TR
7221><TR
7222><TD
7223WIDTH="20%"
7224ALIGN="RIGHT"
7225VALIGN="TOP"
7226><TT
7227CLASS="PARAMETER"
7228><I
7229>elem</I
7230></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007231>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007232><TD
7233WIDTH="80%"
7234ALIGN="LEFT"
7235VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007236> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007237></TR
7238><TR
7239><TD
7240WIDTH="20%"
7241ALIGN="RIGHT"
7242VALIGN="TOP"
7243><TT
7244CLASS="PARAMETER"
7245><I
7246>name</I
7247></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007248>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007249><TD
7250WIDTH="80%"
7251ALIGN="LEFT"
7252VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007253> the attribute name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007254></TR
7255><TR
7256><TD
7257WIDTH="20%"
7258ALIGN="RIGHT"
7259VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007260><SPAN
7261CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007262><I
7263CLASS="EMPHASIS"
7264>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007265></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007266> :</TD
7267><TD
7268WIDTH="80%"
7269ALIGN="LEFT"
7270VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007271>the xmlAttributePtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007272></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007273></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007274></TABLE
7275><P
7276></P
7277></DIV
7278></DIV
7279><HR><DIV
7280CLASS="REFSECT2"
7281><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007282NAME="AEN10240"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007283></A
7284><H3
7285><A
7286NAME="XMLGETDTDQATTRDESC"
7287></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007288>xmlGetDtdQAttrDesc ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007289><TABLE
7290BORDER="0"
7291BGCOLOR="#D6E8FF"
7292WIDTH="100%"
7293CELLPADDING="6"
7294><TR
7295><TD
7296><PRE
7297CLASS="PROGRAMLISTING"
7298><A
7299HREF="libxml-tree.html#XMLATTRIBUTEPTR"
7300>xmlAttributePtr</A
7301> xmlGetDtdQAttrDesc (<A
7302HREF="libxml-tree.html#XMLDTDPTR"
7303>xmlDtdPtr</A
7304> dtd,
7305 const <A
7306HREF="libxml-tree.html#XMLCHAR"
7307>xmlChar</A
7308> *elem,
7309 const <A
7310HREF="libxml-tree.html#XMLCHAR"
7311>xmlChar</A
7312> *name,
7313 const <A
7314HREF="libxml-tree.html#XMLCHAR"
7315>xmlChar</A
7316> *prefix);</PRE
7317></TD
7318></TR
7319></TABLE
7320><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007321>Search the DTD for the description of this qualified attribute on
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007322this element.</P
7323><P
7324></P
7325><DIV
7326CLASS="INFORMALTABLE"
7327><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007328NAME="AEN10251"><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007329></P
7330><TABLE
7331BORDER="0"
7332WIDTH="100%"
7333BGCOLOR="#FFD0D0"
7334CELLSPACING="0"
7335CELLPADDING="4"
7336CLASS="CALSTABLE"
7337><TBODY
7338><TR
7339><TD
7340WIDTH="20%"
7341ALIGN="RIGHT"
7342VALIGN="TOP"
7343><TT
7344CLASS="PARAMETER"
7345><I
7346>dtd</I
7347></TT
7348>&nbsp;:</TD
7349><TD
7350WIDTH="80%"
7351ALIGN="LEFT"
7352VALIGN="TOP"
7353> a pointer to the DtD to search</TD
7354></TR
7355><TR
7356><TD
7357WIDTH="20%"
7358ALIGN="RIGHT"
7359VALIGN="TOP"
7360><TT
7361CLASS="PARAMETER"
7362><I
7363>elem</I
7364></TT
7365>&nbsp;:</TD
7366><TD
7367WIDTH="80%"
7368ALIGN="LEFT"
7369VALIGN="TOP"
7370> the element name</TD
7371></TR
7372><TR
7373><TD
7374WIDTH="20%"
7375ALIGN="RIGHT"
7376VALIGN="TOP"
7377><TT
7378CLASS="PARAMETER"
7379><I
7380>name</I
7381></TT
7382>&nbsp;:</TD
7383><TD
7384WIDTH="80%"
7385ALIGN="LEFT"
7386VALIGN="TOP"
7387> the attribute name</TD
7388></TR
7389><TR
7390><TD
7391WIDTH="20%"
7392ALIGN="RIGHT"
7393VALIGN="TOP"
7394><TT
7395CLASS="PARAMETER"
7396><I
7397>prefix</I
7398></TT
7399>&nbsp;:</TD
7400><TD
7401WIDTH="80%"
7402ALIGN="LEFT"
7403VALIGN="TOP"
7404> the attribute namespace prefix</TD
7405></TR
7406><TR
7407><TD
7408WIDTH="20%"
7409ALIGN="RIGHT"
7410VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007411><SPAN
7412CLASS="emphasis"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007413><I
7414CLASS="EMPHASIS"
7415>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007416></SPAN
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007417> :</TD
7418><TD
7419WIDTH="80%"
7420ALIGN="LEFT"
7421VALIGN="TOP"
7422>the xmlAttributePtr if found or NULL</TD
7423></TR
7424></TBODY
7425></TABLE
7426><P
7427></P
7428></DIV
7429></DIV
7430><HR><DIV
7431CLASS="REFSECT2"
7432><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007433NAME="AEN10276"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007434></A
7435><H3
7436><A
7437NAME="XMLGETDTDNOTATIONDESC"
7438></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007439>xmlGetDtdNotationDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007440><TABLE
7441BORDER="0"
7442BGCOLOR="#D6E8FF"
7443WIDTH="100%"
7444CELLPADDING="6"
7445><TR
7446><TD
7447><PRE
7448CLASS="PROGRAMLISTING"
7449><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007450HREF="libxml-tree.html#XMLNOTATIONPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007451>xmlNotationPtr</A
7452> xmlGetDtdNotationDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007453HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007454>xmlDtdPtr</A
7455> dtd,
7456 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007457HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007458>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007459> *name);</PRE
7460></TD
7461></TR
7462></TABLE
7463><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007464>Search the DTD for the description of this notation</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007465><P
7466></P
7467><DIV
7468CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007469><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007470NAME="AEN10285"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007471></P
7472><TABLE
7473BORDER="0"
7474WIDTH="100%"
7475BGCOLOR="#FFD0D0"
7476CELLSPACING="0"
7477CELLPADDING="4"
7478CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007479><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007480><TR
7481><TD
7482WIDTH="20%"
7483ALIGN="RIGHT"
7484VALIGN="TOP"
7485><TT
7486CLASS="PARAMETER"
7487><I
7488>dtd</I
7489></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007490>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007491><TD
7492WIDTH="80%"
7493ALIGN="LEFT"
7494VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007495> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007496></TR
7497><TR
7498><TD
7499WIDTH="20%"
7500ALIGN="RIGHT"
7501VALIGN="TOP"
7502><TT
7503CLASS="PARAMETER"
7504><I
7505>name</I
7506></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007507>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007508><TD
7509WIDTH="80%"
7510ALIGN="LEFT"
7511VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007512> the notation name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007513></TR
7514><TR
7515><TD
7516WIDTH="20%"
7517ALIGN="RIGHT"
7518VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007519><SPAN
7520CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007521><I
7522CLASS="EMPHASIS"
7523>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007524></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007525> :</TD
7526><TD
7527WIDTH="80%"
7528ALIGN="LEFT"
7529VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007530>the xmlNotationPtr if found or NULL</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007531></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007532></TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007533></TABLE
7534><P
7535></P
7536></DIV
7537></DIV
7538><HR><DIV
7539CLASS="REFSECT2"
7540><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007541NAME="AEN10302"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007542></A
7543><H3
7544><A
7545NAME="XMLGETDTDQELEMENTDESC"
7546></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007547>xmlGetDtdQElementDesc ()</H3
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007548><TABLE
7549BORDER="0"
7550BGCOLOR="#D6E8FF"
7551WIDTH="100%"
7552CELLPADDING="6"
7553><TR
7554><TD
7555><PRE
7556CLASS="PROGRAMLISTING"
7557><A
7558HREF="libxml-tree.html#XMLELEMENTPTR"
7559>xmlElementPtr</A
7560> xmlGetDtdQElementDesc (<A
7561HREF="libxml-tree.html#XMLDTDPTR"
7562>xmlDtdPtr</A
7563> dtd,
7564 const <A
7565HREF="libxml-tree.html#XMLCHAR"
7566>xmlChar</A
7567> *name,
7568 const <A
7569HREF="libxml-tree.html#XMLCHAR"
7570>xmlChar</A
7571> *prefix);</PRE
7572></TD
7573></TR
7574></TABLE
7575><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007576>Search the DTD for the description of this element</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007577><P
7578></P
7579><DIV
7580CLASS="INFORMALTABLE"
7581><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007582NAME="AEN10312"><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007583></P
7584><TABLE
7585BORDER="0"
7586WIDTH="100%"
7587BGCOLOR="#FFD0D0"
7588CELLSPACING="0"
7589CELLPADDING="4"
7590CLASS="CALSTABLE"
7591><TBODY
7592><TR
7593><TD
7594WIDTH="20%"
7595ALIGN="RIGHT"
7596VALIGN="TOP"
7597><TT
7598CLASS="PARAMETER"
7599><I
7600>dtd</I
7601></TT
7602>&nbsp;:</TD
7603><TD
7604WIDTH="80%"
7605ALIGN="LEFT"
7606VALIGN="TOP"
7607> a pointer to the DtD to search</TD
7608></TR
7609><TR
7610><TD
7611WIDTH="20%"
7612ALIGN="RIGHT"
7613VALIGN="TOP"
7614><TT
7615CLASS="PARAMETER"
7616><I
7617>name</I
7618></TT
7619>&nbsp;:</TD
7620><TD
7621WIDTH="80%"
7622ALIGN="LEFT"
7623VALIGN="TOP"
7624> the element name</TD
7625></TR
7626><TR
7627><TD
7628WIDTH="20%"
7629ALIGN="RIGHT"
7630VALIGN="TOP"
7631><TT
7632CLASS="PARAMETER"
7633><I
7634>prefix</I
7635></TT
7636>&nbsp;:</TD
7637><TD
7638WIDTH="80%"
7639ALIGN="LEFT"
7640VALIGN="TOP"
7641> the element namespace prefix</TD
7642></TR
7643><TR
7644><TD
7645WIDTH="20%"
7646ALIGN="RIGHT"
7647VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007648><SPAN
7649CLASS="emphasis"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007650><I
7651CLASS="EMPHASIS"
7652>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007653></SPAN
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007654> :</TD
7655><TD
7656WIDTH="80%"
7657ALIGN="LEFT"
7658VALIGN="TOP"
7659>the xmlElementPtr if found or NULL</TD
7660></TR
7661></TBODY
7662></TABLE
7663><P
7664></P
7665></DIV
7666></DIV
7667><HR><DIV
7668CLASS="REFSECT2"
7669><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007670NAME="AEN10333"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007671></A
7672><H3
7673><A
7674NAME="XMLGETDTDELEMENTDESC"
7675></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007676>xmlGetDtdElementDesc ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007677><TABLE
7678BORDER="0"
7679BGCOLOR="#D6E8FF"
7680WIDTH="100%"
7681CELLPADDING="6"
7682><TR
7683><TD
7684><PRE
7685CLASS="PROGRAMLISTING"
7686><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007687HREF="libxml-tree.html#XMLELEMENTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007688>xmlElementPtr</A
7689> xmlGetDtdElementDesc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007690HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007691>xmlDtdPtr</A
7692> dtd,
7693 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007694HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007695>xmlChar</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007696> *name);</PRE
7697></TD
7698></TR
7699></TABLE
7700><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007701>Search the DTD for the description of this element</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007702><P
7703></P
7704><DIV
7705CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007706><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007707NAME="AEN10342"><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007708></P
7709><TABLE
7710BORDER="0"
7711WIDTH="100%"
7712BGCOLOR="#FFD0D0"
7713CELLSPACING="0"
7714CELLPADDING="4"
7715CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007716><TBODY
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007717><TR
7718><TD
7719WIDTH="20%"
7720ALIGN="RIGHT"
7721VALIGN="TOP"
7722><TT
7723CLASS="PARAMETER"
7724><I
7725>dtd</I
7726></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007727>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007728><TD
7729WIDTH="80%"
7730ALIGN="LEFT"
7731VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007732> a pointer to the DtD to search</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007733></TR
7734><TR
7735><TD
7736WIDTH="20%"
7737ALIGN="RIGHT"
7738VALIGN="TOP"
7739><TT
7740CLASS="PARAMETER"
7741><I
7742>name</I
7743></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007744>&nbsp;:</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007745><TD
7746WIDTH="80%"
7747ALIGN="LEFT"
7748VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007749> the element name</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007750></TR
7751><TR
7752><TD
7753WIDTH="20%"
7754ALIGN="RIGHT"
7755VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007756><SPAN
7757CLASS="emphasis"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007758><I
7759CLASS="EMPHASIS"
7760>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007761></SPAN
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007762> :</TD
7763><TD
7764WIDTH="80%"
7765ALIGN="LEFT"
7766VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007767>the xmlElementPtr if found or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007768></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007769></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007770></TABLE
7771><P
7772></P
7773></DIV
7774></DIV
7775><HR><DIV
7776CLASS="REFSECT2"
7777><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007778NAME="AEN10359"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007779></A
7780><H3
7781><A
7782NAME="XMLVALIDGETVALIDELEMENTS"
7783></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007784>xmlValidGetValidElements ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007785><TABLE
7786BORDER="0"
7787BGCOLOR="#D6E8FF"
7788WIDTH="100%"
7789CELLPADDING="6"
7790><TR
7791><TD
7792><PRE
7793CLASS="PROGRAMLISTING"
7794>int xmlValidGetValidElements (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007795HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007796>xmlNode</A
7797> *prev,
7798 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007799HREF="libxml-tree.html#XMLNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007800>xmlNode</A
7801> *next,
7802 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007803HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007804>xmlChar</A
7805> **list,
7806 int max);</PRE
7807></TD
7808></TR
7809></TABLE
7810><P
7811>This function returns the list of authorized children to insert
7812within an existing tree while respecting the validity constraints
7813forced by the Dtd. The insertion point is defined using <TT
7814CLASS="PARAMETER"
7815><I
7816>prev</I
7817></TT
7818> and
7819<TT
7820CLASS="PARAMETER"
7821><I
7822>next</I
7823></TT
7824> in the following ways:
Daniel Veillardaf43f632002-03-08 15:05:20 +00007825to insert before 'node': xmlValidGetValidElements(node-&gt;prev, node, ...
7826to insert next 'node': xmlValidGetValidElements(node, node-&gt;next, ...
7827to replace 'node': xmlValidGetValidElements(node-&gt;prev, node-&gt;next, ...
7828to prepend a child to 'node': xmlValidGetValidElements(NULL, node-&gt;childs,
7829to append a child to 'node': xmlValidGetValidElements(node-&gt;last, NULL, ...</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007830><P
7831>pointers to the element names are inserted at the beginning of the array
7832and do not need to be freed.</P
7833><P
7834></P
7835><DIV
7836CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007837><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007838NAME="AEN10371"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007839></P
7840><TABLE
7841BORDER="0"
7842WIDTH="100%"
7843BGCOLOR="#FFD0D0"
7844CELLSPACING="0"
7845CELLPADDING="4"
7846CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007847><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007848><TR
7849><TD
7850WIDTH="20%"
7851ALIGN="RIGHT"
7852VALIGN="TOP"
7853><TT
7854CLASS="PARAMETER"
7855><I
7856>prev</I
7857></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007858>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007859><TD
7860WIDTH="80%"
7861ALIGN="LEFT"
7862VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007863> an element to insert after</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007864></TR
7865><TR
7866><TD
7867WIDTH="20%"
7868ALIGN="RIGHT"
7869VALIGN="TOP"
7870><TT
7871CLASS="PARAMETER"
7872><I
7873>next</I
7874></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007875>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007876><TD
7877WIDTH="80%"
7878ALIGN="LEFT"
7879VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007880> an element to insert next</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007881></TR
7882><TR
7883><TD
7884WIDTH="20%"
7885ALIGN="RIGHT"
7886VALIGN="TOP"
7887><TT
7888CLASS="PARAMETER"
7889><I
7890>list</I
7891></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007892>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007893><TD
7894WIDTH="80%"
7895ALIGN="LEFT"
7896VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007897> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007898></TR
7899><TR
7900><TD
7901WIDTH="20%"
7902ALIGN="RIGHT"
7903VALIGN="TOP"
7904><TT
7905CLASS="PARAMETER"
7906><I
7907>max</I
7908></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007909>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007910><TD
7911WIDTH="80%"
7912ALIGN="LEFT"
7913VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007914> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007915></TR
7916><TR
7917><TD
7918WIDTH="20%"
7919ALIGN="RIGHT"
7920VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007921><SPAN
7922CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007923><I
7924CLASS="EMPHASIS"
7925>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007926></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007927> :</TD
7928><TD
7929WIDTH="80%"
7930ALIGN="LEFT"
7931VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007932>the number of element in the list, or -1 in case of error. If
Daniel Veillardaf43f632002-03-08 15:05:20 +00007933the function returns the value <TT
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007934CLASS="PARAMETER"
7935><I
7936>max</I
7937></TT
7938> the caller is invited to grow the
Daniel Veillardaf43f632002-03-08 15:05:20 +00007939receiving array and retry.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007940></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007941></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007942></TABLE
7943><P
7944></P
7945></DIV
7946></DIV
7947><HR><DIV
7948CLASS="REFSECT2"
7949><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007950NAME="AEN10397"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007951></A
7952><H3
7953><A
7954NAME="XMLVALIDGETPOTENTIALCHILDREN"
7955></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007956>xmlValidGetPotentialChildren ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007957><TABLE
7958BORDER="0"
7959BGCOLOR="#D6E8FF"
7960WIDTH="100%"
7961CELLPADDING="6"
7962><TR
7963><TD
7964><PRE
7965CLASS="PROGRAMLISTING"
7966>int xmlValidGetPotentialChildren (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007967HREF="libxml-tree.html#XMLELEMENTCONTENT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007968>xmlElementContent</A
7969> *ctree,
7970 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007971HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007972>xmlChar</A
7973> **list,
7974 int *len,
7975 int max);</PRE
7976></TD
7977></TR
7978></TABLE
7979><P
7980>Build/extend a list of potential children allowed by the content tree</P
7981><P
7982></P
7983><DIV
7984CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007985><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007986NAME="AEN10405"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007987></P
7988><TABLE
7989BORDER="0"
7990WIDTH="100%"
7991BGCOLOR="#FFD0D0"
7992CELLSPACING="0"
7993CELLPADDING="4"
7994CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007995><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007996><TR
7997><TD
7998WIDTH="20%"
7999ALIGN="RIGHT"
8000VALIGN="TOP"
8001><TT
8002CLASS="PARAMETER"
8003><I
8004>ctree</I
8005></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008006>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008007><TD
8008WIDTH="80%"
8009ALIGN="LEFT"
8010VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008011> an element content tree</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008012></TR
8013><TR
8014><TD
8015WIDTH="20%"
8016ALIGN="RIGHT"
8017VALIGN="TOP"
8018><TT
8019CLASS="PARAMETER"
8020><I
8021>list</I
8022></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008023>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008024><TD
8025WIDTH="80%"
8026ALIGN="LEFT"
8027VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008028> an array to store the list of child names</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008029></TR
8030><TR
8031><TD
8032WIDTH="20%"
8033ALIGN="RIGHT"
8034VALIGN="TOP"
8035><TT
8036CLASS="PARAMETER"
8037><I
8038>len</I
8039></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008040>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008041><TD
8042WIDTH="80%"
8043ALIGN="LEFT"
8044VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008045> a pointer to the number of element in the list</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008046></TR
8047><TR
8048><TD
8049WIDTH="20%"
8050ALIGN="RIGHT"
8051VALIGN="TOP"
8052><TT
8053CLASS="PARAMETER"
8054><I
8055>max</I
8056></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008057>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008058><TD
8059WIDTH="80%"
8060ALIGN="LEFT"
8061VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008062> the size of the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008063></TR
8064><TR
8065><TD
8066WIDTH="20%"
8067ALIGN="RIGHT"
8068VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008069><SPAN
8070CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008071><I
8072CLASS="EMPHASIS"
8073>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008074></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008075> :</TD
8076><TD
8077WIDTH="80%"
8078ALIGN="LEFT"
8079VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008080>the number of element in the list, or -1 in case of error.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008081></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008082></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008083></TABLE
8084><P
8085></P
8086></DIV
8087></DIV
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008088><HR><DIV
8089CLASS="REFSECT2"
8090><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008091NAME="AEN10430"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008092></A
8093><H3
8094><A
8095NAME="XMLVALIDATENAMEVALUE"
8096></A
8097>xmlValidateNameValue ()</H3
8098><TABLE
8099BORDER="0"
8100BGCOLOR="#D6E8FF"
8101WIDTH="100%"
8102CELLPADDING="6"
8103><TR
8104><TD
8105><PRE
8106CLASS="PROGRAMLISTING"
8107>int xmlValidateNameValue (const <A
8108HREF="libxml-tree.html#XMLCHAR"
8109>xmlChar</A
8110> *value);</PRE
8111></TD
8112></TR
8113></TABLE
8114><P
8115>Validate that the given value match Name production</P
8116><P
8117></P
8118><DIV
8119CLASS="INFORMALTABLE"
8120><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008121NAME="AEN10437"><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008122></P
8123><TABLE
8124BORDER="0"
8125WIDTH="100%"
8126BGCOLOR="#FFD0D0"
8127CELLSPACING="0"
8128CELLPADDING="4"
8129CLASS="CALSTABLE"
8130><TBODY
8131><TR
8132><TD
8133WIDTH="20%"
8134ALIGN="RIGHT"
8135VALIGN="TOP"
8136><TT
8137CLASS="PARAMETER"
8138><I
8139>value</I
8140></TT
8141>&nbsp;:</TD
8142><TD
8143WIDTH="80%"
8144ALIGN="LEFT"
8145VALIGN="TOP"
8146> an Name value</TD
8147></TR
8148><TR
8149><TD
8150WIDTH="20%"
8151ALIGN="RIGHT"
8152VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008153><SPAN
8154CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008155><I
8156CLASS="EMPHASIS"
8157>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008158></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008159> :</TD
8160><TD
8161WIDTH="80%"
8162ALIGN="LEFT"
8163VALIGN="TOP"
8164>1 if valid or 0 otherwise</TD
8165></TR
8166></TBODY
8167></TABLE
8168><P
8169></P
8170></DIV
8171></DIV
8172><HR><DIV
8173CLASS="REFSECT2"
8174><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008175NAME="AEN10450"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008176></A
8177><H3
8178><A
8179NAME="XMLVALIDATENAMESVALUE"
8180></A
8181>xmlValidateNamesValue ()</H3
8182><TABLE
8183BORDER="0"
8184BGCOLOR="#D6E8FF"
8185WIDTH="100%"
8186CELLPADDING="6"
8187><TR
8188><TD
8189><PRE
8190CLASS="PROGRAMLISTING"
8191>int xmlValidateNamesValue (const <A
8192HREF="libxml-tree.html#XMLCHAR"
8193>xmlChar</A
8194> *value);</PRE
8195></TD
8196></TR
8197></TABLE
8198><P
8199>Validate that the given value match Names production</P
8200><P
8201></P
8202><DIV
8203CLASS="INFORMALTABLE"
8204><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008205NAME="AEN10457"><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008206></P
8207><TABLE
8208BORDER="0"
8209WIDTH="100%"
8210BGCOLOR="#FFD0D0"
8211CELLSPACING="0"
8212CELLPADDING="4"
8213CLASS="CALSTABLE"
8214><TBODY
8215><TR
8216><TD
8217WIDTH="20%"
8218ALIGN="RIGHT"
8219VALIGN="TOP"
8220><TT
8221CLASS="PARAMETER"
8222><I
8223>value</I
8224></TT
8225>&nbsp;:</TD
8226><TD
8227WIDTH="80%"
8228ALIGN="LEFT"
8229VALIGN="TOP"
8230> an Names value</TD
8231></TR
8232><TR
8233><TD
8234WIDTH="20%"
8235ALIGN="RIGHT"
8236VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008237><SPAN
8238CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008239><I
8240CLASS="EMPHASIS"
8241>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008242></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008243> :</TD
8244><TD
8245WIDTH="80%"
8246ALIGN="LEFT"
8247VALIGN="TOP"
8248>1 if valid or 0 otherwise</TD
8249></TR
8250></TBODY
8251></TABLE
8252><P
8253></P
8254></DIV
8255></DIV
8256><HR><DIV
8257CLASS="REFSECT2"
8258><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008259NAME="AEN10470"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008260></A
8261><H3
8262><A
8263NAME="XMLVALIDATENMTOKENVALUE"
8264></A
8265>xmlValidateNmtokenValue ()</H3
8266><TABLE
8267BORDER="0"
8268BGCOLOR="#D6E8FF"
8269WIDTH="100%"
8270CELLPADDING="6"
8271><TR
8272><TD
8273><PRE
8274CLASS="PROGRAMLISTING"
8275>int xmlValidateNmtokenValue (const <A
8276HREF="libxml-tree.html#XMLCHAR"
8277>xmlChar</A
8278> *value);</PRE
8279></TD
8280></TR
8281></TABLE
8282><P
8283>Validate that the given value match Nmtoken production</P
8284><P
8285>[ VC: Name Token ]</P
8286><P
8287></P
8288><DIV
8289CLASS="INFORMALTABLE"
8290><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008291NAME="AEN10478"><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008292></P
8293><TABLE
8294BORDER="0"
8295WIDTH="100%"
8296BGCOLOR="#FFD0D0"
8297CELLSPACING="0"
8298CELLPADDING="4"
8299CLASS="CALSTABLE"
8300><TBODY
8301><TR
8302><TD
8303WIDTH="20%"
8304ALIGN="RIGHT"
8305VALIGN="TOP"
8306><TT
8307CLASS="PARAMETER"
8308><I
8309>value</I
8310></TT
8311>&nbsp;:</TD
8312><TD
8313WIDTH="80%"
8314ALIGN="LEFT"
8315VALIGN="TOP"
8316> an Nmtoken value</TD
8317></TR
8318><TR
8319><TD
8320WIDTH="20%"
8321ALIGN="RIGHT"
8322VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008323><SPAN
8324CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008325><I
8326CLASS="EMPHASIS"
8327>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008328></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008329> :</TD
8330><TD
8331WIDTH="80%"
8332ALIGN="LEFT"
8333VALIGN="TOP"
8334>1 if valid or 0 otherwise</TD
8335></TR
8336></TBODY
8337></TABLE
8338><P
8339></P
8340></DIV
8341></DIV
8342><HR><DIV
8343CLASS="REFSECT2"
8344><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008345NAME="AEN10491"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008346></A
8347><H3
8348><A
8349NAME="XMLVALIDATENMTOKENSVALUE"
8350></A
8351>xmlValidateNmtokensValue ()</H3
8352><TABLE
8353BORDER="0"
8354BGCOLOR="#D6E8FF"
8355WIDTH="100%"
8356CELLPADDING="6"
8357><TR
8358><TD
8359><PRE
8360CLASS="PROGRAMLISTING"
8361>int xmlValidateNmtokensValue (const <A
8362HREF="libxml-tree.html#XMLCHAR"
8363>xmlChar</A
8364> *value);</PRE
8365></TD
8366></TR
8367></TABLE
8368><P
8369>Validate that the given value match Nmtokens production</P
8370><P
8371>[ VC: Name Token ]</P
8372><P
8373></P
8374><DIV
8375CLASS="INFORMALTABLE"
8376><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008377NAME="AEN10499"><P
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008378></P
8379><TABLE
8380BORDER="0"
8381WIDTH="100%"
8382BGCOLOR="#FFD0D0"
8383CELLSPACING="0"
8384CELLPADDING="4"
8385CLASS="CALSTABLE"
8386><TBODY
8387><TR
8388><TD
8389WIDTH="20%"
8390ALIGN="RIGHT"
8391VALIGN="TOP"
8392><TT
8393CLASS="PARAMETER"
8394><I
8395>value</I
8396></TT
8397>&nbsp;:</TD
8398><TD
8399WIDTH="80%"
8400ALIGN="LEFT"
8401VALIGN="TOP"
8402> an Nmtokens value</TD
8403></TR
8404><TR
8405><TD
8406WIDTH="20%"
8407ALIGN="RIGHT"
8408VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008409><SPAN
8410CLASS="emphasis"
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008411><I
8412CLASS="EMPHASIS"
8413>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008414></SPAN
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008415> :</TD
8416><TD
8417WIDTH="80%"
8418ALIGN="LEFT"
8419VALIGN="TOP"
8420>1 if valid or 0 otherwise</TD
8421></TR
8422></TBODY
8423></TABLE
8424><P
8425></P
8426></DIV
8427></DIV
Daniel Veillard35925471999-02-25 08:46:07 +00008428></DIV
8429><DIV
8430CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00008431><BR
8432CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00008433WIDTH="100%"
8434BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008435BGCOLOR="#000000"
8436CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +00008437CELLSPACING="0"
8438><TR
8439><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008440WIDTH="25%"
8441BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00008442ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +00008443><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008444HREF="libxml-entities.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008445><FONT
8446COLOR="#FFFFFF"
8447SIZE="3"
8448><B
8449>&#60;&#60;&#60; Previous Page</B
8450></FONT
8451></A
Daniel Veillard35925471999-02-25 08:46:07 +00008452></TD
8453><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008454WIDTH="25%"
8455BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +00008456ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +00008457><FONT
8458COLOR="#FFFFFF"
8459SIZE="3"
8460><B
Daniel Veillard35925471999-02-25 08:46:07 +00008461><A
8462HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008463><FONT
8464COLOR="#FFFFFF"
8465SIZE="3"
8466><B
8467>Home</B
8468></FONT
8469></A
8470></B
8471></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00008472></TD
8473><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008474WIDTH="25%"
8475BGCOLOR="#00C000"
8476ALIGN="center"
8477><FONT
8478COLOR="#FFFFFF"
8479SIZE="3"
8480><B
8481><A
Daniel Veillard35008381999-10-25 13:15:52 +00008482HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008483><FONT
8484COLOR="#FFFFFF"
8485SIZE="3"
8486><B
8487>Up</B
8488></FONT
8489></A
8490></B
8491></FONT
8492></TD
8493><TD
8494WIDTH="25%"
8495BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00008496ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00008497><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008498HREF="libxml-uri.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008499><FONT
8500COLOR="#FFFFFF"
8501SIZE="3"
8502><B
8503>Next Page &#62;&#62;&#62;</B
8504></FONT
8505></A
Daniel Veillard35925471999-02-25 08:46:07 +00008506></TD
8507></TR
8508><TR
8509><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008510COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00008511ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +00008512><FONT
8513COLOR="#FFFFFF"
8514SIZE="3"
8515><B
8516>entities</B
8517></FONT
Daniel Veillard35925471999-02-25 08:46:07 +00008518></TD
8519><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008520COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +00008521ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00008522><FONT
8523COLOR="#FFFFFF"
8524SIZE="3"
8525><B
Daniel Veillard8f621982000-03-20 13:07:15 +00008526>uri</B
Daniel Veillard14fff061999-06-22 21:49:07 +00008527></FONT
8528></TD
Daniel Veillard35925471999-02-25 08:46:07 +00008529></TR
8530></TABLE
8531></DIV
8532></BODY
8533></HTML
8534>