blob: 37b30367e1d8920eecd731c609676462227a1f29 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>parserInternals</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard60087f32001-10-10 09:45:09 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.64
8"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +00009REL="HOME"
10TITLE="Gnome XML Library Reference Manual"
11HREF="book1.html"><LINK
12REL="UP"
Daniel Veillard35008381999-10-25 13:15:52 +000013TITLE="Libxml Library Reference"
14HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000015REL="PREVIOUS"
Daniel Veillard7d6fd212001-05-10 15:34:11 +000016TITLE="DOCBparser"
17HREF="libxml-docbparser.html"><LINK
Daniel Veillard1566d3a1999-07-15 14:24:29 +000018REL="NEXT"
Daniel Veillard294cbca1999-12-03 13:19:09 +000019TITLE="encoding"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000020HREF="libxml-encoding.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000021><BODY
Daniel Veillardbed7b052001-05-19 14:59:49 +000022CLASS="REFENTRY"
Daniel Veillard35925471999-02-25 08:46:07 +000023BGCOLOR="#FFFFFF"
24TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000025LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
Daniel Veillard35925471999-02-25 08:46:07 +000028><DIV
29CLASS="NAVHEADER"
30><TABLE
31WIDTH="100%"
32BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000033BGCOLOR="#000000"
34CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000035CELLSPACING="0"
36><TR
37><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000038COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000039ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000040><FONT
41COLOR="#FFFFFF"
42SIZE="5"
43>Gnome XML Library Reference Manual</FONT
44></TH
Daniel Veillard35925471999-02-25 08:46:07 +000045></TR
46><TR
47><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000048WIDTH="25%"
49BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000050ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000051><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +000052HREF="libxml-docbparser.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000053><FONT
54COLOR="#FFFFFF"
55SIZE="3"
56><B
57>&#60;&#60;&#60; Previous Page</B
58></FONT
59></A
Daniel Veillard35925471999-02-25 08:46:07 +000060></TD
61><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000062WIDTH="25%"
63BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000064ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000065><FONT
66COLOR="#FFFFFF"
67SIZE="3"
68><B
69><A
70HREF="book1.html"
71><FONT
72COLOR="#FFFFFF"
73SIZE="3"
74><B
75>Home</B
76></FONT
77></A
78></B
79></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000080></TD
81><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000082WIDTH="25%"
83BGCOLOR="#00C000"
84ALIGN="center"
85><FONT
86COLOR="#FFFFFF"
87SIZE="3"
88><B
89><A
Daniel Veillard35008381999-10-25 13:15:52 +000090HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000091><FONT
92COLOR="#FFFFFF"
93SIZE="3"
94><B
95>Up</B
96></FONT
97></A
98></B
99></FONT
100></TD
101><TD
102WIDTH="25%"
103BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +0000104ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000105><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000106HREF="libxml-encoding.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000107><FONT
108COLOR="#FFFFFF"
109SIZE="3"
110><B
111>Next Page &#62;&#62;&#62;</B
112></FONT
113></A
114></TD
Daniel Veillard35925471999-02-25 08:46:07 +0000115></TR
116></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000117></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000118><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000119><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000120NAME="LIBXML-PARSERINTERNALS"
Daniel Veillard503b8932001-01-05 06:36:31 +0000121>parserInternals</A
122></H1
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFNAMEDIV"
125><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +0000126NAME="AEN21089"
Daniel Veillard35925471999-02-25 08:46:07 +0000127></A
128><H2
129>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000130>parserInternals&nbsp;--&nbsp;</DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000131><DIV
132CLASS="REFSYNOPSISDIV"
133><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +0000134NAME="AEN21092"
Daniel Veillard35925471999-02-25 08:46:07 +0000135></A
136><H2
137>Synopsis</H2
138><TABLE
139BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000140BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000141WIDTH="100%"
142CELLPADDING="6"
143><TR
144><TD
145><PRE
146CLASS="SYNOPSIS"
147>&#13;
148
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000149#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000150HREF="libxml-parserinternals.html#XML-MAX-NAMELEN-CAPS"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000151>XML_MAX_NAMELEN</A
152>
Daniel Veillard5099ae81999-04-21 20:12:07 +0000153#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000154HREF="libxml-parserinternals.html#INPUT-CHUNK-CAPS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000155>INPUT_CHUNK</A
156>
157#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000158HREF="libxml-parserinternals.html#IS-CHAR-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000159>IS_CHAR</A
160> (c)
161#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000162HREF="libxml-parserinternals.html#IS-BLANK-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000163>IS_BLANK</A
164> (c)
165#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000166HREF="libxml-parserinternals.html#IS-BASECHAR-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000167>IS_BASECHAR</A
168> (c)
169#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000170HREF="libxml-parserinternals.html#IS-DIGIT-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000171>IS_DIGIT</A
172> (c)
173#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000174HREF="libxml-parserinternals.html#IS-COMBINING-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000175>IS_COMBINING</A
176> (c)
177#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000178HREF="libxml-parserinternals.html#IS-EXTENDER-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000179>IS_EXTENDER</A
180> (c)
181#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000182HREF="libxml-parserinternals.html#IS-IDEOGRAPHIC-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000183>IS_IDEOGRAPHIC</A
184> (c)
185#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000186HREF="libxml-parserinternals.html#IS-LETTER-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000187>IS_LETTER</A
188> (c)
189#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000190HREF="libxml-parserinternals.html#IS-PUBIDCHAR-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000191>IS_PUBIDCHAR</A
192> (c)
193#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000194HREF="libxml-parserinternals.html#SKIP-EOL-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000195>SKIP_EOL</A
196> (p)
197#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000198HREF="libxml-parserinternals.html#MOVETO-ENDTAG-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000199>MOVETO_ENDTAG</A
200> (p)
201#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000202HREF="libxml-parserinternals.html#MOVETO-STARTTAG-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000203>MOVETO_STARTTAG</A
204> (p)
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000205int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000206HREF="libxml-parserinternals.html#XMLISBASECHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000207>xmlIsBaseChar</A
208> (int c);
209int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000210HREF="libxml-parserinternals.html#XMLISBLANK"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000211>xmlIsBlank</A
212> (int c);
213int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000214HREF="libxml-parserinternals.html#XMLISPUBIDCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000215>xmlIsPubidChar</A
216> (int c);
217int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000218HREF="libxml-parserinternals.html#XMLISLETTER"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000219>xmlIsLetter</A
220> (int c);
221int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000222HREF="libxml-parserinternals.html#XMLISDIGIT"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000223>xmlIsDigit</A
224> (int c);
225int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000226HREF="libxml-parserinternals.html#XMLISIDEOGRAPHIC"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000227>xmlIsIdeographic</A
228> (int c);
229int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000230HREF="libxml-parserinternals.html#XMLISEXTENDER"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000231>xmlIsExtender</A
232> (int c);
233int <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000234HREF="libxml-parserinternals.html#XMLISCOMBINING"
235>xmlIsCombining</A
236> (int c);
237int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000238HREF="libxml-parserinternals.html#XMLISCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000239>xmlIsChar</A
240> (int c);
Daniel Veillardd692aa41999-02-28 21:54:31 +0000241<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000242HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardd692aa41999-02-28 21:54:31 +0000243>xmlParserCtxtPtr</A
244> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000245HREF="libxml-parserinternals.html#XMLCREATEFILEPARSERCTXT"
Daniel Veillardd692aa41999-02-28 21:54:31 +0000246>xmlCreateFileParserCtxt</A
247> (const char *filename);
248<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000249HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardd692aa41999-02-28 21:54:31 +0000250>xmlParserCtxtPtr</A
251> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000252HREF="libxml-parserinternals.html#XMLCREATEMEMORYPARSERCTXT"
Daniel Veillardd692aa41999-02-28 21:54:31 +0000253>xmlCreateMemoryParserCtxt</A
Daniel Veillardbed7b052001-05-19 14:59:49 +0000254> (const char *buffer,
Daniel Veillardd692aa41999-02-28 21:54:31 +0000255 int size);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000256<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000257HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000258>xmlParserCtxtPtr</A
259> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000260HREF="libxml-parserinternals.html#XMLNEWPARSERCTXT"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000261>xmlNewParserCtxt</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000262> (void);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000263<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000264HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000265>xmlParserCtxtPtr</A
266> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000267HREF="libxml-parserinternals.html#XMLCREATEENTITYPARSERCTXT"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000268>xmlCreateEntityParserCtxt</A
269> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000270HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000271>xmlChar</A
272> *URL,
273 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000274HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000275>xmlChar</A
276> *ID,
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> *base);
281int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000282HREF="libxml-parserinternals.html#XMLSWITCHENCODING"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000283>xmlSwitchEncoding</A
284> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000285HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000286>xmlParserCtxtPtr</A
287> ctxt,
Daniel Veillard294cbca1999-12-03 13:19:09 +0000288 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000289HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard294cbca1999-12-03 13:19:09 +0000290>xmlCharEncoding</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000291> enc);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000292int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000293HREF="libxml-parserinternals.html#XMLSWITCHTOENCODING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000294>xmlSwitchToEncoding</A
295> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000296HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000297>xmlParserCtxtPtr</A
298> ctxt,
299 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000300HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000301>xmlCharEncodingHandlerPtr</A
302> handler);
303void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000304HREF="libxml-parserinternals.html#XMLHANDLEENTITY"
Daniel Veillard35925471999-02-25 08:46:07 +0000305>xmlHandleEntity</A
306> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000307HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000308>xmlParserCtxtPtr</A
309> ctxt,
310 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000311HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000312>xmlEntityPtr</A
313> entity);
314<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000315HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000316>xmlParserInputPtr</A
317> <A
Daniel Veillarda41123c2001-04-22 19:31:20 +0000318HREF="libxml-parserinternals.html#XMLNEWSTRINGINPUTSTREAM"
319>xmlNewStringInputStream</A
320> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000321HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillarda41123c2001-04-22 19:31:20 +0000322>xmlParserCtxtPtr</A
323> ctxt,
324 const <A
325HREF="libxml-tree.html#XMLCHAR"
326>xmlChar</A
327> *buffer);
328<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000329HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillarda41123c2001-04-22 19:31:20 +0000330>xmlParserInputPtr</A
331> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000332HREF="libxml-parserinternals.html#XMLNEWENTITYINPUTSTREAM"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000333>xmlNewEntityInputStream</A
334> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000335HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000336>xmlParserCtxtPtr</A
337> ctxt,
338 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000339HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000340>xmlEntityPtr</A
341> entity);
342void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000343HREF="libxml-parserinternals.html#XMLPUSHINPUT"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000344>xmlPushInput</A
345> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000346HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000347>xmlParserCtxtPtr</A
348> ctxt,
349 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000350HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000351>xmlParserInputPtr</A
352> input);
353<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000354HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000355>xmlChar</A
356> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000357HREF="libxml-parserinternals.html#XMLPOPINPUT"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000358>xmlPopInput</A
359> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000360HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000361>xmlParserCtxtPtr</A
362> ctxt);
363void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000364HREF="libxml-parserinternals.html#XMLFREEINPUTSTREAM"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000365>xmlFreeInputStream</A
366> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000367HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000368>xmlParserInputPtr</A
369> input);
370<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000371HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000372>xmlParserInputPtr</A
373> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000374HREF="libxml-parserinternals.html#XMLNEWINPUTFROMFILE"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000375>xmlNewInputFromFile</A
376> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000377HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000378>xmlParserCtxtPtr</A
379> ctxt,
380 const char *filename);
381<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000382HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000383>xmlParserInputPtr</A
384> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000385HREF="libxml-parserinternals.html#XMLNEWINPUTSTREAM"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000386>xmlNewInputStream</A
387> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000388HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000389>xmlParserCtxtPtr</A
390> ctxt);
391<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000392HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000393>xmlChar</A
394>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000395HREF="libxml-parserinternals.html#XMLSPLITQNAME"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000396>xmlSplitQName</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000397> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000398HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000399>xmlParserCtxtPtr</A
400> ctxt,
401 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000402HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000403>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000404> *name,
405 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000406HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000407>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000408> **prefix);
409<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000410HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000411>xmlChar</A
412>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000413HREF="libxml-parserinternals.html#XMLNAMESPACEPARSENCNAME"
Daniel Veillard35925471999-02-25 08:46:07 +0000414>xmlNamespaceParseNCName</A
415> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000416HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000417>xmlParserCtxtPtr</A
418> ctxt);
419<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000420HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000421>xmlChar</A
422>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000423HREF="libxml-parserinternals.html#XMLNAMESPACEPARSEQNAME"
Daniel Veillard35925471999-02-25 08:46:07 +0000424>xmlNamespaceParseQName</A
425> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000426HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000427>xmlParserCtxtPtr</A
428> ctxt,
429 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000430HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000431>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000432> **prefix);
433<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000434HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000435>xmlChar</A
436>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000437HREF="libxml-parserinternals.html#XMLNAMESPACEPARSENSDEF"
Daniel Veillard35925471999-02-25 08:46:07 +0000438>xmlNamespaceParseNSDef</A
439> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000440HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000441>xmlParserCtxtPtr</A
442> ctxt);
443<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000444HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000445>xmlChar</A
446>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000447HREF="libxml-parserinternals.html#XMLPARSEQUOTEDSTRING"
Daniel Veillard35925471999-02-25 08:46:07 +0000448>xmlParseQuotedString</A
449> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000450HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000451>xmlParserCtxtPtr</A
452> ctxt);
453void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000454HREF="libxml-parserinternals.html#XMLPARSENAMESPACE"
Daniel Veillard35925471999-02-25 08:46:07 +0000455>xmlParseNamespace</A
456> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000457HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000458>xmlParserCtxtPtr</A
459> ctxt);
460<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000461HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000462>xmlChar</A
463>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000464HREF="libxml-parserinternals.html#XMLSCANNAME"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000465>xmlScanName</A
466> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000467HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000468>xmlParserCtxtPtr</A
469> ctxt);
470<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000471HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000472>xmlChar</A
473>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000474HREF="libxml-parserinternals.html#XMLPARSENAME"
Daniel Veillard35925471999-02-25 08:46:07 +0000475>xmlParseName</A
476> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000477HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000478>xmlParserCtxtPtr</A
479> ctxt);
480<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000481HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000482>xmlChar</A
483>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000484HREF="libxml-parserinternals.html#XMLPARSENMTOKEN"
Daniel Veillard35925471999-02-25 08:46:07 +0000485>xmlParseNmtoken</A
486> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000487HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000488>xmlParserCtxtPtr</A
489> ctxt);
490<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000491HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000492>xmlChar</A
493>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000494HREF="libxml-parserinternals.html#XMLPARSEENTITYVALUE"
Daniel Veillard35925471999-02-25 08:46:07 +0000495>xmlParseEntityValue</A
496> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000497HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000498>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000499> ctxt,
500 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000501HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000502>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000503> **orig);
Daniel Veillard35925471999-02-25 08:46:07 +0000504<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000505HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000506>xmlChar</A
507>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000508HREF="libxml-parserinternals.html#XMLPARSEATTVALUE"
Daniel Veillard35925471999-02-25 08:46:07 +0000509>xmlParseAttValue</A
510> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000511HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000512>xmlParserCtxtPtr</A
513> ctxt);
514<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000515HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000516>xmlChar</A
517>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000518HREF="libxml-parserinternals.html#XMLPARSESYSTEMLITERAL"
Daniel Veillard35925471999-02-25 08:46:07 +0000519>xmlParseSystemLiteral</A
520> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000521HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000522>xmlParserCtxtPtr</A
523> ctxt);
524<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000525HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000526>xmlChar</A
527>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000528HREF="libxml-parserinternals.html#XMLPARSEPUBIDLITERAL"
Daniel Veillard35925471999-02-25 08:46:07 +0000529>xmlParsePubidLiteral</A
530> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000531HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000532>xmlParserCtxtPtr</A
533> ctxt);
534void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000535HREF="libxml-parserinternals.html#XMLPARSECHARDATA"
Daniel Veillard35925471999-02-25 08:46:07 +0000536>xmlParseCharData</A
537> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000538HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000539>xmlParserCtxtPtr</A
540> ctxt,
541 int cdata);
542<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000543HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000544>xmlChar</A
545>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000546HREF="libxml-parserinternals.html#XMLPARSEEXTERNALID"
Daniel Veillard35925471999-02-25 08:46:07 +0000547>xmlParseExternalID</A
548> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000549HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000550>xmlParserCtxtPtr</A
551> ctxt,
552 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000553HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000554>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000555> **publicID,
556 int strict);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000557void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000558HREF="libxml-parserinternals.html#XMLPARSECOMMENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000559>xmlParseComment</A
560> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000561HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000562>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000563> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000564<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000565HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000566>xmlChar</A
567>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000568HREF="libxml-parserinternals.html#XMLPARSEPITARGET"
Daniel Veillard35925471999-02-25 08:46:07 +0000569>xmlParsePITarget</A
570> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000571HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000572>xmlParserCtxtPtr</A
573> ctxt);
574void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000575HREF="libxml-parserinternals.html#XMLPARSEPI"
Daniel Veillard35925471999-02-25 08:46:07 +0000576>xmlParsePI</A
577> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000578HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000579>xmlParserCtxtPtr</A
580> ctxt);
581void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000582HREF="libxml-parserinternals.html#XMLPARSENOTATIONDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000583>xmlParseNotationDecl</A
584> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000585HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000586>xmlParserCtxtPtr</A
587> ctxt);
588void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000589HREF="libxml-parserinternals.html#XMLPARSEENTITYDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000590>xmlParseEntityDecl</A
591> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000592HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000593>xmlParserCtxtPtr</A
594> ctxt);
595int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000596HREF="libxml-parserinternals.html#XMLPARSEDEFAULTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000597>xmlParseDefaultDecl</A
598> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000599HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000600>xmlParserCtxtPtr</A
601> ctxt,
602 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000603HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000604>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000605> **value);
606<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000607HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000608>xmlEnumerationPtr</A
609> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000610HREF="libxml-parserinternals.html#XMLPARSENOTATIONTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000611>xmlParseNotationType</A
612> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000613HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000614>xmlParserCtxtPtr</A
615> ctxt);
616<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000617HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000618>xmlEnumerationPtr</A
619> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000620HREF="libxml-parserinternals.html#XMLPARSEENUMERATIONTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000621>xmlParseEnumerationType</A
622> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000623HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000624>xmlParserCtxtPtr</A
625> ctxt);
626int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000627HREF="libxml-parserinternals.html#XMLPARSEENUMERATEDTYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000628>xmlParseEnumeratedType</A
629> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000630HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000631>xmlParserCtxtPtr</A
632> ctxt,
633 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000634HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000635>xmlEnumerationPtr</A
636> *tree);
637int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000638HREF="libxml-parserinternals.html#XMLPARSEATTRIBUTETYPE"
Daniel Veillard35925471999-02-25 08:46:07 +0000639>xmlParseAttributeType</A
640> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000641HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000642>xmlParserCtxtPtr</A
643> ctxt,
644 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000645HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000646>xmlEnumerationPtr</A
647> *tree);
648void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000649HREF="libxml-parserinternals.html#XMLPARSEATTRIBUTELISTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000650>xmlParseAttributeListDecl</A
651> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000652HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000653>xmlParserCtxtPtr</A
654> ctxt);
655<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000656HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000657>xmlElementContentPtr</A
658> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000659HREF="libxml-parserinternals.html#XMLPARSEELEMENTMIXEDCONTENTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000660>xmlParseElementMixedContentDecl</A
661>
662 (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000663HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000664>xmlParserCtxtPtr</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000665> ctxt,
666 <A
667HREF="libxml-tree.html#XMLPARSERINPUTPTR"
668>xmlParserInputPtr</A
669> inputchk);
Daniel Veillard35925471999-02-25 08:46:07 +0000670<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000671HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000672>xmlElementContentPtr</A
673> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000674HREF="libxml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTD"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000675>xmlParseElementChildrenContentD</A
676>
677 (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000678HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000679>xmlParserCtxtPtr</A
680> ctxt);
681<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000682HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000683>xmlElementContentPtr</A
684> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000685HREF="libxml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000686>xmlParseElementChildrenContentDecl</A
687>
688 (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000689HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000690>xmlParserCtxtPtr</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000691> ctxt,
692 <A
693HREF="libxml-tree.html#XMLPARSERINPUTPTR"
694>xmlParserInputPtr</A
695> inputchk);
Daniel Veillard35925471999-02-25 08:46:07 +0000696int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000697HREF="libxml-parserinternals.html#XMLPARSEELEMENTCONTENTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000698>xmlParseElementContentDecl</A
699> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000700HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000701>xmlParserCtxtPtr</A
702> ctxt,
703 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000704HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000705>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000706> *name,
707 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000708HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000709>xmlElementContentPtr</A
710> *result);
711int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000712HREF="libxml-parserinternals.html#XMLPARSEELEMENTDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000713>xmlParseElementDecl</A
714> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000715HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000716>xmlParserCtxtPtr</A
717> ctxt);
718void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000719HREF="libxml-parserinternals.html#XMLPARSEMARKUPDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000720>xmlParseMarkupDecl</A
721> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000722HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000723>xmlParserCtxtPtr</A
724> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000725int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000726HREF="libxml-parserinternals.html#XMLPARSECHARREF"
Daniel Veillard35925471999-02-25 08:46:07 +0000727>xmlParseCharRef</A
728> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000729HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000730>xmlParserCtxtPtr</A
731> ctxt);
732<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +0000733HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000734>xmlEntityPtr</A
735> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000736HREF="libxml-parserinternals.html#XMLPARSEENTITYREF"
Daniel Veillard35925471999-02-25 08:46:07 +0000737>xmlParseEntityRef</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000738> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000739HREF="libxml-tree.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#XMLPARSEREFERENCE"
Daniel Veillard35925471999-02-25 08:46:07 +0000744>xmlParseReference</A
745> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000746HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000747>xmlParserCtxtPtr</A
748> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000749void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000750HREF="libxml-parserinternals.html#XMLPARSEPEREFERENCE"
Daniel Veillard35925471999-02-25 08:46:07 +0000751>xmlParsePEReference</A
752> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000753HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000754>xmlParserCtxtPtr</A
755> ctxt);
756void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000757HREF="libxml-parserinternals.html#XMLPARSEDOCTYPEDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000758>xmlParseDocTypeDecl</A
759> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000760HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000761>xmlParserCtxtPtr</A
762> ctxt);
763<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000764HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000765>xmlChar</A
766>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000767HREF="libxml-parserinternals.html#XMLPARSEATTRIBUTE"
Daniel Veillard35925471999-02-25 08:46:07 +0000768>xmlParseAttribute</A
769> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000770HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000771>xmlParserCtxtPtr</A
772> ctxt,
773 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000774HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000775>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000776> **value);
Daniel Veillard14fff061999-06-22 21:49:07 +0000777<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000778HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000779>xmlChar</A
780>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000781HREF="libxml-parserinternals.html#XMLPARSESTARTTAG"
Daniel Veillard35925471999-02-25 08:46:07 +0000782>xmlParseStartTag</A
783> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000784HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000785>xmlParserCtxtPtr</A
786> ctxt);
787void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000788HREF="libxml-parserinternals.html#XMLPARSEENDTAG"
Daniel Veillard35925471999-02-25 08:46:07 +0000789>xmlParseEndTag</A
790> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000791HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000792>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +0000793> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000794void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000795HREF="libxml-parserinternals.html#XMLPARSECDSECT"
Daniel Veillard35925471999-02-25 08:46:07 +0000796>xmlParseCDSect</A
797> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000798HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000799>xmlParserCtxtPtr</A
800> ctxt);
801void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000802HREF="libxml-parserinternals.html#XMLPARSECONTENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000803>xmlParseContent</A
804> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000805HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000806>xmlParserCtxtPtr</A
807> ctxt);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000808void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000809HREF="libxml-parserinternals.html#XMLPARSEELEMENT"
Daniel Veillard35925471999-02-25 08:46:07 +0000810>xmlParseElement</A
811> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000812HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000813>xmlParserCtxtPtr</A
814> ctxt);
815<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000816HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000817>xmlChar</A
818>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000819HREF="libxml-parserinternals.html#XMLPARSEVERSIONNUM"
Daniel Veillard35925471999-02-25 08:46:07 +0000820>xmlParseVersionNum</A
821> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000822HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000823>xmlParserCtxtPtr</A
824> ctxt);
825<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000826HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000827>xmlChar</A
828>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000829HREF="libxml-parserinternals.html#XMLPARSEVERSIONINFO"
Daniel Veillard35925471999-02-25 08:46:07 +0000830>xmlParseVersionInfo</A
831> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000832HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000833>xmlParserCtxtPtr</A
834> ctxt);
835<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000836HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000837>xmlChar</A
838>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000839HREF="libxml-parserinternals.html#XMLPARSEENCNAME"
Daniel Veillard35925471999-02-25 08:46:07 +0000840>xmlParseEncName</A
841> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000842HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000843>xmlParserCtxtPtr</A
844> ctxt);
845<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000846HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000847>xmlChar</A
848>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000849HREF="libxml-parserinternals.html#XMLPARSEENCODINGDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000850>xmlParseEncodingDecl</A
851> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000852HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000853>xmlParserCtxtPtr</A
854> ctxt);
855int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000856HREF="libxml-parserinternals.html#XMLPARSESDDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000857>xmlParseSDDecl</A
858> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000859HREF="libxml-tree.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#XMLPARSEXMLDECL"
Daniel Veillard35925471999-02-25 08:46:07 +0000864>xmlParseXMLDecl</A
865> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000866HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000867>xmlParserCtxtPtr</A
868> ctxt);
869void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000870HREF="libxml-parserinternals.html#XMLPARSETEXTDECL"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000871>xmlParseTextDecl</A
872> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000873HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000874>xmlParserCtxtPtr</A
875> ctxt);
876void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000877HREF="libxml-parserinternals.html#XMLPARSEMISC"
Daniel Veillard35925471999-02-25 08:46:07 +0000878>xmlParseMisc</A
879> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000880HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +0000881>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000882> ctxt);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000883void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000884HREF="libxml-parserinternals.html#XMLPARSEEXTERNALSUBSET"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000885>xmlParseExternalSubset</A
886> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000887HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000888>xmlParserCtxtPtr</A
889> ctxt,
890 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000891HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000892>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000893> *ExternalID,
894 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000895HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000896>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000897> *SystemID);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000898#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000899HREF="libxml-parserinternals.html#XML-SUBSTITUTE-NONE-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000900>XML_SUBSTITUTE_NONE</A
901>
902#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000903HREF="libxml-parserinternals.html#XML-SUBSTITUTE-REF-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000904>XML_SUBSTITUTE_REF</A
905>
906#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000907HREF="libxml-parserinternals.html#XML-SUBSTITUTE-PEREF-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000908>XML_SUBSTITUTE_PEREF</A
909>
910#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000911HREF="libxml-parserinternals.html#XML-SUBSTITUTE-BOTH-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000912>XML_SUBSTITUTE_BOTH</A
913>
914<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000915HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000916>xmlChar</A
917>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000918HREF="libxml-parserinternals.html#XMLDECODEENTITIES"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000919>xmlDecodeEntities</A
920> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000921HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +0000922>xmlParserCtxtPtr</A
923> ctxt,
924 int len,
925 int what,
926 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000927HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000928>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000929> end,
930 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000931HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000932>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000933> end2,
934 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000935HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000936>xmlChar</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000937> end3);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000938<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000939HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000940>xmlChar</A
941>* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000942HREF="libxml-parserinternals.html#XMLSTRINGDECODEENTITIES"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000943>xmlStringDecodeEntities</A
944> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000945HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000946>xmlParserCtxtPtr</A
947> ctxt,
948 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000949HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000950>xmlChar</A
951> *str,
952 int what,
953 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000954HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000955>xmlChar</A
956> end,
957 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000958HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000959>xmlChar</A
960> end2,
961 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000962HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000963>xmlChar</A
964> end3);
Daniel Veillard14fff061999-06-22 21:49:07 +0000965int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000966HREF="libxml-parserinternals.html#NODEPUSH"
Daniel Veillard14fff061999-06-22 21:49:07 +0000967>nodePush</A
968> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000969HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +0000970>xmlParserCtxtPtr</A
971> ctxt,
972 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000973HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +0000974>xmlNodePtr</A
975> value);
976<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000977HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +0000978>xmlNodePtr</A
979> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000980HREF="libxml-parserinternals.html#NODEPOP"
Daniel Veillard14fff061999-06-22 21:49:07 +0000981>nodePop</A
982> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000983HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +0000984>xmlParserCtxtPtr</A
985> ctxt);
986int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000987HREF="libxml-parserinternals.html#INPUTPUSH"
Daniel Veillard14fff061999-06-22 21:49:07 +0000988>inputPush</A
989> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000990HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +0000991>xmlParserCtxtPtr</A
992> ctxt,
993 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000994HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +0000995>xmlParserInputPtr</A
996> value);
997<A
Daniel Veillard43d3f612001-11-10 11:57:23 +0000998HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +0000999>xmlParserInputPtr</A
1000> <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001001HREF="libxml-parserinternals.html#INPUTPOP"
Daniel Veillard14fff061999-06-22 21:49:07 +00001002>inputPop</A
1003> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001004HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00001005>xmlParserCtxtPtr</A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001006> ctxt);
Daniel Veillarda41123c2001-04-22 19:31:20 +00001007<A
1008HREF="libxml-tree.html#XMLCHAR"
1009>xmlChar</A
1010>* <A
1011HREF="libxml-parserinternals.html#NAMEPOP"
1012>namePop</A
1013> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001014HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillarda41123c2001-04-22 19:31:20 +00001015>xmlParserCtxtPtr</A
1016> ctxt);
1017int <A
1018HREF="libxml-parserinternals.html#NAMEPUSH"
1019>namePush</A
1020> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001021HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillarda41123c2001-04-22 19:31:20 +00001022>xmlParserCtxtPtr</A
1023> ctxt,
1024 <A
1025HREF="libxml-tree.html#XMLCHAR"
1026>xmlChar</A
1027> *value);
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001028int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001029HREF="libxml-parserinternals.html#XMLSKIPBLANKCHARS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001030>xmlSkipBlankChars</A
1031> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001032HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001033>xmlParserCtxtPtr</A
1034> ctxt);
1035int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001036HREF="libxml-parserinternals.html#XMLSTRINGCURRENTCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001037>xmlStringCurrentChar</A
1038> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001039HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001040>xmlParserCtxtPtr</A
1041> ctxt,
1042 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001043HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001044>xmlChar</A
1045> *cur,
1046 int *len);
1047void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001048HREF="libxml-parserinternals.html#XMLPARSERHANDLEPEREFERENCE"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001049>xmlParserHandlePEReference</A
1050> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001051HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001052>xmlParserCtxtPtr</A
1053> ctxt);
1054void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001055HREF="libxml-parserinternals.html#XMLPARSERHANDLEREFERENCE"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001056>xmlParserHandleReference</A
1057> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001058HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001059>xmlParserCtxtPtr</A
1060> ctxt);
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001061int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001062HREF="libxml-parserinternals.html#XMLCHECKLANGUAGEID"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001063>xmlCheckLanguageID</A
1064> (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001065HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001066>xmlChar</A
1067> *lang);
1068int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001069HREF="libxml-parserinternals.html#XMLCURRENTCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001070>xmlCurrentChar</A
1071> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001072HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001073>xmlParserCtxtPtr</A
1074> ctxt,
1075 int *len);
1076int <A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001077HREF="libxml-parserinternals.html#XMLCOPYCHARMULTIBYTE"
1078>xmlCopyCharMultiByte</A
1079> (<A
1080HREF="libxml-tree.html#XMLCHAR"
1081>xmlChar</A
1082> *out,
1083 int val);
1084int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001085HREF="libxml-parserinternals.html#XMLCOPYCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001086>xmlCopyChar</A
1087> (int len,
1088 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001089HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001090>xmlChar</A
1091> *out,
1092 int val);
1093void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001094HREF="libxml-parserinternals.html#XMLNEXTCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001095>xmlNextChar</A
1096> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001097HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001098>xmlParserCtxtPtr</A
1099> ctxt);
1100void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001101HREF="libxml-parserinternals.html#XMLPARSERINPUTSHRINK"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001102>xmlParserInputShrink</A
1103> (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00001104HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001105>xmlParserInputPtr</A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001106> in);
1107void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001108HREF="libxml-parserinternals.html#HTMLINITAUTOCLOSE"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001109>htmlInitAutoClose</A
Daniel Veillarda41123c2001-04-22 19:31:20 +00001110> (void);
1111<A
1112HREF="libxml-htmlparser.html#HTMLPARSERCTXTPTR"
1113>htmlParserCtxtPtr</A
1114> <A
1115HREF="libxml-parserinternals.html#HTMLCREATEFILEPARSERCTXT"
1116>htmlCreateFileParserCtxt</A
1117> (const char *filename,
Daniel Veillard744683d2002-01-14 17:30:20 +00001118 const char *encoding);
1119void (<A
1120HREF="libxml-parserinternals.html#XMLENTITYREFERENCEFUNC"
1121>*xmlEntityReferenceFunc</A
1122>) (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00001123HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillard744683d2002-01-14 17:30:20 +00001124>xmlEntityPtr</A
1125> ent,
1126 <A
1127HREF="libxml-tree.html#XMLNODEPTR"
1128>xmlNodePtr</A
1129> firstNode,
1130 <A
1131HREF="libxml-tree.html#XMLNODEPTR"
1132>xmlNodePtr</A
1133> lastNode);
1134void <A
1135HREF="libxml-parserinternals.html#XMLSETENTITYREFERENCEFUNC"
1136>xmlSetEntityReferenceFunc</A
1137> (<A
1138HREF="libxml-parserinternals.html#XMLENTITYREFERENCEFUNC"
1139>xmlEntityReferenceFunc</A
1140> func);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001141></TD
1142></TR
1143></TABLE
1144></DIV
1145><DIV
1146CLASS="REFSECT1"
1147><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001148NAME="AEN21370"
Daniel Veillard35925471999-02-25 08:46:07 +00001149></A
1150><H2
1151>Description</H2
1152><P
1153></P
1154></DIV
1155><DIV
1156CLASS="REFSECT1"
1157><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001158NAME="AEN21373"
Daniel Veillard35925471999-02-25 08:46:07 +00001159></A
1160><H2
1161>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001162><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001163CLASS="REFSECT2"
1164><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001165NAME="AEN21375"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001166></A
1167><H3
1168><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001169NAME="XML-MAX-NAMELEN-CAPS"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001170></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001171>XML_MAX_NAMELEN</H3
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001172><TABLE
1173BORDER="0"
1174BGCOLOR="#D6E8FF"
1175WIDTH="100%"
1176CELLPADDING="6"
1177><TR
1178><TD
1179><PRE
1180CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001181>#define XML_MAX_NAMELEN 100</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001182></TD
1183></TR
1184></TABLE
1185><P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001186>Identifiers can be longer, but this will be more costly
1187at runtime.</P
1188><P
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001189></P
1190></DIV
1191><HR><DIV
1192CLASS="REFSECT2"
1193><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001194NAME="AEN21381"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001195></A
1196><H3
1197><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001198NAME="INPUT-CHUNK-CAPS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001199></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001200>INPUT_CHUNK</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001201><TABLE
1202BORDER="0"
1203BGCOLOR="#D6E8FF"
1204WIDTH="100%"
1205CELLPADDING="6"
1206><TR
1207><TD
1208><PRE
1209CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001210>#define INPUT_CHUNK 250</PRE
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001211></TD
1212></TR
1213></TABLE
1214><P
Daniel Veillard19274092002-03-25 16:48:03 +00001215>The parser tries to always have that amount of input ready.
1216One of the point is providing context when reporting errors.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001217><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001218></P
1219></DIV
1220><HR><DIV
1221CLASS="REFSECT2"
1222><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001223NAME="AEN21387"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001224></A
1225><H3
1226><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001227NAME="IS-CHAR-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001228></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001229>IS_CHAR()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00001230><TABLE
1231BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001232BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001233WIDTH="100%"
1234CELLPADDING="6"
1235><TR
1236><TD
1237><PRE
1238CLASS="PROGRAMLISTING"
1239>#define IS_CHAR(c)</PRE
1240></TD
1241></TR
1242></TABLE
1243><P
Daniel Veillard19274092002-03-25 16:48:03 +00001244>Macro to check the following production in the XML spec:</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001245><P
1246>[2] Char ::= <GTKDOCLINK
1247HREF="X9"
1248>x9</GTKDOCLINK
1249> | <GTKDOCLINK
1250HREF="XA"
1251>xA</GTKDOCLINK
1252> | <GTKDOCLINK
1253HREF="XD"
1254>xD</GTKDOCLINK
1255> | [<GTKDOCLINK
1256HREF="X20-"
1257>x20-</GTKDOCLINK
1258><GTKDOCLINK
1259HREF="XD7FF"
1260>xD7FF</GTKDOCLINK
1261>] | [<GTKDOCLINK
1262HREF="XE000-"
1263>xE000-</GTKDOCLINK
1264><GTKDOCLINK
1265HREF="XFFFD"
1266>xFFFD</GTKDOCLINK
1267>]
Daniel Veillardaf43f632002-03-08 15:05:20 +00001268| [<GTKDOCLINK
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001269HREF="X10000-"
1270>x10000-</GTKDOCLINK
1271><GTKDOCLINK
1272HREF="X10FFFF"
1273>x10FFFF</GTKDOCLINK
1274>]
1275any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.</P
1276><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00001277></P
1278><DIV
1279CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001280><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001281NAME="AEN21403"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001282></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001283><P
1284></P
1285><TABLE
1286BORDER="0"
1287WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001288BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001289CELLSPACING="0"
1290CELLPADDING="4"
1291CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001292><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00001293><TR
1294><TD
1295WIDTH="20%"
1296ALIGN="RIGHT"
1297VALIGN="TOP"
1298><TT
1299CLASS="PARAMETER"
1300><I
1301>c</I
1302></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001303>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001304><TD
1305WIDTH="80%"
1306ALIGN="LEFT"
1307VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001308> an UNICODE value (int)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001309></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001310></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00001311></TABLE
1312><P
1313></P
1314></DIV
1315></DIV
1316><HR><DIV
1317CLASS="REFSECT2"
1318><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001319NAME="AEN21412"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001320></A
1321><H3
1322><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001323NAME="IS-BLANK-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001324></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001325>IS_BLANK()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00001326><TABLE
1327BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001328BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001329WIDTH="100%"
1330CELLPADDING="6"
1331><TR
1332><TD
1333><PRE
1334CLASS="PROGRAMLISTING"
1335>#define IS_BLANK(c)</PRE
1336></TD
1337></TR
1338></TABLE
1339><P
Daniel Veillard19274092002-03-25 16:48:03 +00001340>Macro to check the following production in the XML spec:</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001341><P
1342>[3] S ::= (<GTKDOCLINK
1343HREF="X20"
1344>x20</GTKDOCLINK
1345> | <GTKDOCLINK
1346HREF="X9"
1347>x9</GTKDOCLINK
1348> | <GTKDOCLINK
1349HREF="XD"
1350>xD</GTKDOCLINK
1351> | <GTKDOCLINK
1352HREF="XA"
1353>xA</GTKDOCLINK
1354>)+</P
1355><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00001356></P
1357><DIV
1358CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001359><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001360NAME="AEN21423"
Daniel Veillard04382ae2001-09-12 18:51:30 +00001361></A
1362><P
1363></P
1364><TABLE
1365BORDER="0"
1366WIDTH="100%"
1367BGCOLOR="#FFD0D0"
1368CELLSPACING="0"
1369CELLPADDING="4"
1370CLASS="CALSTABLE"
1371><TBODY
1372><TR
1373><TD
1374WIDTH="20%"
1375ALIGN="RIGHT"
1376VALIGN="TOP"
1377><TT
1378CLASS="PARAMETER"
1379><I
1380>c</I
1381></TT
1382>&nbsp;:</TD
1383><TD
1384WIDTH="80%"
1385ALIGN="LEFT"
1386VALIGN="TOP"
1387> an UNICODE value (int)</TD
1388></TR
1389></TBODY
1390></TABLE
1391><P
1392></P
1393></DIV
1394></DIV
1395><HR><DIV
1396CLASS="REFSECT2"
1397><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001398NAME="AEN21432"
Daniel Veillard04382ae2001-09-12 18:51:30 +00001399></A
1400><H3
1401><A
Daniel Veillardef90ba72001-12-07 14:24:22 +00001402NAME="IS-BASECHAR-CAPS"
1403></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001404>IS_BASECHAR()</H3
Daniel Veillardef90ba72001-12-07 14:24:22 +00001405><TABLE
1406BORDER="0"
1407BGCOLOR="#D6E8FF"
1408WIDTH="100%"
1409CELLPADDING="6"
1410><TR
1411><TD
1412><PRE
1413CLASS="PROGRAMLISTING"
1414>#define IS_BASECHAR(c) xmlIsBaseChar(c)</PRE
1415></TD
1416></TR
1417></TABLE
1418><P
Daniel Veillard19274092002-03-25 16:48:03 +00001419>Macro to check the following production in the XML spec:</P
Daniel Veillardef90ba72001-12-07 14:24:22 +00001420><P
1421>[85] BaseChar ::= ... long list see REC ...</P
1422><P
1423></P
1424><DIV
1425CLASS="INFORMALTABLE"
1426><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001427NAME="AEN21439"
Daniel Veillardef90ba72001-12-07 14:24:22 +00001428></A
1429><P
1430></P
1431><TABLE
1432BORDER="0"
1433WIDTH="100%"
1434BGCOLOR="#FFD0D0"
1435CELLSPACING="0"
1436CELLPADDING="4"
1437CLASS="CALSTABLE"
1438><TBODY
1439><TR
1440><TD
1441WIDTH="20%"
1442ALIGN="RIGHT"
1443VALIGN="TOP"
1444><TT
1445CLASS="PARAMETER"
1446><I
1447>c</I
1448></TT
1449>&nbsp;:</TD
1450><TD
1451WIDTH="80%"
1452ALIGN="LEFT"
1453VALIGN="TOP"
1454> an UNICODE value (int)</TD
1455></TR
1456></TBODY
1457></TABLE
1458><P
1459></P
1460></DIV
1461></DIV
1462><HR><DIV
1463CLASS="REFSECT2"
1464><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001465NAME="AEN21448"
Daniel Veillardef90ba72001-12-07 14:24:22 +00001466></A
1467><H3
1468><A
1469NAME="IS-DIGIT-CAPS"
1470></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001471>IS_DIGIT()</H3
Daniel Veillardef90ba72001-12-07 14:24:22 +00001472><TABLE
1473BORDER="0"
1474BGCOLOR="#D6E8FF"
1475WIDTH="100%"
1476CELLPADDING="6"
1477><TR
1478><TD
1479><PRE
1480CLASS="PROGRAMLISTING"
1481>#define IS_DIGIT(c) xmlIsDigit(c)</PRE
1482></TD
1483></TR
1484></TABLE
1485><P
Daniel Veillard19274092002-03-25 16:48:03 +00001486>Macro to check the following production in the XML spec:</P
Daniel Veillardef90ba72001-12-07 14:24:22 +00001487><P
1488>[88] Digit ::= ... long list see REC ...</P
1489><P
1490></P
1491><DIV
1492CLASS="INFORMALTABLE"
1493><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001494NAME="AEN21455"
Daniel Veillardef90ba72001-12-07 14:24:22 +00001495></A
1496><P
1497></P
1498><TABLE
1499BORDER="0"
1500WIDTH="100%"
1501BGCOLOR="#FFD0D0"
1502CELLSPACING="0"
1503CELLPADDING="4"
1504CLASS="CALSTABLE"
1505><TBODY
1506><TR
1507><TD
1508WIDTH="20%"
1509ALIGN="RIGHT"
1510VALIGN="TOP"
1511><TT
1512CLASS="PARAMETER"
1513><I
1514>c</I
1515></TT
1516>&nbsp;:</TD
1517><TD
1518WIDTH="80%"
1519ALIGN="LEFT"
1520VALIGN="TOP"
1521> an UNICODE value (int)</TD
1522></TR
1523></TBODY
1524></TABLE
1525><P
1526></P
1527></DIV
1528></DIV
1529><HR><DIV
1530CLASS="REFSECT2"
1531><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001532NAME="AEN21464"
Daniel Veillardef90ba72001-12-07 14:24:22 +00001533></A
1534><H3
1535><A
1536NAME="IS-COMBINING-CAPS"
1537></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001538>IS_COMBINING()</H3
Daniel Veillardef90ba72001-12-07 14:24:22 +00001539><TABLE
1540BORDER="0"
1541BGCOLOR="#D6E8FF"
1542WIDTH="100%"
1543CELLPADDING="6"
1544><TR
1545><TD
1546><PRE
1547CLASS="PROGRAMLISTING"
1548>#define IS_COMBINING(c) xmlIsCombining(c)</PRE
1549></TD
1550></TR
1551></TABLE
1552><P
Daniel Veillard19274092002-03-25 16:48:03 +00001553>Macro to check the following production in the XML spec:</P
Daniel Veillardef90ba72001-12-07 14:24:22 +00001554><P
1555>[87] CombiningChar ::= ... long list see REC ...</P
1556><P
1557></P
1558><DIV
1559CLASS="INFORMALTABLE"
1560><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001561NAME="AEN21471"
Daniel Veillardef90ba72001-12-07 14:24:22 +00001562></A
1563><P
1564></P
1565><TABLE
1566BORDER="0"
1567WIDTH="100%"
1568BGCOLOR="#FFD0D0"
1569CELLSPACING="0"
1570CELLPADDING="4"
1571CLASS="CALSTABLE"
1572><TBODY
1573><TR
1574><TD
1575WIDTH="20%"
1576ALIGN="RIGHT"
1577VALIGN="TOP"
1578><TT
1579CLASS="PARAMETER"
1580><I
1581>c</I
1582></TT
1583>&nbsp;:</TD
1584><TD
1585WIDTH="80%"
1586ALIGN="LEFT"
1587VALIGN="TOP"
1588> an UNICODE value (int)</TD
1589></TR
1590></TBODY
1591></TABLE
1592><P
1593></P
1594></DIV
1595></DIV
1596><HR><DIV
1597CLASS="REFSECT2"
1598><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001599NAME="AEN21480"
Daniel Veillardef90ba72001-12-07 14:24:22 +00001600></A
1601><H3
1602><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001603NAME="IS-EXTENDER-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001604></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001605>IS_EXTENDER()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00001606><TABLE
1607BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001608BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001609WIDTH="100%"
1610CELLPADDING="6"
1611><TR
1612><TD
1613><PRE
1614CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001615>#define IS_EXTENDER(c) xmlIsExtender(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001616></TD
1617></TR
1618></TABLE
1619><P
Daniel Veillard19274092002-03-25 16:48:03 +00001620>Macro to check the following production in the XML spec:</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001621><P
1622>[89] Extender ::= <GTKDOCLINK
1623HREF="X00B7"
1624>x00B7</GTKDOCLINK
1625> | <GTKDOCLINK
1626HREF="X02D0"
1627>x02D0</GTKDOCLINK
1628> | <GTKDOCLINK
1629HREF="X02D1"
1630>x02D1</GTKDOCLINK
1631> | <GTKDOCLINK
1632HREF="X0387"
1633>x0387</GTKDOCLINK
1634> | <GTKDOCLINK
1635HREF="X0640"
1636>x0640</GTKDOCLINK
1637> |
Daniel Veillardaf43f632002-03-08 15:05:20 +00001638<GTKDOCLINK
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001639HREF="X0E46"
1640>x0E46</GTKDOCLINK
1641> | <GTKDOCLINK
1642HREF="X0EC6"
1643>x0EC6</GTKDOCLINK
1644> | <GTKDOCLINK
1645HREF="X3005"
1646>x3005</GTKDOCLINK
1647> | [<GTKDOCLINK
1648HREF="X3031-"
1649>x3031-</GTKDOCLINK
1650><GTKDOCLINK
1651HREF="X3035"
1652>x3035</GTKDOCLINK
1653>] |
Daniel Veillardaf43f632002-03-08 15:05:20 +00001654[<GTKDOCLINK
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001655HREF="X309D-"
1656>x309D-</GTKDOCLINK
1657><GTKDOCLINK
1658HREF="X309E"
1659>x309E</GTKDOCLINK
1660>] | [<GTKDOCLINK
1661HREF="X30FC-"
1662>x30FC-</GTKDOCLINK
1663><GTKDOCLINK
1664HREF="X30FE"
1665>x30FE</GTKDOCLINK
1666>]</P
1667><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00001668></P
1669><DIV
1670CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001671><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001672NAME="AEN21501"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001673></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001674><P
1675></P
1676><TABLE
1677BORDER="0"
1678WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001679BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001680CELLSPACING="0"
1681CELLPADDING="4"
1682CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001683><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00001684><TR
1685><TD
1686WIDTH="20%"
1687ALIGN="RIGHT"
1688VALIGN="TOP"
1689><TT
1690CLASS="PARAMETER"
1691><I
1692>c</I
1693></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001694>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001695><TD
1696WIDTH="80%"
1697ALIGN="LEFT"
1698VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001699> an UNICODE value (int)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001700></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001701></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00001702></TABLE
1703><P
1704></P
1705></DIV
1706></DIV
1707><HR><DIV
1708CLASS="REFSECT2"
1709><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001710NAME="AEN21510"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001711></A
1712><H3
1713><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001714NAME="IS-IDEOGRAPHIC-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001715></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001716>IS_IDEOGRAPHIC()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00001717><TABLE
1718BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001719BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001720WIDTH="100%"
1721CELLPADDING="6"
1722><TR
1723><TD
1724><PRE
1725CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001726>#define IS_IDEOGRAPHIC(c) xmlIsIdeographic(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001727></TD
1728></TR
1729></TABLE
1730><P
Daniel Veillard19274092002-03-25 16:48:03 +00001731>Macro to check the following production in the XML spec:</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001732><P
1733>[86] Ideographic ::= [<GTKDOCLINK
1734HREF="X4E00-"
1735>x4E00-</GTKDOCLINK
1736><GTKDOCLINK
1737HREF="X9FA5"
1738>x9FA5</GTKDOCLINK
1739>] | <GTKDOCLINK
1740HREF="X3007"
1741>x3007</GTKDOCLINK
1742> | [<GTKDOCLINK
1743HREF="X3021-"
1744>x3021-</GTKDOCLINK
1745><GTKDOCLINK
1746HREF="X3029"
1747>x3029</GTKDOCLINK
1748>]</P
1749><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00001750></P
1751><DIV
1752CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001753><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001754NAME="AEN21522"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001755></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001756><P
1757></P
1758><TABLE
1759BORDER="0"
1760WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001761BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001762CELLSPACING="0"
1763CELLPADDING="4"
1764CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001765><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00001766><TR
1767><TD
1768WIDTH="20%"
1769ALIGN="RIGHT"
1770VALIGN="TOP"
1771><TT
1772CLASS="PARAMETER"
1773><I
1774>c</I
1775></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001776>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001777><TD
1778WIDTH="80%"
1779ALIGN="LEFT"
1780VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001781> an UNICODE value (int)</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001782></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001783></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00001784></TABLE
1785><P
1786></P
1787></DIV
1788></DIV
1789><HR><DIV
1790CLASS="REFSECT2"
1791><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001792NAME="AEN21531"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001793></A
1794><H3
1795><A
Daniel Veillard04382ae2001-09-12 18:51:30 +00001796NAME="IS-LETTER-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001797></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001798>IS_LETTER()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00001799><TABLE
1800BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001801BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001802WIDTH="100%"
1803CELLPADDING="6"
1804><TR
1805><TD
1806><PRE
1807CLASS="PROGRAMLISTING"
Daniel Veillard04382ae2001-09-12 18:51:30 +00001808>#define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c))</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001809></TD
1810></TR
1811></TABLE
1812><P
Daniel Veillard19274092002-03-25 16:48:03 +00001813>Macro to check the following production in the XML spec:</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001814><P
Daniel Veillard04382ae2001-09-12 18:51:30 +00001815>[84] Letter ::= BaseChar | Ideographic</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001816><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00001817></P
1818><DIV
1819CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001820><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001821NAME="AEN21538"
Daniel Veillard04382ae2001-09-12 18:51:30 +00001822></A
1823><P
1824></P
1825><TABLE
1826BORDER="0"
1827WIDTH="100%"
1828BGCOLOR="#FFD0D0"
1829CELLSPACING="0"
1830CELLPADDING="4"
1831CLASS="CALSTABLE"
1832><TBODY
1833><TR
1834><TD
1835WIDTH="20%"
1836ALIGN="RIGHT"
1837VALIGN="TOP"
1838><TT
1839CLASS="PARAMETER"
1840><I
1841>c</I
1842></TT
1843>&nbsp;:</TD
1844><TD
1845WIDTH="80%"
1846ALIGN="LEFT"
1847VALIGN="TOP"
1848> an UNICODE value (int)</TD
1849></TR
1850></TBODY
1851></TABLE
1852><P
1853></P
1854></DIV
1855></DIV
1856><HR><DIV
1857CLASS="REFSECT2"
1858><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001859NAME="AEN21547"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001860></A
1861><H3
1862><A
Daniel Veillard06622df2002-01-21 17:53:42 +00001863NAME="IS-PUBIDCHAR-CAPS"
1864></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001865>IS_PUBIDCHAR()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00001866><TABLE
1867BORDER="0"
1868BGCOLOR="#D6E8FF"
1869WIDTH="100%"
1870CELLPADDING="6"
1871><TR
1872><TD
1873><PRE
1874CLASS="PROGRAMLISTING"
1875>#define IS_PUBIDCHAR(c) xmlIsPubidChar(c)</PRE
1876></TD
1877></TR
1878></TABLE
1879><P
Daniel Veillard19274092002-03-25 16:48:03 +00001880>Macro to check the following production in the XML spec:</P
Daniel Veillard06622df2002-01-21 17:53:42 +00001881><P
1882>[13] PubidChar ::= <GTKDOCLINK
1883HREF="X20"
1884>x20</GTKDOCLINK
1885> | <GTKDOCLINK
1886HREF="XD"
1887>xD</GTKDOCLINK
1888> | <GTKDOCLINK
1889HREF="XA"
1890>xA</GTKDOCLINK
1891> | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]</P
1892><P
1893></P
1894><DIV
1895CLASS="INFORMALTABLE"
1896><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001897NAME="AEN21557"
Daniel Veillard06622df2002-01-21 17:53:42 +00001898></A
1899><P
1900></P
1901><TABLE
1902BORDER="0"
1903WIDTH="100%"
1904BGCOLOR="#FFD0D0"
1905CELLSPACING="0"
1906CELLPADDING="4"
1907CLASS="CALSTABLE"
1908><TBODY
1909><TR
1910><TD
1911WIDTH="20%"
1912ALIGN="RIGHT"
1913VALIGN="TOP"
1914><TT
1915CLASS="PARAMETER"
1916><I
1917>c</I
1918></TT
1919>&nbsp;:</TD
1920><TD
1921WIDTH="80%"
1922ALIGN="LEFT"
1923VALIGN="TOP"
1924> an UNICODE value (int)</TD
1925></TR
1926></TBODY
1927></TABLE
1928><P
1929></P
1930></DIV
1931></DIV
1932><HR><DIV
1933CLASS="REFSECT2"
1934><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001935NAME="AEN21566"
Daniel Veillard06622df2002-01-21 17:53:42 +00001936></A
1937><H3
1938><A
Daniel Veillard503b8932001-01-05 06:36:31 +00001939NAME="SKIP-EOL-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001940></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00001941>SKIP_EOL()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00001942><TABLE
1943BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001944BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001945WIDTH="100%"
1946CELLPADDING="6"
1947><TR
1948><TD
1949><PRE
1950CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001951>#define SKIP_EOL(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001952></TD
1953></TR
1954></TABLE
1955><P
Daniel Veillard19274092002-03-25 16:48:03 +00001956>Skips the end of line chars.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001957><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00001958></P
1959><DIV
1960CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001961><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00001962NAME="AEN21572"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001963></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001964><P
1965></P
1966><TABLE
1967BORDER="0"
1968WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001969BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001970CELLSPACING="0"
1971CELLPADDING="4"
1972CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001973><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00001974><TR
1975><TD
1976WIDTH="20%"
1977ALIGN="RIGHT"
1978VALIGN="TOP"
1979><TT
1980CLASS="PARAMETER"
1981><I
1982>p</I
1983></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001984>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001985><TD
1986WIDTH="80%"
1987ALIGN="LEFT"
1988VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00001989> and UTF8 string pointer</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00001990></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001991></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00001992></TABLE
1993><P
1994></P
1995></DIV
1996></DIV
1997><HR><DIV
1998CLASS="REFSECT2"
1999><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002000NAME="AEN21581"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002001></A
2002><H3
2003><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002004NAME="MOVETO-ENDTAG-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002005></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002006>MOVETO_ENDTAG()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002007><TABLE
2008BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002009BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002010WIDTH="100%"
2011CELLPADDING="6"
2012><TR
2013><TD
2014><PRE
2015CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00002016>#define MOVETO_ENDTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00002017></TD
2018></TR
2019></TABLE
2020><P
Daniel Veillard19274092002-03-25 16:48:03 +00002021>Skips to the next '&gt;' char.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002022><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002023></P
2024><DIV
2025CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002026><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002027NAME="AEN21587"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002028></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002029><P
2030></P
2031><TABLE
2032BORDER="0"
2033WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002034BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002035CELLSPACING="0"
2036CELLPADDING="4"
2037CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002038><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002039><TR
2040><TD
2041WIDTH="20%"
2042ALIGN="RIGHT"
2043VALIGN="TOP"
2044><TT
2045CLASS="PARAMETER"
2046><I
2047>p</I
2048></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002049>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002050><TD
2051WIDTH="80%"
2052ALIGN="LEFT"
2053VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002054> and UTF8 string pointer</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002055></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002056></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002057></TABLE
2058><P
2059></P
2060></DIV
2061></DIV
2062><HR><DIV
2063CLASS="REFSECT2"
2064><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002065NAME="AEN21596"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002066></A
2067><H3
2068><A
Daniel Veillard503b8932001-01-05 06:36:31 +00002069NAME="MOVETO-STARTTAG-CAPS"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002070></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002071>MOVETO_STARTTAG()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002072><TABLE
2073BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002074BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002075WIDTH="100%"
2076CELLPADDING="6"
2077><TR
2078><TD
2079><PRE
2080CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00002081>#define MOVETO_STARTTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00002082></TD
2083></TR
2084></TABLE
2085><P
Daniel Veillard19274092002-03-25 16:48:03 +00002086>Skips to the next '&lt;' char.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002087><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002088></P
2089><DIV
2090CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002091><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002092NAME="AEN21602"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002093></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002094><P
2095></P
2096><TABLE
2097BORDER="0"
2098WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002099BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002100CELLSPACING="0"
2101CELLPADDING="4"
2102CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002103><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002104><TR
2105><TD
2106WIDTH="20%"
2107ALIGN="RIGHT"
2108VALIGN="TOP"
2109><TT
2110CLASS="PARAMETER"
2111><I
2112>p</I
2113></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002114>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002115><TD
2116WIDTH="80%"
2117ALIGN="LEFT"
2118VALIGN="TOP"
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00002119> and UTF8 string pointer</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002120></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002121></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00002122></TABLE
2123><P
2124></P
2125></DIV
2126></DIV
2127><HR><DIV
2128CLASS="REFSECT2"
2129><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002130NAME="AEN21611"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002131></A
2132><H3
2133><A
2134NAME="XMLISBASECHAR"
2135></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002136>xmlIsBaseChar ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002137><TABLE
2138BORDER="0"
2139BGCOLOR="#D6E8FF"
2140WIDTH="100%"
2141CELLPADDING="6"
2142><TR
2143><TD
2144><PRE
2145CLASS="PROGRAMLISTING"
2146>int xmlIsBaseChar (int c);</PRE
2147></TD
2148></TR
2149></TABLE
2150><P
2151>Check whether the character is allowed by the production
2152[85] BaseChar ::= ... long list see REC ...</P
2153><P
2154>VI is your friend !
2155:1,$ s/\[<GTKDOCLINK
2156HREF="X"
2157>x</GTKDOCLINK
2158>\([0-9A-Z]*\)-<GTKDOCLINK
2159HREF="X"
2160>x</GTKDOCLINK
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002161>\([0-9A-Z]*\)\]/ (((c) &gt;= 0x\1) \&amp;\&amp; ((c) &lt;= 0x\2)) ||/
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002162and
2163:1,$ s/<GTKDOCLINK
2164HREF="X"
2165>x</GTKDOCLINK
2166>\([0-9A-Z]*\)/ ((c) == 0x\1) ||/</P
2167><P
2168></P
2169><DIV
2170CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002171><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002172NAME="AEN21621"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002173></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002174><P
2175></P
2176><TABLE
2177BORDER="0"
2178WIDTH="100%"
2179BGCOLOR="#FFD0D0"
2180CELLSPACING="0"
2181CELLPADDING="4"
2182CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002183><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002184><TR
2185><TD
2186WIDTH="20%"
2187ALIGN="RIGHT"
2188VALIGN="TOP"
2189><TT
2190CLASS="PARAMETER"
2191><I
2192>c</I
2193></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002194>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002195><TD
2196WIDTH="80%"
2197ALIGN="LEFT"
2198VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002199> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002200></TR
2201><TR
2202><TD
2203WIDTH="20%"
2204ALIGN="RIGHT"
2205VALIGN="TOP"
2206><I
2207CLASS="EMPHASIS"
2208>Returns</I
2209> :</TD
2210><TD
2211WIDTH="80%"
2212ALIGN="LEFT"
2213VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002214>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002215></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002216></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002217></TABLE
2218><P
2219></P
2220></DIV
2221></DIV
2222><HR><DIV
2223CLASS="REFSECT2"
2224><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002225NAME="AEN21634"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002226></A
2227><H3
2228><A
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002229NAME="XMLISBLANK"
2230></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002231>xmlIsBlank ()</H3
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002232><TABLE
2233BORDER="0"
2234BGCOLOR="#D6E8FF"
2235WIDTH="100%"
2236CELLPADDING="6"
2237><TR
2238><TD
2239><PRE
2240CLASS="PROGRAMLISTING"
2241>int xmlIsBlank (int c);</PRE
2242></TD
2243></TR
2244></TABLE
2245><P
2246>Check whether the character is allowed by the production
2247[3] S ::= (<GTKDOCLINK
2248HREF="X20"
2249>x20</GTKDOCLINK
2250> | <GTKDOCLINK
2251HREF="X9"
2252>x9</GTKDOCLINK
2253> | <GTKDOCLINK
2254HREF="XD"
2255>xD</GTKDOCLINK
2256> | <GTKDOCLINK
2257HREF="XA"
2258>xA</GTKDOCLINK
2259>)+
2260Also available as a macro <A
2261HREF="libxml-parserinternals.html#IS-BLANK-CAPS"
2262>IS_BLANK</A
2263>()</P
2264><P
2265></P
2266><DIV
2267CLASS="INFORMALTABLE"
2268><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002269NAME="AEN21645"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002270></A
2271><P
2272></P
2273><TABLE
2274BORDER="0"
2275WIDTH="100%"
2276BGCOLOR="#FFD0D0"
2277CELLSPACING="0"
2278CELLPADDING="4"
2279CLASS="CALSTABLE"
2280><TBODY
2281><TR
2282><TD
2283WIDTH="20%"
2284ALIGN="RIGHT"
2285VALIGN="TOP"
2286><TT
2287CLASS="PARAMETER"
2288><I
2289>c</I
2290></TT
2291>&nbsp;:</TD
2292><TD
2293WIDTH="80%"
2294ALIGN="LEFT"
2295VALIGN="TOP"
2296> an unicode character (int)</TD
2297></TR
2298><TR
2299><TD
2300WIDTH="20%"
2301ALIGN="RIGHT"
2302VALIGN="TOP"
2303><I
2304CLASS="EMPHASIS"
2305>Returns</I
2306> :</TD
2307><TD
2308WIDTH="80%"
2309ALIGN="LEFT"
2310VALIGN="TOP"
2311>0 if not, non-zero otherwise</TD
2312></TR
2313></TBODY
2314></TABLE
2315><P
2316></P
2317></DIV
2318></DIV
2319><HR><DIV
2320CLASS="REFSECT2"
2321><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002322NAME="AEN21658"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002323></A
2324><H3
2325><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002326NAME="XMLISPUBIDCHAR"
2327></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002328>xmlIsPubidChar ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002329><TABLE
2330BORDER="0"
2331BGCOLOR="#D6E8FF"
2332WIDTH="100%"
2333CELLPADDING="6"
2334><TR
2335><TD
2336><PRE
2337CLASS="PROGRAMLISTING"
2338>int xmlIsPubidChar (int c);</PRE
2339></TD
2340></TR
2341></TABLE
2342><P
2343>Check whether the character is allowed by the production
2344[13] PubidChar ::= <GTKDOCLINK
2345HREF="X20"
2346>x20</GTKDOCLINK
2347> | <GTKDOCLINK
2348HREF="XD"
2349>xD</GTKDOCLINK
2350> | <GTKDOCLINK
2351HREF="XA"
2352>xA</GTKDOCLINK
2353> | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]</P
2354><P
2355></P
2356><DIV
2357CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002358><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002359NAME="AEN21667"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002360></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002361><P
2362></P
2363><TABLE
2364BORDER="0"
2365WIDTH="100%"
2366BGCOLOR="#FFD0D0"
2367CELLSPACING="0"
2368CELLPADDING="4"
2369CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002370><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002371><TR
2372><TD
2373WIDTH="20%"
2374ALIGN="RIGHT"
2375VALIGN="TOP"
2376><TT
2377CLASS="PARAMETER"
2378><I
2379>c</I
2380></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002381>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002382><TD
2383WIDTH="80%"
2384ALIGN="LEFT"
2385VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002386> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002387></TR
2388><TR
2389><TD
2390WIDTH="20%"
2391ALIGN="RIGHT"
2392VALIGN="TOP"
2393><I
2394CLASS="EMPHASIS"
2395>Returns</I
2396> :</TD
2397><TD
2398WIDTH="80%"
2399ALIGN="LEFT"
2400VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002401>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002402></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002403></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002404></TABLE
2405><P
2406></P
2407></DIV
2408></DIV
2409><HR><DIV
2410CLASS="REFSECT2"
2411><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002412NAME="AEN21680"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002413></A
2414><H3
2415><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002416NAME="XMLISLETTER"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002417></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002418>xmlIsLetter ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002419><TABLE
2420BORDER="0"
2421BGCOLOR="#D6E8FF"
2422WIDTH="100%"
2423CELLPADDING="6"
2424><TR
2425><TD
2426><PRE
2427CLASS="PROGRAMLISTING"
Daniel Veillard06622df2002-01-21 17:53:42 +00002428>int xmlIsLetter (int c);</PRE
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002429></TD
2430></TR
2431></TABLE
2432><P
2433>Check whether the character is allowed by the production
Daniel Veillard06622df2002-01-21 17:53:42 +00002434[84] Letter ::= BaseChar | Ideographic</P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002435><P
2436></P
2437><DIV
2438CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002439><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002440NAME="AEN21686"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002441></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002442><P
2443></P
2444><TABLE
2445BORDER="0"
2446WIDTH="100%"
2447BGCOLOR="#FFD0D0"
2448CELLSPACING="0"
2449CELLPADDING="4"
2450CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002451><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002452><TR
2453><TD
2454WIDTH="20%"
2455ALIGN="RIGHT"
2456VALIGN="TOP"
2457><TT
2458CLASS="PARAMETER"
2459><I
2460>c</I
2461></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002462>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002463><TD
2464WIDTH="80%"
2465ALIGN="LEFT"
2466VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002467> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002468></TR
2469><TR
2470><TD
2471WIDTH="20%"
2472ALIGN="RIGHT"
2473VALIGN="TOP"
2474><I
2475CLASS="EMPHASIS"
2476>Returns</I
2477> :</TD
2478><TD
2479WIDTH="80%"
2480ALIGN="LEFT"
2481VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002482>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002483></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002484></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002485></TABLE
2486><P
2487></P
2488></DIV
2489></DIV
2490><HR><DIV
2491CLASS="REFSECT2"
2492><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002493NAME="AEN21699"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002494></A
2495><H3
2496><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002497NAME="XMLISDIGIT"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002498></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002499>xmlIsDigit ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002500><TABLE
2501BORDER="0"
2502BGCOLOR="#D6E8FF"
2503WIDTH="100%"
2504CELLPADDING="6"
2505><TR
2506><TD
2507><PRE
2508CLASS="PROGRAMLISTING"
Daniel Veillard06622df2002-01-21 17:53:42 +00002509>int xmlIsDigit (int c);</PRE
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002510></TD
2511></TR
2512></TABLE
2513><P
2514>Check whether the character is allowed by the production
Daniel Veillard06622df2002-01-21 17:53:42 +00002515[88] Digit ::= ... long list see REC ...</P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002516><P
2517></P
2518><DIV
2519CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002520><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002521NAME="AEN21705"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002522></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002523><P
2524></P
2525><TABLE
2526BORDER="0"
2527WIDTH="100%"
2528BGCOLOR="#FFD0D0"
2529CELLSPACING="0"
2530CELLPADDING="4"
2531CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002532><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002533><TR
2534><TD
2535WIDTH="20%"
2536ALIGN="RIGHT"
2537VALIGN="TOP"
2538><TT
2539CLASS="PARAMETER"
2540><I
2541>c</I
2542></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002543>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002544><TD
2545WIDTH="80%"
2546ALIGN="LEFT"
2547VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002548> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002549></TR
2550><TR
2551><TD
2552WIDTH="20%"
2553ALIGN="RIGHT"
2554VALIGN="TOP"
2555><I
2556CLASS="EMPHASIS"
2557>Returns</I
2558> :</TD
2559><TD
2560WIDTH="80%"
2561ALIGN="LEFT"
2562VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002563>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002564></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002565></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002566></TABLE
2567><P
2568></P
2569></DIV
2570></DIV
2571><HR><DIV
2572CLASS="REFSECT2"
2573><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002574NAME="AEN21718"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002575></A
2576><H3
2577><A
Daniel Veillard06622df2002-01-21 17:53:42 +00002578NAME="XMLISIDEOGRAPHIC"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002579></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002580>xmlIsIdeographic ()</H3
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002581><TABLE
2582BORDER="0"
2583BGCOLOR="#D6E8FF"
2584WIDTH="100%"
2585CELLPADDING="6"
2586><TR
2587><TD
2588><PRE
2589CLASS="PROGRAMLISTING"
Daniel Veillard06622df2002-01-21 17:53:42 +00002590>int xmlIsIdeographic (int c);</PRE
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002591></TD
2592></TR
2593></TABLE
2594><P
2595>Check whether the character is allowed by the production
Daniel Veillard06622df2002-01-21 17:53:42 +00002596[86] Ideographic ::= [<GTKDOCLINK
2597HREF="X4E00-"
2598>x4E00-</GTKDOCLINK
2599><GTKDOCLINK
2600HREF="X9FA5"
2601>x9FA5</GTKDOCLINK
2602>] | <GTKDOCLINK
2603HREF="X3007"
2604>x3007</GTKDOCLINK
2605> | [<GTKDOCLINK
2606HREF="X3021-"
2607>x3021-</GTKDOCLINK
2608><GTKDOCLINK
2609HREF="X3029"
2610>x3029</GTKDOCLINK
2611>]</P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002612><P
2613></P
2614><DIV
2615CLASS="INFORMALTABLE"
2616><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002617NAME="AEN21729"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00002618></A
2619><P
2620></P
2621><TABLE
2622BORDER="0"
2623WIDTH="100%"
2624BGCOLOR="#FFD0D0"
2625CELLSPACING="0"
2626CELLPADDING="4"
2627CLASS="CALSTABLE"
2628><TBODY
2629><TR
2630><TD
2631WIDTH="20%"
2632ALIGN="RIGHT"
2633VALIGN="TOP"
2634><TT
2635CLASS="PARAMETER"
2636><I
2637>c</I
2638></TT
2639>&nbsp;:</TD
2640><TD
2641WIDTH="80%"
2642ALIGN="LEFT"
2643VALIGN="TOP"
2644> an unicode character (int)</TD
2645></TR
2646><TR
2647><TD
2648WIDTH="20%"
2649ALIGN="RIGHT"
2650VALIGN="TOP"
2651><I
2652CLASS="EMPHASIS"
2653>Returns</I
2654> :</TD
2655><TD
2656WIDTH="80%"
2657ALIGN="LEFT"
2658VALIGN="TOP"
2659>0 if not, non-zero otherwise</TD
2660></TR
2661></TBODY
2662></TABLE
2663><P
2664></P
2665></DIV
2666></DIV
2667><HR><DIV
2668CLASS="REFSECT2"
2669><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002670NAME="AEN21742"
Daniel Veillard06622df2002-01-21 17:53:42 +00002671></A
2672><H3
2673><A
2674NAME="XMLISEXTENDER"
2675></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002676>xmlIsExtender ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00002677><TABLE
2678BORDER="0"
2679BGCOLOR="#D6E8FF"
2680WIDTH="100%"
2681CELLPADDING="6"
2682><TR
2683><TD
2684><PRE
2685CLASS="PROGRAMLISTING"
2686>int xmlIsExtender (int c);</PRE
2687></TD
2688></TR
2689></TABLE
2690><P
2691>Check whether the character is allowed by the production
2692[89] Extender ::= <GTKDOCLINK
2693HREF="X00B7"
2694>x00B7</GTKDOCLINK
2695> | <GTKDOCLINK
2696HREF="X02D0"
2697>x02D0</GTKDOCLINK
2698> | <GTKDOCLINK
2699HREF="X02D1"
2700>x02D1</GTKDOCLINK
2701> | <GTKDOCLINK
2702HREF="X0387"
2703>x0387</GTKDOCLINK
2704> | <GTKDOCLINK
2705HREF="X0640"
2706>x0640</GTKDOCLINK
2707> |
Daniel Veillardaf43f632002-03-08 15:05:20 +00002708<GTKDOCLINK
Daniel Veillard06622df2002-01-21 17:53:42 +00002709HREF="X0E46"
2710>x0E46</GTKDOCLINK
2711> | <GTKDOCLINK
2712HREF="X0EC6"
2713>x0EC6</GTKDOCLINK
2714> | <GTKDOCLINK
2715HREF="X3005"
2716>x3005</GTKDOCLINK
2717> | [<GTKDOCLINK
2718HREF="X3031-"
2719>x3031-</GTKDOCLINK
2720><GTKDOCLINK
2721HREF="X3035"
2722>x3035</GTKDOCLINK
2723>] |
Daniel Veillardaf43f632002-03-08 15:05:20 +00002724[<GTKDOCLINK
Daniel Veillard06622df2002-01-21 17:53:42 +00002725HREF="X309D-"
2726>x309D-</GTKDOCLINK
2727><GTKDOCLINK
2728HREF="X309E"
2729>x309E</GTKDOCLINK
2730>] | [<GTKDOCLINK
2731HREF="X30FC-"
2732>x30FC-</GTKDOCLINK
2733><GTKDOCLINK
2734HREF="X30FE"
2735>x30FE</GTKDOCLINK
2736>]</P
2737><P
2738></P
2739><DIV
2740CLASS="INFORMALTABLE"
2741><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002742NAME="AEN21762"
Daniel Veillard06622df2002-01-21 17:53:42 +00002743></A
2744><P
2745></P
2746><TABLE
2747BORDER="0"
2748WIDTH="100%"
2749BGCOLOR="#FFD0D0"
2750CELLSPACING="0"
2751CELLPADDING="4"
2752CLASS="CALSTABLE"
2753><TBODY
2754><TR
2755><TD
2756WIDTH="20%"
2757ALIGN="RIGHT"
2758VALIGN="TOP"
2759><TT
2760CLASS="PARAMETER"
2761><I
2762>c</I
2763></TT
2764>&nbsp;:</TD
2765><TD
2766WIDTH="80%"
2767ALIGN="LEFT"
2768VALIGN="TOP"
2769> an unicode character (int)</TD
2770></TR
2771><TR
2772><TD
2773WIDTH="20%"
2774ALIGN="RIGHT"
2775VALIGN="TOP"
2776><I
2777CLASS="EMPHASIS"
2778>Returns</I
2779> :</TD
2780><TD
2781WIDTH="80%"
2782ALIGN="LEFT"
2783VALIGN="TOP"
2784>0 if not, non-zero otherwise</TD
2785></TR
2786></TBODY
2787></TABLE
2788><P
2789></P
2790></DIV
2791></DIV
2792><HR><DIV
2793CLASS="REFSECT2"
2794><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002795NAME="AEN21775"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002796></A
2797><H3
2798><A
2799NAME="XMLISCOMBINING"
2800></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002801>xmlIsCombining ()</H3
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002802><TABLE
2803BORDER="0"
2804BGCOLOR="#D6E8FF"
2805WIDTH="100%"
2806CELLPADDING="6"
2807><TR
2808><TD
2809><PRE
2810CLASS="PROGRAMLISTING"
2811>int xmlIsCombining (int c);</PRE
2812></TD
2813></TR
2814></TABLE
2815><P
2816>Check whether the character is allowed by the production
2817[87] CombiningChar ::= ... long list see REC ...</P
2818><P
2819></P
2820><DIV
2821CLASS="INFORMALTABLE"
2822><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002823NAME="AEN21781"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00002824></A
2825><P
2826></P
2827><TABLE
2828BORDER="0"
2829WIDTH="100%"
2830BGCOLOR="#FFD0D0"
2831CELLSPACING="0"
2832CELLPADDING="4"
2833CLASS="CALSTABLE"
2834><TBODY
2835><TR
2836><TD
2837WIDTH="20%"
2838ALIGN="RIGHT"
2839VALIGN="TOP"
2840><TT
2841CLASS="PARAMETER"
2842><I
2843>c</I
2844></TT
2845>&nbsp;:</TD
2846><TD
2847WIDTH="80%"
2848ALIGN="LEFT"
2849VALIGN="TOP"
2850> an unicode character (int)</TD
2851></TR
2852><TR
2853><TD
2854WIDTH="20%"
2855ALIGN="RIGHT"
2856VALIGN="TOP"
2857><I
2858CLASS="EMPHASIS"
2859>Returns</I
2860> :</TD
2861><TD
2862WIDTH="80%"
2863ALIGN="LEFT"
2864VALIGN="TOP"
2865>0 if not, non-zero otherwise</TD
2866></TR
2867></TBODY
2868></TABLE
2869><P
2870></P
2871></DIV
2872></DIV
2873><HR><DIV
2874CLASS="REFSECT2"
2875><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002876NAME="AEN21794"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002877></A
2878><H3
2879><A
2880NAME="XMLISCHAR"
2881></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002882>xmlIsChar ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002883><TABLE
2884BORDER="0"
2885BGCOLOR="#D6E8FF"
2886WIDTH="100%"
2887CELLPADDING="6"
2888><TR
2889><TD
2890><PRE
2891CLASS="PROGRAMLISTING"
2892>int xmlIsChar (int c);</PRE
2893></TD
2894></TR
2895></TABLE
2896><P
2897>Check whether the character is allowed by the production
2898[2] Char ::= <GTKDOCLINK
2899HREF="X9"
2900>x9</GTKDOCLINK
2901> | <GTKDOCLINK
2902HREF="XA"
2903>xA</GTKDOCLINK
2904> | <GTKDOCLINK
2905HREF="XD"
2906>xD</GTKDOCLINK
2907> | [<GTKDOCLINK
2908HREF="X20-"
2909>x20-</GTKDOCLINK
2910><GTKDOCLINK
2911HREF="XD7FF"
2912>xD7FF</GTKDOCLINK
2913>] | [<GTKDOCLINK
2914HREF="XE000-"
2915>xE000-</GTKDOCLINK
2916><GTKDOCLINK
2917HREF="XFFFD"
2918>xFFFD</GTKDOCLINK
2919>]
Daniel Veillardaf43f632002-03-08 15:05:20 +00002920| [<GTKDOCLINK
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002921HREF="X10000-"
2922>x10000-</GTKDOCLINK
2923><GTKDOCLINK
2924HREF="X10FFFF"
2925>x10FFFF</GTKDOCLINK
2926>]
2927any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.
2928Also available as a macro <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00002929HREF="libxml-parserinternals.html#IS-CHAR-CAPS"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002930>IS_CHAR</A
2931>()</P
2932><P
2933></P
2934><DIV
2935CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002936><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002937NAME="AEN21810"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002938></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002939><P
2940></P
2941><TABLE
2942BORDER="0"
2943WIDTH="100%"
2944BGCOLOR="#FFD0D0"
2945CELLSPACING="0"
2946CELLPADDING="4"
2947CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00002948><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002949><TR
2950><TD
2951WIDTH="20%"
2952ALIGN="RIGHT"
2953VALIGN="TOP"
2954><TT
2955CLASS="PARAMETER"
2956><I
2957>c</I
2958></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00002959>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002960><TD
2961WIDTH="80%"
2962ALIGN="LEFT"
2963VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002964> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002965></TR
2966><TR
2967><TD
2968WIDTH="20%"
2969ALIGN="RIGHT"
2970VALIGN="TOP"
2971><I
2972CLASS="EMPHASIS"
2973>Returns</I
2974> :</TD
2975><TD
2976WIDTH="80%"
2977ALIGN="LEFT"
2978VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00002979>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002980></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00002981></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002982></TABLE
2983><P
2984></P
2985></DIV
2986></DIV
2987><HR><DIV
2988CLASS="REFSECT2"
2989><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00002990NAME="AEN21823"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002991></A
2992><H3
2993><A
2994NAME="XMLCREATEFILEPARSERCTXT"
2995></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00002996>xmlCreateFileParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00002997><TABLE
2998BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002999BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00003000WIDTH="100%"
3001CELLPADDING="6"
3002><TR
3003><TD
3004><PRE
3005CLASS="PROGRAMLISTING"
3006><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003007HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardd692aa41999-02-28 21:54:31 +00003008>xmlParserCtxtPtr</A
3009> xmlCreateFileParserCtxt (const char *filename);</PRE
3010></TD
3011></TR
3012></TABLE
3013><P
3014>Create a parser context for a file content.
3015Automatic support for ZLIB/Compress compressed document is provided
3016by default if found at compile-time.</P
3017><P
3018></P
3019><DIV
3020CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003021><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003022NAME="AEN21830"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003023></A
Daniel Veillardd692aa41999-02-28 21:54:31 +00003024><P
3025></P
3026><TABLE
3027BORDER="0"
3028WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003029BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00003030CELLSPACING="0"
3031CELLPADDING="4"
3032CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003033><TBODY
Daniel Veillardd692aa41999-02-28 21:54:31 +00003034><TR
3035><TD
3036WIDTH="20%"
3037ALIGN="RIGHT"
3038VALIGN="TOP"
3039><TT
3040CLASS="PARAMETER"
3041><I
3042>filename</I
3043></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003044>&nbsp;:</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00003045><TD
3046WIDTH="80%"
3047ALIGN="LEFT"
3048VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003049> the filename</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00003050></TR
3051><TR
3052><TD
3053WIDTH="20%"
3054ALIGN="RIGHT"
3055VALIGN="TOP"
3056><I
3057CLASS="EMPHASIS"
3058>Returns</I
3059> :</TD
3060><TD
3061WIDTH="80%"
3062ALIGN="LEFT"
3063VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003064>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00003065></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003066></TBODY
Daniel Veillardd692aa41999-02-28 21:54:31 +00003067></TABLE
3068><P
3069></P
3070></DIV
3071></DIV
3072><HR><DIV
3073CLASS="REFSECT2"
3074><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003075NAME="AEN21843"
Daniel Veillardd692aa41999-02-28 21:54:31 +00003076></A
3077><H3
3078><A
3079NAME="XMLCREATEMEMORYPARSERCTXT"
3080></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003081>xmlCreateMemoryParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00003082><TABLE
3083BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003084BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00003085WIDTH="100%"
3086CELLPADDING="6"
3087><TR
3088><TD
3089><PRE
3090CLASS="PROGRAMLISTING"
3091><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003092HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardd692aa41999-02-28 21:54:31 +00003093>xmlParserCtxtPtr</A
Daniel Veillardbed7b052001-05-19 14:59:49 +00003094> xmlCreateMemoryParserCtxt (const char *buffer,
Daniel Veillardd692aa41999-02-28 21:54:31 +00003095 int size);</PRE
3096></TD
3097></TR
3098></TABLE
3099><P
3100>Create a parser context for an XML in-memory document.</P
3101><P
3102></P
3103><DIV
3104CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003105><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003106NAME="AEN21850"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003107></A
Daniel Veillardd692aa41999-02-28 21:54:31 +00003108><P
3109></P
3110><TABLE
3111BORDER="0"
3112WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003113BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00003114CELLSPACING="0"
3115CELLPADDING="4"
3116CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003117><TBODY
Daniel Veillardd692aa41999-02-28 21:54:31 +00003118><TR
3119><TD
3120WIDTH="20%"
3121ALIGN="RIGHT"
3122VALIGN="TOP"
3123><TT
3124CLASS="PARAMETER"
3125><I
3126>buffer</I
3127></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003128>&nbsp;:</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00003129><TD
3130WIDTH="80%"
3131ALIGN="LEFT"
3132VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003133> a pointer to a char array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00003134></TR
3135><TR
3136><TD
3137WIDTH="20%"
3138ALIGN="RIGHT"
3139VALIGN="TOP"
3140><TT
3141CLASS="PARAMETER"
3142><I
3143>size</I
3144></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003145>&nbsp;:</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00003146><TD
3147WIDTH="80%"
3148ALIGN="LEFT"
3149VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003150> the size of the array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00003151></TR
3152><TR
3153><TD
3154WIDTH="20%"
3155ALIGN="RIGHT"
3156VALIGN="TOP"
3157><I
3158CLASS="EMPHASIS"
3159>Returns</I
3160> :</TD
3161><TD
3162WIDTH="80%"
3163ALIGN="LEFT"
3164VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003165>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00003166></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003167></TBODY
Daniel Veillardd692aa41999-02-28 21:54:31 +00003168></TABLE
3169><P
3170></P
3171></DIV
3172></DIV
3173><HR><DIV
3174CLASS="REFSECT2"
3175><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003176NAME="AEN21867"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003177></A
3178><H3
3179><A
3180NAME="XMLNEWPARSERCTXT"
3181></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003182>xmlNewParserCtxt ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003183><TABLE
3184BORDER="0"
3185BGCOLOR="#D6E8FF"
3186WIDTH="100%"
3187CELLPADDING="6"
3188><TR
3189><TD
3190><PRE
3191CLASS="PROGRAMLISTING"
3192><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003193HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003194>xmlParserCtxtPtr</A
3195> xmlNewParserCtxt (void);</PRE
3196></TD
3197></TR
3198></TABLE
3199><P
3200>Allocate and initialize a new parser context.</P
3201><P
3202></P
3203><DIV
3204CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003205><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003206NAME="AEN21874"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003207></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003208><P
3209></P
3210><TABLE
3211BORDER="0"
3212WIDTH="100%"
3213BGCOLOR="#FFD0D0"
3214CELLSPACING="0"
3215CELLPADDING="4"
3216CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003217><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003218><TR
3219><TD
3220WIDTH="20%"
3221ALIGN="RIGHT"
3222VALIGN="TOP"
3223><I
3224CLASS="EMPHASIS"
3225>Returns</I
3226> :</TD
3227><TD
3228WIDTH="80%"
3229ALIGN="LEFT"
3230VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003231>the xmlParserCtxtPtr or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003232></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003233></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003234></TABLE
3235><P
3236></P
3237></DIV
3238></DIV
3239><HR><DIV
3240CLASS="REFSECT2"
3241><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003242NAME="AEN21883"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003243></A
3244><H3
3245><A
3246NAME="XMLCREATEENTITYPARSERCTXT"
3247></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003248>xmlCreateEntityParserCtxt ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003249><TABLE
3250BORDER="0"
3251BGCOLOR="#D6E8FF"
3252WIDTH="100%"
3253CELLPADDING="6"
3254><TR
3255><TD
3256><PRE
3257CLASS="PROGRAMLISTING"
3258><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003259HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003260>xmlParserCtxtPtr</A
3261> xmlCreateEntityParserCtxt (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003262HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003263>xmlChar</A
3264> *URL,
3265 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003266HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003267>xmlChar</A
3268> *ID,
3269 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003270HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003271>xmlChar</A
3272> *base);</PRE
3273></TD
3274></TR
3275></TABLE
3276><P
3277>Create a parser context for an external entity
3278Automatic support for ZLIB/Compress compressed document is provided
3279by default if found at compile-time.</P
3280><P
3281></P
3282><DIV
3283CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003284><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003285NAME="AEN21893"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003286></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003287><P
3288></P
3289><TABLE
3290BORDER="0"
3291WIDTH="100%"
3292BGCOLOR="#FFD0D0"
3293CELLSPACING="0"
3294CELLPADDING="4"
3295CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003296><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003297><TR
3298><TD
3299WIDTH="20%"
3300ALIGN="RIGHT"
3301VALIGN="TOP"
3302><TT
3303CLASS="PARAMETER"
3304><I
3305>URL</I
3306></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003307>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003308><TD
3309WIDTH="80%"
3310ALIGN="LEFT"
3311VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003312> the entity URL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003313></TR
3314><TR
3315><TD
3316WIDTH="20%"
3317ALIGN="RIGHT"
3318VALIGN="TOP"
3319><TT
3320CLASS="PARAMETER"
3321><I
3322>ID</I
3323></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003324>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003325><TD
3326WIDTH="80%"
3327ALIGN="LEFT"
3328VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003329> the entity PUBLIC ID</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003330></TR
3331><TR
3332><TD
3333WIDTH="20%"
3334ALIGN="RIGHT"
3335VALIGN="TOP"
3336><TT
3337CLASS="PARAMETER"
3338><I
3339>base</I
3340></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003341>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003342><TD
3343WIDTH="80%"
3344ALIGN="LEFT"
3345VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00003346> a possible base for the target URI</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003347></TR
3348><TR
3349><TD
3350WIDTH="20%"
3351ALIGN="RIGHT"
3352VALIGN="TOP"
3353><I
3354CLASS="EMPHASIS"
3355>Returns</I
3356> :</TD
3357><TD
3358WIDTH="80%"
3359ALIGN="LEFT"
3360VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003361>the new parser context or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003362></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003363></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003364></TABLE
3365><P
3366></P
3367></DIV
3368></DIV
3369><HR><DIV
3370CLASS="REFSECT2"
3371><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003372NAME="AEN21914"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003373></A
3374><H3
3375><A
3376NAME="XMLSWITCHENCODING"
3377></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003378>xmlSwitchEncoding ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003379><TABLE
3380BORDER="0"
3381BGCOLOR="#D6E8FF"
3382WIDTH="100%"
3383CELLPADDING="6"
3384><TR
3385><TD
3386><PRE
3387CLASS="PROGRAMLISTING"
3388>int xmlSwitchEncoding (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003389HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003390>xmlParserCtxtPtr</A
3391> ctxt,
3392 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003393HREF="libxml-encoding.html#XMLCHARENCODING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003394>xmlCharEncoding</A
3395> enc);</PRE
3396></TD
3397></TR
3398></TABLE
3399><P
3400>change the input functions when discovering the character encoding
3401of a given entity.</P
3402><P
3403></P
3404><DIV
3405CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003406><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003407NAME="AEN21922"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003408></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003409><P
3410></P
3411><TABLE
3412BORDER="0"
3413WIDTH="100%"
3414BGCOLOR="#FFD0D0"
3415CELLSPACING="0"
3416CELLPADDING="4"
3417CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003418><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003419><TR
3420><TD
3421WIDTH="20%"
3422ALIGN="RIGHT"
3423VALIGN="TOP"
3424><TT
3425CLASS="PARAMETER"
3426><I
3427>ctxt</I
3428></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003429>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003430><TD
3431WIDTH="80%"
3432ALIGN="LEFT"
3433VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003434> the parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003435></TR
3436><TR
3437><TD
3438WIDTH="20%"
3439ALIGN="RIGHT"
3440VALIGN="TOP"
3441><TT
3442CLASS="PARAMETER"
3443><I
3444>enc</I
3445></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003446>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003447><TD
3448WIDTH="80%"
3449ALIGN="LEFT"
3450VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003451> the encoding value (number)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003452></TR
3453><TR
3454><TD
3455WIDTH="20%"
3456ALIGN="RIGHT"
3457VALIGN="TOP"
3458><I
3459CLASS="EMPHASIS"
3460>Returns</I
3461> :</TD
3462><TD
3463WIDTH="80%"
3464ALIGN="LEFT"
3465VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003466>0 in case of success, -1 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003467></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003468></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003469></TABLE
3470><P
3471></P
3472></DIV
3473></DIV
3474><HR><DIV
3475CLASS="REFSECT2"
3476><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003477NAME="AEN21939"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003478></A
3479><H3
3480><A
3481NAME="XMLSWITCHTOENCODING"
3482></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003483>xmlSwitchToEncoding ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003484><TABLE
3485BORDER="0"
3486BGCOLOR="#D6E8FF"
3487WIDTH="100%"
3488CELLPADDING="6"
3489><TR
3490><TD
3491><PRE
3492CLASS="PROGRAMLISTING"
3493>int xmlSwitchToEncoding (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003494HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003495>xmlParserCtxtPtr</A
3496> ctxt,
3497 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00003498HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003499>xmlCharEncodingHandlerPtr</A
3500> handler);</PRE
3501></TD
3502></TR
3503></TABLE
3504><P
3505>change the input functions when discovering the character encoding
3506of a given entity.</P
3507><P
3508></P
3509><DIV
3510CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003511><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003512NAME="AEN21947"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003513></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003514><P
3515></P
3516><TABLE
3517BORDER="0"
3518WIDTH="100%"
3519BGCOLOR="#FFD0D0"
3520CELLSPACING="0"
3521CELLPADDING="4"
3522CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003523><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003524><TR
3525><TD
3526WIDTH="20%"
3527ALIGN="RIGHT"
3528VALIGN="TOP"
3529><TT
3530CLASS="PARAMETER"
3531><I
3532>ctxt</I
3533></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003534>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003535><TD
3536WIDTH="80%"
3537ALIGN="LEFT"
3538VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003539> the parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003540></TR
3541><TR
3542><TD
3543WIDTH="20%"
3544ALIGN="RIGHT"
3545VALIGN="TOP"
3546><TT
3547CLASS="PARAMETER"
3548><I
3549>handler</I
3550></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003551>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003552><TD
3553WIDTH="80%"
3554ALIGN="LEFT"
3555VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003556> the encoding handler</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003557></TR
3558><TR
3559><TD
3560WIDTH="20%"
3561ALIGN="RIGHT"
3562VALIGN="TOP"
3563><I
3564CLASS="EMPHASIS"
3565>Returns</I
3566> :</TD
3567><TD
3568WIDTH="80%"
3569ALIGN="LEFT"
3570VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003571>0 in case of success, -1 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003572></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003573></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003574></TABLE
3575><P
3576></P
3577></DIV
3578></DIV
3579><HR><DIV
3580CLASS="REFSECT2"
3581><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003582NAME="AEN21964"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003583></A
3584><H3
3585><A
3586NAME="XMLHANDLEENTITY"
3587></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003588>xmlHandleEntity ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00003589><TABLE
3590BORDER="0"
3591BGCOLOR="#D6E8FF"
3592WIDTH="100%"
3593CELLPADDING="6"
3594><TR
3595><TD
3596><PRE
3597CLASS="PROGRAMLISTING"
3598>void xmlHandleEntity (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003599HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003600>xmlParserCtxtPtr</A
3601> ctxt,
3602 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003603HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003604>xmlEntityPtr</A
3605> entity);</PRE
3606></TD
3607></TR
3608></TABLE
3609><P
3610>Default handling of defined entities, when should we define a new input
3611stream ? When do we just handle that as a set of chars ?</P
3612><P
3613>OBSOLETE: to be removed at some point.</P
3614><P
3615></P
3616><DIV
3617CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003618><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003619NAME="AEN21973"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003620></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00003621><P
3622></P
3623><TABLE
3624BORDER="0"
3625WIDTH="100%"
3626BGCOLOR="#FFD0D0"
3627CELLSPACING="0"
3628CELLPADDING="4"
3629CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003630><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00003631><TR
3632><TD
3633WIDTH="20%"
3634ALIGN="RIGHT"
3635VALIGN="TOP"
3636><TT
3637CLASS="PARAMETER"
3638><I
3639>ctxt</I
3640></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003641>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003642><TD
3643WIDTH="80%"
3644ALIGN="LEFT"
3645VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003646> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003647></TR
3648><TR
3649><TD
3650WIDTH="20%"
3651ALIGN="RIGHT"
3652VALIGN="TOP"
3653><TT
3654CLASS="PARAMETER"
3655><I
3656>entity</I
3657></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003658>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003659><TD
3660WIDTH="80%"
3661ALIGN="LEFT"
3662VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003663> an XML entity pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003664></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003665></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00003666></TABLE
3667><P
3668></P
3669></DIV
3670></DIV
3671><HR><DIV
3672CLASS="REFSECT2"
3673><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003674NAME="AEN21986"
Daniel Veillarda41123c2001-04-22 19:31:20 +00003675></A
3676><H3
3677><A
3678NAME="XMLNEWSTRINGINPUTSTREAM"
3679></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003680>xmlNewStringInputStream ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +00003681><TABLE
3682BORDER="0"
3683BGCOLOR="#D6E8FF"
3684WIDTH="100%"
3685CELLPADDING="6"
3686><TR
3687><TD
3688><PRE
3689CLASS="PROGRAMLISTING"
3690><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003691HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillarda41123c2001-04-22 19:31:20 +00003692>xmlParserInputPtr</A
3693> xmlNewStringInputStream (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003694HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillarda41123c2001-04-22 19:31:20 +00003695>xmlParserCtxtPtr</A
3696> ctxt,
3697 const <A
3698HREF="libxml-tree.html#XMLCHAR"
3699>xmlChar</A
3700> *buffer);</PRE
3701></TD
3702></TR
3703></TABLE
3704><P
3705>Create a new input stream based on a memory buffer.</P
3706><P
3707></P
3708><DIV
3709CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003710><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003711NAME="AEN21995"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003712></A
Daniel Veillarda41123c2001-04-22 19:31:20 +00003713><P
3714></P
3715><TABLE
3716BORDER="0"
3717WIDTH="100%"
3718BGCOLOR="#FFD0D0"
3719CELLSPACING="0"
3720CELLPADDING="4"
3721CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003722><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00003723><TR
3724><TD
3725WIDTH="20%"
3726ALIGN="RIGHT"
3727VALIGN="TOP"
3728><TT
3729CLASS="PARAMETER"
3730><I
3731>ctxt</I
3732></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003733>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003734><TD
3735WIDTH="80%"
3736ALIGN="LEFT"
3737VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003738> an XML parser context</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003739></TR
3740><TR
3741><TD
3742WIDTH="20%"
3743ALIGN="RIGHT"
3744VALIGN="TOP"
3745><TT
3746CLASS="PARAMETER"
3747><I
3748>buffer</I
3749></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003750>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003751><TD
3752WIDTH="80%"
3753ALIGN="LEFT"
3754VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003755> an memory buffer</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003756></TR
3757><TR
3758><TD
3759WIDTH="20%"
3760ALIGN="RIGHT"
3761VALIGN="TOP"
3762><I
3763CLASS="EMPHASIS"
3764>Returns</I
3765> :</TD
3766><TD
3767WIDTH="80%"
3768ALIGN="LEFT"
3769VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003770>the new input stream</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +00003771></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003772></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +00003773></TABLE
3774><P
3775></P
3776></DIV
3777></DIV
3778><HR><DIV
3779CLASS="REFSECT2"
3780><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003781NAME="AEN22012"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003782></A
3783><H3
3784><A
3785NAME="XMLNEWENTITYINPUTSTREAM"
3786></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003787>xmlNewEntityInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003788><TABLE
3789BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003790BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003791WIDTH="100%"
3792CELLPADDING="6"
3793><TR
3794><TD
3795><PRE
3796CLASS="PROGRAMLISTING"
3797><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003798HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003799>xmlParserInputPtr</A
3800> xmlNewEntityInputStream (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003801HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003802>xmlParserCtxtPtr</A
3803> ctxt,
3804 <A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00003805HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003806>xmlEntityPtr</A
3807> entity);</PRE
3808></TD
3809></TR
3810></TABLE
3811><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00003812>Create a new input stream based on an xmlEntityPtr</P
Daniel Veillardbc50b591999-03-01 12:28:53 +00003813><P
3814></P
3815><DIV
3816CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003817><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003818NAME="AEN22021"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003819></A
Daniel Veillardbc50b591999-03-01 12:28:53 +00003820><P
3821></P
3822><TABLE
3823BORDER="0"
3824WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003825BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003826CELLSPACING="0"
3827CELLPADDING="4"
3828CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003829><TBODY
Daniel Veillardbc50b591999-03-01 12:28:53 +00003830><TR
3831><TD
3832WIDTH="20%"
3833ALIGN="RIGHT"
3834VALIGN="TOP"
3835><TT
3836CLASS="PARAMETER"
3837><I
3838>ctxt</I
3839></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003840>&nbsp;:</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003841><TD
3842WIDTH="80%"
3843ALIGN="LEFT"
3844VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003845> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003846></TR
3847><TR
3848><TD
3849WIDTH="20%"
3850ALIGN="RIGHT"
3851VALIGN="TOP"
3852><TT
3853CLASS="PARAMETER"
3854><I
3855>entity</I
3856></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003857>&nbsp;:</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003858><TD
3859WIDTH="80%"
3860ALIGN="LEFT"
3861VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003862> an Entity pointer</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003863></TR
3864><TR
3865><TD
3866WIDTH="20%"
3867ALIGN="RIGHT"
3868VALIGN="TOP"
3869><I
3870CLASS="EMPHASIS"
3871>Returns</I
3872> :</TD
3873><TD
3874WIDTH="80%"
3875ALIGN="LEFT"
3876VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003877>the new input stream or NULL</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003878></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003879></TBODY
Daniel Veillardbc50b591999-03-01 12:28:53 +00003880></TABLE
3881><P
3882></P
3883></DIV
3884></DIV
3885><HR><DIV
3886CLASS="REFSECT2"
3887><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003888NAME="AEN22038"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003889></A
3890><H3
3891><A
3892NAME="XMLPUSHINPUT"
3893></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003894>xmlPushInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003895><TABLE
3896BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003897BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003898WIDTH="100%"
3899CELLPADDING="6"
3900><TR
3901><TD
3902><PRE
3903CLASS="PROGRAMLISTING"
3904>void xmlPushInput (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003905HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003906>xmlParserCtxtPtr</A
3907> ctxt,
3908 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003909HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003910>xmlParserInputPtr</A
3911> input);</PRE
3912></TD
3913></TR
3914></TABLE
3915><P
3916>xmlPushInput: switch to a new input stream which is stacked on top
Daniel Veillardaf43f632002-03-08 15:05:20 +00003917of the previous one(s).</P
Daniel Veillardbc50b591999-03-01 12:28:53 +00003918><P
3919></P
3920><DIV
3921CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003922><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003923NAME="AEN22046"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003924></A
Daniel Veillardbc50b591999-03-01 12:28:53 +00003925><P
3926></P
3927><TABLE
3928BORDER="0"
3929WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003930BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003931CELLSPACING="0"
3932CELLPADDING="4"
3933CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00003934><TBODY
Daniel Veillardbc50b591999-03-01 12:28:53 +00003935><TR
3936><TD
3937WIDTH="20%"
3938ALIGN="RIGHT"
3939VALIGN="TOP"
3940><TT
3941CLASS="PARAMETER"
3942><I
3943>ctxt</I
3944></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003945>&nbsp;:</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003946><TD
3947WIDTH="80%"
3948ALIGN="LEFT"
3949VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003950> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003951></TR
3952><TR
3953><TD
3954WIDTH="20%"
3955ALIGN="RIGHT"
3956VALIGN="TOP"
3957><TT
3958CLASS="PARAMETER"
3959><I
3960>input</I
3961></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00003962>&nbsp;:</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003963><TD
3964WIDTH="80%"
3965ALIGN="LEFT"
3966VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00003967> an XML parser input fragment (entity, XML fragment ...).</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003968></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00003969></TBODY
Daniel Veillardbc50b591999-03-01 12:28:53 +00003970></TABLE
3971><P
3972></P
3973></DIV
3974></DIV
3975><HR><DIV
3976CLASS="REFSECT2"
3977><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00003978NAME="AEN22059"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003979></A
3980><H3
3981><A
3982NAME="XMLPOPINPUT"
3983></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00003984>xmlPopInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003985><TABLE
3986BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003987BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +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
3997> xmlPopInput (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00003998HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003999>xmlParserCtxtPtr</A
4000> ctxt);</PRE
4001></TD
4002></TR
4003></TABLE
4004><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004005>xmlPopInput: the current input pointed by ctxt-&gt;input came to an end
Daniel Veillardaf43f632002-03-08 15:05:20 +00004006pop it and return the next char.</P
Daniel Veillardbc50b591999-03-01 12:28:53 +00004007><P
Daniel Veillardbc50b591999-03-01 12:28:53 +00004008></P
4009><DIV
4010CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004011><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004012NAME="AEN22067"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004013></A
Daniel Veillardbc50b591999-03-01 12:28:53 +00004014><P
4015></P
4016><TABLE
4017BORDER="0"
4018WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004019BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00004020CELLSPACING="0"
4021CELLPADDING="4"
4022CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004023><TBODY
Daniel Veillardbc50b591999-03-01 12:28:53 +00004024><TR
4025><TD
4026WIDTH="20%"
4027ALIGN="RIGHT"
4028VALIGN="TOP"
4029><TT
4030CLASS="PARAMETER"
4031><I
4032>ctxt</I
4033></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004034>&nbsp;:</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00004035><TD
4036WIDTH="80%"
4037ALIGN="LEFT"
4038VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004039> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00004040></TR
4041><TR
4042><TD
4043WIDTH="20%"
4044ALIGN="RIGHT"
4045VALIGN="TOP"
4046><I
4047CLASS="EMPHASIS"
4048>Returns</I
4049> :</TD
4050><TD
4051WIDTH="80%"
4052ALIGN="LEFT"
4053VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004054>the current xmlChar in the parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00004055></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004056></TBODY
Daniel Veillardbc50b591999-03-01 12:28:53 +00004057></TABLE
4058><P
4059></P
4060></DIV
4061></DIV
4062><HR><DIV
4063CLASS="REFSECT2"
4064><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004065NAME="AEN22080"
Daniel Veillardbc50b591999-03-01 12:28:53 +00004066></A
4067><H3
4068><A
4069NAME="XMLFREEINPUTSTREAM"
4070></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004071>xmlFreeInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00004072><TABLE
4073BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004074BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00004075WIDTH="100%"
4076CELLPADDING="6"
4077><TR
4078><TD
4079><PRE
4080CLASS="PROGRAMLISTING"
4081>void xmlFreeInputStream (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004082HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillardbc50b591999-03-01 12:28:53 +00004083>xmlParserInputPtr</A
4084> input);</PRE
4085></TD
4086></TR
4087></TABLE
4088><P
4089>Free up an input stream.</P
4090><P
4091></P
4092><DIV
4093CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004094><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004095NAME="AEN22087"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004096></A
Daniel Veillardbc50b591999-03-01 12:28:53 +00004097><P
4098></P
4099><TABLE
4100BORDER="0"
4101WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004102BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00004103CELLSPACING="0"
4104CELLPADDING="4"
4105CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004106><TBODY
Daniel Veillardbc50b591999-03-01 12:28:53 +00004107><TR
4108><TD
4109WIDTH="20%"
4110ALIGN="RIGHT"
4111VALIGN="TOP"
4112><TT
4113CLASS="PARAMETER"
4114><I
4115>input</I
4116></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004117>&nbsp;:</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00004118><TD
4119WIDTH="80%"
4120ALIGN="LEFT"
4121VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004122> an xmlParserInputPtr</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00004123></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004124></TBODY
Daniel Veillardbc50b591999-03-01 12:28:53 +00004125></TABLE
4126><P
4127></P
4128></DIV
4129></DIV
4130><HR><DIV
4131CLASS="REFSECT2"
4132><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004133NAME="AEN22096"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004134></A
4135><H3
4136><A
4137NAME="XMLNEWINPUTFROMFILE"
4138></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004139>xmlNewInputFromFile ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00004140><TABLE
4141BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004142BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004143WIDTH="100%"
4144CELLPADDING="6"
4145><TR
4146><TD
4147><PRE
4148CLASS="PROGRAMLISTING"
4149><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004150HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004151>xmlParserInputPtr</A
4152> xmlNewInputFromFile (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004153HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004154>xmlParserCtxtPtr</A
4155> ctxt,
4156 const char *filename);</PRE
4157></TD
4158></TR
4159></TABLE
4160><P
4161>Create a new input stream based on a file.</P
4162><P
4163></P
4164><DIV
4165CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004166><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004167NAME="AEN22104"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004168></A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004169><P
4170></P
4171><TABLE
4172BORDER="0"
4173WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004174BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004175CELLSPACING="0"
4176CELLPADDING="4"
4177CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004178><TBODY
Daniel Veillard011b63c1999-06-02 17:44:04 +00004179><TR
4180><TD
4181WIDTH="20%"
4182ALIGN="RIGHT"
4183VALIGN="TOP"
4184><TT
4185CLASS="PARAMETER"
4186><I
4187>ctxt</I
4188></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004189>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00004190><TD
4191WIDTH="80%"
4192ALIGN="LEFT"
4193VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004194> an XML parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00004195></TR
4196><TR
4197><TD
4198WIDTH="20%"
4199ALIGN="RIGHT"
4200VALIGN="TOP"
4201><TT
4202CLASS="PARAMETER"
4203><I
4204>filename</I
4205></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004206>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00004207><TD
4208WIDTH="80%"
4209ALIGN="LEFT"
4210VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004211> the filename to use as entity</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00004212></TR
4213><TR
4214><TD
4215WIDTH="20%"
4216ALIGN="RIGHT"
4217VALIGN="TOP"
4218><I
4219CLASS="EMPHASIS"
4220>Returns</I
4221> :</TD
4222><TD
4223WIDTH="80%"
4224ALIGN="LEFT"
4225VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004226>the new input stream or NULL in case of error</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00004227></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004228></TBODY
Daniel Veillard011b63c1999-06-02 17:44:04 +00004229></TABLE
4230><P
4231></P
4232></DIV
4233></DIV
4234><HR><DIV
4235CLASS="REFSECT2"
4236><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004237NAME="AEN22121"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004238></A
4239><H3
4240><A
4241NAME="XMLNEWINPUTSTREAM"
4242></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004243>xmlNewInputStream ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004244><TABLE
4245BORDER="0"
4246BGCOLOR="#D6E8FF"
4247WIDTH="100%"
4248CELLPADDING="6"
4249><TR
4250><TD
4251><PRE
4252CLASS="PROGRAMLISTING"
4253><A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004254HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004255>xmlParserInputPtr</A
4256> xmlNewInputStream (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004257HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004258>xmlParserCtxtPtr</A
4259> ctxt);</PRE
4260></TD
4261></TR
4262></TABLE
4263><P
4264>Create a new input stream structure</P
4265><P
4266></P
4267><DIV
4268CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004269><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004270NAME="AEN22129"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004271></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004272><P
4273></P
4274><TABLE
4275BORDER="0"
4276WIDTH="100%"
4277BGCOLOR="#FFD0D0"
4278CELLSPACING="0"
4279CELLPADDING="4"
4280CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004281><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004282><TR
4283><TD
4284WIDTH="20%"
4285ALIGN="RIGHT"
4286VALIGN="TOP"
4287><TT
4288CLASS="PARAMETER"
4289><I
4290>ctxt</I
4291></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004292>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004293><TD
4294WIDTH="80%"
4295ALIGN="LEFT"
4296VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004297> an XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004298></TR
4299><TR
4300><TD
4301WIDTH="20%"
4302ALIGN="RIGHT"
4303VALIGN="TOP"
4304><I
4305CLASS="EMPHASIS"
4306>Returns</I
4307> :</TD
4308><TD
4309WIDTH="80%"
4310ALIGN="LEFT"
4311VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004312>the new input stream or NULL</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004313></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004314></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004315></TABLE
4316><P
4317></P
4318></DIV
4319></DIV
4320><HR><DIV
4321CLASS="REFSECT2"
4322><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004323NAME="AEN22142"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004324></A
4325><H3
4326><A
4327NAME="XMLSPLITQNAME"
4328></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004329>xmlSplitQName ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004330><TABLE
4331BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004332BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004333WIDTH="100%"
4334CELLPADDING="6"
4335><TR
4336><TD
4337><PRE
4338CLASS="PROGRAMLISTING"
4339><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004340HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004341>xmlChar</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004342>* xmlSplitQName (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004343HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004344>xmlParserCtxtPtr</A
4345> ctxt,
4346 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004347HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004348>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004349> *name,
4350 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004351HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004352>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004353> **prefix);</PRE
4354></TD
4355></TR
4356></TABLE
4357><P
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004358>parse an UTF8 encoded XML qualified name string</P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004359><P
4360>[NS 5] QName ::= (Prefix ':')? LocalPart</P
4361><P
4362>[NS 6] Prefix ::= NCName</P
4363><P
4364>[NS 7] LocalPart ::= NCName</P
4365><P
4366></P
4367><DIV
4368CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004369><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004370NAME="AEN22155"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004371></A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004372><P
4373></P
4374><TABLE
4375BORDER="0"
4376WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004377BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004378CELLSPACING="0"
4379CELLPADDING="4"
4380CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004381><TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004382><TR
4383><TD
4384WIDTH="20%"
4385ALIGN="RIGHT"
4386VALIGN="TOP"
4387><TT
4388CLASS="PARAMETER"
4389><I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004390>ctxt</I
4391></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004392>&nbsp;:</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004393><TD
4394WIDTH="80%"
4395ALIGN="LEFT"
4396VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004397> an XML parser context</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004398></TR
4399><TR
4400><TD
4401WIDTH="20%"
4402ALIGN="RIGHT"
4403VALIGN="TOP"
4404><TT
4405CLASS="PARAMETER"
4406><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004407>name</I
4408></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004409>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004410><TD
4411WIDTH="80%"
4412ALIGN="LEFT"
4413VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004414> an XML parser context</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004415></TR
4416><TR
4417><TD
4418WIDTH="20%"
4419ALIGN="RIGHT"
4420VALIGN="TOP"
4421><TT
4422CLASS="PARAMETER"
4423><I
4424>prefix</I
4425></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004426>&nbsp;:</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004427><TD
4428WIDTH="80%"
4429ALIGN="LEFT"
4430VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004431> a xmlChar ** </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004432></TR
4433><TR
4434><TD
4435WIDTH="20%"
4436ALIGN="RIGHT"
4437VALIGN="TOP"
4438><I
4439CLASS="EMPHASIS"
4440>Returns</I
4441> :</TD
4442><TD
4443WIDTH="80%"
4444ALIGN="LEFT"
4445VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004446>the local part, and prefix is updated
Daniel Veillardaf43f632002-03-08 15:05:20 +00004447to get the Prefix if any.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004448></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004449></TBODY
Daniel Veillard5099ae81999-04-21 20:12:07 +00004450></TABLE
4451><P
4452></P
4453></DIV
4454></DIV
4455><HR><DIV
4456CLASS="REFSECT2"
4457><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004458NAME="AEN22176"
Daniel Veillard35925471999-02-25 08:46:07 +00004459></A
4460><H3
4461><A
4462NAME="XMLNAMESPACEPARSENCNAME"
4463></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004464>xmlNamespaceParseNCName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004465><TABLE
4466BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004467BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004468WIDTH="100%"
4469CELLPADDING="6"
4470><TR
4471><TD
4472><PRE
4473CLASS="PROGRAMLISTING"
4474><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004475HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004476>xmlChar</A
4477>* xmlNamespaceParseNCName (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004478HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004479>xmlParserCtxtPtr</A
4480> ctxt);</PRE
4481></TD
4482></TR
4483></TABLE
4484><P
4485>parse an XML namespace name.</P
4486><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004487>TODO: this seems not in use anymore, the namespace handling is done on
Daniel Veillardaf43f632002-03-08 15:05:20 +00004488top of the SAX interfaces, i.e. not on raw input.</P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004489><P
Daniel Veillard35925471999-02-25 08:46:07 +00004490>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
4491><P
4492>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
Daniel Veillardaf43f632002-03-08 15:05:20 +00004493CombiningChar | Extender</P
Daniel Veillard35925471999-02-25 08:46:07 +00004494><P
4495></P
4496><DIV
4497CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004498><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004499NAME="AEN22187"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004500></A
Daniel Veillard35925471999-02-25 08:46:07 +00004501><P
4502></P
4503><TABLE
4504BORDER="0"
4505WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004506BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004507CELLSPACING="0"
4508CELLPADDING="4"
4509CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004510><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004511><TR
4512><TD
4513WIDTH="20%"
4514ALIGN="RIGHT"
4515VALIGN="TOP"
4516><TT
4517CLASS="PARAMETER"
4518><I
4519>ctxt</I
4520></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004521>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004522><TD
4523WIDTH="80%"
4524ALIGN="LEFT"
4525VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004526> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004527></TR
4528><TR
4529><TD
4530WIDTH="20%"
4531ALIGN="RIGHT"
4532VALIGN="TOP"
4533><I
4534CLASS="EMPHASIS"
4535>Returns</I
4536> :</TD
4537><TD
4538WIDTH="80%"
4539ALIGN="LEFT"
4540VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004541>the namespace name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004542></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004543></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004544></TABLE
4545><P
4546></P
4547></DIV
4548></DIV
4549><HR><DIV
4550CLASS="REFSECT2"
4551><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004552NAME="AEN22200"
Daniel Veillard35925471999-02-25 08:46:07 +00004553></A
4554><H3
4555><A
4556NAME="XMLNAMESPACEPARSEQNAME"
4557></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004558>xmlNamespaceParseQName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004559><TABLE
4560BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004561BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004562WIDTH="100%"
4563CELLPADDING="6"
4564><TR
4565><TD
4566><PRE
4567CLASS="PROGRAMLISTING"
4568><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004569HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004570>xmlChar</A
4571>* xmlNamespaceParseQName (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004572HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004573>xmlParserCtxtPtr</A
4574> ctxt,
4575 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004576HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004577>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004578> **prefix);</PRE
4579></TD
4580></TR
4581></TABLE
4582><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004583>TODO: this seems not in use anymore, the namespace handling is done on
Daniel Veillardaf43f632002-03-08 15:05:20 +00004584top of the SAX interfaces, i.e. not on raw input.</P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004585><P
Daniel Veillard35925471999-02-25 08:46:07 +00004586>parse an XML qualified name</P
4587><P
4588>[NS 5] QName ::= (Prefix ':')? LocalPart</P
4589><P
4590>[NS 6] Prefix ::= NCName</P
4591><P
4592>[NS 7] LocalPart ::= NCName</P
4593><P
4594></P
4595><DIV
4596CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004597><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004598NAME="AEN22213"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004599></A
Daniel Veillard35925471999-02-25 08:46:07 +00004600><P
4601></P
4602><TABLE
4603BORDER="0"
4604WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004605BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004606CELLSPACING="0"
4607CELLPADDING="4"
4608CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004609><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004610><TR
4611><TD
4612WIDTH="20%"
4613ALIGN="RIGHT"
4614VALIGN="TOP"
4615><TT
4616CLASS="PARAMETER"
4617><I
4618>ctxt</I
4619></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004620>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004621><TD
4622WIDTH="80%"
4623ALIGN="LEFT"
4624VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004625> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004626></TR
4627><TR
4628><TD
4629WIDTH="20%"
4630ALIGN="RIGHT"
4631VALIGN="TOP"
4632><TT
4633CLASS="PARAMETER"
4634><I
4635>prefix</I
4636></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004637>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004638><TD
4639WIDTH="80%"
4640ALIGN="LEFT"
4641VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004642> a xmlChar ** </TD
Daniel Veillard35925471999-02-25 08:46:07 +00004643></TR
4644><TR
4645><TD
4646WIDTH="20%"
4647ALIGN="RIGHT"
4648VALIGN="TOP"
4649><I
4650CLASS="EMPHASIS"
4651>Returns</I
4652> :</TD
4653><TD
4654WIDTH="80%"
4655ALIGN="LEFT"
4656VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004657>the local part, and prefix is updated
Daniel Veillardaf43f632002-03-08 15:05:20 +00004658to get the Prefix if any.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004659></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004660></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004661></TABLE
4662><P
4663></P
4664></DIV
4665></DIV
4666><HR><DIV
4667CLASS="REFSECT2"
4668><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004669NAME="AEN22230"
Daniel Veillard35925471999-02-25 08:46:07 +00004670></A
4671><H3
4672><A
4673NAME="XMLNAMESPACEPARSENSDEF"
4674></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004675>xmlNamespaceParseNSDef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004676><TABLE
4677BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004678BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004679WIDTH="100%"
4680CELLPADDING="6"
4681><TR
4682><TD
4683><PRE
4684CLASS="PROGRAMLISTING"
4685><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004686HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004687>xmlChar</A
4688>* xmlNamespaceParseNSDef (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004689HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004690>xmlParserCtxtPtr</A
4691> ctxt);</PRE
4692></TD
4693></TR
4694></TABLE
4695><P
4696>parse a namespace prefix declaration</P
4697><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004698>TODO: this seems not in use anymore, the namespace handling is done on
Daniel Veillardaf43f632002-03-08 15:05:20 +00004699top of the SAX interfaces, i.e. not on raw input.</P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004700><P
Daniel Veillard35925471999-02-25 08:46:07 +00004701>[NS 1] NSDef ::= PrefixDef Eq SystemLiteral</P
4702><P
4703>[NS 2] PrefixDef ::= 'xmlns' (':' NCName)?</P
4704><P
4705></P
4706><DIV
4707CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004708><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004709NAME="AEN22241"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004710></A
Daniel Veillard35925471999-02-25 08:46:07 +00004711><P
4712></P
4713><TABLE
4714BORDER="0"
4715WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004716BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004717CELLSPACING="0"
4718CELLPADDING="4"
4719CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004720><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004721><TR
4722><TD
4723WIDTH="20%"
4724ALIGN="RIGHT"
4725VALIGN="TOP"
4726><TT
4727CLASS="PARAMETER"
4728><I
4729>ctxt</I
4730></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004731>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004732><TD
4733WIDTH="80%"
4734ALIGN="LEFT"
4735VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004736> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004737></TR
4738><TR
4739><TD
4740WIDTH="20%"
4741ALIGN="RIGHT"
4742VALIGN="TOP"
4743><I
4744CLASS="EMPHASIS"
4745>Returns</I
4746> :</TD
4747><TD
4748WIDTH="80%"
4749ALIGN="LEFT"
4750VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004751>the namespace name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004752></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004753></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004754></TABLE
4755><P
4756></P
4757></DIV
4758></DIV
4759><HR><DIV
4760CLASS="REFSECT2"
4761><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004762NAME="AEN22254"
Daniel Veillard35925471999-02-25 08:46:07 +00004763></A
4764><H3
4765><A
4766NAME="XMLPARSEQUOTEDSTRING"
4767></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004768>xmlParseQuotedString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004769><TABLE
4770BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004771BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004772WIDTH="100%"
4773CELLPADDING="6"
4774><TR
4775><TD
4776><PRE
4777CLASS="PROGRAMLISTING"
4778><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004779HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004780>xmlChar</A
4781>* xmlParseQuotedString (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004782HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004783>xmlParserCtxtPtr</A
4784> ctxt);</PRE
4785></TD
4786></TR
4787></TABLE
4788><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004789>Parse and return a string between quotes or doublequotes</P
4790><P
4791>TODO: Deprecated, to be removed at next drop of binary compatibility</P
Daniel Veillard35925471999-02-25 08:46:07 +00004792><P
4793></P
4794><DIV
4795CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004796><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004797NAME="AEN22263"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004798></A
Daniel Veillard35925471999-02-25 08:46:07 +00004799><P
4800></P
4801><TABLE
4802BORDER="0"
4803WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004804BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004805CELLSPACING="0"
4806CELLPADDING="4"
4807CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004808><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004809><TR
4810><TD
4811WIDTH="20%"
4812ALIGN="RIGHT"
4813VALIGN="TOP"
4814><TT
4815CLASS="PARAMETER"
4816><I
4817>ctxt</I
4818></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004819>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004820><TD
4821WIDTH="80%"
4822ALIGN="LEFT"
4823VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004824> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004825></TR
4826><TR
4827><TD
4828WIDTH="20%"
4829ALIGN="RIGHT"
4830VALIGN="TOP"
4831><I
4832CLASS="EMPHASIS"
4833>Returns</I
4834> :</TD
4835><TD
4836WIDTH="80%"
4837ALIGN="LEFT"
4838VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004839>the string parser or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004840></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004841></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004842></TABLE
4843><P
4844></P
4845></DIV
4846></DIV
4847><HR><DIV
4848CLASS="REFSECT2"
4849><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004850NAME="AEN22276"
Daniel Veillard35925471999-02-25 08:46:07 +00004851></A
4852><H3
4853><A
4854NAME="XMLPARSENAMESPACE"
4855></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004856>xmlParseNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004857><TABLE
4858BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004859BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004860WIDTH="100%"
4861CELLPADDING="6"
4862><TR
4863><TD
4864><PRE
4865CLASS="PROGRAMLISTING"
4866>void xmlParseNamespace (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004867HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00004868>xmlParserCtxtPtr</A
4869> ctxt);</PRE
4870></TD
4871></TR
4872></TABLE
4873><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004874>xmlParseNamespace: parse specific PI '&lt;?namespace ...' constructs.</P
Daniel Veillard35925471999-02-25 08:46:07 +00004875><P
4876>This is what the older xml-name Working Draft specified, a bunch of
4877other stuff may still rely on it, so support is still here as
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004878if it was declared on the root of the Tree:-(</P
Daniel Veillard35925471999-02-25 08:46:07 +00004879><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004880>TODO: remove from library</P
4881><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004882>To be removed at next drop of binary compatibility</P
4883><P
Daniel Veillard35925471999-02-25 08:46:07 +00004884></P
4885><DIV
4886CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004887><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004888NAME="AEN22286"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004889></A
Daniel Veillard35925471999-02-25 08:46:07 +00004890><P
4891></P
4892><TABLE
4893BORDER="0"
4894WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004895BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004896CELLSPACING="0"
4897CELLPADDING="4"
4898CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004899><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004900><TR
4901><TD
4902WIDTH="20%"
4903ALIGN="RIGHT"
4904VALIGN="TOP"
4905><TT
4906CLASS="PARAMETER"
4907><I
4908>ctxt</I
4909></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004910>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004911><TD
4912WIDTH="80%"
4913ALIGN="LEFT"
4914VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004915> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004916></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00004917></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004918></TABLE
4919><P
4920></P
4921></DIV
4922></DIV
4923><HR><DIV
4924CLASS="REFSECT2"
4925><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004926NAME="AEN22295"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004927></A
4928><H3
4929><A
4930NAME="XMLSCANNAME"
4931></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00004932>xmlScanName ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00004933><TABLE
4934BORDER="0"
4935BGCOLOR="#D6E8FF"
4936WIDTH="100%"
4937CELLPADDING="6"
4938><TR
4939><TD
4940><PRE
4941CLASS="PROGRAMLISTING"
4942><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00004943HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004944>xmlChar</A
4945>* xmlScanName (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00004946HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004947>xmlParserCtxtPtr</A
4948> ctxt);</PRE
4949></TD
4950></TR
4951></TABLE
4952><P
4953>Trickery: parse an XML name but without consuming the input flow
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004954Needed for rollback cases. Used only when parsing entities references.</P
4955><P
4956>TODO: seems deprecated now, only used in the default part of
Daniel Veillardaf43f632002-03-08 15:05:20 +00004957xmlParserHandleReference</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004958><P
4959>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
Daniel Veillardaf43f632002-03-08 15:05:20 +00004960CombiningChar | Extender</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004961><P
4962>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
4963><P
4964>[6] Names ::= Name (S Name)*</P
4965><P
4966></P
4967><DIV
4968CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004969><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00004970NAME="AEN22307"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004971></A
Daniel Veillard35925471999-02-25 08:46:07 +00004972><P
4973></P
4974><TABLE
4975BORDER="0"
4976WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004977BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004978CELLSPACING="0"
4979CELLPADDING="4"
4980CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00004981><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00004982><TR
4983><TD
4984WIDTH="20%"
4985ALIGN="RIGHT"
4986VALIGN="TOP"
4987><TT
4988CLASS="PARAMETER"
4989><I
4990>ctxt</I
4991></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00004992>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004993><TD
4994WIDTH="80%"
4995ALIGN="LEFT"
4996VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00004997> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004998></TR
4999><TR
5000><TD
5001WIDTH="20%"
5002ALIGN="RIGHT"
5003VALIGN="TOP"
5004><I
5005CLASS="EMPHASIS"
5006>Returns</I
5007> :</TD
5008><TD
5009WIDTH="80%"
5010ALIGN="LEFT"
5011VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005012>the Name parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005013></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005014></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005015></TABLE
5016><P
5017></P
5018></DIV
5019></DIV
5020><HR><DIV
5021CLASS="REFSECT2"
5022><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005023NAME="AEN22320"
Daniel Veillard35925471999-02-25 08:46:07 +00005024></A
5025><H3
5026><A
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005027NAME="XMLPARSENAME"
5028></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005029>xmlParseName ()</H3
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005030><TABLE
5031BORDER="0"
5032BGCOLOR="#D6E8FF"
5033WIDTH="100%"
5034CELLPADDING="6"
5035><TR
5036><TD
5037><PRE
5038CLASS="PROGRAMLISTING"
5039><A
5040HREF="libxml-tree.html#XMLCHAR"
5041>xmlChar</A
5042>* xmlParseName (<A
5043HREF="libxml-tree.html#XMLPARSERCTXTPTR"
5044>xmlParserCtxtPtr</A
5045> ctxt);</PRE
5046></TD
5047></TR
5048></TABLE
5049><P
5050>parse an XML name.</P
5051><P
5052>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
Daniel Veillardaf43f632002-03-08 15:05:20 +00005053CombiningChar | Extender</P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005054><P
5055>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
5056><P
5057>[6] Names ::= Name (S Name)*</P
5058><P
5059></P
5060><DIV
5061CLASS="INFORMALTABLE"
5062><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005063NAME="AEN22331"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005064></A
5065><P
5066></P
5067><TABLE
5068BORDER="0"
5069WIDTH="100%"
5070BGCOLOR="#FFD0D0"
5071CELLSPACING="0"
5072CELLPADDING="4"
5073CLASS="CALSTABLE"
5074><TBODY
5075><TR
5076><TD
5077WIDTH="20%"
5078ALIGN="RIGHT"
5079VALIGN="TOP"
5080><TT
5081CLASS="PARAMETER"
5082><I
5083>ctxt</I
5084></TT
5085>&nbsp;:</TD
5086><TD
5087WIDTH="80%"
5088ALIGN="LEFT"
5089VALIGN="TOP"
5090> an XML parser context</TD
5091></TR
5092><TR
5093><TD
5094WIDTH="20%"
5095ALIGN="RIGHT"
5096VALIGN="TOP"
5097><I
5098CLASS="EMPHASIS"
5099>Returns</I
5100> :</TD
5101><TD
5102WIDTH="80%"
5103ALIGN="LEFT"
5104VALIGN="TOP"
5105>the Name parsed or NULL</TD
5106></TR
5107></TBODY
5108></TABLE
5109><P
5110></P
5111></DIV
5112></DIV
5113><HR><DIV
5114CLASS="REFSECT2"
5115><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005116NAME="AEN22344"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005117></A
5118><H3
5119><A
Daniel Veillard35925471999-02-25 08:46:07 +00005120NAME="XMLPARSENMTOKEN"
5121></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005122>xmlParseNmtoken ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005123><TABLE
5124BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005125BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005126WIDTH="100%"
5127CELLPADDING="6"
5128><TR
5129><TD
5130><PRE
5131CLASS="PROGRAMLISTING"
5132><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005133HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005134>xmlChar</A
5135>* xmlParseNmtoken (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00005136HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005137>xmlParserCtxtPtr</A
5138> ctxt);</PRE
5139></TD
5140></TR
5141></TABLE
5142><P
5143>parse an XML Nmtoken.</P
5144><P
5145>[7] Nmtoken ::= (NameChar)+</P
5146><P
5147>[8] Nmtokens ::= Nmtoken (S Nmtoken)*</P
5148><P
5149></P
5150><DIV
5151CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005152><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005153NAME="AEN22354"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005154></A
Daniel Veillard35925471999-02-25 08:46:07 +00005155><P
5156></P
5157><TABLE
5158BORDER="0"
5159WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005160BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005161CELLSPACING="0"
5162CELLPADDING="4"
5163CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005164><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005165><TR
5166><TD
5167WIDTH="20%"
5168ALIGN="RIGHT"
5169VALIGN="TOP"
5170><TT
5171CLASS="PARAMETER"
5172><I
5173>ctxt</I
5174></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005175>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005176><TD
5177WIDTH="80%"
5178ALIGN="LEFT"
5179VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005180> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005181></TR
5182><TR
5183><TD
5184WIDTH="20%"
5185ALIGN="RIGHT"
5186VALIGN="TOP"
5187><I
5188CLASS="EMPHASIS"
5189>Returns</I
5190> :</TD
5191><TD
5192WIDTH="80%"
5193ALIGN="LEFT"
5194VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005195>the Nmtoken parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005196></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005197></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005198></TABLE
5199><P
5200></P
5201></DIV
5202></DIV
5203><HR><DIV
5204CLASS="REFSECT2"
5205><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005206NAME="AEN22367"
Daniel Veillard35925471999-02-25 08:46:07 +00005207></A
5208><H3
5209><A
5210NAME="XMLPARSEENTITYVALUE"
5211></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005212>xmlParseEntityValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005213><TABLE
5214BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005215BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005216WIDTH="100%"
5217CELLPADDING="6"
5218><TR
5219><TD
5220><PRE
5221CLASS="PROGRAMLISTING"
5222><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005223HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005224>xmlChar</A
5225>* xmlParseEntityValue (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00005226HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005227>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005228> ctxt,
5229 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005230HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005231>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005232> **orig);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00005233></TD
5234></TR
5235></TABLE
5236><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005237>parse a value for ENTITY declarations</P
Daniel Veillard35925471999-02-25 08:46:07 +00005238><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005239>[9] EntityValue ::= '"' ([^%&amp;"] | PEReference | Reference)* '"' |
Daniel Veillardaf43f632002-03-08 15:05:20 +00005240"'" ([^%&amp;'] | PEReference | Reference)* "'"</P
Daniel Veillard35925471999-02-25 08:46:07 +00005241><P
5242></P
5243><DIV
5244CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005245><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005246NAME="AEN22377"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005247></A
Daniel Veillard35925471999-02-25 08:46:07 +00005248><P
5249></P
5250><TABLE
5251BORDER="0"
5252WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005253BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005254CELLSPACING="0"
5255CELLPADDING="4"
5256CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005257><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005258><TR
5259><TD
5260WIDTH="20%"
5261ALIGN="RIGHT"
5262VALIGN="TOP"
5263><TT
5264CLASS="PARAMETER"
5265><I
5266>ctxt</I
5267></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005268>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005269><TD
5270WIDTH="80%"
5271ALIGN="LEFT"
5272VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005273> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005274></TR
5275><TR
5276><TD
5277WIDTH="20%"
5278ALIGN="RIGHT"
5279VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005280><TT
5281CLASS="PARAMETER"
5282><I
5283>orig</I
5284></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005285>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00005286><TD
5287WIDTH="80%"
5288ALIGN="LEFT"
5289VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005290> if non-NULL store a copy of the original entity value</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00005291></TR
5292><TR
5293><TD
5294WIDTH="20%"
5295ALIGN="RIGHT"
5296VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00005297><I
5298CLASS="EMPHASIS"
5299>Returns</I
5300> :</TD
5301><TD
5302WIDTH="80%"
5303ALIGN="LEFT"
5304VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005305>the EntityValue parsed with reference substituted or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005306></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005307></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005308></TABLE
5309><P
5310></P
5311></DIV
5312></DIV
5313><HR><DIV
5314CLASS="REFSECT2"
5315><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005316NAME="AEN22394"
Daniel Veillard35925471999-02-25 08:46:07 +00005317></A
5318><H3
5319><A
5320NAME="XMLPARSEATTVALUE"
5321></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005322>xmlParseAttValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005323><TABLE
5324BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005325BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005326WIDTH="100%"
5327CELLPADDING="6"
5328><TR
5329><TD
5330><PRE
5331CLASS="PROGRAMLISTING"
5332><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005333HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005334>xmlChar</A
5335>* xmlParseAttValue (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00005336HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005337>xmlParserCtxtPtr</A
5338> ctxt);</PRE
5339></TD
5340></TR
5341></TABLE
5342><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00005343>parse a value for an attribute
5344Note: the parser won't do substitution of entities here, this
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005345will be handled later in xmlStringGetNodeList</P
Daniel Veillard35925471999-02-25 08:46:07 +00005346><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005347>[10] AttValue ::= '"' ([^&lt;&amp;"] | Reference)* '"' |
Daniel Veillardaf43f632002-03-08 15:05:20 +00005348"'" ([^&lt;&amp;'] | Reference)* "'"</P
Daniel Veillard35925471999-02-25 08:46:07 +00005349><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005350>3.3.3 Attribute-Value Normalization:
5351Before the value of an attribute is passed to the application or
5352checked for validity, the XML processor must normalize it as follows:
5353- a character reference is processed by appending the referenced
Daniel Veillardaf43f632002-03-08 15:05:20 +00005354character to the attribute value
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005355- an entity reference is processed by recursively processing the
Daniel Veillardaf43f632002-03-08 15:05:20 +00005356replacement text of the entity
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005357- a whitespace character (<GTKDOCLINK
5358HREF="X20"
5359>x20</GTKDOCLINK
5360>, <GTKDOCLINK
5361HREF="XD"
5362>xD</GTKDOCLINK
5363>, <GTKDOCLINK
5364HREF="XA"
5365>xA</GTKDOCLINK
5366>, <GTKDOCLINK
5367HREF="X9"
5368>x9</GTKDOCLINK
5369>) is processed by
Daniel Veillardaf43f632002-03-08 15:05:20 +00005370appending <GTKDOCLINK
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005371HREF="X20"
5372>x20</GTKDOCLINK
5373> to the normalized value, except that only a single
Daniel Veillardaf43f632002-03-08 15:05:20 +00005374<GTKDOCLINK
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005375HREF="X20"
5376>x20</GTKDOCLINK
5377> is appended for a "<GTKDOCLINK
5378HREF="XD"
5379>xD</GTKDOCLINK
5380><GTKDOCLINK
5381HREF="XA"
5382>xA</GTKDOCLINK
5383>" sequence that is part of an external
Daniel Veillardaf43f632002-03-08 15:05:20 +00005384parsed entity or the literal entity value of an internal parsed entity
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005385- other characters are processed by appending them to the normalized value
5386If the declared value is not CDATA, then the XML processor must further
5387process the normalized attribute value by discarding any leading and
5388trailing space (<GTKDOCLINK
5389HREF="X20"
5390>x20</GTKDOCLINK
5391>) characters, and by replacing sequences of space
5392(<GTKDOCLINK
5393HREF="X20"
5394>x20</GTKDOCLINK
5395>) characters by a single space (<GTKDOCLINK
5396HREF="X20"
5397>x20</GTKDOCLINK
5398>) character.
5399All attributes for which no declaration has been read should be treated
5400by a non-validating parser as if declared CDATA.</P
5401><P
Daniel Veillard35925471999-02-25 08:46:07 +00005402></P
5403><DIV
5404CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005405><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005406NAME="AEN22415"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005407></A
Daniel Veillard35925471999-02-25 08:46:07 +00005408><P
5409></P
5410><TABLE
5411BORDER="0"
5412WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005413BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005414CELLSPACING="0"
5415CELLPADDING="4"
5416CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005417><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005418><TR
5419><TD
5420WIDTH="20%"
5421ALIGN="RIGHT"
5422VALIGN="TOP"
5423><TT
5424CLASS="PARAMETER"
5425><I
5426>ctxt</I
5427></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005428>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005429><TD
5430WIDTH="80%"
5431ALIGN="LEFT"
5432VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005433> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005434></TR
5435><TR
5436><TD
5437WIDTH="20%"
5438ALIGN="RIGHT"
5439VALIGN="TOP"
5440><I
5441CLASS="EMPHASIS"
5442>Returns</I
5443> :</TD
5444><TD
5445WIDTH="80%"
5446ALIGN="LEFT"
5447VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005448>the AttValue parsed or NULL. The value has to be freed by the caller.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005449></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005450></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005451></TABLE
5452><P
5453></P
5454></DIV
5455></DIV
5456><HR><DIV
5457CLASS="REFSECT2"
5458><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005459NAME="AEN22428"
Daniel Veillard35925471999-02-25 08:46:07 +00005460></A
5461><H3
5462><A
5463NAME="XMLPARSESYSTEMLITERAL"
5464></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005465>xmlParseSystemLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005466><TABLE
5467BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005468BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005469WIDTH="100%"
5470CELLPADDING="6"
5471><TR
5472><TD
5473><PRE
5474CLASS="PROGRAMLISTING"
5475><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005476HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005477>xmlChar</A
5478>* xmlParseSystemLiteral (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00005479HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005480>xmlParserCtxtPtr</A
5481> ctxt);</PRE
5482></TD
5483></TR
5484></TABLE
5485><P
5486>parse an XML Literal</P
5487><P
5488>[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</P
5489><P
5490></P
5491><DIV
5492CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005493><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005494NAME="AEN22437"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005495></A
Daniel Veillard35925471999-02-25 08:46:07 +00005496><P
5497></P
5498><TABLE
5499BORDER="0"
5500WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005501BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005502CELLSPACING="0"
5503CELLPADDING="4"
5504CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005505><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005506><TR
5507><TD
5508WIDTH="20%"
5509ALIGN="RIGHT"
5510VALIGN="TOP"
5511><TT
5512CLASS="PARAMETER"
5513><I
5514>ctxt</I
5515></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005516>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005517><TD
5518WIDTH="80%"
5519ALIGN="LEFT"
5520VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005521> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005522></TR
5523><TR
5524><TD
5525WIDTH="20%"
5526ALIGN="RIGHT"
5527VALIGN="TOP"
5528><I
5529CLASS="EMPHASIS"
5530>Returns</I
5531> :</TD
5532><TD
5533WIDTH="80%"
5534ALIGN="LEFT"
5535VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005536>the SystemLiteral parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005537></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005538></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005539></TABLE
5540><P
5541></P
5542></DIV
5543></DIV
5544><HR><DIV
5545CLASS="REFSECT2"
5546><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005547NAME="AEN22450"
Daniel Veillard35925471999-02-25 08:46:07 +00005548></A
5549><H3
5550><A
5551NAME="XMLPARSEPUBIDLITERAL"
5552></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005553>xmlParsePubidLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005554><TABLE
5555BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005556BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005557WIDTH="100%"
5558CELLPADDING="6"
5559><TR
5560><TD
5561><PRE
5562CLASS="PROGRAMLISTING"
5563><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005564HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005565>xmlChar</A
5566>* xmlParsePubidLiteral (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00005567HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005568>xmlParserCtxtPtr</A
5569> ctxt);</PRE
5570></TD
5571></TR
5572></TABLE
5573><P
5574>parse an XML public literal</P
5575><P
5576>[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</P
5577><P
5578></P
5579><DIV
5580CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005581><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005582NAME="AEN22459"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005583></A
Daniel Veillard35925471999-02-25 08:46:07 +00005584><P
5585></P
5586><TABLE
5587BORDER="0"
5588WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005589BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005590CELLSPACING="0"
5591CELLPADDING="4"
5592CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005593><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005594><TR
5595><TD
5596WIDTH="20%"
5597ALIGN="RIGHT"
5598VALIGN="TOP"
5599><TT
5600CLASS="PARAMETER"
5601><I
5602>ctxt</I
5603></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005604>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005605><TD
5606WIDTH="80%"
5607ALIGN="LEFT"
5608VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005609> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005610></TR
5611><TR
5612><TD
5613WIDTH="20%"
5614ALIGN="RIGHT"
5615VALIGN="TOP"
5616><I
5617CLASS="EMPHASIS"
5618>Returns</I
5619> :</TD
5620><TD
5621WIDTH="80%"
5622ALIGN="LEFT"
5623VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005624>the PubidLiteral parsed or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005625></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005626></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005627></TABLE
5628><P
5629></P
5630></DIV
5631></DIV
5632><HR><DIV
5633CLASS="REFSECT2"
5634><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005635NAME="AEN22472"
Daniel Veillard35925471999-02-25 08:46:07 +00005636></A
5637><H3
5638><A
5639NAME="XMLPARSECHARDATA"
5640></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005641>xmlParseCharData ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005642><TABLE
5643BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005644BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005645WIDTH="100%"
5646CELLPADDING="6"
5647><TR
5648><TD
5649><PRE
5650CLASS="PROGRAMLISTING"
5651>void xmlParseCharData (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00005652HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005653>xmlParserCtxtPtr</A
5654> ctxt,
5655 int cdata);</PRE
5656></TD
5657></TR
5658></TABLE
5659><P
5660>parse a CharData section.
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005661if we are within a CDATA section ']]&gt;' marks an end of section.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005662><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005663>The right angle bracket (&gt;) may be represented using the string "&amp;gt;",
5664and must, for compatibility, be escaped using "&amp;gt;" or a character
5665reference when it appears in the string "]]&gt;" in content, when that
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005666string is not marking the end of a CDATA section. </P
5667><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005668>[14] CharData ::= [^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</P
Daniel Veillard35925471999-02-25 08:46:07 +00005669><P
5670></P
5671><DIV
5672CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005673><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005674NAME="AEN22481"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005675></A
Daniel Veillard35925471999-02-25 08:46:07 +00005676><P
5677></P
5678><TABLE
5679BORDER="0"
5680WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005681BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005682CELLSPACING="0"
5683CELLPADDING="4"
5684CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005685><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005686><TR
5687><TD
5688WIDTH="20%"
5689ALIGN="RIGHT"
5690VALIGN="TOP"
5691><TT
5692CLASS="PARAMETER"
5693><I
5694>ctxt</I
5695></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005696>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005697><TD
5698WIDTH="80%"
5699ALIGN="LEFT"
5700VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005701> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005702></TR
5703><TR
5704><TD
5705WIDTH="20%"
5706ALIGN="RIGHT"
5707VALIGN="TOP"
5708><TT
5709CLASS="PARAMETER"
5710><I
5711>cdata</I
5712></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005713>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005714><TD
5715WIDTH="80%"
5716ALIGN="LEFT"
5717VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005718> int indicating whether we are within a CDATA section</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005719></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005720></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005721></TABLE
5722><P
5723></P
5724></DIV
5725></DIV
5726><HR><DIV
5727CLASS="REFSECT2"
5728><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005729NAME="AEN22494"
Daniel Veillard35925471999-02-25 08:46:07 +00005730></A
5731><H3
5732><A
5733NAME="XMLPARSEEXTERNALID"
5734></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005735>xmlParseExternalID ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005736><TABLE
5737BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005738BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005739WIDTH="100%"
5740CELLPADDING="6"
5741><TR
5742><TD
5743><PRE
5744CLASS="PROGRAMLISTING"
5745><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005746HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005747>xmlChar</A
5748>* xmlParseExternalID (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00005749HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005750>xmlParserCtxtPtr</A
5751> ctxt,
5752 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005753HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005754>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005755> **publicID,
5756 int strict);</PRE
5757></TD
5758></TR
5759></TABLE
5760><P
5761>Parse an External ID or a Public ID</P
5762><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00005763>NOTE: Productions [75] and [83] interact badly since [75] can generate
Daniel Veillardaf43f632002-03-08 15:05:20 +00005764'PUBLIC' S PubidLiteral S SystemLiteral</P
Daniel Veillard35925471999-02-25 08:46:07 +00005765><P
5766>[75] ExternalID ::= 'SYSTEM' S SystemLiteral
Daniel Veillardaf43f632002-03-08 15:05:20 +00005767| 'PUBLIC' S PubidLiteral S SystemLiteral</P
Daniel Veillard35925471999-02-25 08:46:07 +00005768><P
5769>[83] PublicID ::= 'PUBLIC' S PubidLiteral</P
5770><P
5771></P
5772><DIV
5773CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005774><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005775NAME="AEN22506"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005776></A
Daniel Veillard35925471999-02-25 08:46:07 +00005777><P
5778></P
5779><TABLE
5780BORDER="0"
5781WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005782BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005783CELLSPACING="0"
5784CELLPADDING="4"
5785CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005786><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005787><TR
5788><TD
5789WIDTH="20%"
5790ALIGN="RIGHT"
5791VALIGN="TOP"
5792><TT
5793CLASS="PARAMETER"
5794><I
5795>ctxt</I
5796></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005797>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005798><TD
5799WIDTH="80%"
5800ALIGN="LEFT"
5801VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005802> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005803></TR
5804><TR
5805><TD
5806WIDTH="20%"
5807ALIGN="RIGHT"
5808VALIGN="TOP"
5809><TT
5810CLASS="PARAMETER"
5811><I
5812>publicID</I
5813></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005814>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005815><TD
5816WIDTH="80%"
5817ALIGN="LEFT"
5818VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005819> a xmlChar** receiving PubidLiteral</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005820></TR
5821><TR
5822><TD
5823WIDTH="20%"
5824ALIGN="RIGHT"
5825VALIGN="TOP"
5826><TT
5827CLASS="PARAMETER"
5828><I
5829>strict</I
5830></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005831>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005832><TD
5833WIDTH="80%"
5834ALIGN="LEFT"
5835VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005836> indicate whether we should restrict parsing to only
Daniel Veillardaf43f632002-03-08 15:05:20 +00005837production [75], see NOTE below</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005838></TR
5839><TR
5840><TD
5841WIDTH="20%"
5842ALIGN="RIGHT"
5843VALIGN="TOP"
5844><I
5845CLASS="EMPHASIS"
5846>Returns</I
5847> :</TD
5848><TD
5849WIDTH="80%"
5850ALIGN="LEFT"
5851VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005852>the function returns SystemLiteral and in the second
Daniel Veillardaf43f632002-03-08 15:05:20 +00005853case publicID receives PubidLiteral, is strict is off
5854it is possible to return NULL and have publicID set.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005855></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005856></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005857></TABLE
5858><P
5859></P
5860></DIV
5861></DIV
5862><HR><DIV
5863CLASS="REFSECT2"
5864><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005865NAME="AEN22527"
Daniel Veillard35925471999-02-25 08:46:07 +00005866></A
5867><H3
5868><A
5869NAME="XMLPARSECOMMENT"
5870></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005871>xmlParseComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005872><TABLE
5873BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005874BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005875WIDTH="100%"
5876CELLPADDING="6"
5877><TR
5878><TD
5879><PRE
5880CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00005881>void xmlParseComment (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00005882HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005883>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005884> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00005885></TD
5886></TR
5887></TABLE
5888><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005889>Skip an XML (SGML) comment &lt;!-- .... --&gt;
Daniel Veillardaf43f632002-03-08 15:05:20 +00005890The spec says that "For compatibility, the string "--" (double-hyphen)
5891must not occur within comments. "</P
Daniel Veillard35925471999-02-25 08:46:07 +00005892><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005893>[15] Comment ::= '&lt;!--' ((Char - '-') | ('-' (Char - '-')))* '--&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00005894><P
Daniel Veillard35925471999-02-25 08:46:07 +00005895></P
5896><DIV
5897CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005898><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005899NAME="AEN22535"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005900></A
Daniel Veillard35925471999-02-25 08:46:07 +00005901><P
5902></P
5903><TABLE
5904BORDER="0"
5905WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005906BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005907CELLSPACING="0"
5908CELLPADDING="4"
5909CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005910><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005911><TR
5912><TD
5913WIDTH="20%"
5914ALIGN="RIGHT"
5915VALIGN="TOP"
5916><TT
5917CLASS="PARAMETER"
5918><I
5919>ctxt</I
5920></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005921>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005922><TD
5923WIDTH="80%"
5924ALIGN="LEFT"
5925VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005926> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005927></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00005928></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005929></TABLE
5930><P
5931></P
5932></DIV
5933></DIV
5934><HR><DIV
5935CLASS="REFSECT2"
5936><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005937NAME="AEN22544"
Daniel Veillard35925471999-02-25 08:46:07 +00005938></A
5939><H3
5940><A
5941NAME="XMLPARSEPITARGET"
5942></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00005943>xmlParsePITarget ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005944><TABLE
5945BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005946BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005947WIDTH="100%"
5948CELLPADDING="6"
5949><TR
5950><TD
5951><PRE
5952CLASS="PROGRAMLISTING"
5953><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00005954HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005955>xmlChar</A
5956>* xmlParsePITarget (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00005957HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00005958>xmlParserCtxtPtr</A
5959> ctxt);</PRE
5960></TD
5961></TR
5962></TABLE
5963><P
5964>parse the name of a PI</P
5965><P
5966>[17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</P
5967><P
5968></P
5969><DIV
5970CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005971><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00005972NAME="AEN22553"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005973></A
Daniel Veillard35925471999-02-25 08:46:07 +00005974><P
5975></P
5976><TABLE
5977BORDER="0"
5978WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005979BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005980CELLSPACING="0"
5981CELLPADDING="4"
5982CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00005983><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00005984><TR
5985><TD
5986WIDTH="20%"
5987ALIGN="RIGHT"
5988VALIGN="TOP"
5989><TT
5990CLASS="PARAMETER"
5991><I
5992>ctxt</I
5993></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00005994>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005995><TD
5996WIDTH="80%"
5997ALIGN="LEFT"
5998VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00005999> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006000></TR
6001><TR
6002><TD
6003WIDTH="20%"
6004ALIGN="RIGHT"
6005VALIGN="TOP"
6006><I
6007CLASS="EMPHASIS"
6008>Returns</I
6009> :</TD
6010><TD
6011WIDTH="80%"
6012ALIGN="LEFT"
6013VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006014>the PITarget name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006015></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006016></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006017></TABLE
6018><P
6019></P
6020></DIV
6021></DIV
6022><HR><DIV
6023CLASS="REFSECT2"
6024><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006025NAME="AEN22566"
Daniel Veillard35925471999-02-25 08:46:07 +00006026></A
6027><H3
6028><A
6029NAME="XMLPARSEPI"
6030></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006031>xmlParsePI ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006032><TABLE
6033BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006034BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006035WIDTH="100%"
6036CELLPADDING="6"
6037><TR
6038><TD
6039><PRE
6040CLASS="PROGRAMLISTING"
6041>void xmlParsePI (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00006042HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006043>xmlParserCtxtPtr</A
6044> ctxt);</PRE
6045></TD
6046></TR
6047></TABLE
6048><P
6049>parse an XML Processing Instruction.</P
6050><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006051>[16] PI ::= '&lt;?' PITarget (S (Char* - (Char* '?&gt;' Char*)))? '?&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00006052><P
6053>The processing is transfered to SAX once parsed.</P
6054><P
6055></P
6056><DIV
6057CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006058><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006059NAME="AEN22575"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006060></A
Daniel Veillard35925471999-02-25 08:46:07 +00006061><P
6062></P
6063><TABLE
6064BORDER="0"
6065WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006066BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006067CELLSPACING="0"
6068CELLPADDING="4"
6069CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006070><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006071><TR
6072><TD
6073WIDTH="20%"
6074ALIGN="RIGHT"
6075VALIGN="TOP"
6076><TT
6077CLASS="PARAMETER"
6078><I
6079>ctxt</I
6080></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006081>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006082><TD
6083WIDTH="80%"
6084ALIGN="LEFT"
6085VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006086> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006087></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006088></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006089></TABLE
6090><P
6091></P
6092></DIV
6093></DIV
6094><HR><DIV
6095CLASS="REFSECT2"
6096><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006097NAME="AEN22584"
Daniel Veillard35925471999-02-25 08:46:07 +00006098></A
6099><H3
6100><A
6101NAME="XMLPARSENOTATIONDECL"
6102></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006103>xmlParseNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006104><TABLE
6105BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006106BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006107WIDTH="100%"
6108CELLPADDING="6"
6109><TR
6110><TD
6111><PRE
6112CLASS="PROGRAMLISTING"
6113>void xmlParseNotationDecl (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00006114HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006115>xmlParserCtxtPtr</A
6116> ctxt);</PRE
6117></TD
6118></TR
6119></TABLE
6120><P
6121>parse a notation declaration</P
6122><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006123>[82] NotationDecl ::= '&lt;!NOTATION' S Name S (ExternalID | PublicID) S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00006124><P
6125>Hence there is actually 3 choices:
Daniel Veillardaf43f632002-03-08 15:05:20 +00006126'PUBLIC' S PubidLiteral
6127'PUBLIC' S PubidLiteral S SystemLiteral
Daniel Veillard35925471999-02-25 08:46:07 +00006128and 'SYSTEM' S SystemLiteral</P
6129><P
6130>See the NOTE on <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006131HREF="libxml-parserinternals.html#XMLPARSEEXTERNALID"
Daniel Veillard35925471999-02-25 08:46:07 +00006132>xmlParseExternalID</A
6133>().</P
6134><P
6135></P
6136><DIV
6137CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006138><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006139NAME="AEN22595"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006140></A
Daniel Veillard35925471999-02-25 08:46:07 +00006141><P
6142></P
6143><TABLE
6144BORDER="0"
6145WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006146BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006147CELLSPACING="0"
6148CELLPADDING="4"
6149CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006150><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006151><TR
6152><TD
6153WIDTH="20%"
6154ALIGN="RIGHT"
6155VALIGN="TOP"
6156><TT
6157CLASS="PARAMETER"
6158><I
6159>ctxt</I
6160></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006161>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006162><TD
6163WIDTH="80%"
6164ALIGN="LEFT"
6165VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006166> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006167></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006168></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006169></TABLE
6170><P
6171></P
6172></DIV
6173></DIV
6174><HR><DIV
6175CLASS="REFSECT2"
6176><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006177NAME="AEN22604"
Daniel Veillard35925471999-02-25 08:46:07 +00006178></A
6179><H3
6180><A
Daniel Veillarde8f37932001-08-23 23:21:04 +00006181NAME="XMLPARSEENTITYDECL"
6182></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006183>xmlParseEntityDecl ()</H3
Daniel Veillarde8f37932001-08-23 23:21:04 +00006184><TABLE
6185BORDER="0"
6186BGCOLOR="#D6E8FF"
6187WIDTH="100%"
6188CELLPADDING="6"
6189><TR
6190><TD
6191><PRE
6192CLASS="PROGRAMLISTING"
6193>void xmlParseEntityDecl (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00006194HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillarde8f37932001-08-23 23:21:04 +00006195>xmlParserCtxtPtr</A
6196> ctxt);</PRE
6197></TD
6198></TR
6199></TABLE
6200><P
6201>parse &lt;!ENTITY declarations</P
6202><P
6203>[70] EntityDecl ::= GEDecl | PEDecl</P
6204><P
6205>[71] GEDecl ::= '&lt;!ENTITY' S Name S EntityDef S? '&gt;'</P
6206><P
6207>[72] PEDecl ::= '&lt;!ENTITY' S '%' S Name S PEDef S? '&gt;'</P
6208><P
6209>[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)</P
6210><P
6211>[74] PEDef ::= EntityValue | ExternalID</P
6212><P
6213>[76] NDataDecl ::= S 'NDATA' S Name</P
6214><P
6215>[ VC: Notation Declared ]
6216The Name must match the declared name of a notation.</P
6217><P
6218></P
6219><DIV
6220CLASS="INFORMALTABLE"
6221><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006222NAME="AEN22618"
Daniel Veillarde8f37932001-08-23 23:21:04 +00006223></A
6224><P
6225></P
6226><TABLE
6227BORDER="0"
6228WIDTH="100%"
6229BGCOLOR="#FFD0D0"
6230CELLSPACING="0"
6231CELLPADDING="4"
6232CLASS="CALSTABLE"
6233><TBODY
6234><TR
6235><TD
6236WIDTH="20%"
6237ALIGN="RIGHT"
6238VALIGN="TOP"
6239><TT
6240CLASS="PARAMETER"
6241><I
6242>ctxt</I
6243></TT
6244>&nbsp;:</TD
6245><TD
6246WIDTH="80%"
6247ALIGN="LEFT"
6248VALIGN="TOP"
6249> an XML parser context</TD
6250></TR
6251></TBODY
6252></TABLE
6253><P
6254></P
6255></DIV
6256></DIV
6257><HR><DIV
6258CLASS="REFSECT2"
6259><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006260NAME="AEN22627"
Daniel Veillarde8f37932001-08-23 23:21:04 +00006261></A
6262><H3
6263><A
Daniel Veillard35925471999-02-25 08:46:07 +00006264NAME="XMLPARSEDEFAULTDECL"
6265></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006266>xmlParseDefaultDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006267><TABLE
6268BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006269BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006270WIDTH="100%"
6271CELLPADDING="6"
6272><TR
6273><TD
6274><PRE
6275CLASS="PROGRAMLISTING"
6276>int xmlParseDefaultDecl (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00006277HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006278>xmlParserCtxtPtr</A
6279> ctxt,
6280 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006281HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006282>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006283> **value);</PRE
6284></TD
6285></TR
6286></TABLE
6287><P
6288>Parse an attribute default declaration</P
6289><P
6290>[60] DefaultDecl ::= '<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006291HREF="REQUIRED-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00006292>REQUIRED</GTKDOCLINK
6293>' | '<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006294HREF="IMPLIED-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00006295>IMPLIED</GTKDOCLINK
6296>' | (('<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006297HREF="FIXED-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00006298>FIXED</GTKDOCLINK
6299>' S)? AttValue)</P
6300><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006301>[ VC: Required Attribute ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006302if the default declaration is the keyword <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006303HREF="REQUIRED-CAPS"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006304>REQUIRED</GTKDOCLINK
6305>, then the
6306attribute must be specified for all elements of the type in the
6307attribute-list declaration.</P
6308><P
6309>[ VC: Attribute Default Legal ]
6310The declared default value must meet the lexical constraints of
6311the declared attribute type c.f. <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006312HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEDECL"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006313>xmlValidateAttributeDecl</A
6314>()</P
6315><P
6316>[ VC: Fixed Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006317if an attribute has a default value declared with the <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006318HREF="FIXED-CAPS"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006319>FIXED</GTKDOCLINK
6320>
6321keyword, instances of that attribute must match the default value. </P
6322><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006323>[ WFC: No &lt; in Attribute Values ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00006324handled in <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006325HREF="libxml-parserinternals.html#XMLPARSEATTVALUE"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006326>xmlParseAttValue</A
6327>()</P
6328><P
Daniel Veillard35925471999-02-25 08:46:07 +00006329></P
6330><DIV
6331CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006332><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006333NAME="AEN22647"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006334></A
Daniel Veillard35925471999-02-25 08:46:07 +00006335><P
6336></P
6337><TABLE
6338BORDER="0"
6339WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006340BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006341CELLSPACING="0"
6342CELLPADDING="4"
6343CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006344><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006345><TR
6346><TD
6347WIDTH="20%"
6348ALIGN="RIGHT"
6349VALIGN="TOP"
6350><TT
6351CLASS="PARAMETER"
6352><I
6353>ctxt</I
6354></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006355>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006356><TD
6357WIDTH="80%"
6358ALIGN="LEFT"
6359VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006360> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006361></TR
6362><TR
6363><TD
6364WIDTH="20%"
6365ALIGN="RIGHT"
6366VALIGN="TOP"
6367><TT
6368CLASS="PARAMETER"
6369><I
6370>value</I
6371></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006372>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006373><TD
6374WIDTH="80%"
6375ALIGN="LEFT"
6376VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006377> Receive a possible fixed default value for the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006378></TR
6379><TR
6380><TD
6381WIDTH="20%"
6382ALIGN="RIGHT"
6383VALIGN="TOP"
6384><I
6385CLASS="EMPHASIS"
6386>Returns</I
6387> :</TD
6388><TD
6389WIDTH="80%"
6390ALIGN="LEFT"
6391VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006392> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED
Daniel Veillardaf43f632002-03-08 15:05:20 +00006393or XML_ATTRIBUTE_FIXED. </TD
Daniel Veillard35925471999-02-25 08:46:07 +00006394></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006395></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006396></TABLE
6397><P
6398></P
6399></DIV
6400></DIV
6401><HR><DIV
6402CLASS="REFSECT2"
6403><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006404NAME="AEN22664"
Daniel Veillard35925471999-02-25 08:46:07 +00006405></A
6406><H3
6407><A
6408NAME="XMLPARSENOTATIONTYPE"
6409></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006410>xmlParseNotationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006411><TABLE
6412BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006413BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006414WIDTH="100%"
6415CELLPADDING="6"
6416><TR
6417><TD
6418><PRE
6419CLASS="PROGRAMLISTING"
6420><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006421HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006422>xmlEnumerationPtr</A
6423> xmlParseNotationType (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00006424HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006425>xmlParserCtxtPtr</A
6426> ctxt);</PRE
6427></TD
6428></TR
6429></TABLE
6430><P
6431>parse an Notation attribute type.</P
6432><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006433>Note: the leading 'NOTATION' S part has already being parsed...</P
6434><P
Daniel Veillard35925471999-02-25 08:46:07 +00006435>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
6436><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006437>[ VC: Notation Attributes ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006438Values of this type must match one of the notation names included
Daniel Veillardb05deb71999-08-10 19:04:08 +00006439in the declaration; all notation names in the declaration must be declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006440><P
6441></P
6442><DIV
6443CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006444><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006445NAME="AEN22675"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006446></A
Daniel Veillard35925471999-02-25 08:46:07 +00006447><P
6448></P
6449><TABLE
6450BORDER="0"
6451WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006452BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006453CELLSPACING="0"
6454CELLPADDING="4"
6455CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006456><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006457><TR
6458><TD
6459WIDTH="20%"
6460ALIGN="RIGHT"
6461VALIGN="TOP"
6462><TT
6463CLASS="PARAMETER"
6464><I
6465>ctxt</I
6466></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006467>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006468><TD
6469WIDTH="80%"
6470ALIGN="LEFT"
6471VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006472> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006473></TR
6474><TR
6475><TD
6476WIDTH="20%"
6477ALIGN="RIGHT"
6478VALIGN="TOP"
6479><I
6480CLASS="EMPHASIS"
6481>Returns</I
6482> :</TD
6483><TD
6484WIDTH="80%"
6485ALIGN="LEFT"
6486VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006487> the notation attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006488></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006489></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006490></TABLE
6491><P
6492></P
6493></DIV
6494></DIV
6495><HR><DIV
6496CLASS="REFSECT2"
6497><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006498NAME="AEN22688"
Daniel Veillard35925471999-02-25 08:46:07 +00006499></A
6500><H3
6501><A
6502NAME="XMLPARSEENUMERATIONTYPE"
6503></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006504>xmlParseEnumerationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006505><TABLE
6506BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006507BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006508WIDTH="100%"
6509CELLPADDING="6"
6510><TR
6511><TD
6512><PRE
6513CLASS="PROGRAMLISTING"
6514><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006515HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006516>xmlEnumerationPtr</A
6517> xmlParseEnumerationType (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00006518HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006519>xmlParserCtxtPtr</A
6520> ctxt);</PRE
6521></TD
6522></TR
6523></TABLE
6524><P
6525>parse an Enumeration attribute type.</P
6526><P
6527>[59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')'</P
6528><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006529>[ VC: Enumeration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006530Values of this type must match one of the Nmtoken tokens in
Daniel Veillardb05deb71999-08-10 19:04:08 +00006531the declaration</P
6532><P
Daniel Veillard35925471999-02-25 08:46:07 +00006533></P
6534><DIV
6535CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006536><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006537NAME="AEN22698"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006538></A
Daniel Veillard35925471999-02-25 08:46:07 +00006539><P
6540></P
6541><TABLE
6542BORDER="0"
6543WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006544BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006545CELLSPACING="0"
6546CELLPADDING="4"
6547CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006548><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006549><TR
6550><TD
6551WIDTH="20%"
6552ALIGN="RIGHT"
6553VALIGN="TOP"
6554><TT
6555CLASS="PARAMETER"
6556><I
6557>ctxt</I
6558></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006559>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006560><TD
6561WIDTH="80%"
6562ALIGN="LEFT"
6563VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006564> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006565></TR
6566><TR
6567><TD
6568WIDTH="20%"
6569ALIGN="RIGHT"
6570VALIGN="TOP"
6571><I
6572CLASS="EMPHASIS"
6573>Returns</I
6574> :</TD
6575><TD
6576WIDTH="80%"
6577ALIGN="LEFT"
6578VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006579> the enumeration attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006580></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006581></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006582></TABLE
6583><P
6584></P
6585></DIV
6586></DIV
6587><HR><DIV
6588CLASS="REFSECT2"
6589><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006590NAME="AEN22711"
Daniel Veillard35925471999-02-25 08:46:07 +00006591></A
6592><H3
6593><A
6594NAME="XMLPARSEENUMERATEDTYPE"
6595></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006596>xmlParseEnumeratedType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006597><TABLE
6598BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006599BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006600WIDTH="100%"
6601CELLPADDING="6"
6602><TR
6603><TD
6604><PRE
6605CLASS="PROGRAMLISTING"
6606>int xmlParseEnumeratedType (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00006607HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006608>xmlParserCtxtPtr</A
6609> ctxt,
6610 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006611HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006612>xmlEnumerationPtr</A
6613> *tree);</PRE
6614></TD
6615></TR
6616></TABLE
6617><P
6618>parse an Enumerated attribute type.</P
6619><P
6620>[57] EnumeratedType ::= NotationType | Enumeration</P
6621><P
6622>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
6623><P
6624></P
6625><DIV
6626CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006627><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006628NAME="AEN22721"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006629></A
Daniel Veillard35925471999-02-25 08:46:07 +00006630><P
6631></P
6632><TABLE
6633BORDER="0"
6634WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006635BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006636CELLSPACING="0"
6637CELLPADDING="4"
6638CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006639><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006640><TR
6641><TD
6642WIDTH="20%"
6643ALIGN="RIGHT"
6644VALIGN="TOP"
6645><TT
6646CLASS="PARAMETER"
6647><I
6648>ctxt</I
6649></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006650>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006651><TD
6652WIDTH="80%"
6653ALIGN="LEFT"
6654VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006655> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006656></TR
6657><TR
6658><TD
6659WIDTH="20%"
6660ALIGN="RIGHT"
6661VALIGN="TOP"
6662><TT
6663CLASS="PARAMETER"
6664><I
6665>tree</I
6666></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006667>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006668><TD
6669WIDTH="80%"
6670ALIGN="LEFT"
6671VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006672> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006673></TR
6674><TR
6675><TD
6676WIDTH="20%"
6677ALIGN="RIGHT"
6678VALIGN="TOP"
6679><I
6680CLASS="EMPHASIS"
6681>Returns</I
6682> :</TD
6683><TD
6684WIDTH="80%"
6685ALIGN="LEFT"
6686VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006687> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006688></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006689></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006690></TABLE
6691><P
6692></P
6693></DIV
6694></DIV
6695><HR><DIV
6696CLASS="REFSECT2"
6697><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006698NAME="AEN22738"
Daniel Veillard35925471999-02-25 08:46:07 +00006699></A
6700><H3
6701><A
6702NAME="XMLPARSEATTRIBUTETYPE"
6703></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006704>xmlParseAttributeType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006705><TABLE
6706BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006707BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006708WIDTH="100%"
6709CELLPADDING="6"
6710><TR
6711><TD
6712><PRE
6713CLASS="PROGRAMLISTING"
6714>int xmlParseAttributeType (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00006715HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006716>xmlParserCtxtPtr</A
6717> ctxt,
6718 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006719HREF="libxml-tree.html#XMLENUMERATIONPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006720>xmlEnumerationPtr</A
6721> *tree);</PRE
6722></TD
6723></TR
6724></TABLE
6725><P
6726>parse the Attribute list def for an element</P
6727><P
6728>[54] AttType ::= StringType | TokenizedType | EnumeratedType</P
6729><P
6730>[55] StringType ::= 'CDATA'</P
6731><P
6732>[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' |
Daniel Veillardaf43f632002-03-08 15:05:20 +00006733'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'</P
Daniel Veillard35925471999-02-25 08:46:07 +00006734><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006735>Validity constraints for attribute values syntax are checked in
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006736<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006737HREF="libxml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006738>xmlValidateAttributeValue</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006739>()</P
6740><P
6741>[ VC: ID ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006742Values of type ID must match the Name production. A name must not
Daniel Veillardb05deb71999-08-10 19:04:08 +00006743appear more than once in an XML document as a value of this type;
6744i.e., ID values must uniquely identify the elements which bear them.</P
6745><P
6746>[ VC: One ID per Element Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006747No element type may have more than one ID attribute specified.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006748><P
6749>[ VC: ID Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006750An ID attribute must have a declared default of <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006751HREF="IMPLIED-CAPS"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006752>IMPLIED</GTKDOCLINK
6753> or <GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006754HREF="REQUIRED-CAPS"
Daniel Veillardb05deb71999-08-10 19:04:08 +00006755>REQUIRED</GTKDOCLINK
6756>.</P
6757><P
6758>[ VC: IDREF ]
6759Values of type IDREF must match the Name production, and values
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006760of type IDREFS must match Names; each IDREF Name must match the value
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006761of an ID attribute on some element in the XML document; i.e. IDREF
Daniel Veillardb05deb71999-08-10 19:04:08 +00006762values must match the value of some ID attribute.</P
6763><P
6764>[ VC: Entity Name ]
6765Values of type ENTITY must match the Name production, values
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006766of type ENTITIES must match Names; each Entity Name must match the
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006767name of an unparsed entity declared in the DTD. </P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006768><P
6769>[ VC: Name Token ]
6770Values of type NMTOKEN must match the Nmtoken production; values
6771of type NMTOKENS must match Nmtokens.</P
6772><P
Daniel Veillard35925471999-02-25 08:46:07 +00006773></P
6774><DIV
6775CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006776><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006777NAME="AEN22759"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006778></A
Daniel Veillard35925471999-02-25 08:46:07 +00006779><P
6780></P
6781><TABLE
6782BORDER="0"
6783WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006784BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006785CELLSPACING="0"
6786CELLPADDING="4"
6787CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006788><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006789><TR
6790><TD
6791WIDTH="20%"
6792ALIGN="RIGHT"
6793VALIGN="TOP"
6794><TT
6795CLASS="PARAMETER"
6796><I
6797>ctxt</I
6798></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006799>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006800><TD
6801WIDTH="80%"
6802ALIGN="LEFT"
6803VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006804> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006805></TR
6806><TR
6807><TD
6808WIDTH="20%"
6809ALIGN="RIGHT"
6810VALIGN="TOP"
6811><TT
6812CLASS="PARAMETER"
6813><I
6814>tree</I
6815></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006816>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006817><TD
6818WIDTH="80%"
6819ALIGN="LEFT"
6820VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006821> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006822></TR
6823><TR
6824><TD
6825WIDTH="20%"
6826ALIGN="RIGHT"
6827VALIGN="TOP"
6828><I
6829CLASS="EMPHASIS"
6830>Returns</I
6831> :</TD
6832><TD
6833WIDTH="80%"
6834ALIGN="LEFT"
6835VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006836>the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006837></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006838></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006839></TABLE
6840><P
6841></P
6842></DIV
6843></DIV
6844><HR><DIV
6845CLASS="REFSECT2"
6846><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006847NAME="AEN22776"
Daniel Veillard35925471999-02-25 08:46:07 +00006848></A
6849><H3
6850><A
6851NAME="XMLPARSEATTRIBUTELISTDECL"
6852></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006853>xmlParseAttributeListDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006854><TABLE
6855BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006856BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006857WIDTH="100%"
6858CELLPADDING="6"
6859><TR
6860><TD
6861><PRE
6862CLASS="PROGRAMLISTING"
6863>void xmlParseAttributeListDecl (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00006864HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006865>xmlParserCtxtPtr</A
6866> ctxt);</PRE
6867></TD
6868></TR
6869></TABLE
6870><P
6871>: parse the Attribute list def for an element</P
6872><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006873>[52] AttlistDecl ::= '&lt;!ATTLIST' S Name AttDef* S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00006874><P
6875>[53] AttDef ::= S Name S AttType S DefaultDecl</P
6876><P
6877></P
6878><DIV
6879CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006880><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006881NAME="AEN22785"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006882></A
Daniel Veillard35925471999-02-25 08:46:07 +00006883><P
6884></P
6885><TABLE
6886BORDER="0"
6887WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006888BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006889CELLSPACING="0"
6890CELLPADDING="4"
6891CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006892><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006893><TR
6894><TD
6895WIDTH="20%"
6896ALIGN="RIGHT"
6897VALIGN="TOP"
6898><TT
6899CLASS="PARAMETER"
6900><I
6901>ctxt</I
6902></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006903>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006904><TD
6905WIDTH="80%"
6906ALIGN="LEFT"
6907VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00006908> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006909></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00006910></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006911></TABLE
6912><P
6913></P
6914></DIV
6915></DIV
6916><HR><DIV
6917CLASS="REFSECT2"
6918><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006919NAME="AEN22794"
Daniel Veillard35925471999-02-25 08:46:07 +00006920></A
6921><H3
6922><A
6923NAME="XMLPARSEELEMENTMIXEDCONTENTDECL"
6924></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00006925>xmlParseElementMixedContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006926><TABLE
6927BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006928BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006929WIDTH="100%"
6930CELLPADDING="6"
6931><TR
6932><TD
6933><PRE
6934CLASS="PROGRAMLISTING"
6935><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00006936HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006937>xmlElementContentPtr</A
6938> xmlParseElementMixedContentDecl
6939 (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00006940HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00006941>xmlParserCtxtPtr</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00006942> ctxt,
6943 <A
6944HREF="libxml-tree.html#XMLPARSERINPUTPTR"
6945>xmlParserInputPtr</A
6946> inputchk);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00006947></TD
6948></TR
6949></TABLE
6950><P
6951>parse the declaration for a Mixed Element content
6952The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
6953><P
6954>[51] Mixed ::= '(' S? '<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006955HREF="PCDATA-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00006956>PCDATA</GTKDOCLINK
6957>' (S? '|' S? Name)* S? ')*' |
Daniel Veillardaf43f632002-03-08 15:05:20 +00006958'(' S? '<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00006959HREF="PCDATA-CAPS"
Daniel Veillard35925471999-02-25 08:46:07 +00006960>PCDATA</GTKDOCLINK
6961>' S? ')'</P
6962><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006963>[ VC: Proper Group/PE Nesting ] applies to [51] too (see [49])</P
6964><P
6965>[ VC: No Duplicate Types ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006966The same name must not appear more than once in a single
Daniel Veillardb05deb71999-08-10 19:04:08 +00006967mixed-content declaration.</P
6968><P
Daniel Veillard35925471999-02-25 08:46:07 +00006969></P
6970><DIV
6971CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006972><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00006973NAME="AEN22808"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006974></A
Daniel Veillard35925471999-02-25 08:46:07 +00006975><P
6976></P
6977><TABLE
6978BORDER="0"
6979WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006980BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006981CELLSPACING="0"
6982CELLPADDING="4"
6983CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00006984><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00006985><TR
6986><TD
6987WIDTH="20%"
6988ALIGN="RIGHT"
6989VALIGN="TOP"
6990><TT
6991CLASS="PARAMETER"
6992><I
6993>ctxt</I
6994></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00006995>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006996><TD
6997WIDTH="80%"
6998ALIGN="LEFT"
6999VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007000> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007001></TR
7002><TR
7003><TD
7004WIDTH="20%"
7005ALIGN="RIGHT"
7006VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007007><TT
7008CLASS="PARAMETER"
7009><I
7010>inputchk</I
7011></TT
7012>&nbsp;:</TD
7013><TD
7014WIDTH="80%"
7015ALIGN="LEFT"
7016VALIGN="TOP"
7017>&nbsp;</TD
7018></TR
7019><TR
7020><TD
7021WIDTH="20%"
7022ALIGN="RIGHT"
7023VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00007024><I
7025CLASS="EMPHASIS"
7026>Returns</I
7027> :</TD
7028><TD
7029WIDTH="80%"
7030ALIGN="LEFT"
7031VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007032> the list of the xmlElementContentPtr describing the element choices</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007033></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007034></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007035></TABLE
7036><P
7037></P
7038></DIV
7039></DIV
7040><HR><DIV
7041CLASS="REFSECT2"
7042><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007043NAME="AEN22825"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007044></A
7045><H3
7046><A
7047NAME="XMLPARSEELEMENTCHILDRENCONTENTD"
7048></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007049>xmlParseElementChildrenContentD ()</H3
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007050><TABLE
7051BORDER="0"
7052BGCOLOR="#D6E8FF"
7053WIDTH="100%"
7054CELLPADDING="6"
7055><TR
7056><TD
7057><PRE
7058CLASS="PROGRAMLISTING"
7059><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007060HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007061>xmlElementContentPtr</A
7062> xmlParseElementChildrenContentD
7063 (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00007064HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007065>xmlParserCtxtPtr</A
7066> ctxt);</PRE
7067></TD
7068></TR
7069></TABLE
7070><P
Daniel Veillardf012a642001-07-23 19:10:52 +00007071>VMS version of <A
7072HREF="libxml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTDECL"
7073>xmlParseElementChildrenContentDecl</A
7074>()</P
7075><P
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007076></P
7077><DIV
7078CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007079><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007080NAME="AEN22834"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007081></A
7082><P
7083></P
7084><TABLE
7085BORDER="0"
7086WIDTH="100%"
7087BGCOLOR="#FFD0D0"
7088CELLSPACING="0"
7089CELLPADDING="4"
7090CLASS="CALSTABLE"
7091><TBODY
7092><TR
7093><TD
7094WIDTH="20%"
7095ALIGN="RIGHT"
7096VALIGN="TOP"
7097><TT
7098CLASS="PARAMETER"
7099><I
7100>ctxt</I
7101></TT
7102>&nbsp;:</TD
7103><TD
7104WIDTH="80%"
7105ALIGN="LEFT"
7106VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00007107> an XML parser context</TD
Daniel Veillardc5d64342001-06-24 12:13:24 +00007108></TR
7109><TR
7110><TD
7111WIDTH="20%"
7112ALIGN="RIGHT"
7113VALIGN="TOP"
7114><I
7115CLASS="EMPHASIS"
7116>Returns</I
7117> :</TD
7118><TD
7119WIDTH="80%"
7120ALIGN="LEFT"
7121VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00007122>the tree of xmlElementContentPtr describing the element
Daniel Veillardaf43f632002-03-08 15:05:20 +00007123hierarchy.</TD
Daniel Veillardc5d64342001-06-24 12:13:24 +00007124></TR
7125></TBODY
7126></TABLE
7127><P
7128></P
7129></DIV
7130></DIV
7131><HR><DIV
7132CLASS="REFSECT2"
7133><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007134NAME="AEN22847"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007135></A
7136><H3
7137><A
7138NAME="XMLPARSEELEMENTCHILDRENCONTENTDECL"
7139></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007140>xmlParseElementChildrenContentDecl ()</H3
Daniel Veillardc5d64342001-06-24 12:13:24 +00007141><TABLE
7142BORDER="0"
7143BGCOLOR="#D6E8FF"
7144WIDTH="100%"
7145CELLPADDING="6"
7146><TR
7147><TD
7148><PRE
7149CLASS="PROGRAMLISTING"
7150><A
7151HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
7152>xmlElementContentPtr</A
7153> xmlParseElementChildrenContentDecl
7154 (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00007155HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007156>xmlParserCtxtPtr</A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007157> ctxt,
7158 <A
7159HREF="libxml-tree.html#XMLPARSERINPUTPTR"
7160>xmlParserInputPtr</A
7161> inputchk);</PRE
Daniel Veillardc5d64342001-06-24 12:13:24 +00007162></TD
7163></TR
7164></TABLE
7165><P
7166>parse the declaration for a Mixed Element content
7167The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
7168><P
7169>[47] children ::= (choice | seq) ('?' | '*' | '+')?</P
7170><P
7171>[48] cp ::= (Name | choice | seq) ('?' | '*' | '+')?</P
7172><P
7173>[49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')'</P
7174><P
7175>[50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'</P
7176><P
7177>[ VC: Proper Group/PE Nesting ] applies to [49] and [50]
7178TODO Parameter-entity replacement text must be properly nested
Daniel Veillardcbaf3992001-12-31 16:16:02 +00007179with parenthesized groups. That is to say, if either of the
Daniel Veillardc5d64342001-06-24 12:13:24 +00007180opening or closing parentheses in a choice, seq, or Mixed
7181construct is contained in the replacement text for a parameter
7182entity, both must be contained in the same replacement text. For
7183interoperability, if a parameter-entity reference appears in a
7184choice, seq, or Mixed construct, its replacement text should not
7185be empty, and neither the first nor last non-blank character of
7186the replacement text should be a connector (| or ,).</P
7187><P
7188></P
7189><DIV
7190CLASS="INFORMALTABLE"
7191><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007192NAME="AEN22861"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007193></A
7194><P
7195></P
7196><TABLE
7197BORDER="0"
7198WIDTH="100%"
7199BGCOLOR="#FFD0D0"
7200CELLSPACING="0"
7201CELLPADDING="4"
7202CLASS="CALSTABLE"
7203><TBODY
7204><TR
7205><TD
7206WIDTH="20%"
7207ALIGN="RIGHT"
7208VALIGN="TOP"
7209><TT
7210CLASS="PARAMETER"
7211><I
7212>ctxt</I
7213></TT
7214>&nbsp;:</TD
7215><TD
7216WIDTH="80%"
7217ALIGN="LEFT"
7218VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007219> an XML parser context</TD
Daniel Veillardc5d64342001-06-24 12:13:24 +00007220></TR
7221><TR
7222><TD
7223WIDTH="20%"
7224ALIGN="RIGHT"
7225VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007226><TT
7227CLASS="PARAMETER"
7228><I
7229>inputchk</I
7230></TT
7231>&nbsp;:</TD
7232><TD
7233WIDTH="80%"
7234ALIGN="LEFT"
7235VALIGN="TOP"
7236>&nbsp;</TD
7237></TR
7238><TR
7239><TD
7240WIDTH="20%"
7241ALIGN="RIGHT"
7242VALIGN="TOP"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007243><I
7244CLASS="EMPHASIS"
7245>Returns</I
7246> :</TD
7247><TD
7248WIDTH="80%"
7249ALIGN="LEFT"
7250VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00007251>the tree of xmlElementContentPtr describing the element
Daniel Veillardaf43f632002-03-08 15:05:20 +00007252hierarchy.</TD
Daniel Veillardc5d64342001-06-24 12:13:24 +00007253></TR
7254></TBODY
7255></TABLE
7256><P
7257></P
7258></DIV
7259></DIV
7260><HR><DIV
7261CLASS="REFSECT2"
7262><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007263NAME="AEN22878"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007264></A
7265><H3
7266><A
7267NAME="XMLPARSEELEMENTCONTENTDECL"
7268></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007269>xmlParseElementContentDecl ()</H3
Daniel Veillardc5d64342001-06-24 12:13:24 +00007270><TABLE
7271BORDER="0"
7272BGCOLOR="#D6E8FF"
7273WIDTH="100%"
7274CELLPADDING="6"
7275><TR
7276><TD
7277><PRE
7278CLASS="PROGRAMLISTING"
7279>int xmlParseElementContentDecl (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00007280HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007281>xmlParserCtxtPtr</A
7282> ctxt,
7283 <A
7284HREF="libxml-tree.html#XMLCHAR"
7285>xmlChar</A
7286> *name,
7287 <A
7288HREF="libxml-tree.html#XMLELEMENTCONTENTPTR"
7289>xmlElementContentPtr</A
7290> *result);</PRE
7291></TD
7292></TR
7293></TABLE
7294><P
7295>parse the declaration for an Element content either Mixed or Children,
7296the cases EMPTY and ANY are handled directly in xmlParseElementDecl</P
7297><P
7298>[46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</P
7299><P
7300></P
7301><DIV
7302CLASS="INFORMALTABLE"
7303><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007304NAME="AEN22888"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007305></A
7306><P
7307></P
7308><TABLE
7309BORDER="0"
7310WIDTH="100%"
7311BGCOLOR="#FFD0D0"
7312CELLSPACING="0"
7313CELLPADDING="4"
7314CLASS="CALSTABLE"
7315><TBODY
7316><TR
7317><TD
7318WIDTH="20%"
7319ALIGN="RIGHT"
7320VALIGN="TOP"
7321><TT
7322CLASS="PARAMETER"
7323><I
7324>ctxt</I
7325></TT
7326>&nbsp;:</TD
7327><TD
7328WIDTH="80%"
7329ALIGN="LEFT"
7330VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007331> an XML parser context</TD
Daniel Veillardc5d64342001-06-24 12:13:24 +00007332></TR
7333><TR
7334><TD
7335WIDTH="20%"
7336ALIGN="RIGHT"
7337VALIGN="TOP"
7338><TT
7339CLASS="PARAMETER"
7340><I
7341>name</I
7342></TT
7343>&nbsp;:</TD
7344><TD
7345WIDTH="80%"
7346ALIGN="LEFT"
7347VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007348> the name of the element being defined.</TD
Daniel Veillardc5d64342001-06-24 12:13:24 +00007349></TR
7350><TR
7351><TD
7352WIDTH="20%"
7353ALIGN="RIGHT"
7354VALIGN="TOP"
7355><TT
7356CLASS="PARAMETER"
7357><I
7358>result</I
7359></TT
7360>&nbsp;:</TD
7361><TD
7362WIDTH="80%"
7363ALIGN="LEFT"
7364VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007365> the Element Content pointer will be stored here if any</TD
Daniel Veillardc5d64342001-06-24 12:13:24 +00007366></TR
7367><TR
7368><TD
7369WIDTH="20%"
7370ALIGN="RIGHT"
7371VALIGN="TOP"
7372><I
7373CLASS="EMPHASIS"
7374>Returns</I
7375> :</TD
7376><TD
7377WIDTH="80%"
7378ALIGN="LEFT"
7379VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007380> the type of element content XML_ELEMENT_TYPE_xxx</TD
Daniel Veillardc5d64342001-06-24 12:13:24 +00007381></TR
7382></TBODY
7383></TABLE
7384><P
7385></P
7386></DIV
7387></DIV
7388><HR><DIV
7389CLASS="REFSECT2"
7390><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007391NAME="AEN22909"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007392></A
7393><H3
7394><A
7395NAME="XMLPARSEELEMENTDECL"
7396></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007397>xmlParseElementDecl ()</H3
Daniel Veillardc5d64342001-06-24 12:13:24 +00007398><TABLE
7399BORDER="0"
7400BGCOLOR="#D6E8FF"
7401WIDTH="100%"
7402CELLPADDING="6"
7403><TR
7404><TD
7405><PRE
7406CLASS="PROGRAMLISTING"
7407>int xmlParseElementDecl (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00007408HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardc5d64342001-06-24 12:13:24 +00007409>xmlParserCtxtPtr</A
7410> ctxt);</PRE
7411></TD
7412></TR
7413></TABLE
7414><P
7415>parse an Element declaration.</P
7416><P
7417>[45] elementdecl ::= '&lt;!ELEMENT' S Name S contentspec S? '&gt;'</P
7418><P
7419>[ VC: Unique Element Type Declaration ]
7420No element type may be declared more than once</P
7421><P
7422></P
7423><DIV
7424CLASS="INFORMALTABLE"
7425><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007426NAME="AEN22918"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007427></A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007428><P
7429></P
7430><TABLE
7431BORDER="0"
7432WIDTH="100%"
7433BGCOLOR="#FFD0D0"
7434CELLSPACING="0"
7435CELLPADDING="4"
7436CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007437><TBODY
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007438><TR
7439><TD
7440WIDTH="20%"
7441ALIGN="RIGHT"
7442VALIGN="TOP"
7443><TT
7444CLASS="PARAMETER"
7445><I
7446>ctxt</I
7447></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007448>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007449><TD
7450WIDTH="80%"
7451ALIGN="LEFT"
7452VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007453> an XML parser context</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007454></TR
7455><TR
7456><TD
7457WIDTH="20%"
7458ALIGN="RIGHT"
7459VALIGN="TOP"
7460><I
7461CLASS="EMPHASIS"
7462>Returns</I
7463> :</TD
7464><TD
7465WIDTH="80%"
7466ALIGN="LEFT"
7467VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007468>the type of the element, or -1 in case of error</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007469></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007470></TBODY
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007471></TABLE
7472><P
7473></P
7474></DIV
7475></DIV
7476><HR><DIV
7477CLASS="REFSECT2"
7478><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007479NAME="AEN22931"
Daniel Veillard35925471999-02-25 08:46:07 +00007480></A
7481><H3
7482><A
Daniel Veillard35925471999-02-25 08:46:07 +00007483NAME="XMLPARSEMARKUPDECL"
7484></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007485>xmlParseMarkupDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007486><TABLE
7487BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007488BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007489WIDTH="100%"
7490CELLPADDING="6"
7491><TR
7492><TD
7493><PRE
7494CLASS="PROGRAMLISTING"
7495>void xmlParseMarkupDecl (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00007496HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007497>xmlParserCtxtPtr</A
7498> ctxt);</PRE
7499></TD
7500></TR
7501></TABLE
7502><P
7503>parse Markup declarations</P
7504><P
7505>[29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
Daniel Veillardaf43f632002-03-08 15:05:20 +00007506NotationDecl | PI | Comment</P
Daniel Veillard35925471999-02-25 08:46:07 +00007507><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007508>[ VC: Proper Declaration/PE Nesting ]
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007509Parameter-entity replacement text must be properly nested with
Daniel Veillardb05deb71999-08-10 19:04:08 +00007510markup declarations. That is to say, if either the first character
7511or the last character of a markup declaration (markupdecl above) is
7512contained in the replacement text for a parameter-entity reference,
7513both must be contained in the same replacement text.</P
7514><P
7515>[ WFC: PEs in Internal Subset ]
7516In the internal DTD subset, parameter-entity references can occur
7517only where markup declarations can occur, not within markup declarations.
7518(This does not apply to references that occur in external parameter
7519entities or to the external subset.)</P
Daniel Veillard35925471999-02-25 08:46:07 +00007520><P
7521></P
7522><DIV
7523CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007524><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007525NAME="AEN22941"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007526></A
Daniel Veillard35925471999-02-25 08:46:07 +00007527><P
7528></P
7529><TABLE
7530BORDER="0"
7531WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007532BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007533CELLSPACING="0"
7534CELLPADDING="4"
7535CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007536><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007537><TR
7538><TD
7539WIDTH="20%"
7540ALIGN="RIGHT"
7541VALIGN="TOP"
7542><TT
7543CLASS="PARAMETER"
7544><I
7545>ctxt</I
7546></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007547>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007548><TD
7549WIDTH="80%"
7550ALIGN="LEFT"
7551VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007552> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007553></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007554></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007555></TABLE
7556><P
7557></P
7558></DIV
7559></DIV
7560><HR><DIV
7561CLASS="REFSECT2"
7562><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007563NAME="AEN22950"
Daniel Veillard35925471999-02-25 08:46:07 +00007564></A
7565><H3
7566><A
7567NAME="XMLPARSECHARREF"
7568></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007569>xmlParseCharRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007570><TABLE
7571BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007572BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007573WIDTH="100%"
7574CELLPADDING="6"
7575><TR
7576><TD
7577><PRE
7578CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007579>int xmlParseCharRef (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00007580HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007581>xmlParserCtxtPtr</A
7582> ctxt);</PRE
7583></TD
7584></TR
7585></TABLE
7586><P
7587>parse Reference declarations</P
7588><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007589>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
Daniel Veillardaf43f632002-03-08 15:05:20 +00007590'&amp;<GTKDOCLINK
Daniel Veillard35925471999-02-25 08:46:07 +00007591HREF="X"
7592>x</GTKDOCLINK
7593>' [0-9a-fA-F]+ ';'</P
7594><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007595>[ WFC: Legal Character ]
7596Characters referred to using character references must match the
7597production for Char.</P
7598><P
Daniel Veillard35925471999-02-25 08:46:07 +00007599></P
7600><DIV
7601CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007602><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007603NAME="AEN22960"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007604></A
Daniel Veillard35925471999-02-25 08:46:07 +00007605><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"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007614><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007615><TR
7616><TD
7617WIDTH="20%"
7618ALIGN="RIGHT"
7619VALIGN="TOP"
7620><TT
7621CLASS="PARAMETER"
7622><I
7623>ctxt</I
7624></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007625>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007626><TD
7627WIDTH="80%"
7628ALIGN="LEFT"
7629VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007630> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007631></TR
7632><TR
7633><TD
7634WIDTH="20%"
7635ALIGN="RIGHT"
7636VALIGN="TOP"
7637><I
7638CLASS="EMPHASIS"
7639>Returns</I
7640> :</TD
7641><TD
7642WIDTH="80%"
7643ALIGN="LEFT"
7644VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007645>the value parsed (as an int), 0 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007646></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007647></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007648></TABLE
7649><P
7650></P
7651></DIV
7652></DIV
7653><HR><DIV
7654CLASS="REFSECT2"
7655><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007656NAME="AEN22973"
Daniel Veillard35925471999-02-25 08:46:07 +00007657></A
7658><H3
7659><A
7660NAME="XMLPARSEENTITYREF"
7661></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007662>xmlParseEntityRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007663><TABLE
7664BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007665BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007666WIDTH="100%"
7667CELLPADDING="6"
7668><TR
7669><TD
7670><PRE
7671CLASS="PROGRAMLISTING"
7672><A
Daniel Veillard5f4b5992002-02-20 10:22:49 +00007673HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007674>xmlEntityPtr</A
7675> xmlParseEntityRef (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00007676HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007677>xmlParserCtxtPtr</A
7678> ctxt);</PRE
7679></TD
7680></TR
7681></TABLE
7682><P
7683>parse ENTITY references declarations</P
7684><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007685>[68] EntityRef ::= '&amp;' Name ';'</P
Daniel Veillard35925471999-02-25 08:46:07 +00007686><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007687>[ WFC: Entity Declared ]
7688In a document without any DTD, a document with only an internal DTD
7689subset which contains no parameter entity references, or a document
7690with "standalone='yes'", the Name given in the entity reference
7691must match that in an entity declaration, except that well-formed
7692documents need not declare any of the following entities: amp, lt,
7693gt, apos, quot. The declaration of a parameter entity must precede
7694any reference to it. Similarly, the declaration of a general entity
7695must precede any reference to it which appears in a default value in an
7696attribute-list declaration. Note that if entities are declared in the
7697external subset or in external parameter entities, a non-validating
7698processor is not obligated to read and process their declarations;
7699for such documents, the rule that an entity must be declared is a
7700well-formedness constraint only if standalone='yes'.</P
7701><P
7702>[ WFC: Parsed Entity ]
7703An entity reference must not contain the name of an unparsed entity</P
7704><P
Daniel Veillard35925471999-02-25 08:46:07 +00007705></P
7706><DIV
7707CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007708><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007709NAME="AEN22984"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007710></A
Daniel Veillard35925471999-02-25 08:46:07 +00007711><P
7712></P
7713><TABLE
7714BORDER="0"
7715WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007716BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007717CELLSPACING="0"
7718CELLPADDING="4"
7719CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007720><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007721><TR
7722><TD
7723WIDTH="20%"
7724ALIGN="RIGHT"
7725VALIGN="TOP"
7726><TT
7727CLASS="PARAMETER"
7728><I
7729>ctxt</I
7730></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007731>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007732><TD
7733WIDTH="80%"
7734ALIGN="LEFT"
7735VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007736> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007737></TR
7738><TR
7739><TD
7740WIDTH="20%"
7741ALIGN="RIGHT"
7742VALIGN="TOP"
7743><I
7744CLASS="EMPHASIS"
7745>Returns</I
7746> :</TD
7747><TD
7748WIDTH="80%"
7749ALIGN="LEFT"
7750VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007751>the xmlEntityPtr if found, or NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007752></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007753></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007754></TABLE
7755><P
7756></P
7757></DIV
7758></DIV
7759><HR><DIV
7760CLASS="REFSECT2"
7761><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007762NAME="AEN22997"
Daniel Veillard35925471999-02-25 08:46:07 +00007763></A
7764><H3
7765><A
7766NAME="XMLPARSEREFERENCE"
7767></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007768>xmlParseReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007769><TABLE
7770BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007771BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007772WIDTH="100%"
7773CELLPADDING="6"
7774><TR
7775><TD
7776><PRE
7777CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007778>void xmlParseReference (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00007779HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007780>xmlParserCtxtPtr</A
7781> ctxt);</PRE
7782></TD
7783></TR
7784></TABLE
7785><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00007786>parse and handle entity references in content, depending on the SAX
7787interface, this may end-up in a call to <GTKDOCLINK
7788HREF="CHARACTER"
7789>character</GTKDOCLINK
7790>() if this is a
Daniel Veillard294cbca1999-12-03 13:19:09 +00007791CharRef, a predefined entity, if there is no <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00007792HREF="libxml-sax.html#REFERENCE"
Daniel Veillard294cbca1999-12-03 13:19:09 +00007793>reference</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007794>() callback.
7795or if the parser was asked to switch to that mode.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007796><P
7797>[67] Reference ::= EntityRef | CharRef</P
7798><P
7799></P
7800><DIV
7801CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007802><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007803NAME="AEN23007"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007804></A
Daniel Veillard35925471999-02-25 08:46:07 +00007805><P
7806></P
7807><TABLE
7808BORDER="0"
7809WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007810BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007811CELLSPACING="0"
7812CELLPADDING="4"
7813CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007814><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007815><TR
7816><TD
7817WIDTH="20%"
7818ALIGN="RIGHT"
7819VALIGN="TOP"
7820><TT
7821CLASS="PARAMETER"
7822><I
7823>ctxt</I
7824></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007825>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007826><TD
7827WIDTH="80%"
7828ALIGN="LEFT"
7829VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007830> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007831></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007832></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007833></TABLE
7834><P
7835></P
7836></DIV
7837></DIV
7838><HR><DIV
7839CLASS="REFSECT2"
7840><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007841NAME="AEN23016"
Daniel Veillard35925471999-02-25 08:46:07 +00007842></A
7843><H3
7844><A
7845NAME="XMLPARSEPEREFERENCE"
7846></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007847>xmlParsePEReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007848><TABLE
7849BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007850BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007851WIDTH="100%"
7852CELLPADDING="6"
7853><TR
7854><TD
7855><PRE
7856CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007857>void xmlParsePEReference (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00007858HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007859>xmlParserCtxtPtr</A
7860> ctxt);</PRE
7861></TD
7862></TR
7863></TABLE
7864><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00007865>parse PEReference declarations
7866The entity content is handled directly by pushing it's content as
7867a new input stream.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007868><P
7869>[69] PEReference ::= '%' Name ';'</P
7870><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007871>[ WFC: No Recursion ]
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007872A parsed entity must not contain a recursive
Daniel Veillardb05deb71999-08-10 19:04:08 +00007873reference to itself, either directly or indirectly. </P
7874><P
7875>[ WFC: Entity Declared ]
7876In a document without any DTD, a document with only an internal DTD
7877subset which contains no parameter entity references, or a document
7878with "standalone='yes'", ... ... The declaration of a parameter
7879entity must precede any reference to it...</P
7880><P
7881>[ VC: Entity Declared ]
7882In a document with an external subset or external parameter entities
7883with "standalone='no'", ... ... The declaration of a parameter entity
7884must precede any reference to it...</P
7885><P
7886>[ WFC: In DTD ]
7887Parameter-entity references may only appear in the DTD.
7888NOTE: misleading but this is handled.</P
7889><P
Daniel Veillard35925471999-02-25 08:46:07 +00007890></P
7891><DIV
7892CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007893><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007894NAME="AEN23028"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007895></A
Daniel Veillard35925471999-02-25 08:46:07 +00007896><P
7897></P
7898><TABLE
7899BORDER="0"
7900WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007901BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007902CELLSPACING="0"
7903CELLPADDING="4"
7904CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007905><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007906><TR
7907><TD
7908WIDTH="20%"
7909ALIGN="RIGHT"
7910VALIGN="TOP"
7911><TT
7912CLASS="PARAMETER"
7913><I
7914>ctxt</I
7915></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007916>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007917><TD
7918WIDTH="80%"
7919ALIGN="LEFT"
7920VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007921> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007922></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007923></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007924></TABLE
7925><P
7926></P
7927></DIV
7928></DIV
7929><HR><DIV
7930CLASS="REFSECT2"
7931><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007932NAME="AEN23037"
Daniel Veillard35925471999-02-25 08:46:07 +00007933></A
7934><H3
7935><A
7936NAME="XMLPARSEDOCTYPEDECL"
7937></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00007938>xmlParseDocTypeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007939><TABLE
7940BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007941BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007942WIDTH="100%"
7943CELLPADDING="6"
7944><TR
7945><TD
7946><PRE
7947CLASS="PROGRAMLISTING"
7948>void xmlParseDocTypeDecl (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00007949HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00007950>xmlParserCtxtPtr</A
7951> ctxt);</PRE
7952></TD
7953></TR
7954></TABLE
7955><P
7956>parse a DOCTYPE declaration</P
7957><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007958>[28] doctypedecl ::= '&lt;!DOCTYPE' S Name (S ExternalID)? S?
Daniel Veillardaf43f632002-03-08 15:05:20 +00007959('[' (markupdecl | PEReference | S)* ']' S?)? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00007960><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007961>[ VC: Root Element Type ]
7962The Name in the document type declaration must match the element
7963type of the root element.</P
7964><P
Daniel Veillard35925471999-02-25 08:46:07 +00007965></P
7966><DIV
7967CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007968><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00007969NAME="AEN23046"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007970></A
Daniel Veillard35925471999-02-25 08:46:07 +00007971><P
7972></P
7973><TABLE
7974BORDER="0"
7975WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007976BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007977CELLSPACING="0"
7978CELLPADDING="4"
7979CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007980><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007981><TR
7982><TD
7983WIDTH="20%"
7984ALIGN="RIGHT"
7985VALIGN="TOP"
7986><TT
7987CLASS="PARAMETER"
7988><I
7989>ctxt</I
7990></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00007991>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007992><TD
7993WIDTH="80%"
7994ALIGN="LEFT"
7995VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00007996> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007997></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00007998></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00007999></TABLE
8000><P
8001></P
8002></DIV
8003></DIV
8004><HR><DIV
8005CLASS="REFSECT2"
8006><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008007NAME="AEN23055"
Daniel Veillard35925471999-02-25 08:46:07 +00008008></A
8009><H3
8010><A
8011NAME="XMLPARSEATTRIBUTE"
8012></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008013>xmlParseAttribute ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008014><TABLE
8015BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008016BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008017WIDTH="100%"
8018CELLPADDING="6"
8019><TR
8020><TD
8021><PRE
8022CLASS="PROGRAMLISTING"
8023><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008024HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008025>xmlChar</A
8026>* xmlParseAttribute (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00008027HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008028>xmlParserCtxtPtr</A
8029> ctxt,
8030 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008031HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008032>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00008033> **value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00008034></TD
8035></TR
8036></TABLE
8037><P
8038>parse an attribute</P
8039><P
8040>[41] Attribute ::= Name Eq AttValue</P
8041><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00008042>[ WFC: No External Entity References ]
8043Attribute values cannot contain direct or indirect entity references
8044to external entities.</P
8045><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008046>[ WFC: No &lt; in Attribute Values ]
Daniel Veillardb05deb71999-08-10 19:04:08 +00008047The replacement text of any entity referred to directly or indirectly in
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008048an attribute value (other than "&amp;lt;") must not contain a &lt;. </P
Daniel Veillardb05deb71999-08-10 19:04:08 +00008049><P
8050>[ VC: Attribute Value Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008051The attribute must have been declared; the value must be of the type
Daniel Veillardb05deb71999-08-10 19:04:08 +00008052declared for it.</P
8053><P
Daniel Veillard35925471999-02-25 08:46:07 +00008054>[25] Eq ::= S? '=' S?</P
8055><P
8056>With namespace:</P
8057><P
8058>[NS 11] Attribute ::= QName Eq AttValue</P
8059><P
8060>Also the case QName == xmlns:??? is handled independently as a namespace
8061definition.</P
8062><P
8063></P
8064><DIV
8065CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008066><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008067NAME="AEN23072"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008068></A
Daniel Veillard35925471999-02-25 08:46:07 +00008069><P
8070></P
8071><TABLE
8072BORDER="0"
8073WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008074BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008075CELLSPACING="0"
8076CELLPADDING="4"
8077CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008078><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008079><TR
8080><TD
8081WIDTH="20%"
8082ALIGN="RIGHT"
8083VALIGN="TOP"
8084><TT
8085CLASS="PARAMETER"
8086><I
8087>ctxt</I
8088></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008089>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008090><TD
8091WIDTH="80%"
8092ALIGN="LEFT"
8093VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008094> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008095></TR
8096><TR
8097><TD
8098WIDTH="20%"
8099ALIGN="RIGHT"
8100VALIGN="TOP"
8101><TT
8102CLASS="PARAMETER"
8103><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00008104>value</I
Daniel Veillard35925471999-02-25 08:46:07 +00008105></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008106>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008107><TD
8108WIDTH="80%"
8109ALIGN="LEFT"
8110VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008111> a xmlChar ** used to store the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008112></TR
8113><TR
8114><TD
8115WIDTH="20%"
8116ALIGN="RIGHT"
8117VALIGN="TOP"
8118><I
8119CLASS="EMPHASIS"
8120>Returns</I
8121> :</TD
8122><TD
8123WIDTH="80%"
8124ALIGN="LEFT"
8125VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008126>the attribute name, and the value in *value.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008127></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008128></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008129></TABLE
8130><P
8131></P
8132></DIV
8133></DIV
8134><HR><DIV
8135CLASS="REFSECT2"
8136><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008137NAME="AEN23089"
Daniel Veillard35925471999-02-25 08:46:07 +00008138></A
8139><H3
8140><A
8141NAME="XMLPARSESTARTTAG"
8142></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008143>xmlParseStartTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008144><TABLE
8145BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008146BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008147WIDTH="100%"
8148CELLPADDING="6"
8149><TR
8150><TD
8151><PRE
8152CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00008153><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008154HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008155>xmlChar</A
8156>* xmlParseStartTag (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00008157HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008158>xmlParserCtxtPtr</A
8159> ctxt);</PRE
8160></TD
8161></TR
8162></TABLE
8163><P
8164>parse a start of tag either for rule element or
8165EmptyElement. In both case we don't parse the tag closing chars.</P
8166><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008167>[40] STag ::= '&lt;' Name (S Attribute)* S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00008168><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00008169>[ WFC: Unique Att Spec ]
8170No attribute name may appear more than once in the same start-tag or
8171empty-element tag. </P
8172><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008173>[44] EmptyElemTag ::= '&lt;' Name (S Attribute)* S? '/&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00008174><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00008175>[ WFC: Unique Att Spec ]
8176No attribute name may appear more than once in the same start-tag or
8177empty-element tag. </P
8178><P
Daniel Veillard35925471999-02-25 08:46:07 +00008179>With namespace:</P
8180><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008181>[NS 8] STag ::= '&lt;' QName (S Attribute)* S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00008182><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008183>[NS 10] EmptyElement ::= '&lt;' QName (S Attribute)* S? '/&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00008184><P
8185></P
8186><DIV
8187CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008188><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008189NAME="AEN23104"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008190></A
Daniel Veillard35925471999-02-25 08:46:07 +00008191><P
8192></P
8193><TABLE
8194BORDER="0"
8195WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008196BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008197CELLSPACING="0"
8198CELLPADDING="4"
8199CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008200><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008201><TR
8202><TD
8203WIDTH="20%"
8204ALIGN="RIGHT"
8205VALIGN="TOP"
8206><TT
8207CLASS="PARAMETER"
8208><I
8209>ctxt</I
8210></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008211>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008212><TD
8213WIDTH="80%"
8214ALIGN="LEFT"
8215VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008216> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008217></TR
Daniel Veillard14fff061999-06-22 21:49:07 +00008218><TR
8219><TD
8220WIDTH="20%"
8221ALIGN="RIGHT"
8222VALIGN="TOP"
8223><I
8224CLASS="EMPHASIS"
8225>Returns</I
8226> :</TD
8227><TD
8228WIDTH="80%"
8229ALIGN="LEFT"
8230VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008231>the element name parsed</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008232></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008233></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008234></TABLE
8235><P
8236></P
8237></DIV
8238></DIV
8239><HR><DIV
8240CLASS="REFSECT2"
8241><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008242NAME="AEN23117"
Daniel Veillard35925471999-02-25 08:46:07 +00008243></A
8244><H3
8245><A
8246NAME="XMLPARSEENDTAG"
8247></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008248>xmlParseEndTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008249><TABLE
8250BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008251BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008252WIDTH="100%"
8253CELLPADDING="6"
8254><TR
8255><TD
8256><PRE
8257CLASS="PROGRAMLISTING"
8258>void xmlParseEndTag (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00008259HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008260>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +00008261> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00008262></TD
8263></TR
8264></TABLE
8265><P
8266>parse an end of tag</P
8267><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008268>[42] ETag ::= '&lt;/' Name S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00008269><P
8270>With namespace</P
8271><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008272>[NS 9] ETag ::= '&lt;/' QName S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00008273><P
8274></P
8275><DIV
8276CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008277><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008278NAME="AEN23127"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008279></A
Daniel Veillard35925471999-02-25 08:46:07 +00008280><P
8281></P
8282><TABLE
8283BORDER="0"
8284WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008285BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008286CELLSPACING="0"
8287CELLPADDING="4"
8288CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008289><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008290><TR
8291><TD
8292WIDTH="20%"
8293ALIGN="RIGHT"
8294VALIGN="TOP"
8295><TT
8296CLASS="PARAMETER"
8297><I
8298>ctxt</I
8299></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008300>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008301><TD
8302WIDTH="80%"
8303ALIGN="LEFT"
8304VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008305> an XML parser context</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008306></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008307></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008308></TABLE
8309><P
8310></P
8311></DIV
8312></DIV
8313><HR><DIV
8314CLASS="REFSECT2"
8315><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008316NAME="AEN23136"
Daniel Veillard35925471999-02-25 08:46:07 +00008317></A
8318><H3
8319><A
8320NAME="XMLPARSECDSECT"
8321></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008322>xmlParseCDSect ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008323><TABLE
8324BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008325BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008326WIDTH="100%"
8327CELLPADDING="6"
8328><TR
8329><TD
8330><PRE
8331CLASS="PROGRAMLISTING"
8332>void xmlParseCDSect (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00008333HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008334>xmlParserCtxtPtr</A
8335> ctxt);</PRE
8336></TD
8337></TR
8338></TABLE
8339><P
8340>Parse escaped pure raw content.</P
8341><P
8342>[18] CDSect ::= CDStart CData CDEnd</P
8343><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008344>[19] CDStart ::= '&lt;![CDATA['</P
Daniel Veillard35925471999-02-25 08:46:07 +00008345><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008346>[20] Data ::= (Char* - (Char* ']]&gt;' Char*))</P
Daniel Veillard35925471999-02-25 08:46:07 +00008347><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008348>[21] CDEnd ::= ']]&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00008349><P
8350></P
8351><DIV
8352CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008353><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008354NAME="AEN23147"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008355></A
Daniel Veillard35925471999-02-25 08:46:07 +00008356><P
8357></P
8358><TABLE
8359BORDER="0"
8360WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008361BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008362CELLSPACING="0"
8363CELLPADDING="4"
8364CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008365><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008366><TR
8367><TD
8368WIDTH="20%"
8369ALIGN="RIGHT"
8370VALIGN="TOP"
8371><TT
8372CLASS="PARAMETER"
8373><I
8374>ctxt</I
8375></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008376>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008377><TD
8378WIDTH="80%"
8379ALIGN="LEFT"
8380VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008381> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008382></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008383></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008384></TABLE
8385><P
8386></P
8387></DIV
8388></DIV
8389><HR><DIV
8390CLASS="REFSECT2"
8391><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008392NAME="AEN23156"
Daniel Veillard35925471999-02-25 08:46:07 +00008393></A
8394><H3
8395><A
8396NAME="XMLPARSECONTENT"
8397></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008398>xmlParseContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008399><TABLE
8400BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008401BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008402WIDTH="100%"
8403CELLPADDING="6"
8404><TR
8405><TD
8406><PRE
8407CLASS="PROGRAMLISTING"
8408>void xmlParseContent (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00008409HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008410>xmlParserCtxtPtr</A
8411> ctxt);</PRE
8412></TD
8413></TR
8414></TABLE
8415><P
8416>Parse a content:</P
8417><P
8418>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
8419><P
8420></P
8421><DIV
8422CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008423><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008424NAME="AEN23164"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008425></A
Daniel Veillard35925471999-02-25 08:46:07 +00008426><P
8427></P
8428><TABLE
8429BORDER="0"
8430WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008431BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008432CELLSPACING="0"
8433CELLPADDING="4"
8434CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008435><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008436><TR
8437><TD
8438WIDTH="20%"
8439ALIGN="RIGHT"
8440VALIGN="TOP"
8441><TT
8442CLASS="PARAMETER"
8443><I
8444>ctxt</I
8445></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008446>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008447><TD
8448WIDTH="80%"
8449ALIGN="LEFT"
8450VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008451> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008452></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008453></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008454></TABLE
8455><P
8456></P
8457></DIV
8458></DIV
8459><HR><DIV
8460CLASS="REFSECT2"
8461><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008462NAME="AEN23173"
Daniel Veillard35925471999-02-25 08:46:07 +00008463></A
8464><H3
8465><A
Daniel Veillard06622df2002-01-21 17:53:42 +00008466NAME="XMLPARSEELEMENT"
8467></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008468>xmlParseElement ()</H3
Daniel Veillard06622df2002-01-21 17:53:42 +00008469><TABLE
8470BORDER="0"
8471BGCOLOR="#D6E8FF"
8472WIDTH="100%"
8473CELLPADDING="6"
8474><TR
8475><TD
8476><PRE
8477CLASS="PROGRAMLISTING"
8478>void xmlParseElement (<A
8479HREF="libxml-tree.html#XMLPARSERCTXTPTR"
8480>xmlParserCtxtPtr</A
8481> ctxt);</PRE
8482></TD
8483></TR
8484></TABLE
8485><P
8486>parse an XML element, this is highly recursive</P
8487><P
8488>[39] element ::= EmptyElemTag | STag content ETag</P
8489><P
8490>[ WFC: Element Type Match ]
8491The Name in an element's end-tag must match the element type in the
8492start-tag. </P
8493><P
8494>[ VC: Element Valid ]
8495An element is valid if there is a declaration matching elementdecl
8496where the Name matches the element type and one of the following holds:
Daniel Veillardaf43f632002-03-08 15:05:20 +00008497- The declaration matches EMPTY and the element has no content.
8498- The declaration matches children and the sequence of child elements
8499belongs to the language generated by the regular expression in the
8500content model, with optional white space (characters matching the
8501nonterminal S) between each pair of child elements.
8502- The declaration matches Mixed and the content consists of character
8503data and child elements whose types match names in the content model.
8504- The declaration matches ANY, and the types of any child elements have
8505been declared.</P
Daniel Veillard06622df2002-01-21 17:53:42 +00008506><P
8507></P
8508><DIV
8509CLASS="INFORMALTABLE"
8510><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008511NAME="AEN23183"
Daniel Veillard06622df2002-01-21 17:53:42 +00008512></A
8513><P
8514></P
8515><TABLE
8516BORDER="0"
8517WIDTH="100%"
8518BGCOLOR="#FFD0D0"
8519CELLSPACING="0"
8520CELLPADDING="4"
8521CLASS="CALSTABLE"
8522><TBODY
8523><TR
8524><TD
8525WIDTH="20%"
8526ALIGN="RIGHT"
8527VALIGN="TOP"
8528><TT
8529CLASS="PARAMETER"
8530><I
8531>ctxt</I
8532></TT
8533>&nbsp;:</TD
8534><TD
8535WIDTH="80%"
8536ALIGN="LEFT"
8537VALIGN="TOP"
8538> an XML parser context</TD
8539></TR
8540></TBODY
8541></TABLE
8542><P
8543></P
8544></DIV
8545></DIV
8546><HR><DIV
8547CLASS="REFSECT2"
8548><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008549NAME="AEN23192"
Daniel Veillard06622df2002-01-21 17:53:42 +00008550></A
8551><H3
8552><A
Daniel Veillard35925471999-02-25 08:46:07 +00008553NAME="XMLPARSEVERSIONNUM"
8554></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008555>xmlParseVersionNum ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008556><TABLE
8557BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008558BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008559WIDTH="100%"
8560CELLPADDING="6"
8561><TR
8562><TD
8563><PRE
8564CLASS="PROGRAMLISTING"
8565><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008566HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008567>xmlChar</A
8568>* xmlParseVersionNum (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00008569HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008570>xmlParserCtxtPtr</A
8571> ctxt);</PRE
8572></TD
8573></TR
8574></TABLE
8575><P
8576>parse the XML version value.</P
8577><P
8578>[26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</P
8579><P
8580></P
8581><DIV
8582CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008583><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008584NAME="AEN23201"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008585></A
Daniel Veillard35925471999-02-25 08:46:07 +00008586><P
8587></P
8588><TABLE
8589BORDER="0"
8590WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008591BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008592CELLSPACING="0"
8593CELLPADDING="4"
8594CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008595><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008596><TR
8597><TD
8598WIDTH="20%"
8599ALIGN="RIGHT"
8600VALIGN="TOP"
8601><TT
8602CLASS="PARAMETER"
8603><I
8604>ctxt</I
8605></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008606>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008607><TD
8608WIDTH="80%"
8609ALIGN="LEFT"
8610VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008611> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008612></TR
8613><TR
8614><TD
8615WIDTH="20%"
8616ALIGN="RIGHT"
8617VALIGN="TOP"
8618><I
8619CLASS="EMPHASIS"
8620>Returns</I
8621> :</TD
8622><TD
8623WIDTH="80%"
8624ALIGN="LEFT"
8625VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008626>the string giving the XML version number, or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008627></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008628></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008629></TABLE
8630><P
8631></P
8632></DIV
8633></DIV
8634><HR><DIV
8635CLASS="REFSECT2"
8636><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008637NAME="AEN23214"
Daniel Veillard35925471999-02-25 08:46:07 +00008638></A
8639><H3
8640><A
8641NAME="XMLPARSEVERSIONINFO"
8642></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008643>xmlParseVersionInfo ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008644><TABLE
8645BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008646BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008647WIDTH="100%"
8648CELLPADDING="6"
8649><TR
8650><TD
8651><PRE
8652CLASS="PROGRAMLISTING"
8653><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008654HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008655>xmlChar</A
8656>* xmlParseVersionInfo (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00008657HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008658>xmlParserCtxtPtr</A
8659> ctxt);</PRE
8660></TD
8661></TR
8662></TABLE
8663><P
8664>parse the XML version.</P
8665><P
8666>[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")</P
8667><P
8668>[25] Eq ::= S? '=' S?</P
8669><P
8670></P
8671><DIV
8672CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008673><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008674NAME="AEN23224"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008675></A
Daniel Veillard35925471999-02-25 08:46:07 +00008676><P
8677></P
8678><TABLE
8679BORDER="0"
8680WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008681BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008682CELLSPACING="0"
8683CELLPADDING="4"
8684CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008685><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008686><TR
8687><TD
8688WIDTH="20%"
8689ALIGN="RIGHT"
8690VALIGN="TOP"
8691><TT
8692CLASS="PARAMETER"
8693><I
8694>ctxt</I
8695></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008696>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008697><TD
8698WIDTH="80%"
8699ALIGN="LEFT"
8700VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008701> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008702></TR
8703><TR
8704><TD
8705WIDTH="20%"
8706ALIGN="RIGHT"
8707VALIGN="TOP"
8708><I
8709CLASS="EMPHASIS"
8710>Returns</I
8711> :</TD
8712><TD
8713WIDTH="80%"
8714ALIGN="LEFT"
8715VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008716>the version string, e.g. "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008717></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008718></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008719></TABLE
8720><P
8721></P
8722></DIV
8723></DIV
8724><HR><DIV
8725CLASS="REFSECT2"
8726><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008727NAME="AEN23237"
Daniel Veillard35925471999-02-25 08:46:07 +00008728></A
8729><H3
8730><A
8731NAME="XMLPARSEENCNAME"
8732></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008733>xmlParseEncName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008734><TABLE
8735BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008736BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008737WIDTH="100%"
8738CELLPADDING="6"
8739><TR
8740><TD
8741><PRE
8742CLASS="PROGRAMLISTING"
8743><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008744HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008745>xmlChar</A
8746>* xmlParseEncName (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00008747HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008748>xmlParserCtxtPtr</A
8749> ctxt);</PRE
8750></TD
8751></TR
8752></TABLE
8753><P
8754>parse the XML encoding name</P
8755><P
8756>[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</P
8757><P
8758></P
8759><DIV
8760CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008761><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008762NAME="AEN23246"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008763></A
Daniel Veillard35925471999-02-25 08:46:07 +00008764><P
8765></P
8766><TABLE
8767BORDER="0"
8768WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008769BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008770CELLSPACING="0"
8771CELLPADDING="4"
8772CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008773><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008774><TR
8775><TD
8776WIDTH="20%"
8777ALIGN="RIGHT"
8778VALIGN="TOP"
8779><TT
8780CLASS="PARAMETER"
8781><I
8782>ctxt</I
8783></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008784>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008785><TD
8786WIDTH="80%"
8787ALIGN="LEFT"
8788VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008789> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008790></TR
8791><TR
8792><TD
8793WIDTH="20%"
8794ALIGN="RIGHT"
8795VALIGN="TOP"
8796><I
8797CLASS="EMPHASIS"
8798>Returns</I
8799> :</TD
8800><TD
8801WIDTH="80%"
8802ALIGN="LEFT"
8803VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008804>the encoding name value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008805></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008806></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008807></TABLE
8808><P
8809></P
8810></DIV
8811></DIV
8812><HR><DIV
8813CLASS="REFSECT2"
8814><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008815NAME="AEN23259"
Daniel Veillard35925471999-02-25 08:46:07 +00008816></A
8817><H3
8818><A
8819NAME="XMLPARSEENCODINGDECL"
8820></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008821>xmlParseEncodingDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008822><TABLE
8823BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008824BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008825WIDTH="100%"
8826CELLPADDING="6"
8827><TR
8828><TD
8829><PRE
8830CLASS="PROGRAMLISTING"
8831><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00008832HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008833>xmlChar</A
8834>* xmlParseEncodingDecl (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00008835HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008836>xmlParserCtxtPtr</A
8837> ctxt);</PRE
8838></TD
8839></TR
8840></TABLE
8841><P
8842>parse the XML encoding declaration</P
8843><P
8844>[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")</P
8845><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008846>this setups the conversion filters.</P
Daniel Veillard35925471999-02-25 08:46:07 +00008847><P
8848></P
8849><DIV
8850CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008851><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008852NAME="AEN23269"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008853></A
Daniel Veillard35925471999-02-25 08:46:07 +00008854><P
8855></P
8856><TABLE
8857BORDER="0"
8858WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008859BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008860CELLSPACING="0"
8861CELLPADDING="4"
8862CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008863><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008864><TR
8865><TD
8866WIDTH="20%"
8867ALIGN="RIGHT"
8868VALIGN="TOP"
8869><TT
8870CLASS="PARAMETER"
8871><I
8872>ctxt</I
8873></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008874>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008875><TD
8876WIDTH="80%"
8877ALIGN="LEFT"
8878VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008879> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008880></TR
8881><TR
8882><TD
8883WIDTH="20%"
8884ALIGN="RIGHT"
8885VALIGN="TOP"
8886><I
8887CLASS="EMPHASIS"
8888>Returns</I
8889> :</TD
8890><TD
8891WIDTH="80%"
8892ALIGN="LEFT"
8893VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008894>the encoding value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008895></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008896></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008897></TABLE
8898><P
8899></P
8900></DIV
8901></DIV
8902><HR><DIV
8903CLASS="REFSECT2"
8904><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008905NAME="AEN23282"
Daniel Veillard35925471999-02-25 08:46:07 +00008906></A
8907><H3
8908><A
8909NAME="XMLPARSESDDECL"
8910></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00008911>xmlParseSDDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008912><TABLE
8913BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008914BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008915WIDTH="100%"
8916CELLPADDING="6"
8917><TR
8918><TD
8919><PRE
8920CLASS="PROGRAMLISTING"
8921>int xmlParseSDDecl (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00008922HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00008923>xmlParserCtxtPtr</A
8924> ctxt);</PRE
8925></TD
8926></TR
8927></TABLE
8928><P
8929>parse the XML standalone declaration</P
8930><P
8931>[32] SDDecl ::= S 'standalone' Eq
Daniel Veillardaf43f632002-03-08 15:05:20 +00008932(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"')) </P
Daniel Veillardb05deb71999-08-10 19:04:08 +00008933><P
8934>[ VC: Standalone Document Declaration ]
8935TODO The standalone document declaration must have the value "no"
8936if any external markup declarations contain declarations of:
Daniel Veillardaf43f632002-03-08 15:05:20 +00008937- attributes with default values, if elements to which these
8938attributes apply appear in the document without specifications
8939of values for these attributes, or
8940- entities (other than amp, lt, gt, apos, quot), if references
8941to those entities appear in the document, or
8942- attributes with values subject to normalization, where the
8943attribute appears in the document with a value which will change
8944as a result of normalization, or
8945- element types with element content, if white space occurs directly
8946within any instance of those types.</P
Daniel Veillard35925471999-02-25 08:46:07 +00008947><P
8948></P
8949><DIV
8950CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008951><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00008952NAME="AEN23291"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008953></A
Daniel Veillard35925471999-02-25 08:46:07 +00008954><P
8955></P
8956><TABLE
8957BORDER="0"
8958WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008959BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008960CELLSPACING="0"
8961CELLPADDING="4"
8962CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00008963><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008964><TR
8965><TD
8966WIDTH="20%"
8967ALIGN="RIGHT"
8968VALIGN="TOP"
8969><TT
8970CLASS="PARAMETER"
8971><I
8972>ctxt</I
8973></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00008974>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008975><TD
8976WIDTH="80%"
8977ALIGN="LEFT"
8978VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008979> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008980></TR
8981><TR
8982><TD
8983WIDTH="20%"
8984ALIGN="RIGHT"
8985VALIGN="TOP"
8986><I
8987CLASS="EMPHASIS"
8988>Returns</I
8989> :</TD
8990><TD
8991WIDTH="80%"
8992ALIGN="LEFT"
8993VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00008994>1 if standalone, 0 otherwise</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008995></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00008996></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00008997></TABLE
8998><P
8999></P
9000></DIV
9001></DIV
9002><HR><DIV
9003CLASS="REFSECT2"
9004><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009005NAME="AEN23304"
Daniel Veillard35925471999-02-25 08:46:07 +00009006></A
9007><H3
9008><A
9009NAME="XMLPARSEXMLDECL"
9010></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009011>xmlParseXMLDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009012><TABLE
9013BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009014BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009015WIDTH="100%"
9016CELLPADDING="6"
9017><TR
9018><TD
9019><PRE
9020CLASS="PROGRAMLISTING"
9021>void xmlParseXMLDecl (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00009022HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009023>xmlParserCtxtPtr</A
9024> ctxt);</PRE
9025></TD
9026></TR
9027></TABLE
9028><P
9029>parse an XML declaration header</P
9030><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009031>[23] XMLDecl ::= '&lt;?xml' VersionInfo EncodingDecl? SDDecl? S? '?&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00009032><P
9033></P
9034><DIV
9035CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009036><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009037NAME="AEN23312"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009038></A
Daniel Veillard35925471999-02-25 08:46:07 +00009039><P
9040></P
9041><TABLE
9042BORDER="0"
9043WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009044BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009045CELLSPACING="0"
9046CELLPADDING="4"
9047CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009048><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009049><TR
9050><TD
9051WIDTH="20%"
9052ALIGN="RIGHT"
9053VALIGN="TOP"
9054><TT
9055CLASS="PARAMETER"
9056><I
9057>ctxt</I
9058></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009059>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009060><TD
9061WIDTH="80%"
9062ALIGN="LEFT"
9063VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009064> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009065></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009066></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009067></TABLE
9068><P
9069></P
9070></DIV
9071></DIV
9072><HR><DIV
9073CLASS="REFSECT2"
9074><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009075NAME="AEN23321"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009076></A
9077><H3
9078><A
9079NAME="XMLPARSETEXTDECL"
9080></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009081>xmlParseTextDecl ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009082><TABLE
9083BORDER="0"
9084BGCOLOR="#D6E8FF"
9085WIDTH="100%"
9086CELLPADDING="6"
9087><TR
9088><TD
9089><PRE
9090CLASS="PROGRAMLISTING"
9091>void xmlParseTextDecl (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00009092HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009093>xmlParserCtxtPtr</A
9094> ctxt);</PRE
9095></TD
9096></TR
9097></TABLE
9098><P
9099>parse an XML declaration header for external entities</P
9100><P
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009101>[77] TextDecl ::= '&lt;?xml' VersionInfo? EncodingDecl S? '?&gt;'</P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009102><P
9103>Question: Seems that EncodingDecl is mandatory ? Is that a typo ?</P
9104><P
9105></P
9106><DIV
9107CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009108><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009109NAME="AEN23330"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009110></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009111><P
9112></P
9113><TABLE
9114BORDER="0"
9115WIDTH="100%"
9116BGCOLOR="#FFD0D0"
9117CELLSPACING="0"
9118CELLPADDING="4"
9119CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009120><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009121><TR
9122><TD
9123WIDTH="20%"
9124ALIGN="RIGHT"
9125VALIGN="TOP"
9126><TT
9127CLASS="PARAMETER"
9128><I
9129>ctxt</I
9130></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009131>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009132><TD
9133WIDTH="80%"
9134ALIGN="LEFT"
9135VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009136> an XML parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009137></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009138></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009139></TABLE
9140><P
9141></P
9142></DIV
9143></DIV
9144><HR><DIV
9145CLASS="REFSECT2"
9146><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009147NAME="AEN23339"
Daniel Veillard35925471999-02-25 08:46:07 +00009148></A
9149><H3
9150><A
9151NAME="XMLPARSEMISC"
9152></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009153>xmlParseMisc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00009154><TABLE
9155BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009156BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00009157WIDTH="100%"
9158CELLPADDING="6"
9159><TR
9160><TD
9161><PRE
9162CLASS="PROGRAMLISTING"
9163>void xmlParseMisc (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00009164HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard35925471999-02-25 08:46:07 +00009165>xmlParserCtxtPtr</A
9166> ctxt);</PRE
9167></TD
9168></TR
9169></TABLE
9170><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00009171>parse an XML Misc* optional field.</P
Daniel Veillard35925471999-02-25 08:46:07 +00009172><P
9173>[27] Misc ::= Comment | PI | S</P
9174><P
9175></P
9176><DIV
9177CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009178><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009179NAME="AEN23347"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009180></A
Daniel Veillard35925471999-02-25 08:46:07 +00009181><P
9182></P
9183><TABLE
9184BORDER="0"
9185WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009186BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00009187CELLSPACING="0"
9188CELLPADDING="4"
9189CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009190><TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009191><TR
9192><TD
9193WIDTH="20%"
9194ALIGN="RIGHT"
9195VALIGN="TOP"
9196><TT
9197CLASS="PARAMETER"
9198><I
9199>ctxt</I
9200></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009201>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009202><TD
9203WIDTH="80%"
9204ALIGN="LEFT"
9205VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009206> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009207></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009208></TBODY
Daniel Veillard35925471999-02-25 08:46:07 +00009209></TABLE
9210><P
9211></P
9212></DIV
9213></DIV
Daniel Veillard011b63c1999-06-02 17:44:04 +00009214><HR><DIV
9215CLASS="REFSECT2"
9216><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009217NAME="AEN23356"
Daniel Veillardb05deb71999-08-10 19:04:08 +00009218></A
9219><H3
9220><A
9221NAME="XMLPARSEEXTERNALSUBSET"
9222></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009223>xmlParseExternalSubset ()</H3
Daniel Veillardb05deb71999-08-10 19:04:08 +00009224><TABLE
9225BORDER="0"
9226BGCOLOR="#D6E8FF"
9227WIDTH="100%"
9228CELLPADDING="6"
9229><TR
9230><TD
9231><PRE
9232CLASS="PROGRAMLISTING"
9233>void xmlParseExternalSubset (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00009234HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillardb05deb71999-08-10 19:04:08 +00009235>xmlParserCtxtPtr</A
9236> ctxt,
9237 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009238HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009239>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00009240> *ExternalID,
9241 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009242HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009243>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00009244> *SystemID);</PRE
9245></TD
9246></TR
9247></TABLE
9248><P
9249>parse Markup declarations from an external subset</P
9250><P
9251>[30] extSubset ::= textDecl? extSubsetDecl</P
9252><P
9253>[31] extSubsetDecl ::= (markupdecl | conditionalSect | PEReference | S) *</P
9254><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00009255></P
9256><DIV
9257CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009258><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009259NAME="AEN23367"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009260></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00009261><P
9262></P
9263><TABLE
9264BORDER="0"
9265WIDTH="100%"
9266BGCOLOR="#FFD0D0"
9267CELLSPACING="0"
9268CELLPADDING="4"
9269CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009270><TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00009271><TR
9272><TD
9273WIDTH="20%"
9274ALIGN="RIGHT"
9275VALIGN="TOP"
9276><TT
9277CLASS="PARAMETER"
9278><I
9279>ctxt</I
9280></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009281>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00009282><TD
9283WIDTH="80%"
9284ALIGN="LEFT"
9285VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009286> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00009287></TR
9288><TR
9289><TD
9290WIDTH="20%"
9291ALIGN="RIGHT"
9292VALIGN="TOP"
9293><TT
9294CLASS="PARAMETER"
9295><I
9296>ExternalID</I
9297></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009298>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00009299><TD
9300WIDTH="80%"
9301ALIGN="LEFT"
9302VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009303> the external identifier</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00009304></TR
9305><TR
9306><TD
9307WIDTH="20%"
9308ALIGN="RIGHT"
9309VALIGN="TOP"
9310><TT
9311CLASS="PARAMETER"
9312><I
9313>SystemID</I
9314></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009315>&nbsp;:</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00009316><TD
9317WIDTH="80%"
9318ALIGN="LEFT"
9319VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009320> the system identifier (or URL)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00009321></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009322></TBODY
Daniel Veillardb05deb71999-08-10 19:04:08 +00009323></TABLE
9324><P
9325></P
9326></DIV
9327></DIV
9328><HR><DIV
9329CLASS="REFSECT2"
9330><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009331NAME="AEN23384"
Daniel Veillard011b63c1999-06-02 17:44:04 +00009332></A
9333><H3
9334><A
Daniel Veillard503b8932001-01-05 06:36:31 +00009335NAME="XML-SUBSTITUTE-NONE-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +00009336></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009337>XML_SUBSTITUTE_NONE</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00009338><TABLE
9339BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009340BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00009341WIDTH="100%"
9342CELLPADDING="6"
9343><TR
9344><TD
9345><PRE
9346CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009347>#define XML_SUBSTITUTE_NONE 0</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00009348></TD
9349></TR
9350></TABLE
9351><P
Daniel Veillard19274092002-03-25 16:48:03 +00009352>If no entities need to be substituted.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009353><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00009354></P
9355></DIV
9356><HR><DIV
9357CLASS="REFSECT2"
9358><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009359NAME="AEN23390"
Daniel Veillard011b63c1999-06-02 17:44:04 +00009360></A
9361><H3
9362><A
Daniel Veillard503b8932001-01-05 06:36:31 +00009363NAME="XML-SUBSTITUTE-REF-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +00009364></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009365>XML_SUBSTITUTE_REF</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00009366><TABLE
9367BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009368BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00009369WIDTH="100%"
9370CELLPADDING="6"
9371><TR
9372><TD
9373><PRE
9374CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009375>#define XML_SUBSTITUTE_REF 1</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00009376></TD
9377></TR
9378></TABLE
9379><P
Daniel Veillard19274092002-03-25 16:48:03 +00009380>Whether general entities need to be substituted.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009381><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00009382></P
9383></DIV
9384><HR><DIV
9385CLASS="REFSECT2"
9386><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009387NAME="AEN23396"
Daniel Veillard011b63c1999-06-02 17:44:04 +00009388></A
9389><H3
9390><A
Daniel Veillard503b8932001-01-05 06:36:31 +00009391NAME="XML-SUBSTITUTE-PEREF-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +00009392></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009393>XML_SUBSTITUTE_PEREF</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00009394><TABLE
9395BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009396BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00009397WIDTH="100%"
9398CELLPADDING="6"
9399><TR
9400><TD
9401><PRE
9402CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009403>#define XML_SUBSTITUTE_PEREF 2</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00009404></TD
9405></TR
9406></TABLE
9407><P
Daniel Veillard19274092002-03-25 16:48:03 +00009408>Whether parameter entities need to be substituted.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009409><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00009410></P
9411></DIV
9412><HR><DIV
9413CLASS="REFSECT2"
9414><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009415NAME="AEN23402"
Daniel Veillard011b63c1999-06-02 17:44:04 +00009416></A
9417><H3
9418><A
Daniel Veillard503b8932001-01-05 06:36:31 +00009419NAME="XML-SUBSTITUTE-BOTH-CAPS"
Daniel Veillard011b63c1999-06-02 17:44:04 +00009420></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009421>XML_SUBSTITUTE_BOTH</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00009422><TABLE
9423BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009424BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00009425WIDTH="100%"
9426CELLPADDING="6"
9427><TR
9428><TD
9429><PRE
9430CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009431>#define XML_SUBSTITUTE_BOTH 3</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00009432></TD
9433></TR
9434></TABLE
9435><P
Daniel Veillard19274092002-03-25 16:48:03 +00009436>Both general and parameter entities need to be substituted.</P
Daniel Veillarde7ead2d2001-08-22 23:44:09 +00009437><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00009438></P
9439></DIV
9440><HR><DIV
9441CLASS="REFSECT2"
9442><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009443NAME="AEN23408"
Daniel Veillard011b63c1999-06-02 17:44:04 +00009444></A
9445><H3
9446><A
9447NAME="XMLDECODEENTITIES"
9448></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009449>xmlDecodeEntities ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00009450><TABLE
9451BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009452BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00009453WIDTH="100%"
9454CELLPADDING="6"
9455><TR
9456><TD
9457><PRE
9458CLASS="PROGRAMLISTING"
9459><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009460HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009461>xmlChar</A
9462>* xmlDecodeEntities (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00009463HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard011b63c1999-06-02 17:44:04 +00009464>xmlParserCtxtPtr</A
9465> ctxt,
9466 int len,
9467 int what,
9468 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009469HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009470>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00009471> end,
9472 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009473HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009474>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00009475> end2,
9476 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009477HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarddd6b3671999-09-23 22:19:22 +00009478>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00009479> end3);</PRE
9480></TD
9481></TR
9482></TABLE
9483><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009484>This function is deprecated, we now always process entities content
9485through xmlStringDecodeEntities</P
9486><P
9487>TODO: remove it in next major release.</P
9488><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00009489>[67] Reference ::= EntityRef | CharRef</P
9490><P
9491>[69] PEReference ::= '%' Name ';'</P
9492><P
9493></P
9494><DIV
9495CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009496><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009497NAME="AEN23422"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009498></A
Daniel Veillard011b63c1999-06-02 17:44:04 +00009499><P
9500></P
9501><TABLE
9502BORDER="0"
9503WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00009504BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00009505CELLSPACING="0"
9506CELLPADDING="4"
9507CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009508><TBODY
Daniel Veillard011b63c1999-06-02 17:44:04 +00009509><TR
9510><TD
9511WIDTH="20%"
9512ALIGN="RIGHT"
9513VALIGN="TOP"
9514><TT
9515CLASS="PARAMETER"
9516><I
9517>ctxt</I
9518></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009519>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009520><TD
9521WIDTH="80%"
9522ALIGN="LEFT"
9523VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009524> the parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009525></TR
9526><TR
9527><TD
9528WIDTH="20%"
9529ALIGN="RIGHT"
9530VALIGN="TOP"
9531><TT
9532CLASS="PARAMETER"
9533><I
9534>len</I
9535></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009536>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009537><TD
9538WIDTH="80%"
9539ALIGN="LEFT"
9540VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009541> the len to decode (in bytes !), -1 for no size limit</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009542></TR
9543><TR
9544><TD
9545WIDTH="20%"
9546ALIGN="RIGHT"
9547VALIGN="TOP"
9548><TT
9549CLASS="PARAMETER"
9550><I
9551>what</I
9552></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009553>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009554><TD
9555WIDTH="80%"
9556ALIGN="LEFT"
9557VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009558> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009559></TR
9560><TR
9561><TD
9562WIDTH="20%"
9563ALIGN="RIGHT"
9564VALIGN="TOP"
9565><TT
9566CLASS="PARAMETER"
9567><I
9568>end</I
9569></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009570>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009571><TD
9572WIDTH="80%"
9573ALIGN="LEFT"
9574VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009575> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009576></TR
9577><TR
9578><TD
9579WIDTH="20%"
9580ALIGN="RIGHT"
9581VALIGN="TOP"
9582><TT
9583CLASS="PARAMETER"
9584><I
9585>end2</I
9586></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009587>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009588><TD
9589WIDTH="80%"
9590ALIGN="LEFT"
9591VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009592> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009593></TR
9594><TR
9595><TD
9596WIDTH="20%"
9597ALIGN="RIGHT"
9598VALIGN="TOP"
9599><TT
9600CLASS="PARAMETER"
9601><I
9602>end3</I
9603></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009604>&nbsp;:</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009605><TD
9606WIDTH="80%"
9607ALIGN="LEFT"
9608VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009609> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009610></TR
9611><TR
9612><TD
9613WIDTH="20%"
9614ALIGN="RIGHT"
9615VALIGN="TOP"
9616><I
9617CLASS="EMPHASIS"
9618>Returns</I
9619> :</TD
9620><TD
9621WIDTH="80%"
9622ALIGN="LEFT"
9623VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009624>A newly allocated string with the substitution done. The caller
Daniel Veillardaf43f632002-03-08 15:05:20 +00009625must deallocate it !</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009626></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009627></TBODY
Daniel Veillard011b63c1999-06-02 17:44:04 +00009628></TABLE
9629><P
9630></P
9631></DIV
9632></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +00009633><HR><DIV
9634CLASS="REFSECT2"
9635><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009636NAME="AEN23455"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009637></A
9638><H3
9639><A
9640NAME="XMLSTRINGDECODEENTITIES"
9641></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009642>xmlStringDecodeEntities ()</H3
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009643><TABLE
9644BORDER="0"
9645BGCOLOR="#D6E8FF"
9646WIDTH="100%"
9647CELLPADDING="6"
9648><TR
9649><TD
9650><PRE
9651CLASS="PROGRAMLISTING"
9652><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009653HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009654>xmlChar</A
9655>* xmlStringDecodeEntities (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00009656HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009657>xmlParserCtxtPtr</A
9658> ctxt,
9659 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009660HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009661>xmlChar</A
9662> *str,
9663 int what,
9664 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009665HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009666>xmlChar</A
9667> end,
9668 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009669HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009670>xmlChar</A
9671> end2,
9672 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009673HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009674>xmlChar</A
9675> end3);</PRE
9676></TD
9677></TR
9678></TABLE
9679><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +00009680>Takes a entity string content and process to do the adequate substitutions.</P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009681><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009682>[67] Reference ::= EntityRef | CharRef</P
9683><P
9684>[69] PEReference ::= '%' Name ';'</P
9685><P
9686></P
9687><DIV
9688CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009689><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009690NAME="AEN23469"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009691></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009692><P
9693></P
9694><TABLE
9695BORDER="0"
9696WIDTH="100%"
9697BGCOLOR="#FFD0D0"
9698CELLSPACING="0"
9699CELLPADDING="4"
9700CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009701><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009702><TR
9703><TD
9704WIDTH="20%"
9705ALIGN="RIGHT"
9706VALIGN="TOP"
9707><TT
9708CLASS="PARAMETER"
9709><I
9710>ctxt</I
9711></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009712>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009713><TD
9714WIDTH="80%"
9715ALIGN="LEFT"
9716VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009717> the parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009718></TR
9719><TR
9720><TD
9721WIDTH="20%"
9722ALIGN="RIGHT"
9723VALIGN="TOP"
9724><TT
9725CLASS="PARAMETER"
9726><I
9727>str</I
9728></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009729>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009730><TD
9731WIDTH="80%"
9732ALIGN="LEFT"
9733VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009734> the input string</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009735></TR
9736><TR
9737><TD
9738WIDTH="20%"
9739ALIGN="RIGHT"
9740VALIGN="TOP"
9741><TT
9742CLASS="PARAMETER"
9743><I
9744>what</I
9745></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009746>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009747><TD
9748WIDTH="80%"
9749ALIGN="LEFT"
9750VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009751> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009752></TR
9753><TR
9754><TD
9755WIDTH="20%"
9756ALIGN="RIGHT"
9757VALIGN="TOP"
9758><TT
9759CLASS="PARAMETER"
9760><I
9761>end</I
9762></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009763>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009764><TD
9765WIDTH="80%"
9766ALIGN="LEFT"
9767VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009768> an end marker xmlChar, 0 if none</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009769></TR
9770><TR
9771><TD
9772WIDTH="20%"
9773ALIGN="RIGHT"
9774VALIGN="TOP"
9775><TT
9776CLASS="PARAMETER"
9777><I
9778>end2</I
9779></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009780>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009781><TD
9782WIDTH="80%"
9783ALIGN="LEFT"
9784VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009785> an end marker xmlChar, 0 if none</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009786></TR
9787><TR
9788><TD
9789WIDTH="20%"
9790ALIGN="RIGHT"
9791VALIGN="TOP"
9792><TT
9793CLASS="PARAMETER"
9794><I
9795>end3</I
9796></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009797>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009798><TD
9799WIDTH="80%"
9800ALIGN="LEFT"
9801VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009802> an end marker xmlChar, 0 if none</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009803></TR
9804><TR
9805><TD
9806WIDTH="20%"
9807ALIGN="RIGHT"
9808VALIGN="TOP"
9809><I
9810CLASS="EMPHASIS"
9811>Returns</I
9812> :</TD
9813><TD
9814WIDTH="80%"
9815ALIGN="LEFT"
9816VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00009817>A newly allocated string with the substitution done. The caller
Daniel Veillardaf43f632002-03-08 15:05:20 +00009818must deallocate it !</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009819></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009820></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009821></TABLE
9822><P
9823></P
9824></DIV
9825></DIV
9826><HR><DIV
9827CLASS="REFSECT2"
9828><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009829NAME="AEN23502"
Daniel Veillard14fff061999-06-22 21:49:07 +00009830></A
9831><H3
9832><A
9833NAME="NODEPUSH"
9834></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009835>nodePush ()</H3
Daniel Veillard14fff061999-06-22 21:49:07 +00009836><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00009837BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009838BGCOLOR="#D6E8FF"
9839WIDTH="100%"
9840CELLPADDING="6"
Daniel Veillard35925471999-02-25 08:46:07 +00009841><TR
9842><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009843><PRE
9844CLASS="PROGRAMLISTING"
9845>int nodePush (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00009846HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009847>xmlParserCtxtPtr</A
9848> ctxt,
9849 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009850HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009851>xmlNodePtr</A
9852> value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00009853></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009854></TR
9855></TABLE
9856><P
Daniel Veillardf012a642001-07-23 19:10:52 +00009857>Pushes a new element node on top of the node stack</P
9858><P
Daniel Veillard14fff061999-06-22 21:49:07 +00009859></P
9860><DIV
9861CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009862><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009863NAME="AEN23510"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009864></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009865><P
9866></P
9867><TABLE
9868BORDER="0"
9869WIDTH="100%"
9870BGCOLOR="#FFD0D0"
9871CELLSPACING="0"
9872CELLPADDING="4"
9873CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009874><TBODY
Daniel Veillard14fff061999-06-22 21:49:07 +00009875><TR
Daniel Veillard35925471999-02-25 08:46:07 +00009876><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009877WIDTH="20%"
9878ALIGN="RIGHT"
9879VALIGN="TOP"
9880><TT
9881CLASS="PARAMETER"
9882><I
9883>ctxt</I
9884></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009885>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009886><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009887WIDTH="80%"
9888ALIGN="LEFT"
9889VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00009890> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009891></TR
9892><TR
9893><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009894WIDTH="20%"
9895ALIGN="RIGHT"
9896VALIGN="TOP"
9897><TT
9898CLASS="PARAMETER"
9899><I
9900>value</I
9901></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009902>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009903><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009904WIDTH="80%"
9905ALIGN="LEFT"
9906VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009907> the element node</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009908></TR
9909><TR
9910><TD
9911WIDTH="20%"
9912ALIGN="RIGHT"
9913VALIGN="TOP"
9914><I
9915CLASS="EMPHASIS"
9916>Returns</I
9917> :</TD
9918><TD
9919WIDTH="80%"
9920ALIGN="LEFT"
9921VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +00009922>0 in case of error, the index in the stack otherwise</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009923></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00009924></TBODY
Daniel Veillard14fff061999-06-22 21:49:07 +00009925></TABLE
9926><P
9927></P
9928></DIV
9929></DIV
9930><HR><DIV
9931CLASS="REFSECT2"
Daniel Veillard35925471999-02-25 08:46:07 +00009932><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009933NAME="AEN23527"
Daniel Veillard14fff061999-06-22 21:49:07 +00009934></A
9935><H3
9936><A
9937NAME="NODEPOP"
9938></A
Daniel Veillardaf43f632002-03-08 15:05:20 +00009939>nodePop ()</H3
Daniel Veillard14fff061999-06-22 21:49:07 +00009940><TABLE
9941BORDER="0"
9942BGCOLOR="#D6E8FF"
9943WIDTH="100%"
9944CELLPADDING="6"
9945><TR
9946><TD
9947><PRE
9948CLASS="PROGRAMLISTING"
9949><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00009950HREF="libxml-tree.html#XMLNODEPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009951>xmlNodePtr</A
9952> nodePop (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +00009953HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +00009954>xmlParserCtxtPtr</A
9955> ctxt);</PRE
9956></TD
9957></TR
9958></TABLE
9959><P
Daniel Veillardf012a642001-07-23 19:10:52 +00009960>Pops the top element node from the node stack</P
9961><P
Daniel Veillard14fff061999-06-22 21:49:07 +00009962></P
9963><DIV
9964CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009965><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +00009966NAME="AEN23535"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009967></A
Daniel Veillard14fff061999-06-22 21:49:07 +00009968><P
9969></P
9970><TABLE
9971BORDER="0"
9972WIDTH="100%"
9973BGCOLOR="#FFD0D0"
9974CELLSPACING="0"
9975CELLPADDING="4"
9976CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00009977><TBODY
Daniel Veillard14fff061999-06-22 21:49:07 +00009978><TR
9979><TD
9980WIDTH="20%"
9981ALIGN="RIGHT"
9982VALIGN="TOP"
9983><TT
9984CLASS="PARAMETER"
9985><I
9986>ctxt</I
9987></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00009988>&nbsp;:</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009989><TD
9990WIDTH="80%"
9991ALIGN="LEFT"
9992VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +00009993> an XML parser context</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009994></TR
9995><TR
9996><TD
9997WIDTH="20%"
9998ALIGN="RIGHT"
9999VALIGN="TOP"
10000><I
10001CLASS="EMPHASIS"
10002>Returns</I
10003> :</TD
10004><TD
10005WIDTH="80%"
10006ALIGN="LEFT"
10007VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +000010008>the node just removed</TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010009></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010010></TBODY
Daniel Veillard14fff061999-06-22 21:49:07 +000010011></TABLE
10012><P
10013></P
10014></DIV
10015></DIV
10016><HR><DIV
10017CLASS="REFSECT2"
10018><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010019NAME="AEN23548"
Daniel Veillard14fff061999-06-22 21:49:07 +000010020></A
10021><H3
10022><A
10023NAME="INPUTPUSH"
10024></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010025>inputPush ()</H3
Daniel Veillard14fff061999-06-22 21:49:07 +000010026><TABLE
10027BORDER="0"
10028BGCOLOR="#D6E8FF"
10029WIDTH="100%"
10030CELLPADDING="6"
10031><TR
10032><TD
10033><PRE
10034CLASS="PROGRAMLISTING"
10035>int inputPush (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +000010036HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +000010037>xmlParserCtxtPtr</A
10038> ctxt,
10039 <A
Daniel Veillard43d3f612001-11-10 11:57:23 +000010040HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +000010041>xmlParserInputPtr</A
10042> value);</PRE
10043></TD
10044></TR
10045></TABLE
10046><P
Daniel Veillardf012a642001-07-23 19:10:52 +000010047>Pushes a new parser input on top of the input stack</P
10048><P
Daniel Veillard14fff061999-06-22 21:49:07 +000010049></P
10050><DIV
10051CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010052><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010053NAME="AEN23556"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010054></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010055><P
10056></P
10057><TABLE
10058BORDER="0"
10059WIDTH="100%"
10060BGCOLOR="#FFD0D0"
10061CELLSPACING="0"
10062CELLPADDING="4"
10063CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010064><TBODY
Daniel Veillard14fff061999-06-22 21:49:07 +000010065><TR
10066><TD
10067WIDTH="20%"
10068ALIGN="RIGHT"
10069VALIGN="TOP"
10070><TT
10071CLASS="PARAMETER"
10072><I
10073>ctxt</I
10074></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010075>&nbsp;:</TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010076><TD
10077WIDTH="80%"
10078ALIGN="LEFT"
10079VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +000010080> an XML parser context</TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010081></TR
10082><TR
10083><TD
10084WIDTH="20%"
10085ALIGN="RIGHT"
10086VALIGN="TOP"
10087><TT
10088CLASS="PARAMETER"
10089><I
10090>value</I
10091></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010092>&nbsp;:</TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010093><TD
10094WIDTH="80%"
10095ALIGN="LEFT"
10096VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010097> the parser input</TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010098></TR
10099><TR
10100><TD
10101WIDTH="20%"
10102ALIGN="RIGHT"
10103VALIGN="TOP"
10104><I
10105CLASS="EMPHASIS"
10106>Returns</I
10107> :</TD
10108><TD
10109WIDTH="80%"
10110ALIGN="LEFT"
10111VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010112>0 in case of error, the index in the stack otherwise</TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010113></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010114></TBODY
Daniel Veillard14fff061999-06-22 21:49:07 +000010115></TABLE
10116><P
10117></P
10118></DIV
10119></DIV
10120><HR><DIV
10121CLASS="REFSECT2"
10122><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010123NAME="AEN23573"
Daniel Veillard14fff061999-06-22 21:49:07 +000010124></A
10125><H3
10126><A
10127NAME="INPUTPOP"
10128></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010129>inputPop ()</H3
Daniel Veillard14fff061999-06-22 21:49:07 +000010130><TABLE
10131BORDER="0"
10132BGCOLOR="#D6E8FF"
10133WIDTH="100%"
10134CELLPADDING="6"
10135><TR
10136><TD
10137><PRE
10138CLASS="PROGRAMLISTING"
10139><A
Daniel Veillard43d3f612001-11-10 11:57:23 +000010140HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +000010141>xmlParserInputPtr</A
10142> inputPop (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +000010143HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard14fff061999-06-22 21:49:07 +000010144>xmlParserCtxtPtr</A
10145> ctxt);</PRE
10146></TD
10147></TR
10148></TABLE
10149><P
Daniel Veillardf012a642001-07-23 19:10:52 +000010150>Pops the top parser input from the input stack</P
10151><P
Daniel Veillard14fff061999-06-22 21:49:07 +000010152></P
10153><DIV
10154CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010155><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010156NAME="AEN23581"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010157></A
Daniel Veillard14fff061999-06-22 21:49:07 +000010158><P
10159></P
10160><TABLE
10161BORDER="0"
10162WIDTH="100%"
10163BGCOLOR="#FFD0D0"
10164CELLSPACING="0"
10165CELLPADDING="4"
10166CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010167><TBODY
Daniel Veillard14fff061999-06-22 21:49:07 +000010168><TR
10169><TD
10170WIDTH="20%"
10171ALIGN="RIGHT"
10172VALIGN="TOP"
10173><TT
10174CLASS="PARAMETER"
10175><I
10176>ctxt</I
10177></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010178>&nbsp;:</TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010179><TD
10180WIDTH="80%"
10181ALIGN="LEFT"
10182VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +000010183> an XML parser context</TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010184></TR
10185><TR
10186><TD
10187WIDTH="20%"
10188ALIGN="RIGHT"
10189VALIGN="TOP"
10190><I
10191CLASS="EMPHASIS"
10192>Returns</I
10193> :</TD
10194><TD
10195WIDTH="80%"
10196ALIGN="LEFT"
10197VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +000010198>the input just removed</TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010199></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010200></TBODY
Daniel Veillard14fff061999-06-22 21:49:07 +000010201></TABLE
10202><P
10203></P
10204></DIV
10205></DIV
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010206><HR><DIV
10207CLASS="REFSECT2"
10208><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010209NAME="AEN23594"
Daniel Veillarda41123c2001-04-22 19:31:20 +000010210></A
10211><H3
10212><A
10213NAME="NAMEPOP"
10214></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010215>namePop ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +000010216><TABLE
10217BORDER="0"
10218BGCOLOR="#D6E8FF"
10219WIDTH="100%"
10220CELLPADDING="6"
10221><TR
10222><TD
10223><PRE
10224CLASS="PROGRAMLISTING"
10225><A
10226HREF="libxml-tree.html#XMLCHAR"
10227>xmlChar</A
10228>* namePop (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +000010229HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillarda41123c2001-04-22 19:31:20 +000010230>xmlParserCtxtPtr</A
10231> ctxt);</PRE
10232></TD
10233></TR
10234></TABLE
10235><P
Daniel Veillardf012a642001-07-23 19:10:52 +000010236>Pops the top element name from the name stack</P
10237><P
Daniel Veillarda41123c2001-04-22 19:31:20 +000010238></P
10239><DIV
10240CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010241><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010242NAME="AEN23602"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010243></A
Daniel Veillarda41123c2001-04-22 19:31:20 +000010244><P
10245></P
10246><TABLE
10247BORDER="0"
10248WIDTH="100%"
10249BGCOLOR="#FFD0D0"
10250CELLSPACING="0"
10251CELLPADDING="4"
10252CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010253><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +000010254><TR
10255><TD
10256WIDTH="20%"
10257ALIGN="RIGHT"
10258VALIGN="TOP"
10259><TT
10260CLASS="PARAMETER"
10261><I
10262>ctxt</I
10263></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010264>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000010265><TD
10266WIDTH="80%"
10267ALIGN="LEFT"
10268VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +000010269> an XML parser context</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000010270></TR
10271><TR
10272><TD
10273WIDTH="20%"
10274ALIGN="RIGHT"
10275VALIGN="TOP"
10276><I
10277CLASS="EMPHASIS"
10278>Returns</I
10279> :</TD
10280><TD
10281WIDTH="80%"
10282ALIGN="LEFT"
10283VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +000010284>the name just removed</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000010285></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010286></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +000010287></TABLE
10288><P
10289></P
10290></DIV
10291></DIV
10292><HR><DIV
10293CLASS="REFSECT2"
10294><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010295NAME="AEN23615"
Daniel Veillarda41123c2001-04-22 19:31:20 +000010296></A
10297><H3
10298><A
10299NAME="NAMEPUSH"
10300></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010301>namePush ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +000010302><TABLE
10303BORDER="0"
10304BGCOLOR="#D6E8FF"
10305WIDTH="100%"
10306CELLPADDING="6"
10307><TR
10308><TD
10309><PRE
10310CLASS="PROGRAMLISTING"
10311>int namePush (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +000010312HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillarda41123c2001-04-22 19:31:20 +000010313>xmlParserCtxtPtr</A
10314> ctxt,
10315 <A
10316HREF="libxml-tree.html#XMLCHAR"
10317>xmlChar</A
10318> *value);</PRE
10319></TD
10320></TR
10321></TABLE
10322><P
Daniel Veillardf012a642001-07-23 19:10:52 +000010323>Pushes a new element name on top of the name stack</P
10324><P
Daniel Veillarda41123c2001-04-22 19:31:20 +000010325></P
10326><DIV
10327CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010328><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010329NAME="AEN23623"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010330></A
Daniel Veillarda41123c2001-04-22 19:31:20 +000010331><P
10332></P
10333><TABLE
10334BORDER="0"
10335WIDTH="100%"
10336BGCOLOR="#FFD0D0"
10337CELLSPACING="0"
10338CELLPADDING="4"
10339CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010340><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +000010341><TR
10342><TD
10343WIDTH="20%"
10344ALIGN="RIGHT"
10345VALIGN="TOP"
10346><TT
10347CLASS="PARAMETER"
10348><I
10349>ctxt</I
10350></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010351>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000010352><TD
10353WIDTH="80%"
10354ALIGN="LEFT"
10355VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +000010356> an XML parser context</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000010357></TR
10358><TR
10359><TD
10360WIDTH="20%"
10361ALIGN="RIGHT"
10362VALIGN="TOP"
10363><TT
10364CLASS="PARAMETER"
10365><I
10366>value</I
10367></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010368>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000010369><TD
10370WIDTH="80%"
10371ALIGN="LEFT"
10372VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010373> the element name</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000010374></TR
10375><TR
10376><TD
10377WIDTH="20%"
10378ALIGN="RIGHT"
10379VALIGN="TOP"
10380><I
10381CLASS="EMPHASIS"
10382>Returns</I
10383> :</TD
10384><TD
10385WIDTH="80%"
10386ALIGN="LEFT"
10387VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +000010388>0 in case of error, the index in the stack otherwise</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000010389></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010390></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +000010391></TABLE
10392><P
10393></P
10394></DIV
10395></DIV
10396><HR><DIV
10397CLASS="REFSECT2"
10398><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010399NAME="AEN23640"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010400></A
10401><H3
10402><A
10403NAME="XMLSKIPBLANKCHARS"
10404></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010405>xmlSkipBlankChars ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010406><TABLE
10407BORDER="0"
10408BGCOLOR="#D6E8FF"
10409WIDTH="100%"
10410CELLPADDING="6"
10411><TR
10412><TD
10413><PRE
10414CLASS="PROGRAMLISTING"
10415>int xmlSkipBlankChars (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +000010416HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010417>xmlParserCtxtPtr</A
10418> ctxt);</PRE
10419></TD
10420></TR
10421></TABLE
10422><P
10423>skip all blanks character found at that point in the input streams.
10424It pops up finished entities in the process if allowable at that point.</P
10425><P
10426></P
10427><DIV
10428CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010429><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010430NAME="AEN23647"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010431></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010432><P
10433></P
10434><TABLE
10435BORDER="0"
10436WIDTH="100%"
10437BGCOLOR="#FFD0D0"
10438CELLSPACING="0"
10439CELLPADDING="4"
10440CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010441><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010442><TR
10443><TD
10444WIDTH="20%"
10445ALIGN="RIGHT"
10446VALIGN="TOP"
10447><TT
10448CLASS="PARAMETER"
10449><I
10450>ctxt</I
10451></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010452>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010453><TD
10454WIDTH="80%"
10455ALIGN="LEFT"
10456VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000010457> the XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010458></TR
10459><TR
10460><TD
10461WIDTH="20%"
10462ALIGN="RIGHT"
10463VALIGN="TOP"
10464><I
10465CLASS="EMPHASIS"
10466>Returns</I
10467> :</TD
10468><TD
10469WIDTH="80%"
10470ALIGN="LEFT"
10471VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000010472>the number of space chars skipped</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010473></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010474></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010475></TABLE
10476><P
10477></P
10478></DIV
10479></DIV
10480><HR><DIV
10481CLASS="REFSECT2"
10482><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010483NAME="AEN23660"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010484></A
10485><H3
10486><A
10487NAME="XMLSTRINGCURRENTCHAR"
10488></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010489>xmlStringCurrentChar ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010490><TABLE
10491BORDER="0"
10492BGCOLOR="#D6E8FF"
10493WIDTH="100%"
10494CELLPADDING="6"
10495><TR
10496><TD
10497><PRE
10498CLASS="PROGRAMLISTING"
10499>int xmlStringCurrentChar (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +000010500HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010501>xmlParserCtxtPtr</A
10502> ctxt,
10503 const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010504HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010505>xmlChar</A
10506> *cur,
10507 int *len);</PRE
10508></TD
10509></TR
10510></TABLE
10511><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +000010512>The current char value, if using UTF-8 this may actually span multiple
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010513bytes in the input buffer.</P
10514><P
10515></P
10516><DIV
10517CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010518><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010519NAME="AEN23668"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010520></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010521><P
10522></P
10523><TABLE
10524BORDER="0"
10525WIDTH="100%"
10526BGCOLOR="#FFD0D0"
10527CELLSPACING="0"
10528CELLPADDING="4"
10529CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010530><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010531><TR
10532><TD
10533WIDTH="20%"
10534ALIGN="RIGHT"
10535VALIGN="TOP"
10536><TT
10537CLASS="PARAMETER"
10538><I
10539>ctxt</I
10540></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010541>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010542><TD
10543WIDTH="80%"
10544ALIGN="LEFT"
10545VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000010546> the XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010547></TR
10548><TR
10549><TD
10550WIDTH="20%"
10551ALIGN="RIGHT"
10552VALIGN="TOP"
10553><TT
10554CLASS="PARAMETER"
10555><I
10556>cur</I
10557></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010558>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010559><TD
10560WIDTH="80%"
10561ALIGN="LEFT"
10562VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000010563> pointer to the beginning of the char</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010564></TR
10565><TR
10566><TD
10567WIDTH="20%"
10568ALIGN="RIGHT"
10569VALIGN="TOP"
10570><TT
10571CLASS="PARAMETER"
10572><I
10573>len</I
10574></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010575>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010576><TD
10577WIDTH="80%"
10578ALIGN="LEFT"
10579VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000010580> pointer to the length of the char read</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010581></TR
10582><TR
10583><TD
10584WIDTH="20%"
10585ALIGN="RIGHT"
10586VALIGN="TOP"
10587><I
10588CLASS="EMPHASIS"
10589>Returns</I
10590> :</TD
10591><TD
10592WIDTH="80%"
10593ALIGN="LEFT"
10594VALIGN="TOP"
Daniel Veillard60087f32001-10-10 09:45:09 +000010595>the current char value and its length</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010596></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010597></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010598></TABLE
10599><P
10600></P
10601></DIV
10602></DIV
10603><HR><DIV
10604CLASS="REFSECT2"
10605><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010606NAME="AEN23689"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010607></A
10608><H3
10609><A
10610NAME="XMLPARSERHANDLEPEREFERENCE"
10611></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010612>xmlParserHandlePEReference ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010613><TABLE
10614BORDER="0"
10615BGCOLOR="#D6E8FF"
10616WIDTH="100%"
10617CELLPADDING="6"
10618><TR
10619><TD
10620><PRE
10621CLASS="PROGRAMLISTING"
10622>void xmlParserHandlePEReference (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +000010623HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010624>xmlParserCtxtPtr</A
10625> ctxt);</PRE
10626></TD
10627></TR
10628></TABLE
10629><P
10630>[69] PEReference ::= '%' Name ';'</P
10631><P
10632>[ WFC: No Recursion ]
10633A parsed entity must not contain a recursive
10634reference to itself, either directly or indirectly. </P
10635><P
10636>[ WFC: Entity Declared ]
10637In a document without any DTD, a document with only an internal DTD
10638subset which contains no parameter entity references, or a document
10639with "standalone='yes'", ... ... The declaration of a parameter
10640entity must precede any reference to it...</P
10641><P
10642>[ VC: Entity Declared ]
10643In a document with an external subset or external parameter entities
10644with "standalone='no'", ... ... The declaration of a parameter entity
10645must precede any reference to it...</P
10646><P
10647>[ WFC: In DTD ]
10648Parameter-entity references may only appear in the DTD.
10649NOTE: misleading but this is handled.</P
10650><P
10651>A PEReference may have been detected in the current input stream
10652the handling is done accordingly to
Daniel Veillardaf43f632002-03-08 15:05:20 +000010653http://www.w3.org/TR/REC-xml<GTKDOCLINK
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010654HREF="ENTPROC"
10655>entproc</GTKDOCLINK
10656>
10657i.e.
Daniel Veillardaf43f632002-03-08 15:05:20 +000010658- Included in literal in entity values
10659- Included as Parameter Entity reference within DTDs</P
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010660><P
10661></P
10662><DIV
10663CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010664><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010665NAME="AEN23702"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010666></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010667><P
10668></P
10669><TABLE
10670BORDER="0"
10671WIDTH="100%"
10672BGCOLOR="#FFD0D0"
10673CELLSPACING="0"
10674CELLPADDING="4"
10675CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010676><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010677><TR
10678><TD
10679WIDTH="20%"
10680ALIGN="RIGHT"
10681VALIGN="TOP"
10682><TT
10683CLASS="PARAMETER"
10684><I
10685>ctxt</I
10686></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010687>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010688><TD
10689WIDTH="80%"
10690ALIGN="LEFT"
10691VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000010692> the parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010693></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010694></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010695></TABLE
10696><P
10697></P
10698></DIV
10699></DIV
10700><HR><DIV
10701CLASS="REFSECT2"
10702><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010703NAME="AEN23711"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010704></A
10705><H3
10706><A
Daniel Veillardcbaf3992001-12-31 16:16:02 +000010707NAME="XMLPARSERHANDLEREFERENCE"
10708></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010709>xmlParserHandleReference ()</H3
Daniel Veillardcbaf3992001-12-31 16:16:02 +000010710><TABLE
10711BORDER="0"
10712BGCOLOR="#D6E8FF"
10713WIDTH="100%"
10714CELLPADDING="6"
10715><TR
10716><TD
10717><PRE
10718CLASS="PROGRAMLISTING"
10719>void xmlParserHandleReference (<A
10720HREF="libxml-tree.html#XMLPARSERCTXTPTR"
10721>xmlParserCtxtPtr</A
10722> ctxt);</PRE
10723></TD
10724></TR
10725></TABLE
10726><P
10727>TODO: Remove, now deprecated ... the test is done directly in the
Daniel Veillardaf43f632002-03-08 15:05:20 +000010728content parsing
Daniel Veillardcbaf3992001-12-31 16:16:02 +000010729routines.</P
10730><P
10731>[67] Reference ::= EntityRef | CharRef</P
10732><P
10733>[68] EntityRef ::= '&amp;' Name ';'</P
10734><P
10735>[ WFC: Entity Declared ]
10736the Name given in the entity reference must match that in an entity
10737declaration, except that well-formed documents need not declare any
10738of the following entities: amp, lt, gt, apos, quot. </P
10739><P
10740>[ WFC: Parsed Entity ]
10741An entity reference must not contain the name of an unparsed entity</P
10742><P
10743>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
Daniel Veillardaf43f632002-03-08 15:05:20 +000010744'&amp;<GTKDOCLINK
Daniel Veillardcbaf3992001-12-31 16:16:02 +000010745HREF="X"
10746>x</GTKDOCLINK
10747>' [0-9a-fA-F]+ ';'</P
10748><P
10749>A PEReference may have been detected in the current input stream
10750the handling is done accordingly to
Daniel Veillardaf43f632002-03-08 15:05:20 +000010751http://www.w3.org/TR/REC-xml<GTKDOCLINK
Daniel Veillardcbaf3992001-12-31 16:16:02 +000010752HREF="ENTPROC"
10753>entproc</GTKDOCLINK
10754></P
10755><P
10756></P
10757><DIV
10758CLASS="INFORMALTABLE"
10759><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010760NAME="AEN23726"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000010761></A
10762><P
10763></P
10764><TABLE
10765BORDER="0"
10766WIDTH="100%"
10767BGCOLOR="#FFD0D0"
10768CELLSPACING="0"
10769CELLPADDING="4"
10770CLASS="CALSTABLE"
10771><TBODY
10772><TR
10773><TD
10774WIDTH="20%"
10775ALIGN="RIGHT"
10776VALIGN="TOP"
10777><TT
10778CLASS="PARAMETER"
10779><I
10780>ctxt</I
10781></TT
10782>&nbsp;:</TD
10783><TD
10784WIDTH="80%"
10785ALIGN="LEFT"
10786VALIGN="TOP"
10787> the parser context</TD
10788></TR
10789></TBODY
10790></TABLE
10791><P
10792></P
10793></DIV
10794></DIV
10795><HR><DIV
10796CLASS="REFSECT2"
10797><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010798NAME="AEN23735"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000010799></A
10800><H3
10801><A
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010802NAME="XMLCHECKLANGUAGEID"
10803></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010804>xmlCheckLanguageID ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010805><TABLE
10806BORDER="0"
10807BGCOLOR="#D6E8FF"
10808WIDTH="100%"
10809CELLPADDING="6"
10810><TR
10811><TD
10812><PRE
10813CLASS="PROGRAMLISTING"
10814>int xmlCheckLanguageID (const <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000010815HREF="libxml-tree.html#XMLCHAR"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010816>xmlChar</A
10817> *lang);</PRE
10818></TD
10819></TR
10820></TABLE
10821><P
Daniel Veillardf012a642001-07-23 19:10:52 +000010822>Checks that the value conforms to the LanguageID production:</P
10823><P
10824>NOTE: this is somewhat deprecated, those productions were removed from
Daniel Veillardaf43f632002-03-08 15:05:20 +000010825the XML Second edition.</P
Daniel Veillardf012a642001-07-23 19:10:52 +000010826><P
10827>[33] LanguageID ::= Langcode ('-' Subcode)*
10828[34] Langcode ::= ISO639Code | IanaCode | UserCode
10829[35] ISO639Code ::= ([a-z] | [A-Z]) ([a-z] | [A-Z])
10830[36] IanaCode ::= ('i' | 'I') '-' ([a-z] | [A-Z])+
10831[37] UserCode ::= ('x' | 'X') '-' ([a-z] | [A-Z])+
10832[38] Subcode ::= ([a-z] | [A-Z])+</P
10833><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010834></P
10835><DIV
10836CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010837><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010838NAME="AEN23744"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010839></A
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010840><P
10841></P
10842><TABLE
10843BORDER="0"
10844WIDTH="100%"
10845BGCOLOR="#FFD0D0"
10846CELLSPACING="0"
10847CELLPADDING="4"
10848CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010849><TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010850><TR
10851><TD
10852WIDTH="20%"
10853ALIGN="RIGHT"
10854VALIGN="TOP"
10855><TT
10856CLASS="PARAMETER"
10857><I
10858>lang</I
10859></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010860>&nbsp;:</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010861><TD
10862WIDTH="80%"
10863ALIGN="LEFT"
10864VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +000010865> pointer to the string value</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010866></TR
10867><TR
10868><TD
10869WIDTH="20%"
10870ALIGN="RIGHT"
10871VALIGN="TOP"
10872><I
10873CLASS="EMPHASIS"
10874>Returns</I
10875> :</TD
10876><TD
10877WIDTH="80%"
10878ALIGN="LEFT"
10879VALIGN="TOP"
Daniel Veillardf012a642001-07-23 19:10:52 +000010880>1 if correct 0 otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010881></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000010882></TBODY
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010883></TABLE
10884><P
10885></P
10886></DIV
10887></DIV
10888><HR><DIV
10889CLASS="REFSECT2"
10890><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010891NAME="AEN23757"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010892></A
10893><H3
10894><A
10895NAME="XMLCURRENTCHAR"
10896></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000010897>xmlCurrentChar ()</H3
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010898><TABLE
10899BORDER="0"
10900BGCOLOR="#D6E8FF"
10901WIDTH="100%"
10902CELLPADDING="6"
10903><TR
10904><TD
10905><PRE
10906CLASS="PROGRAMLISTING"
10907>int xmlCurrentChar (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +000010908HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010909>xmlParserCtxtPtr</A
10910> ctxt,
10911 int *len);</PRE
10912></TD
10913></TR
10914></TABLE
10915><P
Daniel Veillardcbaf3992001-12-31 16:16:02 +000010916>The current char value, if using UTF-8 this may actually span multiple
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010917bytes in the input buffer. Implement the end of line normalization:
109182.11 End-of-Line Handling
10919Wherever an external parsed entity or the literal entity value
10920of an internal parsed entity contains either the literal two-character
10921sequence "<GTKDOCLINK
10922HREF="XD"
10923>xD</GTKDOCLINK
10924><GTKDOCLINK
10925HREF="XA"
10926>xA</GTKDOCLINK
10927>" or a standalone literal <GTKDOCLINK
10928HREF="XD"
10929>xD</GTKDOCLINK
10930>, an XML processor
10931must pass to the application the single character <GTKDOCLINK
10932HREF="XA"
10933>xA</GTKDOCLINK
10934>.
10935This behavior can conveniently be produced by normalizing all
10936line breaks to <GTKDOCLINK
10937HREF="XA"
10938>xA</GTKDOCLINK
10939> on input, before parsing.)</P
10940><P
10941></P
10942><DIV
10943CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010944><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000010945NAME="AEN23769"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010946></A
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010947><P
10948></P
10949><TABLE
10950BORDER="0"
10951WIDTH="100%"
10952BGCOLOR="#FFD0D0"
10953CELLSPACING="0"
10954CELLPADDING="4"
10955CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000010956><TBODY
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010957><TR
10958><TD
10959WIDTH="20%"
10960ALIGN="RIGHT"
10961VALIGN="TOP"
10962><TT
10963CLASS="PARAMETER"
10964><I
10965>ctxt</I
10966></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010967>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010968><TD
10969WIDTH="80%"
10970ALIGN="LEFT"
10971VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000010972> the XML parser context</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010973></TR
10974><TR
10975><TD
10976WIDTH="20%"
10977ALIGN="RIGHT"
10978VALIGN="TOP"
10979><TT
10980CLASS="PARAMETER"
10981><I
10982>len</I
10983></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000010984>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010985><TD
10986WIDTH="80%"
10987ALIGN="LEFT"
10988VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000010989> pointer to the length of the char read</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010990></TR
10991><TR
10992><TD
10993WIDTH="20%"
10994ALIGN="RIGHT"
10995VALIGN="TOP"
10996><I
10997CLASS="EMPHASIS"
10998>Returns</I
10999> :</TD
11000><TD
11001WIDTH="80%"
11002ALIGN="LEFT"
11003VALIGN="TOP"
Daniel Veillard60087f32001-10-10 09:45:09 +000011004>the current char value and its length</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011005></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011006></TBODY
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011007></TABLE
11008><P
11009></P
11010></DIV
11011></DIV
11012><HR><DIV
11013CLASS="REFSECT2"
11014><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000011015NAME="AEN23786"
Daniel Veillarda41123c2001-04-22 19:31:20 +000011016></A
11017><H3
11018><A
11019NAME="XMLCOPYCHARMULTIBYTE"
11020></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011021>xmlCopyCharMultiByte ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +000011022><TABLE
11023BORDER="0"
11024BGCOLOR="#D6E8FF"
11025WIDTH="100%"
11026CELLPADDING="6"
11027><TR
11028><TD
11029><PRE
11030CLASS="PROGRAMLISTING"
11031>int xmlCopyCharMultiByte (<A
11032HREF="libxml-tree.html#XMLCHAR"
11033>xmlChar</A
11034> *out,
11035 int val);</PRE
11036></TD
11037></TR
11038></TABLE
11039><P
11040>append the char value in the array</P
11041><P
11042></P
11043><DIV
11044CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011045><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000011046NAME="AEN23793"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011047></A
Daniel Veillarda41123c2001-04-22 19:31:20 +000011048><P
11049></P
11050><TABLE
11051BORDER="0"
11052WIDTH="100%"
11053BGCOLOR="#FFD0D0"
11054CELLSPACING="0"
11055CELLPADDING="4"
11056CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011057><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +000011058><TR
11059><TD
11060WIDTH="20%"
11061ALIGN="RIGHT"
11062VALIGN="TOP"
11063><TT
11064CLASS="PARAMETER"
11065><I
11066>out</I
11067></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011068>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000011069><TD
11070WIDTH="80%"
11071ALIGN="LEFT"
11072VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000011073> pointer to an array of xmlChar</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000011074></TR
11075><TR
11076><TD
11077WIDTH="20%"
11078ALIGN="RIGHT"
11079VALIGN="TOP"
11080><TT
11081CLASS="PARAMETER"
11082><I
11083>val</I
11084></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011085>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000011086><TD
11087WIDTH="80%"
11088ALIGN="LEFT"
11089VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000011090> the char value</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000011091></TR
11092><TR
11093><TD
11094WIDTH="20%"
11095ALIGN="RIGHT"
11096VALIGN="TOP"
11097><I
11098CLASS="EMPHASIS"
11099>Returns</I
11100> :</TD
11101><TD
11102WIDTH="80%"
11103ALIGN="LEFT"
11104VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000011105>the number of xmlChar written</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000011106></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011107></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +000011108></TABLE
11109><P
11110></P
11111></DIV
11112></DIV
11113><HR><DIV
11114CLASS="REFSECT2"
11115><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000011116NAME="AEN23810"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011117></A
11118><H3
11119><A
11120NAME="XMLCOPYCHAR"
11121></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011122>xmlCopyChar ()</H3
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011123><TABLE
11124BORDER="0"
11125BGCOLOR="#D6E8FF"
11126WIDTH="100%"
11127CELLPADDING="6"
11128><TR
11129><TD
11130><PRE
11131CLASS="PROGRAMLISTING"
11132>int xmlCopyChar (int len,
11133 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011134HREF="libxml-tree.html#XMLCHAR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011135>xmlChar</A
11136> *out,
11137 int val);</PRE
11138></TD
11139></TR
11140></TABLE
11141><P
11142>append the char value in the array</P
11143><P
11144></P
11145><DIV
11146CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011147><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000011148NAME="AEN23817"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011149></A
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011150><P
11151></P
11152><TABLE
11153BORDER="0"
11154WIDTH="100%"
11155BGCOLOR="#FFD0D0"
11156CELLSPACING="0"
11157CELLPADDING="4"
11158CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011159><TBODY
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011160><TR
11161><TD
11162WIDTH="20%"
11163ALIGN="RIGHT"
11164VALIGN="TOP"
11165><TT
11166CLASS="PARAMETER"
11167><I
11168>len</I
11169></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011170>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011171><TD
11172WIDTH="80%"
11173ALIGN="LEFT"
11174VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000011175> Ignored, compatibility</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011176></TR
11177><TR
11178><TD
11179WIDTH="20%"
11180ALIGN="RIGHT"
11181VALIGN="TOP"
11182><TT
11183CLASS="PARAMETER"
11184><I
11185>out</I
11186></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011187>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011188><TD
11189WIDTH="80%"
11190ALIGN="LEFT"
11191VALIGN="TOP"
Daniel Veillardcbaf3992001-12-31 16:16:02 +000011192> pointer to an array of xmlChar</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011193></TR
11194><TR
11195><TD
11196WIDTH="20%"
11197ALIGN="RIGHT"
11198VALIGN="TOP"
11199><TT
11200CLASS="PARAMETER"
11201><I
11202>val</I
11203></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011204>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011205><TD
11206WIDTH="80%"
11207ALIGN="LEFT"
11208VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000011209> the char value</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011210></TR
11211><TR
11212><TD
11213WIDTH="20%"
11214ALIGN="RIGHT"
11215VALIGN="TOP"
11216><I
11217CLASS="EMPHASIS"
11218>Returns</I
11219> :</TD
11220><TD
11221WIDTH="80%"
11222ALIGN="LEFT"
11223VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000011224>the number of xmlChar written</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011225></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011226></TBODY
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011227></TABLE
11228><P
11229></P
11230></DIV
11231></DIV
11232><HR><DIV
11233CLASS="REFSECT2"
11234><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000011235NAME="AEN23838"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011236></A
11237><H3
11238><A
11239NAME="XMLNEXTCHAR"
11240></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011241>xmlNextChar ()</H3
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011242><TABLE
11243BORDER="0"
11244BGCOLOR="#D6E8FF"
11245WIDTH="100%"
11246CELLPADDING="6"
11247><TR
11248><TD
11249><PRE
11250CLASS="PROGRAMLISTING"
11251>void xmlNextChar (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +000011252HREF="libxml-tree.html#XMLPARSERCTXTPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011253>xmlParserCtxtPtr</A
11254> ctxt);</PRE
11255></TD
11256></TR
11257></TABLE
11258><P
11259>Skip to the next char input char.</P
11260><P
11261></P
11262><DIV
11263CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011264><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000011265NAME="AEN23845"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011266></A
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011267><P
11268></P
11269><TABLE
11270BORDER="0"
11271WIDTH="100%"
11272BGCOLOR="#FFD0D0"
11273CELLSPACING="0"
11274CELLPADDING="4"
11275CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011276><TBODY
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011277><TR
11278><TD
11279WIDTH="20%"
11280ALIGN="RIGHT"
11281VALIGN="TOP"
11282><TT
11283CLASS="PARAMETER"
11284><I
11285>ctxt</I
11286></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011287>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011288><TD
11289WIDTH="80%"
11290ALIGN="LEFT"
11291VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000011292> the XML parser context</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011293></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011294></TBODY
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011295></TABLE
11296><P
11297></P
11298></DIV
11299></DIV
11300><HR><DIV
11301CLASS="REFSECT2"
11302><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000011303NAME="AEN23854"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011304></A
11305><H3
11306><A
11307NAME="XMLPARSERINPUTSHRINK"
11308></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011309>xmlParserInputShrink ()</H3
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011310><TABLE
11311BORDER="0"
11312BGCOLOR="#D6E8FF"
11313WIDTH="100%"
11314CELLPADDING="6"
11315><TR
11316><TD
11317><PRE
11318CLASS="PROGRAMLISTING"
11319>void xmlParserInputShrink (<A
Daniel Veillard43d3f612001-11-10 11:57:23 +000011320HREF="libxml-tree.html#XMLPARSERINPUTPTR"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011321>xmlParserInputPtr</A
11322> in);</PRE
11323></TD
11324></TR
11325></TABLE
11326><P
11327>This function removes used input for the parser.</P
11328><P
11329></P
11330><DIV
11331CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011332><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000011333NAME="AEN23861"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011334></A
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011335><P
11336></P
11337><TABLE
11338BORDER="0"
11339WIDTH="100%"
11340BGCOLOR="#FFD0D0"
11341CELLSPACING="0"
11342CELLPADDING="4"
11343CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011344><TBODY
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011345><TR
11346><TD
11347WIDTH="20%"
11348ALIGN="RIGHT"
11349VALIGN="TOP"
11350><TT
11351CLASS="PARAMETER"
11352><I
11353>in</I
11354></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011355>&nbsp;:</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011356><TD
11357WIDTH="80%"
11358ALIGN="LEFT"
11359VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000011360> an XML parser input</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011361></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011362></TBODY
Daniel Veillarde46e20d2000-07-14 15:02:46 +000011363></TABLE
11364><P
11365></P
11366></DIV
11367></DIV
Daniel Veillard3bff2b02000-10-01 20:33:47 +000011368><HR><DIV
11369CLASS="REFSECT2"
11370><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000011371NAME="AEN23870"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000011372></A
11373><H3
11374><A
11375NAME="HTMLINITAUTOCLOSE"
11376></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011377>htmlInitAutoClose ()</H3
Daniel Veillard3bff2b02000-10-01 20:33:47 +000011378><TABLE
11379BORDER="0"
11380BGCOLOR="#D6E8FF"
11381WIDTH="100%"
11382CELLPADDING="6"
11383><TR
11384><TD
11385><PRE
11386CLASS="PROGRAMLISTING"
11387>void htmlInitAutoClose (void);</PRE
11388></TD
11389></TR
11390></TABLE
11391><P
11392>Initialize the htmlStartCloseIndex for fast lookup of closing tags names.
11393This is not reentrant. Call <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011394HREF="libxml-parser.html#XMLINITPARSER"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000011395>xmlInitParser</A
11396>() once before processing in
11397case of use in multithreaded programs.</P
11398><P
11399></P
11400></DIV
Daniel Veillarda41123c2001-04-22 19:31:20 +000011401><HR><DIV
11402CLASS="REFSECT2"
11403><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000011404NAME="AEN23877"
Daniel Veillarda41123c2001-04-22 19:31:20 +000011405></A
11406><H3
11407><A
11408NAME="HTMLCREATEFILEPARSERCTXT"
11409></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011410>htmlCreateFileParserCtxt ()</H3
Daniel Veillarda41123c2001-04-22 19:31:20 +000011411><TABLE
11412BORDER="0"
11413BGCOLOR="#D6E8FF"
11414WIDTH="100%"
11415CELLPADDING="6"
11416><TR
11417><TD
11418><PRE
11419CLASS="PROGRAMLISTING"
11420><A
11421HREF="libxml-htmlparser.html#HTMLPARSERCTXTPTR"
11422>htmlParserCtxtPtr</A
11423> htmlCreateFileParserCtxt (const char *filename,
11424 const char *encoding);</PRE
11425></TD
11426></TR
11427></TABLE
11428><P
11429>Create a parser context for a file content.
11430Automatic support for ZLIB/Compress compressed document is provided
11431by default if found at compile-time.</P
11432><P
11433></P
11434><DIV
11435CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011436><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000011437NAME="AEN23884"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011438></A
Daniel Veillarda41123c2001-04-22 19:31:20 +000011439><P
11440></P
11441><TABLE
11442BORDER="0"
11443WIDTH="100%"
11444BGCOLOR="#FFD0D0"
11445CELLSPACING="0"
11446CELLPADDING="4"
11447CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +000011448><TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +000011449><TR
11450><TD
11451WIDTH="20%"
11452ALIGN="RIGHT"
11453VALIGN="TOP"
11454><TT
11455CLASS="PARAMETER"
11456><I
11457>filename</I
11458></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011459>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000011460><TD
11461WIDTH="80%"
11462ALIGN="LEFT"
11463VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000011464> the filename</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000011465></TR
11466><TR
11467><TD
11468WIDTH="20%"
11469ALIGN="RIGHT"
11470VALIGN="TOP"
11471><TT
11472CLASS="PARAMETER"
11473><I
11474>encoding</I
11475></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +000011476>&nbsp;:</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000011477><TD
11478WIDTH="80%"
11479ALIGN="LEFT"
11480VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000011481> a free form C string describing the HTML document encoding, or NULL</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000011482></TR
11483><TR
11484><TD
11485WIDTH="20%"
11486ALIGN="RIGHT"
11487VALIGN="TOP"
11488><I
11489CLASS="EMPHASIS"
11490>Returns</I
11491> :</TD
11492><TD
11493WIDTH="80%"
11494ALIGN="LEFT"
11495VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +000011496>the new parser context or NULL</TD
Daniel Veillarda41123c2001-04-22 19:31:20 +000011497></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +000011498></TBODY
Daniel Veillarda41123c2001-04-22 19:31:20 +000011499></TABLE
11500><P
11501></P
11502></DIV
11503></DIV
Daniel Veillard744683d2002-01-14 17:30:20 +000011504><HR><DIV
11505CLASS="REFSECT2"
11506><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000011507NAME="AEN23901"
Daniel Veillard744683d2002-01-14 17:30:20 +000011508></A
11509><H3
11510><A
11511NAME="XMLENTITYREFERENCEFUNC"
11512></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011513>xmlEntityReferenceFunc ()</H3
Daniel Veillard744683d2002-01-14 17:30:20 +000011514><TABLE
11515BORDER="0"
11516BGCOLOR="#D6E8FF"
11517WIDTH="100%"
11518CELLPADDING="6"
11519><TR
11520><TD
11521><PRE
11522CLASS="PROGRAMLISTING"
11523>void (*xmlEntityReferenceFunc) (<A
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011524HREF="libxml-tree.html#XMLENTITYPTR"
Daniel Veillard744683d2002-01-14 17:30:20 +000011525>xmlEntityPtr</A
11526> ent,
11527 <A
11528HREF="libxml-tree.html#XMLNODEPTR"
11529>xmlNodePtr</A
11530> firstNode,
11531 <A
11532HREF="libxml-tree.html#XMLNODEPTR"
11533>xmlNodePtr</A
11534> lastNode);</PRE
11535></TD
11536></TR
11537></TABLE
11538><P
Daniel Veillard19274092002-03-25 16:48:03 +000011539>Callback function used when one needs to be able to track back the
11540provenance of a chunk of nodes inherited from an entity replacement.</P
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011541><P
Daniel Veillard744683d2002-01-14 17:30:20 +000011542></P
11543><DIV
11544CLASS="INFORMALTABLE"
11545><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000011546NAME="AEN23910"
Daniel Veillard744683d2002-01-14 17:30:20 +000011547></A
11548><P
11549></P
11550><TABLE
11551BORDER="0"
11552WIDTH="100%"
11553BGCOLOR="#FFD0D0"
11554CELLSPACING="0"
11555CELLPADDING="4"
11556CLASS="CALSTABLE"
11557><TBODY
11558><TR
11559><TD
11560WIDTH="20%"
11561ALIGN="RIGHT"
11562VALIGN="TOP"
11563><TT
11564CLASS="PARAMETER"
11565><I
11566>ent</I
11567></TT
11568>&nbsp;:</TD
11569><TD
11570WIDTH="80%"
11571ALIGN="LEFT"
11572VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011573> the entity</TD
Daniel Veillard744683d2002-01-14 17:30:20 +000011574></TR
11575><TR
11576><TD
11577WIDTH="20%"
11578ALIGN="RIGHT"
11579VALIGN="TOP"
11580><TT
11581CLASS="PARAMETER"
11582><I
11583>firstNode</I
11584></TT
11585>&nbsp;:</TD
11586><TD
11587WIDTH="80%"
11588ALIGN="LEFT"
11589VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011590> the fist node in the chunk</TD
Daniel Veillard744683d2002-01-14 17:30:20 +000011591></TR
11592><TR
11593><TD
11594WIDTH="20%"
11595ALIGN="RIGHT"
11596VALIGN="TOP"
11597><TT
11598CLASS="PARAMETER"
11599><I
11600>lastNode</I
11601></TT
11602>&nbsp;:</TD
11603><TD
11604WIDTH="80%"
11605ALIGN="LEFT"
11606VALIGN="TOP"
Daniel Veillard5f4b5992002-02-20 10:22:49 +000011607> the last nod in the chunk</TD
Daniel Veillard744683d2002-01-14 17:30:20 +000011608></TR
11609></TBODY
11610></TABLE
11611><P
11612></P
11613></DIV
11614></DIV
11615><HR><DIV
11616CLASS="REFSECT2"
11617><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000011618NAME="AEN23927"
Daniel Veillard744683d2002-01-14 17:30:20 +000011619></A
11620><H3
11621><A
11622NAME="XMLSETENTITYREFERENCEFUNC"
11623></A
Daniel Veillardaf43f632002-03-08 15:05:20 +000011624>xmlSetEntityReferenceFunc ()</H3
Daniel Veillard744683d2002-01-14 17:30:20 +000011625><TABLE
11626BORDER="0"
11627BGCOLOR="#D6E8FF"
11628WIDTH="100%"
11629CELLPADDING="6"
11630><TR
11631><TD
11632><PRE
11633CLASS="PROGRAMLISTING"
11634>void xmlSetEntityReferenceFunc (<A
11635HREF="libxml-parserinternals.html#XMLENTITYREFERENCEFUNC"
11636>xmlEntityReferenceFunc</A
11637> func);</PRE
11638></TD
11639></TR
11640></TABLE
11641><P
11642>Set the function to call call back when a xml reference has been made</P
11643><P
11644></P
11645><DIV
11646CLASS="INFORMALTABLE"
11647><A
Daniel Veillarda7084cd2002-04-15 17:12:47 +000011648NAME="AEN23934"
Daniel Veillard744683d2002-01-14 17:30:20 +000011649></A
11650><P
11651></P
11652><TABLE
11653BORDER="0"
11654WIDTH="100%"
11655BGCOLOR="#FFD0D0"
11656CELLSPACING="0"
11657CELLPADDING="4"
11658CLASS="CALSTABLE"
11659><TBODY
11660><TR
11661><TD
11662WIDTH="20%"
11663ALIGN="RIGHT"
11664VALIGN="TOP"
11665><TT
11666CLASS="PARAMETER"
11667><I
11668>func</I
11669></TT
11670>&nbsp;:</TD
11671><TD
11672WIDTH="80%"
11673ALIGN="LEFT"
11674VALIGN="TOP"
11675> A valid function</TD
11676></TR
11677></TBODY
11678></TABLE
11679><P
11680></P
11681></DIV
11682></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +000011683></DIV
11684><DIV
11685CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +000011686><BR
11687CLEAR="all"><BR><TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +000011688WIDTH="100%"
11689BORDER="0"
11690BGCOLOR="#000000"
11691CELLPADDING="1"
11692CELLSPACING="0"
11693><TR
11694><TD
11695WIDTH="25%"
11696BGCOLOR="#C00000"
11697ALIGN="left"
11698><A
Daniel Veillard7d6fd212001-05-10 15:34:11 +000011699HREF="libxml-docbparser.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000011700><FONT
11701COLOR="#FFFFFF"
11702SIZE="3"
11703><B
11704>&#60;&#60;&#60; Previous Page</B
11705></FONT
11706></A
Daniel Veillard35925471999-02-25 08:46:07 +000011707></TD
11708><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000011709WIDTH="25%"
11710BGCOLOR="#0000C0"
11711ALIGN="center"
11712><FONT
11713COLOR="#FFFFFF"
11714SIZE="3"
11715><B
11716><A
11717HREF="book1.html"
11718><FONT
11719COLOR="#FFFFFF"
11720SIZE="3"
11721><B
11722>Home</B
11723></FONT
11724></A
11725></B
11726></FONT
11727></TD
11728><TD
11729WIDTH="25%"
11730BGCOLOR="#00C000"
11731ALIGN="center"
11732><FONT
11733COLOR="#FFFFFF"
11734SIZE="3"
11735><B
11736><A
Daniel Veillard35008381999-10-25 13:15:52 +000011737HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000011738><FONT
11739COLOR="#FFFFFF"
11740SIZE="3"
11741><B
11742>Up</B
11743></FONT
11744></A
11745></B
11746></FONT
11747></TD
11748><TD
11749WIDTH="25%"
11750BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000011751ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000011752><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000011753HREF="libxml-encoding.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000011754><FONT
11755COLOR="#FFFFFF"
11756SIZE="3"
11757><B
11758>Next Page &#62;&#62;&#62;</B
11759></FONT
11760></A
11761></TD
Daniel Veillard14fff061999-06-22 21:49:07 +000011762></TR
11763><TR
11764><TD
11765COLSPAN="2"
11766ALIGN="left"
11767><FONT
11768COLOR="#FFFFFF"
11769SIZE="3"
11770><B
Daniel Veillard7d6fd212001-05-10 15:34:11 +000011771>DOCBparser</B
Daniel Veillard14fff061999-06-22 21:49:07 +000011772></FONT
11773></TD
11774><TD
11775COLSPAN="2"
11776ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000011777><FONT
11778COLOR="#FFFFFF"
11779SIZE="3"
11780><B
Daniel Veillard294cbca1999-12-03 13:19:09 +000011781>encoding</B
Daniel Veillard1566d3a1999-07-15 14:24:29 +000011782></FONT
11783></TD
Daniel Veillard35925471999-02-25 08:46:07 +000011784></TR
11785></TABLE
11786></DIV
11787></BODY
11788></HTML
11789>