blob: 69c56ef182728ffc7e33adc27df05d1638592483 [file] [log] [blame]
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001<HTML
2><HEAD
3><TITLE
4>SAX</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard539638b2002-07-06 19:55:14 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
Daniel Veillard60087f32001-10-10 09:45:09 +00008"><LINK
Daniel Veillard4f2915a2000-01-25 19:27:27 +00009REL="HOME"
10TITLE="Gnome XML Library Reference Manual"
11HREF="book1.html"><LINK
12REL="UP"
13TITLE="Libxml Library Reference"
14HREF="libxml-lib.html"><LINK
15REL="PREVIOUS"
Daniel Veillardaec63562003-03-23 20:42:17 +000016TITLE="xmlreader"
17HREF="libxml-xmlreader.html"><LINK
Daniel Veillard4f2915a2000-01-25 19:27:27 +000018REL="NEXT"
19TITLE="tree"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000020HREF="libxml-tree.html"></HEAD
Daniel Veillard4f2915a2000-01-25 19:27:27 +000021><BODY
Daniel Veillardbed7b052001-05-19 14:59:49 +000022CLASS="REFENTRY"
Daniel Veillard4f2915a2000-01-25 19:27:27 +000023BGCOLOR="#FFFFFF"
24TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000025LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
Daniel Veillard4f2915a2000-01-25 19:27:27 +000028><DIV
29CLASS="NAVHEADER"
30><TABLE
31WIDTH="100%"
32BORDER="0"
33BGCOLOR="#000000"
34CELLPADDING="1"
35CELLSPACING="0"
36><TR
37><TH
38COLSPAN="4"
39ALIGN="center"
40><FONT
41COLOR="#FFFFFF"
42SIZE="5"
43>Gnome XML Library Reference Manual</FONT
44></TH
45></TR
46><TR
47><TD
48WIDTH="25%"
49BGCOLOR="#C00000"
50ALIGN="left"
51><A
Daniel Veillardaec63562003-03-23 20:42:17 +000052HREF="libxml-xmlreader.html"
Daniel Veillard4f2915a2000-01-25 19:27:27 +000053><FONT
54COLOR="#FFFFFF"
55SIZE="3"
56><B
57>&#60;&#60;&#60; Previous Page</B
58></FONT
59></A
60></TD
61><TD
62WIDTH="25%"
63BGCOLOR="#0000C0"
64ALIGN="center"
65><FONT
66COLOR="#FFFFFF"
67SIZE="3"
68><B
69><A
70HREF="book1.html"
71><FONT
72COLOR="#FFFFFF"
73SIZE="3"
74><B
75>Home</B
76></FONT
77></A
78></B
79></FONT
80></TD
81><TD
82WIDTH="25%"
83BGCOLOR="#00C000"
84ALIGN="center"
85><FONT
86COLOR="#FFFFFF"
87SIZE="3"
88><B
89><A
90HREF="libxml-lib.html"
91><FONT
92COLOR="#FFFFFF"
93SIZE="3"
94><B
95>Up</B
96></FONT
97></A
98></B
99></FONT
100></TD
101><TD
102WIDTH="25%"
103BGCOLOR="#C00000"
104ALIGN="right"
105><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000106HREF="libxml-tree.html"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000107><FONT
108COLOR="#FFFFFF"
109SIZE="3"
110><B
111>Next Page &#62;&#62;&#62;</B
112></FONT
113></A
114></TD
115></TR
116></TABLE
117></DIV
118><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000119><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000120NAME="LIBXML-SAX"
121></A
122>SAX</H1
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000123><DIV
124CLASS="REFNAMEDIV"
125><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000126NAME="AEN4112"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000127></A
128><H2
129>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000130>SAX&nbsp;--&nbsp;</DIV
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000131><DIV
132CLASS="REFSYNOPSISDIV"
133><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000134NAME="AEN4115"
135></A
136><H2
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000137>Synopsis</H2
138><TABLE
139BORDER="0"
140BGCOLOR="#D6E8FF"
141WIDTH="100%"
142CELLPADDING="6"
143><TR
144><TD
145><PRE
146CLASS="SYNOPSIS"
147>&#13;
148
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000149const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000150HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000151>xmlChar</A
152>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000153HREF="libxml-sax.html#GETPUBLICID"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000154>getPublicId</A
155> (void *ctx);
156const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000157HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000158>xmlChar</A
159>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000160HREF="libxml-sax.html#GETSYSTEMID"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000161>getSystemId</A
162> (void *ctx);
163void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000164HREF="libxml-sax.html#SETDOCUMENTLOCATOR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000165>setDocumentLocator</A
166> (void *ctx,
167 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000168HREF="libxml-tree.html#XMLSAXLOCATORPTR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000169>xmlSAXLocatorPtr</A
170> loc);
171int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000172HREF="libxml-sax.html#GETLINENUMBER"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000173>getLineNumber</A
174> (void *ctx);
175int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000176HREF="libxml-sax.html#GETCOLUMNNUMBER"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000177>getColumnNumber</A
178> (void *ctx);
179int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000180HREF="libxml-sax.html#ISSTANDALONE"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000181>isStandalone</A
182> (void *ctx);
183int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000184HREF="libxml-sax.html#HASINTERNALSUBSET"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000185>hasInternalSubset</A
186> (void *ctx);
187int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000188HREF="libxml-sax.html#HASEXTERNALSUBSET"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000189>hasExternalSubset</A
190> (void *ctx);
191void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000192HREF="libxml-sax.html#INTERNALSUBSET"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000193>internalSubset</A
194> (void *ctx,
195 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000196HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000197>xmlChar</A
198> *name,
199 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000200HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000201>xmlChar</A
202> *ExternalID,
203 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000204HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000205>xmlChar</A
206> *SystemID);
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000207void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000208HREF="libxml-sax.html#EXTERNALSUBSET"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000209>externalSubset</A
210> (void *ctx,
211 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000212HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000213>xmlChar</A
214> *name,
215 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000216HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000217>xmlChar</A
218> *ExternalID,
219 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000220HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000221>xmlChar</A
222> *SystemID);
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000223<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000224HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000225>xmlEntityPtr</A
226> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000227HREF="libxml-sax.html#GETENTITY"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000228>getEntity</A
229> (void *ctx,
230 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000231HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000232>xmlChar</A
233> *name);
234<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000235HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000236>xmlEntityPtr</A
237> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000238HREF="libxml-sax.html#GETPARAMETERENTITY"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000239>getParameterEntity</A
240> (void *ctx,
241 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000242HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000243>xmlChar</A
244> *name);
245<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000246HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000247>xmlParserInputPtr</A
248> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000249HREF="libxml-sax.html#RESOLVEENTITY"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000250>resolveEntity</A
251> (void *ctx,
252 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000253HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000254>xmlChar</A
255> *publicId,
256 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000257HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000258>xmlChar</A
259> *systemId);
260void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000261HREF="libxml-sax.html#ENTITYDECL"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000262>entityDecl</A
263> (void *ctx,
264 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000265HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000266>xmlChar</A
267> *name,
268 int type,
269 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000270HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000271>xmlChar</A
272> *publicId,
273 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000274HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000275>xmlChar</A
276> *systemId,
277 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000278HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000279>xmlChar</A
280> *content);
281void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000282HREF="libxml-sax.html#ATTRIBUTEDECL"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000283>attributeDecl</A
284> (void *ctx,
285 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000286HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000287>xmlChar</A
288> *elem,
289 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000290HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000291>xmlChar</A
Daniel Veillardf012a642001-07-23 19:10:52 +0000292> *fullname,
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000293 int type,
294 int def,
295 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000296HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000297>xmlChar</A
298> *defaultValue,
299 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000300HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000301>xmlEnumerationPtr</A
302> tree);
303void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000304HREF="libxml-sax.html#ELEMENTDECL"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000305>elementDecl</A
306> (void *ctx,
307 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000308HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000309>xmlChar</A
310> *name,
311 int type,
312 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000313HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000314>xmlElementContentPtr</A
315> content);
316void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000317HREF="libxml-sax.html#NOTATIONDECL"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000318>notationDecl</A
319> (void *ctx,
320 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000321HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000322>xmlChar</A
323> *name,
324 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000325HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000326>xmlChar</A
327> *publicId,
328 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000329HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000330>xmlChar</A
331> *systemId);
332void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000333HREF="libxml-sax.html#UNPARSEDENTITYDECL"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000334>unparsedEntityDecl</A
335> (void *ctx,
336 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000337HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000338>xmlChar</A
339> *name,
340 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000341HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000342>xmlChar</A
343> *publicId,
344 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000345HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000346>xmlChar</A
347> *systemId,
348 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000349HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000350>xmlChar</A
351> *notationName);
352void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000353HREF="libxml-sax.html#STARTDOCUMENT"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000354>startDocument</A
355> (void *ctx);
356void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000357HREF="libxml-sax.html#ENDDOCUMENT"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000358>endDocument</A
359> (void *ctx);
360void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000361HREF="libxml-sax.html#ATTRIBUTE"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000362>attribute</A
363> (void *ctx,
364 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000365HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000366>xmlChar</A
367> *fullname,
368 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000369HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000370>xmlChar</A
371> *value);
372void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000373HREF="libxml-sax.html#STARTELEMENT"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000374>startElement</A
375> (void *ctx,
376 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000377HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000378>xmlChar</A
379> *fullname,
380 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000381HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000382>xmlChar</A
383> **atts);
384void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000385HREF="libxml-sax.html#ENDELEMENT"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000386>endElement</A
387> (void *ctx,
388 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000389HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000390>xmlChar</A
391> *name);
392void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000393HREF="libxml-sax.html#REFERENCE"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000394>reference</A
395> (void *ctx,
396 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000397HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000398>xmlChar</A
399> *name);
400void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000401HREF="libxml-sax.html#CHARACTERS"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000402>characters</A
403> (void *ctx,
404 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000405HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000406>xmlChar</A
407> *ch,
408 int len);
409void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000410HREF="libxml-sax.html#IGNORABLEWHITESPACE"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000411>ignorableWhitespace</A
412> (void *ctx,
413 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000414HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000415>xmlChar</A
416> *ch,
417 int len);
418void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000419HREF="libxml-sax.html#PROCESSINGINSTRUCTION"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000420>processingInstruction</A
421> (void *ctx,
422 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000423HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000424>xmlChar</A
425> *target,
426 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000427HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000428>xmlChar</A
429> *data);
430void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000431HREF="libxml-sax.html#GLOBALNAMESPACE"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000432>globalNamespace</A
433> (void *ctx,
434 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000435HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000436>xmlChar</A
437> *href,
438 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000439HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000440>xmlChar</A
441> *prefix);
442void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000443HREF="libxml-sax.html#SETNAMESPACE"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000444>setNamespace</A
445> (void *ctx,
446 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000447HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000448>xmlChar</A
449> *name);
450<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000451HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000452>xmlNsPtr</A
453> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000454HREF="libxml-sax.html#GETNAMESPACE"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000455>getNamespace</A
456> (void *ctx);
457int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000458HREF="libxml-sax.html#CHECKNAMESPACE"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000459>checkNamespace</A
460> (void *ctx,
461 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000462HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000463>xmlChar</A
464> *nameSpace);
465void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000466HREF="libxml-sax.html#NAMESPACEDECL"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000467>namespaceDecl</A
468> (void *ctx,
469 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000470HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000471>xmlChar</A
472> *href,
473 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000474HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000475>xmlChar</A
476> *prefix);
477void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000478HREF="libxml-sax.html#COMMENT"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000479>comment</A
480> (void *ctx,
481 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000482HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000483>xmlChar</A
484> *value);
485void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000486HREF="libxml-sax.html#CDATABLOCK"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000487>cdataBlock</A
488> (void *ctx,
489 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000490HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000491>xmlChar</A
492> *value,
493 int len);
494void <A
Daniel Veillard52dcab32001-10-30 12:51:17 +0000495HREF="libxml-sax.html#INITXMLDEFAULTSAXHANDLER"
496>initxmlDefaultSAXHandler</A
497> (<A
498HREF="libxml-parser.html#XMLSAXHANDLER"
499>xmlSAXHandler</A
500> *hdlr,
501 int warning);
502void <A
503HREF="libxml-sax.html#INITHTMLDEFAULTSAXHANDLER"
504>inithtmlDefaultSAXHandler</A
505> (<A
506HREF="libxml-parser.html#XMLSAXHANDLER"
507>xmlSAXHandler</A
508> *hdlr);
509void <A
510HREF="libxml-sax.html#INITDOCBDEFAULTSAXHANDLER"
511>initdocbDefaultSAXHandler</A
512> (<A
513HREF="libxml-parser.html#XMLSAXHANDLER"
514>xmlSAXHandler</A
515> *hdlr);
516void <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000517HREF="libxml-sax.html#XMLDEFAULTSAXHANDLERINIT"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000518>xmlDefaultSAXHandlerInit</A
519> (void);
520void <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000521HREF="libxml-sax.html#HTMLDEFAULTSAXHANDLERINIT"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000522>htmlDefaultSAXHandlerInit</A
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000523> (void);
524void <A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000525HREF="libxml-sax.html#DOCBDEFAULTSAXHANDLERINIT"
526>docbDefaultSAXHandlerInit</A
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000527> (void);</PRE
528></TD
529></TR
530></TABLE
531></DIV
532><DIV
533CLASS="REFSECT1"
534><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000535NAME="AEN4213"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000536></A
537><H2
538>Description</H2
539><P
540></P
541></DIV
542><DIV
543CLASS="REFSECT1"
544><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000545NAME="AEN4216"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000546></A
547><H2
548>Details</H2
549><DIV
550CLASS="REFSECT2"
551><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000552NAME="AEN4218"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000553></A
554><H3
555><A
556NAME="GETPUBLICID"
557></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000558>getPublicId ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000559><TABLE
560BORDER="0"
561BGCOLOR="#D6E8FF"
562WIDTH="100%"
563CELLPADDING="6"
564><TR
565><TD
566><PRE
567CLASS="PROGRAMLISTING"
568>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000569HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000570>xmlChar</A
571>* getPublicId (void *ctx);</PRE
572></TD
573></TR
574></TABLE
575><P
Daniel Veillardaec63562003-03-23 20:42:17 +0000576>Provides the public ID e.g. "-//SGMLSOURCE//DTD DEMO//EN"</P
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000577><P
578></P
579><DIV
580CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000581><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000582NAME="AEN4225"
583></A
584><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000585></P
586><TABLE
587BORDER="0"
588WIDTH="100%"
589BGCOLOR="#FFD0D0"
590CELLSPACING="0"
591CELLPADDING="4"
592CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000593><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000594><TR
595><TD
596WIDTH="20%"
597ALIGN="RIGHT"
598VALIGN="TOP"
599><TT
600CLASS="PARAMETER"
601><I
602>ctx</I
603></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000604>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000605><TD
606WIDTH="80%"
607ALIGN="LEFT"
608VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000609> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000610></TR
611><TR
612><TD
613WIDTH="20%"
614ALIGN="RIGHT"
615VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +0000616><SPAN
617CLASS="emphasis"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000618><I
619CLASS="EMPHASIS"
620>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +0000621></SPAN
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000622> :</TD
623><TD
624WIDTH="80%"
625ALIGN="LEFT"
626VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000627>a xmlChar *</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000628></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000629></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000630></TABLE
631><P
632></P
633></DIV
634></DIV
635><HR><DIV
636CLASS="REFSECT2"
637><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000638NAME="AEN4238"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000639></A
640><H3
641><A
642NAME="GETSYSTEMID"
643></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000644>getSystemId ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000645><TABLE
646BORDER="0"
647BGCOLOR="#D6E8FF"
648WIDTH="100%"
649CELLPADDING="6"
650><TR
651><TD
652><PRE
653CLASS="PROGRAMLISTING"
654>const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000655HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000656>xmlChar</A
657>* getSystemId (void *ctx);</PRE
658></TD
659></TR
660></TABLE
661><P
Daniel Veillardaec63562003-03-23 20:42:17 +0000662>Provides the system ID, basically URL or filename e.g.
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000663http://www.sgmlsource.com/dtds/memo.dtd</P
664><P
665></P
666><DIV
667CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000668><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000669NAME="AEN4245"
670></A
671><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000672></P
673><TABLE
674BORDER="0"
675WIDTH="100%"
676BGCOLOR="#FFD0D0"
677CELLSPACING="0"
678CELLPADDING="4"
679CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000680><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000681><TR
682><TD
683WIDTH="20%"
684ALIGN="RIGHT"
685VALIGN="TOP"
686><TT
687CLASS="PARAMETER"
688><I
689>ctx</I
690></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000691>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000692><TD
693WIDTH="80%"
694ALIGN="LEFT"
695VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000696> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000697></TR
698><TR
699><TD
700WIDTH="20%"
701ALIGN="RIGHT"
702VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +0000703><SPAN
704CLASS="emphasis"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000705><I
706CLASS="EMPHASIS"
707>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +0000708></SPAN
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000709> :</TD
710><TD
711WIDTH="80%"
712ALIGN="LEFT"
713VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000714>a xmlChar *</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000715></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000716></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000717></TABLE
718><P
719></P
720></DIV
721></DIV
722><HR><DIV
723CLASS="REFSECT2"
724><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000725NAME="AEN4258"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000726></A
727><H3
728><A
729NAME="SETDOCUMENTLOCATOR"
730></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000731>setDocumentLocator ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000732><TABLE
733BORDER="0"
734BGCOLOR="#D6E8FF"
735WIDTH="100%"
736CELLPADDING="6"
737><TR
738><TD
739><PRE
740CLASS="PROGRAMLISTING"
741>void setDocumentLocator (void *ctx,
742 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000743HREF="libxml-tree.html#XMLSAXLOCATORPTR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000744>xmlSAXLocatorPtr</A
745> loc);</PRE
746></TD
747></TR
748></TABLE
749><P
750>Receive the document locator at startup, actually xmlDefaultSAXLocator
751Everything is available on the context, so this is useless in our case.</P
752><P
753></P
754><DIV
755CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000756><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000757NAME="AEN4265"
758></A
759><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000760></P
761><TABLE
762BORDER="0"
763WIDTH="100%"
764BGCOLOR="#FFD0D0"
765CELLSPACING="0"
766CELLPADDING="4"
767CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000768><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000769><TR
770><TD
771WIDTH="20%"
772ALIGN="RIGHT"
773VALIGN="TOP"
774><TT
775CLASS="PARAMETER"
776><I
777>ctx</I
778></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000779>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000780><TD
781WIDTH="80%"
782ALIGN="LEFT"
783VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000784> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000785></TR
786><TR
787><TD
788WIDTH="20%"
789ALIGN="RIGHT"
790VALIGN="TOP"
791><TT
792CLASS="PARAMETER"
793><I
794>loc</I
795></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000796>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000797><TD
798WIDTH="80%"
799ALIGN="LEFT"
800VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000801> A SAX Locator</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000802></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000803></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000804></TABLE
805><P
806></P
807></DIV
808></DIV
809><HR><DIV
810CLASS="REFSECT2"
811><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000812NAME="AEN4278"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000813></A
814><H3
815><A
816NAME="GETLINENUMBER"
817></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000818>getLineNumber ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000819><TABLE
820BORDER="0"
821BGCOLOR="#D6E8FF"
822WIDTH="100%"
823CELLPADDING="6"
824><TR
825><TD
826><PRE
827CLASS="PROGRAMLISTING"
828>int getLineNumber (void *ctx);</PRE
829></TD
830></TR
831></TABLE
832><P
Daniel Veillardaec63562003-03-23 20:42:17 +0000833>Provide the line number of the current parsing point.</P
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000834><P
835></P
836><DIV
837CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000838><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000839NAME="AEN4284"
840></A
841><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000842></P
843><TABLE
844BORDER="0"
845WIDTH="100%"
846BGCOLOR="#FFD0D0"
847CELLSPACING="0"
848CELLPADDING="4"
849CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000850><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000851><TR
852><TD
853WIDTH="20%"
854ALIGN="RIGHT"
855VALIGN="TOP"
856><TT
857CLASS="PARAMETER"
858><I
859>ctx</I
860></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000861>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000862><TD
863WIDTH="80%"
864ALIGN="LEFT"
865VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000866> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000867></TR
868><TR
869><TD
870WIDTH="20%"
871ALIGN="RIGHT"
872VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +0000873><SPAN
874CLASS="emphasis"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000875><I
876CLASS="EMPHASIS"
877>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +0000878></SPAN
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000879> :</TD
880><TD
881WIDTH="80%"
882ALIGN="LEFT"
883VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000884>an int</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000885></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000886></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000887></TABLE
888><P
889></P
890></DIV
891></DIV
892><HR><DIV
893CLASS="REFSECT2"
894><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000895NAME="AEN4297"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000896></A
897><H3
898><A
899NAME="GETCOLUMNNUMBER"
900></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000901>getColumnNumber ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000902><TABLE
903BORDER="0"
904BGCOLOR="#D6E8FF"
905WIDTH="100%"
906CELLPADDING="6"
907><TR
908><TD
909><PRE
910CLASS="PROGRAMLISTING"
911>int getColumnNumber (void *ctx);</PRE
912></TD
913></TR
914></TABLE
915><P
Daniel Veillardaec63562003-03-23 20:42:17 +0000916>Provide the column number of the current parsing point.</P
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000917><P
918></P
919><DIV
920CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000921><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000922NAME="AEN4303"
923></A
924><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000925></P
926><TABLE
927BORDER="0"
928WIDTH="100%"
929BGCOLOR="#FFD0D0"
930CELLSPACING="0"
931CELLPADDING="4"
932CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000933><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000934><TR
935><TD
936WIDTH="20%"
937ALIGN="RIGHT"
938VALIGN="TOP"
939><TT
940CLASS="PARAMETER"
941><I
942>ctx</I
943></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000944>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000945><TD
946WIDTH="80%"
947ALIGN="LEFT"
948VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000949> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000950></TR
951><TR
952><TD
953WIDTH="20%"
954ALIGN="RIGHT"
955VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +0000956><SPAN
957CLASS="emphasis"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000958><I
959CLASS="EMPHASIS"
960>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +0000961></SPAN
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000962> :</TD
963><TD
964WIDTH="80%"
965ALIGN="LEFT"
966VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000967>an int</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000968></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000969></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000970></TABLE
971><P
972></P
973></DIV
974></DIV
975><HR><DIV
976CLASS="REFSECT2"
977><A
Daniel Veillardaec63562003-03-23 20:42:17 +0000978NAME="AEN4316"
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000979></A
980><H3
981><A
982NAME="ISSTANDALONE"
983></A
Daniel Veillardaf43f632002-03-08 15:05:20 +0000984>isStandalone ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +0000985><TABLE
986BORDER="0"
987BGCOLOR="#D6E8FF"
988WIDTH="100%"
989CELLPADDING="6"
990><TR
991><TD
992><PRE
993CLASS="PROGRAMLISTING"
994>int isStandalone (void *ctx);</PRE
995></TD
996></TR
997></TABLE
998><P
999>Is this document tagged standalone ?</P
1000><P
1001></P
1002><DIV
1003CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001004><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001005NAME="AEN4322"
1006></A
1007><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001008></P
1009><TABLE
1010BORDER="0"
1011WIDTH="100%"
1012BGCOLOR="#FFD0D0"
1013CELLSPACING="0"
1014CELLPADDING="4"
1015CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001016><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001017><TR
1018><TD
1019WIDTH="20%"
1020ALIGN="RIGHT"
1021VALIGN="TOP"
1022><TT
1023CLASS="PARAMETER"
1024><I
1025>ctx</I
1026></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001027>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001028><TD
1029WIDTH="80%"
1030ALIGN="LEFT"
1031VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001032> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001033></TR
1034><TR
1035><TD
1036WIDTH="20%"
1037ALIGN="RIGHT"
1038VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001039><SPAN
1040CLASS="emphasis"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001041><I
1042CLASS="EMPHASIS"
1043>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001044></SPAN
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001045> :</TD
1046><TD
1047WIDTH="80%"
1048ALIGN="LEFT"
1049VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001050>1 if true</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001051></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001052></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001053></TABLE
1054><P
1055></P
1056></DIV
1057></DIV
1058><HR><DIV
1059CLASS="REFSECT2"
1060><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001061NAME="AEN4335"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001062></A
1063><H3
1064><A
1065NAME="HASINTERNALSUBSET"
1066></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001067>hasInternalSubset ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001068><TABLE
1069BORDER="0"
1070BGCOLOR="#D6E8FF"
1071WIDTH="100%"
1072CELLPADDING="6"
1073><TR
1074><TD
1075><PRE
1076CLASS="PROGRAMLISTING"
1077>int hasInternalSubset (void *ctx);</PRE
1078></TD
1079></TR
1080></TABLE
1081><P
1082>Does this document has an internal subset</P
1083><P
1084></P
1085><DIV
1086CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001087><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001088NAME="AEN4341"
1089></A
1090><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001091></P
1092><TABLE
1093BORDER="0"
1094WIDTH="100%"
1095BGCOLOR="#FFD0D0"
1096CELLSPACING="0"
1097CELLPADDING="4"
1098CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001099><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001100><TR
1101><TD
1102WIDTH="20%"
1103ALIGN="RIGHT"
1104VALIGN="TOP"
1105><TT
1106CLASS="PARAMETER"
1107><I
1108>ctx</I
1109></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001110>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001111><TD
1112WIDTH="80%"
1113ALIGN="LEFT"
1114VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001115> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001116></TR
1117><TR
1118><TD
1119WIDTH="20%"
1120ALIGN="RIGHT"
1121VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001122><SPAN
1123CLASS="emphasis"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001124><I
1125CLASS="EMPHASIS"
1126>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001127></SPAN
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001128> :</TD
1129><TD
1130WIDTH="80%"
1131ALIGN="LEFT"
1132VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001133>1 if true</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001134></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001135></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001136></TABLE
1137><P
1138></P
1139></DIV
1140></DIV
1141><HR><DIV
1142CLASS="REFSECT2"
1143><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001144NAME="AEN4354"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001145></A
1146><H3
1147><A
1148NAME="HASEXTERNALSUBSET"
1149></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001150>hasExternalSubset ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001151><TABLE
1152BORDER="0"
1153BGCOLOR="#D6E8FF"
1154WIDTH="100%"
1155CELLPADDING="6"
1156><TR
1157><TD
1158><PRE
1159CLASS="PROGRAMLISTING"
1160>int hasExternalSubset (void *ctx);</PRE
1161></TD
1162></TR
1163></TABLE
1164><P
1165>Does this document has an external subset</P
1166><P
1167></P
1168><DIV
1169CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001170><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001171NAME="AEN4360"
1172></A
1173><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001174></P
1175><TABLE
1176BORDER="0"
1177WIDTH="100%"
1178BGCOLOR="#FFD0D0"
1179CELLSPACING="0"
1180CELLPADDING="4"
1181CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001182><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001183><TR
1184><TD
1185WIDTH="20%"
1186ALIGN="RIGHT"
1187VALIGN="TOP"
1188><TT
1189CLASS="PARAMETER"
1190><I
1191>ctx</I
1192></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001193>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001194><TD
1195WIDTH="80%"
1196ALIGN="LEFT"
1197VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001198> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001199></TR
1200><TR
1201><TD
1202WIDTH="20%"
1203ALIGN="RIGHT"
1204VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001205><SPAN
1206CLASS="emphasis"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001207><I
1208CLASS="EMPHASIS"
1209>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001210></SPAN
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001211> :</TD
1212><TD
1213WIDTH="80%"
1214ALIGN="LEFT"
1215VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001216>1 if true</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001217></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001218></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001219></TABLE
1220><P
1221></P
1222></DIV
1223></DIV
1224><HR><DIV
1225CLASS="REFSECT2"
1226><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001227NAME="AEN4373"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001228></A
1229><H3
1230><A
1231NAME="INTERNALSUBSET"
1232></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001233>internalSubset ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001234><TABLE
1235BORDER="0"
1236BGCOLOR="#D6E8FF"
1237WIDTH="100%"
1238CELLPADDING="6"
1239><TR
1240><TD
1241><PRE
1242CLASS="PROGRAMLISTING"
1243>void internalSubset (void *ctx,
1244 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001245HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001246>xmlChar</A
1247> *name,
1248 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001249HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001250>xmlChar</A
1251> *ExternalID,
1252 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001253HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001254>xmlChar</A
1255> *SystemID);</PRE
1256></TD
1257></TR
1258></TABLE
1259><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001260>Callback on internal subset declaration.</P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001261><P
1262></P
1263><DIV
1264CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001265><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001266NAME="AEN4382"
1267></A
1268><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001269></P
1270><TABLE
1271BORDER="0"
1272WIDTH="100%"
1273BGCOLOR="#FFD0D0"
1274CELLSPACING="0"
1275CELLPADDING="4"
1276CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001277><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001278><TR
1279><TD
1280WIDTH="20%"
1281ALIGN="RIGHT"
1282VALIGN="TOP"
1283><TT
1284CLASS="PARAMETER"
1285><I
1286>ctx</I
1287></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001288>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001289><TD
1290WIDTH="80%"
1291ALIGN="LEFT"
1292VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001293> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001294></TR
1295><TR
1296><TD
1297WIDTH="20%"
1298ALIGN="RIGHT"
1299VALIGN="TOP"
1300><TT
1301CLASS="PARAMETER"
1302><I
1303>name</I
1304></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001305>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001306><TD
1307WIDTH="80%"
1308ALIGN="LEFT"
1309VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001310> the root element name</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001311></TR
1312><TR
1313><TD
1314WIDTH="20%"
1315ALIGN="RIGHT"
1316VALIGN="TOP"
1317><TT
1318CLASS="PARAMETER"
1319><I
1320>ExternalID</I
1321></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001322>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001323><TD
1324WIDTH="80%"
1325ALIGN="LEFT"
1326VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001327> the external ID</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001328></TR
1329><TR
1330><TD
1331WIDTH="20%"
1332ALIGN="RIGHT"
1333VALIGN="TOP"
1334><TT
1335CLASS="PARAMETER"
1336><I
1337>SystemID</I
1338></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001339>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001340><TD
1341WIDTH="80%"
1342ALIGN="LEFT"
1343VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001344> the SYSTEM ID (e.g. filename or URL)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001345></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001346></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001347></TABLE
1348><P
1349></P
1350></DIV
1351></DIV
1352><HR><DIV
1353CLASS="REFSECT2"
1354><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001355NAME="AEN4403"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001356></A
1357><H3
1358><A
1359NAME="EXTERNALSUBSET"
1360></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001361>externalSubset ()</H3
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001362><TABLE
1363BORDER="0"
1364BGCOLOR="#D6E8FF"
1365WIDTH="100%"
1366CELLPADDING="6"
1367><TR
1368><TD
1369><PRE
1370CLASS="PROGRAMLISTING"
1371>void externalSubset (void *ctx,
1372 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001373HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001374>xmlChar</A
1375> *name,
1376 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001377HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001378>xmlChar</A
1379> *ExternalID,
1380 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001381HREF="libxml-tree.html#XMLCHAR"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001382>xmlChar</A
1383> *SystemID);</PRE
1384></TD
1385></TR
1386></TABLE
1387><P
1388>Callback on external subset declaration.</P
1389><P
1390></P
1391><DIV
1392CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001393><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001394NAME="AEN4412"
1395></A
1396><P
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001397></P
1398><TABLE
1399BORDER="0"
1400WIDTH="100%"
1401BGCOLOR="#FFD0D0"
1402CELLSPACING="0"
1403CELLPADDING="4"
1404CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001405><TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001406><TR
1407><TD
1408WIDTH="20%"
1409ALIGN="RIGHT"
1410VALIGN="TOP"
1411><TT
1412CLASS="PARAMETER"
1413><I
1414>ctx</I
1415></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001416>&nbsp;:</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001417><TD
1418WIDTH="80%"
1419ALIGN="LEFT"
1420VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001421> the user data (XML parser context)</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001422></TR
1423><TR
1424><TD
1425WIDTH="20%"
1426ALIGN="RIGHT"
1427VALIGN="TOP"
1428><TT
1429CLASS="PARAMETER"
1430><I
1431>name</I
1432></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001433>&nbsp;:</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001434><TD
1435WIDTH="80%"
1436ALIGN="LEFT"
1437VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001438> the root element name</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001439></TR
1440><TR
1441><TD
1442WIDTH="20%"
1443ALIGN="RIGHT"
1444VALIGN="TOP"
1445><TT
1446CLASS="PARAMETER"
1447><I
1448>ExternalID</I
1449></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001450>&nbsp;:</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001451><TD
1452WIDTH="80%"
1453ALIGN="LEFT"
1454VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001455> the external ID</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001456></TR
1457><TR
1458><TD
1459WIDTH="20%"
1460ALIGN="RIGHT"
1461VALIGN="TOP"
1462><TT
1463CLASS="PARAMETER"
1464><I
1465>SystemID</I
1466></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001467>&nbsp;:</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001468><TD
1469WIDTH="80%"
1470ALIGN="LEFT"
1471VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001472> the SYSTEM ID (e.g. filename or URL)</TD
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001473></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001474></TBODY
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001475></TABLE
1476><P
1477></P
1478></DIV
1479></DIV
1480><HR><DIV
1481CLASS="REFSECT2"
1482><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001483NAME="AEN4433"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001484></A
1485><H3
1486><A
1487NAME="GETENTITY"
1488></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001489>getEntity ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001490><TABLE
1491BORDER="0"
1492BGCOLOR="#D6E8FF"
1493WIDTH="100%"
1494CELLPADDING="6"
1495><TR
1496><TD
1497><PRE
1498CLASS="PROGRAMLISTING"
1499><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001500HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001501>xmlEntityPtr</A
1502> getEntity (void *ctx,
1503 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001504HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001505>xmlChar</A
1506> *name);</PRE
1507></TD
1508></TR
1509></TABLE
1510><P
1511>Get an entity by name</P
1512><P
1513></P
1514><DIV
1515CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001516><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001517NAME="AEN4441"
1518></A
1519><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001520></P
1521><TABLE
1522BORDER="0"
1523WIDTH="100%"
1524BGCOLOR="#FFD0D0"
1525CELLSPACING="0"
1526CELLPADDING="4"
1527CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001528><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001529><TR
1530><TD
1531WIDTH="20%"
1532ALIGN="RIGHT"
1533VALIGN="TOP"
1534><TT
1535CLASS="PARAMETER"
1536><I
1537>ctx</I
1538></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001539>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001540><TD
1541WIDTH="80%"
1542ALIGN="LEFT"
1543VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001544> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001545></TR
1546><TR
1547><TD
1548WIDTH="20%"
1549ALIGN="RIGHT"
1550VALIGN="TOP"
1551><TT
1552CLASS="PARAMETER"
1553><I
1554>name</I
1555></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001556>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001557><TD
1558WIDTH="80%"
1559ALIGN="LEFT"
1560VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001561> The entity name</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001562></TR
1563><TR
1564><TD
1565WIDTH="20%"
1566ALIGN="RIGHT"
1567VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001568><SPAN
1569CLASS="emphasis"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001570><I
1571CLASS="EMPHASIS"
1572>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001573></SPAN
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001574> :</TD
1575><TD
1576WIDTH="80%"
1577ALIGN="LEFT"
1578VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001579>the xmlEntityPtr if found.</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001580></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001581></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001582></TABLE
1583><P
1584></P
1585></DIV
1586></DIV
1587><HR><DIV
1588CLASS="REFSECT2"
1589><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001590NAME="AEN4458"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001591></A
1592><H3
1593><A
1594NAME="GETPARAMETERENTITY"
1595></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001596>getParameterEntity ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001597><TABLE
1598BORDER="0"
1599BGCOLOR="#D6E8FF"
1600WIDTH="100%"
1601CELLPADDING="6"
1602><TR
1603><TD
1604><PRE
1605CLASS="PROGRAMLISTING"
1606><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001607HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001608>xmlEntityPtr</A
1609> getParameterEntity (void *ctx,
1610 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001611HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001612>xmlChar</A
1613> *name);</PRE
1614></TD
1615></TR
1616></TABLE
1617><P
1618>Get a parameter entity by name</P
1619><P
1620></P
1621><DIV
1622CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001623><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001624NAME="AEN4466"
1625></A
1626><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001627></P
1628><TABLE
1629BORDER="0"
1630WIDTH="100%"
1631BGCOLOR="#FFD0D0"
1632CELLSPACING="0"
1633CELLPADDING="4"
1634CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001635><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001636><TR
1637><TD
1638WIDTH="20%"
1639ALIGN="RIGHT"
1640VALIGN="TOP"
1641><TT
1642CLASS="PARAMETER"
1643><I
1644>ctx</I
1645></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001646>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001647><TD
1648WIDTH="80%"
1649ALIGN="LEFT"
1650VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001651> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001652></TR
1653><TR
1654><TD
1655WIDTH="20%"
1656ALIGN="RIGHT"
1657VALIGN="TOP"
1658><TT
1659CLASS="PARAMETER"
1660><I
1661>name</I
1662></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001663>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001664><TD
1665WIDTH="80%"
1666ALIGN="LEFT"
1667VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001668> The entity name</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001669></TR
1670><TR
1671><TD
1672WIDTH="20%"
1673ALIGN="RIGHT"
1674VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001675><SPAN
1676CLASS="emphasis"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001677><I
1678CLASS="EMPHASIS"
1679>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001680></SPAN
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001681> :</TD
1682><TD
1683WIDTH="80%"
1684ALIGN="LEFT"
1685VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001686>the xmlEntityPtr if found.</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001687></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001688></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001689></TABLE
1690><P
1691></P
1692></DIV
1693></DIV
1694><HR><DIV
1695CLASS="REFSECT2"
1696><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001697NAME="AEN4483"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001698></A
1699><H3
1700><A
1701NAME="RESOLVEENTITY"
1702></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001703>resolveEntity ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001704><TABLE
1705BORDER="0"
1706BGCOLOR="#D6E8FF"
1707WIDTH="100%"
1708CELLPADDING="6"
1709><TR
1710><TD
1711><PRE
1712CLASS="PROGRAMLISTING"
1713><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001714HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001715>xmlParserInputPtr</A
1716> resolveEntity (void *ctx,
1717 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001718HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001719>xmlChar</A
1720> *publicId,
1721 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001722HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001723>xmlChar</A
1724> *systemId);</PRE
1725></TD
1726></TR
1727></TABLE
1728><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001729>The entity loader, to control the loading of external entities,
1730the application can either:
Daniel Veillardaec63562003-03-23 20:42:17 +00001731 - override this <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001732HREF="libxml-sax.html#RESOLVEENTITY"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001733>resolveEntity</A
1734>() callback in the SAX block
Daniel Veillardaec63562003-03-23 20:42:17 +00001735 - or better use the <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001736HREF="libxml-parser.html#XMLSETEXTERNALENTITYLOADER"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001737>xmlSetExternalEntityLoader</A
1738>() function to
Daniel Veillardaec63562003-03-23 20:42:17 +00001739 set up it's own entity resolution routine</P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001740><P
1741></P
1742><DIV
1743CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001744><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001745NAME="AEN4494"
1746></A
1747><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001748></P
1749><TABLE
1750BORDER="0"
1751WIDTH="100%"
1752BGCOLOR="#FFD0D0"
1753CELLSPACING="0"
1754CELLPADDING="4"
1755CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001756><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001757><TR
1758><TD
1759WIDTH="20%"
1760ALIGN="RIGHT"
1761VALIGN="TOP"
1762><TT
1763CLASS="PARAMETER"
1764><I
1765>ctx</I
1766></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001767>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001768><TD
1769WIDTH="80%"
1770ALIGN="LEFT"
1771VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001772> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001773></TR
1774><TR
1775><TD
1776WIDTH="20%"
1777ALIGN="RIGHT"
1778VALIGN="TOP"
1779><TT
1780CLASS="PARAMETER"
1781><I
1782>publicId</I
1783></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001784>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001785><TD
1786WIDTH="80%"
1787ALIGN="LEFT"
1788VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001789> The public ID of the entity</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001790></TR
1791><TR
1792><TD
1793WIDTH="20%"
1794ALIGN="RIGHT"
1795VALIGN="TOP"
1796><TT
1797CLASS="PARAMETER"
1798><I
1799>systemId</I
1800></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001801>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001802><TD
1803WIDTH="80%"
1804ALIGN="LEFT"
1805VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001806> The system ID of the entity</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001807></TR
1808><TR
1809><TD
1810WIDTH="20%"
1811ALIGN="RIGHT"
1812VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00001813><SPAN
1814CLASS="emphasis"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001815><I
1816CLASS="EMPHASIS"
1817>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00001818></SPAN
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001819> :</TD
1820><TD
1821WIDTH="80%"
1822ALIGN="LEFT"
1823VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001824>the xmlParserInputPtr if inlined or NULL for DOM behaviour.</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001825></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001826></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001827></TABLE
1828><P
1829></P
1830></DIV
1831></DIV
1832><HR><DIV
1833CLASS="REFSECT2"
1834><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001835NAME="AEN4515"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001836></A
1837><H3
1838><A
1839NAME="ENTITYDECL"
1840></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001841>entityDecl ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001842><TABLE
1843BORDER="0"
1844BGCOLOR="#D6E8FF"
1845WIDTH="100%"
1846CELLPADDING="6"
1847><TR
1848><TD
1849><PRE
1850CLASS="PROGRAMLISTING"
1851>void entityDecl (void *ctx,
1852 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001853HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001854>xmlChar</A
1855> *name,
1856 int type,
1857 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001858HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001859>xmlChar</A
1860> *publicId,
1861 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001862HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001863>xmlChar</A
1864> *systemId,
1865 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001866HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001867>xmlChar</A
1868> *content);</PRE
1869></TD
1870></TR
1871></TABLE
1872><P
1873>An entity definition has been parsed</P
1874><P
1875></P
1876><DIV
1877CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001878><A
Daniel Veillardaec63562003-03-23 20:42:17 +00001879NAME="AEN4525"
1880></A
1881><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001882></P
1883><TABLE
1884BORDER="0"
1885WIDTH="100%"
1886BGCOLOR="#FFD0D0"
1887CELLSPACING="0"
1888CELLPADDING="4"
1889CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001890><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001891><TR
1892><TD
1893WIDTH="20%"
1894ALIGN="RIGHT"
1895VALIGN="TOP"
1896><TT
1897CLASS="PARAMETER"
1898><I
1899>ctx</I
1900></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001901>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001902><TD
1903WIDTH="80%"
1904ALIGN="LEFT"
1905VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001906> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001907></TR
1908><TR
1909><TD
1910WIDTH="20%"
1911ALIGN="RIGHT"
1912VALIGN="TOP"
1913><TT
1914CLASS="PARAMETER"
1915><I
1916>name</I
1917></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001918>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001919><TD
1920WIDTH="80%"
1921ALIGN="LEFT"
1922VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001923> the entity name </TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001924></TR
1925><TR
1926><TD
1927WIDTH="20%"
1928ALIGN="RIGHT"
1929VALIGN="TOP"
1930><TT
1931CLASS="PARAMETER"
1932><I
1933>type</I
1934></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001935>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001936><TD
1937WIDTH="80%"
1938ALIGN="LEFT"
1939VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001940> the entity type </TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001941></TR
1942><TR
1943><TD
1944WIDTH="20%"
1945ALIGN="RIGHT"
1946VALIGN="TOP"
1947><TT
1948CLASS="PARAMETER"
1949><I
1950>publicId</I
1951></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001952>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001953><TD
1954WIDTH="80%"
1955ALIGN="LEFT"
1956VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001957> The public ID of the entity</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001958></TR
1959><TR
1960><TD
1961WIDTH="20%"
1962ALIGN="RIGHT"
1963VALIGN="TOP"
1964><TT
1965CLASS="PARAMETER"
1966><I
1967>systemId</I
1968></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001969>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001970><TD
1971WIDTH="80%"
1972ALIGN="LEFT"
1973VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001974> The system ID of the entity</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001975></TR
1976><TR
1977><TD
1978WIDTH="20%"
1979ALIGN="RIGHT"
1980VALIGN="TOP"
1981><TT
1982CLASS="PARAMETER"
1983><I
1984>content</I
1985></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001986>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001987><TD
1988WIDTH="80%"
1989ALIGN="LEFT"
1990VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001991> the entity value (without processing).</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001992></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001993></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00001994></TABLE
1995><P
1996></P
1997></DIV
1998></DIV
1999><HR><DIV
2000CLASS="REFSECT2"
2001><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002002NAME="AEN4554"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002003></A
2004><H3
2005><A
2006NAME="ATTRIBUTEDECL"
2007></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002008>attributeDecl ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002009><TABLE
2010BORDER="0"
2011BGCOLOR="#D6E8FF"
2012WIDTH="100%"
2013CELLPADDING="6"
2014><TR
2015><TD
2016><PRE
2017CLASS="PROGRAMLISTING"
2018>void attributeDecl (void *ctx,
2019 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002020HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002021>xmlChar</A
2022> *elem,
2023 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002024HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002025>xmlChar</A
Daniel Veillardf012a642001-07-23 19:10:52 +00002026> *fullname,
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002027 int type,
2028 int def,
2029 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002030HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002031>xmlChar</A
2032> *defaultValue,
2033 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002034HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002035>xmlEnumerationPtr</A
2036> tree);</PRE
2037></TD
2038></TR
2039></TABLE
2040><P
2041>An attribute definition has been parsed</P
2042><P
2043></P
2044><DIV
2045CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002046><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002047NAME="AEN4564"
2048></A
2049><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002050></P
2051><TABLE
2052BORDER="0"
2053WIDTH="100%"
2054BGCOLOR="#FFD0D0"
2055CELLSPACING="0"
2056CELLPADDING="4"
2057CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002058><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002059><TR
2060><TD
2061WIDTH="20%"
2062ALIGN="RIGHT"
2063VALIGN="TOP"
2064><TT
2065CLASS="PARAMETER"
2066><I
2067>ctx</I
2068></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002069>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002070><TD
2071WIDTH="80%"
2072ALIGN="LEFT"
2073VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002074> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002075></TR
2076><TR
2077><TD
2078WIDTH="20%"
2079ALIGN="RIGHT"
2080VALIGN="TOP"
2081><TT
2082CLASS="PARAMETER"
2083><I
2084>elem</I
2085></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002086>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002087><TD
2088WIDTH="80%"
2089ALIGN="LEFT"
2090VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002091> the name of the element</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002092></TR
2093><TR
2094><TD
2095WIDTH="20%"
2096ALIGN="RIGHT"
2097VALIGN="TOP"
2098><TT
2099CLASS="PARAMETER"
2100><I
Daniel Veillardf012a642001-07-23 19:10:52 +00002101>fullname</I
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002102></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002103>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002104><TD
2105WIDTH="80%"
2106ALIGN="LEFT"
2107VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00002108> the attribute name </TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002109></TR
2110><TR
2111><TD
2112WIDTH="20%"
2113ALIGN="RIGHT"
2114VALIGN="TOP"
2115><TT
2116CLASS="PARAMETER"
2117><I
2118>type</I
2119></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002120>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002121><TD
2122WIDTH="80%"
2123ALIGN="LEFT"
2124VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002125> the attribute type </TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002126></TR
2127><TR
2128><TD
2129WIDTH="20%"
2130ALIGN="RIGHT"
2131VALIGN="TOP"
2132><TT
2133CLASS="PARAMETER"
2134><I
2135>def</I
2136></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002137>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002138><TD
2139WIDTH="80%"
2140ALIGN="LEFT"
2141VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002142> the type of default value</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002143></TR
2144><TR
2145><TD
2146WIDTH="20%"
2147ALIGN="RIGHT"
2148VALIGN="TOP"
2149><TT
2150CLASS="PARAMETER"
2151><I
2152>defaultValue</I
2153></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002154>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002155><TD
2156WIDTH="80%"
2157ALIGN="LEFT"
2158VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002159> the attribute default value</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002160></TR
2161><TR
2162><TD
2163WIDTH="20%"
2164ALIGN="RIGHT"
2165VALIGN="TOP"
2166><TT
2167CLASS="PARAMETER"
2168><I
2169>tree</I
2170></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002171>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002172><TD
2173WIDTH="80%"
2174ALIGN="LEFT"
2175VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002176> the tree of enumerated value set</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002177></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002178></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002179></TABLE
2180><P
2181></P
2182></DIV
2183></DIV
2184><HR><DIV
2185CLASS="REFSECT2"
2186><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002187NAME="AEN4597"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002188></A
2189><H3
2190><A
2191NAME="ELEMENTDECL"
2192></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002193>elementDecl ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002194><TABLE
2195BORDER="0"
2196BGCOLOR="#D6E8FF"
2197WIDTH="100%"
2198CELLPADDING="6"
2199><TR
2200><TD
2201><PRE
2202CLASS="PROGRAMLISTING"
2203>void elementDecl (void *ctx,
2204 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002205HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002206>xmlChar</A
2207> *name,
2208 int type,
2209 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002210HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002211>xmlElementContentPtr</A
2212> content);</PRE
2213></TD
2214></TR
2215></TABLE
2216><P
2217>An element definition has been parsed</P
2218><P
2219></P
2220><DIV
2221CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002222><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002223NAME="AEN4605"
2224></A
2225><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002226></P
2227><TABLE
2228BORDER="0"
2229WIDTH="100%"
2230BGCOLOR="#FFD0D0"
2231CELLSPACING="0"
2232CELLPADDING="4"
2233CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002234><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002235><TR
2236><TD
2237WIDTH="20%"
2238ALIGN="RIGHT"
2239VALIGN="TOP"
2240><TT
2241CLASS="PARAMETER"
2242><I
2243>ctx</I
2244></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002245>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002246><TD
2247WIDTH="80%"
2248ALIGN="LEFT"
2249VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002250> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002251></TR
2252><TR
2253><TD
2254WIDTH="20%"
2255ALIGN="RIGHT"
2256VALIGN="TOP"
2257><TT
2258CLASS="PARAMETER"
2259><I
2260>name</I
2261></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002262>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002263><TD
2264WIDTH="80%"
2265ALIGN="LEFT"
2266VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002267> the element name </TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002268></TR
2269><TR
2270><TD
2271WIDTH="20%"
2272ALIGN="RIGHT"
2273VALIGN="TOP"
2274><TT
2275CLASS="PARAMETER"
2276><I
2277>type</I
2278></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002279>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002280><TD
2281WIDTH="80%"
2282ALIGN="LEFT"
2283VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002284> the element type </TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002285></TR
2286><TR
2287><TD
2288WIDTH="20%"
2289ALIGN="RIGHT"
2290VALIGN="TOP"
2291><TT
2292CLASS="PARAMETER"
2293><I
2294>content</I
2295></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002296>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002297><TD
2298WIDTH="80%"
2299ALIGN="LEFT"
2300VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002301> the element value tree</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002302></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002303></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002304></TABLE
2305><P
2306></P
2307></DIV
2308></DIV
2309><HR><DIV
2310CLASS="REFSECT2"
2311><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002312NAME="AEN4626"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002313></A
2314><H3
2315><A
2316NAME="NOTATIONDECL"
2317></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002318>notationDecl ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002319><TABLE
2320BORDER="0"
2321BGCOLOR="#D6E8FF"
2322WIDTH="100%"
2323CELLPADDING="6"
2324><TR
2325><TD
2326><PRE
2327CLASS="PROGRAMLISTING"
2328>void notationDecl (void *ctx,
2329 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002330HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002331>xmlChar</A
2332> *name,
2333 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002334HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002335>xmlChar</A
2336> *publicId,
2337 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002338HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002339>xmlChar</A
2340> *systemId);</PRE
2341></TD
2342></TR
2343></TABLE
2344><P
2345>What to do when a notation declaration has been parsed.</P
2346><P
2347></P
2348><DIV
2349CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002350><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002351NAME="AEN4635"
2352></A
2353><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002354></P
2355><TABLE
2356BORDER="0"
2357WIDTH="100%"
2358BGCOLOR="#FFD0D0"
2359CELLSPACING="0"
2360CELLPADDING="4"
2361CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002362><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002363><TR
2364><TD
2365WIDTH="20%"
2366ALIGN="RIGHT"
2367VALIGN="TOP"
2368><TT
2369CLASS="PARAMETER"
2370><I
2371>ctx</I
2372></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002373>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002374><TD
2375WIDTH="80%"
2376ALIGN="LEFT"
2377VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002378> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002379></TR
2380><TR
2381><TD
2382WIDTH="20%"
2383ALIGN="RIGHT"
2384VALIGN="TOP"
2385><TT
2386CLASS="PARAMETER"
2387><I
2388>name</I
2389></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002390>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002391><TD
2392WIDTH="80%"
2393ALIGN="LEFT"
2394VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002395> The name of the notation</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002396></TR
2397><TR
2398><TD
2399WIDTH="20%"
2400ALIGN="RIGHT"
2401VALIGN="TOP"
2402><TT
2403CLASS="PARAMETER"
2404><I
2405>publicId</I
2406></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002407>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002408><TD
2409WIDTH="80%"
2410ALIGN="LEFT"
2411VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002412> The public ID of the entity</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002413></TR
2414><TR
2415><TD
2416WIDTH="20%"
2417ALIGN="RIGHT"
2418VALIGN="TOP"
2419><TT
2420CLASS="PARAMETER"
2421><I
2422>systemId</I
2423></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002424>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002425><TD
2426WIDTH="80%"
2427ALIGN="LEFT"
2428VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002429> The system ID of the entity</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002430></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002431></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002432></TABLE
2433><P
2434></P
2435></DIV
2436></DIV
2437><HR><DIV
2438CLASS="REFSECT2"
2439><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002440NAME="AEN4656"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002441></A
2442><H3
2443><A
2444NAME="UNPARSEDENTITYDECL"
2445></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002446>unparsedEntityDecl ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002447><TABLE
2448BORDER="0"
2449BGCOLOR="#D6E8FF"
2450WIDTH="100%"
2451CELLPADDING="6"
2452><TR
2453><TD
2454><PRE
2455CLASS="PROGRAMLISTING"
2456>void unparsedEntityDecl (void *ctx,
2457 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002458HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002459>xmlChar</A
2460> *name,
2461 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002462HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002463>xmlChar</A
2464> *publicId,
2465 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002466HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002467>xmlChar</A
2468> *systemId,
2469 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002470HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002471>xmlChar</A
2472> *notationName);</PRE
2473></TD
2474></TR
2475></TABLE
2476><P
2477>What to do when an unparsed entity declaration is parsed</P
2478><P
2479></P
2480><DIV
2481CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002482><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002483NAME="AEN4666"
2484></A
2485><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002486></P
2487><TABLE
2488BORDER="0"
2489WIDTH="100%"
2490BGCOLOR="#FFD0D0"
2491CELLSPACING="0"
2492CELLPADDING="4"
2493CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002494><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002495><TR
2496><TD
2497WIDTH="20%"
2498ALIGN="RIGHT"
2499VALIGN="TOP"
2500><TT
2501CLASS="PARAMETER"
2502><I
2503>ctx</I
2504></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002505>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002506><TD
2507WIDTH="80%"
2508ALIGN="LEFT"
2509VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002510> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002511></TR
2512><TR
2513><TD
2514WIDTH="20%"
2515ALIGN="RIGHT"
2516VALIGN="TOP"
2517><TT
2518CLASS="PARAMETER"
2519><I
2520>name</I
2521></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002522>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002523><TD
2524WIDTH="80%"
2525ALIGN="LEFT"
2526VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002527> The name of the entity</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002528></TR
2529><TR
2530><TD
2531WIDTH="20%"
2532ALIGN="RIGHT"
2533VALIGN="TOP"
2534><TT
2535CLASS="PARAMETER"
2536><I
2537>publicId</I
2538></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002539>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002540><TD
2541WIDTH="80%"
2542ALIGN="LEFT"
2543VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002544> The public ID of the entity</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002545></TR
2546><TR
2547><TD
2548WIDTH="20%"
2549ALIGN="RIGHT"
2550VALIGN="TOP"
2551><TT
2552CLASS="PARAMETER"
2553><I
2554>systemId</I
2555></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002556>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002557><TD
2558WIDTH="80%"
2559ALIGN="LEFT"
2560VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002561> The system ID of the entity</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002562></TR
2563><TR
2564><TD
2565WIDTH="20%"
2566ALIGN="RIGHT"
2567VALIGN="TOP"
2568><TT
2569CLASS="PARAMETER"
2570><I
2571>notationName</I
2572></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002573>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002574><TD
2575WIDTH="80%"
2576ALIGN="LEFT"
2577VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002578> the name of the notation</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002579></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002580></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002581></TABLE
2582><P
2583></P
2584></DIV
2585></DIV
2586><HR><DIV
2587CLASS="REFSECT2"
2588><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002589NAME="AEN4691"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002590></A
2591><H3
2592><A
2593NAME="STARTDOCUMENT"
2594></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002595>startDocument ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002596><TABLE
2597BORDER="0"
2598BGCOLOR="#D6E8FF"
2599WIDTH="100%"
2600CELLPADDING="6"
2601><TR
2602><TD
2603><PRE
2604CLASS="PROGRAMLISTING"
2605>void startDocument (void *ctx);</PRE
2606></TD
2607></TR
2608></TABLE
2609><P
2610>called when the document start being processed.</P
2611><P
2612></P
2613><DIV
2614CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002615><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002616NAME="AEN4697"
2617></A
2618><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002619></P
2620><TABLE
2621BORDER="0"
2622WIDTH="100%"
2623BGCOLOR="#FFD0D0"
2624CELLSPACING="0"
2625CELLPADDING="4"
2626CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002627><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002628><TR
2629><TD
2630WIDTH="20%"
2631ALIGN="RIGHT"
2632VALIGN="TOP"
2633><TT
2634CLASS="PARAMETER"
2635><I
2636>ctx</I
2637></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002638>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002639><TD
2640WIDTH="80%"
2641ALIGN="LEFT"
2642VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002643> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002644></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002645></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002646></TABLE
2647><P
2648></P
2649></DIV
2650></DIV
2651><HR><DIV
2652CLASS="REFSECT2"
2653><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002654NAME="AEN4706"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002655></A
2656><H3
2657><A
2658NAME="ENDDOCUMENT"
2659></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002660>endDocument ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002661><TABLE
2662BORDER="0"
2663BGCOLOR="#D6E8FF"
2664WIDTH="100%"
2665CELLPADDING="6"
2666><TR
2667><TD
2668><PRE
2669CLASS="PROGRAMLISTING"
2670>void endDocument (void *ctx);</PRE
2671></TD
2672></TR
2673></TABLE
2674><P
2675>called when the document end has been detected.</P
2676><P
2677></P
2678><DIV
2679CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002680><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002681NAME="AEN4712"
2682></A
2683><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002684></P
2685><TABLE
2686BORDER="0"
2687WIDTH="100%"
2688BGCOLOR="#FFD0D0"
2689CELLSPACING="0"
2690CELLPADDING="4"
2691CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002692><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002693><TR
2694><TD
2695WIDTH="20%"
2696ALIGN="RIGHT"
2697VALIGN="TOP"
2698><TT
2699CLASS="PARAMETER"
2700><I
2701>ctx</I
2702></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002703>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002704><TD
2705WIDTH="80%"
2706ALIGN="LEFT"
2707VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002708> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002709></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002710></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002711></TABLE
2712><P
2713></P
2714></DIV
2715></DIV
2716><HR><DIV
2717CLASS="REFSECT2"
2718><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002719NAME="AEN4721"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002720></A
2721><H3
2722><A
2723NAME="ATTRIBUTE"
2724></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002725>attribute ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002726><TABLE
2727BORDER="0"
2728BGCOLOR="#D6E8FF"
2729WIDTH="100%"
2730CELLPADDING="6"
2731><TR
2732><TD
2733><PRE
2734CLASS="PROGRAMLISTING"
2735>void attribute (void *ctx,
2736 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002737HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002738>xmlChar</A
2739> *fullname,
2740 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002741HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002742>xmlChar</A
2743> *value);</PRE
2744></TD
2745></TR
2746></TABLE
2747><P
2748>Handle an attribute that has been read by the parser.
2749The default handling is to convert the attribute into an
2750DOM subtree and past it in a new xmlAttr element added to
2751the element.</P
2752><P
2753></P
2754><DIV
2755CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002756><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002757NAME="AEN4729"
2758></A
2759><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002760></P
2761><TABLE
2762BORDER="0"
2763WIDTH="100%"
2764BGCOLOR="#FFD0D0"
2765CELLSPACING="0"
2766CELLPADDING="4"
2767CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002768><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002769><TR
2770><TD
2771WIDTH="20%"
2772ALIGN="RIGHT"
2773VALIGN="TOP"
2774><TT
2775CLASS="PARAMETER"
2776><I
2777>ctx</I
2778></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002779>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002780><TD
2781WIDTH="80%"
2782ALIGN="LEFT"
2783VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002784> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002785></TR
2786><TR
2787><TD
2788WIDTH="20%"
2789ALIGN="RIGHT"
2790VALIGN="TOP"
2791><TT
2792CLASS="PARAMETER"
2793><I
2794>fullname</I
2795></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002796>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002797><TD
2798WIDTH="80%"
2799ALIGN="LEFT"
2800VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002801> The attribute name, including namespace prefix</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002802></TR
2803><TR
2804><TD
2805WIDTH="20%"
2806ALIGN="RIGHT"
2807VALIGN="TOP"
2808><TT
2809CLASS="PARAMETER"
2810><I
2811>value</I
2812></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002813>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002814><TD
2815WIDTH="80%"
2816ALIGN="LEFT"
2817VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002818> The attribute value</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002819></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002820></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002821></TABLE
2822><P
2823></P
2824></DIV
2825></DIV
2826><HR><DIV
2827CLASS="REFSECT2"
2828><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002829NAME="AEN4746"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002830></A
2831><H3
2832><A
2833NAME="STARTELEMENT"
2834></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002835>startElement ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002836><TABLE
2837BORDER="0"
2838BGCOLOR="#D6E8FF"
2839WIDTH="100%"
2840CELLPADDING="6"
2841><TR
2842><TD
2843><PRE
2844CLASS="PROGRAMLISTING"
2845>void startElement (void *ctx,
2846 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002847HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002848>xmlChar</A
2849> *fullname,
2850 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002851HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002852>xmlChar</A
2853> **atts);</PRE
2854></TD
2855></TR
2856></TABLE
2857><P
2858>called when an opening tag has been processed.</P
2859><P
2860></P
2861><DIV
2862CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002863><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002864NAME="AEN4754"
2865></A
2866><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002867></P
2868><TABLE
2869BORDER="0"
2870WIDTH="100%"
2871BGCOLOR="#FFD0D0"
2872CELLSPACING="0"
2873CELLPADDING="4"
2874CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002875><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002876><TR
2877><TD
2878WIDTH="20%"
2879ALIGN="RIGHT"
2880VALIGN="TOP"
2881><TT
2882CLASS="PARAMETER"
2883><I
2884>ctx</I
2885></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002886>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002887><TD
2888WIDTH="80%"
2889ALIGN="LEFT"
2890VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002891> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002892></TR
2893><TR
2894><TD
2895WIDTH="20%"
2896ALIGN="RIGHT"
2897VALIGN="TOP"
2898><TT
2899CLASS="PARAMETER"
2900><I
2901>fullname</I
2902></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002903>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002904><TD
2905WIDTH="80%"
2906ALIGN="LEFT"
2907VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002908> The element name, including namespace prefix</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002909></TR
2910><TR
2911><TD
2912WIDTH="20%"
2913ALIGN="RIGHT"
2914VALIGN="TOP"
2915><TT
2916CLASS="PARAMETER"
2917><I
2918>atts</I
2919></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002920>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002921><TD
2922WIDTH="80%"
2923ALIGN="LEFT"
2924VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002925> An array of name/value attributes pairs, NULL terminated</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002926></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002927></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002928></TABLE
2929><P
2930></P
2931></DIV
2932></DIV
2933><HR><DIV
2934CLASS="REFSECT2"
2935><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002936NAME="AEN4771"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002937></A
2938><H3
2939><A
2940NAME="ENDELEMENT"
2941></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002942>endElement ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002943><TABLE
2944BORDER="0"
2945BGCOLOR="#D6E8FF"
2946WIDTH="100%"
2947CELLPADDING="6"
2948><TR
2949><TD
2950><PRE
2951CLASS="PROGRAMLISTING"
2952>void endElement (void *ctx,
2953 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002954HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002955>xmlChar</A
2956> *name);</PRE
2957></TD
2958></TR
2959></TABLE
2960><P
2961>called when the end of an element has been detected.</P
2962><P
2963></P
2964><DIV
2965CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002966><A
Daniel Veillardaec63562003-03-23 20:42:17 +00002967NAME="AEN4778"
2968></A
2969><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002970></P
2971><TABLE
2972BORDER="0"
2973WIDTH="100%"
2974BGCOLOR="#FFD0D0"
2975CELLSPACING="0"
2976CELLPADDING="4"
2977CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002978><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002979><TR
2980><TD
2981WIDTH="20%"
2982ALIGN="RIGHT"
2983VALIGN="TOP"
2984><TT
2985CLASS="PARAMETER"
2986><I
2987>ctx</I
2988></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002989>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002990><TD
2991WIDTH="80%"
2992ALIGN="LEFT"
2993VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002994> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00002995></TR
2996><TR
2997><TD
2998WIDTH="20%"
2999ALIGN="RIGHT"
3000VALIGN="TOP"
3001><TT
3002CLASS="PARAMETER"
3003><I
3004>name</I
3005></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003006>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003007><TD
3008WIDTH="80%"
3009ALIGN="LEFT"
3010VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003011> The element name</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003012></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003013></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003014></TABLE
3015><P
3016></P
3017></DIV
3018></DIV
3019><HR><DIV
3020CLASS="REFSECT2"
3021><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003022NAME="AEN4791"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003023></A
3024><H3
3025><A
3026NAME="REFERENCE"
3027></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003028>reference ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003029><TABLE
3030BORDER="0"
3031BGCOLOR="#D6E8FF"
3032WIDTH="100%"
3033CELLPADDING="6"
3034><TR
3035><TD
3036><PRE
3037CLASS="PROGRAMLISTING"
3038>void reference (void *ctx,
3039 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003040HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003041>xmlChar</A
3042> *name);</PRE
3043></TD
3044></TR
3045></TABLE
3046><P
3047>called when an entity reference is detected.</P
3048><P
3049></P
3050><DIV
3051CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003052><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003053NAME="AEN4798"
3054></A
3055><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003056></P
3057><TABLE
3058BORDER="0"
3059WIDTH="100%"
3060BGCOLOR="#FFD0D0"
3061CELLSPACING="0"
3062CELLPADDING="4"
3063CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003064><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003065><TR
3066><TD
3067WIDTH="20%"
3068ALIGN="RIGHT"
3069VALIGN="TOP"
3070><TT
3071CLASS="PARAMETER"
3072><I
3073>ctx</I
3074></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003075>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003076><TD
3077WIDTH="80%"
3078ALIGN="LEFT"
3079VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003080> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003081></TR
3082><TR
3083><TD
3084WIDTH="20%"
3085ALIGN="RIGHT"
3086VALIGN="TOP"
3087><TT
3088CLASS="PARAMETER"
3089><I
3090>name</I
3091></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003092>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003093><TD
3094WIDTH="80%"
3095ALIGN="LEFT"
3096VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003097> The entity name</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003098></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003099></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003100></TABLE
3101><P
3102></P
3103></DIV
3104></DIV
3105><HR><DIV
3106CLASS="REFSECT2"
3107><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003108NAME="AEN4811"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003109></A
3110><H3
3111><A
3112NAME="CHARACTERS"
3113></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003114>characters ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003115><TABLE
3116BORDER="0"
3117BGCOLOR="#D6E8FF"
3118WIDTH="100%"
3119CELLPADDING="6"
3120><TR
3121><TD
3122><PRE
3123CLASS="PROGRAMLISTING"
3124>void characters (void *ctx,
3125 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003126HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003127>xmlChar</A
3128> *ch,
3129 int len);</PRE
3130></TD
3131></TR
3132></TABLE
3133><P
Daniel Veillard04382ae2001-09-12 18:51:30 +00003134>receiving some chars from the parser.</P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003135><P
3136></P
3137><DIV
3138CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003139><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003140NAME="AEN4818"
3141></A
3142><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003143></P
3144><TABLE
3145BORDER="0"
3146WIDTH="100%"
3147BGCOLOR="#FFD0D0"
3148CELLSPACING="0"
3149CELLPADDING="4"
3150CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003151><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003152><TR
3153><TD
3154WIDTH="20%"
3155ALIGN="RIGHT"
3156VALIGN="TOP"
3157><TT
3158CLASS="PARAMETER"
3159><I
3160>ctx</I
3161></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003162>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003163><TD
3164WIDTH="80%"
3165ALIGN="LEFT"
3166VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003167> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003168></TR
3169><TR
3170><TD
3171WIDTH="20%"
3172ALIGN="RIGHT"
3173VALIGN="TOP"
3174><TT
3175CLASS="PARAMETER"
3176><I
3177>ch</I
3178></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003179>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003180><TD
3181WIDTH="80%"
3182ALIGN="LEFT"
3183VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003184> a xmlChar string</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003185></TR
3186><TR
3187><TD
3188WIDTH="20%"
3189ALIGN="RIGHT"
3190VALIGN="TOP"
3191><TT
3192CLASS="PARAMETER"
3193><I
3194>len</I
3195></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003196>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003197><TD
3198WIDTH="80%"
3199ALIGN="LEFT"
3200VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003201> the number of xmlChar</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003202></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003203></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003204></TABLE
3205><P
3206></P
3207></DIV
3208></DIV
3209><HR><DIV
3210CLASS="REFSECT2"
3211><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003212NAME="AEN4835"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003213></A
3214><H3
3215><A
3216NAME="IGNORABLEWHITESPACE"
3217></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003218>ignorableWhitespace ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003219><TABLE
3220BORDER="0"
3221BGCOLOR="#D6E8FF"
3222WIDTH="100%"
3223CELLPADDING="6"
3224><TR
3225><TD
3226><PRE
3227CLASS="PROGRAMLISTING"
3228>void ignorableWhitespace (void *ctx,
3229 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003230HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003231>xmlChar</A
3232> *ch,
3233 int len);</PRE
3234></TD
3235></TR
3236></TABLE
3237><P
3238>receiving some ignorable whitespaces from the parser.
Daniel Veillard04382ae2001-09-12 18:51:30 +00003239UNUSED: by default the DOM building will use characters</P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003240><P
3241></P
3242><DIV
3243CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003244><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003245NAME="AEN4842"
3246></A
3247><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003248></P
3249><TABLE
3250BORDER="0"
3251WIDTH="100%"
3252BGCOLOR="#FFD0D0"
3253CELLSPACING="0"
3254CELLPADDING="4"
3255CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003256><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003257><TR
3258><TD
3259WIDTH="20%"
3260ALIGN="RIGHT"
3261VALIGN="TOP"
3262><TT
3263CLASS="PARAMETER"
3264><I
3265>ctx</I
3266></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003267>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003268><TD
3269WIDTH="80%"
3270ALIGN="LEFT"
3271VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003272> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003273></TR
3274><TR
3275><TD
3276WIDTH="20%"
3277ALIGN="RIGHT"
3278VALIGN="TOP"
3279><TT
3280CLASS="PARAMETER"
3281><I
3282>ch</I
3283></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003284>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003285><TD
3286WIDTH="80%"
3287ALIGN="LEFT"
3288VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003289> a xmlChar string</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003290></TR
3291><TR
3292><TD
3293WIDTH="20%"
3294ALIGN="RIGHT"
3295VALIGN="TOP"
3296><TT
3297CLASS="PARAMETER"
3298><I
3299>len</I
3300></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003301>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003302><TD
3303WIDTH="80%"
3304ALIGN="LEFT"
3305VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003306> the number of xmlChar</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003307></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003308></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003309></TABLE
3310><P
3311></P
3312></DIV
3313></DIV
3314><HR><DIV
3315CLASS="REFSECT2"
3316><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003317NAME="AEN4859"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003318></A
3319><H3
3320><A
3321NAME="PROCESSINGINSTRUCTION"
3322></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003323>processingInstruction ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003324><TABLE
3325BORDER="0"
3326BGCOLOR="#D6E8FF"
3327WIDTH="100%"
3328CELLPADDING="6"
3329><TR
3330><TD
3331><PRE
3332CLASS="PROGRAMLISTING"
3333>void processingInstruction (void *ctx,
3334 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003335HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003336>xmlChar</A
3337> *target,
3338 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003339HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003340>xmlChar</A
3341> *data);</PRE
3342></TD
3343></TR
3344></TABLE
3345><P
3346>A processing instruction has been parsed.</P
3347><P
3348></P
3349><DIV
3350CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003351><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003352NAME="AEN4867"
3353></A
3354><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003355></P
3356><TABLE
3357BORDER="0"
3358WIDTH="100%"
3359BGCOLOR="#FFD0D0"
3360CELLSPACING="0"
3361CELLPADDING="4"
3362CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003363><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003364><TR
3365><TD
3366WIDTH="20%"
3367ALIGN="RIGHT"
3368VALIGN="TOP"
3369><TT
3370CLASS="PARAMETER"
3371><I
3372>ctx</I
3373></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003374>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003375><TD
3376WIDTH="80%"
3377ALIGN="LEFT"
3378VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003379> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003380></TR
3381><TR
3382><TD
3383WIDTH="20%"
3384ALIGN="RIGHT"
3385VALIGN="TOP"
3386><TT
3387CLASS="PARAMETER"
3388><I
3389>target</I
3390></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003391>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003392><TD
3393WIDTH="80%"
3394ALIGN="LEFT"
3395VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003396> the target name</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003397></TR
3398><TR
3399><TD
3400WIDTH="20%"
3401ALIGN="RIGHT"
3402VALIGN="TOP"
3403><TT
3404CLASS="PARAMETER"
3405><I
3406>data</I
3407></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003408>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003409><TD
3410WIDTH="80%"
3411ALIGN="LEFT"
3412VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003413> the PI data's</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003414></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003415></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003416></TABLE
3417><P
3418></P
3419></DIV
3420></DIV
3421><HR><DIV
3422CLASS="REFSECT2"
3423><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003424NAME="AEN4884"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003425></A
3426><H3
3427><A
3428NAME="GLOBALNAMESPACE"
3429></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003430>globalNamespace ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003431><TABLE
3432BORDER="0"
3433BGCOLOR="#D6E8FF"
3434WIDTH="100%"
3435CELLPADDING="6"
3436><TR
3437><TD
3438><PRE
3439CLASS="PROGRAMLISTING"
3440>void globalNamespace (void *ctx,
3441 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003442HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003443>xmlChar</A
3444> *href,
3445 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003446HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003447>xmlChar</A
3448> *prefix);</PRE
3449></TD
3450></TR
3451></TABLE
3452><P
3453>An old global namespace has been parsed.</P
3454><P
3455></P
3456><DIV
3457CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003458><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003459NAME="AEN4892"
3460></A
3461><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003462></P
3463><TABLE
3464BORDER="0"
3465WIDTH="100%"
3466BGCOLOR="#FFD0D0"
3467CELLSPACING="0"
3468CELLPADDING="4"
3469CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003470><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003471><TR
3472><TD
3473WIDTH="20%"
3474ALIGN="RIGHT"
3475VALIGN="TOP"
3476><TT
3477CLASS="PARAMETER"
3478><I
3479>ctx</I
3480></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003481>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003482><TD
3483WIDTH="80%"
3484ALIGN="LEFT"
3485VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003486> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003487></TR
3488><TR
3489><TD
3490WIDTH="20%"
3491ALIGN="RIGHT"
3492VALIGN="TOP"
3493><TT
3494CLASS="PARAMETER"
3495><I
3496>href</I
3497></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003498>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003499><TD
3500WIDTH="80%"
3501ALIGN="LEFT"
3502VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003503> the namespace associated URN</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003504></TR
3505><TR
3506><TD
3507WIDTH="20%"
3508ALIGN="RIGHT"
3509VALIGN="TOP"
3510><TT
3511CLASS="PARAMETER"
3512><I
3513>prefix</I
3514></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003515>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003516><TD
3517WIDTH="80%"
3518ALIGN="LEFT"
3519VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003520> the namespace prefix</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003521></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003522></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003523></TABLE
3524><P
3525></P
3526></DIV
3527></DIV
3528><HR><DIV
3529CLASS="REFSECT2"
3530><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003531NAME="AEN4909"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003532></A
3533><H3
3534><A
3535NAME="SETNAMESPACE"
3536></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003537>setNamespace ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003538><TABLE
3539BORDER="0"
3540BGCOLOR="#D6E8FF"
3541WIDTH="100%"
3542CELLPADDING="6"
3543><TR
3544><TD
3545><PRE
3546CLASS="PROGRAMLISTING"
3547>void setNamespace (void *ctx,
3548 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003549HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003550>xmlChar</A
3551> *name);</PRE
3552></TD
3553></TR
3554></TABLE
3555><P
3556>Set the current element namespace.</P
3557><P
3558></P
3559><DIV
3560CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003561><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003562NAME="AEN4916"
3563></A
3564><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003565></P
3566><TABLE
3567BORDER="0"
3568WIDTH="100%"
3569BGCOLOR="#FFD0D0"
3570CELLSPACING="0"
3571CELLPADDING="4"
3572CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003573><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003574><TR
3575><TD
3576WIDTH="20%"
3577ALIGN="RIGHT"
3578VALIGN="TOP"
3579><TT
3580CLASS="PARAMETER"
3581><I
3582>ctx</I
3583></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003584>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003585><TD
3586WIDTH="80%"
3587ALIGN="LEFT"
3588VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003589> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003590></TR
3591><TR
3592><TD
3593WIDTH="20%"
3594ALIGN="RIGHT"
3595VALIGN="TOP"
3596><TT
3597CLASS="PARAMETER"
3598><I
3599>name</I
3600></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003601>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003602><TD
3603WIDTH="80%"
3604ALIGN="LEFT"
3605VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003606> the namespace prefix</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003607></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003608></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003609></TABLE
3610><P
3611></P
3612></DIV
3613></DIV
3614><HR><DIV
3615CLASS="REFSECT2"
3616><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003617NAME="AEN4929"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003618></A
3619><H3
3620><A
3621NAME="GETNAMESPACE"
3622></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003623>getNamespace ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003624><TABLE
3625BORDER="0"
3626BGCOLOR="#D6E8FF"
3627WIDTH="100%"
3628CELLPADDING="6"
3629><TR
3630><TD
3631><PRE
3632CLASS="PROGRAMLISTING"
3633><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003634HREF="libxml-tree.html#XMLNSPTR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003635>xmlNsPtr</A
3636> getNamespace (void *ctx);</PRE
3637></TD
3638></TR
3639></TABLE
3640><P
3641>Get the current element namespace.</P
3642><P
3643></P
3644><DIV
3645CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003646><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003647NAME="AEN4936"
3648></A
3649><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003650></P
3651><TABLE
3652BORDER="0"
3653WIDTH="100%"
3654BGCOLOR="#FFD0D0"
3655CELLSPACING="0"
3656CELLPADDING="4"
3657CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003658><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003659><TR
3660><TD
3661WIDTH="20%"
3662ALIGN="RIGHT"
3663VALIGN="TOP"
3664><TT
3665CLASS="PARAMETER"
3666><I
3667>ctx</I
3668></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003669>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003670><TD
3671WIDTH="80%"
3672ALIGN="LEFT"
3673VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003674> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003675></TR
3676><TR
3677><TD
3678WIDTH="20%"
3679ALIGN="RIGHT"
3680VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003681><SPAN
3682CLASS="emphasis"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003683><I
3684CLASS="EMPHASIS"
3685>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003686></SPAN
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003687> :</TD
3688><TD
3689WIDTH="80%"
3690ALIGN="LEFT"
3691VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003692>the xmlNsPtr or NULL if none</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003693></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003694></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003695></TABLE
3696><P
3697></P
3698></DIV
3699></DIV
3700><HR><DIV
3701CLASS="REFSECT2"
3702><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003703NAME="AEN4949"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003704></A
3705><H3
3706><A
3707NAME="CHECKNAMESPACE"
3708></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003709>checkNamespace ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003710><TABLE
3711BORDER="0"
3712BGCOLOR="#D6E8FF"
3713WIDTH="100%"
3714CELLPADDING="6"
3715><TR
3716><TD
3717><PRE
3718CLASS="PROGRAMLISTING"
3719>int checkNamespace (void *ctx,
3720 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003721HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003722>xmlChar</A
3723> *nameSpace);</PRE
3724></TD
3725></TR
3726></TABLE
3727><P
3728>Check that the current element namespace is the same as the
3729one read upon parsing.</P
3730><P
3731></P
3732><DIV
3733CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003734><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003735NAME="AEN4956"
3736></A
3737><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003738></P
3739><TABLE
3740BORDER="0"
3741WIDTH="100%"
3742BGCOLOR="#FFD0D0"
3743CELLSPACING="0"
3744CELLPADDING="4"
3745CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003746><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003747><TR
3748><TD
3749WIDTH="20%"
3750ALIGN="RIGHT"
3751VALIGN="TOP"
3752><TT
3753CLASS="PARAMETER"
3754><I
3755>ctx</I
3756></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003757>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003758><TD
3759WIDTH="80%"
3760ALIGN="LEFT"
3761VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003762> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003763></TR
3764><TR
3765><TD
3766WIDTH="20%"
3767ALIGN="RIGHT"
3768VALIGN="TOP"
3769><TT
3770CLASS="PARAMETER"
3771><I
3772>nameSpace</I
3773></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003774>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003775><TD
3776WIDTH="80%"
3777ALIGN="LEFT"
3778VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003779> the namespace to check against</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003780></TR
3781><TR
3782><TD
3783WIDTH="20%"
3784ALIGN="RIGHT"
3785VALIGN="TOP"
Daniel Veillard539638b2002-07-06 19:55:14 +00003786><SPAN
3787CLASS="emphasis"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003788><I
3789CLASS="EMPHASIS"
3790>Returns</I
Daniel Veillard539638b2002-07-06 19:55:14 +00003791></SPAN
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003792> :</TD
3793><TD
3794WIDTH="80%"
3795ALIGN="LEFT"
3796VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003797>1 if true 0 otherwise</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003798></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003799></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003800></TABLE
3801><P
3802></P
3803></DIV
3804></DIV
3805><HR><DIV
3806CLASS="REFSECT2"
3807><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003808NAME="AEN4973"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003809></A
3810><H3
3811><A
3812NAME="NAMESPACEDECL"
3813></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003814>namespaceDecl ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003815><TABLE
3816BORDER="0"
3817BGCOLOR="#D6E8FF"
3818WIDTH="100%"
3819CELLPADDING="6"
3820><TR
3821><TD
3822><PRE
3823CLASS="PROGRAMLISTING"
3824>void namespaceDecl (void *ctx,
3825 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003826HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003827>xmlChar</A
3828> *href,
3829 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003830HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003831>xmlChar</A
3832> *prefix);</PRE
3833></TD
3834></TR
3835></TABLE
3836><P
3837>A namespace has been parsed.</P
3838><P
3839></P
3840><DIV
3841CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003842><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003843NAME="AEN4981"
3844></A
3845><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003846></P
3847><TABLE
3848BORDER="0"
3849WIDTH="100%"
3850BGCOLOR="#FFD0D0"
3851CELLSPACING="0"
3852CELLPADDING="4"
3853CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003854><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003855><TR
3856><TD
3857WIDTH="20%"
3858ALIGN="RIGHT"
3859VALIGN="TOP"
3860><TT
3861CLASS="PARAMETER"
3862><I
3863>ctx</I
3864></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003865>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003866><TD
3867WIDTH="80%"
3868ALIGN="LEFT"
3869VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003870> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003871></TR
3872><TR
3873><TD
3874WIDTH="20%"
3875ALIGN="RIGHT"
3876VALIGN="TOP"
3877><TT
3878CLASS="PARAMETER"
3879><I
3880>href</I
3881></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003882>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003883><TD
3884WIDTH="80%"
3885ALIGN="LEFT"
3886VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003887> the namespace associated URN</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003888></TR
3889><TR
3890><TD
3891WIDTH="20%"
3892ALIGN="RIGHT"
3893VALIGN="TOP"
3894><TT
3895CLASS="PARAMETER"
3896><I
3897>prefix</I
3898></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003899>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003900><TD
3901WIDTH="80%"
3902ALIGN="LEFT"
3903VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003904> the namespace prefix</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003905></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003906></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003907></TABLE
3908><P
3909></P
3910></DIV
3911></DIV
3912><HR><DIV
3913CLASS="REFSECT2"
3914><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003915NAME="AEN4998"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003916></A
3917><H3
3918><A
3919NAME="COMMENT"
3920></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003921>comment ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003922><TABLE
3923BORDER="0"
3924BGCOLOR="#D6E8FF"
3925WIDTH="100%"
3926CELLPADDING="6"
3927><TR
3928><TD
3929><PRE
3930CLASS="PROGRAMLISTING"
3931>void comment (void *ctx,
3932 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003933HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003934>xmlChar</A
3935> *value);</PRE
3936></TD
3937></TR
3938></TABLE
3939><P
3940>A comment has been parsed.</P
3941><P
3942></P
3943><DIV
3944CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003945><A
Daniel Veillardaec63562003-03-23 20:42:17 +00003946NAME="AEN5005"
3947></A
3948><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003949></P
3950><TABLE
3951BORDER="0"
3952WIDTH="100%"
3953BGCOLOR="#FFD0D0"
3954CELLSPACING="0"
3955CELLPADDING="4"
3956CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003957><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003958><TR
3959><TD
3960WIDTH="20%"
3961ALIGN="RIGHT"
3962VALIGN="TOP"
3963><TT
3964CLASS="PARAMETER"
3965><I
3966>ctx</I
3967></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003968>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003969><TD
3970WIDTH="80%"
3971ALIGN="LEFT"
3972VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003973> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003974></TR
3975><TR
3976><TD
3977WIDTH="20%"
3978ALIGN="RIGHT"
3979VALIGN="TOP"
3980><TT
3981CLASS="PARAMETER"
3982><I
3983>value</I
3984></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003985>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003986><TD
3987WIDTH="80%"
3988ALIGN="LEFT"
3989VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003990> the comment content</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003991></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003992></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00003993></TABLE
3994><P
3995></P
3996></DIV
3997></DIV
3998><HR><DIV
3999CLASS="REFSECT2"
4000><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004001NAME="AEN5018"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004002></A
4003><H3
4004><A
4005NAME="CDATABLOCK"
4006></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004007>cdataBlock ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004008><TABLE
4009BORDER="0"
4010BGCOLOR="#D6E8FF"
4011WIDTH="100%"
4012CELLPADDING="6"
4013><TR
4014><TD
4015><PRE
4016CLASS="PROGRAMLISTING"
4017>void cdataBlock (void *ctx,
4018 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004019HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004020>xmlChar</A
4021> *value,
4022 int len);</PRE
4023></TD
4024></TR
4025></TABLE
4026><P
4027>called when a pcdata block has been parsed</P
4028><P
4029></P
4030><DIV
4031CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004032><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004033NAME="AEN5025"
4034></A
4035><P
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004036></P
4037><TABLE
4038BORDER="0"
4039WIDTH="100%"
4040BGCOLOR="#FFD0D0"
4041CELLSPACING="0"
4042CELLPADDING="4"
4043CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004044><TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004045><TR
4046><TD
4047WIDTH="20%"
4048ALIGN="RIGHT"
4049VALIGN="TOP"
4050><TT
4051CLASS="PARAMETER"
4052><I
4053>ctx</I
4054></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004055>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004056><TD
4057WIDTH="80%"
4058ALIGN="LEFT"
4059VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004060> the user data (XML parser context)</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004061></TR
4062><TR
4063><TD
4064WIDTH="20%"
4065ALIGN="RIGHT"
4066VALIGN="TOP"
4067><TT
4068CLASS="PARAMETER"
4069><I
4070>value</I
4071></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004072>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004073><TD
4074WIDTH="80%"
4075ALIGN="LEFT"
4076VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004077> The pcdata content</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004078></TR
4079><TR
4080><TD
4081WIDTH="20%"
4082ALIGN="RIGHT"
4083VALIGN="TOP"
4084><TT
4085CLASS="PARAMETER"
4086><I
4087>len</I
4088></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004089>&nbsp;:</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004090><TD
4091WIDTH="80%"
4092ALIGN="LEFT"
4093VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004094> the block length</TD
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004095></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004096></TBODY
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004097></TABLE
4098><P
4099></P
4100></DIV
4101></DIV
4102><HR><DIV
4103CLASS="REFSECT2"
4104><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004105NAME="AEN5042"
Daniel Veillard52dcab32001-10-30 12:51:17 +00004106></A
4107><H3
4108><A
4109NAME="INITXMLDEFAULTSAXHANDLER"
4110></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004111>initxmlDefaultSAXHandler ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00004112><TABLE
4113BORDER="0"
4114BGCOLOR="#D6E8FF"
4115WIDTH="100%"
4116CELLPADDING="6"
4117><TR
4118><TD
4119><PRE
4120CLASS="PROGRAMLISTING"
4121>void initxmlDefaultSAXHandler (<A
4122HREF="libxml-parser.html#XMLSAXHANDLER"
4123>xmlSAXHandler</A
4124> *hdlr,
4125 int warning);</PRE
4126></TD
4127></TR
4128></TABLE
4129><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004130>Initialize the default XML SAX handler</P
4131><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00004132></P
4133><DIV
4134CLASS="INFORMALTABLE"
4135><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004136NAME="AEN5049"
4137></A
4138><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00004139></P
4140><TABLE
4141BORDER="0"
4142WIDTH="100%"
4143BGCOLOR="#FFD0D0"
4144CELLSPACING="0"
4145CELLPADDING="4"
4146CLASS="CALSTABLE"
4147><TBODY
4148><TR
4149><TD
4150WIDTH="20%"
4151ALIGN="RIGHT"
4152VALIGN="TOP"
4153><TT
4154CLASS="PARAMETER"
4155><I
4156>hdlr</I
4157></TT
4158>&nbsp;:</TD
4159><TD
4160WIDTH="80%"
4161ALIGN="LEFT"
4162VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004163> the SAX handler</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00004164></TR
4165><TR
4166><TD
4167WIDTH="20%"
4168ALIGN="RIGHT"
4169VALIGN="TOP"
4170><TT
4171CLASS="PARAMETER"
4172><I
4173>warning</I
4174></TT
4175>&nbsp;:</TD
4176><TD
4177WIDTH="80%"
4178ALIGN="LEFT"
4179VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004180> flag if non-zero sets the handler warning procedure</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00004181></TR
4182></TBODY
4183></TABLE
4184><P
4185></P
4186></DIV
4187></DIV
4188><HR><DIV
4189CLASS="REFSECT2"
4190><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004191NAME="AEN5062"
Daniel Veillard52dcab32001-10-30 12:51:17 +00004192></A
4193><H3
4194><A
4195NAME="INITHTMLDEFAULTSAXHANDLER"
4196></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004197>inithtmlDefaultSAXHandler ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00004198><TABLE
4199BORDER="0"
4200BGCOLOR="#D6E8FF"
4201WIDTH="100%"
4202CELLPADDING="6"
4203><TR
4204><TD
4205><PRE
4206CLASS="PROGRAMLISTING"
4207>void inithtmlDefaultSAXHandler (<A
4208HREF="libxml-parser.html#XMLSAXHANDLER"
4209>xmlSAXHandler</A
4210> *hdlr);</PRE
4211></TD
4212></TR
4213></TABLE
4214><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004215>Initialize the default HTML SAX handler</P
4216><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00004217></P
4218><DIV
4219CLASS="INFORMALTABLE"
4220><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004221NAME="AEN5069"
4222></A
4223><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00004224></P
4225><TABLE
4226BORDER="0"
4227WIDTH="100%"
4228BGCOLOR="#FFD0D0"
4229CELLSPACING="0"
4230CELLPADDING="4"
4231CLASS="CALSTABLE"
4232><TBODY
4233><TR
4234><TD
4235WIDTH="20%"
4236ALIGN="RIGHT"
4237VALIGN="TOP"
4238><TT
4239CLASS="PARAMETER"
4240><I
4241>hdlr</I
4242></TT
4243>&nbsp;:</TD
4244><TD
4245WIDTH="80%"
4246ALIGN="LEFT"
4247VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004248> the SAX handler</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00004249></TR
4250></TBODY
4251></TABLE
4252><P
4253></P
4254></DIV
4255></DIV
4256><HR><DIV
4257CLASS="REFSECT2"
4258><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004259NAME="AEN5078"
Daniel Veillard52dcab32001-10-30 12:51:17 +00004260></A
4261><H3
4262><A
4263NAME="INITDOCBDEFAULTSAXHANDLER"
4264></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004265>initdocbDefaultSAXHandler ()</H3
Daniel Veillard52dcab32001-10-30 12:51:17 +00004266><TABLE
4267BORDER="0"
4268BGCOLOR="#D6E8FF"
4269WIDTH="100%"
4270CELLPADDING="6"
4271><TR
4272><TD
4273><PRE
4274CLASS="PROGRAMLISTING"
4275>void initdocbDefaultSAXHandler (<A
4276HREF="libxml-parser.html#XMLSAXHANDLER"
4277>xmlSAXHandler</A
4278> *hdlr);</PRE
4279></TD
4280></TR
4281></TABLE
4282><P
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004283>Initialize the default DocBook SAX handler</P
4284><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00004285></P
4286><DIV
4287CLASS="INFORMALTABLE"
4288><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004289NAME="AEN5085"
4290></A
4291><P
Daniel Veillard52dcab32001-10-30 12:51:17 +00004292></P
4293><TABLE
4294BORDER="0"
4295WIDTH="100%"
4296BGCOLOR="#FFD0D0"
4297CELLSPACING="0"
4298CELLPADDING="4"
4299CLASS="CALSTABLE"
4300><TBODY
4301><TR
4302><TD
4303WIDTH="20%"
4304ALIGN="RIGHT"
4305VALIGN="TOP"
4306><TT
4307CLASS="PARAMETER"
4308><I
4309>hdlr</I
4310></TT
4311>&nbsp;:</TD
4312><TD
4313WIDTH="80%"
4314ALIGN="LEFT"
4315VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00004316> the SAX handler</TD
Daniel Veillard52dcab32001-10-30 12:51:17 +00004317></TR
4318></TBODY
4319></TABLE
4320><P
4321></P
4322></DIV
4323></DIV
4324><HR><DIV
4325CLASS="REFSECT2"
4326><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004327NAME="AEN5094"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004328></A
4329><H3
4330><A
4331NAME="XMLDEFAULTSAXHANDLERINIT"
4332></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004333>xmlDefaultSAXHandlerInit ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004334><TABLE
4335BORDER="0"
4336BGCOLOR="#D6E8FF"
4337WIDTH="100%"
4338CELLPADDING="6"
4339><TR
4340><TD
4341><PRE
4342CLASS="PROGRAMLISTING"
4343>void xmlDefaultSAXHandlerInit (void);</PRE
4344></TD
4345></TR
4346></TABLE
4347><P
4348>Initialize the default SAX handler</P
4349><P
4350></P
4351></DIV
4352><HR><DIV
4353CLASS="REFSECT2"
4354><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004355NAME="AEN5100"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004356></A
4357><H3
4358><A
4359NAME="HTMLDEFAULTSAXHANDLERINIT"
4360></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004361>htmlDefaultSAXHandlerInit ()</H3
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004362><TABLE
4363BORDER="0"
4364BGCOLOR="#D6E8FF"
4365WIDTH="100%"
4366CELLPADDING="6"
4367><TR
4368><TD
4369><PRE
4370CLASS="PROGRAMLISTING"
4371>void htmlDefaultSAXHandlerInit (void);</PRE
4372></TD
4373></TR
4374></TABLE
4375><P
4376>Initialize the default SAX handler</P
4377><P
4378></P
4379></DIV
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004380><HR><DIV
4381CLASS="REFSECT2"
4382><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004383NAME="AEN5106"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004384></A
4385><H3
4386><A
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004387NAME="DOCBDEFAULTSAXHANDLERINIT"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004388></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004389>docbDefaultSAXHandlerInit ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004390><TABLE
4391BORDER="0"
4392BGCOLOR="#D6E8FF"
4393WIDTH="100%"
4394CELLPADDING="6"
4395><TR
4396><TD
4397><PRE
4398CLASS="PROGRAMLISTING"
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004399>void docbDefaultSAXHandlerInit (void);</PRE
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004400></TD
4401></TR
4402></TABLE
4403><P
4404>Initialize the default SAX handler</P
4405><P
4406></P
4407></DIV
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004408></DIV
4409><DIV
4410CLASS="NAVFOOTER"
4411><BR
4412CLEAR="all"><BR><TABLE
4413WIDTH="100%"
4414BORDER="0"
4415BGCOLOR="#000000"
4416CELLPADDING="1"
4417CELLSPACING="0"
4418><TR
4419><TD
4420WIDTH="25%"
4421BGCOLOR="#C00000"
4422ALIGN="left"
4423><A
Daniel Veillardaec63562003-03-23 20:42:17 +00004424HREF="libxml-xmlreader.html"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004425><FONT
4426COLOR="#FFFFFF"
4427SIZE="3"
4428><B
4429>&#60;&#60;&#60; Previous Page</B
4430></FONT
4431></A
4432></TD
4433><TD
4434WIDTH="25%"
4435BGCOLOR="#0000C0"
4436ALIGN="center"
4437><FONT
4438COLOR="#FFFFFF"
4439SIZE="3"
4440><B
4441><A
4442HREF="book1.html"
4443><FONT
4444COLOR="#FFFFFF"
4445SIZE="3"
4446><B
4447>Home</B
4448></FONT
4449></A
4450></B
4451></FONT
4452></TD
4453><TD
4454WIDTH="25%"
4455BGCOLOR="#00C000"
4456ALIGN="center"
4457><FONT
4458COLOR="#FFFFFF"
4459SIZE="3"
4460><B
4461><A
4462HREF="libxml-lib.html"
4463><FONT
4464COLOR="#FFFFFF"
4465SIZE="3"
4466><B
4467>Up</B
4468></FONT
4469></A
4470></B
4471></FONT
4472></TD
4473><TD
4474WIDTH="25%"
4475BGCOLOR="#C00000"
4476ALIGN="right"
4477><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004478HREF="libxml-tree.html"
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004479><FONT
4480COLOR="#FFFFFF"
4481SIZE="3"
4482><B
4483>Next Page &#62;&#62;&#62;</B
4484></FONT
4485></A
4486></TD
4487></TR
4488><TR
4489><TD
4490COLSPAN="2"
4491ALIGN="left"
4492><FONT
4493COLOR="#FFFFFF"
4494SIZE="3"
4495><B
Daniel Veillardaec63562003-03-23 20:42:17 +00004496>xmlreader</B
Daniel Veillard4f2915a2000-01-25 19:27:27 +00004497></FONT
4498></TD
4499><TD
4500COLSPAN="2"
4501ALIGN="right"
4502><FONT
4503COLOR="#FFFFFF"
4504SIZE="3"
4505><B
4506>tree</B
4507></FONT
4508></TD
4509></TR
4510></TABLE
4511></DIV
4512></BODY
4513></HTML
4514>