blob: 8c8188535d118bd75579813c2ed4e5d9b9009209 [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 Veillard9cb5ff42001-01-29 08:22:21 +0000967HREF="libxml-parser.html#XMLPARSEEXTERNALENTITY"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000968>xmlParseExternalEntity</A
969> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000970HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000971>xmlDocPtr</A
972> doc,
973 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000974HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000975>xmlSAXHandlerPtr</A
976> sax,
977 void *user_data,
978 int depth,
979 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000980HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000981>xmlChar</A
982> *URL,
983 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000984HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000985>xmlChar</A
986> *ID,
987 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000988HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000989>xmlNodePtr</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000990> *lst);
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000991int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000992HREF="libxml-parser.html#XMLPARSECTXTEXTERNALENTITY"
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000993>xmlParseCtxtExternalEntity</A
994> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000995HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000996>xmlParserCtxtPtr</A
997> ctx,
998 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000999HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001000>xmlChar</A
1001> *URL,
1002 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001003HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001004>xmlChar</A
1005> *ID,
1006 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001007HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001008>xmlNodePtr</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001009> *lst);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001010void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001011HREF="libxml-parser.html#XMLINITPARSERCTXT"
Daniel Veillard35925471999-02-25 08:46:07 +00001012>xmlInitParserCtxt</A
1013> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001014HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001015>xmlParserCtxtPtr</A
1016> ctxt);
1017void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001018HREF="libxml-parser.html#XMLCLEARPARSERCTXT"
Daniel Veillard35925471999-02-25 08:46:07 +00001019>xmlClearParserCtxt</A
1020> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001021HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001022>xmlParserCtxtPtr</A
1023> ctxt);
1024void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001025HREF="libxml-parser.html#XMLFREEPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001026>xmlFreeParserCtxt</A
1027> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001028HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001029>xmlParserCtxtPtr</A
1030> ctxt);
1031void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001032HREF="libxml-parser.html#XMLSETUPPARSERFORBUFFER"
Daniel Veillard35925471999-02-25 08:46:07 +00001033>xmlSetupParserForBuffer</A
1034> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001035HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001036>xmlParserCtxtPtr</A
1037> ctxt,
1038 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001039HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001040>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001041> *buffer,
1042 const char *filename);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001043<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001044HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001045>xmlParserCtxtPtr</A
1046> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001047HREF="libxml-parser.html#XMLCREATEDOCPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001048>xmlCreateDocParserCtxt</A
1049> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001050HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001051>xmlChar</A
1052> *cur);
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001053int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001054HREF="libxml-parser.html#XMLGETFEATURESLIST"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001055>xmlGetFeaturesList</A
1056> (int *len,
1057 const char **result);
1058int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001059HREF="libxml-parser.html#XMLGETFEATURE"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001060>xmlGetFeature</A
1061> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001062HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001063>xmlParserCtxtPtr</A
1064> ctxt,
1065 const char *name,
1066 void *result);
1067int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001068HREF="libxml-parser.html#XMLSETFEATURE"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001069>xmlSetFeature</A
1070> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001071HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001072>xmlParserCtxtPtr</A
1073> ctxt,
1074 const char *name,
1075 void *value);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001076<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001077HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001078>xmlParserCtxtPtr</A
1079> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001080HREF="libxml-parser.html#XMLCREATEPUSHPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001081>xmlCreatePushParserCtxt</A
1082> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001083HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001084>xmlSAXHandlerPtr</A
1085> sax,
1086 void *user_data,
1087 const char *chunk,
1088 int size,
1089 const char *filename);
1090int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001091HREF="libxml-parser.html#XMLPARSECHUNK"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001092>xmlParseChunk</A
1093> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001094HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001095>xmlParserCtxtPtr</A
1096> ctxt,
1097 const char *chunk,
1098 int size,
1099 int terminate);
1100<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001101HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001102>xmlParserCtxtPtr</A
1103> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001104HREF="libxml-parser.html#XMLCREATEIOPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001105>xmlCreateIOParserCtxt</A
1106> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001107HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001108>xmlSAXHandlerPtr</A
1109> sax,
1110 void *user_data,
1111 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001112HREF="libxml-xmlio.html#XMLINPUTREADCALLBACK"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001113>xmlInputReadCallback</A
1114> ioread,
1115 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001116HREF="libxml-xmlio.html#XMLINPUTCLOSECALLBACK"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001117>xmlInputCloseCallback</A
1118> ioclose,
1119 void *ioctx,
1120 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001121HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001122>xmlCharEncoding</A
1123> enc);
1124<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001125HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001126>xmlParserInputPtr</A
1127> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001128HREF="libxml-parser.html#XMLNEWIOINPUTSTREAM"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001129>xmlNewIOInputStream</A
1130> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001131HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001132>xmlParserCtxtPtr</A
1133> ctxt,
1134 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001135HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001136>xmlParserInputBufferPtr</A
1137> input,
1138 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001139HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001140>xmlCharEncoding</A
1141> enc);
Daniel Veillard35925471999-02-25 08:46:07 +00001142const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001143HREF="libxml-parser.html#XMLPARSERNODEINFO"
Daniel Veillard35925471999-02-25 08:46:07 +00001144>xmlParserNodeInfo</A
1145>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001146HREF="libxml-parser.html#XMLPARSERFINDNODEINFO"
Daniel Veillard35925471999-02-25 08:46:07 +00001147>xmlParserFindNodeInfo</A
1148>
1149 (const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001150HREF="libxml-tree.html#XMLPARSERCTXTPTR"
1151>xmlParserCtxtPtr</A
1152> ctxt,
Daniel Veillard35925471999-02-25 08:46:07 +00001153 const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001154HREF="libxml-tree.html#XMLNODEPTR"
1155>xmlNodePtr</A
1156> node);
Daniel Veillard35925471999-02-25 08:46:07 +00001157void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001158HREF="libxml-parser.html#XMLINITNODEINFOSEQ"
Daniel Veillard35925471999-02-25 08:46:07 +00001159>xmlInitNodeInfoSeq</A
1160> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001161HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001162>xmlParserNodeInfoSeqPtr</A
1163> seq);
1164void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001165HREF="libxml-parser.html#XMLCLEARNODEINFOSEQ"
Daniel Veillard35925471999-02-25 08:46:07 +00001166>xmlClearNodeInfoSeq</A
1167> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001168HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001169>xmlParserNodeInfoSeqPtr</A
1170> seq);
1171unsigned <GTKDOCLINK
1172HREF="LONG"
1173>long</GTKDOCLINK
1174> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001175HREF="libxml-parser.html#XMLPARSERFINDNODEINFOINDEX"
Daniel Veillard35925471999-02-25 08:46:07 +00001176>xmlParserFindNodeInfoIndex</A
1177> (const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001178HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
1179>xmlParserNodeInfoSeqPtr</A
1180> seq,
Daniel Veillard35925471999-02-25 08:46:07 +00001181 const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001182HREF="libxml-tree.html#XMLNODEPTR"
1183>xmlNodePtr</A
1184> node);
Daniel Veillard35925471999-02-25 08:46:07 +00001185void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001186HREF="libxml-parser.html#XMLPARSERADDNODEINFO"
Daniel Veillard35925471999-02-25 08:46:07 +00001187>xmlParserAddNodeInfo</A
1188> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001189HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001190>xmlParserCtxtPtr</A
1191> ctxt,
1192 const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001193HREF="libxml-parser.html#XMLPARSERNODEINFOPTR"
1194>xmlParserNodeInfoPtr</A
1195> info);
Daniel Veillard35925471999-02-25 08:46:07 +00001196void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001197HREF="libxml-parser.html#XMLSETEXTERNALENTITYLOADER"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001198>xmlSetExternalEntityLoader</A
1199> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001200HREF="libxml-parser.html#XMLEXTERNALENTITYLOADER"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001201>xmlExternalEntityLoader</A
1202> f);
1203<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001204HREF="libxml-parser.html#XMLEXTERNALENTITYLOADER"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001205>xmlExternalEntityLoader</A
1206> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001207HREF="libxml-parser.html#XMLGETEXTERNALENTITYLOADER"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001208>xmlGetExternalEntityLoader</A
1209>
1210 (void);
1211<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001212HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001213>xmlParserInputPtr</A
1214> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001215HREF="libxml-parser.html#XMLLOADEXTERNALENTITY"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001216>xmlLoadExternalEntity</A
1217> (const char *URL,
1218 const char *ID,
1219 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001220HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard437b87b2000-01-03 17:30:46 +00001221>xmlParserCtxtPtr</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001222> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001223></TD
1224></TR
1225></TABLE
1226></DIV
1227><DIV
1228CLASS="REFSECT1"
1229><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001230NAME="AEN313"
Daniel Veillard35925471999-02-25 08:46:07 +00001231></A
1232><H2
1233>Description</H2
1234><P
1235></P
1236></DIV
1237><DIV
1238CLASS="REFSECT1"
1239><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001240NAME="AEN316"
Daniel Veillard35925471999-02-25 08:46:07 +00001241></A
1242><H2
1243>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001244><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001245CLASS="REFSECT2"
1246><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001247NAME="AEN318"
Daniel Veillard35925471999-02-25 08:46:07 +00001248></A
1249><H3
1250><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001251NAME="XML-DEFAULT-VERSION-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00001252></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001253>XML_DEFAULT_VERSION</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001254><TABLE
1255BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001256BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001257WIDTH="100%"
1258CELLPADDING="6"
1259><TR
1260><TD
1261><PRE
1262CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001263>#define XML_DEFAULT_VERSION "1.0"</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001264></TD
1265></TR
1266></TABLE
1267><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001268>The default version of XML used: 1.0</P
1269><P
Daniel Veillard35925471999-02-25 08:46:07 +00001270></P
1271></DIV
1272><HR><DIV
1273CLASS="REFSECT2"
1274><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001275NAME="AEN324"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001276></A
1277><H3
1278><A
1279NAME="XMLPARSERINPUTDEALLOCATE"
1280></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001281>xmlParserInputDeallocate ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001282><TABLE
1283BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001284BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001285WIDTH="100%"
1286CELLPADDING="6"
1287><TR
1288><TD
1289><PRE
1290CLASS="PROGRAMLISTING"
1291>void (*xmlParserInputDeallocate) (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001292HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001293>xmlChar</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001294> *str);</PRE
Daniel Veillardd692aa41999-02-28 21:54:31 +00001295></TD
1296></TR
1297></TABLE
1298><P
Daniel Veillard19274092002-03-25 16:48:03 +00001299>Callback for freeing some parser input allocations.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001300><P
Daniel Veillardd692aa41999-02-28 21:54:31 +00001301></P
1302><DIV
1303CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001304><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001305NAME="AEN331"><P
Daniel Veillardd692aa41999-02-28 21:54:31 +00001306></P
1307><TABLE
1308BORDER="0"
1309WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001310BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001311CELLSPACING="0"
1312CELLPADDING="4"
1313CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001314><TBODY
Daniel Veillardd692aa41999-02-28 21:54:31 +00001315><TR
1316><TD
1317WIDTH="20%"
1318ALIGN="RIGHT"
1319VALIGN="TOP"
1320><TT
1321CLASS="PARAMETER"
1322><I
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001323>str</I
Daniel Veillardd692aa41999-02-28 21:54:31 +00001324></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001325>&nbsp;:</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001326><TD
1327WIDTH="80%"
1328ALIGN="LEFT"
1329VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001330> the string to deallocate</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001331></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001332></TBODY
Daniel Veillardd692aa41999-02-28 21:54:31 +00001333></TABLE
1334><P
1335></P
1336></DIV
1337></DIV
1338><HR><DIV
1339CLASS="REFSECT2"
1340><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001341NAME="AEN340"
Daniel Veillard24491f62000-01-05 14:58:38 +00001342></A
1343><H3
1344><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001345NAME="XMLPARSERINPUT"
Daniel Veillard24491f62000-01-05 14:58:38 +00001346></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001347>struct xmlParserInput</H3
Daniel Veillard71b656e2000-01-05 14:46:17 +00001348><TABLE
1349BORDER="0"
Daniel Veillard24491f62000-01-05 14:58:38 +00001350BGCOLOR="#D6E8FF"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001351WIDTH="100%"
Daniel Veillard24491f62000-01-05 14:58:38 +00001352CELLPADDING="6"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001353><TR
1354><TD
Daniel Veillard24491f62000-01-05 14:58:38 +00001355><PRE
1356CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001357>struct xmlParserInput {
1358 /* Input buffer */
1359 xmlParserInputBufferPtr buf; /* UTF-8 encoded buffer */
1360
1361 const char *filename; /* The file analyzed, if any */
Daniel Veillard60087f32001-10-10 09:45:09 +00001362 const char *directory; /* the directory/base of the file */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001363 const xmlChar *base; /* Base of the array to parse */
1364 const xmlChar *cur; /* Current char being parsed */
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001365 const xmlChar *end; /* end of the array to parse */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001366 int length; /* length if known */
1367 int line; /* Current line */
1368 int col; /* Current column */
1369 int consumed; /* How many xmlChars already consumed */
1370 xmlParserInputDeallocate free; /* function to deallocate the base */
1371 const xmlChar *encoding; /* the encoding string for entity */
1372 const xmlChar *version; /* the version string for entity */
1373 int standalone; /* Was that entity marked standalone */
1374};</PRE
Daniel Veillard24491f62000-01-05 14:58:38 +00001375></TD
Daniel Veillard71b656e2000-01-05 14:46:17 +00001376></TR
1377></TABLE
1378><P
Daniel Veillard19274092002-03-25 16:48:03 +00001379>An xmlParserInput is an input flow for the XML processor.
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001380Each entity parsed is associated an xmlParserInput (except the
1381few predefined ones). This is the case both for internal entities
1382- in which case the flow is already completely in memory - or
1383external entities - in which case we use the buf structure for
1384progressive reading and I18N conversions to the internal UTF-8 format.</P
1385><P
Daniel Veillard71b656e2000-01-05 14:46:17 +00001386></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001387></DIV
1388><HR><DIV
1389CLASS="REFSECT2"
1390><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001391NAME="AEN346"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001392></A
1393><H3
1394><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001395NAME="XMLPARSERNODEINFO"
1396></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001397>struct xmlParserNodeInfo</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001398><TABLE
1399BORDER="0"
1400BGCOLOR="#D6E8FF"
1401WIDTH="100%"
1402CELLPADDING="6"
1403><TR
1404><TD
1405><PRE
1406CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001407>struct xmlParserNodeInfo {
1408 const struct _xmlNode* node;
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001409 /* Position &amp; line # that text that created the node begins &amp; ends on */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001410 unsigned long begin_pos;
1411 unsigned long begin_line;
1412 unsigned long end_pos;
1413 unsigned long end_line;
1414};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001415></TD
1416></TR
1417></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001418><P
Daniel Veillard19274092002-03-25 16:48:03 +00001419>The parser can be asked to collect Node informations, i.e. at what
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001420place in the file they were detected.
1421NOTE: This is off by default and not very well tested.</P
1422><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001423></P
1424></DIV
1425><HR><DIV
1426CLASS="REFSECT2"
1427><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001428NAME="AEN352"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001429></A
1430><H3
1431><A
1432NAME="XMLPARSERNODEINFOPTR"
1433></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001434>xmlParserNodeInfoPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001435><TABLE
1436BORDER="0"
1437BGCOLOR="#D6E8FF"
1438WIDTH="100%"
1439CELLPADDING="6"
1440><TR
1441><TD
1442><PRE
1443CLASS="PROGRAMLISTING"
1444>typedef xmlParserNodeInfo *xmlParserNodeInfoPtr;</PRE
1445></TD
1446></TR
1447></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001448><P
1449></P
1450></DIV
1451><HR><DIV
1452CLASS="REFSECT2"
1453><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001454NAME="AEN357"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001455></A
1456><H3
1457><A
1458NAME="XMLPARSERNODEINFOSEQ"
1459></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001460>struct xmlParserNodeInfoSeq</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001461><TABLE
1462BORDER="0"
1463BGCOLOR="#D6E8FF"
1464WIDTH="100%"
1465CELLPADDING="6"
1466><TR
1467><TD
1468><PRE
1469CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001470>struct xmlParserNodeInfoSeq {
1471 unsigned long maximum;
1472 unsigned long length;
1473 xmlParserNodeInfo* buffer;
1474};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001475></TD
1476></TR
1477></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001478><P
1479></P
1480></DIV
1481><HR><DIV
1482CLASS="REFSECT2"
1483><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001484NAME="AEN362"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001485></A
1486><H3
1487><A
1488NAME="XMLPARSERNODEINFOSEQPTR"
1489></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001490>xmlParserNodeInfoSeqPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001491><TABLE
1492BORDER="0"
1493BGCOLOR="#D6E8FF"
1494WIDTH="100%"
1495CELLPADDING="6"
1496><TR
1497><TD
1498><PRE
1499CLASS="PROGRAMLISTING"
1500>typedef xmlParserNodeInfoSeq *xmlParserNodeInfoSeqPtr;</PRE
1501></TD
1502></TR
1503></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001504><P
1505></P
1506></DIV
1507><HR><DIV
1508CLASS="REFSECT2"
1509><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001510NAME="AEN367"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001511></A
1512><H3
1513><A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001514NAME="XMLPARSERINPUTSTATE"
1515></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001516>enum xmlParserInputState</H3
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001517><TABLE
1518BORDER="0"
1519BGCOLOR="#D6E8FF"
1520WIDTH="100%"
1521CELLPADDING="6"
1522><TR
1523><TD
1524><PRE
1525CLASS="PROGRAMLISTING"
Daniel Veillard00fdf371999-10-08 09:40:39 +00001526>typedef enum {
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001527 XML_PARSER_EOF = -1, /* nothing is to be parsed */
1528 XML_PARSER_START = 0, /* nothing has been parsed */
1529 XML_PARSER_MISC, /* Misc* before int subset */
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001530 XML_PARSER_PI, /* Within a processing instruction */
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001531 XML_PARSER_DTD, /* within some DTD content */
1532 XML_PARSER_PROLOG, /* Misc* after internal subset */
1533 XML_PARSER_COMMENT, /* within a comment */
1534 XML_PARSER_START_TAG, /* within a start tag */
1535 XML_PARSER_CONTENT, /* within the content */
1536 XML_PARSER_CDATA_SECTION, /* within a CDATA section */
1537 XML_PARSER_END_TAG, /* within a closing tag */
1538 XML_PARSER_ENTITY_DECL, /* within an entity declaration */
1539 XML_PARSER_ENTITY_VALUE, /* within an entity value in a decl */
1540 XML_PARSER_ATTRIBUTE_VALUE, /* within an attribute value */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001541 XML_PARSER_SYSTEM_LITERAL, /* within a SYSTEM value */
Daniel Veillard28929b22000-11-13 18:22:49 +00001542 XML_PARSER_EPILOG, /* the Misc* after the last end tag */
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001543 XML_PARSER_IGNORE, /* within an IGNORED section */
1544 XML_PARSER_PUBLIC_LITERAL /* within a PUBLIC value */
Daniel Veillardb05deb71999-08-10 19:04:08 +00001545} xmlParserInputState;</PRE
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001546></TD
1547></TR
1548></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001549><P
Daniel Veillard19274092002-03-25 16:48:03 +00001550>The parser is now working also as a state based parser.
1551The recursive one use the state info for entities processing.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001552><P
Daniel Veillard35925471999-02-25 08:46:07 +00001553></P
1554></DIV
1555><HR><DIV
1556CLASS="REFSECT2"
1557><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001558NAME="AEN373"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001559></A
1560><H3
1561><A
1562NAME="XML-DETECT-IDS-CAPS"
1563></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001564>XML_DETECT_IDS</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001565><TABLE
1566BORDER="0"
1567BGCOLOR="#D6E8FF"
1568WIDTH="100%"
1569CELLPADDING="6"
1570><TR
1571><TD
1572><PRE
1573CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001574>#define XML_DETECT_IDS 2</PRE
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001575></TD
1576></TR
1577></TABLE
1578><P
Daniel Veillard19274092002-03-25 16:48:03 +00001579>Bit in the loadsubset context field to tell to do ID/REFs lookups.
1580Use it to initialize xmlLoadExtDtdDefaultValue.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001581><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001582></P
1583></DIV
1584><HR><DIV
1585CLASS="REFSECT2"
1586><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001587NAME="AEN379"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001588></A
1589><H3
1590><A
1591NAME="XML-COMPLETE-ATTRS-CAPS"
1592></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001593>XML_COMPLETE_ATTRS</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001594><TABLE
1595BORDER="0"
1596BGCOLOR="#D6E8FF"
1597WIDTH="100%"
1598CELLPADDING="6"
1599><TR
1600><TD
1601><PRE
1602CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001603>#define XML_COMPLETE_ATTRS 4</PRE
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001604></TD
1605></TR
1606></TABLE
1607><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001608>Bit in the loadsubset context field to tell to do complete the
Daniel Veillard19274092002-03-25 16:48:03 +00001609elements attributes lists with the ones defaulted from the DTDs.
1610Use it to initialize xmlLoadExtDtdDefaultValue.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001611><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001612></P
1613></DIV
1614><HR><DIV
1615CLASS="REFSECT2"
1616><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001617NAME="AEN385"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001618></A
1619><H3
1620><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001621NAME="XMLPARSERCTXT"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001622></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001623>struct xmlParserCtxt</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001624><TABLE
1625BORDER="0"
1626BGCOLOR="#D6E8FF"
1627WIDTH="100%"
1628CELLPADDING="6"
1629><TR
1630><TD
1631><PRE
1632CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001633>struct xmlParserCtxt {
1634 struct _xmlSAXHandler *sax; /* The SAX handler */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001635 void *userData; /* For SAX interface only, used by DOM build */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001636 xmlDocPtr myDoc; /* the document being built */
1637 int wellFormed; /* is the document well formed */
1638 int replaceEntities; /* shall we replace entities ? */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001639 const xmlChar *version; /* the XML version string */
1640 const xmlChar *encoding; /* the declared encoding, if any */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001641 int standalone; /* standalone document */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001642 int html; /* an HTML(1)/Docbook(2) document */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001643
1644 /* Input stream stack */
1645 xmlParserInputPtr input; /* Current input stream */
1646 int inputNr; /* Number of current input streams */
1647 int inputMax; /* Max number of input streams */
1648 xmlParserInputPtr *inputTab; /* stack of inputs */
1649
1650 /* Node analysis stack only used for DOM building */
1651 xmlNodePtr node; /* Current parsed Node */
1652 int nodeNr; /* Depth of the parsing stack */
1653 int nodeMax; /* Max depth of the parsing stack */
1654 xmlNodePtr *nodeTab; /* array of nodes */
1655
1656 int record_info; /* Whether node info should be kept */
1657 xmlParserNodeInfoSeq node_seq; /* info about each node parsed */
1658
1659 int errNo; /* error code */
1660
1661 int hasExternalSubset; /* reference and external subset */
1662 int hasPErefs; /* the internal subset has PE refs */
1663 int external; /* are we parsing an external entity */
1664
1665 int valid; /* is the document valid */
1666 int validate; /* shall we try to validate ? */
1667 xmlValidCtxt vctxt; /* The validity context */
1668
1669 xmlParserInputState instate; /* current type of input */
1670 int token; /* next char look-ahead */
1671
1672 char *directory; /* the data directory */
1673
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001674 /* Node name stack */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001675 xmlChar *name; /* Current parsed Node */
1676 int nameNr; /* Depth of the parsing stack */
1677 int nameMax; /* Max depth of the parsing stack */
1678 xmlChar * *nameTab; /* array of nodes */
1679
1680 long nbChars; /* number of xmlChar processed */
1681 long checkIndex; /* used by progressive parsing lookup */
Daniel Veillardf6868712000-01-05 14:58:38 +00001682 int keepBlanks; /* ugly but ... */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001683 int disableSAX; /* SAX callbacks are disabled */
1684 int inSubset; /* Parsing is in int 1/ext 2 subset */
1685 xmlChar * intSubName; /* name of subset */
1686 xmlChar * extSubURI; /* URI of external subset */
1687 xmlChar * extSubSystem; /* SYSTEM ID of external subset */
1688
1689 /* xml:space values */
1690 int * space; /* Should the parser preserve spaces */
1691 int spaceNr; /* Depth of the parsing stack */
1692 int spaceMax; /* Max depth of the parsing stack */
1693 int * spaceTab; /* array of space infos */
1694
1695 int depth; /* to prevent entity substitution loops */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001696 xmlParserInputPtr entity; /* used to check entities boundaries */
1697 int charset; /* encoding of the in-memory content
1698 actually an xmlCharEncoding */
1699 int nodelen; /* Those two fields are there to */
1700 int nodemem; /* Speed up large node parsing */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001701 int pedantic; /* signal pedantic warnings */
1702 void *_private; /* For user data, libxml won't touch it */
Daniel Veillardd194dd22001-02-14 10:37:43 +00001703
1704 int loadsubset; /* should the external subset be loaded */
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001705 int linenumbers; /* set line number in element content */
1706 void *catalogs; /* document's own catalog */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001707};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001708></TD
1709></TR
1710></TABLE
Daniel Veillardb05deb71999-08-10 19:04:08 +00001711><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001712>The parser context.
Daniel Veillard19274092002-03-25 16:48:03 +00001713NOTE This doesn't completely define the parser state, the (current ?)
Daniel Veillardaf43f632002-03-08 15:05:20 +00001714design of the parser uses recursive function calls since this allow
1715and easy mapping from the production rules of the specification
1716to the actual code. The drawback is that the actual function call
1717also reflect the parser state. However most of the parsing routines
1718takes as the only argument the parser context pointer, so migrating
1719to a state based parser for progressive parsing shouldn't be too hard.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001720><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001721></P
1722></DIV
1723><HR><DIV
1724CLASS="REFSECT2"
1725><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001726NAME="AEN391"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001727></A
1728><H3
1729><A
1730NAME="XMLSAXLOCATOR"
1731></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001732>struct xmlSAXLocator</H3
Daniel Veillard71b656e2000-01-05 14:46:17 +00001733><TABLE
1734BORDER="0"
1735BGCOLOR="#D6E8FF"
1736WIDTH="100%"
1737CELLPADDING="6"
1738><TR
1739><TD
1740><PRE
1741CLASS="PROGRAMLISTING"
1742>struct xmlSAXLocator {
1743 const xmlChar *(*getPublicId)(void *ctx);
1744 const xmlChar *(*getSystemId)(void *ctx);
1745 int (*getLineNumber)(void *ctx);
1746 int (*getColumnNumber)(void *ctx);
1747};</PRE
1748></TD
1749></TR
1750></TABLE
1751><P
Daniel Veillard19274092002-03-25 16:48:03 +00001752>A SAX Locator.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001753><P
Daniel Veillard71b656e2000-01-05 14:46:17 +00001754></P
1755></DIV
1756><HR><DIV
1757CLASS="REFSECT2"
1758><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001759NAME="AEN397"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001760></A
1761><H3
1762><A
Daniel Veillard35925471999-02-25 08:46:07 +00001763NAME="RESOLVEENTITYSAXFUNC"
1764></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001765>resolveEntitySAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001766><TABLE
1767BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001768BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001769WIDTH="100%"
1770CELLPADDING="6"
1771><TR
1772><TD
1773><PRE
1774CLASS="PROGRAMLISTING"
1775><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001776HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001777>xmlParserInputPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001778> (*resolveEntitySAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00001779 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001780HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001781>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001782> *publicId,
1783 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001784HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001785>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001786> *systemId);</PRE
1787></TD
1788></TR
1789></TABLE
1790><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001791>Callback:
1792The entity loader, to control the loading of external entities,
1793the application can either:
Daniel Veillardaf43f632002-03-08 15:05:20 +00001794- override this <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001795HREF="libxml-sax.html#RESOLVEENTITY"
1796>resolveEntity</A
1797>() callback in the SAX block
Daniel Veillardaf43f632002-03-08 15:05:20 +00001798- or better use the <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001799HREF="libxml-parser.html#XMLSETEXTERNALENTITYLOADER"
1800>xmlSetExternalEntityLoader</A
1801>() function to
Daniel Veillardaf43f632002-03-08 15:05:20 +00001802set up it's own entity resolution routine</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001803><P
Daniel Veillard35925471999-02-25 08:46:07 +00001804></P
1805><DIV
1806CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001807><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001808NAME="AEN408"><P
Daniel Veillard35925471999-02-25 08:46:07 +00001809></P
1810><TABLE
1811BORDER="0"
1812WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001813BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001814CELLSPACING="0"
1815CELLPADDING="4"
1816CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001817><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001818><TR
1819><TD
1820WIDTH="20%"
1821ALIGN="RIGHT"
1822VALIGN="TOP"
1823><TT
1824CLASS="PARAMETER"
1825><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00001826>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00001827></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001828>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001829><TD
1830WIDTH="80%"
1831ALIGN="LEFT"
1832VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001833> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001834></TR
1835><TR
1836><TD
1837WIDTH="20%"
1838ALIGN="RIGHT"
1839VALIGN="TOP"
1840><TT
1841CLASS="PARAMETER"
1842><I
1843>publicId</I
1844></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001845>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001846><TD
1847WIDTH="80%"
1848ALIGN="LEFT"
1849VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001850> The public ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001851></TR
1852><TR
1853><TD
1854WIDTH="20%"
1855ALIGN="RIGHT"
1856VALIGN="TOP"
1857><TT
1858CLASS="PARAMETER"
1859><I
1860>systemId</I
1861></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001862>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001863><TD
1864WIDTH="80%"
1865ALIGN="LEFT"
1866VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001867> The system ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001868></TR
1869><TR
1870><TD
1871WIDTH="20%"
1872ALIGN="RIGHT"
1873VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001874><SPAN
1875CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00001876><I
1877CLASS="EMPHASIS"
1878>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001879></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00001880> :</TD
1881><TD
1882WIDTH="80%"
1883ALIGN="LEFT"
1884VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001885>the xmlParserInputPtr if inlined or NULL for DOM behaviour.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001886></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001887></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001888></TABLE
1889><P
1890></P
1891></DIV
1892></DIV
1893><HR><DIV
1894CLASS="REFSECT2"
1895><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001896NAME="AEN429"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001897></A
1898><H3
1899><A
1900NAME="INTERNALSUBSETSAXFUNC"
1901></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001902>internalSubsetSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00001903><TABLE
1904BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001905BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001906WIDTH="100%"
1907CELLPADDING="6"
1908><TR
1909><TD
1910><PRE
1911CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00001912>void (*internalSubsetSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001913 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001914HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001915>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001916> *name,
1917 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001918HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001919>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001920> *ExternalID,
1921 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001922HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001923>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001924> *SystemID);</PRE
1925></TD
1926></TR
1927></TABLE
1928><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001929>Callback on internal subset declaration.</P
1930><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00001931></P
1932><DIV
1933CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001934><A
Daniel Veillard539638b2002-07-06 19:55:14 +00001935NAME="AEN438"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00001936></P
1937><TABLE
1938BORDER="0"
1939WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001940BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001941CELLSPACING="0"
1942CELLPADDING="4"
1943CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001944><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00001945><TR
1946><TD
1947WIDTH="20%"
1948ALIGN="RIGHT"
1949VALIGN="TOP"
1950><TT
1951CLASS="PARAMETER"
1952><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00001953>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001954></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001955>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001956><TD
1957WIDTH="80%"
1958ALIGN="LEFT"
1959VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001960> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001961></TR
1962><TR
1963><TD
1964WIDTH="20%"
1965ALIGN="RIGHT"
1966VALIGN="TOP"
1967><TT
1968CLASS="PARAMETER"
1969><I
1970>name</I
1971></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001972>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001973><TD
1974WIDTH="80%"
1975ALIGN="LEFT"
1976VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001977> the root element name</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001978></TR
1979><TR
1980><TD
1981WIDTH="20%"
1982ALIGN="RIGHT"
1983VALIGN="TOP"
1984><TT
1985CLASS="PARAMETER"
1986><I
1987>ExternalID</I
1988></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001989>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001990><TD
1991WIDTH="80%"
1992ALIGN="LEFT"
1993VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001994> the external ID</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001995></TR
1996><TR
1997><TD
1998WIDTH="20%"
1999ALIGN="RIGHT"
2000VALIGN="TOP"
2001><TT
2002CLASS="PARAMETER"
2003><I
2004>SystemID</I
2005></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002006>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002007><TD
2008WIDTH="80%"
2009ALIGN="LEFT"
2010VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002011> the SYSTEM ID (e.g. filename or URL)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002012></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002013></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002014></TABLE
2015><P
2016></P
2017></DIV
2018></DIV
2019><HR><DIV
2020CLASS="REFSECT2"
2021><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002022NAME="AEN459"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002023></A
2024><H3
2025><A
2026NAME="EXTERNALSUBSETSAXFUNC"
2027></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002028>externalSubsetSAXFunc ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002029><TABLE
2030BORDER="0"
2031BGCOLOR="#D6E8FF"
2032WIDTH="100%"
2033CELLPADDING="6"
2034><TR
2035><TD
2036><PRE
2037CLASS="PROGRAMLISTING"
2038>void (*externalSubsetSAXFunc) (void *ctx,
2039 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002040HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002041>xmlChar</A
2042> *name,
2043 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002044HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002045>xmlChar</A
2046> *ExternalID,
2047 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002048HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002049>xmlChar</A
2050> *SystemID);</PRE
2051></TD
2052></TR
2053></TABLE
2054><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002055>Callback on external subset declaration.</P
2056><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002057></P
2058><DIV
2059CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002060><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002061NAME="AEN468"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002062></P
2063><TABLE
2064BORDER="0"
2065WIDTH="100%"
2066BGCOLOR="#FFD0D0"
2067CELLSPACING="0"
2068CELLPADDING="4"
2069CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002070><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002071><TR
2072><TD
2073WIDTH="20%"
2074ALIGN="RIGHT"
2075VALIGN="TOP"
2076><TT
2077CLASS="PARAMETER"
2078><I
2079>ctx</I
2080></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002081>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002082><TD
2083WIDTH="80%"
2084ALIGN="LEFT"
2085VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002086> the user data (XML parser context)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002087></TR
2088><TR
2089><TD
2090WIDTH="20%"
2091ALIGN="RIGHT"
2092VALIGN="TOP"
2093><TT
2094CLASS="PARAMETER"
2095><I
2096>name</I
2097></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002098>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002099><TD
2100WIDTH="80%"
2101ALIGN="LEFT"
2102VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002103> the root element name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002104></TR
2105><TR
2106><TD
2107WIDTH="20%"
2108ALIGN="RIGHT"
2109VALIGN="TOP"
2110><TT
2111CLASS="PARAMETER"
2112><I
2113>ExternalID</I
2114></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002115>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002116><TD
2117WIDTH="80%"
2118ALIGN="LEFT"
2119VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002120> the external ID</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002121></TR
2122><TR
2123><TD
2124WIDTH="20%"
2125ALIGN="RIGHT"
2126VALIGN="TOP"
2127><TT
2128CLASS="PARAMETER"
2129><I
2130>SystemID</I
2131></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002132>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002133><TD
2134WIDTH="80%"
2135ALIGN="LEFT"
2136VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002137> the SYSTEM ID (e.g. filename or URL)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002138></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002139></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002140></TABLE
2141><P
2142></P
2143></DIV
2144></DIV
2145><HR><DIV
2146CLASS="REFSECT2"
2147><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002148NAME="AEN489"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002149></A
2150><H3
2151><A
2152NAME="GETENTITYSAXFUNC"
2153></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002154>getEntitySAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002155><TABLE
2156BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002157BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002158WIDTH="100%"
2159CELLPADDING="6"
2160><TR
2161><TD
2162><PRE
2163CLASS="PROGRAMLISTING"
2164><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002165HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002166>xmlEntityPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00002167> (*getEntitySAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002168 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002169HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002170>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002171> *name);</PRE
2172></TD
2173></TR
2174></TABLE
2175><P
Daniel Veillard19274092002-03-25 16:48:03 +00002176>Get an entity by name.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002177><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002178></P
2179><DIV
2180CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002181><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002182NAME="AEN497"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002183></P
2184><TABLE
2185BORDER="0"
2186WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002187BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002188CELLSPACING="0"
2189CELLPADDING="4"
2190CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002191><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002192><TR
2193><TD
2194WIDTH="20%"
2195ALIGN="RIGHT"
2196VALIGN="TOP"
2197><TT
2198CLASS="PARAMETER"
2199><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002200>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002201></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002202>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002203><TD
2204WIDTH="80%"
2205ALIGN="LEFT"
2206VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002207> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002208></TR
2209><TR
2210><TD
2211WIDTH="20%"
2212ALIGN="RIGHT"
2213VALIGN="TOP"
2214><TT
2215CLASS="PARAMETER"
2216><I
2217>name</I
2218></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002219>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002220><TD
2221WIDTH="80%"
2222ALIGN="LEFT"
2223VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002224> The entity name</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002225></TR
2226><TR
2227><TD
2228WIDTH="20%"
2229ALIGN="RIGHT"
2230VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002231><SPAN
2232CLASS="emphasis"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002233><I
2234CLASS="EMPHASIS"
2235>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002236></SPAN
Daniel Veillard5099ae81999-04-21 20:12:07 +00002237> :</TD
2238><TD
2239WIDTH="80%"
2240ALIGN="LEFT"
2241VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002242>the xmlEntityPtr if found.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002243></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002244></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002245></TABLE
2246><P
2247></P
2248></DIV
2249></DIV
2250><HR><DIV
2251CLASS="REFSECT2"
2252><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002253NAME="AEN514"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002254></A
2255><H3
2256><A
2257NAME="GETPARAMETERENTITYSAXFUNC"
2258></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002259>getParameterEntitySAXFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00002260><TABLE
2261BORDER="0"
2262BGCOLOR="#D6E8FF"
2263WIDTH="100%"
2264CELLPADDING="6"
2265><TR
2266><TD
2267><PRE
2268CLASS="PROGRAMLISTING"
2269><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002270HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002271>xmlEntityPtr</A
2272> (*getParameterEntitySAXFunc) (void *ctx,
2273 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002274HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002275>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002276> *name);</PRE
2277></TD
2278></TR
2279></TABLE
2280><P
Daniel Veillard19274092002-03-25 16:48:03 +00002281>Get a parameter entity by name.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002282><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00002283></P
2284><DIV
2285CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002286><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002287NAME="AEN522"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00002288></P
2289><TABLE
2290BORDER="0"
2291WIDTH="100%"
2292BGCOLOR="#FFD0D0"
2293CELLSPACING="0"
2294CELLPADDING="4"
2295CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002296><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00002297><TR
2298><TD
2299WIDTH="20%"
2300ALIGN="RIGHT"
2301VALIGN="TOP"
2302><TT
2303CLASS="PARAMETER"
2304><I
2305>ctx</I
2306></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002307>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002308><TD
2309WIDTH="80%"
2310ALIGN="LEFT"
2311VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002312> the user data (XML parser context)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002313></TR
2314><TR
2315><TD
2316WIDTH="20%"
2317ALIGN="RIGHT"
2318VALIGN="TOP"
2319><TT
2320CLASS="PARAMETER"
2321><I
2322>name</I
2323></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002324>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002325><TD
2326WIDTH="80%"
2327ALIGN="LEFT"
2328VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002329> The entity name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002330></TR
2331><TR
2332><TD
2333WIDTH="20%"
2334ALIGN="RIGHT"
2335VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00002336><SPAN
2337CLASS="emphasis"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002338><I
2339CLASS="EMPHASIS"
2340>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00002341></SPAN
Daniel Veillardb05deb71999-08-10 19:04:08 +00002342> :</TD
2343><TD
2344WIDTH="80%"
2345ALIGN="LEFT"
2346VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002347>the xmlEntityPtr if found.</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002348></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002349></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00002350></TABLE
2351><P
2352></P
2353></DIV
2354></DIV
2355><HR><DIV
2356CLASS="REFSECT2"
2357><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002358NAME="AEN539"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002359></A
2360><H3
2361><A
2362NAME="ENTITYDECLSAXFUNC"
2363></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002364>entityDeclSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002365><TABLE
2366BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002367BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002368WIDTH="100%"
2369CELLPADDING="6"
2370><TR
2371><TD
2372><PRE
2373CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002374>void (*entityDeclSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002375 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002376HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002377>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002378> *name,
2379 int type,
2380 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002381HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002382>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002383> *publicId,
2384 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002385HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002386>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002387> *systemId,
2388 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002389HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002390>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002391> *content);</PRE
2392></TD
2393></TR
2394></TABLE
2395><P
Daniel Veillard19274092002-03-25 16:48:03 +00002396>An entity definition has been parsed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002397><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002398></P
2399><DIV
2400CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002401><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002402NAME="AEN549"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002403></P
2404><TABLE
2405BORDER="0"
2406WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002407BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002408CELLSPACING="0"
2409CELLPADDING="4"
2410CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002411><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002412><TR
2413><TD
2414WIDTH="20%"
2415ALIGN="RIGHT"
2416VALIGN="TOP"
2417><TT
2418CLASS="PARAMETER"
2419><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002420>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002421></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002422>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002423><TD
2424WIDTH="80%"
2425ALIGN="LEFT"
2426VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002427> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002428></TR
2429><TR
2430><TD
2431WIDTH="20%"
2432ALIGN="RIGHT"
2433VALIGN="TOP"
2434><TT
2435CLASS="PARAMETER"
2436><I
2437>name</I
2438></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002439>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002440><TD
2441WIDTH="80%"
2442ALIGN="LEFT"
2443VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002444> the entity name </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002445></TR
2446><TR
2447><TD
2448WIDTH="20%"
2449ALIGN="RIGHT"
2450VALIGN="TOP"
2451><TT
2452CLASS="PARAMETER"
2453><I
2454>type</I
2455></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002456>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002457><TD
2458WIDTH="80%"
2459ALIGN="LEFT"
2460VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002461> the entity type </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002462></TR
2463><TR
2464><TD
2465WIDTH="20%"
2466ALIGN="RIGHT"
2467VALIGN="TOP"
2468><TT
2469CLASS="PARAMETER"
2470><I
2471>publicId</I
2472></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002473>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002474><TD
2475WIDTH="80%"
2476ALIGN="LEFT"
2477VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002478> The public ID of the entity</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002479></TR
2480><TR
2481><TD
2482WIDTH="20%"
2483ALIGN="RIGHT"
2484VALIGN="TOP"
2485><TT
2486CLASS="PARAMETER"
2487><I
2488>systemId</I
2489></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002490>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002491><TD
2492WIDTH="80%"
2493ALIGN="LEFT"
2494VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002495> The system ID of the entity</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002496></TR
2497><TR
2498><TD
2499WIDTH="20%"
2500ALIGN="RIGHT"
2501VALIGN="TOP"
2502><TT
2503CLASS="PARAMETER"
2504><I
2505>content</I
2506></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002507>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002508><TD
2509WIDTH="80%"
2510ALIGN="LEFT"
2511VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002512> the entity value (without processing).</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002513></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002514></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002515></TABLE
2516><P
2517></P
2518></DIV
2519></DIV
2520><HR><DIV
2521CLASS="REFSECT2"
2522><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002523NAME="AEN578"
Daniel Veillard35925471999-02-25 08:46:07 +00002524></A
2525><H3
2526><A
2527NAME="NOTATIONDECLSAXFUNC"
2528></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002529>notationDeclSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002530><TABLE
2531BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002532BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002533WIDTH="100%"
2534CELLPADDING="6"
2535><TR
2536><TD
2537><PRE
2538CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002539>void (*notationDeclSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00002540 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002541HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002542>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002543> *name,
2544 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002545HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002546>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002547> *publicId,
2548 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002549HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002550>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002551> *systemId);</PRE
2552></TD
2553></TR
2554></TABLE
2555><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002556>What to do when a notation declaration has been parsed.</P
2557><P
Daniel Veillard35925471999-02-25 08:46:07 +00002558></P
2559><DIV
2560CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002561><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002562NAME="AEN587"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002563></P
2564><TABLE
2565BORDER="0"
2566WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002567BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002568CELLSPACING="0"
2569CELLPADDING="4"
2570CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002571><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002572><TR
2573><TD
2574WIDTH="20%"
2575ALIGN="RIGHT"
2576VALIGN="TOP"
2577><TT
2578CLASS="PARAMETER"
2579><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002580>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00002581></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002582>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002583><TD
2584WIDTH="80%"
2585ALIGN="LEFT"
2586VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002587> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002588></TR
2589><TR
2590><TD
2591WIDTH="20%"
2592ALIGN="RIGHT"
2593VALIGN="TOP"
2594><TT
2595CLASS="PARAMETER"
2596><I
2597>name</I
2598></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002599>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002600><TD
2601WIDTH="80%"
2602ALIGN="LEFT"
2603VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002604> The name of the notation</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002605></TR
2606><TR
2607><TD
2608WIDTH="20%"
2609ALIGN="RIGHT"
2610VALIGN="TOP"
2611><TT
2612CLASS="PARAMETER"
2613><I
2614>publicId</I
2615></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002616>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002617><TD
2618WIDTH="80%"
2619ALIGN="LEFT"
2620VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002621> The public ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002622></TR
2623><TR
2624><TD
2625WIDTH="20%"
2626ALIGN="RIGHT"
2627VALIGN="TOP"
2628><TT
2629CLASS="PARAMETER"
2630><I
2631>systemId</I
2632></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002633>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002634><TD
2635WIDTH="80%"
2636ALIGN="LEFT"
2637VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002638> The system ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002639></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002640></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002641></TABLE
2642><P
2643></P
2644></DIV
2645></DIV
2646><HR><DIV
2647CLASS="REFSECT2"
2648><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002649NAME="AEN608"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002650></A
2651><H3
2652><A
2653NAME="ATTRIBUTEDECLSAXFUNC"
2654></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002655>attributeDeclSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002656><TABLE
2657BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002658BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002659WIDTH="100%"
2660CELLPADDING="6"
2661><TR
2662><TD
2663><PRE
2664CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002665>void (*attributeDeclSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002666 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002667HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002668>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002669> *elem,
2670 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002671HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002672>xmlChar</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002673> *fullname,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002674 int type,
2675 int def,
2676 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002677HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002678>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002679> *defaultValue,
2680 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002681HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002682>xmlEnumerationPtr</A
2683> tree);</PRE
2684></TD
2685></TR
2686></TABLE
2687><P
Daniel Veillard19274092002-03-25 16:48:03 +00002688>An attribute definition has been parsed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002689><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002690></P
2691><DIV
2692CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002693><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002694NAME="AEN618"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002695></P
2696><TABLE
2697BORDER="0"
2698WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002699BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002700CELLSPACING="0"
2701CELLPADDING="4"
2702CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002703><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002704><TR
2705><TD
2706WIDTH="20%"
2707ALIGN="RIGHT"
2708VALIGN="TOP"
2709><TT
2710CLASS="PARAMETER"
2711><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002712>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002713></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002714>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002715><TD
2716WIDTH="80%"
2717ALIGN="LEFT"
2718VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002719> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002720></TR
2721><TR
2722><TD
2723WIDTH="20%"
2724ALIGN="RIGHT"
2725VALIGN="TOP"
2726><TT
2727CLASS="PARAMETER"
2728><I
2729>elem</I
2730></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002731>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002732><TD
2733WIDTH="80%"
2734ALIGN="LEFT"
2735VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002736> the name of the element</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002737></TR
2738><TR
2739><TD
2740WIDTH="20%"
2741ALIGN="RIGHT"
2742VALIGN="TOP"
2743><TT
2744CLASS="PARAMETER"
2745><I
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002746>fullname</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002747></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002748>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002749><TD
2750WIDTH="80%"
2751ALIGN="LEFT"
2752VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002753> the attribute name </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002754></TR
2755><TR
2756><TD
2757WIDTH="20%"
2758ALIGN="RIGHT"
2759VALIGN="TOP"
2760><TT
2761CLASS="PARAMETER"
2762><I
2763>type</I
2764></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002765>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002766><TD
2767WIDTH="80%"
2768ALIGN="LEFT"
2769VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002770> the attribute type </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002771></TR
2772><TR
2773><TD
2774WIDTH="20%"
2775ALIGN="RIGHT"
2776VALIGN="TOP"
2777><TT
2778CLASS="PARAMETER"
2779><I
2780>def</I
2781></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002782>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002783><TD
2784WIDTH="80%"
2785ALIGN="LEFT"
2786VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002787> the type of default value</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002788></TR
2789><TR
2790><TD
2791WIDTH="20%"
2792ALIGN="RIGHT"
2793VALIGN="TOP"
2794><TT
2795CLASS="PARAMETER"
2796><I
2797>defaultValue</I
2798></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002799>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002800><TD
2801WIDTH="80%"
2802ALIGN="LEFT"
2803VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002804> the attribute default value</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002805></TR
2806><TR
2807><TD
2808WIDTH="20%"
2809ALIGN="RIGHT"
2810VALIGN="TOP"
2811><TT
2812CLASS="PARAMETER"
2813><I
2814>tree</I
2815></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002816>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002817><TD
2818WIDTH="80%"
2819ALIGN="LEFT"
2820VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002821> the tree of enumerated value set</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002822></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002823></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002824></TABLE
2825><P
2826></P
2827></DIV
2828></DIV
2829><HR><DIV
2830CLASS="REFSECT2"
2831><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002832NAME="AEN651"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002833></A
2834><H3
2835><A
2836NAME="ELEMENTDECLSAXFUNC"
2837></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002838>elementDeclSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002839><TABLE
2840BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002841BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002842WIDTH="100%"
2843CELLPADDING="6"
2844><TR
2845><TD
2846><PRE
2847CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002848>void (*elementDeclSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002849 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002850HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002851>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002852> *name,
2853 int type,
2854 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002855HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002856>xmlElementContentPtr</A
2857> content);</PRE
2858></TD
2859></TR
2860></TABLE
2861><P
Daniel Veillard19274092002-03-25 16:48:03 +00002862>An element definition has been parsed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002863><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002864></P
2865><DIV
2866CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002867><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002868NAME="AEN659"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002869></P
2870><TABLE
2871BORDER="0"
2872WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002873BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002874CELLSPACING="0"
2875CELLPADDING="4"
2876CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002877><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002878><TR
2879><TD
2880WIDTH="20%"
2881ALIGN="RIGHT"
2882VALIGN="TOP"
2883><TT
2884CLASS="PARAMETER"
2885><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002886>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002887></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002888>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002889><TD
2890WIDTH="80%"
2891ALIGN="LEFT"
2892VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002893> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002894></TR
2895><TR
2896><TD
2897WIDTH="20%"
2898ALIGN="RIGHT"
2899VALIGN="TOP"
2900><TT
2901CLASS="PARAMETER"
2902><I
2903>name</I
2904></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002905>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002906><TD
2907WIDTH="80%"
2908ALIGN="LEFT"
2909VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002910> the element name </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002911></TR
2912><TR
2913><TD
2914WIDTH="20%"
2915ALIGN="RIGHT"
2916VALIGN="TOP"
2917><TT
2918CLASS="PARAMETER"
2919><I
2920>type</I
2921></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002922>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002923><TD
2924WIDTH="80%"
2925ALIGN="LEFT"
2926VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002927> the element type </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002928></TR
2929><TR
2930><TD
2931WIDTH="20%"
2932ALIGN="RIGHT"
2933VALIGN="TOP"
2934><TT
2935CLASS="PARAMETER"
2936><I
2937>content</I
2938></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002939>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002940><TD
2941WIDTH="80%"
2942ALIGN="LEFT"
2943VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002944> the element value tree</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002945></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002946></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002947></TABLE
2948><P
2949></P
2950></DIV
2951></DIV
2952><HR><DIV
2953CLASS="REFSECT2"
2954><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002955NAME="AEN680"
Daniel Veillard35925471999-02-25 08:46:07 +00002956></A
2957><H3
2958><A
2959NAME="UNPARSEDENTITYDECLSAXFUNC"
2960></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002961>unparsedEntityDeclSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002962><TABLE
2963BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002964BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002965WIDTH="100%"
2966CELLPADDING="6"
2967><TR
2968><TD
2969><PRE
2970CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002971>void (*unparsedEntityDeclSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00002972 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002973HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002974>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002975> *name,
2976 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002977HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002978>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002979> *publicId,
2980 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002981HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002982>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002983> *systemId,
2984 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002985HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002986>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002987> *notationName);</PRE
2988></TD
2989></TR
2990></TABLE
2991><P
Daniel Veillard19274092002-03-25 16:48:03 +00002992>What to do when an unparsed entity declaration is parsed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002993><P
Daniel Veillard35925471999-02-25 08:46:07 +00002994></P
2995><DIV
2996CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002997><A
Daniel Veillard539638b2002-07-06 19:55:14 +00002998NAME="AEN690"><P
Daniel Veillard35925471999-02-25 08:46:07 +00002999></P
3000><TABLE
3001BORDER="0"
3002WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003003BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003004CELLSPACING="0"
3005CELLPADDING="4"
3006CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003007><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003008><TR
3009><TD
3010WIDTH="20%"
3011ALIGN="RIGHT"
3012VALIGN="TOP"
3013><TT
3014CLASS="PARAMETER"
3015><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003016>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003017></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003018>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003019><TD
3020WIDTH="80%"
3021ALIGN="LEFT"
3022VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003023> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003024></TR
3025><TR
3026><TD
3027WIDTH="20%"
3028ALIGN="RIGHT"
3029VALIGN="TOP"
3030><TT
3031CLASS="PARAMETER"
3032><I
3033>name</I
3034></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003035>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003036><TD
3037WIDTH="80%"
3038ALIGN="LEFT"
3039VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003040> The name of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003041></TR
3042><TR
3043><TD
3044WIDTH="20%"
3045ALIGN="RIGHT"
3046VALIGN="TOP"
3047><TT
3048CLASS="PARAMETER"
3049><I
3050>publicId</I
3051></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003052>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003053><TD
3054WIDTH="80%"
3055ALIGN="LEFT"
3056VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003057> The public ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003058></TR
3059><TR
3060><TD
3061WIDTH="20%"
3062ALIGN="RIGHT"
3063VALIGN="TOP"
3064><TT
3065CLASS="PARAMETER"
3066><I
3067>systemId</I
3068></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003069>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003070><TD
3071WIDTH="80%"
3072ALIGN="LEFT"
3073VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003074> The system ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003075></TR
3076><TR
3077><TD
3078WIDTH="20%"
3079ALIGN="RIGHT"
3080VALIGN="TOP"
3081><TT
3082CLASS="PARAMETER"
3083><I
3084>notationName</I
3085></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003086>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003087><TD
3088WIDTH="80%"
3089ALIGN="LEFT"
3090VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003091> the name of the notation</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003092></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003093></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003094></TABLE
3095><P
3096></P
3097></DIV
3098></DIV
3099><HR><DIV
3100CLASS="REFSECT2"
3101><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003102NAME="AEN715"
Daniel Veillard35925471999-02-25 08:46:07 +00003103></A
3104><H3
3105><A
3106NAME="SETDOCUMENTLOCATORSAXFUNC"
3107></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003108>setDocumentLocatorSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003109><TABLE
3110BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003111BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003112WIDTH="100%"
3113CELLPADDING="6"
3114><TR
3115><TD
3116><PRE
3117CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003118>void (*setDocumentLocatorSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003119 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003120HREF="libxml-tree.html#XMLSAXLOCATORPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003121>xmlSAXLocatorPtr</A
3122> loc);</PRE
3123></TD
3124></TR
3125></TABLE
3126><P
Daniel Veillard19274092002-03-25 16:48:03 +00003127>Receive the document locator at startup, actually xmlDefaultSAXLocator.
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003128Everything is available on the context, so this is useless in our case.</P
3129><P
Daniel Veillard35925471999-02-25 08:46:07 +00003130></P
3131><DIV
3132CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003133><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003134NAME="AEN722"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003135></P
3136><TABLE
3137BORDER="0"
3138WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003139BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003140CELLSPACING="0"
3141CELLPADDING="4"
3142CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003143><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003144><TR
3145><TD
3146WIDTH="20%"
3147ALIGN="RIGHT"
3148VALIGN="TOP"
3149><TT
3150CLASS="PARAMETER"
3151><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003152>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003153></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003154>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003155><TD
3156WIDTH="80%"
3157ALIGN="LEFT"
3158VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003159> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003160></TR
3161><TR
3162><TD
3163WIDTH="20%"
3164ALIGN="RIGHT"
3165VALIGN="TOP"
3166><TT
3167CLASS="PARAMETER"
3168><I
3169>loc</I
3170></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003171>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003172><TD
3173WIDTH="80%"
3174ALIGN="LEFT"
3175VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003176> A SAX Locator</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003177></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003178></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003179></TABLE
3180><P
3181></P
3182></DIV
3183></DIV
3184><HR><DIV
3185CLASS="REFSECT2"
3186><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003187NAME="AEN735"
Daniel Veillard35925471999-02-25 08:46:07 +00003188></A
3189><H3
3190><A
3191NAME="STARTDOCUMENTSAXFUNC"
3192></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003193>startDocumentSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003194><TABLE
3195BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003196BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003197WIDTH="100%"
3198CELLPADDING="6"
3199><TR
3200><TD
3201><PRE
3202CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003203>void (*startDocumentSAXFunc) (void *ctx);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003204></TD
3205></TR
3206></TABLE
3207><P
Daniel Veillard19274092002-03-25 16:48:03 +00003208>Called when the document start being processed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003209><P
Daniel Veillard35925471999-02-25 08:46:07 +00003210></P
3211><DIV
3212CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003213><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003214NAME="AEN741"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003215></P
3216><TABLE
3217BORDER="0"
3218WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003219BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003220CELLSPACING="0"
3221CELLPADDING="4"
3222CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003223><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003224><TR
3225><TD
3226WIDTH="20%"
3227ALIGN="RIGHT"
3228VALIGN="TOP"
3229><TT
3230CLASS="PARAMETER"
3231><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003232>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003233></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003234>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003235><TD
3236WIDTH="80%"
3237ALIGN="LEFT"
3238VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003239> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003240></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003241></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003242></TABLE
3243><P
3244></P
3245></DIV
3246></DIV
3247><HR><DIV
3248CLASS="REFSECT2"
3249><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003250NAME="AEN750"
Daniel Veillard35925471999-02-25 08:46:07 +00003251></A
3252><H3
3253><A
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003254NAME="ENDDOCUMENTSAXFUNC"
3255></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003256>endDocumentSAXFunc ()</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003257><TABLE
3258BORDER="0"
3259BGCOLOR="#D6E8FF"
3260WIDTH="100%"
3261CELLPADDING="6"
3262><TR
3263><TD
3264><PRE
3265CLASS="PROGRAMLISTING"
3266>void (*endDocumentSAXFunc) (void *ctx);</PRE
3267></TD
3268></TR
3269></TABLE
3270><P
Daniel Veillard19274092002-03-25 16:48:03 +00003271>Called when the document end has been detected.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003272><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003273></P
3274><DIV
3275CLASS="INFORMALTABLE"
3276><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003277NAME="AEN756"><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003278></P
3279><TABLE
3280BORDER="0"
3281WIDTH="100%"
3282BGCOLOR="#FFD0D0"
3283CELLSPACING="0"
3284CELLPADDING="4"
3285CLASS="CALSTABLE"
3286><TBODY
3287><TR
3288><TD
3289WIDTH="20%"
3290ALIGN="RIGHT"
3291VALIGN="TOP"
3292><TT
3293CLASS="PARAMETER"
3294><I
3295>ctx</I
3296></TT
3297>&nbsp;:</TD
3298><TD
3299WIDTH="80%"
3300ALIGN="LEFT"
3301VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003302> the user data (XML parser context)</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003303></TR
3304></TBODY
3305></TABLE
3306><P
3307></P
3308></DIV
3309></DIV
3310><HR><DIV
3311CLASS="REFSECT2"
3312><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003313NAME="AEN765"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003314></A
3315><H3
3316><A
Daniel Veillard35925471999-02-25 08:46:07 +00003317NAME="STARTELEMENTSAXFUNC"
3318></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003319>startElementSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003320><TABLE
3321BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003322BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003323WIDTH="100%"
3324CELLPADDING="6"
3325><TR
3326><TD
3327><PRE
3328CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003329>void (*startElementSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003330 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003331HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003332>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003333> *name,
3334 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003335HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003336>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003337> **atts);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003338></TD
3339></TR
3340></TABLE
3341><P
Daniel Veillard19274092002-03-25 16:48:03 +00003342>Called when an opening tag has been processed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003343><P
Daniel Veillard35925471999-02-25 08:46:07 +00003344></P
3345><DIV
3346CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003347><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003348NAME="AEN773"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003349></P
3350><TABLE
3351BORDER="0"
3352WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003353BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003354CELLSPACING="0"
3355CELLPADDING="4"
3356CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003357><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003358><TR
3359><TD
3360WIDTH="20%"
3361ALIGN="RIGHT"
3362VALIGN="TOP"
3363><TT
3364CLASS="PARAMETER"
3365><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003366>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003367></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003368>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003369><TD
3370WIDTH="80%"
3371ALIGN="LEFT"
3372VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003373> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003374></TR
3375><TR
3376><TD
3377WIDTH="20%"
3378ALIGN="RIGHT"
3379VALIGN="TOP"
3380><TT
3381CLASS="PARAMETER"
3382><I
3383>name</I
3384></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003385>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003386><TD
3387WIDTH="80%"
3388ALIGN="LEFT"
3389VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003390> The element name, including namespace prefix</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003391></TR
Daniel Veillard5099ae81999-04-21 20:12:07 +00003392><TR
3393><TD
3394WIDTH="20%"
3395ALIGN="RIGHT"
3396VALIGN="TOP"
3397><TT
3398CLASS="PARAMETER"
3399><I
3400>atts</I
3401></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003402>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003403><TD
3404WIDTH="80%"
3405ALIGN="LEFT"
3406VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003407> An array of name/value attributes pairs, NULL terminated</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003408></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003409></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003410></TABLE
3411><P
3412></P
3413></DIV
3414></DIV
3415><HR><DIV
3416CLASS="REFSECT2"
3417><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003418NAME="AEN790"
Daniel Veillard35925471999-02-25 08:46:07 +00003419></A
3420><H3
3421><A
3422NAME="ENDELEMENTSAXFUNC"
3423></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003424>endElementSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003425><TABLE
3426BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003427BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003428WIDTH="100%"
3429CELLPADDING="6"
3430><TR
3431><TD
3432><PRE
3433CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003434>void (*endElementSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003435 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003436HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003437>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003438> *name);</PRE
3439></TD
3440></TR
3441></TABLE
3442><P
Daniel Veillard19274092002-03-25 16:48:03 +00003443>Called when the end of an element has been detected.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003444><P
Daniel Veillard35925471999-02-25 08:46:07 +00003445></P
3446><DIV
3447CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003448><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003449NAME="AEN797"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003450></P
3451><TABLE
3452BORDER="0"
3453WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003454BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003455CELLSPACING="0"
3456CELLPADDING="4"
3457CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003458><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003459><TR
3460><TD
3461WIDTH="20%"
3462ALIGN="RIGHT"
3463VALIGN="TOP"
3464><TT
3465CLASS="PARAMETER"
3466><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003467>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003468></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003469>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003470><TD
3471WIDTH="80%"
3472ALIGN="LEFT"
3473VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003474> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003475></TR
3476><TR
3477><TD
3478WIDTH="20%"
3479ALIGN="RIGHT"
3480VALIGN="TOP"
3481><TT
3482CLASS="PARAMETER"
3483><I
3484>name</I
3485></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003486>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003487><TD
3488WIDTH="80%"
3489ALIGN="LEFT"
3490VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003491> The element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003492></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003493></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003494></TABLE
3495><P
3496></P
3497></DIV
3498></DIV
3499><HR><DIV
3500CLASS="REFSECT2"
3501><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003502NAME="AEN810"
Daniel Veillard35925471999-02-25 08:46:07 +00003503></A
3504><H3
3505><A
3506NAME="ATTRIBUTESAXFUNC"
3507></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003508>attributeSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003509><TABLE
3510BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003511BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003512WIDTH="100%"
3513CELLPADDING="6"
3514><TR
3515><TD
3516><PRE
3517CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003518>void (*attributeSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003519 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003520HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003521>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003522> *name,
3523 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003524HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003525>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003526> *value);</PRE
3527></TD
3528></TR
3529></TABLE
3530><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003531>Handle an attribute that has been read by the parser.
3532The default handling is to convert the attribute into an
3533DOM subtree and past it in a new xmlAttr element added to
3534the element.</P
3535><P
Daniel Veillard35925471999-02-25 08:46:07 +00003536></P
3537><DIV
3538CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003539><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003540NAME="AEN818"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003541></P
3542><TABLE
3543BORDER="0"
3544WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003545BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003546CELLSPACING="0"
3547CELLPADDING="4"
3548CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003549><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003550><TR
3551><TD
3552WIDTH="20%"
3553ALIGN="RIGHT"
3554VALIGN="TOP"
3555><TT
3556CLASS="PARAMETER"
3557><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003558>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003559></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003560>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003561><TD
3562WIDTH="80%"
3563ALIGN="LEFT"
3564VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003565> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003566></TR
3567><TR
3568><TD
3569WIDTH="20%"
3570ALIGN="RIGHT"
3571VALIGN="TOP"
3572><TT
3573CLASS="PARAMETER"
3574><I
3575>name</I
3576></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003577>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003578><TD
3579WIDTH="80%"
3580ALIGN="LEFT"
3581VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003582> The attribute name, including namespace prefix</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003583></TR
3584><TR
3585><TD
3586WIDTH="20%"
3587ALIGN="RIGHT"
3588VALIGN="TOP"
3589><TT
3590CLASS="PARAMETER"
3591><I
3592>value</I
3593></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003594>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003595><TD
3596WIDTH="80%"
3597ALIGN="LEFT"
3598VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003599> The attribute value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003600></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003601></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003602></TABLE
3603><P
3604></P
3605></DIV
3606></DIV
3607><HR><DIV
3608CLASS="REFSECT2"
3609><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003610NAME="AEN835"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003611></A
3612><H3
3613><A
3614NAME="REFERENCESAXFUNC"
3615></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003616>referenceSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003617><TABLE
3618BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003619BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003620WIDTH="100%"
3621CELLPADDING="6"
3622><TR
3623><TD
3624><PRE
3625CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003626>void (*referenceSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003627 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003628HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003629>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003630> *name);</PRE
3631></TD
3632></TR
3633></TABLE
3634><P
Daniel Veillard19274092002-03-25 16:48:03 +00003635>Called when an entity reference is detected.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003636><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00003637></P
3638><DIV
3639CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003640><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003641NAME="AEN842"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00003642></P
3643><TABLE
3644BORDER="0"
3645WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003646BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003647CELLSPACING="0"
3648CELLPADDING="4"
3649CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003650><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00003651><TR
3652><TD
3653WIDTH="20%"
3654ALIGN="RIGHT"
3655VALIGN="TOP"
3656><TT
3657CLASS="PARAMETER"
3658><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003659>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003660></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003661>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003662><TD
3663WIDTH="80%"
3664ALIGN="LEFT"
3665VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003666> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003667></TR
3668><TR
3669><TD
3670WIDTH="20%"
3671ALIGN="RIGHT"
3672VALIGN="TOP"
3673><TT
3674CLASS="PARAMETER"
3675><I
3676>name</I
3677></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003678>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003679><TD
3680WIDTH="80%"
3681ALIGN="LEFT"
3682VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003683> The entity name</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003684></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003685></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00003686></TABLE
3687><P
3688></P
3689></DIV
3690></DIV
3691><HR><DIV
3692CLASS="REFSECT2"
3693><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003694NAME="AEN855"
Daniel Veillard35925471999-02-25 08:46:07 +00003695></A
3696><H3
3697><A
3698NAME="CHARACTERSSAXFUNC"
3699></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003700>charactersSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003701><TABLE
3702BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003703BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003704WIDTH="100%"
3705CELLPADDING="6"
3706><TR
3707><TD
3708><PRE
3709CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003710>void (*charactersSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003711 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003712HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003713>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003714> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +00003715 int len);</PRE
3716></TD
3717></TR
3718></TABLE
3719><P
Daniel Veillard19274092002-03-25 16:48:03 +00003720>Receiving some chars from the parser.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003721><P
Daniel Veillard35925471999-02-25 08:46:07 +00003722></P
3723><DIV
3724CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003725><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003726NAME="AEN862"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003727></P
3728><TABLE
3729BORDER="0"
3730WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003731BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003732CELLSPACING="0"
3733CELLPADDING="4"
3734CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003735><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003736><TR
3737><TD
3738WIDTH="20%"
3739ALIGN="RIGHT"
3740VALIGN="TOP"
3741><TT
3742CLASS="PARAMETER"
3743><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003744>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003745></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003746>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003747><TD
3748WIDTH="80%"
3749ALIGN="LEFT"
3750VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003751> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003752></TR
3753><TR
3754><TD
3755WIDTH="20%"
3756ALIGN="RIGHT"
3757VALIGN="TOP"
3758><TT
3759CLASS="PARAMETER"
3760><I
3761>ch</I
3762></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003763>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003764><TD
3765WIDTH="80%"
3766ALIGN="LEFT"
3767VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003768> a xmlChar string</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003769></TR
3770><TR
3771><TD
3772WIDTH="20%"
3773ALIGN="RIGHT"
3774VALIGN="TOP"
3775><TT
3776CLASS="PARAMETER"
3777><I
Daniel Veillard35925471999-02-25 08:46:07 +00003778>len</I
3779></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003780>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003781><TD
3782WIDTH="80%"
3783ALIGN="LEFT"
3784VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003785> the number of xmlChar</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003786></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003787></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003788></TABLE
3789><P
3790></P
3791></DIV
3792></DIV
3793><HR><DIV
3794CLASS="REFSECT2"
3795><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003796NAME="AEN879"
Daniel Veillard35925471999-02-25 08:46:07 +00003797></A
3798><H3
3799><A
3800NAME="IGNORABLEWHITESPACESAXFUNC"
3801></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003802>ignorableWhitespaceSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003803><TABLE
3804BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003805BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003806WIDTH="100%"
3807CELLPADDING="6"
3808><TR
3809><TD
3810><PRE
3811CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003812>void (*ignorableWhitespaceSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003813 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003814HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003815>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003816> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +00003817 int len);</PRE
3818></TD
3819></TR
3820></TABLE
3821><P
Daniel Veillard19274092002-03-25 16:48:03 +00003822>Receiving some ignorable whitespaces from the parser.
3823UNUSED: by default the DOM building will use characters.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003824><P
Daniel Veillard35925471999-02-25 08:46:07 +00003825></P
3826><DIV
3827CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003828><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003829NAME="AEN886"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003830></P
3831><TABLE
3832BORDER="0"
3833WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003834BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003835CELLSPACING="0"
3836CELLPADDING="4"
3837CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003838><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003839><TR
3840><TD
3841WIDTH="20%"
3842ALIGN="RIGHT"
3843VALIGN="TOP"
3844><TT
3845CLASS="PARAMETER"
3846><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003847>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003848></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003849>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003850><TD
3851WIDTH="80%"
3852ALIGN="LEFT"
3853VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003854> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003855></TR
3856><TR
3857><TD
3858WIDTH="20%"
3859ALIGN="RIGHT"
3860VALIGN="TOP"
3861><TT
3862CLASS="PARAMETER"
3863><I
3864>ch</I
3865></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003866>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003867><TD
3868WIDTH="80%"
3869ALIGN="LEFT"
3870VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003871> a xmlChar string</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003872></TR
3873><TR
3874><TD
3875WIDTH="20%"
3876ALIGN="RIGHT"
3877VALIGN="TOP"
3878><TT
3879CLASS="PARAMETER"
3880><I
Daniel Veillard35925471999-02-25 08:46:07 +00003881>len</I
3882></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003883>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003884><TD
3885WIDTH="80%"
3886ALIGN="LEFT"
3887VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003888> the number of xmlChar</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003889></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003890></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003891></TABLE
3892><P
3893></P
3894></DIV
3895></DIV
3896><HR><DIV
3897CLASS="REFSECT2"
3898><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003899NAME="AEN903"
Daniel Veillard35925471999-02-25 08:46:07 +00003900></A
3901><H3
3902><A
3903NAME="PROCESSINGINSTRUCTIONSAXFUNC"
3904></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003905>processingInstructionSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003906><TABLE
3907BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003908BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003909WIDTH="100%"
3910CELLPADDING="6"
3911><TR
3912><TD
3913><PRE
3914CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003915>void (*processingInstructionSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003916 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003917HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003918>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003919> *target,
3920 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003921HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003922>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003923> *data);</PRE
3924></TD
3925></TR
3926></TABLE
3927><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003928>A processing instruction has been parsed.</P
3929><P
Daniel Veillard35925471999-02-25 08:46:07 +00003930></P
3931><DIV
3932CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003933><A
Daniel Veillard539638b2002-07-06 19:55:14 +00003934NAME="AEN911"><P
Daniel Veillard35925471999-02-25 08:46:07 +00003935></P
3936><TABLE
3937BORDER="0"
3938WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003939BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003940CELLSPACING="0"
3941CELLPADDING="4"
3942CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003943><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003944><TR
3945><TD
3946WIDTH="20%"
3947ALIGN="RIGHT"
3948VALIGN="TOP"
3949><TT
3950CLASS="PARAMETER"
3951><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003952>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003953></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003954>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003955><TD
3956WIDTH="80%"
3957ALIGN="LEFT"
3958VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003959> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003960></TR
3961><TR
3962><TD
3963WIDTH="20%"
3964ALIGN="RIGHT"
3965VALIGN="TOP"
3966><TT
3967CLASS="PARAMETER"
3968><I
3969>target</I
3970></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003971>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003972><TD
3973WIDTH="80%"
3974ALIGN="LEFT"
3975VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003976> the target name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003977></TR
3978><TR
3979><TD
3980WIDTH="20%"
3981ALIGN="RIGHT"
3982VALIGN="TOP"
3983><TT
3984CLASS="PARAMETER"
3985><I
3986>data</I
3987></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003988>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003989><TD
3990WIDTH="80%"
3991ALIGN="LEFT"
3992VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003993> the PI data's</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003994></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003995></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003996></TABLE
3997><P
3998></P
3999></DIV
4000></DIV
4001><HR><DIV
4002CLASS="REFSECT2"
4003><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004004NAME="AEN928"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004005></A
4006><H3
4007><A
4008NAME="COMMENTSAXFUNC"
4009></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004010>commentSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004011><TABLE
4012BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004013BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004014WIDTH="100%"
4015CELLPADDING="6"
4016><TR
4017><TD
4018><PRE
4019CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004020>void (*commentSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00004021 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004022HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004023>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004024> *value);</PRE
4025></TD
4026></TR
4027></TABLE
4028><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004029>A comment has been parsed.</P
4030><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004031></P
4032><DIV
4033CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004034><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004035NAME="AEN935"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004036></P
4037><TABLE
4038BORDER="0"
4039WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004040BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004041CELLSPACING="0"
4042CELLPADDING="4"
4043CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004044><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004045><TR
4046><TD
4047WIDTH="20%"
4048ALIGN="RIGHT"
4049VALIGN="TOP"
4050><TT
4051CLASS="PARAMETER"
4052><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004053>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004054></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004055>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004056><TD
4057WIDTH="80%"
4058ALIGN="LEFT"
4059VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004060> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004061></TR
4062><TR
4063><TD
4064WIDTH="20%"
4065ALIGN="RIGHT"
4066VALIGN="TOP"
4067><TT
4068CLASS="PARAMETER"
4069><I
4070>value</I
4071></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004072>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004073><TD
4074WIDTH="80%"
4075ALIGN="LEFT"
4076VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004077> the comment content</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004078></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004079></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004080></TABLE
4081><P
4082></P
4083></DIV
4084></DIV
4085><HR><DIV
4086CLASS="REFSECT2"
4087><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004088NAME="AEN948"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004089></A
4090><H3
4091><A
4092NAME="CDATABLOCKSAXFUNC"
4093></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004094>cdataBlockSAXFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00004095><TABLE
4096BORDER="0"
4097BGCOLOR="#D6E8FF"
4098WIDTH="100%"
4099CELLPADDING="6"
4100><TR
4101><TD
4102><PRE
4103CLASS="PROGRAMLISTING"
4104>void (*cdataBlockSAXFunc) (void *ctx,
4105 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004106HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004107>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004108> *value,
4109 int len);</PRE
4110></TD
4111></TR
4112></TABLE
4113><P
Daniel Veillard19274092002-03-25 16:48:03 +00004114>Called when a pcdata block has been parsed.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004115><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004116></P
4117><DIV
4118CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004119><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004120NAME="AEN955"><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004121></P
4122><TABLE
4123BORDER="0"
4124WIDTH="100%"
4125BGCOLOR="#FFD0D0"
4126CELLSPACING="0"
4127CELLPADDING="4"
4128CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004129><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00004130><TR
4131><TD
4132WIDTH="20%"
4133ALIGN="RIGHT"
4134VALIGN="TOP"
4135><TT
4136CLASS="PARAMETER"
4137><I
4138>ctx</I
4139></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004140>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004141><TD
4142WIDTH="80%"
4143ALIGN="LEFT"
4144VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004145> the user data (XML parser context)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004146></TR
4147><TR
4148><TD
4149WIDTH="20%"
4150ALIGN="RIGHT"
4151VALIGN="TOP"
4152><TT
4153CLASS="PARAMETER"
4154><I
4155>value</I
4156></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004157>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004158><TD
4159WIDTH="80%"
4160ALIGN="LEFT"
4161VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004162> The pcdata content</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004163></TR
4164><TR
4165><TD
4166WIDTH="20%"
4167ALIGN="RIGHT"
4168VALIGN="TOP"
4169><TT
4170CLASS="PARAMETER"
4171><I
4172>len</I
4173></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004174>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004175><TD
4176WIDTH="80%"
4177ALIGN="LEFT"
4178VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004179> the block length</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004180></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004181></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00004182></TABLE
4183><P
4184></P
4185></DIV
4186></DIV
4187><HR><DIV
4188CLASS="REFSECT2"
4189><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004190NAME="AEN972"
Daniel Veillard35925471999-02-25 08:46:07 +00004191></A
4192><H3
4193><A
4194NAME="WARNINGSAXFUNC"
4195></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004196>warningSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004197><TABLE
4198BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004199BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004200WIDTH="100%"
4201CELLPADDING="6"
4202><TR
4203><TD
4204><PRE
4205CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004206>void (*warningSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004207 const char *msg,
4208 ...);</PRE
4209></TD
4210></TR
4211></TABLE
4212><P
Daniel Veillard19274092002-03-25 16:48:03 +00004213>Display and format a warning messages, callback.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004214><P
Daniel Veillard35925471999-02-25 08:46:07 +00004215></P
4216><DIV
4217CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004218><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004219NAME="AEN978"><P
Daniel Veillard35925471999-02-25 08:46:07 +00004220></P
4221><TABLE
4222BORDER="0"
4223WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004224BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004225CELLSPACING="0"
4226CELLPADDING="4"
4227CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004228><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004229><TR
4230><TD
4231WIDTH="20%"
4232ALIGN="RIGHT"
4233VALIGN="TOP"
4234><TT
4235CLASS="PARAMETER"
4236><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004237>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004238></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004239>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004240><TD
4241WIDTH="80%"
4242ALIGN="LEFT"
4243VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004244> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004245></TR
4246><TR
4247><TD
4248WIDTH="20%"
4249ALIGN="RIGHT"
4250VALIGN="TOP"
4251><TT
4252CLASS="PARAMETER"
4253><I
4254>msg</I
4255></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004256>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004257><TD
4258WIDTH="80%"
4259ALIGN="LEFT"
4260VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004261> the message to display/transmit</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004262></TR
4263><TR
4264><TD
4265WIDTH="20%"
4266ALIGN="RIGHT"
4267VALIGN="TOP"
4268><TT
4269CLASS="PARAMETER"
4270><I
4271>...</I
4272></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004273>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004274><TD
4275WIDTH="80%"
4276ALIGN="LEFT"
4277VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004278> extra parameters for the message display</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004279></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004280></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004281></TABLE
4282><P
4283></P
4284></DIV
4285></DIV
4286><HR><DIV
4287CLASS="REFSECT2"
4288><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004289NAME="AEN995"
Daniel Veillard35925471999-02-25 08:46:07 +00004290></A
4291><H3
4292><A
4293NAME="ERRORSAXFUNC"
4294></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004295>errorSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004296><TABLE
4297BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004298BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004299WIDTH="100%"
4300CELLPADDING="6"
4301><TR
4302><TD
4303><PRE
4304CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004305>void (*errorSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004306 const char *msg,
4307 ...);</PRE
4308></TD
4309></TR
4310></TABLE
4311><P
Daniel Veillard19274092002-03-25 16:48:03 +00004312>Display and format an error messages, callback.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004313><P
Daniel Veillard35925471999-02-25 08:46:07 +00004314></P
4315><DIV
4316CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004317><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004318NAME="AEN1001"><P
Daniel Veillard35925471999-02-25 08:46:07 +00004319></P
4320><TABLE
4321BORDER="0"
4322WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004323BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004324CELLSPACING="0"
4325CELLPADDING="4"
4326CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004327><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004328><TR
4329><TD
4330WIDTH="20%"
4331ALIGN="RIGHT"
4332VALIGN="TOP"
4333><TT
4334CLASS="PARAMETER"
4335><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004336>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004337></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004338>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004339><TD
4340WIDTH="80%"
4341ALIGN="LEFT"
4342VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004343> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004344></TR
4345><TR
4346><TD
4347WIDTH="20%"
4348ALIGN="RIGHT"
4349VALIGN="TOP"
4350><TT
4351CLASS="PARAMETER"
4352><I
4353>msg</I
4354></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004355>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004356><TD
4357WIDTH="80%"
4358ALIGN="LEFT"
4359VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004360> the message to display/transmit</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004361></TR
4362><TR
4363><TD
4364WIDTH="20%"
4365ALIGN="RIGHT"
4366VALIGN="TOP"
4367><TT
4368CLASS="PARAMETER"
4369><I
4370>...</I
4371></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004372>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004373><TD
4374WIDTH="80%"
4375ALIGN="LEFT"
4376VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004377> extra parameters for the message display</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004378></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004379></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004380></TABLE
4381><P
4382></P
4383></DIV
4384></DIV
4385><HR><DIV
4386CLASS="REFSECT2"
4387><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004388NAME="AEN1018"
Daniel Veillard35925471999-02-25 08:46:07 +00004389></A
4390><H3
4391><A
4392NAME="FATALERRORSAXFUNC"
4393></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004394>fatalErrorSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004395><TABLE
4396BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004397BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004398WIDTH="100%"
4399CELLPADDING="6"
4400><TR
4401><TD
4402><PRE
4403CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004404>void (*fatalErrorSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004405 const char *msg,
4406 ...);</PRE
4407></TD
4408></TR
4409></TABLE
4410><P
Daniel Veillard19274092002-03-25 16:48:03 +00004411>Display and format fatal error messages, callback.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004412><P
Daniel Veillard35925471999-02-25 08:46:07 +00004413></P
4414><DIV
4415CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004416><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004417NAME="AEN1024"><P
Daniel Veillard35925471999-02-25 08:46:07 +00004418></P
4419><TABLE
4420BORDER="0"
4421WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004422BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004423CELLSPACING="0"
4424CELLPADDING="4"
4425CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004426><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004427><TR
4428><TD
4429WIDTH="20%"
4430ALIGN="RIGHT"
4431VALIGN="TOP"
4432><TT
4433CLASS="PARAMETER"
4434><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004435>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004436></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004437>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004438><TD
4439WIDTH="80%"
4440ALIGN="LEFT"
4441VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004442> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004443></TR
4444><TR
4445><TD
4446WIDTH="20%"
4447ALIGN="RIGHT"
4448VALIGN="TOP"
4449><TT
4450CLASS="PARAMETER"
4451><I
4452>msg</I
4453></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004454>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004455><TD
4456WIDTH="80%"
4457ALIGN="LEFT"
4458VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004459> the message to display/transmit</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004460></TR
4461><TR
4462><TD
4463WIDTH="20%"
4464ALIGN="RIGHT"
4465VALIGN="TOP"
4466><TT
4467CLASS="PARAMETER"
4468><I
4469>...</I
4470></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004471>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004472><TD
4473WIDTH="80%"
4474ALIGN="LEFT"
4475VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004476> extra parameters for the message display</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004477></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004478></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004479></TABLE
4480><P
4481></P
4482></DIV
4483></DIV
4484><HR><DIV
4485CLASS="REFSECT2"
4486><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004487NAME="AEN1041"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004488></A
4489><H3
4490><A
4491NAME="ISSTANDALONESAXFUNC"
4492></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004493>isStandaloneSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004494><TABLE
4495BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004496BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004497WIDTH="100%"
4498CELLPADDING="6"
4499><TR
4500><TD
4501><PRE
4502CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004503>int (*isStandaloneSAXFunc) (void *ctx);</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00004504></TD
4505></TR
4506></TABLE
4507><P
Daniel Veillard19274092002-03-25 16:48:03 +00004508>Is this document tagged standalone?</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004509><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004510></P
4511><DIV
4512CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004513><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004514NAME="AEN1047"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004515></P
4516><TABLE
4517BORDER="0"
4518WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004519BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004520CELLSPACING="0"
4521CELLPADDING="4"
4522CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004523><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004524><TR
4525><TD
4526WIDTH="20%"
4527ALIGN="RIGHT"
4528VALIGN="TOP"
4529><TT
4530CLASS="PARAMETER"
4531><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004532>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004533></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004534>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004535><TD
4536WIDTH="80%"
4537ALIGN="LEFT"
4538VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004539> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004540></TR
4541><TR
4542><TD
4543WIDTH="20%"
4544ALIGN="RIGHT"
4545VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004546><SPAN
4547CLASS="emphasis"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004548><I
4549CLASS="EMPHASIS"
4550>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004551></SPAN
Daniel Veillard5099ae81999-04-21 20:12:07 +00004552> :</TD
4553><TD
4554WIDTH="80%"
4555ALIGN="LEFT"
4556VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004557>1 if true</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004558></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004559></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004560></TABLE
4561><P
4562></P
4563></DIV
4564></DIV
4565><HR><DIV
4566CLASS="REFSECT2"
4567><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004568NAME="AEN1060"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004569></A
4570><H3
4571><A
4572NAME="HASINTERNALSUBSETSAXFUNC"
4573></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004574>hasInternalSubsetSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004575><TABLE
4576BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004577BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004578WIDTH="100%"
4579CELLPADDING="6"
4580><TR
4581><TD
4582><PRE
4583CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004584>int (*hasInternalSubsetSAXFunc) (void *ctx);</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00004585></TD
4586></TR
4587></TABLE
4588><P
Daniel Veillard19274092002-03-25 16:48:03 +00004589>Does this document has an internal subset.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004590><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004591></P
4592><DIV
4593CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004594><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004595NAME="AEN1066"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004596></P
4597><TABLE
4598BORDER="0"
4599WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004600BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004601CELLSPACING="0"
4602CELLPADDING="4"
4603CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004604><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004605><TR
4606><TD
4607WIDTH="20%"
4608ALIGN="RIGHT"
4609VALIGN="TOP"
4610><TT
4611CLASS="PARAMETER"
4612><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004613>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004614></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004615>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004616><TD
4617WIDTH="80%"
4618ALIGN="LEFT"
4619VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004620> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004621></TR
4622><TR
4623><TD
4624WIDTH="20%"
4625ALIGN="RIGHT"
4626VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004627><SPAN
4628CLASS="emphasis"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004629><I
4630CLASS="EMPHASIS"
4631>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004632></SPAN
Daniel Veillard5099ae81999-04-21 20:12:07 +00004633> :</TD
4634><TD
4635WIDTH="80%"
4636ALIGN="LEFT"
4637VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004638>1 if true</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004639></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004640></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004641></TABLE
4642><P
4643></P
4644></DIV
4645></DIV
4646><HR><DIV
4647CLASS="REFSECT2"
4648><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004649NAME="AEN1079"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004650></A
4651><H3
4652><A
4653NAME="HASEXTERNALSUBSETSAXFUNC"
4654></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004655>hasExternalSubsetSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004656><TABLE
4657BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004658BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004659WIDTH="100%"
4660CELLPADDING="6"
4661><TR
4662><TD
4663><PRE
4664CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004665>int (*hasExternalSubsetSAXFunc) (void *ctx);</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00004666></TD
4667></TR
4668></TABLE
4669><P
Daniel Veillard19274092002-03-25 16:48:03 +00004670>Does this document has an external subset?</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004671><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004672></P
4673><DIV
4674CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004675><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004676NAME="AEN1085"><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004677></P
4678><TABLE
4679BORDER="0"
4680WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004681BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004682CELLSPACING="0"
4683CELLPADDING="4"
4684CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004685><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004686><TR
4687><TD
4688WIDTH="20%"
4689ALIGN="RIGHT"
4690VALIGN="TOP"
4691><TT
4692CLASS="PARAMETER"
4693><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004694>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004695></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004696>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004697><TD
4698WIDTH="80%"
4699ALIGN="LEFT"
4700VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004701> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004702></TR
4703><TR
4704><TD
4705WIDTH="20%"
4706ALIGN="RIGHT"
4707VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004708><SPAN
4709CLASS="emphasis"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004710><I
4711CLASS="EMPHASIS"
4712>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004713></SPAN
Daniel Veillard5099ae81999-04-21 20:12:07 +00004714> :</TD
4715><TD
4716WIDTH="80%"
4717ALIGN="LEFT"
4718VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004719>1 if true</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004720></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004721></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004722></TABLE
4723><P
4724></P
4725></DIV
4726></DIV
4727><HR><DIV
4728CLASS="REFSECT2"
4729><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004730NAME="AEN1098"
Daniel Veillard24491f62000-01-05 14:58:38 +00004731></A
4732><H3
4733><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004734NAME="XMLSAXHANDLER"
Daniel Veillard24491f62000-01-05 14:58:38 +00004735></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004736>struct xmlSAXHandler</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004737><TABLE
4738BORDER="0"
4739BGCOLOR="#D6E8FF"
4740WIDTH="100%"
4741CELLPADDING="6"
4742><TR
4743><TD
4744><PRE
4745CLASS="PROGRAMLISTING"
4746>struct xmlSAXHandler {
4747 internalSubsetSAXFunc internalSubset;
4748 isStandaloneSAXFunc isStandalone;
4749 hasInternalSubsetSAXFunc hasInternalSubset;
4750 hasExternalSubsetSAXFunc hasExternalSubset;
4751 resolveEntitySAXFunc resolveEntity;
4752 getEntitySAXFunc getEntity;
4753 entityDeclSAXFunc entityDecl;
4754 notationDeclSAXFunc notationDecl;
4755 attributeDeclSAXFunc attributeDecl;
4756 elementDeclSAXFunc elementDecl;
4757 unparsedEntityDeclSAXFunc unparsedEntityDecl;
4758 setDocumentLocatorSAXFunc setDocumentLocator;
4759 startDocumentSAXFunc startDocument;
4760 endDocumentSAXFunc endDocument;
4761 startElementSAXFunc startElement;
4762 endElementSAXFunc endElement;
4763 referenceSAXFunc reference;
4764 charactersSAXFunc characters;
4765 ignorableWhitespaceSAXFunc ignorableWhitespace;
4766 processingInstructionSAXFunc processingInstruction;
4767 commentSAXFunc comment;
4768 warningSAXFunc warning;
4769 errorSAXFunc error;
4770 fatalErrorSAXFunc fatalError;
4771 getParameterEntitySAXFunc getParameterEntity;
4772 cdataBlockSAXFunc cdataBlock;
4773 externalSubsetSAXFunc externalSubset;
Daniel Veillard52dcab32001-10-30 12:51:17 +00004774 int initialized;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004775};</PRE
4776></TD
4777></TR
4778></TABLE
Daniel Veillard24491f62000-01-05 14:58:38 +00004779><P
Daniel Veillard19274092002-03-25 16:48:03 +00004780>A SAX handler is bunch of callbacks called by the parser when processing
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004781of the input generate data or structure informations.</P
4782><P
Daniel Veillard24491f62000-01-05 14:58:38 +00004783></P
4784></DIV
4785><HR><DIV
4786CLASS="REFSECT2"
4787><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004788NAME="AEN1104"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004789></A
4790><H3
4791><A
4792NAME="XMLEXTERNALENTITYLOADER"
4793></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004794>xmlExternalEntityLoader ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004795><TABLE
4796BORDER="0"
4797BGCOLOR="#D6E8FF"
4798WIDTH="100%"
4799CELLPADDING="6"
4800><TR
4801><TD
4802><PRE
4803CLASS="PROGRAMLISTING"
4804><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004805HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004806>xmlParserInputPtr</A
4807> (*xmlExternalEntityLoader)
4808 (const char *URL,
4809 const char *ID,
4810 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004811HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004812>xmlParserCtxtPtr</A
4813> context);</PRE
4814></TD
4815></TR
4816></TABLE
4817><P
Daniel Veillard19274092002-03-25 16:48:03 +00004818>External entity loaders types.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004819><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004820></P
4821><DIV
4822CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004823><A
Daniel Veillard539638b2002-07-06 19:55:14 +00004824NAME="AEN1112"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004825></P
4826><TABLE
4827BORDER="0"
4828WIDTH="100%"
4829BGCOLOR="#FFD0D0"
4830CELLSPACING="0"
4831CELLPADDING="4"
4832CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004833><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004834><TR
4835><TD
4836WIDTH="20%"
4837ALIGN="RIGHT"
4838VALIGN="TOP"
4839><TT
4840CLASS="PARAMETER"
4841><I
4842>URL</I
4843></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004844>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004845><TD
4846WIDTH="80%"
4847ALIGN="LEFT"
4848VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004849> The System ID of the resource requested</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004850></TR
4851><TR
4852><TD
4853WIDTH="20%"
4854ALIGN="RIGHT"
4855VALIGN="TOP"
4856><TT
4857CLASS="PARAMETER"
4858><I
4859>ID</I
4860></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004861>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004862><TD
4863WIDTH="80%"
4864ALIGN="LEFT"
4865VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004866> The Public ID of the resource requested</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004867></TR
4868><TR
4869><TD
4870WIDTH="20%"
4871ALIGN="RIGHT"
4872VALIGN="TOP"
4873><TT
4874CLASS="PARAMETER"
4875><I
4876>context</I
4877></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004878>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004879><TD
4880WIDTH="80%"
4881ALIGN="LEFT"
4882VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004883> the XML parser context </TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004884></TR
4885><TR
4886><TD
4887WIDTH="20%"
4888ALIGN="RIGHT"
4889VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00004890><SPAN
4891CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004892><I
4893CLASS="EMPHASIS"
4894>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00004895></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004896> :</TD
4897><TD
4898WIDTH="80%"
4899ALIGN="LEFT"
4900VALIGN="TOP"
Daniel Veillard19274092002-03-25 16:48:03 +00004901>the entity input parser.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004902></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004903></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004904></TABLE
4905><P
4906></P
4907></DIV
4908></DIV
4909><HR><DIV
4910CLASS="REFSECT2"
4911><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004912NAME="AEN1133"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004913></A
4914><H3
4915><A
4916NAME="XMLSUBSTITUTEENTITIESDEFAULTVALUE"
4917></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004918>xmlSubstituteEntitiesDefaultValue</H3
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004919><TABLE
4920BORDER="0"
4921BGCOLOR="#D6E8FF"
4922WIDTH="100%"
4923CELLPADDING="6"
4924><TR
4925><TD
4926><PRE
4927CLASS="PROGRAMLISTING"
Daniel Veillard52dcab32001-10-30 12:51:17 +00004928>#define xmlSubstituteEntitiesDefaultValue</PRE
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004929></TD
4930></TR
4931></TABLE
4932><P
Daniel Veillard19274092002-03-25 16:48:03 +00004933>Global variable controlling the entity substitution default behavior.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004934><P
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004935></P
4936></DIV
4937><HR><DIV
4938CLASS="REFSECT2"
4939><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004940NAME="AEN1139"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004941></A
4942><H3
4943><A
4944NAME="XMLINITPARSER"
4945></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004946>xmlInitParser ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004947><TABLE
4948BORDER="0"
4949BGCOLOR="#D6E8FF"
4950WIDTH="100%"
4951CELLPADDING="6"
4952><TR
4953><TD
4954><PRE
4955CLASS="PROGRAMLISTING"
4956>void xmlInitParser (void);</PRE
4957></TD
4958></TR
4959></TABLE
4960><P
4961>Initialization function for the XML parser.
4962This is not reentrant. Call once before processing in case of
4963use in multithreaded programs.</P
4964><P
4965></P
4966></DIV
4967><HR><DIV
4968CLASS="REFSECT2"
4969><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004970NAME="AEN1145"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004971></A
4972><H3
4973><A
4974NAME="XMLCLEANUPPARSER"
4975></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004976>xmlCleanupParser ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004977><TABLE
4978BORDER="0"
4979BGCOLOR="#D6E8FF"
4980WIDTH="100%"
4981CELLPADDING="6"
4982><TR
4983><TD
4984><PRE
4985CLASS="PROGRAMLISTING"
4986>void xmlCleanupParser (void);</PRE
4987></TD
4988></TR
4989></TABLE
4990><P
4991>Cleanup function for the XML parser. It tries to reclaim all
4992parsing related global memory allocated for the parser processing.
4993It doesn't deallocate any document related memory. Calling this
4994function should not prevent reusing the parser.</P
4995><P
4996></P
4997></DIV
4998><HR><DIV
4999CLASS="REFSECT2"
5000><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005001NAME="AEN1151"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005002></A
5003><H3
5004><A
5005NAME="XMLPARSERINPUTREAD"
5006></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005007>xmlParserInputRead ()</H3
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005008><TABLE
5009BORDER="0"
5010BGCOLOR="#D6E8FF"
5011WIDTH="100%"
5012CELLPADDING="6"
5013><TR
5014><TD
5015><PRE
5016CLASS="PROGRAMLISTING"
5017>int xmlParserInputRead (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00005018HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005019>xmlParserInputPtr</A
5020> in,
5021 int len);</PRE
5022></TD
5023></TR
5024></TABLE
5025><P
5026>This function refresh the input for the parser. It doesn't try to
5027preserve pointers to the input buffer, and discard already read data</P
5028><P
5029></P
5030><DIV
5031CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005032><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005033NAME="AEN1158"><P
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005034></P
5035><TABLE
5036BORDER="0"
5037WIDTH="100%"
5038BGCOLOR="#FFD0D0"
5039CELLSPACING="0"
5040CELLPADDING="4"
5041CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005042><TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005043><TR
5044><TD
5045WIDTH="20%"
5046ALIGN="RIGHT"
5047VALIGN="TOP"
5048><TT
5049CLASS="PARAMETER"
5050><I
5051>in</I
5052></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005053>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005054><TD
5055WIDTH="80%"
5056ALIGN="LEFT"
5057VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005058> an XML parser input</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005059></TR
5060><TR
5061><TD
5062WIDTH="20%"
5063ALIGN="RIGHT"
5064VALIGN="TOP"
5065><TT
5066CLASS="PARAMETER"
5067><I
5068>len</I
5069></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005070>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005071><TD
5072WIDTH="80%"
5073ALIGN="LEFT"
5074VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005075> an indicative size for the lookahead</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005076></TR
5077><TR
5078><TD
5079WIDTH="20%"
5080ALIGN="RIGHT"
5081VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005082><SPAN
5083CLASS="emphasis"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005084><I
5085CLASS="EMPHASIS"
5086>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005087></SPAN
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005088> :</TD
5089><TD
5090WIDTH="80%"
5091ALIGN="LEFT"
5092VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005093>the number of xmlChars read, or -1 in case of error, 0 indicate the
5094end of this entity</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005095></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005096></TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005097></TABLE
5098><P
5099></P
5100></DIV
5101></DIV
5102><HR><DIV
5103CLASS="REFSECT2"
5104><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005105NAME="AEN1175"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005106></A
5107><H3
5108><A
5109NAME="XMLPARSERINPUTGROW"
5110></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005111>xmlParserInputGrow ()</H3
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005112><TABLE
5113BORDER="0"
5114BGCOLOR="#D6E8FF"
5115WIDTH="100%"
5116CELLPADDING="6"
5117><TR
5118><TD
5119><PRE
5120CLASS="PROGRAMLISTING"
5121>int xmlParserInputGrow (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00005122HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005123>xmlParserInputPtr</A
5124> in,
5125 int len);</PRE
5126></TD
5127></TR
5128></TABLE
5129><P
5130>This function increase the input for the parser. It tries to
5131preserve pointers to the input buffer, and keep already read data</P
5132><P
5133></P
5134><DIV
5135CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005136><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005137NAME="AEN1182"><P
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005138></P
5139><TABLE
5140BORDER="0"
5141WIDTH="100%"
5142BGCOLOR="#FFD0D0"
5143CELLSPACING="0"
5144CELLPADDING="4"
5145CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005146><TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005147><TR
5148><TD
5149WIDTH="20%"
5150ALIGN="RIGHT"
5151VALIGN="TOP"
5152><TT
5153CLASS="PARAMETER"
5154><I
5155>in</I
5156></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005157>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005158><TD
5159WIDTH="80%"
5160ALIGN="LEFT"
5161VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005162> an XML parser input</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005163></TR
5164><TR
5165><TD
5166WIDTH="20%"
5167ALIGN="RIGHT"
5168VALIGN="TOP"
5169><TT
5170CLASS="PARAMETER"
5171><I
5172>len</I
5173></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005174>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005175><TD
5176WIDTH="80%"
5177ALIGN="LEFT"
5178VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005179> an indicative size for the lookahead</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005180></TR
5181><TR
5182><TD
5183WIDTH="20%"
5184ALIGN="RIGHT"
5185VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005186><SPAN
5187CLASS="emphasis"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005188><I
5189CLASS="EMPHASIS"
5190>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005191></SPAN
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005192> :</TD
5193><TD
5194WIDTH="80%"
5195ALIGN="LEFT"
5196VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005197>the number of xmlChars read, or -1 in case of error, 0 indicate the
5198end of this entity</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005199></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005200></TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005201></TABLE
5202><P
5203></P
5204></DIV
5205></DIV
5206><HR><DIV
5207CLASS="REFSECT2"
5208><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005209NAME="AEN1199"
Daniel Veillard35925471999-02-25 08:46:07 +00005210></A
5211><H3
5212><A
5213NAME="XMLSTRDUP"
5214></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005215>xmlStrdup ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005216><TABLE
5217BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005218BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005219WIDTH="100%"
5220CELLPADDING="6"
5221><TR
5222><TD
5223><PRE
5224CLASS="PROGRAMLISTING"
5225><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005226HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005227>xmlChar</A
5228>* xmlStrdup (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005229HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005230>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005231> *cur);</PRE
5232></TD
5233></TR
5234></TABLE
5235><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005236>a strdup for array of xmlChar's. Since they are supposed to be
5237encoded in UTF-8 or an encoding with 8bit based chars, we assume
5238a termination mark of '0'.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005239><P
5240></P
5241><DIV
5242CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005243><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005244NAME="AEN1207"><P
Daniel Veillard35925471999-02-25 08:46:07 +00005245></P
5246><TABLE
5247BORDER="0"
5248WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005249BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005250CELLSPACING="0"
5251CELLPADDING="4"
5252CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005253><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005254><TR
5255><TD
5256WIDTH="20%"
5257ALIGN="RIGHT"
5258VALIGN="TOP"
5259><TT
5260CLASS="PARAMETER"
5261><I
5262>cur</I
5263></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005264>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005265><TD
5266WIDTH="80%"
5267ALIGN="LEFT"
5268VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005269> the input xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005270></TR
5271><TR
5272><TD
5273WIDTH="20%"
5274ALIGN="RIGHT"
5275VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005276><SPAN
5277CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00005278><I
5279CLASS="EMPHASIS"
5280>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005281></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00005282> :</TD
5283><TD
5284WIDTH="80%"
5285ALIGN="LEFT"
5286VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005287>a new xmlChar * or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005288></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005289></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005290></TABLE
5291><P
5292></P
5293></DIV
5294></DIV
5295><HR><DIV
5296CLASS="REFSECT2"
5297><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005298NAME="AEN1220"
Daniel Veillard35925471999-02-25 08:46:07 +00005299></A
5300><H3
5301><A
5302NAME="XMLSTRNDUP"
5303></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005304>xmlStrndup ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005305><TABLE
5306BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005307BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005308WIDTH="100%"
5309CELLPADDING="6"
5310><TR
5311><TD
5312><PRE
5313CLASS="PROGRAMLISTING"
5314><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005315HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005316>xmlChar</A
5317>* xmlStrndup (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005318HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005319>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005320> *cur,
5321 int len);</PRE
5322></TD
5323></TR
5324></TABLE
5325><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005326>a strndup for array of xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00005327><P
5328></P
5329><DIV
5330CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005331><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005332NAME="AEN1228"><P
Daniel Veillard35925471999-02-25 08:46:07 +00005333></P
5334><TABLE
5335BORDER="0"
5336WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005337BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005338CELLSPACING="0"
5339CELLPADDING="4"
5340CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005341><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005342><TR
5343><TD
5344WIDTH="20%"
5345ALIGN="RIGHT"
5346VALIGN="TOP"
5347><TT
5348CLASS="PARAMETER"
5349><I
5350>cur</I
5351></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005352>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005353><TD
5354WIDTH="80%"
5355ALIGN="LEFT"
5356VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005357> the input xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005358></TR
5359><TR
5360><TD
5361WIDTH="20%"
5362ALIGN="RIGHT"
5363VALIGN="TOP"
5364><TT
5365CLASS="PARAMETER"
5366><I
5367>len</I
5368></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005369>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005370><TD
5371WIDTH="80%"
5372ALIGN="LEFT"
5373VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005374> the len of <TT
5375CLASS="PARAMETER"
5376><I
5377>cur</I
5378></TT
5379></TD
Daniel Veillard35925471999-02-25 08:46:07 +00005380></TR
5381><TR
5382><TD
5383WIDTH="20%"
5384ALIGN="RIGHT"
5385VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005386><SPAN
5387CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00005388><I
5389CLASS="EMPHASIS"
5390>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005391></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00005392> :</TD
5393><TD
5394WIDTH="80%"
5395ALIGN="LEFT"
5396VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005397>a new xmlChar * or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005398></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005399></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005400></TABLE
5401><P
5402></P
5403></DIV
5404></DIV
5405><HR><DIV
5406CLASS="REFSECT2"
5407><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005408NAME="AEN1246"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005409></A
5410><H3
5411><A
5412NAME="XMLCHARSTRNDUP"
5413></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005414>xmlCharStrndup ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00005415><TABLE
5416BORDER="0"
5417BGCOLOR="#D6E8FF"
5418WIDTH="100%"
5419CELLPADDING="6"
5420><TR
5421><TD
5422><PRE
5423CLASS="PROGRAMLISTING"
5424><A
5425HREF="libxml-tree.html#XMLCHAR"
5426>xmlChar</A
5427>* xmlCharStrndup (const char *cur,
5428 int len);</PRE
5429></TD
5430></TR
5431></TABLE
5432><P
5433>a strndup for char's to xmlChar's</P
5434><P
5435></P
5436><DIV
5437CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005438><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005439NAME="AEN1253"><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00005440></P
5441><TABLE
5442BORDER="0"
5443WIDTH="100%"
5444BGCOLOR="#FFD0D0"
5445CELLSPACING="0"
5446CELLPADDING="4"
5447CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005448><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005449><TR
5450><TD
5451WIDTH="20%"
5452ALIGN="RIGHT"
5453VALIGN="TOP"
5454><TT
5455CLASS="PARAMETER"
5456><I
5457>cur</I
5458></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005459>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005460><TD
5461WIDTH="80%"
5462ALIGN="LEFT"
5463VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005464> the input char *</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005465></TR
5466><TR
5467><TD
5468WIDTH="20%"
5469ALIGN="RIGHT"
5470VALIGN="TOP"
5471><TT
5472CLASS="PARAMETER"
5473><I
5474>len</I
5475></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005476>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005477><TD
5478WIDTH="80%"
5479ALIGN="LEFT"
5480VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005481> the len of <TT
5482CLASS="PARAMETER"
5483><I
5484>cur</I
5485></TT
5486></TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005487></TR
5488><TR
5489><TD
5490WIDTH="20%"
5491ALIGN="RIGHT"
5492VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005493><SPAN
5494CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005495><I
5496CLASS="EMPHASIS"
5497>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005498></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +00005499> :</TD
5500><TD
5501WIDTH="80%"
5502ALIGN="LEFT"
5503VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005504>a new xmlChar * or NULL</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005505></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005506></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005507></TABLE
5508><P
5509></P
5510></DIV
5511></DIV
5512><HR><DIV
5513CLASS="REFSECT2"
5514><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005515NAME="AEN1271"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005516></A
5517><H3
5518><A
5519NAME="XMLCHARSTRDUP"
5520></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005521>xmlCharStrdup ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00005522><TABLE
5523BORDER="0"
5524BGCOLOR="#D6E8FF"
5525WIDTH="100%"
5526CELLPADDING="6"
5527><TR
5528><TD
5529><PRE
5530CLASS="PROGRAMLISTING"
5531><A
5532HREF="libxml-tree.html#XMLCHAR"
5533>xmlChar</A
5534>* xmlCharStrdup (const char *cur);</PRE
5535></TD
5536></TR
5537></TABLE
5538><P
5539>a strdup for char's to xmlChar's</P
5540><P
5541></P
5542><DIV
5543CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005544><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005545NAME="AEN1278"><P
Daniel Veillarda41123c2001-04-22 19:31:20 +00005546></P
5547><TABLE
5548BORDER="0"
5549WIDTH="100%"
5550BGCOLOR="#FFD0D0"
5551CELLSPACING="0"
5552CELLPADDING="4"
5553CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005554><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005555><TR
5556><TD
5557WIDTH="20%"
5558ALIGN="RIGHT"
5559VALIGN="TOP"
5560><TT
5561CLASS="PARAMETER"
5562><I
5563>cur</I
5564></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005565>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005566><TD
5567WIDTH="80%"
5568ALIGN="LEFT"
5569VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005570> the input char *</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005571></TR
5572><TR
5573><TD
5574WIDTH="20%"
5575ALIGN="RIGHT"
5576VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005577><SPAN
5578CLASS="emphasis"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005579><I
5580CLASS="EMPHASIS"
5581>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005582></SPAN
Daniel Veillarda41123c2001-04-22 19:31:20 +00005583> :</TD
5584><TD
5585WIDTH="80%"
5586ALIGN="LEFT"
5587VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005588>a new xmlChar * or NULL</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005589></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005590></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005591></TABLE
5592><P
5593></P
5594></DIV
5595></DIV
5596><HR><DIV
5597CLASS="REFSECT2"
5598><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005599NAME="AEN1291"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005600></A
5601><H3
5602><A
5603NAME="XMLSTRSUB"
5604></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005605>xmlStrsub ()</H3
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005606><TABLE
5607BORDER="0"
5608BGCOLOR="#D6E8FF"
5609WIDTH="100%"
5610CELLPADDING="6"
5611><TR
5612><TD
5613><PRE
5614CLASS="PROGRAMLISTING"
5615><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005616HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005617>xmlChar</A
5618>* xmlStrsub (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005619HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005620>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005621> *str,
5622 int start,
5623 int len);</PRE
5624></TD
5625></TR
5626></TABLE
5627><P
5628>Extract a substring of a given string</P
5629><P
5630></P
5631><DIV
5632CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005633><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005634NAME="AEN1299"><P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005635></P
5636><TABLE
5637BORDER="0"
5638WIDTH="100%"
5639BGCOLOR="#FFD0D0"
5640CELLSPACING="0"
5641CELLPADDING="4"
5642CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005643><TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005644><TR
5645><TD
5646WIDTH="20%"
5647ALIGN="RIGHT"
5648VALIGN="TOP"
5649><TT
5650CLASS="PARAMETER"
5651><I
5652>str</I
5653></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005654>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005655><TD
5656WIDTH="80%"
5657ALIGN="LEFT"
5658VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005659> the xmlChar * array (haystack)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005660></TR
5661><TR
5662><TD
5663WIDTH="20%"
5664ALIGN="RIGHT"
5665VALIGN="TOP"
5666><TT
5667CLASS="PARAMETER"
5668><I
5669>start</I
5670></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005671>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005672><TD
5673WIDTH="80%"
5674ALIGN="LEFT"
5675VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005676> the index of the first char (zero based)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005677></TR
5678><TR
5679><TD
5680WIDTH="20%"
5681ALIGN="RIGHT"
5682VALIGN="TOP"
5683><TT
5684CLASS="PARAMETER"
5685><I
5686>len</I
5687></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005688>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005689><TD
5690WIDTH="80%"
5691ALIGN="LEFT"
5692VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005693> the length of the substring</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005694></TR
5695><TR
5696><TD
5697WIDTH="20%"
5698ALIGN="RIGHT"
5699VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005700><SPAN
5701CLASS="emphasis"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005702><I
5703CLASS="EMPHASIS"
5704>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005705></SPAN
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005706> :</TD
5707><TD
5708WIDTH="80%"
5709ALIGN="LEFT"
5710VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005711>the xmlChar * for the first occurrence or NULL.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005712></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005713></TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005714></TABLE
5715><P
5716></P
5717></DIV
5718></DIV
5719><HR><DIV
5720CLASS="REFSECT2"
5721><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005722NAME="AEN1320"
Daniel Veillard35925471999-02-25 08:46:07 +00005723></A
5724><H3
5725><A
5726NAME="XMLSTRCHR"
5727></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005728>xmlStrchr ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005729><TABLE
5730BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005731BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005732WIDTH="100%"
5733CELLPADDING="6"
5734><TR
5735><TD
5736><PRE
5737CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005738>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005739HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005740>xmlChar</A
5741>* xmlStrchr (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005742HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005743>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005744> *str,
5745 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005746HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005747>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005748> val);</PRE
5749></TD
5750></TR
5751></TABLE
5752><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005753>a strchr for xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00005754><P
5755></P
5756><DIV
5757CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005758><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005759NAME="AEN1329"><P
Daniel Veillard35925471999-02-25 08:46:07 +00005760></P
5761><TABLE
5762BORDER="0"
5763WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005764BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005765CELLSPACING="0"
5766CELLPADDING="4"
5767CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005768><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005769><TR
5770><TD
5771WIDTH="20%"
5772ALIGN="RIGHT"
5773VALIGN="TOP"
5774><TT
5775CLASS="PARAMETER"
5776><I
5777>str</I
5778></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005779>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005780><TD
5781WIDTH="80%"
5782ALIGN="LEFT"
5783VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005784> the xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005785></TR
5786><TR
5787><TD
5788WIDTH="20%"
5789ALIGN="RIGHT"
5790VALIGN="TOP"
5791><TT
5792CLASS="PARAMETER"
5793><I
5794>val</I
5795></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005796>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005797><TD
5798WIDTH="80%"
5799ALIGN="LEFT"
5800VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005801> the xmlChar to search</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005802></TR
5803><TR
5804><TD
5805WIDTH="20%"
5806ALIGN="RIGHT"
5807VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005808><SPAN
5809CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00005810><I
5811CLASS="EMPHASIS"
5812>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005813></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00005814> :</TD
5815><TD
5816WIDTH="80%"
5817ALIGN="LEFT"
5818VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005819>the xmlChar * for the first occurrence or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005820></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005821></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005822></TABLE
5823><P
5824></P
5825></DIV
5826></DIV
5827><HR><DIV
5828CLASS="REFSECT2"
5829><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005830NAME="AEN1346"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005831></A
5832><H3
5833><A
5834NAME="XMLSTRSTR"
5835></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005836>xmlStrstr ()</H3
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005837><TABLE
5838BORDER="0"
5839BGCOLOR="#D6E8FF"
5840WIDTH="100%"
5841CELLPADDING="6"
5842><TR
5843><TD
5844><PRE
5845CLASS="PROGRAMLISTING"
5846>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005847HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005848>xmlChar</A
5849>* xmlStrstr (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005850HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005851>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005852> *str,
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005853 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005854HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005855>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005856> *val);</PRE
5857></TD
5858></TR
5859></TABLE
5860><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005861>a strstr for xmlChar's</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005862><P
5863></P
5864><DIV
5865CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005866><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005867NAME="AEN1355"><P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005868></P
5869><TABLE
5870BORDER="0"
5871WIDTH="100%"
5872BGCOLOR="#FFD0D0"
5873CELLSPACING="0"
5874CELLPADDING="4"
5875CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005876><TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005877><TR
5878><TD
5879WIDTH="20%"
5880ALIGN="RIGHT"
5881VALIGN="TOP"
5882><TT
5883CLASS="PARAMETER"
5884><I
5885>str</I
5886></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005887>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005888><TD
5889WIDTH="80%"
5890ALIGN="LEFT"
5891VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005892> the xmlChar * array (haystack)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005893></TR
5894><TR
5895><TD
5896WIDTH="20%"
5897ALIGN="RIGHT"
5898VALIGN="TOP"
5899><TT
5900CLASS="PARAMETER"
5901><I
5902>val</I
5903></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005904>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005905><TD
5906WIDTH="80%"
5907ALIGN="LEFT"
5908VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005909> the xmlChar to search (needle)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005910></TR
5911><TR
5912><TD
5913WIDTH="20%"
5914ALIGN="RIGHT"
5915VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00005916><SPAN
5917CLASS="emphasis"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005918><I
5919CLASS="EMPHASIS"
5920>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00005921></SPAN
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005922> :</TD
5923><TD
5924WIDTH="80%"
5925ALIGN="LEFT"
5926VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005927>the xmlChar * for the first occurrence or NULL.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005928></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005929></TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005930></TABLE
5931><P
5932></P
5933></DIV
5934></DIV
5935><HR><DIV
5936CLASS="REFSECT2"
5937><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005938NAME="AEN1372"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005939></A
5940><H3
5941><A
5942NAME="XMLSTRCASESTR"
5943></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005944>xmlStrcasestr ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005945><TABLE
5946BORDER="0"
5947BGCOLOR="#D6E8FF"
5948WIDTH="100%"
5949CELLPADDING="6"
5950><TR
5951><TD
5952><PRE
5953CLASS="PROGRAMLISTING"
5954>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005955HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005956>xmlChar</A
5957>* xmlStrcasestr (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005958HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005959>xmlChar</A
5960> *str,
5961 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005962HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005963>xmlChar</A
5964> *val);</PRE
5965></TD
5966></TR
5967></TABLE
5968><P
5969>a case-ignoring strstr for xmlChar's</P
5970><P
5971></P
5972><DIV
5973CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005974><A
Daniel Veillard539638b2002-07-06 19:55:14 +00005975NAME="AEN1381"><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005976></P
5977><TABLE
5978BORDER="0"
5979WIDTH="100%"
5980BGCOLOR="#FFD0D0"
5981CELLSPACING="0"
5982CELLPADDING="4"
5983CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005984><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005985><TR
5986><TD
5987WIDTH="20%"
5988ALIGN="RIGHT"
5989VALIGN="TOP"
5990><TT
5991CLASS="PARAMETER"
5992><I
5993>str</I
5994></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005995>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005996><TD
5997WIDTH="80%"
5998ALIGN="LEFT"
5999VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006000> the xmlChar * array (haystack)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006001></TR
6002><TR
6003><TD
6004WIDTH="20%"
6005ALIGN="RIGHT"
6006VALIGN="TOP"
6007><TT
6008CLASS="PARAMETER"
6009><I
6010>val</I
6011></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006012>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006013><TD
6014WIDTH="80%"
6015ALIGN="LEFT"
6016VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006017> the xmlChar to search (needle)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006018></TR
6019><TR
6020><TD
6021WIDTH="20%"
6022ALIGN="RIGHT"
6023VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006024><SPAN
6025CLASS="emphasis"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006026><I
6027CLASS="EMPHASIS"
6028>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006029></SPAN
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006030> :</TD
6031><TD
6032WIDTH="80%"
6033ALIGN="LEFT"
6034VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00006035>the xmlChar * for the first occurrence or NULL.</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006036></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006037></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006038></TABLE
6039><P
6040></P
6041></DIV
6042></DIV
6043><HR><DIV
6044CLASS="REFSECT2"
6045><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006046NAME="AEN1398"
Daniel Veillard35925471999-02-25 08:46:07 +00006047></A
6048><H3
6049><A
6050NAME="XMLSTRCMP"
6051></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006052>xmlStrcmp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006053><TABLE
6054BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006055BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006056WIDTH="100%"
6057CELLPADDING="6"
6058><TR
6059><TD
6060><PRE
6061CLASS="PROGRAMLISTING"
6062>int xmlStrcmp (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006063HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006064>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006065> *str1,
6066 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006067HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006068>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006069> *str2);</PRE
6070></TD
6071></TR
6072></TABLE
6073><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006074>a strcmp for xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00006075><P
6076></P
6077><DIV
6078CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006079><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006080NAME="AEN1406"><P
Daniel Veillard35925471999-02-25 08:46:07 +00006081></P
6082><TABLE
6083BORDER="0"
6084WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006085BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006086CELLSPACING="0"
6087CELLPADDING="4"
6088CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006089><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006090><TR
6091><TD
6092WIDTH="20%"
6093ALIGN="RIGHT"
6094VALIGN="TOP"
6095><TT
6096CLASS="PARAMETER"
6097><I
6098>str1</I
6099></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006100>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006101><TD
6102WIDTH="80%"
6103ALIGN="LEFT"
6104VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006105> the first xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006106></TR
6107><TR
6108><TD
6109WIDTH="20%"
6110ALIGN="RIGHT"
6111VALIGN="TOP"
6112><TT
6113CLASS="PARAMETER"
6114><I
6115>str2</I
6116></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006117>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006118><TD
6119WIDTH="80%"
6120ALIGN="LEFT"
6121VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006122> the second xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006123></TR
6124><TR
6125><TD
6126WIDTH="20%"
6127ALIGN="RIGHT"
6128VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006129><SPAN
6130CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006131><I
6132CLASS="EMPHASIS"
6133>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006134></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006135> :</TD
6136><TD
6137WIDTH="80%"
6138ALIGN="LEFT"
6139VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006140>the integer result of the comparison</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006141></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006142></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006143></TABLE
6144><P
6145></P
6146></DIV
6147></DIV
6148><HR><DIV
6149CLASS="REFSECT2"
6150><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006151NAME="AEN1423"
Daniel Veillard35925471999-02-25 08:46:07 +00006152></A
6153><H3
6154><A
6155NAME="XMLSTRNCMP"
6156></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006157>xmlStrncmp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006158><TABLE
6159BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006160BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006161WIDTH="100%"
6162CELLPADDING="6"
6163><TR
6164><TD
6165><PRE
6166CLASS="PROGRAMLISTING"
6167>int xmlStrncmp (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006168HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006169>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006170> *str1,
6171 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006172HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006173>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006174> *str2,
6175 int len);</PRE
6176></TD
6177></TR
6178></TABLE
6179><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006180>a strncmp for xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00006181><P
6182></P
6183><DIV
6184CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006185><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006186NAME="AEN1431"><P
Daniel Veillard35925471999-02-25 08:46:07 +00006187></P
6188><TABLE
6189BORDER="0"
6190WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006191BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006192CELLSPACING="0"
6193CELLPADDING="4"
6194CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006195><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006196><TR
6197><TD
6198WIDTH="20%"
6199ALIGN="RIGHT"
6200VALIGN="TOP"
6201><TT
6202CLASS="PARAMETER"
6203><I
6204>str1</I
6205></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006206>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006207><TD
6208WIDTH="80%"
6209ALIGN="LEFT"
6210VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006211> the first xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006212></TR
6213><TR
6214><TD
6215WIDTH="20%"
6216ALIGN="RIGHT"
6217VALIGN="TOP"
6218><TT
6219CLASS="PARAMETER"
6220><I
6221>str2</I
6222></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006223>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006224><TD
6225WIDTH="80%"
6226ALIGN="LEFT"
6227VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006228> the second xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006229></TR
6230><TR
6231><TD
6232WIDTH="20%"
6233ALIGN="RIGHT"
6234VALIGN="TOP"
6235><TT
6236CLASS="PARAMETER"
6237><I
6238>len</I
6239></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006240>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006241><TD
6242WIDTH="80%"
6243ALIGN="LEFT"
6244VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006245> the max comparison length</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006246></TR
6247><TR
6248><TD
6249WIDTH="20%"
6250ALIGN="RIGHT"
6251VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006252><SPAN
6253CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006254><I
6255CLASS="EMPHASIS"
6256>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006257></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006258> :</TD
6259><TD
6260WIDTH="80%"
6261ALIGN="LEFT"
6262VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006263>the integer result of the comparison</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006264></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006265></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006266></TABLE
6267><P
6268></P
6269></DIV
6270></DIV
6271><HR><DIV
6272CLASS="REFSECT2"
6273><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006274NAME="AEN1452"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006275></A
6276><H3
6277><A
6278NAME="XMLSTRCASECMP"
6279></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006280>xmlStrcasecmp ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006281><TABLE
6282BORDER="0"
6283BGCOLOR="#D6E8FF"
6284WIDTH="100%"
6285CELLPADDING="6"
6286><TR
6287><TD
6288><PRE
6289CLASS="PROGRAMLISTING"
6290>int xmlStrcasecmp (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006291HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006292>xmlChar</A
6293> *str1,
6294 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006295HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006296>xmlChar</A
6297> *str2);</PRE
6298></TD
6299></TR
6300></TABLE
6301><P
6302>a strcasecmp for xmlChar's</P
6303><P
6304></P
6305><DIV
6306CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006307><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006308NAME="AEN1460"><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006309></P
6310><TABLE
6311BORDER="0"
6312WIDTH="100%"
6313BGCOLOR="#FFD0D0"
6314CELLSPACING="0"
6315CELLPADDING="4"
6316CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006317><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006318><TR
6319><TD
6320WIDTH="20%"
6321ALIGN="RIGHT"
6322VALIGN="TOP"
6323><TT
6324CLASS="PARAMETER"
6325><I
6326>str1</I
6327></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006328>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006329><TD
6330WIDTH="80%"
6331ALIGN="LEFT"
6332VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006333> the first xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006334></TR
6335><TR
6336><TD
6337WIDTH="20%"
6338ALIGN="RIGHT"
6339VALIGN="TOP"
6340><TT
6341CLASS="PARAMETER"
6342><I
6343>str2</I
6344></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006345>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006346><TD
6347WIDTH="80%"
6348ALIGN="LEFT"
6349VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006350> the second xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006351></TR
6352><TR
6353><TD
6354WIDTH="20%"
6355ALIGN="RIGHT"
6356VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006357><SPAN
6358CLASS="emphasis"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006359><I
6360CLASS="EMPHASIS"
6361>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006362></SPAN
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006363> :</TD
6364><TD
6365WIDTH="80%"
6366ALIGN="LEFT"
6367VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006368>the integer result of the comparison</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006369></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006370></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006371></TABLE
6372><P
6373></P
6374></DIV
6375></DIV
6376><HR><DIV
6377CLASS="REFSECT2"
6378><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006379NAME="AEN1477"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006380></A
6381><H3
6382><A
6383NAME="XMLSTRNCASECMP"
6384></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006385>xmlStrncasecmp ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006386><TABLE
6387BORDER="0"
6388BGCOLOR="#D6E8FF"
6389WIDTH="100%"
6390CELLPADDING="6"
6391><TR
6392><TD
6393><PRE
6394CLASS="PROGRAMLISTING"
6395>int xmlStrncasecmp (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006396HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006397>xmlChar</A
6398> *str1,
6399 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006400HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006401>xmlChar</A
6402> *str2,
6403 int len);</PRE
6404></TD
6405></TR
6406></TABLE
6407><P
6408>a strncasecmp for xmlChar's</P
6409><P
6410></P
6411><DIV
6412CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006413><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006414NAME="AEN1485"><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006415></P
6416><TABLE
6417BORDER="0"
6418WIDTH="100%"
6419BGCOLOR="#FFD0D0"
6420CELLSPACING="0"
6421CELLPADDING="4"
6422CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006423><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006424><TR
6425><TD
6426WIDTH="20%"
6427ALIGN="RIGHT"
6428VALIGN="TOP"
6429><TT
6430CLASS="PARAMETER"
6431><I
6432>str1</I
6433></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006434>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006435><TD
6436WIDTH="80%"
6437ALIGN="LEFT"
6438VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006439> the first xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006440></TR
6441><TR
6442><TD
6443WIDTH="20%"
6444ALIGN="RIGHT"
6445VALIGN="TOP"
6446><TT
6447CLASS="PARAMETER"
6448><I
6449>str2</I
6450></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006451>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006452><TD
6453WIDTH="80%"
6454ALIGN="LEFT"
6455VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006456> the second xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006457></TR
6458><TR
6459><TD
6460WIDTH="20%"
6461ALIGN="RIGHT"
6462VALIGN="TOP"
6463><TT
6464CLASS="PARAMETER"
6465><I
6466>len</I
6467></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006468>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006469><TD
6470WIDTH="80%"
6471ALIGN="LEFT"
6472VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006473> the max comparison length</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006474></TR
6475><TR
6476><TD
6477WIDTH="20%"
6478ALIGN="RIGHT"
6479VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006480><SPAN
6481CLASS="emphasis"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006482><I
6483CLASS="EMPHASIS"
6484>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006485></SPAN
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006486> :</TD
6487><TD
6488WIDTH="80%"
6489ALIGN="LEFT"
6490VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006491>the integer result of the comparison</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006492></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006493></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006494></TABLE
6495><P
6496></P
6497></DIV
6498></DIV
6499><HR><DIV
6500CLASS="REFSECT2"
6501><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006502NAME="AEN1506"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006503></A
6504><H3
6505><A
6506NAME="XMLSTREQUAL"
6507></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006508>xmlStrEqual ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006509><TABLE
6510BORDER="0"
6511BGCOLOR="#D6E8FF"
6512WIDTH="100%"
6513CELLPADDING="6"
6514><TR
6515><TD
6516><PRE
6517CLASS="PROGRAMLISTING"
6518>int xmlStrEqual (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006519HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006520>xmlChar</A
6521> *str1,
6522 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006523HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006524>xmlChar</A
6525> *str2);</PRE
6526></TD
6527></TR
6528></TABLE
6529><P
6530>Check if both string are equal of have same content
6531Should be a bit more readable and faster than <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006532HREF="libxml-parser.html#XMLSTREQUAL"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006533>xmlStrEqual</A
6534>()</P
6535><P
6536></P
6537><DIV
6538CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006539><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006540NAME="AEN1515"><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006541></P
6542><TABLE
6543BORDER="0"
6544WIDTH="100%"
6545BGCOLOR="#FFD0D0"
6546CELLSPACING="0"
6547CELLPADDING="4"
6548CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006549><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006550><TR
6551><TD
6552WIDTH="20%"
6553ALIGN="RIGHT"
6554VALIGN="TOP"
6555><TT
6556CLASS="PARAMETER"
6557><I
6558>str1</I
6559></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006560>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006561><TD
6562WIDTH="80%"
6563ALIGN="LEFT"
6564VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006565> the first xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006566></TR
6567><TR
6568><TD
6569WIDTH="20%"
6570ALIGN="RIGHT"
6571VALIGN="TOP"
6572><TT
6573CLASS="PARAMETER"
6574><I
6575>str2</I
6576></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006577>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006578><TD
6579WIDTH="80%"
6580ALIGN="LEFT"
6581VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006582> the second xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006583></TR
6584><TR
6585><TD
6586WIDTH="20%"
6587ALIGN="RIGHT"
6588VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006589><SPAN
6590CLASS="emphasis"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006591><I
6592CLASS="EMPHASIS"
6593>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006594></SPAN
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006595> :</TD
6596><TD
6597WIDTH="80%"
6598ALIGN="LEFT"
6599VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006600>1 if they are equal, 0 if they are different</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006601></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006602></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006603></TABLE
6604><P
6605></P
6606></DIV
6607></DIV
6608><HR><DIV
6609CLASS="REFSECT2"
6610><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006611NAME="AEN1532"
Daniel Veillard35925471999-02-25 08:46:07 +00006612></A
6613><H3
6614><A
6615NAME="XMLSTRLEN"
6616></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006617>xmlStrlen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006618><TABLE
6619BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006620BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006621WIDTH="100%"
6622CELLPADDING="6"
6623><TR
6624><TD
6625><PRE
6626CLASS="PROGRAMLISTING"
6627>int xmlStrlen (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006628HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006629>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006630> *str);</PRE
6631></TD
6632></TR
6633></TABLE
6634><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006635>length of a xmlChar's string</P
Daniel Veillard35925471999-02-25 08:46:07 +00006636><P
6637></P
6638><DIV
6639CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006640><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006641NAME="AEN1539"><P
Daniel Veillard35925471999-02-25 08:46:07 +00006642></P
6643><TABLE
6644BORDER="0"
6645WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006646BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006647CELLSPACING="0"
6648CELLPADDING="4"
6649CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006650><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006651><TR
6652><TD
6653WIDTH="20%"
6654ALIGN="RIGHT"
6655VALIGN="TOP"
6656><TT
6657CLASS="PARAMETER"
6658><I
6659>str</I
6660></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006661>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006662><TD
6663WIDTH="80%"
6664ALIGN="LEFT"
6665VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006666> the xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006667></TR
6668><TR
6669><TD
6670WIDTH="20%"
6671ALIGN="RIGHT"
6672VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006673><SPAN
6674CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006675><I
6676CLASS="EMPHASIS"
6677>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006678></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006679> :</TD
6680><TD
6681WIDTH="80%"
6682ALIGN="LEFT"
6683VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006684>the number of xmlChar contained in the ARRAY.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006685></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006686></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006687></TABLE
6688><P
6689></P
6690></DIV
6691></DIV
6692><HR><DIV
6693CLASS="REFSECT2"
6694><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006695NAME="AEN1552"
Daniel Veillard35925471999-02-25 08:46:07 +00006696></A
6697><H3
6698><A
6699NAME="XMLSTRCAT"
6700></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006701>xmlStrcat ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006702><TABLE
6703BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006704BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006705WIDTH="100%"
6706CELLPADDING="6"
6707><TR
6708><TD
6709><PRE
6710CLASS="PROGRAMLISTING"
6711><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006712HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006713>xmlChar</A
6714>* xmlStrcat (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006715HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006716>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006717> *cur,
6718 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006719HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006720>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006721> *add);</PRE
6722></TD
6723></TR
6724></TABLE
6725><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006726>a strcat for array of xmlChar's. Since they are supposed to be
6727encoded in UTF-8 or an encoding with 8bit based chars, we assume
6728a termination mark of '0'.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006729><P
6730></P
6731><DIV
6732CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006733><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006734NAME="AEN1561"><P
Daniel Veillard35925471999-02-25 08:46:07 +00006735></P
6736><TABLE
6737BORDER="0"
6738WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006739BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006740CELLSPACING="0"
6741CELLPADDING="4"
6742CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006743><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006744><TR
6745><TD
6746WIDTH="20%"
6747ALIGN="RIGHT"
6748VALIGN="TOP"
6749><TT
6750CLASS="PARAMETER"
6751><I
6752>cur</I
6753></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006754>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006755><TD
6756WIDTH="80%"
6757ALIGN="LEFT"
6758VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006759> the original xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006760></TR
6761><TR
6762><TD
6763WIDTH="20%"
6764ALIGN="RIGHT"
6765VALIGN="TOP"
6766><TT
6767CLASS="PARAMETER"
6768><I
6769>add</I
6770></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006771>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006772><TD
6773WIDTH="80%"
6774ALIGN="LEFT"
6775VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006776> the xmlChar * array added</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006777></TR
6778><TR
6779><TD
6780WIDTH="20%"
6781ALIGN="RIGHT"
6782VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006783><SPAN
6784CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006785><I
6786CLASS="EMPHASIS"
6787>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006788></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006789> :</TD
6790><TD
6791WIDTH="80%"
6792ALIGN="LEFT"
6793VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006794>a new xmlChar * containing the concatenated string.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006795></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006796></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006797></TABLE
6798><P
6799></P
6800></DIV
6801></DIV
6802><HR><DIV
6803CLASS="REFSECT2"
6804><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006805NAME="AEN1578"
Daniel Veillard35925471999-02-25 08:46:07 +00006806></A
6807><H3
6808><A
6809NAME="XMLSTRNCAT"
6810></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006811>xmlStrncat ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006812><TABLE
6813BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006814BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006815WIDTH="100%"
6816CELLPADDING="6"
6817><TR
6818><TD
6819><PRE
6820CLASS="PROGRAMLISTING"
6821><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006822HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006823>xmlChar</A
6824>* xmlStrncat (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006825HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006826>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006827> *cur,
6828 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006829HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006830>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006831> *add,
6832 int len);</PRE
6833></TD
6834></TR
6835></TABLE
6836><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00006837>a strncat for array of xmlChar's, it will extend <TT
6838CLASS="PARAMETER"
6839><I
6840>cur</I
6841></TT
6842> with the len
Daniel Veillardd194dd22001-02-14 10:37:43 +00006843first bytes of <TT
6844CLASS="PARAMETER"
6845><I
6846>add</I
6847></TT
6848>.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006849><P
6850></P
6851><DIV
6852CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006853><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006854NAME="AEN1589"><P
Daniel Veillard35925471999-02-25 08:46:07 +00006855></P
6856><TABLE
6857BORDER="0"
6858WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006859BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006860CELLSPACING="0"
6861CELLPADDING="4"
6862CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006863><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006864><TR
6865><TD
6866WIDTH="20%"
6867ALIGN="RIGHT"
6868VALIGN="TOP"
6869><TT
6870CLASS="PARAMETER"
6871><I
6872>cur</I
6873></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006874>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006875><TD
6876WIDTH="80%"
6877ALIGN="LEFT"
6878VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006879> the original xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006880></TR
6881><TR
6882><TD
6883WIDTH="20%"
6884ALIGN="RIGHT"
6885VALIGN="TOP"
6886><TT
6887CLASS="PARAMETER"
6888><I
6889>add</I
6890></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006891>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006892><TD
6893WIDTH="80%"
6894ALIGN="LEFT"
6895VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006896> the xmlChar * array added</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006897></TR
6898><TR
6899><TD
6900WIDTH="20%"
6901ALIGN="RIGHT"
6902VALIGN="TOP"
6903><TT
6904CLASS="PARAMETER"
6905><I
6906>len</I
6907></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006908>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006909><TD
6910WIDTH="80%"
6911ALIGN="LEFT"
6912VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006913> the length of <TT
6914CLASS="PARAMETER"
6915><I
6916>add</I
6917></TT
6918></TD
Daniel Veillard35925471999-02-25 08:46:07 +00006919></TR
6920><TR
6921><TD
6922WIDTH="20%"
6923ALIGN="RIGHT"
6924VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00006925><SPAN
6926CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00006927><I
6928CLASS="EMPHASIS"
6929>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00006930></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00006931> :</TD
6932><TD
6933WIDTH="80%"
6934ALIGN="LEFT"
6935VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006936>a new xmlChar *, the original <TT
6937CLASS="PARAMETER"
6938><I
6939>cur</I
6940></TT
6941> is reallocated if needed
6942and should not be freed</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006943></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006944></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006945></TABLE
6946><P
6947></P
6948></DIV
6949></DIV
6950><HR><DIV
6951CLASS="REFSECT2"
6952><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006953NAME="AEN1612"
Daniel Veillard35925471999-02-25 08:46:07 +00006954></A
6955><H3
6956><A
6957NAME="XMLPARSEDOC"
6958></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006959>xmlParseDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006960><TABLE
6961BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006962BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006963WIDTH="100%"
6964CELLPADDING="6"
6965><TR
6966><TD
6967><PRE
6968CLASS="PROGRAMLISTING"
6969><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006970HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006971>xmlDocPtr</A
6972> xmlParseDoc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006973HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006974>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006975> *cur);</PRE
6976></TD
6977></TR
6978></TABLE
6979><P
6980>parse an XML in-memory document and build a tree.</P
6981><P
6982></P
6983><DIV
6984CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006985><A
Daniel Veillard539638b2002-07-06 19:55:14 +00006986NAME="AEN1620"><P
Daniel Veillard35925471999-02-25 08:46:07 +00006987></P
6988><TABLE
6989BORDER="0"
6990WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006991BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006992CELLSPACING="0"
6993CELLPADDING="4"
6994CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006995><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006996><TR
6997><TD
6998WIDTH="20%"
6999ALIGN="RIGHT"
7000VALIGN="TOP"
7001><TT
7002CLASS="PARAMETER"
7003><I
7004>cur</I
7005></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007006>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007007><TD
7008WIDTH="80%"
7009ALIGN="LEFT"
7010VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007011> a pointer to an array of xmlChar</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007012></TR
7013><TR
7014><TD
7015WIDTH="20%"
7016ALIGN="RIGHT"
7017VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007018><SPAN
7019CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00007020><I
7021CLASS="EMPHASIS"
7022>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007023></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00007024> :</TD
7025><TD
7026WIDTH="80%"
7027ALIGN="LEFT"
7028VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007029>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007030></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007031></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007032></TABLE
7033><P
7034></P
7035></DIV
7036></DIV
7037><HR><DIV
7038CLASS="REFSECT2"
7039><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007040NAME="AEN1633"
Daniel Veillard35925471999-02-25 08:46:07 +00007041></A
7042><H3
7043><A
7044NAME="XMLPARSEMEMORY"
7045></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007046>xmlParseMemory ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007047><TABLE
7048BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007049BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007050WIDTH="100%"
7051CELLPADDING="6"
7052><TR
7053><TD
7054><PRE
7055CLASS="PROGRAMLISTING"
7056><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007057HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007058>xmlDocPtr</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007059> xmlParseMemory (const char *buffer,
Daniel Veillard35925471999-02-25 08:46:07 +00007060 int size);</PRE
7061></TD
7062></TR
7063></TABLE
7064><P
7065>parse an XML in-memory block and build a tree.</P
7066><P
7067></P
7068><DIV
7069CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007070><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007071NAME="AEN1640"><P
Daniel Veillard35925471999-02-25 08:46:07 +00007072></P
7073><TABLE
7074BORDER="0"
7075WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007076BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007077CELLSPACING="0"
7078CELLPADDING="4"
7079CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007080><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007081><TR
7082><TD
7083WIDTH="20%"
7084ALIGN="RIGHT"
7085VALIGN="TOP"
7086><TT
7087CLASS="PARAMETER"
7088><I
7089>buffer</I
7090></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007091>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007092><TD
7093WIDTH="80%"
7094ALIGN="LEFT"
7095VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007096> an pointer to a char array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007097></TR
7098><TR
7099><TD
7100WIDTH="20%"
7101ALIGN="RIGHT"
7102VALIGN="TOP"
7103><TT
7104CLASS="PARAMETER"
7105><I
7106>size</I
7107></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007108>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007109><TD
7110WIDTH="80%"
7111ALIGN="LEFT"
7112VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007113> the size of the array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007114></TR
7115><TR
7116><TD
7117WIDTH="20%"
7118ALIGN="RIGHT"
7119VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007120><SPAN
7121CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00007122><I
7123CLASS="EMPHASIS"
7124>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007125></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00007126> :</TD
7127><TD
7128WIDTH="80%"
7129ALIGN="LEFT"
7130VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007131>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007132></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007133></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007134></TABLE
7135><P
7136></P
7137></DIV
7138></DIV
7139><HR><DIV
7140CLASS="REFSECT2"
7141><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007142NAME="AEN1657"
Daniel Veillard35925471999-02-25 08:46:07 +00007143></A
7144><H3
7145><A
7146NAME="XMLPARSEFILE"
7147></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007148>xmlParseFile ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007149><TABLE
7150BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007151BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007152WIDTH="100%"
7153CELLPADDING="6"
7154><TR
7155><TD
7156><PRE
7157CLASS="PROGRAMLISTING"
7158><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007159HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007160>xmlDocPtr</A
7161> xmlParseFile (const char *filename);</PRE
7162></TD
7163></TR
7164></TABLE
7165><P
7166>parse an XML file and build a tree. Automatic support for ZLIB/Compress
7167compressed document is provided by default if found at compile-time.</P
7168><P
7169></P
7170><DIV
7171CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007172><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007173NAME="AEN1664"><P
Daniel Veillard35925471999-02-25 08:46:07 +00007174></P
7175><TABLE
7176BORDER="0"
7177WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007178BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007179CELLSPACING="0"
7180CELLPADDING="4"
7181CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007182><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007183><TR
7184><TD
7185WIDTH="20%"
7186ALIGN="RIGHT"
7187VALIGN="TOP"
7188><TT
7189CLASS="PARAMETER"
7190><I
7191>filename</I
7192></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007193>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007194><TD
7195WIDTH="80%"
7196ALIGN="LEFT"
7197VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007198> the filename</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007199></TR
7200><TR
7201><TD
7202WIDTH="20%"
7203ALIGN="RIGHT"
7204VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007205><SPAN
7206CLASS="emphasis"
Daniel Veillard35925471999-02-25 08:46:07 +00007207><I
7208CLASS="EMPHASIS"
7209>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007210></SPAN
Daniel Veillard35925471999-02-25 08:46:07 +00007211> :</TD
7212><TD
7213WIDTH="80%"
7214ALIGN="LEFT"
7215VALIGN="TOP"
Daniel Veillard04382ae2001-09-12 18:51:30 +00007216>the resulting document tree if the file was wellformed,
7217NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007218></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007219></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007220></TABLE
7221><P
7222></P
7223></DIV
7224></DIV
7225><HR><DIV
7226CLASS="REFSECT2"
7227><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007228NAME="AEN1677"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007229></A
7230><H3
7231><A
7232NAME="XMLSUBSTITUTEENTITIESDEFAULT"
7233></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007234>xmlSubstituteEntitiesDefault ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00007235><TABLE
7236BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007237BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007238WIDTH="100%"
7239CELLPADDING="6"
7240><TR
7241><TD
7242><PRE
7243CLASS="PROGRAMLISTING"
7244>int xmlSubstituteEntitiesDefault (int val);</PRE
7245></TD
7246></TR
7247></TABLE
7248><P
7249>Set and return the previous value for default entity support.
7250Initially the parser always keep entity references instead of substituting
7251entity values in the output. This function has to be used to change the
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007252default parser behavior
Daniel Veillard011b63c1999-06-02 17:44:04 +00007253SAX::<GTKDOCLINK
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007254HREF="SUBSTITUTEENTITIES"
7255>substituteEntities</GTKDOCLINK
Daniel Veillard011b63c1999-06-02 17:44:04 +00007256>() has to be used for changing that on a file by
7257file basis.</P
7258><P
7259></P
7260><DIV
7261CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007262><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007263NAME="AEN1684"><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00007264></P
7265><TABLE
7266BORDER="0"
7267WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007268BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007269CELLSPACING="0"
7270CELLPADDING="4"
7271CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007272><TBODY
Daniel Veillard011b63c1999-06-02 17:44:04 +00007273><TR
7274><TD
7275WIDTH="20%"
7276ALIGN="RIGHT"
7277VALIGN="TOP"
7278><TT
7279CLASS="PARAMETER"
7280><I
7281>val</I
7282></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007283>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007284><TD
7285WIDTH="80%"
7286ALIGN="LEFT"
7287VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007288> int 0 or 1 </TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007289></TR
7290><TR
7291><TD
7292WIDTH="20%"
7293ALIGN="RIGHT"
7294VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007295><SPAN
7296CLASS="emphasis"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007297><I
7298CLASS="EMPHASIS"
7299>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007300></SPAN
Daniel Veillard011b63c1999-06-02 17:44:04 +00007301> :</TD
7302><TD
7303WIDTH="80%"
7304ALIGN="LEFT"
7305VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007306>the last value for 0 for no substitution, 1 for substitution.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007307></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007308></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007309></TABLE
7310><P
7311></P
7312></DIV
7313></DIV
7314><HR><DIV
7315CLASS="REFSECT2"
7316><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007317NAME="AEN1697"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007318></A
7319><H3
7320><A
7321NAME="XMLKEEPBLANKSDEFAULT"
7322></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007323>xmlKeepBlanksDefault ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007324><TABLE
7325BORDER="0"
7326BGCOLOR="#D6E8FF"
7327WIDTH="100%"
7328CELLPADDING="6"
7329><TR
7330><TD
7331><PRE
7332CLASS="PROGRAMLISTING"
7333>int xmlKeepBlanksDefault (int val);</PRE
7334></TD
7335></TR
7336></TABLE
7337><P
7338>Set and return the previous value for default blanks text nodes support.
7339The 1.x version of the parser used an heuristic to try to detect
7340ignorable white spaces. As a result the SAX callback was generating
7341<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007342HREF="libxml-sax.html#IGNORABLEWHITESPACE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007343>ignorableWhitespace</A
7344>() callbacks instead of <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007345HREF="libxml-sax.html#CHARACTERS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007346>characters</A
7347>() one, and when
7348using the DOM output text nodes containing those blanks were not generated.
7349The 2.x and later version will switch to the XML standard way and
7350<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007351HREF="libxml-sax.html#IGNORABLEWHITESPACE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007352>ignorableWhitespace</A
7353>() are only generated when running the parser in
7354validating mode and when the current element doesn't allow CDATA or
7355mixed content.
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007356This function is provided as a way to force the standard behavior
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007357on 1.X libs and to switch back to the old mode for compatibility when
7358running 1.X client code on 2.X . Upgrade of 1.X code should be done
7359by using <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007360HREF="libxml-tree.html#XMLISBLANKNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007361>xmlIsBlankNode</A
7362>() commodity function to detect the "empty"
7363nodes generated.
7364This value also affect autogeneration of indentation when saving code
7365if blanks sections are kept, indentation is not generated.</P
7366><P
7367></P
7368><DIV
7369CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007370><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007371NAME="AEN1707"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007372></P
7373><TABLE
7374BORDER="0"
7375WIDTH="100%"
7376BGCOLOR="#FFD0D0"
7377CELLSPACING="0"
7378CELLPADDING="4"
7379CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007380><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007381><TR
7382><TD
7383WIDTH="20%"
7384ALIGN="RIGHT"
7385VALIGN="TOP"
7386><TT
7387CLASS="PARAMETER"
7388><I
7389>val</I
7390></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007391>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007392><TD
7393WIDTH="80%"
7394ALIGN="LEFT"
7395VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007396> int 0 or 1 </TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007397></TR
7398><TR
7399><TD
7400WIDTH="20%"
7401ALIGN="RIGHT"
7402VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007403><SPAN
7404CLASS="emphasis"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007405><I
7406CLASS="EMPHASIS"
7407>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007408></SPAN
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007409> :</TD
7410><TD
7411WIDTH="80%"
7412ALIGN="LEFT"
7413VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007414>the last value for 0 for no substitution, 1 for substitution.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007415></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007416></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007417></TABLE
7418><P
7419></P
7420></DIV
7421></DIV
7422><HR><DIV
7423CLASS="REFSECT2"
7424><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007425NAME="AEN1720"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007426></A
7427><H3
7428><A
7429NAME="XMLSTOPPARSER"
7430></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007431>xmlStopParser ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007432><TABLE
7433BORDER="0"
7434BGCOLOR="#D6E8FF"
7435WIDTH="100%"
7436CELLPADDING="6"
7437><TR
7438><TD
7439><PRE
7440CLASS="PROGRAMLISTING"
7441>void xmlStopParser (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00007442HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007443>xmlParserCtxtPtr</A
7444> ctxt);</PRE
7445></TD
7446></TR
7447></TABLE
7448><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007449>Blocks further parser processing</P
7450><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007451></P
7452><DIV
7453CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007454><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007455NAME="AEN1727"><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007456></P
7457><TABLE
7458BORDER="0"
7459WIDTH="100%"
7460BGCOLOR="#FFD0D0"
7461CELLSPACING="0"
7462CELLPADDING="4"
7463CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007464><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007465><TR
7466><TD
7467WIDTH="20%"
7468ALIGN="RIGHT"
7469VALIGN="TOP"
7470><TT
7471CLASS="PARAMETER"
7472><I
7473>ctxt</I
7474></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007475>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007476><TD
7477WIDTH="80%"
7478ALIGN="LEFT"
7479VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007480> an XML parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007481></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007482></TBODY
Daniel Veillard011b63c1999-06-02 17:44:04 +00007483></TABLE
7484><P
7485></P
7486></DIV
7487></DIV
7488><HR><DIV
7489CLASS="REFSECT2"
7490><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007491NAME="AEN1736"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007492></A
7493><H3
7494><A
7495NAME="XMLPEDANTICPARSERDEFAULT"
7496></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007497>xmlPedanticParserDefault ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007498><TABLE
7499BORDER="0"
7500BGCOLOR="#D6E8FF"
7501WIDTH="100%"
7502CELLPADDING="6"
7503><TR
7504><TD
7505><PRE
7506CLASS="PROGRAMLISTING"
Daniel Veillard06622df2002-01-21 17:53:42 +00007507>int xmlPedanticParserDefault (int val);</PRE
7508></TD
7509></TR
7510></TABLE
7511><P
7512>Set and return the previous value for enabling pedantic warnings.</P
7513><P
7514></P
7515><DIV
7516CLASS="INFORMALTABLE"
7517><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007518NAME="AEN1742"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00007519></P
7520><TABLE
7521BORDER="0"
7522WIDTH="100%"
7523BGCOLOR="#FFD0D0"
7524CELLSPACING="0"
7525CELLPADDING="4"
7526CLASS="CALSTABLE"
7527><TBODY
7528><TR
7529><TD
7530WIDTH="20%"
7531ALIGN="RIGHT"
7532VALIGN="TOP"
7533><TT
7534CLASS="PARAMETER"
7535><I
7536>val</I
7537></TT
7538>&nbsp;:</TD
7539><TD
7540WIDTH="80%"
7541ALIGN="LEFT"
7542VALIGN="TOP"
7543> int 0 or 1 </TD
7544></TR
7545><TR
7546><TD
7547WIDTH="20%"
7548ALIGN="RIGHT"
7549VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007550><SPAN
7551CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00007552><I
7553CLASS="EMPHASIS"
7554>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007555></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00007556> :</TD
7557><TD
7558WIDTH="80%"
7559ALIGN="LEFT"
7560VALIGN="TOP"
7561>the last value for 0 for no substitution, 1 for substitution.</TD
7562></TR
7563></TBODY
7564></TABLE
7565><P
7566></P
7567></DIV
7568></DIV
7569><HR><DIV
7570CLASS="REFSECT2"
7571><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007572NAME="AEN1755"
Daniel Veillard06622df2002-01-21 17:53:42 +00007573></A
7574><H3
7575><A
7576NAME="XMLLINENUMBERSDEFAULT"
7577></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007578>xmlLineNumbersDefault ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00007579><TABLE
7580BORDER="0"
7581BGCOLOR="#D6E8FF"
7582WIDTH="100%"
7583CELLPADDING="6"
7584><TR
7585><TD
7586><PRE
7587CLASS="PROGRAMLISTING"
7588>int xmlLineNumbersDefault (int val);</PRE
7589></TD
7590></TR
7591></TABLE
7592><P
7593>Set and return the previous value for enabling line numbers in elements
7594contents. This may break on old application and is turned off by default.</P
7595><P
7596></P
7597><DIV
7598CLASS="INFORMALTABLE"
7599><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007600NAME="AEN1761"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00007601></P
7602><TABLE
7603BORDER="0"
7604WIDTH="100%"
7605BGCOLOR="#FFD0D0"
7606CELLSPACING="0"
7607CELLPADDING="4"
7608CLASS="CALSTABLE"
7609><TBODY
7610><TR
7611><TD
7612WIDTH="20%"
7613ALIGN="RIGHT"
7614VALIGN="TOP"
7615><TT
7616CLASS="PARAMETER"
7617><I
7618>val</I
7619></TT
7620>&nbsp;:</TD
7621><TD
7622WIDTH="80%"
7623ALIGN="LEFT"
7624VALIGN="TOP"
7625> int 0 or 1 </TD
7626></TR
7627><TR
7628><TD
7629WIDTH="20%"
7630ALIGN="RIGHT"
7631VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007632><SPAN
7633CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00007634><I
7635CLASS="EMPHASIS"
7636>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007637></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00007638> :</TD
7639><TD
7640WIDTH="80%"
7641ALIGN="LEFT"
7642VALIGN="TOP"
7643>the last value for 0 for no substitution, 1 for substitution.</TD
7644></TR
7645></TBODY
7646></TABLE
7647><P
7648></P
7649></DIV
7650></DIV
7651><HR><DIV
7652CLASS="REFSECT2"
7653><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007654NAME="AEN1774"
Daniel Veillard06622df2002-01-21 17:53:42 +00007655></A
7656><H3
7657><A
7658NAME="XMLRECOVERDOC"
7659></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007660>xmlRecoverDoc ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00007661><TABLE
7662BORDER="0"
7663BGCOLOR="#D6E8FF"
7664WIDTH="100%"
7665CELLPADDING="6"
7666><TR
7667><TD
7668><PRE
7669CLASS="PROGRAMLISTING"
7670><A
7671HREF="libxml-tree.html#XMLDOCPTR"
7672>xmlDocPtr</A
7673> xmlRecoverDoc (<A
7674HREF="libxml-tree.html#XMLCHAR"
7675>xmlChar</A
7676> *cur);</PRE
7677></TD
7678></TR
7679></TABLE
7680><P
7681>parse an XML in-memory document and build a tree.
7682In the case the document is not Well Formed, a tree is built anyway</P
7683><P
7684></P
7685><DIV
7686CLASS="INFORMALTABLE"
7687><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007688NAME="AEN1782"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00007689></P
7690><TABLE
7691BORDER="0"
7692WIDTH="100%"
7693BGCOLOR="#FFD0D0"
7694CELLSPACING="0"
7695CELLPADDING="4"
7696CLASS="CALSTABLE"
7697><TBODY
7698><TR
7699><TD
7700WIDTH="20%"
7701ALIGN="RIGHT"
7702VALIGN="TOP"
7703><TT
7704CLASS="PARAMETER"
7705><I
7706>cur</I
7707></TT
7708>&nbsp;:</TD
7709><TD
7710WIDTH="80%"
7711ALIGN="LEFT"
7712VALIGN="TOP"
7713> a pointer to an array of xmlChar</TD
7714></TR
7715><TR
7716><TD
7717WIDTH="20%"
7718ALIGN="RIGHT"
7719VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007720><SPAN
7721CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00007722><I
7723CLASS="EMPHASIS"
7724>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007725></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00007726> :</TD
7727><TD
7728WIDTH="80%"
7729ALIGN="LEFT"
7730VALIGN="TOP"
7731>the resulting document tree</TD
7732></TR
7733></TBODY
7734></TABLE
7735><P
7736></P
7737></DIV
7738></DIV
7739><HR><DIV
7740CLASS="REFSECT2"
7741><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007742NAME="AEN1795"
Daniel Veillard06622df2002-01-21 17:53:42 +00007743></A
7744><H3
7745><A
7746NAME="XMLRECOVERMEMORY"
7747></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007748>xmlRecoverMemory ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00007749><TABLE
7750BORDER="0"
7751BGCOLOR="#D6E8FF"
7752WIDTH="100%"
7753CELLPADDING="6"
7754><TR
7755><TD
7756><PRE
7757CLASS="PROGRAMLISTING"
7758><A
7759HREF="libxml-tree.html#XMLDOCPTR"
7760>xmlDocPtr</A
7761> xmlRecoverMemory (const char *buffer,
7762 int size);</PRE
7763></TD
7764></TR
7765></TABLE
7766><P
7767>parse an XML in-memory block and build a tree.
7768In the case the document is not Well Formed, a tree is built anyway</P
7769><P
7770></P
7771><DIV
7772CLASS="INFORMALTABLE"
7773><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007774NAME="AEN1802"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00007775></P
7776><TABLE
7777BORDER="0"
7778WIDTH="100%"
7779BGCOLOR="#FFD0D0"
7780CELLSPACING="0"
7781CELLPADDING="4"
7782CLASS="CALSTABLE"
7783><TBODY
7784><TR
7785><TD
7786WIDTH="20%"
7787ALIGN="RIGHT"
7788VALIGN="TOP"
7789><TT
7790CLASS="PARAMETER"
7791><I
7792>buffer</I
7793></TT
7794>&nbsp;:</TD
7795><TD
7796WIDTH="80%"
7797ALIGN="LEFT"
7798VALIGN="TOP"
7799> an pointer to a char array</TD
7800></TR
7801><TR
7802><TD
7803WIDTH="20%"
7804ALIGN="RIGHT"
7805VALIGN="TOP"
7806><TT
7807CLASS="PARAMETER"
7808><I
7809>size</I
7810></TT
7811>&nbsp;:</TD
7812><TD
7813WIDTH="80%"
7814ALIGN="LEFT"
7815VALIGN="TOP"
7816> the size of the array</TD
7817></TR
7818><TR
7819><TD
7820WIDTH="20%"
7821ALIGN="RIGHT"
7822VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007823><SPAN
7824CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00007825><I
7826CLASS="EMPHASIS"
7827>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007828></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00007829> :</TD
7830><TD
7831WIDTH="80%"
7832ALIGN="LEFT"
7833VALIGN="TOP"
7834>the resulting document tree</TD
7835></TR
7836></TBODY
7837></TABLE
7838><P
7839></P
7840></DIV
7841></DIV
7842><HR><DIV
7843CLASS="REFSECT2"
7844><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007845NAME="AEN1819"
Daniel Veillard06622df2002-01-21 17:53:42 +00007846></A
7847><H3
7848><A
7849NAME="XMLRECOVERFILE"
7850></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007851>xmlRecoverFile ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00007852><TABLE
7853BORDER="0"
7854BGCOLOR="#D6E8FF"
7855WIDTH="100%"
7856CELLPADDING="6"
7857><TR
7858><TD
7859><PRE
7860CLASS="PROGRAMLISTING"
7861><A
7862HREF="libxml-tree.html#XMLDOCPTR"
7863>xmlDocPtr</A
7864> xmlRecoverFile (const char *filename);</PRE
7865></TD
7866></TR
7867></TABLE
7868><P
7869>parse an XML file and build a tree. Automatic support for ZLIB/Compress
7870compressed document is provided by default if found at compile-time.
7871In the case the document is not Well Formed, a tree is built anyway</P
7872><P
7873></P
7874><DIV
7875CLASS="INFORMALTABLE"
7876><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007877NAME="AEN1826"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00007878></P
7879><TABLE
7880BORDER="0"
7881WIDTH="100%"
7882BGCOLOR="#FFD0D0"
7883CELLSPACING="0"
7884CELLPADDING="4"
7885CLASS="CALSTABLE"
7886><TBODY
7887><TR
7888><TD
7889WIDTH="20%"
7890ALIGN="RIGHT"
7891VALIGN="TOP"
7892><TT
7893CLASS="PARAMETER"
7894><I
7895>filename</I
7896></TT
7897>&nbsp;:</TD
7898><TD
7899WIDTH="80%"
7900ALIGN="LEFT"
7901VALIGN="TOP"
7902> the filename</TD
7903></TR
7904><TR
7905><TD
7906WIDTH="20%"
7907ALIGN="RIGHT"
7908VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007909><SPAN
7910CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00007911><I
7912CLASS="EMPHASIS"
7913>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00007914></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00007915> :</TD
7916><TD
7917WIDTH="80%"
7918ALIGN="LEFT"
7919VALIGN="TOP"
7920>the resulting document tree</TD
7921></TR
7922></TBODY
7923></TABLE
7924><P
7925></P
7926></DIV
7927></DIV
7928><HR><DIV
7929CLASS="REFSECT2"
7930><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007931NAME="AEN1839"
Daniel Veillard06622df2002-01-21 17:53:42 +00007932></A
7933><H3
7934><A
7935NAME="XMLPARSEDOCUMENT"
7936></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007937>xmlParseDocument ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00007938><TABLE
7939BORDER="0"
7940BGCOLOR="#D6E8FF"
7941WIDTH="100%"
7942CELLPADDING="6"
7943><TR
7944><TD
7945><PRE
7946CLASS="PROGRAMLISTING"
7947>int xmlParseDocument (<A
7948HREF="libxml-tree.html#XMLPARSERCTXTPTR"
7949>xmlParserCtxtPtr</A
7950> ctxt);</PRE
7951></TD
7952></TR
7953></TABLE
7954><P
7955>parse an XML document (and build a tree if using the standard SAX
7956interface).</P
7957><P
7958>[1] document ::= prolog element Misc*</P
7959><P
7960>[22] prolog ::= XMLDecl? Misc* (doctypedecl Misc*)?</P
7961><P
7962></P
7963><DIV
7964CLASS="INFORMALTABLE"
7965><A
Daniel Veillard539638b2002-07-06 19:55:14 +00007966NAME="AEN1848"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00007967></P
7968><TABLE
7969BORDER="0"
7970WIDTH="100%"
7971BGCOLOR="#FFD0D0"
7972CELLSPACING="0"
7973CELLPADDING="4"
7974CLASS="CALSTABLE"
7975><TBODY
7976><TR
7977><TD
7978WIDTH="20%"
7979ALIGN="RIGHT"
7980VALIGN="TOP"
7981><TT
7982CLASS="PARAMETER"
7983><I
7984>ctxt</I
7985></TT
7986>&nbsp;:</TD
7987><TD
7988WIDTH="80%"
7989ALIGN="LEFT"
7990VALIGN="TOP"
7991> an XML parser context</TD
7992></TR
7993><TR
7994><TD
7995WIDTH="20%"
7996ALIGN="RIGHT"
7997VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00007998><SPAN
7999CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008000><I
8001CLASS="EMPHASIS"
8002>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008003></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008004> :</TD
8005><TD
8006WIDTH="80%"
8007ALIGN="LEFT"
8008VALIGN="TOP"
8009>0, -1 in case of error. the parser context is augmented
Daniel Veillardaf43f632002-03-08 15:05:20 +00008010as a result of the parsing.</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008011></TR
8012></TBODY
8013></TABLE
8014><P
8015></P
8016></DIV
8017></DIV
8018><HR><DIV
8019CLASS="REFSECT2"
8020><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008021NAME="AEN1861"
Daniel Veillard06622df2002-01-21 17:53:42 +00008022></A
8023><H3
8024><A
8025NAME="XMLPARSEEXTPARSEDENT"
8026></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008027>xmlParseExtParsedEnt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008028><TABLE
8029BORDER="0"
8030BGCOLOR="#D6E8FF"
8031WIDTH="100%"
8032CELLPADDING="6"
8033><TR
8034><TD
8035><PRE
8036CLASS="PROGRAMLISTING"
8037>int xmlParseExtParsedEnt (<A
8038HREF="libxml-tree.html#XMLPARSERCTXTPTR"
8039>xmlParserCtxtPtr</A
8040> ctxt);</PRE
8041></TD
8042></TR
8043></TABLE
8044><P
8045>parse a general parsed entity
8046An external general parsed entity is well-formed if it matches the
8047production labeled extParsedEnt.</P
8048><P
8049>[78] extParsedEnt ::= TextDecl? content</P
8050><P
8051></P
8052><DIV
8053CLASS="INFORMALTABLE"
8054><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008055NAME="AEN1869"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008056></P
8057><TABLE
8058BORDER="0"
8059WIDTH="100%"
8060BGCOLOR="#FFD0D0"
8061CELLSPACING="0"
8062CELLPADDING="4"
8063CLASS="CALSTABLE"
8064><TBODY
8065><TR
8066><TD
8067WIDTH="20%"
8068ALIGN="RIGHT"
8069VALIGN="TOP"
8070><TT
8071CLASS="PARAMETER"
8072><I
8073>ctxt</I
8074></TT
8075>&nbsp;:</TD
8076><TD
8077WIDTH="80%"
8078ALIGN="LEFT"
8079VALIGN="TOP"
8080> an XML parser context</TD
8081></TR
8082><TR
8083><TD
8084WIDTH="20%"
8085ALIGN="RIGHT"
8086VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008087><SPAN
8088CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008089><I
8090CLASS="EMPHASIS"
8091>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008092></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008093> :</TD
8094><TD
8095WIDTH="80%"
8096ALIGN="LEFT"
8097VALIGN="TOP"
8098>0, -1 in case of error. the parser context is augmented
Daniel Veillardaf43f632002-03-08 15:05:20 +00008099as a result of the parsing.</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008100></TR
8101></TBODY
8102></TABLE
8103><P
8104></P
8105></DIV
8106></DIV
8107><HR><DIV
8108CLASS="REFSECT2"
8109><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008110NAME="AEN1882"
Daniel Veillard06622df2002-01-21 17:53:42 +00008111></A
8112><H3
8113><A
8114NAME="XMLSAXPARSEDOC"
8115></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008116>xmlSAXParseDoc ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008117><TABLE
8118BORDER="0"
8119BGCOLOR="#D6E8FF"
8120WIDTH="100%"
8121CELLPADDING="6"
8122><TR
8123><TD
8124><PRE
8125CLASS="PROGRAMLISTING"
8126><A
8127HREF="libxml-tree.html#XMLDOCPTR"
8128>xmlDocPtr</A
8129> xmlSAXParseDoc (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008130HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008131>xmlSAXHandlerPtr</A
8132> sax,
8133 <A
8134HREF="libxml-tree.html#XMLCHAR"
8135>xmlChar</A
8136> *cur,
8137 int recovery);</PRE
8138></TD
8139></TR
8140></TABLE
8141><P
8142>parse an XML in-memory document and build a tree.
8143It use the given SAX function block to handle the parsing callback.
8144If sax is NULL, fallback to the default DOM tree building routines.</P
8145><P
8146></P
8147><DIV
8148CLASS="INFORMALTABLE"
8149><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008150NAME="AEN1891"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008151></P
8152><TABLE
8153BORDER="0"
8154WIDTH="100%"
8155BGCOLOR="#FFD0D0"
8156CELLSPACING="0"
8157CELLPADDING="4"
8158CLASS="CALSTABLE"
8159><TBODY
8160><TR
8161><TD
8162WIDTH="20%"
8163ALIGN="RIGHT"
8164VALIGN="TOP"
8165><TT
8166CLASS="PARAMETER"
8167><I
8168>sax</I
8169></TT
8170>&nbsp;:</TD
8171><TD
8172WIDTH="80%"
8173ALIGN="LEFT"
8174VALIGN="TOP"
8175> the SAX handler block</TD
8176></TR
8177><TR
8178><TD
8179WIDTH="20%"
8180ALIGN="RIGHT"
8181VALIGN="TOP"
8182><TT
8183CLASS="PARAMETER"
8184><I
8185>cur</I
8186></TT
8187>&nbsp;:</TD
8188><TD
8189WIDTH="80%"
8190ALIGN="LEFT"
8191VALIGN="TOP"
8192> a pointer to an array of xmlChar</TD
8193></TR
8194><TR
8195><TD
8196WIDTH="20%"
8197ALIGN="RIGHT"
8198VALIGN="TOP"
8199><TT
8200CLASS="PARAMETER"
8201><I
8202>recovery</I
8203></TT
8204>&nbsp;:</TD
8205><TD
8206WIDTH="80%"
8207ALIGN="LEFT"
8208VALIGN="TOP"
8209> work in recovery mode, i.e. tries to read no Well Formed
Daniel Veillardaf43f632002-03-08 15:05:20 +00008210documents</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008211></TR
8212><TR
8213><TD
8214WIDTH="20%"
8215ALIGN="RIGHT"
8216VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008217><SPAN
8218CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008219><I
8220CLASS="EMPHASIS"
8221>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008222></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008223> :</TD
8224><TD
8225WIDTH="80%"
8226ALIGN="LEFT"
8227VALIGN="TOP"
8228>the resulting document tree</TD
8229></TR
8230></TBODY
8231></TABLE
8232><P
8233></P
8234></DIV
8235></DIV
8236><HR><DIV
8237CLASS="REFSECT2"
8238><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008239NAME="AEN1912"
Daniel Veillard06622df2002-01-21 17:53:42 +00008240></A
8241><H3
8242><A
8243NAME="XMLSAXUSERPARSEFILE"
8244></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008245>xmlSAXUserParseFile ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008246><TABLE
8247BORDER="0"
8248BGCOLOR="#D6E8FF"
8249WIDTH="100%"
8250CELLPADDING="6"
8251><TR
8252><TD
8253><PRE
8254CLASS="PROGRAMLISTING"
8255>int xmlSAXUserParseFile (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008256HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008257>xmlSAXHandlerPtr</A
8258> sax,
8259 void *user_data,
8260 const char *filename);</PRE
8261></TD
8262></TR
8263></TABLE
8264><P
8265>parse an XML file and call the given SAX handler routines.
8266Automatic support for ZLIB/Compress compressed document is provided</P
8267><P
8268></P
8269><DIV
8270CLASS="INFORMALTABLE"
8271><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008272NAME="AEN1919"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008273></P
8274><TABLE
8275BORDER="0"
8276WIDTH="100%"
8277BGCOLOR="#FFD0D0"
8278CELLSPACING="0"
8279CELLPADDING="4"
8280CLASS="CALSTABLE"
8281><TBODY
8282><TR
8283><TD
8284WIDTH="20%"
8285ALIGN="RIGHT"
8286VALIGN="TOP"
8287><TT
8288CLASS="PARAMETER"
8289><I
8290>sax</I
8291></TT
8292>&nbsp;:</TD
8293><TD
8294WIDTH="80%"
8295ALIGN="LEFT"
8296VALIGN="TOP"
8297> a SAX handler</TD
8298></TR
8299><TR
8300><TD
8301WIDTH="20%"
8302ALIGN="RIGHT"
8303VALIGN="TOP"
8304><TT
8305CLASS="PARAMETER"
8306><I
8307>user_data</I
8308></TT
8309>&nbsp;:</TD
8310><TD
8311WIDTH="80%"
8312ALIGN="LEFT"
8313VALIGN="TOP"
8314> The user data returned on SAX callbacks</TD
8315></TR
8316><TR
8317><TD
8318WIDTH="20%"
8319ALIGN="RIGHT"
8320VALIGN="TOP"
8321><TT
8322CLASS="PARAMETER"
8323><I
8324>filename</I
8325></TT
8326>&nbsp;:</TD
8327><TD
8328WIDTH="80%"
8329ALIGN="LEFT"
8330VALIGN="TOP"
8331> a file name</TD
8332></TR
8333><TR
8334><TD
8335WIDTH="20%"
8336ALIGN="RIGHT"
8337VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008338><SPAN
8339CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008340><I
8341CLASS="EMPHASIS"
8342>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008343></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008344> :</TD
8345><TD
8346WIDTH="80%"
8347ALIGN="LEFT"
8348VALIGN="TOP"
8349>0 in case of success or a error number otherwise</TD
8350></TR
8351></TBODY
8352></TABLE
8353><P
8354></P
8355></DIV
8356></DIV
8357><HR><DIV
8358CLASS="REFSECT2"
8359><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008360NAME="AEN1940"
Daniel Veillard06622df2002-01-21 17:53:42 +00008361></A
8362><H3
8363><A
8364NAME="XMLSAXUSERPARSEMEMORY"
8365></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008366>xmlSAXUserParseMemory ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008367><TABLE
8368BORDER="0"
8369BGCOLOR="#D6E8FF"
8370WIDTH="100%"
8371CELLPADDING="6"
8372><TR
8373><TD
8374><PRE
8375CLASS="PROGRAMLISTING"
8376>int xmlSAXUserParseMemory (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008377HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008378>xmlSAXHandlerPtr</A
8379> sax,
8380 void *user_data,
8381 const char *buffer,
8382 int size);</PRE
8383></TD
8384></TR
8385></TABLE
8386><P
8387>A better SAX parsing routine.
8388parse an XML in-memory buffer and call the given SAX handler routines.</P
8389><P
8390></P
8391><DIV
8392CLASS="INFORMALTABLE"
8393><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008394NAME="AEN1947"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008395></P
8396><TABLE
8397BORDER="0"
8398WIDTH="100%"
8399BGCOLOR="#FFD0D0"
8400CELLSPACING="0"
8401CELLPADDING="4"
8402CLASS="CALSTABLE"
8403><TBODY
8404><TR
8405><TD
8406WIDTH="20%"
8407ALIGN="RIGHT"
8408VALIGN="TOP"
8409><TT
8410CLASS="PARAMETER"
8411><I
8412>sax</I
8413></TT
8414>&nbsp;:</TD
8415><TD
8416WIDTH="80%"
8417ALIGN="LEFT"
8418VALIGN="TOP"
8419> a SAX handler</TD
8420></TR
8421><TR
8422><TD
8423WIDTH="20%"
8424ALIGN="RIGHT"
8425VALIGN="TOP"
8426><TT
8427CLASS="PARAMETER"
8428><I
8429>user_data</I
8430></TT
8431>&nbsp;:</TD
8432><TD
8433WIDTH="80%"
8434ALIGN="LEFT"
8435VALIGN="TOP"
8436> The user data returned on SAX callbacks</TD
8437></TR
8438><TR
8439><TD
8440WIDTH="20%"
8441ALIGN="RIGHT"
8442VALIGN="TOP"
8443><TT
8444CLASS="PARAMETER"
8445><I
8446>buffer</I
8447></TT
8448>&nbsp;:</TD
8449><TD
8450WIDTH="80%"
8451ALIGN="LEFT"
8452VALIGN="TOP"
8453> an in-memory XML document input</TD
8454></TR
8455><TR
8456><TD
8457WIDTH="20%"
8458ALIGN="RIGHT"
8459VALIGN="TOP"
8460><TT
8461CLASS="PARAMETER"
8462><I
8463>size</I
8464></TT
8465>&nbsp;:</TD
8466><TD
8467WIDTH="80%"
8468ALIGN="LEFT"
8469VALIGN="TOP"
8470> the length of the XML document in bytes</TD
8471></TR
8472><TR
8473><TD
8474WIDTH="20%"
8475ALIGN="RIGHT"
8476VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008477><SPAN
8478CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008479><I
8480CLASS="EMPHASIS"
8481>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008482></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008483> :</TD
8484><TD
8485WIDTH="80%"
8486ALIGN="LEFT"
8487VALIGN="TOP"
8488>0 in case of success or a error number otherwise</TD
8489></TR
8490></TBODY
8491></TABLE
8492><P
8493></P
8494></DIV
8495></DIV
8496><HR><DIV
8497CLASS="REFSECT2"
8498><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008499NAME="AEN1972"
Daniel Veillard06622df2002-01-21 17:53:42 +00008500></A
8501><H3
8502><A
8503NAME="XMLSAXPARSEMEMORY"
8504></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008505>xmlSAXParseMemory ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008506><TABLE
8507BORDER="0"
8508BGCOLOR="#D6E8FF"
8509WIDTH="100%"
8510CELLPADDING="6"
8511><TR
8512><TD
8513><PRE
8514CLASS="PROGRAMLISTING"
8515><A
8516HREF="libxml-tree.html#XMLDOCPTR"
8517>xmlDocPtr</A
8518> xmlSAXParseMemory (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008519HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008520>xmlSAXHandlerPtr</A
8521> sax,
8522 const char *buffer,
8523 int size,
8524 int recovery);</PRE
8525></TD
8526></TR
8527></TABLE
8528><P
8529>parse an XML in-memory block and use the given SAX function block
8530to handle the parsing callback. If sax is NULL, fallback to the default
8531DOM tree building routines.</P
8532><P
8533></P
8534><DIV
8535CLASS="INFORMALTABLE"
8536><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008537NAME="AEN1980"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008538></P
8539><TABLE
8540BORDER="0"
8541WIDTH="100%"
8542BGCOLOR="#FFD0D0"
8543CELLSPACING="0"
8544CELLPADDING="4"
8545CLASS="CALSTABLE"
8546><TBODY
8547><TR
8548><TD
8549WIDTH="20%"
8550ALIGN="RIGHT"
8551VALIGN="TOP"
8552><TT
8553CLASS="PARAMETER"
8554><I
8555>sax</I
8556></TT
8557>&nbsp;:</TD
8558><TD
8559WIDTH="80%"
8560ALIGN="LEFT"
8561VALIGN="TOP"
8562> the SAX handler block</TD
8563></TR
8564><TR
8565><TD
8566WIDTH="20%"
8567ALIGN="RIGHT"
8568VALIGN="TOP"
8569><TT
8570CLASS="PARAMETER"
8571><I
8572>buffer</I
8573></TT
8574>&nbsp;:</TD
8575><TD
8576WIDTH="80%"
8577ALIGN="LEFT"
8578VALIGN="TOP"
8579> an pointer to a char array</TD
8580></TR
8581><TR
8582><TD
8583WIDTH="20%"
8584ALIGN="RIGHT"
8585VALIGN="TOP"
8586><TT
8587CLASS="PARAMETER"
8588><I
8589>size</I
8590></TT
8591>&nbsp;:</TD
8592><TD
8593WIDTH="80%"
8594ALIGN="LEFT"
8595VALIGN="TOP"
8596> the size of the array</TD
8597></TR
8598><TR
8599><TD
8600WIDTH="20%"
8601ALIGN="RIGHT"
8602VALIGN="TOP"
8603><TT
8604CLASS="PARAMETER"
8605><I
8606>recovery</I
8607></TT
8608>&nbsp;:</TD
8609><TD
8610WIDTH="80%"
8611ALIGN="LEFT"
8612VALIGN="TOP"
8613> work in recovery mode, i.e. tries to read not Well Formed
Daniel Veillardaf43f632002-03-08 15:05:20 +00008614documents</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008615></TR
8616><TR
8617><TD
8618WIDTH="20%"
8619ALIGN="RIGHT"
8620VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008621><SPAN
8622CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008623><I
8624CLASS="EMPHASIS"
8625>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008626></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008627> :</TD
8628><TD
8629WIDTH="80%"
8630ALIGN="LEFT"
8631VALIGN="TOP"
8632>the resulting document tree</TD
8633></TR
8634></TBODY
8635></TABLE
8636><P
8637></P
8638></DIV
8639></DIV
8640><HR><DIV
8641CLASS="REFSECT2"
8642><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008643NAME="AEN2005"
Daniel Veillard06622df2002-01-21 17:53:42 +00008644></A
8645><H3
8646><A
8647NAME="XMLSAXPARSEFILE"
8648></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008649>xmlSAXParseFile ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008650><TABLE
8651BORDER="0"
8652BGCOLOR="#D6E8FF"
8653WIDTH="100%"
8654CELLPADDING="6"
8655><TR
8656><TD
8657><PRE
8658CLASS="PROGRAMLISTING"
8659><A
8660HREF="libxml-tree.html#XMLDOCPTR"
8661>xmlDocPtr</A
8662> xmlSAXParseFile (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008663HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008664>xmlSAXHandlerPtr</A
8665> sax,
8666 const char *filename,
8667 int recovery);</PRE
8668></TD
8669></TR
8670></TABLE
8671><P
8672>parse an XML file and build a tree. Automatic support for ZLIB/Compress
8673compressed document is provided by default if found at compile-time.
8674It use the given SAX function block to handle the parsing callback.
8675If sax is NULL, fallback to the default DOM tree building routines.</P
8676><P
8677></P
8678><DIV
8679CLASS="INFORMALTABLE"
8680><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008681NAME="AEN2013"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008682></P
8683><TABLE
8684BORDER="0"
8685WIDTH="100%"
8686BGCOLOR="#FFD0D0"
8687CELLSPACING="0"
8688CELLPADDING="4"
8689CLASS="CALSTABLE"
8690><TBODY
8691><TR
8692><TD
8693WIDTH="20%"
8694ALIGN="RIGHT"
8695VALIGN="TOP"
8696><TT
8697CLASS="PARAMETER"
8698><I
8699>sax</I
8700></TT
8701>&nbsp;:</TD
8702><TD
8703WIDTH="80%"
8704ALIGN="LEFT"
8705VALIGN="TOP"
8706> the SAX handler block</TD
8707></TR
8708><TR
8709><TD
8710WIDTH="20%"
8711ALIGN="RIGHT"
8712VALIGN="TOP"
8713><TT
8714CLASS="PARAMETER"
8715><I
8716>filename</I
8717></TT
8718>&nbsp;:</TD
8719><TD
8720WIDTH="80%"
8721ALIGN="LEFT"
8722VALIGN="TOP"
8723> the filename</TD
8724></TR
8725><TR
8726><TD
8727WIDTH="20%"
8728ALIGN="RIGHT"
8729VALIGN="TOP"
8730><TT
8731CLASS="PARAMETER"
8732><I
8733>recovery</I
8734></TT
8735>&nbsp;:</TD
8736><TD
8737WIDTH="80%"
8738ALIGN="LEFT"
8739VALIGN="TOP"
8740> work in recovery mode, i.e. tries to read no Well Formed
Daniel Veillardaf43f632002-03-08 15:05:20 +00008741documents</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008742></TR
8743><TR
8744><TD
8745WIDTH="20%"
8746ALIGN="RIGHT"
8747VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008748><SPAN
8749CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008750><I
8751CLASS="EMPHASIS"
8752>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008753></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008754> :</TD
8755><TD
8756WIDTH="80%"
8757ALIGN="LEFT"
8758VALIGN="TOP"
8759>the resulting document tree</TD
8760></TR
8761></TBODY
8762></TABLE
8763><P
8764></P
8765></DIV
8766></DIV
8767><HR><DIV
8768CLASS="REFSECT2"
8769><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008770NAME="AEN2034"
Daniel Veillard06622df2002-01-21 17:53:42 +00008771></A
8772><H3
8773><A
8774NAME="XMLSAXPARSEFILEWITHDATA"
8775></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008776>xmlSAXParseFileWithData ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008777><TABLE
8778BORDER="0"
8779BGCOLOR="#D6E8FF"
8780WIDTH="100%"
8781CELLPADDING="6"
8782><TR
8783><TD
8784><PRE
8785CLASS="PROGRAMLISTING"
8786><A
8787HREF="libxml-tree.html#XMLDOCPTR"
8788>xmlDocPtr</A
8789> xmlSAXParseFileWithData (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008790HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008791>xmlSAXHandlerPtr</A
8792> sax,
8793 const char *filename,
8794 int recovery,
8795 void *data);</PRE
8796></TD
8797></TR
8798></TABLE
8799><P
8800>parse an XML file and build a tree. Automatic support for ZLIB/Compress
8801compressed document is provided by default if found at compile-time.
8802It use the given SAX function block to handle the parsing callback.
8803If sax is NULL, fallback to the default DOM tree building routines.</P
8804><P
Daniel Veillardfc57b412002-04-29 15:50:14 +00008805>User data (void *) is stored within the parser context in the
8806context's _private member, so it is available nearly everywhere in libxml</P
Daniel Veillard06622df2002-01-21 17:53:42 +00008807><P
8808></P
8809><DIV
8810CLASS="INFORMALTABLE"
8811><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008812NAME="AEN2043"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008813></P
8814><TABLE
8815BORDER="0"
8816WIDTH="100%"
8817BGCOLOR="#FFD0D0"
8818CELLSPACING="0"
8819CELLPADDING="4"
8820CLASS="CALSTABLE"
8821><TBODY
8822><TR
8823><TD
8824WIDTH="20%"
8825ALIGN="RIGHT"
8826VALIGN="TOP"
8827><TT
8828CLASS="PARAMETER"
8829><I
8830>sax</I
8831></TT
8832>&nbsp;:</TD
8833><TD
8834WIDTH="80%"
8835ALIGN="LEFT"
8836VALIGN="TOP"
8837> the SAX handler block</TD
8838></TR
8839><TR
8840><TD
8841WIDTH="20%"
8842ALIGN="RIGHT"
8843VALIGN="TOP"
8844><TT
8845CLASS="PARAMETER"
8846><I
8847>filename</I
8848></TT
8849>&nbsp;:</TD
8850><TD
8851WIDTH="80%"
8852ALIGN="LEFT"
8853VALIGN="TOP"
8854> the filename</TD
8855></TR
8856><TR
8857><TD
8858WIDTH="20%"
8859ALIGN="RIGHT"
8860VALIGN="TOP"
8861><TT
8862CLASS="PARAMETER"
8863><I
8864>recovery</I
8865></TT
8866>&nbsp;:</TD
8867><TD
8868WIDTH="80%"
8869ALIGN="LEFT"
8870VALIGN="TOP"
8871> work in recovery mode, i.e. tries to read no Well Formed
Daniel Veillardaf43f632002-03-08 15:05:20 +00008872documents</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008873></TR
8874><TR
8875><TD
8876WIDTH="20%"
8877ALIGN="RIGHT"
8878VALIGN="TOP"
8879><TT
8880CLASS="PARAMETER"
8881><I
8882>data</I
8883></TT
8884>&nbsp;:</TD
8885><TD
8886WIDTH="80%"
8887ALIGN="LEFT"
8888VALIGN="TOP"
8889> the userdata</TD
8890></TR
8891><TR
8892><TD
8893WIDTH="20%"
8894ALIGN="RIGHT"
8895VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00008896><SPAN
8897CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00008898><I
8899CLASS="EMPHASIS"
8900>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00008901></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00008902> :</TD
8903><TD
8904WIDTH="80%"
8905ALIGN="LEFT"
8906VALIGN="TOP"
8907>the resulting document tree</TD
8908></TR
8909></TBODY
8910></TABLE
8911><P
8912></P
8913></DIV
8914></DIV
8915><HR><DIV
8916CLASS="REFSECT2"
8917><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008918NAME="AEN2068"
Daniel Veillard06622df2002-01-21 17:53:42 +00008919></A
8920><H3
8921><A
8922NAME="XMLSAXPARSEENTITY"
8923></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008924>xmlSAXParseEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008925><TABLE
8926BORDER="0"
8927BGCOLOR="#D6E8FF"
8928WIDTH="100%"
8929CELLPADDING="6"
8930><TR
8931><TD
8932><PRE
8933CLASS="PROGRAMLISTING"
8934><A
8935HREF="libxml-tree.html#XMLDOCPTR"
8936>xmlDocPtr</A
8937> xmlSAXParseEntity (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008938HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008939>xmlSAXHandlerPtr</A
8940> sax,
8941 const char *filename);</PRE
8942></TD
8943></TR
8944></TABLE
8945><P
8946>parse an XML external entity out of context and build a tree.
8947It use the given SAX function block to handle the parsing callback.
8948If sax is NULL, fallback to the default DOM tree building routines.</P
8949><P
8950>[78] extParsedEnt ::= TextDecl? content</P
8951><P
8952>This correspond to a "Well Balanced" chunk</P
8953><P
8954></P
8955><DIV
8956CLASS="INFORMALTABLE"
8957><A
Daniel Veillard539638b2002-07-06 19:55:14 +00008958NAME="AEN2078"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00008959></P
8960><TABLE
8961BORDER="0"
8962WIDTH="100%"
8963BGCOLOR="#FFD0D0"
8964CELLSPACING="0"
8965CELLPADDING="4"
8966CLASS="CALSTABLE"
8967><TBODY
8968><TR
8969><TD
8970WIDTH="20%"
8971ALIGN="RIGHT"
8972VALIGN="TOP"
8973><TT
8974CLASS="PARAMETER"
8975><I
8976>sax</I
8977></TT
8978>&nbsp;:</TD
8979><TD
8980WIDTH="80%"
8981ALIGN="LEFT"
8982VALIGN="TOP"
8983> the SAX handler block</TD
8984></TR
8985><TR
8986><TD
8987WIDTH="20%"
8988ALIGN="RIGHT"
8989VALIGN="TOP"
8990><TT
8991CLASS="PARAMETER"
8992><I
8993>filename</I
8994></TT
8995>&nbsp;:</TD
8996><TD
8997WIDTH="80%"
8998ALIGN="LEFT"
8999VALIGN="TOP"
9000> the filename</TD
9001></TR
9002><TR
9003><TD
9004WIDTH="20%"
9005ALIGN="RIGHT"
9006VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009007><SPAN
9008CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00009009><I
9010CLASS="EMPHASIS"
9011>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009012></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00009013> :</TD
9014><TD
9015WIDTH="80%"
9016ALIGN="LEFT"
9017VALIGN="TOP"
9018>the resulting document tree</TD
9019></TR
9020></TBODY
9021></TABLE
9022><P
9023></P
9024></DIV
9025></DIV
9026><HR><DIV
9027CLASS="REFSECT2"
9028><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009029NAME="AEN2095"
Daniel Veillard06622df2002-01-21 17:53:42 +00009030></A
9031><H3
9032><A
9033NAME="XMLPARSEENTITY"
9034></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009035>xmlParseEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009036><TABLE
9037BORDER="0"
9038BGCOLOR="#D6E8FF"
9039WIDTH="100%"
9040CELLPADDING="6"
9041><TR
9042><TD
9043><PRE
9044CLASS="PROGRAMLISTING"
9045><A
9046HREF="libxml-tree.html#XMLDOCPTR"
9047>xmlDocPtr</A
9048> xmlParseEntity (const char *filename);</PRE
9049></TD
9050></TR
9051></TABLE
9052><P
9053>parse an XML external entity out of context and build a tree.</P
9054><P
9055>[78] extParsedEnt ::= TextDecl? content</P
9056><P
9057>This correspond to a "Well Balanced" chunk</P
9058><P
9059></P
9060><DIV
9061CLASS="INFORMALTABLE"
9062><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009063NAME="AEN2104"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009064></P
9065><TABLE
9066BORDER="0"
9067WIDTH="100%"
9068BGCOLOR="#FFD0D0"
9069CELLSPACING="0"
9070CELLPADDING="4"
9071CLASS="CALSTABLE"
9072><TBODY
9073><TR
9074><TD
9075WIDTH="20%"
9076ALIGN="RIGHT"
9077VALIGN="TOP"
9078><TT
9079CLASS="PARAMETER"
9080><I
9081>filename</I
9082></TT
9083>&nbsp;:</TD
9084><TD
9085WIDTH="80%"
9086ALIGN="LEFT"
9087VALIGN="TOP"
9088> the filename</TD
9089></TR
9090><TR
9091><TD
9092WIDTH="20%"
9093ALIGN="RIGHT"
9094VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009095><SPAN
9096CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00009097><I
9098CLASS="EMPHASIS"
9099>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009100></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00009101> :</TD
9102><TD
9103WIDTH="80%"
9104ALIGN="LEFT"
9105VALIGN="TOP"
9106>the resulting document tree</TD
9107></TR
9108></TBODY
9109></TABLE
9110><P
9111></P
9112></DIV
9113></DIV
9114><HR><DIV
9115CLASS="REFSECT2"
9116><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009117NAME="AEN2117"
Daniel Veillard06622df2002-01-21 17:53:42 +00009118></A
9119><H3
9120><A
9121NAME="XMLPARSEDTD"
9122></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009123>xmlParseDTD ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009124><TABLE
9125BORDER="0"
9126BGCOLOR="#D6E8FF"
9127WIDTH="100%"
9128CELLPADDING="6"
9129><TR
9130><TD
9131><PRE
9132CLASS="PROGRAMLISTING"
9133><A
9134HREF="libxml-tree.html#XMLDTDPTR"
9135>xmlDtdPtr</A
9136> xmlParseDTD (const <A
9137HREF="libxml-tree.html#XMLCHAR"
9138>xmlChar</A
9139> *ExternalID,
9140 const <A
9141HREF="libxml-tree.html#XMLCHAR"
9142>xmlChar</A
9143> *SystemID);</PRE
9144></TD
9145></TR
9146></TABLE
9147><P
9148>Load and parse an external subset.</P
9149><P
9150></P
9151><DIV
9152CLASS="INFORMALTABLE"
9153><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009154NAME="AEN2126"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009155></P
9156><TABLE
9157BORDER="0"
9158WIDTH="100%"
9159BGCOLOR="#FFD0D0"
9160CELLSPACING="0"
9161CELLPADDING="4"
9162CLASS="CALSTABLE"
9163><TBODY
9164><TR
9165><TD
9166WIDTH="20%"
9167ALIGN="RIGHT"
9168VALIGN="TOP"
9169><TT
9170CLASS="PARAMETER"
9171><I
9172>ExternalID</I
9173></TT
9174>&nbsp;:</TD
9175><TD
9176WIDTH="80%"
9177ALIGN="LEFT"
9178VALIGN="TOP"
9179> a NAME* containing the External ID of the DTD</TD
9180></TR
9181><TR
9182><TD
9183WIDTH="20%"
9184ALIGN="RIGHT"
9185VALIGN="TOP"
9186><TT
9187CLASS="PARAMETER"
9188><I
9189>SystemID</I
9190></TT
9191>&nbsp;:</TD
9192><TD
9193WIDTH="80%"
9194ALIGN="LEFT"
9195VALIGN="TOP"
9196> a NAME* containing the URL to the DTD</TD
9197></TR
9198><TR
9199><TD
9200WIDTH="20%"
9201ALIGN="RIGHT"
9202VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009203><SPAN
9204CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00009205><I
9206CLASS="EMPHASIS"
9207>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009208></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00009209> :</TD
9210><TD
9211WIDTH="80%"
9212ALIGN="LEFT"
9213VALIGN="TOP"
9214>the resulting xmlDtdPtr or NULL in case of error.</TD
9215></TR
9216></TBODY
9217></TABLE
9218><P
9219></P
9220></DIV
9221></DIV
9222><HR><DIV
9223CLASS="REFSECT2"
9224><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009225NAME="AEN2143"
Daniel Veillard06622df2002-01-21 17:53:42 +00009226></A
9227><H3
9228><A
9229NAME="XMLSAXPARSEDTD"
9230></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009231>xmlSAXParseDTD ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009232><TABLE
9233BORDER="0"
9234BGCOLOR="#D6E8FF"
9235WIDTH="100%"
9236CELLPADDING="6"
9237><TR
9238><TD
9239><PRE
9240CLASS="PROGRAMLISTING"
9241><A
9242HREF="libxml-tree.html#XMLDTDPTR"
9243>xmlDtdPtr</A
9244> xmlSAXParseDTD (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009245HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00009246>xmlSAXHandlerPtr</A
9247> sax,
9248 const <A
9249HREF="libxml-tree.html#XMLCHAR"
9250>xmlChar</A
9251> *ExternalID,
9252 const <A
9253HREF="libxml-tree.html#XMLCHAR"
9254>xmlChar</A
9255> *SystemID);</PRE
9256></TD
9257></TR
9258></TABLE
9259><P
9260>Load and parse an external subset.</P
9261><P
9262></P
9263><DIV
9264CLASS="INFORMALTABLE"
9265><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009266NAME="AEN2153"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009267></P
9268><TABLE
9269BORDER="0"
9270WIDTH="100%"
9271BGCOLOR="#FFD0D0"
9272CELLSPACING="0"
9273CELLPADDING="4"
9274CLASS="CALSTABLE"
9275><TBODY
9276><TR
9277><TD
9278WIDTH="20%"
9279ALIGN="RIGHT"
9280VALIGN="TOP"
9281><TT
9282CLASS="PARAMETER"
9283><I
9284>sax</I
9285></TT
9286>&nbsp;:</TD
9287><TD
9288WIDTH="80%"
9289ALIGN="LEFT"
9290VALIGN="TOP"
9291> the SAX handler block</TD
9292></TR
9293><TR
9294><TD
9295WIDTH="20%"
9296ALIGN="RIGHT"
9297VALIGN="TOP"
9298><TT
9299CLASS="PARAMETER"
9300><I
9301>ExternalID</I
9302></TT
9303>&nbsp;:</TD
9304><TD
9305WIDTH="80%"
9306ALIGN="LEFT"
9307VALIGN="TOP"
9308> a NAME* containing the External ID of the DTD</TD
9309></TR
9310><TR
9311><TD
9312WIDTH="20%"
9313ALIGN="RIGHT"
9314VALIGN="TOP"
9315><TT
9316CLASS="PARAMETER"
9317><I
9318>SystemID</I
9319></TT
9320>&nbsp;:</TD
9321><TD
9322WIDTH="80%"
9323ALIGN="LEFT"
9324VALIGN="TOP"
9325> a NAME* containing the URL to the DTD</TD
9326></TR
9327><TR
9328><TD
9329WIDTH="20%"
9330ALIGN="RIGHT"
9331VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009332><SPAN
9333CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00009334><I
9335CLASS="EMPHASIS"
9336>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009337></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00009338> :</TD
9339><TD
9340WIDTH="80%"
9341ALIGN="LEFT"
9342VALIGN="TOP"
9343>the resulting xmlDtdPtr or NULL in case of error.</TD
9344></TR
9345></TBODY
9346></TABLE
9347><P
9348></P
9349></DIV
9350></DIV
9351><HR><DIV
9352CLASS="REFSECT2"
9353><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009354NAME="AEN2174"
Daniel Veillard06622df2002-01-21 17:53:42 +00009355></A
9356><H3
9357><A
9358NAME="XMLIOPARSEDTD"
9359></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009360>xmlIOParseDTD ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009361><TABLE
9362BORDER="0"
9363BGCOLOR="#D6E8FF"
9364WIDTH="100%"
9365CELLPADDING="6"
9366><TR
9367><TD
9368><PRE
9369CLASS="PROGRAMLISTING"
9370><A
9371HREF="libxml-tree.html#XMLDTDPTR"
9372>xmlDtdPtr</A
9373> xmlIOParseDTD (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009374HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00009375>xmlSAXHandlerPtr</A
9376> sax,
9377 <A
9378HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
9379>xmlParserInputBufferPtr</A
9380> input,
9381 <A
9382HREF="libxml-encoding.html#XMLCHARENCODING"
9383>xmlCharEncoding</A
9384> enc);</PRE
9385></TD
9386></TR
9387></TABLE
9388><P
9389>Load and parse a DTD</P
9390><P
9391></P
9392><DIV
9393CLASS="INFORMALTABLE"
9394><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009395NAME="AEN2184"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009396></P
9397><TABLE
9398BORDER="0"
9399WIDTH="100%"
9400BGCOLOR="#FFD0D0"
9401CELLSPACING="0"
9402CELLPADDING="4"
9403CLASS="CALSTABLE"
9404><TBODY
9405><TR
9406><TD
9407WIDTH="20%"
9408ALIGN="RIGHT"
9409VALIGN="TOP"
9410><TT
9411CLASS="PARAMETER"
9412><I
9413>sax</I
9414></TT
9415>&nbsp;:</TD
9416><TD
9417WIDTH="80%"
9418ALIGN="LEFT"
9419VALIGN="TOP"
9420> the SAX handler block or NULL</TD
9421></TR
9422><TR
9423><TD
9424WIDTH="20%"
9425ALIGN="RIGHT"
9426VALIGN="TOP"
9427><TT
9428CLASS="PARAMETER"
9429><I
9430>input</I
9431></TT
9432>&nbsp;:</TD
9433><TD
9434WIDTH="80%"
9435ALIGN="LEFT"
9436VALIGN="TOP"
9437> an Input Buffer</TD
9438></TR
9439><TR
9440><TD
9441WIDTH="20%"
9442ALIGN="RIGHT"
9443VALIGN="TOP"
9444><TT
9445CLASS="PARAMETER"
9446><I
9447>enc</I
9448></TT
9449>&nbsp;:</TD
9450><TD
9451WIDTH="80%"
9452ALIGN="LEFT"
9453VALIGN="TOP"
9454> the charset encoding if known</TD
9455></TR
9456><TR
9457><TD
9458WIDTH="20%"
9459ALIGN="RIGHT"
9460VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009461><SPAN
9462CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00009463><I
9464CLASS="EMPHASIS"
9465>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009466></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00009467> :</TD
9468><TD
9469WIDTH="80%"
9470ALIGN="LEFT"
9471VALIGN="TOP"
9472>the resulting xmlDtdPtr or NULL in case of error.
9473<TT
9474CLASS="PARAMETER"
9475><I
9476>input</I
9477></TT
9478> will be freed at parsing end.</TD
9479></TR
9480></TBODY
9481></TABLE
9482><P
9483></P
9484></DIV
9485></DIV
9486><HR><DIV
9487CLASS="REFSECT2"
9488><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009489NAME="AEN2206"
Daniel Veillard06622df2002-01-21 17:53:42 +00009490></A
9491><H3
9492><A
9493NAME="XMLPARSEBALANCEDCHUNKMEMORY"
9494></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009495>xmlParseBalancedChunkMemory ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009496><TABLE
9497BORDER="0"
9498BGCOLOR="#D6E8FF"
9499WIDTH="100%"
9500CELLPADDING="6"
9501><TR
9502><TD
9503><PRE
9504CLASS="PROGRAMLISTING"
9505>int xmlParseBalancedChunkMemory (<A
9506HREF="libxml-tree.html#XMLDOCPTR"
9507>xmlDocPtr</A
9508> doc,
9509 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009510HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00009511>xmlSAXHandlerPtr</A
9512> sax,
9513 void *user_data,
9514 int depth,
9515 const <A
9516HREF="libxml-tree.html#XMLCHAR"
9517>xmlChar</A
9518> *string,
9519 <A
9520HREF="libxml-tree.html#XMLNODEPTR"
9521>xmlNodePtr</A
9522> *lst);</PRE
9523></TD
9524></TR
9525></TABLE
9526><P
9527>Parse a well-balanced chunk of an XML document
9528called by the parser
9529The allowed sequence for the Well Balanced Chunk is the one defined by
9530the content production in the XML grammar:</P
9531><P
9532>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
9533><P
9534></P
9535><DIV
9536CLASS="INFORMALTABLE"
9537><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009538NAME="AEN2217"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009539></P
9540><TABLE
9541BORDER="0"
9542WIDTH="100%"
9543BGCOLOR="#FFD0D0"
9544CELLSPACING="0"
9545CELLPADDING="4"
9546CLASS="CALSTABLE"
9547><TBODY
9548><TR
9549><TD
9550WIDTH="20%"
9551ALIGN="RIGHT"
9552VALIGN="TOP"
9553><TT
9554CLASS="PARAMETER"
9555><I
9556>doc</I
9557></TT
9558>&nbsp;:</TD
9559><TD
9560WIDTH="80%"
9561ALIGN="LEFT"
9562VALIGN="TOP"
9563> the document the chunk pertains to</TD
9564></TR
9565><TR
9566><TD
9567WIDTH="20%"
9568ALIGN="RIGHT"
9569VALIGN="TOP"
9570><TT
9571CLASS="PARAMETER"
9572><I
9573>sax</I
9574></TT
9575>&nbsp;:</TD
9576><TD
9577WIDTH="80%"
9578ALIGN="LEFT"
9579VALIGN="TOP"
9580> the SAX handler bloc (possibly NULL)</TD
9581></TR
9582><TR
9583><TD
9584WIDTH="20%"
9585ALIGN="RIGHT"
9586VALIGN="TOP"
9587><TT
9588CLASS="PARAMETER"
9589><I
9590>user_data</I
9591></TT
9592>&nbsp;:</TD
9593><TD
9594WIDTH="80%"
9595ALIGN="LEFT"
9596VALIGN="TOP"
9597> The user data returned on SAX callbacks (possibly NULL)</TD
9598></TR
9599><TR
9600><TD
9601WIDTH="20%"
9602ALIGN="RIGHT"
9603VALIGN="TOP"
9604><TT
9605CLASS="PARAMETER"
9606><I
9607>depth</I
9608></TT
9609>&nbsp;:</TD
9610><TD
9611WIDTH="80%"
9612ALIGN="LEFT"
9613VALIGN="TOP"
9614> Used for loop detection, use 0</TD
9615></TR
9616><TR
9617><TD
9618WIDTH="20%"
9619ALIGN="RIGHT"
9620VALIGN="TOP"
9621><TT
9622CLASS="PARAMETER"
9623><I
9624>string</I
9625></TT
9626>&nbsp;:</TD
9627><TD
9628WIDTH="80%"
9629ALIGN="LEFT"
9630VALIGN="TOP"
9631> the input string in UTF8 or ISO-Latin (zero terminated)</TD
9632></TR
9633><TR
9634><TD
9635WIDTH="20%"
9636ALIGN="RIGHT"
9637VALIGN="TOP"
9638><TT
9639CLASS="PARAMETER"
9640><I
9641>lst</I
9642></TT
9643>&nbsp;:</TD
9644><TD
9645WIDTH="80%"
9646ALIGN="LEFT"
9647VALIGN="TOP"
9648> the return value for the set of parsed nodes</TD
9649></TR
9650><TR
9651><TD
9652WIDTH="20%"
9653ALIGN="RIGHT"
9654VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009655><SPAN
9656CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00009657><I
9658CLASS="EMPHASIS"
9659>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009660></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00009661> :</TD
9662><TD
9663WIDTH="80%"
9664ALIGN="LEFT"
9665VALIGN="TOP"
9666>0 if the chunk is well balanced, -1 in case of args problem and
Daniel Veillardaf43f632002-03-08 15:05:20 +00009667the parser error code otherwise</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00009668></TR
9669></TBODY
9670></TABLE
9671><P
9672></P
9673></DIV
9674></DIV
9675><HR><DIV
9676CLASS="REFSECT2"
9677><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009678NAME="AEN2250"
Daniel Veillard06622df2002-01-21 17:53:42 +00009679></A
9680><H3
9681><A
9682NAME="XMLPARSEEXTERNALENTITY"
9683></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009684>xmlParseExternalEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009685><TABLE
9686BORDER="0"
9687BGCOLOR="#D6E8FF"
9688WIDTH="100%"
9689CELLPADDING="6"
9690><TR
9691><TD
9692><PRE
9693CLASS="PROGRAMLISTING"
9694>int xmlParseExternalEntity (<A
9695HREF="libxml-tree.html#XMLDOCPTR"
9696>xmlDocPtr</A
9697> doc,
9698 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009699HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00009700>xmlSAXHandlerPtr</A
9701> sax,
9702 void *user_data,
9703 int depth,
9704 const <A
9705HREF="libxml-tree.html#XMLCHAR"
9706>xmlChar</A
9707> *URL,
9708 const <A
9709HREF="libxml-tree.html#XMLCHAR"
9710>xmlChar</A
9711> *ID,
9712 <A
9713HREF="libxml-tree.html#XMLNODEPTR"
9714>xmlNodePtr</A
9715> *lst);</PRE
9716></TD
9717></TR
9718></TABLE
9719><P
9720>Parse an external general entity
9721An external general parsed entity is well-formed if it matches the
9722production labeled extParsedEnt.</P
9723><P
9724>[78] extParsedEnt ::= TextDecl? content</P
9725><P
9726></P
9727><DIV
9728CLASS="INFORMALTABLE"
9729><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009730NAME="AEN2262"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009731></P
9732><TABLE
9733BORDER="0"
9734WIDTH="100%"
9735BGCOLOR="#FFD0D0"
9736CELLSPACING="0"
9737CELLPADDING="4"
9738CLASS="CALSTABLE"
9739><TBODY
9740><TR
9741><TD
9742WIDTH="20%"
9743ALIGN="RIGHT"
9744VALIGN="TOP"
9745><TT
9746CLASS="PARAMETER"
9747><I
9748>doc</I
9749></TT
9750>&nbsp;:</TD
9751><TD
9752WIDTH="80%"
9753ALIGN="LEFT"
9754VALIGN="TOP"
9755> the document the chunk pertains to</TD
9756></TR
9757><TR
9758><TD
9759WIDTH="20%"
9760ALIGN="RIGHT"
9761VALIGN="TOP"
9762><TT
9763CLASS="PARAMETER"
9764><I
9765>sax</I
9766></TT
9767>&nbsp;:</TD
9768><TD
9769WIDTH="80%"
9770ALIGN="LEFT"
9771VALIGN="TOP"
9772> the SAX handler bloc (possibly NULL)</TD
9773></TR
9774><TR
9775><TD
9776WIDTH="20%"
9777ALIGN="RIGHT"
9778VALIGN="TOP"
9779><TT
9780CLASS="PARAMETER"
9781><I
9782>user_data</I
9783></TT
9784>&nbsp;:</TD
9785><TD
9786WIDTH="80%"
9787ALIGN="LEFT"
9788VALIGN="TOP"
9789> The user data returned on SAX callbacks (possibly NULL)</TD
9790></TR
9791><TR
9792><TD
9793WIDTH="20%"
9794ALIGN="RIGHT"
9795VALIGN="TOP"
9796><TT
9797CLASS="PARAMETER"
9798><I
9799>depth</I
9800></TT
9801>&nbsp;:</TD
9802><TD
9803WIDTH="80%"
9804ALIGN="LEFT"
9805VALIGN="TOP"
9806> Used for loop detection, use 0</TD
9807></TR
9808><TR
9809><TD
9810WIDTH="20%"
9811ALIGN="RIGHT"
9812VALIGN="TOP"
9813><TT
9814CLASS="PARAMETER"
9815><I
9816>URL</I
9817></TT
9818>&nbsp;:</TD
9819><TD
9820WIDTH="80%"
9821ALIGN="LEFT"
9822VALIGN="TOP"
9823> the URL for the entity to load</TD
9824></TR
9825><TR
9826><TD
9827WIDTH="20%"
9828ALIGN="RIGHT"
9829VALIGN="TOP"
9830><TT
9831CLASS="PARAMETER"
9832><I
9833>ID</I
9834></TT
9835>&nbsp;:</TD
9836><TD
9837WIDTH="80%"
9838ALIGN="LEFT"
9839VALIGN="TOP"
9840> the System ID for the entity to load</TD
9841></TR
9842><TR
9843><TD
9844WIDTH="20%"
9845ALIGN="RIGHT"
9846VALIGN="TOP"
9847><TT
9848CLASS="PARAMETER"
9849><I
9850>lst</I
9851></TT
9852>&nbsp;:</TD
9853><TD
9854WIDTH="80%"
9855ALIGN="LEFT"
9856VALIGN="TOP"
9857> the return value for the set of parsed nodes</TD
9858></TR
9859><TR
9860><TD
9861WIDTH="20%"
9862ALIGN="RIGHT"
9863VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00009864><SPAN
9865CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +00009866><I
9867CLASS="EMPHASIS"
9868>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00009869></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +00009870> :</TD
9871><TD
9872WIDTH="80%"
9873ALIGN="LEFT"
9874VALIGN="TOP"
9875>0 if the entity is well formed, -1 in case of args problem and
Daniel Veillardaf43f632002-03-08 15:05:20 +00009876the parser error code otherwise</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00009877></TR
9878></TBODY
9879></TABLE
9880><P
9881></P
9882></DIV
9883></DIV
9884><HR><DIV
9885CLASS="REFSECT2"
9886><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009887NAME="AEN2299"
Daniel Veillard06622df2002-01-21 17:53:42 +00009888></A
9889><H3
9890><A
9891NAME="XMLPARSECTXTEXTERNALENTITY"
9892></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009893>xmlParseCtxtExternalEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009894><TABLE
9895BORDER="0"
9896BGCOLOR="#D6E8FF"
9897WIDTH="100%"
9898CELLPADDING="6"
9899><TR
9900><TD
9901><PRE
9902CLASS="PROGRAMLISTING"
9903>int xmlParseCtxtExternalEntity (<A
9904HREF="libxml-tree.html#XMLPARSERCTXTPTR"
9905>xmlParserCtxtPtr</A
9906> ctx,
9907 const <A
9908HREF="libxml-tree.html#XMLCHAR"
9909>xmlChar</A
9910> *URL,
9911 const <A
9912HREF="libxml-tree.html#XMLCHAR"
9913>xmlChar</A
9914> *ID,
9915 <A
9916HREF="libxml-tree.html#XMLNODEPTR"
9917>xmlNodePtr</A
9918> *lst);</PRE
9919></TD
9920></TR
9921></TABLE
9922><P
9923>Parse an external general entity within an existing parsing context
9924An external general parsed entity is well-formed if it matches the
9925production labeled extParsedEnt.</P
9926><P
9927>[78] extParsedEnt ::= TextDecl? content</P
9928><P
9929></P
9930><DIV
9931CLASS="INFORMALTABLE"
9932><A
Daniel Veillard539638b2002-07-06 19:55:14 +00009933NAME="AEN2310"><P
Daniel Veillard06622df2002-01-21 17:53:42 +00009934></P
9935><TABLE
9936BORDER="0"
9937WIDTH="100%"
9938BGCOLOR="#FFD0D0"
9939CELLSPACING="0"
9940CELLPADDING="4"
9941CLASS="CALSTABLE"
9942><TBODY
9943><TR
9944><TD
9945WIDTH="20%"
9946ALIGN="RIGHT"
9947VALIGN="TOP"
9948><TT
9949CLASS="PARAMETER"
9950><I
9951>ctx</I
9952></TT
9953>&nbsp;:</TD
9954><TD
9955WIDTH="80%"
9956ALIGN="LEFT"
9957VALIGN="TOP"
9958> the existing parsing context</TD
9959></TR
9960><TR
9961><TD
9962WIDTH="20%"
9963ALIGN="RIGHT"
9964VALIGN="TOP"
9965><TT
9966CLASS="PARAMETER"
9967><I
9968>URL</I
9969></TT
9970>&nbsp;:</TD
9971><TD
9972WIDTH="80%"
9973ALIGN="LEFT"
9974VALIGN="TOP"
9975> the URL for the entity to load</TD
9976></TR
9977><TR
9978><TD
9979WIDTH="20%"
9980ALIGN="RIGHT"
9981VALIGN="TOP"
9982><TT
9983CLASS="PARAMETER"
9984><I
9985>ID</I
9986></TT
9987>&nbsp;:</TD
9988><TD
9989WIDTH="80%"
9990ALIGN="LEFT"
9991VALIGN="TOP"
9992> the System ID for the entity to load</TD
9993></TR
9994><TR
9995><TD
9996WIDTH="20%"
9997ALIGN="RIGHT"
9998VALIGN="TOP"
9999><TT
10000CLASS="PARAMETER"
10001><I
10002>lst</I
10003></TT
10004>&nbsp;:</TD
10005><TD
10006WIDTH="80%"
10007ALIGN="LEFT"
10008VALIGN="TOP"
10009> the return value for the set of parsed nodes</TD
10010></TR
10011><TR
10012><TD
10013WIDTH="20%"
10014ALIGN="RIGHT"
10015VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010016><SPAN
10017CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000010018><I
10019CLASS="EMPHASIS"
10020>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010021></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000010022> :</TD
10023><TD
10024WIDTH="80%"
10025ALIGN="LEFT"
10026VALIGN="TOP"
10027>0 if the entity is well formed, -1 in case of args problem and
Daniel Veillardaf43f632002-03-08 15:05:20 +000010028the parser error code otherwise</TD
Daniel Veillard06622df2002-01-21 17:53:42 +000010029></TR
10030></TBODY
10031></TABLE
10032><P
10033></P
10034></DIV
10035></DIV
10036><HR><DIV
10037CLASS="REFSECT2"
10038><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010039NAME="AEN2335"
Daniel Veillard06622df2002-01-21 17:53:42 +000010040></A
10041><H3
10042><A
10043NAME="XMLINITPARSERCTXT"
10044></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010045>xmlInitParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010046><TABLE
10047BORDER="0"
10048BGCOLOR="#D6E8FF"
10049WIDTH="100%"
10050CELLPADDING="6"
10051><TR
10052><TD
10053><PRE
10054CLASS="PROGRAMLISTING"
10055>void xmlInitParserCtxt (<A
10056HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10057>xmlParserCtxtPtr</A
10058> ctxt);</PRE
10059></TD
10060></TR
10061></TABLE
10062><P
10063>Initialize a parser context</P
10064><P
10065></P
10066><DIV
10067CLASS="INFORMALTABLE"
10068><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010069NAME="AEN2342"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010070></P
10071><TABLE
10072BORDER="0"
10073WIDTH="100%"
10074BGCOLOR="#FFD0D0"
10075CELLSPACING="0"
10076CELLPADDING="4"
10077CLASS="CALSTABLE"
10078><TBODY
10079><TR
10080><TD
10081WIDTH="20%"
10082ALIGN="RIGHT"
10083VALIGN="TOP"
10084><TT
10085CLASS="PARAMETER"
10086><I
10087>ctxt</I
10088></TT
10089>&nbsp;:</TD
10090><TD
10091WIDTH="80%"
10092ALIGN="LEFT"
10093VALIGN="TOP"
10094> an XML parser context</TD
10095></TR
10096></TBODY
10097></TABLE
10098><P
10099></P
10100></DIV
10101></DIV
10102><HR><DIV
10103CLASS="REFSECT2"
10104><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010105NAME="AEN2351"
Daniel Veillard06622df2002-01-21 17:53:42 +000010106></A
10107><H3
10108><A
10109NAME="XMLCLEARPARSERCTXT"
10110></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010111>xmlClearParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010112><TABLE
10113BORDER="0"
10114BGCOLOR="#D6E8FF"
10115WIDTH="100%"
10116CELLPADDING="6"
10117><TR
10118><TD
10119><PRE
10120CLASS="PROGRAMLISTING"
10121>void xmlClearParserCtxt (<A
10122HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10123>xmlParserCtxtPtr</A
10124> ctxt);</PRE
10125></TD
10126></TR
10127></TABLE
10128><P
10129>Clear (release owned resources) and reinitialize a parser context</P
10130><P
10131></P
10132><DIV
10133CLASS="INFORMALTABLE"
10134><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010135NAME="AEN2358"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010136></P
10137><TABLE
10138BORDER="0"
10139WIDTH="100%"
10140BGCOLOR="#FFD0D0"
10141CELLSPACING="0"
10142CELLPADDING="4"
10143CLASS="CALSTABLE"
10144><TBODY
10145><TR
10146><TD
10147WIDTH="20%"
10148ALIGN="RIGHT"
10149VALIGN="TOP"
10150><TT
10151CLASS="PARAMETER"
10152><I
10153>ctxt</I
10154></TT
10155>&nbsp;:</TD
10156><TD
10157WIDTH="80%"
10158ALIGN="LEFT"
10159VALIGN="TOP"
10160> an XML parser context</TD
10161></TR
10162></TBODY
10163></TABLE
10164><P
10165></P
10166></DIV
10167></DIV
10168><HR><DIV
10169CLASS="REFSECT2"
10170><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010171NAME="AEN2367"
Daniel Veillard06622df2002-01-21 17:53:42 +000010172></A
10173><H3
10174><A
10175NAME="XMLFREEPARSERCTXT"
10176></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010177>xmlFreeParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010178><TABLE
10179BORDER="0"
10180BGCOLOR="#D6E8FF"
10181WIDTH="100%"
10182CELLPADDING="6"
10183><TR
10184><TD
10185><PRE
10186CLASS="PROGRAMLISTING"
10187>void xmlFreeParserCtxt (<A
10188HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10189>xmlParserCtxtPtr</A
10190> ctxt);</PRE
10191></TD
10192></TR
10193></TABLE
10194><P
10195>Free all the memory used by a parser context. However the parsed
10196document in ctxt-&gt;myDoc is not freed.</P
10197><P
10198></P
10199><DIV
10200CLASS="INFORMALTABLE"
10201><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010202NAME="AEN2374"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010203></P
10204><TABLE
10205BORDER="0"
10206WIDTH="100%"
10207BGCOLOR="#FFD0D0"
10208CELLSPACING="0"
10209CELLPADDING="4"
10210CLASS="CALSTABLE"
10211><TBODY
10212><TR
10213><TD
10214WIDTH="20%"
10215ALIGN="RIGHT"
10216VALIGN="TOP"
10217><TT
10218CLASS="PARAMETER"
10219><I
10220>ctxt</I
10221></TT
10222>&nbsp;:</TD
10223><TD
10224WIDTH="80%"
10225ALIGN="LEFT"
10226VALIGN="TOP"
10227> an XML parser context</TD
10228></TR
10229></TBODY
10230></TABLE
10231><P
10232></P
10233></DIV
10234></DIV
10235><HR><DIV
10236CLASS="REFSECT2"
10237><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010238NAME="AEN2383"
Daniel Veillard06622df2002-01-21 17:53:42 +000010239></A
10240><H3
10241><A
10242NAME="XMLSETUPPARSERFORBUFFER"
10243></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010244>xmlSetupParserForBuffer ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010245><TABLE
10246BORDER="0"
10247BGCOLOR="#D6E8FF"
10248WIDTH="100%"
10249CELLPADDING="6"
10250><TR
10251><TD
10252><PRE
10253CLASS="PROGRAMLISTING"
10254>void xmlSetupParserForBuffer (<A
10255HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10256>xmlParserCtxtPtr</A
10257> ctxt,
10258 const <A
10259HREF="libxml-tree.html#XMLCHAR"
10260>xmlChar</A
10261> *buffer,
10262 const char *filename);</PRE
10263></TD
10264></TR
10265></TABLE
10266><P
10267>Setup the parser context to parse a new buffer; Clears any prior
10268contents from the parser context. The buffer parameter must not be
10269NULL, but the filename parameter can be</P
10270><P
10271></P
10272><DIV
10273CLASS="INFORMALTABLE"
10274><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010275NAME="AEN2391"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010276></P
10277><TABLE
10278BORDER="0"
10279WIDTH="100%"
10280BGCOLOR="#FFD0D0"
10281CELLSPACING="0"
10282CELLPADDING="4"
10283CLASS="CALSTABLE"
10284><TBODY
10285><TR
10286><TD
10287WIDTH="20%"
10288ALIGN="RIGHT"
10289VALIGN="TOP"
10290><TT
10291CLASS="PARAMETER"
10292><I
10293>ctxt</I
10294></TT
10295>&nbsp;:</TD
10296><TD
10297WIDTH="80%"
10298ALIGN="LEFT"
10299VALIGN="TOP"
10300> an XML parser context</TD
10301></TR
10302><TR
10303><TD
10304WIDTH="20%"
10305ALIGN="RIGHT"
10306VALIGN="TOP"
10307><TT
10308CLASS="PARAMETER"
10309><I
10310>buffer</I
10311></TT
10312>&nbsp;:</TD
10313><TD
10314WIDTH="80%"
10315ALIGN="LEFT"
10316VALIGN="TOP"
10317> a xmlChar * buffer</TD
10318></TR
10319><TR
10320><TD
10321WIDTH="20%"
10322ALIGN="RIGHT"
10323VALIGN="TOP"
10324><TT
10325CLASS="PARAMETER"
10326><I
10327>filename</I
10328></TT
10329>&nbsp;:</TD
10330><TD
10331WIDTH="80%"
10332ALIGN="LEFT"
10333VALIGN="TOP"
10334> a file name</TD
10335></TR
10336></TBODY
10337></TABLE
10338><P
10339></P
10340></DIV
10341></DIV
10342><HR><DIV
10343CLASS="REFSECT2"
10344><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010345NAME="AEN2408"
Daniel Veillard06622df2002-01-21 17:53:42 +000010346></A
10347><H3
10348><A
10349NAME="XMLCREATEDOCPARSERCTXT"
10350></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010351>xmlCreateDocParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010352><TABLE
10353BORDER="0"
10354BGCOLOR="#D6E8FF"
10355WIDTH="100%"
10356CELLPADDING="6"
10357><TR
10358><TD
10359><PRE
10360CLASS="PROGRAMLISTING"
10361><A
10362HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10363>xmlParserCtxtPtr</A
10364> xmlCreateDocParserCtxt (<A
10365HREF="libxml-tree.html#XMLCHAR"
10366>xmlChar</A
10367> *cur);</PRE
10368></TD
10369></TR
10370></TABLE
10371><P
10372>Creates a parser context for an XML in-memory document.</P
10373><P
10374></P
10375><DIV
10376CLASS="INFORMALTABLE"
10377><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010378NAME="AEN2416"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010379></P
10380><TABLE
10381BORDER="0"
10382WIDTH="100%"
10383BGCOLOR="#FFD0D0"
10384CELLSPACING="0"
10385CELLPADDING="4"
10386CLASS="CALSTABLE"
10387><TBODY
10388><TR
10389><TD
10390WIDTH="20%"
10391ALIGN="RIGHT"
10392VALIGN="TOP"
10393><TT
10394CLASS="PARAMETER"
10395><I
10396>cur</I
10397></TT
10398>&nbsp;:</TD
10399><TD
10400WIDTH="80%"
10401ALIGN="LEFT"
10402VALIGN="TOP"
10403> a pointer to an array of xmlChar</TD
10404></TR
10405><TR
10406><TD
10407WIDTH="20%"
10408ALIGN="RIGHT"
10409VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010410><SPAN
10411CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000010412><I
10413CLASS="EMPHASIS"
10414>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010415></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000010416> :</TD
10417><TD
10418WIDTH="80%"
10419ALIGN="LEFT"
10420VALIGN="TOP"
10421>the new parser context or NULL</TD
10422></TR
10423></TBODY
10424></TABLE
10425><P
10426></P
10427></DIV
10428></DIV
10429><HR><DIV
10430CLASS="REFSECT2"
10431><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010432NAME="AEN2429"
Daniel Veillard06622df2002-01-21 17:53:42 +000010433></A
10434><H3
10435><A
10436NAME="XMLGETFEATURESLIST"
10437></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010438>xmlGetFeaturesList ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010439><TABLE
10440BORDER="0"
10441BGCOLOR="#D6E8FF"
10442WIDTH="100%"
10443CELLPADDING="6"
10444><TR
10445><TD
10446><PRE
10447CLASS="PROGRAMLISTING"
10448>int xmlGetFeaturesList (int *len,
10449 const char **result);</PRE
10450></TD
10451></TR
10452></TABLE
10453><P
10454>Copy at most *<TT
10455CLASS="PARAMETER"
10456><I
10457>len</I
10458></TT
10459> feature names into the <TT
10460CLASS="PARAMETER"
10461><I
10462>result</I
10463></TT
10464> array</P
10465><P
10466></P
10467><DIV
10468CLASS="INFORMALTABLE"
10469><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010470NAME="AEN2437"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010471></P
10472><TABLE
10473BORDER="0"
10474WIDTH="100%"
10475BGCOLOR="#FFD0D0"
10476CELLSPACING="0"
10477CELLPADDING="4"
10478CLASS="CALSTABLE"
10479><TBODY
10480><TR
10481><TD
10482WIDTH="20%"
10483ALIGN="RIGHT"
10484VALIGN="TOP"
10485><TT
10486CLASS="PARAMETER"
10487><I
10488>len</I
10489></TT
10490>&nbsp;:</TD
10491><TD
10492WIDTH="80%"
10493ALIGN="LEFT"
10494VALIGN="TOP"
10495> the length of the features name array (input/output)</TD
10496></TR
10497><TR
10498><TD
10499WIDTH="20%"
10500ALIGN="RIGHT"
10501VALIGN="TOP"
10502><TT
10503CLASS="PARAMETER"
10504><I
10505>result</I
10506></TT
10507>&nbsp;:</TD
10508><TD
10509WIDTH="80%"
10510ALIGN="LEFT"
10511VALIGN="TOP"
10512> an array of string to be filled with the features name.</TD
10513></TR
10514><TR
10515><TD
10516WIDTH="20%"
10517ALIGN="RIGHT"
10518VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010519><SPAN
10520CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000010521><I
10522CLASS="EMPHASIS"
10523>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010524></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000010525> :</TD
10526><TD
10527WIDTH="80%"
10528ALIGN="LEFT"
10529VALIGN="TOP"
10530>-1 in case or error, or the total number of features,
Daniel Veillardaf43f632002-03-08 15:05:20 +000010531len is updated with the number of strings copied,
10532strings must not be deallocated</TD
Daniel Veillard06622df2002-01-21 17:53:42 +000010533></TR
10534></TBODY
10535></TABLE
10536><P
10537></P
10538></DIV
10539></DIV
10540><HR><DIV
10541CLASS="REFSECT2"
10542><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010543NAME="AEN2454"
Daniel Veillard06622df2002-01-21 17:53:42 +000010544></A
10545><H3
10546><A
10547NAME="XMLGETFEATURE"
10548></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010549>xmlGetFeature ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010550><TABLE
10551BORDER="0"
10552BGCOLOR="#D6E8FF"
10553WIDTH="100%"
10554CELLPADDING="6"
10555><TR
10556><TD
10557><PRE
10558CLASS="PROGRAMLISTING"
10559>int xmlGetFeature (<A
10560HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10561>xmlParserCtxtPtr</A
10562> ctxt,
10563 const char *name,
10564 void *result);</PRE
10565></TD
10566></TR
10567></TABLE
10568><P
10569>Read the current value of one feature of this parser instance</P
10570><P
10571></P
10572><DIV
10573CLASS="INFORMALTABLE"
10574><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010575NAME="AEN2461"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010576></P
10577><TABLE
10578BORDER="0"
10579WIDTH="100%"
10580BGCOLOR="#FFD0D0"
10581CELLSPACING="0"
10582CELLPADDING="4"
10583CLASS="CALSTABLE"
10584><TBODY
10585><TR
10586><TD
10587WIDTH="20%"
10588ALIGN="RIGHT"
10589VALIGN="TOP"
10590><TT
10591CLASS="PARAMETER"
10592><I
10593>ctxt</I
10594></TT
10595>&nbsp;:</TD
10596><TD
10597WIDTH="80%"
10598ALIGN="LEFT"
10599VALIGN="TOP"
10600> an XML/HTML parser context</TD
10601></TR
10602><TR
10603><TD
10604WIDTH="20%"
10605ALIGN="RIGHT"
10606VALIGN="TOP"
10607><TT
10608CLASS="PARAMETER"
10609><I
10610>name</I
10611></TT
10612>&nbsp;:</TD
10613><TD
10614WIDTH="80%"
10615ALIGN="LEFT"
10616VALIGN="TOP"
10617> the feature name</TD
10618></TR
10619><TR
10620><TD
10621WIDTH="20%"
10622ALIGN="RIGHT"
10623VALIGN="TOP"
10624><TT
10625CLASS="PARAMETER"
10626><I
10627>result</I
10628></TT
10629>&nbsp;:</TD
10630><TD
10631WIDTH="80%"
10632ALIGN="LEFT"
10633VALIGN="TOP"
10634> location to store the result</TD
10635></TR
10636><TR
10637><TD
10638WIDTH="20%"
10639ALIGN="RIGHT"
10640VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010641><SPAN
10642CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000010643><I
10644CLASS="EMPHASIS"
10645>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010646></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000010647> :</TD
10648><TD
10649WIDTH="80%"
10650ALIGN="LEFT"
10651VALIGN="TOP"
10652>-1 in case or error, 0 otherwise</TD
10653></TR
10654></TBODY
10655></TABLE
10656><P
10657></P
10658></DIV
10659></DIV
10660><HR><DIV
10661CLASS="REFSECT2"
10662><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010663NAME="AEN2482"
Daniel Veillard06622df2002-01-21 17:53:42 +000010664></A
10665><H3
10666><A
10667NAME="XMLSETFEATURE"
10668></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010669>xmlSetFeature ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010670><TABLE
10671BORDER="0"
10672BGCOLOR="#D6E8FF"
10673WIDTH="100%"
10674CELLPADDING="6"
10675><TR
10676><TD
10677><PRE
10678CLASS="PROGRAMLISTING"
10679>int xmlSetFeature (<A
10680HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10681>xmlParserCtxtPtr</A
10682> ctxt,
10683 const char *name,
10684 void *value);</PRE
10685></TD
10686></TR
10687></TABLE
10688><P
10689>Change the current value of one feature of this parser instance</P
10690><P
10691></P
10692><DIV
10693CLASS="INFORMALTABLE"
10694><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010695NAME="AEN2489"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010696></P
10697><TABLE
10698BORDER="0"
10699WIDTH="100%"
10700BGCOLOR="#FFD0D0"
10701CELLSPACING="0"
10702CELLPADDING="4"
10703CLASS="CALSTABLE"
10704><TBODY
10705><TR
10706><TD
10707WIDTH="20%"
10708ALIGN="RIGHT"
10709VALIGN="TOP"
10710><TT
10711CLASS="PARAMETER"
10712><I
10713>ctxt</I
10714></TT
10715>&nbsp;:</TD
10716><TD
10717WIDTH="80%"
10718ALIGN="LEFT"
10719VALIGN="TOP"
10720> an XML/HTML parser context</TD
10721></TR
10722><TR
10723><TD
10724WIDTH="20%"
10725ALIGN="RIGHT"
10726VALIGN="TOP"
10727><TT
10728CLASS="PARAMETER"
10729><I
10730>name</I
10731></TT
10732>&nbsp;:</TD
10733><TD
10734WIDTH="80%"
10735ALIGN="LEFT"
10736VALIGN="TOP"
10737> the feature name</TD
10738></TR
10739><TR
10740><TD
10741WIDTH="20%"
10742ALIGN="RIGHT"
10743VALIGN="TOP"
10744><TT
10745CLASS="PARAMETER"
10746><I
10747>value</I
10748></TT
10749>&nbsp;:</TD
10750><TD
10751WIDTH="80%"
10752ALIGN="LEFT"
10753VALIGN="TOP"
10754> pointer to the location of the new value</TD
10755></TR
10756><TR
10757><TD
10758WIDTH="20%"
10759ALIGN="RIGHT"
10760VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010761><SPAN
10762CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000010763><I
10764CLASS="EMPHASIS"
10765>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010766></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000010767> :</TD
10768><TD
10769WIDTH="80%"
10770ALIGN="LEFT"
10771VALIGN="TOP"
10772>-1 in case or error, 0 otherwise</TD
10773></TR
10774></TBODY
10775></TABLE
10776><P
10777></P
10778></DIV
10779></DIV
10780><HR><DIV
10781CLASS="REFSECT2"
10782><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010783NAME="AEN2510"
Daniel Veillard06622df2002-01-21 17:53:42 +000010784></A
10785><H3
10786><A
10787NAME="XMLCREATEPUSHPARSERCTXT"
10788></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010789>xmlCreatePushParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010790><TABLE
10791BORDER="0"
10792BGCOLOR="#D6E8FF"
10793WIDTH="100%"
10794CELLPADDING="6"
10795><TR
10796><TD
10797><PRE
10798CLASS="PROGRAMLISTING"
10799><A
10800HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10801>xmlParserCtxtPtr</A
10802> xmlCreatePushParserCtxt (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010803HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +000010804>xmlSAXHandlerPtr</A
10805> sax,
10806 void *user_data,
10807 const char *chunk,
10808 int size,
10809 const char *filename);</PRE
10810></TD
10811></TR
10812></TABLE
10813><P
10814>Create a parser context for using the XML parser in push mode
10815To allow content encoding detection, <TT
10816CLASS="PARAMETER"
10817><I
10818>size</I
10819></TT
10820> should be &gt;= 4
10821The value of <TT
10822CLASS="PARAMETER"
10823><I
10824>filename</I
10825></TT
10826> is used for fetching external entities
10827and error/warning reports.</P
10828><P
10829></P
10830><DIV
10831CLASS="INFORMALTABLE"
10832><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010833NAME="AEN2520"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010834></P
10835><TABLE
10836BORDER="0"
10837WIDTH="100%"
10838BGCOLOR="#FFD0D0"
10839CELLSPACING="0"
10840CELLPADDING="4"
10841CLASS="CALSTABLE"
10842><TBODY
10843><TR
10844><TD
10845WIDTH="20%"
10846ALIGN="RIGHT"
10847VALIGN="TOP"
10848><TT
10849CLASS="PARAMETER"
10850><I
10851>sax</I
10852></TT
10853>&nbsp;:</TD
10854><TD
10855WIDTH="80%"
10856ALIGN="LEFT"
10857VALIGN="TOP"
10858> a SAX handler</TD
10859></TR
10860><TR
10861><TD
10862WIDTH="20%"
10863ALIGN="RIGHT"
10864VALIGN="TOP"
10865><TT
10866CLASS="PARAMETER"
10867><I
10868>user_data</I
10869></TT
10870>&nbsp;:</TD
10871><TD
10872WIDTH="80%"
10873ALIGN="LEFT"
10874VALIGN="TOP"
10875> The user data returned on SAX callbacks</TD
10876></TR
10877><TR
10878><TD
10879WIDTH="20%"
10880ALIGN="RIGHT"
10881VALIGN="TOP"
10882><TT
10883CLASS="PARAMETER"
10884><I
10885>chunk</I
10886></TT
10887>&nbsp;:</TD
10888><TD
10889WIDTH="80%"
10890ALIGN="LEFT"
10891VALIGN="TOP"
10892> a pointer to an array of chars</TD
10893></TR
10894><TR
10895><TD
10896WIDTH="20%"
10897ALIGN="RIGHT"
10898VALIGN="TOP"
10899><TT
10900CLASS="PARAMETER"
10901><I
10902>size</I
10903></TT
10904>&nbsp;:</TD
10905><TD
10906WIDTH="80%"
10907ALIGN="LEFT"
10908VALIGN="TOP"
10909> number of chars in the array</TD
10910></TR
10911><TR
10912><TD
10913WIDTH="20%"
10914ALIGN="RIGHT"
10915VALIGN="TOP"
10916><TT
10917CLASS="PARAMETER"
10918><I
10919>filename</I
10920></TT
10921>&nbsp;:</TD
10922><TD
10923WIDTH="80%"
10924ALIGN="LEFT"
10925VALIGN="TOP"
10926> an optional file name or URI</TD
10927></TR
10928><TR
10929><TD
10930WIDTH="20%"
10931ALIGN="RIGHT"
10932VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000010933><SPAN
10934CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000010935><I
10936CLASS="EMPHASIS"
10937>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000010938></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000010939> :</TD
10940><TD
10941WIDTH="80%"
10942ALIGN="LEFT"
10943VALIGN="TOP"
10944>the new parser context or NULL</TD
10945></TR
10946></TBODY
10947></TABLE
10948><P
10949></P
10950></DIV
10951></DIV
10952><HR><DIV
10953CLASS="REFSECT2"
10954><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010955NAME="AEN2549"
Daniel Veillard06622df2002-01-21 17:53:42 +000010956></A
10957><H3
10958><A
10959NAME="XMLPARSECHUNK"
10960></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010961>xmlParseChunk ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010962><TABLE
10963BORDER="0"
10964BGCOLOR="#D6E8FF"
10965WIDTH="100%"
10966CELLPADDING="6"
10967><TR
10968><TD
10969><PRE
10970CLASS="PROGRAMLISTING"
10971>int xmlParseChunk (<A
10972HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10973>xmlParserCtxtPtr</A
10974> ctxt,
10975 const char *chunk,
10976 int size,
10977 int terminate);</PRE
10978></TD
10979></TR
10980></TABLE
10981><P
10982>Parse a Chunk of memory</P
10983><P
10984></P
10985><DIV
10986CLASS="INFORMALTABLE"
10987><A
Daniel Veillard539638b2002-07-06 19:55:14 +000010988NAME="AEN2556"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000010989></P
10990><TABLE
10991BORDER="0"
10992WIDTH="100%"
10993BGCOLOR="#FFD0D0"
10994CELLSPACING="0"
10995CELLPADDING="4"
10996CLASS="CALSTABLE"
10997><TBODY
10998><TR
10999><TD
11000WIDTH="20%"
11001ALIGN="RIGHT"
11002VALIGN="TOP"
11003><TT
11004CLASS="PARAMETER"
11005><I
11006>ctxt</I
11007></TT
11008>&nbsp;:</TD
11009><TD
11010WIDTH="80%"
11011ALIGN="LEFT"
11012VALIGN="TOP"
11013> an XML parser context</TD
11014></TR
11015><TR
11016><TD
11017WIDTH="20%"
11018ALIGN="RIGHT"
11019VALIGN="TOP"
11020><TT
11021CLASS="PARAMETER"
11022><I
11023>chunk</I
11024></TT
11025>&nbsp;:</TD
11026><TD
11027WIDTH="80%"
11028ALIGN="LEFT"
11029VALIGN="TOP"
11030> an char array</TD
11031></TR
11032><TR
11033><TD
11034WIDTH="20%"
11035ALIGN="RIGHT"
11036VALIGN="TOP"
11037><TT
11038CLASS="PARAMETER"
11039><I
11040>size</I
11041></TT
11042>&nbsp;:</TD
11043><TD
11044WIDTH="80%"
11045ALIGN="LEFT"
11046VALIGN="TOP"
11047> the size in byte of the chunk</TD
11048></TR
11049><TR
11050><TD
11051WIDTH="20%"
11052ALIGN="RIGHT"
11053VALIGN="TOP"
11054><TT
11055CLASS="PARAMETER"
11056><I
11057>terminate</I
11058></TT
11059>&nbsp;:</TD
11060><TD
11061WIDTH="80%"
11062ALIGN="LEFT"
11063VALIGN="TOP"
11064> last chunk indicator</TD
11065></TR
11066><TR
11067><TD
11068WIDTH="20%"
11069ALIGN="RIGHT"
11070VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011071><SPAN
11072CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011073><I
11074CLASS="EMPHASIS"
11075>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011076></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011077> :</TD
11078><TD
11079WIDTH="80%"
11080ALIGN="LEFT"
11081VALIGN="TOP"
11082>zero if no error, the xmlParserErrors otherwise.</TD
11083></TR
11084></TBODY
11085></TABLE
11086><P
11087></P
11088></DIV
11089></DIV
11090><HR><DIV
11091CLASS="REFSECT2"
11092><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011093NAME="AEN2581"
Daniel Veillard06622df2002-01-21 17:53:42 +000011094></A
11095><H3
11096><A
11097NAME="XMLCREATEIOPARSERCTXT"
11098></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011099>xmlCreateIOParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011100><TABLE
11101BORDER="0"
11102BGCOLOR="#D6E8FF"
11103WIDTH="100%"
11104CELLPADDING="6"
11105><TR
11106><TD
11107><PRE
11108CLASS="PROGRAMLISTING"
11109><A
11110HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11111>xmlParserCtxtPtr</A
11112> xmlCreateIOParserCtxt (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011113HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +000011114>xmlSAXHandlerPtr</A
11115> sax,
11116 void *user_data,
11117 <A
11118HREF="libxml-xmlio.html#XMLINPUTREADCALLBACK"
11119>xmlInputReadCallback</A
11120> ioread,
11121 <A
11122HREF="libxml-xmlio.html#XMLINPUTCLOSECALLBACK"
11123>xmlInputCloseCallback</A
11124> ioclose,
11125 void *ioctx,
11126 <A
11127HREF="libxml-encoding.html#XMLCHARENCODING"
11128>xmlCharEncoding</A
11129> enc);</PRE
11130></TD
11131></TR
11132></TABLE
11133><P
11134>Create a parser context for using the XML parser with an existing
11135I/O stream</P
11136><P
11137></P
11138><DIV
11139CLASS="INFORMALTABLE"
11140><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011141NAME="AEN2592"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011142></P
11143><TABLE
11144BORDER="0"
11145WIDTH="100%"
11146BGCOLOR="#FFD0D0"
11147CELLSPACING="0"
11148CELLPADDING="4"
11149CLASS="CALSTABLE"
11150><TBODY
11151><TR
11152><TD
11153WIDTH="20%"
11154ALIGN="RIGHT"
11155VALIGN="TOP"
11156><TT
11157CLASS="PARAMETER"
11158><I
11159>sax</I
11160></TT
11161>&nbsp;:</TD
11162><TD
11163WIDTH="80%"
11164ALIGN="LEFT"
11165VALIGN="TOP"
11166> a SAX handler</TD
11167></TR
11168><TR
11169><TD
11170WIDTH="20%"
11171ALIGN="RIGHT"
11172VALIGN="TOP"
11173><TT
11174CLASS="PARAMETER"
11175><I
11176>user_data</I
11177></TT
11178>&nbsp;:</TD
11179><TD
11180WIDTH="80%"
11181ALIGN="LEFT"
11182VALIGN="TOP"
11183> The user data returned on SAX callbacks</TD
11184></TR
11185><TR
11186><TD
11187WIDTH="20%"
11188ALIGN="RIGHT"
11189VALIGN="TOP"
11190><TT
11191CLASS="PARAMETER"
11192><I
11193>ioread</I
11194></TT
11195>&nbsp;:</TD
11196><TD
11197WIDTH="80%"
11198ALIGN="LEFT"
11199VALIGN="TOP"
11200> an I/O read function</TD
11201></TR
11202><TR
11203><TD
11204WIDTH="20%"
11205ALIGN="RIGHT"
11206VALIGN="TOP"
11207><TT
11208CLASS="PARAMETER"
11209><I
11210>ioclose</I
11211></TT
11212>&nbsp;:</TD
11213><TD
11214WIDTH="80%"
11215ALIGN="LEFT"
11216VALIGN="TOP"
11217> an I/O close function</TD
11218></TR
11219><TR
11220><TD
11221WIDTH="20%"
11222ALIGN="RIGHT"
11223VALIGN="TOP"
11224><TT
11225CLASS="PARAMETER"
11226><I
11227>ioctx</I
11228></TT
11229>&nbsp;:</TD
11230><TD
11231WIDTH="80%"
11232ALIGN="LEFT"
11233VALIGN="TOP"
11234> an I/O handler</TD
11235></TR
11236><TR
11237><TD
11238WIDTH="20%"
11239ALIGN="RIGHT"
11240VALIGN="TOP"
11241><TT
11242CLASS="PARAMETER"
11243><I
11244>enc</I
11245></TT
11246>&nbsp;:</TD
11247><TD
11248WIDTH="80%"
11249ALIGN="LEFT"
11250VALIGN="TOP"
11251> the charset encoding if known</TD
11252></TR
11253><TR
11254><TD
11255WIDTH="20%"
11256ALIGN="RIGHT"
11257VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011258><SPAN
11259CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011260><I
11261CLASS="EMPHASIS"
11262>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011263></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011264> :</TD
11265><TD
11266WIDTH="80%"
11267ALIGN="LEFT"
11268VALIGN="TOP"
11269>the new parser context or NULL</TD
11270></TR
11271></TBODY
11272></TABLE
11273><P
11274></P
11275></DIV
11276></DIV
11277><HR><DIV
11278CLASS="REFSECT2"
11279><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011280NAME="AEN2625"
Daniel Veillard06622df2002-01-21 17:53:42 +000011281></A
11282><H3
11283><A
11284NAME="XMLNEWIOINPUTSTREAM"
11285></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011286>xmlNewIOInputStream ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011287><TABLE
11288BORDER="0"
11289BGCOLOR="#D6E8FF"
11290WIDTH="100%"
11291CELLPADDING="6"
11292><TR
11293><TD
11294><PRE
11295CLASS="PROGRAMLISTING"
11296><A
11297HREF="libxml-tree.html#XMLPARSERINPUTPTR"
11298>xmlParserInputPtr</A
11299> xmlNewIOInputStream (<A
11300HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11301>xmlParserCtxtPtr</A
11302> ctxt,
11303 <A
11304HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
11305>xmlParserInputBufferPtr</A
11306> input,
11307 <A
11308HREF="libxml-encoding.html#XMLCHARENCODING"
11309>xmlCharEncoding</A
11310> enc);</PRE
11311></TD
11312></TR
11313></TABLE
11314><P
11315>Create a new input stream structure encapsulating the <TT
11316CLASS="PARAMETER"
11317><I
11318>input</I
11319></TT
11320> into
11321a stream suitable for the parser.</P
11322><P
11323></P
11324><DIV
11325CLASS="INFORMALTABLE"
11326><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011327NAME="AEN2636"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011328></P
11329><TABLE
11330BORDER="0"
11331WIDTH="100%"
11332BGCOLOR="#FFD0D0"
11333CELLSPACING="0"
11334CELLPADDING="4"
11335CLASS="CALSTABLE"
11336><TBODY
11337><TR
11338><TD
11339WIDTH="20%"
11340ALIGN="RIGHT"
11341VALIGN="TOP"
11342><TT
11343CLASS="PARAMETER"
11344><I
11345>ctxt</I
11346></TT
11347>&nbsp;:</TD
11348><TD
11349WIDTH="80%"
11350ALIGN="LEFT"
11351VALIGN="TOP"
11352> an XML parser context</TD
11353></TR
11354><TR
11355><TD
11356WIDTH="20%"
11357ALIGN="RIGHT"
11358VALIGN="TOP"
11359><TT
11360CLASS="PARAMETER"
11361><I
11362>input</I
11363></TT
11364>&nbsp;:</TD
11365><TD
11366WIDTH="80%"
11367ALIGN="LEFT"
11368VALIGN="TOP"
11369> an I/O Input</TD
11370></TR
11371><TR
11372><TD
11373WIDTH="20%"
11374ALIGN="RIGHT"
11375VALIGN="TOP"
11376><TT
11377CLASS="PARAMETER"
11378><I
11379>enc</I
11380></TT
11381>&nbsp;:</TD
11382><TD
11383WIDTH="80%"
11384ALIGN="LEFT"
11385VALIGN="TOP"
11386> the charset encoding if known</TD
11387></TR
11388><TR
11389><TD
11390WIDTH="20%"
11391ALIGN="RIGHT"
11392VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011393><SPAN
11394CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011395><I
11396CLASS="EMPHASIS"
11397>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011398></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011399> :</TD
11400><TD
11401WIDTH="80%"
11402ALIGN="LEFT"
11403VALIGN="TOP"
11404>the new input stream or NULL</TD
11405></TR
11406></TBODY
11407></TABLE
11408><P
11409></P
11410></DIV
11411></DIV
11412><HR><DIV
11413CLASS="REFSECT2"
11414><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011415NAME="AEN2657"
Daniel Veillard06622df2002-01-21 17:53:42 +000011416></A
11417><H3
11418><A
11419NAME="XMLPARSERFINDNODEINFO"
11420></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011421>xmlParserFindNodeInfo ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011422><TABLE
11423BORDER="0"
11424BGCOLOR="#D6E8FF"
11425WIDTH="100%"
11426CELLPADDING="6"
11427><TR
11428><TD
11429><PRE
11430CLASS="PROGRAMLISTING"
11431>const <A
11432HREF="libxml-parser.html#XMLPARSERNODEINFO"
11433>xmlParserNodeInfo</A
11434>* xmlParserFindNodeInfo
11435 (const <A
11436HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11437>xmlParserCtxtPtr</A
11438> ctxt,
11439 const <A
11440HREF="libxml-tree.html#XMLNODEPTR"
11441>xmlNodePtr</A
11442> node);</PRE
11443></TD
11444></TR
11445></TABLE
11446><P
11447>Find the parser node info struct for a given node</P
11448><P
11449></P
11450><DIV
11451CLASS="INFORMALTABLE"
11452><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011453NAME="AEN2666"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011454></P
11455><TABLE
11456BORDER="0"
11457WIDTH="100%"
11458BGCOLOR="#FFD0D0"
11459CELLSPACING="0"
11460CELLPADDING="4"
11461CLASS="CALSTABLE"
11462><TBODY
11463><TR
11464><TD
11465WIDTH="20%"
11466ALIGN="RIGHT"
11467VALIGN="TOP"
11468><TT
11469CLASS="PARAMETER"
11470><I
11471>ctxt</I
11472></TT
11473>&nbsp;:</TD
11474><TD
11475WIDTH="80%"
11476ALIGN="LEFT"
11477VALIGN="TOP"
11478> an XML parser context</TD
11479></TR
11480><TR
11481><TD
11482WIDTH="20%"
11483ALIGN="RIGHT"
11484VALIGN="TOP"
11485><TT
11486CLASS="PARAMETER"
11487><I
11488>node</I
11489></TT
11490>&nbsp;:</TD
11491><TD
11492WIDTH="80%"
11493ALIGN="LEFT"
11494VALIGN="TOP"
11495> an XML node within the tree</TD
11496></TR
11497><TR
11498><TD
11499WIDTH="20%"
11500ALIGN="RIGHT"
11501VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011502><SPAN
11503CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011504><I
11505CLASS="EMPHASIS"
11506>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011507></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011508> :</TD
11509><TD
11510WIDTH="80%"
11511ALIGN="LEFT"
11512VALIGN="TOP"
11513>an xmlParserNodeInfo block pointer or NULL</TD
11514></TR
11515></TBODY
11516></TABLE
11517><P
11518></P
11519></DIV
11520></DIV
11521><HR><DIV
11522CLASS="REFSECT2"
11523><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011524NAME="AEN2683"
Daniel Veillard06622df2002-01-21 17:53:42 +000011525></A
11526><H3
11527><A
11528NAME="XMLINITNODEINFOSEQ"
11529></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011530>xmlInitNodeInfoSeq ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011531><TABLE
11532BORDER="0"
11533BGCOLOR="#D6E8FF"
11534WIDTH="100%"
11535CELLPADDING="6"
11536><TR
11537><TD
11538><PRE
11539CLASS="PROGRAMLISTING"
11540>void xmlInitNodeInfoSeq (<A
11541HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
11542>xmlParserNodeInfoSeqPtr</A
11543> seq);</PRE
11544></TD
11545></TR
11546></TABLE
11547><P
11548>-- Initialize (set to initial state) node info sequence</P
11549><P
11550></P
11551><DIV
11552CLASS="INFORMALTABLE"
11553><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011554NAME="AEN2690"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011555></P
11556><TABLE
11557BORDER="0"
11558WIDTH="100%"
11559BGCOLOR="#FFD0D0"
11560CELLSPACING="0"
11561CELLPADDING="4"
11562CLASS="CALSTABLE"
11563><TBODY
11564><TR
11565><TD
11566WIDTH="20%"
11567ALIGN="RIGHT"
11568VALIGN="TOP"
11569><TT
11570CLASS="PARAMETER"
11571><I
11572>seq</I
11573></TT
11574>&nbsp;:</TD
11575><TD
11576WIDTH="80%"
11577ALIGN="LEFT"
11578VALIGN="TOP"
11579> a node info sequence pointer</TD
11580></TR
11581></TBODY
11582></TABLE
11583><P
11584></P
11585></DIV
11586></DIV
11587><HR><DIV
11588CLASS="REFSECT2"
11589><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011590NAME="AEN2699"
Daniel Veillard06622df2002-01-21 17:53:42 +000011591></A
11592><H3
11593><A
11594NAME="XMLCLEARNODEINFOSEQ"
11595></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011596>xmlClearNodeInfoSeq ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011597><TABLE
11598BORDER="0"
11599BGCOLOR="#D6E8FF"
11600WIDTH="100%"
11601CELLPADDING="6"
11602><TR
11603><TD
11604><PRE
11605CLASS="PROGRAMLISTING"
11606>void xmlClearNodeInfoSeq (<A
11607HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
11608>xmlParserNodeInfoSeqPtr</A
11609> seq);</PRE
11610></TD
11611></TR
11612></TABLE
11613><P
11614>-- Clear (release memory and reinitialize) node
Daniel Veillardaf43f632002-03-08 15:05:20 +000011615info sequence</P
Daniel Veillard06622df2002-01-21 17:53:42 +000011616><P
11617></P
11618><DIV
11619CLASS="INFORMALTABLE"
11620><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011621NAME="AEN2706"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011622></P
11623><TABLE
11624BORDER="0"
11625WIDTH="100%"
11626BGCOLOR="#FFD0D0"
11627CELLSPACING="0"
11628CELLPADDING="4"
11629CLASS="CALSTABLE"
11630><TBODY
11631><TR
11632><TD
11633WIDTH="20%"
11634ALIGN="RIGHT"
11635VALIGN="TOP"
11636><TT
11637CLASS="PARAMETER"
11638><I
11639>seq</I
11640></TT
11641>&nbsp;:</TD
11642><TD
11643WIDTH="80%"
11644ALIGN="LEFT"
11645VALIGN="TOP"
11646> a node info sequence pointer</TD
11647></TR
11648></TBODY
11649></TABLE
11650><P
11651></P
11652></DIV
11653></DIV
11654><HR><DIV
11655CLASS="REFSECT2"
11656><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011657NAME="AEN2715"
Daniel Veillard06622df2002-01-21 17:53:42 +000011658></A
11659><H3
11660><A
11661NAME="XMLPARSERFINDNODEINFOINDEX"
11662></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011663>xmlParserFindNodeInfoIndex ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011664><TABLE
11665BORDER="0"
11666BGCOLOR="#D6E8FF"
11667WIDTH="100%"
11668CELLPADDING="6"
11669><TR
11670><TD
11671><PRE
11672CLASS="PROGRAMLISTING"
11673>unsigned <GTKDOCLINK
11674HREF="LONG"
11675>long</GTKDOCLINK
11676> xmlParserFindNodeInfoIndex (const <A
11677HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
11678>xmlParserNodeInfoSeqPtr</A
11679> seq,
11680 const <A
11681HREF="libxml-tree.html#XMLNODEPTR"
11682>xmlNodePtr</A
11683> node);</PRE
11684></TD
11685></TR
11686></TABLE
11687><P
11688>xmlParserFindNodeInfoIndex : Find the index that the info record for
Daniel Veillardaf43f632002-03-08 15:05:20 +000011689the given node is or should be at in a sorted sequence</P
Daniel Veillard06622df2002-01-21 17:53:42 +000011690><P
11691></P
11692><DIV
11693CLASS="INFORMALTABLE"
11694><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011695NAME="AEN2724"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011696></P
11697><TABLE
11698BORDER="0"
11699WIDTH="100%"
11700BGCOLOR="#FFD0D0"
11701CELLSPACING="0"
11702CELLPADDING="4"
11703CLASS="CALSTABLE"
11704><TBODY
11705><TR
11706><TD
11707WIDTH="20%"
11708ALIGN="RIGHT"
11709VALIGN="TOP"
11710><TT
11711CLASS="PARAMETER"
11712><I
11713>seq</I
11714></TT
11715>&nbsp;:</TD
11716><TD
11717WIDTH="80%"
11718ALIGN="LEFT"
11719VALIGN="TOP"
11720> a node info sequence pointer</TD
11721></TR
11722><TR
11723><TD
11724WIDTH="20%"
11725ALIGN="RIGHT"
11726VALIGN="TOP"
11727><TT
11728CLASS="PARAMETER"
11729><I
11730>node</I
11731></TT
11732>&nbsp;:</TD
11733><TD
11734WIDTH="80%"
11735ALIGN="LEFT"
11736VALIGN="TOP"
11737> an XML node pointer</TD
11738></TR
11739><TR
11740><TD
11741WIDTH="20%"
11742ALIGN="RIGHT"
11743VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011744><SPAN
11745CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011746><I
11747CLASS="EMPHASIS"
11748>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011749></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011750> :</TD
11751><TD
11752WIDTH="80%"
11753ALIGN="LEFT"
11754VALIGN="TOP"
11755>a long indicating the position of the record</TD
11756></TR
11757></TBODY
11758></TABLE
11759><P
11760></P
11761></DIV
11762></DIV
11763><HR><DIV
11764CLASS="REFSECT2"
11765><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011766NAME="AEN2741"
Daniel Veillard06622df2002-01-21 17:53:42 +000011767></A
11768><H3
11769><A
11770NAME="XMLPARSERADDNODEINFO"
11771></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011772>xmlParserAddNodeInfo ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011773><TABLE
11774BORDER="0"
11775BGCOLOR="#D6E8FF"
11776WIDTH="100%"
11777CELLPADDING="6"
11778><TR
11779><TD
11780><PRE
11781CLASS="PROGRAMLISTING"
11782>void xmlParserAddNodeInfo (<A
11783HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11784>xmlParserCtxtPtr</A
11785> ctxt,
11786 const <A
11787HREF="libxml-parser.html#XMLPARSERNODEINFOPTR"
11788>xmlParserNodeInfoPtr</A
11789> info);</PRE
11790></TD
11791></TR
11792></TABLE
11793><P
11794>Insert node info record into the sorted sequence</P
11795><P
11796></P
11797><DIV
11798CLASS="INFORMALTABLE"
11799><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011800NAME="AEN2749"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011801></P
11802><TABLE
11803BORDER="0"
11804WIDTH="100%"
11805BGCOLOR="#FFD0D0"
11806CELLSPACING="0"
11807CELLPADDING="4"
11808CLASS="CALSTABLE"
11809><TBODY
11810><TR
11811><TD
11812WIDTH="20%"
11813ALIGN="RIGHT"
11814VALIGN="TOP"
11815><TT
11816CLASS="PARAMETER"
11817><I
11818>ctxt</I
11819></TT
11820>&nbsp;:</TD
11821><TD
11822WIDTH="80%"
11823ALIGN="LEFT"
11824VALIGN="TOP"
11825> an XML parser context</TD
11826></TR
11827><TR
11828><TD
11829WIDTH="20%"
11830ALIGN="RIGHT"
11831VALIGN="TOP"
11832><TT
11833CLASS="PARAMETER"
11834><I
11835>info</I
11836></TT
11837>&nbsp;:</TD
11838><TD
11839WIDTH="80%"
11840ALIGN="LEFT"
11841VALIGN="TOP"
11842> a node info sequence pointer</TD
11843></TR
11844></TBODY
11845></TABLE
11846><P
11847></P
11848></DIV
11849></DIV
11850><HR><DIV
11851CLASS="REFSECT2"
11852><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011853NAME="AEN2762"
Daniel Veillard06622df2002-01-21 17:53:42 +000011854></A
11855><H3
11856><A
11857NAME="XMLSETEXTERNALENTITYLOADER"
11858></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011859>xmlSetExternalEntityLoader ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011860><TABLE
11861BORDER="0"
11862BGCOLOR="#D6E8FF"
11863WIDTH="100%"
11864CELLPADDING="6"
11865><TR
11866><TD
11867><PRE
11868CLASS="PROGRAMLISTING"
11869>void xmlSetExternalEntityLoader (<A
11870HREF="libxml-parser.html#XMLEXTERNALENTITYLOADER"
11871>xmlExternalEntityLoader</A
11872> f);</PRE
11873></TD
11874></TR
11875></TABLE
11876><P
11877>Changes the defaultexternal entity resolver function for the application</P
11878><P
11879></P
11880><DIV
11881CLASS="INFORMALTABLE"
11882><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011883NAME="AEN2769"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011884></P
11885><TABLE
11886BORDER="0"
11887WIDTH="100%"
11888BGCOLOR="#FFD0D0"
11889CELLSPACING="0"
11890CELLPADDING="4"
11891CLASS="CALSTABLE"
11892><TBODY
11893><TR
11894><TD
11895WIDTH="20%"
11896ALIGN="RIGHT"
11897VALIGN="TOP"
11898><TT
11899CLASS="PARAMETER"
11900><I
11901>f</I
11902></TT
11903>&nbsp;:</TD
11904><TD
11905WIDTH="80%"
11906ALIGN="LEFT"
11907VALIGN="TOP"
11908> the new entity resolver function</TD
11909></TR
11910></TBODY
11911></TABLE
11912><P
11913></P
11914></DIV
11915></DIV
11916><HR><DIV
11917CLASS="REFSECT2"
11918><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011919NAME="AEN2778"
Daniel Veillard06622df2002-01-21 17:53:42 +000011920></A
11921><H3
11922><A
11923NAME="XMLGETEXTERNALENTITYLOADER"
11924></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011925>xmlGetExternalEntityLoader ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011926><TABLE
11927BORDER="0"
11928BGCOLOR="#D6E8FF"
11929WIDTH="100%"
11930CELLPADDING="6"
11931><TR
11932><TD
11933><PRE
11934CLASS="PROGRAMLISTING"
11935><A
11936HREF="libxml-parser.html#XMLEXTERNALENTITYLOADER"
11937>xmlExternalEntityLoader</A
11938> xmlGetExternalEntityLoader
11939 (void);</PRE
11940></TD
11941></TR
11942></TABLE
11943><P
11944>Get the default external entity resolver function for the application</P
11945><P
11946></P
11947><DIV
11948CLASS="INFORMALTABLE"
11949><A
Daniel Veillard539638b2002-07-06 19:55:14 +000011950NAME="AEN2785"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000011951></P
11952><TABLE
11953BORDER="0"
11954WIDTH="100%"
11955BGCOLOR="#FFD0D0"
11956CELLSPACING="0"
11957CELLPADDING="4"
11958CLASS="CALSTABLE"
11959><TBODY
11960><TR
11961><TD
11962WIDTH="20%"
11963ALIGN="RIGHT"
11964VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000011965><SPAN
11966CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000011967><I
11968CLASS="EMPHASIS"
11969>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000011970></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000011971> :</TD
11972><TD
11973WIDTH="80%"
11974ALIGN="LEFT"
11975VALIGN="TOP"
11976>the xmlExternalEntityLoader function pointer</TD
11977></TR
11978></TBODY
11979></TABLE
11980><P
11981></P
11982></DIV
11983></DIV
11984><HR><DIV
11985CLASS="REFSECT2"
11986><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011987NAME="AEN2794"
Daniel Veillard06622df2002-01-21 17:53:42 +000011988></A
11989><H3
11990><A
11991NAME="XMLLOADEXTERNALENTITY"
11992></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011993>xmlLoadExternalEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011994><TABLE
11995BORDER="0"
11996BGCOLOR="#D6E8FF"
11997WIDTH="100%"
11998CELLPADDING="6"
11999><TR
12000><TD
12001><PRE
12002CLASS="PROGRAMLISTING"
12003><A
12004HREF="libxml-tree.html#XMLPARSERINPUTPTR"
12005>xmlParserInputPtr</A
12006> xmlLoadExternalEntity (const char *URL,
12007 const char *ID,
12008 <A
12009HREF="libxml-tree.html#XMLPARSERCTXTPTR"
12010>xmlParserCtxtPtr</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000012011> ctxt);</PRE
Daniel Veillard06622df2002-01-21 17:53:42 +000012012></TD
12013></TR
12014></TABLE
12015><P
12016>Load an external entity, note that the use of this function for
12017unparsed entities may generate problems
12018TODO: a more generic External entity API must be designed</P
12019><P
12020></P
12021><DIV
12022CLASS="INFORMALTABLE"
12023><A
Daniel Veillard539638b2002-07-06 19:55:14 +000012024NAME="AEN2802"><P
Daniel Veillard06622df2002-01-21 17:53:42 +000012025></P
12026><TABLE
12027BORDER="0"
12028WIDTH="100%"
12029BGCOLOR="#FFD0D0"
12030CELLSPACING="0"
12031CELLPADDING="4"
12032CLASS="CALSTABLE"
12033><TBODY
12034><TR
12035><TD
12036WIDTH="20%"
12037ALIGN="RIGHT"
12038VALIGN="TOP"
12039><TT
12040CLASS="PARAMETER"
12041><I
12042>URL</I
12043></TT
12044>&nbsp;:</TD
12045><TD
12046WIDTH="80%"
12047ALIGN="LEFT"
12048VALIGN="TOP"
12049> the URL for the entity to load</TD
12050></TR
12051><TR
12052><TD
12053WIDTH="20%"
12054ALIGN="RIGHT"
12055VALIGN="TOP"
12056><TT
12057CLASS="PARAMETER"
12058><I
12059>ID</I
12060></TT
12061>&nbsp;:</TD
12062><TD
12063WIDTH="80%"
12064ALIGN="LEFT"
12065VALIGN="TOP"
12066> the Public ID for the entity to load</TD
12067></TR
12068><TR
12069><TD
12070WIDTH="20%"
12071ALIGN="RIGHT"
12072VALIGN="TOP"
12073><TT
12074CLASS="PARAMETER"
12075><I
Daniel Veillard5f4b5992002-02-20 10:22:49 +000012076>ctxt</I
Daniel Veillard06622df2002-01-21 17:53:42 +000012077></TT
12078>&nbsp;:</TD
12079><TD
12080WIDTH="80%"
12081ALIGN="LEFT"
12082VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +000012083> the context in which the entity is called or NULL</TD
Daniel Veillard06622df2002-01-21 17:53:42 +000012084></TR
12085><TR
12086><TD
12087WIDTH="20%"
12088ALIGN="RIGHT"
12089VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +000012090><SPAN
12091CLASS="emphasis"
Daniel Veillard06622df2002-01-21 17:53:42 +000012092><I
12093CLASS="EMPHASIS"
12094>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +000012095></SPAN
Daniel Veillard06622df2002-01-21 17:53:42 +000012096> :</TD
12097><TD
12098WIDTH="80%"
12099ALIGN="LEFT"
12100VALIGN="TOP"
12101>the xmlParserInputPtr or NULL</TD
12102></TR
12103></TBODY
12104></TABLE
12105><P
12106></P
12107></DIV
12108></DIV
12109></DIV
12110><DIV
12111CLASS="NAVFOOTER"
12112><BR
12113CLEAR="all"><BR><TABLE
12114WIDTH="100%"
12115BORDER="0"
12116BGCOLOR="#000000"
12117CELLPADDING="1"
12118CELLSPACING="0"
12119><TR
12120><TD
12121WIDTH="25%"
12122BGCOLOR="#C00000"
12123ALIGN="left"
12124><A
12125HREF="libxml-lib.html"
12126><FONT
12127COLOR="#FFFFFF"
12128SIZE="3"
12129><B
12130>&#60;&#60;&#60; Previous Page</B
12131></FONT
12132></A
12133></TD
12134><TD
12135WIDTH="25%"
12136BGCOLOR="#0000C0"
12137ALIGN="center"
12138><FONT
12139COLOR="#FFFFFF"
12140SIZE="3"
12141><B
12142><A
12143HREF="book1.html"
12144><FONT
12145COLOR="#FFFFFF"
12146SIZE="3"
12147><B
12148>Home</B
12149></FONT
12150></A
12151></B
12152></FONT
12153></TD
12154><TD
12155WIDTH="25%"
12156BGCOLOR="#00C000"
12157ALIGN="center"
12158><FONT
12159COLOR="#FFFFFF"
12160SIZE="3"
12161><B
12162><A
12163HREF="libxml-lib.html"
12164><FONT
12165COLOR="#FFFFFF"
12166SIZE="3"
12167><B
12168>Up</B
12169></FONT
12170></A
12171></B
12172></FONT
12173></TD
12174><TD
12175WIDTH="25%"
12176BGCOLOR="#C00000"
12177ALIGN="right"
12178><A
12179HREF="libxml-sax.html"
12180><FONT
12181COLOR="#FFFFFF"
12182SIZE="3"
12183><B
12184>Next Page &#62;&#62;&#62;</B
12185></FONT
12186></A
12187></TD
12188></TR
12189><TR
12190><TD
12191COLSPAN="2"
12192ALIGN="left"
12193><FONT
12194COLOR="#FFFFFF"
12195SIZE="3"
12196><B
12197>Libxml Library Reference</B
12198></FONT
12199></TD
12200><TD
12201COLSPAN="2"
12202ALIGN="right"
12203><FONT
12204COLOR="#FFFFFF"
12205SIZE="3"
12206><B
12207>SAX</B
12208></FONT
12209></TD
12210></TR
12211></TABLE
12212></DIV
12213></BODY
12214></HTML
12215>