blob: 16bba33f7eee021189c2cdadff623e3b0137a2aa [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>parser</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +00008REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
Daniel Veillard35008381999-10-25 13:15:52 +000012TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000014REL="PREVIOUS"
Daniel Veillard35008381999-10-25 13:15:52 +000015TITLE="Libxml Library Reference"
16HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000017REL="NEXT"
Daniel Veillard294cbca1999-12-03 13:19:09 +000018TITLE="SAX"
19HREF="gnome-xml-sax.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000020><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
23><DIV
24CLASS="NAVHEADER"
25><TABLE
26WIDTH="100%"
27BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000028BGCOLOR="#000000"
29CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000030CELLSPACING="0"
31><TR
32><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000033COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000034ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000035><FONT
36COLOR="#FFFFFF"
37SIZE="5"
38>Gnome XML Library Reference Manual</FONT
39></TH
Daniel Veillard35925471999-02-25 08:46:07 +000040></TR
41><TR
42><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000043WIDTH="25%"
44BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000045ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000046><A
Daniel Veillard35008381999-10-25 13:15:52 +000047HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000048><FONT
49COLOR="#FFFFFF"
50SIZE="3"
51><B
52>&#60;&#60;&#60; Previous Page</B
53></FONT
54></A
Daniel Veillard35925471999-02-25 08:46:07 +000055></TD
56><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000057WIDTH="25%"
58BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000059ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000060><FONT
61COLOR="#FFFFFF"
62SIZE="3"
63><B
64><A
65HREF="book1.html"
66><FONT
67COLOR="#FFFFFF"
68SIZE="3"
69><B
70>Home</B
71></FONT
72></A
73></B
74></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000075></TD
76><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000077WIDTH="25%"
78BGCOLOR="#00C000"
79ALIGN="center"
80><FONT
81COLOR="#FFFFFF"
82SIZE="3"
83><B
84><A
Daniel Veillard35008381999-10-25 13:15:52 +000085HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000086><FONT
87COLOR="#FFFFFF"
88SIZE="3"
89><B
90>Up</B
91></FONT
92></A
93></B
94></FONT
95></TD
96><TD
97WIDTH="25%"
98BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000099ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +0000100><A
Daniel Veillard294cbca1999-12-03 13:19:09 +0000101HREF="gnome-xml-sax.html"
Daniel Veillard14fff061999-06-22 21:49:07 +0000102><FONT
103COLOR="#FFFFFF"
104SIZE="3"
105><B
106>Next Page &#62;&#62;&#62;</B
107></FONT
108></A
Daniel Veillard35925471999-02-25 08:46:07 +0000109></TD
110></TR
111></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000112></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000113><H1
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000114>parser</H1
Daniel Veillard35925471999-02-25 08:46:07 +0000115><DIV
116CLASS="REFNAMEDIV"
117><A
Daniel Veillard35008381999-10-25 13:15:52 +0000118NAME="AEN31"
Daniel Veillard35925471999-02-25 08:46:07 +0000119></A
120><H2
121>Name</H2
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000122>parser &#8212; </DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFSYNOPSISDIV"
125><A
Daniel Veillard35008381999-10-25 13:15:52 +0000126NAME="AEN34"
Daniel Veillard35925471999-02-25 08:46:07 +0000127></A
128><H2
129>Synopsis</H2
130><TABLE
131BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000132BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000133WIDTH="100%"
134CELLPADDING="6"
135><TR
136><TD
137><PRE
138CLASS="SYNOPSIS"
139>&#13;
140
141#define <A
142HREF="gnome-xml-parser.html#XML-DEFAULT-VERSION"
143>XML_DEFAULT_VERSION</A
144>
Daniel Veillardd692aa41999-02-28 21:54:31 +0000145void (<A
146HREF="gnome-xml-parser.html#XMLPARSERINPUTDEALLOCATE"
147>*xmlParserInputDeallocate</A
148>) (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000149HREF="gnome-xml-tree.html#XMLCHAR"
150>xmlChar</A
Daniel Veillardd692aa41999-02-28 21:54:31 +0000151>*);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000152struct <A
153HREF="gnome-xml-parser.html#XMLPARSERINPUT"
154>xmlParserInput</A
155>;
Daniel Veillard35925471999-02-25 08:46:07 +0000156typedef <A
157HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
158>xmlParserInputPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000159>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000160struct <A
Daniel Veillard35925471999-02-25 08:46:07 +0000161HREF="gnome-xml-parser.html#XMLPARSERNODEINFO"
162>xmlParserNodeInfo</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000163>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000164typedef <A
165HREF="gnome-xml-parser.html#XMLPARSERNODEINFOPTR"
166>xmlParserNodeInfoPtr</A
167>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000168struct <A
Daniel Veillard35925471999-02-25 08:46:07 +0000169HREF="gnome-xml-parser.html#XMLPARSERNODEINFOSEQ"
170>xmlParserNodeInfoSeq</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000171>;
Daniel Veillard35925471999-02-25 08:46:07 +0000172typedef <A
173HREF="gnome-xml-parser.html#XMLPARSERNODEINFOSEQPTR"
174>xmlParserNodeInfoSeqPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000175>;
Daniel Veillardb05deb71999-08-10 19:04:08 +0000176enum <A
177HREF="gnome-xml-parser.html#XMLPARSERINPUTSTATE"
178>xmlParserInputState</A
179>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000180struct <A
Daniel Veillard35925471999-02-25 08:46:07 +0000181HREF="gnome-xml-parser.html#XMLPARSERCTXT"
182>xmlParserCtxt</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000183>;
Daniel Veillard35925471999-02-25 08:46:07 +0000184typedef <A
185HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
186>xmlParserCtxtPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000187>;
Daniel Veillard71b656e2000-01-05 14:46:17 +0000188struct <A
Daniel Veillard35925471999-02-25 08:46:07 +0000189HREF="gnome-xml-parser.html#XMLSAXLOCATOR"
190>xmlSAXLocator</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000191>;
Daniel Veillard35925471999-02-25 08:46:07 +0000192typedef <A
193HREF="gnome-xml-parser.html#XMLSAXLOCATORPTR"
194>xmlSAXLocatorPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000195>;
Daniel Veillard35925471999-02-25 08:46:07 +0000196<A
197HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
198>xmlParserInputPtr</A
199> (<A
200HREF="gnome-xml-parser.html#RESOLVEENTITYSAXFUNC"
201>*resolveEntitySAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000202>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000203 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000204HREF="gnome-xml-tree.html#XMLCHAR"
205>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000206> *publicId,
207 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000208HREF="gnome-xml-tree.html#XMLCHAR"
209>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000210> *systemId);
211void (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000212HREF="gnome-xml-parser.html#INTERNALSUBSETSAXFUNC"
213>*internalSubsetSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000214>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000215 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000216HREF="gnome-xml-tree.html#XMLCHAR"
217>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000218> *name,
219 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000220HREF="gnome-xml-tree.html#XMLCHAR"
221>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000222> *ExternalID,
223 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000224HREF="gnome-xml-tree.html#XMLCHAR"
225>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000226> *SystemID);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000227void (<A
228HREF="gnome-xml-parser.html#EXTERNALSUBSETSAXFUNC"
229>*externalSubsetSAXFunc</A
230>) (void *ctx,
231 const <A
232HREF="gnome-xml-tree.html#XMLCHAR"
233>xmlChar</A
234> *name,
235 const <A
236HREF="gnome-xml-tree.html#XMLCHAR"
237>xmlChar</A
238> *ExternalID,
239 const <A
240HREF="gnome-xml-tree.html#XMLCHAR"
241>xmlChar</A
242> *SystemID);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000243<A
244HREF="gnome-xml-entities.html#XMLENTITYPTR"
245>xmlEntityPtr</A
246> (<A
247HREF="gnome-xml-parser.html#GETENTITYSAXFUNC"
248>*getEntitySAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000249>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000250 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000251HREF="gnome-xml-tree.html#XMLCHAR"
252>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000253> *name);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000254<A
255HREF="gnome-xml-entities.html#XMLENTITYPTR"
256>xmlEntityPtr</A
257> (<A
258HREF="gnome-xml-parser.html#GETPARAMETERENTITYSAXFUNC"
259>*getParameterEntitySAXFunc</A
260>) (void *ctx,
261 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000262HREF="gnome-xml-tree.html#XMLCHAR"
263>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000264> *name);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000265void (<A
266HREF="gnome-xml-parser.html#ENTITYDECLSAXFUNC"
267>*entityDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000268>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000269 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000270HREF="gnome-xml-tree.html#XMLCHAR"
271>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000272> *name,
273 int type,
274 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000275HREF="gnome-xml-tree.html#XMLCHAR"
276>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000277> *publicId,
278 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000279HREF="gnome-xml-tree.html#XMLCHAR"
280>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000281> *systemId,
282 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000283HREF="gnome-xml-tree.html#XMLCHAR"
284>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000285> *content);
286void (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000287HREF="gnome-xml-parser.html#NOTATIONDECLSAXFUNC"
288>*notationDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000289>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000290 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000291HREF="gnome-xml-tree.html#XMLCHAR"
292>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000293> *name,
294 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000295HREF="gnome-xml-tree.html#XMLCHAR"
296>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000297> *publicId,
298 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000299HREF="gnome-xml-tree.html#XMLCHAR"
300>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000301> *systemId);
302void (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000303HREF="gnome-xml-parser.html#ATTRIBUTEDECLSAXFUNC"
304>*attributeDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000305>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000306 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000307HREF="gnome-xml-tree.html#XMLCHAR"
308>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000309> *elem,
310 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000311HREF="gnome-xml-tree.html#XMLCHAR"
312>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000313> *name,
314 int type,
315 int def,
316 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000317HREF="gnome-xml-tree.html#XMLCHAR"
318>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000319> *defaultValue,
320 <A
321HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
322>xmlEnumerationPtr</A
323> tree);
324void (<A
325HREF="gnome-xml-parser.html#ELEMENTDECLSAXFUNC"
326>*elementDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000327>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000328 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000329HREF="gnome-xml-tree.html#XMLCHAR"
330>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000331> *name,
332 int type,
333 <A
334HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
335>xmlElementContentPtr</A
336> content);
337void (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000338HREF="gnome-xml-parser.html#UNPARSEDENTITYDECLSAXFUNC"
339>*unparsedEntityDeclSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000340>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000341 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000342HREF="gnome-xml-tree.html#XMLCHAR"
343>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000344> *name,
345 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000346HREF="gnome-xml-tree.html#XMLCHAR"
347>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000348> *publicId,
349 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000350HREF="gnome-xml-tree.html#XMLCHAR"
351>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000352> *systemId,
353 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000354HREF="gnome-xml-tree.html#XMLCHAR"
355>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000356> *notationName);
357void (<A
358HREF="gnome-xml-parser.html#SETDOCUMENTLOCATORSAXFUNC"
359>*setDocumentLocatorSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000360>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000361 <A
362HREF="gnome-xml-parser.html#XMLSAXLOCATORPTR"
363>xmlSAXLocatorPtr</A
364> loc);
365void (<A
366HREF="gnome-xml-parser.html#STARTDOCUMENTSAXFUNC"
367>*startDocumentSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000368>) (void *ctx);
Daniel Veillard35925471999-02-25 08:46:07 +0000369void (<A
370HREF="gnome-xml-parser.html#ENDDOCUMENTSAXFUNC"
371>*endDocumentSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000372>) (void *ctx);
Daniel Veillard35925471999-02-25 08:46:07 +0000373void (<A
374HREF="gnome-xml-parser.html#STARTELEMENTSAXFUNC"
375>*startElementSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000376>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000377 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000378HREF="gnome-xml-tree.html#XMLCHAR"
379>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000380> *name,
381 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000382HREF="gnome-xml-tree.html#XMLCHAR"
383>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000384> **atts);
Daniel Veillard35925471999-02-25 08:46:07 +0000385void (<A
386HREF="gnome-xml-parser.html#ENDELEMENTSAXFUNC"
387>*endElementSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000388>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000389 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000390HREF="gnome-xml-tree.html#XMLCHAR"
391>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000392> *name);
393void (<A
394HREF="gnome-xml-parser.html#ATTRIBUTESAXFUNC"
395>*attributeSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000396>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000397 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000398HREF="gnome-xml-tree.html#XMLCHAR"
399>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000400> *name,
401 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000402HREF="gnome-xml-tree.html#XMLCHAR"
403>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000404> *value);
405void (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000406HREF="gnome-xml-parser.html#REFERENCESAXFUNC"
407>*referenceSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000408>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000409 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000410HREF="gnome-xml-tree.html#XMLCHAR"
411>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000412> *name);
413void (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000414HREF="gnome-xml-parser.html#CHARACTERSSAXFUNC"
415>*charactersSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000416>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000417 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000418HREF="gnome-xml-tree.html#XMLCHAR"
419>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000420> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +0000421 int len);
422void (<A
423HREF="gnome-xml-parser.html#IGNORABLEWHITESPACESAXFUNC"
424>*ignorableWhitespaceSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000425>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000426 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000427HREF="gnome-xml-tree.html#XMLCHAR"
428>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000429> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +0000430 int len);
431void (<A
432HREF="gnome-xml-parser.html#PROCESSINGINSTRUCTIONSAXFUNC"
433>*processingInstructionSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000434>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000435 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000436HREF="gnome-xml-tree.html#XMLCHAR"
437>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000438> *target,
439 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000440HREF="gnome-xml-tree.html#XMLCHAR"
441>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000442> *data);
443void (<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000444HREF="gnome-xml-parser.html#COMMENTSAXFUNC"
445>*commentSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000446>) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +0000447 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000448HREF="gnome-xml-tree.html#XMLCHAR"
449>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000450> *value);
451void (<A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000452HREF="gnome-xml-parser.html#CDATABLOCKSAXFUNC"
453>*cdataBlockSAXFunc</A
454>) (void *ctx,
455 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000456HREF="gnome-xml-tree.html#XMLCHAR"
457>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000458> *value,
459 int len);
460void (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000461HREF="gnome-xml-parser.html#WARNINGSAXFUNC"
462>*warningSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000463>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000464 const char *msg,
465 ...);
466void (<A
467HREF="gnome-xml-parser.html#ERRORSAXFUNC"
468>*errorSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000469>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000470 const char *msg,
471 ...);
472void (<A
473HREF="gnome-xml-parser.html#FATALERRORSAXFUNC"
474>*fatalErrorSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000475>) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +0000476 const char *msg,
477 ...);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000478int (<A
479HREF="gnome-xml-parser.html#ISSTANDALONESAXFUNC"
480>*isStandaloneSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000481>) (void *ctx);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000482int (<A
483HREF="gnome-xml-parser.html#HASINTERNALSUBSETSAXFUNC"
484>*hasInternalSubsetSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000485>) (void *ctx);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000486int (<A
487HREF="gnome-xml-parser.html#HASEXTERNALSUBSETSAXFUNC"
488>*hasExternalSubsetSAXFunc</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000489>) (void *ctx);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000490struct <A
491HREF="gnome-xml-parser.html#XMLSAXHANDLER"
492>xmlSAXHandler</A
493>;
Daniel Veillard35925471999-02-25 08:46:07 +0000494typedef <A
495HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
496>xmlSAXHandlerPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000497>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000498<A
499HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
500>xmlParserInputPtr</A
501> (<A
502HREF="gnome-xml-parser.html#XMLEXTERNALENTITYLOADER"
503>*xmlExternalEntityLoader</A
504>)
505 (const char *URL,
506 const char *ID,
507 <A
508HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
509>xmlParserCtxtPtr</A
510> context);
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000511extern const char *<A
512HREF="gnome-xml-parser.html#XMLPARSERVERSION"
513>xmlParserVersion</A
514>;
Daniel Veillard14fff061999-06-22 21:49:07 +0000515extern xmlSAXLocator <A
516HREF="gnome-xml-parser.html#XMLDEFAULTSAXLOCATOR"
517>xmlDefaultSAXLocator</A
518>;
519extern xmlSAXHandler <A
520HREF="gnome-xml-parser.html#XMLDEFAULTSAXHANDLER"
521>xmlDefaultSAXHandler</A
522>;
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000523extern xmlSAXHandler <A
524HREF="gnome-xml-parser.html#HTMLDEFAULTSAXHANDLER"
525>htmlDefaultSAXHandler</A
526>;
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000527extern xmlSAXHandler <A
528HREF="gnome-xml-parser.html#SGMLDEFAULTSAXHANDLER"
529>sgmlDefaultSAXHandler</A
530>;
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000531extern int <A
532HREF="gnome-xml-parser.html#XMLSUBSTITUTEENTITIESDEFAULTVALUE"
533>xmlSubstituteEntitiesDefaultValue</A
534>;
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000535extern int <A
536HREF="gnome-xml-parser.html#XMLGETWARNINGSDEFAULTVALUE"
537>xmlGetWarningsDefaultValue</A
538>;
539void <A
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000540HREF="gnome-xml-parser.html#XMLINITPARSER"
541>xmlInitParser</A
542> (void);
543void <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000544HREF="gnome-xml-parser.html#XMLCLEANUPPARSER"
545>xmlCleanupParser</A
546> (void);
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000547int <A
548HREF="gnome-xml-parser.html#XMLPARSERINPUTREAD"
549>xmlParserInputRead</A
550> (<A
551HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
552>xmlParserInputPtr</A
553> in,
554 int len);
555int <A
556HREF="gnome-xml-parser.html#XMLPARSERINPUTGROW"
557>xmlParserInputGrow</A
558> (<A
559HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
560>xmlParserInputPtr</A
561> in,
562 int len);
Daniel Veillard35925471999-02-25 08:46:07 +0000563<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000564HREF="gnome-xml-tree.html#XMLCHAR"
565>xmlChar</A
566>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000567HREF="gnome-xml-parser.html#XMLSTRDUP"
568>xmlStrdup</A
569> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000570HREF="gnome-xml-tree.html#XMLCHAR"
571>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000572> *cur);
573<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000574HREF="gnome-xml-tree.html#XMLCHAR"
575>xmlChar</A
576>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000577HREF="gnome-xml-parser.html#XMLSTRNDUP"
578>xmlStrndup</A
579> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000580HREF="gnome-xml-tree.html#XMLCHAR"
581>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000582> *cur,
583 int len);
584<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000585HREF="gnome-xml-tree.html#XMLCHAR"
586>xmlChar</A
587>* <A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000588HREF="gnome-xml-parser.html#XMLSTRSUB"
589>xmlStrsub</A
590> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000591HREF="gnome-xml-tree.html#XMLCHAR"
592>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000593> *str,
594 int start,
595 int len);
596const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000597HREF="gnome-xml-tree.html#XMLCHAR"
598>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000599>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000600HREF="gnome-xml-parser.html#XMLSTRCHR"
601>xmlStrchr</A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000602> (const <A
603HREF="gnome-xml-tree.html#XMLCHAR"
604>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000605> *str,
606 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000607HREF="gnome-xml-tree.html#XMLCHAR"
608>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000609> val);
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000610const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000611HREF="gnome-xml-tree.html#XMLCHAR"
612>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000613>* <A
614HREF="gnome-xml-parser.html#XMLSTRSTR"
615>xmlStrstr</A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000616> (const <A
617HREF="gnome-xml-tree.html#XMLCHAR"
618>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000619> *str,
620 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000621HREF="gnome-xml-tree.html#XMLCHAR"
622>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000623> *val);
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000624const <A
625HREF="gnome-xml-tree.html#XMLCHAR"
626>xmlChar</A
627>* <A
628HREF="gnome-xml-parser.html#XMLSTRCASESTR"
629>xmlStrcasestr</A
630> (const <A
631HREF="gnome-xml-tree.html#XMLCHAR"
632>xmlChar</A
633> *str,
634 <A
635HREF="gnome-xml-tree.html#XMLCHAR"
636>xmlChar</A
637> *val);
Daniel Veillard35925471999-02-25 08:46:07 +0000638int <A
639HREF="gnome-xml-parser.html#XMLSTRCMP"
640>xmlStrcmp</A
641> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000642HREF="gnome-xml-tree.html#XMLCHAR"
643>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000644> *str1,
645 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000646HREF="gnome-xml-tree.html#XMLCHAR"
647>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000648> *str2);
649int <A
650HREF="gnome-xml-parser.html#XMLSTRNCMP"
651>xmlStrncmp</A
652> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000653HREF="gnome-xml-tree.html#XMLCHAR"
654>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000655> *str1,
656 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000657HREF="gnome-xml-tree.html#XMLCHAR"
658>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000659> *str2,
660 int len);
661int <A
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000662HREF="gnome-xml-parser.html#XMLSTRCASECMP"
663>xmlStrcasecmp</A
664> (const <A
665HREF="gnome-xml-tree.html#XMLCHAR"
666>xmlChar</A
667> *str1,
668 const <A
669HREF="gnome-xml-tree.html#XMLCHAR"
670>xmlChar</A
671> *str2);
672int <A
673HREF="gnome-xml-parser.html#XMLSTRNCASECMP"
674>xmlStrncasecmp</A
675> (const <A
676HREF="gnome-xml-tree.html#XMLCHAR"
677>xmlChar</A
678> *str1,
679 const <A
680HREF="gnome-xml-tree.html#XMLCHAR"
681>xmlChar</A
682> *str2,
683 int len);
684int <A
685HREF="gnome-xml-parser.html#XMLSTREQUAL"
686>xmlStrEqual</A
687> (const <A
688HREF="gnome-xml-tree.html#XMLCHAR"
689>xmlChar</A
690> *str1,
691 const <A
692HREF="gnome-xml-tree.html#XMLCHAR"
693>xmlChar</A
694> *str2);
695int <A
Daniel Veillard35925471999-02-25 08:46:07 +0000696HREF="gnome-xml-parser.html#XMLSTRLEN"
697>xmlStrlen</A
698> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000699HREF="gnome-xml-tree.html#XMLCHAR"
700>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000701> *str);
702<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000703HREF="gnome-xml-tree.html#XMLCHAR"
704>xmlChar</A
705>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000706HREF="gnome-xml-parser.html#XMLSTRCAT"
707>xmlStrcat</A
708> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000709HREF="gnome-xml-tree.html#XMLCHAR"
710>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000711> *cur,
712 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000713HREF="gnome-xml-tree.html#XMLCHAR"
714>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000715> *add);
716<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000717HREF="gnome-xml-tree.html#XMLCHAR"
718>xmlChar</A
719>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000720HREF="gnome-xml-parser.html#XMLSTRNCAT"
721>xmlStrncat</A
722> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000723HREF="gnome-xml-tree.html#XMLCHAR"
724>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000725> *cur,
726 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000727HREF="gnome-xml-tree.html#XMLCHAR"
728>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000729> *add,
730 int len);
731<A
732HREF="gnome-xml-tree.html#XMLDOCPTR"
733>xmlDocPtr</A
734> <A
735HREF="gnome-xml-parser.html#XMLPARSEDOC"
736>xmlParseDoc</A
737> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000738HREF="gnome-xml-tree.html#XMLCHAR"
739>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000740> *cur);
741<A
742HREF="gnome-xml-tree.html#XMLDOCPTR"
743>xmlDocPtr</A
744> <A
745HREF="gnome-xml-parser.html#XMLPARSEMEMORY"
746>xmlParseMemory</A
747> (char *buffer,
748 int size);
749<A
750HREF="gnome-xml-tree.html#XMLDOCPTR"
751>xmlDocPtr</A
752> <A
753HREF="gnome-xml-parser.html#XMLPARSEFILE"
754>xmlParseFile</A
755> (const char *filename);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000756int <A
757HREF="gnome-xml-parser.html#XMLSUBSTITUTEENTITIESDEFAULT"
758>xmlSubstituteEntitiesDefault</A
759> (int val);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000760int <A
761HREF="gnome-xml-parser.html#XMLKEEPBLANKSDEFAULT"
762>xmlKeepBlanksDefault</A
763> (int val);
764void <A
765HREF="gnome-xml-parser.html#XMLSTOPPARSER"
766>xmlStopParser</A
767> (<A
768HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
769>xmlParserCtxtPtr</A
770> ctxt);
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000771int <A
772HREF="gnome-xml-parser.html#XMLPEDANTICPARSERDEFAULT"
773>xmlPedanticParserDefault</A
774> (int val);
Daniel Veillard35925471999-02-25 08:46:07 +0000775<A
776HREF="gnome-xml-tree.html#XMLDOCPTR"
777>xmlDocPtr</A
778> <A
779HREF="gnome-xml-parser.html#XMLRECOVERDOC"
780>xmlRecoverDoc</A
781> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000782HREF="gnome-xml-tree.html#XMLCHAR"
783>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000784> *cur);
785<A
786HREF="gnome-xml-tree.html#XMLDOCPTR"
787>xmlDocPtr</A
788> <A
789HREF="gnome-xml-parser.html#XMLRECOVERMEMORY"
790>xmlRecoverMemory</A
791> (char *buffer,
792 int size);
793<A
794HREF="gnome-xml-tree.html#XMLDOCPTR"
795>xmlDocPtr</A
796> <A
797HREF="gnome-xml-parser.html#XMLRECOVERFILE"
798>xmlRecoverFile</A
799> (const char *filename);
800int <A
801HREF="gnome-xml-parser.html#XMLPARSEDOCUMENT"
802>xmlParseDocument</A
803> (<A
804HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
805>xmlParserCtxtPtr</A
806> ctxt);
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000807int <A
808HREF="gnome-xml-parser.html#XMLPARSEEXTPARSEDENT"
809>xmlParseExtParsedEnt</A
810> (<A
811HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
812>xmlParserCtxtPtr</A
813> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000814<A
815HREF="gnome-xml-tree.html#XMLDOCPTR"
816>xmlDocPtr</A
817> <A
818HREF="gnome-xml-parser.html#XMLSAXPARSEDOC"
819>xmlSAXParseDoc</A
820> (<A
821HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
822>xmlSAXHandlerPtr</A
823> sax,
824 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000825HREF="gnome-xml-tree.html#XMLCHAR"
826>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000827> *cur,
828 int recovery);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000829int <A
830HREF="gnome-xml-parser.html#XMLSAXUSERPARSEFILE"
831>xmlSAXUserParseFile</A
832> (<A
833HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
834>xmlSAXHandlerPtr</A
835> sax,
836 void *user_data,
837 const char *filename);
838int <A
839HREF="gnome-xml-parser.html#XMLSAXUSERPARSEMEMORY"
840>xmlSAXUserParseMemory</A
841> (<A
842HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
843>xmlSAXHandlerPtr</A
844> sax,
845 void *user_data,
846 char *buffer,
847 int size);
Daniel Veillard35925471999-02-25 08:46:07 +0000848<A
849HREF="gnome-xml-tree.html#XMLDOCPTR"
850>xmlDocPtr</A
851> <A
852HREF="gnome-xml-parser.html#XMLSAXPARSEMEMORY"
853>xmlSAXParseMemory</A
854> (<A
855HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
856>xmlSAXHandlerPtr</A
857> sax,
858 char *buffer,
859 int size,
860 int recovery);
861<A
862HREF="gnome-xml-tree.html#XMLDOCPTR"
863>xmlDocPtr</A
864> <A
865HREF="gnome-xml-parser.html#XMLSAXPARSEFILE"
866>xmlSAXParseFile</A
867> (<A
868HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
869>xmlSAXHandlerPtr</A
870> sax,
871 const char *filename,
872 int recovery);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000873<A
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000874HREF="gnome-xml-tree.html#XMLDOCPTR"
875>xmlDocPtr</A
876> <A
877HREF="gnome-xml-parser.html#XMLSAXPARSEENTITY"
878>xmlSAXParseEntity</A
879> (<A
880HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
881>xmlSAXHandlerPtr</A
882> sax,
883 const char *filename);
884<A
885HREF="gnome-xml-tree.html#XMLDOCPTR"
886>xmlDocPtr</A
887> <A
888HREF="gnome-xml-parser.html#XMLPARSEENTITY"
889>xmlParseEntity</A
890> (const char *filename);
891<A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000892HREF="gnome-xml-tree.html#XMLDTDPTR"
893>xmlDtdPtr</A
894> <A
895HREF="gnome-xml-parser.html#XMLPARSEDTD"
896>xmlParseDTD</A
897> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000898HREF="gnome-xml-tree.html#XMLCHAR"
899>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000900> *ExternalID,
901 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000902HREF="gnome-xml-tree.html#XMLCHAR"
903>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000904> *SystemID);
905<A
906HREF="gnome-xml-tree.html#XMLDTDPTR"
907>xmlDtdPtr</A
908> <A
909HREF="gnome-xml-parser.html#XMLSAXPARSEDTD"
910>xmlSAXParseDTD</A
911> (<A
912HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
913>xmlSAXHandlerPtr</A
914> sax,
915 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000916HREF="gnome-xml-tree.html#XMLCHAR"
917>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000918> *ExternalID,
919 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000920HREF="gnome-xml-tree.html#XMLCHAR"
921>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000922> *SystemID);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000923int <A
924HREF="gnome-xml-parser.html#XMLPARSEBALANCEDCHUNKMEMORY"
925>xmlParseBalancedChunkMemory</A
926> (<A
927HREF="gnome-xml-tree.html#XMLDOCPTR"
928>xmlDocPtr</A
929> doc,
930 <A
931HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
932>xmlSAXHandlerPtr</A
933> sax,
934 void *user_data,
935 int depth,
936 const <A
937HREF="gnome-xml-tree.html#XMLCHAR"
938>xmlChar</A
939> *string,
940 <A
941HREF="gnome-xml-tree.html#XMLNODEPTR"
942>xmlNodePtr</A
943> *list);
944int <A
945HREF="gnome-xml-parser.html#XMLPARSEEXTERNALENTITY"
946>xmlParseExternalEntity</A
947> (<A
948HREF="gnome-xml-tree.html#XMLDOCPTR"
949>xmlDocPtr</A
950> doc,
951 <A
952HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
953>xmlSAXHandlerPtr</A
954> sax,
955 void *user_data,
956 int depth,
957 const <A
958HREF="gnome-xml-tree.html#XMLCHAR"
959>xmlChar</A
960> *URL,
961 const <A
962HREF="gnome-xml-tree.html#XMLCHAR"
963>xmlChar</A
964> *ID,
965 <A
966HREF="gnome-xml-tree.html#XMLNODEPTR"
967>xmlNodePtr</A
968> *list);
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000969int <A
970HREF="gnome-xml-parser.html#XMLPARSECTXTEXTERNALENTITY"
971>xmlParseCtxtExternalEntity</A
972> (<A
973HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
974>xmlParserCtxtPtr</A
975> ctx,
976 const <A
977HREF="gnome-xml-tree.html#XMLCHAR"
978>xmlChar</A
979> *URL,
980 const <A
981HREF="gnome-xml-tree.html#XMLCHAR"
982>xmlChar</A
983> *ID,
984 <A
985HREF="gnome-xml-tree.html#XMLNODEPTR"
986>xmlNodePtr</A
987> *list);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000988void <A
989HREF="gnome-xml-parser.html#XMLDEFAULTSAXHANDLERINIT"
990>xmlDefaultSAXHandlerInit</A
991> (void);
992void <A
993HREF="gnome-xml-parser.html#HTMLDEFAULTSAXHANDLERINIT"
994>htmlDefaultSAXHandlerInit</A
995> (void);
Daniel Veillard24491f62000-01-05 14:58:38 +0000996void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000997HREF="gnome-xml-parser.html#XMLINITPARSERCTXT"
998>xmlInitParserCtxt</A
999> (<A
1000HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1001>xmlParserCtxtPtr</A
1002> ctxt);
1003void <A
1004HREF="gnome-xml-parser.html#XMLCLEARPARSERCTXT"
1005>xmlClearParserCtxt</A
1006> (<A
1007HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1008>xmlParserCtxtPtr</A
1009> ctxt);
1010void <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001011HREF="gnome-xml-parser.html#XMLFREEPARSERCTXT"
1012>xmlFreeParserCtxt</A
1013> (<A
1014HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1015>xmlParserCtxtPtr</A
1016> ctxt);
1017void <A
Daniel Veillard35925471999-02-25 08:46:07 +00001018HREF="gnome-xml-parser.html#XMLSETUPPARSERFORBUFFER"
1019>xmlSetupParserForBuffer</A
1020> (<A
1021HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1022>xmlParserCtxtPtr</A
1023> ctxt,
1024 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001025HREF="gnome-xml-tree.html#XMLCHAR"
1026>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001027> *buffer,
1028 const char *filename);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001029<A
1030HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1031>xmlParserCtxtPtr</A
1032> <A
1033HREF="gnome-xml-parser.html#XMLCREATEDOCPARSERCTXT"
1034>xmlCreateDocParserCtxt</A
1035> (<A
1036HREF="gnome-xml-tree.html#XMLCHAR"
1037>xmlChar</A
1038> *cur);
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001039int <A
1040HREF="gnome-xml-parser.html#XMLGETFEATURESLIST"
1041>xmlGetFeaturesList</A
1042> (int *len,
1043 const char **result);
1044int <A
1045HREF="gnome-xml-parser.html#XMLGETFEATURE"
1046>xmlGetFeature</A
1047> (<A
1048HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1049>xmlParserCtxtPtr</A
1050> ctxt,
1051 const char *name,
1052 void *result);
1053int <A
1054HREF="gnome-xml-parser.html#XMLSETFEATURE"
1055>xmlSetFeature</A
1056> (<A
1057HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1058>xmlParserCtxtPtr</A
1059> ctxt,
1060 const char *name,
1061 void *value);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001062<A
1063HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1064>xmlParserCtxtPtr</A
1065> <A
1066HREF="gnome-xml-parser.html#XMLCREATEPUSHPARSERCTXT"
1067>xmlCreatePushParserCtxt</A
1068> (<A
1069HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
1070>xmlSAXHandlerPtr</A
1071> sax,
1072 void *user_data,
1073 const char *chunk,
1074 int size,
1075 const char *filename);
1076int <A
1077HREF="gnome-xml-parser.html#XMLPARSECHUNK"
1078>xmlParseChunk</A
1079> (<A
1080HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1081>xmlParserCtxtPtr</A
1082> ctxt,
1083 const char *chunk,
1084 int size,
1085 int terminate);
1086<A
1087HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1088>xmlParserCtxtPtr</A
1089> <A
1090HREF="gnome-xml-parser.html#XMLCREATEIOPARSERCTXT"
1091>xmlCreateIOParserCtxt</A
1092> (<A
1093HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
1094>xmlSAXHandlerPtr</A
1095> sax,
1096 void *user_data,
1097 <A
1098HREF="gnome-xml-xmlio.html#XMLINPUTREADCALLBACK"
1099>xmlInputReadCallback</A
1100> ioread,
1101 <A
1102HREF="gnome-xml-xmlio.html#XMLINPUTCLOSECALLBACK"
1103>xmlInputCloseCallback</A
1104> ioclose,
1105 void *ioctx,
1106 <A
1107HREF="gnome-xml-encoding.html#XMLCHARENCODING"
1108>xmlCharEncoding</A
1109> enc);
1110<A
1111HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
1112>xmlParserInputPtr</A
1113> <A
1114HREF="gnome-xml-parser.html#XMLNEWIOINPUTSTREAM"
1115>xmlNewIOInputStream</A
1116> (<A
1117HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1118>xmlParserCtxtPtr</A
1119> ctxt,
1120 <A
1121HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR"
1122>xmlParserInputBufferPtr</A
1123> input,
1124 <A
1125HREF="gnome-xml-encoding.html#XMLCHARENCODING"
1126>xmlCharEncoding</A
1127> enc);
Daniel Veillard35925471999-02-25 08:46:07 +00001128const <A
1129HREF="gnome-xml-parser.html#XMLPARSERNODEINFO"
1130>xmlParserNodeInfo</A
1131>* <A
1132HREF="gnome-xml-parser.html#XMLPARSERFINDNODEINFO"
1133>xmlParserFindNodeInfo</A
1134>
1135 (const <A
1136HREF="gnome-xml-parser.html#XMLPARSERCTXT"
1137>xmlParserCtxt</A
1138> *ctxt,
1139 const <A
1140HREF="gnome-xml-tree.html#XMLNODE"
1141>xmlNode</A
1142> *node);
1143void <A
1144HREF="gnome-xml-parser.html#XMLINITNODEINFOSEQ"
1145>xmlInitNodeInfoSeq</A
1146> (<A
1147HREF="gnome-xml-parser.html#XMLPARSERNODEINFOSEQPTR"
1148>xmlParserNodeInfoSeqPtr</A
1149> seq);
1150void <A
1151HREF="gnome-xml-parser.html#XMLCLEARNODEINFOSEQ"
1152>xmlClearNodeInfoSeq</A
1153> (<A
1154HREF="gnome-xml-parser.html#XMLPARSERNODEINFOSEQPTR"
1155>xmlParserNodeInfoSeqPtr</A
1156> seq);
1157unsigned <GTKDOCLINK
1158HREF="LONG"
1159>long</GTKDOCLINK
1160> <A
1161HREF="gnome-xml-parser.html#XMLPARSERFINDNODEINFOINDEX"
1162>xmlParserFindNodeInfoIndex</A
1163> (const <A
1164HREF="gnome-xml-parser.html#XMLPARSERNODEINFOSEQ"
1165>xmlParserNodeInfoSeq</A
1166> *seq,
1167 const <A
1168HREF="gnome-xml-tree.html#XMLNODE"
1169>xmlNode</A
1170> *node);
1171void <A
1172HREF="gnome-xml-parser.html#XMLPARSERADDNODEINFO"
1173>xmlParserAddNodeInfo</A
1174> (<A
1175HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1176>xmlParserCtxtPtr</A
1177> ctxt,
1178 const <A
1179HREF="gnome-xml-parser.html#XMLPARSERNODEINFO"
1180>xmlParserNodeInfo</A
1181> *info);
1182void <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001183HREF="gnome-xml-parser.html#XMLSETEXTERNALENTITYLOADER"
1184>xmlSetExternalEntityLoader</A
1185> (<A
1186HREF="gnome-xml-parser.html#XMLEXTERNALENTITYLOADER"
1187>xmlExternalEntityLoader</A
1188> f);
1189<A
1190HREF="gnome-xml-parser.html#XMLEXTERNALENTITYLOADER"
1191>xmlExternalEntityLoader</A
1192> <A
1193HREF="gnome-xml-parser.html#XMLGETEXTERNALENTITYLOADER"
1194>xmlGetExternalEntityLoader</A
1195>
1196 (void);
1197<A
1198HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
1199>xmlParserInputPtr</A
1200> <A
1201HREF="gnome-xml-parser.html#XMLLOADEXTERNALENTITY"
1202>xmlLoadExternalEntity</A
1203> (const char *URL,
1204 const char *ID,
1205 <A
Daniel Veillard437b87b2000-01-03 17:30:46 +00001206HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1207>xmlParserCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001208> context);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001209></TD
1210></TR
1211></TABLE
1212></DIV
1213><DIV
1214CLASS="REFSECT1"
1215><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001216NAME="AEN310"
Daniel Veillard35925471999-02-25 08:46:07 +00001217></A
1218><H2
1219>Description</H2
1220><P
1221></P
1222></DIV
1223><DIV
1224CLASS="REFSECT1"
1225><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001226NAME="AEN313"
Daniel Veillard35925471999-02-25 08:46:07 +00001227></A
1228><H2
1229>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001230><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001231CLASS="REFSECT2"
1232><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001233NAME="AEN315"
Daniel Veillard35925471999-02-25 08:46:07 +00001234></A
1235><H3
1236><A
1237NAME="XML-DEFAULT-VERSION"
1238></A
1239>XML_DEFAULT_VERSION</H3
1240><TABLE
1241BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001242BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001243WIDTH="100%"
1244CELLPADDING="6"
1245><TR
1246><TD
1247><PRE
1248CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001249>#define XML_DEFAULT_VERSION "1.0"</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001250></TD
1251></TR
1252></TABLE
1253><P
1254></P
1255></DIV
1256><HR><DIV
1257CLASS="REFSECT2"
1258><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001259NAME="AEN320"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001260></A
1261><H3
1262><A
1263NAME="XMLPARSERINPUTDEALLOCATE"
1264></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001265>xmlParserInputDeallocate ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001266><TABLE
1267BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001268BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001269WIDTH="100%"
1270CELLPADDING="6"
1271><TR
1272><TD
1273><PRE
1274CLASS="PROGRAMLISTING"
1275>void (*xmlParserInputDeallocate) (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001276HREF="gnome-xml-tree.html#XMLCHAR"
1277>xmlChar</A
Daniel Veillardd692aa41999-02-28 21:54:31 +00001278>*);</PRE
1279></TD
1280></TR
1281></TABLE
1282><P
1283></P
1284><DIV
1285CLASS="INFORMALTABLE"
1286><P
1287></P
1288><TABLE
1289BORDER="0"
1290WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001291BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001292CELLSPACING="0"
1293CELLPADDING="4"
1294CLASS="CALSTABLE"
1295><TR
1296><TD
1297WIDTH="20%"
1298ALIGN="RIGHT"
1299VALIGN="TOP"
1300><TT
1301CLASS="PARAMETER"
1302><I
1303>Param1</I
1304></TT
1305>&nbsp;:</TD
1306><TD
1307WIDTH="80%"
1308ALIGN="LEFT"
1309VALIGN="TOP"
1310>&nbsp;</TD
1311></TR
1312></TABLE
1313><P
1314></P
1315></DIV
1316></DIV
1317><HR><DIV
1318CLASS="REFSECT2"
1319><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001320NAME="AEN335"
Daniel Veillard24491f62000-01-05 14:58:38 +00001321></A
1322><H3
1323><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001324NAME="XMLPARSERINPUT"
Daniel Veillard24491f62000-01-05 14:58:38 +00001325></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001326>struct xmlParserInput</H3
Daniel Veillard71b656e2000-01-05 14:46:17 +00001327><TABLE
1328BORDER="0"
Daniel Veillard24491f62000-01-05 14:58:38 +00001329BGCOLOR="#D6E8FF"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001330WIDTH="100%"
Daniel Veillard24491f62000-01-05 14:58:38 +00001331CELLPADDING="6"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001332><TR
1333><TD
Daniel Veillard24491f62000-01-05 14:58:38 +00001334><PRE
1335CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001336>struct xmlParserInput {
1337 /* Input buffer */
1338 xmlParserInputBufferPtr buf; /* UTF-8 encoded buffer */
1339
1340 const char *filename; /* The file analyzed, if any */
1341 const char *directory; /* the directory/base of teh file */
1342 const xmlChar *base; /* Base of the array to parse */
1343 const xmlChar *cur; /* Current char being parsed */
1344 int length; /* length if known */
1345 int line; /* Current line */
1346 int col; /* Current column */
1347 int consumed; /* How many xmlChars already consumed */
1348 xmlParserInputDeallocate free; /* function to deallocate the base */
1349 const xmlChar *encoding; /* the encoding string for entity */
1350 const xmlChar *version; /* the version string for entity */
1351 int standalone; /* Was that entity marked standalone */
1352};</PRE
Daniel Veillard24491f62000-01-05 14:58:38 +00001353></TD
Daniel Veillard71b656e2000-01-05 14:46:17 +00001354></TR
1355></TABLE
1356><P
1357></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001358></DIV
1359><HR><DIV
1360CLASS="REFSECT2"
1361><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001362NAME="AEN340"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001363></A
1364><H3
1365><A
1366NAME="XMLPARSERINPUTPTR"
1367></A
1368>xmlParserInputPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001369><TABLE
1370BORDER="0"
1371BGCOLOR="#D6E8FF"
1372WIDTH="100%"
1373CELLPADDING="6"
1374><TR
1375><TD
1376><PRE
1377CLASS="PROGRAMLISTING"
1378>typedef xmlParserInput *xmlParserInputPtr;</PRE
1379></TD
1380></TR
1381></TABLE
Daniel Veillard06047432000-04-24 11:33:38 +00001382><P
1383></P
1384></DIV
Daniel Veillardb05deb71999-08-10 19:04:08 +00001385><HR><DIV
1386CLASS="REFSECT2"
1387><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001388NAME="AEN345"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001389></A
1390><H3
1391><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001392NAME="XMLPARSERNODEINFO"
1393></A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001394>struct xmlParserNodeInfo</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001395><TABLE
1396BORDER="0"
1397BGCOLOR="#D6E8FF"
1398WIDTH="100%"
1399CELLPADDING="6"
1400><TR
1401><TD
1402><PRE
1403CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001404>struct xmlParserNodeInfo {
1405 const struct _xmlNode* node;
1406 /* Position &amp; line # that text that created the node begins &amp; ends on */
1407 unsigned long begin_pos;
1408 unsigned long begin_line;
1409 unsigned long end_pos;
1410 unsigned long end_line;
1411};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001412></TD
1413></TR
1414></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001415><P
1416></P
1417></DIV
1418><HR><DIV
1419CLASS="REFSECT2"
1420><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001421NAME="AEN350"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001422></A
1423><H3
1424><A
1425NAME="XMLPARSERNODEINFOPTR"
1426></A
1427>xmlParserNodeInfoPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001428><TABLE
1429BORDER="0"
1430BGCOLOR="#D6E8FF"
1431WIDTH="100%"
1432CELLPADDING="6"
1433><TR
1434><TD
1435><PRE
1436CLASS="PROGRAMLISTING"
1437>typedef xmlParserNodeInfo *xmlParserNodeInfoPtr;</PRE
1438></TD
1439></TR
1440></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001441><P
1442></P
1443></DIV
1444><HR><DIV
1445CLASS="REFSECT2"
1446><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001447NAME="AEN355"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001448></A
1449><H3
1450><A
1451NAME="XMLPARSERNODEINFOSEQ"
1452></A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001453>struct xmlParserNodeInfoSeq</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001454><TABLE
1455BORDER="0"
1456BGCOLOR="#D6E8FF"
1457WIDTH="100%"
1458CELLPADDING="6"
1459><TR
1460><TD
1461><PRE
1462CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001463>struct xmlParserNodeInfoSeq {
1464 unsigned long maximum;
1465 unsigned long length;
1466 xmlParserNodeInfo* buffer;
1467};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001468></TD
1469></TR
1470></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001471><P
1472></P
1473></DIV
1474><HR><DIV
1475CLASS="REFSECT2"
1476><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001477NAME="AEN360"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001478></A
1479><H3
1480><A
1481NAME="XMLPARSERNODEINFOSEQPTR"
1482></A
1483>xmlParserNodeInfoSeqPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001484><TABLE
1485BORDER="0"
1486BGCOLOR="#D6E8FF"
1487WIDTH="100%"
1488CELLPADDING="6"
1489><TR
1490><TD
1491><PRE
1492CLASS="PROGRAMLISTING"
1493>typedef xmlParserNodeInfoSeq *xmlParserNodeInfoSeqPtr;</PRE
1494></TD
1495></TR
1496></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001497><P
1498></P
1499></DIV
1500><HR><DIV
1501CLASS="REFSECT2"
1502><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001503NAME="AEN365"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001504></A
1505><H3
1506><A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001507NAME="XMLPARSERINPUTSTATE"
1508></A
1509>enum xmlParserInputState</H3
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001510><TABLE
1511BORDER="0"
1512BGCOLOR="#D6E8FF"
1513WIDTH="100%"
1514CELLPADDING="6"
1515><TR
1516><TD
1517><PRE
1518CLASS="PROGRAMLISTING"
Daniel Veillard00fdf371999-10-08 09:40:39 +00001519>typedef enum {
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001520 XML_PARSER_EOF = -1, /* nothing is to be parsed */
1521 XML_PARSER_START = 0, /* nothing has been parsed */
1522 XML_PARSER_MISC, /* Misc* before int subset */
1523 XML_PARSER_PI, /* Whithin a processing instruction */
1524 XML_PARSER_DTD, /* within some DTD content */
1525 XML_PARSER_PROLOG, /* Misc* after internal subset */
1526 XML_PARSER_COMMENT, /* within a comment */
1527 XML_PARSER_START_TAG, /* within a start tag */
1528 XML_PARSER_CONTENT, /* within the content */
1529 XML_PARSER_CDATA_SECTION, /* within a CDATA section */
1530 XML_PARSER_END_TAG, /* within a closing tag */
1531 XML_PARSER_ENTITY_DECL, /* within an entity declaration */
1532 XML_PARSER_ENTITY_VALUE, /* within an entity value in a decl */
1533 XML_PARSER_ATTRIBUTE_VALUE, /* within an attribute value */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001534 XML_PARSER_SYSTEM_LITERAL, /* within a SYSTEM value */
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001535 XML_PARSER_EPILOG /* the Misc* after the last end tag */
Daniel Veillardb05deb71999-08-10 19:04:08 +00001536} xmlParserInputState;</PRE
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001537></TD
1538></TR
1539></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001540><P
1541></P
1542></DIV
1543><HR><DIV
1544CLASS="REFSECT2"
1545><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001546NAME="AEN370"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001547></A
1548><H3
1549><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001550NAME="XMLPARSERCTXT"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001551></A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001552>struct xmlParserCtxt</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001553><TABLE
1554BORDER="0"
1555BGCOLOR="#D6E8FF"
1556WIDTH="100%"
1557CELLPADDING="6"
1558><TR
1559><TD
1560><PRE
1561CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001562>struct xmlParserCtxt {
1563 struct _xmlSAXHandler *sax; /* The SAX handler */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001564 void *userData; /* For SAX interface only, used by DOM build */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001565 xmlDocPtr myDoc; /* the document being built */
1566 int wellFormed; /* is the document well formed */
1567 int replaceEntities; /* shall we replace entities ? */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001568 const xmlChar *version; /* the XML version string */
1569 const xmlChar *encoding; /* the declared encoding, if any */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001570 int standalone; /* standalone document */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001571 int html; /* an HTML(1)/Docbook(2) document */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001572
1573 /* Input stream stack */
1574 xmlParserInputPtr input; /* Current input stream */
1575 int inputNr; /* Number of current input streams */
1576 int inputMax; /* Max number of input streams */
1577 xmlParserInputPtr *inputTab; /* stack of inputs */
1578
1579 /* Node analysis stack only used for DOM building */
1580 xmlNodePtr node; /* Current parsed Node */
1581 int nodeNr; /* Depth of the parsing stack */
1582 int nodeMax; /* Max depth of the parsing stack */
1583 xmlNodePtr *nodeTab; /* array of nodes */
1584
1585 int record_info; /* Whether node info should be kept */
1586 xmlParserNodeInfoSeq node_seq; /* info about each node parsed */
1587
1588 int errNo; /* error code */
1589
1590 int hasExternalSubset; /* reference and external subset */
1591 int hasPErefs; /* the internal subset has PE refs */
1592 int external; /* are we parsing an external entity */
1593
1594 int valid; /* is the document valid */
1595 int validate; /* shall we try to validate ? */
1596 xmlValidCtxt vctxt; /* The validity context */
1597
1598 xmlParserInputState instate; /* current type of input */
1599 int token; /* next char look-ahead */
1600
1601 char *directory; /* the data directory */
1602
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001603 /* Node name stack */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001604 xmlChar *name; /* Current parsed Node */
1605 int nameNr; /* Depth of the parsing stack */
1606 int nameMax; /* Max depth of the parsing stack */
1607 xmlChar * *nameTab; /* array of nodes */
1608
1609 long nbChars; /* number of xmlChar processed */
1610 long checkIndex; /* used by progressive parsing lookup */
Daniel Veillardf6868712000-01-05 14:58:38 +00001611 int keepBlanks; /* ugly but ... */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001612 int disableSAX; /* SAX callbacks are disabled */
1613 int inSubset; /* Parsing is in int 1/ext 2 subset */
1614 xmlChar * intSubName; /* name of subset */
1615 xmlChar * extSubURI; /* URI of external subset */
1616 xmlChar * extSubSystem; /* SYSTEM ID of external subset */
1617
1618 /* xml:space values */
1619 int * space; /* Should the parser preserve spaces */
1620 int spaceNr; /* Depth of the parsing stack */
1621 int spaceMax; /* Max depth of the parsing stack */
1622 int * spaceTab; /* array of space infos */
1623
1624 int depth; /* to prevent entity substitution loops */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001625 xmlParserInputPtr entity; /* used to check entities boundaries */
1626 int charset; /* encoding of the in-memory content
1627 actually an xmlCharEncoding */
1628 int nodelen; /* Those two fields are there to */
1629 int nodemem; /* Speed up large node parsing */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001630 int pedantic; /* signal pedantic warnings */
1631 void *_private; /* For user data, libxml won't touch it */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001632};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001633></TD
1634></TR
1635></TABLE
Daniel Veillardb05deb71999-08-10 19:04:08 +00001636><P
1637></P
1638></DIV
1639><HR><DIV
1640CLASS="REFSECT2"
1641><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001642NAME="AEN375"
Daniel Veillard35925471999-02-25 08:46:07 +00001643></A
1644><H3
1645><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001646NAME="XMLPARSERCTXTPTR"
1647></A
1648>xmlParserCtxtPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001649><TABLE
1650BORDER="0"
1651BGCOLOR="#D6E8FF"
1652WIDTH="100%"
1653CELLPADDING="6"
1654><TR
1655><TD
1656><PRE
1657CLASS="PROGRAMLISTING"
1658>typedef xmlParserCtxt *xmlParserCtxtPtr;</PRE
1659></TD
1660></TR
1661></TABLE
Daniel Veillard71b656e2000-01-05 14:46:17 +00001662><P
1663></P
1664></DIV
1665><HR><DIV
1666CLASS="REFSECT2"
1667><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001668NAME="AEN380"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001669></A
1670><H3
1671><A
1672NAME="XMLSAXLOCATOR"
1673></A
1674>struct xmlSAXLocator</H3
1675><TABLE
1676BORDER="0"
1677BGCOLOR="#D6E8FF"
1678WIDTH="100%"
1679CELLPADDING="6"
1680><TR
1681><TD
1682><PRE
1683CLASS="PROGRAMLISTING"
1684>struct xmlSAXLocator {
1685 const xmlChar *(*getPublicId)(void *ctx);
1686 const xmlChar *(*getSystemId)(void *ctx);
1687 int (*getLineNumber)(void *ctx);
1688 int (*getColumnNumber)(void *ctx);
1689};</PRE
1690></TD
1691></TR
1692></TABLE
1693><P
1694></P
1695></DIV
1696><HR><DIV
1697CLASS="REFSECT2"
1698><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001699NAME="AEN385"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001700></A
1701><H3
1702><A
1703NAME="XMLSAXLOCATORPTR"
1704></A
1705>xmlSAXLocatorPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001706><TABLE
1707BORDER="0"
1708BGCOLOR="#D6E8FF"
1709WIDTH="100%"
1710CELLPADDING="6"
1711><TR
1712><TD
1713><PRE
1714CLASS="PROGRAMLISTING"
1715>typedef xmlSAXLocator *xmlSAXLocatorPtr;</PRE
1716></TD
1717></TR
1718></TABLE
Daniel Veillard71b656e2000-01-05 14:46:17 +00001719><P
1720></P
1721></DIV
1722><HR><DIV
1723CLASS="REFSECT2"
1724><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001725NAME="AEN390"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001726></A
1727><H3
1728><A
Daniel Veillard35925471999-02-25 08:46:07 +00001729NAME="RESOLVEENTITYSAXFUNC"
1730></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001731>resolveEntitySAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001732><TABLE
1733BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001734BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001735WIDTH="100%"
1736CELLPADDING="6"
1737><TR
1738><TD
1739><PRE
1740CLASS="PROGRAMLISTING"
1741><A
1742HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
1743>xmlParserInputPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001744> (*resolveEntitySAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00001745 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001746HREF="gnome-xml-tree.html#XMLCHAR"
1747>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001748> *publicId,
1749 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001750HREF="gnome-xml-tree.html#XMLCHAR"
1751>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001752> *systemId);</PRE
1753></TD
1754></TR
1755></TABLE
1756><P
1757></P
1758><DIV
1759CLASS="INFORMALTABLE"
1760><P
1761></P
1762><TABLE
1763BORDER="0"
1764WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001765BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001766CELLSPACING="0"
1767CELLPADDING="4"
1768CLASS="CALSTABLE"
1769><TR
1770><TD
1771WIDTH="20%"
1772ALIGN="RIGHT"
1773VALIGN="TOP"
1774><TT
1775CLASS="PARAMETER"
1776><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00001777>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00001778></TT
1779>&nbsp;:</TD
1780><TD
1781WIDTH="80%"
1782ALIGN="LEFT"
1783VALIGN="TOP"
1784>&nbsp;</TD
1785></TR
1786><TR
1787><TD
1788WIDTH="20%"
1789ALIGN="RIGHT"
1790VALIGN="TOP"
1791><TT
1792CLASS="PARAMETER"
1793><I
1794>publicId</I
1795></TT
1796>&nbsp;:</TD
1797><TD
1798WIDTH="80%"
1799ALIGN="LEFT"
1800VALIGN="TOP"
1801>&nbsp;</TD
1802></TR
1803><TR
1804><TD
1805WIDTH="20%"
1806ALIGN="RIGHT"
1807VALIGN="TOP"
1808><TT
1809CLASS="PARAMETER"
1810><I
1811>systemId</I
1812></TT
1813>&nbsp;:</TD
1814><TD
1815WIDTH="80%"
1816ALIGN="LEFT"
1817VALIGN="TOP"
1818>&nbsp;</TD
1819></TR
1820><TR
1821><TD
1822WIDTH="20%"
1823ALIGN="RIGHT"
1824VALIGN="TOP"
1825><I
1826CLASS="EMPHASIS"
1827>Returns</I
1828> :</TD
1829><TD
1830WIDTH="80%"
1831ALIGN="LEFT"
1832VALIGN="TOP"
1833>&nbsp;</TD
1834></TR
1835></TABLE
1836><P
1837></P
1838></DIV
1839></DIV
1840><HR><DIV
1841CLASS="REFSECT2"
1842><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001843NAME="AEN419"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001844></A
1845><H3
1846><A
1847NAME="INTERNALSUBSETSAXFUNC"
1848></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001849>internalSubsetSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00001850><TABLE
1851BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001852BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001853WIDTH="100%"
1854CELLPADDING="6"
1855><TR
1856><TD
1857><PRE
1858CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00001859>void (*internalSubsetSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001860 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001861HREF="gnome-xml-tree.html#XMLCHAR"
1862>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001863> *name,
1864 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001865HREF="gnome-xml-tree.html#XMLCHAR"
1866>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001867> *ExternalID,
1868 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001869HREF="gnome-xml-tree.html#XMLCHAR"
1870>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001871> *SystemID);</PRE
1872></TD
1873></TR
1874></TABLE
1875><P
1876></P
1877><DIV
1878CLASS="INFORMALTABLE"
1879><P
1880></P
1881><TABLE
1882BORDER="0"
1883WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001884BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001885CELLSPACING="0"
1886CELLPADDING="4"
1887CLASS="CALSTABLE"
1888><TR
1889><TD
1890WIDTH="20%"
1891ALIGN="RIGHT"
1892VALIGN="TOP"
1893><TT
1894CLASS="PARAMETER"
1895><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00001896>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001897></TT
1898>&nbsp;:</TD
1899><TD
1900WIDTH="80%"
1901ALIGN="LEFT"
1902VALIGN="TOP"
1903>&nbsp;</TD
1904></TR
1905><TR
1906><TD
1907WIDTH="20%"
1908ALIGN="RIGHT"
1909VALIGN="TOP"
1910><TT
1911CLASS="PARAMETER"
1912><I
1913>name</I
1914></TT
1915>&nbsp;:</TD
1916><TD
1917WIDTH="80%"
1918ALIGN="LEFT"
1919VALIGN="TOP"
1920>&nbsp;</TD
1921></TR
1922><TR
1923><TD
1924WIDTH="20%"
1925ALIGN="RIGHT"
1926VALIGN="TOP"
1927><TT
1928CLASS="PARAMETER"
1929><I
1930>ExternalID</I
1931></TT
1932>&nbsp;:</TD
1933><TD
1934WIDTH="80%"
1935ALIGN="LEFT"
1936VALIGN="TOP"
1937>&nbsp;</TD
1938></TR
1939><TR
1940><TD
1941WIDTH="20%"
1942ALIGN="RIGHT"
1943VALIGN="TOP"
1944><TT
1945CLASS="PARAMETER"
1946><I
1947>SystemID</I
1948></TT
1949>&nbsp;:</TD
1950><TD
1951WIDTH="80%"
1952ALIGN="LEFT"
1953VALIGN="TOP"
1954>&nbsp;</TD
1955></TR
1956></TABLE
1957><P
1958></P
1959></DIV
1960></DIV
1961><HR><DIV
1962CLASS="REFSECT2"
1963><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001964NAME="AEN448"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001965></A
1966><H3
1967><A
1968NAME="EXTERNALSUBSETSAXFUNC"
1969></A
1970>externalSubsetSAXFunc ()</H3
1971><TABLE
1972BORDER="0"
1973BGCOLOR="#D6E8FF"
1974WIDTH="100%"
1975CELLPADDING="6"
1976><TR
1977><TD
1978><PRE
1979CLASS="PROGRAMLISTING"
1980>void (*externalSubsetSAXFunc) (void *ctx,
1981 const <A
1982HREF="gnome-xml-tree.html#XMLCHAR"
1983>xmlChar</A
1984> *name,
1985 const <A
1986HREF="gnome-xml-tree.html#XMLCHAR"
1987>xmlChar</A
1988> *ExternalID,
1989 const <A
1990HREF="gnome-xml-tree.html#XMLCHAR"
1991>xmlChar</A
1992> *SystemID);</PRE
1993></TD
1994></TR
1995></TABLE
1996><P
1997></P
1998><DIV
1999CLASS="INFORMALTABLE"
2000><P
2001></P
2002><TABLE
2003BORDER="0"
2004WIDTH="100%"
2005BGCOLOR="#FFD0D0"
2006CELLSPACING="0"
2007CELLPADDING="4"
2008CLASS="CALSTABLE"
2009><TR
2010><TD
2011WIDTH="20%"
2012ALIGN="RIGHT"
2013VALIGN="TOP"
2014><TT
2015CLASS="PARAMETER"
2016><I
2017>ctx</I
2018></TT
2019>&nbsp;:</TD
2020><TD
2021WIDTH="80%"
2022ALIGN="LEFT"
2023VALIGN="TOP"
2024>&nbsp;</TD
2025></TR
2026><TR
2027><TD
2028WIDTH="20%"
2029ALIGN="RIGHT"
2030VALIGN="TOP"
2031><TT
2032CLASS="PARAMETER"
2033><I
2034>name</I
2035></TT
2036>&nbsp;:</TD
2037><TD
2038WIDTH="80%"
2039ALIGN="LEFT"
2040VALIGN="TOP"
2041>&nbsp;</TD
2042></TR
2043><TR
2044><TD
2045WIDTH="20%"
2046ALIGN="RIGHT"
2047VALIGN="TOP"
2048><TT
2049CLASS="PARAMETER"
2050><I
2051>ExternalID</I
2052></TT
2053>&nbsp;:</TD
2054><TD
2055WIDTH="80%"
2056ALIGN="LEFT"
2057VALIGN="TOP"
2058>&nbsp;</TD
2059></TR
2060><TR
2061><TD
2062WIDTH="20%"
2063ALIGN="RIGHT"
2064VALIGN="TOP"
2065><TT
2066CLASS="PARAMETER"
2067><I
2068>SystemID</I
2069></TT
2070>&nbsp;:</TD
2071><TD
2072WIDTH="80%"
2073ALIGN="LEFT"
2074VALIGN="TOP"
2075>&nbsp;</TD
2076></TR
2077></TABLE
2078><P
2079></P
2080></DIV
2081></DIV
2082><HR><DIV
2083CLASS="REFSECT2"
2084><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002085NAME="AEN477"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002086></A
2087><H3
2088><A
2089NAME="GETENTITYSAXFUNC"
2090></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002091>getEntitySAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002092><TABLE
2093BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002094BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002095WIDTH="100%"
2096CELLPADDING="6"
2097><TR
2098><TD
2099><PRE
2100CLASS="PROGRAMLISTING"
2101><A
2102HREF="gnome-xml-entities.html#XMLENTITYPTR"
2103>xmlEntityPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00002104> (*getEntitySAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002105 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002106HREF="gnome-xml-tree.html#XMLCHAR"
2107>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002108> *name);</PRE
2109></TD
2110></TR
2111></TABLE
2112><P
2113></P
2114><DIV
2115CLASS="INFORMALTABLE"
2116><P
2117></P
2118><TABLE
2119BORDER="0"
2120WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002121BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002122CELLSPACING="0"
2123CELLPADDING="4"
2124CLASS="CALSTABLE"
2125><TR
2126><TD
2127WIDTH="20%"
2128ALIGN="RIGHT"
2129VALIGN="TOP"
2130><TT
2131CLASS="PARAMETER"
2132><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002133>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002134></TT
2135>&nbsp;:</TD
2136><TD
2137WIDTH="80%"
2138ALIGN="LEFT"
2139VALIGN="TOP"
2140>&nbsp;</TD
2141></TR
2142><TR
2143><TD
2144WIDTH="20%"
2145ALIGN="RIGHT"
2146VALIGN="TOP"
2147><TT
2148CLASS="PARAMETER"
2149><I
2150>name</I
2151></TT
2152>&nbsp;:</TD
2153><TD
2154WIDTH="80%"
2155ALIGN="LEFT"
2156VALIGN="TOP"
2157>&nbsp;</TD
2158></TR
2159><TR
2160><TD
2161WIDTH="20%"
2162ALIGN="RIGHT"
2163VALIGN="TOP"
2164><I
2165CLASS="EMPHASIS"
2166>Returns</I
2167> :</TD
2168><TD
2169WIDTH="80%"
2170ALIGN="LEFT"
2171VALIGN="TOP"
2172>&nbsp;</TD
2173></TR
2174></TABLE
2175><P
2176></P
2177></DIV
2178></DIV
2179><HR><DIV
2180CLASS="REFSECT2"
2181><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002182NAME="AEN501"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002183></A
2184><H3
2185><A
2186NAME="GETPARAMETERENTITYSAXFUNC"
2187></A
2188>getParameterEntitySAXFunc ()</H3
2189><TABLE
2190BORDER="0"
2191BGCOLOR="#D6E8FF"
2192WIDTH="100%"
2193CELLPADDING="6"
2194><TR
2195><TD
2196><PRE
2197CLASS="PROGRAMLISTING"
2198><A
2199HREF="gnome-xml-entities.html#XMLENTITYPTR"
2200>xmlEntityPtr</A
2201> (*getParameterEntitySAXFunc) (void *ctx,
2202 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002203HREF="gnome-xml-tree.html#XMLCHAR"
2204>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002205> *name);</PRE
2206></TD
2207></TR
2208></TABLE
2209><P
2210></P
2211><DIV
2212CLASS="INFORMALTABLE"
2213><P
2214></P
2215><TABLE
2216BORDER="0"
2217WIDTH="100%"
2218BGCOLOR="#FFD0D0"
2219CELLSPACING="0"
2220CELLPADDING="4"
2221CLASS="CALSTABLE"
2222><TR
2223><TD
2224WIDTH="20%"
2225ALIGN="RIGHT"
2226VALIGN="TOP"
2227><TT
2228CLASS="PARAMETER"
2229><I
2230>ctx</I
2231></TT
2232>&nbsp;:</TD
2233><TD
2234WIDTH="80%"
2235ALIGN="LEFT"
2236VALIGN="TOP"
2237>&nbsp;</TD
2238></TR
2239><TR
2240><TD
2241WIDTH="20%"
2242ALIGN="RIGHT"
2243VALIGN="TOP"
2244><TT
2245CLASS="PARAMETER"
2246><I
2247>name</I
2248></TT
2249>&nbsp;:</TD
2250><TD
2251WIDTH="80%"
2252ALIGN="LEFT"
2253VALIGN="TOP"
2254>&nbsp;</TD
2255></TR
2256><TR
2257><TD
2258WIDTH="20%"
2259ALIGN="RIGHT"
2260VALIGN="TOP"
2261><I
2262CLASS="EMPHASIS"
2263>Returns</I
2264> :</TD
2265><TD
2266WIDTH="80%"
2267ALIGN="LEFT"
2268VALIGN="TOP"
2269>&nbsp;</TD
2270></TR
2271></TABLE
2272><P
2273></P
2274></DIV
2275></DIV
2276><HR><DIV
2277CLASS="REFSECT2"
2278><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002279NAME="AEN525"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002280></A
2281><H3
2282><A
2283NAME="ENTITYDECLSAXFUNC"
2284></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002285>entityDeclSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002286><TABLE
2287BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002288BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002289WIDTH="100%"
2290CELLPADDING="6"
2291><TR
2292><TD
2293><PRE
2294CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002295>void (*entityDeclSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002296 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002297HREF="gnome-xml-tree.html#XMLCHAR"
2298>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002299> *name,
2300 int type,
2301 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002302HREF="gnome-xml-tree.html#XMLCHAR"
2303>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002304> *publicId,
2305 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002306HREF="gnome-xml-tree.html#XMLCHAR"
2307>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002308> *systemId,
2309 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002310HREF="gnome-xml-tree.html#XMLCHAR"
2311>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002312> *content);</PRE
2313></TD
2314></TR
2315></TABLE
2316><P
2317></P
2318><DIV
2319CLASS="INFORMALTABLE"
2320><P
2321></P
2322><TABLE
2323BORDER="0"
2324WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002325BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002326CELLSPACING="0"
2327CELLPADDING="4"
2328CLASS="CALSTABLE"
2329><TR
2330><TD
2331WIDTH="20%"
2332ALIGN="RIGHT"
2333VALIGN="TOP"
2334><TT
2335CLASS="PARAMETER"
2336><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002337>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002338></TT
2339>&nbsp;:</TD
2340><TD
2341WIDTH="80%"
2342ALIGN="LEFT"
2343VALIGN="TOP"
2344>&nbsp;</TD
2345></TR
2346><TR
2347><TD
2348WIDTH="20%"
2349ALIGN="RIGHT"
2350VALIGN="TOP"
2351><TT
2352CLASS="PARAMETER"
2353><I
2354>name</I
2355></TT
2356>&nbsp;:</TD
2357><TD
2358WIDTH="80%"
2359ALIGN="LEFT"
2360VALIGN="TOP"
2361>&nbsp;</TD
2362></TR
2363><TR
2364><TD
2365WIDTH="20%"
2366ALIGN="RIGHT"
2367VALIGN="TOP"
2368><TT
2369CLASS="PARAMETER"
2370><I
2371>type</I
2372></TT
2373>&nbsp;:</TD
2374><TD
2375WIDTH="80%"
2376ALIGN="LEFT"
2377VALIGN="TOP"
2378>&nbsp;</TD
2379></TR
2380><TR
2381><TD
2382WIDTH="20%"
2383ALIGN="RIGHT"
2384VALIGN="TOP"
2385><TT
2386CLASS="PARAMETER"
2387><I
2388>publicId</I
2389></TT
2390>&nbsp;:</TD
2391><TD
2392WIDTH="80%"
2393ALIGN="LEFT"
2394VALIGN="TOP"
2395>&nbsp;</TD
2396></TR
2397><TR
2398><TD
2399WIDTH="20%"
2400ALIGN="RIGHT"
2401VALIGN="TOP"
2402><TT
2403CLASS="PARAMETER"
2404><I
2405>systemId</I
2406></TT
2407>&nbsp;:</TD
2408><TD
2409WIDTH="80%"
2410ALIGN="LEFT"
2411VALIGN="TOP"
2412>&nbsp;</TD
2413></TR
2414><TR
2415><TD
2416WIDTH="20%"
2417ALIGN="RIGHT"
2418VALIGN="TOP"
2419><TT
2420CLASS="PARAMETER"
2421><I
2422>content</I
2423></TT
2424>&nbsp;:</TD
2425><TD
2426WIDTH="80%"
2427ALIGN="LEFT"
2428VALIGN="TOP"
2429>&nbsp;</TD
2430></TR
2431></TABLE
2432><P
2433></P
2434></DIV
2435></DIV
2436><HR><DIV
2437CLASS="REFSECT2"
2438><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002439NAME="AEN563"
Daniel Veillard35925471999-02-25 08:46:07 +00002440></A
2441><H3
2442><A
2443NAME="NOTATIONDECLSAXFUNC"
2444></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002445>notationDeclSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002446><TABLE
2447BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002448BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002449WIDTH="100%"
2450CELLPADDING="6"
2451><TR
2452><TD
2453><PRE
2454CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002455>void (*notationDeclSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00002456 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002457HREF="gnome-xml-tree.html#XMLCHAR"
2458>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002459> *name,
2460 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002461HREF="gnome-xml-tree.html#XMLCHAR"
2462>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002463> *publicId,
2464 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002465HREF="gnome-xml-tree.html#XMLCHAR"
2466>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002467> *systemId);</PRE
2468></TD
2469></TR
2470></TABLE
2471><P
2472></P
2473><DIV
2474CLASS="INFORMALTABLE"
2475><P
2476></P
2477><TABLE
2478BORDER="0"
2479WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002480BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002481CELLSPACING="0"
2482CELLPADDING="4"
2483CLASS="CALSTABLE"
2484><TR
2485><TD
2486WIDTH="20%"
2487ALIGN="RIGHT"
2488VALIGN="TOP"
2489><TT
2490CLASS="PARAMETER"
2491><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002492>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00002493></TT
2494>&nbsp;:</TD
2495><TD
2496WIDTH="80%"
2497ALIGN="LEFT"
2498VALIGN="TOP"
2499>&nbsp;</TD
2500></TR
2501><TR
2502><TD
2503WIDTH="20%"
2504ALIGN="RIGHT"
2505VALIGN="TOP"
2506><TT
2507CLASS="PARAMETER"
2508><I
2509>name</I
2510></TT
2511>&nbsp;:</TD
2512><TD
2513WIDTH="80%"
2514ALIGN="LEFT"
2515VALIGN="TOP"
2516>&nbsp;</TD
2517></TR
2518><TR
2519><TD
2520WIDTH="20%"
2521ALIGN="RIGHT"
2522VALIGN="TOP"
2523><TT
2524CLASS="PARAMETER"
2525><I
2526>publicId</I
2527></TT
2528>&nbsp;:</TD
2529><TD
2530WIDTH="80%"
2531ALIGN="LEFT"
2532VALIGN="TOP"
2533>&nbsp;</TD
2534></TR
2535><TR
2536><TD
2537WIDTH="20%"
2538ALIGN="RIGHT"
2539VALIGN="TOP"
2540><TT
2541CLASS="PARAMETER"
2542><I
2543>systemId</I
2544></TT
2545>&nbsp;:</TD
2546><TD
2547WIDTH="80%"
2548ALIGN="LEFT"
2549VALIGN="TOP"
2550>&nbsp;</TD
2551></TR
2552></TABLE
2553><P
2554></P
2555></DIV
2556></DIV
2557><HR><DIV
2558CLASS="REFSECT2"
2559><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002560NAME="AEN592"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002561></A
2562><H3
2563><A
2564NAME="ATTRIBUTEDECLSAXFUNC"
2565></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002566>attributeDeclSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002567><TABLE
2568BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002569BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002570WIDTH="100%"
2571CELLPADDING="6"
2572><TR
2573><TD
2574><PRE
2575CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002576>void (*attributeDeclSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002577 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002578HREF="gnome-xml-tree.html#XMLCHAR"
2579>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002580> *elem,
2581 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002582HREF="gnome-xml-tree.html#XMLCHAR"
2583>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002584> *name,
2585 int type,
2586 int def,
2587 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002588HREF="gnome-xml-tree.html#XMLCHAR"
2589>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002590> *defaultValue,
2591 <A
2592HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2593>xmlEnumerationPtr</A
2594> tree);</PRE
2595></TD
2596></TR
2597></TABLE
2598><P
2599></P
2600><DIV
2601CLASS="INFORMALTABLE"
2602><P
2603></P
2604><TABLE
2605BORDER="0"
2606WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002607BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002608CELLSPACING="0"
2609CELLPADDING="4"
2610CLASS="CALSTABLE"
2611><TR
2612><TD
2613WIDTH="20%"
2614ALIGN="RIGHT"
2615VALIGN="TOP"
2616><TT
2617CLASS="PARAMETER"
2618><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002619>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002620></TT
2621>&nbsp;:</TD
2622><TD
2623WIDTH="80%"
2624ALIGN="LEFT"
2625VALIGN="TOP"
2626>&nbsp;</TD
2627></TR
2628><TR
2629><TD
2630WIDTH="20%"
2631ALIGN="RIGHT"
2632VALIGN="TOP"
2633><TT
2634CLASS="PARAMETER"
2635><I
2636>elem</I
2637></TT
2638>&nbsp;:</TD
2639><TD
2640WIDTH="80%"
2641ALIGN="LEFT"
2642VALIGN="TOP"
2643>&nbsp;</TD
2644></TR
2645><TR
2646><TD
2647WIDTH="20%"
2648ALIGN="RIGHT"
2649VALIGN="TOP"
2650><TT
2651CLASS="PARAMETER"
2652><I
2653>name</I
2654></TT
2655>&nbsp;:</TD
2656><TD
2657WIDTH="80%"
2658ALIGN="LEFT"
2659VALIGN="TOP"
2660>&nbsp;</TD
2661></TR
2662><TR
2663><TD
2664WIDTH="20%"
2665ALIGN="RIGHT"
2666VALIGN="TOP"
2667><TT
2668CLASS="PARAMETER"
2669><I
2670>type</I
2671></TT
2672>&nbsp;:</TD
2673><TD
2674WIDTH="80%"
2675ALIGN="LEFT"
2676VALIGN="TOP"
2677>&nbsp;</TD
2678></TR
2679><TR
2680><TD
2681WIDTH="20%"
2682ALIGN="RIGHT"
2683VALIGN="TOP"
2684><TT
2685CLASS="PARAMETER"
2686><I
2687>def</I
2688></TT
2689>&nbsp;:</TD
2690><TD
2691WIDTH="80%"
2692ALIGN="LEFT"
2693VALIGN="TOP"
2694>&nbsp;</TD
2695></TR
2696><TR
2697><TD
2698WIDTH="20%"
2699ALIGN="RIGHT"
2700VALIGN="TOP"
2701><TT
2702CLASS="PARAMETER"
2703><I
2704>defaultValue</I
2705></TT
2706>&nbsp;:</TD
2707><TD
2708WIDTH="80%"
2709ALIGN="LEFT"
2710VALIGN="TOP"
2711>&nbsp;</TD
2712></TR
2713><TR
2714><TD
2715WIDTH="20%"
2716ALIGN="RIGHT"
2717VALIGN="TOP"
2718><TT
2719CLASS="PARAMETER"
2720><I
2721>tree</I
2722></TT
2723>&nbsp;:</TD
2724><TD
2725WIDTH="80%"
2726ALIGN="LEFT"
2727VALIGN="TOP"
2728>&nbsp;</TD
2729></TR
2730></TABLE
2731><P
2732></P
2733></DIV
2734></DIV
2735><HR><DIV
2736CLASS="REFSECT2"
2737><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002738NAME="AEN634"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002739></A
2740><H3
2741><A
2742NAME="ELEMENTDECLSAXFUNC"
2743></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002744>elementDeclSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002745><TABLE
2746BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002747BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002748WIDTH="100%"
2749CELLPADDING="6"
2750><TR
2751><TD
2752><PRE
2753CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002754>void (*elementDeclSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002755 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002756HREF="gnome-xml-tree.html#XMLCHAR"
2757>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002758> *name,
2759 int type,
2760 <A
2761HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2762>xmlElementContentPtr</A
2763> content);</PRE
2764></TD
2765></TR
2766></TABLE
2767><P
2768></P
2769><DIV
2770CLASS="INFORMALTABLE"
2771><P
2772></P
2773><TABLE
2774BORDER="0"
2775WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002776BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002777CELLSPACING="0"
2778CELLPADDING="4"
2779CLASS="CALSTABLE"
2780><TR
2781><TD
2782WIDTH="20%"
2783ALIGN="RIGHT"
2784VALIGN="TOP"
2785><TT
2786CLASS="PARAMETER"
2787><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002788>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002789></TT
2790>&nbsp;:</TD
2791><TD
2792WIDTH="80%"
2793ALIGN="LEFT"
2794VALIGN="TOP"
2795>&nbsp;</TD
2796></TR
2797><TR
2798><TD
2799WIDTH="20%"
2800ALIGN="RIGHT"
2801VALIGN="TOP"
2802><TT
2803CLASS="PARAMETER"
2804><I
2805>name</I
2806></TT
2807>&nbsp;:</TD
2808><TD
2809WIDTH="80%"
2810ALIGN="LEFT"
2811VALIGN="TOP"
2812>&nbsp;</TD
2813></TR
2814><TR
2815><TD
2816WIDTH="20%"
2817ALIGN="RIGHT"
2818VALIGN="TOP"
2819><TT
2820CLASS="PARAMETER"
2821><I
2822>type</I
2823></TT
2824>&nbsp;:</TD
2825><TD
2826WIDTH="80%"
2827ALIGN="LEFT"
2828VALIGN="TOP"
2829>&nbsp;</TD
2830></TR
2831><TR
2832><TD
2833WIDTH="20%"
2834ALIGN="RIGHT"
2835VALIGN="TOP"
2836><TT
2837CLASS="PARAMETER"
2838><I
2839>content</I
2840></TT
2841>&nbsp;:</TD
2842><TD
2843WIDTH="80%"
2844ALIGN="LEFT"
2845VALIGN="TOP"
2846>&nbsp;</TD
2847></TR
2848></TABLE
2849><P
2850></P
2851></DIV
2852></DIV
2853><HR><DIV
2854CLASS="REFSECT2"
2855><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002856NAME="AEN662"
Daniel Veillard35925471999-02-25 08:46:07 +00002857></A
2858><H3
2859><A
2860NAME="UNPARSEDENTITYDECLSAXFUNC"
2861></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002862>unparsedEntityDeclSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002863><TABLE
2864BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002865BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002866WIDTH="100%"
2867CELLPADDING="6"
2868><TR
2869><TD
2870><PRE
2871CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002872>void (*unparsedEntityDeclSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00002873 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002874HREF="gnome-xml-tree.html#XMLCHAR"
2875>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002876> *name,
2877 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002878HREF="gnome-xml-tree.html#XMLCHAR"
2879>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002880> *publicId,
2881 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002882HREF="gnome-xml-tree.html#XMLCHAR"
2883>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002884> *systemId,
2885 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002886HREF="gnome-xml-tree.html#XMLCHAR"
2887>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002888> *notationName);</PRE
2889></TD
2890></TR
2891></TABLE
2892><P
2893></P
2894><DIV
2895CLASS="INFORMALTABLE"
2896><P
2897></P
2898><TABLE
2899BORDER="0"
2900WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002901BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002902CELLSPACING="0"
2903CELLPADDING="4"
2904CLASS="CALSTABLE"
2905><TR
2906><TD
2907WIDTH="20%"
2908ALIGN="RIGHT"
2909VALIGN="TOP"
2910><TT
2911CLASS="PARAMETER"
2912><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002913>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00002914></TT
2915>&nbsp;:</TD
2916><TD
2917WIDTH="80%"
2918ALIGN="LEFT"
2919VALIGN="TOP"
2920>&nbsp;</TD
2921></TR
2922><TR
2923><TD
2924WIDTH="20%"
2925ALIGN="RIGHT"
2926VALIGN="TOP"
2927><TT
2928CLASS="PARAMETER"
2929><I
2930>name</I
2931></TT
2932>&nbsp;:</TD
2933><TD
2934WIDTH="80%"
2935ALIGN="LEFT"
2936VALIGN="TOP"
2937>&nbsp;</TD
2938></TR
2939><TR
2940><TD
2941WIDTH="20%"
2942ALIGN="RIGHT"
2943VALIGN="TOP"
2944><TT
2945CLASS="PARAMETER"
2946><I
2947>publicId</I
2948></TT
2949>&nbsp;:</TD
2950><TD
2951WIDTH="80%"
2952ALIGN="LEFT"
2953VALIGN="TOP"
2954>&nbsp;</TD
2955></TR
2956><TR
2957><TD
2958WIDTH="20%"
2959ALIGN="RIGHT"
2960VALIGN="TOP"
2961><TT
2962CLASS="PARAMETER"
2963><I
2964>systemId</I
2965></TT
2966>&nbsp;:</TD
2967><TD
2968WIDTH="80%"
2969ALIGN="LEFT"
2970VALIGN="TOP"
2971>&nbsp;</TD
2972></TR
2973><TR
2974><TD
2975WIDTH="20%"
2976ALIGN="RIGHT"
2977VALIGN="TOP"
2978><TT
2979CLASS="PARAMETER"
2980><I
2981>notationName</I
2982></TT
2983>&nbsp;:</TD
2984><TD
2985WIDTH="80%"
2986ALIGN="LEFT"
2987VALIGN="TOP"
2988>&nbsp;</TD
2989></TR
2990></TABLE
2991><P
2992></P
2993></DIV
2994></DIV
2995><HR><DIV
2996CLASS="REFSECT2"
2997><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002998NAME="AEN696"
Daniel Veillard35925471999-02-25 08:46:07 +00002999></A
3000><H3
3001><A
3002NAME="SETDOCUMENTLOCATORSAXFUNC"
3003></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003004>setDocumentLocatorSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003005><TABLE
3006BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003007BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003008WIDTH="100%"
3009CELLPADDING="6"
3010><TR
3011><TD
3012><PRE
3013CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003014>void (*setDocumentLocatorSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003015 <A
3016HREF="gnome-xml-parser.html#XMLSAXLOCATORPTR"
3017>xmlSAXLocatorPtr</A
3018> loc);</PRE
3019></TD
3020></TR
3021></TABLE
3022><P
3023></P
3024><DIV
3025CLASS="INFORMALTABLE"
3026><P
3027></P
3028><TABLE
3029BORDER="0"
3030WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003031BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003032CELLSPACING="0"
3033CELLPADDING="4"
3034CLASS="CALSTABLE"
3035><TR
3036><TD
3037WIDTH="20%"
3038ALIGN="RIGHT"
3039VALIGN="TOP"
3040><TT
3041CLASS="PARAMETER"
3042><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003043>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003044></TT
3045>&nbsp;:</TD
3046><TD
3047WIDTH="80%"
3048ALIGN="LEFT"
3049VALIGN="TOP"
3050>&nbsp;</TD
3051></TR
3052><TR
3053><TD
3054WIDTH="20%"
3055ALIGN="RIGHT"
3056VALIGN="TOP"
3057><TT
3058CLASS="PARAMETER"
3059><I
3060>loc</I
3061></TT
3062>&nbsp;:</TD
3063><TD
3064WIDTH="80%"
3065ALIGN="LEFT"
3066VALIGN="TOP"
3067>&nbsp;</TD
3068></TR
3069></TABLE
3070><P
3071></P
3072></DIV
3073></DIV
3074><HR><DIV
3075CLASS="REFSECT2"
3076><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003077NAME="AEN715"
Daniel Veillard35925471999-02-25 08:46:07 +00003078></A
3079><H3
3080><A
3081NAME="STARTDOCUMENTSAXFUNC"
3082></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003083>startDocumentSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003084><TABLE
3085BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003086BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003087WIDTH="100%"
3088CELLPADDING="6"
3089><TR
3090><TD
3091><PRE
3092CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003093>void (*startDocumentSAXFunc) (void *ctx);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003094></TD
3095></TR
3096></TABLE
3097><P
3098></P
3099><DIV
3100CLASS="INFORMALTABLE"
3101><P
3102></P
3103><TABLE
3104BORDER="0"
3105WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003106BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003107CELLSPACING="0"
3108CELLPADDING="4"
3109CLASS="CALSTABLE"
3110><TR
3111><TD
3112WIDTH="20%"
3113ALIGN="RIGHT"
3114VALIGN="TOP"
3115><TT
3116CLASS="PARAMETER"
3117><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003118>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003119></TT
3120>&nbsp;:</TD
3121><TD
3122WIDTH="80%"
3123ALIGN="LEFT"
3124VALIGN="TOP"
3125>&nbsp;</TD
3126></TR
3127></TABLE
3128><P
3129></P
3130></DIV
3131></DIV
3132><HR><DIV
3133CLASS="REFSECT2"
3134><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003135NAME="AEN729"
Daniel Veillard35925471999-02-25 08:46:07 +00003136></A
3137><H3
3138><A
3139NAME="ENDDOCUMENTSAXFUNC"
3140></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003141>endDocumentSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003142><TABLE
3143BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003144BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003145WIDTH="100%"
3146CELLPADDING="6"
3147><TR
3148><TD
3149><PRE
3150CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003151>void (*endDocumentSAXFunc) (void *ctx);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003152></TD
3153></TR
3154></TABLE
3155><P
3156></P
3157><DIV
3158CLASS="INFORMALTABLE"
3159><P
3160></P
3161><TABLE
3162BORDER="0"
3163WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003164BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003165CELLSPACING="0"
3166CELLPADDING="4"
3167CLASS="CALSTABLE"
3168><TR
3169><TD
3170WIDTH="20%"
3171ALIGN="RIGHT"
3172VALIGN="TOP"
3173><TT
3174CLASS="PARAMETER"
3175><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003176>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003177></TT
3178>&nbsp;:</TD
3179><TD
3180WIDTH="80%"
3181ALIGN="LEFT"
3182VALIGN="TOP"
3183>&nbsp;</TD
3184></TR
3185></TABLE
3186><P
3187></P
3188></DIV
3189></DIV
3190><HR><DIV
3191CLASS="REFSECT2"
3192><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003193NAME="AEN743"
Daniel Veillard35925471999-02-25 08:46:07 +00003194></A
3195><H3
3196><A
3197NAME="STARTELEMENTSAXFUNC"
3198></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003199>startElementSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003200><TABLE
3201BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003202BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003203WIDTH="100%"
3204CELLPADDING="6"
3205><TR
3206><TD
3207><PRE
3208CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003209>void (*startElementSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003210 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003211HREF="gnome-xml-tree.html#XMLCHAR"
3212>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003213> *name,
3214 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003215HREF="gnome-xml-tree.html#XMLCHAR"
3216>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003217> **atts);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003218></TD
3219></TR
3220></TABLE
3221><P
3222></P
3223><DIV
3224CLASS="INFORMALTABLE"
3225><P
3226></P
3227><TABLE
3228BORDER="0"
3229WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003230BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003231CELLSPACING="0"
3232CELLPADDING="4"
3233CLASS="CALSTABLE"
3234><TR
3235><TD
3236WIDTH="20%"
3237ALIGN="RIGHT"
3238VALIGN="TOP"
3239><TT
3240CLASS="PARAMETER"
3241><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003242>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003243></TT
3244>&nbsp;:</TD
3245><TD
3246WIDTH="80%"
3247ALIGN="LEFT"
3248VALIGN="TOP"
3249>&nbsp;</TD
3250></TR
3251><TR
3252><TD
3253WIDTH="20%"
3254ALIGN="RIGHT"
3255VALIGN="TOP"
3256><TT
3257CLASS="PARAMETER"
3258><I
3259>name</I
3260></TT
3261>&nbsp;:</TD
3262><TD
3263WIDTH="80%"
3264ALIGN="LEFT"
3265VALIGN="TOP"
3266>&nbsp;</TD
3267></TR
Daniel Veillard5099ae81999-04-21 20:12:07 +00003268><TR
3269><TD
3270WIDTH="20%"
3271ALIGN="RIGHT"
3272VALIGN="TOP"
3273><TT
3274CLASS="PARAMETER"
3275><I
3276>atts</I
3277></TT
3278>&nbsp;:</TD
3279><TD
3280WIDTH="80%"
3281ALIGN="LEFT"
3282VALIGN="TOP"
3283>&nbsp;</TD
3284></TR
Daniel Veillard35925471999-02-25 08:46:07 +00003285></TABLE
3286><P
3287></P
3288></DIV
3289></DIV
3290><HR><DIV
3291CLASS="REFSECT2"
3292><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003293NAME="AEN767"
Daniel Veillard35925471999-02-25 08:46:07 +00003294></A
3295><H3
3296><A
3297NAME="ENDELEMENTSAXFUNC"
3298></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003299>endElementSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003300><TABLE
3301BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003302BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003303WIDTH="100%"
3304CELLPADDING="6"
3305><TR
3306><TD
3307><PRE
3308CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003309>void (*endElementSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003310 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003311HREF="gnome-xml-tree.html#XMLCHAR"
3312>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003313> *name);</PRE
3314></TD
3315></TR
3316></TABLE
3317><P
3318></P
3319><DIV
3320CLASS="INFORMALTABLE"
3321><P
3322></P
3323><TABLE
3324BORDER="0"
3325WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003326BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003327CELLSPACING="0"
3328CELLPADDING="4"
3329CLASS="CALSTABLE"
3330><TR
3331><TD
3332WIDTH="20%"
3333ALIGN="RIGHT"
3334VALIGN="TOP"
3335><TT
3336CLASS="PARAMETER"
3337><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003338>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003339></TT
3340>&nbsp;:</TD
3341><TD
3342WIDTH="80%"
3343ALIGN="LEFT"
3344VALIGN="TOP"
3345>&nbsp;</TD
3346></TR
3347><TR
3348><TD
3349WIDTH="20%"
3350ALIGN="RIGHT"
3351VALIGN="TOP"
3352><TT
3353CLASS="PARAMETER"
3354><I
3355>name</I
3356></TT
3357>&nbsp;:</TD
3358><TD
3359WIDTH="80%"
3360ALIGN="LEFT"
3361VALIGN="TOP"
3362>&nbsp;</TD
3363></TR
3364></TABLE
3365><P
3366></P
3367></DIV
3368></DIV
3369><HR><DIV
3370CLASS="REFSECT2"
3371><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003372NAME="AEN786"
Daniel Veillard35925471999-02-25 08:46:07 +00003373></A
3374><H3
3375><A
3376NAME="ATTRIBUTESAXFUNC"
3377></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003378>attributeSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003379><TABLE
3380BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003381BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003382WIDTH="100%"
3383CELLPADDING="6"
3384><TR
3385><TD
3386><PRE
3387CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003388>void (*attributeSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003389 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003390HREF="gnome-xml-tree.html#XMLCHAR"
3391>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003392> *name,
3393 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003394HREF="gnome-xml-tree.html#XMLCHAR"
3395>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003396> *value);</PRE
3397></TD
3398></TR
3399></TABLE
3400><P
3401></P
3402><DIV
3403CLASS="INFORMALTABLE"
3404><P
3405></P
3406><TABLE
3407BORDER="0"
3408WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003409BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003410CELLSPACING="0"
3411CELLPADDING="4"
3412CLASS="CALSTABLE"
3413><TR
3414><TD
3415WIDTH="20%"
3416ALIGN="RIGHT"
3417VALIGN="TOP"
3418><TT
3419CLASS="PARAMETER"
3420><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003421>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003422></TT
3423>&nbsp;:</TD
3424><TD
3425WIDTH="80%"
3426ALIGN="LEFT"
3427VALIGN="TOP"
3428>&nbsp;</TD
3429></TR
3430><TR
3431><TD
3432WIDTH="20%"
3433ALIGN="RIGHT"
3434VALIGN="TOP"
3435><TT
3436CLASS="PARAMETER"
3437><I
3438>name</I
3439></TT
3440>&nbsp;:</TD
3441><TD
3442WIDTH="80%"
3443ALIGN="LEFT"
3444VALIGN="TOP"
3445>&nbsp;</TD
3446></TR
3447><TR
3448><TD
3449WIDTH="20%"
3450ALIGN="RIGHT"
3451VALIGN="TOP"
3452><TT
3453CLASS="PARAMETER"
3454><I
3455>value</I
3456></TT
3457>&nbsp;:</TD
3458><TD
3459WIDTH="80%"
3460ALIGN="LEFT"
3461VALIGN="TOP"
3462>&nbsp;</TD
3463></TR
3464></TABLE
3465><P
3466></P
3467></DIV
3468></DIV
3469><HR><DIV
3470CLASS="REFSECT2"
3471><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003472NAME="AEN810"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003473></A
3474><H3
3475><A
3476NAME="REFERENCESAXFUNC"
3477></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003478>referenceSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003479><TABLE
3480BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003481BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003482WIDTH="100%"
3483CELLPADDING="6"
3484><TR
3485><TD
3486><PRE
3487CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003488>void (*referenceSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003489 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003490HREF="gnome-xml-tree.html#XMLCHAR"
3491>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003492> *name);</PRE
3493></TD
3494></TR
3495></TABLE
3496><P
3497></P
3498><DIV
3499CLASS="INFORMALTABLE"
3500><P
3501></P
3502><TABLE
3503BORDER="0"
3504WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003505BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003506CELLSPACING="0"
3507CELLPADDING="4"
3508CLASS="CALSTABLE"
3509><TR
3510><TD
3511WIDTH="20%"
3512ALIGN="RIGHT"
3513VALIGN="TOP"
3514><TT
3515CLASS="PARAMETER"
3516><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003517>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003518></TT
3519>&nbsp;:</TD
3520><TD
3521WIDTH="80%"
3522ALIGN="LEFT"
3523VALIGN="TOP"
3524>&nbsp;</TD
3525></TR
3526><TR
3527><TD
3528WIDTH="20%"
3529ALIGN="RIGHT"
3530VALIGN="TOP"
3531><TT
3532CLASS="PARAMETER"
3533><I
3534>name</I
3535></TT
3536>&nbsp;:</TD
3537><TD
3538WIDTH="80%"
3539ALIGN="LEFT"
3540VALIGN="TOP"
3541>&nbsp;</TD
3542></TR
3543></TABLE
3544><P
3545></P
3546></DIV
3547></DIV
3548><HR><DIV
3549CLASS="REFSECT2"
3550><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003551NAME="AEN829"
Daniel Veillard35925471999-02-25 08:46:07 +00003552></A
3553><H3
3554><A
3555NAME="CHARACTERSSAXFUNC"
3556></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003557>charactersSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003558><TABLE
3559BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003560BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003561WIDTH="100%"
3562CELLPADDING="6"
3563><TR
3564><TD
3565><PRE
3566CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003567>void (*charactersSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003568 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003569HREF="gnome-xml-tree.html#XMLCHAR"
3570>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003571> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +00003572 int len);</PRE
3573></TD
3574></TR
3575></TABLE
3576><P
3577></P
3578><DIV
3579CLASS="INFORMALTABLE"
3580><P
3581></P
3582><TABLE
3583BORDER="0"
3584WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003585BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003586CELLSPACING="0"
3587CELLPADDING="4"
3588CLASS="CALSTABLE"
3589><TR
3590><TD
3591WIDTH="20%"
3592ALIGN="RIGHT"
3593VALIGN="TOP"
3594><TT
3595CLASS="PARAMETER"
3596><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003597>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003598></TT
3599>&nbsp;:</TD
3600><TD
3601WIDTH="80%"
3602ALIGN="LEFT"
3603VALIGN="TOP"
3604>&nbsp;</TD
3605></TR
3606><TR
3607><TD
3608WIDTH="20%"
3609ALIGN="RIGHT"
3610VALIGN="TOP"
3611><TT
3612CLASS="PARAMETER"
3613><I
3614>ch</I
3615></TT
3616>&nbsp;:</TD
3617><TD
3618WIDTH="80%"
3619ALIGN="LEFT"
3620VALIGN="TOP"
3621>&nbsp;</TD
3622></TR
3623><TR
3624><TD
3625WIDTH="20%"
3626ALIGN="RIGHT"
3627VALIGN="TOP"
3628><TT
3629CLASS="PARAMETER"
3630><I
Daniel Veillard35925471999-02-25 08:46:07 +00003631>len</I
3632></TT
3633>&nbsp;:</TD
3634><TD
3635WIDTH="80%"
3636ALIGN="LEFT"
3637VALIGN="TOP"
3638>&nbsp;</TD
3639></TR
3640></TABLE
3641><P
3642></P
3643></DIV
3644></DIV
3645><HR><DIV
3646CLASS="REFSECT2"
3647><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003648NAME="AEN852"
Daniel Veillard35925471999-02-25 08:46:07 +00003649></A
3650><H3
3651><A
3652NAME="IGNORABLEWHITESPACESAXFUNC"
3653></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003654>ignorableWhitespaceSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003655><TABLE
3656BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003657BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003658WIDTH="100%"
3659CELLPADDING="6"
3660><TR
3661><TD
3662><PRE
3663CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003664>void (*ignorableWhitespaceSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003665 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003666HREF="gnome-xml-tree.html#XMLCHAR"
3667>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003668> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +00003669 int len);</PRE
3670></TD
3671></TR
3672></TABLE
3673><P
3674></P
3675><DIV
3676CLASS="INFORMALTABLE"
3677><P
3678></P
3679><TABLE
3680BORDER="0"
3681WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003682BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003683CELLSPACING="0"
3684CELLPADDING="4"
3685CLASS="CALSTABLE"
3686><TR
3687><TD
3688WIDTH="20%"
3689ALIGN="RIGHT"
3690VALIGN="TOP"
3691><TT
3692CLASS="PARAMETER"
3693><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003694>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003695></TT
3696>&nbsp;:</TD
3697><TD
3698WIDTH="80%"
3699ALIGN="LEFT"
3700VALIGN="TOP"
3701>&nbsp;</TD
3702></TR
3703><TR
3704><TD
3705WIDTH="20%"
3706ALIGN="RIGHT"
3707VALIGN="TOP"
3708><TT
3709CLASS="PARAMETER"
3710><I
3711>ch</I
3712></TT
3713>&nbsp;:</TD
3714><TD
3715WIDTH="80%"
3716ALIGN="LEFT"
3717VALIGN="TOP"
3718>&nbsp;</TD
3719></TR
3720><TR
3721><TD
3722WIDTH="20%"
3723ALIGN="RIGHT"
3724VALIGN="TOP"
3725><TT
3726CLASS="PARAMETER"
3727><I
Daniel Veillard35925471999-02-25 08:46:07 +00003728>len</I
3729></TT
3730>&nbsp;:</TD
3731><TD
3732WIDTH="80%"
3733ALIGN="LEFT"
3734VALIGN="TOP"
3735>&nbsp;</TD
3736></TR
3737></TABLE
3738><P
3739></P
3740></DIV
3741></DIV
3742><HR><DIV
3743CLASS="REFSECT2"
3744><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003745NAME="AEN875"
Daniel Veillard35925471999-02-25 08:46:07 +00003746></A
3747><H3
3748><A
3749NAME="PROCESSINGINSTRUCTIONSAXFUNC"
3750></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003751>processingInstructionSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003752><TABLE
3753BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003754BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003755WIDTH="100%"
3756CELLPADDING="6"
3757><TR
3758><TD
3759><PRE
3760CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003761>void (*processingInstructionSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003762 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003763HREF="gnome-xml-tree.html#XMLCHAR"
3764>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003765> *target,
3766 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003767HREF="gnome-xml-tree.html#XMLCHAR"
3768>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003769> *data);</PRE
3770></TD
3771></TR
3772></TABLE
3773><P
3774></P
3775><DIV
3776CLASS="INFORMALTABLE"
3777><P
3778></P
3779><TABLE
3780BORDER="0"
3781WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003782BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003783CELLSPACING="0"
3784CELLPADDING="4"
3785CLASS="CALSTABLE"
3786><TR
3787><TD
3788WIDTH="20%"
3789ALIGN="RIGHT"
3790VALIGN="TOP"
3791><TT
3792CLASS="PARAMETER"
3793><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003794>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003795></TT
3796>&nbsp;:</TD
3797><TD
3798WIDTH="80%"
3799ALIGN="LEFT"
3800VALIGN="TOP"
3801>&nbsp;</TD
3802></TR
3803><TR
3804><TD
3805WIDTH="20%"
3806ALIGN="RIGHT"
3807VALIGN="TOP"
3808><TT
3809CLASS="PARAMETER"
3810><I
3811>target</I
3812></TT
3813>&nbsp;:</TD
3814><TD
3815WIDTH="80%"
3816ALIGN="LEFT"
3817VALIGN="TOP"
3818>&nbsp;</TD
3819></TR
3820><TR
3821><TD
3822WIDTH="20%"
3823ALIGN="RIGHT"
3824VALIGN="TOP"
3825><TT
3826CLASS="PARAMETER"
3827><I
3828>data</I
3829></TT
3830>&nbsp;:</TD
3831><TD
3832WIDTH="80%"
3833ALIGN="LEFT"
3834VALIGN="TOP"
3835>&nbsp;</TD
3836></TR
3837></TABLE
3838><P
3839></P
3840></DIV
3841></DIV
3842><HR><DIV
3843CLASS="REFSECT2"
3844><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003845NAME="AEN899"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003846></A
3847><H3
3848><A
3849NAME="COMMENTSAXFUNC"
3850></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003851>commentSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003852><TABLE
3853BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003854BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003855WIDTH="100%"
3856CELLPADDING="6"
3857><TR
3858><TD
3859><PRE
3860CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003861>void (*commentSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003862 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003863HREF="gnome-xml-tree.html#XMLCHAR"
3864>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003865> *value);</PRE
3866></TD
3867></TR
3868></TABLE
3869><P
3870></P
3871><DIV
3872CLASS="INFORMALTABLE"
3873><P
3874></P
3875><TABLE
3876BORDER="0"
3877WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003878BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003879CELLSPACING="0"
3880CELLPADDING="4"
3881CLASS="CALSTABLE"
3882><TR
3883><TD
3884WIDTH="20%"
3885ALIGN="RIGHT"
3886VALIGN="TOP"
3887><TT
3888CLASS="PARAMETER"
3889><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003890>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003891></TT
3892>&nbsp;:</TD
3893><TD
3894WIDTH="80%"
3895ALIGN="LEFT"
3896VALIGN="TOP"
3897>&nbsp;</TD
3898></TR
3899><TR
3900><TD
3901WIDTH="20%"
3902ALIGN="RIGHT"
3903VALIGN="TOP"
3904><TT
3905CLASS="PARAMETER"
3906><I
3907>value</I
3908></TT
3909>&nbsp;:</TD
3910><TD
3911WIDTH="80%"
3912ALIGN="LEFT"
3913VALIGN="TOP"
3914>&nbsp;</TD
3915></TR
3916></TABLE
3917><P
3918></P
3919></DIV
3920></DIV
3921><HR><DIV
3922CLASS="REFSECT2"
3923><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003924NAME="AEN918"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003925></A
3926><H3
3927><A
3928NAME="CDATABLOCKSAXFUNC"
3929></A
3930>cdataBlockSAXFunc ()</H3
3931><TABLE
3932BORDER="0"
3933BGCOLOR="#D6E8FF"
3934WIDTH="100%"
3935CELLPADDING="6"
3936><TR
3937><TD
3938><PRE
3939CLASS="PROGRAMLISTING"
3940>void (*cdataBlockSAXFunc) (void *ctx,
3941 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003942HREF="gnome-xml-tree.html#XMLCHAR"
3943>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00003944> *value,
3945 int len);</PRE
3946></TD
3947></TR
3948></TABLE
3949><P
3950></P
3951><DIV
3952CLASS="INFORMALTABLE"
3953><P
3954></P
3955><TABLE
3956BORDER="0"
3957WIDTH="100%"
3958BGCOLOR="#FFD0D0"
3959CELLSPACING="0"
3960CELLPADDING="4"
3961CLASS="CALSTABLE"
3962><TR
3963><TD
3964WIDTH="20%"
3965ALIGN="RIGHT"
3966VALIGN="TOP"
3967><TT
3968CLASS="PARAMETER"
3969><I
3970>ctx</I
3971></TT
3972>&nbsp;:</TD
3973><TD
3974WIDTH="80%"
3975ALIGN="LEFT"
3976VALIGN="TOP"
3977>&nbsp;</TD
3978></TR
3979><TR
3980><TD
3981WIDTH="20%"
3982ALIGN="RIGHT"
3983VALIGN="TOP"
3984><TT
3985CLASS="PARAMETER"
3986><I
3987>value</I
3988></TT
3989>&nbsp;:</TD
3990><TD
3991WIDTH="80%"
3992ALIGN="LEFT"
3993VALIGN="TOP"
3994>&nbsp;</TD
3995></TR
3996><TR
3997><TD
3998WIDTH="20%"
3999ALIGN="RIGHT"
4000VALIGN="TOP"
4001><TT
4002CLASS="PARAMETER"
4003><I
4004>len</I
4005></TT
4006>&nbsp;:</TD
4007><TD
4008WIDTH="80%"
4009ALIGN="LEFT"
4010VALIGN="TOP"
4011>&nbsp;</TD
4012></TR
4013></TABLE
4014><P
4015></P
4016></DIV
4017></DIV
4018><HR><DIV
4019CLASS="REFSECT2"
4020><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004021NAME="AEN941"
Daniel Veillard35925471999-02-25 08:46:07 +00004022></A
4023><H3
4024><A
4025NAME="WARNINGSAXFUNC"
4026></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004027>warningSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004028><TABLE
4029BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004030BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004031WIDTH="100%"
4032CELLPADDING="6"
4033><TR
4034><TD
4035><PRE
4036CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004037>void (*warningSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004038 const char *msg,
4039 ...);</PRE
4040></TD
4041></TR
4042></TABLE
4043><P
4044></P
4045><DIV
4046CLASS="INFORMALTABLE"
4047><P
4048></P
4049><TABLE
4050BORDER="0"
4051WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004052BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004053CELLSPACING="0"
4054CELLPADDING="4"
4055CLASS="CALSTABLE"
4056><TR
4057><TD
4058WIDTH="20%"
4059ALIGN="RIGHT"
4060VALIGN="TOP"
4061><TT
4062CLASS="PARAMETER"
4063><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004064>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004065></TT
4066>&nbsp;:</TD
4067><TD
4068WIDTH="80%"
4069ALIGN="LEFT"
4070VALIGN="TOP"
4071>&nbsp;</TD
4072></TR
4073><TR
4074><TD
4075WIDTH="20%"
4076ALIGN="RIGHT"
4077VALIGN="TOP"
4078><TT
4079CLASS="PARAMETER"
4080><I
4081>msg</I
4082></TT
4083>&nbsp;:</TD
4084><TD
4085WIDTH="80%"
4086ALIGN="LEFT"
4087VALIGN="TOP"
4088>&nbsp;</TD
4089></TR
4090><TR
4091><TD
4092WIDTH="20%"
4093ALIGN="RIGHT"
4094VALIGN="TOP"
4095><TT
4096CLASS="PARAMETER"
4097><I
4098>...</I
4099></TT
4100>&nbsp;:</TD
4101><TD
4102WIDTH="80%"
4103ALIGN="LEFT"
4104VALIGN="TOP"
4105>&nbsp;</TD
4106></TR
4107></TABLE
4108><P
4109></P
4110></DIV
4111></DIV
4112><HR><DIV
4113CLASS="REFSECT2"
4114><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004115NAME="AEN963"
Daniel Veillard35925471999-02-25 08:46:07 +00004116></A
4117><H3
4118><A
4119NAME="ERRORSAXFUNC"
4120></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004121>errorSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004122><TABLE
4123BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004124BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004125WIDTH="100%"
4126CELLPADDING="6"
4127><TR
4128><TD
4129><PRE
4130CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004131>void (*errorSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004132 const char *msg,
4133 ...);</PRE
4134></TD
4135></TR
4136></TABLE
4137><P
4138></P
4139><DIV
4140CLASS="INFORMALTABLE"
4141><P
4142></P
4143><TABLE
4144BORDER="0"
4145WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004146BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004147CELLSPACING="0"
4148CELLPADDING="4"
4149CLASS="CALSTABLE"
4150><TR
4151><TD
4152WIDTH="20%"
4153ALIGN="RIGHT"
4154VALIGN="TOP"
4155><TT
4156CLASS="PARAMETER"
4157><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004158>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004159></TT
4160>&nbsp;:</TD
4161><TD
4162WIDTH="80%"
4163ALIGN="LEFT"
4164VALIGN="TOP"
4165>&nbsp;</TD
4166></TR
4167><TR
4168><TD
4169WIDTH="20%"
4170ALIGN="RIGHT"
4171VALIGN="TOP"
4172><TT
4173CLASS="PARAMETER"
4174><I
4175>msg</I
4176></TT
4177>&nbsp;:</TD
4178><TD
4179WIDTH="80%"
4180ALIGN="LEFT"
4181VALIGN="TOP"
4182>&nbsp;</TD
4183></TR
4184><TR
4185><TD
4186WIDTH="20%"
4187ALIGN="RIGHT"
4188VALIGN="TOP"
4189><TT
4190CLASS="PARAMETER"
4191><I
4192>...</I
4193></TT
4194>&nbsp;:</TD
4195><TD
4196WIDTH="80%"
4197ALIGN="LEFT"
4198VALIGN="TOP"
4199>&nbsp;</TD
4200></TR
4201></TABLE
4202><P
4203></P
4204></DIV
4205></DIV
4206><HR><DIV
4207CLASS="REFSECT2"
4208><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004209NAME="AEN985"
Daniel Veillard35925471999-02-25 08:46:07 +00004210></A
4211><H3
4212><A
4213NAME="FATALERRORSAXFUNC"
4214></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004215>fatalErrorSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004216><TABLE
4217BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004218BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004219WIDTH="100%"
4220CELLPADDING="6"
4221><TR
4222><TD
4223><PRE
4224CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004225>void (*fatalErrorSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004226 const char *msg,
4227 ...);</PRE
4228></TD
4229></TR
4230></TABLE
4231><P
4232></P
4233><DIV
4234CLASS="INFORMALTABLE"
4235><P
4236></P
4237><TABLE
4238BORDER="0"
4239WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004240BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004241CELLSPACING="0"
4242CELLPADDING="4"
4243CLASS="CALSTABLE"
4244><TR
4245><TD
4246WIDTH="20%"
4247ALIGN="RIGHT"
4248VALIGN="TOP"
4249><TT
4250CLASS="PARAMETER"
4251><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004252>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004253></TT
4254>&nbsp;:</TD
4255><TD
4256WIDTH="80%"
4257ALIGN="LEFT"
4258VALIGN="TOP"
4259>&nbsp;</TD
4260></TR
4261><TR
4262><TD
4263WIDTH="20%"
4264ALIGN="RIGHT"
4265VALIGN="TOP"
4266><TT
4267CLASS="PARAMETER"
4268><I
4269>msg</I
4270></TT
4271>&nbsp;:</TD
4272><TD
4273WIDTH="80%"
4274ALIGN="LEFT"
4275VALIGN="TOP"
4276>&nbsp;</TD
4277></TR
4278><TR
4279><TD
4280WIDTH="20%"
4281ALIGN="RIGHT"
4282VALIGN="TOP"
4283><TT
4284CLASS="PARAMETER"
4285><I
4286>...</I
4287></TT
4288>&nbsp;:</TD
4289><TD
4290WIDTH="80%"
4291ALIGN="LEFT"
4292VALIGN="TOP"
4293>&nbsp;</TD
4294></TR
4295></TABLE
4296><P
4297></P
4298></DIV
4299></DIV
4300><HR><DIV
4301CLASS="REFSECT2"
4302><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004303NAME="AEN1007"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004304></A
4305><H3
4306><A
4307NAME="ISSTANDALONESAXFUNC"
4308></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004309>isStandaloneSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004310><TABLE
4311BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004312BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004313WIDTH="100%"
4314CELLPADDING="6"
4315><TR
4316><TD
4317><PRE
4318CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004319>int (*isStandaloneSAXFunc) (void *ctx);</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00004320></TD
4321></TR
4322></TABLE
4323><P
4324></P
4325><DIV
4326CLASS="INFORMALTABLE"
4327><P
4328></P
4329><TABLE
4330BORDER="0"
4331WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004332BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004333CELLSPACING="0"
4334CELLPADDING="4"
4335CLASS="CALSTABLE"
4336><TR
4337><TD
4338WIDTH="20%"
4339ALIGN="RIGHT"
4340VALIGN="TOP"
4341><TT
4342CLASS="PARAMETER"
4343><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004344>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004345></TT
4346>&nbsp;:</TD
4347><TD
4348WIDTH="80%"
4349ALIGN="LEFT"
4350VALIGN="TOP"
4351>&nbsp;</TD
4352></TR
4353><TR
4354><TD
4355WIDTH="20%"
4356ALIGN="RIGHT"
4357VALIGN="TOP"
4358><I
4359CLASS="EMPHASIS"
4360>Returns</I
4361> :</TD
4362><TD
4363WIDTH="80%"
4364ALIGN="LEFT"
4365VALIGN="TOP"
4366>&nbsp;</TD
4367></TR
4368></TABLE
4369><P
4370></P
4371></DIV
4372></DIV
4373><HR><DIV
4374CLASS="REFSECT2"
4375><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004376NAME="AEN1025"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004377></A
4378><H3
4379><A
4380NAME="HASINTERNALSUBSETSAXFUNC"
4381></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004382>hasInternalSubsetSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004383><TABLE
4384BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004385BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004386WIDTH="100%"
4387CELLPADDING="6"
4388><TR
4389><TD
4390><PRE
4391CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004392>int (*hasInternalSubsetSAXFunc) (void *ctx);</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00004393></TD
4394></TR
4395></TABLE
4396><P
4397></P
4398><DIV
4399CLASS="INFORMALTABLE"
4400><P
4401></P
4402><TABLE
4403BORDER="0"
4404WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004405BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004406CELLSPACING="0"
4407CELLPADDING="4"
4408CLASS="CALSTABLE"
4409><TR
4410><TD
4411WIDTH="20%"
4412ALIGN="RIGHT"
4413VALIGN="TOP"
4414><TT
4415CLASS="PARAMETER"
4416><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004417>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004418></TT
4419>&nbsp;:</TD
4420><TD
4421WIDTH="80%"
4422ALIGN="LEFT"
4423VALIGN="TOP"
4424>&nbsp;</TD
4425></TR
4426><TR
4427><TD
4428WIDTH="20%"
4429ALIGN="RIGHT"
4430VALIGN="TOP"
4431><I
4432CLASS="EMPHASIS"
4433>Returns</I
4434> :</TD
4435><TD
4436WIDTH="80%"
4437ALIGN="LEFT"
4438VALIGN="TOP"
4439>&nbsp;</TD
4440></TR
4441></TABLE
4442><P
4443></P
4444></DIV
4445></DIV
4446><HR><DIV
4447CLASS="REFSECT2"
4448><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004449NAME="AEN1043"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004450></A
4451><H3
4452><A
4453NAME="HASEXTERNALSUBSETSAXFUNC"
4454></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004455>hasExternalSubsetSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004456><TABLE
4457BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004458BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004459WIDTH="100%"
4460CELLPADDING="6"
4461><TR
4462><TD
4463><PRE
4464CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004465>int (*hasExternalSubsetSAXFunc) (void *ctx);</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00004466></TD
4467></TR
4468></TABLE
4469><P
4470></P
4471><DIV
4472CLASS="INFORMALTABLE"
4473><P
4474></P
4475><TABLE
4476BORDER="0"
4477WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004478BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004479CELLSPACING="0"
4480CELLPADDING="4"
4481CLASS="CALSTABLE"
4482><TR
4483><TD
4484WIDTH="20%"
4485ALIGN="RIGHT"
4486VALIGN="TOP"
4487><TT
4488CLASS="PARAMETER"
4489><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004490>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004491></TT
4492>&nbsp;:</TD
4493><TD
4494WIDTH="80%"
4495ALIGN="LEFT"
4496VALIGN="TOP"
4497>&nbsp;</TD
4498></TR
4499><TR
4500><TD
4501WIDTH="20%"
4502ALIGN="RIGHT"
4503VALIGN="TOP"
4504><I
4505CLASS="EMPHASIS"
4506>Returns</I
4507> :</TD
4508><TD
4509WIDTH="80%"
4510ALIGN="LEFT"
4511VALIGN="TOP"
4512>&nbsp;</TD
4513></TR
4514></TABLE
4515><P
4516></P
4517></DIV
4518></DIV
4519><HR><DIV
4520CLASS="REFSECT2"
4521><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004522NAME="AEN1061"
Daniel Veillard24491f62000-01-05 14:58:38 +00004523></A
4524><H3
4525><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004526NAME="XMLSAXHANDLER"
Daniel Veillard24491f62000-01-05 14:58:38 +00004527></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004528>struct xmlSAXHandler</H3
4529><TABLE
4530BORDER="0"
4531BGCOLOR="#D6E8FF"
4532WIDTH="100%"
4533CELLPADDING="6"
4534><TR
4535><TD
4536><PRE
4537CLASS="PROGRAMLISTING"
4538>struct xmlSAXHandler {
4539 internalSubsetSAXFunc internalSubset;
4540 isStandaloneSAXFunc isStandalone;
4541 hasInternalSubsetSAXFunc hasInternalSubset;
4542 hasExternalSubsetSAXFunc hasExternalSubset;
4543 resolveEntitySAXFunc resolveEntity;
4544 getEntitySAXFunc getEntity;
4545 entityDeclSAXFunc entityDecl;
4546 notationDeclSAXFunc notationDecl;
4547 attributeDeclSAXFunc attributeDecl;
4548 elementDeclSAXFunc elementDecl;
4549 unparsedEntityDeclSAXFunc unparsedEntityDecl;
4550 setDocumentLocatorSAXFunc setDocumentLocator;
4551 startDocumentSAXFunc startDocument;
4552 endDocumentSAXFunc endDocument;
4553 startElementSAXFunc startElement;
4554 endElementSAXFunc endElement;
4555 referenceSAXFunc reference;
4556 charactersSAXFunc characters;
4557 ignorableWhitespaceSAXFunc ignorableWhitespace;
4558 processingInstructionSAXFunc processingInstruction;
4559 commentSAXFunc comment;
4560 warningSAXFunc warning;
4561 errorSAXFunc error;
4562 fatalErrorSAXFunc fatalError;
4563 getParameterEntitySAXFunc getParameterEntity;
4564 cdataBlockSAXFunc cdataBlock;
4565 externalSubsetSAXFunc externalSubset;
4566};</PRE
4567></TD
4568></TR
4569></TABLE
Daniel Veillard24491f62000-01-05 14:58:38 +00004570><P
4571></P
4572></DIV
4573><HR><DIV
4574CLASS="REFSECT2"
4575><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004576NAME="AEN1066"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004577></A
4578><H3
4579><A
4580NAME="XMLSAXHANDLERPTR"
4581></A
4582>xmlSAXHandlerPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004583><TABLE
4584BORDER="0"
4585BGCOLOR="#D6E8FF"
4586WIDTH="100%"
4587CELLPADDING="6"
4588><TR
4589><TD
4590><PRE
4591CLASS="PROGRAMLISTING"
4592>typedef xmlSAXHandler *xmlSAXHandlerPtr;</PRE
4593></TD
4594></TR
4595></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004596><P
4597></P
4598></DIV
4599><HR><DIV
4600CLASS="REFSECT2"
4601><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004602NAME="AEN1071"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004603></A
4604><H3
4605><A
4606NAME="XMLEXTERNALENTITYLOADER"
4607></A
4608>xmlExternalEntityLoader ()</H3
4609><TABLE
4610BORDER="0"
4611BGCOLOR="#D6E8FF"
4612WIDTH="100%"
4613CELLPADDING="6"
4614><TR
4615><TD
4616><PRE
4617CLASS="PROGRAMLISTING"
4618><A
4619HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
4620>xmlParserInputPtr</A
4621> (*xmlExternalEntityLoader)
4622 (const char *URL,
4623 const char *ID,
4624 <A
4625HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4626>xmlParserCtxtPtr</A
4627> context);</PRE
4628></TD
4629></TR
4630></TABLE
4631><P
4632></P
4633><DIV
4634CLASS="INFORMALTABLE"
4635><P
4636></P
4637><TABLE
4638BORDER="0"
4639WIDTH="100%"
4640BGCOLOR="#FFD0D0"
4641CELLSPACING="0"
4642CELLPADDING="4"
4643CLASS="CALSTABLE"
4644><TR
4645><TD
4646WIDTH="20%"
4647ALIGN="RIGHT"
4648VALIGN="TOP"
4649><TT
4650CLASS="PARAMETER"
4651><I
4652>URL</I
4653></TT
4654>&nbsp;:</TD
4655><TD
4656WIDTH="80%"
4657ALIGN="LEFT"
4658VALIGN="TOP"
4659>&nbsp;</TD
4660></TR
4661><TR
4662><TD
4663WIDTH="20%"
4664ALIGN="RIGHT"
4665VALIGN="TOP"
4666><TT
4667CLASS="PARAMETER"
4668><I
4669>ID</I
4670></TT
4671>&nbsp;:</TD
4672><TD
4673WIDTH="80%"
4674ALIGN="LEFT"
4675VALIGN="TOP"
4676>&nbsp;</TD
4677></TR
4678><TR
4679><TD
4680WIDTH="20%"
4681ALIGN="RIGHT"
4682VALIGN="TOP"
4683><TT
4684CLASS="PARAMETER"
4685><I
4686>context</I
4687></TT
4688>&nbsp;:</TD
4689><TD
4690WIDTH="80%"
4691ALIGN="LEFT"
4692VALIGN="TOP"
4693>&nbsp;</TD
4694></TR
4695><TR
4696><TD
4697WIDTH="20%"
4698ALIGN="RIGHT"
4699VALIGN="TOP"
4700><I
4701CLASS="EMPHASIS"
4702>Returns</I
4703> :</TD
4704><TD
4705WIDTH="80%"
4706ALIGN="LEFT"
4707VALIGN="TOP"
4708>&nbsp;</TD
4709></TR
4710></TABLE
4711><P
4712></P
4713></DIV
4714></DIV
4715><HR><DIV
4716CLASS="REFSECT2"
4717><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004718NAME="AEN1099"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00004719></A
4720><H3
4721><A
4722NAME="XMLPARSERVERSION"
4723></A
4724>xmlParserVersion</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004725><TABLE
4726BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004727BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004728WIDTH="100%"
4729CELLPADDING="6"
4730><TR
4731><TD
4732><PRE
4733CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00004734>extern const char *xmlParserVersion;</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00004735></TD
4736></TR
4737></TABLE
4738><P
4739></P
4740></DIV
4741><HR><DIV
4742CLASS="REFSECT2"
4743><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004744NAME="AEN1104"
Daniel Veillard14fff061999-06-22 21:49:07 +00004745></A
4746><H3
4747><A
4748NAME="XMLDEFAULTSAXLOCATOR"
4749></A
4750>xmlDefaultSAXLocator</H3
4751><TABLE
4752BORDER="0"
4753BGCOLOR="#D6E8FF"
4754WIDTH="100%"
4755CELLPADDING="6"
4756><TR
4757><TD
4758><PRE
4759CLASS="PROGRAMLISTING"
4760>extern xmlSAXLocator xmlDefaultSAXLocator;</PRE
4761></TD
4762></TR
4763></TABLE
4764><P
4765></P
4766></DIV
4767><HR><DIV
4768CLASS="REFSECT2"
4769><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004770NAME="AEN1109"
Daniel Veillard14fff061999-06-22 21:49:07 +00004771></A
4772><H3
4773><A
4774NAME="XMLDEFAULTSAXHANDLER"
4775></A
4776>xmlDefaultSAXHandler</H3
4777><TABLE
4778BORDER="0"
4779BGCOLOR="#D6E8FF"
4780WIDTH="100%"
4781CELLPADDING="6"
4782><TR
4783><TD
4784><PRE
4785CLASS="PROGRAMLISTING"
4786>extern xmlSAXHandler xmlDefaultSAXHandler;</PRE
4787></TD
4788></TR
4789></TABLE
4790><P
4791></P
4792></DIV
4793><HR><DIV
4794CLASS="REFSECT2"
4795><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004796NAME="AEN1114"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00004797></A
4798><H3
4799><A
4800NAME="HTMLDEFAULTSAXHANDLER"
4801></A
4802>htmlDefaultSAXHandler</H3
4803><TABLE
4804BORDER="0"
4805BGCOLOR="#D6E8FF"
4806WIDTH="100%"
4807CELLPADDING="6"
4808><TR
4809><TD
4810><PRE
4811CLASS="PROGRAMLISTING"
4812>extern xmlSAXHandler htmlDefaultSAXHandler;</PRE
4813></TD
4814></TR
4815></TABLE
4816><P
4817></P
4818></DIV
4819><HR><DIV
4820CLASS="REFSECT2"
4821><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004822NAME="AEN1119"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004823></A
4824><H3
4825><A
4826NAME="SGMLDEFAULTSAXHANDLER"
4827></A
4828>sgmlDefaultSAXHandler</H3
4829><TABLE
4830BORDER="0"
4831BGCOLOR="#D6E8FF"
4832WIDTH="100%"
4833CELLPADDING="6"
4834><TR
4835><TD
4836><PRE
4837CLASS="PROGRAMLISTING"
4838>extern xmlSAXHandler sgmlDefaultSAXHandler;</PRE
4839></TD
4840></TR
4841></TABLE
4842><P
4843></P
4844></DIV
4845><HR><DIV
4846CLASS="REFSECT2"
4847><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004848NAME="AEN1124"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004849></A
4850><H3
4851><A
4852NAME="XMLSUBSTITUTEENTITIESDEFAULTVALUE"
4853></A
4854>xmlSubstituteEntitiesDefaultValue</H3
4855><TABLE
4856BORDER="0"
4857BGCOLOR="#D6E8FF"
4858WIDTH="100%"
4859CELLPADDING="6"
4860><TR
4861><TD
4862><PRE
4863CLASS="PROGRAMLISTING"
4864>extern int xmlSubstituteEntitiesDefaultValue;</PRE
4865></TD
4866></TR
4867></TABLE
4868><P
4869></P
4870></DIV
4871><HR><DIV
4872CLASS="REFSECT2"
4873><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004874NAME="AEN1129"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004875></A
4876><H3
4877><A
4878NAME="XMLGETWARNINGSDEFAULTVALUE"
4879></A
4880>xmlGetWarningsDefaultValue</H3
4881><TABLE
4882BORDER="0"
4883BGCOLOR="#D6E8FF"
4884WIDTH="100%"
4885CELLPADDING="6"
4886><TR
4887><TD
4888><PRE
4889CLASS="PROGRAMLISTING"
4890>extern int xmlGetWarningsDefaultValue;</PRE
4891></TD
4892></TR
4893></TABLE
4894><P
4895></P
4896></DIV
4897><HR><DIV
4898CLASS="REFSECT2"
4899><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004900NAME="AEN1134"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004901></A
4902><H3
4903><A
4904NAME="XMLINITPARSER"
4905></A
4906>xmlInitParser ()</H3
4907><TABLE
4908BORDER="0"
4909BGCOLOR="#D6E8FF"
4910WIDTH="100%"
4911CELLPADDING="6"
4912><TR
4913><TD
4914><PRE
4915CLASS="PROGRAMLISTING"
4916>void xmlInitParser (void);</PRE
4917></TD
4918></TR
4919></TABLE
4920><P
4921>Initialization function for the XML parser.
4922This is not reentrant. Call once before processing in case of
4923use in multithreaded programs.</P
4924><P
4925></P
4926></DIV
4927><HR><DIV
4928CLASS="REFSECT2"
4929><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004930NAME="AEN1140"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004931></A
4932><H3
4933><A
4934NAME="XMLCLEANUPPARSER"
4935></A
4936>xmlCleanupParser ()</H3
4937><TABLE
4938BORDER="0"
4939BGCOLOR="#D6E8FF"
4940WIDTH="100%"
4941CELLPADDING="6"
4942><TR
4943><TD
4944><PRE
4945CLASS="PROGRAMLISTING"
4946>void xmlCleanupParser (void);</PRE
4947></TD
4948></TR
4949></TABLE
4950><P
4951>Cleanup function for the XML parser. It tries to reclaim all
4952parsing related global memory allocated for the parser processing.
4953It doesn't deallocate any document related memory. Calling this
4954function should not prevent reusing the parser.</P
4955><P
4956></P
4957></DIV
4958><HR><DIV
4959CLASS="REFSECT2"
4960><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004961NAME="AEN1146"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004962></A
4963><H3
4964><A
4965NAME="XMLPARSERINPUTREAD"
4966></A
4967>xmlParserInputRead ()</H3
4968><TABLE
4969BORDER="0"
4970BGCOLOR="#D6E8FF"
4971WIDTH="100%"
4972CELLPADDING="6"
4973><TR
4974><TD
4975><PRE
4976CLASS="PROGRAMLISTING"
4977>int xmlParserInputRead (<A
4978HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
4979>xmlParserInputPtr</A
4980> in,
4981 int len);</PRE
4982></TD
4983></TR
4984></TABLE
4985><P
4986>This function refresh the input for the parser. It doesn't try to
4987preserve pointers to the input buffer, and discard already read data</P
4988><P
4989></P
4990><DIV
4991CLASS="INFORMALTABLE"
4992><P
4993></P
4994><TABLE
4995BORDER="0"
4996WIDTH="100%"
4997BGCOLOR="#FFD0D0"
4998CELLSPACING="0"
4999CELLPADDING="4"
5000CLASS="CALSTABLE"
5001><TR
5002><TD
5003WIDTH="20%"
5004ALIGN="RIGHT"
5005VALIGN="TOP"
5006><TT
5007CLASS="PARAMETER"
5008><I
5009>in</I
5010></TT
5011>&nbsp;:</TD
5012><TD
5013WIDTH="80%"
5014ALIGN="LEFT"
5015VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005016> an XML parser input</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005017></TR
5018><TR
5019><TD
5020WIDTH="20%"
5021ALIGN="RIGHT"
5022VALIGN="TOP"
5023><TT
5024CLASS="PARAMETER"
5025><I
5026>len</I
5027></TT
5028>&nbsp;:</TD
5029><TD
5030WIDTH="80%"
5031ALIGN="LEFT"
5032VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005033> an indicative size for the lookahead</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005034></TR
5035><TR
5036><TD
5037WIDTH="20%"
5038ALIGN="RIGHT"
5039VALIGN="TOP"
5040><I
5041CLASS="EMPHASIS"
5042>Returns</I
5043> :</TD
5044><TD
5045WIDTH="80%"
5046ALIGN="LEFT"
5047VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005048>the number of xmlChars read, or -1 in case of error, 0 indicate the
5049end of this entity</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005050></TR
5051></TABLE
5052><P
5053></P
5054></DIV
5055></DIV
5056><HR><DIV
5057CLASS="REFSECT2"
5058><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005059NAME="AEN1170"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005060></A
5061><H3
5062><A
5063NAME="XMLPARSERINPUTGROW"
5064></A
5065>xmlParserInputGrow ()</H3
5066><TABLE
5067BORDER="0"
5068BGCOLOR="#D6E8FF"
5069WIDTH="100%"
5070CELLPADDING="6"
5071><TR
5072><TD
5073><PRE
5074CLASS="PROGRAMLISTING"
5075>int xmlParserInputGrow (<A
5076HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
5077>xmlParserInputPtr</A
5078> in,
5079 int len);</PRE
5080></TD
5081></TR
5082></TABLE
5083><P
5084>This function increase the input for the parser. It tries to
5085preserve pointers to the input buffer, and keep already read data</P
5086><P
5087></P
5088><DIV
5089CLASS="INFORMALTABLE"
5090><P
5091></P
5092><TABLE
5093BORDER="0"
5094WIDTH="100%"
5095BGCOLOR="#FFD0D0"
5096CELLSPACING="0"
5097CELLPADDING="4"
5098CLASS="CALSTABLE"
5099><TR
5100><TD
5101WIDTH="20%"
5102ALIGN="RIGHT"
5103VALIGN="TOP"
5104><TT
5105CLASS="PARAMETER"
5106><I
5107>in</I
5108></TT
5109>&nbsp;:</TD
5110><TD
5111WIDTH="80%"
5112ALIGN="LEFT"
5113VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005114> an XML parser input</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005115></TR
5116><TR
5117><TD
5118WIDTH="20%"
5119ALIGN="RIGHT"
5120VALIGN="TOP"
5121><TT
5122CLASS="PARAMETER"
5123><I
5124>len</I
5125></TT
5126>&nbsp;:</TD
5127><TD
5128WIDTH="80%"
5129ALIGN="LEFT"
5130VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005131> an indicative size for the lookahead</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005132></TR
5133><TR
5134><TD
5135WIDTH="20%"
5136ALIGN="RIGHT"
5137VALIGN="TOP"
5138><I
5139CLASS="EMPHASIS"
5140>Returns</I
5141> :</TD
5142><TD
5143WIDTH="80%"
5144ALIGN="LEFT"
5145VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005146>the number of xmlChars read, or -1 in case of error, 0 indicate the
5147end of this entity</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005148></TR
5149></TABLE
5150><P
5151></P
5152></DIV
5153></DIV
5154><HR><DIV
5155CLASS="REFSECT2"
5156><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005157NAME="AEN1194"
Daniel Veillard35925471999-02-25 08:46:07 +00005158></A
5159><H3
5160><A
5161NAME="XMLSTRDUP"
5162></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005163>xmlStrdup ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005164><TABLE
5165BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005166BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005167WIDTH="100%"
5168CELLPADDING="6"
5169><TR
5170><TD
5171><PRE
5172CLASS="PROGRAMLISTING"
5173><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005174HREF="gnome-xml-tree.html#XMLCHAR"
5175>xmlChar</A
5176>* xmlStrdup (const <A
5177HREF="gnome-xml-tree.html#XMLCHAR"
5178>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005179> *cur);</PRE
5180></TD
5181></TR
5182></TABLE
5183><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005184>a strdup for array of xmlChar's. Since they are supposed to be
5185encoded in UTF-8 or an encoding with 8bit based chars, we assume
5186a termination mark of '0'.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005187><P
5188></P
5189><DIV
5190CLASS="INFORMALTABLE"
5191><P
5192></P
5193><TABLE
5194BORDER="0"
5195WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005196BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005197CELLSPACING="0"
5198CELLPADDING="4"
5199CLASS="CALSTABLE"
5200><TR
5201><TD
5202WIDTH="20%"
5203ALIGN="RIGHT"
5204VALIGN="TOP"
5205><TT
5206CLASS="PARAMETER"
5207><I
5208>cur</I
5209></TT
5210>&nbsp;:</TD
5211><TD
5212WIDTH="80%"
5213ALIGN="LEFT"
5214VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005215> the input xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005216></TR
5217><TR
5218><TD
5219WIDTH="20%"
5220ALIGN="RIGHT"
5221VALIGN="TOP"
5222><I
5223CLASS="EMPHASIS"
5224>Returns</I
5225> :</TD
5226><TD
5227WIDTH="80%"
5228ALIGN="LEFT"
5229VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005230>a new xmlChar * or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005231></TR
5232></TABLE
5233><P
5234></P
5235></DIV
5236></DIV
5237><HR><DIV
5238CLASS="REFSECT2"
5239><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005240NAME="AEN1215"
Daniel Veillard35925471999-02-25 08:46:07 +00005241></A
5242><H3
5243><A
5244NAME="XMLSTRNDUP"
5245></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005246>xmlStrndup ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005247><TABLE
5248BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005249BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005250WIDTH="100%"
5251CELLPADDING="6"
5252><TR
5253><TD
5254><PRE
5255CLASS="PROGRAMLISTING"
5256><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005257HREF="gnome-xml-tree.html#XMLCHAR"
5258>xmlChar</A
5259>* xmlStrndup (const <A
5260HREF="gnome-xml-tree.html#XMLCHAR"
5261>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005262> *cur,
5263 int len);</PRE
5264></TD
5265></TR
5266></TABLE
5267><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005268>a strndup for array of xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00005269><P
5270></P
5271><DIV
5272CLASS="INFORMALTABLE"
5273><P
5274></P
5275><TABLE
5276BORDER="0"
5277WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005278BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005279CELLSPACING="0"
5280CELLPADDING="4"
5281CLASS="CALSTABLE"
5282><TR
5283><TD
5284WIDTH="20%"
5285ALIGN="RIGHT"
5286VALIGN="TOP"
5287><TT
5288CLASS="PARAMETER"
5289><I
5290>cur</I
5291></TT
5292>&nbsp;:</TD
5293><TD
5294WIDTH="80%"
5295ALIGN="LEFT"
5296VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005297> the input xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005298></TR
5299><TR
5300><TD
5301WIDTH="20%"
5302ALIGN="RIGHT"
5303VALIGN="TOP"
5304><TT
5305CLASS="PARAMETER"
5306><I
5307>len</I
5308></TT
5309>&nbsp;:</TD
5310><TD
5311WIDTH="80%"
5312ALIGN="LEFT"
5313VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005314> the len of <TT
5315CLASS="PARAMETER"
5316><I
5317>cur</I
5318></TT
5319></TD
Daniel Veillard35925471999-02-25 08:46:07 +00005320></TR
5321><TR
5322><TD
5323WIDTH="20%"
5324ALIGN="RIGHT"
5325VALIGN="TOP"
5326><I
5327CLASS="EMPHASIS"
5328>Returns</I
5329> :</TD
5330><TD
5331WIDTH="80%"
5332ALIGN="LEFT"
5333VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005334>a new xmlChar * or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005335></TR
5336></TABLE
5337><P
5338></P
5339></DIV
5340></DIV
5341><HR><DIV
5342CLASS="REFSECT2"
5343><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005344NAME="AEN1241"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005345></A
5346><H3
5347><A
5348NAME="XMLSTRSUB"
5349></A
5350>xmlStrsub ()</H3
5351><TABLE
5352BORDER="0"
5353BGCOLOR="#D6E8FF"
5354WIDTH="100%"
5355CELLPADDING="6"
5356><TR
5357><TD
5358><PRE
5359CLASS="PROGRAMLISTING"
5360><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005361HREF="gnome-xml-tree.html#XMLCHAR"
5362>xmlChar</A
5363>* xmlStrsub (const <A
5364HREF="gnome-xml-tree.html#XMLCHAR"
5365>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005366> *str,
5367 int start,
5368 int len);</PRE
5369></TD
5370></TR
5371></TABLE
5372><P
5373>Extract a substring of a given string</P
5374><P
5375></P
5376><DIV
5377CLASS="INFORMALTABLE"
5378><P
5379></P
5380><TABLE
5381BORDER="0"
5382WIDTH="100%"
5383BGCOLOR="#FFD0D0"
5384CELLSPACING="0"
5385CELLPADDING="4"
5386CLASS="CALSTABLE"
5387><TR
5388><TD
5389WIDTH="20%"
5390ALIGN="RIGHT"
5391VALIGN="TOP"
5392><TT
5393CLASS="PARAMETER"
5394><I
5395>str</I
5396></TT
5397>&nbsp;:</TD
5398><TD
5399WIDTH="80%"
5400ALIGN="LEFT"
5401VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005402> the xmlChar * array (haystack)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005403></TR
5404><TR
5405><TD
5406WIDTH="20%"
5407ALIGN="RIGHT"
5408VALIGN="TOP"
5409><TT
5410CLASS="PARAMETER"
5411><I
5412>start</I
5413></TT
5414>&nbsp;:</TD
5415><TD
5416WIDTH="80%"
5417ALIGN="LEFT"
5418VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005419> the index of the first char (zero based)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005420></TR
5421><TR
5422><TD
5423WIDTH="20%"
5424ALIGN="RIGHT"
5425VALIGN="TOP"
5426><TT
5427CLASS="PARAMETER"
5428><I
5429>len</I
5430></TT
5431>&nbsp;:</TD
5432><TD
5433WIDTH="80%"
5434ALIGN="LEFT"
5435VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005436> the length of the substring</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005437></TR
5438><TR
5439><TD
5440WIDTH="20%"
5441ALIGN="RIGHT"
5442VALIGN="TOP"
5443><I
5444CLASS="EMPHASIS"
5445>Returns</I
5446> :</TD
5447><TD
5448WIDTH="80%"
5449ALIGN="LEFT"
5450VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005451>the xmlChar * for the first occurence or NULL.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005452></TR
5453></TABLE
5454><P
5455></P
5456></DIV
5457></DIV
5458><HR><DIV
5459CLASS="REFSECT2"
5460><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005461NAME="AEN1270"
Daniel Veillard35925471999-02-25 08:46:07 +00005462></A
5463><H3
5464><A
5465NAME="XMLSTRCHR"
5466></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005467>xmlStrchr ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005468><TABLE
5469BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005470BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005471WIDTH="100%"
5472CELLPADDING="6"
5473><TR
5474><TD
5475><PRE
5476CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005477>const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005478HREF="gnome-xml-tree.html#XMLCHAR"
5479>xmlChar</A
5480>* xmlStrchr (const <A
5481HREF="gnome-xml-tree.html#XMLCHAR"
5482>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005483> *str,
5484 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005485HREF="gnome-xml-tree.html#XMLCHAR"
5486>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005487> val);</PRE
5488></TD
5489></TR
5490></TABLE
5491><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005492>a strchr for xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00005493><P
5494></P
5495><DIV
5496CLASS="INFORMALTABLE"
5497><P
5498></P
5499><TABLE
5500BORDER="0"
5501WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005502BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005503CELLSPACING="0"
5504CELLPADDING="4"
5505CLASS="CALSTABLE"
5506><TR
5507><TD
5508WIDTH="20%"
5509ALIGN="RIGHT"
5510VALIGN="TOP"
5511><TT
5512CLASS="PARAMETER"
5513><I
5514>str</I
5515></TT
5516>&nbsp;:</TD
5517><TD
5518WIDTH="80%"
5519ALIGN="LEFT"
5520VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005521> the xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005522></TR
5523><TR
5524><TD
5525WIDTH="20%"
5526ALIGN="RIGHT"
5527VALIGN="TOP"
5528><TT
5529CLASS="PARAMETER"
5530><I
5531>val</I
5532></TT
5533>&nbsp;:</TD
5534><TD
5535WIDTH="80%"
5536ALIGN="LEFT"
5537VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005538> the xmlChar to search</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005539></TR
5540><TR
5541><TD
5542WIDTH="20%"
5543ALIGN="RIGHT"
5544VALIGN="TOP"
5545><I
5546CLASS="EMPHASIS"
5547>Returns</I
5548> :</TD
5549><TD
5550WIDTH="80%"
5551ALIGN="LEFT"
5552VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005553>the xmlChar * for the first occurence or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005554></TR
5555></TABLE
5556><P
5557></P
5558></DIV
5559></DIV
5560><HR><DIV
5561CLASS="REFSECT2"
5562><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005563NAME="AEN1296"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005564></A
5565><H3
5566><A
5567NAME="XMLSTRSTR"
5568></A
5569>xmlStrstr ()</H3
5570><TABLE
5571BORDER="0"
5572BGCOLOR="#D6E8FF"
5573WIDTH="100%"
5574CELLPADDING="6"
5575><TR
5576><TD
5577><PRE
5578CLASS="PROGRAMLISTING"
5579>const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005580HREF="gnome-xml-tree.html#XMLCHAR"
5581>xmlChar</A
5582>* xmlStrstr (const <A
5583HREF="gnome-xml-tree.html#XMLCHAR"
5584>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005585> *str,
5586 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005587HREF="gnome-xml-tree.html#XMLCHAR"
5588>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005589> *val);</PRE
5590></TD
5591></TR
5592></TABLE
5593><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005594>a strstr for xmlChar's</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005595><P
5596></P
5597><DIV
5598CLASS="INFORMALTABLE"
5599><P
5600></P
5601><TABLE
5602BORDER="0"
5603WIDTH="100%"
5604BGCOLOR="#FFD0D0"
5605CELLSPACING="0"
5606CELLPADDING="4"
5607CLASS="CALSTABLE"
5608><TR
5609><TD
5610WIDTH="20%"
5611ALIGN="RIGHT"
5612VALIGN="TOP"
5613><TT
5614CLASS="PARAMETER"
5615><I
5616>str</I
5617></TT
5618>&nbsp;:</TD
5619><TD
5620WIDTH="80%"
5621ALIGN="LEFT"
5622VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005623> the xmlChar * array (haystack)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005624></TR
5625><TR
5626><TD
5627WIDTH="20%"
5628ALIGN="RIGHT"
5629VALIGN="TOP"
5630><TT
5631CLASS="PARAMETER"
5632><I
5633>val</I
5634></TT
5635>&nbsp;:</TD
5636><TD
5637WIDTH="80%"
5638ALIGN="LEFT"
5639VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005640> the xmlChar to search (needle)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005641></TR
5642><TR
5643><TD
5644WIDTH="20%"
5645ALIGN="RIGHT"
5646VALIGN="TOP"
5647><I
5648CLASS="EMPHASIS"
5649>Returns</I
5650> :</TD
5651><TD
5652WIDTH="80%"
5653ALIGN="LEFT"
5654VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005655>the xmlChar * for the first occurence or NULL.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005656></TR
5657></TABLE
5658><P
5659></P
5660></DIV
5661></DIV
5662><HR><DIV
5663CLASS="REFSECT2"
5664><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005665NAME="AEN1322"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005666></A
5667><H3
5668><A
5669NAME="XMLSTRCASESTR"
5670></A
5671>xmlStrcasestr ()</H3
5672><TABLE
5673BORDER="0"
5674BGCOLOR="#D6E8FF"
5675WIDTH="100%"
5676CELLPADDING="6"
5677><TR
5678><TD
5679><PRE
5680CLASS="PROGRAMLISTING"
5681>const <A
5682HREF="gnome-xml-tree.html#XMLCHAR"
5683>xmlChar</A
5684>* xmlStrcasestr (const <A
5685HREF="gnome-xml-tree.html#XMLCHAR"
5686>xmlChar</A
5687> *str,
5688 <A
5689HREF="gnome-xml-tree.html#XMLCHAR"
5690>xmlChar</A
5691> *val);</PRE
5692></TD
5693></TR
5694></TABLE
5695><P
5696>a case-ignoring strstr for xmlChar's</P
5697><P
5698></P
5699><DIV
5700CLASS="INFORMALTABLE"
5701><P
5702></P
5703><TABLE
5704BORDER="0"
5705WIDTH="100%"
5706BGCOLOR="#FFD0D0"
5707CELLSPACING="0"
5708CELLPADDING="4"
5709CLASS="CALSTABLE"
5710><TR
5711><TD
5712WIDTH="20%"
5713ALIGN="RIGHT"
5714VALIGN="TOP"
5715><TT
5716CLASS="PARAMETER"
5717><I
5718>str</I
5719></TT
5720>&nbsp;:</TD
5721><TD
5722WIDTH="80%"
5723ALIGN="LEFT"
5724VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005725> the xmlChar * array (haystack)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005726></TR
5727><TR
5728><TD
5729WIDTH="20%"
5730ALIGN="RIGHT"
5731VALIGN="TOP"
5732><TT
5733CLASS="PARAMETER"
5734><I
5735>val</I
5736></TT
5737>&nbsp;:</TD
5738><TD
5739WIDTH="80%"
5740ALIGN="LEFT"
5741VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005742> the xmlChar to search (needle)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005743></TR
5744><TR
5745><TD
5746WIDTH="20%"
5747ALIGN="RIGHT"
5748VALIGN="TOP"
5749><I
5750CLASS="EMPHASIS"
5751>Returns</I
5752> :</TD
5753><TD
5754WIDTH="80%"
5755ALIGN="LEFT"
5756VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005757>the xmlChar * for the first occurence or NULL.</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005758></TR
5759></TABLE
5760><P
5761></P
5762></DIV
5763></DIV
5764><HR><DIV
5765CLASS="REFSECT2"
5766><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005767NAME="AEN1348"
Daniel Veillard35925471999-02-25 08:46:07 +00005768></A
5769><H3
5770><A
5771NAME="XMLSTRCMP"
5772></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005773>xmlStrcmp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005774><TABLE
5775BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005776BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005777WIDTH="100%"
5778CELLPADDING="6"
5779><TR
5780><TD
5781><PRE
5782CLASS="PROGRAMLISTING"
5783>int xmlStrcmp (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005784HREF="gnome-xml-tree.html#XMLCHAR"
5785>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005786> *str1,
5787 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005788HREF="gnome-xml-tree.html#XMLCHAR"
5789>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005790> *str2);</PRE
5791></TD
5792></TR
5793></TABLE
5794><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005795>a strcmp for xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00005796><P
5797></P
5798><DIV
5799CLASS="INFORMALTABLE"
5800><P
5801></P
5802><TABLE
5803BORDER="0"
5804WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005805BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005806CELLSPACING="0"
5807CELLPADDING="4"
5808CLASS="CALSTABLE"
5809><TR
5810><TD
5811WIDTH="20%"
5812ALIGN="RIGHT"
5813VALIGN="TOP"
5814><TT
5815CLASS="PARAMETER"
5816><I
5817>str1</I
5818></TT
5819>&nbsp;:</TD
5820><TD
5821WIDTH="80%"
5822ALIGN="LEFT"
5823VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005824> the first xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005825></TR
5826><TR
5827><TD
5828WIDTH="20%"
5829ALIGN="RIGHT"
5830VALIGN="TOP"
5831><TT
5832CLASS="PARAMETER"
5833><I
5834>str2</I
5835></TT
5836>&nbsp;:</TD
5837><TD
5838WIDTH="80%"
5839ALIGN="LEFT"
5840VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005841> the second xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005842></TR
5843><TR
5844><TD
5845WIDTH="20%"
5846ALIGN="RIGHT"
5847VALIGN="TOP"
5848><I
5849CLASS="EMPHASIS"
5850>Returns</I
5851> :</TD
5852><TD
5853WIDTH="80%"
5854ALIGN="LEFT"
5855VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005856>the integer result of the comparison</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005857></TR
5858></TABLE
5859><P
5860></P
5861></DIV
5862></DIV
5863><HR><DIV
5864CLASS="REFSECT2"
5865><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005866NAME="AEN1373"
Daniel Veillard35925471999-02-25 08:46:07 +00005867></A
5868><H3
5869><A
5870NAME="XMLSTRNCMP"
5871></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005872>xmlStrncmp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005873><TABLE
5874BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005875BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005876WIDTH="100%"
5877CELLPADDING="6"
5878><TR
5879><TD
5880><PRE
5881CLASS="PROGRAMLISTING"
5882>int xmlStrncmp (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005883HREF="gnome-xml-tree.html#XMLCHAR"
5884>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005885> *str1,
5886 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005887HREF="gnome-xml-tree.html#XMLCHAR"
5888>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005889> *str2,
5890 int len);</PRE
5891></TD
5892></TR
5893></TABLE
5894><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005895>a strncmp for xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00005896><P
5897></P
5898><DIV
5899CLASS="INFORMALTABLE"
5900><P
5901></P
5902><TABLE
5903BORDER="0"
5904WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005905BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005906CELLSPACING="0"
5907CELLPADDING="4"
5908CLASS="CALSTABLE"
5909><TR
5910><TD
5911WIDTH="20%"
5912ALIGN="RIGHT"
5913VALIGN="TOP"
5914><TT
5915CLASS="PARAMETER"
5916><I
5917>str1</I
5918></TT
5919>&nbsp;:</TD
5920><TD
5921WIDTH="80%"
5922ALIGN="LEFT"
5923VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005924> the first xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005925></TR
5926><TR
5927><TD
5928WIDTH="20%"
5929ALIGN="RIGHT"
5930VALIGN="TOP"
5931><TT
5932CLASS="PARAMETER"
5933><I
5934>str2</I
5935></TT
5936>&nbsp;:</TD
5937><TD
5938WIDTH="80%"
5939ALIGN="LEFT"
5940VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005941> the second xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005942></TR
5943><TR
5944><TD
5945WIDTH="20%"
5946ALIGN="RIGHT"
5947VALIGN="TOP"
5948><TT
5949CLASS="PARAMETER"
5950><I
5951>len</I
5952></TT
5953>&nbsp;:</TD
5954><TD
5955WIDTH="80%"
5956ALIGN="LEFT"
5957VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005958> the max comparison length</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005959></TR
5960><TR
5961><TD
5962WIDTH="20%"
5963ALIGN="RIGHT"
5964VALIGN="TOP"
5965><I
5966CLASS="EMPHASIS"
5967>Returns</I
5968> :</TD
5969><TD
5970WIDTH="80%"
5971ALIGN="LEFT"
5972VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005973>the integer result of the comparison</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005974></TR
5975></TABLE
5976><P
5977></P
5978></DIV
5979></DIV
5980><HR><DIV
5981CLASS="REFSECT2"
5982><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005983NAME="AEN1402"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005984></A
5985><H3
5986><A
5987NAME="XMLSTRCASECMP"
5988></A
5989>xmlStrcasecmp ()</H3
5990><TABLE
5991BORDER="0"
5992BGCOLOR="#D6E8FF"
5993WIDTH="100%"
5994CELLPADDING="6"
5995><TR
5996><TD
5997><PRE
5998CLASS="PROGRAMLISTING"
5999>int xmlStrcasecmp (const <A
6000HREF="gnome-xml-tree.html#XMLCHAR"
6001>xmlChar</A
6002> *str1,
6003 const <A
6004HREF="gnome-xml-tree.html#XMLCHAR"
6005>xmlChar</A
6006> *str2);</PRE
6007></TD
6008></TR
6009></TABLE
6010><P
6011>a strcasecmp for xmlChar's</P
6012><P
6013></P
6014><DIV
6015CLASS="INFORMALTABLE"
6016><P
6017></P
6018><TABLE
6019BORDER="0"
6020WIDTH="100%"
6021BGCOLOR="#FFD0D0"
6022CELLSPACING="0"
6023CELLPADDING="4"
6024CLASS="CALSTABLE"
6025><TR
6026><TD
6027WIDTH="20%"
6028ALIGN="RIGHT"
6029VALIGN="TOP"
6030><TT
6031CLASS="PARAMETER"
6032><I
6033>str1</I
6034></TT
6035>&nbsp;:</TD
6036><TD
6037WIDTH="80%"
6038ALIGN="LEFT"
6039VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006040> the first xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006041></TR
6042><TR
6043><TD
6044WIDTH="20%"
6045ALIGN="RIGHT"
6046VALIGN="TOP"
6047><TT
6048CLASS="PARAMETER"
6049><I
6050>str2</I
6051></TT
6052>&nbsp;:</TD
6053><TD
6054WIDTH="80%"
6055ALIGN="LEFT"
6056VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006057> the second xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006058></TR
6059><TR
6060><TD
6061WIDTH="20%"
6062ALIGN="RIGHT"
6063VALIGN="TOP"
6064><I
6065CLASS="EMPHASIS"
6066>Returns</I
6067> :</TD
6068><TD
6069WIDTH="80%"
6070ALIGN="LEFT"
6071VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006072>the integer result of the comparison</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006073></TR
6074></TABLE
6075><P
6076></P
6077></DIV
6078></DIV
6079><HR><DIV
6080CLASS="REFSECT2"
6081><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006082NAME="AEN1427"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006083></A
6084><H3
6085><A
6086NAME="XMLSTRNCASECMP"
6087></A
6088>xmlStrncasecmp ()</H3
6089><TABLE
6090BORDER="0"
6091BGCOLOR="#D6E8FF"
6092WIDTH="100%"
6093CELLPADDING="6"
6094><TR
6095><TD
6096><PRE
6097CLASS="PROGRAMLISTING"
6098>int xmlStrncasecmp (const <A
6099HREF="gnome-xml-tree.html#XMLCHAR"
6100>xmlChar</A
6101> *str1,
6102 const <A
6103HREF="gnome-xml-tree.html#XMLCHAR"
6104>xmlChar</A
6105> *str2,
6106 int len);</PRE
6107></TD
6108></TR
6109></TABLE
6110><P
6111>a strncasecmp for xmlChar's</P
6112><P
6113></P
6114><DIV
6115CLASS="INFORMALTABLE"
6116><P
6117></P
6118><TABLE
6119BORDER="0"
6120WIDTH="100%"
6121BGCOLOR="#FFD0D0"
6122CELLSPACING="0"
6123CELLPADDING="4"
6124CLASS="CALSTABLE"
6125><TR
6126><TD
6127WIDTH="20%"
6128ALIGN="RIGHT"
6129VALIGN="TOP"
6130><TT
6131CLASS="PARAMETER"
6132><I
6133>str1</I
6134></TT
6135>&nbsp;:</TD
6136><TD
6137WIDTH="80%"
6138ALIGN="LEFT"
6139VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006140> the first xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006141></TR
6142><TR
6143><TD
6144WIDTH="20%"
6145ALIGN="RIGHT"
6146VALIGN="TOP"
6147><TT
6148CLASS="PARAMETER"
6149><I
6150>str2</I
6151></TT
6152>&nbsp;:</TD
6153><TD
6154WIDTH="80%"
6155ALIGN="LEFT"
6156VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006157> the second xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006158></TR
6159><TR
6160><TD
6161WIDTH="20%"
6162ALIGN="RIGHT"
6163VALIGN="TOP"
6164><TT
6165CLASS="PARAMETER"
6166><I
6167>len</I
6168></TT
6169>&nbsp;:</TD
6170><TD
6171WIDTH="80%"
6172ALIGN="LEFT"
6173VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006174> the max comparison length</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006175></TR
6176><TR
6177><TD
6178WIDTH="20%"
6179ALIGN="RIGHT"
6180VALIGN="TOP"
6181><I
6182CLASS="EMPHASIS"
6183>Returns</I
6184> :</TD
6185><TD
6186WIDTH="80%"
6187ALIGN="LEFT"
6188VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006189>the integer result of the comparison</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006190></TR
6191></TABLE
6192><P
6193></P
6194></DIV
6195></DIV
6196><HR><DIV
6197CLASS="REFSECT2"
6198><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006199NAME="AEN1456"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006200></A
6201><H3
6202><A
6203NAME="XMLSTREQUAL"
6204></A
6205>xmlStrEqual ()</H3
6206><TABLE
6207BORDER="0"
6208BGCOLOR="#D6E8FF"
6209WIDTH="100%"
6210CELLPADDING="6"
6211><TR
6212><TD
6213><PRE
6214CLASS="PROGRAMLISTING"
6215>int xmlStrEqual (const <A
6216HREF="gnome-xml-tree.html#XMLCHAR"
6217>xmlChar</A
6218> *str1,
6219 const <A
6220HREF="gnome-xml-tree.html#XMLCHAR"
6221>xmlChar</A
6222> *str2);</PRE
6223></TD
6224></TR
6225></TABLE
6226><P
6227>Check if both string are equal of have same content
6228Should be a bit more readable and faster than <A
6229HREF="gnome-xml-parser.html#XMLSTREQUAL"
6230>xmlStrEqual</A
6231>()</P
6232><P
6233></P
6234><DIV
6235CLASS="INFORMALTABLE"
6236><P
6237></P
6238><TABLE
6239BORDER="0"
6240WIDTH="100%"
6241BGCOLOR="#FFD0D0"
6242CELLSPACING="0"
6243CELLPADDING="4"
6244CLASS="CALSTABLE"
6245><TR
6246><TD
6247WIDTH="20%"
6248ALIGN="RIGHT"
6249VALIGN="TOP"
6250><TT
6251CLASS="PARAMETER"
6252><I
6253>str1</I
6254></TT
6255>&nbsp;:</TD
6256><TD
6257WIDTH="80%"
6258ALIGN="LEFT"
6259VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006260> the first xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006261></TR
6262><TR
6263><TD
6264WIDTH="20%"
6265ALIGN="RIGHT"
6266VALIGN="TOP"
6267><TT
6268CLASS="PARAMETER"
6269><I
6270>str2</I
6271></TT
6272>&nbsp;:</TD
6273><TD
6274WIDTH="80%"
6275ALIGN="LEFT"
6276VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006277> the second xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006278></TR
6279><TR
6280><TD
6281WIDTH="20%"
6282ALIGN="RIGHT"
6283VALIGN="TOP"
6284><I
6285CLASS="EMPHASIS"
6286>Returns</I
6287> :</TD
6288><TD
6289WIDTH="80%"
6290ALIGN="LEFT"
6291VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006292>1 if they are equal, 0 if they are different</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006293></TR
6294></TABLE
6295><P
6296></P
6297></DIV
6298></DIV
6299><HR><DIV
6300CLASS="REFSECT2"
6301><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006302NAME="AEN1482"
Daniel Veillard35925471999-02-25 08:46:07 +00006303></A
6304><H3
6305><A
6306NAME="XMLSTRLEN"
6307></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006308>xmlStrlen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006309><TABLE
6310BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006311BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006312WIDTH="100%"
6313CELLPADDING="6"
6314><TR
6315><TD
6316><PRE
6317CLASS="PROGRAMLISTING"
6318>int xmlStrlen (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006319HREF="gnome-xml-tree.html#XMLCHAR"
6320>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006321> *str);</PRE
6322></TD
6323></TR
6324></TABLE
6325><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006326>length of a xmlChar's string</P
Daniel Veillard35925471999-02-25 08:46:07 +00006327><P
6328></P
6329><DIV
6330CLASS="INFORMALTABLE"
6331><P
6332></P
6333><TABLE
6334BORDER="0"
6335WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006336BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006337CELLSPACING="0"
6338CELLPADDING="4"
6339CLASS="CALSTABLE"
6340><TR
6341><TD
6342WIDTH="20%"
6343ALIGN="RIGHT"
6344VALIGN="TOP"
6345><TT
6346CLASS="PARAMETER"
6347><I
6348>str</I
6349></TT
6350>&nbsp;:</TD
6351><TD
6352WIDTH="80%"
6353ALIGN="LEFT"
6354VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006355> the xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006356></TR
6357><TR
6358><TD
6359WIDTH="20%"
6360ALIGN="RIGHT"
6361VALIGN="TOP"
6362><I
6363CLASS="EMPHASIS"
6364>Returns</I
6365> :</TD
6366><TD
6367WIDTH="80%"
6368ALIGN="LEFT"
6369VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006370>the number of xmlChar contained in the ARRAY.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006371></TR
6372></TABLE
6373><P
6374></P
6375></DIV
6376></DIV
6377><HR><DIV
6378CLASS="REFSECT2"
6379><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006380NAME="AEN1502"
Daniel Veillard35925471999-02-25 08:46:07 +00006381></A
6382><H3
6383><A
6384NAME="XMLSTRCAT"
6385></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006386>xmlStrcat ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006387><TABLE
6388BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006389BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006390WIDTH="100%"
6391CELLPADDING="6"
6392><TR
6393><TD
6394><PRE
6395CLASS="PROGRAMLISTING"
6396><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006397HREF="gnome-xml-tree.html#XMLCHAR"
6398>xmlChar</A
6399>* xmlStrcat (<A
6400HREF="gnome-xml-tree.html#XMLCHAR"
6401>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006402> *cur,
6403 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006404HREF="gnome-xml-tree.html#XMLCHAR"
6405>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006406> *add);</PRE
6407></TD
6408></TR
6409></TABLE
6410><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006411>a strcat for array of xmlChar's. Since they are supposed to be
6412encoded in UTF-8 or an encoding with 8bit based chars, we assume
6413a termination mark of '0'.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006414><P
6415></P
6416><DIV
6417CLASS="INFORMALTABLE"
6418><P
6419></P
6420><TABLE
6421BORDER="0"
6422WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006423BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006424CELLSPACING="0"
6425CELLPADDING="4"
6426CLASS="CALSTABLE"
6427><TR
6428><TD
6429WIDTH="20%"
6430ALIGN="RIGHT"
6431VALIGN="TOP"
6432><TT
6433CLASS="PARAMETER"
6434><I
6435>cur</I
6436></TT
6437>&nbsp;:</TD
6438><TD
6439WIDTH="80%"
6440ALIGN="LEFT"
6441VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006442> the original xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006443></TR
6444><TR
6445><TD
6446WIDTH="20%"
6447ALIGN="RIGHT"
6448VALIGN="TOP"
6449><TT
6450CLASS="PARAMETER"
6451><I
6452>add</I
6453></TT
6454>&nbsp;:</TD
6455><TD
6456WIDTH="80%"
6457ALIGN="LEFT"
6458VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006459> the xmlChar * array added</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006460></TR
6461><TR
6462><TD
6463WIDTH="20%"
6464ALIGN="RIGHT"
6465VALIGN="TOP"
6466><I
6467CLASS="EMPHASIS"
6468>Returns</I
6469> :</TD
6470><TD
6471WIDTH="80%"
6472ALIGN="LEFT"
6473VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006474>a new xmlChar * containing the concatenated string.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006475></TR
6476></TABLE
6477><P
6478></P
6479></DIV
6480></DIV
6481><HR><DIV
6482CLASS="REFSECT2"
6483><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006484NAME="AEN1528"
Daniel Veillard35925471999-02-25 08:46:07 +00006485></A
6486><H3
6487><A
6488NAME="XMLSTRNCAT"
6489></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006490>xmlStrncat ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006491><TABLE
6492BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006493BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006494WIDTH="100%"
6495CELLPADDING="6"
6496><TR
6497><TD
6498><PRE
6499CLASS="PROGRAMLISTING"
6500><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006501HREF="gnome-xml-tree.html#XMLCHAR"
6502>xmlChar</A
6503>* xmlStrncat (<A
6504HREF="gnome-xml-tree.html#XMLCHAR"
6505>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006506> *cur,
6507 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006508HREF="gnome-xml-tree.html#XMLCHAR"
6509>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006510> *add,
6511 int len);</PRE
6512></TD
6513></TR
6514></TABLE
6515><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006516>a strncat for array of xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00006517><P
6518></P
6519><DIV
6520CLASS="INFORMALTABLE"
6521><P
6522></P
6523><TABLE
6524BORDER="0"
6525WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006526BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006527CELLSPACING="0"
6528CELLPADDING="4"
6529CLASS="CALSTABLE"
6530><TR
6531><TD
6532WIDTH="20%"
6533ALIGN="RIGHT"
6534VALIGN="TOP"
6535><TT
6536CLASS="PARAMETER"
6537><I
6538>cur</I
6539></TT
6540>&nbsp;:</TD
6541><TD
6542WIDTH="80%"
6543ALIGN="LEFT"
6544VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006545> the original xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006546></TR
6547><TR
6548><TD
6549WIDTH="20%"
6550ALIGN="RIGHT"
6551VALIGN="TOP"
6552><TT
6553CLASS="PARAMETER"
6554><I
6555>add</I
6556></TT
6557>&nbsp;:</TD
6558><TD
6559WIDTH="80%"
6560ALIGN="LEFT"
6561VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006562> the xmlChar * array added</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006563></TR
6564><TR
6565><TD
6566WIDTH="20%"
6567ALIGN="RIGHT"
6568VALIGN="TOP"
6569><TT
6570CLASS="PARAMETER"
6571><I
6572>len</I
6573></TT
6574>&nbsp;:</TD
6575><TD
6576WIDTH="80%"
6577ALIGN="LEFT"
6578VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006579> the length of <TT
6580CLASS="PARAMETER"
6581><I
6582>add</I
6583></TT
6584></TD
Daniel Veillard35925471999-02-25 08:46:07 +00006585></TR
6586><TR
6587><TD
6588WIDTH="20%"
6589ALIGN="RIGHT"
6590VALIGN="TOP"
6591><I
6592CLASS="EMPHASIS"
6593>Returns</I
6594> :</TD
6595><TD
6596WIDTH="80%"
6597ALIGN="LEFT"
6598VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006599>a new xmlChar * containing the concatenated string.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006600></TR
6601></TABLE
6602><P
6603></P
6604></DIV
6605></DIV
6606><HR><DIV
6607CLASS="REFSECT2"
6608><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006609NAME="AEN1559"
Daniel Veillard35925471999-02-25 08:46:07 +00006610></A
6611><H3
6612><A
6613NAME="XMLPARSEDOC"
6614></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006615>xmlParseDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006616><TABLE
6617BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006618BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006619WIDTH="100%"
6620CELLPADDING="6"
6621><TR
6622><TD
6623><PRE
6624CLASS="PROGRAMLISTING"
6625><A
6626HREF="gnome-xml-tree.html#XMLDOCPTR"
6627>xmlDocPtr</A
6628> xmlParseDoc (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006629HREF="gnome-xml-tree.html#XMLCHAR"
6630>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006631> *cur);</PRE
6632></TD
6633></TR
6634></TABLE
6635><P
6636>parse an XML in-memory document and build a tree.</P
6637><P
6638></P
6639><DIV
6640CLASS="INFORMALTABLE"
6641><P
6642></P
6643><TABLE
6644BORDER="0"
6645WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006646BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006647CELLSPACING="0"
6648CELLPADDING="4"
6649CLASS="CALSTABLE"
6650><TR
6651><TD
6652WIDTH="20%"
6653ALIGN="RIGHT"
6654VALIGN="TOP"
6655><TT
6656CLASS="PARAMETER"
6657><I
6658>cur</I
6659></TT
6660>&nbsp;:</TD
6661><TD
6662WIDTH="80%"
6663ALIGN="LEFT"
6664VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006665> a pointer to an array of xmlChar</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006666></TR
6667><TR
6668><TD
6669WIDTH="20%"
6670ALIGN="RIGHT"
6671VALIGN="TOP"
6672><I
6673CLASS="EMPHASIS"
6674>Returns</I
6675> :</TD
6676><TD
6677WIDTH="80%"
6678ALIGN="LEFT"
6679VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006680>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006681></TR
6682></TABLE
6683><P
6684></P
6685></DIV
6686></DIV
6687><HR><DIV
6688CLASS="REFSECT2"
6689><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006690NAME="AEN1580"
Daniel Veillard35925471999-02-25 08:46:07 +00006691></A
6692><H3
6693><A
6694NAME="XMLPARSEMEMORY"
6695></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006696>xmlParseMemory ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006697><TABLE
6698BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006699BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006700WIDTH="100%"
6701CELLPADDING="6"
6702><TR
6703><TD
6704><PRE
6705CLASS="PROGRAMLISTING"
6706><A
6707HREF="gnome-xml-tree.html#XMLDOCPTR"
6708>xmlDocPtr</A
6709> xmlParseMemory (char *buffer,
6710 int size);</PRE
6711></TD
6712></TR
6713></TABLE
6714><P
6715>parse an XML in-memory block and build a tree.</P
6716><P
6717></P
6718><DIV
6719CLASS="INFORMALTABLE"
6720><P
6721></P
6722><TABLE
6723BORDER="0"
6724WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006725BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006726CELLSPACING="0"
6727CELLPADDING="4"
6728CLASS="CALSTABLE"
6729><TR
6730><TD
6731WIDTH="20%"
6732ALIGN="RIGHT"
6733VALIGN="TOP"
6734><TT
6735CLASS="PARAMETER"
6736><I
6737>buffer</I
6738></TT
6739>&nbsp;:</TD
6740><TD
6741WIDTH="80%"
6742ALIGN="LEFT"
6743VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006744> an pointer to a char array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006745></TR
6746><TR
6747><TD
6748WIDTH="20%"
6749ALIGN="RIGHT"
6750VALIGN="TOP"
6751><TT
6752CLASS="PARAMETER"
6753><I
6754>size</I
6755></TT
6756>&nbsp;:</TD
6757><TD
6758WIDTH="80%"
6759ALIGN="LEFT"
6760VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006761> the size of the array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006762></TR
6763><TR
6764><TD
6765WIDTH="20%"
6766ALIGN="RIGHT"
6767VALIGN="TOP"
6768><I
6769CLASS="EMPHASIS"
6770>Returns</I
6771> :</TD
6772><TD
6773WIDTH="80%"
6774ALIGN="LEFT"
6775VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006776>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006777></TR
6778></TABLE
6779><P
6780></P
6781></DIV
6782></DIV
6783><HR><DIV
6784CLASS="REFSECT2"
6785><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006786NAME="AEN1604"
Daniel Veillard35925471999-02-25 08:46:07 +00006787></A
6788><H3
6789><A
6790NAME="XMLPARSEFILE"
6791></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006792>xmlParseFile ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006793><TABLE
6794BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006795BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006796WIDTH="100%"
6797CELLPADDING="6"
6798><TR
6799><TD
6800><PRE
6801CLASS="PROGRAMLISTING"
6802><A
6803HREF="gnome-xml-tree.html#XMLDOCPTR"
6804>xmlDocPtr</A
6805> xmlParseFile (const char *filename);</PRE
6806></TD
6807></TR
6808></TABLE
6809><P
6810>parse an XML file and build a tree. Automatic support for ZLIB/Compress
6811compressed document is provided by default if found at compile-time.</P
6812><P
6813></P
6814><DIV
6815CLASS="INFORMALTABLE"
6816><P
6817></P
6818><TABLE
6819BORDER="0"
6820WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006821BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006822CELLSPACING="0"
6823CELLPADDING="4"
6824CLASS="CALSTABLE"
6825><TR
6826><TD
6827WIDTH="20%"
6828ALIGN="RIGHT"
6829VALIGN="TOP"
6830><TT
6831CLASS="PARAMETER"
6832><I
6833>filename</I
6834></TT
6835>&nbsp;:</TD
6836><TD
6837WIDTH="80%"
6838ALIGN="LEFT"
6839VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006840> the filename</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006841></TR
6842><TR
6843><TD
6844WIDTH="20%"
6845ALIGN="RIGHT"
6846VALIGN="TOP"
6847><I
6848CLASS="EMPHASIS"
6849>Returns</I
6850> :</TD
6851><TD
6852WIDTH="80%"
6853ALIGN="LEFT"
6854VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006855>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006856></TR
6857></TABLE
6858><P
6859></P
6860></DIV
6861></DIV
6862><HR><DIV
6863CLASS="REFSECT2"
6864><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006865NAME="AEN1624"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006866></A
6867><H3
6868><A
6869NAME="XMLSUBSTITUTEENTITIESDEFAULT"
6870></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006871>xmlSubstituteEntitiesDefault ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00006872><TABLE
6873BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006874BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006875WIDTH="100%"
6876CELLPADDING="6"
6877><TR
6878><TD
6879><PRE
6880CLASS="PROGRAMLISTING"
6881>int xmlSubstituteEntitiesDefault (int val);</PRE
6882></TD
6883></TR
6884></TABLE
6885><P
6886>Set and return the previous value for default entity support.
6887Initially the parser always keep entity references instead of substituting
6888entity values in the output. This function has to be used to change the
6889default parser behaviour
6890SAX::<GTKDOCLINK
6891HREF="SUBTITUTEENTITIES"
6892>subtituteEntities</GTKDOCLINK
6893>() has to be used for changing that on a file by
6894file basis.</P
6895><P
6896></P
6897><DIV
6898CLASS="INFORMALTABLE"
6899><P
6900></P
6901><TABLE
6902BORDER="0"
6903WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006904BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006905CELLSPACING="0"
6906CELLPADDING="4"
6907CLASS="CALSTABLE"
6908><TR
6909><TD
6910WIDTH="20%"
6911ALIGN="RIGHT"
6912VALIGN="TOP"
6913><TT
6914CLASS="PARAMETER"
6915><I
6916>val</I
6917></TT
6918>&nbsp;:</TD
6919><TD
6920WIDTH="80%"
6921ALIGN="LEFT"
6922VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006923> int 0 or 1 </TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00006924></TR
6925><TR
6926><TD
6927WIDTH="20%"
6928ALIGN="RIGHT"
6929VALIGN="TOP"
6930><I
6931CLASS="EMPHASIS"
6932>Returns</I
6933> :</TD
6934><TD
6935WIDTH="80%"
6936ALIGN="LEFT"
6937VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006938>the last value for 0 for no substitution, 1 for substitution.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006939></TR
6940></TABLE
6941><P
6942></P
6943></DIV
6944></DIV
6945><HR><DIV
6946CLASS="REFSECT2"
6947><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006948NAME="AEN1644"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006949></A
6950><H3
6951><A
6952NAME="XMLKEEPBLANKSDEFAULT"
6953></A
6954>xmlKeepBlanksDefault ()</H3
6955><TABLE
6956BORDER="0"
6957BGCOLOR="#D6E8FF"
6958WIDTH="100%"
6959CELLPADDING="6"
6960><TR
6961><TD
6962><PRE
6963CLASS="PROGRAMLISTING"
6964>int xmlKeepBlanksDefault (int val);</PRE
6965></TD
6966></TR
6967></TABLE
6968><P
6969>Set and return the previous value for default blanks text nodes support.
6970The 1.x version of the parser used an heuristic to try to detect
6971ignorable white spaces. As a result the SAX callback was generating
6972<A
6973HREF="gnome-xml-sax.html#IGNORABLEWHITESPACE"
6974>ignorableWhitespace</A
6975>() callbacks instead of <A
6976HREF="gnome-xml-sax.html#CHARACTERS"
6977>characters</A
6978>() one, and when
6979using the DOM output text nodes containing those blanks were not generated.
6980The 2.x and later version will switch to the XML standard way and
6981<A
6982HREF="gnome-xml-sax.html#IGNORABLEWHITESPACE"
6983>ignorableWhitespace</A
6984>() are only generated when running the parser in
6985validating mode and when the current element doesn't allow CDATA or
6986mixed content.
6987This function is provided as a way to force the standard behaviour
6988on 1.X libs and to switch back to the old mode for compatibility when
6989running 1.X client code on 2.X . Upgrade of 1.X code should be done
6990by using <A
6991HREF="gnome-xml-tree.html#XMLISBLANKNODE"
6992>xmlIsBlankNode</A
6993>() commodity function to detect the "empty"
6994nodes generated.
6995This value also affect autogeneration of indentation when saving code
6996if blanks sections are kept, indentation is not generated.</P
6997><P
6998></P
6999><DIV
7000CLASS="INFORMALTABLE"
7001><P
7002></P
7003><TABLE
7004BORDER="0"
7005WIDTH="100%"
7006BGCOLOR="#FFD0D0"
7007CELLSPACING="0"
7008CELLPADDING="4"
7009CLASS="CALSTABLE"
7010><TR
7011><TD
7012WIDTH="20%"
7013ALIGN="RIGHT"
7014VALIGN="TOP"
7015><TT
7016CLASS="PARAMETER"
7017><I
7018>val</I
7019></TT
7020>&nbsp;:</TD
7021><TD
7022WIDTH="80%"
7023ALIGN="LEFT"
7024VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007025> int 0 or 1 </TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007026></TR
7027><TR
7028><TD
7029WIDTH="20%"
7030ALIGN="RIGHT"
7031VALIGN="TOP"
7032><I
7033CLASS="EMPHASIS"
7034>Returns</I
7035> :</TD
7036><TD
7037WIDTH="80%"
7038ALIGN="LEFT"
7039VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007040>the last value for 0 for no substitution, 1 for substitution.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007041></TR
7042></TABLE
7043><P
7044></P
7045></DIV
7046></DIV
7047><HR><DIV
7048CLASS="REFSECT2"
7049><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007050NAME="AEN1667"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007051></A
7052><H3
7053><A
7054NAME="XMLSTOPPARSER"
7055></A
7056>xmlStopParser ()</H3
7057><TABLE
7058BORDER="0"
7059BGCOLOR="#D6E8FF"
7060WIDTH="100%"
7061CELLPADDING="6"
7062><TR
7063><TD
7064><PRE
7065CLASS="PROGRAMLISTING"
7066>void xmlStopParser (<A
7067HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7068>xmlParserCtxtPtr</A
7069> ctxt);</PRE
7070></TD
7071></TR
7072></TABLE
7073><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007074>Blocks further parser processing</P
7075><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007076></P
7077><DIV
7078CLASS="INFORMALTABLE"
7079><P
7080></P
7081><TABLE
7082BORDER="0"
7083WIDTH="100%"
7084BGCOLOR="#FFD0D0"
7085CELLSPACING="0"
7086CELLPADDING="4"
7087CLASS="CALSTABLE"
7088><TR
7089><TD
7090WIDTH="20%"
7091ALIGN="RIGHT"
7092VALIGN="TOP"
7093><TT
7094CLASS="PARAMETER"
7095><I
7096>ctxt</I
7097></TT
7098>&nbsp;:</TD
7099><TD
7100WIDTH="80%"
7101ALIGN="LEFT"
7102VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007103> an XML parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007104></TR
7105></TABLE
7106><P
7107></P
7108></DIV
7109></DIV
7110><HR><DIV
7111CLASS="REFSECT2"
7112><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007113NAME="AEN1683"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007114></A
7115><H3
7116><A
7117NAME="XMLPEDANTICPARSERDEFAULT"
7118></A
7119>xmlPedanticParserDefault ()</H3
7120><TABLE
7121BORDER="0"
7122BGCOLOR="#D6E8FF"
7123WIDTH="100%"
7124CELLPADDING="6"
7125><TR
7126><TD
7127><PRE
7128CLASS="PROGRAMLISTING"
7129>int xmlPedanticParserDefault (int val);</PRE
7130></TD
7131></TR
7132></TABLE
7133><P
7134>Set and return the previous value for enabling pedantic warnings.</P
7135><P
7136></P
7137><DIV
7138CLASS="INFORMALTABLE"
7139><P
7140></P
7141><TABLE
7142BORDER="0"
7143WIDTH="100%"
7144BGCOLOR="#FFD0D0"
7145CELLSPACING="0"
7146CELLPADDING="4"
7147CLASS="CALSTABLE"
7148><TR
7149><TD
7150WIDTH="20%"
7151ALIGN="RIGHT"
7152VALIGN="TOP"
7153><TT
7154CLASS="PARAMETER"
7155><I
7156>val</I
7157></TT
7158>&nbsp;:</TD
7159><TD
7160WIDTH="80%"
7161ALIGN="LEFT"
7162VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007163> int 0 or 1 </TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007164></TR
7165><TR
7166><TD
7167WIDTH="20%"
7168ALIGN="RIGHT"
7169VALIGN="TOP"
7170><I
7171CLASS="EMPHASIS"
7172>Returns</I
7173> :</TD
7174><TD
7175WIDTH="80%"
7176ALIGN="LEFT"
7177VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007178>the last value for 0 for no substitution, 1 for substitution.</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007179></TR
7180></TABLE
7181><P
7182></P
7183></DIV
7184></DIV
7185><HR><DIV
7186CLASS="REFSECT2"
7187><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007188NAME="AEN1702"
Daniel Veillard35925471999-02-25 08:46:07 +00007189></A
7190><H3
7191><A
7192NAME="XMLRECOVERDOC"
7193></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007194>xmlRecoverDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007195><TABLE
7196BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007197BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007198WIDTH="100%"
7199CELLPADDING="6"
7200><TR
7201><TD
7202><PRE
7203CLASS="PROGRAMLISTING"
7204><A
7205HREF="gnome-xml-tree.html#XMLDOCPTR"
7206>xmlDocPtr</A
7207> xmlRecoverDoc (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007208HREF="gnome-xml-tree.html#XMLCHAR"
7209>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007210> *cur);</PRE
7211></TD
7212></TR
7213></TABLE
7214><P
7215>parse an XML in-memory document and build a tree.
7216In the case the document is not Well Formed, a tree is built anyway</P
7217><P
7218></P
7219><DIV
7220CLASS="INFORMALTABLE"
7221><P
7222></P
7223><TABLE
7224BORDER="0"
7225WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007226BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007227CELLSPACING="0"
7228CELLPADDING="4"
7229CLASS="CALSTABLE"
7230><TR
7231><TD
7232WIDTH="20%"
7233ALIGN="RIGHT"
7234VALIGN="TOP"
7235><TT
7236CLASS="PARAMETER"
7237><I
7238>cur</I
7239></TT
7240>&nbsp;:</TD
7241><TD
7242WIDTH="80%"
7243ALIGN="LEFT"
7244VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007245> a pointer to an array of xmlChar</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007246></TR
7247><TR
7248><TD
7249WIDTH="20%"
7250ALIGN="RIGHT"
7251VALIGN="TOP"
7252><I
7253CLASS="EMPHASIS"
7254>Returns</I
7255> :</TD
7256><TD
7257WIDTH="80%"
7258ALIGN="LEFT"
7259VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007260>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007261></TR
7262></TABLE
7263><P
7264></P
7265></DIV
7266></DIV
7267><HR><DIV
7268CLASS="REFSECT2"
7269><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007270NAME="AEN1723"
Daniel Veillard35925471999-02-25 08:46:07 +00007271></A
7272><H3
7273><A
7274NAME="XMLRECOVERMEMORY"
7275></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007276>xmlRecoverMemory ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007277><TABLE
7278BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007279BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007280WIDTH="100%"
7281CELLPADDING="6"
7282><TR
7283><TD
7284><PRE
7285CLASS="PROGRAMLISTING"
7286><A
7287HREF="gnome-xml-tree.html#XMLDOCPTR"
7288>xmlDocPtr</A
7289> xmlRecoverMemory (char *buffer,
7290 int size);</PRE
7291></TD
7292></TR
7293></TABLE
7294><P
7295>parse an XML in-memory block and build a tree.
7296In the case the document is not Well Formed, a tree is built anyway</P
7297><P
7298></P
7299><DIV
7300CLASS="INFORMALTABLE"
7301><P
7302></P
7303><TABLE
7304BORDER="0"
7305WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007306BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007307CELLSPACING="0"
7308CELLPADDING="4"
7309CLASS="CALSTABLE"
7310><TR
7311><TD
7312WIDTH="20%"
7313ALIGN="RIGHT"
7314VALIGN="TOP"
7315><TT
7316CLASS="PARAMETER"
7317><I
7318>buffer</I
7319></TT
7320>&nbsp;:</TD
7321><TD
7322WIDTH="80%"
7323ALIGN="LEFT"
7324VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007325> an pointer to a char array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007326></TR
7327><TR
7328><TD
7329WIDTH="20%"
7330ALIGN="RIGHT"
7331VALIGN="TOP"
7332><TT
7333CLASS="PARAMETER"
7334><I
7335>size</I
7336></TT
7337>&nbsp;:</TD
7338><TD
7339WIDTH="80%"
7340ALIGN="LEFT"
7341VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007342> the size of the array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007343></TR
7344><TR
7345><TD
7346WIDTH="20%"
7347ALIGN="RIGHT"
7348VALIGN="TOP"
7349><I
7350CLASS="EMPHASIS"
7351>Returns</I
7352> :</TD
7353><TD
7354WIDTH="80%"
7355ALIGN="LEFT"
7356VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007357>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007358></TR
7359></TABLE
7360><P
7361></P
7362></DIV
7363></DIV
7364><HR><DIV
7365CLASS="REFSECT2"
7366><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007367NAME="AEN1747"
Daniel Veillard35925471999-02-25 08:46:07 +00007368></A
7369><H3
7370><A
7371NAME="XMLRECOVERFILE"
7372></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007373>xmlRecoverFile ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007374><TABLE
7375BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007376BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007377WIDTH="100%"
7378CELLPADDING="6"
7379><TR
7380><TD
7381><PRE
7382CLASS="PROGRAMLISTING"
7383><A
7384HREF="gnome-xml-tree.html#XMLDOCPTR"
7385>xmlDocPtr</A
7386> xmlRecoverFile (const char *filename);</PRE
7387></TD
7388></TR
7389></TABLE
7390><P
7391>parse an XML file and build a tree. Automatic support for ZLIB/Compress
7392compressed document is provided by default if found at compile-time.
7393In the case the document is not Well Formed, a tree is built anyway</P
7394><P
7395></P
7396><DIV
7397CLASS="INFORMALTABLE"
7398><P
7399></P
7400><TABLE
7401BORDER="0"
7402WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007403BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007404CELLSPACING="0"
7405CELLPADDING="4"
7406CLASS="CALSTABLE"
7407><TR
7408><TD
7409WIDTH="20%"
7410ALIGN="RIGHT"
7411VALIGN="TOP"
7412><TT
7413CLASS="PARAMETER"
7414><I
7415>filename</I
7416></TT
7417>&nbsp;:</TD
7418><TD
7419WIDTH="80%"
7420ALIGN="LEFT"
7421VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007422> the filename</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007423></TR
7424><TR
7425><TD
7426WIDTH="20%"
7427ALIGN="RIGHT"
7428VALIGN="TOP"
7429><I
7430CLASS="EMPHASIS"
7431>Returns</I
7432> :</TD
7433><TD
7434WIDTH="80%"
7435ALIGN="LEFT"
7436VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007437>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007438></TR
7439></TABLE
7440><P
7441></P
7442></DIV
7443></DIV
7444><HR><DIV
7445CLASS="REFSECT2"
7446><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007447NAME="AEN1767"
Daniel Veillard35925471999-02-25 08:46:07 +00007448></A
7449><H3
7450><A
7451NAME="XMLPARSEDOCUMENT"
7452></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007453>xmlParseDocument ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007454><TABLE
7455BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007456BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007457WIDTH="100%"
7458CELLPADDING="6"
7459><TR
7460><TD
7461><PRE
7462CLASS="PROGRAMLISTING"
7463>int xmlParseDocument (<A
7464HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7465>xmlParserCtxtPtr</A
7466> ctxt);</PRE
7467></TD
7468></TR
7469></TABLE
7470><P
7471>parse an XML document (and build a tree if using the standard SAX
7472interface).</P
7473><P
7474>[1] document ::= prolog element Misc*</P
7475><P
7476>[22] prolog ::= XMLDecl? Misc* (doctypedecl Misc*)?</P
7477><P
7478></P
7479><DIV
7480CLASS="INFORMALTABLE"
7481><P
7482></P
7483><TABLE
7484BORDER="0"
7485WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007486BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007487CELLSPACING="0"
7488CELLPADDING="4"
7489CLASS="CALSTABLE"
7490><TR
7491><TD
7492WIDTH="20%"
7493ALIGN="RIGHT"
7494VALIGN="TOP"
7495><TT
7496CLASS="PARAMETER"
7497><I
7498>ctxt</I
7499></TT
7500>&nbsp;:</TD
7501><TD
7502WIDTH="80%"
7503ALIGN="LEFT"
7504VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007505> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007506></TR
7507><TR
7508><TD
7509WIDTH="20%"
7510ALIGN="RIGHT"
7511VALIGN="TOP"
7512><I
7513CLASS="EMPHASIS"
7514>Returns</I
7515> :</TD
7516><TD
7517WIDTH="80%"
7518ALIGN="LEFT"
7519VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007520>0, -1 in case of error. the parser context is augmented
7521as a result of the parsing.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007522></TR
7523></TABLE
7524><P
7525></P
7526></DIV
7527></DIV
7528><HR><DIV
7529CLASS="REFSECT2"
7530><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007531NAME="AEN1789"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007532></A
7533><H3
7534><A
7535NAME="XMLPARSEEXTPARSEDENT"
7536></A
7537>xmlParseExtParsedEnt ()</H3
7538><TABLE
7539BORDER="0"
7540BGCOLOR="#D6E8FF"
7541WIDTH="100%"
7542CELLPADDING="6"
7543><TR
7544><TD
7545><PRE
7546CLASS="PROGRAMLISTING"
7547>int xmlParseExtParsedEnt (<A
7548HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7549>xmlParserCtxtPtr</A
7550> ctxt);</PRE
7551></TD
7552></TR
7553></TABLE
7554><P
7555>parse a genreral parsed entity
7556An external general parsed entity is well-formed if it matches the
7557production labeled extParsedEnt.</P
7558><P
7559>[78] extParsedEnt ::= TextDecl? content</P
7560><P
7561></P
7562><DIV
7563CLASS="INFORMALTABLE"
7564><P
7565></P
7566><TABLE
7567BORDER="0"
7568WIDTH="100%"
7569BGCOLOR="#FFD0D0"
7570CELLSPACING="0"
7571CELLPADDING="4"
7572CLASS="CALSTABLE"
7573><TR
7574><TD
7575WIDTH="20%"
7576ALIGN="RIGHT"
7577VALIGN="TOP"
7578><TT
7579CLASS="PARAMETER"
7580><I
7581>ctxt</I
7582></TT
7583>&nbsp;:</TD
7584><TD
7585WIDTH="80%"
7586ALIGN="LEFT"
7587VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007588> an XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007589></TR
7590><TR
7591><TD
7592WIDTH="20%"
7593ALIGN="RIGHT"
7594VALIGN="TOP"
7595><I
7596CLASS="EMPHASIS"
7597>Returns</I
7598> :</TD
7599><TD
7600WIDTH="80%"
7601ALIGN="LEFT"
7602VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007603>0, -1 in case of error. the parser context is augmented
7604as a result of the parsing.</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007605></TR
7606></TABLE
7607><P
7608></P
7609></DIV
7610></DIV
7611><HR><DIV
7612CLASS="REFSECT2"
7613><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007614NAME="AEN1810"
Daniel Veillard35925471999-02-25 08:46:07 +00007615></A
7616><H3
7617><A
7618NAME="XMLSAXPARSEDOC"
7619></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007620>xmlSAXParseDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007621><TABLE
7622BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007623BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007624WIDTH="100%"
7625CELLPADDING="6"
7626><TR
7627><TD
7628><PRE
7629CLASS="PROGRAMLISTING"
7630><A
7631HREF="gnome-xml-tree.html#XMLDOCPTR"
7632>xmlDocPtr</A
7633> xmlSAXParseDoc (<A
7634HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
7635>xmlSAXHandlerPtr</A
7636> sax,
7637 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007638HREF="gnome-xml-tree.html#XMLCHAR"
7639>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007640> *cur,
7641 int recovery);</PRE
7642></TD
7643></TR
7644></TABLE
7645><P
7646>parse an XML in-memory document and build a tree.
7647It use the given SAX function block to handle the parsing callback.
7648If sax is NULL, fallback to the default DOM tree building routines.</P
7649><P
7650></P
7651><DIV
7652CLASS="INFORMALTABLE"
7653><P
7654></P
7655><TABLE
7656BORDER="0"
7657WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007658BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007659CELLSPACING="0"
7660CELLPADDING="4"
7661CLASS="CALSTABLE"
7662><TR
7663><TD
7664WIDTH="20%"
7665ALIGN="RIGHT"
7666VALIGN="TOP"
7667><TT
7668CLASS="PARAMETER"
7669><I
7670>sax</I
7671></TT
7672>&nbsp;:</TD
7673><TD
7674WIDTH="80%"
7675ALIGN="LEFT"
7676VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007677> the SAX handler block</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007678></TR
7679><TR
7680><TD
7681WIDTH="20%"
7682ALIGN="RIGHT"
7683VALIGN="TOP"
7684><TT
7685CLASS="PARAMETER"
7686><I
7687>cur</I
7688></TT
7689>&nbsp;:</TD
7690><TD
7691WIDTH="80%"
7692ALIGN="LEFT"
7693VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007694> a pointer to an array of xmlChar</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007695></TR
7696><TR
7697><TD
7698WIDTH="20%"
7699ALIGN="RIGHT"
7700VALIGN="TOP"
7701><TT
7702CLASS="PARAMETER"
7703><I
7704>recovery</I
7705></TT
7706>&nbsp;:</TD
7707><TD
7708WIDTH="80%"
7709ALIGN="LEFT"
7710VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007711> work in recovery mode, i.e. tries to read no Well Formed
7712documents</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007713></TR
7714><TR
7715><TD
7716WIDTH="20%"
7717ALIGN="RIGHT"
7718VALIGN="TOP"
7719><I
7720CLASS="EMPHASIS"
7721>Returns</I
7722> :</TD
7723><TD
7724WIDTH="80%"
7725ALIGN="LEFT"
7726VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007727>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007728></TR
7729></TABLE
7730><P
7731></P
7732></DIV
7733></DIV
7734><HR><DIV
7735CLASS="REFSECT2"
7736><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007737NAME="AEN1840"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007738></A
7739><H3
7740><A
7741NAME="XMLSAXUSERPARSEFILE"
7742></A
7743>xmlSAXUserParseFile ()</H3
7744><TABLE
7745BORDER="0"
7746BGCOLOR="#D6E8FF"
7747WIDTH="100%"
7748CELLPADDING="6"
7749><TR
7750><TD
7751><PRE
7752CLASS="PROGRAMLISTING"
7753>int xmlSAXUserParseFile (<A
7754HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
7755>xmlSAXHandlerPtr</A
7756> sax,
7757 void *user_data,
7758 const char *filename);</PRE
7759></TD
7760></TR
7761></TABLE
7762><P
7763>parse an XML file and call the given SAX handler routines.
7764Automatic support for ZLIB/Compress compressed document is provided</P
7765><P
7766></P
7767><DIV
7768CLASS="INFORMALTABLE"
7769><P
7770></P
7771><TABLE
7772BORDER="0"
7773WIDTH="100%"
7774BGCOLOR="#FFD0D0"
7775CELLSPACING="0"
7776CELLPADDING="4"
7777CLASS="CALSTABLE"
7778><TR
7779><TD
7780WIDTH="20%"
7781ALIGN="RIGHT"
7782VALIGN="TOP"
7783><TT
7784CLASS="PARAMETER"
7785><I
7786>sax</I
7787></TT
7788>&nbsp;:</TD
7789><TD
7790WIDTH="80%"
7791ALIGN="LEFT"
7792VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007793> a SAX handler</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007794></TR
7795><TR
7796><TD
7797WIDTH="20%"
7798ALIGN="RIGHT"
7799VALIGN="TOP"
7800><TT
7801CLASS="PARAMETER"
7802><I
7803>user_data</I
7804></TT
7805>&nbsp;:</TD
7806><TD
7807WIDTH="80%"
7808ALIGN="LEFT"
7809VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007810> The user data returned on SAX callbacks</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007811></TR
7812><TR
7813><TD
7814WIDTH="20%"
7815ALIGN="RIGHT"
7816VALIGN="TOP"
7817><TT
7818CLASS="PARAMETER"
7819><I
7820>filename</I
7821></TT
7822>&nbsp;:</TD
7823><TD
7824WIDTH="80%"
7825ALIGN="LEFT"
7826VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007827> a file name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007828></TR
7829><TR
7830><TD
7831WIDTH="20%"
7832ALIGN="RIGHT"
7833VALIGN="TOP"
7834><I
7835CLASS="EMPHASIS"
7836>Returns</I
7837> :</TD
7838><TD
7839WIDTH="80%"
7840ALIGN="LEFT"
7841VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007842>0 in case of success or a error number otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007843></TR
7844></TABLE
7845><P
7846></P
7847></DIV
7848></DIV
7849><HR><DIV
7850CLASS="REFSECT2"
7851><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007852NAME="AEN1868"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007853></A
7854><H3
7855><A
7856NAME="XMLSAXUSERPARSEMEMORY"
7857></A
7858>xmlSAXUserParseMemory ()</H3
7859><TABLE
7860BORDER="0"
7861BGCOLOR="#D6E8FF"
7862WIDTH="100%"
7863CELLPADDING="6"
7864><TR
7865><TD
7866><PRE
7867CLASS="PROGRAMLISTING"
7868>int xmlSAXUserParseMemory (<A
7869HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
7870>xmlSAXHandlerPtr</A
7871> sax,
7872 void *user_data,
7873 char *buffer,
7874 int size);</PRE
7875></TD
7876></TR
7877></TABLE
7878><P
7879>A better SAX parsing routine.
7880parse an XML in-memory buffer and call the given SAX handler routines.</P
7881><P
7882></P
7883><DIV
7884CLASS="INFORMALTABLE"
7885><P
7886></P
7887><TABLE
7888BORDER="0"
7889WIDTH="100%"
7890BGCOLOR="#FFD0D0"
7891CELLSPACING="0"
7892CELLPADDING="4"
7893CLASS="CALSTABLE"
7894><TR
7895><TD
7896WIDTH="20%"
7897ALIGN="RIGHT"
7898VALIGN="TOP"
7899><TT
7900CLASS="PARAMETER"
7901><I
7902>sax</I
7903></TT
7904>&nbsp;:</TD
7905><TD
7906WIDTH="80%"
7907ALIGN="LEFT"
7908VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007909> a SAX handler</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007910></TR
7911><TR
7912><TD
7913WIDTH="20%"
7914ALIGN="RIGHT"
7915VALIGN="TOP"
7916><TT
7917CLASS="PARAMETER"
7918><I
7919>user_data</I
7920></TT
7921>&nbsp;:</TD
7922><TD
7923WIDTH="80%"
7924ALIGN="LEFT"
7925VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007926> The user data returned on SAX callbacks</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007927></TR
7928><TR
7929><TD
7930WIDTH="20%"
7931ALIGN="RIGHT"
7932VALIGN="TOP"
7933><TT
7934CLASS="PARAMETER"
7935><I
7936>buffer</I
7937></TT
7938>&nbsp;:</TD
7939><TD
7940WIDTH="80%"
7941ALIGN="LEFT"
7942VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007943> an in-memory XML document input</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007944></TR
7945><TR
7946><TD
7947WIDTH="20%"
7948ALIGN="RIGHT"
7949VALIGN="TOP"
7950><TT
7951CLASS="PARAMETER"
7952><I
7953>size</I
7954></TT
7955>&nbsp;:</TD
7956><TD
7957WIDTH="80%"
7958ALIGN="LEFT"
7959VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007960> the length of the XML document in bytes</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007961></TR
7962><TR
7963><TD
7964WIDTH="20%"
7965ALIGN="RIGHT"
7966VALIGN="TOP"
7967><I
7968CLASS="EMPHASIS"
7969>Returns</I
7970> :</TD
7971><TD
7972WIDTH="80%"
7973ALIGN="LEFT"
7974VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007975>0 in case of success or a error number otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007976></TR
7977></TABLE
7978><P
7979></P
7980></DIV
7981></DIV
7982><HR><DIV
7983CLASS="REFSECT2"
7984><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007985NAME="AEN1900"
Daniel Veillard35925471999-02-25 08:46:07 +00007986></A
7987><H3
7988><A
7989NAME="XMLSAXPARSEMEMORY"
7990></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007991>xmlSAXParseMemory ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007992><TABLE
7993BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007994BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007995WIDTH="100%"
7996CELLPADDING="6"
7997><TR
7998><TD
7999><PRE
8000CLASS="PROGRAMLISTING"
8001><A
8002HREF="gnome-xml-tree.html#XMLDOCPTR"
8003>xmlDocPtr</A
8004> xmlSAXParseMemory (<A
8005HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
8006>xmlSAXHandlerPtr</A
8007> sax,
8008 char *buffer,
8009 int size,
8010 int recovery);</PRE
8011></TD
8012></TR
8013></TABLE
8014><P
8015>parse an XML in-memory block and use the given SAX function block
8016to handle the parsing callback. If sax is NULL, fallback to the default
8017DOM tree building routines.</P
8018><P
Daniel Veillard35925471999-02-25 08:46:07 +00008019></P
8020><DIV
8021CLASS="INFORMALTABLE"
8022><P
8023></P
8024><TABLE
8025BORDER="0"
8026WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008027BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008028CELLSPACING="0"
8029CELLPADDING="4"
8030CLASS="CALSTABLE"
8031><TR
8032><TD
8033WIDTH="20%"
8034ALIGN="RIGHT"
8035VALIGN="TOP"
8036><TT
8037CLASS="PARAMETER"
8038><I
8039>sax</I
8040></TT
8041>&nbsp;:</TD
8042><TD
8043WIDTH="80%"
8044ALIGN="LEFT"
8045VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008046> the SAX handler block</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008047></TR
8048><TR
8049><TD
8050WIDTH="20%"
8051ALIGN="RIGHT"
8052VALIGN="TOP"
8053><TT
8054CLASS="PARAMETER"
8055><I
8056>buffer</I
8057></TT
8058>&nbsp;:</TD
8059><TD
8060WIDTH="80%"
8061ALIGN="LEFT"
8062VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008063> an pointer to a char array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008064></TR
8065><TR
8066><TD
8067WIDTH="20%"
8068ALIGN="RIGHT"
8069VALIGN="TOP"
8070><TT
8071CLASS="PARAMETER"
8072><I
8073>size</I
8074></TT
8075>&nbsp;:</TD
8076><TD
8077WIDTH="80%"
8078ALIGN="LEFT"
8079VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008080> the size of the array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008081></TR
8082><TR
8083><TD
8084WIDTH="20%"
8085ALIGN="RIGHT"
8086VALIGN="TOP"
8087><TT
8088CLASS="PARAMETER"
8089><I
8090>recovery</I
8091></TT
8092>&nbsp;:</TD
8093><TD
8094WIDTH="80%"
8095ALIGN="LEFT"
8096VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008097> work in recovery mode, i.e. tries to read not Well Formed
8098documents</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008099></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"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008113>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008114></TR
8115></TABLE
8116><P
8117></P
8118></DIV
8119></DIV
8120><HR><DIV
8121CLASS="REFSECT2"
8122><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008123NAME="AEN1933"
Daniel Veillard35925471999-02-25 08:46:07 +00008124></A
8125><H3
8126><A
8127NAME="XMLSAXPARSEFILE"
8128></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008129>xmlSAXParseFile ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008130><TABLE
8131BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008132BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008133WIDTH="100%"
8134CELLPADDING="6"
8135><TR
8136><TD
8137><PRE
8138CLASS="PROGRAMLISTING"
8139><A
8140HREF="gnome-xml-tree.html#XMLDOCPTR"
8141>xmlDocPtr</A
8142> xmlSAXParseFile (<A
8143HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
8144>xmlSAXHandlerPtr</A
8145> sax,
8146 const char *filename,
8147 int recovery);</PRE
8148></TD
8149></TR
8150></TABLE
8151><P
8152>parse an XML file and build a tree. Automatic support for ZLIB/Compress
8153compressed document is provided by default if found at compile-time.
8154It use the given SAX function block to handle the parsing callback.
8155If sax is NULL, fallback to the default DOM tree building routines.</P
8156><P
8157></P
8158><DIV
8159CLASS="INFORMALTABLE"
8160><P
8161></P
8162><TABLE
8163BORDER="0"
8164WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008165BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008166CELLSPACING="0"
8167CELLPADDING="4"
8168CLASS="CALSTABLE"
8169><TR
8170><TD
8171WIDTH="20%"
8172ALIGN="RIGHT"
8173VALIGN="TOP"
8174><TT
8175CLASS="PARAMETER"
8176><I
8177>sax</I
8178></TT
8179>&nbsp;:</TD
8180><TD
8181WIDTH="80%"
8182ALIGN="LEFT"
8183VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008184> the SAX handler block</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008185></TR
8186><TR
8187><TD
8188WIDTH="20%"
8189ALIGN="RIGHT"
8190VALIGN="TOP"
8191><TT
8192CLASS="PARAMETER"
8193><I
8194>filename</I
8195></TT
8196>&nbsp;:</TD
8197><TD
8198WIDTH="80%"
8199ALIGN="LEFT"
8200VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008201> the filename</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008202></TR
8203><TR
8204><TD
8205WIDTH="20%"
8206ALIGN="RIGHT"
8207VALIGN="TOP"
8208><TT
8209CLASS="PARAMETER"
8210><I
8211>recovery</I
8212></TT
8213>&nbsp;:</TD
8214><TD
8215WIDTH="80%"
8216ALIGN="LEFT"
8217VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008218> work in recovery mode, i.e. tries to read no Well Formed
8219documents</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008220></TR
8221><TR
8222><TD
8223WIDTH="20%"
8224ALIGN="RIGHT"
8225VALIGN="TOP"
8226><I
8227CLASS="EMPHASIS"
8228>Returns</I
8229> :</TD
8230><TD
8231WIDTH="80%"
8232ALIGN="LEFT"
8233VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008234>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008235></TR
8236></TABLE
8237><P
8238></P
8239></DIV
8240></DIV
8241><HR><DIV
8242CLASS="REFSECT2"
8243><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008244NAME="AEN1962"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008245></A
8246><H3
8247><A
8248NAME="XMLSAXPARSEENTITY"
8249></A
8250>xmlSAXParseEntity ()</H3
8251><TABLE
8252BORDER="0"
8253BGCOLOR="#D6E8FF"
8254WIDTH="100%"
8255CELLPADDING="6"
8256><TR
8257><TD
8258><PRE
8259CLASS="PROGRAMLISTING"
8260><A
8261HREF="gnome-xml-tree.html#XMLDOCPTR"
8262>xmlDocPtr</A
8263> xmlSAXParseEntity (<A
8264HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
8265>xmlSAXHandlerPtr</A
8266> sax,
8267 const char *filename);</PRE
8268></TD
8269></TR
8270></TABLE
8271><P
8272>parse an XML external entity out of context and build a tree.
8273It use the given SAX function block to handle the parsing callback.
8274If sax is NULL, fallback to the default DOM tree building routines.</P
8275><P
8276>[78] extParsedEnt ::= TextDecl? content</P
8277><P
8278>This correspond to a "Well Balanced" chunk</P
8279><P
8280></P
8281><DIV
8282CLASS="INFORMALTABLE"
8283><P
8284></P
8285><TABLE
8286BORDER="0"
8287WIDTH="100%"
8288BGCOLOR="#FFD0D0"
8289CELLSPACING="0"
8290CELLPADDING="4"
8291CLASS="CALSTABLE"
8292><TR
8293><TD
8294WIDTH="20%"
8295ALIGN="RIGHT"
8296VALIGN="TOP"
8297><TT
8298CLASS="PARAMETER"
8299><I
8300>sax</I
8301></TT
8302>&nbsp;:</TD
8303><TD
8304WIDTH="80%"
8305ALIGN="LEFT"
8306VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008307> the SAX handler block</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008308></TR
8309><TR
8310><TD
8311WIDTH="20%"
8312ALIGN="RIGHT"
8313VALIGN="TOP"
8314><TT
8315CLASS="PARAMETER"
8316><I
8317>filename</I
8318></TT
8319>&nbsp;:</TD
8320><TD
8321WIDTH="80%"
8322ALIGN="LEFT"
8323VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008324> the filename</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008325></TR
8326><TR
8327><TD
8328WIDTH="20%"
8329ALIGN="RIGHT"
8330VALIGN="TOP"
8331><I
8332CLASS="EMPHASIS"
8333>Returns</I
8334> :</TD
8335><TD
8336WIDTH="80%"
8337ALIGN="LEFT"
8338VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008339>the resulting document tree</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008340></TR
8341></TABLE
8342><P
8343></P
8344></DIV
8345></DIV
8346><HR><DIV
8347CLASS="REFSECT2"
8348><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008349NAME="AEN1989"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008350></A
8351><H3
8352><A
8353NAME="XMLPARSEENTITY"
8354></A
8355>xmlParseEntity ()</H3
8356><TABLE
8357BORDER="0"
8358BGCOLOR="#D6E8FF"
8359WIDTH="100%"
8360CELLPADDING="6"
8361><TR
8362><TD
8363><PRE
8364CLASS="PROGRAMLISTING"
8365><A
8366HREF="gnome-xml-tree.html#XMLDOCPTR"
8367>xmlDocPtr</A
8368> xmlParseEntity (const char *filename);</PRE
8369></TD
8370></TR
8371></TABLE
8372><P
8373>parse an XML external entity out of context and build a tree.</P
8374><P
8375>[78] extParsedEnt ::= TextDecl? content</P
8376><P
8377>This correspond to a "Well Balanced" chunk</P
8378><P
8379></P
8380><DIV
8381CLASS="INFORMALTABLE"
8382><P
8383></P
8384><TABLE
8385BORDER="0"
8386WIDTH="100%"
8387BGCOLOR="#FFD0D0"
8388CELLSPACING="0"
8389CELLPADDING="4"
8390CLASS="CALSTABLE"
8391><TR
8392><TD
8393WIDTH="20%"
8394ALIGN="RIGHT"
8395VALIGN="TOP"
8396><TT
8397CLASS="PARAMETER"
8398><I
8399>filename</I
8400></TT
8401>&nbsp;:</TD
8402><TD
8403WIDTH="80%"
8404ALIGN="LEFT"
8405VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008406> the filename</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008407></TR
8408><TR
8409><TD
8410WIDTH="20%"
8411ALIGN="RIGHT"
8412VALIGN="TOP"
8413><I
8414CLASS="EMPHASIS"
8415>Returns</I
8416> :</TD
8417><TD
8418WIDTH="80%"
8419ALIGN="LEFT"
8420VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008421>the resulting document tree</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008422></TR
8423></TABLE
8424><P
8425></P
8426></DIV
8427></DIV
8428><HR><DIV
8429CLASS="REFSECT2"
8430><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008431NAME="AEN2011"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008432></A
8433><H3
8434><A
8435NAME="XMLPARSEDTD"
8436></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008437>xmlParseDTD ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00008438><TABLE
8439BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008440BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008441WIDTH="100%"
8442CELLPADDING="6"
8443><TR
8444><TD
8445><PRE
8446CLASS="PROGRAMLISTING"
8447><A
8448HREF="gnome-xml-tree.html#XMLDTDPTR"
8449>xmlDtdPtr</A
8450> xmlParseDTD (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008451HREF="gnome-xml-tree.html#XMLCHAR"
8452>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008453> *ExternalID,
8454 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008455HREF="gnome-xml-tree.html#XMLCHAR"
8456>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008457> *SystemID);</PRE
8458></TD
8459></TR
8460></TABLE
8461><P
8462>Load and parse an external subset.</P
8463><P
8464></P
8465><DIV
8466CLASS="INFORMALTABLE"
8467><P
8468></P
8469><TABLE
8470BORDER="0"
8471WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008472BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008473CELLSPACING="0"
8474CELLPADDING="4"
8475CLASS="CALSTABLE"
8476><TR
8477><TD
8478WIDTH="20%"
8479ALIGN="RIGHT"
8480VALIGN="TOP"
8481><TT
8482CLASS="PARAMETER"
8483><I
8484>ExternalID</I
8485></TT
8486>&nbsp;:</TD
8487><TD
8488WIDTH="80%"
8489ALIGN="LEFT"
8490VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008491> a NAME* containing the External ID of the DTD</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008492></TR
8493><TR
8494><TD
8495WIDTH="20%"
8496ALIGN="RIGHT"
8497VALIGN="TOP"
8498><TT
8499CLASS="PARAMETER"
8500><I
8501>SystemID</I
8502></TT
8503>&nbsp;:</TD
8504><TD
8505WIDTH="80%"
8506ALIGN="LEFT"
8507VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008508> a NAME* containing the URL to the DTD</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008509></TR
8510><TR
8511><TD
8512WIDTH="20%"
8513ALIGN="RIGHT"
8514VALIGN="TOP"
8515><I
8516CLASS="EMPHASIS"
8517>Returns</I
8518> :</TD
8519><TD
8520WIDTH="80%"
8521ALIGN="LEFT"
8522VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008523>the resulting xmlDtdPtr or NULL in case of error.</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008524></TR
8525></TABLE
8526><P
8527></P
8528></DIV
8529></DIV
8530><HR><DIV
8531CLASS="REFSECT2"
8532><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008533NAME="AEN2037"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008534></A
8535><H3
8536><A
8537NAME="XMLSAXPARSEDTD"
8538></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008539>xmlSAXParseDTD ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00008540><TABLE
8541BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008542BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008543WIDTH="100%"
8544CELLPADDING="6"
8545><TR
8546><TD
8547><PRE
8548CLASS="PROGRAMLISTING"
8549><A
8550HREF="gnome-xml-tree.html#XMLDTDPTR"
8551>xmlDtdPtr</A
8552> xmlSAXParseDTD (<A
8553HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
8554>xmlSAXHandlerPtr</A
8555> sax,
8556 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008557HREF="gnome-xml-tree.html#XMLCHAR"
8558>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008559> *ExternalID,
8560 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008561HREF="gnome-xml-tree.html#XMLCHAR"
8562>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008563> *SystemID);</PRE
8564></TD
8565></TR
8566></TABLE
8567><P
8568>Load and parse an external subset.</P
8569><P
8570></P
8571><DIV
8572CLASS="INFORMALTABLE"
8573><P
8574></P
8575><TABLE
8576BORDER="0"
8577WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008578BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008579CELLSPACING="0"
8580CELLPADDING="4"
8581CLASS="CALSTABLE"
8582><TR
8583><TD
8584WIDTH="20%"
8585ALIGN="RIGHT"
8586VALIGN="TOP"
8587><TT
8588CLASS="PARAMETER"
8589><I
8590>sax</I
8591></TT
8592>&nbsp;:</TD
8593><TD
8594WIDTH="80%"
8595ALIGN="LEFT"
8596VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008597> the SAX handler block</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008598></TR
8599><TR
8600><TD
8601WIDTH="20%"
8602ALIGN="RIGHT"
8603VALIGN="TOP"
8604><TT
8605CLASS="PARAMETER"
8606><I
8607>ExternalID</I
8608></TT
8609>&nbsp;:</TD
8610><TD
8611WIDTH="80%"
8612ALIGN="LEFT"
8613VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008614> a NAME* containing the External ID of the DTD</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008615></TR
8616><TR
8617><TD
8618WIDTH="20%"
8619ALIGN="RIGHT"
8620VALIGN="TOP"
8621><TT
8622CLASS="PARAMETER"
8623><I
8624>SystemID</I
8625></TT
8626>&nbsp;:</TD
8627><TD
8628WIDTH="80%"
8629ALIGN="LEFT"
8630VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008631> a NAME* containing the URL to the DTD</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008632></TR
8633><TR
8634><TD
8635WIDTH="20%"
8636ALIGN="RIGHT"
8637VALIGN="TOP"
8638><I
8639CLASS="EMPHASIS"
8640>Returns</I
8641> :</TD
8642><TD
8643WIDTH="80%"
8644ALIGN="LEFT"
8645VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008646>the resulting xmlDtdPtr or NULL in case of error.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008647></TR
8648></TABLE
8649><P
8650></P
8651></DIV
8652></DIV
8653><HR><DIV
8654CLASS="REFSECT2"
8655><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008656NAME="AEN2068"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008657></A
8658><H3
8659><A
8660NAME="XMLPARSEBALANCEDCHUNKMEMORY"
8661></A
8662>xmlParseBalancedChunkMemory ()</H3
8663><TABLE
8664BORDER="0"
8665BGCOLOR="#D6E8FF"
8666WIDTH="100%"
8667CELLPADDING="6"
8668><TR
8669><TD
8670><PRE
8671CLASS="PROGRAMLISTING"
8672>int xmlParseBalancedChunkMemory (<A
8673HREF="gnome-xml-tree.html#XMLDOCPTR"
8674>xmlDocPtr</A
8675> doc,
8676 <A
8677HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
8678>xmlSAXHandlerPtr</A
8679> sax,
8680 void *user_data,
8681 int depth,
8682 const <A
8683HREF="gnome-xml-tree.html#XMLCHAR"
8684>xmlChar</A
8685> *string,
8686 <A
8687HREF="gnome-xml-tree.html#XMLNODEPTR"
8688>xmlNodePtr</A
8689> *list);</PRE
8690></TD
8691></TR
8692></TABLE
8693><P
8694></P
8695><DIV
8696CLASS="INFORMALTABLE"
8697><P
8698></P
8699><TABLE
8700BORDER="0"
8701WIDTH="100%"
8702BGCOLOR="#FFD0D0"
8703CELLSPACING="0"
8704CELLPADDING="4"
8705CLASS="CALSTABLE"
8706><TR
8707><TD
8708WIDTH="20%"
8709ALIGN="RIGHT"
8710VALIGN="TOP"
8711><TT
8712CLASS="PARAMETER"
8713><I
8714>doc</I
8715></TT
8716>&nbsp;:</TD
8717><TD
8718WIDTH="80%"
8719ALIGN="LEFT"
8720VALIGN="TOP"
8721>&nbsp;</TD
8722></TR
8723><TR
8724><TD
8725WIDTH="20%"
8726ALIGN="RIGHT"
8727VALIGN="TOP"
8728><TT
8729CLASS="PARAMETER"
8730><I
8731>sax</I
8732></TT
8733>&nbsp;:</TD
8734><TD
8735WIDTH="80%"
8736ALIGN="LEFT"
8737VALIGN="TOP"
8738>&nbsp;</TD
8739></TR
8740><TR
8741><TD
8742WIDTH="20%"
8743ALIGN="RIGHT"
8744VALIGN="TOP"
8745><TT
8746CLASS="PARAMETER"
8747><I
8748>user_data</I
8749></TT
8750>&nbsp;:</TD
8751><TD
8752WIDTH="80%"
8753ALIGN="LEFT"
8754VALIGN="TOP"
8755>&nbsp;</TD
8756></TR
8757><TR
8758><TD
8759WIDTH="20%"
8760ALIGN="RIGHT"
8761VALIGN="TOP"
8762><TT
8763CLASS="PARAMETER"
8764><I
8765>depth</I
8766></TT
8767>&nbsp;:</TD
8768><TD
8769WIDTH="80%"
8770ALIGN="LEFT"
8771VALIGN="TOP"
8772>&nbsp;</TD
8773></TR
8774><TR
8775><TD
8776WIDTH="20%"
8777ALIGN="RIGHT"
8778VALIGN="TOP"
8779><TT
8780CLASS="PARAMETER"
8781><I
8782>string</I
8783></TT
8784>&nbsp;:</TD
8785><TD
8786WIDTH="80%"
8787ALIGN="LEFT"
8788VALIGN="TOP"
8789>&nbsp;</TD
8790></TR
8791><TR
8792><TD
8793WIDTH="20%"
8794ALIGN="RIGHT"
8795VALIGN="TOP"
8796><TT
8797CLASS="PARAMETER"
8798><I
8799>list</I
8800></TT
8801>&nbsp;:</TD
8802><TD
8803WIDTH="80%"
8804ALIGN="LEFT"
8805VALIGN="TOP"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00008806>&nbsp;</TD
8807></TR
8808><TR
8809><TD
8810WIDTH="20%"
8811ALIGN="RIGHT"
8812VALIGN="TOP"
8813><I
8814CLASS="EMPHASIS"
8815>Returns</I
8816> :</TD
8817><TD
8818WIDTH="80%"
8819ALIGN="LEFT"
8820VALIGN="TOP"
8821>&nbsp;</TD
8822></TR
8823></TABLE
8824><P
8825></P
8826></DIV
8827></DIV
8828><HR><DIV
8829CLASS="REFSECT2"
8830><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008831NAME="AEN2110"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008832></A
8833><H3
8834><A
8835NAME="XMLPARSEEXTERNALENTITY"
8836></A
8837>xmlParseExternalEntity ()</H3
8838><TABLE
8839BORDER="0"
8840BGCOLOR="#D6E8FF"
8841WIDTH="100%"
8842CELLPADDING="6"
8843><TR
8844><TD
8845><PRE
8846CLASS="PROGRAMLISTING"
8847>int xmlParseExternalEntity (<A
8848HREF="gnome-xml-tree.html#XMLDOCPTR"
8849>xmlDocPtr</A
8850> doc,
8851 <A
8852HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
8853>xmlSAXHandlerPtr</A
8854> sax,
8855 void *user_data,
8856 int depth,
8857 const <A
8858HREF="gnome-xml-tree.html#XMLCHAR"
8859>xmlChar</A
8860> *URL,
8861 const <A
8862HREF="gnome-xml-tree.html#XMLCHAR"
8863>xmlChar</A
8864> *ID,
8865 <A
8866HREF="gnome-xml-tree.html#XMLNODEPTR"
8867>xmlNodePtr</A
8868> *list);</PRE
8869></TD
8870></TR
8871></TABLE
8872><P
8873>Parse an external general entity
8874An external general parsed entity is well-formed if it matches the
8875production labeled extParsedEnt.</P
8876><P
8877>[78] extParsedEnt ::= TextDecl? content</P
8878><P
8879></P
8880><DIV
8881CLASS="INFORMALTABLE"
8882><P
8883></P
8884><TABLE
8885BORDER="0"
8886WIDTH="100%"
8887BGCOLOR="#FFD0D0"
8888CELLSPACING="0"
8889CELLPADDING="4"
8890CLASS="CALSTABLE"
8891><TR
8892><TD
8893WIDTH="20%"
8894ALIGN="RIGHT"
8895VALIGN="TOP"
8896><TT
8897CLASS="PARAMETER"
8898><I
8899>doc</I
8900></TT
8901>&nbsp;:</TD
8902><TD
8903WIDTH="80%"
8904ALIGN="LEFT"
8905VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008906> the document the chunk pertains to</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008907></TR
8908><TR
8909><TD
8910WIDTH="20%"
8911ALIGN="RIGHT"
8912VALIGN="TOP"
8913><TT
8914CLASS="PARAMETER"
8915><I
8916>sax</I
8917></TT
8918>&nbsp;:</TD
8919><TD
8920WIDTH="80%"
8921ALIGN="LEFT"
8922VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008923> the SAX handler bloc (possibly NULL)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008924></TR
8925><TR
8926><TD
8927WIDTH="20%"
8928ALIGN="RIGHT"
8929VALIGN="TOP"
8930><TT
8931CLASS="PARAMETER"
8932><I
8933>user_data</I
8934></TT
8935>&nbsp;:</TD
8936><TD
8937WIDTH="80%"
8938ALIGN="LEFT"
8939VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008940> The user data returned on SAX callbacks (possibly NULL)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008941></TR
8942><TR
8943><TD
8944WIDTH="20%"
8945ALIGN="RIGHT"
8946VALIGN="TOP"
8947><TT
8948CLASS="PARAMETER"
8949><I
8950>depth</I
8951></TT
8952>&nbsp;:</TD
8953><TD
8954WIDTH="80%"
8955ALIGN="LEFT"
8956VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008957> Used for loop detection, use 0</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008958></TR
8959><TR
8960><TD
8961WIDTH="20%"
8962ALIGN="RIGHT"
8963VALIGN="TOP"
8964><TT
8965CLASS="PARAMETER"
8966><I
8967>URL</I
8968></TT
8969>&nbsp;:</TD
8970><TD
8971WIDTH="80%"
8972ALIGN="LEFT"
8973VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008974> the URL for the entity to load</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008975></TR
8976><TR
8977><TD
8978WIDTH="20%"
8979ALIGN="RIGHT"
8980VALIGN="TOP"
8981><TT
8982CLASS="PARAMETER"
8983><I
8984>ID</I
8985></TT
8986>&nbsp;:</TD
8987><TD
8988WIDTH="80%"
8989ALIGN="LEFT"
8990VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008991> the System ID for the entity to load</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008992></TR
8993><TR
8994><TD
8995WIDTH="20%"
8996ALIGN="RIGHT"
8997VALIGN="TOP"
8998><TT
8999CLASS="PARAMETER"
9000><I
9001>list</I
9002></TT
9003>&nbsp;:</TD
9004><TD
9005WIDTH="80%"
9006ALIGN="LEFT"
9007VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009008> the return value for the set of parsed nodes</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009009></TR
9010><TR
9011><TD
9012WIDTH="20%"
9013ALIGN="RIGHT"
9014VALIGN="TOP"
9015><I
9016CLASS="EMPHASIS"
9017>Returns</I
9018> :</TD
9019><TD
9020WIDTH="80%"
9021ALIGN="LEFT"
9022VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009023>0 if the entity is well formed, -1 in case of args problem and
9024the parser error code otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009025></TR
9026></TABLE
9027><P
9028></P
9029></DIV
9030></DIV
9031><HR><DIV
9032CLASS="REFSECT2"
9033><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009034NAME="AEN2159"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009035></A
9036><H3
9037><A
9038NAME="XMLPARSECTXTEXTERNALENTITY"
9039></A
9040>xmlParseCtxtExternalEntity ()</H3
9041><TABLE
9042BORDER="0"
9043BGCOLOR="#D6E8FF"
9044WIDTH="100%"
9045CELLPADDING="6"
9046><TR
9047><TD
9048><PRE
9049CLASS="PROGRAMLISTING"
9050>int xmlParseCtxtExternalEntity (<A
9051HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9052>xmlParserCtxtPtr</A
9053> ctx,
9054 const <A
9055HREF="gnome-xml-tree.html#XMLCHAR"
9056>xmlChar</A
9057> *URL,
9058 const <A
9059HREF="gnome-xml-tree.html#XMLCHAR"
9060>xmlChar</A
9061> *ID,
9062 <A
9063HREF="gnome-xml-tree.html#XMLNODEPTR"
9064>xmlNodePtr</A
9065> *list);</PRE
9066></TD
9067></TR
9068></TABLE
9069><P
9070>Parse an external general entity within an existing parsing context
9071An external general parsed entity is well-formed if it matches the
9072production labeled extParsedEnt.</P
9073><P
9074>[78] extParsedEnt ::= TextDecl? content</P
9075><P
9076></P
9077><DIV
9078CLASS="INFORMALTABLE"
9079><P
9080></P
9081><TABLE
9082BORDER="0"
9083WIDTH="100%"
9084BGCOLOR="#FFD0D0"
9085CELLSPACING="0"
9086CELLPADDING="4"
9087CLASS="CALSTABLE"
9088><TR
9089><TD
9090WIDTH="20%"
9091ALIGN="RIGHT"
9092VALIGN="TOP"
9093><TT
9094CLASS="PARAMETER"
9095><I
9096>ctx</I
9097></TT
9098>&nbsp;:</TD
9099><TD
9100WIDTH="80%"
9101ALIGN="LEFT"
9102VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009103> the existing parsing context</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009104></TR
9105><TR
9106><TD
9107WIDTH="20%"
9108ALIGN="RIGHT"
9109VALIGN="TOP"
9110><TT
9111CLASS="PARAMETER"
9112><I
9113>URL</I
9114></TT
9115>&nbsp;:</TD
9116><TD
9117WIDTH="80%"
9118ALIGN="LEFT"
9119VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009120> the URL for the entity to load</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009121></TR
9122><TR
9123><TD
9124WIDTH="20%"
9125ALIGN="RIGHT"
9126VALIGN="TOP"
9127><TT
9128CLASS="PARAMETER"
9129><I
9130>ID</I
9131></TT
9132>&nbsp;:</TD
9133><TD
9134WIDTH="80%"
9135ALIGN="LEFT"
9136VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009137> the System ID for the entity to load</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009138></TR
9139><TR
9140><TD
9141WIDTH="20%"
9142ALIGN="RIGHT"
9143VALIGN="TOP"
9144><TT
9145CLASS="PARAMETER"
9146><I
9147>list</I
9148></TT
9149>&nbsp;:</TD
9150><TD
9151WIDTH="80%"
9152ALIGN="LEFT"
9153VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009154> the return value for the set of parsed nodes</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009155></TR
9156><TR
9157><TD
9158WIDTH="20%"
9159ALIGN="RIGHT"
9160VALIGN="TOP"
9161><I
9162CLASS="EMPHASIS"
9163>Returns</I
9164> :</TD
9165><TD
9166WIDTH="80%"
9167ALIGN="LEFT"
9168VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009169>0 if the entity is well formed, -1 in case of args problem and
9170the parser error code otherwise</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009171></TR
9172></TABLE
9173><P
9174></P
9175></DIV
9176></DIV
9177><HR><DIV
9178CLASS="REFSECT2"
9179><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009180NAME="AEN2195"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009181></A
9182><H3
9183><A
9184NAME="XMLDEFAULTSAXHANDLERINIT"
9185></A
9186>xmlDefaultSAXHandlerInit ()</H3
9187><TABLE
9188BORDER="0"
9189BGCOLOR="#D6E8FF"
9190WIDTH="100%"
9191CELLPADDING="6"
9192><TR
9193><TD
9194><PRE
9195CLASS="PROGRAMLISTING"
9196>void xmlDefaultSAXHandlerInit (void);</PRE
9197></TD
9198></TR
9199></TABLE
9200><P
9201>Initialize the default SAX handler</P
9202><P
9203></P
9204></DIV
9205><HR><DIV
9206CLASS="REFSECT2"
9207><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009208NAME="AEN2201"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009209></A
9210><H3
9211><A
9212NAME="HTMLDEFAULTSAXHANDLERINIT"
9213></A
9214>htmlDefaultSAXHandlerInit ()</H3
9215><TABLE
9216BORDER="0"
9217BGCOLOR="#D6E8FF"
9218WIDTH="100%"
9219CELLPADDING="6"
9220><TR
9221><TD
9222><PRE
9223CLASS="PROGRAMLISTING"
9224>void htmlDefaultSAXHandlerInit (void);</PRE
9225></TD
9226></TR
9227></TABLE
9228><P
9229>Initialize the default SAX handler</P
9230><P
9231></P
9232></DIV
9233><HR><DIV
9234CLASS="REFSECT2"
9235><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009236NAME="AEN2207"
Daniel Veillard35925471999-02-25 08:46:07 +00009237></A
9238><H3
9239><A
9240NAME="XMLINITPARSERCTXT"
9241></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009242>xmlInitParserCtxt ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009243><TABLE
9244BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009245BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009246WIDTH="100%"
9247CELLPADDING="6"
9248><TR
9249><TD
9250><PRE
9251CLASS="PROGRAMLISTING"
9252>void xmlInitParserCtxt (<A
9253HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9254>xmlParserCtxtPtr</A
9255> ctxt);</PRE
9256></TD
9257></TR
9258></TABLE
9259><P
9260>Initialize a parser context</P
9261><P
9262></P
9263><DIV
9264CLASS="INFORMALTABLE"
9265><P
9266></P
9267><TABLE
9268BORDER="0"
9269WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009270BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009271CELLSPACING="0"
9272CELLPADDING="4"
9273CLASS="CALSTABLE"
9274><TR
9275><TD
9276WIDTH="20%"
9277ALIGN="RIGHT"
9278VALIGN="TOP"
9279><TT
9280CLASS="PARAMETER"
9281><I
9282>ctxt</I
9283></TT
9284>&nbsp;:</TD
9285><TD
9286WIDTH="80%"
9287ALIGN="LEFT"
9288VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009289> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009290></TR
9291></TABLE
9292><P
9293></P
9294></DIV
9295></DIV
9296><HR><DIV
9297CLASS="REFSECT2"
9298><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009299NAME="AEN2223"
Daniel Veillard35925471999-02-25 08:46:07 +00009300></A
9301><H3
9302><A
9303NAME="XMLCLEARPARSERCTXT"
9304></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009305>xmlClearParserCtxt ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009306><TABLE
9307BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009308BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009309WIDTH="100%"
9310CELLPADDING="6"
9311><TR
9312><TD
9313><PRE
9314CLASS="PROGRAMLISTING"
9315>void xmlClearParserCtxt (<A
9316HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9317>xmlParserCtxtPtr</A
9318> ctxt);</PRE
9319></TD
9320></TR
9321></TABLE
9322><P
9323>Clear (release owned resources) and reinitialize a parser context</P
9324><P
9325></P
9326><DIV
9327CLASS="INFORMALTABLE"
9328><P
9329></P
9330><TABLE
9331BORDER="0"
9332WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009333BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009334CELLSPACING="0"
9335CELLPADDING="4"
9336CLASS="CALSTABLE"
9337><TR
9338><TD
9339WIDTH="20%"
9340ALIGN="RIGHT"
9341VALIGN="TOP"
9342><TT
9343CLASS="PARAMETER"
9344><I
9345>ctxt</I
9346></TT
9347>&nbsp;:</TD
9348><TD
9349WIDTH="80%"
9350ALIGN="LEFT"
9351VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009352> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009353></TR
9354></TABLE
9355><P
9356></P
9357></DIV
9358></DIV
9359><HR><DIV
9360CLASS="REFSECT2"
9361><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009362NAME="AEN2239"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009363></A
9364><H3
9365><A
9366NAME="XMLFREEPARSERCTXT"
9367></A
9368>xmlFreeParserCtxt ()</H3
9369><TABLE
9370BORDER="0"
9371BGCOLOR="#D6E8FF"
9372WIDTH="100%"
9373CELLPADDING="6"
9374><TR
9375><TD
9376><PRE
9377CLASS="PROGRAMLISTING"
9378>void xmlFreeParserCtxt (<A
9379HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9380>xmlParserCtxtPtr</A
9381> ctxt);</PRE
9382></TD
9383></TR
9384></TABLE
9385><P
9386>Free all the memory used by a parser context. However the parsed
9387document in ctxt-&gt;myDoc is not freed.</P
9388><P
9389></P
9390><DIV
9391CLASS="INFORMALTABLE"
9392><P
9393></P
9394><TABLE
9395BORDER="0"
9396WIDTH="100%"
9397BGCOLOR="#FFD0D0"
9398CELLSPACING="0"
9399CELLPADDING="4"
9400CLASS="CALSTABLE"
9401><TR
9402><TD
9403WIDTH="20%"
9404ALIGN="RIGHT"
9405VALIGN="TOP"
9406><TT
9407CLASS="PARAMETER"
9408><I
9409>ctxt</I
9410></TT
9411>&nbsp;:</TD
9412><TD
9413WIDTH="80%"
9414ALIGN="LEFT"
9415VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009416> an XML parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009417></TR
9418></TABLE
9419><P
9420></P
9421></DIV
9422></DIV
9423><HR><DIV
9424CLASS="REFSECT2"
9425><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009426NAME="AEN2255"
Daniel Veillard35925471999-02-25 08:46:07 +00009427></A
9428><H3
9429><A
9430NAME="XMLSETUPPARSERFORBUFFER"
9431></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009432>xmlSetupParserForBuffer ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009433><TABLE
9434BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009435BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009436WIDTH="100%"
9437CELLPADDING="6"
9438><TR
9439><TD
9440><PRE
9441CLASS="PROGRAMLISTING"
9442>void xmlSetupParserForBuffer (<A
9443HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9444>xmlParserCtxtPtr</A
9445> ctxt,
9446 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009447HREF="gnome-xml-tree.html#XMLCHAR"
9448>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00009449> *buffer,
9450 const char *filename);</PRE
9451></TD
9452></TR
9453></TABLE
9454><P
9455>Setup the parser context to parse a new buffer; Clears any prior
9456contents from the parser context. The buffer parameter must not be
9457NULL, but the filename parameter can be</P
9458><P
9459></P
9460><DIV
9461CLASS="INFORMALTABLE"
9462><P
9463></P
9464><TABLE
9465BORDER="0"
9466WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009467BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009468CELLSPACING="0"
9469CELLPADDING="4"
9470CLASS="CALSTABLE"
9471><TR
9472><TD
9473WIDTH="20%"
9474ALIGN="RIGHT"
9475VALIGN="TOP"
9476><TT
9477CLASS="PARAMETER"
9478><I
9479>ctxt</I
9480></TT
9481>&nbsp;:</TD
9482><TD
9483WIDTH="80%"
9484ALIGN="LEFT"
9485VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009486> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009487></TR
9488><TR
9489><TD
9490WIDTH="20%"
9491ALIGN="RIGHT"
9492VALIGN="TOP"
9493><TT
9494CLASS="PARAMETER"
9495><I
9496>buffer</I
9497></TT
9498>&nbsp;:</TD
9499><TD
9500WIDTH="80%"
9501ALIGN="LEFT"
9502VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009503> a xmlChar * buffer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009504></TR
9505><TR
9506><TD
9507WIDTH="20%"
9508ALIGN="RIGHT"
9509VALIGN="TOP"
9510><TT
9511CLASS="PARAMETER"
9512><I
9513>filename</I
9514></TT
9515>&nbsp;:</TD
9516><TD
9517WIDTH="80%"
9518ALIGN="LEFT"
9519VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009520> a file name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009521></TR
9522></TABLE
9523><P
9524></P
9525></DIV
9526></DIV
9527><HR><DIV
9528CLASS="REFSECT2"
9529><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009530NAME="AEN2280"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009531></A
9532><H3
9533><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009534NAME="XMLCREATEDOCPARSERCTXT"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009535></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009536>xmlCreateDocParserCtxt ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009537><TABLE
9538BORDER="0"
9539BGCOLOR="#D6E8FF"
9540WIDTH="100%"
9541CELLPADDING="6"
9542><TR
9543><TD
9544><PRE
9545CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009546><A
9547HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9548>xmlParserCtxtPtr</A
9549> xmlCreateDocParserCtxt (<A
9550HREF="gnome-xml-tree.html#XMLCHAR"
9551>xmlChar</A
9552> *cur);</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009553></TD
9554></TR
9555></TABLE
9556><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009557>Creates a parser context for an XML in-memory document.</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009558><P
9559></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009560><DIV
9561CLASS="INFORMALTABLE"
9562><P
9563></P
9564><TABLE
9565BORDER="0"
9566WIDTH="100%"
9567BGCOLOR="#FFD0D0"
9568CELLSPACING="0"
9569CELLPADDING="4"
9570CLASS="CALSTABLE"
9571><TR
9572><TD
9573WIDTH="20%"
9574ALIGN="RIGHT"
9575VALIGN="TOP"
9576><TT
9577CLASS="PARAMETER"
9578><I
9579>cur</I
9580></TT
9581>&nbsp;:</TD
9582><TD
9583WIDTH="80%"
9584ALIGN="LEFT"
9585VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009586> a pointer to an array of xmlChar</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009587></TR
9588><TR
9589><TD
9590WIDTH="20%"
9591ALIGN="RIGHT"
9592VALIGN="TOP"
9593><I
9594CLASS="EMPHASIS"
9595>Returns</I
9596> :</TD
9597><TD
9598WIDTH="80%"
9599ALIGN="LEFT"
9600VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009601>the new parser context or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009602></TR
9603></TABLE
9604><P
9605></P
9606></DIV
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009607></DIV
9608><HR><DIV
9609CLASS="REFSECT2"
9610><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009611NAME="AEN2301"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009612></A
9613><H3
9614><A
9615NAME="XMLGETFEATURESLIST"
9616></A
9617>xmlGetFeaturesList ()</H3
9618><TABLE
9619BORDER="0"
9620BGCOLOR="#D6E8FF"
9621WIDTH="100%"
9622CELLPADDING="6"
9623><TR
9624><TD
9625><PRE
9626CLASS="PROGRAMLISTING"
9627>int xmlGetFeaturesList (int *len,
9628 const char **result);</PRE
9629></TD
9630></TR
9631></TABLE
9632><P
9633></P
9634><DIV
9635CLASS="INFORMALTABLE"
9636><P
9637></P
9638><TABLE
9639BORDER="0"
9640WIDTH="100%"
9641BGCOLOR="#FFD0D0"
9642CELLSPACING="0"
9643CELLPADDING="4"
9644CLASS="CALSTABLE"
9645><TR
9646><TD
9647WIDTH="20%"
9648ALIGN="RIGHT"
9649VALIGN="TOP"
9650><TT
9651CLASS="PARAMETER"
9652><I
9653>len</I
9654></TT
9655>&nbsp;:</TD
9656><TD
9657WIDTH="80%"
9658ALIGN="LEFT"
9659VALIGN="TOP"
9660>&nbsp;</TD
9661></TR
9662><TR
9663><TD
9664WIDTH="20%"
9665ALIGN="RIGHT"
9666VALIGN="TOP"
9667><TT
9668CLASS="PARAMETER"
9669><I
9670>result</I
9671></TT
9672>&nbsp;:</TD
9673><TD
9674WIDTH="80%"
9675ALIGN="LEFT"
9676VALIGN="TOP"
9677>&nbsp;</TD
9678></TR
9679><TR
9680><TD
9681WIDTH="20%"
9682ALIGN="RIGHT"
9683VALIGN="TOP"
9684><I
9685CLASS="EMPHASIS"
9686>Returns</I
9687> :</TD
9688><TD
9689WIDTH="80%"
9690ALIGN="LEFT"
9691VALIGN="TOP"
9692>&nbsp;</TD
9693></TR
9694></TABLE
9695><P
9696></P
9697></DIV
9698></DIV
9699><HR><DIV
9700CLASS="REFSECT2"
9701><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009702NAME="AEN2323"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009703></A
9704><H3
9705><A
9706NAME="XMLGETFEATURE"
9707></A
9708>xmlGetFeature ()</H3
9709><TABLE
9710BORDER="0"
9711BGCOLOR="#D6E8FF"
9712WIDTH="100%"
9713CELLPADDING="6"
9714><TR
9715><TD
9716><PRE
9717CLASS="PROGRAMLISTING"
9718>int xmlGetFeature (<A
9719HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9720>xmlParserCtxtPtr</A
9721> ctxt,
9722 const char *name,
9723 void *result);</PRE
9724></TD
9725></TR
9726></TABLE
9727><P
9728></P
9729><DIV
9730CLASS="INFORMALTABLE"
9731><P
9732></P
9733><TABLE
9734BORDER="0"
9735WIDTH="100%"
9736BGCOLOR="#FFD0D0"
9737CELLSPACING="0"
9738CELLPADDING="4"
9739CLASS="CALSTABLE"
9740><TR
9741><TD
9742WIDTH="20%"
9743ALIGN="RIGHT"
9744VALIGN="TOP"
9745><TT
9746CLASS="PARAMETER"
9747><I
9748>ctxt</I
9749></TT
9750>&nbsp;:</TD
9751><TD
9752WIDTH="80%"
9753ALIGN="LEFT"
9754VALIGN="TOP"
9755>&nbsp;</TD
9756></TR
9757><TR
9758><TD
9759WIDTH="20%"
9760ALIGN="RIGHT"
9761VALIGN="TOP"
9762><TT
9763CLASS="PARAMETER"
9764><I
9765>name</I
9766></TT
9767>&nbsp;:</TD
9768><TD
9769WIDTH="80%"
9770ALIGN="LEFT"
9771VALIGN="TOP"
9772>&nbsp;</TD
9773></TR
9774><TR
9775><TD
9776WIDTH="20%"
9777ALIGN="RIGHT"
9778VALIGN="TOP"
9779><TT
9780CLASS="PARAMETER"
9781><I
9782>result</I
9783></TT
9784>&nbsp;:</TD
9785><TD
9786WIDTH="80%"
9787ALIGN="LEFT"
9788VALIGN="TOP"
9789>&nbsp;</TD
9790></TR
9791><TR
9792><TD
9793WIDTH="20%"
9794ALIGN="RIGHT"
9795VALIGN="TOP"
9796><I
9797CLASS="EMPHASIS"
9798>Returns</I
9799> :</TD
9800><TD
9801WIDTH="80%"
9802ALIGN="LEFT"
9803VALIGN="TOP"
9804>&nbsp;</TD
9805></TR
9806></TABLE
9807><P
9808></P
9809></DIV
9810></DIV
9811><HR><DIV
9812CLASS="REFSECT2"
9813><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009814NAME="AEN2350"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009815></A
9816><H3
9817><A
9818NAME="XMLSETFEATURE"
9819></A
9820>xmlSetFeature ()</H3
9821><TABLE
9822BORDER="0"
9823BGCOLOR="#D6E8FF"
9824WIDTH="100%"
9825CELLPADDING="6"
9826><TR
9827><TD
9828><PRE
9829CLASS="PROGRAMLISTING"
9830>int xmlSetFeature (<A
9831HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9832>xmlParserCtxtPtr</A
9833> ctxt,
9834 const char *name,
9835 void *value);</PRE
9836></TD
9837></TR
9838></TABLE
9839><P
9840></P
9841><DIV
9842CLASS="INFORMALTABLE"
9843><P
9844></P
9845><TABLE
9846BORDER="0"
9847WIDTH="100%"
9848BGCOLOR="#FFD0D0"
9849CELLSPACING="0"
9850CELLPADDING="4"
9851CLASS="CALSTABLE"
9852><TR
9853><TD
9854WIDTH="20%"
9855ALIGN="RIGHT"
9856VALIGN="TOP"
9857><TT
9858CLASS="PARAMETER"
9859><I
9860>ctxt</I
9861></TT
9862>&nbsp;:</TD
9863><TD
9864WIDTH="80%"
9865ALIGN="LEFT"
9866VALIGN="TOP"
9867>&nbsp;</TD
9868></TR
9869><TR
9870><TD
9871WIDTH="20%"
9872ALIGN="RIGHT"
9873VALIGN="TOP"
9874><TT
9875CLASS="PARAMETER"
9876><I
9877>name</I
9878></TT
9879>&nbsp;:</TD
9880><TD
9881WIDTH="80%"
9882ALIGN="LEFT"
9883VALIGN="TOP"
9884>&nbsp;</TD
9885></TR
9886><TR
9887><TD
9888WIDTH="20%"
9889ALIGN="RIGHT"
9890VALIGN="TOP"
9891><TT
9892CLASS="PARAMETER"
9893><I
9894>value</I
9895></TT
9896>&nbsp;:</TD
9897><TD
9898WIDTH="80%"
9899ALIGN="LEFT"
9900VALIGN="TOP"
9901>&nbsp;</TD
9902></TR
9903><TR
9904><TD
9905WIDTH="20%"
9906ALIGN="RIGHT"
9907VALIGN="TOP"
9908><I
9909CLASS="EMPHASIS"
9910>Returns</I
9911> :</TD
9912><TD
9913WIDTH="80%"
9914ALIGN="LEFT"
9915VALIGN="TOP"
9916>&nbsp;</TD
9917></TR
9918></TABLE
9919><P
9920></P
9921></DIV
9922></DIV
9923><HR><DIV
9924CLASS="REFSECT2"
9925><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009926NAME="AEN2377"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009927></A
9928><H3
9929><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009930NAME="XMLCREATEPUSHPARSERCTXT"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009931></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009932>xmlCreatePushParserCtxt ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009933><TABLE
9934BORDER="0"
9935BGCOLOR="#D6E8FF"
9936WIDTH="100%"
9937CELLPADDING="6"
9938><TR
9939><TD
9940><PRE
9941CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009942><A
9943HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9944>xmlParserCtxtPtr</A
9945> xmlCreatePushParserCtxt (<A
9946HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
9947>xmlSAXHandlerPtr</A
9948> sax,
9949 void *user_data,
9950 const char *chunk,
9951 int size,
9952 const char *filename);</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009953></TD
9954></TR
9955></TABLE
9956><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009957>Create a parser context for using the XML parser in push mode
9958To allow content encoding detection, <TT
9959CLASS="PARAMETER"
9960><I
9961>size</I
9962></TT
9963> should be &gt;= 4
9964The value of <TT
9965CLASS="PARAMETER"
9966><I
9967>filename</I
9968></TT
9969> is used for fetching external entities
9970and error/warning reports.</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009971><P
9972></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009973><DIV
9974CLASS="INFORMALTABLE"
9975><P
9976></P
9977><TABLE
9978BORDER="0"
9979WIDTH="100%"
9980BGCOLOR="#FFD0D0"
9981CELLSPACING="0"
9982CELLPADDING="4"
9983CLASS="CALSTABLE"
9984><TR
9985><TD
9986WIDTH="20%"
9987ALIGN="RIGHT"
9988VALIGN="TOP"
9989><TT
9990CLASS="PARAMETER"
9991><I
9992>sax</I
9993></TT
9994>&nbsp;:</TD
9995><TD
9996WIDTH="80%"
9997ALIGN="LEFT"
9998VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009999> a SAX handler</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010000></TR
10001><TR
10002><TD
10003WIDTH="20%"
10004ALIGN="RIGHT"
10005VALIGN="TOP"
10006><TT
10007CLASS="PARAMETER"
10008><I
10009>user_data</I
10010></TT
10011>&nbsp;:</TD
10012><TD
10013WIDTH="80%"
10014ALIGN="LEFT"
10015VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010016> The user data returned on SAX callbacks</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010017></TR
10018><TR
10019><TD
10020WIDTH="20%"
10021ALIGN="RIGHT"
10022VALIGN="TOP"
10023><TT
10024CLASS="PARAMETER"
10025><I
10026>chunk</I
10027></TT
10028>&nbsp;:</TD
10029><TD
10030WIDTH="80%"
10031ALIGN="LEFT"
10032VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010033> a pointer to an array of chars</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010034></TR
10035><TR
10036><TD
10037WIDTH="20%"
10038ALIGN="RIGHT"
10039VALIGN="TOP"
10040><TT
10041CLASS="PARAMETER"
10042><I
10043>size</I
10044></TT
10045>&nbsp;:</TD
10046><TD
10047WIDTH="80%"
10048ALIGN="LEFT"
10049VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010050> number of chars in the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010051></TR
10052><TR
10053><TD
10054WIDTH="20%"
10055ALIGN="RIGHT"
10056VALIGN="TOP"
10057><TT
10058CLASS="PARAMETER"
10059><I
10060>filename</I
10061></TT
10062>&nbsp;:</TD
10063><TD
10064WIDTH="80%"
10065ALIGN="LEFT"
10066VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010067> an optional file name or URI</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010068></TR
10069><TR
10070><TD
10071WIDTH="20%"
10072ALIGN="RIGHT"
10073VALIGN="TOP"
10074><I
10075CLASS="EMPHASIS"
10076>Returns</I
10077> :</TD
10078><TD
10079WIDTH="80%"
10080ALIGN="LEFT"
10081VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010082>the new parser context or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010083></TR
10084></TABLE
10085><P
10086></P
10087></DIV
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000010088></DIV
10089><HR><DIV
10090CLASS="REFSECT2"
10091><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010092NAME="AEN2416"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010093></A
10094><H3
10095><A
10096NAME="XMLPARSECHUNK"
10097></A
10098>xmlParseChunk ()</H3
10099><TABLE
10100BORDER="0"
10101BGCOLOR="#D6E8FF"
10102WIDTH="100%"
10103CELLPADDING="6"
10104><TR
10105><TD
10106><PRE
10107CLASS="PROGRAMLISTING"
10108>int xmlParseChunk (<A
10109HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
10110>xmlParserCtxtPtr</A
10111> ctxt,
10112 const char *chunk,
10113 int size,
10114 int terminate);</PRE
10115></TD
10116></TR
10117></TABLE
10118><P
10119>Parse a Chunk of memory</P
10120><P
10121></P
10122><DIV
10123CLASS="INFORMALTABLE"
10124><P
10125></P
10126><TABLE
10127BORDER="0"
10128WIDTH="100%"
10129BGCOLOR="#FFD0D0"
10130CELLSPACING="0"
10131CELLPADDING="4"
10132CLASS="CALSTABLE"
10133><TR
10134><TD
10135WIDTH="20%"
10136ALIGN="RIGHT"
10137VALIGN="TOP"
10138><TT
10139CLASS="PARAMETER"
10140><I
10141>ctxt</I
10142></TT
10143>&nbsp;:</TD
10144><TD
10145WIDTH="80%"
10146ALIGN="LEFT"
10147VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010148> an XML parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010149></TR
10150><TR
10151><TD
10152WIDTH="20%"
10153ALIGN="RIGHT"
10154VALIGN="TOP"
10155><TT
10156CLASS="PARAMETER"
10157><I
10158>chunk</I
10159></TT
10160>&nbsp;:</TD
10161><TD
10162WIDTH="80%"
10163ALIGN="LEFT"
10164VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010165> an char array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010166></TR
10167><TR
10168><TD
10169WIDTH="20%"
10170ALIGN="RIGHT"
10171VALIGN="TOP"
10172><TT
10173CLASS="PARAMETER"
10174><I
10175>size</I
10176></TT
10177>&nbsp;:</TD
10178><TD
10179WIDTH="80%"
10180ALIGN="LEFT"
10181VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010182> the size in byte of the chunk</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010183></TR
10184><TR
10185><TD
10186WIDTH="20%"
10187ALIGN="RIGHT"
10188VALIGN="TOP"
10189><TT
10190CLASS="PARAMETER"
10191><I
10192>terminate</I
10193></TT
10194>&nbsp;:</TD
10195><TD
10196WIDTH="80%"
10197ALIGN="LEFT"
10198VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010199> last chunk indicator</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010200></TR
10201><TR
10202><TD
10203WIDTH="20%"
10204ALIGN="RIGHT"
10205VALIGN="TOP"
10206><I
10207CLASS="EMPHASIS"
10208>Returns</I
10209> :</TD
10210><TD
10211WIDTH="80%"
10212ALIGN="LEFT"
10213VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010214>zero if no error, the xmlParserErrors otherwise.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010215></TR
10216></TABLE
10217><P
10218></P
10219></DIV
10220></DIV
10221><HR><DIV
10222CLASS="REFSECT2"
10223><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010224NAME="AEN2448"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010225></A
10226><H3
10227><A
10228NAME="XMLCREATEIOPARSERCTXT"
10229></A
10230>xmlCreateIOParserCtxt ()</H3
10231><TABLE
10232BORDER="0"
10233BGCOLOR="#D6E8FF"
10234WIDTH="100%"
10235CELLPADDING="6"
10236><TR
10237><TD
10238><PRE
10239CLASS="PROGRAMLISTING"
10240><A
10241HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
10242>xmlParserCtxtPtr</A
10243> xmlCreateIOParserCtxt (<A
10244HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
10245>xmlSAXHandlerPtr</A
10246> sax,
10247 void *user_data,
10248 <A
10249HREF="gnome-xml-xmlio.html#XMLINPUTREADCALLBACK"
10250>xmlInputReadCallback</A
10251> ioread,
10252 <A
10253HREF="gnome-xml-xmlio.html#XMLINPUTCLOSECALLBACK"
10254>xmlInputCloseCallback</A
10255> ioclose,
10256 void *ioctx,
10257 <A
10258HREF="gnome-xml-encoding.html#XMLCHARENCODING"
10259>xmlCharEncoding</A
10260> enc);</PRE
10261></TD
10262></TR
10263></TABLE
10264><P
10265>Create a parser context for using the XML parser with an existing
10266I/O stream</P
10267><P
10268></P
10269><DIV
10270CLASS="INFORMALTABLE"
10271><P
10272></P
10273><TABLE
10274BORDER="0"
10275WIDTH="100%"
10276BGCOLOR="#FFD0D0"
10277CELLSPACING="0"
10278CELLPADDING="4"
10279CLASS="CALSTABLE"
10280><TR
10281><TD
10282WIDTH="20%"
10283ALIGN="RIGHT"
10284VALIGN="TOP"
10285><TT
10286CLASS="PARAMETER"
10287><I
10288>sax</I
10289></TT
10290>&nbsp;:</TD
10291><TD
10292WIDTH="80%"
10293ALIGN="LEFT"
10294VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010295> a SAX handler</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010296></TR
10297><TR
10298><TD
10299WIDTH="20%"
10300ALIGN="RIGHT"
10301VALIGN="TOP"
10302><TT
10303CLASS="PARAMETER"
10304><I
10305>user_data</I
10306></TT
10307>&nbsp;:</TD
10308><TD
10309WIDTH="80%"
10310ALIGN="LEFT"
10311VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010312> The user data returned on SAX callbacks</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010313></TR
10314><TR
10315><TD
10316WIDTH="20%"
10317ALIGN="RIGHT"
10318VALIGN="TOP"
10319><TT
10320CLASS="PARAMETER"
10321><I
10322>ioread</I
10323></TT
10324>&nbsp;:</TD
10325><TD
10326WIDTH="80%"
10327ALIGN="LEFT"
10328VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010329> an I/O read function</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010330></TR
10331><TR
10332><TD
10333WIDTH="20%"
10334ALIGN="RIGHT"
10335VALIGN="TOP"
10336><TT
10337CLASS="PARAMETER"
10338><I
10339>ioclose</I
10340></TT
10341>&nbsp;:</TD
10342><TD
10343WIDTH="80%"
10344ALIGN="LEFT"
10345VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010346> an I/O close function</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010347></TR
10348><TR
10349><TD
10350WIDTH="20%"
10351ALIGN="RIGHT"
10352VALIGN="TOP"
10353><TT
10354CLASS="PARAMETER"
10355><I
10356>ioctx</I
10357></TT
10358>&nbsp;:</TD
10359><TD
10360WIDTH="80%"
10361ALIGN="LEFT"
10362VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010363> an I/O handler</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010364></TR
10365><TR
10366><TD
10367WIDTH="20%"
10368ALIGN="RIGHT"
10369VALIGN="TOP"
10370><TT
10371CLASS="PARAMETER"
10372><I
10373>enc</I
10374></TT
10375>&nbsp;:</TD
10376><TD
10377WIDTH="80%"
10378ALIGN="LEFT"
10379VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010380> the charset encoding if known</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010381></TR
10382><TR
10383><TD
10384WIDTH="20%"
10385ALIGN="RIGHT"
10386VALIGN="TOP"
10387><I
10388CLASS="EMPHASIS"
10389>Returns</I
10390> :</TD
10391><TD
10392WIDTH="80%"
10393ALIGN="LEFT"
10394VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010395>the new parser context or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010396></TR
10397></TABLE
10398><P
10399></P
10400></DIV
10401></DIV
10402><HR><DIV
10403CLASS="REFSECT2"
10404><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010405NAME="AEN2492"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010406></A
10407><H3
10408><A
10409NAME="XMLNEWIOINPUTSTREAM"
10410></A
10411>xmlNewIOInputStream ()</H3
10412><TABLE
10413BORDER="0"
10414BGCOLOR="#D6E8FF"
10415WIDTH="100%"
10416CELLPADDING="6"
10417><TR
10418><TD
10419><PRE
10420CLASS="PROGRAMLISTING"
10421><A
10422HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
10423>xmlParserInputPtr</A
10424> xmlNewIOInputStream (<A
10425HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
10426>xmlParserCtxtPtr</A
10427> ctxt,
10428 <A
10429HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR"
10430>xmlParserInputBufferPtr</A
10431> input,
10432 <A
10433HREF="gnome-xml-encoding.html#XMLCHARENCODING"
10434>xmlCharEncoding</A
10435> enc);</PRE
10436></TD
10437></TR
10438></TABLE
10439><P
10440>Create a new input stream structure encapsulating the <TT
10441CLASS="PARAMETER"
10442><I
10443>input</I
10444></TT
10445> into
10446a stream suitable for the parser.</P
10447><P
10448></P
10449><DIV
10450CLASS="INFORMALTABLE"
10451><P
10452></P
10453><TABLE
10454BORDER="0"
10455WIDTH="100%"
10456BGCOLOR="#FFD0D0"
10457CELLSPACING="0"
10458CELLPADDING="4"
10459CLASS="CALSTABLE"
10460><TR
10461><TD
10462WIDTH="20%"
10463ALIGN="RIGHT"
10464VALIGN="TOP"
10465><TT
10466CLASS="PARAMETER"
10467><I
10468>ctxt</I
10469></TT
10470>&nbsp;:</TD
10471><TD
10472WIDTH="80%"
10473ALIGN="LEFT"
10474VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010475> an XML parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010476></TR
10477><TR
10478><TD
10479WIDTH="20%"
10480ALIGN="RIGHT"
10481VALIGN="TOP"
10482><TT
10483CLASS="PARAMETER"
10484><I
10485>input</I
10486></TT
10487>&nbsp;:</TD
10488><TD
10489WIDTH="80%"
10490ALIGN="LEFT"
10491VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010492> an I/O Input</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010493></TR
10494><TR
10495><TD
10496WIDTH="20%"
10497ALIGN="RIGHT"
10498VALIGN="TOP"
10499><TT
10500CLASS="PARAMETER"
10501><I
10502>enc</I
10503></TT
10504>&nbsp;:</TD
10505><TD
10506WIDTH="80%"
10507ALIGN="LEFT"
10508VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010509> the charset encoding if known</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010510></TR
10511><TR
10512><TD
10513WIDTH="20%"
10514ALIGN="RIGHT"
10515VALIGN="TOP"
10516><I
10517CLASS="EMPHASIS"
10518>Returns</I
10519> :</TD
10520><TD
10521WIDTH="80%"
10522ALIGN="LEFT"
10523VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010524>the new input stream or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010525></TR
10526></TABLE
10527><P
10528></P
10529></DIV
10530></DIV
10531><HR><DIV
10532CLASS="REFSECT2"
10533><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010534NAME="AEN2524"
Daniel Veillard35925471999-02-25 08:46:07 +000010535></A
10536><H3
10537><A
10538NAME="XMLPARSERFINDNODEINFO"
10539></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010540>xmlParserFindNodeInfo ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010541><TABLE
10542BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010543BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010544WIDTH="100%"
10545CELLPADDING="6"
10546><TR
10547><TD
10548><PRE
10549CLASS="PROGRAMLISTING"
10550>const <A
10551HREF="gnome-xml-parser.html#XMLPARSERNODEINFO"
10552>xmlParserNodeInfo</A
10553>* xmlParserFindNodeInfo
10554 (const <A
10555HREF="gnome-xml-parser.html#XMLPARSERCTXT"
10556>xmlParserCtxt</A
10557> *ctxt,
10558 const <A
10559HREF="gnome-xml-tree.html#XMLNODE"
10560>xmlNode</A
10561> *node);</PRE
10562></TD
10563></TR
10564></TABLE
10565><P
10566>Find the parser node info struct for a given node</P
10567><P
10568></P
10569><DIV
10570CLASS="INFORMALTABLE"
10571><P
10572></P
10573><TABLE
10574BORDER="0"
10575WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010576BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010577CELLSPACING="0"
10578CELLPADDING="4"
10579CLASS="CALSTABLE"
10580><TR
10581><TD
10582WIDTH="20%"
10583ALIGN="RIGHT"
10584VALIGN="TOP"
10585><TT
10586CLASS="PARAMETER"
10587><I
10588>ctxt</I
10589></TT
10590>&nbsp;:</TD
10591><TD
10592WIDTH="80%"
10593ALIGN="LEFT"
10594VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010595> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010596></TR
10597><TR
10598><TD
10599WIDTH="20%"
10600ALIGN="RIGHT"
10601VALIGN="TOP"
10602><TT
10603CLASS="PARAMETER"
10604><I
10605>node</I
10606></TT
10607>&nbsp;:</TD
10608><TD
10609WIDTH="80%"
10610ALIGN="LEFT"
10611VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010612> an XML node within the tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010613></TR
10614><TR
10615><TD
10616WIDTH="20%"
10617ALIGN="RIGHT"
10618VALIGN="TOP"
10619><I
10620CLASS="EMPHASIS"
10621>Returns</I
10622> :</TD
10623><TD
10624WIDTH="80%"
10625ALIGN="LEFT"
10626VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010627>an xmlParserNodeInfo block pointer or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010628></TR
10629></TABLE
10630><P
10631></P
10632></DIV
10633></DIV
10634><HR><DIV
10635CLASS="REFSECT2"
10636><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010637NAME="AEN2550"
Daniel Veillard35925471999-02-25 08:46:07 +000010638></A
10639><H3
10640><A
10641NAME="XMLINITNODEINFOSEQ"
10642></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010643>xmlInitNodeInfoSeq ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010644><TABLE
10645BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010646BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010647WIDTH="100%"
10648CELLPADDING="6"
10649><TR
10650><TD
10651><PRE
10652CLASS="PROGRAMLISTING"
10653>void xmlInitNodeInfoSeq (<A
10654HREF="gnome-xml-parser.html#XMLPARSERNODEINFOSEQPTR"
10655>xmlParserNodeInfoSeqPtr</A
10656> seq);</PRE
10657></TD
10658></TR
10659></TABLE
10660><P
10661>-- Initialize (set to initial state) node info sequence</P
10662><P
10663></P
10664><DIV
10665CLASS="INFORMALTABLE"
10666><P
10667></P
10668><TABLE
10669BORDER="0"
10670WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010671BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010672CELLSPACING="0"
10673CELLPADDING="4"
10674CLASS="CALSTABLE"
10675><TR
10676><TD
10677WIDTH="20%"
10678ALIGN="RIGHT"
10679VALIGN="TOP"
10680><TT
10681CLASS="PARAMETER"
10682><I
10683>seq</I
10684></TT
10685>&nbsp;:</TD
10686><TD
10687WIDTH="80%"
10688ALIGN="LEFT"
10689VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010690> a node info sequence pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010691></TR
10692></TABLE
10693><P
10694></P
10695></DIV
10696></DIV
10697><HR><DIV
10698CLASS="REFSECT2"
10699><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010700NAME="AEN2566"
Daniel Veillard35925471999-02-25 08:46:07 +000010701></A
10702><H3
10703><A
10704NAME="XMLCLEARNODEINFOSEQ"
10705></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010706>xmlClearNodeInfoSeq ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010707><TABLE
10708BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010709BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010710WIDTH="100%"
10711CELLPADDING="6"
10712><TR
10713><TD
10714><PRE
10715CLASS="PROGRAMLISTING"
10716>void xmlClearNodeInfoSeq (<A
10717HREF="gnome-xml-parser.html#XMLPARSERNODEINFOSEQPTR"
10718>xmlParserNodeInfoSeqPtr</A
10719> seq);</PRE
10720></TD
10721></TR
10722></TABLE
10723><P
10724>-- Clear (release memory and reinitialize) node
10725info sequence</P
10726><P
10727></P
10728><DIV
10729CLASS="INFORMALTABLE"
10730><P
10731></P
10732><TABLE
10733BORDER="0"
10734WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010735BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010736CELLSPACING="0"
10737CELLPADDING="4"
10738CLASS="CALSTABLE"
10739><TR
10740><TD
10741WIDTH="20%"
10742ALIGN="RIGHT"
10743VALIGN="TOP"
10744><TT
10745CLASS="PARAMETER"
10746><I
10747>seq</I
10748></TT
10749>&nbsp;:</TD
10750><TD
10751WIDTH="80%"
10752ALIGN="LEFT"
10753VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010754> a node info sequence pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010755></TR
10756></TABLE
10757><P
10758></P
10759></DIV
10760></DIV
10761><HR><DIV
10762CLASS="REFSECT2"
10763><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010764NAME="AEN2582"
Daniel Veillard35925471999-02-25 08:46:07 +000010765></A
10766><H3
10767><A
10768NAME="XMLPARSERFINDNODEINFOINDEX"
10769></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010770>xmlParserFindNodeInfoIndex ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010771><TABLE
10772BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010773BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010774WIDTH="100%"
10775CELLPADDING="6"
10776><TR
10777><TD
10778><PRE
10779CLASS="PROGRAMLISTING"
10780>unsigned <GTKDOCLINK
10781HREF="LONG"
10782>long</GTKDOCLINK
10783> xmlParserFindNodeInfoIndex (const <A
10784HREF="gnome-xml-parser.html#XMLPARSERNODEINFOSEQ"
10785>xmlParserNodeInfoSeq</A
10786> *seq,
10787 const <A
10788HREF="gnome-xml-tree.html#XMLNODE"
10789>xmlNode</A
10790> *node);</PRE
10791></TD
10792></TR
10793></TABLE
10794><P
10795>xmlParserFindNodeInfoIndex : Find the index that the info record for
10796the given node is or should be at in a sorted sequence</P
10797><P
10798></P
10799><DIV
10800CLASS="INFORMALTABLE"
10801><P
10802></P
10803><TABLE
10804BORDER="0"
10805WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010806BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010807CELLSPACING="0"
10808CELLPADDING="4"
10809CLASS="CALSTABLE"
10810><TR
10811><TD
10812WIDTH="20%"
10813ALIGN="RIGHT"
10814VALIGN="TOP"
10815><TT
10816CLASS="PARAMETER"
10817><I
10818>seq</I
10819></TT
10820>&nbsp;:</TD
10821><TD
10822WIDTH="80%"
10823ALIGN="LEFT"
10824VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010825> a node info sequence pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010826></TR
10827><TR
10828><TD
10829WIDTH="20%"
10830ALIGN="RIGHT"
10831VALIGN="TOP"
10832><TT
10833CLASS="PARAMETER"
10834><I
10835>node</I
10836></TT
10837>&nbsp;:</TD
10838><TD
10839WIDTH="80%"
10840ALIGN="LEFT"
10841VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010842> an XML node pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010843></TR
10844><TR
10845><TD
10846WIDTH="20%"
10847ALIGN="RIGHT"
10848VALIGN="TOP"
10849><I
10850CLASS="EMPHASIS"
10851>Returns</I
10852> :</TD
10853><TD
10854WIDTH="80%"
10855ALIGN="LEFT"
10856VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010857>a long indicating the position of the record</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010858></TR
10859></TABLE
10860><P
10861></P
10862></DIV
10863></DIV
10864><HR><DIV
10865CLASS="REFSECT2"
10866><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010867NAME="AEN2608"
Daniel Veillard35925471999-02-25 08:46:07 +000010868></A
10869><H3
10870><A
10871NAME="XMLPARSERADDNODEINFO"
10872></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010873>xmlParserAddNodeInfo ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010874><TABLE
10875BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010876BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010877WIDTH="100%"
10878CELLPADDING="6"
10879><TR
10880><TD
10881><PRE
10882CLASS="PROGRAMLISTING"
10883>void xmlParserAddNodeInfo (<A
10884HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
10885>xmlParserCtxtPtr</A
10886> ctxt,
10887 const <A
10888HREF="gnome-xml-parser.html#XMLPARSERNODEINFO"
10889>xmlParserNodeInfo</A
10890> *info);</PRE
10891></TD
10892></TR
10893></TABLE
10894><P
10895>Insert node info record into the sorted sequence</P
10896><P
10897></P
10898><DIV
10899CLASS="INFORMALTABLE"
10900><P
10901></P
10902><TABLE
10903BORDER="0"
10904WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010905BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010906CELLSPACING="0"
10907CELLPADDING="4"
10908CLASS="CALSTABLE"
10909><TR
10910><TD
10911WIDTH="20%"
10912ALIGN="RIGHT"
10913VALIGN="TOP"
10914><TT
10915CLASS="PARAMETER"
10916><I
10917>ctxt</I
10918></TT
10919>&nbsp;:</TD
10920><TD
10921WIDTH="80%"
10922ALIGN="LEFT"
10923VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010924> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010925></TR
10926><TR
10927><TD
10928WIDTH="20%"
10929ALIGN="RIGHT"
10930VALIGN="TOP"
10931><TT
10932CLASS="PARAMETER"
10933><I
10934>info</I
10935></TT
10936>&nbsp;:</TD
10937><TD
10938WIDTH="80%"
10939ALIGN="LEFT"
10940VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010941> a node info sequence pointer</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000010942></TR
10943></TABLE
10944><P
10945></P
10946></DIV
10947></DIV
10948><HR><DIV
10949CLASS="REFSECT2"
10950><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010951NAME="AEN2629"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000010952></A
10953><H3
10954><A
10955NAME="XMLSETEXTERNALENTITYLOADER"
10956></A
10957>xmlSetExternalEntityLoader ()</H3
10958><TABLE
10959BORDER="0"
10960BGCOLOR="#D6E8FF"
10961WIDTH="100%"
10962CELLPADDING="6"
10963><TR
10964><TD
10965><PRE
10966CLASS="PROGRAMLISTING"
10967>void xmlSetExternalEntityLoader (<A
10968HREF="gnome-xml-parser.html#XMLEXTERNALENTITYLOADER"
10969>xmlExternalEntityLoader</A
10970> f);</PRE
10971></TD
10972></TR
10973></TABLE
10974><P
10975></P
10976><DIV
10977CLASS="INFORMALTABLE"
10978><P
10979></P
10980><TABLE
10981BORDER="0"
10982WIDTH="100%"
10983BGCOLOR="#FFD0D0"
10984CELLSPACING="0"
10985CELLPADDING="4"
10986CLASS="CALSTABLE"
10987><TR
10988><TD
10989WIDTH="20%"
10990ALIGN="RIGHT"
10991VALIGN="TOP"
10992><TT
10993CLASS="PARAMETER"
10994><I
10995>f</I
10996></TT
10997>&nbsp;:</TD
10998><TD
10999WIDTH="80%"
11000ALIGN="LEFT"
11001VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +000011002>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011003></TR
11004></TABLE
11005><P
11006></P
11007></DIV
11008></DIV
11009><HR><DIV
11010CLASS="REFSECT2"
11011><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011012NAME="AEN2644"
Daniel Veillard35925471999-02-25 08:46:07 +000011013></A
11014><H3
11015><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011016NAME="XMLGETEXTERNALENTITYLOADER"
Daniel Veillard35925471999-02-25 08:46:07 +000011017></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011018>xmlGetExternalEntityLoader ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011019><TABLE
11020BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011021BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011022WIDTH="100%"
11023CELLPADDING="6"
11024><TR
11025><TD
11026><PRE
11027CLASS="PROGRAMLISTING"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011028><A
11029HREF="gnome-xml-parser.html#XMLEXTERNALENTITYLOADER"
11030>xmlExternalEntityLoader</A
11031> xmlGetExternalEntityLoader
11032 (void);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +000011033></TD
11034></TR
11035></TABLE
11036><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011037></P
11038><DIV
11039CLASS="INFORMALTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +000011040><P
11041></P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011042><TABLE
11043BORDER="0"
11044WIDTH="100%"
11045BGCOLOR="#FFD0D0"
11046CELLSPACING="0"
11047CELLPADDING="4"
11048CLASS="CALSTABLE"
11049><TR
11050><TD
11051WIDTH="20%"
11052ALIGN="RIGHT"
11053VALIGN="TOP"
11054><I
11055CLASS="EMPHASIS"
11056>Returns</I
11057> :</TD
11058><TD
11059WIDTH="80%"
11060ALIGN="LEFT"
11061VALIGN="TOP"
11062>&nbsp;</TD
11063></TR
11064></TABLE
11065><P
11066></P
11067></DIV
Daniel Veillard35925471999-02-25 08:46:07 +000011068></DIV
Daniel Veillard1566d3a1999-07-15 14:24:29 +000011069><HR><DIV
11070CLASS="REFSECT2"
11071><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011072NAME="AEN2659"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000011073></A
11074><H3
11075><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011076NAME="XMLLOADEXTERNALENTITY"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000011077></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011078>xmlLoadExternalEntity ()</H3
Daniel Veillard1566d3a1999-07-15 14:24:29 +000011079><TABLE
11080BORDER="0"
11081BGCOLOR="#D6E8FF"
11082WIDTH="100%"
11083CELLPADDING="6"
11084><TR
11085><TD
11086><PRE
11087CLASS="PROGRAMLISTING"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011088><A
11089HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
11090>xmlParserInputPtr</A
11091> xmlLoadExternalEntity (const char *URL,
11092 const char *ID,
11093 <A
Daniel Veillard437b87b2000-01-03 17:30:46 +000011094HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
11095>xmlParserCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011096> context);</PRE
Daniel Veillard1566d3a1999-07-15 14:24:29 +000011097></TD
11098></TR
11099></TABLE
11100><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011101></P
11102><DIV
11103CLASS="INFORMALTABLE"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000011104><P
11105></P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011106><TABLE
11107BORDER="0"
11108WIDTH="100%"
11109BGCOLOR="#FFD0D0"
11110CELLSPACING="0"
11111CELLPADDING="4"
11112CLASS="CALSTABLE"
11113><TR
11114><TD
11115WIDTH="20%"
11116ALIGN="RIGHT"
11117VALIGN="TOP"
11118><TT
11119CLASS="PARAMETER"
11120><I
11121>URL</I
11122></TT
11123>&nbsp;:</TD
11124><TD
11125WIDTH="80%"
11126ALIGN="LEFT"
11127VALIGN="TOP"
11128>&nbsp;</TD
11129></TR
11130><TR
11131><TD
11132WIDTH="20%"
11133ALIGN="RIGHT"
11134VALIGN="TOP"
11135><TT
11136CLASS="PARAMETER"
11137><I
11138>ID</I
11139></TT
11140>&nbsp;:</TD
11141><TD
11142WIDTH="80%"
11143ALIGN="LEFT"
11144VALIGN="TOP"
11145>&nbsp;</TD
11146></TR
11147><TR
11148><TD
11149WIDTH="20%"
11150ALIGN="RIGHT"
11151VALIGN="TOP"
11152><TT
11153CLASS="PARAMETER"
11154><I
11155>context</I
11156></TT
11157>&nbsp;:</TD
11158><TD
11159WIDTH="80%"
11160ALIGN="LEFT"
11161VALIGN="TOP"
11162>&nbsp;</TD
11163></TR
11164><TR
11165><TD
11166WIDTH="20%"
11167ALIGN="RIGHT"
11168VALIGN="TOP"
11169><I
11170CLASS="EMPHASIS"
11171>Returns</I
11172> :</TD
11173><TD
11174WIDTH="80%"
11175ALIGN="LEFT"
11176VALIGN="TOP"
11177>&nbsp;</TD
11178></TR
11179></TABLE
11180><P
11181></P
11182></DIV
Daniel Veillard1566d3a1999-07-15 14:24:29 +000011183></DIV
Daniel Veillard35925471999-02-25 08:46:07 +000011184></DIV
11185><DIV
11186CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +000011187><BR
11188CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +000011189WIDTH="100%"
11190BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011191BGCOLOR="#000000"
11192CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000011193CELLSPACING="0"
11194><TR
11195><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000011196WIDTH="25%"
11197BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000011198ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000011199><A
Daniel Veillard35008381999-10-25 13:15:52 +000011200HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000011201><FONT
11202COLOR="#FFFFFF"
11203SIZE="3"
11204><B
11205>&#60;&#60;&#60; Previous Page</B
11206></FONT
11207></A
Daniel Veillard35925471999-02-25 08:46:07 +000011208></TD
11209><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000011210WIDTH="25%"
11211BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000011212ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000011213><FONT
11214COLOR="#FFFFFF"
11215SIZE="3"
11216><B
Daniel Veillard35925471999-02-25 08:46:07 +000011217><A
11218HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000011219><FONT
11220COLOR="#FFFFFF"
11221SIZE="3"
11222><B
11223>Home</B
11224></FONT
11225></A
11226></B
11227></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000011228></TD
11229><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000011230WIDTH="25%"
11231BGCOLOR="#00C000"
11232ALIGN="center"
11233><FONT
11234COLOR="#FFFFFF"
11235SIZE="3"
11236><B
11237><A
Daniel Veillard35008381999-10-25 13:15:52 +000011238HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000011239><FONT
11240COLOR="#FFFFFF"
11241SIZE="3"
11242><B
11243>Up</B
11244></FONT
11245></A
11246></B
11247></FONT
11248></TD
11249><TD
11250WIDTH="25%"
11251BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000011252ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +000011253><A
Daniel Veillard294cbca1999-12-03 13:19:09 +000011254HREF="gnome-xml-sax.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000011255><FONT
11256COLOR="#FFFFFF"
11257SIZE="3"
11258><B
11259>Next Page &#62;&#62;&#62;</B
11260></FONT
11261></A
Daniel Veillard35925471999-02-25 08:46:07 +000011262></TD
11263></TR
11264><TR
11265><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000011266COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +000011267ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +000011268><FONT
11269COLOR="#FFFFFF"
11270SIZE="3"
11271><B
Daniel Veillard35008381999-10-25 13:15:52 +000011272>Libxml Library Reference</B
Daniel Veillard14fff061999-06-22 21:49:07 +000011273></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000011274></TD
11275><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000011276COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +000011277ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +000011278><FONT
11279COLOR="#FFFFFF"
11280SIZE="3"
11281><B
Daniel Veillard294cbca1999-12-03 13:19:09 +000011282>SAX</B
Daniel Veillard14fff061999-06-22 21:49:07 +000011283></FONT
11284></TD
Daniel Veillard35925471999-02-25 08:46:07 +000011285></TR
11286></TABLE
11287></DIV
11288></BODY
11289></HTML
11290>