blob: 7a031edc722223664220fe7fe5728bee5b6ed03c [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>parserInternals</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +00008REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
Daniel Veillard35008381999-10-25 13:15:52 +000012TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000014REL="PREVIOUS"
Daniel Veillard294cbca1999-12-03 13:19:09 +000015TITLE="xmlIO"
16HREF="gnome-xml-xmlio.html"><LINK
Daniel Veillard1566d3a1999-07-15 14:24:29 +000017REL="NEXT"
Daniel Veillard294cbca1999-12-03 13:19:09 +000018TITLE="encoding"
19HREF="gnome-xml-encoding.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000020><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
23><DIV
24CLASS="NAVHEADER"
25><TABLE
26WIDTH="100%"
27BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000028BGCOLOR="#000000"
29CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000030CELLSPACING="0"
31><TR
32><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000033COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000034ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000035><FONT
36COLOR="#FFFFFF"
37SIZE="5"
38>Gnome XML Library Reference Manual</FONT
39></TH
Daniel Veillard35925471999-02-25 08:46:07 +000040></TR
41><TR
42><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000043WIDTH="25%"
44BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000045ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000046><A
Daniel Veillard294cbca1999-12-03 13:19:09 +000047HREF="gnome-xml-xmlio.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000048><FONT
49COLOR="#FFFFFF"
50SIZE="3"
51><B
52>&#60;&#60;&#60; Previous Page</B
53></FONT
54></A
Daniel Veillard35925471999-02-25 08:46:07 +000055></TD
56><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000057WIDTH="25%"
58BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000059ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000060><FONT
61COLOR="#FFFFFF"
62SIZE="3"
63><B
64><A
65HREF="book1.html"
66><FONT
67COLOR="#FFFFFF"
68SIZE="3"
69><B
70>Home</B
71></FONT
72></A
73></B
74></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000075></TD
76><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000077WIDTH="25%"
78BGCOLOR="#00C000"
79ALIGN="center"
80><FONT
81COLOR="#FFFFFF"
82SIZE="3"
83><B
84><A
Daniel Veillard35008381999-10-25 13:15:52 +000085HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000086><FONT
87COLOR="#FFFFFF"
88SIZE="3"
89><B
90>Up</B
91></FONT
92></A
93></B
94></FONT
95></TD
96><TD
97WIDTH="25%"
98BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000099ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000100><A
Daniel Veillard294cbca1999-12-03 13:19:09 +0000101HREF="gnome-xml-encoding.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000102><FONT
103COLOR="#FFFFFF"
104SIZE="3"
105><B
106>Next Page &#62;&#62;&#62;</B
107></FONT
108></A
109></TD
Daniel Veillard35925471999-02-25 08:46:07 +0000110></TR
111></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000112></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000113><H1
Daniel Veillardf3a73582000-01-05 14:58:39 +0000114>parserInternals</H1
Daniel Veillard35925471999-02-25 08:46:07 +0000115><DIV
116CLASS="REFNAMEDIV"
117><A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000118NAME="AEN9524"
Daniel Veillard35925471999-02-25 08:46:07 +0000119></A
120><H2
121>Name</H2
Daniel Veillardf3a73582000-01-05 14:58:39 +0000122>parserInternals &#8212; </DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFSYNOPSISDIV"
125><A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000126NAME="AEN9527"
Daniel Veillard35925471999-02-25 08:46:07 +0000127></A
128><H2
129>Synopsis</H2
130><TABLE
131BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000132BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000133WIDTH="100%"
134CELLPADDING="6"
135><TR
136><TD
137><PRE
138CLASS="SYNOPSIS"
139>&#13;
140
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000141#define <A
142HREF="gnome-xml-parserinternals.html#XML-MAX-NAMELEN"
143>XML_MAX_NAMELEN</A
144>
Daniel Veillardb05deb71999-08-10 19:04:08 +0000145typedef <A
146HREF="gnome-xml-parserinternals.html#CHARVAL"
147>CHARVAL</A
148>;
149#define <A
150HREF="gnome-xml-parserinternals.html#NEXTCHARVAL"
151>NEXTCHARVAL</A
152> (p)
153#define <A
154HREF="gnome-xml-parserinternals.html#SKIPCHARVAL"
155>SKIPCHARVAL</A
156> (p)
Daniel Veillard5099ae81999-04-21 20:12:07 +0000157#define <A
158HREF="gnome-xml-parserinternals.html#IS-CHAR"
159>IS_CHAR</A
160> (c)
161#define <A
162HREF="gnome-xml-parserinternals.html#IS-BLANK"
163>IS_BLANK</A
164> (c)
165#define <A
166HREF="gnome-xml-parserinternals.html#IS-BASECHAR"
167>IS_BASECHAR</A
168> (c)
169#define <A
170HREF="gnome-xml-parserinternals.html#IS-DIGIT"
171>IS_DIGIT</A
172> (c)
173#define <A
174HREF="gnome-xml-parserinternals.html#IS-COMBINING"
175>IS_COMBINING</A
176> (c)
177#define <A
178HREF="gnome-xml-parserinternals.html#IS-EXTENDER"
179>IS_EXTENDER</A
180> (c)
181#define <A
182HREF="gnome-xml-parserinternals.html#IS-IDEOGRAPHIC"
183>IS_IDEOGRAPHIC</A
184> (c)
185#define <A
186HREF="gnome-xml-parserinternals.html#IS-LETTER"
187>IS_LETTER</A
188> (c)
189#define <A
190HREF="gnome-xml-parserinternals.html#IS-PUBIDCHAR"
191>IS_PUBIDCHAR</A
192> (c)
193#define <A
194HREF="gnome-xml-parserinternals.html#SKIP-EOL"
195>SKIP_EOL</A
196> (p)
197#define <A
198HREF="gnome-xml-parserinternals.html#MOVETO-ENDTAG"
199>MOVETO_ENDTAG</A
200> (p)
201#define <A
202HREF="gnome-xml-parserinternals.html#MOVETO-STARTTAG"
203>MOVETO_STARTTAG</A
204> (p)
Daniel Veillardd692aa41999-02-28 21:54:31 +0000205<A
206HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
207>xmlParserCtxtPtr</A
208> <A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000209HREF="gnome-xml-parser.html#XMLCREATEDOCPARSERCTXT"
Daniel Veillardd692aa41999-02-28 21:54:31 +0000210>xmlCreateDocParserCtxt</A
211> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000212HREF="gnome-xml-tree.html#XMLCHAR"
213>xmlChar</A
Daniel Veillardd692aa41999-02-28 21:54:31 +0000214> *cur);
215<A
216HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
217>xmlParserCtxtPtr</A
218> <A
219HREF="gnome-xml-parserinternals.html#XMLCREATEFILEPARSERCTXT"
220>xmlCreateFileParserCtxt</A
221> (const char *filename);
222<A
223HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
224>xmlParserCtxtPtr</A
225> <A
226HREF="gnome-xml-parserinternals.html#XMLCREATEMEMORYPARSERCTXT"
227>xmlCreateMemoryParserCtxt</A
228> (char *buffer,
229 int size);
230void <A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000231HREF="gnome-xml-parser.html#XMLFREEPARSERCTXT"
Daniel Veillardd692aa41999-02-28 21:54:31 +0000232>xmlFreeParserCtxt</A
233> (<A
234HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
235>xmlParserCtxtPtr</A
236> ctxt);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000237<A
238HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
239>xmlParserCtxtPtr</A
240> <A
241HREF="gnome-xml-parserinternals.html#XMLNEWPARSERCTXT"
242>xmlNewParserCtxt</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000243> (void);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000244void <A
245HREF="gnome-xml-parserinternals.html#XMLSWITCHENCODING"
246>xmlSwitchEncoding</A
247> (<A
248HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
249>xmlParserCtxtPtr</A
250> ctxt,
Daniel Veillard294cbca1999-12-03 13:19:09 +0000251 <A
252HREF="gnome-xml-encoding.html#XMLCHARENCODING"
253>xmlCharEncoding</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000254> enc);
Daniel Veillard35925471999-02-25 08:46:07 +0000255void <A
256HREF="gnome-xml-parserinternals.html#XMLHANDLEENTITY"
257>xmlHandleEntity</A
258> (<A
259HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
260>xmlParserCtxtPtr</A
261> ctxt,
262 <A
263HREF="gnome-xml-entities.html#XMLENTITYPTR"
264>xmlEntityPtr</A
265> entity);
266<A
Daniel Veillardbc50b591999-03-01 12:28:53 +0000267HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
268>xmlParserInputPtr</A
269> <A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000270HREF="gnome-xml-parserinternals.html#XMLNEWENTITYINPUTSTREAM"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000271>xmlNewEntityInputStream</A
272> (<A
273HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
274>xmlParserCtxtPtr</A
275> ctxt,
276 <A
277HREF="gnome-xml-entities.html#XMLENTITYPTR"
278>xmlEntityPtr</A
279> entity);
280void <A
281HREF="gnome-xml-parserinternals.html#XMLPUSHINPUT"
282>xmlPushInput</A
283> (<A
284HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
285>xmlParserCtxtPtr</A
286> ctxt,
287 <A
288HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
289>xmlParserInputPtr</A
290> input);
291<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000292HREF="gnome-xml-tree.html#XMLCHAR"
293>xmlChar</A
294> <A
Daniel Veillardbc50b591999-03-01 12:28:53 +0000295HREF="gnome-xml-parserinternals.html#XMLPOPINPUT"
296>xmlPopInput</A
297> (<A
298HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
299>xmlParserCtxtPtr</A
300> ctxt);
301void <A
302HREF="gnome-xml-parserinternals.html#XMLFREEINPUTSTREAM"
303>xmlFreeInputStream</A
304> (<A
305HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
306>xmlParserInputPtr</A
307> input);
308<A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000309HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
310>xmlParserInputPtr</A
311> <A
312HREF="gnome-xml-parserinternals.html#XMLNEWINPUTFROMFILE"
313>xmlNewInputFromFile</A
314> (<A
315HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
316>xmlParserCtxtPtr</A
317> ctxt,
318 const char *filename);
319<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000320HREF="gnome-xml-tree.html#XMLCHAR"
321>xmlChar</A
322>* <A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000323HREF="gnome-xml-parserinternals.html#XMLSPLITQNAME"
324>xmlSplitQName</A
325> (const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000326HREF="gnome-xml-tree.html#XMLCHAR"
327>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000328> *name,
329 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000330HREF="gnome-xml-tree.html#XMLCHAR"
331>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000332> **prefix);
333<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000334HREF="gnome-xml-tree.html#XMLCHAR"
335>xmlChar</A
336>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000337HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSENCNAME"
338>xmlNamespaceParseNCName</A
339> (<A
340HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
341>xmlParserCtxtPtr</A
342> ctxt);
343<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000344HREF="gnome-xml-tree.html#XMLCHAR"
345>xmlChar</A
346>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000347HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSEQNAME"
348>xmlNamespaceParseQName</A
349> (<A
350HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
351>xmlParserCtxtPtr</A
352> ctxt,
353 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000354HREF="gnome-xml-tree.html#XMLCHAR"
355>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000356> **prefix);
357<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000358HREF="gnome-xml-tree.html#XMLCHAR"
359>xmlChar</A
360>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000361HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSENSDEF"
362>xmlNamespaceParseNSDef</A
363> (<A
364HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
365>xmlParserCtxtPtr</A
366> ctxt);
367<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000368HREF="gnome-xml-tree.html#XMLCHAR"
369>xmlChar</A
370>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000371HREF="gnome-xml-parserinternals.html#XMLPARSEQUOTEDSTRING"
372>xmlParseQuotedString</A
373> (<A
374HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
375>xmlParserCtxtPtr</A
376> ctxt);
377void <A
378HREF="gnome-xml-parserinternals.html#XMLPARSENAMESPACE"
379>xmlParseNamespace</A
380> (<A
381HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
382>xmlParserCtxtPtr</A
383> ctxt);
384<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000385HREF="gnome-xml-tree.html#XMLCHAR"
386>xmlChar</A
387>* <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000388HREF="gnome-xml-parserinternals.html#XMLSCANNAME"
389>xmlScanName</A
390> (<A
391HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
392>xmlParserCtxtPtr</A
393> ctxt);
394<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000395HREF="gnome-xml-tree.html#XMLCHAR"
396>xmlChar</A
397>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000398HREF="gnome-xml-parserinternals.html#XMLPARSENAME"
399>xmlParseName</A
400> (<A
401HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
402>xmlParserCtxtPtr</A
403> ctxt);
404<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000405HREF="gnome-xml-tree.html#XMLCHAR"
406>xmlChar</A
407>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000408HREF="gnome-xml-parserinternals.html#XMLPARSENMTOKEN"
409>xmlParseNmtoken</A
410> (<A
411HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
412>xmlParserCtxtPtr</A
413> ctxt);
414<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000415HREF="gnome-xml-tree.html#XMLCHAR"
416>xmlChar</A
417>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000418HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYVALUE"
419>xmlParseEntityValue</A
420> (<A
421HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
422>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000423> ctxt,
424 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000425HREF="gnome-xml-tree.html#XMLCHAR"
426>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000427> **orig);
Daniel Veillard35925471999-02-25 08:46:07 +0000428<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000429HREF="gnome-xml-tree.html#XMLCHAR"
430>xmlChar</A
431>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000432HREF="gnome-xml-parserinternals.html#XMLPARSEATTVALUE"
433>xmlParseAttValue</A
434> (<A
435HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
436>xmlParserCtxtPtr</A
437> ctxt);
438<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000439HREF="gnome-xml-tree.html#XMLCHAR"
440>xmlChar</A
441>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000442HREF="gnome-xml-parserinternals.html#XMLPARSESYSTEMLITERAL"
443>xmlParseSystemLiteral</A
444> (<A
445HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
446>xmlParserCtxtPtr</A
447> ctxt);
448<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000449HREF="gnome-xml-tree.html#XMLCHAR"
450>xmlChar</A
451>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000452HREF="gnome-xml-parserinternals.html#XMLPARSEPUBIDLITERAL"
453>xmlParsePubidLiteral</A
454> (<A
455HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
456>xmlParserCtxtPtr</A
457> ctxt);
458void <A
459HREF="gnome-xml-parserinternals.html#XMLPARSECHARDATA"
460>xmlParseCharData</A
461> (<A
462HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
463>xmlParserCtxtPtr</A
464> ctxt,
465 int cdata);
466<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000467HREF="gnome-xml-tree.html#XMLCHAR"
468>xmlChar</A
469>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000470HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
471>xmlParseExternalID</A
472> (<A
473HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
474>xmlParserCtxtPtr</A
475> ctxt,
476 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000477HREF="gnome-xml-tree.html#XMLCHAR"
478>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000479> **publicID,
480 int strict);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000481void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000482HREF="gnome-xml-parserinternals.html#XMLPARSECOMMENT"
483>xmlParseComment</A
484> (<A
485HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
486>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000487> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000488<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000489HREF="gnome-xml-tree.html#XMLCHAR"
490>xmlChar</A
491>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000492HREF="gnome-xml-parserinternals.html#XMLPARSEPITARGET"
493>xmlParsePITarget</A
494> (<A
495HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
496>xmlParserCtxtPtr</A
497> ctxt);
498void <A
499HREF="gnome-xml-parserinternals.html#XMLPARSEPI"
500>xmlParsePI</A
501> (<A
502HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
503>xmlParserCtxtPtr</A
504> ctxt);
505void <A
506HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONDECL"
507>xmlParseNotationDecl</A
508> (<A
509HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
510>xmlParserCtxtPtr</A
511> ctxt);
512void <A
513HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYDECL"
514>xmlParseEntityDecl</A
515> (<A
516HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
517>xmlParserCtxtPtr</A
518> ctxt);
519int <A
520HREF="gnome-xml-parserinternals.html#XMLPARSEDEFAULTDECL"
521>xmlParseDefaultDecl</A
522> (<A
523HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
524>xmlParserCtxtPtr</A
525> ctxt,
526 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000527HREF="gnome-xml-tree.html#XMLCHAR"
528>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000529> **value);
530<A
531HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
532>xmlEnumerationPtr</A
533> <A
534HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONTYPE"
535>xmlParseNotationType</A
536> (<A
537HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
538>xmlParserCtxtPtr</A
539> ctxt);
540<A
541HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
542>xmlEnumerationPtr</A
543> <A
544HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATIONTYPE"
545>xmlParseEnumerationType</A
546> (<A
547HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
548>xmlParserCtxtPtr</A
549> ctxt);
550int <A
551HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATEDTYPE"
552>xmlParseEnumeratedType</A
553> (<A
554HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
555>xmlParserCtxtPtr</A
556> ctxt,
557 <A
558HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
559>xmlEnumerationPtr</A
560> *tree);
561int <A
562HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTETYPE"
563>xmlParseAttributeType</A
564> (<A
565HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
566>xmlParserCtxtPtr</A
567> ctxt,
568 <A
569HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
570>xmlEnumerationPtr</A
571> *tree);
572void <A
573HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTELISTDECL"
574>xmlParseAttributeListDecl</A
575> (<A
576HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
577>xmlParserCtxtPtr</A
578> ctxt);
579<A
580HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
581>xmlElementContentPtr</A
582> <A
583HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTMIXEDCONTENTDECL"
584>xmlParseElementMixedContentDecl</A
585>
586 (<A
587HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
588>xmlParserCtxtPtr</A
589> ctxt);
590<A
591HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
592>xmlElementContentPtr</A
593> <A
594HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTDECL"
595>xmlParseElementChildrenContentDecl</A
596>
597 (<A
598HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
599>xmlParserCtxtPtr</A
600> ctxt);
601int <A
602HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCONTENTDECL"
603>xmlParseElementContentDecl</A
604> (<A
605HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
606>xmlParserCtxtPtr</A
607> ctxt,
608 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000609HREF="gnome-xml-tree.html#XMLCHAR"
610>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000611> *name,
612 <A
613HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
614>xmlElementContentPtr</A
615> *result);
616int <A
617HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTDECL"
618>xmlParseElementDecl</A
619> (<A
620HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
621>xmlParserCtxtPtr</A
622> ctxt);
623void <A
624HREF="gnome-xml-parserinternals.html#XMLPARSEMARKUPDECL"
625>xmlParseMarkupDecl</A
626> (<A
627HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
628>xmlParserCtxtPtr</A
629> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000630int <A
Daniel Veillard35925471999-02-25 08:46:07 +0000631HREF="gnome-xml-parserinternals.html#XMLPARSECHARREF"
632>xmlParseCharRef</A
633> (<A
634HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
635>xmlParserCtxtPtr</A
636> ctxt);
637<A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000638HREF="gnome-xml-entities.html#XMLENTITYPTR"
639>xmlEntityPtr</A
640> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000641HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYREF"
642>xmlParseEntityRef</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000643> (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000644HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
645>xmlParserCtxtPtr</A
646> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000647void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000648HREF="gnome-xml-parserinternals.html#XMLPARSEREFERENCE"
649>xmlParseReference</A
650> (<A
651HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
652>xmlParserCtxtPtr</A
653> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000654void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000655HREF="gnome-xml-parserinternals.html#XMLPARSEPEREFERENCE"
656>xmlParsePEReference</A
657> (<A
658HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
659>xmlParserCtxtPtr</A
660> ctxt);
661void <A
662HREF="gnome-xml-parserinternals.html#XMLPARSEDOCTYPEDECL"
663>xmlParseDocTypeDecl</A
664> (<A
665HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
666>xmlParserCtxtPtr</A
667> ctxt);
668<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000669HREF="gnome-xml-tree.html#XMLCHAR"
670>xmlChar</A
671>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000672HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTE"
673>xmlParseAttribute</A
674> (<A
675HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
676>xmlParserCtxtPtr</A
677> ctxt,
678 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000679HREF="gnome-xml-tree.html#XMLCHAR"
680>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000681> **value);
Daniel Veillard14fff061999-06-22 21:49:07 +0000682<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000683HREF="gnome-xml-tree.html#XMLCHAR"
684>xmlChar</A
685>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000686HREF="gnome-xml-parserinternals.html#XMLPARSESTARTTAG"
687>xmlParseStartTag</A
688> (<A
689HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
690>xmlParserCtxtPtr</A
691> ctxt);
692void <A
693HREF="gnome-xml-parserinternals.html#XMLPARSEENDTAG"
694>xmlParseEndTag</A
695> (<A
696HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
697>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +0000698> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000699void <A
700HREF="gnome-xml-parserinternals.html#XMLPARSECDSECT"
701>xmlParseCDSect</A
702> (<A
703HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
704>xmlParserCtxtPtr</A
705> ctxt);
706void <A
707HREF="gnome-xml-parserinternals.html#XMLPARSECONTENT"
708>xmlParseContent</A
709> (<A
710HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
711>xmlParserCtxtPtr</A
712> ctxt);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000713void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000714HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENT"
715>xmlParseElement</A
716> (<A
717HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
718>xmlParserCtxtPtr</A
719> ctxt);
720<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000721HREF="gnome-xml-tree.html#XMLCHAR"
722>xmlChar</A
723>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000724HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONNUM"
725>xmlParseVersionNum</A
726> (<A
727HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
728>xmlParserCtxtPtr</A
729> ctxt);
730<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000731HREF="gnome-xml-tree.html#XMLCHAR"
732>xmlChar</A
733>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000734HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONINFO"
735>xmlParseVersionInfo</A
736> (<A
737HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
738>xmlParserCtxtPtr</A
739> ctxt);
740<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000741HREF="gnome-xml-tree.html#XMLCHAR"
742>xmlChar</A
743>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000744HREF="gnome-xml-parserinternals.html#XMLPARSEENCNAME"
745>xmlParseEncName</A
746> (<A
747HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
748>xmlParserCtxtPtr</A
749> ctxt);
750<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000751HREF="gnome-xml-tree.html#XMLCHAR"
752>xmlChar</A
753>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000754HREF="gnome-xml-parserinternals.html#XMLPARSEENCODINGDECL"
755>xmlParseEncodingDecl</A
756> (<A
757HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
758>xmlParserCtxtPtr</A
759> ctxt);
760int <A
761HREF="gnome-xml-parserinternals.html#XMLPARSESDDECL"
762>xmlParseSDDecl</A
763> (<A
764HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
765>xmlParserCtxtPtr</A
766> ctxt);
767void <A
768HREF="gnome-xml-parserinternals.html#XMLPARSEXMLDECL"
769>xmlParseXMLDecl</A
770> (<A
771HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
772>xmlParserCtxtPtr</A
773> ctxt);
774void <A
775HREF="gnome-xml-parserinternals.html#XMLPARSEMISC"
776>xmlParseMisc</A
777> (<A
778HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
779>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000780> ctxt);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000781void <A
782HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALSUBSET"
783>xmlParseExternalSubset</A
784> (<A
785HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
786>xmlParserCtxtPtr</A
787> ctxt,
788 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000789HREF="gnome-xml-tree.html#XMLCHAR"
790>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000791> *ExternalID,
792 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000793HREF="gnome-xml-tree.html#XMLCHAR"
794>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000795> *SystemID);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000796#define <A
797HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-NONE"
798>XML_SUBSTITUTE_NONE</A
799>
800#define <A
801HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-REF"
802>XML_SUBSTITUTE_REF</A
803>
804#define <A
805HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-PEREF"
806>XML_SUBSTITUTE_PEREF</A
807>
808#define <A
809HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-BOTH"
810>XML_SUBSTITUTE_BOTH</A
811>
812<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000813HREF="gnome-xml-tree.html#XMLCHAR"
814>xmlChar</A
815>* <A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000816HREF="gnome-xml-parserinternals.html#XMLDECODEENTITIES"
817>xmlDecodeEntities</A
818> (<A
819HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
820>xmlParserCtxtPtr</A
821> ctxt,
822 int len,
823 int what,
824 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000825HREF="gnome-xml-tree.html#XMLCHAR"
826>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000827> end,
828 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000829HREF="gnome-xml-tree.html#XMLCHAR"
830>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000831> end2,
832 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000833HREF="gnome-xml-tree.html#XMLCHAR"
834>xmlChar</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000835> end3);
836int <A
837HREF="gnome-xml-parserinternals.html#NODEPUSH"
838>nodePush</A
839> (<A
840HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
841>xmlParserCtxtPtr</A
842> ctxt,
843 <A
844HREF="gnome-xml-tree.html#XMLNODEPTR"
845>xmlNodePtr</A
846> value);
847<A
848HREF="gnome-xml-tree.html#XMLNODEPTR"
849>xmlNodePtr</A
850> <A
851HREF="gnome-xml-parserinternals.html#NODEPOP"
852>nodePop</A
853> (<A
854HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
855>xmlParserCtxtPtr</A
856> ctxt);
857int <A
858HREF="gnome-xml-parserinternals.html#INPUTPUSH"
859>inputPush</A
860> (<A
861HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
862>xmlParserCtxtPtr</A
863> ctxt,
864 <A
865HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
866>xmlParserInputPtr</A
867> value);
868<A
869HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
870>xmlParserInputPtr</A
871> <A
872HREF="gnome-xml-parserinternals.html#INPUTPOP"
873>inputPop</A
874> (<A
875HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
876>xmlParserCtxtPtr</A
877> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000878></TD
879></TR
880></TABLE
881></DIV
882><DIV
883CLASS="REFSECT1"
884><A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000885NAME="AEN9737"
Daniel Veillard35925471999-02-25 08:46:07 +0000886></A
887><H2
888>Description</H2
889><P
890></P
891></DIV
892><DIV
893CLASS="REFSECT1"
894><A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000895NAME="AEN9740"
Daniel Veillard35925471999-02-25 08:46:07 +0000896></A
897><H2
898>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000899><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000900CLASS="REFSECT2"
901><A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000902NAME="AEN9742"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000903></A
904><H3
905><A
906NAME="XML-MAX-NAMELEN"
907></A
908>XML_MAX_NAMELEN</H3
909><TABLE
910BORDER="0"
911BGCOLOR="#D6E8FF"
912WIDTH="100%"
913CELLPADDING="6"
914><TR
915><TD
916><PRE
917CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +0000918>#define XML_MAX_NAMELEN 1000</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000919></TD
920></TR
921></TABLE
922><P
923></P
924></DIV
925><HR><DIV
926CLASS="REFSECT2"
927><A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000928NAME="AEN9747"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000929></A
930><H3
931><A
932NAME="CHARVAL"
933></A
934>CHARVAL</H3
935><P
936></P
937></DIV
938><HR><DIV
939CLASS="REFSECT2"
940><A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000941NAME="AEN9751"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000942></A
943><H3
944><A
945NAME="NEXTCHARVAL"
946></A
947>NEXTCHARVAL()</H3
948><TABLE
949BORDER="0"
950BGCOLOR="#D6E8FF"
951WIDTH="100%"
952CELLPADDING="6"
953><TR
954><TD
955><PRE
956CLASS="PROGRAMLISTING"
957>#define NEXTCHARVAL(p)</PRE
958></TD
959></TR
960></TABLE
961><P
962></P
963><DIV
964CLASS="INFORMALTABLE"
965><P
966></P
967><TABLE
968BORDER="0"
969WIDTH="100%"
970BGCOLOR="#FFD0D0"
971CELLSPACING="0"
972CELLPADDING="4"
973CLASS="CALSTABLE"
974><TR
975><TD
976WIDTH="20%"
977ALIGN="RIGHT"
978VALIGN="TOP"
979><TT
980CLASS="PARAMETER"
981><I
982>p</I
983></TT
984>&nbsp;:</TD
985><TD
986WIDTH="80%"
987ALIGN="LEFT"
988VALIGN="TOP"
989>&nbsp;</TD
990></TR
991></TABLE
992><P
993></P
994></DIV
995></DIV
996><HR><DIV
997CLASS="REFSECT2"
998><A
Daniel Veillardf3a73582000-01-05 14:58:39 +0000999NAME="AEN9765"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001000></A
1001><H3
1002><A
1003NAME="SKIPCHARVAL"
1004></A
1005>SKIPCHARVAL()</H3
1006><TABLE
1007BORDER="0"
1008BGCOLOR="#D6E8FF"
1009WIDTH="100%"
1010CELLPADDING="6"
1011><TR
1012><TD
1013><PRE
1014CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001015>#define SKIPCHARVAL(p) (p)++;</PRE
Daniel Veillardb05deb71999-08-10 19:04:08 +00001016></TD
1017></TR
1018></TABLE
1019><P
1020></P
1021><DIV
1022CLASS="INFORMALTABLE"
1023><P
1024></P
1025><TABLE
1026BORDER="0"
1027WIDTH="100%"
1028BGCOLOR="#FFD0D0"
1029CELLSPACING="0"
1030CELLPADDING="4"
1031CLASS="CALSTABLE"
1032><TR
1033><TD
1034WIDTH="20%"
1035ALIGN="RIGHT"
1036VALIGN="TOP"
1037><TT
1038CLASS="PARAMETER"
1039><I
1040>p</I
1041></TT
1042>&nbsp;:</TD
1043><TD
1044WIDTH="80%"
1045ALIGN="LEFT"
1046VALIGN="TOP"
1047>&nbsp;</TD
1048></TR
1049></TABLE
1050><P
1051></P
1052></DIV
1053></DIV
1054><HR><DIV
1055CLASS="REFSECT2"
1056><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001057NAME="AEN9779"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001058></A
1059><H3
1060><A
1061NAME="IS-CHAR"
1062></A
1063>IS_CHAR()</H3
1064><TABLE
1065BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001066BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001067WIDTH="100%"
1068CELLPADDING="6"
1069><TR
1070><TD
1071><PRE
1072CLASS="PROGRAMLISTING"
1073>#define IS_CHAR(c)</PRE
1074></TD
1075></TR
1076></TABLE
1077><P
1078></P
1079><DIV
1080CLASS="INFORMALTABLE"
1081><P
1082></P
1083><TABLE
1084BORDER="0"
1085WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001086BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001087CELLSPACING="0"
1088CELLPADDING="4"
1089CLASS="CALSTABLE"
1090><TR
1091><TD
1092WIDTH="20%"
1093ALIGN="RIGHT"
1094VALIGN="TOP"
1095><TT
1096CLASS="PARAMETER"
1097><I
1098>c</I
1099></TT
1100>&nbsp;:</TD
1101><TD
1102WIDTH="80%"
1103ALIGN="LEFT"
1104VALIGN="TOP"
1105>&nbsp;</TD
1106></TR
1107></TABLE
1108><P
1109></P
1110></DIV
1111></DIV
1112><HR><DIV
1113CLASS="REFSECT2"
1114><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001115NAME="AEN9793"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001116></A
1117><H3
1118><A
1119NAME="IS-BLANK"
1120></A
1121>IS_BLANK()</H3
1122><TABLE
1123BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001124BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001125WIDTH="100%"
1126CELLPADDING="6"
1127><TR
1128><TD
1129><PRE
1130CLASS="PROGRAMLISTING"
1131>#define IS_BLANK(c)</PRE
1132></TD
1133></TR
1134></TABLE
1135><P
1136></P
1137><DIV
1138CLASS="INFORMALTABLE"
1139><P
1140></P
1141><TABLE
1142BORDER="0"
1143WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001144BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001145CELLSPACING="0"
1146CELLPADDING="4"
1147CLASS="CALSTABLE"
1148><TR
1149><TD
1150WIDTH="20%"
1151ALIGN="RIGHT"
1152VALIGN="TOP"
1153><TT
1154CLASS="PARAMETER"
1155><I
1156>c</I
1157></TT
1158>&nbsp;:</TD
1159><TD
1160WIDTH="80%"
1161ALIGN="LEFT"
1162VALIGN="TOP"
1163>&nbsp;</TD
1164></TR
1165></TABLE
1166><P
1167></P
1168></DIV
1169></DIV
1170><HR><DIV
1171CLASS="REFSECT2"
1172><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001173NAME="AEN9807"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001174></A
1175><H3
1176><A
1177NAME="IS-BASECHAR"
1178></A
1179>IS_BASECHAR()</H3
1180><TABLE
1181BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001182BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001183WIDTH="100%"
1184CELLPADDING="6"
1185><TR
1186><TD
1187><PRE
1188CLASS="PROGRAMLISTING"
1189>#define IS_BASECHAR(c)</PRE
1190></TD
1191></TR
1192></TABLE
1193><P
1194></P
1195><DIV
1196CLASS="INFORMALTABLE"
1197><P
1198></P
1199><TABLE
1200BORDER="0"
1201WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001202BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001203CELLSPACING="0"
1204CELLPADDING="4"
1205CLASS="CALSTABLE"
1206><TR
1207><TD
1208WIDTH="20%"
1209ALIGN="RIGHT"
1210VALIGN="TOP"
1211><TT
1212CLASS="PARAMETER"
1213><I
1214>c</I
1215></TT
1216>&nbsp;:</TD
1217><TD
1218WIDTH="80%"
1219ALIGN="LEFT"
1220VALIGN="TOP"
1221>&nbsp;</TD
1222></TR
1223></TABLE
1224><P
1225></P
1226></DIV
1227></DIV
1228><HR><DIV
1229CLASS="REFSECT2"
1230><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001231NAME="AEN9821"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001232></A
1233><H3
1234><A
1235NAME="IS-DIGIT"
1236></A
1237>IS_DIGIT()</H3
1238><TABLE
1239BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001240BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001241WIDTH="100%"
1242CELLPADDING="6"
1243><TR
1244><TD
1245><PRE
1246CLASS="PROGRAMLISTING"
1247>#define IS_DIGIT(c)</PRE
1248></TD
1249></TR
1250></TABLE
1251><P
1252></P
1253><DIV
1254CLASS="INFORMALTABLE"
1255><P
1256></P
1257><TABLE
1258BORDER="0"
1259WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001260BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001261CELLSPACING="0"
1262CELLPADDING="4"
1263CLASS="CALSTABLE"
1264><TR
1265><TD
1266WIDTH="20%"
1267ALIGN="RIGHT"
1268VALIGN="TOP"
1269><TT
1270CLASS="PARAMETER"
1271><I
1272>c</I
1273></TT
1274>&nbsp;:</TD
1275><TD
1276WIDTH="80%"
1277ALIGN="LEFT"
1278VALIGN="TOP"
1279>&nbsp;</TD
1280></TR
1281></TABLE
1282><P
1283></P
1284></DIV
1285></DIV
1286><HR><DIV
1287CLASS="REFSECT2"
1288><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001289NAME="AEN9835"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001290></A
1291><H3
1292><A
1293NAME="IS-COMBINING"
1294></A
1295>IS_COMBINING()</H3
1296><TABLE
1297BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001298BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001299WIDTH="100%"
1300CELLPADDING="6"
1301><TR
1302><TD
1303><PRE
1304CLASS="PROGRAMLISTING"
1305>#define IS_COMBINING(c)</PRE
1306></TD
1307></TR
1308></TABLE
1309><P
1310></P
1311><DIV
1312CLASS="INFORMALTABLE"
1313><P
1314></P
1315><TABLE
1316BORDER="0"
1317WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001318BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001319CELLSPACING="0"
1320CELLPADDING="4"
1321CLASS="CALSTABLE"
1322><TR
1323><TD
1324WIDTH="20%"
1325ALIGN="RIGHT"
1326VALIGN="TOP"
1327><TT
1328CLASS="PARAMETER"
1329><I
1330>c</I
1331></TT
1332>&nbsp;:</TD
1333><TD
1334WIDTH="80%"
1335ALIGN="LEFT"
1336VALIGN="TOP"
1337>&nbsp;</TD
1338></TR
1339></TABLE
1340><P
1341></P
1342></DIV
1343></DIV
1344><HR><DIV
1345CLASS="REFSECT2"
1346><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001347NAME="AEN9849"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001348></A
1349><H3
1350><A
1351NAME="IS-EXTENDER"
1352></A
1353>IS_EXTENDER()</H3
1354><TABLE
1355BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001356BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001357WIDTH="100%"
1358CELLPADDING="6"
1359><TR
1360><TD
1361><PRE
1362CLASS="PROGRAMLISTING"
1363>#define IS_EXTENDER(c)</PRE
1364></TD
1365></TR
1366></TABLE
1367><P
1368></P
1369><DIV
1370CLASS="INFORMALTABLE"
1371><P
1372></P
1373><TABLE
1374BORDER="0"
1375WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001376BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001377CELLSPACING="0"
1378CELLPADDING="4"
1379CLASS="CALSTABLE"
1380><TR
1381><TD
1382WIDTH="20%"
1383ALIGN="RIGHT"
1384VALIGN="TOP"
1385><TT
1386CLASS="PARAMETER"
1387><I
1388>c</I
1389></TT
1390>&nbsp;:</TD
1391><TD
1392WIDTH="80%"
1393ALIGN="LEFT"
1394VALIGN="TOP"
1395>&nbsp;</TD
1396></TR
1397></TABLE
1398><P
1399></P
1400></DIV
1401></DIV
1402><HR><DIV
1403CLASS="REFSECT2"
1404><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001405NAME="AEN9863"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001406></A
1407><H3
1408><A
1409NAME="IS-IDEOGRAPHIC"
1410></A
1411>IS_IDEOGRAPHIC()</H3
1412><TABLE
1413BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001414BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001415WIDTH="100%"
1416CELLPADDING="6"
1417><TR
1418><TD
1419><PRE
1420CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001421>#define IS_IDEOGRAPHIC(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001422></TD
1423></TR
1424></TABLE
1425><P
1426></P
1427><DIV
1428CLASS="INFORMALTABLE"
1429><P
1430></P
1431><TABLE
1432BORDER="0"
1433WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001434BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001435CELLSPACING="0"
1436CELLPADDING="4"
1437CLASS="CALSTABLE"
1438><TR
1439><TD
1440WIDTH="20%"
1441ALIGN="RIGHT"
1442VALIGN="TOP"
1443><TT
1444CLASS="PARAMETER"
1445><I
1446>c</I
1447></TT
1448>&nbsp;:</TD
1449><TD
1450WIDTH="80%"
1451ALIGN="LEFT"
1452VALIGN="TOP"
1453>&nbsp;</TD
1454></TR
1455></TABLE
1456><P
1457></P
1458></DIV
1459></DIV
1460><HR><DIV
1461CLASS="REFSECT2"
1462><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001463NAME="AEN9877"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001464></A
1465><H3
1466><A
1467NAME="IS-LETTER"
1468></A
1469>IS_LETTER()</H3
1470><TABLE
1471BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001472BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001473WIDTH="100%"
1474CELLPADDING="6"
1475><TR
1476><TD
1477><PRE
1478CLASS="PROGRAMLISTING"
1479>#define IS_LETTER(c)</PRE
1480></TD
1481></TR
1482></TABLE
1483><P
1484></P
1485><DIV
1486CLASS="INFORMALTABLE"
1487><P
1488></P
1489><TABLE
1490BORDER="0"
1491WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001492BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001493CELLSPACING="0"
1494CELLPADDING="4"
1495CLASS="CALSTABLE"
1496><TR
1497><TD
1498WIDTH="20%"
1499ALIGN="RIGHT"
1500VALIGN="TOP"
1501><TT
1502CLASS="PARAMETER"
1503><I
1504>c</I
1505></TT
1506>&nbsp;:</TD
1507><TD
1508WIDTH="80%"
1509ALIGN="LEFT"
1510VALIGN="TOP"
1511>&nbsp;</TD
1512></TR
1513></TABLE
1514><P
1515></P
1516></DIV
1517></DIV
1518><HR><DIV
1519CLASS="REFSECT2"
1520><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001521NAME="AEN9891"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001522></A
1523><H3
1524><A
1525NAME="IS-PUBIDCHAR"
1526></A
1527>IS_PUBIDCHAR()</H3
1528><TABLE
1529BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001530BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001531WIDTH="100%"
1532CELLPADDING="6"
1533><TR
1534><TD
1535><PRE
1536CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001537>#define IS_PUBIDCHAR(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001538></TD
1539></TR
1540></TABLE
1541><P
1542></P
1543><DIV
1544CLASS="INFORMALTABLE"
1545><P
1546></P
1547><TABLE
1548BORDER="0"
1549WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001550BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001551CELLSPACING="0"
1552CELLPADDING="4"
1553CLASS="CALSTABLE"
1554><TR
1555><TD
1556WIDTH="20%"
1557ALIGN="RIGHT"
1558VALIGN="TOP"
1559><TT
1560CLASS="PARAMETER"
1561><I
1562>c</I
1563></TT
1564>&nbsp;:</TD
1565><TD
1566WIDTH="80%"
1567ALIGN="LEFT"
1568VALIGN="TOP"
1569>&nbsp;</TD
1570></TR
1571></TABLE
1572><P
1573></P
1574></DIV
1575></DIV
1576><HR><DIV
1577CLASS="REFSECT2"
1578><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001579NAME="AEN9905"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001580></A
1581><H3
1582><A
1583NAME="SKIP-EOL"
1584></A
1585>SKIP_EOL()</H3
1586><TABLE
1587BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001588BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001589WIDTH="100%"
1590CELLPADDING="6"
1591><TR
1592><TD
1593><PRE
1594CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001595>#define SKIP_EOL(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001596></TD
1597></TR
1598></TABLE
1599><P
1600></P
1601><DIV
1602CLASS="INFORMALTABLE"
1603><P
1604></P
1605><TABLE
1606BORDER="0"
1607WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001608BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001609CELLSPACING="0"
1610CELLPADDING="4"
1611CLASS="CALSTABLE"
1612><TR
1613><TD
1614WIDTH="20%"
1615ALIGN="RIGHT"
1616VALIGN="TOP"
1617><TT
1618CLASS="PARAMETER"
1619><I
1620>p</I
1621></TT
1622>&nbsp;:</TD
1623><TD
1624WIDTH="80%"
1625ALIGN="LEFT"
1626VALIGN="TOP"
1627>&nbsp;</TD
1628></TR
1629></TABLE
1630><P
1631></P
1632></DIV
1633></DIV
1634><HR><DIV
1635CLASS="REFSECT2"
1636><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001637NAME="AEN9919"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001638></A
1639><H3
1640><A
1641NAME="MOVETO-ENDTAG"
1642></A
1643>MOVETO_ENDTAG()</H3
1644><TABLE
1645BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001646BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001647WIDTH="100%"
1648CELLPADDING="6"
1649><TR
1650><TD
1651><PRE
1652CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001653>#define MOVETO_ENDTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001654></TD
1655></TR
1656></TABLE
1657><P
1658></P
1659><DIV
1660CLASS="INFORMALTABLE"
1661><P
1662></P
1663><TABLE
1664BORDER="0"
1665WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001666BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001667CELLSPACING="0"
1668CELLPADDING="4"
1669CLASS="CALSTABLE"
1670><TR
1671><TD
1672WIDTH="20%"
1673ALIGN="RIGHT"
1674VALIGN="TOP"
1675><TT
1676CLASS="PARAMETER"
1677><I
1678>p</I
1679></TT
1680>&nbsp;:</TD
1681><TD
1682WIDTH="80%"
1683ALIGN="LEFT"
1684VALIGN="TOP"
1685>&nbsp;</TD
1686></TR
1687></TABLE
1688><P
1689></P
1690></DIV
1691></DIV
1692><HR><DIV
1693CLASS="REFSECT2"
1694><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001695NAME="AEN9933"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001696></A
1697><H3
1698><A
1699NAME="MOVETO-STARTTAG"
1700></A
1701>MOVETO_STARTTAG()</H3
1702><TABLE
1703BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001704BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001705WIDTH="100%"
1706CELLPADDING="6"
1707><TR
1708><TD
1709><PRE
1710CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001711>#define MOVETO_STARTTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001712></TD
1713></TR
1714></TABLE
1715><P
1716></P
1717><DIV
1718CLASS="INFORMALTABLE"
1719><P
1720></P
1721><TABLE
1722BORDER="0"
1723WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001724BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001725CELLSPACING="0"
1726CELLPADDING="4"
1727CLASS="CALSTABLE"
1728><TR
1729><TD
1730WIDTH="20%"
1731ALIGN="RIGHT"
1732VALIGN="TOP"
1733><TT
1734CLASS="PARAMETER"
1735><I
1736>p</I
1737></TT
1738>&nbsp;:</TD
1739><TD
1740WIDTH="80%"
1741ALIGN="LEFT"
1742VALIGN="TOP"
1743>&nbsp;</TD
1744></TR
1745></TABLE
1746><P
1747></P
1748></DIV
1749></DIV
1750><HR><DIV
1751CLASS="REFSECT2"
1752><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001753NAME="AEN9947"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001754></A
1755><H3
1756><A
1757NAME="XMLCREATEDOCPARSERCTXT"
1758></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001759>xmlCreateDocParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001760><TABLE
1761BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001762BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001763WIDTH="100%"
1764CELLPADDING="6"
1765><TR
1766><TD
1767><PRE
1768CLASS="PROGRAMLISTING"
1769><A
1770HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1771>xmlParserCtxtPtr</A
1772> xmlCreateDocParserCtxt (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001773HREF="gnome-xml-tree.html#XMLCHAR"
1774>xmlChar</A
Daniel Veillardd692aa41999-02-28 21:54:31 +00001775> *cur);</PRE
1776></TD
1777></TR
1778></TABLE
1779><P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001780>Create a parser context for an XML in-memory document.</P
1781><P
Daniel Veillardd692aa41999-02-28 21:54:31 +00001782></P
1783><DIV
1784CLASS="INFORMALTABLE"
1785><P
1786></P
1787><TABLE
1788BORDER="0"
1789WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001790BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001791CELLSPACING="0"
1792CELLPADDING="4"
1793CLASS="CALSTABLE"
1794><TR
1795><TD
1796WIDTH="20%"
1797ALIGN="RIGHT"
1798VALIGN="TOP"
1799><TT
1800CLASS="PARAMETER"
1801><I
1802>cur</I
1803></TT
1804>&nbsp;:</TD
1805><TD
1806WIDTH="80%"
1807ALIGN="LEFT"
1808VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001809>&nbsp;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001810></TR
1811><TR
1812><TD
1813WIDTH="20%"
1814ALIGN="RIGHT"
1815VALIGN="TOP"
1816><I
1817CLASS="EMPHASIS"
1818>Returns</I
1819> :</TD
1820><TD
1821WIDTH="80%"
1822ALIGN="LEFT"
1823VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001824>&nbsp;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001825></TR
1826></TABLE
1827><P
1828></P
1829></DIV
1830></DIV
1831><HR><DIV
1832CLASS="REFSECT2"
1833><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001834NAME="AEN9968"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001835></A
1836><H3
1837><A
1838NAME="XMLCREATEFILEPARSERCTXT"
1839></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001840>xmlCreateFileParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001841><TABLE
1842BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001843BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001844WIDTH="100%"
1845CELLPADDING="6"
1846><TR
1847><TD
1848><PRE
1849CLASS="PROGRAMLISTING"
1850><A
1851HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1852>xmlParserCtxtPtr</A
1853> xmlCreateFileParserCtxt (const char *filename);</PRE
1854></TD
1855></TR
1856></TABLE
1857><P
1858>Create a parser context for a file content.
1859Automatic support for ZLIB/Compress compressed document is provided
1860by default if found at compile-time.</P
1861><P
1862></P
1863><DIV
1864CLASS="INFORMALTABLE"
1865><P
1866></P
1867><TABLE
1868BORDER="0"
1869WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001870BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001871CELLSPACING="0"
1872CELLPADDING="4"
1873CLASS="CALSTABLE"
1874><TR
1875><TD
1876WIDTH="20%"
1877ALIGN="RIGHT"
1878VALIGN="TOP"
1879><TT
1880CLASS="PARAMETER"
1881><I
1882>filename</I
1883></TT
1884>&nbsp;:</TD
1885><TD
1886WIDTH="80%"
1887ALIGN="LEFT"
1888VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001889> the filename</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001890></TR
1891><TR
1892><TD
1893WIDTH="20%"
1894ALIGN="RIGHT"
1895VALIGN="TOP"
1896><I
1897CLASS="EMPHASIS"
1898>Returns</I
1899> :</TD
1900><TD
1901WIDTH="80%"
1902ALIGN="LEFT"
1903VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001904>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001905></TR
1906></TABLE
1907><P
1908></P
1909></DIV
1910></DIV
1911><HR><DIV
1912CLASS="REFSECT2"
1913><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001914NAME="AEN9988"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001915></A
1916><H3
1917><A
1918NAME="XMLCREATEMEMORYPARSERCTXT"
1919></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001920>xmlCreateMemoryParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001921><TABLE
1922BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001923BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001924WIDTH="100%"
1925CELLPADDING="6"
1926><TR
1927><TD
1928><PRE
1929CLASS="PROGRAMLISTING"
1930><A
1931HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1932>xmlParserCtxtPtr</A
1933> xmlCreateMemoryParserCtxt (char *buffer,
1934 int size);</PRE
1935></TD
1936></TR
1937></TABLE
1938><P
1939>Create a parser context for an XML in-memory document.</P
1940><P
1941></P
1942><DIV
1943CLASS="INFORMALTABLE"
1944><P
1945></P
1946><TABLE
1947BORDER="0"
1948WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001949BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001950CELLSPACING="0"
1951CELLPADDING="4"
1952CLASS="CALSTABLE"
1953><TR
1954><TD
1955WIDTH="20%"
1956ALIGN="RIGHT"
1957VALIGN="TOP"
1958><TT
1959CLASS="PARAMETER"
1960><I
1961>buffer</I
1962></TT
1963>&nbsp;:</TD
1964><TD
1965WIDTH="80%"
1966ALIGN="LEFT"
1967VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001968> an pointer to a char array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001969></TR
1970><TR
1971><TD
1972WIDTH="20%"
1973ALIGN="RIGHT"
1974VALIGN="TOP"
1975><TT
1976CLASS="PARAMETER"
1977><I
1978>size</I
1979></TT
1980>&nbsp;:</TD
1981><TD
1982WIDTH="80%"
1983ALIGN="LEFT"
1984VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001985> the size of the array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001986></TR
1987><TR
1988><TD
1989WIDTH="20%"
1990ALIGN="RIGHT"
1991VALIGN="TOP"
1992><I
1993CLASS="EMPHASIS"
1994>Returns</I
1995> :</TD
1996><TD
1997WIDTH="80%"
1998ALIGN="LEFT"
1999VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002000>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002001></TR
2002></TABLE
2003><P
2004></P
2005></DIV
2006></DIV
2007><HR><DIV
2008CLASS="REFSECT2"
2009><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00002010NAME="AEN10012"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002011></A
2012><H3
2013><A
2014NAME="XMLFREEPARSERCTXT"
2015></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002016>xmlFreeParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00002017><TABLE
2018BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002019BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002020WIDTH="100%"
2021CELLPADDING="6"
2022><TR
2023><TD
2024><PRE
2025CLASS="PROGRAMLISTING"
2026>void xmlFreeParserCtxt (<A
2027HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2028>xmlParserCtxtPtr</A
2029> ctxt);</PRE
2030></TD
2031></TR
2032></TABLE
2033><P
2034>Free all the memory used by a parser context. However the parsed
Daniel Veillard5099ae81999-04-21 20:12:07 +00002035document in ctxt-&gt;myDoc is not freed.</P
Daniel Veillardd692aa41999-02-28 21:54:31 +00002036><P
2037></P
2038><DIV
2039CLASS="INFORMALTABLE"
2040><P
2041></P
2042><TABLE
2043BORDER="0"
2044WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002045BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002046CELLSPACING="0"
2047CELLPADDING="4"
2048CLASS="CALSTABLE"
2049><TR
2050><TD
2051WIDTH="20%"
2052ALIGN="RIGHT"
2053VALIGN="TOP"
2054><TT
2055CLASS="PARAMETER"
2056><I
2057>ctxt</I
2058></TT
2059>&nbsp;:</TD
2060><TD
2061WIDTH="80%"
2062ALIGN="LEFT"
2063VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002064>&nbsp;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002065></TR
2066></TABLE
2067><P
2068></P
2069></DIV
2070></DIV
2071><HR><DIV
2072CLASS="REFSECT2"
2073><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00002074NAME="AEN10028"
Daniel Veillard35925471999-02-25 08:46:07 +00002075></A
2076><H3
2077><A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002078NAME="XMLNEWPARSERCTXT"
Daniel Veillard35925471999-02-25 08:46:07 +00002079></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002080>xmlNewParserCtxt ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002081><TABLE
2082BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002083BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002084WIDTH="100%"
2085CELLPADDING="6"
2086><TR
2087><TD
2088><PRE
2089CLASS="PROGRAMLISTING"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002090><A
Daniel Veillard35925471999-02-25 08:46:07 +00002091HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2092>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002093> xmlNewParserCtxt (void);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00002094></TD
2095></TR
2096></TABLE
2097><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00002098>Allocate and initialize a new parser context.</P
2099><P
2100></P
2101><DIV
2102CLASS="INFORMALTABLE"
2103><P
2104></P
2105><TABLE
2106BORDER="0"
2107WIDTH="100%"
2108BGCOLOR="#FFD0D0"
2109CELLSPACING="0"
2110CELLPADDING="4"
2111CLASS="CALSTABLE"
2112><TR
2113><TD
2114WIDTH="20%"
2115ALIGN="RIGHT"
2116VALIGN="TOP"
2117><I
2118CLASS="EMPHASIS"
2119>Returns</I
2120> :</TD
2121><TD
2122WIDTH="80%"
2123ALIGN="LEFT"
2124VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002125>the xmlParserCtxtPtr or NULL</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002126></TR
2127></TABLE
2128><P
2129></P
2130></DIV
2131></DIV
2132><HR><DIV
2133CLASS="REFSECT2"
2134><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00002135NAME="AEN10044"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002136></A
2137><H3
2138><A
2139NAME="XMLSWITCHENCODING"
2140></A
2141>xmlSwitchEncoding ()</H3
2142><TABLE
2143BORDER="0"
2144BGCOLOR="#D6E8FF"
2145WIDTH="100%"
2146CELLPADDING="6"
2147><TR
2148><TD
2149><PRE
2150CLASS="PROGRAMLISTING"
2151>void xmlSwitchEncoding (<A
2152HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2153>xmlParserCtxtPtr</A
2154> ctxt,
Daniel Veillard294cbca1999-12-03 13:19:09 +00002155 <A
2156HREF="gnome-xml-encoding.html#XMLCHARENCODING"
2157>xmlCharEncoding</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002158> enc);</PRE
2159></TD
2160></TR
2161></TABLE
2162><P
2163>change the input functions when discovering the character encoding
2164of a given entity.</P
Daniel Veillard35925471999-02-25 08:46:07 +00002165><P
2166></P
2167><DIV
2168CLASS="INFORMALTABLE"
2169><P
2170></P
2171><TABLE
2172BORDER="0"
2173WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002174BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002175CELLSPACING="0"
2176CELLPADDING="4"
2177CLASS="CALSTABLE"
2178><TR
2179><TD
2180WIDTH="20%"
2181ALIGN="RIGHT"
2182VALIGN="TOP"
2183><TT
2184CLASS="PARAMETER"
2185><I
2186>ctxt</I
2187></TT
2188>&nbsp;:</TD
2189><TD
2190WIDTH="80%"
2191ALIGN="LEFT"
2192VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002193> the parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002194></TR
2195><TR
2196><TD
2197WIDTH="20%"
2198ALIGN="RIGHT"
2199VALIGN="TOP"
2200><TT
2201CLASS="PARAMETER"
2202><I
2203>enc</I
2204></TT
2205>&nbsp;:</TD
2206><TD
2207WIDTH="80%"
2208ALIGN="LEFT"
2209VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002210> the encoding value (number)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002211></TR
2212></TABLE
2213><P
2214></P
2215></DIV
2216></DIV
2217><HR><DIV
2218CLASS="REFSECT2"
2219><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00002220NAME="AEN10065"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002221></A
2222><H3
2223><A
2224NAME="XMLHANDLEENTITY"
2225></A
2226>xmlHandleEntity ()</H3
2227><TABLE
2228BORDER="0"
2229BGCOLOR="#D6E8FF"
2230WIDTH="100%"
2231CELLPADDING="6"
2232><TR
2233><TD
2234><PRE
2235CLASS="PROGRAMLISTING"
2236>void xmlHandleEntity (<A
2237HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2238>xmlParserCtxtPtr</A
2239> ctxt,
2240 <A
2241HREF="gnome-xml-entities.html#XMLENTITYPTR"
2242>xmlEntityPtr</A
2243> entity);</PRE
2244></TD
2245></TR
2246></TABLE
2247><P
2248>Default handling of defined entities, when should we define a new input
2249stream ? When do we just handle that as a set of chars ?</P
2250><P
2251>OBSOLETE: to be removed at some point.</P
2252><P
2253></P
2254><DIV
2255CLASS="INFORMALTABLE"
2256><P
2257></P
2258><TABLE
2259BORDER="0"
2260WIDTH="100%"
2261BGCOLOR="#FFD0D0"
2262CELLSPACING="0"
2263CELLPADDING="4"
2264CLASS="CALSTABLE"
2265><TR
2266><TD
2267WIDTH="20%"
2268ALIGN="RIGHT"
2269VALIGN="TOP"
2270><TT
2271CLASS="PARAMETER"
2272><I
2273>ctxt</I
2274></TT
2275>&nbsp;:</TD
2276><TD
2277WIDTH="80%"
2278ALIGN="LEFT"
2279VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002280> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002281></TR
2282><TR
2283><TD
2284WIDTH="20%"
2285ALIGN="RIGHT"
2286VALIGN="TOP"
2287><TT
2288CLASS="PARAMETER"
2289><I
2290>entity</I
2291></TT
2292>&nbsp;:</TD
2293><TD
2294WIDTH="80%"
2295ALIGN="LEFT"
2296VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002297> an XML entity pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002298></TR
2299></TABLE
2300><P
2301></P
2302></DIV
2303></DIV
2304><HR><DIV
2305CLASS="REFSECT2"
2306><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00002307NAME="AEN10087"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002308></A
2309><H3
2310><A
2311NAME="XMLNEWENTITYINPUTSTREAM"
2312></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002313>xmlNewEntityInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002314><TABLE
2315BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002316BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002317WIDTH="100%"
2318CELLPADDING="6"
2319><TR
2320><TD
2321><PRE
2322CLASS="PROGRAMLISTING"
2323><A
2324HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2325>xmlParserInputPtr</A
2326> xmlNewEntityInputStream (<A
2327HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2328>xmlParserCtxtPtr</A
2329> ctxt,
2330 <A
2331HREF="gnome-xml-entities.html#XMLENTITYPTR"
2332>xmlEntityPtr</A
2333> entity);</PRE
2334></TD
2335></TR
2336></TABLE
2337><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00002338>Create a new input stream based on an xmlEntityPtr</P
Daniel Veillardbc50b591999-03-01 12:28:53 +00002339><P
2340></P
2341><DIV
2342CLASS="INFORMALTABLE"
2343><P
2344></P
2345><TABLE
2346BORDER="0"
2347WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002348BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002349CELLSPACING="0"
2350CELLPADDING="4"
2351CLASS="CALSTABLE"
2352><TR
2353><TD
2354WIDTH="20%"
2355ALIGN="RIGHT"
2356VALIGN="TOP"
2357><TT
2358CLASS="PARAMETER"
2359><I
2360>ctxt</I
2361></TT
2362>&nbsp;:</TD
2363><TD
2364WIDTH="80%"
2365ALIGN="LEFT"
2366VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002367> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002368></TR
2369><TR
2370><TD
2371WIDTH="20%"
2372ALIGN="RIGHT"
2373VALIGN="TOP"
2374><TT
2375CLASS="PARAMETER"
2376><I
2377>entity</I
2378></TT
2379>&nbsp;:</TD
2380><TD
2381WIDTH="80%"
2382ALIGN="LEFT"
2383VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002384> an Entity pointer</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002385></TR
2386><TR
2387><TD
2388WIDTH="20%"
2389ALIGN="RIGHT"
2390VALIGN="TOP"
2391><I
2392CLASS="EMPHASIS"
2393>Returns</I
2394> :</TD
2395><TD
2396WIDTH="80%"
2397ALIGN="LEFT"
2398VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002399>the new input stream or NULL</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002400></TR
2401></TABLE
2402><P
2403></P
2404></DIV
2405></DIV
2406><HR><DIV
2407CLASS="REFSECT2"
2408><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00002409NAME="AEN10113"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002410></A
2411><H3
2412><A
2413NAME="XMLPUSHINPUT"
2414></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002415>xmlPushInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002416><TABLE
2417BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002418BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002419WIDTH="100%"
2420CELLPADDING="6"
2421><TR
2422><TD
2423><PRE
2424CLASS="PROGRAMLISTING"
2425>void xmlPushInput (<A
2426HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2427>xmlParserCtxtPtr</A
2428> ctxt,
2429 <A
2430HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2431>xmlParserInputPtr</A
2432> input);</PRE
2433></TD
2434></TR
2435></TABLE
2436><P
2437>xmlPushInput: switch to a new input stream which is stacked on top
2438of the previous one(s).</P
2439><P
2440></P
2441><DIV
2442CLASS="INFORMALTABLE"
2443><P
2444></P
2445><TABLE
2446BORDER="0"
2447WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002448BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002449CELLSPACING="0"
2450CELLPADDING="4"
2451CLASS="CALSTABLE"
2452><TR
2453><TD
2454WIDTH="20%"
2455ALIGN="RIGHT"
2456VALIGN="TOP"
2457><TT
2458CLASS="PARAMETER"
2459><I
2460>ctxt</I
2461></TT
2462>&nbsp;:</TD
2463><TD
2464WIDTH="80%"
2465ALIGN="LEFT"
2466VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002467> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002468></TR
2469><TR
2470><TD
2471WIDTH="20%"
2472ALIGN="RIGHT"
2473VALIGN="TOP"
2474><TT
2475CLASS="PARAMETER"
2476><I
2477>input</I
2478></TT
2479>&nbsp;:</TD
2480><TD
2481WIDTH="80%"
2482ALIGN="LEFT"
2483VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002484> an XML parser input fragment (entity, XML fragment ...).</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002485></TR
2486></TABLE
2487><P
2488></P
2489></DIV
2490></DIV
2491><HR><DIV
2492CLASS="REFSECT2"
2493><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00002494NAME="AEN10134"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002495></A
2496><H3
2497><A
2498NAME="XMLPOPINPUT"
2499></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002500>xmlPopInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002501><TABLE
2502BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002503BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002504WIDTH="100%"
2505CELLPADDING="6"
2506><TR
2507><TD
2508><PRE
2509CLASS="PROGRAMLISTING"
2510><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002511HREF="gnome-xml-tree.html#XMLCHAR"
2512>xmlChar</A
2513> xmlPopInput (<A
Daniel Veillardbc50b591999-03-01 12:28:53 +00002514HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2515>xmlParserCtxtPtr</A
2516> ctxt);</PRE
2517></TD
2518></TR
2519></TABLE
2520><P
2521>xmlPopInput: the current input pointed by ctxt-&gt;input came to an end
2522pop it and return the next char.</P
2523><P
Daniel Veillardbc50b591999-03-01 12:28:53 +00002524></P
2525><DIV
2526CLASS="INFORMALTABLE"
2527><P
2528></P
2529><TABLE
2530BORDER="0"
2531WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002532BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002533CELLSPACING="0"
2534CELLPADDING="4"
2535CLASS="CALSTABLE"
2536><TR
2537><TD
2538WIDTH="20%"
2539ALIGN="RIGHT"
2540VALIGN="TOP"
2541><TT
2542CLASS="PARAMETER"
2543><I
2544>ctxt</I
2545></TT
2546>&nbsp;:</TD
2547><TD
2548WIDTH="80%"
2549ALIGN="LEFT"
2550VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002551> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002552></TR
2553><TR
2554><TD
2555WIDTH="20%"
2556ALIGN="RIGHT"
2557VALIGN="TOP"
2558><I
2559CLASS="EMPHASIS"
2560>Returns</I
2561> :</TD
2562><TD
2563WIDTH="80%"
2564ALIGN="LEFT"
2565VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002566>the current xmlChar in the parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002567></TR
2568></TABLE
2569><P
2570></P
2571></DIV
2572></DIV
2573><HR><DIV
2574CLASS="REFSECT2"
2575><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00002576NAME="AEN10155"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002577></A
2578><H3
2579><A
2580NAME="XMLFREEINPUTSTREAM"
2581></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002582>xmlFreeInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002583><TABLE
2584BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002585BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002586WIDTH="100%"
2587CELLPADDING="6"
2588><TR
2589><TD
2590><PRE
2591CLASS="PROGRAMLISTING"
2592>void xmlFreeInputStream (<A
2593HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2594>xmlParserInputPtr</A
2595> input);</PRE
2596></TD
2597></TR
2598></TABLE
2599><P
2600>Free up an input stream.</P
2601><P
2602></P
2603><DIV
2604CLASS="INFORMALTABLE"
2605><P
2606></P
2607><TABLE
2608BORDER="0"
2609WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002610BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002611CELLSPACING="0"
2612CELLPADDING="4"
2613CLASS="CALSTABLE"
2614><TR
2615><TD
2616WIDTH="20%"
2617ALIGN="RIGHT"
2618VALIGN="TOP"
2619><TT
2620CLASS="PARAMETER"
2621><I
2622>input</I
2623></TT
2624>&nbsp;:</TD
2625><TD
2626WIDTH="80%"
2627ALIGN="LEFT"
2628VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002629> an xmlParserInputPtr</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002630></TR
2631></TABLE
2632><P
2633></P
2634></DIV
2635></DIV
2636><HR><DIV
2637CLASS="REFSECT2"
2638><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00002639NAME="AEN10171"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002640></A
2641><H3
2642><A
2643NAME="XMLNEWINPUTFROMFILE"
2644></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002645>xmlNewInputFromFile ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00002646><TABLE
2647BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002648BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002649WIDTH="100%"
2650CELLPADDING="6"
2651><TR
2652><TD
2653><PRE
2654CLASS="PROGRAMLISTING"
2655><A
2656HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2657>xmlParserInputPtr</A
2658> xmlNewInputFromFile (<A
2659HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2660>xmlParserCtxtPtr</A
2661> ctxt,
2662 const char *filename);</PRE
2663></TD
2664></TR
2665></TABLE
2666><P
2667>Create a new input stream based on a file.</P
2668><P
2669></P
2670><DIV
2671CLASS="INFORMALTABLE"
2672><P
2673></P
2674><TABLE
2675BORDER="0"
2676WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002677BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002678CELLSPACING="0"
2679CELLPADDING="4"
2680CLASS="CALSTABLE"
2681><TR
2682><TD
2683WIDTH="20%"
2684ALIGN="RIGHT"
2685VALIGN="TOP"
2686><TT
2687CLASS="PARAMETER"
2688><I
2689>ctxt</I
2690></TT
2691>&nbsp;:</TD
2692><TD
2693WIDTH="80%"
2694ALIGN="LEFT"
2695VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002696> an XML parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00002697></TR
2698><TR
2699><TD
2700WIDTH="20%"
2701ALIGN="RIGHT"
2702VALIGN="TOP"
2703><TT
2704CLASS="PARAMETER"
2705><I
2706>filename</I
2707></TT
2708>&nbsp;:</TD
2709><TD
2710WIDTH="80%"
2711ALIGN="LEFT"
2712VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002713> the filename to use as entity</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00002714></TR
2715><TR
2716><TD
2717WIDTH="20%"
2718ALIGN="RIGHT"
2719VALIGN="TOP"
2720><I
2721CLASS="EMPHASIS"
2722>Returns</I
2723> :</TD
2724><TD
2725WIDTH="80%"
2726ALIGN="LEFT"
2727VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002728>the new input stream or NULL in case of error</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00002729></TR
2730></TABLE
2731><P
2732></P
2733></DIV
2734></DIV
2735><HR><DIV
2736CLASS="REFSECT2"
2737><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00002738NAME="AEN10196"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002739></A
2740><H3
2741><A
2742NAME="XMLSPLITQNAME"
2743></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002744>xmlSplitQName ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002745><TABLE
2746BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002747BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002748WIDTH="100%"
2749CELLPADDING="6"
2750><TR
2751><TD
2752><PRE
2753CLASS="PROGRAMLISTING"
2754><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002755HREF="gnome-xml-tree.html#XMLCHAR"
2756>xmlChar</A
2757>* xmlSplitQName (const <A
2758HREF="gnome-xml-tree.html#XMLCHAR"
2759>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002760> *name,
2761 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002762HREF="gnome-xml-tree.html#XMLCHAR"
2763>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002764> **prefix);</PRE
2765></TD
2766></TR
2767></TABLE
2768><P
2769>parse an XML qualified name string</P
2770><P
2771>[NS 5] QName ::= (Prefix ':')? LocalPart</P
2772><P
2773>[NS 6] Prefix ::= NCName</P
2774><P
2775>[NS 7] LocalPart ::= NCName</P
2776><P
2777></P
2778><DIV
2779CLASS="INFORMALTABLE"
2780><P
2781></P
2782><TABLE
2783BORDER="0"
2784WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002785BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002786CELLSPACING="0"
2787CELLPADDING="4"
2788CLASS="CALSTABLE"
2789><TR
2790><TD
2791WIDTH="20%"
2792ALIGN="RIGHT"
2793VALIGN="TOP"
2794><TT
2795CLASS="PARAMETER"
2796><I
2797>name</I
2798></TT
2799>&nbsp;:</TD
2800><TD
2801WIDTH="80%"
2802ALIGN="LEFT"
2803VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002804> an XML parser context</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002805></TR
2806><TR
2807><TD
2808WIDTH="20%"
2809ALIGN="RIGHT"
2810VALIGN="TOP"
2811><TT
2812CLASS="PARAMETER"
2813><I
2814>prefix</I
2815></TT
2816>&nbsp;:</TD
2817><TD
2818WIDTH="80%"
2819ALIGN="LEFT"
2820VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002821> a xmlChar ** </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002822></TR
2823><TR
2824><TD
2825WIDTH="20%"
2826ALIGN="RIGHT"
2827VALIGN="TOP"
2828><I
2829CLASS="EMPHASIS"
2830>Returns</I
2831> :</TD
2832><TD
2833WIDTH="80%"
2834ALIGN="LEFT"
2835VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002836>the local part, and prefix is updated
2837to get the Prefix if any.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002838></TR
2839></TABLE
2840><P
2841></P
2842></DIV
2843></DIV
2844><HR><DIV
2845CLASS="REFSECT2"
2846><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00002847NAME="AEN10225"
Daniel Veillard35925471999-02-25 08:46:07 +00002848></A
2849><H3
2850><A
2851NAME="XMLNAMESPACEPARSENCNAME"
2852></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002853>xmlNamespaceParseNCName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002854><TABLE
2855BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002856BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002857WIDTH="100%"
2858CELLPADDING="6"
2859><TR
2860><TD
2861><PRE
2862CLASS="PROGRAMLISTING"
2863><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002864HREF="gnome-xml-tree.html#XMLCHAR"
2865>xmlChar</A
2866>* xmlNamespaceParseNCName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00002867HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2868>xmlParserCtxtPtr</A
2869> ctxt);</PRE
2870></TD
2871></TR
2872></TABLE
2873><P
2874>parse an XML namespace name.</P
2875><P
2876>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
2877><P
2878>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
2879CombiningChar | Extender</P
2880><P
2881></P
2882><DIV
2883CLASS="INFORMALTABLE"
2884><P
2885></P
2886><TABLE
2887BORDER="0"
2888WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002889BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002890CELLSPACING="0"
2891CELLPADDING="4"
2892CLASS="CALSTABLE"
2893><TR
2894><TD
2895WIDTH="20%"
2896ALIGN="RIGHT"
2897VALIGN="TOP"
2898><TT
2899CLASS="PARAMETER"
2900><I
2901>ctxt</I
2902></TT
2903>&nbsp;:</TD
2904><TD
2905WIDTH="80%"
2906ALIGN="LEFT"
2907VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002908> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002909></TR
2910><TR
2911><TD
2912WIDTH="20%"
2913ALIGN="RIGHT"
2914VALIGN="TOP"
2915><I
2916CLASS="EMPHASIS"
2917>Returns</I
2918> :</TD
2919><TD
2920WIDTH="80%"
2921ALIGN="LEFT"
2922VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002923>the namespace name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002924></TR
2925></TABLE
2926><P
2927></P
2928></DIV
2929></DIV
2930><HR><DIV
2931CLASS="REFSECT2"
2932><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00002933NAME="AEN10248"
Daniel Veillard35925471999-02-25 08:46:07 +00002934></A
2935><H3
2936><A
2937NAME="XMLNAMESPACEPARSEQNAME"
2938></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002939>xmlNamespaceParseQName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002940><TABLE
2941BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002942BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002943WIDTH="100%"
2944CELLPADDING="6"
2945><TR
2946><TD
2947><PRE
2948CLASS="PROGRAMLISTING"
2949><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002950HREF="gnome-xml-tree.html#XMLCHAR"
2951>xmlChar</A
2952>* xmlNamespaceParseQName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00002953HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2954>xmlParserCtxtPtr</A
2955> ctxt,
2956 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002957HREF="gnome-xml-tree.html#XMLCHAR"
2958>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002959> **prefix);</PRE
2960></TD
2961></TR
2962></TABLE
2963><P
2964>parse an XML qualified name</P
2965><P
2966>[NS 5] QName ::= (Prefix ':')? LocalPart</P
2967><P
2968>[NS 6] Prefix ::= NCName</P
2969><P
2970>[NS 7] LocalPart ::= NCName</P
2971><P
2972></P
2973><DIV
2974CLASS="INFORMALTABLE"
2975><P
2976></P
2977><TABLE
2978BORDER="0"
2979WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002980BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002981CELLSPACING="0"
2982CELLPADDING="4"
2983CLASS="CALSTABLE"
2984><TR
2985><TD
2986WIDTH="20%"
2987ALIGN="RIGHT"
2988VALIGN="TOP"
2989><TT
2990CLASS="PARAMETER"
2991><I
2992>ctxt</I
2993></TT
2994>&nbsp;:</TD
2995><TD
2996WIDTH="80%"
2997ALIGN="LEFT"
2998VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002999> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003000></TR
3001><TR
3002><TD
3003WIDTH="20%"
3004ALIGN="RIGHT"
3005VALIGN="TOP"
3006><TT
3007CLASS="PARAMETER"
3008><I
3009>prefix</I
3010></TT
3011>&nbsp;:</TD
3012><TD
3013WIDTH="80%"
3014ALIGN="LEFT"
3015VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003016> a xmlChar ** </TD
Daniel Veillard35925471999-02-25 08:46:07 +00003017></TR
3018><TR
3019><TD
3020WIDTH="20%"
3021ALIGN="RIGHT"
3022VALIGN="TOP"
3023><I
3024CLASS="EMPHASIS"
3025>Returns</I
3026> :</TD
3027><TD
3028WIDTH="80%"
3029ALIGN="LEFT"
3030VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003031>the local part, and prefix is updated
3032to get the Prefix if any.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003033></TR
3034></TABLE
3035><P
3036></P
3037></DIV
3038></DIV
3039><HR><DIV
3040CLASS="REFSECT2"
3041><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00003042NAME="AEN10277"
Daniel Veillard35925471999-02-25 08:46:07 +00003043></A
3044><H3
3045><A
3046NAME="XMLNAMESPACEPARSENSDEF"
3047></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003048>xmlNamespaceParseNSDef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003049><TABLE
3050BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003051BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003052WIDTH="100%"
3053CELLPADDING="6"
3054><TR
3055><TD
3056><PRE
3057CLASS="PROGRAMLISTING"
3058><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003059HREF="gnome-xml-tree.html#XMLCHAR"
3060>xmlChar</A
3061>* xmlNamespaceParseNSDef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003062HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3063>xmlParserCtxtPtr</A
3064> ctxt);</PRE
3065></TD
3066></TR
3067></TABLE
3068><P
3069>parse a namespace prefix declaration</P
3070><P
3071>[NS 1] NSDef ::= PrefixDef Eq SystemLiteral</P
3072><P
3073>[NS 2] PrefixDef ::= 'xmlns' (':' NCName)?</P
3074><P
3075></P
3076><DIV
3077CLASS="INFORMALTABLE"
3078><P
3079></P
3080><TABLE
3081BORDER="0"
3082WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003083BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003084CELLSPACING="0"
3085CELLPADDING="4"
3086CLASS="CALSTABLE"
3087><TR
3088><TD
3089WIDTH="20%"
3090ALIGN="RIGHT"
3091VALIGN="TOP"
3092><TT
3093CLASS="PARAMETER"
3094><I
3095>ctxt</I
3096></TT
3097>&nbsp;:</TD
3098><TD
3099WIDTH="80%"
3100ALIGN="LEFT"
3101VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003102> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003103></TR
3104><TR
3105><TD
3106WIDTH="20%"
3107ALIGN="RIGHT"
3108VALIGN="TOP"
3109><I
3110CLASS="EMPHASIS"
3111>Returns</I
3112> :</TD
3113><TD
3114WIDTH="80%"
3115ALIGN="LEFT"
3116VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003117>the namespace name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003118></TR
3119></TABLE
3120><P
3121></P
3122></DIV
3123></DIV
3124><HR><DIV
3125CLASS="REFSECT2"
3126><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00003127NAME="AEN10300"
Daniel Veillard35925471999-02-25 08:46:07 +00003128></A
3129><H3
3130><A
3131NAME="XMLPARSEQUOTEDSTRING"
3132></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003133>xmlParseQuotedString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003134><TABLE
3135BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003136BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003137WIDTH="100%"
3138CELLPADDING="6"
3139><TR
3140><TD
3141><PRE
3142CLASS="PROGRAMLISTING"
3143><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003144HREF="gnome-xml-tree.html#XMLCHAR"
3145>xmlChar</A
3146>* xmlParseQuotedString (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003147HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3148>xmlParserCtxtPtr</A
3149> ctxt);</PRE
3150></TD
3151></TR
3152></TABLE
3153><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00003154>[OLD] Parse and return a string between quotes or doublequotes
3155To be removed at next drop of binary compatibility</P
Daniel Veillard35925471999-02-25 08:46:07 +00003156><P
3157></P
3158><DIV
3159CLASS="INFORMALTABLE"
3160><P
3161></P
3162><TABLE
3163BORDER="0"
3164WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003165BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003166CELLSPACING="0"
3167CELLPADDING="4"
3168CLASS="CALSTABLE"
3169><TR
3170><TD
3171WIDTH="20%"
3172ALIGN="RIGHT"
3173VALIGN="TOP"
3174><TT
3175CLASS="PARAMETER"
3176><I
3177>ctxt</I
3178></TT
3179>&nbsp;:</TD
3180><TD
3181WIDTH="80%"
3182ALIGN="LEFT"
3183VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003184> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003185></TR
3186><TR
3187><TD
3188WIDTH="20%"
3189ALIGN="RIGHT"
3190VALIGN="TOP"
3191><I
3192CLASS="EMPHASIS"
3193>Returns</I
3194> :</TD
3195><TD
3196WIDTH="80%"
3197ALIGN="LEFT"
3198VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003199>the string parser or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003200></TR
3201></TABLE
3202><P
3203></P
3204></DIV
3205></DIV
3206><HR><DIV
3207CLASS="REFSECT2"
3208><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00003209NAME="AEN10321"
Daniel Veillard35925471999-02-25 08:46:07 +00003210></A
3211><H3
3212><A
3213NAME="XMLPARSENAMESPACE"
3214></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003215>xmlParseNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003216><TABLE
3217BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003218BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003219WIDTH="100%"
3220CELLPADDING="6"
3221><TR
3222><TD
3223><PRE
3224CLASS="PROGRAMLISTING"
3225>void xmlParseNamespace (<A
3226HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3227>xmlParserCtxtPtr</A
3228> ctxt);</PRE
3229></TD
3230></TR
3231></TABLE
3232><P
3233>[OLD] xmlParseNamespace: parse specific PI '&lt;?namespace ...' constructs.</P
3234><P
3235>This is what the older xml-name Working Draft specified, a bunch of
3236other stuff may still rely on it, so support is still here as
Daniel Veillardf3a73582000-01-05 14:58:39 +00003237if it was declared on the root of the Tree:-(</P
Daniel Veillard35925471999-02-25 08:46:07 +00003238><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00003239>To be removed at next drop of binary compatibility</P
3240><P
Daniel Veillard35925471999-02-25 08:46:07 +00003241></P
3242><DIV
3243CLASS="INFORMALTABLE"
3244><P
3245></P
3246><TABLE
3247BORDER="0"
3248WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003249BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003250CELLSPACING="0"
3251CELLPADDING="4"
3252CLASS="CALSTABLE"
3253><TR
3254><TD
3255WIDTH="20%"
3256ALIGN="RIGHT"
3257VALIGN="TOP"
3258><TT
3259CLASS="PARAMETER"
3260><I
3261>ctxt</I
3262></TT
3263>&nbsp;:</TD
3264><TD
3265WIDTH="80%"
3266ALIGN="LEFT"
3267VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003268> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003269></TR
3270></TABLE
3271><P
3272></P
3273></DIV
3274></DIV
3275><HR><DIV
3276CLASS="REFSECT2"
3277><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00003278NAME="AEN10339"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003279></A
3280><H3
3281><A
3282NAME="XMLSCANNAME"
3283></A
3284>xmlScanName ()</H3
3285><TABLE
3286BORDER="0"
3287BGCOLOR="#D6E8FF"
3288WIDTH="100%"
3289CELLPADDING="6"
3290><TR
3291><TD
3292><PRE
3293CLASS="PROGRAMLISTING"
3294><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003295HREF="gnome-xml-tree.html#XMLCHAR"
3296>xmlChar</A
3297>* xmlScanName (<A
Daniel Veillardb05deb71999-08-10 19:04:08 +00003298HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3299>xmlParserCtxtPtr</A
3300> ctxt);</PRE
3301></TD
3302></TR
3303></TABLE
3304><P
3305>Trickery: parse an XML name but without consuming the input flow
3306Needed for rollback cases.</P
3307><P
3308>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
3309CombiningChar | Extender</P
3310><P
3311>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
3312><P
3313>[6] Names ::= Name (S Name)*</P
3314><P
3315></P
3316><DIV
3317CLASS="INFORMALTABLE"
3318><P
3319></P
3320><TABLE
3321BORDER="0"
3322WIDTH="100%"
3323BGCOLOR="#FFD0D0"
3324CELLSPACING="0"
3325CELLPADDING="4"
3326CLASS="CALSTABLE"
3327><TR
3328><TD
3329WIDTH="20%"
3330ALIGN="RIGHT"
3331VALIGN="TOP"
3332><TT
3333CLASS="PARAMETER"
3334><I
3335>ctxt</I
3336></TT
3337>&nbsp;:</TD
3338><TD
3339WIDTH="80%"
3340ALIGN="LEFT"
3341VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003342> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003343></TR
3344><TR
3345><TD
3346WIDTH="20%"
3347ALIGN="RIGHT"
3348VALIGN="TOP"
3349><I
3350CLASS="EMPHASIS"
3351>Returns</I
3352> :</TD
3353><TD
3354WIDTH="80%"
3355ALIGN="LEFT"
3356VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003357>the Name parsed or NULL</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003358></TR
3359></TABLE
3360><P
3361></P
3362></DIV
3363></DIV
3364><HR><DIV
3365CLASS="REFSECT2"
3366><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00003367NAME="AEN10363"
Daniel Veillard35925471999-02-25 08:46:07 +00003368></A
3369><H3
3370><A
3371NAME="XMLPARSENAME"
3372></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003373>xmlParseName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003374><TABLE
3375BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003376BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003377WIDTH="100%"
3378CELLPADDING="6"
3379><TR
3380><TD
3381><PRE
3382CLASS="PROGRAMLISTING"
3383><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003384HREF="gnome-xml-tree.html#XMLCHAR"
3385>xmlChar</A
3386>* xmlParseName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003387HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3388>xmlParserCtxtPtr</A
3389> ctxt);</PRE
3390></TD
3391></TR
3392></TABLE
3393><P
3394>parse an XML name.</P
3395><P
3396>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
3397CombiningChar | Extender</P
3398><P
3399>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
3400><P
3401>[6] Names ::= Name (S Name)*</P
3402><P
3403></P
3404><DIV
3405CLASS="INFORMALTABLE"
3406><P
3407></P
3408><TABLE
3409BORDER="0"
3410WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003411BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003412CELLSPACING="0"
3413CELLPADDING="4"
3414CLASS="CALSTABLE"
3415><TR
3416><TD
3417WIDTH="20%"
3418ALIGN="RIGHT"
3419VALIGN="TOP"
3420><TT
3421CLASS="PARAMETER"
3422><I
3423>ctxt</I
3424></TT
3425>&nbsp;:</TD
3426><TD
3427WIDTH="80%"
3428ALIGN="LEFT"
3429VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003430> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003431></TR
3432><TR
3433><TD
3434WIDTH="20%"
3435ALIGN="RIGHT"
3436VALIGN="TOP"
3437><I
3438CLASS="EMPHASIS"
3439>Returns</I
3440> :</TD
3441><TD
3442WIDTH="80%"
3443ALIGN="LEFT"
3444VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003445>the Name parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003446></TR
3447></TABLE
3448><P
3449></P
3450></DIV
3451></DIV
3452><HR><DIV
3453CLASS="REFSECT2"
3454><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00003455NAME="AEN10387"
Daniel Veillard35925471999-02-25 08:46:07 +00003456></A
3457><H3
3458><A
3459NAME="XMLPARSENMTOKEN"
3460></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003461>xmlParseNmtoken ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003462><TABLE
3463BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003464BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003465WIDTH="100%"
3466CELLPADDING="6"
3467><TR
3468><TD
3469><PRE
3470CLASS="PROGRAMLISTING"
3471><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003472HREF="gnome-xml-tree.html#XMLCHAR"
3473>xmlChar</A
3474>* xmlParseNmtoken (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003475HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3476>xmlParserCtxtPtr</A
3477> ctxt);</PRE
3478></TD
3479></TR
3480></TABLE
3481><P
3482>parse an XML Nmtoken.</P
3483><P
3484>[7] Nmtoken ::= (NameChar)+</P
3485><P
3486>[8] Nmtokens ::= Nmtoken (S Nmtoken)*</P
3487><P
3488></P
3489><DIV
3490CLASS="INFORMALTABLE"
3491><P
3492></P
3493><TABLE
3494BORDER="0"
3495WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003496BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003497CELLSPACING="0"
3498CELLPADDING="4"
3499CLASS="CALSTABLE"
3500><TR
3501><TD
3502WIDTH="20%"
3503ALIGN="RIGHT"
3504VALIGN="TOP"
3505><TT
3506CLASS="PARAMETER"
3507><I
3508>ctxt</I
3509></TT
3510>&nbsp;:</TD
3511><TD
3512WIDTH="80%"
3513ALIGN="LEFT"
3514VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003515> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003516></TR
3517><TR
3518><TD
3519WIDTH="20%"
3520ALIGN="RIGHT"
3521VALIGN="TOP"
3522><I
3523CLASS="EMPHASIS"
3524>Returns</I
3525> :</TD
3526><TD
3527WIDTH="80%"
3528ALIGN="LEFT"
3529VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003530>the Nmtoken parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003531></TR
3532></TABLE
3533><P
3534></P
3535></DIV
3536></DIV
3537><HR><DIV
3538CLASS="REFSECT2"
3539><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00003540NAME="AEN10410"
Daniel Veillard35925471999-02-25 08:46:07 +00003541></A
3542><H3
3543><A
3544NAME="XMLPARSEENTITYVALUE"
3545></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003546>xmlParseEntityValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003547><TABLE
3548BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003549BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003550WIDTH="100%"
3551CELLPADDING="6"
3552><TR
3553><TD
3554><PRE
3555CLASS="PROGRAMLISTING"
3556><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003557HREF="gnome-xml-tree.html#XMLCHAR"
3558>xmlChar</A
3559>* xmlParseEntityValue (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003560HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3561>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003562> ctxt,
3563 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003564HREF="gnome-xml-tree.html#XMLCHAR"
3565>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003566> **orig);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003567></TD
3568></TR
3569></TABLE
3570><P
3571>parse a value for ENTITY decl.</P
3572><P
3573>[9] EntityValue ::= '"' ([^%&amp;"] | PEReference | Reference)* '"' |
3574"'" ([^%&amp;'] | PEReference | Reference)* "'"</P
3575><P
3576></P
3577><DIV
3578CLASS="INFORMALTABLE"
3579><P
3580></P
3581><TABLE
3582BORDER="0"
3583WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003584BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003585CELLSPACING="0"
3586CELLPADDING="4"
3587CLASS="CALSTABLE"
3588><TR
3589><TD
3590WIDTH="20%"
3591ALIGN="RIGHT"
3592VALIGN="TOP"
3593><TT
3594CLASS="PARAMETER"
3595><I
3596>ctxt</I
3597></TT
3598>&nbsp;:</TD
3599><TD
3600WIDTH="80%"
3601ALIGN="LEFT"
3602VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003603> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003604></TR
3605><TR
3606><TD
3607WIDTH="20%"
3608ALIGN="RIGHT"
3609VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003610><TT
3611CLASS="PARAMETER"
3612><I
3613>orig</I
3614></TT
3615>&nbsp;:</TD
3616><TD
3617WIDTH="80%"
3618ALIGN="LEFT"
3619VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003620> if non-NULL store a copy of the original entity value</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00003621></TR
3622><TR
3623><TD
3624WIDTH="20%"
3625ALIGN="RIGHT"
3626VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00003627><I
3628CLASS="EMPHASIS"
3629>Returns</I
3630> :</TD
3631><TD
3632WIDTH="80%"
3633ALIGN="LEFT"
3634VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003635>the EntityValue parsed with reference substitued or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003636></TR
3637></TABLE
3638><P
3639></P
3640></DIV
3641></DIV
3642><HR><DIV
3643CLASS="REFSECT2"
3644><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00003645NAME="AEN10437"
Daniel Veillard35925471999-02-25 08:46:07 +00003646></A
3647><H3
3648><A
3649NAME="XMLPARSEATTVALUE"
3650></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003651>xmlParseAttValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003652><TABLE
3653BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003654BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003655WIDTH="100%"
3656CELLPADDING="6"
3657><TR
3658><TD
3659><PRE
3660CLASS="PROGRAMLISTING"
3661><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003662HREF="gnome-xml-tree.html#XMLCHAR"
3663>xmlChar</A
3664>* xmlParseAttValue (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003665HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3666>xmlParserCtxtPtr</A
3667> ctxt);</PRE
3668></TD
3669></TR
3670></TABLE
3671><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00003672>parse a value for an attribute
3673Note: the parser won't do substitution of entities here, this
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003674will be handled later in xmlStringGetNodeList</P
Daniel Veillard35925471999-02-25 08:46:07 +00003675><P
3676>[10] AttValue ::= '"' ([^&lt;&amp;"] | Reference)* '"' |
3677"'" ([^&lt;&amp;'] | Reference)* "'"</P
3678><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00003679>3.3.3 Attribute-Value Normalization:
3680Before the value of an attribute is passed to the application or
3681checked for validity, the XML processor must normalize it as follows:
3682- a character reference is processed by appending the referenced
3683character to the attribute value
3684- an entity reference is processed by recursively processing the
3685replacement text of the entity
3686- a whitespace character (<GTKDOCLINK
3687HREF="X20"
3688>x20</GTKDOCLINK
3689>, <GTKDOCLINK
3690HREF="XD"
3691>xD</GTKDOCLINK
3692>, <GTKDOCLINK
3693HREF="XA"
3694>xA</GTKDOCLINK
3695>, <GTKDOCLINK
3696HREF="X9"
3697>x9</GTKDOCLINK
3698>) is processed by
3699appending <GTKDOCLINK
3700HREF="X20"
3701>x20</GTKDOCLINK
3702> to the normalized value, except that only a single
3703<GTKDOCLINK
3704HREF="X20"
3705>x20</GTKDOCLINK
3706> is appended for a "<GTKDOCLINK
3707HREF="XD"
3708>xD</GTKDOCLINK
3709><GTKDOCLINK
3710HREF="XA"
3711>xA</GTKDOCLINK
3712>" sequence that is part of an external
3713parsed entity or the literal entity value of an internal parsed entity
3714- other characters are processed by appending them to the normalized value
3715If the declared value is not CDATA, then the XML processor must further
3716process the normalized attribute value by discarding any leading and
3717trailing space (<GTKDOCLINK
3718HREF="X20"
3719>x20</GTKDOCLINK
3720>) characters, and by replacing sequences of space
3721(<GTKDOCLINK
3722HREF="X20"
3723>x20</GTKDOCLINK
3724>) characters by a single space (<GTKDOCLINK
3725HREF="X20"
3726>x20</GTKDOCLINK
3727>) character.
3728All attributes for which no declaration has been read should be treated
3729by a non-validating parser as if declared CDATA.</P
3730><P
Daniel Veillard35925471999-02-25 08:46:07 +00003731></P
3732><DIV
3733CLASS="INFORMALTABLE"
3734><P
3735></P
3736><TABLE
3737BORDER="0"
3738WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003739BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003740CELLSPACING="0"
3741CELLPADDING="4"
3742CLASS="CALSTABLE"
3743><TR
3744><TD
3745WIDTH="20%"
3746ALIGN="RIGHT"
3747VALIGN="TOP"
3748><TT
3749CLASS="PARAMETER"
3750><I
3751>ctxt</I
3752></TT
3753>&nbsp;:</TD
3754><TD
3755WIDTH="80%"
3756ALIGN="LEFT"
3757VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003758> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003759></TR
3760><TR
3761><TD
3762WIDTH="20%"
3763ALIGN="RIGHT"
3764VALIGN="TOP"
3765><I
3766CLASS="EMPHASIS"
3767>Returns</I
3768> :</TD
3769><TD
3770WIDTH="80%"
3771ALIGN="LEFT"
3772VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003773>the AttValue parsed or NULL. The value has to be freed by the caller.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003774></TR
3775></TABLE
3776><P
3777></P
3778></DIV
3779></DIV
3780><HR><DIV
3781CLASS="REFSECT2"
3782><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00003783NAME="AEN10471"
Daniel Veillard35925471999-02-25 08:46:07 +00003784></A
3785><H3
3786><A
3787NAME="XMLPARSESYSTEMLITERAL"
3788></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003789>xmlParseSystemLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003790><TABLE
3791BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003792BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003793WIDTH="100%"
3794CELLPADDING="6"
3795><TR
3796><TD
3797><PRE
3798CLASS="PROGRAMLISTING"
3799><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003800HREF="gnome-xml-tree.html#XMLCHAR"
3801>xmlChar</A
3802>* xmlParseSystemLiteral (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003803HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3804>xmlParserCtxtPtr</A
3805> ctxt);</PRE
3806></TD
3807></TR
3808></TABLE
3809><P
3810>parse an XML Literal</P
3811><P
3812>[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</P
3813><P
3814></P
3815><DIV
3816CLASS="INFORMALTABLE"
3817><P
3818></P
3819><TABLE
3820BORDER="0"
3821WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003822BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003823CELLSPACING="0"
3824CELLPADDING="4"
3825CLASS="CALSTABLE"
3826><TR
3827><TD
3828WIDTH="20%"
3829ALIGN="RIGHT"
3830VALIGN="TOP"
3831><TT
3832CLASS="PARAMETER"
3833><I
3834>ctxt</I
3835></TT
3836>&nbsp;:</TD
3837><TD
3838WIDTH="80%"
3839ALIGN="LEFT"
3840VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003841> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003842></TR
3843><TR
3844><TD
3845WIDTH="20%"
3846ALIGN="RIGHT"
3847VALIGN="TOP"
3848><I
3849CLASS="EMPHASIS"
3850>Returns</I
3851> :</TD
3852><TD
3853WIDTH="80%"
3854ALIGN="LEFT"
3855VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003856>the SystemLiteral parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003857></TR
3858></TABLE
3859><P
3860></P
3861></DIV
3862></DIV
3863><HR><DIV
3864CLASS="REFSECT2"
3865><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00003866NAME="AEN10493"
Daniel Veillard35925471999-02-25 08:46:07 +00003867></A
3868><H3
3869><A
3870NAME="XMLPARSEPUBIDLITERAL"
3871></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003872>xmlParsePubidLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003873><TABLE
3874BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003875BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003876WIDTH="100%"
3877CELLPADDING="6"
3878><TR
3879><TD
3880><PRE
3881CLASS="PROGRAMLISTING"
3882><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003883HREF="gnome-xml-tree.html#XMLCHAR"
3884>xmlChar</A
3885>* xmlParsePubidLiteral (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003886HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3887>xmlParserCtxtPtr</A
3888> ctxt);</PRE
3889></TD
3890></TR
3891></TABLE
3892><P
3893>parse an XML public literal</P
3894><P
3895>[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</P
3896><P
3897></P
3898><DIV
3899CLASS="INFORMALTABLE"
3900><P
3901></P
3902><TABLE
3903BORDER="0"
3904WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003905BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003906CELLSPACING="0"
3907CELLPADDING="4"
3908CLASS="CALSTABLE"
3909><TR
3910><TD
3911WIDTH="20%"
3912ALIGN="RIGHT"
3913VALIGN="TOP"
3914><TT
3915CLASS="PARAMETER"
3916><I
3917>ctxt</I
3918></TT
3919>&nbsp;:</TD
3920><TD
3921WIDTH="80%"
3922ALIGN="LEFT"
3923VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003924> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003925></TR
3926><TR
3927><TD
3928WIDTH="20%"
3929ALIGN="RIGHT"
3930VALIGN="TOP"
3931><I
3932CLASS="EMPHASIS"
3933>Returns</I
3934> :</TD
3935><TD
3936WIDTH="80%"
3937ALIGN="LEFT"
3938VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003939>the PubidLiteral parsed or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003940></TR
3941></TABLE
3942><P
3943></P
3944></DIV
3945></DIV
3946><HR><DIV
3947CLASS="REFSECT2"
3948><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00003949NAME="AEN10515"
Daniel Veillard35925471999-02-25 08:46:07 +00003950></A
3951><H3
3952><A
3953NAME="XMLPARSECHARDATA"
3954></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003955>xmlParseCharData ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003956><TABLE
3957BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003958BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003959WIDTH="100%"
3960CELLPADDING="6"
3961><TR
3962><TD
3963><PRE
3964CLASS="PROGRAMLISTING"
3965>void xmlParseCharData (<A
3966HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3967>xmlParserCtxtPtr</A
3968> ctxt,
3969 int cdata);</PRE
3970></TD
3971></TR
3972></TABLE
3973><P
3974>parse a CharData section.
3975if we are within a CDATA section ']]&gt;' marks an end of section.</P
3976><P
3977>[14] CharData ::= [^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</P
3978><P
3979></P
3980><DIV
3981CLASS="INFORMALTABLE"
3982><P
3983></P
3984><TABLE
3985BORDER="0"
3986WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003987BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003988CELLSPACING="0"
3989CELLPADDING="4"
3990CLASS="CALSTABLE"
3991><TR
3992><TD
3993WIDTH="20%"
3994ALIGN="RIGHT"
3995VALIGN="TOP"
3996><TT
3997CLASS="PARAMETER"
3998><I
3999>ctxt</I
4000></TT
4001>&nbsp;:</TD
4002><TD
4003WIDTH="80%"
4004ALIGN="LEFT"
4005VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004006> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004007></TR
4008><TR
4009><TD
4010WIDTH="20%"
4011ALIGN="RIGHT"
4012VALIGN="TOP"
4013><TT
4014CLASS="PARAMETER"
4015><I
4016>cdata</I
4017></TT
4018>&nbsp;:</TD
4019><TD
4020WIDTH="80%"
4021ALIGN="LEFT"
4022VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004023> int indicating whether we are within a CDATA section</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004024></TR
4025></TABLE
4026><P
4027></P
4028></DIV
4029></DIV
4030><HR><DIV
4031CLASS="REFSECT2"
4032><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00004033NAME="AEN10536"
Daniel Veillard35925471999-02-25 08:46:07 +00004034></A
4035><H3
4036><A
4037NAME="XMLPARSEEXTERNALID"
4038></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004039>xmlParseExternalID ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004040><TABLE
4041BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004042BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004043WIDTH="100%"
4044CELLPADDING="6"
4045><TR
4046><TD
4047><PRE
4048CLASS="PROGRAMLISTING"
4049><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004050HREF="gnome-xml-tree.html#XMLCHAR"
4051>xmlChar</A
4052>* xmlParseExternalID (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004053HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4054>xmlParserCtxtPtr</A
4055> ctxt,
4056 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004057HREF="gnome-xml-tree.html#XMLCHAR"
4058>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004059> **publicID,
4060 int strict);</PRE
4061></TD
4062></TR
4063></TABLE
4064><P
4065>Parse an External ID or a Public ID</P
4066><P
4067>NOTE: Productions [75] and [83] interract badly since [75] can generate
4068'PUBLIC' S PubidLiteral S SystemLiteral</P
4069><P
4070>[75] ExternalID ::= 'SYSTEM' S SystemLiteral
4071| 'PUBLIC' S PubidLiteral S SystemLiteral</P
4072><P
4073>[83] PublicID ::= 'PUBLIC' S PubidLiteral</P
4074><P
4075></P
4076><DIV
4077CLASS="INFORMALTABLE"
4078><P
4079></P
4080><TABLE
4081BORDER="0"
4082WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004083BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004084CELLSPACING="0"
4085CELLPADDING="4"
4086CLASS="CALSTABLE"
4087><TR
4088><TD
4089WIDTH="20%"
4090ALIGN="RIGHT"
4091VALIGN="TOP"
4092><TT
4093CLASS="PARAMETER"
4094><I
4095>ctxt</I
4096></TT
4097>&nbsp;:</TD
4098><TD
4099WIDTH="80%"
4100ALIGN="LEFT"
4101VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004102> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004103></TR
4104><TR
4105><TD
4106WIDTH="20%"
4107ALIGN="RIGHT"
4108VALIGN="TOP"
4109><TT
4110CLASS="PARAMETER"
4111><I
4112>publicID</I
4113></TT
4114>&nbsp;:</TD
4115><TD
4116WIDTH="80%"
4117ALIGN="LEFT"
4118VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004119> a xmlChar** receiving PubidLiteral</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004120></TR
4121><TR
4122><TD
4123WIDTH="20%"
4124ALIGN="RIGHT"
4125VALIGN="TOP"
4126><TT
4127CLASS="PARAMETER"
4128><I
4129>strict</I
4130></TT
4131>&nbsp;:</TD
4132><TD
4133WIDTH="80%"
4134ALIGN="LEFT"
4135VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004136> indicate whether we should restrict parsing to only
4137production [75], see NOTE below</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004138></TR
4139><TR
4140><TD
4141WIDTH="20%"
4142ALIGN="RIGHT"
4143VALIGN="TOP"
4144><I
4145CLASS="EMPHASIS"
4146>Returns</I
4147> :</TD
4148><TD
4149WIDTH="80%"
4150ALIGN="LEFT"
4151VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004152>the function returns SystemLiteral and in the second
4153case publicID receives PubidLiteral, is strict is off
4154it is possible to return NULL and have publicID set.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004155></TR
4156></TABLE
4157><P
4158></P
4159></DIV
4160></DIV
4161><HR><DIV
4162CLASS="REFSECT2"
4163><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00004164NAME="AEN10569"
Daniel Veillard35925471999-02-25 08:46:07 +00004165></A
4166><H3
4167><A
4168NAME="XMLPARSECOMMENT"
4169></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004170>xmlParseComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004171><TABLE
4172BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004173BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004174WIDTH="100%"
4175CELLPADDING="6"
4176><TR
4177><TD
4178><PRE
4179CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004180>void xmlParseComment (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004181HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4182>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00004183> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00004184></TD
4185></TR
4186></TABLE
4187><P
4188>Skip an XML (SGML) comment &lt;!-- .... --&gt;
Daniel Veillard35925471999-02-25 08:46:07 +00004189The spec says that "For compatibility, the string "--" (double-hyphen)
4190must not occur within comments. "</P
4191><P
4192>[15] Comment ::= '&lt;!--' ((Char - '-') | ('-' (Char - '-')))* '--&gt;'</P
4193><P
Daniel Veillard35925471999-02-25 08:46:07 +00004194></P
4195><DIV
4196CLASS="INFORMALTABLE"
4197><P
4198></P
4199><TABLE
4200BORDER="0"
4201WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004202BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004203CELLSPACING="0"
4204CELLPADDING="4"
4205CLASS="CALSTABLE"
4206><TR
4207><TD
4208WIDTH="20%"
4209ALIGN="RIGHT"
4210VALIGN="TOP"
4211><TT
4212CLASS="PARAMETER"
4213><I
4214>ctxt</I
4215></TT
4216>&nbsp;:</TD
4217><TD
4218WIDTH="80%"
4219ALIGN="LEFT"
4220VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004221> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004222></TR
Daniel Veillard35925471999-02-25 08:46:07 +00004223></TABLE
4224><P
4225></P
4226></DIV
4227></DIV
4228><HR><DIV
4229CLASS="REFSECT2"
4230><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00004231NAME="AEN10586"
Daniel Veillard35925471999-02-25 08:46:07 +00004232></A
4233><H3
4234><A
4235NAME="XMLPARSEPITARGET"
4236></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004237>xmlParsePITarget ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004238><TABLE
4239BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004240BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004241WIDTH="100%"
4242CELLPADDING="6"
4243><TR
4244><TD
4245><PRE
4246CLASS="PROGRAMLISTING"
4247><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004248HREF="gnome-xml-tree.html#XMLCHAR"
4249>xmlChar</A
4250>* xmlParsePITarget (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004251HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4252>xmlParserCtxtPtr</A
4253> ctxt);</PRE
4254></TD
4255></TR
4256></TABLE
4257><P
4258>parse the name of a PI</P
4259><P
4260>[17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</P
4261><P
4262></P
4263><DIV
4264CLASS="INFORMALTABLE"
4265><P
4266></P
4267><TABLE
4268BORDER="0"
4269WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004270BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004271CELLSPACING="0"
4272CELLPADDING="4"
4273CLASS="CALSTABLE"
4274><TR
4275><TD
4276WIDTH="20%"
4277ALIGN="RIGHT"
4278VALIGN="TOP"
4279><TT
4280CLASS="PARAMETER"
4281><I
4282>ctxt</I
4283></TT
4284>&nbsp;:</TD
4285><TD
4286WIDTH="80%"
4287ALIGN="LEFT"
4288VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004289> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004290></TR
4291><TR
4292><TD
4293WIDTH="20%"
4294ALIGN="RIGHT"
4295VALIGN="TOP"
4296><I
4297CLASS="EMPHASIS"
4298>Returns</I
4299> :</TD
4300><TD
4301WIDTH="80%"
4302ALIGN="LEFT"
4303VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004304>the PITarget name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004305></TR
4306></TABLE
4307><P
4308></P
4309></DIV
4310></DIV
4311><HR><DIV
4312CLASS="REFSECT2"
4313><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00004314NAME="AEN10608"
Daniel Veillard35925471999-02-25 08:46:07 +00004315></A
4316><H3
4317><A
4318NAME="XMLPARSEPI"
4319></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004320>xmlParsePI ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004321><TABLE
4322BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004323BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004324WIDTH="100%"
4325CELLPADDING="6"
4326><TR
4327><TD
4328><PRE
4329CLASS="PROGRAMLISTING"
4330>void xmlParsePI (<A
4331HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4332>xmlParserCtxtPtr</A
4333> ctxt);</PRE
4334></TD
4335></TR
4336></TABLE
4337><P
4338>parse an XML Processing Instruction.</P
4339><P
4340>[16] PI ::= '&lt;?' PITarget (S (Char* - (Char* '?&gt;' Char*)))? '?&gt;'</P
4341><P
4342>The processing is transfered to SAX once parsed.</P
4343><P
4344></P
4345><DIV
4346CLASS="INFORMALTABLE"
4347><P
4348></P
4349><TABLE
4350BORDER="0"
4351WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004352BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004353CELLSPACING="0"
4354CELLPADDING="4"
4355CLASS="CALSTABLE"
4356><TR
4357><TD
4358WIDTH="20%"
4359ALIGN="RIGHT"
4360VALIGN="TOP"
4361><TT
4362CLASS="PARAMETER"
4363><I
4364>ctxt</I
4365></TT
4366>&nbsp;:</TD
4367><TD
4368WIDTH="80%"
4369ALIGN="LEFT"
4370VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004371> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004372></TR
4373></TABLE
4374><P
4375></P
4376></DIV
4377></DIV
4378><HR><DIV
4379CLASS="REFSECT2"
4380><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00004381NAME="AEN10626"
Daniel Veillard35925471999-02-25 08:46:07 +00004382></A
4383><H3
4384><A
4385NAME="XMLPARSENOTATIONDECL"
4386></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004387>xmlParseNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004388><TABLE
4389BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004390BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004391WIDTH="100%"
4392CELLPADDING="6"
4393><TR
4394><TD
4395><PRE
4396CLASS="PROGRAMLISTING"
4397>void xmlParseNotationDecl (<A
4398HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4399>xmlParserCtxtPtr</A
4400> ctxt);</PRE
4401></TD
4402></TR
4403></TABLE
4404><P
4405>parse a notation declaration</P
4406><P
4407>[82] NotationDecl ::= '&lt;!NOTATION' S Name S (ExternalID | PublicID) S? '&gt;'</P
4408><P
4409>Hence there is actually 3 choices:
4410'PUBLIC' S PubidLiteral
4411'PUBLIC' S PubidLiteral S SystemLiteral
4412and 'SYSTEM' S SystemLiteral</P
4413><P
4414>See the NOTE on <A
4415HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
4416>xmlParseExternalID</A
4417>().</P
4418><P
4419></P
4420><DIV
4421CLASS="INFORMALTABLE"
4422><P
4423></P
4424><TABLE
4425BORDER="0"
4426WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004427BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004428CELLSPACING="0"
4429CELLPADDING="4"
4430CLASS="CALSTABLE"
4431><TR
4432><TD
4433WIDTH="20%"
4434ALIGN="RIGHT"
4435VALIGN="TOP"
4436><TT
4437CLASS="PARAMETER"
4438><I
4439>ctxt</I
4440></TT
4441>&nbsp;:</TD
4442><TD
4443WIDTH="80%"
4444ALIGN="LEFT"
4445VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004446> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004447></TR
4448></TABLE
4449><P
4450></P
4451></DIV
4452></DIV
4453><HR><DIV
4454CLASS="REFSECT2"
4455><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00004456NAME="AEN10646"
Daniel Veillard35925471999-02-25 08:46:07 +00004457></A
4458><H3
4459><A
4460NAME="XMLPARSEENTITYDECL"
4461></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004462>xmlParseEntityDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004463><TABLE
4464BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004465BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004466WIDTH="100%"
4467CELLPADDING="6"
4468><TR
4469><TD
4470><PRE
4471CLASS="PROGRAMLISTING"
4472>void xmlParseEntityDecl (<A
4473HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4474>xmlParserCtxtPtr</A
4475> ctxt);</PRE
4476></TD
4477></TR
4478></TABLE
4479><P
4480>parse &lt;!ENTITY declarations</P
4481><P
4482>[70] EntityDecl ::= GEDecl | PEDecl</P
4483><P
4484>[71] GEDecl ::= '&lt;!ENTITY' S Name S EntityDef S? '&gt;'</P
4485><P
4486>[72] PEDecl ::= '&lt;!ENTITY' S '%' S Name S PEDef S? '&gt;'</P
4487><P
4488>[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)</P
4489><P
4490>[74] PEDef ::= EntityValue | ExternalID</P
4491><P
4492>[76] NDataDecl ::= S 'NDATA' S Name</P
4493><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004494>[ VC: Notation Declared ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004495The Name must match the declared name of a notation.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004496><P
Daniel Veillard35925471999-02-25 08:46:07 +00004497></P
4498><DIV
4499CLASS="INFORMALTABLE"
4500><P
4501></P
4502><TABLE
4503BORDER="0"
4504WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004505BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004506CELLSPACING="0"
4507CELLPADDING="4"
4508CLASS="CALSTABLE"
4509><TR
4510><TD
4511WIDTH="20%"
4512ALIGN="RIGHT"
4513VALIGN="TOP"
4514><TT
4515CLASS="PARAMETER"
4516><I
4517>ctxt</I
4518></TT
4519>&nbsp;:</TD
4520><TD
4521WIDTH="80%"
4522ALIGN="LEFT"
4523VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004524> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004525></TR
4526></TABLE
4527><P
4528></P
4529></DIV
4530></DIV
4531><HR><DIV
4532CLASS="REFSECT2"
4533><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00004534NAME="AEN10669"
Daniel Veillard35925471999-02-25 08:46:07 +00004535></A
4536><H3
4537><A
4538NAME="XMLPARSEDEFAULTDECL"
4539></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004540>xmlParseDefaultDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004541><TABLE
4542BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004543BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004544WIDTH="100%"
4545CELLPADDING="6"
4546><TR
4547><TD
4548><PRE
4549CLASS="PROGRAMLISTING"
4550>int xmlParseDefaultDecl (<A
4551HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4552>xmlParserCtxtPtr</A
4553> ctxt,
4554 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004555HREF="gnome-xml-tree.html#XMLCHAR"
4556>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004557> **value);</PRE
4558></TD
4559></TR
4560></TABLE
4561><P
4562>Parse an attribute default declaration</P
4563><P
4564>[60] DefaultDecl ::= '<GTKDOCLINK
4565HREF="REQUIRED"
4566>REQUIRED</GTKDOCLINK
4567>' | '<GTKDOCLINK
4568HREF="IMPLIED"
4569>IMPLIED</GTKDOCLINK
4570>' | (('<GTKDOCLINK
4571HREF="FIXED"
4572>FIXED</GTKDOCLINK
4573>' S)? AttValue)</P
4574><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004575>[ VC: Required Attribute ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004576if the default declaration is the keyword <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00004577HREF="REQUIRED"
4578>REQUIRED</GTKDOCLINK
4579>, then the
4580attribute must be specified for all elements of the type in the
4581attribute-list declaration.</P
4582><P
4583>[ VC: Attribute Default Legal ]
4584The declared default value must meet the lexical constraints of
4585the declared attribute type c.f. <A
4586HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL"
4587>xmlValidateAttributeDecl</A
4588>()</P
4589><P
4590>[ VC: Fixed Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004591if an attribute has a default value declared with the <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00004592HREF="FIXED"
4593>FIXED</GTKDOCLINK
4594>
4595keyword, instances of that attribute must match the default value. </P
4596><P
4597>[ WFC: No &lt; in Attribute Values ]
4598handled in <A
4599HREF="gnome-xml-parserinternals.html#XMLPARSEATTVALUE"
4600>xmlParseAttValue</A
4601>()</P
4602><P
Daniel Veillard35925471999-02-25 08:46:07 +00004603></P
4604><DIV
4605CLASS="INFORMALTABLE"
4606><P
4607></P
4608><TABLE
4609BORDER="0"
4610WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004611BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004612CELLSPACING="0"
4613CELLPADDING="4"
4614CLASS="CALSTABLE"
4615><TR
4616><TD
4617WIDTH="20%"
4618ALIGN="RIGHT"
4619VALIGN="TOP"
4620><TT
4621CLASS="PARAMETER"
4622><I
4623>ctxt</I
4624></TT
4625>&nbsp;:</TD
4626><TD
4627WIDTH="80%"
4628ALIGN="LEFT"
4629VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004630> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004631></TR
4632><TR
4633><TD
4634WIDTH="20%"
4635ALIGN="RIGHT"
4636VALIGN="TOP"
4637><TT
4638CLASS="PARAMETER"
4639><I
4640>value</I
4641></TT
4642>&nbsp;:</TD
4643><TD
4644WIDTH="80%"
4645ALIGN="LEFT"
4646VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004647> Receive a possible fixed default value for the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004648></TR
4649><TR
4650><TD
4651WIDTH="20%"
4652ALIGN="RIGHT"
4653VALIGN="TOP"
4654><I
4655CLASS="EMPHASIS"
4656>Returns</I
4657> :</TD
4658><TD
4659WIDTH="80%"
4660ALIGN="LEFT"
4661VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004662> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED
4663or XML_ATTRIBUTE_FIXED. </TD
Daniel Veillard35925471999-02-25 08:46:07 +00004664></TR
4665></TABLE
4666><P
4667></P
4668></DIV
4669></DIV
4670><HR><DIV
4671CLASS="REFSECT2"
4672><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00004673NAME="AEN10706"
Daniel Veillard35925471999-02-25 08:46:07 +00004674></A
4675><H3
4676><A
4677NAME="XMLPARSENOTATIONTYPE"
4678></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004679>xmlParseNotationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004680><TABLE
4681BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004682BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004683WIDTH="100%"
4684CELLPADDING="6"
4685><TR
4686><TD
4687><PRE
4688CLASS="PROGRAMLISTING"
4689><A
4690HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4691>xmlEnumerationPtr</A
4692> xmlParseNotationType (<A
4693HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4694>xmlParserCtxtPtr</A
4695> ctxt);</PRE
4696></TD
4697></TR
4698></TABLE
4699><P
4700>parse an Notation attribute type.</P
4701><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004702>Note: the leading 'NOTATION' S part has already being parsed...</P
4703><P
Daniel Veillard35925471999-02-25 08:46:07 +00004704>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
4705><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004706>[ VC: Notation Attributes ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004707Values of this type must match one of the notation names included
Daniel Veillardb05deb71999-08-10 19:04:08 +00004708in the declaration; all notation names in the declaration must be declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00004709><P
4710></P
4711><DIV
4712CLASS="INFORMALTABLE"
4713><P
4714></P
4715><TABLE
4716BORDER="0"
4717WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004718BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004719CELLSPACING="0"
4720CELLPADDING="4"
4721CLASS="CALSTABLE"
4722><TR
4723><TD
4724WIDTH="20%"
4725ALIGN="RIGHT"
4726VALIGN="TOP"
4727><TT
4728CLASS="PARAMETER"
4729><I
4730>ctxt</I
4731></TT
4732>&nbsp;:</TD
4733><TD
4734WIDTH="80%"
4735ALIGN="LEFT"
4736VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004737> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004738></TR
4739><TR
4740><TD
4741WIDTH="20%"
4742ALIGN="RIGHT"
4743VALIGN="TOP"
4744><I
4745CLASS="EMPHASIS"
4746>Returns</I
4747> :</TD
4748><TD
4749WIDTH="80%"
4750ALIGN="LEFT"
4751VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004752> the notation attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004753></TR
4754></TABLE
4755><P
4756></P
4757></DIV
4758></DIV
4759><HR><DIV
4760CLASS="REFSECT2"
4761><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00004762NAME="AEN10730"
Daniel Veillard35925471999-02-25 08:46:07 +00004763></A
4764><H3
4765><A
4766NAME="XMLPARSEENUMERATIONTYPE"
4767></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004768>xmlParseEnumerationType ()</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
4779HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4780>xmlEnumerationPtr</A
4781> xmlParseEnumerationType (<A
4782HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4783>xmlParserCtxtPtr</A
4784> ctxt);</PRE
4785></TD
4786></TR
4787></TABLE
4788><P
4789>parse an Enumeration attribute type.</P
4790><P
4791>[59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')'</P
4792><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004793>[ VC: Enumeration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004794Values of this type must match one of the Nmtoken tokens in
Daniel Veillardb05deb71999-08-10 19:04:08 +00004795the declaration</P
4796><P
Daniel Veillard35925471999-02-25 08:46:07 +00004797></P
4798><DIV
4799CLASS="INFORMALTABLE"
4800><P
4801></P
4802><TABLE
4803BORDER="0"
4804WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004805BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004806CELLSPACING="0"
4807CELLPADDING="4"
4808CLASS="CALSTABLE"
4809><TR
4810><TD
4811WIDTH="20%"
4812ALIGN="RIGHT"
4813VALIGN="TOP"
4814><TT
4815CLASS="PARAMETER"
4816><I
4817>ctxt</I
4818></TT
4819>&nbsp;:</TD
4820><TD
4821WIDTH="80%"
4822ALIGN="LEFT"
4823VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +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 Veillardf3a73582000-01-05 14:58:39 +00004839> the enumeration attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004840></TR
4841></TABLE
4842><P
4843></P
4844></DIV
4845></DIV
4846><HR><DIV
4847CLASS="REFSECT2"
4848><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00004849NAME="AEN10753"
Daniel Veillard35925471999-02-25 08:46:07 +00004850></A
4851><H3
4852><A
4853NAME="XMLPARSEENUMERATEDTYPE"
4854></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004855>xmlParseEnumeratedType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004856><TABLE
4857BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004858BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004859WIDTH="100%"
4860CELLPADDING="6"
4861><TR
4862><TD
4863><PRE
4864CLASS="PROGRAMLISTING"
4865>int xmlParseEnumeratedType (<A
4866HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4867>xmlParserCtxtPtr</A
4868> ctxt,
4869 <A
4870HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4871>xmlEnumerationPtr</A
4872> *tree);</PRE
4873></TD
4874></TR
4875></TABLE
4876><P
4877>parse an Enumerated attribute type.</P
4878><P
4879>[57] EnumeratedType ::= NotationType | Enumeration</P
4880><P
4881>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
4882><P
4883></P
4884><DIV
4885CLASS="INFORMALTABLE"
4886><P
4887></P
4888><TABLE
4889BORDER="0"
4890WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004891BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004892CELLSPACING="0"
4893CELLPADDING="4"
4894CLASS="CALSTABLE"
4895><TR
4896><TD
4897WIDTH="20%"
4898ALIGN="RIGHT"
4899VALIGN="TOP"
4900><TT
4901CLASS="PARAMETER"
4902><I
4903>ctxt</I
4904></TT
4905>&nbsp;:</TD
4906><TD
4907WIDTH="80%"
4908ALIGN="LEFT"
4909VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004910> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004911></TR
4912><TR
4913><TD
4914WIDTH="20%"
4915ALIGN="RIGHT"
4916VALIGN="TOP"
4917><TT
4918CLASS="PARAMETER"
4919><I
4920>tree</I
4921></TT
4922>&nbsp;:</TD
4923><TD
4924WIDTH="80%"
4925ALIGN="LEFT"
4926VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004927> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004928></TR
4929><TR
4930><TD
4931WIDTH="20%"
4932ALIGN="RIGHT"
4933VALIGN="TOP"
4934><I
4935CLASS="EMPHASIS"
4936>Returns</I
4937> :</TD
4938><TD
4939WIDTH="80%"
4940ALIGN="LEFT"
4941VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004942> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004943></TR
4944></TABLE
4945><P
4946></P
4947></DIV
4948></DIV
4949><HR><DIV
4950CLASS="REFSECT2"
4951><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00004952NAME="AEN10780"
Daniel Veillard35925471999-02-25 08:46:07 +00004953></A
4954><H3
4955><A
4956NAME="XMLPARSEATTRIBUTETYPE"
4957></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004958>xmlParseAttributeType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004959><TABLE
4960BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004961BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004962WIDTH="100%"
4963CELLPADDING="6"
4964><TR
4965><TD
4966><PRE
4967CLASS="PROGRAMLISTING"
4968>int xmlParseAttributeType (<A
4969HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4970>xmlParserCtxtPtr</A
4971> ctxt,
4972 <A
4973HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4974>xmlEnumerationPtr</A
4975> *tree);</PRE
4976></TD
4977></TR
4978></TABLE
4979><P
4980>parse the Attribute list def for an element</P
4981><P
4982>[54] AttType ::= StringType | TokenizedType | EnumeratedType</P
4983><P
4984>[55] StringType ::= 'CDATA'</P
4985><P
4986>[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' |
4987'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'</P
4988><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004989>Validity constraints for attribute values syntax are checked in
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004990<A
4991HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
4992>xmlValidateAttributeValue</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004993>()</P
4994><P
4995>[ VC: ID ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004996Values of type ID must match the Name production. A name must not
Daniel Veillardb05deb71999-08-10 19:04:08 +00004997appear more than once in an XML document as a value of this type;
4998i.e., ID values must uniquely identify the elements which bear them.</P
4999><P
5000>[ VC: One ID per Element Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005001No element type may have more than one ID attribute specified.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005002><P
5003>[ VC: ID Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005004An ID attribute must have a declared default of <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00005005HREF="IMPLIED"
5006>IMPLIED</GTKDOCLINK
5007> or <GTKDOCLINK
5008HREF="REQUIRED"
5009>REQUIRED</GTKDOCLINK
5010>.</P
5011><P
5012>[ VC: IDREF ]
5013Values of type IDREF must match the Name production, and values
Daniel Veillardf3a73582000-01-05 14:58:39 +00005014of type IDREFS must match Names; each IDREF Name must match the value
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005015of an ID attribute on some element in the XML document; i.e. IDREF
Daniel Veillardb05deb71999-08-10 19:04:08 +00005016values must match the value of some ID attribute.</P
5017><P
5018>[ VC: Entity Name ]
5019Values of type ENTITY must match the Name production, values
Daniel Veillardf3a73582000-01-05 14:58:39 +00005020of type ENTITIES must match Names; each Entity Name must match the
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005021name of an unparsed entity declared in the DTD. </P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005022><P
5023>[ VC: Name Token ]
5024Values of type NMTOKEN must match the Nmtoken production; values
5025of type NMTOKENS must match Nmtokens.</P
5026><P
Daniel Veillard35925471999-02-25 08:46:07 +00005027></P
5028><DIV
5029CLASS="INFORMALTABLE"
5030><P
5031></P
5032><TABLE
5033BORDER="0"
5034WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005035BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005036CELLSPACING="0"
5037CELLPADDING="4"
5038CLASS="CALSTABLE"
5039><TR
5040><TD
5041WIDTH="20%"
5042ALIGN="RIGHT"
5043VALIGN="TOP"
5044><TT
5045CLASS="PARAMETER"
5046><I
5047>ctxt</I
5048></TT
5049>&nbsp;:</TD
5050><TD
5051WIDTH="80%"
5052ALIGN="LEFT"
5053VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005054> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005055></TR
5056><TR
5057><TD
5058WIDTH="20%"
5059ALIGN="RIGHT"
5060VALIGN="TOP"
5061><TT
5062CLASS="PARAMETER"
5063><I
5064>tree</I
5065></TT
5066>&nbsp;:</TD
5067><TD
5068WIDTH="80%"
5069ALIGN="LEFT"
5070VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005071> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005072></TR
5073><TR
5074><TD
5075WIDTH="20%"
5076ALIGN="RIGHT"
5077VALIGN="TOP"
5078><I
5079CLASS="EMPHASIS"
5080>Returns</I
5081> :</TD
5082><TD
5083WIDTH="80%"
5084ALIGN="LEFT"
5085VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005086>the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005087></TR
5088></TABLE
5089><P
5090></P
5091></DIV
5092></DIV
5093><HR><DIV
5094CLASS="REFSECT2"
5095><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00005096NAME="AEN10818"
Daniel Veillard35925471999-02-25 08:46:07 +00005097></A
5098><H3
5099><A
5100NAME="XMLPARSEATTRIBUTELISTDECL"
5101></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005102>xmlParseAttributeListDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005103><TABLE
5104BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005105BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005106WIDTH="100%"
5107CELLPADDING="6"
5108><TR
5109><TD
5110><PRE
5111CLASS="PROGRAMLISTING"
5112>void xmlParseAttributeListDecl (<A
5113HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5114>xmlParserCtxtPtr</A
5115> ctxt);</PRE
5116></TD
5117></TR
5118></TABLE
5119><P
5120>: parse the Attribute list def for an element</P
5121><P
5122>[52] AttlistDecl ::= '&lt;!ATTLIST' S Name AttDef* S? '&gt;'</P
5123><P
5124>[53] AttDef ::= S Name S AttType S DefaultDecl</P
5125><P
5126></P
5127><DIV
5128CLASS="INFORMALTABLE"
5129><P
5130></P
5131><TABLE
5132BORDER="0"
5133WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005134BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005135CELLSPACING="0"
5136CELLPADDING="4"
5137CLASS="CALSTABLE"
5138><TR
5139><TD
5140WIDTH="20%"
5141ALIGN="RIGHT"
5142VALIGN="TOP"
5143><TT
5144CLASS="PARAMETER"
5145><I
5146>ctxt</I
5147></TT
5148>&nbsp;:</TD
5149><TD
5150WIDTH="80%"
5151ALIGN="LEFT"
5152VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005153> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005154></TR
5155></TABLE
5156><P
5157></P
5158></DIV
5159></DIV
5160><HR><DIV
5161CLASS="REFSECT2"
5162><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00005163NAME="AEN10836"
Daniel Veillard35925471999-02-25 08:46:07 +00005164></A
5165><H3
5166><A
5167NAME="XMLPARSEELEMENTMIXEDCONTENTDECL"
5168></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005169>xmlParseElementMixedContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005170><TABLE
5171BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005172BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005173WIDTH="100%"
5174CELLPADDING="6"
5175><TR
5176><TD
5177><PRE
5178CLASS="PROGRAMLISTING"
5179><A
5180HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
5181>xmlElementContentPtr</A
5182> xmlParseElementMixedContentDecl
5183 (<A
5184HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5185>xmlParserCtxtPtr</A
5186> ctxt);</PRE
5187></TD
5188></TR
5189></TABLE
5190><P
5191>parse the declaration for a Mixed Element content
5192The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
5193><P
5194>[51] Mixed ::= '(' S? '<GTKDOCLINK
5195HREF="PCDATA"
5196>PCDATA</GTKDOCLINK
5197>' (S? '|' S? Name)* S? ')*' |
5198'(' S? '<GTKDOCLINK
5199HREF="PCDATA"
5200>PCDATA</GTKDOCLINK
5201>' S? ')'</P
5202><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005203>[ VC: Proper Group/PE Nesting ] applies to [51] too (see [49])</P
5204><P
5205>[ VC: No Duplicate Types ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005206The same name must not appear more than once in a single
Daniel Veillardb05deb71999-08-10 19:04:08 +00005207mixed-content declaration.</P
5208><P
Daniel Veillard35925471999-02-25 08:46:07 +00005209></P
5210><DIV
5211CLASS="INFORMALTABLE"
5212><P
5213></P
5214><TABLE
5215BORDER="0"
5216WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005217BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005218CELLSPACING="0"
5219CELLPADDING="4"
5220CLASS="CALSTABLE"
5221><TR
5222><TD
5223WIDTH="20%"
5224ALIGN="RIGHT"
5225VALIGN="TOP"
5226><TT
5227CLASS="PARAMETER"
5228><I
5229>ctxt</I
5230></TT
5231>&nbsp;:</TD
5232><TD
5233WIDTH="80%"
5234ALIGN="LEFT"
5235VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005236> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005237></TR
5238><TR
5239><TD
5240WIDTH="20%"
5241ALIGN="RIGHT"
5242VALIGN="TOP"
5243><I
5244CLASS="EMPHASIS"
5245>Returns</I
5246> :</TD
5247><TD
5248WIDTH="80%"
5249ALIGN="LEFT"
5250VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005251> the list of the xmlElementContentPtr describing the element choices</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005252></TR
5253></TABLE
5254><P
5255></P
5256></DIV
5257></DIV
5258><HR><DIV
5259CLASS="REFSECT2"
5260><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00005261NAME="AEN10862"
Daniel Veillard35925471999-02-25 08:46:07 +00005262></A
5263><H3
5264><A
5265NAME="XMLPARSEELEMENTCHILDRENCONTENTDECL"
5266></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005267>xmlParseElementChildrenContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005268><TABLE
5269BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005270BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005271WIDTH="100%"
5272CELLPADDING="6"
5273><TR
5274><TD
5275><PRE
5276CLASS="PROGRAMLISTING"
5277><A
5278HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
5279>xmlElementContentPtr</A
5280> xmlParseElementChildrenContentDecl
5281 (<A
5282HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5283>xmlParserCtxtPtr</A
5284> ctxt);</PRE
5285></TD
5286></TR
5287></TABLE
5288><P
5289>parse the declaration for a Mixed Element content
5290The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
5291><P
5292>[47] children ::= (choice | seq) ('?' | '*' | '+')?</P
5293><P
5294>[48] cp ::= (Name | choice | seq) ('?' | '*' | '+')?</P
5295><P
5296>[49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')'</P
5297><P
5298>[50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'</P
5299><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005300>[ VC: Proper Group/PE Nesting ] applies to [49] and [50]
5301TODO Parameter-entity replacement text must be properly nested
5302with parenthetized groups. That is to say, if either of the
5303opening or closing parentheses in a choice, seq, or Mixed
5304construct is contained in the replacement text for a parameter
5305entity, both must be contained in the same replacement text. For
5306interoperability, if a parameter-entity reference appears in a
5307choice, seq, or Mixed construct, its replacement text should not
5308be empty, and neither the first nor last non-blank character of
5309the replacement text should be a connector (| or ,).</P
5310><P
Daniel Veillard35925471999-02-25 08:46:07 +00005311></P
5312><DIV
5313CLASS="INFORMALTABLE"
5314><P
5315></P
5316><TABLE
5317BORDER="0"
5318WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005319BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005320CELLSPACING="0"
5321CELLPADDING="4"
5322CLASS="CALSTABLE"
5323><TR
5324><TD
5325WIDTH="20%"
5326ALIGN="RIGHT"
5327VALIGN="TOP"
5328><TT
5329CLASS="PARAMETER"
5330><I
5331>ctxt</I
5332></TT
5333>&nbsp;:</TD
5334><TD
5335WIDTH="80%"
5336ALIGN="LEFT"
5337VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005338> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005339></TR
5340><TR
5341><TD
5342WIDTH="20%"
5343ALIGN="RIGHT"
5344VALIGN="TOP"
5345><I
5346CLASS="EMPHASIS"
5347>Returns</I
5348> :</TD
5349><TD
5350WIDTH="80%"
5351ALIGN="LEFT"
5352VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005353> the tree of xmlElementContentPtr describing the element
5354hierarchy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005355></TR
5356></TABLE
5357><P
5358></P
5359></DIV
5360></DIV
5361><HR><DIV
5362CLASS="REFSECT2"
5363><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00005364NAME="AEN10888"
Daniel Veillard35925471999-02-25 08:46:07 +00005365></A
5366><H3
5367><A
5368NAME="XMLPARSEELEMENTCONTENTDECL"
5369></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005370>xmlParseElementContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005371><TABLE
5372BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005373BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005374WIDTH="100%"
5375CELLPADDING="6"
5376><TR
5377><TD
5378><PRE
5379CLASS="PROGRAMLISTING"
5380>int xmlParseElementContentDecl (<A
5381HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5382>xmlParserCtxtPtr</A
5383> ctxt,
5384 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005385HREF="gnome-xml-tree.html#XMLCHAR"
5386>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005387> *name,
5388 <A
5389HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
5390>xmlElementContentPtr</A
5391> *result);</PRE
5392></TD
5393></TR
5394></TABLE
5395><P
5396>parse the declaration for an Element content either Mixed or Children,
5397the cases EMPTY and ANY are handled directly in xmlParseElementDecl</P
5398><P
5399>[46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</P
5400><P
5401></P
5402><DIV
5403CLASS="INFORMALTABLE"
5404><P
5405></P
5406><TABLE
5407BORDER="0"
5408WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005409BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005410CELLSPACING="0"
5411CELLPADDING="4"
5412CLASS="CALSTABLE"
5413><TR
5414><TD
5415WIDTH="20%"
5416ALIGN="RIGHT"
5417VALIGN="TOP"
5418><TT
5419CLASS="PARAMETER"
5420><I
5421>ctxt</I
5422></TT
5423>&nbsp;:</TD
5424><TD
5425WIDTH="80%"
5426ALIGN="LEFT"
5427VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005428> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005429></TR
5430><TR
5431><TD
5432WIDTH="20%"
5433ALIGN="RIGHT"
5434VALIGN="TOP"
5435><TT
5436CLASS="PARAMETER"
5437><I
5438>name</I
5439></TT
5440>&nbsp;:</TD
5441><TD
5442WIDTH="80%"
5443ALIGN="LEFT"
5444VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005445> the name of the element being defined.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005446></TR
5447><TR
5448><TD
5449WIDTH="20%"
5450ALIGN="RIGHT"
5451VALIGN="TOP"
5452><TT
5453CLASS="PARAMETER"
5454><I
5455>result</I
5456></TT
5457>&nbsp;:</TD
5458><TD
5459WIDTH="80%"
5460ALIGN="LEFT"
5461VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005462> the Element Content pointer will be stored here if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005463></TR
5464><TR
5465><TD
5466WIDTH="20%"
5467ALIGN="RIGHT"
5468VALIGN="TOP"
5469><I
5470CLASS="EMPHASIS"
5471>Returns</I
5472> :</TD
5473><TD
5474WIDTH="80%"
5475ALIGN="LEFT"
5476VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005477> the type of element content XML_ELEMENT_TYPE_xxx</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005478></TR
5479></TABLE
5480><P
5481></P
5482></DIV
5483></DIV
5484><HR><DIV
5485CLASS="REFSECT2"
5486><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00005487NAME="AEN10919"
Daniel Veillard35925471999-02-25 08:46:07 +00005488></A
5489><H3
5490><A
5491NAME="XMLPARSEELEMENTDECL"
5492></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005493>xmlParseElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005494><TABLE
5495BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005496BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005497WIDTH="100%"
5498CELLPADDING="6"
5499><TR
5500><TD
5501><PRE
5502CLASS="PROGRAMLISTING"
5503>int xmlParseElementDecl (<A
5504HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5505>xmlParserCtxtPtr</A
5506> ctxt);</PRE
5507></TD
5508></TR
5509></TABLE
5510><P
5511>parse an Element declaration.</P
5512><P
5513>[45] elementdecl ::= '&lt;!ELEMENT' S Name S contentspec S? '&gt;'</P
5514><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005515>[ VC: Unique Element Type Declaration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005516No element type may be declared more than once</P
Daniel Veillard35925471999-02-25 08:46:07 +00005517><P
5518></P
5519><DIV
5520CLASS="INFORMALTABLE"
5521><P
5522></P
5523><TABLE
5524BORDER="0"
5525WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005526BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005527CELLSPACING="0"
5528CELLPADDING="4"
5529CLASS="CALSTABLE"
5530><TR
5531><TD
5532WIDTH="20%"
5533ALIGN="RIGHT"
5534VALIGN="TOP"
5535><TT
5536CLASS="PARAMETER"
5537><I
5538>ctxt</I
5539></TT
5540>&nbsp;:</TD
5541><TD
5542WIDTH="80%"
5543ALIGN="LEFT"
5544VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005545> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005546></TR
5547><TR
5548><TD
5549WIDTH="20%"
5550ALIGN="RIGHT"
5551VALIGN="TOP"
5552><I
5553CLASS="EMPHASIS"
5554>Returns</I
5555> :</TD
5556><TD
5557WIDTH="80%"
5558ALIGN="LEFT"
5559VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005560>the type of the element, or -1 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005561></TR
5562></TABLE
5563><P
5564></P
5565></DIV
5566></DIV
5567><HR><DIV
5568CLASS="REFSECT2"
5569><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00005570NAME="AEN10941"
Daniel Veillard35925471999-02-25 08:46:07 +00005571></A
5572><H3
5573><A
5574NAME="XMLPARSEMARKUPDECL"
5575></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005576>xmlParseMarkupDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005577><TABLE
5578BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005579BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005580WIDTH="100%"
5581CELLPADDING="6"
5582><TR
5583><TD
5584><PRE
5585CLASS="PROGRAMLISTING"
5586>void xmlParseMarkupDecl (<A
5587HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5588>xmlParserCtxtPtr</A
5589> ctxt);</PRE
5590></TD
5591></TR
5592></TABLE
5593><P
5594>parse Markup declarations</P
5595><P
5596>[29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
5597NotationDecl | PI | Comment</P
5598><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005599>[ VC: Proper Declaration/PE Nesting ]
5600TODO Parameter-entity replacement text must be properly nested with
5601markup declarations. That is to say, if either the first character
5602or the last character of a markup declaration (markupdecl above) is
5603contained in the replacement text for a parameter-entity reference,
5604both must be contained in the same replacement text.</P
5605><P
5606>[ WFC: PEs in Internal Subset ]
5607In the internal DTD subset, parameter-entity references can occur
5608only where markup declarations can occur, not within markup declarations.
5609(This does not apply to references that occur in external parameter
5610entities or to the external subset.)</P
Daniel Veillard35925471999-02-25 08:46:07 +00005611><P
5612></P
5613><DIV
5614CLASS="INFORMALTABLE"
5615><P
5616></P
5617><TABLE
5618BORDER="0"
5619WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005620BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005621CELLSPACING="0"
5622CELLPADDING="4"
5623CLASS="CALSTABLE"
5624><TR
5625><TD
5626WIDTH="20%"
5627ALIGN="RIGHT"
5628VALIGN="TOP"
5629><TT
5630CLASS="PARAMETER"
5631><I
5632>ctxt</I
5633></TT
5634>&nbsp;:</TD
5635><TD
5636WIDTH="80%"
5637ALIGN="LEFT"
5638VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005639> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005640></TR
5641></TABLE
5642><P
5643></P
5644></DIV
5645></DIV
5646><HR><DIV
5647CLASS="REFSECT2"
5648><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00005649NAME="AEN10960"
Daniel Veillard35925471999-02-25 08:46:07 +00005650></A
5651><H3
5652><A
5653NAME="XMLPARSECHARREF"
5654></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005655>xmlParseCharRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005656><TABLE
5657BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005658BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005659WIDTH="100%"
5660CELLPADDING="6"
5661><TR
5662><TD
5663><PRE
5664CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005665>int xmlParseCharRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005666HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5667>xmlParserCtxtPtr</A
5668> ctxt);</PRE
5669></TD
5670></TR
5671></TABLE
5672><P
5673>parse Reference declarations</P
5674><P
5675>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
5676'&amp;<GTKDOCLINK
5677HREF="X"
5678>x</GTKDOCLINK
5679>' [0-9a-fA-F]+ ';'</P
5680><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005681>[ WFC: Legal Character ]
5682Characters referred to using character references must match the
5683production for Char.</P
5684><P
Daniel Veillard35925471999-02-25 08:46:07 +00005685></P
5686><DIV
5687CLASS="INFORMALTABLE"
5688><P
5689></P
5690><TABLE
5691BORDER="0"
5692WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005693BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005694CELLSPACING="0"
5695CELLPADDING="4"
5696CLASS="CALSTABLE"
5697><TR
5698><TD
5699WIDTH="20%"
5700ALIGN="RIGHT"
5701VALIGN="TOP"
5702><TT
5703CLASS="PARAMETER"
5704><I
5705>ctxt</I
5706></TT
5707>&nbsp;:</TD
5708><TD
5709WIDTH="80%"
5710ALIGN="LEFT"
5711VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005712> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005713></TR
5714><TR
5715><TD
5716WIDTH="20%"
5717ALIGN="RIGHT"
5718VALIGN="TOP"
5719><I
5720CLASS="EMPHASIS"
5721>Returns</I
5722> :</TD
5723><TD
5724WIDTH="80%"
5725ALIGN="LEFT"
5726VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005727>the value parsed (as an int), 0 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005728></TR
5729></TABLE
5730><P
5731></P
5732></DIV
5733></DIV
5734><HR><DIV
5735CLASS="REFSECT2"
5736><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00005737NAME="AEN10983"
Daniel Veillard35925471999-02-25 08:46:07 +00005738></A
5739><H3
5740><A
5741NAME="XMLPARSEENTITYREF"
5742></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005743>xmlParseEntityRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005744><TABLE
5745BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005746BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005747WIDTH="100%"
5748CELLPADDING="6"
5749><TR
5750><TD
5751><PRE
5752CLASS="PROGRAMLISTING"
5753><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005754HREF="gnome-xml-entities.html#XMLENTITYPTR"
5755>xmlEntityPtr</A
5756> xmlParseEntityRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005757HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5758>xmlParserCtxtPtr</A
5759> ctxt);</PRE
5760></TD
5761></TR
5762></TABLE
5763><P
5764>parse ENTITY references declarations</P
5765><P
5766>[68] EntityRef ::= '&amp;' Name ';'</P
5767><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005768>[ WFC: Entity Declared ]
5769In a document without any DTD, a document with only an internal DTD
5770subset which contains no parameter entity references, or a document
5771with "standalone='yes'", the Name given in the entity reference
5772must match that in an entity declaration, except that well-formed
5773documents need not declare any of the following entities: amp, lt,
5774gt, apos, quot. The declaration of a parameter entity must precede
5775any reference to it. Similarly, the declaration of a general entity
5776must precede any reference to it which appears in a default value in an
5777attribute-list declaration. Note that if entities are declared in the
5778external subset or in external parameter entities, a non-validating
5779processor is not obligated to read and process their declarations;
5780for such documents, the rule that an entity must be declared is a
5781well-formedness constraint only if standalone='yes'.</P
5782><P
5783>[ WFC: Parsed Entity ]
5784An entity reference must not contain the name of an unparsed entity</P
5785><P
Daniel Veillard35925471999-02-25 08:46:07 +00005786></P
5787><DIV
5788CLASS="INFORMALTABLE"
5789><P
5790></P
5791><TABLE
5792BORDER="0"
5793WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005794BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005795CELLSPACING="0"
5796CELLPADDING="4"
5797CLASS="CALSTABLE"
5798><TR
5799><TD
5800WIDTH="20%"
5801ALIGN="RIGHT"
5802VALIGN="TOP"
5803><TT
5804CLASS="PARAMETER"
5805><I
5806>ctxt</I
5807></TT
5808>&nbsp;:</TD
5809><TD
5810WIDTH="80%"
5811ALIGN="LEFT"
5812VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005813> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005814></TR
5815><TR
5816><TD
5817WIDTH="20%"
5818ALIGN="RIGHT"
5819VALIGN="TOP"
5820><I
5821CLASS="EMPHASIS"
5822>Returns</I
5823> :</TD
5824><TD
5825WIDTH="80%"
5826ALIGN="LEFT"
5827VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005828>the xmlEntityPtr if found, or NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005829></TR
5830></TABLE
5831><P
5832></P
5833></DIV
5834></DIV
5835><HR><DIV
5836CLASS="REFSECT2"
5837><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00005838NAME="AEN11007"
Daniel Veillard35925471999-02-25 08:46:07 +00005839></A
5840><H3
5841><A
5842NAME="XMLPARSEREFERENCE"
5843></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005844>xmlParseReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005845><TABLE
5846BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005847BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005848WIDTH="100%"
5849CELLPADDING="6"
5850><TR
5851><TD
5852><PRE
5853CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005854>void xmlParseReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005855HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5856>xmlParserCtxtPtr</A
5857> ctxt);</PRE
5858></TD
5859></TR
5860></TABLE
5861><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00005862>parse and handle entity references in content, depending on the SAX
5863interface, this may end-up in a call to <GTKDOCLINK
5864HREF="CHARACTER"
5865>character</GTKDOCLINK
5866>() if this is a
Daniel Veillard294cbca1999-12-03 13:19:09 +00005867CharRef, a predefined entity, if there is no <A
5868HREF="gnome-xml-sax.html#REFERENCE"
5869>reference</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005870>() callback.
5871or if the parser was asked to switch to that mode.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005872><P
5873>[67] Reference ::= EntityRef | CharRef</P
5874><P
5875></P
5876><DIV
5877CLASS="INFORMALTABLE"
5878><P
5879></P
5880><TABLE
5881BORDER="0"
5882WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005883BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005884CELLSPACING="0"
5885CELLPADDING="4"
5886CLASS="CALSTABLE"
5887><TR
5888><TD
5889WIDTH="20%"
5890ALIGN="RIGHT"
5891VALIGN="TOP"
5892><TT
5893CLASS="PARAMETER"
5894><I
5895>ctxt</I
5896></TT
5897>&nbsp;:</TD
5898><TD
5899WIDTH="80%"
5900ALIGN="LEFT"
5901VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005902> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005903></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005904></TABLE
5905><P
5906></P
5907></DIV
5908></DIV
5909><HR><DIV
5910CLASS="REFSECT2"
5911><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00005912NAME="AEN11026"
Daniel Veillard35925471999-02-25 08:46:07 +00005913></A
5914><H3
5915><A
5916NAME="XMLPARSEPEREFERENCE"
5917></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005918>xmlParsePEReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005919><TABLE
5920BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005921BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005922WIDTH="100%"
5923CELLPADDING="6"
5924><TR
5925><TD
5926><PRE
5927CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005928>void xmlParsePEReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005929HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5930>xmlParserCtxtPtr</A
5931> ctxt);</PRE
5932></TD
5933></TR
5934></TABLE
5935><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00005936>parse PEReference declarations
5937The entity content is handled directly by pushing it's content as
5938a new input stream.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005939><P
5940>[69] PEReference ::= '%' Name ';'</P
5941><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005942>[ WFC: No Recursion ]
5943TODO A parsed entity must not contain a recursive
5944reference to itself, either directly or indirectly. </P
5945><P
5946>[ WFC: Entity Declared ]
5947In a document without any DTD, a document with only an internal DTD
5948subset which contains no parameter entity references, or a document
5949with "standalone='yes'", ... ... The declaration of a parameter
5950entity must precede any reference to it...</P
5951><P
5952>[ VC: Entity Declared ]
5953In a document with an external subset or external parameter entities
5954with "standalone='no'", ... ... The declaration of a parameter entity
5955must precede any reference to it...</P
5956><P
5957>[ WFC: In DTD ]
5958Parameter-entity references may only appear in the DTD.
5959NOTE: misleading but this is handled.</P
5960><P
Daniel Veillard35925471999-02-25 08:46:07 +00005961></P
5962><DIV
5963CLASS="INFORMALTABLE"
5964><P
5965></P
5966><TABLE
5967BORDER="0"
5968WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005969BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005970CELLSPACING="0"
5971CELLPADDING="4"
5972CLASS="CALSTABLE"
5973><TR
5974><TD
5975WIDTH="20%"
5976ALIGN="RIGHT"
5977VALIGN="TOP"
5978><TT
5979CLASS="PARAMETER"
5980><I
5981>ctxt</I
5982></TT
5983>&nbsp;:</TD
5984><TD
5985WIDTH="80%"
5986ALIGN="LEFT"
5987VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005988> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005989></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005990></TABLE
5991><P
5992></P
5993></DIV
5994></DIV
5995><HR><DIV
5996CLASS="REFSECT2"
5997><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00005998NAME="AEN11047"
Daniel Veillard35925471999-02-25 08:46:07 +00005999></A
6000><H3
6001><A
6002NAME="XMLPARSEDOCTYPEDECL"
6003></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006004>xmlParseDocTypeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006005><TABLE
6006BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006007BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006008WIDTH="100%"
6009CELLPADDING="6"
6010><TR
6011><TD
6012><PRE
6013CLASS="PROGRAMLISTING"
6014>void xmlParseDocTypeDecl (<A
6015HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6016>xmlParserCtxtPtr</A
6017> ctxt);</PRE
6018></TD
6019></TR
6020></TABLE
6021><P
6022>parse a DOCTYPE declaration</P
6023><P
6024>[28] doctypedecl ::= '&lt;!DOCTYPE' S Name (S ExternalID)? S?
6025('[' (markupdecl | PEReference | S)* ']' S?)? '&gt;'</P
6026><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006027>[ VC: Root Element Type ]
6028The Name in the document type declaration must match the element
6029type of the root element.</P
6030><P
Daniel Veillard35925471999-02-25 08:46:07 +00006031></P
6032><DIV
6033CLASS="INFORMALTABLE"
6034><P
6035></P
6036><TABLE
6037BORDER="0"
6038WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006039BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006040CELLSPACING="0"
6041CELLPADDING="4"
6042CLASS="CALSTABLE"
6043><TR
6044><TD
6045WIDTH="20%"
6046ALIGN="RIGHT"
6047VALIGN="TOP"
6048><TT
6049CLASS="PARAMETER"
6050><I
6051>ctxt</I
6052></TT
6053>&nbsp;:</TD
6054><TD
6055WIDTH="80%"
6056ALIGN="LEFT"
6057VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006058> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006059></TR
6060></TABLE
6061><P
6062></P
6063></DIV
6064></DIV
6065><HR><DIV
6066CLASS="REFSECT2"
6067><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00006068NAME="AEN11065"
Daniel Veillard35925471999-02-25 08:46:07 +00006069></A
6070><H3
6071><A
6072NAME="XMLPARSEATTRIBUTE"
6073></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006074>xmlParseAttribute ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006075><TABLE
6076BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006077BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006078WIDTH="100%"
6079CELLPADDING="6"
6080><TR
6081><TD
6082><PRE
6083CLASS="PROGRAMLISTING"
6084><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006085HREF="gnome-xml-tree.html#XMLCHAR"
6086>xmlChar</A
6087>* xmlParseAttribute (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006088HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6089>xmlParserCtxtPtr</A
6090> ctxt,
6091 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006092HREF="gnome-xml-tree.html#XMLCHAR"
6093>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006094> **value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00006095></TD
6096></TR
6097></TABLE
6098><P
6099>parse an attribute</P
6100><P
6101>[41] Attribute ::= Name Eq AttValue</P
6102><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006103>[ WFC: No External Entity References ]
6104Attribute values cannot contain direct or indirect entity references
6105to external entities.</P
6106><P
6107>[ WFC: No &lt; in Attribute Values ]
6108The replacement text of any entity referred to directly or indirectly in
6109an attribute value (other than "&amp;lt;") must not contain a &lt;. </P
6110><P
6111>[ VC: Attribute Value Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006112The attribute must have been declared; the value must be of the type
Daniel Veillardb05deb71999-08-10 19:04:08 +00006113declared for it.</P
6114><P
Daniel Veillard35925471999-02-25 08:46:07 +00006115>[25] Eq ::= S? '=' S?</P
6116><P
6117>With namespace:</P
6118><P
6119>[NS 11] Attribute ::= QName Eq AttValue</P
6120><P
6121>Also the case QName == xmlns:??? is handled independently as a namespace
6122definition.</P
6123><P
6124></P
6125><DIV
6126CLASS="INFORMALTABLE"
6127><P
6128></P
6129><TABLE
6130BORDER="0"
6131WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006132BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006133CELLSPACING="0"
6134CELLPADDING="4"
6135CLASS="CALSTABLE"
6136><TR
6137><TD
6138WIDTH="20%"
6139ALIGN="RIGHT"
6140VALIGN="TOP"
6141><TT
6142CLASS="PARAMETER"
6143><I
6144>ctxt</I
6145></TT
6146>&nbsp;:</TD
6147><TD
6148WIDTH="80%"
6149ALIGN="LEFT"
6150VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006151> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006152></TR
6153><TR
6154><TD
6155WIDTH="20%"
6156ALIGN="RIGHT"
6157VALIGN="TOP"
6158><TT
6159CLASS="PARAMETER"
6160><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00006161>value</I
Daniel Veillard35925471999-02-25 08:46:07 +00006162></TT
6163>&nbsp;:</TD
6164><TD
6165WIDTH="80%"
6166ALIGN="LEFT"
6167VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006168> a xmlChar ** used to store the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006169></TR
6170><TR
6171><TD
6172WIDTH="20%"
6173ALIGN="RIGHT"
6174VALIGN="TOP"
6175><I
6176CLASS="EMPHASIS"
6177>Returns</I
6178> :</TD
6179><TD
6180WIDTH="80%"
6181ALIGN="LEFT"
6182VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006183>the attribute name, and the value in *value.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006184></TR
6185></TABLE
6186><P
6187></P
6188></DIV
6189></DIV
6190><HR><DIV
6191CLASS="REFSECT2"
6192><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00006193NAME="AEN11099"
Daniel Veillard35925471999-02-25 08:46:07 +00006194></A
6195><H3
6196><A
6197NAME="XMLPARSESTARTTAG"
6198></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006199>xmlParseStartTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006200><TABLE
6201BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006202BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006203WIDTH="100%"
6204CELLPADDING="6"
6205><TR
6206><TD
6207><PRE
6208CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00006209><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006210HREF="gnome-xml-tree.html#XMLCHAR"
6211>xmlChar</A
6212>* xmlParseStartTag (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006213HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6214>xmlParserCtxtPtr</A
6215> ctxt);</PRE
6216></TD
6217></TR
6218></TABLE
6219><P
6220>parse a start of tag either for rule element or
6221EmptyElement. In both case we don't parse the tag closing chars.</P
6222><P
6223>[40] STag ::= '&lt;' Name (S Attribute)* S? '&gt;'</P
6224><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006225>[ WFC: Unique Att Spec ]
6226No attribute name may appear more than once in the same start-tag or
6227empty-element tag. </P
6228><P
Daniel Veillard35925471999-02-25 08:46:07 +00006229>[44] EmptyElemTag ::= '&lt;' Name (S Attribute)* S? '/&gt;'</P
6230><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006231>[ WFC: Unique Att Spec ]
6232No attribute name may appear more than once in the same start-tag or
6233empty-element tag. </P
6234><P
Daniel Veillard35925471999-02-25 08:46:07 +00006235>With namespace:</P
6236><P
6237>[NS 8] STag ::= '&lt;' QName (S Attribute)* S? '&gt;'</P
6238><P
6239>[NS 10] EmptyElement ::= '&lt;' QName (S Attribute)* S? '/&gt;'</P
6240><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00006241>Returne the element name parsed</P
6242><P
Daniel Veillard35925471999-02-25 08:46:07 +00006243></P
6244><DIV
6245CLASS="INFORMALTABLE"
6246><P
6247></P
6248><TABLE
6249BORDER="0"
6250WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006251BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006252CELLSPACING="0"
6253CELLPADDING="4"
6254CLASS="CALSTABLE"
6255><TR
6256><TD
6257WIDTH="20%"
6258ALIGN="RIGHT"
6259VALIGN="TOP"
6260><TT
6261CLASS="PARAMETER"
6262><I
6263>ctxt</I
6264></TT
6265>&nbsp;:</TD
6266><TD
6267WIDTH="80%"
6268ALIGN="LEFT"
6269VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006270> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006271></TR
Daniel Veillard14fff061999-06-22 21:49:07 +00006272><TR
6273><TD
6274WIDTH="20%"
6275ALIGN="RIGHT"
6276VALIGN="TOP"
6277><I
6278CLASS="EMPHASIS"
6279>Returns</I
6280> :</TD
6281><TD
6282WIDTH="80%"
6283ALIGN="LEFT"
6284VALIGN="TOP"
Daniel Veillard4c3a2031999-11-19 17:46:26 +00006285>&nbsp;</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006286></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006287></TABLE
6288><P
6289></P
6290></DIV
6291></DIV
6292><HR><DIV
6293CLASS="REFSECT2"
6294><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00006295NAME="AEN11128"
Daniel Veillard35925471999-02-25 08:46:07 +00006296></A
6297><H3
6298><A
6299NAME="XMLPARSEENDTAG"
6300></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006301>xmlParseEndTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006302><TABLE
6303BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006304BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006305WIDTH="100%"
6306CELLPADDING="6"
6307><TR
6308><TD
6309><PRE
6310CLASS="PROGRAMLISTING"
6311>void xmlParseEndTag (<A
6312HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6313>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +00006314> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00006315></TD
6316></TR
6317></TABLE
6318><P
6319>parse an end of tag</P
6320><P
6321>[42] ETag ::= '&lt;/' Name S? '&gt;'</P
6322><P
6323>With namespace</P
6324><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00006325>[NS 9] ETag ::= '&lt;/' QName S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00006326><P
6327></P
6328><DIV
6329CLASS="INFORMALTABLE"
6330><P
6331></P
6332><TABLE
6333BORDER="0"
6334WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006335BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006336CELLSPACING="0"
6337CELLPADDING="4"
6338CLASS="CALSTABLE"
6339><TR
6340><TD
6341WIDTH="20%"
6342ALIGN="RIGHT"
6343VALIGN="TOP"
6344><TT
6345CLASS="PARAMETER"
6346><I
6347>ctxt</I
6348></TT
6349>&nbsp;:</TD
6350><TD
6351WIDTH="80%"
6352ALIGN="LEFT"
6353VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006354> an XML parser context</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006355></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006356></TABLE
6357><P
6358></P
6359></DIV
6360></DIV
6361><HR><DIV
6362CLASS="REFSECT2"
6363><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00006364NAME="AEN11147"
Daniel Veillard35925471999-02-25 08:46:07 +00006365></A
6366><H3
6367><A
6368NAME="XMLPARSECDSECT"
6369></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006370>xmlParseCDSect ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006371><TABLE
6372BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006373BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006374WIDTH="100%"
6375CELLPADDING="6"
6376><TR
6377><TD
6378><PRE
6379CLASS="PROGRAMLISTING"
6380>void xmlParseCDSect (<A
6381HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6382>xmlParserCtxtPtr</A
6383> ctxt);</PRE
6384></TD
6385></TR
6386></TABLE
6387><P
6388>Parse escaped pure raw content.</P
6389><P
6390>[18] CDSect ::= CDStart CData CDEnd</P
6391><P
6392>[19] CDStart ::= '&lt;![CDATA['</P
6393><P
6394>[20] Data ::= (Char* - (Char* ']]&gt;' Char*))</P
6395><P
6396>[21] CDEnd ::= ']]&gt;'</P
6397><P
6398></P
6399><DIV
6400CLASS="INFORMALTABLE"
6401><P
6402></P
6403><TABLE
6404BORDER="0"
6405WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006406BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006407CELLSPACING="0"
6408CELLPADDING="4"
6409CLASS="CALSTABLE"
6410><TR
6411><TD
6412WIDTH="20%"
6413ALIGN="RIGHT"
6414VALIGN="TOP"
6415><TT
6416CLASS="PARAMETER"
6417><I
6418>ctxt</I
6419></TT
6420>&nbsp;:</TD
6421><TD
6422WIDTH="80%"
6423ALIGN="LEFT"
6424VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006425> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006426></TR
6427></TABLE
6428><P
6429></P
6430></DIV
6431></DIV
6432><HR><DIV
6433CLASS="REFSECT2"
6434><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00006435NAME="AEN11167"
Daniel Veillard35925471999-02-25 08:46:07 +00006436></A
6437><H3
6438><A
6439NAME="XMLPARSECONTENT"
6440></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006441>xmlParseContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006442><TABLE
6443BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006444BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006445WIDTH="100%"
6446CELLPADDING="6"
6447><TR
6448><TD
6449><PRE
6450CLASS="PROGRAMLISTING"
6451>void xmlParseContent (<A
6452HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6453>xmlParserCtxtPtr</A
6454> ctxt);</PRE
6455></TD
6456></TR
6457></TABLE
6458><P
6459>Parse a content:</P
6460><P
6461>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
6462><P
6463></P
6464><DIV
6465CLASS="INFORMALTABLE"
6466><P
6467></P
6468><TABLE
6469BORDER="0"
6470WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006471BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006472CELLSPACING="0"
6473CELLPADDING="4"
6474CLASS="CALSTABLE"
6475><TR
6476><TD
6477WIDTH="20%"
6478ALIGN="RIGHT"
6479VALIGN="TOP"
6480><TT
6481CLASS="PARAMETER"
6482><I
6483>ctxt</I
6484></TT
6485>&nbsp;:</TD
6486><TD
6487WIDTH="80%"
6488ALIGN="LEFT"
6489VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006490> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006491></TR
6492></TABLE
6493><P
6494></P
6495></DIV
6496></DIV
6497><HR><DIV
6498CLASS="REFSECT2"
6499><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00006500NAME="AEN11184"
Daniel Veillard35925471999-02-25 08:46:07 +00006501></A
6502><H3
6503><A
6504NAME="XMLPARSEELEMENT"
6505></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006506>xmlParseElement ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006507><TABLE
6508BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006509BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006510WIDTH="100%"
6511CELLPADDING="6"
6512><TR
6513><TD
6514><PRE
6515CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00006516>void xmlParseElement (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006517HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6518>xmlParserCtxtPtr</A
6519> ctxt);</PRE
6520></TD
6521></TR
6522></TABLE
6523><P
6524>parse an XML element, this is highly recursive</P
6525><P
6526>[39] element ::= EmptyElemTag | STag content ETag</P
6527><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006528>[ WFC: Element Type Match ]
6529The Name in an element's end-tag must match the element type in the
6530start-tag. </P
6531><P
6532>[ VC: Element Valid ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006533An element is valid if there is a declaration matching elementdecl
Daniel Veillardb05deb71999-08-10 19:04:08 +00006534where the Name matches the element type and one of the following holds:
6535- The declaration matches EMPTY and the element has no content.
6536- The declaration matches children and the sequence of child elements
6537belongs to the language generated by the regular expression in the
6538content model, with optional white space (characters matching the
6539nonterminal S) between each pair of child elements.
6540- The declaration matches Mixed and the content consists of character
6541data and child elements whose types match names in the content model.
6542- The declaration matches ANY, and the types of any child elements have
6543been declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006544><P
6545></P
6546><DIV
6547CLASS="INFORMALTABLE"
6548><P
6549></P
6550><TABLE
6551BORDER="0"
6552WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006553BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006554CELLSPACING="0"
6555CELLPADDING="4"
6556CLASS="CALSTABLE"
6557><TR
6558><TD
6559WIDTH="20%"
6560ALIGN="RIGHT"
6561VALIGN="TOP"
6562><TT
6563CLASS="PARAMETER"
6564><I
6565>ctxt</I
6566></TT
6567>&nbsp;:</TD
6568><TD
6569WIDTH="80%"
6570ALIGN="LEFT"
6571VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006572> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006573></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006574></TABLE
6575><P
6576></P
6577></DIV
6578></DIV
6579><HR><DIV
6580CLASS="REFSECT2"
6581><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00006582NAME="AEN11203"
Daniel Veillard35925471999-02-25 08:46:07 +00006583></A
6584><H3
6585><A
6586NAME="XMLPARSEVERSIONNUM"
6587></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006588>xmlParseVersionNum ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006589><TABLE
6590BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006591BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006592WIDTH="100%"
6593CELLPADDING="6"
6594><TR
6595><TD
6596><PRE
6597CLASS="PROGRAMLISTING"
6598><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006599HREF="gnome-xml-tree.html#XMLCHAR"
6600>xmlChar</A
6601>* xmlParseVersionNum (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006602HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6603>xmlParserCtxtPtr</A
6604> ctxt);</PRE
6605></TD
6606></TR
6607></TABLE
6608><P
6609>parse the XML version value.</P
6610><P
6611>[26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</P
6612><P
6613></P
6614><DIV
6615CLASS="INFORMALTABLE"
6616><P
6617></P
6618><TABLE
6619BORDER="0"
6620WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006621BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006622CELLSPACING="0"
6623CELLPADDING="4"
6624CLASS="CALSTABLE"
6625><TR
6626><TD
6627WIDTH="20%"
6628ALIGN="RIGHT"
6629VALIGN="TOP"
6630><TT
6631CLASS="PARAMETER"
6632><I
6633>ctxt</I
6634></TT
6635>&nbsp;:</TD
6636><TD
6637WIDTH="80%"
6638ALIGN="LEFT"
6639VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006640> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006641></TR
6642><TR
6643><TD
6644WIDTH="20%"
6645ALIGN="RIGHT"
6646VALIGN="TOP"
6647><I
6648CLASS="EMPHASIS"
6649>Returns</I
6650> :</TD
6651><TD
6652WIDTH="80%"
6653ALIGN="LEFT"
6654VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006655>the string giving the XML version number, or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006656></TR
6657></TABLE
6658><P
6659></P
6660></DIV
6661></DIV
6662><HR><DIV
6663CLASS="REFSECT2"
6664><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00006665NAME="AEN11225"
Daniel Veillard35925471999-02-25 08:46:07 +00006666></A
6667><H3
6668><A
6669NAME="XMLPARSEVERSIONINFO"
6670></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006671>xmlParseVersionInfo ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006672><TABLE
6673BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006674BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006675WIDTH="100%"
6676CELLPADDING="6"
6677><TR
6678><TD
6679><PRE
6680CLASS="PROGRAMLISTING"
6681><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006682HREF="gnome-xml-tree.html#XMLCHAR"
6683>xmlChar</A
6684>* xmlParseVersionInfo (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006685HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6686>xmlParserCtxtPtr</A
6687> ctxt);</PRE
6688></TD
6689></TR
6690></TABLE
6691><P
6692>parse the XML version.</P
6693><P
6694>[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")</P
6695><P
6696>[25] Eq ::= S? '=' S?</P
6697><P
6698></P
6699><DIV
6700CLASS="INFORMALTABLE"
6701><P
6702></P
6703><TABLE
6704BORDER="0"
6705WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006706BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006707CELLSPACING="0"
6708CELLPADDING="4"
6709CLASS="CALSTABLE"
6710><TR
6711><TD
6712WIDTH="20%"
6713ALIGN="RIGHT"
6714VALIGN="TOP"
6715><TT
6716CLASS="PARAMETER"
6717><I
6718>ctxt</I
6719></TT
6720>&nbsp;:</TD
6721><TD
6722WIDTH="80%"
6723ALIGN="LEFT"
6724VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006725> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006726></TR
6727><TR
6728><TD
6729WIDTH="20%"
6730ALIGN="RIGHT"
6731VALIGN="TOP"
6732><I
6733CLASS="EMPHASIS"
6734>Returns</I
6735> :</TD
6736><TD
6737WIDTH="80%"
6738ALIGN="LEFT"
6739VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006740>the version string, e.g. "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006741></TR
6742></TABLE
6743><P
6744></P
6745></DIV
6746></DIV
6747><HR><DIV
6748CLASS="REFSECT2"
6749><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00006750NAME="AEN11248"
Daniel Veillard35925471999-02-25 08:46:07 +00006751></A
6752><H3
6753><A
6754NAME="XMLPARSEENCNAME"
6755></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006756>xmlParseEncName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006757><TABLE
6758BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006759BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006760WIDTH="100%"
6761CELLPADDING="6"
6762><TR
6763><TD
6764><PRE
6765CLASS="PROGRAMLISTING"
6766><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006767HREF="gnome-xml-tree.html#XMLCHAR"
6768>xmlChar</A
6769>* xmlParseEncName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006770HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6771>xmlParserCtxtPtr</A
6772> ctxt);</PRE
6773></TD
6774></TR
6775></TABLE
6776><P
6777>parse the XML encoding name</P
6778><P
6779>[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</P
6780><P
6781></P
6782><DIV
6783CLASS="INFORMALTABLE"
6784><P
6785></P
6786><TABLE
6787BORDER="0"
6788WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006789BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006790CELLSPACING="0"
6791CELLPADDING="4"
6792CLASS="CALSTABLE"
6793><TR
6794><TD
6795WIDTH="20%"
6796ALIGN="RIGHT"
6797VALIGN="TOP"
6798><TT
6799CLASS="PARAMETER"
6800><I
6801>ctxt</I
6802></TT
6803>&nbsp;:</TD
6804><TD
6805WIDTH="80%"
6806ALIGN="LEFT"
6807VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006808> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006809></TR
6810><TR
6811><TD
6812WIDTH="20%"
6813ALIGN="RIGHT"
6814VALIGN="TOP"
6815><I
6816CLASS="EMPHASIS"
6817>Returns</I
6818> :</TD
6819><TD
6820WIDTH="80%"
6821ALIGN="LEFT"
6822VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006823>the encoding name value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006824></TR
6825></TABLE
6826><P
6827></P
6828></DIV
6829></DIV
6830><HR><DIV
6831CLASS="REFSECT2"
6832><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00006833NAME="AEN11270"
Daniel Veillard35925471999-02-25 08:46:07 +00006834></A
6835><H3
6836><A
6837NAME="XMLPARSEENCODINGDECL"
6838></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006839>xmlParseEncodingDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006840><TABLE
6841BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006842BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006843WIDTH="100%"
6844CELLPADDING="6"
6845><TR
6846><TD
6847><PRE
6848CLASS="PROGRAMLISTING"
6849><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006850HREF="gnome-xml-tree.html#XMLCHAR"
6851>xmlChar</A
6852>* xmlParseEncodingDecl (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006853HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6854>xmlParserCtxtPtr</A
6855> ctxt);</PRE
6856></TD
6857></TR
6858></TABLE
6859><P
6860>parse the XML encoding declaration</P
6861><P
6862>[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")</P
6863><P
6864>TODO: this should setup the conversion filters.</P
6865><P
6866></P
6867><DIV
6868CLASS="INFORMALTABLE"
6869><P
6870></P
6871><TABLE
6872BORDER="0"
6873WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006874BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006875CELLSPACING="0"
6876CELLPADDING="4"
6877CLASS="CALSTABLE"
6878><TR
6879><TD
6880WIDTH="20%"
6881ALIGN="RIGHT"
6882VALIGN="TOP"
6883><TT
6884CLASS="PARAMETER"
6885><I
6886>ctxt</I
6887></TT
6888>&nbsp;:</TD
6889><TD
6890WIDTH="80%"
6891ALIGN="LEFT"
6892VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006893> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006894></TR
6895><TR
6896><TD
6897WIDTH="20%"
6898ALIGN="RIGHT"
6899VALIGN="TOP"
6900><I
6901CLASS="EMPHASIS"
6902>Returns</I
6903> :</TD
6904><TD
6905WIDTH="80%"
6906ALIGN="LEFT"
6907VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006908>the encoding value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006909></TR
6910></TABLE
6911><P
6912></P
6913></DIV
6914></DIV
6915><HR><DIV
6916CLASS="REFSECT2"
6917><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00006918NAME="AEN11293"
Daniel Veillard35925471999-02-25 08:46:07 +00006919></A
6920><H3
6921><A
6922NAME="XMLPARSESDDECL"
6923></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006924>xmlParseSDDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006925><TABLE
6926BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006927BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006928WIDTH="100%"
6929CELLPADDING="6"
6930><TR
6931><TD
6932><PRE
6933CLASS="PROGRAMLISTING"
6934>int xmlParseSDDecl (<A
6935HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6936>xmlParserCtxtPtr</A
6937> ctxt);</PRE
6938></TD
6939></TR
6940></TABLE
6941><P
6942>parse the XML standalone declaration</P
6943><P
6944>[32] SDDecl ::= S 'standalone' Eq
Daniel Veillardb05deb71999-08-10 19:04:08 +00006945(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"')) </P
6946><P
6947>[ VC: Standalone Document Declaration ]
6948TODO The standalone document declaration must have the value "no"
6949if any external markup declarations contain declarations of:
6950- attributes with default values, if elements to which these
6951attributes apply appear in the document without specifications
6952of values for these attributes, or
6953- entities (other than amp, lt, gt, apos, quot), if references
6954to those entities appear in the document, or
6955- attributes with values subject to normalization, where the
6956attribute appears in the document with a value which will change
6957as a result of normalization, or
6958- element types with element content, if white space occurs directly
6959within any instance of those types.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006960><P
6961></P
6962><DIV
6963CLASS="INFORMALTABLE"
6964><P
6965></P
6966><TABLE
6967BORDER="0"
6968WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006969BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006970CELLSPACING="0"
6971CELLPADDING="4"
6972CLASS="CALSTABLE"
6973><TR
6974><TD
6975WIDTH="20%"
6976ALIGN="RIGHT"
6977VALIGN="TOP"
6978><TT
6979CLASS="PARAMETER"
6980><I
6981>ctxt</I
6982></TT
6983>&nbsp;:</TD
6984><TD
6985WIDTH="80%"
6986ALIGN="LEFT"
6987VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006988> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006989></TR
6990><TR
6991><TD
6992WIDTH="20%"
6993ALIGN="RIGHT"
6994VALIGN="TOP"
6995><I
6996CLASS="EMPHASIS"
6997>Returns</I
6998> :</TD
6999><TD
7000WIDTH="80%"
7001ALIGN="LEFT"
7002VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007003>1 if standalone, 0 otherwise</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007004></TR
7005></TABLE
7006><P
7007></P
7008></DIV
7009></DIV
7010><HR><DIV
7011CLASS="REFSECT2"
7012><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00007013NAME="AEN11315"
Daniel Veillard35925471999-02-25 08:46:07 +00007014></A
7015><H3
7016><A
7017NAME="XMLPARSEXMLDECL"
7018></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007019>xmlParseXMLDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007020><TABLE
7021BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007022BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007023WIDTH="100%"
7024CELLPADDING="6"
7025><TR
7026><TD
7027><PRE
7028CLASS="PROGRAMLISTING"
7029>void xmlParseXMLDecl (<A
7030HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7031>xmlParserCtxtPtr</A
7032> ctxt);</PRE
7033></TD
7034></TR
7035></TABLE
7036><P
7037>parse an XML declaration header</P
7038><P
7039>[23] XMLDecl ::= '&lt;?xml' VersionInfo EncodingDecl? SDDecl? S? '?&gt;'</P
7040><P
7041></P
7042><DIV
7043CLASS="INFORMALTABLE"
7044><P
7045></P
7046><TABLE
7047BORDER="0"
7048WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007049BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007050CELLSPACING="0"
7051CELLPADDING="4"
7052CLASS="CALSTABLE"
7053><TR
7054><TD
7055WIDTH="20%"
7056ALIGN="RIGHT"
7057VALIGN="TOP"
7058><TT
7059CLASS="PARAMETER"
7060><I
7061>ctxt</I
7062></TT
7063>&nbsp;:</TD
7064><TD
7065WIDTH="80%"
7066ALIGN="LEFT"
7067VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007068> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007069></TR
7070></TABLE
7071><P
7072></P
7073></DIV
7074></DIV
7075><HR><DIV
7076CLASS="REFSECT2"
7077><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00007078NAME="AEN11332"
Daniel Veillard35925471999-02-25 08:46:07 +00007079></A
7080><H3
7081><A
7082NAME="XMLPARSEMISC"
7083></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007084>xmlParseMisc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007085><TABLE
7086BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007087BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007088WIDTH="100%"
7089CELLPADDING="6"
7090><TR
7091><TD
7092><PRE
7093CLASS="PROGRAMLISTING"
7094>void xmlParseMisc (<A
7095HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7096>xmlParserCtxtPtr</A
7097> ctxt);</PRE
7098></TD
7099></TR
7100></TABLE
7101><P
7102>parse an XML Misc* optionnal field.</P
7103><P
7104>[27] Misc ::= Comment | PI | S</P
7105><P
7106></P
7107><DIV
7108CLASS="INFORMALTABLE"
7109><P
7110></P
7111><TABLE
7112BORDER="0"
7113WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007114BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007115CELLSPACING="0"
7116CELLPADDING="4"
7117CLASS="CALSTABLE"
7118><TR
7119><TD
7120WIDTH="20%"
7121ALIGN="RIGHT"
7122VALIGN="TOP"
7123><TT
7124CLASS="PARAMETER"
7125><I
7126>ctxt</I
7127></TT
7128>&nbsp;:</TD
7129><TD
7130WIDTH="80%"
7131ALIGN="LEFT"
7132VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007133> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007134></TR
7135></TABLE
7136><P
7137></P
7138></DIV
7139></DIV
Daniel Veillard011b63c1999-06-02 17:44:04 +00007140><HR><DIV
7141CLASS="REFSECT2"
7142><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00007143NAME="AEN11349"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007144></A
7145><H3
7146><A
7147NAME="XMLPARSEEXTERNALSUBSET"
7148></A
7149>xmlParseExternalSubset ()</H3
7150><TABLE
7151BORDER="0"
7152BGCOLOR="#D6E8FF"
7153WIDTH="100%"
7154CELLPADDING="6"
7155><TR
7156><TD
7157><PRE
7158CLASS="PROGRAMLISTING"
7159>void xmlParseExternalSubset (<A
7160HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7161>xmlParserCtxtPtr</A
7162> ctxt,
7163 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007164HREF="gnome-xml-tree.html#XMLCHAR"
7165>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007166> *ExternalID,
7167 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007168HREF="gnome-xml-tree.html#XMLCHAR"
7169>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007170> *SystemID);</PRE
7171></TD
7172></TR
7173></TABLE
7174><P
7175>parse Markup declarations from an external subset</P
7176><P
7177>[30] extSubset ::= textDecl? extSubsetDecl</P
7178><P
7179>[31] extSubsetDecl ::= (markupdecl | conditionalSect | PEReference | S) *</P
7180><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007181></P
7182><DIV
7183CLASS="INFORMALTABLE"
7184><P
7185></P
7186><TABLE
7187BORDER="0"
7188WIDTH="100%"
7189BGCOLOR="#FFD0D0"
7190CELLSPACING="0"
7191CELLPADDING="4"
7192CLASS="CALSTABLE"
7193><TR
7194><TD
7195WIDTH="20%"
7196ALIGN="RIGHT"
7197VALIGN="TOP"
7198><TT
7199CLASS="PARAMETER"
7200><I
7201>ctxt</I
7202></TT
7203>&nbsp;:</TD
7204><TD
7205WIDTH="80%"
7206ALIGN="LEFT"
7207VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007208> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007209></TR
7210><TR
7211><TD
7212WIDTH="20%"
7213ALIGN="RIGHT"
7214VALIGN="TOP"
7215><TT
7216CLASS="PARAMETER"
7217><I
7218>ExternalID</I
7219></TT
7220>&nbsp;:</TD
7221><TD
7222WIDTH="80%"
7223ALIGN="LEFT"
7224VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007225> the external identifier</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007226></TR
7227><TR
7228><TD
7229WIDTH="20%"
7230ALIGN="RIGHT"
7231VALIGN="TOP"
7232><TT
7233CLASS="PARAMETER"
7234><I
7235>SystemID</I
7236></TT
7237>&nbsp;:</TD
7238><TD
7239WIDTH="80%"
7240ALIGN="LEFT"
7241VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007242> the system identifier (or URL)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007243></TR
7244></TABLE
7245><P
7246></P
7247></DIV
7248></DIV
7249><HR><DIV
7250CLASS="REFSECT2"
7251><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00007252NAME="AEN11377"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007253></A
7254><H3
7255><A
7256NAME="XML-SUBSTITUTE-NONE"
7257></A
7258>XML_SUBSTITUTE_NONE</H3
7259><TABLE
7260BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007261BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007262WIDTH="100%"
7263CELLPADDING="6"
7264><TR
7265><TD
7266><PRE
7267CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007268>#define XML_SUBSTITUTE_NONE 0</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007269></TD
7270></TR
7271></TABLE
7272><P
7273></P
7274></DIV
7275><HR><DIV
7276CLASS="REFSECT2"
7277><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00007278NAME="AEN11382"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007279></A
7280><H3
7281><A
7282NAME="XML-SUBSTITUTE-REF"
7283></A
7284>XML_SUBSTITUTE_REF</H3
7285><TABLE
7286BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007287BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007288WIDTH="100%"
7289CELLPADDING="6"
7290><TR
7291><TD
7292><PRE
7293CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007294>#define XML_SUBSTITUTE_REF 1</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007295></TD
7296></TR
7297></TABLE
7298><P
7299></P
7300></DIV
7301><HR><DIV
7302CLASS="REFSECT2"
7303><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00007304NAME="AEN11387"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007305></A
7306><H3
7307><A
7308NAME="XML-SUBSTITUTE-PEREF"
7309></A
7310>XML_SUBSTITUTE_PEREF</H3
7311><TABLE
7312BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007313BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007314WIDTH="100%"
7315CELLPADDING="6"
7316><TR
7317><TD
7318><PRE
7319CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007320>#define XML_SUBSTITUTE_PEREF 2</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007321></TD
7322></TR
7323></TABLE
7324><P
7325></P
7326></DIV
7327><HR><DIV
7328CLASS="REFSECT2"
7329><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00007330NAME="AEN11392"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007331></A
7332><H3
7333><A
7334NAME="XML-SUBSTITUTE-BOTH"
7335></A
7336>XML_SUBSTITUTE_BOTH</H3
7337><TABLE
7338BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007339BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007340WIDTH="100%"
7341CELLPADDING="6"
7342><TR
7343><TD
7344><PRE
7345CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007346>#define XML_SUBSTITUTE_BOTH 3</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007347></TD
7348></TR
7349></TABLE
7350><P
7351></P
7352></DIV
7353><HR><DIV
7354CLASS="REFSECT2"
7355><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00007356NAME="AEN11397"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007357></A
7358><H3
7359><A
7360NAME="XMLDECODEENTITIES"
7361></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007362>xmlDecodeEntities ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00007363><TABLE
7364BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007365BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007366WIDTH="100%"
7367CELLPADDING="6"
7368><TR
7369><TD
7370><PRE
7371CLASS="PROGRAMLISTING"
7372><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007373HREF="gnome-xml-tree.html#XMLCHAR"
7374>xmlChar</A
7375>* xmlDecodeEntities (<A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007376HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7377>xmlParserCtxtPtr</A
7378> ctxt,
7379 int len,
7380 int what,
7381 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007382HREF="gnome-xml-tree.html#XMLCHAR"
7383>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007384> end,
7385 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007386HREF="gnome-xml-tree.html#XMLCHAR"
7387>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007388> end2,
7389 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007390HREF="gnome-xml-tree.html#XMLCHAR"
7391>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007392> end3);</PRE
7393></TD
7394></TR
7395></TABLE
7396><P
7397>[67] Reference ::= EntityRef | CharRef</P
7398><P
7399>[69] PEReference ::= '%' Name ';'</P
7400><P
7401></P
7402><DIV
7403CLASS="INFORMALTABLE"
7404><P
7405></P
7406><TABLE
7407BORDER="0"
7408WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007409BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007410CELLSPACING="0"
7411CELLPADDING="4"
7412CLASS="CALSTABLE"
7413><TR
7414><TD
7415WIDTH="20%"
7416ALIGN="RIGHT"
7417VALIGN="TOP"
7418><TT
7419CLASS="PARAMETER"
7420><I
7421>ctxt</I
7422></TT
7423>&nbsp;:</TD
7424><TD
7425WIDTH="80%"
7426ALIGN="LEFT"
7427VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007428> the parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007429></TR
7430><TR
7431><TD
7432WIDTH="20%"
7433ALIGN="RIGHT"
7434VALIGN="TOP"
7435><TT
7436CLASS="PARAMETER"
7437><I
7438>len</I
7439></TT
7440>&nbsp;:</TD
7441><TD
7442WIDTH="80%"
7443ALIGN="LEFT"
7444VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007445> the len to decode (in bytes !), -1 for no size limit</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007446></TR
7447><TR
7448><TD
7449WIDTH="20%"
7450ALIGN="RIGHT"
7451VALIGN="TOP"
7452><TT
7453CLASS="PARAMETER"
7454><I
7455>what</I
7456></TT
7457>&nbsp;:</TD
7458><TD
7459WIDTH="80%"
7460ALIGN="LEFT"
7461VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007462> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007463></TR
7464><TR
7465><TD
7466WIDTH="20%"
7467ALIGN="RIGHT"
7468VALIGN="TOP"
7469><TT
7470CLASS="PARAMETER"
7471><I
7472>end</I
7473></TT
7474>&nbsp;:</TD
7475><TD
7476WIDTH="80%"
7477ALIGN="LEFT"
7478VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007479> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007480></TR
7481><TR
7482><TD
7483WIDTH="20%"
7484ALIGN="RIGHT"
7485VALIGN="TOP"
7486><TT
7487CLASS="PARAMETER"
7488><I
7489>end2</I
7490></TT
7491>&nbsp;:</TD
7492><TD
7493WIDTH="80%"
7494ALIGN="LEFT"
7495VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007496> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007497></TR
7498><TR
7499><TD
7500WIDTH="20%"
7501ALIGN="RIGHT"
7502VALIGN="TOP"
7503><TT
7504CLASS="PARAMETER"
7505><I
7506>end3</I
7507></TT
7508>&nbsp;:</TD
7509><TD
7510WIDTH="80%"
7511ALIGN="LEFT"
7512VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007513> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007514></TR
7515><TR
7516><TD
7517WIDTH="20%"
7518ALIGN="RIGHT"
7519VALIGN="TOP"
7520><I
7521CLASS="EMPHASIS"
7522>Returns</I
7523> :</TD
7524><TD
7525WIDTH="80%"
7526ALIGN="LEFT"
7527VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007528>A newly allocated string with the substitution done. The caller
7529must deallocate it !</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007530></TR
7531></TABLE
7532><P
7533></P
7534></DIV
7535></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +00007536><HR><DIV
7537CLASS="REFSECT2"
7538><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00007539NAME="AEN11442"
Daniel Veillard14fff061999-06-22 21:49:07 +00007540></A
7541><H3
7542><A
7543NAME="NODEPUSH"
7544></A
7545>nodePush ()</H3
7546><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00007547BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007548BGCOLOR="#D6E8FF"
7549WIDTH="100%"
7550CELLPADDING="6"
Daniel Veillard35925471999-02-25 08:46:07 +00007551><TR
7552><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007553><PRE
7554CLASS="PROGRAMLISTING"
7555>int nodePush (<A
7556HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7557>xmlParserCtxtPtr</A
7558> ctxt,
7559 <A
7560HREF="gnome-xml-tree.html#XMLNODEPTR"
7561>xmlNodePtr</A
7562> value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00007563></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007564></TR
7565></TABLE
7566><P
7567></P
7568><DIV
7569CLASS="INFORMALTABLE"
7570><P
7571></P
7572><TABLE
7573BORDER="0"
7574WIDTH="100%"
7575BGCOLOR="#FFD0D0"
7576CELLSPACING="0"
7577CELLPADDING="4"
7578CLASS="CALSTABLE"
7579><TR
Daniel Veillard35925471999-02-25 08:46:07 +00007580><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007581WIDTH="20%"
7582ALIGN="RIGHT"
7583VALIGN="TOP"
7584><TT
7585CLASS="PARAMETER"
7586><I
7587>ctxt</I
7588></TT
7589>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007590><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007591WIDTH="80%"
7592ALIGN="LEFT"
7593VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00007594>&nbsp;</TD
7595></TR
7596><TR
7597><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007598WIDTH="20%"
7599ALIGN="RIGHT"
7600VALIGN="TOP"
7601><TT
7602CLASS="PARAMETER"
7603><I
7604>value</I
7605></TT
7606>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007607><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007608WIDTH="80%"
7609ALIGN="LEFT"
7610VALIGN="TOP"
7611>&nbsp;</TD
7612></TR
7613><TR
7614><TD
7615WIDTH="20%"
7616ALIGN="RIGHT"
7617VALIGN="TOP"
7618><I
7619CLASS="EMPHASIS"
7620>Returns</I
7621> :</TD
7622><TD
7623WIDTH="80%"
7624ALIGN="LEFT"
7625VALIGN="TOP"
7626>&nbsp;</TD
7627></TR
7628></TABLE
7629><P
7630></P
7631></DIV
7632></DIV
7633><HR><DIV
7634CLASS="REFSECT2"
Daniel Veillard35925471999-02-25 08:46:07 +00007635><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00007636NAME="AEN11466"
Daniel Veillard14fff061999-06-22 21:49:07 +00007637></A
7638><H3
7639><A
7640NAME="NODEPOP"
7641></A
7642>nodePop ()</H3
7643><TABLE
7644BORDER="0"
7645BGCOLOR="#D6E8FF"
7646WIDTH="100%"
7647CELLPADDING="6"
7648><TR
7649><TD
7650><PRE
7651CLASS="PROGRAMLISTING"
7652><A
7653HREF="gnome-xml-tree.html#XMLNODEPTR"
7654>xmlNodePtr</A
7655> nodePop (<A
7656HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7657>xmlParserCtxtPtr</A
7658> ctxt);</PRE
7659></TD
7660></TR
7661></TABLE
7662><P
7663></P
7664><DIV
7665CLASS="INFORMALTABLE"
7666><P
7667></P
7668><TABLE
7669BORDER="0"
7670WIDTH="100%"
7671BGCOLOR="#FFD0D0"
7672CELLSPACING="0"
7673CELLPADDING="4"
7674CLASS="CALSTABLE"
7675><TR
7676><TD
7677WIDTH="20%"
7678ALIGN="RIGHT"
7679VALIGN="TOP"
7680><TT
7681CLASS="PARAMETER"
7682><I
7683>ctxt</I
7684></TT
7685>&nbsp;:</TD
7686><TD
7687WIDTH="80%"
7688ALIGN="LEFT"
7689VALIGN="TOP"
7690>&nbsp;</TD
7691></TR
7692><TR
7693><TD
7694WIDTH="20%"
7695ALIGN="RIGHT"
7696VALIGN="TOP"
7697><I
7698CLASS="EMPHASIS"
7699>Returns</I
7700> :</TD
7701><TD
7702WIDTH="80%"
7703ALIGN="LEFT"
7704VALIGN="TOP"
7705>&nbsp;</TD
7706></TR
7707></TABLE
7708><P
7709></P
7710></DIV
7711></DIV
7712><HR><DIV
7713CLASS="REFSECT2"
7714><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00007715NAME="AEN11486"
Daniel Veillard14fff061999-06-22 21:49:07 +00007716></A
7717><H3
7718><A
7719NAME="INPUTPUSH"
7720></A
7721>inputPush ()</H3
7722><TABLE
7723BORDER="0"
7724BGCOLOR="#D6E8FF"
7725WIDTH="100%"
7726CELLPADDING="6"
7727><TR
7728><TD
7729><PRE
7730CLASS="PROGRAMLISTING"
7731>int inputPush (<A
7732HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7733>xmlParserCtxtPtr</A
7734> ctxt,
7735 <A
7736HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
7737>xmlParserInputPtr</A
7738> value);</PRE
7739></TD
7740></TR
7741></TABLE
7742><P
7743></P
7744><DIV
7745CLASS="INFORMALTABLE"
7746><P
7747></P
7748><TABLE
7749BORDER="0"
7750WIDTH="100%"
7751BGCOLOR="#FFD0D0"
7752CELLSPACING="0"
7753CELLPADDING="4"
7754CLASS="CALSTABLE"
7755><TR
7756><TD
7757WIDTH="20%"
7758ALIGN="RIGHT"
7759VALIGN="TOP"
7760><TT
7761CLASS="PARAMETER"
7762><I
7763>ctxt</I
7764></TT
7765>&nbsp;:</TD
7766><TD
7767WIDTH="80%"
7768ALIGN="LEFT"
7769VALIGN="TOP"
7770>&nbsp;</TD
7771></TR
7772><TR
7773><TD
7774WIDTH="20%"
7775ALIGN="RIGHT"
7776VALIGN="TOP"
7777><TT
7778CLASS="PARAMETER"
7779><I
7780>value</I
7781></TT
7782>&nbsp;:</TD
7783><TD
7784WIDTH="80%"
7785ALIGN="LEFT"
7786VALIGN="TOP"
7787>&nbsp;</TD
7788></TR
7789><TR
7790><TD
7791WIDTH="20%"
7792ALIGN="RIGHT"
7793VALIGN="TOP"
7794><I
7795CLASS="EMPHASIS"
7796>Returns</I
7797> :</TD
7798><TD
7799WIDTH="80%"
7800ALIGN="LEFT"
7801VALIGN="TOP"
7802>&nbsp;</TD
7803></TR
7804></TABLE
7805><P
7806></P
7807></DIV
7808></DIV
7809><HR><DIV
7810CLASS="REFSECT2"
7811><A
Daniel Veillardf3a73582000-01-05 14:58:39 +00007812NAME="AEN11510"
Daniel Veillard14fff061999-06-22 21:49:07 +00007813></A
7814><H3
7815><A
7816NAME="INPUTPOP"
7817></A
7818>inputPop ()</H3
7819><TABLE
7820BORDER="0"
7821BGCOLOR="#D6E8FF"
7822WIDTH="100%"
7823CELLPADDING="6"
7824><TR
7825><TD
7826><PRE
7827CLASS="PROGRAMLISTING"
7828><A
7829HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
7830>xmlParserInputPtr</A
7831> inputPop (<A
7832HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7833>xmlParserCtxtPtr</A
7834> ctxt);</PRE
7835></TD
7836></TR
7837></TABLE
7838><P
7839></P
7840><DIV
7841CLASS="INFORMALTABLE"
7842><P
7843></P
7844><TABLE
7845BORDER="0"
7846WIDTH="100%"
7847BGCOLOR="#FFD0D0"
7848CELLSPACING="0"
7849CELLPADDING="4"
7850CLASS="CALSTABLE"
7851><TR
7852><TD
7853WIDTH="20%"
7854ALIGN="RIGHT"
7855VALIGN="TOP"
7856><TT
7857CLASS="PARAMETER"
7858><I
7859>ctxt</I
7860></TT
7861>&nbsp;:</TD
7862><TD
7863WIDTH="80%"
7864ALIGN="LEFT"
7865VALIGN="TOP"
7866>&nbsp;</TD
7867></TR
7868><TR
7869><TD
7870WIDTH="20%"
7871ALIGN="RIGHT"
7872VALIGN="TOP"
7873><I
7874CLASS="EMPHASIS"
7875>Returns</I
7876> :</TD
7877><TD
7878WIDTH="80%"
7879ALIGN="LEFT"
7880VALIGN="TOP"
7881>&nbsp;</TD
7882></TR
7883></TABLE
7884><P
7885></P
7886></DIV
7887></DIV
7888></DIV
7889><DIV
7890CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00007891><BR
7892CLEAR="all"><BR><TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +00007893WIDTH="100%"
7894BORDER="0"
7895BGCOLOR="#000000"
7896CELLPADDING="1"
7897CELLSPACING="0"
7898><TR
7899><TD
7900WIDTH="25%"
7901BGCOLOR="#C00000"
7902ALIGN="left"
7903><A
Daniel Veillard294cbca1999-12-03 13:19:09 +00007904HREF="gnome-xml-xmlio.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007905><FONT
7906COLOR="#FFFFFF"
7907SIZE="3"
7908><B
7909>&#60;&#60;&#60; Previous Page</B
7910></FONT
7911></A
Daniel Veillard35925471999-02-25 08:46:07 +00007912></TD
7913><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007914WIDTH="25%"
7915BGCOLOR="#0000C0"
7916ALIGN="center"
7917><FONT
7918COLOR="#FFFFFF"
7919SIZE="3"
7920><B
7921><A
7922HREF="book1.html"
7923><FONT
7924COLOR="#FFFFFF"
7925SIZE="3"
7926><B
7927>Home</B
7928></FONT
7929></A
7930></B
7931></FONT
7932></TD
7933><TD
7934WIDTH="25%"
7935BGCOLOR="#00C000"
7936ALIGN="center"
7937><FONT
7938COLOR="#FFFFFF"
7939SIZE="3"
7940><B
7941><A
Daniel Veillard35008381999-10-25 13:15:52 +00007942HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007943><FONT
7944COLOR="#FFFFFF"
7945SIZE="3"
7946><B
7947>Up</B
7948></FONT
7949></A
7950></B
7951></FONT
7952></TD
7953><TD
7954WIDTH="25%"
7955BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00007956ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00007957><A
Daniel Veillard294cbca1999-12-03 13:19:09 +00007958HREF="gnome-xml-encoding.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00007959><FONT
7960COLOR="#FFFFFF"
7961SIZE="3"
7962><B
7963>Next Page &#62;&#62;&#62;</B
7964></FONT
7965></A
7966></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007967></TR
7968><TR
7969><TD
7970COLSPAN="2"
7971ALIGN="left"
7972><FONT
7973COLOR="#FFFFFF"
7974SIZE="3"
7975><B
Daniel Veillard294cbca1999-12-03 13:19:09 +00007976>xmlIO</B
Daniel Veillard14fff061999-06-22 21:49:07 +00007977></FONT
7978></TD
7979><TD
7980COLSPAN="2"
7981ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00007982><FONT
7983COLOR="#FFFFFF"
7984SIZE="3"
7985><B
Daniel Veillard294cbca1999-12-03 13:19:09 +00007986>encoding</B
Daniel Veillard1566d3a1999-07-15 14:24:29 +00007987></FONT
7988></TD
Daniel Veillard35925471999-02-25 08:46:07 +00007989></TR
7990></TABLE
7991></DIV
7992></BODY
7993></HTML
7994>