blob: 15243b37dae0472dd8c5e87cd79972aa2f993914 [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 Veillarda4964b72000-10-31 18:23:44 +0000923<A
924HREF="gnome-xml-tree.html#XMLDTDPTR"
925>xmlDtdPtr</A
926> <A
927HREF="gnome-xml-parser.html#XMLIOPARSEDTD"
928>xmlIOParseDTD</A
929> (<A
930HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
931>xmlSAXHandlerPtr</A
932> sax,
933 <A
934HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR"
935>xmlParserInputBufferPtr</A
936> input,
937 <A
938HREF="gnome-xml-encoding.html#XMLCHARENCODING"
939>xmlCharEncoding</A
940> enc);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000941int <A
942HREF="gnome-xml-parser.html#XMLPARSEBALANCEDCHUNKMEMORY"
943>xmlParseBalancedChunkMemory</A
944> (<A
945HREF="gnome-xml-tree.html#XMLDOCPTR"
946>xmlDocPtr</A
947> doc,
948 <A
949HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
950>xmlSAXHandlerPtr</A
951> sax,
952 void *user_data,
953 int depth,
954 const <A
955HREF="gnome-xml-tree.html#XMLCHAR"
956>xmlChar</A
957> *string,
958 <A
959HREF="gnome-xml-tree.html#XMLNODEPTR"
960>xmlNodePtr</A
961> *list);
962int <A
963HREF="gnome-xml-parser.html#XMLPARSEEXTERNALENTITY"
964>xmlParseExternalEntity</A
965> (<A
966HREF="gnome-xml-tree.html#XMLDOCPTR"
967>xmlDocPtr</A
968> doc,
969 <A
970HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
971>xmlSAXHandlerPtr</A
972> sax,
973 void *user_data,
974 int depth,
975 const <A
976HREF="gnome-xml-tree.html#XMLCHAR"
977>xmlChar</A
978> *URL,
979 const <A
980HREF="gnome-xml-tree.html#XMLCHAR"
981>xmlChar</A
982> *ID,
983 <A
984HREF="gnome-xml-tree.html#XMLNODEPTR"
985>xmlNodePtr</A
986> *list);
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000987int <A
988HREF="gnome-xml-parser.html#XMLPARSECTXTEXTERNALENTITY"
989>xmlParseCtxtExternalEntity</A
990> (<A
991HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
992>xmlParserCtxtPtr</A
993> ctx,
994 const <A
995HREF="gnome-xml-tree.html#XMLCHAR"
996>xmlChar</A
997> *URL,
998 const <A
999HREF="gnome-xml-tree.html#XMLCHAR"
1000>xmlChar</A
1001> *ID,
1002 <A
1003HREF="gnome-xml-tree.html#XMLNODEPTR"
1004>xmlNodePtr</A
1005> *list);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001006void <A
1007HREF="gnome-xml-parser.html#XMLDEFAULTSAXHANDLERINIT"
1008>xmlDefaultSAXHandlerInit</A
1009> (void);
1010void <A
1011HREF="gnome-xml-parser.html#HTMLDEFAULTSAXHANDLERINIT"
1012>htmlDefaultSAXHandlerInit</A
1013> (void);
Daniel Veillard24491f62000-01-05 14:58:38 +00001014void <A
Daniel Veillard35925471999-02-25 08:46:07 +00001015HREF="gnome-xml-parser.html#XMLINITPARSERCTXT"
1016>xmlInitParserCtxt</A
1017> (<A
1018HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1019>xmlParserCtxtPtr</A
1020> ctxt);
1021void <A
1022HREF="gnome-xml-parser.html#XMLCLEARPARSERCTXT"
1023>xmlClearParserCtxt</A
1024> (<A
1025HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1026>xmlParserCtxtPtr</A
1027> ctxt);
1028void <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001029HREF="gnome-xml-parser.html#XMLFREEPARSERCTXT"
1030>xmlFreeParserCtxt</A
1031> (<A
1032HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1033>xmlParserCtxtPtr</A
1034> ctxt);
1035void <A
Daniel Veillard35925471999-02-25 08:46:07 +00001036HREF="gnome-xml-parser.html#XMLSETUPPARSERFORBUFFER"
1037>xmlSetupParserForBuffer</A
1038> (<A
1039HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1040>xmlParserCtxtPtr</A
1041> ctxt,
1042 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001043HREF="gnome-xml-tree.html#XMLCHAR"
1044>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001045> *buffer,
1046 const char *filename);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001047<A
1048HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1049>xmlParserCtxtPtr</A
1050> <A
1051HREF="gnome-xml-parser.html#XMLCREATEDOCPARSERCTXT"
1052>xmlCreateDocParserCtxt</A
1053> (<A
1054HREF="gnome-xml-tree.html#XMLCHAR"
1055>xmlChar</A
1056> *cur);
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001057int <A
1058HREF="gnome-xml-parser.html#XMLGETFEATURESLIST"
1059>xmlGetFeaturesList</A
1060> (int *len,
1061 const char **result);
1062int <A
1063HREF="gnome-xml-parser.html#XMLGETFEATURE"
1064>xmlGetFeature</A
1065> (<A
1066HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1067>xmlParserCtxtPtr</A
1068> ctxt,
1069 const char *name,
1070 void *result);
1071int <A
1072HREF="gnome-xml-parser.html#XMLSETFEATURE"
1073>xmlSetFeature</A
1074> (<A
1075HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1076>xmlParserCtxtPtr</A
1077> ctxt,
1078 const char *name,
1079 void *value);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001080<A
1081HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1082>xmlParserCtxtPtr</A
1083> <A
1084HREF="gnome-xml-parser.html#XMLCREATEPUSHPARSERCTXT"
1085>xmlCreatePushParserCtxt</A
1086> (<A
1087HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
1088>xmlSAXHandlerPtr</A
1089> sax,
1090 void *user_data,
1091 const char *chunk,
1092 int size,
1093 const char *filename);
1094int <A
1095HREF="gnome-xml-parser.html#XMLPARSECHUNK"
1096>xmlParseChunk</A
1097> (<A
1098HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1099>xmlParserCtxtPtr</A
1100> ctxt,
1101 const char *chunk,
1102 int size,
1103 int terminate);
1104<A
1105HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1106>xmlParserCtxtPtr</A
1107> <A
1108HREF="gnome-xml-parser.html#XMLCREATEIOPARSERCTXT"
1109>xmlCreateIOParserCtxt</A
1110> (<A
1111HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
1112>xmlSAXHandlerPtr</A
1113> sax,
1114 void *user_data,
1115 <A
1116HREF="gnome-xml-xmlio.html#XMLINPUTREADCALLBACK"
1117>xmlInputReadCallback</A
1118> ioread,
1119 <A
1120HREF="gnome-xml-xmlio.html#XMLINPUTCLOSECALLBACK"
1121>xmlInputCloseCallback</A
1122> ioclose,
1123 void *ioctx,
1124 <A
1125HREF="gnome-xml-encoding.html#XMLCHARENCODING"
1126>xmlCharEncoding</A
1127> enc);
1128<A
1129HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
1130>xmlParserInputPtr</A
1131> <A
1132HREF="gnome-xml-parser.html#XMLNEWIOINPUTSTREAM"
1133>xmlNewIOInputStream</A
1134> (<A
1135HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1136>xmlParserCtxtPtr</A
1137> ctxt,
1138 <A
1139HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR"
1140>xmlParserInputBufferPtr</A
1141> input,
1142 <A
1143HREF="gnome-xml-encoding.html#XMLCHARENCODING"
1144>xmlCharEncoding</A
1145> enc);
Daniel Veillard35925471999-02-25 08:46:07 +00001146const <A
1147HREF="gnome-xml-parser.html#XMLPARSERNODEINFO"
1148>xmlParserNodeInfo</A
1149>* <A
1150HREF="gnome-xml-parser.html#XMLPARSERFINDNODEINFO"
1151>xmlParserFindNodeInfo</A
1152>
1153 (const <A
1154HREF="gnome-xml-parser.html#XMLPARSERCTXT"
1155>xmlParserCtxt</A
1156> *ctxt,
1157 const <A
1158HREF="gnome-xml-tree.html#XMLNODE"
1159>xmlNode</A
1160> *node);
1161void <A
1162HREF="gnome-xml-parser.html#XMLINITNODEINFOSEQ"
1163>xmlInitNodeInfoSeq</A
1164> (<A
1165HREF="gnome-xml-parser.html#XMLPARSERNODEINFOSEQPTR"
1166>xmlParserNodeInfoSeqPtr</A
1167> seq);
1168void <A
1169HREF="gnome-xml-parser.html#XMLCLEARNODEINFOSEQ"
1170>xmlClearNodeInfoSeq</A
1171> (<A
1172HREF="gnome-xml-parser.html#XMLPARSERNODEINFOSEQPTR"
1173>xmlParserNodeInfoSeqPtr</A
1174> seq);
1175unsigned <GTKDOCLINK
1176HREF="LONG"
1177>long</GTKDOCLINK
1178> <A
1179HREF="gnome-xml-parser.html#XMLPARSERFINDNODEINFOINDEX"
1180>xmlParserFindNodeInfoIndex</A
1181> (const <A
1182HREF="gnome-xml-parser.html#XMLPARSERNODEINFOSEQ"
1183>xmlParserNodeInfoSeq</A
1184> *seq,
1185 const <A
1186HREF="gnome-xml-tree.html#XMLNODE"
1187>xmlNode</A
1188> *node);
1189void <A
1190HREF="gnome-xml-parser.html#XMLPARSERADDNODEINFO"
1191>xmlParserAddNodeInfo</A
1192> (<A
1193HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1194>xmlParserCtxtPtr</A
1195> ctxt,
1196 const <A
1197HREF="gnome-xml-parser.html#XMLPARSERNODEINFO"
1198>xmlParserNodeInfo</A
1199> *info);
1200void <A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001201HREF="gnome-xml-parser.html#XMLSETEXTERNALENTITYLOADER"
1202>xmlSetExternalEntityLoader</A
1203> (<A
1204HREF="gnome-xml-parser.html#XMLEXTERNALENTITYLOADER"
1205>xmlExternalEntityLoader</A
1206> f);
1207<A
1208HREF="gnome-xml-parser.html#XMLEXTERNALENTITYLOADER"
1209>xmlExternalEntityLoader</A
1210> <A
1211HREF="gnome-xml-parser.html#XMLGETEXTERNALENTITYLOADER"
1212>xmlGetExternalEntityLoader</A
1213>
1214 (void);
1215<A
1216HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
1217>xmlParserInputPtr</A
1218> <A
1219HREF="gnome-xml-parser.html#XMLLOADEXTERNALENTITY"
1220>xmlLoadExternalEntity</A
1221> (const char *URL,
1222 const char *ID,
1223 <A
Daniel Veillard437b87b2000-01-03 17:30:46 +00001224HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1225>xmlParserCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001226> context);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001227></TD
1228></TR
1229></TABLE
1230></DIV
1231><DIV
1232CLASS="REFSECT1"
1233><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00001234NAME="AEN315"
Daniel Veillard35925471999-02-25 08:46:07 +00001235></A
1236><H2
1237>Description</H2
1238><P
1239></P
1240></DIV
1241><DIV
1242CLASS="REFSECT1"
1243><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00001244NAME="AEN318"
Daniel Veillard35925471999-02-25 08:46:07 +00001245></A
1246><H2
1247>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001248><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001249CLASS="REFSECT2"
1250><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00001251NAME="AEN320"
Daniel Veillard35925471999-02-25 08:46:07 +00001252></A
1253><H3
1254><A
1255NAME="XML-DEFAULT-VERSION"
1256></A
1257>XML_DEFAULT_VERSION</H3
1258><TABLE
1259BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001260BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001261WIDTH="100%"
1262CELLPADDING="6"
1263><TR
1264><TD
1265><PRE
1266CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001267>#define XML_DEFAULT_VERSION "1.0"</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001268></TD
1269></TR
1270></TABLE
1271><P
1272></P
1273></DIV
1274><HR><DIV
1275CLASS="REFSECT2"
1276><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00001277NAME="AEN325"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001278></A
1279><H3
1280><A
1281NAME="XMLPARSERINPUTDEALLOCATE"
1282></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001283>xmlParserInputDeallocate ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001284><TABLE
1285BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001286BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001287WIDTH="100%"
1288CELLPADDING="6"
1289><TR
1290><TD
1291><PRE
1292CLASS="PROGRAMLISTING"
1293>void (*xmlParserInputDeallocate) (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001294HREF="gnome-xml-tree.html#XMLCHAR"
1295>xmlChar</A
Daniel Veillardd692aa41999-02-28 21:54:31 +00001296>*);</PRE
1297></TD
1298></TR
1299></TABLE
1300><P
1301></P
1302><DIV
1303CLASS="INFORMALTABLE"
1304><P
1305></P
1306><TABLE
1307BORDER="0"
1308WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001309BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001310CELLSPACING="0"
1311CELLPADDING="4"
1312CLASS="CALSTABLE"
1313><TR
1314><TD
1315WIDTH="20%"
1316ALIGN="RIGHT"
1317VALIGN="TOP"
1318><TT
1319CLASS="PARAMETER"
1320><I
1321>Param1</I
1322></TT
1323>&nbsp;:</TD
1324><TD
1325WIDTH="80%"
1326ALIGN="LEFT"
1327VALIGN="TOP"
1328>&nbsp;</TD
1329></TR
1330></TABLE
1331><P
1332></P
1333></DIV
1334></DIV
1335><HR><DIV
1336CLASS="REFSECT2"
1337><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00001338NAME="AEN340"
Daniel Veillard24491f62000-01-05 14:58:38 +00001339></A
1340><H3
1341><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001342NAME="XMLPARSERINPUT"
Daniel Veillard24491f62000-01-05 14:58:38 +00001343></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001344>struct xmlParserInput</H3
Daniel Veillard71b656e2000-01-05 14:46:17 +00001345><TABLE
1346BORDER="0"
Daniel Veillard24491f62000-01-05 14:58:38 +00001347BGCOLOR="#D6E8FF"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001348WIDTH="100%"
Daniel Veillard24491f62000-01-05 14:58:38 +00001349CELLPADDING="6"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001350><TR
1351><TD
Daniel Veillard24491f62000-01-05 14:58:38 +00001352><PRE
1353CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001354>struct xmlParserInput {
1355 /* Input buffer */
1356 xmlParserInputBufferPtr buf; /* UTF-8 encoded buffer */
1357
1358 const char *filename; /* The file analyzed, if any */
1359 const char *directory; /* the directory/base of teh file */
1360 const xmlChar *base; /* Base of the array to parse */
1361 const xmlChar *cur; /* Current char being parsed */
1362 int length; /* length if known */
1363 int line; /* Current line */
1364 int col; /* Current column */
1365 int consumed; /* How many xmlChars already consumed */
1366 xmlParserInputDeallocate free; /* function to deallocate the base */
1367 const xmlChar *encoding; /* the encoding string for entity */
1368 const xmlChar *version; /* the version string for entity */
1369 int standalone; /* Was that entity marked standalone */
1370};</PRE
Daniel Veillard24491f62000-01-05 14:58:38 +00001371></TD
Daniel Veillard71b656e2000-01-05 14:46:17 +00001372></TR
1373></TABLE
1374><P
1375></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001376></DIV
1377><HR><DIV
1378CLASS="REFSECT2"
1379><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00001380NAME="AEN345"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001381></A
1382><H3
1383><A
1384NAME="XMLPARSERINPUTPTR"
1385></A
1386>xmlParserInputPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001387><TABLE
1388BORDER="0"
1389BGCOLOR="#D6E8FF"
1390WIDTH="100%"
1391CELLPADDING="6"
1392><TR
1393><TD
1394><PRE
1395CLASS="PROGRAMLISTING"
1396>typedef xmlParserInput *xmlParserInputPtr;</PRE
1397></TD
1398></TR
1399></TABLE
Daniel Veillard06047432000-04-24 11:33:38 +00001400><P
1401></P
1402></DIV
Daniel Veillardb05deb71999-08-10 19:04:08 +00001403><HR><DIV
1404CLASS="REFSECT2"
1405><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00001406NAME="AEN350"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001407></A
1408><H3
1409><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001410NAME="XMLPARSERNODEINFO"
1411></A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001412>struct xmlParserNodeInfo</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001413><TABLE
1414BORDER="0"
1415BGCOLOR="#D6E8FF"
1416WIDTH="100%"
1417CELLPADDING="6"
1418><TR
1419><TD
1420><PRE
1421CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001422>struct xmlParserNodeInfo {
1423 const struct _xmlNode* node;
1424 /* Position &amp; line # that text that created the node begins &amp; ends on */
1425 unsigned long begin_pos;
1426 unsigned long begin_line;
1427 unsigned long end_pos;
1428 unsigned long end_line;
1429};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001430></TD
1431></TR
1432></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001433><P
1434></P
1435></DIV
1436><HR><DIV
1437CLASS="REFSECT2"
1438><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00001439NAME="AEN355"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001440></A
1441><H3
1442><A
1443NAME="XMLPARSERNODEINFOPTR"
1444></A
1445>xmlParserNodeInfoPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001446><TABLE
1447BORDER="0"
1448BGCOLOR="#D6E8FF"
1449WIDTH="100%"
1450CELLPADDING="6"
1451><TR
1452><TD
1453><PRE
1454CLASS="PROGRAMLISTING"
1455>typedef xmlParserNodeInfo *xmlParserNodeInfoPtr;</PRE
1456></TD
1457></TR
1458></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001459><P
1460></P
1461></DIV
1462><HR><DIV
1463CLASS="REFSECT2"
1464><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00001465NAME="AEN360"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001466></A
1467><H3
1468><A
1469NAME="XMLPARSERNODEINFOSEQ"
1470></A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001471>struct xmlParserNodeInfoSeq</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001472><TABLE
1473BORDER="0"
1474BGCOLOR="#D6E8FF"
1475WIDTH="100%"
1476CELLPADDING="6"
1477><TR
1478><TD
1479><PRE
1480CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001481>struct xmlParserNodeInfoSeq {
1482 unsigned long maximum;
1483 unsigned long length;
1484 xmlParserNodeInfo* buffer;
1485};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001486></TD
1487></TR
1488></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001489><P
1490></P
1491></DIV
1492><HR><DIV
1493CLASS="REFSECT2"
1494><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00001495NAME="AEN365"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001496></A
1497><H3
1498><A
1499NAME="XMLPARSERNODEINFOSEQPTR"
1500></A
1501>xmlParserNodeInfoSeqPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001502><TABLE
1503BORDER="0"
1504BGCOLOR="#D6E8FF"
1505WIDTH="100%"
1506CELLPADDING="6"
1507><TR
1508><TD
1509><PRE
1510CLASS="PROGRAMLISTING"
1511>typedef xmlParserNodeInfoSeq *xmlParserNodeInfoSeqPtr;</PRE
1512></TD
1513></TR
1514></TABLE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001515><P
1516></P
1517></DIV
1518><HR><DIV
1519CLASS="REFSECT2"
1520><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00001521NAME="AEN370"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001522></A
1523><H3
1524><A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001525NAME="XMLPARSERINPUTSTATE"
1526></A
1527>enum xmlParserInputState</H3
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001528><TABLE
1529BORDER="0"
1530BGCOLOR="#D6E8FF"
1531WIDTH="100%"
1532CELLPADDING="6"
1533><TR
1534><TD
1535><PRE
1536CLASS="PROGRAMLISTING"
Daniel Veillard00fdf371999-10-08 09:40:39 +00001537>typedef enum {
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001538 XML_PARSER_EOF = -1, /* nothing is to be parsed */
1539 XML_PARSER_START = 0, /* nothing has been parsed */
1540 XML_PARSER_MISC, /* Misc* before int subset */
1541 XML_PARSER_PI, /* Whithin a processing instruction */
1542 XML_PARSER_DTD, /* within some DTD content */
1543 XML_PARSER_PROLOG, /* Misc* after internal subset */
1544 XML_PARSER_COMMENT, /* within a comment */
1545 XML_PARSER_START_TAG, /* within a start tag */
1546 XML_PARSER_CONTENT, /* within the content */
1547 XML_PARSER_CDATA_SECTION, /* within a CDATA section */
1548 XML_PARSER_END_TAG, /* within a closing tag */
1549 XML_PARSER_ENTITY_DECL, /* within an entity declaration */
1550 XML_PARSER_ENTITY_VALUE, /* within an entity value in a decl */
1551 XML_PARSER_ATTRIBUTE_VALUE, /* within an attribute value */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001552 XML_PARSER_SYSTEM_LITERAL, /* within a SYSTEM value */
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001553 XML_PARSER_EPILOG /* the Misc* after the last end tag */
Daniel Veillardb05deb71999-08-10 19:04:08 +00001554} xmlParserInputState;</PRE
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001555></TD
1556></TR
1557></TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00001558><P
1559></P
1560></DIV
1561><HR><DIV
1562CLASS="REFSECT2"
1563><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00001564NAME="AEN375"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001565></A
1566><H3
1567><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001568NAME="XMLPARSERCTXT"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001569></A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001570>struct xmlParserCtxt</H3
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001571><TABLE
1572BORDER="0"
1573BGCOLOR="#D6E8FF"
1574WIDTH="100%"
1575CELLPADDING="6"
1576><TR
1577><TD
1578><PRE
1579CLASS="PROGRAMLISTING"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001580>struct xmlParserCtxt {
1581 struct _xmlSAXHandler *sax; /* The SAX handler */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001582 void *userData; /* For SAX interface only, used by DOM build */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001583 xmlDocPtr myDoc; /* the document being built */
1584 int wellFormed; /* is the document well formed */
1585 int replaceEntities; /* shall we replace entities ? */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001586 const xmlChar *version; /* the XML version string */
1587 const xmlChar *encoding; /* the declared encoding, if any */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001588 int standalone; /* standalone document */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001589 int html; /* an HTML(1)/Docbook(2) document */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001590
1591 /* Input stream stack */
1592 xmlParserInputPtr input; /* Current input stream */
1593 int inputNr; /* Number of current input streams */
1594 int inputMax; /* Max number of input streams */
1595 xmlParserInputPtr *inputTab; /* stack of inputs */
1596
1597 /* Node analysis stack only used for DOM building */
1598 xmlNodePtr node; /* Current parsed Node */
1599 int nodeNr; /* Depth of the parsing stack */
1600 int nodeMax; /* Max depth of the parsing stack */
1601 xmlNodePtr *nodeTab; /* array of nodes */
1602
1603 int record_info; /* Whether node info should be kept */
1604 xmlParserNodeInfoSeq node_seq; /* info about each node parsed */
1605
1606 int errNo; /* error code */
1607
1608 int hasExternalSubset; /* reference and external subset */
1609 int hasPErefs; /* the internal subset has PE refs */
1610 int external; /* are we parsing an external entity */
1611
1612 int valid; /* is the document valid */
1613 int validate; /* shall we try to validate ? */
1614 xmlValidCtxt vctxt; /* The validity context */
1615
1616 xmlParserInputState instate; /* current type of input */
1617 int token; /* next char look-ahead */
1618
1619 char *directory; /* the data directory */
1620
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001621 /* Node name stack */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001622 xmlChar *name; /* Current parsed Node */
1623 int nameNr; /* Depth of the parsing stack */
1624 int nameMax; /* Max depth of the parsing stack */
1625 xmlChar * *nameTab; /* array of nodes */
1626
1627 long nbChars; /* number of xmlChar processed */
1628 long checkIndex; /* used by progressive parsing lookup */
Daniel Veillardf6868712000-01-05 14:58:38 +00001629 int keepBlanks; /* ugly but ... */
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001630 int disableSAX; /* SAX callbacks are disabled */
1631 int inSubset; /* Parsing is in int 1/ext 2 subset */
1632 xmlChar * intSubName; /* name of subset */
1633 xmlChar * extSubURI; /* URI of external subset */
1634 xmlChar * extSubSystem; /* SYSTEM ID of external subset */
1635
1636 /* xml:space values */
1637 int * space; /* Should the parser preserve spaces */
1638 int spaceNr; /* Depth of the parsing stack */
1639 int spaceMax; /* Max depth of the parsing stack */
1640 int * spaceTab; /* array of space infos */
1641
1642 int depth; /* to prevent entity substitution loops */
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001643 xmlParserInputPtr entity; /* used to check entities boundaries */
1644 int charset; /* encoding of the in-memory content
1645 actually an xmlCharEncoding */
1646 int nodelen; /* Those two fields are there to */
1647 int nodemem; /* Speed up large node parsing */
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001648 int pedantic; /* signal pedantic warnings */
1649 void *_private; /* For user data, libxml won't touch it */
Daniel Veillard71b656e2000-01-05 14:46:17 +00001650};</PRE
Daniel Veillardbe849cf1999-12-28 16:43:59 +00001651></TD
1652></TR
1653></TABLE
Daniel Veillardb05deb71999-08-10 19:04:08 +00001654><P
1655></P
1656></DIV
1657><HR><DIV
1658CLASS="REFSECT2"
1659><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00001660NAME="AEN380"
Daniel Veillard35925471999-02-25 08:46:07 +00001661></A
1662><H3
1663><A
Daniel Veillard71b656e2000-01-05 14:46:17 +00001664NAME="XMLPARSERCTXTPTR"
1665></A
1666>xmlParserCtxtPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001667><TABLE
1668BORDER="0"
1669BGCOLOR="#D6E8FF"
1670WIDTH="100%"
1671CELLPADDING="6"
1672><TR
1673><TD
1674><PRE
1675CLASS="PROGRAMLISTING"
1676>typedef xmlParserCtxt *xmlParserCtxtPtr;</PRE
1677></TD
1678></TR
1679></TABLE
Daniel Veillard71b656e2000-01-05 14:46:17 +00001680><P
1681></P
1682></DIV
1683><HR><DIV
1684CLASS="REFSECT2"
1685><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00001686NAME="AEN385"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001687></A
1688><H3
1689><A
1690NAME="XMLSAXLOCATOR"
1691></A
1692>struct xmlSAXLocator</H3
1693><TABLE
1694BORDER="0"
1695BGCOLOR="#D6E8FF"
1696WIDTH="100%"
1697CELLPADDING="6"
1698><TR
1699><TD
1700><PRE
1701CLASS="PROGRAMLISTING"
1702>struct xmlSAXLocator {
1703 const xmlChar *(*getPublicId)(void *ctx);
1704 const xmlChar *(*getSystemId)(void *ctx);
1705 int (*getLineNumber)(void *ctx);
1706 int (*getColumnNumber)(void *ctx);
1707};</PRE
1708></TD
1709></TR
1710></TABLE
1711><P
1712></P
1713></DIV
1714><HR><DIV
1715CLASS="REFSECT2"
1716><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00001717NAME="AEN390"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001718></A
1719><H3
1720><A
1721NAME="XMLSAXLOCATORPTR"
1722></A
1723>xmlSAXLocatorPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001724><TABLE
1725BORDER="0"
1726BGCOLOR="#D6E8FF"
1727WIDTH="100%"
1728CELLPADDING="6"
1729><TR
1730><TD
1731><PRE
1732CLASS="PROGRAMLISTING"
1733>typedef xmlSAXLocator *xmlSAXLocatorPtr;</PRE
1734></TD
1735></TR
1736></TABLE
Daniel Veillard71b656e2000-01-05 14:46:17 +00001737><P
1738></P
1739></DIV
1740><HR><DIV
1741CLASS="REFSECT2"
1742><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00001743NAME="AEN395"
Daniel Veillard71b656e2000-01-05 14:46:17 +00001744></A
1745><H3
1746><A
Daniel Veillard35925471999-02-25 08:46:07 +00001747NAME="RESOLVEENTITYSAXFUNC"
1748></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001749>resolveEntitySAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001750><TABLE
1751BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001752BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001753WIDTH="100%"
1754CELLPADDING="6"
1755><TR
1756><TD
1757><PRE
1758CLASS="PROGRAMLISTING"
1759><A
1760HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
1761>xmlParserInputPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001762> (*resolveEntitySAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00001763 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001764HREF="gnome-xml-tree.html#XMLCHAR"
1765>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001766> *publicId,
1767 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001768HREF="gnome-xml-tree.html#XMLCHAR"
1769>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00001770> *systemId);</PRE
1771></TD
1772></TR
1773></TABLE
1774><P
1775></P
1776><DIV
1777CLASS="INFORMALTABLE"
1778><P
1779></P
1780><TABLE
1781BORDER="0"
1782WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001783BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001784CELLSPACING="0"
1785CELLPADDING="4"
1786CLASS="CALSTABLE"
1787><TR
1788><TD
1789WIDTH="20%"
1790ALIGN="RIGHT"
1791VALIGN="TOP"
1792><TT
1793CLASS="PARAMETER"
1794><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00001795>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00001796></TT
1797>&nbsp;:</TD
1798><TD
1799WIDTH="80%"
1800ALIGN="LEFT"
1801VALIGN="TOP"
1802>&nbsp;</TD
1803></TR
1804><TR
1805><TD
1806WIDTH="20%"
1807ALIGN="RIGHT"
1808VALIGN="TOP"
1809><TT
1810CLASS="PARAMETER"
1811><I
1812>publicId</I
1813></TT
1814>&nbsp;:</TD
1815><TD
1816WIDTH="80%"
1817ALIGN="LEFT"
1818VALIGN="TOP"
1819>&nbsp;</TD
1820></TR
1821><TR
1822><TD
1823WIDTH="20%"
1824ALIGN="RIGHT"
1825VALIGN="TOP"
1826><TT
1827CLASS="PARAMETER"
1828><I
1829>systemId</I
1830></TT
1831>&nbsp;:</TD
1832><TD
1833WIDTH="80%"
1834ALIGN="LEFT"
1835VALIGN="TOP"
1836>&nbsp;</TD
1837></TR
1838><TR
1839><TD
1840WIDTH="20%"
1841ALIGN="RIGHT"
1842VALIGN="TOP"
1843><I
1844CLASS="EMPHASIS"
1845>Returns</I
1846> :</TD
1847><TD
1848WIDTH="80%"
1849ALIGN="LEFT"
1850VALIGN="TOP"
1851>&nbsp;</TD
1852></TR
1853></TABLE
1854><P
1855></P
1856></DIV
1857></DIV
1858><HR><DIV
1859CLASS="REFSECT2"
1860><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00001861NAME="AEN424"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001862></A
1863><H3
1864><A
1865NAME="INTERNALSUBSETSAXFUNC"
1866></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001867>internalSubsetSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00001868><TABLE
1869BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001870BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001871WIDTH="100%"
1872CELLPADDING="6"
1873><TR
1874><TD
1875><PRE
1876CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00001877>void (*internalSubsetSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00001878 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001879HREF="gnome-xml-tree.html#XMLCHAR"
1880>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001881> *name,
1882 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001883HREF="gnome-xml-tree.html#XMLCHAR"
1884>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001885> *ExternalID,
1886 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001887HREF="gnome-xml-tree.html#XMLCHAR"
1888>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001889> *SystemID);</PRE
1890></TD
1891></TR
1892></TABLE
1893><P
1894></P
1895><DIV
1896CLASS="INFORMALTABLE"
1897><P
1898></P
1899><TABLE
1900BORDER="0"
1901WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001902BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001903CELLSPACING="0"
1904CELLPADDING="4"
1905CLASS="CALSTABLE"
1906><TR
1907><TD
1908WIDTH="20%"
1909ALIGN="RIGHT"
1910VALIGN="TOP"
1911><TT
1912CLASS="PARAMETER"
1913><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00001914>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00001915></TT
1916>&nbsp;:</TD
1917><TD
1918WIDTH="80%"
1919ALIGN="LEFT"
1920VALIGN="TOP"
1921>&nbsp;</TD
1922></TR
1923><TR
1924><TD
1925WIDTH="20%"
1926ALIGN="RIGHT"
1927VALIGN="TOP"
1928><TT
1929CLASS="PARAMETER"
1930><I
1931>name</I
1932></TT
1933>&nbsp;:</TD
1934><TD
1935WIDTH="80%"
1936ALIGN="LEFT"
1937VALIGN="TOP"
1938>&nbsp;</TD
1939></TR
1940><TR
1941><TD
1942WIDTH="20%"
1943ALIGN="RIGHT"
1944VALIGN="TOP"
1945><TT
1946CLASS="PARAMETER"
1947><I
1948>ExternalID</I
1949></TT
1950>&nbsp;:</TD
1951><TD
1952WIDTH="80%"
1953ALIGN="LEFT"
1954VALIGN="TOP"
1955>&nbsp;</TD
1956></TR
1957><TR
1958><TD
1959WIDTH="20%"
1960ALIGN="RIGHT"
1961VALIGN="TOP"
1962><TT
1963CLASS="PARAMETER"
1964><I
1965>SystemID</I
1966></TT
1967>&nbsp;:</TD
1968><TD
1969WIDTH="80%"
1970ALIGN="LEFT"
1971VALIGN="TOP"
1972>&nbsp;</TD
1973></TR
1974></TABLE
1975><P
1976></P
1977></DIV
1978></DIV
1979><HR><DIV
1980CLASS="REFSECT2"
1981><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00001982NAME="AEN453"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001983></A
1984><H3
1985><A
1986NAME="EXTERNALSUBSETSAXFUNC"
1987></A
1988>externalSubsetSAXFunc ()</H3
1989><TABLE
1990BORDER="0"
1991BGCOLOR="#D6E8FF"
1992WIDTH="100%"
1993CELLPADDING="6"
1994><TR
1995><TD
1996><PRE
1997CLASS="PROGRAMLISTING"
1998>void (*externalSubsetSAXFunc) (void *ctx,
1999 const <A
2000HREF="gnome-xml-tree.html#XMLCHAR"
2001>xmlChar</A
2002> *name,
2003 const <A
2004HREF="gnome-xml-tree.html#XMLCHAR"
2005>xmlChar</A
2006> *ExternalID,
2007 const <A
2008HREF="gnome-xml-tree.html#XMLCHAR"
2009>xmlChar</A
2010> *SystemID);</PRE
2011></TD
2012></TR
2013></TABLE
2014><P
2015></P
2016><DIV
2017CLASS="INFORMALTABLE"
2018><P
2019></P
2020><TABLE
2021BORDER="0"
2022WIDTH="100%"
2023BGCOLOR="#FFD0D0"
2024CELLSPACING="0"
2025CELLPADDING="4"
2026CLASS="CALSTABLE"
2027><TR
2028><TD
2029WIDTH="20%"
2030ALIGN="RIGHT"
2031VALIGN="TOP"
2032><TT
2033CLASS="PARAMETER"
2034><I
2035>ctx</I
2036></TT
2037>&nbsp;:</TD
2038><TD
2039WIDTH="80%"
2040ALIGN="LEFT"
2041VALIGN="TOP"
2042>&nbsp;</TD
2043></TR
2044><TR
2045><TD
2046WIDTH="20%"
2047ALIGN="RIGHT"
2048VALIGN="TOP"
2049><TT
2050CLASS="PARAMETER"
2051><I
2052>name</I
2053></TT
2054>&nbsp;:</TD
2055><TD
2056WIDTH="80%"
2057ALIGN="LEFT"
2058VALIGN="TOP"
2059>&nbsp;</TD
2060></TR
2061><TR
2062><TD
2063WIDTH="20%"
2064ALIGN="RIGHT"
2065VALIGN="TOP"
2066><TT
2067CLASS="PARAMETER"
2068><I
2069>ExternalID</I
2070></TT
2071>&nbsp;:</TD
2072><TD
2073WIDTH="80%"
2074ALIGN="LEFT"
2075VALIGN="TOP"
2076>&nbsp;</TD
2077></TR
2078><TR
2079><TD
2080WIDTH="20%"
2081ALIGN="RIGHT"
2082VALIGN="TOP"
2083><TT
2084CLASS="PARAMETER"
2085><I
2086>SystemID</I
2087></TT
2088>&nbsp;:</TD
2089><TD
2090WIDTH="80%"
2091ALIGN="LEFT"
2092VALIGN="TOP"
2093>&nbsp;</TD
2094></TR
2095></TABLE
2096><P
2097></P
2098></DIV
2099></DIV
2100><HR><DIV
2101CLASS="REFSECT2"
2102><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00002103NAME="AEN482"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002104></A
2105><H3
2106><A
2107NAME="GETENTITYSAXFUNC"
2108></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002109>getEntitySAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002110><TABLE
2111BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002112BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002113WIDTH="100%"
2114CELLPADDING="6"
2115><TR
2116><TD
2117><PRE
2118CLASS="PROGRAMLISTING"
2119><A
2120HREF="gnome-xml-entities.html#XMLENTITYPTR"
2121>xmlEntityPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00002122> (*getEntitySAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002123 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002124HREF="gnome-xml-tree.html#XMLCHAR"
2125>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002126> *name);</PRE
2127></TD
2128></TR
2129></TABLE
2130><P
2131></P
2132><DIV
2133CLASS="INFORMALTABLE"
2134><P
2135></P
2136><TABLE
2137BORDER="0"
2138WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002139BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002140CELLSPACING="0"
2141CELLPADDING="4"
2142CLASS="CALSTABLE"
2143><TR
2144><TD
2145WIDTH="20%"
2146ALIGN="RIGHT"
2147VALIGN="TOP"
2148><TT
2149CLASS="PARAMETER"
2150><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002151>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002152></TT
2153>&nbsp;:</TD
2154><TD
2155WIDTH="80%"
2156ALIGN="LEFT"
2157VALIGN="TOP"
2158>&nbsp;</TD
2159></TR
2160><TR
2161><TD
2162WIDTH="20%"
2163ALIGN="RIGHT"
2164VALIGN="TOP"
2165><TT
2166CLASS="PARAMETER"
2167><I
2168>name</I
2169></TT
2170>&nbsp;:</TD
2171><TD
2172WIDTH="80%"
2173ALIGN="LEFT"
2174VALIGN="TOP"
2175>&nbsp;</TD
2176></TR
2177><TR
2178><TD
2179WIDTH="20%"
2180ALIGN="RIGHT"
2181VALIGN="TOP"
2182><I
2183CLASS="EMPHASIS"
2184>Returns</I
2185> :</TD
2186><TD
2187WIDTH="80%"
2188ALIGN="LEFT"
2189VALIGN="TOP"
2190>&nbsp;</TD
2191></TR
2192></TABLE
2193><P
2194></P
2195></DIV
2196></DIV
2197><HR><DIV
2198CLASS="REFSECT2"
2199><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00002200NAME="AEN506"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002201></A
2202><H3
2203><A
2204NAME="GETPARAMETERENTITYSAXFUNC"
2205></A
2206>getParameterEntitySAXFunc ()</H3
2207><TABLE
2208BORDER="0"
2209BGCOLOR="#D6E8FF"
2210WIDTH="100%"
2211CELLPADDING="6"
2212><TR
2213><TD
2214><PRE
2215CLASS="PROGRAMLISTING"
2216><A
2217HREF="gnome-xml-entities.html#XMLENTITYPTR"
2218>xmlEntityPtr</A
2219> (*getParameterEntitySAXFunc) (void *ctx,
2220 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002221HREF="gnome-xml-tree.html#XMLCHAR"
2222>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002223> *name);</PRE
2224></TD
2225></TR
2226></TABLE
2227><P
2228></P
2229><DIV
2230CLASS="INFORMALTABLE"
2231><P
2232></P
2233><TABLE
2234BORDER="0"
2235WIDTH="100%"
2236BGCOLOR="#FFD0D0"
2237CELLSPACING="0"
2238CELLPADDING="4"
2239CLASS="CALSTABLE"
2240><TR
2241><TD
2242WIDTH="20%"
2243ALIGN="RIGHT"
2244VALIGN="TOP"
2245><TT
2246CLASS="PARAMETER"
2247><I
2248>ctx</I
2249></TT
2250>&nbsp;:</TD
2251><TD
2252WIDTH="80%"
2253ALIGN="LEFT"
2254VALIGN="TOP"
2255>&nbsp;</TD
2256></TR
2257><TR
2258><TD
2259WIDTH="20%"
2260ALIGN="RIGHT"
2261VALIGN="TOP"
2262><TT
2263CLASS="PARAMETER"
2264><I
2265>name</I
2266></TT
2267>&nbsp;:</TD
2268><TD
2269WIDTH="80%"
2270ALIGN="LEFT"
2271VALIGN="TOP"
2272>&nbsp;</TD
2273></TR
2274><TR
2275><TD
2276WIDTH="20%"
2277ALIGN="RIGHT"
2278VALIGN="TOP"
2279><I
2280CLASS="EMPHASIS"
2281>Returns</I
2282> :</TD
2283><TD
2284WIDTH="80%"
2285ALIGN="LEFT"
2286VALIGN="TOP"
2287>&nbsp;</TD
2288></TR
2289></TABLE
2290><P
2291></P
2292></DIV
2293></DIV
2294><HR><DIV
2295CLASS="REFSECT2"
2296><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00002297NAME="AEN530"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002298></A
2299><H3
2300><A
2301NAME="ENTITYDECLSAXFUNC"
2302></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002303>entityDeclSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002304><TABLE
2305BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002306BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002307WIDTH="100%"
2308CELLPADDING="6"
2309><TR
2310><TD
2311><PRE
2312CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002313>void (*entityDeclSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002314 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002315HREF="gnome-xml-tree.html#XMLCHAR"
2316>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002317> *name,
2318 int type,
2319 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002320HREF="gnome-xml-tree.html#XMLCHAR"
2321>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002322> *publicId,
2323 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002324HREF="gnome-xml-tree.html#XMLCHAR"
2325>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002326> *systemId,
2327 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002328HREF="gnome-xml-tree.html#XMLCHAR"
2329>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002330> *content);</PRE
2331></TD
2332></TR
2333></TABLE
2334><P
2335></P
2336><DIV
2337CLASS="INFORMALTABLE"
2338><P
2339></P
2340><TABLE
2341BORDER="0"
2342WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002343BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002344CELLSPACING="0"
2345CELLPADDING="4"
2346CLASS="CALSTABLE"
2347><TR
2348><TD
2349WIDTH="20%"
2350ALIGN="RIGHT"
2351VALIGN="TOP"
2352><TT
2353CLASS="PARAMETER"
2354><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002355>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002356></TT
2357>&nbsp;:</TD
2358><TD
2359WIDTH="80%"
2360ALIGN="LEFT"
2361VALIGN="TOP"
2362>&nbsp;</TD
2363></TR
2364><TR
2365><TD
2366WIDTH="20%"
2367ALIGN="RIGHT"
2368VALIGN="TOP"
2369><TT
2370CLASS="PARAMETER"
2371><I
2372>name</I
2373></TT
2374>&nbsp;:</TD
2375><TD
2376WIDTH="80%"
2377ALIGN="LEFT"
2378VALIGN="TOP"
2379>&nbsp;</TD
2380></TR
2381><TR
2382><TD
2383WIDTH="20%"
2384ALIGN="RIGHT"
2385VALIGN="TOP"
2386><TT
2387CLASS="PARAMETER"
2388><I
2389>type</I
2390></TT
2391>&nbsp;:</TD
2392><TD
2393WIDTH="80%"
2394ALIGN="LEFT"
2395VALIGN="TOP"
2396>&nbsp;</TD
2397></TR
2398><TR
2399><TD
2400WIDTH="20%"
2401ALIGN="RIGHT"
2402VALIGN="TOP"
2403><TT
2404CLASS="PARAMETER"
2405><I
2406>publicId</I
2407></TT
2408>&nbsp;:</TD
2409><TD
2410WIDTH="80%"
2411ALIGN="LEFT"
2412VALIGN="TOP"
2413>&nbsp;</TD
2414></TR
2415><TR
2416><TD
2417WIDTH="20%"
2418ALIGN="RIGHT"
2419VALIGN="TOP"
2420><TT
2421CLASS="PARAMETER"
2422><I
2423>systemId</I
2424></TT
2425>&nbsp;:</TD
2426><TD
2427WIDTH="80%"
2428ALIGN="LEFT"
2429VALIGN="TOP"
2430>&nbsp;</TD
2431></TR
2432><TR
2433><TD
2434WIDTH="20%"
2435ALIGN="RIGHT"
2436VALIGN="TOP"
2437><TT
2438CLASS="PARAMETER"
2439><I
2440>content</I
2441></TT
2442>&nbsp;:</TD
2443><TD
2444WIDTH="80%"
2445ALIGN="LEFT"
2446VALIGN="TOP"
2447>&nbsp;</TD
2448></TR
2449></TABLE
2450><P
2451></P
2452></DIV
2453></DIV
2454><HR><DIV
2455CLASS="REFSECT2"
2456><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00002457NAME="AEN568"
Daniel Veillard35925471999-02-25 08:46:07 +00002458></A
2459><H3
2460><A
2461NAME="NOTATIONDECLSAXFUNC"
2462></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002463>notationDeclSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002464><TABLE
2465BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002466BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002467WIDTH="100%"
2468CELLPADDING="6"
2469><TR
2470><TD
2471><PRE
2472CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002473>void (*notationDeclSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00002474 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002475HREF="gnome-xml-tree.html#XMLCHAR"
2476>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002477> *name,
2478 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002479HREF="gnome-xml-tree.html#XMLCHAR"
2480>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002481> *publicId,
2482 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002483HREF="gnome-xml-tree.html#XMLCHAR"
2484>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002485> *systemId);</PRE
2486></TD
2487></TR
2488></TABLE
2489><P
2490></P
2491><DIV
2492CLASS="INFORMALTABLE"
2493><P
2494></P
2495><TABLE
2496BORDER="0"
2497WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002498BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002499CELLSPACING="0"
2500CELLPADDING="4"
2501CLASS="CALSTABLE"
2502><TR
2503><TD
2504WIDTH="20%"
2505ALIGN="RIGHT"
2506VALIGN="TOP"
2507><TT
2508CLASS="PARAMETER"
2509><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002510>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00002511></TT
2512>&nbsp;:</TD
2513><TD
2514WIDTH="80%"
2515ALIGN="LEFT"
2516VALIGN="TOP"
2517>&nbsp;</TD
2518></TR
2519><TR
2520><TD
2521WIDTH="20%"
2522ALIGN="RIGHT"
2523VALIGN="TOP"
2524><TT
2525CLASS="PARAMETER"
2526><I
2527>name</I
2528></TT
2529>&nbsp;:</TD
2530><TD
2531WIDTH="80%"
2532ALIGN="LEFT"
2533VALIGN="TOP"
2534>&nbsp;</TD
2535></TR
2536><TR
2537><TD
2538WIDTH="20%"
2539ALIGN="RIGHT"
2540VALIGN="TOP"
2541><TT
2542CLASS="PARAMETER"
2543><I
2544>publicId</I
2545></TT
2546>&nbsp;:</TD
2547><TD
2548WIDTH="80%"
2549ALIGN="LEFT"
2550VALIGN="TOP"
2551>&nbsp;</TD
2552></TR
2553><TR
2554><TD
2555WIDTH="20%"
2556ALIGN="RIGHT"
2557VALIGN="TOP"
2558><TT
2559CLASS="PARAMETER"
2560><I
2561>systemId</I
2562></TT
2563>&nbsp;:</TD
2564><TD
2565WIDTH="80%"
2566ALIGN="LEFT"
2567VALIGN="TOP"
2568>&nbsp;</TD
2569></TR
2570></TABLE
2571><P
2572></P
2573></DIV
2574></DIV
2575><HR><DIV
2576CLASS="REFSECT2"
2577><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00002578NAME="AEN597"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002579></A
2580><H3
2581><A
2582NAME="ATTRIBUTEDECLSAXFUNC"
2583></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002584>attributeDeclSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002585><TABLE
2586BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002587BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002588WIDTH="100%"
2589CELLPADDING="6"
2590><TR
2591><TD
2592><PRE
2593CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002594>void (*attributeDeclSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002595 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002596HREF="gnome-xml-tree.html#XMLCHAR"
2597>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002598> *elem,
2599 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002600HREF="gnome-xml-tree.html#XMLCHAR"
2601>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002602> *name,
2603 int type,
2604 int def,
2605 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002606HREF="gnome-xml-tree.html#XMLCHAR"
2607>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002608> *defaultValue,
2609 <A
2610HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2611>xmlEnumerationPtr</A
2612> tree);</PRE
2613></TD
2614></TR
2615></TABLE
2616><P
2617></P
2618><DIV
2619CLASS="INFORMALTABLE"
2620><P
2621></P
2622><TABLE
2623BORDER="0"
2624WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002625BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002626CELLSPACING="0"
2627CELLPADDING="4"
2628CLASS="CALSTABLE"
2629><TR
2630><TD
2631WIDTH="20%"
2632ALIGN="RIGHT"
2633VALIGN="TOP"
2634><TT
2635CLASS="PARAMETER"
2636><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002637>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002638></TT
2639>&nbsp;:</TD
2640><TD
2641WIDTH="80%"
2642ALIGN="LEFT"
2643VALIGN="TOP"
2644>&nbsp;</TD
2645></TR
2646><TR
2647><TD
2648WIDTH="20%"
2649ALIGN="RIGHT"
2650VALIGN="TOP"
2651><TT
2652CLASS="PARAMETER"
2653><I
2654>elem</I
2655></TT
2656>&nbsp;:</TD
2657><TD
2658WIDTH="80%"
2659ALIGN="LEFT"
2660VALIGN="TOP"
2661>&nbsp;</TD
2662></TR
2663><TR
2664><TD
2665WIDTH="20%"
2666ALIGN="RIGHT"
2667VALIGN="TOP"
2668><TT
2669CLASS="PARAMETER"
2670><I
2671>name</I
2672></TT
2673>&nbsp;:</TD
2674><TD
2675WIDTH="80%"
2676ALIGN="LEFT"
2677VALIGN="TOP"
2678>&nbsp;</TD
2679></TR
2680><TR
2681><TD
2682WIDTH="20%"
2683ALIGN="RIGHT"
2684VALIGN="TOP"
2685><TT
2686CLASS="PARAMETER"
2687><I
2688>type</I
2689></TT
2690>&nbsp;:</TD
2691><TD
2692WIDTH="80%"
2693ALIGN="LEFT"
2694VALIGN="TOP"
2695>&nbsp;</TD
2696></TR
2697><TR
2698><TD
2699WIDTH="20%"
2700ALIGN="RIGHT"
2701VALIGN="TOP"
2702><TT
2703CLASS="PARAMETER"
2704><I
2705>def</I
2706></TT
2707>&nbsp;:</TD
2708><TD
2709WIDTH="80%"
2710ALIGN="LEFT"
2711VALIGN="TOP"
2712>&nbsp;</TD
2713></TR
2714><TR
2715><TD
2716WIDTH="20%"
2717ALIGN="RIGHT"
2718VALIGN="TOP"
2719><TT
2720CLASS="PARAMETER"
2721><I
2722>defaultValue</I
2723></TT
2724>&nbsp;:</TD
2725><TD
2726WIDTH="80%"
2727ALIGN="LEFT"
2728VALIGN="TOP"
2729>&nbsp;</TD
2730></TR
2731><TR
2732><TD
2733WIDTH="20%"
2734ALIGN="RIGHT"
2735VALIGN="TOP"
2736><TT
2737CLASS="PARAMETER"
2738><I
2739>tree</I
2740></TT
2741>&nbsp;:</TD
2742><TD
2743WIDTH="80%"
2744ALIGN="LEFT"
2745VALIGN="TOP"
2746>&nbsp;</TD
2747></TR
2748></TABLE
2749><P
2750></P
2751></DIV
2752></DIV
2753><HR><DIV
2754CLASS="REFSECT2"
2755><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00002756NAME="AEN639"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002757></A
2758><H3
2759><A
2760NAME="ELEMENTDECLSAXFUNC"
2761></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002762>elementDeclSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002763><TABLE
2764BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002765BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002766WIDTH="100%"
2767CELLPADDING="6"
2768><TR
2769><TD
2770><PRE
2771CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002772>void (*elementDeclSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00002773 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002774HREF="gnome-xml-tree.html#XMLCHAR"
2775>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002776> *name,
2777 int type,
2778 <A
2779HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2780>xmlElementContentPtr</A
2781> content);</PRE
2782></TD
2783></TR
2784></TABLE
2785><P
2786></P
2787><DIV
2788CLASS="INFORMALTABLE"
2789><P
2790></P
2791><TABLE
2792BORDER="0"
2793WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002794BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002795CELLSPACING="0"
2796CELLPADDING="4"
2797CLASS="CALSTABLE"
2798><TR
2799><TD
2800WIDTH="20%"
2801ALIGN="RIGHT"
2802VALIGN="TOP"
2803><TT
2804CLASS="PARAMETER"
2805><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002806>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002807></TT
2808>&nbsp;:</TD
2809><TD
2810WIDTH="80%"
2811ALIGN="LEFT"
2812VALIGN="TOP"
2813>&nbsp;</TD
2814></TR
2815><TR
2816><TD
2817WIDTH="20%"
2818ALIGN="RIGHT"
2819VALIGN="TOP"
2820><TT
2821CLASS="PARAMETER"
2822><I
2823>name</I
2824></TT
2825>&nbsp;:</TD
2826><TD
2827WIDTH="80%"
2828ALIGN="LEFT"
2829VALIGN="TOP"
2830>&nbsp;</TD
2831></TR
2832><TR
2833><TD
2834WIDTH="20%"
2835ALIGN="RIGHT"
2836VALIGN="TOP"
2837><TT
2838CLASS="PARAMETER"
2839><I
2840>type</I
2841></TT
2842>&nbsp;:</TD
2843><TD
2844WIDTH="80%"
2845ALIGN="LEFT"
2846VALIGN="TOP"
2847>&nbsp;</TD
2848></TR
2849><TR
2850><TD
2851WIDTH="20%"
2852ALIGN="RIGHT"
2853VALIGN="TOP"
2854><TT
2855CLASS="PARAMETER"
2856><I
2857>content</I
2858></TT
2859>&nbsp;:</TD
2860><TD
2861WIDTH="80%"
2862ALIGN="LEFT"
2863VALIGN="TOP"
2864>&nbsp;</TD
2865></TR
2866></TABLE
2867><P
2868></P
2869></DIV
2870></DIV
2871><HR><DIV
2872CLASS="REFSECT2"
2873><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00002874NAME="AEN667"
Daniel Veillard35925471999-02-25 08:46:07 +00002875></A
2876><H3
2877><A
2878NAME="UNPARSEDENTITYDECLSAXFUNC"
2879></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002880>unparsedEntityDeclSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002881><TABLE
2882BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002883BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002884WIDTH="100%"
2885CELLPADDING="6"
2886><TR
2887><TD
2888><PRE
2889CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002890>void (*unparsedEntityDeclSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00002891 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002892HREF="gnome-xml-tree.html#XMLCHAR"
2893>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002894> *name,
2895 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002896HREF="gnome-xml-tree.html#XMLCHAR"
2897>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002898> *publicId,
2899 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002900HREF="gnome-xml-tree.html#XMLCHAR"
2901>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002902> *systemId,
2903 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002904HREF="gnome-xml-tree.html#XMLCHAR"
2905>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002906> *notationName);</PRE
2907></TD
2908></TR
2909></TABLE
2910><P
2911></P
2912><DIV
2913CLASS="INFORMALTABLE"
2914><P
2915></P
2916><TABLE
2917BORDER="0"
2918WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002919BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002920CELLSPACING="0"
2921CELLPADDING="4"
2922CLASS="CALSTABLE"
2923><TR
2924><TD
2925WIDTH="20%"
2926ALIGN="RIGHT"
2927VALIGN="TOP"
2928><TT
2929CLASS="PARAMETER"
2930><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00002931>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00002932></TT
2933>&nbsp;:</TD
2934><TD
2935WIDTH="80%"
2936ALIGN="LEFT"
2937VALIGN="TOP"
2938>&nbsp;</TD
2939></TR
2940><TR
2941><TD
2942WIDTH="20%"
2943ALIGN="RIGHT"
2944VALIGN="TOP"
2945><TT
2946CLASS="PARAMETER"
2947><I
2948>name</I
2949></TT
2950>&nbsp;:</TD
2951><TD
2952WIDTH="80%"
2953ALIGN="LEFT"
2954VALIGN="TOP"
2955>&nbsp;</TD
2956></TR
2957><TR
2958><TD
2959WIDTH="20%"
2960ALIGN="RIGHT"
2961VALIGN="TOP"
2962><TT
2963CLASS="PARAMETER"
2964><I
2965>publicId</I
2966></TT
2967>&nbsp;:</TD
2968><TD
2969WIDTH="80%"
2970ALIGN="LEFT"
2971VALIGN="TOP"
2972>&nbsp;</TD
2973></TR
2974><TR
2975><TD
2976WIDTH="20%"
2977ALIGN="RIGHT"
2978VALIGN="TOP"
2979><TT
2980CLASS="PARAMETER"
2981><I
2982>systemId</I
2983></TT
2984>&nbsp;:</TD
2985><TD
2986WIDTH="80%"
2987ALIGN="LEFT"
2988VALIGN="TOP"
2989>&nbsp;</TD
2990></TR
2991><TR
2992><TD
2993WIDTH="20%"
2994ALIGN="RIGHT"
2995VALIGN="TOP"
2996><TT
2997CLASS="PARAMETER"
2998><I
2999>notationName</I
3000></TT
3001>&nbsp;:</TD
3002><TD
3003WIDTH="80%"
3004ALIGN="LEFT"
3005VALIGN="TOP"
3006>&nbsp;</TD
3007></TR
3008></TABLE
3009><P
3010></P
3011></DIV
3012></DIV
3013><HR><DIV
3014CLASS="REFSECT2"
3015><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00003016NAME="AEN701"
Daniel Veillard35925471999-02-25 08:46:07 +00003017></A
3018><H3
3019><A
3020NAME="SETDOCUMENTLOCATORSAXFUNC"
3021></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003022>setDocumentLocatorSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003023><TABLE
3024BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003025BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003026WIDTH="100%"
3027CELLPADDING="6"
3028><TR
3029><TD
3030><PRE
3031CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003032>void (*setDocumentLocatorSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003033 <A
3034HREF="gnome-xml-parser.html#XMLSAXLOCATORPTR"
3035>xmlSAXLocatorPtr</A
3036> loc);</PRE
3037></TD
3038></TR
3039></TABLE
3040><P
3041></P
3042><DIV
3043CLASS="INFORMALTABLE"
3044><P
3045></P
3046><TABLE
3047BORDER="0"
3048WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003049BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003050CELLSPACING="0"
3051CELLPADDING="4"
3052CLASS="CALSTABLE"
3053><TR
3054><TD
3055WIDTH="20%"
3056ALIGN="RIGHT"
3057VALIGN="TOP"
3058><TT
3059CLASS="PARAMETER"
3060><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003061>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003062></TT
3063>&nbsp;:</TD
3064><TD
3065WIDTH="80%"
3066ALIGN="LEFT"
3067VALIGN="TOP"
3068>&nbsp;</TD
3069></TR
3070><TR
3071><TD
3072WIDTH="20%"
3073ALIGN="RIGHT"
3074VALIGN="TOP"
3075><TT
3076CLASS="PARAMETER"
3077><I
3078>loc</I
3079></TT
3080>&nbsp;:</TD
3081><TD
3082WIDTH="80%"
3083ALIGN="LEFT"
3084VALIGN="TOP"
3085>&nbsp;</TD
3086></TR
3087></TABLE
3088><P
3089></P
3090></DIV
3091></DIV
3092><HR><DIV
3093CLASS="REFSECT2"
3094><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00003095NAME="AEN720"
Daniel Veillard35925471999-02-25 08:46:07 +00003096></A
3097><H3
3098><A
3099NAME="STARTDOCUMENTSAXFUNC"
3100></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003101>startDocumentSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003102><TABLE
3103BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003104BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003105WIDTH="100%"
3106CELLPADDING="6"
3107><TR
3108><TD
3109><PRE
3110CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003111>void (*startDocumentSAXFunc) (void *ctx);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003112></TD
3113></TR
3114></TABLE
3115><P
3116></P
3117><DIV
3118CLASS="INFORMALTABLE"
3119><P
3120></P
3121><TABLE
3122BORDER="0"
3123WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003124BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003125CELLSPACING="0"
3126CELLPADDING="4"
3127CLASS="CALSTABLE"
3128><TR
3129><TD
3130WIDTH="20%"
3131ALIGN="RIGHT"
3132VALIGN="TOP"
3133><TT
3134CLASS="PARAMETER"
3135><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003136>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003137></TT
3138>&nbsp;:</TD
3139><TD
3140WIDTH="80%"
3141ALIGN="LEFT"
3142VALIGN="TOP"
3143>&nbsp;</TD
3144></TR
3145></TABLE
3146><P
3147></P
3148></DIV
3149></DIV
3150><HR><DIV
3151CLASS="REFSECT2"
3152><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00003153NAME="AEN734"
Daniel Veillard35925471999-02-25 08:46:07 +00003154></A
3155><H3
3156><A
3157NAME="ENDDOCUMENTSAXFUNC"
3158></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003159>endDocumentSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003160><TABLE
3161BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003162BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003163WIDTH="100%"
3164CELLPADDING="6"
3165><TR
3166><TD
3167><PRE
3168CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003169>void (*endDocumentSAXFunc) (void *ctx);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003170></TD
3171></TR
3172></TABLE
3173><P
3174></P
3175><DIV
3176CLASS="INFORMALTABLE"
3177><P
3178></P
3179><TABLE
3180BORDER="0"
3181WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003182BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003183CELLSPACING="0"
3184CELLPADDING="4"
3185CLASS="CALSTABLE"
3186><TR
3187><TD
3188WIDTH="20%"
3189ALIGN="RIGHT"
3190VALIGN="TOP"
3191><TT
3192CLASS="PARAMETER"
3193><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003194>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003195></TT
3196>&nbsp;:</TD
3197><TD
3198WIDTH="80%"
3199ALIGN="LEFT"
3200VALIGN="TOP"
3201>&nbsp;</TD
3202></TR
3203></TABLE
3204><P
3205></P
3206></DIV
3207></DIV
3208><HR><DIV
3209CLASS="REFSECT2"
3210><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00003211NAME="AEN748"
Daniel Veillard35925471999-02-25 08:46:07 +00003212></A
3213><H3
3214><A
3215NAME="STARTELEMENTSAXFUNC"
3216></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003217>startElementSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003218><TABLE
3219BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003220BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003221WIDTH="100%"
3222CELLPADDING="6"
3223><TR
3224><TD
3225><PRE
3226CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003227>void (*startElementSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003228 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003229HREF="gnome-xml-tree.html#XMLCHAR"
3230>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003231> *name,
3232 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003233HREF="gnome-xml-tree.html#XMLCHAR"
3234>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003235> **atts);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003236></TD
3237></TR
3238></TABLE
3239><P
3240></P
3241><DIV
3242CLASS="INFORMALTABLE"
3243><P
3244></P
3245><TABLE
3246BORDER="0"
3247WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003248BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003249CELLSPACING="0"
3250CELLPADDING="4"
3251CLASS="CALSTABLE"
3252><TR
3253><TD
3254WIDTH="20%"
3255ALIGN="RIGHT"
3256VALIGN="TOP"
3257><TT
3258CLASS="PARAMETER"
3259><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003260>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003261></TT
3262>&nbsp;:</TD
3263><TD
3264WIDTH="80%"
3265ALIGN="LEFT"
3266VALIGN="TOP"
3267>&nbsp;</TD
3268></TR
3269><TR
3270><TD
3271WIDTH="20%"
3272ALIGN="RIGHT"
3273VALIGN="TOP"
3274><TT
3275CLASS="PARAMETER"
3276><I
3277>name</I
3278></TT
3279>&nbsp;:</TD
3280><TD
3281WIDTH="80%"
3282ALIGN="LEFT"
3283VALIGN="TOP"
3284>&nbsp;</TD
3285></TR
Daniel Veillard5099ae81999-04-21 20:12:07 +00003286><TR
3287><TD
3288WIDTH="20%"
3289ALIGN="RIGHT"
3290VALIGN="TOP"
3291><TT
3292CLASS="PARAMETER"
3293><I
3294>atts</I
3295></TT
3296>&nbsp;:</TD
3297><TD
3298WIDTH="80%"
3299ALIGN="LEFT"
3300VALIGN="TOP"
3301>&nbsp;</TD
3302></TR
Daniel Veillard35925471999-02-25 08:46:07 +00003303></TABLE
3304><P
3305></P
3306></DIV
3307></DIV
3308><HR><DIV
3309CLASS="REFSECT2"
3310><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00003311NAME="AEN772"
Daniel Veillard35925471999-02-25 08:46:07 +00003312></A
3313><H3
3314><A
3315NAME="ENDELEMENTSAXFUNC"
3316></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003317>endElementSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003318><TABLE
3319BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003320BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003321WIDTH="100%"
3322CELLPADDING="6"
3323><TR
3324><TD
3325><PRE
3326CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003327>void (*endElementSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003328 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003329HREF="gnome-xml-tree.html#XMLCHAR"
3330>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003331> *name);</PRE
3332></TD
3333></TR
3334></TABLE
3335><P
3336></P
3337><DIV
3338CLASS="INFORMALTABLE"
3339><P
3340></P
3341><TABLE
3342BORDER="0"
3343WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003344BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003345CELLSPACING="0"
3346CELLPADDING="4"
3347CLASS="CALSTABLE"
3348><TR
3349><TD
3350WIDTH="20%"
3351ALIGN="RIGHT"
3352VALIGN="TOP"
3353><TT
3354CLASS="PARAMETER"
3355><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003356>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003357></TT
3358>&nbsp;:</TD
3359><TD
3360WIDTH="80%"
3361ALIGN="LEFT"
3362VALIGN="TOP"
3363>&nbsp;</TD
3364></TR
3365><TR
3366><TD
3367WIDTH="20%"
3368ALIGN="RIGHT"
3369VALIGN="TOP"
3370><TT
3371CLASS="PARAMETER"
3372><I
3373>name</I
3374></TT
3375>&nbsp;:</TD
3376><TD
3377WIDTH="80%"
3378ALIGN="LEFT"
3379VALIGN="TOP"
3380>&nbsp;</TD
3381></TR
3382></TABLE
3383><P
3384></P
3385></DIV
3386></DIV
3387><HR><DIV
3388CLASS="REFSECT2"
3389><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00003390NAME="AEN791"
Daniel Veillard35925471999-02-25 08:46:07 +00003391></A
3392><H3
3393><A
3394NAME="ATTRIBUTESAXFUNC"
3395></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003396>attributeSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003397><TABLE
3398BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003399BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003400WIDTH="100%"
3401CELLPADDING="6"
3402><TR
3403><TD
3404><PRE
3405CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003406>void (*attributeSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003407 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003408HREF="gnome-xml-tree.html#XMLCHAR"
3409>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003410> *name,
3411 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003412HREF="gnome-xml-tree.html#XMLCHAR"
3413>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003414> *value);</PRE
3415></TD
3416></TR
3417></TABLE
3418><P
3419></P
3420><DIV
3421CLASS="INFORMALTABLE"
3422><P
3423></P
3424><TABLE
3425BORDER="0"
3426WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003427BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003428CELLSPACING="0"
3429CELLPADDING="4"
3430CLASS="CALSTABLE"
3431><TR
3432><TD
3433WIDTH="20%"
3434ALIGN="RIGHT"
3435VALIGN="TOP"
3436><TT
3437CLASS="PARAMETER"
3438><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003439>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003440></TT
3441>&nbsp;:</TD
3442><TD
3443WIDTH="80%"
3444ALIGN="LEFT"
3445VALIGN="TOP"
3446>&nbsp;</TD
3447></TR
3448><TR
3449><TD
3450WIDTH="20%"
3451ALIGN="RIGHT"
3452VALIGN="TOP"
3453><TT
3454CLASS="PARAMETER"
3455><I
3456>name</I
3457></TT
3458>&nbsp;:</TD
3459><TD
3460WIDTH="80%"
3461ALIGN="LEFT"
3462VALIGN="TOP"
3463>&nbsp;</TD
3464></TR
3465><TR
3466><TD
3467WIDTH="20%"
3468ALIGN="RIGHT"
3469VALIGN="TOP"
3470><TT
3471CLASS="PARAMETER"
3472><I
3473>value</I
3474></TT
3475>&nbsp;:</TD
3476><TD
3477WIDTH="80%"
3478ALIGN="LEFT"
3479VALIGN="TOP"
3480>&nbsp;</TD
3481></TR
3482></TABLE
3483><P
3484></P
3485></DIV
3486></DIV
3487><HR><DIV
3488CLASS="REFSECT2"
3489><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00003490NAME="AEN815"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003491></A
3492><H3
3493><A
3494NAME="REFERENCESAXFUNC"
3495></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003496>referenceSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003497><TABLE
3498BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003499BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003500WIDTH="100%"
3501CELLPADDING="6"
3502><TR
3503><TD
3504><PRE
3505CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003506>void (*referenceSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003507 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003508HREF="gnome-xml-tree.html#XMLCHAR"
3509>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003510> *name);</PRE
3511></TD
3512></TR
3513></TABLE
3514><P
3515></P
3516><DIV
3517CLASS="INFORMALTABLE"
3518><P
3519></P
3520><TABLE
3521BORDER="0"
3522WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003523BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003524CELLSPACING="0"
3525CELLPADDING="4"
3526CLASS="CALSTABLE"
3527><TR
3528><TD
3529WIDTH="20%"
3530ALIGN="RIGHT"
3531VALIGN="TOP"
3532><TT
3533CLASS="PARAMETER"
3534><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003535>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003536></TT
3537>&nbsp;:</TD
3538><TD
3539WIDTH="80%"
3540ALIGN="LEFT"
3541VALIGN="TOP"
3542>&nbsp;</TD
3543></TR
3544><TR
3545><TD
3546WIDTH="20%"
3547ALIGN="RIGHT"
3548VALIGN="TOP"
3549><TT
3550CLASS="PARAMETER"
3551><I
3552>name</I
3553></TT
3554>&nbsp;:</TD
3555><TD
3556WIDTH="80%"
3557ALIGN="LEFT"
3558VALIGN="TOP"
3559>&nbsp;</TD
3560></TR
3561></TABLE
3562><P
3563></P
3564></DIV
3565></DIV
3566><HR><DIV
3567CLASS="REFSECT2"
3568><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00003569NAME="AEN834"
Daniel Veillard35925471999-02-25 08:46:07 +00003570></A
3571><H3
3572><A
3573NAME="CHARACTERSSAXFUNC"
3574></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003575>charactersSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003576><TABLE
3577BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003578BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003579WIDTH="100%"
3580CELLPADDING="6"
3581><TR
3582><TD
3583><PRE
3584CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003585>void (*charactersSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003586 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003587HREF="gnome-xml-tree.html#XMLCHAR"
3588>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003589> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +00003590 int len);</PRE
3591></TD
3592></TR
3593></TABLE
3594><P
3595></P
3596><DIV
3597CLASS="INFORMALTABLE"
3598><P
3599></P
3600><TABLE
3601BORDER="0"
3602WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003603BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003604CELLSPACING="0"
3605CELLPADDING="4"
3606CLASS="CALSTABLE"
3607><TR
3608><TD
3609WIDTH="20%"
3610ALIGN="RIGHT"
3611VALIGN="TOP"
3612><TT
3613CLASS="PARAMETER"
3614><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003615>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003616></TT
3617>&nbsp;:</TD
3618><TD
3619WIDTH="80%"
3620ALIGN="LEFT"
3621VALIGN="TOP"
3622>&nbsp;</TD
3623></TR
3624><TR
3625><TD
3626WIDTH="20%"
3627ALIGN="RIGHT"
3628VALIGN="TOP"
3629><TT
3630CLASS="PARAMETER"
3631><I
3632>ch</I
3633></TT
3634>&nbsp;:</TD
3635><TD
3636WIDTH="80%"
3637ALIGN="LEFT"
3638VALIGN="TOP"
3639>&nbsp;</TD
3640></TR
3641><TR
3642><TD
3643WIDTH="20%"
3644ALIGN="RIGHT"
3645VALIGN="TOP"
3646><TT
3647CLASS="PARAMETER"
3648><I
Daniel Veillard35925471999-02-25 08:46:07 +00003649>len</I
3650></TT
3651>&nbsp;:</TD
3652><TD
3653WIDTH="80%"
3654ALIGN="LEFT"
3655VALIGN="TOP"
3656>&nbsp;</TD
3657></TR
3658></TABLE
3659><P
3660></P
3661></DIV
3662></DIV
3663><HR><DIV
3664CLASS="REFSECT2"
3665><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00003666NAME="AEN857"
Daniel Veillard35925471999-02-25 08:46:07 +00003667></A
3668><H3
3669><A
3670NAME="IGNORABLEWHITESPACESAXFUNC"
3671></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003672>ignorableWhitespaceSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003673><TABLE
3674BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003675BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003676WIDTH="100%"
3677CELLPADDING="6"
3678><TR
3679><TD
3680><PRE
3681CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003682>void (*ignorableWhitespaceSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003683 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003684HREF="gnome-xml-tree.html#XMLCHAR"
3685>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003686> *ch,
Daniel Veillard35925471999-02-25 08:46:07 +00003687 int len);</PRE
3688></TD
3689></TR
3690></TABLE
3691><P
3692></P
3693><DIV
3694CLASS="INFORMALTABLE"
3695><P
3696></P
3697><TABLE
3698BORDER="0"
3699WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003700BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003701CELLSPACING="0"
3702CELLPADDING="4"
3703CLASS="CALSTABLE"
3704><TR
3705><TD
3706WIDTH="20%"
3707ALIGN="RIGHT"
3708VALIGN="TOP"
3709><TT
3710CLASS="PARAMETER"
3711><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003712>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003713></TT
3714>&nbsp;:</TD
3715><TD
3716WIDTH="80%"
3717ALIGN="LEFT"
3718VALIGN="TOP"
3719>&nbsp;</TD
3720></TR
3721><TR
3722><TD
3723WIDTH="20%"
3724ALIGN="RIGHT"
3725VALIGN="TOP"
3726><TT
3727CLASS="PARAMETER"
3728><I
3729>ch</I
3730></TT
3731>&nbsp;:</TD
3732><TD
3733WIDTH="80%"
3734ALIGN="LEFT"
3735VALIGN="TOP"
3736>&nbsp;</TD
3737></TR
3738><TR
3739><TD
3740WIDTH="20%"
3741ALIGN="RIGHT"
3742VALIGN="TOP"
3743><TT
3744CLASS="PARAMETER"
3745><I
Daniel Veillard35925471999-02-25 08:46:07 +00003746>len</I
3747></TT
3748>&nbsp;:</TD
3749><TD
3750WIDTH="80%"
3751ALIGN="LEFT"
3752VALIGN="TOP"
3753>&nbsp;</TD
3754></TR
3755></TABLE
3756><P
3757></P
3758></DIV
3759></DIV
3760><HR><DIV
3761CLASS="REFSECT2"
3762><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00003763NAME="AEN880"
Daniel Veillard35925471999-02-25 08:46:07 +00003764></A
3765><H3
3766><A
3767NAME="PROCESSINGINSTRUCTIONSAXFUNC"
3768></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003769>processingInstructionSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003770><TABLE
3771BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003772BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003773WIDTH="100%"
3774CELLPADDING="6"
3775><TR
3776><TD
3777><PRE
3778CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003779>void (*processingInstructionSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00003780 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003781HREF="gnome-xml-tree.html#XMLCHAR"
3782>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003783> *target,
3784 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003785HREF="gnome-xml-tree.html#XMLCHAR"
3786>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003787> *data);</PRE
3788></TD
3789></TR
3790></TABLE
3791><P
3792></P
3793><DIV
3794CLASS="INFORMALTABLE"
3795><P
3796></P
3797><TABLE
3798BORDER="0"
3799WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003800BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003801CELLSPACING="0"
3802CELLPADDING="4"
3803CLASS="CALSTABLE"
3804><TR
3805><TD
3806WIDTH="20%"
3807ALIGN="RIGHT"
3808VALIGN="TOP"
3809><TT
3810CLASS="PARAMETER"
3811><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003812>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00003813></TT
3814>&nbsp;:</TD
3815><TD
3816WIDTH="80%"
3817ALIGN="LEFT"
3818VALIGN="TOP"
3819>&nbsp;</TD
3820></TR
3821><TR
3822><TD
3823WIDTH="20%"
3824ALIGN="RIGHT"
3825VALIGN="TOP"
3826><TT
3827CLASS="PARAMETER"
3828><I
3829>target</I
3830></TT
3831>&nbsp;:</TD
3832><TD
3833WIDTH="80%"
3834ALIGN="LEFT"
3835VALIGN="TOP"
3836>&nbsp;</TD
3837></TR
3838><TR
3839><TD
3840WIDTH="20%"
3841ALIGN="RIGHT"
3842VALIGN="TOP"
3843><TT
3844CLASS="PARAMETER"
3845><I
3846>data</I
3847></TT
3848>&nbsp;:</TD
3849><TD
3850WIDTH="80%"
3851ALIGN="LEFT"
3852VALIGN="TOP"
3853>&nbsp;</TD
3854></TR
3855></TABLE
3856><P
3857></P
3858></DIV
3859></DIV
3860><HR><DIV
3861CLASS="REFSECT2"
3862><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00003863NAME="AEN904"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003864></A
3865><H3
3866><A
3867NAME="COMMENTSAXFUNC"
3868></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003869>commentSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003870><TABLE
3871BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003872BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003873WIDTH="100%"
3874CELLPADDING="6"
3875><TR
3876><TD
3877><PRE
3878CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003879>void (*commentSAXFunc) (void *ctx,
Daniel Veillard5099ae81999-04-21 20:12:07 +00003880 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003881HREF="gnome-xml-tree.html#XMLCHAR"
3882>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003883> *value);</PRE
3884></TD
3885></TR
3886></TABLE
3887><P
3888></P
3889><DIV
3890CLASS="INFORMALTABLE"
3891><P
3892></P
3893><TABLE
3894BORDER="0"
3895WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003896BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003897CELLSPACING="0"
3898CELLPADDING="4"
3899CLASS="CALSTABLE"
3900><TR
3901><TD
3902WIDTH="20%"
3903ALIGN="RIGHT"
3904VALIGN="TOP"
3905><TT
3906CLASS="PARAMETER"
3907><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00003908>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003909></TT
3910>&nbsp;:</TD
3911><TD
3912WIDTH="80%"
3913ALIGN="LEFT"
3914VALIGN="TOP"
3915>&nbsp;</TD
3916></TR
3917><TR
3918><TD
3919WIDTH="20%"
3920ALIGN="RIGHT"
3921VALIGN="TOP"
3922><TT
3923CLASS="PARAMETER"
3924><I
3925>value</I
3926></TT
3927>&nbsp;:</TD
3928><TD
3929WIDTH="80%"
3930ALIGN="LEFT"
3931VALIGN="TOP"
3932>&nbsp;</TD
3933></TR
3934></TABLE
3935><P
3936></P
3937></DIV
3938></DIV
3939><HR><DIV
3940CLASS="REFSECT2"
3941><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00003942NAME="AEN923"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003943></A
3944><H3
3945><A
3946NAME="CDATABLOCKSAXFUNC"
3947></A
3948>cdataBlockSAXFunc ()</H3
3949><TABLE
3950BORDER="0"
3951BGCOLOR="#D6E8FF"
3952WIDTH="100%"
3953CELLPADDING="6"
3954><TR
3955><TD
3956><PRE
3957CLASS="PROGRAMLISTING"
3958>void (*cdataBlockSAXFunc) (void *ctx,
3959 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003960HREF="gnome-xml-tree.html#XMLCHAR"
3961>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00003962> *value,
3963 int len);</PRE
3964></TD
3965></TR
3966></TABLE
3967><P
3968></P
3969><DIV
3970CLASS="INFORMALTABLE"
3971><P
3972></P
3973><TABLE
3974BORDER="0"
3975WIDTH="100%"
3976BGCOLOR="#FFD0D0"
3977CELLSPACING="0"
3978CELLPADDING="4"
3979CLASS="CALSTABLE"
3980><TR
3981><TD
3982WIDTH="20%"
3983ALIGN="RIGHT"
3984VALIGN="TOP"
3985><TT
3986CLASS="PARAMETER"
3987><I
3988>ctx</I
3989></TT
3990>&nbsp;:</TD
3991><TD
3992WIDTH="80%"
3993ALIGN="LEFT"
3994VALIGN="TOP"
3995>&nbsp;</TD
3996></TR
3997><TR
3998><TD
3999WIDTH="20%"
4000ALIGN="RIGHT"
4001VALIGN="TOP"
4002><TT
4003CLASS="PARAMETER"
4004><I
4005>value</I
4006></TT
4007>&nbsp;:</TD
4008><TD
4009WIDTH="80%"
4010ALIGN="LEFT"
4011VALIGN="TOP"
4012>&nbsp;</TD
4013></TR
4014><TR
4015><TD
4016WIDTH="20%"
4017ALIGN="RIGHT"
4018VALIGN="TOP"
4019><TT
4020CLASS="PARAMETER"
4021><I
4022>len</I
4023></TT
4024>&nbsp;:</TD
4025><TD
4026WIDTH="80%"
4027ALIGN="LEFT"
4028VALIGN="TOP"
4029>&nbsp;</TD
4030></TR
4031></TABLE
4032><P
4033></P
4034></DIV
4035></DIV
4036><HR><DIV
4037CLASS="REFSECT2"
4038><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004039NAME="AEN946"
Daniel Veillard35925471999-02-25 08:46:07 +00004040></A
4041><H3
4042><A
4043NAME="WARNINGSAXFUNC"
4044></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004045>warningSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004046><TABLE
4047BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004048BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004049WIDTH="100%"
4050CELLPADDING="6"
4051><TR
4052><TD
4053><PRE
4054CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004055>void (*warningSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004056 const char *msg,
4057 ...);</PRE
4058></TD
4059></TR
4060></TABLE
4061><P
4062></P
4063><DIV
4064CLASS="INFORMALTABLE"
4065><P
4066></P
4067><TABLE
4068BORDER="0"
4069WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004070BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004071CELLSPACING="0"
4072CELLPADDING="4"
4073CLASS="CALSTABLE"
4074><TR
4075><TD
4076WIDTH="20%"
4077ALIGN="RIGHT"
4078VALIGN="TOP"
4079><TT
4080CLASS="PARAMETER"
4081><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004082>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004083></TT
4084>&nbsp;:</TD
4085><TD
4086WIDTH="80%"
4087ALIGN="LEFT"
4088VALIGN="TOP"
4089>&nbsp;</TD
4090></TR
4091><TR
4092><TD
4093WIDTH="20%"
4094ALIGN="RIGHT"
4095VALIGN="TOP"
4096><TT
4097CLASS="PARAMETER"
4098><I
4099>msg</I
4100></TT
4101>&nbsp;:</TD
4102><TD
4103WIDTH="80%"
4104ALIGN="LEFT"
4105VALIGN="TOP"
4106>&nbsp;</TD
4107></TR
4108><TR
4109><TD
4110WIDTH="20%"
4111ALIGN="RIGHT"
4112VALIGN="TOP"
4113><TT
4114CLASS="PARAMETER"
4115><I
4116>...</I
4117></TT
4118>&nbsp;:</TD
4119><TD
4120WIDTH="80%"
4121ALIGN="LEFT"
4122VALIGN="TOP"
4123>&nbsp;</TD
4124></TR
4125></TABLE
4126><P
4127></P
4128></DIV
4129></DIV
4130><HR><DIV
4131CLASS="REFSECT2"
4132><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004133NAME="AEN968"
Daniel Veillard35925471999-02-25 08:46:07 +00004134></A
4135><H3
4136><A
4137NAME="ERRORSAXFUNC"
4138></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004139>errorSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004140><TABLE
4141BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004142BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004143WIDTH="100%"
4144CELLPADDING="6"
4145><TR
4146><TD
4147><PRE
4148CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004149>void (*errorSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004150 const char *msg,
4151 ...);</PRE
4152></TD
4153></TR
4154></TABLE
4155><P
4156></P
4157><DIV
4158CLASS="INFORMALTABLE"
4159><P
4160></P
4161><TABLE
4162BORDER="0"
4163WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004164BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004165CELLSPACING="0"
4166CELLPADDING="4"
4167CLASS="CALSTABLE"
4168><TR
4169><TD
4170WIDTH="20%"
4171ALIGN="RIGHT"
4172VALIGN="TOP"
4173><TT
4174CLASS="PARAMETER"
4175><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004176>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004177></TT
4178>&nbsp;:</TD
4179><TD
4180WIDTH="80%"
4181ALIGN="LEFT"
4182VALIGN="TOP"
4183>&nbsp;</TD
4184></TR
4185><TR
4186><TD
4187WIDTH="20%"
4188ALIGN="RIGHT"
4189VALIGN="TOP"
4190><TT
4191CLASS="PARAMETER"
4192><I
4193>msg</I
4194></TT
4195>&nbsp;:</TD
4196><TD
4197WIDTH="80%"
4198ALIGN="LEFT"
4199VALIGN="TOP"
4200>&nbsp;</TD
4201></TR
4202><TR
4203><TD
4204WIDTH="20%"
4205ALIGN="RIGHT"
4206VALIGN="TOP"
4207><TT
4208CLASS="PARAMETER"
4209><I
4210>...</I
4211></TT
4212>&nbsp;:</TD
4213><TD
4214WIDTH="80%"
4215ALIGN="LEFT"
4216VALIGN="TOP"
4217>&nbsp;</TD
4218></TR
4219></TABLE
4220><P
4221></P
4222></DIV
4223></DIV
4224><HR><DIV
4225CLASS="REFSECT2"
4226><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004227NAME="AEN990"
Daniel Veillard35925471999-02-25 08:46:07 +00004228></A
4229><H3
4230><A
4231NAME="FATALERRORSAXFUNC"
4232></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004233>fatalErrorSAXFunc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004234><TABLE
4235BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004236BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004237WIDTH="100%"
4238CELLPADDING="6"
4239><TR
4240><TD
4241><PRE
4242CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004243>void (*fatalErrorSAXFunc) (void *ctx,
Daniel Veillard35925471999-02-25 08:46:07 +00004244 const char *msg,
4245 ...);</PRE
4246></TD
4247></TR
4248></TABLE
4249><P
4250></P
4251><DIV
4252CLASS="INFORMALTABLE"
4253><P
4254></P
4255><TABLE
4256BORDER="0"
4257WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004258BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004259CELLSPACING="0"
4260CELLPADDING="4"
4261CLASS="CALSTABLE"
4262><TR
4263><TD
4264WIDTH="20%"
4265ALIGN="RIGHT"
4266VALIGN="TOP"
4267><TT
4268CLASS="PARAMETER"
4269><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004270>ctx</I
Daniel Veillard35925471999-02-25 08:46:07 +00004271></TT
4272>&nbsp;:</TD
4273><TD
4274WIDTH="80%"
4275ALIGN="LEFT"
4276VALIGN="TOP"
4277>&nbsp;</TD
4278></TR
4279><TR
4280><TD
4281WIDTH="20%"
4282ALIGN="RIGHT"
4283VALIGN="TOP"
4284><TT
4285CLASS="PARAMETER"
4286><I
4287>msg</I
4288></TT
4289>&nbsp;:</TD
4290><TD
4291WIDTH="80%"
4292ALIGN="LEFT"
4293VALIGN="TOP"
4294>&nbsp;</TD
4295></TR
4296><TR
4297><TD
4298WIDTH="20%"
4299ALIGN="RIGHT"
4300VALIGN="TOP"
4301><TT
4302CLASS="PARAMETER"
4303><I
4304>...</I
4305></TT
4306>&nbsp;:</TD
4307><TD
4308WIDTH="80%"
4309ALIGN="LEFT"
4310VALIGN="TOP"
4311>&nbsp;</TD
4312></TR
4313></TABLE
4314><P
4315></P
4316></DIV
4317></DIV
4318><HR><DIV
4319CLASS="REFSECT2"
4320><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004321NAME="AEN1012"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004322></A
4323><H3
4324><A
4325NAME="ISSTANDALONESAXFUNC"
4326></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004327>isStandaloneSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004328><TABLE
4329BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004330BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004331WIDTH="100%"
4332CELLPADDING="6"
4333><TR
4334><TD
4335><PRE
4336CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004337>int (*isStandaloneSAXFunc) (void *ctx);</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00004338></TD
4339></TR
4340></TABLE
4341><P
4342></P
4343><DIV
4344CLASS="INFORMALTABLE"
4345><P
4346></P
4347><TABLE
4348BORDER="0"
4349WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004350BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004351CELLSPACING="0"
4352CELLPADDING="4"
4353CLASS="CALSTABLE"
4354><TR
4355><TD
4356WIDTH="20%"
4357ALIGN="RIGHT"
4358VALIGN="TOP"
4359><TT
4360CLASS="PARAMETER"
4361><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004362>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004363></TT
4364>&nbsp;:</TD
4365><TD
4366WIDTH="80%"
4367ALIGN="LEFT"
4368VALIGN="TOP"
4369>&nbsp;</TD
4370></TR
4371><TR
4372><TD
4373WIDTH="20%"
4374ALIGN="RIGHT"
4375VALIGN="TOP"
4376><I
4377CLASS="EMPHASIS"
4378>Returns</I
4379> :</TD
4380><TD
4381WIDTH="80%"
4382ALIGN="LEFT"
4383VALIGN="TOP"
4384>&nbsp;</TD
4385></TR
4386></TABLE
4387><P
4388></P
4389></DIV
4390></DIV
4391><HR><DIV
4392CLASS="REFSECT2"
4393><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004394NAME="AEN1030"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004395></A
4396><H3
4397><A
4398NAME="HASINTERNALSUBSETSAXFUNC"
4399></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004400>hasInternalSubsetSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004401><TABLE
4402BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004403BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004404WIDTH="100%"
4405CELLPADDING="6"
4406><TR
4407><TD
4408><PRE
4409CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004410>int (*hasInternalSubsetSAXFunc) (void *ctx);</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00004411></TD
4412></TR
4413></TABLE
4414><P
4415></P
4416><DIV
4417CLASS="INFORMALTABLE"
4418><P
4419></P
4420><TABLE
4421BORDER="0"
4422WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004423BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004424CELLSPACING="0"
4425CELLPADDING="4"
4426CLASS="CALSTABLE"
4427><TR
4428><TD
4429WIDTH="20%"
4430ALIGN="RIGHT"
4431VALIGN="TOP"
4432><TT
4433CLASS="PARAMETER"
4434><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004435>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004436></TT
4437>&nbsp;:</TD
4438><TD
4439WIDTH="80%"
4440ALIGN="LEFT"
4441VALIGN="TOP"
4442>&nbsp;</TD
4443></TR
4444><TR
4445><TD
4446WIDTH="20%"
4447ALIGN="RIGHT"
4448VALIGN="TOP"
4449><I
4450CLASS="EMPHASIS"
4451>Returns</I
4452> :</TD
4453><TD
4454WIDTH="80%"
4455ALIGN="LEFT"
4456VALIGN="TOP"
4457>&nbsp;</TD
4458></TR
4459></TABLE
4460><P
4461></P
4462></DIV
4463></DIV
4464><HR><DIV
4465CLASS="REFSECT2"
4466><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004467NAME="AEN1048"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004468></A
4469><H3
4470><A
4471NAME="HASEXTERNALSUBSETSAXFUNC"
4472></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004473>hasExternalSubsetSAXFunc ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004474><TABLE
4475BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004476BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004477WIDTH="100%"
4478CELLPADDING="6"
4479><TR
4480><TD
4481><PRE
4482CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004483>int (*hasExternalSubsetSAXFunc) (void *ctx);</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00004484></TD
4485></TR
4486></TABLE
4487><P
4488></P
4489><DIV
4490CLASS="INFORMALTABLE"
4491><P
4492></P
4493><TABLE
4494BORDER="0"
4495WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004496BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004497CELLSPACING="0"
4498CELLPADDING="4"
4499CLASS="CALSTABLE"
4500><TR
4501><TD
4502WIDTH="20%"
4503ALIGN="RIGHT"
4504VALIGN="TOP"
4505><TT
4506CLASS="PARAMETER"
4507><I
Daniel Veillard011b63c1999-06-02 17:44:04 +00004508>ctx</I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004509></TT
4510>&nbsp;:</TD
4511><TD
4512WIDTH="80%"
4513ALIGN="LEFT"
4514VALIGN="TOP"
4515>&nbsp;</TD
4516></TR
4517><TR
4518><TD
4519WIDTH="20%"
4520ALIGN="RIGHT"
4521VALIGN="TOP"
4522><I
4523CLASS="EMPHASIS"
4524>Returns</I
4525> :</TD
4526><TD
4527WIDTH="80%"
4528ALIGN="LEFT"
4529VALIGN="TOP"
4530>&nbsp;</TD
4531></TR
4532></TABLE
4533><P
4534></P
4535></DIV
4536></DIV
4537><HR><DIV
4538CLASS="REFSECT2"
4539><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004540NAME="AEN1066"
Daniel Veillard24491f62000-01-05 14:58:38 +00004541></A
4542><H3
4543><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004544NAME="XMLSAXHANDLER"
Daniel Veillard24491f62000-01-05 14:58:38 +00004545></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004546>struct xmlSAXHandler</H3
4547><TABLE
4548BORDER="0"
4549BGCOLOR="#D6E8FF"
4550WIDTH="100%"
4551CELLPADDING="6"
4552><TR
4553><TD
4554><PRE
4555CLASS="PROGRAMLISTING"
4556>struct xmlSAXHandler {
4557 internalSubsetSAXFunc internalSubset;
4558 isStandaloneSAXFunc isStandalone;
4559 hasInternalSubsetSAXFunc hasInternalSubset;
4560 hasExternalSubsetSAXFunc hasExternalSubset;
4561 resolveEntitySAXFunc resolveEntity;
4562 getEntitySAXFunc getEntity;
4563 entityDeclSAXFunc entityDecl;
4564 notationDeclSAXFunc notationDecl;
4565 attributeDeclSAXFunc attributeDecl;
4566 elementDeclSAXFunc elementDecl;
4567 unparsedEntityDeclSAXFunc unparsedEntityDecl;
4568 setDocumentLocatorSAXFunc setDocumentLocator;
4569 startDocumentSAXFunc startDocument;
4570 endDocumentSAXFunc endDocument;
4571 startElementSAXFunc startElement;
4572 endElementSAXFunc endElement;
4573 referenceSAXFunc reference;
4574 charactersSAXFunc characters;
4575 ignorableWhitespaceSAXFunc ignorableWhitespace;
4576 processingInstructionSAXFunc processingInstruction;
4577 commentSAXFunc comment;
4578 warningSAXFunc warning;
4579 errorSAXFunc error;
4580 fatalErrorSAXFunc fatalError;
4581 getParameterEntitySAXFunc getParameterEntity;
4582 cdataBlockSAXFunc cdataBlock;
4583 externalSubsetSAXFunc externalSubset;
4584};</PRE
4585></TD
4586></TR
4587></TABLE
Daniel Veillard24491f62000-01-05 14:58:38 +00004588><P
4589></P
4590></DIV
4591><HR><DIV
4592CLASS="REFSECT2"
4593><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004594NAME="AEN1071"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004595></A
4596><H3
4597><A
4598NAME="XMLSAXHANDLERPTR"
4599></A
4600>xmlSAXHandlerPtr</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004601><TABLE
4602BORDER="0"
4603BGCOLOR="#D6E8FF"
4604WIDTH="100%"
4605CELLPADDING="6"
4606><TR
4607><TD
4608><PRE
4609CLASS="PROGRAMLISTING"
4610>typedef xmlSAXHandler *xmlSAXHandlerPtr;</PRE
4611></TD
4612></TR
4613></TABLE
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004614><P
4615></P
4616></DIV
4617><HR><DIV
4618CLASS="REFSECT2"
4619><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004620NAME="AEN1076"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004621></A
4622><H3
4623><A
4624NAME="XMLEXTERNALENTITYLOADER"
4625></A
4626>xmlExternalEntityLoader ()</H3
4627><TABLE
4628BORDER="0"
4629BGCOLOR="#D6E8FF"
4630WIDTH="100%"
4631CELLPADDING="6"
4632><TR
4633><TD
4634><PRE
4635CLASS="PROGRAMLISTING"
4636><A
4637HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
4638>xmlParserInputPtr</A
4639> (*xmlExternalEntityLoader)
4640 (const char *URL,
4641 const char *ID,
4642 <A
4643HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4644>xmlParserCtxtPtr</A
4645> context);</PRE
4646></TD
4647></TR
4648></TABLE
4649><P
4650></P
4651><DIV
4652CLASS="INFORMALTABLE"
4653><P
4654></P
4655><TABLE
4656BORDER="0"
4657WIDTH="100%"
4658BGCOLOR="#FFD0D0"
4659CELLSPACING="0"
4660CELLPADDING="4"
4661CLASS="CALSTABLE"
4662><TR
4663><TD
4664WIDTH="20%"
4665ALIGN="RIGHT"
4666VALIGN="TOP"
4667><TT
4668CLASS="PARAMETER"
4669><I
4670>URL</I
4671></TT
4672>&nbsp;:</TD
4673><TD
4674WIDTH="80%"
4675ALIGN="LEFT"
4676VALIGN="TOP"
4677>&nbsp;</TD
4678></TR
4679><TR
4680><TD
4681WIDTH="20%"
4682ALIGN="RIGHT"
4683VALIGN="TOP"
4684><TT
4685CLASS="PARAMETER"
4686><I
4687>ID</I
4688></TT
4689>&nbsp;:</TD
4690><TD
4691WIDTH="80%"
4692ALIGN="LEFT"
4693VALIGN="TOP"
4694>&nbsp;</TD
4695></TR
4696><TR
4697><TD
4698WIDTH="20%"
4699ALIGN="RIGHT"
4700VALIGN="TOP"
4701><TT
4702CLASS="PARAMETER"
4703><I
4704>context</I
4705></TT
4706>&nbsp;:</TD
4707><TD
4708WIDTH="80%"
4709ALIGN="LEFT"
4710VALIGN="TOP"
4711>&nbsp;</TD
4712></TR
4713><TR
4714><TD
4715WIDTH="20%"
4716ALIGN="RIGHT"
4717VALIGN="TOP"
4718><I
4719CLASS="EMPHASIS"
4720>Returns</I
4721> :</TD
4722><TD
4723WIDTH="80%"
4724ALIGN="LEFT"
4725VALIGN="TOP"
4726>&nbsp;</TD
4727></TR
4728></TABLE
4729><P
4730></P
4731></DIV
4732></DIV
4733><HR><DIV
4734CLASS="REFSECT2"
4735><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004736NAME="AEN1104"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00004737></A
4738><H3
4739><A
4740NAME="XMLPARSERVERSION"
4741></A
4742>xmlParserVersion</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004743><TABLE
4744BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004745BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004746WIDTH="100%"
4747CELLPADDING="6"
4748><TR
4749><TD
4750><PRE
4751CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00004752>extern const char *xmlParserVersion;</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00004753></TD
4754></TR
4755></TABLE
4756><P
4757></P
4758></DIV
4759><HR><DIV
4760CLASS="REFSECT2"
4761><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004762NAME="AEN1109"
Daniel Veillard14fff061999-06-22 21:49:07 +00004763></A
4764><H3
4765><A
4766NAME="XMLDEFAULTSAXLOCATOR"
4767></A
4768>xmlDefaultSAXLocator</H3
4769><TABLE
4770BORDER="0"
4771BGCOLOR="#D6E8FF"
4772WIDTH="100%"
4773CELLPADDING="6"
4774><TR
4775><TD
4776><PRE
4777CLASS="PROGRAMLISTING"
4778>extern xmlSAXLocator xmlDefaultSAXLocator;</PRE
4779></TD
4780></TR
4781></TABLE
4782><P
4783></P
4784></DIV
4785><HR><DIV
4786CLASS="REFSECT2"
4787><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004788NAME="AEN1114"
Daniel Veillard14fff061999-06-22 21:49:07 +00004789></A
4790><H3
4791><A
4792NAME="XMLDEFAULTSAXHANDLER"
4793></A
4794>xmlDefaultSAXHandler</H3
4795><TABLE
4796BORDER="0"
4797BGCOLOR="#D6E8FF"
4798WIDTH="100%"
4799CELLPADDING="6"
4800><TR
4801><TD
4802><PRE
4803CLASS="PROGRAMLISTING"
4804>extern xmlSAXHandler xmlDefaultSAXHandler;</PRE
4805></TD
4806></TR
4807></TABLE
4808><P
4809></P
4810></DIV
4811><HR><DIV
4812CLASS="REFSECT2"
4813><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004814NAME="AEN1119"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00004815></A
4816><H3
4817><A
4818NAME="HTMLDEFAULTSAXHANDLER"
4819></A
4820>htmlDefaultSAXHandler</H3
4821><TABLE
4822BORDER="0"
4823BGCOLOR="#D6E8FF"
4824WIDTH="100%"
4825CELLPADDING="6"
4826><TR
4827><TD
4828><PRE
4829CLASS="PROGRAMLISTING"
4830>extern xmlSAXHandler htmlDefaultSAXHandler;</PRE
4831></TD
4832></TR
4833></TABLE
4834><P
4835></P
4836></DIV
4837><HR><DIV
4838CLASS="REFSECT2"
4839><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004840NAME="AEN1124"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004841></A
4842><H3
4843><A
4844NAME="SGMLDEFAULTSAXHANDLER"
4845></A
4846>sgmlDefaultSAXHandler</H3
4847><TABLE
4848BORDER="0"
4849BGCOLOR="#D6E8FF"
4850WIDTH="100%"
4851CELLPADDING="6"
4852><TR
4853><TD
4854><PRE
4855CLASS="PROGRAMLISTING"
4856>extern xmlSAXHandler sgmlDefaultSAXHandler;</PRE
4857></TD
4858></TR
4859></TABLE
4860><P
4861></P
4862></DIV
4863><HR><DIV
4864CLASS="REFSECT2"
4865><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004866NAME="AEN1129"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004867></A
4868><H3
4869><A
4870NAME="XMLSUBSTITUTEENTITIESDEFAULTVALUE"
4871></A
4872>xmlSubstituteEntitiesDefaultValue</H3
4873><TABLE
4874BORDER="0"
4875BGCOLOR="#D6E8FF"
4876WIDTH="100%"
4877CELLPADDING="6"
4878><TR
4879><TD
4880><PRE
4881CLASS="PROGRAMLISTING"
4882>extern int xmlSubstituteEntitiesDefaultValue;</PRE
4883></TD
4884></TR
4885></TABLE
4886><P
4887></P
4888></DIV
4889><HR><DIV
4890CLASS="REFSECT2"
4891><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004892NAME="AEN1134"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004893></A
4894><H3
4895><A
4896NAME="XMLGETWARNINGSDEFAULTVALUE"
4897></A
4898>xmlGetWarningsDefaultValue</H3
4899><TABLE
4900BORDER="0"
4901BGCOLOR="#D6E8FF"
4902WIDTH="100%"
4903CELLPADDING="6"
4904><TR
4905><TD
4906><PRE
4907CLASS="PROGRAMLISTING"
4908>extern int xmlGetWarningsDefaultValue;</PRE
4909></TD
4910></TR
4911></TABLE
4912><P
4913></P
4914></DIV
4915><HR><DIV
4916CLASS="REFSECT2"
4917><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004918NAME="AEN1139"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004919></A
4920><H3
4921><A
4922NAME="XMLINITPARSER"
4923></A
4924>xmlInitParser ()</H3
4925><TABLE
4926BORDER="0"
4927BGCOLOR="#D6E8FF"
4928WIDTH="100%"
4929CELLPADDING="6"
4930><TR
4931><TD
4932><PRE
4933CLASS="PROGRAMLISTING"
4934>void xmlInitParser (void);</PRE
4935></TD
4936></TR
4937></TABLE
4938><P
4939>Initialization function for the XML parser.
4940This is not reentrant. Call once before processing in case of
4941use in multithreaded programs.</P
4942><P
4943></P
4944></DIV
4945><HR><DIV
4946CLASS="REFSECT2"
4947><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004948NAME="AEN1145"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004949></A
4950><H3
4951><A
4952NAME="XMLCLEANUPPARSER"
4953></A
4954>xmlCleanupParser ()</H3
4955><TABLE
4956BORDER="0"
4957BGCOLOR="#D6E8FF"
4958WIDTH="100%"
4959CELLPADDING="6"
4960><TR
4961><TD
4962><PRE
4963CLASS="PROGRAMLISTING"
4964>void xmlCleanupParser (void);</PRE
4965></TD
4966></TR
4967></TABLE
4968><P
4969>Cleanup function for the XML parser. It tries to reclaim all
4970parsing related global memory allocated for the parser processing.
4971It doesn't deallocate any document related memory. Calling this
4972function should not prevent reusing the parser.</P
4973><P
4974></P
4975></DIV
4976><HR><DIV
4977CLASS="REFSECT2"
4978><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00004979NAME="AEN1151"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004980></A
4981><H3
4982><A
4983NAME="XMLPARSERINPUTREAD"
4984></A
4985>xmlParserInputRead ()</H3
4986><TABLE
4987BORDER="0"
4988BGCOLOR="#D6E8FF"
4989WIDTH="100%"
4990CELLPADDING="6"
4991><TR
4992><TD
4993><PRE
4994CLASS="PROGRAMLISTING"
4995>int xmlParserInputRead (<A
4996HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
4997>xmlParserInputPtr</A
4998> in,
4999 int len);</PRE
5000></TD
5001></TR
5002></TABLE
5003><P
5004>This function refresh the input for the parser. It doesn't try to
5005preserve pointers to the input buffer, and discard already read data</P
5006><P
5007></P
5008><DIV
5009CLASS="INFORMALTABLE"
5010><P
5011></P
5012><TABLE
5013BORDER="0"
5014WIDTH="100%"
5015BGCOLOR="#FFD0D0"
5016CELLSPACING="0"
5017CELLPADDING="4"
5018CLASS="CALSTABLE"
5019><TR
5020><TD
5021WIDTH="20%"
5022ALIGN="RIGHT"
5023VALIGN="TOP"
5024><TT
5025CLASS="PARAMETER"
5026><I
5027>in</I
5028></TT
5029>&nbsp;:</TD
5030><TD
5031WIDTH="80%"
5032ALIGN="LEFT"
5033VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005034> an XML parser input</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005035></TR
5036><TR
5037><TD
5038WIDTH="20%"
5039ALIGN="RIGHT"
5040VALIGN="TOP"
5041><TT
5042CLASS="PARAMETER"
5043><I
5044>len</I
5045></TT
5046>&nbsp;:</TD
5047><TD
5048WIDTH="80%"
5049ALIGN="LEFT"
5050VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005051> an indicative size for the lookahead</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005052></TR
5053><TR
5054><TD
5055WIDTH="20%"
5056ALIGN="RIGHT"
5057VALIGN="TOP"
5058><I
5059CLASS="EMPHASIS"
5060>Returns</I
5061> :</TD
5062><TD
5063WIDTH="80%"
5064ALIGN="LEFT"
5065VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005066>the number of xmlChars read, or -1 in case of error, 0 indicate the
5067end of this entity</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005068></TR
5069></TABLE
5070><P
5071></P
5072></DIV
5073></DIV
5074><HR><DIV
5075CLASS="REFSECT2"
5076><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00005077NAME="AEN1175"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005078></A
5079><H3
5080><A
5081NAME="XMLPARSERINPUTGROW"
5082></A
5083>xmlParserInputGrow ()</H3
5084><TABLE
5085BORDER="0"
5086BGCOLOR="#D6E8FF"
5087WIDTH="100%"
5088CELLPADDING="6"
5089><TR
5090><TD
5091><PRE
5092CLASS="PROGRAMLISTING"
5093>int xmlParserInputGrow (<A
5094HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
5095>xmlParserInputPtr</A
5096> in,
5097 int len);</PRE
5098></TD
5099></TR
5100></TABLE
5101><P
5102>This function increase the input for the parser. It tries to
5103preserve pointers to the input buffer, and keep already read data</P
5104><P
5105></P
5106><DIV
5107CLASS="INFORMALTABLE"
5108><P
5109></P
5110><TABLE
5111BORDER="0"
5112WIDTH="100%"
5113BGCOLOR="#FFD0D0"
5114CELLSPACING="0"
5115CELLPADDING="4"
5116CLASS="CALSTABLE"
5117><TR
5118><TD
5119WIDTH="20%"
5120ALIGN="RIGHT"
5121VALIGN="TOP"
5122><TT
5123CLASS="PARAMETER"
5124><I
5125>in</I
5126></TT
5127>&nbsp;:</TD
5128><TD
5129WIDTH="80%"
5130ALIGN="LEFT"
5131VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005132> an XML parser input</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005133></TR
5134><TR
5135><TD
5136WIDTH="20%"
5137ALIGN="RIGHT"
5138VALIGN="TOP"
5139><TT
5140CLASS="PARAMETER"
5141><I
5142>len</I
5143></TT
5144>&nbsp;:</TD
5145><TD
5146WIDTH="80%"
5147ALIGN="LEFT"
5148VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005149> an indicative size for the lookahead</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005150></TR
5151><TR
5152><TD
5153WIDTH="20%"
5154ALIGN="RIGHT"
5155VALIGN="TOP"
5156><I
5157CLASS="EMPHASIS"
5158>Returns</I
5159> :</TD
5160><TD
5161WIDTH="80%"
5162ALIGN="LEFT"
5163VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005164>the number of xmlChars read, or -1 in case of error, 0 indicate the
5165end of this entity</TD
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005166></TR
5167></TABLE
5168><P
5169></P
5170></DIV
5171></DIV
5172><HR><DIV
5173CLASS="REFSECT2"
5174><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00005175NAME="AEN1199"
Daniel Veillard35925471999-02-25 08:46:07 +00005176></A
5177><H3
5178><A
5179NAME="XMLSTRDUP"
5180></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005181>xmlStrdup ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005182><TABLE
5183BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005184BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005185WIDTH="100%"
5186CELLPADDING="6"
5187><TR
5188><TD
5189><PRE
5190CLASS="PROGRAMLISTING"
5191><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005192HREF="gnome-xml-tree.html#XMLCHAR"
5193>xmlChar</A
5194>* xmlStrdup (const <A
5195HREF="gnome-xml-tree.html#XMLCHAR"
5196>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005197> *cur);</PRE
5198></TD
5199></TR
5200></TABLE
5201><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005202>a strdup for array of xmlChar's. Since they are supposed to be
5203encoded in UTF-8 or an encoding with 8bit based chars, we assume
5204a termination mark of '0'.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005205><P
5206></P
5207><DIV
5208CLASS="INFORMALTABLE"
5209><P
5210></P
5211><TABLE
5212BORDER="0"
5213WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005214BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005215CELLSPACING="0"
5216CELLPADDING="4"
5217CLASS="CALSTABLE"
5218><TR
5219><TD
5220WIDTH="20%"
5221ALIGN="RIGHT"
5222VALIGN="TOP"
5223><TT
5224CLASS="PARAMETER"
5225><I
5226>cur</I
5227></TT
5228>&nbsp;:</TD
5229><TD
5230WIDTH="80%"
5231ALIGN="LEFT"
5232VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005233> the input xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005234></TR
5235><TR
5236><TD
5237WIDTH="20%"
5238ALIGN="RIGHT"
5239VALIGN="TOP"
5240><I
5241CLASS="EMPHASIS"
5242>Returns</I
5243> :</TD
5244><TD
5245WIDTH="80%"
5246ALIGN="LEFT"
5247VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005248>a new xmlChar * or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005249></TR
5250></TABLE
5251><P
5252></P
5253></DIV
5254></DIV
5255><HR><DIV
5256CLASS="REFSECT2"
5257><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00005258NAME="AEN1220"
Daniel Veillard35925471999-02-25 08:46:07 +00005259></A
5260><H3
5261><A
5262NAME="XMLSTRNDUP"
5263></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005264>xmlStrndup ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005265><TABLE
5266BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005267BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005268WIDTH="100%"
5269CELLPADDING="6"
5270><TR
5271><TD
5272><PRE
5273CLASS="PROGRAMLISTING"
5274><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005275HREF="gnome-xml-tree.html#XMLCHAR"
5276>xmlChar</A
5277>* xmlStrndup (const <A
5278HREF="gnome-xml-tree.html#XMLCHAR"
5279>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005280> *cur,
5281 int len);</PRE
5282></TD
5283></TR
5284></TABLE
5285><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005286>a strndup for array of xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00005287><P
5288></P
5289><DIV
5290CLASS="INFORMALTABLE"
5291><P
5292></P
5293><TABLE
5294BORDER="0"
5295WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005296BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005297CELLSPACING="0"
5298CELLPADDING="4"
5299CLASS="CALSTABLE"
5300><TR
5301><TD
5302WIDTH="20%"
5303ALIGN="RIGHT"
5304VALIGN="TOP"
5305><TT
5306CLASS="PARAMETER"
5307><I
5308>cur</I
5309></TT
5310>&nbsp;:</TD
5311><TD
5312WIDTH="80%"
5313ALIGN="LEFT"
5314VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005315> the input xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005316></TR
5317><TR
5318><TD
5319WIDTH="20%"
5320ALIGN="RIGHT"
5321VALIGN="TOP"
5322><TT
5323CLASS="PARAMETER"
5324><I
5325>len</I
5326></TT
5327>&nbsp;:</TD
5328><TD
5329WIDTH="80%"
5330ALIGN="LEFT"
5331VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005332> the len of <TT
5333CLASS="PARAMETER"
5334><I
5335>cur</I
5336></TT
5337></TD
Daniel Veillard35925471999-02-25 08:46:07 +00005338></TR
5339><TR
5340><TD
5341WIDTH="20%"
5342ALIGN="RIGHT"
5343VALIGN="TOP"
5344><I
5345CLASS="EMPHASIS"
5346>Returns</I
5347> :</TD
5348><TD
5349WIDTH="80%"
5350ALIGN="LEFT"
5351VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005352>a new xmlChar * or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005353></TR
5354></TABLE
5355><P
5356></P
5357></DIV
5358></DIV
5359><HR><DIV
5360CLASS="REFSECT2"
5361><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00005362NAME="AEN1246"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005363></A
5364><H3
5365><A
5366NAME="XMLSTRSUB"
5367></A
5368>xmlStrsub ()</H3
5369><TABLE
5370BORDER="0"
5371BGCOLOR="#D6E8FF"
5372WIDTH="100%"
5373CELLPADDING="6"
5374><TR
5375><TD
5376><PRE
5377CLASS="PROGRAMLISTING"
5378><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005379HREF="gnome-xml-tree.html#XMLCHAR"
5380>xmlChar</A
5381>* xmlStrsub (const <A
5382HREF="gnome-xml-tree.html#XMLCHAR"
5383>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005384> *str,
5385 int start,
5386 int len);</PRE
5387></TD
5388></TR
5389></TABLE
5390><P
5391>Extract a substring of a given string</P
5392><P
5393></P
5394><DIV
5395CLASS="INFORMALTABLE"
5396><P
5397></P
5398><TABLE
5399BORDER="0"
5400WIDTH="100%"
5401BGCOLOR="#FFD0D0"
5402CELLSPACING="0"
5403CELLPADDING="4"
5404CLASS="CALSTABLE"
5405><TR
5406><TD
5407WIDTH="20%"
5408ALIGN="RIGHT"
5409VALIGN="TOP"
5410><TT
5411CLASS="PARAMETER"
5412><I
5413>str</I
5414></TT
5415>&nbsp;:</TD
5416><TD
5417WIDTH="80%"
5418ALIGN="LEFT"
5419VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005420> the xmlChar * array (haystack)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005421></TR
5422><TR
5423><TD
5424WIDTH="20%"
5425ALIGN="RIGHT"
5426VALIGN="TOP"
5427><TT
5428CLASS="PARAMETER"
5429><I
5430>start</I
5431></TT
5432>&nbsp;:</TD
5433><TD
5434WIDTH="80%"
5435ALIGN="LEFT"
5436VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005437> the index of the first char (zero based)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005438></TR
5439><TR
5440><TD
5441WIDTH="20%"
5442ALIGN="RIGHT"
5443VALIGN="TOP"
5444><TT
5445CLASS="PARAMETER"
5446><I
5447>len</I
5448></TT
5449>&nbsp;:</TD
5450><TD
5451WIDTH="80%"
5452ALIGN="LEFT"
5453VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005454> the length of the substring</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005455></TR
5456><TR
5457><TD
5458WIDTH="20%"
5459ALIGN="RIGHT"
5460VALIGN="TOP"
5461><I
5462CLASS="EMPHASIS"
5463>Returns</I
5464> :</TD
5465><TD
5466WIDTH="80%"
5467ALIGN="LEFT"
5468VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005469>the xmlChar * for the first occurence or NULL.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005470></TR
5471></TABLE
5472><P
5473></P
5474></DIV
5475></DIV
5476><HR><DIV
5477CLASS="REFSECT2"
5478><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00005479NAME="AEN1275"
Daniel Veillard35925471999-02-25 08:46:07 +00005480></A
5481><H3
5482><A
5483NAME="XMLSTRCHR"
5484></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005485>xmlStrchr ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005486><TABLE
5487BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005488BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005489WIDTH="100%"
5490CELLPADDING="6"
5491><TR
5492><TD
5493><PRE
5494CLASS="PROGRAMLISTING"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005495>const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005496HREF="gnome-xml-tree.html#XMLCHAR"
5497>xmlChar</A
5498>* xmlStrchr (const <A
5499HREF="gnome-xml-tree.html#XMLCHAR"
5500>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005501> *str,
5502 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005503HREF="gnome-xml-tree.html#XMLCHAR"
5504>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005505> val);</PRE
5506></TD
5507></TR
5508></TABLE
5509><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005510>a strchr for xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00005511><P
5512></P
5513><DIV
5514CLASS="INFORMALTABLE"
5515><P
5516></P
5517><TABLE
5518BORDER="0"
5519WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005520BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005521CELLSPACING="0"
5522CELLPADDING="4"
5523CLASS="CALSTABLE"
5524><TR
5525><TD
5526WIDTH="20%"
5527ALIGN="RIGHT"
5528VALIGN="TOP"
5529><TT
5530CLASS="PARAMETER"
5531><I
5532>str</I
5533></TT
5534>&nbsp;:</TD
5535><TD
5536WIDTH="80%"
5537ALIGN="LEFT"
5538VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005539> the xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005540></TR
5541><TR
5542><TD
5543WIDTH="20%"
5544ALIGN="RIGHT"
5545VALIGN="TOP"
5546><TT
5547CLASS="PARAMETER"
5548><I
5549>val</I
5550></TT
5551>&nbsp;:</TD
5552><TD
5553WIDTH="80%"
5554ALIGN="LEFT"
5555VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005556> the xmlChar to search</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005557></TR
5558><TR
5559><TD
5560WIDTH="20%"
5561ALIGN="RIGHT"
5562VALIGN="TOP"
5563><I
5564CLASS="EMPHASIS"
5565>Returns</I
5566> :</TD
5567><TD
5568WIDTH="80%"
5569ALIGN="LEFT"
5570VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005571>the xmlChar * for the first occurence or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005572></TR
5573></TABLE
5574><P
5575></P
5576></DIV
5577></DIV
5578><HR><DIV
5579CLASS="REFSECT2"
5580><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00005581NAME="AEN1301"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005582></A
5583><H3
5584><A
5585NAME="XMLSTRSTR"
5586></A
5587>xmlStrstr ()</H3
5588><TABLE
5589BORDER="0"
5590BGCOLOR="#D6E8FF"
5591WIDTH="100%"
5592CELLPADDING="6"
5593><TR
5594><TD
5595><PRE
5596CLASS="PROGRAMLISTING"
5597>const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005598HREF="gnome-xml-tree.html#XMLCHAR"
5599>xmlChar</A
5600>* xmlStrstr (const <A
5601HREF="gnome-xml-tree.html#XMLCHAR"
5602>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005603> *str,
5604 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005605HREF="gnome-xml-tree.html#XMLCHAR"
5606>xmlChar</A
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005607> *val);</PRE
5608></TD
5609></TR
5610></TABLE
5611><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005612>a strstr for xmlChar's</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005613><P
5614></P
5615><DIV
5616CLASS="INFORMALTABLE"
5617><P
5618></P
5619><TABLE
5620BORDER="0"
5621WIDTH="100%"
5622BGCOLOR="#FFD0D0"
5623CELLSPACING="0"
5624CELLPADDING="4"
5625CLASS="CALSTABLE"
5626><TR
5627><TD
5628WIDTH="20%"
5629ALIGN="RIGHT"
5630VALIGN="TOP"
5631><TT
5632CLASS="PARAMETER"
5633><I
5634>str</I
5635></TT
5636>&nbsp;:</TD
5637><TD
5638WIDTH="80%"
5639ALIGN="LEFT"
5640VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005641> the xmlChar * array (haystack)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005642></TR
5643><TR
5644><TD
5645WIDTH="20%"
5646ALIGN="RIGHT"
5647VALIGN="TOP"
5648><TT
5649CLASS="PARAMETER"
5650><I
5651>val</I
5652></TT
5653>&nbsp;:</TD
5654><TD
5655WIDTH="80%"
5656ALIGN="LEFT"
5657VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005658> the xmlChar to search (needle)</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005659></TR
5660><TR
5661><TD
5662WIDTH="20%"
5663ALIGN="RIGHT"
5664VALIGN="TOP"
5665><I
5666CLASS="EMPHASIS"
5667>Returns</I
5668> :</TD
5669><TD
5670WIDTH="80%"
5671ALIGN="LEFT"
5672VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005673>the xmlChar * for the first occurence or NULL.</TD
Daniel Veillard1566d3a1999-07-15 14:24:29 +00005674></TR
5675></TABLE
5676><P
5677></P
5678></DIV
5679></DIV
5680><HR><DIV
5681CLASS="REFSECT2"
5682><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00005683NAME="AEN1327"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005684></A
5685><H3
5686><A
5687NAME="XMLSTRCASESTR"
5688></A
5689>xmlStrcasestr ()</H3
5690><TABLE
5691BORDER="0"
5692BGCOLOR="#D6E8FF"
5693WIDTH="100%"
5694CELLPADDING="6"
5695><TR
5696><TD
5697><PRE
5698CLASS="PROGRAMLISTING"
5699>const <A
5700HREF="gnome-xml-tree.html#XMLCHAR"
5701>xmlChar</A
5702>* xmlStrcasestr (const <A
5703HREF="gnome-xml-tree.html#XMLCHAR"
5704>xmlChar</A
5705> *str,
5706 <A
5707HREF="gnome-xml-tree.html#XMLCHAR"
5708>xmlChar</A
5709> *val);</PRE
5710></TD
5711></TR
5712></TABLE
5713><P
5714>a case-ignoring strstr for xmlChar's</P
5715><P
5716></P
5717><DIV
5718CLASS="INFORMALTABLE"
5719><P
5720></P
5721><TABLE
5722BORDER="0"
5723WIDTH="100%"
5724BGCOLOR="#FFD0D0"
5725CELLSPACING="0"
5726CELLPADDING="4"
5727CLASS="CALSTABLE"
5728><TR
5729><TD
5730WIDTH="20%"
5731ALIGN="RIGHT"
5732VALIGN="TOP"
5733><TT
5734CLASS="PARAMETER"
5735><I
5736>str</I
5737></TT
5738>&nbsp;:</TD
5739><TD
5740WIDTH="80%"
5741ALIGN="LEFT"
5742VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005743> the xmlChar * array (haystack)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005744></TR
5745><TR
5746><TD
5747WIDTH="20%"
5748ALIGN="RIGHT"
5749VALIGN="TOP"
5750><TT
5751CLASS="PARAMETER"
5752><I
5753>val</I
5754></TT
5755>&nbsp;:</TD
5756><TD
5757WIDTH="80%"
5758ALIGN="LEFT"
5759VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005760> the xmlChar to search (needle)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005761></TR
5762><TR
5763><TD
5764WIDTH="20%"
5765ALIGN="RIGHT"
5766VALIGN="TOP"
5767><I
5768CLASS="EMPHASIS"
5769>Returns</I
5770> :</TD
5771><TD
5772WIDTH="80%"
5773ALIGN="LEFT"
5774VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005775>the xmlChar * for the first occurence or NULL.</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005776></TR
5777></TABLE
5778><P
5779></P
5780></DIV
5781></DIV
5782><HR><DIV
5783CLASS="REFSECT2"
5784><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00005785NAME="AEN1353"
Daniel Veillard35925471999-02-25 08:46:07 +00005786></A
5787><H3
5788><A
5789NAME="XMLSTRCMP"
5790></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005791>xmlStrcmp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005792><TABLE
5793BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005794BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005795WIDTH="100%"
5796CELLPADDING="6"
5797><TR
5798><TD
5799><PRE
5800CLASS="PROGRAMLISTING"
5801>int xmlStrcmp (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005802HREF="gnome-xml-tree.html#XMLCHAR"
5803>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005804> *str1,
5805 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005806HREF="gnome-xml-tree.html#XMLCHAR"
5807>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005808> *str2);</PRE
5809></TD
5810></TR
5811></TABLE
5812><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005813>a strcmp for xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00005814><P
5815></P
5816><DIV
5817CLASS="INFORMALTABLE"
5818><P
5819></P
5820><TABLE
5821BORDER="0"
5822WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005823BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005824CELLSPACING="0"
5825CELLPADDING="4"
5826CLASS="CALSTABLE"
5827><TR
5828><TD
5829WIDTH="20%"
5830ALIGN="RIGHT"
5831VALIGN="TOP"
5832><TT
5833CLASS="PARAMETER"
5834><I
5835>str1</I
5836></TT
5837>&nbsp;:</TD
5838><TD
5839WIDTH="80%"
5840ALIGN="LEFT"
5841VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005842> the first xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005843></TR
5844><TR
5845><TD
5846WIDTH="20%"
5847ALIGN="RIGHT"
5848VALIGN="TOP"
5849><TT
5850CLASS="PARAMETER"
5851><I
5852>str2</I
5853></TT
5854>&nbsp;:</TD
5855><TD
5856WIDTH="80%"
5857ALIGN="LEFT"
5858VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005859> the second xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005860></TR
5861><TR
5862><TD
5863WIDTH="20%"
5864ALIGN="RIGHT"
5865VALIGN="TOP"
5866><I
5867CLASS="EMPHASIS"
5868>Returns</I
5869> :</TD
5870><TD
5871WIDTH="80%"
5872ALIGN="LEFT"
5873VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005874>the integer result of the comparison</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005875></TR
5876></TABLE
5877><P
5878></P
5879></DIV
5880></DIV
5881><HR><DIV
5882CLASS="REFSECT2"
5883><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00005884NAME="AEN1378"
Daniel Veillard35925471999-02-25 08:46:07 +00005885></A
5886><H3
5887><A
5888NAME="XMLSTRNCMP"
5889></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005890>xmlStrncmp ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005891><TABLE
5892BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005893BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005894WIDTH="100%"
5895CELLPADDING="6"
5896><TR
5897><TD
5898><PRE
5899CLASS="PROGRAMLISTING"
5900>int xmlStrncmp (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005901HREF="gnome-xml-tree.html#XMLCHAR"
5902>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005903> *str1,
5904 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005905HREF="gnome-xml-tree.html#XMLCHAR"
5906>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005907> *str2,
5908 int len);</PRE
5909></TD
5910></TR
5911></TABLE
5912><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005913>a strncmp for xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00005914><P
5915></P
5916><DIV
5917CLASS="INFORMALTABLE"
5918><P
5919></P
5920><TABLE
5921BORDER="0"
5922WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005923BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005924CELLSPACING="0"
5925CELLPADDING="4"
5926CLASS="CALSTABLE"
5927><TR
5928><TD
5929WIDTH="20%"
5930ALIGN="RIGHT"
5931VALIGN="TOP"
5932><TT
5933CLASS="PARAMETER"
5934><I
5935>str1</I
5936></TT
5937>&nbsp;:</TD
5938><TD
5939WIDTH="80%"
5940ALIGN="LEFT"
5941VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005942> the first xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005943></TR
5944><TR
5945><TD
5946WIDTH="20%"
5947ALIGN="RIGHT"
5948VALIGN="TOP"
5949><TT
5950CLASS="PARAMETER"
5951><I
5952>str2</I
5953></TT
5954>&nbsp;:</TD
5955><TD
5956WIDTH="80%"
5957ALIGN="LEFT"
5958VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005959> the second xmlChar *</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005960></TR
5961><TR
5962><TD
5963WIDTH="20%"
5964ALIGN="RIGHT"
5965VALIGN="TOP"
5966><TT
5967CLASS="PARAMETER"
5968><I
5969>len</I
5970></TT
5971>&nbsp;:</TD
5972><TD
5973WIDTH="80%"
5974ALIGN="LEFT"
5975VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005976> the max comparison length</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005977></TR
5978><TR
5979><TD
5980WIDTH="20%"
5981ALIGN="RIGHT"
5982VALIGN="TOP"
5983><I
5984CLASS="EMPHASIS"
5985>Returns</I
5986> :</TD
5987><TD
5988WIDTH="80%"
5989ALIGN="LEFT"
5990VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005991>the integer result of the comparison</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005992></TR
5993></TABLE
5994><P
5995></P
5996></DIV
5997></DIV
5998><HR><DIV
5999CLASS="REFSECT2"
6000><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00006001NAME="AEN1407"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006002></A
6003><H3
6004><A
6005NAME="XMLSTRCASECMP"
6006></A
6007>xmlStrcasecmp ()</H3
6008><TABLE
6009BORDER="0"
6010BGCOLOR="#D6E8FF"
6011WIDTH="100%"
6012CELLPADDING="6"
6013><TR
6014><TD
6015><PRE
6016CLASS="PROGRAMLISTING"
6017>int xmlStrcasecmp (const <A
6018HREF="gnome-xml-tree.html#XMLCHAR"
6019>xmlChar</A
6020> *str1,
6021 const <A
6022HREF="gnome-xml-tree.html#XMLCHAR"
6023>xmlChar</A
6024> *str2);</PRE
6025></TD
6026></TR
6027></TABLE
6028><P
6029>a strcasecmp for xmlChar's</P
6030><P
6031></P
6032><DIV
6033CLASS="INFORMALTABLE"
6034><P
6035></P
6036><TABLE
6037BORDER="0"
6038WIDTH="100%"
6039BGCOLOR="#FFD0D0"
6040CELLSPACING="0"
6041CELLPADDING="4"
6042CLASS="CALSTABLE"
6043><TR
6044><TD
6045WIDTH="20%"
6046ALIGN="RIGHT"
6047VALIGN="TOP"
6048><TT
6049CLASS="PARAMETER"
6050><I
6051>str1</I
6052></TT
6053>&nbsp;:</TD
6054><TD
6055WIDTH="80%"
6056ALIGN="LEFT"
6057VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006058> the first xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006059></TR
6060><TR
6061><TD
6062WIDTH="20%"
6063ALIGN="RIGHT"
6064VALIGN="TOP"
6065><TT
6066CLASS="PARAMETER"
6067><I
6068>str2</I
6069></TT
6070>&nbsp;:</TD
6071><TD
6072WIDTH="80%"
6073ALIGN="LEFT"
6074VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006075> the second xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006076></TR
6077><TR
6078><TD
6079WIDTH="20%"
6080ALIGN="RIGHT"
6081VALIGN="TOP"
6082><I
6083CLASS="EMPHASIS"
6084>Returns</I
6085> :</TD
6086><TD
6087WIDTH="80%"
6088ALIGN="LEFT"
6089VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006090>the integer result of the comparison</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006091></TR
6092></TABLE
6093><P
6094></P
6095></DIV
6096></DIV
6097><HR><DIV
6098CLASS="REFSECT2"
6099><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00006100NAME="AEN1432"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006101></A
6102><H3
6103><A
6104NAME="XMLSTRNCASECMP"
6105></A
6106>xmlStrncasecmp ()</H3
6107><TABLE
6108BORDER="0"
6109BGCOLOR="#D6E8FF"
6110WIDTH="100%"
6111CELLPADDING="6"
6112><TR
6113><TD
6114><PRE
6115CLASS="PROGRAMLISTING"
6116>int xmlStrncasecmp (const <A
6117HREF="gnome-xml-tree.html#XMLCHAR"
6118>xmlChar</A
6119> *str1,
6120 const <A
6121HREF="gnome-xml-tree.html#XMLCHAR"
6122>xmlChar</A
6123> *str2,
6124 int len);</PRE
6125></TD
6126></TR
6127></TABLE
6128><P
6129>a strncasecmp for xmlChar's</P
6130><P
6131></P
6132><DIV
6133CLASS="INFORMALTABLE"
6134><P
6135></P
6136><TABLE
6137BORDER="0"
6138WIDTH="100%"
6139BGCOLOR="#FFD0D0"
6140CELLSPACING="0"
6141CELLPADDING="4"
6142CLASS="CALSTABLE"
6143><TR
6144><TD
6145WIDTH="20%"
6146ALIGN="RIGHT"
6147VALIGN="TOP"
6148><TT
6149CLASS="PARAMETER"
6150><I
6151>str1</I
6152></TT
6153>&nbsp;:</TD
6154><TD
6155WIDTH="80%"
6156ALIGN="LEFT"
6157VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006158> the first xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006159></TR
6160><TR
6161><TD
6162WIDTH="20%"
6163ALIGN="RIGHT"
6164VALIGN="TOP"
6165><TT
6166CLASS="PARAMETER"
6167><I
6168>str2</I
6169></TT
6170>&nbsp;:</TD
6171><TD
6172WIDTH="80%"
6173ALIGN="LEFT"
6174VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006175> the second xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006176></TR
6177><TR
6178><TD
6179WIDTH="20%"
6180ALIGN="RIGHT"
6181VALIGN="TOP"
6182><TT
6183CLASS="PARAMETER"
6184><I
6185>len</I
6186></TT
6187>&nbsp;:</TD
6188><TD
6189WIDTH="80%"
6190ALIGN="LEFT"
6191VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006192> the max comparison length</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006193></TR
6194><TR
6195><TD
6196WIDTH="20%"
6197ALIGN="RIGHT"
6198VALIGN="TOP"
6199><I
6200CLASS="EMPHASIS"
6201>Returns</I
6202> :</TD
6203><TD
6204WIDTH="80%"
6205ALIGN="LEFT"
6206VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006207>the integer result of the comparison</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006208></TR
6209></TABLE
6210><P
6211></P
6212></DIV
6213></DIV
6214><HR><DIV
6215CLASS="REFSECT2"
6216><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00006217NAME="AEN1461"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006218></A
6219><H3
6220><A
6221NAME="XMLSTREQUAL"
6222></A
6223>xmlStrEqual ()</H3
6224><TABLE
6225BORDER="0"
6226BGCOLOR="#D6E8FF"
6227WIDTH="100%"
6228CELLPADDING="6"
6229><TR
6230><TD
6231><PRE
6232CLASS="PROGRAMLISTING"
6233>int xmlStrEqual (const <A
6234HREF="gnome-xml-tree.html#XMLCHAR"
6235>xmlChar</A
6236> *str1,
6237 const <A
6238HREF="gnome-xml-tree.html#XMLCHAR"
6239>xmlChar</A
6240> *str2);</PRE
6241></TD
6242></TR
6243></TABLE
6244><P
6245>Check if both string are equal of have same content
6246Should be a bit more readable and faster than <A
6247HREF="gnome-xml-parser.html#XMLSTREQUAL"
6248>xmlStrEqual</A
6249>()</P
6250><P
6251></P
6252><DIV
6253CLASS="INFORMALTABLE"
6254><P
6255></P
6256><TABLE
6257BORDER="0"
6258WIDTH="100%"
6259BGCOLOR="#FFD0D0"
6260CELLSPACING="0"
6261CELLPADDING="4"
6262CLASS="CALSTABLE"
6263><TR
6264><TD
6265WIDTH="20%"
6266ALIGN="RIGHT"
6267VALIGN="TOP"
6268><TT
6269CLASS="PARAMETER"
6270><I
6271>str1</I
6272></TT
6273>&nbsp;:</TD
6274><TD
6275WIDTH="80%"
6276ALIGN="LEFT"
6277VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006278> the first xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006279></TR
6280><TR
6281><TD
6282WIDTH="20%"
6283ALIGN="RIGHT"
6284VALIGN="TOP"
6285><TT
6286CLASS="PARAMETER"
6287><I
6288>str2</I
6289></TT
6290>&nbsp;:</TD
6291><TD
6292WIDTH="80%"
6293ALIGN="LEFT"
6294VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006295> the second xmlChar *</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006296></TR
6297><TR
6298><TD
6299WIDTH="20%"
6300ALIGN="RIGHT"
6301VALIGN="TOP"
6302><I
6303CLASS="EMPHASIS"
6304>Returns</I
6305> :</TD
6306><TD
6307WIDTH="80%"
6308ALIGN="LEFT"
6309VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006310>1 if they are equal, 0 if they are different</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006311></TR
6312></TABLE
6313><P
6314></P
6315></DIV
6316></DIV
6317><HR><DIV
6318CLASS="REFSECT2"
6319><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00006320NAME="AEN1487"
Daniel Veillard35925471999-02-25 08:46:07 +00006321></A
6322><H3
6323><A
6324NAME="XMLSTRLEN"
6325></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006326>xmlStrlen ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006327><TABLE
6328BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006329BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006330WIDTH="100%"
6331CELLPADDING="6"
6332><TR
6333><TD
6334><PRE
6335CLASS="PROGRAMLISTING"
6336>int xmlStrlen (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006337HREF="gnome-xml-tree.html#XMLCHAR"
6338>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006339> *str);</PRE
6340></TD
6341></TR
6342></TABLE
6343><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006344>length of a xmlChar's string</P
Daniel Veillard35925471999-02-25 08:46:07 +00006345><P
6346></P
6347><DIV
6348CLASS="INFORMALTABLE"
6349><P
6350></P
6351><TABLE
6352BORDER="0"
6353WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006354BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006355CELLSPACING="0"
6356CELLPADDING="4"
6357CLASS="CALSTABLE"
6358><TR
6359><TD
6360WIDTH="20%"
6361ALIGN="RIGHT"
6362VALIGN="TOP"
6363><TT
6364CLASS="PARAMETER"
6365><I
6366>str</I
6367></TT
6368>&nbsp;:</TD
6369><TD
6370WIDTH="80%"
6371ALIGN="LEFT"
6372VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006373> the xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006374></TR
6375><TR
6376><TD
6377WIDTH="20%"
6378ALIGN="RIGHT"
6379VALIGN="TOP"
6380><I
6381CLASS="EMPHASIS"
6382>Returns</I
6383> :</TD
6384><TD
6385WIDTH="80%"
6386ALIGN="LEFT"
6387VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006388>the number of xmlChar contained in the ARRAY.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006389></TR
6390></TABLE
6391><P
6392></P
6393></DIV
6394></DIV
6395><HR><DIV
6396CLASS="REFSECT2"
6397><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00006398NAME="AEN1507"
Daniel Veillard35925471999-02-25 08:46:07 +00006399></A
6400><H3
6401><A
6402NAME="XMLSTRCAT"
6403></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006404>xmlStrcat ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006405><TABLE
6406BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006407BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006408WIDTH="100%"
6409CELLPADDING="6"
6410><TR
6411><TD
6412><PRE
6413CLASS="PROGRAMLISTING"
6414><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006415HREF="gnome-xml-tree.html#XMLCHAR"
6416>xmlChar</A
6417>* xmlStrcat (<A
6418HREF="gnome-xml-tree.html#XMLCHAR"
6419>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006420> *cur,
6421 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006422HREF="gnome-xml-tree.html#XMLCHAR"
6423>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006424> *add);</PRE
6425></TD
6426></TR
6427></TABLE
6428><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006429>a strcat for array of xmlChar's. Since they are supposed to be
6430encoded in UTF-8 or an encoding with 8bit based chars, we assume
6431a termination mark of '0'.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006432><P
6433></P
6434><DIV
6435CLASS="INFORMALTABLE"
6436><P
6437></P
6438><TABLE
6439BORDER="0"
6440WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006441BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006442CELLSPACING="0"
6443CELLPADDING="4"
6444CLASS="CALSTABLE"
6445><TR
6446><TD
6447WIDTH="20%"
6448ALIGN="RIGHT"
6449VALIGN="TOP"
6450><TT
6451CLASS="PARAMETER"
6452><I
6453>cur</I
6454></TT
6455>&nbsp;:</TD
6456><TD
6457WIDTH="80%"
6458ALIGN="LEFT"
6459VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006460> the original xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006461></TR
6462><TR
6463><TD
6464WIDTH="20%"
6465ALIGN="RIGHT"
6466VALIGN="TOP"
6467><TT
6468CLASS="PARAMETER"
6469><I
6470>add</I
6471></TT
6472>&nbsp;:</TD
6473><TD
6474WIDTH="80%"
6475ALIGN="LEFT"
6476VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006477> the xmlChar * array added</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006478></TR
6479><TR
6480><TD
6481WIDTH="20%"
6482ALIGN="RIGHT"
6483VALIGN="TOP"
6484><I
6485CLASS="EMPHASIS"
6486>Returns</I
6487> :</TD
6488><TD
6489WIDTH="80%"
6490ALIGN="LEFT"
6491VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006492>a new xmlChar * containing the concatenated string.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006493></TR
6494></TABLE
6495><P
6496></P
6497></DIV
6498></DIV
6499><HR><DIV
6500CLASS="REFSECT2"
6501><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00006502NAME="AEN1533"
Daniel Veillard35925471999-02-25 08:46:07 +00006503></A
6504><H3
6505><A
6506NAME="XMLSTRNCAT"
6507></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006508>xmlStrncat ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006509><TABLE
6510BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006511BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006512WIDTH="100%"
6513CELLPADDING="6"
6514><TR
6515><TD
6516><PRE
6517CLASS="PROGRAMLISTING"
6518><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006519HREF="gnome-xml-tree.html#XMLCHAR"
6520>xmlChar</A
6521>* xmlStrncat (<A
6522HREF="gnome-xml-tree.html#XMLCHAR"
6523>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006524> *cur,
6525 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006526HREF="gnome-xml-tree.html#XMLCHAR"
6527>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006528> *add,
6529 int len);</PRE
6530></TD
6531></TR
6532></TABLE
6533><P
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006534>a strncat for array of xmlChar's</P
Daniel Veillard35925471999-02-25 08:46:07 +00006535><P
6536></P
6537><DIV
6538CLASS="INFORMALTABLE"
6539><P
6540></P
6541><TABLE
6542BORDER="0"
6543WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006544BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006545CELLSPACING="0"
6546CELLPADDING="4"
6547CLASS="CALSTABLE"
6548><TR
6549><TD
6550WIDTH="20%"
6551ALIGN="RIGHT"
6552VALIGN="TOP"
6553><TT
6554CLASS="PARAMETER"
6555><I
6556>cur</I
6557></TT
6558>&nbsp;:</TD
6559><TD
6560WIDTH="80%"
6561ALIGN="LEFT"
6562VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006563> the original xmlChar * array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006564></TR
6565><TR
6566><TD
6567WIDTH="20%"
6568ALIGN="RIGHT"
6569VALIGN="TOP"
6570><TT
6571CLASS="PARAMETER"
6572><I
6573>add</I
6574></TT
6575>&nbsp;:</TD
6576><TD
6577WIDTH="80%"
6578ALIGN="LEFT"
6579VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006580> the xmlChar * array added</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006581></TR
6582><TR
6583><TD
6584WIDTH="20%"
6585ALIGN="RIGHT"
6586VALIGN="TOP"
6587><TT
6588CLASS="PARAMETER"
6589><I
6590>len</I
6591></TT
6592>&nbsp;:</TD
6593><TD
6594WIDTH="80%"
6595ALIGN="LEFT"
6596VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006597> the length of <TT
6598CLASS="PARAMETER"
6599><I
6600>add</I
6601></TT
6602></TD
Daniel Veillard35925471999-02-25 08:46:07 +00006603></TR
6604><TR
6605><TD
6606WIDTH="20%"
6607ALIGN="RIGHT"
6608VALIGN="TOP"
6609><I
6610CLASS="EMPHASIS"
6611>Returns</I
6612> :</TD
6613><TD
6614WIDTH="80%"
6615ALIGN="LEFT"
6616VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006617>a new xmlChar * containing the concatenated string.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006618></TR
6619></TABLE
6620><P
6621></P
6622></DIV
6623></DIV
6624><HR><DIV
6625CLASS="REFSECT2"
6626><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00006627NAME="AEN1564"
Daniel Veillard35925471999-02-25 08:46:07 +00006628></A
6629><H3
6630><A
6631NAME="XMLPARSEDOC"
6632></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006633>xmlParseDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006634><TABLE
6635BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006636BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006637WIDTH="100%"
6638CELLPADDING="6"
6639><TR
6640><TD
6641><PRE
6642CLASS="PROGRAMLISTING"
6643><A
6644HREF="gnome-xml-tree.html#XMLDOCPTR"
6645>xmlDocPtr</A
6646> xmlParseDoc (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006647HREF="gnome-xml-tree.html#XMLCHAR"
6648>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006649> *cur);</PRE
6650></TD
6651></TR
6652></TABLE
6653><P
6654>parse an XML in-memory document and build a tree.</P
6655><P
6656></P
6657><DIV
6658CLASS="INFORMALTABLE"
6659><P
6660></P
6661><TABLE
6662BORDER="0"
6663WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006664BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006665CELLSPACING="0"
6666CELLPADDING="4"
6667CLASS="CALSTABLE"
6668><TR
6669><TD
6670WIDTH="20%"
6671ALIGN="RIGHT"
6672VALIGN="TOP"
6673><TT
6674CLASS="PARAMETER"
6675><I
6676>cur</I
6677></TT
6678>&nbsp;:</TD
6679><TD
6680WIDTH="80%"
6681ALIGN="LEFT"
6682VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006683> a pointer to an array of xmlChar</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006684></TR
6685><TR
6686><TD
6687WIDTH="20%"
6688ALIGN="RIGHT"
6689VALIGN="TOP"
6690><I
6691CLASS="EMPHASIS"
6692>Returns</I
6693> :</TD
6694><TD
6695WIDTH="80%"
6696ALIGN="LEFT"
6697VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006698>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006699></TR
6700></TABLE
6701><P
6702></P
6703></DIV
6704></DIV
6705><HR><DIV
6706CLASS="REFSECT2"
6707><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00006708NAME="AEN1585"
Daniel Veillard35925471999-02-25 08:46:07 +00006709></A
6710><H3
6711><A
6712NAME="XMLPARSEMEMORY"
6713></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006714>xmlParseMemory ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006715><TABLE
6716BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006717BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006718WIDTH="100%"
6719CELLPADDING="6"
6720><TR
6721><TD
6722><PRE
6723CLASS="PROGRAMLISTING"
6724><A
6725HREF="gnome-xml-tree.html#XMLDOCPTR"
6726>xmlDocPtr</A
6727> xmlParseMemory (char *buffer,
6728 int size);</PRE
6729></TD
6730></TR
6731></TABLE
6732><P
6733>parse an XML in-memory block and build a tree.</P
6734><P
6735></P
6736><DIV
6737CLASS="INFORMALTABLE"
6738><P
6739></P
6740><TABLE
6741BORDER="0"
6742WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006743BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006744CELLSPACING="0"
6745CELLPADDING="4"
6746CLASS="CALSTABLE"
6747><TR
6748><TD
6749WIDTH="20%"
6750ALIGN="RIGHT"
6751VALIGN="TOP"
6752><TT
6753CLASS="PARAMETER"
6754><I
6755>buffer</I
6756></TT
6757>&nbsp;:</TD
6758><TD
6759WIDTH="80%"
6760ALIGN="LEFT"
6761VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006762> an pointer to a char array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006763></TR
6764><TR
6765><TD
6766WIDTH="20%"
6767ALIGN="RIGHT"
6768VALIGN="TOP"
6769><TT
6770CLASS="PARAMETER"
6771><I
6772>size</I
6773></TT
6774>&nbsp;:</TD
6775><TD
6776WIDTH="80%"
6777ALIGN="LEFT"
6778VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006779> the size of the array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006780></TR
6781><TR
6782><TD
6783WIDTH="20%"
6784ALIGN="RIGHT"
6785VALIGN="TOP"
6786><I
6787CLASS="EMPHASIS"
6788>Returns</I
6789> :</TD
6790><TD
6791WIDTH="80%"
6792ALIGN="LEFT"
6793VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006794>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006795></TR
6796></TABLE
6797><P
6798></P
6799></DIV
6800></DIV
6801><HR><DIV
6802CLASS="REFSECT2"
6803><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00006804NAME="AEN1609"
Daniel Veillard35925471999-02-25 08:46:07 +00006805></A
6806><H3
6807><A
6808NAME="XMLPARSEFILE"
6809></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006810>xmlParseFile ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006811><TABLE
6812BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006813BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006814WIDTH="100%"
6815CELLPADDING="6"
6816><TR
6817><TD
6818><PRE
6819CLASS="PROGRAMLISTING"
6820><A
6821HREF="gnome-xml-tree.html#XMLDOCPTR"
6822>xmlDocPtr</A
6823> xmlParseFile (const char *filename);</PRE
6824></TD
6825></TR
6826></TABLE
6827><P
6828>parse an XML file and build a tree. Automatic support for ZLIB/Compress
6829compressed document is provided by default if found at compile-time.</P
6830><P
6831></P
6832><DIV
6833CLASS="INFORMALTABLE"
6834><P
6835></P
6836><TABLE
6837BORDER="0"
6838WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006839BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006840CELLSPACING="0"
6841CELLPADDING="4"
6842CLASS="CALSTABLE"
6843><TR
6844><TD
6845WIDTH="20%"
6846ALIGN="RIGHT"
6847VALIGN="TOP"
6848><TT
6849CLASS="PARAMETER"
6850><I
6851>filename</I
6852></TT
6853>&nbsp;:</TD
6854><TD
6855WIDTH="80%"
6856ALIGN="LEFT"
6857VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006858> the filename</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006859></TR
6860><TR
6861><TD
6862WIDTH="20%"
6863ALIGN="RIGHT"
6864VALIGN="TOP"
6865><I
6866CLASS="EMPHASIS"
6867>Returns</I
6868> :</TD
6869><TD
6870WIDTH="80%"
6871ALIGN="LEFT"
6872VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006873>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006874></TR
6875></TABLE
6876><P
6877></P
6878></DIV
6879></DIV
6880><HR><DIV
6881CLASS="REFSECT2"
6882><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00006883NAME="AEN1629"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006884></A
6885><H3
6886><A
6887NAME="XMLSUBSTITUTEENTITIESDEFAULT"
6888></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006889>xmlSubstituteEntitiesDefault ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00006890><TABLE
6891BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006892BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006893WIDTH="100%"
6894CELLPADDING="6"
6895><TR
6896><TD
6897><PRE
6898CLASS="PROGRAMLISTING"
6899>int xmlSubstituteEntitiesDefault (int val);</PRE
6900></TD
6901></TR
6902></TABLE
6903><P
6904>Set and return the previous value for default entity support.
6905Initially the parser always keep entity references instead of substituting
6906entity values in the output. This function has to be used to change the
6907default parser behaviour
6908SAX::<GTKDOCLINK
6909HREF="SUBTITUTEENTITIES"
6910>subtituteEntities</GTKDOCLINK
6911>() has to be used for changing that on a file by
6912file basis.</P
6913><P
6914></P
6915><DIV
6916CLASS="INFORMALTABLE"
6917><P
6918></P
6919><TABLE
6920BORDER="0"
6921WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006922BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006923CELLSPACING="0"
6924CELLPADDING="4"
6925CLASS="CALSTABLE"
6926><TR
6927><TD
6928WIDTH="20%"
6929ALIGN="RIGHT"
6930VALIGN="TOP"
6931><TT
6932CLASS="PARAMETER"
6933><I
6934>val</I
6935></TT
6936>&nbsp;:</TD
6937><TD
6938WIDTH="80%"
6939ALIGN="LEFT"
6940VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006941> int 0 or 1 </TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00006942></TR
6943><TR
6944><TD
6945WIDTH="20%"
6946ALIGN="RIGHT"
6947VALIGN="TOP"
6948><I
6949CLASS="EMPHASIS"
6950>Returns</I
6951> :</TD
6952><TD
6953WIDTH="80%"
6954ALIGN="LEFT"
6955VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006956>the last value for 0 for no substitution, 1 for substitution.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006957></TR
6958></TABLE
6959><P
6960></P
6961></DIV
6962></DIV
6963><HR><DIV
6964CLASS="REFSECT2"
6965><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00006966NAME="AEN1649"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006967></A
6968><H3
6969><A
6970NAME="XMLKEEPBLANKSDEFAULT"
6971></A
6972>xmlKeepBlanksDefault ()</H3
6973><TABLE
6974BORDER="0"
6975BGCOLOR="#D6E8FF"
6976WIDTH="100%"
6977CELLPADDING="6"
6978><TR
6979><TD
6980><PRE
6981CLASS="PROGRAMLISTING"
6982>int xmlKeepBlanksDefault (int val);</PRE
6983></TD
6984></TR
6985></TABLE
6986><P
6987>Set and return the previous value for default blanks text nodes support.
6988The 1.x version of the parser used an heuristic to try to detect
6989ignorable white spaces. As a result the SAX callback was generating
6990<A
6991HREF="gnome-xml-sax.html#IGNORABLEWHITESPACE"
6992>ignorableWhitespace</A
6993>() callbacks instead of <A
6994HREF="gnome-xml-sax.html#CHARACTERS"
6995>characters</A
6996>() one, and when
6997using the DOM output text nodes containing those blanks were not generated.
6998The 2.x and later version will switch to the XML standard way and
6999<A
7000HREF="gnome-xml-sax.html#IGNORABLEWHITESPACE"
7001>ignorableWhitespace</A
7002>() are only generated when running the parser in
7003validating mode and when the current element doesn't allow CDATA or
7004mixed content.
7005This function is provided as a way to force the standard behaviour
7006on 1.X libs and to switch back to the old mode for compatibility when
7007running 1.X client code on 2.X . Upgrade of 1.X code should be done
7008by using <A
7009HREF="gnome-xml-tree.html#XMLISBLANKNODE"
7010>xmlIsBlankNode</A
7011>() commodity function to detect the "empty"
7012nodes generated.
7013This value also affect autogeneration of indentation when saving code
7014if blanks sections are kept, indentation is not generated.</P
7015><P
7016></P
7017><DIV
7018CLASS="INFORMALTABLE"
7019><P
7020></P
7021><TABLE
7022BORDER="0"
7023WIDTH="100%"
7024BGCOLOR="#FFD0D0"
7025CELLSPACING="0"
7026CELLPADDING="4"
7027CLASS="CALSTABLE"
7028><TR
7029><TD
7030WIDTH="20%"
7031ALIGN="RIGHT"
7032VALIGN="TOP"
7033><TT
7034CLASS="PARAMETER"
7035><I
7036>val</I
7037></TT
7038>&nbsp;:</TD
7039><TD
7040WIDTH="80%"
7041ALIGN="LEFT"
7042VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007043> int 0 or 1 </TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007044></TR
7045><TR
7046><TD
7047WIDTH="20%"
7048ALIGN="RIGHT"
7049VALIGN="TOP"
7050><I
7051CLASS="EMPHASIS"
7052>Returns</I
7053> :</TD
7054><TD
7055WIDTH="80%"
7056ALIGN="LEFT"
7057VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007058>the last value for 0 for no substitution, 1 for substitution.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007059></TR
7060></TABLE
7061><P
7062></P
7063></DIV
7064></DIV
7065><HR><DIV
7066CLASS="REFSECT2"
7067><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00007068NAME="AEN1672"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007069></A
7070><H3
7071><A
7072NAME="XMLSTOPPARSER"
7073></A
7074>xmlStopParser ()</H3
7075><TABLE
7076BORDER="0"
7077BGCOLOR="#D6E8FF"
7078WIDTH="100%"
7079CELLPADDING="6"
7080><TR
7081><TD
7082><PRE
7083CLASS="PROGRAMLISTING"
7084>void xmlStopParser (<A
7085HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7086>xmlParserCtxtPtr</A
7087> ctxt);</PRE
7088></TD
7089></TR
7090></TABLE
7091><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007092>Blocks further parser processing</P
7093><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007094></P
7095><DIV
7096CLASS="INFORMALTABLE"
7097><P
7098></P
7099><TABLE
7100BORDER="0"
7101WIDTH="100%"
7102BGCOLOR="#FFD0D0"
7103CELLSPACING="0"
7104CELLPADDING="4"
7105CLASS="CALSTABLE"
7106><TR
7107><TD
7108WIDTH="20%"
7109ALIGN="RIGHT"
7110VALIGN="TOP"
7111><TT
7112CLASS="PARAMETER"
7113><I
7114>ctxt</I
7115></TT
7116>&nbsp;:</TD
7117><TD
7118WIDTH="80%"
7119ALIGN="LEFT"
7120VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007121> an XML parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007122></TR
7123></TABLE
7124><P
7125></P
7126></DIV
7127></DIV
7128><HR><DIV
7129CLASS="REFSECT2"
7130><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00007131NAME="AEN1688"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007132></A
7133><H3
7134><A
7135NAME="XMLPEDANTICPARSERDEFAULT"
7136></A
7137>xmlPedanticParserDefault ()</H3
7138><TABLE
7139BORDER="0"
7140BGCOLOR="#D6E8FF"
7141WIDTH="100%"
7142CELLPADDING="6"
7143><TR
7144><TD
7145><PRE
7146CLASS="PROGRAMLISTING"
7147>int xmlPedanticParserDefault (int val);</PRE
7148></TD
7149></TR
7150></TABLE
7151><P
7152>Set and return the previous value for enabling pedantic warnings.</P
7153><P
7154></P
7155><DIV
7156CLASS="INFORMALTABLE"
7157><P
7158></P
7159><TABLE
7160BORDER="0"
7161WIDTH="100%"
7162BGCOLOR="#FFD0D0"
7163CELLSPACING="0"
7164CELLPADDING="4"
7165CLASS="CALSTABLE"
7166><TR
7167><TD
7168WIDTH="20%"
7169ALIGN="RIGHT"
7170VALIGN="TOP"
7171><TT
7172CLASS="PARAMETER"
7173><I
7174>val</I
7175></TT
7176>&nbsp;:</TD
7177><TD
7178WIDTH="80%"
7179ALIGN="LEFT"
7180VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007181> int 0 or 1 </TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007182></TR
7183><TR
7184><TD
7185WIDTH="20%"
7186ALIGN="RIGHT"
7187VALIGN="TOP"
7188><I
7189CLASS="EMPHASIS"
7190>Returns</I
7191> :</TD
7192><TD
7193WIDTH="80%"
7194ALIGN="LEFT"
7195VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007196>the last value for 0 for no substitution, 1 for substitution.</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007197></TR
7198></TABLE
7199><P
7200></P
7201></DIV
7202></DIV
7203><HR><DIV
7204CLASS="REFSECT2"
7205><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00007206NAME="AEN1707"
Daniel Veillard35925471999-02-25 08:46:07 +00007207></A
7208><H3
7209><A
7210NAME="XMLRECOVERDOC"
7211></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007212>xmlRecoverDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007213><TABLE
7214BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007215BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007216WIDTH="100%"
7217CELLPADDING="6"
7218><TR
7219><TD
7220><PRE
7221CLASS="PROGRAMLISTING"
7222><A
7223HREF="gnome-xml-tree.html#XMLDOCPTR"
7224>xmlDocPtr</A
7225> xmlRecoverDoc (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007226HREF="gnome-xml-tree.html#XMLCHAR"
7227>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007228> *cur);</PRE
7229></TD
7230></TR
7231></TABLE
7232><P
7233>parse an XML in-memory document and build a tree.
7234In the case the document is not Well Formed, a tree is built anyway</P
7235><P
7236></P
7237><DIV
7238CLASS="INFORMALTABLE"
7239><P
7240></P
7241><TABLE
7242BORDER="0"
7243WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007244BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007245CELLSPACING="0"
7246CELLPADDING="4"
7247CLASS="CALSTABLE"
7248><TR
7249><TD
7250WIDTH="20%"
7251ALIGN="RIGHT"
7252VALIGN="TOP"
7253><TT
7254CLASS="PARAMETER"
7255><I
7256>cur</I
7257></TT
7258>&nbsp;:</TD
7259><TD
7260WIDTH="80%"
7261ALIGN="LEFT"
7262VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007263> a pointer to an array of xmlChar</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007264></TR
7265><TR
7266><TD
7267WIDTH="20%"
7268ALIGN="RIGHT"
7269VALIGN="TOP"
7270><I
7271CLASS="EMPHASIS"
7272>Returns</I
7273> :</TD
7274><TD
7275WIDTH="80%"
7276ALIGN="LEFT"
7277VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007278>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007279></TR
7280></TABLE
7281><P
7282></P
7283></DIV
7284></DIV
7285><HR><DIV
7286CLASS="REFSECT2"
7287><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00007288NAME="AEN1728"
Daniel Veillard35925471999-02-25 08:46:07 +00007289></A
7290><H3
7291><A
7292NAME="XMLRECOVERMEMORY"
7293></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007294>xmlRecoverMemory ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007295><TABLE
7296BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007297BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007298WIDTH="100%"
7299CELLPADDING="6"
7300><TR
7301><TD
7302><PRE
7303CLASS="PROGRAMLISTING"
7304><A
7305HREF="gnome-xml-tree.html#XMLDOCPTR"
7306>xmlDocPtr</A
7307> xmlRecoverMemory (char *buffer,
7308 int size);</PRE
7309></TD
7310></TR
7311></TABLE
7312><P
7313>parse an XML in-memory block and build a tree.
7314In the case the document is not Well Formed, a tree is built anyway</P
7315><P
7316></P
7317><DIV
7318CLASS="INFORMALTABLE"
7319><P
7320></P
7321><TABLE
7322BORDER="0"
7323WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007324BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007325CELLSPACING="0"
7326CELLPADDING="4"
7327CLASS="CALSTABLE"
7328><TR
7329><TD
7330WIDTH="20%"
7331ALIGN="RIGHT"
7332VALIGN="TOP"
7333><TT
7334CLASS="PARAMETER"
7335><I
7336>buffer</I
7337></TT
7338>&nbsp;:</TD
7339><TD
7340WIDTH="80%"
7341ALIGN="LEFT"
7342VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007343> an pointer to a char array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007344></TR
7345><TR
7346><TD
7347WIDTH="20%"
7348ALIGN="RIGHT"
7349VALIGN="TOP"
7350><TT
7351CLASS="PARAMETER"
7352><I
7353>size</I
7354></TT
7355>&nbsp;:</TD
7356><TD
7357WIDTH="80%"
7358ALIGN="LEFT"
7359VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007360> the size of the array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007361></TR
7362><TR
7363><TD
7364WIDTH="20%"
7365ALIGN="RIGHT"
7366VALIGN="TOP"
7367><I
7368CLASS="EMPHASIS"
7369>Returns</I
7370> :</TD
7371><TD
7372WIDTH="80%"
7373ALIGN="LEFT"
7374VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007375>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007376></TR
7377></TABLE
7378><P
7379></P
7380></DIV
7381></DIV
7382><HR><DIV
7383CLASS="REFSECT2"
7384><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00007385NAME="AEN1752"
Daniel Veillard35925471999-02-25 08:46:07 +00007386></A
7387><H3
7388><A
7389NAME="XMLRECOVERFILE"
7390></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007391>xmlRecoverFile ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007392><TABLE
7393BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007394BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007395WIDTH="100%"
7396CELLPADDING="6"
7397><TR
7398><TD
7399><PRE
7400CLASS="PROGRAMLISTING"
7401><A
7402HREF="gnome-xml-tree.html#XMLDOCPTR"
7403>xmlDocPtr</A
7404> xmlRecoverFile (const char *filename);</PRE
7405></TD
7406></TR
7407></TABLE
7408><P
7409>parse an XML file and build a tree. Automatic support for ZLIB/Compress
7410compressed document is provided by default if found at compile-time.
7411In the case the document is not Well Formed, a tree is built anyway</P
7412><P
7413></P
7414><DIV
7415CLASS="INFORMALTABLE"
7416><P
7417></P
7418><TABLE
7419BORDER="0"
7420WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007421BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007422CELLSPACING="0"
7423CELLPADDING="4"
7424CLASS="CALSTABLE"
7425><TR
7426><TD
7427WIDTH="20%"
7428ALIGN="RIGHT"
7429VALIGN="TOP"
7430><TT
7431CLASS="PARAMETER"
7432><I
7433>filename</I
7434></TT
7435>&nbsp;:</TD
7436><TD
7437WIDTH="80%"
7438ALIGN="LEFT"
7439VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007440> the filename</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007441></TR
7442><TR
7443><TD
7444WIDTH="20%"
7445ALIGN="RIGHT"
7446VALIGN="TOP"
7447><I
7448CLASS="EMPHASIS"
7449>Returns</I
7450> :</TD
7451><TD
7452WIDTH="80%"
7453ALIGN="LEFT"
7454VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007455>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007456></TR
7457></TABLE
7458><P
7459></P
7460></DIV
7461></DIV
7462><HR><DIV
7463CLASS="REFSECT2"
7464><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00007465NAME="AEN1772"
Daniel Veillard35925471999-02-25 08:46:07 +00007466></A
7467><H3
7468><A
7469NAME="XMLPARSEDOCUMENT"
7470></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007471>xmlParseDocument ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007472><TABLE
7473BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007474BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007475WIDTH="100%"
7476CELLPADDING="6"
7477><TR
7478><TD
7479><PRE
7480CLASS="PROGRAMLISTING"
7481>int xmlParseDocument (<A
7482HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7483>xmlParserCtxtPtr</A
7484> ctxt);</PRE
7485></TD
7486></TR
7487></TABLE
7488><P
7489>parse an XML document (and build a tree if using the standard SAX
7490interface).</P
7491><P
7492>[1] document ::= prolog element Misc*</P
7493><P
7494>[22] prolog ::= XMLDecl? Misc* (doctypedecl Misc*)?</P
7495><P
7496></P
7497><DIV
7498CLASS="INFORMALTABLE"
7499><P
7500></P
7501><TABLE
7502BORDER="0"
7503WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007504BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007505CELLSPACING="0"
7506CELLPADDING="4"
7507CLASS="CALSTABLE"
7508><TR
7509><TD
7510WIDTH="20%"
7511ALIGN="RIGHT"
7512VALIGN="TOP"
7513><TT
7514CLASS="PARAMETER"
7515><I
7516>ctxt</I
7517></TT
7518>&nbsp;:</TD
7519><TD
7520WIDTH="80%"
7521ALIGN="LEFT"
7522VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007523> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007524></TR
7525><TR
7526><TD
7527WIDTH="20%"
7528ALIGN="RIGHT"
7529VALIGN="TOP"
7530><I
7531CLASS="EMPHASIS"
7532>Returns</I
7533> :</TD
7534><TD
7535WIDTH="80%"
7536ALIGN="LEFT"
7537VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007538>0, -1 in case of error. the parser context is augmented
7539as a result of the parsing.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007540></TR
7541></TABLE
7542><P
7543></P
7544></DIV
7545></DIV
7546><HR><DIV
7547CLASS="REFSECT2"
7548><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00007549NAME="AEN1794"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007550></A
7551><H3
7552><A
7553NAME="XMLPARSEEXTPARSEDENT"
7554></A
7555>xmlParseExtParsedEnt ()</H3
7556><TABLE
7557BORDER="0"
7558BGCOLOR="#D6E8FF"
7559WIDTH="100%"
7560CELLPADDING="6"
7561><TR
7562><TD
7563><PRE
7564CLASS="PROGRAMLISTING"
7565>int xmlParseExtParsedEnt (<A
7566HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7567>xmlParserCtxtPtr</A
7568> ctxt);</PRE
7569></TD
7570></TR
7571></TABLE
7572><P
7573>parse a genreral parsed entity
7574An external general parsed entity is well-formed if it matches the
7575production labeled extParsedEnt.</P
7576><P
7577>[78] extParsedEnt ::= TextDecl? content</P
7578><P
7579></P
7580><DIV
7581CLASS="INFORMALTABLE"
7582><P
7583></P
7584><TABLE
7585BORDER="0"
7586WIDTH="100%"
7587BGCOLOR="#FFD0D0"
7588CELLSPACING="0"
7589CELLPADDING="4"
7590CLASS="CALSTABLE"
7591><TR
7592><TD
7593WIDTH="20%"
7594ALIGN="RIGHT"
7595VALIGN="TOP"
7596><TT
7597CLASS="PARAMETER"
7598><I
7599>ctxt</I
7600></TT
7601>&nbsp;:</TD
7602><TD
7603WIDTH="80%"
7604ALIGN="LEFT"
7605VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007606> an XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007607></TR
7608><TR
7609><TD
7610WIDTH="20%"
7611ALIGN="RIGHT"
7612VALIGN="TOP"
7613><I
7614CLASS="EMPHASIS"
7615>Returns</I
7616> :</TD
7617><TD
7618WIDTH="80%"
7619ALIGN="LEFT"
7620VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007621>0, -1 in case of error. the parser context is augmented
7622as a result of the parsing.</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007623></TR
7624></TABLE
7625><P
7626></P
7627></DIV
7628></DIV
7629><HR><DIV
7630CLASS="REFSECT2"
7631><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00007632NAME="AEN1815"
Daniel Veillard35925471999-02-25 08:46:07 +00007633></A
7634><H3
7635><A
7636NAME="XMLSAXPARSEDOC"
7637></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007638>xmlSAXParseDoc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007639><TABLE
7640BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007641BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007642WIDTH="100%"
7643CELLPADDING="6"
7644><TR
7645><TD
7646><PRE
7647CLASS="PROGRAMLISTING"
7648><A
7649HREF="gnome-xml-tree.html#XMLDOCPTR"
7650>xmlDocPtr</A
7651> xmlSAXParseDoc (<A
7652HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
7653>xmlSAXHandlerPtr</A
7654> sax,
7655 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007656HREF="gnome-xml-tree.html#XMLCHAR"
7657>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00007658> *cur,
7659 int recovery);</PRE
7660></TD
7661></TR
7662></TABLE
7663><P
7664>parse an XML in-memory document and build a tree.
7665It use the given SAX function block to handle the parsing callback.
7666If sax is NULL, fallback to the default DOM tree building routines.</P
7667><P
7668></P
7669><DIV
7670CLASS="INFORMALTABLE"
7671><P
7672></P
7673><TABLE
7674BORDER="0"
7675WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007676BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007677CELLSPACING="0"
7678CELLPADDING="4"
7679CLASS="CALSTABLE"
7680><TR
7681><TD
7682WIDTH="20%"
7683ALIGN="RIGHT"
7684VALIGN="TOP"
7685><TT
7686CLASS="PARAMETER"
7687><I
7688>sax</I
7689></TT
7690>&nbsp;:</TD
7691><TD
7692WIDTH="80%"
7693ALIGN="LEFT"
7694VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007695> the SAX handler block</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007696></TR
7697><TR
7698><TD
7699WIDTH="20%"
7700ALIGN="RIGHT"
7701VALIGN="TOP"
7702><TT
7703CLASS="PARAMETER"
7704><I
7705>cur</I
7706></TT
7707>&nbsp;:</TD
7708><TD
7709WIDTH="80%"
7710ALIGN="LEFT"
7711VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007712> a pointer to an array of xmlChar</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007713></TR
7714><TR
7715><TD
7716WIDTH="20%"
7717ALIGN="RIGHT"
7718VALIGN="TOP"
7719><TT
7720CLASS="PARAMETER"
7721><I
7722>recovery</I
7723></TT
7724>&nbsp;:</TD
7725><TD
7726WIDTH="80%"
7727ALIGN="LEFT"
7728VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007729> work in recovery mode, i.e. tries to read no Well Formed
7730documents</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007731></TR
7732><TR
7733><TD
7734WIDTH="20%"
7735ALIGN="RIGHT"
7736VALIGN="TOP"
7737><I
7738CLASS="EMPHASIS"
7739>Returns</I
7740> :</TD
7741><TD
7742WIDTH="80%"
7743ALIGN="LEFT"
7744VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007745>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007746></TR
7747></TABLE
7748><P
7749></P
7750></DIV
7751></DIV
7752><HR><DIV
7753CLASS="REFSECT2"
7754><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00007755NAME="AEN1845"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007756></A
7757><H3
7758><A
7759NAME="XMLSAXUSERPARSEFILE"
7760></A
7761>xmlSAXUserParseFile ()</H3
7762><TABLE
7763BORDER="0"
7764BGCOLOR="#D6E8FF"
7765WIDTH="100%"
7766CELLPADDING="6"
7767><TR
7768><TD
7769><PRE
7770CLASS="PROGRAMLISTING"
7771>int xmlSAXUserParseFile (<A
7772HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
7773>xmlSAXHandlerPtr</A
7774> sax,
7775 void *user_data,
7776 const char *filename);</PRE
7777></TD
7778></TR
7779></TABLE
7780><P
7781>parse an XML file and call the given SAX handler routines.
7782Automatic support for ZLIB/Compress compressed document is provided</P
7783><P
7784></P
7785><DIV
7786CLASS="INFORMALTABLE"
7787><P
7788></P
7789><TABLE
7790BORDER="0"
7791WIDTH="100%"
7792BGCOLOR="#FFD0D0"
7793CELLSPACING="0"
7794CELLPADDING="4"
7795CLASS="CALSTABLE"
7796><TR
7797><TD
7798WIDTH="20%"
7799ALIGN="RIGHT"
7800VALIGN="TOP"
7801><TT
7802CLASS="PARAMETER"
7803><I
7804>sax</I
7805></TT
7806>&nbsp;:</TD
7807><TD
7808WIDTH="80%"
7809ALIGN="LEFT"
7810VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007811> a SAX handler</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007812></TR
7813><TR
7814><TD
7815WIDTH="20%"
7816ALIGN="RIGHT"
7817VALIGN="TOP"
7818><TT
7819CLASS="PARAMETER"
7820><I
7821>user_data</I
7822></TT
7823>&nbsp;:</TD
7824><TD
7825WIDTH="80%"
7826ALIGN="LEFT"
7827VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007828> The user data returned on SAX callbacks</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007829></TR
7830><TR
7831><TD
7832WIDTH="20%"
7833ALIGN="RIGHT"
7834VALIGN="TOP"
7835><TT
7836CLASS="PARAMETER"
7837><I
7838>filename</I
7839></TT
7840>&nbsp;:</TD
7841><TD
7842WIDTH="80%"
7843ALIGN="LEFT"
7844VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007845> a file name</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007846></TR
7847><TR
7848><TD
7849WIDTH="20%"
7850ALIGN="RIGHT"
7851VALIGN="TOP"
7852><I
7853CLASS="EMPHASIS"
7854>Returns</I
7855> :</TD
7856><TD
7857WIDTH="80%"
7858ALIGN="LEFT"
7859VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007860>0 in case of success or a error number otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007861></TR
7862></TABLE
7863><P
7864></P
7865></DIV
7866></DIV
7867><HR><DIV
7868CLASS="REFSECT2"
7869><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00007870NAME="AEN1873"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007871></A
7872><H3
7873><A
7874NAME="XMLSAXUSERPARSEMEMORY"
7875></A
7876>xmlSAXUserParseMemory ()</H3
7877><TABLE
7878BORDER="0"
7879BGCOLOR="#D6E8FF"
7880WIDTH="100%"
7881CELLPADDING="6"
7882><TR
7883><TD
7884><PRE
7885CLASS="PROGRAMLISTING"
7886>int xmlSAXUserParseMemory (<A
7887HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
7888>xmlSAXHandlerPtr</A
7889> sax,
7890 void *user_data,
7891 char *buffer,
7892 int size);</PRE
7893></TD
7894></TR
7895></TABLE
7896><P
7897>A better SAX parsing routine.
7898parse an XML in-memory buffer and call the given SAX handler routines.</P
7899><P
7900></P
7901><DIV
7902CLASS="INFORMALTABLE"
7903><P
7904></P
7905><TABLE
7906BORDER="0"
7907WIDTH="100%"
7908BGCOLOR="#FFD0D0"
7909CELLSPACING="0"
7910CELLPADDING="4"
7911CLASS="CALSTABLE"
7912><TR
7913><TD
7914WIDTH="20%"
7915ALIGN="RIGHT"
7916VALIGN="TOP"
7917><TT
7918CLASS="PARAMETER"
7919><I
7920>sax</I
7921></TT
7922>&nbsp;:</TD
7923><TD
7924WIDTH="80%"
7925ALIGN="LEFT"
7926VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007927> a SAX handler</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007928></TR
7929><TR
7930><TD
7931WIDTH="20%"
7932ALIGN="RIGHT"
7933VALIGN="TOP"
7934><TT
7935CLASS="PARAMETER"
7936><I
7937>user_data</I
7938></TT
7939>&nbsp;:</TD
7940><TD
7941WIDTH="80%"
7942ALIGN="LEFT"
7943VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007944> The user data returned on SAX callbacks</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007945></TR
7946><TR
7947><TD
7948WIDTH="20%"
7949ALIGN="RIGHT"
7950VALIGN="TOP"
7951><TT
7952CLASS="PARAMETER"
7953><I
7954>buffer</I
7955></TT
7956>&nbsp;:</TD
7957><TD
7958WIDTH="80%"
7959ALIGN="LEFT"
7960VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007961> an in-memory XML document input</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007962></TR
7963><TR
7964><TD
7965WIDTH="20%"
7966ALIGN="RIGHT"
7967VALIGN="TOP"
7968><TT
7969CLASS="PARAMETER"
7970><I
7971>size</I
7972></TT
7973>&nbsp;:</TD
7974><TD
7975WIDTH="80%"
7976ALIGN="LEFT"
7977VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007978> the length of the XML document in bytes</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007979></TR
7980><TR
7981><TD
7982WIDTH="20%"
7983ALIGN="RIGHT"
7984VALIGN="TOP"
7985><I
7986CLASS="EMPHASIS"
7987>Returns</I
7988> :</TD
7989><TD
7990WIDTH="80%"
7991ALIGN="LEFT"
7992VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007993>0 in case of success or a error number otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007994></TR
7995></TABLE
7996><P
7997></P
7998></DIV
7999></DIV
8000><HR><DIV
8001CLASS="REFSECT2"
8002><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00008003NAME="AEN1905"
Daniel Veillard35925471999-02-25 08:46:07 +00008004></A
8005><H3
8006><A
8007NAME="XMLSAXPARSEMEMORY"
8008></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008009>xmlSAXParseMemory ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008010><TABLE
8011BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008012BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008013WIDTH="100%"
8014CELLPADDING="6"
8015><TR
8016><TD
8017><PRE
8018CLASS="PROGRAMLISTING"
8019><A
8020HREF="gnome-xml-tree.html#XMLDOCPTR"
8021>xmlDocPtr</A
8022> xmlSAXParseMemory (<A
8023HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
8024>xmlSAXHandlerPtr</A
8025> sax,
8026 char *buffer,
8027 int size,
8028 int recovery);</PRE
8029></TD
8030></TR
8031></TABLE
8032><P
8033>parse an XML in-memory block and use the given SAX function block
8034to handle the parsing callback. If sax is NULL, fallback to the default
8035DOM tree building routines.</P
8036><P
Daniel Veillard35925471999-02-25 08:46:07 +00008037></P
8038><DIV
8039CLASS="INFORMALTABLE"
8040><P
8041></P
8042><TABLE
8043BORDER="0"
8044WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008045BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008046CELLSPACING="0"
8047CELLPADDING="4"
8048CLASS="CALSTABLE"
8049><TR
8050><TD
8051WIDTH="20%"
8052ALIGN="RIGHT"
8053VALIGN="TOP"
8054><TT
8055CLASS="PARAMETER"
8056><I
8057>sax</I
8058></TT
8059>&nbsp;:</TD
8060><TD
8061WIDTH="80%"
8062ALIGN="LEFT"
8063VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008064> the SAX handler block</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008065></TR
8066><TR
8067><TD
8068WIDTH="20%"
8069ALIGN="RIGHT"
8070VALIGN="TOP"
8071><TT
8072CLASS="PARAMETER"
8073><I
8074>buffer</I
8075></TT
8076>&nbsp;:</TD
8077><TD
8078WIDTH="80%"
8079ALIGN="LEFT"
8080VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008081> an pointer to a char array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008082></TR
8083><TR
8084><TD
8085WIDTH="20%"
8086ALIGN="RIGHT"
8087VALIGN="TOP"
8088><TT
8089CLASS="PARAMETER"
8090><I
8091>size</I
8092></TT
8093>&nbsp;:</TD
8094><TD
8095WIDTH="80%"
8096ALIGN="LEFT"
8097VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008098> the size of the array</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008099></TR
8100><TR
8101><TD
8102WIDTH="20%"
8103ALIGN="RIGHT"
8104VALIGN="TOP"
8105><TT
8106CLASS="PARAMETER"
8107><I
8108>recovery</I
8109></TT
8110>&nbsp;:</TD
8111><TD
8112WIDTH="80%"
8113ALIGN="LEFT"
8114VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008115> work in recovery mode, i.e. tries to read not Well Formed
8116documents</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008117></TR
8118><TR
8119><TD
8120WIDTH="20%"
8121ALIGN="RIGHT"
8122VALIGN="TOP"
8123><I
8124CLASS="EMPHASIS"
8125>Returns</I
8126> :</TD
8127><TD
8128WIDTH="80%"
8129ALIGN="LEFT"
8130VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008131>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008132></TR
8133></TABLE
8134><P
8135></P
8136></DIV
8137></DIV
8138><HR><DIV
8139CLASS="REFSECT2"
8140><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00008141NAME="AEN1938"
Daniel Veillard35925471999-02-25 08:46:07 +00008142></A
8143><H3
8144><A
8145NAME="XMLSAXPARSEFILE"
8146></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008147>xmlSAXParseFile ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008148><TABLE
8149BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008150BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008151WIDTH="100%"
8152CELLPADDING="6"
8153><TR
8154><TD
8155><PRE
8156CLASS="PROGRAMLISTING"
8157><A
8158HREF="gnome-xml-tree.html#XMLDOCPTR"
8159>xmlDocPtr</A
8160> xmlSAXParseFile (<A
8161HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
8162>xmlSAXHandlerPtr</A
8163> sax,
8164 const char *filename,
8165 int recovery);</PRE
8166></TD
8167></TR
8168></TABLE
8169><P
8170>parse an XML file and build a tree. Automatic support for ZLIB/Compress
8171compressed document is provided by default if found at compile-time.
8172It use the given SAX function block to handle the parsing callback.
8173If sax is NULL, fallback to the default DOM tree building routines.</P
8174><P
8175></P
8176><DIV
8177CLASS="INFORMALTABLE"
8178><P
8179></P
8180><TABLE
8181BORDER="0"
8182WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008183BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008184CELLSPACING="0"
8185CELLPADDING="4"
8186CLASS="CALSTABLE"
8187><TR
8188><TD
8189WIDTH="20%"
8190ALIGN="RIGHT"
8191VALIGN="TOP"
8192><TT
8193CLASS="PARAMETER"
8194><I
8195>sax</I
8196></TT
8197>&nbsp;:</TD
8198><TD
8199WIDTH="80%"
8200ALIGN="LEFT"
8201VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008202> the SAX handler block</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008203></TR
8204><TR
8205><TD
8206WIDTH="20%"
8207ALIGN="RIGHT"
8208VALIGN="TOP"
8209><TT
8210CLASS="PARAMETER"
8211><I
8212>filename</I
8213></TT
8214>&nbsp;:</TD
8215><TD
8216WIDTH="80%"
8217ALIGN="LEFT"
8218VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008219> the filename</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008220></TR
8221><TR
8222><TD
8223WIDTH="20%"
8224ALIGN="RIGHT"
8225VALIGN="TOP"
8226><TT
8227CLASS="PARAMETER"
8228><I
8229>recovery</I
8230></TT
8231>&nbsp;:</TD
8232><TD
8233WIDTH="80%"
8234ALIGN="LEFT"
8235VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008236> work in recovery mode, i.e. tries to read no Well Formed
8237documents</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008238></TR
8239><TR
8240><TD
8241WIDTH="20%"
8242ALIGN="RIGHT"
8243VALIGN="TOP"
8244><I
8245CLASS="EMPHASIS"
8246>Returns</I
8247> :</TD
8248><TD
8249WIDTH="80%"
8250ALIGN="LEFT"
8251VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008252>the resulting document tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008253></TR
8254></TABLE
8255><P
8256></P
8257></DIV
8258></DIV
8259><HR><DIV
8260CLASS="REFSECT2"
8261><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00008262NAME="AEN1967"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008263></A
8264><H3
8265><A
8266NAME="XMLSAXPARSEENTITY"
8267></A
8268>xmlSAXParseEntity ()</H3
8269><TABLE
8270BORDER="0"
8271BGCOLOR="#D6E8FF"
8272WIDTH="100%"
8273CELLPADDING="6"
8274><TR
8275><TD
8276><PRE
8277CLASS="PROGRAMLISTING"
8278><A
8279HREF="gnome-xml-tree.html#XMLDOCPTR"
8280>xmlDocPtr</A
8281> xmlSAXParseEntity (<A
8282HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
8283>xmlSAXHandlerPtr</A
8284> sax,
8285 const char *filename);</PRE
8286></TD
8287></TR
8288></TABLE
8289><P
8290>parse an XML external entity out of context and build a tree.
8291It use the given SAX function block to handle the parsing callback.
8292If sax is NULL, fallback to the default DOM tree building routines.</P
8293><P
8294>[78] extParsedEnt ::= TextDecl? content</P
8295><P
8296>This correspond to a "Well Balanced" chunk</P
8297><P
8298></P
8299><DIV
8300CLASS="INFORMALTABLE"
8301><P
8302></P
8303><TABLE
8304BORDER="0"
8305WIDTH="100%"
8306BGCOLOR="#FFD0D0"
8307CELLSPACING="0"
8308CELLPADDING="4"
8309CLASS="CALSTABLE"
8310><TR
8311><TD
8312WIDTH="20%"
8313ALIGN="RIGHT"
8314VALIGN="TOP"
8315><TT
8316CLASS="PARAMETER"
8317><I
8318>sax</I
8319></TT
8320>&nbsp;:</TD
8321><TD
8322WIDTH="80%"
8323ALIGN="LEFT"
8324VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008325> the SAX handler block</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008326></TR
8327><TR
8328><TD
8329WIDTH="20%"
8330ALIGN="RIGHT"
8331VALIGN="TOP"
8332><TT
8333CLASS="PARAMETER"
8334><I
8335>filename</I
8336></TT
8337>&nbsp;:</TD
8338><TD
8339WIDTH="80%"
8340ALIGN="LEFT"
8341VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008342> the filename</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008343></TR
8344><TR
8345><TD
8346WIDTH="20%"
8347ALIGN="RIGHT"
8348VALIGN="TOP"
8349><I
8350CLASS="EMPHASIS"
8351>Returns</I
8352> :</TD
8353><TD
8354WIDTH="80%"
8355ALIGN="LEFT"
8356VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008357>the resulting document tree</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008358></TR
8359></TABLE
8360><P
8361></P
8362></DIV
8363></DIV
8364><HR><DIV
8365CLASS="REFSECT2"
8366><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00008367NAME="AEN1994"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008368></A
8369><H3
8370><A
8371NAME="XMLPARSEENTITY"
8372></A
8373>xmlParseEntity ()</H3
8374><TABLE
8375BORDER="0"
8376BGCOLOR="#D6E8FF"
8377WIDTH="100%"
8378CELLPADDING="6"
8379><TR
8380><TD
8381><PRE
8382CLASS="PROGRAMLISTING"
8383><A
8384HREF="gnome-xml-tree.html#XMLDOCPTR"
8385>xmlDocPtr</A
8386> xmlParseEntity (const char *filename);</PRE
8387></TD
8388></TR
8389></TABLE
8390><P
8391>parse an XML external entity out of context and build a tree.</P
8392><P
8393>[78] extParsedEnt ::= TextDecl? content</P
8394><P
8395>This correspond to a "Well Balanced" chunk</P
8396><P
8397></P
8398><DIV
8399CLASS="INFORMALTABLE"
8400><P
8401></P
8402><TABLE
8403BORDER="0"
8404WIDTH="100%"
8405BGCOLOR="#FFD0D0"
8406CELLSPACING="0"
8407CELLPADDING="4"
8408CLASS="CALSTABLE"
8409><TR
8410><TD
8411WIDTH="20%"
8412ALIGN="RIGHT"
8413VALIGN="TOP"
8414><TT
8415CLASS="PARAMETER"
8416><I
8417>filename</I
8418></TT
8419>&nbsp;:</TD
8420><TD
8421WIDTH="80%"
8422ALIGN="LEFT"
8423VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008424> the filename</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008425></TR
8426><TR
8427><TD
8428WIDTH="20%"
8429ALIGN="RIGHT"
8430VALIGN="TOP"
8431><I
8432CLASS="EMPHASIS"
8433>Returns</I
8434> :</TD
8435><TD
8436WIDTH="80%"
8437ALIGN="LEFT"
8438VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008439>the resulting document tree</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008440></TR
8441></TABLE
8442><P
8443></P
8444></DIV
8445></DIV
8446><HR><DIV
8447CLASS="REFSECT2"
8448><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00008449NAME="AEN2016"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008450></A
8451><H3
8452><A
8453NAME="XMLPARSEDTD"
8454></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008455>xmlParseDTD ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00008456><TABLE
8457BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008458BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008459WIDTH="100%"
8460CELLPADDING="6"
8461><TR
8462><TD
8463><PRE
8464CLASS="PROGRAMLISTING"
8465><A
8466HREF="gnome-xml-tree.html#XMLDTDPTR"
8467>xmlDtdPtr</A
8468> xmlParseDTD (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008469HREF="gnome-xml-tree.html#XMLCHAR"
8470>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008471> *ExternalID,
8472 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008473HREF="gnome-xml-tree.html#XMLCHAR"
8474>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008475> *SystemID);</PRE
8476></TD
8477></TR
8478></TABLE
8479><P
8480>Load and parse an external subset.</P
8481><P
8482></P
8483><DIV
8484CLASS="INFORMALTABLE"
8485><P
8486></P
8487><TABLE
8488BORDER="0"
8489WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008490BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008491CELLSPACING="0"
8492CELLPADDING="4"
8493CLASS="CALSTABLE"
8494><TR
8495><TD
8496WIDTH="20%"
8497ALIGN="RIGHT"
8498VALIGN="TOP"
8499><TT
8500CLASS="PARAMETER"
8501><I
8502>ExternalID</I
8503></TT
8504>&nbsp;:</TD
8505><TD
8506WIDTH="80%"
8507ALIGN="LEFT"
8508VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008509> a NAME* containing the External ID of the DTD</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008510></TR
8511><TR
8512><TD
8513WIDTH="20%"
8514ALIGN="RIGHT"
8515VALIGN="TOP"
8516><TT
8517CLASS="PARAMETER"
8518><I
8519>SystemID</I
8520></TT
8521>&nbsp;:</TD
8522><TD
8523WIDTH="80%"
8524ALIGN="LEFT"
8525VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008526> a NAME* containing the URL to the DTD</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008527></TR
8528><TR
8529><TD
8530WIDTH="20%"
8531ALIGN="RIGHT"
8532VALIGN="TOP"
8533><I
8534CLASS="EMPHASIS"
8535>Returns</I
8536> :</TD
8537><TD
8538WIDTH="80%"
8539ALIGN="LEFT"
8540VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008541>the resulting xmlDtdPtr or NULL in case of error.</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008542></TR
8543></TABLE
8544><P
8545></P
8546></DIV
8547></DIV
8548><HR><DIV
8549CLASS="REFSECT2"
8550><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00008551NAME="AEN2042"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008552></A
8553><H3
8554><A
8555NAME="XMLSAXPARSEDTD"
8556></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008557>xmlSAXParseDTD ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00008558><TABLE
8559BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008560BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008561WIDTH="100%"
8562CELLPADDING="6"
8563><TR
8564><TD
8565><PRE
8566CLASS="PROGRAMLISTING"
8567><A
8568HREF="gnome-xml-tree.html#XMLDTDPTR"
8569>xmlDtdPtr</A
8570> xmlSAXParseDTD (<A
8571HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
8572>xmlSAXHandlerPtr</A
8573> sax,
8574 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008575HREF="gnome-xml-tree.html#XMLCHAR"
8576>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008577> *ExternalID,
8578 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008579HREF="gnome-xml-tree.html#XMLCHAR"
8580>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008581> *SystemID);</PRE
8582></TD
8583></TR
8584></TABLE
8585><P
8586>Load and parse an external subset.</P
8587><P
8588></P
8589><DIV
8590CLASS="INFORMALTABLE"
8591><P
8592></P
8593><TABLE
8594BORDER="0"
8595WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008596BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008597CELLSPACING="0"
8598CELLPADDING="4"
8599CLASS="CALSTABLE"
8600><TR
8601><TD
8602WIDTH="20%"
8603ALIGN="RIGHT"
8604VALIGN="TOP"
8605><TT
8606CLASS="PARAMETER"
8607><I
8608>sax</I
8609></TT
8610>&nbsp;:</TD
8611><TD
8612WIDTH="80%"
8613ALIGN="LEFT"
8614VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008615> the SAX handler block</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008616></TR
8617><TR
8618><TD
8619WIDTH="20%"
8620ALIGN="RIGHT"
8621VALIGN="TOP"
8622><TT
8623CLASS="PARAMETER"
8624><I
8625>ExternalID</I
8626></TT
8627>&nbsp;:</TD
8628><TD
8629WIDTH="80%"
8630ALIGN="LEFT"
8631VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008632> a NAME* containing the External ID of the DTD</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008633></TR
8634><TR
8635><TD
8636WIDTH="20%"
8637ALIGN="RIGHT"
8638VALIGN="TOP"
8639><TT
8640CLASS="PARAMETER"
8641><I
8642>SystemID</I
8643></TT
8644>&nbsp;:</TD
8645><TD
8646WIDTH="80%"
8647ALIGN="LEFT"
8648VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008649> a NAME* containing the URL to the DTD</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008650></TR
8651><TR
8652><TD
8653WIDTH="20%"
8654ALIGN="RIGHT"
8655VALIGN="TOP"
8656><I
8657CLASS="EMPHASIS"
8658>Returns</I
8659> :</TD
8660><TD
8661WIDTH="80%"
8662ALIGN="LEFT"
8663VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008664>the resulting xmlDtdPtr or NULL in case of error.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008665></TR
8666></TABLE
8667><P
8668></P
8669></DIV
8670></DIV
8671><HR><DIV
8672CLASS="REFSECT2"
8673><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00008674NAME="AEN2073"
8675></A
8676><H3
8677><A
8678NAME="XMLIOPARSEDTD"
8679></A
8680>xmlIOParseDTD ()</H3
8681><TABLE
8682BORDER="0"
8683BGCOLOR="#D6E8FF"
8684WIDTH="100%"
8685CELLPADDING="6"
8686><TR
8687><TD
8688><PRE
8689CLASS="PROGRAMLISTING"
8690><A
8691HREF="gnome-xml-tree.html#XMLDTDPTR"
8692>xmlDtdPtr</A
8693> xmlIOParseDTD (<A
8694HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
8695>xmlSAXHandlerPtr</A
8696> sax,
8697 <A
8698HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR"
8699>xmlParserInputBufferPtr</A
8700> input,
8701 <A
8702HREF="gnome-xml-encoding.html#XMLCHARENCODING"
8703>xmlCharEncoding</A
8704> enc);</PRE
8705></TD
8706></TR
8707></TABLE
8708><P
8709>Load and parse a DTD</P
8710><P
8711></P
8712><DIV
8713CLASS="INFORMALTABLE"
8714><P
8715></P
8716><TABLE
8717BORDER="0"
8718WIDTH="100%"
8719BGCOLOR="#FFD0D0"
8720CELLSPACING="0"
8721CELLPADDING="4"
8722CLASS="CALSTABLE"
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> the SAX handler block or NULL</TD
8739></TR
8740><TR
8741><TD
8742WIDTH="20%"
8743ALIGN="RIGHT"
8744VALIGN="TOP"
8745><TT
8746CLASS="PARAMETER"
8747><I
8748>input</I
8749></TT
8750>&nbsp;:</TD
8751><TD
8752WIDTH="80%"
8753ALIGN="LEFT"
8754VALIGN="TOP"
8755> an Input Buffer</TD
8756></TR
8757><TR
8758><TD
8759WIDTH="20%"
8760ALIGN="RIGHT"
8761VALIGN="TOP"
8762><TT
8763CLASS="PARAMETER"
8764><I
8765>enc</I
8766></TT
8767>&nbsp;:</TD
8768><TD
8769WIDTH="80%"
8770ALIGN="LEFT"
8771VALIGN="TOP"
8772> the charset encoding if known</TD
8773></TR
8774><TR
8775><TD
8776WIDTH="20%"
8777ALIGN="RIGHT"
8778VALIGN="TOP"
8779><I
8780CLASS="EMPHASIS"
8781>Returns</I
8782> :</TD
8783><TD
8784WIDTH="80%"
8785ALIGN="LEFT"
8786VALIGN="TOP"
8787>the resulting xmlDtdPtr or NULL in case of error.
8788<TT
8789CLASS="PARAMETER"
8790><I
8791>input</I
8792></TT
8793> will be freed at parsing end.</TD
8794></TR
8795></TABLE
8796><P
8797></P
8798></DIV
8799></DIV
8800><HR><DIV
8801CLASS="REFSECT2"
8802><A
8803NAME="AEN2105"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008804></A
8805><H3
8806><A
8807NAME="XMLPARSEBALANCEDCHUNKMEMORY"
8808></A
8809>xmlParseBalancedChunkMemory ()</H3
8810><TABLE
8811BORDER="0"
8812BGCOLOR="#D6E8FF"
8813WIDTH="100%"
8814CELLPADDING="6"
8815><TR
8816><TD
8817><PRE
8818CLASS="PROGRAMLISTING"
8819>int xmlParseBalancedChunkMemory (<A
8820HREF="gnome-xml-tree.html#XMLDOCPTR"
8821>xmlDocPtr</A
8822> doc,
8823 <A
8824HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
8825>xmlSAXHandlerPtr</A
8826> sax,
8827 void *user_data,
8828 int depth,
8829 const <A
8830HREF="gnome-xml-tree.html#XMLCHAR"
8831>xmlChar</A
8832> *string,
8833 <A
8834HREF="gnome-xml-tree.html#XMLNODEPTR"
8835>xmlNodePtr</A
8836> *list);</PRE
8837></TD
8838></TR
8839></TABLE
8840><P
8841></P
8842><DIV
8843CLASS="INFORMALTABLE"
8844><P
8845></P
8846><TABLE
8847BORDER="0"
8848WIDTH="100%"
8849BGCOLOR="#FFD0D0"
8850CELLSPACING="0"
8851CELLPADDING="4"
8852CLASS="CALSTABLE"
8853><TR
8854><TD
8855WIDTH="20%"
8856ALIGN="RIGHT"
8857VALIGN="TOP"
8858><TT
8859CLASS="PARAMETER"
8860><I
8861>doc</I
8862></TT
8863>&nbsp;:</TD
8864><TD
8865WIDTH="80%"
8866ALIGN="LEFT"
8867VALIGN="TOP"
8868>&nbsp;</TD
8869></TR
8870><TR
8871><TD
8872WIDTH="20%"
8873ALIGN="RIGHT"
8874VALIGN="TOP"
8875><TT
8876CLASS="PARAMETER"
8877><I
8878>sax</I
8879></TT
8880>&nbsp;:</TD
8881><TD
8882WIDTH="80%"
8883ALIGN="LEFT"
8884VALIGN="TOP"
8885>&nbsp;</TD
8886></TR
8887><TR
8888><TD
8889WIDTH="20%"
8890ALIGN="RIGHT"
8891VALIGN="TOP"
8892><TT
8893CLASS="PARAMETER"
8894><I
8895>user_data</I
8896></TT
8897>&nbsp;:</TD
8898><TD
8899WIDTH="80%"
8900ALIGN="LEFT"
8901VALIGN="TOP"
8902>&nbsp;</TD
8903></TR
8904><TR
8905><TD
8906WIDTH="20%"
8907ALIGN="RIGHT"
8908VALIGN="TOP"
8909><TT
8910CLASS="PARAMETER"
8911><I
8912>depth</I
8913></TT
8914>&nbsp;:</TD
8915><TD
8916WIDTH="80%"
8917ALIGN="LEFT"
8918VALIGN="TOP"
8919>&nbsp;</TD
8920></TR
8921><TR
8922><TD
8923WIDTH="20%"
8924ALIGN="RIGHT"
8925VALIGN="TOP"
8926><TT
8927CLASS="PARAMETER"
8928><I
8929>string</I
8930></TT
8931>&nbsp;:</TD
8932><TD
8933WIDTH="80%"
8934ALIGN="LEFT"
8935VALIGN="TOP"
8936>&nbsp;</TD
8937></TR
8938><TR
8939><TD
8940WIDTH="20%"
8941ALIGN="RIGHT"
8942VALIGN="TOP"
8943><TT
8944CLASS="PARAMETER"
8945><I
8946>list</I
8947></TT
8948>&nbsp;:</TD
8949><TD
8950WIDTH="80%"
8951ALIGN="LEFT"
8952VALIGN="TOP"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00008953>&nbsp;</TD
8954></TR
8955><TR
8956><TD
8957WIDTH="20%"
8958ALIGN="RIGHT"
8959VALIGN="TOP"
8960><I
8961CLASS="EMPHASIS"
8962>Returns</I
8963> :</TD
8964><TD
8965WIDTH="80%"
8966ALIGN="LEFT"
8967VALIGN="TOP"
8968>&nbsp;</TD
8969></TR
8970></TABLE
8971><P
8972></P
8973></DIV
8974></DIV
8975><HR><DIV
8976CLASS="REFSECT2"
8977><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00008978NAME="AEN2147"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008979></A
8980><H3
8981><A
8982NAME="XMLPARSEEXTERNALENTITY"
8983></A
8984>xmlParseExternalEntity ()</H3
8985><TABLE
8986BORDER="0"
8987BGCOLOR="#D6E8FF"
8988WIDTH="100%"
8989CELLPADDING="6"
8990><TR
8991><TD
8992><PRE
8993CLASS="PROGRAMLISTING"
8994>int xmlParseExternalEntity (<A
8995HREF="gnome-xml-tree.html#XMLDOCPTR"
8996>xmlDocPtr</A
8997> doc,
8998 <A
8999HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
9000>xmlSAXHandlerPtr</A
9001> sax,
9002 void *user_data,
9003 int depth,
9004 const <A
9005HREF="gnome-xml-tree.html#XMLCHAR"
9006>xmlChar</A
9007> *URL,
9008 const <A
9009HREF="gnome-xml-tree.html#XMLCHAR"
9010>xmlChar</A
9011> *ID,
9012 <A
9013HREF="gnome-xml-tree.html#XMLNODEPTR"
9014>xmlNodePtr</A
9015> *list);</PRE
9016></TD
9017></TR
9018></TABLE
9019><P
9020>Parse an external general entity
9021An external general parsed entity is well-formed if it matches the
9022production labeled extParsedEnt.</P
9023><P
9024>[78] extParsedEnt ::= TextDecl? content</P
9025><P
9026></P
9027><DIV
9028CLASS="INFORMALTABLE"
9029><P
9030></P
9031><TABLE
9032BORDER="0"
9033WIDTH="100%"
9034BGCOLOR="#FFD0D0"
9035CELLSPACING="0"
9036CELLPADDING="4"
9037CLASS="CALSTABLE"
9038><TR
9039><TD
9040WIDTH="20%"
9041ALIGN="RIGHT"
9042VALIGN="TOP"
9043><TT
9044CLASS="PARAMETER"
9045><I
9046>doc</I
9047></TT
9048>&nbsp;:</TD
9049><TD
9050WIDTH="80%"
9051ALIGN="LEFT"
9052VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009053> the document the chunk pertains to</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009054></TR
9055><TR
9056><TD
9057WIDTH="20%"
9058ALIGN="RIGHT"
9059VALIGN="TOP"
9060><TT
9061CLASS="PARAMETER"
9062><I
9063>sax</I
9064></TT
9065>&nbsp;:</TD
9066><TD
9067WIDTH="80%"
9068ALIGN="LEFT"
9069VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009070> the SAX handler bloc (possibly NULL)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009071></TR
9072><TR
9073><TD
9074WIDTH="20%"
9075ALIGN="RIGHT"
9076VALIGN="TOP"
9077><TT
9078CLASS="PARAMETER"
9079><I
9080>user_data</I
9081></TT
9082>&nbsp;:</TD
9083><TD
9084WIDTH="80%"
9085ALIGN="LEFT"
9086VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009087> The user data returned on SAX callbacks (possibly NULL)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009088></TR
9089><TR
9090><TD
9091WIDTH="20%"
9092ALIGN="RIGHT"
9093VALIGN="TOP"
9094><TT
9095CLASS="PARAMETER"
9096><I
9097>depth</I
9098></TT
9099>&nbsp;:</TD
9100><TD
9101WIDTH="80%"
9102ALIGN="LEFT"
9103VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009104> Used for loop detection, use 0</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009105></TR
9106><TR
9107><TD
9108WIDTH="20%"
9109ALIGN="RIGHT"
9110VALIGN="TOP"
9111><TT
9112CLASS="PARAMETER"
9113><I
9114>URL</I
9115></TT
9116>&nbsp;:</TD
9117><TD
9118WIDTH="80%"
9119ALIGN="LEFT"
9120VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009121> the URL for the entity to load</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009122></TR
9123><TR
9124><TD
9125WIDTH="20%"
9126ALIGN="RIGHT"
9127VALIGN="TOP"
9128><TT
9129CLASS="PARAMETER"
9130><I
9131>ID</I
9132></TT
9133>&nbsp;:</TD
9134><TD
9135WIDTH="80%"
9136ALIGN="LEFT"
9137VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009138> the System ID for the entity to load</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009139></TR
9140><TR
9141><TD
9142WIDTH="20%"
9143ALIGN="RIGHT"
9144VALIGN="TOP"
9145><TT
9146CLASS="PARAMETER"
9147><I
9148>list</I
9149></TT
9150>&nbsp;:</TD
9151><TD
9152WIDTH="80%"
9153ALIGN="LEFT"
9154VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009155> the return value for the set of parsed nodes</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009156></TR
9157><TR
9158><TD
9159WIDTH="20%"
9160ALIGN="RIGHT"
9161VALIGN="TOP"
9162><I
9163CLASS="EMPHASIS"
9164>Returns</I
9165> :</TD
9166><TD
9167WIDTH="80%"
9168ALIGN="LEFT"
9169VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009170>0 if the entity is well formed, -1 in case of args problem and
9171the parser error code otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009172></TR
9173></TABLE
9174><P
9175></P
9176></DIV
9177></DIV
9178><HR><DIV
9179CLASS="REFSECT2"
9180><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00009181NAME="AEN2196"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009182></A
9183><H3
9184><A
9185NAME="XMLPARSECTXTEXTERNALENTITY"
9186></A
9187>xmlParseCtxtExternalEntity ()</H3
9188><TABLE
9189BORDER="0"
9190BGCOLOR="#D6E8FF"
9191WIDTH="100%"
9192CELLPADDING="6"
9193><TR
9194><TD
9195><PRE
9196CLASS="PROGRAMLISTING"
9197>int xmlParseCtxtExternalEntity (<A
9198HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9199>xmlParserCtxtPtr</A
9200> ctx,
9201 const <A
9202HREF="gnome-xml-tree.html#XMLCHAR"
9203>xmlChar</A
9204> *URL,
9205 const <A
9206HREF="gnome-xml-tree.html#XMLCHAR"
9207>xmlChar</A
9208> *ID,
9209 <A
9210HREF="gnome-xml-tree.html#XMLNODEPTR"
9211>xmlNodePtr</A
9212> *list);</PRE
9213></TD
9214></TR
9215></TABLE
9216><P
9217>Parse an external general entity within an existing parsing context
9218An external general parsed entity is well-formed if it matches the
9219production labeled extParsedEnt.</P
9220><P
9221>[78] extParsedEnt ::= TextDecl? content</P
9222><P
9223></P
9224><DIV
9225CLASS="INFORMALTABLE"
9226><P
9227></P
9228><TABLE
9229BORDER="0"
9230WIDTH="100%"
9231BGCOLOR="#FFD0D0"
9232CELLSPACING="0"
9233CELLPADDING="4"
9234CLASS="CALSTABLE"
9235><TR
9236><TD
9237WIDTH="20%"
9238ALIGN="RIGHT"
9239VALIGN="TOP"
9240><TT
9241CLASS="PARAMETER"
9242><I
9243>ctx</I
9244></TT
9245>&nbsp;:</TD
9246><TD
9247WIDTH="80%"
9248ALIGN="LEFT"
9249VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009250> the existing parsing context</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009251></TR
9252><TR
9253><TD
9254WIDTH="20%"
9255ALIGN="RIGHT"
9256VALIGN="TOP"
9257><TT
9258CLASS="PARAMETER"
9259><I
9260>URL</I
9261></TT
9262>&nbsp;:</TD
9263><TD
9264WIDTH="80%"
9265ALIGN="LEFT"
9266VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009267> the URL for the entity to load</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009268></TR
9269><TR
9270><TD
9271WIDTH="20%"
9272ALIGN="RIGHT"
9273VALIGN="TOP"
9274><TT
9275CLASS="PARAMETER"
9276><I
9277>ID</I
9278></TT
9279>&nbsp;:</TD
9280><TD
9281WIDTH="80%"
9282ALIGN="LEFT"
9283VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009284> the System ID for the entity to load</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009285></TR
9286><TR
9287><TD
9288WIDTH="20%"
9289ALIGN="RIGHT"
9290VALIGN="TOP"
9291><TT
9292CLASS="PARAMETER"
9293><I
9294>list</I
9295></TT
9296>&nbsp;:</TD
9297><TD
9298WIDTH="80%"
9299ALIGN="LEFT"
9300VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009301> the return value for the set of parsed nodes</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009302></TR
9303><TR
9304><TD
9305WIDTH="20%"
9306ALIGN="RIGHT"
9307VALIGN="TOP"
9308><I
9309CLASS="EMPHASIS"
9310>Returns</I
9311> :</TD
9312><TD
9313WIDTH="80%"
9314ALIGN="LEFT"
9315VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009316>0 if the entity is well formed, -1 in case of args problem and
9317the parser error code otherwise</TD
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009318></TR
9319></TABLE
9320><P
9321></P
9322></DIV
9323></DIV
9324><HR><DIV
9325CLASS="REFSECT2"
9326><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00009327NAME="AEN2232"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009328></A
9329><H3
9330><A
9331NAME="XMLDEFAULTSAXHANDLERINIT"
9332></A
9333>xmlDefaultSAXHandlerInit ()</H3
9334><TABLE
9335BORDER="0"
9336BGCOLOR="#D6E8FF"
9337WIDTH="100%"
9338CELLPADDING="6"
9339><TR
9340><TD
9341><PRE
9342CLASS="PROGRAMLISTING"
9343>void xmlDefaultSAXHandlerInit (void);</PRE
9344></TD
9345></TR
9346></TABLE
9347><P
9348>Initialize the default SAX handler</P
9349><P
9350></P
9351></DIV
9352><HR><DIV
9353CLASS="REFSECT2"
9354><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00009355NAME="AEN2238"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009356></A
9357><H3
9358><A
9359NAME="HTMLDEFAULTSAXHANDLERINIT"
9360></A
9361>htmlDefaultSAXHandlerInit ()</H3
9362><TABLE
9363BORDER="0"
9364BGCOLOR="#D6E8FF"
9365WIDTH="100%"
9366CELLPADDING="6"
9367><TR
9368><TD
9369><PRE
9370CLASS="PROGRAMLISTING"
9371>void htmlDefaultSAXHandlerInit (void);</PRE
9372></TD
9373></TR
9374></TABLE
9375><P
9376>Initialize the default SAX handler</P
9377><P
9378></P
9379></DIV
9380><HR><DIV
9381CLASS="REFSECT2"
9382><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00009383NAME="AEN2244"
Daniel Veillard35925471999-02-25 08:46:07 +00009384></A
9385><H3
9386><A
9387NAME="XMLINITPARSERCTXT"
9388></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009389>xmlInitParserCtxt ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009390><TABLE
9391BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009392BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009393WIDTH="100%"
9394CELLPADDING="6"
9395><TR
9396><TD
9397><PRE
9398CLASS="PROGRAMLISTING"
9399>void xmlInitParserCtxt (<A
9400HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9401>xmlParserCtxtPtr</A
9402> ctxt);</PRE
9403></TD
9404></TR
9405></TABLE
9406><P
9407>Initialize a parser context</P
9408><P
9409></P
9410><DIV
9411CLASS="INFORMALTABLE"
9412><P
9413></P
9414><TABLE
9415BORDER="0"
9416WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009417BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009418CELLSPACING="0"
9419CELLPADDING="4"
9420CLASS="CALSTABLE"
9421><TR
9422><TD
9423WIDTH="20%"
9424ALIGN="RIGHT"
9425VALIGN="TOP"
9426><TT
9427CLASS="PARAMETER"
9428><I
9429>ctxt</I
9430></TT
9431>&nbsp;:</TD
9432><TD
9433WIDTH="80%"
9434ALIGN="LEFT"
9435VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009436> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009437></TR
9438></TABLE
9439><P
9440></P
9441></DIV
9442></DIV
9443><HR><DIV
9444CLASS="REFSECT2"
9445><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00009446NAME="AEN2260"
Daniel Veillard35925471999-02-25 08:46:07 +00009447></A
9448><H3
9449><A
9450NAME="XMLCLEARPARSERCTXT"
9451></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009452>xmlClearParserCtxt ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009453><TABLE
9454BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009455BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009456WIDTH="100%"
9457CELLPADDING="6"
9458><TR
9459><TD
9460><PRE
9461CLASS="PROGRAMLISTING"
9462>void xmlClearParserCtxt (<A
9463HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9464>xmlParserCtxtPtr</A
9465> ctxt);</PRE
9466></TD
9467></TR
9468></TABLE
9469><P
9470>Clear (release owned resources) and reinitialize a parser context</P
9471><P
9472></P
9473><DIV
9474CLASS="INFORMALTABLE"
9475><P
9476></P
9477><TABLE
9478BORDER="0"
9479WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009480BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009481CELLSPACING="0"
9482CELLPADDING="4"
9483CLASS="CALSTABLE"
9484><TR
9485><TD
9486WIDTH="20%"
9487ALIGN="RIGHT"
9488VALIGN="TOP"
9489><TT
9490CLASS="PARAMETER"
9491><I
9492>ctxt</I
9493></TT
9494>&nbsp;:</TD
9495><TD
9496WIDTH="80%"
9497ALIGN="LEFT"
9498VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009499> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009500></TR
9501></TABLE
9502><P
9503></P
9504></DIV
9505></DIV
9506><HR><DIV
9507CLASS="REFSECT2"
9508><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00009509NAME="AEN2276"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009510></A
9511><H3
9512><A
9513NAME="XMLFREEPARSERCTXT"
9514></A
9515>xmlFreeParserCtxt ()</H3
9516><TABLE
9517BORDER="0"
9518BGCOLOR="#D6E8FF"
9519WIDTH="100%"
9520CELLPADDING="6"
9521><TR
9522><TD
9523><PRE
9524CLASS="PROGRAMLISTING"
9525>void xmlFreeParserCtxt (<A
9526HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9527>xmlParserCtxtPtr</A
9528> ctxt);</PRE
9529></TD
9530></TR
9531></TABLE
9532><P
9533>Free all the memory used by a parser context. However the parsed
9534document in ctxt-&gt;myDoc is not freed.</P
9535><P
9536></P
9537><DIV
9538CLASS="INFORMALTABLE"
9539><P
9540></P
9541><TABLE
9542BORDER="0"
9543WIDTH="100%"
9544BGCOLOR="#FFD0D0"
9545CELLSPACING="0"
9546CELLPADDING="4"
9547CLASS="CALSTABLE"
9548><TR
9549><TD
9550WIDTH="20%"
9551ALIGN="RIGHT"
9552VALIGN="TOP"
9553><TT
9554CLASS="PARAMETER"
9555><I
9556>ctxt</I
9557></TT
9558>&nbsp;:</TD
9559><TD
9560WIDTH="80%"
9561ALIGN="LEFT"
9562VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009563> an XML parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009564></TR
9565></TABLE
9566><P
9567></P
9568></DIV
9569></DIV
9570><HR><DIV
9571CLASS="REFSECT2"
9572><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00009573NAME="AEN2292"
Daniel Veillard35925471999-02-25 08:46:07 +00009574></A
9575><H3
9576><A
9577NAME="XMLSETUPPARSERFORBUFFER"
9578></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009579>xmlSetupParserForBuffer ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009580><TABLE
9581BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009582BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009583WIDTH="100%"
9584CELLPADDING="6"
9585><TR
9586><TD
9587><PRE
9588CLASS="PROGRAMLISTING"
9589>void xmlSetupParserForBuffer (<A
9590HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9591>xmlParserCtxtPtr</A
9592> ctxt,
9593 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009594HREF="gnome-xml-tree.html#XMLCHAR"
9595>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00009596> *buffer,
9597 const char *filename);</PRE
9598></TD
9599></TR
9600></TABLE
9601><P
9602>Setup the parser context to parse a new buffer; Clears any prior
9603contents from the parser context. The buffer parameter must not be
9604NULL, but the filename parameter can be</P
9605><P
9606></P
9607><DIV
9608CLASS="INFORMALTABLE"
9609><P
9610></P
9611><TABLE
9612BORDER="0"
9613WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009614BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009615CELLSPACING="0"
9616CELLPADDING="4"
9617CLASS="CALSTABLE"
9618><TR
9619><TD
9620WIDTH="20%"
9621ALIGN="RIGHT"
9622VALIGN="TOP"
9623><TT
9624CLASS="PARAMETER"
9625><I
9626>ctxt</I
9627></TT
9628>&nbsp;:</TD
9629><TD
9630WIDTH="80%"
9631ALIGN="LEFT"
9632VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009633> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009634></TR
9635><TR
9636><TD
9637WIDTH="20%"
9638ALIGN="RIGHT"
9639VALIGN="TOP"
9640><TT
9641CLASS="PARAMETER"
9642><I
9643>buffer</I
9644></TT
9645>&nbsp;:</TD
9646><TD
9647WIDTH="80%"
9648ALIGN="LEFT"
9649VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009650> a xmlChar * buffer</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009651></TR
9652><TR
9653><TD
9654WIDTH="20%"
9655ALIGN="RIGHT"
9656VALIGN="TOP"
9657><TT
9658CLASS="PARAMETER"
9659><I
9660>filename</I
9661></TT
9662>&nbsp;:</TD
9663><TD
9664WIDTH="80%"
9665ALIGN="LEFT"
9666VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009667> a file name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009668></TR
9669></TABLE
9670><P
9671></P
9672></DIV
9673></DIV
9674><HR><DIV
9675CLASS="REFSECT2"
9676><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00009677NAME="AEN2317"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009678></A
9679><H3
9680><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009681NAME="XMLCREATEDOCPARSERCTXT"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009682></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009683>xmlCreateDocParserCtxt ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009684><TABLE
9685BORDER="0"
9686BGCOLOR="#D6E8FF"
9687WIDTH="100%"
9688CELLPADDING="6"
9689><TR
9690><TD
9691><PRE
9692CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009693><A
9694HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9695>xmlParserCtxtPtr</A
9696> xmlCreateDocParserCtxt (<A
9697HREF="gnome-xml-tree.html#XMLCHAR"
9698>xmlChar</A
9699> *cur);</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009700></TD
9701></TR
9702></TABLE
9703><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009704>Creates a parser context for an XML in-memory document.</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009705><P
9706></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009707><DIV
9708CLASS="INFORMALTABLE"
9709><P
9710></P
9711><TABLE
9712BORDER="0"
9713WIDTH="100%"
9714BGCOLOR="#FFD0D0"
9715CELLSPACING="0"
9716CELLPADDING="4"
9717CLASS="CALSTABLE"
9718><TR
9719><TD
9720WIDTH="20%"
9721ALIGN="RIGHT"
9722VALIGN="TOP"
9723><TT
9724CLASS="PARAMETER"
9725><I
9726>cur</I
9727></TT
9728>&nbsp;:</TD
9729><TD
9730WIDTH="80%"
9731ALIGN="LEFT"
9732VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009733> a pointer to an array of xmlChar</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009734></TR
9735><TR
9736><TD
9737WIDTH="20%"
9738ALIGN="RIGHT"
9739VALIGN="TOP"
9740><I
9741CLASS="EMPHASIS"
9742>Returns</I
9743> :</TD
9744><TD
9745WIDTH="80%"
9746ALIGN="LEFT"
9747VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009748>the new parser context or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009749></TR
9750></TABLE
9751><P
9752></P
9753></DIV
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00009754></DIV
9755><HR><DIV
9756CLASS="REFSECT2"
9757><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00009758NAME="AEN2338"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009759></A
9760><H3
9761><A
9762NAME="XMLGETFEATURESLIST"
9763></A
9764>xmlGetFeaturesList ()</H3
9765><TABLE
9766BORDER="0"
9767BGCOLOR="#D6E8FF"
9768WIDTH="100%"
9769CELLPADDING="6"
9770><TR
9771><TD
9772><PRE
9773CLASS="PROGRAMLISTING"
9774>int xmlGetFeaturesList (int *len,
9775 const char **result);</PRE
9776></TD
9777></TR
9778></TABLE
9779><P
9780></P
9781><DIV
9782CLASS="INFORMALTABLE"
9783><P
9784></P
9785><TABLE
9786BORDER="0"
9787WIDTH="100%"
9788BGCOLOR="#FFD0D0"
9789CELLSPACING="0"
9790CELLPADDING="4"
9791CLASS="CALSTABLE"
9792><TR
9793><TD
9794WIDTH="20%"
9795ALIGN="RIGHT"
9796VALIGN="TOP"
9797><TT
9798CLASS="PARAMETER"
9799><I
9800>len</I
9801></TT
9802>&nbsp;:</TD
9803><TD
9804WIDTH="80%"
9805ALIGN="LEFT"
9806VALIGN="TOP"
9807>&nbsp;</TD
9808></TR
9809><TR
9810><TD
9811WIDTH="20%"
9812ALIGN="RIGHT"
9813VALIGN="TOP"
9814><TT
9815CLASS="PARAMETER"
9816><I
9817>result</I
9818></TT
9819>&nbsp;:</TD
9820><TD
9821WIDTH="80%"
9822ALIGN="LEFT"
9823VALIGN="TOP"
9824>&nbsp;</TD
9825></TR
9826><TR
9827><TD
9828WIDTH="20%"
9829ALIGN="RIGHT"
9830VALIGN="TOP"
9831><I
9832CLASS="EMPHASIS"
9833>Returns</I
9834> :</TD
9835><TD
9836WIDTH="80%"
9837ALIGN="LEFT"
9838VALIGN="TOP"
9839>&nbsp;</TD
9840></TR
9841></TABLE
9842><P
9843></P
9844></DIV
9845></DIV
9846><HR><DIV
9847CLASS="REFSECT2"
9848><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00009849NAME="AEN2360"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009850></A
9851><H3
9852><A
9853NAME="XMLGETFEATURE"
9854></A
9855>xmlGetFeature ()</H3
9856><TABLE
9857BORDER="0"
9858BGCOLOR="#D6E8FF"
9859WIDTH="100%"
9860CELLPADDING="6"
9861><TR
9862><TD
9863><PRE
9864CLASS="PROGRAMLISTING"
9865>int xmlGetFeature (<A
9866HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9867>xmlParserCtxtPtr</A
9868> ctxt,
9869 const char *name,
9870 void *result);</PRE
9871></TD
9872></TR
9873></TABLE
9874><P
9875></P
9876><DIV
9877CLASS="INFORMALTABLE"
9878><P
9879></P
9880><TABLE
9881BORDER="0"
9882WIDTH="100%"
9883BGCOLOR="#FFD0D0"
9884CELLSPACING="0"
9885CELLPADDING="4"
9886CLASS="CALSTABLE"
9887><TR
9888><TD
9889WIDTH="20%"
9890ALIGN="RIGHT"
9891VALIGN="TOP"
9892><TT
9893CLASS="PARAMETER"
9894><I
9895>ctxt</I
9896></TT
9897>&nbsp;:</TD
9898><TD
9899WIDTH="80%"
9900ALIGN="LEFT"
9901VALIGN="TOP"
9902>&nbsp;</TD
9903></TR
9904><TR
9905><TD
9906WIDTH="20%"
9907ALIGN="RIGHT"
9908VALIGN="TOP"
9909><TT
9910CLASS="PARAMETER"
9911><I
9912>name</I
9913></TT
9914>&nbsp;:</TD
9915><TD
9916WIDTH="80%"
9917ALIGN="LEFT"
9918VALIGN="TOP"
9919>&nbsp;</TD
9920></TR
9921><TR
9922><TD
9923WIDTH="20%"
9924ALIGN="RIGHT"
9925VALIGN="TOP"
9926><TT
9927CLASS="PARAMETER"
9928><I
9929>result</I
9930></TT
9931>&nbsp;:</TD
9932><TD
9933WIDTH="80%"
9934ALIGN="LEFT"
9935VALIGN="TOP"
9936>&nbsp;</TD
9937></TR
9938><TR
9939><TD
9940WIDTH="20%"
9941ALIGN="RIGHT"
9942VALIGN="TOP"
9943><I
9944CLASS="EMPHASIS"
9945>Returns</I
9946> :</TD
9947><TD
9948WIDTH="80%"
9949ALIGN="LEFT"
9950VALIGN="TOP"
9951>&nbsp;</TD
9952></TR
9953></TABLE
9954><P
9955></P
9956></DIV
9957></DIV
9958><HR><DIV
9959CLASS="REFSECT2"
9960><A
Daniel Veillarda4964b72000-10-31 18:23:44 +00009961NAME="AEN2387"
Daniel Veillard7c29ce22000-08-12 21:20:53 +00009962></A
9963><H3
9964><A
9965NAME="XMLSETFEATURE"
9966></A
9967>xmlSetFeature ()</H3
9968><TABLE
9969BORDER="0"
9970BGCOLOR="#D6E8FF"
9971WIDTH="100%"
9972CELLPADDING="6"
9973><TR
9974><TD
9975><PRE
9976CLASS="PROGRAMLISTING"
9977>int xmlSetFeature (<A
9978HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9979>xmlParserCtxtPtr</A
9980> ctxt,
9981 const char *name,
9982 void *value);</PRE
9983></TD
9984></TR
9985></TABLE
9986><P
9987></P
9988><DIV
9989CLASS="INFORMALTABLE"
9990><P
9991></P
9992><TABLE
9993BORDER="0"
9994WIDTH="100%"
9995BGCOLOR="#FFD0D0"
9996CELLSPACING="0"
9997CELLPADDING="4"
9998CLASS="CALSTABLE"
9999><TR
10000><TD
10001WIDTH="20%"
10002ALIGN="RIGHT"
10003VALIGN="TOP"
10004><TT
10005CLASS="PARAMETER"
10006><I
10007>ctxt</I
10008></TT
10009>&nbsp;:</TD
10010><TD
10011WIDTH="80%"
10012ALIGN="LEFT"
10013VALIGN="TOP"
10014>&nbsp;</TD
10015></TR
10016><TR
10017><TD
10018WIDTH="20%"
10019ALIGN="RIGHT"
10020VALIGN="TOP"
10021><TT
10022CLASS="PARAMETER"
10023><I
10024>name</I
10025></TT
10026>&nbsp;:</TD
10027><TD
10028WIDTH="80%"
10029ALIGN="LEFT"
10030VALIGN="TOP"
10031>&nbsp;</TD
10032></TR
10033><TR
10034><TD
10035WIDTH="20%"
10036ALIGN="RIGHT"
10037VALIGN="TOP"
10038><TT
10039CLASS="PARAMETER"
10040><I
10041>value</I
10042></TT
10043>&nbsp;:</TD
10044><TD
10045WIDTH="80%"
10046ALIGN="LEFT"
10047VALIGN="TOP"
10048>&nbsp;</TD
10049></TR
10050><TR
10051><TD
10052WIDTH="20%"
10053ALIGN="RIGHT"
10054VALIGN="TOP"
10055><I
10056CLASS="EMPHASIS"
10057>Returns</I
10058> :</TD
10059><TD
10060WIDTH="80%"
10061ALIGN="LEFT"
10062VALIGN="TOP"
10063>&nbsp;</TD
10064></TR
10065></TABLE
10066><P
10067></P
10068></DIV
10069></DIV
10070><HR><DIV
10071CLASS="REFSECT2"
10072><A
Daniel Veillarda4964b72000-10-31 18:23:44 +000010073NAME="AEN2414"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000010074></A
10075><H3
10076><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010077NAME="XMLCREATEPUSHPARSERCTXT"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000010078></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010079>xmlCreatePushParserCtxt ()</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000010080><TABLE
10081BORDER="0"
10082BGCOLOR="#D6E8FF"
10083WIDTH="100%"
10084CELLPADDING="6"
10085><TR
10086><TD
10087><PRE
10088CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010089><A
10090HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
10091>xmlParserCtxtPtr</A
10092> xmlCreatePushParserCtxt (<A
10093HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
10094>xmlSAXHandlerPtr</A
10095> sax,
10096 void *user_data,
10097 const char *chunk,
10098 int size,
10099 const char *filename);</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000010100></TD
10101></TR
10102></TABLE
10103><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010104>Create a parser context for using the XML parser in push mode
10105To allow content encoding detection, <TT
10106CLASS="PARAMETER"
10107><I
10108>size</I
10109></TT
10110> should be &gt;= 4
10111The value of <TT
10112CLASS="PARAMETER"
10113><I
10114>filename</I
10115></TT
10116> is used for fetching external entities
10117and error/warning reports.</P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000010118><P
10119></P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010120><DIV
10121CLASS="INFORMALTABLE"
10122><P
10123></P
10124><TABLE
10125BORDER="0"
10126WIDTH="100%"
10127BGCOLOR="#FFD0D0"
10128CELLSPACING="0"
10129CELLPADDING="4"
10130CLASS="CALSTABLE"
10131><TR
10132><TD
10133WIDTH="20%"
10134ALIGN="RIGHT"
10135VALIGN="TOP"
10136><TT
10137CLASS="PARAMETER"
10138><I
10139>sax</I
10140></TT
10141>&nbsp;:</TD
10142><TD
10143WIDTH="80%"
10144ALIGN="LEFT"
10145VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010146> a SAX handler</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010147></TR
10148><TR
10149><TD
10150WIDTH="20%"
10151ALIGN="RIGHT"
10152VALIGN="TOP"
10153><TT
10154CLASS="PARAMETER"
10155><I
10156>user_data</I
10157></TT
10158>&nbsp;:</TD
10159><TD
10160WIDTH="80%"
10161ALIGN="LEFT"
10162VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010163> The user data returned on SAX callbacks</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010164></TR
10165><TR
10166><TD
10167WIDTH="20%"
10168ALIGN="RIGHT"
10169VALIGN="TOP"
10170><TT
10171CLASS="PARAMETER"
10172><I
10173>chunk</I
10174></TT
10175>&nbsp;:</TD
10176><TD
10177WIDTH="80%"
10178ALIGN="LEFT"
10179VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010180> a pointer to an array of chars</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010181></TR
10182><TR
10183><TD
10184WIDTH="20%"
10185ALIGN="RIGHT"
10186VALIGN="TOP"
10187><TT
10188CLASS="PARAMETER"
10189><I
10190>size</I
10191></TT
10192>&nbsp;:</TD
10193><TD
10194WIDTH="80%"
10195ALIGN="LEFT"
10196VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010197> number of chars in the array</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010198></TR
10199><TR
10200><TD
10201WIDTH="20%"
10202ALIGN="RIGHT"
10203VALIGN="TOP"
10204><TT
10205CLASS="PARAMETER"
10206><I
10207>filename</I
10208></TT
10209>&nbsp;:</TD
10210><TD
10211WIDTH="80%"
10212ALIGN="LEFT"
10213VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010214> an optional file name or URI</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010215></TR
10216><TR
10217><TD
10218WIDTH="20%"
10219ALIGN="RIGHT"
10220VALIGN="TOP"
10221><I
10222CLASS="EMPHASIS"
10223>Returns</I
10224> :</TD
10225><TD
10226WIDTH="80%"
10227ALIGN="LEFT"
10228VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010229>the new parser context or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010230></TR
10231></TABLE
10232><P
10233></P
10234></DIV
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000010235></DIV
10236><HR><DIV
10237CLASS="REFSECT2"
10238><A
Daniel Veillarda4964b72000-10-31 18:23:44 +000010239NAME="AEN2453"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010240></A
10241><H3
10242><A
10243NAME="XMLPARSECHUNK"
10244></A
10245>xmlParseChunk ()</H3
10246><TABLE
10247BORDER="0"
10248BGCOLOR="#D6E8FF"
10249WIDTH="100%"
10250CELLPADDING="6"
10251><TR
10252><TD
10253><PRE
10254CLASS="PROGRAMLISTING"
10255>int xmlParseChunk (<A
10256HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
10257>xmlParserCtxtPtr</A
10258> ctxt,
10259 const char *chunk,
10260 int size,
10261 int terminate);</PRE
10262></TD
10263></TR
10264></TABLE
10265><P
10266>Parse a Chunk of memory</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>ctxt</I
10289></TT
10290>&nbsp;:</TD
10291><TD
10292WIDTH="80%"
10293ALIGN="LEFT"
10294VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010295> an XML parser context</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>chunk</I
10306></TT
10307>&nbsp;:</TD
10308><TD
10309WIDTH="80%"
10310ALIGN="LEFT"
10311VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010312> an char array</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>size</I
10323></TT
10324>&nbsp;:</TD
10325><TD
10326WIDTH="80%"
10327ALIGN="LEFT"
10328VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010329> the size in byte of the chunk</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>terminate</I
10340></TT
10341>&nbsp;:</TD
10342><TD
10343WIDTH="80%"
10344ALIGN="LEFT"
10345VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010346> last chunk indicator</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010347></TR
10348><TR
10349><TD
10350WIDTH="20%"
10351ALIGN="RIGHT"
10352VALIGN="TOP"
10353><I
10354CLASS="EMPHASIS"
10355>Returns</I
10356> :</TD
10357><TD
10358WIDTH="80%"
10359ALIGN="LEFT"
10360VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010361>zero if no error, the xmlParserErrors otherwise.</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010362></TR
10363></TABLE
10364><P
10365></P
10366></DIV
10367></DIV
10368><HR><DIV
10369CLASS="REFSECT2"
10370><A
Daniel Veillarda4964b72000-10-31 18:23:44 +000010371NAME="AEN2485"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010372></A
10373><H3
10374><A
10375NAME="XMLCREATEIOPARSERCTXT"
10376></A
10377>xmlCreateIOParserCtxt ()</H3
10378><TABLE
10379BORDER="0"
10380BGCOLOR="#D6E8FF"
10381WIDTH="100%"
10382CELLPADDING="6"
10383><TR
10384><TD
10385><PRE
10386CLASS="PROGRAMLISTING"
10387><A
10388HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
10389>xmlParserCtxtPtr</A
10390> xmlCreateIOParserCtxt (<A
10391HREF="gnome-xml-parser.html#XMLSAXHANDLERPTR"
10392>xmlSAXHandlerPtr</A
10393> sax,
10394 void *user_data,
10395 <A
10396HREF="gnome-xml-xmlio.html#XMLINPUTREADCALLBACK"
10397>xmlInputReadCallback</A
10398> ioread,
10399 <A
10400HREF="gnome-xml-xmlio.html#XMLINPUTCLOSECALLBACK"
10401>xmlInputCloseCallback</A
10402> ioclose,
10403 void *ioctx,
10404 <A
10405HREF="gnome-xml-encoding.html#XMLCHARENCODING"
10406>xmlCharEncoding</A
10407> enc);</PRE
10408></TD
10409></TR
10410></TABLE
10411><P
10412>Create a parser context for using the XML parser with an existing
10413I/O stream</P
10414><P
10415></P
10416><DIV
10417CLASS="INFORMALTABLE"
10418><P
10419></P
10420><TABLE
10421BORDER="0"
10422WIDTH="100%"
10423BGCOLOR="#FFD0D0"
10424CELLSPACING="0"
10425CELLPADDING="4"
10426CLASS="CALSTABLE"
10427><TR
10428><TD
10429WIDTH="20%"
10430ALIGN="RIGHT"
10431VALIGN="TOP"
10432><TT
10433CLASS="PARAMETER"
10434><I
10435>sax</I
10436></TT
10437>&nbsp;:</TD
10438><TD
10439WIDTH="80%"
10440ALIGN="LEFT"
10441VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010442> a SAX handler</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010443></TR
10444><TR
10445><TD
10446WIDTH="20%"
10447ALIGN="RIGHT"
10448VALIGN="TOP"
10449><TT
10450CLASS="PARAMETER"
10451><I
10452>user_data</I
10453></TT
10454>&nbsp;:</TD
10455><TD
10456WIDTH="80%"
10457ALIGN="LEFT"
10458VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010459> The user data returned on SAX callbacks</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010460></TR
10461><TR
10462><TD
10463WIDTH="20%"
10464ALIGN="RIGHT"
10465VALIGN="TOP"
10466><TT
10467CLASS="PARAMETER"
10468><I
10469>ioread</I
10470></TT
10471>&nbsp;:</TD
10472><TD
10473WIDTH="80%"
10474ALIGN="LEFT"
10475VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010476> an I/O read function</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010477></TR
10478><TR
10479><TD
10480WIDTH="20%"
10481ALIGN="RIGHT"
10482VALIGN="TOP"
10483><TT
10484CLASS="PARAMETER"
10485><I
10486>ioclose</I
10487></TT
10488>&nbsp;:</TD
10489><TD
10490WIDTH="80%"
10491ALIGN="LEFT"
10492VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010493> an I/O close function</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010494></TR
10495><TR
10496><TD
10497WIDTH="20%"
10498ALIGN="RIGHT"
10499VALIGN="TOP"
10500><TT
10501CLASS="PARAMETER"
10502><I
10503>ioctx</I
10504></TT
10505>&nbsp;:</TD
10506><TD
10507WIDTH="80%"
10508ALIGN="LEFT"
10509VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010510> an I/O handler</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010511></TR
10512><TR
10513><TD
10514WIDTH="20%"
10515ALIGN="RIGHT"
10516VALIGN="TOP"
10517><TT
10518CLASS="PARAMETER"
10519><I
10520>enc</I
10521></TT
10522>&nbsp;:</TD
10523><TD
10524WIDTH="80%"
10525ALIGN="LEFT"
10526VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010527> the charset encoding if known</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010528></TR
10529><TR
10530><TD
10531WIDTH="20%"
10532ALIGN="RIGHT"
10533VALIGN="TOP"
10534><I
10535CLASS="EMPHASIS"
10536>Returns</I
10537> :</TD
10538><TD
10539WIDTH="80%"
10540ALIGN="LEFT"
10541VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010542>the new parser context or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010543></TR
10544></TABLE
10545><P
10546></P
10547></DIV
10548></DIV
10549><HR><DIV
10550CLASS="REFSECT2"
10551><A
Daniel Veillarda4964b72000-10-31 18:23:44 +000010552NAME="AEN2529"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010553></A
10554><H3
10555><A
10556NAME="XMLNEWIOINPUTSTREAM"
10557></A
10558>xmlNewIOInputStream ()</H3
10559><TABLE
10560BORDER="0"
10561BGCOLOR="#D6E8FF"
10562WIDTH="100%"
10563CELLPADDING="6"
10564><TR
10565><TD
10566><PRE
10567CLASS="PROGRAMLISTING"
10568><A
10569HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
10570>xmlParserInputPtr</A
10571> xmlNewIOInputStream (<A
10572HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
10573>xmlParserCtxtPtr</A
10574> ctxt,
10575 <A
10576HREF="gnome-xml-xmlio.html#XMLPARSERINPUTBUFFERPTR"
10577>xmlParserInputBufferPtr</A
10578> input,
10579 <A
10580HREF="gnome-xml-encoding.html#XMLCHARENCODING"
10581>xmlCharEncoding</A
10582> enc);</PRE
10583></TD
10584></TR
10585></TABLE
10586><P
10587>Create a new input stream structure encapsulating the <TT
10588CLASS="PARAMETER"
10589><I
10590>input</I
10591></TT
10592> into
10593a stream suitable for the parser.</P
10594><P
10595></P
10596><DIV
10597CLASS="INFORMALTABLE"
10598><P
10599></P
10600><TABLE
10601BORDER="0"
10602WIDTH="100%"
10603BGCOLOR="#FFD0D0"
10604CELLSPACING="0"
10605CELLPADDING="4"
10606CLASS="CALSTABLE"
10607><TR
10608><TD
10609WIDTH="20%"
10610ALIGN="RIGHT"
10611VALIGN="TOP"
10612><TT
10613CLASS="PARAMETER"
10614><I
10615>ctxt</I
10616></TT
10617>&nbsp;:</TD
10618><TD
10619WIDTH="80%"
10620ALIGN="LEFT"
10621VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010622> an XML parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010623></TR
10624><TR
10625><TD
10626WIDTH="20%"
10627ALIGN="RIGHT"
10628VALIGN="TOP"
10629><TT
10630CLASS="PARAMETER"
10631><I
10632>input</I
10633></TT
10634>&nbsp;:</TD
10635><TD
10636WIDTH="80%"
10637ALIGN="LEFT"
10638VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010639> an I/O Input</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010640></TR
10641><TR
10642><TD
10643WIDTH="20%"
10644ALIGN="RIGHT"
10645VALIGN="TOP"
10646><TT
10647CLASS="PARAMETER"
10648><I
10649>enc</I
10650></TT
10651>&nbsp;:</TD
10652><TD
10653WIDTH="80%"
10654ALIGN="LEFT"
10655VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010656> the charset encoding if known</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010657></TR
10658><TR
10659><TD
10660WIDTH="20%"
10661ALIGN="RIGHT"
10662VALIGN="TOP"
10663><I
10664CLASS="EMPHASIS"
10665>Returns</I
10666> :</TD
10667><TD
10668WIDTH="80%"
10669ALIGN="LEFT"
10670VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010671>the new input stream or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +000010672></TR
10673></TABLE
10674><P
10675></P
10676></DIV
10677></DIV
10678><HR><DIV
10679CLASS="REFSECT2"
10680><A
Daniel Veillarda4964b72000-10-31 18:23:44 +000010681NAME="AEN2561"
Daniel Veillard35925471999-02-25 08:46:07 +000010682></A
10683><H3
10684><A
10685NAME="XMLPARSERFINDNODEINFO"
10686></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010687>xmlParserFindNodeInfo ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010688><TABLE
10689BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010690BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010691WIDTH="100%"
10692CELLPADDING="6"
10693><TR
10694><TD
10695><PRE
10696CLASS="PROGRAMLISTING"
10697>const <A
10698HREF="gnome-xml-parser.html#XMLPARSERNODEINFO"
10699>xmlParserNodeInfo</A
10700>* xmlParserFindNodeInfo
10701 (const <A
10702HREF="gnome-xml-parser.html#XMLPARSERCTXT"
10703>xmlParserCtxt</A
10704> *ctxt,
10705 const <A
10706HREF="gnome-xml-tree.html#XMLNODE"
10707>xmlNode</A
10708> *node);</PRE
10709></TD
10710></TR
10711></TABLE
10712><P
10713>Find the parser node info struct for a given node</P
10714><P
10715></P
10716><DIV
10717CLASS="INFORMALTABLE"
10718><P
10719></P
10720><TABLE
10721BORDER="0"
10722WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010723BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010724CELLSPACING="0"
10725CELLPADDING="4"
10726CLASS="CALSTABLE"
10727><TR
10728><TD
10729WIDTH="20%"
10730ALIGN="RIGHT"
10731VALIGN="TOP"
10732><TT
10733CLASS="PARAMETER"
10734><I
10735>ctxt</I
10736></TT
10737>&nbsp;:</TD
10738><TD
10739WIDTH="80%"
10740ALIGN="LEFT"
10741VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010742> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010743></TR
10744><TR
10745><TD
10746WIDTH="20%"
10747ALIGN="RIGHT"
10748VALIGN="TOP"
10749><TT
10750CLASS="PARAMETER"
10751><I
10752>node</I
10753></TT
10754>&nbsp;:</TD
10755><TD
10756WIDTH="80%"
10757ALIGN="LEFT"
10758VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010759> an XML node within the tree</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010760></TR
10761><TR
10762><TD
10763WIDTH="20%"
10764ALIGN="RIGHT"
10765VALIGN="TOP"
10766><I
10767CLASS="EMPHASIS"
10768>Returns</I
10769> :</TD
10770><TD
10771WIDTH="80%"
10772ALIGN="LEFT"
10773VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010774>an xmlParserNodeInfo block pointer or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010775></TR
10776></TABLE
10777><P
10778></P
10779></DIV
10780></DIV
10781><HR><DIV
10782CLASS="REFSECT2"
10783><A
Daniel Veillarda4964b72000-10-31 18:23:44 +000010784NAME="AEN2587"
Daniel Veillard35925471999-02-25 08:46:07 +000010785></A
10786><H3
10787><A
10788NAME="XMLINITNODEINFOSEQ"
10789></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010790>xmlInitNodeInfoSeq ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010791><TABLE
10792BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010793BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010794WIDTH="100%"
10795CELLPADDING="6"
10796><TR
10797><TD
10798><PRE
10799CLASS="PROGRAMLISTING"
10800>void xmlInitNodeInfoSeq (<A
10801HREF="gnome-xml-parser.html#XMLPARSERNODEINFOSEQPTR"
10802>xmlParserNodeInfoSeqPtr</A
10803> seq);</PRE
10804></TD
10805></TR
10806></TABLE
10807><P
10808>-- Initialize (set to initial state) node info sequence</P
10809><P
10810></P
10811><DIV
10812CLASS="INFORMALTABLE"
10813><P
10814></P
10815><TABLE
10816BORDER="0"
10817WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010818BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010819CELLSPACING="0"
10820CELLPADDING="4"
10821CLASS="CALSTABLE"
10822><TR
10823><TD
10824WIDTH="20%"
10825ALIGN="RIGHT"
10826VALIGN="TOP"
10827><TT
10828CLASS="PARAMETER"
10829><I
10830>seq</I
10831></TT
10832>&nbsp;:</TD
10833><TD
10834WIDTH="80%"
10835ALIGN="LEFT"
10836VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010837> a node info sequence pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010838></TR
10839></TABLE
10840><P
10841></P
10842></DIV
10843></DIV
10844><HR><DIV
10845CLASS="REFSECT2"
10846><A
Daniel Veillarda4964b72000-10-31 18:23:44 +000010847NAME="AEN2603"
Daniel Veillard35925471999-02-25 08:46:07 +000010848></A
10849><H3
10850><A
10851NAME="XMLCLEARNODEINFOSEQ"
10852></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010853>xmlClearNodeInfoSeq ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010854><TABLE
10855BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010856BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010857WIDTH="100%"
10858CELLPADDING="6"
10859><TR
10860><TD
10861><PRE
10862CLASS="PROGRAMLISTING"
10863>void xmlClearNodeInfoSeq (<A
10864HREF="gnome-xml-parser.html#XMLPARSERNODEINFOSEQPTR"
10865>xmlParserNodeInfoSeqPtr</A
10866> seq);</PRE
10867></TD
10868></TR
10869></TABLE
10870><P
10871>-- Clear (release memory and reinitialize) node
10872info sequence</P
10873><P
10874></P
10875><DIV
10876CLASS="INFORMALTABLE"
10877><P
10878></P
10879><TABLE
10880BORDER="0"
10881WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010882BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010883CELLSPACING="0"
10884CELLPADDING="4"
10885CLASS="CALSTABLE"
10886><TR
10887><TD
10888WIDTH="20%"
10889ALIGN="RIGHT"
10890VALIGN="TOP"
10891><TT
10892CLASS="PARAMETER"
10893><I
10894>seq</I
10895></TT
10896>&nbsp;:</TD
10897><TD
10898WIDTH="80%"
10899ALIGN="LEFT"
10900VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010901> a node info sequence pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010902></TR
10903></TABLE
10904><P
10905></P
10906></DIV
10907></DIV
10908><HR><DIV
10909CLASS="REFSECT2"
10910><A
Daniel Veillarda4964b72000-10-31 18:23:44 +000010911NAME="AEN2619"
Daniel Veillard35925471999-02-25 08:46:07 +000010912></A
10913><H3
10914><A
10915NAME="XMLPARSERFINDNODEINFOINDEX"
10916></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010917>xmlParserFindNodeInfoIndex ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000010918><TABLE
10919BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000010920BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000010921WIDTH="100%"
10922CELLPADDING="6"
10923><TR
10924><TD
10925><PRE
10926CLASS="PROGRAMLISTING"
10927>unsigned <GTKDOCLINK
10928HREF="LONG"
10929>long</GTKDOCLINK
10930> xmlParserFindNodeInfoIndex (const <A
10931HREF="gnome-xml-parser.html#XMLPARSERNODEINFOSEQ"
10932>xmlParserNodeInfoSeq</A
10933> *seq,
10934 const <A
10935HREF="gnome-xml-tree.html#XMLNODE"
10936>xmlNode</A
10937> *node);</PRE
10938></TD
10939></TR
10940></TABLE
10941><P
10942>xmlParserFindNodeInfoIndex : Find the index that the info record for
10943the given node is or should be at in a sorted sequence</P
10944><P
10945></P
10946><DIV
10947CLASS="INFORMALTABLE"
10948><P
10949></P
10950><TABLE
10951BORDER="0"
10952WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000010953BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000010954CELLSPACING="0"
10955CELLPADDING="4"
10956CLASS="CALSTABLE"
10957><TR
10958><TD
10959WIDTH="20%"
10960ALIGN="RIGHT"
10961VALIGN="TOP"
10962><TT
10963CLASS="PARAMETER"
10964><I
10965>seq</I
10966></TT
10967>&nbsp;:</TD
10968><TD
10969WIDTH="80%"
10970ALIGN="LEFT"
10971VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010972> a node info sequence pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010973></TR
10974><TR
10975><TD
10976WIDTH="20%"
10977ALIGN="RIGHT"
10978VALIGN="TOP"
10979><TT
10980CLASS="PARAMETER"
10981><I
10982>node</I
10983></TT
10984>&nbsp;:</TD
10985><TD
10986WIDTH="80%"
10987ALIGN="LEFT"
10988VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010989> an XML node pointer</TD
Daniel Veillard35925471999-02-25 08:46:07 +000010990></TR
10991><TR
10992><TD
10993WIDTH="20%"
10994ALIGN="RIGHT"
10995VALIGN="TOP"
10996><I
10997CLASS="EMPHASIS"
10998>Returns</I
10999> :</TD
11000><TD
11001WIDTH="80%"
11002ALIGN="LEFT"
11003VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011004>a long indicating the position of the record</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011005></TR
11006></TABLE
11007><P
11008></P
11009></DIV
11010></DIV
11011><HR><DIV
11012CLASS="REFSECT2"
11013><A
Daniel Veillarda4964b72000-10-31 18:23:44 +000011014NAME="AEN2645"
Daniel Veillard35925471999-02-25 08:46:07 +000011015></A
11016><H3
11017><A
11018NAME="XMLPARSERADDNODEINFO"
11019></A
Daniel Veillard14fff061999-06-22 21:49:07 +000011020>xmlParserAddNodeInfo ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011021><TABLE
11022BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011023BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011024WIDTH="100%"
11025CELLPADDING="6"
11026><TR
11027><TD
11028><PRE
11029CLASS="PROGRAMLISTING"
11030>void xmlParserAddNodeInfo (<A
11031HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
11032>xmlParserCtxtPtr</A
11033> ctxt,
11034 const <A
11035HREF="gnome-xml-parser.html#XMLPARSERNODEINFO"
11036>xmlParserNodeInfo</A
11037> *info);</PRE
11038></TD
11039></TR
11040></TABLE
11041><P
11042>Insert node info record into the sorted sequence</P
11043><P
11044></P
11045><DIV
11046CLASS="INFORMALTABLE"
11047><P
11048></P
11049><TABLE
11050BORDER="0"
11051WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +000011052BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +000011053CELLSPACING="0"
11054CELLPADDING="4"
11055CLASS="CALSTABLE"
11056><TR
11057><TD
11058WIDTH="20%"
11059ALIGN="RIGHT"
11060VALIGN="TOP"
11061><TT
11062CLASS="PARAMETER"
11063><I
11064>ctxt</I
11065></TT
11066>&nbsp;:</TD
11067><TD
11068WIDTH="80%"
11069ALIGN="LEFT"
11070VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011071> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011072></TR
11073><TR
11074><TD
11075WIDTH="20%"
11076ALIGN="RIGHT"
11077VALIGN="TOP"
11078><TT
11079CLASS="PARAMETER"
11080><I
11081>info</I
11082></TT
11083>&nbsp;:</TD
11084><TD
11085WIDTH="80%"
11086ALIGN="LEFT"
11087VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000011088> a node info sequence pointer</TD
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011089></TR
11090></TABLE
11091><P
11092></P
11093></DIV
11094></DIV
11095><HR><DIV
11096CLASS="REFSECT2"
11097><A
Daniel Veillarda4964b72000-10-31 18:23:44 +000011098NAME="AEN2666"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011099></A
11100><H3
11101><A
11102NAME="XMLSETEXTERNALENTITYLOADER"
11103></A
11104>xmlSetExternalEntityLoader ()</H3
11105><TABLE
11106BORDER="0"
11107BGCOLOR="#D6E8FF"
11108WIDTH="100%"
11109CELLPADDING="6"
11110><TR
11111><TD
11112><PRE
11113CLASS="PROGRAMLISTING"
11114>void xmlSetExternalEntityLoader (<A
11115HREF="gnome-xml-parser.html#XMLEXTERNALENTITYLOADER"
11116>xmlExternalEntityLoader</A
11117> f);</PRE
11118></TD
11119></TR
11120></TABLE
11121><P
11122></P
11123><DIV
11124CLASS="INFORMALTABLE"
11125><P
11126></P
11127><TABLE
11128BORDER="0"
11129WIDTH="100%"
11130BGCOLOR="#FFD0D0"
11131CELLSPACING="0"
11132CELLPADDING="4"
11133CLASS="CALSTABLE"
11134><TR
11135><TD
11136WIDTH="20%"
11137ALIGN="RIGHT"
11138VALIGN="TOP"
11139><TT
11140CLASS="PARAMETER"
11141><I
11142>f</I
11143></TT
11144>&nbsp;:</TD
11145><TD
11146WIDTH="80%"
11147ALIGN="LEFT"
11148VALIGN="TOP"
Daniel Veillardb05deb71999-08-10 19:04:08 +000011149>&nbsp;</TD
Daniel Veillard35925471999-02-25 08:46:07 +000011150></TR
11151></TABLE
11152><P
11153></P
11154></DIV
11155></DIV
11156><HR><DIV
11157CLASS="REFSECT2"
11158><A
Daniel Veillarda4964b72000-10-31 18:23:44 +000011159NAME="AEN2681"
Daniel Veillard35925471999-02-25 08:46:07 +000011160></A
11161><H3
11162><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011163NAME="XMLGETEXTERNALENTITYLOADER"
Daniel Veillard35925471999-02-25 08:46:07 +000011164></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011165>xmlGetExternalEntityLoader ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +000011166><TABLE
11167BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011168BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +000011169WIDTH="100%"
11170CELLPADDING="6"
11171><TR
11172><TD
11173><PRE
11174CLASS="PROGRAMLISTING"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011175><A
11176HREF="gnome-xml-parser.html#XMLEXTERNALENTITYLOADER"
11177>xmlExternalEntityLoader</A
11178> xmlGetExternalEntityLoader
11179 (void);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +000011180></TD
11181></TR
11182></TABLE
11183><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011184></P
11185><DIV
11186CLASS="INFORMALTABLE"
Daniel Veillard35925471999-02-25 08:46:07 +000011187><P
11188></P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011189><TABLE
11190BORDER="0"
11191WIDTH="100%"
11192BGCOLOR="#FFD0D0"
11193CELLSPACING="0"
11194CELLPADDING="4"
11195CLASS="CALSTABLE"
11196><TR
11197><TD
11198WIDTH="20%"
11199ALIGN="RIGHT"
11200VALIGN="TOP"
11201><I
11202CLASS="EMPHASIS"
11203>Returns</I
11204> :</TD
11205><TD
11206WIDTH="80%"
11207ALIGN="LEFT"
11208VALIGN="TOP"
11209>&nbsp;</TD
11210></TR
11211></TABLE
11212><P
11213></P
11214></DIV
Daniel Veillard35925471999-02-25 08:46:07 +000011215></DIV
Daniel Veillard1566d3a1999-07-15 14:24:29 +000011216><HR><DIV
11217CLASS="REFSECT2"
11218><A
Daniel Veillarda4964b72000-10-31 18:23:44 +000011219NAME="AEN2696"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000011220></A
11221><H3
11222><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011223NAME="XMLLOADEXTERNALENTITY"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000011224></A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011225>xmlLoadExternalEntity ()</H3
Daniel Veillard1566d3a1999-07-15 14:24:29 +000011226><TABLE
11227BORDER="0"
11228BGCOLOR="#D6E8FF"
11229WIDTH="100%"
11230CELLPADDING="6"
11231><TR
11232><TD
11233><PRE
11234CLASS="PROGRAMLISTING"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011235><A
11236HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
11237>xmlParserInputPtr</A
11238> xmlLoadExternalEntity (const char *URL,
11239 const char *ID,
11240 <A
Daniel Veillard437b87b2000-01-03 17:30:46 +000011241HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
11242>xmlParserCtxtPtr</A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011243> context);</PRE
Daniel Veillard1566d3a1999-07-15 14:24:29 +000011244></TD
11245></TR
11246></TABLE
11247><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011248></P
11249><DIV
11250CLASS="INFORMALTABLE"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000011251><P
11252></P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000011253><TABLE
11254BORDER="0"
11255WIDTH="100%"
11256BGCOLOR="#FFD0D0"
11257CELLSPACING="0"
11258CELLPADDING="4"
11259CLASS="CALSTABLE"
11260><TR
11261><TD
11262WIDTH="20%"
11263ALIGN="RIGHT"
11264VALIGN="TOP"
11265><TT
11266CLASS="PARAMETER"
11267><I
11268>URL</I
11269></TT
11270>&nbsp;:</TD
11271><TD
11272WIDTH="80%"
11273ALIGN="LEFT"
11274VALIGN="TOP"
11275>&nbsp;</TD
11276></TR
11277><TR
11278><TD
11279WIDTH="20%"
11280ALIGN="RIGHT"
11281VALIGN="TOP"
11282><TT
11283CLASS="PARAMETER"
11284><I
11285>ID</I
11286></TT
11287>&nbsp;:</TD
11288><TD
11289WIDTH="80%"
11290ALIGN="LEFT"
11291VALIGN="TOP"
11292>&nbsp;</TD
11293></TR
11294><TR
11295><TD
11296WIDTH="20%"
11297ALIGN="RIGHT"
11298VALIGN="TOP"
11299><TT
11300CLASS="PARAMETER"
11301><I
11302>context</I
11303></TT
11304>&nbsp;:</TD
11305><TD
11306WIDTH="80%"
11307ALIGN="LEFT"
11308VALIGN="TOP"
11309>&nbsp;</TD
11310></TR
11311><TR
11312><TD
11313WIDTH="20%"
11314ALIGN="RIGHT"
11315VALIGN="TOP"
11316><I
11317CLASS="EMPHASIS"
11318>Returns</I
11319> :</TD
11320><TD
11321WIDTH="80%"
11322ALIGN="LEFT"
11323VALIGN="TOP"
11324>&nbsp;</TD
11325></TR
11326></TABLE
11327><P
11328></P
11329></DIV
Daniel Veillard1566d3a1999-07-15 14:24:29 +000011330></DIV
Daniel Veillard35925471999-02-25 08:46:07 +000011331></DIV
11332><DIV
11333CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +000011334><BR
11335CLEAR="all"><BR><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +000011336WIDTH="100%"
11337BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000011338BGCOLOR="#000000"
11339CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000011340CELLSPACING="0"
11341><TR
11342><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000011343WIDTH="25%"
11344BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000011345ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000011346><A
Daniel Veillard35008381999-10-25 13:15:52 +000011347HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000011348><FONT
11349COLOR="#FFFFFF"
11350SIZE="3"
11351><B
11352>&#60;&#60;&#60; Previous Page</B
11353></FONT
11354></A
Daniel Veillard35925471999-02-25 08:46:07 +000011355></TD
11356><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000011357WIDTH="25%"
11358BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000011359ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000011360><FONT
11361COLOR="#FFFFFF"
11362SIZE="3"
11363><B
Daniel Veillard35925471999-02-25 08:46:07 +000011364><A
11365HREF="book1.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000011366><FONT
11367COLOR="#FFFFFF"
11368SIZE="3"
11369><B
11370>Home</B
11371></FONT
11372></A
11373></B
11374></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000011375></TD
11376><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000011377WIDTH="25%"
11378BGCOLOR="#00C000"
11379ALIGN="center"
11380><FONT
11381COLOR="#FFFFFF"
11382SIZE="3"
11383><B
11384><A
Daniel Veillard35008381999-10-25 13:15:52 +000011385HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000011386><FONT
11387COLOR="#FFFFFF"
11388SIZE="3"
11389><B
11390>Up</B
11391></FONT
11392></A
11393></B
11394></FONT
11395></TD
11396><TD
11397WIDTH="25%"
11398BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000011399ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +000011400><A
Daniel Veillard294cbca1999-12-03 13:19:09 +000011401HREF="gnome-xml-sax.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000011402><FONT
11403COLOR="#FFFFFF"
11404SIZE="3"
11405><B
11406>Next Page &#62;&#62;&#62;</B
11407></FONT
11408></A
Daniel Veillard35925471999-02-25 08:46:07 +000011409></TD
11410></TR
11411><TR
11412><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000011413COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +000011414ALIGN="left"
Daniel Veillard14fff061999-06-22 21:49:07 +000011415><FONT
11416COLOR="#FFFFFF"
11417SIZE="3"
11418><B
Daniel Veillard35008381999-10-25 13:15:52 +000011419>Libxml Library Reference</B
Daniel Veillard14fff061999-06-22 21:49:07 +000011420></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000011421></TD
11422><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000011423COLSPAN="2"
Daniel Veillard35925471999-02-25 08:46:07 +000011424ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +000011425><FONT
11426COLOR="#FFFFFF"
11427SIZE="3"
11428><B
Daniel Veillard294cbca1999-12-03 13:19:09 +000011429>SAX</B
Daniel Veillard14fff061999-06-22 21:49:07 +000011430></FONT
11431></TD
Daniel Veillard35925471999-02-25 08:46:07 +000011432></TR
11433></TABLE
11434></DIV
11435></BODY
11436></HTML
11437>