blob: d97bc025558a0753c82f0db2f8d5d5e3f46780dc [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>parserInternals</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard503b8932001-01-05 06:36:31 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +00008REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
Daniel Veillard35008381999-10-25 13:15:52 +000012TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000014REL="PREVIOUS"
Daniel Veillard7d6fd212001-05-10 15:34:11 +000015TITLE="DOCBparser"
16HREF="libxml-docbparser.html"><LINK
Daniel Veillard1566d3a1999-07-15 14:24:29 +000017REL="NEXT"
Daniel Veillard294cbca1999-12-03 13:19:09 +000018TITLE="encoding"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000019HREF="libxml-encoding.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000020><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000023LINK="#0000FF"
24VLINK="#840084"
25ALINK="#0000FF"
Daniel Veillard35925471999-02-25 08:46:07 +000026><DIV
27CLASS="NAVHEADER"
28><TABLE
29WIDTH="100%"
30BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000031BGCOLOR="#000000"
32CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000033CELLSPACING="0"
34><TR
35><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000036COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000037ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000038><FONT
39COLOR="#FFFFFF"
40SIZE="5"
41>Gnome XML Library Reference Manual</FONT
42></TH
Daniel Veillard35925471999-02-25 08:46:07 +000043></TR
44><TR
45><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000046WIDTH="25%"
47BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000048ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000049><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +000050HREF="libxml-docbparser.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000051><FONT
52COLOR="#FFFFFF"
53SIZE="3"
54><B
55>&#60;&#60;&#60; Previous Page</B
56></FONT
57></A
Daniel Veillard35925471999-02-25 08:46:07 +000058></TD
59><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000060WIDTH="25%"
61BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000062ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000063><FONT
64COLOR="#FFFFFF"
65SIZE="3"
66><B
67><A
68HREF="book1.html"
69><FONT
70COLOR="#FFFFFF"
71SIZE="3"
72><B
73>Home</B
74></FONT
75></A
76></B
77></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000078></TD
79><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000080WIDTH="25%"
81BGCOLOR="#00C000"
82ALIGN="center"
83><FONT
84COLOR="#FFFFFF"
85SIZE="3"
86><B
87><A
Daniel Veillard35008381999-10-25 13:15:52 +000088HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000089><FONT
90COLOR="#FFFFFF"
91SIZE="3"
92><B
93>Up</B
94></FONT
95></A
96></B
97></FONT
98></TD
99><TD
100WIDTH="25%"
101BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +0000102ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000103><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000104HREF="libxml-encoding.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000105><FONT
106COLOR="#FFFFFF"
107SIZE="3"
108><B
109>Next Page &#62;&#62;&#62;</B
110></FONT
111></A
112></TD
Daniel Veillard35925471999-02-25 08:46:07 +0000113></TR
114></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000115></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000116><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000117><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000118NAME="LIBXML-PARSERINTERNALS"
Daniel Veillard503b8932001-01-05 06:36:31 +0000119>parserInternals</A
120></H1
Daniel Veillard35925471999-02-25 08:46:07 +0000121><DIV
122CLASS="REFNAMEDIV"
123><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000124NAME="AEN17232"
Daniel Veillard35925471999-02-25 08:46:07 +0000125></A
126><H2
127>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000128>parserInternals&nbsp;--&nbsp;</DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000129><DIV
130CLASS="REFSYNOPSISDIV"
131><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +0000132NAME="AEN17235"
Daniel Veillard35925471999-02-25 08:46:07 +0000133></A
134><H2
135>Synopsis</H2
136><TABLE
137BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000138BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000139WIDTH="100%"
140CELLPADDING="6"
141><TR
142><TD
143><PRE
144CLASS="SYNOPSIS"
145>&#13;
146
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000147#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000148HREF="libxml-parserinternals.html#XML-MAX-NAMELEN-CAPS"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000149>XML_MAX_NAMELEN</A
150>
Daniel Veillard5099ae81999-04-21 20:12:07 +0000151#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000152HREF="libxml-parserinternals.html#INPUT-CHUNK-CAPS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000153>INPUT_CHUNK</A
154>
155#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000156HREF="libxml-parserinternals.html#IS-CHAR-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000157>IS_CHAR</A
158> (c)
159#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000160HREF="libxml-parserinternals.html#IS-BLANK-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000161>IS_BLANK</A
162> (c)
163#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000164HREF="libxml-parserinternals.html#IS-BASECHAR-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000165>IS_BASECHAR</A
166> (c)
167#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000168HREF="libxml-parserinternals.html#IS-DIGIT-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000169>IS_DIGIT</A
170> (c)
171#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000172HREF="libxml-parserinternals.html#IS-COMBINING-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000173>IS_COMBINING</A
174> (c)
175#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000176HREF="libxml-parserinternals.html#IS-EXTENDER-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000177>IS_EXTENDER</A
178> (c)
179#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000180HREF="libxml-parserinternals.html#IS-IDEOGRAPHIC-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000181>IS_IDEOGRAPHIC</A
182> (c)
183#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000184HREF="libxml-parserinternals.html#IS-LETTER-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000185>IS_LETTER</A
186> (c)
187#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000188HREF="libxml-parserinternals.html#IS-PUBIDCHAR-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000189>IS_PUBIDCHAR</A
190> (c)
191#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000192HREF="libxml-parserinternals.html#SKIP-EOL-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000193>SKIP_EOL</A
194> (p)
195#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000196HREF="libxml-parserinternals.html#MOVETO-ENDTAG-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000197>MOVETO_ENDTAG</A
198> (p)
199#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000200HREF="libxml-parserinternals.html#MOVETO-STARTTAG-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000201>MOVETO_STARTTAG</A
202> (p)
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000203int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000204HREF="libxml-parserinternals.html#XMLISBASECHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000205>xmlIsBaseChar</A
206> (int c);
207int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000208HREF="libxml-parserinternals.html#XMLISBLANK"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000209>xmlIsBlank</A
210> (int c);
211int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000212HREF="libxml-parserinternals.html#XMLISPUBIDCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000213>xmlIsPubidChar</A
214> (int c);
215int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000216HREF="libxml-parserinternals.html#XMLISLETTER"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000217>xmlIsLetter</A
218> (int c);
219int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000220HREF="libxml-parserinternals.html#XMLISDIGIT"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000221>xmlIsDigit</A
222> (int c);
223int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000224HREF="libxml-parserinternals.html#XMLISIDEOGRAPHIC"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000225>xmlIsIdeographic</A
226> (int c);
227int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000228HREF="libxml-parserinternals.html#XMLISCOMBINING"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000229>xmlIsCombining</A
230> (int c);
231int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000232HREF="libxml-parserinternals.html#XMLISEXTENDER"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000233>xmlIsExtender</A
234> (int c);
235int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000236HREF="libxml-parserinternals.html#XMLISCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000237>xmlIsChar</A
238> (int c);
Daniel Veillardd692aa41999-02-28 21:54:31 +0000239<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000240HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardd692aa41999-02-28 21:54:31 +0000241>xmlParserCtxtPtr</A
242> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000243HREF="libxml-parser.html#XMLCREATEDOCPARSERCTXT"
Daniel Veillardd692aa41999-02-28 21:54:31 +0000244>xmlCreateDocParserCtxt</A
245> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000246HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000247>xmlChar</A
Daniel Veillardd692aa41999-02-28 21:54:31 +0000248> *cur);
249<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000250HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardd692aa41999-02-28 21:54:31 +0000251>xmlParserCtxtPtr</A
252> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000253HREF="libxml-parserinternals.html#XMLCREATEFILEPARSERCTXT"
Daniel Veillardd692aa41999-02-28 21:54:31 +0000254>xmlCreateFileParserCtxt</A
255> (const char *filename);
256<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000257HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardd692aa41999-02-28 21:54:31 +0000258>xmlParserCtxtPtr</A
259> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000260HREF="libxml-parserinternals.html#XMLCREATEMEMORYPARSERCTXT"
Daniel Veillardd692aa41999-02-28 21:54:31 +0000261>xmlCreateMemoryParserCtxt</A
262> (char *buffer,
263 int size);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000264<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000265HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000266>xmlParserCtxtPtr</A
267> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000268HREF="libxml-parserinternals.html#XMLNEWPARSERCTXT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000269>xmlNewParserCtxt</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000270> (void);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000271<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000272HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000273>xmlParserCtxtPtr</A
274> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000275HREF="libxml-parserinternals.html#XMLCREATEENTITYPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000276>xmlCreateEntityParserCtxt</A
277> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000278HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000279>xmlChar</A
280> *URL,
281 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000282HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000283>xmlChar</A
284> *ID,
285 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000286HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000287>xmlChar</A
288> *base);
289int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000290HREF="libxml-parserinternals.html#XMLSWITCHENCODING"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000291>xmlSwitchEncoding</A
292> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000293HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000294>xmlParserCtxtPtr</A
295> ctxt,
Daniel Veillard294cbca1999-12-03 13:19:09 +0000296 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000297HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard294cbca1999-12-03 13:19:09 +0000298>xmlCharEncoding</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000299> enc);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000300int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000301HREF="libxml-parserinternals.html#XMLSWITCHTOENCODING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000302>xmlSwitchToEncoding</A
303> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000304HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000305>xmlParserCtxtPtr</A
306> ctxt,
307 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000308HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000309>xmlCharEncodingHandlerPtr</A
310> handler);
311void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000312HREF="libxml-parser.html#XMLFREEPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000313>xmlFreeParserCtxt</A
314> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000315HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000316>xmlParserCtxtPtr</A
317> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000318void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000319HREF="libxml-parserinternals.html#XMLHANDLEENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000320>xmlHandleEntity</A
321> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000322HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000323>xmlParserCtxtPtr</A
324> ctxt,
325 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000326HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000327>xmlEntityPtr</A
328> entity);
329<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000330HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000331>xmlParserInputPtr</A
332> <A
Daniel Veillarda41123c2001-04-22 19:31:20 +0000333HREF="libxml-parserinternals.html#XMLNEWSTRINGINPUTSTREAM"
334>xmlNewStringInputStream</A
335> (<A
336HREF="libxml-parser.html#XMLPARSERCTXTPTR"
337>xmlParserCtxtPtr</A
338> ctxt,
339 const <A
340HREF="libxml-tree.html#XMLCHAR"
341>xmlChar</A
342> *buffer);
343<A
344HREF="libxml-parser.html#XMLPARSERINPUTPTR"
345>xmlParserInputPtr</A
346> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000347HREF="libxml-parserinternals.html#XMLNEWENTITYINPUTSTREAM"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000348>xmlNewEntityInputStream</A
349> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000350HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000351>xmlParserCtxtPtr</A
352> ctxt,
353 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000354HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000355>xmlEntityPtr</A
356> entity);
357void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000358HREF="libxml-parserinternals.html#XMLPUSHINPUT"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000359>xmlPushInput</A
360> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000361HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000362>xmlParserCtxtPtr</A
363> ctxt,
364 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000365HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000366>xmlParserInputPtr</A
367> input);
368<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000369HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000370>xmlChar</A
371> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000372HREF="libxml-parserinternals.html#XMLPOPINPUT"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000373>xmlPopInput</A
374> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000375HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000376>xmlParserCtxtPtr</A
377> ctxt);
378void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000379HREF="libxml-parserinternals.html#XMLFREEINPUTSTREAM"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000380>xmlFreeInputStream</A
381> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000382HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000383>xmlParserInputPtr</A
384> input);
385<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000386HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000387>xmlParserInputPtr</A
388> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000389HREF="libxml-parserinternals.html#XMLNEWINPUTFROMFILE"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000390>xmlNewInputFromFile</A
391> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000392HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000393>xmlParserCtxtPtr</A
394> ctxt,
395 const char *filename);
396<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000397HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000398>xmlParserInputPtr</A
399> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000400HREF="libxml-parserinternals.html#XMLNEWINPUTSTREAM"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000401>xmlNewInputStream</A
402> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000403HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000404>xmlParserCtxtPtr</A
405> ctxt);
406<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000407HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000408>xmlChar</A
409>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000410HREF="libxml-parserinternals.html#XMLSPLITQNAME"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000411>xmlSplitQName</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000412> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000413HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000414>xmlParserCtxtPtr</A
415> ctxt,
416 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000417HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000418>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000419> *name,
420 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000421HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000422>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000423> **prefix);
424<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000425HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000426>xmlChar</A
427>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000428HREF="libxml-parserinternals.html#XMLNAMESPACEPARSENCNAME"
Daniel Veillard35925471999-02-25 08:46:07 +0000429>xmlNamespaceParseNCName</A
430> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000431HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000432>xmlParserCtxtPtr</A
433> ctxt);
434<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000435HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000436>xmlChar</A
437>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000438HREF="libxml-parserinternals.html#XMLNAMESPACEPARSEQNAME"
Daniel Veillard35925471999-02-25 08:46:07 +0000439>xmlNamespaceParseQName</A
440> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000441HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000442>xmlParserCtxtPtr</A
443> ctxt,
444 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000445HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000446>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000447> **prefix);
448<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000449HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000450>xmlChar</A
451>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000452HREF="libxml-parserinternals.html#XMLNAMESPACEPARSENSDEF"
Daniel Veillard35925471999-02-25 08:46:07 +0000453>xmlNamespaceParseNSDef</A
454> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000455HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000456>xmlParserCtxtPtr</A
457> ctxt);
458<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000459HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000460>xmlChar</A
461>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000462HREF="libxml-parserinternals.html#XMLPARSEQUOTEDSTRING"
Daniel Veillard35925471999-02-25 08:46:07 +0000463>xmlParseQuotedString</A
464> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000465HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000466>xmlParserCtxtPtr</A
467> ctxt);
468void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000469HREF="libxml-parserinternals.html#XMLPARSENAMESPACE"
Daniel Veillard35925471999-02-25 08:46:07 +0000470>xmlParseNamespace</A
471> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000472HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000473>xmlParserCtxtPtr</A
474> ctxt);
475<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000476HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000477>xmlChar</A
478>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000479HREF="libxml-parserinternals.html#XMLSCANNAME"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000480>xmlScanName</A
481> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000482HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000483>xmlParserCtxtPtr</A
484> ctxt);
485<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000486HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000487>xmlChar</A
488>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000489HREF="libxml-parserinternals.html#XMLPARSENAME"
Daniel Veillard35925471999-02-25 08:46:07 +0000490>xmlParseName</A
491> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000492HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000493>xmlParserCtxtPtr</A
494> ctxt);
495<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000496HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000497>xmlChar</A
498>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000499HREF="libxml-parserinternals.html#XMLPARSENMTOKEN"
Daniel Veillard35925471999-02-25 08:46:07 +0000500>xmlParseNmtoken</A
501> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000502HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000503>xmlParserCtxtPtr</A
504> ctxt);
505<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000506HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000507>xmlChar</A
508>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000509HREF="libxml-parserinternals.html#XMLPARSEENTITYVALUE"
Daniel Veillard35925471999-02-25 08:46:07 +0000510>xmlParseEntityValue</A
511> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000512HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000513>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000514> ctxt,
515 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000516HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000517>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000518> **orig);
Daniel Veillard35925471999-02-25 08:46:07 +0000519<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000520HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000521>xmlChar</A
522>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000523HREF="libxml-parserinternals.html#XMLPARSEATTVALUE"
Daniel Veillard35925471999-02-25 08:46:07 +0000524>xmlParseAttValue</A
525> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000526HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000527>xmlParserCtxtPtr</A
528> ctxt);
529<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000530HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000531>xmlChar</A
532>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000533HREF="libxml-parserinternals.html#XMLPARSESYSTEMLITERAL"
Daniel Veillard35925471999-02-25 08:46:07 +0000534>xmlParseSystemLiteral</A
535> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000536HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000537>xmlParserCtxtPtr</A
538> ctxt);
539<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000540HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000541>xmlChar</A
542>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000543HREF="libxml-parserinternals.html#XMLPARSEPUBIDLITERAL"
Daniel Veillard35925471999-02-25 08:46:07 +0000544>xmlParsePubidLiteral</A
545> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000546HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000547>xmlParserCtxtPtr</A
548> ctxt);
549void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000550HREF="libxml-parserinternals.html#XMLPARSECHARDATA"
Daniel Veillard35925471999-02-25 08:46:07 +0000551>xmlParseCharData</A
552> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000553HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000554>xmlParserCtxtPtr</A
555> ctxt,
556 int cdata);
557<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000558HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000559>xmlChar</A
560>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000561HREF="libxml-parserinternals.html#XMLPARSEEXTERNALID"
Daniel Veillard35925471999-02-25 08:46:07 +0000562>xmlParseExternalID</A
563> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000564HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000565>xmlParserCtxtPtr</A
566> ctxt,
567 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000568HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000569>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000570> **publicID,
571 int strict);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000572void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000573HREF="libxml-parserinternals.html#XMLPARSECOMMENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000574>xmlParseComment</A
575> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000576HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000577>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000578> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000579<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000580HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000581>xmlChar</A
582>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000583HREF="libxml-parserinternals.html#XMLPARSEPITARGET"
Daniel Veillard35925471999-02-25 08:46:07 +0000584>xmlParsePITarget</A
585> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000586HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000587>xmlParserCtxtPtr</A
588> ctxt);
589void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000590HREF="libxml-parserinternals.html#XMLPARSEPI"
Daniel Veillard35925471999-02-25 08:46:07 +0000591>xmlParsePI</A
592> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000593HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000594>xmlParserCtxtPtr</A
595> ctxt);
596void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000597HREF="libxml-parserinternals.html#XMLPARSENOTATIONDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000598>xmlParseNotationDecl</A
599> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000600HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000601>xmlParserCtxtPtr</A
602> ctxt);
603void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000604HREF="libxml-parserinternals.html#XMLPARSEENTITYDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000605>xmlParseEntityDecl</A
606> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000607HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000608>xmlParserCtxtPtr</A
609> ctxt);
610int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000611HREF="libxml-parserinternals.html#XMLPARSEDEFAULTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000612>xmlParseDefaultDecl</A
613> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000614HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000615>xmlParserCtxtPtr</A
616> ctxt,
617 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000618HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000619>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000620> **value);
621<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000622HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000623>xmlEnumerationPtr</A
624> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000625HREF="libxml-parserinternals.html#XMLPARSENOTATIONTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000626>xmlParseNotationType</A
627> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000628HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000629>xmlParserCtxtPtr</A
630> ctxt);
631<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000632HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000633>xmlEnumerationPtr</A
634> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000635HREF="libxml-parserinternals.html#XMLPARSEENUMERATIONTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000636>xmlParseEnumerationType</A
637> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000638HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000639>xmlParserCtxtPtr</A
640> ctxt);
641int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000642HREF="libxml-parserinternals.html#XMLPARSEENUMERATEDTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000643>xmlParseEnumeratedType</A
644> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000645HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000646>xmlParserCtxtPtr</A
647> ctxt,
648 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000649HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000650>xmlEnumerationPtr</A
651> *tree);
652int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000653HREF="libxml-parserinternals.html#XMLPARSEATTRIBUTETYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000654>xmlParseAttributeType</A
655> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000656HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000657>xmlParserCtxtPtr</A
658> ctxt,
659 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000660HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000661>xmlEnumerationPtr</A
662> *tree);
663void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000664HREF="libxml-parserinternals.html#XMLPARSEATTRIBUTELISTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000665>xmlParseAttributeListDecl</A
666> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000667HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000668>xmlParserCtxtPtr</A
669> ctxt);
670<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000671HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000672>xmlElementContentPtr</A
673> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000674HREF="libxml-parserinternals.html#XMLPARSEELEMENTMIXEDCONTENTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000675>xmlParseElementMixedContentDecl</A
676>
677 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000678HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000679>xmlParserCtxtPtr</A
680> ctxt);
681<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000682HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000683>xmlElementContentPtr</A
684> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000685HREF="libxml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTD"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000686>xmlParseElementChildrenContentD</A
687>
688 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000689HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000690>xmlParserCtxtPtr</A
691> ctxt);
692<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000693HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000694>xmlElementContentPtr</A
695> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000696HREF="libxml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000697>xmlParseElementChildrenContentDecl</A
698>
699 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000700HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000701>xmlParserCtxtPtr</A
702> ctxt);
703int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000704HREF="libxml-parserinternals.html#XMLPARSEELEMENTCONTENTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000705>xmlParseElementContentDecl</A
706> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000707HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000708>xmlParserCtxtPtr</A
709> ctxt,
710 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000711HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000712>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000713> *name,
714 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000715HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000716>xmlElementContentPtr</A
717> *result);
718int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000719HREF="libxml-parserinternals.html#XMLPARSEELEMENTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000720>xmlParseElementDecl</A
721> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000722HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000723>xmlParserCtxtPtr</A
724> ctxt);
725void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000726HREF="libxml-parserinternals.html#XMLPARSEMARKUPDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000727>xmlParseMarkupDecl</A
728> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000729HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000730>xmlParserCtxtPtr</A
731> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000732int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000733HREF="libxml-parserinternals.html#XMLPARSECHARREF"
Daniel Veillard35925471999-02-25 08:46:07 +0000734>xmlParseCharRef</A
735> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000736HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000737>xmlParserCtxtPtr</A
738> ctxt);
739<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000740HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000741>xmlEntityPtr</A
742> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000743HREF="libxml-parserinternals.html#XMLPARSEENTITYREF"
Daniel Veillard35925471999-02-25 08:46:07 +0000744>xmlParseEntityRef</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000745> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000746HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000747>xmlParserCtxtPtr</A
748> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000749void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000750HREF="libxml-parserinternals.html#XMLPARSEREFERENCE"
Daniel Veillard35925471999-02-25 08:46:07 +0000751>xmlParseReference</A
752> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000753HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000754>xmlParserCtxtPtr</A
755> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000756void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000757HREF="libxml-parserinternals.html#XMLPARSEPEREFERENCE"
Daniel Veillard35925471999-02-25 08:46:07 +0000758>xmlParsePEReference</A
759> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000760HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000761>xmlParserCtxtPtr</A
762> ctxt);
763void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000764HREF="libxml-parserinternals.html#XMLPARSEDOCTYPEDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000765>xmlParseDocTypeDecl</A
766> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000767HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000768>xmlParserCtxtPtr</A
769> ctxt);
770<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000771HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000772>xmlChar</A
773>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000774HREF="libxml-parserinternals.html#XMLPARSEATTRIBUTE"
Daniel Veillard35925471999-02-25 08:46:07 +0000775>xmlParseAttribute</A
776> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000777HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000778>xmlParserCtxtPtr</A
779> ctxt,
780 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000781HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000782>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000783> **value);
Daniel Veillard14fff061999-06-22 21:49:07 +0000784<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000785HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000786>xmlChar</A
787>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000788HREF="libxml-parserinternals.html#XMLPARSESTARTTAG"
Daniel Veillard35925471999-02-25 08:46:07 +0000789>xmlParseStartTag</A
790> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000791HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000792>xmlParserCtxtPtr</A
793> ctxt);
794void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000795HREF="libxml-parserinternals.html#XMLPARSEENDTAG"
Daniel Veillard35925471999-02-25 08:46:07 +0000796>xmlParseEndTag</A
797> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000798HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000799>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +0000800> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000801void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000802HREF="libxml-parserinternals.html#XMLPARSECDSECT"
Daniel Veillard35925471999-02-25 08:46:07 +0000803>xmlParseCDSect</A
804> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000805HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000806>xmlParserCtxtPtr</A
807> ctxt);
808void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000809HREF="libxml-parserinternals.html#XMLPARSECONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000810>xmlParseContent</A
811> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000812HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000813>xmlParserCtxtPtr</A
814> ctxt);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000815void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000816HREF="libxml-parserinternals.html#XMLPARSEELEMENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000817>xmlParseElement</A
818> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000819HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000820>xmlParserCtxtPtr</A
821> ctxt);
822<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000823HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000824>xmlChar</A
825>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000826HREF="libxml-parserinternals.html#XMLPARSEVERSIONNUM"
Daniel Veillard35925471999-02-25 08:46:07 +0000827>xmlParseVersionNum</A
828> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000829HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000830>xmlParserCtxtPtr</A
831> ctxt);
832<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000833HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000834>xmlChar</A
835>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000836HREF="libxml-parserinternals.html#XMLPARSEVERSIONINFO"
Daniel Veillard35925471999-02-25 08:46:07 +0000837>xmlParseVersionInfo</A
838> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000839HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000840>xmlParserCtxtPtr</A
841> ctxt);
842<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000843HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000844>xmlChar</A
845>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000846HREF="libxml-parserinternals.html#XMLPARSEENCNAME"
Daniel Veillard35925471999-02-25 08:46:07 +0000847>xmlParseEncName</A
848> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000849HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000850>xmlParserCtxtPtr</A
851> ctxt);
852<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000853HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000854>xmlChar</A
855>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000856HREF="libxml-parserinternals.html#XMLPARSEENCODINGDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000857>xmlParseEncodingDecl</A
858> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000859HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000860>xmlParserCtxtPtr</A
861> ctxt);
862int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000863HREF="libxml-parserinternals.html#XMLPARSESDDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000864>xmlParseSDDecl</A
865> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000866HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000867>xmlParserCtxtPtr</A
868> ctxt);
869void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000870HREF="libxml-parserinternals.html#XMLPARSEXMLDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000871>xmlParseXMLDecl</A
872> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000873HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000874>xmlParserCtxtPtr</A
875> ctxt);
876void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000877HREF="libxml-parserinternals.html#XMLPARSETEXTDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000878>xmlParseTextDecl</A
879> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000880HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000881>xmlParserCtxtPtr</A
882> ctxt);
883void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000884HREF="libxml-parserinternals.html#XMLPARSEMISC"
Daniel Veillard35925471999-02-25 08:46:07 +0000885>xmlParseMisc</A
886> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000887HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000888>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000889> ctxt);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000890void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000891HREF="libxml-parserinternals.html#XMLPARSEEXTERNALSUBSET"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000892>xmlParseExternalSubset</A
893> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000894HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000895>xmlParserCtxtPtr</A
896> ctxt,
897 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000898HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000899>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000900> *ExternalID,
901 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000902HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000903>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000904> *SystemID);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000905#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000906HREF="libxml-parserinternals.html#XML-SUBSTITUTE-NONE-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000907>XML_SUBSTITUTE_NONE</A
908>
909#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000910HREF="libxml-parserinternals.html#XML-SUBSTITUTE-REF-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000911>XML_SUBSTITUTE_REF</A
912>
913#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000914HREF="libxml-parserinternals.html#XML-SUBSTITUTE-PEREF-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000915>XML_SUBSTITUTE_PEREF</A
916>
917#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000918HREF="libxml-parserinternals.html#XML-SUBSTITUTE-BOTH-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000919>XML_SUBSTITUTE_BOTH</A
920>
921<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000922HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000923>xmlChar</A
924>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000925HREF="libxml-parserinternals.html#XMLDECODEENTITIES"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000926>xmlDecodeEntities</A
927> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000928HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000929>xmlParserCtxtPtr</A
930> ctxt,
931 int len,
932 int what,
933 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000934HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000935>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000936> end,
937 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000938HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000939>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000940> end2,
941 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000942HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000943>xmlChar</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000944> end3);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000945<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000946HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000947>xmlChar</A
948>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000949HREF="libxml-parserinternals.html#XMLSTRINGDECODEENTITIES"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000950>xmlStringDecodeEntities</A
951> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000952HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000953>xmlParserCtxtPtr</A
954> ctxt,
955 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000956HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000957>xmlChar</A
958> *str,
959 int what,
960 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000961HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000962>xmlChar</A
963> end,
964 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000965HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000966>xmlChar</A
967> end2,
968 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000969HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000970>xmlChar</A
971> end3);
Daniel Veillard14fff061999-06-22 21:49:07 +0000972int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000973HREF="libxml-parserinternals.html#NODEPUSH"
Daniel Veillard14fff061999-06-22 21:49:07 +0000974>nodePush</A
975> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000976HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +0000977>xmlParserCtxtPtr</A
978> ctxt,
979 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000980HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +0000981>xmlNodePtr</A
982> value);
983<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000984HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +0000985>xmlNodePtr</A
986> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000987HREF="libxml-parserinternals.html#NODEPOP"
Daniel Veillard14fff061999-06-22 21:49:07 +0000988>nodePop</A
989> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000990HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +0000991>xmlParserCtxtPtr</A
992> ctxt);
993int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000994HREF="libxml-parserinternals.html#INPUTPUSH"
Daniel Veillard14fff061999-06-22 21:49:07 +0000995>inputPush</A
996> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000997HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +0000998>xmlParserCtxtPtr</A
999> ctxt,
1000 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001001HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00001002>xmlParserInputPtr</A
1003> value);
1004<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001005HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00001006>xmlParserInputPtr</A
1007> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001008HREF="libxml-parserinternals.html#INPUTPOP"
Daniel Veillard14fff061999-06-22 21:49:07 +00001009>inputPop</A
1010> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001011HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00001012>xmlParserCtxtPtr</A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001013> ctxt);
Daniel Veillarda41123c2001-04-22 19:31:20 +00001014<A
1015HREF="libxml-tree.html#XMLCHAR"
1016>xmlChar</A
1017>* <A
1018HREF="libxml-parserinternals.html#NAMEPOP"
1019>namePop</A
1020> (<A
1021HREF="libxml-parser.html#XMLPARSERCTXTPTR"
1022>xmlParserCtxtPtr</A
1023> ctxt);
1024int <A
1025HREF="libxml-parserinternals.html#NAMEPUSH"
1026>namePush</A
1027> (<A
1028HREF="libxml-parser.html#XMLPARSERCTXTPTR"
1029>xmlParserCtxtPtr</A
1030> ctxt,
1031 <A
1032HREF="libxml-tree.html#XMLCHAR"
1033>xmlChar</A
1034> *value);
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001035int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001036HREF="libxml-parserinternals.html#XMLSKIPBLANKCHARS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001037>xmlSkipBlankChars</A
1038> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001039HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001040>xmlParserCtxtPtr</A
1041> ctxt);
1042int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001043HREF="libxml-parserinternals.html#XMLSTRINGCURRENTCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001044>xmlStringCurrentChar</A
1045> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001046HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001047>xmlParserCtxtPtr</A
1048> ctxt,
1049 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001050HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001051>xmlChar</A
1052> *cur,
1053 int *len);
1054void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001055HREF="libxml-parserinternals.html#XMLPARSERHANDLEPEREFERENCE"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001056>xmlParserHandlePEReference</A
1057> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001058HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001059>xmlParserCtxtPtr</A
1060> ctxt);
1061void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001062HREF="libxml-parserinternals.html#XMLPARSERHANDLEREFERENCE"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001063>xmlParserHandleReference</A
1064> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001065HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001066>xmlParserCtxtPtr</A
1067> ctxt);
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001068int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001069HREF="libxml-parserinternals.html#XMLCHECKLANGUAGEID"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001070>xmlCheckLanguageID</A
1071> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001072HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001073>xmlChar</A
1074> *lang);
1075int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001076HREF="libxml-parserinternals.html#XMLCURRENTCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001077>xmlCurrentChar</A
1078> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001079HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001080>xmlParserCtxtPtr</A
1081> ctxt,
1082 int *len);
1083int <A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001084HREF="libxml-parserinternals.html#XMLCOPYCHARMULTIBYTE"
1085>xmlCopyCharMultiByte</A
1086> (<A
1087HREF="libxml-tree.html#XMLCHAR"
1088>xmlChar</A
1089> *out,
1090 int val);
1091int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001092HREF="libxml-parserinternals.html#XMLCOPYCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001093>xmlCopyChar</A
1094> (int len,
1095 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001096HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001097>xmlChar</A
1098> *out,
1099 int val);
1100void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001101HREF="libxml-parserinternals.html#XMLNEXTCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001102>xmlNextChar</A
1103> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001104HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001105>xmlParserCtxtPtr</A
1106> ctxt);
1107void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001108HREF="libxml-parserinternals.html#XMLPARSERINPUTSHRINK"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001109>xmlParserInputShrink</A
1110> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001111HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001112>xmlParserInputPtr</A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001113> in);
1114void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001115HREF="libxml-parserinternals.html#HTMLINITAUTOCLOSE"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001116>htmlInitAutoClose</A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001117> (void);
1118<A
1119HREF="libxml-htmlparser.html#HTMLPARSERCTXTPTR"
1120>htmlParserCtxtPtr</A
1121> <A
1122HREF="libxml-parserinternals.html#HTMLCREATEFILEPARSERCTXT"
1123>htmlCreateFileParserCtxt</A
1124> (const char *filename,
1125 const char *encoding);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001126></TD
1127></TR
1128></TABLE
1129></DIV
1130><DIV
1131CLASS="REFSECT1"
1132><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001133NAME="AEN17510"
Daniel Veillard35925471999-02-25 08:46:07 +00001134></A
1135><H2
1136>Description</H2
1137><P
1138></P
1139></DIV
1140><DIV
1141CLASS="REFSECT1"
1142><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001143NAME="AEN17513"
Daniel Veillard35925471999-02-25 08:46:07 +00001144></A
1145><H2
1146>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001147><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001148CLASS="REFSECT2"
1149><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001150NAME="AEN17515"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001151></A
1152><H3
1153><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001154NAME="XML-MAX-NAMELEN-CAPS"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001155></A
1156>XML_MAX_NAMELEN</H3
1157><TABLE
1158BORDER="0"
1159BGCOLOR="#D6E8FF"
1160WIDTH="100%"
1161CELLPADDING="6"
1162><TR
1163><TD
1164><PRE
1165CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001166>#define XML_MAX_NAMELEN 100</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001167></TD
1168></TR
1169></TABLE
1170><P
1171></P
1172></DIV
1173><HR><DIV
1174CLASS="REFSECT2"
1175><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001176NAME="AEN17520"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001177></A
1178><H3
1179><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001180NAME="INPUT-CHUNK-CAPS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001181></A
1182>INPUT_CHUNK</H3
1183><TABLE
1184BORDER="0"
1185BGCOLOR="#D6E8FF"
1186WIDTH="100%"
1187CELLPADDING="6"
1188><TR
1189><TD
1190><PRE
1191CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001192>#define INPUT_CHUNK 250</PRE
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001193></TD
1194></TR
1195></TABLE
1196><P
1197></P
1198></DIV
1199><HR><DIV
1200CLASS="REFSECT2"
1201><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001202NAME="AEN17525"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001203></A
1204><H3
1205><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001206NAME="IS-CHAR-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001207></A
1208>IS_CHAR()</H3
1209><TABLE
1210BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001211BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001212WIDTH="100%"
1213CELLPADDING="6"
1214><TR
1215><TD
1216><PRE
1217CLASS="PROGRAMLISTING"
1218>#define IS_CHAR(c)</PRE
1219></TD
1220></TR
1221></TABLE
1222><P
1223></P
1224><DIV
1225CLASS="INFORMALTABLE"
1226><P
1227></P
1228><TABLE
1229BORDER="0"
1230WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001231BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001232CELLSPACING="0"
1233CELLPADDING="4"
1234CLASS="CALSTABLE"
1235><TR
1236><TD
1237WIDTH="20%"
1238ALIGN="RIGHT"
1239VALIGN="TOP"
1240><TT
1241CLASS="PARAMETER"
1242><I
1243>c</I
1244></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001245>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001246><TD
1247WIDTH="80%"
1248ALIGN="LEFT"
1249VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001250>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001251></TR
1252></TABLE
1253><P
1254></P
1255></DIV
1256></DIV
1257><HR><DIV
1258CLASS="REFSECT2"
1259><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001260NAME="AEN17539"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001261></A
1262><H3
1263><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001264NAME="IS-BLANK-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001265></A
1266>IS_BLANK()</H3
1267><TABLE
1268BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001269BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001270WIDTH="100%"
1271CELLPADDING="6"
1272><TR
1273><TD
1274><PRE
1275CLASS="PROGRAMLISTING"
1276>#define IS_BLANK(c)</PRE
1277></TD
1278></TR
1279></TABLE
1280><P
1281></P
1282><DIV
1283CLASS="INFORMALTABLE"
1284><P
1285></P
1286><TABLE
1287BORDER="0"
1288WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001289BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001290CELLSPACING="0"
1291CELLPADDING="4"
1292CLASS="CALSTABLE"
1293><TR
1294><TD
1295WIDTH="20%"
1296ALIGN="RIGHT"
1297VALIGN="TOP"
1298><TT
1299CLASS="PARAMETER"
1300><I
1301>c</I
1302></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001303>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001304><TD
1305WIDTH="80%"
1306ALIGN="LEFT"
1307VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001308>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001309></TR
1310></TABLE
1311><P
1312></P
1313></DIV
1314></DIV
1315><HR><DIV
1316CLASS="REFSECT2"
1317><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001318NAME="AEN17553"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001319></A
1320><H3
1321><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001322NAME="IS-BASECHAR-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001323></A
1324>IS_BASECHAR()</H3
1325><TABLE
1326BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001327BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001328WIDTH="100%"
1329CELLPADDING="6"
1330><TR
1331><TD
1332><PRE
1333CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001334>#define IS_BASECHAR(c) xmlIsBaseChar(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001335></TD
1336></TR
1337></TABLE
1338><P
1339></P
1340><DIV
1341CLASS="INFORMALTABLE"
1342><P
1343></P
1344><TABLE
1345BORDER="0"
1346WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001347BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001348CELLSPACING="0"
1349CELLPADDING="4"
1350CLASS="CALSTABLE"
1351><TR
1352><TD
1353WIDTH="20%"
1354ALIGN="RIGHT"
1355VALIGN="TOP"
1356><TT
1357CLASS="PARAMETER"
1358><I
1359>c</I
1360></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001361>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001362><TD
1363WIDTH="80%"
1364ALIGN="LEFT"
1365VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001366>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001367></TR
1368></TABLE
1369><P
1370></P
1371></DIV
1372></DIV
1373><HR><DIV
1374CLASS="REFSECT2"
1375><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001376NAME="AEN17567"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001377></A
1378><H3
1379><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001380NAME="IS-DIGIT-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001381></A
1382>IS_DIGIT()</H3
1383><TABLE
1384BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001385BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001386WIDTH="100%"
1387CELLPADDING="6"
1388><TR
1389><TD
1390><PRE
1391CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001392>#define IS_DIGIT(c) xmlIsDigit(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001393></TD
1394></TR
1395></TABLE
1396><P
1397></P
1398><DIV
1399CLASS="INFORMALTABLE"
1400><P
1401></P
1402><TABLE
1403BORDER="0"
1404WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001405BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001406CELLSPACING="0"
1407CELLPADDING="4"
1408CLASS="CALSTABLE"
1409><TR
1410><TD
1411WIDTH="20%"
1412ALIGN="RIGHT"
1413VALIGN="TOP"
1414><TT
1415CLASS="PARAMETER"
1416><I
1417>c</I
1418></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001419>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001420><TD
1421WIDTH="80%"
1422ALIGN="LEFT"
1423VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001424>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001425></TR
1426></TABLE
1427><P
1428></P
1429></DIV
1430></DIV
1431><HR><DIV
1432CLASS="REFSECT2"
1433><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001434NAME="AEN17581"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001435></A
1436><H3
1437><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001438NAME="IS-COMBINING-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001439></A
1440>IS_COMBINING()</H3
1441><TABLE
1442BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001443BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001444WIDTH="100%"
1445CELLPADDING="6"
1446><TR
1447><TD
1448><PRE
1449CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001450>#define IS_COMBINING(c) xmlIsCombining(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001451></TD
1452></TR
1453></TABLE
1454><P
1455></P
1456><DIV
1457CLASS="INFORMALTABLE"
1458><P
1459></P
1460><TABLE
1461BORDER="0"
1462WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001463BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001464CELLSPACING="0"
1465CELLPADDING="4"
1466CLASS="CALSTABLE"
1467><TR
1468><TD
1469WIDTH="20%"
1470ALIGN="RIGHT"
1471VALIGN="TOP"
1472><TT
1473CLASS="PARAMETER"
1474><I
1475>c</I
1476></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001477>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001478><TD
1479WIDTH="80%"
1480ALIGN="LEFT"
1481VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001482>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001483></TR
1484></TABLE
1485><P
1486></P
1487></DIV
1488></DIV
1489><HR><DIV
1490CLASS="REFSECT2"
1491><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001492NAME="AEN17595"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001493></A
1494><H3
1495><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001496NAME="IS-EXTENDER-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001497></A
1498>IS_EXTENDER()</H3
1499><TABLE
1500BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001501BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001502WIDTH="100%"
1503CELLPADDING="6"
1504><TR
1505><TD
1506><PRE
1507CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001508>#define IS_EXTENDER(c) xmlIsExtender(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001509></TD
1510></TR
1511></TABLE
1512><P
1513></P
1514><DIV
1515CLASS="INFORMALTABLE"
1516><P
1517></P
1518><TABLE
1519BORDER="0"
1520WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001521BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001522CELLSPACING="0"
1523CELLPADDING="4"
1524CLASS="CALSTABLE"
1525><TR
1526><TD
1527WIDTH="20%"
1528ALIGN="RIGHT"
1529VALIGN="TOP"
1530><TT
1531CLASS="PARAMETER"
1532><I
1533>c</I
1534></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001535>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001536><TD
1537WIDTH="80%"
1538ALIGN="LEFT"
1539VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001540>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001541></TR
1542></TABLE
1543><P
1544></P
1545></DIV
1546></DIV
1547><HR><DIV
1548CLASS="REFSECT2"
1549><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001550NAME="AEN17609"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001551></A
1552><H3
1553><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001554NAME="IS-IDEOGRAPHIC-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001555></A
1556>IS_IDEOGRAPHIC()</H3
1557><TABLE
1558BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001559BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001560WIDTH="100%"
1561CELLPADDING="6"
1562><TR
1563><TD
1564><PRE
1565CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001566>#define IS_IDEOGRAPHIC(c) xmlIsIdeographic(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001567></TD
1568></TR
1569></TABLE
1570><P
1571></P
1572><DIV
1573CLASS="INFORMALTABLE"
1574><P
1575></P
1576><TABLE
1577BORDER="0"
1578WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001579BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001580CELLSPACING="0"
1581CELLPADDING="4"
1582CLASS="CALSTABLE"
1583><TR
1584><TD
1585WIDTH="20%"
1586ALIGN="RIGHT"
1587VALIGN="TOP"
1588><TT
1589CLASS="PARAMETER"
1590><I
1591>c</I
1592></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001593>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001594><TD
1595WIDTH="80%"
1596ALIGN="LEFT"
1597VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001598>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001599></TR
1600></TABLE
1601><P
1602></P
1603></DIV
1604></DIV
1605><HR><DIV
1606CLASS="REFSECT2"
1607><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001608NAME="AEN17623"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001609></A
1610><H3
1611><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001612NAME="IS-LETTER-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001613></A
1614>IS_LETTER()</H3
1615><TABLE
1616BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001617BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001618WIDTH="100%"
1619CELLPADDING="6"
1620><TR
1621><TD
1622><PRE
1623CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001624>#define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c))</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001625></TD
1626></TR
1627></TABLE
1628><P
1629></P
1630><DIV
1631CLASS="INFORMALTABLE"
1632><P
1633></P
1634><TABLE
1635BORDER="0"
1636WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001637BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001638CELLSPACING="0"
1639CELLPADDING="4"
1640CLASS="CALSTABLE"
1641><TR
1642><TD
1643WIDTH="20%"
1644ALIGN="RIGHT"
1645VALIGN="TOP"
1646><TT
1647CLASS="PARAMETER"
1648><I
1649>c</I
1650></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001651>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001652><TD
1653WIDTH="80%"
1654ALIGN="LEFT"
1655VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001656>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001657></TR
1658></TABLE
1659><P
1660></P
1661></DIV
1662></DIV
1663><HR><DIV
1664CLASS="REFSECT2"
1665><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001666NAME="AEN17637"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001667></A
1668><H3
1669><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001670NAME="IS-PUBIDCHAR-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001671></A
1672>IS_PUBIDCHAR()</H3
1673><TABLE
1674BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001675BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001676WIDTH="100%"
1677CELLPADDING="6"
1678><TR
1679><TD
1680><PRE
1681CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001682>#define IS_PUBIDCHAR(c) xmlIsPubidChar(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001683></TD
1684></TR
1685></TABLE
1686><P
1687></P
1688><DIV
1689CLASS="INFORMALTABLE"
1690><P
1691></P
1692><TABLE
1693BORDER="0"
1694WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001695BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001696CELLSPACING="0"
1697CELLPADDING="4"
1698CLASS="CALSTABLE"
1699><TR
1700><TD
1701WIDTH="20%"
1702ALIGN="RIGHT"
1703VALIGN="TOP"
1704><TT
1705CLASS="PARAMETER"
1706><I
1707>c</I
1708></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001709>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001710><TD
1711WIDTH="80%"
1712ALIGN="LEFT"
1713VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001714>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001715></TR
1716></TABLE
1717><P
1718></P
1719></DIV
1720></DIV
1721><HR><DIV
1722CLASS="REFSECT2"
1723><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001724NAME="AEN17651"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001725></A
1726><H3
1727><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001728NAME="SKIP-EOL-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001729></A
1730>SKIP_EOL()</H3
1731><TABLE
1732BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001733BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001734WIDTH="100%"
1735CELLPADDING="6"
1736><TR
1737><TD
1738><PRE
1739CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001740>#define SKIP_EOL(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001741></TD
1742></TR
1743></TABLE
1744><P
1745></P
1746><DIV
1747CLASS="INFORMALTABLE"
1748><P
1749></P
1750><TABLE
1751BORDER="0"
1752WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001753BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001754CELLSPACING="0"
1755CELLPADDING="4"
1756CLASS="CALSTABLE"
1757><TR
1758><TD
1759WIDTH="20%"
1760ALIGN="RIGHT"
1761VALIGN="TOP"
1762><TT
1763CLASS="PARAMETER"
1764><I
1765>p</I
1766></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001767>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001768><TD
1769WIDTH="80%"
1770ALIGN="LEFT"
1771VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001772>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001773></TR
1774></TABLE
1775><P
1776></P
1777></DIV
1778></DIV
1779><HR><DIV
1780CLASS="REFSECT2"
1781><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001782NAME="AEN17665"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001783></A
1784><H3
1785><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001786NAME="MOVETO-ENDTAG-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001787></A
1788>MOVETO_ENDTAG()</H3
1789><TABLE
1790BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001791BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001792WIDTH="100%"
1793CELLPADDING="6"
1794><TR
1795><TD
1796><PRE
1797CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001798>#define MOVETO_ENDTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001799></TD
1800></TR
1801></TABLE
1802><P
1803></P
1804><DIV
1805CLASS="INFORMALTABLE"
1806><P
1807></P
1808><TABLE
1809BORDER="0"
1810WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001811BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001812CELLSPACING="0"
1813CELLPADDING="4"
1814CLASS="CALSTABLE"
1815><TR
1816><TD
1817WIDTH="20%"
1818ALIGN="RIGHT"
1819VALIGN="TOP"
1820><TT
1821CLASS="PARAMETER"
1822><I
1823>p</I
1824></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001825>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001826><TD
1827WIDTH="80%"
1828ALIGN="LEFT"
1829VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001830>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001831></TR
1832></TABLE
1833><P
1834></P
1835></DIV
1836></DIV
1837><HR><DIV
1838CLASS="REFSECT2"
1839><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001840NAME="AEN17679"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001841></A
1842><H3
1843><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001844NAME="MOVETO-STARTTAG-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001845></A
1846>MOVETO_STARTTAG()</H3
1847><TABLE
1848BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001849BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001850WIDTH="100%"
1851CELLPADDING="6"
1852><TR
1853><TD
1854><PRE
1855CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001856>#define MOVETO_STARTTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001857></TD
1858></TR
1859></TABLE
1860><P
1861></P
1862><DIV
1863CLASS="INFORMALTABLE"
1864><P
1865></P
1866><TABLE
1867BORDER="0"
1868WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001869BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001870CELLSPACING="0"
1871CELLPADDING="4"
1872CLASS="CALSTABLE"
1873><TR
1874><TD
1875WIDTH="20%"
1876ALIGN="RIGHT"
1877VALIGN="TOP"
1878><TT
1879CLASS="PARAMETER"
1880><I
1881>p</I
1882></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001883>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001884><TD
1885WIDTH="80%"
1886ALIGN="LEFT"
1887VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001888>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001889></TR
1890></TABLE
1891><P
1892></P
1893></DIV
1894></DIV
1895><HR><DIV
1896CLASS="REFSECT2"
1897><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001898NAME="AEN17693"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001899></A
1900><H3
1901><A
1902NAME="XMLISBASECHAR"
1903></A
1904>xmlIsBaseChar ()</H3
1905><TABLE
1906BORDER="0"
1907BGCOLOR="#D6E8FF"
1908WIDTH="100%"
1909CELLPADDING="6"
1910><TR
1911><TD
1912><PRE
1913CLASS="PROGRAMLISTING"
1914>int xmlIsBaseChar (int c);</PRE
1915></TD
1916></TR
1917></TABLE
1918><P
1919>Check whether the character is allowed by the production
1920[85] BaseChar ::= ... long list see REC ...</P
1921><P
1922>VI is your friend !
1923:1,$ s/\[<GTKDOCLINK
1924HREF="X"
1925>x</GTKDOCLINK
1926>\([0-9A-Z]*\)-<GTKDOCLINK
1927HREF="X"
1928>x</GTKDOCLINK
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001929>\([0-9A-Z]*\)\]/ (((c) &gt;= 0x\1) \&amp;\&amp; ((c) &lt;= 0x\2)) ||/
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001930and
1931:1,$ s/<GTKDOCLINK
1932HREF="X"
1933>x</GTKDOCLINK
1934>\([0-9A-Z]*\)/ ((c) == 0x\1) ||/</P
1935><P
1936></P
1937><DIV
1938CLASS="INFORMALTABLE"
1939><P
1940></P
1941><TABLE
1942BORDER="0"
1943WIDTH="100%"
1944BGCOLOR="#FFD0D0"
1945CELLSPACING="0"
1946CELLPADDING="4"
1947CLASS="CALSTABLE"
1948><TR
1949><TD
1950WIDTH="20%"
1951ALIGN="RIGHT"
1952VALIGN="TOP"
1953><TT
1954CLASS="PARAMETER"
1955><I
1956>c</I
1957></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001958>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001959><TD
1960WIDTH="80%"
1961ALIGN="LEFT"
1962VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001963> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001964></TR
1965><TR
1966><TD
1967WIDTH="20%"
1968ALIGN="RIGHT"
1969VALIGN="TOP"
1970><I
1971CLASS="EMPHASIS"
1972>Returns</I
1973> :</TD
1974><TD
1975WIDTH="80%"
1976ALIGN="LEFT"
1977VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001978>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001979></TR
1980></TABLE
1981><P
1982></P
1983></DIV
1984></DIV
1985><HR><DIV
1986CLASS="REFSECT2"
1987><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00001988NAME="AEN17716"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001989></A
1990><H3
1991><A
1992NAME="XMLISBLANK"
1993></A
1994>xmlIsBlank ()</H3
1995><TABLE
1996BORDER="0"
1997BGCOLOR="#D6E8FF"
1998WIDTH="100%"
1999CELLPADDING="6"
2000><TR
2001><TD
2002><PRE
2003CLASS="PROGRAMLISTING"
2004>int xmlIsBlank (int c);</PRE
2005></TD
2006></TR
2007></TABLE
2008><P
2009>Check whether the character is allowed by the production
2010[3] S ::= (<GTKDOCLINK
2011HREF="X20"
2012>x20</GTKDOCLINK
2013> | <GTKDOCLINK
2014HREF="X9"
2015>x9</GTKDOCLINK
2016> | <GTKDOCLINK
2017HREF="XD"
2018>xD</GTKDOCLINK
2019> | <GTKDOCLINK
2020HREF="XA"
2021>xA</GTKDOCLINK
2022>)+
2023Also available as a macro <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002024HREF="libxml-parserinternals.html#IS-BLANK-CAPS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002025>IS_BLANK</A
2026>()</P
2027><P
2028></P
2029><DIV
2030CLASS="INFORMALTABLE"
2031><P
2032></P
2033><TABLE
2034BORDER="0"
2035WIDTH="100%"
2036BGCOLOR="#FFD0D0"
2037CELLSPACING="0"
2038CELLPADDING="4"
2039CLASS="CALSTABLE"
2040><TR
2041><TD
2042WIDTH="20%"
2043ALIGN="RIGHT"
2044VALIGN="TOP"
2045><TT
2046CLASS="PARAMETER"
2047><I
2048>c</I
2049></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002050>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002051><TD
2052WIDTH="80%"
2053ALIGN="LEFT"
2054VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002055> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002056></TR
2057><TR
2058><TD
2059WIDTH="20%"
2060ALIGN="RIGHT"
2061VALIGN="TOP"
2062><I
2063CLASS="EMPHASIS"
2064>Returns</I
2065> :</TD
2066><TD
2067WIDTH="80%"
2068ALIGN="LEFT"
2069VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002070>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002071></TR
2072></TABLE
2073><P
2074></P
2075></DIV
2076></DIV
2077><HR><DIV
2078CLASS="REFSECT2"
2079><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00002080NAME="AEN17740"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002081></A
2082><H3
2083><A
2084NAME="XMLISPUBIDCHAR"
2085></A
2086>xmlIsPubidChar ()</H3
2087><TABLE
2088BORDER="0"
2089BGCOLOR="#D6E8FF"
2090WIDTH="100%"
2091CELLPADDING="6"
2092><TR
2093><TD
2094><PRE
2095CLASS="PROGRAMLISTING"
2096>int xmlIsPubidChar (int c);</PRE
2097></TD
2098></TR
2099></TABLE
2100><P
2101>Check whether the character is allowed by the production
2102[13] PubidChar ::= <GTKDOCLINK
2103HREF="X20"
2104>x20</GTKDOCLINK
2105> | <GTKDOCLINK
2106HREF="XD"
2107>xD</GTKDOCLINK
2108> | <GTKDOCLINK
2109HREF="XA"
2110>xA</GTKDOCLINK
2111> | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]</P
2112><P
2113></P
2114><DIV
2115CLASS="INFORMALTABLE"
2116><P
2117></P
2118><TABLE
2119BORDER="0"
2120WIDTH="100%"
2121BGCOLOR="#FFD0D0"
2122CELLSPACING="0"
2123CELLPADDING="4"
2124CLASS="CALSTABLE"
2125><TR
2126><TD
2127WIDTH="20%"
2128ALIGN="RIGHT"
2129VALIGN="TOP"
2130><TT
2131CLASS="PARAMETER"
2132><I
2133>c</I
2134></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002135>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002136><TD
2137WIDTH="80%"
2138ALIGN="LEFT"
2139VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002140> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002141></TR
2142><TR
2143><TD
2144WIDTH="20%"
2145ALIGN="RIGHT"
2146VALIGN="TOP"
2147><I
2148CLASS="EMPHASIS"
2149>Returns</I
2150> :</TD
2151><TD
2152WIDTH="80%"
2153ALIGN="LEFT"
2154VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002155>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002156></TR
2157></TABLE
2158><P
2159></P
2160></DIV
2161></DIV
2162><HR><DIV
2163CLASS="REFSECT2"
2164><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00002165NAME="AEN17762"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002166></A
2167><H3
2168><A
2169NAME="XMLISLETTER"
2170></A
2171>xmlIsLetter ()</H3
2172><TABLE
2173BORDER="0"
2174BGCOLOR="#D6E8FF"
2175WIDTH="100%"
2176CELLPADDING="6"
2177><TR
2178><TD
2179><PRE
2180CLASS="PROGRAMLISTING"
2181>int xmlIsLetter (int c);</PRE
2182></TD
2183></TR
2184></TABLE
2185><P
2186>Check whether the character is allowed by the production
2187[84] Letter ::= BaseChar | Ideographic</P
2188><P
2189></P
2190><DIV
2191CLASS="INFORMALTABLE"
2192><P
2193></P
2194><TABLE
2195BORDER="0"
2196WIDTH="100%"
2197BGCOLOR="#FFD0D0"
2198CELLSPACING="0"
2199CELLPADDING="4"
2200CLASS="CALSTABLE"
2201><TR
2202><TD
2203WIDTH="20%"
2204ALIGN="RIGHT"
2205VALIGN="TOP"
2206><TT
2207CLASS="PARAMETER"
2208><I
2209>c</I
2210></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002211>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002212><TD
2213WIDTH="80%"
2214ALIGN="LEFT"
2215VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002216> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002217></TR
2218><TR
2219><TD
2220WIDTH="20%"
2221ALIGN="RIGHT"
2222VALIGN="TOP"
2223><I
2224CLASS="EMPHASIS"
2225>Returns</I
2226> :</TD
2227><TD
2228WIDTH="80%"
2229ALIGN="LEFT"
2230VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002231>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002232></TR
2233></TABLE
2234><P
2235></P
2236></DIV
2237></DIV
2238><HR><DIV
2239CLASS="REFSECT2"
2240><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00002241NAME="AEN17781"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002242></A
2243><H3
2244><A
2245NAME="XMLISDIGIT"
2246></A
2247>xmlIsDigit ()</H3
2248><TABLE
2249BORDER="0"
2250BGCOLOR="#D6E8FF"
2251WIDTH="100%"
2252CELLPADDING="6"
2253><TR
2254><TD
2255><PRE
2256CLASS="PROGRAMLISTING"
2257>int xmlIsDigit (int c);</PRE
2258></TD
2259></TR
2260></TABLE
2261><P
2262>Check whether the character is allowed by the production
2263[88] Digit ::= ... long list see REC ...</P
2264><P
2265></P
2266><DIV
2267CLASS="INFORMALTABLE"
2268><P
2269></P
2270><TABLE
2271BORDER="0"
2272WIDTH="100%"
2273BGCOLOR="#FFD0D0"
2274CELLSPACING="0"
2275CELLPADDING="4"
2276CLASS="CALSTABLE"
2277><TR
2278><TD
2279WIDTH="20%"
2280ALIGN="RIGHT"
2281VALIGN="TOP"
2282><TT
2283CLASS="PARAMETER"
2284><I
2285>c</I
2286></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002287>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002288><TD
2289WIDTH="80%"
2290ALIGN="LEFT"
2291VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002292> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002293></TR
2294><TR
2295><TD
2296WIDTH="20%"
2297ALIGN="RIGHT"
2298VALIGN="TOP"
2299><I
2300CLASS="EMPHASIS"
2301>Returns</I
2302> :</TD
2303><TD
2304WIDTH="80%"
2305ALIGN="LEFT"
2306VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002307>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002308></TR
2309></TABLE
2310><P
2311></P
2312></DIV
2313></DIV
2314><HR><DIV
2315CLASS="REFSECT2"
2316><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00002317NAME="AEN17800"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002318></A
2319><H3
2320><A
2321NAME="XMLISIDEOGRAPHIC"
2322></A
2323>xmlIsIdeographic ()</H3
2324><TABLE
2325BORDER="0"
2326BGCOLOR="#D6E8FF"
2327WIDTH="100%"
2328CELLPADDING="6"
2329><TR
2330><TD
2331><PRE
2332CLASS="PROGRAMLISTING"
2333>int xmlIsIdeographic (int c);</PRE
2334></TD
2335></TR
2336></TABLE
2337><P
2338>Check whether the character is allowed by the production
2339[86] Ideographic ::= [<GTKDOCLINK
2340HREF="X4E00-"
2341>x4E00-</GTKDOCLINK
2342><GTKDOCLINK
2343HREF="X9FA5"
2344>x9FA5</GTKDOCLINK
2345>] | <GTKDOCLINK
2346HREF="X3007"
2347>x3007</GTKDOCLINK
2348> | [<GTKDOCLINK
2349HREF="X3021-"
2350>x3021-</GTKDOCLINK
2351><GTKDOCLINK
2352HREF="X3029"
2353>x3029</GTKDOCLINK
2354>]</P
2355><P
2356></P
2357><DIV
2358CLASS="INFORMALTABLE"
2359><P
2360></P
2361><TABLE
2362BORDER="0"
2363WIDTH="100%"
2364BGCOLOR="#FFD0D0"
2365CELLSPACING="0"
2366CELLPADDING="4"
2367CLASS="CALSTABLE"
2368><TR
2369><TD
2370WIDTH="20%"
2371ALIGN="RIGHT"
2372VALIGN="TOP"
2373><TT
2374CLASS="PARAMETER"
2375><I
2376>c</I
2377></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002378>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002379><TD
2380WIDTH="80%"
2381ALIGN="LEFT"
2382VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002383> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002384></TR
2385><TR
2386><TD
2387WIDTH="20%"
2388ALIGN="RIGHT"
2389VALIGN="TOP"
2390><I
2391CLASS="EMPHASIS"
2392>Returns</I
2393> :</TD
2394><TD
2395WIDTH="80%"
2396ALIGN="LEFT"
2397VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002398>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002399></TR
2400></TABLE
2401><P
2402></P
2403></DIV
2404></DIV
2405><HR><DIV
2406CLASS="REFSECT2"
2407><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00002408NAME="AEN17824"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002409></A
2410><H3
2411><A
2412NAME="XMLISCOMBINING"
2413></A
2414>xmlIsCombining ()</H3
2415><TABLE
2416BORDER="0"
2417BGCOLOR="#D6E8FF"
2418WIDTH="100%"
2419CELLPADDING="6"
2420><TR
2421><TD
2422><PRE
2423CLASS="PROGRAMLISTING"
2424>int xmlIsCombining (int c);</PRE
2425></TD
2426></TR
2427></TABLE
2428><P
2429>Check whether the character is allowed by the production
2430[87] CombiningChar ::= ... long list see REC ...</P
2431><P
2432></P
2433><DIV
2434CLASS="INFORMALTABLE"
2435><P
2436></P
2437><TABLE
2438BORDER="0"
2439WIDTH="100%"
2440BGCOLOR="#FFD0D0"
2441CELLSPACING="0"
2442CELLPADDING="4"
2443CLASS="CALSTABLE"
2444><TR
2445><TD
2446WIDTH="20%"
2447ALIGN="RIGHT"
2448VALIGN="TOP"
2449><TT
2450CLASS="PARAMETER"
2451><I
2452>c</I
2453></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002454>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002455><TD
2456WIDTH="80%"
2457ALIGN="LEFT"
2458VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002459> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002460></TR
2461><TR
2462><TD
2463WIDTH="20%"
2464ALIGN="RIGHT"
2465VALIGN="TOP"
2466><I
2467CLASS="EMPHASIS"
2468>Returns</I
2469> :</TD
2470><TD
2471WIDTH="80%"
2472ALIGN="LEFT"
2473VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002474>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002475></TR
2476></TABLE
2477><P
2478></P
2479></DIV
2480></DIV
2481><HR><DIV
2482CLASS="REFSECT2"
2483><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00002484NAME="AEN17843"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002485></A
2486><H3
2487><A
2488NAME="XMLISEXTENDER"
2489></A
2490>xmlIsExtender ()</H3
2491><TABLE
2492BORDER="0"
2493BGCOLOR="#D6E8FF"
2494WIDTH="100%"
2495CELLPADDING="6"
2496><TR
2497><TD
2498><PRE
2499CLASS="PROGRAMLISTING"
2500>int xmlIsExtender (int c);</PRE
2501></TD
2502></TR
2503></TABLE
2504><P
2505>Check whether the character is allowed by the production
2506[89] Extender ::= <GTKDOCLINK
2507HREF="X00B7"
2508>x00B7</GTKDOCLINK
2509> | <GTKDOCLINK
2510HREF="X02D0"
2511>x02D0</GTKDOCLINK
2512> | <GTKDOCLINK
2513HREF="X02D1"
2514>x02D1</GTKDOCLINK
2515> | <GTKDOCLINK
2516HREF="X0387"
2517>x0387</GTKDOCLINK
2518> | <GTKDOCLINK
2519HREF="X0640"
2520>x0640</GTKDOCLINK
2521> |
2522<GTKDOCLINK
2523HREF="X0E46"
2524>x0E46</GTKDOCLINK
2525> | <GTKDOCLINK
2526HREF="X0EC6"
2527>x0EC6</GTKDOCLINK
2528> | <GTKDOCLINK
2529HREF="X3005"
2530>x3005</GTKDOCLINK
2531> | [<GTKDOCLINK
2532HREF="X3031-"
2533>x3031-</GTKDOCLINK
2534><GTKDOCLINK
2535HREF="X3035"
2536>x3035</GTKDOCLINK
2537>] |
2538[<GTKDOCLINK
2539HREF="X309D-"
2540>x309D-</GTKDOCLINK
2541><GTKDOCLINK
2542HREF="X309E"
2543>x309E</GTKDOCLINK
2544>] | [<GTKDOCLINK
2545HREF="X30FC-"
2546>x30FC-</GTKDOCLINK
2547><GTKDOCLINK
2548HREF="X30FE"
2549>x30FE</GTKDOCLINK
2550>]</P
2551><P
2552></P
2553><DIV
2554CLASS="INFORMALTABLE"
2555><P
2556></P
2557><TABLE
2558BORDER="0"
2559WIDTH="100%"
2560BGCOLOR="#FFD0D0"
2561CELLSPACING="0"
2562CELLPADDING="4"
2563CLASS="CALSTABLE"
2564><TR
2565><TD
2566WIDTH="20%"
2567ALIGN="RIGHT"
2568VALIGN="TOP"
2569><TT
2570CLASS="PARAMETER"
2571><I
2572>c</I
2573></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002574>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002575><TD
2576WIDTH="80%"
2577ALIGN="LEFT"
2578VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002579> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002580></TR
2581><TR
2582><TD
2583WIDTH="20%"
2584ALIGN="RIGHT"
2585VALIGN="TOP"
2586><I
2587CLASS="EMPHASIS"
2588>Returns</I
2589> :</TD
2590><TD
2591WIDTH="80%"
2592ALIGN="LEFT"
2593VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002594>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002595></TR
2596></TABLE
2597><P
2598></P
2599></DIV
2600></DIV
2601><HR><DIV
2602CLASS="REFSECT2"
2603><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00002604NAME="AEN17876"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002605></A
2606><H3
2607><A
2608NAME="XMLISCHAR"
2609></A
2610>xmlIsChar ()</H3
2611><TABLE
2612BORDER="0"
2613BGCOLOR="#D6E8FF"
2614WIDTH="100%"
2615CELLPADDING="6"
2616><TR
2617><TD
2618><PRE
2619CLASS="PROGRAMLISTING"
2620>int xmlIsChar (int c);</PRE
2621></TD
2622></TR
2623></TABLE
2624><P
2625>Check whether the character is allowed by the production
2626[2] Char ::= <GTKDOCLINK
2627HREF="X9"
2628>x9</GTKDOCLINK
2629> | <GTKDOCLINK
2630HREF="XA"
2631>xA</GTKDOCLINK
2632> | <GTKDOCLINK
2633HREF="XD"
2634>xD</GTKDOCLINK
2635> | [<GTKDOCLINK
2636HREF="X20-"
2637>x20-</GTKDOCLINK
2638><GTKDOCLINK
2639HREF="XD7FF"
2640>xD7FF</GTKDOCLINK
2641>] | [<GTKDOCLINK
2642HREF="XE000-"
2643>xE000-</GTKDOCLINK
2644><GTKDOCLINK
2645HREF="XFFFD"
2646>xFFFD</GTKDOCLINK
2647>]
2648| [<GTKDOCLINK
2649HREF="X10000-"
2650>x10000-</GTKDOCLINK
2651><GTKDOCLINK
2652HREF="X10FFFF"
2653>x10FFFF</GTKDOCLINK
2654>]
2655any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.
2656Also available as a macro <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002657HREF="libxml-parserinternals.html#IS-CHAR-CAPS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002658>IS_CHAR</A
2659>()</P
2660><P
2661></P
2662><DIV
2663CLASS="INFORMALTABLE"
2664><P
2665></P
2666><TABLE
2667BORDER="0"
2668WIDTH="100%"
2669BGCOLOR="#FFD0D0"
2670CELLSPACING="0"
2671CELLPADDING="4"
2672CLASS="CALSTABLE"
2673><TR
2674><TD
2675WIDTH="20%"
2676ALIGN="RIGHT"
2677VALIGN="TOP"
2678><TT
2679CLASS="PARAMETER"
2680><I
2681>c</I
2682></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002683>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002684><TD
2685WIDTH="80%"
2686ALIGN="LEFT"
2687VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002688> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002689></TR
2690><TR
2691><TD
2692WIDTH="20%"
2693ALIGN="RIGHT"
2694VALIGN="TOP"
2695><I
2696CLASS="EMPHASIS"
2697>Returns</I
2698> :</TD
2699><TD
2700WIDTH="80%"
2701ALIGN="LEFT"
2702VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002703>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002704></TR
2705></TABLE
2706><P
2707></P
2708></DIV
2709></DIV
2710><HR><DIV
2711CLASS="REFSECT2"
2712><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00002713NAME="AEN17905"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002714></A
2715><H3
2716><A
2717NAME="XMLCREATEDOCPARSERCTXT"
2718></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002719>xmlCreateDocParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00002720><TABLE
2721BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002722BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002723WIDTH="100%"
2724CELLPADDING="6"
2725><TR
2726><TD
2727><PRE
2728CLASS="PROGRAMLISTING"
2729><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002730HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002731>xmlParserCtxtPtr</A
2732> xmlCreateDocParserCtxt (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002733HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002734>xmlChar</A
Daniel Veillardd692aa41999-02-28 21:54:31 +00002735> *cur);</PRE
2736></TD
2737></TR
2738></TABLE
2739><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002740>Creates a parser context for an XML in-memory document.</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00002741><P
Daniel Veillardd692aa41999-02-28 21:54:31 +00002742></P
2743><DIV
2744CLASS="INFORMALTABLE"
2745><P
2746></P
2747><TABLE
2748BORDER="0"
2749WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002750BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002751CELLSPACING="0"
2752CELLPADDING="4"
2753CLASS="CALSTABLE"
2754><TR
2755><TD
2756WIDTH="20%"
2757ALIGN="RIGHT"
2758VALIGN="TOP"
2759><TT
2760CLASS="PARAMETER"
2761><I
2762>cur</I
2763></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002764>&nbsp;:</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002765><TD
2766WIDTH="80%"
2767ALIGN="LEFT"
2768VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002769>&nbsp;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002770></TR
2771><TR
2772><TD
2773WIDTH="20%"
2774ALIGN="RIGHT"
2775VALIGN="TOP"
2776><I
2777CLASS="EMPHASIS"
2778>Returns</I
2779> :</TD
2780><TD
2781WIDTH="80%"
2782ALIGN="LEFT"
2783VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00002784>&#13;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002785></TR
2786></TABLE
2787><P
2788></P
2789></DIV
2790></DIV
2791><HR><DIV
2792CLASS="REFSECT2"
2793><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00002794NAME="AEN17926"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002795></A
2796><H3
2797><A
2798NAME="XMLCREATEFILEPARSERCTXT"
2799></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002800>xmlCreateFileParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00002801><TABLE
2802BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002803BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002804WIDTH="100%"
2805CELLPADDING="6"
2806><TR
2807><TD
2808><PRE
2809CLASS="PROGRAMLISTING"
2810><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002811HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002812>xmlParserCtxtPtr</A
2813> xmlCreateFileParserCtxt (const char *filename);</PRE
2814></TD
2815></TR
2816></TABLE
2817><P
2818>Create a parser context for a file content.
2819Automatic support for ZLIB/Compress compressed document is provided
2820by default if found at compile-time.</P
2821><P
2822></P
2823><DIV
2824CLASS="INFORMALTABLE"
2825><P
2826></P
2827><TABLE
2828BORDER="0"
2829WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002830BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002831CELLSPACING="0"
2832CELLPADDING="4"
2833CLASS="CALSTABLE"
2834><TR
2835><TD
2836WIDTH="20%"
2837ALIGN="RIGHT"
2838VALIGN="TOP"
2839><TT
2840CLASS="PARAMETER"
2841><I
2842>filename</I
2843></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002844>&nbsp;:</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002845><TD
2846WIDTH="80%"
2847ALIGN="LEFT"
2848VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002849> the filename</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002850></TR
2851><TR
2852><TD
2853WIDTH="20%"
2854ALIGN="RIGHT"
2855VALIGN="TOP"
2856><I
2857CLASS="EMPHASIS"
2858>Returns</I
2859> :</TD
2860><TD
2861WIDTH="80%"
2862ALIGN="LEFT"
2863VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002864>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002865></TR
2866></TABLE
2867><P
2868></P
2869></DIV
2870></DIV
2871><HR><DIV
2872CLASS="REFSECT2"
2873><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00002874NAME="AEN17946"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002875></A
2876><H3
2877><A
2878NAME="XMLCREATEMEMORYPARSERCTXT"
2879></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002880>xmlCreateMemoryParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00002881><TABLE
2882BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002883BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002884WIDTH="100%"
2885CELLPADDING="6"
2886><TR
2887><TD
2888><PRE
2889CLASS="PROGRAMLISTING"
2890><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002891HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002892>xmlParserCtxtPtr</A
2893> xmlCreateMemoryParserCtxt (char *buffer,
2894 int size);</PRE
2895></TD
2896></TR
2897></TABLE
2898><P
2899>Create a parser context for an XML in-memory document.</P
2900><P
2901></P
2902><DIV
2903CLASS="INFORMALTABLE"
2904><P
2905></P
2906><TABLE
2907BORDER="0"
2908WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002909BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002910CELLSPACING="0"
2911CELLPADDING="4"
2912CLASS="CALSTABLE"
2913><TR
2914><TD
2915WIDTH="20%"
2916ALIGN="RIGHT"
2917VALIGN="TOP"
2918><TT
2919CLASS="PARAMETER"
2920><I
2921>buffer</I
2922></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002923>&nbsp;:</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002924><TD
2925WIDTH="80%"
2926ALIGN="LEFT"
2927VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002928> a pointer to a char array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002929></TR
2930><TR
2931><TD
2932WIDTH="20%"
2933ALIGN="RIGHT"
2934VALIGN="TOP"
2935><TT
2936CLASS="PARAMETER"
2937><I
2938>size</I
2939></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002940>&nbsp;:</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002941><TD
2942WIDTH="80%"
2943ALIGN="LEFT"
2944VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002945> the size of the array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002946></TR
2947><TR
2948><TD
2949WIDTH="20%"
2950ALIGN="RIGHT"
2951VALIGN="TOP"
2952><I
2953CLASS="EMPHASIS"
2954>Returns</I
2955> :</TD
2956><TD
2957WIDTH="80%"
2958ALIGN="LEFT"
2959VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002960>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002961></TR
2962></TABLE
2963><P
2964></P
2965></DIV
2966></DIV
2967><HR><DIV
2968CLASS="REFSECT2"
2969><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00002970NAME="AEN17970"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002971></A
2972><H3
2973><A
2974NAME="XMLNEWPARSERCTXT"
2975></A
2976>xmlNewParserCtxt ()</H3
2977><TABLE
2978BORDER="0"
2979BGCOLOR="#D6E8FF"
2980WIDTH="100%"
2981CELLPADDING="6"
2982><TR
2983><TD
2984><PRE
2985CLASS="PROGRAMLISTING"
2986><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002987HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002988>xmlParserCtxtPtr</A
2989> xmlNewParserCtxt (void);</PRE
2990></TD
2991></TR
2992></TABLE
2993><P
2994>Allocate and initialize a new parser context.</P
2995><P
2996></P
2997><DIV
2998CLASS="INFORMALTABLE"
2999><P
3000></P
3001><TABLE
3002BORDER="0"
3003WIDTH="100%"
3004BGCOLOR="#FFD0D0"
3005CELLSPACING="0"
3006CELLPADDING="4"
3007CLASS="CALSTABLE"
3008><TR
3009><TD
3010WIDTH="20%"
3011ALIGN="RIGHT"
3012VALIGN="TOP"
3013><I
3014CLASS="EMPHASIS"
3015>Returns</I
3016> :</TD
3017><TD
3018WIDTH="80%"
3019ALIGN="LEFT"
3020VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003021>the xmlParserCtxtPtr or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003022></TR
3023></TABLE
3024><P
3025></P
3026></DIV
3027></DIV
3028><HR><DIV
3029CLASS="REFSECT2"
3030><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00003031NAME="AEN17986"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003032></A
3033><H3
3034><A
3035NAME="XMLCREATEENTITYPARSERCTXT"
3036></A
3037>xmlCreateEntityParserCtxt ()</H3
3038><TABLE
3039BORDER="0"
3040BGCOLOR="#D6E8FF"
3041WIDTH="100%"
3042CELLPADDING="6"
3043><TR
3044><TD
3045><PRE
3046CLASS="PROGRAMLISTING"
3047><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003048HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003049>xmlParserCtxtPtr</A
3050> xmlCreateEntityParserCtxt (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003051HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003052>xmlChar</A
3053> *URL,
3054 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003055HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003056>xmlChar</A
3057> *ID,
3058 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003059HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003060>xmlChar</A
3061> *base);</PRE
3062></TD
3063></TR
3064></TABLE
3065><P
3066>Create a parser context for an external entity
3067Automatic support for ZLIB/Compress compressed document is provided
3068by default if found at compile-time.</P
3069><P
3070></P
3071><DIV
3072CLASS="INFORMALTABLE"
3073><P
3074></P
3075><TABLE
3076BORDER="0"
3077WIDTH="100%"
3078BGCOLOR="#FFD0D0"
3079CELLSPACING="0"
3080CELLPADDING="4"
3081CLASS="CALSTABLE"
3082><TR
3083><TD
3084WIDTH="20%"
3085ALIGN="RIGHT"
3086VALIGN="TOP"
3087><TT
3088CLASS="PARAMETER"
3089><I
3090>URL</I
3091></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003092>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003093><TD
3094WIDTH="80%"
3095ALIGN="LEFT"
3096VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003097> the entity URL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003098></TR
3099><TR
3100><TD
3101WIDTH="20%"
3102ALIGN="RIGHT"
3103VALIGN="TOP"
3104><TT
3105CLASS="PARAMETER"
3106><I
3107>ID</I
3108></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003109>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003110><TD
3111WIDTH="80%"
3112ALIGN="LEFT"
3113VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003114> the entity PUBLIC ID</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003115></TR
3116><TR
3117><TD
3118WIDTH="20%"
3119ALIGN="RIGHT"
3120VALIGN="TOP"
3121><TT
3122CLASS="PARAMETER"
3123><I
3124>base</I
3125></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003126>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003127><TD
3128WIDTH="80%"
3129ALIGN="LEFT"
3130VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003131> a posible base for the target URI</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003132></TR
3133><TR
3134><TD
3135WIDTH="20%"
3136ALIGN="RIGHT"
3137VALIGN="TOP"
3138><I
3139CLASS="EMPHASIS"
3140>Returns</I
3141> :</TD
3142><TD
3143WIDTH="80%"
3144ALIGN="LEFT"
3145VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003146>the new parser context or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003147></TR
3148></TABLE
3149><P
3150></P
3151></DIV
3152></DIV
3153><HR><DIV
3154CLASS="REFSECT2"
3155><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00003156NAME="AEN18017"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003157></A
3158><H3
3159><A
3160NAME="XMLSWITCHENCODING"
3161></A
3162>xmlSwitchEncoding ()</H3
3163><TABLE
3164BORDER="0"
3165BGCOLOR="#D6E8FF"
3166WIDTH="100%"
3167CELLPADDING="6"
3168><TR
3169><TD
3170><PRE
3171CLASS="PROGRAMLISTING"
3172>int xmlSwitchEncoding (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003173HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003174>xmlParserCtxtPtr</A
3175> ctxt,
3176 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003177HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003178>xmlCharEncoding</A
3179> enc);</PRE
3180></TD
3181></TR
3182></TABLE
3183><P
3184>change the input functions when discovering the character encoding
3185of a given entity.</P
3186><P
3187></P
3188><DIV
3189CLASS="INFORMALTABLE"
3190><P
3191></P
3192><TABLE
3193BORDER="0"
3194WIDTH="100%"
3195BGCOLOR="#FFD0D0"
3196CELLSPACING="0"
3197CELLPADDING="4"
3198CLASS="CALSTABLE"
3199><TR
3200><TD
3201WIDTH="20%"
3202ALIGN="RIGHT"
3203VALIGN="TOP"
3204><TT
3205CLASS="PARAMETER"
3206><I
3207>ctxt</I
3208></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003209>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003210><TD
3211WIDTH="80%"
3212ALIGN="LEFT"
3213VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003214> the parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003215></TR
3216><TR
3217><TD
3218WIDTH="20%"
3219ALIGN="RIGHT"
3220VALIGN="TOP"
3221><TT
3222CLASS="PARAMETER"
3223><I
3224>enc</I
3225></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003226>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003227><TD
3228WIDTH="80%"
3229ALIGN="LEFT"
3230VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003231> the encoding value (number)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003232></TR
3233><TR
3234><TD
3235WIDTH="20%"
3236ALIGN="RIGHT"
3237VALIGN="TOP"
3238><I
3239CLASS="EMPHASIS"
3240>Returns</I
3241> :</TD
3242><TD
3243WIDTH="80%"
3244ALIGN="LEFT"
3245VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003246>0 in case of success, -1 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003247></TR
3248></TABLE
3249><P
3250></P
3251></DIV
3252></DIV
3253><HR><DIV
3254CLASS="REFSECT2"
3255><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00003256NAME="AEN18042"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003257></A
3258><H3
3259><A
3260NAME="XMLSWITCHTOENCODING"
3261></A
3262>xmlSwitchToEncoding ()</H3
3263><TABLE
3264BORDER="0"
3265BGCOLOR="#D6E8FF"
3266WIDTH="100%"
3267CELLPADDING="6"
3268><TR
3269><TD
3270><PRE
3271CLASS="PROGRAMLISTING"
3272>int xmlSwitchToEncoding (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003273HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003274>xmlParserCtxtPtr</A
3275> ctxt,
3276 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003277HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003278>xmlCharEncodingHandlerPtr</A
3279> handler);</PRE
3280></TD
3281></TR
3282></TABLE
3283><P
3284>change the input functions when discovering the character encoding
3285of a given entity.</P
3286><P
3287></P
3288><DIV
3289CLASS="INFORMALTABLE"
3290><P
3291></P
3292><TABLE
3293BORDER="0"
3294WIDTH="100%"
3295BGCOLOR="#FFD0D0"
3296CELLSPACING="0"
3297CELLPADDING="4"
3298CLASS="CALSTABLE"
3299><TR
3300><TD
3301WIDTH="20%"
3302ALIGN="RIGHT"
3303VALIGN="TOP"
3304><TT
3305CLASS="PARAMETER"
3306><I
3307>ctxt</I
3308></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003309>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003310><TD
3311WIDTH="80%"
3312ALIGN="LEFT"
3313VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003314> the parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003315></TR
3316><TR
3317><TD
3318WIDTH="20%"
3319ALIGN="RIGHT"
3320VALIGN="TOP"
3321><TT
3322CLASS="PARAMETER"
3323><I
3324>handler</I
3325></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003326>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003327><TD
3328WIDTH="80%"
3329ALIGN="LEFT"
3330VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003331> the encoding handler</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003332></TR
3333><TR
3334><TD
3335WIDTH="20%"
3336ALIGN="RIGHT"
3337VALIGN="TOP"
3338><I
3339CLASS="EMPHASIS"
3340>Returns</I
3341> :</TD
3342><TD
3343WIDTH="80%"
3344ALIGN="LEFT"
3345VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003346>0 in case of success, -1 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003347></TR
3348></TABLE
3349><P
3350></P
3351></DIV
3352></DIV
3353><HR><DIV
3354CLASS="REFSECT2"
3355><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00003356NAME="AEN18067"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003357></A
3358><H3
3359><A
3360NAME="XMLFREEPARSERCTXT"
3361></A
3362>xmlFreeParserCtxt ()</H3
3363><TABLE
3364BORDER="0"
3365BGCOLOR="#D6E8FF"
3366WIDTH="100%"
3367CELLPADDING="6"
3368><TR
3369><TD
3370><PRE
3371CLASS="PROGRAMLISTING"
3372>void xmlFreeParserCtxt (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003373HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003374>xmlParserCtxtPtr</A
3375> ctxt);</PRE
3376></TD
3377></TR
3378></TABLE
3379><P
3380>Free all the memory used by a parser context. However the parsed
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003381document in ctxt-&gt;myDoc is not freed.</P
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003382><P
3383></P
3384><DIV
3385CLASS="INFORMALTABLE"
3386><P
3387></P
3388><TABLE
3389BORDER="0"
3390WIDTH="100%"
3391BGCOLOR="#FFD0D0"
3392CELLSPACING="0"
3393CELLPADDING="4"
3394CLASS="CALSTABLE"
3395><TR
3396><TD
3397WIDTH="20%"
3398ALIGN="RIGHT"
3399VALIGN="TOP"
3400><TT
3401CLASS="PARAMETER"
3402><I
3403>ctxt</I
3404></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003405>&nbsp;:</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003406><TD
3407WIDTH="80%"
3408ALIGN="LEFT"
3409VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00003410>&#13;</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003411></TR
3412></TABLE
3413><P
3414></P
3415></DIV
3416></DIV
3417><HR><DIV
3418CLASS="REFSECT2"
3419><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00003420NAME="AEN18083"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003421></A
3422><H3
3423><A
3424NAME="XMLHANDLEENTITY"
3425></A
3426>xmlHandleEntity ()</H3
3427><TABLE
3428BORDER="0"
3429BGCOLOR="#D6E8FF"
3430WIDTH="100%"
3431CELLPADDING="6"
3432><TR
3433><TD
3434><PRE
3435CLASS="PROGRAMLISTING"
3436>void xmlHandleEntity (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003437HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003438>xmlParserCtxtPtr</A
3439> ctxt,
3440 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003441HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003442>xmlEntityPtr</A
3443> entity);</PRE
3444></TD
3445></TR
3446></TABLE
3447><P
3448>Default handling of defined entities, when should we define a new input
3449stream ? When do we just handle that as a set of chars ?</P
3450><P
3451>OBSOLETE: to be removed at some point.</P
3452><P
3453></P
3454><DIV
3455CLASS="INFORMALTABLE"
3456><P
3457></P
3458><TABLE
3459BORDER="0"
3460WIDTH="100%"
3461BGCOLOR="#FFD0D0"
3462CELLSPACING="0"
3463CELLPADDING="4"
3464CLASS="CALSTABLE"
3465><TR
3466><TD
3467WIDTH="20%"
3468ALIGN="RIGHT"
3469VALIGN="TOP"
3470><TT
3471CLASS="PARAMETER"
3472><I
3473>ctxt</I
3474></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003475>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003476><TD
3477WIDTH="80%"
3478ALIGN="LEFT"
3479VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003480> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003481></TR
3482><TR
3483><TD
3484WIDTH="20%"
3485ALIGN="RIGHT"
3486VALIGN="TOP"
3487><TT
3488CLASS="PARAMETER"
3489><I
3490>entity</I
3491></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003492>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003493><TD
3494WIDTH="80%"
3495ALIGN="LEFT"
3496VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003497> an XML entity pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003498></TR
3499></TABLE
3500><P
3501></P
3502></DIV
3503></DIV
3504><HR><DIV
3505CLASS="REFSECT2"
3506><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00003507NAME="AEN18105"
Daniel Veillarda41123c2001-04-22 19:31:20 +00003508></A
3509><H3
3510><A
3511NAME="XMLNEWSTRINGINPUTSTREAM"
3512></A
3513>xmlNewStringInputStream ()</H3
3514><TABLE
3515BORDER="0"
3516BGCOLOR="#D6E8FF"
3517WIDTH="100%"
3518CELLPADDING="6"
3519><TR
3520><TD
3521><PRE
3522CLASS="PROGRAMLISTING"
3523><A
3524HREF="libxml-parser.html#XMLPARSERINPUTPTR"
3525>xmlParserInputPtr</A
3526> xmlNewStringInputStream (<A
3527HREF="libxml-parser.html#XMLPARSERCTXTPTR"
3528>xmlParserCtxtPtr</A
3529> ctxt,
3530 const <A
3531HREF="libxml-tree.html#XMLCHAR"
3532>xmlChar</A
3533> *buffer);</PRE
3534></TD
3535></TR
3536></TABLE
3537><P
3538>Create a new input stream based on a memory buffer.</P
3539><P
3540></P
3541><DIV
3542CLASS="INFORMALTABLE"
3543><P
3544></P
3545><TABLE
3546BORDER="0"
3547WIDTH="100%"
3548BGCOLOR="#FFD0D0"
3549CELLSPACING="0"
3550CELLPADDING="4"
3551CLASS="CALSTABLE"
3552><TR
3553><TD
3554WIDTH="20%"
3555ALIGN="RIGHT"
3556VALIGN="TOP"
3557><TT
3558CLASS="PARAMETER"
3559><I
3560>ctxt</I
3561></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003562>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003563><TD
3564WIDTH="80%"
3565ALIGN="LEFT"
3566VALIGN="TOP"
3567> an XML parser context</TD
3568></TR
3569><TR
3570><TD
3571WIDTH="20%"
3572ALIGN="RIGHT"
3573VALIGN="TOP"
3574><TT
3575CLASS="PARAMETER"
3576><I
3577>buffer</I
3578></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003579>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003580><TD
3581WIDTH="80%"
3582ALIGN="LEFT"
3583VALIGN="TOP"
3584> an memory buffer</TD
3585></TR
3586><TR
3587><TD
3588WIDTH="20%"
3589ALIGN="RIGHT"
3590VALIGN="TOP"
3591><I
3592CLASS="EMPHASIS"
3593>Returns</I
3594> :</TD
3595><TD
3596WIDTH="80%"
3597ALIGN="LEFT"
3598VALIGN="TOP"
3599>the new input stream</TD
3600></TR
3601></TABLE
3602><P
3603></P
3604></DIV
3605></DIV
3606><HR><DIV
3607CLASS="REFSECT2"
3608><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00003609NAME="AEN18131"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003610></A
3611><H3
3612><A
3613NAME="XMLNEWENTITYINPUTSTREAM"
3614></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003615>xmlNewEntityInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003616><TABLE
3617BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003618BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003619WIDTH="100%"
3620CELLPADDING="6"
3621><TR
3622><TD
3623><PRE
3624CLASS="PROGRAMLISTING"
3625><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003626HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003627>xmlParserInputPtr</A
3628> xmlNewEntityInputStream (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003629HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003630>xmlParserCtxtPtr</A
3631> ctxt,
3632 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003633HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003634>xmlEntityPtr</A
3635> entity);</PRE
3636></TD
3637></TR
3638></TABLE
3639><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00003640>Create a new input stream based on an xmlEntityPtr</P
Daniel Veillardbc50b591999-03-01 12:28:53 +00003641><P
3642></P
3643><DIV
3644CLASS="INFORMALTABLE"
3645><P
3646></P
3647><TABLE
3648BORDER="0"
3649WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003650BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003651CELLSPACING="0"
3652CELLPADDING="4"
3653CLASS="CALSTABLE"
3654><TR
3655><TD
3656WIDTH="20%"
3657ALIGN="RIGHT"
3658VALIGN="TOP"
3659><TT
3660CLASS="PARAMETER"
3661><I
3662>ctxt</I
3663></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003664>&nbsp;:</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003665><TD
3666WIDTH="80%"
3667ALIGN="LEFT"
3668VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003669> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003670></TR
3671><TR
3672><TD
3673WIDTH="20%"
3674ALIGN="RIGHT"
3675VALIGN="TOP"
3676><TT
3677CLASS="PARAMETER"
3678><I
3679>entity</I
3680></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003681>&nbsp;:</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003682><TD
3683WIDTH="80%"
3684ALIGN="LEFT"
3685VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003686> an Entity pointer</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003687></TR
3688><TR
3689><TD
3690WIDTH="20%"
3691ALIGN="RIGHT"
3692VALIGN="TOP"
3693><I
3694CLASS="EMPHASIS"
3695>Returns</I
3696> :</TD
3697><TD
3698WIDTH="80%"
3699ALIGN="LEFT"
3700VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003701>the new input stream or NULL</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003702></TR
3703></TABLE
3704><P
3705></P
3706></DIV
3707></DIV
3708><HR><DIV
3709CLASS="REFSECT2"
3710><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00003711NAME="AEN18157"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003712></A
3713><H3
3714><A
3715NAME="XMLPUSHINPUT"
3716></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003717>xmlPushInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003718><TABLE
3719BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003720BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003721WIDTH="100%"
3722CELLPADDING="6"
3723><TR
3724><TD
3725><PRE
3726CLASS="PROGRAMLISTING"
3727>void xmlPushInput (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003728HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003729>xmlParserCtxtPtr</A
3730> ctxt,
3731 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003732HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003733>xmlParserInputPtr</A
3734> input);</PRE
3735></TD
3736></TR
3737></TABLE
3738><P
3739>xmlPushInput: switch to a new input stream which is stacked on top
3740of the previous one(s).</P
3741><P
3742></P
3743><DIV
3744CLASS="INFORMALTABLE"
3745><P
3746></P
3747><TABLE
3748BORDER="0"
3749WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003750BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003751CELLSPACING="0"
3752CELLPADDING="4"
3753CLASS="CALSTABLE"
3754><TR
3755><TD
3756WIDTH="20%"
3757ALIGN="RIGHT"
3758VALIGN="TOP"
3759><TT
3760CLASS="PARAMETER"
3761><I
3762>ctxt</I
3763></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003764>&nbsp;:</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003765><TD
3766WIDTH="80%"
3767ALIGN="LEFT"
3768VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003769> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003770></TR
3771><TR
3772><TD
3773WIDTH="20%"
3774ALIGN="RIGHT"
3775VALIGN="TOP"
3776><TT
3777CLASS="PARAMETER"
3778><I
3779>input</I
3780></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003781>&nbsp;:</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003782><TD
3783WIDTH="80%"
3784ALIGN="LEFT"
3785VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003786> an XML parser input fragment (entity, XML fragment ...).</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003787></TR
3788></TABLE
3789><P
3790></P
3791></DIV
3792></DIV
3793><HR><DIV
3794CLASS="REFSECT2"
3795><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00003796NAME="AEN18178"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003797></A
3798><H3
3799><A
3800NAME="XMLPOPINPUT"
3801></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003802>xmlPopInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003803><TABLE
3804BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003805BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003806WIDTH="100%"
3807CELLPADDING="6"
3808><TR
3809><TD
3810><PRE
3811CLASS="PROGRAMLISTING"
3812><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003813HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003814>xmlChar</A
3815> xmlPopInput (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003816HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003817>xmlParserCtxtPtr</A
3818> ctxt);</PRE
3819></TD
3820></TR
3821></TABLE
3822><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003823>xmlPopInput: the current input pointed by ctxt-&gt;input came to an end
Daniel Veillardbc50b591999-03-01 12:28:53 +00003824pop it and return the next char.</P
3825><P
Daniel Veillardbc50b591999-03-01 12:28:53 +00003826></P
3827><DIV
3828CLASS="INFORMALTABLE"
3829><P
3830></P
3831><TABLE
3832BORDER="0"
3833WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003834BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003835CELLSPACING="0"
3836CELLPADDING="4"
3837CLASS="CALSTABLE"
3838><TR
3839><TD
3840WIDTH="20%"
3841ALIGN="RIGHT"
3842VALIGN="TOP"
3843><TT
3844CLASS="PARAMETER"
3845><I
3846>ctxt</I
3847></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003848>&nbsp;:</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003849><TD
3850WIDTH="80%"
3851ALIGN="LEFT"
3852VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003853> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003854></TR
3855><TR
3856><TD
3857WIDTH="20%"
3858ALIGN="RIGHT"
3859VALIGN="TOP"
3860><I
3861CLASS="EMPHASIS"
3862>Returns</I
3863> :</TD
3864><TD
3865WIDTH="80%"
3866ALIGN="LEFT"
3867VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003868>the current xmlChar in the parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003869></TR
3870></TABLE
3871><P
3872></P
3873></DIV
3874></DIV
3875><HR><DIV
3876CLASS="REFSECT2"
3877><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00003878NAME="AEN18199"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003879></A
3880><H3
3881><A
3882NAME="XMLFREEINPUTSTREAM"
3883></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003884>xmlFreeInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003885><TABLE
3886BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003887BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003888WIDTH="100%"
3889CELLPADDING="6"
3890><TR
3891><TD
3892><PRE
3893CLASS="PROGRAMLISTING"
3894>void xmlFreeInputStream (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003895HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003896>xmlParserInputPtr</A
3897> input);</PRE
3898></TD
3899></TR
3900></TABLE
3901><P
3902>Free up an input stream.</P
3903><P
3904></P
3905><DIV
3906CLASS="INFORMALTABLE"
3907><P
3908></P
3909><TABLE
3910BORDER="0"
3911WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003912BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003913CELLSPACING="0"
3914CELLPADDING="4"
3915CLASS="CALSTABLE"
3916><TR
3917><TD
3918WIDTH="20%"
3919ALIGN="RIGHT"
3920VALIGN="TOP"
3921><TT
3922CLASS="PARAMETER"
3923><I
3924>input</I
3925></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003926>&nbsp;:</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003927><TD
3928WIDTH="80%"
3929ALIGN="LEFT"
3930VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003931> an xmlParserInputPtr</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003932></TR
3933></TABLE
3934><P
3935></P
3936></DIV
3937></DIV
3938><HR><DIV
3939CLASS="REFSECT2"
3940><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00003941NAME="AEN18215"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003942></A
3943><H3
3944><A
3945NAME="XMLNEWINPUTFROMFILE"
3946></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003947>xmlNewInputFromFile ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00003948><TABLE
3949BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003950BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003951WIDTH="100%"
3952CELLPADDING="6"
3953><TR
3954><TD
3955><PRE
3956CLASS="PROGRAMLISTING"
3957><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003958HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003959>xmlParserInputPtr</A
3960> xmlNewInputFromFile (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003961HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003962>xmlParserCtxtPtr</A
3963> ctxt,
3964 const char *filename);</PRE
3965></TD
3966></TR
3967></TABLE
3968><P
3969>Create a new input stream based on a file.</P
3970><P
3971></P
3972><DIV
3973CLASS="INFORMALTABLE"
3974><P
3975></P
3976><TABLE
3977BORDER="0"
3978WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003979BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003980CELLSPACING="0"
3981CELLPADDING="4"
3982CLASS="CALSTABLE"
3983><TR
3984><TD
3985WIDTH="20%"
3986ALIGN="RIGHT"
3987VALIGN="TOP"
3988><TT
3989CLASS="PARAMETER"
3990><I
3991>ctxt</I
3992></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003993>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00003994><TD
3995WIDTH="80%"
3996ALIGN="LEFT"
3997VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003998> an XML parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00003999></TR
4000><TR
4001><TD
4002WIDTH="20%"
4003ALIGN="RIGHT"
4004VALIGN="TOP"
4005><TT
4006CLASS="PARAMETER"
4007><I
4008>filename</I
4009></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004010>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00004011><TD
4012WIDTH="80%"
4013ALIGN="LEFT"
4014VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004015> the filename to use as entity</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00004016></TR
4017><TR
4018><TD
4019WIDTH="20%"
4020ALIGN="RIGHT"
4021VALIGN="TOP"
4022><I
4023CLASS="EMPHASIS"
4024>Returns</I
4025> :</TD
4026><TD
4027WIDTH="80%"
4028ALIGN="LEFT"
4029VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004030>the new input stream or NULL in case of error</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00004031></TR
4032></TABLE
4033><P
4034></P
4035></DIV
4036></DIV
4037><HR><DIV
4038CLASS="REFSECT2"
4039><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00004040NAME="AEN18240"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004041></A
4042><H3
4043><A
4044NAME="XMLNEWINPUTSTREAM"
4045></A
4046>xmlNewInputStream ()</H3
4047><TABLE
4048BORDER="0"
4049BGCOLOR="#D6E8FF"
4050WIDTH="100%"
4051CELLPADDING="6"
4052><TR
4053><TD
4054><PRE
4055CLASS="PROGRAMLISTING"
4056><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004057HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004058>xmlParserInputPtr</A
4059> xmlNewInputStream (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004060HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004061>xmlParserCtxtPtr</A
4062> ctxt);</PRE
4063></TD
4064></TR
4065></TABLE
4066><P
4067>Create a new input stream structure</P
4068><P
4069></P
4070><DIV
4071CLASS="INFORMALTABLE"
4072><P
4073></P
4074><TABLE
4075BORDER="0"
4076WIDTH="100%"
4077BGCOLOR="#FFD0D0"
4078CELLSPACING="0"
4079CELLPADDING="4"
4080CLASS="CALSTABLE"
4081><TR
4082><TD
4083WIDTH="20%"
4084ALIGN="RIGHT"
4085VALIGN="TOP"
4086><TT
4087CLASS="PARAMETER"
4088><I
4089>ctxt</I
4090></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004091>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004092><TD
4093WIDTH="80%"
4094ALIGN="LEFT"
4095VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004096> an XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004097></TR
4098><TR
4099><TD
4100WIDTH="20%"
4101ALIGN="RIGHT"
4102VALIGN="TOP"
4103><I
4104CLASS="EMPHASIS"
4105>Returns</I
4106> :</TD
4107><TD
4108WIDTH="80%"
4109ALIGN="LEFT"
4110VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004111>the new input stream or NULL</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004112></TR
4113></TABLE
4114><P
4115></P
4116></DIV
4117></DIV
4118><HR><DIV
4119CLASS="REFSECT2"
4120><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00004121NAME="AEN18261"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004122></A
4123><H3
4124><A
4125NAME="XMLSPLITQNAME"
4126></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004127>xmlSplitQName ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004128><TABLE
4129BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004130BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004131WIDTH="100%"
4132CELLPADDING="6"
4133><TR
4134><TD
4135><PRE
4136CLASS="PROGRAMLISTING"
4137><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004138HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004139>xmlChar</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004140>* xmlSplitQName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004141HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004142>xmlParserCtxtPtr</A
4143> ctxt,
4144 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004145HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004146>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004147> *name,
4148 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004149HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004150>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004151> **prefix);</PRE
4152></TD
4153></TR
4154></TABLE
4155><P
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004156>parse an UTF8 encoded XML qualified name string</P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004157><P
4158>[NS 5] QName ::= (Prefix ':')? LocalPart</P
4159><P
4160>[NS 6] Prefix ::= NCName</P
4161><P
4162>[NS 7] LocalPart ::= NCName</P
4163><P
4164></P
4165><DIV
4166CLASS="INFORMALTABLE"
4167><P
4168></P
4169><TABLE
4170BORDER="0"
4171WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004172BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004173CELLSPACING="0"
4174CELLPADDING="4"
4175CLASS="CALSTABLE"
4176><TR
4177><TD
4178WIDTH="20%"
4179ALIGN="RIGHT"
4180VALIGN="TOP"
4181><TT
4182CLASS="PARAMETER"
4183><I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004184>ctxt</I
4185></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004186>&nbsp;:</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004187><TD
4188WIDTH="80%"
4189ALIGN="LEFT"
4190VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004191> an XML parser context</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004192></TR
4193><TR
4194><TD
4195WIDTH="20%"
4196ALIGN="RIGHT"
4197VALIGN="TOP"
4198><TT
4199CLASS="PARAMETER"
4200><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004201>name</I
4202></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004203>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004204><TD
4205WIDTH="80%"
4206ALIGN="LEFT"
4207VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004208> an XML parser context</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004209></TR
4210><TR
4211><TD
4212WIDTH="20%"
4213ALIGN="RIGHT"
4214VALIGN="TOP"
4215><TT
4216CLASS="PARAMETER"
4217><I
4218>prefix</I
4219></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004220>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004221><TD
4222WIDTH="80%"
4223ALIGN="LEFT"
4224VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004225> a xmlChar ** </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004226></TR
4227><TR
4228><TD
4229WIDTH="20%"
4230ALIGN="RIGHT"
4231VALIGN="TOP"
4232><I
4233CLASS="EMPHASIS"
4234>Returns</I
4235> :</TD
4236><TD
4237WIDTH="80%"
4238ALIGN="LEFT"
4239VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004240>the local part, and prefix is updated
4241to get the Prefix if any.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004242></TR
4243></TABLE
4244><P
4245></P
4246></DIV
4247></DIV
4248><HR><DIV
4249CLASS="REFSECT2"
4250><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00004251NAME="AEN18295"
Daniel Veillard35925471999-02-25 08:46:07 +00004252></A
4253><H3
4254><A
4255NAME="XMLNAMESPACEPARSENCNAME"
4256></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004257>xmlNamespaceParseNCName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004258><TABLE
4259BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004260BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004261WIDTH="100%"
4262CELLPADDING="6"
4263><TR
4264><TD
4265><PRE
4266CLASS="PROGRAMLISTING"
4267><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004268HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004269>xmlChar</A
4270>* xmlNamespaceParseNCName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004271HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004272>xmlParserCtxtPtr</A
4273> ctxt);</PRE
4274></TD
4275></TR
4276></TABLE
4277><P
4278>parse an XML namespace name.</P
4279><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004280>TODO: this seems not in use anymore, the namespace handling is done on
4281top of the SAX interfaces, i.e. not on raw input.</P
4282><P
Daniel Veillard35925471999-02-25 08:46:07 +00004283>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
4284><P
4285>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
4286CombiningChar | Extender</P
4287><P
4288></P
4289><DIV
4290CLASS="INFORMALTABLE"
4291><P
4292></P
4293><TABLE
4294BORDER="0"
4295WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004296BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004297CELLSPACING="0"
4298CELLPADDING="4"
4299CLASS="CALSTABLE"
4300><TR
4301><TD
4302WIDTH="20%"
4303ALIGN="RIGHT"
4304VALIGN="TOP"
4305><TT
4306CLASS="PARAMETER"
4307><I
4308>ctxt</I
4309></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004310>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004311><TD
4312WIDTH="80%"
4313ALIGN="LEFT"
4314VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004315> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004316></TR
4317><TR
4318><TD
4319WIDTH="20%"
4320ALIGN="RIGHT"
4321VALIGN="TOP"
4322><I
4323CLASS="EMPHASIS"
4324>Returns</I
4325> :</TD
4326><TD
4327WIDTH="80%"
4328ALIGN="LEFT"
4329VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004330>the namespace name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004331></TR
4332></TABLE
4333><P
4334></P
4335></DIV
4336></DIV
4337><HR><DIV
4338CLASS="REFSECT2"
4339><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00004340NAME="AEN18319"
Daniel Veillard35925471999-02-25 08:46:07 +00004341></A
4342><H3
4343><A
4344NAME="XMLNAMESPACEPARSEQNAME"
4345></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004346>xmlNamespaceParseQName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004347><TABLE
4348BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004349BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004350WIDTH="100%"
4351CELLPADDING="6"
4352><TR
4353><TD
4354><PRE
4355CLASS="PROGRAMLISTING"
4356><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004357HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004358>xmlChar</A
4359>* xmlNamespaceParseQName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004360HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004361>xmlParserCtxtPtr</A
4362> ctxt,
4363 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004364HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004365>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004366> **prefix);</PRE
4367></TD
4368></TR
4369></TABLE
4370><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004371>TODO: this seems not in use anymore, the namespace handling is done on
4372top of the SAX interfaces, i.e. not on raw input.</P
4373><P
Daniel Veillard35925471999-02-25 08:46:07 +00004374>parse an XML qualified name</P
4375><P
4376>[NS 5] QName ::= (Prefix ':')? LocalPart</P
4377><P
4378>[NS 6] Prefix ::= NCName</P
4379><P
4380>[NS 7] LocalPart ::= NCName</P
4381><P
4382></P
4383><DIV
4384CLASS="INFORMALTABLE"
4385><P
4386></P
4387><TABLE
4388BORDER="0"
4389WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004390BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004391CELLSPACING="0"
4392CELLPADDING="4"
4393CLASS="CALSTABLE"
4394><TR
4395><TD
4396WIDTH="20%"
4397ALIGN="RIGHT"
4398VALIGN="TOP"
4399><TT
4400CLASS="PARAMETER"
4401><I
4402>ctxt</I
4403></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004404>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004405><TD
4406WIDTH="80%"
4407ALIGN="LEFT"
4408VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004409> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004410></TR
4411><TR
4412><TD
4413WIDTH="20%"
4414ALIGN="RIGHT"
4415VALIGN="TOP"
4416><TT
4417CLASS="PARAMETER"
4418><I
4419>prefix</I
4420></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004421>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004422><TD
4423WIDTH="80%"
4424ALIGN="LEFT"
4425VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004426> a xmlChar ** </TD
Daniel Veillard35925471999-02-25 08:46:07 +00004427></TR
4428><TR
4429><TD
4430WIDTH="20%"
4431ALIGN="RIGHT"
4432VALIGN="TOP"
4433><I
4434CLASS="EMPHASIS"
4435>Returns</I
4436> :</TD
4437><TD
4438WIDTH="80%"
4439ALIGN="LEFT"
4440VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004441>the local part, and prefix is updated
4442to get the Prefix if any.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004443></TR
4444></TABLE
4445><P
4446></P
4447></DIV
4448></DIV
4449><HR><DIV
4450CLASS="REFSECT2"
4451><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00004452NAME="AEN18349"
Daniel Veillard35925471999-02-25 08:46:07 +00004453></A
4454><H3
4455><A
4456NAME="XMLNAMESPACEPARSENSDEF"
4457></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004458>xmlNamespaceParseNSDef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004459><TABLE
4460BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004461BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004462WIDTH="100%"
4463CELLPADDING="6"
4464><TR
4465><TD
4466><PRE
4467CLASS="PROGRAMLISTING"
4468><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004469HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004470>xmlChar</A
4471>* xmlNamespaceParseNSDef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004472HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004473>xmlParserCtxtPtr</A
4474> ctxt);</PRE
4475></TD
4476></TR
4477></TABLE
4478><P
4479>parse a namespace prefix declaration</P
4480><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004481>TODO: this seems not in use anymore, the namespace handling is done on
4482top of the SAX interfaces, i.e. not on raw input.</P
4483><P
Daniel Veillard35925471999-02-25 08:46:07 +00004484>[NS 1] NSDef ::= PrefixDef Eq SystemLiteral</P
4485><P
4486>[NS 2] PrefixDef ::= 'xmlns' (':' NCName)?</P
4487><P
4488></P
4489><DIV
4490CLASS="INFORMALTABLE"
4491><P
4492></P
4493><TABLE
4494BORDER="0"
4495WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004496BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004497CELLSPACING="0"
4498CELLPADDING="4"
4499CLASS="CALSTABLE"
4500><TR
4501><TD
4502WIDTH="20%"
4503ALIGN="RIGHT"
4504VALIGN="TOP"
4505><TT
4506CLASS="PARAMETER"
4507><I
4508>ctxt</I
4509></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004510>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004511><TD
4512WIDTH="80%"
4513ALIGN="LEFT"
4514VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004515> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004516></TR
4517><TR
4518><TD
4519WIDTH="20%"
4520ALIGN="RIGHT"
4521VALIGN="TOP"
4522><I
4523CLASS="EMPHASIS"
4524>Returns</I
4525> :</TD
4526><TD
4527WIDTH="80%"
4528ALIGN="LEFT"
4529VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004530>the namespace name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004531></TR
4532></TABLE
4533><P
4534></P
4535></DIV
4536></DIV
4537><HR><DIV
4538CLASS="REFSECT2"
4539><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00004540NAME="AEN18373"
Daniel Veillard35925471999-02-25 08:46:07 +00004541></A
4542><H3
4543><A
4544NAME="XMLPARSEQUOTEDSTRING"
4545></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004546>xmlParseQuotedString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004547><TABLE
4548BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004549BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004550WIDTH="100%"
4551CELLPADDING="6"
4552><TR
4553><TD
4554><PRE
4555CLASS="PROGRAMLISTING"
4556><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004557HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004558>xmlChar</A
4559>* xmlParseQuotedString (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004560HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004561>xmlParserCtxtPtr</A
4562> ctxt);</PRE
4563></TD
4564></TR
4565></TABLE
4566><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004567>Parse and return a string between quotes or doublequotes</P
4568><P
4569>TODO: Deprecated, to be removed at next drop of binary compatibility</P
Daniel Veillard35925471999-02-25 08:46:07 +00004570><P
4571></P
4572><DIV
4573CLASS="INFORMALTABLE"
4574><P
4575></P
4576><TABLE
4577BORDER="0"
4578WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004579BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004580CELLSPACING="0"
4581CELLPADDING="4"
4582CLASS="CALSTABLE"
4583><TR
4584><TD
4585WIDTH="20%"
4586ALIGN="RIGHT"
4587VALIGN="TOP"
4588><TT
4589CLASS="PARAMETER"
4590><I
4591>ctxt</I
4592></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004593>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004594><TD
4595WIDTH="80%"
4596ALIGN="LEFT"
4597VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004598> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004599></TR
4600><TR
4601><TD
4602WIDTH="20%"
4603ALIGN="RIGHT"
4604VALIGN="TOP"
4605><I
4606CLASS="EMPHASIS"
4607>Returns</I
4608> :</TD
4609><TD
4610WIDTH="80%"
4611ALIGN="LEFT"
4612VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004613>the string parser or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004614></TR
4615></TABLE
4616><P
4617></P
4618></DIV
4619></DIV
4620><HR><DIV
4621CLASS="REFSECT2"
4622><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00004623NAME="AEN18395"
Daniel Veillard35925471999-02-25 08:46:07 +00004624></A
4625><H3
4626><A
4627NAME="XMLPARSENAMESPACE"
4628></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004629>xmlParseNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004630><TABLE
4631BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004632BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004633WIDTH="100%"
4634CELLPADDING="6"
4635><TR
4636><TD
4637><PRE
4638CLASS="PROGRAMLISTING"
4639>void xmlParseNamespace (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004640HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004641>xmlParserCtxtPtr</A
4642> ctxt);</PRE
4643></TD
4644></TR
4645></TABLE
4646><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004647>xmlParseNamespace: parse specific PI '&lt;?namespace ...' constructs.</P
Daniel Veillard35925471999-02-25 08:46:07 +00004648><P
4649>This is what the older xml-name Working Draft specified, a bunch of
4650other stuff may still rely on it, so support is still here as
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004651if it was declared on the root of the Tree:-(</P
Daniel Veillard35925471999-02-25 08:46:07 +00004652><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004653>TODO: remove from library</P
4654><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004655>To be removed at next drop of binary compatibility</P
4656><P
Daniel Veillard35925471999-02-25 08:46:07 +00004657></P
4658><DIV
4659CLASS="INFORMALTABLE"
4660><P
4661></P
4662><TABLE
4663BORDER="0"
4664WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004665BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004666CELLSPACING="0"
4667CELLPADDING="4"
4668CLASS="CALSTABLE"
4669><TR
4670><TD
4671WIDTH="20%"
4672ALIGN="RIGHT"
4673VALIGN="TOP"
4674><TT
4675CLASS="PARAMETER"
4676><I
4677>ctxt</I
4678></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004679>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004680><TD
4681WIDTH="80%"
4682ALIGN="LEFT"
4683VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004684> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004685></TR
4686></TABLE
4687><P
4688></P
4689></DIV
4690></DIV
4691><HR><DIV
4692CLASS="REFSECT2"
4693><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00004694NAME="AEN18414"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004695></A
4696><H3
4697><A
4698NAME="XMLSCANNAME"
4699></A
4700>xmlScanName ()</H3
4701><TABLE
4702BORDER="0"
4703BGCOLOR="#D6E8FF"
4704WIDTH="100%"
4705CELLPADDING="6"
4706><TR
4707><TD
4708><PRE
4709CLASS="PROGRAMLISTING"
4710><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004711HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004712>xmlChar</A
4713>* xmlScanName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004714HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004715>xmlParserCtxtPtr</A
4716> ctxt);</PRE
4717></TD
4718></TR
4719></TABLE
4720><P
4721>Trickery: parse an XML name but without consuming the input flow
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004722Needed for rollback cases. Used only when parsing entities references.</P
4723><P
4724>TODO: seems deprecated now, only used in the default part of
4725xmlParserHandleReference</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004726><P
4727>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
4728CombiningChar | Extender</P
4729><P
4730>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
4731><P
4732>[6] Names ::= Name (S Name)*</P
4733><P
4734></P
4735><DIV
4736CLASS="INFORMALTABLE"
4737><P
4738></P
4739><TABLE
4740BORDER="0"
4741WIDTH="100%"
4742BGCOLOR="#FFD0D0"
4743CELLSPACING="0"
4744CELLPADDING="4"
4745CLASS="CALSTABLE"
4746><TR
4747><TD
4748WIDTH="20%"
4749ALIGN="RIGHT"
4750VALIGN="TOP"
4751><TT
4752CLASS="PARAMETER"
4753><I
4754>ctxt</I
4755></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004756>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004757><TD
4758WIDTH="80%"
4759ALIGN="LEFT"
4760VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004761> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004762></TR
4763><TR
4764><TD
4765WIDTH="20%"
4766ALIGN="RIGHT"
4767VALIGN="TOP"
4768><I
4769CLASS="EMPHASIS"
4770>Returns</I
4771> :</TD
4772><TD
4773WIDTH="80%"
4774ALIGN="LEFT"
4775VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004776>the Name parsed or NULL</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004777></TR
4778></TABLE
4779><P
4780></P
4781></DIV
4782></DIV
4783><HR><DIV
4784CLASS="REFSECT2"
4785><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00004786NAME="AEN18439"
Daniel Veillard35925471999-02-25 08:46:07 +00004787></A
4788><H3
4789><A
4790NAME="XMLPARSENAME"
4791></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004792>xmlParseName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004793><TABLE
4794BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004795BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004796WIDTH="100%"
4797CELLPADDING="6"
4798><TR
4799><TD
4800><PRE
4801CLASS="PROGRAMLISTING"
4802><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004803HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004804>xmlChar</A
4805>* xmlParseName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004806HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004807>xmlParserCtxtPtr</A
4808> ctxt);</PRE
4809></TD
4810></TR
4811></TABLE
4812><P
4813>parse an XML name.</P
4814><P
4815>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
4816CombiningChar | Extender</P
4817><P
4818>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
4819><P
4820>[6] Names ::= Name (S Name)*</P
4821><P
4822></P
4823><DIV
4824CLASS="INFORMALTABLE"
4825><P
4826></P
4827><TABLE
4828BORDER="0"
4829WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004830BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004831CELLSPACING="0"
4832CELLPADDING="4"
4833CLASS="CALSTABLE"
4834><TR
4835><TD
4836WIDTH="20%"
4837ALIGN="RIGHT"
4838VALIGN="TOP"
4839><TT
4840CLASS="PARAMETER"
4841><I
4842>ctxt</I
4843></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004844>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004845><TD
4846WIDTH="80%"
4847ALIGN="LEFT"
4848VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004849> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004850></TR
4851><TR
4852><TD
4853WIDTH="20%"
4854ALIGN="RIGHT"
4855VALIGN="TOP"
4856><I
4857CLASS="EMPHASIS"
4858>Returns</I
4859> :</TD
4860><TD
4861WIDTH="80%"
4862ALIGN="LEFT"
4863VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004864>the Name parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004865></TR
4866></TABLE
4867><P
4868></P
4869></DIV
4870></DIV
4871><HR><DIV
4872CLASS="REFSECT2"
4873><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00004874NAME="AEN18463"
Daniel Veillard35925471999-02-25 08:46:07 +00004875></A
4876><H3
4877><A
4878NAME="XMLPARSENMTOKEN"
4879></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004880>xmlParseNmtoken ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004881><TABLE
4882BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004883BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004884WIDTH="100%"
4885CELLPADDING="6"
4886><TR
4887><TD
4888><PRE
4889CLASS="PROGRAMLISTING"
4890><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004891HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004892>xmlChar</A
4893>* xmlParseNmtoken (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004894HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004895>xmlParserCtxtPtr</A
4896> ctxt);</PRE
4897></TD
4898></TR
4899></TABLE
4900><P
4901>parse an XML Nmtoken.</P
4902><P
4903>[7] Nmtoken ::= (NameChar)+</P
4904><P
4905>[8] Nmtokens ::= Nmtoken (S Nmtoken)*</P
4906><P
4907></P
4908><DIV
4909CLASS="INFORMALTABLE"
4910><P
4911></P
4912><TABLE
4913BORDER="0"
4914WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004915BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004916CELLSPACING="0"
4917CELLPADDING="4"
4918CLASS="CALSTABLE"
4919><TR
4920><TD
4921WIDTH="20%"
4922ALIGN="RIGHT"
4923VALIGN="TOP"
4924><TT
4925CLASS="PARAMETER"
4926><I
4927>ctxt</I
4928></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004929>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004930><TD
4931WIDTH="80%"
4932ALIGN="LEFT"
4933VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004934> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004935></TR
4936><TR
4937><TD
4938WIDTH="20%"
4939ALIGN="RIGHT"
4940VALIGN="TOP"
4941><I
4942CLASS="EMPHASIS"
4943>Returns</I
4944> :</TD
4945><TD
4946WIDTH="80%"
4947ALIGN="LEFT"
4948VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004949>the Nmtoken parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004950></TR
4951></TABLE
4952><P
4953></P
4954></DIV
4955></DIV
4956><HR><DIV
4957CLASS="REFSECT2"
4958><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00004959NAME="AEN18486"
Daniel Veillard35925471999-02-25 08:46:07 +00004960></A
4961><H3
4962><A
4963NAME="XMLPARSEENTITYVALUE"
4964></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004965>xmlParseEntityValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004966><TABLE
4967BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004968BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004969WIDTH="100%"
4970CELLPADDING="6"
4971><TR
4972><TD
4973><PRE
4974CLASS="PROGRAMLISTING"
4975><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004976HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004977>xmlChar</A
4978>* xmlParseEntityValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004979HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004980>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004981> ctxt,
4982 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004983HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004984>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004985> **orig);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00004986></TD
4987></TR
4988></TABLE
4989><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004990>parse a value for ENTITY declarations</P
Daniel Veillard35925471999-02-25 08:46:07 +00004991><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004992>[9] EntityValue ::= '"' ([^%&amp;"] | PEReference | Reference)* '"' |
4993"'" ([^%&amp;'] | PEReference | Reference)* "'"</P
Daniel Veillard35925471999-02-25 08:46:07 +00004994><P
4995></P
4996><DIV
4997CLASS="INFORMALTABLE"
4998><P
4999></P
5000><TABLE
5001BORDER="0"
5002WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005003BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005004CELLSPACING="0"
5005CELLPADDING="4"
5006CLASS="CALSTABLE"
5007><TR
5008><TD
5009WIDTH="20%"
5010ALIGN="RIGHT"
5011VALIGN="TOP"
5012><TT
5013CLASS="PARAMETER"
5014><I
5015>ctxt</I
5016></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005017>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005018><TD
5019WIDTH="80%"
5020ALIGN="LEFT"
5021VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005022> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005023></TR
5024><TR
5025><TD
5026WIDTH="20%"
5027ALIGN="RIGHT"
5028VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005029><TT
5030CLASS="PARAMETER"
5031><I
5032>orig</I
5033></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005034>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00005035><TD
5036WIDTH="80%"
5037ALIGN="LEFT"
5038VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005039> if non-NULL store a copy of the original entity value</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00005040></TR
5041><TR
5042><TD
5043WIDTH="20%"
5044ALIGN="RIGHT"
5045VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00005046><I
5047CLASS="EMPHASIS"
5048>Returns</I
5049> :</TD
5050><TD
5051WIDTH="80%"
5052ALIGN="LEFT"
5053VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005054>the EntityValue parsed with reference substitued or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005055></TR
5056></TABLE
5057><P
5058></P
5059></DIV
5060></DIV
5061><HR><DIV
5062CLASS="REFSECT2"
5063><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00005064NAME="AEN18513"
Daniel Veillard35925471999-02-25 08:46:07 +00005065></A
5066><H3
5067><A
5068NAME="XMLPARSEATTVALUE"
5069></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005070>xmlParseAttValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005071><TABLE
5072BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005073BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005074WIDTH="100%"
5075CELLPADDING="6"
5076><TR
5077><TD
5078><PRE
5079CLASS="PROGRAMLISTING"
5080><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005081HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005082>xmlChar</A
5083>* xmlParseAttValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005084HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005085>xmlParserCtxtPtr</A
5086> ctxt);</PRE
5087></TD
5088></TR
5089></TABLE
5090><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00005091>parse a value for an attribute
5092Note: the parser won't do substitution of entities here, this
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005093will be handled later in xmlStringGetNodeList</P
Daniel Veillard35925471999-02-25 08:46:07 +00005094><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005095>[10] AttValue ::= '"' ([^&lt;&amp;"] | Reference)* '"' |
5096"'" ([^&lt;&amp;'] | Reference)* "'"</P
Daniel Veillard35925471999-02-25 08:46:07 +00005097><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005098>3.3.3 Attribute-Value Normalization:
5099Before the value of an attribute is passed to the application or
5100checked for validity, the XML processor must normalize it as follows:
5101- a character reference is processed by appending the referenced
5102character to the attribute value
5103- an entity reference is processed by recursively processing the
5104replacement text of the entity
5105- a whitespace character (<GTKDOCLINK
5106HREF="X20"
5107>x20</GTKDOCLINK
5108>, <GTKDOCLINK
5109HREF="XD"
5110>xD</GTKDOCLINK
5111>, <GTKDOCLINK
5112HREF="XA"
5113>xA</GTKDOCLINK
5114>, <GTKDOCLINK
5115HREF="X9"
5116>x9</GTKDOCLINK
5117>) is processed by
5118appending <GTKDOCLINK
5119HREF="X20"
5120>x20</GTKDOCLINK
5121> to the normalized value, except that only a single
5122<GTKDOCLINK
5123HREF="X20"
5124>x20</GTKDOCLINK
5125> is appended for a "<GTKDOCLINK
5126HREF="XD"
5127>xD</GTKDOCLINK
5128><GTKDOCLINK
5129HREF="XA"
5130>xA</GTKDOCLINK
5131>" sequence that is part of an external
5132parsed entity or the literal entity value of an internal parsed entity
5133- other characters are processed by appending them to the normalized value
5134If the declared value is not CDATA, then the XML processor must further
5135process the normalized attribute value by discarding any leading and
5136trailing space (<GTKDOCLINK
5137HREF="X20"
5138>x20</GTKDOCLINK
5139>) characters, and by replacing sequences of space
5140(<GTKDOCLINK
5141HREF="X20"
5142>x20</GTKDOCLINK
5143>) characters by a single space (<GTKDOCLINK
5144HREF="X20"
5145>x20</GTKDOCLINK
5146>) character.
5147All attributes for which no declaration has been read should be treated
5148by a non-validating parser as if declared CDATA.</P
5149><P
Daniel Veillard35925471999-02-25 08:46:07 +00005150></P
5151><DIV
5152CLASS="INFORMALTABLE"
5153><P
5154></P
5155><TABLE
5156BORDER="0"
5157WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005158BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005159CELLSPACING="0"
5160CELLPADDING="4"
5161CLASS="CALSTABLE"
5162><TR
5163><TD
5164WIDTH="20%"
5165ALIGN="RIGHT"
5166VALIGN="TOP"
5167><TT
5168CLASS="PARAMETER"
5169><I
5170>ctxt</I
5171></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005172>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005173><TD
5174WIDTH="80%"
5175ALIGN="LEFT"
5176VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005177> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005178></TR
5179><TR
5180><TD
5181WIDTH="20%"
5182ALIGN="RIGHT"
5183VALIGN="TOP"
5184><I
5185CLASS="EMPHASIS"
5186>Returns</I
5187> :</TD
5188><TD
5189WIDTH="80%"
5190ALIGN="LEFT"
5191VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005192>the AttValue parsed or NULL. The value has to be freed by the caller.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005193></TR
5194></TABLE
5195><P
5196></P
5197></DIV
5198></DIV
5199><HR><DIV
5200CLASS="REFSECT2"
5201><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00005202NAME="AEN18547"
Daniel Veillard35925471999-02-25 08:46:07 +00005203></A
5204><H3
5205><A
5206NAME="XMLPARSESYSTEMLITERAL"
5207></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005208>xmlParseSystemLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005209><TABLE
5210BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005211BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005212WIDTH="100%"
5213CELLPADDING="6"
5214><TR
5215><TD
5216><PRE
5217CLASS="PROGRAMLISTING"
5218><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005219HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005220>xmlChar</A
5221>* xmlParseSystemLiteral (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005222HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005223>xmlParserCtxtPtr</A
5224> ctxt);</PRE
5225></TD
5226></TR
5227></TABLE
5228><P
5229>parse an XML Literal</P
5230><P
5231>[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</P
5232><P
5233></P
5234><DIV
5235CLASS="INFORMALTABLE"
5236><P
5237></P
5238><TABLE
5239BORDER="0"
5240WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005241BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005242CELLSPACING="0"
5243CELLPADDING="4"
5244CLASS="CALSTABLE"
5245><TR
5246><TD
5247WIDTH="20%"
5248ALIGN="RIGHT"
5249VALIGN="TOP"
5250><TT
5251CLASS="PARAMETER"
5252><I
5253>ctxt</I
5254></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005255>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005256><TD
5257WIDTH="80%"
5258ALIGN="LEFT"
5259VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005260> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005261></TR
5262><TR
5263><TD
5264WIDTH="20%"
5265ALIGN="RIGHT"
5266VALIGN="TOP"
5267><I
5268CLASS="EMPHASIS"
5269>Returns</I
5270> :</TD
5271><TD
5272WIDTH="80%"
5273ALIGN="LEFT"
5274VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005275>the SystemLiteral parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005276></TR
5277></TABLE
5278><P
5279></P
5280></DIV
5281></DIV
5282><HR><DIV
5283CLASS="REFSECT2"
5284><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00005285NAME="AEN18569"
Daniel Veillard35925471999-02-25 08:46:07 +00005286></A
5287><H3
5288><A
5289NAME="XMLPARSEPUBIDLITERAL"
5290></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005291>xmlParsePubidLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005292><TABLE
5293BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005294BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005295WIDTH="100%"
5296CELLPADDING="6"
5297><TR
5298><TD
5299><PRE
5300CLASS="PROGRAMLISTING"
5301><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005302HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005303>xmlChar</A
5304>* xmlParsePubidLiteral (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005305HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005306>xmlParserCtxtPtr</A
5307> ctxt);</PRE
5308></TD
5309></TR
5310></TABLE
5311><P
5312>parse an XML public literal</P
5313><P
5314>[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</P
5315><P
5316></P
5317><DIV
5318CLASS="INFORMALTABLE"
5319><P
5320></P
5321><TABLE
5322BORDER="0"
5323WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005324BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005325CELLSPACING="0"
5326CELLPADDING="4"
5327CLASS="CALSTABLE"
5328><TR
5329><TD
5330WIDTH="20%"
5331ALIGN="RIGHT"
5332VALIGN="TOP"
5333><TT
5334CLASS="PARAMETER"
5335><I
5336>ctxt</I
5337></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005338>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005339><TD
5340WIDTH="80%"
5341ALIGN="LEFT"
5342VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005343> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005344></TR
5345><TR
5346><TD
5347WIDTH="20%"
5348ALIGN="RIGHT"
5349VALIGN="TOP"
5350><I
5351CLASS="EMPHASIS"
5352>Returns</I
5353> :</TD
5354><TD
5355WIDTH="80%"
5356ALIGN="LEFT"
5357VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005358>the PubidLiteral parsed or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005359></TR
5360></TABLE
5361><P
5362></P
5363></DIV
5364></DIV
5365><HR><DIV
5366CLASS="REFSECT2"
5367><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00005368NAME="AEN18591"
Daniel Veillard35925471999-02-25 08:46:07 +00005369></A
5370><H3
5371><A
5372NAME="XMLPARSECHARDATA"
5373></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005374>xmlParseCharData ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005375><TABLE
5376BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005377BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005378WIDTH="100%"
5379CELLPADDING="6"
5380><TR
5381><TD
5382><PRE
5383CLASS="PROGRAMLISTING"
5384>void xmlParseCharData (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005385HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005386>xmlParserCtxtPtr</A
5387> ctxt,
5388 int cdata);</PRE
5389></TD
5390></TR
5391></TABLE
5392><P
5393>parse a CharData section.
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005394if we are within a CDATA section ']]&gt;' marks an end of section.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005395><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005396>The right angle bracket (&gt;) may be represented using the string "&amp;gt;",
5397and must, for compatibility, be escaped using "&amp;gt;" or a character
5398reference when it appears in the string "]]&gt;" in content, when that
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005399string is not marking the end of a CDATA section. </P
5400><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005401>[14] CharData ::= [^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</P
Daniel Veillard35925471999-02-25 08:46:07 +00005402><P
5403></P
5404><DIV
5405CLASS="INFORMALTABLE"
5406><P
5407></P
5408><TABLE
5409BORDER="0"
5410WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005411BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005412CELLSPACING="0"
5413CELLPADDING="4"
5414CLASS="CALSTABLE"
5415><TR
5416><TD
5417WIDTH="20%"
5418ALIGN="RIGHT"
5419VALIGN="TOP"
5420><TT
5421CLASS="PARAMETER"
5422><I
5423>ctxt</I
5424></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005425>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005426><TD
5427WIDTH="80%"
5428ALIGN="LEFT"
5429VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005430> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005431></TR
5432><TR
5433><TD
5434WIDTH="20%"
5435ALIGN="RIGHT"
5436VALIGN="TOP"
5437><TT
5438CLASS="PARAMETER"
5439><I
5440>cdata</I
5441></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005442>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005443><TD
5444WIDTH="80%"
5445ALIGN="LEFT"
5446VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005447> int indicating whether we are within a CDATA section</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005448></TR
5449></TABLE
5450><P
5451></P
5452></DIV
5453></DIV
5454><HR><DIV
5455CLASS="REFSECT2"
5456><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00005457NAME="AEN18613"
Daniel Veillard35925471999-02-25 08:46:07 +00005458></A
5459><H3
5460><A
5461NAME="XMLPARSEEXTERNALID"
5462></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005463>xmlParseExternalID ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005464><TABLE
5465BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005466BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005467WIDTH="100%"
5468CELLPADDING="6"
5469><TR
5470><TD
5471><PRE
5472CLASS="PROGRAMLISTING"
5473><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005474HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005475>xmlChar</A
5476>* xmlParseExternalID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005477HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005478>xmlParserCtxtPtr</A
5479> ctxt,
5480 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005481HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005482>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005483> **publicID,
5484 int strict);</PRE
5485></TD
5486></TR
5487></TABLE
5488><P
5489>Parse an External ID or a Public ID</P
5490><P
5491>NOTE: Productions [75] and [83] interract badly since [75] can generate
5492'PUBLIC' S PubidLiteral S SystemLiteral</P
5493><P
5494>[75] ExternalID ::= 'SYSTEM' S SystemLiteral
5495| 'PUBLIC' S PubidLiteral S SystemLiteral</P
5496><P
5497>[83] PublicID ::= 'PUBLIC' S PubidLiteral</P
5498><P
5499></P
5500><DIV
5501CLASS="INFORMALTABLE"
5502><P
5503></P
5504><TABLE
5505BORDER="0"
5506WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005507BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005508CELLSPACING="0"
5509CELLPADDING="4"
5510CLASS="CALSTABLE"
5511><TR
5512><TD
5513WIDTH="20%"
5514ALIGN="RIGHT"
5515VALIGN="TOP"
5516><TT
5517CLASS="PARAMETER"
5518><I
5519>ctxt</I
5520></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005521>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005522><TD
5523WIDTH="80%"
5524ALIGN="LEFT"
5525VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005526> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005527></TR
5528><TR
5529><TD
5530WIDTH="20%"
5531ALIGN="RIGHT"
5532VALIGN="TOP"
5533><TT
5534CLASS="PARAMETER"
5535><I
5536>publicID</I
5537></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005538>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005539><TD
5540WIDTH="80%"
5541ALIGN="LEFT"
5542VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005543> a xmlChar** receiving PubidLiteral</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005544></TR
5545><TR
5546><TD
5547WIDTH="20%"
5548ALIGN="RIGHT"
5549VALIGN="TOP"
5550><TT
5551CLASS="PARAMETER"
5552><I
5553>strict</I
5554></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005555>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005556><TD
5557WIDTH="80%"
5558ALIGN="LEFT"
5559VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005560> indicate whether we should restrict parsing to only
5561production [75], see NOTE below</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005562></TR
5563><TR
5564><TD
5565WIDTH="20%"
5566ALIGN="RIGHT"
5567VALIGN="TOP"
5568><I
5569CLASS="EMPHASIS"
5570>Returns</I
5571> :</TD
5572><TD
5573WIDTH="80%"
5574ALIGN="LEFT"
5575VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005576>the function returns SystemLiteral and in the second
5577case publicID receives PubidLiteral, is strict is off
5578it is possible to return NULL and have publicID set.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005579></TR
5580></TABLE
5581><P
5582></P
5583></DIV
5584></DIV
5585><HR><DIV
5586CLASS="REFSECT2"
5587><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00005588NAME="AEN18646"
Daniel Veillard35925471999-02-25 08:46:07 +00005589></A
5590><H3
5591><A
5592NAME="XMLPARSECOMMENT"
5593></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005594>xmlParseComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005595><TABLE
5596BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005597BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005598WIDTH="100%"
5599CELLPADDING="6"
5600><TR
5601><TD
5602><PRE
5603CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00005604>void xmlParseComment (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005605HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005606>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005607> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00005608></TD
5609></TR
5610></TABLE
5611><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005612>Skip an XML (SGML) comment &lt;!-- .... --&gt;
Daniel Veillard35925471999-02-25 08:46:07 +00005613The spec says that "For compatibility, the string "--" (double-hyphen)
5614must not occur within comments. "</P
5615><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005616>[15] Comment ::= '&lt;!--' ((Char - '-') | ('-' (Char - '-')))* '--&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00005617><P
Daniel Veillard35925471999-02-25 08:46:07 +00005618></P
5619><DIV
5620CLASS="INFORMALTABLE"
5621><P
5622></P
5623><TABLE
5624BORDER="0"
5625WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005626BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005627CELLSPACING="0"
5628CELLPADDING="4"
5629CLASS="CALSTABLE"
5630><TR
5631><TD
5632WIDTH="20%"
5633ALIGN="RIGHT"
5634VALIGN="TOP"
5635><TT
5636CLASS="PARAMETER"
5637><I
5638>ctxt</I
5639></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005640>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005641><TD
5642WIDTH="80%"
5643ALIGN="LEFT"
5644VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005645> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005646></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005647></TABLE
5648><P
5649></P
5650></DIV
5651></DIV
5652><HR><DIV
5653CLASS="REFSECT2"
5654><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00005655NAME="AEN18663"
Daniel Veillard35925471999-02-25 08:46:07 +00005656></A
5657><H3
5658><A
5659NAME="XMLPARSEPITARGET"
5660></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005661>xmlParsePITarget ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005662><TABLE
5663BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005664BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005665WIDTH="100%"
5666CELLPADDING="6"
5667><TR
5668><TD
5669><PRE
5670CLASS="PROGRAMLISTING"
5671><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005672HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005673>xmlChar</A
5674>* xmlParsePITarget (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005675HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005676>xmlParserCtxtPtr</A
5677> ctxt);</PRE
5678></TD
5679></TR
5680></TABLE
5681><P
5682>parse the name of a PI</P
5683><P
5684>[17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</P
5685><P
5686></P
5687><DIV
5688CLASS="INFORMALTABLE"
5689><P
5690></P
5691><TABLE
5692BORDER="0"
5693WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005694BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005695CELLSPACING="0"
5696CELLPADDING="4"
5697CLASS="CALSTABLE"
5698><TR
5699><TD
5700WIDTH="20%"
5701ALIGN="RIGHT"
5702VALIGN="TOP"
5703><TT
5704CLASS="PARAMETER"
5705><I
5706>ctxt</I
5707></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005708>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005709><TD
5710WIDTH="80%"
5711ALIGN="LEFT"
5712VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005713> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005714></TR
5715><TR
5716><TD
5717WIDTH="20%"
5718ALIGN="RIGHT"
5719VALIGN="TOP"
5720><I
5721CLASS="EMPHASIS"
5722>Returns</I
5723> :</TD
5724><TD
5725WIDTH="80%"
5726ALIGN="LEFT"
5727VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005728>the PITarget name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005729></TR
5730></TABLE
5731><P
5732></P
5733></DIV
5734></DIV
5735><HR><DIV
5736CLASS="REFSECT2"
5737><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00005738NAME="AEN18685"
Daniel Veillard35925471999-02-25 08:46:07 +00005739></A
5740><H3
5741><A
5742NAME="XMLPARSEPI"
5743></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005744>xmlParsePI ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005745><TABLE
5746BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005747BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005748WIDTH="100%"
5749CELLPADDING="6"
5750><TR
5751><TD
5752><PRE
5753CLASS="PROGRAMLISTING"
5754>void xmlParsePI (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005755HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005756>xmlParserCtxtPtr</A
5757> ctxt);</PRE
5758></TD
5759></TR
5760></TABLE
5761><P
5762>parse an XML Processing Instruction.</P
5763><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005764>[16] PI ::= '&lt;?' PITarget (S (Char* - (Char* '?&gt;' Char*)))? '?&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00005765><P
5766>The processing is transfered to SAX once parsed.</P
5767><P
5768></P
5769><DIV
5770CLASS="INFORMALTABLE"
5771><P
5772></P
5773><TABLE
5774BORDER="0"
5775WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005776BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005777CELLSPACING="0"
5778CELLPADDING="4"
5779CLASS="CALSTABLE"
5780><TR
5781><TD
5782WIDTH="20%"
5783ALIGN="RIGHT"
5784VALIGN="TOP"
5785><TT
5786CLASS="PARAMETER"
5787><I
5788>ctxt</I
5789></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005790>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005791><TD
5792WIDTH="80%"
5793ALIGN="LEFT"
5794VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005795> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005796></TR
5797></TABLE
5798><P
5799></P
5800></DIV
5801></DIV
5802><HR><DIV
5803CLASS="REFSECT2"
5804><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00005805NAME="AEN18703"
Daniel Veillard35925471999-02-25 08:46:07 +00005806></A
5807><H3
5808><A
5809NAME="XMLPARSENOTATIONDECL"
5810></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005811>xmlParseNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005812><TABLE
5813BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005814BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005815WIDTH="100%"
5816CELLPADDING="6"
5817><TR
5818><TD
5819><PRE
5820CLASS="PROGRAMLISTING"
5821>void xmlParseNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005822HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005823>xmlParserCtxtPtr</A
5824> ctxt);</PRE
5825></TD
5826></TR
5827></TABLE
5828><P
5829>parse a notation declaration</P
5830><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005831>[82] NotationDecl ::= '&lt;!NOTATION' S Name S (ExternalID | PublicID) S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00005832><P
5833>Hence there is actually 3 choices:
5834'PUBLIC' S PubidLiteral
5835'PUBLIC' S PubidLiteral S SystemLiteral
5836and 'SYSTEM' S SystemLiteral</P
5837><P
5838>See the NOTE on <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005839HREF="libxml-parserinternals.html#XMLPARSEEXTERNALID"
Daniel Veillard35925471999-02-25 08:46:07 +00005840>xmlParseExternalID</A
5841>().</P
5842><P
5843></P
5844><DIV
5845CLASS="INFORMALTABLE"
5846><P
5847></P
5848><TABLE
5849BORDER="0"
5850WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005851BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005852CELLSPACING="0"
5853CELLPADDING="4"
5854CLASS="CALSTABLE"
5855><TR
5856><TD
5857WIDTH="20%"
5858ALIGN="RIGHT"
5859VALIGN="TOP"
5860><TT
5861CLASS="PARAMETER"
5862><I
5863>ctxt</I
5864></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005865>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005866><TD
5867WIDTH="80%"
5868ALIGN="LEFT"
5869VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005870> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005871></TR
5872></TABLE
5873><P
5874></P
5875></DIV
5876></DIV
5877><HR><DIV
5878CLASS="REFSECT2"
5879><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00005880NAME="AEN18723"
Daniel Veillard35925471999-02-25 08:46:07 +00005881></A
5882><H3
5883><A
5884NAME="XMLPARSEENTITYDECL"
5885></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005886>xmlParseEntityDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005887><TABLE
5888BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005889BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005890WIDTH="100%"
5891CELLPADDING="6"
5892><TR
5893><TD
5894><PRE
5895CLASS="PROGRAMLISTING"
5896>void xmlParseEntityDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005897HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005898>xmlParserCtxtPtr</A
5899> ctxt);</PRE
5900></TD
5901></TR
5902></TABLE
5903><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005904>parse &lt;!ENTITY declarations</P
Daniel Veillard35925471999-02-25 08:46:07 +00005905><P
5906>[70] EntityDecl ::= GEDecl | PEDecl</P
5907><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005908>[71] GEDecl ::= '&lt;!ENTITY' S Name S EntityDef S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00005909><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005910>[72] PEDecl ::= '&lt;!ENTITY' S '%' S Name S PEDef S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00005911><P
5912>[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)</P
5913><P
5914>[74] PEDef ::= EntityValue | ExternalID</P
5915><P
5916>[76] NDataDecl ::= S 'NDATA' S Name</P
5917><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005918>[ VC: Notation Declared ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005919The Name must match the declared name of a notation.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005920><P
Daniel Veillard35925471999-02-25 08:46:07 +00005921></P
5922><DIV
5923CLASS="INFORMALTABLE"
5924><P
5925></P
5926><TABLE
5927BORDER="0"
5928WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005929BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005930CELLSPACING="0"
5931CELLPADDING="4"
5932CLASS="CALSTABLE"
5933><TR
5934><TD
5935WIDTH="20%"
5936ALIGN="RIGHT"
5937VALIGN="TOP"
5938><TT
5939CLASS="PARAMETER"
5940><I
5941>ctxt</I
5942></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005943>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005944><TD
5945WIDTH="80%"
5946ALIGN="LEFT"
5947VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005948> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005949></TR
5950></TABLE
5951><P
5952></P
5953></DIV
5954></DIV
5955><HR><DIV
5956CLASS="REFSECT2"
5957><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00005958NAME="AEN18746"
Daniel Veillard35925471999-02-25 08:46:07 +00005959></A
5960><H3
5961><A
5962NAME="XMLPARSEDEFAULTDECL"
5963></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005964>xmlParseDefaultDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005965><TABLE
5966BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005967BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005968WIDTH="100%"
5969CELLPADDING="6"
5970><TR
5971><TD
5972><PRE
5973CLASS="PROGRAMLISTING"
5974>int xmlParseDefaultDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005975HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005976>xmlParserCtxtPtr</A
5977> ctxt,
5978 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005979HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005980>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005981> **value);</PRE
5982></TD
5983></TR
5984></TABLE
5985><P
5986>Parse an attribute default declaration</P
5987><P
5988>[60] DefaultDecl ::= '<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00005989HREF="REQUIRED-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00005990>REQUIRED</GTKDOCLINK
5991>' | '<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00005992HREF="IMPLIED-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00005993>IMPLIED</GTKDOCLINK
5994>' | (('<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00005995HREF="FIXED-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00005996>FIXED</GTKDOCLINK
5997>' S)? AttValue)</P
5998><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005999>[ VC: Required Attribute ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006000if the default declaration is the keyword <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006001HREF="REQUIRED-CAPS"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006002>REQUIRED</GTKDOCLINK
6003>, then the
6004attribute must be specified for all elements of the type in the
6005attribute-list declaration.</P
6006><P
6007>[ VC: Attribute Default Legal ]
6008The declared default value must meet the lexical constraints of
6009the declared attribute type c.f. <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006010HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006011>xmlValidateAttributeDecl</A
6012>()</P
6013><P
6014>[ VC: Fixed Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006015if an attribute has a default value declared with the <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006016HREF="FIXED-CAPS"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006017>FIXED</GTKDOCLINK
6018>
6019keyword, instances of that attribute must match the default value. </P
6020><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006021>[ WFC: No &lt; in Attribute Values ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00006022handled in <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006023HREF="libxml-parserinternals.html#XMLPARSEATTVALUE"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006024>xmlParseAttValue</A
6025>()</P
6026><P
Daniel Veillard35925471999-02-25 08:46:07 +00006027></P
6028><DIV
6029CLASS="INFORMALTABLE"
6030><P
6031></P
6032><TABLE
6033BORDER="0"
6034WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006035BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006036CELLSPACING="0"
6037CELLPADDING="4"
6038CLASS="CALSTABLE"
6039><TR
6040><TD
6041WIDTH="20%"
6042ALIGN="RIGHT"
6043VALIGN="TOP"
6044><TT
6045CLASS="PARAMETER"
6046><I
6047>ctxt</I
6048></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006049>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006050><TD
6051WIDTH="80%"
6052ALIGN="LEFT"
6053VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006054> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006055></TR
6056><TR
6057><TD
6058WIDTH="20%"
6059ALIGN="RIGHT"
6060VALIGN="TOP"
6061><TT
6062CLASS="PARAMETER"
6063><I
6064>value</I
6065></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006066>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006067><TD
6068WIDTH="80%"
6069ALIGN="LEFT"
6070VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006071> Receive a possible fixed default value for the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006072></TR
6073><TR
6074><TD
6075WIDTH="20%"
6076ALIGN="RIGHT"
6077VALIGN="TOP"
6078><I
6079CLASS="EMPHASIS"
6080>Returns</I
6081> :</TD
6082><TD
6083WIDTH="80%"
6084ALIGN="LEFT"
6085VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006086> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED
6087or XML_ATTRIBUTE_FIXED. </TD
Daniel Veillard35925471999-02-25 08:46:07 +00006088></TR
6089></TABLE
6090><P
6091></P
6092></DIV
6093></DIV
6094><HR><DIV
6095CLASS="REFSECT2"
6096><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00006097NAME="AEN18783"
Daniel Veillard35925471999-02-25 08:46:07 +00006098></A
6099><H3
6100><A
6101NAME="XMLPARSENOTATIONTYPE"
6102></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006103>xmlParseNotationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006104><TABLE
6105BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006106BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006107WIDTH="100%"
6108CELLPADDING="6"
6109><TR
6110><TD
6111><PRE
6112CLASS="PROGRAMLISTING"
6113><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006114HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006115>xmlEnumerationPtr</A
6116> xmlParseNotationType (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006117HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006118>xmlParserCtxtPtr</A
6119> ctxt);</PRE
6120></TD
6121></TR
6122></TABLE
6123><P
6124>parse an Notation attribute type.</P
6125><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006126>Note: the leading 'NOTATION' S part has already being parsed...</P
6127><P
Daniel Veillard35925471999-02-25 08:46:07 +00006128>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
6129><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006130>[ VC: Notation Attributes ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006131Values of this type must match one of the notation names included
Daniel Veillardb05deb71999-08-10 19:04:08 +00006132in the declaration; all notation names in the declaration must be declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006133><P
6134></P
6135><DIV
6136CLASS="INFORMALTABLE"
6137><P
6138></P
6139><TABLE
6140BORDER="0"
6141WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006142BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006143CELLSPACING="0"
6144CELLPADDING="4"
6145CLASS="CALSTABLE"
6146><TR
6147><TD
6148WIDTH="20%"
6149ALIGN="RIGHT"
6150VALIGN="TOP"
6151><TT
6152CLASS="PARAMETER"
6153><I
6154>ctxt</I
6155></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006156>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006157><TD
6158WIDTH="80%"
6159ALIGN="LEFT"
6160VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006161> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006162></TR
6163><TR
6164><TD
6165WIDTH="20%"
6166ALIGN="RIGHT"
6167VALIGN="TOP"
6168><I
6169CLASS="EMPHASIS"
6170>Returns</I
6171> :</TD
6172><TD
6173WIDTH="80%"
6174ALIGN="LEFT"
6175VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006176> the notation attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006177></TR
6178></TABLE
6179><P
6180></P
6181></DIV
6182></DIV
6183><HR><DIV
6184CLASS="REFSECT2"
6185><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00006186NAME="AEN18807"
Daniel Veillard35925471999-02-25 08:46:07 +00006187></A
6188><H3
6189><A
6190NAME="XMLPARSEENUMERATIONTYPE"
6191></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006192>xmlParseEnumerationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006193><TABLE
6194BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006195BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006196WIDTH="100%"
6197CELLPADDING="6"
6198><TR
6199><TD
6200><PRE
6201CLASS="PROGRAMLISTING"
6202><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006203HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006204>xmlEnumerationPtr</A
6205> xmlParseEnumerationType (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006206HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006207>xmlParserCtxtPtr</A
6208> ctxt);</PRE
6209></TD
6210></TR
6211></TABLE
6212><P
6213>parse an Enumeration attribute type.</P
6214><P
6215>[59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')'</P
6216><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006217>[ VC: Enumeration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006218Values of this type must match one of the Nmtoken tokens in
Daniel Veillardb05deb71999-08-10 19:04:08 +00006219the declaration</P
6220><P
Daniel Veillard35925471999-02-25 08:46:07 +00006221></P
6222><DIV
6223CLASS="INFORMALTABLE"
6224><P
6225></P
6226><TABLE
6227BORDER="0"
6228WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006229BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006230CELLSPACING="0"
6231CELLPADDING="4"
6232CLASS="CALSTABLE"
6233><TR
6234><TD
6235WIDTH="20%"
6236ALIGN="RIGHT"
6237VALIGN="TOP"
6238><TT
6239CLASS="PARAMETER"
6240><I
6241>ctxt</I
6242></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006243>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006244><TD
6245WIDTH="80%"
6246ALIGN="LEFT"
6247VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006248> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006249></TR
6250><TR
6251><TD
6252WIDTH="20%"
6253ALIGN="RIGHT"
6254VALIGN="TOP"
6255><I
6256CLASS="EMPHASIS"
6257>Returns</I
6258> :</TD
6259><TD
6260WIDTH="80%"
6261ALIGN="LEFT"
6262VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006263> the enumeration attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006264></TR
6265></TABLE
6266><P
6267></P
6268></DIV
6269></DIV
6270><HR><DIV
6271CLASS="REFSECT2"
6272><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00006273NAME="AEN18830"
Daniel Veillard35925471999-02-25 08:46:07 +00006274></A
6275><H3
6276><A
6277NAME="XMLPARSEENUMERATEDTYPE"
6278></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006279>xmlParseEnumeratedType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006280><TABLE
6281BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006282BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006283WIDTH="100%"
6284CELLPADDING="6"
6285><TR
6286><TD
6287><PRE
6288CLASS="PROGRAMLISTING"
6289>int xmlParseEnumeratedType (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006290HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006291>xmlParserCtxtPtr</A
6292> ctxt,
6293 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006294HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006295>xmlEnumerationPtr</A
6296> *tree);</PRE
6297></TD
6298></TR
6299></TABLE
6300><P
6301>parse an Enumerated attribute type.</P
6302><P
6303>[57] EnumeratedType ::= NotationType | Enumeration</P
6304><P
6305>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
6306><P
6307></P
6308><DIV
6309CLASS="INFORMALTABLE"
6310><P
6311></P
6312><TABLE
6313BORDER="0"
6314WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006315BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006316CELLSPACING="0"
6317CELLPADDING="4"
6318CLASS="CALSTABLE"
6319><TR
6320><TD
6321WIDTH="20%"
6322ALIGN="RIGHT"
6323VALIGN="TOP"
6324><TT
6325CLASS="PARAMETER"
6326><I
6327>ctxt</I
6328></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006329>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006330><TD
6331WIDTH="80%"
6332ALIGN="LEFT"
6333VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006334> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006335></TR
6336><TR
6337><TD
6338WIDTH="20%"
6339ALIGN="RIGHT"
6340VALIGN="TOP"
6341><TT
6342CLASS="PARAMETER"
6343><I
6344>tree</I
6345></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006346>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006347><TD
6348WIDTH="80%"
6349ALIGN="LEFT"
6350VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006351> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006352></TR
6353><TR
6354><TD
6355WIDTH="20%"
6356ALIGN="RIGHT"
6357VALIGN="TOP"
6358><I
6359CLASS="EMPHASIS"
6360>Returns</I
6361> :</TD
6362><TD
6363WIDTH="80%"
6364ALIGN="LEFT"
6365VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006366> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006367></TR
6368></TABLE
6369><P
6370></P
6371></DIV
6372></DIV
6373><HR><DIV
6374CLASS="REFSECT2"
6375><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00006376NAME="AEN18857"
Daniel Veillard35925471999-02-25 08:46:07 +00006377></A
6378><H3
6379><A
6380NAME="XMLPARSEATTRIBUTETYPE"
6381></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006382>xmlParseAttributeType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006383><TABLE
6384BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006385BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006386WIDTH="100%"
6387CELLPADDING="6"
6388><TR
6389><TD
6390><PRE
6391CLASS="PROGRAMLISTING"
6392>int xmlParseAttributeType (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006393HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006394>xmlParserCtxtPtr</A
6395> ctxt,
6396 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006397HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006398>xmlEnumerationPtr</A
6399> *tree);</PRE
6400></TD
6401></TR
6402></TABLE
6403><P
6404>parse the Attribute list def for an element</P
6405><P
6406>[54] AttType ::= StringType | TokenizedType | EnumeratedType</P
6407><P
6408>[55] StringType ::= 'CDATA'</P
6409><P
6410>[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' |
6411'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'</P
6412><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006413>Validity constraints for attribute values syntax are checked in
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006414<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006415HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006416>xmlValidateAttributeValue</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006417>()</P
6418><P
6419>[ VC: ID ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006420Values of type ID must match the Name production. A name must not
Daniel Veillardb05deb71999-08-10 19:04:08 +00006421appear more than once in an XML document as a value of this type;
6422i.e., ID values must uniquely identify the elements which bear them.</P
6423><P
6424>[ VC: One ID per Element Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006425No element type may have more than one ID attribute specified.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006426><P
6427>[ VC: ID Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006428An ID attribute must have a declared default of <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006429HREF="IMPLIED-CAPS"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006430>IMPLIED</GTKDOCLINK
6431> or <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006432HREF="REQUIRED-CAPS"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006433>REQUIRED</GTKDOCLINK
6434>.</P
6435><P
6436>[ VC: IDREF ]
6437Values of type IDREF must match the Name production, and values
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006438of type IDREFS must match Names; each IDREF Name must match the value
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006439of an ID attribute on some element in the XML document; i.e. IDREF
Daniel Veillardb05deb71999-08-10 19:04:08 +00006440values must match the value of some ID attribute.</P
6441><P
6442>[ VC: Entity Name ]
6443Values of type ENTITY must match the Name production, values
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006444of type ENTITIES must match Names; each Entity Name must match the
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006445name of an unparsed entity declared in the DTD. </P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006446><P
6447>[ VC: Name Token ]
6448Values of type NMTOKEN must match the Nmtoken production; values
6449of type NMTOKENS must match Nmtokens.</P
6450><P
Daniel Veillard35925471999-02-25 08:46:07 +00006451></P
6452><DIV
6453CLASS="INFORMALTABLE"
6454><P
6455></P
6456><TABLE
6457BORDER="0"
6458WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006459BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006460CELLSPACING="0"
6461CELLPADDING="4"
6462CLASS="CALSTABLE"
6463><TR
6464><TD
6465WIDTH="20%"
6466ALIGN="RIGHT"
6467VALIGN="TOP"
6468><TT
6469CLASS="PARAMETER"
6470><I
6471>ctxt</I
6472></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006473>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006474><TD
6475WIDTH="80%"
6476ALIGN="LEFT"
6477VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006478> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006479></TR
6480><TR
6481><TD
6482WIDTH="20%"
6483ALIGN="RIGHT"
6484VALIGN="TOP"
6485><TT
6486CLASS="PARAMETER"
6487><I
6488>tree</I
6489></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006490>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006491><TD
6492WIDTH="80%"
6493ALIGN="LEFT"
6494VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006495> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006496></TR
6497><TR
6498><TD
6499WIDTH="20%"
6500ALIGN="RIGHT"
6501VALIGN="TOP"
6502><I
6503CLASS="EMPHASIS"
6504>Returns</I
6505> :</TD
6506><TD
6507WIDTH="80%"
6508ALIGN="LEFT"
6509VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006510>the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006511></TR
6512></TABLE
6513><P
6514></P
6515></DIV
6516></DIV
6517><HR><DIV
6518CLASS="REFSECT2"
6519><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00006520NAME="AEN18895"
Daniel Veillard35925471999-02-25 08:46:07 +00006521></A
6522><H3
6523><A
6524NAME="XMLPARSEATTRIBUTELISTDECL"
6525></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006526>xmlParseAttributeListDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006527><TABLE
6528BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006529BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006530WIDTH="100%"
6531CELLPADDING="6"
6532><TR
6533><TD
6534><PRE
6535CLASS="PROGRAMLISTING"
6536>void xmlParseAttributeListDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006537HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006538>xmlParserCtxtPtr</A
6539> ctxt);</PRE
6540></TD
6541></TR
6542></TABLE
6543><P
6544>: parse the Attribute list def for an element</P
6545><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006546>[52] AttlistDecl ::= '&lt;!ATTLIST' S Name AttDef* S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00006547><P
6548>[53] AttDef ::= S Name S AttType S DefaultDecl</P
6549><P
6550></P
6551><DIV
6552CLASS="INFORMALTABLE"
6553><P
6554></P
6555><TABLE
6556BORDER="0"
6557WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006558BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006559CELLSPACING="0"
6560CELLPADDING="4"
6561CLASS="CALSTABLE"
6562><TR
6563><TD
6564WIDTH="20%"
6565ALIGN="RIGHT"
6566VALIGN="TOP"
6567><TT
6568CLASS="PARAMETER"
6569><I
6570>ctxt</I
6571></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006572>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006573><TD
6574WIDTH="80%"
6575ALIGN="LEFT"
6576VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006577> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006578></TR
6579></TABLE
6580><P
6581></P
6582></DIV
6583></DIV
6584><HR><DIV
6585CLASS="REFSECT2"
6586><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00006587NAME="AEN18913"
Daniel Veillard35925471999-02-25 08:46:07 +00006588></A
6589><H3
6590><A
6591NAME="XMLPARSEELEMENTMIXEDCONTENTDECL"
6592></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006593>xmlParseElementMixedContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006594><TABLE
6595BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006596BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006597WIDTH="100%"
6598CELLPADDING="6"
6599><TR
6600><TD
6601><PRE
6602CLASS="PROGRAMLISTING"
6603><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006604HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006605>xmlElementContentPtr</A
6606> xmlParseElementMixedContentDecl
6607 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006608HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006609>xmlParserCtxtPtr</A
6610> ctxt);</PRE
6611></TD
6612></TR
6613></TABLE
6614><P
6615>parse the declaration for a Mixed Element content
6616The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
6617><P
6618>[51] Mixed ::= '(' S? '<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006619HREF="PCDATA-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00006620>PCDATA</GTKDOCLINK
6621>' (S? '|' S? Name)* S? ')*' |
6622'(' S? '<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006623HREF="PCDATA-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00006624>PCDATA</GTKDOCLINK
6625>' S? ')'</P
6626><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006627>[ VC: Proper Group/PE Nesting ] applies to [51] too (see [49])</P
6628><P
6629>[ VC: No Duplicate Types ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006630The same name must not appear more than once in a single
Daniel Veillardb05deb71999-08-10 19:04:08 +00006631mixed-content declaration.</P
6632><P
Daniel Veillard35925471999-02-25 08:46:07 +00006633></P
6634><DIV
6635CLASS="INFORMALTABLE"
6636><P
6637></P
6638><TABLE
6639BORDER="0"
6640WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006641BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006642CELLSPACING="0"
6643CELLPADDING="4"
6644CLASS="CALSTABLE"
6645><TR
6646><TD
6647WIDTH="20%"
6648ALIGN="RIGHT"
6649VALIGN="TOP"
6650><TT
6651CLASS="PARAMETER"
6652><I
6653>ctxt</I
6654></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006655>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006656><TD
6657WIDTH="80%"
6658ALIGN="LEFT"
6659VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006660> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006661></TR
6662><TR
6663><TD
6664WIDTH="20%"
6665ALIGN="RIGHT"
6666VALIGN="TOP"
6667><I
6668CLASS="EMPHASIS"
6669>Returns</I
6670> :</TD
6671><TD
6672WIDTH="80%"
6673ALIGN="LEFT"
6674VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006675> the list of the xmlElementContentPtr describing the element choices</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006676></TR
6677></TABLE
6678><P
6679></P
6680></DIV
6681></DIV
6682><HR><DIV
6683CLASS="REFSECT2"
6684><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00006685NAME="AEN18939"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00006686></A
6687><H3
6688><A
6689NAME="XMLPARSEELEMENTCHILDRENCONTENTD"
6690></A
6691>xmlParseElementChildrenContentD ()</H3
6692><TABLE
6693BORDER="0"
6694BGCOLOR="#D6E8FF"
6695WIDTH="100%"
6696CELLPADDING="6"
6697><TR
6698><TD
6699><PRE
6700CLASS="PROGRAMLISTING"
6701><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006702HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00006703>xmlElementContentPtr</A
6704> xmlParseElementChildrenContentD
6705 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006706HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00006707>xmlParserCtxtPtr</A
6708> ctxt);</PRE
6709></TD
6710></TR
6711></TABLE
6712><P
6713></P
6714><DIV
6715CLASS="INFORMALTABLE"
6716><P
6717></P
6718><TABLE
6719BORDER="0"
6720WIDTH="100%"
6721BGCOLOR="#FFD0D0"
6722CELLSPACING="0"
6723CELLPADDING="4"
6724CLASS="CALSTABLE"
6725><TR
6726><TD
6727WIDTH="20%"
6728ALIGN="RIGHT"
6729VALIGN="TOP"
6730><TT
6731CLASS="PARAMETER"
6732><I
6733>ctxt</I
6734></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006735>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00006736><TD
6737WIDTH="80%"
6738ALIGN="LEFT"
6739VALIGN="TOP"
6740>&nbsp;</TD
6741></TR
6742><TR
6743><TD
6744WIDTH="20%"
6745ALIGN="RIGHT"
6746VALIGN="TOP"
6747><I
6748CLASS="EMPHASIS"
6749>Returns</I
6750> :</TD
6751><TD
6752WIDTH="80%"
6753ALIGN="LEFT"
6754VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00006755>&#13;</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00006756></TR
6757></TABLE
6758><P
6759></P
6760></DIV
6761></DIV
6762><HR><DIV
6763CLASS="REFSECT2"
6764><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00006765NAME="AEN18959"
Daniel Veillard35925471999-02-25 08:46:07 +00006766></A
6767><H3
6768><A
6769NAME="XMLPARSEELEMENTCHILDRENCONTENTDECL"
6770></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006771>xmlParseElementChildrenContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006772><TABLE
6773BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006774BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006775WIDTH="100%"
6776CELLPADDING="6"
6777><TR
6778><TD
6779><PRE
6780CLASS="PROGRAMLISTING"
6781><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006782HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006783>xmlElementContentPtr</A
6784> xmlParseElementChildrenContentDecl
6785 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006786HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006787>xmlParserCtxtPtr</A
6788> ctxt);</PRE
6789></TD
6790></TR
6791></TABLE
6792><P
6793>parse the declaration for a Mixed Element content
6794The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
6795><P
6796>[47] children ::= (choice | seq) ('?' | '*' | '+')?</P
6797><P
6798>[48] cp ::= (Name | choice | seq) ('?' | '*' | '+')?</P
6799><P
6800>[49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')'</P
6801><P
6802>[50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'</P
6803><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006804>[ VC: Proper Group/PE Nesting ] applies to [49] and [50]
6805TODO Parameter-entity replacement text must be properly nested
6806with parenthetized groups. That is to say, if either of the
6807opening or closing parentheses in a choice, seq, or Mixed
6808construct is contained in the replacement text for a parameter
6809entity, both must be contained in the same replacement text. For
6810interoperability, if a parameter-entity reference appears in a
6811choice, seq, or Mixed construct, its replacement text should not
6812be empty, and neither the first nor last non-blank character of
6813the replacement text should be a connector (| or ,).</P
6814><P
Daniel Veillard35925471999-02-25 08:46:07 +00006815></P
6816><DIV
6817CLASS="INFORMALTABLE"
6818><P
6819></P
6820><TABLE
6821BORDER="0"
6822WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006823BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006824CELLSPACING="0"
6825CELLPADDING="4"
6826CLASS="CALSTABLE"
6827><TR
6828><TD
6829WIDTH="20%"
6830ALIGN="RIGHT"
6831VALIGN="TOP"
6832><TT
6833CLASS="PARAMETER"
6834><I
6835>ctxt</I
6836></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006837>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006838><TD
6839WIDTH="80%"
6840ALIGN="LEFT"
6841VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006842> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006843></TR
6844><TR
6845><TD
6846WIDTH="20%"
6847ALIGN="RIGHT"
6848VALIGN="TOP"
6849><I
6850CLASS="EMPHASIS"
6851>Returns</I
6852> :</TD
6853><TD
6854WIDTH="80%"
6855ALIGN="LEFT"
6856VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006857> the tree of xmlElementContentPtr describing the element
6858hierarchy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006859></TR
6860></TABLE
6861><P
6862></P
6863></DIV
6864></DIV
6865><HR><DIV
6866CLASS="REFSECT2"
6867><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00006868NAME="AEN18985"
Daniel Veillard35925471999-02-25 08:46:07 +00006869></A
6870><H3
6871><A
6872NAME="XMLPARSEELEMENTCONTENTDECL"
6873></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006874>xmlParseElementContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006875><TABLE
6876BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006877BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006878WIDTH="100%"
6879CELLPADDING="6"
6880><TR
6881><TD
6882><PRE
6883CLASS="PROGRAMLISTING"
6884>int xmlParseElementContentDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006885HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006886>xmlParserCtxtPtr</A
6887> ctxt,
6888 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006889HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006890>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006891> *name,
6892 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006893HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006894>xmlElementContentPtr</A
6895> *result);</PRE
6896></TD
6897></TR
6898></TABLE
6899><P
6900>parse the declaration for an Element content either Mixed or Children,
6901the cases EMPTY and ANY are handled directly in xmlParseElementDecl</P
6902><P
6903>[46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</P
6904><P
6905></P
6906><DIV
6907CLASS="INFORMALTABLE"
6908><P
6909></P
6910><TABLE
6911BORDER="0"
6912WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006913BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006914CELLSPACING="0"
6915CELLPADDING="4"
6916CLASS="CALSTABLE"
6917><TR
6918><TD
6919WIDTH="20%"
6920ALIGN="RIGHT"
6921VALIGN="TOP"
6922><TT
6923CLASS="PARAMETER"
6924><I
6925>ctxt</I
6926></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006927>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006928><TD
6929WIDTH="80%"
6930ALIGN="LEFT"
6931VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006932> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006933></TR
6934><TR
6935><TD
6936WIDTH="20%"
6937ALIGN="RIGHT"
6938VALIGN="TOP"
6939><TT
6940CLASS="PARAMETER"
6941><I
6942>name</I
6943></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006944>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006945><TD
6946WIDTH="80%"
6947ALIGN="LEFT"
6948VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006949> the name of the element being defined.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006950></TR
6951><TR
6952><TD
6953WIDTH="20%"
6954ALIGN="RIGHT"
6955VALIGN="TOP"
6956><TT
6957CLASS="PARAMETER"
6958><I
6959>result</I
6960></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006961>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006962><TD
6963WIDTH="80%"
6964ALIGN="LEFT"
6965VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006966> the Element Content pointer will be stored here if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006967></TR
6968><TR
6969><TD
6970WIDTH="20%"
6971ALIGN="RIGHT"
6972VALIGN="TOP"
6973><I
6974CLASS="EMPHASIS"
6975>Returns</I
6976> :</TD
6977><TD
6978WIDTH="80%"
6979ALIGN="LEFT"
6980VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006981> the type of element content XML_ELEMENT_TYPE_xxx</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006982></TR
6983></TABLE
6984><P
6985></P
6986></DIV
6987></DIV
6988><HR><DIV
6989CLASS="REFSECT2"
6990><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00006991NAME="AEN19016"
Daniel Veillard35925471999-02-25 08:46:07 +00006992></A
6993><H3
6994><A
6995NAME="XMLPARSEELEMENTDECL"
6996></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006997>xmlParseElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006998><TABLE
6999BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007000BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007001WIDTH="100%"
7002CELLPADDING="6"
7003><TR
7004><TD
7005><PRE
7006CLASS="PROGRAMLISTING"
7007>int xmlParseElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007008HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007009>xmlParserCtxtPtr</A
7010> ctxt);</PRE
7011></TD
7012></TR
7013></TABLE
7014><P
7015>parse an Element declaration.</P
7016><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007017>[45] elementdecl ::= '&lt;!ELEMENT' S Name S contentspec S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00007018><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007019>[ VC: Unique Element Type Declaration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007020No element type may be declared more than once</P
Daniel Veillard35925471999-02-25 08:46:07 +00007021><P
7022></P
7023><DIV
7024CLASS="INFORMALTABLE"
7025><P
7026></P
7027><TABLE
7028BORDER="0"
7029WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007030BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007031CELLSPACING="0"
7032CELLPADDING="4"
7033CLASS="CALSTABLE"
7034><TR
7035><TD
7036WIDTH="20%"
7037ALIGN="RIGHT"
7038VALIGN="TOP"
7039><TT
7040CLASS="PARAMETER"
7041><I
7042>ctxt</I
7043></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007044>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007045><TD
7046WIDTH="80%"
7047ALIGN="LEFT"
7048VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007049> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007050></TR
7051><TR
7052><TD
7053WIDTH="20%"
7054ALIGN="RIGHT"
7055VALIGN="TOP"
7056><I
7057CLASS="EMPHASIS"
7058>Returns</I
7059> :</TD
7060><TD
7061WIDTH="80%"
7062ALIGN="LEFT"
7063VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007064>the type of the element, or -1 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007065></TR
7066></TABLE
7067><P
7068></P
7069></DIV
7070></DIV
7071><HR><DIV
7072CLASS="REFSECT2"
7073><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00007074NAME="AEN19038"
Daniel Veillard35925471999-02-25 08:46:07 +00007075></A
7076><H3
7077><A
7078NAME="XMLPARSEMARKUPDECL"
7079></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007080>xmlParseMarkupDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007081><TABLE
7082BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007083BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007084WIDTH="100%"
7085CELLPADDING="6"
7086><TR
7087><TD
7088><PRE
7089CLASS="PROGRAMLISTING"
7090>void xmlParseMarkupDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007091HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007092>xmlParserCtxtPtr</A
7093> ctxt);</PRE
7094></TD
7095></TR
7096></TABLE
7097><P
7098>parse Markup declarations</P
7099><P
7100>[29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
7101NotationDecl | PI | Comment</P
7102><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007103>[ VC: Proper Declaration/PE Nesting ]
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007104Parameter-entity replacement text must be properly nested with
Daniel Veillardb05deb71999-08-10 19:04:08 +00007105markup declarations. That is to say, if either the first character
7106or the last character of a markup declaration (markupdecl above) is
7107contained in the replacement text for a parameter-entity reference,
7108both must be contained in the same replacement text.</P
7109><P
7110>[ WFC: PEs in Internal Subset ]
7111In the internal DTD subset, parameter-entity references can occur
7112only where markup declarations can occur, not within markup declarations.
7113(This does not apply to references that occur in external parameter
7114entities or to the external subset.)</P
Daniel Veillard35925471999-02-25 08:46:07 +00007115><P
7116></P
7117><DIV
7118CLASS="INFORMALTABLE"
7119><P
7120></P
7121><TABLE
7122BORDER="0"
7123WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007124BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007125CELLSPACING="0"
7126CELLPADDING="4"
7127CLASS="CALSTABLE"
7128><TR
7129><TD
7130WIDTH="20%"
7131ALIGN="RIGHT"
7132VALIGN="TOP"
7133><TT
7134CLASS="PARAMETER"
7135><I
7136>ctxt</I
7137></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007138>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007139><TD
7140WIDTH="80%"
7141ALIGN="LEFT"
7142VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007143> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007144></TR
7145></TABLE
7146><P
7147></P
7148></DIV
7149></DIV
7150><HR><DIV
7151CLASS="REFSECT2"
7152><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00007153NAME="AEN19057"
Daniel Veillard35925471999-02-25 08:46:07 +00007154></A
7155><H3
7156><A
7157NAME="XMLPARSECHARREF"
7158></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007159>xmlParseCharRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007160><TABLE
7161BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007162BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007163WIDTH="100%"
7164CELLPADDING="6"
7165><TR
7166><TD
7167><PRE
7168CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007169>int xmlParseCharRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007170HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007171>xmlParserCtxtPtr</A
7172> ctxt);</PRE
7173></TD
7174></TR
7175></TABLE
7176><P
7177>parse Reference declarations</P
7178><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007179>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
7180'&amp;<GTKDOCLINK
Daniel Veillard35925471999-02-25 08:46:07 +00007181HREF="X"
7182>x</GTKDOCLINK
7183>' [0-9a-fA-F]+ ';'</P
7184><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007185>[ WFC: Legal Character ]
7186Characters referred to using character references must match the
7187production for Char.</P
7188><P
Daniel Veillard35925471999-02-25 08:46:07 +00007189></P
7190><DIV
7191CLASS="INFORMALTABLE"
7192><P
7193></P
7194><TABLE
7195BORDER="0"
7196WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007197BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007198CELLSPACING="0"
7199CELLPADDING="4"
7200CLASS="CALSTABLE"
7201><TR
7202><TD
7203WIDTH="20%"
7204ALIGN="RIGHT"
7205VALIGN="TOP"
7206><TT
7207CLASS="PARAMETER"
7208><I
7209>ctxt</I
7210></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007211>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007212><TD
7213WIDTH="80%"
7214ALIGN="LEFT"
7215VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007216> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007217></TR
7218><TR
7219><TD
7220WIDTH="20%"
7221ALIGN="RIGHT"
7222VALIGN="TOP"
7223><I
7224CLASS="EMPHASIS"
7225>Returns</I
7226> :</TD
7227><TD
7228WIDTH="80%"
7229ALIGN="LEFT"
7230VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007231>the value parsed (as an int), 0 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007232></TR
7233></TABLE
7234><P
7235></P
7236></DIV
7237></DIV
7238><HR><DIV
7239CLASS="REFSECT2"
7240><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00007241NAME="AEN19080"
Daniel Veillard35925471999-02-25 08:46:07 +00007242></A
7243><H3
7244><A
7245NAME="XMLPARSEENTITYREF"
7246></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007247>xmlParseEntityRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007248><TABLE
7249BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007250BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007251WIDTH="100%"
7252CELLPADDING="6"
7253><TR
7254><TD
7255><PRE
7256CLASS="PROGRAMLISTING"
7257><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007258HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007259>xmlEntityPtr</A
7260> xmlParseEntityRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007261HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007262>xmlParserCtxtPtr</A
7263> ctxt);</PRE
7264></TD
7265></TR
7266></TABLE
7267><P
7268>parse ENTITY references declarations</P
7269><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007270>[68] EntityRef ::= '&amp;' Name ';'</P
Daniel Veillard35925471999-02-25 08:46:07 +00007271><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007272>[ WFC: Entity Declared ]
7273In a document without any DTD, a document with only an internal DTD
7274subset which contains no parameter entity references, or a document
7275with "standalone='yes'", the Name given in the entity reference
7276must match that in an entity declaration, except that well-formed
7277documents need not declare any of the following entities: amp, lt,
7278gt, apos, quot. The declaration of a parameter entity must precede
7279any reference to it. Similarly, the declaration of a general entity
7280must precede any reference to it which appears in a default value in an
7281attribute-list declaration. Note that if entities are declared in the
7282external subset or in external parameter entities, a non-validating
7283processor is not obligated to read and process their declarations;
7284for such documents, the rule that an entity must be declared is a
7285well-formedness constraint only if standalone='yes'.</P
7286><P
7287>[ WFC: Parsed Entity ]
7288An entity reference must not contain the name of an unparsed entity</P
7289><P
Daniel Veillard35925471999-02-25 08:46:07 +00007290></P
7291><DIV
7292CLASS="INFORMALTABLE"
7293><P
7294></P
7295><TABLE
7296BORDER="0"
7297WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007298BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007299CELLSPACING="0"
7300CELLPADDING="4"
7301CLASS="CALSTABLE"
7302><TR
7303><TD
7304WIDTH="20%"
7305ALIGN="RIGHT"
7306VALIGN="TOP"
7307><TT
7308CLASS="PARAMETER"
7309><I
7310>ctxt</I
7311></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007312>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007313><TD
7314WIDTH="80%"
7315ALIGN="LEFT"
7316VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007317> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007318></TR
7319><TR
7320><TD
7321WIDTH="20%"
7322ALIGN="RIGHT"
7323VALIGN="TOP"
7324><I
7325CLASS="EMPHASIS"
7326>Returns</I
7327> :</TD
7328><TD
7329WIDTH="80%"
7330ALIGN="LEFT"
7331VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007332>the xmlEntityPtr if found, or NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007333></TR
7334></TABLE
7335><P
7336></P
7337></DIV
7338></DIV
7339><HR><DIV
7340CLASS="REFSECT2"
7341><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00007342NAME="AEN19104"
Daniel Veillard35925471999-02-25 08:46:07 +00007343></A
7344><H3
7345><A
7346NAME="XMLPARSEREFERENCE"
7347></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007348>xmlParseReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007349><TABLE
7350BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007351BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007352WIDTH="100%"
7353CELLPADDING="6"
7354><TR
7355><TD
7356><PRE
7357CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007358>void xmlParseReference (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007359HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007360>xmlParserCtxtPtr</A
7361> ctxt);</PRE
7362></TD
7363></TR
7364></TABLE
7365><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00007366>parse and handle entity references in content, depending on the SAX
7367interface, this may end-up in a call to <GTKDOCLINK
7368HREF="CHARACTER"
7369>character</GTKDOCLINK
7370>() if this is a
Daniel Veillard294cbca1999-12-03 13:19:09 +00007371CharRef, a predefined entity, if there is no <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007372HREF="libxml-sax.html#REFERENCE"
Daniel Veillard294cbca1999-12-03 13:19:09 +00007373>reference</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007374>() callback.
7375or if the parser was asked to switch to that mode.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007376><P
7377>[67] Reference ::= EntityRef | CharRef</P
7378><P
7379></P
7380><DIV
7381CLASS="INFORMALTABLE"
7382><P
7383></P
7384><TABLE
7385BORDER="0"
7386WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007387BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007388CELLSPACING="0"
7389CELLPADDING="4"
7390CLASS="CALSTABLE"
7391><TR
7392><TD
7393WIDTH="20%"
7394ALIGN="RIGHT"
7395VALIGN="TOP"
7396><TT
7397CLASS="PARAMETER"
7398><I
7399>ctxt</I
7400></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007401>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007402><TD
7403WIDTH="80%"
7404ALIGN="LEFT"
7405VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007406> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007407></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007408></TABLE
7409><P
7410></P
7411></DIV
7412></DIV
7413><HR><DIV
7414CLASS="REFSECT2"
7415><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00007416NAME="AEN19123"
Daniel Veillard35925471999-02-25 08:46:07 +00007417></A
7418><H3
7419><A
7420NAME="XMLPARSEPEREFERENCE"
7421></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007422>xmlParsePEReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007423><TABLE
7424BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007425BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007426WIDTH="100%"
7427CELLPADDING="6"
7428><TR
7429><TD
7430><PRE
7431CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007432>void xmlParsePEReference (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007433HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007434>xmlParserCtxtPtr</A
7435> ctxt);</PRE
7436></TD
7437></TR
7438></TABLE
7439><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00007440>parse PEReference declarations
7441The entity content is handled directly by pushing it's content as
7442a new input stream.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007443><P
7444>[69] PEReference ::= '%' Name ';'</P
7445><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007446>[ WFC: No Recursion ]
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007447A parsed entity must not contain a recursive
Daniel Veillardb05deb71999-08-10 19:04:08 +00007448reference to itself, either directly or indirectly. </P
7449><P
7450>[ WFC: Entity Declared ]
7451In a document without any DTD, a document with only an internal DTD
7452subset which contains no parameter entity references, or a document
7453with "standalone='yes'", ... ... The declaration of a parameter
7454entity must precede any reference to it...</P
7455><P
7456>[ VC: Entity Declared ]
7457In a document with an external subset or external parameter entities
7458with "standalone='no'", ... ... The declaration of a parameter entity
7459must precede any reference to it...</P
7460><P
7461>[ WFC: In DTD ]
7462Parameter-entity references may only appear in the DTD.
7463NOTE: misleading but this is handled.</P
7464><P
Daniel Veillard35925471999-02-25 08:46:07 +00007465></P
7466><DIV
7467CLASS="INFORMALTABLE"
7468><P
7469></P
7470><TABLE
7471BORDER="0"
7472WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007473BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007474CELLSPACING="0"
7475CELLPADDING="4"
7476CLASS="CALSTABLE"
7477><TR
7478><TD
7479WIDTH="20%"
7480ALIGN="RIGHT"
7481VALIGN="TOP"
7482><TT
7483CLASS="PARAMETER"
7484><I
7485>ctxt</I
7486></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007487>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007488><TD
7489WIDTH="80%"
7490ALIGN="LEFT"
7491VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007492> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007493></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007494></TABLE
7495><P
7496></P
7497></DIV
7498></DIV
7499><HR><DIV
7500CLASS="REFSECT2"
7501><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00007502NAME="AEN19144"
Daniel Veillard35925471999-02-25 08:46:07 +00007503></A
7504><H3
7505><A
7506NAME="XMLPARSEDOCTYPEDECL"
7507></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007508>xmlParseDocTypeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007509><TABLE
7510BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007511BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007512WIDTH="100%"
7513CELLPADDING="6"
7514><TR
7515><TD
7516><PRE
7517CLASS="PROGRAMLISTING"
7518>void xmlParseDocTypeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007519HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007520>xmlParserCtxtPtr</A
7521> ctxt);</PRE
7522></TD
7523></TR
7524></TABLE
7525><P
7526>parse a DOCTYPE declaration</P
7527><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007528>[28] doctypedecl ::= '&lt;!DOCTYPE' S Name (S ExternalID)? S?
7529('[' (markupdecl | PEReference | S)* ']' S?)? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00007530><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007531>[ VC: Root Element Type ]
7532The Name in the document type declaration must match the element
7533type of the root element.</P
7534><P
Daniel Veillard35925471999-02-25 08:46:07 +00007535></P
7536><DIV
7537CLASS="INFORMALTABLE"
7538><P
7539></P
7540><TABLE
7541BORDER="0"
7542WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007543BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007544CELLSPACING="0"
7545CELLPADDING="4"
7546CLASS="CALSTABLE"
7547><TR
7548><TD
7549WIDTH="20%"
7550ALIGN="RIGHT"
7551VALIGN="TOP"
7552><TT
7553CLASS="PARAMETER"
7554><I
7555>ctxt</I
7556></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007557>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007558><TD
7559WIDTH="80%"
7560ALIGN="LEFT"
7561VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007562> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007563></TR
7564></TABLE
7565><P
7566></P
7567></DIV
7568></DIV
7569><HR><DIV
7570CLASS="REFSECT2"
7571><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00007572NAME="AEN19162"
Daniel Veillard35925471999-02-25 08:46:07 +00007573></A
7574><H3
7575><A
7576NAME="XMLPARSEATTRIBUTE"
7577></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007578>xmlParseAttribute ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007579><TABLE
7580BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007581BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007582WIDTH="100%"
7583CELLPADDING="6"
7584><TR
7585><TD
7586><PRE
7587CLASS="PROGRAMLISTING"
7588><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007589HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007590>xmlChar</A
7591>* xmlParseAttribute (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007592HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007593>xmlParserCtxtPtr</A
7594> ctxt,
7595 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007596HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007597>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00007598> **value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00007599></TD
7600></TR
7601></TABLE
7602><P
7603>parse an attribute</P
7604><P
7605>[41] Attribute ::= Name Eq AttValue</P
7606><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007607>[ WFC: No External Entity References ]
7608Attribute values cannot contain direct or indirect entity references
7609to external entities.</P
7610><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007611>[ WFC: No &lt; in Attribute Values ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00007612The replacement text of any entity referred to directly or indirectly in
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007613an attribute value (other than "&amp;lt;") must not contain a &lt;. </P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007614><P
7615>[ VC: Attribute Value Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007616The attribute must have been declared; the value must be of the type
Daniel Veillardb05deb71999-08-10 19:04:08 +00007617declared for it.</P
7618><P
Daniel Veillard35925471999-02-25 08:46:07 +00007619>[25] Eq ::= S? '=' S?</P
7620><P
7621>With namespace:</P
7622><P
7623>[NS 11] Attribute ::= QName Eq AttValue</P
7624><P
7625>Also the case QName == xmlns:??? is handled independently as a namespace
7626definition.</P
7627><P
7628></P
7629><DIV
7630CLASS="INFORMALTABLE"
7631><P
7632></P
7633><TABLE
7634BORDER="0"
7635WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007636BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007637CELLSPACING="0"
7638CELLPADDING="4"
7639CLASS="CALSTABLE"
7640><TR
7641><TD
7642WIDTH="20%"
7643ALIGN="RIGHT"
7644VALIGN="TOP"
7645><TT
7646CLASS="PARAMETER"
7647><I
7648>ctxt</I
7649></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007650>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007651><TD
7652WIDTH="80%"
7653ALIGN="LEFT"
7654VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007655> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007656></TR
7657><TR
7658><TD
7659WIDTH="20%"
7660ALIGN="RIGHT"
7661VALIGN="TOP"
7662><TT
7663CLASS="PARAMETER"
7664><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00007665>value</I
Daniel Veillard35925471999-02-25 08:46:07 +00007666></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007667>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007668><TD
7669WIDTH="80%"
7670ALIGN="LEFT"
7671VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007672> a xmlChar ** used to store the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007673></TR
7674><TR
7675><TD
7676WIDTH="20%"
7677ALIGN="RIGHT"
7678VALIGN="TOP"
7679><I
7680CLASS="EMPHASIS"
7681>Returns</I
7682> :</TD
7683><TD
7684WIDTH="80%"
7685ALIGN="LEFT"
7686VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007687>the attribute name, and the value in *value.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007688></TR
7689></TABLE
7690><P
7691></P
7692></DIV
7693></DIV
7694><HR><DIV
7695CLASS="REFSECT2"
7696><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00007697NAME="AEN19196"
Daniel Veillard35925471999-02-25 08:46:07 +00007698></A
7699><H3
7700><A
7701NAME="XMLPARSESTARTTAG"
7702></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007703>xmlParseStartTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007704><TABLE
7705BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007706BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007707WIDTH="100%"
7708CELLPADDING="6"
7709><TR
7710><TD
7711><PRE
7712CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00007713><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007714HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007715>xmlChar</A
7716>* xmlParseStartTag (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007717HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007718>xmlParserCtxtPtr</A
7719> ctxt);</PRE
7720></TD
7721></TR
7722></TABLE
7723><P
7724>parse a start of tag either for rule element or
7725EmptyElement. In both case we don't parse the tag closing chars.</P
7726><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007727>[40] STag ::= '&lt;' Name (S Attribute)* S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00007728><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007729>[ WFC: Unique Att Spec ]
7730No attribute name may appear more than once in the same start-tag or
7731empty-element tag. </P
7732><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007733>[44] EmptyElemTag ::= '&lt;' Name (S Attribute)* S? '/&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00007734><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007735>[ WFC: Unique Att Spec ]
7736No attribute name may appear more than once in the same start-tag or
7737empty-element tag. </P
7738><P
Daniel Veillard35925471999-02-25 08:46:07 +00007739>With namespace:</P
7740><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007741>[NS 8] STag ::= '&lt;' QName (S Attribute)* S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00007742><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007743>[NS 10] EmptyElement ::= '&lt;' QName (S Attribute)* S? '/&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00007744><P
7745></P
7746><DIV
7747CLASS="INFORMALTABLE"
7748><P
7749></P
7750><TABLE
7751BORDER="0"
7752WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007753BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007754CELLSPACING="0"
7755CELLPADDING="4"
7756CLASS="CALSTABLE"
7757><TR
7758><TD
7759WIDTH="20%"
7760ALIGN="RIGHT"
7761VALIGN="TOP"
7762><TT
7763CLASS="PARAMETER"
7764><I
7765>ctxt</I
7766></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007767>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007768><TD
7769WIDTH="80%"
7770ALIGN="LEFT"
7771VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007772> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007773></TR
Daniel Veillard14fff061999-06-22 21:49:07 +00007774><TR
7775><TD
7776WIDTH="20%"
7777ALIGN="RIGHT"
7778VALIGN="TOP"
7779><I
7780CLASS="EMPHASIS"
7781>Returns</I
7782> :</TD
7783><TD
7784WIDTH="80%"
7785ALIGN="LEFT"
7786VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007787>the element name parsed</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007788></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007789></TABLE
7790><P
7791></P
7792></DIV
7793></DIV
7794><HR><DIV
7795CLASS="REFSECT2"
7796><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00007797NAME="AEN19224"
Daniel Veillard35925471999-02-25 08:46:07 +00007798></A
7799><H3
7800><A
7801NAME="XMLPARSEENDTAG"
7802></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007803>xmlParseEndTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007804><TABLE
7805BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007806BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007807WIDTH="100%"
7808CELLPADDING="6"
7809><TR
7810><TD
7811><PRE
7812CLASS="PROGRAMLISTING"
7813>void xmlParseEndTag (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007814HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007815>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +00007816> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00007817></TD
7818></TR
7819></TABLE
7820><P
7821>parse an end of tag</P
7822><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007823>[42] ETag ::= '&lt;/' Name S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00007824><P
7825>With namespace</P
7826><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007827>[NS 9] ETag ::= '&lt;/' QName S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00007828><P
7829></P
7830><DIV
7831CLASS="INFORMALTABLE"
7832><P
7833></P
7834><TABLE
7835BORDER="0"
7836WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007837BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007838CELLSPACING="0"
7839CELLPADDING="4"
7840CLASS="CALSTABLE"
7841><TR
7842><TD
7843WIDTH="20%"
7844ALIGN="RIGHT"
7845VALIGN="TOP"
7846><TT
7847CLASS="PARAMETER"
7848><I
7849>ctxt</I
7850></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007851>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007852><TD
7853WIDTH="80%"
7854ALIGN="LEFT"
7855VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007856> an XML parser context</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007857></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007858></TABLE
7859><P
7860></P
7861></DIV
7862></DIV
7863><HR><DIV
7864CLASS="REFSECT2"
7865><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00007866NAME="AEN19243"
Daniel Veillard35925471999-02-25 08:46:07 +00007867></A
7868><H3
7869><A
7870NAME="XMLPARSECDSECT"
7871></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007872>xmlParseCDSect ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007873><TABLE
7874BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007875BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007876WIDTH="100%"
7877CELLPADDING="6"
7878><TR
7879><TD
7880><PRE
7881CLASS="PROGRAMLISTING"
7882>void xmlParseCDSect (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007883HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007884>xmlParserCtxtPtr</A
7885> ctxt);</PRE
7886></TD
7887></TR
7888></TABLE
7889><P
7890>Parse escaped pure raw content.</P
7891><P
7892>[18] CDSect ::= CDStart CData CDEnd</P
7893><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007894>[19] CDStart ::= '&lt;![CDATA['</P
Daniel Veillard35925471999-02-25 08:46:07 +00007895><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007896>[20] Data ::= (Char* - (Char* ']]&gt;' Char*))</P
Daniel Veillard35925471999-02-25 08:46:07 +00007897><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007898>[21] CDEnd ::= ']]&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00007899><P
7900></P
7901><DIV
7902CLASS="INFORMALTABLE"
7903><P
7904></P
7905><TABLE
7906BORDER="0"
7907WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007908BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007909CELLSPACING="0"
7910CELLPADDING="4"
7911CLASS="CALSTABLE"
7912><TR
7913><TD
7914WIDTH="20%"
7915ALIGN="RIGHT"
7916VALIGN="TOP"
7917><TT
7918CLASS="PARAMETER"
7919><I
7920>ctxt</I
7921></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007922>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007923><TD
7924WIDTH="80%"
7925ALIGN="LEFT"
7926VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007927> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007928></TR
7929></TABLE
7930><P
7931></P
7932></DIV
7933></DIV
7934><HR><DIV
7935CLASS="REFSECT2"
7936><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00007937NAME="AEN19263"
Daniel Veillard35925471999-02-25 08:46:07 +00007938></A
7939><H3
7940><A
7941NAME="XMLPARSECONTENT"
7942></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007943>xmlParseContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007944><TABLE
7945BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007946BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007947WIDTH="100%"
7948CELLPADDING="6"
7949><TR
7950><TD
7951><PRE
7952CLASS="PROGRAMLISTING"
7953>void xmlParseContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007954HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007955>xmlParserCtxtPtr</A
7956> ctxt);</PRE
7957></TD
7958></TR
7959></TABLE
7960><P
7961>Parse a content:</P
7962><P
7963>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
7964><P
7965></P
7966><DIV
7967CLASS="INFORMALTABLE"
7968><P
7969></P
7970><TABLE
7971BORDER="0"
7972WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007973BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007974CELLSPACING="0"
7975CELLPADDING="4"
7976CLASS="CALSTABLE"
7977><TR
7978><TD
7979WIDTH="20%"
7980ALIGN="RIGHT"
7981VALIGN="TOP"
7982><TT
7983CLASS="PARAMETER"
7984><I
7985>ctxt</I
7986></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007987>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007988><TD
7989WIDTH="80%"
7990ALIGN="LEFT"
7991VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007992> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007993></TR
7994></TABLE
7995><P
7996></P
7997></DIV
7998></DIV
7999><HR><DIV
8000CLASS="REFSECT2"
8001><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00008002NAME="AEN19280"
Daniel Veillard35925471999-02-25 08:46:07 +00008003></A
8004><H3
8005><A
8006NAME="XMLPARSEELEMENT"
8007></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008008>xmlParseElement ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008009><TABLE
8010BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008011BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008012WIDTH="100%"
8013CELLPADDING="6"
8014><TR
8015><TD
8016><PRE
8017CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00008018>void xmlParseElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008019HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008020>xmlParserCtxtPtr</A
8021> ctxt);</PRE
8022></TD
8023></TR
8024></TABLE
8025><P
8026>parse an XML element, this is highly recursive</P
8027><P
8028>[39] element ::= EmptyElemTag | STag content ETag</P
8029><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00008030>[ WFC: Element Type Match ]
8031The Name in an element's end-tag must match the element type in the
8032start-tag. </P
8033><P
8034>[ VC: Element Valid ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008035An element is valid if there is a declaration matching elementdecl
Daniel Veillardb05deb71999-08-10 19:04:08 +00008036where the Name matches the element type and one of the following holds:
8037- The declaration matches EMPTY and the element has no content.
8038- The declaration matches children and the sequence of child elements
8039belongs to the language generated by the regular expression in the
8040content model, with optional white space (characters matching the
8041nonterminal S) between each pair of child elements.
8042- The declaration matches Mixed and the content consists of character
8043data and child elements whose types match names in the content model.
8044- The declaration matches ANY, and the types of any child elements have
8045been declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00008046><P
8047></P
8048><DIV
8049CLASS="INFORMALTABLE"
8050><P
8051></P
8052><TABLE
8053BORDER="0"
8054WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008055BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008056CELLSPACING="0"
8057CELLPADDING="4"
8058CLASS="CALSTABLE"
8059><TR
8060><TD
8061WIDTH="20%"
8062ALIGN="RIGHT"
8063VALIGN="TOP"
8064><TT
8065CLASS="PARAMETER"
8066><I
8067>ctxt</I
8068></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008069>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008070><TD
8071WIDTH="80%"
8072ALIGN="LEFT"
8073VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008074> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008075></TR
Daniel Veillard35925471999-02-25 08:46:07 +00008076></TABLE
8077><P
8078></P
8079></DIV
8080></DIV
8081><HR><DIV
8082CLASS="REFSECT2"
8083><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00008084NAME="AEN19299"
Daniel Veillard35925471999-02-25 08:46:07 +00008085></A
8086><H3
8087><A
8088NAME="XMLPARSEVERSIONNUM"
8089></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008090>xmlParseVersionNum ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008091><TABLE
8092BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008093BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008094WIDTH="100%"
8095CELLPADDING="6"
8096><TR
8097><TD
8098><PRE
8099CLASS="PROGRAMLISTING"
8100><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008101HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008102>xmlChar</A
8103>* xmlParseVersionNum (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008104HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008105>xmlParserCtxtPtr</A
8106> ctxt);</PRE
8107></TD
8108></TR
8109></TABLE
8110><P
8111>parse the XML version value.</P
8112><P
8113>[26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</P
8114><P
8115></P
8116><DIV
8117CLASS="INFORMALTABLE"
8118><P
8119></P
8120><TABLE
8121BORDER="0"
8122WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008123BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008124CELLSPACING="0"
8125CELLPADDING="4"
8126CLASS="CALSTABLE"
8127><TR
8128><TD
8129WIDTH="20%"
8130ALIGN="RIGHT"
8131VALIGN="TOP"
8132><TT
8133CLASS="PARAMETER"
8134><I
8135>ctxt</I
8136></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008137>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008138><TD
8139WIDTH="80%"
8140ALIGN="LEFT"
8141VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008142> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008143></TR
8144><TR
8145><TD
8146WIDTH="20%"
8147ALIGN="RIGHT"
8148VALIGN="TOP"
8149><I
8150CLASS="EMPHASIS"
8151>Returns</I
8152> :</TD
8153><TD
8154WIDTH="80%"
8155ALIGN="LEFT"
8156VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008157>the string giving the XML version number, or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008158></TR
8159></TABLE
8160><P
8161></P
8162></DIV
8163></DIV
8164><HR><DIV
8165CLASS="REFSECT2"
8166><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00008167NAME="AEN19321"
Daniel Veillard35925471999-02-25 08:46:07 +00008168></A
8169><H3
8170><A
8171NAME="XMLPARSEVERSIONINFO"
8172></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008173>xmlParseVersionInfo ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008174><TABLE
8175BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008176BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008177WIDTH="100%"
8178CELLPADDING="6"
8179><TR
8180><TD
8181><PRE
8182CLASS="PROGRAMLISTING"
8183><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008184HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008185>xmlChar</A
8186>* xmlParseVersionInfo (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008187HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008188>xmlParserCtxtPtr</A
8189> ctxt);</PRE
8190></TD
8191></TR
8192></TABLE
8193><P
8194>parse the XML version.</P
8195><P
8196>[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")</P
8197><P
8198>[25] Eq ::= S? '=' S?</P
8199><P
8200></P
8201><DIV
8202CLASS="INFORMALTABLE"
8203><P
8204></P
8205><TABLE
8206BORDER="0"
8207WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008208BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008209CELLSPACING="0"
8210CELLPADDING="4"
8211CLASS="CALSTABLE"
8212><TR
8213><TD
8214WIDTH="20%"
8215ALIGN="RIGHT"
8216VALIGN="TOP"
8217><TT
8218CLASS="PARAMETER"
8219><I
8220>ctxt</I
8221></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008222>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008223><TD
8224WIDTH="80%"
8225ALIGN="LEFT"
8226VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008227> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008228></TR
8229><TR
8230><TD
8231WIDTH="20%"
8232ALIGN="RIGHT"
8233VALIGN="TOP"
8234><I
8235CLASS="EMPHASIS"
8236>Returns</I
8237> :</TD
8238><TD
8239WIDTH="80%"
8240ALIGN="LEFT"
8241VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008242>the version string, e.g. "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008243></TR
8244></TABLE
8245><P
8246></P
8247></DIV
8248></DIV
8249><HR><DIV
8250CLASS="REFSECT2"
8251><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00008252NAME="AEN19344"
Daniel Veillard35925471999-02-25 08:46:07 +00008253></A
8254><H3
8255><A
8256NAME="XMLPARSEENCNAME"
8257></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008258>xmlParseEncName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008259><TABLE
8260BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008261BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008262WIDTH="100%"
8263CELLPADDING="6"
8264><TR
8265><TD
8266><PRE
8267CLASS="PROGRAMLISTING"
8268><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008269HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008270>xmlChar</A
8271>* xmlParseEncName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008272HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008273>xmlParserCtxtPtr</A
8274> ctxt);</PRE
8275></TD
8276></TR
8277></TABLE
8278><P
8279>parse the XML encoding name</P
8280><P
8281>[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</P
8282><P
8283></P
8284><DIV
8285CLASS="INFORMALTABLE"
8286><P
8287></P
8288><TABLE
8289BORDER="0"
8290WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008291BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008292CELLSPACING="0"
8293CELLPADDING="4"
8294CLASS="CALSTABLE"
8295><TR
8296><TD
8297WIDTH="20%"
8298ALIGN="RIGHT"
8299VALIGN="TOP"
8300><TT
8301CLASS="PARAMETER"
8302><I
8303>ctxt</I
8304></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008305>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008306><TD
8307WIDTH="80%"
8308ALIGN="LEFT"
8309VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008310> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008311></TR
8312><TR
8313><TD
8314WIDTH="20%"
8315ALIGN="RIGHT"
8316VALIGN="TOP"
8317><I
8318CLASS="EMPHASIS"
8319>Returns</I
8320> :</TD
8321><TD
8322WIDTH="80%"
8323ALIGN="LEFT"
8324VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008325>the encoding name value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008326></TR
8327></TABLE
8328><P
8329></P
8330></DIV
8331></DIV
8332><HR><DIV
8333CLASS="REFSECT2"
8334><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00008335NAME="AEN19366"
Daniel Veillard35925471999-02-25 08:46:07 +00008336></A
8337><H3
8338><A
8339NAME="XMLPARSEENCODINGDECL"
8340></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008341>xmlParseEncodingDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008342><TABLE
8343BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008344BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008345WIDTH="100%"
8346CELLPADDING="6"
8347><TR
8348><TD
8349><PRE
8350CLASS="PROGRAMLISTING"
8351><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008352HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008353>xmlChar</A
8354>* xmlParseEncodingDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008355HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008356>xmlParserCtxtPtr</A
8357> ctxt);</PRE
8358></TD
8359></TR
8360></TABLE
8361><P
8362>parse the XML encoding declaration</P
8363><P
8364>[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")</P
8365><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008366>this setups the conversion filters.</P
Daniel Veillard35925471999-02-25 08:46:07 +00008367><P
8368></P
8369><DIV
8370CLASS="INFORMALTABLE"
8371><P
8372></P
8373><TABLE
8374BORDER="0"
8375WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008376BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008377CELLSPACING="0"
8378CELLPADDING="4"
8379CLASS="CALSTABLE"
8380><TR
8381><TD
8382WIDTH="20%"
8383ALIGN="RIGHT"
8384VALIGN="TOP"
8385><TT
8386CLASS="PARAMETER"
8387><I
8388>ctxt</I
8389></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008390>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008391><TD
8392WIDTH="80%"
8393ALIGN="LEFT"
8394VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008395> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008396></TR
8397><TR
8398><TD
8399WIDTH="20%"
8400ALIGN="RIGHT"
8401VALIGN="TOP"
8402><I
8403CLASS="EMPHASIS"
8404>Returns</I
8405> :</TD
8406><TD
8407WIDTH="80%"
8408ALIGN="LEFT"
8409VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008410>the encoding value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008411></TR
8412></TABLE
8413><P
8414></P
8415></DIV
8416></DIV
8417><HR><DIV
8418CLASS="REFSECT2"
8419><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00008420NAME="AEN19389"
Daniel Veillard35925471999-02-25 08:46:07 +00008421></A
8422><H3
8423><A
8424NAME="XMLPARSESDDECL"
8425></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008426>xmlParseSDDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008427><TABLE
8428BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008429BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008430WIDTH="100%"
8431CELLPADDING="6"
8432><TR
8433><TD
8434><PRE
8435CLASS="PROGRAMLISTING"
8436>int xmlParseSDDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008437HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008438>xmlParserCtxtPtr</A
8439> ctxt);</PRE
8440></TD
8441></TR
8442></TABLE
8443><P
8444>parse the XML standalone declaration</P
8445><P
8446>[32] SDDecl ::= S 'standalone' Eq
Daniel Veillardb05deb71999-08-10 19:04:08 +00008447(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"')) </P
8448><P
8449>[ VC: Standalone Document Declaration ]
8450TODO The standalone document declaration must have the value "no"
8451if any external markup declarations contain declarations of:
8452- attributes with default values, if elements to which these
8453attributes apply appear in the document without specifications
8454of values for these attributes, or
8455- entities (other than amp, lt, gt, apos, quot), if references
8456to those entities appear in the document, or
8457- attributes with values subject to normalization, where the
8458attribute appears in the document with a value which will change
8459as a result of normalization, or
8460- element types with element content, if white space occurs directly
8461within any instance of those types.</P
Daniel Veillard35925471999-02-25 08:46:07 +00008462><P
8463></P
8464><DIV
8465CLASS="INFORMALTABLE"
8466><P
8467></P
8468><TABLE
8469BORDER="0"
8470WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008471BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008472CELLSPACING="0"
8473CELLPADDING="4"
8474CLASS="CALSTABLE"
8475><TR
8476><TD
8477WIDTH="20%"
8478ALIGN="RIGHT"
8479VALIGN="TOP"
8480><TT
8481CLASS="PARAMETER"
8482><I
8483>ctxt</I
8484></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008485>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008486><TD
8487WIDTH="80%"
8488ALIGN="LEFT"
8489VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008490> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008491></TR
8492><TR
8493><TD
8494WIDTH="20%"
8495ALIGN="RIGHT"
8496VALIGN="TOP"
8497><I
8498CLASS="EMPHASIS"
8499>Returns</I
8500> :</TD
8501><TD
8502WIDTH="80%"
8503ALIGN="LEFT"
8504VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008505>1 if standalone, 0 otherwise</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008506></TR
8507></TABLE
8508><P
8509></P
8510></DIV
8511></DIV
8512><HR><DIV
8513CLASS="REFSECT2"
8514><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00008515NAME="AEN19411"
Daniel Veillard35925471999-02-25 08:46:07 +00008516></A
8517><H3
8518><A
8519NAME="XMLPARSEXMLDECL"
8520></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008521>xmlParseXMLDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008522><TABLE
8523BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008524BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008525WIDTH="100%"
8526CELLPADDING="6"
8527><TR
8528><TD
8529><PRE
8530CLASS="PROGRAMLISTING"
8531>void xmlParseXMLDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008532HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008533>xmlParserCtxtPtr</A
8534> ctxt);</PRE
8535></TD
8536></TR
8537></TABLE
8538><P
8539>parse an XML declaration header</P
8540><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008541>[23] XMLDecl ::= '&lt;?xml' VersionInfo EncodingDecl? SDDecl? S? '?&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00008542><P
8543></P
8544><DIV
8545CLASS="INFORMALTABLE"
8546><P
8547></P
8548><TABLE
8549BORDER="0"
8550WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008551BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008552CELLSPACING="0"
8553CELLPADDING="4"
8554CLASS="CALSTABLE"
8555><TR
8556><TD
8557WIDTH="20%"
8558ALIGN="RIGHT"
8559VALIGN="TOP"
8560><TT
8561CLASS="PARAMETER"
8562><I
8563>ctxt</I
8564></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008565>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008566><TD
8567WIDTH="80%"
8568ALIGN="LEFT"
8569VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008570> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008571></TR
8572></TABLE
8573><P
8574></P
8575></DIV
8576></DIV
8577><HR><DIV
8578CLASS="REFSECT2"
8579><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00008580NAME="AEN19428"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008581></A
8582><H3
8583><A
8584NAME="XMLPARSETEXTDECL"
8585></A
8586>xmlParseTextDecl ()</H3
8587><TABLE
8588BORDER="0"
8589BGCOLOR="#D6E8FF"
8590WIDTH="100%"
8591CELLPADDING="6"
8592><TR
8593><TD
8594><PRE
8595CLASS="PROGRAMLISTING"
8596>void xmlParseTextDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008597HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008598>xmlParserCtxtPtr</A
8599> ctxt);</PRE
8600></TD
8601></TR
8602></TABLE
8603><P
8604>parse an XML declaration header for external entities</P
8605><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008606>[77] TextDecl ::= '&lt;?xml' VersionInfo? EncodingDecl S? '?&gt;'</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008607><P
8608>Question: Seems that EncodingDecl is mandatory ? Is that a typo ?</P
8609><P
8610></P
8611><DIV
8612CLASS="INFORMALTABLE"
8613><P
8614></P
8615><TABLE
8616BORDER="0"
8617WIDTH="100%"
8618BGCOLOR="#FFD0D0"
8619CELLSPACING="0"
8620CELLPADDING="4"
8621CLASS="CALSTABLE"
8622><TR
8623><TD
8624WIDTH="20%"
8625ALIGN="RIGHT"
8626VALIGN="TOP"
8627><TT
8628CLASS="PARAMETER"
8629><I
8630>ctxt</I
8631></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008632>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008633><TD
8634WIDTH="80%"
8635ALIGN="LEFT"
8636VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008637> an XML parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008638></TR
8639></TABLE
8640><P
8641></P
8642></DIV
8643></DIV
8644><HR><DIV
8645CLASS="REFSECT2"
8646><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00008647NAME="AEN19446"
Daniel Veillard35925471999-02-25 08:46:07 +00008648></A
8649><H3
8650><A
8651NAME="XMLPARSEMISC"
8652></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008653>xmlParseMisc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008654><TABLE
8655BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008656BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008657WIDTH="100%"
8658CELLPADDING="6"
8659><TR
8660><TD
8661><PRE
8662CLASS="PROGRAMLISTING"
8663>void xmlParseMisc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008664HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008665>xmlParserCtxtPtr</A
8666> ctxt);</PRE
8667></TD
8668></TR
8669></TABLE
8670><P
8671>parse an XML Misc* optionnal field.</P
8672><P
8673>[27] Misc ::= Comment | PI | S</P
8674><P
8675></P
8676><DIV
8677CLASS="INFORMALTABLE"
8678><P
8679></P
8680><TABLE
8681BORDER="0"
8682WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008683BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008684CELLSPACING="0"
8685CELLPADDING="4"
8686CLASS="CALSTABLE"
8687><TR
8688><TD
8689WIDTH="20%"
8690ALIGN="RIGHT"
8691VALIGN="TOP"
8692><TT
8693CLASS="PARAMETER"
8694><I
8695>ctxt</I
8696></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008697>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008698><TD
8699WIDTH="80%"
8700ALIGN="LEFT"
8701VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008702> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008703></TR
8704></TABLE
8705><P
8706></P
8707></DIV
8708></DIV
Daniel Veillard011b63c1999-06-02 17:44:04 +00008709><HR><DIV
8710CLASS="REFSECT2"
8711><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00008712NAME="AEN19463"
Daniel Veillardb05deb71999-08-10 19:04:08 +00008713></A
8714><H3
8715><A
8716NAME="XMLPARSEEXTERNALSUBSET"
8717></A
8718>xmlParseExternalSubset ()</H3
8719><TABLE
8720BORDER="0"
8721BGCOLOR="#D6E8FF"
8722WIDTH="100%"
8723CELLPADDING="6"
8724><TR
8725><TD
8726><PRE
8727CLASS="PROGRAMLISTING"
8728>void xmlParseExternalSubset (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008729HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00008730>xmlParserCtxtPtr</A
8731> ctxt,
8732 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008733HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008734>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00008735> *ExternalID,
8736 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008737HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008738>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00008739> *SystemID);</PRE
8740></TD
8741></TR
8742></TABLE
8743><P
8744>parse Markup declarations from an external subset</P
8745><P
8746>[30] extSubset ::= textDecl? extSubsetDecl</P
8747><P
8748>[31] extSubsetDecl ::= (markupdecl | conditionalSect | PEReference | S) *</P
8749><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00008750></P
8751><DIV
8752CLASS="INFORMALTABLE"
8753><P
8754></P
8755><TABLE
8756BORDER="0"
8757WIDTH="100%"
8758BGCOLOR="#FFD0D0"
8759CELLSPACING="0"
8760CELLPADDING="4"
8761CLASS="CALSTABLE"
8762><TR
8763><TD
8764WIDTH="20%"
8765ALIGN="RIGHT"
8766VALIGN="TOP"
8767><TT
8768CLASS="PARAMETER"
8769><I
8770>ctxt</I
8771></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008772>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008773><TD
8774WIDTH="80%"
8775ALIGN="LEFT"
8776VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008777> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008778></TR
8779><TR
8780><TD
8781WIDTH="20%"
8782ALIGN="RIGHT"
8783VALIGN="TOP"
8784><TT
8785CLASS="PARAMETER"
8786><I
8787>ExternalID</I
8788></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008789>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008790><TD
8791WIDTH="80%"
8792ALIGN="LEFT"
8793VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008794> the external identifier</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008795></TR
8796><TR
8797><TD
8798WIDTH="20%"
8799ALIGN="RIGHT"
8800VALIGN="TOP"
8801><TT
8802CLASS="PARAMETER"
8803><I
8804>SystemID</I
8805></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008806>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008807><TD
8808WIDTH="80%"
8809ALIGN="LEFT"
8810VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008811> the system identifier (or URL)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008812></TR
8813></TABLE
8814><P
8815></P
8816></DIV
8817></DIV
8818><HR><DIV
8819CLASS="REFSECT2"
8820><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00008821NAME="AEN19491"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008822></A
8823><H3
8824><A
Daniel Veillard503b8932001-01-05 06:36:31 +00008825NAME="XML-SUBSTITUTE-NONE-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008826></A
8827>XML_SUBSTITUTE_NONE</H3
8828><TABLE
8829BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008830BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008831WIDTH="100%"
8832CELLPADDING="6"
8833><TR
8834><TD
8835><PRE
8836CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008837>#define XML_SUBSTITUTE_NONE 0</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008838></TD
8839></TR
8840></TABLE
8841><P
8842></P
8843></DIV
8844><HR><DIV
8845CLASS="REFSECT2"
8846><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00008847NAME="AEN19496"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008848></A
8849><H3
8850><A
Daniel Veillard503b8932001-01-05 06:36:31 +00008851NAME="XML-SUBSTITUTE-REF-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008852></A
8853>XML_SUBSTITUTE_REF</H3
8854><TABLE
8855BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008856BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008857WIDTH="100%"
8858CELLPADDING="6"
8859><TR
8860><TD
8861><PRE
8862CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008863>#define XML_SUBSTITUTE_REF 1</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008864></TD
8865></TR
8866></TABLE
8867><P
8868></P
8869></DIV
8870><HR><DIV
8871CLASS="REFSECT2"
8872><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00008873NAME="AEN19501"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008874></A
8875><H3
8876><A
Daniel Veillard503b8932001-01-05 06:36:31 +00008877NAME="XML-SUBSTITUTE-PEREF-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008878></A
8879>XML_SUBSTITUTE_PEREF</H3
8880><TABLE
8881BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008882BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008883WIDTH="100%"
8884CELLPADDING="6"
8885><TR
8886><TD
8887><PRE
8888CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008889>#define XML_SUBSTITUTE_PEREF 2</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008890></TD
8891></TR
8892></TABLE
8893><P
8894></P
8895></DIV
8896><HR><DIV
8897CLASS="REFSECT2"
8898><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00008899NAME="AEN19506"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008900></A
8901><H3
8902><A
Daniel Veillard503b8932001-01-05 06:36:31 +00008903NAME="XML-SUBSTITUTE-BOTH-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008904></A
8905>XML_SUBSTITUTE_BOTH</H3
8906><TABLE
8907BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008908BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008909WIDTH="100%"
8910CELLPADDING="6"
8911><TR
8912><TD
8913><PRE
8914CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008915>#define XML_SUBSTITUTE_BOTH 3</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008916></TD
8917></TR
8918></TABLE
8919><P
8920></P
8921></DIV
8922><HR><DIV
8923CLASS="REFSECT2"
8924><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00008925NAME="AEN19511"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008926></A
8927><H3
8928><A
8929NAME="XMLDECODEENTITIES"
8930></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008931>xmlDecodeEntities ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00008932><TABLE
8933BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008934BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008935WIDTH="100%"
8936CELLPADDING="6"
8937><TR
8938><TD
8939><PRE
8940CLASS="PROGRAMLISTING"
8941><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008942HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008943>xmlChar</A
8944>* xmlDecodeEntities (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008945HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008946>xmlParserCtxtPtr</A
8947> ctxt,
8948 int len,
8949 int what,
8950 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008951HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008952>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008953> end,
8954 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008955HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008956>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008957> end2,
8958 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008959HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008960>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008961> end3);</PRE
8962></TD
8963></TR
8964></TABLE
8965><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008966>This function is deprecated, we now always process entities content
8967through xmlStringDecodeEntities</P
8968><P
8969>TODO: remove it in next major release.</P
8970><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00008971>[67] Reference ::= EntityRef | CharRef</P
8972><P
8973>[69] PEReference ::= '%' Name ';'</P
8974><P
8975></P
8976><DIV
8977CLASS="INFORMALTABLE"
8978><P
8979></P
8980><TABLE
8981BORDER="0"
8982WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008983BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008984CELLSPACING="0"
8985CELLPADDING="4"
8986CLASS="CALSTABLE"
8987><TR
8988><TD
8989WIDTH="20%"
8990ALIGN="RIGHT"
8991VALIGN="TOP"
8992><TT
8993CLASS="PARAMETER"
8994><I
8995>ctxt</I
8996></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008997>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008998><TD
8999WIDTH="80%"
9000ALIGN="LEFT"
9001VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009002> the parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009003></TR
9004><TR
9005><TD
9006WIDTH="20%"
9007ALIGN="RIGHT"
9008VALIGN="TOP"
9009><TT
9010CLASS="PARAMETER"
9011><I
9012>len</I
9013></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009014>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009015><TD
9016WIDTH="80%"
9017ALIGN="LEFT"
9018VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009019> the len to decode (in bytes !), -1 for no size limit</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009020></TR
9021><TR
9022><TD
9023WIDTH="20%"
9024ALIGN="RIGHT"
9025VALIGN="TOP"
9026><TT
9027CLASS="PARAMETER"
9028><I
9029>what</I
9030></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009031>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009032><TD
9033WIDTH="80%"
9034ALIGN="LEFT"
9035VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009036> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009037></TR
9038><TR
9039><TD
9040WIDTH="20%"
9041ALIGN="RIGHT"
9042VALIGN="TOP"
9043><TT
9044CLASS="PARAMETER"
9045><I
9046>end</I
9047></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009048>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009049><TD
9050WIDTH="80%"
9051ALIGN="LEFT"
9052VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009053> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009054></TR
9055><TR
9056><TD
9057WIDTH="20%"
9058ALIGN="RIGHT"
9059VALIGN="TOP"
9060><TT
9061CLASS="PARAMETER"
9062><I
9063>end2</I
9064></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009065>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009066><TD
9067WIDTH="80%"
9068ALIGN="LEFT"
9069VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009070> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009071></TR
9072><TR
9073><TD
9074WIDTH="20%"
9075ALIGN="RIGHT"
9076VALIGN="TOP"
9077><TT
9078CLASS="PARAMETER"
9079><I
9080>end3</I
9081></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009082>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009083><TD
9084WIDTH="80%"
9085ALIGN="LEFT"
9086VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009087> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009088></TR
9089><TR
9090><TD
9091WIDTH="20%"
9092ALIGN="RIGHT"
9093VALIGN="TOP"
9094><I
9095CLASS="EMPHASIS"
9096>Returns</I
9097> :</TD
9098><TD
9099WIDTH="80%"
9100ALIGN="LEFT"
9101VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009102>A newly allocated string with the substitution done. The caller
9103must deallocate it !</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009104></TR
9105></TABLE
9106><P
9107></P
9108></DIV
9109></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +00009110><HR><DIV
9111CLASS="REFSECT2"
9112><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00009113NAME="AEN19558"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009114></A
9115><H3
9116><A
9117NAME="XMLSTRINGDECODEENTITIES"
9118></A
9119>xmlStringDecodeEntities ()</H3
9120><TABLE
9121BORDER="0"
9122BGCOLOR="#D6E8FF"
9123WIDTH="100%"
9124CELLPADDING="6"
9125><TR
9126><TD
9127><PRE
9128CLASS="PROGRAMLISTING"
9129><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009130HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009131>xmlChar</A
9132>* xmlStringDecodeEntities (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009133HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009134>xmlParserCtxtPtr</A
9135> ctxt,
9136 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009137HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009138>xmlChar</A
9139> *str,
9140 int what,
9141 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009142HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009143>xmlChar</A
9144> end,
9145 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009146HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009147>xmlChar</A
9148> end2,
9149 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009150HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009151>xmlChar</A
9152> end3);</PRE
9153></TD
9154></TR
9155></TABLE
9156><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009157>Takes a entity string content and process to do the adequate subtitutions.</P
9158><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009159>[67] Reference ::= EntityRef | CharRef</P
9160><P
9161>[69] PEReference ::= '%' Name ';'</P
9162><P
9163></P
9164><DIV
9165CLASS="INFORMALTABLE"
9166><P
9167></P
9168><TABLE
9169BORDER="0"
9170WIDTH="100%"
9171BGCOLOR="#FFD0D0"
9172CELLSPACING="0"
9173CELLPADDING="4"
9174CLASS="CALSTABLE"
9175><TR
9176><TD
9177WIDTH="20%"
9178ALIGN="RIGHT"
9179VALIGN="TOP"
9180><TT
9181CLASS="PARAMETER"
9182><I
9183>ctxt</I
9184></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009185>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009186><TD
9187WIDTH="80%"
9188ALIGN="LEFT"
9189VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009190> the parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009191></TR
9192><TR
9193><TD
9194WIDTH="20%"
9195ALIGN="RIGHT"
9196VALIGN="TOP"
9197><TT
9198CLASS="PARAMETER"
9199><I
9200>str</I
9201></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009202>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009203><TD
9204WIDTH="80%"
9205ALIGN="LEFT"
9206VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009207> the input string</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009208></TR
9209><TR
9210><TD
9211WIDTH="20%"
9212ALIGN="RIGHT"
9213VALIGN="TOP"
9214><TT
9215CLASS="PARAMETER"
9216><I
9217>what</I
9218></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009219>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009220><TD
9221WIDTH="80%"
9222ALIGN="LEFT"
9223VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009224> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009225></TR
9226><TR
9227><TD
9228WIDTH="20%"
9229ALIGN="RIGHT"
9230VALIGN="TOP"
9231><TT
9232CLASS="PARAMETER"
9233><I
9234>end</I
9235></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009236>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009237><TD
9238WIDTH="80%"
9239ALIGN="LEFT"
9240VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009241> an end marker xmlChar, 0 if none</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009242></TR
9243><TR
9244><TD
9245WIDTH="20%"
9246ALIGN="RIGHT"
9247VALIGN="TOP"
9248><TT
9249CLASS="PARAMETER"
9250><I
9251>end2</I
9252></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009253>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009254><TD
9255WIDTH="80%"
9256ALIGN="LEFT"
9257VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009258> an end marker xmlChar, 0 if none</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009259></TR
9260><TR
9261><TD
9262WIDTH="20%"
9263ALIGN="RIGHT"
9264VALIGN="TOP"
9265><TT
9266CLASS="PARAMETER"
9267><I
9268>end3</I
9269></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009270>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009271><TD
9272WIDTH="80%"
9273ALIGN="LEFT"
9274VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009275> an end marker xmlChar, 0 if none</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009276></TR
9277><TR
9278><TD
9279WIDTH="20%"
9280ALIGN="RIGHT"
9281VALIGN="TOP"
9282><I
9283CLASS="EMPHASIS"
9284>Returns</I
9285> :</TD
9286><TD
9287WIDTH="80%"
9288ALIGN="LEFT"
9289VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009290>A newly allocated string with the substitution done. The caller
9291must deallocate it !</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009292></TR
9293></TABLE
9294><P
9295></P
9296></DIV
9297></DIV
9298><HR><DIV
9299CLASS="REFSECT2"
9300><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00009301NAME="AEN19605"
Daniel Veillard14fff061999-06-22 21:49:07 +00009302></A
9303><H3
9304><A
9305NAME="NODEPUSH"
9306></A
9307>nodePush ()</H3
9308><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00009309BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009310BGCOLOR="#D6E8FF"
9311WIDTH="100%"
9312CELLPADDING="6"
Daniel Veillard35925471999-02-25 08:46:07 +00009313><TR
9314><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009315><PRE
9316CLASS="PROGRAMLISTING"
9317>int nodePush (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009318HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009319>xmlParserCtxtPtr</A
9320> ctxt,
9321 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009322HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009323>xmlNodePtr</A
9324> value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00009325></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009326></TR
9327></TABLE
9328><P
9329></P
9330><DIV
9331CLASS="INFORMALTABLE"
9332><P
9333></P
9334><TABLE
9335BORDER="0"
9336WIDTH="100%"
9337BGCOLOR="#FFD0D0"
9338CELLSPACING="0"
9339CELLPADDING="4"
9340CLASS="CALSTABLE"
9341><TR
Daniel Veillard35925471999-02-25 08:46:07 +00009342><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009343WIDTH="20%"
9344ALIGN="RIGHT"
9345VALIGN="TOP"
9346><TT
9347CLASS="PARAMETER"
9348><I
9349>ctxt</I
9350></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009351>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009352><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009353WIDTH="80%"
9354ALIGN="LEFT"
9355VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00009356>&nbsp;</TD
9357></TR
9358><TR
9359><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009360WIDTH="20%"
9361ALIGN="RIGHT"
9362VALIGN="TOP"
9363><TT
9364CLASS="PARAMETER"
9365><I
9366>value</I
9367></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009368>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009369><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009370WIDTH="80%"
9371ALIGN="LEFT"
9372VALIGN="TOP"
9373>&nbsp;</TD
9374></TR
9375><TR
9376><TD
9377WIDTH="20%"
9378ALIGN="RIGHT"
9379VALIGN="TOP"
9380><I
9381CLASS="EMPHASIS"
9382>Returns</I
9383> :</TD
9384><TD
9385WIDTH="80%"
9386ALIGN="LEFT"
9387VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00009388>&#13;</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009389></TR
9390></TABLE
9391><P
9392></P
9393></DIV
9394></DIV
9395><HR><DIV
9396CLASS="REFSECT2"
Daniel Veillard35925471999-02-25 08:46:07 +00009397><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00009398NAME="AEN19629"
Daniel Veillard14fff061999-06-22 21:49:07 +00009399></A
9400><H3
9401><A
9402NAME="NODEPOP"
9403></A
9404>nodePop ()</H3
9405><TABLE
9406BORDER="0"
9407BGCOLOR="#D6E8FF"
9408WIDTH="100%"
9409CELLPADDING="6"
9410><TR
9411><TD
9412><PRE
9413CLASS="PROGRAMLISTING"
9414><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009415HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009416>xmlNodePtr</A
9417> nodePop (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009418HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009419>xmlParserCtxtPtr</A
9420> ctxt);</PRE
9421></TD
9422></TR
9423></TABLE
9424><P
9425></P
9426><DIV
9427CLASS="INFORMALTABLE"
9428><P
9429></P
9430><TABLE
9431BORDER="0"
9432WIDTH="100%"
9433BGCOLOR="#FFD0D0"
9434CELLSPACING="0"
9435CELLPADDING="4"
9436CLASS="CALSTABLE"
9437><TR
9438><TD
9439WIDTH="20%"
9440ALIGN="RIGHT"
9441VALIGN="TOP"
9442><TT
9443CLASS="PARAMETER"
9444><I
9445>ctxt</I
9446></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009447>&nbsp;:</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009448><TD
9449WIDTH="80%"
9450ALIGN="LEFT"
9451VALIGN="TOP"
9452>&nbsp;</TD
9453></TR
9454><TR
9455><TD
9456WIDTH="20%"
9457ALIGN="RIGHT"
9458VALIGN="TOP"
9459><I
9460CLASS="EMPHASIS"
9461>Returns</I
9462> :</TD
9463><TD
9464WIDTH="80%"
9465ALIGN="LEFT"
9466VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00009467>&#13;</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009468></TR
9469></TABLE
9470><P
9471></P
9472></DIV
9473></DIV
9474><HR><DIV
9475CLASS="REFSECT2"
9476><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00009477NAME="AEN19649"
Daniel Veillard14fff061999-06-22 21:49:07 +00009478></A
9479><H3
9480><A
9481NAME="INPUTPUSH"
9482></A
9483>inputPush ()</H3
9484><TABLE
9485BORDER="0"
9486BGCOLOR="#D6E8FF"
9487WIDTH="100%"
9488CELLPADDING="6"
9489><TR
9490><TD
9491><PRE
9492CLASS="PROGRAMLISTING"
9493>int inputPush (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009494HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009495>xmlParserCtxtPtr</A
9496> ctxt,
9497 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009498HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009499>xmlParserInputPtr</A
9500> value);</PRE
9501></TD
9502></TR
9503></TABLE
9504><P
9505></P
9506><DIV
9507CLASS="INFORMALTABLE"
9508><P
9509></P
9510><TABLE
9511BORDER="0"
9512WIDTH="100%"
9513BGCOLOR="#FFD0D0"
9514CELLSPACING="0"
9515CELLPADDING="4"
9516CLASS="CALSTABLE"
9517><TR
9518><TD
9519WIDTH="20%"
9520ALIGN="RIGHT"
9521VALIGN="TOP"
9522><TT
9523CLASS="PARAMETER"
9524><I
9525>ctxt</I
9526></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009527>&nbsp;:</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009528><TD
9529WIDTH="80%"
9530ALIGN="LEFT"
9531VALIGN="TOP"
9532>&nbsp;</TD
9533></TR
9534><TR
9535><TD
9536WIDTH="20%"
9537ALIGN="RIGHT"
9538VALIGN="TOP"
9539><TT
9540CLASS="PARAMETER"
9541><I
9542>value</I
9543></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009544>&nbsp;:</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009545><TD
9546WIDTH="80%"
9547ALIGN="LEFT"
9548VALIGN="TOP"
9549>&nbsp;</TD
9550></TR
9551><TR
9552><TD
9553WIDTH="20%"
9554ALIGN="RIGHT"
9555VALIGN="TOP"
9556><I
9557CLASS="EMPHASIS"
9558>Returns</I
9559> :</TD
9560><TD
9561WIDTH="80%"
9562ALIGN="LEFT"
9563VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00009564>&#13;</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009565></TR
9566></TABLE
9567><P
9568></P
9569></DIV
9570></DIV
9571><HR><DIV
9572CLASS="REFSECT2"
9573><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00009574NAME="AEN19673"
Daniel Veillard14fff061999-06-22 21:49:07 +00009575></A
9576><H3
9577><A
9578NAME="INPUTPOP"
9579></A
9580>inputPop ()</H3
9581><TABLE
9582BORDER="0"
9583BGCOLOR="#D6E8FF"
9584WIDTH="100%"
9585CELLPADDING="6"
9586><TR
9587><TD
9588><PRE
9589CLASS="PROGRAMLISTING"
9590><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009591HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009592>xmlParserInputPtr</A
9593> inputPop (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009594HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009595>xmlParserCtxtPtr</A
9596> ctxt);</PRE
9597></TD
9598></TR
9599></TABLE
9600><P
9601></P
9602><DIV
9603CLASS="INFORMALTABLE"
9604><P
9605></P
9606><TABLE
9607BORDER="0"
9608WIDTH="100%"
9609BGCOLOR="#FFD0D0"
9610CELLSPACING="0"
9611CELLPADDING="4"
9612CLASS="CALSTABLE"
9613><TR
9614><TD
9615WIDTH="20%"
9616ALIGN="RIGHT"
9617VALIGN="TOP"
9618><TT
9619CLASS="PARAMETER"
9620><I
9621>ctxt</I
9622></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009623>&nbsp;:</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009624><TD
9625WIDTH="80%"
9626ALIGN="LEFT"
9627VALIGN="TOP"
9628>&nbsp;</TD
9629></TR
9630><TR
9631><TD
9632WIDTH="20%"
9633ALIGN="RIGHT"
9634VALIGN="TOP"
9635><I
9636CLASS="EMPHASIS"
9637>Returns</I
9638> :</TD
9639><TD
9640WIDTH="80%"
9641ALIGN="LEFT"
9642VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00009643>&#13;</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009644></TR
9645></TABLE
9646><P
9647></P
9648></DIV
9649></DIV
Daniel Veillarde46e20d2000-07-14 15:02:46 +00009650><HR><DIV
9651CLASS="REFSECT2"
9652><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00009653NAME="AEN19693"
Daniel Veillarda41123c2001-04-22 19:31:20 +00009654></A
9655><H3
9656><A
9657NAME="NAMEPOP"
9658></A
9659>namePop ()</H3
9660><TABLE
9661BORDER="0"
9662BGCOLOR="#D6E8FF"
9663WIDTH="100%"
9664CELLPADDING="6"
9665><TR
9666><TD
9667><PRE
9668CLASS="PROGRAMLISTING"
9669><A
9670HREF="libxml-tree.html#XMLCHAR"
9671>xmlChar</A
9672>* namePop (<A
9673HREF="libxml-parser.html#XMLPARSERCTXTPTR"
9674>xmlParserCtxtPtr</A
9675> ctxt);</PRE
9676></TD
9677></TR
9678></TABLE
9679><P
9680></P
9681><DIV
9682CLASS="INFORMALTABLE"
9683><P
9684></P
9685><TABLE
9686BORDER="0"
9687WIDTH="100%"
9688BGCOLOR="#FFD0D0"
9689CELLSPACING="0"
9690CELLPADDING="4"
9691CLASS="CALSTABLE"
9692><TR
9693><TD
9694WIDTH="20%"
9695ALIGN="RIGHT"
9696VALIGN="TOP"
9697><TT
9698CLASS="PARAMETER"
9699><I
9700>ctxt</I
9701></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009702>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00009703><TD
9704WIDTH="80%"
9705ALIGN="LEFT"
9706VALIGN="TOP"
9707>&nbsp;</TD
9708></TR
9709><TR
9710><TD
9711WIDTH="20%"
9712ALIGN="RIGHT"
9713VALIGN="TOP"
9714><I
9715CLASS="EMPHASIS"
9716>Returns</I
9717> :</TD
9718><TD
9719WIDTH="80%"
9720ALIGN="LEFT"
9721VALIGN="TOP"
9722>&#13;</TD
9723></TR
9724></TABLE
9725><P
9726></P
9727></DIV
9728></DIV
9729><HR><DIV
9730CLASS="REFSECT2"
9731><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00009732NAME="AEN19713"
Daniel Veillarda41123c2001-04-22 19:31:20 +00009733></A
9734><H3
9735><A
9736NAME="NAMEPUSH"
9737></A
9738>namePush ()</H3
9739><TABLE
9740BORDER="0"
9741BGCOLOR="#D6E8FF"
9742WIDTH="100%"
9743CELLPADDING="6"
9744><TR
9745><TD
9746><PRE
9747CLASS="PROGRAMLISTING"
9748>int namePush (<A
9749HREF="libxml-parser.html#XMLPARSERCTXTPTR"
9750>xmlParserCtxtPtr</A
9751> ctxt,
9752 <A
9753HREF="libxml-tree.html#XMLCHAR"
9754>xmlChar</A
9755> *value);</PRE
9756></TD
9757></TR
9758></TABLE
9759><P
9760></P
9761><DIV
9762CLASS="INFORMALTABLE"
9763><P
9764></P
9765><TABLE
9766BORDER="0"
9767WIDTH="100%"
9768BGCOLOR="#FFD0D0"
9769CELLSPACING="0"
9770CELLPADDING="4"
9771CLASS="CALSTABLE"
9772><TR
9773><TD
9774WIDTH="20%"
9775ALIGN="RIGHT"
9776VALIGN="TOP"
9777><TT
9778CLASS="PARAMETER"
9779><I
9780>ctxt</I
9781></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009782>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00009783><TD
9784WIDTH="80%"
9785ALIGN="LEFT"
9786VALIGN="TOP"
9787>&nbsp;</TD
9788></TR
9789><TR
9790><TD
9791WIDTH="20%"
9792ALIGN="RIGHT"
9793VALIGN="TOP"
9794><TT
9795CLASS="PARAMETER"
9796><I
9797>value</I
9798></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009799>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00009800><TD
9801WIDTH="80%"
9802ALIGN="LEFT"
9803VALIGN="TOP"
9804>&nbsp;</TD
9805></TR
9806><TR
9807><TD
9808WIDTH="20%"
9809ALIGN="RIGHT"
9810VALIGN="TOP"
9811><I
9812CLASS="EMPHASIS"
9813>Returns</I
9814> :</TD
9815><TD
9816WIDTH="80%"
9817ALIGN="LEFT"
9818VALIGN="TOP"
9819>&#13;</TD
9820></TR
9821></TABLE
9822><P
9823></P
9824></DIV
9825></DIV
9826><HR><DIV
9827CLASS="REFSECT2"
9828><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00009829NAME="AEN19737"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009830></A
9831><H3
9832><A
9833NAME="XMLSKIPBLANKCHARS"
9834></A
9835>xmlSkipBlankChars ()</H3
9836><TABLE
9837BORDER="0"
9838BGCOLOR="#D6E8FF"
9839WIDTH="100%"
9840CELLPADDING="6"
9841><TR
9842><TD
9843><PRE
9844CLASS="PROGRAMLISTING"
9845>int xmlSkipBlankChars (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009846HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009847>xmlParserCtxtPtr</A
9848> ctxt);</PRE
9849></TD
9850></TR
9851></TABLE
9852><P
9853>skip all blanks character found at that point in the input streams.
9854It pops up finished entities in the process if allowable at that point.</P
9855><P
9856></P
9857><DIV
9858CLASS="INFORMALTABLE"
9859><P
9860></P
9861><TABLE
9862BORDER="0"
9863WIDTH="100%"
9864BGCOLOR="#FFD0D0"
9865CELLSPACING="0"
9866CELLPADDING="4"
9867CLASS="CALSTABLE"
9868><TR
9869><TD
9870WIDTH="20%"
9871ALIGN="RIGHT"
9872VALIGN="TOP"
9873><TT
9874CLASS="PARAMETER"
9875><I
9876>ctxt</I
9877></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009878>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009879><TD
9880WIDTH="80%"
9881ALIGN="LEFT"
9882VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009883> the XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009884></TR
9885><TR
9886><TD
9887WIDTH="20%"
9888ALIGN="RIGHT"
9889VALIGN="TOP"
9890><I
9891CLASS="EMPHASIS"
9892>Returns</I
9893> :</TD
9894><TD
9895WIDTH="80%"
9896ALIGN="LEFT"
9897VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009898>the number of space chars skipped</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009899></TR
9900></TABLE
9901><P
9902></P
9903></DIV
9904></DIV
9905><HR><DIV
9906CLASS="REFSECT2"
9907><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +00009908NAME="AEN19757"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009909></A
9910><H3
9911><A
9912NAME="XMLSTRINGCURRENTCHAR"
9913></A
9914>xmlStringCurrentChar ()</H3
9915><TABLE
9916BORDER="0"
9917BGCOLOR="#D6E8FF"
9918WIDTH="100%"
9919CELLPADDING="6"
9920><TR
9921><TD
9922><PRE
9923CLASS="PROGRAMLISTING"
9924>int xmlStringCurrentChar (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009925HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009926>xmlParserCtxtPtr</A
9927> ctxt,
9928 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009929HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009930>xmlChar</A
9931> *cur,
9932 int *len);</PRE
9933></TD
9934></TR
9935></TABLE
9936><P
9937>The current char value, if using UTF-8 this may actaully span multiple
9938bytes in the input buffer.</P
9939><P
9940></P
9941><DIV
9942CLASS="INFORMALTABLE"
9943><P
9944></P
9945><TABLE
9946BORDER="0"
9947WIDTH="100%"
9948BGCOLOR="#FFD0D0"
9949CELLSPACING="0"
9950CELLPADDING="4"
9951CLASS="CALSTABLE"
9952><TR
9953><TD
9954WIDTH="20%"
9955ALIGN="RIGHT"
9956VALIGN="TOP"
9957><TT
9958CLASS="PARAMETER"
9959><I
9960>ctxt</I
9961></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009962>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009963><TD
9964WIDTH="80%"
9965ALIGN="LEFT"
9966VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009967> the XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009968></TR
9969><TR
9970><TD
9971WIDTH="20%"
9972ALIGN="RIGHT"
9973VALIGN="TOP"
9974><TT
9975CLASS="PARAMETER"
9976><I
9977>cur</I
9978></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009979>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009980><TD
9981WIDTH="80%"
9982ALIGN="LEFT"
9983VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009984> pointer to the beginning of the char</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009985></TR
9986><TR
9987><TD
9988WIDTH="20%"
9989ALIGN="RIGHT"
9990VALIGN="TOP"
9991><TT
9992CLASS="PARAMETER"
9993><I
9994>len</I
9995></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009996>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009997><TD
9998WIDTH="80%"
9999ALIGN="LEFT"
10000VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010001> pointer to the length of the char read</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010002></TR
10003><TR
10004><TD
10005WIDTH="20%"
10006ALIGN="RIGHT"
10007VALIGN="TOP"
10008><I
10009CLASS="EMPHASIS"
10010>Returns</I
10011> :</TD
10012><TD
10013WIDTH="80%"
10014ALIGN="LEFT"
10015VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010016>the current char value and its lenght</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010017></TR
10018></TABLE
10019><P
10020></P
10021></DIV
10022></DIV
10023><HR><DIV
10024CLASS="REFSECT2"
10025><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +000010026NAME="AEN19786"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010027></A
10028><H3
10029><A
10030NAME="XMLPARSERHANDLEPEREFERENCE"
10031></A
10032>xmlParserHandlePEReference ()</H3
10033><TABLE
10034BORDER="0"
10035BGCOLOR="#D6E8FF"
10036WIDTH="100%"
10037CELLPADDING="6"
10038><TR
10039><TD
10040><PRE
10041CLASS="PROGRAMLISTING"
10042>void xmlParserHandlePEReference (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010043HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010044>xmlParserCtxtPtr</A
10045> ctxt);</PRE
10046></TD
10047></TR
10048></TABLE
10049><P
10050>[69] PEReference ::= '%' Name ';'</P
10051><P
10052>[ WFC: No Recursion ]
10053A parsed entity must not contain a recursive
10054reference to itself, either directly or indirectly. </P
10055><P
10056>[ WFC: Entity Declared ]
10057In a document without any DTD, a document with only an internal DTD
10058subset which contains no parameter entity references, or a document
10059with "standalone='yes'", ... ... The declaration of a parameter
10060entity must precede any reference to it...</P
10061><P
10062>[ VC: Entity Declared ]
10063In a document with an external subset or external parameter entities
10064with "standalone='no'", ... ... The declaration of a parameter entity
10065must precede any reference to it...</P
10066><P
10067>[ WFC: In DTD ]
10068Parameter-entity references may only appear in the DTD.
10069NOTE: misleading but this is handled.</P
10070><P
10071>A PEReference may have been detected in the current input stream
10072the handling is done accordingly to
10073http://www.w3.org/TR/REC-xml<GTKDOCLINK
10074HREF="ENTPROC"
10075>entproc</GTKDOCLINK
10076>
10077i.e.
10078- Included in literal in entity values
10079- Included as Paraemeter Entity reference within DTDs</P
10080><P
10081></P
10082><DIV
10083CLASS="INFORMALTABLE"
10084><P
10085></P
10086><TABLE
10087BORDER="0"
10088WIDTH="100%"
10089BGCOLOR="#FFD0D0"
10090CELLSPACING="0"
10091CELLPADDING="4"
10092CLASS="CALSTABLE"
10093><TR
10094><TD
10095WIDTH="20%"
10096ALIGN="RIGHT"
10097VALIGN="TOP"
10098><TT
10099CLASS="PARAMETER"
10100><I
10101>ctxt</I
10102></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010103>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010104><TD
10105WIDTH="80%"
10106ALIGN="LEFT"
10107VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010108> the parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010109></TR
10110></TABLE
10111><P
10112></P
10113></DIV
10114></DIV
10115><HR><DIV
10116CLASS="REFSECT2"
10117><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +000010118NAME="AEN19808"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010119></A
10120><H3
10121><A
10122NAME="XMLPARSERHANDLEREFERENCE"
10123></A
10124>xmlParserHandleReference ()</H3
10125><TABLE
10126BORDER="0"
10127BGCOLOR="#D6E8FF"
10128WIDTH="100%"
10129CELLPADDING="6"
10130><TR
10131><TD
10132><PRE
10133CLASS="PROGRAMLISTING"
10134>void xmlParserHandleReference (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010135HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010136>xmlParserCtxtPtr</A
10137> ctxt);</PRE
10138></TD
10139></TR
10140></TABLE
10141><P
10142>TODO: Remove, now deprecated ... the test is done directly in the
10143content parsing
10144routines.</P
10145><P
10146>[67] Reference ::= EntityRef | CharRef</P
10147><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010148>[68] EntityRef ::= '&amp;' Name ';'</P
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010149><P
10150>[ WFC: Entity Declared ]
10151the Name given in the entity reference must match that in an entity
10152declaration, except that well-formed documents need not declare any
10153of the following entities: amp, lt, gt, apos, quot. </P
10154><P
10155>[ WFC: Parsed Entity ]
10156An entity reference must not contain the name of an unparsed entity</P
10157><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010158>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
10159'&amp;<GTKDOCLINK
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010160HREF="X"
10161>x</GTKDOCLINK
10162>' [0-9a-fA-F]+ ';'</P
10163><P
10164>A PEReference may have been detectect in the current input stream
10165the handling is done accordingly to
10166http://www.w3.org/TR/REC-xml<GTKDOCLINK
10167HREF="ENTPROC"
10168>entproc</GTKDOCLINK
10169></P
10170><P
10171></P
10172><DIV
10173CLASS="INFORMALTABLE"
10174><P
10175></P
10176><TABLE
10177BORDER="0"
10178WIDTH="100%"
10179BGCOLOR="#FFD0D0"
10180CELLSPACING="0"
10181CELLPADDING="4"
10182CLASS="CALSTABLE"
10183><TR
10184><TD
10185WIDTH="20%"
10186ALIGN="RIGHT"
10187VALIGN="TOP"
10188><TT
10189CLASS="PARAMETER"
10190><I
10191>ctxt</I
10192></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010193>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010194><TD
10195WIDTH="80%"
10196ALIGN="LEFT"
10197VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010198> the parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010199></TR
10200></TABLE
10201><P
10202></P
10203></DIV
10204></DIV
10205><HR><DIV
10206CLASS="REFSECT2"
10207><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +000010208NAME="AEN19832"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010209></A
10210><H3
10211><A
10212NAME="XMLCHECKLANGUAGEID"
10213></A
10214>xmlCheckLanguageID ()</H3
10215><TABLE
10216BORDER="0"
10217BGCOLOR="#D6E8FF"
10218WIDTH="100%"
10219CELLPADDING="6"
10220><TR
10221><TD
10222><PRE
10223CLASS="PROGRAMLISTING"
10224>int xmlCheckLanguageID (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010225HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010226>xmlChar</A
10227> *lang);</PRE
10228></TD
10229></TR
10230></TABLE
10231><P
10232></P
10233><DIV
10234CLASS="INFORMALTABLE"
10235><P
10236></P
10237><TABLE
10238BORDER="0"
10239WIDTH="100%"
10240BGCOLOR="#FFD0D0"
10241CELLSPACING="0"
10242CELLPADDING="4"
10243CLASS="CALSTABLE"
10244><TR
10245><TD
10246WIDTH="20%"
10247ALIGN="RIGHT"
10248VALIGN="TOP"
10249><TT
10250CLASS="PARAMETER"
10251><I
10252>lang</I
10253></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010254>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010255><TD
10256WIDTH="80%"
10257ALIGN="LEFT"
10258VALIGN="TOP"
10259>&nbsp;</TD
10260></TR
10261><TR
10262><TD
10263WIDTH="20%"
10264ALIGN="RIGHT"
10265VALIGN="TOP"
10266><I
10267CLASS="EMPHASIS"
10268>Returns</I
10269> :</TD
10270><TD
10271WIDTH="80%"
10272ALIGN="LEFT"
10273VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +000010274>&#13;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010275></TR
10276></TABLE
10277><P
10278></P
10279></DIV
10280></DIV
10281><HR><DIV
10282CLASS="REFSECT2"
10283><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +000010284NAME="AEN19851"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010285></A
10286><H3
10287><A
10288NAME="XMLCURRENTCHAR"
10289></A
10290>xmlCurrentChar ()</H3
10291><TABLE
10292BORDER="0"
10293BGCOLOR="#D6E8FF"
10294WIDTH="100%"
10295CELLPADDING="6"
10296><TR
10297><TD
10298><PRE
10299CLASS="PROGRAMLISTING"
10300>int xmlCurrentChar (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010301HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010302>xmlParserCtxtPtr</A
10303> ctxt,
10304 int *len);</PRE
10305></TD
10306></TR
10307></TABLE
10308><P
10309>The current char value, if using UTF-8 this may actaully span multiple
10310bytes in the input buffer. Implement the end of line normalization:
103112.11 End-of-Line Handling
10312Wherever an external parsed entity or the literal entity value
10313of an internal parsed entity contains either the literal two-character
10314sequence "<GTKDOCLINK
10315HREF="XD"
10316>xD</GTKDOCLINK
10317><GTKDOCLINK
10318HREF="XA"
10319>xA</GTKDOCLINK
10320>" or a standalone literal <GTKDOCLINK
10321HREF="XD"
10322>xD</GTKDOCLINK
10323>, an XML processor
10324must pass to the application the single character <GTKDOCLINK
10325HREF="XA"
10326>xA</GTKDOCLINK
10327>.
10328This behavior can conveniently be produced by normalizing all
10329line breaks to <GTKDOCLINK
10330HREF="XA"
10331>xA</GTKDOCLINK
10332> on input, before parsing.)</P
10333><P
10334></P
10335><DIV
10336CLASS="INFORMALTABLE"
10337><P
10338></P
10339><TABLE
10340BORDER="0"
10341WIDTH="100%"
10342BGCOLOR="#FFD0D0"
10343CELLSPACING="0"
10344CELLPADDING="4"
10345CLASS="CALSTABLE"
10346><TR
10347><TD
10348WIDTH="20%"
10349ALIGN="RIGHT"
10350VALIGN="TOP"
10351><TT
10352CLASS="PARAMETER"
10353><I
10354>ctxt</I
10355></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010356>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010357><TD
10358WIDTH="80%"
10359ALIGN="LEFT"
10360VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010361> the XML parser context</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010362></TR
10363><TR
10364><TD
10365WIDTH="20%"
10366ALIGN="RIGHT"
10367VALIGN="TOP"
10368><TT
10369CLASS="PARAMETER"
10370><I
10371>len</I
10372></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010373>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010374><TD
10375WIDTH="80%"
10376ALIGN="LEFT"
10377VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010378> pointer to the length of the char read</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010379></TR
10380><TR
10381><TD
10382WIDTH="20%"
10383ALIGN="RIGHT"
10384VALIGN="TOP"
10385><I
10386CLASS="EMPHASIS"
10387>Returns</I
10388> :</TD
10389><TD
10390WIDTH="80%"
10391ALIGN="LEFT"
10392VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010393>the current char value and its lenght</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010394></TR
10395></TABLE
10396><P
10397></P
10398></DIV
10399></DIV
10400><HR><DIV
10401CLASS="REFSECT2"
10402><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +000010403NAME="AEN19880"
Daniel Veillarda41123c2001-04-22 19:31:20 +000010404></A
10405><H3
10406><A
10407NAME="XMLCOPYCHARMULTIBYTE"
10408></A
10409>xmlCopyCharMultiByte ()</H3
10410><TABLE
10411BORDER="0"
10412BGCOLOR="#D6E8FF"
10413WIDTH="100%"
10414CELLPADDING="6"
10415><TR
10416><TD
10417><PRE
10418CLASS="PROGRAMLISTING"
10419>int xmlCopyCharMultiByte (<A
10420HREF="libxml-tree.html#XMLCHAR"
10421>xmlChar</A
10422> *out,
10423 int val);</PRE
10424></TD
10425></TR
10426></TABLE
10427><P
10428>append the char value in the array</P
10429><P
10430></P
10431><DIV
10432CLASS="INFORMALTABLE"
10433><P
10434></P
10435><TABLE
10436BORDER="0"
10437WIDTH="100%"
10438BGCOLOR="#FFD0D0"
10439CELLSPACING="0"
10440CELLPADDING="4"
10441CLASS="CALSTABLE"
10442><TR
10443><TD
10444WIDTH="20%"
10445ALIGN="RIGHT"
10446VALIGN="TOP"
10447><TT
10448CLASS="PARAMETER"
10449><I
10450>out</I
10451></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010452>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000010453><TD
10454WIDTH="80%"
10455ALIGN="LEFT"
10456VALIGN="TOP"
10457> pointer to an arry of xmlChar</TD
10458></TR
10459><TR
10460><TD
10461WIDTH="20%"
10462ALIGN="RIGHT"
10463VALIGN="TOP"
10464><TT
10465CLASS="PARAMETER"
10466><I
10467>val</I
10468></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010469>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000010470><TD
10471WIDTH="80%"
10472ALIGN="LEFT"
10473VALIGN="TOP"
10474> the char value</TD
10475></TR
10476><TR
10477><TD
10478WIDTH="20%"
10479ALIGN="RIGHT"
10480VALIGN="TOP"
10481><I
10482CLASS="EMPHASIS"
10483>Returns</I
10484> :</TD
10485><TD
10486WIDTH="80%"
10487ALIGN="LEFT"
10488VALIGN="TOP"
10489>the number of xmlChar written</TD
10490></TR
10491></TABLE
10492><P
10493></P
10494></DIV
10495></DIV
10496><HR><DIV
10497CLASS="REFSECT2"
10498><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +000010499NAME="AEN19904"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010500></A
10501><H3
10502><A
10503NAME="XMLCOPYCHAR"
10504></A
10505>xmlCopyChar ()</H3
10506><TABLE
10507BORDER="0"
10508BGCOLOR="#D6E8FF"
10509WIDTH="100%"
10510CELLPADDING="6"
10511><TR
10512><TD
10513><PRE
10514CLASS="PROGRAMLISTING"
10515>int xmlCopyChar (int len,
10516 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010517HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010518>xmlChar</A
10519> *out,
10520 int val);</PRE
10521></TD
10522></TR
10523></TABLE
10524><P
10525>append the char value in the array</P
10526><P
10527></P
10528><DIV
10529CLASS="INFORMALTABLE"
10530><P
10531></P
10532><TABLE
10533BORDER="0"
10534WIDTH="100%"
10535BGCOLOR="#FFD0D0"
10536CELLSPACING="0"
10537CELLPADDING="4"
10538CLASS="CALSTABLE"
10539><TR
10540><TD
10541WIDTH="20%"
10542ALIGN="RIGHT"
10543VALIGN="TOP"
10544><TT
10545CLASS="PARAMETER"
10546><I
10547>len</I
10548></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010549>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010550><TD
10551WIDTH="80%"
10552ALIGN="LEFT"
10553VALIGN="TOP"
Daniel Veillarda41123c2001-04-22 19:31:20 +000010554> Ignored, compatibility</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010555></TR
10556><TR
10557><TD
10558WIDTH="20%"
10559ALIGN="RIGHT"
10560VALIGN="TOP"
10561><TT
10562CLASS="PARAMETER"
10563><I
10564>out</I
10565></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010566>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010567><TD
10568WIDTH="80%"
10569ALIGN="LEFT"
10570VALIGN="TOP"
Daniel Veillarda41123c2001-04-22 19:31:20 +000010571> pointer to an arry of xmlChar</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010572></TR
10573><TR
10574><TD
10575WIDTH="20%"
10576ALIGN="RIGHT"
10577VALIGN="TOP"
10578><TT
10579CLASS="PARAMETER"
10580><I
10581>val</I
10582></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010583>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010584><TD
10585WIDTH="80%"
10586ALIGN="LEFT"
10587VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010588> the char value</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010589></TR
10590><TR
10591><TD
10592WIDTH="20%"
10593ALIGN="RIGHT"
10594VALIGN="TOP"
10595><I
10596CLASS="EMPHASIS"
10597>Returns</I
10598> :</TD
10599><TD
10600WIDTH="80%"
10601ALIGN="LEFT"
10602VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010603>the number of xmlChar written</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010604></TR
10605></TABLE
10606><P
10607></P
10608></DIV
10609></DIV
10610><HR><DIV
10611CLASS="REFSECT2"
10612><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +000010613NAME="AEN19932"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010614></A
10615><H3
10616><A
10617NAME="XMLNEXTCHAR"
10618></A
10619>xmlNextChar ()</H3
10620><TABLE
10621BORDER="0"
10622BGCOLOR="#D6E8FF"
10623WIDTH="100%"
10624CELLPADDING="6"
10625><TR
10626><TD
10627><PRE
10628CLASS="PROGRAMLISTING"
10629>void xmlNextChar (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010630HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010631>xmlParserCtxtPtr</A
10632> ctxt);</PRE
10633></TD
10634></TR
10635></TABLE
10636><P
10637>Skip to the next char input char.</P
10638><P
10639></P
10640><DIV
10641CLASS="INFORMALTABLE"
10642><P
10643></P
10644><TABLE
10645BORDER="0"
10646WIDTH="100%"
10647BGCOLOR="#FFD0D0"
10648CELLSPACING="0"
10649CELLPADDING="4"
10650CLASS="CALSTABLE"
10651><TR
10652><TD
10653WIDTH="20%"
10654ALIGN="RIGHT"
10655VALIGN="TOP"
10656><TT
10657CLASS="PARAMETER"
10658><I
10659>ctxt</I
10660></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010661>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010662><TD
10663WIDTH="80%"
10664ALIGN="LEFT"
10665VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010666> the XML parser context</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010667></TR
10668></TABLE
10669><P
10670></P
10671></DIV
10672></DIV
10673><HR><DIV
10674CLASS="REFSECT2"
10675><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +000010676NAME="AEN19948"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010677></A
10678><H3
10679><A
10680NAME="XMLPARSERINPUTSHRINK"
10681></A
10682>xmlParserInputShrink ()</H3
10683><TABLE
10684BORDER="0"
10685BGCOLOR="#D6E8FF"
10686WIDTH="100%"
10687CELLPADDING="6"
10688><TR
10689><TD
10690><PRE
10691CLASS="PROGRAMLISTING"
10692>void xmlParserInputShrink (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010693HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010694>xmlParserInputPtr</A
10695> in);</PRE
10696></TD
10697></TR
10698></TABLE
10699><P
10700>This function removes used input for the parser.</P
10701><P
10702></P
10703><DIV
10704CLASS="INFORMALTABLE"
10705><P
10706></P
10707><TABLE
10708BORDER="0"
10709WIDTH="100%"
10710BGCOLOR="#FFD0D0"
10711CELLSPACING="0"
10712CELLPADDING="4"
10713CLASS="CALSTABLE"
10714><TR
10715><TD
10716WIDTH="20%"
10717ALIGN="RIGHT"
10718VALIGN="TOP"
10719><TT
10720CLASS="PARAMETER"
10721><I
10722>in</I
10723></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010724>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010725><TD
10726WIDTH="80%"
10727ALIGN="LEFT"
10728VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010729> an XML parser input</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010730></TR
10731></TABLE
10732><P
10733></P
10734></DIV
10735></DIV
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010736><HR><DIV
10737CLASS="REFSECT2"
10738><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +000010739NAME="AEN19964"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010740></A
10741><H3
10742><A
10743NAME="HTMLINITAUTOCLOSE"
10744></A
10745>htmlInitAutoClose ()</H3
10746><TABLE
10747BORDER="0"
10748BGCOLOR="#D6E8FF"
10749WIDTH="100%"
10750CELLPADDING="6"
10751><TR
10752><TD
10753><PRE
10754CLASS="PROGRAMLISTING"
10755>void htmlInitAutoClose (void);</PRE
10756></TD
10757></TR
10758></TABLE
10759><P
10760>Initialize the htmlStartCloseIndex for fast lookup of closing tags names.
10761This is not reentrant. Call <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010762HREF="libxml-parser.html#XMLINITPARSER"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010763>xmlInitParser</A
10764>() once before processing in
10765case of use in multithreaded programs.</P
10766><P
10767></P
10768></DIV
Daniel Veillarda41123c2001-04-22 19:31:20 +000010769><HR><DIV
10770CLASS="REFSECT2"
10771><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +000010772NAME="AEN19971"
Daniel Veillarda41123c2001-04-22 19:31:20 +000010773></A
10774><H3
10775><A
10776NAME="HTMLCREATEFILEPARSERCTXT"
10777></A
10778>htmlCreateFileParserCtxt ()</H3
10779><TABLE
10780BORDER="0"
10781BGCOLOR="#D6E8FF"
10782WIDTH="100%"
10783CELLPADDING="6"
10784><TR
10785><TD
10786><PRE
10787CLASS="PROGRAMLISTING"
10788><A
10789HREF="libxml-htmlparser.html#HTMLPARSERCTXTPTR"
10790>htmlParserCtxtPtr</A
10791> htmlCreateFileParserCtxt (const char *filename,
10792 const char *encoding);</PRE
10793></TD
10794></TR
10795></TABLE
10796><P
10797>Create a parser context for a file content.
10798Automatic support for ZLIB/Compress compressed document is provided
10799by default if found at compile-time.</P
10800><P
10801></P
10802><DIV
10803CLASS="INFORMALTABLE"
10804><P
10805></P
10806><TABLE
10807BORDER="0"
10808WIDTH="100%"
10809BGCOLOR="#FFD0D0"
10810CELLSPACING="0"
10811CELLPADDING="4"
10812CLASS="CALSTABLE"
10813><TR
10814><TD
10815WIDTH="20%"
10816ALIGN="RIGHT"
10817VALIGN="TOP"
10818><TT
10819CLASS="PARAMETER"
10820><I
10821>filename</I
10822></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010823>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000010824><TD
10825WIDTH="80%"
10826ALIGN="LEFT"
10827VALIGN="TOP"
10828> the filename</TD
10829></TR
10830><TR
10831><TD
10832WIDTH="20%"
10833ALIGN="RIGHT"
10834VALIGN="TOP"
10835><TT
10836CLASS="PARAMETER"
10837><I
10838>encoding</I
10839></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010840>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000010841><TD
10842WIDTH="80%"
10843ALIGN="LEFT"
10844VALIGN="TOP"
10845> a free form C string describing the HTML document encoding, or NULL</TD
10846></TR
10847><TR
10848><TD
10849WIDTH="20%"
10850ALIGN="RIGHT"
10851VALIGN="TOP"
10852><I
10853CLASS="EMPHASIS"
10854>Returns</I
10855> :</TD
10856><TD
10857WIDTH="80%"
10858ALIGN="LEFT"
10859VALIGN="TOP"
10860>the new parser context or NULL</TD
10861></TR
10862></TABLE
10863><P
10864></P
10865></DIV
10866></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +000010867></DIV
10868><DIV
10869CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +000010870><BR
10871CLEAR="all"><BR><TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +000010872WIDTH="100%"
10873BORDER="0"
10874BGCOLOR="#000000"
10875CELLPADDING="1"
10876CELLSPACING="0"
10877><TR
10878><TD
10879WIDTH="25%"
10880BGCOLOR="#C00000"
10881ALIGN="left"
10882><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +000010883HREF="libxml-docbparser.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000010884><FONT
10885COLOR="#FFFFFF"
10886SIZE="3"
10887><B
10888>&#60;&#60;&#60; Previous Page</B
10889></FONT
10890></A
Daniel Veillard35925471999-02-25 08:46:07 +000010891></TD
10892><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010893WIDTH="25%"
10894BGCOLOR="#0000C0"
10895ALIGN="center"
10896><FONT
10897COLOR="#FFFFFF"
10898SIZE="3"
10899><B
10900><A
10901HREF="book1.html"
10902><FONT
10903COLOR="#FFFFFF"
10904SIZE="3"
10905><B
10906>Home</B
10907></FONT
10908></A
10909></B
10910></FONT
10911></TD
10912><TD
10913WIDTH="25%"
10914BGCOLOR="#00C000"
10915ALIGN="center"
10916><FONT
10917COLOR="#FFFFFF"
10918SIZE="3"
10919><B
10920><A
Daniel Veillard35008381999-10-25 13:15:52 +000010921HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000010922><FONT
10923COLOR="#FFFFFF"
10924SIZE="3"
10925><B
10926>Up</B
10927></FONT
10928></A
10929></B
10930></FONT
10931></TD
10932><TD
10933WIDTH="25%"
10934BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000010935ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010936><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010937HREF="libxml-encoding.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010938><FONT
10939COLOR="#FFFFFF"
10940SIZE="3"
10941><B
10942>Next Page &#62;&#62;&#62;</B
10943></FONT
10944></A
10945></TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010946></TR
10947><TR
10948><TD
10949COLSPAN="2"
10950ALIGN="left"
10951><FONT
10952COLOR="#FFFFFF"
10953SIZE="3"
10954><B
Daniel Veillard7d6fd212001-05-10 15:34:11 +000010955>DOCBparser</B
Daniel Veillard14fff061999-06-22 21:49:07 +000010956></FONT
10957></TD
10958><TD
10959COLSPAN="2"
10960ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010961><FONT
10962COLOR="#FFFFFF"
10963SIZE="3"
10964><B
Daniel Veillard294cbca1999-12-03 13:19:09 +000010965>encoding</B
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010966></FONT
10967></TD
Daniel Veillard35925471999-02-25 08:46:07 +000010968></TR
10969></TABLE
10970></DIV
10971></BODY
10972></HTML
10973>