blob: 02cb492c99d69234910ff8a896e00ae739de547c [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>parser</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"
Daniel Veillard35008381999-10-25 13:15:52 +000016TITLE="Libxml Library Reference"
17HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000018REL="NEXT"
Daniel Veillardaec63562003-03-23 20:42:17 +000019TITLE="xmlreader"
20HREF="libxml-xmlreader.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 Veillard35008381999-10-25 13:15:52 +000052HREF="libxml-lib.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 Veillardaec63562003-03-23 20:42:17 +0000106HREF="libxml-xmlreader.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 Veillardaec63562003-03-23 20:42:17 +0000120NAME="LIBXML-PARSER"
121></A
122>parser</H1
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFNAMEDIV"
125><A
Daniel Veillard35008381999-10-25 13:15:52 +0000126NAME="AEN31"
Daniel Veillard35925471999-02-25 08:46:07 +0000127></A
128><H2
129>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000130>parser&nbsp;--&nbsp;</DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000131><DIV
132CLASS="REFSYNOPSISDIV"
133><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000134NAME="AEN34"
135></A
136><H2
Daniel Veillard35925471999-02-25 08:46:07 +0000137>Synopsis</H2
138><TABLE
139BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000140BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000141WIDTH="100%"
142CELLPADDING="6"
143><TR
144><TD
145><PRE
146CLASS="SYNOPSIS"
147>&#13;
148
149#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000150HREF="libxml-parser.html#XML-DEFAULT-VERSION-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +0000151>XML_DEFAULT_VERSION</A
152>
Daniel Veillardd692aa41999-02-28 21:54:31 +0000153void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000154HREF="libxml-parser.html#XMLPARSERINPUTDEALLOCATE"
Daniel Veillardd692aa41999-02-28 21:54:31 +0000155>*xmlParserInputDeallocate</A
156>) (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000157HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000158>xmlChar</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000159> *str);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000160struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000161HREF="libxml-parser.html#XMLPARSERINPUT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000162>xmlParserInput</A
163>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000164struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000165HREF="libxml-parser.html#XMLPARSERNODEINFO"
Daniel Veillard35925471999-02-25 08:46:07 +0000166>xmlParserNodeInfo</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000167>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000168typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000169HREF="libxml-parser.html#XMLPARSERNODEINFOPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000170>xmlParserNodeInfoPtr</A
171>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000172struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000173HREF="libxml-parser.html#XMLPARSERNODEINFOSEQ"
Daniel Veillard35925471999-02-25 08:46:07 +0000174>xmlParserNodeInfoSeq</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000175>;
Daniel Veillard35925471999-02-25 08:46:07 +0000176typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000177HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000178>xmlParserNodeInfoSeqPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000179>;
Daniel Veillardb05deb71999-08-10 19:04:08 +0000180enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000181HREF="libxml-parser.html#XMLPARSERINPUTSTATE"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000182>xmlParserInputState</A
183>;
Daniel Veillard4ec885a2001-06-17 10:31:07 +0000184#define <A
185HREF="libxml-parser.html#XML-DETECT-IDS-CAPS"
186>XML_DETECT_IDS</A
187>
188#define <A
189HREF="libxml-parser.html#XML-COMPLETE-ATTRS-CAPS"
190>XML_COMPLETE_ATTRS</A
191>
Daniel Veillardaec63562003-03-23 20:42:17 +0000192#define <A
193HREF="libxml-parser.html#XML-SKIP-IDS-CAPS"
194>XML_SKIP_IDS</A
195>
Daniel Veillard71b656e2000-01-05 14:46:17 +0000196struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000197HREF="libxml-parser.html#XMLPARSERCTXT"
Daniel Veillard35925471999-02-25 08:46:07 +0000198>xmlParserCtxt</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000199>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000200struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000201HREF="libxml-parser.html#XMLSAXLOCATOR"
Daniel Veillard35925471999-02-25 08:46:07 +0000202>xmlSAXLocator</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000203>;
Daniel Veillard35925471999-02-25 08:46:07 +0000204<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000205HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000206>xmlParserInputPtr</A
207> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000208HREF="libxml-parser.html#RESOLVEENTITYSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000209>*resolveEntitySAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000210>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000211 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000212HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000213>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000214> *publicId,
215 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000216HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000217>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000218> *systemId);
219void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000220HREF="libxml-parser.html#INTERNALSUBSETSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000221>*internalSubsetSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000222>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000223 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000224HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000225>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000226> *name,
227 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000228HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000229>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000230> *ExternalID,
231 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000232HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000233>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000234> *SystemID);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000235void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000236HREF="libxml-parser.html#EXTERNALSUBSETSAXFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000237>*externalSubsetSAXFunc</A
238>) (void *ctx,
239 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000240HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000241>xmlChar</A
242> *name,
243 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000244HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000245>xmlChar</A
246> *ExternalID,
247 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000248HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000249>xmlChar</A
250> *SystemID);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000251<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000252HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000253>xmlEntityPtr</A
254> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000255HREF="libxml-parser.html#GETENTITYSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000256>*getEntitySAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000257>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000258 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000259HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000260>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000261> *name);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000262<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000263HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000264>xmlEntityPtr</A
265> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000266HREF="libxml-parser.html#GETPARAMETERENTITYSAXFUNC"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000267>*getParameterEntitySAXFunc</A
268>) (void *ctx,
269 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000270HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000271>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000272> *name);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000273void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000274HREF="libxml-parser.html#ENTITYDECLSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000275>*entityDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000276>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000277 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000278HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000279>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000280> *name,
281 int type,
282 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000283HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000284>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000285> *publicId,
286 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000287HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000288>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000289> *systemId,
290 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000291HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000292>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000293> *content);
294void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000295HREF="libxml-parser.html#NOTATIONDECLSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000296>*notationDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000297>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000298 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000299HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000300>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000301> *name,
302 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000303HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000304>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000305> *publicId,
306 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000307HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000308>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000309> *systemId);
310void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000311HREF="libxml-parser.html#ATTRIBUTEDECLSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000312>*attributeDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000313>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000314 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000315HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000316>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000317> *elem,
318 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000319HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000320>xmlChar</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000321> *fullname,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000322 int type,
323 int def,
324 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000325HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000326>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000327> *defaultValue,
328 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000329HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000330>xmlEnumerationPtr</A
331> tree);
332void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000333HREF="libxml-parser.html#ELEMENTDECLSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000334>*elementDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000335>) (void *ctx,
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 Veillard5099ae81999-04-21 20:12:07 +0000339> *name,
340 int type,
341 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000342HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000343>xmlElementContentPtr</A
344> content);
345void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000346HREF="libxml-parser.html#UNPARSEDENTITYDECLSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000347>*unparsedEntityDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000348>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000349 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000350HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000351>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000352> *name,
353 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000354HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000355>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000356> *publicId,
357 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000358HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000359>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000360> *systemId,
361 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000362HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000363>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000364> *notationName);
365void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000366HREF="libxml-parser.html#SETDOCUMENTLOCATORSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000367>*setDocumentLocatorSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000368>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000369 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000370HREF="libxml-tree.html#XMLSAXLOCATORPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000371>xmlSAXLocatorPtr</A
372> loc);
373void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000374HREF="libxml-parser.html#STARTDOCUMENTSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000375>*startDocumentSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000376>) (void *ctx);
Daniel Veillard35925471999-02-25 08:46:07 +0000377void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000378HREF="libxml-parser.html#ENDDOCUMENTSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000379>*endDocumentSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000380>) (void *ctx);
Daniel Veillard35925471999-02-25 08:46:07 +0000381void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000382HREF="libxml-parser.html#STARTELEMENTSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000383>*startElementSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000384>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000385 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000386HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000387>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000388> *name,
389 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000390HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000391>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000392> **atts);
Daniel Veillard35925471999-02-25 08:46:07 +0000393void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000394HREF="libxml-parser.html#ENDELEMENTSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000395>*endElementSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000396>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000397 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000398HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000399>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000400> *name);
401void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000402HREF="libxml-parser.html#ATTRIBUTESAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000403>*attributeSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000404>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000405 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000406HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000407>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000408> *name,
409 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000410HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000411>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000412> *value);
413void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000414HREF="libxml-parser.html#REFERENCESAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000415>*referenceSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000416>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000417 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000418HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000419>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000420> *name);
421void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000422HREF="libxml-parser.html#CHARACTERSSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000423>*charactersSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000424>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000425 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000426HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000427>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000428> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +0000429 int len);
430void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000431HREF="libxml-parser.html#IGNORABLEWHITESPACESAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000432>*ignorableWhitespaceSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000433>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000434 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000435HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000436>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000437> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +0000438 int len);
439void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000440HREF="libxml-parser.html#PROCESSINGINSTRUCTIONSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000441>*processingInstructionSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000442>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000443 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000444HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000445>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000446> *target,
447 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000448HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000449>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000450> *data);
451void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000452HREF="libxml-parser.html#COMMENTSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000453>*commentSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000454>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000455 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000456HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000457>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000458> *value);
459void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000460HREF="libxml-parser.html#CDATABLOCKSAXFUNC"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000461>*cdataBlockSAXFunc</A
462>) (void *ctx,
463 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000464HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000465>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000466> *value,
467 int len);
468void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000469HREF="libxml-parser.html#WARNINGSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000470>*warningSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000471>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000472 const char *msg,
473 ...);
474void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000475HREF="libxml-parser.html#ERRORSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000476>*errorSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000477>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000478 const char *msg,
479 ...);
480void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000481HREF="libxml-parser.html#FATALERRORSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000482>*fatalErrorSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000483>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000484 const char *msg,
485 ...);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000486int (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000487HREF="libxml-parser.html#ISSTANDALONESAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000488>*isStandaloneSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000489>) (void *ctx);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000490int (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000491HREF="libxml-parser.html#HASINTERNALSUBSETSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000492>*hasInternalSubsetSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000493>) (void *ctx);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000494int (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000495HREF="libxml-parser.html#HASEXTERNALSUBSETSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000496>*hasExternalSubsetSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000497>) (void *ctx);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000498struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000499HREF="libxml-parser.html#XMLSAXHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000500>xmlSAXHandler</A
501>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000502<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000503HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000504>xmlParserInputPtr</A
505> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000506HREF="libxml-parser.html#XMLEXTERNALENTITYLOADER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000507>*xmlExternalEntityLoader</A
508>)
509 (const char *URL,
510 const char *ID,
511 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000512HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000513>xmlParserCtxtPtr</A
514> context);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000515void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000516HREF="libxml-parser.html#XMLINITPARSER"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000517>xmlInitParser</A
518> (void);
519void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000520HREF="libxml-parser.html#XMLCLEANUPPARSER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000521>xmlCleanupParser</A
522> (void);
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000523int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000524HREF="libxml-parser.html#XMLPARSERINPUTREAD"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000525>xmlParserInputRead</A
526> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000527HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000528>xmlParserInputPtr</A
529> in,
530 int len);
531int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000532HREF="libxml-parser.html#XMLPARSERINPUTGROW"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000533>xmlParserInputGrow</A
534> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000535HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000536>xmlParserInputPtr</A
537> in,
538 int len);
Daniel Veillard35925471999-02-25 08:46:07 +0000539<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000540HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000541>xmlChar</A
542>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000543HREF="libxml-parser.html#XMLSTRDUP"
Daniel Veillard35925471999-02-25 08:46:07 +0000544>xmlStrdup</A
545> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000546HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000547>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000548> *cur);
549<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000550HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000551>xmlChar</A
552>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000553HREF="libxml-parser.html#XMLSTRNDUP"
Daniel Veillard35925471999-02-25 08:46:07 +0000554>xmlStrndup</A
555> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000556HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000557>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000558> *cur,
559 int len);
560<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000561HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000562>xmlChar</A
563>* <A
Daniel Veillarda41123c2001-04-22 19:31:20 +0000564HREF="libxml-parser.html#XMLCHARSTRNDUP"
565>xmlCharStrndup</A
566> (const char *cur,
567 int len);
568<A
569HREF="libxml-tree.html#XMLCHAR"
570>xmlChar</A
571>* <A
572HREF="libxml-parser.html#XMLCHARSTRDUP"
573>xmlCharStrdup</A
574> (const char *cur);
575<A
576HREF="libxml-tree.html#XMLCHAR"
577>xmlChar</A
578>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000579HREF="libxml-parser.html#XMLSTRSUB"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000580>xmlStrsub</A
581> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000582HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000583>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000584> *str,
585 int start,
586 int len);
587const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000588HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000589>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000590>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000591HREF="libxml-parser.html#XMLSTRCHR"
Daniel Veillard35925471999-02-25 08:46:07 +0000592>xmlStrchr</A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000593> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000594HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000595>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000596> *str,
597 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000598HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000599>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000600> val);
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000601const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000602HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000603>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000604>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000605HREF="libxml-parser.html#XMLSTRSTR"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000606>xmlStrstr</A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000607> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000608HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000609>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000610> *str,
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000611 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000612HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000613>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000614> *val);
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000615const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000616HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000617>xmlChar</A
618>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000619HREF="libxml-parser.html#XMLSTRCASESTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000620>xmlStrcasestr</A
621> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000622HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000623>xmlChar</A
624> *str,
625 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000626HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000627>xmlChar</A
628> *val);
Daniel Veillard35925471999-02-25 08:46:07 +0000629int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000630HREF="libxml-parser.html#XMLSTRCMP"
Daniel Veillard35925471999-02-25 08:46:07 +0000631>xmlStrcmp</A
632> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000633HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000634>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000635> *str1,
636 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000637HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000638>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000639> *str2);
640int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000641HREF="libxml-parser.html#XMLSTRNCMP"
Daniel Veillard35925471999-02-25 08:46:07 +0000642>xmlStrncmp</A
643> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000644HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000645>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000646> *str1,
647 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000648HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000649>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000650> *str2,
651 int len);
652int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000653HREF="libxml-parser.html#XMLSTRCASECMP"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000654>xmlStrcasecmp</A
655> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000656HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000657>xmlChar</A
658> *str1,
659 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000660HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000661>xmlChar</A
662> *str2);
663int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000664HREF="libxml-parser.html#XMLSTRNCASECMP"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000665>xmlStrncasecmp</A
666> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000667HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000668>xmlChar</A
669> *str1,
670 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000671HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000672>xmlChar</A
673> *str2,
674 int len);
675int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000676HREF="libxml-parser.html#XMLSTREQUAL"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000677>xmlStrEqual</A
678> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000679HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000680>xmlChar</A
681> *str1,
682 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000683HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000684>xmlChar</A
685> *str2);
686int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000687HREF="libxml-parser.html#XMLSTRLEN"
Daniel Veillard35925471999-02-25 08:46:07 +0000688>xmlStrlen</A
689> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000690HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000691>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000692> *str);
693<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000694HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000695>xmlChar</A
696>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000697HREF="libxml-parser.html#XMLSTRCAT"
Daniel Veillard35925471999-02-25 08:46:07 +0000698>xmlStrcat</A
699> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000700HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000701>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000702> *cur,
703 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000704HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000705>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000706> *add);
707<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000708HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000709>xmlChar</A
710>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000711HREF="libxml-parser.html#XMLSTRNCAT"
Daniel Veillard35925471999-02-25 08:46:07 +0000712>xmlStrncat</A
713> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000714HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000715>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000716> *cur,
717 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000718HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000719>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000720> *add,
721 int len);
722<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000723HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000724>xmlDocPtr</A
725> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000726HREF="libxml-parser.html#XMLPARSEDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000727>xmlParseDoc</A
728> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000729HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000730>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000731> *cur);
732<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000733HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000734>xmlDocPtr</A
735> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000736HREF="libxml-parser.html#XMLPARSEMEMORY"
Daniel Veillard35925471999-02-25 08:46:07 +0000737>xmlParseMemory</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000738> (const char *buffer,
Daniel Veillard35925471999-02-25 08:46:07 +0000739 int size);
740<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000741HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000742>xmlDocPtr</A
743> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000744HREF="libxml-parser.html#XMLPARSEFILE"
Daniel Veillard35925471999-02-25 08:46:07 +0000745>xmlParseFile</A
746> (const char *filename);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000747int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000748HREF="libxml-parser.html#XMLSUBSTITUTEENTITIESDEFAULT"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000749>xmlSubstituteEntitiesDefault</A
750> (int val);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000751int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000752HREF="libxml-parser.html#XMLKEEPBLANKSDEFAULT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000753>xmlKeepBlanksDefault</A
754> (int val);
755void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000756HREF="libxml-parser.html#XMLSTOPPARSER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000757>xmlStopParser</A
758> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000759HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000760>xmlParserCtxtPtr</A
761> ctxt);
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000762int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000763HREF="libxml-parser.html#XMLPEDANTICPARSERDEFAULT"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000764>xmlPedanticParserDefault</A
765> (int val);
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000766int <A
767HREF="libxml-parser.html#XMLLINENUMBERSDEFAULT"
768>xmlLineNumbersDefault</A
769> (int val);
Daniel Veillard35925471999-02-25 08:46:07 +0000770<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000771HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000772>xmlDocPtr</A
773> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000774HREF="libxml-parser.html#XMLRECOVERDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000775>xmlRecoverDoc</A
776> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000777HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000778>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000779> *cur);
780<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000781HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000782>xmlDocPtr</A
783> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000784HREF="libxml-parser.html#XMLRECOVERMEMORY"
Daniel Veillard35925471999-02-25 08:46:07 +0000785>xmlRecoverMemory</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000786> (const char *buffer,
Daniel Veillard35925471999-02-25 08:46:07 +0000787 int size);
788<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000789HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000790>xmlDocPtr</A
791> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000792HREF="libxml-parser.html#XMLRECOVERFILE"
Daniel Veillard35925471999-02-25 08:46:07 +0000793>xmlRecoverFile</A
794> (const char *filename);
795int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000796HREF="libxml-parser.html#XMLPARSEDOCUMENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000797>xmlParseDocument</A
798> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000799HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000800>xmlParserCtxtPtr</A
801> ctxt);
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000802int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000803HREF="libxml-parser.html#XMLPARSEEXTPARSEDENT"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000804>xmlParseExtParsedEnt</A
805> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000806HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000807>xmlParserCtxtPtr</A
808> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000809<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000810HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000811>xmlDocPtr</A
812> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000813HREF="libxml-parser.html#XMLSAXPARSEDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000814>xmlSAXParseDoc</A
815> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000816HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000817>xmlSAXHandlerPtr</A
818> sax,
819 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000820HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000821>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000822> *cur,
823 int recovery);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000824int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000825HREF="libxml-parser.html#XMLSAXUSERPARSEFILE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000826>xmlSAXUserParseFile</A
827> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000828HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000829>xmlSAXHandlerPtr</A
830> sax,
831 void *user_data,
832 const char *filename);
833int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000834HREF="libxml-parser.html#XMLSAXUSERPARSEMEMORY"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000835>xmlSAXUserParseMemory</A
836> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000837HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000838>xmlSAXHandlerPtr</A
839> sax,
840 void *user_data,
Daniel Veillardbed7b052001-05-19 14:59:49 +0000841 const char *buffer,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000842 int size);
Daniel Veillard35925471999-02-25 08:46:07 +0000843<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000844HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000845>xmlDocPtr</A
846> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000847HREF="libxml-parser.html#XMLSAXPARSEMEMORY"
Daniel Veillard35925471999-02-25 08:46:07 +0000848>xmlSAXParseMemory</A
849> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000850HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000851>xmlSAXHandlerPtr</A
852> sax,
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000853 const char *buffer,
Daniel Veillard35925471999-02-25 08:46:07 +0000854 int size,
855 int recovery);
856<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000857HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000858>xmlDocPtr</A
859> <A
Daniel Veillardaec63562003-03-23 20:42:17 +0000860HREF="libxml-parser.html#XMLSAXPARSEMEMORYWITHDATA"
861>xmlSAXParseMemoryWithData</A
862> (<A
863HREF="libxml-tree.html#XMLSAXHANDLERPTR"
864>xmlSAXHandlerPtr</A
865> sax,
866 const char *buffer,
867 int size,
868 int recovery,
869 void *data);
870<A
871HREF="libxml-tree.html#XMLDOCPTR"
872>xmlDocPtr</A
873> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000874HREF="libxml-parser.html#XMLSAXPARSEFILE"
Daniel Veillard35925471999-02-25 08:46:07 +0000875>xmlSAXParseFile</A
876> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000877HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000878>xmlSAXHandlerPtr</A
879> sax,
880 const char *filename,
881 int recovery);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000882<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000883HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000884>xmlDocPtr</A
885> <A
Daniel Veillard60087f32001-10-10 09:45:09 +0000886HREF="libxml-parser.html#XMLSAXPARSEFILEWITHDATA"
887>xmlSAXParseFileWithData</A
888> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000889HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard60087f32001-10-10 09:45:09 +0000890>xmlSAXHandlerPtr</A
891> sax,
892 const char *filename,
893 int recovery,
894 void *data);
895<A
896HREF="libxml-tree.html#XMLDOCPTR"
897>xmlDocPtr</A
898> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000899HREF="libxml-parser.html#XMLSAXPARSEENTITY"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000900>xmlSAXParseEntity</A
901> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000902HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000903>xmlSAXHandlerPtr</A
904> sax,
905 const char *filename);
906<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000907HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000908>xmlDocPtr</A
909> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000910HREF="libxml-parser.html#XMLPARSEENTITY"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000911>xmlParseEntity</A
912> (const char *filename);
913<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000914HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000915>xmlDtdPtr</A
916> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000917HREF="libxml-parser.html#XMLPARSEDTD"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000918>xmlParseDTD</A
919> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000920HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000921>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000922> *ExternalID,
923 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000924HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000925>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000926> *SystemID);
927<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000928HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000929>xmlDtdPtr</A
930> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000931HREF="libxml-parser.html#XMLSAXPARSEDTD"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000932>xmlSAXParseDTD</A
933> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000934HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000935>xmlSAXHandlerPtr</A
936> sax,
937 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000938HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000939>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000940> *ExternalID,
941 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000942HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000943>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000944> *SystemID);
Daniel Veillarda4964b72000-10-31 18:23:44 +0000945<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000946HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillarda4964b72000-10-31 18:23:44 +0000947>xmlDtdPtr</A
948> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000949HREF="libxml-parser.html#XMLIOPARSEDTD"
Daniel Veillarda4964b72000-10-31 18:23:44 +0000950>xmlIOParseDTD</A
951> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000952HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillarda4964b72000-10-31 18:23:44 +0000953>xmlSAXHandlerPtr</A
954> sax,
955 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000956HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
Daniel Veillarda4964b72000-10-31 18:23:44 +0000957>xmlParserInputBufferPtr</A
958> input,
959 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000960HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillarda4964b72000-10-31 18:23:44 +0000961>xmlCharEncoding</A
962> enc);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000963int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000964HREF="libxml-parser.html#XMLPARSEBALANCEDCHUNKMEMORY"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000965>xmlParseBalancedChunkMemory</A
966> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000967HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000968>xmlDocPtr</A
969> doc,
970 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000971HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000972>xmlSAXHandlerPtr</A
973> sax,
974 void *user_data,
975 int depth,
976 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000977HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000978>xmlChar</A
979> *string,
980 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000981HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000982>xmlNodePtr</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000983> *lst);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000984int <A
Daniel Veillard2ace1952002-09-26 12:28:02 +0000985HREF="libxml-parser.html#XMLPARSEBALANCEDCHUNKMEMORYRECOVER"
986>xmlParseBalancedChunkMemoryRecover</A
987>
988 (<A
989HREF="libxml-tree.html#XMLDOCPTR"
990>xmlDocPtr</A
991> doc,
992 <A
993HREF="libxml-tree.html#XMLSAXHANDLERPTR"
994>xmlSAXHandlerPtr</A
995> sax,
996 void *user_data,
997 int depth,
998 const <A
999HREF="libxml-tree.html#XMLCHAR"
1000>xmlChar</A
1001> *string,
1002 <A
1003HREF="libxml-tree.html#XMLNODEPTR"
1004>xmlNodePtr</A
1005> *lst,
1006 int recover);
1007int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001008HREF="libxml-parser.html#XMLPARSEEXTERNALENTITY"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001009>xmlParseExternalEntity</A
1010> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001011HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001012>xmlDocPtr</A
1013> doc,
1014 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001015HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001016>xmlSAXHandlerPtr</A
1017> sax,
1018 void *user_data,
1019 int depth,
1020 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001021HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001022>xmlChar</A
1023> *URL,
1024 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001025HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001026>xmlChar</A
1027> *ID,
1028 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001029HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001030>xmlNodePtr</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001031> *lst);
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001032int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001033HREF="libxml-parser.html#XMLPARSECTXTEXTERNALENTITY"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001034>xmlParseCtxtExternalEntity</A
1035> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001036HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001037>xmlParserCtxtPtr</A
1038> ctx,
1039 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001040HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001041>xmlChar</A
1042> *URL,
1043 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001044HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001045>xmlChar</A
1046> *ID,
1047 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001048HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001049>xmlNodePtr</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001050> *lst);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001051void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001052HREF="libxml-parser.html#XMLINITPARSERCTXT"
Daniel Veillard35925471999-02-25 08:46:07 +00001053>xmlInitParserCtxt</A
1054> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001055HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001056>xmlParserCtxtPtr</A
1057> ctxt);
1058void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001059HREF="libxml-parser.html#XMLCLEARPARSERCTXT"
Daniel Veillard35925471999-02-25 08:46:07 +00001060>xmlClearParserCtxt</A
1061> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001062HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001063>xmlParserCtxtPtr</A
1064> ctxt);
1065void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001066HREF="libxml-parser.html#XMLFREEPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001067>xmlFreeParserCtxt</A
1068> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001069HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001070>xmlParserCtxtPtr</A
1071> ctxt);
1072void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001073HREF="libxml-parser.html#XMLSETUPPARSERFORBUFFER"
Daniel Veillard35925471999-02-25 08:46:07 +00001074>xmlSetupParserForBuffer</A
1075> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001076HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001077>xmlParserCtxtPtr</A
1078> ctxt,
1079 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001080HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001081>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001082> *buffer,
1083 const char *filename);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001084<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001085HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001086>xmlParserCtxtPtr</A
1087> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001088HREF="libxml-parser.html#XMLCREATEDOCPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001089>xmlCreateDocParserCtxt</A
1090> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001091HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001092>xmlChar</A
1093> *cur);
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001094int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001095HREF="libxml-parser.html#XMLGETFEATURESLIST"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001096>xmlGetFeaturesList</A
1097> (int *len,
1098 const char **result);
1099int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001100HREF="libxml-parser.html#XMLGETFEATURE"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001101>xmlGetFeature</A
1102> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001103HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001104>xmlParserCtxtPtr</A
1105> ctxt,
1106 const char *name,
1107 void *result);
1108int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001109HREF="libxml-parser.html#XMLSETFEATURE"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001110>xmlSetFeature</A
1111> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001112HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001113>xmlParserCtxtPtr</A
1114> ctxt,
1115 const char *name,
1116 void *value);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001117<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001118HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001119>xmlParserCtxtPtr</A
1120> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001121HREF="libxml-parser.html#XMLCREATEPUSHPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001122>xmlCreatePushParserCtxt</A
1123> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001124HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001125>xmlSAXHandlerPtr</A
1126> sax,
1127 void *user_data,
1128 const char *chunk,
1129 int size,
1130 const char *filename);
1131int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001132HREF="libxml-parser.html#XMLPARSECHUNK"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001133>xmlParseChunk</A
1134> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001135HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001136>xmlParserCtxtPtr</A
1137> ctxt,
1138 const char *chunk,
1139 int size,
1140 int terminate);
1141<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001142HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001143>xmlParserCtxtPtr</A
1144> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001145HREF="libxml-parser.html#XMLCREATEIOPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001146>xmlCreateIOParserCtxt</A
1147> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001148HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001149>xmlSAXHandlerPtr</A
1150> sax,
1151 void *user_data,
1152 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001153HREF="libxml-xmlio.html#XMLINPUTREADCALLBACK"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001154>xmlInputReadCallback</A
1155> ioread,
1156 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001157HREF="libxml-xmlio.html#XMLINPUTCLOSECALLBACK"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001158>xmlInputCloseCallback</A
1159> ioclose,
1160 void *ioctx,
1161 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001162HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001163>xmlCharEncoding</A
1164> enc);
1165<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001166HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001167>xmlParserInputPtr</A
1168> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001169HREF="libxml-parser.html#XMLNEWIOINPUTSTREAM"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001170>xmlNewIOInputStream</A
1171> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001172HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001173>xmlParserCtxtPtr</A
1174> ctxt,
1175 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001176HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001177>xmlParserInputBufferPtr</A
1178> input,
1179 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001180HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001181>xmlCharEncoding</A
1182> enc);
Daniel Veillard35925471999-02-25 08:46:07 +00001183const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001184HREF="libxml-parser.html#XMLPARSERNODEINFO"
Daniel Veillard35925471999-02-25 08:46:07 +00001185>xmlParserNodeInfo</A
1186>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001187HREF="libxml-parser.html#XMLPARSERFINDNODEINFO"
Daniel Veillard35925471999-02-25 08:46:07 +00001188>xmlParserFindNodeInfo</A
1189>
1190 (const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001191HREF="libxml-tree.html#XMLPARSERCTXTPTR"
1192>xmlParserCtxtPtr</A
1193> ctxt,
Daniel Veillard35925471999-02-25 08:46:07 +00001194 const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001195HREF="libxml-tree.html#XMLNODEPTR"
1196>xmlNodePtr</A
1197> node);
Daniel Veillard35925471999-02-25 08:46:07 +00001198void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001199HREF="libxml-parser.html#XMLINITNODEINFOSEQ"
Daniel Veillard35925471999-02-25 08:46:07 +00001200>xmlInitNodeInfoSeq</A
1201> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001202HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001203>xmlParserNodeInfoSeqPtr</A
1204> seq);
1205void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001206HREF="libxml-parser.html#XMLCLEARNODEINFOSEQ"
Daniel Veillard35925471999-02-25 08:46:07 +00001207>xmlClearNodeInfoSeq</A
1208> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001209HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001210>xmlParserNodeInfoSeqPtr</A
1211> seq);
1212unsigned <GTKDOCLINK
1213HREF="LONG"
1214>long</GTKDOCLINK
1215> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001216HREF="libxml-parser.html#XMLPARSERFINDNODEINFOINDEX"
Daniel Veillard35925471999-02-25 08:46:07 +00001217>xmlParserFindNodeInfoIndex</A
1218> (const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001219HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
1220>xmlParserNodeInfoSeqPtr</A
1221> seq,
Daniel Veillard35925471999-02-25 08:46:07 +00001222 const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001223HREF="libxml-tree.html#XMLNODEPTR"
1224>xmlNodePtr</A
1225> node);
Daniel Veillard35925471999-02-25 08:46:07 +00001226void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001227HREF="libxml-parser.html#XMLPARSERADDNODEINFO"
Daniel Veillard35925471999-02-25 08:46:07 +00001228>xmlParserAddNodeInfo</A
1229> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001230HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001231>xmlParserCtxtPtr</A
1232> ctxt,
1233 const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001234HREF="libxml-parser.html#XMLPARSERNODEINFOPTR"
1235>xmlParserNodeInfoPtr</A
1236> info);
Daniel Veillard35925471999-02-25 08:46:07 +00001237void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001238HREF="libxml-parser.html#XMLSETEXTERNALENTITYLOADER"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001239>xmlSetExternalEntityLoader</A
1240> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001241HREF="libxml-parser.html#XMLEXTERNALENTITYLOADER"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001242>xmlExternalEntityLoader</A
1243> f);
1244<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001245HREF="libxml-parser.html#XMLEXTERNALENTITYLOADER"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001246>xmlExternalEntityLoader</A
1247> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001248HREF="libxml-parser.html#XMLGETEXTERNALENTITYLOADER"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001249>xmlGetExternalEntityLoader</A
1250>
1251 (void);
1252<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001253HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001254>xmlParserInputPtr</A
1255> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001256HREF="libxml-parser.html#XMLLOADEXTERNALENTITY"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001257>xmlLoadExternalEntity</A
1258> (const char *URL,
1259 const char *ID,
1260 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001261HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard437b87b2000-01-03 17:30:46 +00001262>xmlParserCtxtPtr</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001263> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001264></TD
1265></TR
1266></TABLE
1267></DIV
1268><DIV
1269CLASS="REFSECT1"
1270><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001271NAME="AEN321"
Daniel Veillard35925471999-02-25 08:46:07 +00001272></A
1273><H2
1274>Description</H2
1275><P
1276></P
1277></DIV
1278><DIV
1279CLASS="REFSECT1"
1280><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001281NAME="AEN324"
Daniel Veillard35925471999-02-25 08:46:07 +00001282></A
1283><H2
1284>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001285><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001286CLASS="REFSECT2"
1287><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001288NAME="AEN326"
Daniel Veillard35925471999-02-25 08:46:07 +00001289></A
1290><H3
1291><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001292NAME="XML-DEFAULT-VERSION-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00001293></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001294>XML_DEFAULT_VERSION</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001295><TABLE
1296BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001297BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001298WIDTH="100%"
1299CELLPADDING="6"
1300><TR
1301><TD
1302><PRE
1303CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001304>#define XML_DEFAULT_VERSION "1.0"</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001305></TD
1306></TR
1307></TABLE
1308><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001309>The default version of XML used: 1.0</P
1310><P
Daniel Veillard35925471999-02-25 08:46:07 +00001311></P
1312></DIV
1313><HR><DIV
1314CLASS="REFSECT2"
1315><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001316NAME="AEN332"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001317></A
1318><H3
1319><A
1320NAME="XMLPARSERINPUTDEALLOCATE"
1321></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001322>xmlParserInputDeallocate ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001323><TABLE
1324BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001325BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001326WIDTH="100%"
1327CELLPADDING="6"
1328><TR
1329><TD
1330><PRE
1331CLASS="PROGRAMLISTING"
1332>void (*xmlParserInputDeallocate) (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001333HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001334>xmlChar</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001335> *str);</PRE
Daniel Veillardd692aa41999-02-28 21:54:31 +00001336></TD
1337></TR
1338></TABLE
1339><P
Daniel Veillard19274092002-03-25 16:48:03 +00001340>Callback for freeing some parser input allocations.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001341><P
Daniel Veillardd692aa41999-02-28 21:54:31 +00001342></P
1343><DIV
1344CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001345><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001346NAME="AEN339"
1347></A
1348><P
Daniel Veillardd692aa41999-02-28 21:54:31 +00001349></P
1350><TABLE
1351BORDER="0"
1352WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001353BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001354CELLSPACING="0"
1355CELLPADDING="4"
1356CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001357><TBODY
Daniel Veillardd692aa41999-02-28 21:54:31 +00001358><TR
1359><TD
1360WIDTH="20%"
1361ALIGN="RIGHT"
1362VALIGN="TOP"
1363><TT
1364CLASS="PARAMETER"
1365><I
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001366>str</I
Daniel Veillardd692aa41999-02-28 21:54:31 +00001367></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001368>&nbsp;:</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001369><TD
1370WIDTH="80%"
1371ALIGN="LEFT"
1372VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001373> the string to deallocate</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001374></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001375></TBODY
Daniel Veillardd692aa41999-02-28 21:54:31 +00001376></TABLE
1377><P
1378></P
1379></DIV
1380></DIV
1381><HR><DIV
1382CLASS="REFSECT2"
1383><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001384NAME="AEN348"
Daniel Veillard24491f62000-01-05 14:58:38 +00001385></A
1386><H3
1387><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001388NAME="XMLPARSERINPUT"
Daniel Veillard24491f62000-01-05 14:58:38 +00001389></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001390>struct xmlParserInput</H3
Daniel Veillard71b656e2000-01-05 14:46:17 +00001391><TABLE
1392BORDER="0"
Daniel Veillard24491f62000-01-05 14:58:38 +00001393BGCOLOR="#D6E8FF"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001394WIDTH="100%"
Daniel Veillard24491f62000-01-05 14:58:38 +00001395CELLPADDING="6"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001396><TR
1397><TD
Daniel Veillard24491f62000-01-05 14:58:38 +00001398><PRE
1399CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001400>struct xmlParserInput {
1401 /* Input buffer */
1402 xmlParserInputBufferPtr buf; /* UTF-8 encoded buffer */
1403
1404 const char *filename; /* The file analyzed, if any */
Daniel Veillard60087f32001-10-10 09:45:09 +00001405 const char *directory; /* the directory/base of the file */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001406 const xmlChar *base; /* Base of the array to parse */
1407 const xmlChar *cur; /* Current char being parsed */
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001408 const xmlChar *end; /* end of the array to parse */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001409 int length; /* length if known */
1410 int line; /* Current line */
1411 int col; /* Current column */
1412 int consumed; /* How many xmlChars already consumed */
1413 xmlParserInputDeallocate free; /* function to deallocate the base */
1414 const xmlChar *encoding; /* the encoding string for entity */
1415 const xmlChar *version; /* the version string for entity */
1416 int standalone; /* Was that entity marked standalone */
1417};</PRE
Daniel Veillard24491f62000-01-05 14:58:38 +00001418></TD
Daniel Veillard71b656e2000-01-05 14:46:17 +00001419></TR
1420></TABLE
1421><P
Daniel Veillard19274092002-03-25 16:48:03 +00001422>An xmlParserInput is an input flow for the XML processor.
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001423Each entity parsed is associated an xmlParserInput (except the
1424few predefined ones). This is the case both for internal entities
1425- in which case the flow is already completely in memory - or
1426external entities - in which case we use the buf structure for
1427progressive reading and I18N conversions to the internal UTF-8 format.</P
1428><P
Daniel Veillard71b656e2000-01-05 14:46:17 +00001429></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001430></DIV
1431><HR><DIV
1432CLASS="REFSECT2"
1433><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001434NAME="AEN354"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001435></A
1436><H3
1437><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001438NAME="XMLPARSERNODEINFO"
1439></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001440>struct xmlParserNodeInfo</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001441><TABLE
1442BORDER="0"
1443BGCOLOR="#D6E8FF"
1444WIDTH="100%"
1445CELLPADDING="6"
1446><TR
1447><TD
1448><PRE
1449CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001450>struct xmlParserNodeInfo {
1451 const struct _xmlNode* node;
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001452 /* Position &amp; line # that text that created the node begins &amp; ends on */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001453 unsigned long begin_pos;
1454 unsigned long begin_line;
1455 unsigned long end_pos;
1456 unsigned long end_line;
1457};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001458></TD
1459></TR
1460></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001461><P
Daniel Veillard19274092002-03-25 16:48:03 +00001462>The parser can be asked to collect Node informations, i.e. at what
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001463place in the file they were detected.
1464NOTE: This is off by default and not very well tested.</P
1465><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001466></P
1467></DIV
1468><HR><DIV
1469CLASS="REFSECT2"
1470><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001471NAME="AEN360"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001472></A
1473><H3
1474><A
1475NAME="XMLPARSERNODEINFOPTR"
1476></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001477>xmlParserNodeInfoPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001478><TABLE
1479BORDER="0"
1480BGCOLOR="#D6E8FF"
1481WIDTH="100%"
1482CELLPADDING="6"
1483><TR
1484><TD
1485><PRE
1486CLASS="PROGRAMLISTING"
1487>typedef xmlParserNodeInfo *xmlParserNodeInfoPtr;</PRE
1488></TD
1489></TR
1490></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001491><P
1492></P
1493></DIV
1494><HR><DIV
1495CLASS="REFSECT2"
1496><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001497NAME="AEN365"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001498></A
1499><H3
1500><A
1501NAME="XMLPARSERNODEINFOSEQ"
1502></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001503>struct xmlParserNodeInfoSeq</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001504><TABLE
1505BORDER="0"
1506BGCOLOR="#D6E8FF"
1507WIDTH="100%"
1508CELLPADDING="6"
1509><TR
1510><TD
1511><PRE
1512CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001513>struct xmlParserNodeInfoSeq {
1514 unsigned long maximum;
1515 unsigned long length;
1516 xmlParserNodeInfo* buffer;
1517};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001518></TD
1519></TR
1520></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001521><P
1522></P
1523></DIV
1524><HR><DIV
1525CLASS="REFSECT2"
1526><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001527NAME="AEN370"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001528></A
1529><H3
1530><A
1531NAME="XMLPARSERNODEINFOSEQPTR"
1532></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001533>xmlParserNodeInfoSeqPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001534><TABLE
1535BORDER="0"
1536BGCOLOR="#D6E8FF"
1537WIDTH="100%"
1538CELLPADDING="6"
1539><TR
1540><TD
1541><PRE
1542CLASS="PROGRAMLISTING"
1543>typedef xmlParserNodeInfoSeq *xmlParserNodeInfoSeqPtr;</PRE
1544></TD
1545></TR
1546></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001547><P
1548></P
1549></DIV
1550><HR><DIV
1551CLASS="REFSECT2"
1552><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001553NAME="AEN375"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001554></A
1555><H3
1556><A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001557NAME="XMLPARSERINPUTSTATE"
1558></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001559>enum xmlParserInputState</H3
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001560><TABLE
1561BORDER="0"
1562BGCOLOR="#D6E8FF"
1563WIDTH="100%"
1564CELLPADDING="6"
1565><TR
1566><TD
1567><PRE
1568CLASS="PROGRAMLISTING"
Daniel Veillard00fdf371999-10-08 09:40:39 +00001569>typedef enum {
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001570 XML_PARSER_EOF = -1, /* nothing is to be parsed */
1571 XML_PARSER_START = 0, /* nothing has been parsed */
1572 XML_PARSER_MISC, /* Misc* before int subset */
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001573 XML_PARSER_PI, /* Within a processing instruction */
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001574 XML_PARSER_DTD, /* within some DTD content */
1575 XML_PARSER_PROLOG, /* Misc* after internal subset */
1576 XML_PARSER_COMMENT, /* within a comment */
1577 XML_PARSER_START_TAG, /* within a start tag */
1578 XML_PARSER_CONTENT, /* within the content */
1579 XML_PARSER_CDATA_SECTION, /* within a CDATA section */
1580 XML_PARSER_END_TAG, /* within a closing tag */
1581 XML_PARSER_ENTITY_DECL, /* within an entity declaration */
1582 XML_PARSER_ENTITY_VALUE, /* within an entity value in a decl */
1583 XML_PARSER_ATTRIBUTE_VALUE, /* within an attribute value */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001584 XML_PARSER_SYSTEM_LITERAL, /* within a SYSTEM value */
Daniel Veillard28929b22000-11-13 18:22:49 +00001585 XML_PARSER_EPILOG, /* the Misc* after the last end tag */
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001586 XML_PARSER_IGNORE, /* within an IGNORED section */
1587 XML_PARSER_PUBLIC_LITERAL /* within a PUBLIC value */
Daniel Veillardb05deb71999-08-10 19:04:08 +00001588} xmlParserInputState;</PRE
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001589></TD
1590></TR
1591></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001592><P
Daniel Veillard19274092002-03-25 16:48:03 +00001593>The parser is now working also as a state based parser.
1594The recursive one use the state info for entities processing.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001595><P
Daniel Veillard35925471999-02-25 08:46:07 +00001596></P
1597></DIV
1598><HR><DIV
1599CLASS="REFSECT2"
1600><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001601NAME="AEN381"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001602></A
1603><H3
1604><A
1605NAME="XML-DETECT-IDS-CAPS"
1606></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001607>XML_DETECT_IDS</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001608><TABLE
1609BORDER="0"
1610BGCOLOR="#D6E8FF"
1611WIDTH="100%"
1612CELLPADDING="6"
1613><TR
1614><TD
1615><PRE
1616CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001617>#define XML_DETECT_IDS 2</PRE
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001618></TD
1619></TR
1620></TABLE
1621><P
Daniel Veillard19274092002-03-25 16:48:03 +00001622>Bit in the loadsubset context field to tell to do ID/REFs lookups.
1623Use it to initialize xmlLoadExtDtdDefaultValue.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001624><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001625></P
1626></DIV
1627><HR><DIV
1628CLASS="REFSECT2"
1629><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001630NAME="AEN387"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001631></A
1632><H3
1633><A
1634NAME="XML-COMPLETE-ATTRS-CAPS"
1635></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001636>XML_COMPLETE_ATTRS</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001637><TABLE
1638BORDER="0"
1639BGCOLOR="#D6E8FF"
1640WIDTH="100%"
1641CELLPADDING="6"
1642><TR
1643><TD
1644><PRE
1645CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001646>#define XML_COMPLETE_ATTRS 4</PRE
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001647></TD
1648></TR
1649></TABLE
1650><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001651>Bit in the loadsubset context field to tell to do complete the
Daniel Veillard19274092002-03-25 16:48:03 +00001652elements attributes lists with the ones defaulted from the DTDs.
1653Use it to initialize xmlLoadExtDtdDefaultValue.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001654><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001655></P
1656></DIV
1657><HR><DIV
1658CLASS="REFSECT2"
1659><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001660NAME="AEN393"
1661></A
1662><H3
1663><A
1664NAME="XML-SKIP-IDS-CAPS"
1665></A
1666>XML_SKIP_IDS</H3
1667><TABLE
1668BORDER="0"
1669BGCOLOR="#D6E8FF"
1670WIDTH="100%"
1671CELLPADDING="6"
1672><TR
1673><TD
1674><PRE
1675CLASS="PROGRAMLISTING"
1676>#define XML_SKIP_IDS 8</PRE
1677></TD
1678></TR
1679></TABLE
1680><P
1681>Bit in the loadsubset context field to tell to not do ID/REFs registration.
1682Used to initialize xmlLoadExtDtdDefaultValue in some special cases.</P
1683><P
1684></P
1685></DIV
1686><HR><DIV
1687CLASS="REFSECT2"
1688><A
1689NAME="AEN399"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001690></A
1691><H3
1692><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001693NAME="XMLPARSERCTXT"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001694></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001695>struct xmlParserCtxt</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001696><TABLE
1697BORDER="0"
1698BGCOLOR="#D6E8FF"
1699WIDTH="100%"
1700CELLPADDING="6"
1701><TR
1702><TD
1703><PRE
1704CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001705>struct xmlParserCtxt {
1706 struct _xmlSAXHandler *sax; /* The SAX handler */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001707 void *userData; /* For SAX interface only, used by DOM build */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001708 xmlDocPtr myDoc; /* the document being built */
1709 int wellFormed; /* is the document well formed */
1710 int replaceEntities; /* shall we replace entities ? */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001711 const xmlChar *version; /* the XML version string */
1712 const xmlChar *encoding; /* the declared encoding, if any */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001713 int standalone; /* standalone document */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001714 int html; /* an HTML(1)/Docbook(2) document */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001715
1716 /* Input stream stack */
1717 xmlParserInputPtr input; /* Current input stream */
1718 int inputNr; /* Number of current input streams */
1719 int inputMax; /* Max number of input streams */
1720 xmlParserInputPtr *inputTab; /* stack of inputs */
1721
1722 /* Node analysis stack only used for DOM building */
1723 xmlNodePtr node; /* Current parsed Node */
1724 int nodeNr; /* Depth of the parsing stack */
1725 int nodeMax; /* Max depth of the parsing stack */
1726 xmlNodePtr *nodeTab; /* array of nodes */
1727
1728 int record_info; /* Whether node info should be kept */
1729 xmlParserNodeInfoSeq node_seq; /* info about each node parsed */
1730
1731 int errNo; /* error code */
1732
1733 int hasExternalSubset; /* reference and external subset */
1734 int hasPErefs; /* the internal subset has PE refs */
1735 int external; /* are we parsing an external entity */
1736
1737 int valid; /* is the document valid */
1738 int validate; /* shall we try to validate ? */
1739 xmlValidCtxt vctxt; /* The validity context */
1740
1741 xmlParserInputState instate; /* current type of input */
1742 int token; /* next char look-ahead */
1743
1744 char *directory; /* the data directory */
1745
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001746 /* Node name stack */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001747 xmlChar *name; /* Current parsed Node */
1748 int nameNr; /* Depth of the parsing stack */
1749 int nameMax; /* Max depth of the parsing stack */
1750 xmlChar * *nameTab; /* array of nodes */
1751
1752 long nbChars; /* number of xmlChar processed */
1753 long checkIndex; /* used by progressive parsing lookup */
Daniel Veillardf6868712000-01-05 14:58:38 +00001754 int keepBlanks; /* ugly but ... */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001755 int disableSAX; /* SAX callbacks are disabled */
1756 int inSubset; /* Parsing is in int 1/ext 2 subset */
1757 xmlChar * intSubName; /* name of subset */
1758 xmlChar * extSubURI; /* URI of external subset */
1759 xmlChar * extSubSystem; /* SYSTEM ID of external subset */
1760
1761 /* xml:space values */
1762 int * space; /* Should the parser preserve spaces */
1763 int spaceNr; /* Depth of the parsing stack */
1764 int spaceMax; /* Max depth of the parsing stack */
1765 int * spaceTab; /* array of space infos */
1766
1767 int depth; /* to prevent entity substitution loops */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001768 xmlParserInputPtr entity; /* used to check entities boundaries */
1769 int charset; /* encoding of the in-memory content
1770 actually an xmlCharEncoding */
1771 int nodelen; /* Those two fields are there to */
1772 int nodemem; /* Speed up large node parsing */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001773 int pedantic; /* signal pedantic warnings */
1774 void *_private; /* For user data, libxml won't touch it */
Daniel Veillardd194dd22001-02-14 10:37:43 +00001775
1776 int loadsubset; /* should the external subset be loaded */
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001777 int linenumbers; /* set line number in element content */
1778 void *catalogs; /* document's own catalog */
Daniel Veillardaec63562003-03-23 20:42:17 +00001779 int recovery; /* run in recovery mode */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001780};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001781></TD
1782></TR
1783></TABLE
Daniel Veillardb05deb71999-08-10 19:04:08 +00001784><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001785>The parser context.
Daniel Veillard19274092002-03-25 16:48:03 +00001786NOTE This doesn't completely define the parser state, the (current ?)
Daniel Veillardaec63562003-03-23 20:42:17 +00001787 design of the parser uses recursive function calls since this allow
1788 and easy mapping from the production rules of the specification
1789 to the actual code. The drawback is that the actual function call
1790 also reflect the parser state. However most of the parsing routines
1791 takes as the only argument the parser context pointer, so migrating
1792 to a state based parser for progressive parsing shouldn't be too hard.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001793><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001794></P
1795></DIV
1796><HR><DIV
1797CLASS="REFSECT2"
1798><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001799NAME="AEN405"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001800></A
1801><H3
1802><A
1803NAME="XMLSAXLOCATOR"
1804></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001805>struct xmlSAXLocator</H3
Daniel Veillard71b656e2000-01-05 14:46:17 +00001806><TABLE
1807BORDER="0"
1808BGCOLOR="#D6E8FF"
1809WIDTH="100%"
1810CELLPADDING="6"
1811><TR
1812><TD
1813><PRE
1814CLASS="PROGRAMLISTING"
1815>struct xmlSAXLocator {
1816 const xmlChar *(*getPublicId)(void *ctx);
1817 const xmlChar *(*getSystemId)(void *ctx);
1818 int (*getLineNumber)(void *ctx);
1819 int (*getColumnNumber)(void *ctx);
1820};</PRE
1821></TD
1822></TR
1823></TABLE
1824><P
Daniel Veillard19274092002-03-25 16:48:03 +00001825>A SAX Locator.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001826><P
Daniel Veillard71b656e2000-01-05 14:46:17 +00001827></P
1828></DIV
1829><HR><DIV
1830CLASS="REFSECT2"
1831><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001832NAME="AEN411"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001833></A
1834><H3
1835><A
Daniel Veillard35925471999-02-25 08:46:07 +00001836NAME="RESOLVEENTITYSAXFUNC"
1837></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001838>resolveEntitySAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001839><TABLE
1840BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001841BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001842WIDTH="100%"
1843CELLPADDING="6"
1844><TR
1845><TD
1846><PRE
1847CLASS="PROGRAMLISTING"
1848><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001849HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001850>xmlParserInputPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001851> (*resolveEntitySAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00001852 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001853HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001854>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001855> *publicId,
1856 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001857HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001858>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001859> *systemId);</PRE
1860></TD
1861></TR
1862></TABLE
1863><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001864>Callback:
1865The entity loader, to control the loading of external entities,
1866the application can either:
Daniel Veillardaec63562003-03-23 20:42:17 +00001867 - override this <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001868HREF="libxml-sax.html#RESOLVEENTITY"
1869>resolveEntity</A
1870>() callback in the SAX block
Daniel Veillardaec63562003-03-23 20:42:17 +00001871 - or better use the <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001872HREF="libxml-parser.html#XMLSETEXTERNALENTITYLOADER"
1873>xmlSetExternalEntityLoader</A
1874>() function to
Daniel Veillardaec63562003-03-23 20:42:17 +00001875 set up it's own entity resolution routine</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001876><P
Daniel Veillard35925471999-02-25 08:46:07 +00001877></P
1878><DIV
1879CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001880><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001881NAME="AEN422"
1882></A
1883><P
Daniel Veillard35925471999-02-25 08:46:07 +00001884></P
1885><TABLE
1886BORDER="0"
1887WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001888BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001889CELLSPACING="0"
1890CELLPADDING="4"
1891CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001892><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001893><TR
1894><TD
1895WIDTH="20%"
1896ALIGN="RIGHT"
1897VALIGN="TOP"
1898><TT
1899CLASS="PARAMETER"
1900><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00001901>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00001902></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001903>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001904><TD
1905WIDTH="80%"
1906ALIGN="LEFT"
1907VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001908> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001909></TR
1910><TR
1911><TD
1912WIDTH="20%"
1913ALIGN="RIGHT"
1914VALIGN="TOP"
1915><TT
1916CLASS="PARAMETER"
1917><I
1918>publicId</I
1919></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001920>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001921><TD
1922WIDTH="80%"
1923ALIGN="LEFT"
1924VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001925> The public ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001926></TR
1927><TR
1928><TD
1929WIDTH="20%"
1930ALIGN="RIGHT"
1931VALIGN="TOP"
1932><TT
1933CLASS="PARAMETER"
1934><I
1935>systemId</I
1936></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001937>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001938><TD
1939WIDTH="80%"
1940ALIGN="LEFT"
1941VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001942> The system ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001943></TR
1944><TR
1945><TD
1946WIDTH="20%"
1947ALIGN="RIGHT"
1948VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001949><SPAN
1950CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00001951><I
1952CLASS="EMPHASIS"
1953>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001954></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00001955> :</TD
1956><TD
1957WIDTH="80%"
1958ALIGN="LEFT"
1959VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001960>the xmlParserInputPtr if inlined or NULL for DOM behaviour.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001961></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001962></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001963></TABLE
1964><P
1965></P
1966></DIV
1967></DIV
1968><HR><DIV
1969CLASS="REFSECT2"
1970><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001971NAME="AEN443"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001972></A
1973><H3
1974><A
1975NAME="INTERNALSUBSETSAXFUNC"
1976></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001977>internalSubsetSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00001978><TABLE
1979BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001980BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001981WIDTH="100%"
1982CELLPADDING="6"
1983><TR
1984><TD
1985><PRE
1986CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00001987>void (*internalSubsetSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001988 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001989HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001990>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001991> *name,
1992 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001993HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001994>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001995> *ExternalID,
1996 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001997HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001998>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001999> *SystemID);</PRE
2000></TD
2001></TR
2002></TABLE
2003><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002004>Callback on internal subset declaration.</P
2005><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002006></P
2007><DIV
2008CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002009><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002010NAME="AEN452"
2011></A
2012><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002013></P
2014><TABLE
2015BORDER="0"
2016WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002017BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002018CELLSPACING="0"
2019CELLPADDING="4"
2020CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002021><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002022><TR
2023><TD
2024WIDTH="20%"
2025ALIGN="RIGHT"
2026VALIGN="TOP"
2027><TT
2028CLASS="PARAMETER"
2029><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002030>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002031></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002032>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002033><TD
2034WIDTH="80%"
2035ALIGN="LEFT"
2036VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002037> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002038></TR
2039><TR
2040><TD
2041WIDTH="20%"
2042ALIGN="RIGHT"
2043VALIGN="TOP"
2044><TT
2045CLASS="PARAMETER"
2046><I
2047>name</I
2048></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002049>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002050><TD
2051WIDTH="80%"
2052ALIGN="LEFT"
2053VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002054> the root element name</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002055></TR
2056><TR
2057><TD
2058WIDTH="20%"
2059ALIGN="RIGHT"
2060VALIGN="TOP"
2061><TT
2062CLASS="PARAMETER"
2063><I
2064>ExternalID</I
2065></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002066>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002067><TD
2068WIDTH="80%"
2069ALIGN="LEFT"
2070VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002071> the external ID</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002072></TR
2073><TR
2074><TD
2075WIDTH="20%"
2076ALIGN="RIGHT"
2077VALIGN="TOP"
2078><TT
2079CLASS="PARAMETER"
2080><I
2081>SystemID</I
2082></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002083>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002084><TD
2085WIDTH="80%"
2086ALIGN="LEFT"
2087VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002088> the SYSTEM ID (e.g. filename or URL)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002089></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002090></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002091></TABLE
2092><P
2093></P
2094></DIV
2095></DIV
2096><HR><DIV
2097CLASS="REFSECT2"
2098><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002099NAME="AEN473"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002100></A
2101><H3
2102><A
2103NAME="EXTERNALSUBSETSAXFUNC"
2104></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002105>externalSubsetSAXFunc ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002106><TABLE
2107BORDER="0"
2108BGCOLOR="#D6E8FF"
2109WIDTH="100%"
2110CELLPADDING="6"
2111><TR
2112><TD
2113><PRE
2114CLASS="PROGRAMLISTING"
2115>void (*externalSubsetSAXFunc) (void *ctx,
2116 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002117HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002118>xmlChar</A
2119> *name,
2120 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002121HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002122>xmlChar</A
2123> *ExternalID,
2124 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002125HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002126>xmlChar</A
2127> *SystemID);</PRE
2128></TD
2129></TR
2130></TABLE
2131><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002132>Callback on external subset declaration.</P
2133><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002134></P
2135><DIV
2136CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002137><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002138NAME="AEN482"
2139></A
2140><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002141></P
2142><TABLE
2143BORDER="0"
2144WIDTH="100%"
2145BGCOLOR="#FFD0D0"
2146CELLSPACING="0"
2147CELLPADDING="4"
2148CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002149><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002150><TR
2151><TD
2152WIDTH="20%"
2153ALIGN="RIGHT"
2154VALIGN="TOP"
2155><TT
2156CLASS="PARAMETER"
2157><I
2158>ctx</I
2159></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002160>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002161><TD
2162WIDTH="80%"
2163ALIGN="LEFT"
2164VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002165> the user data (XML parser context)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002166></TR
2167><TR
2168><TD
2169WIDTH="20%"
2170ALIGN="RIGHT"
2171VALIGN="TOP"
2172><TT
2173CLASS="PARAMETER"
2174><I
2175>name</I
2176></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002177>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002178><TD
2179WIDTH="80%"
2180ALIGN="LEFT"
2181VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002182> the root element name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002183></TR
2184><TR
2185><TD
2186WIDTH="20%"
2187ALIGN="RIGHT"
2188VALIGN="TOP"
2189><TT
2190CLASS="PARAMETER"
2191><I
2192>ExternalID</I
2193></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002194>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002195><TD
2196WIDTH="80%"
2197ALIGN="LEFT"
2198VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002199> the external ID</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002200></TR
2201><TR
2202><TD
2203WIDTH="20%"
2204ALIGN="RIGHT"
2205VALIGN="TOP"
2206><TT
2207CLASS="PARAMETER"
2208><I
2209>SystemID</I
2210></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002211>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002212><TD
2213WIDTH="80%"
2214ALIGN="LEFT"
2215VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002216> the SYSTEM ID (e.g. filename or URL)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002217></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002218></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002219></TABLE
2220><P
2221></P
2222></DIV
2223></DIV
2224><HR><DIV
2225CLASS="REFSECT2"
2226><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002227NAME="AEN503"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002228></A
2229><H3
2230><A
2231NAME="GETENTITYSAXFUNC"
2232></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002233>getEntitySAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002234><TABLE
2235BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002236BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002237WIDTH="100%"
2238CELLPADDING="6"
2239><TR
2240><TD
2241><PRE
2242CLASS="PROGRAMLISTING"
2243><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002244HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002245>xmlEntityPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00002246> (*getEntitySAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002247 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002248HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002249>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002250> *name);</PRE
2251></TD
2252></TR
2253></TABLE
2254><P
Daniel Veillard19274092002-03-25 16:48:03 +00002255>Get an entity by name.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002256><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002257></P
2258><DIV
2259CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002260><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002261NAME="AEN511"
2262></A
2263><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002264></P
2265><TABLE
2266BORDER="0"
2267WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002268BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002269CELLSPACING="0"
2270CELLPADDING="4"
2271CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002272><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002273><TR
2274><TD
2275WIDTH="20%"
2276ALIGN="RIGHT"
2277VALIGN="TOP"
2278><TT
2279CLASS="PARAMETER"
2280><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002281>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002282></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002283>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002284><TD
2285WIDTH="80%"
2286ALIGN="LEFT"
2287VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002288> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002289></TR
2290><TR
2291><TD
2292WIDTH="20%"
2293ALIGN="RIGHT"
2294VALIGN="TOP"
2295><TT
2296CLASS="PARAMETER"
2297><I
2298>name</I
2299></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002300>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002301><TD
2302WIDTH="80%"
2303ALIGN="LEFT"
2304VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002305> The entity name</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002306></TR
2307><TR
2308><TD
2309WIDTH="20%"
2310ALIGN="RIGHT"
2311VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002312><SPAN
2313CLASS="emphasis"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002314><I
2315CLASS="EMPHASIS"
2316>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002317></SPAN
Daniel Veillard5099ae81999-04-21 20:12:07 +00002318> :</TD
2319><TD
2320WIDTH="80%"
2321ALIGN="LEFT"
2322VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002323>the xmlEntityPtr if found.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002324></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002325></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002326></TABLE
2327><P
2328></P
2329></DIV
2330></DIV
2331><HR><DIV
2332CLASS="REFSECT2"
2333><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002334NAME="AEN528"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002335></A
2336><H3
2337><A
2338NAME="GETPARAMETERENTITYSAXFUNC"
2339></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002340>getParameterEntitySAXFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00002341><TABLE
2342BORDER="0"
2343BGCOLOR="#D6E8FF"
2344WIDTH="100%"
2345CELLPADDING="6"
2346><TR
2347><TD
2348><PRE
2349CLASS="PROGRAMLISTING"
2350><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002351HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002352>xmlEntityPtr</A
2353> (*getParameterEntitySAXFunc) (void *ctx,
2354 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002355HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002356>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002357> *name);</PRE
2358></TD
2359></TR
2360></TABLE
2361><P
Daniel Veillard19274092002-03-25 16:48:03 +00002362>Get a parameter entity by name.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002363><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00002364></P
2365><DIV
2366CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002367><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002368NAME="AEN536"
2369></A
2370><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00002371></P
2372><TABLE
2373BORDER="0"
2374WIDTH="100%"
2375BGCOLOR="#FFD0D0"
2376CELLSPACING="0"
2377CELLPADDING="4"
2378CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002379><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00002380><TR
2381><TD
2382WIDTH="20%"
2383ALIGN="RIGHT"
2384VALIGN="TOP"
2385><TT
2386CLASS="PARAMETER"
2387><I
2388>ctx</I
2389></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002390>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002391><TD
2392WIDTH="80%"
2393ALIGN="LEFT"
2394VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002395> the user data (XML parser context)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002396></TR
2397><TR
2398><TD
2399WIDTH="20%"
2400ALIGN="RIGHT"
2401VALIGN="TOP"
2402><TT
2403CLASS="PARAMETER"
2404><I
2405>name</I
2406></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002407>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002408><TD
2409WIDTH="80%"
2410ALIGN="LEFT"
2411VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002412> The entity name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002413></TR
2414><TR
2415><TD
2416WIDTH="20%"
2417ALIGN="RIGHT"
2418VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002419><SPAN
2420CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002421><I
2422CLASS="EMPHASIS"
2423>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002424></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00002425> :</TD
2426><TD
2427WIDTH="80%"
2428ALIGN="LEFT"
2429VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002430>the xmlEntityPtr if found.</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002431></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002432></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00002433></TABLE
2434><P
2435></P
2436></DIV
2437></DIV
2438><HR><DIV
2439CLASS="REFSECT2"
2440><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002441NAME="AEN553"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002442></A
2443><H3
2444><A
2445NAME="ENTITYDECLSAXFUNC"
2446></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002447>entityDeclSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002448><TABLE
2449BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002450BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002451WIDTH="100%"
2452CELLPADDING="6"
2453><TR
2454><TD
2455><PRE
2456CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002457>void (*entityDeclSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002458 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002459HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002460>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002461> *name,
2462 int type,
2463 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002464HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002465>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002466> *publicId,
2467 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002468HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002469>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002470> *systemId,
2471 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002472HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002473>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002474> *content);</PRE
2475></TD
2476></TR
2477></TABLE
2478><P
Daniel Veillard19274092002-03-25 16:48:03 +00002479>An entity definition has been parsed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002480><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002481></P
2482><DIV
2483CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002484><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002485NAME="AEN563"
2486></A
2487><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002488></P
2489><TABLE
2490BORDER="0"
2491WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002492BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002493CELLSPACING="0"
2494CELLPADDING="4"
2495CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002496><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002497><TR
2498><TD
2499WIDTH="20%"
2500ALIGN="RIGHT"
2501VALIGN="TOP"
2502><TT
2503CLASS="PARAMETER"
2504><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002505>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002506></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002507>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002508><TD
2509WIDTH="80%"
2510ALIGN="LEFT"
2511VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002512> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002513></TR
2514><TR
2515><TD
2516WIDTH="20%"
2517ALIGN="RIGHT"
2518VALIGN="TOP"
2519><TT
2520CLASS="PARAMETER"
2521><I
2522>name</I
2523></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002524>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002525><TD
2526WIDTH="80%"
2527ALIGN="LEFT"
2528VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002529> the entity name </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002530></TR
2531><TR
2532><TD
2533WIDTH="20%"
2534ALIGN="RIGHT"
2535VALIGN="TOP"
2536><TT
2537CLASS="PARAMETER"
2538><I
2539>type</I
2540></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002541>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002542><TD
2543WIDTH="80%"
2544ALIGN="LEFT"
2545VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002546> the entity type </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002547></TR
2548><TR
2549><TD
2550WIDTH="20%"
2551ALIGN="RIGHT"
2552VALIGN="TOP"
2553><TT
2554CLASS="PARAMETER"
2555><I
2556>publicId</I
2557></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002558>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002559><TD
2560WIDTH="80%"
2561ALIGN="LEFT"
2562VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002563> The public ID of the entity</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002564></TR
2565><TR
2566><TD
2567WIDTH="20%"
2568ALIGN="RIGHT"
2569VALIGN="TOP"
2570><TT
2571CLASS="PARAMETER"
2572><I
2573>systemId</I
2574></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002575>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002576><TD
2577WIDTH="80%"
2578ALIGN="LEFT"
2579VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002580> The system ID of the entity</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002581></TR
2582><TR
2583><TD
2584WIDTH="20%"
2585ALIGN="RIGHT"
2586VALIGN="TOP"
2587><TT
2588CLASS="PARAMETER"
2589><I
2590>content</I
2591></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002592>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002593><TD
2594WIDTH="80%"
2595ALIGN="LEFT"
2596VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002597> the entity value (without processing).</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002598></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002599></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002600></TABLE
2601><P
2602></P
2603></DIV
2604></DIV
2605><HR><DIV
2606CLASS="REFSECT2"
2607><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002608NAME="AEN592"
Daniel Veillard35925471999-02-25 08:46:07 +00002609></A
2610><H3
2611><A
2612NAME="NOTATIONDECLSAXFUNC"
2613></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002614>notationDeclSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002615><TABLE
2616BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002617BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002618WIDTH="100%"
2619CELLPADDING="6"
2620><TR
2621><TD
2622><PRE
2623CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002624>void (*notationDeclSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00002625 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002626HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002627>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002628> *name,
2629 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002630HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002631>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002632> *publicId,
2633 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002634HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002635>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002636> *systemId);</PRE
2637></TD
2638></TR
2639></TABLE
2640><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002641>What to do when a notation declaration has been parsed.</P
2642><P
Daniel Veillard35925471999-02-25 08:46:07 +00002643></P
2644><DIV
2645CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002646><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002647NAME="AEN601"
2648></A
2649><P
Daniel Veillard35925471999-02-25 08:46:07 +00002650></P
2651><TABLE
2652BORDER="0"
2653WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002654BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002655CELLSPACING="0"
2656CELLPADDING="4"
2657CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002658><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002659><TR
2660><TD
2661WIDTH="20%"
2662ALIGN="RIGHT"
2663VALIGN="TOP"
2664><TT
2665CLASS="PARAMETER"
2666><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002667>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00002668></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002669>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002670><TD
2671WIDTH="80%"
2672ALIGN="LEFT"
2673VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002674> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002675></TR
2676><TR
2677><TD
2678WIDTH="20%"
2679ALIGN="RIGHT"
2680VALIGN="TOP"
2681><TT
2682CLASS="PARAMETER"
2683><I
2684>name</I
2685></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002686>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002687><TD
2688WIDTH="80%"
2689ALIGN="LEFT"
2690VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002691> The name of the notation</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002692></TR
2693><TR
2694><TD
2695WIDTH="20%"
2696ALIGN="RIGHT"
2697VALIGN="TOP"
2698><TT
2699CLASS="PARAMETER"
2700><I
2701>publicId</I
2702></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002703>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002704><TD
2705WIDTH="80%"
2706ALIGN="LEFT"
2707VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002708> The public ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002709></TR
2710><TR
2711><TD
2712WIDTH="20%"
2713ALIGN="RIGHT"
2714VALIGN="TOP"
2715><TT
2716CLASS="PARAMETER"
2717><I
2718>systemId</I
2719></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002720>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002721><TD
2722WIDTH="80%"
2723ALIGN="LEFT"
2724VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002725> The system ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002726></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002727></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002728></TABLE
2729><P
2730></P
2731></DIV
2732></DIV
2733><HR><DIV
2734CLASS="REFSECT2"
2735><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002736NAME="AEN622"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002737></A
2738><H3
2739><A
2740NAME="ATTRIBUTEDECLSAXFUNC"
2741></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002742>attributeDeclSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002743><TABLE
2744BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002745BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002746WIDTH="100%"
2747CELLPADDING="6"
2748><TR
2749><TD
2750><PRE
2751CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002752>void (*attributeDeclSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002753 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002754HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002755>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002756> *elem,
2757 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002758HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002759>xmlChar</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002760> *fullname,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002761 int type,
2762 int def,
2763 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002764HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002765>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002766> *defaultValue,
2767 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002768HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002769>xmlEnumerationPtr</A
2770> tree);</PRE
2771></TD
2772></TR
2773></TABLE
2774><P
Daniel Veillard19274092002-03-25 16:48:03 +00002775>An attribute definition has been parsed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002776><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002777></P
2778><DIV
2779CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002780><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002781NAME="AEN632"
2782></A
2783><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002784></P
2785><TABLE
2786BORDER="0"
2787WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002788BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002789CELLSPACING="0"
2790CELLPADDING="4"
2791CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002792><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002793><TR
2794><TD
2795WIDTH="20%"
2796ALIGN="RIGHT"
2797VALIGN="TOP"
2798><TT
2799CLASS="PARAMETER"
2800><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002801>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002802></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002803>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002804><TD
2805WIDTH="80%"
2806ALIGN="LEFT"
2807VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002808> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002809></TR
2810><TR
2811><TD
2812WIDTH="20%"
2813ALIGN="RIGHT"
2814VALIGN="TOP"
2815><TT
2816CLASS="PARAMETER"
2817><I
2818>elem</I
2819></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002820>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002821><TD
2822WIDTH="80%"
2823ALIGN="LEFT"
2824VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002825> the name of the element</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002826></TR
2827><TR
2828><TD
2829WIDTH="20%"
2830ALIGN="RIGHT"
2831VALIGN="TOP"
2832><TT
2833CLASS="PARAMETER"
2834><I
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002835>fullname</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002836></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002837>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002838><TD
2839WIDTH="80%"
2840ALIGN="LEFT"
2841VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002842> the attribute name </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002843></TR
2844><TR
2845><TD
2846WIDTH="20%"
2847ALIGN="RIGHT"
2848VALIGN="TOP"
2849><TT
2850CLASS="PARAMETER"
2851><I
2852>type</I
2853></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002854>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002855><TD
2856WIDTH="80%"
2857ALIGN="LEFT"
2858VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002859> the attribute type </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002860></TR
2861><TR
2862><TD
2863WIDTH="20%"
2864ALIGN="RIGHT"
2865VALIGN="TOP"
2866><TT
2867CLASS="PARAMETER"
2868><I
2869>def</I
2870></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002871>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002872><TD
2873WIDTH="80%"
2874ALIGN="LEFT"
2875VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002876> the type of default value</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002877></TR
2878><TR
2879><TD
2880WIDTH="20%"
2881ALIGN="RIGHT"
2882VALIGN="TOP"
2883><TT
2884CLASS="PARAMETER"
2885><I
2886>defaultValue</I
2887></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002888>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002889><TD
2890WIDTH="80%"
2891ALIGN="LEFT"
2892VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002893> the attribute default value</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002894></TR
2895><TR
2896><TD
2897WIDTH="20%"
2898ALIGN="RIGHT"
2899VALIGN="TOP"
2900><TT
2901CLASS="PARAMETER"
2902><I
2903>tree</I
2904></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002905>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002906><TD
2907WIDTH="80%"
2908ALIGN="LEFT"
2909VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002910> the tree of enumerated value set</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002911></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002912></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002913></TABLE
2914><P
2915></P
2916></DIV
2917></DIV
2918><HR><DIV
2919CLASS="REFSECT2"
2920><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002921NAME="AEN665"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002922></A
2923><H3
2924><A
2925NAME="ELEMENTDECLSAXFUNC"
2926></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002927>elementDeclSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002928><TABLE
2929BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002930BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002931WIDTH="100%"
2932CELLPADDING="6"
2933><TR
2934><TD
2935><PRE
2936CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002937>void (*elementDeclSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002938 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002939HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002940>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002941> *name,
2942 int type,
2943 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002944HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002945>xmlElementContentPtr</A
2946> content);</PRE
2947></TD
2948></TR
2949></TABLE
2950><P
Daniel Veillard19274092002-03-25 16:48:03 +00002951>An element definition has been parsed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002952><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002953></P
2954><DIV
2955CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002956><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002957NAME="AEN673"
2958></A
2959><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002960></P
2961><TABLE
2962BORDER="0"
2963WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002964BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002965CELLSPACING="0"
2966CELLPADDING="4"
2967CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002968><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002969><TR
2970><TD
2971WIDTH="20%"
2972ALIGN="RIGHT"
2973VALIGN="TOP"
2974><TT
2975CLASS="PARAMETER"
2976><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002977>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002978></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002979>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002980><TD
2981WIDTH="80%"
2982ALIGN="LEFT"
2983VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002984> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002985></TR
2986><TR
2987><TD
2988WIDTH="20%"
2989ALIGN="RIGHT"
2990VALIGN="TOP"
2991><TT
2992CLASS="PARAMETER"
2993><I
2994>name</I
2995></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002996>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002997><TD
2998WIDTH="80%"
2999ALIGN="LEFT"
3000VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003001> the element name </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003002></TR
3003><TR
3004><TD
3005WIDTH="20%"
3006ALIGN="RIGHT"
3007VALIGN="TOP"
3008><TT
3009CLASS="PARAMETER"
3010><I
3011>type</I
3012></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003013>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003014><TD
3015WIDTH="80%"
3016ALIGN="LEFT"
3017VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003018> the element type </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003019></TR
3020><TR
3021><TD
3022WIDTH="20%"
3023ALIGN="RIGHT"
3024VALIGN="TOP"
3025><TT
3026CLASS="PARAMETER"
3027><I
3028>content</I
3029></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003030>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003031><TD
3032WIDTH="80%"
3033ALIGN="LEFT"
3034VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003035> the element value tree</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003036></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003037></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00003038></TABLE
3039><P
3040></P
3041></DIV
3042></DIV
3043><HR><DIV
3044CLASS="REFSECT2"
3045><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003046NAME="AEN694"
Daniel Veillard35925471999-02-25 08:46:07 +00003047></A
3048><H3
3049><A
3050NAME="UNPARSEDENTITYDECLSAXFUNC"
3051></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003052>unparsedEntityDeclSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003053><TABLE
3054BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003055BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003056WIDTH="100%"
3057CELLPADDING="6"
3058><TR
3059><TD
3060><PRE
3061CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003062>void (*unparsedEntityDeclSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003063 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003064HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003065>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003066> *name,
3067 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003068HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003069>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003070> *publicId,
3071 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003072HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003073>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003074> *systemId,
3075 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003076HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003077>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003078> *notationName);</PRE
3079></TD
3080></TR
3081></TABLE
3082><P
Daniel Veillard19274092002-03-25 16:48:03 +00003083>What to do when an unparsed entity declaration is parsed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003084><P
Daniel Veillard35925471999-02-25 08:46:07 +00003085></P
3086><DIV
3087CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003088><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003089NAME="AEN704"
3090></A
3091><P
Daniel Veillard35925471999-02-25 08:46:07 +00003092></P
3093><TABLE
3094BORDER="0"
3095WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003096BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003097CELLSPACING="0"
3098CELLPADDING="4"
3099CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003100><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003101><TR
3102><TD
3103WIDTH="20%"
3104ALIGN="RIGHT"
3105VALIGN="TOP"
3106><TT
3107CLASS="PARAMETER"
3108><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003109>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003110></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003111>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003112><TD
3113WIDTH="80%"
3114ALIGN="LEFT"
3115VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003116> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003117></TR
3118><TR
3119><TD
3120WIDTH="20%"
3121ALIGN="RIGHT"
3122VALIGN="TOP"
3123><TT
3124CLASS="PARAMETER"
3125><I
3126>name</I
3127></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003128>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003129><TD
3130WIDTH="80%"
3131ALIGN="LEFT"
3132VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003133> The name of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003134></TR
3135><TR
3136><TD
3137WIDTH="20%"
3138ALIGN="RIGHT"
3139VALIGN="TOP"
3140><TT
3141CLASS="PARAMETER"
3142><I
3143>publicId</I
3144></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003145>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003146><TD
3147WIDTH="80%"
3148ALIGN="LEFT"
3149VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003150> The public ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003151></TR
3152><TR
3153><TD
3154WIDTH="20%"
3155ALIGN="RIGHT"
3156VALIGN="TOP"
3157><TT
3158CLASS="PARAMETER"
3159><I
3160>systemId</I
3161></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003162>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003163><TD
3164WIDTH="80%"
3165ALIGN="LEFT"
3166VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003167> The system ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003168></TR
3169><TR
3170><TD
3171WIDTH="20%"
3172ALIGN="RIGHT"
3173VALIGN="TOP"
3174><TT
3175CLASS="PARAMETER"
3176><I
3177>notationName</I
3178></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003179>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003180><TD
3181WIDTH="80%"
3182ALIGN="LEFT"
3183VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003184> the name of the notation</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003185></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003186></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003187></TABLE
3188><P
3189></P
3190></DIV
3191></DIV
3192><HR><DIV
3193CLASS="REFSECT2"
3194><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003195NAME="AEN729"
Daniel Veillard35925471999-02-25 08:46:07 +00003196></A
3197><H3
3198><A
3199NAME="SETDOCUMENTLOCATORSAXFUNC"
3200></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003201>setDocumentLocatorSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003202><TABLE
3203BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003204BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003205WIDTH="100%"
3206CELLPADDING="6"
3207><TR
3208><TD
3209><PRE
3210CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003211>void (*setDocumentLocatorSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003212 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003213HREF="libxml-tree.html#XMLSAXLOCATORPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003214>xmlSAXLocatorPtr</A
3215> loc);</PRE
3216></TD
3217></TR
3218></TABLE
3219><P
Daniel Veillard19274092002-03-25 16:48:03 +00003220>Receive the document locator at startup, actually xmlDefaultSAXLocator.
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003221Everything is available on the context, so this is useless in our case.</P
3222><P
Daniel Veillard35925471999-02-25 08:46:07 +00003223></P
3224><DIV
3225CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003226><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003227NAME="AEN736"
3228></A
3229><P
Daniel Veillard35925471999-02-25 08:46:07 +00003230></P
3231><TABLE
3232BORDER="0"
3233WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003234BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003235CELLSPACING="0"
3236CELLPADDING="4"
3237CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003238><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003239><TR
3240><TD
3241WIDTH="20%"
3242ALIGN="RIGHT"
3243VALIGN="TOP"
3244><TT
3245CLASS="PARAMETER"
3246><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003247>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003248></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003249>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003250><TD
3251WIDTH="80%"
3252ALIGN="LEFT"
3253VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003254> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003255></TR
3256><TR
3257><TD
3258WIDTH="20%"
3259ALIGN="RIGHT"
3260VALIGN="TOP"
3261><TT
3262CLASS="PARAMETER"
3263><I
3264>loc</I
3265></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003266>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003267><TD
3268WIDTH="80%"
3269ALIGN="LEFT"
3270VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003271> A SAX Locator</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003272></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003273></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003274></TABLE
3275><P
3276></P
3277></DIV
3278></DIV
3279><HR><DIV
3280CLASS="REFSECT2"
3281><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003282NAME="AEN749"
Daniel Veillard35925471999-02-25 08:46:07 +00003283></A
3284><H3
3285><A
3286NAME="STARTDOCUMENTSAXFUNC"
3287></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003288>startDocumentSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003289><TABLE
3290BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003291BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003292WIDTH="100%"
3293CELLPADDING="6"
3294><TR
3295><TD
3296><PRE
3297CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003298>void (*startDocumentSAXFunc) (void *ctx);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003299></TD
3300></TR
3301></TABLE
3302><P
Daniel Veillard19274092002-03-25 16:48:03 +00003303>Called when the document start being processed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003304><P
Daniel Veillard35925471999-02-25 08:46:07 +00003305></P
3306><DIV
3307CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003308><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003309NAME="AEN755"
3310></A
3311><P
Daniel Veillard35925471999-02-25 08:46:07 +00003312></P
3313><TABLE
3314BORDER="0"
3315WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003316BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003317CELLSPACING="0"
3318CELLPADDING="4"
3319CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003320><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003321><TR
3322><TD
3323WIDTH="20%"
3324ALIGN="RIGHT"
3325VALIGN="TOP"
3326><TT
3327CLASS="PARAMETER"
3328><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003329>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003330></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003331>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003332><TD
3333WIDTH="80%"
3334ALIGN="LEFT"
3335VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003336> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003337></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003338></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003339></TABLE
3340><P
3341></P
3342></DIV
3343></DIV
3344><HR><DIV
3345CLASS="REFSECT2"
3346><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003347NAME="AEN764"
Daniel Veillard35925471999-02-25 08:46:07 +00003348></A
3349><H3
3350><A
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003351NAME="ENDDOCUMENTSAXFUNC"
3352></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003353>endDocumentSAXFunc ()</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003354><TABLE
3355BORDER="0"
3356BGCOLOR="#D6E8FF"
3357WIDTH="100%"
3358CELLPADDING="6"
3359><TR
3360><TD
3361><PRE
3362CLASS="PROGRAMLISTING"
3363>void (*endDocumentSAXFunc) (void *ctx);</PRE
3364></TD
3365></TR
3366></TABLE
3367><P
Daniel Veillard19274092002-03-25 16:48:03 +00003368>Called when the document end has been detected.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003369><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003370></P
3371><DIV
3372CLASS="INFORMALTABLE"
3373><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003374NAME="AEN770"
3375></A
3376><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003377></P
3378><TABLE
3379BORDER="0"
3380WIDTH="100%"
3381BGCOLOR="#FFD0D0"
3382CELLSPACING="0"
3383CELLPADDING="4"
3384CLASS="CALSTABLE"
3385><TBODY
3386><TR
3387><TD
3388WIDTH="20%"
3389ALIGN="RIGHT"
3390VALIGN="TOP"
3391><TT
3392CLASS="PARAMETER"
3393><I
3394>ctx</I
3395></TT
3396>&nbsp;:</TD
3397><TD
3398WIDTH="80%"
3399ALIGN="LEFT"
3400VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003401> the user data (XML parser context)</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003402></TR
3403></TBODY
3404></TABLE
3405><P
3406></P
3407></DIV
3408></DIV
3409><HR><DIV
3410CLASS="REFSECT2"
3411><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003412NAME="AEN779"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003413></A
3414><H3
3415><A
Daniel Veillard35925471999-02-25 08:46:07 +00003416NAME="STARTELEMENTSAXFUNC"
3417></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003418>startElementSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003419><TABLE
3420BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003421BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003422WIDTH="100%"
3423CELLPADDING="6"
3424><TR
3425><TD
3426><PRE
3427CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003428>void (*startElementSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003429 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003430HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003431>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003432> *name,
3433 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003434HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003435>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003436> **atts);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003437></TD
3438></TR
3439></TABLE
3440><P
Daniel Veillard19274092002-03-25 16:48:03 +00003441>Called when an opening tag has been processed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003442><P
Daniel Veillard35925471999-02-25 08:46:07 +00003443></P
3444><DIV
3445CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003446><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003447NAME="AEN787"
3448></A
3449><P
Daniel Veillard35925471999-02-25 08:46:07 +00003450></P
3451><TABLE
3452BORDER="0"
3453WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003454BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003455CELLSPACING="0"
3456CELLPADDING="4"
3457CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003458><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003459><TR
3460><TD
3461WIDTH="20%"
3462ALIGN="RIGHT"
3463VALIGN="TOP"
3464><TT
3465CLASS="PARAMETER"
3466><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003467>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003468></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003469>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003470><TD
3471WIDTH="80%"
3472ALIGN="LEFT"
3473VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003474> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003475></TR
3476><TR
3477><TD
3478WIDTH="20%"
3479ALIGN="RIGHT"
3480VALIGN="TOP"
3481><TT
3482CLASS="PARAMETER"
3483><I
3484>name</I
3485></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003486>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003487><TD
3488WIDTH="80%"
3489ALIGN="LEFT"
3490VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003491> The element name, including namespace prefix</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003492></TR
Daniel Veillard5099ae81999-04-21 20:12:07 +00003493><TR
3494><TD
3495WIDTH="20%"
3496ALIGN="RIGHT"
3497VALIGN="TOP"
3498><TT
3499CLASS="PARAMETER"
3500><I
3501>atts</I
3502></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003503>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003504><TD
3505WIDTH="80%"
3506ALIGN="LEFT"
3507VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003508> An array of name/value attributes pairs, NULL terminated</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003509></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003510></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003511></TABLE
3512><P
3513></P
3514></DIV
3515></DIV
3516><HR><DIV
3517CLASS="REFSECT2"
3518><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003519NAME="AEN804"
Daniel Veillard35925471999-02-25 08:46:07 +00003520></A
3521><H3
3522><A
3523NAME="ENDELEMENTSAXFUNC"
3524></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003525>endElementSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003526><TABLE
3527BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003528BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003529WIDTH="100%"
3530CELLPADDING="6"
3531><TR
3532><TD
3533><PRE
3534CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003535>void (*endElementSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003536 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003537HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003538>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003539> *name);</PRE
3540></TD
3541></TR
3542></TABLE
3543><P
Daniel Veillard19274092002-03-25 16:48:03 +00003544>Called when the end of an element has been detected.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003545><P
Daniel Veillard35925471999-02-25 08:46:07 +00003546></P
3547><DIV
3548CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003549><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003550NAME="AEN811"
3551></A
3552><P
Daniel Veillard35925471999-02-25 08:46:07 +00003553></P
3554><TABLE
3555BORDER="0"
3556WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003557BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003558CELLSPACING="0"
3559CELLPADDING="4"
3560CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003561><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003562><TR
3563><TD
3564WIDTH="20%"
3565ALIGN="RIGHT"
3566VALIGN="TOP"
3567><TT
3568CLASS="PARAMETER"
3569><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003570>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003571></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003572>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003573><TD
3574WIDTH="80%"
3575ALIGN="LEFT"
3576VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003577> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003578></TR
3579><TR
3580><TD
3581WIDTH="20%"
3582ALIGN="RIGHT"
3583VALIGN="TOP"
3584><TT
3585CLASS="PARAMETER"
3586><I
3587>name</I
3588></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003589>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003590><TD
3591WIDTH="80%"
3592ALIGN="LEFT"
3593VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003594> The element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003595></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003596></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003597></TABLE
3598><P
3599></P
3600></DIV
3601></DIV
3602><HR><DIV
3603CLASS="REFSECT2"
3604><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003605NAME="AEN824"
Daniel Veillard35925471999-02-25 08:46:07 +00003606></A
3607><H3
3608><A
3609NAME="ATTRIBUTESAXFUNC"
3610></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003611>attributeSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003612><TABLE
3613BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003614BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003615WIDTH="100%"
3616CELLPADDING="6"
3617><TR
3618><TD
3619><PRE
3620CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003621>void (*attributeSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003622 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003623HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003624>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003625> *name,
3626 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003627HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003628>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003629> *value);</PRE
3630></TD
3631></TR
3632></TABLE
3633><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003634>Handle an attribute that has been read by the parser.
3635The default handling is to convert the attribute into an
3636DOM subtree and past it in a new xmlAttr element added to
3637the element.</P
3638><P
Daniel Veillard35925471999-02-25 08:46:07 +00003639></P
3640><DIV
3641CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003642><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003643NAME="AEN832"
3644></A
3645><P
Daniel Veillard35925471999-02-25 08:46:07 +00003646></P
3647><TABLE
3648BORDER="0"
3649WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003650BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003651CELLSPACING="0"
3652CELLPADDING="4"
3653CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003654><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003655><TR
3656><TD
3657WIDTH="20%"
3658ALIGN="RIGHT"
3659VALIGN="TOP"
3660><TT
3661CLASS="PARAMETER"
3662><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003663>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003664></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003665>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003666><TD
3667WIDTH="80%"
3668ALIGN="LEFT"
3669VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003670> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003671></TR
3672><TR
3673><TD
3674WIDTH="20%"
3675ALIGN="RIGHT"
3676VALIGN="TOP"
3677><TT
3678CLASS="PARAMETER"
3679><I
3680>name</I
3681></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003682>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003683><TD
3684WIDTH="80%"
3685ALIGN="LEFT"
3686VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003687> The attribute name, including namespace prefix</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003688></TR
3689><TR
3690><TD
3691WIDTH="20%"
3692ALIGN="RIGHT"
3693VALIGN="TOP"
3694><TT
3695CLASS="PARAMETER"
3696><I
3697>value</I
3698></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003699>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003700><TD
3701WIDTH="80%"
3702ALIGN="LEFT"
3703VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003704> The attribute value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003705></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003706></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003707></TABLE
3708><P
3709></P
3710></DIV
3711></DIV
3712><HR><DIV
3713CLASS="REFSECT2"
3714><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003715NAME="AEN849"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003716></A
3717><H3
3718><A
3719NAME="REFERENCESAXFUNC"
3720></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003721>referenceSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003722><TABLE
3723BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003724BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003725WIDTH="100%"
3726CELLPADDING="6"
3727><TR
3728><TD
3729><PRE
3730CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003731>void (*referenceSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003732 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003733HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003734>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003735> *name);</PRE
3736></TD
3737></TR
3738></TABLE
3739><P
Daniel Veillard19274092002-03-25 16:48:03 +00003740>Called when an entity reference is detected.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003741><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00003742></P
3743><DIV
3744CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003745><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003746NAME="AEN856"
3747></A
3748><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00003749></P
3750><TABLE
3751BORDER="0"
3752WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003753BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003754CELLSPACING="0"
3755CELLPADDING="4"
3756CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003757><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00003758><TR
3759><TD
3760WIDTH="20%"
3761ALIGN="RIGHT"
3762VALIGN="TOP"
3763><TT
3764CLASS="PARAMETER"
3765><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003766>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003767></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003768>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003769><TD
3770WIDTH="80%"
3771ALIGN="LEFT"
3772VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003773> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003774></TR
3775><TR
3776><TD
3777WIDTH="20%"
3778ALIGN="RIGHT"
3779VALIGN="TOP"
3780><TT
3781CLASS="PARAMETER"
3782><I
3783>name</I
3784></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003785>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003786><TD
3787WIDTH="80%"
3788ALIGN="LEFT"
3789VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003790> The entity name</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003791></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003792></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00003793></TABLE
3794><P
3795></P
3796></DIV
3797></DIV
3798><HR><DIV
3799CLASS="REFSECT2"
3800><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003801NAME="AEN869"
Daniel Veillard35925471999-02-25 08:46:07 +00003802></A
3803><H3
3804><A
3805NAME="CHARACTERSSAXFUNC"
3806></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003807>charactersSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003808><TABLE
3809BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003810BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003811WIDTH="100%"
3812CELLPADDING="6"
3813><TR
3814><TD
3815><PRE
3816CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003817>void (*charactersSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003818 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003819HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003820>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003821> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +00003822 int len);</PRE
3823></TD
3824></TR
3825></TABLE
3826><P
Daniel Veillard19274092002-03-25 16:48:03 +00003827>Receiving some chars from the parser.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003828><P
Daniel Veillard35925471999-02-25 08:46:07 +00003829></P
3830><DIV
3831CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003832><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003833NAME="AEN876"
3834></A
3835><P
Daniel Veillard35925471999-02-25 08:46:07 +00003836></P
3837><TABLE
3838BORDER="0"
3839WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003840BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003841CELLSPACING="0"
3842CELLPADDING="4"
3843CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003844><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003845><TR
3846><TD
3847WIDTH="20%"
3848ALIGN="RIGHT"
3849VALIGN="TOP"
3850><TT
3851CLASS="PARAMETER"
3852><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003853>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003854></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003855>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003856><TD
3857WIDTH="80%"
3858ALIGN="LEFT"
3859VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003860> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003861></TR
3862><TR
3863><TD
3864WIDTH="20%"
3865ALIGN="RIGHT"
3866VALIGN="TOP"
3867><TT
3868CLASS="PARAMETER"
3869><I
3870>ch</I
3871></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003872>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003873><TD
3874WIDTH="80%"
3875ALIGN="LEFT"
3876VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003877> a xmlChar string</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003878></TR
3879><TR
3880><TD
3881WIDTH="20%"
3882ALIGN="RIGHT"
3883VALIGN="TOP"
3884><TT
3885CLASS="PARAMETER"
3886><I
Daniel Veillard35925471999-02-25 08:46:07 +00003887>len</I
3888></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003889>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003890><TD
3891WIDTH="80%"
3892ALIGN="LEFT"
3893VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003894> the number of xmlChar</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003895></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003896></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003897></TABLE
3898><P
3899></P
3900></DIV
3901></DIV
3902><HR><DIV
3903CLASS="REFSECT2"
3904><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003905NAME="AEN893"
Daniel Veillard35925471999-02-25 08:46:07 +00003906></A
3907><H3
3908><A
3909NAME="IGNORABLEWHITESPACESAXFUNC"
3910></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003911>ignorableWhitespaceSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003912><TABLE
3913BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003914BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003915WIDTH="100%"
3916CELLPADDING="6"
3917><TR
3918><TD
3919><PRE
3920CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003921>void (*ignorableWhitespaceSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003922 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003923HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003924>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003925> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +00003926 int len);</PRE
3927></TD
3928></TR
3929></TABLE
3930><P
Daniel Veillard19274092002-03-25 16:48:03 +00003931>Receiving some ignorable whitespaces from the parser.
3932UNUSED: by default the DOM building will use characters.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003933><P
Daniel Veillard35925471999-02-25 08:46:07 +00003934></P
3935><DIV
3936CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003937><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003938NAME="AEN900"
3939></A
3940><P
Daniel Veillard35925471999-02-25 08:46:07 +00003941></P
3942><TABLE
3943BORDER="0"
3944WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003945BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003946CELLSPACING="0"
3947CELLPADDING="4"
3948CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003949><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003950><TR
3951><TD
3952WIDTH="20%"
3953ALIGN="RIGHT"
3954VALIGN="TOP"
3955><TT
3956CLASS="PARAMETER"
3957><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003958>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003959></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003960>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003961><TD
3962WIDTH="80%"
3963ALIGN="LEFT"
3964VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003965> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003966></TR
3967><TR
3968><TD
3969WIDTH="20%"
3970ALIGN="RIGHT"
3971VALIGN="TOP"
3972><TT
3973CLASS="PARAMETER"
3974><I
3975>ch</I
3976></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003977>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003978><TD
3979WIDTH="80%"
3980ALIGN="LEFT"
3981VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003982> a xmlChar string</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003983></TR
3984><TR
3985><TD
3986WIDTH="20%"
3987ALIGN="RIGHT"
3988VALIGN="TOP"
3989><TT
3990CLASS="PARAMETER"
3991><I
Daniel Veillard35925471999-02-25 08:46:07 +00003992>len</I
3993></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003994>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003995><TD
3996WIDTH="80%"
3997ALIGN="LEFT"
3998VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003999> the number of xmlChar</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004000></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004001></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004002></TABLE
4003><P
4004></P
4005></DIV
4006></DIV
4007><HR><DIV
4008CLASS="REFSECT2"
4009><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004010NAME="AEN917"
Daniel Veillard35925471999-02-25 08:46:07 +00004011></A
4012><H3
4013><A
4014NAME="PROCESSINGINSTRUCTIONSAXFUNC"
4015></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004016>processingInstructionSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004017><TABLE
4018BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004019BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004020WIDTH="100%"
4021CELLPADDING="6"
4022><TR
4023><TD
4024><PRE
4025CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004026>void (*processingInstructionSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004027 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004028HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004029>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004030> *target,
4031 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004032HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004033>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004034> *data);</PRE
4035></TD
4036></TR
4037></TABLE
4038><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004039>A processing instruction has been parsed.</P
4040><P
Daniel Veillard35925471999-02-25 08:46:07 +00004041></P
4042><DIV
4043CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004044><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004045NAME="AEN925"
4046></A
4047><P
Daniel Veillard35925471999-02-25 08:46:07 +00004048></P
4049><TABLE
4050BORDER="0"
4051WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004052BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004053CELLSPACING="0"
4054CELLPADDING="4"
4055CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004056><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004057><TR
4058><TD
4059WIDTH="20%"
4060ALIGN="RIGHT"
4061VALIGN="TOP"
4062><TT
4063CLASS="PARAMETER"
4064><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004065>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004066></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004067>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004068><TD
4069WIDTH="80%"
4070ALIGN="LEFT"
4071VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004072> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004073></TR
4074><TR
4075><TD
4076WIDTH="20%"
4077ALIGN="RIGHT"
4078VALIGN="TOP"
4079><TT
4080CLASS="PARAMETER"
4081><I
4082>target</I
4083></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004084>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004085><TD
4086WIDTH="80%"
4087ALIGN="LEFT"
4088VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004089> the target name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004090></TR
4091><TR
4092><TD
4093WIDTH="20%"
4094ALIGN="RIGHT"
4095VALIGN="TOP"
4096><TT
4097CLASS="PARAMETER"
4098><I
4099>data</I
4100></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004101>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004102><TD
4103WIDTH="80%"
4104ALIGN="LEFT"
4105VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004106> the PI data's</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004107></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004108></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004109></TABLE
4110><P
4111></P
4112></DIV
4113></DIV
4114><HR><DIV
4115CLASS="REFSECT2"
4116><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004117NAME="AEN942"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004118></A
4119><H3
4120><A
4121NAME="COMMENTSAXFUNC"
4122></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004123>commentSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004124><TABLE
4125BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004126BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004127WIDTH="100%"
4128CELLPADDING="6"
4129><TR
4130><TD
4131><PRE
4132CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004133>void (*commentSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00004134 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004135HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004136>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004137> *value);</PRE
4138></TD
4139></TR
4140></TABLE
4141><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004142>A comment has been parsed.</P
4143><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004144></P
4145><DIV
4146CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004147><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004148NAME="AEN949"
4149></A
4150><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004151></P
4152><TABLE
4153BORDER="0"
4154WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004155BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004156CELLSPACING="0"
4157CELLPADDING="4"
4158CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004159><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004160><TR
4161><TD
4162WIDTH="20%"
4163ALIGN="RIGHT"
4164VALIGN="TOP"
4165><TT
4166CLASS="PARAMETER"
4167><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004168>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004169></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004170>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004171><TD
4172WIDTH="80%"
4173ALIGN="LEFT"
4174VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004175> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004176></TR
4177><TR
4178><TD
4179WIDTH="20%"
4180ALIGN="RIGHT"
4181VALIGN="TOP"
4182><TT
4183CLASS="PARAMETER"
4184><I
4185>value</I
4186></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004187>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004188><TD
4189WIDTH="80%"
4190ALIGN="LEFT"
4191VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004192> the comment content</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004193></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004194></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004195></TABLE
4196><P
4197></P
4198></DIV
4199></DIV
4200><HR><DIV
4201CLASS="REFSECT2"
4202><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004203NAME="AEN962"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004204></A
4205><H3
4206><A
4207NAME="CDATABLOCKSAXFUNC"
4208></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004209>cdataBlockSAXFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00004210><TABLE
4211BORDER="0"
4212BGCOLOR="#D6E8FF"
4213WIDTH="100%"
4214CELLPADDING="6"
4215><TR
4216><TD
4217><PRE
4218CLASS="PROGRAMLISTING"
4219>void (*cdataBlockSAXFunc) (void *ctx,
4220 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004221HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004222>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004223> *value,
4224 int len);</PRE
4225></TD
4226></TR
4227></TABLE
4228><P
Daniel Veillard19274092002-03-25 16:48:03 +00004229>Called when a pcdata block has been parsed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004230><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004231></P
4232><DIV
4233CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004234><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004235NAME="AEN969"
4236></A
4237><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004238></P
4239><TABLE
4240BORDER="0"
4241WIDTH="100%"
4242BGCOLOR="#FFD0D0"
4243CELLSPACING="0"
4244CELLPADDING="4"
4245CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004246><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00004247><TR
4248><TD
4249WIDTH="20%"
4250ALIGN="RIGHT"
4251VALIGN="TOP"
4252><TT
4253CLASS="PARAMETER"
4254><I
4255>ctx</I
4256></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004257>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004258><TD
4259WIDTH="80%"
4260ALIGN="LEFT"
4261VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004262> the user data (XML parser context)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004263></TR
4264><TR
4265><TD
4266WIDTH="20%"
4267ALIGN="RIGHT"
4268VALIGN="TOP"
4269><TT
4270CLASS="PARAMETER"
4271><I
4272>value</I
4273></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004274>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004275><TD
4276WIDTH="80%"
4277ALIGN="LEFT"
4278VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004279> The pcdata content</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004280></TR
4281><TR
4282><TD
4283WIDTH="20%"
4284ALIGN="RIGHT"
4285VALIGN="TOP"
4286><TT
4287CLASS="PARAMETER"
4288><I
4289>len</I
4290></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004291>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004292><TD
4293WIDTH="80%"
4294ALIGN="LEFT"
4295VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004296> the block length</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004297></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004298></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00004299></TABLE
4300><P
4301></P
4302></DIV
4303></DIV
4304><HR><DIV
4305CLASS="REFSECT2"
4306><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004307NAME="AEN986"
Daniel Veillard35925471999-02-25 08:46:07 +00004308></A
4309><H3
4310><A
4311NAME="WARNINGSAXFUNC"
4312></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004313>warningSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004314><TABLE
4315BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004316BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004317WIDTH="100%"
4318CELLPADDING="6"
4319><TR
4320><TD
4321><PRE
4322CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004323>void (*warningSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004324 const char *msg,
4325 ...);</PRE
4326></TD
4327></TR
4328></TABLE
4329><P
Daniel Veillard19274092002-03-25 16:48:03 +00004330>Display and format a warning messages, callback.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004331><P
Daniel Veillard35925471999-02-25 08:46:07 +00004332></P
4333><DIV
4334CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004335><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004336NAME="AEN992"
4337></A
4338><P
Daniel Veillard35925471999-02-25 08:46:07 +00004339></P
4340><TABLE
4341BORDER="0"
4342WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004343BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004344CELLSPACING="0"
4345CELLPADDING="4"
4346CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004347><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004348><TR
4349><TD
4350WIDTH="20%"
4351ALIGN="RIGHT"
4352VALIGN="TOP"
4353><TT
4354CLASS="PARAMETER"
4355><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004356>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004357></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004358>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004359><TD
4360WIDTH="80%"
4361ALIGN="LEFT"
4362VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004363> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004364></TR
4365><TR
4366><TD
4367WIDTH="20%"
4368ALIGN="RIGHT"
4369VALIGN="TOP"
4370><TT
4371CLASS="PARAMETER"
4372><I
4373>msg</I
4374></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004375>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004376><TD
4377WIDTH="80%"
4378ALIGN="LEFT"
4379VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004380> the message to display/transmit</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004381></TR
4382><TR
4383><TD
4384WIDTH="20%"
4385ALIGN="RIGHT"
4386VALIGN="TOP"
4387><TT
4388CLASS="PARAMETER"
4389><I
4390>...</I
4391></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004392>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004393><TD
4394WIDTH="80%"
4395ALIGN="LEFT"
4396VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004397> extra parameters for the message display</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004398></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004399></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004400></TABLE
4401><P
4402></P
4403></DIV
4404></DIV
4405><HR><DIV
4406CLASS="REFSECT2"
4407><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004408NAME="AEN1009"
Daniel Veillard35925471999-02-25 08:46:07 +00004409></A
4410><H3
4411><A
4412NAME="ERRORSAXFUNC"
4413></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004414>errorSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004415><TABLE
4416BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004417BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004418WIDTH="100%"
4419CELLPADDING="6"
4420><TR
4421><TD
4422><PRE
4423CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004424>void (*errorSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004425 const char *msg,
4426 ...);</PRE
4427></TD
4428></TR
4429></TABLE
4430><P
Daniel Veillard19274092002-03-25 16:48:03 +00004431>Display and format an error messages, callback.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004432><P
Daniel Veillard35925471999-02-25 08:46:07 +00004433></P
4434><DIV
4435CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004436><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004437NAME="AEN1015"
4438></A
4439><P
Daniel Veillard35925471999-02-25 08:46:07 +00004440></P
4441><TABLE
4442BORDER="0"
4443WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004444BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004445CELLSPACING="0"
4446CELLPADDING="4"
4447CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004448><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004449><TR
4450><TD
4451WIDTH="20%"
4452ALIGN="RIGHT"
4453VALIGN="TOP"
4454><TT
4455CLASS="PARAMETER"
4456><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004457>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004458></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004459>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004460><TD
4461WIDTH="80%"
4462ALIGN="LEFT"
4463VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004464> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004465></TR
4466><TR
4467><TD
4468WIDTH="20%"
4469ALIGN="RIGHT"
4470VALIGN="TOP"
4471><TT
4472CLASS="PARAMETER"
4473><I
4474>msg</I
4475></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004476>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004477><TD
4478WIDTH="80%"
4479ALIGN="LEFT"
4480VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004481> the message to display/transmit</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004482></TR
4483><TR
4484><TD
4485WIDTH="20%"
4486ALIGN="RIGHT"
4487VALIGN="TOP"
4488><TT
4489CLASS="PARAMETER"
4490><I
4491>...</I
4492></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004493>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004494><TD
4495WIDTH="80%"
4496ALIGN="LEFT"
4497VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004498> extra parameters for the message display</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004499></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004500></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004501></TABLE
4502><P
4503></P
4504></DIV
4505></DIV
4506><HR><DIV
4507CLASS="REFSECT2"
4508><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004509NAME="AEN1032"
Daniel Veillard35925471999-02-25 08:46:07 +00004510></A
4511><H3
4512><A
4513NAME="FATALERRORSAXFUNC"
4514></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004515>fatalErrorSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004516><TABLE
4517BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004518BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004519WIDTH="100%"
4520CELLPADDING="6"
4521><TR
4522><TD
4523><PRE
4524CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004525>void (*fatalErrorSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004526 const char *msg,
4527 ...);</PRE
4528></TD
4529></TR
4530></TABLE
4531><P
Daniel Veillardaec63562003-03-23 20:42:17 +00004532>Display and format fatal error messages, callback.
4533Note: so far <GTKDOCLINK
4534HREF="FATALERROR"
4535>fatalError</GTKDOCLINK
4536>() SAX callbacks are not used, <GTKDOCLINK
4537HREF="ERROR"
4538>error</GTKDOCLINK
4539>()
4540 get all the callbacks for errors.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004541><P
Daniel Veillard35925471999-02-25 08:46:07 +00004542></P
4543><DIV
4544CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004545><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004546NAME="AEN1040"
4547></A
4548><P
Daniel Veillard35925471999-02-25 08:46:07 +00004549></P
4550><TABLE
4551BORDER="0"
4552WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004553BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004554CELLSPACING="0"
4555CELLPADDING="4"
4556CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004557><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004558><TR
4559><TD
4560WIDTH="20%"
4561ALIGN="RIGHT"
4562VALIGN="TOP"
4563><TT
4564CLASS="PARAMETER"
4565><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004566>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004567></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004568>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004569><TD
4570WIDTH="80%"
4571ALIGN="LEFT"
4572VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004573> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004574></TR
4575><TR
4576><TD
4577WIDTH="20%"
4578ALIGN="RIGHT"
4579VALIGN="TOP"
4580><TT
4581CLASS="PARAMETER"
4582><I
4583>msg</I
4584></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004585>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004586><TD
4587WIDTH="80%"
4588ALIGN="LEFT"
4589VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004590> the message to display/transmit</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004591></TR
4592><TR
4593><TD
4594WIDTH="20%"
4595ALIGN="RIGHT"
4596VALIGN="TOP"
4597><TT
4598CLASS="PARAMETER"
4599><I
4600>...</I
4601></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004602>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004603><TD
4604WIDTH="80%"
4605ALIGN="LEFT"
4606VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004607> extra parameters for the message display</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004608></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004609></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004610></TABLE
4611><P
4612></P
4613></DIV
4614></DIV
4615><HR><DIV
4616CLASS="REFSECT2"
4617><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004618NAME="AEN1057"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004619></A
4620><H3
4621><A
4622NAME="ISSTANDALONESAXFUNC"
4623></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004624>isStandaloneSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004625><TABLE
4626BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004627BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004628WIDTH="100%"
4629CELLPADDING="6"
4630><TR
4631><TD
4632><PRE
4633CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004634>int (*isStandaloneSAXFunc) (void *ctx);</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00004635></TD
4636></TR
4637></TABLE
4638><P
Daniel Veillard19274092002-03-25 16:48:03 +00004639>Is this document tagged standalone?</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004640><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004641></P
4642><DIV
4643CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004644><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004645NAME="AEN1063"
4646></A
4647><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004648></P
4649><TABLE
4650BORDER="0"
4651WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004652BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004653CELLSPACING="0"
4654CELLPADDING="4"
4655CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004656><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004657><TR
4658><TD
4659WIDTH="20%"
4660ALIGN="RIGHT"
4661VALIGN="TOP"
4662><TT
4663CLASS="PARAMETER"
4664><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004665>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004666></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004667>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004668><TD
4669WIDTH="80%"
4670ALIGN="LEFT"
4671VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004672> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004673></TR
4674><TR
4675><TD
4676WIDTH="20%"
4677ALIGN="RIGHT"
4678VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004679><SPAN
4680CLASS="emphasis"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004681><I
4682CLASS="EMPHASIS"
4683>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004684></SPAN
Daniel Veillard5099ae81999-04-21 20:12:07 +00004685> :</TD
4686><TD
4687WIDTH="80%"
4688ALIGN="LEFT"
4689VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004690>1 if true</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004691></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004692></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004693></TABLE
4694><P
4695></P
4696></DIV
4697></DIV
4698><HR><DIV
4699CLASS="REFSECT2"
4700><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004701NAME="AEN1076"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004702></A
4703><H3
4704><A
4705NAME="HASINTERNALSUBSETSAXFUNC"
4706></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004707>hasInternalSubsetSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004708><TABLE
4709BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004710BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004711WIDTH="100%"
4712CELLPADDING="6"
4713><TR
4714><TD
4715><PRE
4716CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004717>int (*hasInternalSubsetSAXFunc) (void *ctx);</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00004718></TD
4719></TR
4720></TABLE
4721><P
Daniel Veillard19274092002-03-25 16:48:03 +00004722>Does this document has an internal subset.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004723><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004724></P
4725><DIV
4726CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004727><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004728NAME="AEN1082"
4729></A
4730><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004731></P
4732><TABLE
4733BORDER="0"
4734WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004735BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004736CELLSPACING="0"
4737CELLPADDING="4"
4738CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004739><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004740><TR
4741><TD
4742WIDTH="20%"
4743ALIGN="RIGHT"
4744VALIGN="TOP"
4745><TT
4746CLASS="PARAMETER"
4747><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004748>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004749></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004750>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004751><TD
4752WIDTH="80%"
4753ALIGN="LEFT"
4754VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004755> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004756></TR
4757><TR
4758><TD
4759WIDTH="20%"
4760ALIGN="RIGHT"
4761VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004762><SPAN
4763CLASS="emphasis"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004764><I
4765CLASS="EMPHASIS"
4766>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004767></SPAN
Daniel Veillard5099ae81999-04-21 20:12:07 +00004768> :</TD
4769><TD
4770WIDTH="80%"
4771ALIGN="LEFT"
4772VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004773>1 if true</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004774></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004775></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004776></TABLE
4777><P
4778></P
4779></DIV
4780></DIV
4781><HR><DIV
4782CLASS="REFSECT2"
4783><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004784NAME="AEN1095"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004785></A
4786><H3
4787><A
4788NAME="HASEXTERNALSUBSETSAXFUNC"
4789></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004790>hasExternalSubsetSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004791><TABLE
4792BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004793BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004794WIDTH="100%"
4795CELLPADDING="6"
4796><TR
4797><TD
4798><PRE
4799CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004800>int (*hasExternalSubsetSAXFunc) (void *ctx);</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00004801></TD
4802></TR
4803></TABLE
4804><P
Daniel Veillard19274092002-03-25 16:48:03 +00004805>Does this document has an external subset?</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004806><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004807></P
4808><DIV
4809CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004810><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004811NAME="AEN1101"
4812></A
4813><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004814></P
4815><TABLE
4816BORDER="0"
4817WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004818BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004819CELLSPACING="0"
4820CELLPADDING="4"
4821CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004822><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004823><TR
4824><TD
4825WIDTH="20%"
4826ALIGN="RIGHT"
4827VALIGN="TOP"
4828><TT
4829CLASS="PARAMETER"
4830><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004831>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004832></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004833>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004834><TD
4835WIDTH="80%"
4836ALIGN="LEFT"
4837VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004838> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004839></TR
4840><TR
4841><TD
4842WIDTH="20%"
4843ALIGN="RIGHT"
4844VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004845><SPAN
4846CLASS="emphasis"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004847><I
4848CLASS="EMPHASIS"
4849>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004850></SPAN
Daniel Veillard5099ae81999-04-21 20:12:07 +00004851> :</TD
4852><TD
4853WIDTH="80%"
4854ALIGN="LEFT"
4855VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004856>1 if true</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004857></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004858></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004859></TABLE
4860><P
4861></P
4862></DIV
4863></DIV
4864><HR><DIV
4865CLASS="REFSECT2"
4866><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004867NAME="AEN1114"
Daniel Veillard24491f62000-01-05 14:58:38 +00004868></A
4869><H3
4870><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004871NAME="XMLSAXHANDLER"
Daniel Veillard24491f62000-01-05 14:58:38 +00004872></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004873>struct xmlSAXHandler</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004874><TABLE
4875BORDER="0"
4876BGCOLOR="#D6E8FF"
4877WIDTH="100%"
4878CELLPADDING="6"
4879><TR
4880><TD
4881><PRE
4882CLASS="PROGRAMLISTING"
4883>struct xmlSAXHandler {
4884 internalSubsetSAXFunc internalSubset;
4885 isStandaloneSAXFunc isStandalone;
4886 hasInternalSubsetSAXFunc hasInternalSubset;
4887 hasExternalSubsetSAXFunc hasExternalSubset;
4888 resolveEntitySAXFunc resolveEntity;
4889 getEntitySAXFunc getEntity;
4890 entityDeclSAXFunc entityDecl;
4891 notationDeclSAXFunc notationDecl;
4892 attributeDeclSAXFunc attributeDecl;
4893 elementDeclSAXFunc elementDecl;
4894 unparsedEntityDeclSAXFunc unparsedEntityDecl;
4895 setDocumentLocatorSAXFunc setDocumentLocator;
4896 startDocumentSAXFunc startDocument;
4897 endDocumentSAXFunc endDocument;
4898 startElementSAXFunc startElement;
4899 endElementSAXFunc endElement;
4900 referenceSAXFunc reference;
4901 charactersSAXFunc characters;
4902 ignorableWhitespaceSAXFunc ignorableWhitespace;
4903 processingInstructionSAXFunc processingInstruction;
4904 commentSAXFunc comment;
4905 warningSAXFunc warning;
4906 errorSAXFunc error;
Daniel Veillardaec63562003-03-23 20:42:17 +00004907 fatalErrorSAXFunc fatalError; /* unused error() get all the errors */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004908 getParameterEntitySAXFunc getParameterEntity;
4909 cdataBlockSAXFunc cdataBlock;
4910 externalSubsetSAXFunc externalSubset;
Daniel Veillard52dcab32001-10-30 12:51:17 +00004911 int initialized;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004912};</PRE
4913></TD
4914></TR
4915></TABLE
Daniel Veillard24491f62000-01-05 14:58:38 +00004916><P
Daniel Veillard19274092002-03-25 16:48:03 +00004917>A SAX handler is bunch of callbacks called by the parser when processing
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004918of the input generate data or structure informations.</P
4919><P
Daniel Veillard24491f62000-01-05 14:58:38 +00004920></P
4921></DIV
4922><HR><DIV
4923CLASS="REFSECT2"
4924><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004925NAME="AEN1120"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004926></A
4927><H3
4928><A
4929NAME="XMLEXTERNALENTITYLOADER"
4930></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004931>xmlExternalEntityLoader ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004932><TABLE
4933BORDER="0"
4934BGCOLOR="#D6E8FF"
4935WIDTH="100%"
4936CELLPADDING="6"
4937><TR
4938><TD
4939><PRE
4940CLASS="PROGRAMLISTING"
4941><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004942HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004943>xmlParserInputPtr</A
4944> (*xmlExternalEntityLoader)
4945 (const char *URL,
4946 const char *ID,
4947 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004948HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004949>xmlParserCtxtPtr</A
4950> context);</PRE
4951></TD
4952></TR
4953></TABLE
4954><P
Daniel Veillard19274092002-03-25 16:48:03 +00004955>External entity loaders types.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004956><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004957></P
4958><DIV
4959CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004960><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004961NAME="AEN1128"
4962></A
4963><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004964></P
4965><TABLE
4966BORDER="0"
4967WIDTH="100%"
4968BGCOLOR="#FFD0D0"
4969CELLSPACING="0"
4970CELLPADDING="4"
4971CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004972><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004973><TR
4974><TD
4975WIDTH="20%"
4976ALIGN="RIGHT"
4977VALIGN="TOP"
4978><TT
4979CLASS="PARAMETER"
4980><I
4981>URL</I
4982></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004983>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004984><TD
4985WIDTH="80%"
4986ALIGN="LEFT"
4987VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004988> The System ID of the resource requested</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004989></TR
4990><TR
4991><TD
4992WIDTH="20%"
4993ALIGN="RIGHT"
4994VALIGN="TOP"
4995><TT
4996CLASS="PARAMETER"
4997><I
4998>ID</I
4999></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005000>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005001><TD
5002WIDTH="80%"
5003ALIGN="LEFT"
5004VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00005005> The Public ID of the resource requested</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005006></TR
5007><TR
5008><TD
5009WIDTH="20%"
5010ALIGN="RIGHT"
5011VALIGN="TOP"
5012><TT
5013CLASS="PARAMETER"
5014><I
5015>context</I
5016></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005017>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005018><TD
5019WIDTH="80%"
5020ALIGN="LEFT"
5021VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005022> the XML parser context </TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005023></TR
5024><TR
5025><TD
5026WIDTH="20%"
5027ALIGN="RIGHT"
5028VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005029><SPAN
5030CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005031><I
5032CLASS="EMPHASIS"
5033>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005034></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005035> :</TD
5036><TD
5037WIDTH="80%"
5038ALIGN="LEFT"
5039VALIGN="TOP"
Daniel Veillard19274092002-03-25 16:48:03 +00005040>the entity input parser.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005041></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005042></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005043></TABLE
5044><P
5045></P
5046></DIV
5047></DIV
5048><HR><DIV
5049CLASS="REFSECT2"
5050><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005051NAME="AEN1149"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005052></A
5053><H3
5054><A
5055NAME="XMLINITPARSER"
5056></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005057>xmlInitParser ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005058><TABLE
5059BORDER="0"
5060BGCOLOR="#D6E8FF"
5061WIDTH="100%"
5062CELLPADDING="6"
5063><TR
5064><TD
5065><PRE
5066CLASS="PROGRAMLISTING"
5067>void xmlInitParser (void);</PRE
5068></TD
5069></TR
5070></TABLE
5071><P
5072>Initialization function for the XML parser.
5073This is not reentrant. Call once before processing in case of
5074use in multithreaded programs.</P
5075><P
5076></P
5077></DIV
5078><HR><DIV
5079CLASS="REFSECT2"
5080><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005081NAME="AEN1155"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005082></A
5083><H3
5084><A
5085NAME="XMLCLEANUPPARSER"
5086></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005087>xmlCleanupParser ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005088><TABLE
5089BORDER="0"
5090BGCOLOR="#D6E8FF"
5091WIDTH="100%"
5092CELLPADDING="6"
5093><TR
5094><TD
5095><PRE
5096CLASS="PROGRAMLISTING"
5097>void xmlCleanupParser (void);</PRE
5098></TD
5099></TR
5100></TABLE
5101><P
5102>Cleanup function for the XML parser. It tries to reclaim all
5103parsing related global memory allocated for the parser processing.
5104It doesn't deallocate any document related memory. Calling this
Daniel Veillardaec63562003-03-23 20:42:17 +00005105function should not prevent reusing the parser.
5106One should call <A
5107HREF="libxml-parser.html#XMLCLEANUPPARSER"
5108>xmlCleanupParser</A
5109>() only when the process has
5110finished using the library or XML document built with it.</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005111><P
5112></P
5113></DIV
5114><HR><DIV
5115CLASS="REFSECT2"
5116><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005117NAME="AEN1162"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005118></A
5119><H3
5120><A
5121NAME="XMLPARSERINPUTREAD"
5122></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005123>xmlParserInputRead ()</H3
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005124><TABLE
5125BORDER="0"
5126BGCOLOR="#D6E8FF"
5127WIDTH="100%"
5128CELLPADDING="6"
5129><TR
5130><TD
5131><PRE
5132CLASS="PROGRAMLISTING"
5133>int xmlParserInputRead (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00005134HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005135>xmlParserInputPtr</A
5136> in,
5137 int len);</PRE
5138></TD
5139></TR
5140></TABLE
5141><P
5142>This function refresh the input for the parser. It doesn't try to
5143preserve pointers to the input buffer, and discard already read data</P
5144><P
5145></P
5146><DIV
5147CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005148><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005149NAME="AEN1169"
5150></A
5151><P
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005152></P
5153><TABLE
5154BORDER="0"
5155WIDTH="100%"
5156BGCOLOR="#FFD0D0"
5157CELLSPACING="0"
5158CELLPADDING="4"
5159CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005160><TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005161><TR
5162><TD
5163WIDTH="20%"
5164ALIGN="RIGHT"
5165VALIGN="TOP"
5166><TT
5167CLASS="PARAMETER"
5168><I
5169>in</I
5170></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005171>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005172><TD
5173WIDTH="80%"
5174ALIGN="LEFT"
5175VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005176> an XML parser input</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005177></TR
5178><TR
5179><TD
5180WIDTH="20%"
5181ALIGN="RIGHT"
5182VALIGN="TOP"
5183><TT
5184CLASS="PARAMETER"
5185><I
5186>len</I
5187></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005188>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005189><TD
5190WIDTH="80%"
5191ALIGN="LEFT"
5192VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005193> an indicative size for the lookahead</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005194></TR
5195><TR
5196><TD
5197WIDTH="20%"
5198ALIGN="RIGHT"
5199VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005200><SPAN
5201CLASS="emphasis"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005202><I
5203CLASS="EMPHASIS"
5204>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005205></SPAN
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005206> :</TD
5207><TD
5208WIDTH="80%"
5209ALIGN="LEFT"
5210VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005211>the number of xmlChars read, or -1 in case of error, 0 indicate the
5212end of this entity</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005213></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005214></TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005215></TABLE
5216><P
5217></P
5218></DIV
5219></DIV
5220><HR><DIV
5221CLASS="REFSECT2"
5222><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005223NAME="AEN1186"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005224></A
5225><H3
5226><A
5227NAME="XMLPARSERINPUTGROW"
5228></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005229>xmlParserInputGrow ()</H3
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005230><TABLE
5231BORDER="0"
5232BGCOLOR="#D6E8FF"
5233WIDTH="100%"
5234CELLPADDING="6"
5235><TR
5236><TD
5237><PRE
5238CLASS="PROGRAMLISTING"
5239>int xmlParserInputGrow (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00005240HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005241>xmlParserInputPtr</A
5242> in,
5243 int len);</PRE
5244></TD
5245></TR
5246></TABLE
5247><P
5248>This function increase the input for the parser. It tries to
5249preserve pointers to the input buffer, and keep already read data</P
5250><P
5251></P
5252><DIV
5253CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005254><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005255NAME="AEN1193"
5256></A
5257><P
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005258></P
5259><TABLE
5260BORDER="0"
5261WIDTH="100%"
5262BGCOLOR="#FFD0D0"
5263CELLSPACING="0"
5264CELLPADDING="4"
5265CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005266><TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005267><TR
5268><TD
5269WIDTH="20%"
5270ALIGN="RIGHT"
5271VALIGN="TOP"
5272><TT
5273CLASS="PARAMETER"
5274><I
5275>in</I
5276></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005277>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005278><TD
5279WIDTH="80%"
5280ALIGN="LEFT"
5281VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005282> an XML parser input</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005283></TR
5284><TR
5285><TD
5286WIDTH="20%"
5287ALIGN="RIGHT"
5288VALIGN="TOP"
5289><TT
5290CLASS="PARAMETER"
5291><I
5292>len</I
5293></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005294>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005295><TD
5296WIDTH="80%"
5297ALIGN="LEFT"
5298VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005299> an indicative size for the lookahead</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005300></TR
5301><TR
5302><TD
5303WIDTH="20%"
5304ALIGN="RIGHT"
5305VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005306><SPAN
5307CLASS="emphasis"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005308><I
5309CLASS="EMPHASIS"
5310>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005311></SPAN
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005312> :</TD
5313><TD
5314WIDTH="80%"
5315ALIGN="LEFT"
5316VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005317>the number of xmlChars read, or -1 in case of error, 0 indicate the
5318end of this entity</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005319></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005320></TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005321></TABLE
5322><P
5323></P
5324></DIV
5325></DIV
5326><HR><DIV
5327CLASS="REFSECT2"
5328><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005329NAME="AEN1210"
Daniel Veillard35925471999-02-25 08:46:07 +00005330></A
5331><H3
5332><A
5333NAME="XMLSTRDUP"
5334></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005335>xmlStrdup ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005336><TABLE
5337BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005338BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005339WIDTH="100%"
5340CELLPADDING="6"
5341><TR
5342><TD
5343><PRE
5344CLASS="PROGRAMLISTING"
5345><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005346HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005347>xmlChar</A
5348>* xmlStrdup (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005349HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005350>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005351> *cur);</PRE
5352></TD
5353></TR
5354></TABLE
5355><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005356>a strdup for array of xmlChar's. Since they are supposed to be
5357encoded in UTF-8 or an encoding with 8bit based chars, we assume
5358a termination mark of '0'.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005359><P
5360></P
5361><DIV
5362CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005363><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005364NAME="AEN1218"
5365></A
5366><P
Daniel Veillard35925471999-02-25 08:46:07 +00005367></P
5368><TABLE
5369BORDER="0"
5370WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005371BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005372CELLSPACING="0"
5373CELLPADDING="4"
5374CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005375><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005376><TR
5377><TD
5378WIDTH="20%"
5379ALIGN="RIGHT"
5380VALIGN="TOP"
5381><TT
5382CLASS="PARAMETER"
5383><I
5384>cur</I
5385></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005386>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005387><TD
5388WIDTH="80%"
5389ALIGN="LEFT"
5390VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005391> the input xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005392></TR
5393><TR
5394><TD
5395WIDTH="20%"
5396ALIGN="RIGHT"
5397VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005398><SPAN
5399CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00005400><I
5401CLASS="EMPHASIS"
5402>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005403></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00005404> :</TD
5405><TD
5406WIDTH="80%"
5407ALIGN="LEFT"
5408VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005409>a new xmlChar * or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005410></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005411></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005412></TABLE
5413><P
5414></P
5415></DIV
5416></DIV
5417><HR><DIV
5418CLASS="REFSECT2"
5419><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005420NAME="AEN1231"
Daniel Veillard35925471999-02-25 08:46:07 +00005421></A
5422><H3
5423><A
5424NAME="XMLSTRNDUP"
5425></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005426>xmlStrndup ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005427><TABLE
5428BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005429BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005430WIDTH="100%"
5431CELLPADDING="6"
5432><TR
5433><TD
5434><PRE
5435CLASS="PROGRAMLISTING"
5436><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005437HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005438>xmlChar</A
5439>* xmlStrndup (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005440HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005441>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005442> *cur,
5443 int len);</PRE
5444></TD
5445></TR
5446></TABLE
5447><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005448>a strndup for array of xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00005449><P
5450></P
5451><DIV
5452CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005453><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005454NAME="AEN1239"
5455></A
5456><P
Daniel Veillard35925471999-02-25 08:46:07 +00005457></P
5458><TABLE
5459BORDER="0"
5460WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005461BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005462CELLSPACING="0"
5463CELLPADDING="4"
5464CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005465><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005466><TR
5467><TD
5468WIDTH="20%"
5469ALIGN="RIGHT"
5470VALIGN="TOP"
5471><TT
5472CLASS="PARAMETER"
5473><I
5474>cur</I
5475></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005476>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005477><TD
5478WIDTH="80%"
5479ALIGN="LEFT"
5480VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005481> the input xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005482></TR
5483><TR
5484><TD
5485WIDTH="20%"
5486ALIGN="RIGHT"
5487VALIGN="TOP"
5488><TT
5489CLASS="PARAMETER"
5490><I
5491>len</I
5492></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005493>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005494><TD
5495WIDTH="80%"
5496ALIGN="LEFT"
5497VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005498> the len of <TT
5499CLASS="PARAMETER"
5500><I
5501>cur</I
5502></TT
5503></TD
Daniel Veillard35925471999-02-25 08:46:07 +00005504></TR
5505><TR
5506><TD
5507WIDTH="20%"
5508ALIGN="RIGHT"
5509VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005510><SPAN
5511CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00005512><I
5513CLASS="EMPHASIS"
5514>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005515></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00005516> :</TD
5517><TD
5518WIDTH="80%"
5519ALIGN="LEFT"
5520VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005521>a new xmlChar * or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005522></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005523></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005524></TABLE
5525><P
5526></P
5527></DIV
5528></DIV
5529><HR><DIV
5530CLASS="REFSECT2"
5531><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005532NAME="AEN1257"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005533></A
5534><H3
5535><A
5536NAME="XMLCHARSTRNDUP"
5537></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005538>xmlCharStrndup ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00005539><TABLE
5540BORDER="0"
5541BGCOLOR="#D6E8FF"
5542WIDTH="100%"
5543CELLPADDING="6"
5544><TR
5545><TD
5546><PRE
5547CLASS="PROGRAMLISTING"
5548><A
5549HREF="libxml-tree.html#XMLCHAR"
5550>xmlChar</A
5551>* xmlCharStrndup (const char *cur,
5552 int len);</PRE
5553></TD
5554></TR
5555></TABLE
5556><P
5557>a strndup for char's to xmlChar's</P
5558><P
5559></P
5560><DIV
5561CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005562><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005563NAME="AEN1264"
5564></A
5565><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00005566></P
5567><TABLE
5568BORDER="0"
5569WIDTH="100%"
5570BGCOLOR="#FFD0D0"
5571CELLSPACING="0"
5572CELLPADDING="4"
5573CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005574><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005575><TR
5576><TD
5577WIDTH="20%"
5578ALIGN="RIGHT"
5579VALIGN="TOP"
5580><TT
5581CLASS="PARAMETER"
5582><I
5583>cur</I
5584></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005585>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005586><TD
5587WIDTH="80%"
5588ALIGN="LEFT"
5589VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005590> the input char *</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005591></TR
5592><TR
5593><TD
5594WIDTH="20%"
5595ALIGN="RIGHT"
5596VALIGN="TOP"
5597><TT
5598CLASS="PARAMETER"
5599><I
5600>len</I
5601></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005602>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005603><TD
5604WIDTH="80%"
5605ALIGN="LEFT"
5606VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005607> the len of <TT
5608CLASS="PARAMETER"
5609><I
5610>cur</I
5611></TT
5612></TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005613></TR
5614><TR
5615><TD
5616WIDTH="20%"
5617ALIGN="RIGHT"
5618VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005619><SPAN
5620CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005621><I
5622CLASS="EMPHASIS"
5623>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005624></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +00005625> :</TD
5626><TD
5627WIDTH="80%"
5628ALIGN="LEFT"
5629VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005630>a new xmlChar * or NULL</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005631></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005632></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005633></TABLE
5634><P
5635></P
5636></DIV
5637></DIV
5638><HR><DIV
5639CLASS="REFSECT2"
5640><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005641NAME="AEN1282"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005642></A
5643><H3
5644><A
5645NAME="XMLCHARSTRDUP"
5646></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005647>xmlCharStrdup ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00005648><TABLE
5649BORDER="0"
5650BGCOLOR="#D6E8FF"
5651WIDTH="100%"
5652CELLPADDING="6"
5653><TR
5654><TD
5655><PRE
5656CLASS="PROGRAMLISTING"
5657><A
5658HREF="libxml-tree.html#XMLCHAR"
5659>xmlChar</A
5660>* xmlCharStrdup (const char *cur);</PRE
5661></TD
5662></TR
5663></TABLE
5664><P
5665>a strdup for char's to xmlChar's</P
5666><P
5667></P
5668><DIV
5669CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005670><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005671NAME="AEN1289"
5672></A
5673><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00005674></P
5675><TABLE
5676BORDER="0"
5677WIDTH="100%"
5678BGCOLOR="#FFD0D0"
5679CELLSPACING="0"
5680CELLPADDING="4"
5681CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005682><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005683><TR
5684><TD
5685WIDTH="20%"
5686ALIGN="RIGHT"
5687VALIGN="TOP"
5688><TT
5689CLASS="PARAMETER"
5690><I
5691>cur</I
5692></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005693>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005694><TD
5695WIDTH="80%"
5696ALIGN="LEFT"
5697VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005698> the input char *</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005699></TR
5700><TR
5701><TD
5702WIDTH="20%"
5703ALIGN="RIGHT"
5704VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005705><SPAN
5706CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005707><I
5708CLASS="EMPHASIS"
5709>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005710></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +00005711> :</TD
5712><TD
5713WIDTH="80%"
5714ALIGN="LEFT"
5715VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005716>a new xmlChar * or NULL</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005717></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005718></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005719></TABLE
5720><P
5721></P
5722></DIV
5723></DIV
5724><HR><DIV
5725CLASS="REFSECT2"
5726><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005727NAME="AEN1302"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005728></A
5729><H3
5730><A
5731NAME="XMLSTRSUB"
5732></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005733>xmlStrsub ()</H3
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005734><TABLE
5735BORDER="0"
5736BGCOLOR="#D6E8FF"
5737WIDTH="100%"
5738CELLPADDING="6"
5739><TR
5740><TD
5741><PRE
5742CLASS="PROGRAMLISTING"
5743><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005744HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005745>xmlChar</A
5746>* xmlStrsub (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005747HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005748>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005749> *str,
5750 int start,
5751 int len);</PRE
5752></TD
5753></TR
5754></TABLE
5755><P
5756>Extract a substring of a given string</P
5757><P
5758></P
5759><DIV
5760CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005761><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005762NAME="AEN1310"
5763></A
5764><P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005765></P
5766><TABLE
5767BORDER="0"
5768WIDTH="100%"
5769BGCOLOR="#FFD0D0"
5770CELLSPACING="0"
5771CELLPADDING="4"
5772CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005773><TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005774><TR
5775><TD
5776WIDTH="20%"
5777ALIGN="RIGHT"
5778VALIGN="TOP"
5779><TT
5780CLASS="PARAMETER"
5781><I
5782>str</I
5783></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005784>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005785><TD
5786WIDTH="80%"
5787ALIGN="LEFT"
5788VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005789> the xmlChar * array (haystack)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005790></TR
5791><TR
5792><TD
5793WIDTH="20%"
5794ALIGN="RIGHT"
5795VALIGN="TOP"
5796><TT
5797CLASS="PARAMETER"
5798><I
5799>start</I
5800></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005801>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005802><TD
5803WIDTH="80%"
5804ALIGN="LEFT"
5805VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005806> the index of the first char (zero based)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005807></TR
5808><TR
5809><TD
5810WIDTH="20%"
5811ALIGN="RIGHT"
5812VALIGN="TOP"
5813><TT
5814CLASS="PARAMETER"
5815><I
5816>len</I
5817></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005818>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005819><TD
5820WIDTH="80%"
5821ALIGN="LEFT"
5822VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005823> the length of the substring</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005824></TR
5825><TR
5826><TD
5827WIDTH="20%"
5828ALIGN="RIGHT"
5829VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005830><SPAN
5831CLASS="emphasis"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005832><I
5833CLASS="EMPHASIS"
5834>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005835></SPAN
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005836> :</TD
5837><TD
5838WIDTH="80%"
5839ALIGN="LEFT"
5840VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005841>the xmlChar * for the first occurrence or NULL.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005842></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005843></TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005844></TABLE
5845><P
5846></P
5847></DIV
5848></DIV
5849><HR><DIV
5850CLASS="REFSECT2"
5851><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005852NAME="AEN1331"
Daniel Veillard35925471999-02-25 08:46:07 +00005853></A
5854><H3
5855><A
5856NAME="XMLSTRCHR"
5857></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005858>xmlStrchr ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005859><TABLE
5860BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005861BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005862WIDTH="100%"
5863CELLPADDING="6"
5864><TR
5865><TD
5866><PRE
5867CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005868>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005869HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005870>xmlChar</A
5871>* xmlStrchr (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005872HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005873>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005874> *str,
5875 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005876HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005877>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005878> val);</PRE
5879></TD
5880></TR
5881></TABLE
5882><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005883>a strchr for xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00005884><P
5885></P
5886><DIV
5887CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005888><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005889NAME="AEN1340"
5890></A
5891><P
Daniel Veillard35925471999-02-25 08:46:07 +00005892></P
5893><TABLE
5894BORDER="0"
5895WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005896BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005897CELLSPACING="0"
5898CELLPADDING="4"
5899CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005900><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005901><TR
5902><TD
5903WIDTH="20%"
5904ALIGN="RIGHT"
5905VALIGN="TOP"
5906><TT
5907CLASS="PARAMETER"
5908><I
5909>str</I
5910></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005911>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005912><TD
5913WIDTH="80%"
5914ALIGN="LEFT"
5915VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005916> the xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005917></TR
5918><TR
5919><TD
5920WIDTH="20%"
5921ALIGN="RIGHT"
5922VALIGN="TOP"
5923><TT
5924CLASS="PARAMETER"
5925><I
5926>val</I
5927></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005928>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005929><TD
5930WIDTH="80%"
5931ALIGN="LEFT"
5932VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005933> the xmlChar to search</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005934></TR
5935><TR
5936><TD
5937WIDTH="20%"
5938ALIGN="RIGHT"
5939VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005940><SPAN
5941CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00005942><I
5943CLASS="EMPHASIS"
5944>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005945></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00005946> :</TD
5947><TD
5948WIDTH="80%"
5949ALIGN="LEFT"
5950VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005951>the xmlChar * for the first occurrence or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005952></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005953></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005954></TABLE
5955><P
5956></P
5957></DIV
5958></DIV
5959><HR><DIV
5960CLASS="REFSECT2"
5961><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005962NAME="AEN1357"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005963></A
5964><H3
5965><A
5966NAME="XMLSTRSTR"
5967></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005968>xmlStrstr ()</H3
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005969><TABLE
5970BORDER="0"
5971BGCOLOR="#D6E8FF"
5972WIDTH="100%"
5973CELLPADDING="6"
5974><TR
5975><TD
5976><PRE
5977CLASS="PROGRAMLISTING"
5978>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005979HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005980>xmlChar</A
5981>* xmlStrstr (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005982HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005983>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005984> *str,
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005985 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005986HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005987>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005988> *val);</PRE
5989></TD
5990></TR
5991></TABLE
5992><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005993>a strstr for xmlChar's</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005994><P
5995></P
5996><DIV
5997CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005998><A
Daniel Veillardaec63562003-03-23 20:42:17 +00005999NAME="AEN1366"
6000></A
6001><P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00006002></P
6003><TABLE
6004BORDER="0"
6005WIDTH="100%"
6006BGCOLOR="#FFD0D0"
6007CELLSPACING="0"
6008CELLPADDING="4"
6009CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006010><TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00006011><TR
6012><TD
6013WIDTH="20%"
6014ALIGN="RIGHT"
6015VALIGN="TOP"
6016><TT
6017CLASS="PARAMETER"
6018><I
6019>str</I
6020></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006021>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00006022><TD
6023WIDTH="80%"
6024ALIGN="LEFT"
6025VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006026> the xmlChar * array (haystack)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00006027></TR
6028><TR
6029><TD
6030WIDTH="20%"
6031ALIGN="RIGHT"
6032VALIGN="TOP"
6033><TT
6034CLASS="PARAMETER"
6035><I
6036>val</I
6037></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006038>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00006039><TD
6040WIDTH="80%"
6041ALIGN="LEFT"
6042VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006043> the xmlChar to search (needle)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00006044></TR
6045><TR
6046><TD
6047WIDTH="20%"
6048ALIGN="RIGHT"
6049VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006050><SPAN
6051CLASS="emphasis"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00006052><I
6053CLASS="EMPHASIS"
6054>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006055></SPAN
Daniel Veillard1566d3a1999-07-15 14:24:29 +00006056> :</TD
6057><TD
6058WIDTH="80%"
6059ALIGN="LEFT"
6060VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00006061>the xmlChar * for the first occurrence or NULL.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00006062></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006063></TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00006064></TABLE
6065><P
6066></P
6067></DIV
6068></DIV
6069><HR><DIV
6070CLASS="REFSECT2"
6071><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006072NAME="AEN1383"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006073></A
6074><H3
6075><A
6076NAME="XMLSTRCASESTR"
6077></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006078>xmlStrcasestr ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006079><TABLE
6080BORDER="0"
6081BGCOLOR="#D6E8FF"
6082WIDTH="100%"
6083CELLPADDING="6"
6084><TR
6085><TD
6086><PRE
6087CLASS="PROGRAMLISTING"
6088>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006089HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006090>xmlChar</A
6091>* xmlStrcasestr (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006092HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006093>xmlChar</A
6094> *str,
6095 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006096HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006097>xmlChar</A
6098> *val);</PRE
6099></TD
6100></TR
6101></TABLE
6102><P
6103>a case-ignoring strstr for xmlChar's</P
6104><P
6105></P
6106><DIV
6107CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006108><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006109NAME="AEN1392"
6110></A
6111><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006112></P
6113><TABLE
6114BORDER="0"
6115WIDTH="100%"
6116BGCOLOR="#FFD0D0"
6117CELLSPACING="0"
6118CELLPADDING="4"
6119CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006120><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006121><TR
6122><TD
6123WIDTH="20%"
6124ALIGN="RIGHT"
6125VALIGN="TOP"
6126><TT
6127CLASS="PARAMETER"
6128><I
6129>str</I
6130></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006131>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006132><TD
6133WIDTH="80%"
6134ALIGN="LEFT"
6135VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006136> the xmlChar * array (haystack)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006137></TR
6138><TR
6139><TD
6140WIDTH="20%"
6141ALIGN="RIGHT"
6142VALIGN="TOP"
6143><TT
6144CLASS="PARAMETER"
6145><I
6146>val</I
6147></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006148>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006149><TD
6150WIDTH="80%"
6151ALIGN="LEFT"
6152VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006153> the xmlChar to search (needle)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006154></TR
6155><TR
6156><TD
6157WIDTH="20%"
6158ALIGN="RIGHT"
6159VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006160><SPAN
6161CLASS="emphasis"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006162><I
6163CLASS="EMPHASIS"
6164>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006165></SPAN
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006166> :</TD
6167><TD
6168WIDTH="80%"
6169ALIGN="LEFT"
6170VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00006171>the xmlChar * for the first occurrence or NULL.</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006172></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006173></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006174></TABLE
6175><P
6176></P
6177></DIV
6178></DIV
6179><HR><DIV
6180CLASS="REFSECT2"
6181><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006182NAME="AEN1409"
Daniel Veillard35925471999-02-25 08:46:07 +00006183></A
6184><H3
6185><A
6186NAME="XMLSTRCMP"
6187></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006188>xmlStrcmp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006189><TABLE
6190BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006191BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006192WIDTH="100%"
6193CELLPADDING="6"
6194><TR
6195><TD
6196><PRE
6197CLASS="PROGRAMLISTING"
6198>int xmlStrcmp (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006199HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006200>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006201> *str1,
6202 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006203HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006204>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006205> *str2);</PRE
6206></TD
6207></TR
6208></TABLE
6209><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006210>a strcmp for xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00006211><P
6212></P
6213><DIV
6214CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006215><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006216NAME="AEN1417"
6217></A
6218><P
Daniel Veillard35925471999-02-25 08:46:07 +00006219></P
6220><TABLE
6221BORDER="0"
6222WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006223BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006224CELLSPACING="0"
6225CELLPADDING="4"
6226CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006227><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006228><TR
6229><TD
6230WIDTH="20%"
6231ALIGN="RIGHT"
6232VALIGN="TOP"
6233><TT
6234CLASS="PARAMETER"
6235><I
6236>str1</I
6237></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006238>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006239><TD
6240WIDTH="80%"
6241ALIGN="LEFT"
6242VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006243> the first xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006244></TR
6245><TR
6246><TD
6247WIDTH="20%"
6248ALIGN="RIGHT"
6249VALIGN="TOP"
6250><TT
6251CLASS="PARAMETER"
6252><I
6253>str2</I
6254></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006255>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006256><TD
6257WIDTH="80%"
6258ALIGN="LEFT"
6259VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006260> the second xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006261></TR
6262><TR
6263><TD
6264WIDTH="20%"
6265ALIGN="RIGHT"
6266VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006267><SPAN
6268CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006269><I
6270CLASS="EMPHASIS"
6271>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006272></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006273> :</TD
6274><TD
6275WIDTH="80%"
6276ALIGN="LEFT"
6277VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006278>the integer result of the comparison</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006279></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006280></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006281></TABLE
6282><P
6283></P
6284></DIV
6285></DIV
6286><HR><DIV
6287CLASS="REFSECT2"
6288><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006289NAME="AEN1434"
Daniel Veillard35925471999-02-25 08:46:07 +00006290></A
6291><H3
6292><A
6293NAME="XMLSTRNCMP"
6294></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006295>xmlStrncmp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006296><TABLE
6297BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006298BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006299WIDTH="100%"
6300CELLPADDING="6"
6301><TR
6302><TD
6303><PRE
6304CLASS="PROGRAMLISTING"
6305>int xmlStrncmp (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006306HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006307>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006308> *str1,
6309 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006310HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006311>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006312> *str2,
6313 int len);</PRE
6314></TD
6315></TR
6316></TABLE
6317><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006318>a strncmp for xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00006319><P
6320></P
6321><DIV
6322CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006323><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006324NAME="AEN1442"
6325></A
6326><P
Daniel Veillard35925471999-02-25 08:46:07 +00006327></P
6328><TABLE
6329BORDER="0"
6330WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006331BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006332CELLSPACING="0"
6333CELLPADDING="4"
6334CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006335><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006336><TR
6337><TD
6338WIDTH="20%"
6339ALIGN="RIGHT"
6340VALIGN="TOP"
6341><TT
6342CLASS="PARAMETER"
6343><I
6344>str1</I
6345></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006346>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006347><TD
6348WIDTH="80%"
6349ALIGN="LEFT"
6350VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006351> the first xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006352></TR
6353><TR
6354><TD
6355WIDTH="20%"
6356ALIGN="RIGHT"
6357VALIGN="TOP"
6358><TT
6359CLASS="PARAMETER"
6360><I
6361>str2</I
6362></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006363>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006364><TD
6365WIDTH="80%"
6366ALIGN="LEFT"
6367VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006368> the second xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006369></TR
6370><TR
6371><TD
6372WIDTH="20%"
6373ALIGN="RIGHT"
6374VALIGN="TOP"
6375><TT
6376CLASS="PARAMETER"
6377><I
6378>len</I
6379></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006380>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006381><TD
6382WIDTH="80%"
6383ALIGN="LEFT"
6384VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006385> the max comparison length</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006386></TR
6387><TR
6388><TD
6389WIDTH="20%"
6390ALIGN="RIGHT"
6391VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006392><SPAN
6393CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006394><I
6395CLASS="EMPHASIS"
6396>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006397></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006398> :</TD
6399><TD
6400WIDTH="80%"
6401ALIGN="LEFT"
6402VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006403>the integer result of the comparison</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006404></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006405></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006406></TABLE
6407><P
6408></P
6409></DIV
6410></DIV
6411><HR><DIV
6412CLASS="REFSECT2"
6413><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006414NAME="AEN1463"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006415></A
6416><H3
6417><A
6418NAME="XMLSTRCASECMP"
6419></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006420>xmlStrcasecmp ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006421><TABLE
6422BORDER="0"
6423BGCOLOR="#D6E8FF"
6424WIDTH="100%"
6425CELLPADDING="6"
6426><TR
6427><TD
6428><PRE
6429CLASS="PROGRAMLISTING"
6430>int xmlStrcasecmp (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006431HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006432>xmlChar</A
6433> *str1,
6434 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006435HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006436>xmlChar</A
6437> *str2);</PRE
6438></TD
6439></TR
6440></TABLE
6441><P
6442>a strcasecmp for xmlChar's</P
6443><P
6444></P
6445><DIV
6446CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006447><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006448NAME="AEN1471"
6449></A
6450><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006451></P
6452><TABLE
6453BORDER="0"
6454WIDTH="100%"
6455BGCOLOR="#FFD0D0"
6456CELLSPACING="0"
6457CELLPADDING="4"
6458CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006459><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006460><TR
6461><TD
6462WIDTH="20%"
6463ALIGN="RIGHT"
6464VALIGN="TOP"
6465><TT
6466CLASS="PARAMETER"
6467><I
6468>str1</I
6469></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006470>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006471><TD
6472WIDTH="80%"
6473ALIGN="LEFT"
6474VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006475> the first xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006476></TR
6477><TR
6478><TD
6479WIDTH="20%"
6480ALIGN="RIGHT"
6481VALIGN="TOP"
6482><TT
6483CLASS="PARAMETER"
6484><I
6485>str2</I
6486></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006487>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006488><TD
6489WIDTH="80%"
6490ALIGN="LEFT"
6491VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006492> the second xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006493></TR
6494><TR
6495><TD
6496WIDTH="20%"
6497ALIGN="RIGHT"
6498VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006499><SPAN
6500CLASS="emphasis"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006501><I
6502CLASS="EMPHASIS"
6503>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006504></SPAN
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006505> :</TD
6506><TD
6507WIDTH="80%"
6508ALIGN="LEFT"
6509VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006510>the integer result of the comparison</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006511></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006512></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006513></TABLE
6514><P
6515></P
6516></DIV
6517></DIV
6518><HR><DIV
6519CLASS="REFSECT2"
6520><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006521NAME="AEN1488"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006522></A
6523><H3
6524><A
6525NAME="XMLSTRNCASECMP"
6526></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006527>xmlStrncasecmp ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006528><TABLE
6529BORDER="0"
6530BGCOLOR="#D6E8FF"
6531WIDTH="100%"
6532CELLPADDING="6"
6533><TR
6534><TD
6535><PRE
6536CLASS="PROGRAMLISTING"
6537>int xmlStrncasecmp (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006538HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006539>xmlChar</A
6540> *str1,
6541 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006542HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006543>xmlChar</A
6544> *str2,
6545 int len);</PRE
6546></TD
6547></TR
6548></TABLE
6549><P
6550>a strncasecmp for xmlChar's</P
6551><P
6552></P
6553><DIV
6554CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006555><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006556NAME="AEN1496"
6557></A
6558><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006559></P
6560><TABLE
6561BORDER="0"
6562WIDTH="100%"
6563BGCOLOR="#FFD0D0"
6564CELLSPACING="0"
6565CELLPADDING="4"
6566CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006567><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006568><TR
6569><TD
6570WIDTH="20%"
6571ALIGN="RIGHT"
6572VALIGN="TOP"
6573><TT
6574CLASS="PARAMETER"
6575><I
6576>str1</I
6577></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006578>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006579><TD
6580WIDTH="80%"
6581ALIGN="LEFT"
6582VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006583> the first xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006584></TR
6585><TR
6586><TD
6587WIDTH="20%"
6588ALIGN="RIGHT"
6589VALIGN="TOP"
6590><TT
6591CLASS="PARAMETER"
6592><I
6593>str2</I
6594></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006595>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006596><TD
6597WIDTH="80%"
6598ALIGN="LEFT"
6599VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006600> the second xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006601></TR
6602><TR
6603><TD
6604WIDTH="20%"
6605ALIGN="RIGHT"
6606VALIGN="TOP"
6607><TT
6608CLASS="PARAMETER"
6609><I
6610>len</I
6611></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006612>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006613><TD
6614WIDTH="80%"
6615ALIGN="LEFT"
6616VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006617> the max comparison length</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006618></TR
6619><TR
6620><TD
6621WIDTH="20%"
6622ALIGN="RIGHT"
6623VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006624><SPAN
6625CLASS="emphasis"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006626><I
6627CLASS="EMPHASIS"
6628>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006629></SPAN
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006630> :</TD
6631><TD
6632WIDTH="80%"
6633ALIGN="LEFT"
6634VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006635>the integer result of the comparison</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006636></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006637></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006638></TABLE
6639><P
6640></P
6641></DIV
6642></DIV
6643><HR><DIV
6644CLASS="REFSECT2"
6645><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006646NAME="AEN1517"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006647></A
6648><H3
6649><A
6650NAME="XMLSTREQUAL"
6651></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006652>xmlStrEqual ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006653><TABLE
6654BORDER="0"
6655BGCOLOR="#D6E8FF"
6656WIDTH="100%"
6657CELLPADDING="6"
6658><TR
6659><TD
6660><PRE
6661CLASS="PROGRAMLISTING"
6662>int xmlStrEqual (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006663HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006664>xmlChar</A
6665> *str1,
6666 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006667HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006668>xmlChar</A
6669> *str2);</PRE
6670></TD
6671></TR
6672></TABLE
6673><P
6674>Check if both string are equal of have same content
6675Should be a bit more readable and faster than <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006676HREF="libxml-parser.html#XMLSTREQUAL"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006677>xmlStrEqual</A
6678>()</P
6679><P
6680></P
6681><DIV
6682CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006683><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006684NAME="AEN1526"
6685></A
6686><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006687></P
6688><TABLE
6689BORDER="0"
6690WIDTH="100%"
6691BGCOLOR="#FFD0D0"
6692CELLSPACING="0"
6693CELLPADDING="4"
6694CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006695><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006696><TR
6697><TD
6698WIDTH="20%"
6699ALIGN="RIGHT"
6700VALIGN="TOP"
6701><TT
6702CLASS="PARAMETER"
6703><I
6704>str1</I
6705></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006706>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006707><TD
6708WIDTH="80%"
6709ALIGN="LEFT"
6710VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006711> the first xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006712></TR
6713><TR
6714><TD
6715WIDTH="20%"
6716ALIGN="RIGHT"
6717VALIGN="TOP"
6718><TT
6719CLASS="PARAMETER"
6720><I
6721>str2</I
6722></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006723>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006724><TD
6725WIDTH="80%"
6726ALIGN="LEFT"
6727VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006728> the second xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006729></TR
6730><TR
6731><TD
6732WIDTH="20%"
6733ALIGN="RIGHT"
6734VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006735><SPAN
6736CLASS="emphasis"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006737><I
6738CLASS="EMPHASIS"
6739>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006740></SPAN
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006741> :</TD
6742><TD
6743WIDTH="80%"
6744ALIGN="LEFT"
6745VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006746>1 if they are equal, 0 if they are different</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006747></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006748></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006749></TABLE
6750><P
6751></P
6752></DIV
6753></DIV
6754><HR><DIV
6755CLASS="REFSECT2"
6756><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006757NAME="AEN1543"
Daniel Veillard35925471999-02-25 08:46:07 +00006758></A
6759><H3
6760><A
6761NAME="XMLSTRLEN"
6762></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006763>xmlStrlen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006764><TABLE
6765BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006766BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006767WIDTH="100%"
6768CELLPADDING="6"
6769><TR
6770><TD
6771><PRE
6772CLASS="PROGRAMLISTING"
6773>int xmlStrlen (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006774HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006775>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006776> *str);</PRE
6777></TD
6778></TR
6779></TABLE
6780><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006781>length of a xmlChar's string</P
Daniel Veillard35925471999-02-25 08:46:07 +00006782><P
6783></P
6784><DIV
6785CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006786><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006787NAME="AEN1550"
6788></A
6789><P
Daniel Veillard35925471999-02-25 08:46:07 +00006790></P
6791><TABLE
6792BORDER="0"
6793WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006794BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006795CELLSPACING="0"
6796CELLPADDING="4"
6797CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006798><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006799><TR
6800><TD
6801WIDTH="20%"
6802ALIGN="RIGHT"
6803VALIGN="TOP"
6804><TT
6805CLASS="PARAMETER"
6806><I
6807>str</I
6808></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006809>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006810><TD
6811WIDTH="80%"
6812ALIGN="LEFT"
6813VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006814> the xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006815></TR
6816><TR
6817><TD
6818WIDTH="20%"
6819ALIGN="RIGHT"
6820VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006821><SPAN
6822CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006823><I
6824CLASS="EMPHASIS"
6825>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006826></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006827> :</TD
6828><TD
6829WIDTH="80%"
6830ALIGN="LEFT"
6831VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006832>the number of xmlChar contained in the ARRAY.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006833></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006834></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006835></TABLE
6836><P
6837></P
6838></DIV
6839></DIV
6840><HR><DIV
6841CLASS="REFSECT2"
6842><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006843NAME="AEN1563"
Daniel Veillard35925471999-02-25 08:46:07 +00006844></A
6845><H3
6846><A
6847NAME="XMLSTRCAT"
6848></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006849>xmlStrcat ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006850><TABLE
6851BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006852BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006853WIDTH="100%"
6854CELLPADDING="6"
6855><TR
6856><TD
6857><PRE
6858CLASS="PROGRAMLISTING"
6859><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006860HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006861>xmlChar</A
6862>* xmlStrcat (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006863HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006864>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006865> *cur,
6866 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006867HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006868>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006869> *add);</PRE
6870></TD
6871></TR
6872></TABLE
6873><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006874>a strcat for array of xmlChar's. Since they are supposed to be
6875encoded in UTF-8 or an encoding with 8bit based chars, we assume
6876a termination mark of '0'.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006877><P
6878></P
6879><DIV
6880CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006881><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006882NAME="AEN1572"
6883></A
6884><P
Daniel Veillard35925471999-02-25 08:46:07 +00006885></P
6886><TABLE
6887BORDER="0"
6888WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006889BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006890CELLSPACING="0"
6891CELLPADDING="4"
6892CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006893><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006894><TR
6895><TD
6896WIDTH="20%"
6897ALIGN="RIGHT"
6898VALIGN="TOP"
6899><TT
6900CLASS="PARAMETER"
6901><I
6902>cur</I
6903></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006904>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006905><TD
6906WIDTH="80%"
6907ALIGN="LEFT"
6908VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006909> the original xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006910></TR
6911><TR
6912><TD
6913WIDTH="20%"
6914ALIGN="RIGHT"
6915VALIGN="TOP"
6916><TT
6917CLASS="PARAMETER"
6918><I
6919>add</I
6920></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006921>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006922><TD
6923WIDTH="80%"
6924ALIGN="LEFT"
6925VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006926> the xmlChar * array added</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006927></TR
6928><TR
6929><TD
6930WIDTH="20%"
6931ALIGN="RIGHT"
6932VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006933><SPAN
6934CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006935><I
6936CLASS="EMPHASIS"
6937>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006938></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006939> :</TD
6940><TD
6941WIDTH="80%"
6942ALIGN="LEFT"
6943VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006944>a new xmlChar * containing the concatenated string.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006945></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006946></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006947></TABLE
6948><P
6949></P
6950></DIV
6951></DIV
6952><HR><DIV
6953CLASS="REFSECT2"
6954><A
Daniel Veillardaec63562003-03-23 20:42:17 +00006955NAME="AEN1589"
Daniel Veillard35925471999-02-25 08:46:07 +00006956></A
6957><H3
6958><A
6959NAME="XMLSTRNCAT"
6960></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006961>xmlStrncat ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006962><TABLE
6963BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006964BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006965WIDTH="100%"
6966CELLPADDING="6"
6967><TR
6968><TD
6969><PRE
6970CLASS="PROGRAMLISTING"
6971><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006972HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006973>xmlChar</A
6974>* xmlStrncat (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006975HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006976>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006977> *cur,
6978 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006979HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006980>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006981> *add,
6982 int len);</PRE
6983></TD
6984></TR
6985></TABLE
6986><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00006987>a strncat for array of xmlChar's, it will extend <TT
6988CLASS="PARAMETER"
6989><I
6990>cur</I
6991></TT
6992> with the len
Daniel Veillardd194dd22001-02-14 10:37:43 +00006993first bytes of <TT
6994CLASS="PARAMETER"
6995><I
6996>add</I
6997></TT
6998>.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006999><P
7000></P
7001><DIV
7002CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007003><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007004NAME="AEN1600"
7005></A
7006><P
Daniel Veillard35925471999-02-25 08:46:07 +00007007></P
7008><TABLE
7009BORDER="0"
7010WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007011BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007012CELLSPACING="0"
7013CELLPADDING="4"
7014CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007015><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007016><TR
7017><TD
7018WIDTH="20%"
7019ALIGN="RIGHT"
7020VALIGN="TOP"
7021><TT
7022CLASS="PARAMETER"
7023><I
7024>cur</I
7025></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007026>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007027><TD
7028WIDTH="80%"
7029ALIGN="LEFT"
7030VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007031> the original xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007032></TR
7033><TR
7034><TD
7035WIDTH="20%"
7036ALIGN="RIGHT"
7037VALIGN="TOP"
7038><TT
7039CLASS="PARAMETER"
7040><I
7041>add</I
7042></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007043>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007044><TD
7045WIDTH="80%"
7046ALIGN="LEFT"
7047VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007048> the xmlChar * array added</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007049></TR
7050><TR
7051><TD
7052WIDTH="20%"
7053ALIGN="RIGHT"
7054VALIGN="TOP"
7055><TT
7056CLASS="PARAMETER"
7057><I
7058>len</I
7059></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007060>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007061><TD
7062WIDTH="80%"
7063ALIGN="LEFT"
7064VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007065> the length of <TT
7066CLASS="PARAMETER"
7067><I
7068>add</I
7069></TT
7070></TD
Daniel Veillard35925471999-02-25 08:46:07 +00007071></TR
7072><TR
7073><TD
7074WIDTH="20%"
7075ALIGN="RIGHT"
7076VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007077><SPAN
7078CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00007079><I
7080CLASS="EMPHASIS"
7081>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007082></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00007083> :</TD
7084><TD
7085WIDTH="80%"
7086ALIGN="LEFT"
7087VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007088>a new xmlChar *, the original <TT
7089CLASS="PARAMETER"
7090><I
7091>cur</I
7092></TT
7093> is reallocated if needed
7094and should not be freed</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007095></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007096></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007097></TABLE
7098><P
7099></P
7100></DIV
7101></DIV
7102><HR><DIV
7103CLASS="REFSECT2"
7104><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007105NAME="AEN1623"
Daniel Veillard35925471999-02-25 08:46:07 +00007106></A
7107><H3
7108><A
7109NAME="XMLPARSEDOC"
7110></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007111>xmlParseDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007112><TABLE
7113BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007114BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007115WIDTH="100%"
7116CELLPADDING="6"
7117><TR
7118><TD
7119><PRE
7120CLASS="PROGRAMLISTING"
7121><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007122HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007123>xmlDocPtr</A
7124> xmlParseDoc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007125HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007126>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007127> *cur);</PRE
7128></TD
7129></TR
7130></TABLE
7131><P
7132>parse an XML in-memory document and build a tree.</P
7133><P
7134></P
7135><DIV
7136CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007137><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007138NAME="AEN1631"
7139></A
7140><P
Daniel Veillard35925471999-02-25 08:46:07 +00007141></P
7142><TABLE
7143BORDER="0"
7144WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007145BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007146CELLSPACING="0"
7147CELLPADDING="4"
7148CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007149><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007150><TR
7151><TD
7152WIDTH="20%"
7153ALIGN="RIGHT"
7154VALIGN="TOP"
7155><TT
7156CLASS="PARAMETER"
7157><I
7158>cur</I
7159></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007160>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007161><TD
7162WIDTH="80%"
7163ALIGN="LEFT"
7164VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007165> a pointer to an array of xmlChar</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007166></TR
7167><TR
7168><TD
7169WIDTH="20%"
7170ALIGN="RIGHT"
7171VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007172><SPAN
7173CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00007174><I
7175CLASS="EMPHASIS"
7176>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007177></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00007178> :</TD
7179><TD
7180WIDTH="80%"
7181ALIGN="LEFT"
7182VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007183>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007184></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007185></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007186></TABLE
7187><P
7188></P
7189></DIV
7190></DIV
7191><HR><DIV
7192CLASS="REFSECT2"
7193><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007194NAME="AEN1644"
Daniel Veillard35925471999-02-25 08:46:07 +00007195></A
7196><H3
7197><A
7198NAME="XMLPARSEMEMORY"
7199></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007200>xmlParseMemory ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007201><TABLE
7202BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007203BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007204WIDTH="100%"
7205CELLPADDING="6"
7206><TR
7207><TD
7208><PRE
7209CLASS="PROGRAMLISTING"
7210><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007211HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007212>xmlDocPtr</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007213> xmlParseMemory (const char *buffer,
Daniel Veillard35925471999-02-25 08:46:07 +00007214 int size);</PRE
7215></TD
7216></TR
7217></TABLE
7218><P
7219>parse an XML in-memory block and build a tree.</P
7220><P
7221></P
7222><DIV
7223CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007224><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007225NAME="AEN1651"
7226></A
7227><P
Daniel Veillard35925471999-02-25 08:46:07 +00007228></P
7229><TABLE
7230BORDER="0"
7231WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007232BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007233CELLSPACING="0"
7234CELLPADDING="4"
7235CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007236><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007237><TR
7238><TD
7239WIDTH="20%"
7240ALIGN="RIGHT"
7241VALIGN="TOP"
7242><TT
7243CLASS="PARAMETER"
7244><I
7245>buffer</I
7246></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007247>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007248><TD
7249WIDTH="80%"
7250ALIGN="LEFT"
7251VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007252> an pointer to a char array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007253></TR
7254><TR
7255><TD
7256WIDTH="20%"
7257ALIGN="RIGHT"
7258VALIGN="TOP"
7259><TT
7260CLASS="PARAMETER"
7261><I
7262>size</I
7263></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007264>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007265><TD
7266WIDTH="80%"
7267ALIGN="LEFT"
7268VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007269> the size of the array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007270></TR
7271><TR
7272><TD
7273WIDTH="20%"
7274ALIGN="RIGHT"
7275VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007276><SPAN
7277CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00007278><I
7279CLASS="EMPHASIS"
7280>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007281></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00007282> :</TD
7283><TD
7284WIDTH="80%"
7285ALIGN="LEFT"
7286VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007287>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007288></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007289></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007290></TABLE
7291><P
7292></P
7293></DIV
7294></DIV
7295><HR><DIV
7296CLASS="REFSECT2"
7297><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007298NAME="AEN1668"
Daniel Veillard35925471999-02-25 08:46:07 +00007299></A
7300><H3
7301><A
7302NAME="XMLPARSEFILE"
7303></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007304>xmlParseFile ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007305><TABLE
7306BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007307BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007308WIDTH="100%"
7309CELLPADDING="6"
7310><TR
7311><TD
7312><PRE
7313CLASS="PROGRAMLISTING"
7314><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007315HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007316>xmlDocPtr</A
7317> xmlParseFile (const char *filename);</PRE
7318></TD
7319></TR
7320></TABLE
7321><P
7322>parse an XML file and build a tree. Automatic support for ZLIB/Compress
7323compressed document is provided by default if found at compile-time.</P
7324><P
7325></P
7326><DIV
7327CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007328><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007329NAME="AEN1675"
7330></A
7331><P
Daniel Veillard35925471999-02-25 08:46:07 +00007332></P
7333><TABLE
7334BORDER="0"
7335WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007336BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007337CELLSPACING="0"
7338CELLPADDING="4"
7339CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007340><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007341><TR
7342><TD
7343WIDTH="20%"
7344ALIGN="RIGHT"
7345VALIGN="TOP"
7346><TT
7347CLASS="PARAMETER"
7348><I
7349>filename</I
7350></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007351>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007352><TD
7353WIDTH="80%"
7354ALIGN="LEFT"
7355VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007356> the filename</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007357></TR
7358><TR
7359><TD
7360WIDTH="20%"
7361ALIGN="RIGHT"
7362VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007363><SPAN
7364CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00007365><I
7366CLASS="EMPHASIS"
7367>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007368></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00007369> :</TD
7370><TD
7371WIDTH="80%"
7372ALIGN="LEFT"
7373VALIGN="TOP"
Daniel Veillard04382ae2001-09-12 18:51:30 +00007374>the resulting document tree if the file was wellformed,
7375NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007376></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007377></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007378></TABLE
7379><P
7380></P
7381></DIV
7382></DIV
7383><HR><DIV
7384CLASS="REFSECT2"
7385><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007386NAME="AEN1688"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007387></A
7388><H3
7389><A
7390NAME="XMLSUBSTITUTEENTITIESDEFAULT"
7391></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007392>xmlSubstituteEntitiesDefault ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00007393><TABLE
7394BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007395BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007396WIDTH="100%"
7397CELLPADDING="6"
7398><TR
7399><TD
7400><PRE
7401CLASS="PROGRAMLISTING"
7402>int xmlSubstituteEntitiesDefault (int val);</PRE
7403></TD
7404></TR
7405></TABLE
7406><P
7407>Set and return the previous value for default entity support.
7408Initially the parser always keep entity references instead of substituting
7409entity values in the output. This function has to be used to change the
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007410default parser behavior
Daniel Veillard011b63c1999-06-02 17:44:04 +00007411SAX::<GTKDOCLINK
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007412HREF="SUBSTITUTEENTITIES"
7413>substituteEntities</GTKDOCLINK
Daniel Veillard011b63c1999-06-02 17:44:04 +00007414>() has to be used for changing that on a file by
7415file basis.</P
7416><P
7417></P
7418><DIV
7419CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007420><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007421NAME="AEN1695"
7422></A
7423><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00007424></P
7425><TABLE
7426BORDER="0"
7427WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007428BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007429CELLSPACING="0"
7430CELLPADDING="4"
7431CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007432><TBODY
Daniel Veillard011b63c1999-06-02 17:44:04 +00007433><TR
7434><TD
7435WIDTH="20%"
7436ALIGN="RIGHT"
7437VALIGN="TOP"
7438><TT
7439CLASS="PARAMETER"
7440><I
7441>val</I
7442></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007443>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007444><TD
7445WIDTH="80%"
7446ALIGN="LEFT"
7447VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007448> int 0 or 1 </TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007449></TR
7450><TR
7451><TD
7452WIDTH="20%"
7453ALIGN="RIGHT"
7454VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007455><SPAN
7456CLASS="emphasis"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007457><I
7458CLASS="EMPHASIS"
7459>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007460></SPAN
Daniel Veillard011b63c1999-06-02 17:44:04 +00007461> :</TD
7462><TD
7463WIDTH="80%"
7464ALIGN="LEFT"
7465VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007466>the last value for 0 for no substitution, 1 for substitution.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007467></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007468></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007469></TABLE
7470><P
7471></P
7472></DIV
7473></DIV
7474><HR><DIV
7475CLASS="REFSECT2"
7476><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007477NAME="AEN1708"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007478></A
7479><H3
7480><A
7481NAME="XMLKEEPBLANKSDEFAULT"
7482></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007483>xmlKeepBlanksDefault ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007484><TABLE
7485BORDER="0"
7486BGCOLOR="#D6E8FF"
7487WIDTH="100%"
7488CELLPADDING="6"
7489><TR
7490><TD
7491><PRE
7492CLASS="PROGRAMLISTING"
7493>int xmlKeepBlanksDefault (int val);</PRE
7494></TD
7495></TR
7496></TABLE
7497><P
7498>Set and return the previous value for default blanks text nodes support.
7499The 1.x version of the parser used an heuristic to try to detect
7500ignorable white spaces. As a result the SAX callback was generating
7501<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007502HREF="libxml-sax.html#IGNORABLEWHITESPACE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007503>ignorableWhitespace</A
7504>() callbacks instead of <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007505HREF="libxml-sax.html#CHARACTERS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007506>characters</A
7507>() one, and when
7508using the DOM output text nodes containing those blanks were not generated.
7509The 2.x and later version will switch to the XML standard way and
7510<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007511HREF="libxml-sax.html#IGNORABLEWHITESPACE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007512>ignorableWhitespace</A
7513>() are only generated when running the parser in
7514validating mode and when the current element doesn't allow CDATA or
7515mixed content.
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007516This function is provided as a way to force the standard behavior
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007517on 1.X libs and to switch back to the old mode for compatibility when
7518running 1.X client code on 2.X . Upgrade of 1.X code should be done
7519by using <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007520HREF="libxml-tree.html#XMLISBLANKNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007521>xmlIsBlankNode</A
7522>() commodity function to detect the "empty"
7523nodes generated.
7524This value also affect autogeneration of indentation when saving code
7525if blanks sections are kept, indentation is not generated.</P
7526><P
7527></P
7528><DIV
7529CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007530><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007531NAME="AEN1718"
7532></A
7533><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007534></P
7535><TABLE
7536BORDER="0"
7537WIDTH="100%"
7538BGCOLOR="#FFD0D0"
7539CELLSPACING="0"
7540CELLPADDING="4"
7541CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007542><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007543><TR
7544><TD
7545WIDTH="20%"
7546ALIGN="RIGHT"
7547VALIGN="TOP"
7548><TT
7549CLASS="PARAMETER"
7550><I
7551>val</I
7552></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007553>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007554><TD
7555WIDTH="80%"
7556ALIGN="LEFT"
7557VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007558> int 0 or 1 </TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007559></TR
7560><TR
7561><TD
7562WIDTH="20%"
7563ALIGN="RIGHT"
7564VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007565><SPAN
7566CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007567><I
7568CLASS="EMPHASIS"
7569>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007570></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007571> :</TD
7572><TD
7573WIDTH="80%"
7574ALIGN="LEFT"
7575VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007576>the last value for 0 for no substitution, 1 for substitution.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007577></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007578></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007579></TABLE
7580><P
7581></P
7582></DIV
7583></DIV
7584><HR><DIV
7585CLASS="REFSECT2"
7586><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007587NAME="AEN1731"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007588></A
7589><H3
7590><A
7591NAME="XMLSTOPPARSER"
7592></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007593>xmlStopParser ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007594><TABLE
7595BORDER="0"
7596BGCOLOR="#D6E8FF"
7597WIDTH="100%"
7598CELLPADDING="6"
7599><TR
7600><TD
7601><PRE
7602CLASS="PROGRAMLISTING"
7603>void xmlStopParser (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00007604HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007605>xmlParserCtxtPtr</A
7606> ctxt);</PRE
7607></TD
7608></TR
7609></TABLE
7610><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007611>Blocks further parser processing</P
7612><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007613></P
7614><DIV
7615CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007616><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007617NAME="AEN1738"
7618></A
7619><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007620></P
7621><TABLE
7622BORDER="0"
7623WIDTH="100%"
7624BGCOLOR="#FFD0D0"
7625CELLSPACING="0"
7626CELLPADDING="4"
7627CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007628><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007629><TR
7630><TD
7631WIDTH="20%"
7632ALIGN="RIGHT"
7633VALIGN="TOP"
7634><TT
7635CLASS="PARAMETER"
7636><I
7637>ctxt</I
7638></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007639>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007640><TD
7641WIDTH="80%"
7642ALIGN="LEFT"
7643VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007644> an XML parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007645></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007646></TBODY
Daniel Veillard011b63c1999-06-02 17:44:04 +00007647></TABLE
7648><P
7649></P
7650></DIV
7651></DIV
7652><HR><DIV
7653CLASS="REFSECT2"
7654><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007655NAME="AEN1747"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007656></A
7657><H3
7658><A
7659NAME="XMLPEDANTICPARSERDEFAULT"
7660></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007661>xmlPedanticParserDefault ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007662><TABLE
7663BORDER="0"
7664BGCOLOR="#D6E8FF"
7665WIDTH="100%"
7666CELLPADDING="6"
7667><TR
7668><TD
7669><PRE
7670CLASS="PROGRAMLISTING"
Daniel Veillard06622df2002-01-21 17:53:42 +00007671>int xmlPedanticParserDefault (int val);</PRE
7672></TD
7673></TR
7674></TABLE
7675><P
7676>Set and return the previous value for enabling pedantic warnings.</P
7677><P
7678></P
7679><DIV
7680CLASS="INFORMALTABLE"
7681><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007682NAME="AEN1753"
7683></A
7684><P
Daniel Veillard06622df2002-01-21 17:53:42 +00007685></P
7686><TABLE
7687BORDER="0"
7688WIDTH="100%"
7689BGCOLOR="#FFD0D0"
7690CELLSPACING="0"
7691CELLPADDING="4"
7692CLASS="CALSTABLE"
7693><TBODY
7694><TR
7695><TD
7696WIDTH="20%"
7697ALIGN="RIGHT"
7698VALIGN="TOP"
7699><TT
7700CLASS="PARAMETER"
7701><I
7702>val</I
7703></TT
7704>&nbsp;:</TD
7705><TD
7706WIDTH="80%"
7707ALIGN="LEFT"
7708VALIGN="TOP"
7709> int 0 or 1 </TD
7710></TR
7711><TR
7712><TD
7713WIDTH="20%"
7714ALIGN="RIGHT"
7715VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007716><SPAN
7717CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00007718><I
7719CLASS="EMPHASIS"
7720>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007721></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00007722> :</TD
7723><TD
7724WIDTH="80%"
7725ALIGN="LEFT"
7726VALIGN="TOP"
7727>the last value for 0 for no substitution, 1 for substitution.</TD
7728></TR
7729></TBODY
7730></TABLE
7731><P
7732></P
7733></DIV
7734></DIV
7735><HR><DIV
7736CLASS="REFSECT2"
7737><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007738NAME="AEN1766"
Daniel Veillard06622df2002-01-21 17:53:42 +00007739></A
7740><H3
7741><A
7742NAME="XMLLINENUMBERSDEFAULT"
7743></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007744>xmlLineNumbersDefault ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00007745><TABLE
7746BORDER="0"
7747BGCOLOR="#D6E8FF"
7748WIDTH="100%"
7749CELLPADDING="6"
7750><TR
7751><TD
7752><PRE
7753CLASS="PROGRAMLISTING"
7754>int xmlLineNumbersDefault (int val);</PRE
7755></TD
7756></TR
7757></TABLE
7758><P
7759>Set and return the previous value for enabling line numbers in elements
7760contents. This may break on old application and is turned off by default.</P
7761><P
7762></P
7763><DIV
7764CLASS="INFORMALTABLE"
7765><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007766NAME="AEN1772"
7767></A
7768><P
Daniel Veillard06622df2002-01-21 17:53:42 +00007769></P
7770><TABLE
7771BORDER="0"
7772WIDTH="100%"
7773BGCOLOR="#FFD0D0"
7774CELLSPACING="0"
7775CELLPADDING="4"
7776CLASS="CALSTABLE"
7777><TBODY
7778><TR
7779><TD
7780WIDTH="20%"
7781ALIGN="RIGHT"
7782VALIGN="TOP"
7783><TT
7784CLASS="PARAMETER"
7785><I
7786>val</I
7787></TT
7788>&nbsp;:</TD
7789><TD
7790WIDTH="80%"
7791ALIGN="LEFT"
7792VALIGN="TOP"
7793> int 0 or 1 </TD
7794></TR
7795><TR
7796><TD
7797WIDTH="20%"
7798ALIGN="RIGHT"
7799VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007800><SPAN
7801CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00007802><I
7803CLASS="EMPHASIS"
7804>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007805></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00007806> :</TD
7807><TD
7808WIDTH="80%"
7809ALIGN="LEFT"
7810VALIGN="TOP"
7811>the last value for 0 for no substitution, 1 for substitution.</TD
7812></TR
7813></TBODY
7814></TABLE
7815><P
7816></P
7817></DIV
7818></DIV
7819><HR><DIV
7820CLASS="REFSECT2"
7821><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007822NAME="AEN1785"
Daniel Veillard06622df2002-01-21 17:53:42 +00007823></A
7824><H3
7825><A
7826NAME="XMLRECOVERDOC"
7827></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007828>xmlRecoverDoc ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00007829><TABLE
7830BORDER="0"
7831BGCOLOR="#D6E8FF"
7832WIDTH="100%"
7833CELLPADDING="6"
7834><TR
7835><TD
7836><PRE
7837CLASS="PROGRAMLISTING"
7838><A
7839HREF="libxml-tree.html#XMLDOCPTR"
7840>xmlDocPtr</A
7841> xmlRecoverDoc (<A
7842HREF="libxml-tree.html#XMLCHAR"
7843>xmlChar</A
7844> *cur);</PRE
7845></TD
7846></TR
7847></TABLE
7848><P
7849>parse an XML in-memory document and build a tree.
7850In the case the document is not Well Formed, a tree is built anyway</P
7851><P
7852></P
7853><DIV
7854CLASS="INFORMALTABLE"
7855><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007856NAME="AEN1793"
7857></A
7858><P
Daniel Veillard06622df2002-01-21 17:53:42 +00007859></P
7860><TABLE
7861BORDER="0"
7862WIDTH="100%"
7863BGCOLOR="#FFD0D0"
7864CELLSPACING="0"
7865CELLPADDING="4"
7866CLASS="CALSTABLE"
7867><TBODY
7868><TR
7869><TD
7870WIDTH="20%"
7871ALIGN="RIGHT"
7872VALIGN="TOP"
7873><TT
7874CLASS="PARAMETER"
7875><I
7876>cur</I
7877></TT
7878>&nbsp;:</TD
7879><TD
7880WIDTH="80%"
7881ALIGN="LEFT"
7882VALIGN="TOP"
7883> a pointer to an array of xmlChar</TD
7884></TR
7885><TR
7886><TD
7887WIDTH="20%"
7888ALIGN="RIGHT"
7889VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007890><SPAN
7891CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00007892><I
7893CLASS="EMPHASIS"
7894>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007895></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00007896> :</TD
7897><TD
7898WIDTH="80%"
7899ALIGN="LEFT"
7900VALIGN="TOP"
7901>the resulting document tree</TD
7902></TR
7903></TBODY
7904></TABLE
7905><P
7906></P
7907></DIV
7908></DIV
7909><HR><DIV
7910CLASS="REFSECT2"
7911><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007912NAME="AEN1806"
Daniel Veillard06622df2002-01-21 17:53:42 +00007913></A
7914><H3
7915><A
7916NAME="XMLRECOVERMEMORY"
7917></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007918>xmlRecoverMemory ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00007919><TABLE
7920BORDER="0"
7921BGCOLOR="#D6E8FF"
7922WIDTH="100%"
7923CELLPADDING="6"
7924><TR
7925><TD
7926><PRE
7927CLASS="PROGRAMLISTING"
7928><A
7929HREF="libxml-tree.html#XMLDOCPTR"
7930>xmlDocPtr</A
7931> xmlRecoverMemory (const char *buffer,
7932 int size);</PRE
7933></TD
7934></TR
7935></TABLE
7936><P
7937>parse an XML in-memory block and build a tree.
7938In the case the document is not Well Formed, a tree is built anyway</P
7939><P
7940></P
7941><DIV
7942CLASS="INFORMALTABLE"
7943><A
Daniel Veillardaec63562003-03-23 20:42:17 +00007944NAME="AEN1813"
7945></A
7946><P
Daniel Veillard06622df2002-01-21 17:53:42 +00007947></P
7948><TABLE
7949BORDER="0"
7950WIDTH="100%"
7951BGCOLOR="#FFD0D0"
7952CELLSPACING="0"
7953CELLPADDING="4"
7954CLASS="CALSTABLE"
7955><TBODY
7956><TR
7957><TD
7958WIDTH="20%"
7959ALIGN="RIGHT"
7960VALIGN="TOP"
7961><TT
7962CLASS="PARAMETER"
7963><I
7964>buffer</I
7965></TT
7966>&nbsp;:</TD
7967><TD
7968WIDTH="80%"
7969ALIGN="LEFT"
7970VALIGN="TOP"
7971> an pointer to a char array</TD
7972></TR
7973><TR
7974><TD
7975WIDTH="20%"
7976ALIGN="RIGHT"
7977VALIGN="TOP"
7978><TT
7979CLASS="PARAMETER"
7980><I
7981>size</I
7982></TT
7983>&nbsp;:</TD
7984><TD
7985WIDTH="80%"
7986ALIGN="LEFT"
7987VALIGN="TOP"
7988> the size of the array</TD
7989></TR
7990><TR
7991><TD
7992WIDTH="20%"
7993ALIGN="RIGHT"
7994VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007995><SPAN
7996CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00007997><I
7998CLASS="EMPHASIS"
7999>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008000></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008001> :</TD
8002><TD
8003WIDTH="80%"
8004ALIGN="LEFT"
8005VALIGN="TOP"
8006>the resulting document tree</TD
8007></TR
8008></TBODY
8009></TABLE
8010><P
8011></P
8012></DIV
8013></DIV
8014><HR><DIV
8015CLASS="REFSECT2"
8016><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008017NAME="AEN1830"
Daniel Veillard06622df2002-01-21 17:53:42 +00008018></A
8019><H3
8020><A
8021NAME="XMLRECOVERFILE"
8022></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008023>xmlRecoverFile ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008024><TABLE
8025BORDER="0"
8026BGCOLOR="#D6E8FF"
8027WIDTH="100%"
8028CELLPADDING="6"
8029><TR
8030><TD
8031><PRE
8032CLASS="PROGRAMLISTING"
8033><A
8034HREF="libxml-tree.html#XMLDOCPTR"
8035>xmlDocPtr</A
8036> xmlRecoverFile (const char *filename);</PRE
8037></TD
8038></TR
8039></TABLE
8040><P
8041>parse an XML file and build a tree. Automatic support for ZLIB/Compress
8042compressed document is provided by default if found at compile-time.
8043In the case the document is not Well Formed, a tree is built anyway</P
8044><P
8045></P
8046><DIV
8047CLASS="INFORMALTABLE"
8048><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008049NAME="AEN1837"
8050></A
8051><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008052></P
8053><TABLE
8054BORDER="0"
8055WIDTH="100%"
8056BGCOLOR="#FFD0D0"
8057CELLSPACING="0"
8058CELLPADDING="4"
8059CLASS="CALSTABLE"
8060><TBODY
8061><TR
8062><TD
8063WIDTH="20%"
8064ALIGN="RIGHT"
8065VALIGN="TOP"
8066><TT
8067CLASS="PARAMETER"
8068><I
8069>filename</I
8070></TT
8071>&nbsp;:</TD
8072><TD
8073WIDTH="80%"
8074ALIGN="LEFT"
8075VALIGN="TOP"
8076> the filename</TD
8077></TR
8078><TR
8079><TD
8080WIDTH="20%"
8081ALIGN="RIGHT"
8082VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008083><SPAN
8084CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008085><I
8086CLASS="EMPHASIS"
8087>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008088></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008089> :</TD
8090><TD
8091WIDTH="80%"
8092ALIGN="LEFT"
8093VALIGN="TOP"
8094>the resulting document tree</TD
8095></TR
8096></TBODY
8097></TABLE
8098><P
8099></P
8100></DIV
8101></DIV
8102><HR><DIV
8103CLASS="REFSECT2"
8104><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008105NAME="AEN1850"
Daniel Veillard06622df2002-01-21 17:53:42 +00008106></A
8107><H3
8108><A
8109NAME="XMLPARSEDOCUMENT"
8110></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008111>xmlParseDocument ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008112><TABLE
8113BORDER="0"
8114BGCOLOR="#D6E8FF"
8115WIDTH="100%"
8116CELLPADDING="6"
8117><TR
8118><TD
8119><PRE
8120CLASS="PROGRAMLISTING"
8121>int xmlParseDocument (<A
8122HREF="libxml-tree.html#XMLPARSERCTXTPTR"
8123>xmlParserCtxtPtr</A
8124> ctxt);</PRE
8125></TD
8126></TR
8127></TABLE
8128><P
8129>parse an XML document (and build a tree if using the standard SAX
8130interface).</P
8131><P
8132>[1] document ::= prolog element Misc*</P
8133><P
8134>[22] prolog ::= XMLDecl? Misc* (doctypedecl Misc*)?</P
8135><P
8136></P
8137><DIV
8138CLASS="INFORMALTABLE"
8139><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008140NAME="AEN1859"
8141></A
8142><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008143></P
8144><TABLE
8145BORDER="0"
8146WIDTH="100%"
8147BGCOLOR="#FFD0D0"
8148CELLSPACING="0"
8149CELLPADDING="4"
8150CLASS="CALSTABLE"
8151><TBODY
8152><TR
8153><TD
8154WIDTH="20%"
8155ALIGN="RIGHT"
8156VALIGN="TOP"
8157><TT
8158CLASS="PARAMETER"
8159><I
8160>ctxt</I
8161></TT
8162>&nbsp;:</TD
8163><TD
8164WIDTH="80%"
8165ALIGN="LEFT"
8166VALIGN="TOP"
8167> an XML parser context</TD
8168></TR
8169><TR
8170><TD
8171WIDTH="20%"
8172ALIGN="RIGHT"
8173VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008174><SPAN
8175CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008176><I
8177CLASS="EMPHASIS"
8178>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008179></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008180> :</TD
8181><TD
8182WIDTH="80%"
8183ALIGN="LEFT"
8184VALIGN="TOP"
8185>0, -1 in case of error. the parser context is augmented
Daniel Veillardaec63562003-03-23 20:42:17 +00008186 as a result of the parsing.</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008187></TR
8188></TBODY
8189></TABLE
8190><P
8191></P
8192></DIV
8193></DIV
8194><HR><DIV
8195CLASS="REFSECT2"
8196><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008197NAME="AEN1872"
Daniel Veillard06622df2002-01-21 17:53:42 +00008198></A
8199><H3
8200><A
8201NAME="XMLPARSEEXTPARSEDENT"
8202></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008203>xmlParseExtParsedEnt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008204><TABLE
8205BORDER="0"
8206BGCOLOR="#D6E8FF"
8207WIDTH="100%"
8208CELLPADDING="6"
8209><TR
8210><TD
8211><PRE
8212CLASS="PROGRAMLISTING"
8213>int xmlParseExtParsedEnt (<A
8214HREF="libxml-tree.html#XMLPARSERCTXTPTR"
8215>xmlParserCtxtPtr</A
8216> ctxt);</PRE
8217></TD
8218></TR
8219></TABLE
8220><P
8221>parse a general parsed entity
8222An external general parsed entity is well-formed if it matches the
8223production labeled extParsedEnt.</P
8224><P
8225>[78] extParsedEnt ::= TextDecl? content</P
8226><P
8227></P
8228><DIV
8229CLASS="INFORMALTABLE"
8230><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008231NAME="AEN1880"
8232></A
8233><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008234></P
8235><TABLE
8236BORDER="0"
8237WIDTH="100%"
8238BGCOLOR="#FFD0D0"
8239CELLSPACING="0"
8240CELLPADDING="4"
8241CLASS="CALSTABLE"
8242><TBODY
8243><TR
8244><TD
8245WIDTH="20%"
8246ALIGN="RIGHT"
8247VALIGN="TOP"
8248><TT
8249CLASS="PARAMETER"
8250><I
8251>ctxt</I
8252></TT
8253>&nbsp;:</TD
8254><TD
8255WIDTH="80%"
8256ALIGN="LEFT"
8257VALIGN="TOP"
8258> an XML parser context</TD
8259></TR
8260><TR
8261><TD
8262WIDTH="20%"
8263ALIGN="RIGHT"
8264VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008265><SPAN
8266CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008267><I
8268CLASS="EMPHASIS"
8269>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008270></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008271> :</TD
8272><TD
8273WIDTH="80%"
8274ALIGN="LEFT"
8275VALIGN="TOP"
8276>0, -1 in case of error. the parser context is augmented
Daniel Veillardaec63562003-03-23 20:42:17 +00008277 as a result of the parsing.</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008278></TR
8279></TBODY
8280></TABLE
8281><P
8282></P
8283></DIV
8284></DIV
8285><HR><DIV
8286CLASS="REFSECT2"
8287><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008288NAME="AEN1893"
Daniel Veillard06622df2002-01-21 17:53:42 +00008289></A
8290><H3
8291><A
8292NAME="XMLSAXPARSEDOC"
8293></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008294>xmlSAXParseDoc ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008295><TABLE
8296BORDER="0"
8297BGCOLOR="#D6E8FF"
8298WIDTH="100%"
8299CELLPADDING="6"
8300><TR
8301><TD
8302><PRE
8303CLASS="PROGRAMLISTING"
8304><A
8305HREF="libxml-tree.html#XMLDOCPTR"
8306>xmlDocPtr</A
8307> xmlSAXParseDoc (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008308HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008309>xmlSAXHandlerPtr</A
8310> sax,
8311 <A
8312HREF="libxml-tree.html#XMLCHAR"
8313>xmlChar</A
8314> *cur,
8315 int recovery);</PRE
8316></TD
8317></TR
8318></TABLE
8319><P
8320>parse an XML in-memory document and build a tree.
8321It use the given SAX function block to handle the parsing callback.
8322If sax is NULL, fallback to the default DOM tree building routines.</P
8323><P
8324></P
8325><DIV
8326CLASS="INFORMALTABLE"
8327><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008328NAME="AEN1902"
8329></A
8330><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008331></P
8332><TABLE
8333BORDER="0"
8334WIDTH="100%"
8335BGCOLOR="#FFD0D0"
8336CELLSPACING="0"
8337CELLPADDING="4"
8338CLASS="CALSTABLE"
8339><TBODY
8340><TR
8341><TD
8342WIDTH="20%"
8343ALIGN="RIGHT"
8344VALIGN="TOP"
8345><TT
8346CLASS="PARAMETER"
8347><I
8348>sax</I
8349></TT
8350>&nbsp;:</TD
8351><TD
8352WIDTH="80%"
8353ALIGN="LEFT"
8354VALIGN="TOP"
8355> the SAX handler block</TD
8356></TR
8357><TR
8358><TD
8359WIDTH="20%"
8360ALIGN="RIGHT"
8361VALIGN="TOP"
8362><TT
8363CLASS="PARAMETER"
8364><I
8365>cur</I
8366></TT
8367>&nbsp;:</TD
8368><TD
8369WIDTH="80%"
8370ALIGN="LEFT"
8371VALIGN="TOP"
8372> a pointer to an array of xmlChar</TD
8373></TR
8374><TR
8375><TD
8376WIDTH="20%"
8377ALIGN="RIGHT"
8378VALIGN="TOP"
8379><TT
8380CLASS="PARAMETER"
8381><I
8382>recovery</I
8383></TT
8384>&nbsp;:</TD
8385><TD
8386WIDTH="80%"
8387ALIGN="LEFT"
8388VALIGN="TOP"
8389> work in recovery mode, i.e. tries to read no Well Formed
Daniel Veillardaec63562003-03-23 20:42:17 +00008390 documents</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008391></TR
8392><TR
8393><TD
8394WIDTH="20%"
8395ALIGN="RIGHT"
8396VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008397><SPAN
8398CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008399><I
8400CLASS="EMPHASIS"
8401>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008402></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008403> :</TD
8404><TD
8405WIDTH="80%"
8406ALIGN="LEFT"
8407VALIGN="TOP"
8408>the resulting document tree</TD
8409></TR
8410></TBODY
8411></TABLE
8412><P
8413></P
8414></DIV
8415></DIV
8416><HR><DIV
8417CLASS="REFSECT2"
8418><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008419NAME="AEN1923"
Daniel Veillard06622df2002-01-21 17:53:42 +00008420></A
8421><H3
8422><A
8423NAME="XMLSAXUSERPARSEFILE"
8424></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008425>xmlSAXUserParseFile ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008426><TABLE
8427BORDER="0"
8428BGCOLOR="#D6E8FF"
8429WIDTH="100%"
8430CELLPADDING="6"
8431><TR
8432><TD
8433><PRE
8434CLASS="PROGRAMLISTING"
8435>int xmlSAXUserParseFile (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008436HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008437>xmlSAXHandlerPtr</A
8438> sax,
8439 void *user_data,
8440 const char *filename);</PRE
8441></TD
8442></TR
8443></TABLE
8444><P
8445>parse an XML file and call the given SAX handler routines.
8446Automatic support for ZLIB/Compress compressed document is provided</P
8447><P
8448></P
8449><DIV
8450CLASS="INFORMALTABLE"
8451><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008452NAME="AEN1930"
8453></A
8454><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008455></P
8456><TABLE
8457BORDER="0"
8458WIDTH="100%"
8459BGCOLOR="#FFD0D0"
8460CELLSPACING="0"
8461CELLPADDING="4"
8462CLASS="CALSTABLE"
8463><TBODY
8464><TR
8465><TD
8466WIDTH="20%"
8467ALIGN="RIGHT"
8468VALIGN="TOP"
8469><TT
8470CLASS="PARAMETER"
8471><I
8472>sax</I
8473></TT
8474>&nbsp;:</TD
8475><TD
8476WIDTH="80%"
8477ALIGN="LEFT"
8478VALIGN="TOP"
8479> a SAX handler</TD
8480></TR
8481><TR
8482><TD
8483WIDTH="20%"
8484ALIGN="RIGHT"
8485VALIGN="TOP"
8486><TT
8487CLASS="PARAMETER"
8488><I
8489>user_data</I
8490></TT
8491>&nbsp;:</TD
8492><TD
8493WIDTH="80%"
8494ALIGN="LEFT"
8495VALIGN="TOP"
8496> The user data returned on SAX callbacks</TD
8497></TR
8498><TR
8499><TD
8500WIDTH="20%"
8501ALIGN="RIGHT"
8502VALIGN="TOP"
8503><TT
8504CLASS="PARAMETER"
8505><I
8506>filename</I
8507></TT
8508>&nbsp;:</TD
8509><TD
8510WIDTH="80%"
8511ALIGN="LEFT"
8512VALIGN="TOP"
8513> a file name</TD
8514></TR
8515><TR
8516><TD
8517WIDTH="20%"
8518ALIGN="RIGHT"
8519VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008520><SPAN
8521CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008522><I
8523CLASS="EMPHASIS"
8524>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008525></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008526> :</TD
8527><TD
8528WIDTH="80%"
8529ALIGN="LEFT"
8530VALIGN="TOP"
8531>0 in case of success or a error number otherwise</TD
8532></TR
8533></TBODY
8534></TABLE
8535><P
8536></P
8537></DIV
8538></DIV
8539><HR><DIV
8540CLASS="REFSECT2"
8541><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008542NAME="AEN1951"
Daniel Veillard06622df2002-01-21 17:53:42 +00008543></A
8544><H3
8545><A
8546NAME="XMLSAXUSERPARSEMEMORY"
8547></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008548>xmlSAXUserParseMemory ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008549><TABLE
8550BORDER="0"
8551BGCOLOR="#D6E8FF"
8552WIDTH="100%"
8553CELLPADDING="6"
8554><TR
8555><TD
8556><PRE
8557CLASS="PROGRAMLISTING"
8558>int xmlSAXUserParseMemory (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008559HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008560>xmlSAXHandlerPtr</A
8561> sax,
8562 void *user_data,
8563 const char *buffer,
8564 int size);</PRE
8565></TD
8566></TR
8567></TABLE
8568><P
8569>A better SAX parsing routine.
8570parse an XML in-memory buffer and call the given SAX handler routines.</P
8571><P
8572></P
8573><DIV
8574CLASS="INFORMALTABLE"
8575><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008576NAME="AEN1958"
8577></A
8578><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008579></P
8580><TABLE
8581BORDER="0"
8582WIDTH="100%"
8583BGCOLOR="#FFD0D0"
8584CELLSPACING="0"
8585CELLPADDING="4"
8586CLASS="CALSTABLE"
8587><TBODY
8588><TR
8589><TD
8590WIDTH="20%"
8591ALIGN="RIGHT"
8592VALIGN="TOP"
8593><TT
8594CLASS="PARAMETER"
8595><I
8596>sax</I
8597></TT
8598>&nbsp;:</TD
8599><TD
8600WIDTH="80%"
8601ALIGN="LEFT"
8602VALIGN="TOP"
8603> a SAX handler</TD
8604></TR
8605><TR
8606><TD
8607WIDTH="20%"
8608ALIGN="RIGHT"
8609VALIGN="TOP"
8610><TT
8611CLASS="PARAMETER"
8612><I
8613>user_data</I
8614></TT
8615>&nbsp;:</TD
8616><TD
8617WIDTH="80%"
8618ALIGN="LEFT"
8619VALIGN="TOP"
8620> The user data returned on SAX callbacks</TD
8621></TR
8622><TR
8623><TD
8624WIDTH="20%"
8625ALIGN="RIGHT"
8626VALIGN="TOP"
8627><TT
8628CLASS="PARAMETER"
8629><I
8630>buffer</I
8631></TT
8632>&nbsp;:</TD
8633><TD
8634WIDTH="80%"
8635ALIGN="LEFT"
8636VALIGN="TOP"
8637> an in-memory XML document input</TD
8638></TR
8639><TR
8640><TD
8641WIDTH="20%"
8642ALIGN="RIGHT"
8643VALIGN="TOP"
8644><TT
8645CLASS="PARAMETER"
8646><I
8647>size</I
8648></TT
8649>&nbsp;:</TD
8650><TD
8651WIDTH="80%"
8652ALIGN="LEFT"
8653VALIGN="TOP"
8654> the length of the XML document in bytes</TD
8655></TR
8656><TR
8657><TD
8658WIDTH="20%"
8659ALIGN="RIGHT"
8660VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008661><SPAN
8662CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008663><I
8664CLASS="EMPHASIS"
8665>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008666></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008667> :</TD
8668><TD
8669WIDTH="80%"
8670ALIGN="LEFT"
8671VALIGN="TOP"
8672>0 in case of success or a error number otherwise</TD
8673></TR
8674></TBODY
8675></TABLE
8676><P
8677></P
8678></DIV
8679></DIV
8680><HR><DIV
8681CLASS="REFSECT2"
8682><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008683NAME="AEN1983"
Daniel Veillard06622df2002-01-21 17:53:42 +00008684></A
8685><H3
8686><A
8687NAME="XMLSAXPARSEMEMORY"
8688></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008689>xmlSAXParseMemory ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008690><TABLE
8691BORDER="0"
8692BGCOLOR="#D6E8FF"
8693WIDTH="100%"
8694CELLPADDING="6"
8695><TR
8696><TD
8697><PRE
8698CLASS="PROGRAMLISTING"
8699><A
8700HREF="libxml-tree.html#XMLDOCPTR"
8701>xmlDocPtr</A
8702> xmlSAXParseMemory (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008703HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008704>xmlSAXHandlerPtr</A
8705> sax,
8706 const char *buffer,
8707 int size,
8708 int recovery);</PRE
8709></TD
8710></TR
8711></TABLE
8712><P
8713>parse an XML in-memory block and use the given SAX function block
8714to handle the parsing callback. If sax is NULL, fallback to the default
8715DOM tree building routines.</P
8716><P
8717></P
8718><DIV
8719CLASS="INFORMALTABLE"
8720><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008721NAME="AEN1991"
8722></A
8723><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008724></P
8725><TABLE
8726BORDER="0"
8727WIDTH="100%"
8728BGCOLOR="#FFD0D0"
8729CELLSPACING="0"
8730CELLPADDING="4"
8731CLASS="CALSTABLE"
8732><TBODY
8733><TR
8734><TD
8735WIDTH="20%"
8736ALIGN="RIGHT"
8737VALIGN="TOP"
8738><TT
8739CLASS="PARAMETER"
8740><I
8741>sax</I
8742></TT
8743>&nbsp;:</TD
8744><TD
8745WIDTH="80%"
8746ALIGN="LEFT"
8747VALIGN="TOP"
8748> the SAX handler block</TD
8749></TR
8750><TR
8751><TD
8752WIDTH="20%"
8753ALIGN="RIGHT"
8754VALIGN="TOP"
8755><TT
8756CLASS="PARAMETER"
8757><I
8758>buffer</I
8759></TT
8760>&nbsp;:</TD
8761><TD
8762WIDTH="80%"
8763ALIGN="LEFT"
8764VALIGN="TOP"
8765> an pointer to a char array</TD
8766></TR
8767><TR
8768><TD
8769WIDTH="20%"
8770ALIGN="RIGHT"
8771VALIGN="TOP"
8772><TT
8773CLASS="PARAMETER"
8774><I
8775>size</I
8776></TT
8777>&nbsp;:</TD
8778><TD
8779WIDTH="80%"
8780ALIGN="LEFT"
8781VALIGN="TOP"
8782> the size of the array</TD
8783></TR
8784><TR
8785><TD
8786WIDTH="20%"
8787ALIGN="RIGHT"
8788VALIGN="TOP"
8789><TT
8790CLASS="PARAMETER"
8791><I
8792>recovery</I
8793></TT
8794>&nbsp;:</TD
8795><TD
8796WIDTH="80%"
8797ALIGN="LEFT"
8798VALIGN="TOP"
8799> work in recovery mode, i.e. tries to read not Well Formed
Daniel Veillardaec63562003-03-23 20:42:17 +00008800 documents</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008801></TR
8802><TR
8803><TD
8804WIDTH="20%"
8805ALIGN="RIGHT"
8806VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008807><SPAN
8808CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008809><I
8810CLASS="EMPHASIS"
8811>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008812></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008813> :</TD
8814><TD
8815WIDTH="80%"
8816ALIGN="LEFT"
8817VALIGN="TOP"
8818>the resulting document tree</TD
8819></TR
8820></TBODY
8821></TABLE
8822><P
8823></P
8824></DIV
8825></DIV
8826><HR><DIV
8827CLASS="REFSECT2"
8828><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008829NAME="AEN2016"
Daniel Veillard06622df2002-01-21 17:53:42 +00008830></A
8831><H3
8832><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008833NAME="XMLSAXPARSEMEMORYWITHDATA"
Daniel Veillard06622df2002-01-21 17:53:42 +00008834></A
Daniel Veillardaec63562003-03-23 20:42:17 +00008835>xmlSAXParseMemoryWithData ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008836><TABLE
8837BORDER="0"
8838BGCOLOR="#D6E8FF"
8839WIDTH="100%"
8840CELLPADDING="6"
8841><TR
8842><TD
8843><PRE
8844CLASS="PROGRAMLISTING"
8845><A
8846HREF="libxml-tree.html#XMLDOCPTR"
8847>xmlDocPtr</A
Daniel Veillardaec63562003-03-23 20:42:17 +00008848> xmlSAXParseMemoryWithData (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008849HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008850>xmlSAXHandlerPtr</A
8851> sax,
Daniel Veillardaec63562003-03-23 20:42:17 +00008852 const char *buffer,
8853 int size,
Daniel Veillard06622df2002-01-21 17:53:42 +00008854 int recovery,
8855 void *data);</PRE
8856></TD
8857></TR
8858></TABLE
8859><P
Daniel Veillardaec63562003-03-23 20:42:17 +00008860>parse an XML in-memory block and use the given SAX function block
8861to handle the parsing callback. If sax is NULL, fallback to the default
8862DOM tree building routines.</P
Daniel Veillard06622df2002-01-21 17:53:42 +00008863><P
Daniel Veillardfc57b412002-04-29 15:50:14 +00008864>User data (void *) is stored within the parser context in the
8865context's _private member, so it is available nearly everywhere in libxml</P
Daniel Veillard06622df2002-01-21 17:53:42 +00008866><P
8867></P
8868><DIV
8869CLASS="INFORMALTABLE"
8870><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008871NAME="AEN2025"
8872></A
8873><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008874></P
8875><TABLE
8876BORDER="0"
8877WIDTH="100%"
8878BGCOLOR="#FFD0D0"
8879CELLSPACING="0"
8880CELLPADDING="4"
8881CLASS="CALSTABLE"
8882><TBODY
8883><TR
8884><TD
8885WIDTH="20%"
8886ALIGN="RIGHT"
8887VALIGN="TOP"
8888><TT
8889CLASS="PARAMETER"
8890><I
8891>sax</I
8892></TT
8893>&nbsp;:</TD
8894><TD
8895WIDTH="80%"
8896ALIGN="LEFT"
8897VALIGN="TOP"
8898> the SAX handler block</TD
8899></TR
8900><TR
8901><TD
8902WIDTH="20%"
8903ALIGN="RIGHT"
8904VALIGN="TOP"
8905><TT
8906CLASS="PARAMETER"
8907><I
Daniel Veillardaec63562003-03-23 20:42:17 +00008908>buffer</I
Daniel Veillard06622df2002-01-21 17:53:42 +00008909></TT
8910>&nbsp;:</TD
8911><TD
8912WIDTH="80%"
8913ALIGN="LEFT"
8914VALIGN="TOP"
Daniel Veillardaec63562003-03-23 20:42:17 +00008915> an pointer to a char array</TD
8916></TR
8917><TR
8918><TD
8919WIDTH="20%"
8920ALIGN="RIGHT"
8921VALIGN="TOP"
8922><TT
8923CLASS="PARAMETER"
8924><I
8925>size</I
8926></TT
8927>&nbsp;:</TD
8928><TD
8929WIDTH="80%"
8930ALIGN="LEFT"
8931VALIGN="TOP"
8932> the size of the array</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008933></TR
8934><TR
8935><TD
8936WIDTH="20%"
8937ALIGN="RIGHT"
8938VALIGN="TOP"
8939><TT
8940CLASS="PARAMETER"
8941><I
8942>recovery</I
8943></TT
8944>&nbsp;:</TD
8945><TD
8946WIDTH="80%"
8947ALIGN="LEFT"
8948VALIGN="TOP"
8949> work in recovery mode, i.e. tries to read no Well Formed
Daniel Veillardaec63562003-03-23 20:42:17 +00008950 documents</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008951></TR
8952><TR
8953><TD
8954WIDTH="20%"
8955ALIGN="RIGHT"
8956VALIGN="TOP"
8957><TT
8958CLASS="PARAMETER"
8959><I
8960>data</I
8961></TT
8962>&nbsp;:</TD
8963><TD
8964WIDTH="80%"
8965ALIGN="LEFT"
8966VALIGN="TOP"
8967> the userdata</TD
8968></TR
8969><TR
8970><TD
8971WIDTH="20%"
8972ALIGN="RIGHT"
8973VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008974><SPAN
8975CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008976><I
8977CLASS="EMPHASIS"
8978>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008979></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008980> :</TD
8981><TD
8982WIDTH="80%"
8983ALIGN="LEFT"
8984VALIGN="TOP"
8985>the resulting document tree</TD
8986></TR
8987></TBODY
8988></TABLE
8989><P
8990></P
8991></DIV
8992></DIV
8993><HR><DIV
8994CLASS="REFSECT2"
8995><A
Daniel Veillardaec63562003-03-23 20:42:17 +00008996NAME="AEN2054"
8997></A
8998><H3
8999><A
9000NAME="XMLSAXPARSEFILE"
9001></A
9002>xmlSAXParseFile ()</H3
9003><TABLE
9004BORDER="0"
9005BGCOLOR="#D6E8FF"
9006WIDTH="100%"
9007CELLPADDING="6"
9008><TR
9009><TD
9010><PRE
9011CLASS="PROGRAMLISTING"
9012><A
9013HREF="libxml-tree.html#XMLDOCPTR"
9014>xmlDocPtr</A
9015> xmlSAXParseFile (<A
9016HREF="libxml-tree.html#XMLSAXHANDLERPTR"
9017>xmlSAXHandlerPtr</A
9018> sax,
9019 const char *filename,
9020 int recovery);</PRE
9021></TD
9022></TR
9023></TABLE
9024><P
9025>parse an XML file and build a tree. Automatic support for ZLIB/Compress
9026compressed document is provided by default if found at compile-time.
9027It use the given SAX function block to handle the parsing callback.
9028If sax is NULL, fallback to the default DOM tree building routines.</P
9029><P
9030></P
9031><DIV
9032CLASS="INFORMALTABLE"
9033><A
9034NAME="AEN2062"
9035></A
9036><P
9037></P
9038><TABLE
9039BORDER="0"
9040WIDTH="100%"
9041BGCOLOR="#FFD0D0"
9042CELLSPACING="0"
9043CELLPADDING="4"
9044CLASS="CALSTABLE"
9045><TBODY
9046><TR
9047><TD
9048WIDTH="20%"
9049ALIGN="RIGHT"
9050VALIGN="TOP"
9051><TT
9052CLASS="PARAMETER"
9053><I
9054>sax</I
9055></TT
9056>&nbsp;:</TD
9057><TD
9058WIDTH="80%"
9059ALIGN="LEFT"
9060VALIGN="TOP"
9061> the SAX handler block</TD
9062></TR
9063><TR
9064><TD
9065WIDTH="20%"
9066ALIGN="RIGHT"
9067VALIGN="TOP"
9068><TT
9069CLASS="PARAMETER"
9070><I
9071>filename</I
9072></TT
9073>&nbsp;:</TD
9074><TD
9075WIDTH="80%"
9076ALIGN="LEFT"
9077VALIGN="TOP"
9078> the filename</TD
9079></TR
9080><TR
9081><TD
9082WIDTH="20%"
9083ALIGN="RIGHT"
9084VALIGN="TOP"
9085><TT
9086CLASS="PARAMETER"
9087><I
9088>recovery</I
9089></TT
9090>&nbsp;:</TD
9091><TD
9092WIDTH="80%"
9093ALIGN="LEFT"
9094VALIGN="TOP"
9095> work in recovery mode, i.e. tries to read no Well Formed
9096 documents</TD
9097></TR
9098><TR
9099><TD
9100WIDTH="20%"
9101ALIGN="RIGHT"
9102VALIGN="TOP"
9103><SPAN
9104CLASS="emphasis"
9105><I
9106CLASS="EMPHASIS"
9107>Returns</I
9108></SPAN
9109> :</TD
9110><TD
9111WIDTH="80%"
9112ALIGN="LEFT"
9113VALIGN="TOP"
9114>the resulting document tree</TD
9115></TR
9116></TBODY
9117></TABLE
9118><P
9119></P
9120></DIV
9121></DIV
9122><HR><DIV
9123CLASS="REFSECT2"
9124><A
9125NAME="AEN2083"
9126></A
9127><H3
9128><A
9129NAME="XMLSAXPARSEFILEWITHDATA"
9130></A
9131>xmlSAXParseFileWithData ()</H3
9132><TABLE
9133BORDER="0"
9134BGCOLOR="#D6E8FF"
9135WIDTH="100%"
9136CELLPADDING="6"
9137><TR
9138><TD
9139><PRE
9140CLASS="PROGRAMLISTING"
9141><A
9142HREF="libxml-tree.html#XMLDOCPTR"
9143>xmlDocPtr</A
9144> xmlSAXParseFileWithData (<A
9145HREF="libxml-tree.html#XMLSAXHANDLERPTR"
9146>xmlSAXHandlerPtr</A
9147> sax,
9148 const char *filename,
9149 int recovery,
9150 void *data);</PRE
9151></TD
9152></TR
9153></TABLE
9154><P
9155>parse an XML file and build a tree. Automatic support for ZLIB/Compress
9156compressed document is provided by default if found at compile-time.
9157It use the given SAX function block to handle the parsing callback.
9158If sax is NULL, fallback to the default DOM tree building routines.</P
9159><P
9160>User data (void *) is stored within the parser context in the
9161context's _private member, so it is available nearly everywhere in libxml</P
9162><P
9163></P
9164><DIV
9165CLASS="INFORMALTABLE"
9166><A
9167NAME="AEN2092"
9168></A
9169><P
9170></P
9171><TABLE
9172BORDER="0"
9173WIDTH="100%"
9174BGCOLOR="#FFD0D0"
9175CELLSPACING="0"
9176CELLPADDING="4"
9177CLASS="CALSTABLE"
9178><TBODY
9179><TR
9180><TD
9181WIDTH="20%"
9182ALIGN="RIGHT"
9183VALIGN="TOP"
9184><TT
9185CLASS="PARAMETER"
9186><I
9187>sax</I
9188></TT
9189>&nbsp;:</TD
9190><TD
9191WIDTH="80%"
9192ALIGN="LEFT"
9193VALIGN="TOP"
9194> the SAX handler block</TD
9195></TR
9196><TR
9197><TD
9198WIDTH="20%"
9199ALIGN="RIGHT"
9200VALIGN="TOP"
9201><TT
9202CLASS="PARAMETER"
9203><I
9204>filename</I
9205></TT
9206>&nbsp;:</TD
9207><TD
9208WIDTH="80%"
9209ALIGN="LEFT"
9210VALIGN="TOP"
9211> the filename</TD
9212></TR
9213><TR
9214><TD
9215WIDTH="20%"
9216ALIGN="RIGHT"
9217VALIGN="TOP"
9218><TT
9219CLASS="PARAMETER"
9220><I
9221>recovery</I
9222></TT
9223>&nbsp;:</TD
9224><TD
9225WIDTH="80%"
9226ALIGN="LEFT"
9227VALIGN="TOP"
9228> work in recovery mode, i.e. tries to read no Well Formed
9229 documents</TD
9230></TR
9231><TR
9232><TD
9233WIDTH="20%"
9234ALIGN="RIGHT"
9235VALIGN="TOP"
9236><TT
9237CLASS="PARAMETER"
9238><I
9239>data</I
9240></TT
9241>&nbsp;:</TD
9242><TD
9243WIDTH="80%"
9244ALIGN="LEFT"
9245VALIGN="TOP"
9246> the userdata</TD
9247></TR
9248><TR
9249><TD
9250WIDTH="20%"
9251ALIGN="RIGHT"
9252VALIGN="TOP"
9253><SPAN
9254CLASS="emphasis"
9255><I
9256CLASS="EMPHASIS"
9257>Returns</I
9258></SPAN
9259> :</TD
9260><TD
9261WIDTH="80%"
9262ALIGN="LEFT"
9263VALIGN="TOP"
9264>the resulting document tree</TD
9265></TR
9266></TBODY
9267></TABLE
9268><P
9269></P
9270></DIV
9271></DIV
9272><HR><DIV
9273CLASS="REFSECT2"
9274><A
9275NAME="AEN2117"
Daniel Veillard06622df2002-01-21 17:53:42 +00009276></A
9277><H3
9278><A
9279NAME="XMLSAXPARSEENTITY"
9280></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009281>xmlSAXParseEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009282><TABLE
9283BORDER="0"
9284BGCOLOR="#D6E8FF"
9285WIDTH="100%"
9286CELLPADDING="6"
9287><TR
9288><TD
9289><PRE
9290CLASS="PROGRAMLISTING"
9291><A
9292HREF="libxml-tree.html#XMLDOCPTR"
9293>xmlDocPtr</A
9294> xmlSAXParseEntity (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009295HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00009296>xmlSAXHandlerPtr</A
9297> sax,
9298 const char *filename);</PRE
9299></TD
9300></TR
9301></TABLE
9302><P
9303>parse an XML external entity out of context and build a tree.
9304It use the given SAX function block to handle the parsing callback.
9305If sax is NULL, fallback to the default DOM tree building routines.</P
9306><P
9307>[78] extParsedEnt ::= TextDecl? content</P
9308><P
9309>This correspond to a "Well Balanced" chunk</P
9310><P
9311></P
9312><DIV
9313CLASS="INFORMALTABLE"
9314><A
Daniel Veillardaec63562003-03-23 20:42:17 +00009315NAME="AEN2127"
9316></A
9317><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009318></P
9319><TABLE
9320BORDER="0"
9321WIDTH="100%"
9322BGCOLOR="#FFD0D0"
9323CELLSPACING="0"
9324CELLPADDING="4"
9325CLASS="CALSTABLE"
9326><TBODY
9327><TR
9328><TD
9329WIDTH="20%"
9330ALIGN="RIGHT"
9331VALIGN="TOP"
9332><TT
9333CLASS="PARAMETER"
9334><I
9335>sax</I
9336></TT
9337>&nbsp;:</TD
9338><TD
9339WIDTH="80%"
9340ALIGN="LEFT"
9341VALIGN="TOP"
9342> the SAX handler block</TD
9343></TR
9344><TR
9345><TD
9346WIDTH="20%"
9347ALIGN="RIGHT"
9348VALIGN="TOP"
9349><TT
9350CLASS="PARAMETER"
9351><I
9352>filename</I
9353></TT
9354>&nbsp;:</TD
9355><TD
9356WIDTH="80%"
9357ALIGN="LEFT"
9358VALIGN="TOP"
9359> the filename</TD
9360></TR
9361><TR
9362><TD
9363WIDTH="20%"
9364ALIGN="RIGHT"
9365VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009366><SPAN
9367CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00009368><I
9369CLASS="EMPHASIS"
9370>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009371></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00009372> :</TD
9373><TD
9374WIDTH="80%"
9375ALIGN="LEFT"
9376VALIGN="TOP"
9377>the resulting document tree</TD
9378></TR
9379></TBODY
9380></TABLE
9381><P
9382></P
9383></DIV
9384></DIV
9385><HR><DIV
9386CLASS="REFSECT2"
9387><A
Daniel Veillardaec63562003-03-23 20:42:17 +00009388NAME="AEN2144"
Daniel Veillard06622df2002-01-21 17:53:42 +00009389></A
9390><H3
9391><A
9392NAME="XMLPARSEENTITY"
9393></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009394>xmlParseEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009395><TABLE
9396BORDER="0"
9397BGCOLOR="#D6E8FF"
9398WIDTH="100%"
9399CELLPADDING="6"
9400><TR
9401><TD
9402><PRE
9403CLASS="PROGRAMLISTING"
9404><A
9405HREF="libxml-tree.html#XMLDOCPTR"
9406>xmlDocPtr</A
9407> xmlParseEntity (const char *filename);</PRE
9408></TD
9409></TR
9410></TABLE
9411><P
9412>parse an XML external entity out of context and build a tree.</P
9413><P
9414>[78] extParsedEnt ::= TextDecl? content</P
9415><P
9416>This correspond to a "Well Balanced" chunk</P
9417><P
9418></P
9419><DIV
9420CLASS="INFORMALTABLE"
9421><A
Daniel Veillardaec63562003-03-23 20:42:17 +00009422NAME="AEN2153"
9423></A
9424><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009425></P
9426><TABLE
9427BORDER="0"
9428WIDTH="100%"
9429BGCOLOR="#FFD0D0"
9430CELLSPACING="0"
9431CELLPADDING="4"
9432CLASS="CALSTABLE"
9433><TBODY
9434><TR
9435><TD
9436WIDTH="20%"
9437ALIGN="RIGHT"
9438VALIGN="TOP"
9439><TT
9440CLASS="PARAMETER"
9441><I
9442>filename</I
9443></TT
9444>&nbsp;:</TD
9445><TD
9446WIDTH="80%"
9447ALIGN="LEFT"
9448VALIGN="TOP"
9449> the filename</TD
9450></TR
9451><TR
9452><TD
9453WIDTH="20%"
9454ALIGN="RIGHT"
9455VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009456><SPAN
9457CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00009458><I
9459CLASS="EMPHASIS"
9460>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009461></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00009462> :</TD
9463><TD
9464WIDTH="80%"
9465ALIGN="LEFT"
9466VALIGN="TOP"
9467>the resulting document tree</TD
9468></TR
9469></TBODY
9470></TABLE
9471><P
9472></P
9473></DIV
9474></DIV
9475><HR><DIV
9476CLASS="REFSECT2"
9477><A
Daniel Veillardaec63562003-03-23 20:42:17 +00009478NAME="AEN2166"
Daniel Veillard06622df2002-01-21 17:53:42 +00009479></A
9480><H3
9481><A
9482NAME="XMLPARSEDTD"
9483></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009484>xmlParseDTD ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009485><TABLE
9486BORDER="0"
9487BGCOLOR="#D6E8FF"
9488WIDTH="100%"
9489CELLPADDING="6"
9490><TR
9491><TD
9492><PRE
9493CLASS="PROGRAMLISTING"
9494><A
9495HREF="libxml-tree.html#XMLDTDPTR"
9496>xmlDtdPtr</A
9497> xmlParseDTD (const <A
9498HREF="libxml-tree.html#XMLCHAR"
9499>xmlChar</A
9500> *ExternalID,
9501 const <A
9502HREF="libxml-tree.html#XMLCHAR"
9503>xmlChar</A
9504> *SystemID);</PRE
9505></TD
9506></TR
9507></TABLE
9508><P
9509>Load and parse an external subset.</P
9510><P
9511></P
9512><DIV
9513CLASS="INFORMALTABLE"
9514><A
Daniel Veillardaec63562003-03-23 20:42:17 +00009515NAME="AEN2175"
9516></A
9517><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009518></P
9519><TABLE
9520BORDER="0"
9521WIDTH="100%"
9522BGCOLOR="#FFD0D0"
9523CELLSPACING="0"
9524CELLPADDING="4"
9525CLASS="CALSTABLE"
9526><TBODY
9527><TR
9528><TD
9529WIDTH="20%"
9530ALIGN="RIGHT"
9531VALIGN="TOP"
9532><TT
9533CLASS="PARAMETER"
9534><I
9535>ExternalID</I
9536></TT
9537>&nbsp;:</TD
9538><TD
9539WIDTH="80%"
9540ALIGN="LEFT"
9541VALIGN="TOP"
9542> a NAME* containing the External ID of the DTD</TD
9543></TR
9544><TR
9545><TD
9546WIDTH="20%"
9547ALIGN="RIGHT"
9548VALIGN="TOP"
9549><TT
9550CLASS="PARAMETER"
9551><I
9552>SystemID</I
9553></TT
9554>&nbsp;:</TD
9555><TD
9556WIDTH="80%"
9557ALIGN="LEFT"
9558VALIGN="TOP"
9559> a NAME* containing the URL to the DTD</TD
9560></TR
9561><TR
9562><TD
9563WIDTH="20%"
9564ALIGN="RIGHT"
9565VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009566><SPAN
9567CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00009568><I
9569CLASS="EMPHASIS"
9570>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009571></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00009572> :</TD
9573><TD
9574WIDTH="80%"
9575ALIGN="LEFT"
9576VALIGN="TOP"
9577>the resulting xmlDtdPtr or NULL in case of error.</TD
9578></TR
9579></TBODY
9580></TABLE
9581><P
9582></P
9583></DIV
9584></DIV
9585><HR><DIV
9586CLASS="REFSECT2"
9587><A
Daniel Veillardaec63562003-03-23 20:42:17 +00009588NAME="AEN2192"
Daniel Veillard06622df2002-01-21 17:53:42 +00009589></A
9590><H3
9591><A
9592NAME="XMLSAXPARSEDTD"
9593></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009594>xmlSAXParseDTD ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009595><TABLE
9596BORDER="0"
9597BGCOLOR="#D6E8FF"
9598WIDTH="100%"
9599CELLPADDING="6"
9600><TR
9601><TD
9602><PRE
9603CLASS="PROGRAMLISTING"
9604><A
9605HREF="libxml-tree.html#XMLDTDPTR"
9606>xmlDtdPtr</A
9607> xmlSAXParseDTD (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009608HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00009609>xmlSAXHandlerPtr</A
9610> sax,
9611 const <A
9612HREF="libxml-tree.html#XMLCHAR"
9613>xmlChar</A
9614> *ExternalID,
9615 const <A
9616HREF="libxml-tree.html#XMLCHAR"
9617>xmlChar</A
9618> *SystemID);</PRE
9619></TD
9620></TR
9621></TABLE
9622><P
9623>Load and parse an external subset.</P
9624><P
9625></P
9626><DIV
9627CLASS="INFORMALTABLE"
9628><A
Daniel Veillardaec63562003-03-23 20:42:17 +00009629NAME="AEN2202"
9630></A
9631><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009632></P
9633><TABLE
9634BORDER="0"
9635WIDTH="100%"
9636BGCOLOR="#FFD0D0"
9637CELLSPACING="0"
9638CELLPADDING="4"
9639CLASS="CALSTABLE"
9640><TBODY
9641><TR
9642><TD
9643WIDTH="20%"
9644ALIGN="RIGHT"
9645VALIGN="TOP"
9646><TT
9647CLASS="PARAMETER"
9648><I
9649>sax</I
9650></TT
9651>&nbsp;:</TD
9652><TD
9653WIDTH="80%"
9654ALIGN="LEFT"
9655VALIGN="TOP"
9656> the SAX handler block</TD
9657></TR
9658><TR
9659><TD
9660WIDTH="20%"
9661ALIGN="RIGHT"
9662VALIGN="TOP"
9663><TT
9664CLASS="PARAMETER"
9665><I
9666>ExternalID</I
9667></TT
9668>&nbsp;:</TD
9669><TD
9670WIDTH="80%"
9671ALIGN="LEFT"
9672VALIGN="TOP"
9673> a NAME* containing the External ID of the DTD</TD
9674></TR
9675><TR
9676><TD
9677WIDTH="20%"
9678ALIGN="RIGHT"
9679VALIGN="TOP"
9680><TT
9681CLASS="PARAMETER"
9682><I
9683>SystemID</I
9684></TT
9685>&nbsp;:</TD
9686><TD
9687WIDTH="80%"
9688ALIGN="LEFT"
9689VALIGN="TOP"
9690> a NAME* containing the URL to the DTD</TD
9691></TR
9692><TR
9693><TD
9694WIDTH="20%"
9695ALIGN="RIGHT"
9696VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009697><SPAN
9698CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00009699><I
9700CLASS="EMPHASIS"
9701>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009702></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00009703> :</TD
9704><TD
9705WIDTH="80%"
9706ALIGN="LEFT"
9707VALIGN="TOP"
9708>the resulting xmlDtdPtr or NULL in case of error.</TD
9709></TR
9710></TBODY
9711></TABLE
9712><P
9713></P
9714></DIV
9715></DIV
9716><HR><DIV
9717CLASS="REFSECT2"
9718><A
Daniel Veillardaec63562003-03-23 20:42:17 +00009719NAME="AEN2223"
Daniel Veillard06622df2002-01-21 17:53:42 +00009720></A
9721><H3
9722><A
9723NAME="XMLIOPARSEDTD"
9724></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009725>xmlIOParseDTD ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009726><TABLE
9727BORDER="0"
9728BGCOLOR="#D6E8FF"
9729WIDTH="100%"
9730CELLPADDING="6"
9731><TR
9732><TD
9733><PRE
9734CLASS="PROGRAMLISTING"
9735><A
9736HREF="libxml-tree.html#XMLDTDPTR"
9737>xmlDtdPtr</A
9738> xmlIOParseDTD (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009739HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00009740>xmlSAXHandlerPtr</A
9741> sax,
9742 <A
9743HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
9744>xmlParserInputBufferPtr</A
9745> input,
9746 <A
9747HREF="libxml-encoding.html#XMLCHARENCODING"
9748>xmlCharEncoding</A
9749> enc);</PRE
9750></TD
9751></TR
9752></TABLE
9753><P
9754>Load and parse a DTD</P
9755><P
9756></P
9757><DIV
9758CLASS="INFORMALTABLE"
9759><A
Daniel Veillardaec63562003-03-23 20:42:17 +00009760NAME="AEN2233"
9761></A
9762><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009763></P
9764><TABLE
9765BORDER="0"
9766WIDTH="100%"
9767BGCOLOR="#FFD0D0"
9768CELLSPACING="0"
9769CELLPADDING="4"
9770CLASS="CALSTABLE"
9771><TBODY
9772><TR
9773><TD
9774WIDTH="20%"
9775ALIGN="RIGHT"
9776VALIGN="TOP"
9777><TT
9778CLASS="PARAMETER"
9779><I
9780>sax</I
9781></TT
9782>&nbsp;:</TD
9783><TD
9784WIDTH="80%"
9785ALIGN="LEFT"
9786VALIGN="TOP"
9787> the SAX handler block or NULL</TD
9788></TR
9789><TR
9790><TD
9791WIDTH="20%"
9792ALIGN="RIGHT"
9793VALIGN="TOP"
9794><TT
9795CLASS="PARAMETER"
9796><I
9797>input</I
9798></TT
9799>&nbsp;:</TD
9800><TD
9801WIDTH="80%"
9802ALIGN="LEFT"
9803VALIGN="TOP"
9804> an Input Buffer</TD
9805></TR
9806><TR
9807><TD
9808WIDTH="20%"
9809ALIGN="RIGHT"
9810VALIGN="TOP"
9811><TT
9812CLASS="PARAMETER"
9813><I
9814>enc</I
9815></TT
9816>&nbsp;:</TD
9817><TD
9818WIDTH="80%"
9819ALIGN="LEFT"
9820VALIGN="TOP"
9821> the charset encoding if known</TD
9822></TR
9823><TR
9824><TD
9825WIDTH="20%"
9826ALIGN="RIGHT"
9827VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009828><SPAN
9829CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00009830><I
9831CLASS="EMPHASIS"
9832>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009833></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00009834> :</TD
9835><TD
9836WIDTH="80%"
9837ALIGN="LEFT"
9838VALIGN="TOP"
9839>the resulting xmlDtdPtr or NULL in case of error.
9840<TT
9841CLASS="PARAMETER"
9842><I
9843>input</I
9844></TT
9845> will be freed at parsing end.</TD
9846></TR
9847></TBODY
9848></TABLE
9849><P
9850></P
9851></DIV
9852></DIV
9853><HR><DIV
9854CLASS="REFSECT2"
9855><A
Daniel Veillardaec63562003-03-23 20:42:17 +00009856NAME="AEN2255"
Daniel Veillard06622df2002-01-21 17:53:42 +00009857></A
9858><H3
9859><A
9860NAME="XMLPARSEBALANCEDCHUNKMEMORY"
9861></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009862>xmlParseBalancedChunkMemory ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009863><TABLE
9864BORDER="0"
9865BGCOLOR="#D6E8FF"
9866WIDTH="100%"
9867CELLPADDING="6"
9868><TR
9869><TD
9870><PRE
9871CLASS="PROGRAMLISTING"
9872>int xmlParseBalancedChunkMemory (<A
9873HREF="libxml-tree.html#XMLDOCPTR"
9874>xmlDocPtr</A
9875> doc,
9876 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009877HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00009878>xmlSAXHandlerPtr</A
9879> sax,
9880 void *user_data,
9881 int depth,
9882 const <A
9883HREF="libxml-tree.html#XMLCHAR"
9884>xmlChar</A
9885> *string,
9886 <A
9887HREF="libxml-tree.html#XMLNODEPTR"
9888>xmlNodePtr</A
9889> *lst);</PRE
9890></TD
9891></TR
9892></TABLE
9893><P
9894>Parse a well-balanced chunk of an XML document
9895called by the parser
9896The allowed sequence for the Well Balanced Chunk is the one defined by
9897the content production in the XML grammar:</P
9898><P
9899>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
9900><P
9901></P
9902><DIV
9903CLASS="INFORMALTABLE"
9904><A
Daniel Veillardaec63562003-03-23 20:42:17 +00009905NAME="AEN2266"
9906></A
9907><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009908></P
9909><TABLE
9910BORDER="0"
9911WIDTH="100%"
9912BGCOLOR="#FFD0D0"
9913CELLSPACING="0"
9914CELLPADDING="4"
9915CLASS="CALSTABLE"
9916><TBODY
9917><TR
9918><TD
9919WIDTH="20%"
9920ALIGN="RIGHT"
9921VALIGN="TOP"
9922><TT
9923CLASS="PARAMETER"
9924><I
9925>doc</I
9926></TT
9927>&nbsp;:</TD
9928><TD
9929WIDTH="80%"
9930ALIGN="LEFT"
9931VALIGN="TOP"
9932> the document the chunk pertains to</TD
9933></TR
9934><TR
9935><TD
9936WIDTH="20%"
9937ALIGN="RIGHT"
9938VALIGN="TOP"
9939><TT
9940CLASS="PARAMETER"
9941><I
9942>sax</I
9943></TT
9944>&nbsp;:</TD
9945><TD
9946WIDTH="80%"
9947ALIGN="LEFT"
9948VALIGN="TOP"
9949> the SAX handler bloc (possibly NULL)</TD
9950></TR
9951><TR
9952><TD
9953WIDTH="20%"
9954ALIGN="RIGHT"
9955VALIGN="TOP"
9956><TT
9957CLASS="PARAMETER"
9958><I
9959>user_data</I
9960></TT
9961>&nbsp;:</TD
9962><TD
9963WIDTH="80%"
9964ALIGN="LEFT"
9965VALIGN="TOP"
9966> The user data returned on SAX callbacks (possibly NULL)</TD
9967></TR
9968><TR
9969><TD
9970WIDTH="20%"
9971ALIGN="RIGHT"
9972VALIGN="TOP"
9973><TT
9974CLASS="PARAMETER"
9975><I
9976>depth</I
9977></TT
9978>&nbsp;:</TD
9979><TD
9980WIDTH="80%"
9981ALIGN="LEFT"
9982VALIGN="TOP"
9983> Used for loop detection, use 0</TD
9984></TR
9985><TR
9986><TD
9987WIDTH="20%"
9988ALIGN="RIGHT"
9989VALIGN="TOP"
9990><TT
9991CLASS="PARAMETER"
9992><I
9993>string</I
9994></TT
9995>&nbsp;:</TD
9996><TD
9997WIDTH="80%"
9998ALIGN="LEFT"
9999VALIGN="TOP"
10000> the input string in UTF8 or ISO-Latin (zero terminated)</TD
10001></TR
10002><TR
10003><TD
10004WIDTH="20%"
10005ALIGN="RIGHT"
10006VALIGN="TOP"
10007><TT
10008CLASS="PARAMETER"
10009><I
10010>lst</I
10011></TT
10012>&nbsp;:</TD
10013><TD
10014WIDTH="80%"
10015ALIGN="LEFT"
10016VALIGN="TOP"
10017> the return value for the set of parsed nodes</TD
10018></TR
10019><TR
10020><TD
10021WIDTH="20%"
10022ALIGN="RIGHT"
10023VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010024><SPAN
10025CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000010026><I
10027CLASS="EMPHASIS"
10028>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010029></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000010030> :</TD
10031><TD
10032WIDTH="80%"
10033ALIGN="LEFT"
10034VALIGN="TOP"
10035>0 if the chunk is well balanced, -1 in case of args problem and
Daniel Veillardaec63562003-03-23 20:42:17 +000010036 the parser error code otherwise</TD
Daniel Veillard06622df2002-01-21 17:53:42 +000010037></TR
10038></TBODY
10039></TABLE
10040><P
10041></P
10042></DIV
10043></DIV
10044><HR><DIV
10045CLASS="REFSECT2"
10046><A
Daniel Veillardaec63562003-03-23 20:42:17 +000010047NAME="AEN2299"
Daniel Veillard2ace1952002-09-26 12:28:02 +000010048></A
10049><H3
10050><A
10051NAME="XMLPARSEBALANCEDCHUNKMEMORYRECOVER"
10052></A
10053>xmlParseBalancedChunkMemoryRecover ()</H3
10054><TABLE
10055BORDER="0"
10056BGCOLOR="#D6E8FF"
10057WIDTH="100%"
10058CELLPADDING="6"
10059><TR
10060><TD
10061><PRE
10062CLASS="PROGRAMLISTING"
10063>int xmlParseBalancedChunkMemoryRecover
10064 (<A
10065HREF="libxml-tree.html#XMLDOCPTR"
10066>xmlDocPtr</A
10067> doc,
10068 <A
10069HREF="libxml-tree.html#XMLSAXHANDLERPTR"
10070>xmlSAXHandlerPtr</A
10071> sax,
10072 void *user_data,
10073 int depth,
10074 const <A
10075HREF="libxml-tree.html#XMLCHAR"
10076>xmlChar</A
10077> *string,
10078 <A
10079HREF="libxml-tree.html#XMLNODEPTR"
10080>xmlNodePtr</A
10081> *lst,
10082 int recover);</PRE
10083></TD
10084></TR
10085></TABLE
10086><P
10087>Parse a well-balanced chunk of an XML document
10088called by the parser
10089The allowed sequence for the Well Balanced Chunk is the one defined by
10090the content production in the XML grammar:</P
10091><P
10092>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
10093><P
10094></P
10095><DIV
10096CLASS="INFORMALTABLE"
10097><A
Daniel Veillardaec63562003-03-23 20:42:17 +000010098NAME="AEN2310"
10099></A
10100><P
Daniel Veillard2ace1952002-09-26 12:28:02 +000010101></P
10102><TABLE
10103BORDER="0"
10104WIDTH="100%"
10105BGCOLOR="#FFD0D0"
10106CELLSPACING="0"
10107CELLPADDING="4"
10108CLASS="CALSTABLE"
10109><TBODY
10110><TR
10111><TD
10112WIDTH="20%"
10113ALIGN="RIGHT"
10114VALIGN="TOP"
10115><TT
10116CLASS="PARAMETER"
10117><I
10118>doc</I
10119></TT
10120>&nbsp;:</TD
10121><TD
10122WIDTH="80%"
10123ALIGN="LEFT"
10124VALIGN="TOP"
10125> the document the chunk pertains to</TD
10126></TR
10127><TR
10128><TD
10129WIDTH="20%"
10130ALIGN="RIGHT"
10131VALIGN="TOP"
10132><TT
10133CLASS="PARAMETER"
10134><I
10135>sax</I
10136></TT
10137>&nbsp;:</TD
10138><TD
10139WIDTH="80%"
10140ALIGN="LEFT"
10141VALIGN="TOP"
10142> the SAX handler bloc (possibly NULL)</TD
10143></TR
10144><TR
10145><TD
10146WIDTH="20%"
10147ALIGN="RIGHT"
10148VALIGN="TOP"
10149><TT
10150CLASS="PARAMETER"
10151><I
10152>user_data</I
10153></TT
10154>&nbsp;:</TD
10155><TD
10156WIDTH="80%"
10157ALIGN="LEFT"
10158VALIGN="TOP"
10159> The user data returned on SAX callbacks (possibly NULL)</TD
10160></TR
10161><TR
10162><TD
10163WIDTH="20%"
10164ALIGN="RIGHT"
10165VALIGN="TOP"
10166><TT
10167CLASS="PARAMETER"
10168><I
10169>depth</I
10170></TT
10171>&nbsp;:</TD
10172><TD
10173WIDTH="80%"
10174ALIGN="LEFT"
10175VALIGN="TOP"
10176> Used for loop detection, use 0</TD
10177></TR
10178><TR
10179><TD
10180WIDTH="20%"
10181ALIGN="RIGHT"
10182VALIGN="TOP"
10183><TT
10184CLASS="PARAMETER"
10185><I
10186>string</I
10187></TT
10188>&nbsp;:</TD
10189><TD
10190WIDTH="80%"
10191ALIGN="LEFT"
10192VALIGN="TOP"
10193> the input string in UTF8 or ISO-Latin (zero terminated)</TD
10194></TR
10195><TR
10196><TD
10197WIDTH="20%"
10198ALIGN="RIGHT"
10199VALIGN="TOP"
10200><TT
10201CLASS="PARAMETER"
10202><I
10203>lst</I
10204></TT
10205>&nbsp;:</TD
10206><TD
10207WIDTH="80%"
10208ALIGN="LEFT"
10209VALIGN="TOP"
10210> the return value for the set of parsed nodes</TD
10211></TR
10212><TR
10213><TD
10214WIDTH="20%"
10215ALIGN="RIGHT"
10216VALIGN="TOP"
10217><TT
10218CLASS="PARAMETER"
10219><I
10220>recover</I
10221></TT
10222>&nbsp;:</TD
10223><TD
10224WIDTH="80%"
10225ALIGN="LEFT"
10226VALIGN="TOP"
10227> return nodes even if the data is broken (use 0)</TD
10228></TR
10229><TR
10230><TD
10231WIDTH="20%"
10232ALIGN="RIGHT"
10233VALIGN="TOP"
10234><SPAN
10235CLASS="emphasis"
10236><I
10237CLASS="EMPHASIS"
10238>Returns</I
10239></SPAN
10240> :</TD
10241><TD
10242WIDTH="80%"
10243ALIGN="LEFT"
10244VALIGN="TOP"
10245>0 if the chunk is well balanced, -1 in case of args problem and
Daniel Veillardaec63562003-03-23 20:42:17 +000010246 the parser error code otherwise
10247
Daniel Veillard2ace1952002-09-26 12:28:02 +000010248In case recover is set to 1, the nodelist will not be empty even if
10249the parsed chunk is not well balanced. </TD
10250></TR
10251></TBODY
10252></TABLE
10253><P
10254></P
10255></DIV
10256></DIV
10257><HR><DIV
10258CLASS="REFSECT2"
10259><A
Daniel Veillardaec63562003-03-23 20:42:17 +000010260NAME="AEN2347"
Daniel Veillard06622df2002-01-21 17:53:42 +000010261></A
10262><H3
10263><A
10264NAME="XMLPARSEEXTERNALENTITY"
10265></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010266>xmlParseExternalEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010267><TABLE
10268BORDER="0"
10269BGCOLOR="#D6E8FF"
10270WIDTH="100%"
10271CELLPADDING="6"
10272><TR
10273><TD
10274><PRE
10275CLASS="PROGRAMLISTING"
10276>int xmlParseExternalEntity (<A
10277HREF="libxml-tree.html#XMLDOCPTR"
10278>xmlDocPtr</A
10279> doc,
10280 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010281HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +000010282>xmlSAXHandlerPtr</A
10283> sax,
10284 void *user_data,
10285 int depth,
10286 const <A
10287HREF="libxml-tree.html#XMLCHAR"
10288>xmlChar</A
10289> *URL,
10290 const <A
10291HREF="libxml-tree.html#XMLCHAR"
10292>xmlChar</A
10293> *ID,
10294 <A
10295HREF="libxml-tree.html#XMLNODEPTR"
10296>xmlNodePtr</A
10297> *lst);</PRE
10298></TD
10299></TR
10300></TABLE
10301><P
10302>Parse an external general entity
10303An external general parsed entity is well-formed if it matches the
10304production labeled extParsedEnt.</P
10305><P
10306>[78] extParsedEnt ::= TextDecl? content</P
10307><P
10308></P
10309><DIV
10310CLASS="INFORMALTABLE"
10311><A
Daniel Veillardaec63562003-03-23 20:42:17 +000010312NAME="AEN2359"
10313></A
10314><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010315></P
10316><TABLE
10317BORDER="0"
10318WIDTH="100%"
10319BGCOLOR="#FFD0D0"
10320CELLSPACING="0"
10321CELLPADDING="4"
10322CLASS="CALSTABLE"
10323><TBODY
10324><TR
10325><TD
10326WIDTH="20%"
10327ALIGN="RIGHT"
10328VALIGN="TOP"
10329><TT
10330CLASS="PARAMETER"
10331><I
10332>doc</I
10333></TT
10334>&nbsp;:</TD
10335><TD
10336WIDTH="80%"
10337ALIGN="LEFT"
10338VALIGN="TOP"
10339> the document the chunk pertains to</TD
10340></TR
10341><TR
10342><TD
10343WIDTH="20%"
10344ALIGN="RIGHT"
10345VALIGN="TOP"
10346><TT
10347CLASS="PARAMETER"
10348><I
10349>sax</I
10350></TT
10351>&nbsp;:</TD
10352><TD
10353WIDTH="80%"
10354ALIGN="LEFT"
10355VALIGN="TOP"
10356> the SAX handler bloc (possibly NULL)</TD
10357></TR
10358><TR
10359><TD
10360WIDTH="20%"
10361ALIGN="RIGHT"
10362VALIGN="TOP"
10363><TT
10364CLASS="PARAMETER"
10365><I
10366>user_data</I
10367></TT
10368>&nbsp;:</TD
10369><TD
10370WIDTH="80%"
10371ALIGN="LEFT"
10372VALIGN="TOP"
10373> The user data returned on SAX callbacks (possibly NULL)</TD
10374></TR
10375><TR
10376><TD
10377WIDTH="20%"
10378ALIGN="RIGHT"
10379VALIGN="TOP"
10380><TT
10381CLASS="PARAMETER"
10382><I
10383>depth</I
10384></TT
10385>&nbsp;:</TD
10386><TD
10387WIDTH="80%"
10388ALIGN="LEFT"
10389VALIGN="TOP"
10390> Used for loop detection, use 0</TD
10391></TR
10392><TR
10393><TD
10394WIDTH="20%"
10395ALIGN="RIGHT"
10396VALIGN="TOP"
10397><TT
10398CLASS="PARAMETER"
10399><I
10400>URL</I
10401></TT
10402>&nbsp;:</TD
10403><TD
10404WIDTH="80%"
10405ALIGN="LEFT"
10406VALIGN="TOP"
10407> the URL for the entity to load</TD
10408></TR
10409><TR
10410><TD
10411WIDTH="20%"
10412ALIGN="RIGHT"
10413VALIGN="TOP"
10414><TT
10415CLASS="PARAMETER"
10416><I
10417>ID</I
10418></TT
10419>&nbsp;:</TD
10420><TD
10421WIDTH="80%"
10422ALIGN="LEFT"
10423VALIGN="TOP"
10424> the System ID for the entity to load</TD
10425></TR
10426><TR
10427><TD
10428WIDTH="20%"
10429ALIGN="RIGHT"
10430VALIGN="TOP"
10431><TT
10432CLASS="PARAMETER"
10433><I
10434>lst</I
10435></TT
10436>&nbsp;:</TD
10437><TD
10438WIDTH="80%"
10439ALIGN="LEFT"
10440VALIGN="TOP"
10441> the return value for the set of parsed nodes</TD
10442></TR
10443><TR
10444><TD
10445WIDTH="20%"
10446ALIGN="RIGHT"
10447VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010448><SPAN
10449CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000010450><I
10451CLASS="EMPHASIS"
10452>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010453></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000010454> :</TD
10455><TD
10456WIDTH="80%"
10457ALIGN="LEFT"
10458VALIGN="TOP"
10459>0 if the entity is well formed, -1 in case of args problem and
Daniel Veillardaec63562003-03-23 20:42:17 +000010460 the parser error code otherwise</TD
Daniel Veillard06622df2002-01-21 17:53:42 +000010461></TR
10462></TBODY
10463></TABLE
10464><P
10465></P
10466></DIV
10467></DIV
10468><HR><DIV
10469CLASS="REFSECT2"
10470><A
Daniel Veillardaec63562003-03-23 20:42:17 +000010471NAME="AEN2396"
Daniel Veillard06622df2002-01-21 17:53:42 +000010472></A
10473><H3
10474><A
10475NAME="XMLPARSECTXTEXTERNALENTITY"
10476></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010477>xmlParseCtxtExternalEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010478><TABLE
10479BORDER="0"
10480BGCOLOR="#D6E8FF"
10481WIDTH="100%"
10482CELLPADDING="6"
10483><TR
10484><TD
10485><PRE
10486CLASS="PROGRAMLISTING"
10487>int xmlParseCtxtExternalEntity (<A
10488HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10489>xmlParserCtxtPtr</A
10490> ctx,
10491 const <A
10492HREF="libxml-tree.html#XMLCHAR"
10493>xmlChar</A
10494> *URL,
10495 const <A
10496HREF="libxml-tree.html#XMLCHAR"
10497>xmlChar</A
10498> *ID,
10499 <A
10500HREF="libxml-tree.html#XMLNODEPTR"
10501>xmlNodePtr</A
10502> *lst);</PRE
10503></TD
10504></TR
10505></TABLE
10506><P
10507>Parse an external general entity within an existing parsing context
10508An external general parsed entity is well-formed if it matches the
10509production labeled extParsedEnt.</P
10510><P
10511>[78] extParsedEnt ::= TextDecl? content</P
10512><P
10513></P
10514><DIV
10515CLASS="INFORMALTABLE"
10516><A
Daniel Veillardaec63562003-03-23 20:42:17 +000010517NAME="AEN2407"
10518></A
10519><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010520></P
10521><TABLE
10522BORDER="0"
10523WIDTH="100%"
10524BGCOLOR="#FFD0D0"
10525CELLSPACING="0"
10526CELLPADDING="4"
10527CLASS="CALSTABLE"
10528><TBODY
10529><TR
10530><TD
10531WIDTH="20%"
10532ALIGN="RIGHT"
10533VALIGN="TOP"
10534><TT
10535CLASS="PARAMETER"
10536><I
10537>ctx</I
10538></TT
10539>&nbsp;:</TD
10540><TD
10541WIDTH="80%"
10542ALIGN="LEFT"
10543VALIGN="TOP"
10544> the existing parsing context</TD
10545></TR
10546><TR
10547><TD
10548WIDTH="20%"
10549ALIGN="RIGHT"
10550VALIGN="TOP"
10551><TT
10552CLASS="PARAMETER"
10553><I
10554>URL</I
10555></TT
10556>&nbsp;:</TD
10557><TD
10558WIDTH="80%"
10559ALIGN="LEFT"
10560VALIGN="TOP"
10561> the URL for the entity to load</TD
10562></TR
10563><TR
10564><TD
10565WIDTH="20%"
10566ALIGN="RIGHT"
10567VALIGN="TOP"
10568><TT
10569CLASS="PARAMETER"
10570><I
10571>ID</I
10572></TT
10573>&nbsp;:</TD
10574><TD
10575WIDTH="80%"
10576ALIGN="LEFT"
10577VALIGN="TOP"
10578> the System ID for the entity to load</TD
10579></TR
10580><TR
10581><TD
10582WIDTH="20%"
10583ALIGN="RIGHT"
10584VALIGN="TOP"
10585><TT
10586CLASS="PARAMETER"
10587><I
10588>lst</I
10589></TT
10590>&nbsp;:</TD
10591><TD
10592WIDTH="80%"
10593ALIGN="LEFT"
10594VALIGN="TOP"
10595> the return value for the set of parsed nodes</TD
10596></TR
10597><TR
10598><TD
10599WIDTH="20%"
10600ALIGN="RIGHT"
10601VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010602><SPAN
10603CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000010604><I
10605CLASS="EMPHASIS"
10606>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010607></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000010608> :</TD
10609><TD
10610WIDTH="80%"
10611ALIGN="LEFT"
10612VALIGN="TOP"
10613>0 if the entity is well formed, -1 in case of args problem and
Daniel Veillardaec63562003-03-23 20:42:17 +000010614 the parser error code otherwise</TD
Daniel Veillard06622df2002-01-21 17:53:42 +000010615></TR
10616></TBODY
10617></TABLE
10618><P
10619></P
10620></DIV
10621></DIV
10622><HR><DIV
10623CLASS="REFSECT2"
10624><A
Daniel Veillardaec63562003-03-23 20:42:17 +000010625NAME="AEN2432"
Daniel Veillard06622df2002-01-21 17:53:42 +000010626></A
10627><H3
10628><A
10629NAME="XMLINITPARSERCTXT"
10630></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010631>xmlInitParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010632><TABLE
10633BORDER="0"
10634BGCOLOR="#D6E8FF"
10635WIDTH="100%"
10636CELLPADDING="6"
10637><TR
10638><TD
10639><PRE
10640CLASS="PROGRAMLISTING"
10641>void xmlInitParserCtxt (<A
10642HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10643>xmlParserCtxtPtr</A
10644> ctxt);</PRE
10645></TD
10646></TR
10647></TABLE
10648><P
10649>Initialize a parser context</P
10650><P
10651></P
10652><DIV
10653CLASS="INFORMALTABLE"
10654><A
Daniel Veillardaec63562003-03-23 20:42:17 +000010655NAME="AEN2439"
10656></A
10657><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010658></P
10659><TABLE
10660BORDER="0"
10661WIDTH="100%"
10662BGCOLOR="#FFD0D0"
10663CELLSPACING="0"
10664CELLPADDING="4"
10665CLASS="CALSTABLE"
10666><TBODY
10667><TR
10668><TD
10669WIDTH="20%"
10670ALIGN="RIGHT"
10671VALIGN="TOP"
10672><TT
10673CLASS="PARAMETER"
10674><I
10675>ctxt</I
10676></TT
10677>&nbsp;:</TD
10678><TD
10679WIDTH="80%"
10680ALIGN="LEFT"
10681VALIGN="TOP"
10682> an XML parser context</TD
10683></TR
10684></TBODY
10685></TABLE
10686><P
10687></P
10688></DIV
10689></DIV
10690><HR><DIV
10691CLASS="REFSECT2"
10692><A
Daniel Veillardaec63562003-03-23 20:42:17 +000010693NAME="AEN2448"
Daniel Veillard06622df2002-01-21 17:53:42 +000010694></A
10695><H3
10696><A
10697NAME="XMLCLEARPARSERCTXT"
10698></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010699>xmlClearParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010700><TABLE
10701BORDER="0"
10702BGCOLOR="#D6E8FF"
10703WIDTH="100%"
10704CELLPADDING="6"
10705><TR
10706><TD
10707><PRE
10708CLASS="PROGRAMLISTING"
10709>void xmlClearParserCtxt (<A
10710HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10711>xmlParserCtxtPtr</A
10712> ctxt);</PRE
10713></TD
10714></TR
10715></TABLE
10716><P
10717>Clear (release owned resources) and reinitialize a parser context</P
10718><P
10719></P
10720><DIV
10721CLASS="INFORMALTABLE"
10722><A
Daniel Veillardaec63562003-03-23 20:42:17 +000010723NAME="AEN2455"
10724></A
10725><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010726></P
10727><TABLE
10728BORDER="0"
10729WIDTH="100%"
10730BGCOLOR="#FFD0D0"
10731CELLSPACING="0"
10732CELLPADDING="4"
10733CLASS="CALSTABLE"
10734><TBODY
10735><TR
10736><TD
10737WIDTH="20%"
10738ALIGN="RIGHT"
10739VALIGN="TOP"
10740><TT
10741CLASS="PARAMETER"
10742><I
10743>ctxt</I
10744></TT
10745>&nbsp;:</TD
10746><TD
10747WIDTH="80%"
10748ALIGN="LEFT"
10749VALIGN="TOP"
10750> an XML parser context</TD
10751></TR
10752></TBODY
10753></TABLE
10754><P
10755></P
10756></DIV
10757></DIV
10758><HR><DIV
10759CLASS="REFSECT2"
10760><A
Daniel Veillardaec63562003-03-23 20:42:17 +000010761NAME="AEN2464"
Daniel Veillard06622df2002-01-21 17:53:42 +000010762></A
10763><H3
10764><A
10765NAME="XMLFREEPARSERCTXT"
10766></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010767>xmlFreeParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010768><TABLE
10769BORDER="0"
10770BGCOLOR="#D6E8FF"
10771WIDTH="100%"
10772CELLPADDING="6"
10773><TR
10774><TD
10775><PRE
10776CLASS="PROGRAMLISTING"
10777>void xmlFreeParserCtxt (<A
10778HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10779>xmlParserCtxtPtr</A
10780> ctxt);</PRE
10781></TD
10782></TR
10783></TABLE
10784><P
10785>Free all the memory used by a parser context. However the parsed
10786document in ctxt-&gt;myDoc is not freed.</P
10787><P
10788></P
10789><DIV
10790CLASS="INFORMALTABLE"
10791><A
Daniel Veillardaec63562003-03-23 20:42:17 +000010792NAME="AEN2471"
10793></A
10794><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010795></P
10796><TABLE
10797BORDER="0"
10798WIDTH="100%"
10799BGCOLOR="#FFD0D0"
10800CELLSPACING="0"
10801CELLPADDING="4"
10802CLASS="CALSTABLE"
10803><TBODY
10804><TR
10805><TD
10806WIDTH="20%"
10807ALIGN="RIGHT"
10808VALIGN="TOP"
10809><TT
10810CLASS="PARAMETER"
10811><I
10812>ctxt</I
10813></TT
10814>&nbsp;:</TD
10815><TD
10816WIDTH="80%"
10817ALIGN="LEFT"
10818VALIGN="TOP"
10819> an XML parser context</TD
10820></TR
10821></TBODY
10822></TABLE
10823><P
10824></P
10825></DIV
10826></DIV
10827><HR><DIV
10828CLASS="REFSECT2"
10829><A
Daniel Veillardaec63562003-03-23 20:42:17 +000010830NAME="AEN2480"
Daniel Veillard06622df2002-01-21 17:53:42 +000010831></A
10832><H3
10833><A
10834NAME="XMLSETUPPARSERFORBUFFER"
10835></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010836>xmlSetupParserForBuffer ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010837><TABLE
10838BORDER="0"
10839BGCOLOR="#D6E8FF"
10840WIDTH="100%"
10841CELLPADDING="6"
10842><TR
10843><TD
10844><PRE
10845CLASS="PROGRAMLISTING"
10846>void xmlSetupParserForBuffer (<A
10847HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10848>xmlParserCtxtPtr</A
10849> ctxt,
10850 const <A
10851HREF="libxml-tree.html#XMLCHAR"
10852>xmlChar</A
10853> *buffer,
10854 const char *filename);</PRE
10855></TD
10856></TR
10857></TABLE
10858><P
10859>Setup the parser context to parse a new buffer; Clears any prior
10860contents from the parser context. The buffer parameter must not be
10861NULL, but the filename parameter can be</P
10862><P
10863></P
10864><DIV
10865CLASS="INFORMALTABLE"
10866><A
Daniel Veillardaec63562003-03-23 20:42:17 +000010867NAME="AEN2488"
10868></A
10869><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010870></P
10871><TABLE
10872BORDER="0"
10873WIDTH="100%"
10874BGCOLOR="#FFD0D0"
10875CELLSPACING="0"
10876CELLPADDING="4"
10877CLASS="CALSTABLE"
10878><TBODY
10879><TR
10880><TD
10881WIDTH="20%"
10882ALIGN="RIGHT"
10883VALIGN="TOP"
10884><TT
10885CLASS="PARAMETER"
10886><I
10887>ctxt</I
10888></TT
10889>&nbsp;:</TD
10890><TD
10891WIDTH="80%"
10892ALIGN="LEFT"
10893VALIGN="TOP"
10894> an XML parser context</TD
10895></TR
10896><TR
10897><TD
10898WIDTH="20%"
10899ALIGN="RIGHT"
10900VALIGN="TOP"
10901><TT
10902CLASS="PARAMETER"
10903><I
10904>buffer</I
10905></TT
10906>&nbsp;:</TD
10907><TD
10908WIDTH="80%"
10909ALIGN="LEFT"
10910VALIGN="TOP"
10911> a xmlChar * buffer</TD
10912></TR
10913><TR
10914><TD
10915WIDTH="20%"
10916ALIGN="RIGHT"
10917VALIGN="TOP"
10918><TT
10919CLASS="PARAMETER"
10920><I
10921>filename</I
10922></TT
10923>&nbsp;:</TD
10924><TD
10925WIDTH="80%"
10926ALIGN="LEFT"
10927VALIGN="TOP"
10928> a file name</TD
10929></TR
10930></TBODY
10931></TABLE
10932><P
10933></P
10934></DIV
10935></DIV
10936><HR><DIV
10937CLASS="REFSECT2"
10938><A
Daniel Veillardaec63562003-03-23 20:42:17 +000010939NAME="AEN2505"
Daniel Veillard06622df2002-01-21 17:53:42 +000010940></A
10941><H3
10942><A
10943NAME="XMLCREATEDOCPARSERCTXT"
10944></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010945>xmlCreateDocParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010946><TABLE
10947BORDER="0"
10948BGCOLOR="#D6E8FF"
10949WIDTH="100%"
10950CELLPADDING="6"
10951><TR
10952><TD
10953><PRE
10954CLASS="PROGRAMLISTING"
10955><A
10956HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10957>xmlParserCtxtPtr</A
10958> xmlCreateDocParserCtxt (<A
10959HREF="libxml-tree.html#XMLCHAR"
10960>xmlChar</A
10961> *cur);</PRE
10962></TD
10963></TR
10964></TABLE
10965><P
10966>Creates a parser context for an XML in-memory document.</P
10967><P
10968></P
10969><DIV
10970CLASS="INFORMALTABLE"
10971><A
Daniel Veillardaec63562003-03-23 20:42:17 +000010972NAME="AEN2513"
10973></A
10974><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010975></P
10976><TABLE
10977BORDER="0"
10978WIDTH="100%"
10979BGCOLOR="#FFD0D0"
10980CELLSPACING="0"
10981CELLPADDING="4"
10982CLASS="CALSTABLE"
10983><TBODY
10984><TR
10985><TD
10986WIDTH="20%"
10987ALIGN="RIGHT"
10988VALIGN="TOP"
10989><TT
10990CLASS="PARAMETER"
10991><I
10992>cur</I
10993></TT
10994>&nbsp;:</TD
10995><TD
10996WIDTH="80%"
10997ALIGN="LEFT"
10998VALIGN="TOP"
10999> a pointer to an array of xmlChar</TD
11000></TR
11001><TR
11002><TD
11003WIDTH="20%"
11004ALIGN="RIGHT"
11005VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011006><SPAN
11007CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011008><I
11009CLASS="EMPHASIS"
11010>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011011></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011012> :</TD
11013><TD
11014WIDTH="80%"
11015ALIGN="LEFT"
11016VALIGN="TOP"
11017>the new parser context or NULL</TD
11018></TR
11019></TBODY
11020></TABLE
11021><P
11022></P
11023></DIV
11024></DIV
11025><HR><DIV
11026CLASS="REFSECT2"
11027><A
Daniel Veillardaec63562003-03-23 20:42:17 +000011028NAME="AEN2526"
Daniel Veillard06622df2002-01-21 17:53:42 +000011029></A
11030><H3
11031><A
11032NAME="XMLGETFEATURESLIST"
11033></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011034>xmlGetFeaturesList ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011035><TABLE
11036BORDER="0"
11037BGCOLOR="#D6E8FF"
11038WIDTH="100%"
11039CELLPADDING="6"
11040><TR
11041><TD
11042><PRE
11043CLASS="PROGRAMLISTING"
11044>int xmlGetFeaturesList (int *len,
11045 const char **result);</PRE
11046></TD
11047></TR
11048></TABLE
11049><P
11050>Copy at most *<TT
11051CLASS="PARAMETER"
11052><I
11053>len</I
11054></TT
11055> feature names into the <TT
11056CLASS="PARAMETER"
11057><I
11058>result</I
11059></TT
11060> array</P
11061><P
11062></P
11063><DIV
11064CLASS="INFORMALTABLE"
11065><A
Daniel Veillardaec63562003-03-23 20:42:17 +000011066NAME="AEN2534"
11067></A
11068><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011069></P
11070><TABLE
11071BORDER="0"
11072WIDTH="100%"
11073BGCOLOR="#FFD0D0"
11074CELLSPACING="0"
11075CELLPADDING="4"
11076CLASS="CALSTABLE"
11077><TBODY
11078><TR
11079><TD
11080WIDTH="20%"
11081ALIGN="RIGHT"
11082VALIGN="TOP"
11083><TT
11084CLASS="PARAMETER"
11085><I
11086>len</I
11087></TT
11088>&nbsp;:</TD
11089><TD
11090WIDTH="80%"
11091ALIGN="LEFT"
11092VALIGN="TOP"
11093> the length of the features name array (input/output)</TD
11094></TR
11095><TR
11096><TD
11097WIDTH="20%"
11098ALIGN="RIGHT"
11099VALIGN="TOP"
11100><TT
11101CLASS="PARAMETER"
11102><I
11103>result</I
11104></TT
11105>&nbsp;:</TD
11106><TD
11107WIDTH="80%"
11108ALIGN="LEFT"
11109VALIGN="TOP"
11110> an array of string to be filled with the features name.</TD
11111></TR
11112><TR
11113><TD
11114WIDTH="20%"
11115ALIGN="RIGHT"
11116VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011117><SPAN
11118CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011119><I
11120CLASS="EMPHASIS"
11121>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011122></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011123> :</TD
11124><TD
11125WIDTH="80%"
11126ALIGN="LEFT"
11127VALIGN="TOP"
11128>-1 in case or error, or the total number of features,
Daniel Veillardaec63562003-03-23 20:42:17 +000011129 len is updated with the number of strings copied,
11130 strings must not be deallocated</TD
Daniel Veillard06622df2002-01-21 17:53:42 +000011131></TR
11132></TBODY
11133></TABLE
11134><P
11135></P
11136></DIV
11137></DIV
11138><HR><DIV
11139CLASS="REFSECT2"
11140><A
Daniel Veillardaec63562003-03-23 20:42:17 +000011141NAME="AEN2551"
Daniel Veillard06622df2002-01-21 17:53:42 +000011142></A
11143><H3
11144><A
11145NAME="XMLGETFEATURE"
11146></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011147>xmlGetFeature ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011148><TABLE
11149BORDER="0"
11150BGCOLOR="#D6E8FF"
11151WIDTH="100%"
11152CELLPADDING="6"
11153><TR
11154><TD
11155><PRE
11156CLASS="PROGRAMLISTING"
11157>int xmlGetFeature (<A
11158HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11159>xmlParserCtxtPtr</A
11160> ctxt,
11161 const char *name,
11162 void *result);</PRE
11163></TD
11164></TR
11165></TABLE
11166><P
11167>Read the current value of one feature of this parser instance</P
11168><P
11169></P
11170><DIV
11171CLASS="INFORMALTABLE"
11172><A
Daniel Veillardaec63562003-03-23 20:42:17 +000011173NAME="AEN2558"
11174></A
11175><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011176></P
11177><TABLE
11178BORDER="0"
11179WIDTH="100%"
11180BGCOLOR="#FFD0D0"
11181CELLSPACING="0"
11182CELLPADDING="4"
11183CLASS="CALSTABLE"
11184><TBODY
11185><TR
11186><TD
11187WIDTH="20%"
11188ALIGN="RIGHT"
11189VALIGN="TOP"
11190><TT
11191CLASS="PARAMETER"
11192><I
11193>ctxt</I
11194></TT
11195>&nbsp;:</TD
11196><TD
11197WIDTH="80%"
11198ALIGN="LEFT"
11199VALIGN="TOP"
11200> an XML/HTML parser context</TD
11201></TR
11202><TR
11203><TD
11204WIDTH="20%"
11205ALIGN="RIGHT"
11206VALIGN="TOP"
11207><TT
11208CLASS="PARAMETER"
11209><I
11210>name</I
11211></TT
11212>&nbsp;:</TD
11213><TD
11214WIDTH="80%"
11215ALIGN="LEFT"
11216VALIGN="TOP"
11217> the feature name</TD
11218></TR
11219><TR
11220><TD
11221WIDTH="20%"
11222ALIGN="RIGHT"
11223VALIGN="TOP"
11224><TT
11225CLASS="PARAMETER"
11226><I
11227>result</I
11228></TT
11229>&nbsp;:</TD
11230><TD
11231WIDTH="80%"
11232ALIGN="LEFT"
11233VALIGN="TOP"
11234> location to store the result</TD
11235></TR
11236><TR
11237><TD
11238WIDTH="20%"
11239ALIGN="RIGHT"
11240VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011241><SPAN
11242CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011243><I
11244CLASS="EMPHASIS"
11245>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011246></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011247> :</TD
11248><TD
11249WIDTH="80%"
11250ALIGN="LEFT"
11251VALIGN="TOP"
11252>-1 in case or error, 0 otherwise</TD
11253></TR
11254></TBODY
11255></TABLE
11256><P
11257></P
11258></DIV
11259></DIV
11260><HR><DIV
11261CLASS="REFSECT2"
11262><A
Daniel Veillardaec63562003-03-23 20:42:17 +000011263NAME="AEN2579"
Daniel Veillard06622df2002-01-21 17:53:42 +000011264></A
11265><H3
11266><A
11267NAME="XMLSETFEATURE"
11268></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011269>xmlSetFeature ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011270><TABLE
11271BORDER="0"
11272BGCOLOR="#D6E8FF"
11273WIDTH="100%"
11274CELLPADDING="6"
11275><TR
11276><TD
11277><PRE
11278CLASS="PROGRAMLISTING"
11279>int xmlSetFeature (<A
11280HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11281>xmlParserCtxtPtr</A
11282> ctxt,
11283 const char *name,
11284 void *value);</PRE
11285></TD
11286></TR
11287></TABLE
11288><P
11289>Change the current value of one feature of this parser instance</P
11290><P
11291></P
11292><DIV
11293CLASS="INFORMALTABLE"
11294><A
Daniel Veillardaec63562003-03-23 20:42:17 +000011295NAME="AEN2586"
11296></A
11297><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011298></P
11299><TABLE
11300BORDER="0"
11301WIDTH="100%"
11302BGCOLOR="#FFD0D0"
11303CELLSPACING="0"
11304CELLPADDING="4"
11305CLASS="CALSTABLE"
11306><TBODY
11307><TR
11308><TD
11309WIDTH="20%"
11310ALIGN="RIGHT"
11311VALIGN="TOP"
11312><TT
11313CLASS="PARAMETER"
11314><I
11315>ctxt</I
11316></TT
11317>&nbsp;:</TD
11318><TD
11319WIDTH="80%"
11320ALIGN="LEFT"
11321VALIGN="TOP"
11322> an XML/HTML parser context</TD
11323></TR
11324><TR
11325><TD
11326WIDTH="20%"
11327ALIGN="RIGHT"
11328VALIGN="TOP"
11329><TT
11330CLASS="PARAMETER"
11331><I
11332>name</I
11333></TT
11334>&nbsp;:</TD
11335><TD
11336WIDTH="80%"
11337ALIGN="LEFT"
11338VALIGN="TOP"
11339> the feature name</TD
11340></TR
11341><TR
11342><TD
11343WIDTH="20%"
11344ALIGN="RIGHT"
11345VALIGN="TOP"
11346><TT
11347CLASS="PARAMETER"
11348><I
11349>value</I
11350></TT
11351>&nbsp;:</TD
11352><TD
11353WIDTH="80%"
11354ALIGN="LEFT"
11355VALIGN="TOP"
11356> pointer to the location of the new value</TD
11357></TR
11358><TR
11359><TD
11360WIDTH="20%"
11361ALIGN="RIGHT"
11362VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011363><SPAN
11364CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011365><I
11366CLASS="EMPHASIS"
11367>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011368></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011369> :</TD
11370><TD
11371WIDTH="80%"
11372ALIGN="LEFT"
11373VALIGN="TOP"
11374>-1 in case or error, 0 otherwise</TD
11375></TR
11376></TBODY
11377></TABLE
11378><P
11379></P
11380></DIV
11381></DIV
11382><HR><DIV
11383CLASS="REFSECT2"
11384><A
Daniel Veillardaec63562003-03-23 20:42:17 +000011385NAME="AEN2607"
Daniel Veillard06622df2002-01-21 17:53:42 +000011386></A
11387><H3
11388><A
11389NAME="XMLCREATEPUSHPARSERCTXT"
11390></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011391>xmlCreatePushParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011392><TABLE
11393BORDER="0"
11394BGCOLOR="#D6E8FF"
11395WIDTH="100%"
11396CELLPADDING="6"
11397><TR
11398><TD
11399><PRE
11400CLASS="PROGRAMLISTING"
11401><A
11402HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11403>xmlParserCtxtPtr</A
11404> xmlCreatePushParserCtxt (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011405HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +000011406>xmlSAXHandlerPtr</A
11407> sax,
11408 void *user_data,
11409 const char *chunk,
11410 int size,
11411 const char *filename);</PRE
11412></TD
11413></TR
11414></TABLE
11415><P
Daniel Veillardaec63562003-03-23 20:42:17 +000011416>Create a parser context for using the XML parser in push mode.
11417If <TT
11418CLASS="PARAMETER"
11419><I
11420>buffer</I
11421></TT
11422> and <TT
11423CLASS="PARAMETER"
11424><I
11425>size</I
11426></TT
11427> are non-NULL, the data is used to detect
11428the encoding. The remaining characters will be parsed so they
11429don't need to be fed in again through xmlParseChunk.
Daniel Veillard06622df2002-01-21 17:53:42 +000011430To allow content encoding detection, <TT
11431CLASS="PARAMETER"
11432><I
11433>size</I
11434></TT
11435> should be &gt;= 4
11436The value of <TT
11437CLASS="PARAMETER"
11438><I
11439>filename</I
11440></TT
11441> is used for fetching external entities
11442and error/warning reports.</P
11443><P
11444></P
11445><DIV
11446CLASS="INFORMALTABLE"
11447><A
Daniel Veillardaec63562003-03-23 20:42:17 +000011448NAME="AEN2619"
11449></A
11450><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011451></P
11452><TABLE
11453BORDER="0"
11454WIDTH="100%"
11455BGCOLOR="#FFD0D0"
11456CELLSPACING="0"
11457CELLPADDING="4"
11458CLASS="CALSTABLE"
11459><TBODY
11460><TR
11461><TD
11462WIDTH="20%"
11463ALIGN="RIGHT"
11464VALIGN="TOP"
11465><TT
11466CLASS="PARAMETER"
11467><I
11468>sax</I
11469></TT
11470>&nbsp;:</TD
11471><TD
11472WIDTH="80%"
11473ALIGN="LEFT"
11474VALIGN="TOP"
11475> a SAX handler</TD
11476></TR
11477><TR
11478><TD
11479WIDTH="20%"
11480ALIGN="RIGHT"
11481VALIGN="TOP"
11482><TT
11483CLASS="PARAMETER"
11484><I
11485>user_data</I
11486></TT
11487>&nbsp;:</TD
11488><TD
11489WIDTH="80%"
11490ALIGN="LEFT"
11491VALIGN="TOP"
11492> The user data returned on SAX callbacks</TD
11493></TR
11494><TR
11495><TD
11496WIDTH="20%"
11497ALIGN="RIGHT"
11498VALIGN="TOP"
11499><TT
11500CLASS="PARAMETER"
11501><I
11502>chunk</I
11503></TT
11504>&nbsp;:</TD
11505><TD
11506WIDTH="80%"
11507ALIGN="LEFT"
11508VALIGN="TOP"
11509> a pointer to an array of chars</TD
11510></TR
11511><TR
11512><TD
11513WIDTH="20%"
11514ALIGN="RIGHT"
11515VALIGN="TOP"
11516><TT
11517CLASS="PARAMETER"
11518><I
11519>size</I
11520></TT
11521>&nbsp;:</TD
11522><TD
11523WIDTH="80%"
11524ALIGN="LEFT"
11525VALIGN="TOP"
11526> number of chars in the array</TD
11527></TR
11528><TR
11529><TD
11530WIDTH="20%"
11531ALIGN="RIGHT"
11532VALIGN="TOP"
11533><TT
11534CLASS="PARAMETER"
11535><I
11536>filename</I
11537></TT
11538>&nbsp;:</TD
11539><TD
11540WIDTH="80%"
11541ALIGN="LEFT"
11542VALIGN="TOP"
11543> an optional file name or URI</TD
11544></TR
11545><TR
11546><TD
11547WIDTH="20%"
11548ALIGN="RIGHT"
11549VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011550><SPAN
11551CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011552><I
11553CLASS="EMPHASIS"
11554>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011555></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011556> :</TD
11557><TD
11558WIDTH="80%"
11559ALIGN="LEFT"
11560VALIGN="TOP"
11561>the new parser context or NULL</TD
11562></TR
11563></TBODY
11564></TABLE
11565><P
11566></P
11567></DIV
11568></DIV
11569><HR><DIV
11570CLASS="REFSECT2"
11571><A
Daniel Veillardaec63562003-03-23 20:42:17 +000011572NAME="AEN2648"
Daniel Veillard06622df2002-01-21 17:53:42 +000011573></A
11574><H3
11575><A
11576NAME="XMLPARSECHUNK"
11577></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011578>xmlParseChunk ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011579><TABLE
11580BORDER="0"
11581BGCOLOR="#D6E8FF"
11582WIDTH="100%"
11583CELLPADDING="6"
11584><TR
11585><TD
11586><PRE
11587CLASS="PROGRAMLISTING"
11588>int xmlParseChunk (<A
11589HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11590>xmlParserCtxtPtr</A
11591> ctxt,
11592 const char *chunk,
11593 int size,
11594 int terminate);</PRE
11595></TD
11596></TR
11597></TABLE
11598><P
11599>Parse a Chunk of memory</P
11600><P
11601></P
11602><DIV
11603CLASS="INFORMALTABLE"
11604><A
Daniel Veillardaec63562003-03-23 20:42:17 +000011605NAME="AEN2655"
11606></A
11607><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011608></P
11609><TABLE
11610BORDER="0"
11611WIDTH="100%"
11612BGCOLOR="#FFD0D0"
11613CELLSPACING="0"
11614CELLPADDING="4"
11615CLASS="CALSTABLE"
11616><TBODY
11617><TR
11618><TD
11619WIDTH="20%"
11620ALIGN="RIGHT"
11621VALIGN="TOP"
11622><TT
11623CLASS="PARAMETER"
11624><I
11625>ctxt</I
11626></TT
11627>&nbsp;:</TD
11628><TD
11629WIDTH="80%"
11630ALIGN="LEFT"
11631VALIGN="TOP"
11632> an XML parser context</TD
11633></TR
11634><TR
11635><TD
11636WIDTH="20%"
11637ALIGN="RIGHT"
11638VALIGN="TOP"
11639><TT
11640CLASS="PARAMETER"
11641><I
11642>chunk</I
11643></TT
11644>&nbsp;:</TD
11645><TD
11646WIDTH="80%"
11647ALIGN="LEFT"
11648VALIGN="TOP"
11649> an char array</TD
11650></TR
11651><TR
11652><TD
11653WIDTH="20%"
11654ALIGN="RIGHT"
11655VALIGN="TOP"
11656><TT
11657CLASS="PARAMETER"
11658><I
11659>size</I
11660></TT
11661>&nbsp;:</TD
11662><TD
11663WIDTH="80%"
11664ALIGN="LEFT"
11665VALIGN="TOP"
11666> the size in byte of the chunk</TD
11667></TR
11668><TR
11669><TD
11670WIDTH="20%"
11671ALIGN="RIGHT"
11672VALIGN="TOP"
11673><TT
11674CLASS="PARAMETER"
11675><I
11676>terminate</I
11677></TT
11678>&nbsp;:</TD
11679><TD
11680WIDTH="80%"
11681ALIGN="LEFT"
11682VALIGN="TOP"
11683> last chunk indicator</TD
11684></TR
11685><TR
11686><TD
11687WIDTH="20%"
11688ALIGN="RIGHT"
11689VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011690><SPAN
11691CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011692><I
11693CLASS="EMPHASIS"
11694>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011695></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011696> :</TD
11697><TD
11698WIDTH="80%"
11699ALIGN="LEFT"
11700VALIGN="TOP"
11701>zero if no error, the xmlParserErrors otherwise.</TD
11702></TR
11703></TBODY
11704></TABLE
11705><P
11706></P
11707></DIV
11708></DIV
11709><HR><DIV
11710CLASS="REFSECT2"
11711><A
Daniel Veillardaec63562003-03-23 20:42:17 +000011712NAME="AEN2680"
Daniel Veillard06622df2002-01-21 17:53:42 +000011713></A
11714><H3
11715><A
11716NAME="XMLCREATEIOPARSERCTXT"
11717></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011718>xmlCreateIOParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011719><TABLE
11720BORDER="0"
11721BGCOLOR="#D6E8FF"
11722WIDTH="100%"
11723CELLPADDING="6"
11724><TR
11725><TD
11726><PRE
11727CLASS="PROGRAMLISTING"
11728><A
11729HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11730>xmlParserCtxtPtr</A
11731> xmlCreateIOParserCtxt (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011732HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +000011733>xmlSAXHandlerPtr</A
11734> sax,
11735 void *user_data,
11736 <A
11737HREF="libxml-xmlio.html#XMLINPUTREADCALLBACK"
11738>xmlInputReadCallback</A
11739> ioread,
11740 <A
11741HREF="libxml-xmlio.html#XMLINPUTCLOSECALLBACK"
11742>xmlInputCloseCallback</A
11743> ioclose,
11744 void *ioctx,
11745 <A
11746HREF="libxml-encoding.html#XMLCHARENCODING"
11747>xmlCharEncoding</A
11748> enc);</PRE
11749></TD
11750></TR
11751></TABLE
11752><P
11753>Create a parser context for using the XML parser with an existing
11754I/O stream</P
11755><P
11756></P
11757><DIV
11758CLASS="INFORMALTABLE"
11759><A
Daniel Veillardaec63562003-03-23 20:42:17 +000011760NAME="AEN2691"
11761></A
11762><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011763></P
11764><TABLE
11765BORDER="0"
11766WIDTH="100%"
11767BGCOLOR="#FFD0D0"
11768CELLSPACING="0"
11769CELLPADDING="4"
11770CLASS="CALSTABLE"
11771><TBODY
11772><TR
11773><TD
11774WIDTH="20%"
11775ALIGN="RIGHT"
11776VALIGN="TOP"
11777><TT
11778CLASS="PARAMETER"
11779><I
11780>sax</I
11781></TT
11782>&nbsp;:</TD
11783><TD
11784WIDTH="80%"
11785ALIGN="LEFT"
11786VALIGN="TOP"
11787> a SAX handler</TD
11788></TR
11789><TR
11790><TD
11791WIDTH="20%"
11792ALIGN="RIGHT"
11793VALIGN="TOP"
11794><TT
11795CLASS="PARAMETER"
11796><I
11797>user_data</I
11798></TT
11799>&nbsp;:</TD
11800><TD
11801WIDTH="80%"
11802ALIGN="LEFT"
11803VALIGN="TOP"
11804> The user data returned on SAX callbacks</TD
11805></TR
11806><TR
11807><TD
11808WIDTH="20%"
11809ALIGN="RIGHT"
11810VALIGN="TOP"
11811><TT
11812CLASS="PARAMETER"
11813><I
11814>ioread</I
11815></TT
11816>&nbsp;:</TD
11817><TD
11818WIDTH="80%"
11819ALIGN="LEFT"
11820VALIGN="TOP"
11821> an I/O read function</TD
11822></TR
11823><TR
11824><TD
11825WIDTH="20%"
11826ALIGN="RIGHT"
11827VALIGN="TOP"
11828><TT
11829CLASS="PARAMETER"
11830><I
11831>ioclose</I
11832></TT
11833>&nbsp;:</TD
11834><TD
11835WIDTH="80%"
11836ALIGN="LEFT"
11837VALIGN="TOP"
11838> an I/O close function</TD
11839></TR
11840><TR
11841><TD
11842WIDTH="20%"
11843ALIGN="RIGHT"
11844VALIGN="TOP"
11845><TT
11846CLASS="PARAMETER"
11847><I
11848>ioctx</I
11849></TT
11850>&nbsp;:</TD
11851><TD
11852WIDTH="80%"
11853ALIGN="LEFT"
11854VALIGN="TOP"
11855> an I/O handler</TD
11856></TR
11857><TR
11858><TD
11859WIDTH="20%"
11860ALIGN="RIGHT"
11861VALIGN="TOP"
11862><TT
11863CLASS="PARAMETER"
11864><I
11865>enc</I
11866></TT
11867>&nbsp;:</TD
11868><TD
11869WIDTH="80%"
11870ALIGN="LEFT"
11871VALIGN="TOP"
11872> the charset encoding if known</TD
11873></TR
11874><TR
11875><TD
11876WIDTH="20%"
11877ALIGN="RIGHT"
11878VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011879><SPAN
11880CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011881><I
11882CLASS="EMPHASIS"
11883>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011884></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011885> :</TD
11886><TD
11887WIDTH="80%"
11888ALIGN="LEFT"
11889VALIGN="TOP"
11890>the new parser context or NULL</TD
11891></TR
11892></TBODY
11893></TABLE
11894><P
11895></P
11896></DIV
11897></DIV
11898><HR><DIV
11899CLASS="REFSECT2"
11900><A
Daniel Veillardaec63562003-03-23 20:42:17 +000011901NAME="AEN2724"
Daniel Veillard06622df2002-01-21 17:53:42 +000011902></A
11903><H3
11904><A
11905NAME="XMLNEWIOINPUTSTREAM"
11906></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011907>xmlNewIOInputStream ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011908><TABLE
11909BORDER="0"
11910BGCOLOR="#D6E8FF"
11911WIDTH="100%"
11912CELLPADDING="6"
11913><TR
11914><TD
11915><PRE
11916CLASS="PROGRAMLISTING"
11917><A
11918HREF="libxml-tree.html#XMLPARSERINPUTPTR"
11919>xmlParserInputPtr</A
11920> xmlNewIOInputStream (<A
11921HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11922>xmlParserCtxtPtr</A
11923> ctxt,
11924 <A
11925HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
11926>xmlParserInputBufferPtr</A
11927> input,
11928 <A
11929HREF="libxml-encoding.html#XMLCHARENCODING"
11930>xmlCharEncoding</A
11931> enc);</PRE
11932></TD
11933></TR
11934></TABLE
11935><P
11936>Create a new input stream structure encapsulating the <TT
11937CLASS="PARAMETER"
11938><I
11939>input</I
11940></TT
11941> into
11942a stream suitable for the parser.</P
11943><P
11944></P
11945><DIV
11946CLASS="INFORMALTABLE"
11947><A
Daniel Veillardaec63562003-03-23 20:42:17 +000011948NAME="AEN2735"
11949></A
11950><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011951></P
11952><TABLE
11953BORDER="0"
11954WIDTH="100%"
11955BGCOLOR="#FFD0D0"
11956CELLSPACING="0"
11957CELLPADDING="4"
11958CLASS="CALSTABLE"
11959><TBODY
11960><TR
11961><TD
11962WIDTH="20%"
11963ALIGN="RIGHT"
11964VALIGN="TOP"
11965><TT
11966CLASS="PARAMETER"
11967><I
11968>ctxt</I
11969></TT
11970>&nbsp;:</TD
11971><TD
11972WIDTH="80%"
11973ALIGN="LEFT"
11974VALIGN="TOP"
11975> an XML parser context</TD
11976></TR
11977><TR
11978><TD
11979WIDTH="20%"
11980ALIGN="RIGHT"
11981VALIGN="TOP"
11982><TT
11983CLASS="PARAMETER"
11984><I
11985>input</I
11986></TT
11987>&nbsp;:</TD
11988><TD
11989WIDTH="80%"
11990ALIGN="LEFT"
11991VALIGN="TOP"
11992> an I/O Input</TD
11993></TR
11994><TR
11995><TD
11996WIDTH="20%"
11997ALIGN="RIGHT"
11998VALIGN="TOP"
11999><TT
12000CLASS="PARAMETER"
12001><I
12002>enc</I
12003></TT
12004>&nbsp;:</TD
12005><TD
12006WIDTH="80%"
12007ALIGN="LEFT"
12008VALIGN="TOP"
12009> the charset encoding if known</TD
12010></TR
12011><TR
12012><TD
12013WIDTH="20%"
12014ALIGN="RIGHT"
12015VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000012016><SPAN
12017CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000012018><I
12019CLASS="EMPHASIS"
12020>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000012021></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000012022> :</TD
12023><TD
12024WIDTH="80%"
12025ALIGN="LEFT"
12026VALIGN="TOP"
12027>the new input stream or NULL</TD
12028></TR
12029></TBODY
12030></TABLE
12031><P
12032></P
12033></DIV
12034></DIV
12035><HR><DIV
12036CLASS="REFSECT2"
12037><A
Daniel Veillardaec63562003-03-23 20:42:17 +000012038NAME="AEN2756"
Daniel Veillard06622df2002-01-21 17:53:42 +000012039></A
12040><H3
12041><A
12042NAME="XMLPARSERFINDNODEINFO"
12043></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012044>xmlParserFindNodeInfo ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000012045><TABLE
12046BORDER="0"
12047BGCOLOR="#D6E8FF"
12048WIDTH="100%"
12049CELLPADDING="6"
12050><TR
12051><TD
12052><PRE
12053CLASS="PROGRAMLISTING"
12054>const <A
12055HREF="libxml-parser.html#XMLPARSERNODEINFO"
12056>xmlParserNodeInfo</A
12057>* xmlParserFindNodeInfo
12058 (const <A
12059HREF="libxml-tree.html#XMLPARSERCTXTPTR"
12060>xmlParserCtxtPtr</A
12061> ctxt,
12062 const <A
12063HREF="libxml-tree.html#XMLNODEPTR"
12064>xmlNodePtr</A
12065> node);</PRE
12066></TD
12067></TR
12068></TABLE
12069><P
12070>Find the parser node info struct for a given node</P
12071><P
12072></P
12073><DIV
12074CLASS="INFORMALTABLE"
12075><A
Daniel Veillardaec63562003-03-23 20:42:17 +000012076NAME="AEN2765"
12077></A
12078><P
Daniel Veillard06622df2002-01-21 17:53:42 +000012079></P
12080><TABLE
12081BORDER="0"
12082WIDTH="100%"
12083BGCOLOR="#FFD0D0"
12084CELLSPACING="0"
12085CELLPADDING="4"
12086CLASS="CALSTABLE"
12087><TBODY
12088><TR
12089><TD
12090WIDTH="20%"
12091ALIGN="RIGHT"
12092VALIGN="TOP"
12093><TT
12094CLASS="PARAMETER"
12095><I
12096>ctxt</I
12097></TT
12098>&nbsp;:</TD
12099><TD
12100WIDTH="80%"
12101ALIGN="LEFT"
12102VALIGN="TOP"
Daniel Veillardaec63562003-03-23 20:42:17 +000012103>&nbsp;</TD
Daniel Veillard06622df2002-01-21 17:53:42 +000012104></TR
12105><TR
12106><TD
12107WIDTH="20%"
12108ALIGN="RIGHT"
12109VALIGN="TOP"
12110><TT
12111CLASS="PARAMETER"
12112><I
12113>node</I
12114></TT
12115>&nbsp;:</TD
12116><TD
12117WIDTH="80%"
12118ALIGN="LEFT"
12119VALIGN="TOP"
12120> an XML node within the tree</TD
12121></TR
12122><TR
12123><TD
12124WIDTH="20%"
12125ALIGN="RIGHT"
12126VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000012127><SPAN
12128CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000012129><I
12130CLASS="EMPHASIS"
12131>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000012132></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000012133> :</TD
12134><TD
12135WIDTH="80%"
12136ALIGN="LEFT"
12137VALIGN="TOP"
12138>an xmlParserNodeInfo block pointer or NULL</TD
12139></TR
12140></TBODY
12141></TABLE
12142><P
12143></P
12144></DIV
12145></DIV
12146><HR><DIV
12147CLASS="REFSECT2"
12148><A
Daniel Veillardaec63562003-03-23 20:42:17 +000012149NAME="AEN2782"
Daniel Veillard06622df2002-01-21 17:53:42 +000012150></A
12151><H3
12152><A
12153NAME="XMLINITNODEINFOSEQ"
12154></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012155>xmlInitNodeInfoSeq ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000012156><TABLE
12157BORDER="0"
12158BGCOLOR="#D6E8FF"
12159WIDTH="100%"
12160CELLPADDING="6"
12161><TR
12162><TD
12163><PRE
12164CLASS="PROGRAMLISTING"
12165>void xmlInitNodeInfoSeq (<A
12166HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
12167>xmlParserNodeInfoSeqPtr</A
12168> seq);</PRE
12169></TD
12170></TR
12171></TABLE
12172><P
12173>-- Initialize (set to initial state) node info sequence</P
12174><P
12175></P
12176><DIV
12177CLASS="INFORMALTABLE"
12178><A
Daniel Veillardaec63562003-03-23 20:42:17 +000012179NAME="AEN2789"
12180></A
12181><P
Daniel Veillard06622df2002-01-21 17:53:42 +000012182></P
12183><TABLE
12184BORDER="0"
12185WIDTH="100%"
12186BGCOLOR="#FFD0D0"
12187CELLSPACING="0"
12188CELLPADDING="4"
12189CLASS="CALSTABLE"
12190><TBODY
12191><TR
12192><TD
12193WIDTH="20%"
12194ALIGN="RIGHT"
12195VALIGN="TOP"
12196><TT
12197CLASS="PARAMETER"
12198><I
12199>seq</I
12200></TT
12201>&nbsp;:</TD
12202><TD
12203WIDTH="80%"
12204ALIGN="LEFT"
12205VALIGN="TOP"
12206> a node info sequence pointer</TD
12207></TR
12208></TBODY
12209></TABLE
12210><P
12211></P
12212></DIV
12213></DIV
12214><HR><DIV
12215CLASS="REFSECT2"
12216><A
Daniel Veillardaec63562003-03-23 20:42:17 +000012217NAME="AEN2798"
Daniel Veillard06622df2002-01-21 17:53:42 +000012218></A
12219><H3
12220><A
12221NAME="XMLCLEARNODEINFOSEQ"
12222></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012223>xmlClearNodeInfoSeq ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000012224><TABLE
12225BORDER="0"
12226BGCOLOR="#D6E8FF"
12227WIDTH="100%"
12228CELLPADDING="6"
12229><TR
12230><TD
12231><PRE
12232CLASS="PROGRAMLISTING"
12233>void xmlClearNodeInfoSeq (<A
12234HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
12235>xmlParserNodeInfoSeqPtr</A
12236> seq);</PRE
12237></TD
12238></TR
12239></TABLE
12240><P
12241>-- Clear (release memory and reinitialize) node
Daniel Veillardaec63562003-03-23 20:42:17 +000012242 info sequence</P
Daniel Veillard06622df2002-01-21 17:53:42 +000012243><P
12244></P
12245><DIV
12246CLASS="INFORMALTABLE"
12247><A
Daniel Veillardaec63562003-03-23 20:42:17 +000012248NAME="AEN2805"
12249></A
12250><P
Daniel Veillard06622df2002-01-21 17:53:42 +000012251></P
12252><TABLE
12253BORDER="0"
12254WIDTH="100%"
12255BGCOLOR="#FFD0D0"
12256CELLSPACING="0"
12257CELLPADDING="4"
12258CLASS="CALSTABLE"
12259><TBODY
12260><TR
12261><TD
12262WIDTH="20%"
12263ALIGN="RIGHT"
12264VALIGN="TOP"
12265><TT
12266CLASS="PARAMETER"
12267><I
12268>seq</I
12269></TT
12270>&nbsp;:</TD
12271><TD
12272WIDTH="80%"
12273ALIGN="LEFT"
12274VALIGN="TOP"
12275> a node info sequence pointer</TD
12276></TR
12277></TBODY
12278></TABLE
12279><P
12280></P
12281></DIV
12282></DIV
12283><HR><DIV
12284CLASS="REFSECT2"
12285><A
Daniel Veillardaec63562003-03-23 20:42:17 +000012286NAME="AEN2814"
Daniel Veillard06622df2002-01-21 17:53:42 +000012287></A
12288><H3
12289><A
12290NAME="XMLPARSERFINDNODEINFOINDEX"
12291></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012292>xmlParserFindNodeInfoIndex ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000012293><TABLE
12294BORDER="0"
12295BGCOLOR="#D6E8FF"
12296WIDTH="100%"
12297CELLPADDING="6"
12298><TR
12299><TD
12300><PRE
12301CLASS="PROGRAMLISTING"
12302>unsigned <GTKDOCLINK
12303HREF="LONG"
12304>long</GTKDOCLINK
12305> xmlParserFindNodeInfoIndex (const <A
12306HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
12307>xmlParserNodeInfoSeqPtr</A
12308> seq,
12309 const <A
12310HREF="libxml-tree.html#XMLNODEPTR"
12311>xmlNodePtr</A
12312> node);</PRE
12313></TD
12314></TR
12315></TABLE
12316><P
12317>xmlParserFindNodeInfoIndex : Find the index that the info record for
Daniel Veillardaec63562003-03-23 20:42:17 +000012318 the given node is or should be at in a sorted sequence</P
Daniel Veillard06622df2002-01-21 17:53:42 +000012319><P
12320></P
12321><DIV
12322CLASS="INFORMALTABLE"
12323><A
Daniel Veillardaec63562003-03-23 20:42:17 +000012324NAME="AEN2823"
12325></A
12326><P
Daniel Veillard06622df2002-01-21 17:53:42 +000012327></P
12328><TABLE
12329BORDER="0"
12330WIDTH="100%"
12331BGCOLOR="#FFD0D0"
12332CELLSPACING="0"
12333CELLPADDING="4"
12334CLASS="CALSTABLE"
12335><TBODY
12336><TR
12337><TD
12338WIDTH="20%"
12339ALIGN="RIGHT"
12340VALIGN="TOP"
12341><TT
12342CLASS="PARAMETER"
12343><I
12344>seq</I
12345></TT
12346>&nbsp;:</TD
12347><TD
12348WIDTH="80%"
12349ALIGN="LEFT"
12350VALIGN="TOP"
12351> a node info sequence pointer</TD
12352></TR
12353><TR
12354><TD
12355WIDTH="20%"
12356ALIGN="RIGHT"
12357VALIGN="TOP"
12358><TT
12359CLASS="PARAMETER"
12360><I
12361>node</I
12362></TT
12363>&nbsp;:</TD
12364><TD
12365WIDTH="80%"
12366ALIGN="LEFT"
12367VALIGN="TOP"
12368> an XML node pointer</TD
12369></TR
12370><TR
12371><TD
12372WIDTH="20%"
12373ALIGN="RIGHT"
12374VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000012375><SPAN
12376CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000012377><I
12378CLASS="EMPHASIS"
12379>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000012380></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000012381> :</TD
12382><TD
12383WIDTH="80%"
12384ALIGN="LEFT"
12385VALIGN="TOP"
12386>a long indicating the position of the record</TD
12387></TR
12388></TBODY
12389></TABLE
12390><P
12391></P
12392></DIV
12393></DIV
12394><HR><DIV
12395CLASS="REFSECT2"
12396><A
Daniel Veillardaec63562003-03-23 20:42:17 +000012397NAME="AEN2840"
Daniel Veillard06622df2002-01-21 17:53:42 +000012398></A
12399><H3
12400><A
12401NAME="XMLPARSERADDNODEINFO"
12402></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012403>xmlParserAddNodeInfo ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000012404><TABLE
12405BORDER="0"
12406BGCOLOR="#D6E8FF"
12407WIDTH="100%"
12408CELLPADDING="6"
12409><TR
12410><TD
12411><PRE
12412CLASS="PROGRAMLISTING"
12413>void xmlParserAddNodeInfo (<A
12414HREF="libxml-tree.html#XMLPARSERCTXTPTR"
12415>xmlParserCtxtPtr</A
12416> ctxt,
12417 const <A
12418HREF="libxml-parser.html#XMLPARSERNODEINFOPTR"
12419>xmlParserNodeInfoPtr</A
12420> info);</PRE
12421></TD
12422></TR
12423></TABLE
12424><P
12425>Insert node info record into the sorted sequence</P
12426><P
12427></P
12428><DIV
12429CLASS="INFORMALTABLE"
12430><A
Daniel Veillardaec63562003-03-23 20:42:17 +000012431NAME="AEN2848"
12432></A
12433><P
Daniel Veillard06622df2002-01-21 17:53:42 +000012434></P
12435><TABLE
12436BORDER="0"
12437WIDTH="100%"
12438BGCOLOR="#FFD0D0"
12439CELLSPACING="0"
12440CELLPADDING="4"
12441CLASS="CALSTABLE"
12442><TBODY
12443><TR
12444><TD
12445WIDTH="20%"
12446ALIGN="RIGHT"
12447VALIGN="TOP"
12448><TT
12449CLASS="PARAMETER"
12450><I
12451>ctxt</I
12452></TT
12453>&nbsp;:</TD
12454><TD
12455WIDTH="80%"
12456ALIGN="LEFT"
12457VALIGN="TOP"
12458> an XML parser context</TD
12459></TR
12460><TR
12461><TD
12462WIDTH="20%"
12463ALIGN="RIGHT"
12464VALIGN="TOP"
12465><TT
12466CLASS="PARAMETER"
12467><I
12468>info</I
12469></TT
12470>&nbsp;:</TD
12471><TD
12472WIDTH="80%"
12473ALIGN="LEFT"
12474VALIGN="TOP"
12475> a node info sequence pointer</TD
12476></TR
12477></TBODY
12478></TABLE
12479><P
12480></P
12481></DIV
12482></DIV
12483><HR><DIV
12484CLASS="REFSECT2"
12485><A
Daniel Veillardaec63562003-03-23 20:42:17 +000012486NAME="AEN2861"
Daniel Veillard06622df2002-01-21 17:53:42 +000012487></A
12488><H3
12489><A
12490NAME="XMLSETEXTERNALENTITYLOADER"
12491></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012492>xmlSetExternalEntityLoader ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000012493><TABLE
12494BORDER="0"
12495BGCOLOR="#D6E8FF"
12496WIDTH="100%"
12497CELLPADDING="6"
12498><TR
12499><TD
12500><PRE
12501CLASS="PROGRAMLISTING"
12502>void xmlSetExternalEntityLoader (<A
12503HREF="libxml-parser.html#XMLEXTERNALENTITYLOADER"
12504>xmlExternalEntityLoader</A
12505> f);</PRE
12506></TD
12507></TR
12508></TABLE
12509><P
12510>Changes the defaultexternal entity resolver function for the application</P
12511><P
12512></P
12513><DIV
12514CLASS="INFORMALTABLE"
12515><A
Daniel Veillardaec63562003-03-23 20:42:17 +000012516NAME="AEN2868"
12517></A
12518><P
Daniel Veillard06622df2002-01-21 17:53:42 +000012519></P
12520><TABLE
12521BORDER="0"
12522WIDTH="100%"
12523BGCOLOR="#FFD0D0"
12524CELLSPACING="0"
12525CELLPADDING="4"
12526CLASS="CALSTABLE"
12527><TBODY
12528><TR
12529><TD
12530WIDTH="20%"
12531ALIGN="RIGHT"
12532VALIGN="TOP"
12533><TT
12534CLASS="PARAMETER"
12535><I
12536>f</I
12537></TT
12538>&nbsp;:</TD
12539><TD
12540WIDTH="80%"
12541ALIGN="LEFT"
12542VALIGN="TOP"
12543> the new entity resolver function</TD
12544></TR
12545></TBODY
12546></TABLE
12547><P
12548></P
12549></DIV
12550></DIV
12551><HR><DIV
12552CLASS="REFSECT2"
12553><A
Daniel Veillardaec63562003-03-23 20:42:17 +000012554NAME="AEN2877"
Daniel Veillard06622df2002-01-21 17:53:42 +000012555></A
12556><H3
12557><A
12558NAME="XMLGETEXTERNALENTITYLOADER"
12559></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012560>xmlGetExternalEntityLoader ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000012561><TABLE
12562BORDER="0"
12563BGCOLOR="#D6E8FF"
12564WIDTH="100%"
12565CELLPADDING="6"
12566><TR
12567><TD
12568><PRE
12569CLASS="PROGRAMLISTING"
12570><A
12571HREF="libxml-parser.html#XMLEXTERNALENTITYLOADER"
12572>xmlExternalEntityLoader</A
12573> xmlGetExternalEntityLoader
12574 (void);</PRE
12575></TD
12576></TR
12577></TABLE
12578><P
12579>Get the default external entity resolver function for the application</P
12580><P
12581></P
12582><DIV
12583CLASS="INFORMALTABLE"
12584><A
Daniel Veillardaec63562003-03-23 20:42:17 +000012585NAME="AEN2884"
12586></A
12587><P
Daniel Veillard06622df2002-01-21 17:53:42 +000012588></P
12589><TABLE
12590BORDER="0"
12591WIDTH="100%"
12592BGCOLOR="#FFD0D0"
12593CELLSPACING="0"
12594CELLPADDING="4"
12595CLASS="CALSTABLE"
12596><TBODY
12597><TR
12598><TD
12599WIDTH="20%"
12600ALIGN="RIGHT"
12601VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000012602><SPAN
12603CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000012604><I
12605CLASS="EMPHASIS"
12606>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000012607></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000012608> :</TD
12609><TD
12610WIDTH="80%"
12611ALIGN="LEFT"
12612VALIGN="TOP"
12613>the xmlExternalEntityLoader function pointer</TD
12614></TR
12615></TBODY
12616></TABLE
12617><P
12618></P
12619></DIV
12620></DIV
12621><HR><DIV
12622CLASS="REFSECT2"
12623><A
Daniel Veillardaec63562003-03-23 20:42:17 +000012624NAME="AEN2893"
Daniel Veillard06622df2002-01-21 17:53:42 +000012625></A
12626><H3
12627><A
12628NAME="XMLLOADEXTERNALENTITY"
12629></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012630>xmlLoadExternalEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000012631><TABLE
12632BORDER="0"
12633BGCOLOR="#D6E8FF"
12634WIDTH="100%"
12635CELLPADDING="6"
12636><TR
12637><TD
12638><PRE
12639CLASS="PROGRAMLISTING"
12640><A
12641HREF="libxml-tree.html#XMLPARSERINPUTPTR"
12642>xmlParserInputPtr</A
12643> xmlLoadExternalEntity (const char *URL,
12644 const char *ID,
12645 <A
12646HREF="libxml-tree.html#XMLPARSERCTXTPTR"
12647>xmlParserCtxtPtr</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000012648> ctxt);</PRE
Daniel Veillard06622df2002-01-21 17:53:42 +000012649></TD
12650></TR
12651></TABLE
12652><P
12653>Load an external entity, note that the use of this function for
12654unparsed entities may generate problems
12655TODO: a more generic External entity API must be designed</P
12656><P
12657></P
12658><DIV
12659CLASS="INFORMALTABLE"
12660><A
Daniel Veillardaec63562003-03-23 20:42:17 +000012661NAME="AEN2901"
12662></A
12663><P
Daniel Veillard06622df2002-01-21 17:53:42 +000012664></P
12665><TABLE
12666BORDER="0"
12667WIDTH="100%"
12668BGCOLOR="#FFD0D0"
12669CELLSPACING="0"
12670CELLPADDING="4"
12671CLASS="CALSTABLE"
12672><TBODY
12673><TR
12674><TD
12675WIDTH="20%"
12676ALIGN="RIGHT"
12677VALIGN="TOP"
12678><TT
12679CLASS="PARAMETER"
12680><I
12681>URL</I
12682></TT
12683>&nbsp;:</TD
12684><TD
12685WIDTH="80%"
12686ALIGN="LEFT"
12687VALIGN="TOP"
12688> the URL for the entity to load</TD
12689></TR
12690><TR
12691><TD
12692WIDTH="20%"
12693ALIGN="RIGHT"
12694VALIGN="TOP"
12695><TT
12696CLASS="PARAMETER"
12697><I
12698>ID</I
12699></TT
12700>&nbsp;:</TD
12701><TD
12702WIDTH="80%"
12703ALIGN="LEFT"
12704VALIGN="TOP"
12705> the Public ID for the entity to load</TD
12706></TR
12707><TR
12708><TD
12709WIDTH="20%"
12710ALIGN="RIGHT"
12711VALIGN="TOP"
12712><TT
12713CLASS="PARAMETER"
12714><I
Daniel Veillard5f4b5992002-02-20 10:22:49 +000012715>ctxt</I
Daniel Veillard06622df2002-01-21 17:53:42 +000012716></TT
12717>&nbsp;:</TD
12718><TD
12719WIDTH="80%"
12720ALIGN="LEFT"
12721VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +000012722> the context in which the entity is called or NULL</TD
Daniel Veillard06622df2002-01-21 17:53:42 +000012723></TR
12724><TR
12725><TD
12726WIDTH="20%"
12727ALIGN="RIGHT"
12728VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000012729><SPAN
12730CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000012731><I
12732CLASS="EMPHASIS"
12733>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000012734></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000012735> :</TD
12736><TD
12737WIDTH="80%"
12738ALIGN="LEFT"
12739VALIGN="TOP"
12740>the xmlParserInputPtr or NULL</TD
12741></TR
12742></TBODY
12743></TABLE
12744><P
12745></P
12746></DIV
12747></DIV
12748></DIV
12749><DIV
12750CLASS="NAVFOOTER"
12751><BR
12752CLEAR="all"><BR><TABLE
12753WIDTH="100%"
12754BORDER="0"
12755BGCOLOR="#000000"
12756CELLPADDING="1"
12757CELLSPACING="0"
12758><TR
12759><TD
12760WIDTH="25%"
12761BGCOLOR="#C00000"
12762ALIGN="left"
12763><A
12764HREF="libxml-lib.html"
12765><FONT
12766COLOR="#FFFFFF"
12767SIZE="3"
12768><B
12769>&#60;&#60;&#60; Previous Page</B
12770></FONT
12771></A
12772></TD
12773><TD
12774WIDTH="25%"
12775BGCOLOR="#0000C0"
12776ALIGN="center"
12777><FONT
12778COLOR="#FFFFFF"
12779SIZE="3"
12780><B
12781><A
12782HREF="book1.html"
12783><FONT
12784COLOR="#FFFFFF"
12785SIZE="3"
12786><B
12787>Home</B
12788></FONT
12789></A
12790></B
12791></FONT
12792></TD
12793><TD
12794WIDTH="25%"
12795BGCOLOR="#00C000"
12796ALIGN="center"
12797><FONT
12798COLOR="#FFFFFF"
12799SIZE="3"
12800><B
12801><A
12802HREF="libxml-lib.html"
12803><FONT
12804COLOR="#FFFFFF"
12805SIZE="3"
12806><B
12807>Up</B
12808></FONT
12809></A
12810></B
12811></FONT
12812></TD
12813><TD
12814WIDTH="25%"
12815BGCOLOR="#C00000"
12816ALIGN="right"
12817><A
Daniel Veillardaec63562003-03-23 20:42:17 +000012818HREF="libxml-xmlreader.html"
Daniel Veillard06622df2002-01-21 17:53:42 +000012819><FONT
12820COLOR="#FFFFFF"
12821SIZE="3"
12822><B
12823>Next Page &#62;&#62;&#62;</B
12824></FONT
12825></A
12826></TD
12827></TR
12828><TR
12829><TD
12830COLSPAN="2"
12831ALIGN="left"
12832><FONT
12833COLOR="#FFFFFF"
12834SIZE="3"
12835><B
12836>Libxml Library Reference</B
12837></FONT
12838></TD
12839><TD
12840COLSPAN="2"
12841ALIGN="right"
12842><FONT
12843COLOR="#FFFFFF"
12844SIZE="3"
12845><B
Daniel Veillardaec63562003-03-23 20:42:17 +000012846>xmlreader</B
Daniel Veillard06622df2002-01-21 17:53:42 +000012847></FONT
12848></TD
12849></TR
12850></TABLE
12851></DIV
12852></BODY
12853></HTML
12854>