blob: f5782a4b34b302200bfec1bee3eb08b696134475 [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 Veillard294cbca1999-12-03 13:19:09 +000019TITLE="SAX"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000020HREF="libxml-sax.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 Veillard9cb5ff42001-01-29 08:22:21 +0000106HREF="libxml-sax.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000107><FONT
108COLOR="#FFFFFF"
109SIZE="3"
110><B
111>Next Page &#62;&#62;&#62;</B
112></FONT
113></A
Daniel Veillard35925471999-02-25 08:46:07 +0000114></TD
115></TR
116></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000117></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000118><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000119><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000120NAME="LIBXML-PARSER">parser</H1
Daniel Veillard35925471999-02-25 08:46:07 +0000121><DIV
122CLASS="REFNAMEDIV"
123><A
Daniel Veillard35008381999-10-25 13:15:52 +0000124NAME="AEN31"
Daniel Veillard35925471999-02-25 08:46:07 +0000125></A
126><H2
127>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000128>parser&nbsp;--&nbsp;</DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000129><DIV
130CLASS="REFSYNOPSISDIV"
131><A
Daniel Veillard539638b2002-07-06 19:55:14 +0000132NAME="AEN34"><H2
Daniel Veillard35925471999-02-25 08:46:07 +0000133>Synopsis</H2
134><TABLE
135BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000136BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000137WIDTH="100%"
138CELLPADDING="6"
139><TR
140><TD
141><PRE
142CLASS="SYNOPSIS"
143>&#13;
144
145#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000146HREF="libxml-parser.html#XML-DEFAULT-VERSION-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +0000147>XML_DEFAULT_VERSION</A
148>
Daniel Veillardd692aa41999-02-28 21:54:31 +0000149void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000150HREF="libxml-parser.html#XMLPARSERINPUTDEALLOCATE"
Daniel Veillardd692aa41999-02-28 21:54:31 +0000151>*xmlParserInputDeallocate</A
152>) (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000153HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000154>xmlChar</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000155> *str);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000156struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000157HREF="libxml-parser.html#XMLPARSERINPUT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000158>xmlParserInput</A
159>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000160struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000161HREF="libxml-parser.html#XMLPARSERNODEINFO"
Daniel Veillard35925471999-02-25 08:46:07 +0000162>xmlParserNodeInfo</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000163>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000164typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000165HREF="libxml-parser.html#XMLPARSERNODEINFOPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000166>xmlParserNodeInfoPtr</A
167>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000168struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000169HREF="libxml-parser.html#XMLPARSERNODEINFOSEQ"
Daniel Veillard35925471999-02-25 08:46:07 +0000170>xmlParserNodeInfoSeq</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000171>;
Daniel Veillard35925471999-02-25 08:46:07 +0000172typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000173HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000174>xmlParserNodeInfoSeqPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000175>;
Daniel Veillardb05deb71999-08-10 19:04:08 +0000176enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000177HREF="libxml-parser.html#XMLPARSERINPUTSTATE"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000178>xmlParserInputState</A
179>;
Daniel Veillard4ec885a2001-06-17 10:31:07 +0000180#define <A
181HREF="libxml-parser.html#XML-DETECT-IDS-CAPS"
182>XML_DETECT_IDS</A
183>
184#define <A
185HREF="libxml-parser.html#XML-COMPLETE-ATTRS-CAPS"
186>XML_COMPLETE_ATTRS</A
187>
Daniel Veillard71b656e2000-01-05 14:46:17 +0000188struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000189HREF="libxml-parser.html#XMLPARSERCTXT"
Daniel Veillard35925471999-02-25 08:46:07 +0000190>xmlParserCtxt</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000191>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000192struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000193HREF="libxml-parser.html#XMLSAXLOCATOR"
Daniel Veillard35925471999-02-25 08:46:07 +0000194>xmlSAXLocator</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000195>;
Daniel Veillard35925471999-02-25 08:46:07 +0000196<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000197HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000198>xmlParserInputPtr</A
199> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000200HREF="libxml-parser.html#RESOLVEENTITYSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000201>*resolveEntitySAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000202>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000203 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000204HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000205>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000206> *publicId,
207 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000208HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000209>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000210> *systemId);
211void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000212HREF="libxml-parser.html#INTERNALSUBSETSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000213>*internalSubsetSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000214>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000215 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 Veillard5099ae81999-04-21 20:12:07 +0000218> *name,
219 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000220HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000221>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000222> *ExternalID,
223 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> *SystemID);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000227void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000228HREF="libxml-parser.html#EXTERNALSUBSETSAXFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000229>*externalSubsetSAXFunc</A
230>) (void *ctx,
231 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000232HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000233>xmlChar</A
234> *name,
235 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000236HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000237>xmlChar</A
238> *ExternalID,
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> *SystemID);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000243<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000244HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000245>xmlEntityPtr</A
246> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000247HREF="libxml-parser.html#GETENTITYSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000248>*getEntitySAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000249>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000250 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000251HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000252>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000253> *name);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000254<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000255HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000256>xmlEntityPtr</A
257> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000258HREF="libxml-parser.html#GETPARAMETERENTITYSAXFUNC"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000259>*getParameterEntitySAXFunc</A
260>) (void *ctx,
261 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000262HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000263>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000264> *name);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000265void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000266HREF="libxml-parser.html#ENTITYDECLSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000267>*entityDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000268>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000269 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 Veillard5099ae81999-04-21 20:12:07 +0000272> *name,
273 int type,
274 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000275HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000276>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000277> *publicId,
278 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000279HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000280>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000281> *systemId,
282 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000283HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000284>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000285> *content);
286void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000287HREF="libxml-parser.html#NOTATIONDECLSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000288>*notationDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000289>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000290 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000291HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000292>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000293> *name,
294 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000295HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000296>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000297> *publicId,
298 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> *systemId);
302void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000303HREF="libxml-parser.html#ATTRIBUTEDECLSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000304>*attributeDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000305>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000306 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 Veillard5099ae81999-04-21 20:12:07 +0000309> *elem,
310 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000311HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000312>xmlChar</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000313> *fullname,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000314 int type,
315 int def,
316 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000317HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000318>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000319> *defaultValue,
320 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000321HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000322>xmlEnumerationPtr</A
323> tree);
324void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000325HREF="libxml-parser.html#ELEMENTDECLSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000326>*elementDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000327>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000328 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000329HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000330>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000331> *name,
332 int type,
333 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000334HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000335>xmlElementContentPtr</A
336> content);
337void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000338HREF="libxml-parser.html#UNPARSEDENTITYDECLSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000339>*unparsedEntityDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000340>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000341 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000342HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000343>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000344> *name,
345 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000346HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000347>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000348> *publicId,
349 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> *systemId,
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> *notationName);
357void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000358HREF="libxml-parser.html#SETDOCUMENTLOCATORSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000359>*setDocumentLocatorSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000360>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000361 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000362HREF="libxml-tree.html#XMLSAXLOCATORPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000363>xmlSAXLocatorPtr</A
364> loc);
365void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000366HREF="libxml-parser.html#STARTDOCUMENTSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000367>*startDocumentSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000368>) (void *ctx);
Daniel Veillard35925471999-02-25 08:46:07 +0000369void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000370HREF="libxml-parser.html#ENDDOCUMENTSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000371>*endDocumentSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000372>) (void *ctx);
Daniel Veillard35925471999-02-25 08:46:07 +0000373void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000374HREF="libxml-parser.html#STARTELEMENTSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000375>*startElementSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000376>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000377 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000378HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000379>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000380> *name,
381 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000382HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000383>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000384> **atts);
Daniel Veillard35925471999-02-25 08:46:07 +0000385void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000386HREF="libxml-parser.html#ENDELEMENTSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000387>*endElementSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000388>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000389 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 Veillard35925471999-02-25 08:46:07 +0000392> *name);
393void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000394HREF="libxml-parser.html#ATTRIBUTESAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000395>*attributeSAXFunc</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,
401 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000402HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000403>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000404> *value);
405void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000406HREF="libxml-parser.html#REFERENCESAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000407>*referenceSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000408>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000409 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 Veillard5099ae81999-04-21 20:12:07 +0000412> *name);
413void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000414HREF="libxml-parser.html#CHARACTERSSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000415>*charactersSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000416>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46: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 Veillard35925471999-02-25 08:46:07 +0000420> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +0000421 int len);
422void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000423HREF="libxml-parser.html#IGNORABLEWHITESPACESAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000424>*ignorableWhitespaceSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000425>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000426 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000427HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000428>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000429> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +0000430 int len);
431void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000432HREF="libxml-parser.html#PROCESSINGINSTRUCTIONSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000433>*processingInstructionSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000434>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000435 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000436HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000437>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000438> *target,
439 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000440HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000441>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000442> *data);
443void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000444HREF="libxml-parser.html#COMMENTSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000445>*commentSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000446>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000447 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 Veillard5099ae81999-04-21 20:12:07 +0000450> *value);
451void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000452HREF="libxml-parser.html#CDATABLOCKSAXFUNC"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000453>*cdataBlockSAXFunc</A
454>) (void *ctx,
455 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 Veillardb05deb71999-08-10 19:04:08 +0000458> *value,
459 int len);
460void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000461HREF="libxml-parser.html#WARNINGSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000462>*warningSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000463>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000464 const char *msg,
465 ...);
466void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000467HREF="libxml-parser.html#ERRORSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000468>*errorSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000469>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000470 const char *msg,
471 ...);
472void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000473HREF="libxml-parser.html#FATALERRORSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000474>*fatalErrorSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000475>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000476 const char *msg,
477 ...);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000478int (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000479HREF="libxml-parser.html#ISSTANDALONESAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000480>*isStandaloneSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000481>) (void *ctx);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000482int (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000483HREF="libxml-parser.html#HASINTERNALSUBSETSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000484>*hasInternalSubsetSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000485>) (void *ctx);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000486int (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000487HREF="libxml-parser.html#HASEXTERNALSUBSETSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000488>*hasExternalSubsetSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000489>) (void *ctx);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000490struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000491HREF="libxml-parser.html#XMLSAXHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000492>xmlSAXHandler</A
493>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000494<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000495HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000496>xmlParserInputPtr</A
497> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000498HREF="libxml-parser.html#XMLEXTERNALENTITYLOADER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000499>*xmlExternalEntityLoader</A
500>)
501 (const char *URL,
502 const char *ID,
503 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000504HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000505>xmlParserCtxtPtr</A
506> context);
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000507#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000508HREF="libxml-parser.html#XMLSUBSTITUTEENTITIESDEFAULTVALUE"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000509>xmlSubstituteEntitiesDefaultValue</A
510>
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000511void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000512HREF="libxml-parser.html#XMLINITPARSER"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000513>xmlInitParser</A
514> (void);
515void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000516HREF="libxml-parser.html#XMLCLEANUPPARSER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000517>xmlCleanupParser</A
518> (void);
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000519int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000520HREF="libxml-parser.html#XMLPARSERINPUTREAD"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000521>xmlParserInputRead</A
522> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000523HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000524>xmlParserInputPtr</A
525> in,
526 int len);
527int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000528HREF="libxml-parser.html#XMLPARSERINPUTGROW"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000529>xmlParserInputGrow</A
530> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000531HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000532>xmlParserInputPtr</A
533> in,
534 int len);
Daniel Veillard35925471999-02-25 08:46:07 +0000535<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000536HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000537>xmlChar</A
538>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000539HREF="libxml-parser.html#XMLSTRDUP"
Daniel Veillard35925471999-02-25 08:46:07 +0000540>xmlStrdup</A
541> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000542HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000543>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000544> *cur);
545<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000546HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000547>xmlChar</A
548>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000549HREF="libxml-parser.html#XMLSTRNDUP"
Daniel Veillard35925471999-02-25 08:46:07 +0000550>xmlStrndup</A
551> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000552HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000553>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000554> *cur,
555 int len);
556<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000557HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000558>xmlChar</A
559>* <A
Daniel Veillarda41123c2001-04-22 19:31:20 +0000560HREF="libxml-parser.html#XMLCHARSTRNDUP"
561>xmlCharStrndup</A
562> (const char *cur,
563 int len);
564<A
565HREF="libxml-tree.html#XMLCHAR"
566>xmlChar</A
567>* <A
568HREF="libxml-parser.html#XMLCHARSTRDUP"
569>xmlCharStrdup</A
570> (const char *cur);
571<A
572HREF="libxml-tree.html#XMLCHAR"
573>xmlChar</A
574>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000575HREF="libxml-parser.html#XMLSTRSUB"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000576>xmlStrsub</A
577> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000578HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000579>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000580> *str,
581 int start,
582 int len);
583const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000584HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000585>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000586>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000587HREF="libxml-parser.html#XMLSTRCHR"
Daniel Veillard35925471999-02-25 08:46:07 +0000588>xmlStrchr</A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000589> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000590HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000591>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000592> *str,
593 <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> val);
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000597const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000598HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000599>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000600>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000601HREF="libxml-parser.html#XMLSTRSTR"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000602>xmlStrstr</A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000603> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000604HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000605>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000606> *str,
Daniel Veillard4b8328d2001-07-05 22:48:42 +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> *val);
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000611const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000612HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000613>xmlChar</A
614>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000615HREF="libxml-parser.html#XMLSTRCASESTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000616>xmlStrcasestr</A
617> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000618HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000619>xmlChar</A
620> *str,
621 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000622HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000623>xmlChar</A
624> *val);
Daniel Veillard35925471999-02-25 08:46:07 +0000625int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000626HREF="libxml-parser.html#XMLSTRCMP"
Daniel Veillard35925471999-02-25 08:46:07 +0000627>xmlStrcmp</A
628> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000629HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000630>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000631> *str1,
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> *str2);
636int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000637HREF="libxml-parser.html#XMLSTRNCMP"
Daniel Veillard35925471999-02-25 08:46:07 +0000638>xmlStrncmp</A
639> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000640HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000641>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000642> *str1,
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> *str2,
647 int len);
648int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000649HREF="libxml-parser.html#XMLSTRCASECMP"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000650>xmlStrcasecmp</A
651> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000652HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000653>xmlChar</A
654> *str1,
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> *str2);
659int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000660HREF="libxml-parser.html#XMLSTRNCASECMP"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000661>xmlStrncasecmp</A
662> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000663HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000664>xmlChar</A
665> *str1,
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> *str2,
670 int len);
671int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000672HREF="libxml-parser.html#XMLSTREQUAL"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000673>xmlStrEqual</A
674> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000675HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000676>xmlChar</A
677> *str1,
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> *str2);
682int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000683HREF="libxml-parser.html#XMLSTRLEN"
Daniel Veillard35925471999-02-25 08:46:07 +0000684>xmlStrlen</A
685> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000686HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000687>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000688> *str);
689<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000690HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000691>xmlChar</A
692>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000693HREF="libxml-parser.html#XMLSTRCAT"
Daniel Veillard35925471999-02-25 08:46:07 +0000694>xmlStrcat</A
695> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000696HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000697>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000698> *cur,
699 const <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> *add);
703<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000704HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000705>xmlChar</A
706>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000707HREF="libxml-parser.html#XMLSTRNCAT"
Daniel Veillard35925471999-02-25 08:46:07 +0000708>xmlStrncat</A
709> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000710HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000711>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000712> *cur,
713 const <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> *add,
717 int len);
718<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000719HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000720>xmlDocPtr</A
721> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000722HREF="libxml-parser.html#XMLPARSEDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000723>xmlParseDoc</A
724> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000725HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000726>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000727> *cur);
728<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000729HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000730>xmlDocPtr</A
731> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000732HREF="libxml-parser.html#XMLPARSEMEMORY"
Daniel Veillard35925471999-02-25 08:46:07 +0000733>xmlParseMemory</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000734> (const char *buffer,
Daniel Veillard35925471999-02-25 08:46:07 +0000735 int size);
736<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000737HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000738>xmlDocPtr</A
739> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000740HREF="libxml-parser.html#XMLPARSEFILE"
Daniel Veillard35925471999-02-25 08:46:07 +0000741>xmlParseFile</A
742> (const char *filename);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000743int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000744HREF="libxml-parser.html#XMLSUBSTITUTEENTITIESDEFAULT"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000745>xmlSubstituteEntitiesDefault</A
746> (int val);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000747int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000748HREF="libxml-parser.html#XMLKEEPBLANKSDEFAULT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000749>xmlKeepBlanksDefault</A
750> (int val);
751void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000752HREF="libxml-parser.html#XMLSTOPPARSER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000753>xmlStopParser</A
754> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000755HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000756>xmlParserCtxtPtr</A
757> ctxt);
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000758int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000759HREF="libxml-parser.html#XMLPEDANTICPARSERDEFAULT"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000760>xmlPedanticParserDefault</A
761> (int val);
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000762int <A
763HREF="libxml-parser.html#XMLLINENUMBERSDEFAULT"
764>xmlLineNumbersDefault</A
765> (int val);
Daniel Veillard35925471999-02-25 08:46:07 +0000766<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000767HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000768>xmlDocPtr</A
769> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000770HREF="libxml-parser.html#XMLRECOVERDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000771>xmlRecoverDoc</A
772> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000773HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000774>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000775> *cur);
776<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000777HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000778>xmlDocPtr</A
779> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000780HREF="libxml-parser.html#XMLRECOVERMEMORY"
Daniel Veillard35925471999-02-25 08:46:07 +0000781>xmlRecoverMemory</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000782> (const char *buffer,
Daniel Veillard35925471999-02-25 08:46:07 +0000783 int size);
784<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000785HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000786>xmlDocPtr</A
787> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000788HREF="libxml-parser.html#XMLRECOVERFILE"
Daniel Veillard35925471999-02-25 08:46:07 +0000789>xmlRecoverFile</A
790> (const char *filename);
791int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000792HREF="libxml-parser.html#XMLPARSEDOCUMENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000793>xmlParseDocument</A
794> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000795HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000796>xmlParserCtxtPtr</A
797> ctxt);
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000798int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000799HREF="libxml-parser.html#XMLPARSEEXTPARSEDENT"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000800>xmlParseExtParsedEnt</A
801> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000802HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000803>xmlParserCtxtPtr</A
804> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000805<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000806HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000807>xmlDocPtr</A
808> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000809HREF="libxml-parser.html#XMLSAXPARSEDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000810>xmlSAXParseDoc</A
811> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000812HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000813>xmlSAXHandlerPtr</A
814> sax,
815 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000816HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000817>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000818> *cur,
819 int recovery);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000820int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000821HREF="libxml-parser.html#XMLSAXUSERPARSEFILE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000822>xmlSAXUserParseFile</A
823> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000824HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000825>xmlSAXHandlerPtr</A
826> sax,
827 void *user_data,
828 const char *filename);
829int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000830HREF="libxml-parser.html#XMLSAXUSERPARSEMEMORY"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000831>xmlSAXUserParseMemory</A
832> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000833HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000834>xmlSAXHandlerPtr</A
835> sax,
836 void *user_data,
Daniel Veillardbed7b052001-05-19 14:59:49 +0000837 const char *buffer,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000838 int size);
Daniel Veillard35925471999-02-25 08:46:07 +0000839<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000840HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000841>xmlDocPtr</A
842> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000843HREF="libxml-parser.html#XMLSAXPARSEMEMORY"
Daniel Veillard35925471999-02-25 08:46:07 +0000844>xmlSAXParseMemory</A
845> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000846HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000847>xmlSAXHandlerPtr</A
848> sax,
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000849 const char *buffer,
Daniel Veillard35925471999-02-25 08:46:07 +0000850 int size,
851 int recovery);
852<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000853HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000854>xmlDocPtr</A
855> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000856HREF="libxml-parser.html#XMLSAXPARSEFILE"
Daniel Veillard35925471999-02-25 08:46:07 +0000857>xmlSAXParseFile</A
858> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000859HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000860>xmlSAXHandlerPtr</A
861> sax,
862 const char *filename,
863 int recovery);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000864<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000865HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000866>xmlDocPtr</A
867> <A
Daniel Veillard60087f32001-10-10 09:45:09 +0000868HREF="libxml-parser.html#XMLSAXPARSEFILEWITHDATA"
869>xmlSAXParseFileWithData</A
870> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000871HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard60087f32001-10-10 09:45:09 +0000872>xmlSAXHandlerPtr</A
873> sax,
874 const char *filename,
875 int recovery,
876 void *data);
877<A
878HREF="libxml-tree.html#XMLDOCPTR"
879>xmlDocPtr</A
880> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000881HREF="libxml-parser.html#XMLSAXPARSEENTITY"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000882>xmlSAXParseEntity</A
883> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000884HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000885>xmlSAXHandlerPtr</A
886> sax,
887 const char *filename);
888<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000889HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000890>xmlDocPtr</A
891> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000892HREF="libxml-parser.html#XMLPARSEENTITY"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000893>xmlParseEntity</A
894> (const char *filename);
895<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000896HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000897>xmlDtdPtr</A
898> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000899HREF="libxml-parser.html#XMLPARSEDTD"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000900>xmlParseDTD</A
901> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000902HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000903>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000904> *ExternalID,
905 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000906HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000907>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000908> *SystemID);
909<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000910HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000911>xmlDtdPtr</A
912> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000913HREF="libxml-parser.html#XMLSAXPARSEDTD"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000914>xmlSAXParseDTD</A
915> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000916HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000917>xmlSAXHandlerPtr</A
918> sax,
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);
Daniel Veillarda4964b72000-10-31 18:23:44 +0000927<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000928HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillarda4964b72000-10-31 18:23:44 +0000929>xmlDtdPtr</A
930> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000931HREF="libxml-parser.html#XMLIOPARSEDTD"
Daniel Veillarda4964b72000-10-31 18:23:44 +0000932>xmlIOParseDTD</A
933> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000934HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillarda4964b72000-10-31 18:23:44 +0000935>xmlSAXHandlerPtr</A
936> sax,
937 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000938HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
Daniel Veillarda4964b72000-10-31 18:23:44 +0000939>xmlParserInputBufferPtr</A
940> input,
941 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000942HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillarda4964b72000-10-31 18:23:44 +0000943>xmlCharEncoding</A
944> enc);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000945int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000946HREF="libxml-parser.html#XMLPARSEBALANCEDCHUNKMEMORY"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000947>xmlParseBalancedChunkMemory</A
948> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000949HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000950>xmlDocPtr</A
951> doc,
952 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000953HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000954>xmlSAXHandlerPtr</A
955> sax,
956 void *user_data,
957 int depth,
958 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000959HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000960>xmlChar</A
961> *string,
962 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000963HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000964>xmlNodePtr</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000965> *lst);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000966int <A
Daniel Veillard2ace1952002-09-26 12:28:02 +0000967HREF="libxml-parser.html#XMLPARSEBALANCEDCHUNKMEMORYRECOVER"
968>xmlParseBalancedChunkMemoryRecover</A
969>
970 (<A
971HREF="libxml-tree.html#XMLDOCPTR"
972>xmlDocPtr</A
973> doc,
974 <A
975HREF="libxml-tree.html#XMLSAXHANDLERPTR"
976>xmlSAXHandlerPtr</A
977> sax,
978 void *user_data,
979 int depth,
980 const <A
981HREF="libxml-tree.html#XMLCHAR"
982>xmlChar</A
983> *string,
984 <A
985HREF="libxml-tree.html#XMLNODEPTR"
986>xmlNodePtr</A
987> *lst,
988 int recover);
989int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000990HREF="libxml-parser.html#XMLPARSEEXTERNALENTITY"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000991>xmlParseExternalEntity</A
992> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000993HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000994>xmlDocPtr</A
995> doc,
996 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000997HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000998>xmlSAXHandlerPtr</A
999> sax,
1000 void *user_data,
1001 int depth,
1002 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001003HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001004>xmlChar</A
1005> *URL,
1006 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001007HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001008>xmlChar</A
1009> *ID,
1010 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001011HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001012>xmlNodePtr</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001013> *lst);
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001014int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001015HREF="libxml-parser.html#XMLPARSECTXTEXTERNALENTITY"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001016>xmlParseCtxtExternalEntity</A
1017> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001018HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001019>xmlParserCtxtPtr</A
1020> ctx,
1021 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001022HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001023>xmlChar</A
1024> *URL,
1025 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001026HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001027>xmlChar</A
1028> *ID,
1029 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001030HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001031>xmlNodePtr</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001032> *lst);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001033void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001034HREF="libxml-parser.html#XMLINITPARSERCTXT"
Daniel Veillard35925471999-02-25 08:46:07 +00001035>xmlInitParserCtxt</A
1036> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001037HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001038>xmlParserCtxtPtr</A
1039> ctxt);
1040void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001041HREF="libxml-parser.html#XMLCLEARPARSERCTXT"
Daniel Veillard35925471999-02-25 08:46:07 +00001042>xmlClearParserCtxt</A
1043> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001044HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001045>xmlParserCtxtPtr</A
1046> ctxt);
1047void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001048HREF="libxml-parser.html#XMLFREEPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001049>xmlFreeParserCtxt</A
1050> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001051HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001052>xmlParserCtxtPtr</A
1053> ctxt);
1054void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001055HREF="libxml-parser.html#XMLSETUPPARSERFORBUFFER"
Daniel Veillard35925471999-02-25 08:46:07 +00001056>xmlSetupParserForBuffer</A
1057> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001058HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001059>xmlParserCtxtPtr</A
1060> ctxt,
1061 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001062HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001063>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001064> *buffer,
1065 const char *filename);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001066<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001067HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001068>xmlParserCtxtPtr</A
1069> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001070HREF="libxml-parser.html#XMLCREATEDOCPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001071>xmlCreateDocParserCtxt</A
1072> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001073HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001074>xmlChar</A
1075> *cur);
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001076int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001077HREF="libxml-parser.html#XMLGETFEATURESLIST"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001078>xmlGetFeaturesList</A
1079> (int *len,
1080 const char **result);
1081int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001082HREF="libxml-parser.html#XMLGETFEATURE"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001083>xmlGetFeature</A
1084> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001085HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001086>xmlParserCtxtPtr</A
1087> ctxt,
1088 const char *name,
1089 void *result);
1090int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001091HREF="libxml-parser.html#XMLSETFEATURE"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001092>xmlSetFeature</A
1093> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001094HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001095>xmlParserCtxtPtr</A
1096> ctxt,
1097 const char *name,
1098 void *value);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001099<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001100HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001101>xmlParserCtxtPtr</A
1102> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001103HREF="libxml-parser.html#XMLCREATEPUSHPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001104>xmlCreatePushParserCtxt</A
1105> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001106HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001107>xmlSAXHandlerPtr</A
1108> sax,
1109 void *user_data,
1110 const char *chunk,
1111 int size,
1112 const char *filename);
1113int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001114HREF="libxml-parser.html#XMLPARSECHUNK"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001115>xmlParseChunk</A
1116> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001117HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001118>xmlParserCtxtPtr</A
1119> ctxt,
1120 const char *chunk,
1121 int size,
1122 int terminate);
1123<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001124HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001125>xmlParserCtxtPtr</A
1126> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001127HREF="libxml-parser.html#XMLCREATEIOPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001128>xmlCreateIOParserCtxt</A
1129> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001130HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001131>xmlSAXHandlerPtr</A
1132> sax,
1133 void *user_data,
1134 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001135HREF="libxml-xmlio.html#XMLINPUTREADCALLBACK"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001136>xmlInputReadCallback</A
1137> ioread,
1138 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001139HREF="libxml-xmlio.html#XMLINPUTCLOSECALLBACK"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001140>xmlInputCloseCallback</A
1141> ioclose,
1142 void *ioctx,
1143 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001144HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001145>xmlCharEncoding</A
1146> enc);
1147<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001148HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001149>xmlParserInputPtr</A
1150> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001151HREF="libxml-parser.html#XMLNEWIOINPUTSTREAM"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001152>xmlNewIOInputStream</A
1153> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001154HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001155>xmlParserCtxtPtr</A
1156> ctxt,
1157 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001158HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001159>xmlParserInputBufferPtr</A
1160> input,
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);
Daniel Veillard35925471999-02-25 08:46:07 +00001165const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001166HREF="libxml-parser.html#XMLPARSERNODEINFO"
Daniel Veillard35925471999-02-25 08:46:07 +00001167>xmlParserNodeInfo</A
1168>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001169HREF="libxml-parser.html#XMLPARSERFINDNODEINFO"
Daniel Veillard35925471999-02-25 08:46:07 +00001170>xmlParserFindNodeInfo</A
1171>
1172 (const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001173HREF="libxml-tree.html#XMLPARSERCTXTPTR"
1174>xmlParserCtxtPtr</A
1175> ctxt,
Daniel Veillard35925471999-02-25 08:46:07 +00001176 const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001177HREF="libxml-tree.html#XMLNODEPTR"
1178>xmlNodePtr</A
1179> node);
Daniel Veillard35925471999-02-25 08:46:07 +00001180void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001181HREF="libxml-parser.html#XMLINITNODEINFOSEQ"
Daniel Veillard35925471999-02-25 08:46:07 +00001182>xmlInitNodeInfoSeq</A
1183> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001184HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001185>xmlParserNodeInfoSeqPtr</A
1186> seq);
1187void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001188HREF="libxml-parser.html#XMLCLEARNODEINFOSEQ"
Daniel Veillard35925471999-02-25 08:46:07 +00001189>xmlClearNodeInfoSeq</A
1190> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001191HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001192>xmlParserNodeInfoSeqPtr</A
1193> seq);
1194unsigned <GTKDOCLINK
1195HREF="LONG"
1196>long</GTKDOCLINK
1197> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001198HREF="libxml-parser.html#XMLPARSERFINDNODEINFOINDEX"
Daniel Veillard35925471999-02-25 08:46:07 +00001199>xmlParserFindNodeInfoIndex</A
1200> (const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001201HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
1202>xmlParserNodeInfoSeqPtr</A
1203> seq,
Daniel Veillard35925471999-02-25 08:46:07 +00001204 const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001205HREF="libxml-tree.html#XMLNODEPTR"
1206>xmlNodePtr</A
1207> node);
Daniel Veillard35925471999-02-25 08:46:07 +00001208void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001209HREF="libxml-parser.html#XMLPARSERADDNODEINFO"
Daniel Veillard35925471999-02-25 08:46:07 +00001210>xmlParserAddNodeInfo</A
1211> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001212HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001213>xmlParserCtxtPtr</A
1214> ctxt,
1215 const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001216HREF="libxml-parser.html#XMLPARSERNODEINFOPTR"
1217>xmlParserNodeInfoPtr</A
1218> info);
Daniel Veillard35925471999-02-25 08:46:07 +00001219void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001220HREF="libxml-parser.html#XMLSETEXTERNALENTITYLOADER"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001221>xmlSetExternalEntityLoader</A
1222> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001223HREF="libxml-parser.html#XMLEXTERNALENTITYLOADER"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001224>xmlExternalEntityLoader</A
1225> f);
1226<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001227HREF="libxml-parser.html#XMLEXTERNALENTITYLOADER"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001228>xmlExternalEntityLoader</A
1229> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001230HREF="libxml-parser.html#XMLGETEXTERNALENTITYLOADER"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001231>xmlGetExternalEntityLoader</A
1232>
1233 (void);
1234<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001235HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001236>xmlParserInputPtr</A
1237> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001238HREF="libxml-parser.html#XMLLOADEXTERNALENTITY"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001239>xmlLoadExternalEntity</A
1240> (const char *URL,
1241 const char *ID,
1242 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001243HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard437b87b2000-01-03 17:30:46 +00001244>xmlParserCtxtPtr</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001245> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001246></TD
1247></TR
1248></TABLE
1249></DIV
1250><DIV
1251CLASS="REFSECT1"
1252><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001253NAME="AEN318"
Daniel Veillard35925471999-02-25 08:46:07 +00001254></A
1255><H2
1256>Description</H2
1257><P
1258></P
1259></DIV
1260><DIV
1261CLASS="REFSECT1"
1262><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001263NAME="AEN321"
Daniel Veillard35925471999-02-25 08:46:07 +00001264></A
1265><H2
1266>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001267><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001268CLASS="REFSECT2"
1269><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001270NAME="AEN323"
Daniel Veillard35925471999-02-25 08:46:07 +00001271></A
1272><H3
1273><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001274NAME="XML-DEFAULT-VERSION-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00001275></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001276>XML_DEFAULT_VERSION</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001277><TABLE
1278BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001279BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001280WIDTH="100%"
1281CELLPADDING="6"
1282><TR
1283><TD
1284><PRE
1285CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001286>#define XML_DEFAULT_VERSION "1.0"</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001287></TD
1288></TR
1289></TABLE
1290><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001291>The default version of XML used: 1.0</P
1292><P
Daniel Veillard35925471999-02-25 08:46:07 +00001293></P
1294></DIV
1295><HR><DIV
1296CLASS="REFSECT2"
1297><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001298NAME="AEN329"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001299></A
1300><H3
1301><A
1302NAME="XMLPARSERINPUTDEALLOCATE"
1303></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001304>xmlParserInputDeallocate ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001305><TABLE
1306BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001307BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001308WIDTH="100%"
1309CELLPADDING="6"
1310><TR
1311><TD
1312><PRE
1313CLASS="PROGRAMLISTING"
1314>void (*xmlParserInputDeallocate) (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001315HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001316>xmlChar</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001317> *str);</PRE
Daniel Veillardd692aa41999-02-28 21:54:31 +00001318></TD
1319></TR
1320></TABLE
1321><P
Daniel Veillard19274092002-03-25 16:48:03 +00001322>Callback for freeing some parser input allocations.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001323><P
Daniel Veillardd692aa41999-02-28 21:54:31 +00001324></P
1325><DIV
1326CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001327><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001328NAME="AEN336"><P
Daniel Veillardd692aa41999-02-28 21:54:31 +00001329></P
1330><TABLE
1331BORDER="0"
1332WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001333BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001334CELLSPACING="0"
1335CELLPADDING="4"
1336CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001337><TBODY
Daniel Veillardd692aa41999-02-28 21:54:31 +00001338><TR
1339><TD
1340WIDTH="20%"
1341ALIGN="RIGHT"
1342VALIGN="TOP"
1343><TT
1344CLASS="PARAMETER"
1345><I
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001346>str</I
Daniel Veillardd692aa41999-02-28 21:54:31 +00001347></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001348>&nbsp;:</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001349><TD
1350WIDTH="80%"
1351ALIGN="LEFT"
1352VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001353> the string to deallocate</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001354></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001355></TBODY
Daniel Veillardd692aa41999-02-28 21:54:31 +00001356></TABLE
1357><P
1358></P
1359></DIV
1360></DIV
1361><HR><DIV
1362CLASS="REFSECT2"
1363><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001364NAME="AEN345"
Daniel Veillard24491f62000-01-05 14:58:38 +00001365></A
1366><H3
1367><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001368NAME="XMLPARSERINPUT"
Daniel Veillard24491f62000-01-05 14:58:38 +00001369></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001370>struct xmlParserInput</H3
Daniel Veillard71b656e2000-01-05 14:46:17 +00001371><TABLE
1372BORDER="0"
Daniel Veillard24491f62000-01-05 14:58:38 +00001373BGCOLOR="#D6E8FF"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001374WIDTH="100%"
Daniel Veillard24491f62000-01-05 14:58:38 +00001375CELLPADDING="6"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001376><TR
1377><TD
Daniel Veillard24491f62000-01-05 14:58:38 +00001378><PRE
1379CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001380>struct xmlParserInput {
1381 /* Input buffer */
1382 xmlParserInputBufferPtr buf; /* UTF-8 encoded buffer */
1383
1384 const char *filename; /* The file analyzed, if any */
Daniel Veillard60087f32001-10-10 09:45:09 +00001385 const char *directory; /* the directory/base of the file */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001386 const xmlChar *base; /* Base of the array to parse */
1387 const xmlChar *cur; /* Current char being parsed */
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001388 const xmlChar *end; /* end of the array to parse */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001389 int length; /* length if known */
1390 int line; /* Current line */
1391 int col; /* Current column */
1392 int consumed; /* How many xmlChars already consumed */
1393 xmlParserInputDeallocate free; /* function to deallocate the base */
1394 const xmlChar *encoding; /* the encoding string for entity */
1395 const xmlChar *version; /* the version string for entity */
1396 int standalone; /* Was that entity marked standalone */
1397};</PRE
Daniel Veillard24491f62000-01-05 14:58:38 +00001398></TD
Daniel Veillard71b656e2000-01-05 14:46:17 +00001399></TR
1400></TABLE
1401><P
Daniel Veillard19274092002-03-25 16:48:03 +00001402>An xmlParserInput is an input flow for the XML processor.
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001403Each entity parsed is associated an xmlParserInput (except the
1404few predefined ones). This is the case both for internal entities
1405- in which case the flow is already completely in memory - or
1406external entities - in which case we use the buf structure for
1407progressive reading and I18N conversions to the internal UTF-8 format.</P
1408><P
Daniel Veillard71b656e2000-01-05 14:46:17 +00001409></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001410></DIV
1411><HR><DIV
1412CLASS="REFSECT2"
1413><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001414NAME="AEN351"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001415></A
1416><H3
1417><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001418NAME="XMLPARSERNODEINFO"
1419></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001420>struct xmlParserNodeInfo</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001421><TABLE
1422BORDER="0"
1423BGCOLOR="#D6E8FF"
1424WIDTH="100%"
1425CELLPADDING="6"
1426><TR
1427><TD
1428><PRE
1429CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001430>struct xmlParserNodeInfo {
1431 const struct _xmlNode* node;
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001432 /* Position &amp; line # that text that created the node begins &amp; ends on */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001433 unsigned long begin_pos;
1434 unsigned long begin_line;
1435 unsigned long end_pos;
1436 unsigned long end_line;
1437};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001438></TD
1439></TR
1440></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001441><P
Daniel Veillard19274092002-03-25 16:48:03 +00001442>The parser can be asked to collect Node informations, i.e. at what
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001443place in the file they were detected.
1444NOTE: This is off by default and not very well tested.</P
1445><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001446></P
1447></DIV
1448><HR><DIV
1449CLASS="REFSECT2"
1450><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001451NAME="AEN357"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001452></A
1453><H3
1454><A
1455NAME="XMLPARSERNODEINFOPTR"
1456></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001457>xmlParserNodeInfoPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001458><TABLE
1459BORDER="0"
1460BGCOLOR="#D6E8FF"
1461WIDTH="100%"
1462CELLPADDING="6"
1463><TR
1464><TD
1465><PRE
1466CLASS="PROGRAMLISTING"
1467>typedef xmlParserNodeInfo *xmlParserNodeInfoPtr;</PRE
1468></TD
1469></TR
1470></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001471><P
1472></P
1473></DIV
1474><HR><DIV
1475CLASS="REFSECT2"
1476><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001477NAME="AEN362"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001478></A
1479><H3
1480><A
1481NAME="XMLPARSERNODEINFOSEQ"
1482></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001483>struct xmlParserNodeInfoSeq</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001484><TABLE
1485BORDER="0"
1486BGCOLOR="#D6E8FF"
1487WIDTH="100%"
1488CELLPADDING="6"
1489><TR
1490><TD
1491><PRE
1492CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001493>struct xmlParserNodeInfoSeq {
1494 unsigned long maximum;
1495 unsigned long length;
1496 xmlParserNodeInfo* buffer;
1497};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001498></TD
1499></TR
1500></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001501><P
1502></P
1503></DIV
1504><HR><DIV
1505CLASS="REFSECT2"
1506><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001507NAME="AEN367"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001508></A
1509><H3
1510><A
1511NAME="XMLPARSERNODEINFOSEQPTR"
1512></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001513>xmlParserNodeInfoSeqPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001514><TABLE
1515BORDER="0"
1516BGCOLOR="#D6E8FF"
1517WIDTH="100%"
1518CELLPADDING="6"
1519><TR
1520><TD
1521><PRE
1522CLASS="PROGRAMLISTING"
1523>typedef xmlParserNodeInfoSeq *xmlParserNodeInfoSeqPtr;</PRE
1524></TD
1525></TR
1526></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001527><P
1528></P
1529></DIV
1530><HR><DIV
1531CLASS="REFSECT2"
1532><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001533NAME="AEN372"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001534></A
1535><H3
1536><A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001537NAME="XMLPARSERINPUTSTATE"
1538></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001539>enum xmlParserInputState</H3
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001540><TABLE
1541BORDER="0"
1542BGCOLOR="#D6E8FF"
1543WIDTH="100%"
1544CELLPADDING="6"
1545><TR
1546><TD
1547><PRE
1548CLASS="PROGRAMLISTING"
Daniel Veillard00fdf371999-10-08 09:40:39 +00001549>typedef enum {
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001550 XML_PARSER_EOF = -1, /* nothing is to be parsed */
1551 XML_PARSER_START = 0, /* nothing has been parsed */
1552 XML_PARSER_MISC, /* Misc* before int subset */
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001553 XML_PARSER_PI, /* Within a processing instruction */
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001554 XML_PARSER_DTD, /* within some DTD content */
1555 XML_PARSER_PROLOG, /* Misc* after internal subset */
1556 XML_PARSER_COMMENT, /* within a comment */
1557 XML_PARSER_START_TAG, /* within a start tag */
1558 XML_PARSER_CONTENT, /* within the content */
1559 XML_PARSER_CDATA_SECTION, /* within a CDATA section */
1560 XML_PARSER_END_TAG, /* within a closing tag */
1561 XML_PARSER_ENTITY_DECL, /* within an entity declaration */
1562 XML_PARSER_ENTITY_VALUE, /* within an entity value in a decl */
1563 XML_PARSER_ATTRIBUTE_VALUE, /* within an attribute value */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001564 XML_PARSER_SYSTEM_LITERAL, /* within a SYSTEM value */
Daniel Veillard28929b22000-11-13 18:22:49 +00001565 XML_PARSER_EPILOG, /* the Misc* after the last end tag */
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001566 XML_PARSER_IGNORE, /* within an IGNORED section */
1567 XML_PARSER_PUBLIC_LITERAL /* within a PUBLIC value */
Daniel Veillardb05deb71999-08-10 19:04:08 +00001568} xmlParserInputState;</PRE
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001569></TD
1570></TR
1571></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001572><P
Daniel Veillard19274092002-03-25 16:48:03 +00001573>The parser is now working also as a state based parser.
1574The recursive one use the state info for entities processing.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001575><P
Daniel Veillard35925471999-02-25 08:46:07 +00001576></P
1577></DIV
1578><HR><DIV
1579CLASS="REFSECT2"
1580><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001581NAME="AEN378"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001582></A
1583><H3
1584><A
1585NAME="XML-DETECT-IDS-CAPS"
1586></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001587>XML_DETECT_IDS</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001588><TABLE
1589BORDER="0"
1590BGCOLOR="#D6E8FF"
1591WIDTH="100%"
1592CELLPADDING="6"
1593><TR
1594><TD
1595><PRE
1596CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001597>#define XML_DETECT_IDS 2</PRE
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001598></TD
1599></TR
1600></TABLE
1601><P
Daniel Veillard19274092002-03-25 16:48:03 +00001602>Bit in the loadsubset context field to tell to do ID/REFs lookups.
1603Use it to initialize xmlLoadExtDtdDefaultValue.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001604><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001605></P
1606></DIV
1607><HR><DIV
1608CLASS="REFSECT2"
1609><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001610NAME="AEN384"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001611></A
1612><H3
1613><A
1614NAME="XML-COMPLETE-ATTRS-CAPS"
1615></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001616>XML_COMPLETE_ATTRS</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001617><TABLE
1618BORDER="0"
1619BGCOLOR="#D6E8FF"
1620WIDTH="100%"
1621CELLPADDING="6"
1622><TR
1623><TD
1624><PRE
1625CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001626>#define XML_COMPLETE_ATTRS 4</PRE
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001627></TD
1628></TR
1629></TABLE
1630><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001631>Bit in the loadsubset context field to tell to do complete the
Daniel Veillard19274092002-03-25 16:48:03 +00001632elements attributes lists with the ones defaulted from the DTDs.
1633Use it to initialize xmlLoadExtDtdDefaultValue.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001634><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001635></P
1636></DIV
1637><HR><DIV
1638CLASS="REFSECT2"
1639><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001640NAME="AEN390"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001641></A
1642><H3
1643><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001644NAME="XMLPARSERCTXT"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001645></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001646>struct xmlParserCtxt</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001647><TABLE
1648BORDER="0"
1649BGCOLOR="#D6E8FF"
1650WIDTH="100%"
1651CELLPADDING="6"
1652><TR
1653><TD
1654><PRE
1655CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001656>struct xmlParserCtxt {
1657 struct _xmlSAXHandler *sax; /* The SAX handler */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001658 void *userData; /* For SAX interface only, used by DOM build */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001659 xmlDocPtr myDoc; /* the document being built */
1660 int wellFormed; /* is the document well formed */
1661 int replaceEntities; /* shall we replace entities ? */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001662 const xmlChar *version; /* the XML version string */
1663 const xmlChar *encoding; /* the declared encoding, if any */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001664 int standalone; /* standalone document */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001665 int html; /* an HTML(1)/Docbook(2) document */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001666
1667 /* Input stream stack */
1668 xmlParserInputPtr input; /* Current input stream */
1669 int inputNr; /* Number of current input streams */
1670 int inputMax; /* Max number of input streams */
1671 xmlParserInputPtr *inputTab; /* stack of inputs */
1672
1673 /* Node analysis stack only used for DOM building */
1674 xmlNodePtr node; /* Current parsed Node */
1675 int nodeNr; /* Depth of the parsing stack */
1676 int nodeMax; /* Max depth of the parsing stack */
1677 xmlNodePtr *nodeTab; /* array of nodes */
1678
1679 int record_info; /* Whether node info should be kept */
1680 xmlParserNodeInfoSeq node_seq; /* info about each node parsed */
1681
1682 int errNo; /* error code */
1683
1684 int hasExternalSubset; /* reference and external subset */
1685 int hasPErefs; /* the internal subset has PE refs */
1686 int external; /* are we parsing an external entity */
1687
1688 int valid; /* is the document valid */
1689 int validate; /* shall we try to validate ? */
1690 xmlValidCtxt vctxt; /* The validity context */
1691
1692 xmlParserInputState instate; /* current type of input */
1693 int token; /* next char look-ahead */
1694
1695 char *directory; /* the data directory */
1696
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001697 /* Node name stack */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001698 xmlChar *name; /* Current parsed Node */
1699 int nameNr; /* Depth of the parsing stack */
1700 int nameMax; /* Max depth of the parsing stack */
1701 xmlChar * *nameTab; /* array of nodes */
1702
1703 long nbChars; /* number of xmlChar processed */
1704 long checkIndex; /* used by progressive parsing lookup */
Daniel Veillardf6868712000-01-05 14:58:38 +00001705 int keepBlanks; /* ugly but ... */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001706 int disableSAX; /* SAX callbacks are disabled */
1707 int inSubset; /* Parsing is in int 1/ext 2 subset */
1708 xmlChar * intSubName; /* name of subset */
1709 xmlChar * extSubURI; /* URI of external subset */
1710 xmlChar * extSubSystem; /* SYSTEM ID of external subset */
1711
1712 /* xml:space values */
1713 int * space; /* Should the parser preserve spaces */
1714 int spaceNr; /* Depth of the parsing stack */
1715 int spaceMax; /* Max depth of the parsing stack */
1716 int * spaceTab; /* array of space infos */
1717
1718 int depth; /* to prevent entity substitution loops */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001719 xmlParserInputPtr entity; /* used to check entities boundaries */
1720 int charset; /* encoding of the in-memory content
1721 actually an xmlCharEncoding */
1722 int nodelen; /* Those two fields are there to */
1723 int nodemem; /* Speed up large node parsing */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001724 int pedantic; /* signal pedantic warnings */
1725 void *_private; /* For user data, libxml won't touch it */
Daniel Veillardd194dd22001-02-14 10:37:43 +00001726
1727 int loadsubset; /* should the external subset be loaded */
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001728 int linenumbers; /* set line number in element content */
1729 void *catalogs; /* document's own catalog */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001730};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001731></TD
1732></TR
1733></TABLE
Daniel Veillardb05deb71999-08-10 19:04:08 +00001734><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001735>The parser context.
Daniel Veillard19274092002-03-25 16:48:03 +00001736NOTE This doesn't completely define the parser state, the (current ?)
Daniel Veillardaf43f632002-03-08 15:05:20 +00001737design of the parser uses recursive function calls since this allow
1738and easy mapping from the production rules of the specification
1739to the actual code. The drawback is that the actual function call
1740also reflect the parser state. However most of the parsing routines
1741takes as the only argument the parser context pointer, so migrating
1742to a state based parser for progressive parsing shouldn't be too hard.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001743><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001744></P
1745></DIV
1746><HR><DIV
1747CLASS="REFSECT2"
1748><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001749NAME="AEN396"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001750></A
1751><H3
1752><A
1753NAME="XMLSAXLOCATOR"
1754></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001755>struct xmlSAXLocator</H3
Daniel Veillard71b656e2000-01-05 14:46:17 +00001756><TABLE
1757BORDER="0"
1758BGCOLOR="#D6E8FF"
1759WIDTH="100%"
1760CELLPADDING="6"
1761><TR
1762><TD
1763><PRE
1764CLASS="PROGRAMLISTING"
1765>struct xmlSAXLocator {
1766 const xmlChar *(*getPublicId)(void *ctx);
1767 const xmlChar *(*getSystemId)(void *ctx);
1768 int (*getLineNumber)(void *ctx);
1769 int (*getColumnNumber)(void *ctx);
1770};</PRE
1771></TD
1772></TR
1773></TABLE
1774><P
Daniel Veillard19274092002-03-25 16:48:03 +00001775>A SAX Locator.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001776><P
Daniel Veillard71b656e2000-01-05 14:46:17 +00001777></P
1778></DIV
1779><HR><DIV
1780CLASS="REFSECT2"
1781><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001782NAME="AEN402"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001783></A
1784><H3
1785><A
Daniel Veillard35925471999-02-25 08:46:07 +00001786NAME="RESOLVEENTITYSAXFUNC"
1787></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001788>resolveEntitySAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001789><TABLE
1790BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001791BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001792WIDTH="100%"
1793CELLPADDING="6"
1794><TR
1795><TD
1796><PRE
1797CLASS="PROGRAMLISTING"
1798><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001799HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001800>xmlParserInputPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001801> (*resolveEntitySAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00001802 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001803HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001804>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001805> *publicId,
1806 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001807HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001808>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001809> *systemId);</PRE
1810></TD
1811></TR
1812></TABLE
1813><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001814>Callback:
1815The entity loader, to control the loading of external entities,
1816the application can either:
Daniel Veillardaf43f632002-03-08 15:05:20 +00001817- override this <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001818HREF="libxml-sax.html#RESOLVEENTITY"
1819>resolveEntity</A
1820>() callback in the SAX block
Daniel Veillardaf43f632002-03-08 15:05:20 +00001821- or better use the <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001822HREF="libxml-parser.html#XMLSETEXTERNALENTITYLOADER"
1823>xmlSetExternalEntityLoader</A
1824>() function to
Daniel Veillardaf43f632002-03-08 15:05:20 +00001825set up it's own entity resolution routine</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001826><P
Daniel Veillard35925471999-02-25 08:46:07 +00001827></P
1828><DIV
1829CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001830><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001831NAME="AEN413"><P
Daniel Veillard35925471999-02-25 08:46:07 +00001832></P
1833><TABLE
1834BORDER="0"
1835WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001836BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001837CELLSPACING="0"
1838CELLPADDING="4"
1839CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001840><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001841><TR
1842><TD
1843WIDTH="20%"
1844ALIGN="RIGHT"
1845VALIGN="TOP"
1846><TT
1847CLASS="PARAMETER"
1848><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00001849>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00001850></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001851>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001852><TD
1853WIDTH="80%"
1854ALIGN="LEFT"
1855VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001856> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001857></TR
1858><TR
1859><TD
1860WIDTH="20%"
1861ALIGN="RIGHT"
1862VALIGN="TOP"
1863><TT
1864CLASS="PARAMETER"
1865><I
1866>publicId</I
1867></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001868>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001869><TD
1870WIDTH="80%"
1871ALIGN="LEFT"
1872VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001873> The public ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001874></TR
1875><TR
1876><TD
1877WIDTH="20%"
1878ALIGN="RIGHT"
1879VALIGN="TOP"
1880><TT
1881CLASS="PARAMETER"
1882><I
1883>systemId</I
1884></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001885>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001886><TD
1887WIDTH="80%"
1888ALIGN="LEFT"
1889VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001890> The system ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001891></TR
1892><TR
1893><TD
1894WIDTH="20%"
1895ALIGN="RIGHT"
1896VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001897><SPAN
1898CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00001899><I
1900CLASS="EMPHASIS"
1901>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001902></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00001903> :</TD
1904><TD
1905WIDTH="80%"
1906ALIGN="LEFT"
1907VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001908>the xmlParserInputPtr if inlined or NULL for DOM behaviour.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001909></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001910></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001911></TABLE
1912><P
1913></P
1914></DIV
1915></DIV
1916><HR><DIV
1917CLASS="REFSECT2"
1918><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001919NAME="AEN434"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001920></A
1921><H3
1922><A
1923NAME="INTERNALSUBSETSAXFUNC"
1924></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001925>internalSubsetSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00001926><TABLE
1927BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001928BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001929WIDTH="100%"
1930CELLPADDING="6"
1931><TR
1932><TD
1933><PRE
1934CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00001935>void (*internalSubsetSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001936 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001937HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001938>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001939> *name,
1940 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001941HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001942>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001943> *ExternalID,
1944 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001945HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001946>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001947> *SystemID);</PRE
1948></TD
1949></TR
1950></TABLE
1951><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001952>Callback on internal subset declaration.</P
1953><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00001954></P
1955><DIV
1956CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001957><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00001958NAME="AEN443"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00001959></P
1960><TABLE
1961BORDER="0"
1962WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001963BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001964CELLSPACING="0"
1965CELLPADDING="4"
1966CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001967><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00001968><TR
1969><TD
1970WIDTH="20%"
1971ALIGN="RIGHT"
1972VALIGN="TOP"
1973><TT
1974CLASS="PARAMETER"
1975><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00001976>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001977></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001978>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001979><TD
1980WIDTH="80%"
1981ALIGN="LEFT"
1982VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001983> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001984></TR
1985><TR
1986><TD
1987WIDTH="20%"
1988ALIGN="RIGHT"
1989VALIGN="TOP"
1990><TT
1991CLASS="PARAMETER"
1992><I
1993>name</I
1994></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001995>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001996><TD
1997WIDTH="80%"
1998ALIGN="LEFT"
1999VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002000> the root element name</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002001></TR
2002><TR
2003><TD
2004WIDTH="20%"
2005ALIGN="RIGHT"
2006VALIGN="TOP"
2007><TT
2008CLASS="PARAMETER"
2009><I
2010>ExternalID</I
2011></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002012>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002013><TD
2014WIDTH="80%"
2015ALIGN="LEFT"
2016VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002017> the external ID</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002018></TR
2019><TR
2020><TD
2021WIDTH="20%"
2022ALIGN="RIGHT"
2023VALIGN="TOP"
2024><TT
2025CLASS="PARAMETER"
2026><I
2027>SystemID</I
2028></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002029>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002030><TD
2031WIDTH="80%"
2032ALIGN="LEFT"
2033VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002034> the SYSTEM ID (e.g. filename or URL)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002035></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002036></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002037></TABLE
2038><P
2039></P
2040></DIV
2041></DIV
2042><HR><DIV
2043CLASS="REFSECT2"
2044><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002045NAME="AEN464"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002046></A
2047><H3
2048><A
2049NAME="EXTERNALSUBSETSAXFUNC"
2050></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002051>externalSubsetSAXFunc ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002052><TABLE
2053BORDER="0"
2054BGCOLOR="#D6E8FF"
2055WIDTH="100%"
2056CELLPADDING="6"
2057><TR
2058><TD
2059><PRE
2060CLASS="PROGRAMLISTING"
2061>void (*externalSubsetSAXFunc) (void *ctx,
2062 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002063HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002064>xmlChar</A
2065> *name,
2066 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002067HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002068>xmlChar</A
2069> *ExternalID,
2070 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002071HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002072>xmlChar</A
2073> *SystemID);</PRE
2074></TD
2075></TR
2076></TABLE
2077><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002078>Callback on external subset declaration.</P
2079><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002080></P
2081><DIV
2082CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002083><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002084NAME="AEN473"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002085></P
2086><TABLE
2087BORDER="0"
2088WIDTH="100%"
2089BGCOLOR="#FFD0D0"
2090CELLSPACING="0"
2091CELLPADDING="4"
2092CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002093><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002094><TR
2095><TD
2096WIDTH="20%"
2097ALIGN="RIGHT"
2098VALIGN="TOP"
2099><TT
2100CLASS="PARAMETER"
2101><I
2102>ctx</I
2103></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002104>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002105><TD
2106WIDTH="80%"
2107ALIGN="LEFT"
2108VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002109> the user data (XML parser context)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002110></TR
2111><TR
2112><TD
2113WIDTH="20%"
2114ALIGN="RIGHT"
2115VALIGN="TOP"
2116><TT
2117CLASS="PARAMETER"
2118><I
2119>name</I
2120></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002121>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002122><TD
2123WIDTH="80%"
2124ALIGN="LEFT"
2125VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002126> the root element name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002127></TR
2128><TR
2129><TD
2130WIDTH="20%"
2131ALIGN="RIGHT"
2132VALIGN="TOP"
2133><TT
2134CLASS="PARAMETER"
2135><I
2136>ExternalID</I
2137></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002138>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002139><TD
2140WIDTH="80%"
2141ALIGN="LEFT"
2142VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002143> the external ID</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002144></TR
2145><TR
2146><TD
2147WIDTH="20%"
2148ALIGN="RIGHT"
2149VALIGN="TOP"
2150><TT
2151CLASS="PARAMETER"
2152><I
2153>SystemID</I
2154></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002155>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002156><TD
2157WIDTH="80%"
2158ALIGN="LEFT"
2159VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002160> the SYSTEM ID (e.g. filename or URL)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002161></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002162></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002163></TABLE
2164><P
2165></P
2166></DIV
2167></DIV
2168><HR><DIV
2169CLASS="REFSECT2"
2170><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002171NAME="AEN494"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002172></A
2173><H3
2174><A
2175NAME="GETENTITYSAXFUNC"
2176></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002177>getEntitySAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002178><TABLE
2179BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002180BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002181WIDTH="100%"
2182CELLPADDING="6"
2183><TR
2184><TD
2185><PRE
2186CLASS="PROGRAMLISTING"
2187><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002188HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002189>xmlEntityPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00002190> (*getEntitySAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002191 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002192HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002193>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002194> *name);</PRE
2195></TD
2196></TR
2197></TABLE
2198><P
Daniel Veillard19274092002-03-25 16:48:03 +00002199>Get an entity by name.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002200><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002201></P
2202><DIV
2203CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002204><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002205NAME="AEN502"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002206></P
2207><TABLE
2208BORDER="0"
2209WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002210BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002211CELLSPACING="0"
2212CELLPADDING="4"
2213CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002214><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002215><TR
2216><TD
2217WIDTH="20%"
2218ALIGN="RIGHT"
2219VALIGN="TOP"
2220><TT
2221CLASS="PARAMETER"
2222><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002223>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002224></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002225>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002226><TD
2227WIDTH="80%"
2228ALIGN="LEFT"
2229VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002230> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002231></TR
2232><TR
2233><TD
2234WIDTH="20%"
2235ALIGN="RIGHT"
2236VALIGN="TOP"
2237><TT
2238CLASS="PARAMETER"
2239><I
2240>name</I
2241></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002242>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002243><TD
2244WIDTH="80%"
2245ALIGN="LEFT"
2246VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002247> The entity name</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002248></TR
2249><TR
2250><TD
2251WIDTH="20%"
2252ALIGN="RIGHT"
2253VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002254><SPAN
2255CLASS="emphasis"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002256><I
2257CLASS="EMPHASIS"
2258>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002259></SPAN
Daniel Veillard5099ae81999-04-21 20:12:07 +00002260> :</TD
2261><TD
2262WIDTH="80%"
2263ALIGN="LEFT"
2264VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002265>the xmlEntityPtr if found.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002266></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002267></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002268></TABLE
2269><P
2270></P
2271></DIV
2272></DIV
2273><HR><DIV
2274CLASS="REFSECT2"
2275><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002276NAME="AEN519"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002277></A
2278><H3
2279><A
2280NAME="GETPARAMETERENTITYSAXFUNC"
2281></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002282>getParameterEntitySAXFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00002283><TABLE
2284BORDER="0"
2285BGCOLOR="#D6E8FF"
2286WIDTH="100%"
2287CELLPADDING="6"
2288><TR
2289><TD
2290><PRE
2291CLASS="PROGRAMLISTING"
2292><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002293HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002294>xmlEntityPtr</A
2295> (*getParameterEntitySAXFunc) (void *ctx,
2296 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002297HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002298>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002299> *name);</PRE
2300></TD
2301></TR
2302></TABLE
2303><P
Daniel Veillard19274092002-03-25 16:48:03 +00002304>Get a parameter entity by name.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002305><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00002306></P
2307><DIV
2308CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002309><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002310NAME="AEN527"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00002311></P
2312><TABLE
2313BORDER="0"
2314WIDTH="100%"
2315BGCOLOR="#FFD0D0"
2316CELLSPACING="0"
2317CELLPADDING="4"
2318CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002319><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00002320><TR
2321><TD
2322WIDTH="20%"
2323ALIGN="RIGHT"
2324VALIGN="TOP"
2325><TT
2326CLASS="PARAMETER"
2327><I
2328>ctx</I
2329></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002330>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002331><TD
2332WIDTH="80%"
2333ALIGN="LEFT"
2334VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002335> the user data (XML parser context)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002336></TR
2337><TR
2338><TD
2339WIDTH="20%"
2340ALIGN="RIGHT"
2341VALIGN="TOP"
2342><TT
2343CLASS="PARAMETER"
2344><I
2345>name</I
2346></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002347>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002348><TD
2349WIDTH="80%"
2350ALIGN="LEFT"
2351VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002352> The entity name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002353></TR
2354><TR
2355><TD
2356WIDTH="20%"
2357ALIGN="RIGHT"
2358VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002359><SPAN
2360CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002361><I
2362CLASS="EMPHASIS"
2363>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002364></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00002365> :</TD
2366><TD
2367WIDTH="80%"
2368ALIGN="LEFT"
2369VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002370>the xmlEntityPtr if found.</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002371></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002372></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00002373></TABLE
2374><P
2375></P
2376></DIV
2377></DIV
2378><HR><DIV
2379CLASS="REFSECT2"
2380><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002381NAME="AEN544"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002382></A
2383><H3
2384><A
2385NAME="ENTITYDECLSAXFUNC"
2386></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002387>entityDeclSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002388><TABLE
2389BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002390BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002391WIDTH="100%"
2392CELLPADDING="6"
2393><TR
2394><TD
2395><PRE
2396CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002397>void (*entityDeclSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002398 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002399HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002400>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002401> *name,
2402 int type,
2403 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002404HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002405>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002406> *publicId,
2407 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002408HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002409>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002410> *systemId,
2411 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002412HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002413>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002414> *content);</PRE
2415></TD
2416></TR
2417></TABLE
2418><P
Daniel Veillard19274092002-03-25 16:48:03 +00002419>An entity definition has been parsed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002420><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002421></P
2422><DIV
2423CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002424><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002425NAME="AEN554"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002426></P
2427><TABLE
2428BORDER="0"
2429WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002430BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002431CELLSPACING="0"
2432CELLPADDING="4"
2433CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002434><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002435><TR
2436><TD
2437WIDTH="20%"
2438ALIGN="RIGHT"
2439VALIGN="TOP"
2440><TT
2441CLASS="PARAMETER"
2442><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002443>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002444></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002445>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002446><TD
2447WIDTH="80%"
2448ALIGN="LEFT"
2449VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002450> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002451></TR
2452><TR
2453><TD
2454WIDTH="20%"
2455ALIGN="RIGHT"
2456VALIGN="TOP"
2457><TT
2458CLASS="PARAMETER"
2459><I
2460>name</I
2461></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002462>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002463><TD
2464WIDTH="80%"
2465ALIGN="LEFT"
2466VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002467> the entity name </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002468></TR
2469><TR
2470><TD
2471WIDTH="20%"
2472ALIGN="RIGHT"
2473VALIGN="TOP"
2474><TT
2475CLASS="PARAMETER"
2476><I
2477>type</I
2478></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002479>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002480><TD
2481WIDTH="80%"
2482ALIGN="LEFT"
2483VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002484> the entity type </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002485></TR
2486><TR
2487><TD
2488WIDTH="20%"
2489ALIGN="RIGHT"
2490VALIGN="TOP"
2491><TT
2492CLASS="PARAMETER"
2493><I
2494>publicId</I
2495></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002496>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002497><TD
2498WIDTH="80%"
2499ALIGN="LEFT"
2500VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002501> The public ID of the entity</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002502></TR
2503><TR
2504><TD
2505WIDTH="20%"
2506ALIGN="RIGHT"
2507VALIGN="TOP"
2508><TT
2509CLASS="PARAMETER"
2510><I
2511>systemId</I
2512></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002513>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002514><TD
2515WIDTH="80%"
2516ALIGN="LEFT"
2517VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002518> The system ID of the entity</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002519></TR
2520><TR
2521><TD
2522WIDTH="20%"
2523ALIGN="RIGHT"
2524VALIGN="TOP"
2525><TT
2526CLASS="PARAMETER"
2527><I
2528>content</I
2529></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002530>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002531><TD
2532WIDTH="80%"
2533ALIGN="LEFT"
2534VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002535> the entity value (without processing).</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002536></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002537></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002538></TABLE
2539><P
2540></P
2541></DIV
2542></DIV
2543><HR><DIV
2544CLASS="REFSECT2"
2545><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002546NAME="AEN583"
Daniel Veillard35925471999-02-25 08:46:07 +00002547></A
2548><H3
2549><A
2550NAME="NOTATIONDECLSAXFUNC"
2551></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002552>notationDeclSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002553><TABLE
2554BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002555BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002556WIDTH="100%"
2557CELLPADDING="6"
2558><TR
2559><TD
2560><PRE
2561CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002562>void (*notationDeclSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00002563 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002564HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002565>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002566> *name,
2567 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002568HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002569>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002570> *publicId,
2571 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002572HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002573>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002574> *systemId);</PRE
2575></TD
2576></TR
2577></TABLE
2578><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002579>What to do when a notation declaration has been parsed.</P
2580><P
Daniel Veillard35925471999-02-25 08:46:07 +00002581></P
2582><DIV
2583CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002584><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002585NAME="AEN592"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002586></P
2587><TABLE
2588BORDER="0"
2589WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002590BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002591CELLSPACING="0"
2592CELLPADDING="4"
2593CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002594><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002595><TR
2596><TD
2597WIDTH="20%"
2598ALIGN="RIGHT"
2599VALIGN="TOP"
2600><TT
2601CLASS="PARAMETER"
2602><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002603>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00002604></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002605>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002606><TD
2607WIDTH="80%"
2608ALIGN="LEFT"
2609VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002610> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002611></TR
2612><TR
2613><TD
2614WIDTH="20%"
2615ALIGN="RIGHT"
2616VALIGN="TOP"
2617><TT
2618CLASS="PARAMETER"
2619><I
2620>name</I
2621></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002622>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002623><TD
2624WIDTH="80%"
2625ALIGN="LEFT"
2626VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002627> The name of the notation</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002628></TR
2629><TR
2630><TD
2631WIDTH="20%"
2632ALIGN="RIGHT"
2633VALIGN="TOP"
2634><TT
2635CLASS="PARAMETER"
2636><I
2637>publicId</I
2638></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002639>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002640><TD
2641WIDTH="80%"
2642ALIGN="LEFT"
2643VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002644> The public ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002645></TR
2646><TR
2647><TD
2648WIDTH="20%"
2649ALIGN="RIGHT"
2650VALIGN="TOP"
2651><TT
2652CLASS="PARAMETER"
2653><I
2654>systemId</I
2655></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002656>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002657><TD
2658WIDTH="80%"
2659ALIGN="LEFT"
2660VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002661> The system ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002662></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002663></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002664></TABLE
2665><P
2666></P
2667></DIV
2668></DIV
2669><HR><DIV
2670CLASS="REFSECT2"
2671><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002672NAME="AEN613"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002673></A
2674><H3
2675><A
2676NAME="ATTRIBUTEDECLSAXFUNC"
2677></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002678>attributeDeclSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002679><TABLE
2680BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002681BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002682WIDTH="100%"
2683CELLPADDING="6"
2684><TR
2685><TD
2686><PRE
2687CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002688>void (*attributeDeclSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002689 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002690HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002691>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002692> *elem,
2693 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002694HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002695>xmlChar</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002696> *fullname,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002697 int type,
2698 int def,
2699 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002700HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002701>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002702> *defaultValue,
2703 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002704HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002705>xmlEnumerationPtr</A
2706> tree);</PRE
2707></TD
2708></TR
2709></TABLE
2710><P
Daniel Veillard19274092002-03-25 16:48:03 +00002711>An attribute definition has been parsed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002712><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002713></P
2714><DIV
2715CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002716><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002717NAME="AEN623"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002718></P
2719><TABLE
2720BORDER="0"
2721WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002722BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002723CELLSPACING="0"
2724CELLPADDING="4"
2725CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002726><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002727><TR
2728><TD
2729WIDTH="20%"
2730ALIGN="RIGHT"
2731VALIGN="TOP"
2732><TT
2733CLASS="PARAMETER"
2734><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002735>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002736></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002737>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002738><TD
2739WIDTH="80%"
2740ALIGN="LEFT"
2741VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002742> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002743></TR
2744><TR
2745><TD
2746WIDTH="20%"
2747ALIGN="RIGHT"
2748VALIGN="TOP"
2749><TT
2750CLASS="PARAMETER"
2751><I
2752>elem</I
2753></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002754>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002755><TD
2756WIDTH="80%"
2757ALIGN="LEFT"
2758VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002759> the name of the element</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002760></TR
2761><TR
2762><TD
2763WIDTH="20%"
2764ALIGN="RIGHT"
2765VALIGN="TOP"
2766><TT
2767CLASS="PARAMETER"
2768><I
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002769>fullname</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002770></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002771>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002772><TD
2773WIDTH="80%"
2774ALIGN="LEFT"
2775VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002776> the attribute name </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002777></TR
2778><TR
2779><TD
2780WIDTH="20%"
2781ALIGN="RIGHT"
2782VALIGN="TOP"
2783><TT
2784CLASS="PARAMETER"
2785><I
2786>type</I
2787></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002788>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002789><TD
2790WIDTH="80%"
2791ALIGN="LEFT"
2792VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002793> the attribute type </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002794></TR
2795><TR
2796><TD
2797WIDTH="20%"
2798ALIGN="RIGHT"
2799VALIGN="TOP"
2800><TT
2801CLASS="PARAMETER"
2802><I
2803>def</I
2804></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002805>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002806><TD
2807WIDTH="80%"
2808ALIGN="LEFT"
2809VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002810> the type of default value</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002811></TR
2812><TR
2813><TD
2814WIDTH="20%"
2815ALIGN="RIGHT"
2816VALIGN="TOP"
2817><TT
2818CLASS="PARAMETER"
2819><I
2820>defaultValue</I
2821></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002822>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002823><TD
2824WIDTH="80%"
2825ALIGN="LEFT"
2826VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002827> the attribute default value</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002828></TR
2829><TR
2830><TD
2831WIDTH="20%"
2832ALIGN="RIGHT"
2833VALIGN="TOP"
2834><TT
2835CLASS="PARAMETER"
2836><I
2837>tree</I
2838></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002839>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002840><TD
2841WIDTH="80%"
2842ALIGN="LEFT"
2843VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002844> the tree of enumerated value set</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002845></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002846></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002847></TABLE
2848><P
2849></P
2850></DIV
2851></DIV
2852><HR><DIV
2853CLASS="REFSECT2"
2854><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002855NAME="AEN656"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002856></A
2857><H3
2858><A
2859NAME="ELEMENTDECLSAXFUNC"
2860></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002861>elementDeclSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002862><TABLE
2863BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002864BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002865WIDTH="100%"
2866CELLPADDING="6"
2867><TR
2868><TD
2869><PRE
2870CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002871>void (*elementDeclSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002872 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002873HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002874>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002875> *name,
2876 int type,
2877 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002878HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002879>xmlElementContentPtr</A
2880> content);</PRE
2881></TD
2882></TR
2883></TABLE
2884><P
Daniel Veillard19274092002-03-25 16:48:03 +00002885>An element definition has been parsed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002886><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002887></P
2888><DIV
2889CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002890><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002891NAME="AEN664"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002892></P
2893><TABLE
2894BORDER="0"
2895WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002896BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002897CELLSPACING="0"
2898CELLPADDING="4"
2899CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002900><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002901><TR
2902><TD
2903WIDTH="20%"
2904ALIGN="RIGHT"
2905VALIGN="TOP"
2906><TT
2907CLASS="PARAMETER"
2908><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002909>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002910></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002911>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002912><TD
2913WIDTH="80%"
2914ALIGN="LEFT"
2915VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002916> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002917></TR
2918><TR
2919><TD
2920WIDTH="20%"
2921ALIGN="RIGHT"
2922VALIGN="TOP"
2923><TT
2924CLASS="PARAMETER"
2925><I
2926>name</I
2927></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002928>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002929><TD
2930WIDTH="80%"
2931ALIGN="LEFT"
2932VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002933> the element name </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002934></TR
2935><TR
2936><TD
2937WIDTH="20%"
2938ALIGN="RIGHT"
2939VALIGN="TOP"
2940><TT
2941CLASS="PARAMETER"
2942><I
2943>type</I
2944></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002945>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002946><TD
2947WIDTH="80%"
2948ALIGN="LEFT"
2949VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002950> the element type </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002951></TR
2952><TR
2953><TD
2954WIDTH="20%"
2955ALIGN="RIGHT"
2956VALIGN="TOP"
2957><TT
2958CLASS="PARAMETER"
2959><I
2960>content</I
2961></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002962>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002963><TD
2964WIDTH="80%"
2965ALIGN="LEFT"
2966VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002967> the element value tree</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002968></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002969></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002970></TABLE
2971><P
2972></P
2973></DIV
2974></DIV
2975><HR><DIV
2976CLASS="REFSECT2"
2977><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00002978NAME="AEN685"
Daniel Veillard35925471999-02-25 08:46:07 +00002979></A
2980><H3
2981><A
2982NAME="UNPARSEDENTITYDECLSAXFUNC"
2983></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002984>unparsedEntityDeclSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002985><TABLE
2986BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002987BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002988WIDTH="100%"
2989CELLPADDING="6"
2990><TR
2991><TD
2992><PRE
2993CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002994>void (*unparsedEntityDeclSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00002995 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002996HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002997>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002998> *name,
2999 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003000HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003001>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003002> *publicId,
3003 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003004HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003005>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003006> *systemId,
3007 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003008HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003009>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003010> *notationName);</PRE
3011></TD
3012></TR
3013></TABLE
3014><P
Daniel Veillard19274092002-03-25 16:48:03 +00003015>What to do when an unparsed entity declaration is parsed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003016><P
Daniel Veillard35925471999-02-25 08:46:07 +00003017></P
3018><DIV
3019CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003020><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003021NAME="AEN695"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003022></P
3023><TABLE
3024BORDER="0"
3025WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003026BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003027CELLSPACING="0"
3028CELLPADDING="4"
3029CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003030><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003031><TR
3032><TD
3033WIDTH="20%"
3034ALIGN="RIGHT"
3035VALIGN="TOP"
3036><TT
3037CLASS="PARAMETER"
3038><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003039>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003040></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003041>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003042><TD
3043WIDTH="80%"
3044ALIGN="LEFT"
3045VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003046> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003047></TR
3048><TR
3049><TD
3050WIDTH="20%"
3051ALIGN="RIGHT"
3052VALIGN="TOP"
3053><TT
3054CLASS="PARAMETER"
3055><I
3056>name</I
3057></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003058>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003059><TD
3060WIDTH="80%"
3061ALIGN="LEFT"
3062VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003063> The name of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003064></TR
3065><TR
3066><TD
3067WIDTH="20%"
3068ALIGN="RIGHT"
3069VALIGN="TOP"
3070><TT
3071CLASS="PARAMETER"
3072><I
3073>publicId</I
3074></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003075>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003076><TD
3077WIDTH="80%"
3078ALIGN="LEFT"
3079VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003080> The public ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003081></TR
3082><TR
3083><TD
3084WIDTH="20%"
3085ALIGN="RIGHT"
3086VALIGN="TOP"
3087><TT
3088CLASS="PARAMETER"
3089><I
3090>systemId</I
3091></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003092>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003093><TD
3094WIDTH="80%"
3095ALIGN="LEFT"
3096VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003097> The system ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003098></TR
3099><TR
3100><TD
3101WIDTH="20%"
3102ALIGN="RIGHT"
3103VALIGN="TOP"
3104><TT
3105CLASS="PARAMETER"
3106><I
3107>notationName</I
3108></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003109>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003110><TD
3111WIDTH="80%"
3112ALIGN="LEFT"
3113VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003114> the name of the notation</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003115></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003116></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003117></TABLE
3118><P
3119></P
3120></DIV
3121></DIV
3122><HR><DIV
3123CLASS="REFSECT2"
3124><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003125NAME="AEN720"
Daniel Veillard35925471999-02-25 08:46:07 +00003126></A
3127><H3
3128><A
3129NAME="SETDOCUMENTLOCATORSAXFUNC"
3130></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003131>setDocumentLocatorSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003132><TABLE
3133BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003134BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003135WIDTH="100%"
3136CELLPADDING="6"
3137><TR
3138><TD
3139><PRE
3140CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003141>void (*setDocumentLocatorSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003142 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003143HREF="libxml-tree.html#XMLSAXLOCATORPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003144>xmlSAXLocatorPtr</A
3145> loc);</PRE
3146></TD
3147></TR
3148></TABLE
3149><P
Daniel Veillard19274092002-03-25 16:48:03 +00003150>Receive the document locator at startup, actually xmlDefaultSAXLocator.
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003151Everything is available on the context, so this is useless in our case.</P
3152><P
Daniel Veillard35925471999-02-25 08:46:07 +00003153></P
3154><DIV
3155CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003156><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003157NAME="AEN727"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003158></P
3159><TABLE
3160BORDER="0"
3161WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003162BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003163CELLSPACING="0"
3164CELLPADDING="4"
3165CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003166><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003167><TR
3168><TD
3169WIDTH="20%"
3170ALIGN="RIGHT"
3171VALIGN="TOP"
3172><TT
3173CLASS="PARAMETER"
3174><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003175>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003176></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003177>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003178><TD
3179WIDTH="80%"
3180ALIGN="LEFT"
3181VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003182> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003183></TR
3184><TR
3185><TD
3186WIDTH="20%"
3187ALIGN="RIGHT"
3188VALIGN="TOP"
3189><TT
3190CLASS="PARAMETER"
3191><I
3192>loc</I
3193></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003194>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003195><TD
3196WIDTH="80%"
3197ALIGN="LEFT"
3198VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003199> A SAX Locator</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003200></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003201></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003202></TABLE
3203><P
3204></P
3205></DIV
3206></DIV
3207><HR><DIV
3208CLASS="REFSECT2"
3209><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003210NAME="AEN740"
Daniel Veillard35925471999-02-25 08:46:07 +00003211></A
3212><H3
3213><A
3214NAME="STARTDOCUMENTSAXFUNC"
3215></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003216>startDocumentSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003217><TABLE
3218BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003219BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003220WIDTH="100%"
3221CELLPADDING="6"
3222><TR
3223><TD
3224><PRE
3225CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003226>void (*startDocumentSAXFunc) (void *ctx);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003227></TD
3228></TR
3229></TABLE
3230><P
Daniel Veillard19274092002-03-25 16:48:03 +00003231>Called when the document start being processed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003232><P
Daniel Veillard35925471999-02-25 08:46:07 +00003233></P
3234><DIV
3235CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003236><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003237NAME="AEN746"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003238></P
3239><TABLE
3240BORDER="0"
3241WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003242BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003243CELLSPACING="0"
3244CELLPADDING="4"
3245CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003246><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003247><TR
3248><TD
3249WIDTH="20%"
3250ALIGN="RIGHT"
3251VALIGN="TOP"
3252><TT
3253CLASS="PARAMETER"
3254><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003255>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003256></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003257>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003258><TD
3259WIDTH="80%"
3260ALIGN="LEFT"
3261VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003262> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003263></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003264></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003265></TABLE
3266><P
3267></P
3268></DIV
3269></DIV
3270><HR><DIV
3271CLASS="REFSECT2"
3272><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003273NAME="AEN755"
Daniel Veillard35925471999-02-25 08:46:07 +00003274></A
3275><H3
3276><A
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003277NAME="ENDDOCUMENTSAXFUNC"
3278></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003279>endDocumentSAXFunc ()</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003280><TABLE
3281BORDER="0"
3282BGCOLOR="#D6E8FF"
3283WIDTH="100%"
3284CELLPADDING="6"
3285><TR
3286><TD
3287><PRE
3288CLASS="PROGRAMLISTING"
3289>void (*endDocumentSAXFunc) (void *ctx);</PRE
3290></TD
3291></TR
3292></TABLE
3293><P
Daniel Veillard19274092002-03-25 16:48:03 +00003294>Called when the document end has been detected.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003295><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003296></P
3297><DIV
3298CLASS="INFORMALTABLE"
3299><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003300NAME="AEN761"><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003301></P
3302><TABLE
3303BORDER="0"
3304WIDTH="100%"
3305BGCOLOR="#FFD0D0"
3306CELLSPACING="0"
3307CELLPADDING="4"
3308CLASS="CALSTABLE"
3309><TBODY
3310><TR
3311><TD
3312WIDTH="20%"
3313ALIGN="RIGHT"
3314VALIGN="TOP"
3315><TT
3316CLASS="PARAMETER"
3317><I
3318>ctx</I
3319></TT
3320>&nbsp;:</TD
3321><TD
3322WIDTH="80%"
3323ALIGN="LEFT"
3324VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003325> the user data (XML parser context)</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003326></TR
3327></TBODY
3328></TABLE
3329><P
3330></P
3331></DIV
3332></DIV
3333><HR><DIV
3334CLASS="REFSECT2"
3335><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003336NAME="AEN770"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003337></A
3338><H3
3339><A
Daniel Veillard35925471999-02-25 08:46:07 +00003340NAME="STARTELEMENTSAXFUNC"
3341></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003342>startElementSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003343><TABLE
3344BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003345BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003346WIDTH="100%"
3347CELLPADDING="6"
3348><TR
3349><TD
3350><PRE
3351CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003352>void (*startElementSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003353 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003354HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003355>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003356> *name,
3357 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003358HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003359>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003360> **atts);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003361></TD
3362></TR
3363></TABLE
3364><P
Daniel Veillard19274092002-03-25 16:48:03 +00003365>Called when an opening tag has been processed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003366><P
Daniel Veillard35925471999-02-25 08:46:07 +00003367></P
3368><DIV
3369CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003370><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003371NAME="AEN778"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003372></P
3373><TABLE
3374BORDER="0"
3375WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003376BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003377CELLSPACING="0"
3378CELLPADDING="4"
3379CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003380><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003381><TR
3382><TD
3383WIDTH="20%"
3384ALIGN="RIGHT"
3385VALIGN="TOP"
3386><TT
3387CLASS="PARAMETER"
3388><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003389>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003390></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003391>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003392><TD
3393WIDTH="80%"
3394ALIGN="LEFT"
3395VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003396> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003397></TR
3398><TR
3399><TD
3400WIDTH="20%"
3401ALIGN="RIGHT"
3402VALIGN="TOP"
3403><TT
3404CLASS="PARAMETER"
3405><I
3406>name</I
3407></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003408>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003409><TD
3410WIDTH="80%"
3411ALIGN="LEFT"
3412VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003413> The element name, including namespace prefix</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003414></TR
Daniel Veillard5099ae81999-04-21 20:12:07 +00003415><TR
3416><TD
3417WIDTH="20%"
3418ALIGN="RIGHT"
3419VALIGN="TOP"
3420><TT
3421CLASS="PARAMETER"
3422><I
3423>atts</I
3424></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003425>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003426><TD
3427WIDTH="80%"
3428ALIGN="LEFT"
3429VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003430> An array of name/value attributes pairs, NULL terminated</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003431></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003432></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003433></TABLE
3434><P
3435></P
3436></DIV
3437></DIV
3438><HR><DIV
3439CLASS="REFSECT2"
3440><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003441NAME="AEN795"
Daniel Veillard35925471999-02-25 08:46:07 +00003442></A
3443><H3
3444><A
3445NAME="ENDELEMENTSAXFUNC"
3446></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003447>endElementSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003448><TABLE
3449BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003450BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003451WIDTH="100%"
3452CELLPADDING="6"
3453><TR
3454><TD
3455><PRE
3456CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003457>void (*endElementSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003458 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003459HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003460>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003461> *name);</PRE
3462></TD
3463></TR
3464></TABLE
3465><P
Daniel Veillard19274092002-03-25 16:48:03 +00003466>Called when the end of an element has been detected.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003467><P
Daniel Veillard35925471999-02-25 08:46:07 +00003468></P
3469><DIV
3470CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003471><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003472NAME="AEN802"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003473></P
3474><TABLE
3475BORDER="0"
3476WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003477BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003478CELLSPACING="0"
3479CELLPADDING="4"
3480CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003481><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003482><TR
3483><TD
3484WIDTH="20%"
3485ALIGN="RIGHT"
3486VALIGN="TOP"
3487><TT
3488CLASS="PARAMETER"
3489><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003490>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003491></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003492>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003493><TD
3494WIDTH="80%"
3495ALIGN="LEFT"
3496VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003497> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003498></TR
3499><TR
3500><TD
3501WIDTH="20%"
3502ALIGN="RIGHT"
3503VALIGN="TOP"
3504><TT
3505CLASS="PARAMETER"
3506><I
3507>name</I
3508></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003509>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003510><TD
3511WIDTH="80%"
3512ALIGN="LEFT"
3513VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003514> The element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003515></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003516></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003517></TABLE
3518><P
3519></P
3520></DIV
3521></DIV
3522><HR><DIV
3523CLASS="REFSECT2"
3524><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003525NAME="AEN815"
Daniel Veillard35925471999-02-25 08:46:07 +00003526></A
3527><H3
3528><A
3529NAME="ATTRIBUTESAXFUNC"
3530></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003531>attributeSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003532><TABLE
3533BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003534BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003535WIDTH="100%"
3536CELLPADDING="6"
3537><TR
3538><TD
3539><PRE
3540CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003541>void (*attributeSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003542 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003543HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003544>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003545> *name,
3546 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003547HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003548>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003549> *value);</PRE
3550></TD
3551></TR
3552></TABLE
3553><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003554>Handle an attribute that has been read by the parser.
3555The default handling is to convert the attribute into an
3556DOM subtree and past it in a new xmlAttr element added to
3557the element.</P
3558><P
Daniel Veillard35925471999-02-25 08:46:07 +00003559></P
3560><DIV
3561CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003562><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003563NAME="AEN823"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003564></P
3565><TABLE
3566BORDER="0"
3567WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003568BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003569CELLSPACING="0"
3570CELLPADDING="4"
3571CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003572><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003573><TR
3574><TD
3575WIDTH="20%"
3576ALIGN="RIGHT"
3577VALIGN="TOP"
3578><TT
3579CLASS="PARAMETER"
3580><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003581>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003582></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003583>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003584><TD
3585WIDTH="80%"
3586ALIGN="LEFT"
3587VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003588> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003589></TR
3590><TR
3591><TD
3592WIDTH="20%"
3593ALIGN="RIGHT"
3594VALIGN="TOP"
3595><TT
3596CLASS="PARAMETER"
3597><I
3598>name</I
3599></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003600>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003601><TD
3602WIDTH="80%"
3603ALIGN="LEFT"
3604VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003605> The attribute name, including namespace prefix</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003606></TR
3607><TR
3608><TD
3609WIDTH="20%"
3610ALIGN="RIGHT"
3611VALIGN="TOP"
3612><TT
3613CLASS="PARAMETER"
3614><I
3615>value</I
3616></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003617>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003618><TD
3619WIDTH="80%"
3620ALIGN="LEFT"
3621VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003622> The attribute value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003623></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003624></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003625></TABLE
3626><P
3627></P
3628></DIV
3629></DIV
3630><HR><DIV
3631CLASS="REFSECT2"
3632><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003633NAME="AEN840"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003634></A
3635><H3
3636><A
3637NAME="REFERENCESAXFUNC"
3638></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003639>referenceSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003640><TABLE
3641BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003642BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003643WIDTH="100%"
3644CELLPADDING="6"
3645><TR
3646><TD
3647><PRE
3648CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003649>void (*referenceSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003650 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003651HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003652>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003653> *name);</PRE
3654></TD
3655></TR
3656></TABLE
3657><P
Daniel Veillard19274092002-03-25 16:48:03 +00003658>Called when an entity reference is detected.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003659><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00003660></P
3661><DIV
3662CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003663><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003664NAME="AEN847"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00003665></P
3666><TABLE
3667BORDER="0"
3668WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003669BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003670CELLSPACING="0"
3671CELLPADDING="4"
3672CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003673><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00003674><TR
3675><TD
3676WIDTH="20%"
3677ALIGN="RIGHT"
3678VALIGN="TOP"
3679><TT
3680CLASS="PARAMETER"
3681><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003682>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003683></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003684>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003685><TD
3686WIDTH="80%"
3687ALIGN="LEFT"
3688VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003689> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003690></TR
3691><TR
3692><TD
3693WIDTH="20%"
3694ALIGN="RIGHT"
3695VALIGN="TOP"
3696><TT
3697CLASS="PARAMETER"
3698><I
3699>name</I
3700></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003701>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003702><TD
3703WIDTH="80%"
3704ALIGN="LEFT"
3705VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003706> The entity name</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003707></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003708></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00003709></TABLE
3710><P
3711></P
3712></DIV
3713></DIV
3714><HR><DIV
3715CLASS="REFSECT2"
3716><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003717NAME="AEN860"
Daniel Veillard35925471999-02-25 08:46:07 +00003718></A
3719><H3
3720><A
3721NAME="CHARACTERSSAXFUNC"
3722></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003723>charactersSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003724><TABLE
3725BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003726BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003727WIDTH="100%"
3728CELLPADDING="6"
3729><TR
3730><TD
3731><PRE
3732CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003733>void (*charactersSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003734 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003735HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003736>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003737> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +00003738 int len);</PRE
3739></TD
3740></TR
3741></TABLE
3742><P
Daniel Veillard19274092002-03-25 16:48:03 +00003743>Receiving some chars from the parser.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003744><P
Daniel Veillard35925471999-02-25 08:46:07 +00003745></P
3746><DIV
3747CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003748><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003749NAME="AEN867"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003750></P
3751><TABLE
3752BORDER="0"
3753WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003754BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003755CELLSPACING="0"
3756CELLPADDING="4"
3757CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003758><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003759><TR
3760><TD
3761WIDTH="20%"
3762ALIGN="RIGHT"
3763VALIGN="TOP"
3764><TT
3765CLASS="PARAMETER"
3766><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003767>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003768></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003769>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003770><TD
3771WIDTH="80%"
3772ALIGN="LEFT"
3773VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003774> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003775></TR
3776><TR
3777><TD
3778WIDTH="20%"
3779ALIGN="RIGHT"
3780VALIGN="TOP"
3781><TT
3782CLASS="PARAMETER"
3783><I
3784>ch</I
3785></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003786>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003787><TD
3788WIDTH="80%"
3789ALIGN="LEFT"
3790VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003791> a xmlChar string</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003792></TR
3793><TR
3794><TD
3795WIDTH="20%"
3796ALIGN="RIGHT"
3797VALIGN="TOP"
3798><TT
3799CLASS="PARAMETER"
3800><I
Daniel Veillard35925471999-02-25 08:46:07 +00003801>len</I
3802></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003803>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003804><TD
3805WIDTH="80%"
3806ALIGN="LEFT"
3807VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003808> the number of xmlChar</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003809></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003810></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003811></TABLE
3812><P
3813></P
3814></DIV
3815></DIV
3816><HR><DIV
3817CLASS="REFSECT2"
3818><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003819NAME="AEN884"
Daniel Veillard35925471999-02-25 08:46:07 +00003820></A
3821><H3
3822><A
3823NAME="IGNORABLEWHITESPACESAXFUNC"
3824></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003825>ignorableWhitespaceSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003826><TABLE
3827BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003828BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003829WIDTH="100%"
3830CELLPADDING="6"
3831><TR
3832><TD
3833><PRE
3834CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003835>void (*ignorableWhitespaceSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003836 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003837HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003838>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003839> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +00003840 int len);</PRE
3841></TD
3842></TR
3843></TABLE
3844><P
Daniel Veillard19274092002-03-25 16:48:03 +00003845>Receiving some ignorable whitespaces from the parser.
3846UNUSED: by default the DOM building will use characters.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003847><P
Daniel Veillard35925471999-02-25 08:46:07 +00003848></P
3849><DIV
3850CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003851><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003852NAME="AEN891"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003853></P
3854><TABLE
3855BORDER="0"
3856WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003857BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003858CELLSPACING="0"
3859CELLPADDING="4"
3860CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003861><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003862><TR
3863><TD
3864WIDTH="20%"
3865ALIGN="RIGHT"
3866VALIGN="TOP"
3867><TT
3868CLASS="PARAMETER"
3869><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003870>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003871></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> the user data (XML parser context)</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
3887>ch</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> a xmlChar string</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003895></TR
3896><TR
3897><TD
3898WIDTH="20%"
3899ALIGN="RIGHT"
3900VALIGN="TOP"
3901><TT
3902CLASS="PARAMETER"
3903><I
Daniel Veillard35925471999-02-25 08:46:07 +00003904>len</I
3905></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003906>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003907><TD
3908WIDTH="80%"
3909ALIGN="LEFT"
3910VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003911> the number of xmlChar</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003912></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003913></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003914></TABLE
3915><P
3916></P
3917></DIV
3918></DIV
3919><HR><DIV
3920CLASS="REFSECT2"
3921><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003922NAME="AEN908"
Daniel Veillard35925471999-02-25 08:46:07 +00003923></A
3924><H3
3925><A
3926NAME="PROCESSINGINSTRUCTIONSAXFUNC"
3927></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003928>processingInstructionSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003929><TABLE
3930BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003931BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003932WIDTH="100%"
3933CELLPADDING="6"
3934><TR
3935><TD
3936><PRE
3937CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003938>void (*processingInstructionSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003939 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003940HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003941>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003942> *target,
3943 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003944HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003945>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003946> *data);</PRE
3947></TD
3948></TR
3949></TABLE
3950><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003951>A processing instruction has been parsed.</P
3952><P
Daniel Veillard35925471999-02-25 08:46:07 +00003953></P
3954><DIV
3955CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003956><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00003957NAME="AEN916"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003958></P
3959><TABLE
3960BORDER="0"
3961WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003962BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003963CELLSPACING="0"
3964CELLPADDING="4"
3965CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003966><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003967><TR
3968><TD
3969WIDTH="20%"
3970ALIGN="RIGHT"
3971VALIGN="TOP"
3972><TT
3973CLASS="PARAMETER"
3974><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003975>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003976></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> the user data (XML parser context)</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
3992>target</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 target name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004000></TR
4001><TR
4002><TD
4003WIDTH="20%"
4004ALIGN="RIGHT"
4005VALIGN="TOP"
4006><TT
4007CLASS="PARAMETER"
4008><I
4009>data</I
4010></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004011>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004012><TD
4013WIDTH="80%"
4014ALIGN="LEFT"
4015VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004016> the PI data's</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004017></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004018></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004019></TABLE
4020><P
4021></P
4022></DIV
4023></DIV
4024><HR><DIV
4025CLASS="REFSECT2"
4026><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004027NAME="AEN933"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004028></A
4029><H3
4030><A
4031NAME="COMMENTSAXFUNC"
4032></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004033>commentSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004034><TABLE
4035BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004036BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004037WIDTH="100%"
4038CELLPADDING="6"
4039><TR
4040><TD
4041><PRE
4042CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004043>void (*commentSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00004044 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004045HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004046>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004047> *value);</PRE
4048></TD
4049></TR
4050></TABLE
4051><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004052>A comment has been parsed.</P
4053><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004054></P
4055><DIV
4056CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004057><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004058NAME="AEN940"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004059></P
4060><TABLE
4061BORDER="0"
4062WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004063BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004064CELLSPACING="0"
4065CELLPADDING="4"
4066CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004067><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004068><TR
4069><TD
4070WIDTH="20%"
4071ALIGN="RIGHT"
4072VALIGN="TOP"
4073><TT
4074CLASS="PARAMETER"
4075><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004076>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004077></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004078>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004079><TD
4080WIDTH="80%"
4081ALIGN="LEFT"
4082VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004083> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004084></TR
4085><TR
4086><TD
4087WIDTH="20%"
4088ALIGN="RIGHT"
4089VALIGN="TOP"
4090><TT
4091CLASS="PARAMETER"
4092><I
4093>value</I
4094></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004095>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004096><TD
4097WIDTH="80%"
4098ALIGN="LEFT"
4099VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004100> the comment content</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004101></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004102></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004103></TABLE
4104><P
4105></P
4106></DIV
4107></DIV
4108><HR><DIV
4109CLASS="REFSECT2"
4110><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004111NAME="AEN953"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004112></A
4113><H3
4114><A
4115NAME="CDATABLOCKSAXFUNC"
4116></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004117>cdataBlockSAXFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00004118><TABLE
4119BORDER="0"
4120BGCOLOR="#D6E8FF"
4121WIDTH="100%"
4122CELLPADDING="6"
4123><TR
4124><TD
4125><PRE
4126CLASS="PROGRAMLISTING"
4127>void (*cdataBlockSAXFunc) (void *ctx,
4128 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004129HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004130>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004131> *value,
4132 int len);</PRE
4133></TD
4134></TR
4135></TABLE
4136><P
Daniel Veillard19274092002-03-25 16:48:03 +00004137>Called when a pcdata block has been parsed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004138><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004139></P
4140><DIV
4141CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004142><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004143NAME="AEN960"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004144></P
4145><TABLE
4146BORDER="0"
4147WIDTH="100%"
4148BGCOLOR="#FFD0D0"
4149CELLSPACING="0"
4150CELLPADDING="4"
4151CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004152><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00004153><TR
4154><TD
4155WIDTH="20%"
4156ALIGN="RIGHT"
4157VALIGN="TOP"
4158><TT
4159CLASS="PARAMETER"
4160><I
4161>ctx</I
4162></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004163>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004164><TD
4165WIDTH="80%"
4166ALIGN="LEFT"
4167VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004168> the user data (XML parser context)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004169></TR
4170><TR
4171><TD
4172WIDTH="20%"
4173ALIGN="RIGHT"
4174VALIGN="TOP"
4175><TT
4176CLASS="PARAMETER"
4177><I
4178>value</I
4179></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004180>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004181><TD
4182WIDTH="80%"
4183ALIGN="LEFT"
4184VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004185> The pcdata content</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004186></TR
4187><TR
4188><TD
4189WIDTH="20%"
4190ALIGN="RIGHT"
4191VALIGN="TOP"
4192><TT
4193CLASS="PARAMETER"
4194><I
4195>len</I
4196></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004197>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004198><TD
4199WIDTH="80%"
4200ALIGN="LEFT"
4201VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004202> the block length</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004203></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004204></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00004205></TABLE
4206><P
4207></P
4208></DIV
4209></DIV
4210><HR><DIV
4211CLASS="REFSECT2"
4212><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004213NAME="AEN977"
Daniel Veillard35925471999-02-25 08:46:07 +00004214></A
4215><H3
4216><A
4217NAME="WARNINGSAXFUNC"
4218></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004219>warningSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004220><TABLE
4221BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004222BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004223WIDTH="100%"
4224CELLPADDING="6"
4225><TR
4226><TD
4227><PRE
4228CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004229>void (*warningSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004230 const char *msg,
4231 ...);</PRE
4232></TD
4233></TR
4234></TABLE
4235><P
Daniel Veillard19274092002-03-25 16:48:03 +00004236>Display and format a warning messages, callback.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004237><P
Daniel Veillard35925471999-02-25 08:46:07 +00004238></P
4239><DIV
4240CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004241><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004242NAME="AEN983"><P
Daniel Veillard35925471999-02-25 08:46:07 +00004243></P
4244><TABLE
4245BORDER="0"
4246WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004247BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004248CELLSPACING="0"
4249CELLPADDING="4"
4250CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004251><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004252><TR
4253><TD
4254WIDTH="20%"
4255ALIGN="RIGHT"
4256VALIGN="TOP"
4257><TT
4258CLASS="PARAMETER"
4259><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004260>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004261></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004262>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004263><TD
4264WIDTH="80%"
4265ALIGN="LEFT"
4266VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004267> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004268></TR
4269><TR
4270><TD
4271WIDTH="20%"
4272ALIGN="RIGHT"
4273VALIGN="TOP"
4274><TT
4275CLASS="PARAMETER"
4276><I
4277>msg</I
4278></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004279>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004280><TD
4281WIDTH="80%"
4282ALIGN="LEFT"
4283VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004284> the message to display/transmit</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004285></TR
4286><TR
4287><TD
4288WIDTH="20%"
4289ALIGN="RIGHT"
4290VALIGN="TOP"
4291><TT
4292CLASS="PARAMETER"
4293><I
4294>...</I
4295></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004296>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004297><TD
4298WIDTH="80%"
4299ALIGN="LEFT"
4300VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004301> extra parameters for the message display</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004302></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004303></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004304></TABLE
4305><P
4306></P
4307></DIV
4308></DIV
4309><HR><DIV
4310CLASS="REFSECT2"
4311><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004312NAME="AEN1000"
Daniel Veillard35925471999-02-25 08:46:07 +00004313></A
4314><H3
4315><A
4316NAME="ERRORSAXFUNC"
4317></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004318>errorSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004319><TABLE
4320BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004321BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004322WIDTH="100%"
4323CELLPADDING="6"
4324><TR
4325><TD
4326><PRE
4327CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004328>void (*errorSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004329 const char *msg,
4330 ...);</PRE
4331></TD
4332></TR
4333></TABLE
4334><P
Daniel Veillard19274092002-03-25 16:48:03 +00004335>Display and format an error messages, callback.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004336><P
Daniel Veillard35925471999-02-25 08:46:07 +00004337></P
4338><DIV
4339CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004340><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004341NAME="AEN1006"><P
Daniel Veillard35925471999-02-25 08:46:07 +00004342></P
4343><TABLE
4344BORDER="0"
4345WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004346BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004347CELLSPACING="0"
4348CELLPADDING="4"
4349CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004350><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004351><TR
4352><TD
4353WIDTH="20%"
4354ALIGN="RIGHT"
4355VALIGN="TOP"
4356><TT
4357CLASS="PARAMETER"
4358><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004359>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004360></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004361>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004362><TD
4363WIDTH="80%"
4364ALIGN="LEFT"
4365VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004366> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004367></TR
4368><TR
4369><TD
4370WIDTH="20%"
4371ALIGN="RIGHT"
4372VALIGN="TOP"
4373><TT
4374CLASS="PARAMETER"
4375><I
4376>msg</I
4377></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004378>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004379><TD
4380WIDTH="80%"
4381ALIGN="LEFT"
4382VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004383> the message to display/transmit</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004384></TR
4385><TR
4386><TD
4387WIDTH="20%"
4388ALIGN="RIGHT"
4389VALIGN="TOP"
4390><TT
4391CLASS="PARAMETER"
4392><I
4393>...</I
4394></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004395>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004396><TD
4397WIDTH="80%"
4398ALIGN="LEFT"
4399VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004400> extra parameters for the message display</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004401></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004402></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004403></TABLE
4404><P
4405></P
4406></DIV
4407></DIV
4408><HR><DIV
4409CLASS="REFSECT2"
4410><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004411NAME="AEN1023"
Daniel Veillard35925471999-02-25 08:46:07 +00004412></A
4413><H3
4414><A
4415NAME="FATALERRORSAXFUNC"
4416></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004417>fatalErrorSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004418><TABLE
4419BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004420BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004421WIDTH="100%"
4422CELLPADDING="6"
4423><TR
4424><TD
4425><PRE
4426CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004427>void (*fatalErrorSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004428 const char *msg,
4429 ...);</PRE
4430></TD
4431></TR
4432></TABLE
4433><P
Daniel Veillard19274092002-03-25 16:48:03 +00004434>Display and format fatal error messages, callback.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004435><P
Daniel Veillard35925471999-02-25 08:46:07 +00004436></P
4437><DIV
4438CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004439><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004440NAME="AEN1029"><P
Daniel Veillard35925471999-02-25 08:46:07 +00004441></P
4442><TABLE
4443BORDER="0"
4444WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004445BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004446CELLSPACING="0"
4447CELLPADDING="4"
4448CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004449><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004450><TR
4451><TD
4452WIDTH="20%"
4453ALIGN="RIGHT"
4454VALIGN="TOP"
4455><TT
4456CLASS="PARAMETER"
4457><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004458>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004459></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004460>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004461><TD
4462WIDTH="80%"
4463ALIGN="LEFT"
4464VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004465> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004466></TR
4467><TR
4468><TD
4469WIDTH="20%"
4470ALIGN="RIGHT"
4471VALIGN="TOP"
4472><TT
4473CLASS="PARAMETER"
4474><I
4475>msg</I
4476></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004477>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004478><TD
4479WIDTH="80%"
4480ALIGN="LEFT"
4481VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004482> the message to display/transmit</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004483></TR
4484><TR
4485><TD
4486WIDTH="20%"
4487ALIGN="RIGHT"
4488VALIGN="TOP"
4489><TT
4490CLASS="PARAMETER"
4491><I
4492>...</I
4493></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004494>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004495><TD
4496WIDTH="80%"
4497ALIGN="LEFT"
4498VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004499> extra parameters for the message display</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004500></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004501></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004502></TABLE
4503><P
4504></P
4505></DIV
4506></DIV
4507><HR><DIV
4508CLASS="REFSECT2"
4509><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004510NAME="AEN1046"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004511></A
4512><H3
4513><A
4514NAME="ISSTANDALONESAXFUNC"
4515></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004516>isStandaloneSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004517><TABLE
4518BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004519BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004520WIDTH="100%"
4521CELLPADDING="6"
4522><TR
4523><TD
4524><PRE
4525CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004526>int (*isStandaloneSAXFunc) (void *ctx);</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00004527></TD
4528></TR
4529></TABLE
4530><P
Daniel Veillard19274092002-03-25 16:48:03 +00004531>Is this document tagged standalone?</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004532><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004533></P
4534><DIV
4535CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004536><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004537NAME="AEN1052"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004538></P
4539><TABLE
4540BORDER="0"
4541WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004542BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004543CELLSPACING="0"
4544CELLPADDING="4"
4545CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004546><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004547><TR
4548><TD
4549WIDTH="20%"
4550ALIGN="RIGHT"
4551VALIGN="TOP"
4552><TT
4553CLASS="PARAMETER"
4554><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004555>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004556></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004557>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004558><TD
4559WIDTH="80%"
4560ALIGN="LEFT"
4561VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004562> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004563></TR
4564><TR
4565><TD
4566WIDTH="20%"
4567ALIGN="RIGHT"
4568VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004569><SPAN
4570CLASS="emphasis"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004571><I
4572CLASS="EMPHASIS"
4573>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004574></SPAN
Daniel Veillard5099ae81999-04-21 20:12:07 +00004575> :</TD
4576><TD
4577WIDTH="80%"
4578ALIGN="LEFT"
4579VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004580>1 if true</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004581></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004582></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004583></TABLE
4584><P
4585></P
4586></DIV
4587></DIV
4588><HR><DIV
4589CLASS="REFSECT2"
4590><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004591NAME="AEN1065"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004592></A
4593><H3
4594><A
4595NAME="HASINTERNALSUBSETSAXFUNC"
4596></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004597>hasInternalSubsetSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004598><TABLE
4599BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004600BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004601WIDTH="100%"
4602CELLPADDING="6"
4603><TR
4604><TD
4605><PRE
4606CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004607>int (*hasInternalSubsetSAXFunc) (void *ctx);</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00004608></TD
4609></TR
4610></TABLE
4611><P
Daniel Veillard19274092002-03-25 16:48:03 +00004612>Does this document has an internal subset.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004613><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004614></P
4615><DIV
4616CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004617><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004618NAME="AEN1071"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004619></P
4620><TABLE
4621BORDER="0"
4622WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004623BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004624CELLSPACING="0"
4625CELLPADDING="4"
4626CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004627><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004628><TR
4629><TD
4630WIDTH="20%"
4631ALIGN="RIGHT"
4632VALIGN="TOP"
4633><TT
4634CLASS="PARAMETER"
4635><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004636>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004637></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004638>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004639><TD
4640WIDTH="80%"
4641ALIGN="LEFT"
4642VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004643> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004644></TR
4645><TR
4646><TD
4647WIDTH="20%"
4648ALIGN="RIGHT"
4649VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004650><SPAN
4651CLASS="emphasis"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004652><I
4653CLASS="EMPHASIS"
4654>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004655></SPAN
Daniel Veillard5099ae81999-04-21 20:12:07 +00004656> :</TD
4657><TD
4658WIDTH="80%"
4659ALIGN="LEFT"
4660VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004661>1 if true</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004662></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004663></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004664></TABLE
4665><P
4666></P
4667></DIV
4668></DIV
4669><HR><DIV
4670CLASS="REFSECT2"
4671><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004672NAME="AEN1084"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004673></A
4674><H3
4675><A
4676NAME="HASEXTERNALSUBSETSAXFUNC"
4677></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004678>hasExternalSubsetSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004679><TABLE
4680BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004681BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004682WIDTH="100%"
4683CELLPADDING="6"
4684><TR
4685><TD
4686><PRE
4687CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004688>int (*hasExternalSubsetSAXFunc) (void *ctx);</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00004689></TD
4690></TR
4691></TABLE
4692><P
Daniel Veillard19274092002-03-25 16:48:03 +00004693>Does this document has an external subset?</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004694><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004695></P
4696><DIV
4697CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004698><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004699NAME="AEN1090"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004700></P
4701><TABLE
4702BORDER="0"
4703WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004704BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004705CELLSPACING="0"
4706CELLPADDING="4"
4707CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004708><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004709><TR
4710><TD
4711WIDTH="20%"
4712ALIGN="RIGHT"
4713VALIGN="TOP"
4714><TT
4715CLASS="PARAMETER"
4716><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004717>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004718></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004719>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004720><TD
4721WIDTH="80%"
4722ALIGN="LEFT"
4723VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004724> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004725></TR
4726><TR
4727><TD
4728WIDTH="20%"
4729ALIGN="RIGHT"
4730VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004731><SPAN
4732CLASS="emphasis"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004733><I
4734CLASS="EMPHASIS"
4735>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004736></SPAN
Daniel Veillard5099ae81999-04-21 20:12:07 +00004737> :</TD
4738><TD
4739WIDTH="80%"
4740ALIGN="LEFT"
4741VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004742>1 if true</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004743></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004744></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004745></TABLE
4746><P
4747></P
4748></DIV
4749></DIV
4750><HR><DIV
4751CLASS="REFSECT2"
4752><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004753NAME="AEN1103"
Daniel Veillard24491f62000-01-05 14:58:38 +00004754></A
4755><H3
4756><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004757NAME="XMLSAXHANDLER"
Daniel Veillard24491f62000-01-05 14:58:38 +00004758></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004759>struct xmlSAXHandler</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004760><TABLE
4761BORDER="0"
4762BGCOLOR="#D6E8FF"
4763WIDTH="100%"
4764CELLPADDING="6"
4765><TR
4766><TD
4767><PRE
4768CLASS="PROGRAMLISTING"
4769>struct xmlSAXHandler {
4770 internalSubsetSAXFunc internalSubset;
4771 isStandaloneSAXFunc isStandalone;
4772 hasInternalSubsetSAXFunc hasInternalSubset;
4773 hasExternalSubsetSAXFunc hasExternalSubset;
4774 resolveEntitySAXFunc resolveEntity;
4775 getEntitySAXFunc getEntity;
4776 entityDeclSAXFunc entityDecl;
4777 notationDeclSAXFunc notationDecl;
4778 attributeDeclSAXFunc attributeDecl;
4779 elementDeclSAXFunc elementDecl;
4780 unparsedEntityDeclSAXFunc unparsedEntityDecl;
4781 setDocumentLocatorSAXFunc setDocumentLocator;
4782 startDocumentSAXFunc startDocument;
4783 endDocumentSAXFunc endDocument;
4784 startElementSAXFunc startElement;
4785 endElementSAXFunc endElement;
4786 referenceSAXFunc reference;
4787 charactersSAXFunc characters;
4788 ignorableWhitespaceSAXFunc ignorableWhitespace;
4789 processingInstructionSAXFunc processingInstruction;
4790 commentSAXFunc comment;
4791 warningSAXFunc warning;
4792 errorSAXFunc error;
4793 fatalErrorSAXFunc fatalError;
4794 getParameterEntitySAXFunc getParameterEntity;
4795 cdataBlockSAXFunc cdataBlock;
4796 externalSubsetSAXFunc externalSubset;
Daniel Veillard52dcab32001-10-30 12:51:17 +00004797 int initialized;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004798};</PRE
4799></TD
4800></TR
4801></TABLE
Daniel Veillard24491f62000-01-05 14:58:38 +00004802><P
Daniel Veillard19274092002-03-25 16:48:03 +00004803>A SAX handler is bunch of callbacks called by the parser when processing
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004804of the input generate data or structure informations.</P
4805><P
Daniel Veillard24491f62000-01-05 14:58:38 +00004806></P
4807></DIV
4808><HR><DIV
4809CLASS="REFSECT2"
4810><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004811NAME="AEN1109"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004812></A
4813><H3
4814><A
4815NAME="XMLEXTERNALENTITYLOADER"
4816></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004817>xmlExternalEntityLoader ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004818><TABLE
4819BORDER="0"
4820BGCOLOR="#D6E8FF"
4821WIDTH="100%"
4822CELLPADDING="6"
4823><TR
4824><TD
4825><PRE
4826CLASS="PROGRAMLISTING"
4827><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004828HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004829>xmlParserInputPtr</A
4830> (*xmlExternalEntityLoader)
4831 (const char *URL,
4832 const char *ID,
4833 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004834HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004835>xmlParserCtxtPtr</A
4836> context);</PRE
4837></TD
4838></TR
4839></TABLE
4840><P
Daniel Veillard19274092002-03-25 16:48:03 +00004841>External entity loaders types.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004842><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004843></P
4844><DIV
4845CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004846><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004847NAME="AEN1117"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004848></P
4849><TABLE
4850BORDER="0"
4851WIDTH="100%"
4852BGCOLOR="#FFD0D0"
4853CELLSPACING="0"
4854CELLPADDING="4"
4855CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004856><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004857><TR
4858><TD
4859WIDTH="20%"
4860ALIGN="RIGHT"
4861VALIGN="TOP"
4862><TT
4863CLASS="PARAMETER"
4864><I
4865>URL</I
4866></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004867>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004868><TD
4869WIDTH="80%"
4870ALIGN="LEFT"
4871VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004872> The System ID of the resource requested</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004873></TR
4874><TR
4875><TD
4876WIDTH="20%"
4877ALIGN="RIGHT"
4878VALIGN="TOP"
4879><TT
4880CLASS="PARAMETER"
4881><I
4882>ID</I
4883></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004884>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004885><TD
4886WIDTH="80%"
4887ALIGN="LEFT"
4888VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004889> The Public ID of the resource requested</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004890></TR
4891><TR
4892><TD
4893WIDTH="20%"
4894ALIGN="RIGHT"
4895VALIGN="TOP"
4896><TT
4897CLASS="PARAMETER"
4898><I
4899>context</I
4900></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004901>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004902><TD
4903WIDTH="80%"
4904ALIGN="LEFT"
4905VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004906> the XML parser context </TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004907></TR
4908><TR
4909><TD
4910WIDTH="20%"
4911ALIGN="RIGHT"
4912VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004913><SPAN
4914CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004915><I
4916CLASS="EMPHASIS"
4917>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004918></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004919> :</TD
4920><TD
4921WIDTH="80%"
4922ALIGN="LEFT"
4923VALIGN="TOP"
Daniel Veillard19274092002-03-25 16:48:03 +00004924>the entity input parser.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004925></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004926></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004927></TABLE
4928><P
4929></P
4930></DIV
4931></DIV
4932><HR><DIV
4933CLASS="REFSECT2"
4934><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004935NAME="AEN1138"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004936></A
4937><H3
4938><A
4939NAME="XMLSUBSTITUTEENTITIESDEFAULTVALUE"
4940></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004941>xmlSubstituteEntitiesDefaultValue</H3
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004942><TABLE
4943BORDER="0"
4944BGCOLOR="#D6E8FF"
4945WIDTH="100%"
4946CELLPADDING="6"
4947><TR
4948><TD
4949><PRE
4950CLASS="PROGRAMLISTING"
Daniel Veillard52dcab32001-10-30 12:51:17 +00004951>#define xmlSubstituteEntitiesDefaultValue</PRE
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004952></TD
4953></TR
4954></TABLE
4955><P
Daniel Veillard19274092002-03-25 16:48:03 +00004956>Global variable controlling the entity substitution default behavior.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004957><P
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004958></P
4959></DIV
4960><HR><DIV
4961CLASS="REFSECT2"
4962><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004963NAME="AEN1144"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004964></A
4965><H3
4966><A
4967NAME="XMLINITPARSER"
4968></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004969>xmlInitParser ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004970><TABLE
4971BORDER="0"
4972BGCOLOR="#D6E8FF"
4973WIDTH="100%"
4974CELLPADDING="6"
4975><TR
4976><TD
4977><PRE
4978CLASS="PROGRAMLISTING"
4979>void xmlInitParser (void);</PRE
4980></TD
4981></TR
4982></TABLE
4983><P
4984>Initialization function for the XML parser.
4985This is not reentrant. Call once before processing in case of
4986use in multithreaded programs.</P
4987><P
4988></P
4989></DIV
4990><HR><DIV
4991CLASS="REFSECT2"
4992><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00004993NAME="AEN1150"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004994></A
4995><H3
4996><A
4997NAME="XMLCLEANUPPARSER"
4998></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004999>xmlCleanupParser ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005000><TABLE
5001BORDER="0"
5002BGCOLOR="#D6E8FF"
5003WIDTH="100%"
5004CELLPADDING="6"
5005><TR
5006><TD
5007><PRE
5008CLASS="PROGRAMLISTING"
5009>void xmlCleanupParser (void);</PRE
5010></TD
5011></TR
5012></TABLE
5013><P
5014>Cleanup function for the XML parser. It tries to reclaim all
5015parsing related global memory allocated for the parser processing.
5016It doesn't deallocate any document related memory. Calling this
5017function should not prevent reusing the parser.</P
5018><P
5019></P
5020></DIV
5021><HR><DIV
5022CLASS="REFSECT2"
5023><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005024NAME="AEN1156"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005025></A
5026><H3
5027><A
5028NAME="XMLPARSERINPUTREAD"
5029></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005030>xmlParserInputRead ()</H3
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005031><TABLE
5032BORDER="0"
5033BGCOLOR="#D6E8FF"
5034WIDTH="100%"
5035CELLPADDING="6"
5036><TR
5037><TD
5038><PRE
5039CLASS="PROGRAMLISTING"
5040>int xmlParserInputRead (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00005041HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005042>xmlParserInputPtr</A
5043> in,
5044 int len);</PRE
5045></TD
5046></TR
5047></TABLE
5048><P
5049>This function refresh the input for the parser. It doesn't try to
5050preserve pointers to the input buffer, and discard already read data</P
5051><P
5052></P
5053><DIV
5054CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005055><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005056NAME="AEN1163"><P
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005057></P
5058><TABLE
5059BORDER="0"
5060WIDTH="100%"
5061BGCOLOR="#FFD0D0"
5062CELLSPACING="0"
5063CELLPADDING="4"
5064CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005065><TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005066><TR
5067><TD
5068WIDTH="20%"
5069ALIGN="RIGHT"
5070VALIGN="TOP"
5071><TT
5072CLASS="PARAMETER"
5073><I
5074>in</I
5075></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005076>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005077><TD
5078WIDTH="80%"
5079ALIGN="LEFT"
5080VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005081> an XML parser input</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005082></TR
5083><TR
5084><TD
5085WIDTH="20%"
5086ALIGN="RIGHT"
5087VALIGN="TOP"
5088><TT
5089CLASS="PARAMETER"
5090><I
5091>len</I
5092></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005093>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005094><TD
5095WIDTH="80%"
5096ALIGN="LEFT"
5097VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005098> an indicative size for the lookahead</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005099></TR
5100><TR
5101><TD
5102WIDTH="20%"
5103ALIGN="RIGHT"
5104VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005105><SPAN
5106CLASS="emphasis"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005107><I
5108CLASS="EMPHASIS"
5109>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005110></SPAN
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005111> :</TD
5112><TD
5113WIDTH="80%"
5114ALIGN="LEFT"
5115VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005116>the number of xmlChars read, or -1 in case of error, 0 indicate the
5117end of this entity</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005118></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005119></TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005120></TABLE
5121><P
5122></P
5123></DIV
5124></DIV
5125><HR><DIV
5126CLASS="REFSECT2"
5127><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005128NAME="AEN1180"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005129></A
5130><H3
5131><A
5132NAME="XMLPARSERINPUTGROW"
5133></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005134>xmlParserInputGrow ()</H3
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005135><TABLE
5136BORDER="0"
5137BGCOLOR="#D6E8FF"
5138WIDTH="100%"
5139CELLPADDING="6"
5140><TR
5141><TD
5142><PRE
5143CLASS="PROGRAMLISTING"
5144>int xmlParserInputGrow (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00005145HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005146>xmlParserInputPtr</A
5147> in,
5148 int len);</PRE
5149></TD
5150></TR
5151></TABLE
5152><P
5153>This function increase the input for the parser. It tries to
5154preserve pointers to the input buffer, and keep already read data</P
5155><P
5156></P
5157><DIV
5158CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005159><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005160NAME="AEN1187"><P
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005161></P
5162><TABLE
5163BORDER="0"
5164WIDTH="100%"
5165BGCOLOR="#FFD0D0"
5166CELLSPACING="0"
5167CELLPADDING="4"
5168CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005169><TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005170><TR
5171><TD
5172WIDTH="20%"
5173ALIGN="RIGHT"
5174VALIGN="TOP"
5175><TT
5176CLASS="PARAMETER"
5177><I
5178>in</I
5179></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005180>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005181><TD
5182WIDTH="80%"
5183ALIGN="LEFT"
5184VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005185> an XML parser input</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005186></TR
5187><TR
5188><TD
5189WIDTH="20%"
5190ALIGN="RIGHT"
5191VALIGN="TOP"
5192><TT
5193CLASS="PARAMETER"
5194><I
5195>len</I
5196></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005197>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005198><TD
5199WIDTH="80%"
5200ALIGN="LEFT"
5201VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005202> an indicative size for the lookahead</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005203></TR
5204><TR
5205><TD
5206WIDTH="20%"
5207ALIGN="RIGHT"
5208VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005209><SPAN
5210CLASS="emphasis"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005211><I
5212CLASS="EMPHASIS"
5213>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005214></SPAN
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005215> :</TD
5216><TD
5217WIDTH="80%"
5218ALIGN="LEFT"
5219VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005220>the number of xmlChars read, or -1 in case of error, 0 indicate the
5221end of this entity</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005222></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005223></TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005224></TABLE
5225><P
5226></P
5227></DIV
5228></DIV
5229><HR><DIV
5230CLASS="REFSECT2"
5231><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005232NAME="AEN1204"
Daniel Veillard35925471999-02-25 08:46:07 +00005233></A
5234><H3
5235><A
5236NAME="XMLSTRDUP"
5237></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005238>xmlStrdup ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005239><TABLE
5240BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005241BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005242WIDTH="100%"
5243CELLPADDING="6"
5244><TR
5245><TD
5246><PRE
5247CLASS="PROGRAMLISTING"
5248><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005249HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005250>xmlChar</A
5251>* xmlStrdup (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005252HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005253>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005254> *cur);</PRE
5255></TD
5256></TR
5257></TABLE
5258><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005259>a strdup for array of xmlChar's. Since they are supposed to be
5260encoded in UTF-8 or an encoding with 8bit based chars, we assume
5261a termination mark of '0'.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005262><P
5263></P
5264><DIV
5265CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005266><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005267NAME="AEN1212"><P
Daniel Veillard35925471999-02-25 08:46:07 +00005268></P
5269><TABLE
5270BORDER="0"
5271WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005272BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005273CELLSPACING="0"
5274CELLPADDING="4"
5275CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005276><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005277><TR
5278><TD
5279WIDTH="20%"
5280ALIGN="RIGHT"
5281VALIGN="TOP"
5282><TT
5283CLASS="PARAMETER"
5284><I
5285>cur</I
5286></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005287>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005288><TD
5289WIDTH="80%"
5290ALIGN="LEFT"
5291VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005292> the input xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005293></TR
5294><TR
5295><TD
5296WIDTH="20%"
5297ALIGN="RIGHT"
5298VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005299><SPAN
5300CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00005301><I
5302CLASS="EMPHASIS"
5303>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005304></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00005305> :</TD
5306><TD
5307WIDTH="80%"
5308ALIGN="LEFT"
5309VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005310>a new xmlChar * or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005311></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005312></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005313></TABLE
5314><P
5315></P
5316></DIV
5317></DIV
5318><HR><DIV
5319CLASS="REFSECT2"
5320><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005321NAME="AEN1225"
Daniel Veillard35925471999-02-25 08:46:07 +00005322></A
5323><H3
5324><A
5325NAME="XMLSTRNDUP"
5326></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005327>xmlStrndup ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005328><TABLE
5329BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005330BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005331WIDTH="100%"
5332CELLPADDING="6"
5333><TR
5334><TD
5335><PRE
5336CLASS="PROGRAMLISTING"
5337><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005338HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005339>xmlChar</A
5340>* xmlStrndup (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005341HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005342>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005343> *cur,
5344 int len);</PRE
5345></TD
5346></TR
5347></TABLE
5348><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005349>a strndup for array of xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00005350><P
5351></P
5352><DIV
5353CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005354><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005355NAME="AEN1233"><P
Daniel Veillard35925471999-02-25 08:46:07 +00005356></P
5357><TABLE
5358BORDER="0"
5359WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005360BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005361CELLSPACING="0"
5362CELLPADDING="4"
5363CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005364><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005365><TR
5366><TD
5367WIDTH="20%"
5368ALIGN="RIGHT"
5369VALIGN="TOP"
5370><TT
5371CLASS="PARAMETER"
5372><I
5373>cur</I
5374></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005375>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005376><TD
5377WIDTH="80%"
5378ALIGN="LEFT"
5379VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005380> the input xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005381></TR
5382><TR
5383><TD
5384WIDTH="20%"
5385ALIGN="RIGHT"
5386VALIGN="TOP"
5387><TT
5388CLASS="PARAMETER"
5389><I
5390>len</I
5391></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005392>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005393><TD
5394WIDTH="80%"
5395ALIGN="LEFT"
5396VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005397> the len of <TT
5398CLASS="PARAMETER"
5399><I
5400>cur</I
5401></TT
5402></TD
Daniel Veillard35925471999-02-25 08:46:07 +00005403></TR
5404><TR
5405><TD
5406WIDTH="20%"
5407ALIGN="RIGHT"
5408VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005409><SPAN
5410CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00005411><I
5412CLASS="EMPHASIS"
5413>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005414></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00005415> :</TD
5416><TD
5417WIDTH="80%"
5418ALIGN="LEFT"
5419VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005420>a new xmlChar * or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005421></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005422></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005423></TABLE
5424><P
5425></P
5426></DIV
5427></DIV
5428><HR><DIV
5429CLASS="REFSECT2"
5430><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005431NAME="AEN1251"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005432></A
5433><H3
5434><A
5435NAME="XMLCHARSTRNDUP"
5436></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005437>xmlCharStrndup ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00005438><TABLE
5439BORDER="0"
5440BGCOLOR="#D6E8FF"
5441WIDTH="100%"
5442CELLPADDING="6"
5443><TR
5444><TD
5445><PRE
5446CLASS="PROGRAMLISTING"
5447><A
5448HREF="libxml-tree.html#XMLCHAR"
5449>xmlChar</A
5450>* xmlCharStrndup (const char *cur,
5451 int len);</PRE
5452></TD
5453></TR
5454></TABLE
5455><P
5456>a strndup for char's to xmlChar's</P
5457><P
5458></P
5459><DIV
5460CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005461><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005462NAME="AEN1258"><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00005463></P
5464><TABLE
5465BORDER="0"
5466WIDTH="100%"
5467BGCOLOR="#FFD0D0"
5468CELLSPACING="0"
5469CELLPADDING="4"
5470CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005471><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005472><TR
5473><TD
5474WIDTH="20%"
5475ALIGN="RIGHT"
5476VALIGN="TOP"
5477><TT
5478CLASS="PARAMETER"
5479><I
5480>cur</I
5481></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005482>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005483><TD
5484WIDTH="80%"
5485ALIGN="LEFT"
5486VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005487> the input char *</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005488></TR
5489><TR
5490><TD
5491WIDTH="20%"
5492ALIGN="RIGHT"
5493VALIGN="TOP"
5494><TT
5495CLASS="PARAMETER"
5496><I
5497>len</I
5498></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005499>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005500><TD
5501WIDTH="80%"
5502ALIGN="LEFT"
5503VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005504> the len of <TT
5505CLASS="PARAMETER"
5506><I
5507>cur</I
5508></TT
5509></TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005510></TR
5511><TR
5512><TD
5513WIDTH="20%"
5514ALIGN="RIGHT"
5515VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005516><SPAN
5517CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005518><I
5519CLASS="EMPHASIS"
5520>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005521></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +00005522> :</TD
5523><TD
5524WIDTH="80%"
5525ALIGN="LEFT"
5526VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005527>a new xmlChar * or NULL</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005528></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005529></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005530></TABLE
5531><P
5532></P
5533></DIV
5534></DIV
5535><HR><DIV
5536CLASS="REFSECT2"
5537><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005538NAME="AEN1276"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005539></A
5540><H3
5541><A
5542NAME="XMLCHARSTRDUP"
5543></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005544>xmlCharStrdup ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00005545><TABLE
5546BORDER="0"
5547BGCOLOR="#D6E8FF"
5548WIDTH="100%"
5549CELLPADDING="6"
5550><TR
5551><TD
5552><PRE
5553CLASS="PROGRAMLISTING"
5554><A
5555HREF="libxml-tree.html#XMLCHAR"
5556>xmlChar</A
5557>* xmlCharStrdup (const char *cur);</PRE
5558></TD
5559></TR
5560></TABLE
5561><P
5562>a strdup for char's to xmlChar's</P
5563><P
5564></P
5565><DIV
5566CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005567><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005568NAME="AEN1283"><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00005569></P
5570><TABLE
5571BORDER="0"
5572WIDTH="100%"
5573BGCOLOR="#FFD0D0"
5574CELLSPACING="0"
5575CELLPADDING="4"
5576CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005577><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005578><TR
5579><TD
5580WIDTH="20%"
5581ALIGN="RIGHT"
5582VALIGN="TOP"
5583><TT
5584CLASS="PARAMETER"
5585><I
5586>cur</I
5587></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005588>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005589><TD
5590WIDTH="80%"
5591ALIGN="LEFT"
5592VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005593> the input char *</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005594></TR
5595><TR
5596><TD
5597WIDTH="20%"
5598ALIGN="RIGHT"
5599VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005600><SPAN
5601CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005602><I
5603CLASS="EMPHASIS"
5604>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005605></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +00005606> :</TD
5607><TD
5608WIDTH="80%"
5609ALIGN="LEFT"
5610VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005611>a new xmlChar * or NULL</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005612></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005613></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005614></TABLE
5615><P
5616></P
5617></DIV
5618></DIV
5619><HR><DIV
5620CLASS="REFSECT2"
5621><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005622NAME="AEN1296"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005623></A
5624><H3
5625><A
5626NAME="XMLSTRSUB"
5627></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005628>xmlStrsub ()</H3
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005629><TABLE
5630BORDER="0"
5631BGCOLOR="#D6E8FF"
5632WIDTH="100%"
5633CELLPADDING="6"
5634><TR
5635><TD
5636><PRE
5637CLASS="PROGRAMLISTING"
5638><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005639HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005640>xmlChar</A
5641>* xmlStrsub (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005642HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005643>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005644> *str,
5645 int start,
5646 int len);</PRE
5647></TD
5648></TR
5649></TABLE
5650><P
5651>Extract a substring of a given string</P
5652><P
5653></P
5654><DIV
5655CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005656><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005657NAME="AEN1304"><P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005658></P
5659><TABLE
5660BORDER="0"
5661WIDTH="100%"
5662BGCOLOR="#FFD0D0"
5663CELLSPACING="0"
5664CELLPADDING="4"
5665CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005666><TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005667><TR
5668><TD
5669WIDTH="20%"
5670ALIGN="RIGHT"
5671VALIGN="TOP"
5672><TT
5673CLASS="PARAMETER"
5674><I
5675>str</I
5676></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005677>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005678><TD
5679WIDTH="80%"
5680ALIGN="LEFT"
5681VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005682> the xmlChar * array (haystack)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005683></TR
5684><TR
5685><TD
5686WIDTH="20%"
5687ALIGN="RIGHT"
5688VALIGN="TOP"
5689><TT
5690CLASS="PARAMETER"
5691><I
5692>start</I
5693></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005694>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005695><TD
5696WIDTH="80%"
5697ALIGN="LEFT"
5698VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005699> the index of the first char (zero based)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005700></TR
5701><TR
5702><TD
5703WIDTH="20%"
5704ALIGN="RIGHT"
5705VALIGN="TOP"
5706><TT
5707CLASS="PARAMETER"
5708><I
5709>len</I
5710></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005711>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005712><TD
5713WIDTH="80%"
5714ALIGN="LEFT"
5715VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005716> the length of the substring</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005717></TR
5718><TR
5719><TD
5720WIDTH="20%"
5721ALIGN="RIGHT"
5722VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005723><SPAN
5724CLASS="emphasis"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005725><I
5726CLASS="EMPHASIS"
5727>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005728></SPAN
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005729> :</TD
5730><TD
5731WIDTH="80%"
5732ALIGN="LEFT"
5733VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005734>the xmlChar * for the first occurrence or NULL.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005735></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005736></TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005737></TABLE
5738><P
5739></P
5740></DIV
5741></DIV
5742><HR><DIV
5743CLASS="REFSECT2"
5744><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005745NAME="AEN1325"
Daniel Veillard35925471999-02-25 08:46:07 +00005746></A
5747><H3
5748><A
5749NAME="XMLSTRCHR"
5750></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005751>xmlStrchr ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005752><TABLE
5753BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005754BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005755WIDTH="100%"
5756CELLPADDING="6"
5757><TR
5758><TD
5759><PRE
5760CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005761>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005762HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005763>xmlChar</A
5764>* xmlStrchr (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005765HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005766>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005767> *str,
5768 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005769HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005770>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005771> val);</PRE
5772></TD
5773></TR
5774></TABLE
5775><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005776>a strchr for xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00005777><P
5778></P
5779><DIV
5780CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005781><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005782NAME="AEN1334"><P
Daniel Veillard35925471999-02-25 08:46:07 +00005783></P
5784><TABLE
5785BORDER="0"
5786WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005787BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005788CELLSPACING="0"
5789CELLPADDING="4"
5790CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005791><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005792><TR
5793><TD
5794WIDTH="20%"
5795ALIGN="RIGHT"
5796VALIGN="TOP"
5797><TT
5798CLASS="PARAMETER"
5799><I
5800>str</I
5801></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005802>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005803><TD
5804WIDTH="80%"
5805ALIGN="LEFT"
5806VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005807> the xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005808></TR
5809><TR
5810><TD
5811WIDTH="20%"
5812ALIGN="RIGHT"
5813VALIGN="TOP"
5814><TT
5815CLASS="PARAMETER"
5816><I
5817>val</I
5818></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005819>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005820><TD
5821WIDTH="80%"
5822ALIGN="LEFT"
5823VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005824> the xmlChar to search</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005825></TR
5826><TR
5827><TD
5828WIDTH="20%"
5829ALIGN="RIGHT"
5830VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005831><SPAN
5832CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00005833><I
5834CLASS="EMPHASIS"
5835>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005836></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00005837> :</TD
5838><TD
5839WIDTH="80%"
5840ALIGN="LEFT"
5841VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005842>the xmlChar * for the first occurrence or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005843></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005844></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005845></TABLE
5846><P
5847></P
5848></DIV
5849></DIV
5850><HR><DIV
5851CLASS="REFSECT2"
5852><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005853NAME="AEN1351"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005854></A
5855><H3
5856><A
5857NAME="XMLSTRSTR"
5858></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005859>xmlStrstr ()</H3
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005860><TABLE
5861BORDER="0"
5862BGCOLOR="#D6E8FF"
5863WIDTH="100%"
5864CELLPADDING="6"
5865><TR
5866><TD
5867><PRE
5868CLASS="PROGRAMLISTING"
5869>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005870HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005871>xmlChar</A
5872>* xmlStrstr (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005873HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005874>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005875> *str,
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005876 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005877HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005878>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005879> *val);</PRE
5880></TD
5881></TR
5882></TABLE
5883><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005884>a strstr for xmlChar's</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005885><P
5886></P
5887><DIV
5888CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005889><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005890NAME="AEN1360"><P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005891></P
5892><TABLE
5893BORDER="0"
5894WIDTH="100%"
5895BGCOLOR="#FFD0D0"
5896CELLSPACING="0"
5897CELLPADDING="4"
5898CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005899><TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005900><TR
5901><TD
5902WIDTH="20%"
5903ALIGN="RIGHT"
5904VALIGN="TOP"
5905><TT
5906CLASS="PARAMETER"
5907><I
5908>str</I
5909></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005910>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005911><TD
5912WIDTH="80%"
5913ALIGN="LEFT"
5914VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005915> the xmlChar * array (haystack)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005916></TR
5917><TR
5918><TD
5919WIDTH="20%"
5920ALIGN="RIGHT"
5921VALIGN="TOP"
5922><TT
5923CLASS="PARAMETER"
5924><I
5925>val</I
5926></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005927>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005928><TD
5929WIDTH="80%"
5930ALIGN="LEFT"
5931VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005932> the xmlChar to search (needle)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005933></TR
5934><TR
5935><TD
5936WIDTH="20%"
5937ALIGN="RIGHT"
5938VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005939><SPAN
5940CLASS="emphasis"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005941><I
5942CLASS="EMPHASIS"
5943>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005944></SPAN
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005945> :</TD
5946><TD
5947WIDTH="80%"
5948ALIGN="LEFT"
5949VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005950>the xmlChar * for the first occurrence or NULL.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005951></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005952></TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005953></TABLE
5954><P
5955></P
5956></DIV
5957></DIV
5958><HR><DIV
5959CLASS="REFSECT2"
5960><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005961NAME="AEN1377"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005962></A
5963><H3
5964><A
5965NAME="XMLSTRCASESTR"
5966></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005967>xmlStrcasestr ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005968><TABLE
5969BORDER="0"
5970BGCOLOR="#D6E8FF"
5971WIDTH="100%"
5972CELLPADDING="6"
5973><TR
5974><TD
5975><PRE
5976CLASS="PROGRAMLISTING"
5977>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005978HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005979>xmlChar</A
5980>* xmlStrcasestr (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005981HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005982>xmlChar</A
5983> *str,
5984 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005985HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005986>xmlChar</A
5987> *val);</PRE
5988></TD
5989></TR
5990></TABLE
5991><P
5992>a case-ignoring strstr for xmlChar's</P
5993><P
5994></P
5995><DIV
5996CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005997><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00005998NAME="AEN1386"><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005999></P
6000><TABLE
6001BORDER="0"
6002WIDTH="100%"
6003BGCOLOR="#FFD0D0"
6004CELLSPACING="0"
6005CELLPADDING="4"
6006CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006007><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006008><TR
6009><TD
6010WIDTH="20%"
6011ALIGN="RIGHT"
6012VALIGN="TOP"
6013><TT
6014CLASS="PARAMETER"
6015><I
6016>str</I
6017></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006018>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006019><TD
6020WIDTH="80%"
6021ALIGN="LEFT"
6022VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006023> the xmlChar * array (haystack)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006024></TR
6025><TR
6026><TD
6027WIDTH="20%"
6028ALIGN="RIGHT"
6029VALIGN="TOP"
6030><TT
6031CLASS="PARAMETER"
6032><I
6033>val</I
6034></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006035>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006036><TD
6037WIDTH="80%"
6038ALIGN="LEFT"
6039VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006040> the xmlChar to search (needle)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006041></TR
6042><TR
6043><TD
6044WIDTH="20%"
6045ALIGN="RIGHT"
6046VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006047><SPAN
6048CLASS="emphasis"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006049><I
6050CLASS="EMPHASIS"
6051>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006052></SPAN
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006053> :</TD
6054><TD
6055WIDTH="80%"
6056ALIGN="LEFT"
6057VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00006058>the xmlChar * for the first occurrence or NULL.</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006059></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006060></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006061></TABLE
6062><P
6063></P
6064></DIV
6065></DIV
6066><HR><DIV
6067CLASS="REFSECT2"
6068><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006069NAME="AEN1403"
Daniel Veillard35925471999-02-25 08:46:07 +00006070></A
6071><H3
6072><A
6073NAME="XMLSTRCMP"
6074></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006075>xmlStrcmp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006076><TABLE
6077BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006078BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006079WIDTH="100%"
6080CELLPADDING="6"
6081><TR
6082><TD
6083><PRE
6084CLASS="PROGRAMLISTING"
6085>int xmlStrcmp (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006086HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006087>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006088> *str1,
6089 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006090HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006091>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006092> *str2);</PRE
6093></TD
6094></TR
6095></TABLE
6096><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006097>a strcmp for xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00006098><P
6099></P
6100><DIV
6101CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006102><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006103NAME="AEN1411"><P
Daniel Veillard35925471999-02-25 08:46:07 +00006104></P
6105><TABLE
6106BORDER="0"
6107WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006108BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006109CELLSPACING="0"
6110CELLPADDING="4"
6111CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006112><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006113><TR
6114><TD
6115WIDTH="20%"
6116ALIGN="RIGHT"
6117VALIGN="TOP"
6118><TT
6119CLASS="PARAMETER"
6120><I
6121>str1</I
6122></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006123>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006124><TD
6125WIDTH="80%"
6126ALIGN="LEFT"
6127VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006128> the first xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006129></TR
6130><TR
6131><TD
6132WIDTH="20%"
6133ALIGN="RIGHT"
6134VALIGN="TOP"
6135><TT
6136CLASS="PARAMETER"
6137><I
6138>str2</I
6139></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006140>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006141><TD
6142WIDTH="80%"
6143ALIGN="LEFT"
6144VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006145> the second xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006146></TR
6147><TR
6148><TD
6149WIDTH="20%"
6150ALIGN="RIGHT"
6151VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006152><SPAN
6153CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006154><I
6155CLASS="EMPHASIS"
6156>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006157></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006158> :</TD
6159><TD
6160WIDTH="80%"
6161ALIGN="LEFT"
6162VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006163>the integer result of the comparison</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006164></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006165></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006166></TABLE
6167><P
6168></P
6169></DIV
6170></DIV
6171><HR><DIV
6172CLASS="REFSECT2"
6173><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006174NAME="AEN1428"
Daniel Veillard35925471999-02-25 08:46:07 +00006175></A
6176><H3
6177><A
6178NAME="XMLSTRNCMP"
6179></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006180>xmlStrncmp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006181><TABLE
6182BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006183BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006184WIDTH="100%"
6185CELLPADDING="6"
6186><TR
6187><TD
6188><PRE
6189CLASS="PROGRAMLISTING"
6190>int xmlStrncmp (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006191HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006192>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006193> *str1,
6194 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006195HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006196>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006197> *str2,
6198 int len);</PRE
6199></TD
6200></TR
6201></TABLE
6202><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006203>a strncmp for xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00006204><P
6205></P
6206><DIV
6207CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006208><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006209NAME="AEN1436"><P
Daniel Veillard35925471999-02-25 08:46:07 +00006210></P
6211><TABLE
6212BORDER="0"
6213WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006214BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006215CELLSPACING="0"
6216CELLPADDING="4"
6217CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006218><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006219><TR
6220><TD
6221WIDTH="20%"
6222ALIGN="RIGHT"
6223VALIGN="TOP"
6224><TT
6225CLASS="PARAMETER"
6226><I
6227>str1</I
6228></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006229>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006230><TD
6231WIDTH="80%"
6232ALIGN="LEFT"
6233VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006234> the first xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006235></TR
6236><TR
6237><TD
6238WIDTH="20%"
6239ALIGN="RIGHT"
6240VALIGN="TOP"
6241><TT
6242CLASS="PARAMETER"
6243><I
6244>str2</I
6245></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006246>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006247><TD
6248WIDTH="80%"
6249ALIGN="LEFT"
6250VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006251> the second xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006252></TR
6253><TR
6254><TD
6255WIDTH="20%"
6256ALIGN="RIGHT"
6257VALIGN="TOP"
6258><TT
6259CLASS="PARAMETER"
6260><I
6261>len</I
6262></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006263>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006264><TD
6265WIDTH="80%"
6266ALIGN="LEFT"
6267VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006268> the max comparison length</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006269></TR
6270><TR
6271><TD
6272WIDTH="20%"
6273ALIGN="RIGHT"
6274VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006275><SPAN
6276CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006277><I
6278CLASS="EMPHASIS"
6279>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006280></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006281> :</TD
6282><TD
6283WIDTH="80%"
6284ALIGN="LEFT"
6285VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006286>the integer result of the comparison</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006287></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006288></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006289></TABLE
6290><P
6291></P
6292></DIV
6293></DIV
6294><HR><DIV
6295CLASS="REFSECT2"
6296><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006297NAME="AEN1457"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006298></A
6299><H3
6300><A
6301NAME="XMLSTRCASECMP"
6302></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006303>xmlStrcasecmp ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006304><TABLE
6305BORDER="0"
6306BGCOLOR="#D6E8FF"
6307WIDTH="100%"
6308CELLPADDING="6"
6309><TR
6310><TD
6311><PRE
6312CLASS="PROGRAMLISTING"
6313>int xmlStrcasecmp (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006314HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006315>xmlChar</A
6316> *str1,
6317 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006318HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006319>xmlChar</A
6320> *str2);</PRE
6321></TD
6322></TR
6323></TABLE
6324><P
6325>a strcasecmp for xmlChar's</P
6326><P
6327></P
6328><DIV
6329CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006330><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006331NAME="AEN1465"><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006332></P
6333><TABLE
6334BORDER="0"
6335WIDTH="100%"
6336BGCOLOR="#FFD0D0"
6337CELLSPACING="0"
6338CELLPADDING="4"
6339CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006340><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006341><TR
6342><TD
6343WIDTH="20%"
6344ALIGN="RIGHT"
6345VALIGN="TOP"
6346><TT
6347CLASS="PARAMETER"
6348><I
6349>str1</I
6350></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006351>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006352><TD
6353WIDTH="80%"
6354ALIGN="LEFT"
6355VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006356> the first xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006357></TR
6358><TR
6359><TD
6360WIDTH="20%"
6361ALIGN="RIGHT"
6362VALIGN="TOP"
6363><TT
6364CLASS="PARAMETER"
6365><I
6366>str2</I
6367></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006368>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006369><TD
6370WIDTH="80%"
6371ALIGN="LEFT"
6372VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006373> the second xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006374></TR
6375><TR
6376><TD
6377WIDTH="20%"
6378ALIGN="RIGHT"
6379VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006380><SPAN
6381CLASS="emphasis"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006382><I
6383CLASS="EMPHASIS"
6384>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006385></SPAN
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006386> :</TD
6387><TD
6388WIDTH="80%"
6389ALIGN="LEFT"
6390VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006391>the integer result of the comparison</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006392></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006393></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006394></TABLE
6395><P
6396></P
6397></DIV
6398></DIV
6399><HR><DIV
6400CLASS="REFSECT2"
6401><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006402NAME="AEN1482"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006403></A
6404><H3
6405><A
6406NAME="XMLSTRNCASECMP"
6407></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006408>xmlStrncasecmp ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006409><TABLE
6410BORDER="0"
6411BGCOLOR="#D6E8FF"
6412WIDTH="100%"
6413CELLPADDING="6"
6414><TR
6415><TD
6416><PRE
6417CLASS="PROGRAMLISTING"
6418>int xmlStrncasecmp (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006419HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006420>xmlChar</A
6421> *str1,
6422 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006423HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006424>xmlChar</A
6425> *str2,
6426 int len);</PRE
6427></TD
6428></TR
6429></TABLE
6430><P
6431>a strncasecmp for xmlChar's</P
6432><P
6433></P
6434><DIV
6435CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006436><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006437NAME="AEN1490"><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006438></P
6439><TABLE
6440BORDER="0"
6441WIDTH="100%"
6442BGCOLOR="#FFD0D0"
6443CELLSPACING="0"
6444CELLPADDING="4"
6445CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006446><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006447><TR
6448><TD
6449WIDTH="20%"
6450ALIGN="RIGHT"
6451VALIGN="TOP"
6452><TT
6453CLASS="PARAMETER"
6454><I
6455>str1</I
6456></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006457>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006458><TD
6459WIDTH="80%"
6460ALIGN="LEFT"
6461VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006462> the first xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006463></TR
6464><TR
6465><TD
6466WIDTH="20%"
6467ALIGN="RIGHT"
6468VALIGN="TOP"
6469><TT
6470CLASS="PARAMETER"
6471><I
6472>str2</I
6473></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006474>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006475><TD
6476WIDTH="80%"
6477ALIGN="LEFT"
6478VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006479> the second xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006480></TR
6481><TR
6482><TD
6483WIDTH="20%"
6484ALIGN="RIGHT"
6485VALIGN="TOP"
6486><TT
6487CLASS="PARAMETER"
6488><I
6489>len</I
6490></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006491>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006492><TD
6493WIDTH="80%"
6494ALIGN="LEFT"
6495VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006496> the max comparison length</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006497></TR
6498><TR
6499><TD
6500WIDTH="20%"
6501ALIGN="RIGHT"
6502VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006503><SPAN
6504CLASS="emphasis"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006505><I
6506CLASS="EMPHASIS"
6507>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006508></SPAN
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006509> :</TD
6510><TD
6511WIDTH="80%"
6512ALIGN="LEFT"
6513VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006514>the integer result of the comparison</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006515></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006516></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006517></TABLE
6518><P
6519></P
6520></DIV
6521></DIV
6522><HR><DIV
6523CLASS="REFSECT2"
6524><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006525NAME="AEN1511"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006526></A
6527><H3
6528><A
6529NAME="XMLSTREQUAL"
6530></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006531>xmlStrEqual ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006532><TABLE
6533BORDER="0"
6534BGCOLOR="#D6E8FF"
6535WIDTH="100%"
6536CELLPADDING="6"
6537><TR
6538><TD
6539><PRE
6540CLASS="PROGRAMLISTING"
6541>int xmlStrEqual (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> *str1,
6545 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006546HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006547>xmlChar</A
6548> *str2);</PRE
6549></TD
6550></TR
6551></TABLE
6552><P
6553>Check if both string are equal of have same content
6554Should be a bit more readable and faster than <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006555HREF="libxml-parser.html#XMLSTREQUAL"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006556>xmlStrEqual</A
6557>()</P
6558><P
6559></P
6560><DIV
6561CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006562><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006563NAME="AEN1520"><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006564></P
6565><TABLE
6566BORDER="0"
6567WIDTH="100%"
6568BGCOLOR="#FFD0D0"
6569CELLSPACING="0"
6570CELLPADDING="4"
6571CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006572><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006573><TR
6574><TD
6575WIDTH="20%"
6576ALIGN="RIGHT"
6577VALIGN="TOP"
6578><TT
6579CLASS="PARAMETER"
6580><I
6581>str1</I
6582></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006583>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006584><TD
6585WIDTH="80%"
6586ALIGN="LEFT"
6587VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006588> the first xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006589></TR
6590><TR
6591><TD
6592WIDTH="20%"
6593ALIGN="RIGHT"
6594VALIGN="TOP"
6595><TT
6596CLASS="PARAMETER"
6597><I
6598>str2</I
6599></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006600>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006601><TD
6602WIDTH="80%"
6603ALIGN="LEFT"
6604VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006605> the second xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006606></TR
6607><TR
6608><TD
6609WIDTH="20%"
6610ALIGN="RIGHT"
6611VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006612><SPAN
6613CLASS="emphasis"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006614><I
6615CLASS="EMPHASIS"
6616>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006617></SPAN
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006618> :</TD
6619><TD
6620WIDTH="80%"
6621ALIGN="LEFT"
6622VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006623>1 if they are equal, 0 if they are different</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006624></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006625></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006626></TABLE
6627><P
6628></P
6629></DIV
6630></DIV
6631><HR><DIV
6632CLASS="REFSECT2"
6633><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006634NAME="AEN1537"
Daniel Veillard35925471999-02-25 08:46:07 +00006635></A
6636><H3
6637><A
6638NAME="XMLSTRLEN"
6639></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006640>xmlStrlen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006641><TABLE
6642BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006643BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006644WIDTH="100%"
6645CELLPADDING="6"
6646><TR
6647><TD
6648><PRE
6649CLASS="PROGRAMLISTING"
6650>int xmlStrlen (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006651HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006652>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006653> *str);</PRE
6654></TD
6655></TR
6656></TABLE
6657><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006658>length of a xmlChar's string</P
Daniel Veillard35925471999-02-25 08:46:07 +00006659><P
6660></P
6661><DIV
6662CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006663><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006664NAME="AEN1544"><P
Daniel Veillard35925471999-02-25 08:46:07 +00006665></P
6666><TABLE
6667BORDER="0"
6668WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006669BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006670CELLSPACING="0"
6671CELLPADDING="4"
6672CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006673><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006674><TR
6675><TD
6676WIDTH="20%"
6677ALIGN="RIGHT"
6678VALIGN="TOP"
6679><TT
6680CLASS="PARAMETER"
6681><I
6682>str</I
6683></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006684>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006685><TD
6686WIDTH="80%"
6687ALIGN="LEFT"
6688VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006689> the xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006690></TR
6691><TR
6692><TD
6693WIDTH="20%"
6694ALIGN="RIGHT"
6695VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006696><SPAN
6697CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006698><I
6699CLASS="EMPHASIS"
6700>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006701></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006702> :</TD
6703><TD
6704WIDTH="80%"
6705ALIGN="LEFT"
6706VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006707>the number of xmlChar contained in the ARRAY.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006708></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006709></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006710></TABLE
6711><P
6712></P
6713></DIV
6714></DIV
6715><HR><DIV
6716CLASS="REFSECT2"
6717><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006718NAME="AEN1557"
Daniel Veillard35925471999-02-25 08:46:07 +00006719></A
6720><H3
6721><A
6722NAME="XMLSTRCAT"
6723></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006724>xmlStrcat ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006725><TABLE
6726BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006727BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006728WIDTH="100%"
6729CELLPADDING="6"
6730><TR
6731><TD
6732><PRE
6733CLASS="PROGRAMLISTING"
6734><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006735HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006736>xmlChar</A
6737>* xmlStrcat (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006738HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006739>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006740> *cur,
6741 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006742HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006743>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006744> *add);</PRE
6745></TD
6746></TR
6747></TABLE
6748><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006749>a strcat for array of xmlChar's. Since they are supposed to be
6750encoded in UTF-8 or an encoding with 8bit based chars, we assume
6751a termination mark of '0'.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006752><P
6753></P
6754><DIV
6755CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006756><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006757NAME="AEN1566"><P
Daniel Veillard35925471999-02-25 08:46:07 +00006758></P
6759><TABLE
6760BORDER="0"
6761WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006762BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006763CELLSPACING="0"
6764CELLPADDING="4"
6765CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006766><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006767><TR
6768><TD
6769WIDTH="20%"
6770ALIGN="RIGHT"
6771VALIGN="TOP"
6772><TT
6773CLASS="PARAMETER"
6774><I
6775>cur</I
6776></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006777>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006778><TD
6779WIDTH="80%"
6780ALIGN="LEFT"
6781VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006782> the original xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006783></TR
6784><TR
6785><TD
6786WIDTH="20%"
6787ALIGN="RIGHT"
6788VALIGN="TOP"
6789><TT
6790CLASS="PARAMETER"
6791><I
6792>add</I
6793></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006794>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006795><TD
6796WIDTH="80%"
6797ALIGN="LEFT"
6798VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006799> the xmlChar * array added</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006800></TR
6801><TR
6802><TD
6803WIDTH="20%"
6804ALIGN="RIGHT"
6805VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006806><SPAN
6807CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006808><I
6809CLASS="EMPHASIS"
6810>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006811></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006812> :</TD
6813><TD
6814WIDTH="80%"
6815ALIGN="LEFT"
6816VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006817>a new xmlChar * containing the concatenated string.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006818></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006819></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006820></TABLE
6821><P
6822></P
6823></DIV
6824></DIV
6825><HR><DIV
6826CLASS="REFSECT2"
6827><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006828NAME="AEN1583"
Daniel Veillard35925471999-02-25 08:46:07 +00006829></A
6830><H3
6831><A
6832NAME="XMLSTRNCAT"
6833></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006834>xmlStrncat ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006835><TABLE
6836BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006837BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006838WIDTH="100%"
6839CELLPADDING="6"
6840><TR
6841><TD
6842><PRE
6843CLASS="PROGRAMLISTING"
6844><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006845HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006846>xmlChar</A
6847>* xmlStrncat (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006848HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006849>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006850> *cur,
6851 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006852HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006853>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006854> *add,
6855 int len);</PRE
6856></TD
6857></TR
6858></TABLE
6859><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00006860>a strncat for array of xmlChar's, it will extend <TT
6861CLASS="PARAMETER"
6862><I
6863>cur</I
6864></TT
6865> with the len
Daniel Veillardd194dd22001-02-14 10:37:43 +00006866first bytes of <TT
6867CLASS="PARAMETER"
6868><I
6869>add</I
6870></TT
6871>.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006872><P
6873></P
6874><DIV
6875CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006876><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006877NAME="AEN1594"><P
Daniel Veillard35925471999-02-25 08:46:07 +00006878></P
6879><TABLE
6880BORDER="0"
6881WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006882BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006883CELLSPACING="0"
6884CELLPADDING="4"
6885CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006886><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006887><TR
6888><TD
6889WIDTH="20%"
6890ALIGN="RIGHT"
6891VALIGN="TOP"
6892><TT
6893CLASS="PARAMETER"
6894><I
6895>cur</I
6896></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006897>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006898><TD
6899WIDTH="80%"
6900ALIGN="LEFT"
6901VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006902> the original xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006903></TR
6904><TR
6905><TD
6906WIDTH="20%"
6907ALIGN="RIGHT"
6908VALIGN="TOP"
6909><TT
6910CLASS="PARAMETER"
6911><I
6912>add</I
6913></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006914>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006915><TD
6916WIDTH="80%"
6917ALIGN="LEFT"
6918VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006919> the xmlChar * array added</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006920></TR
6921><TR
6922><TD
6923WIDTH="20%"
6924ALIGN="RIGHT"
6925VALIGN="TOP"
6926><TT
6927CLASS="PARAMETER"
6928><I
6929>len</I
6930></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006931>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006932><TD
6933WIDTH="80%"
6934ALIGN="LEFT"
6935VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006936> the length of <TT
6937CLASS="PARAMETER"
6938><I
6939>add</I
6940></TT
6941></TD
Daniel Veillard35925471999-02-25 08:46:07 +00006942></TR
6943><TR
6944><TD
6945WIDTH="20%"
6946ALIGN="RIGHT"
6947VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006948><SPAN
6949CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006950><I
6951CLASS="EMPHASIS"
6952>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006953></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006954> :</TD
6955><TD
6956WIDTH="80%"
6957ALIGN="LEFT"
6958VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006959>a new xmlChar *, the original <TT
6960CLASS="PARAMETER"
6961><I
6962>cur</I
6963></TT
6964> is reallocated if needed
6965and should not be freed</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006966></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006967></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006968></TABLE
6969><P
6970></P
6971></DIV
6972></DIV
6973><HR><DIV
6974CLASS="REFSECT2"
6975><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00006976NAME="AEN1617"
Daniel Veillard35925471999-02-25 08:46:07 +00006977></A
6978><H3
6979><A
6980NAME="XMLPARSEDOC"
6981></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006982>xmlParseDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006983><TABLE
6984BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006985BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006986WIDTH="100%"
6987CELLPADDING="6"
6988><TR
6989><TD
6990><PRE
6991CLASS="PROGRAMLISTING"
6992><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006993HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006994>xmlDocPtr</A
6995> xmlParseDoc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006996HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006997>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006998> *cur);</PRE
6999></TD
7000></TR
7001></TABLE
7002><P
7003>parse an XML in-memory document and build a tree.</P
7004><P
7005></P
7006><DIV
7007CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007008><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007009NAME="AEN1625"><P
Daniel Veillard35925471999-02-25 08:46:07 +00007010></P
7011><TABLE
7012BORDER="0"
7013WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007014BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007015CELLSPACING="0"
7016CELLPADDING="4"
7017CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007018><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007019><TR
7020><TD
7021WIDTH="20%"
7022ALIGN="RIGHT"
7023VALIGN="TOP"
7024><TT
7025CLASS="PARAMETER"
7026><I
7027>cur</I
7028></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007029>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007030><TD
7031WIDTH="80%"
7032ALIGN="LEFT"
7033VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007034> a pointer to an array of xmlChar</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007035></TR
7036><TR
7037><TD
7038WIDTH="20%"
7039ALIGN="RIGHT"
7040VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007041><SPAN
7042CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00007043><I
7044CLASS="EMPHASIS"
7045>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007046></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00007047> :</TD
7048><TD
7049WIDTH="80%"
7050ALIGN="LEFT"
7051VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007052>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007053></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007054></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007055></TABLE
7056><P
7057></P
7058></DIV
7059></DIV
7060><HR><DIV
7061CLASS="REFSECT2"
7062><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007063NAME="AEN1638"
Daniel Veillard35925471999-02-25 08:46:07 +00007064></A
7065><H3
7066><A
7067NAME="XMLPARSEMEMORY"
7068></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007069>xmlParseMemory ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007070><TABLE
7071BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007072BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007073WIDTH="100%"
7074CELLPADDING="6"
7075><TR
7076><TD
7077><PRE
7078CLASS="PROGRAMLISTING"
7079><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007080HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007081>xmlDocPtr</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007082> xmlParseMemory (const char *buffer,
Daniel Veillard35925471999-02-25 08:46:07 +00007083 int size);</PRE
7084></TD
7085></TR
7086></TABLE
7087><P
7088>parse an XML in-memory block and build a tree.</P
7089><P
7090></P
7091><DIV
7092CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007093><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007094NAME="AEN1645"><P
Daniel Veillard35925471999-02-25 08:46:07 +00007095></P
7096><TABLE
7097BORDER="0"
7098WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007099BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007100CELLSPACING="0"
7101CELLPADDING="4"
7102CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007103><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007104><TR
7105><TD
7106WIDTH="20%"
7107ALIGN="RIGHT"
7108VALIGN="TOP"
7109><TT
7110CLASS="PARAMETER"
7111><I
7112>buffer</I
7113></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007114>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007115><TD
7116WIDTH="80%"
7117ALIGN="LEFT"
7118VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007119> an pointer to a char array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007120></TR
7121><TR
7122><TD
7123WIDTH="20%"
7124ALIGN="RIGHT"
7125VALIGN="TOP"
7126><TT
7127CLASS="PARAMETER"
7128><I
7129>size</I
7130></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007131>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007132><TD
7133WIDTH="80%"
7134ALIGN="LEFT"
7135VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007136> the size of the array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007137></TR
7138><TR
7139><TD
7140WIDTH="20%"
7141ALIGN="RIGHT"
7142VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007143><SPAN
7144CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00007145><I
7146CLASS="EMPHASIS"
7147>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007148></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00007149> :</TD
7150><TD
7151WIDTH="80%"
7152ALIGN="LEFT"
7153VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007154>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007155></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007156></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007157></TABLE
7158><P
7159></P
7160></DIV
7161></DIV
7162><HR><DIV
7163CLASS="REFSECT2"
7164><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007165NAME="AEN1662"
Daniel Veillard35925471999-02-25 08:46:07 +00007166></A
7167><H3
7168><A
7169NAME="XMLPARSEFILE"
7170></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007171>xmlParseFile ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007172><TABLE
7173BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007174BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007175WIDTH="100%"
7176CELLPADDING="6"
7177><TR
7178><TD
7179><PRE
7180CLASS="PROGRAMLISTING"
7181><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007182HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007183>xmlDocPtr</A
7184> xmlParseFile (const char *filename);</PRE
7185></TD
7186></TR
7187></TABLE
7188><P
7189>parse an XML file and build a tree. Automatic support for ZLIB/Compress
7190compressed document is provided by default if found at compile-time.</P
7191><P
7192></P
7193><DIV
7194CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007195><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007196NAME="AEN1669"><P
Daniel Veillard35925471999-02-25 08:46:07 +00007197></P
7198><TABLE
7199BORDER="0"
7200WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007201BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007202CELLSPACING="0"
7203CELLPADDING="4"
7204CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007205><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007206><TR
7207><TD
7208WIDTH="20%"
7209ALIGN="RIGHT"
7210VALIGN="TOP"
7211><TT
7212CLASS="PARAMETER"
7213><I
7214>filename</I
7215></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007216>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007217><TD
7218WIDTH="80%"
7219ALIGN="LEFT"
7220VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007221> the filename</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007222></TR
7223><TR
7224><TD
7225WIDTH="20%"
7226ALIGN="RIGHT"
7227VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007228><SPAN
7229CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00007230><I
7231CLASS="EMPHASIS"
7232>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007233></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00007234> :</TD
7235><TD
7236WIDTH="80%"
7237ALIGN="LEFT"
7238VALIGN="TOP"
Daniel Veillard04382ae2001-09-12 18:51:30 +00007239>the resulting document tree if the file was wellformed,
7240NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007241></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007242></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007243></TABLE
7244><P
7245></P
7246></DIV
7247></DIV
7248><HR><DIV
7249CLASS="REFSECT2"
7250><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007251NAME="AEN1682"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007252></A
7253><H3
7254><A
7255NAME="XMLSUBSTITUTEENTITIESDEFAULT"
7256></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007257>xmlSubstituteEntitiesDefault ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00007258><TABLE
7259BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007260BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007261WIDTH="100%"
7262CELLPADDING="6"
7263><TR
7264><TD
7265><PRE
7266CLASS="PROGRAMLISTING"
7267>int xmlSubstituteEntitiesDefault (int val);</PRE
7268></TD
7269></TR
7270></TABLE
7271><P
7272>Set and return the previous value for default entity support.
7273Initially the parser always keep entity references instead of substituting
7274entity values in the output. This function has to be used to change the
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007275default parser behavior
Daniel Veillard011b63c1999-06-02 17:44:04 +00007276SAX::<GTKDOCLINK
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007277HREF="SUBSTITUTEENTITIES"
7278>substituteEntities</GTKDOCLINK
Daniel Veillard011b63c1999-06-02 17:44:04 +00007279>() has to be used for changing that on a file by
7280file basis.</P
7281><P
7282></P
7283><DIV
7284CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007285><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007286NAME="AEN1689"><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00007287></P
7288><TABLE
7289BORDER="0"
7290WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007291BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007292CELLSPACING="0"
7293CELLPADDING="4"
7294CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007295><TBODY
Daniel Veillard011b63c1999-06-02 17:44:04 +00007296><TR
7297><TD
7298WIDTH="20%"
7299ALIGN="RIGHT"
7300VALIGN="TOP"
7301><TT
7302CLASS="PARAMETER"
7303><I
7304>val</I
7305></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007306>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007307><TD
7308WIDTH="80%"
7309ALIGN="LEFT"
7310VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007311> int 0 or 1 </TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007312></TR
7313><TR
7314><TD
7315WIDTH="20%"
7316ALIGN="RIGHT"
7317VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007318><SPAN
7319CLASS="emphasis"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007320><I
7321CLASS="EMPHASIS"
7322>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007323></SPAN
Daniel Veillard011b63c1999-06-02 17:44:04 +00007324> :</TD
7325><TD
7326WIDTH="80%"
7327ALIGN="LEFT"
7328VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007329>the last value for 0 for no substitution, 1 for substitution.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007330></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007331></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007332></TABLE
7333><P
7334></P
7335></DIV
7336></DIV
7337><HR><DIV
7338CLASS="REFSECT2"
7339><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007340NAME="AEN1702"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007341></A
7342><H3
7343><A
7344NAME="XMLKEEPBLANKSDEFAULT"
7345></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007346>xmlKeepBlanksDefault ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007347><TABLE
7348BORDER="0"
7349BGCOLOR="#D6E8FF"
7350WIDTH="100%"
7351CELLPADDING="6"
7352><TR
7353><TD
7354><PRE
7355CLASS="PROGRAMLISTING"
7356>int xmlKeepBlanksDefault (int val);</PRE
7357></TD
7358></TR
7359></TABLE
7360><P
7361>Set and return the previous value for default blanks text nodes support.
7362The 1.x version of the parser used an heuristic to try to detect
7363ignorable white spaces. As a result the SAX callback was generating
7364<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007365HREF="libxml-sax.html#IGNORABLEWHITESPACE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007366>ignorableWhitespace</A
7367>() callbacks instead of <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007368HREF="libxml-sax.html#CHARACTERS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007369>characters</A
7370>() one, and when
7371using the DOM output text nodes containing those blanks were not generated.
7372The 2.x and later version will switch to the XML standard way and
7373<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007374HREF="libxml-sax.html#IGNORABLEWHITESPACE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007375>ignorableWhitespace</A
7376>() are only generated when running the parser in
7377validating mode and when the current element doesn't allow CDATA or
7378mixed content.
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007379This function is provided as a way to force the standard behavior
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007380on 1.X libs and to switch back to the old mode for compatibility when
7381running 1.X client code on 2.X . Upgrade of 1.X code should be done
7382by using <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007383HREF="libxml-tree.html#XMLISBLANKNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007384>xmlIsBlankNode</A
7385>() commodity function to detect the "empty"
7386nodes generated.
7387This value also affect autogeneration of indentation when saving code
7388if blanks sections are kept, indentation is not generated.</P
7389><P
7390></P
7391><DIV
7392CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007393><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007394NAME="AEN1712"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007395></P
7396><TABLE
7397BORDER="0"
7398WIDTH="100%"
7399BGCOLOR="#FFD0D0"
7400CELLSPACING="0"
7401CELLPADDING="4"
7402CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007403><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007404><TR
7405><TD
7406WIDTH="20%"
7407ALIGN="RIGHT"
7408VALIGN="TOP"
7409><TT
7410CLASS="PARAMETER"
7411><I
7412>val</I
7413></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007414>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007415><TD
7416WIDTH="80%"
7417ALIGN="LEFT"
7418VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007419> int 0 or 1 </TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007420></TR
7421><TR
7422><TD
7423WIDTH="20%"
7424ALIGN="RIGHT"
7425VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007426><SPAN
7427CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007428><I
7429CLASS="EMPHASIS"
7430>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007431></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007432> :</TD
7433><TD
7434WIDTH="80%"
7435ALIGN="LEFT"
7436VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007437>the last value for 0 for no substitution, 1 for substitution.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007438></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007439></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007440></TABLE
7441><P
7442></P
7443></DIV
7444></DIV
7445><HR><DIV
7446CLASS="REFSECT2"
7447><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007448NAME="AEN1725"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007449></A
7450><H3
7451><A
7452NAME="XMLSTOPPARSER"
7453></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007454>xmlStopParser ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007455><TABLE
7456BORDER="0"
7457BGCOLOR="#D6E8FF"
7458WIDTH="100%"
7459CELLPADDING="6"
7460><TR
7461><TD
7462><PRE
7463CLASS="PROGRAMLISTING"
7464>void xmlStopParser (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00007465HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007466>xmlParserCtxtPtr</A
7467> ctxt);</PRE
7468></TD
7469></TR
7470></TABLE
7471><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007472>Blocks further parser processing</P
7473><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007474></P
7475><DIV
7476CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007477><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007478NAME="AEN1732"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007479></P
7480><TABLE
7481BORDER="0"
7482WIDTH="100%"
7483BGCOLOR="#FFD0D0"
7484CELLSPACING="0"
7485CELLPADDING="4"
7486CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007487><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007488><TR
7489><TD
7490WIDTH="20%"
7491ALIGN="RIGHT"
7492VALIGN="TOP"
7493><TT
7494CLASS="PARAMETER"
7495><I
7496>ctxt</I
7497></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007498>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007499><TD
7500WIDTH="80%"
7501ALIGN="LEFT"
7502VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007503> an XML parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007504></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007505></TBODY
Daniel Veillard011b63c1999-06-02 17:44:04 +00007506></TABLE
7507><P
7508></P
7509></DIV
7510></DIV
7511><HR><DIV
7512CLASS="REFSECT2"
7513><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007514NAME="AEN1741"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007515></A
7516><H3
7517><A
7518NAME="XMLPEDANTICPARSERDEFAULT"
7519></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007520>xmlPedanticParserDefault ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007521><TABLE
7522BORDER="0"
7523BGCOLOR="#D6E8FF"
7524WIDTH="100%"
7525CELLPADDING="6"
7526><TR
7527><TD
7528><PRE
7529CLASS="PROGRAMLISTING"
Daniel Veillard06622df2002-01-21 17:53:42 +00007530>int xmlPedanticParserDefault (int val);</PRE
7531></TD
7532></TR
7533></TABLE
7534><P
7535>Set and return the previous value for enabling pedantic warnings.</P
7536><P
7537></P
7538><DIV
7539CLASS="INFORMALTABLE"
7540><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007541NAME="AEN1747"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00007542></P
7543><TABLE
7544BORDER="0"
7545WIDTH="100%"
7546BGCOLOR="#FFD0D0"
7547CELLSPACING="0"
7548CELLPADDING="4"
7549CLASS="CALSTABLE"
7550><TBODY
7551><TR
7552><TD
7553WIDTH="20%"
7554ALIGN="RIGHT"
7555VALIGN="TOP"
7556><TT
7557CLASS="PARAMETER"
7558><I
7559>val</I
7560></TT
7561>&nbsp;:</TD
7562><TD
7563WIDTH="80%"
7564ALIGN="LEFT"
7565VALIGN="TOP"
7566> int 0 or 1 </TD
7567></TR
7568><TR
7569><TD
7570WIDTH="20%"
7571ALIGN="RIGHT"
7572VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007573><SPAN
7574CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00007575><I
7576CLASS="EMPHASIS"
7577>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007578></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00007579> :</TD
7580><TD
7581WIDTH="80%"
7582ALIGN="LEFT"
7583VALIGN="TOP"
7584>the last value for 0 for no substitution, 1 for substitution.</TD
7585></TR
7586></TBODY
7587></TABLE
7588><P
7589></P
7590></DIV
7591></DIV
7592><HR><DIV
7593CLASS="REFSECT2"
7594><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007595NAME="AEN1760"
Daniel Veillard06622df2002-01-21 17:53:42 +00007596></A
7597><H3
7598><A
7599NAME="XMLLINENUMBERSDEFAULT"
7600></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007601>xmlLineNumbersDefault ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00007602><TABLE
7603BORDER="0"
7604BGCOLOR="#D6E8FF"
7605WIDTH="100%"
7606CELLPADDING="6"
7607><TR
7608><TD
7609><PRE
7610CLASS="PROGRAMLISTING"
7611>int xmlLineNumbersDefault (int val);</PRE
7612></TD
7613></TR
7614></TABLE
7615><P
7616>Set and return the previous value for enabling line numbers in elements
7617contents. This may break on old application and is turned off by default.</P
7618><P
7619></P
7620><DIV
7621CLASS="INFORMALTABLE"
7622><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007623NAME="AEN1766"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00007624></P
7625><TABLE
7626BORDER="0"
7627WIDTH="100%"
7628BGCOLOR="#FFD0D0"
7629CELLSPACING="0"
7630CELLPADDING="4"
7631CLASS="CALSTABLE"
7632><TBODY
7633><TR
7634><TD
7635WIDTH="20%"
7636ALIGN="RIGHT"
7637VALIGN="TOP"
7638><TT
7639CLASS="PARAMETER"
7640><I
7641>val</I
7642></TT
7643>&nbsp;:</TD
7644><TD
7645WIDTH="80%"
7646ALIGN="LEFT"
7647VALIGN="TOP"
7648> int 0 or 1 </TD
7649></TR
7650><TR
7651><TD
7652WIDTH="20%"
7653ALIGN="RIGHT"
7654VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007655><SPAN
7656CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00007657><I
7658CLASS="EMPHASIS"
7659>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007660></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00007661> :</TD
7662><TD
7663WIDTH="80%"
7664ALIGN="LEFT"
7665VALIGN="TOP"
7666>the last value for 0 for no substitution, 1 for substitution.</TD
7667></TR
7668></TBODY
7669></TABLE
7670><P
7671></P
7672></DIV
7673></DIV
7674><HR><DIV
7675CLASS="REFSECT2"
7676><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007677NAME="AEN1779"
Daniel Veillard06622df2002-01-21 17:53:42 +00007678></A
7679><H3
7680><A
7681NAME="XMLRECOVERDOC"
7682></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007683>xmlRecoverDoc ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00007684><TABLE
7685BORDER="0"
7686BGCOLOR="#D6E8FF"
7687WIDTH="100%"
7688CELLPADDING="6"
7689><TR
7690><TD
7691><PRE
7692CLASS="PROGRAMLISTING"
7693><A
7694HREF="libxml-tree.html#XMLDOCPTR"
7695>xmlDocPtr</A
7696> xmlRecoverDoc (<A
7697HREF="libxml-tree.html#XMLCHAR"
7698>xmlChar</A
7699> *cur);</PRE
7700></TD
7701></TR
7702></TABLE
7703><P
7704>parse an XML in-memory document and build a tree.
7705In the case the document is not Well Formed, a tree is built anyway</P
7706><P
7707></P
7708><DIV
7709CLASS="INFORMALTABLE"
7710><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007711NAME="AEN1787"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00007712></P
7713><TABLE
7714BORDER="0"
7715WIDTH="100%"
7716BGCOLOR="#FFD0D0"
7717CELLSPACING="0"
7718CELLPADDING="4"
7719CLASS="CALSTABLE"
7720><TBODY
7721><TR
7722><TD
7723WIDTH="20%"
7724ALIGN="RIGHT"
7725VALIGN="TOP"
7726><TT
7727CLASS="PARAMETER"
7728><I
7729>cur</I
7730></TT
7731>&nbsp;:</TD
7732><TD
7733WIDTH="80%"
7734ALIGN="LEFT"
7735VALIGN="TOP"
7736> a pointer to an array of xmlChar</TD
7737></TR
7738><TR
7739><TD
7740WIDTH="20%"
7741ALIGN="RIGHT"
7742VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007743><SPAN
7744CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00007745><I
7746CLASS="EMPHASIS"
7747>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007748></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00007749> :</TD
7750><TD
7751WIDTH="80%"
7752ALIGN="LEFT"
7753VALIGN="TOP"
7754>the resulting document tree</TD
7755></TR
7756></TBODY
7757></TABLE
7758><P
7759></P
7760></DIV
7761></DIV
7762><HR><DIV
7763CLASS="REFSECT2"
7764><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007765NAME="AEN1800"
Daniel Veillard06622df2002-01-21 17:53:42 +00007766></A
7767><H3
7768><A
7769NAME="XMLRECOVERMEMORY"
7770></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007771>xmlRecoverMemory ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00007772><TABLE
7773BORDER="0"
7774BGCOLOR="#D6E8FF"
7775WIDTH="100%"
7776CELLPADDING="6"
7777><TR
7778><TD
7779><PRE
7780CLASS="PROGRAMLISTING"
7781><A
7782HREF="libxml-tree.html#XMLDOCPTR"
7783>xmlDocPtr</A
7784> xmlRecoverMemory (const char *buffer,
7785 int size);</PRE
7786></TD
7787></TR
7788></TABLE
7789><P
7790>parse an XML in-memory block and build a tree.
7791In the case the document is not Well Formed, a tree is built anyway</P
7792><P
7793></P
7794><DIV
7795CLASS="INFORMALTABLE"
7796><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007797NAME="AEN1807"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00007798></P
7799><TABLE
7800BORDER="0"
7801WIDTH="100%"
7802BGCOLOR="#FFD0D0"
7803CELLSPACING="0"
7804CELLPADDING="4"
7805CLASS="CALSTABLE"
7806><TBODY
7807><TR
7808><TD
7809WIDTH="20%"
7810ALIGN="RIGHT"
7811VALIGN="TOP"
7812><TT
7813CLASS="PARAMETER"
7814><I
7815>buffer</I
7816></TT
7817>&nbsp;:</TD
7818><TD
7819WIDTH="80%"
7820ALIGN="LEFT"
7821VALIGN="TOP"
7822> an pointer to a char array</TD
7823></TR
7824><TR
7825><TD
7826WIDTH="20%"
7827ALIGN="RIGHT"
7828VALIGN="TOP"
7829><TT
7830CLASS="PARAMETER"
7831><I
7832>size</I
7833></TT
7834>&nbsp;:</TD
7835><TD
7836WIDTH="80%"
7837ALIGN="LEFT"
7838VALIGN="TOP"
7839> the size of the array</TD
7840></TR
7841><TR
7842><TD
7843WIDTH="20%"
7844ALIGN="RIGHT"
7845VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007846><SPAN
7847CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00007848><I
7849CLASS="EMPHASIS"
7850>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007851></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00007852> :</TD
7853><TD
7854WIDTH="80%"
7855ALIGN="LEFT"
7856VALIGN="TOP"
7857>the resulting document tree</TD
7858></TR
7859></TBODY
7860></TABLE
7861><P
7862></P
7863></DIV
7864></DIV
7865><HR><DIV
7866CLASS="REFSECT2"
7867><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007868NAME="AEN1824"
Daniel Veillard06622df2002-01-21 17:53:42 +00007869></A
7870><H3
7871><A
7872NAME="XMLRECOVERFILE"
7873></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007874>xmlRecoverFile ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00007875><TABLE
7876BORDER="0"
7877BGCOLOR="#D6E8FF"
7878WIDTH="100%"
7879CELLPADDING="6"
7880><TR
7881><TD
7882><PRE
7883CLASS="PROGRAMLISTING"
7884><A
7885HREF="libxml-tree.html#XMLDOCPTR"
7886>xmlDocPtr</A
7887> xmlRecoverFile (const char *filename);</PRE
7888></TD
7889></TR
7890></TABLE
7891><P
7892>parse an XML file and build a tree. Automatic support for ZLIB/Compress
7893compressed document is provided by default if found at compile-time.
7894In the case the document is not Well Formed, a tree is built anyway</P
7895><P
7896></P
7897><DIV
7898CLASS="INFORMALTABLE"
7899><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007900NAME="AEN1831"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00007901></P
7902><TABLE
7903BORDER="0"
7904WIDTH="100%"
7905BGCOLOR="#FFD0D0"
7906CELLSPACING="0"
7907CELLPADDING="4"
7908CLASS="CALSTABLE"
7909><TBODY
7910><TR
7911><TD
7912WIDTH="20%"
7913ALIGN="RIGHT"
7914VALIGN="TOP"
7915><TT
7916CLASS="PARAMETER"
7917><I
7918>filename</I
7919></TT
7920>&nbsp;:</TD
7921><TD
7922WIDTH="80%"
7923ALIGN="LEFT"
7924VALIGN="TOP"
7925> the filename</TD
7926></TR
7927><TR
7928><TD
7929WIDTH="20%"
7930ALIGN="RIGHT"
7931VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007932><SPAN
7933CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00007934><I
7935CLASS="EMPHASIS"
7936>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007937></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00007938> :</TD
7939><TD
7940WIDTH="80%"
7941ALIGN="LEFT"
7942VALIGN="TOP"
7943>the resulting document tree</TD
7944></TR
7945></TBODY
7946></TABLE
7947><P
7948></P
7949></DIV
7950></DIV
7951><HR><DIV
7952CLASS="REFSECT2"
7953><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007954NAME="AEN1844"
Daniel Veillard06622df2002-01-21 17:53:42 +00007955></A
7956><H3
7957><A
7958NAME="XMLPARSEDOCUMENT"
7959></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007960>xmlParseDocument ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00007961><TABLE
7962BORDER="0"
7963BGCOLOR="#D6E8FF"
7964WIDTH="100%"
7965CELLPADDING="6"
7966><TR
7967><TD
7968><PRE
7969CLASS="PROGRAMLISTING"
7970>int xmlParseDocument (<A
7971HREF="libxml-tree.html#XMLPARSERCTXTPTR"
7972>xmlParserCtxtPtr</A
7973> ctxt);</PRE
7974></TD
7975></TR
7976></TABLE
7977><P
7978>parse an XML document (and build a tree if using the standard SAX
7979interface).</P
7980><P
7981>[1] document ::= prolog element Misc*</P
7982><P
7983>[22] prolog ::= XMLDecl? Misc* (doctypedecl Misc*)?</P
7984><P
7985></P
7986><DIV
7987CLASS="INFORMALTABLE"
7988><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00007989NAME="AEN1853"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00007990></P
7991><TABLE
7992BORDER="0"
7993WIDTH="100%"
7994BGCOLOR="#FFD0D0"
7995CELLSPACING="0"
7996CELLPADDING="4"
7997CLASS="CALSTABLE"
7998><TBODY
7999><TR
8000><TD
8001WIDTH="20%"
8002ALIGN="RIGHT"
8003VALIGN="TOP"
8004><TT
8005CLASS="PARAMETER"
8006><I
8007>ctxt</I
8008></TT
8009>&nbsp;:</TD
8010><TD
8011WIDTH="80%"
8012ALIGN="LEFT"
8013VALIGN="TOP"
8014> an XML parser context</TD
8015></TR
8016><TR
8017><TD
8018WIDTH="20%"
8019ALIGN="RIGHT"
8020VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008021><SPAN
8022CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008023><I
8024CLASS="EMPHASIS"
8025>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008026></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008027> :</TD
8028><TD
8029WIDTH="80%"
8030ALIGN="LEFT"
8031VALIGN="TOP"
8032>0, -1 in case of error. the parser context is augmented
Daniel Veillardaf43f632002-03-08 15:05:20 +00008033as a result of the parsing.</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008034></TR
8035></TBODY
8036></TABLE
8037><P
8038></P
8039></DIV
8040></DIV
8041><HR><DIV
8042CLASS="REFSECT2"
8043><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008044NAME="AEN1866"
Daniel Veillard06622df2002-01-21 17:53:42 +00008045></A
8046><H3
8047><A
8048NAME="XMLPARSEEXTPARSEDENT"
8049></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008050>xmlParseExtParsedEnt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008051><TABLE
8052BORDER="0"
8053BGCOLOR="#D6E8FF"
8054WIDTH="100%"
8055CELLPADDING="6"
8056><TR
8057><TD
8058><PRE
8059CLASS="PROGRAMLISTING"
8060>int xmlParseExtParsedEnt (<A
8061HREF="libxml-tree.html#XMLPARSERCTXTPTR"
8062>xmlParserCtxtPtr</A
8063> ctxt);</PRE
8064></TD
8065></TR
8066></TABLE
8067><P
8068>parse a general parsed entity
8069An external general parsed entity is well-formed if it matches the
8070production labeled extParsedEnt.</P
8071><P
8072>[78] extParsedEnt ::= TextDecl? content</P
8073><P
8074></P
8075><DIV
8076CLASS="INFORMALTABLE"
8077><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008078NAME="AEN1874"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008079></P
8080><TABLE
8081BORDER="0"
8082WIDTH="100%"
8083BGCOLOR="#FFD0D0"
8084CELLSPACING="0"
8085CELLPADDING="4"
8086CLASS="CALSTABLE"
8087><TBODY
8088><TR
8089><TD
8090WIDTH="20%"
8091ALIGN="RIGHT"
8092VALIGN="TOP"
8093><TT
8094CLASS="PARAMETER"
8095><I
8096>ctxt</I
8097></TT
8098>&nbsp;:</TD
8099><TD
8100WIDTH="80%"
8101ALIGN="LEFT"
8102VALIGN="TOP"
8103> an XML parser context</TD
8104></TR
8105><TR
8106><TD
8107WIDTH="20%"
8108ALIGN="RIGHT"
8109VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008110><SPAN
8111CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008112><I
8113CLASS="EMPHASIS"
8114>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008115></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008116> :</TD
8117><TD
8118WIDTH="80%"
8119ALIGN="LEFT"
8120VALIGN="TOP"
8121>0, -1 in case of error. the parser context is augmented
Daniel Veillardaf43f632002-03-08 15:05:20 +00008122as a result of the parsing.</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008123></TR
8124></TBODY
8125></TABLE
8126><P
8127></P
8128></DIV
8129></DIV
8130><HR><DIV
8131CLASS="REFSECT2"
8132><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008133NAME="AEN1887"
Daniel Veillard06622df2002-01-21 17:53:42 +00008134></A
8135><H3
8136><A
8137NAME="XMLSAXPARSEDOC"
8138></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008139>xmlSAXParseDoc ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008140><TABLE
8141BORDER="0"
8142BGCOLOR="#D6E8FF"
8143WIDTH="100%"
8144CELLPADDING="6"
8145><TR
8146><TD
8147><PRE
8148CLASS="PROGRAMLISTING"
8149><A
8150HREF="libxml-tree.html#XMLDOCPTR"
8151>xmlDocPtr</A
8152> xmlSAXParseDoc (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008153HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008154>xmlSAXHandlerPtr</A
8155> sax,
8156 <A
8157HREF="libxml-tree.html#XMLCHAR"
8158>xmlChar</A
8159> *cur,
8160 int recovery);</PRE
8161></TD
8162></TR
8163></TABLE
8164><P
8165>parse an XML in-memory document and build a tree.
8166It use the given SAX function block to handle the parsing callback.
8167If sax is NULL, fallback to the default DOM tree building routines.</P
8168><P
8169></P
8170><DIV
8171CLASS="INFORMALTABLE"
8172><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008173NAME="AEN1896"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008174></P
8175><TABLE
8176BORDER="0"
8177WIDTH="100%"
8178BGCOLOR="#FFD0D0"
8179CELLSPACING="0"
8180CELLPADDING="4"
8181CLASS="CALSTABLE"
8182><TBODY
8183><TR
8184><TD
8185WIDTH="20%"
8186ALIGN="RIGHT"
8187VALIGN="TOP"
8188><TT
8189CLASS="PARAMETER"
8190><I
8191>sax</I
8192></TT
8193>&nbsp;:</TD
8194><TD
8195WIDTH="80%"
8196ALIGN="LEFT"
8197VALIGN="TOP"
8198> the SAX handler block</TD
8199></TR
8200><TR
8201><TD
8202WIDTH="20%"
8203ALIGN="RIGHT"
8204VALIGN="TOP"
8205><TT
8206CLASS="PARAMETER"
8207><I
8208>cur</I
8209></TT
8210>&nbsp;:</TD
8211><TD
8212WIDTH="80%"
8213ALIGN="LEFT"
8214VALIGN="TOP"
8215> a pointer to an array of xmlChar</TD
8216></TR
8217><TR
8218><TD
8219WIDTH="20%"
8220ALIGN="RIGHT"
8221VALIGN="TOP"
8222><TT
8223CLASS="PARAMETER"
8224><I
8225>recovery</I
8226></TT
8227>&nbsp;:</TD
8228><TD
8229WIDTH="80%"
8230ALIGN="LEFT"
8231VALIGN="TOP"
8232> work in recovery mode, i.e. tries to read no Well Formed
Daniel Veillardaf43f632002-03-08 15:05:20 +00008233documents</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008234></TR
8235><TR
8236><TD
8237WIDTH="20%"
8238ALIGN="RIGHT"
8239VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008240><SPAN
8241CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008242><I
8243CLASS="EMPHASIS"
8244>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008245></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008246> :</TD
8247><TD
8248WIDTH="80%"
8249ALIGN="LEFT"
8250VALIGN="TOP"
8251>the resulting document tree</TD
8252></TR
8253></TBODY
8254></TABLE
8255><P
8256></P
8257></DIV
8258></DIV
8259><HR><DIV
8260CLASS="REFSECT2"
8261><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008262NAME="AEN1917"
Daniel Veillard06622df2002-01-21 17:53:42 +00008263></A
8264><H3
8265><A
8266NAME="XMLSAXUSERPARSEFILE"
8267></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008268>xmlSAXUserParseFile ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008269><TABLE
8270BORDER="0"
8271BGCOLOR="#D6E8FF"
8272WIDTH="100%"
8273CELLPADDING="6"
8274><TR
8275><TD
8276><PRE
8277CLASS="PROGRAMLISTING"
8278>int xmlSAXUserParseFile (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008279HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008280>xmlSAXHandlerPtr</A
8281> sax,
8282 void *user_data,
8283 const char *filename);</PRE
8284></TD
8285></TR
8286></TABLE
8287><P
8288>parse an XML file and call the given SAX handler routines.
8289Automatic support for ZLIB/Compress compressed document is provided</P
8290><P
8291></P
8292><DIV
8293CLASS="INFORMALTABLE"
8294><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008295NAME="AEN1924"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008296></P
8297><TABLE
8298BORDER="0"
8299WIDTH="100%"
8300BGCOLOR="#FFD0D0"
8301CELLSPACING="0"
8302CELLPADDING="4"
8303CLASS="CALSTABLE"
8304><TBODY
8305><TR
8306><TD
8307WIDTH="20%"
8308ALIGN="RIGHT"
8309VALIGN="TOP"
8310><TT
8311CLASS="PARAMETER"
8312><I
8313>sax</I
8314></TT
8315>&nbsp;:</TD
8316><TD
8317WIDTH="80%"
8318ALIGN="LEFT"
8319VALIGN="TOP"
8320> a SAX handler</TD
8321></TR
8322><TR
8323><TD
8324WIDTH="20%"
8325ALIGN="RIGHT"
8326VALIGN="TOP"
8327><TT
8328CLASS="PARAMETER"
8329><I
8330>user_data</I
8331></TT
8332>&nbsp;:</TD
8333><TD
8334WIDTH="80%"
8335ALIGN="LEFT"
8336VALIGN="TOP"
8337> The user data returned on SAX callbacks</TD
8338></TR
8339><TR
8340><TD
8341WIDTH="20%"
8342ALIGN="RIGHT"
8343VALIGN="TOP"
8344><TT
8345CLASS="PARAMETER"
8346><I
8347>filename</I
8348></TT
8349>&nbsp;:</TD
8350><TD
8351WIDTH="80%"
8352ALIGN="LEFT"
8353VALIGN="TOP"
8354> a file name</TD
8355></TR
8356><TR
8357><TD
8358WIDTH="20%"
8359ALIGN="RIGHT"
8360VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008361><SPAN
8362CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008363><I
8364CLASS="EMPHASIS"
8365>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008366></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008367> :</TD
8368><TD
8369WIDTH="80%"
8370ALIGN="LEFT"
8371VALIGN="TOP"
8372>0 in case of success or a error number otherwise</TD
8373></TR
8374></TBODY
8375></TABLE
8376><P
8377></P
8378></DIV
8379></DIV
8380><HR><DIV
8381CLASS="REFSECT2"
8382><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008383NAME="AEN1945"
Daniel Veillard06622df2002-01-21 17:53:42 +00008384></A
8385><H3
8386><A
8387NAME="XMLSAXUSERPARSEMEMORY"
8388></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008389>xmlSAXUserParseMemory ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008390><TABLE
8391BORDER="0"
8392BGCOLOR="#D6E8FF"
8393WIDTH="100%"
8394CELLPADDING="6"
8395><TR
8396><TD
8397><PRE
8398CLASS="PROGRAMLISTING"
8399>int xmlSAXUserParseMemory (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008400HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008401>xmlSAXHandlerPtr</A
8402> sax,
8403 void *user_data,
8404 const char *buffer,
8405 int size);</PRE
8406></TD
8407></TR
8408></TABLE
8409><P
8410>A better SAX parsing routine.
8411parse an XML in-memory buffer and call the given SAX handler routines.</P
8412><P
8413></P
8414><DIV
8415CLASS="INFORMALTABLE"
8416><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008417NAME="AEN1952"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008418></P
8419><TABLE
8420BORDER="0"
8421WIDTH="100%"
8422BGCOLOR="#FFD0D0"
8423CELLSPACING="0"
8424CELLPADDING="4"
8425CLASS="CALSTABLE"
8426><TBODY
8427><TR
8428><TD
8429WIDTH="20%"
8430ALIGN="RIGHT"
8431VALIGN="TOP"
8432><TT
8433CLASS="PARAMETER"
8434><I
8435>sax</I
8436></TT
8437>&nbsp;:</TD
8438><TD
8439WIDTH="80%"
8440ALIGN="LEFT"
8441VALIGN="TOP"
8442> a SAX handler</TD
8443></TR
8444><TR
8445><TD
8446WIDTH="20%"
8447ALIGN="RIGHT"
8448VALIGN="TOP"
8449><TT
8450CLASS="PARAMETER"
8451><I
8452>user_data</I
8453></TT
8454>&nbsp;:</TD
8455><TD
8456WIDTH="80%"
8457ALIGN="LEFT"
8458VALIGN="TOP"
8459> The user data returned on SAX callbacks</TD
8460></TR
8461><TR
8462><TD
8463WIDTH="20%"
8464ALIGN="RIGHT"
8465VALIGN="TOP"
8466><TT
8467CLASS="PARAMETER"
8468><I
8469>buffer</I
8470></TT
8471>&nbsp;:</TD
8472><TD
8473WIDTH="80%"
8474ALIGN="LEFT"
8475VALIGN="TOP"
8476> an in-memory XML document input</TD
8477></TR
8478><TR
8479><TD
8480WIDTH="20%"
8481ALIGN="RIGHT"
8482VALIGN="TOP"
8483><TT
8484CLASS="PARAMETER"
8485><I
8486>size</I
8487></TT
8488>&nbsp;:</TD
8489><TD
8490WIDTH="80%"
8491ALIGN="LEFT"
8492VALIGN="TOP"
8493> the length of the XML document in bytes</TD
8494></TR
8495><TR
8496><TD
8497WIDTH="20%"
8498ALIGN="RIGHT"
8499VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008500><SPAN
8501CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008502><I
8503CLASS="EMPHASIS"
8504>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008505></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008506> :</TD
8507><TD
8508WIDTH="80%"
8509ALIGN="LEFT"
8510VALIGN="TOP"
8511>0 in case of success or a error number otherwise</TD
8512></TR
8513></TBODY
8514></TABLE
8515><P
8516></P
8517></DIV
8518></DIV
8519><HR><DIV
8520CLASS="REFSECT2"
8521><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008522NAME="AEN1977"
Daniel Veillard06622df2002-01-21 17:53:42 +00008523></A
8524><H3
8525><A
8526NAME="XMLSAXPARSEMEMORY"
8527></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008528>xmlSAXParseMemory ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008529><TABLE
8530BORDER="0"
8531BGCOLOR="#D6E8FF"
8532WIDTH="100%"
8533CELLPADDING="6"
8534><TR
8535><TD
8536><PRE
8537CLASS="PROGRAMLISTING"
8538><A
8539HREF="libxml-tree.html#XMLDOCPTR"
8540>xmlDocPtr</A
8541> xmlSAXParseMemory (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008542HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008543>xmlSAXHandlerPtr</A
8544> sax,
8545 const char *buffer,
8546 int size,
8547 int recovery);</PRE
8548></TD
8549></TR
8550></TABLE
8551><P
8552>parse an XML in-memory block and use the given SAX function block
8553to handle the parsing callback. If sax is NULL, fallback to the default
8554DOM tree building routines.</P
8555><P
8556></P
8557><DIV
8558CLASS="INFORMALTABLE"
8559><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008560NAME="AEN1985"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008561></P
8562><TABLE
8563BORDER="0"
8564WIDTH="100%"
8565BGCOLOR="#FFD0D0"
8566CELLSPACING="0"
8567CELLPADDING="4"
8568CLASS="CALSTABLE"
8569><TBODY
8570><TR
8571><TD
8572WIDTH="20%"
8573ALIGN="RIGHT"
8574VALIGN="TOP"
8575><TT
8576CLASS="PARAMETER"
8577><I
8578>sax</I
8579></TT
8580>&nbsp;:</TD
8581><TD
8582WIDTH="80%"
8583ALIGN="LEFT"
8584VALIGN="TOP"
8585> the SAX handler block</TD
8586></TR
8587><TR
8588><TD
8589WIDTH="20%"
8590ALIGN="RIGHT"
8591VALIGN="TOP"
8592><TT
8593CLASS="PARAMETER"
8594><I
8595>buffer</I
8596></TT
8597>&nbsp;:</TD
8598><TD
8599WIDTH="80%"
8600ALIGN="LEFT"
8601VALIGN="TOP"
8602> an pointer to a char array</TD
8603></TR
8604><TR
8605><TD
8606WIDTH="20%"
8607ALIGN="RIGHT"
8608VALIGN="TOP"
8609><TT
8610CLASS="PARAMETER"
8611><I
8612>size</I
8613></TT
8614>&nbsp;:</TD
8615><TD
8616WIDTH="80%"
8617ALIGN="LEFT"
8618VALIGN="TOP"
8619> the size of the array</TD
8620></TR
8621><TR
8622><TD
8623WIDTH="20%"
8624ALIGN="RIGHT"
8625VALIGN="TOP"
8626><TT
8627CLASS="PARAMETER"
8628><I
8629>recovery</I
8630></TT
8631>&nbsp;:</TD
8632><TD
8633WIDTH="80%"
8634ALIGN="LEFT"
8635VALIGN="TOP"
8636> work in recovery mode, i.e. tries to read not Well Formed
Daniel Veillardaf43f632002-03-08 15:05:20 +00008637documents</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008638></TR
8639><TR
8640><TD
8641WIDTH="20%"
8642ALIGN="RIGHT"
8643VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008644><SPAN
8645CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008646><I
8647CLASS="EMPHASIS"
8648>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008649></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008650> :</TD
8651><TD
8652WIDTH="80%"
8653ALIGN="LEFT"
8654VALIGN="TOP"
8655>the resulting document tree</TD
8656></TR
8657></TBODY
8658></TABLE
8659><P
8660></P
8661></DIV
8662></DIV
8663><HR><DIV
8664CLASS="REFSECT2"
8665><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008666NAME="AEN2010"
Daniel Veillard06622df2002-01-21 17:53:42 +00008667></A
8668><H3
8669><A
8670NAME="XMLSAXPARSEFILE"
8671></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008672>xmlSAXParseFile ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008673><TABLE
8674BORDER="0"
8675BGCOLOR="#D6E8FF"
8676WIDTH="100%"
8677CELLPADDING="6"
8678><TR
8679><TD
8680><PRE
8681CLASS="PROGRAMLISTING"
8682><A
8683HREF="libxml-tree.html#XMLDOCPTR"
8684>xmlDocPtr</A
8685> xmlSAXParseFile (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008686HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008687>xmlSAXHandlerPtr</A
8688> sax,
8689 const char *filename,
8690 int recovery);</PRE
8691></TD
8692></TR
8693></TABLE
8694><P
8695>parse an XML file and build a tree. Automatic support for ZLIB/Compress
8696compressed document is provided by default if found at compile-time.
8697It use the given SAX function block to handle the parsing callback.
8698If sax is NULL, fallback to the default DOM tree building routines.</P
8699><P
8700></P
8701><DIV
8702CLASS="INFORMALTABLE"
8703><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008704NAME="AEN2018"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008705></P
8706><TABLE
8707BORDER="0"
8708WIDTH="100%"
8709BGCOLOR="#FFD0D0"
8710CELLSPACING="0"
8711CELLPADDING="4"
8712CLASS="CALSTABLE"
8713><TBODY
8714><TR
8715><TD
8716WIDTH="20%"
8717ALIGN="RIGHT"
8718VALIGN="TOP"
8719><TT
8720CLASS="PARAMETER"
8721><I
8722>sax</I
8723></TT
8724>&nbsp;:</TD
8725><TD
8726WIDTH="80%"
8727ALIGN="LEFT"
8728VALIGN="TOP"
8729> the SAX handler block</TD
8730></TR
8731><TR
8732><TD
8733WIDTH="20%"
8734ALIGN="RIGHT"
8735VALIGN="TOP"
8736><TT
8737CLASS="PARAMETER"
8738><I
8739>filename</I
8740></TT
8741>&nbsp;:</TD
8742><TD
8743WIDTH="80%"
8744ALIGN="LEFT"
8745VALIGN="TOP"
8746> the filename</TD
8747></TR
8748><TR
8749><TD
8750WIDTH="20%"
8751ALIGN="RIGHT"
8752VALIGN="TOP"
8753><TT
8754CLASS="PARAMETER"
8755><I
8756>recovery</I
8757></TT
8758>&nbsp;:</TD
8759><TD
8760WIDTH="80%"
8761ALIGN="LEFT"
8762VALIGN="TOP"
8763> work in recovery mode, i.e. tries to read no Well Formed
Daniel Veillardaf43f632002-03-08 15:05:20 +00008764documents</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008765></TR
8766><TR
8767><TD
8768WIDTH="20%"
8769ALIGN="RIGHT"
8770VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008771><SPAN
8772CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008773><I
8774CLASS="EMPHASIS"
8775>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008776></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008777> :</TD
8778><TD
8779WIDTH="80%"
8780ALIGN="LEFT"
8781VALIGN="TOP"
8782>the resulting document tree</TD
8783></TR
8784></TBODY
8785></TABLE
8786><P
8787></P
8788></DIV
8789></DIV
8790><HR><DIV
8791CLASS="REFSECT2"
8792><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008793NAME="AEN2039"
Daniel Veillard06622df2002-01-21 17:53:42 +00008794></A
8795><H3
8796><A
8797NAME="XMLSAXPARSEFILEWITHDATA"
8798></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008799>xmlSAXParseFileWithData ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008800><TABLE
8801BORDER="0"
8802BGCOLOR="#D6E8FF"
8803WIDTH="100%"
8804CELLPADDING="6"
8805><TR
8806><TD
8807><PRE
8808CLASS="PROGRAMLISTING"
8809><A
8810HREF="libxml-tree.html#XMLDOCPTR"
8811>xmlDocPtr</A
8812> xmlSAXParseFileWithData (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008813HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008814>xmlSAXHandlerPtr</A
8815> sax,
8816 const char *filename,
8817 int recovery,
8818 void *data);</PRE
8819></TD
8820></TR
8821></TABLE
8822><P
8823>parse an XML file and build a tree. Automatic support for ZLIB/Compress
8824compressed document is provided by default if found at compile-time.
8825It use the given SAX function block to handle the parsing callback.
8826If sax is NULL, fallback to the default DOM tree building routines.</P
8827><P
Daniel Veillardfc57b412002-04-29 15:50:14 +00008828>User data (void *) is stored within the parser context in the
8829context's _private member, so it is available nearly everywhere in libxml</P
Daniel Veillard06622df2002-01-21 17:53:42 +00008830><P
8831></P
8832><DIV
8833CLASS="INFORMALTABLE"
8834><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008835NAME="AEN2048"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008836></P
8837><TABLE
8838BORDER="0"
8839WIDTH="100%"
8840BGCOLOR="#FFD0D0"
8841CELLSPACING="0"
8842CELLPADDING="4"
8843CLASS="CALSTABLE"
8844><TBODY
8845><TR
8846><TD
8847WIDTH="20%"
8848ALIGN="RIGHT"
8849VALIGN="TOP"
8850><TT
8851CLASS="PARAMETER"
8852><I
8853>sax</I
8854></TT
8855>&nbsp;:</TD
8856><TD
8857WIDTH="80%"
8858ALIGN="LEFT"
8859VALIGN="TOP"
8860> the SAX handler block</TD
8861></TR
8862><TR
8863><TD
8864WIDTH="20%"
8865ALIGN="RIGHT"
8866VALIGN="TOP"
8867><TT
8868CLASS="PARAMETER"
8869><I
8870>filename</I
8871></TT
8872>&nbsp;:</TD
8873><TD
8874WIDTH="80%"
8875ALIGN="LEFT"
8876VALIGN="TOP"
8877> the filename</TD
8878></TR
8879><TR
8880><TD
8881WIDTH="20%"
8882ALIGN="RIGHT"
8883VALIGN="TOP"
8884><TT
8885CLASS="PARAMETER"
8886><I
8887>recovery</I
8888></TT
8889>&nbsp;:</TD
8890><TD
8891WIDTH="80%"
8892ALIGN="LEFT"
8893VALIGN="TOP"
8894> work in recovery mode, i.e. tries to read no Well Formed
Daniel Veillardaf43f632002-03-08 15:05:20 +00008895documents</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008896></TR
8897><TR
8898><TD
8899WIDTH="20%"
8900ALIGN="RIGHT"
8901VALIGN="TOP"
8902><TT
8903CLASS="PARAMETER"
8904><I
8905>data</I
8906></TT
8907>&nbsp;:</TD
8908><TD
8909WIDTH="80%"
8910ALIGN="LEFT"
8911VALIGN="TOP"
8912> the userdata</TD
8913></TR
8914><TR
8915><TD
8916WIDTH="20%"
8917ALIGN="RIGHT"
8918VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008919><SPAN
8920CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008921><I
8922CLASS="EMPHASIS"
8923>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008924></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008925> :</TD
8926><TD
8927WIDTH="80%"
8928ALIGN="LEFT"
8929VALIGN="TOP"
8930>the resulting document tree</TD
8931></TR
8932></TBODY
8933></TABLE
8934><P
8935></P
8936></DIV
8937></DIV
8938><HR><DIV
8939CLASS="REFSECT2"
8940><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008941NAME="AEN2073"
Daniel Veillard06622df2002-01-21 17:53:42 +00008942></A
8943><H3
8944><A
8945NAME="XMLSAXPARSEENTITY"
8946></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008947>xmlSAXParseEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008948><TABLE
8949BORDER="0"
8950BGCOLOR="#D6E8FF"
8951WIDTH="100%"
8952CELLPADDING="6"
8953><TR
8954><TD
8955><PRE
8956CLASS="PROGRAMLISTING"
8957><A
8958HREF="libxml-tree.html#XMLDOCPTR"
8959>xmlDocPtr</A
8960> xmlSAXParseEntity (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008961HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008962>xmlSAXHandlerPtr</A
8963> sax,
8964 const char *filename);</PRE
8965></TD
8966></TR
8967></TABLE
8968><P
8969>parse an XML external entity out of context and build a tree.
8970It use the given SAX function block to handle the parsing callback.
8971If sax is NULL, fallback to the default DOM tree building routines.</P
8972><P
8973>[78] extParsedEnt ::= TextDecl? content</P
8974><P
8975>This correspond to a "Well Balanced" chunk</P
8976><P
8977></P
8978><DIV
8979CLASS="INFORMALTABLE"
8980><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00008981NAME="AEN2083"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008982></P
8983><TABLE
8984BORDER="0"
8985WIDTH="100%"
8986BGCOLOR="#FFD0D0"
8987CELLSPACING="0"
8988CELLPADDING="4"
8989CLASS="CALSTABLE"
8990><TBODY
8991><TR
8992><TD
8993WIDTH="20%"
8994ALIGN="RIGHT"
8995VALIGN="TOP"
8996><TT
8997CLASS="PARAMETER"
8998><I
8999>sax</I
9000></TT
9001>&nbsp;:</TD
9002><TD
9003WIDTH="80%"
9004ALIGN="LEFT"
9005VALIGN="TOP"
9006> the SAX handler block</TD
9007></TR
9008><TR
9009><TD
9010WIDTH="20%"
9011ALIGN="RIGHT"
9012VALIGN="TOP"
9013><TT
9014CLASS="PARAMETER"
9015><I
9016>filename</I
9017></TT
9018>&nbsp;:</TD
9019><TD
9020WIDTH="80%"
9021ALIGN="LEFT"
9022VALIGN="TOP"
9023> the filename</TD
9024></TR
9025><TR
9026><TD
9027WIDTH="20%"
9028ALIGN="RIGHT"
9029VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009030><SPAN
9031CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00009032><I
9033CLASS="EMPHASIS"
9034>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009035></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00009036> :</TD
9037><TD
9038WIDTH="80%"
9039ALIGN="LEFT"
9040VALIGN="TOP"
9041>the resulting document tree</TD
9042></TR
9043></TBODY
9044></TABLE
9045><P
9046></P
9047></DIV
9048></DIV
9049><HR><DIV
9050CLASS="REFSECT2"
9051><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00009052NAME="AEN2100"
Daniel Veillard06622df2002-01-21 17:53:42 +00009053></A
9054><H3
9055><A
9056NAME="XMLPARSEENTITY"
9057></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009058>xmlParseEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009059><TABLE
9060BORDER="0"
9061BGCOLOR="#D6E8FF"
9062WIDTH="100%"
9063CELLPADDING="6"
9064><TR
9065><TD
9066><PRE
9067CLASS="PROGRAMLISTING"
9068><A
9069HREF="libxml-tree.html#XMLDOCPTR"
9070>xmlDocPtr</A
9071> xmlParseEntity (const char *filename);</PRE
9072></TD
9073></TR
9074></TABLE
9075><P
9076>parse an XML external entity out of context and build a tree.</P
9077><P
9078>[78] extParsedEnt ::= TextDecl? content</P
9079><P
9080>This correspond to a "Well Balanced" chunk</P
9081><P
9082></P
9083><DIV
9084CLASS="INFORMALTABLE"
9085><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00009086NAME="AEN2109"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009087></P
9088><TABLE
9089BORDER="0"
9090WIDTH="100%"
9091BGCOLOR="#FFD0D0"
9092CELLSPACING="0"
9093CELLPADDING="4"
9094CLASS="CALSTABLE"
9095><TBODY
9096><TR
9097><TD
9098WIDTH="20%"
9099ALIGN="RIGHT"
9100VALIGN="TOP"
9101><TT
9102CLASS="PARAMETER"
9103><I
9104>filename</I
9105></TT
9106>&nbsp;:</TD
9107><TD
9108WIDTH="80%"
9109ALIGN="LEFT"
9110VALIGN="TOP"
9111> the filename</TD
9112></TR
9113><TR
9114><TD
9115WIDTH="20%"
9116ALIGN="RIGHT"
9117VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009118><SPAN
9119CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00009120><I
9121CLASS="EMPHASIS"
9122>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009123></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00009124> :</TD
9125><TD
9126WIDTH="80%"
9127ALIGN="LEFT"
9128VALIGN="TOP"
9129>the resulting document tree</TD
9130></TR
9131></TBODY
9132></TABLE
9133><P
9134></P
9135></DIV
9136></DIV
9137><HR><DIV
9138CLASS="REFSECT2"
9139><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00009140NAME="AEN2122"
Daniel Veillard06622df2002-01-21 17:53:42 +00009141></A
9142><H3
9143><A
9144NAME="XMLPARSEDTD"
9145></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009146>xmlParseDTD ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009147><TABLE
9148BORDER="0"
9149BGCOLOR="#D6E8FF"
9150WIDTH="100%"
9151CELLPADDING="6"
9152><TR
9153><TD
9154><PRE
9155CLASS="PROGRAMLISTING"
9156><A
9157HREF="libxml-tree.html#XMLDTDPTR"
9158>xmlDtdPtr</A
9159> xmlParseDTD (const <A
9160HREF="libxml-tree.html#XMLCHAR"
9161>xmlChar</A
9162> *ExternalID,
9163 const <A
9164HREF="libxml-tree.html#XMLCHAR"
9165>xmlChar</A
9166> *SystemID);</PRE
9167></TD
9168></TR
9169></TABLE
9170><P
9171>Load and parse an external subset.</P
9172><P
9173></P
9174><DIV
9175CLASS="INFORMALTABLE"
9176><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00009177NAME="AEN2131"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009178></P
9179><TABLE
9180BORDER="0"
9181WIDTH="100%"
9182BGCOLOR="#FFD0D0"
9183CELLSPACING="0"
9184CELLPADDING="4"
9185CLASS="CALSTABLE"
9186><TBODY
9187><TR
9188><TD
9189WIDTH="20%"
9190ALIGN="RIGHT"
9191VALIGN="TOP"
9192><TT
9193CLASS="PARAMETER"
9194><I
9195>ExternalID</I
9196></TT
9197>&nbsp;:</TD
9198><TD
9199WIDTH="80%"
9200ALIGN="LEFT"
9201VALIGN="TOP"
9202> a NAME* containing the External ID of the DTD</TD
9203></TR
9204><TR
9205><TD
9206WIDTH="20%"
9207ALIGN="RIGHT"
9208VALIGN="TOP"
9209><TT
9210CLASS="PARAMETER"
9211><I
9212>SystemID</I
9213></TT
9214>&nbsp;:</TD
9215><TD
9216WIDTH="80%"
9217ALIGN="LEFT"
9218VALIGN="TOP"
9219> a NAME* containing the URL to the DTD</TD
9220></TR
9221><TR
9222><TD
9223WIDTH="20%"
9224ALIGN="RIGHT"
9225VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009226><SPAN
9227CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00009228><I
9229CLASS="EMPHASIS"
9230>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009231></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00009232> :</TD
9233><TD
9234WIDTH="80%"
9235ALIGN="LEFT"
9236VALIGN="TOP"
9237>the resulting xmlDtdPtr or NULL in case of error.</TD
9238></TR
9239></TBODY
9240></TABLE
9241><P
9242></P
9243></DIV
9244></DIV
9245><HR><DIV
9246CLASS="REFSECT2"
9247><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00009248NAME="AEN2148"
Daniel Veillard06622df2002-01-21 17:53:42 +00009249></A
9250><H3
9251><A
9252NAME="XMLSAXPARSEDTD"
9253></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009254>xmlSAXParseDTD ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009255><TABLE
9256BORDER="0"
9257BGCOLOR="#D6E8FF"
9258WIDTH="100%"
9259CELLPADDING="6"
9260><TR
9261><TD
9262><PRE
9263CLASS="PROGRAMLISTING"
9264><A
9265HREF="libxml-tree.html#XMLDTDPTR"
9266>xmlDtdPtr</A
9267> xmlSAXParseDTD (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009268HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00009269>xmlSAXHandlerPtr</A
9270> sax,
9271 const <A
9272HREF="libxml-tree.html#XMLCHAR"
9273>xmlChar</A
9274> *ExternalID,
9275 const <A
9276HREF="libxml-tree.html#XMLCHAR"
9277>xmlChar</A
9278> *SystemID);</PRE
9279></TD
9280></TR
9281></TABLE
9282><P
9283>Load and parse an external subset.</P
9284><P
9285></P
9286><DIV
9287CLASS="INFORMALTABLE"
9288><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00009289NAME="AEN2158"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009290></P
9291><TABLE
9292BORDER="0"
9293WIDTH="100%"
9294BGCOLOR="#FFD0D0"
9295CELLSPACING="0"
9296CELLPADDING="4"
9297CLASS="CALSTABLE"
9298><TBODY
9299><TR
9300><TD
9301WIDTH="20%"
9302ALIGN="RIGHT"
9303VALIGN="TOP"
9304><TT
9305CLASS="PARAMETER"
9306><I
9307>sax</I
9308></TT
9309>&nbsp;:</TD
9310><TD
9311WIDTH="80%"
9312ALIGN="LEFT"
9313VALIGN="TOP"
9314> the SAX handler block</TD
9315></TR
9316><TR
9317><TD
9318WIDTH="20%"
9319ALIGN="RIGHT"
9320VALIGN="TOP"
9321><TT
9322CLASS="PARAMETER"
9323><I
9324>ExternalID</I
9325></TT
9326>&nbsp;:</TD
9327><TD
9328WIDTH="80%"
9329ALIGN="LEFT"
9330VALIGN="TOP"
9331> a NAME* containing the External ID of the DTD</TD
9332></TR
9333><TR
9334><TD
9335WIDTH="20%"
9336ALIGN="RIGHT"
9337VALIGN="TOP"
9338><TT
9339CLASS="PARAMETER"
9340><I
9341>SystemID</I
9342></TT
9343>&nbsp;:</TD
9344><TD
9345WIDTH="80%"
9346ALIGN="LEFT"
9347VALIGN="TOP"
9348> a NAME* containing the URL to the DTD</TD
9349></TR
9350><TR
9351><TD
9352WIDTH="20%"
9353ALIGN="RIGHT"
9354VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009355><SPAN
9356CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00009357><I
9358CLASS="EMPHASIS"
9359>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009360></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00009361> :</TD
9362><TD
9363WIDTH="80%"
9364ALIGN="LEFT"
9365VALIGN="TOP"
9366>the resulting xmlDtdPtr or NULL in case of error.</TD
9367></TR
9368></TBODY
9369></TABLE
9370><P
9371></P
9372></DIV
9373></DIV
9374><HR><DIV
9375CLASS="REFSECT2"
9376><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00009377NAME="AEN2179"
Daniel Veillard06622df2002-01-21 17:53:42 +00009378></A
9379><H3
9380><A
9381NAME="XMLIOPARSEDTD"
9382></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009383>xmlIOParseDTD ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009384><TABLE
9385BORDER="0"
9386BGCOLOR="#D6E8FF"
9387WIDTH="100%"
9388CELLPADDING="6"
9389><TR
9390><TD
9391><PRE
9392CLASS="PROGRAMLISTING"
9393><A
9394HREF="libxml-tree.html#XMLDTDPTR"
9395>xmlDtdPtr</A
9396> xmlIOParseDTD (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009397HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00009398>xmlSAXHandlerPtr</A
9399> sax,
9400 <A
9401HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
9402>xmlParserInputBufferPtr</A
9403> input,
9404 <A
9405HREF="libxml-encoding.html#XMLCHARENCODING"
9406>xmlCharEncoding</A
9407> enc);</PRE
9408></TD
9409></TR
9410></TABLE
9411><P
9412>Load and parse a DTD</P
9413><P
9414></P
9415><DIV
9416CLASS="INFORMALTABLE"
9417><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00009418NAME="AEN2189"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009419></P
9420><TABLE
9421BORDER="0"
9422WIDTH="100%"
9423BGCOLOR="#FFD0D0"
9424CELLSPACING="0"
9425CELLPADDING="4"
9426CLASS="CALSTABLE"
9427><TBODY
9428><TR
9429><TD
9430WIDTH="20%"
9431ALIGN="RIGHT"
9432VALIGN="TOP"
9433><TT
9434CLASS="PARAMETER"
9435><I
9436>sax</I
9437></TT
9438>&nbsp;:</TD
9439><TD
9440WIDTH="80%"
9441ALIGN="LEFT"
9442VALIGN="TOP"
9443> the SAX handler block or NULL</TD
9444></TR
9445><TR
9446><TD
9447WIDTH="20%"
9448ALIGN="RIGHT"
9449VALIGN="TOP"
9450><TT
9451CLASS="PARAMETER"
9452><I
9453>input</I
9454></TT
9455>&nbsp;:</TD
9456><TD
9457WIDTH="80%"
9458ALIGN="LEFT"
9459VALIGN="TOP"
9460> an Input Buffer</TD
9461></TR
9462><TR
9463><TD
9464WIDTH="20%"
9465ALIGN="RIGHT"
9466VALIGN="TOP"
9467><TT
9468CLASS="PARAMETER"
9469><I
9470>enc</I
9471></TT
9472>&nbsp;:</TD
9473><TD
9474WIDTH="80%"
9475ALIGN="LEFT"
9476VALIGN="TOP"
9477> the charset encoding if known</TD
9478></TR
9479><TR
9480><TD
9481WIDTH="20%"
9482ALIGN="RIGHT"
9483VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009484><SPAN
9485CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00009486><I
9487CLASS="EMPHASIS"
9488>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009489></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00009490> :</TD
9491><TD
9492WIDTH="80%"
9493ALIGN="LEFT"
9494VALIGN="TOP"
9495>the resulting xmlDtdPtr or NULL in case of error.
9496<TT
9497CLASS="PARAMETER"
9498><I
9499>input</I
9500></TT
9501> will be freed at parsing end.</TD
9502></TR
9503></TBODY
9504></TABLE
9505><P
9506></P
9507></DIV
9508></DIV
9509><HR><DIV
9510CLASS="REFSECT2"
9511><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00009512NAME="AEN2211"
Daniel Veillard06622df2002-01-21 17:53:42 +00009513></A
9514><H3
9515><A
9516NAME="XMLPARSEBALANCEDCHUNKMEMORY"
9517></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009518>xmlParseBalancedChunkMemory ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009519><TABLE
9520BORDER="0"
9521BGCOLOR="#D6E8FF"
9522WIDTH="100%"
9523CELLPADDING="6"
9524><TR
9525><TD
9526><PRE
9527CLASS="PROGRAMLISTING"
9528>int xmlParseBalancedChunkMemory (<A
9529HREF="libxml-tree.html#XMLDOCPTR"
9530>xmlDocPtr</A
9531> doc,
9532 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009533HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00009534>xmlSAXHandlerPtr</A
9535> sax,
9536 void *user_data,
9537 int depth,
9538 const <A
9539HREF="libxml-tree.html#XMLCHAR"
9540>xmlChar</A
9541> *string,
9542 <A
9543HREF="libxml-tree.html#XMLNODEPTR"
9544>xmlNodePtr</A
9545> *lst);</PRE
9546></TD
9547></TR
9548></TABLE
9549><P
9550>Parse a well-balanced chunk of an XML document
9551called by the parser
9552The allowed sequence for the Well Balanced Chunk is the one defined by
9553the content production in the XML grammar:</P
9554><P
9555>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
9556><P
9557></P
9558><DIV
9559CLASS="INFORMALTABLE"
9560><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00009561NAME="AEN2222"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009562></P
9563><TABLE
9564BORDER="0"
9565WIDTH="100%"
9566BGCOLOR="#FFD0D0"
9567CELLSPACING="0"
9568CELLPADDING="4"
9569CLASS="CALSTABLE"
9570><TBODY
9571><TR
9572><TD
9573WIDTH="20%"
9574ALIGN="RIGHT"
9575VALIGN="TOP"
9576><TT
9577CLASS="PARAMETER"
9578><I
9579>doc</I
9580></TT
9581>&nbsp;:</TD
9582><TD
9583WIDTH="80%"
9584ALIGN="LEFT"
9585VALIGN="TOP"
9586> the document the chunk pertains to</TD
9587></TR
9588><TR
9589><TD
9590WIDTH="20%"
9591ALIGN="RIGHT"
9592VALIGN="TOP"
9593><TT
9594CLASS="PARAMETER"
9595><I
9596>sax</I
9597></TT
9598>&nbsp;:</TD
9599><TD
9600WIDTH="80%"
9601ALIGN="LEFT"
9602VALIGN="TOP"
9603> the SAX handler bloc (possibly NULL)</TD
9604></TR
9605><TR
9606><TD
9607WIDTH="20%"
9608ALIGN="RIGHT"
9609VALIGN="TOP"
9610><TT
9611CLASS="PARAMETER"
9612><I
9613>user_data</I
9614></TT
9615>&nbsp;:</TD
9616><TD
9617WIDTH="80%"
9618ALIGN="LEFT"
9619VALIGN="TOP"
9620> The user data returned on SAX callbacks (possibly NULL)</TD
9621></TR
9622><TR
9623><TD
9624WIDTH="20%"
9625ALIGN="RIGHT"
9626VALIGN="TOP"
9627><TT
9628CLASS="PARAMETER"
9629><I
9630>depth</I
9631></TT
9632>&nbsp;:</TD
9633><TD
9634WIDTH="80%"
9635ALIGN="LEFT"
9636VALIGN="TOP"
9637> Used for loop detection, use 0</TD
9638></TR
9639><TR
9640><TD
9641WIDTH="20%"
9642ALIGN="RIGHT"
9643VALIGN="TOP"
9644><TT
9645CLASS="PARAMETER"
9646><I
9647>string</I
9648></TT
9649>&nbsp;:</TD
9650><TD
9651WIDTH="80%"
9652ALIGN="LEFT"
9653VALIGN="TOP"
9654> the input string in UTF8 or ISO-Latin (zero terminated)</TD
9655></TR
9656><TR
9657><TD
9658WIDTH="20%"
9659ALIGN="RIGHT"
9660VALIGN="TOP"
9661><TT
9662CLASS="PARAMETER"
9663><I
9664>lst</I
9665></TT
9666>&nbsp;:</TD
9667><TD
9668WIDTH="80%"
9669ALIGN="LEFT"
9670VALIGN="TOP"
9671> the return value for the set of parsed nodes</TD
9672></TR
9673><TR
9674><TD
9675WIDTH="20%"
9676ALIGN="RIGHT"
9677VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009678><SPAN
9679CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00009680><I
9681CLASS="EMPHASIS"
9682>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009683></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00009684> :</TD
9685><TD
9686WIDTH="80%"
9687ALIGN="LEFT"
9688VALIGN="TOP"
9689>0 if the chunk is well balanced, -1 in case of args problem and
Daniel Veillardaf43f632002-03-08 15:05:20 +00009690the parser error code otherwise</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00009691></TR
9692></TBODY
9693></TABLE
9694><P
9695></P
9696></DIV
9697></DIV
9698><HR><DIV
9699CLASS="REFSECT2"
9700><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00009701NAME="AEN2255"
9702></A
9703><H3
9704><A
9705NAME="XMLPARSEBALANCEDCHUNKMEMORYRECOVER"
9706></A
9707>xmlParseBalancedChunkMemoryRecover ()</H3
9708><TABLE
9709BORDER="0"
9710BGCOLOR="#D6E8FF"
9711WIDTH="100%"
9712CELLPADDING="6"
9713><TR
9714><TD
9715><PRE
9716CLASS="PROGRAMLISTING"
9717>int xmlParseBalancedChunkMemoryRecover
9718 (<A
9719HREF="libxml-tree.html#XMLDOCPTR"
9720>xmlDocPtr</A
9721> doc,
9722 <A
9723HREF="libxml-tree.html#XMLSAXHANDLERPTR"
9724>xmlSAXHandlerPtr</A
9725> sax,
9726 void *user_data,
9727 int depth,
9728 const <A
9729HREF="libxml-tree.html#XMLCHAR"
9730>xmlChar</A
9731> *string,
9732 <A
9733HREF="libxml-tree.html#XMLNODEPTR"
9734>xmlNodePtr</A
9735> *lst,
9736 int recover);</PRE
9737></TD
9738></TR
9739></TABLE
9740><P
9741>Parse a well-balanced chunk of an XML document
9742called by the parser
9743The allowed sequence for the Well Balanced Chunk is the one defined by
9744the content production in the XML grammar:</P
9745><P
9746>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
9747><P
9748></P
9749><DIV
9750CLASS="INFORMALTABLE"
9751><A
9752NAME="AEN2266"><P
9753></P
9754><TABLE
9755BORDER="0"
9756WIDTH="100%"
9757BGCOLOR="#FFD0D0"
9758CELLSPACING="0"
9759CELLPADDING="4"
9760CLASS="CALSTABLE"
9761><TBODY
9762><TR
9763><TD
9764WIDTH="20%"
9765ALIGN="RIGHT"
9766VALIGN="TOP"
9767><TT
9768CLASS="PARAMETER"
9769><I
9770>doc</I
9771></TT
9772>&nbsp;:</TD
9773><TD
9774WIDTH="80%"
9775ALIGN="LEFT"
9776VALIGN="TOP"
9777> the document the chunk pertains to</TD
9778></TR
9779><TR
9780><TD
9781WIDTH="20%"
9782ALIGN="RIGHT"
9783VALIGN="TOP"
9784><TT
9785CLASS="PARAMETER"
9786><I
9787>sax</I
9788></TT
9789>&nbsp;:</TD
9790><TD
9791WIDTH="80%"
9792ALIGN="LEFT"
9793VALIGN="TOP"
9794> the SAX handler bloc (possibly NULL)</TD
9795></TR
9796><TR
9797><TD
9798WIDTH="20%"
9799ALIGN="RIGHT"
9800VALIGN="TOP"
9801><TT
9802CLASS="PARAMETER"
9803><I
9804>user_data</I
9805></TT
9806>&nbsp;:</TD
9807><TD
9808WIDTH="80%"
9809ALIGN="LEFT"
9810VALIGN="TOP"
9811> The user data returned on SAX callbacks (possibly NULL)</TD
9812></TR
9813><TR
9814><TD
9815WIDTH="20%"
9816ALIGN="RIGHT"
9817VALIGN="TOP"
9818><TT
9819CLASS="PARAMETER"
9820><I
9821>depth</I
9822></TT
9823>&nbsp;:</TD
9824><TD
9825WIDTH="80%"
9826ALIGN="LEFT"
9827VALIGN="TOP"
9828> Used for loop detection, use 0</TD
9829></TR
9830><TR
9831><TD
9832WIDTH="20%"
9833ALIGN="RIGHT"
9834VALIGN="TOP"
9835><TT
9836CLASS="PARAMETER"
9837><I
9838>string</I
9839></TT
9840>&nbsp;:</TD
9841><TD
9842WIDTH="80%"
9843ALIGN="LEFT"
9844VALIGN="TOP"
9845> the input string in UTF8 or ISO-Latin (zero terminated)</TD
9846></TR
9847><TR
9848><TD
9849WIDTH="20%"
9850ALIGN="RIGHT"
9851VALIGN="TOP"
9852><TT
9853CLASS="PARAMETER"
9854><I
9855>lst</I
9856></TT
9857>&nbsp;:</TD
9858><TD
9859WIDTH="80%"
9860ALIGN="LEFT"
9861VALIGN="TOP"
9862> the return value for the set of parsed nodes</TD
9863></TR
9864><TR
9865><TD
9866WIDTH="20%"
9867ALIGN="RIGHT"
9868VALIGN="TOP"
9869><TT
9870CLASS="PARAMETER"
9871><I
9872>recover</I
9873></TT
9874>&nbsp;:</TD
9875><TD
9876WIDTH="80%"
9877ALIGN="LEFT"
9878VALIGN="TOP"
9879> return nodes even if the data is broken (use 0)</TD
9880></TR
9881><TR
9882><TD
9883WIDTH="20%"
9884ALIGN="RIGHT"
9885VALIGN="TOP"
9886><SPAN
9887CLASS="emphasis"
9888><I
9889CLASS="EMPHASIS"
9890>Returns</I
9891></SPAN
9892> :</TD
9893><TD
9894WIDTH="80%"
9895ALIGN="LEFT"
9896VALIGN="TOP"
9897>0 if the chunk is well balanced, -1 in case of args problem and
9898the parser error code otherwise
9899
9900In case recover is set to 1, the nodelist will not be empty even if
9901the parsed chunk is not well balanced. </TD
9902></TR
9903></TBODY
9904></TABLE
9905><P
9906></P
9907></DIV
9908></DIV
9909><HR><DIV
9910CLASS="REFSECT2"
9911><A
9912NAME="AEN2303"
Daniel Veillard06622df2002-01-21 17:53:42 +00009913></A
9914><H3
9915><A
9916NAME="XMLPARSEEXTERNALENTITY"
9917></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009918>xmlParseExternalEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009919><TABLE
9920BORDER="0"
9921BGCOLOR="#D6E8FF"
9922WIDTH="100%"
9923CELLPADDING="6"
9924><TR
9925><TD
9926><PRE
9927CLASS="PROGRAMLISTING"
9928>int xmlParseExternalEntity (<A
9929HREF="libxml-tree.html#XMLDOCPTR"
9930>xmlDocPtr</A
9931> doc,
9932 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009933HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00009934>xmlSAXHandlerPtr</A
9935> sax,
9936 void *user_data,
9937 int depth,
9938 const <A
9939HREF="libxml-tree.html#XMLCHAR"
9940>xmlChar</A
9941> *URL,
9942 const <A
9943HREF="libxml-tree.html#XMLCHAR"
9944>xmlChar</A
9945> *ID,
9946 <A
9947HREF="libxml-tree.html#XMLNODEPTR"
9948>xmlNodePtr</A
9949> *lst);</PRE
9950></TD
9951></TR
9952></TABLE
9953><P
9954>Parse an external general entity
9955An external general parsed entity is well-formed if it matches the
9956production labeled extParsedEnt.</P
9957><P
9958>[78] extParsedEnt ::= TextDecl? content</P
9959><P
9960></P
9961><DIV
9962CLASS="INFORMALTABLE"
9963><A
Daniel Veillard2ace1952002-09-26 12:28:02 +00009964NAME="AEN2315"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009965></P
9966><TABLE
9967BORDER="0"
9968WIDTH="100%"
9969BGCOLOR="#FFD0D0"
9970CELLSPACING="0"
9971CELLPADDING="4"
9972CLASS="CALSTABLE"
9973><TBODY
9974><TR
9975><TD
9976WIDTH="20%"
9977ALIGN="RIGHT"
9978VALIGN="TOP"
9979><TT
9980CLASS="PARAMETER"
9981><I
9982>doc</I
9983></TT
9984>&nbsp;:</TD
9985><TD
9986WIDTH="80%"
9987ALIGN="LEFT"
9988VALIGN="TOP"
9989> the document the chunk pertains to</TD
9990></TR
9991><TR
9992><TD
9993WIDTH="20%"
9994ALIGN="RIGHT"
9995VALIGN="TOP"
9996><TT
9997CLASS="PARAMETER"
9998><I
9999>sax</I
10000></TT
10001>&nbsp;:</TD
10002><TD
10003WIDTH="80%"
10004ALIGN="LEFT"
10005VALIGN="TOP"
10006> the SAX handler bloc (possibly NULL)</TD
10007></TR
10008><TR
10009><TD
10010WIDTH="20%"
10011ALIGN="RIGHT"
10012VALIGN="TOP"
10013><TT
10014CLASS="PARAMETER"
10015><I
10016>user_data</I
10017></TT
10018>&nbsp;:</TD
10019><TD
10020WIDTH="80%"
10021ALIGN="LEFT"
10022VALIGN="TOP"
10023> The user data returned on SAX callbacks (possibly NULL)</TD
10024></TR
10025><TR
10026><TD
10027WIDTH="20%"
10028ALIGN="RIGHT"
10029VALIGN="TOP"
10030><TT
10031CLASS="PARAMETER"
10032><I
10033>depth</I
10034></TT
10035>&nbsp;:</TD
10036><TD
10037WIDTH="80%"
10038ALIGN="LEFT"
10039VALIGN="TOP"
10040> Used for loop detection, use 0</TD
10041></TR
10042><TR
10043><TD
10044WIDTH="20%"
10045ALIGN="RIGHT"
10046VALIGN="TOP"
10047><TT
10048CLASS="PARAMETER"
10049><I
10050>URL</I
10051></TT
10052>&nbsp;:</TD
10053><TD
10054WIDTH="80%"
10055ALIGN="LEFT"
10056VALIGN="TOP"
10057> the URL for the entity to load</TD
10058></TR
10059><TR
10060><TD
10061WIDTH="20%"
10062ALIGN="RIGHT"
10063VALIGN="TOP"
10064><TT
10065CLASS="PARAMETER"
10066><I
10067>ID</I
10068></TT
10069>&nbsp;:</TD
10070><TD
10071WIDTH="80%"
10072ALIGN="LEFT"
10073VALIGN="TOP"
10074> the System ID for the entity to load</TD
10075></TR
10076><TR
10077><TD
10078WIDTH="20%"
10079ALIGN="RIGHT"
10080VALIGN="TOP"
10081><TT
10082CLASS="PARAMETER"
10083><I
10084>lst</I
10085></TT
10086>&nbsp;:</TD
10087><TD
10088WIDTH="80%"
10089ALIGN="LEFT"
10090VALIGN="TOP"
10091> the return value for the set of parsed nodes</TD
10092></TR
10093><TR
10094><TD
10095WIDTH="20%"
10096ALIGN="RIGHT"
10097VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010098><SPAN
10099CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000010100><I
10101CLASS="EMPHASIS"
10102>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010103></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000010104> :</TD
10105><TD
10106WIDTH="80%"
10107ALIGN="LEFT"
10108VALIGN="TOP"
10109>0 if the entity is well formed, -1 in case of args problem and
Daniel Veillardaf43f632002-03-08 15:05:20 +000010110the parser error code otherwise</TD
Daniel Veillard06622df2002-01-21 17:53:42 +000010111></TR
10112></TBODY
10113></TABLE
10114><P
10115></P
10116></DIV
10117></DIV
10118><HR><DIV
10119CLASS="REFSECT2"
10120><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000010121NAME="AEN2352"
Daniel Veillard06622df2002-01-21 17:53:42 +000010122></A
10123><H3
10124><A
10125NAME="XMLPARSECTXTEXTERNALENTITY"
10126></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010127>xmlParseCtxtExternalEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010128><TABLE
10129BORDER="0"
10130BGCOLOR="#D6E8FF"
10131WIDTH="100%"
10132CELLPADDING="6"
10133><TR
10134><TD
10135><PRE
10136CLASS="PROGRAMLISTING"
10137>int xmlParseCtxtExternalEntity (<A
10138HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10139>xmlParserCtxtPtr</A
10140> ctx,
10141 const <A
10142HREF="libxml-tree.html#XMLCHAR"
10143>xmlChar</A
10144> *URL,
10145 const <A
10146HREF="libxml-tree.html#XMLCHAR"
10147>xmlChar</A
10148> *ID,
10149 <A
10150HREF="libxml-tree.html#XMLNODEPTR"
10151>xmlNodePtr</A
10152> *lst);</PRE
10153></TD
10154></TR
10155></TABLE
10156><P
10157>Parse an external general entity within an existing parsing context
10158An external general parsed entity is well-formed if it matches the
10159production labeled extParsedEnt.</P
10160><P
10161>[78] extParsedEnt ::= TextDecl? content</P
10162><P
10163></P
10164><DIV
10165CLASS="INFORMALTABLE"
10166><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000010167NAME="AEN2363"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010168></P
10169><TABLE
10170BORDER="0"
10171WIDTH="100%"
10172BGCOLOR="#FFD0D0"
10173CELLSPACING="0"
10174CELLPADDING="4"
10175CLASS="CALSTABLE"
10176><TBODY
10177><TR
10178><TD
10179WIDTH="20%"
10180ALIGN="RIGHT"
10181VALIGN="TOP"
10182><TT
10183CLASS="PARAMETER"
10184><I
10185>ctx</I
10186></TT
10187>&nbsp;:</TD
10188><TD
10189WIDTH="80%"
10190ALIGN="LEFT"
10191VALIGN="TOP"
10192> the existing parsing context</TD
10193></TR
10194><TR
10195><TD
10196WIDTH="20%"
10197ALIGN="RIGHT"
10198VALIGN="TOP"
10199><TT
10200CLASS="PARAMETER"
10201><I
10202>URL</I
10203></TT
10204>&nbsp;:</TD
10205><TD
10206WIDTH="80%"
10207ALIGN="LEFT"
10208VALIGN="TOP"
10209> the URL for the entity to load</TD
10210></TR
10211><TR
10212><TD
10213WIDTH="20%"
10214ALIGN="RIGHT"
10215VALIGN="TOP"
10216><TT
10217CLASS="PARAMETER"
10218><I
10219>ID</I
10220></TT
10221>&nbsp;:</TD
10222><TD
10223WIDTH="80%"
10224ALIGN="LEFT"
10225VALIGN="TOP"
10226> the System ID for the entity to load</TD
10227></TR
10228><TR
10229><TD
10230WIDTH="20%"
10231ALIGN="RIGHT"
10232VALIGN="TOP"
10233><TT
10234CLASS="PARAMETER"
10235><I
10236>lst</I
10237></TT
10238>&nbsp;:</TD
10239><TD
10240WIDTH="80%"
10241ALIGN="LEFT"
10242VALIGN="TOP"
10243> the return value for the set of parsed nodes</TD
10244></TR
10245><TR
10246><TD
10247WIDTH="20%"
10248ALIGN="RIGHT"
10249VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010250><SPAN
10251CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000010252><I
10253CLASS="EMPHASIS"
10254>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010255></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000010256> :</TD
10257><TD
10258WIDTH="80%"
10259ALIGN="LEFT"
10260VALIGN="TOP"
10261>0 if the entity is well formed, -1 in case of args problem and
Daniel Veillardaf43f632002-03-08 15:05:20 +000010262the parser error code otherwise</TD
Daniel Veillard06622df2002-01-21 17:53:42 +000010263></TR
10264></TBODY
10265></TABLE
10266><P
10267></P
10268></DIV
10269></DIV
10270><HR><DIV
10271CLASS="REFSECT2"
10272><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000010273NAME="AEN2388"
Daniel Veillard06622df2002-01-21 17:53:42 +000010274></A
10275><H3
10276><A
10277NAME="XMLINITPARSERCTXT"
10278></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010279>xmlInitParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010280><TABLE
10281BORDER="0"
10282BGCOLOR="#D6E8FF"
10283WIDTH="100%"
10284CELLPADDING="6"
10285><TR
10286><TD
10287><PRE
10288CLASS="PROGRAMLISTING"
10289>void xmlInitParserCtxt (<A
10290HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10291>xmlParserCtxtPtr</A
10292> ctxt);</PRE
10293></TD
10294></TR
10295></TABLE
10296><P
10297>Initialize a parser context</P
10298><P
10299></P
10300><DIV
10301CLASS="INFORMALTABLE"
10302><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000010303NAME="AEN2395"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010304></P
10305><TABLE
10306BORDER="0"
10307WIDTH="100%"
10308BGCOLOR="#FFD0D0"
10309CELLSPACING="0"
10310CELLPADDING="4"
10311CLASS="CALSTABLE"
10312><TBODY
10313><TR
10314><TD
10315WIDTH="20%"
10316ALIGN="RIGHT"
10317VALIGN="TOP"
10318><TT
10319CLASS="PARAMETER"
10320><I
10321>ctxt</I
10322></TT
10323>&nbsp;:</TD
10324><TD
10325WIDTH="80%"
10326ALIGN="LEFT"
10327VALIGN="TOP"
10328> an XML parser context</TD
10329></TR
10330></TBODY
10331></TABLE
10332><P
10333></P
10334></DIV
10335></DIV
10336><HR><DIV
10337CLASS="REFSECT2"
10338><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000010339NAME="AEN2404"
Daniel Veillard06622df2002-01-21 17:53:42 +000010340></A
10341><H3
10342><A
10343NAME="XMLCLEARPARSERCTXT"
10344></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010345>xmlClearParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010346><TABLE
10347BORDER="0"
10348BGCOLOR="#D6E8FF"
10349WIDTH="100%"
10350CELLPADDING="6"
10351><TR
10352><TD
10353><PRE
10354CLASS="PROGRAMLISTING"
10355>void xmlClearParserCtxt (<A
10356HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10357>xmlParserCtxtPtr</A
10358> ctxt);</PRE
10359></TD
10360></TR
10361></TABLE
10362><P
10363>Clear (release owned resources) and reinitialize a parser context</P
10364><P
10365></P
10366><DIV
10367CLASS="INFORMALTABLE"
10368><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000010369NAME="AEN2411"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010370></P
10371><TABLE
10372BORDER="0"
10373WIDTH="100%"
10374BGCOLOR="#FFD0D0"
10375CELLSPACING="0"
10376CELLPADDING="4"
10377CLASS="CALSTABLE"
10378><TBODY
10379><TR
10380><TD
10381WIDTH="20%"
10382ALIGN="RIGHT"
10383VALIGN="TOP"
10384><TT
10385CLASS="PARAMETER"
10386><I
10387>ctxt</I
10388></TT
10389>&nbsp;:</TD
10390><TD
10391WIDTH="80%"
10392ALIGN="LEFT"
10393VALIGN="TOP"
10394> an XML parser context</TD
10395></TR
10396></TBODY
10397></TABLE
10398><P
10399></P
10400></DIV
10401></DIV
10402><HR><DIV
10403CLASS="REFSECT2"
10404><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000010405NAME="AEN2420"
Daniel Veillard06622df2002-01-21 17:53:42 +000010406></A
10407><H3
10408><A
10409NAME="XMLFREEPARSERCTXT"
10410></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010411>xmlFreeParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010412><TABLE
10413BORDER="0"
10414BGCOLOR="#D6E8FF"
10415WIDTH="100%"
10416CELLPADDING="6"
10417><TR
10418><TD
10419><PRE
10420CLASS="PROGRAMLISTING"
10421>void xmlFreeParserCtxt (<A
10422HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10423>xmlParserCtxtPtr</A
10424> ctxt);</PRE
10425></TD
10426></TR
10427></TABLE
10428><P
10429>Free all the memory used by a parser context. However the parsed
10430document in ctxt-&gt;myDoc is not freed.</P
10431><P
10432></P
10433><DIV
10434CLASS="INFORMALTABLE"
10435><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000010436NAME="AEN2427"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010437></P
10438><TABLE
10439BORDER="0"
10440WIDTH="100%"
10441BGCOLOR="#FFD0D0"
10442CELLSPACING="0"
10443CELLPADDING="4"
10444CLASS="CALSTABLE"
10445><TBODY
10446><TR
10447><TD
10448WIDTH="20%"
10449ALIGN="RIGHT"
10450VALIGN="TOP"
10451><TT
10452CLASS="PARAMETER"
10453><I
10454>ctxt</I
10455></TT
10456>&nbsp;:</TD
10457><TD
10458WIDTH="80%"
10459ALIGN="LEFT"
10460VALIGN="TOP"
10461> an XML parser context</TD
10462></TR
10463></TBODY
10464></TABLE
10465><P
10466></P
10467></DIV
10468></DIV
10469><HR><DIV
10470CLASS="REFSECT2"
10471><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000010472NAME="AEN2436"
Daniel Veillard06622df2002-01-21 17:53:42 +000010473></A
10474><H3
10475><A
10476NAME="XMLSETUPPARSERFORBUFFER"
10477></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010478>xmlSetupParserForBuffer ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010479><TABLE
10480BORDER="0"
10481BGCOLOR="#D6E8FF"
10482WIDTH="100%"
10483CELLPADDING="6"
10484><TR
10485><TD
10486><PRE
10487CLASS="PROGRAMLISTING"
10488>void xmlSetupParserForBuffer (<A
10489HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10490>xmlParserCtxtPtr</A
10491> ctxt,
10492 const <A
10493HREF="libxml-tree.html#XMLCHAR"
10494>xmlChar</A
10495> *buffer,
10496 const char *filename);</PRE
10497></TD
10498></TR
10499></TABLE
10500><P
10501>Setup the parser context to parse a new buffer; Clears any prior
10502contents from the parser context. The buffer parameter must not be
10503NULL, but the filename parameter can be</P
10504><P
10505></P
10506><DIV
10507CLASS="INFORMALTABLE"
10508><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000010509NAME="AEN2444"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010510></P
10511><TABLE
10512BORDER="0"
10513WIDTH="100%"
10514BGCOLOR="#FFD0D0"
10515CELLSPACING="0"
10516CELLPADDING="4"
10517CLASS="CALSTABLE"
10518><TBODY
10519><TR
10520><TD
10521WIDTH="20%"
10522ALIGN="RIGHT"
10523VALIGN="TOP"
10524><TT
10525CLASS="PARAMETER"
10526><I
10527>ctxt</I
10528></TT
10529>&nbsp;:</TD
10530><TD
10531WIDTH="80%"
10532ALIGN="LEFT"
10533VALIGN="TOP"
10534> an XML parser context</TD
10535></TR
10536><TR
10537><TD
10538WIDTH="20%"
10539ALIGN="RIGHT"
10540VALIGN="TOP"
10541><TT
10542CLASS="PARAMETER"
10543><I
10544>buffer</I
10545></TT
10546>&nbsp;:</TD
10547><TD
10548WIDTH="80%"
10549ALIGN="LEFT"
10550VALIGN="TOP"
10551> a xmlChar * buffer</TD
10552></TR
10553><TR
10554><TD
10555WIDTH="20%"
10556ALIGN="RIGHT"
10557VALIGN="TOP"
10558><TT
10559CLASS="PARAMETER"
10560><I
10561>filename</I
10562></TT
10563>&nbsp;:</TD
10564><TD
10565WIDTH="80%"
10566ALIGN="LEFT"
10567VALIGN="TOP"
10568> a file name</TD
10569></TR
10570></TBODY
10571></TABLE
10572><P
10573></P
10574></DIV
10575></DIV
10576><HR><DIV
10577CLASS="REFSECT2"
10578><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000010579NAME="AEN2461"
Daniel Veillard06622df2002-01-21 17:53:42 +000010580></A
10581><H3
10582><A
10583NAME="XMLCREATEDOCPARSERCTXT"
10584></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010585>xmlCreateDocParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010586><TABLE
10587BORDER="0"
10588BGCOLOR="#D6E8FF"
10589WIDTH="100%"
10590CELLPADDING="6"
10591><TR
10592><TD
10593><PRE
10594CLASS="PROGRAMLISTING"
10595><A
10596HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10597>xmlParserCtxtPtr</A
10598> xmlCreateDocParserCtxt (<A
10599HREF="libxml-tree.html#XMLCHAR"
10600>xmlChar</A
10601> *cur);</PRE
10602></TD
10603></TR
10604></TABLE
10605><P
10606>Creates a parser context for an XML in-memory document.</P
10607><P
10608></P
10609><DIV
10610CLASS="INFORMALTABLE"
10611><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000010612NAME="AEN2469"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010613></P
10614><TABLE
10615BORDER="0"
10616WIDTH="100%"
10617BGCOLOR="#FFD0D0"
10618CELLSPACING="0"
10619CELLPADDING="4"
10620CLASS="CALSTABLE"
10621><TBODY
10622><TR
10623><TD
10624WIDTH="20%"
10625ALIGN="RIGHT"
10626VALIGN="TOP"
10627><TT
10628CLASS="PARAMETER"
10629><I
10630>cur</I
10631></TT
10632>&nbsp;:</TD
10633><TD
10634WIDTH="80%"
10635ALIGN="LEFT"
10636VALIGN="TOP"
10637> a pointer to an array of xmlChar</TD
10638></TR
10639><TR
10640><TD
10641WIDTH="20%"
10642ALIGN="RIGHT"
10643VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010644><SPAN
10645CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000010646><I
10647CLASS="EMPHASIS"
10648>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010649></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000010650> :</TD
10651><TD
10652WIDTH="80%"
10653ALIGN="LEFT"
10654VALIGN="TOP"
10655>the new parser context or NULL</TD
10656></TR
10657></TBODY
10658></TABLE
10659><P
10660></P
10661></DIV
10662></DIV
10663><HR><DIV
10664CLASS="REFSECT2"
10665><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000010666NAME="AEN2482"
Daniel Veillard06622df2002-01-21 17:53:42 +000010667></A
10668><H3
10669><A
10670NAME="XMLGETFEATURESLIST"
10671></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010672>xmlGetFeaturesList ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010673><TABLE
10674BORDER="0"
10675BGCOLOR="#D6E8FF"
10676WIDTH="100%"
10677CELLPADDING="6"
10678><TR
10679><TD
10680><PRE
10681CLASS="PROGRAMLISTING"
10682>int xmlGetFeaturesList (int *len,
10683 const char **result);</PRE
10684></TD
10685></TR
10686></TABLE
10687><P
10688>Copy at most *<TT
10689CLASS="PARAMETER"
10690><I
10691>len</I
10692></TT
10693> feature names into the <TT
10694CLASS="PARAMETER"
10695><I
10696>result</I
10697></TT
10698> array</P
10699><P
10700></P
10701><DIV
10702CLASS="INFORMALTABLE"
10703><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000010704NAME="AEN2490"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010705></P
10706><TABLE
10707BORDER="0"
10708WIDTH="100%"
10709BGCOLOR="#FFD0D0"
10710CELLSPACING="0"
10711CELLPADDING="4"
10712CLASS="CALSTABLE"
10713><TBODY
10714><TR
10715><TD
10716WIDTH="20%"
10717ALIGN="RIGHT"
10718VALIGN="TOP"
10719><TT
10720CLASS="PARAMETER"
10721><I
10722>len</I
10723></TT
10724>&nbsp;:</TD
10725><TD
10726WIDTH="80%"
10727ALIGN="LEFT"
10728VALIGN="TOP"
10729> the length of the features name array (input/output)</TD
10730></TR
10731><TR
10732><TD
10733WIDTH="20%"
10734ALIGN="RIGHT"
10735VALIGN="TOP"
10736><TT
10737CLASS="PARAMETER"
10738><I
10739>result</I
10740></TT
10741>&nbsp;:</TD
10742><TD
10743WIDTH="80%"
10744ALIGN="LEFT"
10745VALIGN="TOP"
10746> an array of string to be filled with the features name.</TD
10747></TR
10748><TR
10749><TD
10750WIDTH="20%"
10751ALIGN="RIGHT"
10752VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010753><SPAN
10754CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000010755><I
10756CLASS="EMPHASIS"
10757>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010758></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000010759> :</TD
10760><TD
10761WIDTH="80%"
10762ALIGN="LEFT"
10763VALIGN="TOP"
10764>-1 in case or error, or the total number of features,
Daniel Veillardaf43f632002-03-08 15:05:20 +000010765len is updated with the number of strings copied,
10766strings must not be deallocated</TD
Daniel Veillard06622df2002-01-21 17:53:42 +000010767></TR
10768></TBODY
10769></TABLE
10770><P
10771></P
10772></DIV
10773></DIV
10774><HR><DIV
10775CLASS="REFSECT2"
10776><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000010777NAME="AEN2507"
Daniel Veillard06622df2002-01-21 17:53:42 +000010778></A
10779><H3
10780><A
10781NAME="XMLGETFEATURE"
10782></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010783>xmlGetFeature ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010784><TABLE
10785BORDER="0"
10786BGCOLOR="#D6E8FF"
10787WIDTH="100%"
10788CELLPADDING="6"
10789><TR
10790><TD
10791><PRE
10792CLASS="PROGRAMLISTING"
10793>int xmlGetFeature (<A
10794HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10795>xmlParserCtxtPtr</A
10796> ctxt,
10797 const char *name,
10798 void *result);</PRE
10799></TD
10800></TR
10801></TABLE
10802><P
10803>Read the current value of one feature of this parser instance</P
10804><P
10805></P
10806><DIV
10807CLASS="INFORMALTABLE"
10808><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000010809NAME="AEN2514"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010810></P
10811><TABLE
10812BORDER="0"
10813WIDTH="100%"
10814BGCOLOR="#FFD0D0"
10815CELLSPACING="0"
10816CELLPADDING="4"
10817CLASS="CALSTABLE"
10818><TBODY
10819><TR
10820><TD
10821WIDTH="20%"
10822ALIGN="RIGHT"
10823VALIGN="TOP"
10824><TT
10825CLASS="PARAMETER"
10826><I
10827>ctxt</I
10828></TT
10829>&nbsp;:</TD
10830><TD
10831WIDTH="80%"
10832ALIGN="LEFT"
10833VALIGN="TOP"
10834> an XML/HTML parser context</TD
10835></TR
10836><TR
10837><TD
10838WIDTH="20%"
10839ALIGN="RIGHT"
10840VALIGN="TOP"
10841><TT
10842CLASS="PARAMETER"
10843><I
10844>name</I
10845></TT
10846>&nbsp;:</TD
10847><TD
10848WIDTH="80%"
10849ALIGN="LEFT"
10850VALIGN="TOP"
10851> the feature name</TD
10852></TR
10853><TR
10854><TD
10855WIDTH="20%"
10856ALIGN="RIGHT"
10857VALIGN="TOP"
10858><TT
10859CLASS="PARAMETER"
10860><I
10861>result</I
10862></TT
10863>&nbsp;:</TD
10864><TD
10865WIDTH="80%"
10866ALIGN="LEFT"
10867VALIGN="TOP"
10868> location to store the result</TD
10869></TR
10870><TR
10871><TD
10872WIDTH="20%"
10873ALIGN="RIGHT"
10874VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010875><SPAN
10876CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000010877><I
10878CLASS="EMPHASIS"
10879>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010880></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000010881> :</TD
10882><TD
10883WIDTH="80%"
10884ALIGN="LEFT"
10885VALIGN="TOP"
10886>-1 in case or error, 0 otherwise</TD
10887></TR
10888></TBODY
10889></TABLE
10890><P
10891></P
10892></DIV
10893></DIV
10894><HR><DIV
10895CLASS="REFSECT2"
10896><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000010897NAME="AEN2535"
Daniel Veillard06622df2002-01-21 17:53:42 +000010898></A
10899><H3
10900><A
10901NAME="XMLSETFEATURE"
10902></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010903>xmlSetFeature ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010904><TABLE
10905BORDER="0"
10906BGCOLOR="#D6E8FF"
10907WIDTH="100%"
10908CELLPADDING="6"
10909><TR
10910><TD
10911><PRE
10912CLASS="PROGRAMLISTING"
10913>int xmlSetFeature (<A
10914HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10915>xmlParserCtxtPtr</A
10916> ctxt,
10917 const char *name,
10918 void *value);</PRE
10919></TD
10920></TR
10921></TABLE
10922><P
10923>Change the current value of one feature of this parser instance</P
10924><P
10925></P
10926><DIV
10927CLASS="INFORMALTABLE"
10928><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000010929NAME="AEN2542"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010930></P
10931><TABLE
10932BORDER="0"
10933WIDTH="100%"
10934BGCOLOR="#FFD0D0"
10935CELLSPACING="0"
10936CELLPADDING="4"
10937CLASS="CALSTABLE"
10938><TBODY
10939><TR
10940><TD
10941WIDTH="20%"
10942ALIGN="RIGHT"
10943VALIGN="TOP"
10944><TT
10945CLASS="PARAMETER"
10946><I
10947>ctxt</I
10948></TT
10949>&nbsp;:</TD
10950><TD
10951WIDTH="80%"
10952ALIGN="LEFT"
10953VALIGN="TOP"
10954> an XML/HTML parser context</TD
10955></TR
10956><TR
10957><TD
10958WIDTH="20%"
10959ALIGN="RIGHT"
10960VALIGN="TOP"
10961><TT
10962CLASS="PARAMETER"
10963><I
10964>name</I
10965></TT
10966>&nbsp;:</TD
10967><TD
10968WIDTH="80%"
10969ALIGN="LEFT"
10970VALIGN="TOP"
10971> the feature name</TD
10972></TR
10973><TR
10974><TD
10975WIDTH="20%"
10976ALIGN="RIGHT"
10977VALIGN="TOP"
10978><TT
10979CLASS="PARAMETER"
10980><I
10981>value</I
10982></TT
10983>&nbsp;:</TD
10984><TD
10985WIDTH="80%"
10986ALIGN="LEFT"
10987VALIGN="TOP"
10988> pointer to the location of the new value</TD
10989></TR
10990><TR
10991><TD
10992WIDTH="20%"
10993ALIGN="RIGHT"
10994VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010995><SPAN
10996CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000010997><I
10998CLASS="EMPHASIS"
10999>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011000></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011001> :</TD
11002><TD
11003WIDTH="80%"
11004ALIGN="LEFT"
11005VALIGN="TOP"
11006>-1 in case or error, 0 otherwise</TD
11007></TR
11008></TBODY
11009></TABLE
11010><P
11011></P
11012></DIV
11013></DIV
11014><HR><DIV
11015CLASS="REFSECT2"
11016><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000011017NAME="AEN2563"
Daniel Veillard06622df2002-01-21 17:53:42 +000011018></A
11019><H3
11020><A
11021NAME="XMLCREATEPUSHPARSERCTXT"
11022></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011023>xmlCreatePushParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011024><TABLE
11025BORDER="0"
11026BGCOLOR="#D6E8FF"
11027WIDTH="100%"
11028CELLPADDING="6"
11029><TR
11030><TD
11031><PRE
11032CLASS="PROGRAMLISTING"
11033><A
11034HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11035>xmlParserCtxtPtr</A
11036> xmlCreatePushParserCtxt (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011037HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +000011038>xmlSAXHandlerPtr</A
11039> sax,
11040 void *user_data,
11041 const char *chunk,
11042 int size,
11043 const char *filename);</PRE
11044></TD
11045></TR
11046></TABLE
11047><P
11048>Create a parser context for using the XML parser in push mode
11049To allow content encoding detection, <TT
11050CLASS="PARAMETER"
11051><I
11052>size</I
11053></TT
11054> should be &gt;= 4
11055The value of <TT
11056CLASS="PARAMETER"
11057><I
11058>filename</I
11059></TT
11060> is used for fetching external entities
11061and error/warning reports.</P
11062><P
11063></P
11064><DIV
11065CLASS="INFORMALTABLE"
11066><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000011067NAME="AEN2573"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011068></P
11069><TABLE
11070BORDER="0"
11071WIDTH="100%"
11072BGCOLOR="#FFD0D0"
11073CELLSPACING="0"
11074CELLPADDING="4"
11075CLASS="CALSTABLE"
11076><TBODY
11077><TR
11078><TD
11079WIDTH="20%"
11080ALIGN="RIGHT"
11081VALIGN="TOP"
11082><TT
11083CLASS="PARAMETER"
11084><I
11085>sax</I
11086></TT
11087>&nbsp;:</TD
11088><TD
11089WIDTH="80%"
11090ALIGN="LEFT"
11091VALIGN="TOP"
11092> a SAX handler</TD
11093></TR
11094><TR
11095><TD
11096WIDTH="20%"
11097ALIGN="RIGHT"
11098VALIGN="TOP"
11099><TT
11100CLASS="PARAMETER"
11101><I
11102>user_data</I
11103></TT
11104>&nbsp;:</TD
11105><TD
11106WIDTH="80%"
11107ALIGN="LEFT"
11108VALIGN="TOP"
11109> The user data returned on SAX callbacks</TD
11110></TR
11111><TR
11112><TD
11113WIDTH="20%"
11114ALIGN="RIGHT"
11115VALIGN="TOP"
11116><TT
11117CLASS="PARAMETER"
11118><I
11119>chunk</I
11120></TT
11121>&nbsp;:</TD
11122><TD
11123WIDTH="80%"
11124ALIGN="LEFT"
11125VALIGN="TOP"
11126> a pointer to an array of chars</TD
11127></TR
11128><TR
11129><TD
11130WIDTH="20%"
11131ALIGN="RIGHT"
11132VALIGN="TOP"
11133><TT
11134CLASS="PARAMETER"
11135><I
11136>size</I
11137></TT
11138>&nbsp;:</TD
11139><TD
11140WIDTH="80%"
11141ALIGN="LEFT"
11142VALIGN="TOP"
11143> number of chars in the array</TD
11144></TR
11145><TR
11146><TD
11147WIDTH="20%"
11148ALIGN="RIGHT"
11149VALIGN="TOP"
11150><TT
11151CLASS="PARAMETER"
11152><I
11153>filename</I
11154></TT
11155>&nbsp;:</TD
11156><TD
11157WIDTH="80%"
11158ALIGN="LEFT"
11159VALIGN="TOP"
11160> an optional file name or URI</TD
11161></TR
11162><TR
11163><TD
11164WIDTH="20%"
11165ALIGN="RIGHT"
11166VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011167><SPAN
11168CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011169><I
11170CLASS="EMPHASIS"
11171>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011172></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011173> :</TD
11174><TD
11175WIDTH="80%"
11176ALIGN="LEFT"
11177VALIGN="TOP"
11178>the new parser context or NULL</TD
11179></TR
11180></TBODY
11181></TABLE
11182><P
11183></P
11184></DIV
11185></DIV
11186><HR><DIV
11187CLASS="REFSECT2"
11188><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000011189NAME="AEN2602"
Daniel Veillard06622df2002-01-21 17:53:42 +000011190></A
11191><H3
11192><A
11193NAME="XMLPARSECHUNK"
11194></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011195>xmlParseChunk ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011196><TABLE
11197BORDER="0"
11198BGCOLOR="#D6E8FF"
11199WIDTH="100%"
11200CELLPADDING="6"
11201><TR
11202><TD
11203><PRE
11204CLASS="PROGRAMLISTING"
11205>int xmlParseChunk (<A
11206HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11207>xmlParserCtxtPtr</A
11208> ctxt,
11209 const char *chunk,
11210 int size,
11211 int terminate);</PRE
11212></TD
11213></TR
11214></TABLE
11215><P
11216>Parse a Chunk of memory</P
11217><P
11218></P
11219><DIV
11220CLASS="INFORMALTABLE"
11221><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000011222NAME="AEN2609"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011223></P
11224><TABLE
11225BORDER="0"
11226WIDTH="100%"
11227BGCOLOR="#FFD0D0"
11228CELLSPACING="0"
11229CELLPADDING="4"
11230CLASS="CALSTABLE"
11231><TBODY
11232><TR
11233><TD
11234WIDTH="20%"
11235ALIGN="RIGHT"
11236VALIGN="TOP"
11237><TT
11238CLASS="PARAMETER"
11239><I
11240>ctxt</I
11241></TT
11242>&nbsp;:</TD
11243><TD
11244WIDTH="80%"
11245ALIGN="LEFT"
11246VALIGN="TOP"
11247> an XML parser context</TD
11248></TR
11249><TR
11250><TD
11251WIDTH="20%"
11252ALIGN="RIGHT"
11253VALIGN="TOP"
11254><TT
11255CLASS="PARAMETER"
11256><I
11257>chunk</I
11258></TT
11259>&nbsp;:</TD
11260><TD
11261WIDTH="80%"
11262ALIGN="LEFT"
11263VALIGN="TOP"
11264> an char array</TD
11265></TR
11266><TR
11267><TD
11268WIDTH="20%"
11269ALIGN="RIGHT"
11270VALIGN="TOP"
11271><TT
11272CLASS="PARAMETER"
11273><I
11274>size</I
11275></TT
11276>&nbsp;:</TD
11277><TD
11278WIDTH="80%"
11279ALIGN="LEFT"
11280VALIGN="TOP"
11281> the size in byte of the chunk</TD
11282></TR
11283><TR
11284><TD
11285WIDTH="20%"
11286ALIGN="RIGHT"
11287VALIGN="TOP"
11288><TT
11289CLASS="PARAMETER"
11290><I
11291>terminate</I
11292></TT
11293>&nbsp;:</TD
11294><TD
11295WIDTH="80%"
11296ALIGN="LEFT"
11297VALIGN="TOP"
11298> last chunk indicator</TD
11299></TR
11300><TR
11301><TD
11302WIDTH="20%"
11303ALIGN="RIGHT"
11304VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011305><SPAN
11306CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011307><I
11308CLASS="EMPHASIS"
11309>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011310></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011311> :</TD
11312><TD
11313WIDTH="80%"
11314ALIGN="LEFT"
11315VALIGN="TOP"
11316>zero if no error, the xmlParserErrors otherwise.</TD
11317></TR
11318></TBODY
11319></TABLE
11320><P
11321></P
11322></DIV
11323></DIV
11324><HR><DIV
11325CLASS="REFSECT2"
11326><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000011327NAME="AEN2634"
Daniel Veillard06622df2002-01-21 17:53:42 +000011328></A
11329><H3
11330><A
11331NAME="XMLCREATEIOPARSERCTXT"
11332></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011333>xmlCreateIOParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011334><TABLE
11335BORDER="0"
11336BGCOLOR="#D6E8FF"
11337WIDTH="100%"
11338CELLPADDING="6"
11339><TR
11340><TD
11341><PRE
11342CLASS="PROGRAMLISTING"
11343><A
11344HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11345>xmlParserCtxtPtr</A
11346> xmlCreateIOParserCtxt (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011347HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +000011348>xmlSAXHandlerPtr</A
11349> sax,
11350 void *user_data,
11351 <A
11352HREF="libxml-xmlio.html#XMLINPUTREADCALLBACK"
11353>xmlInputReadCallback</A
11354> ioread,
11355 <A
11356HREF="libxml-xmlio.html#XMLINPUTCLOSECALLBACK"
11357>xmlInputCloseCallback</A
11358> ioclose,
11359 void *ioctx,
11360 <A
11361HREF="libxml-encoding.html#XMLCHARENCODING"
11362>xmlCharEncoding</A
11363> enc);</PRE
11364></TD
11365></TR
11366></TABLE
11367><P
11368>Create a parser context for using the XML parser with an existing
11369I/O stream</P
11370><P
11371></P
11372><DIV
11373CLASS="INFORMALTABLE"
11374><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000011375NAME="AEN2645"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011376></P
11377><TABLE
11378BORDER="0"
11379WIDTH="100%"
11380BGCOLOR="#FFD0D0"
11381CELLSPACING="0"
11382CELLPADDING="4"
11383CLASS="CALSTABLE"
11384><TBODY
11385><TR
11386><TD
11387WIDTH="20%"
11388ALIGN="RIGHT"
11389VALIGN="TOP"
11390><TT
11391CLASS="PARAMETER"
11392><I
11393>sax</I
11394></TT
11395>&nbsp;:</TD
11396><TD
11397WIDTH="80%"
11398ALIGN="LEFT"
11399VALIGN="TOP"
11400> a SAX handler</TD
11401></TR
11402><TR
11403><TD
11404WIDTH="20%"
11405ALIGN="RIGHT"
11406VALIGN="TOP"
11407><TT
11408CLASS="PARAMETER"
11409><I
11410>user_data</I
11411></TT
11412>&nbsp;:</TD
11413><TD
11414WIDTH="80%"
11415ALIGN="LEFT"
11416VALIGN="TOP"
11417> The user data returned on SAX callbacks</TD
11418></TR
11419><TR
11420><TD
11421WIDTH="20%"
11422ALIGN="RIGHT"
11423VALIGN="TOP"
11424><TT
11425CLASS="PARAMETER"
11426><I
11427>ioread</I
11428></TT
11429>&nbsp;:</TD
11430><TD
11431WIDTH="80%"
11432ALIGN="LEFT"
11433VALIGN="TOP"
11434> an I/O read function</TD
11435></TR
11436><TR
11437><TD
11438WIDTH="20%"
11439ALIGN="RIGHT"
11440VALIGN="TOP"
11441><TT
11442CLASS="PARAMETER"
11443><I
11444>ioclose</I
11445></TT
11446>&nbsp;:</TD
11447><TD
11448WIDTH="80%"
11449ALIGN="LEFT"
11450VALIGN="TOP"
11451> an I/O close function</TD
11452></TR
11453><TR
11454><TD
11455WIDTH="20%"
11456ALIGN="RIGHT"
11457VALIGN="TOP"
11458><TT
11459CLASS="PARAMETER"
11460><I
11461>ioctx</I
11462></TT
11463>&nbsp;:</TD
11464><TD
11465WIDTH="80%"
11466ALIGN="LEFT"
11467VALIGN="TOP"
11468> an I/O handler</TD
11469></TR
11470><TR
11471><TD
11472WIDTH="20%"
11473ALIGN="RIGHT"
11474VALIGN="TOP"
11475><TT
11476CLASS="PARAMETER"
11477><I
11478>enc</I
11479></TT
11480>&nbsp;:</TD
11481><TD
11482WIDTH="80%"
11483ALIGN="LEFT"
11484VALIGN="TOP"
11485> the charset encoding if known</TD
11486></TR
11487><TR
11488><TD
11489WIDTH="20%"
11490ALIGN="RIGHT"
11491VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011492><SPAN
11493CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011494><I
11495CLASS="EMPHASIS"
11496>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011497></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011498> :</TD
11499><TD
11500WIDTH="80%"
11501ALIGN="LEFT"
11502VALIGN="TOP"
11503>the new parser context or NULL</TD
11504></TR
11505></TBODY
11506></TABLE
11507><P
11508></P
11509></DIV
11510></DIV
11511><HR><DIV
11512CLASS="REFSECT2"
11513><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000011514NAME="AEN2678"
Daniel Veillard06622df2002-01-21 17:53:42 +000011515></A
11516><H3
11517><A
11518NAME="XMLNEWIOINPUTSTREAM"
11519></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011520>xmlNewIOInputStream ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011521><TABLE
11522BORDER="0"
11523BGCOLOR="#D6E8FF"
11524WIDTH="100%"
11525CELLPADDING="6"
11526><TR
11527><TD
11528><PRE
11529CLASS="PROGRAMLISTING"
11530><A
11531HREF="libxml-tree.html#XMLPARSERINPUTPTR"
11532>xmlParserInputPtr</A
11533> xmlNewIOInputStream (<A
11534HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11535>xmlParserCtxtPtr</A
11536> ctxt,
11537 <A
11538HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
11539>xmlParserInputBufferPtr</A
11540> input,
11541 <A
11542HREF="libxml-encoding.html#XMLCHARENCODING"
11543>xmlCharEncoding</A
11544> enc);</PRE
11545></TD
11546></TR
11547></TABLE
11548><P
11549>Create a new input stream structure encapsulating the <TT
11550CLASS="PARAMETER"
11551><I
11552>input</I
11553></TT
11554> into
11555a stream suitable for the parser.</P
11556><P
11557></P
11558><DIV
11559CLASS="INFORMALTABLE"
11560><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000011561NAME="AEN2689"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011562></P
11563><TABLE
11564BORDER="0"
11565WIDTH="100%"
11566BGCOLOR="#FFD0D0"
11567CELLSPACING="0"
11568CELLPADDING="4"
11569CLASS="CALSTABLE"
11570><TBODY
11571><TR
11572><TD
11573WIDTH="20%"
11574ALIGN="RIGHT"
11575VALIGN="TOP"
11576><TT
11577CLASS="PARAMETER"
11578><I
11579>ctxt</I
11580></TT
11581>&nbsp;:</TD
11582><TD
11583WIDTH="80%"
11584ALIGN="LEFT"
11585VALIGN="TOP"
11586> an XML parser context</TD
11587></TR
11588><TR
11589><TD
11590WIDTH="20%"
11591ALIGN="RIGHT"
11592VALIGN="TOP"
11593><TT
11594CLASS="PARAMETER"
11595><I
11596>input</I
11597></TT
11598>&nbsp;:</TD
11599><TD
11600WIDTH="80%"
11601ALIGN="LEFT"
11602VALIGN="TOP"
11603> an I/O Input</TD
11604></TR
11605><TR
11606><TD
11607WIDTH="20%"
11608ALIGN="RIGHT"
11609VALIGN="TOP"
11610><TT
11611CLASS="PARAMETER"
11612><I
11613>enc</I
11614></TT
11615>&nbsp;:</TD
11616><TD
11617WIDTH="80%"
11618ALIGN="LEFT"
11619VALIGN="TOP"
11620> the charset encoding if known</TD
11621></TR
11622><TR
11623><TD
11624WIDTH="20%"
11625ALIGN="RIGHT"
11626VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011627><SPAN
11628CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011629><I
11630CLASS="EMPHASIS"
11631>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011632></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011633> :</TD
11634><TD
11635WIDTH="80%"
11636ALIGN="LEFT"
11637VALIGN="TOP"
11638>the new input stream or NULL</TD
11639></TR
11640></TBODY
11641></TABLE
11642><P
11643></P
11644></DIV
11645></DIV
11646><HR><DIV
11647CLASS="REFSECT2"
11648><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000011649NAME="AEN2710"
Daniel Veillard06622df2002-01-21 17:53:42 +000011650></A
11651><H3
11652><A
11653NAME="XMLPARSERFINDNODEINFO"
11654></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011655>xmlParserFindNodeInfo ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011656><TABLE
11657BORDER="0"
11658BGCOLOR="#D6E8FF"
11659WIDTH="100%"
11660CELLPADDING="6"
11661><TR
11662><TD
11663><PRE
11664CLASS="PROGRAMLISTING"
11665>const <A
11666HREF="libxml-parser.html#XMLPARSERNODEINFO"
11667>xmlParserNodeInfo</A
11668>* xmlParserFindNodeInfo
11669 (const <A
11670HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11671>xmlParserCtxtPtr</A
11672> ctxt,
11673 const <A
11674HREF="libxml-tree.html#XMLNODEPTR"
11675>xmlNodePtr</A
11676> node);</PRE
11677></TD
11678></TR
11679></TABLE
11680><P
11681>Find the parser node info struct for a given node</P
11682><P
11683></P
11684><DIV
11685CLASS="INFORMALTABLE"
11686><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000011687NAME="AEN2719"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011688></P
11689><TABLE
11690BORDER="0"
11691WIDTH="100%"
11692BGCOLOR="#FFD0D0"
11693CELLSPACING="0"
11694CELLPADDING="4"
11695CLASS="CALSTABLE"
11696><TBODY
11697><TR
11698><TD
11699WIDTH="20%"
11700ALIGN="RIGHT"
11701VALIGN="TOP"
11702><TT
11703CLASS="PARAMETER"
11704><I
11705>ctxt</I
11706></TT
11707>&nbsp;:</TD
11708><TD
11709WIDTH="80%"
11710ALIGN="LEFT"
11711VALIGN="TOP"
11712> an XML parser context</TD
11713></TR
11714><TR
11715><TD
11716WIDTH="20%"
11717ALIGN="RIGHT"
11718VALIGN="TOP"
11719><TT
11720CLASS="PARAMETER"
11721><I
11722>node</I
11723></TT
11724>&nbsp;:</TD
11725><TD
11726WIDTH="80%"
11727ALIGN="LEFT"
11728VALIGN="TOP"
11729> an XML node within the tree</TD
11730></TR
11731><TR
11732><TD
11733WIDTH="20%"
11734ALIGN="RIGHT"
11735VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011736><SPAN
11737CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011738><I
11739CLASS="EMPHASIS"
11740>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011741></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011742> :</TD
11743><TD
11744WIDTH="80%"
11745ALIGN="LEFT"
11746VALIGN="TOP"
11747>an xmlParserNodeInfo block pointer or NULL</TD
11748></TR
11749></TBODY
11750></TABLE
11751><P
11752></P
11753></DIV
11754></DIV
11755><HR><DIV
11756CLASS="REFSECT2"
11757><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000011758NAME="AEN2736"
Daniel Veillard06622df2002-01-21 17:53:42 +000011759></A
11760><H3
11761><A
11762NAME="XMLINITNODEINFOSEQ"
11763></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011764>xmlInitNodeInfoSeq ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011765><TABLE
11766BORDER="0"
11767BGCOLOR="#D6E8FF"
11768WIDTH="100%"
11769CELLPADDING="6"
11770><TR
11771><TD
11772><PRE
11773CLASS="PROGRAMLISTING"
11774>void xmlInitNodeInfoSeq (<A
11775HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
11776>xmlParserNodeInfoSeqPtr</A
11777> seq);</PRE
11778></TD
11779></TR
11780></TABLE
11781><P
11782>-- Initialize (set to initial state) node info sequence</P
11783><P
11784></P
11785><DIV
11786CLASS="INFORMALTABLE"
11787><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000011788NAME="AEN2743"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011789></P
11790><TABLE
11791BORDER="0"
11792WIDTH="100%"
11793BGCOLOR="#FFD0D0"
11794CELLSPACING="0"
11795CELLPADDING="4"
11796CLASS="CALSTABLE"
11797><TBODY
11798><TR
11799><TD
11800WIDTH="20%"
11801ALIGN="RIGHT"
11802VALIGN="TOP"
11803><TT
11804CLASS="PARAMETER"
11805><I
11806>seq</I
11807></TT
11808>&nbsp;:</TD
11809><TD
11810WIDTH="80%"
11811ALIGN="LEFT"
11812VALIGN="TOP"
11813> a node info sequence pointer</TD
11814></TR
11815></TBODY
11816></TABLE
11817><P
11818></P
11819></DIV
11820></DIV
11821><HR><DIV
11822CLASS="REFSECT2"
11823><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000011824NAME="AEN2752"
Daniel Veillard06622df2002-01-21 17:53:42 +000011825></A
11826><H3
11827><A
11828NAME="XMLCLEARNODEINFOSEQ"
11829></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011830>xmlClearNodeInfoSeq ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011831><TABLE
11832BORDER="0"
11833BGCOLOR="#D6E8FF"
11834WIDTH="100%"
11835CELLPADDING="6"
11836><TR
11837><TD
11838><PRE
11839CLASS="PROGRAMLISTING"
11840>void xmlClearNodeInfoSeq (<A
11841HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
11842>xmlParserNodeInfoSeqPtr</A
11843> seq);</PRE
11844></TD
11845></TR
11846></TABLE
11847><P
11848>-- Clear (release memory and reinitialize) node
Daniel Veillardaf43f632002-03-08 15:05:20 +000011849info sequence</P
Daniel Veillard06622df2002-01-21 17:53:42 +000011850><P
11851></P
11852><DIV
11853CLASS="INFORMALTABLE"
11854><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000011855NAME="AEN2759"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011856></P
11857><TABLE
11858BORDER="0"
11859WIDTH="100%"
11860BGCOLOR="#FFD0D0"
11861CELLSPACING="0"
11862CELLPADDING="4"
11863CLASS="CALSTABLE"
11864><TBODY
11865><TR
11866><TD
11867WIDTH="20%"
11868ALIGN="RIGHT"
11869VALIGN="TOP"
11870><TT
11871CLASS="PARAMETER"
11872><I
11873>seq</I
11874></TT
11875>&nbsp;:</TD
11876><TD
11877WIDTH="80%"
11878ALIGN="LEFT"
11879VALIGN="TOP"
11880> a node info sequence pointer</TD
11881></TR
11882></TBODY
11883></TABLE
11884><P
11885></P
11886></DIV
11887></DIV
11888><HR><DIV
11889CLASS="REFSECT2"
11890><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000011891NAME="AEN2768"
Daniel Veillard06622df2002-01-21 17:53:42 +000011892></A
11893><H3
11894><A
11895NAME="XMLPARSERFINDNODEINFOINDEX"
11896></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011897>xmlParserFindNodeInfoIndex ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011898><TABLE
11899BORDER="0"
11900BGCOLOR="#D6E8FF"
11901WIDTH="100%"
11902CELLPADDING="6"
11903><TR
11904><TD
11905><PRE
11906CLASS="PROGRAMLISTING"
11907>unsigned <GTKDOCLINK
11908HREF="LONG"
11909>long</GTKDOCLINK
11910> xmlParserFindNodeInfoIndex (const <A
11911HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
11912>xmlParserNodeInfoSeqPtr</A
11913> seq,
11914 const <A
11915HREF="libxml-tree.html#XMLNODEPTR"
11916>xmlNodePtr</A
11917> node);</PRE
11918></TD
11919></TR
11920></TABLE
11921><P
11922>xmlParserFindNodeInfoIndex : Find the index that the info record for
Daniel Veillardaf43f632002-03-08 15:05:20 +000011923the given node is or should be at in a sorted sequence</P
Daniel Veillard06622df2002-01-21 17:53:42 +000011924><P
11925></P
11926><DIV
11927CLASS="INFORMALTABLE"
11928><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000011929NAME="AEN2777"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011930></P
11931><TABLE
11932BORDER="0"
11933WIDTH="100%"
11934BGCOLOR="#FFD0D0"
11935CELLSPACING="0"
11936CELLPADDING="4"
11937CLASS="CALSTABLE"
11938><TBODY
11939><TR
11940><TD
11941WIDTH="20%"
11942ALIGN="RIGHT"
11943VALIGN="TOP"
11944><TT
11945CLASS="PARAMETER"
11946><I
11947>seq</I
11948></TT
11949>&nbsp;:</TD
11950><TD
11951WIDTH="80%"
11952ALIGN="LEFT"
11953VALIGN="TOP"
11954> a node info sequence pointer</TD
11955></TR
11956><TR
11957><TD
11958WIDTH="20%"
11959ALIGN="RIGHT"
11960VALIGN="TOP"
11961><TT
11962CLASS="PARAMETER"
11963><I
11964>node</I
11965></TT
11966>&nbsp;:</TD
11967><TD
11968WIDTH="80%"
11969ALIGN="LEFT"
11970VALIGN="TOP"
11971> an XML node pointer</TD
11972></TR
11973><TR
11974><TD
11975WIDTH="20%"
11976ALIGN="RIGHT"
11977VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011978><SPAN
11979CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011980><I
11981CLASS="EMPHASIS"
11982>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011983></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011984> :</TD
11985><TD
11986WIDTH="80%"
11987ALIGN="LEFT"
11988VALIGN="TOP"
11989>a long indicating the position of the record</TD
11990></TR
11991></TBODY
11992></TABLE
11993><P
11994></P
11995></DIV
11996></DIV
11997><HR><DIV
11998CLASS="REFSECT2"
11999><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000012000NAME="AEN2794"
Daniel Veillard06622df2002-01-21 17:53:42 +000012001></A
12002><H3
12003><A
12004NAME="XMLPARSERADDNODEINFO"
12005></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012006>xmlParserAddNodeInfo ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000012007><TABLE
12008BORDER="0"
12009BGCOLOR="#D6E8FF"
12010WIDTH="100%"
12011CELLPADDING="6"
12012><TR
12013><TD
12014><PRE
12015CLASS="PROGRAMLISTING"
12016>void xmlParserAddNodeInfo (<A
12017HREF="libxml-tree.html#XMLPARSERCTXTPTR"
12018>xmlParserCtxtPtr</A
12019> ctxt,
12020 const <A
12021HREF="libxml-parser.html#XMLPARSERNODEINFOPTR"
12022>xmlParserNodeInfoPtr</A
12023> info);</PRE
12024></TD
12025></TR
12026></TABLE
12027><P
12028>Insert node info record into the sorted sequence</P
12029><P
12030></P
12031><DIV
12032CLASS="INFORMALTABLE"
12033><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000012034NAME="AEN2802"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000012035></P
12036><TABLE
12037BORDER="0"
12038WIDTH="100%"
12039BGCOLOR="#FFD0D0"
12040CELLSPACING="0"
12041CELLPADDING="4"
12042CLASS="CALSTABLE"
12043><TBODY
12044><TR
12045><TD
12046WIDTH="20%"
12047ALIGN="RIGHT"
12048VALIGN="TOP"
12049><TT
12050CLASS="PARAMETER"
12051><I
12052>ctxt</I
12053></TT
12054>&nbsp;:</TD
12055><TD
12056WIDTH="80%"
12057ALIGN="LEFT"
12058VALIGN="TOP"
12059> an XML parser context</TD
12060></TR
12061><TR
12062><TD
12063WIDTH="20%"
12064ALIGN="RIGHT"
12065VALIGN="TOP"
12066><TT
12067CLASS="PARAMETER"
12068><I
12069>info</I
12070></TT
12071>&nbsp;:</TD
12072><TD
12073WIDTH="80%"
12074ALIGN="LEFT"
12075VALIGN="TOP"
12076> a node info sequence pointer</TD
12077></TR
12078></TBODY
12079></TABLE
12080><P
12081></P
12082></DIV
12083></DIV
12084><HR><DIV
12085CLASS="REFSECT2"
12086><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000012087NAME="AEN2815"
Daniel Veillard06622df2002-01-21 17:53:42 +000012088></A
12089><H3
12090><A
12091NAME="XMLSETEXTERNALENTITYLOADER"
12092></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012093>xmlSetExternalEntityLoader ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000012094><TABLE
12095BORDER="0"
12096BGCOLOR="#D6E8FF"
12097WIDTH="100%"
12098CELLPADDING="6"
12099><TR
12100><TD
12101><PRE
12102CLASS="PROGRAMLISTING"
12103>void xmlSetExternalEntityLoader (<A
12104HREF="libxml-parser.html#XMLEXTERNALENTITYLOADER"
12105>xmlExternalEntityLoader</A
12106> f);</PRE
12107></TD
12108></TR
12109></TABLE
12110><P
12111>Changes the defaultexternal entity resolver function for the application</P
12112><P
12113></P
12114><DIV
12115CLASS="INFORMALTABLE"
12116><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000012117NAME="AEN2822"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000012118></P
12119><TABLE
12120BORDER="0"
12121WIDTH="100%"
12122BGCOLOR="#FFD0D0"
12123CELLSPACING="0"
12124CELLPADDING="4"
12125CLASS="CALSTABLE"
12126><TBODY
12127><TR
12128><TD
12129WIDTH="20%"
12130ALIGN="RIGHT"
12131VALIGN="TOP"
12132><TT
12133CLASS="PARAMETER"
12134><I
12135>f</I
12136></TT
12137>&nbsp;:</TD
12138><TD
12139WIDTH="80%"
12140ALIGN="LEFT"
12141VALIGN="TOP"
12142> the new entity resolver function</TD
12143></TR
12144></TBODY
12145></TABLE
12146><P
12147></P
12148></DIV
12149></DIV
12150><HR><DIV
12151CLASS="REFSECT2"
12152><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000012153NAME="AEN2831"
Daniel Veillard06622df2002-01-21 17:53:42 +000012154></A
12155><H3
12156><A
12157NAME="XMLGETEXTERNALENTITYLOADER"
12158></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012159>xmlGetExternalEntityLoader ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000012160><TABLE
12161BORDER="0"
12162BGCOLOR="#D6E8FF"
12163WIDTH="100%"
12164CELLPADDING="6"
12165><TR
12166><TD
12167><PRE
12168CLASS="PROGRAMLISTING"
12169><A
12170HREF="libxml-parser.html#XMLEXTERNALENTITYLOADER"
12171>xmlExternalEntityLoader</A
12172> xmlGetExternalEntityLoader
12173 (void);</PRE
12174></TD
12175></TR
12176></TABLE
12177><P
12178>Get the default external entity resolver function for the application</P
12179><P
12180></P
12181><DIV
12182CLASS="INFORMALTABLE"
12183><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000012184NAME="AEN2838"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000012185></P
12186><TABLE
12187BORDER="0"
12188WIDTH="100%"
12189BGCOLOR="#FFD0D0"
12190CELLSPACING="0"
12191CELLPADDING="4"
12192CLASS="CALSTABLE"
12193><TBODY
12194><TR
12195><TD
12196WIDTH="20%"
12197ALIGN="RIGHT"
12198VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000012199><SPAN
12200CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000012201><I
12202CLASS="EMPHASIS"
12203>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000012204></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000012205> :</TD
12206><TD
12207WIDTH="80%"
12208ALIGN="LEFT"
12209VALIGN="TOP"
12210>the xmlExternalEntityLoader function pointer</TD
12211></TR
12212></TBODY
12213></TABLE
12214><P
12215></P
12216></DIV
12217></DIV
12218><HR><DIV
12219CLASS="REFSECT2"
12220><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000012221NAME="AEN2847"
Daniel Veillard06622df2002-01-21 17:53:42 +000012222></A
12223><H3
12224><A
12225NAME="XMLLOADEXTERNALENTITY"
12226></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000012227>xmlLoadExternalEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000012228><TABLE
12229BORDER="0"
12230BGCOLOR="#D6E8FF"
12231WIDTH="100%"
12232CELLPADDING="6"
12233><TR
12234><TD
12235><PRE
12236CLASS="PROGRAMLISTING"
12237><A
12238HREF="libxml-tree.html#XMLPARSERINPUTPTR"
12239>xmlParserInputPtr</A
12240> xmlLoadExternalEntity (const char *URL,
12241 const char *ID,
12242 <A
12243HREF="libxml-tree.html#XMLPARSERCTXTPTR"
12244>xmlParserCtxtPtr</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000012245> ctxt);</PRE
Daniel Veillard06622df2002-01-21 17:53:42 +000012246></TD
12247></TR
12248></TABLE
12249><P
12250>Load an external entity, note that the use of this function for
12251unparsed entities may generate problems
12252TODO: a more generic External entity API must be designed</P
12253><P
12254></P
12255><DIV
12256CLASS="INFORMALTABLE"
12257><A
Daniel Veillard2ace1952002-09-26 12:28:02 +000012258NAME="AEN2855"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000012259></P
12260><TABLE
12261BORDER="0"
12262WIDTH="100%"
12263BGCOLOR="#FFD0D0"
12264CELLSPACING="0"
12265CELLPADDING="4"
12266CLASS="CALSTABLE"
12267><TBODY
12268><TR
12269><TD
12270WIDTH="20%"
12271ALIGN="RIGHT"
12272VALIGN="TOP"
12273><TT
12274CLASS="PARAMETER"
12275><I
12276>URL</I
12277></TT
12278>&nbsp;:</TD
12279><TD
12280WIDTH="80%"
12281ALIGN="LEFT"
12282VALIGN="TOP"
12283> the URL for the entity to load</TD
12284></TR
12285><TR
12286><TD
12287WIDTH="20%"
12288ALIGN="RIGHT"
12289VALIGN="TOP"
12290><TT
12291CLASS="PARAMETER"
12292><I
12293>ID</I
12294></TT
12295>&nbsp;:</TD
12296><TD
12297WIDTH="80%"
12298ALIGN="LEFT"
12299VALIGN="TOP"
12300> the Public ID for the entity to load</TD
12301></TR
12302><TR
12303><TD
12304WIDTH="20%"
12305ALIGN="RIGHT"
12306VALIGN="TOP"
12307><TT
12308CLASS="PARAMETER"
12309><I
Daniel Veillard5f4b5992002-02-20 10:22:49 +000012310>ctxt</I
Daniel Veillard06622df2002-01-21 17:53:42 +000012311></TT
12312>&nbsp;:</TD
12313><TD
12314WIDTH="80%"
12315ALIGN="LEFT"
12316VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +000012317> the context in which the entity is called or NULL</TD
Daniel Veillard06622df2002-01-21 17:53:42 +000012318></TR
12319><TR
12320><TD
12321WIDTH="20%"
12322ALIGN="RIGHT"
12323VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000012324><SPAN
12325CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000012326><I
12327CLASS="EMPHASIS"
12328>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000012329></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000012330> :</TD
12331><TD
12332WIDTH="80%"
12333ALIGN="LEFT"
12334VALIGN="TOP"
12335>the xmlParserInputPtr or NULL</TD
12336></TR
12337></TBODY
12338></TABLE
12339><P
12340></P
12341></DIV
12342></DIV
12343></DIV
12344><DIV
12345CLASS="NAVFOOTER"
12346><BR
12347CLEAR="all"><BR><TABLE
12348WIDTH="100%"
12349BORDER="0"
12350BGCOLOR="#000000"
12351CELLPADDING="1"
12352CELLSPACING="0"
12353><TR
12354><TD
12355WIDTH="25%"
12356BGCOLOR="#C00000"
12357ALIGN="left"
12358><A
12359HREF="libxml-lib.html"
12360><FONT
12361COLOR="#FFFFFF"
12362SIZE="3"
12363><B
12364>&#60;&#60;&#60; Previous Page</B
12365></FONT
12366></A
12367></TD
12368><TD
12369WIDTH="25%"
12370BGCOLOR="#0000C0"
12371ALIGN="center"
12372><FONT
12373COLOR="#FFFFFF"
12374SIZE="3"
12375><B
12376><A
12377HREF="book1.html"
12378><FONT
12379COLOR="#FFFFFF"
12380SIZE="3"
12381><B
12382>Home</B
12383></FONT
12384></A
12385></B
12386></FONT
12387></TD
12388><TD
12389WIDTH="25%"
12390BGCOLOR="#00C000"
12391ALIGN="center"
12392><FONT
12393COLOR="#FFFFFF"
12394SIZE="3"
12395><B
12396><A
12397HREF="libxml-lib.html"
12398><FONT
12399COLOR="#FFFFFF"
12400SIZE="3"
12401><B
12402>Up</B
12403></FONT
12404></A
12405></B
12406></FONT
12407></TD
12408><TD
12409WIDTH="25%"
12410BGCOLOR="#C00000"
12411ALIGN="right"
12412><A
12413HREF="libxml-sax.html"
12414><FONT
12415COLOR="#FFFFFF"
12416SIZE="3"
12417><B
12418>Next Page &#62;&#62;&#62;</B
12419></FONT
12420></A
12421></TD
12422></TR
12423><TR
12424><TD
12425COLSPAN="2"
12426ALIGN="left"
12427><FONT
12428COLOR="#FFFFFF"
12429SIZE="3"
12430><B
12431>Libxml Library Reference</B
12432></FONT
12433></TD
12434><TD
12435COLSPAN="2"
12436ALIGN="right"
12437><FONT
12438COLOR="#FFFFFF"
12439SIZE="3"
12440><B
12441>SAX</B
12442></FONT
12443></TD
12444></TR
12445></TABLE
12446></DIV
12447></BODY
12448></HTML
12449>