blob: 4e99b14cbd8967ab892cbdb41de0b872d3a31128 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>parser</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard60087f32001-10-10 09:45:09 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.64
8"><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 Veillard9cb5ff42001-01-29 08:22:21 +0000120NAME="LIBXML-PARSER"
Daniel Veillard503b8932001-01-05 06:36:31 +0000121>parser</A
122></H1
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFNAMEDIV"
125><A
Daniel Veillard35008381999-10-25 13:15:52 +0000126NAME="AEN31"
Daniel Veillard35925471999-02-25 08:46:07 +0000127></A
128><H2
129>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000130>parser&nbsp;--&nbsp;</DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000131><DIV
132CLASS="REFSYNOPSISDIV"
133><A
Daniel Veillard35008381999-10-25 13:15:52 +0000134NAME="AEN34"
Daniel Veillard35925471999-02-25 08:46:07 +0000135></A
136><H2
137>Synopsis</H2
138><TABLE
139BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000140BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000141WIDTH="100%"
142CELLPADDING="6"
143><TR
144><TD
145><PRE
146CLASS="SYNOPSIS"
147>&#13;
148
149#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000150HREF="libxml-parser.html#XML-DEFAULT-VERSION-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +0000151>XML_DEFAULT_VERSION</A
152>
Daniel Veillardd692aa41999-02-28 21:54:31 +0000153void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000154HREF="libxml-parser.html#XMLPARSERINPUTDEALLOCATE"
Daniel Veillardd692aa41999-02-28 21:54:31 +0000155>*xmlParserInputDeallocate</A
156>) (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000157HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000158>xmlChar</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000159> *str);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000160struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000161HREF="libxml-parser.html#XMLPARSERINPUT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000162>xmlParserInput</A
163>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000164struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000165HREF="libxml-parser.html#XMLPARSERNODEINFO"
Daniel Veillard35925471999-02-25 08:46:07 +0000166>xmlParserNodeInfo</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000167>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000168typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000169HREF="libxml-parser.html#XMLPARSERNODEINFOPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000170>xmlParserNodeInfoPtr</A
171>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000172struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000173HREF="libxml-parser.html#XMLPARSERNODEINFOSEQ"
Daniel Veillard35925471999-02-25 08:46:07 +0000174>xmlParserNodeInfoSeq</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000175>;
Daniel Veillard35925471999-02-25 08:46:07 +0000176typedef <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000177HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000178>xmlParserNodeInfoSeqPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000179>;
Daniel Veillardb05deb71999-08-10 19:04:08 +0000180enum <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000181HREF="libxml-parser.html#XMLPARSERINPUTSTATE"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000182>xmlParserInputState</A
183>;
Daniel Veillard4ec885a2001-06-17 10:31:07 +0000184#define <A
185HREF="libxml-parser.html#XML-DETECT-IDS-CAPS"
186>XML_DETECT_IDS</A
187>
188#define <A
189HREF="libxml-parser.html#XML-COMPLETE-ATTRS-CAPS"
190>XML_COMPLETE_ATTRS</A
191>
Daniel Veillard71b656e2000-01-05 14:46:17 +0000192struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000193HREF="libxml-parser.html#XMLPARSERCTXT"
Daniel Veillard35925471999-02-25 08:46:07 +0000194>xmlParserCtxt</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000195>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000196struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000197HREF="libxml-parser.html#XMLSAXLOCATOR"
Daniel Veillard35925471999-02-25 08:46:07 +0000198>xmlSAXLocator</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000199>;
Daniel Veillard35925471999-02-25 08:46:07 +0000200<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000201HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000202>xmlParserInputPtr</A
203> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000204HREF="libxml-parser.html#RESOLVEENTITYSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000205>*resolveEntitySAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000206>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000207 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> *publicId,
211 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000212HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000213>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000214> *systemId);
215void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000216HREF="libxml-parser.html#INTERNALSUBSETSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000217>*internalSubsetSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000218>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000219 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> *name,
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> *ExternalID,
227 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000228HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000229>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000230> *SystemID);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000231void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000232HREF="libxml-parser.html#EXTERNALSUBSETSAXFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000233>*externalSubsetSAXFunc</A
234>) (void *ctx,
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> *name,
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> *ExternalID,
243 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000244HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000245>xmlChar</A
246> *SystemID);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000247<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000248HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000249>xmlEntityPtr</A
250> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000251HREF="libxml-parser.html#GETENTITYSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000252>*getEntitySAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000253>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000254 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000255HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000256>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000257> *name);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000258<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000259HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000260>xmlEntityPtr</A
261> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000262HREF="libxml-parser.html#GETPARAMETERENTITYSAXFUNC"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000263>*getParameterEntitySAXFunc</A
264>) (void *ctx,
265 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000266HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000267>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000268> *name);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000269void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000270HREF="libxml-parser.html#ENTITYDECLSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000271>*entityDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000272>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000273 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000274HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000275>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000276> *name,
277 int type,
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> *publicId,
282 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000283HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000284>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000285> *systemId,
286 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000287HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000288>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000289> *content);
290void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000291HREF="libxml-parser.html#NOTATIONDECLSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000292>*notationDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000293>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000294 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> *name,
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> *publicId,
302 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000303HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000304>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000305> *systemId);
306void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000307HREF="libxml-parser.html#ATTRIBUTEDECLSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000308>*attributeDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000309>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000310 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 Veillard5099ae81999-04-21 20:12:07 +0000313> *elem,
314 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000315HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000316>xmlChar</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000317> *fullname,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000318 int type,
319 int def,
320 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000321HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000322>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000323> *defaultValue,
324 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000325HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000326>xmlEnumerationPtr</A
327> tree);
328void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000329HREF="libxml-parser.html#ELEMENTDECLSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000330>*elementDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000331>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000332 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000333HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000334>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000335> *name,
336 int type,
337 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000338HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000339>xmlElementContentPtr</A
340> content);
341void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000342HREF="libxml-parser.html#UNPARSEDENTITYDECLSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000343>*unparsedEntityDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000344>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000345 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> *name,
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> *publicId,
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> *systemId,
357 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000358HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000359>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000360> *notationName);
361void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000362HREF="libxml-parser.html#SETDOCUMENTLOCATORSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000363>*setDocumentLocatorSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000364>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000365 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000366HREF="libxml-tree.html#XMLSAXLOCATORPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000367>xmlSAXLocatorPtr</A
368> loc);
369void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000370HREF="libxml-parser.html#STARTDOCUMENTSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000371>*startDocumentSAXFunc</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#ENDDOCUMENTSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000375>*endDocumentSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000376>) (void *ctx);
Daniel Veillard35925471999-02-25 08:46:07 +0000377void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000378HREF="libxml-parser.html#STARTELEMENTSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000379>*startElementSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000380>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000381 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> *name,
385 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000386HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000387>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000388> **atts);
Daniel Veillard35925471999-02-25 08:46:07 +0000389void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000390HREF="libxml-parser.html#ENDELEMENTSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000391>*endElementSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000392>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000393 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000394HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000395>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000396> *name);
397void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000398HREF="libxml-parser.html#ATTRIBUTESAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000399>*attributeSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000400>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000401 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> *name,
405 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000406HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000407>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000408> *value);
409void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000410HREF="libxml-parser.html#REFERENCESAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000411>*referenceSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000412>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000413 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000414HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000415>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000416> *name);
417void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000418HREF="libxml-parser.html#CHARACTERSSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000419>*charactersSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000420>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000421 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000422HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000423>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000424> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +0000425 int len);
426void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000427HREF="libxml-parser.html#IGNORABLEWHITESPACESAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000428>*ignorableWhitespaceSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000429>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000430 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000431HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000432>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000433> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +0000434 int len);
435void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000436HREF="libxml-parser.html#PROCESSINGINSTRUCTIONSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000437>*processingInstructionSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000438>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000439 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> *target,
443 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000444HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000445>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000446> *data);
447void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000448HREF="libxml-parser.html#COMMENTSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000449>*commentSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000450>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000451 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000452HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000453>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000454> *value);
455void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000456HREF="libxml-parser.html#CDATABLOCKSAXFUNC"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000457>*cdataBlockSAXFunc</A
458>) (void *ctx,
459 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000460HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000461>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000462> *value,
463 int len);
464void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000465HREF="libxml-parser.html#WARNINGSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000466>*warningSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000467>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000468 const char *msg,
469 ...);
470void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000471HREF="libxml-parser.html#ERRORSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000472>*errorSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000473>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000474 const char *msg,
475 ...);
476void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000477HREF="libxml-parser.html#FATALERRORSAXFUNC"
Daniel Veillard35925471999-02-25 08:46:07 +0000478>*fatalErrorSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000479>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000480 const char *msg,
481 ...);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000482int (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000483HREF="libxml-parser.html#ISSTANDALONESAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000484>*isStandaloneSAXFunc</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#HASINTERNALSUBSETSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000488>*hasInternalSubsetSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000489>) (void *ctx);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000490int (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000491HREF="libxml-parser.html#HASEXTERNALSUBSETSAXFUNC"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000492>*hasExternalSubsetSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000493>) (void *ctx);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000494struct <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000495HREF="libxml-parser.html#XMLSAXHANDLER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000496>xmlSAXHandler</A
497>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000498<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000499HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000500>xmlParserInputPtr</A
501> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000502HREF="libxml-parser.html#XMLEXTERNALENTITYLOADER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000503>*xmlExternalEntityLoader</A
504>)
505 (const char *URL,
506 const char *ID,
507 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000508HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000509>xmlParserCtxtPtr</A
510> context);
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000511#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000512HREF="libxml-parser.html#XMLSUBSTITUTEENTITIESDEFAULTVALUE"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000513>xmlSubstituteEntitiesDefaultValue</A
514>
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000515void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000516HREF="libxml-parser.html#XMLINITPARSER"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000517>xmlInitParser</A
518> (void);
519void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000520HREF="libxml-parser.html#XMLCLEANUPPARSER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000521>xmlCleanupParser</A
522> (void);
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000523int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000524HREF="libxml-parser.html#XMLPARSERINPUTREAD"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000525>xmlParserInputRead</A
526> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000527HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000528>xmlParserInputPtr</A
529> in,
530 int len);
531int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000532HREF="libxml-parser.html#XMLPARSERINPUTGROW"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000533>xmlParserInputGrow</A
534> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000535HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000536>xmlParserInputPtr</A
537> in,
538 int len);
Daniel Veillard35925471999-02-25 08:46:07 +0000539<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000540HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000541>xmlChar</A
542>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000543HREF="libxml-parser.html#XMLSTRDUP"
Daniel Veillard35925471999-02-25 08:46:07 +0000544>xmlStrdup</A
545> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000546HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000547>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000548> *cur);
549<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000550HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000551>xmlChar</A
552>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000553HREF="libxml-parser.html#XMLSTRNDUP"
Daniel Veillard35925471999-02-25 08:46:07 +0000554>xmlStrndup</A
555> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000556HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000557>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000558> *cur,
559 int len);
560<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000561HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000562>xmlChar</A
563>* <A
Daniel Veillarda41123c2001-04-22 19:31:20 +0000564HREF="libxml-parser.html#XMLCHARSTRNDUP"
565>xmlCharStrndup</A
566> (const char *cur,
567 int len);
568<A
569HREF="libxml-tree.html#XMLCHAR"
570>xmlChar</A
571>* <A
572HREF="libxml-parser.html#XMLCHARSTRDUP"
573>xmlCharStrdup</A
574> (const char *cur);
575<A
576HREF="libxml-tree.html#XMLCHAR"
577>xmlChar</A
578>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000579HREF="libxml-parser.html#XMLSTRSUB"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000580>xmlStrsub</A
581> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000582HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000583>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000584> *str,
585 int start,
586 int len);
587const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000588HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000589>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000590>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000591HREF="libxml-parser.html#XMLSTRCHR"
Daniel Veillard35925471999-02-25 08:46:07 +0000592>xmlStrchr</A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000593> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000594HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000595>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000596> *str,
597 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000598HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000599>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000600> val);
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000601const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000602HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000603>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000604>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000605HREF="libxml-parser.html#XMLSTRSTR"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000606>xmlStrstr</A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000607> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000608HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000609>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000610> *str,
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000611 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000612HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000613>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000614> *val);
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000615const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000616HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000617>xmlChar</A
618>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000619HREF="libxml-parser.html#XMLSTRCASESTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000620>xmlStrcasestr</A
621> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000622HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000623>xmlChar</A
624> *str,
625 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000626HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000627>xmlChar</A
628> *val);
Daniel Veillard35925471999-02-25 08:46:07 +0000629int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000630HREF="libxml-parser.html#XMLSTRCMP"
Daniel Veillard35925471999-02-25 08:46:07 +0000631>xmlStrcmp</A
632> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000633HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000634>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000635> *str1,
636 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000637HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000638>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000639> *str2);
640int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000641HREF="libxml-parser.html#XMLSTRNCMP"
Daniel Veillard35925471999-02-25 08:46:07 +0000642>xmlStrncmp</A
643> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000644HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000645>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000646> *str1,
647 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000648HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000649>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000650> *str2,
651 int len);
652int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000653HREF="libxml-parser.html#XMLSTRCASECMP"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000654>xmlStrcasecmp</A
655> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000656HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000657>xmlChar</A
658> *str1,
659 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000660HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000661>xmlChar</A
662> *str2);
663int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000664HREF="libxml-parser.html#XMLSTRNCASECMP"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000665>xmlStrncasecmp</A
666> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000667HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000668>xmlChar</A
669> *str1,
670 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000671HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000672>xmlChar</A
673> *str2,
674 int len);
675int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000676HREF="libxml-parser.html#XMLSTREQUAL"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000677>xmlStrEqual</A
678> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000679HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000680>xmlChar</A
681> *str1,
682 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000683HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000684>xmlChar</A
685> *str2);
686int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000687HREF="libxml-parser.html#XMLSTRLEN"
Daniel Veillard35925471999-02-25 08:46:07 +0000688>xmlStrlen</A
689> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000690HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000691>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000692> *str);
693<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000694HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000695>xmlChar</A
696>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000697HREF="libxml-parser.html#XMLSTRCAT"
Daniel Veillard35925471999-02-25 08:46:07 +0000698>xmlStrcat</A
699> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000700HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000701>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000702> *cur,
703 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000704HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000705>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000706> *add);
707<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000708HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000709>xmlChar</A
710>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000711HREF="libxml-parser.html#XMLSTRNCAT"
Daniel Veillard35925471999-02-25 08:46:07 +0000712>xmlStrncat</A
713> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000714HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000715>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000716> *cur,
717 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000718HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000719>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000720> *add,
721 int len);
722<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000723HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000724>xmlDocPtr</A
725> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000726HREF="libxml-parser.html#XMLPARSEDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000727>xmlParseDoc</A
728> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000729HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000730>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000731> *cur);
732<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000733HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000734>xmlDocPtr</A
735> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000736HREF="libxml-parser.html#XMLPARSEMEMORY"
Daniel Veillard35925471999-02-25 08:46:07 +0000737>xmlParseMemory</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000738> (const char *buffer,
Daniel Veillard35925471999-02-25 08:46:07 +0000739 int size);
740<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000741HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000742>xmlDocPtr</A
743> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000744HREF="libxml-parser.html#XMLPARSEFILE"
Daniel Veillard35925471999-02-25 08:46:07 +0000745>xmlParseFile</A
746> (const char *filename);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000747int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000748HREF="libxml-parser.html#XMLSUBSTITUTEENTITIESDEFAULT"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000749>xmlSubstituteEntitiesDefault</A
750> (int val);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000751int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000752HREF="libxml-parser.html#XMLKEEPBLANKSDEFAULT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000753>xmlKeepBlanksDefault</A
754> (int val);
755void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000756HREF="libxml-parser.html#XMLSTOPPARSER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000757>xmlStopParser</A
758> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000759HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000760>xmlParserCtxtPtr</A
761> ctxt);
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000762int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000763HREF="libxml-parser.html#XMLPEDANTICPARSERDEFAULT"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000764>xmlPedanticParserDefault</A
765> (int val);
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000766int <A
767HREF="libxml-parser.html#XMLLINENUMBERSDEFAULT"
768>xmlLineNumbersDefault</A
769> (int val);
Daniel Veillard35925471999-02-25 08:46:07 +0000770<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000771HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000772>xmlDocPtr</A
773> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000774HREF="libxml-parser.html#XMLRECOVERDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000775>xmlRecoverDoc</A
776> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000777HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000778>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000779> *cur);
780<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000781HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000782>xmlDocPtr</A
783> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000784HREF="libxml-parser.html#XMLRECOVERMEMORY"
Daniel Veillard35925471999-02-25 08:46:07 +0000785>xmlRecoverMemory</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000786> (const char *buffer,
Daniel Veillard35925471999-02-25 08:46:07 +0000787 int size);
788<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000789HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000790>xmlDocPtr</A
791> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000792HREF="libxml-parser.html#XMLRECOVERFILE"
Daniel Veillard35925471999-02-25 08:46:07 +0000793>xmlRecoverFile</A
794> (const char *filename);
795int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000796HREF="libxml-parser.html#XMLPARSEDOCUMENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000797>xmlParseDocument</A
798> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000799HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000800>xmlParserCtxtPtr</A
801> ctxt);
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000802int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000803HREF="libxml-parser.html#XMLPARSEEXTPARSEDENT"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000804>xmlParseExtParsedEnt</A
805> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000806HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000807>xmlParserCtxtPtr</A
808> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000809<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000810HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000811>xmlDocPtr</A
812> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000813HREF="libxml-parser.html#XMLSAXPARSEDOC"
Daniel Veillard35925471999-02-25 08:46:07 +0000814>xmlSAXParseDoc</A
815> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000816HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000817>xmlSAXHandlerPtr</A
818> sax,
819 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000820HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000821>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000822> *cur,
823 int recovery);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000824int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000825HREF="libxml-parser.html#XMLSAXUSERPARSEFILE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000826>xmlSAXUserParseFile</A
827> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000828HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000829>xmlSAXHandlerPtr</A
830> sax,
831 void *user_data,
832 const char *filename);
833int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000834HREF="libxml-parser.html#XMLSAXUSERPARSEMEMORY"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000835>xmlSAXUserParseMemory</A
836> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000837HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000838>xmlSAXHandlerPtr</A
839> sax,
840 void *user_data,
Daniel Veillardbed7b052001-05-19 14:59:49 +0000841 const char *buffer,
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000842 int size);
Daniel Veillard35925471999-02-25 08:46:07 +0000843<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000844HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000845>xmlDocPtr</A
846> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000847HREF="libxml-parser.html#XMLSAXPARSEMEMORY"
Daniel Veillard35925471999-02-25 08:46:07 +0000848>xmlSAXParseMemory</A
849> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000850HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000851>xmlSAXHandlerPtr</A
852> sax,
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000853 const char *buffer,
Daniel Veillard35925471999-02-25 08:46:07 +0000854 int size,
855 int recovery);
856<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000857HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000858>xmlDocPtr</A
859> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000860HREF="libxml-parser.html#XMLSAXPARSEFILE"
Daniel Veillard35925471999-02-25 08:46:07 +0000861>xmlSAXParseFile</A
862> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000863HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000864>xmlSAXHandlerPtr</A
865> sax,
866 const char *filename,
867 int recovery);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000868<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000869HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000870>xmlDocPtr</A
871> <A
Daniel Veillard60087f32001-10-10 09:45:09 +0000872HREF="libxml-parser.html#XMLSAXPARSEFILEWITHDATA"
873>xmlSAXParseFileWithData</A
874> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000875HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard60087f32001-10-10 09:45:09 +0000876>xmlSAXHandlerPtr</A
877> sax,
878 const char *filename,
879 int recovery,
880 void *data);
881<A
882HREF="libxml-tree.html#XMLDOCPTR"
883>xmlDocPtr</A
884> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000885HREF="libxml-parser.html#XMLSAXPARSEENTITY"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000886>xmlSAXParseEntity</A
887> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000888HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000889>xmlSAXHandlerPtr</A
890> sax,
891 const char *filename);
892<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000893HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000894>xmlDocPtr</A
895> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000896HREF="libxml-parser.html#XMLPARSEENTITY"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000897>xmlParseEntity</A
898> (const char *filename);
899<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000900HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000901>xmlDtdPtr</A
902> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000903HREF="libxml-parser.html#XMLPARSEDTD"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000904>xmlParseDTD</A
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> *ExternalID,
909 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000910HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000911>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000912> *SystemID);
913<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000914HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000915>xmlDtdPtr</A
916> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000917HREF="libxml-parser.html#XMLSAXPARSEDTD"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000918>xmlSAXParseDTD</A
919> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000920HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000921>xmlSAXHandlerPtr</A
922> sax,
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> *ExternalID,
927 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000928HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000929>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000930> *SystemID);
Daniel Veillarda4964b72000-10-31 18:23:44 +0000931<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000932HREF="libxml-tree.html#XMLDTDPTR"
Daniel Veillarda4964b72000-10-31 18:23:44 +0000933>xmlDtdPtr</A
934> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000935HREF="libxml-parser.html#XMLIOPARSEDTD"
Daniel Veillarda4964b72000-10-31 18:23:44 +0000936>xmlIOParseDTD</A
937> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000938HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillarda4964b72000-10-31 18:23:44 +0000939>xmlSAXHandlerPtr</A
940> sax,
941 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000942HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
Daniel Veillarda4964b72000-10-31 18:23:44 +0000943>xmlParserInputBufferPtr</A
944> input,
945 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000946HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillarda4964b72000-10-31 18:23:44 +0000947>xmlCharEncoding</A
948> enc);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000949int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000950HREF="libxml-parser.html#XMLPARSEBALANCEDCHUNKMEMORY"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000951>xmlParseBalancedChunkMemory</A
952> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000953HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000954>xmlDocPtr</A
955> doc,
956 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000957HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000958>xmlSAXHandlerPtr</A
959> sax,
960 void *user_data,
961 int depth,
962 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000963HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000964>xmlChar</A
965> *string,
966 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000967HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000968>xmlNodePtr</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000969> *lst);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000970int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000971HREF="libxml-parser.html#XMLPARSEEXTERNALENTITY"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000972>xmlParseExternalEntity</A
973> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000974HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000975>xmlDocPtr</A
976> doc,
977 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000978HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000979>xmlSAXHandlerPtr</A
980> sax,
981 void *user_data,
982 int depth,
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> *URL,
987 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000988HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000989>xmlChar</A
990> *ID,
991 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000992HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000993>xmlNodePtr</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +0000994> *lst);
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000995int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000996HREF="libxml-parser.html#XMLPARSECTXTEXTERNALENTITY"
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000997>xmlParseCtxtExternalEntity</A
998> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000999HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001000>xmlParserCtxtPtr</A
1001> ctx,
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> *URL,
1006 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001007HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001008>xmlChar</A
1009> *ID,
1010 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001011HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001012>xmlNodePtr</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001013> *lst);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001014void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001015HREF="libxml-parser.html#XMLINITPARSERCTXT"
Daniel Veillard35925471999-02-25 08:46:07 +00001016>xmlInitParserCtxt</A
1017> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001018HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001019>xmlParserCtxtPtr</A
1020> ctxt);
1021void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001022HREF="libxml-parser.html#XMLCLEARPARSERCTXT"
Daniel Veillard35925471999-02-25 08:46:07 +00001023>xmlClearParserCtxt</A
1024> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001025HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001026>xmlParserCtxtPtr</A
1027> ctxt);
1028void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001029HREF="libxml-parser.html#XMLFREEPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001030>xmlFreeParserCtxt</A
1031> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001032HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001033>xmlParserCtxtPtr</A
1034> ctxt);
1035void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001036HREF="libxml-parser.html#XMLSETUPPARSERFORBUFFER"
Daniel Veillard35925471999-02-25 08:46:07 +00001037>xmlSetupParserForBuffer</A
1038> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001039HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001040>xmlParserCtxtPtr</A
1041> ctxt,
1042 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001043HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001044>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001045> *buffer,
1046 const char *filename);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001047<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001048HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001049>xmlParserCtxtPtr</A
1050> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001051HREF="libxml-parser.html#XMLCREATEDOCPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001052>xmlCreateDocParserCtxt</A
1053> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001054HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001055>xmlChar</A
1056> *cur);
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001057int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001058HREF="libxml-parser.html#XMLGETFEATURESLIST"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001059>xmlGetFeaturesList</A
1060> (int *len,
1061 const char **result);
1062int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001063HREF="libxml-parser.html#XMLGETFEATURE"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001064>xmlGetFeature</A
1065> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001066HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001067>xmlParserCtxtPtr</A
1068> ctxt,
1069 const char *name,
1070 void *result);
1071int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001072HREF="libxml-parser.html#XMLSETFEATURE"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001073>xmlSetFeature</A
1074> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001075HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001076>xmlParserCtxtPtr</A
1077> ctxt,
1078 const char *name,
1079 void *value);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001080<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001081HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001082>xmlParserCtxtPtr</A
1083> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001084HREF="libxml-parser.html#XMLCREATEPUSHPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001085>xmlCreatePushParserCtxt</A
1086> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001087HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001088>xmlSAXHandlerPtr</A
1089> sax,
1090 void *user_data,
1091 const char *chunk,
1092 int size,
1093 const char *filename);
1094int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001095HREF="libxml-parser.html#XMLPARSECHUNK"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001096>xmlParseChunk</A
1097> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001098HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001099>xmlParserCtxtPtr</A
1100> ctxt,
1101 const char *chunk,
1102 int size,
1103 int terminate);
1104<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001105HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001106>xmlParserCtxtPtr</A
1107> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001108HREF="libxml-parser.html#XMLCREATEIOPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001109>xmlCreateIOParserCtxt</A
1110> (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001111HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001112>xmlSAXHandlerPtr</A
1113> sax,
1114 void *user_data,
1115 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001116HREF="libxml-xmlio.html#XMLINPUTREADCALLBACK"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001117>xmlInputReadCallback</A
1118> ioread,
1119 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001120HREF="libxml-xmlio.html#XMLINPUTCLOSECALLBACK"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001121>xmlInputCloseCallback</A
1122> ioclose,
1123 void *ioctx,
1124 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001125HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001126>xmlCharEncoding</A
1127> enc);
1128<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001129HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001130>xmlParserInputPtr</A
1131> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001132HREF="libxml-parser.html#XMLNEWIOINPUTSTREAM"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001133>xmlNewIOInputStream</A
1134> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001135HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001136>xmlParserCtxtPtr</A
1137> ctxt,
1138 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001139HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001140>xmlParserInputBufferPtr</A
1141> input,
1142 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001143HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001144>xmlCharEncoding</A
1145> enc);
Daniel Veillard35925471999-02-25 08:46:07 +00001146const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001147HREF="libxml-parser.html#XMLPARSERNODEINFO"
Daniel Veillard35925471999-02-25 08:46:07 +00001148>xmlParserNodeInfo</A
1149>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001150HREF="libxml-parser.html#XMLPARSERFINDNODEINFO"
Daniel Veillard35925471999-02-25 08:46:07 +00001151>xmlParserFindNodeInfo</A
1152>
1153 (const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001154HREF="libxml-tree.html#XMLPARSERCTXTPTR"
1155>xmlParserCtxtPtr</A
1156> ctxt,
Daniel Veillard35925471999-02-25 08:46:07 +00001157 const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001158HREF="libxml-tree.html#XMLNODEPTR"
1159>xmlNodePtr</A
1160> node);
Daniel Veillard35925471999-02-25 08:46:07 +00001161void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001162HREF="libxml-parser.html#XMLINITNODEINFOSEQ"
Daniel Veillard35925471999-02-25 08:46:07 +00001163>xmlInitNodeInfoSeq</A
1164> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001165HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001166>xmlParserNodeInfoSeqPtr</A
1167> seq);
1168void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001169HREF="libxml-parser.html#XMLCLEARNODEINFOSEQ"
Daniel Veillard35925471999-02-25 08:46:07 +00001170>xmlClearNodeInfoSeq</A
1171> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001172HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001173>xmlParserNodeInfoSeqPtr</A
1174> seq);
1175unsigned <GTKDOCLINK
1176HREF="LONG"
1177>long</GTKDOCLINK
1178> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001179HREF="libxml-parser.html#XMLPARSERFINDNODEINFOINDEX"
Daniel Veillard35925471999-02-25 08:46:07 +00001180>xmlParserFindNodeInfoIndex</A
1181> (const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001182HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
1183>xmlParserNodeInfoSeqPtr</A
1184> seq,
Daniel Veillard35925471999-02-25 08:46:07 +00001185 const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001186HREF="libxml-tree.html#XMLNODEPTR"
1187>xmlNodePtr</A
1188> node);
Daniel Veillard35925471999-02-25 08:46:07 +00001189void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001190HREF="libxml-parser.html#XMLPARSERADDNODEINFO"
Daniel Veillard35925471999-02-25 08:46:07 +00001191>xmlParserAddNodeInfo</A
1192> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001193HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001194>xmlParserCtxtPtr</A
1195> ctxt,
1196 const <A
Daniel Veillard61006472002-01-21 17:31:47 +00001197HREF="libxml-parser.html#XMLPARSERNODEINFOPTR"
1198>xmlParserNodeInfoPtr</A
1199> info);
Daniel Veillard35925471999-02-25 08:46:07 +00001200void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001201HREF="libxml-parser.html#XMLSETEXTERNALENTITYLOADER"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001202>xmlSetExternalEntityLoader</A
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> f);
1207<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001208HREF="libxml-parser.html#XMLEXTERNALENTITYLOADER"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001209>xmlExternalEntityLoader</A
1210> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001211HREF="libxml-parser.html#XMLGETEXTERNALENTITYLOADER"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001212>xmlGetExternalEntityLoader</A
1213>
1214 (void);
1215<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001216HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001217>xmlParserInputPtr</A
1218> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001219HREF="libxml-parser.html#XMLLOADEXTERNALENTITY"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001220>xmlLoadExternalEntity</A
1221> (const char *URL,
1222 const char *ID,
1223 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001224HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard437b87b2000-01-03 17:30:46 +00001225>xmlParserCtxtPtr</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001226> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001227></TD
1228></TR
1229></TABLE
1230></DIV
1231><DIV
1232CLASS="REFSECT1"
1233><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001234NAME="AEN313"
Daniel Veillard35925471999-02-25 08:46:07 +00001235></A
1236><H2
1237>Description</H2
1238><P
1239></P
1240></DIV
1241><DIV
1242CLASS="REFSECT1"
1243><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001244NAME="AEN316"
Daniel Veillard35925471999-02-25 08:46:07 +00001245></A
1246><H2
1247>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001248><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001249CLASS="REFSECT2"
1250><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001251NAME="AEN318"
Daniel Veillard35925471999-02-25 08:46:07 +00001252></A
1253><H3
1254><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001255NAME="XML-DEFAULT-VERSION-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00001256></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001257>XML_DEFAULT_VERSION</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001258><TABLE
1259BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001260BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001261WIDTH="100%"
1262CELLPADDING="6"
1263><TR
1264><TD
1265><PRE
1266CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001267>#define XML_DEFAULT_VERSION "1.0"</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001268></TD
1269></TR
1270></TABLE
1271><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001272>The default version of XML used: 1.0</P
1273><P
Daniel Veillard35925471999-02-25 08:46:07 +00001274></P
1275></DIV
1276><HR><DIV
1277CLASS="REFSECT2"
1278><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001279NAME="AEN324"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001280></A
1281><H3
1282><A
1283NAME="XMLPARSERINPUTDEALLOCATE"
1284></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001285>xmlParserInputDeallocate ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001286><TABLE
1287BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001288BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001289WIDTH="100%"
1290CELLPADDING="6"
1291><TR
1292><TD
1293><PRE
1294CLASS="PROGRAMLISTING"
1295>void (*xmlParserInputDeallocate) (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001296HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001297>xmlChar</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001298> *str);</PRE
Daniel Veillardd692aa41999-02-28 21:54:31 +00001299></TD
1300></TR
1301></TABLE
1302><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001303>Callback for freeing some parser input allocations</P
1304><P
Daniel Veillardd692aa41999-02-28 21:54:31 +00001305></P
1306><DIV
1307CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001308><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001309NAME="AEN331"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001310></A
Daniel Veillardd692aa41999-02-28 21:54:31 +00001311><P
1312></P
1313><TABLE
1314BORDER="0"
1315WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001316BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001317CELLSPACING="0"
1318CELLPADDING="4"
1319CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001320><TBODY
Daniel Veillardd692aa41999-02-28 21:54:31 +00001321><TR
1322><TD
1323WIDTH="20%"
1324ALIGN="RIGHT"
1325VALIGN="TOP"
1326><TT
1327CLASS="PARAMETER"
1328><I
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001329>str</I
Daniel Veillardd692aa41999-02-28 21:54:31 +00001330></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001331>&nbsp;:</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001332><TD
1333WIDTH="80%"
1334ALIGN="LEFT"
1335VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001336> the string to deallocate</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001337></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001338></TBODY
Daniel Veillardd692aa41999-02-28 21:54:31 +00001339></TABLE
1340><P
1341></P
1342></DIV
1343></DIV
1344><HR><DIV
1345CLASS="REFSECT2"
1346><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001347NAME="AEN340"
Daniel Veillard24491f62000-01-05 14:58:38 +00001348></A
1349><H3
1350><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001351NAME="XMLPARSERINPUT"
Daniel Veillard24491f62000-01-05 14:58:38 +00001352></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001353>struct xmlParserInput</H3
Daniel Veillard71b656e2000-01-05 14:46:17 +00001354><TABLE
1355BORDER="0"
Daniel Veillard24491f62000-01-05 14:58:38 +00001356BGCOLOR="#D6E8FF"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001357WIDTH="100%"
Daniel Veillard24491f62000-01-05 14:58:38 +00001358CELLPADDING="6"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001359><TR
1360><TD
Daniel Veillard24491f62000-01-05 14:58:38 +00001361><PRE
1362CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001363>struct xmlParserInput {
1364 /* Input buffer */
1365 xmlParserInputBufferPtr buf; /* UTF-8 encoded buffer */
1366
1367 const char *filename; /* The file analyzed, if any */
Daniel Veillard60087f32001-10-10 09:45:09 +00001368 const char *directory; /* the directory/base of the file */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001369 const xmlChar *base; /* Base of the array to parse */
1370 const xmlChar *cur; /* Current char being parsed */
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001371 const xmlChar *end; /* end of the array to parse */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001372 int length; /* length if known */
1373 int line; /* Current line */
1374 int col; /* Current column */
1375 int consumed; /* How many xmlChars already consumed */
1376 xmlParserInputDeallocate free; /* function to deallocate the base */
1377 const xmlChar *encoding; /* the encoding string for entity */
1378 const xmlChar *version; /* the version string for entity */
1379 int standalone; /* Was that entity marked standalone */
1380};</PRE
Daniel Veillard24491f62000-01-05 14:58:38 +00001381></TD
Daniel Veillard71b656e2000-01-05 14:46:17 +00001382></TR
1383></TABLE
1384><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001385>an xmlParserInput is an input flow for the XML processor.
1386Each entity parsed is associated an xmlParserInput (except the
1387few predefined ones). This is the case both for internal entities
1388- in which case the flow is already completely in memory - or
1389external entities - in which case we use the buf structure for
1390progressive reading and I18N conversions to the internal UTF-8 format.</P
1391><P
Daniel Veillard71b656e2000-01-05 14:46:17 +00001392></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001393></DIV
1394><HR><DIV
1395CLASS="REFSECT2"
1396><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001397NAME="AEN346"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001398></A
1399><H3
1400><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001401NAME="XMLPARSERNODEINFO"
1402></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001403>struct xmlParserNodeInfo</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001404><TABLE
1405BORDER="0"
1406BGCOLOR="#D6E8FF"
1407WIDTH="100%"
1408CELLPADDING="6"
1409><TR
1410><TD
1411><PRE
1412CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001413>struct xmlParserNodeInfo {
1414 const struct _xmlNode* node;
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001415 /* Position &amp; line # that text that created the node begins &amp; ends on */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001416 unsigned long begin_pos;
1417 unsigned long begin_line;
1418 unsigned long end_pos;
1419 unsigned long end_line;
1420};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001421></TD
1422></TR
1423></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001424><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001425>the parser can be asked to collect Node informations, i.e. at what
1426place in the file they were detected.
1427NOTE: This is off by default and not very well tested.</P
1428><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001429></P
1430></DIV
1431><HR><DIV
1432CLASS="REFSECT2"
1433><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001434NAME="AEN352"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001435></A
1436><H3
1437><A
1438NAME="XMLPARSERNODEINFOPTR"
1439></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001440>xmlParserNodeInfoPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001441><TABLE
1442BORDER="0"
1443BGCOLOR="#D6E8FF"
1444WIDTH="100%"
1445CELLPADDING="6"
1446><TR
1447><TD
1448><PRE
1449CLASS="PROGRAMLISTING"
1450>typedef xmlParserNodeInfo *xmlParserNodeInfoPtr;</PRE
1451></TD
1452></TR
1453></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001454><P
1455></P
1456></DIV
1457><HR><DIV
1458CLASS="REFSECT2"
1459><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001460NAME="AEN357"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001461></A
1462><H3
1463><A
1464NAME="XMLPARSERNODEINFOSEQ"
1465></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001466>struct xmlParserNodeInfoSeq</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001467><TABLE
1468BORDER="0"
1469BGCOLOR="#D6E8FF"
1470WIDTH="100%"
1471CELLPADDING="6"
1472><TR
1473><TD
1474><PRE
1475CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001476>struct xmlParserNodeInfoSeq {
1477 unsigned long maximum;
1478 unsigned long length;
1479 xmlParserNodeInfo* buffer;
1480};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001481></TD
1482></TR
1483></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001484><P
1485></P
1486></DIV
1487><HR><DIV
1488CLASS="REFSECT2"
1489><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001490NAME="AEN362"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001491></A
1492><H3
1493><A
1494NAME="XMLPARSERNODEINFOSEQPTR"
1495></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001496>xmlParserNodeInfoSeqPtr</H3
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001497><TABLE
1498BORDER="0"
1499BGCOLOR="#D6E8FF"
1500WIDTH="100%"
1501CELLPADDING="6"
1502><TR
1503><TD
1504><PRE
1505CLASS="PROGRAMLISTING"
1506>typedef xmlParserNodeInfoSeq *xmlParserNodeInfoSeqPtr;</PRE
1507></TD
1508></TR
1509></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001510><P
1511></P
1512></DIV
1513><HR><DIV
1514CLASS="REFSECT2"
1515><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001516NAME="AEN367"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001517></A
1518><H3
1519><A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001520NAME="XMLPARSERINPUTSTATE"
1521></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001522>enum xmlParserInputState</H3
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001523><TABLE
1524BORDER="0"
1525BGCOLOR="#D6E8FF"
1526WIDTH="100%"
1527CELLPADDING="6"
1528><TR
1529><TD
1530><PRE
1531CLASS="PROGRAMLISTING"
Daniel Veillard00fdf371999-10-08 09:40:39 +00001532>typedef enum {
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001533 XML_PARSER_EOF = -1, /* nothing is to be parsed */
1534 XML_PARSER_START = 0, /* nothing has been parsed */
1535 XML_PARSER_MISC, /* Misc* before int subset */
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001536 XML_PARSER_PI, /* Within a processing instruction */
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001537 XML_PARSER_DTD, /* within some DTD content */
1538 XML_PARSER_PROLOG, /* Misc* after internal subset */
1539 XML_PARSER_COMMENT, /* within a comment */
1540 XML_PARSER_START_TAG, /* within a start tag */
1541 XML_PARSER_CONTENT, /* within the content */
1542 XML_PARSER_CDATA_SECTION, /* within a CDATA section */
1543 XML_PARSER_END_TAG, /* within a closing tag */
1544 XML_PARSER_ENTITY_DECL, /* within an entity declaration */
1545 XML_PARSER_ENTITY_VALUE, /* within an entity value in a decl */
1546 XML_PARSER_ATTRIBUTE_VALUE, /* within an attribute value */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001547 XML_PARSER_SYSTEM_LITERAL, /* within a SYSTEM value */
Daniel Veillard28929b22000-11-13 18:22:49 +00001548 XML_PARSER_EPILOG, /* the Misc* after the last end tag */
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001549 XML_PARSER_IGNORE, /* within an IGNORED section */
1550 XML_PARSER_PUBLIC_LITERAL /* within a PUBLIC value */
Daniel Veillardb05deb71999-08-10 19:04:08 +00001551} xmlParserInputState;</PRE
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001552></TD
1553></TR
1554></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001555><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001556>The parser is now working also as a state based parser
Daniel Veillardcbaf3992001-12-31 16:16:02 +00001557The recursive one use the state info for entities processing</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001558><P
Daniel Veillard35925471999-02-25 08:46:07 +00001559></P
1560></DIV
1561><HR><DIV
1562CLASS="REFSECT2"
1563><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001564NAME="AEN373"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001565></A
1566><H3
1567><A
1568NAME="XML-DETECT-IDS-CAPS"
1569></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001570>XML_DETECT_IDS</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001571><TABLE
1572BORDER="0"
1573BGCOLOR="#D6E8FF"
1574WIDTH="100%"
1575CELLPADDING="6"
1576><TR
1577><TD
1578><PRE
1579CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001580>#define XML_DETECT_IDS 2</PRE
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001581></TD
1582></TR
1583></TABLE
1584><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001585>Bit in the loadsubset context field to tell to do ID/REFs lookups
1586Use it to initialize xmlLoadExtDtdDefaultValue</P
1587><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001588></P
1589></DIV
1590><HR><DIV
1591CLASS="REFSECT2"
1592><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001593NAME="AEN379"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001594></A
1595><H3
1596><A
1597NAME="XML-COMPLETE-ATTRS-CAPS"
1598></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001599>XML_COMPLETE_ATTRS</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001600><TABLE
1601BORDER="0"
1602BGCOLOR="#D6E8FF"
1603WIDTH="100%"
1604CELLPADDING="6"
1605><TR
1606><TD
1607><PRE
1608CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001609>#define XML_COMPLETE_ATTRS 4</PRE
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001610></TD
1611></TR
1612></TABLE
1613><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001614>Bit in the loadsubset context field to tell to do complete the
1615elements attributes lists with the ones defaulted from the DTDs
1616Use it to initialize xmlLoadExtDtdDefaultValue</P
1617><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00001618></P
1619></DIV
1620><HR><DIV
1621CLASS="REFSECT2"
1622><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001623NAME="AEN385"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001624></A
1625><H3
1626><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001627NAME="XMLPARSERCTXT"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001628></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001629>struct xmlParserCtxt</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001630><TABLE
1631BORDER="0"
1632BGCOLOR="#D6E8FF"
1633WIDTH="100%"
1634CELLPADDING="6"
1635><TR
1636><TD
1637><PRE
1638CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001639>struct xmlParserCtxt {
1640 struct _xmlSAXHandler *sax; /* The SAX handler */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001641 void *userData; /* For SAX interface only, used by DOM build */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001642 xmlDocPtr myDoc; /* the document being built */
1643 int wellFormed; /* is the document well formed */
1644 int replaceEntities; /* shall we replace entities ? */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001645 const xmlChar *version; /* the XML version string */
1646 const xmlChar *encoding; /* the declared encoding, if any */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001647 int standalone; /* standalone document */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001648 int html; /* an HTML(1)/Docbook(2) document */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001649
1650 /* Input stream stack */
1651 xmlParserInputPtr input; /* Current input stream */
1652 int inputNr; /* Number of current input streams */
1653 int inputMax; /* Max number of input streams */
1654 xmlParserInputPtr *inputTab; /* stack of inputs */
1655
1656 /* Node analysis stack only used for DOM building */
1657 xmlNodePtr node; /* Current parsed Node */
1658 int nodeNr; /* Depth of the parsing stack */
1659 int nodeMax; /* Max depth of the parsing stack */
1660 xmlNodePtr *nodeTab; /* array of nodes */
1661
1662 int record_info; /* Whether node info should be kept */
1663 xmlParserNodeInfoSeq node_seq; /* info about each node parsed */
1664
1665 int errNo; /* error code */
1666
1667 int hasExternalSubset; /* reference and external subset */
1668 int hasPErefs; /* the internal subset has PE refs */
1669 int external; /* are we parsing an external entity */
1670
1671 int valid; /* is the document valid */
1672 int validate; /* shall we try to validate ? */
1673 xmlValidCtxt vctxt; /* The validity context */
1674
1675 xmlParserInputState instate; /* current type of input */
1676 int token; /* next char look-ahead */
1677
1678 char *directory; /* the data directory */
1679
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001680 /* Node name stack */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001681 xmlChar *name; /* Current parsed Node */
1682 int nameNr; /* Depth of the parsing stack */
1683 int nameMax; /* Max depth of the parsing stack */
1684 xmlChar * *nameTab; /* array of nodes */
1685
1686 long nbChars; /* number of xmlChar processed */
1687 long checkIndex; /* used by progressive parsing lookup */
Daniel Veillardf6868712000-01-05 14:58:38 +00001688 int keepBlanks; /* ugly but ... */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001689 int disableSAX; /* SAX callbacks are disabled */
1690 int inSubset; /* Parsing is in int 1/ext 2 subset */
1691 xmlChar * intSubName; /* name of subset */
1692 xmlChar * extSubURI; /* URI of external subset */
1693 xmlChar * extSubSystem; /* SYSTEM ID of external subset */
1694
1695 /* xml:space values */
1696 int * space; /* Should the parser preserve spaces */
1697 int spaceNr; /* Depth of the parsing stack */
1698 int spaceMax; /* Max depth of the parsing stack */
1699 int * spaceTab; /* array of space infos */
1700
1701 int depth; /* to prevent entity substitution loops */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001702 xmlParserInputPtr entity; /* used to check entities boundaries */
1703 int charset; /* encoding of the in-memory content
1704 actually an xmlCharEncoding */
1705 int nodelen; /* Those two fields are there to */
1706 int nodemem; /* Speed up large node parsing */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001707 int pedantic; /* signal pedantic warnings */
1708 void *_private; /* For user data, libxml won't touch it */
Daniel Veillardd194dd22001-02-14 10:37:43 +00001709
1710 int loadsubset; /* should the external subset be loaded */
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001711 int linenumbers; /* set line number in element content */
1712 void *catalogs; /* document's own catalog */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001713};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001714></TD
1715></TR
1716></TABLE
Daniel Veillardb05deb71999-08-10 19:04:08 +00001717><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001718>The parser context.
1719NOTE This doesn't completely defines the parser state, the (current ?)
Daniel Veillardaf43f632002-03-08 15:05:20 +00001720design of the parser uses recursive function calls since this allow
1721and easy mapping from the production rules of the specification
1722to the actual code. The drawback is that the actual function call
1723also reflect the parser state. However most of the parsing routines
1724takes as the only argument the parser context pointer, so migrating
1725to a state based parser for progressive parsing shouldn't be too hard.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001726><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001727></P
1728></DIV
1729><HR><DIV
1730CLASS="REFSECT2"
1731><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001732NAME="AEN391"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001733></A
1734><H3
1735><A
1736NAME="XMLSAXLOCATOR"
1737></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001738>struct xmlSAXLocator</H3
Daniel Veillard71b656e2000-01-05 14:46:17 +00001739><TABLE
1740BORDER="0"
1741BGCOLOR="#D6E8FF"
1742WIDTH="100%"
1743CELLPADDING="6"
1744><TR
1745><TD
1746><PRE
1747CLASS="PROGRAMLISTING"
1748>struct xmlSAXLocator {
1749 const xmlChar *(*getPublicId)(void *ctx);
1750 const xmlChar *(*getSystemId)(void *ctx);
1751 int (*getLineNumber)(void *ctx);
1752 int (*getColumnNumber)(void *ctx);
1753};</PRE
1754></TD
1755></TR
1756></TABLE
1757><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001758>a SAX Locator.</P
1759><P
Daniel Veillard71b656e2000-01-05 14:46:17 +00001760></P
1761></DIV
1762><HR><DIV
1763CLASS="REFSECT2"
1764><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001765NAME="AEN397"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001766></A
1767><H3
1768><A
Daniel Veillard35925471999-02-25 08:46:07 +00001769NAME="RESOLVEENTITYSAXFUNC"
1770></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001771>resolveEntitySAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001772><TABLE
1773BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001774BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001775WIDTH="100%"
1776CELLPADDING="6"
1777><TR
1778><TD
1779><PRE
1780CLASS="PROGRAMLISTING"
1781><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001782HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00001783>xmlParserInputPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001784> (*resolveEntitySAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00001785 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001786HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001787>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001788> *publicId,
1789 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001790HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001791>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001792> *systemId);</PRE
1793></TD
1794></TR
1795></TABLE
1796><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001797>Callback:
1798The entity loader, to control the loading of external entities,
1799the application can either:
Daniel Veillardaf43f632002-03-08 15:05:20 +00001800- override this <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001801HREF="libxml-sax.html#RESOLVEENTITY"
1802>resolveEntity</A
1803>() callback in the SAX block
Daniel Veillardaf43f632002-03-08 15:05:20 +00001804- or better use the <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001805HREF="libxml-parser.html#XMLSETEXTERNALENTITYLOADER"
1806>xmlSetExternalEntityLoader</A
1807>() function to
Daniel Veillardaf43f632002-03-08 15:05:20 +00001808set up it's own entity resolution routine</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001809><P
Daniel Veillard35925471999-02-25 08:46:07 +00001810></P
1811><DIV
1812CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001813><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001814NAME="AEN408"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001815></A
Daniel Veillard35925471999-02-25 08:46:07 +00001816><P
1817></P
1818><TABLE
1819BORDER="0"
1820WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001821BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001822CELLSPACING="0"
1823CELLPADDING="4"
1824CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001825><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001826><TR
1827><TD
1828WIDTH="20%"
1829ALIGN="RIGHT"
1830VALIGN="TOP"
1831><TT
1832CLASS="PARAMETER"
1833><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00001834>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00001835></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001836>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001837><TD
1838WIDTH="80%"
1839ALIGN="LEFT"
1840VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001841> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001842></TR
1843><TR
1844><TD
1845WIDTH="20%"
1846ALIGN="RIGHT"
1847VALIGN="TOP"
1848><TT
1849CLASS="PARAMETER"
1850><I
1851>publicId</I
1852></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001853>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001854><TD
1855WIDTH="80%"
1856ALIGN="LEFT"
1857VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001858> The public ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001859></TR
1860><TR
1861><TD
1862WIDTH="20%"
1863ALIGN="RIGHT"
1864VALIGN="TOP"
1865><TT
1866CLASS="PARAMETER"
1867><I
1868>systemId</I
1869></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001870>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001871><TD
1872WIDTH="80%"
1873ALIGN="LEFT"
1874VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001875> The system ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001876></TR
1877><TR
1878><TD
1879WIDTH="20%"
1880ALIGN="RIGHT"
1881VALIGN="TOP"
1882><I
1883CLASS="EMPHASIS"
1884>Returns</I
1885> :</TD
1886><TD
1887WIDTH="80%"
1888ALIGN="LEFT"
1889VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001890>the xmlParserInputPtr if inlined or NULL for DOM behaviour.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001891></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001892></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00001893></TABLE
1894><P
1895></P
1896></DIV
1897></DIV
1898><HR><DIV
1899CLASS="REFSECT2"
1900><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001901NAME="AEN429"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001902></A
1903><H3
1904><A
1905NAME="INTERNALSUBSETSAXFUNC"
1906></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001907>internalSubsetSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00001908><TABLE
1909BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001910BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001911WIDTH="100%"
1912CELLPADDING="6"
1913><TR
1914><TD
1915><PRE
1916CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00001917>void (*internalSubsetSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001918 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001919HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001920>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001921> *name,
1922 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001923HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001924>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001925> *ExternalID,
1926 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001927HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001928>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001929> *SystemID);</PRE
1930></TD
1931></TR
1932></TABLE
1933><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001934>Callback on internal subset declaration.</P
1935><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00001936></P
1937><DIV
1938CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001939><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001940NAME="AEN438"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001941></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001942><P
1943></P
1944><TABLE
1945BORDER="0"
1946WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001947BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001948CELLSPACING="0"
1949CELLPADDING="4"
1950CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001951><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00001952><TR
1953><TD
1954WIDTH="20%"
1955ALIGN="RIGHT"
1956VALIGN="TOP"
1957><TT
1958CLASS="PARAMETER"
1959><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00001960>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001961></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001962>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001963><TD
1964WIDTH="80%"
1965ALIGN="LEFT"
1966VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001967> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001968></TR
1969><TR
1970><TD
1971WIDTH="20%"
1972ALIGN="RIGHT"
1973VALIGN="TOP"
1974><TT
1975CLASS="PARAMETER"
1976><I
1977>name</I
1978></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001979>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001980><TD
1981WIDTH="80%"
1982ALIGN="LEFT"
1983VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001984> the root element name</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001985></TR
1986><TR
1987><TD
1988WIDTH="20%"
1989ALIGN="RIGHT"
1990VALIGN="TOP"
1991><TT
1992CLASS="PARAMETER"
1993><I
1994>ExternalID</I
1995></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001996>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001997><TD
1998WIDTH="80%"
1999ALIGN="LEFT"
2000VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002001> the external ID</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002002></TR
2003><TR
2004><TD
2005WIDTH="20%"
2006ALIGN="RIGHT"
2007VALIGN="TOP"
2008><TT
2009CLASS="PARAMETER"
2010><I
2011>SystemID</I
2012></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002013>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002014><TD
2015WIDTH="80%"
2016ALIGN="LEFT"
2017VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002018> the SYSTEM ID (e.g. filename or URL)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002019></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002020></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002021></TABLE
2022><P
2023></P
2024></DIV
2025></DIV
2026><HR><DIV
2027CLASS="REFSECT2"
2028><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002029NAME="AEN459"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002030></A
2031><H3
2032><A
2033NAME="EXTERNALSUBSETSAXFUNC"
2034></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002035>externalSubsetSAXFunc ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002036><TABLE
2037BORDER="0"
2038BGCOLOR="#D6E8FF"
2039WIDTH="100%"
2040CELLPADDING="6"
2041><TR
2042><TD
2043><PRE
2044CLASS="PROGRAMLISTING"
2045>void (*externalSubsetSAXFunc) (void *ctx,
2046 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002047HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002048>xmlChar</A
2049> *name,
2050 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002051HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002052>xmlChar</A
2053> *ExternalID,
2054 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002055HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002056>xmlChar</A
2057> *SystemID);</PRE
2058></TD
2059></TR
2060></TABLE
2061><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002062>Callback on external subset declaration.</P
2063><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002064></P
2065><DIV
2066CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002067><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002068NAME="AEN468"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002069></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002070><P
2071></P
2072><TABLE
2073BORDER="0"
2074WIDTH="100%"
2075BGCOLOR="#FFD0D0"
2076CELLSPACING="0"
2077CELLPADDING="4"
2078CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002079><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002080><TR
2081><TD
2082WIDTH="20%"
2083ALIGN="RIGHT"
2084VALIGN="TOP"
2085><TT
2086CLASS="PARAMETER"
2087><I
2088>ctx</I
2089></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002090>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002091><TD
2092WIDTH="80%"
2093ALIGN="LEFT"
2094VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002095> the user data (XML parser context)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002096></TR
2097><TR
2098><TD
2099WIDTH="20%"
2100ALIGN="RIGHT"
2101VALIGN="TOP"
2102><TT
2103CLASS="PARAMETER"
2104><I
2105>name</I
2106></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002107>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002108><TD
2109WIDTH="80%"
2110ALIGN="LEFT"
2111VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002112> the root element name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002113></TR
2114><TR
2115><TD
2116WIDTH="20%"
2117ALIGN="RIGHT"
2118VALIGN="TOP"
2119><TT
2120CLASS="PARAMETER"
2121><I
2122>ExternalID</I
2123></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002124>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002125><TD
2126WIDTH="80%"
2127ALIGN="LEFT"
2128VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002129> the external ID</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002130></TR
2131><TR
2132><TD
2133WIDTH="20%"
2134ALIGN="RIGHT"
2135VALIGN="TOP"
2136><TT
2137CLASS="PARAMETER"
2138><I
2139>SystemID</I
2140></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002141>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002142><TD
2143WIDTH="80%"
2144ALIGN="LEFT"
2145VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002146> the SYSTEM ID (e.g. filename or URL)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002147></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002148></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002149></TABLE
2150><P
2151></P
2152></DIV
2153></DIV
2154><HR><DIV
2155CLASS="REFSECT2"
2156><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002157NAME="AEN489"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002158></A
2159><H3
2160><A
2161NAME="GETENTITYSAXFUNC"
2162></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002163>getEntitySAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002164><TABLE
2165BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002166BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002167WIDTH="100%"
2168CELLPADDING="6"
2169><TR
2170><TD
2171><PRE
2172CLASS="PROGRAMLISTING"
2173><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002174HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002175>xmlEntityPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00002176> (*getEntitySAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002177 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002178HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002179>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002180> *name);</PRE
2181></TD
2182></TR
2183></TABLE
2184><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002185>Get an entity by name</P
2186><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002187></P
2188><DIV
2189CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002190><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002191NAME="AEN497"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002192></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002193><P
2194></P
2195><TABLE
2196BORDER="0"
2197WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002198BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002199CELLSPACING="0"
2200CELLPADDING="4"
2201CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002202><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002203><TR
2204><TD
2205WIDTH="20%"
2206ALIGN="RIGHT"
2207VALIGN="TOP"
2208><TT
2209CLASS="PARAMETER"
2210><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002211>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002212></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002213>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002214><TD
2215WIDTH="80%"
2216ALIGN="LEFT"
2217VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002218> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002219></TR
2220><TR
2221><TD
2222WIDTH="20%"
2223ALIGN="RIGHT"
2224VALIGN="TOP"
2225><TT
2226CLASS="PARAMETER"
2227><I
2228>name</I
2229></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002230>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002231><TD
2232WIDTH="80%"
2233ALIGN="LEFT"
2234VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002235> The entity name</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002236></TR
2237><TR
2238><TD
2239WIDTH="20%"
2240ALIGN="RIGHT"
2241VALIGN="TOP"
2242><I
2243CLASS="EMPHASIS"
2244>Returns</I
2245> :</TD
2246><TD
2247WIDTH="80%"
2248ALIGN="LEFT"
2249VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002250>the xmlEntityPtr if found.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002251></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002252></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002253></TABLE
2254><P
2255></P
2256></DIV
2257></DIV
2258><HR><DIV
2259CLASS="REFSECT2"
2260><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002261NAME="AEN514"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002262></A
2263><H3
2264><A
2265NAME="GETPARAMETERENTITYSAXFUNC"
2266></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002267>getParameterEntitySAXFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00002268><TABLE
2269BORDER="0"
2270BGCOLOR="#D6E8FF"
2271WIDTH="100%"
2272CELLPADDING="6"
2273><TR
2274><TD
2275><PRE
2276CLASS="PROGRAMLISTING"
2277><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002278HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002279>xmlEntityPtr</A
2280> (*getParameterEntitySAXFunc) (void *ctx,
2281 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002282HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002283>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002284> *name);</PRE
2285></TD
2286></TR
2287></TABLE
2288><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002289>Get a parameter entity by name</P
2290><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00002291></P
2292><DIV
2293CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002294><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002295NAME="AEN522"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002296></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002297><P
2298></P
2299><TABLE
2300BORDER="0"
2301WIDTH="100%"
2302BGCOLOR="#FFD0D0"
2303CELLSPACING="0"
2304CELLPADDING="4"
2305CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002306><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00002307><TR
2308><TD
2309WIDTH="20%"
2310ALIGN="RIGHT"
2311VALIGN="TOP"
2312><TT
2313CLASS="PARAMETER"
2314><I
2315>ctx</I
2316></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002317>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002318><TD
2319WIDTH="80%"
2320ALIGN="LEFT"
2321VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002322> the user data (XML parser context)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002323></TR
2324><TR
2325><TD
2326WIDTH="20%"
2327ALIGN="RIGHT"
2328VALIGN="TOP"
2329><TT
2330CLASS="PARAMETER"
2331><I
2332>name</I
2333></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002334>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002335><TD
2336WIDTH="80%"
2337ALIGN="LEFT"
2338VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002339> The entity name</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002340></TR
2341><TR
2342><TD
2343WIDTH="20%"
2344ALIGN="RIGHT"
2345VALIGN="TOP"
2346><I
2347CLASS="EMPHASIS"
2348>Returns</I
2349> :</TD
2350><TD
2351WIDTH="80%"
2352ALIGN="LEFT"
2353VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002354>the xmlEntityPtr if found.</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002355></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002356></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00002357></TABLE
2358><P
2359></P
2360></DIV
2361></DIV
2362><HR><DIV
2363CLASS="REFSECT2"
2364><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002365NAME="AEN539"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002366></A
2367><H3
2368><A
2369NAME="ENTITYDECLSAXFUNC"
2370></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002371>entityDeclSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002372><TABLE
2373BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002374BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002375WIDTH="100%"
2376CELLPADDING="6"
2377><TR
2378><TD
2379><PRE
2380CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002381>void (*entityDeclSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002382 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002383HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002384>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002385> *name,
2386 int type,
2387 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002388HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002389>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002390> *publicId,
2391 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002392HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002393>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002394> *systemId,
2395 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002396HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002397>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002398> *content);</PRE
2399></TD
2400></TR
2401></TABLE
2402><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002403>An entity definition has been parsed</P
2404><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002405></P
2406><DIV
2407CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002408><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002409NAME="AEN549"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002410></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002411><P
2412></P
2413><TABLE
2414BORDER="0"
2415WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002416BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002417CELLSPACING="0"
2418CELLPADDING="4"
2419CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002420><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002421><TR
2422><TD
2423WIDTH="20%"
2424ALIGN="RIGHT"
2425VALIGN="TOP"
2426><TT
2427CLASS="PARAMETER"
2428><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002429>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002430></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002431>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002432><TD
2433WIDTH="80%"
2434ALIGN="LEFT"
2435VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002436> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002437></TR
2438><TR
2439><TD
2440WIDTH="20%"
2441ALIGN="RIGHT"
2442VALIGN="TOP"
2443><TT
2444CLASS="PARAMETER"
2445><I
2446>name</I
2447></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002448>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002449><TD
2450WIDTH="80%"
2451ALIGN="LEFT"
2452VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002453> the entity name </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002454></TR
2455><TR
2456><TD
2457WIDTH="20%"
2458ALIGN="RIGHT"
2459VALIGN="TOP"
2460><TT
2461CLASS="PARAMETER"
2462><I
2463>type</I
2464></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002465>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002466><TD
2467WIDTH="80%"
2468ALIGN="LEFT"
2469VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002470> the entity type </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002471></TR
2472><TR
2473><TD
2474WIDTH="20%"
2475ALIGN="RIGHT"
2476VALIGN="TOP"
2477><TT
2478CLASS="PARAMETER"
2479><I
2480>publicId</I
2481></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002482>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002483><TD
2484WIDTH="80%"
2485ALIGN="LEFT"
2486VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002487> The public ID of the entity</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002488></TR
2489><TR
2490><TD
2491WIDTH="20%"
2492ALIGN="RIGHT"
2493VALIGN="TOP"
2494><TT
2495CLASS="PARAMETER"
2496><I
2497>systemId</I
2498></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002499>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002500><TD
2501WIDTH="80%"
2502ALIGN="LEFT"
2503VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002504> The system ID of the entity</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002505></TR
2506><TR
2507><TD
2508WIDTH="20%"
2509ALIGN="RIGHT"
2510VALIGN="TOP"
2511><TT
2512CLASS="PARAMETER"
2513><I
2514>content</I
2515></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002516>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002517><TD
2518WIDTH="80%"
2519ALIGN="LEFT"
2520VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002521> the entity value (without processing).</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002522></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002523></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002524></TABLE
2525><P
2526></P
2527></DIV
2528></DIV
2529><HR><DIV
2530CLASS="REFSECT2"
2531><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00002532NAME="AEN578"
Daniel Veillard35925471999-02-25 08:46:07 +00002533></A
2534><H3
2535><A
2536NAME="NOTATIONDECLSAXFUNC"
2537></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002538>notationDeclSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002539><TABLE
2540BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002541BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002542WIDTH="100%"
2543CELLPADDING="6"
2544><TR
2545><TD
2546><PRE
2547CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002548>void (*notationDeclSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00002549 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002550HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002551>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002552> *name,
2553 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002554HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002555>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002556> *publicId,
2557 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002558HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002559>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002560> *systemId);</PRE
2561></TD
2562></TR
2563></TABLE
2564><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002565>What to do when a notation declaration has been parsed.</P
2566><P
Daniel Veillard35925471999-02-25 08:46:07 +00002567></P
2568><DIV
2569CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002570><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002571NAME="AEN587"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002572></A
Daniel Veillard35925471999-02-25 08:46:07 +00002573><P
2574></P
2575><TABLE
2576BORDER="0"
2577WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002578BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002579CELLSPACING="0"
2580CELLPADDING="4"
2581CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002582><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002583><TR
2584><TD
2585WIDTH="20%"
2586ALIGN="RIGHT"
2587VALIGN="TOP"
2588><TT
2589CLASS="PARAMETER"
2590><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002591>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00002592></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002593>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002594><TD
2595WIDTH="80%"
2596ALIGN="LEFT"
2597VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002598> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002599></TR
2600><TR
2601><TD
2602WIDTH="20%"
2603ALIGN="RIGHT"
2604VALIGN="TOP"
2605><TT
2606CLASS="PARAMETER"
2607><I
2608>name</I
2609></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002610>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002611><TD
2612WIDTH="80%"
2613ALIGN="LEFT"
2614VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002615> The name of the notation</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002616></TR
2617><TR
2618><TD
2619WIDTH="20%"
2620ALIGN="RIGHT"
2621VALIGN="TOP"
2622><TT
2623CLASS="PARAMETER"
2624><I
2625>publicId</I
2626></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002627>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002628><TD
2629WIDTH="80%"
2630ALIGN="LEFT"
2631VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002632> The public ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002633></TR
2634><TR
2635><TD
2636WIDTH="20%"
2637ALIGN="RIGHT"
2638VALIGN="TOP"
2639><TT
2640CLASS="PARAMETER"
2641><I
2642>systemId</I
2643></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002644>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002645><TD
2646WIDTH="80%"
2647ALIGN="LEFT"
2648VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002649> The system ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002650></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002651></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00002652></TABLE
2653><P
2654></P
2655></DIV
2656></DIV
2657><HR><DIV
2658CLASS="REFSECT2"
2659><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002660NAME="AEN608"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002661></A
2662><H3
2663><A
2664NAME="ATTRIBUTEDECLSAXFUNC"
2665></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002666>attributeDeclSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002667><TABLE
2668BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002669BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002670WIDTH="100%"
2671CELLPADDING="6"
2672><TR
2673><TD
2674><PRE
2675CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002676>void (*attributeDeclSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002677 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002678HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002679>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002680> *elem,
2681 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002682HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002683>xmlChar</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002684> *fullname,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002685 int type,
2686 int def,
2687 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002688HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002689>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002690> *defaultValue,
2691 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002692HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002693>xmlEnumerationPtr</A
2694> tree);</PRE
2695></TD
2696></TR
2697></TABLE
2698><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002699>An attribute definition has been parsed</P
2700><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002701></P
2702><DIV
2703CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002704><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002705NAME="AEN618"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002706></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002707><P
2708></P
2709><TABLE
2710BORDER="0"
2711WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002712BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002713CELLSPACING="0"
2714CELLPADDING="4"
2715CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002716><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002717><TR
2718><TD
2719WIDTH="20%"
2720ALIGN="RIGHT"
2721VALIGN="TOP"
2722><TT
2723CLASS="PARAMETER"
2724><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002725>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002726></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002727>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002728><TD
2729WIDTH="80%"
2730ALIGN="LEFT"
2731VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002732> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002733></TR
2734><TR
2735><TD
2736WIDTH="20%"
2737ALIGN="RIGHT"
2738VALIGN="TOP"
2739><TT
2740CLASS="PARAMETER"
2741><I
2742>elem</I
2743></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002744>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002745><TD
2746WIDTH="80%"
2747ALIGN="LEFT"
2748VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002749> the name of the element</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002750></TR
2751><TR
2752><TD
2753WIDTH="20%"
2754ALIGN="RIGHT"
2755VALIGN="TOP"
2756><TT
2757CLASS="PARAMETER"
2758><I
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002759>fullname</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002760></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002761>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002762><TD
2763WIDTH="80%"
2764ALIGN="LEFT"
2765VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002766> the attribute name </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002767></TR
2768><TR
2769><TD
2770WIDTH="20%"
2771ALIGN="RIGHT"
2772VALIGN="TOP"
2773><TT
2774CLASS="PARAMETER"
2775><I
2776>type</I
2777></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002778>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002779><TD
2780WIDTH="80%"
2781ALIGN="LEFT"
2782VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002783> the attribute type </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002784></TR
2785><TR
2786><TD
2787WIDTH="20%"
2788ALIGN="RIGHT"
2789VALIGN="TOP"
2790><TT
2791CLASS="PARAMETER"
2792><I
2793>def</I
2794></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002795>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002796><TD
2797WIDTH="80%"
2798ALIGN="LEFT"
2799VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002800> the type of default value</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002801></TR
2802><TR
2803><TD
2804WIDTH="20%"
2805ALIGN="RIGHT"
2806VALIGN="TOP"
2807><TT
2808CLASS="PARAMETER"
2809><I
2810>defaultValue</I
2811></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002812>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002813><TD
2814WIDTH="80%"
2815ALIGN="LEFT"
2816VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002817> the attribute default value</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002818></TR
2819><TR
2820><TD
2821WIDTH="20%"
2822ALIGN="RIGHT"
2823VALIGN="TOP"
2824><TT
2825CLASS="PARAMETER"
2826><I
2827>tree</I
2828></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002829>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002830><TD
2831WIDTH="80%"
2832ALIGN="LEFT"
2833VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002834> the tree of enumerated value set</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002835></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002836></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002837></TABLE
2838><P
2839></P
2840></DIV
2841></DIV
2842><HR><DIV
2843CLASS="REFSECT2"
2844><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002845NAME="AEN651"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002846></A
2847><H3
2848><A
2849NAME="ELEMENTDECLSAXFUNC"
2850></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002851>elementDeclSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002852><TABLE
2853BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002854BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002855WIDTH="100%"
2856CELLPADDING="6"
2857><TR
2858><TD
2859><PRE
2860CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002861>void (*elementDeclSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002862 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002863HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002864>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002865> *name,
2866 int type,
2867 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002868HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002869>xmlElementContentPtr</A
2870> content);</PRE
2871></TD
2872></TR
2873></TABLE
2874><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002875>An element definition has been parsed</P
2876><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002877></P
2878><DIV
2879CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002880><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002881NAME="AEN659"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002882></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002883><P
2884></P
2885><TABLE
2886BORDER="0"
2887WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002888BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002889CELLSPACING="0"
2890CELLPADDING="4"
2891CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002892><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002893><TR
2894><TD
2895WIDTH="20%"
2896ALIGN="RIGHT"
2897VALIGN="TOP"
2898><TT
2899CLASS="PARAMETER"
2900><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002901>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002902></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002903>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002904><TD
2905WIDTH="80%"
2906ALIGN="LEFT"
2907VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002908> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002909></TR
2910><TR
2911><TD
2912WIDTH="20%"
2913ALIGN="RIGHT"
2914VALIGN="TOP"
2915><TT
2916CLASS="PARAMETER"
2917><I
2918>name</I
2919></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002920>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002921><TD
2922WIDTH="80%"
2923ALIGN="LEFT"
2924VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002925> the element name </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002926></TR
2927><TR
2928><TD
2929WIDTH="20%"
2930ALIGN="RIGHT"
2931VALIGN="TOP"
2932><TT
2933CLASS="PARAMETER"
2934><I
2935>type</I
2936></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002937>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002938><TD
2939WIDTH="80%"
2940ALIGN="LEFT"
2941VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002942> the element type </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002943></TR
2944><TR
2945><TD
2946WIDTH="20%"
2947ALIGN="RIGHT"
2948VALIGN="TOP"
2949><TT
2950CLASS="PARAMETER"
2951><I
2952>content</I
2953></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002954>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002955><TD
2956WIDTH="80%"
2957ALIGN="LEFT"
2958VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002959> the element value tree</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002960></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002961></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002962></TABLE
2963><P
2964></P
2965></DIV
2966></DIV
2967><HR><DIV
2968CLASS="REFSECT2"
2969><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002970NAME="AEN680"
Daniel Veillard35925471999-02-25 08:46:07 +00002971></A
2972><H3
2973><A
2974NAME="UNPARSEDENTITYDECLSAXFUNC"
2975></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002976>unparsedEntityDeclSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002977><TABLE
2978BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002979BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002980WIDTH="100%"
2981CELLPADDING="6"
2982><TR
2983><TD
2984><PRE
2985CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002986>void (*unparsedEntityDeclSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00002987 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002988HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002989>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002990> *name,
2991 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002992HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002993>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002994> *publicId,
2995 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002996HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002997>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002998> *systemId,
2999 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003000HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003001>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003002> *notationName);</PRE
3003></TD
3004></TR
3005></TABLE
3006><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003007>What to do when an unparsed entity declaration is parsed</P
3008><P
Daniel Veillard35925471999-02-25 08:46:07 +00003009></P
3010><DIV
3011CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003012><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003013NAME="AEN690"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003014></A
Daniel Veillard35925471999-02-25 08:46:07 +00003015><P
3016></P
3017><TABLE
3018BORDER="0"
3019WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003020BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003021CELLSPACING="0"
3022CELLPADDING="4"
3023CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003024><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003025><TR
3026><TD
3027WIDTH="20%"
3028ALIGN="RIGHT"
3029VALIGN="TOP"
3030><TT
3031CLASS="PARAMETER"
3032><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003033>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003034></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 user data (XML parser context)</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>name</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 name 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>publicId</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 public 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>systemId</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 system ID of the entity</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003092></TR
3093><TR
3094><TD
3095WIDTH="20%"
3096ALIGN="RIGHT"
3097VALIGN="TOP"
3098><TT
3099CLASS="PARAMETER"
3100><I
3101>notationName</I
3102></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003103>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003104><TD
3105WIDTH="80%"
3106ALIGN="LEFT"
3107VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003108> the name of the notation</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003109></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003110></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003111></TABLE
3112><P
3113></P
3114></DIV
3115></DIV
3116><HR><DIV
3117CLASS="REFSECT2"
3118><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003119NAME="AEN715"
Daniel Veillard35925471999-02-25 08:46:07 +00003120></A
3121><H3
3122><A
3123NAME="SETDOCUMENTLOCATORSAXFUNC"
3124></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003125>setDocumentLocatorSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003126><TABLE
3127BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003128BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003129WIDTH="100%"
3130CELLPADDING="6"
3131><TR
3132><TD
3133><PRE
3134CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003135>void (*setDocumentLocatorSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003136 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003137HREF="libxml-tree.html#XMLSAXLOCATORPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00003138>xmlSAXLocatorPtr</A
3139> loc);</PRE
3140></TD
3141></TR
3142></TABLE
3143><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003144>Receive the document locator at startup, actually xmlDefaultSAXLocator
3145Everything is available on the context, so this is useless in our case.</P
3146><P
Daniel Veillard35925471999-02-25 08:46:07 +00003147></P
3148><DIV
3149CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003150><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003151NAME="AEN722"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003152></A
Daniel Veillard35925471999-02-25 08:46:07 +00003153><P
3154></P
3155><TABLE
3156BORDER="0"
3157WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003158BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003159CELLSPACING="0"
3160CELLPADDING="4"
3161CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003162><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003163><TR
3164><TD
3165WIDTH="20%"
3166ALIGN="RIGHT"
3167VALIGN="TOP"
3168><TT
3169CLASS="PARAMETER"
3170><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003171>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003172></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003173>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003174><TD
3175WIDTH="80%"
3176ALIGN="LEFT"
3177VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003178> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003179></TR
3180><TR
3181><TD
3182WIDTH="20%"
3183ALIGN="RIGHT"
3184VALIGN="TOP"
3185><TT
3186CLASS="PARAMETER"
3187><I
3188>loc</I
3189></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003190>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003191><TD
3192WIDTH="80%"
3193ALIGN="LEFT"
3194VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003195> A SAX Locator</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003196></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003197></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003198></TABLE
3199><P
3200></P
3201></DIV
3202></DIV
3203><HR><DIV
3204CLASS="REFSECT2"
3205><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003206NAME="AEN735"
Daniel Veillard35925471999-02-25 08:46:07 +00003207></A
3208><H3
3209><A
3210NAME="STARTDOCUMENTSAXFUNC"
3211></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003212>startDocumentSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003213><TABLE
3214BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003215BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003216WIDTH="100%"
3217CELLPADDING="6"
3218><TR
3219><TD
3220><PRE
3221CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003222>void (*startDocumentSAXFunc) (void *ctx);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003223></TD
3224></TR
3225></TABLE
3226><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003227>called when the document start being processed.</P
3228><P
Daniel Veillard35925471999-02-25 08:46:07 +00003229></P
3230><DIV
3231CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003232><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003233NAME="AEN741"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003234></A
Daniel Veillard35925471999-02-25 08:46:07 +00003235><P
3236></P
3237><TABLE
3238BORDER="0"
3239WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003240BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003241CELLSPACING="0"
3242CELLPADDING="4"
3243CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003244><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003245><TR
3246><TD
3247WIDTH="20%"
3248ALIGN="RIGHT"
3249VALIGN="TOP"
3250><TT
3251CLASS="PARAMETER"
3252><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003253>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003254></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003255>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003256><TD
3257WIDTH="80%"
3258ALIGN="LEFT"
3259VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003260> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003261></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003262></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003263></TABLE
3264><P
3265></P
3266></DIV
3267></DIV
3268><HR><DIV
3269CLASS="REFSECT2"
3270><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003271NAME="AEN750"
Daniel Veillard35925471999-02-25 08:46:07 +00003272></A
3273><H3
3274><A
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003275NAME="ENDDOCUMENTSAXFUNC"
3276></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003277>endDocumentSAXFunc ()</H3
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003278><TABLE
3279BORDER="0"
3280BGCOLOR="#D6E8FF"
3281WIDTH="100%"
3282CELLPADDING="6"
3283><TR
3284><TD
3285><PRE
3286CLASS="PROGRAMLISTING"
3287>void (*endDocumentSAXFunc) (void *ctx);</PRE
3288></TD
3289></TR
3290></TABLE
3291><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003292>called when the document end has been detected.</P
3293><P
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003294></P
3295><DIV
3296CLASS="INFORMALTABLE"
3297><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003298NAME="AEN756"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003299></A
3300><P
3301></P
3302><TABLE
3303BORDER="0"
3304WIDTH="100%"
3305BGCOLOR="#FFD0D0"
3306CELLSPACING="0"
3307CELLPADDING="4"
3308CLASS="CALSTABLE"
3309><TBODY
3310><TR
3311><TD
3312WIDTH="20%"
3313ALIGN="RIGHT"
3314VALIGN="TOP"
3315><TT
3316CLASS="PARAMETER"
3317><I
3318>ctx</I
3319></TT
3320>&nbsp;:</TD
3321><TD
3322WIDTH="80%"
3323ALIGN="LEFT"
3324VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003325> the user data (XML parser context)</TD
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003326></TR
3327></TBODY
3328></TABLE
3329><P
3330></P
3331></DIV
3332></DIV
3333><HR><DIV
3334CLASS="REFSECT2"
3335><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003336NAME="AEN765"
Daniel Veillard4ec885a2001-06-17 10:31:07 +00003337></A
3338><H3
3339><A
Daniel Veillard35925471999-02-25 08:46:07 +00003340NAME="STARTELEMENTSAXFUNC"
3341></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003342>startElementSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003343><TABLE
3344BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003345BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003346WIDTH="100%"
3347CELLPADDING="6"
3348><TR
3349><TD
3350><PRE
3351CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003352>void (*startElementSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003353 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003354HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003355>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003356> *name,
3357 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003358HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003359>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003360> **atts);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003361></TD
3362></TR
3363></TABLE
3364><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003365>called when an opening tag has been processed.</P
3366><P
Daniel Veillard35925471999-02-25 08:46:07 +00003367></P
3368><DIV
3369CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003370><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003371NAME="AEN773"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003372></A
Daniel Veillard35925471999-02-25 08:46:07 +00003373><P
3374></P
3375><TABLE
3376BORDER="0"
3377WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003378BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003379CELLSPACING="0"
3380CELLPADDING="4"
3381CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003382><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003383><TR
3384><TD
3385WIDTH="20%"
3386ALIGN="RIGHT"
3387VALIGN="TOP"
3388><TT
3389CLASS="PARAMETER"
3390><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003391>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003392></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003393>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003394><TD
3395WIDTH="80%"
3396ALIGN="LEFT"
3397VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003398> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003399></TR
3400><TR
3401><TD
3402WIDTH="20%"
3403ALIGN="RIGHT"
3404VALIGN="TOP"
3405><TT
3406CLASS="PARAMETER"
3407><I
3408>name</I
3409></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003410>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003411><TD
3412WIDTH="80%"
3413ALIGN="LEFT"
3414VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003415> The element name, including namespace prefix</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003416></TR
Daniel Veillard5099ae81999-04-21 20:12:07 +00003417><TR
3418><TD
3419WIDTH="20%"
3420ALIGN="RIGHT"
3421VALIGN="TOP"
3422><TT
3423CLASS="PARAMETER"
3424><I
3425>atts</I
3426></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003427>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003428><TD
3429WIDTH="80%"
3430ALIGN="LEFT"
3431VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003432> An array of name/value attributes pairs, NULL terminated</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003433></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003434></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003435></TABLE
3436><P
3437></P
3438></DIV
3439></DIV
3440><HR><DIV
3441CLASS="REFSECT2"
3442><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003443NAME="AEN790"
Daniel Veillard35925471999-02-25 08:46:07 +00003444></A
3445><H3
3446><A
3447NAME="ENDELEMENTSAXFUNC"
3448></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003449>endElementSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003450><TABLE
3451BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003452BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003453WIDTH="100%"
3454CELLPADDING="6"
3455><TR
3456><TD
3457><PRE
3458CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003459>void (*endElementSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003460 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003461HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003462>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003463> *name);</PRE
3464></TD
3465></TR
3466></TABLE
3467><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003468>called when the end of an element has been detected.</P
3469><P
Daniel Veillard35925471999-02-25 08:46:07 +00003470></P
3471><DIV
3472CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003473><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003474NAME="AEN797"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003475></A
Daniel Veillard35925471999-02-25 08:46:07 +00003476><P
3477></P
3478><TABLE
3479BORDER="0"
3480WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003481BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003482CELLSPACING="0"
3483CELLPADDING="4"
3484CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003485><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003486><TR
3487><TD
3488WIDTH="20%"
3489ALIGN="RIGHT"
3490VALIGN="TOP"
3491><TT
3492CLASS="PARAMETER"
3493><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003494>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003495></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003496>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003497><TD
3498WIDTH="80%"
3499ALIGN="LEFT"
3500VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003501> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003502></TR
3503><TR
3504><TD
3505WIDTH="20%"
3506ALIGN="RIGHT"
3507VALIGN="TOP"
3508><TT
3509CLASS="PARAMETER"
3510><I
3511>name</I
3512></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003513>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003514><TD
3515WIDTH="80%"
3516ALIGN="LEFT"
3517VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003518> The element name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003519></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003520></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003521></TABLE
3522><P
3523></P
3524></DIV
3525></DIV
3526><HR><DIV
3527CLASS="REFSECT2"
3528><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003529NAME="AEN810"
Daniel Veillard35925471999-02-25 08:46:07 +00003530></A
3531><H3
3532><A
3533NAME="ATTRIBUTESAXFUNC"
3534></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003535>attributeSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003536><TABLE
3537BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003538BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003539WIDTH="100%"
3540CELLPADDING="6"
3541><TR
3542><TD
3543><PRE
3544CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003545>void (*attributeSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003546 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003547HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003548>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003549> *name,
3550 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003551HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003552>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003553> *value);</PRE
3554></TD
3555></TR
3556></TABLE
3557><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003558>Handle an attribute that has been read by the parser.
3559The default handling is to convert the attribute into an
3560DOM subtree and past it in a new xmlAttr element added to
3561the element.</P
3562><P
Daniel Veillard35925471999-02-25 08:46:07 +00003563></P
3564><DIV
3565CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003566><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003567NAME="AEN818"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003568></A
Daniel Veillard35925471999-02-25 08:46:07 +00003569><P
3570></P
3571><TABLE
3572BORDER="0"
3573WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003574BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003575CELLSPACING="0"
3576CELLPADDING="4"
3577CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003578><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003579><TR
3580><TD
3581WIDTH="20%"
3582ALIGN="RIGHT"
3583VALIGN="TOP"
3584><TT
3585CLASS="PARAMETER"
3586><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003587>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003588></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003589>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003590><TD
3591WIDTH="80%"
3592ALIGN="LEFT"
3593VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003594> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003595></TR
3596><TR
3597><TD
3598WIDTH="20%"
3599ALIGN="RIGHT"
3600VALIGN="TOP"
3601><TT
3602CLASS="PARAMETER"
3603><I
3604>name</I
3605></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003606>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003607><TD
3608WIDTH="80%"
3609ALIGN="LEFT"
3610VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003611> The attribute name, including namespace prefix</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003612></TR
3613><TR
3614><TD
3615WIDTH="20%"
3616ALIGN="RIGHT"
3617VALIGN="TOP"
3618><TT
3619CLASS="PARAMETER"
3620><I
3621>value</I
3622></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003623>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003624><TD
3625WIDTH="80%"
3626ALIGN="LEFT"
3627VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003628> The attribute value</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003629></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003630></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003631></TABLE
3632><P
3633></P
3634></DIV
3635></DIV
3636><HR><DIV
3637CLASS="REFSECT2"
3638><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003639NAME="AEN835"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003640></A
3641><H3
3642><A
3643NAME="REFERENCESAXFUNC"
3644></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003645>referenceSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003646><TABLE
3647BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003648BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003649WIDTH="100%"
3650CELLPADDING="6"
3651><TR
3652><TD
3653><PRE
3654CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003655>void (*referenceSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003656 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003657HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003658>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003659> *name);</PRE
3660></TD
3661></TR
3662></TABLE
3663><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003664>called when an entity reference is detected.</P
3665><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00003666></P
3667><DIV
3668CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003669><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003670NAME="AEN842"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003671></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003672><P
3673></P
3674><TABLE
3675BORDER="0"
3676WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003677BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003678CELLSPACING="0"
3679CELLPADDING="4"
3680CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003681><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00003682><TR
3683><TD
3684WIDTH="20%"
3685ALIGN="RIGHT"
3686VALIGN="TOP"
3687><TT
3688CLASS="PARAMETER"
3689><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003690>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003691></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003692>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003693><TD
3694WIDTH="80%"
3695ALIGN="LEFT"
3696VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003697> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003698></TR
3699><TR
3700><TD
3701WIDTH="20%"
3702ALIGN="RIGHT"
3703VALIGN="TOP"
3704><TT
3705CLASS="PARAMETER"
3706><I
3707>name</I
3708></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003709>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003710><TD
3711WIDTH="80%"
3712ALIGN="LEFT"
3713VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003714> The entity name</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003715></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003716></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00003717></TABLE
3718><P
3719></P
3720></DIV
3721></DIV
3722><HR><DIV
3723CLASS="REFSECT2"
3724><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003725NAME="AEN855"
Daniel Veillard35925471999-02-25 08:46:07 +00003726></A
3727><H3
3728><A
3729NAME="CHARACTERSSAXFUNC"
3730></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003731>charactersSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003732><TABLE
3733BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003734BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003735WIDTH="100%"
3736CELLPADDING="6"
3737><TR
3738><TD
3739><PRE
3740CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003741>void (*charactersSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003742 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003743HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003744>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003745> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +00003746 int len);</PRE
3747></TD
3748></TR
3749></TABLE
3750><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003751>receiving some chars from the parser.</P
3752><P
Daniel Veillard35925471999-02-25 08:46:07 +00003753></P
3754><DIV
3755CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003756><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003757NAME="AEN862"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003758></A
Daniel Veillard35925471999-02-25 08:46:07 +00003759><P
3760></P
3761><TABLE
3762BORDER="0"
3763WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003764BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003765CELLSPACING="0"
3766CELLPADDING="4"
3767CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003768><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003769><TR
3770><TD
3771WIDTH="20%"
3772ALIGN="RIGHT"
3773VALIGN="TOP"
3774><TT
3775CLASS="PARAMETER"
3776><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003777>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003778></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003779>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003780><TD
3781WIDTH="80%"
3782ALIGN="LEFT"
3783VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003784> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003785></TR
3786><TR
3787><TD
3788WIDTH="20%"
3789ALIGN="RIGHT"
3790VALIGN="TOP"
3791><TT
3792CLASS="PARAMETER"
3793><I
3794>ch</I
3795></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003796>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003797><TD
3798WIDTH="80%"
3799ALIGN="LEFT"
3800VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003801> a xmlChar string</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003802></TR
3803><TR
3804><TD
3805WIDTH="20%"
3806ALIGN="RIGHT"
3807VALIGN="TOP"
3808><TT
3809CLASS="PARAMETER"
3810><I
Daniel Veillard35925471999-02-25 08:46:07 +00003811>len</I
3812></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003813>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003814><TD
3815WIDTH="80%"
3816ALIGN="LEFT"
3817VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003818> the number of xmlChar</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003819></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003820></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003821></TABLE
3822><P
3823></P
3824></DIV
3825></DIV
3826><HR><DIV
3827CLASS="REFSECT2"
3828><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003829NAME="AEN879"
Daniel Veillard35925471999-02-25 08:46:07 +00003830></A
3831><H3
3832><A
3833NAME="IGNORABLEWHITESPACESAXFUNC"
3834></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003835>ignorableWhitespaceSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003836><TABLE
3837BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003838BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003839WIDTH="100%"
3840CELLPADDING="6"
3841><TR
3842><TD
3843><PRE
3844CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003845>void (*ignorableWhitespaceSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003846 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003847HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003848>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003849> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +00003850 int len);</PRE
3851></TD
3852></TR
3853></TABLE
3854><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003855>receiving some ignorable whitespaces from the parser.
3856UNUSED: by default the DOM building will use characters</P
3857><P
Daniel Veillard35925471999-02-25 08:46:07 +00003858></P
3859><DIV
3860CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003861><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003862NAME="AEN886"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003863></A
Daniel Veillard35925471999-02-25 08:46:07 +00003864><P
3865></P
3866><TABLE
3867BORDER="0"
3868WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003869BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003870CELLSPACING="0"
3871CELLPADDING="4"
3872CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003873><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003874><TR
3875><TD
3876WIDTH="20%"
3877ALIGN="RIGHT"
3878VALIGN="TOP"
3879><TT
3880CLASS="PARAMETER"
3881><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003882>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003883></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003884>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003885><TD
3886WIDTH="80%"
3887ALIGN="LEFT"
3888VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003889> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003890></TR
3891><TR
3892><TD
3893WIDTH="20%"
3894ALIGN="RIGHT"
3895VALIGN="TOP"
3896><TT
3897CLASS="PARAMETER"
3898><I
3899>ch</I
3900></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003901>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003902><TD
3903WIDTH="80%"
3904ALIGN="LEFT"
3905VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003906> a xmlChar string</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003907></TR
3908><TR
3909><TD
3910WIDTH="20%"
3911ALIGN="RIGHT"
3912VALIGN="TOP"
3913><TT
3914CLASS="PARAMETER"
3915><I
Daniel Veillard35925471999-02-25 08:46:07 +00003916>len</I
3917></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003918>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003919><TD
3920WIDTH="80%"
3921ALIGN="LEFT"
3922VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003923> the number of xmlChar</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003924></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003925></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003926></TABLE
3927><P
3928></P
3929></DIV
3930></DIV
3931><HR><DIV
3932CLASS="REFSECT2"
3933><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003934NAME="AEN903"
Daniel Veillard35925471999-02-25 08:46:07 +00003935></A
3936><H3
3937><A
3938NAME="PROCESSINGINSTRUCTIONSAXFUNC"
3939></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003940>processingInstructionSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003941><TABLE
3942BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003943BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003944WIDTH="100%"
3945CELLPADDING="6"
3946><TR
3947><TD
3948><PRE
3949CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003950>void (*processingInstructionSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003951 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003952HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003953>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003954> *target,
3955 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003956HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003957>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003958> *data);</PRE
3959></TD
3960></TR
3961></TABLE
3962><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003963>A processing instruction has been parsed.</P
3964><P
Daniel Veillard35925471999-02-25 08:46:07 +00003965></P
3966><DIV
3967CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003968><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003969NAME="AEN911"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003970></A
Daniel Veillard35925471999-02-25 08:46:07 +00003971><P
3972></P
3973><TABLE
3974BORDER="0"
3975WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003976BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003977CELLSPACING="0"
3978CELLPADDING="4"
3979CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003980><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003981><TR
3982><TD
3983WIDTH="20%"
3984ALIGN="RIGHT"
3985VALIGN="TOP"
3986><TT
3987CLASS="PARAMETER"
3988><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003989>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003990></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003991>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003992><TD
3993WIDTH="80%"
3994ALIGN="LEFT"
3995VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003996> the user data (XML parser context)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003997></TR
3998><TR
3999><TD
4000WIDTH="20%"
4001ALIGN="RIGHT"
4002VALIGN="TOP"
4003><TT
4004CLASS="PARAMETER"
4005><I
4006>target</I
4007></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004008>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004009><TD
4010WIDTH="80%"
4011ALIGN="LEFT"
4012VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004013> the target name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004014></TR
4015><TR
4016><TD
4017WIDTH="20%"
4018ALIGN="RIGHT"
4019VALIGN="TOP"
4020><TT
4021CLASS="PARAMETER"
4022><I
4023>data</I
4024></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004025>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004026><TD
4027WIDTH="80%"
4028ALIGN="LEFT"
4029VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004030> the PI data's</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004031></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004032></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004033></TABLE
4034><P
4035></P
4036></DIV
4037></DIV
4038><HR><DIV
4039CLASS="REFSECT2"
4040><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004041NAME="AEN928"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004042></A
4043><H3
4044><A
4045NAME="COMMENTSAXFUNC"
4046></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004047>commentSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004048><TABLE
4049BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004050BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004051WIDTH="100%"
4052CELLPADDING="6"
4053><TR
4054><TD
4055><PRE
4056CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004057>void (*commentSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00004058 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004059HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004060>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004061> *value);</PRE
4062></TD
4063></TR
4064></TABLE
4065><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004066>A comment has been parsed.</P
4067><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004068></P
4069><DIV
4070CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004071><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004072NAME="AEN935"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004073></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004074><P
4075></P
4076><TABLE
4077BORDER="0"
4078WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004079BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004080CELLSPACING="0"
4081CELLPADDING="4"
4082CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004083><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004084><TR
4085><TD
4086WIDTH="20%"
4087ALIGN="RIGHT"
4088VALIGN="TOP"
4089><TT
4090CLASS="PARAMETER"
4091><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004092>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004093></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004094>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004095><TD
4096WIDTH="80%"
4097ALIGN="LEFT"
4098VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004099> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004100></TR
4101><TR
4102><TD
4103WIDTH="20%"
4104ALIGN="RIGHT"
4105VALIGN="TOP"
4106><TT
4107CLASS="PARAMETER"
4108><I
4109>value</I
4110></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004111>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004112><TD
4113WIDTH="80%"
4114ALIGN="LEFT"
4115VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004116> the comment content</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004117></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004118></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004119></TABLE
4120><P
4121></P
4122></DIV
4123></DIV
4124><HR><DIV
4125CLASS="REFSECT2"
4126><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004127NAME="AEN948"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004128></A
4129><H3
4130><A
4131NAME="CDATABLOCKSAXFUNC"
4132></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004133>cdataBlockSAXFunc ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00004134><TABLE
4135BORDER="0"
4136BGCOLOR="#D6E8FF"
4137WIDTH="100%"
4138CELLPADDING="6"
4139><TR
4140><TD
4141><PRE
4142CLASS="PROGRAMLISTING"
4143>void (*cdataBlockSAXFunc) (void *ctx,
4144 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004145HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004146>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004147> *value,
4148 int len);</PRE
4149></TD
4150></TR
4151></TABLE
4152><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004153>called when a pcdata block has been parsed</P
4154><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004155></P
4156><DIV
4157CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004158><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004159NAME="AEN955"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004160></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004161><P
4162></P
4163><TABLE
4164BORDER="0"
4165WIDTH="100%"
4166BGCOLOR="#FFD0D0"
4167CELLSPACING="0"
4168CELLPADDING="4"
4169CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004170><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00004171><TR
4172><TD
4173WIDTH="20%"
4174ALIGN="RIGHT"
4175VALIGN="TOP"
4176><TT
4177CLASS="PARAMETER"
4178><I
4179>ctx</I
4180></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004181>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004182><TD
4183WIDTH="80%"
4184ALIGN="LEFT"
4185VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004186> the user data (XML parser context)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004187></TR
4188><TR
4189><TD
4190WIDTH="20%"
4191ALIGN="RIGHT"
4192VALIGN="TOP"
4193><TT
4194CLASS="PARAMETER"
4195><I
4196>value</I
4197></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004198>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004199><TD
4200WIDTH="80%"
4201ALIGN="LEFT"
4202VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004203> The pcdata content</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004204></TR
4205><TR
4206><TD
4207WIDTH="20%"
4208ALIGN="RIGHT"
4209VALIGN="TOP"
4210><TT
4211CLASS="PARAMETER"
4212><I
4213>len</I
4214></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004215>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004216><TD
4217WIDTH="80%"
4218ALIGN="LEFT"
4219VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004220> the block length</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004221></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004222></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00004223></TABLE
4224><P
4225></P
4226></DIV
4227></DIV
4228><HR><DIV
4229CLASS="REFSECT2"
4230><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004231NAME="AEN972"
Daniel Veillard35925471999-02-25 08:46:07 +00004232></A
4233><H3
4234><A
4235NAME="WARNINGSAXFUNC"
4236></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004237>warningSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004238><TABLE
4239BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004240BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004241WIDTH="100%"
4242CELLPADDING="6"
4243><TR
4244><TD
4245><PRE
4246CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004247>void (*warningSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004248 const char *msg,
4249 ...);</PRE
4250></TD
4251></TR
4252></TABLE
4253><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004254>Display and format a warning messages, callback</P
4255><P
Daniel Veillard35925471999-02-25 08:46:07 +00004256></P
4257><DIV
4258CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004259><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004260NAME="AEN978"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004261></A
Daniel Veillard35925471999-02-25 08:46:07 +00004262><P
4263></P
4264><TABLE
4265BORDER="0"
4266WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004267BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004268CELLSPACING="0"
4269CELLPADDING="4"
4270CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004271><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004272><TR
4273><TD
4274WIDTH="20%"
4275ALIGN="RIGHT"
4276VALIGN="TOP"
4277><TT
4278CLASS="PARAMETER"
4279><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004280>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004281></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004282>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004283><TD
4284WIDTH="80%"
4285ALIGN="LEFT"
4286VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004287> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004288></TR
4289><TR
4290><TD
4291WIDTH="20%"
4292ALIGN="RIGHT"
4293VALIGN="TOP"
4294><TT
4295CLASS="PARAMETER"
4296><I
4297>msg</I
4298></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004299>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004300><TD
4301WIDTH="80%"
4302ALIGN="LEFT"
4303VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004304> the message to display/transmit</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004305></TR
4306><TR
4307><TD
4308WIDTH="20%"
4309ALIGN="RIGHT"
4310VALIGN="TOP"
4311><TT
4312CLASS="PARAMETER"
4313><I
4314>...</I
4315></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004316>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004317><TD
4318WIDTH="80%"
4319ALIGN="LEFT"
4320VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004321> extra parameters for the message display</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004322></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004323></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004324></TABLE
4325><P
4326></P
4327></DIV
4328></DIV
4329><HR><DIV
4330CLASS="REFSECT2"
4331><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004332NAME="AEN995"
Daniel Veillard35925471999-02-25 08:46:07 +00004333></A
4334><H3
4335><A
4336NAME="ERRORSAXFUNC"
4337></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004338>errorSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004339><TABLE
4340BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004341BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004342WIDTH="100%"
4343CELLPADDING="6"
4344><TR
4345><TD
4346><PRE
4347CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004348>void (*errorSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004349 const char *msg,
4350 ...);</PRE
4351></TD
4352></TR
4353></TABLE
4354><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004355>Display and format an error messages, callback</P
4356><P
Daniel Veillard35925471999-02-25 08:46:07 +00004357></P
4358><DIV
4359CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004360><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004361NAME="AEN1001"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004362></A
Daniel Veillard35925471999-02-25 08:46:07 +00004363><P
4364></P
4365><TABLE
4366BORDER="0"
4367WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004368BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004369CELLSPACING="0"
4370CELLPADDING="4"
4371CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004372><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004373><TR
4374><TD
4375WIDTH="20%"
4376ALIGN="RIGHT"
4377VALIGN="TOP"
4378><TT
4379CLASS="PARAMETER"
4380><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004381>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004382></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004383>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004384><TD
4385WIDTH="80%"
4386ALIGN="LEFT"
4387VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004388> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004389></TR
4390><TR
4391><TD
4392WIDTH="20%"
4393ALIGN="RIGHT"
4394VALIGN="TOP"
4395><TT
4396CLASS="PARAMETER"
4397><I
4398>msg</I
4399></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004400>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004401><TD
4402WIDTH="80%"
4403ALIGN="LEFT"
4404VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004405> the message to display/transmit</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004406></TR
4407><TR
4408><TD
4409WIDTH="20%"
4410ALIGN="RIGHT"
4411VALIGN="TOP"
4412><TT
4413CLASS="PARAMETER"
4414><I
4415>...</I
4416></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004417>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004418><TD
4419WIDTH="80%"
4420ALIGN="LEFT"
4421VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004422> extra parameters for the message display</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004423></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004424></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004425></TABLE
4426><P
4427></P
4428></DIV
4429></DIV
4430><HR><DIV
4431CLASS="REFSECT2"
4432><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004433NAME="AEN1018"
Daniel Veillard35925471999-02-25 08:46:07 +00004434></A
4435><H3
4436><A
4437NAME="FATALERRORSAXFUNC"
4438></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004439>fatalErrorSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004440><TABLE
4441BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004442BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004443WIDTH="100%"
4444CELLPADDING="6"
4445><TR
4446><TD
4447><PRE
4448CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004449>void (*fatalErrorSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004450 const char *msg,
4451 ...);</PRE
4452></TD
4453></TR
4454></TABLE
4455><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004456>Display and format fatal error messages, callback</P
4457><P
Daniel Veillard35925471999-02-25 08:46:07 +00004458></P
4459><DIV
4460CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004461><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004462NAME="AEN1024"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004463></A
Daniel Veillard35925471999-02-25 08:46:07 +00004464><P
4465></P
4466><TABLE
4467BORDER="0"
4468WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004469BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004470CELLSPACING="0"
4471CELLPADDING="4"
4472CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004473><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004474><TR
4475><TD
4476WIDTH="20%"
4477ALIGN="RIGHT"
4478VALIGN="TOP"
4479><TT
4480CLASS="PARAMETER"
4481><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004482>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004483></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004484>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004485><TD
4486WIDTH="80%"
4487ALIGN="LEFT"
4488VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004489> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004490></TR
4491><TR
4492><TD
4493WIDTH="20%"
4494ALIGN="RIGHT"
4495VALIGN="TOP"
4496><TT
4497CLASS="PARAMETER"
4498><I
4499>msg</I
4500></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004501>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004502><TD
4503WIDTH="80%"
4504ALIGN="LEFT"
4505VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004506> the message to display/transmit</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004507></TR
4508><TR
4509><TD
4510WIDTH="20%"
4511ALIGN="RIGHT"
4512VALIGN="TOP"
4513><TT
4514CLASS="PARAMETER"
4515><I
4516>...</I
4517></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004518>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004519><TD
4520WIDTH="80%"
4521ALIGN="LEFT"
4522VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004523> extra parameters for the message display</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004524></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004525></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004526></TABLE
4527><P
4528></P
4529></DIV
4530></DIV
4531><HR><DIV
4532CLASS="REFSECT2"
4533><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004534NAME="AEN1041"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004535></A
4536><H3
4537><A
4538NAME="ISSTANDALONESAXFUNC"
4539></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004540>isStandaloneSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004541><TABLE
4542BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004543BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004544WIDTH="100%"
4545CELLPADDING="6"
4546><TR
4547><TD
4548><PRE
4549CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004550>int (*isStandaloneSAXFunc) (void *ctx);</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00004551></TD
4552></TR
4553></TABLE
4554><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004555>Is this document tagged standalone ?</P
4556><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004557></P
4558><DIV
4559CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004560><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004561NAME="AEN1047"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004562></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004563><P
4564></P
4565><TABLE
4566BORDER="0"
4567WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004568BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004569CELLSPACING="0"
4570CELLPADDING="4"
4571CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004572><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004573><TR
4574><TD
4575WIDTH="20%"
4576ALIGN="RIGHT"
4577VALIGN="TOP"
4578><TT
4579CLASS="PARAMETER"
4580><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004581>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004582></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004583>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004584><TD
4585WIDTH="80%"
4586ALIGN="LEFT"
4587VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004588> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004589></TR
4590><TR
4591><TD
4592WIDTH="20%"
4593ALIGN="RIGHT"
4594VALIGN="TOP"
4595><I
4596CLASS="EMPHASIS"
4597>Returns</I
4598> :</TD
4599><TD
4600WIDTH="80%"
4601ALIGN="LEFT"
4602VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004603>1 if true</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004604></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004605></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004606></TABLE
4607><P
4608></P
4609></DIV
4610></DIV
4611><HR><DIV
4612CLASS="REFSECT2"
4613><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004614NAME="AEN1060"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004615></A
4616><H3
4617><A
4618NAME="HASINTERNALSUBSETSAXFUNC"
4619></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004620>hasInternalSubsetSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004621><TABLE
4622BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004623BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004624WIDTH="100%"
4625CELLPADDING="6"
4626><TR
4627><TD
4628><PRE
4629CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004630>int (*hasInternalSubsetSAXFunc) (void *ctx);</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00004631></TD
4632></TR
4633></TABLE
4634><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004635>Does this document has an internal subset</P
4636><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004637></P
4638><DIV
4639CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004640><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004641NAME="AEN1066"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004642></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004643><P
4644></P
4645><TABLE
4646BORDER="0"
4647WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004648BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004649CELLSPACING="0"
4650CELLPADDING="4"
4651CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004652><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004653><TR
4654><TD
4655WIDTH="20%"
4656ALIGN="RIGHT"
4657VALIGN="TOP"
4658><TT
4659CLASS="PARAMETER"
4660><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004661>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004662></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004663>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004664><TD
4665WIDTH="80%"
4666ALIGN="LEFT"
4667VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004668> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004669></TR
4670><TR
4671><TD
4672WIDTH="20%"
4673ALIGN="RIGHT"
4674VALIGN="TOP"
4675><I
4676CLASS="EMPHASIS"
4677>Returns</I
4678> :</TD
4679><TD
4680WIDTH="80%"
4681ALIGN="LEFT"
4682VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004683>1 if true</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004684></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004685></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004686></TABLE
4687><P
4688></P
4689></DIV
4690></DIV
4691><HR><DIV
4692CLASS="REFSECT2"
4693><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004694NAME="AEN1079"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004695></A
4696><H3
4697><A
4698NAME="HASEXTERNALSUBSETSAXFUNC"
4699></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004700>hasExternalSubsetSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004701><TABLE
4702BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004703BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004704WIDTH="100%"
4705CELLPADDING="6"
4706><TR
4707><TD
4708><PRE
4709CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004710>int (*hasExternalSubsetSAXFunc) (void *ctx);</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00004711></TD
4712></TR
4713></TABLE
4714><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004715>Does this document has an external subset</P
4716><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004717></P
4718><DIV
4719CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004720><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004721NAME="AEN1085"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004722></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004723><P
4724></P
4725><TABLE
4726BORDER="0"
4727WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004728BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004729CELLSPACING="0"
4730CELLPADDING="4"
4731CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004732><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004733><TR
4734><TD
4735WIDTH="20%"
4736ALIGN="RIGHT"
4737VALIGN="TOP"
4738><TT
4739CLASS="PARAMETER"
4740><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004741>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004742></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004743>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004744><TD
4745WIDTH="80%"
4746ALIGN="LEFT"
4747VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004748> the user data (XML parser context)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004749></TR
4750><TR
4751><TD
4752WIDTH="20%"
4753ALIGN="RIGHT"
4754VALIGN="TOP"
4755><I
4756CLASS="EMPHASIS"
4757>Returns</I
4758> :</TD
4759><TD
4760WIDTH="80%"
4761ALIGN="LEFT"
4762VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004763>1 if true</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004764></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004765></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004766></TABLE
4767><P
4768></P
4769></DIV
4770></DIV
4771><HR><DIV
4772CLASS="REFSECT2"
4773><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004774NAME="AEN1098"
Daniel Veillard24491f62000-01-05 14:58:38 +00004775></A
4776><H3
4777><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004778NAME="XMLSAXHANDLER"
Daniel Veillard24491f62000-01-05 14:58:38 +00004779></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004780>struct xmlSAXHandler</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004781><TABLE
4782BORDER="0"
4783BGCOLOR="#D6E8FF"
4784WIDTH="100%"
4785CELLPADDING="6"
4786><TR
4787><TD
4788><PRE
4789CLASS="PROGRAMLISTING"
4790>struct xmlSAXHandler {
4791 internalSubsetSAXFunc internalSubset;
4792 isStandaloneSAXFunc isStandalone;
4793 hasInternalSubsetSAXFunc hasInternalSubset;
4794 hasExternalSubsetSAXFunc hasExternalSubset;
4795 resolveEntitySAXFunc resolveEntity;
4796 getEntitySAXFunc getEntity;
4797 entityDeclSAXFunc entityDecl;
4798 notationDeclSAXFunc notationDecl;
4799 attributeDeclSAXFunc attributeDecl;
4800 elementDeclSAXFunc elementDecl;
4801 unparsedEntityDeclSAXFunc unparsedEntityDecl;
4802 setDocumentLocatorSAXFunc setDocumentLocator;
4803 startDocumentSAXFunc startDocument;
4804 endDocumentSAXFunc endDocument;
4805 startElementSAXFunc startElement;
4806 endElementSAXFunc endElement;
4807 referenceSAXFunc reference;
4808 charactersSAXFunc characters;
4809 ignorableWhitespaceSAXFunc ignorableWhitespace;
4810 processingInstructionSAXFunc processingInstruction;
4811 commentSAXFunc comment;
4812 warningSAXFunc warning;
4813 errorSAXFunc error;
4814 fatalErrorSAXFunc fatalError;
4815 getParameterEntitySAXFunc getParameterEntity;
4816 cdataBlockSAXFunc cdataBlock;
4817 externalSubsetSAXFunc externalSubset;
Daniel Veillard52dcab32001-10-30 12:51:17 +00004818 int initialized;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004819};</PRE
4820></TD
4821></TR
4822></TABLE
Daniel Veillard24491f62000-01-05 14:58:38 +00004823><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004824>a SAX handler is bunch of callbacks called by the parser when processing
4825of the input generate data or structure informations.</P
4826><P
Daniel Veillard24491f62000-01-05 14:58:38 +00004827></P
4828></DIV
4829><HR><DIV
4830CLASS="REFSECT2"
4831><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004832NAME="AEN1104"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004833></A
4834><H3
4835><A
4836NAME="XMLEXTERNALENTITYLOADER"
4837></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004838>xmlExternalEntityLoader ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004839><TABLE
4840BORDER="0"
4841BGCOLOR="#D6E8FF"
4842WIDTH="100%"
4843CELLPADDING="6"
4844><TR
4845><TD
4846><PRE
4847CLASS="PROGRAMLISTING"
4848><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004849HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004850>xmlParserInputPtr</A
4851> (*xmlExternalEntityLoader)
4852 (const char *URL,
4853 const char *ID,
4854 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004855HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004856>xmlParserCtxtPtr</A
4857> context);</PRE
4858></TD
4859></TR
4860></TABLE
4861><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004862>External entity loaders types</P
4863><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004864></P
4865><DIV
4866CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004867><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004868NAME="AEN1112"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004869></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004870><P
4871></P
4872><TABLE
4873BORDER="0"
4874WIDTH="100%"
4875BGCOLOR="#FFD0D0"
4876CELLSPACING="0"
4877CELLPADDING="4"
4878CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004879><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004880><TR
4881><TD
4882WIDTH="20%"
4883ALIGN="RIGHT"
4884VALIGN="TOP"
4885><TT
4886CLASS="PARAMETER"
4887><I
4888>URL</I
4889></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004890>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004891><TD
4892WIDTH="80%"
4893ALIGN="LEFT"
4894VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004895> The System ID of the resource requested</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004896></TR
4897><TR
4898><TD
4899WIDTH="20%"
4900ALIGN="RIGHT"
4901VALIGN="TOP"
4902><TT
4903CLASS="PARAMETER"
4904><I
4905>ID</I
4906></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004907>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004908><TD
4909WIDTH="80%"
4910ALIGN="LEFT"
4911VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004912> The Public ID of the resource requested</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004913></TR
4914><TR
4915><TD
4916WIDTH="20%"
4917ALIGN="RIGHT"
4918VALIGN="TOP"
4919><TT
4920CLASS="PARAMETER"
4921><I
4922>context</I
4923></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004924>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004925><TD
4926WIDTH="80%"
4927ALIGN="LEFT"
4928VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004929> the XML parser context </TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004930></TR
4931><TR
4932><TD
4933WIDTH="20%"
4934ALIGN="RIGHT"
4935VALIGN="TOP"
4936><I
4937CLASS="EMPHASIS"
4938>Returns</I
4939> :</TD
4940><TD
4941WIDTH="80%"
4942ALIGN="LEFT"
4943VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004944>the entity input parser</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004945></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004946></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004947></TABLE
4948><P
4949></P
4950></DIV
4951></DIV
4952><HR><DIV
4953CLASS="REFSECT2"
4954><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004955NAME="AEN1133"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004956></A
4957><H3
4958><A
4959NAME="XMLSUBSTITUTEENTITIESDEFAULTVALUE"
4960></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004961>xmlSubstituteEntitiesDefaultValue</H3
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004962><TABLE
4963BORDER="0"
4964BGCOLOR="#D6E8FF"
4965WIDTH="100%"
4966CELLPADDING="6"
4967><TR
4968><TD
4969><PRE
4970CLASS="PROGRAMLISTING"
Daniel Veillard52dcab32001-10-30 12:51:17 +00004971>#define xmlSubstituteEntitiesDefaultValue</PRE
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004972></TD
4973></TR
4974></TABLE
4975><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00004976>global variable controlling the entity substitution default behavior</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00004977><P
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004978></P
4979></DIV
4980><HR><DIV
4981CLASS="REFSECT2"
4982><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004983NAME="AEN1139"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004984></A
4985><H3
4986><A
4987NAME="XMLINITPARSER"
4988></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004989>xmlInitParser ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004990><TABLE
4991BORDER="0"
4992BGCOLOR="#D6E8FF"
4993WIDTH="100%"
4994CELLPADDING="6"
4995><TR
4996><TD
4997><PRE
4998CLASS="PROGRAMLISTING"
4999>void xmlInitParser (void);</PRE
5000></TD
5001></TR
5002></TABLE
5003><P
5004>Initialization function for the XML parser.
5005This is not reentrant. Call once before processing in case of
5006use in multithreaded programs.</P
5007><P
5008></P
5009></DIV
5010><HR><DIV
5011CLASS="REFSECT2"
5012><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005013NAME="AEN1145"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005014></A
5015><H3
5016><A
5017NAME="XMLCLEANUPPARSER"
5018></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005019>xmlCleanupParser ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005020><TABLE
5021BORDER="0"
5022BGCOLOR="#D6E8FF"
5023WIDTH="100%"
5024CELLPADDING="6"
5025><TR
5026><TD
5027><PRE
5028CLASS="PROGRAMLISTING"
5029>void xmlCleanupParser (void);</PRE
5030></TD
5031></TR
5032></TABLE
5033><P
5034>Cleanup function for the XML parser. It tries to reclaim all
5035parsing related global memory allocated for the parser processing.
5036It doesn't deallocate any document related memory. Calling this
5037function should not prevent reusing the parser.</P
5038><P
5039></P
5040></DIV
5041><HR><DIV
5042CLASS="REFSECT2"
5043><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005044NAME="AEN1151"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005045></A
5046><H3
5047><A
5048NAME="XMLPARSERINPUTREAD"
5049></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005050>xmlParserInputRead ()</H3
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005051><TABLE
5052BORDER="0"
5053BGCOLOR="#D6E8FF"
5054WIDTH="100%"
5055CELLPADDING="6"
5056><TR
5057><TD
5058><PRE
5059CLASS="PROGRAMLISTING"
5060>int xmlParserInputRead (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00005061HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005062>xmlParserInputPtr</A
5063> in,
5064 int len);</PRE
5065></TD
5066></TR
5067></TABLE
5068><P
5069>This function refresh the input for the parser. It doesn't try to
5070preserve pointers to the input buffer, and discard already read data</P
5071><P
5072></P
5073><DIV
5074CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005075><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005076NAME="AEN1158"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005077></A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005078><P
5079></P
5080><TABLE
5081BORDER="0"
5082WIDTH="100%"
5083BGCOLOR="#FFD0D0"
5084CELLSPACING="0"
5085CELLPADDING="4"
5086CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005087><TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005088><TR
5089><TD
5090WIDTH="20%"
5091ALIGN="RIGHT"
5092VALIGN="TOP"
5093><TT
5094CLASS="PARAMETER"
5095><I
5096>in</I
5097></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005098>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005099><TD
5100WIDTH="80%"
5101ALIGN="LEFT"
5102VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005103> an XML parser input</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005104></TR
5105><TR
5106><TD
5107WIDTH="20%"
5108ALIGN="RIGHT"
5109VALIGN="TOP"
5110><TT
5111CLASS="PARAMETER"
5112><I
5113>len</I
5114></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005115>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005116><TD
5117WIDTH="80%"
5118ALIGN="LEFT"
5119VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005120> an indicative size for the lookahead</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005121></TR
5122><TR
5123><TD
5124WIDTH="20%"
5125ALIGN="RIGHT"
5126VALIGN="TOP"
5127><I
5128CLASS="EMPHASIS"
5129>Returns</I
5130> :</TD
5131><TD
5132WIDTH="80%"
5133ALIGN="LEFT"
5134VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005135>the number of xmlChars read, or -1 in case of error, 0 indicate the
5136end of this entity</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005137></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005138></TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005139></TABLE
5140><P
5141></P
5142></DIV
5143></DIV
5144><HR><DIV
5145CLASS="REFSECT2"
5146><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005147NAME="AEN1175"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005148></A
5149><H3
5150><A
5151NAME="XMLPARSERINPUTGROW"
5152></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005153>xmlParserInputGrow ()</H3
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005154><TABLE
5155BORDER="0"
5156BGCOLOR="#D6E8FF"
5157WIDTH="100%"
5158CELLPADDING="6"
5159><TR
5160><TD
5161><PRE
5162CLASS="PROGRAMLISTING"
5163>int xmlParserInputGrow (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00005164HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005165>xmlParserInputPtr</A
5166> in,
5167 int len);</PRE
5168></TD
5169></TR
5170></TABLE
5171><P
5172>This function increase the input for the parser. It tries to
5173preserve pointers to the input buffer, and keep already read data</P
5174><P
5175></P
5176><DIV
5177CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005178><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005179NAME="AEN1182"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005180></A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005181><P
5182></P
5183><TABLE
5184BORDER="0"
5185WIDTH="100%"
5186BGCOLOR="#FFD0D0"
5187CELLSPACING="0"
5188CELLPADDING="4"
5189CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005190><TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005191><TR
5192><TD
5193WIDTH="20%"
5194ALIGN="RIGHT"
5195VALIGN="TOP"
5196><TT
5197CLASS="PARAMETER"
5198><I
5199>in</I
5200></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005201>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005202><TD
5203WIDTH="80%"
5204ALIGN="LEFT"
5205VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005206> an XML parser input</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005207></TR
5208><TR
5209><TD
5210WIDTH="20%"
5211ALIGN="RIGHT"
5212VALIGN="TOP"
5213><TT
5214CLASS="PARAMETER"
5215><I
5216>len</I
5217></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005218>&nbsp;:</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005219><TD
5220WIDTH="80%"
5221ALIGN="LEFT"
5222VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005223> an indicative size for the lookahead</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005224></TR
5225><TR
5226><TD
5227WIDTH="20%"
5228ALIGN="RIGHT"
5229VALIGN="TOP"
5230><I
5231CLASS="EMPHASIS"
5232>Returns</I
5233> :</TD
5234><TD
5235WIDTH="80%"
5236ALIGN="LEFT"
5237VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005238>the number of xmlChars read, or -1 in case of error, 0 indicate the
5239end of this entity</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005240></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005241></TBODY
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005242></TABLE
5243><P
5244></P
5245></DIV
5246></DIV
5247><HR><DIV
5248CLASS="REFSECT2"
5249><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005250NAME="AEN1199"
Daniel Veillard35925471999-02-25 08:46:07 +00005251></A
5252><H3
5253><A
5254NAME="XMLSTRDUP"
5255></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005256>xmlStrdup ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005257><TABLE
5258BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005259BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005260WIDTH="100%"
5261CELLPADDING="6"
5262><TR
5263><TD
5264><PRE
5265CLASS="PROGRAMLISTING"
5266><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005267HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005268>xmlChar</A
5269>* xmlStrdup (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005270HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005271>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005272> *cur);</PRE
5273></TD
5274></TR
5275></TABLE
5276><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005277>a strdup for array of xmlChar's. Since they are supposed to be
5278encoded in UTF-8 or an encoding with 8bit based chars, we assume
5279a termination mark of '0'.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005280><P
5281></P
5282><DIV
5283CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005284><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005285NAME="AEN1207"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005286></A
Daniel Veillard35925471999-02-25 08:46:07 +00005287><P
5288></P
5289><TABLE
5290BORDER="0"
5291WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005292BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005293CELLSPACING="0"
5294CELLPADDING="4"
5295CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005296><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005297><TR
5298><TD
5299WIDTH="20%"
5300ALIGN="RIGHT"
5301VALIGN="TOP"
5302><TT
5303CLASS="PARAMETER"
5304><I
5305>cur</I
5306></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005307>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005308><TD
5309WIDTH="80%"
5310ALIGN="LEFT"
5311VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005312> the input xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005313></TR
5314><TR
5315><TD
5316WIDTH="20%"
5317ALIGN="RIGHT"
5318VALIGN="TOP"
5319><I
5320CLASS="EMPHASIS"
5321>Returns</I
5322> :</TD
5323><TD
5324WIDTH="80%"
5325ALIGN="LEFT"
5326VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005327>a new xmlChar * or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005328></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005329></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005330></TABLE
5331><P
5332></P
5333></DIV
5334></DIV
5335><HR><DIV
5336CLASS="REFSECT2"
5337><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005338NAME="AEN1220"
Daniel Veillard35925471999-02-25 08:46:07 +00005339></A
5340><H3
5341><A
5342NAME="XMLSTRNDUP"
5343></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005344>xmlStrndup ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005345><TABLE
5346BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005347BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005348WIDTH="100%"
5349CELLPADDING="6"
5350><TR
5351><TD
5352><PRE
5353CLASS="PROGRAMLISTING"
5354><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005355HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005356>xmlChar</A
5357>* xmlStrndup (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005358HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005359>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005360> *cur,
5361 int len);</PRE
5362></TD
5363></TR
5364></TABLE
5365><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005366>a strndup for array of xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00005367><P
5368></P
5369><DIV
5370CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005371><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005372NAME="AEN1228"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005373></A
Daniel Veillard35925471999-02-25 08:46:07 +00005374><P
5375></P
5376><TABLE
5377BORDER="0"
5378WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005379BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005380CELLSPACING="0"
5381CELLPADDING="4"
5382CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005383><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005384><TR
5385><TD
5386WIDTH="20%"
5387ALIGN="RIGHT"
5388VALIGN="TOP"
5389><TT
5390CLASS="PARAMETER"
5391><I
5392>cur</I
5393></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005394>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005395><TD
5396WIDTH="80%"
5397ALIGN="LEFT"
5398VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005399> the input xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005400></TR
5401><TR
5402><TD
5403WIDTH="20%"
5404ALIGN="RIGHT"
5405VALIGN="TOP"
5406><TT
5407CLASS="PARAMETER"
5408><I
5409>len</I
5410></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005411>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005412><TD
5413WIDTH="80%"
5414ALIGN="LEFT"
5415VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005416> the len of <TT
5417CLASS="PARAMETER"
5418><I
5419>cur</I
5420></TT
5421></TD
Daniel Veillard35925471999-02-25 08:46:07 +00005422></TR
5423><TR
5424><TD
5425WIDTH="20%"
5426ALIGN="RIGHT"
5427VALIGN="TOP"
5428><I
5429CLASS="EMPHASIS"
5430>Returns</I
5431> :</TD
5432><TD
5433WIDTH="80%"
5434ALIGN="LEFT"
5435VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005436>a new xmlChar * or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005437></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005438></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005439></TABLE
5440><P
5441></P
5442></DIV
5443></DIV
5444><HR><DIV
5445CLASS="REFSECT2"
5446><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005447NAME="AEN1246"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005448></A
5449><H3
5450><A
5451NAME="XMLCHARSTRNDUP"
5452></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005453>xmlCharStrndup ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00005454><TABLE
5455BORDER="0"
5456BGCOLOR="#D6E8FF"
5457WIDTH="100%"
5458CELLPADDING="6"
5459><TR
5460><TD
5461><PRE
5462CLASS="PROGRAMLISTING"
5463><A
5464HREF="libxml-tree.html#XMLCHAR"
5465>xmlChar</A
5466>* xmlCharStrndup (const char *cur,
5467 int len);</PRE
5468></TD
5469></TR
5470></TABLE
5471><P
5472>a strndup for char's to xmlChar's</P
5473><P
5474></P
5475><DIV
5476CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005477><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005478NAME="AEN1253"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005479></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005480><P
5481></P
5482><TABLE
5483BORDER="0"
5484WIDTH="100%"
5485BGCOLOR="#FFD0D0"
5486CELLSPACING="0"
5487CELLPADDING="4"
5488CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005489><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005490><TR
5491><TD
5492WIDTH="20%"
5493ALIGN="RIGHT"
5494VALIGN="TOP"
5495><TT
5496CLASS="PARAMETER"
5497><I
5498>cur</I
5499></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005500>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005501><TD
5502WIDTH="80%"
5503ALIGN="LEFT"
5504VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005505> the input char *</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005506></TR
5507><TR
5508><TD
5509WIDTH="20%"
5510ALIGN="RIGHT"
5511VALIGN="TOP"
5512><TT
5513CLASS="PARAMETER"
5514><I
5515>len</I
5516></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005517>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005518><TD
5519WIDTH="80%"
5520ALIGN="LEFT"
5521VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005522> the len of <TT
5523CLASS="PARAMETER"
5524><I
5525>cur</I
5526></TT
5527></TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005528></TR
5529><TR
5530><TD
5531WIDTH="20%"
5532ALIGN="RIGHT"
5533VALIGN="TOP"
5534><I
5535CLASS="EMPHASIS"
5536>Returns</I
5537> :</TD
5538><TD
5539WIDTH="80%"
5540ALIGN="LEFT"
5541VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005542>a new xmlChar * or NULL</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005543></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005544></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005545></TABLE
5546><P
5547></P
5548></DIV
5549></DIV
5550><HR><DIV
5551CLASS="REFSECT2"
5552><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005553NAME="AEN1271"
Daniel Veillarda41123c2001-04-22 19:31:20 +00005554></A
5555><H3
5556><A
5557NAME="XMLCHARSTRDUP"
5558></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005559>xmlCharStrdup ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00005560><TABLE
5561BORDER="0"
5562BGCOLOR="#D6E8FF"
5563WIDTH="100%"
5564CELLPADDING="6"
5565><TR
5566><TD
5567><PRE
5568CLASS="PROGRAMLISTING"
5569><A
5570HREF="libxml-tree.html#XMLCHAR"
5571>xmlChar</A
5572>* xmlCharStrdup (const char *cur);</PRE
5573></TD
5574></TR
5575></TABLE
5576><P
5577>a strdup for char's to xmlChar's</P
5578><P
5579></P
5580><DIV
5581CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005582><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005583NAME="AEN1278"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005584></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00005585><P
5586></P
5587><TABLE
5588BORDER="0"
5589WIDTH="100%"
5590BGCOLOR="#FFD0D0"
5591CELLSPACING="0"
5592CELLPADDING="4"
5593CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005594><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005595><TR
5596><TD
5597WIDTH="20%"
5598ALIGN="RIGHT"
5599VALIGN="TOP"
5600><TT
5601CLASS="PARAMETER"
5602><I
5603>cur</I
5604></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005605>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005606><TD
5607WIDTH="80%"
5608ALIGN="LEFT"
5609VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005610> the input char *</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005611></TR
5612><TR
5613><TD
5614WIDTH="20%"
5615ALIGN="RIGHT"
5616VALIGN="TOP"
5617><I
5618CLASS="EMPHASIS"
5619>Returns</I
5620> :</TD
5621><TD
5622WIDTH="80%"
5623ALIGN="LEFT"
5624VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005625>a new xmlChar * or NULL</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00005626></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005627></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00005628></TABLE
5629><P
5630></P
5631></DIV
5632></DIV
5633><HR><DIV
5634CLASS="REFSECT2"
5635><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005636NAME="AEN1291"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005637></A
5638><H3
5639><A
5640NAME="XMLSTRSUB"
5641></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005642>xmlStrsub ()</H3
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005643><TABLE
5644BORDER="0"
5645BGCOLOR="#D6E8FF"
5646WIDTH="100%"
5647CELLPADDING="6"
5648><TR
5649><TD
5650><PRE
5651CLASS="PROGRAMLISTING"
5652><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005653HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005654>xmlChar</A
5655>* xmlStrsub (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005656HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005657>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005658> *str,
5659 int start,
5660 int len);</PRE
5661></TD
5662></TR
5663></TABLE
5664><P
5665>Extract a substring of a given string</P
5666><P
5667></P
5668><DIV
5669CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005670><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005671NAME="AEN1299"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005672></A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005673><P
5674></P
5675><TABLE
5676BORDER="0"
5677WIDTH="100%"
5678BGCOLOR="#FFD0D0"
5679CELLSPACING="0"
5680CELLPADDING="4"
5681CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005682><TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005683><TR
5684><TD
5685WIDTH="20%"
5686ALIGN="RIGHT"
5687VALIGN="TOP"
5688><TT
5689CLASS="PARAMETER"
5690><I
5691>str</I
5692></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005693>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005694><TD
5695WIDTH="80%"
5696ALIGN="LEFT"
5697VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005698> the xmlChar * array (haystack)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005699></TR
5700><TR
5701><TD
5702WIDTH="20%"
5703ALIGN="RIGHT"
5704VALIGN="TOP"
5705><TT
5706CLASS="PARAMETER"
5707><I
5708>start</I
5709></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005710>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005711><TD
5712WIDTH="80%"
5713ALIGN="LEFT"
5714VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005715> the index of the first char (zero based)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005716></TR
5717><TR
5718><TD
5719WIDTH="20%"
5720ALIGN="RIGHT"
5721VALIGN="TOP"
5722><TT
5723CLASS="PARAMETER"
5724><I
5725>len</I
5726></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005727>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005728><TD
5729WIDTH="80%"
5730ALIGN="LEFT"
5731VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005732> the length of the substring</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005733></TR
5734><TR
5735><TD
5736WIDTH="20%"
5737ALIGN="RIGHT"
5738VALIGN="TOP"
5739><I
5740CLASS="EMPHASIS"
5741>Returns</I
5742> :</TD
5743><TD
5744WIDTH="80%"
5745ALIGN="LEFT"
5746VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005747>the xmlChar * for the first occurrence or NULL.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005748></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005749></TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005750></TABLE
5751><P
5752></P
5753></DIV
5754></DIV
5755><HR><DIV
5756CLASS="REFSECT2"
5757><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005758NAME="AEN1320"
Daniel Veillard35925471999-02-25 08:46:07 +00005759></A
5760><H3
5761><A
5762NAME="XMLSTRCHR"
5763></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005764>xmlStrchr ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005765><TABLE
5766BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005767BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005768WIDTH="100%"
5769CELLPADDING="6"
5770><TR
5771><TD
5772><PRE
5773CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005774>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005775HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005776>xmlChar</A
5777>* xmlStrchr (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005778HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005779>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005780> *str,
5781 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005782HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005783>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005784> val);</PRE
5785></TD
5786></TR
5787></TABLE
5788><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005789>a strchr for xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00005790><P
5791></P
5792><DIV
5793CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005794><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005795NAME="AEN1329"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005796></A
Daniel Veillard35925471999-02-25 08:46:07 +00005797><P
5798></P
5799><TABLE
5800BORDER="0"
5801WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005802BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005803CELLSPACING="0"
5804CELLPADDING="4"
5805CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005806><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005807><TR
5808><TD
5809WIDTH="20%"
5810ALIGN="RIGHT"
5811VALIGN="TOP"
5812><TT
5813CLASS="PARAMETER"
5814><I
5815>str</I
5816></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005817>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005818><TD
5819WIDTH="80%"
5820ALIGN="LEFT"
5821VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005822> the xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005823></TR
5824><TR
5825><TD
5826WIDTH="20%"
5827ALIGN="RIGHT"
5828VALIGN="TOP"
5829><TT
5830CLASS="PARAMETER"
5831><I
5832>val</I
5833></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005834>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005835><TD
5836WIDTH="80%"
5837ALIGN="LEFT"
5838VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005839> the xmlChar to search</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005840></TR
5841><TR
5842><TD
5843WIDTH="20%"
5844ALIGN="RIGHT"
5845VALIGN="TOP"
5846><I
5847CLASS="EMPHASIS"
5848>Returns</I
5849> :</TD
5850><TD
5851WIDTH="80%"
5852ALIGN="LEFT"
5853VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005854>the xmlChar * for the first occurrence or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005855></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005856></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005857></TABLE
5858><P
5859></P
5860></DIV
5861></DIV
5862><HR><DIV
5863CLASS="REFSECT2"
5864><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005865NAME="AEN1346"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005866></A
5867><H3
5868><A
5869NAME="XMLSTRSTR"
5870></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005871>xmlStrstr ()</H3
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005872><TABLE
5873BORDER="0"
5874BGCOLOR="#D6E8FF"
5875WIDTH="100%"
5876CELLPADDING="6"
5877><TR
5878><TD
5879><PRE
5880CLASS="PROGRAMLISTING"
5881>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005882HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005883>xmlChar</A
5884>* xmlStrstr (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005885HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005886>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005887> *str,
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005888 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005889HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005890>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005891> *val);</PRE
5892></TD
5893></TR
5894></TABLE
5895><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005896>a strstr for xmlChar's</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005897><P
5898></P
5899><DIV
5900CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005901><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005902NAME="AEN1355"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005903></A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005904><P
5905></P
5906><TABLE
5907BORDER="0"
5908WIDTH="100%"
5909BGCOLOR="#FFD0D0"
5910CELLSPACING="0"
5911CELLPADDING="4"
5912CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005913><TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005914><TR
5915><TD
5916WIDTH="20%"
5917ALIGN="RIGHT"
5918VALIGN="TOP"
5919><TT
5920CLASS="PARAMETER"
5921><I
5922>str</I
5923></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005924>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005925><TD
5926WIDTH="80%"
5927ALIGN="LEFT"
5928VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005929> the xmlChar * array (haystack)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005930></TR
5931><TR
5932><TD
5933WIDTH="20%"
5934ALIGN="RIGHT"
5935VALIGN="TOP"
5936><TT
5937CLASS="PARAMETER"
5938><I
5939>val</I
5940></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005941>&nbsp;:</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005942><TD
5943WIDTH="80%"
5944ALIGN="LEFT"
5945VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005946> the xmlChar to search (needle)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005947></TR
5948><TR
5949><TD
5950WIDTH="20%"
5951ALIGN="RIGHT"
5952VALIGN="TOP"
5953><I
5954CLASS="EMPHASIS"
5955>Returns</I
5956> :</TD
5957><TD
5958WIDTH="80%"
5959ALIGN="LEFT"
5960VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005961>the xmlChar * for the first occurrence or NULL.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005962></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005963></TBODY
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005964></TABLE
5965><P
5966></P
5967></DIV
5968></DIV
5969><HR><DIV
5970CLASS="REFSECT2"
5971><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00005972NAME="AEN1372"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005973></A
5974><H3
5975><A
5976NAME="XMLSTRCASESTR"
5977></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005978>xmlStrcasestr ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005979><TABLE
5980BORDER="0"
5981BGCOLOR="#D6E8FF"
5982WIDTH="100%"
5983CELLPADDING="6"
5984><TR
5985><TD
5986><PRE
5987CLASS="PROGRAMLISTING"
5988>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005989HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005990>xmlChar</A
5991>* xmlStrcasestr (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005992HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005993>xmlChar</A
5994> *str,
5995 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005996HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005997>xmlChar</A
5998> *val);</PRE
5999></TD
6000></TR
6001></TABLE
6002><P
6003>a case-ignoring strstr for xmlChar's</P
6004><P
6005></P
6006><DIV
6007CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006008><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006009NAME="AEN1381"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006010></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006011><P
6012></P
6013><TABLE
6014BORDER="0"
6015WIDTH="100%"
6016BGCOLOR="#FFD0D0"
6017CELLSPACING="0"
6018CELLPADDING="4"
6019CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006020><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006021><TR
6022><TD
6023WIDTH="20%"
6024ALIGN="RIGHT"
6025VALIGN="TOP"
6026><TT
6027CLASS="PARAMETER"
6028><I
6029>str</I
6030></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006031>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006032><TD
6033WIDTH="80%"
6034ALIGN="LEFT"
6035VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006036> the xmlChar * array (haystack)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006037></TR
6038><TR
6039><TD
6040WIDTH="20%"
6041ALIGN="RIGHT"
6042VALIGN="TOP"
6043><TT
6044CLASS="PARAMETER"
6045><I
6046>val</I
6047></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006048>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006049><TD
6050WIDTH="80%"
6051ALIGN="LEFT"
6052VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006053> the xmlChar to search (needle)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006054></TR
6055><TR
6056><TD
6057WIDTH="20%"
6058ALIGN="RIGHT"
6059VALIGN="TOP"
6060><I
6061CLASS="EMPHASIS"
6062>Returns</I
6063> :</TD
6064><TD
6065WIDTH="80%"
6066ALIGN="LEFT"
6067VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00006068>the xmlChar * for the first occurrence or NULL.</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006069></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006070></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006071></TABLE
6072><P
6073></P
6074></DIV
6075></DIV
6076><HR><DIV
6077CLASS="REFSECT2"
6078><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006079NAME="AEN1398"
Daniel Veillard35925471999-02-25 08:46:07 +00006080></A
6081><H3
6082><A
6083NAME="XMLSTRCMP"
6084></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006085>xmlStrcmp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006086><TABLE
6087BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006088BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006089WIDTH="100%"
6090CELLPADDING="6"
6091><TR
6092><TD
6093><PRE
6094CLASS="PROGRAMLISTING"
6095>int xmlStrcmp (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006096HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006097>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006098> *str1,
6099 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006100HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006101>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006102> *str2);</PRE
6103></TD
6104></TR
6105></TABLE
6106><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006107>a strcmp for xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00006108><P
6109></P
6110><DIV
6111CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006112><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006113NAME="AEN1406"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006114></A
Daniel Veillard35925471999-02-25 08:46:07 +00006115><P
6116></P
6117><TABLE
6118BORDER="0"
6119WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006120BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006121CELLSPACING="0"
6122CELLPADDING="4"
6123CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006124><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006125><TR
6126><TD
6127WIDTH="20%"
6128ALIGN="RIGHT"
6129VALIGN="TOP"
6130><TT
6131CLASS="PARAMETER"
6132><I
6133>str1</I
6134></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006135>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006136><TD
6137WIDTH="80%"
6138ALIGN="LEFT"
6139VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006140> the first xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006141></TR
6142><TR
6143><TD
6144WIDTH="20%"
6145ALIGN="RIGHT"
6146VALIGN="TOP"
6147><TT
6148CLASS="PARAMETER"
6149><I
6150>str2</I
6151></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006152>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006153><TD
6154WIDTH="80%"
6155ALIGN="LEFT"
6156VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006157> the second xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006158></TR
6159><TR
6160><TD
6161WIDTH="20%"
6162ALIGN="RIGHT"
6163VALIGN="TOP"
6164><I
6165CLASS="EMPHASIS"
6166>Returns</I
6167> :</TD
6168><TD
6169WIDTH="80%"
6170ALIGN="LEFT"
6171VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006172>the integer result of the comparison</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006173></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006174></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006175></TABLE
6176><P
6177></P
6178></DIV
6179></DIV
6180><HR><DIV
6181CLASS="REFSECT2"
6182><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006183NAME="AEN1423"
Daniel Veillard35925471999-02-25 08:46:07 +00006184></A
6185><H3
6186><A
6187NAME="XMLSTRNCMP"
6188></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006189>xmlStrncmp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006190><TABLE
6191BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006192BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006193WIDTH="100%"
6194CELLPADDING="6"
6195><TR
6196><TD
6197><PRE
6198CLASS="PROGRAMLISTING"
6199>int xmlStrncmp (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006200HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006201>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006202> *str1,
6203 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006204HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006205>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006206> *str2,
6207 int len);</PRE
6208></TD
6209></TR
6210></TABLE
6211><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006212>a strncmp for xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00006213><P
6214></P
6215><DIV
6216CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006217><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006218NAME="AEN1431"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006219></A
Daniel Veillard35925471999-02-25 08:46:07 +00006220><P
6221></P
6222><TABLE
6223BORDER="0"
6224WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006225BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006226CELLSPACING="0"
6227CELLPADDING="4"
6228CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006229><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006230><TR
6231><TD
6232WIDTH="20%"
6233ALIGN="RIGHT"
6234VALIGN="TOP"
6235><TT
6236CLASS="PARAMETER"
6237><I
6238>str1</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 first xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006246></TR
6247><TR
6248><TD
6249WIDTH="20%"
6250ALIGN="RIGHT"
6251VALIGN="TOP"
6252><TT
6253CLASS="PARAMETER"
6254><I
6255>str2</I
6256></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006257>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006258><TD
6259WIDTH="80%"
6260ALIGN="LEFT"
6261VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006262> the second xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006263></TR
6264><TR
6265><TD
6266WIDTH="20%"
6267ALIGN="RIGHT"
6268VALIGN="TOP"
6269><TT
6270CLASS="PARAMETER"
6271><I
6272>len</I
6273></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006274>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006275><TD
6276WIDTH="80%"
6277ALIGN="LEFT"
6278VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006279> the max comparison length</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006280></TR
6281><TR
6282><TD
6283WIDTH="20%"
6284ALIGN="RIGHT"
6285VALIGN="TOP"
6286><I
6287CLASS="EMPHASIS"
6288>Returns</I
6289> :</TD
6290><TD
6291WIDTH="80%"
6292ALIGN="LEFT"
6293VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006294>the integer result of the comparison</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006295></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006296></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006297></TABLE
6298><P
6299></P
6300></DIV
6301></DIV
6302><HR><DIV
6303CLASS="REFSECT2"
6304><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006305NAME="AEN1452"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006306></A
6307><H3
6308><A
6309NAME="XMLSTRCASECMP"
6310></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006311>xmlStrcasecmp ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006312><TABLE
6313BORDER="0"
6314BGCOLOR="#D6E8FF"
6315WIDTH="100%"
6316CELLPADDING="6"
6317><TR
6318><TD
6319><PRE
6320CLASS="PROGRAMLISTING"
6321>int xmlStrcasecmp (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006322HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006323>xmlChar</A
6324> *str1,
6325 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006326HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006327>xmlChar</A
6328> *str2);</PRE
6329></TD
6330></TR
6331></TABLE
6332><P
6333>a strcasecmp for xmlChar's</P
6334><P
6335></P
6336><DIV
6337CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006338><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006339NAME="AEN1460"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006340></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006341><P
6342></P
6343><TABLE
6344BORDER="0"
6345WIDTH="100%"
6346BGCOLOR="#FFD0D0"
6347CELLSPACING="0"
6348CELLPADDING="4"
6349CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006350><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006351><TR
6352><TD
6353WIDTH="20%"
6354ALIGN="RIGHT"
6355VALIGN="TOP"
6356><TT
6357CLASS="PARAMETER"
6358><I
6359>str1</I
6360></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006361>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006362><TD
6363WIDTH="80%"
6364ALIGN="LEFT"
6365VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006366> the first xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006367></TR
6368><TR
6369><TD
6370WIDTH="20%"
6371ALIGN="RIGHT"
6372VALIGN="TOP"
6373><TT
6374CLASS="PARAMETER"
6375><I
6376>str2</I
6377></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006378>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006379><TD
6380WIDTH="80%"
6381ALIGN="LEFT"
6382VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006383> the second xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006384></TR
6385><TR
6386><TD
6387WIDTH="20%"
6388ALIGN="RIGHT"
6389VALIGN="TOP"
6390><I
6391CLASS="EMPHASIS"
6392>Returns</I
6393> :</TD
6394><TD
6395WIDTH="80%"
6396ALIGN="LEFT"
6397VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006398>the integer result of the comparison</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006399></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006400></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006401></TABLE
6402><P
6403></P
6404></DIV
6405></DIV
6406><HR><DIV
6407CLASS="REFSECT2"
6408><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006409NAME="AEN1477"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006410></A
6411><H3
6412><A
6413NAME="XMLSTRNCASECMP"
6414></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006415>xmlStrncasecmp ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006416><TABLE
6417BORDER="0"
6418BGCOLOR="#D6E8FF"
6419WIDTH="100%"
6420CELLPADDING="6"
6421><TR
6422><TD
6423><PRE
6424CLASS="PROGRAMLISTING"
6425>int xmlStrncasecmp (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006426HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006427>xmlChar</A
6428> *str1,
6429 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006430HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006431>xmlChar</A
6432> *str2,
6433 int len);</PRE
6434></TD
6435></TR
6436></TABLE
6437><P
6438>a strncasecmp for xmlChar's</P
6439><P
6440></P
6441><DIV
6442CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006443><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006444NAME="AEN1485"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006445></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006446><P
6447></P
6448><TABLE
6449BORDER="0"
6450WIDTH="100%"
6451BGCOLOR="#FFD0D0"
6452CELLSPACING="0"
6453CELLPADDING="4"
6454CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006455><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006456><TR
6457><TD
6458WIDTH="20%"
6459ALIGN="RIGHT"
6460VALIGN="TOP"
6461><TT
6462CLASS="PARAMETER"
6463><I
6464>str1</I
6465></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006466>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006467><TD
6468WIDTH="80%"
6469ALIGN="LEFT"
6470VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006471> the first xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006472></TR
6473><TR
6474><TD
6475WIDTH="20%"
6476ALIGN="RIGHT"
6477VALIGN="TOP"
6478><TT
6479CLASS="PARAMETER"
6480><I
6481>str2</I
6482></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006483>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006484><TD
6485WIDTH="80%"
6486ALIGN="LEFT"
6487VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006488> the second xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006489></TR
6490><TR
6491><TD
6492WIDTH="20%"
6493ALIGN="RIGHT"
6494VALIGN="TOP"
6495><TT
6496CLASS="PARAMETER"
6497><I
6498>len</I
6499></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006500>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006501><TD
6502WIDTH="80%"
6503ALIGN="LEFT"
6504VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006505> the max comparison length</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006506></TR
6507><TR
6508><TD
6509WIDTH="20%"
6510ALIGN="RIGHT"
6511VALIGN="TOP"
6512><I
6513CLASS="EMPHASIS"
6514>Returns</I
6515> :</TD
6516><TD
6517WIDTH="80%"
6518ALIGN="LEFT"
6519VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006520>the integer result of the comparison</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006521></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006522></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006523></TABLE
6524><P
6525></P
6526></DIV
6527></DIV
6528><HR><DIV
6529CLASS="REFSECT2"
6530><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006531NAME="AEN1506"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006532></A
6533><H3
6534><A
6535NAME="XMLSTREQUAL"
6536></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006537>xmlStrEqual ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006538><TABLE
6539BORDER="0"
6540BGCOLOR="#D6E8FF"
6541WIDTH="100%"
6542CELLPADDING="6"
6543><TR
6544><TD
6545><PRE
6546CLASS="PROGRAMLISTING"
6547>int xmlStrEqual (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006548HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006549>xmlChar</A
6550> *str1,
6551 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006552HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006553>xmlChar</A
6554> *str2);</PRE
6555></TD
6556></TR
6557></TABLE
6558><P
6559>Check if both string are equal of have same content
6560Should be a bit more readable and faster than <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006561HREF="libxml-parser.html#XMLSTREQUAL"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006562>xmlStrEqual</A
6563>()</P
6564><P
6565></P
6566><DIV
6567CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006568><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006569NAME="AEN1515"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006570></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006571><P
6572></P
6573><TABLE
6574BORDER="0"
6575WIDTH="100%"
6576BGCOLOR="#FFD0D0"
6577CELLSPACING="0"
6578CELLPADDING="4"
6579CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006580><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006581><TR
6582><TD
6583WIDTH="20%"
6584ALIGN="RIGHT"
6585VALIGN="TOP"
6586><TT
6587CLASS="PARAMETER"
6588><I
6589>str1</I
6590></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006591>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006592><TD
6593WIDTH="80%"
6594ALIGN="LEFT"
6595VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006596> the first xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006597></TR
6598><TR
6599><TD
6600WIDTH="20%"
6601ALIGN="RIGHT"
6602VALIGN="TOP"
6603><TT
6604CLASS="PARAMETER"
6605><I
6606>str2</I
6607></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006608>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006609><TD
6610WIDTH="80%"
6611ALIGN="LEFT"
6612VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006613> the second xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006614></TR
6615><TR
6616><TD
6617WIDTH="20%"
6618ALIGN="RIGHT"
6619VALIGN="TOP"
6620><I
6621CLASS="EMPHASIS"
6622>Returns</I
6623> :</TD
6624><TD
6625WIDTH="80%"
6626ALIGN="LEFT"
6627VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006628>1 if they are equal, 0 if they are different</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006629></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006630></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006631></TABLE
6632><P
6633></P
6634></DIV
6635></DIV
6636><HR><DIV
6637CLASS="REFSECT2"
6638><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006639NAME="AEN1532"
Daniel Veillard35925471999-02-25 08:46:07 +00006640></A
6641><H3
6642><A
6643NAME="XMLSTRLEN"
6644></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006645>xmlStrlen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006646><TABLE
6647BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006648BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006649WIDTH="100%"
6650CELLPADDING="6"
6651><TR
6652><TD
6653><PRE
6654CLASS="PROGRAMLISTING"
6655>int xmlStrlen (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006656HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006657>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006658> *str);</PRE
6659></TD
6660></TR
6661></TABLE
6662><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006663>length of a xmlChar's string</P
Daniel Veillard35925471999-02-25 08:46:07 +00006664><P
6665></P
6666><DIV
6667CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006668><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006669NAME="AEN1539"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006670></A
Daniel Veillard35925471999-02-25 08:46:07 +00006671><P
6672></P
6673><TABLE
6674BORDER="0"
6675WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006676BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006677CELLSPACING="0"
6678CELLPADDING="4"
6679CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006680><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006681><TR
6682><TD
6683WIDTH="20%"
6684ALIGN="RIGHT"
6685VALIGN="TOP"
6686><TT
6687CLASS="PARAMETER"
6688><I
6689>str</I
6690></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006691>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006692><TD
6693WIDTH="80%"
6694ALIGN="LEFT"
6695VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006696> the xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006697></TR
6698><TR
6699><TD
6700WIDTH="20%"
6701ALIGN="RIGHT"
6702VALIGN="TOP"
6703><I
6704CLASS="EMPHASIS"
6705>Returns</I
6706> :</TD
6707><TD
6708WIDTH="80%"
6709ALIGN="LEFT"
6710VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006711>the number of xmlChar contained in the ARRAY.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006712></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006713></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006714></TABLE
6715><P
6716></P
6717></DIV
6718></DIV
6719><HR><DIV
6720CLASS="REFSECT2"
6721><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006722NAME="AEN1552"
Daniel Veillard35925471999-02-25 08:46:07 +00006723></A
6724><H3
6725><A
6726NAME="XMLSTRCAT"
6727></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006728>xmlStrcat ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006729><TABLE
6730BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006731BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006732WIDTH="100%"
6733CELLPADDING="6"
6734><TR
6735><TD
6736><PRE
6737CLASS="PROGRAMLISTING"
6738><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006739HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006740>xmlChar</A
6741>* xmlStrcat (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006742HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006743>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006744> *cur,
6745 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006746HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006747>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006748> *add);</PRE
6749></TD
6750></TR
6751></TABLE
6752><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006753>a strcat for array of xmlChar's. Since they are supposed to be
6754encoded in UTF-8 or an encoding with 8bit based chars, we assume
6755a termination mark of '0'.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006756><P
6757></P
6758><DIV
6759CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006760><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006761NAME="AEN1561"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006762></A
Daniel Veillard35925471999-02-25 08:46:07 +00006763><P
6764></P
6765><TABLE
6766BORDER="0"
6767WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006768BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006769CELLSPACING="0"
6770CELLPADDING="4"
6771CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006772><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006773><TR
6774><TD
6775WIDTH="20%"
6776ALIGN="RIGHT"
6777VALIGN="TOP"
6778><TT
6779CLASS="PARAMETER"
6780><I
6781>cur</I
6782></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006783>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006784><TD
6785WIDTH="80%"
6786ALIGN="LEFT"
6787VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006788> the original xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006789></TR
6790><TR
6791><TD
6792WIDTH="20%"
6793ALIGN="RIGHT"
6794VALIGN="TOP"
6795><TT
6796CLASS="PARAMETER"
6797><I
6798>add</I
6799></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006800>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006801><TD
6802WIDTH="80%"
6803ALIGN="LEFT"
6804VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006805> the xmlChar * array added</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006806></TR
6807><TR
6808><TD
6809WIDTH="20%"
6810ALIGN="RIGHT"
6811VALIGN="TOP"
6812><I
6813CLASS="EMPHASIS"
6814>Returns</I
6815> :</TD
6816><TD
6817WIDTH="80%"
6818ALIGN="LEFT"
6819VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006820>a new xmlChar * containing the concatenated string.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006821></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006822></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006823></TABLE
6824><P
6825></P
6826></DIV
6827></DIV
6828><HR><DIV
6829CLASS="REFSECT2"
6830><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006831NAME="AEN1578"
Daniel Veillard35925471999-02-25 08:46:07 +00006832></A
6833><H3
6834><A
6835NAME="XMLSTRNCAT"
6836></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006837>xmlStrncat ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006838><TABLE
6839BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006840BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006841WIDTH="100%"
6842CELLPADDING="6"
6843><TR
6844><TD
6845><PRE
6846CLASS="PROGRAMLISTING"
6847><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006848HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006849>xmlChar</A
6850>* xmlStrncat (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006851HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006852>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006853> *cur,
6854 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006855HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006856>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006857> *add,
6858 int len);</PRE
6859></TD
6860></TR
6861></TABLE
6862><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00006863>a strncat for array of xmlChar's, it will extend <TT
6864CLASS="PARAMETER"
6865><I
6866>cur</I
6867></TT
6868> with the len
Daniel Veillardd194dd22001-02-14 10:37:43 +00006869first bytes of <TT
6870CLASS="PARAMETER"
6871><I
6872>add</I
6873></TT
6874>.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006875><P
6876></P
6877><DIV
6878CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006879><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006880NAME="AEN1589"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006881></A
Daniel Veillard35925471999-02-25 08:46:07 +00006882><P
6883></P
6884><TABLE
6885BORDER="0"
6886WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006887BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006888CELLSPACING="0"
6889CELLPADDING="4"
6890CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006891><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006892><TR
6893><TD
6894WIDTH="20%"
6895ALIGN="RIGHT"
6896VALIGN="TOP"
6897><TT
6898CLASS="PARAMETER"
6899><I
6900>cur</I
6901></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006902>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006903><TD
6904WIDTH="80%"
6905ALIGN="LEFT"
6906VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006907> the original xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006908></TR
6909><TR
6910><TD
6911WIDTH="20%"
6912ALIGN="RIGHT"
6913VALIGN="TOP"
6914><TT
6915CLASS="PARAMETER"
6916><I
6917>add</I
6918></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006919>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006920><TD
6921WIDTH="80%"
6922ALIGN="LEFT"
6923VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006924> the xmlChar * array added</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006925></TR
6926><TR
6927><TD
6928WIDTH="20%"
6929ALIGN="RIGHT"
6930VALIGN="TOP"
6931><TT
6932CLASS="PARAMETER"
6933><I
6934>len</I
6935></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006936>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006937><TD
6938WIDTH="80%"
6939ALIGN="LEFT"
6940VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006941> the length of <TT
6942CLASS="PARAMETER"
6943><I
6944>add</I
6945></TT
6946></TD
Daniel Veillard35925471999-02-25 08:46:07 +00006947></TR
6948><TR
6949><TD
6950WIDTH="20%"
6951ALIGN="RIGHT"
6952VALIGN="TOP"
6953><I
6954CLASS="EMPHASIS"
6955>Returns</I
6956> :</TD
6957><TD
6958WIDTH="80%"
6959ALIGN="LEFT"
6960VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006961>a new xmlChar *, the original <TT
6962CLASS="PARAMETER"
6963><I
6964>cur</I
6965></TT
6966> is reallocated if needed
6967and should not be freed</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006968></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006969></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006970></TABLE
6971><P
6972></P
6973></DIV
6974></DIV
6975><HR><DIV
6976CLASS="REFSECT2"
6977><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006978NAME="AEN1612"
Daniel Veillard35925471999-02-25 08:46:07 +00006979></A
6980><H3
6981><A
6982NAME="XMLPARSEDOC"
6983></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006984>xmlParseDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006985><TABLE
6986BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006987BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006988WIDTH="100%"
6989CELLPADDING="6"
6990><TR
6991><TD
6992><PRE
6993CLASS="PROGRAMLISTING"
6994><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006995HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006996>xmlDocPtr</A
6997> xmlParseDoc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006998HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006999>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007000> *cur);</PRE
7001></TD
7002></TR
7003></TABLE
7004><P
7005>parse an XML in-memory document and build a tree.</P
7006><P
7007></P
7008><DIV
7009CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007010><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007011NAME="AEN1620"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007012></A
Daniel Veillard35925471999-02-25 08:46:07 +00007013><P
7014></P
7015><TABLE
7016BORDER="0"
7017WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007018BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007019CELLSPACING="0"
7020CELLPADDING="4"
7021CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007022><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007023><TR
7024><TD
7025WIDTH="20%"
7026ALIGN="RIGHT"
7027VALIGN="TOP"
7028><TT
7029CLASS="PARAMETER"
7030><I
7031>cur</I
7032></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007033>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007034><TD
7035WIDTH="80%"
7036ALIGN="LEFT"
7037VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007038> a pointer to an array of xmlChar</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007039></TR
7040><TR
7041><TD
7042WIDTH="20%"
7043ALIGN="RIGHT"
7044VALIGN="TOP"
7045><I
7046CLASS="EMPHASIS"
7047>Returns</I
7048> :</TD
7049><TD
7050WIDTH="80%"
7051ALIGN="LEFT"
7052VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007053>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007054></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007055></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007056></TABLE
7057><P
7058></P
7059></DIV
7060></DIV
7061><HR><DIV
7062CLASS="REFSECT2"
7063><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007064NAME="AEN1633"
Daniel Veillard35925471999-02-25 08:46:07 +00007065></A
7066><H3
7067><A
7068NAME="XMLPARSEMEMORY"
7069></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007070>xmlParseMemory ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007071><TABLE
7072BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007073BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007074WIDTH="100%"
7075CELLPADDING="6"
7076><TR
7077><TD
7078><PRE
7079CLASS="PROGRAMLISTING"
7080><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007081HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007082>xmlDocPtr</A
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00007083> xmlParseMemory (const char *buffer,
Daniel Veillard35925471999-02-25 08:46:07 +00007084 int size);</PRE
7085></TD
7086></TR
7087></TABLE
7088><P
7089>parse an XML in-memory block and build a tree.</P
7090><P
7091></P
7092><DIV
7093CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007094><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007095NAME="AEN1640"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007096></A
Daniel Veillard35925471999-02-25 08:46:07 +00007097><P
7098></P
7099><TABLE
7100BORDER="0"
7101WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007102BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007103CELLSPACING="0"
7104CELLPADDING="4"
7105CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007106><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007107><TR
7108><TD
7109WIDTH="20%"
7110ALIGN="RIGHT"
7111VALIGN="TOP"
7112><TT
7113CLASS="PARAMETER"
7114><I
7115>buffer</I
7116></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007117>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007118><TD
7119WIDTH="80%"
7120ALIGN="LEFT"
7121VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007122> an pointer to a char array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007123></TR
7124><TR
7125><TD
7126WIDTH="20%"
7127ALIGN="RIGHT"
7128VALIGN="TOP"
7129><TT
7130CLASS="PARAMETER"
7131><I
7132>size</I
7133></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007134>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007135><TD
7136WIDTH="80%"
7137ALIGN="LEFT"
7138VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007139> the size of the array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007140></TR
7141><TR
7142><TD
7143WIDTH="20%"
7144ALIGN="RIGHT"
7145VALIGN="TOP"
7146><I
7147CLASS="EMPHASIS"
7148>Returns</I
7149> :</TD
7150><TD
7151WIDTH="80%"
7152ALIGN="LEFT"
7153VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007154>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007155></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007156></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007157></TABLE
7158><P
7159></P
7160></DIV
7161></DIV
7162><HR><DIV
7163CLASS="REFSECT2"
7164><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007165NAME="AEN1657"
Daniel Veillard35925471999-02-25 08:46:07 +00007166></A
7167><H3
7168><A
7169NAME="XMLPARSEFILE"
7170></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007171>xmlParseFile ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007172><TABLE
7173BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007174BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007175WIDTH="100%"
7176CELLPADDING="6"
7177><TR
7178><TD
7179><PRE
7180CLASS="PROGRAMLISTING"
7181><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007182HREF="libxml-tree.html#XMLDOCPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007183>xmlDocPtr</A
7184> xmlParseFile (const char *filename);</PRE
7185></TD
7186></TR
7187></TABLE
7188><P
7189>parse an XML file and build a tree. Automatic support for ZLIB/Compress
7190compressed document is provided by default if found at compile-time.</P
7191><P
7192></P
7193><DIV
7194CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007195><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007196NAME="AEN1664"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007197></A
Daniel Veillard35925471999-02-25 08:46:07 +00007198><P
7199></P
7200><TABLE
7201BORDER="0"
7202WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007203BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007204CELLSPACING="0"
7205CELLPADDING="4"
7206CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007207><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007208><TR
7209><TD
7210WIDTH="20%"
7211ALIGN="RIGHT"
7212VALIGN="TOP"
7213><TT
7214CLASS="PARAMETER"
7215><I
7216>filename</I
7217></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007218>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007219><TD
7220WIDTH="80%"
7221ALIGN="LEFT"
7222VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007223> the filename</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007224></TR
7225><TR
7226><TD
7227WIDTH="20%"
7228ALIGN="RIGHT"
7229VALIGN="TOP"
7230><I
7231CLASS="EMPHASIS"
7232>Returns</I
7233> :</TD
7234><TD
7235WIDTH="80%"
7236ALIGN="LEFT"
7237VALIGN="TOP"
Daniel Veillard04382ae2001-09-12 18:51:30 +00007238>the resulting document tree if the file was wellformed,
7239NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007240></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007241></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007242></TABLE
7243><P
7244></P
7245></DIV
7246></DIV
7247><HR><DIV
7248CLASS="REFSECT2"
7249><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007250NAME="AEN1677"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007251></A
7252><H3
7253><A
7254NAME="XMLSUBSTITUTEENTITIESDEFAULT"
7255></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007256>xmlSubstituteEntitiesDefault ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00007257><TABLE
7258BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007259BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007260WIDTH="100%"
7261CELLPADDING="6"
7262><TR
7263><TD
7264><PRE
7265CLASS="PROGRAMLISTING"
7266>int xmlSubstituteEntitiesDefault (int val);</PRE
7267></TD
7268></TR
7269></TABLE
7270><P
7271>Set and return the previous value for default entity support.
7272Initially the parser always keep entity references instead of substituting
7273entity values in the output. This function has to be used to change the
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007274default parser behavior
Daniel Veillard011b63c1999-06-02 17:44:04 +00007275SAX::<GTKDOCLINK
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007276HREF="SUBSTITUTEENTITIES"
7277>substituteEntities</GTKDOCLINK
Daniel Veillard011b63c1999-06-02 17:44:04 +00007278>() has to be used for changing that on a file by
7279file basis.</P
7280><P
7281></P
7282><DIV
7283CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007284><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007285NAME="AEN1684"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007286></A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007287><P
7288></P
7289><TABLE
7290BORDER="0"
7291WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007292BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007293CELLSPACING="0"
7294CELLPADDING="4"
7295CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007296><TBODY
Daniel Veillard011b63c1999-06-02 17:44:04 +00007297><TR
7298><TD
7299WIDTH="20%"
7300ALIGN="RIGHT"
7301VALIGN="TOP"
7302><TT
7303CLASS="PARAMETER"
7304><I
7305>val</I
7306></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007307>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007308><TD
7309WIDTH="80%"
7310ALIGN="LEFT"
7311VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007312> int 0 or 1 </TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007313></TR
7314><TR
7315><TD
7316WIDTH="20%"
7317ALIGN="RIGHT"
7318VALIGN="TOP"
7319><I
7320CLASS="EMPHASIS"
7321>Returns</I
7322> :</TD
7323><TD
7324WIDTH="80%"
7325ALIGN="LEFT"
7326VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007327>the last value for 0 for no substitution, 1 for substitution.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007328></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007329></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007330></TABLE
7331><P
7332></P
7333></DIV
7334></DIV
7335><HR><DIV
7336CLASS="REFSECT2"
7337><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007338NAME="AEN1697"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007339></A
7340><H3
7341><A
7342NAME="XMLKEEPBLANKSDEFAULT"
7343></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007344>xmlKeepBlanksDefault ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007345><TABLE
7346BORDER="0"
7347BGCOLOR="#D6E8FF"
7348WIDTH="100%"
7349CELLPADDING="6"
7350><TR
7351><TD
7352><PRE
7353CLASS="PROGRAMLISTING"
7354>int xmlKeepBlanksDefault (int val);</PRE
7355></TD
7356></TR
7357></TABLE
7358><P
7359>Set and return the previous value for default blanks text nodes support.
7360The 1.x version of the parser used an heuristic to try to detect
7361ignorable white spaces. As a result the SAX callback was generating
7362<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007363HREF="libxml-sax.html#IGNORABLEWHITESPACE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007364>ignorableWhitespace</A
7365>() callbacks instead of <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007366HREF="libxml-sax.html#CHARACTERS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007367>characters</A
7368>() one, and when
7369using the DOM output text nodes containing those blanks were not generated.
7370The 2.x and later version will switch to the XML standard way and
7371<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007372HREF="libxml-sax.html#IGNORABLEWHITESPACE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007373>ignorableWhitespace</A
7374>() are only generated when running the parser in
7375validating mode and when the current element doesn't allow CDATA or
7376mixed content.
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007377This function is provided as a way to force the standard behavior
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007378on 1.X libs and to switch back to the old mode for compatibility when
7379running 1.X client code on 2.X . Upgrade of 1.X code should be done
7380by using <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007381HREF="libxml-tree.html#XMLISBLANKNODE"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007382>xmlIsBlankNode</A
7383>() commodity function to detect the "empty"
7384nodes generated.
7385This value also affect autogeneration of indentation when saving code
7386if blanks sections are kept, indentation is not generated.</P
7387><P
7388></P
7389><DIV
7390CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007391><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007392NAME="AEN1707"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007393></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007394><P
7395></P
7396><TABLE
7397BORDER="0"
7398WIDTH="100%"
7399BGCOLOR="#FFD0D0"
7400CELLSPACING="0"
7401CELLPADDING="4"
7402CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007403><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007404><TR
7405><TD
7406WIDTH="20%"
7407ALIGN="RIGHT"
7408VALIGN="TOP"
7409><TT
7410CLASS="PARAMETER"
7411><I
7412>val</I
7413></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007414>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007415><TD
7416WIDTH="80%"
7417ALIGN="LEFT"
7418VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007419> int 0 or 1 </TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007420></TR
7421><TR
7422><TD
7423WIDTH="20%"
7424ALIGN="RIGHT"
7425VALIGN="TOP"
7426><I
7427CLASS="EMPHASIS"
7428>Returns</I
7429> :</TD
7430><TD
7431WIDTH="80%"
7432ALIGN="LEFT"
7433VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007434>the last value for 0 for no substitution, 1 for substitution.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007435></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007436></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007437></TABLE
7438><P
7439></P
7440></DIV
7441></DIV
7442><HR><DIV
7443CLASS="REFSECT2"
7444><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007445NAME="AEN1720"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007446></A
7447><H3
7448><A
7449NAME="XMLSTOPPARSER"
7450></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007451>xmlStopParser ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007452><TABLE
7453BORDER="0"
7454BGCOLOR="#D6E8FF"
7455WIDTH="100%"
7456CELLPADDING="6"
7457><TR
7458><TD
7459><PRE
7460CLASS="PROGRAMLISTING"
7461>void xmlStopParser (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00007462HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007463>xmlParserCtxtPtr</A
7464> ctxt);</PRE
7465></TD
7466></TR
7467></TABLE
7468><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007469>Blocks further parser processing</P
7470><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007471></P
7472><DIV
7473CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007474><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007475NAME="AEN1727"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007476></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007477><P
7478></P
7479><TABLE
7480BORDER="0"
7481WIDTH="100%"
7482BGCOLOR="#FFD0D0"
7483CELLSPACING="0"
7484CELLPADDING="4"
7485CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007486><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007487><TR
7488><TD
7489WIDTH="20%"
7490ALIGN="RIGHT"
7491VALIGN="TOP"
7492><TT
7493CLASS="PARAMETER"
7494><I
7495>ctxt</I
7496></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007497>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007498><TD
7499WIDTH="80%"
7500ALIGN="LEFT"
7501VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007502> an XML parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007503></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007504></TBODY
Daniel Veillard011b63c1999-06-02 17:44:04 +00007505></TABLE
7506><P
7507></P
7508></DIV
7509></DIV
7510><HR><DIV
7511CLASS="REFSECT2"
7512><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007513NAME="AEN1736"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007514></A
7515><H3
7516><A
7517NAME="XMLPEDANTICPARSERDEFAULT"
7518></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007519>xmlPedanticParserDefault ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007520><TABLE
7521BORDER="0"
7522BGCOLOR="#D6E8FF"
7523WIDTH="100%"
7524CELLPADDING="6"
7525><TR
7526><TD
7527><PRE
7528CLASS="PROGRAMLISTING"
Daniel Veillard06622df2002-01-21 17:53:42 +00007529>int xmlPedanticParserDefault (int val);</PRE
7530></TD
7531></TR
7532></TABLE
7533><P
7534>Set and return the previous value for enabling pedantic warnings.</P
7535><P
7536></P
7537><DIV
7538CLASS="INFORMALTABLE"
7539><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007540NAME="AEN1742"
Daniel Veillard06622df2002-01-21 17:53:42 +00007541></A
7542><P
7543></P
7544><TABLE
7545BORDER="0"
7546WIDTH="100%"
7547BGCOLOR="#FFD0D0"
7548CELLSPACING="0"
7549CELLPADDING="4"
7550CLASS="CALSTABLE"
7551><TBODY
7552><TR
7553><TD
7554WIDTH="20%"
7555ALIGN="RIGHT"
7556VALIGN="TOP"
7557><TT
7558CLASS="PARAMETER"
7559><I
7560>val</I
7561></TT
7562>&nbsp;:</TD
7563><TD
7564WIDTH="80%"
7565ALIGN="LEFT"
7566VALIGN="TOP"
7567> int 0 or 1 </TD
7568></TR
7569><TR
7570><TD
7571WIDTH="20%"
7572ALIGN="RIGHT"
7573VALIGN="TOP"
7574><I
7575CLASS="EMPHASIS"
7576>Returns</I
7577> :</TD
7578><TD
7579WIDTH="80%"
7580ALIGN="LEFT"
7581VALIGN="TOP"
7582>the last value for 0 for no substitution, 1 for substitution.</TD
7583></TR
7584></TBODY
7585></TABLE
7586><P
7587></P
7588></DIV
7589></DIV
7590><HR><DIV
7591CLASS="REFSECT2"
7592><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007593NAME="AEN1755"
Daniel Veillard06622df2002-01-21 17:53:42 +00007594></A
7595><H3
7596><A
7597NAME="XMLLINENUMBERSDEFAULT"
7598></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007599>xmlLineNumbersDefault ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00007600><TABLE
7601BORDER="0"
7602BGCOLOR="#D6E8FF"
7603WIDTH="100%"
7604CELLPADDING="6"
7605><TR
7606><TD
7607><PRE
7608CLASS="PROGRAMLISTING"
7609>int xmlLineNumbersDefault (int val);</PRE
7610></TD
7611></TR
7612></TABLE
7613><P
7614>Set and return the previous value for enabling line numbers in elements
7615contents. This may break on old application and is turned off by default.</P
7616><P
7617></P
7618><DIV
7619CLASS="INFORMALTABLE"
7620><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007621NAME="AEN1761"
Daniel Veillard06622df2002-01-21 17:53:42 +00007622></A
7623><P
7624></P
7625><TABLE
7626BORDER="0"
7627WIDTH="100%"
7628BGCOLOR="#FFD0D0"
7629CELLSPACING="0"
7630CELLPADDING="4"
7631CLASS="CALSTABLE"
7632><TBODY
7633><TR
7634><TD
7635WIDTH="20%"
7636ALIGN="RIGHT"
7637VALIGN="TOP"
7638><TT
7639CLASS="PARAMETER"
7640><I
7641>val</I
7642></TT
7643>&nbsp;:</TD
7644><TD
7645WIDTH="80%"
7646ALIGN="LEFT"
7647VALIGN="TOP"
7648> int 0 or 1 </TD
7649></TR
7650><TR
7651><TD
7652WIDTH="20%"
7653ALIGN="RIGHT"
7654VALIGN="TOP"
7655><I
7656CLASS="EMPHASIS"
7657>Returns</I
7658> :</TD
7659><TD
7660WIDTH="80%"
7661ALIGN="LEFT"
7662VALIGN="TOP"
7663>the last value for 0 for no substitution, 1 for substitution.</TD
7664></TR
7665></TBODY
7666></TABLE
7667><P
7668></P
7669></DIV
7670></DIV
7671><HR><DIV
7672CLASS="REFSECT2"
7673><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007674NAME="AEN1774"
Daniel Veillard06622df2002-01-21 17:53:42 +00007675></A
7676><H3
7677><A
7678NAME="XMLRECOVERDOC"
7679></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007680>xmlRecoverDoc ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00007681><TABLE
7682BORDER="0"
7683BGCOLOR="#D6E8FF"
7684WIDTH="100%"
7685CELLPADDING="6"
7686><TR
7687><TD
7688><PRE
7689CLASS="PROGRAMLISTING"
7690><A
7691HREF="libxml-tree.html#XMLDOCPTR"
7692>xmlDocPtr</A
7693> xmlRecoverDoc (<A
7694HREF="libxml-tree.html#XMLCHAR"
7695>xmlChar</A
7696> *cur);</PRE
7697></TD
7698></TR
7699></TABLE
7700><P
7701>parse an XML in-memory document and build a tree.
7702In the case the document is not Well Formed, a tree is built anyway</P
7703><P
7704></P
7705><DIV
7706CLASS="INFORMALTABLE"
7707><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007708NAME="AEN1782"
Daniel Veillard06622df2002-01-21 17:53:42 +00007709></A
7710><P
7711></P
7712><TABLE
7713BORDER="0"
7714WIDTH="100%"
7715BGCOLOR="#FFD0D0"
7716CELLSPACING="0"
7717CELLPADDING="4"
7718CLASS="CALSTABLE"
7719><TBODY
7720><TR
7721><TD
7722WIDTH="20%"
7723ALIGN="RIGHT"
7724VALIGN="TOP"
7725><TT
7726CLASS="PARAMETER"
7727><I
7728>cur</I
7729></TT
7730>&nbsp;:</TD
7731><TD
7732WIDTH="80%"
7733ALIGN="LEFT"
7734VALIGN="TOP"
7735> a pointer to an array of xmlChar</TD
7736></TR
7737><TR
7738><TD
7739WIDTH="20%"
7740ALIGN="RIGHT"
7741VALIGN="TOP"
7742><I
7743CLASS="EMPHASIS"
7744>Returns</I
7745> :</TD
7746><TD
7747WIDTH="80%"
7748ALIGN="LEFT"
7749VALIGN="TOP"
7750>the resulting document tree</TD
7751></TR
7752></TBODY
7753></TABLE
7754><P
7755></P
7756></DIV
7757></DIV
7758><HR><DIV
7759CLASS="REFSECT2"
7760><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007761NAME="AEN1795"
Daniel Veillard06622df2002-01-21 17:53:42 +00007762></A
7763><H3
7764><A
7765NAME="XMLRECOVERMEMORY"
7766></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007767>xmlRecoverMemory ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00007768><TABLE
7769BORDER="0"
7770BGCOLOR="#D6E8FF"
7771WIDTH="100%"
7772CELLPADDING="6"
7773><TR
7774><TD
7775><PRE
7776CLASS="PROGRAMLISTING"
7777><A
7778HREF="libxml-tree.html#XMLDOCPTR"
7779>xmlDocPtr</A
7780> xmlRecoverMemory (const char *buffer,
7781 int size);</PRE
7782></TD
7783></TR
7784></TABLE
7785><P
7786>parse an XML in-memory block and build a tree.
7787In the case the document is not Well Formed, a tree is built anyway</P
7788><P
7789></P
7790><DIV
7791CLASS="INFORMALTABLE"
7792><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007793NAME="AEN1802"
Daniel Veillard06622df2002-01-21 17:53:42 +00007794></A
7795><P
7796></P
7797><TABLE
7798BORDER="0"
7799WIDTH="100%"
7800BGCOLOR="#FFD0D0"
7801CELLSPACING="0"
7802CELLPADDING="4"
7803CLASS="CALSTABLE"
7804><TBODY
7805><TR
7806><TD
7807WIDTH="20%"
7808ALIGN="RIGHT"
7809VALIGN="TOP"
7810><TT
7811CLASS="PARAMETER"
7812><I
7813>buffer</I
7814></TT
7815>&nbsp;:</TD
7816><TD
7817WIDTH="80%"
7818ALIGN="LEFT"
7819VALIGN="TOP"
7820> an pointer to a char array</TD
7821></TR
7822><TR
7823><TD
7824WIDTH="20%"
7825ALIGN="RIGHT"
7826VALIGN="TOP"
7827><TT
7828CLASS="PARAMETER"
7829><I
7830>size</I
7831></TT
7832>&nbsp;:</TD
7833><TD
7834WIDTH="80%"
7835ALIGN="LEFT"
7836VALIGN="TOP"
7837> the size of the array</TD
7838></TR
7839><TR
7840><TD
7841WIDTH="20%"
7842ALIGN="RIGHT"
7843VALIGN="TOP"
7844><I
7845CLASS="EMPHASIS"
7846>Returns</I
7847> :</TD
7848><TD
7849WIDTH="80%"
7850ALIGN="LEFT"
7851VALIGN="TOP"
7852>the resulting document tree</TD
7853></TR
7854></TBODY
7855></TABLE
7856><P
7857></P
7858></DIV
7859></DIV
7860><HR><DIV
7861CLASS="REFSECT2"
7862><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007863NAME="AEN1819"
Daniel Veillard06622df2002-01-21 17:53:42 +00007864></A
7865><H3
7866><A
7867NAME="XMLRECOVERFILE"
7868></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007869>xmlRecoverFile ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00007870><TABLE
7871BORDER="0"
7872BGCOLOR="#D6E8FF"
7873WIDTH="100%"
7874CELLPADDING="6"
7875><TR
7876><TD
7877><PRE
7878CLASS="PROGRAMLISTING"
7879><A
7880HREF="libxml-tree.html#XMLDOCPTR"
7881>xmlDocPtr</A
7882> xmlRecoverFile (const char *filename);</PRE
7883></TD
7884></TR
7885></TABLE
7886><P
7887>parse an XML file and build a tree. Automatic support for ZLIB/Compress
7888compressed document is provided by default if found at compile-time.
7889In the case the document is not Well Formed, a tree is built anyway</P
7890><P
7891></P
7892><DIV
7893CLASS="INFORMALTABLE"
7894><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007895NAME="AEN1826"
Daniel Veillard06622df2002-01-21 17:53:42 +00007896></A
7897><P
7898></P
7899><TABLE
7900BORDER="0"
7901WIDTH="100%"
7902BGCOLOR="#FFD0D0"
7903CELLSPACING="0"
7904CELLPADDING="4"
7905CLASS="CALSTABLE"
7906><TBODY
7907><TR
7908><TD
7909WIDTH="20%"
7910ALIGN="RIGHT"
7911VALIGN="TOP"
7912><TT
7913CLASS="PARAMETER"
7914><I
7915>filename</I
7916></TT
7917>&nbsp;:</TD
7918><TD
7919WIDTH="80%"
7920ALIGN="LEFT"
7921VALIGN="TOP"
7922> the filename</TD
7923></TR
7924><TR
7925><TD
7926WIDTH="20%"
7927ALIGN="RIGHT"
7928VALIGN="TOP"
7929><I
7930CLASS="EMPHASIS"
7931>Returns</I
7932> :</TD
7933><TD
7934WIDTH="80%"
7935ALIGN="LEFT"
7936VALIGN="TOP"
7937>the resulting document tree</TD
7938></TR
7939></TBODY
7940></TABLE
7941><P
7942></P
7943></DIV
7944></DIV
7945><HR><DIV
7946CLASS="REFSECT2"
7947><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007948NAME="AEN1839"
Daniel Veillard06622df2002-01-21 17:53:42 +00007949></A
7950><H3
7951><A
7952NAME="XMLPARSEDOCUMENT"
7953></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007954>xmlParseDocument ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00007955><TABLE
7956BORDER="0"
7957BGCOLOR="#D6E8FF"
7958WIDTH="100%"
7959CELLPADDING="6"
7960><TR
7961><TD
7962><PRE
7963CLASS="PROGRAMLISTING"
7964>int xmlParseDocument (<A
7965HREF="libxml-tree.html#XMLPARSERCTXTPTR"
7966>xmlParserCtxtPtr</A
7967> ctxt);</PRE
7968></TD
7969></TR
7970></TABLE
7971><P
7972>parse an XML document (and build a tree if using the standard SAX
7973interface).</P
7974><P
7975>[1] document ::= prolog element Misc*</P
7976><P
7977>[22] prolog ::= XMLDecl? Misc* (doctypedecl Misc*)?</P
7978><P
7979></P
7980><DIV
7981CLASS="INFORMALTABLE"
7982><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007983NAME="AEN1848"
Daniel Veillard06622df2002-01-21 17:53:42 +00007984></A
7985><P
7986></P
7987><TABLE
7988BORDER="0"
7989WIDTH="100%"
7990BGCOLOR="#FFD0D0"
7991CELLSPACING="0"
7992CELLPADDING="4"
7993CLASS="CALSTABLE"
7994><TBODY
7995><TR
7996><TD
7997WIDTH="20%"
7998ALIGN="RIGHT"
7999VALIGN="TOP"
8000><TT
8001CLASS="PARAMETER"
8002><I
8003>ctxt</I
8004></TT
8005>&nbsp;:</TD
8006><TD
8007WIDTH="80%"
8008ALIGN="LEFT"
8009VALIGN="TOP"
8010> an XML parser context</TD
8011></TR
8012><TR
8013><TD
8014WIDTH="20%"
8015ALIGN="RIGHT"
8016VALIGN="TOP"
8017><I
8018CLASS="EMPHASIS"
8019>Returns</I
8020> :</TD
8021><TD
8022WIDTH="80%"
8023ALIGN="LEFT"
8024VALIGN="TOP"
8025>0, -1 in case of error. the parser context is augmented
Daniel Veillardaf43f632002-03-08 15:05:20 +00008026as a result of the parsing.</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008027></TR
8028></TBODY
8029></TABLE
8030><P
8031></P
8032></DIV
8033></DIV
8034><HR><DIV
8035CLASS="REFSECT2"
8036><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008037NAME="AEN1861"
Daniel Veillard06622df2002-01-21 17:53:42 +00008038></A
8039><H3
8040><A
8041NAME="XMLPARSEEXTPARSEDENT"
8042></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008043>xmlParseExtParsedEnt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008044><TABLE
8045BORDER="0"
8046BGCOLOR="#D6E8FF"
8047WIDTH="100%"
8048CELLPADDING="6"
8049><TR
8050><TD
8051><PRE
8052CLASS="PROGRAMLISTING"
8053>int xmlParseExtParsedEnt (<A
8054HREF="libxml-tree.html#XMLPARSERCTXTPTR"
8055>xmlParserCtxtPtr</A
8056> ctxt);</PRE
8057></TD
8058></TR
8059></TABLE
8060><P
8061>parse a general parsed entity
8062An external general parsed entity is well-formed if it matches the
8063production labeled extParsedEnt.</P
8064><P
8065>[78] extParsedEnt ::= TextDecl? content</P
8066><P
8067></P
8068><DIV
8069CLASS="INFORMALTABLE"
8070><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008071NAME="AEN1869"
Daniel Veillard06622df2002-01-21 17:53:42 +00008072></A
8073><P
8074></P
8075><TABLE
8076BORDER="0"
8077WIDTH="100%"
8078BGCOLOR="#FFD0D0"
8079CELLSPACING="0"
8080CELLPADDING="4"
8081CLASS="CALSTABLE"
8082><TBODY
8083><TR
8084><TD
8085WIDTH="20%"
8086ALIGN="RIGHT"
8087VALIGN="TOP"
8088><TT
8089CLASS="PARAMETER"
8090><I
8091>ctxt</I
8092></TT
8093>&nbsp;:</TD
8094><TD
8095WIDTH="80%"
8096ALIGN="LEFT"
8097VALIGN="TOP"
8098> an XML parser context</TD
8099></TR
8100><TR
8101><TD
8102WIDTH="20%"
8103ALIGN="RIGHT"
8104VALIGN="TOP"
8105><I
8106CLASS="EMPHASIS"
8107>Returns</I
8108> :</TD
8109><TD
8110WIDTH="80%"
8111ALIGN="LEFT"
8112VALIGN="TOP"
8113>0, -1 in case of error. the parser context is augmented
Daniel Veillardaf43f632002-03-08 15:05:20 +00008114as a result of the parsing.</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008115></TR
8116></TBODY
8117></TABLE
8118><P
8119></P
8120></DIV
8121></DIV
8122><HR><DIV
8123CLASS="REFSECT2"
8124><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008125NAME="AEN1882"
Daniel Veillard06622df2002-01-21 17:53:42 +00008126></A
8127><H3
8128><A
8129NAME="XMLSAXPARSEDOC"
8130></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008131>xmlSAXParseDoc ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008132><TABLE
8133BORDER="0"
8134BGCOLOR="#D6E8FF"
8135WIDTH="100%"
8136CELLPADDING="6"
8137><TR
8138><TD
8139><PRE
8140CLASS="PROGRAMLISTING"
8141><A
8142HREF="libxml-tree.html#XMLDOCPTR"
8143>xmlDocPtr</A
8144> xmlSAXParseDoc (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008145HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008146>xmlSAXHandlerPtr</A
8147> sax,
8148 <A
8149HREF="libxml-tree.html#XMLCHAR"
8150>xmlChar</A
8151> *cur,
8152 int recovery);</PRE
8153></TD
8154></TR
8155></TABLE
8156><P
8157>parse an XML in-memory document and build a tree.
8158It use the given SAX function block to handle the parsing callback.
8159If sax is NULL, fallback to the default DOM tree building routines.</P
8160><P
8161></P
8162><DIV
8163CLASS="INFORMALTABLE"
8164><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008165NAME="AEN1891"
Daniel Veillard06622df2002-01-21 17:53:42 +00008166></A
8167><P
8168></P
8169><TABLE
8170BORDER="0"
8171WIDTH="100%"
8172BGCOLOR="#FFD0D0"
8173CELLSPACING="0"
8174CELLPADDING="4"
8175CLASS="CALSTABLE"
8176><TBODY
8177><TR
8178><TD
8179WIDTH="20%"
8180ALIGN="RIGHT"
8181VALIGN="TOP"
8182><TT
8183CLASS="PARAMETER"
8184><I
8185>sax</I
8186></TT
8187>&nbsp;:</TD
8188><TD
8189WIDTH="80%"
8190ALIGN="LEFT"
8191VALIGN="TOP"
8192> the SAX handler block</TD
8193></TR
8194><TR
8195><TD
8196WIDTH="20%"
8197ALIGN="RIGHT"
8198VALIGN="TOP"
8199><TT
8200CLASS="PARAMETER"
8201><I
8202>cur</I
8203></TT
8204>&nbsp;:</TD
8205><TD
8206WIDTH="80%"
8207ALIGN="LEFT"
8208VALIGN="TOP"
8209> a pointer to an array of xmlChar</TD
8210></TR
8211><TR
8212><TD
8213WIDTH="20%"
8214ALIGN="RIGHT"
8215VALIGN="TOP"
8216><TT
8217CLASS="PARAMETER"
8218><I
8219>recovery</I
8220></TT
8221>&nbsp;:</TD
8222><TD
8223WIDTH="80%"
8224ALIGN="LEFT"
8225VALIGN="TOP"
8226> work in recovery mode, i.e. tries to read no Well Formed
Daniel Veillardaf43f632002-03-08 15:05:20 +00008227documents</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008228></TR
8229><TR
8230><TD
8231WIDTH="20%"
8232ALIGN="RIGHT"
8233VALIGN="TOP"
8234><I
8235CLASS="EMPHASIS"
8236>Returns</I
8237> :</TD
8238><TD
8239WIDTH="80%"
8240ALIGN="LEFT"
8241VALIGN="TOP"
8242>the resulting document tree</TD
8243></TR
8244></TBODY
8245></TABLE
8246><P
8247></P
8248></DIV
8249></DIV
8250><HR><DIV
8251CLASS="REFSECT2"
8252><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008253NAME="AEN1912"
Daniel Veillard06622df2002-01-21 17:53:42 +00008254></A
8255><H3
8256><A
8257NAME="XMLSAXUSERPARSEFILE"
8258></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008259>xmlSAXUserParseFile ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008260><TABLE
8261BORDER="0"
8262BGCOLOR="#D6E8FF"
8263WIDTH="100%"
8264CELLPADDING="6"
8265><TR
8266><TD
8267><PRE
8268CLASS="PROGRAMLISTING"
8269>int xmlSAXUserParseFile (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008270HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008271>xmlSAXHandlerPtr</A
8272> sax,
8273 void *user_data,
8274 const char *filename);</PRE
8275></TD
8276></TR
8277></TABLE
8278><P
8279>parse an XML file and call the given SAX handler routines.
8280Automatic support for ZLIB/Compress compressed document is provided</P
8281><P
8282></P
8283><DIV
8284CLASS="INFORMALTABLE"
8285><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008286NAME="AEN1919"
Daniel Veillard06622df2002-01-21 17:53:42 +00008287></A
8288><P
8289></P
8290><TABLE
8291BORDER="0"
8292WIDTH="100%"
8293BGCOLOR="#FFD0D0"
8294CELLSPACING="0"
8295CELLPADDING="4"
8296CLASS="CALSTABLE"
8297><TBODY
8298><TR
8299><TD
8300WIDTH="20%"
8301ALIGN="RIGHT"
8302VALIGN="TOP"
8303><TT
8304CLASS="PARAMETER"
8305><I
8306>sax</I
8307></TT
8308>&nbsp;:</TD
8309><TD
8310WIDTH="80%"
8311ALIGN="LEFT"
8312VALIGN="TOP"
8313> a SAX handler</TD
8314></TR
8315><TR
8316><TD
8317WIDTH="20%"
8318ALIGN="RIGHT"
8319VALIGN="TOP"
8320><TT
8321CLASS="PARAMETER"
8322><I
8323>user_data</I
8324></TT
8325>&nbsp;:</TD
8326><TD
8327WIDTH="80%"
8328ALIGN="LEFT"
8329VALIGN="TOP"
8330> The user data returned on SAX callbacks</TD
8331></TR
8332><TR
8333><TD
8334WIDTH="20%"
8335ALIGN="RIGHT"
8336VALIGN="TOP"
8337><TT
8338CLASS="PARAMETER"
8339><I
8340>filename</I
8341></TT
8342>&nbsp;:</TD
8343><TD
8344WIDTH="80%"
8345ALIGN="LEFT"
8346VALIGN="TOP"
8347> a file name</TD
8348></TR
8349><TR
8350><TD
8351WIDTH="20%"
8352ALIGN="RIGHT"
8353VALIGN="TOP"
8354><I
8355CLASS="EMPHASIS"
8356>Returns</I
8357> :</TD
8358><TD
8359WIDTH="80%"
8360ALIGN="LEFT"
8361VALIGN="TOP"
8362>0 in case of success or a error number otherwise</TD
8363></TR
8364></TBODY
8365></TABLE
8366><P
8367></P
8368></DIV
8369></DIV
8370><HR><DIV
8371CLASS="REFSECT2"
8372><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008373NAME="AEN1940"
Daniel Veillard06622df2002-01-21 17:53:42 +00008374></A
8375><H3
8376><A
8377NAME="XMLSAXUSERPARSEMEMORY"
8378></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008379>xmlSAXUserParseMemory ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008380><TABLE
8381BORDER="0"
8382BGCOLOR="#D6E8FF"
8383WIDTH="100%"
8384CELLPADDING="6"
8385><TR
8386><TD
8387><PRE
8388CLASS="PROGRAMLISTING"
8389>int xmlSAXUserParseMemory (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008390HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008391>xmlSAXHandlerPtr</A
8392> sax,
8393 void *user_data,
8394 const char *buffer,
8395 int size);</PRE
8396></TD
8397></TR
8398></TABLE
8399><P
8400>A better SAX parsing routine.
8401parse an XML in-memory buffer and call the given SAX handler routines.</P
8402><P
8403></P
8404><DIV
8405CLASS="INFORMALTABLE"
8406><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008407NAME="AEN1947"
Daniel Veillard06622df2002-01-21 17:53:42 +00008408></A
8409><P
8410></P
8411><TABLE
8412BORDER="0"
8413WIDTH="100%"
8414BGCOLOR="#FFD0D0"
8415CELLSPACING="0"
8416CELLPADDING="4"
8417CLASS="CALSTABLE"
8418><TBODY
8419><TR
8420><TD
8421WIDTH="20%"
8422ALIGN="RIGHT"
8423VALIGN="TOP"
8424><TT
8425CLASS="PARAMETER"
8426><I
8427>sax</I
8428></TT
8429>&nbsp;:</TD
8430><TD
8431WIDTH="80%"
8432ALIGN="LEFT"
8433VALIGN="TOP"
8434> a SAX handler</TD
8435></TR
8436><TR
8437><TD
8438WIDTH="20%"
8439ALIGN="RIGHT"
8440VALIGN="TOP"
8441><TT
8442CLASS="PARAMETER"
8443><I
8444>user_data</I
8445></TT
8446>&nbsp;:</TD
8447><TD
8448WIDTH="80%"
8449ALIGN="LEFT"
8450VALIGN="TOP"
8451> The user data returned on SAX callbacks</TD
8452></TR
8453><TR
8454><TD
8455WIDTH="20%"
8456ALIGN="RIGHT"
8457VALIGN="TOP"
8458><TT
8459CLASS="PARAMETER"
8460><I
8461>buffer</I
8462></TT
8463>&nbsp;:</TD
8464><TD
8465WIDTH="80%"
8466ALIGN="LEFT"
8467VALIGN="TOP"
8468> an in-memory XML document input</TD
8469></TR
8470><TR
8471><TD
8472WIDTH="20%"
8473ALIGN="RIGHT"
8474VALIGN="TOP"
8475><TT
8476CLASS="PARAMETER"
8477><I
8478>size</I
8479></TT
8480>&nbsp;:</TD
8481><TD
8482WIDTH="80%"
8483ALIGN="LEFT"
8484VALIGN="TOP"
8485> the length of the XML document in bytes</TD
8486></TR
8487><TR
8488><TD
8489WIDTH="20%"
8490ALIGN="RIGHT"
8491VALIGN="TOP"
8492><I
8493CLASS="EMPHASIS"
8494>Returns</I
8495> :</TD
8496><TD
8497WIDTH="80%"
8498ALIGN="LEFT"
8499VALIGN="TOP"
8500>0 in case of success or a error number otherwise</TD
8501></TR
8502></TBODY
8503></TABLE
8504><P
8505></P
8506></DIV
8507></DIV
8508><HR><DIV
8509CLASS="REFSECT2"
8510><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008511NAME="AEN1972"
Daniel Veillard06622df2002-01-21 17:53:42 +00008512></A
8513><H3
8514><A
8515NAME="XMLSAXPARSEMEMORY"
8516></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008517>xmlSAXParseMemory ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008518><TABLE
8519BORDER="0"
8520BGCOLOR="#D6E8FF"
8521WIDTH="100%"
8522CELLPADDING="6"
8523><TR
8524><TD
8525><PRE
8526CLASS="PROGRAMLISTING"
8527><A
8528HREF="libxml-tree.html#XMLDOCPTR"
8529>xmlDocPtr</A
8530> xmlSAXParseMemory (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008531HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008532>xmlSAXHandlerPtr</A
8533> sax,
8534 const char *buffer,
8535 int size,
8536 int recovery);</PRE
8537></TD
8538></TR
8539></TABLE
8540><P
8541>parse an XML in-memory block and use the given SAX function block
8542to handle the parsing callback. If sax is NULL, fallback to the default
8543DOM tree building routines.</P
8544><P
8545></P
8546><DIV
8547CLASS="INFORMALTABLE"
8548><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008549NAME="AEN1980"
Daniel Veillard06622df2002-01-21 17:53:42 +00008550></A
8551><P
8552></P
8553><TABLE
8554BORDER="0"
8555WIDTH="100%"
8556BGCOLOR="#FFD0D0"
8557CELLSPACING="0"
8558CELLPADDING="4"
8559CLASS="CALSTABLE"
8560><TBODY
8561><TR
8562><TD
8563WIDTH="20%"
8564ALIGN="RIGHT"
8565VALIGN="TOP"
8566><TT
8567CLASS="PARAMETER"
8568><I
8569>sax</I
8570></TT
8571>&nbsp;:</TD
8572><TD
8573WIDTH="80%"
8574ALIGN="LEFT"
8575VALIGN="TOP"
8576> the SAX handler block</TD
8577></TR
8578><TR
8579><TD
8580WIDTH="20%"
8581ALIGN="RIGHT"
8582VALIGN="TOP"
8583><TT
8584CLASS="PARAMETER"
8585><I
8586>buffer</I
8587></TT
8588>&nbsp;:</TD
8589><TD
8590WIDTH="80%"
8591ALIGN="LEFT"
8592VALIGN="TOP"
8593> an pointer to a char array</TD
8594></TR
8595><TR
8596><TD
8597WIDTH="20%"
8598ALIGN="RIGHT"
8599VALIGN="TOP"
8600><TT
8601CLASS="PARAMETER"
8602><I
8603>size</I
8604></TT
8605>&nbsp;:</TD
8606><TD
8607WIDTH="80%"
8608ALIGN="LEFT"
8609VALIGN="TOP"
8610> the size of the array</TD
8611></TR
8612><TR
8613><TD
8614WIDTH="20%"
8615ALIGN="RIGHT"
8616VALIGN="TOP"
8617><TT
8618CLASS="PARAMETER"
8619><I
8620>recovery</I
8621></TT
8622>&nbsp;:</TD
8623><TD
8624WIDTH="80%"
8625ALIGN="LEFT"
8626VALIGN="TOP"
8627> work in recovery mode, i.e. tries to read not Well Formed
Daniel Veillardaf43f632002-03-08 15:05:20 +00008628documents</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008629></TR
8630><TR
8631><TD
8632WIDTH="20%"
8633ALIGN="RIGHT"
8634VALIGN="TOP"
8635><I
8636CLASS="EMPHASIS"
8637>Returns</I
8638> :</TD
8639><TD
8640WIDTH="80%"
8641ALIGN="LEFT"
8642VALIGN="TOP"
8643>the resulting document tree</TD
8644></TR
8645></TBODY
8646></TABLE
8647><P
8648></P
8649></DIV
8650></DIV
8651><HR><DIV
8652CLASS="REFSECT2"
8653><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008654NAME="AEN2005"
Daniel Veillard06622df2002-01-21 17:53:42 +00008655></A
8656><H3
8657><A
8658NAME="XMLSAXPARSEFILE"
8659></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008660>xmlSAXParseFile ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008661><TABLE
8662BORDER="0"
8663BGCOLOR="#D6E8FF"
8664WIDTH="100%"
8665CELLPADDING="6"
8666><TR
8667><TD
8668><PRE
8669CLASS="PROGRAMLISTING"
8670><A
8671HREF="libxml-tree.html#XMLDOCPTR"
8672>xmlDocPtr</A
8673> xmlSAXParseFile (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008674HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008675>xmlSAXHandlerPtr</A
8676> sax,
8677 const char *filename,
8678 int recovery);</PRE
8679></TD
8680></TR
8681></TABLE
8682><P
8683>parse an XML file and build a tree. Automatic support for ZLIB/Compress
8684compressed document is provided by default if found at compile-time.
8685It use the given SAX function block to handle the parsing callback.
8686If sax is NULL, fallback to the default DOM tree building routines.</P
8687><P
8688></P
8689><DIV
8690CLASS="INFORMALTABLE"
8691><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008692NAME="AEN2013"
Daniel Veillard06622df2002-01-21 17:53:42 +00008693></A
8694><P
8695></P
8696><TABLE
8697BORDER="0"
8698WIDTH="100%"
8699BGCOLOR="#FFD0D0"
8700CELLSPACING="0"
8701CELLPADDING="4"
8702CLASS="CALSTABLE"
8703><TBODY
8704><TR
8705><TD
8706WIDTH="20%"
8707ALIGN="RIGHT"
8708VALIGN="TOP"
8709><TT
8710CLASS="PARAMETER"
8711><I
8712>sax</I
8713></TT
8714>&nbsp;:</TD
8715><TD
8716WIDTH="80%"
8717ALIGN="LEFT"
8718VALIGN="TOP"
8719> the SAX handler block</TD
8720></TR
8721><TR
8722><TD
8723WIDTH="20%"
8724ALIGN="RIGHT"
8725VALIGN="TOP"
8726><TT
8727CLASS="PARAMETER"
8728><I
8729>filename</I
8730></TT
8731>&nbsp;:</TD
8732><TD
8733WIDTH="80%"
8734ALIGN="LEFT"
8735VALIGN="TOP"
8736> the filename</TD
8737></TR
8738><TR
8739><TD
8740WIDTH="20%"
8741ALIGN="RIGHT"
8742VALIGN="TOP"
8743><TT
8744CLASS="PARAMETER"
8745><I
8746>recovery</I
8747></TT
8748>&nbsp;:</TD
8749><TD
8750WIDTH="80%"
8751ALIGN="LEFT"
8752VALIGN="TOP"
8753> work in recovery mode, i.e. tries to read no Well Formed
Daniel Veillardaf43f632002-03-08 15:05:20 +00008754documents</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008755></TR
8756><TR
8757><TD
8758WIDTH="20%"
8759ALIGN="RIGHT"
8760VALIGN="TOP"
8761><I
8762CLASS="EMPHASIS"
8763>Returns</I
8764> :</TD
8765><TD
8766WIDTH="80%"
8767ALIGN="LEFT"
8768VALIGN="TOP"
8769>the resulting document tree</TD
8770></TR
8771></TBODY
8772></TABLE
8773><P
8774></P
8775></DIV
8776></DIV
8777><HR><DIV
8778CLASS="REFSECT2"
8779><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008780NAME="AEN2034"
Daniel Veillard06622df2002-01-21 17:53:42 +00008781></A
8782><H3
8783><A
8784NAME="XMLSAXPARSEFILEWITHDATA"
8785></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008786>xmlSAXParseFileWithData ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008787><TABLE
8788BORDER="0"
8789BGCOLOR="#D6E8FF"
8790WIDTH="100%"
8791CELLPADDING="6"
8792><TR
8793><TD
8794><PRE
8795CLASS="PROGRAMLISTING"
8796><A
8797HREF="libxml-tree.html#XMLDOCPTR"
8798>xmlDocPtr</A
8799> xmlSAXParseFileWithData (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008800HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008801>xmlSAXHandlerPtr</A
8802> sax,
8803 const char *filename,
8804 int recovery,
8805 void *data);</PRE
8806></TD
8807></TR
8808></TABLE
8809><P
8810>parse an XML file and build a tree. Automatic support for ZLIB/Compress
8811compressed document is provided by default if found at compile-time.
8812It use the given SAX function block to handle the parsing callback.
8813If sax is NULL, fallback to the default DOM tree building routines.</P
8814><P
8815>User data (void *) is stored within the parser context, so it is
8816available nearly everywhere in libxml.</P
8817><P
8818></P
8819><DIV
8820CLASS="INFORMALTABLE"
8821><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008822NAME="AEN2043"
Daniel Veillard06622df2002-01-21 17:53:42 +00008823></A
8824><P
8825></P
8826><TABLE
8827BORDER="0"
8828WIDTH="100%"
8829BGCOLOR="#FFD0D0"
8830CELLSPACING="0"
8831CELLPADDING="4"
8832CLASS="CALSTABLE"
8833><TBODY
8834><TR
8835><TD
8836WIDTH="20%"
8837ALIGN="RIGHT"
8838VALIGN="TOP"
8839><TT
8840CLASS="PARAMETER"
8841><I
8842>sax</I
8843></TT
8844>&nbsp;:</TD
8845><TD
8846WIDTH="80%"
8847ALIGN="LEFT"
8848VALIGN="TOP"
8849> the SAX handler block</TD
8850></TR
8851><TR
8852><TD
8853WIDTH="20%"
8854ALIGN="RIGHT"
8855VALIGN="TOP"
8856><TT
8857CLASS="PARAMETER"
8858><I
8859>filename</I
8860></TT
8861>&nbsp;:</TD
8862><TD
8863WIDTH="80%"
8864ALIGN="LEFT"
8865VALIGN="TOP"
8866> the filename</TD
8867></TR
8868><TR
8869><TD
8870WIDTH="20%"
8871ALIGN="RIGHT"
8872VALIGN="TOP"
8873><TT
8874CLASS="PARAMETER"
8875><I
8876>recovery</I
8877></TT
8878>&nbsp;:</TD
8879><TD
8880WIDTH="80%"
8881ALIGN="LEFT"
8882VALIGN="TOP"
8883> work in recovery mode, i.e. tries to read no Well Formed
Daniel Veillardaf43f632002-03-08 15:05:20 +00008884documents</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00008885></TR
8886><TR
8887><TD
8888WIDTH="20%"
8889ALIGN="RIGHT"
8890VALIGN="TOP"
8891><TT
8892CLASS="PARAMETER"
8893><I
8894>data</I
8895></TT
8896>&nbsp;:</TD
8897><TD
8898WIDTH="80%"
8899ALIGN="LEFT"
8900VALIGN="TOP"
8901> the userdata</TD
8902></TR
8903><TR
8904><TD
8905WIDTH="20%"
8906ALIGN="RIGHT"
8907VALIGN="TOP"
8908><I
8909CLASS="EMPHASIS"
8910>Returns</I
8911> :</TD
8912><TD
8913WIDTH="80%"
8914ALIGN="LEFT"
8915VALIGN="TOP"
8916>the resulting document tree</TD
8917></TR
8918></TBODY
8919></TABLE
8920><P
8921></P
8922></DIV
8923></DIV
8924><HR><DIV
8925CLASS="REFSECT2"
8926><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008927NAME="AEN2068"
Daniel Veillard06622df2002-01-21 17:53:42 +00008928></A
8929><H3
8930><A
8931NAME="XMLSAXPARSEENTITY"
8932></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008933>xmlSAXParseEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008934><TABLE
8935BORDER="0"
8936BGCOLOR="#D6E8FF"
8937WIDTH="100%"
8938CELLPADDING="6"
8939><TR
8940><TD
8941><PRE
8942CLASS="PROGRAMLISTING"
8943><A
8944HREF="libxml-tree.html#XMLDOCPTR"
8945>xmlDocPtr</A
8946> xmlSAXParseEntity (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008947HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00008948>xmlSAXHandlerPtr</A
8949> sax,
8950 const char *filename);</PRE
8951></TD
8952></TR
8953></TABLE
8954><P
8955>parse an XML external entity out of context and build a tree.
8956It use the given SAX function block to handle the parsing callback.
8957If sax is NULL, fallback to the default DOM tree building routines.</P
8958><P
8959>[78] extParsedEnt ::= TextDecl? content</P
8960><P
8961>This correspond to a "Well Balanced" chunk</P
8962><P
8963></P
8964><DIV
8965CLASS="INFORMALTABLE"
8966><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00008967NAME="AEN2078"
Daniel Veillard06622df2002-01-21 17:53:42 +00008968></A
8969><P
8970></P
8971><TABLE
8972BORDER="0"
8973WIDTH="100%"
8974BGCOLOR="#FFD0D0"
8975CELLSPACING="0"
8976CELLPADDING="4"
8977CLASS="CALSTABLE"
8978><TBODY
8979><TR
8980><TD
8981WIDTH="20%"
8982ALIGN="RIGHT"
8983VALIGN="TOP"
8984><TT
8985CLASS="PARAMETER"
8986><I
8987>sax</I
8988></TT
8989>&nbsp;:</TD
8990><TD
8991WIDTH="80%"
8992ALIGN="LEFT"
8993VALIGN="TOP"
8994> the SAX handler block</TD
8995></TR
8996><TR
8997><TD
8998WIDTH="20%"
8999ALIGN="RIGHT"
9000VALIGN="TOP"
9001><TT
9002CLASS="PARAMETER"
9003><I
9004>filename</I
9005></TT
9006>&nbsp;:</TD
9007><TD
9008WIDTH="80%"
9009ALIGN="LEFT"
9010VALIGN="TOP"
9011> the filename</TD
9012></TR
9013><TR
9014><TD
9015WIDTH="20%"
9016ALIGN="RIGHT"
9017VALIGN="TOP"
9018><I
9019CLASS="EMPHASIS"
9020>Returns</I
9021> :</TD
9022><TD
9023WIDTH="80%"
9024ALIGN="LEFT"
9025VALIGN="TOP"
9026>the resulting document tree</TD
9027></TR
9028></TBODY
9029></TABLE
9030><P
9031></P
9032></DIV
9033></DIV
9034><HR><DIV
9035CLASS="REFSECT2"
9036><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009037NAME="AEN2095"
Daniel Veillard06622df2002-01-21 17:53:42 +00009038></A
9039><H3
9040><A
9041NAME="XMLPARSEENTITY"
9042></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009043>xmlParseEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009044><TABLE
9045BORDER="0"
9046BGCOLOR="#D6E8FF"
9047WIDTH="100%"
9048CELLPADDING="6"
9049><TR
9050><TD
9051><PRE
9052CLASS="PROGRAMLISTING"
9053><A
9054HREF="libxml-tree.html#XMLDOCPTR"
9055>xmlDocPtr</A
9056> xmlParseEntity (const char *filename);</PRE
9057></TD
9058></TR
9059></TABLE
9060><P
9061>parse an XML external entity out of context and build a tree.</P
9062><P
9063>[78] extParsedEnt ::= TextDecl? content</P
9064><P
9065>This correspond to a "Well Balanced" chunk</P
9066><P
9067></P
9068><DIV
9069CLASS="INFORMALTABLE"
9070><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009071NAME="AEN2104"
Daniel Veillard06622df2002-01-21 17:53:42 +00009072></A
9073><P
9074></P
9075><TABLE
9076BORDER="0"
9077WIDTH="100%"
9078BGCOLOR="#FFD0D0"
9079CELLSPACING="0"
9080CELLPADDING="4"
9081CLASS="CALSTABLE"
9082><TBODY
9083><TR
9084><TD
9085WIDTH="20%"
9086ALIGN="RIGHT"
9087VALIGN="TOP"
9088><TT
9089CLASS="PARAMETER"
9090><I
9091>filename</I
9092></TT
9093>&nbsp;:</TD
9094><TD
9095WIDTH="80%"
9096ALIGN="LEFT"
9097VALIGN="TOP"
9098> the filename</TD
9099></TR
9100><TR
9101><TD
9102WIDTH="20%"
9103ALIGN="RIGHT"
9104VALIGN="TOP"
9105><I
9106CLASS="EMPHASIS"
9107>Returns</I
9108> :</TD
9109><TD
9110WIDTH="80%"
9111ALIGN="LEFT"
9112VALIGN="TOP"
9113>the resulting document tree</TD
9114></TR
9115></TBODY
9116></TABLE
9117><P
9118></P
9119></DIV
9120></DIV
9121><HR><DIV
9122CLASS="REFSECT2"
9123><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009124NAME="AEN2117"
Daniel Veillard06622df2002-01-21 17:53:42 +00009125></A
9126><H3
9127><A
9128NAME="XMLPARSEDTD"
9129></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009130>xmlParseDTD ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009131><TABLE
9132BORDER="0"
9133BGCOLOR="#D6E8FF"
9134WIDTH="100%"
9135CELLPADDING="6"
9136><TR
9137><TD
9138><PRE
9139CLASS="PROGRAMLISTING"
9140><A
9141HREF="libxml-tree.html#XMLDTDPTR"
9142>xmlDtdPtr</A
9143> xmlParseDTD (const <A
9144HREF="libxml-tree.html#XMLCHAR"
9145>xmlChar</A
9146> *ExternalID,
9147 const <A
9148HREF="libxml-tree.html#XMLCHAR"
9149>xmlChar</A
9150> *SystemID);</PRE
9151></TD
9152></TR
9153></TABLE
9154><P
9155>Load and parse an external subset.</P
9156><P
9157></P
9158><DIV
9159CLASS="INFORMALTABLE"
9160><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009161NAME="AEN2126"
Daniel Veillard06622df2002-01-21 17:53:42 +00009162></A
9163><P
9164></P
9165><TABLE
9166BORDER="0"
9167WIDTH="100%"
9168BGCOLOR="#FFD0D0"
9169CELLSPACING="0"
9170CELLPADDING="4"
9171CLASS="CALSTABLE"
9172><TBODY
9173><TR
9174><TD
9175WIDTH="20%"
9176ALIGN="RIGHT"
9177VALIGN="TOP"
9178><TT
9179CLASS="PARAMETER"
9180><I
9181>ExternalID</I
9182></TT
9183>&nbsp;:</TD
9184><TD
9185WIDTH="80%"
9186ALIGN="LEFT"
9187VALIGN="TOP"
9188> a NAME* containing the External ID of the DTD</TD
9189></TR
9190><TR
9191><TD
9192WIDTH="20%"
9193ALIGN="RIGHT"
9194VALIGN="TOP"
9195><TT
9196CLASS="PARAMETER"
9197><I
9198>SystemID</I
9199></TT
9200>&nbsp;:</TD
9201><TD
9202WIDTH="80%"
9203ALIGN="LEFT"
9204VALIGN="TOP"
9205> a NAME* containing the URL to the DTD</TD
9206></TR
9207><TR
9208><TD
9209WIDTH="20%"
9210ALIGN="RIGHT"
9211VALIGN="TOP"
9212><I
9213CLASS="EMPHASIS"
9214>Returns</I
9215> :</TD
9216><TD
9217WIDTH="80%"
9218ALIGN="LEFT"
9219VALIGN="TOP"
9220>the resulting xmlDtdPtr or NULL in case of error.</TD
9221></TR
9222></TBODY
9223></TABLE
9224><P
9225></P
9226></DIV
9227></DIV
9228><HR><DIV
9229CLASS="REFSECT2"
9230><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009231NAME="AEN2143"
Daniel Veillard06622df2002-01-21 17:53:42 +00009232></A
9233><H3
9234><A
9235NAME="XMLSAXPARSEDTD"
9236></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009237>xmlSAXParseDTD ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009238><TABLE
9239BORDER="0"
9240BGCOLOR="#D6E8FF"
9241WIDTH="100%"
9242CELLPADDING="6"
9243><TR
9244><TD
9245><PRE
9246CLASS="PROGRAMLISTING"
9247><A
9248HREF="libxml-tree.html#XMLDTDPTR"
9249>xmlDtdPtr</A
9250> xmlSAXParseDTD (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009251HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00009252>xmlSAXHandlerPtr</A
9253> sax,
9254 const <A
9255HREF="libxml-tree.html#XMLCHAR"
9256>xmlChar</A
9257> *ExternalID,
9258 const <A
9259HREF="libxml-tree.html#XMLCHAR"
9260>xmlChar</A
9261> *SystemID);</PRE
9262></TD
9263></TR
9264></TABLE
9265><P
9266>Load and parse an external subset.</P
9267><P
9268></P
9269><DIV
9270CLASS="INFORMALTABLE"
9271><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009272NAME="AEN2153"
Daniel Veillard06622df2002-01-21 17:53:42 +00009273></A
9274><P
9275></P
9276><TABLE
9277BORDER="0"
9278WIDTH="100%"
9279BGCOLOR="#FFD0D0"
9280CELLSPACING="0"
9281CELLPADDING="4"
9282CLASS="CALSTABLE"
9283><TBODY
9284><TR
9285><TD
9286WIDTH="20%"
9287ALIGN="RIGHT"
9288VALIGN="TOP"
9289><TT
9290CLASS="PARAMETER"
9291><I
9292>sax</I
9293></TT
9294>&nbsp;:</TD
9295><TD
9296WIDTH="80%"
9297ALIGN="LEFT"
9298VALIGN="TOP"
9299> the SAX handler block</TD
9300></TR
9301><TR
9302><TD
9303WIDTH="20%"
9304ALIGN="RIGHT"
9305VALIGN="TOP"
9306><TT
9307CLASS="PARAMETER"
9308><I
9309>ExternalID</I
9310></TT
9311>&nbsp;:</TD
9312><TD
9313WIDTH="80%"
9314ALIGN="LEFT"
9315VALIGN="TOP"
9316> a NAME* containing the External ID of the DTD</TD
9317></TR
9318><TR
9319><TD
9320WIDTH="20%"
9321ALIGN="RIGHT"
9322VALIGN="TOP"
9323><TT
9324CLASS="PARAMETER"
9325><I
9326>SystemID</I
9327></TT
9328>&nbsp;:</TD
9329><TD
9330WIDTH="80%"
9331ALIGN="LEFT"
9332VALIGN="TOP"
9333> a NAME* containing the URL to the DTD</TD
9334></TR
9335><TR
9336><TD
9337WIDTH="20%"
9338ALIGN="RIGHT"
9339VALIGN="TOP"
9340><I
9341CLASS="EMPHASIS"
9342>Returns</I
9343> :</TD
9344><TD
9345WIDTH="80%"
9346ALIGN="LEFT"
9347VALIGN="TOP"
9348>the resulting xmlDtdPtr or NULL in case of error.</TD
9349></TR
9350></TBODY
9351></TABLE
9352><P
9353></P
9354></DIV
9355></DIV
9356><HR><DIV
9357CLASS="REFSECT2"
9358><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009359NAME="AEN2174"
Daniel Veillard06622df2002-01-21 17:53:42 +00009360></A
9361><H3
9362><A
9363NAME="XMLIOPARSEDTD"
9364></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009365>xmlIOParseDTD ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009366><TABLE
9367BORDER="0"
9368BGCOLOR="#D6E8FF"
9369WIDTH="100%"
9370CELLPADDING="6"
9371><TR
9372><TD
9373><PRE
9374CLASS="PROGRAMLISTING"
9375><A
9376HREF="libxml-tree.html#XMLDTDPTR"
9377>xmlDtdPtr</A
9378> xmlIOParseDTD (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009379HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00009380>xmlSAXHandlerPtr</A
9381> sax,
9382 <A
9383HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
9384>xmlParserInputBufferPtr</A
9385> input,
9386 <A
9387HREF="libxml-encoding.html#XMLCHARENCODING"
9388>xmlCharEncoding</A
9389> enc);</PRE
9390></TD
9391></TR
9392></TABLE
9393><P
9394>Load and parse a DTD</P
9395><P
9396></P
9397><DIV
9398CLASS="INFORMALTABLE"
9399><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009400NAME="AEN2184"
Daniel Veillard06622df2002-01-21 17:53:42 +00009401></A
9402><P
9403></P
9404><TABLE
9405BORDER="0"
9406WIDTH="100%"
9407BGCOLOR="#FFD0D0"
9408CELLSPACING="0"
9409CELLPADDING="4"
9410CLASS="CALSTABLE"
9411><TBODY
9412><TR
9413><TD
9414WIDTH="20%"
9415ALIGN="RIGHT"
9416VALIGN="TOP"
9417><TT
9418CLASS="PARAMETER"
9419><I
9420>sax</I
9421></TT
9422>&nbsp;:</TD
9423><TD
9424WIDTH="80%"
9425ALIGN="LEFT"
9426VALIGN="TOP"
9427> the SAX handler block or NULL</TD
9428></TR
9429><TR
9430><TD
9431WIDTH="20%"
9432ALIGN="RIGHT"
9433VALIGN="TOP"
9434><TT
9435CLASS="PARAMETER"
9436><I
9437>input</I
9438></TT
9439>&nbsp;:</TD
9440><TD
9441WIDTH="80%"
9442ALIGN="LEFT"
9443VALIGN="TOP"
9444> an Input Buffer</TD
9445></TR
9446><TR
9447><TD
9448WIDTH="20%"
9449ALIGN="RIGHT"
9450VALIGN="TOP"
9451><TT
9452CLASS="PARAMETER"
9453><I
9454>enc</I
9455></TT
9456>&nbsp;:</TD
9457><TD
9458WIDTH="80%"
9459ALIGN="LEFT"
9460VALIGN="TOP"
9461> the charset encoding if known</TD
9462></TR
9463><TR
9464><TD
9465WIDTH="20%"
9466ALIGN="RIGHT"
9467VALIGN="TOP"
9468><I
9469CLASS="EMPHASIS"
9470>Returns</I
9471> :</TD
9472><TD
9473WIDTH="80%"
9474ALIGN="LEFT"
9475VALIGN="TOP"
9476>the resulting xmlDtdPtr or NULL in case of error.
9477<TT
9478CLASS="PARAMETER"
9479><I
9480>input</I
9481></TT
9482> will be freed at parsing end.</TD
9483></TR
9484></TBODY
9485></TABLE
9486><P
9487></P
9488></DIV
9489></DIV
9490><HR><DIV
9491CLASS="REFSECT2"
9492><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009493NAME="AEN2206"
Daniel Veillard06622df2002-01-21 17:53:42 +00009494></A
9495><H3
9496><A
9497NAME="XMLPARSEBALANCEDCHUNKMEMORY"
9498></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009499>xmlParseBalancedChunkMemory ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009500><TABLE
9501BORDER="0"
9502BGCOLOR="#D6E8FF"
9503WIDTH="100%"
9504CELLPADDING="6"
9505><TR
9506><TD
9507><PRE
9508CLASS="PROGRAMLISTING"
9509>int xmlParseBalancedChunkMemory (<A
9510HREF="libxml-tree.html#XMLDOCPTR"
9511>xmlDocPtr</A
9512> doc,
9513 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009514HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00009515>xmlSAXHandlerPtr</A
9516> sax,
9517 void *user_data,
9518 int depth,
9519 const <A
9520HREF="libxml-tree.html#XMLCHAR"
9521>xmlChar</A
9522> *string,
9523 <A
9524HREF="libxml-tree.html#XMLNODEPTR"
9525>xmlNodePtr</A
9526> *lst);</PRE
9527></TD
9528></TR
9529></TABLE
9530><P
9531>Parse a well-balanced chunk of an XML document
9532called by the parser
9533The allowed sequence for the Well Balanced Chunk is the one defined by
9534the content production in the XML grammar:</P
9535><P
9536>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
9537><P
9538></P
9539><DIV
9540CLASS="INFORMALTABLE"
9541><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009542NAME="AEN2217"
Daniel Veillard06622df2002-01-21 17:53:42 +00009543></A
9544><P
9545></P
9546><TABLE
9547BORDER="0"
9548WIDTH="100%"
9549BGCOLOR="#FFD0D0"
9550CELLSPACING="0"
9551CELLPADDING="4"
9552CLASS="CALSTABLE"
9553><TBODY
9554><TR
9555><TD
9556WIDTH="20%"
9557ALIGN="RIGHT"
9558VALIGN="TOP"
9559><TT
9560CLASS="PARAMETER"
9561><I
9562>doc</I
9563></TT
9564>&nbsp;:</TD
9565><TD
9566WIDTH="80%"
9567ALIGN="LEFT"
9568VALIGN="TOP"
9569> the document the chunk pertains to</TD
9570></TR
9571><TR
9572><TD
9573WIDTH="20%"
9574ALIGN="RIGHT"
9575VALIGN="TOP"
9576><TT
9577CLASS="PARAMETER"
9578><I
9579>sax</I
9580></TT
9581>&nbsp;:</TD
9582><TD
9583WIDTH="80%"
9584ALIGN="LEFT"
9585VALIGN="TOP"
9586> the SAX handler bloc (possibly NULL)</TD
9587></TR
9588><TR
9589><TD
9590WIDTH="20%"
9591ALIGN="RIGHT"
9592VALIGN="TOP"
9593><TT
9594CLASS="PARAMETER"
9595><I
9596>user_data</I
9597></TT
9598>&nbsp;:</TD
9599><TD
9600WIDTH="80%"
9601ALIGN="LEFT"
9602VALIGN="TOP"
9603> The user data returned on SAX callbacks (possibly NULL)</TD
9604></TR
9605><TR
9606><TD
9607WIDTH="20%"
9608ALIGN="RIGHT"
9609VALIGN="TOP"
9610><TT
9611CLASS="PARAMETER"
9612><I
9613>depth</I
9614></TT
9615>&nbsp;:</TD
9616><TD
9617WIDTH="80%"
9618ALIGN="LEFT"
9619VALIGN="TOP"
9620> Used for loop detection, use 0</TD
9621></TR
9622><TR
9623><TD
9624WIDTH="20%"
9625ALIGN="RIGHT"
9626VALIGN="TOP"
9627><TT
9628CLASS="PARAMETER"
9629><I
9630>string</I
9631></TT
9632>&nbsp;:</TD
9633><TD
9634WIDTH="80%"
9635ALIGN="LEFT"
9636VALIGN="TOP"
9637> the input string in UTF8 or ISO-Latin (zero terminated)</TD
9638></TR
9639><TR
9640><TD
9641WIDTH="20%"
9642ALIGN="RIGHT"
9643VALIGN="TOP"
9644><TT
9645CLASS="PARAMETER"
9646><I
9647>lst</I
9648></TT
9649>&nbsp;:</TD
9650><TD
9651WIDTH="80%"
9652ALIGN="LEFT"
9653VALIGN="TOP"
9654> the return value for the set of parsed nodes</TD
9655></TR
9656><TR
9657><TD
9658WIDTH="20%"
9659ALIGN="RIGHT"
9660VALIGN="TOP"
9661><I
9662CLASS="EMPHASIS"
9663>Returns</I
9664> :</TD
9665><TD
9666WIDTH="80%"
9667ALIGN="LEFT"
9668VALIGN="TOP"
9669>0 if the chunk is well balanced, -1 in case of args problem and
Daniel Veillardaf43f632002-03-08 15:05:20 +00009670the parser error code otherwise</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00009671></TR
9672></TBODY
9673></TABLE
9674><P
9675></P
9676></DIV
9677></DIV
9678><HR><DIV
9679CLASS="REFSECT2"
9680><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009681NAME="AEN2250"
Daniel Veillard06622df2002-01-21 17:53:42 +00009682></A
9683><H3
9684><A
9685NAME="XMLPARSEEXTERNALENTITY"
9686></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009687>xmlParseExternalEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009688><TABLE
9689BORDER="0"
9690BGCOLOR="#D6E8FF"
9691WIDTH="100%"
9692CELLPADDING="6"
9693><TR
9694><TD
9695><PRE
9696CLASS="PROGRAMLISTING"
9697>int xmlParseExternalEntity (<A
9698HREF="libxml-tree.html#XMLDOCPTR"
9699>xmlDocPtr</A
9700> doc,
9701 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009702HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +00009703>xmlSAXHandlerPtr</A
9704> sax,
9705 void *user_data,
9706 int depth,
9707 const <A
9708HREF="libxml-tree.html#XMLCHAR"
9709>xmlChar</A
9710> *URL,
9711 const <A
9712HREF="libxml-tree.html#XMLCHAR"
9713>xmlChar</A
9714> *ID,
9715 <A
9716HREF="libxml-tree.html#XMLNODEPTR"
9717>xmlNodePtr</A
9718> *lst);</PRE
9719></TD
9720></TR
9721></TABLE
9722><P
9723>Parse an external general entity
9724An external general parsed entity is well-formed if it matches the
9725production labeled extParsedEnt.</P
9726><P
9727>[78] extParsedEnt ::= TextDecl? content</P
9728><P
9729></P
9730><DIV
9731CLASS="INFORMALTABLE"
9732><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009733NAME="AEN2262"
Daniel Veillard06622df2002-01-21 17:53:42 +00009734></A
9735><P
9736></P
9737><TABLE
9738BORDER="0"
9739WIDTH="100%"
9740BGCOLOR="#FFD0D0"
9741CELLSPACING="0"
9742CELLPADDING="4"
9743CLASS="CALSTABLE"
9744><TBODY
9745><TR
9746><TD
9747WIDTH="20%"
9748ALIGN="RIGHT"
9749VALIGN="TOP"
9750><TT
9751CLASS="PARAMETER"
9752><I
9753>doc</I
9754></TT
9755>&nbsp;:</TD
9756><TD
9757WIDTH="80%"
9758ALIGN="LEFT"
9759VALIGN="TOP"
9760> the document the chunk pertains to</TD
9761></TR
9762><TR
9763><TD
9764WIDTH="20%"
9765ALIGN="RIGHT"
9766VALIGN="TOP"
9767><TT
9768CLASS="PARAMETER"
9769><I
9770>sax</I
9771></TT
9772>&nbsp;:</TD
9773><TD
9774WIDTH="80%"
9775ALIGN="LEFT"
9776VALIGN="TOP"
9777> the SAX handler bloc (possibly NULL)</TD
9778></TR
9779><TR
9780><TD
9781WIDTH="20%"
9782ALIGN="RIGHT"
9783VALIGN="TOP"
9784><TT
9785CLASS="PARAMETER"
9786><I
9787>user_data</I
9788></TT
9789>&nbsp;:</TD
9790><TD
9791WIDTH="80%"
9792ALIGN="LEFT"
9793VALIGN="TOP"
9794> The user data returned on SAX callbacks (possibly NULL)</TD
9795></TR
9796><TR
9797><TD
9798WIDTH="20%"
9799ALIGN="RIGHT"
9800VALIGN="TOP"
9801><TT
9802CLASS="PARAMETER"
9803><I
9804>depth</I
9805></TT
9806>&nbsp;:</TD
9807><TD
9808WIDTH="80%"
9809ALIGN="LEFT"
9810VALIGN="TOP"
9811> Used for loop detection, use 0</TD
9812></TR
9813><TR
9814><TD
9815WIDTH="20%"
9816ALIGN="RIGHT"
9817VALIGN="TOP"
9818><TT
9819CLASS="PARAMETER"
9820><I
9821>URL</I
9822></TT
9823>&nbsp;:</TD
9824><TD
9825WIDTH="80%"
9826ALIGN="LEFT"
9827VALIGN="TOP"
9828> the URL for the entity to load</TD
9829></TR
9830><TR
9831><TD
9832WIDTH="20%"
9833ALIGN="RIGHT"
9834VALIGN="TOP"
9835><TT
9836CLASS="PARAMETER"
9837><I
9838>ID</I
9839></TT
9840>&nbsp;:</TD
9841><TD
9842WIDTH="80%"
9843ALIGN="LEFT"
9844VALIGN="TOP"
9845> the System ID for the entity to load</TD
9846></TR
9847><TR
9848><TD
9849WIDTH="20%"
9850ALIGN="RIGHT"
9851VALIGN="TOP"
9852><TT
9853CLASS="PARAMETER"
9854><I
9855>lst</I
9856></TT
9857>&nbsp;:</TD
9858><TD
9859WIDTH="80%"
9860ALIGN="LEFT"
9861VALIGN="TOP"
9862> the return value for the set of parsed nodes</TD
9863></TR
9864><TR
9865><TD
9866WIDTH="20%"
9867ALIGN="RIGHT"
9868VALIGN="TOP"
9869><I
9870CLASS="EMPHASIS"
9871>Returns</I
9872> :</TD
9873><TD
9874WIDTH="80%"
9875ALIGN="LEFT"
9876VALIGN="TOP"
9877>0 if the entity is well formed, -1 in case of args problem and
Daniel Veillardaf43f632002-03-08 15:05:20 +00009878the parser error code otherwise</TD
Daniel Veillard06622df2002-01-21 17:53:42 +00009879></TR
9880></TBODY
9881></TABLE
9882><P
9883></P
9884></DIV
9885></DIV
9886><HR><DIV
9887CLASS="REFSECT2"
9888><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009889NAME="AEN2299"
Daniel Veillard06622df2002-01-21 17:53:42 +00009890></A
9891><H3
9892><A
9893NAME="XMLPARSECTXTEXTERNALENTITY"
9894></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009895>xmlParseCtxtExternalEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00009896><TABLE
9897BORDER="0"
9898BGCOLOR="#D6E8FF"
9899WIDTH="100%"
9900CELLPADDING="6"
9901><TR
9902><TD
9903><PRE
9904CLASS="PROGRAMLISTING"
9905>int xmlParseCtxtExternalEntity (<A
9906HREF="libxml-tree.html#XMLPARSERCTXTPTR"
9907>xmlParserCtxtPtr</A
9908> ctx,
9909 const <A
9910HREF="libxml-tree.html#XMLCHAR"
9911>xmlChar</A
9912> *URL,
9913 const <A
9914HREF="libxml-tree.html#XMLCHAR"
9915>xmlChar</A
9916> *ID,
9917 <A
9918HREF="libxml-tree.html#XMLNODEPTR"
9919>xmlNodePtr</A
9920> *lst);</PRE
9921></TD
9922></TR
9923></TABLE
9924><P
9925>Parse an external general entity within an existing parsing context
9926An external general parsed entity is well-formed if it matches the
9927production labeled extParsedEnt.</P
9928><P
9929>[78] extParsedEnt ::= TextDecl? content</P
9930><P
9931></P
9932><DIV
9933CLASS="INFORMALTABLE"
9934><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009935NAME="AEN2310"
Daniel Veillard06622df2002-01-21 17:53:42 +00009936></A
9937><P
9938></P
9939><TABLE
9940BORDER="0"
9941WIDTH="100%"
9942BGCOLOR="#FFD0D0"
9943CELLSPACING="0"
9944CELLPADDING="4"
9945CLASS="CALSTABLE"
9946><TBODY
9947><TR
9948><TD
9949WIDTH="20%"
9950ALIGN="RIGHT"
9951VALIGN="TOP"
9952><TT
9953CLASS="PARAMETER"
9954><I
9955>ctx</I
9956></TT
9957>&nbsp;:</TD
9958><TD
9959WIDTH="80%"
9960ALIGN="LEFT"
9961VALIGN="TOP"
9962> the existing parsing context</TD
9963></TR
9964><TR
9965><TD
9966WIDTH="20%"
9967ALIGN="RIGHT"
9968VALIGN="TOP"
9969><TT
9970CLASS="PARAMETER"
9971><I
9972>URL</I
9973></TT
9974>&nbsp;:</TD
9975><TD
9976WIDTH="80%"
9977ALIGN="LEFT"
9978VALIGN="TOP"
9979> the URL for the entity to load</TD
9980></TR
9981><TR
9982><TD
9983WIDTH="20%"
9984ALIGN="RIGHT"
9985VALIGN="TOP"
9986><TT
9987CLASS="PARAMETER"
9988><I
9989>ID</I
9990></TT
9991>&nbsp;:</TD
9992><TD
9993WIDTH="80%"
9994ALIGN="LEFT"
9995VALIGN="TOP"
9996> the System ID for the entity to load</TD
9997></TR
9998><TR
9999><TD
10000WIDTH="20%"
10001ALIGN="RIGHT"
10002VALIGN="TOP"
10003><TT
10004CLASS="PARAMETER"
10005><I
10006>lst</I
10007></TT
10008>&nbsp;:</TD
10009><TD
10010WIDTH="80%"
10011ALIGN="LEFT"
10012VALIGN="TOP"
10013> the return value for the set of parsed nodes</TD
10014></TR
10015><TR
10016><TD
10017WIDTH="20%"
10018ALIGN="RIGHT"
10019VALIGN="TOP"
10020><I
10021CLASS="EMPHASIS"
10022>Returns</I
10023> :</TD
10024><TD
10025WIDTH="80%"
10026ALIGN="LEFT"
10027VALIGN="TOP"
10028>0 if the entity is well formed, -1 in case of args problem and
Daniel Veillardaf43f632002-03-08 15:05:20 +000010029the parser error code otherwise</TD
Daniel Veillard06622df2002-01-21 17:53:42 +000010030></TR
10031></TBODY
10032></TABLE
10033><P
10034></P
10035></DIV
10036></DIV
10037><HR><DIV
10038CLASS="REFSECT2"
10039><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010040NAME="AEN2335"
Daniel Veillard06622df2002-01-21 17:53:42 +000010041></A
10042><H3
10043><A
10044NAME="XMLINITPARSERCTXT"
10045></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010046>xmlInitParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010047><TABLE
10048BORDER="0"
10049BGCOLOR="#D6E8FF"
10050WIDTH="100%"
10051CELLPADDING="6"
10052><TR
10053><TD
10054><PRE
10055CLASS="PROGRAMLISTING"
10056>void xmlInitParserCtxt (<A
10057HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10058>xmlParserCtxtPtr</A
10059> ctxt);</PRE
10060></TD
10061></TR
10062></TABLE
10063><P
10064>Initialize a parser context</P
10065><P
10066></P
10067><DIV
10068CLASS="INFORMALTABLE"
10069><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010070NAME="AEN2342"
Daniel Veillard06622df2002-01-21 17:53:42 +000010071></A
10072><P
10073></P
10074><TABLE
10075BORDER="0"
10076WIDTH="100%"
10077BGCOLOR="#FFD0D0"
10078CELLSPACING="0"
10079CELLPADDING="4"
10080CLASS="CALSTABLE"
10081><TBODY
10082><TR
10083><TD
10084WIDTH="20%"
10085ALIGN="RIGHT"
10086VALIGN="TOP"
10087><TT
10088CLASS="PARAMETER"
10089><I
10090>ctxt</I
10091></TT
10092>&nbsp;:</TD
10093><TD
10094WIDTH="80%"
10095ALIGN="LEFT"
10096VALIGN="TOP"
10097> an XML parser context</TD
10098></TR
10099></TBODY
10100></TABLE
10101><P
10102></P
10103></DIV
10104></DIV
10105><HR><DIV
10106CLASS="REFSECT2"
10107><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010108NAME="AEN2351"
Daniel Veillard06622df2002-01-21 17:53:42 +000010109></A
10110><H3
10111><A
10112NAME="XMLCLEARPARSERCTXT"
10113></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010114>xmlClearParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010115><TABLE
10116BORDER="0"
10117BGCOLOR="#D6E8FF"
10118WIDTH="100%"
10119CELLPADDING="6"
10120><TR
10121><TD
10122><PRE
10123CLASS="PROGRAMLISTING"
10124>void xmlClearParserCtxt (<A
10125HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10126>xmlParserCtxtPtr</A
10127> ctxt);</PRE
10128></TD
10129></TR
10130></TABLE
10131><P
10132>Clear (release owned resources) and reinitialize a parser context</P
10133><P
10134></P
10135><DIV
10136CLASS="INFORMALTABLE"
10137><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010138NAME="AEN2358"
Daniel Veillard06622df2002-01-21 17:53:42 +000010139></A
10140><P
10141></P
10142><TABLE
10143BORDER="0"
10144WIDTH="100%"
10145BGCOLOR="#FFD0D0"
10146CELLSPACING="0"
10147CELLPADDING="4"
10148CLASS="CALSTABLE"
10149><TBODY
10150><TR
10151><TD
10152WIDTH="20%"
10153ALIGN="RIGHT"
10154VALIGN="TOP"
10155><TT
10156CLASS="PARAMETER"
10157><I
10158>ctxt</I
10159></TT
10160>&nbsp;:</TD
10161><TD
10162WIDTH="80%"
10163ALIGN="LEFT"
10164VALIGN="TOP"
10165> an XML parser context</TD
10166></TR
10167></TBODY
10168></TABLE
10169><P
10170></P
10171></DIV
10172></DIV
10173><HR><DIV
10174CLASS="REFSECT2"
10175><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010176NAME="AEN2367"
Daniel Veillard06622df2002-01-21 17:53:42 +000010177></A
10178><H3
10179><A
10180NAME="XMLFREEPARSERCTXT"
10181></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010182>xmlFreeParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010183><TABLE
10184BORDER="0"
10185BGCOLOR="#D6E8FF"
10186WIDTH="100%"
10187CELLPADDING="6"
10188><TR
10189><TD
10190><PRE
10191CLASS="PROGRAMLISTING"
10192>void xmlFreeParserCtxt (<A
10193HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10194>xmlParserCtxtPtr</A
10195> ctxt);</PRE
10196></TD
10197></TR
10198></TABLE
10199><P
10200>Free all the memory used by a parser context. However the parsed
10201document in ctxt-&gt;myDoc is not freed.</P
10202><P
10203></P
10204><DIV
10205CLASS="INFORMALTABLE"
10206><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010207NAME="AEN2374"
Daniel Veillard06622df2002-01-21 17:53:42 +000010208></A
10209><P
10210></P
10211><TABLE
10212BORDER="0"
10213WIDTH="100%"
10214BGCOLOR="#FFD0D0"
10215CELLSPACING="0"
10216CELLPADDING="4"
10217CLASS="CALSTABLE"
10218><TBODY
10219><TR
10220><TD
10221WIDTH="20%"
10222ALIGN="RIGHT"
10223VALIGN="TOP"
10224><TT
10225CLASS="PARAMETER"
10226><I
10227>ctxt</I
10228></TT
10229>&nbsp;:</TD
10230><TD
10231WIDTH="80%"
10232ALIGN="LEFT"
10233VALIGN="TOP"
10234> an XML parser context</TD
10235></TR
10236></TBODY
10237></TABLE
10238><P
10239></P
10240></DIV
10241></DIV
10242><HR><DIV
10243CLASS="REFSECT2"
10244><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010245NAME="AEN2383"
Daniel Veillard06622df2002-01-21 17:53:42 +000010246></A
10247><H3
10248><A
10249NAME="XMLSETUPPARSERFORBUFFER"
10250></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010251>xmlSetupParserForBuffer ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010252><TABLE
10253BORDER="0"
10254BGCOLOR="#D6E8FF"
10255WIDTH="100%"
10256CELLPADDING="6"
10257><TR
10258><TD
10259><PRE
10260CLASS="PROGRAMLISTING"
10261>void xmlSetupParserForBuffer (<A
10262HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10263>xmlParserCtxtPtr</A
10264> ctxt,
10265 const <A
10266HREF="libxml-tree.html#XMLCHAR"
10267>xmlChar</A
10268> *buffer,
10269 const char *filename);</PRE
10270></TD
10271></TR
10272></TABLE
10273><P
10274>Setup the parser context to parse a new buffer; Clears any prior
10275contents from the parser context. The buffer parameter must not be
10276NULL, but the filename parameter can be</P
10277><P
10278></P
10279><DIV
10280CLASS="INFORMALTABLE"
10281><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010282NAME="AEN2391"
Daniel Veillard06622df2002-01-21 17:53:42 +000010283></A
10284><P
10285></P
10286><TABLE
10287BORDER="0"
10288WIDTH="100%"
10289BGCOLOR="#FFD0D0"
10290CELLSPACING="0"
10291CELLPADDING="4"
10292CLASS="CALSTABLE"
10293><TBODY
10294><TR
10295><TD
10296WIDTH="20%"
10297ALIGN="RIGHT"
10298VALIGN="TOP"
10299><TT
10300CLASS="PARAMETER"
10301><I
10302>ctxt</I
10303></TT
10304>&nbsp;:</TD
10305><TD
10306WIDTH="80%"
10307ALIGN="LEFT"
10308VALIGN="TOP"
10309> an XML parser context</TD
10310></TR
10311><TR
10312><TD
10313WIDTH="20%"
10314ALIGN="RIGHT"
10315VALIGN="TOP"
10316><TT
10317CLASS="PARAMETER"
10318><I
10319>buffer</I
10320></TT
10321>&nbsp;:</TD
10322><TD
10323WIDTH="80%"
10324ALIGN="LEFT"
10325VALIGN="TOP"
10326> a xmlChar * buffer</TD
10327></TR
10328><TR
10329><TD
10330WIDTH="20%"
10331ALIGN="RIGHT"
10332VALIGN="TOP"
10333><TT
10334CLASS="PARAMETER"
10335><I
10336>filename</I
10337></TT
10338>&nbsp;:</TD
10339><TD
10340WIDTH="80%"
10341ALIGN="LEFT"
10342VALIGN="TOP"
10343> a file name</TD
10344></TR
10345></TBODY
10346></TABLE
10347><P
10348></P
10349></DIV
10350></DIV
10351><HR><DIV
10352CLASS="REFSECT2"
10353><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010354NAME="AEN2408"
Daniel Veillard06622df2002-01-21 17:53:42 +000010355></A
10356><H3
10357><A
10358NAME="XMLCREATEDOCPARSERCTXT"
10359></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010360>xmlCreateDocParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010361><TABLE
10362BORDER="0"
10363BGCOLOR="#D6E8FF"
10364WIDTH="100%"
10365CELLPADDING="6"
10366><TR
10367><TD
10368><PRE
10369CLASS="PROGRAMLISTING"
10370><A
10371HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10372>xmlParserCtxtPtr</A
10373> xmlCreateDocParserCtxt (<A
10374HREF="libxml-tree.html#XMLCHAR"
10375>xmlChar</A
10376> *cur);</PRE
10377></TD
10378></TR
10379></TABLE
10380><P
10381>Creates a parser context for an XML in-memory document.</P
10382><P
10383></P
10384><DIV
10385CLASS="INFORMALTABLE"
10386><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010387NAME="AEN2416"
Daniel Veillard06622df2002-01-21 17:53:42 +000010388></A
10389><P
10390></P
10391><TABLE
10392BORDER="0"
10393WIDTH="100%"
10394BGCOLOR="#FFD0D0"
10395CELLSPACING="0"
10396CELLPADDING="4"
10397CLASS="CALSTABLE"
10398><TBODY
10399><TR
10400><TD
10401WIDTH="20%"
10402ALIGN="RIGHT"
10403VALIGN="TOP"
10404><TT
10405CLASS="PARAMETER"
10406><I
10407>cur</I
10408></TT
10409>&nbsp;:</TD
10410><TD
10411WIDTH="80%"
10412ALIGN="LEFT"
10413VALIGN="TOP"
10414> a pointer to an array of xmlChar</TD
10415></TR
10416><TR
10417><TD
10418WIDTH="20%"
10419ALIGN="RIGHT"
10420VALIGN="TOP"
10421><I
10422CLASS="EMPHASIS"
10423>Returns</I
10424> :</TD
10425><TD
10426WIDTH="80%"
10427ALIGN="LEFT"
10428VALIGN="TOP"
10429>the new parser context or NULL</TD
10430></TR
10431></TBODY
10432></TABLE
10433><P
10434></P
10435></DIV
10436></DIV
10437><HR><DIV
10438CLASS="REFSECT2"
10439><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010440NAME="AEN2429"
Daniel Veillard06622df2002-01-21 17:53:42 +000010441></A
10442><H3
10443><A
10444NAME="XMLGETFEATURESLIST"
10445></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010446>xmlGetFeaturesList ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010447><TABLE
10448BORDER="0"
10449BGCOLOR="#D6E8FF"
10450WIDTH="100%"
10451CELLPADDING="6"
10452><TR
10453><TD
10454><PRE
10455CLASS="PROGRAMLISTING"
10456>int xmlGetFeaturesList (int *len,
10457 const char **result);</PRE
10458></TD
10459></TR
10460></TABLE
10461><P
10462>Copy at most *<TT
10463CLASS="PARAMETER"
10464><I
10465>len</I
10466></TT
10467> feature names into the <TT
10468CLASS="PARAMETER"
10469><I
10470>result</I
10471></TT
10472> array</P
10473><P
10474></P
10475><DIV
10476CLASS="INFORMALTABLE"
10477><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010478NAME="AEN2437"
Daniel Veillard06622df2002-01-21 17:53:42 +000010479></A
10480><P
10481></P
10482><TABLE
10483BORDER="0"
10484WIDTH="100%"
10485BGCOLOR="#FFD0D0"
10486CELLSPACING="0"
10487CELLPADDING="4"
10488CLASS="CALSTABLE"
10489><TBODY
10490><TR
10491><TD
10492WIDTH="20%"
10493ALIGN="RIGHT"
10494VALIGN="TOP"
10495><TT
10496CLASS="PARAMETER"
10497><I
10498>len</I
10499></TT
10500>&nbsp;:</TD
10501><TD
10502WIDTH="80%"
10503ALIGN="LEFT"
10504VALIGN="TOP"
10505> the length of the features name array (input/output)</TD
10506></TR
10507><TR
10508><TD
10509WIDTH="20%"
10510ALIGN="RIGHT"
10511VALIGN="TOP"
10512><TT
10513CLASS="PARAMETER"
10514><I
10515>result</I
10516></TT
10517>&nbsp;:</TD
10518><TD
10519WIDTH="80%"
10520ALIGN="LEFT"
10521VALIGN="TOP"
10522> an array of string to be filled with the features name.</TD
10523></TR
10524><TR
10525><TD
10526WIDTH="20%"
10527ALIGN="RIGHT"
10528VALIGN="TOP"
10529><I
10530CLASS="EMPHASIS"
10531>Returns</I
10532> :</TD
10533><TD
10534WIDTH="80%"
10535ALIGN="LEFT"
10536VALIGN="TOP"
10537>-1 in case or error, or the total number of features,
Daniel Veillardaf43f632002-03-08 15:05:20 +000010538len is updated with the number of strings copied,
10539strings must not be deallocated</TD
Daniel Veillard06622df2002-01-21 17:53:42 +000010540></TR
10541></TBODY
10542></TABLE
10543><P
10544></P
10545></DIV
10546></DIV
10547><HR><DIV
10548CLASS="REFSECT2"
10549><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010550NAME="AEN2454"
Daniel Veillard06622df2002-01-21 17:53:42 +000010551></A
10552><H3
10553><A
10554NAME="XMLGETFEATURE"
10555></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010556>xmlGetFeature ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010557><TABLE
10558BORDER="0"
10559BGCOLOR="#D6E8FF"
10560WIDTH="100%"
10561CELLPADDING="6"
10562><TR
10563><TD
10564><PRE
10565CLASS="PROGRAMLISTING"
10566>int xmlGetFeature (<A
10567HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10568>xmlParserCtxtPtr</A
10569> ctxt,
10570 const char *name,
10571 void *result);</PRE
10572></TD
10573></TR
10574></TABLE
10575><P
10576>Read the current value of one feature of this parser instance</P
10577><P
10578></P
10579><DIV
10580CLASS="INFORMALTABLE"
10581><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010582NAME="AEN2461"
Daniel Veillard06622df2002-01-21 17:53:42 +000010583></A
10584><P
10585></P
10586><TABLE
10587BORDER="0"
10588WIDTH="100%"
10589BGCOLOR="#FFD0D0"
10590CELLSPACING="0"
10591CELLPADDING="4"
10592CLASS="CALSTABLE"
10593><TBODY
10594><TR
10595><TD
10596WIDTH="20%"
10597ALIGN="RIGHT"
10598VALIGN="TOP"
10599><TT
10600CLASS="PARAMETER"
10601><I
10602>ctxt</I
10603></TT
10604>&nbsp;:</TD
10605><TD
10606WIDTH="80%"
10607ALIGN="LEFT"
10608VALIGN="TOP"
10609> an XML/HTML parser context</TD
10610></TR
10611><TR
10612><TD
10613WIDTH="20%"
10614ALIGN="RIGHT"
10615VALIGN="TOP"
10616><TT
10617CLASS="PARAMETER"
10618><I
10619>name</I
10620></TT
10621>&nbsp;:</TD
10622><TD
10623WIDTH="80%"
10624ALIGN="LEFT"
10625VALIGN="TOP"
10626> the feature name</TD
10627></TR
10628><TR
10629><TD
10630WIDTH="20%"
10631ALIGN="RIGHT"
10632VALIGN="TOP"
10633><TT
10634CLASS="PARAMETER"
10635><I
10636>result</I
10637></TT
10638>&nbsp;:</TD
10639><TD
10640WIDTH="80%"
10641ALIGN="LEFT"
10642VALIGN="TOP"
10643> location to store the result</TD
10644></TR
10645><TR
10646><TD
10647WIDTH="20%"
10648ALIGN="RIGHT"
10649VALIGN="TOP"
10650><I
10651CLASS="EMPHASIS"
10652>Returns</I
10653> :</TD
10654><TD
10655WIDTH="80%"
10656ALIGN="LEFT"
10657VALIGN="TOP"
10658>-1 in case or error, 0 otherwise</TD
10659></TR
10660></TBODY
10661></TABLE
10662><P
10663></P
10664></DIV
10665></DIV
10666><HR><DIV
10667CLASS="REFSECT2"
10668><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010669NAME="AEN2482"
Daniel Veillard06622df2002-01-21 17:53:42 +000010670></A
10671><H3
10672><A
10673NAME="XMLSETFEATURE"
10674></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010675>xmlSetFeature ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010676><TABLE
10677BORDER="0"
10678BGCOLOR="#D6E8FF"
10679WIDTH="100%"
10680CELLPADDING="6"
10681><TR
10682><TD
10683><PRE
10684CLASS="PROGRAMLISTING"
10685>int xmlSetFeature (<A
10686HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10687>xmlParserCtxtPtr</A
10688> ctxt,
10689 const char *name,
10690 void *value);</PRE
10691></TD
10692></TR
10693></TABLE
10694><P
10695>Change the current value of one feature of this parser instance</P
10696><P
10697></P
10698><DIV
10699CLASS="INFORMALTABLE"
10700><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010701NAME="AEN2489"
Daniel Veillard06622df2002-01-21 17:53:42 +000010702></A
10703><P
10704></P
10705><TABLE
10706BORDER="0"
10707WIDTH="100%"
10708BGCOLOR="#FFD0D0"
10709CELLSPACING="0"
10710CELLPADDING="4"
10711CLASS="CALSTABLE"
10712><TBODY
10713><TR
10714><TD
10715WIDTH="20%"
10716ALIGN="RIGHT"
10717VALIGN="TOP"
10718><TT
10719CLASS="PARAMETER"
10720><I
10721>ctxt</I
10722></TT
10723>&nbsp;:</TD
10724><TD
10725WIDTH="80%"
10726ALIGN="LEFT"
10727VALIGN="TOP"
10728> an XML/HTML parser context</TD
10729></TR
10730><TR
10731><TD
10732WIDTH="20%"
10733ALIGN="RIGHT"
10734VALIGN="TOP"
10735><TT
10736CLASS="PARAMETER"
10737><I
10738>name</I
10739></TT
10740>&nbsp;:</TD
10741><TD
10742WIDTH="80%"
10743ALIGN="LEFT"
10744VALIGN="TOP"
10745> the feature name</TD
10746></TR
10747><TR
10748><TD
10749WIDTH="20%"
10750ALIGN="RIGHT"
10751VALIGN="TOP"
10752><TT
10753CLASS="PARAMETER"
10754><I
10755>value</I
10756></TT
10757>&nbsp;:</TD
10758><TD
10759WIDTH="80%"
10760ALIGN="LEFT"
10761VALIGN="TOP"
10762> pointer to the location of the new value</TD
10763></TR
10764><TR
10765><TD
10766WIDTH="20%"
10767ALIGN="RIGHT"
10768VALIGN="TOP"
10769><I
10770CLASS="EMPHASIS"
10771>Returns</I
10772> :</TD
10773><TD
10774WIDTH="80%"
10775ALIGN="LEFT"
10776VALIGN="TOP"
10777>-1 in case or error, 0 otherwise</TD
10778></TR
10779></TBODY
10780></TABLE
10781><P
10782></P
10783></DIV
10784></DIV
10785><HR><DIV
10786CLASS="REFSECT2"
10787><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010788NAME="AEN2510"
Daniel Veillard06622df2002-01-21 17:53:42 +000010789></A
10790><H3
10791><A
10792NAME="XMLCREATEPUSHPARSERCTXT"
10793></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010794>xmlCreatePushParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010795><TABLE
10796BORDER="0"
10797BGCOLOR="#D6E8FF"
10798WIDTH="100%"
10799CELLPADDING="6"
10800><TR
10801><TD
10802><PRE
10803CLASS="PROGRAMLISTING"
10804><A
10805HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10806>xmlParserCtxtPtr</A
10807> xmlCreatePushParserCtxt (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010808HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +000010809>xmlSAXHandlerPtr</A
10810> sax,
10811 void *user_data,
10812 const char *chunk,
10813 int size,
10814 const char *filename);</PRE
10815></TD
10816></TR
10817></TABLE
10818><P
10819>Create a parser context for using the XML parser in push mode
10820To allow content encoding detection, <TT
10821CLASS="PARAMETER"
10822><I
10823>size</I
10824></TT
10825> should be &gt;= 4
10826The value of <TT
10827CLASS="PARAMETER"
10828><I
10829>filename</I
10830></TT
10831> is used for fetching external entities
10832and error/warning reports.</P
10833><P
10834></P
10835><DIV
10836CLASS="INFORMALTABLE"
10837><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010838NAME="AEN2520"
Daniel Veillard06622df2002-01-21 17:53:42 +000010839></A
10840><P
10841></P
10842><TABLE
10843BORDER="0"
10844WIDTH="100%"
10845BGCOLOR="#FFD0D0"
10846CELLSPACING="0"
10847CELLPADDING="4"
10848CLASS="CALSTABLE"
10849><TBODY
10850><TR
10851><TD
10852WIDTH="20%"
10853ALIGN="RIGHT"
10854VALIGN="TOP"
10855><TT
10856CLASS="PARAMETER"
10857><I
10858>sax</I
10859></TT
10860>&nbsp;:</TD
10861><TD
10862WIDTH="80%"
10863ALIGN="LEFT"
10864VALIGN="TOP"
10865> a SAX handler</TD
10866></TR
10867><TR
10868><TD
10869WIDTH="20%"
10870ALIGN="RIGHT"
10871VALIGN="TOP"
10872><TT
10873CLASS="PARAMETER"
10874><I
10875>user_data</I
10876></TT
10877>&nbsp;:</TD
10878><TD
10879WIDTH="80%"
10880ALIGN="LEFT"
10881VALIGN="TOP"
10882> The user data returned on SAX callbacks</TD
10883></TR
10884><TR
10885><TD
10886WIDTH="20%"
10887ALIGN="RIGHT"
10888VALIGN="TOP"
10889><TT
10890CLASS="PARAMETER"
10891><I
10892>chunk</I
10893></TT
10894>&nbsp;:</TD
10895><TD
10896WIDTH="80%"
10897ALIGN="LEFT"
10898VALIGN="TOP"
10899> a pointer to an array of chars</TD
10900></TR
10901><TR
10902><TD
10903WIDTH="20%"
10904ALIGN="RIGHT"
10905VALIGN="TOP"
10906><TT
10907CLASS="PARAMETER"
10908><I
10909>size</I
10910></TT
10911>&nbsp;:</TD
10912><TD
10913WIDTH="80%"
10914ALIGN="LEFT"
10915VALIGN="TOP"
10916> number of chars in the array</TD
10917></TR
10918><TR
10919><TD
10920WIDTH="20%"
10921ALIGN="RIGHT"
10922VALIGN="TOP"
10923><TT
10924CLASS="PARAMETER"
10925><I
10926>filename</I
10927></TT
10928>&nbsp;:</TD
10929><TD
10930WIDTH="80%"
10931ALIGN="LEFT"
10932VALIGN="TOP"
10933> an optional file name or URI</TD
10934></TR
10935><TR
10936><TD
10937WIDTH="20%"
10938ALIGN="RIGHT"
10939VALIGN="TOP"
10940><I
10941CLASS="EMPHASIS"
10942>Returns</I
10943> :</TD
10944><TD
10945WIDTH="80%"
10946ALIGN="LEFT"
10947VALIGN="TOP"
10948>the new parser context or NULL</TD
10949></TR
10950></TBODY
10951></TABLE
10952><P
10953></P
10954></DIV
10955></DIV
10956><HR><DIV
10957CLASS="REFSECT2"
10958><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010959NAME="AEN2549"
Daniel Veillard06622df2002-01-21 17:53:42 +000010960></A
10961><H3
10962><A
10963NAME="XMLPARSECHUNK"
10964></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010965>xmlParseChunk ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000010966><TABLE
10967BORDER="0"
10968BGCOLOR="#D6E8FF"
10969WIDTH="100%"
10970CELLPADDING="6"
10971><TR
10972><TD
10973><PRE
10974CLASS="PROGRAMLISTING"
10975>int xmlParseChunk (<A
10976HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10977>xmlParserCtxtPtr</A
10978> ctxt,
10979 const char *chunk,
10980 int size,
10981 int terminate);</PRE
10982></TD
10983></TR
10984></TABLE
10985><P
10986>Parse a Chunk of memory</P
10987><P
10988></P
10989><DIV
10990CLASS="INFORMALTABLE"
10991><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010992NAME="AEN2556"
Daniel Veillard06622df2002-01-21 17:53:42 +000010993></A
10994><P
10995></P
10996><TABLE
10997BORDER="0"
10998WIDTH="100%"
10999BGCOLOR="#FFD0D0"
11000CELLSPACING="0"
11001CELLPADDING="4"
11002CLASS="CALSTABLE"
11003><TBODY
11004><TR
11005><TD
11006WIDTH="20%"
11007ALIGN="RIGHT"
11008VALIGN="TOP"
11009><TT
11010CLASS="PARAMETER"
11011><I
11012>ctxt</I
11013></TT
11014>&nbsp;:</TD
11015><TD
11016WIDTH="80%"
11017ALIGN="LEFT"
11018VALIGN="TOP"
11019> an XML parser context</TD
11020></TR
11021><TR
11022><TD
11023WIDTH="20%"
11024ALIGN="RIGHT"
11025VALIGN="TOP"
11026><TT
11027CLASS="PARAMETER"
11028><I
11029>chunk</I
11030></TT
11031>&nbsp;:</TD
11032><TD
11033WIDTH="80%"
11034ALIGN="LEFT"
11035VALIGN="TOP"
11036> an char array</TD
11037></TR
11038><TR
11039><TD
11040WIDTH="20%"
11041ALIGN="RIGHT"
11042VALIGN="TOP"
11043><TT
11044CLASS="PARAMETER"
11045><I
11046>size</I
11047></TT
11048>&nbsp;:</TD
11049><TD
11050WIDTH="80%"
11051ALIGN="LEFT"
11052VALIGN="TOP"
11053> the size in byte of the chunk</TD
11054></TR
11055><TR
11056><TD
11057WIDTH="20%"
11058ALIGN="RIGHT"
11059VALIGN="TOP"
11060><TT
11061CLASS="PARAMETER"
11062><I
11063>terminate</I
11064></TT
11065>&nbsp;:</TD
11066><TD
11067WIDTH="80%"
11068ALIGN="LEFT"
11069VALIGN="TOP"
11070> last chunk indicator</TD
11071></TR
11072><TR
11073><TD
11074WIDTH="20%"
11075ALIGN="RIGHT"
11076VALIGN="TOP"
11077><I
11078CLASS="EMPHASIS"
11079>Returns</I
11080> :</TD
11081><TD
11082WIDTH="80%"
11083ALIGN="LEFT"
11084VALIGN="TOP"
11085>zero if no error, the xmlParserErrors otherwise.</TD
11086></TR
11087></TBODY
11088></TABLE
11089><P
11090></P
11091></DIV
11092></DIV
11093><HR><DIV
11094CLASS="REFSECT2"
11095><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011096NAME="AEN2581"
Daniel Veillard06622df2002-01-21 17:53:42 +000011097></A
11098><H3
11099><A
11100NAME="XMLCREATEIOPARSERCTXT"
11101></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011102>xmlCreateIOParserCtxt ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011103><TABLE
11104BORDER="0"
11105BGCOLOR="#D6E8FF"
11106WIDTH="100%"
11107CELLPADDING="6"
11108><TR
11109><TD
11110><PRE
11111CLASS="PROGRAMLISTING"
11112><A
11113HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11114>xmlParserCtxtPtr</A
11115> xmlCreateIOParserCtxt (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011116HREF="libxml-tree.html#XMLSAXHANDLERPTR"
Daniel Veillard06622df2002-01-21 17:53:42 +000011117>xmlSAXHandlerPtr</A
11118> sax,
11119 void *user_data,
11120 <A
11121HREF="libxml-xmlio.html#XMLINPUTREADCALLBACK"
11122>xmlInputReadCallback</A
11123> ioread,
11124 <A
11125HREF="libxml-xmlio.html#XMLINPUTCLOSECALLBACK"
11126>xmlInputCloseCallback</A
11127> ioclose,
11128 void *ioctx,
11129 <A
11130HREF="libxml-encoding.html#XMLCHARENCODING"
11131>xmlCharEncoding</A
11132> enc);</PRE
11133></TD
11134></TR
11135></TABLE
11136><P
11137>Create a parser context for using the XML parser with an existing
11138I/O stream</P
11139><P
11140></P
11141><DIV
11142CLASS="INFORMALTABLE"
11143><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011144NAME="AEN2592"
Daniel Veillard06622df2002-01-21 17:53:42 +000011145></A
11146><P
11147></P
11148><TABLE
11149BORDER="0"
11150WIDTH="100%"
11151BGCOLOR="#FFD0D0"
11152CELLSPACING="0"
11153CELLPADDING="4"
11154CLASS="CALSTABLE"
11155><TBODY
11156><TR
11157><TD
11158WIDTH="20%"
11159ALIGN="RIGHT"
11160VALIGN="TOP"
11161><TT
11162CLASS="PARAMETER"
11163><I
11164>sax</I
11165></TT
11166>&nbsp;:</TD
11167><TD
11168WIDTH="80%"
11169ALIGN="LEFT"
11170VALIGN="TOP"
11171> a SAX handler</TD
11172></TR
11173><TR
11174><TD
11175WIDTH="20%"
11176ALIGN="RIGHT"
11177VALIGN="TOP"
11178><TT
11179CLASS="PARAMETER"
11180><I
11181>user_data</I
11182></TT
11183>&nbsp;:</TD
11184><TD
11185WIDTH="80%"
11186ALIGN="LEFT"
11187VALIGN="TOP"
11188> The user data returned on SAX callbacks</TD
11189></TR
11190><TR
11191><TD
11192WIDTH="20%"
11193ALIGN="RIGHT"
11194VALIGN="TOP"
11195><TT
11196CLASS="PARAMETER"
11197><I
11198>ioread</I
11199></TT
11200>&nbsp;:</TD
11201><TD
11202WIDTH="80%"
11203ALIGN="LEFT"
11204VALIGN="TOP"
11205> an I/O read function</TD
11206></TR
11207><TR
11208><TD
11209WIDTH="20%"
11210ALIGN="RIGHT"
11211VALIGN="TOP"
11212><TT
11213CLASS="PARAMETER"
11214><I
11215>ioclose</I
11216></TT
11217>&nbsp;:</TD
11218><TD
11219WIDTH="80%"
11220ALIGN="LEFT"
11221VALIGN="TOP"
11222> an I/O close function</TD
11223></TR
11224><TR
11225><TD
11226WIDTH="20%"
11227ALIGN="RIGHT"
11228VALIGN="TOP"
11229><TT
11230CLASS="PARAMETER"
11231><I
11232>ioctx</I
11233></TT
11234>&nbsp;:</TD
11235><TD
11236WIDTH="80%"
11237ALIGN="LEFT"
11238VALIGN="TOP"
11239> an I/O handler</TD
11240></TR
11241><TR
11242><TD
11243WIDTH="20%"
11244ALIGN="RIGHT"
11245VALIGN="TOP"
11246><TT
11247CLASS="PARAMETER"
11248><I
11249>enc</I
11250></TT
11251>&nbsp;:</TD
11252><TD
11253WIDTH="80%"
11254ALIGN="LEFT"
11255VALIGN="TOP"
11256> the charset encoding if known</TD
11257></TR
11258><TR
11259><TD
11260WIDTH="20%"
11261ALIGN="RIGHT"
11262VALIGN="TOP"
11263><I
11264CLASS="EMPHASIS"
11265>Returns</I
11266> :</TD
11267><TD
11268WIDTH="80%"
11269ALIGN="LEFT"
11270VALIGN="TOP"
11271>the new parser context or NULL</TD
11272></TR
11273></TBODY
11274></TABLE
11275><P
11276></P
11277></DIV
11278></DIV
11279><HR><DIV
11280CLASS="REFSECT2"
11281><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011282NAME="AEN2625"
Daniel Veillard06622df2002-01-21 17:53:42 +000011283></A
11284><H3
11285><A
11286NAME="XMLNEWIOINPUTSTREAM"
11287></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011288>xmlNewIOInputStream ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011289><TABLE
11290BORDER="0"
11291BGCOLOR="#D6E8FF"
11292WIDTH="100%"
11293CELLPADDING="6"
11294><TR
11295><TD
11296><PRE
11297CLASS="PROGRAMLISTING"
11298><A
11299HREF="libxml-tree.html#XMLPARSERINPUTPTR"
11300>xmlParserInputPtr</A
11301> xmlNewIOInputStream (<A
11302HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11303>xmlParserCtxtPtr</A
11304> ctxt,
11305 <A
11306HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
11307>xmlParserInputBufferPtr</A
11308> input,
11309 <A
11310HREF="libxml-encoding.html#XMLCHARENCODING"
11311>xmlCharEncoding</A
11312> enc);</PRE
11313></TD
11314></TR
11315></TABLE
11316><P
11317>Create a new input stream structure encapsulating the <TT
11318CLASS="PARAMETER"
11319><I
11320>input</I
11321></TT
11322> into
11323a stream suitable for the parser.</P
11324><P
11325></P
11326><DIV
11327CLASS="INFORMALTABLE"
11328><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011329NAME="AEN2636"
Daniel Veillard06622df2002-01-21 17:53:42 +000011330></A
11331><P
11332></P
11333><TABLE
11334BORDER="0"
11335WIDTH="100%"
11336BGCOLOR="#FFD0D0"
11337CELLSPACING="0"
11338CELLPADDING="4"
11339CLASS="CALSTABLE"
11340><TBODY
11341><TR
11342><TD
11343WIDTH="20%"
11344ALIGN="RIGHT"
11345VALIGN="TOP"
11346><TT
11347CLASS="PARAMETER"
11348><I
11349>ctxt</I
11350></TT
11351>&nbsp;:</TD
11352><TD
11353WIDTH="80%"
11354ALIGN="LEFT"
11355VALIGN="TOP"
11356> an XML parser context</TD
11357></TR
11358><TR
11359><TD
11360WIDTH="20%"
11361ALIGN="RIGHT"
11362VALIGN="TOP"
11363><TT
11364CLASS="PARAMETER"
11365><I
11366>input</I
11367></TT
11368>&nbsp;:</TD
11369><TD
11370WIDTH="80%"
11371ALIGN="LEFT"
11372VALIGN="TOP"
11373> an I/O Input</TD
11374></TR
11375><TR
11376><TD
11377WIDTH="20%"
11378ALIGN="RIGHT"
11379VALIGN="TOP"
11380><TT
11381CLASS="PARAMETER"
11382><I
11383>enc</I
11384></TT
11385>&nbsp;:</TD
11386><TD
11387WIDTH="80%"
11388ALIGN="LEFT"
11389VALIGN="TOP"
11390> the charset encoding if known</TD
11391></TR
11392><TR
11393><TD
11394WIDTH="20%"
11395ALIGN="RIGHT"
11396VALIGN="TOP"
11397><I
11398CLASS="EMPHASIS"
11399>Returns</I
11400> :</TD
11401><TD
11402WIDTH="80%"
11403ALIGN="LEFT"
11404VALIGN="TOP"
11405>the new input stream or NULL</TD
11406></TR
11407></TBODY
11408></TABLE
11409><P
11410></P
11411></DIV
11412></DIV
11413><HR><DIV
11414CLASS="REFSECT2"
11415><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011416NAME="AEN2657"
Daniel Veillard06622df2002-01-21 17:53:42 +000011417></A
11418><H3
11419><A
11420NAME="XMLPARSERFINDNODEINFO"
11421></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011422>xmlParserFindNodeInfo ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011423><TABLE
11424BORDER="0"
11425BGCOLOR="#D6E8FF"
11426WIDTH="100%"
11427CELLPADDING="6"
11428><TR
11429><TD
11430><PRE
11431CLASS="PROGRAMLISTING"
11432>const <A
11433HREF="libxml-parser.html#XMLPARSERNODEINFO"
11434>xmlParserNodeInfo</A
11435>* xmlParserFindNodeInfo
11436 (const <A
11437HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11438>xmlParserCtxtPtr</A
11439> ctxt,
11440 const <A
11441HREF="libxml-tree.html#XMLNODEPTR"
11442>xmlNodePtr</A
11443> node);</PRE
11444></TD
11445></TR
11446></TABLE
11447><P
11448>Find the parser node info struct for a given node</P
11449><P
11450></P
11451><DIV
11452CLASS="INFORMALTABLE"
11453><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011454NAME="AEN2666"
Daniel Veillard06622df2002-01-21 17:53:42 +000011455></A
11456><P
11457></P
11458><TABLE
11459BORDER="0"
11460WIDTH="100%"
11461BGCOLOR="#FFD0D0"
11462CELLSPACING="0"
11463CELLPADDING="4"
11464CLASS="CALSTABLE"
11465><TBODY
11466><TR
11467><TD
11468WIDTH="20%"
11469ALIGN="RIGHT"
11470VALIGN="TOP"
11471><TT
11472CLASS="PARAMETER"
11473><I
11474>ctxt</I
11475></TT
11476>&nbsp;:</TD
11477><TD
11478WIDTH="80%"
11479ALIGN="LEFT"
11480VALIGN="TOP"
11481> an XML parser context</TD
11482></TR
11483><TR
11484><TD
11485WIDTH="20%"
11486ALIGN="RIGHT"
11487VALIGN="TOP"
11488><TT
11489CLASS="PARAMETER"
11490><I
11491>node</I
11492></TT
11493>&nbsp;:</TD
11494><TD
11495WIDTH="80%"
11496ALIGN="LEFT"
11497VALIGN="TOP"
11498> an XML node within the tree</TD
11499></TR
11500><TR
11501><TD
11502WIDTH="20%"
11503ALIGN="RIGHT"
11504VALIGN="TOP"
11505><I
11506CLASS="EMPHASIS"
11507>Returns</I
11508> :</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 Veillard5f4b5992002-02-20 10:22:49 +000011554NAME="AEN2690"
Daniel Veillard06622df2002-01-21 17:53:42 +000011555></A
11556><P
11557></P
11558><TABLE
11559BORDER="0"
11560WIDTH="100%"
11561BGCOLOR="#FFD0D0"
11562CELLSPACING="0"
11563CELLPADDING="4"
11564CLASS="CALSTABLE"
11565><TBODY
11566><TR
11567><TD
11568WIDTH="20%"
11569ALIGN="RIGHT"
11570VALIGN="TOP"
11571><TT
11572CLASS="PARAMETER"
11573><I
11574>seq</I
11575></TT
11576>&nbsp;:</TD
11577><TD
11578WIDTH="80%"
11579ALIGN="LEFT"
11580VALIGN="TOP"
11581> a node info sequence pointer</TD
11582></TR
11583></TBODY
11584></TABLE
11585><P
11586></P
11587></DIV
11588></DIV
11589><HR><DIV
11590CLASS="REFSECT2"
11591><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011592NAME="AEN2699"
Daniel Veillard06622df2002-01-21 17:53:42 +000011593></A
11594><H3
11595><A
11596NAME="XMLCLEARNODEINFOSEQ"
11597></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011598>xmlClearNodeInfoSeq ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011599><TABLE
11600BORDER="0"
11601BGCOLOR="#D6E8FF"
11602WIDTH="100%"
11603CELLPADDING="6"
11604><TR
11605><TD
11606><PRE
11607CLASS="PROGRAMLISTING"
11608>void xmlClearNodeInfoSeq (<A
11609HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
11610>xmlParserNodeInfoSeqPtr</A
11611> seq);</PRE
11612></TD
11613></TR
11614></TABLE
11615><P
11616>-- Clear (release memory and reinitialize) node
Daniel Veillardaf43f632002-03-08 15:05:20 +000011617info sequence</P
Daniel Veillard06622df2002-01-21 17:53:42 +000011618><P
11619></P
11620><DIV
11621CLASS="INFORMALTABLE"
11622><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011623NAME="AEN2706"
Daniel Veillard06622df2002-01-21 17:53:42 +000011624></A
11625><P
11626></P
11627><TABLE
11628BORDER="0"
11629WIDTH="100%"
11630BGCOLOR="#FFD0D0"
11631CELLSPACING="0"
11632CELLPADDING="4"
11633CLASS="CALSTABLE"
11634><TBODY
11635><TR
11636><TD
11637WIDTH="20%"
11638ALIGN="RIGHT"
11639VALIGN="TOP"
11640><TT
11641CLASS="PARAMETER"
11642><I
11643>seq</I
11644></TT
11645>&nbsp;:</TD
11646><TD
11647WIDTH="80%"
11648ALIGN="LEFT"
11649VALIGN="TOP"
11650> a node info sequence pointer</TD
11651></TR
11652></TBODY
11653></TABLE
11654><P
11655></P
11656></DIV
11657></DIV
11658><HR><DIV
11659CLASS="REFSECT2"
11660><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011661NAME="AEN2715"
Daniel Veillard06622df2002-01-21 17:53:42 +000011662></A
11663><H3
11664><A
11665NAME="XMLPARSERFINDNODEINFOINDEX"
11666></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011667>xmlParserFindNodeInfoIndex ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011668><TABLE
11669BORDER="0"
11670BGCOLOR="#D6E8FF"
11671WIDTH="100%"
11672CELLPADDING="6"
11673><TR
11674><TD
11675><PRE
11676CLASS="PROGRAMLISTING"
11677>unsigned <GTKDOCLINK
11678HREF="LONG"
11679>long</GTKDOCLINK
11680> xmlParserFindNodeInfoIndex (const <A
11681HREF="libxml-parser.html#XMLPARSERNODEINFOSEQPTR"
11682>xmlParserNodeInfoSeqPtr</A
11683> seq,
11684 const <A
11685HREF="libxml-tree.html#XMLNODEPTR"
11686>xmlNodePtr</A
11687> node);</PRE
11688></TD
11689></TR
11690></TABLE
11691><P
11692>xmlParserFindNodeInfoIndex : Find the index that the info record for
Daniel Veillardaf43f632002-03-08 15:05:20 +000011693the given node is or should be at in a sorted sequence</P
Daniel Veillard06622df2002-01-21 17:53:42 +000011694><P
11695></P
11696><DIV
11697CLASS="INFORMALTABLE"
11698><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011699NAME="AEN2724"
Daniel Veillard06622df2002-01-21 17:53:42 +000011700></A
11701><P
11702></P
11703><TABLE
11704BORDER="0"
11705WIDTH="100%"
11706BGCOLOR="#FFD0D0"
11707CELLSPACING="0"
11708CELLPADDING="4"
11709CLASS="CALSTABLE"
11710><TBODY
11711><TR
11712><TD
11713WIDTH="20%"
11714ALIGN="RIGHT"
11715VALIGN="TOP"
11716><TT
11717CLASS="PARAMETER"
11718><I
11719>seq</I
11720></TT
11721>&nbsp;:</TD
11722><TD
11723WIDTH="80%"
11724ALIGN="LEFT"
11725VALIGN="TOP"
11726> a node info sequence pointer</TD
11727></TR
11728><TR
11729><TD
11730WIDTH="20%"
11731ALIGN="RIGHT"
11732VALIGN="TOP"
11733><TT
11734CLASS="PARAMETER"
11735><I
11736>node</I
11737></TT
11738>&nbsp;:</TD
11739><TD
11740WIDTH="80%"
11741ALIGN="LEFT"
11742VALIGN="TOP"
11743> an XML node pointer</TD
11744></TR
11745><TR
11746><TD
11747WIDTH="20%"
11748ALIGN="RIGHT"
11749VALIGN="TOP"
11750><I
11751CLASS="EMPHASIS"
11752>Returns</I
11753> :</TD
11754><TD
11755WIDTH="80%"
11756ALIGN="LEFT"
11757VALIGN="TOP"
11758>a long indicating the position of the record</TD
11759></TR
11760></TBODY
11761></TABLE
11762><P
11763></P
11764></DIV
11765></DIV
11766><HR><DIV
11767CLASS="REFSECT2"
11768><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011769NAME="AEN2741"
Daniel Veillard06622df2002-01-21 17:53:42 +000011770></A
11771><H3
11772><A
11773NAME="XMLPARSERADDNODEINFO"
11774></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011775>xmlParserAddNodeInfo ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011776><TABLE
11777BORDER="0"
11778BGCOLOR="#D6E8FF"
11779WIDTH="100%"
11780CELLPADDING="6"
11781><TR
11782><TD
11783><PRE
11784CLASS="PROGRAMLISTING"
11785>void xmlParserAddNodeInfo (<A
11786HREF="libxml-tree.html#XMLPARSERCTXTPTR"
11787>xmlParserCtxtPtr</A
11788> ctxt,
11789 const <A
11790HREF="libxml-parser.html#XMLPARSERNODEINFOPTR"
11791>xmlParserNodeInfoPtr</A
11792> info);</PRE
11793></TD
11794></TR
11795></TABLE
11796><P
11797>Insert node info record into the sorted sequence</P
11798><P
11799></P
11800><DIV
11801CLASS="INFORMALTABLE"
11802><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011803NAME="AEN2749"
Daniel Veillard06622df2002-01-21 17:53:42 +000011804></A
11805><P
11806></P
11807><TABLE
11808BORDER="0"
11809WIDTH="100%"
11810BGCOLOR="#FFD0D0"
11811CELLSPACING="0"
11812CELLPADDING="4"
11813CLASS="CALSTABLE"
11814><TBODY
11815><TR
11816><TD
11817WIDTH="20%"
11818ALIGN="RIGHT"
11819VALIGN="TOP"
11820><TT
11821CLASS="PARAMETER"
11822><I
11823>ctxt</I
11824></TT
11825>&nbsp;:</TD
11826><TD
11827WIDTH="80%"
11828ALIGN="LEFT"
11829VALIGN="TOP"
11830> an XML parser context</TD
11831></TR
11832><TR
11833><TD
11834WIDTH="20%"
11835ALIGN="RIGHT"
11836VALIGN="TOP"
11837><TT
11838CLASS="PARAMETER"
11839><I
11840>info</I
11841></TT
11842>&nbsp;:</TD
11843><TD
11844WIDTH="80%"
11845ALIGN="LEFT"
11846VALIGN="TOP"
11847> a node info sequence pointer</TD
11848></TR
11849></TBODY
11850></TABLE
11851><P
11852></P
11853></DIV
11854></DIV
11855><HR><DIV
11856CLASS="REFSECT2"
11857><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011858NAME="AEN2762"
Daniel Veillard06622df2002-01-21 17:53:42 +000011859></A
11860><H3
11861><A
11862NAME="XMLSETEXTERNALENTITYLOADER"
11863></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011864>xmlSetExternalEntityLoader ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011865><TABLE
11866BORDER="0"
11867BGCOLOR="#D6E8FF"
11868WIDTH="100%"
11869CELLPADDING="6"
11870><TR
11871><TD
11872><PRE
11873CLASS="PROGRAMLISTING"
11874>void xmlSetExternalEntityLoader (<A
11875HREF="libxml-parser.html#XMLEXTERNALENTITYLOADER"
11876>xmlExternalEntityLoader</A
11877> f);</PRE
11878></TD
11879></TR
11880></TABLE
11881><P
11882>Changes the defaultexternal entity resolver function for the application</P
11883><P
11884></P
11885><DIV
11886CLASS="INFORMALTABLE"
11887><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011888NAME="AEN2769"
Daniel Veillard06622df2002-01-21 17:53:42 +000011889></A
11890><P
11891></P
11892><TABLE
11893BORDER="0"
11894WIDTH="100%"
11895BGCOLOR="#FFD0D0"
11896CELLSPACING="0"
11897CELLPADDING="4"
11898CLASS="CALSTABLE"
11899><TBODY
11900><TR
11901><TD
11902WIDTH="20%"
11903ALIGN="RIGHT"
11904VALIGN="TOP"
11905><TT
11906CLASS="PARAMETER"
11907><I
11908>f</I
11909></TT
11910>&nbsp;:</TD
11911><TD
11912WIDTH="80%"
11913ALIGN="LEFT"
11914VALIGN="TOP"
11915> the new entity resolver function</TD
11916></TR
11917></TBODY
11918></TABLE
11919><P
11920></P
11921></DIV
11922></DIV
11923><HR><DIV
11924CLASS="REFSECT2"
11925><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011926NAME="AEN2778"
Daniel Veillard06622df2002-01-21 17:53:42 +000011927></A
11928><H3
11929><A
11930NAME="XMLGETEXTERNALENTITYLOADER"
11931></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011932>xmlGetExternalEntityLoader ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000011933><TABLE
11934BORDER="0"
11935BGCOLOR="#D6E8FF"
11936WIDTH="100%"
11937CELLPADDING="6"
11938><TR
11939><TD
11940><PRE
11941CLASS="PROGRAMLISTING"
11942><A
11943HREF="libxml-parser.html#XMLEXTERNALENTITYLOADER"
11944>xmlExternalEntityLoader</A
11945> xmlGetExternalEntityLoader
11946 (void);</PRE
11947></TD
11948></TR
11949></TABLE
11950><P
11951>Get the default external entity resolver function for the application</P
11952><P
11953></P
11954><DIV
11955CLASS="INFORMALTABLE"
11956><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011957NAME="AEN2785"
Daniel Veillard06622df2002-01-21 17:53:42 +000011958></A
11959><P
11960></P
11961><TABLE
11962BORDER="0"
11963WIDTH="100%"
11964BGCOLOR="#FFD0D0"
11965CELLSPACING="0"
11966CELLPADDING="4"
11967CLASS="CALSTABLE"
11968><TBODY
11969><TR
11970><TD
11971WIDTH="20%"
11972ALIGN="RIGHT"
11973VALIGN="TOP"
11974><I
11975CLASS="EMPHASIS"
11976>Returns</I
11977> :</TD
11978><TD
11979WIDTH="80%"
11980ALIGN="LEFT"
11981VALIGN="TOP"
11982>the xmlExternalEntityLoader function pointer</TD
11983></TR
11984></TBODY
11985></TABLE
11986><P
11987></P
11988></DIV
11989></DIV
11990><HR><DIV
11991CLASS="REFSECT2"
11992><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011993NAME="AEN2794"
Daniel Veillard06622df2002-01-21 17:53:42 +000011994></A
11995><H3
11996><A
11997NAME="XMLLOADEXTERNALENTITY"
11998></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011999>xmlLoadExternalEntity ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +000012000><TABLE
12001BORDER="0"
12002BGCOLOR="#D6E8FF"
12003WIDTH="100%"
12004CELLPADDING="6"
12005><TR
12006><TD
12007><PRE
12008CLASS="PROGRAMLISTING"
12009><A
12010HREF="libxml-tree.html#XMLPARSERINPUTPTR"
12011>xmlParserInputPtr</A
12012> xmlLoadExternalEntity (const char *URL,
12013 const char *ID,
12014 <A
12015HREF="libxml-tree.html#XMLPARSERCTXTPTR"
12016>xmlParserCtxtPtr</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000012017> ctxt);</PRE
Daniel Veillard06622df2002-01-21 17:53:42 +000012018></TD
12019></TR
12020></TABLE
12021><P
12022>Load an external entity, note that the use of this function for
12023unparsed entities may generate problems
12024TODO: a more generic External entity API must be designed</P
12025><P
12026></P
12027><DIV
12028CLASS="INFORMALTABLE"
12029><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000012030NAME="AEN2802"
Daniel Veillard06622df2002-01-21 17:53:42 +000012031></A
12032><P
12033></P
12034><TABLE
12035BORDER="0"
12036WIDTH="100%"
12037BGCOLOR="#FFD0D0"
12038CELLSPACING="0"
12039CELLPADDING="4"
12040CLASS="CALSTABLE"
12041><TBODY
12042><TR
12043><TD
12044WIDTH="20%"
12045ALIGN="RIGHT"
12046VALIGN="TOP"
12047><TT
12048CLASS="PARAMETER"
12049><I
12050>URL</I
12051></TT
12052>&nbsp;:</TD
12053><TD
12054WIDTH="80%"
12055ALIGN="LEFT"
12056VALIGN="TOP"
12057> the URL for the entity to load</TD
12058></TR
12059><TR
12060><TD
12061WIDTH="20%"
12062ALIGN="RIGHT"
12063VALIGN="TOP"
12064><TT
12065CLASS="PARAMETER"
12066><I
12067>ID</I
12068></TT
12069>&nbsp;:</TD
12070><TD
12071WIDTH="80%"
12072ALIGN="LEFT"
12073VALIGN="TOP"
12074> the Public ID for the entity to load</TD
12075></TR
12076><TR
12077><TD
12078WIDTH="20%"
12079ALIGN="RIGHT"
12080VALIGN="TOP"
12081><TT
12082CLASS="PARAMETER"
12083><I
Daniel Veillard5f4b5992002-02-20 10:22:49 +000012084>ctxt</I
Daniel Veillard06622df2002-01-21 17:53:42 +000012085></TT
12086>&nbsp;:</TD
12087><TD
12088WIDTH="80%"
12089ALIGN="LEFT"
12090VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +000012091> the context in which the entity is called or NULL</TD
Daniel Veillard06622df2002-01-21 17:53:42 +000012092></TR
12093><TR
12094><TD
12095WIDTH="20%"
12096ALIGN="RIGHT"
12097VALIGN="TOP"
12098><I
12099CLASS="EMPHASIS"
12100>Returns</I
12101> :</TD
12102><TD
12103WIDTH="80%"
12104ALIGN="LEFT"
12105VALIGN="TOP"
12106>the xmlParserInputPtr or NULL</TD
12107></TR
12108></TBODY
12109></TABLE
12110><P
12111></P
12112></DIV
12113></DIV
12114></DIV
12115><DIV
12116CLASS="NAVFOOTER"
12117><BR
12118CLEAR="all"><BR><TABLE
12119WIDTH="100%"
12120BORDER="0"
12121BGCOLOR="#000000"
12122CELLPADDING="1"
12123CELLSPACING="0"
12124><TR
12125><TD
12126WIDTH="25%"
12127BGCOLOR="#C00000"
12128ALIGN="left"
12129><A
12130HREF="libxml-lib.html"
12131><FONT
12132COLOR="#FFFFFF"
12133SIZE="3"
12134><B
12135>&#60;&#60;&#60; Previous Page</B
12136></FONT
12137></A
12138></TD
12139><TD
12140WIDTH="25%"
12141BGCOLOR="#0000C0"
12142ALIGN="center"
12143><FONT
12144COLOR="#FFFFFF"
12145SIZE="3"
12146><B
12147><A
12148HREF="book1.html"
12149><FONT
12150COLOR="#FFFFFF"
12151SIZE="3"
12152><B
12153>Home</B
12154></FONT
12155></A
12156></B
12157></FONT
12158></TD
12159><TD
12160WIDTH="25%"
12161BGCOLOR="#00C000"
12162ALIGN="center"
12163><FONT
12164COLOR="#FFFFFF"
12165SIZE="3"
12166><B
12167><A
12168HREF="libxml-lib.html"
12169><FONT
12170COLOR="#FFFFFF"
12171SIZE="3"
12172><B
12173>Up</B
12174></FONT
12175></A
12176></B
12177></FONT
12178></TD
12179><TD
12180WIDTH="25%"
12181BGCOLOR="#C00000"
12182ALIGN="right"
12183><A
12184HREF="libxml-sax.html"
12185><FONT
12186COLOR="#FFFFFF"
12187SIZE="3"
12188><B
12189>Next Page &#62;&#62;&#62;</B
12190></FONT
12191></A
12192></TD
12193></TR
12194><TR
12195><TD
12196COLSPAN="2"
12197ALIGN="left"
12198><FONT
12199COLOR="#FFFFFF"
12200SIZE="3"
12201><B
12202>Libxml Library Reference</B
12203></FONT
12204></TD
12205><TD
12206COLSPAN="2"
12207ALIGN="right"
12208><FONT
12209COLOR="#FFFFFF"
12210SIZE="3"
12211><B
12212>SAX</B
12213></FONT
12214></TD
12215></TR
12216></TABLE
12217></DIV
12218></BODY
12219></HTML
12220>