blob: 24dfbfc7d9318e95433911cd8d365cc860689399 [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 Veillard294cbca1999-12-03 13:19:09 +000015TITLE="xmlIO"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016HREF="libxml-xmlio.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 Veillard9cb5ff42001-01-29 08:22:21 +000050HREF="libxml-xmlio.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 Veillardc7ad7ce2001-03-22 21:45:29 +0000124NAME="AEN15577"
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 Veillardc7ad7ce2001-03-22 21:45:29 +0000132NAME="AEN15580"
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 Veillard9cb5ff42001-01-29 08:22:21 +0000333HREF="libxml-parserinternals.html#XMLNEWENTITYINPUTSTREAM"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000334>xmlNewEntityInputStream</A
335> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000336HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000337>xmlParserCtxtPtr</A
338> ctxt,
339 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000340HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000341>xmlEntityPtr</A
342> entity);
343void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000344HREF="libxml-parserinternals.html#XMLPUSHINPUT"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000345>xmlPushInput</A
346> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000347HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000348>xmlParserCtxtPtr</A
349> ctxt,
350 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000351HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000352>xmlParserInputPtr</A
353> input);
354<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000355HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000356>xmlChar</A
357> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000358HREF="libxml-parserinternals.html#XMLPOPINPUT"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000359>xmlPopInput</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);
364void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000365HREF="libxml-parserinternals.html#XMLFREEINPUTSTREAM"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000366>xmlFreeInputStream</A
367> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000368HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000369>xmlParserInputPtr</A
370> input);
371<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000372HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000373>xmlParserInputPtr</A
374> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000375HREF="libxml-parserinternals.html#XMLNEWINPUTFROMFILE"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000376>xmlNewInputFromFile</A
377> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000378HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000379>xmlParserCtxtPtr</A
380> ctxt,
381 const char *filename);
382<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000383HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000384>xmlParserInputPtr</A
385> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000386HREF="libxml-parserinternals.html#XMLNEWINPUTSTREAM"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000387>xmlNewInputStream</A
388> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000389HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000390>xmlParserCtxtPtr</A
391> ctxt);
392<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000393HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000394>xmlChar</A
395>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000396HREF="libxml-parserinternals.html#XMLSPLITQNAME"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000397>xmlSplitQName</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000398> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000399HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000400>xmlParserCtxtPtr</A
401> ctxt,
402 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000403HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000404>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000405> *name,
406 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000407HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000408>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000409> **prefix);
410<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000411HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000412>xmlChar</A
413>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000414HREF="libxml-parserinternals.html#XMLNAMESPACEPARSENCNAME"
Daniel Veillard35925471999-02-25 08:46:07 +0000415>xmlNamespaceParseNCName</A
416> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000417HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000418>xmlParserCtxtPtr</A
419> ctxt);
420<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000421HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000422>xmlChar</A
423>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000424HREF="libxml-parserinternals.html#XMLNAMESPACEPARSEQNAME"
Daniel Veillard35925471999-02-25 08:46:07 +0000425>xmlNamespaceParseQName</A
426> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000427HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000428>xmlParserCtxtPtr</A
429> ctxt,
430 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000431HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000432>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000433> **prefix);
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#XMLNAMESPACEPARSENSDEF"
Daniel Veillard35925471999-02-25 08:46:07 +0000439>xmlNamespaceParseNSDef</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
447>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000448HREF="libxml-parserinternals.html#XMLPARSEQUOTEDSTRING"
Daniel Veillard35925471999-02-25 08:46:07 +0000449>xmlParseQuotedString</A
450> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000451HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000452>xmlParserCtxtPtr</A
453> ctxt);
454void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000455HREF="libxml-parserinternals.html#XMLPARSENAMESPACE"
Daniel Veillard35925471999-02-25 08:46:07 +0000456>xmlParseNamespace</A
457> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000458HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000459>xmlParserCtxtPtr</A
460> ctxt);
461<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000462HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000463>xmlChar</A
464>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000465HREF="libxml-parserinternals.html#XMLSCANNAME"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000466>xmlScanName</A
467> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000468HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000469>xmlParserCtxtPtr</A
470> ctxt);
471<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000472HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000473>xmlChar</A
474>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000475HREF="libxml-parserinternals.html#XMLPARSENAME"
Daniel Veillard35925471999-02-25 08:46:07 +0000476>xmlParseName</A
477> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000478HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000479>xmlParserCtxtPtr</A
480> ctxt);
481<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000482HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000483>xmlChar</A
484>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000485HREF="libxml-parserinternals.html#XMLPARSENMTOKEN"
Daniel Veillard35925471999-02-25 08:46:07 +0000486>xmlParseNmtoken</A
487> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000488HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000489>xmlParserCtxtPtr</A
490> ctxt);
491<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000492HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000493>xmlChar</A
494>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000495HREF="libxml-parserinternals.html#XMLPARSEENTITYVALUE"
Daniel Veillard35925471999-02-25 08:46:07 +0000496>xmlParseEntityValue</A
497> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000498HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000499>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000500> ctxt,
501 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000502HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000503>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000504> **orig);
Daniel Veillard35925471999-02-25 08:46:07 +0000505<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#XMLPARSEATTVALUE"
Daniel Veillard35925471999-02-25 08:46:07 +0000510>xmlParseAttValue</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
514> 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
518>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000519HREF="libxml-parserinternals.html#XMLPARSESYSTEMLITERAL"
Daniel Veillard35925471999-02-25 08:46:07 +0000520>xmlParseSystemLiteral</A
521> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000522HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000523>xmlParserCtxtPtr</A
524> ctxt);
525<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000526HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000527>xmlChar</A
528>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000529HREF="libxml-parserinternals.html#XMLPARSEPUBIDLITERAL"
Daniel Veillard35925471999-02-25 08:46:07 +0000530>xmlParsePubidLiteral</A
531> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000532HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000533>xmlParserCtxtPtr</A
534> ctxt);
535void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000536HREF="libxml-parserinternals.html#XMLPARSECHARDATA"
Daniel Veillard35925471999-02-25 08:46:07 +0000537>xmlParseCharData</A
538> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000539HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000540>xmlParserCtxtPtr</A
541> ctxt,
542 int cdata);
543<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000544HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000545>xmlChar</A
546>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000547HREF="libxml-parserinternals.html#XMLPARSEEXTERNALID"
Daniel Veillard35925471999-02-25 08:46:07 +0000548>xmlParseExternalID</A
549> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000550HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000551>xmlParserCtxtPtr</A
552> ctxt,
553 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000554HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000555>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000556> **publicID,
557 int strict);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000558void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000559HREF="libxml-parserinternals.html#XMLPARSECOMMENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000560>xmlParseComment</A
561> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000562HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000563>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000564> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000565<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000566HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000567>xmlChar</A
568>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000569HREF="libxml-parserinternals.html#XMLPARSEPITARGET"
Daniel Veillard35925471999-02-25 08:46:07 +0000570>xmlParsePITarget</A
571> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000572HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000573>xmlParserCtxtPtr</A
574> ctxt);
575void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000576HREF="libxml-parserinternals.html#XMLPARSEPI"
Daniel Veillard35925471999-02-25 08:46:07 +0000577>xmlParsePI</A
578> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000579HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000580>xmlParserCtxtPtr</A
581> ctxt);
582void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000583HREF="libxml-parserinternals.html#XMLPARSENOTATIONDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000584>xmlParseNotationDecl</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#XMLPARSEENTITYDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000591>xmlParseEntityDecl</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);
596int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000597HREF="libxml-parserinternals.html#XMLPARSEDEFAULTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000598>xmlParseDefaultDecl</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,
603 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000604HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000605>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000606> **value);
607<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000608HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000609>xmlEnumerationPtr</A
610> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000611HREF="libxml-parserinternals.html#XMLPARSENOTATIONTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000612>xmlParseNotationType</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#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000619>xmlEnumerationPtr</A
620> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000621HREF="libxml-parserinternals.html#XMLPARSEENUMERATIONTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000622>xmlParseEnumerationType</A
623> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000624HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000625>xmlParserCtxtPtr</A
626> ctxt);
627int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000628HREF="libxml-parserinternals.html#XMLPARSEENUMERATEDTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000629>xmlParseEnumeratedType</A
630> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000631HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000632>xmlParserCtxtPtr</A
633> ctxt,
634 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000635HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000636>xmlEnumerationPtr</A
637> *tree);
638int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000639HREF="libxml-parserinternals.html#XMLPARSEATTRIBUTETYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000640>xmlParseAttributeType</A
641> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000642HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000643>xmlParserCtxtPtr</A
644> ctxt,
645 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000646HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000647>xmlEnumerationPtr</A
648> *tree);
649void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000650HREF="libxml-parserinternals.html#XMLPARSEATTRIBUTELISTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000651>xmlParseAttributeListDecl</A
652> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000653HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000654>xmlParserCtxtPtr</A
655> ctxt);
656<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000657HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000658>xmlElementContentPtr</A
659> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000660HREF="libxml-parserinternals.html#XMLPARSEELEMENTMIXEDCONTENTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000661>xmlParseElementMixedContentDecl</A
662>
663 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000664HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000665>xmlParserCtxtPtr</A
666> ctxt);
667<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000668HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000669>xmlElementContentPtr</A
670> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000671HREF="libxml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTD"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000672>xmlParseElementChildrenContentD</A
673>
674 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000675HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000676>xmlParserCtxtPtr</A
677> ctxt);
678<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000679HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000680>xmlElementContentPtr</A
681> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000682HREF="libxml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000683>xmlParseElementChildrenContentDecl</A
684>
685 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000686HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000687>xmlParserCtxtPtr</A
688> ctxt);
689int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000690HREF="libxml-parserinternals.html#XMLPARSEELEMENTCONTENTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000691>xmlParseElementContentDecl</A
692> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000693HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000694>xmlParserCtxtPtr</A
695> ctxt,
696 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000697HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000698>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000699> *name,
700 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000701HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000702>xmlElementContentPtr</A
703> *result);
704int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000705HREF="libxml-parserinternals.html#XMLPARSEELEMENTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000706>xmlParseElementDecl</A
707> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000708HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000709>xmlParserCtxtPtr</A
710> ctxt);
711void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000712HREF="libxml-parserinternals.html#XMLPARSEMARKUPDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000713>xmlParseMarkupDecl</A
714> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000715HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000716>xmlParserCtxtPtr</A
717> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000718int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000719HREF="libxml-parserinternals.html#XMLPARSECHARREF"
Daniel Veillard35925471999-02-25 08:46:07 +0000720>xmlParseCharRef</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);
725<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000726HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000727>xmlEntityPtr</A
728> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000729HREF="libxml-parserinternals.html#XMLPARSEENTITYREF"
Daniel Veillard35925471999-02-25 08:46:07 +0000730>xmlParseEntityRef</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000731> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000732HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000733>xmlParserCtxtPtr</A
734> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000735void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000736HREF="libxml-parserinternals.html#XMLPARSEREFERENCE"
Daniel Veillard35925471999-02-25 08:46:07 +0000737>xmlParseReference</A
738> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000739HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000740>xmlParserCtxtPtr</A
741> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000742void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000743HREF="libxml-parserinternals.html#XMLPARSEPEREFERENCE"
Daniel Veillard35925471999-02-25 08:46:07 +0000744>xmlParsePEReference</A
745> (<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);
749void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000750HREF="libxml-parserinternals.html#XMLPARSEDOCTYPEDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000751>xmlParseDocTypeDecl</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);
756<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000757HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000758>xmlChar</A
759>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000760HREF="libxml-parserinternals.html#XMLPARSEATTRIBUTE"
Daniel Veillard35925471999-02-25 08:46:07 +0000761>xmlParseAttribute</A
762> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000763HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000764>xmlParserCtxtPtr</A
765> ctxt,
766 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000767HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000768>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000769> **value);
Daniel Veillard14fff061999-06-22 21:49:07 +0000770<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#XMLPARSESTARTTAG"
Daniel Veillard35925471999-02-25 08:46:07 +0000775>xmlParseStartTag</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);
780void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000781HREF="libxml-parserinternals.html#XMLPARSEENDTAG"
Daniel Veillard35925471999-02-25 08:46:07 +0000782>xmlParseEndTag</A
783> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000784HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000785>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +0000786> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000787void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000788HREF="libxml-parserinternals.html#XMLPARSECDSECT"
Daniel Veillard35925471999-02-25 08:46:07 +0000789>xmlParseCDSect</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#XMLPARSECONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000796>xmlParseContent</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
800> ctxt);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000801void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000802HREF="libxml-parserinternals.html#XMLPARSEELEMENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000803>xmlParseElement</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);
808<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000809HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000810>xmlChar</A
811>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000812HREF="libxml-parserinternals.html#XMLPARSEVERSIONNUM"
Daniel Veillard35925471999-02-25 08:46:07 +0000813>xmlParseVersionNum</A
814> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000815HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000816>xmlParserCtxtPtr</A
817> ctxt);
818<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000819HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000820>xmlChar</A
821>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000822HREF="libxml-parserinternals.html#XMLPARSEVERSIONINFO"
Daniel Veillard35925471999-02-25 08:46:07 +0000823>xmlParseVersionInfo</A
824> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000825HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000826>xmlParserCtxtPtr</A
827> ctxt);
828<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000829HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000830>xmlChar</A
831>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000832HREF="libxml-parserinternals.html#XMLPARSEENCNAME"
Daniel Veillard35925471999-02-25 08:46:07 +0000833>xmlParseEncName</A
834> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000835HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000836>xmlParserCtxtPtr</A
837> ctxt);
838<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000839HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000840>xmlChar</A
841>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000842HREF="libxml-parserinternals.html#XMLPARSEENCODINGDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000843>xmlParseEncodingDecl</A
844> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000845HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000846>xmlParserCtxtPtr</A
847> ctxt);
848int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000849HREF="libxml-parserinternals.html#XMLPARSESDDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000850>xmlParseSDDecl</A
851> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000852HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000853>xmlParserCtxtPtr</A
854> ctxt);
855void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000856HREF="libxml-parserinternals.html#XMLPARSEXMLDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000857>xmlParseXMLDecl</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);
862void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000863HREF="libxml-parserinternals.html#XMLPARSETEXTDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000864>xmlParseTextDecl</A
865> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000866HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000867>xmlParserCtxtPtr</A
868> ctxt);
869void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000870HREF="libxml-parserinternals.html#XMLPARSEMISC"
Daniel Veillard35925471999-02-25 08:46:07 +0000871>xmlParseMisc</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
Daniel Veillard011b63c1999-06-02 17:44:04 +0000875> ctxt);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000876void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000877HREF="libxml-parserinternals.html#XMLPARSEEXTERNALSUBSET"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000878>xmlParseExternalSubset</A
879> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000880HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000881>xmlParserCtxtPtr</A
882> ctxt,
883 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000884HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000885>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000886> *ExternalID,
887 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000888HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000889>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000890> *SystemID);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000891#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000892HREF="libxml-parserinternals.html#XML-SUBSTITUTE-NONE-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000893>XML_SUBSTITUTE_NONE</A
894>
895#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000896HREF="libxml-parserinternals.html#XML-SUBSTITUTE-REF-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000897>XML_SUBSTITUTE_REF</A
898>
899#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000900HREF="libxml-parserinternals.html#XML-SUBSTITUTE-PEREF-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000901>XML_SUBSTITUTE_PEREF</A
902>
903#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000904HREF="libxml-parserinternals.html#XML-SUBSTITUTE-BOTH-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000905>XML_SUBSTITUTE_BOTH</A
906>
907<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000908HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000909>xmlChar</A
910>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000911HREF="libxml-parserinternals.html#XMLDECODEENTITIES"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000912>xmlDecodeEntities</A
913> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000914HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000915>xmlParserCtxtPtr</A
916> ctxt,
917 int len,
918 int what,
919 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000920HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000921>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000922> end,
923 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000924HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000925>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000926> end2,
927 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000928HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000929>xmlChar</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000930> end3);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000931<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000932HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000933>xmlChar</A
934>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000935HREF="libxml-parserinternals.html#XMLSTRINGDECODEENTITIES"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000936>xmlStringDecodeEntities</A
937> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000938HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000939>xmlParserCtxtPtr</A
940> ctxt,
941 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000942HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000943>xmlChar</A
944> *str,
945 int what,
946 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000947HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000948>xmlChar</A
949> end,
950 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000951HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000952>xmlChar</A
953> end2,
954 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000955HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000956>xmlChar</A
957> end3);
Daniel Veillard14fff061999-06-22 21:49:07 +0000958int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000959HREF="libxml-parserinternals.html#NODEPUSH"
Daniel Veillard14fff061999-06-22 21:49:07 +0000960>nodePush</A
961> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000962HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +0000963>xmlParserCtxtPtr</A
964> ctxt,
965 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000966HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +0000967>xmlNodePtr</A
968> value);
969<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000970HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +0000971>xmlNodePtr</A
972> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000973HREF="libxml-parserinternals.html#NODEPOP"
Daniel Veillard14fff061999-06-22 21:49:07 +0000974>nodePop</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);
979int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000980HREF="libxml-parserinternals.html#INPUTPUSH"
Daniel Veillard14fff061999-06-22 21:49:07 +0000981>inputPush</A
982> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000983HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +0000984>xmlParserCtxtPtr</A
985> ctxt,
986 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000987HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +0000988>xmlParserInputPtr</A
989> value);
990<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000991HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +0000992>xmlParserInputPtr</A
993> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000994HREF="libxml-parserinternals.html#INPUTPOP"
Daniel Veillard14fff061999-06-22 21:49:07 +0000995>inputPop</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
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000999> ctxt);
1000int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001001HREF="libxml-parserinternals.html#XMLSKIPBLANKCHARS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001002>xmlSkipBlankChars</A
1003> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001004HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001005>xmlParserCtxtPtr</A
1006> ctxt);
1007int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001008HREF="libxml-parserinternals.html#XMLSTRINGCURRENTCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001009>xmlStringCurrentChar</A
1010> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001011HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001012>xmlParserCtxtPtr</A
1013> ctxt,
1014 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001015HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001016>xmlChar</A
1017> *cur,
1018 int *len);
1019void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001020HREF="libxml-parserinternals.html#XMLPARSERHANDLEPEREFERENCE"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001021>xmlParserHandlePEReference</A
1022> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001023HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001024>xmlParserCtxtPtr</A
1025> ctxt);
1026void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001027HREF="libxml-parserinternals.html#XMLPARSERHANDLEREFERENCE"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001028>xmlParserHandleReference</A
1029> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001030HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001031>xmlParserCtxtPtr</A
1032> ctxt);
1033<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001034HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001035>xmlChar</A
1036>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001037HREF="libxml-parserinternals.html#NAMEPOP"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001038>namePop</A
1039> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001040HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001041>xmlParserCtxtPtr</A
1042> ctxt);
1043int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001044HREF="libxml-parserinternals.html#XMLCHECKLANGUAGEID"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001045>xmlCheckLanguageID</A
1046> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001047HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001048>xmlChar</A
1049> *lang);
1050int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001051HREF="libxml-parserinternals.html#XMLCURRENTCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001052>xmlCurrentChar</A
1053> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001054HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001055>xmlParserCtxtPtr</A
1056> ctxt,
1057 int *len);
1058int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001059HREF="libxml-parserinternals.html#XMLCOPYCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001060>xmlCopyChar</A
1061> (int len,
1062 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001063HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001064>xmlChar</A
1065> *out,
1066 int val);
1067void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001068HREF="libxml-parserinternals.html#XMLNEXTCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001069>xmlNextChar</A
1070> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001071HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001072>xmlParserCtxtPtr</A
1073> ctxt);
1074void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001075HREF="libxml-parserinternals.html#XMLPARSERINPUTSHRINK"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001076>xmlParserInputShrink</A
1077> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001078HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001079>xmlParserInputPtr</A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001080> in);
1081void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001082HREF="libxml-parserinternals.html#HTMLINITAUTOCLOSE"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001083>htmlInitAutoClose</A
1084> (void);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001085></TD
1086></TR
1087></TABLE
1088></DIV
1089><DIV
1090CLASS="REFSECT1"
1091><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001092NAME="AEN15844"
Daniel Veillard35925471999-02-25 08:46:07 +00001093></A
1094><H2
1095>Description</H2
1096><P
1097></P
1098></DIV
1099><DIV
1100CLASS="REFSECT1"
1101><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001102NAME="AEN15847"
Daniel Veillard35925471999-02-25 08:46:07 +00001103></A
1104><H2
1105>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001106><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001107CLASS="REFSECT2"
1108><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001109NAME="AEN15849"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001110></A
1111><H3
1112><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001113NAME="XML-MAX-NAMELEN-CAPS"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001114></A
1115>XML_MAX_NAMELEN</H3
1116><TABLE
1117BORDER="0"
1118BGCOLOR="#D6E8FF"
1119WIDTH="100%"
1120CELLPADDING="6"
1121><TR
1122><TD
1123><PRE
1124CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001125>#define XML_MAX_NAMELEN 100</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001126></TD
1127></TR
1128></TABLE
1129><P
1130></P
1131></DIV
1132><HR><DIV
1133CLASS="REFSECT2"
1134><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001135NAME="AEN15854"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001136></A
1137><H3
1138><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001139NAME="INPUT-CHUNK-CAPS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001140></A
1141>INPUT_CHUNK</H3
1142><TABLE
1143BORDER="0"
1144BGCOLOR="#D6E8FF"
1145WIDTH="100%"
1146CELLPADDING="6"
1147><TR
1148><TD
1149><PRE
1150CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001151>#define INPUT_CHUNK 250</PRE
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001152></TD
1153></TR
1154></TABLE
1155><P
1156></P
1157></DIV
1158><HR><DIV
1159CLASS="REFSECT2"
1160><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001161NAME="AEN15859"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001162></A
1163><H3
1164><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001165NAME="IS-CHAR-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001166></A
1167>IS_CHAR()</H3
1168><TABLE
1169BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001170BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001171WIDTH="100%"
1172CELLPADDING="6"
1173><TR
1174><TD
1175><PRE
1176CLASS="PROGRAMLISTING"
1177>#define IS_CHAR(c)</PRE
1178></TD
1179></TR
1180></TABLE
1181><P
1182></P
1183><DIV
1184CLASS="INFORMALTABLE"
1185><P
1186></P
1187><TABLE
1188BORDER="0"
1189WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001190BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001191CELLSPACING="0"
1192CELLPADDING="4"
1193CLASS="CALSTABLE"
1194><TR
1195><TD
1196WIDTH="20%"
1197ALIGN="RIGHT"
1198VALIGN="TOP"
1199><TT
1200CLASS="PARAMETER"
1201><I
1202>c</I
1203></TT
1204>&nbsp;:</TD
1205><TD
1206WIDTH="80%"
1207ALIGN="LEFT"
1208VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001209>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001210></TR
1211></TABLE
1212><P
1213></P
1214></DIV
1215></DIV
1216><HR><DIV
1217CLASS="REFSECT2"
1218><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001219NAME="AEN15873"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001220></A
1221><H3
1222><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001223NAME="IS-BLANK-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001224></A
1225>IS_BLANK()</H3
1226><TABLE
1227BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001228BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001229WIDTH="100%"
1230CELLPADDING="6"
1231><TR
1232><TD
1233><PRE
1234CLASS="PROGRAMLISTING"
1235>#define IS_BLANK(c)</PRE
1236></TD
1237></TR
1238></TABLE
1239><P
1240></P
1241><DIV
1242CLASS="INFORMALTABLE"
1243><P
1244></P
1245><TABLE
1246BORDER="0"
1247WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001248BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001249CELLSPACING="0"
1250CELLPADDING="4"
1251CLASS="CALSTABLE"
1252><TR
1253><TD
1254WIDTH="20%"
1255ALIGN="RIGHT"
1256VALIGN="TOP"
1257><TT
1258CLASS="PARAMETER"
1259><I
1260>c</I
1261></TT
1262>&nbsp;:</TD
1263><TD
1264WIDTH="80%"
1265ALIGN="LEFT"
1266VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001267>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001268></TR
1269></TABLE
1270><P
1271></P
1272></DIV
1273></DIV
1274><HR><DIV
1275CLASS="REFSECT2"
1276><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001277NAME="AEN15887"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001278></A
1279><H3
1280><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001281NAME="IS-BASECHAR-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001282></A
1283>IS_BASECHAR()</H3
1284><TABLE
1285BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001286BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001287WIDTH="100%"
1288CELLPADDING="6"
1289><TR
1290><TD
1291><PRE
1292CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001293>#define IS_BASECHAR(c) xmlIsBaseChar(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001294></TD
1295></TR
1296></TABLE
1297><P
1298></P
1299><DIV
1300CLASS="INFORMALTABLE"
1301><P
1302></P
1303><TABLE
1304BORDER="0"
1305WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001306BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001307CELLSPACING="0"
1308CELLPADDING="4"
1309CLASS="CALSTABLE"
1310><TR
1311><TD
1312WIDTH="20%"
1313ALIGN="RIGHT"
1314VALIGN="TOP"
1315><TT
1316CLASS="PARAMETER"
1317><I
1318>c</I
1319></TT
1320>&nbsp;:</TD
1321><TD
1322WIDTH="80%"
1323ALIGN="LEFT"
1324VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001325>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001326></TR
1327></TABLE
1328><P
1329></P
1330></DIV
1331></DIV
1332><HR><DIV
1333CLASS="REFSECT2"
1334><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001335NAME="AEN15901"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001336></A
1337><H3
1338><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001339NAME="IS-DIGIT-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001340></A
1341>IS_DIGIT()</H3
1342><TABLE
1343BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001344BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001345WIDTH="100%"
1346CELLPADDING="6"
1347><TR
1348><TD
1349><PRE
1350CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001351>#define IS_DIGIT(c) xmlIsDigit(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001352></TD
1353></TR
1354></TABLE
1355><P
1356></P
1357><DIV
1358CLASS="INFORMALTABLE"
1359><P
1360></P
1361><TABLE
1362BORDER="0"
1363WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001364BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001365CELLSPACING="0"
1366CELLPADDING="4"
1367CLASS="CALSTABLE"
1368><TR
1369><TD
1370WIDTH="20%"
1371ALIGN="RIGHT"
1372VALIGN="TOP"
1373><TT
1374CLASS="PARAMETER"
1375><I
1376>c</I
1377></TT
1378>&nbsp;:</TD
1379><TD
1380WIDTH="80%"
1381ALIGN="LEFT"
1382VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001383>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001384></TR
1385></TABLE
1386><P
1387></P
1388></DIV
1389></DIV
1390><HR><DIV
1391CLASS="REFSECT2"
1392><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001393NAME="AEN15915"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001394></A
1395><H3
1396><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001397NAME="IS-COMBINING-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001398></A
1399>IS_COMBINING()</H3
1400><TABLE
1401BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001402BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001403WIDTH="100%"
1404CELLPADDING="6"
1405><TR
1406><TD
1407><PRE
1408CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001409>#define IS_COMBINING(c) xmlIsCombining(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001410></TD
1411></TR
1412></TABLE
1413><P
1414></P
1415><DIV
1416CLASS="INFORMALTABLE"
1417><P
1418></P
1419><TABLE
1420BORDER="0"
1421WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001422BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001423CELLSPACING="0"
1424CELLPADDING="4"
1425CLASS="CALSTABLE"
1426><TR
1427><TD
1428WIDTH="20%"
1429ALIGN="RIGHT"
1430VALIGN="TOP"
1431><TT
1432CLASS="PARAMETER"
1433><I
1434>c</I
1435></TT
1436>&nbsp;:</TD
1437><TD
1438WIDTH="80%"
1439ALIGN="LEFT"
1440VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001441>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001442></TR
1443></TABLE
1444><P
1445></P
1446></DIV
1447></DIV
1448><HR><DIV
1449CLASS="REFSECT2"
1450><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001451NAME="AEN15929"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001452></A
1453><H3
1454><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001455NAME="IS-EXTENDER-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001456></A
1457>IS_EXTENDER()</H3
1458><TABLE
1459BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001460BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001461WIDTH="100%"
1462CELLPADDING="6"
1463><TR
1464><TD
1465><PRE
1466CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001467>#define IS_EXTENDER(c) xmlIsExtender(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001468></TD
1469></TR
1470></TABLE
1471><P
1472></P
1473><DIV
1474CLASS="INFORMALTABLE"
1475><P
1476></P
1477><TABLE
1478BORDER="0"
1479WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001480BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001481CELLSPACING="0"
1482CELLPADDING="4"
1483CLASS="CALSTABLE"
1484><TR
1485><TD
1486WIDTH="20%"
1487ALIGN="RIGHT"
1488VALIGN="TOP"
1489><TT
1490CLASS="PARAMETER"
1491><I
1492>c</I
1493></TT
1494>&nbsp;:</TD
1495><TD
1496WIDTH="80%"
1497ALIGN="LEFT"
1498VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001499>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001500></TR
1501></TABLE
1502><P
1503></P
1504></DIV
1505></DIV
1506><HR><DIV
1507CLASS="REFSECT2"
1508><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001509NAME="AEN15943"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001510></A
1511><H3
1512><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001513NAME="IS-IDEOGRAPHIC-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001514></A
1515>IS_IDEOGRAPHIC()</H3
1516><TABLE
1517BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001518BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001519WIDTH="100%"
1520CELLPADDING="6"
1521><TR
1522><TD
1523><PRE
1524CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001525>#define IS_IDEOGRAPHIC(c) xmlIsIdeographic(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001526></TD
1527></TR
1528></TABLE
1529><P
1530></P
1531><DIV
1532CLASS="INFORMALTABLE"
1533><P
1534></P
1535><TABLE
1536BORDER="0"
1537WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001538BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001539CELLSPACING="0"
1540CELLPADDING="4"
1541CLASS="CALSTABLE"
1542><TR
1543><TD
1544WIDTH="20%"
1545ALIGN="RIGHT"
1546VALIGN="TOP"
1547><TT
1548CLASS="PARAMETER"
1549><I
1550>c</I
1551></TT
1552>&nbsp;:</TD
1553><TD
1554WIDTH="80%"
1555ALIGN="LEFT"
1556VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001557>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001558></TR
1559></TABLE
1560><P
1561></P
1562></DIV
1563></DIV
1564><HR><DIV
1565CLASS="REFSECT2"
1566><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001567NAME="AEN15957"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001568></A
1569><H3
1570><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001571NAME="IS-LETTER-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001572></A
1573>IS_LETTER()</H3
1574><TABLE
1575BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001576BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001577WIDTH="100%"
1578CELLPADDING="6"
1579><TR
1580><TD
1581><PRE
1582CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001583>#define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c))</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001584></TD
1585></TR
1586></TABLE
1587><P
1588></P
1589><DIV
1590CLASS="INFORMALTABLE"
1591><P
1592></P
1593><TABLE
1594BORDER="0"
1595WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001596BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001597CELLSPACING="0"
1598CELLPADDING="4"
1599CLASS="CALSTABLE"
1600><TR
1601><TD
1602WIDTH="20%"
1603ALIGN="RIGHT"
1604VALIGN="TOP"
1605><TT
1606CLASS="PARAMETER"
1607><I
1608>c</I
1609></TT
1610>&nbsp;:</TD
1611><TD
1612WIDTH="80%"
1613ALIGN="LEFT"
1614VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001615>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001616></TR
1617></TABLE
1618><P
1619></P
1620></DIV
1621></DIV
1622><HR><DIV
1623CLASS="REFSECT2"
1624><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001625NAME="AEN15971"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001626></A
1627><H3
1628><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001629NAME="IS-PUBIDCHAR-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001630></A
1631>IS_PUBIDCHAR()</H3
1632><TABLE
1633BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001634BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001635WIDTH="100%"
1636CELLPADDING="6"
1637><TR
1638><TD
1639><PRE
1640CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001641>#define IS_PUBIDCHAR(c) xmlIsPubidChar(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001642></TD
1643></TR
1644></TABLE
1645><P
1646></P
1647><DIV
1648CLASS="INFORMALTABLE"
1649><P
1650></P
1651><TABLE
1652BORDER="0"
1653WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001654BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001655CELLSPACING="0"
1656CELLPADDING="4"
1657CLASS="CALSTABLE"
1658><TR
1659><TD
1660WIDTH="20%"
1661ALIGN="RIGHT"
1662VALIGN="TOP"
1663><TT
1664CLASS="PARAMETER"
1665><I
1666>c</I
1667></TT
1668>&nbsp;:</TD
1669><TD
1670WIDTH="80%"
1671ALIGN="LEFT"
1672VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001673>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001674></TR
1675></TABLE
1676><P
1677></P
1678></DIV
1679></DIV
1680><HR><DIV
1681CLASS="REFSECT2"
1682><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001683NAME="AEN15985"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001684></A
1685><H3
1686><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001687NAME="SKIP-EOL-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001688></A
1689>SKIP_EOL()</H3
1690><TABLE
1691BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001692BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001693WIDTH="100%"
1694CELLPADDING="6"
1695><TR
1696><TD
1697><PRE
1698CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001699>#define SKIP_EOL(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001700></TD
1701></TR
1702></TABLE
1703><P
1704></P
1705><DIV
1706CLASS="INFORMALTABLE"
1707><P
1708></P
1709><TABLE
1710BORDER="0"
1711WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001712BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001713CELLSPACING="0"
1714CELLPADDING="4"
1715CLASS="CALSTABLE"
1716><TR
1717><TD
1718WIDTH="20%"
1719ALIGN="RIGHT"
1720VALIGN="TOP"
1721><TT
1722CLASS="PARAMETER"
1723><I
1724>p</I
1725></TT
1726>&nbsp;:</TD
1727><TD
1728WIDTH="80%"
1729ALIGN="LEFT"
1730VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001731>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001732></TR
1733></TABLE
1734><P
1735></P
1736></DIV
1737></DIV
1738><HR><DIV
1739CLASS="REFSECT2"
1740><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001741NAME="AEN15999"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001742></A
1743><H3
1744><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001745NAME="MOVETO-ENDTAG-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001746></A
1747>MOVETO_ENDTAG()</H3
1748><TABLE
1749BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001750BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001751WIDTH="100%"
1752CELLPADDING="6"
1753><TR
1754><TD
1755><PRE
1756CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001757>#define MOVETO_ENDTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001758></TD
1759></TR
1760></TABLE
1761><P
1762></P
1763><DIV
1764CLASS="INFORMALTABLE"
1765><P
1766></P
1767><TABLE
1768BORDER="0"
1769WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001770BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001771CELLSPACING="0"
1772CELLPADDING="4"
1773CLASS="CALSTABLE"
1774><TR
1775><TD
1776WIDTH="20%"
1777ALIGN="RIGHT"
1778VALIGN="TOP"
1779><TT
1780CLASS="PARAMETER"
1781><I
1782>p</I
1783></TT
1784>&nbsp;:</TD
1785><TD
1786WIDTH="80%"
1787ALIGN="LEFT"
1788VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001789>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001790></TR
1791></TABLE
1792><P
1793></P
1794></DIV
1795></DIV
1796><HR><DIV
1797CLASS="REFSECT2"
1798><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001799NAME="AEN16013"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001800></A
1801><H3
1802><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001803NAME="MOVETO-STARTTAG-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001804></A
1805>MOVETO_STARTTAG()</H3
1806><TABLE
1807BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001808BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001809WIDTH="100%"
1810CELLPADDING="6"
1811><TR
1812><TD
1813><PRE
1814CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001815>#define MOVETO_STARTTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001816></TD
1817></TR
1818></TABLE
1819><P
1820></P
1821><DIV
1822CLASS="INFORMALTABLE"
1823><P
1824></P
1825><TABLE
1826BORDER="0"
1827WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001828BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001829CELLSPACING="0"
1830CELLPADDING="4"
1831CLASS="CALSTABLE"
1832><TR
1833><TD
1834WIDTH="20%"
1835ALIGN="RIGHT"
1836VALIGN="TOP"
1837><TT
1838CLASS="PARAMETER"
1839><I
1840>p</I
1841></TT
1842>&nbsp;:</TD
1843><TD
1844WIDTH="80%"
1845ALIGN="LEFT"
1846VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00001847>&#13;</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001848></TR
1849></TABLE
1850><P
1851></P
1852></DIV
1853></DIV
1854><HR><DIV
1855CLASS="REFSECT2"
1856><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001857NAME="AEN16027"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001858></A
1859><H3
1860><A
1861NAME="XMLISBASECHAR"
1862></A
1863>xmlIsBaseChar ()</H3
1864><TABLE
1865BORDER="0"
1866BGCOLOR="#D6E8FF"
1867WIDTH="100%"
1868CELLPADDING="6"
1869><TR
1870><TD
1871><PRE
1872CLASS="PROGRAMLISTING"
1873>int xmlIsBaseChar (int c);</PRE
1874></TD
1875></TR
1876></TABLE
1877><P
1878>Check whether the character is allowed by the production
1879[85] BaseChar ::= ... long list see REC ...</P
1880><P
1881>VI is your friend !
1882:1,$ s/\[<GTKDOCLINK
1883HREF="X"
1884>x</GTKDOCLINK
1885>\([0-9A-Z]*\)-<GTKDOCLINK
1886HREF="X"
1887>x</GTKDOCLINK
1888>\([0-9A-Z]*\)\]/ (((c) &gt;= 0x\1) \&amp;\&amp; ((c) &lt;= 0x\2)) ||/
1889and
1890:1,$ s/<GTKDOCLINK
1891HREF="X"
1892>x</GTKDOCLINK
1893>\([0-9A-Z]*\)/ ((c) == 0x\1) ||/</P
1894><P
1895></P
1896><DIV
1897CLASS="INFORMALTABLE"
1898><P
1899></P
1900><TABLE
1901BORDER="0"
1902WIDTH="100%"
1903BGCOLOR="#FFD0D0"
1904CELLSPACING="0"
1905CELLPADDING="4"
1906CLASS="CALSTABLE"
1907><TR
1908><TD
1909WIDTH="20%"
1910ALIGN="RIGHT"
1911VALIGN="TOP"
1912><TT
1913CLASS="PARAMETER"
1914><I
1915>c</I
1916></TT
1917>&nbsp;:</TD
1918><TD
1919WIDTH="80%"
1920ALIGN="LEFT"
1921VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001922> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001923></TR
1924><TR
1925><TD
1926WIDTH="20%"
1927ALIGN="RIGHT"
1928VALIGN="TOP"
1929><I
1930CLASS="EMPHASIS"
1931>Returns</I
1932> :</TD
1933><TD
1934WIDTH="80%"
1935ALIGN="LEFT"
1936VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001937>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001938></TR
1939></TABLE
1940><P
1941></P
1942></DIV
1943></DIV
1944><HR><DIV
1945CLASS="REFSECT2"
1946><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00001947NAME="AEN16050"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001948></A
1949><H3
1950><A
1951NAME="XMLISBLANK"
1952></A
1953>xmlIsBlank ()</H3
1954><TABLE
1955BORDER="0"
1956BGCOLOR="#D6E8FF"
1957WIDTH="100%"
1958CELLPADDING="6"
1959><TR
1960><TD
1961><PRE
1962CLASS="PROGRAMLISTING"
1963>int xmlIsBlank (int c);</PRE
1964></TD
1965></TR
1966></TABLE
1967><P
1968>Check whether the character is allowed by the production
1969[3] S ::= (<GTKDOCLINK
1970HREF="X20"
1971>x20</GTKDOCLINK
1972> | <GTKDOCLINK
1973HREF="X9"
1974>x9</GTKDOCLINK
1975> | <GTKDOCLINK
1976HREF="XD"
1977>xD</GTKDOCLINK
1978> | <GTKDOCLINK
1979HREF="XA"
1980>xA</GTKDOCLINK
1981>)+
1982Also available as a macro <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001983HREF="libxml-parserinternals.html#IS-BLANK-CAPS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001984>IS_BLANK</A
1985>()</P
1986><P
1987></P
1988><DIV
1989CLASS="INFORMALTABLE"
1990><P
1991></P
1992><TABLE
1993BORDER="0"
1994WIDTH="100%"
1995BGCOLOR="#FFD0D0"
1996CELLSPACING="0"
1997CELLPADDING="4"
1998CLASS="CALSTABLE"
1999><TR
2000><TD
2001WIDTH="20%"
2002ALIGN="RIGHT"
2003VALIGN="TOP"
2004><TT
2005CLASS="PARAMETER"
2006><I
2007>c</I
2008></TT
2009>&nbsp;:</TD
2010><TD
2011WIDTH="80%"
2012ALIGN="LEFT"
2013VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002014> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002015></TR
2016><TR
2017><TD
2018WIDTH="20%"
2019ALIGN="RIGHT"
2020VALIGN="TOP"
2021><I
2022CLASS="EMPHASIS"
2023>Returns</I
2024> :</TD
2025><TD
2026WIDTH="80%"
2027ALIGN="LEFT"
2028VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002029>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002030></TR
2031></TABLE
2032><P
2033></P
2034></DIV
2035></DIV
2036><HR><DIV
2037CLASS="REFSECT2"
2038><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00002039NAME="AEN16074"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002040></A
2041><H3
2042><A
2043NAME="XMLISPUBIDCHAR"
2044></A
2045>xmlIsPubidChar ()</H3
2046><TABLE
2047BORDER="0"
2048BGCOLOR="#D6E8FF"
2049WIDTH="100%"
2050CELLPADDING="6"
2051><TR
2052><TD
2053><PRE
2054CLASS="PROGRAMLISTING"
2055>int xmlIsPubidChar (int c);</PRE
2056></TD
2057></TR
2058></TABLE
2059><P
2060>Check whether the character is allowed by the production
2061[13] PubidChar ::= <GTKDOCLINK
2062HREF="X20"
2063>x20</GTKDOCLINK
2064> | <GTKDOCLINK
2065HREF="XD"
2066>xD</GTKDOCLINK
2067> | <GTKDOCLINK
2068HREF="XA"
2069>xA</GTKDOCLINK
2070> | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]</P
2071><P
2072></P
2073><DIV
2074CLASS="INFORMALTABLE"
2075><P
2076></P
2077><TABLE
2078BORDER="0"
2079WIDTH="100%"
2080BGCOLOR="#FFD0D0"
2081CELLSPACING="0"
2082CELLPADDING="4"
2083CLASS="CALSTABLE"
2084><TR
2085><TD
2086WIDTH="20%"
2087ALIGN="RIGHT"
2088VALIGN="TOP"
2089><TT
2090CLASS="PARAMETER"
2091><I
2092>c</I
2093></TT
2094>&nbsp;:</TD
2095><TD
2096WIDTH="80%"
2097ALIGN="LEFT"
2098VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002099> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002100></TR
2101><TR
2102><TD
2103WIDTH="20%"
2104ALIGN="RIGHT"
2105VALIGN="TOP"
2106><I
2107CLASS="EMPHASIS"
2108>Returns</I
2109> :</TD
2110><TD
2111WIDTH="80%"
2112ALIGN="LEFT"
2113VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002114>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002115></TR
2116></TABLE
2117><P
2118></P
2119></DIV
2120></DIV
2121><HR><DIV
2122CLASS="REFSECT2"
2123><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00002124NAME="AEN16096"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002125></A
2126><H3
2127><A
2128NAME="XMLISLETTER"
2129></A
2130>xmlIsLetter ()</H3
2131><TABLE
2132BORDER="0"
2133BGCOLOR="#D6E8FF"
2134WIDTH="100%"
2135CELLPADDING="6"
2136><TR
2137><TD
2138><PRE
2139CLASS="PROGRAMLISTING"
2140>int xmlIsLetter (int c);</PRE
2141></TD
2142></TR
2143></TABLE
2144><P
2145>Check whether the character is allowed by the production
2146[84] Letter ::= BaseChar | Ideographic</P
2147><P
2148></P
2149><DIV
2150CLASS="INFORMALTABLE"
2151><P
2152></P
2153><TABLE
2154BORDER="0"
2155WIDTH="100%"
2156BGCOLOR="#FFD0D0"
2157CELLSPACING="0"
2158CELLPADDING="4"
2159CLASS="CALSTABLE"
2160><TR
2161><TD
2162WIDTH="20%"
2163ALIGN="RIGHT"
2164VALIGN="TOP"
2165><TT
2166CLASS="PARAMETER"
2167><I
2168>c</I
2169></TT
2170>&nbsp;:</TD
2171><TD
2172WIDTH="80%"
2173ALIGN="LEFT"
2174VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002175> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002176></TR
2177><TR
2178><TD
2179WIDTH="20%"
2180ALIGN="RIGHT"
2181VALIGN="TOP"
2182><I
2183CLASS="EMPHASIS"
2184>Returns</I
2185> :</TD
2186><TD
2187WIDTH="80%"
2188ALIGN="LEFT"
2189VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002190>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002191></TR
2192></TABLE
2193><P
2194></P
2195></DIV
2196></DIV
2197><HR><DIV
2198CLASS="REFSECT2"
2199><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00002200NAME="AEN16115"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002201></A
2202><H3
2203><A
2204NAME="XMLISDIGIT"
2205></A
2206>xmlIsDigit ()</H3
2207><TABLE
2208BORDER="0"
2209BGCOLOR="#D6E8FF"
2210WIDTH="100%"
2211CELLPADDING="6"
2212><TR
2213><TD
2214><PRE
2215CLASS="PROGRAMLISTING"
2216>int xmlIsDigit (int c);</PRE
2217></TD
2218></TR
2219></TABLE
2220><P
2221>Check whether the character is allowed by the production
2222[88] Digit ::= ... long list see REC ...</P
2223><P
2224></P
2225><DIV
2226CLASS="INFORMALTABLE"
2227><P
2228></P
2229><TABLE
2230BORDER="0"
2231WIDTH="100%"
2232BGCOLOR="#FFD0D0"
2233CELLSPACING="0"
2234CELLPADDING="4"
2235CLASS="CALSTABLE"
2236><TR
2237><TD
2238WIDTH="20%"
2239ALIGN="RIGHT"
2240VALIGN="TOP"
2241><TT
2242CLASS="PARAMETER"
2243><I
2244>c</I
2245></TT
2246>&nbsp;:</TD
2247><TD
2248WIDTH="80%"
2249ALIGN="LEFT"
2250VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002251> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002252></TR
2253><TR
2254><TD
2255WIDTH="20%"
2256ALIGN="RIGHT"
2257VALIGN="TOP"
2258><I
2259CLASS="EMPHASIS"
2260>Returns</I
2261> :</TD
2262><TD
2263WIDTH="80%"
2264ALIGN="LEFT"
2265VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002266>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002267></TR
2268></TABLE
2269><P
2270></P
2271></DIV
2272></DIV
2273><HR><DIV
2274CLASS="REFSECT2"
2275><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00002276NAME="AEN16134"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002277></A
2278><H3
2279><A
2280NAME="XMLISIDEOGRAPHIC"
2281></A
2282>xmlIsIdeographic ()</H3
2283><TABLE
2284BORDER="0"
2285BGCOLOR="#D6E8FF"
2286WIDTH="100%"
2287CELLPADDING="6"
2288><TR
2289><TD
2290><PRE
2291CLASS="PROGRAMLISTING"
2292>int xmlIsIdeographic (int c);</PRE
2293></TD
2294></TR
2295></TABLE
2296><P
2297>Check whether the character is allowed by the production
2298[86] Ideographic ::= [<GTKDOCLINK
2299HREF="X4E00-"
2300>x4E00-</GTKDOCLINK
2301><GTKDOCLINK
2302HREF="X9FA5"
2303>x9FA5</GTKDOCLINK
2304>] | <GTKDOCLINK
2305HREF="X3007"
2306>x3007</GTKDOCLINK
2307> | [<GTKDOCLINK
2308HREF="X3021-"
2309>x3021-</GTKDOCLINK
2310><GTKDOCLINK
2311HREF="X3029"
2312>x3029</GTKDOCLINK
2313>]</P
2314><P
2315></P
2316><DIV
2317CLASS="INFORMALTABLE"
2318><P
2319></P
2320><TABLE
2321BORDER="0"
2322WIDTH="100%"
2323BGCOLOR="#FFD0D0"
2324CELLSPACING="0"
2325CELLPADDING="4"
2326CLASS="CALSTABLE"
2327><TR
2328><TD
2329WIDTH="20%"
2330ALIGN="RIGHT"
2331VALIGN="TOP"
2332><TT
2333CLASS="PARAMETER"
2334><I
2335>c</I
2336></TT
2337>&nbsp;:</TD
2338><TD
2339WIDTH="80%"
2340ALIGN="LEFT"
2341VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002342> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002343></TR
2344><TR
2345><TD
2346WIDTH="20%"
2347ALIGN="RIGHT"
2348VALIGN="TOP"
2349><I
2350CLASS="EMPHASIS"
2351>Returns</I
2352> :</TD
2353><TD
2354WIDTH="80%"
2355ALIGN="LEFT"
2356VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002357>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002358></TR
2359></TABLE
2360><P
2361></P
2362></DIV
2363></DIV
2364><HR><DIV
2365CLASS="REFSECT2"
2366><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00002367NAME="AEN16158"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002368></A
2369><H3
2370><A
2371NAME="XMLISCOMBINING"
2372></A
2373>xmlIsCombining ()</H3
2374><TABLE
2375BORDER="0"
2376BGCOLOR="#D6E8FF"
2377WIDTH="100%"
2378CELLPADDING="6"
2379><TR
2380><TD
2381><PRE
2382CLASS="PROGRAMLISTING"
2383>int xmlIsCombining (int c);</PRE
2384></TD
2385></TR
2386></TABLE
2387><P
2388>Check whether the character is allowed by the production
2389[87] CombiningChar ::= ... long list see REC ...</P
2390><P
2391></P
2392><DIV
2393CLASS="INFORMALTABLE"
2394><P
2395></P
2396><TABLE
2397BORDER="0"
2398WIDTH="100%"
2399BGCOLOR="#FFD0D0"
2400CELLSPACING="0"
2401CELLPADDING="4"
2402CLASS="CALSTABLE"
2403><TR
2404><TD
2405WIDTH="20%"
2406ALIGN="RIGHT"
2407VALIGN="TOP"
2408><TT
2409CLASS="PARAMETER"
2410><I
2411>c</I
2412></TT
2413>&nbsp;:</TD
2414><TD
2415WIDTH="80%"
2416ALIGN="LEFT"
2417VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002418> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002419></TR
2420><TR
2421><TD
2422WIDTH="20%"
2423ALIGN="RIGHT"
2424VALIGN="TOP"
2425><I
2426CLASS="EMPHASIS"
2427>Returns</I
2428> :</TD
2429><TD
2430WIDTH="80%"
2431ALIGN="LEFT"
2432VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002433>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002434></TR
2435></TABLE
2436><P
2437></P
2438></DIV
2439></DIV
2440><HR><DIV
2441CLASS="REFSECT2"
2442><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00002443NAME="AEN16177"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002444></A
2445><H3
2446><A
2447NAME="XMLISEXTENDER"
2448></A
2449>xmlIsExtender ()</H3
2450><TABLE
2451BORDER="0"
2452BGCOLOR="#D6E8FF"
2453WIDTH="100%"
2454CELLPADDING="6"
2455><TR
2456><TD
2457><PRE
2458CLASS="PROGRAMLISTING"
2459>int xmlIsExtender (int c);</PRE
2460></TD
2461></TR
2462></TABLE
2463><P
2464>Check whether the character is allowed by the production
2465[89] Extender ::= <GTKDOCLINK
2466HREF="X00B7"
2467>x00B7</GTKDOCLINK
2468> | <GTKDOCLINK
2469HREF="X02D0"
2470>x02D0</GTKDOCLINK
2471> | <GTKDOCLINK
2472HREF="X02D1"
2473>x02D1</GTKDOCLINK
2474> | <GTKDOCLINK
2475HREF="X0387"
2476>x0387</GTKDOCLINK
2477> | <GTKDOCLINK
2478HREF="X0640"
2479>x0640</GTKDOCLINK
2480> |
2481<GTKDOCLINK
2482HREF="X0E46"
2483>x0E46</GTKDOCLINK
2484> | <GTKDOCLINK
2485HREF="X0EC6"
2486>x0EC6</GTKDOCLINK
2487> | <GTKDOCLINK
2488HREF="X3005"
2489>x3005</GTKDOCLINK
2490> | [<GTKDOCLINK
2491HREF="X3031-"
2492>x3031-</GTKDOCLINK
2493><GTKDOCLINK
2494HREF="X3035"
2495>x3035</GTKDOCLINK
2496>] |
2497[<GTKDOCLINK
2498HREF="X309D-"
2499>x309D-</GTKDOCLINK
2500><GTKDOCLINK
2501HREF="X309E"
2502>x309E</GTKDOCLINK
2503>] | [<GTKDOCLINK
2504HREF="X30FC-"
2505>x30FC-</GTKDOCLINK
2506><GTKDOCLINK
2507HREF="X30FE"
2508>x30FE</GTKDOCLINK
2509>]</P
2510><P
2511></P
2512><DIV
2513CLASS="INFORMALTABLE"
2514><P
2515></P
2516><TABLE
2517BORDER="0"
2518WIDTH="100%"
2519BGCOLOR="#FFD0D0"
2520CELLSPACING="0"
2521CELLPADDING="4"
2522CLASS="CALSTABLE"
2523><TR
2524><TD
2525WIDTH="20%"
2526ALIGN="RIGHT"
2527VALIGN="TOP"
2528><TT
2529CLASS="PARAMETER"
2530><I
2531>c</I
2532></TT
2533>&nbsp;:</TD
2534><TD
2535WIDTH="80%"
2536ALIGN="LEFT"
2537VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002538> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002539></TR
2540><TR
2541><TD
2542WIDTH="20%"
2543ALIGN="RIGHT"
2544VALIGN="TOP"
2545><I
2546CLASS="EMPHASIS"
2547>Returns</I
2548> :</TD
2549><TD
2550WIDTH="80%"
2551ALIGN="LEFT"
2552VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002553>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002554></TR
2555></TABLE
2556><P
2557></P
2558></DIV
2559></DIV
2560><HR><DIV
2561CLASS="REFSECT2"
2562><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00002563NAME="AEN16210"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002564></A
2565><H3
2566><A
2567NAME="XMLISCHAR"
2568></A
2569>xmlIsChar ()</H3
2570><TABLE
2571BORDER="0"
2572BGCOLOR="#D6E8FF"
2573WIDTH="100%"
2574CELLPADDING="6"
2575><TR
2576><TD
2577><PRE
2578CLASS="PROGRAMLISTING"
2579>int xmlIsChar (int c);</PRE
2580></TD
2581></TR
2582></TABLE
2583><P
2584>Check whether the character is allowed by the production
2585[2] Char ::= <GTKDOCLINK
2586HREF="X9"
2587>x9</GTKDOCLINK
2588> | <GTKDOCLINK
2589HREF="XA"
2590>xA</GTKDOCLINK
2591> | <GTKDOCLINK
2592HREF="XD"
2593>xD</GTKDOCLINK
2594> | [<GTKDOCLINK
2595HREF="X20-"
2596>x20-</GTKDOCLINK
2597><GTKDOCLINK
2598HREF="XD7FF"
2599>xD7FF</GTKDOCLINK
2600>] | [<GTKDOCLINK
2601HREF="XE000-"
2602>xE000-</GTKDOCLINK
2603><GTKDOCLINK
2604HREF="XFFFD"
2605>xFFFD</GTKDOCLINK
2606>]
2607| [<GTKDOCLINK
2608HREF="X10000-"
2609>x10000-</GTKDOCLINK
2610><GTKDOCLINK
2611HREF="X10FFFF"
2612>x10FFFF</GTKDOCLINK
2613>]
2614any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.
2615Also available as a macro <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002616HREF="libxml-parserinternals.html#IS-CHAR-CAPS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002617>IS_CHAR</A
2618>()</P
2619><P
2620></P
2621><DIV
2622CLASS="INFORMALTABLE"
2623><P
2624></P
2625><TABLE
2626BORDER="0"
2627WIDTH="100%"
2628BGCOLOR="#FFD0D0"
2629CELLSPACING="0"
2630CELLPADDING="4"
2631CLASS="CALSTABLE"
2632><TR
2633><TD
2634WIDTH="20%"
2635ALIGN="RIGHT"
2636VALIGN="TOP"
2637><TT
2638CLASS="PARAMETER"
2639><I
2640>c</I
2641></TT
2642>&nbsp;:</TD
2643><TD
2644WIDTH="80%"
2645ALIGN="LEFT"
2646VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002647> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002648></TR
2649><TR
2650><TD
2651WIDTH="20%"
2652ALIGN="RIGHT"
2653VALIGN="TOP"
2654><I
2655CLASS="EMPHASIS"
2656>Returns</I
2657> :</TD
2658><TD
2659WIDTH="80%"
2660ALIGN="LEFT"
2661VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002662>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002663></TR
2664></TABLE
2665><P
2666></P
2667></DIV
2668></DIV
2669><HR><DIV
2670CLASS="REFSECT2"
2671><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00002672NAME="AEN16239"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002673></A
2674><H3
2675><A
2676NAME="XMLCREATEDOCPARSERCTXT"
2677></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002678>xmlCreateDocParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00002679><TABLE
2680BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002681BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002682WIDTH="100%"
2683CELLPADDING="6"
2684><TR
2685><TD
2686><PRE
2687CLASS="PROGRAMLISTING"
2688><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002689HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002690>xmlParserCtxtPtr</A
2691> xmlCreateDocParserCtxt (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002692HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002693>xmlChar</A
Daniel Veillardd692aa41999-02-28 21:54:31 +00002694> *cur);</PRE
2695></TD
2696></TR
2697></TABLE
2698><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002699>Creates a parser context for an XML in-memory document.</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00002700><P
Daniel Veillardd692aa41999-02-28 21:54:31 +00002701></P
2702><DIV
2703CLASS="INFORMALTABLE"
2704><P
2705></P
2706><TABLE
2707BORDER="0"
2708WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002709BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002710CELLSPACING="0"
2711CELLPADDING="4"
2712CLASS="CALSTABLE"
2713><TR
2714><TD
2715WIDTH="20%"
2716ALIGN="RIGHT"
2717VALIGN="TOP"
2718><TT
2719CLASS="PARAMETER"
2720><I
2721>cur</I
2722></TT
2723>&nbsp;:</TD
2724><TD
2725WIDTH="80%"
2726ALIGN="LEFT"
2727VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002728>&nbsp;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002729></TR
2730><TR
2731><TD
2732WIDTH="20%"
2733ALIGN="RIGHT"
2734VALIGN="TOP"
2735><I
2736CLASS="EMPHASIS"
2737>Returns</I
2738> :</TD
2739><TD
2740WIDTH="80%"
2741ALIGN="LEFT"
2742VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00002743>&#13;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002744></TR
2745></TABLE
2746><P
2747></P
2748></DIV
2749></DIV
2750><HR><DIV
2751CLASS="REFSECT2"
2752><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00002753NAME="AEN16260"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002754></A
2755><H3
2756><A
2757NAME="XMLCREATEFILEPARSERCTXT"
2758></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002759>xmlCreateFileParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00002760><TABLE
2761BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002762BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002763WIDTH="100%"
2764CELLPADDING="6"
2765><TR
2766><TD
2767><PRE
2768CLASS="PROGRAMLISTING"
2769><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002770HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002771>xmlParserCtxtPtr</A
2772> xmlCreateFileParserCtxt (const char *filename);</PRE
2773></TD
2774></TR
2775></TABLE
2776><P
2777>Create a parser context for a file content.
2778Automatic support for ZLIB/Compress compressed document is provided
2779by default if found at compile-time.</P
2780><P
2781></P
2782><DIV
2783CLASS="INFORMALTABLE"
2784><P
2785></P
2786><TABLE
2787BORDER="0"
2788WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002789BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002790CELLSPACING="0"
2791CELLPADDING="4"
2792CLASS="CALSTABLE"
2793><TR
2794><TD
2795WIDTH="20%"
2796ALIGN="RIGHT"
2797VALIGN="TOP"
2798><TT
2799CLASS="PARAMETER"
2800><I
2801>filename</I
2802></TT
2803>&nbsp;:</TD
2804><TD
2805WIDTH="80%"
2806ALIGN="LEFT"
2807VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002808> the filename</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002809></TR
2810><TR
2811><TD
2812WIDTH="20%"
2813ALIGN="RIGHT"
2814VALIGN="TOP"
2815><I
2816CLASS="EMPHASIS"
2817>Returns</I
2818> :</TD
2819><TD
2820WIDTH="80%"
2821ALIGN="LEFT"
2822VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002823>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002824></TR
2825></TABLE
2826><P
2827></P
2828></DIV
2829></DIV
2830><HR><DIV
2831CLASS="REFSECT2"
2832><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00002833NAME="AEN16280"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002834></A
2835><H3
2836><A
2837NAME="XMLCREATEMEMORYPARSERCTXT"
2838></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002839>xmlCreateMemoryParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00002840><TABLE
2841BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002842BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002843WIDTH="100%"
2844CELLPADDING="6"
2845><TR
2846><TD
2847><PRE
2848CLASS="PROGRAMLISTING"
2849><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002850HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002851>xmlParserCtxtPtr</A
2852> xmlCreateMemoryParserCtxt (char *buffer,
2853 int size);</PRE
2854></TD
2855></TR
2856></TABLE
2857><P
2858>Create a parser context for an XML in-memory document.</P
2859><P
2860></P
2861><DIV
2862CLASS="INFORMALTABLE"
2863><P
2864></P
2865><TABLE
2866BORDER="0"
2867WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002868BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002869CELLSPACING="0"
2870CELLPADDING="4"
2871CLASS="CALSTABLE"
2872><TR
2873><TD
2874WIDTH="20%"
2875ALIGN="RIGHT"
2876VALIGN="TOP"
2877><TT
2878CLASS="PARAMETER"
2879><I
2880>buffer</I
2881></TT
2882>&nbsp;:</TD
2883><TD
2884WIDTH="80%"
2885ALIGN="LEFT"
2886VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002887> a pointer to a char array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002888></TR
2889><TR
2890><TD
2891WIDTH="20%"
2892ALIGN="RIGHT"
2893VALIGN="TOP"
2894><TT
2895CLASS="PARAMETER"
2896><I
2897>size</I
2898></TT
2899>&nbsp;:</TD
2900><TD
2901WIDTH="80%"
2902ALIGN="LEFT"
2903VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002904> the size of the array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002905></TR
2906><TR
2907><TD
2908WIDTH="20%"
2909ALIGN="RIGHT"
2910VALIGN="TOP"
2911><I
2912CLASS="EMPHASIS"
2913>Returns</I
2914> :</TD
2915><TD
2916WIDTH="80%"
2917ALIGN="LEFT"
2918VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002919>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002920></TR
2921></TABLE
2922><P
2923></P
2924></DIV
2925></DIV
2926><HR><DIV
2927CLASS="REFSECT2"
2928><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00002929NAME="AEN16304"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002930></A
2931><H3
2932><A
2933NAME="XMLNEWPARSERCTXT"
2934></A
2935>xmlNewParserCtxt ()</H3
2936><TABLE
2937BORDER="0"
2938BGCOLOR="#D6E8FF"
2939WIDTH="100%"
2940CELLPADDING="6"
2941><TR
2942><TD
2943><PRE
2944CLASS="PROGRAMLISTING"
2945><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002946HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002947>xmlParserCtxtPtr</A
2948> xmlNewParserCtxt (void);</PRE
2949></TD
2950></TR
2951></TABLE
2952><P
2953>Allocate and initialize a new parser context.</P
2954><P
2955></P
2956><DIV
2957CLASS="INFORMALTABLE"
2958><P
2959></P
2960><TABLE
2961BORDER="0"
2962WIDTH="100%"
2963BGCOLOR="#FFD0D0"
2964CELLSPACING="0"
2965CELLPADDING="4"
2966CLASS="CALSTABLE"
2967><TR
2968><TD
2969WIDTH="20%"
2970ALIGN="RIGHT"
2971VALIGN="TOP"
2972><I
2973CLASS="EMPHASIS"
2974>Returns</I
2975> :</TD
2976><TD
2977WIDTH="80%"
2978ALIGN="LEFT"
2979VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002980>the xmlParserCtxtPtr or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002981></TR
2982></TABLE
2983><P
2984></P
2985></DIV
2986></DIV
2987><HR><DIV
2988CLASS="REFSECT2"
2989><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00002990NAME="AEN16320"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002991></A
2992><H3
2993><A
2994NAME="XMLCREATEENTITYPARSERCTXT"
2995></A
2996>xmlCreateEntityParserCtxt ()</H3
2997><TABLE
2998BORDER="0"
2999BGCOLOR="#D6E8FF"
3000WIDTH="100%"
3001CELLPADDING="6"
3002><TR
3003><TD
3004><PRE
3005CLASS="PROGRAMLISTING"
3006><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003007HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003008>xmlParserCtxtPtr</A
3009> xmlCreateEntityParserCtxt (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003010HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003011>xmlChar</A
3012> *URL,
3013 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003014HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003015>xmlChar</A
3016> *ID,
3017 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003018HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003019>xmlChar</A
3020> *base);</PRE
3021></TD
3022></TR
3023></TABLE
3024><P
3025>Create a parser context for an external entity
3026Automatic support for ZLIB/Compress compressed document is provided
3027by default if found at compile-time.</P
3028><P
3029></P
3030><DIV
3031CLASS="INFORMALTABLE"
3032><P
3033></P
3034><TABLE
3035BORDER="0"
3036WIDTH="100%"
3037BGCOLOR="#FFD0D0"
3038CELLSPACING="0"
3039CELLPADDING="4"
3040CLASS="CALSTABLE"
3041><TR
3042><TD
3043WIDTH="20%"
3044ALIGN="RIGHT"
3045VALIGN="TOP"
3046><TT
3047CLASS="PARAMETER"
3048><I
3049>URL</I
3050></TT
3051>&nbsp;:</TD
3052><TD
3053WIDTH="80%"
3054ALIGN="LEFT"
3055VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003056> the entity URL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003057></TR
3058><TR
3059><TD
3060WIDTH="20%"
3061ALIGN="RIGHT"
3062VALIGN="TOP"
3063><TT
3064CLASS="PARAMETER"
3065><I
3066>ID</I
3067></TT
3068>&nbsp;:</TD
3069><TD
3070WIDTH="80%"
3071ALIGN="LEFT"
3072VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003073> the entity PUBLIC ID</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003074></TR
3075><TR
3076><TD
3077WIDTH="20%"
3078ALIGN="RIGHT"
3079VALIGN="TOP"
3080><TT
3081CLASS="PARAMETER"
3082><I
3083>base</I
3084></TT
3085>&nbsp;:</TD
3086><TD
3087WIDTH="80%"
3088ALIGN="LEFT"
3089VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003090> a posible base for the target URI</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003091></TR
3092><TR
3093><TD
3094WIDTH="20%"
3095ALIGN="RIGHT"
3096VALIGN="TOP"
3097><I
3098CLASS="EMPHASIS"
3099>Returns</I
3100> :</TD
3101><TD
3102WIDTH="80%"
3103ALIGN="LEFT"
3104VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003105>the new parser context or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003106></TR
3107></TABLE
3108><P
3109></P
3110></DIV
3111></DIV
3112><HR><DIV
3113CLASS="REFSECT2"
3114><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00003115NAME="AEN16351"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003116></A
3117><H3
3118><A
3119NAME="XMLSWITCHENCODING"
3120></A
3121>xmlSwitchEncoding ()</H3
3122><TABLE
3123BORDER="0"
3124BGCOLOR="#D6E8FF"
3125WIDTH="100%"
3126CELLPADDING="6"
3127><TR
3128><TD
3129><PRE
3130CLASS="PROGRAMLISTING"
3131>int xmlSwitchEncoding (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003132HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003133>xmlParserCtxtPtr</A
3134> ctxt,
3135 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003136HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003137>xmlCharEncoding</A
3138> enc);</PRE
3139></TD
3140></TR
3141></TABLE
3142><P
3143>change the input functions when discovering the character encoding
3144of a given entity.</P
3145><P
3146></P
3147><DIV
3148CLASS="INFORMALTABLE"
3149><P
3150></P
3151><TABLE
3152BORDER="0"
3153WIDTH="100%"
3154BGCOLOR="#FFD0D0"
3155CELLSPACING="0"
3156CELLPADDING="4"
3157CLASS="CALSTABLE"
3158><TR
3159><TD
3160WIDTH="20%"
3161ALIGN="RIGHT"
3162VALIGN="TOP"
3163><TT
3164CLASS="PARAMETER"
3165><I
3166>ctxt</I
3167></TT
3168>&nbsp;:</TD
3169><TD
3170WIDTH="80%"
3171ALIGN="LEFT"
3172VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003173> the parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003174></TR
3175><TR
3176><TD
3177WIDTH="20%"
3178ALIGN="RIGHT"
3179VALIGN="TOP"
3180><TT
3181CLASS="PARAMETER"
3182><I
3183>enc</I
3184></TT
3185>&nbsp;:</TD
3186><TD
3187WIDTH="80%"
3188ALIGN="LEFT"
3189VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003190> the encoding value (number)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003191></TR
3192><TR
3193><TD
3194WIDTH="20%"
3195ALIGN="RIGHT"
3196VALIGN="TOP"
3197><I
3198CLASS="EMPHASIS"
3199>Returns</I
3200> :</TD
3201><TD
3202WIDTH="80%"
3203ALIGN="LEFT"
3204VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003205>0 in case of success, -1 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003206></TR
3207></TABLE
3208><P
3209></P
3210></DIV
3211></DIV
3212><HR><DIV
3213CLASS="REFSECT2"
3214><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00003215NAME="AEN16376"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003216></A
3217><H3
3218><A
3219NAME="XMLSWITCHTOENCODING"
3220></A
3221>xmlSwitchToEncoding ()</H3
3222><TABLE
3223BORDER="0"
3224BGCOLOR="#D6E8FF"
3225WIDTH="100%"
3226CELLPADDING="6"
3227><TR
3228><TD
3229><PRE
3230CLASS="PROGRAMLISTING"
3231>int xmlSwitchToEncoding (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003232HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003233>xmlParserCtxtPtr</A
3234> ctxt,
3235 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003236HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003237>xmlCharEncodingHandlerPtr</A
3238> handler);</PRE
3239></TD
3240></TR
3241></TABLE
3242><P
3243>change the input functions when discovering the character encoding
3244of a given entity.</P
3245><P
3246></P
3247><DIV
3248CLASS="INFORMALTABLE"
3249><P
3250></P
3251><TABLE
3252BORDER="0"
3253WIDTH="100%"
3254BGCOLOR="#FFD0D0"
3255CELLSPACING="0"
3256CELLPADDING="4"
3257CLASS="CALSTABLE"
3258><TR
3259><TD
3260WIDTH="20%"
3261ALIGN="RIGHT"
3262VALIGN="TOP"
3263><TT
3264CLASS="PARAMETER"
3265><I
3266>ctxt</I
3267></TT
3268>&nbsp;:</TD
3269><TD
3270WIDTH="80%"
3271ALIGN="LEFT"
3272VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003273> the parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003274></TR
3275><TR
3276><TD
3277WIDTH="20%"
3278ALIGN="RIGHT"
3279VALIGN="TOP"
3280><TT
3281CLASS="PARAMETER"
3282><I
3283>handler</I
3284></TT
3285>&nbsp;:</TD
3286><TD
3287WIDTH="80%"
3288ALIGN="LEFT"
3289VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003290> the encoding handler</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003291></TR
3292><TR
3293><TD
3294WIDTH="20%"
3295ALIGN="RIGHT"
3296VALIGN="TOP"
3297><I
3298CLASS="EMPHASIS"
3299>Returns</I
3300> :</TD
3301><TD
3302WIDTH="80%"
3303ALIGN="LEFT"
3304VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003305>0 in case of success, -1 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003306></TR
3307></TABLE
3308><P
3309></P
3310></DIV
3311></DIV
3312><HR><DIV
3313CLASS="REFSECT2"
3314><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00003315NAME="AEN16401"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003316></A
3317><H3
3318><A
3319NAME="XMLFREEPARSERCTXT"
3320></A
3321>xmlFreeParserCtxt ()</H3
3322><TABLE
3323BORDER="0"
3324BGCOLOR="#D6E8FF"
3325WIDTH="100%"
3326CELLPADDING="6"
3327><TR
3328><TD
3329><PRE
3330CLASS="PROGRAMLISTING"
3331>void xmlFreeParserCtxt (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003332HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003333>xmlParserCtxtPtr</A
3334> ctxt);</PRE
3335></TD
3336></TR
3337></TABLE
3338><P
3339>Free all the memory used by a parser context. However the parsed
3340document in ctxt-&gt;myDoc is not freed.</P
3341><P
3342></P
3343><DIV
3344CLASS="INFORMALTABLE"
3345><P
3346></P
3347><TABLE
3348BORDER="0"
3349WIDTH="100%"
3350BGCOLOR="#FFD0D0"
3351CELLSPACING="0"
3352CELLPADDING="4"
3353CLASS="CALSTABLE"
3354><TR
3355><TD
3356WIDTH="20%"
3357ALIGN="RIGHT"
3358VALIGN="TOP"
3359><TT
3360CLASS="PARAMETER"
3361><I
3362>ctxt</I
3363></TT
3364>&nbsp;:</TD
3365><TD
3366WIDTH="80%"
3367ALIGN="LEFT"
3368VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00003369>&#13;</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003370></TR
3371></TABLE
3372><P
3373></P
3374></DIV
3375></DIV
3376><HR><DIV
3377CLASS="REFSECT2"
3378><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00003379NAME="AEN16417"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003380></A
3381><H3
3382><A
3383NAME="XMLHANDLEENTITY"
3384></A
3385>xmlHandleEntity ()</H3
3386><TABLE
3387BORDER="0"
3388BGCOLOR="#D6E8FF"
3389WIDTH="100%"
3390CELLPADDING="6"
3391><TR
3392><TD
3393><PRE
3394CLASS="PROGRAMLISTING"
3395>void xmlHandleEntity (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003396HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003397>xmlParserCtxtPtr</A
3398> ctxt,
3399 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003400HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003401>xmlEntityPtr</A
3402> entity);</PRE
3403></TD
3404></TR
3405></TABLE
3406><P
3407>Default handling of defined entities, when should we define a new input
3408stream ? When do we just handle that as a set of chars ?</P
3409><P
3410>OBSOLETE: to be removed at some point.</P
3411><P
3412></P
3413><DIV
3414CLASS="INFORMALTABLE"
3415><P
3416></P
3417><TABLE
3418BORDER="0"
3419WIDTH="100%"
3420BGCOLOR="#FFD0D0"
3421CELLSPACING="0"
3422CELLPADDING="4"
3423CLASS="CALSTABLE"
3424><TR
3425><TD
3426WIDTH="20%"
3427ALIGN="RIGHT"
3428VALIGN="TOP"
3429><TT
3430CLASS="PARAMETER"
3431><I
3432>ctxt</I
3433></TT
3434>&nbsp;:</TD
3435><TD
3436WIDTH="80%"
3437ALIGN="LEFT"
3438VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003439> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003440></TR
3441><TR
3442><TD
3443WIDTH="20%"
3444ALIGN="RIGHT"
3445VALIGN="TOP"
3446><TT
3447CLASS="PARAMETER"
3448><I
3449>entity</I
3450></TT
3451>&nbsp;:</TD
3452><TD
3453WIDTH="80%"
3454ALIGN="LEFT"
3455VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003456> an XML entity pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003457></TR
3458></TABLE
3459><P
3460></P
3461></DIV
3462></DIV
3463><HR><DIV
3464CLASS="REFSECT2"
3465><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00003466NAME="AEN16439"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003467></A
3468><H3
3469><A
3470NAME="XMLNEWENTITYINPUTSTREAM"
3471></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003472>xmlNewEntityInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003473><TABLE
3474BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003475BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003476WIDTH="100%"
3477CELLPADDING="6"
3478><TR
3479><TD
3480><PRE
3481CLASS="PROGRAMLISTING"
3482><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003483HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003484>xmlParserInputPtr</A
3485> xmlNewEntityInputStream (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003486HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003487>xmlParserCtxtPtr</A
3488> ctxt,
3489 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003490HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003491>xmlEntityPtr</A
3492> entity);</PRE
3493></TD
3494></TR
3495></TABLE
3496><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00003497>Create a new input stream based on an xmlEntityPtr</P
Daniel Veillardbc50b591999-03-01 12:28:53 +00003498><P
3499></P
3500><DIV
3501CLASS="INFORMALTABLE"
3502><P
3503></P
3504><TABLE
3505BORDER="0"
3506WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003507BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003508CELLSPACING="0"
3509CELLPADDING="4"
3510CLASS="CALSTABLE"
3511><TR
3512><TD
3513WIDTH="20%"
3514ALIGN="RIGHT"
3515VALIGN="TOP"
3516><TT
3517CLASS="PARAMETER"
3518><I
3519>ctxt</I
3520></TT
3521>&nbsp;:</TD
3522><TD
3523WIDTH="80%"
3524ALIGN="LEFT"
3525VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003526> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003527></TR
3528><TR
3529><TD
3530WIDTH="20%"
3531ALIGN="RIGHT"
3532VALIGN="TOP"
3533><TT
3534CLASS="PARAMETER"
3535><I
3536>entity</I
3537></TT
3538>&nbsp;:</TD
3539><TD
3540WIDTH="80%"
3541ALIGN="LEFT"
3542VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003543> an Entity pointer</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003544></TR
3545><TR
3546><TD
3547WIDTH="20%"
3548ALIGN="RIGHT"
3549VALIGN="TOP"
3550><I
3551CLASS="EMPHASIS"
3552>Returns</I
3553> :</TD
3554><TD
3555WIDTH="80%"
3556ALIGN="LEFT"
3557VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003558>the new input stream or NULL</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003559></TR
3560></TABLE
3561><P
3562></P
3563></DIV
3564></DIV
3565><HR><DIV
3566CLASS="REFSECT2"
3567><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00003568NAME="AEN16465"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003569></A
3570><H3
3571><A
3572NAME="XMLPUSHINPUT"
3573></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003574>xmlPushInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003575><TABLE
3576BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003577BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003578WIDTH="100%"
3579CELLPADDING="6"
3580><TR
3581><TD
3582><PRE
3583CLASS="PROGRAMLISTING"
3584>void xmlPushInput (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003585HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003586>xmlParserCtxtPtr</A
3587> ctxt,
3588 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003589HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003590>xmlParserInputPtr</A
3591> input);</PRE
3592></TD
3593></TR
3594></TABLE
3595><P
3596>xmlPushInput: switch to a new input stream which is stacked on top
3597of the previous one(s).</P
3598><P
3599></P
3600><DIV
3601CLASS="INFORMALTABLE"
3602><P
3603></P
3604><TABLE
3605BORDER="0"
3606WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003607BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003608CELLSPACING="0"
3609CELLPADDING="4"
3610CLASS="CALSTABLE"
3611><TR
3612><TD
3613WIDTH="20%"
3614ALIGN="RIGHT"
3615VALIGN="TOP"
3616><TT
3617CLASS="PARAMETER"
3618><I
3619>ctxt</I
3620></TT
3621>&nbsp;:</TD
3622><TD
3623WIDTH="80%"
3624ALIGN="LEFT"
3625VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003626> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003627></TR
3628><TR
3629><TD
3630WIDTH="20%"
3631ALIGN="RIGHT"
3632VALIGN="TOP"
3633><TT
3634CLASS="PARAMETER"
3635><I
3636>input</I
3637></TT
3638>&nbsp;:</TD
3639><TD
3640WIDTH="80%"
3641ALIGN="LEFT"
3642VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003643> an XML parser input fragment (entity, XML fragment ...).</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003644></TR
3645></TABLE
3646><P
3647></P
3648></DIV
3649></DIV
3650><HR><DIV
3651CLASS="REFSECT2"
3652><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00003653NAME="AEN16486"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003654></A
3655><H3
3656><A
3657NAME="XMLPOPINPUT"
3658></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003659>xmlPopInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003660><TABLE
3661BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003662BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003663WIDTH="100%"
3664CELLPADDING="6"
3665><TR
3666><TD
3667><PRE
3668CLASS="PROGRAMLISTING"
3669><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003670HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003671>xmlChar</A
3672> xmlPopInput (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003673HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003674>xmlParserCtxtPtr</A
3675> ctxt);</PRE
3676></TD
3677></TR
3678></TABLE
3679><P
3680>xmlPopInput: the current input pointed by ctxt-&gt;input came to an end
3681pop it and return the next char.</P
3682><P
Daniel Veillardbc50b591999-03-01 12:28:53 +00003683></P
3684><DIV
3685CLASS="INFORMALTABLE"
3686><P
3687></P
3688><TABLE
3689BORDER="0"
3690WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003691BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003692CELLSPACING="0"
3693CELLPADDING="4"
3694CLASS="CALSTABLE"
3695><TR
3696><TD
3697WIDTH="20%"
3698ALIGN="RIGHT"
3699VALIGN="TOP"
3700><TT
3701CLASS="PARAMETER"
3702><I
3703>ctxt</I
3704></TT
3705>&nbsp;:</TD
3706><TD
3707WIDTH="80%"
3708ALIGN="LEFT"
3709VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003710> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003711></TR
3712><TR
3713><TD
3714WIDTH="20%"
3715ALIGN="RIGHT"
3716VALIGN="TOP"
3717><I
3718CLASS="EMPHASIS"
3719>Returns</I
3720> :</TD
3721><TD
3722WIDTH="80%"
3723ALIGN="LEFT"
3724VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003725>the current xmlChar in the parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003726></TR
3727></TABLE
3728><P
3729></P
3730></DIV
3731></DIV
3732><HR><DIV
3733CLASS="REFSECT2"
3734><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00003735NAME="AEN16507"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003736></A
3737><H3
3738><A
3739NAME="XMLFREEINPUTSTREAM"
3740></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003741>xmlFreeInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003742><TABLE
3743BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003744BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003745WIDTH="100%"
3746CELLPADDING="6"
3747><TR
3748><TD
3749><PRE
3750CLASS="PROGRAMLISTING"
3751>void xmlFreeInputStream (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003752HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003753>xmlParserInputPtr</A
3754> input);</PRE
3755></TD
3756></TR
3757></TABLE
3758><P
3759>Free up an input stream.</P
3760><P
3761></P
3762><DIV
3763CLASS="INFORMALTABLE"
3764><P
3765></P
3766><TABLE
3767BORDER="0"
3768WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003769BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003770CELLSPACING="0"
3771CELLPADDING="4"
3772CLASS="CALSTABLE"
3773><TR
3774><TD
3775WIDTH="20%"
3776ALIGN="RIGHT"
3777VALIGN="TOP"
3778><TT
3779CLASS="PARAMETER"
3780><I
3781>input</I
3782></TT
3783>&nbsp;:</TD
3784><TD
3785WIDTH="80%"
3786ALIGN="LEFT"
3787VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003788> an xmlParserInputPtr</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003789></TR
3790></TABLE
3791><P
3792></P
3793></DIV
3794></DIV
3795><HR><DIV
3796CLASS="REFSECT2"
3797><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00003798NAME="AEN16523"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003799></A
3800><H3
3801><A
3802NAME="XMLNEWINPUTFROMFILE"
3803></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003804>xmlNewInputFromFile ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00003805><TABLE
3806BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003807BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003808WIDTH="100%"
3809CELLPADDING="6"
3810><TR
3811><TD
3812><PRE
3813CLASS="PROGRAMLISTING"
3814><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003815HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003816>xmlParserInputPtr</A
3817> xmlNewInputFromFile (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003818HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003819>xmlParserCtxtPtr</A
3820> ctxt,
3821 const char *filename);</PRE
3822></TD
3823></TR
3824></TABLE
3825><P
3826>Create a new input stream based on a file.</P
3827><P
3828></P
3829><DIV
3830CLASS="INFORMALTABLE"
3831><P
3832></P
3833><TABLE
3834BORDER="0"
3835WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003836BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003837CELLSPACING="0"
3838CELLPADDING="4"
3839CLASS="CALSTABLE"
3840><TR
3841><TD
3842WIDTH="20%"
3843ALIGN="RIGHT"
3844VALIGN="TOP"
3845><TT
3846CLASS="PARAMETER"
3847><I
3848>ctxt</I
3849></TT
3850>&nbsp;:</TD
3851><TD
3852WIDTH="80%"
3853ALIGN="LEFT"
3854VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003855> an XML parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00003856></TR
3857><TR
3858><TD
3859WIDTH="20%"
3860ALIGN="RIGHT"
3861VALIGN="TOP"
3862><TT
3863CLASS="PARAMETER"
3864><I
3865>filename</I
3866></TT
3867>&nbsp;:</TD
3868><TD
3869WIDTH="80%"
3870ALIGN="LEFT"
3871VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003872> the filename to use as entity</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00003873></TR
3874><TR
3875><TD
3876WIDTH="20%"
3877ALIGN="RIGHT"
3878VALIGN="TOP"
3879><I
3880CLASS="EMPHASIS"
3881>Returns</I
3882> :</TD
3883><TD
3884WIDTH="80%"
3885ALIGN="LEFT"
3886VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003887>the new input stream or NULL in case of error</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00003888></TR
3889></TABLE
3890><P
3891></P
3892></DIV
3893></DIV
3894><HR><DIV
3895CLASS="REFSECT2"
3896><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00003897NAME="AEN16548"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003898></A
3899><H3
3900><A
3901NAME="XMLNEWINPUTSTREAM"
3902></A
3903>xmlNewInputStream ()</H3
3904><TABLE
3905BORDER="0"
3906BGCOLOR="#D6E8FF"
3907WIDTH="100%"
3908CELLPADDING="6"
3909><TR
3910><TD
3911><PRE
3912CLASS="PROGRAMLISTING"
3913><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003914HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003915>xmlParserInputPtr</A
3916> xmlNewInputStream (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003917HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003918>xmlParserCtxtPtr</A
3919> ctxt);</PRE
3920></TD
3921></TR
3922></TABLE
3923><P
3924>Create a new input stream structure</P
3925><P
3926></P
3927><DIV
3928CLASS="INFORMALTABLE"
3929><P
3930></P
3931><TABLE
3932BORDER="0"
3933WIDTH="100%"
3934BGCOLOR="#FFD0D0"
3935CELLSPACING="0"
3936CELLPADDING="4"
3937CLASS="CALSTABLE"
3938><TR
3939><TD
3940WIDTH="20%"
3941ALIGN="RIGHT"
3942VALIGN="TOP"
3943><TT
3944CLASS="PARAMETER"
3945><I
3946>ctxt</I
3947></TT
3948>&nbsp;:</TD
3949><TD
3950WIDTH="80%"
3951ALIGN="LEFT"
3952VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003953> an XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003954></TR
3955><TR
3956><TD
3957WIDTH="20%"
3958ALIGN="RIGHT"
3959VALIGN="TOP"
3960><I
3961CLASS="EMPHASIS"
3962>Returns</I
3963> :</TD
3964><TD
3965WIDTH="80%"
3966ALIGN="LEFT"
3967VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003968>the new input stream or NULL</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003969></TR
3970></TABLE
3971><P
3972></P
3973></DIV
3974></DIV
3975><HR><DIV
3976CLASS="REFSECT2"
3977><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00003978NAME="AEN16569"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003979></A
3980><H3
3981><A
3982NAME="XMLSPLITQNAME"
3983></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003984>xmlSplitQName ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003985><TABLE
3986BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003987BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003988WIDTH="100%"
3989CELLPADDING="6"
3990><TR
3991><TD
3992><PRE
3993CLASS="PROGRAMLISTING"
3994><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003995HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003996>xmlChar</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003997>* xmlSplitQName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003998HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003999>xmlParserCtxtPtr</A
4000> ctxt,
4001 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004002HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004003>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004004> *name,
4005 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004006HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004007>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004008> **prefix);</PRE
4009></TD
4010></TR
4011></TABLE
4012><P
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004013>parse an UTF8 encoded XML qualified name string</P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004014><P
4015>[NS 5] QName ::= (Prefix ':')? LocalPart</P
4016><P
4017>[NS 6] Prefix ::= NCName</P
4018><P
4019>[NS 7] LocalPart ::= NCName</P
4020><P
4021></P
4022><DIV
4023CLASS="INFORMALTABLE"
4024><P
4025></P
4026><TABLE
4027BORDER="0"
4028WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004029BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004030CELLSPACING="0"
4031CELLPADDING="4"
4032CLASS="CALSTABLE"
4033><TR
4034><TD
4035WIDTH="20%"
4036ALIGN="RIGHT"
4037VALIGN="TOP"
4038><TT
4039CLASS="PARAMETER"
4040><I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004041>ctxt</I
4042></TT
4043>&nbsp;:</TD
4044><TD
4045WIDTH="80%"
4046ALIGN="LEFT"
4047VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004048> an XML parser context</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004049></TR
4050><TR
4051><TD
4052WIDTH="20%"
4053ALIGN="RIGHT"
4054VALIGN="TOP"
4055><TT
4056CLASS="PARAMETER"
4057><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004058>name</I
4059></TT
4060>&nbsp;:</TD
4061><TD
4062WIDTH="80%"
4063ALIGN="LEFT"
4064VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004065> an XML parser context</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004066></TR
4067><TR
4068><TD
4069WIDTH="20%"
4070ALIGN="RIGHT"
4071VALIGN="TOP"
4072><TT
4073CLASS="PARAMETER"
4074><I
4075>prefix</I
4076></TT
4077>&nbsp;:</TD
4078><TD
4079WIDTH="80%"
4080ALIGN="LEFT"
4081VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004082> a xmlChar ** </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004083></TR
4084><TR
4085><TD
4086WIDTH="20%"
4087ALIGN="RIGHT"
4088VALIGN="TOP"
4089><I
4090CLASS="EMPHASIS"
4091>Returns</I
4092> :</TD
4093><TD
4094WIDTH="80%"
4095ALIGN="LEFT"
4096VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004097>the local part, and prefix is updated
4098to get the Prefix if any.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004099></TR
4100></TABLE
4101><P
4102></P
4103></DIV
4104></DIV
4105><HR><DIV
4106CLASS="REFSECT2"
4107><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00004108NAME="AEN16603"
Daniel Veillard35925471999-02-25 08:46:07 +00004109></A
4110><H3
4111><A
4112NAME="XMLNAMESPACEPARSENCNAME"
4113></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004114>xmlNamespaceParseNCName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004115><TABLE
4116BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004117BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004118WIDTH="100%"
4119CELLPADDING="6"
4120><TR
4121><TD
4122><PRE
4123CLASS="PROGRAMLISTING"
4124><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004125HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004126>xmlChar</A
4127>* xmlNamespaceParseNCName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004128HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004129>xmlParserCtxtPtr</A
4130> ctxt);</PRE
4131></TD
4132></TR
4133></TABLE
4134><P
4135>parse an XML namespace name.</P
4136><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004137>TODO: this seems not in use anymore, the namespace handling is done on
4138top of the SAX interfaces, i.e. not on raw input.</P
4139><P
Daniel Veillard35925471999-02-25 08:46:07 +00004140>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
4141><P
4142>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
4143CombiningChar | Extender</P
4144><P
4145></P
4146><DIV
4147CLASS="INFORMALTABLE"
4148><P
4149></P
4150><TABLE
4151BORDER="0"
4152WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004153BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004154CELLSPACING="0"
4155CELLPADDING="4"
4156CLASS="CALSTABLE"
4157><TR
4158><TD
4159WIDTH="20%"
4160ALIGN="RIGHT"
4161VALIGN="TOP"
4162><TT
4163CLASS="PARAMETER"
4164><I
4165>ctxt</I
4166></TT
4167>&nbsp;:</TD
4168><TD
4169WIDTH="80%"
4170ALIGN="LEFT"
4171VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004172> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004173></TR
4174><TR
4175><TD
4176WIDTH="20%"
4177ALIGN="RIGHT"
4178VALIGN="TOP"
4179><I
4180CLASS="EMPHASIS"
4181>Returns</I
4182> :</TD
4183><TD
4184WIDTH="80%"
4185ALIGN="LEFT"
4186VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004187>the namespace name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004188></TR
4189></TABLE
4190><P
4191></P
4192></DIV
4193></DIV
4194><HR><DIV
4195CLASS="REFSECT2"
4196><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00004197NAME="AEN16627"
Daniel Veillard35925471999-02-25 08:46:07 +00004198></A
4199><H3
4200><A
4201NAME="XMLNAMESPACEPARSEQNAME"
4202></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004203>xmlNamespaceParseQName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004204><TABLE
4205BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004206BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004207WIDTH="100%"
4208CELLPADDING="6"
4209><TR
4210><TD
4211><PRE
4212CLASS="PROGRAMLISTING"
4213><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004214HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004215>xmlChar</A
4216>* xmlNamespaceParseQName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004217HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004218>xmlParserCtxtPtr</A
4219> ctxt,
4220 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004221HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004222>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004223> **prefix);</PRE
4224></TD
4225></TR
4226></TABLE
4227><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004228>TODO: this seems not in use anymore, the namespace handling is done on
4229top of the SAX interfaces, i.e. not on raw input.</P
4230><P
Daniel Veillard35925471999-02-25 08:46:07 +00004231>parse an XML qualified name</P
4232><P
4233>[NS 5] QName ::= (Prefix ':')? LocalPart</P
4234><P
4235>[NS 6] Prefix ::= NCName</P
4236><P
4237>[NS 7] LocalPart ::= NCName</P
4238><P
4239></P
4240><DIV
4241CLASS="INFORMALTABLE"
4242><P
4243></P
4244><TABLE
4245BORDER="0"
4246WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004247BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004248CELLSPACING="0"
4249CELLPADDING="4"
4250CLASS="CALSTABLE"
4251><TR
4252><TD
4253WIDTH="20%"
4254ALIGN="RIGHT"
4255VALIGN="TOP"
4256><TT
4257CLASS="PARAMETER"
4258><I
4259>ctxt</I
4260></TT
4261>&nbsp;:</TD
4262><TD
4263WIDTH="80%"
4264ALIGN="LEFT"
4265VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004266> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004267></TR
4268><TR
4269><TD
4270WIDTH="20%"
4271ALIGN="RIGHT"
4272VALIGN="TOP"
4273><TT
4274CLASS="PARAMETER"
4275><I
4276>prefix</I
4277></TT
4278>&nbsp;:</TD
4279><TD
4280WIDTH="80%"
4281ALIGN="LEFT"
4282VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004283> a xmlChar ** </TD
Daniel Veillard35925471999-02-25 08:46:07 +00004284></TR
4285><TR
4286><TD
4287WIDTH="20%"
4288ALIGN="RIGHT"
4289VALIGN="TOP"
4290><I
4291CLASS="EMPHASIS"
4292>Returns</I
4293> :</TD
4294><TD
4295WIDTH="80%"
4296ALIGN="LEFT"
4297VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004298>the local part, and prefix is updated
4299to get the Prefix if any.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004300></TR
4301></TABLE
4302><P
4303></P
4304></DIV
4305></DIV
4306><HR><DIV
4307CLASS="REFSECT2"
4308><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00004309NAME="AEN16657"
Daniel Veillard35925471999-02-25 08:46:07 +00004310></A
4311><H3
4312><A
4313NAME="XMLNAMESPACEPARSENSDEF"
4314></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004315>xmlNamespaceParseNSDef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004316><TABLE
4317BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004318BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004319WIDTH="100%"
4320CELLPADDING="6"
4321><TR
4322><TD
4323><PRE
4324CLASS="PROGRAMLISTING"
4325><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004326HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004327>xmlChar</A
4328>* xmlNamespaceParseNSDef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004329HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004330>xmlParserCtxtPtr</A
4331> ctxt);</PRE
4332></TD
4333></TR
4334></TABLE
4335><P
4336>parse a namespace prefix declaration</P
4337><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004338>TODO: this seems not in use anymore, the namespace handling is done on
4339top of the SAX interfaces, i.e. not on raw input.</P
4340><P
Daniel Veillard35925471999-02-25 08:46:07 +00004341>[NS 1] NSDef ::= PrefixDef Eq SystemLiteral</P
4342><P
4343>[NS 2] PrefixDef ::= 'xmlns' (':' NCName)?</P
4344><P
4345></P
4346><DIV
4347CLASS="INFORMALTABLE"
4348><P
4349></P
4350><TABLE
4351BORDER="0"
4352WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004353BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004354CELLSPACING="0"
4355CELLPADDING="4"
4356CLASS="CALSTABLE"
4357><TR
4358><TD
4359WIDTH="20%"
4360ALIGN="RIGHT"
4361VALIGN="TOP"
4362><TT
4363CLASS="PARAMETER"
4364><I
4365>ctxt</I
4366></TT
4367>&nbsp;:</TD
4368><TD
4369WIDTH="80%"
4370ALIGN="LEFT"
4371VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004372> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004373></TR
4374><TR
4375><TD
4376WIDTH="20%"
4377ALIGN="RIGHT"
4378VALIGN="TOP"
4379><I
4380CLASS="EMPHASIS"
4381>Returns</I
4382> :</TD
4383><TD
4384WIDTH="80%"
4385ALIGN="LEFT"
4386VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004387>the namespace name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004388></TR
4389></TABLE
4390><P
4391></P
4392></DIV
4393></DIV
4394><HR><DIV
4395CLASS="REFSECT2"
4396><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00004397NAME="AEN16681"
Daniel Veillard35925471999-02-25 08:46:07 +00004398></A
4399><H3
4400><A
4401NAME="XMLPARSEQUOTEDSTRING"
4402></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004403>xmlParseQuotedString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004404><TABLE
4405BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004406BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004407WIDTH="100%"
4408CELLPADDING="6"
4409><TR
4410><TD
4411><PRE
4412CLASS="PROGRAMLISTING"
4413><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004414HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004415>xmlChar</A
4416>* xmlParseQuotedString (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004417HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004418>xmlParserCtxtPtr</A
4419> ctxt);</PRE
4420></TD
4421></TR
4422></TABLE
4423><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004424>Parse and return a string between quotes or doublequotes</P
4425><P
4426>TODO: Deprecated, to be removed at next drop of binary compatibility</P
Daniel Veillard35925471999-02-25 08:46:07 +00004427><P
4428></P
4429><DIV
4430CLASS="INFORMALTABLE"
4431><P
4432></P
4433><TABLE
4434BORDER="0"
4435WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004436BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004437CELLSPACING="0"
4438CELLPADDING="4"
4439CLASS="CALSTABLE"
4440><TR
4441><TD
4442WIDTH="20%"
4443ALIGN="RIGHT"
4444VALIGN="TOP"
4445><TT
4446CLASS="PARAMETER"
4447><I
4448>ctxt</I
4449></TT
4450>&nbsp;:</TD
4451><TD
4452WIDTH="80%"
4453ALIGN="LEFT"
4454VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004455> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004456></TR
4457><TR
4458><TD
4459WIDTH="20%"
4460ALIGN="RIGHT"
4461VALIGN="TOP"
4462><I
4463CLASS="EMPHASIS"
4464>Returns</I
4465> :</TD
4466><TD
4467WIDTH="80%"
4468ALIGN="LEFT"
4469VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004470>the string parser or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004471></TR
4472></TABLE
4473><P
4474></P
4475></DIV
4476></DIV
4477><HR><DIV
4478CLASS="REFSECT2"
4479><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00004480NAME="AEN16703"
Daniel Veillard35925471999-02-25 08:46:07 +00004481></A
4482><H3
4483><A
4484NAME="XMLPARSENAMESPACE"
4485></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004486>xmlParseNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004487><TABLE
4488BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004489BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004490WIDTH="100%"
4491CELLPADDING="6"
4492><TR
4493><TD
4494><PRE
4495CLASS="PROGRAMLISTING"
4496>void xmlParseNamespace (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004497HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004498>xmlParserCtxtPtr</A
4499> ctxt);</PRE
4500></TD
4501></TR
4502></TABLE
4503><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004504>xmlParseNamespace: parse specific PI '&lt;?namespace ...' constructs.</P
Daniel Veillard35925471999-02-25 08:46:07 +00004505><P
4506>This is what the older xml-name Working Draft specified, a bunch of
4507other stuff may still rely on it, so support is still here as
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004508if it was declared on the root of the Tree:-(</P
Daniel Veillard35925471999-02-25 08:46:07 +00004509><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004510>TODO: remove from library</P
4511><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004512>To be removed at next drop of binary compatibility</P
4513><P
Daniel Veillard35925471999-02-25 08:46:07 +00004514></P
4515><DIV
4516CLASS="INFORMALTABLE"
4517><P
4518></P
4519><TABLE
4520BORDER="0"
4521WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004522BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004523CELLSPACING="0"
4524CELLPADDING="4"
4525CLASS="CALSTABLE"
4526><TR
4527><TD
4528WIDTH="20%"
4529ALIGN="RIGHT"
4530VALIGN="TOP"
4531><TT
4532CLASS="PARAMETER"
4533><I
4534>ctxt</I
4535></TT
4536>&nbsp;:</TD
4537><TD
4538WIDTH="80%"
4539ALIGN="LEFT"
4540VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004541> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004542></TR
4543></TABLE
4544><P
4545></P
4546></DIV
4547></DIV
4548><HR><DIV
4549CLASS="REFSECT2"
4550><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00004551NAME="AEN16722"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004552></A
4553><H3
4554><A
4555NAME="XMLSCANNAME"
4556></A
4557>xmlScanName ()</H3
4558><TABLE
4559BORDER="0"
4560BGCOLOR="#D6E8FF"
4561WIDTH="100%"
4562CELLPADDING="6"
4563><TR
4564><TD
4565><PRE
4566CLASS="PROGRAMLISTING"
4567><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004568HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004569>xmlChar</A
4570>* xmlScanName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004571HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004572>xmlParserCtxtPtr</A
4573> ctxt);</PRE
4574></TD
4575></TR
4576></TABLE
4577><P
4578>Trickery: parse an XML name but without consuming the input flow
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004579Needed for rollback cases. Used only when parsing entities references.</P
4580><P
4581>TODO: seems deprecated now, only used in the default part of
4582xmlParserHandleReference</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004583><P
4584>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
4585CombiningChar | Extender</P
4586><P
4587>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
4588><P
4589>[6] Names ::= Name (S Name)*</P
4590><P
4591></P
4592><DIV
4593CLASS="INFORMALTABLE"
4594><P
4595></P
4596><TABLE
4597BORDER="0"
4598WIDTH="100%"
4599BGCOLOR="#FFD0D0"
4600CELLSPACING="0"
4601CELLPADDING="4"
4602CLASS="CALSTABLE"
4603><TR
4604><TD
4605WIDTH="20%"
4606ALIGN="RIGHT"
4607VALIGN="TOP"
4608><TT
4609CLASS="PARAMETER"
4610><I
4611>ctxt</I
4612></TT
4613>&nbsp;:</TD
4614><TD
4615WIDTH="80%"
4616ALIGN="LEFT"
4617VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004618> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004619></TR
4620><TR
4621><TD
4622WIDTH="20%"
4623ALIGN="RIGHT"
4624VALIGN="TOP"
4625><I
4626CLASS="EMPHASIS"
4627>Returns</I
4628> :</TD
4629><TD
4630WIDTH="80%"
4631ALIGN="LEFT"
4632VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004633>the Name parsed or NULL</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004634></TR
4635></TABLE
4636><P
4637></P
4638></DIV
4639></DIV
4640><HR><DIV
4641CLASS="REFSECT2"
4642><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00004643NAME="AEN16747"
Daniel Veillard35925471999-02-25 08:46:07 +00004644></A
4645><H3
4646><A
4647NAME="XMLPARSENAME"
4648></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004649>xmlParseName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004650><TABLE
4651BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004652BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004653WIDTH="100%"
4654CELLPADDING="6"
4655><TR
4656><TD
4657><PRE
4658CLASS="PROGRAMLISTING"
4659><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004660HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004661>xmlChar</A
4662>* xmlParseName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004663HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004664>xmlParserCtxtPtr</A
4665> ctxt);</PRE
4666></TD
4667></TR
4668></TABLE
4669><P
4670>parse an XML name.</P
4671><P
4672>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
4673CombiningChar | Extender</P
4674><P
4675>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
4676><P
4677>[6] Names ::= Name (S Name)*</P
4678><P
4679></P
4680><DIV
4681CLASS="INFORMALTABLE"
4682><P
4683></P
4684><TABLE
4685BORDER="0"
4686WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004687BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004688CELLSPACING="0"
4689CELLPADDING="4"
4690CLASS="CALSTABLE"
4691><TR
4692><TD
4693WIDTH="20%"
4694ALIGN="RIGHT"
4695VALIGN="TOP"
4696><TT
4697CLASS="PARAMETER"
4698><I
4699>ctxt</I
4700></TT
4701>&nbsp;:</TD
4702><TD
4703WIDTH="80%"
4704ALIGN="LEFT"
4705VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004706> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004707></TR
4708><TR
4709><TD
4710WIDTH="20%"
4711ALIGN="RIGHT"
4712VALIGN="TOP"
4713><I
4714CLASS="EMPHASIS"
4715>Returns</I
4716> :</TD
4717><TD
4718WIDTH="80%"
4719ALIGN="LEFT"
4720VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004721>the Name parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004722></TR
4723></TABLE
4724><P
4725></P
4726></DIV
4727></DIV
4728><HR><DIV
4729CLASS="REFSECT2"
4730><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00004731NAME="AEN16771"
Daniel Veillard35925471999-02-25 08:46:07 +00004732></A
4733><H3
4734><A
4735NAME="XMLPARSENMTOKEN"
4736></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004737>xmlParseNmtoken ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004738><TABLE
4739BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004740BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004741WIDTH="100%"
4742CELLPADDING="6"
4743><TR
4744><TD
4745><PRE
4746CLASS="PROGRAMLISTING"
4747><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004748HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004749>xmlChar</A
4750>* xmlParseNmtoken (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004751HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004752>xmlParserCtxtPtr</A
4753> ctxt);</PRE
4754></TD
4755></TR
4756></TABLE
4757><P
4758>parse an XML Nmtoken.</P
4759><P
4760>[7] Nmtoken ::= (NameChar)+</P
4761><P
4762>[8] Nmtokens ::= Nmtoken (S Nmtoken)*</P
4763><P
4764></P
4765><DIV
4766CLASS="INFORMALTABLE"
4767><P
4768></P
4769><TABLE
4770BORDER="0"
4771WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004772BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004773CELLSPACING="0"
4774CELLPADDING="4"
4775CLASS="CALSTABLE"
4776><TR
4777><TD
4778WIDTH="20%"
4779ALIGN="RIGHT"
4780VALIGN="TOP"
4781><TT
4782CLASS="PARAMETER"
4783><I
4784>ctxt</I
4785></TT
4786>&nbsp;:</TD
4787><TD
4788WIDTH="80%"
4789ALIGN="LEFT"
4790VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004791> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004792></TR
4793><TR
4794><TD
4795WIDTH="20%"
4796ALIGN="RIGHT"
4797VALIGN="TOP"
4798><I
4799CLASS="EMPHASIS"
4800>Returns</I
4801> :</TD
4802><TD
4803WIDTH="80%"
4804ALIGN="LEFT"
4805VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004806>the Nmtoken parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004807></TR
4808></TABLE
4809><P
4810></P
4811></DIV
4812></DIV
4813><HR><DIV
4814CLASS="REFSECT2"
4815><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00004816NAME="AEN16794"
Daniel Veillard35925471999-02-25 08:46:07 +00004817></A
4818><H3
4819><A
4820NAME="XMLPARSEENTITYVALUE"
4821></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004822>xmlParseEntityValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004823><TABLE
4824BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004825BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004826WIDTH="100%"
4827CELLPADDING="6"
4828><TR
4829><TD
4830><PRE
4831CLASS="PROGRAMLISTING"
4832><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004833HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004834>xmlChar</A
4835>* xmlParseEntityValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004836HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004837>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004838> ctxt,
4839 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004840HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004841>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004842> **orig);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00004843></TD
4844></TR
4845></TABLE
4846><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004847>parse a value for ENTITY declarations</P
Daniel Veillard35925471999-02-25 08:46:07 +00004848><P
4849>[9] EntityValue ::= '"' ([^%&amp;"] | PEReference | Reference)* '"' |
4850"'" ([^%&amp;'] | PEReference | Reference)* "'"</P
4851><P
4852></P
4853><DIV
4854CLASS="INFORMALTABLE"
4855><P
4856></P
4857><TABLE
4858BORDER="0"
4859WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004860BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004861CELLSPACING="0"
4862CELLPADDING="4"
4863CLASS="CALSTABLE"
4864><TR
4865><TD
4866WIDTH="20%"
4867ALIGN="RIGHT"
4868VALIGN="TOP"
4869><TT
4870CLASS="PARAMETER"
4871><I
4872>ctxt</I
4873></TT
4874>&nbsp;:</TD
4875><TD
4876WIDTH="80%"
4877ALIGN="LEFT"
4878VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004879> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004880></TR
4881><TR
4882><TD
4883WIDTH="20%"
4884ALIGN="RIGHT"
4885VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004886><TT
4887CLASS="PARAMETER"
4888><I
4889>orig</I
4890></TT
4891>&nbsp;:</TD
4892><TD
4893WIDTH="80%"
4894ALIGN="LEFT"
4895VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004896> if non-NULL store a copy of the original entity value</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00004897></TR
4898><TR
4899><TD
4900WIDTH="20%"
4901ALIGN="RIGHT"
4902VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00004903><I
4904CLASS="EMPHASIS"
4905>Returns</I
4906> :</TD
4907><TD
4908WIDTH="80%"
4909ALIGN="LEFT"
4910VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004911>the EntityValue parsed with reference substitued or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004912></TR
4913></TABLE
4914><P
4915></P
4916></DIV
4917></DIV
4918><HR><DIV
4919CLASS="REFSECT2"
4920><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00004921NAME="AEN16821"
Daniel Veillard35925471999-02-25 08:46:07 +00004922></A
4923><H3
4924><A
4925NAME="XMLPARSEATTVALUE"
4926></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004927>xmlParseAttValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004928><TABLE
4929BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004930BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004931WIDTH="100%"
4932CELLPADDING="6"
4933><TR
4934><TD
4935><PRE
4936CLASS="PROGRAMLISTING"
4937><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004938HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004939>xmlChar</A
4940>* xmlParseAttValue (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004941HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004942>xmlParserCtxtPtr</A
4943> ctxt);</PRE
4944></TD
4945></TR
4946></TABLE
4947><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00004948>parse a value for an attribute
4949Note: the parser won't do substitution of entities here, this
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004950will be handled later in xmlStringGetNodeList</P
Daniel Veillard35925471999-02-25 08:46:07 +00004951><P
4952>[10] AttValue ::= '"' ([^&lt;&amp;"] | Reference)* '"' |
4953"'" ([^&lt;&amp;'] | Reference)* "'"</P
4954><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004955>3.3.3 Attribute-Value Normalization:
4956Before the value of an attribute is passed to the application or
4957checked for validity, the XML processor must normalize it as follows:
4958- a character reference is processed by appending the referenced
4959character to the attribute value
4960- an entity reference is processed by recursively processing the
4961replacement text of the entity
4962- a whitespace character (<GTKDOCLINK
4963HREF="X20"
4964>x20</GTKDOCLINK
4965>, <GTKDOCLINK
4966HREF="XD"
4967>xD</GTKDOCLINK
4968>, <GTKDOCLINK
4969HREF="XA"
4970>xA</GTKDOCLINK
4971>, <GTKDOCLINK
4972HREF="X9"
4973>x9</GTKDOCLINK
4974>) is processed by
4975appending <GTKDOCLINK
4976HREF="X20"
4977>x20</GTKDOCLINK
4978> to the normalized value, except that only a single
4979<GTKDOCLINK
4980HREF="X20"
4981>x20</GTKDOCLINK
4982> is appended for a "<GTKDOCLINK
4983HREF="XD"
4984>xD</GTKDOCLINK
4985><GTKDOCLINK
4986HREF="XA"
4987>xA</GTKDOCLINK
4988>" sequence that is part of an external
4989parsed entity or the literal entity value of an internal parsed entity
4990- other characters are processed by appending them to the normalized value
4991If the declared value is not CDATA, then the XML processor must further
4992process the normalized attribute value by discarding any leading and
4993trailing space (<GTKDOCLINK
4994HREF="X20"
4995>x20</GTKDOCLINK
4996>) characters, and by replacing sequences of space
4997(<GTKDOCLINK
4998HREF="X20"
4999>x20</GTKDOCLINK
5000>) characters by a single space (<GTKDOCLINK
5001HREF="X20"
5002>x20</GTKDOCLINK
5003>) character.
5004All attributes for which no declaration has been read should be treated
5005by a non-validating parser as if declared CDATA.</P
5006><P
Daniel Veillard35925471999-02-25 08:46:07 +00005007></P
5008><DIV
5009CLASS="INFORMALTABLE"
5010><P
5011></P
5012><TABLE
5013BORDER="0"
5014WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005015BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005016CELLSPACING="0"
5017CELLPADDING="4"
5018CLASS="CALSTABLE"
5019><TR
5020><TD
5021WIDTH="20%"
5022ALIGN="RIGHT"
5023VALIGN="TOP"
5024><TT
5025CLASS="PARAMETER"
5026><I
5027>ctxt</I
5028></TT
5029>&nbsp;:</TD
5030><TD
5031WIDTH="80%"
5032ALIGN="LEFT"
5033VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005034> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005035></TR
5036><TR
5037><TD
5038WIDTH="20%"
5039ALIGN="RIGHT"
5040VALIGN="TOP"
5041><I
5042CLASS="EMPHASIS"
5043>Returns</I
5044> :</TD
5045><TD
5046WIDTH="80%"
5047ALIGN="LEFT"
5048VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005049>the AttValue parsed or NULL. The value has to be freed by the caller.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005050></TR
5051></TABLE
5052><P
5053></P
5054></DIV
5055></DIV
5056><HR><DIV
5057CLASS="REFSECT2"
5058><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00005059NAME="AEN16855"
Daniel Veillard35925471999-02-25 08:46:07 +00005060></A
5061><H3
5062><A
5063NAME="XMLPARSESYSTEMLITERAL"
5064></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005065>xmlParseSystemLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005066><TABLE
5067BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005068BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005069WIDTH="100%"
5070CELLPADDING="6"
5071><TR
5072><TD
5073><PRE
5074CLASS="PROGRAMLISTING"
5075><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005076HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005077>xmlChar</A
5078>* xmlParseSystemLiteral (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005079HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005080>xmlParserCtxtPtr</A
5081> ctxt);</PRE
5082></TD
5083></TR
5084></TABLE
5085><P
5086>parse an XML Literal</P
5087><P
5088>[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</P
5089><P
5090></P
5091><DIV
5092CLASS="INFORMALTABLE"
5093><P
5094></P
5095><TABLE
5096BORDER="0"
5097WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005098BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005099CELLSPACING="0"
5100CELLPADDING="4"
5101CLASS="CALSTABLE"
5102><TR
5103><TD
5104WIDTH="20%"
5105ALIGN="RIGHT"
5106VALIGN="TOP"
5107><TT
5108CLASS="PARAMETER"
5109><I
5110>ctxt</I
5111></TT
5112>&nbsp;:</TD
5113><TD
5114WIDTH="80%"
5115ALIGN="LEFT"
5116VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005117> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005118></TR
5119><TR
5120><TD
5121WIDTH="20%"
5122ALIGN="RIGHT"
5123VALIGN="TOP"
5124><I
5125CLASS="EMPHASIS"
5126>Returns</I
5127> :</TD
5128><TD
5129WIDTH="80%"
5130ALIGN="LEFT"
5131VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005132>the SystemLiteral parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005133></TR
5134></TABLE
5135><P
5136></P
5137></DIV
5138></DIV
5139><HR><DIV
5140CLASS="REFSECT2"
5141><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00005142NAME="AEN16877"
Daniel Veillard35925471999-02-25 08:46:07 +00005143></A
5144><H3
5145><A
5146NAME="XMLPARSEPUBIDLITERAL"
5147></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005148>xmlParsePubidLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005149><TABLE
5150BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005151BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005152WIDTH="100%"
5153CELLPADDING="6"
5154><TR
5155><TD
5156><PRE
5157CLASS="PROGRAMLISTING"
5158><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005159HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005160>xmlChar</A
5161>* xmlParsePubidLiteral (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005162HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005163>xmlParserCtxtPtr</A
5164> ctxt);</PRE
5165></TD
5166></TR
5167></TABLE
5168><P
5169>parse an XML public literal</P
5170><P
5171>[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</P
5172><P
5173></P
5174><DIV
5175CLASS="INFORMALTABLE"
5176><P
5177></P
5178><TABLE
5179BORDER="0"
5180WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005181BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005182CELLSPACING="0"
5183CELLPADDING="4"
5184CLASS="CALSTABLE"
5185><TR
5186><TD
5187WIDTH="20%"
5188ALIGN="RIGHT"
5189VALIGN="TOP"
5190><TT
5191CLASS="PARAMETER"
5192><I
5193>ctxt</I
5194></TT
5195>&nbsp;:</TD
5196><TD
5197WIDTH="80%"
5198ALIGN="LEFT"
5199VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005200> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005201></TR
5202><TR
5203><TD
5204WIDTH="20%"
5205ALIGN="RIGHT"
5206VALIGN="TOP"
5207><I
5208CLASS="EMPHASIS"
5209>Returns</I
5210> :</TD
5211><TD
5212WIDTH="80%"
5213ALIGN="LEFT"
5214VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005215>the PubidLiteral parsed or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005216></TR
5217></TABLE
5218><P
5219></P
5220></DIV
5221></DIV
5222><HR><DIV
5223CLASS="REFSECT2"
5224><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00005225NAME="AEN16899"
Daniel Veillard35925471999-02-25 08:46:07 +00005226></A
5227><H3
5228><A
5229NAME="XMLPARSECHARDATA"
5230></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005231>xmlParseCharData ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005232><TABLE
5233BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005234BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005235WIDTH="100%"
5236CELLPADDING="6"
5237><TR
5238><TD
5239><PRE
5240CLASS="PROGRAMLISTING"
5241>void xmlParseCharData (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005242HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005243>xmlParserCtxtPtr</A
5244> ctxt,
5245 int cdata);</PRE
5246></TD
5247></TR
5248></TABLE
5249><P
5250>parse a CharData section.
5251if we are within a CDATA section ']]&gt;' marks an end of section.</P
5252><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005253>The right angle bracket (&gt;) may be represented using the string "&amp;gt;",
5254and must, for compatibility, be escaped using "&amp;gt;" or a character
5255reference when it appears in the string "]]&gt;" in content, when that
5256string is not marking the end of a CDATA section. </P
5257><P
Daniel Veillard35925471999-02-25 08:46:07 +00005258>[14] CharData ::= [^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</P
5259><P
5260></P
5261><DIV
5262CLASS="INFORMALTABLE"
5263><P
5264></P
5265><TABLE
5266BORDER="0"
5267WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005268BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005269CELLSPACING="0"
5270CELLPADDING="4"
5271CLASS="CALSTABLE"
5272><TR
5273><TD
5274WIDTH="20%"
5275ALIGN="RIGHT"
5276VALIGN="TOP"
5277><TT
5278CLASS="PARAMETER"
5279><I
5280>ctxt</I
5281></TT
5282>&nbsp;:</TD
5283><TD
5284WIDTH="80%"
5285ALIGN="LEFT"
5286VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005287> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005288></TR
5289><TR
5290><TD
5291WIDTH="20%"
5292ALIGN="RIGHT"
5293VALIGN="TOP"
5294><TT
5295CLASS="PARAMETER"
5296><I
5297>cdata</I
5298></TT
5299>&nbsp;:</TD
5300><TD
5301WIDTH="80%"
5302ALIGN="LEFT"
5303VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005304> int indicating whether we are within a CDATA section</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005305></TR
5306></TABLE
5307><P
5308></P
5309></DIV
5310></DIV
5311><HR><DIV
5312CLASS="REFSECT2"
5313><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00005314NAME="AEN16921"
Daniel Veillard35925471999-02-25 08:46:07 +00005315></A
5316><H3
5317><A
5318NAME="XMLPARSEEXTERNALID"
5319></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005320>xmlParseExternalID ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005321><TABLE
5322BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005323BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005324WIDTH="100%"
5325CELLPADDING="6"
5326><TR
5327><TD
5328><PRE
5329CLASS="PROGRAMLISTING"
5330><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005331HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005332>xmlChar</A
5333>* xmlParseExternalID (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005334HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005335>xmlParserCtxtPtr</A
5336> ctxt,
5337 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005338HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005339>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005340> **publicID,
5341 int strict);</PRE
5342></TD
5343></TR
5344></TABLE
5345><P
5346>Parse an External ID or a Public ID</P
5347><P
5348>NOTE: Productions [75] and [83] interract badly since [75] can generate
5349'PUBLIC' S PubidLiteral S SystemLiteral</P
5350><P
5351>[75] ExternalID ::= 'SYSTEM' S SystemLiteral
5352| 'PUBLIC' S PubidLiteral S SystemLiteral</P
5353><P
5354>[83] PublicID ::= 'PUBLIC' S PubidLiteral</P
5355><P
5356></P
5357><DIV
5358CLASS="INFORMALTABLE"
5359><P
5360></P
5361><TABLE
5362BORDER="0"
5363WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005364BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005365CELLSPACING="0"
5366CELLPADDING="4"
5367CLASS="CALSTABLE"
5368><TR
5369><TD
5370WIDTH="20%"
5371ALIGN="RIGHT"
5372VALIGN="TOP"
5373><TT
5374CLASS="PARAMETER"
5375><I
5376>ctxt</I
5377></TT
5378>&nbsp;:</TD
5379><TD
5380WIDTH="80%"
5381ALIGN="LEFT"
5382VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005383> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005384></TR
5385><TR
5386><TD
5387WIDTH="20%"
5388ALIGN="RIGHT"
5389VALIGN="TOP"
5390><TT
5391CLASS="PARAMETER"
5392><I
5393>publicID</I
5394></TT
5395>&nbsp;:</TD
5396><TD
5397WIDTH="80%"
5398ALIGN="LEFT"
5399VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005400> a xmlChar** receiving PubidLiteral</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005401></TR
5402><TR
5403><TD
5404WIDTH="20%"
5405ALIGN="RIGHT"
5406VALIGN="TOP"
5407><TT
5408CLASS="PARAMETER"
5409><I
5410>strict</I
5411></TT
5412>&nbsp;:</TD
5413><TD
5414WIDTH="80%"
5415ALIGN="LEFT"
5416VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005417> indicate whether we should restrict parsing to only
5418production [75], see NOTE below</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005419></TR
5420><TR
5421><TD
5422WIDTH="20%"
5423ALIGN="RIGHT"
5424VALIGN="TOP"
5425><I
5426CLASS="EMPHASIS"
5427>Returns</I
5428> :</TD
5429><TD
5430WIDTH="80%"
5431ALIGN="LEFT"
5432VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005433>the function returns SystemLiteral and in the second
5434case publicID receives PubidLiteral, is strict is off
5435it is possible to return NULL and have publicID set.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005436></TR
5437></TABLE
5438><P
5439></P
5440></DIV
5441></DIV
5442><HR><DIV
5443CLASS="REFSECT2"
5444><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00005445NAME="AEN16954"
Daniel Veillard35925471999-02-25 08:46:07 +00005446></A
5447><H3
5448><A
5449NAME="XMLPARSECOMMENT"
5450></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005451>xmlParseComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005452><TABLE
5453BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005454BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005455WIDTH="100%"
5456CELLPADDING="6"
5457><TR
5458><TD
5459><PRE
5460CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00005461>void xmlParseComment (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005462HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005463>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005464> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00005465></TD
5466></TR
5467></TABLE
5468><P
5469>Skip an XML (SGML) comment &lt;!-- .... --&gt;
Daniel Veillard35925471999-02-25 08:46:07 +00005470The spec says that "For compatibility, the string "--" (double-hyphen)
5471must not occur within comments. "</P
5472><P
5473>[15] Comment ::= '&lt;!--' ((Char - '-') | ('-' (Char - '-')))* '--&gt;'</P
5474><P
Daniel Veillard35925471999-02-25 08:46:07 +00005475></P
5476><DIV
5477CLASS="INFORMALTABLE"
5478><P
5479></P
5480><TABLE
5481BORDER="0"
5482WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005483BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005484CELLSPACING="0"
5485CELLPADDING="4"
5486CLASS="CALSTABLE"
5487><TR
5488><TD
5489WIDTH="20%"
5490ALIGN="RIGHT"
5491VALIGN="TOP"
5492><TT
5493CLASS="PARAMETER"
5494><I
5495>ctxt</I
5496></TT
5497>&nbsp;:</TD
5498><TD
5499WIDTH="80%"
5500ALIGN="LEFT"
5501VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005502> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005503></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005504></TABLE
5505><P
5506></P
5507></DIV
5508></DIV
5509><HR><DIV
5510CLASS="REFSECT2"
5511><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00005512NAME="AEN16971"
Daniel Veillard35925471999-02-25 08:46:07 +00005513></A
5514><H3
5515><A
5516NAME="XMLPARSEPITARGET"
5517></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005518>xmlParsePITarget ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005519><TABLE
5520BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005521BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005522WIDTH="100%"
5523CELLPADDING="6"
5524><TR
5525><TD
5526><PRE
5527CLASS="PROGRAMLISTING"
5528><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005529HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005530>xmlChar</A
5531>* xmlParsePITarget (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005532HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005533>xmlParserCtxtPtr</A
5534> ctxt);</PRE
5535></TD
5536></TR
5537></TABLE
5538><P
5539>parse the name of a PI</P
5540><P
5541>[17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</P
5542><P
5543></P
5544><DIV
5545CLASS="INFORMALTABLE"
5546><P
5547></P
5548><TABLE
5549BORDER="0"
5550WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005551BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005552CELLSPACING="0"
5553CELLPADDING="4"
5554CLASS="CALSTABLE"
5555><TR
5556><TD
5557WIDTH="20%"
5558ALIGN="RIGHT"
5559VALIGN="TOP"
5560><TT
5561CLASS="PARAMETER"
5562><I
5563>ctxt</I
5564></TT
5565>&nbsp;:</TD
5566><TD
5567WIDTH="80%"
5568ALIGN="LEFT"
5569VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005570> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005571></TR
5572><TR
5573><TD
5574WIDTH="20%"
5575ALIGN="RIGHT"
5576VALIGN="TOP"
5577><I
5578CLASS="EMPHASIS"
5579>Returns</I
5580> :</TD
5581><TD
5582WIDTH="80%"
5583ALIGN="LEFT"
5584VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005585>the PITarget name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005586></TR
5587></TABLE
5588><P
5589></P
5590></DIV
5591></DIV
5592><HR><DIV
5593CLASS="REFSECT2"
5594><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00005595NAME="AEN16993"
Daniel Veillard35925471999-02-25 08:46:07 +00005596></A
5597><H3
5598><A
5599NAME="XMLPARSEPI"
5600></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005601>xmlParsePI ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005602><TABLE
5603BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005604BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005605WIDTH="100%"
5606CELLPADDING="6"
5607><TR
5608><TD
5609><PRE
5610CLASS="PROGRAMLISTING"
5611>void xmlParsePI (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005612HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005613>xmlParserCtxtPtr</A
5614> ctxt);</PRE
5615></TD
5616></TR
5617></TABLE
5618><P
5619>parse an XML Processing Instruction.</P
5620><P
5621>[16] PI ::= '&lt;?' PITarget (S (Char* - (Char* '?&gt;' Char*)))? '?&gt;'</P
5622><P
5623>The processing is transfered to SAX once parsed.</P
5624><P
5625></P
5626><DIV
5627CLASS="INFORMALTABLE"
5628><P
5629></P
5630><TABLE
5631BORDER="0"
5632WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005633BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005634CELLSPACING="0"
5635CELLPADDING="4"
5636CLASS="CALSTABLE"
5637><TR
5638><TD
5639WIDTH="20%"
5640ALIGN="RIGHT"
5641VALIGN="TOP"
5642><TT
5643CLASS="PARAMETER"
5644><I
5645>ctxt</I
5646></TT
5647>&nbsp;:</TD
5648><TD
5649WIDTH="80%"
5650ALIGN="LEFT"
5651VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005652> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005653></TR
5654></TABLE
5655><P
5656></P
5657></DIV
5658></DIV
5659><HR><DIV
5660CLASS="REFSECT2"
5661><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00005662NAME="AEN17011"
Daniel Veillard35925471999-02-25 08:46:07 +00005663></A
5664><H3
5665><A
5666NAME="XMLPARSENOTATIONDECL"
5667></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005668>xmlParseNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005669><TABLE
5670BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005671BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005672WIDTH="100%"
5673CELLPADDING="6"
5674><TR
5675><TD
5676><PRE
5677CLASS="PROGRAMLISTING"
5678>void xmlParseNotationDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005679HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005680>xmlParserCtxtPtr</A
5681> ctxt);</PRE
5682></TD
5683></TR
5684></TABLE
5685><P
5686>parse a notation declaration</P
5687><P
5688>[82] NotationDecl ::= '&lt;!NOTATION' S Name S (ExternalID | PublicID) S? '&gt;'</P
5689><P
5690>Hence there is actually 3 choices:
5691'PUBLIC' S PubidLiteral
5692'PUBLIC' S PubidLiteral S SystemLiteral
5693and 'SYSTEM' S SystemLiteral</P
5694><P
5695>See the NOTE on <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005696HREF="libxml-parserinternals.html#XMLPARSEEXTERNALID"
Daniel Veillard35925471999-02-25 08:46:07 +00005697>xmlParseExternalID</A
5698>().</P
5699><P
5700></P
5701><DIV
5702CLASS="INFORMALTABLE"
5703><P
5704></P
5705><TABLE
5706BORDER="0"
5707WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005708BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005709CELLSPACING="0"
5710CELLPADDING="4"
5711CLASS="CALSTABLE"
5712><TR
5713><TD
5714WIDTH="20%"
5715ALIGN="RIGHT"
5716VALIGN="TOP"
5717><TT
5718CLASS="PARAMETER"
5719><I
5720>ctxt</I
5721></TT
5722>&nbsp;:</TD
5723><TD
5724WIDTH="80%"
5725ALIGN="LEFT"
5726VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005727> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005728></TR
5729></TABLE
5730><P
5731></P
5732></DIV
5733></DIV
5734><HR><DIV
5735CLASS="REFSECT2"
5736><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00005737NAME="AEN17031"
Daniel Veillard35925471999-02-25 08:46:07 +00005738></A
5739><H3
5740><A
5741NAME="XMLPARSEENTITYDECL"
5742></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005743>xmlParseEntityDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005744><TABLE
5745BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005746BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005747WIDTH="100%"
5748CELLPADDING="6"
5749><TR
5750><TD
5751><PRE
5752CLASS="PROGRAMLISTING"
5753>void xmlParseEntityDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005754HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005755>xmlParserCtxtPtr</A
5756> ctxt);</PRE
5757></TD
5758></TR
5759></TABLE
5760><P
5761>parse &lt;!ENTITY declarations</P
5762><P
5763>[70] EntityDecl ::= GEDecl | PEDecl</P
5764><P
5765>[71] GEDecl ::= '&lt;!ENTITY' S Name S EntityDef S? '&gt;'</P
5766><P
5767>[72] PEDecl ::= '&lt;!ENTITY' S '%' S Name S PEDef S? '&gt;'</P
5768><P
5769>[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)</P
5770><P
5771>[74] PEDef ::= EntityValue | ExternalID</P
5772><P
5773>[76] NDataDecl ::= S 'NDATA' S Name</P
5774><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005775>[ VC: Notation Declared ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005776The Name must match the declared name of a notation.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005777><P
Daniel Veillard35925471999-02-25 08:46:07 +00005778></P
5779><DIV
5780CLASS="INFORMALTABLE"
5781><P
5782></P
5783><TABLE
5784BORDER="0"
5785WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005786BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005787CELLSPACING="0"
5788CELLPADDING="4"
5789CLASS="CALSTABLE"
5790><TR
5791><TD
5792WIDTH="20%"
5793ALIGN="RIGHT"
5794VALIGN="TOP"
5795><TT
5796CLASS="PARAMETER"
5797><I
5798>ctxt</I
5799></TT
5800>&nbsp;:</TD
5801><TD
5802WIDTH="80%"
5803ALIGN="LEFT"
5804VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005805> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005806></TR
5807></TABLE
5808><P
5809></P
5810></DIV
5811></DIV
5812><HR><DIV
5813CLASS="REFSECT2"
5814><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00005815NAME="AEN17054"
Daniel Veillard35925471999-02-25 08:46:07 +00005816></A
5817><H3
5818><A
5819NAME="XMLPARSEDEFAULTDECL"
5820></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005821>xmlParseDefaultDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005822><TABLE
5823BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005824BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005825WIDTH="100%"
5826CELLPADDING="6"
5827><TR
5828><TD
5829><PRE
5830CLASS="PROGRAMLISTING"
5831>int xmlParseDefaultDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005832HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005833>xmlParserCtxtPtr</A
5834> ctxt,
5835 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005836HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005837>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005838> **value);</PRE
5839></TD
5840></TR
5841></TABLE
5842><P
5843>Parse an attribute default declaration</P
5844><P
5845>[60] DefaultDecl ::= '<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00005846HREF="REQUIRED-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00005847>REQUIRED</GTKDOCLINK
5848>' | '<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00005849HREF="IMPLIED-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00005850>IMPLIED</GTKDOCLINK
5851>' | (('<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00005852HREF="FIXED-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00005853>FIXED</GTKDOCLINK
5854>' S)? AttValue)</P
5855><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005856>[ VC: Required Attribute ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005857if the default declaration is the keyword <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00005858HREF="REQUIRED-CAPS"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005859>REQUIRED</GTKDOCLINK
5860>, then the
5861attribute must be specified for all elements of the type in the
5862attribute-list declaration.</P
5863><P
5864>[ VC: Attribute Default Legal ]
5865The declared default value must meet the lexical constraints of
5866the declared attribute type c.f. <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005867HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005868>xmlValidateAttributeDecl</A
5869>()</P
5870><P
5871>[ VC: Fixed Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005872if an attribute has a default value declared with the <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00005873HREF="FIXED-CAPS"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005874>FIXED</GTKDOCLINK
5875>
5876keyword, instances of that attribute must match the default value. </P
5877><P
5878>[ WFC: No &lt; in Attribute Values ]
5879handled in <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005880HREF="libxml-parserinternals.html#XMLPARSEATTVALUE"
Daniel Veillardb05deb71999-08-10 19:04:08 +00005881>xmlParseAttValue</A
5882>()</P
5883><P
Daniel Veillard35925471999-02-25 08:46:07 +00005884></P
5885><DIV
5886CLASS="INFORMALTABLE"
5887><P
5888></P
5889><TABLE
5890BORDER="0"
5891WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005892BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005893CELLSPACING="0"
5894CELLPADDING="4"
5895CLASS="CALSTABLE"
5896><TR
5897><TD
5898WIDTH="20%"
5899ALIGN="RIGHT"
5900VALIGN="TOP"
5901><TT
5902CLASS="PARAMETER"
5903><I
5904>ctxt</I
5905></TT
5906>&nbsp;:</TD
5907><TD
5908WIDTH="80%"
5909ALIGN="LEFT"
5910VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005911> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005912></TR
5913><TR
5914><TD
5915WIDTH="20%"
5916ALIGN="RIGHT"
5917VALIGN="TOP"
5918><TT
5919CLASS="PARAMETER"
5920><I
5921>value</I
5922></TT
5923>&nbsp;:</TD
5924><TD
5925WIDTH="80%"
5926ALIGN="LEFT"
5927VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005928> Receive a possible fixed default value for the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005929></TR
5930><TR
5931><TD
5932WIDTH="20%"
5933ALIGN="RIGHT"
5934VALIGN="TOP"
5935><I
5936CLASS="EMPHASIS"
5937>Returns</I
5938> :</TD
5939><TD
5940WIDTH="80%"
5941ALIGN="LEFT"
5942VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005943> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED
5944or XML_ATTRIBUTE_FIXED. </TD
Daniel Veillard35925471999-02-25 08:46:07 +00005945></TR
5946></TABLE
5947><P
5948></P
5949></DIV
5950></DIV
5951><HR><DIV
5952CLASS="REFSECT2"
5953><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00005954NAME="AEN17091"
Daniel Veillard35925471999-02-25 08:46:07 +00005955></A
5956><H3
5957><A
5958NAME="XMLPARSENOTATIONTYPE"
5959></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005960>xmlParseNotationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005961><TABLE
5962BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005963BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005964WIDTH="100%"
5965CELLPADDING="6"
5966><TR
5967><TD
5968><PRE
5969CLASS="PROGRAMLISTING"
5970><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005971HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005972>xmlEnumerationPtr</A
5973> xmlParseNotationType (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005974HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005975>xmlParserCtxtPtr</A
5976> ctxt);</PRE
5977></TD
5978></TR
5979></TABLE
5980><P
5981>parse an Notation attribute type.</P
5982><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005983>Note: the leading 'NOTATION' S part has already being parsed...</P
5984><P
Daniel Veillard35925471999-02-25 08:46:07 +00005985>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
5986><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005987>[ VC: Notation Attributes ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005988Values of this type must match one of the notation names included
Daniel Veillardb05deb71999-08-10 19:04:08 +00005989in the declaration; all notation names in the declaration must be declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005990><P
5991></P
5992><DIV
5993CLASS="INFORMALTABLE"
5994><P
5995></P
5996><TABLE
5997BORDER="0"
5998WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005999BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006000CELLSPACING="0"
6001CELLPADDING="4"
6002CLASS="CALSTABLE"
6003><TR
6004><TD
6005WIDTH="20%"
6006ALIGN="RIGHT"
6007VALIGN="TOP"
6008><TT
6009CLASS="PARAMETER"
6010><I
6011>ctxt</I
6012></TT
6013>&nbsp;:</TD
6014><TD
6015WIDTH="80%"
6016ALIGN="LEFT"
6017VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006018> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006019></TR
6020><TR
6021><TD
6022WIDTH="20%"
6023ALIGN="RIGHT"
6024VALIGN="TOP"
6025><I
6026CLASS="EMPHASIS"
6027>Returns</I
6028> :</TD
6029><TD
6030WIDTH="80%"
6031ALIGN="LEFT"
6032VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006033> the notation attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006034></TR
6035></TABLE
6036><P
6037></P
6038></DIV
6039></DIV
6040><HR><DIV
6041CLASS="REFSECT2"
6042><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00006043NAME="AEN17115"
Daniel Veillard35925471999-02-25 08:46:07 +00006044></A
6045><H3
6046><A
6047NAME="XMLPARSEENUMERATIONTYPE"
6048></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006049>xmlParseEnumerationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006050><TABLE
6051BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006052BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006053WIDTH="100%"
6054CELLPADDING="6"
6055><TR
6056><TD
6057><PRE
6058CLASS="PROGRAMLISTING"
6059><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006060HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006061>xmlEnumerationPtr</A
6062> xmlParseEnumerationType (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006063HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006064>xmlParserCtxtPtr</A
6065> ctxt);</PRE
6066></TD
6067></TR
6068></TABLE
6069><P
6070>parse an Enumeration attribute type.</P
6071><P
6072>[59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')'</P
6073><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006074>[ VC: Enumeration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006075Values of this type must match one of the Nmtoken tokens in
Daniel Veillardb05deb71999-08-10 19:04:08 +00006076the declaration</P
6077><P
Daniel Veillard35925471999-02-25 08:46:07 +00006078></P
6079><DIV
6080CLASS="INFORMALTABLE"
6081><P
6082></P
6083><TABLE
6084BORDER="0"
6085WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006086BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006087CELLSPACING="0"
6088CELLPADDING="4"
6089CLASS="CALSTABLE"
6090><TR
6091><TD
6092WIDTH="20%"
6093ALIGN="RIGHT"
6094VALIGN="TOP"
6095><TT
6096CLASS="PARAMETER"
6097><I
6098>ctxt</I
6099></TT
6100>&nbsp;:</TD
6101><TD
6102WIDTH="80%"
6103ALIGN="LEFT"
6104VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006105> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006106></TR
6107><TR
6108><TD
6109WIDTH="20%"
6110ALIGN="RIGHT"
6111VALIGN="TOP"
6112><I
6113CLASS="EMPHASIS"
6114>Returns</I
6115> :</TD
6116><TD
6117WIDTH="80%"
6118ALIGN="LEFT"
6119VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006120> the enumeration attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006121></TR
6122></TABLE
6123><P
6124></P
6125></DIV
6126></DIV
6127><HR><DIV
6128CLASS="REFSECT2"
6129><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00006130NAME="AEN17138"
Daniel Veillard35925471999-02-25 08:46:07 +00006131></A
6132><H3
6133><A
6134NAME="XMLPARSEENUMERATEDTYPE"
6135></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006136>xmlParseEnumeratedType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006137><TABLE
6138BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006139BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006140WIDTH="100%"
6141CELLPADDING="6"
6142><TR
6143><TD
6144><PRE
6145CLASS="PROGRAMLISTING"
6146>int xmlParseEnumeratedType (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006147HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006148>xmlParserCtxtPtr</A
6149> ctxt,
6150 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006151HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006152>xmlEnumerationPtr</A
6153> *tree);</PRE
6154></TD
6155></TR
6156></TABLE
6157><P
6158>parse an Enumerated attribute type.</P
6159><P
6160>[57] EnumeratedType ::= NotationType | Enumeration</P
6161><P
6162>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
6163><P
6164></P
6165><DIV
6166CLASS="INFORMALTABLE"
6167><P
6168></P
6169><TABLE
6170BORDER="0"
6171WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006172BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006173CELLSPACING="0"
6174CELLPADDING="4"
6175CLASS="CALSTABLE"
6176><TR
6177><TD
6178WIDTH="20%"
6179ALIGN="RIGHT"
6180VALIGN="TOP"
6181><TT
6182CLASS="PARAMETER"
6183><I
6184>ctxt</I
6185></TT
6186>&nbsp;:</TD
6187><TD
6188WIDTH="80%"
6189ALIGN="LEFT"
6190VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006191> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006192></TR
6193><TR
6194><TD
6195WIDTH="20%"
6196ALIGN="RIGHT"
6197VALIGN="TOP"
6198><TT
6199CLASS="PARAMETER"
6200><I
6201>tree</I
6202></TT
6203>&nbsp;:</TD
6204><TD
6205WIDTH="80%"
6206ALIGN="LEFT"
6207VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006208> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006209></TR
6210><TR
6211><TD
6212WIDTH="20%"
6213ALIGN="RIGHT"
6214VALIGN="TOP"
6215><I
6216CLASS="EMPHASIS"
6217>Returns</I
6218> :</TD
6219><TD
6220WIDTH="80%"
6221ALIGN="LEFT"
6222VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006223> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006224></TR
6225></TABLE
6226><P
6227></P
6228></DIV
6229></DIV
6230><HR><DIV
6231CLASS="REFSECT2"
6232><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00006233NAME="AEN17165"
Daniel Veillard35925471999-02-25 08:46:07 +00006234></A
6235><H3
6236><A
6237NAME="XMLPARSEATTRIBUTETYPE"
6238></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006239>xmlParseAttributeType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006240><TABLE
6241BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006242BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006243WIDTH="100%"
6244CELLPADDING="6"
6245><TR
6246><TD
6247><PRE
6248CLASS="PROGRAMLISTING"
6249>int xmlParseAttributeType (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006250HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006251>xmlParserCtxtPtr</A
6252> ctxt,
6253 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006254HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006255>xmlEnumerationPtr</A
6256> *tree);</PRE
6257></TD
6258></TR
6259></TABLE
6260><P
6261>parse the Attribute list def for an element</P
6262><P
6263>[54] AttType ::= StringType | TokenizedType | EnumeratedType</P
6264><P
6265>[55] StringType ::= 'CDATA'</P
6266><P
6267>[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' |
6268'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'</P
6269><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006270>Validity constraints for attribute values syntax are checked in
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006271<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006272HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006273>xmlValidateAttributeValue</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006274>()</P
6275><P
6276>[ VC: ID ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006277Values of type ID must match the Name production. A name must not
Daniel Veillardb05deb71999-08-10 19:04:08 +00006278appear more than once in an XML document as a value of this type;
6279i.e., ID values must uniquely identify the elements which bear them.</P
6280><P
6281>[ VC: One ID per Element Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006282No element type may have more than one ID attribute specified.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006283><P
6284>[ VC: ID Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006285An ID attribute must have a declared default of <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006286HREF="IMPLIED-CAPS"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006287>IMPLIED</GTKDOCLINK
6288> or <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006289HREF="REQUIRED-CAPS"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006290>REQUIRED</GTKDOCLINK
6291>.</P
6292><P
6293>[ VC: IDREF ]
6294Values of type IDREF must match the Name production, and values
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006295of type IDREFS must match Names; each IDREF Name must match the value
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006296of an ID attribute on some element in the XML document; i.e. IDREF
Daniel Veillardb05deb71999-08-10 19:04:08 +00006297values must match the value of some ID attribute.</P
6298><P
6299>[ VC: Entity Name ]
6300Values of type ENTITY must match the Name production, values
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006301of type ENTITIES must match Names; each Entity Name must match the
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006302name of an unparsed entity declared in the DTD. </P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006303><P
6304>[ VC: Name Token ]
6305Values of type NMTOKEN must match the Nmtoken production; values
6306of type NMTOKENS must match Nmtokens.</P
6307><P
Daniel Veillard35925471999-02-25 08:46:07 +00006308></P
6309><DIV
6310CLASS="INFORMALTABLE"
6311><P
6312></P
6313><TABLE
6314BORDER="0"
6315WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006316BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006317CELLSPACING="0"
6318CELLPADDING="4"
6319CLASS="CALSTABLE"
6320><TR
6321><TD
6322WIDTH="20%"
6323ALIGN="RIGHT"
6324VALIGN="TOP"
6325><TT
6326CLASS="PARAMETER"
6327><I
6328>ctxt</I
6329></TT
6330>&nbsp;:</TD
6331><TD
6332WIDTH="80%"
6333ALIGN="LEFT"
6334VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006335> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006336></TR
6337><TR
6338><TD
6339WIDTH="20%"
6340ALIGN="RIGHT"
6341VALIGN="TOP"
6342><TT
6343CLASS="PARAMETER"
6344><I
6345>tree</I
6346></TT
6347>&nbsp;:</TD
6348><TD
6349WIDTH="80%"
6350ALIGN="LEFT"
6351VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006352> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006353></TR
6354><TR
6355><TD
6356WIDTH="20%"
6357ALIGN="RIGHT"
6358VALIGN="TOP"
6359><I
6360CLASS="EMPHASIS"
6361>Returns</I
6362> :</TD
6363><TD
6364WIDTH="80%"
6365ALIGN="LEFT"
6366VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006367>the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006368></TR
6369></TABLE
6370><P
6371></P
6372></DIV
6373></DIV
6374><HR><DIV
6375CLASS="REFSECT2"
6376><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00006377NAME="AEN17203"
Daniel Veillard35925471999-02-25 08:46:07 +00006378></A
6379><H3
6380><A
6381NAME="XMLPARSEATTRIBUTELISTDECL"
6382></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006383>xmlParseAttributeListDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006384><TABLE
6385BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006386BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006387WIDTH="100%"
6388CELLPADDING="6"
6389><TR
6390><TD
6391><PRE
6392CLASS="PROGRAMLISTING"
6393>void xmlParseAttributeListDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006394HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006395>xmlParserCtxtPtr</A
6396> ctxt);</PRE
6397></TD
6398></TR
6399></TABLE
6400><P
6401>: parse the Attribute list def for an element</P
6402><P
6403>[52] AttlistDecl ::= '&lt;!ATTLIST' S Name AttDef* S? '&gt;'</P
6404><P
6405>[53] AttDef ::= S Name S AttType S DefaultDecl</P
6406><P
6407></P
6408><DIV
6409CLASS="INFORMALTABLE"
6410><P
6411></P
6412><TABLE
6413BORDER="0"
6414WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006415BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006416CELLSPACING="0"
6417CELLPADDING="4"
6418CLASS="CALSTABLE"
6419><TR
6420><TD
6421WIDTH="20%"
6422ALIGN="RIGHT"
6423VALIGN="TOP"
6424><TT
6425CLASS="PARAMETER"
6426><I
6427>ctxt</I
6428></TT
6429>&nbsp;:</TD
6430><TD
6431WIDTH="80%"
6432ALIGN="LEFT"
6433VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006434> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006435></TR
6436></TABLE
6437><P
6438></P
6439></DIV
6440></DIV
6441><HR><DIV
6442CLASS="REFSECT2"
6443><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00006444NAME="AEN17221"
Daniel Veillard35925471999-02-25 08:46:07 +00006445></A
6446><H3
6447><A
6448NAME="XMLPARSEELEMENTMIXEDCONTENTDECL"
6449></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006450>xmlParseElementMixedContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006451><TABLE
6452BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006453BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006454WIDTH="100%"
6455CELLPADDING="6"
6456><TR
6457><TD
6458><PRE
6459CLASS="PROGRAMLISTING"
6460><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006461HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006462>xmlElementContentPtr</A
6463> xmlParseElementMixedContentDecl
6464 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006465HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006466>xmlParserCtxtPtr</A
6467> ctxt);</PRE
6468></TD
6469></TR
6470></TABLE
6471><P
6472>parse the declaration for a Mixed Element content
6473The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
6474><P
6475>[51] Mixed ::= '(' S? '<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006476HREF="PCDATA-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00006477>PCDATA</GTKDOCLINK
6478>' (S? '|' S? Name)* S? ')*' |
6479'(' S? '<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006480HREF="PCDATA-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00006481>PCDATA</GTKDOCLINK
6482>' S? ')'</P
6483><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006484>[ VC: Proper Group/PE Nesting ] applies to [51] too (see [49])</P
6485><P
6486>[ VC: No Duplicate Types ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006487The same name must not appear more than once in a single
Daniel Veillardb05deb71999-08-10 19:04:08 +00006488mixed-content declaration.</P
6489><P
Daniel Veillard35925471999-02-25 08:46:07 +00006490></P
6491><DIV
6492CLASS="INFORMALTABLE"
6493><P
6494></P
6495><TABLE
6496BORDER="0"
6497WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006498BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006499CELLSPACING="0"
6500CELLPADDING="4"
6501CLASS="CALSTABLE"
6502><TR
6503><TD
6504WIDTH="20%"
6505ALIGN="RIGHT"
6506VALIGN="TOP"
6507><TT
6508CLASS="PARAMETER"
6509><I
6510>ctxt</I
6511></TT
6512>&nbsp;:</TD
6513><TD
6514WIDTH="80%"
6515ALIGN="LEFT"
6516VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006517> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006518></TR
6519><TR
6520><TD
6521WIDTH="20%"
6522ALIGN="RIGHT"
6523VALIGN="TOP"
6524><I
6525CLASS="EMPHASIS"
6526>Returns</I
6527> :</TD
6528><TD
6529WIDTH="80%"
6530ALIGN="LEFT"
6531VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006532> the list of the xmlElementContentPtr describing the element choices</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006533></TR
6534></TABLE
6535><P
6536></P
6537></DIV
6538></DIV
6539><HR><DIV
6540CLASS="REFSECT2"
6541><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00006542NAME="AEN17247"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00006543></A
6544><H3
6545><A
6546NAME="XMLPARSEELEMENTCHILDRENCONTENTD"
6547></A
6548>xmlParseElementChildrenContentD ()</H3
6549><TABLE
6550BORDER="0"
6551BGCOLOR="#D6E8FF"
6552WIDTH="100%"
6553CELLPADDING="6"
6554><TR
6555><TD
6556><PRE
6557CLASS="PROGRAMLISTING"
6558><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006559HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00006560>xmlElementContentPtr</A
6561> xmlParseElementChildrenContentD
6562 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006563HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00006564>xmlParserCtxtPtr</A
6565> ctxt);</PRE
6566></TD
6567></TR
6568></TABLE
6569><P
6570></P
6571><DIV
6572CLASS="INFORMALTABLE"
6573><P
6574></P
6575><TABLE
6576BORDER="0"
6577WIDTH="100%"
6578BGCOLOR="#FFD0D0"
6579CELLSPACING="0"
6580CELLPADDING="4"
6581CLASS="CALSTABLE"
6582><TR
6583><TD
6584WIDTH="20%"
6585ALIGN="RIGHT"
6586VALIGN="TOP"
6587><TT
6588CLASS="PARAMETER"
6589><I
6590>ctxt</I
6591></TT
6592>&nbsp;:</TD
6593><TD
6594WIDTH="80%"
6595ALIGN="LEFT"
6596VALIGN="TOP"
6597>&nbsp;</TD
6598></TR
6599><TR
6600><TD
6601WIDTH="20%"
6602ALIGN="RIGHT"
6603VALIGN="TOP"
6604><I
6605CLASS="EMPHASIS"
6606>Returns</I
6607> :</TD
6608><TD
6609WIDTH="80%"
6610ALIGN="LEFT"
6611VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00006612>&#13;</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00006613></TR
6614></TABLE
6615><P
6616></P
6617></DIV
6618></DIV
6619><HR><DIV
6620CLASS="REFSECT2"
6621><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00006622NAME="AEN17267"
Daniel Veillard35925471999-02-25 08:46:07 +00006623></A
6624><H3
6625><A
6626NAME="XMLPARSEELEMENTCHILDRENCONTENTDECL"
6627></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006628>xmlParseElementChildrenContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006629><TABLE
6630BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006631BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006632WIDTH="100%"
6633CELLPADDING="6"
6634><TR
6635><TD
6636><PRE
6637CLASS="PROGRAMLISTING"
6638><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006639HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006640>xmlElementContentPtr</A
6641> xmlParseElementChildrenContentDecl
6642 (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006643HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006644>xmlParserCtxtPtr</A
6645> ctxt);</PRE
6646></TD
6647></TR
6648></TABLE
6649><P
6650>parse the declaration for a Mixed Element content
6651The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
6652><P
6653>[47] children ::= (choice | seq) ('?' | '*' | '+')?</P
6654><P
6655>[48] cp ::= (Name | choice | seq) ('?' | '*' | '+')?</P
6656><P
6657>[49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')'</P
6658><P
6659>[50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'</P
6660><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006661>[ VC: Proper Group/PE Nesting ] applies to [49] and [50]
6662TODO Parameter-entity replacement text must be properly nested
6663with parenthetized groups. That is to say, if either of the
6664opening or closing parentheses in a choice, seq, or Mixed
6665construct is contained in the replacement text for a parameter
6666entity, both must be contained in the same replacement text. For
6667interoperability, if a parameter-entity reference appears in a
6668choice, seq, or Mixed construct, its replacement text should not
6669be empty, and neither the first nor last non-blank character of
6670the replacement text should be a connector (| or ,).</P
6671><P
Daniel Veillard35925471999-02-25 08:46:07 +00006672></P
6673><DIV
6674CLASS="INFORMALTABLE"
6675><P
6676></P
6677><TABLE
6678BORDER="0"
6679WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006680BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006681CELLSPACING="0"
6682CELLPADDING="4"
6683CLASS="CALSTABLE"
6684><TR
6685><TD
6686WIDTH="20%"
6687ALIGN="RIGHT"
6688VALIGN="TOP"
6689><TT
6690CLASS="PARAMETER"
6691><I
6692>ctxt</I
6693></TT
6694>&nbsp;:</TD
6695><TD
6696WIDTH="80%"
6697ALIGN="LEFT"
6698VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006699> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006700></TR
6701><TR
6702><TD
6703WIDTH="20%"
6704ALIGN="RIGHT"
6705VALIGN="TOP"
6706><I
6707CLASS="EMPHASIS"
6708>Returns</I
6709> :</TD
6710><TD
6711WIDTH="80%"
6712ALIGN="LEFT"
6713VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006714> the tree of xmlElementContentPtr describing the element
6715hierarchy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006716></TR
6717></TABLE
6718><P
6719></P
6720></DIV
6721></DIV
6722><HR><DIV
6723CLASS="REFSECT2"
6724><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00006725NAME="AEN17293"
Daniel Veillard35925471999-02-25 08:46:07 +00006726></A
6727><H3
6728><A
6729NAME="XMLPARSEELEMENTCONTENTDECL"
6730></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006731>xmlParseElementContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006732><TABLE
6733BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006734BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006735WIDTH="100%"
6736CELLPADDING="6"
6737><TR
6738><TD
6739><PRE
6740CLASS="PROGRAMLISTING"
6741>int xmlParseElementContentDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006742HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006743>xmlParserCtxtPtr</A
6744> ctxt,
6745 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006746HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006747>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006748> *name,
6749 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006750HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006751>xmlElementContentPtr</A
6752> *result);</PRE
6753></TD
6754></TR
6755></TABLE
6756><P
6757>parse the declaration for an Element content either Mixed or Children,
6758the cases EMPTY and ANY are handled directly in xmlParseElementDecl</P
6759><P
6760>[46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</P
6761><P
6762></P
6763><DIV
6764CLASS="INFORMALTABLE"
6765><P
6766></P
6767><TABLE
6768BORDER="0"
6769WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006770BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006771CELLSPACING="0"
6772CELLPADDING="4"
6773CLASS="CALSTABLE"
6774><TR
6775><TD
6776WIDTH="20%"
6777ALIGN="RIGHT"
6778VALIGN="TOP"
6779><TT
6780CLASS="PARAMETER"
6781><I
6782>ctxt</I
6783></TT
6784>&nbsp;:</TD
6785><TD
6786WIDTH="80%"
6787ALIGN="LEFT"
6788VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006789> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006790></TR
6791><TR
6792><TD
6793WIDTH="20%"
6794ALIGN="RIGHT"
6795VALIGN="TOP"
6796><TT
6797CLASS="PARAMETER"
6798><I
6799>name</I
6800></TT
6801>&nbsp;:</TD
6802><TD
6803WIDTH="80%"
6804ALIGN="LEFT"
6805VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006806> the name of the element being defined.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006807></TR
6808><TR
6809><TD
6810WIDTH="20%"
6811ALIGN="RIGHT"
6812VALIGN="TOP"
6813><TT
6814CLASS="PARAMETER"
6815><I
6816>result</I
6817></TT
6818>&nbsp;:</TD
6819><TD
6820WIDTH="80%"
6821ALIGN="LEFT"
6822VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006823> the Element Content pointer will be stored here if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006824></TR
6825><TR
6826><TD
6827WIDTH="20%"
6828ALIGN="RIGHT"
6829VALIGN="TOP"
6830><I
6831CLASS="EMPHASIS"
6832>Returns</I
6833> :</TD
6834><TD
6835WIDTH="80%"
6836ALIGN="LEFT"
6837VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006838> the type of element content XML_ELEMENT_TYPE_xxx</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006839></TR
6840></TABLE
6841><P
6842></P
6843></DIV
6844></DIV
6845><HR><DIV
6846CLASS="REFSECT2"
6847><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00006848NAME="AEN17324"
Daniel Veillard35925471999-02-25 08:46:07 +00006849></A
6850><H3
6851><A
6852NAME="XMLPARSEELEMENTDECL"
6853></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006854>xmlParseElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006855><TABLE
6856BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006857BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006858WIDTH="100%"
6859CELLPADDING="6"
6860><TR
6861><TD
6862><PRE
6863CLASS="PROGRAMLISTING"
6864>int xmlParseElementDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006865HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006866>xmlParserCtxtPtr</A
6867> ctxt);</PRE
6868></TD
6869></TR
6870></TABLE
6871><P
6872>parse an Element declaration.</P
6873><P
6874>[45] elementdecl ::= '&lt;!ELEMENT' S Name S contentspec S? '&gt;'</P
6875><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006876>[ VC: Unique Element Type Declaration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006877No element type may be declared more than once</P
Daniel Veillard35925471999-02-25 08:46:07 +00006878><P
6879></P
6880><DIV
6881CLASS="INFORMALTABLE"
6882><P
6883></P
6884><TABLE
6885BORDER="0"
6886WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006887BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006888CELLSPACING="0"
6889CELLPADDING="4"
6890CLASS="CALSTABLE"
6891><TR
6892><TD
6893WIDTH="20%"
6894ALIGN="RIGHT"
6895VALIGN="TOP"
6896><TT
6897CLASS="PARAMETER"
6898><I
6899>ctxt</I
6900></TT
6901>&nbsp;:</TD
6902><TD
6903WIDTH="80%"
6904ALIGN="LEFT"
6905VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006906> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006907></TR
6908><TR
6909><TD
6910WIDTH="20%"
6911ALIGN="RIGHT"
6912VALIGN="TOP"
6913><I
6914CLASS="EMPHASIS"
6915>Returns</I
6916> :</TD
6917><TD
6918WIDTH="80%"
6919ALIGN="LEFT"
6920VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006921>the type of the element, or -1 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006922></TR
6923></TABLE
6924><P
6925></P
6926></DIV
6927></DIV
6928><HR><DIV
6929CLASS="REFSECT2"
6930><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00006931NAME="AEN17346"
Daniel Veillard35925471999-02-25 08:46:07 +00006932></A
6933><H3
6934><A
6935NAME="XMLPARSEMARKUPDECL"
6936></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006937>xmlParseMarkupDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006938><TABLE
6939BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006940BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006941WIDTH="100%"
6942CELLPADDING="6"
6943><TR
6944><TD
6945><PRE
6946CLASS="PROGRAMLISTING"
6947>void xmlParseMarkupDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006948HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006949>xmlParserCtxtPtr</A
6950> ctxt);</PRE
6951></TD
6952></TR
6953></TABLE
6954><P
6955>parse Markup declarations</P
6956><P
6957>[29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
6958NotationDecl | PI | Comment</P
6959><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006960>[ VC: Proper Declaration/PE Nesting ]
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006961Parameter-entity replacement text must be properly nested with
Daniel Veillardb05deb71999-08-10 19:04:08 +00006962markup declarations. That is to say, if either the first character
6963or the last character of a markup declaration (markupdecl above) is
6964contained in the replacement text for a parameter-entity reference,
6965both must be contained in the same replacement text.</P
6966><P
6967>[ WFC: PEs in Internal Subset ]
6968In the internal DTD subset, parameter-entity references can occur
6969only where markup declarations can occur, not within markup declarations.
6970(This does not apply to references that occur in external parameter
6971entities or to the external subset.)</P
Daniel Veillard35925471999-02-25 08:46:07 +00006972><P
6973></P
6974><DIV
6975CLASS="INFORMALTABLE"
6976><P
6977></P
6978><TABLE
6979BORDER="0"
6980WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006981BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006982CELLSPACING="0"
6983CELLPADDING="4"
6984CLASS="CALSTABLE"
6985><TR
6986><TD
6987WIDTH="20%"
6988ALIGN="RIGHT"
6989VALIGN="TOP"
6990><TT
6991CLASS="PARAMETER"
6992><I
6993>ctxt</I
6994></TT
6995>&nbsp;:</TD
6996><TD
6997WIDTH="80%"
6998ALIGN="LEFT"
6999VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007000> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007001></TR
7002></TABLE
7003><P
7004></P
7005></DIV
7006></DIV
7007><HR><DIV
7008CLASS="REFSECT2"
7009><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00007010NAME="AEN17365"
Daniel Veillard35925471999-02-25 08:46:07 +00007011></A
7012><H3
7013><A
7014NAME="XMLPARSECHARREF"
7015></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007016>xmlParseCharRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007017><TABLE
7018BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007019BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007020WIDTH="100%"
7021CELLPADDING="6"
7022><TR
7023><TD
7024><PRE
7025CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007026>int xmlParseCharRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007027HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007028>xmlParserCtxtPtr</A
7029> ctxt);</PRE
7030></TD
7031></TR
7032></TABLE
7033><P
7034>parse Reference declarations</P
7035><P
7036>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
7037'&amp;<GTKDOCLINK
7038HREF="X"
7039>x</GTKDOCLINK
7040>' [0-9a-fA-F]+ ';'</P
7041><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007042>[ WFC: Legal Character ]
7043Characters referred to using character references must match the
7044production for Char.</P
7045><P
Daniel Veillard35925471999-02-25 08:46:07 +00007046></P
7047><DIV
7048CLASS="INFORMALTABLE"
7049><P
7050></P
7051><TABLE
7052BORDER="0"
7053WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007054BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007055CELLSPACING="0"
7056CELLPADDING="4"
7057CLASS="CALSTABLE"
7058><TR
7059><TD
7060WIDTH="20%"
7061ALIGN="RIGHT"
7062VALIGN="TOP"
7063><TT
7064CLASS="PARAMETER"
7065><I
7066>ctxt</I
7067></TT
7068>&nbsp;:</TD
7069><TD
7070WIDTH="80%"
7071ALIGN="LEFT"
7072VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007073> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007074></TR
7075><TR
7076><TD
7077WIDTH="20%"
7078ALIGN="RIGHT"
7079VALIGN="TOP"
7080><I
7081CLASS="EMPHASIS"
7082>Returns</I
7083> :</TD
7084><TD
7085WIDTH="80%"
7086ALIGN="LEFT"
7087VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007088>the value parsed (as an int), 0 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007089></TR
7090></TABLE
7091><P
7092></P
7093></DIV
7094></DIV
7095><HR><DIV
7096CLASS="REFSECT2"
7097><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00007098NAME="AEN17388"
Daniel Veillard35925471999-02-25 08:46:07 +00007099></A
7100><H3
7101><A
7102NAME="XMLPARSEENTITYREF"
7103></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007104>xmlParseEntityRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007105><TABLE
7106BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007107BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007108WIDTH="100%"
7109CELLPADDING="6"
7110><TR
7111><TD
7112><PRE
7113CLASS="PROGRAMLISTING"
7114><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007115HREF="libxml-entities.html#XMLENTITYPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007116>xmlEntityPtr</A
7117> xmlParseEntityRef (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007118HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007119>xmlParserCtxtPtr</A
7120> ctxt);</PRE
7121></TD
7122></TR
7123></TABLE
7124><P
7125>parse ENTITY references declarations</P
7126><P
7127>[68] EntityRef ::= '&amp;' Name ';'</P
7128><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007129>[ WFC: Entity Declared ]
7130In a document without any DTD, a document with only an internal DTD
7131subset which contains no parameter entity references, or a document
7132with "standalone='yes'", the Name given in the entity reference
7133must match that in an entity declaration, except that well-formed
7134documents need not declare any of the following entities: amp, lt,
7135gt, apos, quot. The declaration of a parameter entity must precede
7136any reference to it. Similarly, the declaration of a general entity
7137must precede any reference to it which appears in a default value in an
7138attribute-list declaration. Note that if entities are declared in the
7139external subset or in external parameter entities, a non-validating
7140processor is not obligated to read and process their declarations;
7141for such documents, the rule that an entity must be declared is a
7142well-formedness constraint only if standalone='yes'.</P
7143><P
7144>[ WFC: Parsed Entity ]
7145An entity reference must not contain the name of an unparsed entity</P
7146><P
Daniel Veillard35925471999-02-25 08:46:07 +00007147></P
7148><DIV
7149CLASS="INFORMALTABLE"
7150><P
7151></P
7152><TABLE
7153BORDER="0"
7154WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007155BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007156CELLSPACING="0"
7157CELLPADDING="4"
7158CLASS="CALSTABLE"
7159><TR
7160><TD
7161WIDTH="20%"
7162ALIGN="RIGHT"
7163VALIGN="TOP"
7164><TT
7165CLASS="PARAMETER"
7166><I
7167>ctxt</I
7168></TT
7169>&nbsp;:</TD
7170><TD
7171WIDTH="80%"
7172ALIGN="LEFT"
7173VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007174> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007175></TR
7176><TR
7177><TD
7178WIDTH="20%"
7179ALIGN="RIGHT"
7180VALIGN="TOP"
7181><I
7182CLASS="EMPHASIS"
7183>Returns</I
7184> :</TD
7185><TD
7186WIDTH="80%"
7187ALIGN="LEFT"
7188VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007189>the xmlEntityPtr if found, or NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007190></TR
7191></TABLE
7192><P
7193></P
7194></DIV
7195></DIV
7196><HR><DIV
7197CLASS="REFSECT2"
7198><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00007199NAME="AEN17412"
Daniel Veillard35925471999-02-25 08:46:07 +00007200></A
7201><H3
7202><A
7203NAME="XMLPARSEREFERENCE"
7204></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007205>xmlParseReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007206><TABLE
7207BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007208BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007209WIDTH="100%"
7210CELLPADDING="6"
7211><TR
7212><TD
7213><PRE
7214CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007215>void xmlParseReference (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007216HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007217>xmlParserCtxtPtr</A
7218> ctxt);</PRE
7219></TD
7220></TR
7221></TABLE
7222><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00007223>parse and handle entity references in content, depending on the SAX
7224interface, this may end-up in a call to <GTKDOCLINK
7225HREF="CHARACTER"
7226>character</GTKDOCLINK
7227>() if this is a
Daniel Veillard294cbca1999-12-03 13:19:09 +00007228CharRef, a predefined entity, if there is no <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007229HREF="libxml-sax.html#REFERENCE"
Daniel Veillard294cbca1999-12-03 13:19:09 +00007230>reference</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007231>() callback.
7232or if the parser was asked to switch to that mode.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007233><P
7234>[67] Reference ::= EntityRef | CharRef</P
7235><P
7236></P
7237><DIV
7238CLASS="INFORMALTABLE"
7239><P
7240></P
7241><TABLE
7242BORDER="0"
7243WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007244BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007245CELLSPACING="0"
7246CELLPADDING="4"
7247CLASS="CALSTABLE"
7248><TR
7249><TD
7250WIDTH="20%"
7251ALIGN="RIGHT"
7252VALIGN="TOP"
7253><TT
7254CLASS="PARAMETER"
7255><I
7256>ctxt</I
7257></TT
7258>&nbsp;:</TD
7259><TD
7260WIDTH="80%"
7261ALIGN="LEFT"
7262VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007263> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007264></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007265></TABLE
7266><P
7267></P
7268></DIV
7269></DIV
7270><HR><DIV
7271CLASS="REFSECT2"
7272><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00007273NAME="AEN17431"
Daniel Veillard35925471999-02-25 08:46:07 +00007274></A
7275><H3
7276><A
7277NAME="XMLPARSEPEREFERENCE"
7278></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007279>xmlParsePEReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007280><TABLE
7281BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007282BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007283WIDTH="100%"
7284CELLPADDING="6"
7285><TR
7286><TD
7287><PRE
7288CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007289>void xmlParsePEReference (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007290HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007291>xmlParserCtxtPtr</A
7292> ctxt);</PRE
7293></TD
7294></TR
7295></TABLE
7296><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00007297>parse PEReference declarations
7298The entity content is handled directly by pushing it's content as
7299a new input stream.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007300><P
7301>[69] PEReference ::= '%' Name ';'</P
7302><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007303>[ WFC: No Recursion ]
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007304A parsed entity must not contain a recursive
Daniel Veillardb05deb71999-08-10 19:04:08 +00007305reference to itself, either directly or indirectly. </P
7306><P
7307>[ WFC: Entity Declared ]
7308In a document without any DTD, a document with only an internal DTD
7309subset which contains no parameter entity references, or a document
7310with "standalone='yes'", ... ... The declaration of a parameter
7311entity must precede any reference to it...</P
7312><P
7313>[ VC: Entity Declared ]
7314In a document with an external subset or external parameter entities
7315with "standalone='no'", ... ... The declaration of a parameter entity
7316must precede any reference to it...</P
7317><P
7318>[ WFC: In DTD ]
7319Parameter-entity references may only appear in the DTD.
7320NOTE: misleading but this is handled.</P
7321><P
Daniel Veillard35925471999-02-25 08:46:07 +00007322></P
7323><DIV
7324CLASS="INFORMALTABLE"
7325><P
7326></P
7327><TABLE
7328BORDER="0"
7329WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007330BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007331CELLSPACING="0"
7332CELLPADDING="4"
7333CLASS="CALSTABLE"
7334><TR
7335><TD
7336WIDTH="20%"
7337ALIGN="RIGHT"
7338VALIGN="TOP"
7339><TT
7340CLASS="PARAMETER"
7341><I
7342>ctxt</I
7343></TT
7344>&nbsp;:</TD
7345><TD
7346WIDTH="80%"
7347ALIGN="LEFT"
7348VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007349> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007350></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007351></TABLE
7352><P
7353></P
7354></DIV
7355></DIV
7356><HR><DIV
7357CLASS="REFSECT2"
7358><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00007359NAME="AEN17452"
Daniel Veillard35925471999-02-25 08:46:07 +00007360></A
7361><H3
7362><A
7363NAME="XMLPARSEDOCTYPEDECL"
7364></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007365>xmlParseDocTypeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007366><TABLE
7367BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007368BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007369WIDTH="100%"
7370CELLPADDING="6"
7371><TR
7372><TD
7373><PRE
7374CLASS="PROGRAMLISTING"
7375>void xmlParseDocTypeDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007376HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007377>xmlParserCtxtPtr</A
7378> ctxt);</PRE
7379></TD
7380></TR
7381></TABLE
7382><P
7383>parse a DOCTYPE declaration</P
7384><P
7385>[28] doctypedecl ::= '&lt;!DOCTYPE' S Name (S ExternalID)? S?
7386('[' (markupdecl | PEReference | S)* ']' S?)? '&gt;'</P
7387><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007388>[ VC: Root Element Type ]
7389The Name in the document type declaration must match the element
7390type of the root element.</P
7391><P
Daniel Veillard35925471999-02-25 08:46:07 +00007392></P
7393><DIV
7394CLASS="INFORMALTABLE"
7395><P
7396></P
7397><TABLE
7398BORDER="0"
7399WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007400BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007401CELLSPACING="0"
7402CELLPADDING="4"
7403CLASS="CALSTABLE"
7404><TR
7405><TD
7406WIDTH="20%"
7407ALIGN="RIGHT"
7408VALIGN="TOP"
7409><TT
7410CLASS="PARAMETER"
7411><I
7412>ctxt</I
7413></TT
7414>&nbsp;:</TD
7415><TD
7416WIDTH="80%"
7417ALIGN="LEFT"
7418VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007419> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007420></TR
7421></TABLE
7422><P
7423></P
7424></DIV
7425></DIV
7426><HR><DIV
7427CLASS="REFSECT2"
7428><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00007429NAME="AEN17470"
Daniel Veillard35925471999-02-25 08:46:07 +00007430></A
7431><H3
7432><A
7433NAME="XMLPARSEATTRIBUTE"
7434></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007435>xmlParseAttribute ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007436><TABLE
7437BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007438BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007439WIDTH="100%"
7440CELLPADDING="6"
7441><TR
7442><TD
7443><PRE
7444CLASS="PROGRAMLISTING"
7445><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007446HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007447>xmlChar</A
7448>* xmlParseAttribute (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007449HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007450>xmlParserCtxtPtr</A
7451> ctxt,
7452 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007453HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007454>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00007455> **value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00007456></TD
7457></TR
7458></TABLE
7459><P
7460>parse an attribute</P
7461><P
7462>[41] Attribute ::= Name Eq AttValue</P
7463><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007464>[ WFC: No External Entity References ]
7465Attribute values cannot contain direct or indirect entity references
7466to external entities.</P
7467><P
7468>[ WFC: No &lt; in Attribute Values ]
7469The replacement text of any entity referred to directly or indirectly in
7470an attribute value (other than "&amp;lt;") must not contain a &lt;. </P
7471><P
7472>[ VC: Attribute Value Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007473The attribute must have been declared; the value must be of the type
Daniel Veillardb05deb71999-08-10 19:04:08 +00007474declared for it.</P
7475><P
Daniel Veillard35925471999-02-25 08:46:07 +00007476>[25] Eq ::= S? '=' S?</P
7477><P
7478>With namespace:</P
7479><P
7480>[NS 11] Attribute ::= QName Eq AttValue</P
7481><P
7482>Also the case QName == xmlns:??? is handled independently as a namespace
7483definition.</P
7484><P
7485></P
7486><DIV
7487CLASS="INFORMALTABLE"
7488><P
7489></P
7490><TABLE
7491BORDER="0"
7492WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007493BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007494CELLSPACING="0"
7495CELLPADDING="4"
7496CLASS="CALSTABLE"
7497><TR
7498><TD
7499WIDTH="20%"
7500ALIGN="RIGHT"
7501VALIGN="TOP"
7502><TT
7503CLASS="PARAMETER"
7504><I
7505>ctxt</I
7506></TT
7507>&nbsp;:</TD
7508><TD
7509WIDTH="80%"
7510ALIGN="LEFT"
7511VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007512> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007513></TR
7514><TR
7515><TD
7516WIDTH="20%"
7517ALIGN="RIGHT"
7518VALIGN="TOP"
7519><TT
7520CLASS="PARAMETER"
7521><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00007522>value</I
Daniel Veillard35925471999-02-25 08:46:07 +00007523></TT
7524>&nbsp;:</TD
7525><TD
7526WIDTH="80%"
7527ALIGN="LEFT"
7528VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007529> a xmlChar ** used to store the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007530></TR
7531><TR
7532><TD
7533WIDTH="20%"
7534ALIGN="RIGHT"
7535VALIGN="TOP"
7536><I
7537CLASS="EMPHASIS"
7538>Returns</I
7539> :</TD
7540><TD
7541WIDTH="80%"
7542ALIGN="LEFT"
7543VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007544>the attribute name, and the value in *value.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007545></TR
7546></TABLE
7547><P
7548></P
7549></DIV
7550></DIV
7551><HR><DIV
7552CLASS="REFSECT2"
7553><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00007554NAME="AEN17504"
Daniel Veillard35925471999-02-25 08:46:07 +00007555></A
7556><H3
7557><A
7558NAME="XMLPARSESTARTTAG"
7559></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007560>xmlParseStartTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007561><TABLE
7562BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007563BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007564WIDTH="100%"
7565CELLPADDING="6"
7566><TR
7567><TD
7568><PRE
7569CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00007570><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007571HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007572>xmlChar</A
7573>* xmlParseStartTag (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007574HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007575>xmlParserCtxtPtr</A
7576> ctxt);</PRE
7577></TD
7578></TR
7579></TABLE
7580><P
7581>parse a start of tag either for rule element or
7582EmptyElement. In both case we don't parse the tag closing chars.</P
7583><P
7584>[40] STag ::= '&lt;' Name (S Attribute)* S? '&gt;'</P
7585><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007586>[ WFC: Unique Att Spec ]
7587No attribute name may appear more than once in the same start-tag or
7588empty-element tag. </P
7589><P
Daniel Veillard35925471999-02-25 08:46:07 +00007590>[44] EmptyElemTag ::= '&lt;' Name (S Attribute)* S? '/&gt;'</P
7591><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007592>[ WFC: Unique Att Spec ]
7593No attribute name may appear more than once in the same start-tag or
7594empty-element tag. </P
7595><P
Daniel Veillard35925471999-02-25 08:46:07 +00007596>With namespace:</P
7597><P
7598>[NS 8] STag ::= '&lt;' QName (S Attribute)* S? '&gt;'</P
7599><P
7600>[NS 10] EmptyElement ::= '&lt;' QName (S Attribute)* S? '/&gt;'</P
7601><P
7602></P
7603><DIV
7604CLASS="INFORMALTABLE"
7605><P
7606></P
7607><TABLE
7608BORDER="0"
7609WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007610BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007611CELLSPACING="0"
7612CELLPADDING="4"
7613CLASS="CALSTABLE"
7614><TR
7615><TD
7616WIDTH="20%"
7617ALIGN="RIGHT"
7618VALIGN="TOP"
7619><TT
7620CLASS="PARAMETER"
7621><I
7622>ctxt</I
7623></TT
7624>&nbsp;:</TD
7625><TD
7626WIDTH="80%"
7627ALIGN="LEFT"
7628VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007629> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007630></TR
Daniel Veillard14fff061999-06-22 21:49:07 +00007631><TR
7632><TD
7633WIDTH="20%"
7634ALIGN="RIGHT"
7635VALIGN="TOP"
7636><I
7637CLASS="EMPHASIS"
7638>Returns</I
7639> :</TD
7640><TD
7641WIDTH="80%"
7642ALIGN="LEFT"
7643VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007644>the element name parsed</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007645></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007646></TABLE
7647><P
7648></P
7649></DIV
7650></DIV
7651><HR><DIV
7652CLASS="REFSECT2"
7653><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00007654NAME="AEN17532"
Daniel Veillard35925471999-02-25 08:46:07 +00007655></A
7656><H3
7657><A
7658NAME="XMLPARSEENDTAG"
7659></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007660>xmlParseEndTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007661><TABLE
7662BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007663BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007664WIDTH="100%"
7665CELLPADDING="6"
7666><TR
7667><TD
7668><PRE
7669CLASS="PROGRAMLISTING"
7670>void xmlParseEndTag (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007671HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007672>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +00007673> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00007674></TD
7675></TR
7676></TABLE
7677><P
7678>parse an end of tag</P
7679><P
7680>[42] ETag ::= '&lt;/' Name S? '&gt;'</P
7681><P
7682>With namespace</P
7683><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00007684>[NS 9] ETag ::= '&lt;/' QName S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00007685><P
7686></P
7687><DIV
7688CLASS="INFORMALTABLE"
7689><P
7690></P
7691><TABLE
7692BORDER="0"
7693WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007694BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007695CELLSPACING="0"
7696CELLPADDING="4"
7697CLASS="CALSTABLE"
7698><TR
7699><TD
7700WIDTH="20%"
7701ALIGN="RIGHT"
7702VALIGN="TOP"
7703><TT
7704CLASS="PARAMETER"
7705><I
7706>ctxt</I
7707></TT
7708>&nbsp;:</TD
7709><TD
7710WIDTH="80%"
7711ALIGN="LEFT"
7712VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007713> an XML parser context</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007714></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007715></TABLE
7716><P
7717></P
7718></DIV
7719></DIV
7720><HR><DIV
7721CLASS="REFSECT2"
7722><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00007723NAME="AEN17551"
Daniel Veillard35925471999-02-25 08:46:07 +00007724></A
7725><H3
7726><A
7727NAME="XMLPARSECDSECT"
7728></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007729>xmlParseCDSect ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007730><TABLE
7731BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007732BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007733WIDTH="100%"
7734CELLPADDING="6"
7735><TR
7736><TD
7737><PRE
7738CLASS="PROGRAMLISTING"
7739>void xmlParseCDSect (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007740HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007741>xmlParserCtxtPtr</A
7742> ctxt);</PRE
7743></TD
7744></TR
7745></TABLE
7746><P
7747>Parse escaped pure raw content.</P
7748><P
7749>[18] CDSect ::= CDStart CData CDEnd</P
7750><P
7751>[19] CDStart ::= '&lt;![CDATA['</P
7752><P
7753>[20] Data ::= (Char* - (Char* ']]&gt;' Char*))</P
7754><P
7755>[21] CDEnd ::= ']]&gt;'</P
7756><P
7757></P
7758><DIV
7759CLASS="INFORMALTABLE"
7760><P
7761></P
7762><TABLE
7763BORDER="0"
7764WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007765BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007766CELLSPACING="0"
7767CELLPADDING="4"
7768CLASS="CALSTABLE"
7769><TR
7770><TD
7771WIDTH="20%"
7772ALIGN="RIGHT"
7773VALIGN="TOP"
7774><TT
7775CLASS="PARAMETER"
7776><I
7777>ctxt</I
7778></TT
7779>&nbsp;:</TD
7780><TD
7781WIDTH="80%"
7782ALIGN="LEFT"
7783VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007784> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007785></TR
7786></TABLE
7787><P
7788></P
7789></DIV
7790></DIV
7791><HR><DIV
7792CLASS="REFSECT2"
7793><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00007794NAME="AEN17571"
Daniel Veillard35925471999-02-25 08:46:07 +00007795></A
7796><H3
7797><A
7798NAME="XMLPARSECONTENT"
7799></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007800>xmlParseContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007801><TABLE
7802BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007803BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007804WIDTH="100%"
7805CELLPADDING="6"
7806><TR
7807><TD
7808><PRE
7809CLASS="PROGRAMLISTING"
7810>void xmlParseContent (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007811HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007812>xmlParserCtxtPtr</A
7813> ctxt);</PRE
7814></TD
7815></TR
7816></TABLE
7817><P
7818>Parse a content:</P
7819><P
7820>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
7821><P
7822></P
7823><DIV
7824CLASS="INFORMALTABLE"
7825><P
7826></P
7827><TABLE
7828BORDER="0"
7829WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007830BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007831CELLSPACING="0"
7832CELLPADDING="4"
7833CLASS="CALSTABLE"
7834><TR
7835><TD
7836WIDTH="20%"
7837ALIGN="RIGHT"
7838VALIGN="TOP"
7839><TT
7840CLASS="PARAMETER"
7841><I
7842>ctxt</I
7843></TT
7844>&nbsp;:</TD
7845><TD
7846WIDTH="80%"
7847ALIGN="LEFT"
7848VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007849> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007850></TR
7851></TABLE
7852><P
7853></P
7854></DIV
7855></DIV
7856><HR><DIV
7857CLASS="REFSECT2"
7858><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00007859NAME="AEN17588"
Daniel Veillard35925471999-02-25 08:46:07 +00007860></A
7861><H3
7862><A
7863NAME="XMLPARSEELEMENT"
7864></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007865>xmlParseElement ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007866><TABLE
7867BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007868BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007869WIDTH="100%"
7870CELLPADDING="6"
7871><TR
7872><TD
7873><PRE
7874CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00007875>void xmlParseElement (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007876HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007877>xmlParserCtxtPtr</A
7878> ctxt);</PRE
7879></TD
7880></TR
7881></TABLE
7882><P
7883>parse an XML element, this is highly recursive</P
7884><P
7885>[39] element ::= EmptyElemTag | STag content ETag</P
7886><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007887>[ WFC: Element Type Match ]
7888The Name in an element's end-tag must match the element type in the
7889start-tag. </P
7890><P
7891>[ VC: Element Valid ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007892An element is valid if there is a declaration matching elementdecl
Daniel Veillardb05deb71999-08-10 19:04:08 +00007893where the Name matches the element type and one of the following holds:
7894- The declaration matches EMPTY and the element has no content.
7895- The declaration matches children and the sequence of child elements
7896belongs to the language generated by the regular expression in the
7897content model, with optional white space (characters matching the
7898nonterminal S) between each pair of child elements.
7899- The declaration matches Mixed and the content consists of character
7900data and child elements whose types match names in the content model.
7901- The declaration matches ANY, and the types of any child elements have
7902been declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007903><P
7904></P
7905><DIV
7906CLASS="INFORMALTABLE"
7907><P
7908></P
7909><TABLE
7910BORDER="0"
7911WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007912BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007913CELLSPACING="0"
7914CELLPADDING="4"
7915CLASS="CALSTABLE"
7916><TR
7917><TD
7918WIDTH="20%"
7919ALIGN="RIGHT"
7920VALIGN="TOP"
7921><TT
7922CLASS="PARAMETER"
7923><I
7924>ctxt</I
7925></TT
7926>&nbsp;:</TD
7927><TD
7928WIDTH="80%"
7929ALIGN="LEFT"
7930VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007931> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007932></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007933></TABLE
7934><P
7935></P
7936></DIV
7937></DIV
7938><HR><DIV
7939CLASS="REFSECT2"
7940><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00007941NAME="AEN17607"
Daniel Veillard35925471999-02-25 08:46:07 +00007942></A
7943><H3
7944><A
7945NAME="XMLPARSEVERSIONNUM"
7946></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007947>xmlParseVersionNum ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007948><TABLE
7949BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007950BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007951WIDTH="100%"
7952CELLPADDING="6"
7953><TR
7954><TD
7955><PRE
7956CLASS="PROGRAMLISTING"
7957><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007958HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007959>xmlChar</A
7960>* xmlParseVersionNum (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007961HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007962>xmlParserCtxtPtr</A
7963> ctxt);</PRE
7964></TD
7965></TR
7966></TABLE
7967><P
7968>parse the XML version value.</P
7969><P
7970>[26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</P
7971><P
7972></P
7973><DIV
7974CLASS="INFORMALTABLE"
7975><P
7976></P
7977><TABLE
7978BORDER="0"
7979WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007980BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007981CELLSPACING="0"
7982CELLPADDING="4"
7983CLASS="CALSTABLE"
7984><TR
7985><TD
7986WIDTH="20%"
7987ALIGN="RIGHT"
7988VALIGN="TOP"
7989><TT
7990CLASS="PARAMETER"
7991><I
7992>ctxt</I
7993></TT
7994>&nbsp;:</TD
7995><TD
7996WIDTH="80%"
7997ALIGN="LEFT"
7998VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007999> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008000></TR
8001><TR
8002><TD
8003WIDTH="20%"
8004ALIGN="RIGHT"
8005VALIGN="TOP"
8006><I
8007CLASS="EMPHASIS"
8008>Returns</I
8009> :</TD
8010><TD
8011WIDTH="80%"
8012ALIGN="LEFT"
8013VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008014>the string giving the XML version number, or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008015></TR
8016></TABLE
8017><P
8018></P
8019></DIV
8020></DIV
8021><HR><DIV
8022CLASS="REFSECT2"
8023><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00008024NAME="AEN17629"
Daniel Veillard35925471999-02-25 08:46:07 +00008025></A
8026><H3
8027><A
8028NAME="XMLPARSEVERSIONINFO"
8029></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008030>xmlParseVersionInfo ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008031><TABLE
8032BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008033BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008034WIDTH="100%"
8035CELLPADDING="6"
8036><TR
8037><TD
8038><PRE
8039CLASS="PROGRAMLISTING"
8040><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008041HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008042>xmlChar</A
8043>* xmlParseVersionInfo (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008044HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008045>xmlParserCtxtPtr</A
8046> ctxt);</PRE
8047></TD
8048></TR
8049></TABLE
8050><P
8051>parse the XML version.</P
8052><P
8053>[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")</P
8054><P
8055>[25] Eq ::= S? '=' S?</P
8056><P
8057></P
8058><DIV
8059CLASS="INFORMALTABLE"
8060><P
8061></P
8062><TABLE
8063BORDER="0"
8064WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008065BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008066CELLSPACING="0"
8067CELLPADDING="4"
8068CLASS="CALSTABLE"
8069><TR
8070><TD
8071WIDTH="20%"
8072ALIGN="RIGHT"
8073VALIGN="TOP"
8074><TT
8075CLASS="PARAMETER"
8076><I
8077>ctxt</I
8078></TT
8079>&nbsp;:</TD
8080><TD
8081WIDTH="80%"
8082ALIGN="LEFT"
8083VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008084> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008085></TR
8086><TR
8087><TD
8088WIDTH="20%"
8089ALIGN="RIGHT"
8090VALIGN="TOP"
8091><I
8092CLASS="EMPHASIS"
8093>Returns</I
8094> :</TD
8095><TD
8096WIDTH="80%"
8097ALIGN="LEFT"
8098VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008099>the version string, e.g. "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008100></TR
8101></TABLE
8102><P
8103></P
8104></DIV
8105></DIV
8106><HR><DIV
8107CLASS="REFSECT2"
8108><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00008109NAME="AEN17652"
Daniel Veillard35925471999-02-25 08:46:07 +00008110></A
8111><H3
8112><A
8113NAME="XMLPARSEENCNAME"
8114></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008115>xmlParseEncName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008116><TABLE
8117BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008118BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008119WIDTH="100%"
8120CELLPADDING="6"
8121><TR
8122><TD
8123><PRE
8124CLASS="PROGRAMLISTING"
8125><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008126HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008127>xmlChar</A
8128>* xmlParseEncName (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008129HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008130>xmlParserCtxtPtr</A
8131> ctxt);</PRE
8132></TD
8133></TR
8134></TABLE
8135><P
8136>parse the XML encoding name</P
8137><P
8138>[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</P
8139><P
8140></P
8141><DIV
8142CLASS="INFORMALTABLE"
8143><P
8144></P
8145><TABLE
8146BORDER="0"
8147WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008148BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008149CELLSPACING="0"
8150CELLPADDING="4"
8151CLASS="CALSTABLE"
8152><TR
8153><TD
8154WIDTH="20%"
8155ALIGN="RIGHT"
8156VALIGN="TOP"
8157><TT
8158CLASS="PARAMETER"
8159><I
8160>ctxt</I
8161></TT
8162>&nbsp;:</TD
8163><TD
8164WIDTH="80%"
8165ALIGN="LEFT"
8166VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008167> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008168></TR
8169><TR
8170><TD
8171WIDTH="20%"
8172ALIGN="RIGHT"
8173VALIGN="TOP"
8174><I
8175CLASS="EMPHASIS"
8176>Returns</I
8177> :</TD
8178><TD
8179WIDTH="80%"
8180ALIGN="LEFT"
8181VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008182>the encoding name value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008183></TR
8184></TABLE
8185><P
8186></P
8187></DIV
8188></DIV
8189><HR><DIV
8190CLASS="REFSECT2"
8191><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00008192NAME="AEN17674"
Daniel Veillard35925471999-02-25 08:46:07 +00008193></A
8194><H3
8195><A
8196NAME="XMLPARSEENCODINGDECL"
8197></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008198>xmlParseEncodingDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008199><TABLE
8200BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008201BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008202WIDTH="100%"
8203CELLPADDING="6"
8204><TR
8205><TD
8206><PRE
8207CLASS="PROGRAMLISTING"
8208><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008209HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008210>xmlChar</A
8211>* xmlParseEncodingDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008212HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008213>xmlParserCtxtPtr</A
8214> ctxt);</PRE
8215></TD
8216></TR
8217></TABLE
8218><P
8219>parse the XML encoding declaration</P
8220><P
8221>[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")</P
8222><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008223>this setups the conversion filters.</P
Daniel Veillard35925471999-02-25 08:46:07 +00008224><P
8225></P
8226><DIV
8227CLASS="INFORMALTABLE"
8228><P
8229></P
8230><TABLE
8231BORDER="0"
8232WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008233BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008234CELLSPACING="0"
8235CELLPADDING="4"
8236CLASS="CALSTABLE"
8237><TR
8238><TD
8239WIDTH="20%"
8240ALIGN="RIGHT"
8241VALIGN="TOP"
8242><TT
8243CLASS="PARAMETER"
8244><I
8245>ctxt</I
8246></TT
8247>&nbsp;:</TD
8248><TD
8249WIDTH="80%"
8250ALIGN="LEFT"
8251VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008252> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008253></TR
8254><TR
8255><TD
8256WIDTH="20%"
8257ALIGN="RIGHT"
8258VALIGN="TOP"
8259><I
8260CLASS="EMPHASIS"
8261>Returns</I
8262> :</TD
8263><TD
8264WIDTH="80%"
8265ALIGN="LEFT"
8266VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008267>the encoding value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008268></TR
8269></TABLE
8270><P
8271></P
8272></DIV
8273></DIV
8274><HR><DIV
8275CLASS="REFSECT2"
8276><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00008277NAME="AEN17697"
Daniel Veillard35925471999-02-25 08:46:07 +00008278></A
8279><H3
8280><A
8281NAME="XMLPARSESDDECL"
8282></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008283>xmlParseSDDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008284><TABLE
8285BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008286BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008287WIDTH="100%"
8288CELLPADDING="6"
8289><TR
8290><TD
8291><PRE
8292CLASS="PROGRAMLISTING"
8293>int xmlParseSDDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008294HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008295>xmlParserCtxtPtr</A
8296> ctxt);</PRE
8297></TD
8298></TR
8299></TABLE
8300><P
8301>parse the XML standalone declaration</P
8302><P
8303>[32] SDDecl ::= S 'standalone' Eq
Daniel Veillardb05deb71999-08-10 19:04:08 +00008304(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"')) </P
8305><P
8306>[ VC: Standalone Document Declaration ]
8307TODO The standalone document declaration must have the value "no"
8308if any external markup declarations contain declarations of:
8309- attributes with default values, if elements to which these
8310attributes apply appear in the document without specifications
8311of values for these attributes, or
8312- entities (other than amp, lt, gt, apos, quot), if references
8313to those entities appear in the document, or
8314- attributes with values subject to normalization, where the
8315attribute appears in the document with a value which will change
8316as a result of normalization, or
8317- element types with element content, if white space occurs directly
8318within any instance of those types.</P
Daniel Veillard35925471999-02-25 08:46:07 +00008319><P
8320></P
8321><DIV
8322CLASS="INFORMALTABLE"
8323><P
8324></P
8325><TABLE
8326BORDER="0"
8327WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008328BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008329CELLSPACING="0"
8330CELLPADDING="4"
8331CLASS="CALSTABLE"
8332><TR
8333><TD
8334WIDTH="20%"
8335ALIGN="RIGHT"
8336VALIGN="TOP"
8337><TT
8338CLASS="PARAMETER"
8339><I
8340>ctxt</I
8341></TT
8342>&nbsp;:</TD
8343><TD
8344WIDTH="80%"
8345ALIGN="LEFT"
8346VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008347> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008348></TR
8349><TR
8350><TD
8351WIDTH="20%"
8352ALIGN="RIGHT"
8353VALIGN="TOP"
8354><I
8355CLASS="EMPHASIS"
8356>Returns</I
8357> :</TD
8358><TD
8359WIDTH="80%"
8360ALIGN="LEFT"
8361VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008362>1 if standalone, 0 otherwise</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008363></TR
8364></TABLE
8365><P
8366></P
8367></DIV
8368></DIV
8369><HR><DIV
8370CLASS="REFSECT2"
8371><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00008372NAME="AEN17719"
Daniel Veillard35925471999-02-25 08:46:07 +00008373></A
8374><H3
8375><A
8376NAME="XMLPARSEXMLDECL"
8377></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008378>xmlParseXMLDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008379><TABLE
8380BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008381BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008382WIDTH="100%"
8383CELLPADDING="6"
8384><TR
8385><TD
8386><PRE
8387CLASS="PROGRAMLISTING"
8388>void xmlParseXMLDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008389HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008390>xmlParserCtxtPtr</A
8391> ctxt);</PRE
8392></TD
8393></TR
8394></TABLE
8395><P
8396>parse an XML declaration header</P
8397><P
8398>[23] XMLDecl ::= '&lt;?xml' VersionInfo EncodingDecl? SDDecl? S? '?&gt;'</P
8399><P
8400></P
8401><DIV
8402CLASS="INFORMALTABLE"
8403><P
8404></P
8405><TABLE
8406BORDER="0"
8407WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008408BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008409CELLSPACING="0"
8410CELLPADDING="4"
8411CLASS="CALSTABLE"
8412><TR
8413><TD
8414WIDTH="20%"
8415ALIGN="RIGHT"
8416VALIGN="TOP"
8417><TT
8418CLASS="PARAMETER"
8419><I
8420>ctxt</I
8421></TT
8422>&nbsp;:</TD
8423><TD
8424WIDTH="80%"
8425ALIGN="LEFT"
8426VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008427> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008428></TR
8429></TABLE
8430><P
8431></P
8432></DIV
8433></DIV
8434><HR><DIV
8435CLASS="REFSECT2"
8436><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00008437NAME="AEN17736"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008438></A
8439><H3
8440><A
8441NAME="XMLPARSETEXTDECL"
8442></A
8443>xmlParseTextDecl ()</H3
8444><TABLE
8445BORDER="0"
8446BGCOLOR="#D6E8FF"
8447WIDTH="100%"
8448CELLPADDING="6"
8449><TR
8450><TD
8451><PRE
8452CLASS="PROGRAMLISTING"
8453>void xmlParseTextDecl (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008454HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008455>xmlParserCtxtPtr</A
8456> ctxt);</PRE
8457></TD
8458></TR
8459></TABLE
8460><P
8461>parse an XML declaration header for external entities</P
8462><P
8463>[77] TextDecl ::= '&lt;?xml' VersionInfo? EncodingDecl S? '?&gt;'</P
8464><P
8465>Question: Seems that EncodingDecl is mandatory ? Is that a typo ?</P
8466><P
8467></P
8468><DIV
8469CLASS="INFORMALTABLE"
8470><P
8471></P
8472><TABLE
8473BORDER="0"
8474WIDTH="100%"
8475BGCOLOR="#FFD0D0"
8476CELLSPACING="0"
8477CELLPADDING="4"
8478CLASS="CALSTABLE"
8479><TR
8480><TD
8481WIDTH="20%"
8482ALIGN="RIGHT"
8483VALIGN="TOP"
8484><TT
8485CLASS="PARAMETER"
8486><I
8487>ctxt</I
8488></TT
8489>&nbsp;:</TD
8490><TD
8491WIDTH="80%"
8492ALIGN="LEFT"
8493VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008494> an XML parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008495></TR
8496></TABLE
8497><P
8498></P
8499></DIV
8500></DIV
8501><HR><DIV
8502CLASS="REFSECT2"
8503><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00008504NAME="AEN17754"
Daniel Veillard35925471999-02-25 08:46:07 +00008505></A
8506><H3
8507><A
8508NAME="XMLPARSEMISC"
8509></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008510>xmlParseMisc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008511><TABLE
8512BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008513BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008514WIDTH="100%"
8515CELLPADDING="6"
8516><TR
8517><TD
8518><PRE
8519CLASS="PROGRAMLISTING"
8520>void xmlParseMisc (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008521HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008522>xmlParserCtxtPtr</A
8523> ctxt);</PRE
8524></TD
8525></TR
8526></TABLE
8527><P
8528>parse an XML Misc* optionnal field.</P
8529><P
8530>[27] Misc ::= Comment | PI | S</P
8531><P
8532></P
8533><DIV
8534CLASS="INFORMALTABLE"
8535><P
8536></P
8537><TABLE
8538BORDER="0"
8539WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008540BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008541CELLSPACING="0"
8542CELLPADDING="4"
8543CLASS="CALSTABLE"
8544><TR
8545><TD
8546WIDTH="20%"
8547ALIGN="RIGHT"
8548VALIGN="TOP"
8549><TT
8550CLASS="PARAMETER"
8551><I
8552>ctxt</I
8553></TT
8554>&nbsp;:</TD
8555><TD
8556WIDTH="80%"
8557ALIGN="LEFT"
8558VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008559> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008560></TR
8561></TABLE
8562><P
8563></P
8564></DIV
8565></DIV
Daniel Veillard011b63c1999-06-02 17:44:04 +00008566><HR><DIV
8567CLASS="REFSECT2"
8568><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00008569NAME="AEN17771"
Daniel Veillardb05deb71999-08-10 19:04:08 +00008570></A
8571><H3
8572><A
8573NAME="XMLPARSEEXTERNALSUBSET"
8574></A
8575>xmlParseExternalSubset ()</H3
8576><TABLE
8577BORDER="0"
8578BGCOLOR="#D6E8FF"
8579WIDTH="100%"
8580CELLPADDING="6"
8581><TR
8582><TD
8583><PRE
8584CLASS="PROGRAMLISTING"
8585>void xmlParseExternalSubset (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008586HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00008587>xmlParserCtxtPtr</A
8588> ctxt,
8589 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008590HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008591>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00008592> *ExternalID,
8593 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008594HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008595>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00008596> *SystemID);</PRE
8597></TD
8598></TR
8599></TABLE
8600><P
8601>parse Markup declarations from an external subset</P
8602><P
8603>[30] extSubset ::= textDecl? extSubsetDecl</P
8604><P
8605>[31] extSubsetDecl ::= (markupdecl | conditionalSect | PEReference | S) *</P
8606><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00008607></P
8608><DIV
8609CLASS="INFORMALTABLE"
8610><P
8611></P
8612><TABLE
8613BORDER="0"
8614WIDTH="100%"
8615BGCOLOR="#FFD0D0"
8616CELLSPACING="0"
8617CELLPADDING="4"
8618CLASS="CALSTABLE"
8619><TR
8620><TD
8621WIDTH="20%"
8622ALIGN="RIGHT"
8623VALIGN="TOP"
8624><TT
8625CLASS="PARAMETER"
8626><I
8627>ctxt</I
8628></TT
8629>&nbsp;:</TD
8630><TD
8631WIDTH="80%"
8632ALIGN="LEFT"
8633VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008634> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008635></TR
8636><TR
8637><TD
8638WIDTH="20%"
8639ALIGN="RIGHT"
8640VALIGN="TOP"
8641><TT
8642CLASS="PARAMETER"
8643><I
8644>ExternalID</I
8645></TT
8646>&nbsp;:</TD
8647><TD
8648WIDTH="80%"
8649ALIGN="LEFT"
8650VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008651> the external identifier</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008652></TR
8653><TR
8654><TD
8655WIDTH="20%"
8656ALIGN="RIGHT"
8657VALIGN="TOP"
8658><TT
8659CLASS="PARAMETER"
8660><I
8661>SystemID</I
8662></TT
8663>&nbsp;:</TD
8664><TD
8665WIDTH="80%"
8666ALIGN="LEFT"
8667VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008668> the system identifier (or URL)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008669></TR
8670></TABLE
8671><P
8672></P
8673></DIV
8674></DIV
8675><HR><DIV
8676CLASS="REFSECT2"
8677><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00008678NAME="AEN17799"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008679></A
8680><H3
8681><A
Daniel Veillard503b8932001-01-05 06:36:31 +00008682NAME="XML-SUBSTITUTE-NONE-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008683></A
8684>XML_SUBSTITUTE_NONE</H3
8685><TABLE
8686BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008687BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008688WIDTH="100%"
8689CELLPADDING="6"
8690><TR
8691><TD
8692><PRE
8693CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008694>#define XML_SUBSTITUTE_NONE 0</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008695></TD
8696></TR
8697></TABLE
8698><P
8699></P
8700></DIV
8701><HR><DIV
8702CLASS="REFSECT2"
8703><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00008704NAME="AEN17804"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008705></A
8706><H3
8707><A
Daniel Veillard503b8932001-01-05 06:36:31 +00008708NAME="XML-SUBSTITUTE-REF-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008709></A
8710>XML_SUBSTITUTE_REF</H3
8711><TABLE
8712BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008713BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008714WIDTH="100%"
8715CELLPADDING="6"
8716><TR
8717><TD
8718><PRE
8719CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008720>#define XML_SUBSTITUTE_REF 1</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008721></TD
8722></TR
8723></TABLE
8724><P
8725></P
8726></DIV
8727><HR><DIV
8728CLASS="REFSECT2"
8729><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00008730NAME="AEN17809"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008731></A
8732><H3
8733><A
Daniel Veillard503b8932001-01-05 06:36:31 +00008734NAME="XML-SUBSTITUTE-PEREF-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008735></A
8736>XML_SUBSTITUTE_PEREF</H3
8737><TABLE
8738BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008739BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008740WIDTH="100%"
8741CELLPADDING="6"
8742><TR
8743><TD
8744><PRE
8745CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008746>#define XML_SUBSTITUTE_PEREF 2</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008747></TD
8748></TR
8749></TABLE
8750><P
8751></P
8752></DIV
8753><HR><DIV
8754CLASS="REFSECT2"
8755><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00008756NAME="AEN17814"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008757></A
8758><H3
8759><A
Daniel Veillard503b8932001-01-05 06:36:31 +00008760NAME="XML-SUBSTITUTE-BOTH-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008761></A
8762>XML_SUBSTITUTE_BOTH</H3
8763><TABLE
8764BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008765BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008766WIDTH="100%"
8767CELLPADDING="6"
8768><TR
8769><TD
8770><PRE
8771CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008772>#define XML_SUBSTITUTE_BOTH 3</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008773></TD
8774></TR
8775></TABLE
8776><P
8777></P
8778></DIV
8779><HR><DIV
8780CLASS="REFSECT2"
8781><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00008782NAME="AEN17819"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008783></A
8784><H3
8785><A
8786NAME="XMLDECODEENTITIES"
8787></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008788>xmlDecodeEntities ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00008789><TABLE
8790BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008791BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008792WIDTH="100%"
8793CELLPADDING="6"
8794><TR
8795><TD
8796><PRE
8797CLASS="PROGRAMLISTING"
8798><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008799HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008800>xmlChar</A
8801>* xmlDecodeEntities (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008802HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008803>xmlParserCtxtPtr</A
8804> ctxt,
8805 int len,
8806 int what,
8807 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008808HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008809>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008810> end,
8811 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008812HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008813>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008814> end2,
8815 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008816HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008817>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008818> end3);</PRE
8819></TD
8820></TR
8821></TABLE
8822><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008823>This function is deprecated, we now always process entities content
8824through xmlStringDecodeEntities</P
8825><P
8826>TODO: remove it in next major release.</P
8827><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00008828>[67] Reference ::= EntityRef | CharRef</P
8829><P
8830>[69] PEReference ::= '%' Name ';'</P
8831><P
8832></P
8833><DIV
8834CLASS="INFORMALTABLE"
8835><P
8836></P
8837><TABLE
8838BORDER="0"
8839WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008840BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008841CELLSPACING="0"
8842CELLPADDING="4"
8843CLASS="CALSTABLE"
8844><TR
8845><TD
8846WIDTH="20%"
8847ALIGN="RIGHT"
8848VALIGN="TOP"
8849><TT
8850CLASS="PARAMETER"
8851><I
8852>ctxt</I
8853></TT
8854>&nbsp;:</TD
8855><TD
8856WIDTH="80%"
8857ALIGN="LEFT"
8858VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008859> the parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008860></TR
8861><TR
8862><TD
8863WIDTH="20%"
8864ALIGN="RIGHT"
8865VALIGN="TOP"
8866><TT
8867CLASS="PARAMETER"
8868><I
8869>len</I
8870></TT
8871>&nbsp;:</TD
8872><TD
8873WIDTH="80%"
8874ALIGN="LEFT"
8875VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008876> the len to decode (in bytes !), -1 for no size limit</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008877></TR
8878><TR
8879><TD
8880WIDTH="20%"
8881ALIGN="RIGHT"
8882VALIGN="TOP"
8883><TT
8884CLASS="PARAMETER"
8885><I
8886>what</I
8887></TT
8888>&nbsp;:</TD
8889><TD
8890WIDTH="80%"
8891ALIGN="LEFT"
8892VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008893> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008894></TR
8895><TR
8896><TD
8897WIDTH="20%"
8898ALIGN="RIGHT"
8899VALIGN="TOP"
8900><TT
8901CLASS="PARAMETER"
8902><I
8903>end</I
8904></TT
8905>&nbsp;:</TD
8906><TD
8907WIDTH="80%"
8908ALIGN="LEFT"
8909VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008910> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008911></TR
8912><TR
8913><TD
8914WIDTH="20%"
8915ALIGN="RIGHT"
8916VALIGN="TOP"
8917><TT
8918CLASS="PARAMETER"
8919><I
8920>end2</I
8921></TT
8922>&nbsp;:</TD
8923><TD
8924WIDTH="80%"
8925ALIGN="LEFT"
8926VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008927> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008928></TR
8929><TR
8930><TD
8931WIDTH="20%"
8932ALIGN="RIGHT"
8933VALIGN="TOP"
8934><TT
8935CLASS="PARAMETER"
8936><I
8937>end3</I
8938></TT
8939>&nbsp;:</TD
8940><TD
8941WIDTH="80%"
8942ALIGN="LEFT"
8943VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008944> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008945></TR
8946><TR
8947><TD
8948WIDTH="20%"
8949ALIGN="RIGHT"
8950VALIGN="TOP"
8951><I
8952CLASS="EMPHASIS"
8953>Returns</I
8954> :</TD
8955><TD
8956WIDTH="80%"
8957ALIGN="LEFT"
8958VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008959>A newly allocated string with the substitution done. The caller
8960must deallocate it !</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008961></TR
8962></TABLE
8963><P
8964></P
8965></DIV
8966></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +00008967><HR><DIV
8968CLASS="REFSECT2"
8969><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00008970NAME="AEN17866"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008971></A
8972><H3
8973><A
8974NAME="XMLSTRINGDECODEENTITIES"
8975></A
8976>xmlStringDecodeEntities ()</H3
8977><TABLE
8978BORDER="0"
8979BGCOLOR="#D6E8FF"
8980WIDTH="100%"
8981CELLPADDING="6"
8982><TR
8983><TD
8984><PRE
8985CLASS="PROGRAMLISTING"
8986><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008987HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008988>xmlChar</A
8989>* xmlStringDecodeEntities (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008990HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008991>xmlParserCtxtPtr</A
8992> ctxt,
8993 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008994HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008995>xmlChar</A
8996> *str,
8997 int what,
8998 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008999HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009000>xmlChar</A
9001> end,
9002 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009003HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009004>xmlChar</A
9005> end2,
9006 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009007HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009008>xmlChar</A
9009> end3);</PRE
9010></TD
9011></TR
9012></TABLE
9013><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009014>Takes a entity string content and process to do the adequate subtitutions.</P
9015><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009016>[67] Reference ::= EntityRef | CharRef</P
9017><P
9018>[69] PEReference ::= '%' Name ';'</P
9019><P
9020></P
9021><DIV
9022CLASS="INFORMALTABLE"
9023><P
9024></P
9025><TABLE
9026BORDER="0"
9027WIDTH="100%"
9028BGCOLOR="#FFD0D0"
9029CELLSPACING="0"
9030CELLPADDING="4"
9031CLASS="CALSTABLE"
9032><TR
9033><TD
9034WIDTH="20%"
9035ALIGN="RIGHT"
9036VALIGN="TOP"
9037><TT
9038CLASS="PARAMETER"
9039><I
9040>ctxt</I
9041></TT
9042>&nbsp;:</TD
9043><TD
9044WIDTH="80%"
9045ALIGN="LEFT"
9046VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009047> the parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009048></TR
9049><TR
9050><TD
9051WIDTH="20%"
9052ALIGN="RIGHT"
9053VALIGN="TOP"
9054><TT
9055CLASS="PARAMETER"
9056><I
9057>str</I
9058></TT
9059>&nbsp;:</TD
9060><TD
9061WIDTH="80%"
9062ALIGN="LEFT"
9063VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009064> the input string</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009065></TR
9066><TR
9067><TD
9068WIDTH="20%"
9069ALIGN="RIGHT"
9070VALIGN="TOP"
9071><TT
9072CLASS="PARAMETER"
9073><I
9074>what</I
9075></TT
9076>&nbsp;:</TD
9077><TD
9078WIDTH="80%"
9079ALIGN="LEFT"
9080VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009081> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009082></TR
9083><TR
9084><TD
9085WIDTH="20%"
9086ALIGN="RIGHT"
9087VALIGN="TOP"
9088><TT
9089CLASS="PARAMETER"
9090><I
9091>end</I
9092></TT
9093>&nbsp;:</TD
9094><TD
9095WIDTH="80%"
9096ALIGN="LEFT"
9097VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009098> an end marker xmlChar, 0 if none</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009099></TR
9100><TR
9101><TD
9102WIDTH="20%"
9103ALIGN="RIGHT"
9104VALIGN="TOP"
9105><TT
9106CLASS="PARAMETER"
9107><I
9108>end2</I
9109></TT
9110>&nbsp;:</TD
9111><TD
9112WIDTH="80%"
9113ALIGN="LEFT"
9114VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009115> an end marker xmlChar, 0 if none</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009116></TR
9117><TR
9118><TD
9119WIDTH="20%"
9120ALIGN="RIGHT"
9121VALIGN="TOP"
9122><TT
9123CLASS="PARAMETER"
9124><I
9125>end3</I
9126></TT
9127>&nbsp;:</TD
9128><TD
9129WIDTH="80%"
9130ALIGN="LEFT"
9131VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009132> an end marker xmlChar, 0 if none</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009133></TR
9134><TR
9135><TD
9136WIDTH="20%"
9137ALIGN="RIGHT"
9138VALIGN="TOP"
9139><I
9140CLASS="EMPHASIS"
9141>Returns</I
9142> :</TD
9143><TD
9144WIDTH="80%"
9145ALIGN="LEFT"
9146VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009147>A newly allocated string with the substitution done. The caller
9148must deallocate it !</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009149></TR
9150></TABLE
9151><P
9152></P
9153></DIV
9154></DIV
9155><HR><DIV
9156CLASS="REFSECT2"
9157><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00009158NAME="AEN17913"
Daniel Veillard14fff061999-06-22 21:49:07 +00009159></A
9160><H3
9161><A
9162NAME="NODEPUSH"
9163></A
9164>nodePush ()</H3
9165><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00009166BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009167BGCOLOR="#D6E8FF"
9168WIDTH="100%"
9169CELLPADDING="6"
Daniel Veillard35925471999-02-25 08:46:07 +00009170><TR
9171><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009172><PRE
9173CLASS="PROGRAMLISTING"
9174>int nodePush (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009175HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009176>xmlParserCtxtPtr</A
9177> ctxt,
9178 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009179HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009180>xmlNodePtr</A
9181> value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00009182></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009183></TR
9184></TABLE
9185><P
9186></P
9187><DIV
9188CLASS="INFORMALTABLE"
9189><P
9190></P
9191><TABLE
9192BORDER="0"
9193WIDTH="100%"
9194BGCOLOR="#FFD0D0"
9195CELLSPACING="0"
9196CELLPADDING="4"
9197CLASS="CALSTABLE"
9198><TR
Daniel Veillard35925471999-02-25 08:46:07 +00009199><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009200WIDTH="20%"
9201ALIGN="RIGHT"
9202VALIGN="TOP"
9203><TT
9204CLASS="PARAMETER"
9205><I
9206>ctxt</I
9207></TT
9208>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009209><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009210WIDTH="80%"
9211ALIGN="LEFT"
9212VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00009213>&nbsp;</TD
9214></TR
9215><TR
9216><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009217WIDTH="20%"
9218ALIGN="RIGHT"
9219VALIGN="TOP"
9220><TT
9221CLASS="PARAMETER"
9222><I
9223>value</I
9224></TT
9225>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009226><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009227WIDTH="80%"
9228ALIGN="LEFT"
9229VALIGN="TOP"
9230>&nbsp;</TD
9231></TR
9232><TR
9233><TD
9234WIDTH="20%"
9235ALIGN="RIGHT"
9236VALIGN="TOP"
9237><I
9238CLASS="EMPHASIS"
9239>Returns</I
9240> :</TD
9241><TD
9242WIDTH="80%"
9243ALIGN="LEFT"
9244VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00009245>&#13;</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009246></TR
9247></TABLE
9248><P
9249></P
9250></DIV
9251></DIV
9252><HR><DIV
9253CLASS="REFSECT2"
Daniel Veillard35925471999-02-25 08:46:07 +00009254><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00009255NAME="AEN17937"
Daniel Veillard14fff061999-06-22 21:49:07 +00009256></A
9257><H3
9258><A
9259NAME="NODEPOP"
9260></A
9261>nodePop ()</H3
9262><TABLE
9263BORDER="0"
9264BGCOLOR="#D6E8FF"
9265WIDTH="100%"
9266CELLPADDING="6"
9267><TR
9268><TD
9269><PRE
9270CLASS="PROGRAMLISTING"
9271><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009272HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009273>xmlNodePtr</A
9274> nodePop (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009275HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009276>xmlParserCtxtPtr</A
9277> ctxt);</PRE
9278></TD
9279></TR
9280></TABLE
9281><P
9282></P
9283><DIV
9284CLASS="INFORMALTABLE"
9285><P
9286></P
9287><TABLE
9288BORDER="0"
9289WIDTH="100%"
9290BGCOLOR="#FFD0D0"
9291CELLSPACING="0"
9292CELLPADDING="4"
9293CLASS="CALSTABLE"
9294><TR
9295><TD
9296WIDTH="20%"
9297ALIGN="RIGHT"
9298VALIGN="TOP"
9299><TT
9300CLASS="PARAMETER"
9301><I
9302>ctxt</I
9303></TT
9304>&nbsp;:</TD
9305><TD
9306WIDTH="80%"
9307ALIGN="LEFT"
9308VALIGN="TOP"
9309>&nbsp;</TD
9310></TR
9311><TR
9312><TD
9313WIDTH="20%"
9314ALIGN="RIGHT"
9315VALIGN="TOP"
9316><I
9317CLASS="EMPHASIS"
9318>Returns</I
9319> :</TD
9320><TD
9321WIDTH="80%"
9322ALIGN="LEFT"
9323VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00009324>&#13;</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009325></TR
9326></TABLE
9327><P
9328></P
9329></DIV
9330></DIV
9331><HR><DIV
9332CLASS="REFSECT2"
9333><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00009334NAME="AEN17957"
Daniel Veillard14fff061999-06-22 21:49:07 +00009335></A
9336><H3
9337><A
9338NAME="INPUTPUSH"
9339></A
9340>inputPush ()</H3
9341><TABLE
9342BORDER="0"
9343BGCOLOR="#D6E8FF"
9344WIDTH="100%"
9345CELLPADDING="6"
9346><TR
9347><TD
9348><PRE
9349CLASS="PROGRAMLISTING"
9350>int inputPush (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009351HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009352>xmlParserCtxtPtr</A
9353> ctxt,
9354 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009355HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009356>xmlParserInputPtr</A
9357> value);</PRE
9358></TD
9359></TR
9360></TABLE
9361><P
9362></P
9363><DIV
9364CLASS="INFORMALTABLE"
9365><P
9366></P
9367><TABLE
9368BORDER="0"
9369WIDTH="100%"
9370BGCOLOR="#FFD0D0"
9371CELLSPACING="0"
9372CELLPADDING="4"
9373CLASS="CALSTABLE"
9374><TR
9375><TD
9376WIDTH="20%"
9377ALIGN="RIGHT"
9378VALIGN="TOP"
9379><TT
9380CLASS="PARAMETER"
9381><I
9382>ctxt</I
9383></TT
9384>&nbsp;:</TD
9385><TD
9386WIDTH="80%"
9387ALIGN="LEFT"
9388VALIGN="TOP"
9389>&nbsp;</TD
9390></TR
9391><TR
9392><TD
9393WIDTH="20%"
9394ALIGN="RIGHT"
9395VALIGN="TOP"
9396><TT
9397CLASS="PARAMETER"
9398><I
9399>value</I
9400></TT
9401>&nbsp;:</TD
9402><TD
9403WIDTH="80%"
9404ALIGN="LEFT"
9405VALIGN="TOP"
9406>&nbsp;</TD
9407></TR
9408><TR
9409><TD
9410WIDTH="20%"
9411ALIGN="RIGHT"
9412VALIGN="TOP"
9413><I
9414CLASS="EMPHASIS"
9415>Returns</I
9416> :</TD
9417><TD
9418WIDTH="80%"
9419ALIGN="LEFT"
9420VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00009421>&#13;</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009422></TR
9423></TABLE
9424><P
9425></P
9426></DIV
9427></DIV
9428><HR><DIV
9429CLASS="REFSECT2"
9430><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00009431NAME="AEN17981"
Daniel Veillard14fff061999-06-22 21:49:07 +00009432></A
9433><H3
9434><A
9435NAME="INPUTPOP"
9436></A
9437>inputPop ()</H3
9438><TABLE
9439BORDER="0"
9440BGCOLOR="#D6E8FF"
9441WIDTH="100%"
9442CELLPADDING="6"
9443><TR
9444><TD
9445><PRE
9446CLASS="PROGRAMLISTING"
9447><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009448HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009449>xmlParserInputPtr</A
9450> inputPop (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009451HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009452>xmlParserCtxtPtr</A
9453> ctxt);</PRE
9454></TD
9455></TR
9456></TABLE
9457><P
9458></P
9459><DIV
9460CLASS="INFORMALTABLE"
9461><P
9462></P
9463><TABLE
9464BORDER="0"
9465WIDTH="100%"
9466BGCOLOR="#FFD0D0"
9467CELLSPACING="0"
9468CELLPADDING="4"
9469CLASS="CALSTABLE"
9470><TR
9471><TD
9472WIDTH="20%"
9473ALIGN="RIGHT"
9474VALIGN="TOP"
9475><TT
9476CLASS="PARAMETER"
9477><I
9478>ctxt</I
9479></TT
9480>&nbsp;:</TD
9481><TD
9482WIDTH="80%"
9483ALIGN="LEFT"
9484VALIGN="TOP"
9485>&nbsp;</TD
9486></TR
9487><TR
9488><TD
9489WIDTH="20%"
9490ALIGN="RIGHT"
9491VALIGN="TOP"
9492><I
9493CLASS="EMPHASIS"
9494>Returns</I
9495> :</TD
9496><TD
9497WIDTH="80%"
9498ALIGN="LEFT"
9499VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00009500>&#13;</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009501></TR
9502></TABLE
9503><P
9504></P
9505></DIV
9506></DIV
Daniel Veillarde46e20d2000-07-14 15:02:46 +00009507><HR><DIV
9508CLASS="REFSECT2"
9509><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00009510NAME="AEN18001"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009511></A
9512><H3
9513><A
9514NAME="XMLSKIPBLANKCHARS"
9515></A
9516>xmlSkipBlankChars ()</H3
9517><TABLE
9518BORDER="0"
9519BGCOLOR="#D6E8FF"
9520WIDTH="100%"
9521CELLPADDING="6"
9522><TR
9523><TD
9524><PRE
9525CLASS="PROGRAMLISTING"
9526>int xmlSkipBlankChars (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009527HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009528>xmlParserCtxtPtr</A
9529> ctxt);</PRE
9530></TD
9531></TR
9532></TABLE
9533><P
9534>skip all blanks character found at that point in the input streams.
9535It pops up finished entities in the process if allowable at that point.</P
9536><P
9537></P
9538><DIV
9539CLASS="INFORMALTABLE"
9540><P
9541></P
9542><TABLE
9543BORDER="0"
9544WIDTH="100%"
9545BGCOLOR="#FFD0D0"
9546CELLSPACING="0"
9547CELLPADDING="4"
9548CLASS="CALSTABLE"
9549><TR
9550><TD
9551WIDTH="20%"
9552ALIGN="RIGHT"
9553VALIGN="TOP"
9554><TT
9555CLASS="PARAMETER"
9556><I
9557>ctxt</I
9558></TT
9559>&nbsp;:</TD
9560><TD
9561WIDTH="80%"
9562ALIGN="LEFT"
9563VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009564> the XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009565></TR
9566><TR
9567><TD
9568WIDTH="20%"
9569ALIGN="RIGHT"
9570VALIGN="TOP"
9571><I
9572CLASS="EMPHASIS"
9573>Returns</I
9574> :</TD
9575><TD
9576WIDTH="80%"
9577ALIGN="LEFT"
9578VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009579>the number of space chars skipped</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009580></TR
9581></TABLE
9582><P
9583></P
9584></DIV
9585></DIV
9586><HR><DIV
9587CLASS="REFSECT2"
9588><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00009589NAME="AEN18021"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009590></A
9591><H3
9592><A
9593NAME="XMLSTRINGCURRENTCHAR"
9594></A
9595>xmlStringCurrentChar ()</H3
9596><TABLE
9597BORDER="0"
9598BGCOLOR="#D6E8FF"
9599WIDTH="100%"
9600CELLPADDING="6"
9601><TR
9602><TD
9603><PRE
9604CLASS="PROGRAMLISTING"
9605>int xmlStringCurrentChar (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009606HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009607>xmlParserCtxtPtr</A
9608> ctxt,
9609 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009610HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009611>xmlChar</A
9612> *cur,
9613 int *len);</PRE
9614></TD
9615></TR
9616></TABLE
9617><P
9618>The current char value, if using UTF-8 this may actaully span multiple
9619bytes in the input buffer.</P
9620><P
9621></P
9622><DIV
9623CLASS="INFORMALTABLE"
9624><P
9625></P
9626><TABLE
9627BORDER="0"
9628WIDTH="100%"
9629BGCOLOR="#FFD0D0"
9630CELLSPACING="0"
9631CELLPADDING="4"
9632CLASS="CALSTABLE"
9633><TR
9634><TD
9635WIDTH="20%"
9636ALIGN="RIGHT"
9637VALIGN="TOP"
9638><TT
9639CLASS="PARAMETER"
9640><I
9641>ctxt</I
9642></TT
9643>&nbsp;:</TD
9644><TD
9645WIDTH="80%"
9646ALIGN="LEFT"
9647VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009648> the XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009649></TR
9650><TR
9651><TD
9652WIDTH="20%"
9653ALIGN="RIGHT"
9654VALIGN="TOP"
9655><TT
9656CLASS="PARAMETER"
9657><I
9658>cur</I
9659></TT
9660>&nbsp;:</TD
9661><TD
9662WIDTH="80%"
9663ALIGN="LEFT"
9664VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009665> pointer to the beginning of the char</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009666></TR
9667><TR
9668><TD
9669WIDTH="20%"
9670ALIGN="RIGHT"
9671VALIGN="TOP"
9672><TT
9673CLASS="PARAMETER"
9674><I
9675>len</I
9676></TT
9677>&nbsp;:</TD
9678><TD
9679WIDTH="80%"
9680ALIGN="LEFT"
9681VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009682> pointer to the length of the char read</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009683></TR
9684><TR
9685><TD
9686WIDTH="20%"
9687ALIGN="RIGHT"
9688VALIGN="TOP"
9689><I
9690CLASS="EMPHASIS"
9691>Returns</I
9692> :</TD
9693><TD
9694WIDTH="80%"
9695ALIGN="LEFT"
9696VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009697>the current char value and its lenght</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009698></TR
9699></TABLE
9700><P
9701></P
9702></DIV
9703></DIV
9704><HR><DIV
9705CLASS="REFSECT2"
9706><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00009707NAME="AEN18050"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009708></A
9709><H3
9710><A
9711NAME="XMLPARSERHANDLEPEREFERENCE"
9712></A
9713>xmlParserHandlePEReference ()</H3
9714><TABLE
9715BORDER="0"
9716BGCOLOR="#D6E8FF"
9717WIDTH="100%"
9718CELLPADDING="6"
9719><TR
9720><TD
9721><PRE
9722CLASS="PROGRAMLISTING"
9723>void xmlParserHandlePEReference (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009724HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009725>xmlParserCtxtPtr</A
9726> ctxt);</PRE
9727></TD
9728></TR
9729></TABLE
9730><P
9731>[69] PEReference ::= '%' Name ';'</P
9732><P
9733>[ WFC: No Recursion ]
9734A parsed entity must not contain a recursive
9735reference to itself, either directly or indirectly. </P
9736><P
9737>[ WFC: Entity Declared ]
9738In a document without any DTD, a document with only an internal DTD
9739subset which contains no parameter entity references, or a document
9740with "standalone='yes'", ... ... The declaration of a parameter
9741entity must precede any reference to it...</P
9742><P
9743>[ VC: Entity Declared ]
9744In a document with an external subset or external parameter entities
9745with "standalone='no'", ... ... The declaration of a parameter entity
9746must precede any reference to it...</P
9747><P
9748>[ WFC: In DTD ]
9749Parameter-entity references may only appear in the DTD.
9750NOTE: misleading but this is handled.</P
9751><P
9752>A PEReference may have been detected in the current input stream
9753the handling is done accordingly to
9754http://www.w3.org/TR/REC-xml<GTKDOCLINK
9755HREF="ENTPROC"
9756>entproc</GTKDOCLINK
9757>
9758i.e.
9759- Included in literal in entity values
9760- Included as Paraemeter Entity reference within DTDs</P
9761><P
9762></P
9763><DIV
9764CLASS="INFORMALTABLE"
9765><P
9766></P
9767><TABLE
9768BORDER="0"
9769WIDTH="100%"
9770BGCOLOR="#FFD0D0"
9771CELLSPACING="0"
9772CELLPADDING="4"
9773CLASS="CALSTABLE"
9774><TR
9775><TD
9776WIDTH="20%"
9777ALIGN="RIGHT"
9778VALIGN="TOP"
9779><TT
9780CLASS="PARAMETER"
9781><I
9782>ctxt</I
9783></TT
9784>&nbsp;:</TD
9785><TD
9786WIDTH="80%"
9787ALIGN="LEFT"
9788VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009789> the parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009790></TR
9791></TABLE
9792><P
9793></P
9794></DIV
9795></DIV
9796><HR><DIV
9797CLASS="REFSECT2"
9798><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00009799NAME="AEN18072"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009800></A
9801><H3
9802><A
9803NAME="XMLPARSERHANDLEREFERENCE"
9804></A
9805>xmlParserHandleReference ()</H3
9806><TABLE
9807BORDER="0"
9808BGCOLOR="#D6E8FF"
9809WIDTH="100%"
9810CELLPADDING="6"
9811><TR
9812><TD
9813><PRE
9814CLASS="PROGRAMLISTING"
9815>void xmlParserHandleReference (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009816HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009817>xmlParserCtxtPtr</A
9818> ctxt);</PRE
9819></TD
9820></TR
9821></TABLE
9822><P
9823>TODO: Remove, now deprecated ... the test is done directly in the
9824content parsing
9825routines.</P
9826><P
9827>[67] Reference ::= EntityRef | CharRef</P
9828><P
9829>[68] EntityRef ::= '&amp;' Name ';'</P
9830><P
9831>[ WFC: Entity Declared ]
9832the Name given in the entity reference must match that in an entity
9833declaration, except that well-formed documents need not declare any
9834of the following entities: amp, lt, gt, apos, quot. </P
9835><P
9836>[ WFC: Parsed Entity ]
9837An entity reference must not contain the name of an unparsed entity</P
9838><P
9839>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
9840'&amp;<GTKDOCLINK
9841HREF="X"
9842>x</GTKDOCLINK
9843>' [0-9a-fA-F]+ ';'</P
9844><P
9845>A PEReference may have been detectect in the current input stream
9846the handling is done accordingly to
9847http://www.w3.org/TR/REC-xml<GTKDOCLINK
9848HREF="ENTPROC"
9849>entproc</GTKDOCLINK
9850></P
9851><P
9852></P
9853><DIV
9854CLASS="INFORMALTABLE"
9855><P
9856></P
9857><TABLE
9858BORDER="0"
9859WIDTH="100%"
9860BGCOLOR="#FFD0D0"
9861CELLSPACING="0"
9862CELLPADDING="4"
9863CLASS="CALSTABLE"
9864><TR
9865><TD
9866WIDTH="20%"
9867ALIGN="RIGHT"
9868VALIGN="TOP"
9869><TT
9870CLASS="PARAMETER"
9871><I
9872>ctxt</I
9873></TT
9874>&nbsp;:</TD
9875><TD
9876WIDTH="80%"
9877ALIGN="LEFT"
9878VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009879> the parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009880></TR
9881></TABLE
9882><P
9883></P
9884></DIV
9885></DIV
9886><HR><DIV
9887CLASS="REFSECT2"
9888><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00009889NAME="AEN18096"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009890></A
9891><H3
9892><A
9893NAME="NAMEPOP"
9894></A
9895>namePop ()</H3
9896><TABLE
9897BORDER="0"
9898BGCOLOR="#D6E8FF"
9899WIDTH="100%"
9900CELLPADDING="6"
9901><TR
9902><TD
9903><PRE
9904CLASS="PROGRAMLISTING"
9905><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009906HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009907>xmlChar</A
9908>* namePop (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009909HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009910>xmlParserCtxtPtr</A
9911> ctxt);</PRE
9912></TD
9913></TR
9914></TABLE
9915><P
9916></P
9917><DIV
9918CLASS="INFORMALTABLE"
9919><P
9920></P
9921><TABLE
9922BORDER="0"
9923WIDTH="100%"
9924BGCOLOR="#FFD0D0"
9925CELLSPACING="0"
9926CELLPADDING="4"
9927CLASS="CALSTABLE"
9928><TR
9929><TD
9930WIDTH="20%"
9931ALIGN="RIGHT"
9932VALIGN="TOP"
9933><TT
9934CLASS="PARAMETER"
9935><I
9936>ctxt</I
9937></TT
9938>&nbsp;:</TD
9939><TD
9940WIDTH="80%"
9941ALIGN="LEFT"
9942VALIGN="TOP"
9943>&nbsp;</TD
9944></TR
9945><TR
9946><TD
9947WIDTH="20%"
9948ALIGN="RIGHT"
9949VALIGN="TOP"
9950><I
9951CLASS="EMPHASIS"
9952>Returns</I
9953> :</TD
9954><TD
9955WIDTH="80%"
9956ALIGN="LEFT"
9957VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +00009958>&#13;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009959></TR
9960></TABLE
9961><P
9962></P
9963></DIV
9964></DIV
9965><HR><DIV
9966CLASS="REFSECT2"
9967><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +00009968NAME="AEN18116"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009969></A
9970><H3
9971><A
9972NAME="XMLCHECKLANGUAGEID"
9973></A
9974>xmlCheckLanguageID ()</H3
9975><TABLE
9976BORDER="0"
9977BGCOLOR="#D6E8FF"
9978WIDTH="100%"
9979CELLPADDING="6"
9980><TR
9981><TD
9982><PRE
9983CLASS="PROGRAMLISTING"
9984>int xmlCheckLanguageID (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009985HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009986>xmlChar</A
9987> *lang);</PRE
9988></TD
9989></TR
9990></TABLE
9991><P
9992></P
9993><DIV
9994CLASS="INFORMALTABLE"
9995><P
9996></P
9997><TABLE
9998BORDER="0"
9999WIDTH="100%"
10000BGCOLOR="#FFD0D0"
10001CELLSPACING="0"
10002CELLPADDING="4"
10003CLASS="CALSTABLE"
10004><TR
10005><TD
10006WIDTH="20%"
10007ALIGN="RIGHT"
10008VALIGN="TOP"
10009><TT
10010CLASS="PARAMETER"
10011><I
10012>lang</I
10013></TT
10014>&nbsp;:</TD
10015><TD
10016WIDTH="80%"
10017ALIGN="LEFT"
10018VALIGN="TOP"
10019>&nbsp;</TD
10020></TR
10021><TR
10022><TD
10023WIDTH="20%"
10024ALIGN="RIGHT"
10025VALIGN="TOP"
10026><I
10027CLASS="EMPHASIS"
10028>Returns</I
10029> :</TD
10030><TD
10031WIDTH="80%"
10032ALIGN="LEFT"
10033VALIGN="TOP"
Daniel Veillard503b8932001-01-05 06:36:31 +000010034>&#13;</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010035></TR
10036></TABLE
10037><P
10038></P
10039></DIV
10040></DIV
10041><HR><DIV
10042CLASS="REFSECT2"
10043><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +000010044NAME="AEN18135"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010045></A
10046><H3
10047><A
10048NAME="XMLCURRENTCHAR"
10049></A
10050>xmlCurrentChar ()</H3
10051><TABLE
10052BORDER="0"
10053BGCOLOR="#D6E8FF"
10054WIDTH="100%"
10055CELLPADDING="6"
10056><TR
10057><TD
10058><PRE
10059CLASS="PROGRAMLISTING"
10060>int xmlCurrentChar (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010061HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010062>xmlParserCtxtPtr</A
10063> ctxt,
10064 int *len);</PRE
10065></TD
10066></TR
10067></TABLE
10068><P
10069>The current char value, if using UTF-8 this may actaully span multiple
10070bytes in the input buffer. Implement the end of line normalization:
100712.11 End-of-Line Handling
10072Wherever an external parsed entity or the literal entity value
10073of an internal parsed entity contains either the literal two-character
10074sequence "<GTKDOCLINK
10075HREF="XD"
10076>xD</GTKDOCLINK
10077><GTKDOCLINK
10078HREF="XA"
10079>xA</GTKDOCLINK
10080>" or a standalone literal <GTKDOCLINK
10081HREF="XD"
10082>xD</GTKDOCLINK
10083>, an XML processor
10084must pass to the application the single character <GTKDOCLINK
10085HREF="XA"
10086>xA</GTKDOCLINK
10087>.
10088This behavior can conveniently be produced by normalizing all
10089line breaks to <GTKDOCLINK
10090HREF="XA"
10091>xA</GTKDOCLINK
10092> on input, before parsing.)</P
10093><P
10094></P
10095><DIV
10096CLASS="INFORMALTABLE"
10097><P
10098></P
10099><TABLE
10100BORDER="0"
10101WIDTH="100%"
10102BGCOLOR="#FFD0D0"
10103CELLSPACING="0"
10104CELLPADDING="4"
10105CLASS="CALSTABLE"
10106><TR
10107><TD
10108WIDTH="20%"
10109ALIGN="RIGHT"
10110VALIGN="TOP"
10111><TT
10112CLASS="PARAMETER"
10113><I
10114>ctxt</I
10115></TT
10116>&nbsp;:</TD
10117><TD
10118WIDTH="80%"
10119ALIGN="LEFT"
10120VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010121> the XML parser context</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010122></TR
10123><TR
10124><TD
10125WIDTH="20%"
10126ALIGN="RIGHT"
10127VALIGN="TOP"
10128><TT
10129CLASS="PARAMETER"
10130><I
10131>len</I
10132></TT
10133>&nbsp;:</TD
10134><TD
10135WIDTH="80%"
10136ALIGN="LEFT"
10137VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010138> pointer to the length of the char read</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010139></TR
10140><TR
10141><TD
10142WIDTH="20%"
10143ALIGN="RIGHT"
10144VALIGN="TOP"
10145><I
10146CLASS="EMPHASIS"
10147>Returns</I
10148> :</TD
10149><TD
10150WIDTH="80%"
10151ALIGN="LEFT"
10152VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010153>the current char value and its lenght</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010154></TR
10155></TABLE
10156><P
10157></P
10158></DIV
10159></DIV
10160><HR><DIV
10161CLASS="REFSECT2"
10162><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +000010163NAME="AEN18164"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010164></A
10165><H3
10166><A
10167NAME="XMLCOPYCHAR"
10168></A
10169>xmlCopyChar ()</H3
10170><TABLE
10171BORDER="0"
10172BGCOLOR="#D6E8FF"
10173WIDTH="100%"
10174CELLPADDING="6"
10175><TR
10176><TD
10177><PRE
10178CLASS="PROGRAMLISTING"
10179>int xmlCopyChar (int len,
10180 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010181HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010182>xmlChar</A
10183> *out,
10184 int val);</PRE
10185></TD
10186></TR
10187></TABLE
10188><P
10189>append the char value in the array</P
10190><P
10191></P
10192><DIV
10193CLASS="INFORMALTABLE"
10194><P
10195></P
10196><TABLE
10197BORDER="0"
10198WIDTH="100%"
10199BGCOLOR="#FFD0D0"
10200CELLSPACING="0"
10201CELLPADDING="4"
10202CLASS="CALSTABLE"
10203><TR
10204><TD
10205WIDTH="20%"
10206ALIGN="RIGHT"
10207VALIGN="TOP"
10208><TT
10209CLASS="PARAMETER"
10210><I
10211>len</I
10212></TT
10213>&nbsp;:</TD
10214><TD
10215WIDTH="80%"
10216ALIGN="LEFT"
10217VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010218> pointer to the length of the char read (or zero)</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010219></TR
10220><TR
10221><TD
10222WIDTH="20%"
10223ALIGN="RIGHT"
10224VALIGN="TOP"
10225><TT
10226CLASS="PARAMETER"
10227><I
10228>out</I
10229></TT
10230>&nbsp;:</TD
10231><TD
10232WIDTH="80%"
10233ALIGN="LEFT"
10234VALIGN="TOP"
10235>&nbsp;</TD
10236></TR
10237><TR
10238><TD
10239WIDTH="20%"
10240ALIGN="RIGHT"
10241VALIGN="TOP"
10242><TT
10243CLASS="PARAMETER"
10244><I
10245>val</I
10246></TT
10247>&nbsp;:</TD
10248><TD
10249WIDTH="80%"
10250ALIGN="LEFT"
10251VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010252> the char value</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010253></TR
10254><TR
10255><TD
10256WIDTH="20%"
10257ALIGN="RIGHT"
10258VALIGN="TOP"
10259><I
10260CLASS="EMPHASIS"
10261>Returns</I
10262> :</TD
10263><TD
10264WIDTH="80%"
10265ALIGN="LEFT"
10266VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010267>the number of xmlChar written</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010268></TR
10269></TABLE
10270><P
10271></P
10272></DIV
10273></DIV
10274><HR><DIV
10275CLASS="REFSECT2"
10276><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +000010277NAME="AEN18192"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010278></A
10279><H3
10280><A
10281NAME="XMLNEXTCHAR"
10282></A
10283>xmlNextChar ()</H3
10284><TABLE
10285BORDER="0"
10286BGCOLOR="#D6E8FF"
10287WIDTH="100%"
10288CELLPADDING="6"
10289><TR
10290><TD
10291><PRE
10292CLASS="PROGRAMLISTING"
10293>void xmlNextChar (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010294HREF="libxml-parser.html#XMLPARSERCTXTPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010295>xmlParserCtxtPtr</A
10296> ctxt);</PRE
10297></TD
10298></TR
10299></TABLE
10300><P
10301>Skip to the next char input char.</P
10302><P
10303></P
10304><DIV
10305CLASS="INFORMALTABLE"
10306><P
10307></P
10308><TABLE
10309BORDER="0"
10310WIDTH="100%"
10311BGCOLOR="#FFD0D0"
10312CELLSPACING="0"
10313CELLPADDING="4"
10314CLASS="CALSTABLE"
10315><TR
10316><TD
10317WIDTH="20%"
10318ALIGN="RIGHT"
10319VALIGN="TOP"
10320><TT
10321CLASS="PARAMETER"
10322><I
10323>ctxt</I
10324></TT
10325>&nbsp;:</TD
10326><TD
10327WIDTH="80%"
10328ALIGN="LEFT"
10329VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010330> the XML parser context</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010331></TR
10332></TABLE
10333><P
10334></P
10335></DIV
10336></DIV
10337><HR><DIV
10338CLASS="REFSECT2"
10339><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +000010340NAME="AEN18208"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010341></A
10342><H3
10343><A
10344NAME="XMLPARSERINPUTSHRINK"
10345></A
10346>xmlParserInputShrink ()</H3
10347><TABLE
10348BORDER="0"
10349BGCOLOR="#D6E8FF"
10350WIDTH="100%"
10351CELLPADDING="6"
10352><TR
10353><TD
10354><PRE
10355CLASS="PROGRAMLISTING"
10356>void xmlParserInputShrink (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010357HREF="libxml-parser.html#XMLPARSERINPUTPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010358>xmlParserInputPtr</A
10359> in);</PRE
10360></TD
10361></TR
10362></TABLE
10363><P
10364>This function removes used input for the parser.</P
10365><P
10366></P
10367><DIV
10368CLASS="INFORMALTABLE"
10369><P
10370></P
10371><TABLE
10372BORDER="0"
10373WIDTH="100%"
10374BGCOLOR="#FFD0D0"
10375CELLSPACING="0"
10376CELLPADDING="4"
10377CLASS="CALSTABLE"
10378><TR
10379><TD
10380WIDTH="20%"
10381ALIGN="RIGHT"
10382VALIGN="TOP"
10383><TT
10384CLASS="PARAMETER"
10385><I
10386>in</I
10387></TT
10388>&nbsp;:</TD
10389><TD
10390WIDTH="80%"
10391ALIGN="LEFT"
10392VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010393> an XML parser input</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010394></TR
10395></TABLE
10396><P
10397></P
10398></DIV
10399></DIV
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010400><HR><DIV
10401CLASS="REFSECT2"
10402><A
Daniel Veillardc7ad7ce2001-03-22 21:45:29 +000010403NAME="AEN18224"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010404></A
10405><H3
10406><A
10407NAME="HTMLINITAUTOCLOSE"
10408></A
10409>htmlInitAutoClose ()</H3
10410><TABLE
10411BORDER="0"
10412BGCOLOR="#D6E8FF"
10413WIDTH="100%"
10414CELLPADDING="6"
10415><TR
10416><TD
10417><PRE
10418CLASS="PROGRAMLISTING"
10419>void htmlInitAutoClose (void);</PRE
10420></TD
10421></TR
10422></TABLE
10423><P
10424>Initialize the htmlStartCloseIndex for fast lookup of closing tags names.
10425This is not reentrant. Call <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010426HREF="libxml-parser.html#XMLINITPARSER"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010427>xmlInitParser</A
10428>() once before processing in
10429case of use in multithreaded programs.</P
10430><P
10431></P
10432></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +000010433></DIV
10434><DIV
10435CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +000010436><BR
10437CLEAR="all"><BR><TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +000010438WIDTH="100%"
10439BORDER="0"
10440BGCOLOR="#000000"
10441CELLPADDING="1"
10442CELLSPACING="0"
10443><TR
10444><TD
10445WIDTH="25%"
10446BGCOLOR="#C00000"
10447ALIGN="left"
10448><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010449HREF="libxml-xmlio.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000010450><FONT
10451COLOR="#FFFFFF"
10452SIZE="3"
10453><B
10454>&#60;&#60;&#60; Previous Page</B
10455></FONT
10456></A
Daniel Veillard35925471999-02-25 08:46:07 +000010457></TD
10458><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010459WIDTH="25%"
10460BGCOLOR="#0000C0"
10461ALIGN="center"
10462><FONT
10463COLOR="#FFFFFF"
10464SIZE="3"
10465><B
10466><A
10467HREF="book1.html"
10468><FONT
10469COLOR="#FFFFFF"
10470SIZE="3"
10471><B
10472>Home</B
10473></FONT
10474></A
10475></B
10476></FONT
10477></TD
10478><TD
10479WIDTH="25%"
10480BGCOLOR="#00C000"
10481ALIGN="center"
10482><FONT
10483COLOR="#FFFFFF"
10484SIZE="3"
10485><B
10486><A
Daniel Veillard35008381999-10-25 13:15:52 +000010487HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000010488><FONT
10489COLOR="#FFFFFF"
10490SIZE="3"
10491><B
10492>Up</B
10493></FONT
10494></A
10495></B
10496></FONT
10497></TD
10498><TD
10499WIDTH="25%"
10500BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000010501ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010502><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010503HREF="libxml-encoding.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010504><FONT
10505COLOR="#FFFFFF"
10506SIZE="3"
10507><B
10508>Next Page &#62;&#62;&#62;</B
10509></FONT
10510></A
10511></TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010512></TR
10513><TR
10514><TD
10515COLSPAN="2"
10516ALIGN="left"
10517><FONT
10518COLOR="#FFFFFF"
10519SIZE="3"
10520><B
Daniel Veillard294cbca1999-12-03 13:19:09 +000010521>xmlIO</B
Daniel Veillard14fff061999-06-22 21:49:07 +000010522></FONT
10523></TD
10524><TD
10525COLSPAN="2"
10526ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010527><FONT
10528COLOR="#FFFFFF"
10529SIZE="3"
10530><B
Daniel Veillard294cbca1999-12-03 13:19:09 +000010531>encoding</B
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010532></FONT
10533></TD
Daniel Veillard35925471999-02-25 08:46:07 +000010534></TR
10535></TABLE
10536></DIV
10537></BODY
10538></HTML
10539>