blob: 2f2bd1eeb1ffa7378c300a65cd307b1365bbe7af [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>parserInternals</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
8REL="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 Veillard35008381999-10-25 13:15:52 +000015TITLE="nanohttp"
16HREF="gnome-xml-nanohttp.html"><LINK
Daniel Veillard1566d3a1999-07-15 14:24:29 +000017REL="NEXT"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +000018TITLE="xmlmemory"
19HREF="gnome-xml-xmlmemory.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 Veillard35008381999-10-25 13:15:52 +000047HREF="gnome-xml-nanohttp.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 Veillard6bd26dc1999-09-03 14:28:40 +0000101HREF="gnome-xml-xmlmemory.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
114>parserInternals</H1
115><DIV
116CLASS="REFNAMEDIV"
117><A
Daniel Veillard35008381999-10-25 13:15:52 +0000118NAME="AEN7195"
Daniel Veillard35925471999-02-25 08:46:07 +0000119></A
120><H2
121>Name</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000122>parserInternals &#8212; </DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFSYNOPSISDIV"
125><A
Daniel Veillard35008381999-10-25 13:15:52 +0000126NAME="AEN7198"
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
209HREF="gnome-xml-parserinternals.html#XMLCREATEDOCPARSERCTXT"
210>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
231HREF="gnome-xml-parserinternals.html#XMLFREEPARSERCTXT"
232>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,
251 <GTKDOCLINK
252HREF="XMLCHARENCODING"
253>xmlCharEncoding</GTKDOCLINK
254> 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 Veillard14fff061999-06-22 21:49:07 +0000698> ctxt,
699 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000700HREF="gnome-xml-tree.html#XMLCHAR"
701>xmlChar</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000702> *tagname);
Daniel Veillard35925471999-02-25 08:46:07 +0000703void <A
704HREF="gnome-xml-parserinternals.html#XMLPARSECDSECT"
705>xmlParseCDSect</A
706> (<A
707HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
708>xmlParserCtxtPtr</A
709> ctxt);
710void <A
711HREF="gnome-xml-parserinternals.html#XMLPARSECONTENT"
712>xmlParseContent</A
713> (<A
714HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
715>xmlParserCtxtPtr</A
716> ctxt);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000717void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000718HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENT"
719>xmlParseElement</A
720> (<A
721HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
722>xmlParserCtxtPtr</A
723> ctxt);
724<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000725HREF="gnome-xml-tree.html#XMLCHAR"
726>xmlChar</A
727>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000728HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONNUM"
729>xmlParseVersionNum</A
730> (<A
731HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
732>xmlParserCtxtPtr</A
733> ctxt);
734<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000735HREF="gnome-xml-tree.html#XMLCHAR"
736>xmlChar</A
737>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000738HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONINFO"
739>xmlParseVersionInfo</A
740> (<A
741HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
742>xmlParserCtxtPtr</A
743> ctxt);
744<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000745HREF="gnome-xml-tree.html#XMLCHAR"
746>xmlChar</A
747>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000748HREF="gnome-xml-parserinternals.html#XMLPARSEENCNAME"
749>xmlParseEncName</A
750> (<A
751HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
752>xmlParserCtxtPtr</A
753> ctxt);
754<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000755HREF="gnome-xml-tree.html#XMLCHAR"
756>xmlChar</A
757>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000758HREF="gnome-xml-parserinternals.html#XMLPARSEENCODINGDECL"
759>xmlParseEncodingDecl</A
760> (<A
761HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
762>xmlParserCtxtPtr</A
763> ctxt);
764int <A
765HREF="gnome-xml-parserinternals.html#XMLPARSESDDECL"
766>xmlParseSDDecl</A
767> (<A
768HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
769>xmlParserCtxtPtr</A
770> ctxt);
771void <A
772HREF="gnome-xml-parserinternals.html#XMLPARSEXMLDECL"
773>xmlParseXMLDecl</A
774> (<A
775HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
776>xmlParserCtxtPtr</A
777> ctxt);
778void <A
779HREF="gnome-xml-parserinternals.html#XMLPARSEMISC"
780>xmlParseMisc</A
781> (<A
782HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
783>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000784> ctxt);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000785void <A
786HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALSUBSET"
787>xmlParseExternalSubset</A
788> (<A
789HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
790>xmlParserCtxtPtr</A
791> ctxt,
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> *ExternalID,
796 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000797HREF="gnome-xml-tree.html#XMLCHAR"
798>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000799> *SystemID);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000800#define <A
801HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-NONE"
802>XML_SUBSTITUTE_NONE</A
803>
804#define <A
805HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-REF"
806>XML_SUBSTITUTE_REF</A
807>
808#define <A
809HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-PEREF"
810>XML_SUBSTITUTE_PEREF</A
811>
812#define <A
813HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-BOTH"
814>XML_SUBSTITUTE_BOTH</A
815>
816<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000817HREF="gnome-xml-tree.html#XMLCHAR"
818>xmlChar</A
819>* <A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000820HREF="gnome-xml-parserinternals.html#XMLDECODEENTITIES"
821>xmlDecodeEntities</A
822> (<A
823HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
824>xmlParserCtxtPtr</A
825> ctxt,
826 int len,
827 int what,
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> end,
832 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000833HREF="gnome-xml-tree.html#XMLCHAR"
834>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000835> end2,
836 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000837HREF="gnome-xml-tree.html#XMLCHAR"
838>xmlChar</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000839> end3);
840int <A
841HREF="gnome-xml-parserinternals.html#NODEPUSH"
842>nodePush</A
843> (<A
844HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
845>xmlParserCtxtPtr</A
846> ctxt,
847 <A
848HREF="gnome-xml-tree.html#XMLNODEPTR"
849>xmlNodePtr</A
850> value);
851<A
852HREF="gnome-xml-tree.html#XMLNODEPTR"
853>xmlNodePtr</A
854> <A
855HREF="gnome-xml-parserinternals.html#NODEPOP"
856>nodePop</A
857> (<A
858HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
859>xmlParserCtxtPtr</A
860> ctxt);
861int <A
862HREF="gnome-xml-parserinternals.html#INPUTPUSH"
863>inputPush</A
864> (<A
865HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
866>xmlParserCtxtPtr</A
867> ctxt,
868 <A
869HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
870>xmlParserInputPtr</A
871> value);
872<A
873HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
874>xmlParserInputPtr</A
875> <A
876HREF="gnome-xml-parserinternals.html#INPUTPOP"
877>inputPop</A
878> (<A
879HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
880>xmlParserCtxtPtr</A
881> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000882></TD
883></TR
884></TABLE
885></DIV
886><DIV
887CLASS="REFSECT1"
888><A
Daniel Veillard35008381999-10-25 13:15:52 +0000889NAME="AEN7409"
Daniel Veillard35925471999-02-25 08:46:07 +0000890></A
891><H2
892>Description</H2
893><P
894></P
895></DIV
896><DIV
897CLASS="REFSECT1"
898><A
Daniel Veillard35008381999-10-25 13:15:52 +0000899NAME="AEN7412"
Daniel Veillard35925471999-02-25 08:46:07 +0000900></A
901><H2
902>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000903><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000904CLASS="REFSECT2"
905><A
Daniel Veillard35008381999-10-25 13:15:52 +0000906NAME="AEN7414"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000907></A
908><H3
909><A
910NAME="XML-MAX-NAMELEN"
911></A
912>XML_MAX_NAMELEN</H3
913><TABLE
914BORDER="0"
915BGCOLOR="#D6E8FF"
916WIDTH="100%"
917CELLPADDING="6"
918><TR
919><TD
920><PRE
921CLASS="PROGRAMLISTING"
Daniel Veillard35008381999-10-25 13:15:52 +0000922>#define XML_MAX_NAMELEN 1000</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000923></TD
924></TR
925></TABLE
926><P
927></P
928></DIV
929><HR><DIV
930CLASS="REFSECT2"
931><A
Daniel Veillard35008381999-10-25 13:15:52 +0000932NAME="AEN7419"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000933></A
934><H3
935><A
936NAME="CHARVAL"
937></A
938>CHARVAL</H3
939><P
940></P
941></DIV
942><HR><DIV
943CLASS="REFSECT2"
944><A
Daniel Veillard35008381999-10-25 13:15:52 +0000945NAME="AEN7423"
Daniel Veillardb05deb71999-08-10 19:04:08 +0000946></A
947><H3
948><A
949NAME="NEXTCHARVAL"
950></A
951>NEXTCHARVAL()</H3
952><TABLE
953BORDER="0"
954BGCOLOR="#D6E8FF"
955WIDTH="100%"
956CELLPADDING="6"
957><TR
958><TD
959><PRE
960CLASS="PROGRAMLISTING"
961>#define NEXTCHARVAL(p)</PRE
962></TD
963></TR
964></TABLE
965><P
966></P
967><DIV
968CLASS="INFORMALTABLE"
969><P
970></P
971><TABLE
972BORDER="0"
973WIDTH="100%"
974BGCOLOR="#FFD0D0"
975CELLSPACING="0"
976CELLPADDING="4"
977CLASS="CALSTABLE"
978><TR
979><TD
980WIDTH="20%"
981ALIGN="RIGHT"
982VALIGN="TOP"
983><TT
984CLASS="PARAMETER"
985><I
986>p</I
987></TT
988>&nbsp;:</TD
989><TD
990WIDTH="80%"
991ALIGN="LEFT"
992VALIGN="TOP"
993>&nbsp;</TD
994></TR
995></TABLE
996><P
997></P
998></DIV
999></DIV
1000><HR><DIV
1001CLASS="REFSECT2"
1002><A
Daniel Veillard35008381999-10-25 13:15:52 +00001003NAME="AEN7437"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001004></A
1005><H3
1006><A
1007NAME="SKIPCHARVAL"
1008></A
1009>SKIPCHARVAL()</H3
1010><TABLE
1011BORDER="0"
1012BGCOLOR="#D6E8FF"
1013WIDTH="100%"
1014CELLPADDING="6"
1015><TR
1016><TD
1017><PRE
1018CLASS="PROGRAMLISTING"
Daniel Veillard35008381999-10-25 13:15:52 +00001019>#define SKIPCHARVAL(p) (p)++;</PRE
Daniel Veillardb05deb71999-08-10 19:04:08 +00001020></TD
1021></TR
1022></TABLE
1023><P
1024></P
1025><DIV
1026CLASS="INFORMALTABLE"
1027><P
1028></P
1029><TABLE
1030BORDER="0"
1031WIDTH="100%"
1032BGCOLOR="#FFD0D0"
1033CELLSPACING="0"
1034CELLPADDING="4"
1035CLASS="CALSTABLE"
1036><TR
1037><TD
1038WIDTH="20%"
1039ALIGN="RIGHT"
1040VALIGN="TOP"
1041><TT
1042CLASS="PARAMETER"
1043><I
1044>p</I
1045></TT
1046>&nbsp;:</TD
1047><TD
1048WIDTH="80%"
1049ALIGN="LEFT"
1050VALIGN="TOP"
1051>&nbsp;</TD
1052></TR
1053></TABLE
1054><P
1055></P
1056></DIV
1057></DIV
1058><HR><DIV
1059CLASS="REFSECT2"
1060><A
Daniel Veillard35008381999-10-25 13:15:52 +00001061NAME="AEN7451"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001062></A
1063><H3
1064><A
1065NAME="IS-CHAR"
1066></A
1067>IS_CHAR()</H3
1068><TABLE
1069BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001070BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001071WIDTH="100%"
1072CELLPADDING="6"
1073><TR
1074><TD
1075><PRE
1076CLASS="PROGRAMLISTING"
1077>#define IS_CHAR(c)</PRE
1078></TD
1079></TR
1080></TABLE
1081><P
1082></P
1083><DIV
1084CLASS="INFORMALTABLE"
1085><P
1086></P
1087><TABLE
1088BORDER="0"
1089WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001090BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001091CELLSPACING="0"
1092CELLPADDING="4"
1093CLASS="CALSTABLE"
1094><TR
1095><TD
1096WIDTH="20%"
1097ALIGN="RIGHT"
1098VALIGN="TOP"
1099><TT
1100CLASS="PARAMETER"
1101><I
1102>c</I
1103></TT
1104>&nbsp;:</TD
1105><TD
1106WIDTH="80%"
1107ALIGN="LEFT"
1108VALIGN="TOP"
1109>&nbsp;</TD
1110></TR
1111></TABLE
1112><P
1113></P
1114></DIV
1115></DIV
1116><HR><DIV
1117CLASS="REFSECT2"
1118><A
Daniel Veillard35008381999-10-25 13:15:52 +00001119NAME="AEN7465"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001120></A
1121><H3
1122><A
1123NAME="IS-BLANK"
1124></A
1125>IS_BLANK()</H3
1126><TABLE
1127BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001128BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001129WIDTH="100%"
1130CELLPADDING="6"
1131><TR
1132><TD
1133><PRE
1134CLASS="PROGRAMLISTING"
1135>#define IS_BLANK(c)</PRE
1136></TD
1137></TR
1138></TABLE
1139><P
1140></P
1141><DIV
1142CLASS="INFORMALTABLE"
1143><P
1144></P
1145><TABLE
1146BORDER="0"
1147WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001148BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001149CELLSPACING="0"
1150CELLPADDING="4"
1151CLASS="CALSTABLE"
1152><TR
1153><TD
1154WIDTH="20%"
1155ALIGN="RIGHT"
1156VALIGN="TOP"
1157><TT
1158CLASS="PARAMETER"
1159><I
1160>c</I
1161></TT
1162>&nbsp;:</TD
1163><TD
1164WIDTH="80%"
1165ALIGN="LEFT"
1166VALIGN="TOP"
1167>&nbsp;</TD
1168></TR
1169></TABLE
1170><P
1171></P
1172></DIV
1173></DIV
1174><HR><DIV
1175CLASS="REFSECT2"
1176><A
Daniel Veillard35008381999-10-25 13:15:52 +00001177NAME="AEN7479"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001178></A
1179><H3
1180><A
1181NAME="IS-BASECHAR"
1182></A
1183>IS_BASECHAR()</H3
1184><TABLE
1185BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001186BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001187WIDTH="100%"
1188CELLPADDING="6"
1189><TR
1190><TD
1191><PRE
1192CLASS="PROGRAMLISTING"
1193>#define IS_BASECHAR(c)</PRE
1194></TD
1195></TR
1196></TABLE
1197><P
1198></P
1199><DIV
1200CLASS="INFORMALTABLE"
1201><P
1202></P
1203><TABLE
1204BORDER="0"
1205WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001206BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001207CELLSPACING="0"
1208CELLPADDING="4"
1209CLASS="CALSTABLE"
1210><TR
1211><TD
1212WIDTH="20%"
1213ALIGN="RIGHT"
1214VALIGN="TOP"
1215><TT
1216CLASS="PARAMETER"
1217><I
1218>c</I
1219></TT
1220>&nbsp;:</TD
1221><TD
1222WIDTH="80%"
1223ALIGN="LEFT"
1224VALIGN="TOP"
1225>&nbsp;</TD
1226></TR
1227></TABLE
1228><P
1229></P
1230></DIV
1231></DIV
1232><HR><DIV
1233CLASS="REFSECT2"
1234><A
Daniel Veillard35008381999-10-25 13:15:52 +00001235NAME="AEN7493"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001236></A
1237><H3
1238><A
1239NAME="IS-DIGIT"
1240></A
1241>IS_DIGIT()</H3
1242><TABLE
1243BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001244BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001245WIDTH="100%"
1246CELLPADDING="6"
1247><TR
1248><TD
1249><PRE
1250CLASS="PROGRAMLISTING"
1251>#define IS_DIGIT(c)</PRE
1252></TD
1253></TR
1254></TABLE
1255><P
1256></P
1257><DIV
1258CLASS="INFORMALTABLE"
1259><P
1260></P
1261><TABLE
1262BORDER="0"
1263WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001264BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001265CELLSPACING="0"
1266CELLPADDING="4"
1267CLASS="CALSTABLE"
1268><TR
1269><TD
1270WIDTH="20%"
1271ALIGN="RIGHT"
1272VALIGN="TOP"
1273><TT
1274CLASS="PARAMETER"
1275><I
1276>c</I
1277></TT
1278>&nbsp;:</TD
1279><TD
1280WIDTH="80%"
1281ALIGN="LEFT"
1282VALIGN="TOP"
1283>&nbsp;</TD
1284></TR
1285></TABLE
1286><P
1287></P
1288></DIV
1289></DIV
1290><HR><DIV
1291CLASS="REFSECT2"
1292><A
Daniel Veillard35008381999-10-25 13:15:52 +00001293NAME="AEN7507"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001294></A
1295><H3
1296><A
1297NAME="IS-COMBINING"
1298></A
1299>IS_COMBINING()</H3
1300><TABLE
1301BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001302BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001303WIDTH="100%"
1304CELLPADDING="6"
1305><TR
1306><TD
1307><PRE
1308CLASS="PROGRAMLISTING"
1309>#define IS_COMBINING(c)</PRE
1310></TD
1311></TR
1312></TABLE
1313><P
1314></P
1315><DIV
1316CLASS="INFORMALTABLE"
1317><P
1318></P
1319><TABLE
1320BORDER="0"
1321WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001322BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001323CELLSPACING="0"
1324CELLPADDING="4"
1325CLASS="CALSTABLE"
1326><TR
1327><TD
1328WIDTH="20%"
1329ALIGN="RIGHT"
1330VALIGN="TOP"
1331><TT
1332CLASS="PARAMETER"
1333><I
1334>c</I
1335></TT
1336>&nbsp;:</TD
1337><TD
1338WIDTH="80%"
1339ALIGN="LEFT"
1340VALIGN="TOP"
1341>&nbsp;</TD
1342></TR
1343></TABLE
1344><P
1345></P
1346></DIV
1347></DIV
1348><HR><DIV
1349CLASS="REFSECT2"
1350><A
Daniel Veillard35008381999-10-25 13:15:52 +00001351NAME="AEN7521"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001352></A
1353><H3
1354><A
1355NAME="IS-EXTENDER"
1356></A
1357>IS_EXTENDER()</H3
1358><TABLE
1359BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001360BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001361WIDTH="100%"
1362CELLPADDING="6"
1363><TR
1364><TD
1365><PRE
1366CLASS="PROGRAMLISTING"
1367>#define IS_EXTENDER(c)</PRE
1368></TD
1369></TR
1370></TABLE
1371><P
1372></P
1373><DIV
1374CLASS="INFORMALTABLE"
1375><P
1376></P
1377><TABLE
1378BORDER="0"
1379WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001380BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001381CELLSPACING="0"
1382CELLPADDING="4"
1383CLASS="CALSTABLE"
1384><TR
1385><TD
1386WIDTH="20%"
1387ALIGN="RIGHT"
1388VALIGN="TOP"
1389><TT
1390CLASS="PARAMETER"
1391><I
1392>c</I
1393></TT
1394>&nbsp;:</TD
1395><TD
1396WIDTH="80%"
1397ALIGN="LEFT"
1398VALIGN="TOP"
1399>&nbsp;</TD
1400></TR
1401></TABLE
1402><P
1403></P
1404></DIV
1405></DIV
1406><HR><DIV
1407CLASS="REFSECT2"
1408><A
Daniel Veillard35008381999-10-25 13:15:52 +00001409NAME="AEN7535"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001410></A
1411><H3
1412><A
1413NAME="IS-IDEOGRAPHIC"
1414></A
1415>IS_IDEOGRAPHIC()</H3
1416><TABLE
1417BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001418BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001419WIDTH="100%"
1420CELLPADDING="6"
1421><TR
1422><TD
1423><PRE
1424CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001425>#define IS_IDEOGRAPHIC(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001426></TD
1427></TR
1428></TABLE
1429><P
1430></P
1431><DIV
1432CLASS="INFORMALTABLE"
1433><P
1434></P
1435><TABLE
1436BORDER="0"
1437WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001438BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001439CELLSPACING="0"
1440CELLPADDING="4"
1441CLASS="CALSTABLE"
1442><TR
1443><TD
1444WIDTH="20%"
1445ALIGN="RIGHT"
1446VALIGN="TOP"
1447><TT
1448CLASS="PARAMETER"
1449><I
1450>c</I
1451></TT
1452>&nbsp;:</TD
1453><TD
1454WIDTH="80%"
1455ALIGN="LEFT"
1456VALIGN="TOP"
1457>&nbsp;</TD
1458></TR
1459></TABLE
1460><P
1461></P
1462></DIV
1463></DIV
1464><HR><DIV
1465CLASS="REFSECT2"
1466><A
Daniel Veillard35008381999-10-25 13:15:52 +00001467NAME="AEN7549"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001468></A
1469><H3
1470><A
1471NAME="IS-LETTER"
1472></A
1473>IS_LETTER()</H3
1474><TABLE
1475BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001476BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001477WIDTH="100%"
1478CELLPADDING="6"
1479><TR
1480><TD
1481><PRE
1482CLASS="PROGRAMLISTING"
1483>#define IS_LETTER(c)</PRE
1484></TD
1485></TR
1486></TABLE
1487><P
1488></P
1489><DIV
1490CLASS="INFORMALTABLE"
1491><P
1492></P
1493><TABLE
1494BORDER="0"
1495WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001496BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001497CELLSPACING="0"
1498CELLPADDING="4"
1499CLASS="CALSTABLE"
1500><TR
1501><TD
1502WIDTH="20%"
1503ALIGN="RIGHT"
1504VALIGN="TOP"
1505><TT
1506CLASS="PARAMETER"
1507><I
1508>c</I
1509></TT
1510>&nbsp;:</TD
1511><TD
1512WIDTH="80%"
1513ALIGN="LEFT"
1514VALIGN="TOP"
1515>&nbsp;</TD
1516></TR
1517></TABLE
1518><P
1519></P
1520></DIV
1521></DIV
1522><HR><DIV
1523CLASS="REFSECT2"
1524><A
Daniel Veillard35008381999-10-25 13:15:52 +00001525NAME="AEN7563"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001526></A
1527><H3
1528><A
1529NAME="IS-PUBIDCHAR"
1530></A
1531>IS_PUBIDCHAR()</H3
1532><TABLE
1533BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001534BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001535WIDTH="100%"
1536CELLPADDING="6"
1537><TR
1538><TD
1539><PRE
1540CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001541>#define IS_PUBIDCHAR(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001542></TD
1543></TR
1544></TABLE
1545><P
1546></P
1547><DIV
1548CLASS="INFORMALTABLE"
1549><P
1550></P
1551><TABLE
1552BORDER="0"
1553WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001554BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001555CELLSPACING="0"
1556CELLPADDING="4"
1557CLASS="CALSTABLE"
1558><TR
1559><TD
1560WIDTH="20%"
1561ALIGN="RIGHT"
1562VALIGN="TOP"
1563><TT
1564CLASS="PARAMETER"
1565><I
1566>c</I
1567></TT
1568>&nbsp;:</TD
1569><TD
1570WIDTH="80%"
1571ALIGN="LEFT"
1572VALIGN="TOP"
1573>&nbsp;</TD
1574></TR
1575></TABLE
1576><P
1577></P
1578></DIV
1579></DIV
1580><HR><DIV
1581CLASS="REFSECT2"
1582><A
Daniel Veillard35008381999-10-25 13:15:52 +00001583NAME="AEN7577"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001584></A
1585><H3
1586><A
1587NAME="SKIP-EOL"
1588></A
1589>SKIP_EOL()</H3
1590><TABLE
1591BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001592BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001593WIDTH="100%"
1594CELLPADDING="6"
1595><TR
1596><TD
1597><PRE
1598CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001599>#define SKIP_EOL(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001600></TD
1601></TR
1602></TABLE
1603><P
1604></P
1605><DIV
1606CLASS="INFORMALTABLE"
1607><P
1608></P
1609><TABLE
1610BORDER="0"
1611WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001612BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001613CELLSPACING="0"
1614CELLPADDING="4"
1615CLASS="CALSTABLE"
1616><TR
1617><TD
1618WIDTH="20%"
1619ALIGN="RIGHT"
1620VALIGN="TOP"
1621><TT
1622CLASS="PARAMETER"
1623><I
1624>p</I
1625></TT
1626>&nbsp;:</TD
1627><TD
1628WIDTH="80%"
1629ALIGN="LEFT"
1630VALIGN="TOP"
1631>&nbsp;</TD
1632></TR
1633></TABLE
1634><P
1635></P
1636></DIV
1637></DIV
1638><HR><DIV
1639CLASS="REFSECT2"
1640><A
Daniel Veillard35008381999-10-25 13:15:52 +00001641NAME="AEN7591"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001642></A
1643><H3
1644><A
1645NAME="MOVETO-ENDTAG"
1646></A
1647>MOVETO_ENDTAG()</H3
1648><TABLE
1649BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001650BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001651WIDTH="100%"
1652CELLPADDING="6"
1653><TR
1654><TD
1655><PRE
1656CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001657>#define MOVETO_ENDTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001658></TD
1659></TR
1660></TABLE
1661><P
1662></P
1663><DIV
1664CLASS="INFORMALTABLE"
1665><P
1666></P
1667><TABLE
1668BORDER="0"
1669WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001670BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001671CELLSPACING="0"
1672CELLPADDING="4"
1673CLASS="CALSTABLE"
1674><TR
1675><TD
1676WIDTH="20%"
1677ALIGN="RIGHT"
1678VALIGN="TOP"
1679><TT
1680CLASS="PARAMETER"
1681><I
1682>p</I
1683></TT
1684>&nbsp;:</TD
1685><TD
1686WIDTH="80%"
1687ALIGN="LEFT"
1688VALIGN="TOP"
1689>&nbsp;</TD
1690></TR
1691></TABLE
1692><P
1693></P
1694></DIV
1695></DIV
1696><HR><DIV
1697CLASS="REFSECT2"
1698><A
Daniel Veillard35008381999-10-25 13:15:52 +00001699NAME="AEN7605"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001700></A
1701><H3
1702><A
1703NAME="MOVETO-STARTTAG"
1704></A
1705>MOVETO_STARTTAG()</H3
1706><TABLE
1707BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001708BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001709WIDTH="100%"
1710CELLPADDING="6"
1711><TR
1712><TD
1713><PRE
1714CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001715>#define MOVETO_STARTTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001716></TD
1717></TR
1718></TABLE
1719><P
1720></P
1721><DIV
1722CLASS="INFORMALTABLE"
1723><P
1724></P
1725><TABLE
1726BORDER="0"
1727WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001728BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001729CELLSPACING="0"
1730CELLPADDING="4"
1731CLASS="CALSTABLE"
1732><TR
1733><TD
1734WIDTH="20%"
1735ALIGN="RIGHT"
1736VALIGN="TOP"
1737><TT
1738CLASS="PARAMETER"
1739><I
1740>p</I
1741></TT
1742>&nbsp;:</TD
1743><TD
1744WIDTH="80%"
1745ALIGN="LEFT"
1746VALIGN="TOP"
1747>&nbsp;</TD
1748></TR
1749></TABLE
1750><P
1751></P
1752></DIV
1753></DIV
1754><HR><DIV
1755CLASS="REFSECT2"
1756><A
Daniel Veillard35008381999-10-25 13:15:52 +00001757NAME="AEN7619"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001758></A
1759><H3
1760><A
1761NAME="XMLCREATEDOCPARSERCTXT"
1762></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001763>xmlCreateDocParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001764><TABLE
1765BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001766BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001767WIDTH="100%"
1768CELLPADDING="6"
1769><TR
1770><TD
1771><PRE
1772CLASS="PROGRAMLISTING"
1773><A
1774HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1775>xmlParserCtxtPtr</A
1776> xmlCreateDocParserCtxt (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001777HREF="gnome-xml-tree.html#XMLCHAR"
1778>xmlChar</A
Daniel Veillardd692aa41999-02-28 21:54:31 +00001779> *cur);</PRE
1780></TD
1781></TR
1782></TABLE
1783><P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001784>Create a parser context for an XML in-memory document.</P
1785><P
Daniel Veillardd692aa41999-02-28 21:54:31 +00001786></P
1787><DIV
1788CLASS="INFORMALTABLE"
1789><P
1790></P
1791><TABLE
1792BORDER="0"
1793WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001794BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001795CELLSPACING="0"
1796CELLPADDING="4"
1797CLASS="CALSTABLE"
1798><TR
1799><TD
1800WIDTH="20%"
1801ALIGN="RIGHT"
1802VALIGN="TOP"
1803><TT
1804CLASS="PARAMETER"
1805><I
1806>cur</I
1807></TT
1808>&nbsp;:</TD
1809><TD
1810WIDTH="80%"
1811ALIGN="LEFT"
1812VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001813> a pointer to an array of xmlChar</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001814></TR
1815><TR
1816><TD
1817WIDTH="20%"
1818ALIGN="RIGHT"
1819VALIGN="TOP"
1820><I
1821CLASS="EMPHASIS"
1822>Returns</I
1823> :</TD
1824><TD
1825WIDTH="80%"
1826ALIGN="LEFT"
1827VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001828>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001829></TR
1830></TABLE
1831><P
1832></P
1833></DIV
1834></DIV
1835><HR><DIV
1836CLASS="REFSECT2"
1837><A
Daniel Veillard35008381999-10-25 13:15:52 +00001838NAME="AEN7640"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001839></A
1840><H3
1841><A
1842NAME="XMLCREATEFILEPARSERCTXT"
1843></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001844>xmlCreateFileParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001845><TABLE
1846BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001847BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001848WIDTH="100%"
1849CELLPADDING="6"
1850><TR
1851><TD
1852><PRE
1853CLASS="PROGRAMLISTING"
1854><A
1855HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1856>xmlParserCtxtPtr</A
1857> xmlCreateFileParserCtxt (const char *filename);</PRE
1858></TD
1859></TR
1860></TABLE
1861><P
1862>Create a parser context for a file content.
1863Automatic support for ZLIB/Compress compressed document is provided
1864by default if found at compile-time.</P
1865><P
1866></P
1867><DIV
1868CLASS="INFORMALTABLE"
1869><P
1870></P
1871><TABLE
1872BORDER="0"
1873WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001874BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001875CELLSPACING="0"
1876CELLPADDING="4"
1877CLASS="CALSTABLE"
1878><TR
1879><TD
1880WIDTH="20%"
1881ALIGN="RIGHT"
1882VALIGN="TOP"
1883><TT
1884CLASS="PARAMETER"
1885><I
1886>filename</I
1887></TT
1888>&nbsp;:</TD
1889><TD
1890WIDTH="80%"
1891ALIGN="LEFT"
1892VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001893> the filename</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001894></TR
1895><TR
1896><TD
1897WIDTH="20%"
1898ALIGN="RIGHT"
1899VALIGN="TOP"
1900><I
1901CLASS="EMPHASIS"
1902>Returns</I
1903> :</TD
1904><TD
1905WIDTH="80%"
1906ALIGN="LEFT"
1907VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001908>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001909></TR
1910></TABLE
1911><P
1912></P
1913></DIV
1914></DIV
1915><HR><DIV
1916CLASS="REFSECT2"
1917><A
Daniel Veillard35008381999-10-25 13:15:52 +00001918NAME="AEN7660"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001919></A
1920><H3
1921><A
1922NAME="XMLCREATEMEMORYPARSERCTXT"
1923></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001924>xmlCreateMemoryParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001925><TABLE
1926BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001927BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001928WIDTH="100%"
1929CELLPADDING="6"
1930><TR
1931><TD
1932><PRE
1933CLASS="PROGRAMLISTING"
1934><A
1935HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1936>xmlParserCtxtPtr</A
1937> xmlCreateMemoryParserCtxt (char *buffer,
1938 int size);</PRE
1939></TD
1940></TR
1941></TABLE
1942><P
1943>Create a parser context for an XML in-memory document.</P
1944><P
1945></P
1946><DIV
1947CLASS="INFORMALTABLE"
1948><P
1949></P
1950><TABLE
1951BORDER="0"
1952WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001953BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001954CELLSPACING="0"
1955CELLPADDING="4"
1956CLASS="CALSTABLE"
1957><TR
1958><TD
1959WIDTH="20%"
1960ALIGN="RIGHT"
1961VALIGN="TOP"
1962><TT
1963CLASS="PARAMETER"
1964><I
1965>buffer</I
1966></TT
1967>&nbsp;:</TD
1968><TD
1969WIDTH="80%"
1970ALIGN="LEFT"
1971VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001972> an pointer to a char array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001973></TR
1974><TR
1975><TD
1976WIDTH="20%"
1977ALIGN="RIGHT"
1978VALIGN="TOP"
1979><TT
1980CLASS="PARAMETER"
1981><I
1982>size</I
1983></TT
1984>&nbsp;:</TD
1985><TD
1986WIDTH="80%"
1987ALIGN="LEFT"
1988VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00001989> the siwe of the array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001990></TR
1991><TR
1992><TD
1993WIDTH="20%"
1994ALIGN="RIGHT"
1995VALIGN="TOP"
1996><I
1997CLASS="EMPHASIS"
1998>Returns</I
1999> :</TD
2000><TD
2001WIDTH="80%"
2002ALIGN="LEFT"
2003VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002004>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002005></TR
2006></TABLE
2007><P
2008></P
2009></DIV
2010></DIV
2011><HR><DIV
2012CLASS="REFSECT2"
2013><A
Daniel Veillard35008381999-10-25 13:15:52 +00002014NAME="AEN7684"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002015></A
2016><H3
2017><A
2018NAME="XMLFREEPARSERCTXT"
2019></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002020>xmlFreeParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00002021><TABLE
2022BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002023BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002024WIDTH="100%"
2025CELLPADDING="6"
2026><TR
2027><TD
2028><PRE
2029CLASS="PROGRAMLISTING"
2030>void xmlFreeParserCtxt (<A
2031HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2032>xmlParserCtxtPtr</A
2033> ctxt);</PRE
2034></TD
2035></TR
2036></TABLE
2037><P
2038>Free all the memory used by a parser context. However the parsed
Daniel Veillard5099ae81999-04-21 20:12:07 +00002039document in ctxt-&gt;myDoc is not freed.</P
Daniel Veillardd692aa41999-02-28 21:54:31 +00002040><P
2041></P
2042><DIV
2043CLASS="INFORMALTABLE"
2044><P
2045></P
2046><TABLE
2047BORDER="0"
2048WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002049BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002050CELLSPACING="0"
2051CELLPADDING="4"
2052CLASS="CALSTABLE"
2053><TR
2054><TD
2055WIDTH="20%"
2056ALIGN="RIGHT"
2057VALIGN="TOP"
2058><TT
2059CLASS="PARAMETER"
2060><I
2061>ctxt</I
2062></TT
2063>&nbsp;:</TD
2064><TD
2065WIDTH="80%"
2066ALIGN="LEFT"
2067VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002068> an XML parser context</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002069></TR
2070></TABLE
2071><P
2072></P
2073></DIV
2074></DIV
2075><HR><DIV
2076CLASS="REFSECT2"
2077><A
Daniel Veillard35008381999-10-25 13:15:52 +00002078NAME="AEN7700"
Daniel Veillard35925471999-02-25 08:46:07 +00002079></A
2080><H3
2081><A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002082NAME="XMLNEWPARSERCTXT"
Daniel Veillard35925471999-02-25 08:46:07 +00002083></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002084>xmlNewParserCtxt ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002085><TABLE
2086BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002087BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002088WIDTH="100%"
2089CELLPADDING="6"
2090><TR
2091><TD
2092><PRE
2093CLASS="PROGRAMLISTING"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002094><A
Daniel Veillard35925471999-02-25 08:46:07 +00002095HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2096>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00002097> xmlNewParserCtxt (void);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00002098></TD
2099></TR
2100></TABLE
2101><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00002102>Allocate and initialize a new parser context.</P
2103><P
2104></P
2105><DIV
2106CLASS="INFORMALTABLE"
2107><P
2108></P
2109><TABLE
2110BORDER="0"
2111WIDTH="100%"
2112BGCOLOR="#FFD0D0"
2113CELLSPACING="0"
2114CELLPADDING="4"
2115CLASS="CALSTABLE"
2116><TR
2117><TD
2118WIDTH="20%"
2119ALIGN="RIGHT"
2120VALIGN="TOP"
2121><I
2122CLASS="EMPHASIS"
2123>Returns</I
2124> :</TD
2125><TD
2126WIDTH="80%"
2127ALIGN="LEFT"
2128VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002129>the xmlParserCtxtPtr or NULL</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002130></TR
2131></TABLE
2132><P
2133></P
2134></DIV
2135></DIV
2136><HR><DIV
2137CLASS="REFSECT2"
2138><A
Daniel Veillard35008381999-10-25 13:15:52 +00002139NAME="AEN7716"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002140></A
2141><H3
2142><A
2143NAME="XMLSWITCHENCODING"
2144></A
2145>xmlSwitchEncoding ()</H3
2146><TABLE
2147BORDER="0"
2148BGCOLOR="#D6E8FF"
2149WIDTH="100%"
2150CELLPADDING="6"
2151><TR
2152><TD
2153><PRE
2154CLASS="PROGRAMLISTING"
2155>void xmlSwitchEncoding (<A
2156HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2157>xmlParserCtxtPtr</A
2158> ctxt,
2159 <GTKDOCLINK
2160HREF="XMLCHARENCODING"
2161>xmlCharEncoding</GTKDOCLINK
2162> enc);</PRE
2163></TD
2164></TR
2165></TABLE
2166><P
2167>change the input functions when discovering the character encoding
2168of a given entity.</P
Daniel Veillard35925471999-02-25 08:46:07 +00002169><P
2170></P
2171><DIV
2172CLASS="INFORMALTABLE"
2173><P
2174></P
2175><TABLE
2176BORDER="0"
2177WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002178BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002179CELLSPACING="0"
2180CELLPADDING="4"
2181CLASS="CALSTABLE"
2182><TR
2183><TD
2184WIDTH="20%"
2185ALIGN="RIGHT"
2186VALIGN="TOP"
2187><TT
2188CLASS="PARAMETER"
2189><I
2190>ctxt</I
2191></TT
2192>&nbsp;:</TD
2193><TD
2194WIDTH="80%"
2195ALIGN="LEFT"
2196VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002197> the parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002198></TR
2199><TR
2200><TD
2201WIDTH="20%"
2202ALIGN="RIGHT"
2203VALIGN="TOP"
2204><TT
2205CLASS="PARAMETER"
2206><I
2207>enc</I
2208></TT
2209>&nbsp;:</TD
2210><TD
2211WIDTH="80%"
2212ALIGN="LEFT"
2213VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002214> the encoding value (number)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002215></TR
2216></TABLE
2217><P
2218></P
2219></DIV
2220></DIV
2221><HR><DIV
2222CLASS="REFSECT2"
2223><A
Daniel Veillard35008381999-10-25 13:15:52 +00002224NAME="AEN7737"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002225></A
2226><H3
2227><A
2228NAME="XMLHANDLEENTITY"
2229></A
2230>xmlHandleEntity ()</H3
2231><TABLE
2232BORDER="0"
2233BGCOLOR="#D6E8FF"
2234WIDTH="100%"
2235CELLPADDING="6"
2236><TR
2237><TD
2238><PRE
2239CLASS="PROGRAMLISTING"
2240>void xmlHandleEntity (<A
2241HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2242>xmlParserCtxtPtr</A
2243> ctxt,
2244 <A
2245HREF="gnome-xml-entities.html#XMLENTITYPTR"
2246>xmlEntityPtr</A
2247> entity);</PRE
2248></TD
2249></TR
2250></TABLE
2251><P
2252>Default handling of defined entities, when should we define a new input
2253stream ? When do we just handle that as a set of chars ?</P
2254><P
2255>OBSOLETE: to be removed at some point.</P
2256><P
2257></P
2258><DIV
2259CLASS="INFORMALTABLE"
2260><P
2261></P
2262><TABLE
2263BORDER="0"
2264WIDTH="100%"
2265BGCOLOR="#FFD0D0"
2266CELLSPACING="0"
2267CELLPADDING="4"
2268CLASS="CALSTABLE"
2269><TR
2270><TD
2271WIDTH="20%"
2272ALIGN="RIGHT"
2273VALIGN="TOP"
2274><TT
2275CLASS="PARAMETER"
2276><I
2277>ctxt</I
2278></TT
2279>&nbsp;:</TD
2280><TD
2281WIDTH="80%"
2282ALIGN="LEFT"
2283VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002284> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002285></TR
2286><TR
2287><TD
2288WIDTH="20%"
2289ALIGN="RIGHT"
2290VALIGN="TOP"
2291><TT
2292CLASS="PARAMETER"
2293><I
2294>entity</I
2295></TT
2296>&nbsp;:</TD
2297><TD
2298WIDTH="80%"
2299ALIGN="LEFT"
2300VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002301> an XML entity pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002302></TR
2303></TABLE
2304><P
2305></P
2306></DIV
2307></DIV
2308><HR><DIV
2309CLASS="REFSECT2"
2310><A
Daniel Veillard35008381999-10-25 13:15:52 +00002311NAME="AEN7759"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002312></A
2313><H3
2314><A
2315NAME="XMLNEWENTITYINPUTSTREAM"
2316></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002317>xmlNewEntityInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002318><TABLE
2319BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002320BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002321WIDTH="100%"
2322CELLPADDING="6"
2323><TR
2324><TD
2325><PRE
2326CLASS="PROGRAMLISTING"
2327><A
2328HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2329>xmlParserInputPtr</A
2330> xmlNewEntityInputStream (<A
2331HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2332>xmlParserCtxtPtr</A
2333> ctxt,
2334 <A
2335HREF="gnome-xml-entities.html#XMLENTITYPTR"
2336>xmlEntityPtr</A
2337> entity);</PRE
2338></TD
2339></TR
2340></TABLE
2341><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00002342>Create a new input stream based on an xmlEntityPtr</P
Daniel Veillardbc50b591999-03-01 12:28:53 +00002343><P
2344></P
2345><DIV
2346CLASS="INFORMALTABLE"
2347><P
2348></P
2349><TABLE
2350BORDER="0"
2351WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002352BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002353CELLSPACING="0"
2354CELLPADDING="4"
2355CLASS="CALSTABLE"
2356><TR
2357><TD
2358WIDTH="20%"
2359ALIGN="RIGHT"
2360VALIGN="TOP"
2361><TT
2362CLASS="PARAMETER"
2363><I
2364>ctxt</I
2365></TT
2366>&nbsp;:</TD
2367><TD
2368WIDTH="80%"
2369ALIGN="LEFT"
2370VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002371> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002372></TR
2373><TR
2374><TD
2375WIDTH="20%"
2376ALIGN="RIGHT"
2377VALIGN="TOP"
2378><TT
2379CLASS="PARAMETER"
2380><I
2381>entity</I
2382></TT
2383>&nbsp;:</TD
2384><TD
2385WIDTH="80%"
2386ALIGN="LEFT"
2387VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002388> an Entity pointer</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002389></TR
2390><TR
2391><TD
2392WIDTH="20%"
2393ALIGN="RIGHT"
2394VALIGN="TOP"
2395><I
2396CLASS="EMPHASIS"
2397>Returns</I
2398> :</TD
2399><TD
2400WIDTH="80%"
2401ALIGN="LEFT"
2402VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002403>the new input stream or NULL</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002404></TR
2405></TABLE
2406><P
2407></P
2408></DIV
2409></DIV
2410><HR><DIV
2411CLASS="REFSECT2"
2412><A
Daniel Veillard35008381999-10-25 13:15:52 +00002413NAME="AEN7785"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002414></A
2415><H3
2416><A
2417NAME="XMLPUSHINPUT"
2418></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002419>xmlPushInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002420><TABLE
2421BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002422BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002423WIDTH="100%"
2424CELLPADDING="6"
2425><TR
2426><TD
2427><PRE
2428CLASS="PROGRAMLISTING"
2429>void xmlPushInput (<A
2430HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2431>xmlParserCtxtPtr</A
2432> ctxt,
2433 <A
2434HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2435>xmlParserInputPtr</A
2436> input);</PRE
2437></TD
2438></TR
2439></TABLE
2440><P
2441>xmlPushInput: switch to a new input stream which is stacked on top
2442of the previous one(s).</P
2443><P
2444></P
2445><DIV
2446CLASS="INFORMALTABLE"
2447><P
2448></P
2449><TABLE
2450BORDER="0"
2451WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002452BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002453CELLSPACING="0"
2454CELLPADDING="4"
2455CLASS="CALSTABLE"
2456><TR
2457><TD
2458WIDTH="20%"
2459ALIGN="RIGHT"
2460VALIGN="TOP"
2461><TT
2462CLASS="PARAMETER"
2463><I
2464>ctxt</I
2465></TT
2466>&nbsp;:</TD
2467><TD
2468WIDTH="80%"
2469ALIGN="LEFT"
2470VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002471> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002472></TR
2473><TR
2474><TD
2475WIDTH="20%"
2476ALIGN="RIGHT"
2477VALIGN="TOP"
2478><TT
2479CLASS="PARAMETER"
2480><I
2481>input</I
2482></TT
2483>&nbsp;:</TD
2484><TD
2485WIDTH="80%"
2486ALIGN="LEFT"
2487VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002488> an XML parser input fragment (entity, XML fragment ...).</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002489></TR
2490></TABLE
2491><P
2492></P
2493></DIV
2494></DIV
2495><HR><DIV
2496CLASS="REFSECT2"
2497><A
Daniel Veillard35008381999-10-25 13:15:52 +00002498NAME="AEN7806"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002499></A
2500><H3
2501><A
2502NAME="XMLPOPINPUT"
2503></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002504>xmlPopInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002505><TABLE
2506BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002507BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002508WIDTH="100%"
2509CELLPADDING="6"
2510><TR
2511><TD
2512><PRE
2513CLASS="PROGRAMLISTING"
2514><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002515HREF="gnome-xml-tree.html#XMLCHAR"
2516>xmlChar</A
2517> xmlPopInput (<A
Daniel Veillardbc50b591999-03-01 12:28:53 +00002518HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2519>xmlParserCtxtPtr</A
2520> ctxt);</PRE
2521></TD
2522></TR
2523></TABLE
2524><P
2525>xmlPopInput: the current input pointed by ctxt-&gt;input came to an end
2526pop it and return the next char.</P
2527><P
Daniel Veillardbc50b591999-03-01 12:28:53 +00002528></P
2529><DIV
2530CLASS="INFORMALTABLE"
2531><P
2532></P
2533><TABLE
2534BORDER="0"
2535WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002536BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002537CELLSPACING="0"
2538CELLPADDING="4"
2539CLASS="CALSTABLE"
2540><TR
2541><TD
2542WIDTH="20%"
2543ALIGN="RIGHT"
2544VALIGN="TOP"
2545><TT
2546CLASS="PARAMETER"
2547><I
2548>ctxt</I
2549></TT
2550>&nbsp;:</TD
2551><TD
2552WIDTH="80%"
2553ALIGN="LEFT"
2554VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002555> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002556></TR
2557><TR
2558><TD
2559WIDTH="20%"
2560ALIGN="RIGHT"
2561VALIGN="TOP"
2562><I
2563CLASS="EMPHASIS"
2564>Returns</I
2565> :</TD
2566><TD
2567WIDTH="80%"
2568ALIGN="LEFT"
2569VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002570>the current xmlChar in the parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002571></TR
2572></TABLE
2573><P
2574></P
2575></DIV
2576></DIV
2577><HR><DIV
2578CLASS="REFSECT2"
2579><A
Daniel Veillard35008381999-10-25 13:15:52 +00002580NAME="AEN7827"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002581></A
2582><H3
2583><A
2584NAME="XMLFREEINPUTSTREAM"
2585></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002586>xmlFreeInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002587><TABLE
2588BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002589BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002590WIDTH="100%"
2591CELLPADDING="6"
2592><TR
2593><TD
2594><PRE
2595CLASS="PROGRAMLISTING"
2596>void xmlFreeInputStream (<A
2597HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2598>xmlParserInputPtr</A
2599> input);</PRE
2600></TD
2601></TR
2602></TABLE
2603><P
2604>Free up an input stream.</P
2605><P
2606></P
2607><DIV
2608CLASS="INFORMALTABLE"
2609><P
2610></P
2611><TABLE
2612BORDER="0"
2613WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002614BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002615CELLSPACING="0"
2616CELLPADDING="4"
2617CLASS="CALSTABLE"
2618><TR
2619><TD
2620WIDTH="20%"
2621ALIGN="RIGHT"
2622VALIGN="TOP"
2623><TT
2624CLASS="PARAMETER"
2625><I
2626>input</I
2627></TT
2628>&nbsp;:</TD
2629><TD
2630WIDTH="80%"
2631ALIGN="LEFT"
2632VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002633> an xmlP arserInputPtr</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002634></TR
2635></TABLE
2636><P
2637></P
2638></DIV
2639></DIV
2640><HR><DIV
2641CLASS="REFSECT2"
2642><A
Daniel Veillard35008381999-10-25 13:15:52 +00002643NAME="AEN7843"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002644></A
2645><H3
2646><A
2647NAME="XMLNEWINPUTFROMFILE"
2648></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002649>xmlNewInputFromFile ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00002650><TABLE
2651BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002652BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002653WIDTH="100%"
2654CELLPADDING="6"
2655><TR
2656><TD
2657><PRE
2658CLASS="PROGRAMLISTING"
2659><A
2660HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2661>xmlParserInputPtr</A
2662> xmlNewInputFromFile (<A
2663HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2664>xmlParserCtxtPtr</A
2665> ctxt,
2666 const char *filename);</PRE
2667></TD
2668></TR
2669></TABLE
2670><P
2671>Create a new input stream based on a file.</P
2672><P
2673></P
2674><DIV
2675CLASS="INFORMALTABLE"
2676><P
2677></P
2678><TABLE
2679BORDER="0"
2680WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002681BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002682CELLSPACING="0"
2683CELLPADDING="4"
2684CLASS="CALSTABLE"
2685><TR
2686><TD
2687WIDTH="20%"
2688ALIGN="RIGHT"
2689VALIGN="TOP"
2690><TT
2691CLASS="PARAMETER"
2692><I
2693>ctxt</I
2694></TT
2695>&nbsp;:</TD
2696><TD
2697WIDTH="80%"
2698ALIGN="LEFT"
2699VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002700> an XML parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00002701></TR
2702><TR
2703><TD
2704WIDTH="20%"
2705ALIGN="RIGHT"
2706VALIGN="TOP"
2707><TT
2708CLASS="PARAMETER"
2709><I
2710>filename</I
2711></TT
2712>&nbsp;:</TD
2713><TD
2714WIDTH="80%"
2715ALIGN="LEFT"
2716VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002717> the filename to use as entity</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00002718></TR
2719><TR
2720><TD
2721WIDTH="20%"
2722ALIGN="RIGHT"
2723VALIGN="TOP"
2724><I
2725CLASS="EMPHASIS"
2726>Returns</I
2727> :</TD
2728><TD
2729WIDTH="80%"
2730ALIGN="LEFT"
2731VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002732>the new input stream or NULL in case of error</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00002733></TR
2734></TABLE
2735><P
2736></P
2737></DIV
2738></DIV
2739><HR><DIV
2740CLASS="REFSECT2"
2741><A
Daniel Veillard35008381999-10-25 13:15:52 +00002742NAME="AEN7868"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002743></A
2744><H3
2745><A
2746NAME="XMLSPLITQNAME"
2747></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002748>xmlSplitQName ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002749><TABLE
2750BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002751BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002752WIDTH="100%"
2753CELLPADDING="6"
2754><TR
2755><TD
2756><PRE
2757CLASS="PROGRAMLISTING"
2758><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002759HREF="gnome-xml-tree.html#XMLCHAR"
2760>xmlChar</A
2761>* xmlSplitQName (const <A
2762HREF="gnome-xml-tree.html#XMLCHAR"
2763>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002764> *name,
2765 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002766HREF="gnome-xml-tree.html#XMLCHAR"
2767>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002768> **prefix);</PRE
2769></TD
2770></TR
2771></TABLE
2772><P
2773>parse an XML qualified name string</P
2774><P
2775>[NS 5] QName ::= (Prefix ':')? LocalPart</P
2776><P
2777>[NS 6] Prefix ::= NCName</P
2778><P
2779>[NS 7] LocalPart ::= NCName</P
2780><P
2781></P
2782><DIV
2783CLASS="INFORMALTABLE"
2784><P
2785></P
2786><TABLE
2787BORDER="0"
2788WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002789BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002790CELLSPACING="0"
2791CELLPADDING="4"
2792CLASS="CALSTABLE"
2793><TR
2794><TD
2795WIDTH="20%"
2796ALIGN="RIGHT"
2797VALIGN="TOP"
2798><TT
2799CLASS="PARAMETER"
2800><I
2801>name</I
2802></TT
2803>&nbsp;:</TD
2804><TD
2805WIDTH="80%"
2806ALIGN="LEFT"
2807VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002808> an XML parser context</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002809></TR
2810><TR
2811><TD
2812WIDTH="20%"
2813ALIGN="RIGHT"
2814VALIGN="TOP"
2815><TT
2816CLASS="PARAMETER"
2817><I
2818>prefix</I
2819></TT
2820>&nbsp;:</TD
2821><TD
2822WIDTH="80%"
2823ALIGN="LEFT"
2824VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002825> a xmlChar ** </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002826></TR
2827><TR
2828><TD
2829WIDTH="20%"
2830ALIGN="RIGHT"
2831VALIGN="TOP"
2832><I
2833CLASS="EMPHASIS"
2834>Returns</I
2835> :</TD
2836><TD
2837WIDTH="80%"
2838ALIGN="LEFT"
2839VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002840>the function returns the local part, and prefix is updated
2841to get the Prefix if any.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002842></TR
2843></TABLE
2844><P
2845></P
2846></DIV
2847></DIV
2848><HR><DIV
2849CLASS="REFSECT2"
2850><A
Daniel Veillard35008381999-10-25 13:15:52 +00002851NAME="AEN7897"
Daniel Veillard35925471999-02-25 08:46:07 +00002852></A
2853><H3
2854><A
2855NAME="XMLNAMESPACEPARSENCNAME"
2856></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002857>xmlNamespaceParseNCName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002858><TABLE
2859BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002860BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002861WIDTH="100%"
2862CELLPADDING="6"
2863><TR
2864><TD
2865><PRE
2866CLASS="PROGRAMLISTING"
2867><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002868HREF="gnome-xml-tree.html#XMLCHAR"
2869>xmlChar</A
2870>* xmlNamespaceParseNCName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00002871HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2872>xmlParserCtxtPtr</A
2873> ctxt);</PRE
2874></TD
2875></TR
2876></TABLE
2877><P
2878>parse an XML namespace name.</P
2879><P
2880>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
2881><P
2882>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
2883CombiningChar | Extender</P
2884><P
2885></P
2886><DIV
2887CLASS="INFORMALTABLE"
2888><P
2889></P
2890><TABLE
2891BORDER="0"
2892WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002893BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002894CELLSPACING="0"
2895CELLPADDING="4"
2896CLASS="CALSTABLE"
2897><TR
2898><TD
2899WIDTH="20%"
2900ALIGN="RIGHT"
2901VALIGN="TOP"
2902><TT
2903CLASS="PARAMETER"
2904><I
2905>ctxt</I
2906></TT
2907>&nbsp;:</TD
2908><TD
2909WIDTH="80%"
2910ALIGN="LEFT"
2911VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002912> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002913></TR
2914><TR
2915><TD
2916WIDTH="20%"
2917ALIGN="RIGHT"
2918VALIGN="TOP"
2919><I
2920CLASS="EMPHASIS"
2921>Returns</I
2922> :</TD
2923><TD
2924WIDTH="80%"
2925ALIGN="LEFT"
2926VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00002927>the namespace name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002928></TR
2929></TABLE
2930><P
2931></P
2932></DIV
2933></DIV
2934><HR><DIV
2935CLASS="REFSECT2"
2936><A
Daniel Veillard35008381999-10-25 13:15:52 +00002937NAME="AEN7920"
Daniel Veillard35925471999-02-25 08:46:07 +00002938></A
2939><H3
2940><A
2941NAME="XMLNAMESPACEPARSEQNAME"
2942></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002943>xmlNamespaceParseQName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002944><TABLE
2945BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002946BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002947WIDTH="100%"
2948CELLPADDING="6"
2949><TR
2950><TD
2951><PRE
2952CLASS="PROGRAMLISTING"
2953><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002954HREF="gnome-xml-tree.html#XMLCHAR"
2955>xmlChar</A
2956>* xmlNamespaceParseQName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00002957HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2958>xmlParserCtxtPtr</A
2959> ctxt,
2960 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002961HREF="gnome-xml-tree.html#XMLCHAR"
2962>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00002963> **prefix);</PRE
2964></TD
2965></TR
2966></TABLE
2967><P
2968>parse an XML qualified name</P
2969><P
2970>[NS 5] QName ::= (Prefix ':')? LocalPart</P
2971><P
2972>[NS 6] Prefix ::= NCName</P
2973><P
2974>[NS 7] LocalPart ::= NCName</P
2975><P
2976></P
2977><DIV
2978CLASS="INFORMALTABLE"
2979><P
2980></P
2981><TABLE
2982BORDER="0"
2983WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002984BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002985CELLSPACING="0"
2986CELLPADDING="4"
2987CLASS="CALSTABLE"
2988><TR
2989><TD
2990WIDTH="20%"
2991ALIGN="RIGHT"
2992VALIGN="TOP"
2993><TT
2994CLASS="PARAMETER"
2995><I
2996>ctxt</I
2997></TT
2998>&nbsp;:</TD
2999><TD
3000WIDTH="80%"
3001ALIGN="LEFT"
3002VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003003> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003004></TR
3005><TR
3006><TD
3007WIDTH="20%"
3008ALIGN="RIGHT"
3009VALIGN="TOP"
3010><TT
3011CLASS="PARAMETER"
3012><I
3013>prefix</I
3014></TT
3015>&nbsp;:</TD
3016><TD
3017WIDTH="80%"
3018ALIGN="LEFT"
3019VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003020> a xmlChar ** </TD
Daniel Veillard35925471999-02-25 08:46:07 +00003021></TR
3022><TR
3023><TD
3024WIDTH="20%"
3025ALIGN="RIGHT"
3026VALIGN="TOP"
3027><I
3028CLASS="EMPHASIS"
3029>Returns</I
3030> :</TD
3031><TD
3032WIDTH="80%"
3033ALIGN="LEFT"
3034VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003035>the function returns the local part, and prefix is updated
3036to get the Prefix if any.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003037></TR
3038></TABLE
3039><P
3040></P
3041></DIV
3042></DIV
3043><HR><DIV
3044CLASS="REFSECT2"
3045><A
Daniel Veillard35008381999-10-25 13:15:52 +00003046NAME="AEN7949"
Daniel Veillard35925471999-02-25 08:46:07 +00003047></A
3048><H3
3049><A
3050NAME="XMLNAMESPACEPARSENSDEF"
3051></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003052>xmlNamespaceParseNSDef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003053><TABLE
3054BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003055BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003056WIDTH="100%"
3057CELLPADDING="6"
3058><TR
3059><TD
3060><PRE
3061CLASS="PROGRAMLISTING"
3062><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003063HREF="gnome-xml-tree.html#XMLCHAR"
3064>xmlChar</A
3065>* xmlNamespaceParseNSDef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003066HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3067>xmlParserCtxtPtr</A
3068> ctxt);</PRE
3069></TD
3070></TR
3071></TABLE
3072><P
3073>parse a namespace prefix declaration</P
3074><P
3075>[NS 1] NSDef ::= PrefixDef Eq SystemLiteral</P
3076><P
3077>[NS 2] PrefixDef ::= 'xmlns' (':' NCName)?</P
3078><P
3079></P
3080><DIV
3081CLASS="INFORMALTABLE"
3082><P
3083></P
3084><TABLE
3085BORDER="0"
3086WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003087BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003088CELLSPACING="0"
3089CELLPADDING="4"
3090CLASS="CALSTABLE"
3091><TR
3092><TD
3093WIDTH="20%"
3094ALIGN="RIGHT"
3095VALIGN="TOP"
3096><TT
3097CLASS="PARAMETER"
3098><I
3099>ctxt</I
3100></TT
3101>&nbsp;:</TD
3102><TD
3103WIDTH="80%"
3104ALIGN="LEFT"
3105VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003106> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003107></TR
3108><TR
3109><TD
3110WIDTH="20%"
3111ALIGN="RIGHT"
3112VALIGN="TOP"
3113><I
3114CLASS="EMPHASIS"
3115>Returns</I
3116> :</TD
3117><TD
3118WIDTH="80%"
3119ALIGN="LEFT"
3120VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003121>the namespace name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003122></TR
3123></TABLE
3124><P
3125></P
3126></DIV
3127></DIV
3128><HR><DIV
3129CLASS="REFSECT2"
3130><A
Daniel Veillard35008381999-10-25 13:15:52 +00003131NAME="AEN7972"
Daniel Veillard35925471999-02-25 08:46:07 +00003132></A
3133><H3
3134><A
3135NAME="XMLPARSEQUOTEDSTRING"
3136></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003137>xmlParseQuotedString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003138><TABLE
3139BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003140BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003141WIDTH="100%"
3142CELLPADDING="6"
3143><TR
3144><TD
3145><PRE
3146CLASS="PROGRAMLISTING"
3147><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003148HREF="gnome-xml-tree.html#XMLCHAR"
3149>xmlChar</A
3150>* xmlParseQuotedString (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003151HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3152>xmlParserCtxtPtr</A
3153> ctxt);</PRE
3154></TD
3155></TR
3156></TABLE
3157><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00003158>[OLD] Parse and return a string between quotes or doublequotes
3159To be removed at next drop of binary compatibility</P
Daniel Veillard35925471999-02-25 08:46:07 +00003160><P
3161></P
3162><DIV
3163CLASS="INFORMALTABLE"
3164><P
3165></P
3166><TABLE
3167BORDER="0"
3168WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003169BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003170CELLSPACING="0"
3171CELLPADDING="4"
3172CLASS="CALSTABLE"
3173><TR
3174><TD
3175WIDTH="20%"
3176ALIGN="RIGHT"
3177VALIGN="TOP"
3178><TT
3179CLASS="PARAMETER"
3180><I
3181>ctxt</I
3182></TT
3183>&nbsp;:</TD
3184><TD
3185WIDTH="80%"
3186ALIGN="LEFT"
3187VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003188> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003189></TR
3190><TR
3191><TD
3192WIDTH="20%"
3193ALIGN="RIGHT"
3194VALIGN="TOP"
3195><I
3196CLASS="EMPHASIS"
3197>Returns</I
3198> :</TD
3199><TD
3200WIDTH="80%"
3201ALIGN="LEFT"
3202VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003203>the string parser or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003204></TR
3205></TABLE
3206><P
3207></P
3208></DIV
3209></DIV
3210><HR><DIV
3211CLASS="REFSECT2"
3212><A
Daniel Veillard35008381999-10-25 13:15:52 +00003213NAME="AEN7993"
Daniel Veillard35925471999-02-25 08:46:07 +00003214></A
3215><H3
3216><A
3217NAME="XMLPARSENAMESPACE"
3218></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003219>xmlParseNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003220><TABLE
3221BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003222BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003223WIDTH="100%"
3224CELLPADDING="6"
3225><TR
3226><TD
3227><PRE
3228CLASS="PROGRAMLISTING"
3229>void xmlParseNamespace (<A
3230HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3231>xmlParserCtxtPtr</A
3232> ctxt);</PRE
3233></TD
3234></TR
3235></TABLE
3236><P
3237>[OLD] xmlParseNamespace: parse specific PI '&lt;?namespace ...' constructs.</P
3238><P
3239>This is what the older xml-name Working Draft specified, a bunch of
3240other stuff may still rely on it, so support is still here as
3241if ot was declared on the root of the Tree:-(</P
3242><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00003243>To be removed at next drop of binary compatibility</P
3244><P
Daniel Veillard35925471999-02-25 08:46:07 +00003245></P
3246><DIV
3247CLASS="INFORMALTABLE"
3248><P
3249></P
3250><TABLE
3251BORDER="0"
3252WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003253BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003254CELLSPACING="0"
3255CELLPADDING="4"
3256CLASS="CALSTABLE"
3257><TR
3258><TD
3259WIDTH="20%"
3260ALIGN="RIGHT"
3261VALIGN="TOP"
3262><TT
3263CLASS="PARAMETER"
3264><I
3265>ctxt</I
3266></TT
3267>&nbsp;:</TD
3268><TD
3269WIDTH="80%"
3270ALIGN="LEFT"
3271VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003272> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003273></TR
3274></TABLE
3275><P
3276></P
3277></DIV
3278></DIV
3279><HR><DIV
3280CLASS="REFSECT2"
3281><A
Daniel Veillard35008381999-10-25 13:15:52 +00003282NAME="AEN8011"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003283></A
3284><H3
3285><A
3286NAME="XMLSCANNAME"
3287></A
3288>xmlScanName ()</H3
3289><TABLE
3290BORDER="0"
3291BGCOLOR="#D6E8FF"
3292WIDTH="100%"
3293CELLPADDING="6"
3294><TR
3295><TD
3296><PRE
3297CLASS="PROGRAMLISTING"
3298><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003299HREF="gnome-xml-tree.html#XMLCHAR"
3300>xmlChar</A
3301>* xmlScanName (<A
Daniel Veillardb05deb71999-08-10 19:04:08 +00003302HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3303>xmlParserCtxtPtr</A
3304> ctxt);</PRE
3305></TD
3306></TR
3307></TABLE
3308><P
3309>Trickery: parse an XML name but without consuming the input flow
3310Needed for rollback cases.</P
3311><P
3312>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
3313CombiningChar | Extender</P
3314><P
3315>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
3316><P
3317>[6] Names ::= Name (S Name)*</P
3318><P
3319></P
3320><DIV
3321CLASS="INFORMALTABLE"
3322><P
3323></P
3324><TABLE
3325BORDER="0"
3326WIDTH="100%"
3327BGCOLOR="#FFD0D0"
3328CELLSPACING="0"
3329CELLPADDING="4"
3330CLASS="CALSTABLE"
3331><TR
3332><TD
3333WIDTH="20%"
3334ALIGN="RIGHT"
3335VALIGN="TOP"
3336><TT
3337CLASS="PARAMETER"
3338><I
3339>ctxt</I
3340></TT
3341>&nbsp;:</TD
3342><TD
3343WIDTH="80%"
3344ALIGN="LEFT"
3345VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003346> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003347></TR
3348><TR
3349><TD
3350WIDTH="20%"
3351ALIGN="RIGHT"
3352VALIGN="TOP"
3353><I
3354CLASS="EMPHASIS"
3355>Returns</I
3356> :</TD
3357><TD
3358WIDTH="80%"
3359ALIGN="LEFT"
3360VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003361>the Name parsed or NULL</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003362></TR
3363></TABLE
3364><P
3365></P
3366></DIV
3367></DIV
3368><HR><DIV
3369CLASS="REFSECT2"
3370><A
Daniel Veillard35008381999-10-25 13:15:52 +00003371NAME="AEN8035"
Daniel Veillard35925471999-02-25 08:46:07 +00003372></A
3373><H3
3374><A
3375NAME="XMLPARSENAME"
3376></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003377>xmlParseName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003378><TABLE
3379BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003380BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003381WIDTH="100%"
3382CELLPADDING="6"
3383><TR
3384><TD
3385><PRE
3386CLASS="PROGRAMLISTING"
3387><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003388HREF="gnome-xml-tree.html#XMLCHAR"
3389>xmlChar</A
3390>* xmlParseName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003391HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3392>xmlParserCtxtPtr</A
3393> ctxt);</PRE
3394></TD
3395></TR
3396></TABLE
3397><P
3398>parse an XML name.</P
3399><P
3400>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
3401CombiningChar | Extender</P
3402><P
3403>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
3404><P
3405>[6] Names ::= Name (S Name)*</P
3406><P
3407></P
3408><DIV
3409CLASS="INFORMALTABLE"
3410><P
3411></P
3412><TABLE
3413BORDER="0"
3414WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003415BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003416CELLSPACING="0"
3417CELLPADDING="4"
3418CLASS="CALSTABLE"
3419><TR
3420><TD
3421WIDTH="20%"
3422ALIGN="RIGHT"
3423VALIGN="TOP"
3424><TT
3425CLASS="PARAMETER"
3426><I
3427>ctxt</I
3428></TT
3429>&nbsp;:</TD
3430><TD
3431WIDTH="80%"
3432ALIGN="LEFT"
3433VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003434> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003435></TR
3436><TR
3437><TD
3438WIDTH="20%"
3439ALIGN="RIGHT"
3440VALIGN="TOP"
3441><I
3442CLASS="EMPHASIS"
3443>Returns</I
3444> :</TD
3445><TD
3446WIDTH="80%"
3447ALIGN="LEFT"
3448VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003449>the Name parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003450></TR
3451></TABLE
3452><P
3453></P
3454></DIV
3455></DIV
3456><HR><DIV
3457CLASS="REFSECT2"
3458><A
Daniel Veillard35008381999-10-25 13:15:52 +00003459NAME="AEN8059"
Daniel Veillard35925471999-02-25 08:46:07 +00003460></A
3461><H3
3462><A
3463NAME="XMLPARSENMTOKEN"
3464></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003465>xmlParseNmtoken ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003466><TABLE
3467BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003468BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003469WIDTH="100%"
3470CELLPADDING="6"
3471><TR
3472><TD
3473><PRE
3474CLASS="PROGRAMLISTING"
3475><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003476HREF="gnome-xml-tree.html#XMLCHAR"
3477>xmlChar</A
3478>* xmlParseNmtoken (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003479HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3480>xmlParserCtxtPtr</A
3481> ctxt);</PRE
3482></TD
3483></TR
3484></TABLE
3485><P
3486>parse an XML Nmtoken.</P
3487><P
3488>[7] Nmtoken ::= (NameChar)+</P
3489><P
3490>[8] Nmtokens ::= Nmtoken (S Nmtoken)*</P
3491><P
3492></P
3493><DIV
3494CLASS="INFORMALTABLE"
3495><P
3496></P
3497><TABLE
3498BORDER="0"
3499WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003500BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003501CELLSPACING="0"
3502CELLPADDING="4"
3503CLASS="CALSTABLE"
3504><TR
3505><TD
3506WIDTH="20%"
3507ALIGN="RIGHT"
3508VALIGN="TOP"
3509><TT
3510CLASS="PARAMETER"
3511><I
3512>ctxt</I
3513></TT
3514>&nbsp;:</TD
3515><TD
3516WIDTH="80%"
3517ALIGN="LEFT"
3518VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003519> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003520></TR
3521><TR
3522><TD
3523WIDTH="20%"
3524ALIGN="RIGHT"
3525VALIGN="TOP"
3526><I
3527CLASS="EMPHASIS"
3528>Returns</I
3529> :</TD
3530><TD
3531WIDTH="80%"
3532ALIGN="LEFT"
3533VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003534>the Nmtoken parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003535></TR
3536></TABLE
3537><P
3538></P
3539></DIV
3540></DIV
3541><HR><DIV
3542CLASS="REFSECT2"
3543><A
Daniel Veillard35008381999-10-25 13:15:52 +00003544NAME="AEN8082"
Daniel Veillard35925471999-02-25 08:46:07 +00003545></A
3546><H3
3547><A
3548NAME="XMLPARSEENTITYVALUE"
3549></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003550>xmlParseEntityValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003551><TABLE
3552BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003553BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003554WIDTH="100%"
3555CELLPADDING="6"
3556><TR
3557><TD
3558><PRE
3559CLASS="PROGRAMLISTING"
3560><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003561HREF="gnome-xml-tree.html#XMLCHAR"
3562>xmlChar</A
3563>* xmlParseEntityValue (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003564HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3565>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003566> ctxt,
3567 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003568HREF="gnome-xml-tree.html#XMLCHAR"
3569>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003570> **orig);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003571></TD
3572></TR
3573></TABLE
3574><P
3575>parse a value for ENTITY decl.</P
3576><P
3577>[9] EntityValue ::= '"' ([^%&amp;"] | PEReference | Reference)* '"' |
3578"'" ([^%&amp;'] | PEReference | Reference)* "'"</P
3579><P
3580></P
3581><DIV
3582CLASS="INFORMALTABLE"
3583><P
3584></P
3585><TABLE
3586BORDER="0"
3587WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003588BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003589CELLSPACING="0"
3590CELLPADDING="4"
3591CLASS="CALSTABLE"
3592><TR
3593><TD
3594WIDTH="20%"
3595ALIGN="RIGHT"
3596VALIGN="TOP"
3597><TT
3598CLASS="PARAMETER"
3599><I
3600>ctxt</I
3601></TT
3602>&nbsp;:</TD
3603><TD
3604WIDTH="80%"
3605ALIGN="LEFT"
3606VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003607> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003608></TR
3609><TR
3610><TD
3611WIDTH="20%"
3612ALIGN="RIGHT"
3613VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003614><TT
3615CLASS="PARAMETER"
3616><I
3617>orig</I
3618></TT
3619>&nbsp;:</TD
3620><TD
3621WIDTH="80%"
3622ALIGN="LEFT"
3623VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003624> if non-NULL store a copy of the original entity value</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00003625></TR
3626><TR
3627><TD
3628WIDTH="20%"
3629ALIGN="RIGHT"
3630VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00003631><I
3632CLASS="EMPHASIS"
3633>Returns</I
3634> :</TD
3635><TD
3636WIDTH="80%"
3637ALIGN="LEFT"
3638VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003639>the EntityValue parsed with reference substitued or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003640></TR
3641></TABLE
3642><P
3643></P
3644></DIV
3645></DIV
3646><HR><DIV
3647CLASS="REFSECT2"
3648><A
Daniel Veillard35008381999-10-25 13:15:52 +00003649NAME="AEN8109"
Daniel Veillard35925471999-02-25 08:46:07 +00003650></A
3651><H3
3652><A
3653NAME="XMLPARSEATTVALUE"
3654></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003655>xmlParseAttValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003656><TABLE
3657BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003658BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003659WIDTH="100%"
3660CELLPADDING="6"
3661><TR
3662><TD
3663><PRE
3664CLASS="PROGRAMLISTING"
3665><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003666HREF="gnome-xml-tree.html#XMLCHAR"
3667>xmlChar</A
3668>* xmlParseAttValue (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003669HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3670>xmlParserCtxtPtr</A
3671> ctxt);</PRE
3672></TD
3673></TR
3674></TABLE
3675><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00003676>parse a value for an attribute
3677Note: the parser won't do substitution of entities here, this
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003678will be handled later in xmlStringGetNodeList</P
Daniel Veillard35925471999-02-25 08:46:07 +00003679><P
3680>[10] AttValue ::= '"' ([^&lt;&amp;"] | Reference)* '"' |
3681"'" ([^&lt;&amp;'] | Reference)* "'"</P
3682><P
3683></P
3684><DIV
3685CLASS="INFORMALTABLE"
3686><P
3687></P
3688><TABLE
3689BORDER="0"
3690WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003691BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003692CELLSPACING="0"
3693CELLPADDING="4"
3694CLASS="CALSTABLE"
3695><TR
3696><TD
3697WIDTH="20%"
3698ALIGN="RIGHT"
3699VALIGN="TOP"
3700><TT
3701CLASS="PARAMETER"
3702><I
3703>ctxt</I
3704></TT
3705>&nbsp;:</TD
3706><TD
3707WIDTH="80%"
3708ALIGN="LEFT"
3709VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003710> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003711></TR
3712><TR
3713><TD
3714WIDTH="20%"
3715ALIGN="RIGHT"
3716VALIGN="TOP"
3717><I
3718CLASS="EMPHASIS"
3719>Returns</I
3720> :</TD
3721><TD
3722WIDTH="80%"
3723ALIGN="LEFT"
3724VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003725>the AttValue parsed or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003726></TR
3727></TABLE
3728><P
3729></P
3730></DIV
3731></DIV
3732><HR><DIV
3733CLASS="REFSECT2"
3734><A
Daniel Veillard35008381999-10-25 13:15:52 +00003735NAME="AEN8131"
Daniel Veillard35925471999-02-25 08:46:07 +00003736></A
3737><H3
3738><A
3739NAME="XMLPARSESYSTEMLITERAL"
3740></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003741>xmlParseSystemLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003742><TABLE
3743BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003744BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003745WIDTH="100%"
3746CELLPADDING="6"
3747><TR
3748><TD
3749><PRE
3750CLASS="PROGRAMLISTING"
3751><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003752HREF="gnome-xml-tree.html#XMLCHAR"
3753>xmlChar</A
3754>* xmlParseSystemLiteral (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003755HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3756>xmlParserCtxtPtr</A
3757> ctxt);</PRE
3758></TD
3759></TR
3760></TABLE
3761><P
3762>parse an XML Literal</P
3763><P
3764>[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</P
3765><P
3766></P
3767><DIV
3768CLASS="INFORMALTABLE"
3769><P
3770></P
3771><TABLE
3772BORDER="0"
3773WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003774BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003775CELLSPACING="0"
3776CELLPADDING="4"
3777CLASS="CALSTABLE"
3778><TR
3779><TD
3780WIDTH="20%"
3781ALIGN="RIGHT"
3782VALIGN="TOP"
3783><TT
3784CLASS="PARAMETER"
3785><I
3786>ctxt</I
3787></TT
3788>&nbsp;:</TD
3789><TD
3790WIDTH="80%"
3791ALIGN="LEFT"
3792VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003793> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003794></TR
3795><TR
3796><TD
3797WIDTH="20%"
3798ALIGN="RIGHT"
3799VALIGN="TOP"
3800><I
3801CLASS="EMPHASIS"
3802>Returns</I
3803> :</TD
3804><TD
3805WIDTH="80%"
3806ALIGN="LEFT"
3807VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003808>the SystemLiteral parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003809></TR
3810></TABLE
3811><P
3812></P
3813></DIV
3814></DIV
3815><HR><DIV
3816CLASS="REFSECT2"
3817><A
Daniel Veillard35008381999-10-25 13:15:52 +00003818NAME="AEN8153"
Daniel Veillard35925471999-02-25 08:46:07 +00003819></A
3820><H3
3821><A
3822NAME="XMLPARSEPUBIDLITERAL"
3823></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003824>xmlParsePubidLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003825><TABLE
3826BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003827BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003828WIDTH="100%"
3829CELLPADDING="6"
3830><TR
3831><TD
3832><PRE
3833CLASS="PROGRAMLISTING"
3834><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003835HREF="gnome-xml-tree.html#XMLCHAR"
3836>xmlChar</A
3837>* xmlParsePubidLiteral (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003838HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3839>xmlParserCtxtPtr</A
3840> ctxt);</PRE
3841></TD
3842></TR
3843></TABLE
3844><P
3845>parse an XML public literal</P
3846><P
3847>[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</P
3848><P
3849></P
3850><DIV
3851CLASS="INFORMALTABLE"
3852><P
3853></P
3854><TABLE
3855BORDER="0"
3856WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003857BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003858CELLSPACING="0"
3859CELLPADDING="4"
3860CLASS="CALSTABLE"
3861><TR
3862><TD
3863WIDTH="20%"
3864ALIGN="RIGHT"
3865VALIGN="TOP"
3866><TT
3867CLASS="PARAMETER"
3868><I
3869>ctxt</I
3870></TT
3871>&nbsp;:</TD
3872><TD
3873WIDTH="80%"
3874ALIGN="LEFT"
3875VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003876> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003877></TR
3878><TR
3879><TD
3880WIDTH="20%"
3881ALIGN="RIGHT"
3882VALIGN="TOP"
3883><I
3884CLASS="EMPHASIS"
3885>Returns</I
3886> :</TD
3887><TD
3888WIDTH="80%"
3889ALIGN="LEFT"
3890VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003891>the PubidLiteral parsed or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003892></TR
3893></TABLE
3894><P
3895></P
3896></DIV
3897></DIV
3898><HR><DIV
3899CLASS="REFSECT2"
3900><A
Daniel Veillard35008381999-10-25 13:15:52 +00003901NAME="AEN8175"
Daniel Veillard35925471999-02-25 08:46:07 +00003902></A
3903><H3
3904><A
3905NAME="XMLPARSECHARDATA"
3906></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003907>xmlParseCharData ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003908><TABLE
3909BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003910BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003911WIDTH="100%"
3912CELLPADDING="6"
3913><TR
3914><TD
3915><PRE
3916CLASS="PROGRAMLISTING"
3917>void xmlParseCharData (<A
3918HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3919>xmlParserCtxtPtr</A
3920> ctxt,
3921 int cdata);</PRE
3922></TD
3923></TR
3924></TABLE
3925><P
3926>parse a CharData section.
3927if we are within a CDATA section ']]&gt;' marks an end of section.</P
3928><P
3929>[14] CharData ::= [^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</P
3930><P
3931></P
3932><DIV
3933CLASS="INFORMALTABLE"
3934><P
3935></P
3936><TABLE
3937BORDER="0"
3938WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003939BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003940CELLSPACING="0"
3941CELLPADDING="4"
3942CLASS="CALSTABLE"
3943><TR
3944><TD
3945WIDTH="20%"
3946ALIGN="RIGHT"
3947VALIGN="TOP"
3948><TT
3949CLASS="PARAMETER"
3950><I
3951>ctxt</I
3952></TT
3953>&nbsp;:</TD
3954><TD
3955WIDTH="80%"
3956ALIGN="LEFT"
3957VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003958> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003959></TR
3960><TR
3961><TD
3962WIDTH="20%"
3963ALIGN="RIGHT"
3964VALIGN="TOP"
3965><TT
3966CLASS="PARAMETER"
3967><I
3968>cdata</I
3969></TT
3970>&nbsp;:</TD
3971><TD
3972WIDTH="80%"
3973ALIGN="LEFT"
3974VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003975> int indicating whether we are within a CDATA section</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003976></TR
3977></TABLE
3978><P
3979></P
3980></DIV
3981></DIV
3982><HR><DIV
3983CLASS="REFSECT2"
3984><A
Daniel Veillard35008381999-10-25 13:15:52 +00003985NAME="AEN8196"
Daniel Veillard35925471999-02-25 08:46:07 +00003986></A
3987><H3
3988><A
3989NAME="XMLPARSEEXTERNALID"
3990></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003991>xmlParseExternalID ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003992><TABLE
3993BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003994BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003995WIDTH="100%"
3996CELLPADDING="6"
3997><TR
3998><TD
3999><PRE
4000CLASS="PROGRAMLISTING"
4001><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004002HREF="gnome-xml-tree.html#XMLCHAR"
4003>xmlChar</A
4004>* xmlParseExternalID (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004005HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4006>xmlParserCtxtPtr</A
4007> ctxt,
4008 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004009HREF="gnome-xml-tree.html#XMLCHAR"
4010>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004011> **publicID,
4012 int strict);</PRE
4013></TD
4014></TR
4015></TABLE
4016><P
4017>Parse an External ID or a Public ID</P
4018><P
4019>NOTE: Productions [75] and [83] interract badly since [75] can generate
4020'PUBLIC' S PubidLiteral S SystemLiteral</P
4021><P
4022>[75] ExternalID ::= 'SYSTEM' S SystemLiteral
4023| 'PUBLIC' S PubidLiteral S SystemLiteral</P
4024><P
4025>[83] PublicID ::= 'PUBLIC' S PubidLiteral</P
4026><P
4027></P
4028><DIV
4029CLASS="INFORMALTABLE"
4030><P
4031></P
4032><TABLE
4033BORDER="0"
4034WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004035BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004036CELLSPACING="0"
4037CELLPADDING="4"
4038CLASS="CALSTABLE"
4039><TR
4040><TD
4041WIDTH="20%"
4042ALIGN="RIGHT"
4043VALIGN="TOP"
4044><TT
4045CLASS="PARAMETER"
4046><I
4047>ctxt</I
4048></TT
4049>&nbsp;:</TD
4050><TD
4051WIDTH="80%"
4052ALIGN="LEFT"
4053VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004054> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004055></TR
4056><TR
4057><TD
4058WIDTH="20%"
4059ALIGN="RIGHT"
4060VALIGN="TOP"
4061><TT
4062CLASS="PARAMETER"
4063><I
4064>publicID</I
4065></TT
4066>&nbsp;:</TD
4067><TD
4068WIDTH="80%"
4069ALIGN="LEFT"
4070VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004071> a xmlChar** receiving PubidLiteral</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004072></TR
4073><TR
4074><TD
4075WIDTH="20%"
4076ALIGN="RIGHT"
4077VALIGN="TOP"
4078><TT
4079CLASS="PARAMETER"
4080><I
4081>strict</I
4082></TT
4083>&nbsp;:</TD
4084><TD
4085WIDTH="80%"
4086ALIGN="LEFT"
4087VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004088> indicate whether we should restrict parsing to only
4089production [75], see NOTE below</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004090></TR
4091><TR
4092><TD
4093WIDTH="20%"
4094ALIGN="RIGHT"
4095VALIGN="TOP"
4096><I
4097CLASS="EMPHASIS"
4098>Returns</I
4099> :</TD
4100><TD
4101WIDTH="80%"
4102ALIGN="LEFT"
4103VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004104>the function returns SystemLiteral and in the second
4105case publicID receives PubidLiteral, is strict is off
4106it is possible to return NULL and have publicID set.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004107></TR
4108></TABLE
4109><P
4110></P
4111></DIV
4112></DIV
4113><HR><DIV
4114CLASS="REFSECT2"
4115><A
Daniel Veillard35008381999-10-25 13:15:52 +00004116NAME="AEN8229"
Daniel Veillard35925471999-02-25 08:46:07 +00004117></A
4118><H3
4119><A
4120NAME="XMLPARSECOMMENT"
4121></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004122>xmlParseComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004123><TABLE
4124BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004125BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004126WIDTH="100%"
4127CELLPADDING="6"
4128><TR
4129><TD
4130><PRE
4131CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004132>void xmlParseComment (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004133HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4134>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00004135> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00004136></TD
4137></TR
4138></TABLE
4139><P
4140>Skip an XML (SGML) comment &lt;!-- .... --&gt;
Daniel Veillard35925471999-02-25 08:46:07 +00004141The spec says that "For compatibility, the string "--" (double-hyphen)
4142must not occur within comments. "</P
4143><P
4144>[15] Comment ::= '&lt;!--' ((Char - '-') | ('-' (Char - '-')))* '--&gt;'</P
4145><P
Daniel Veillard35925471999-02-25 08:46:07 +00004146></P
4147><DIV
4148CLASS="INFORMALTABLE"
4149><P
4150></P
4151><TABLE
4152BORDER="0"
4153WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004154BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004155CELLSPACING="0"
4156CELLPADDING="4"
4157CLASS="CALSTABLE"
4158><TR
4159><TD
4160WIDTH="20%"
4161ALIGN="RIGHT"
4162VALIGN="TOP"
4163><TT
4164CLASS="PARAMETER"
4165><I
4166>ctxt</I
4167></TT
4168>&nbsp;:</TD
4169><TD
4170WIDTH="80%"
4171ALIGN="LEFT"
4172VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004173> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004174></TR
Daniel Veillard35925471999-02-25 08:46:07 +00004175></TABLE
4176><P
4177></P
4178></DIV
4179></DIV
4180><HR><DIV
4181CLASS="REFSECT2"
4182><A
Daniel Veillard35008381999-10-25 13:15:52 +00004183NAME="AEN8246"
Daniel Veillard35925471999-02-25 08:46:07 +00004184></A
4185><H3
4186><A
4187NAME="XMLPARSEPITARGET"
4188></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004189>xmlParsePITarget ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004190><TABLE
4191BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004192BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004193WIDTH="100%"
4194CELLPADDING="6"
4195><TR
4196><TD
4197><PRE
4198CLASS="PROGRAMLISTING"
4199><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004200HREF="gnome-xml-tree.html#XMLCHAR"
4201>xmlChar</A
4202>* xmlParsePITarget (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004203HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4204>xmlParserCtxtPtr</A
4205> ctxt);</PRE
4206></TD
4207></TR
4208></TABLE
4209><P
4210>parse the name of a PI</P
4211><P
4212>[17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</P
4213><P
4214></P
4215><DIV
4216CLASS="INFORMALTABLE"
4217><P
4218></P
4219><TABLE
4220BORDER="0"
4221WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004222BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004223CELLSPACING="0"
4224CELLPADDING="4"
4225CLASS="CALSTABLE"
4226><TR
4227><TD
4228WIDTH="20%"
4229ALIGN="RIGHT"
4230VALIGN="TOP"
4231><TT
4232CLASS="PARAMETER"
4233><I
4234>ctxt</I
4235></TT
4236>&nbsp;:</TD
4237><TD
4238WIDTH="80%"
4239ALIGN="LEFT"
4240VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004241> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004242></TR
4243><TR
4244><TD
4245WIDTH="20%"
4246ALIGN="RIGHT"
4247VALIGN="TOP"
4248><I
4249CLASS="EMPHASIS"
4250>Returns</I
4251> :</TD
4252><TD
4253WIDTH="80%"
4254ALIGN="LEFT"
4255VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004256>the PITarget name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004257></TR
4258></TABLE
4259><P
4260></P
4261></DIV
4262></DIV
4263><HR><DIV
4264CLASS="REFSECT2"
4265><A
Daniel Veillard35008381999-10-25 13:15:52 +00004266NAME="AEN8268"
Daniel Veillard35925471999-02-25 08:46:07 +00004267></A
4268><H3
4269><A
4270NAME="XMLPARSEPI"
4271></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004272>xmlParsePI ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004273><TABLE
4274BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004275BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004276WIDTH="100%"
4277CELLPADDING="6"
4278><TR
4279><TD
4280><PRE
4281CLASS="PROGRAMLISTING"
4282>void xmlParsePI (<A
4283HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4284>xmlParserCtxtPtr</A
4285> ctxt);</PRE
4286></TD
4287></TR
4288></TABLE
4289><P
4290>parse an XML Processing Instruction.</P
4291><P
4292>[16] PI ::= '&lt;?' PITarget (S (Char* - (Char* '?&gt;' Char*)))? '?&gt;'</P
4293><P
4294>The processing is transfered to SAX once parsed.</P
4295><P
4296></P
4297><DIV
4298CLASS="INFORMALTABLE"
4299><P
4300></P
4301><TABLE
4302BORDER="0"
4303WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004304BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004305CELLSPACING="0"
4306CELLPADDING="4"
4307CLASS="CALSTABLE"
4308><TR
4309><TD
4310WIDTH="20%"
4311ALIGN="RIGHT"
4312VALIGN="TOP"
4313><TT
4314CLASS="PARAMETER"
4315><I
4316>ctxt</I
4317></TT
4318>&nbsp;:</TD
4319><TD
4320WIDTH="80%"
4321ALIGN="LEFT"
4322VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004323> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004324></TR
4325></TABLE
4326><P
4327></P
4328></DIV
4329></DIV
4330><HR><DIV
4331CLASS="REFSECT2"
4332><A
Daniel Veillard35008381999-10-25 13:15:52 +00004333NAME="AEN8286"
Daniel Veillard35925471999-02-25 08:46:07 +00004334></A
4335><H3
4336><A
4337NAME="XMLPARSENOTATIONDECL"
4338></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004339>xmlParseNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004340><TABLE
4341BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004342BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004343WIDTH="100%"
4344CELLPADDING="6"
4345><TR
4346><TD
4347><PRE
4348CLASS="PROGRAMLISTING"
4349>void xmlParseNotationDecl (<A
4350HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4351>xmlParserCtxtPtr</A
4352> ctxt);</PRE
4353></TD
4354></TR
4355></TABLE
4356><P
4357>parse a notation declaration</P
4358><P
4359>[82] NotationDecl ::= '&lt;!NOTATION' S Name S (ExternalID | PublicID) S? '&gt;'</P
4360><P
4361>Hence there is actually 3 choices:
4362'PUBLIC' S PubidLiteral
4363'PUBLIC' S PubidLiteral S SystemLiteral
4364and 'SYSTEM' S SystemLiteral</P
4365><P
4366>See the NOTE on <A
4367HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
4368>xmlParseExternalID</A
4369>().</P
4370><P
4371></P
4372><DIV
4373CLASS="INFORMALTABLE"
4374><P
4375></P
4376><TABLE
4377BORDER="0"
4378WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004379BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004380CELLSPACING="0"
4381CELLPADDING="4"
4382CLASS="CALSTABLE"
4383><TR
4384><TD
4385WIDTH="20%"
4386ALIGN="RIGHT"
4387VALIGN="TOP"
4388><TT
4389CLASS="PARAMETER"
4390><I
4391>ctxt</I
4392></TT
4393>&nbsp;:</TD
4394><TD
4395WIDTH="80%"
4396ALIGN="LEFT"
4397VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004398> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004399></TR
4400></TABLE
4401><P
4402></P
4403></DIV
4404></DIV
4405><HR><DIV
4406CLASS="REFSECT2"
4407><A
Daniel Veillard35008381999-10-25 13:15:52 +00004408NAME="AEN8306"
Daniel Veillard35925471999-02-25 08:46:07 +00004409></A
4410><H3
4411><A
4412NAME="XMLPARSEENTITYDECL"
4413></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004414>xmlParseEntityDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004415><TABLE
4416BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004417BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004418WIDTH="100%"
4419CELLPADDING="6"
4420><TR
4421><TD
4422><PRE
4423CLASS="PROGRAMLISTING"
4424>void xmlParseEntityDecl (<A
4425HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4426>xmlParserCtxtPtr</A
4427> ctxt);</PRE
4428></TD
4429></TR
4430></TABLE
4431><P
4432>parse &lt;!ENTITY declarations</P
4433><P
4434>[70] EntityDecl ::= GEDecl | PEDecl</P
4435><P
4436>[71] GEDecl ::= '&lt;!ENTITY' S Name S EntityDef S? '&gt;'</P
4437><P
4438>[72] PEDecl ::= '&lt;!ENTITY' S '%' S Name S PEDef S? '&gt;'</P
4439><P
4440>[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)</P
4441><P
4442>[74] PEDef ::= EntityValue | ExternalID</P
4443><P
4444>[76] NDataDecl ::= S 'NDATA' S Name</P
4445><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004446>[ VC: Notation Declared ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004447The Name must match the declared name of a notation.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004448><P
Daniel Veillard35925471999-02-25 08:46:07 +00004449></P
4450><DIV
4451CLASS="INFORMALTABLE"
4452><P
4453></P
4454><TABLE
4455BORDER="0"
4456WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004457BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004458CELLSPACING="0"
4459CELLPADDING="4"
4460CLASS="CALSTABLE"
4461><TR
4462><TD
4463WIDTH="20%"
4464ALIGN="RIGHT"
4465VALIGN="TOP"
4466><TT
4467CLASS="PARAMETER"
4468><I
4469>ctxt</I
4470></TT
4471>&nbsp;:</TD
4472><TD
4473WIDTH="80%"
4474ALIGN="LEFT"
4475VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004476> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004477></TR
4478></TABLE
4479><P
4480></P
4481></DIV
4482></DIV
4483><HR><DIV
4484CLASS="REFSECT2"
4485><A
Daniel Veillard35008381999-10-25 13:15:52 +00004486NAME="AEN8329"
Daniel Veillard35925471999-02-25 08:46:07 +00004487></A
4488><H3
4489><A
4490NAME="XMLPARSEDEFAULTDECL"
4491></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004492>xmlParseDefaultDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004493><TABLE
4494BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004495BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004496WIDTH="100%"
4497CELLPADDING="6"
4498><TR
4499><TD
4500><PRE
4501CLASS="PROGRAMLISTING"
4502>int xmlParseDefaultDecl (<A
4503HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4504>xmlParserCtxtPtr</A
4505> ctxt,
4506 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004507HREF="gnome-xml-tree.html#XMLCHAR"
4508>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004509> **value);</PRE
4510></TD
4511></TR
4512></TABLE
4513><P
4514>Parse an attribute default declaration</P
4515><P
4516>[60] DefaultDecl ::= '<GTKDOCLINK
4517HREF="REQUIRED"
4518>REQUIRED</GTKDOCLINK
4519>' | '<GTKDOCLINK
4520HREF="IMPLIED"
4521>IMPLIED</GTKDOCLINK
4522>' | (('<GTKDOCLINK
4523HREF="FIXED"
4524>FIXED</GTKDOCLINK
4525>' S)? AttValue)</P
4526><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004527>[ VC: Required Attribute ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004528if the default declaration is the keyword <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00004529HREF="REQUIRED"
4530>REQUIRED</GTKDOCLINK
4531>, then the
4532attribute must be specified for all elements of the type in the
4533attribute-list declaration.</P
4534><P
4535>[ VC: Attribute Default Legal ]
4536The declared default value must meet the lexical constraints of
4537the declared attribute type c.f. <A
4538HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL"
4539>xmlValidateAttributeDecl</A
4540>()</P
4541><P
4542>[ VC: Fixed Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004543if an attribute has a default value declared with the <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00004544HREF="FIXED"
4545>FIXED</GTKDOCLINK
4546>
4547keyword, instances of that attribute must match the default value. </P
4548><P
4549>[ WFC: No &lt; in Attribute Values ]
4550handled in <A
4551HREF="gnome-xml-parserinternals.html#XMLPARSEATTVALUE"
4552>xmlParseAttValue</A
4553>()</P
4554><P
Daniel Veillard35925471999-02-25 08:46:07 +00004555></P
4556><DIV
4557CLASS="INFORMALTABLE"
4558><P
4559></P
4560><TABLE
4561BORDER="0"
4562WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004563BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004564CELLSPACING="0"
4565CELLPADDING="4"
4566CLASS="CALSTABLE"
4567><TR
4568><TD
4569WIDTH="20%"
4570ALIGN="RIGHT"
4571VALIGN="TOP"
4572><TT
4573CLASS="PARAMETER"
4574><I
4575>ctxt</I
4576></TT
4577>&nbsp;:</TD
4578><TD
4579WIDTH="80%"
4580ALIGN="LEFT"
4581VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004582> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004583></TR
4584><TR
4585><TD
4586WIDTH="20%"
4587ALIGN="RIGHT"
4588VALIGN="TOP"
4589><TT
4590CLASS="PARAMETER"
4591><I
4592>value</I
4593></TT
4594>&nbsp;:</TD
4595><TD
4596WIDTH="80%"
4597ALIGN="LEFT"
4598VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004599> Receive a possible fixed default value for the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004600></TR
4601><TR
4602><TD
4603WIDTH="20%"
4604ALIGN="RIGHT"
4605VALIGN="TOP"
4606><I
4607CLASS="EMPHASIS"
4608>Returns</I
4609> :</TD
4610><TD
4611WIDTH="80%"
4612ALIGN="LEFT"
4613VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004614> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED
4615or XML_ATTRIBUTE_FIXED. </TD
Daniel Veillard35925471999-02-25 08:46:07 +00004616></TR
4617></TABLE
4618><P
4619></P
4620></DIV
4621></DIV
4622><HR><DIV
4623CLASS="REFSECT2"
4624><A
Daniel Veillard35008381999-10-25 13:15:52 +00004625NAME="AEN8366"
Daniel Veillard35925471999-02-25 08:46:07 +00004626></A
4627><H3
4628><A
4629NAME="XMLPARSENOTATIONTYPE"
4630></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004631>xmlParseNotationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004632><TABLE
4633BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004634BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004635WIDTH="100%"
4636CELLPADDING="6"
4637><TR
4638><TD
4639><PRE
4640CLASS="PROGRAMLISTING"
4641><A
4642HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4643>xmlEnumerationPtr</A
4644> xmlParseNotationType (<A
4645HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4646>xmlParserCtxtPtr</A
4647> ctxt);</PRE
4648></TD
4649></TR
4650></TABLE
4651><P
4652>parse an Notation attribute type.</P
4653><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004654>Note: the leading 'NOTATION' S part has already being parsed...</P
4655><P
Daniel Veillard35925471999-02-25 08:46:07 +00004656>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
4657><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004658>[ VC: Notation Attributes ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004659Values of this type must match one of the notation names included
Daniel Veillardb05deb71999-08-10 19:04:08 +00004660in the declaration; all notation names in the declaration must be declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00004661><P
4662></P
4663><DIV
4664CLASS="INFORMALTABLE"
4665><P
4666></P
4667><TABLE
4668BORDER="0"
4669WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004670BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004671CELLSPACING="0"
4672CELLPADDING="4"
4673CLASS="CALSTABLE"
4674><TR
4675><TD
4676WIDTH="20%"
4677ALIGN="RIGHT"
4678VALIGN="TOP"
4679><TT
4680CLASS="PARAMETER"
4681><I
4682>ctxt</I
4683></TT
4684>&nbsp;:</TD
4685><TD
4686WIDTH="80%"
4687ALIGN="LEFT"
4688VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004689> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004690></TR
4691><TR
4692><TD
4693WIDTH="20%"
4694ALIGN="RIGHT"
4695VALIGN="TOP"
4696><I
4697CLASS="EMPHASIS"
4698>Returns</I
4699> :</TD
4700><TD
4701WIDTH="80%"
4702ALIGN="LEFT"
4703VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004704> the notation attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004705></TR
4706></TABLE
4707><P
4708></P
4709></DIV
4710></DIV
4711><HR><DIV
4712CLASS="REFSECT2"
4713><A
Daniel Veillard35008381999-10-25 13:15:52 +00004714NAME="AEN8390"
Daniel Veillard35925471999-02-25 08:46:07 +00004715></A
4716><H3
4717><A
4718NAME="XMLPARSEENUMERATIONTYPE"
4719></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004720>xmlParseEnumerationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004721><TABLE
4722BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004723BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004724WIDTH="100%"
4725CELLPADDING="6"
4726><TR
4727><TD
4728><PRE
4729CLASS="PROGRAMLISTING"
4730><A
4731HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4732>xmlEnumerationPtr</A
4733> xmlParseEnumerationType (<A
4734HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4735>xmlParserCtxtPtr</A
4736> ctxt);</PRE
4737></TD
4738></TR
4739></TABLE
4740><P
4741>parse an Enumeration attribute type.</P
4742><P
4743>[59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')'</P
4744><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004745>[ VC: Enumeration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004746Values of this type must match one of the Nmtoken tokens in
Daniel Veillardb05deb71999-08-10 19:04:08 +00004747the declaration</P
4748><P
Daniel Veillard35925471999-02-25 08:46:07 +00004749></P
4750><DIV
4751CLASS="INFORMALTABLE"
4752><P
4753></P
4754><TABLE
4755BORDER="0"
4756WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004757BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004758CELLSPACING="0"
4759CELLPADDING="4"
4760CLASS="CALSTABLE"
4761><TR
4762><TD
4763WIDTH="20%"
4764ALIGN="RIGHT"
4765VALIGN="TOP"
4766><TT
4767CLASS="PARAMETER"
4768><I
4769>ctxt</I
4770></TT
4771>&nbsp;:</TD
4772><TD
4773WIDTH="80%"
4774ALIGN="LEFT"
4775VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004776> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004777></TR
4778><TR
4779><TD
4780WIDTH="20%"
4781ALIGN="RIGHT"
4782VALIGN="TOP"
4783><I
4784CLASS="EMPHASIS"
4785>Returns</I
4786> :</TD
4787><TD
4788WIDTH="80%"
4789ALIGN="LEFT"
4790VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004791> the enumeration attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004792></TR
4793></TABLE
4794><P
4795></P
4796></DIV
4797></DIV
4798><HR><DIV
4799CLASS="REFSECT2"
4800><A
Daniel Veillard35008381999-10-25 13:15:52 +00004801NAME="AEN8413"
Daniel Veillard35925471999-02-25 08:46:07 +00004802></A
4803><H3
4804><A
4805NAME="XMLPARSEENUMERATEDTYPE"
4806></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004807>xmlParseEnumeratedType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004808><TABLE
4809BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004810BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004811WIDTH="100%"
4812CELLPADDING="6"
4813><TR
4814><TD
4815><PRE
4816CLASS="PROGRAMLISTING"
4817>int xmlParseEnumeratedType (<A
4818HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4819>xmlParserCtxtPtr</A
4820> ctxt,
4821 <A
4822HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4823>xmlEnumerationPtr</A
4824> *tree);</PRE
4825></TD
4826></TR
4827></TABLE
4828><P
4829>parse an Enumerated attribute type.</P
4830><P
4831>[57] EnumeratedType ::= NotationType | Enumeration</P
4832><P
4833>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
4834><P
4835></P
4836><DIV
4837CLASS="INFORMALTABLE"
4838><P
4839></P
4840><TABLE
4841BORDER="0"
4842WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004843BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004844CELLSPACING="0"
4845CELLPADDING="4"
4846CLASS="CALSTABLE"
4847><TR
4848><TD
4849WIDTH="20%"
4850ALIGN="RIGHT"
4851VALIGN="TOP"
4852><TT
4853CLASS="PARAMETER"
4854><I
4855>ctxt</I
4856></TT
4857>&nbsp;:</TD
4858><TD
4859WIDTH="80%"
4860ALIGN="LEFT"
4861VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004862> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004863></TR
4864><TR
4865><TD
4866WIDTH="20%"
4867ALIGN="RIGHT"
4868VALIGN="TOP"
4869><TT
4870CLASS="PARAMETER"
4871><I
4872>tree</I
4873></TT
4874>&nbsp;:</TD
4875><TD
4876WIDTH="80%"
4877ALIGN="LEFT"
4878VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004879> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004880></TR
4881><TR
4882><TD
4883WIDTH="20%"
4884ALIGN="RIGHT"
4885VALIGN="TOP"
4886><I
4887CLASS="EMPHASIS"
4888>Returns</I
4889> :</TD
4890><TD
4891WIDTH="80%"
4892ALIGN="LEFT"
4893VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004894> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004895></TR
4896></TABLE
4897><P
4898></P
4899></DIV
4900></DIV
4901><HR><DIV
4902CLASS="REFSECT2"
4903><A
Daniel Veillard35008381999-10-25 13:15:52 +00004904NAME="AEN8440"
Daniel Veillard35925471999-02-25 08:46:07 +00004905></A
4906><H3
4907><A
4908NAME="XMLPARSEATTRIBUTETYPE"
4909></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004910>xmlParseAttributeType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004911><TABLE
4912BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004913BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004914WIDTH="100%"
4915CELLPADDING="6"
4916><TR
4917><TD
4918><PRE
4919CLASS="PROGRAMLISTING"
4920>int xmlParseAttributeType (<A
4921HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4922>xmlParserCtxtPtr</A
4923> ctxt,
4924 <A
4925HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4926>xmlEnumerationPtr</A
4927> *tree);</PRE
4928></TD
4929></TR
4930></TABLE
4931><P
4932>parse the Attribute list def for an element</P
4933><P
4934>[54] AttType ::= StringType | TokenizedType | EnumeratedType</P
4935><P
4936>[55] StringType ::= 'CDATA'</P
4937><P
4938>[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' |
4939'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'</P
4940><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004941>Validity constraints for attribute values syntax are checked in
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004942<A
4943HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
4944>xmlValidateAttributeValue</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004945>()</P
4946><P
4947>[ VC: ID ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004948Values of type ID must match the Name production. A name must not
Daniel Veillardb05deb71999-08-10 19:04:08 +00004949appear more than once in an XML document as a value of this type;
4950i.e., ID values must uniquely identify the elements which bear them.</P
4951><P
4952>[ VC: One ID per Element Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004953No element type may have more than one ID attribute specified.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004954><P
4955>[ VC: ID Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004956An ID attribute must have a declared default of <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00004957HREF="IMPLIED"
4958>IMPLIED</GTKDOCLINK
4959> or <GTKDOCLINK
4960HREF="REQUIRED"
4961>REQUIRED</GTKDOCLINK
4962>.</P
4963><P
4964>[ VC: IDREF ]
4965Values of type IDREF must match the Name production, and values
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004966of type IDREFS must match Names; TODO each IDREF Name must match the value
4967of an ID attribute on some element in the XML document; i.e. IDREF
Daniel Veillardb05deb71999-08-10 19:04:08 +00004968values must match the value of some ID attribute.</P
4969><P
4970>[ VC: Entity Name ]
4971Values of type ENTITY must match the Name production, values
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004972of type ENTITIES must match Names; TODO each Entity Name must match the
4973name of an unparsed entity declared in the DTD. </P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004974><P
4975>[ VC: Name Token ]
4976Values of type NMTOKEN must match the Nmtoken production; values
4977of type NMTOKENS must match Nmtokens.</P
4978><P
Daniel Veillard35925471999-02-25 08:46:07 +00004979></P
4980><DIV
4981CLASS="INFORMALTABLE"
4982><P
4983></P
4984><TABLE
4985BORDER="0"
4986WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004987BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004988CELLSPACING="0"
4989CELLPADDING="4"
4990CLASS="CALSTABLE"
4991><TR
4992><TD
4993WIDTH="20%"
4994ALIGN="RIGHT"
4995VALIGN="TOP"
4996><TT
4997CLASS="PARAMETER"
4998><I
4999>ctxt</I
5000></TT
5001>&nbsp;:</TD
5002><TD
5003WIDTH="80%"
5004ALIGN="LEFT"
5005VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005006> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005007></TR
5008><TR
5009><TD
5010WIDTH="20%"
5011ALIGN="RIGHT"
5012VALIGN="TOP"
5013><TT
5014CLASS="PARAMETER"
5015><I
5016>tree</I
5017></TT
5018>&nbsp;:</TD
5019><TD
5020WIDTH="80%"
5021ALIGN="LEFT"
5022VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005023> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005024></TR
5025><TR
5026><TD
5027WIDTH="20%"
5028ALIGN="RIGHT"
5029VALIGN="TOP"
5030><I
5031CLASS="EMPHASIS"
5032>Returns</I
5033> :</TD
5034><TD
5035WIDTH="80%"
5036ALIGN="LEFT"
5037VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005038>the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005039></TR
5040></TABLE
5041><P
5042></P
5043></DIV
5044></DIV
5045><HR><DIV
5046CLASS="REFSECT2"
5047><A
Daniel Veillard35008381999-10-25 13:15:52 +00005048NAME="AEN8478"
Daniel Veillard35925471999-02-25 08:46:07 +00005049></A
5050><H3
5051><A
5052NAME="XMLPARSEATTRIBUTELISTDECL"
5053></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005054>xmlParseAttributeListDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005055><TABLE
5056BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005057BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005058WIDTH="100%"
5059CELLPADDING="6"
5060><TR
5061><TD
5062><PRE
5063CLASS="PROGRAMLISTING"
5064>void xmlParseAttributeListDecl (<A
5065HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5066>xmlParserCtxtPtr</A
5067> ctxt);</PRE
5068></TD
5069></TR
5070></TABLE
5071><P
5072>: parse the Attribute list def for an element</P
5073><P
5074>[52] AttlistDecl ::= '&lt;!ATTLIST' S Name AttDef* S? '&gt;'</P
5075><P
5076>[53] AttDef ::= S Name S AttType S DefaultDecl</P
5077><P
5078></P
5079><DIV
5080CLASS="INFORMALTABLE"
5081><P
5082></P
5083><TABLE
5084BORDER="0"
5085WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005086BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005087CELLSPACING="0"
5088CELLPADDING="4"
5089CLASS="CALSTABLE"
5090><TR
5091><TD
5092WIDTH="20%"
5093ALIGN="RIGHT"
5094VALIGN="TOP"
5095><TT
5096CLASS="PARAMETER"
5097><I
5098>ctxt</I
5099></TT
5100>&nbsp;:</TD
5101><TD
5102WIDTH="80%"
5103ALIGN="LEFT"
5104VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005105> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005106></TR
5107></TABLE
5108><P
5109></P
5110></DIV
5111></DIV
5112><HR><DIV
5113CLASS="REFSECT2"
5114><A
Daniel Veillard35008381999-10-25 13:15:52 +00005115NAME="AEN8496"
Daniel Veillard35925471999-02-25 08:46:07 +00005116></A
5117><H3
5118><A
5119NAME="XMLPARSEELEMENTMIXEDCONTENTDECL"
5120></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005121>xmlParseElementMixedContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005122><TABLE
5123BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005124BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005125WIDTH="100%"
5126CELLPADDING="6"
5127><TR
5128><TD
5129><PRE
5130CLASS="PROGRAMLISTING"
5131><A
5132HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
5133>xmlElementContentPtr</A
5134> xmlParseElementMixedContentDecl
5135 (<A
5136HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5137>xmlParserCtxtPtr</A
5138> ctxt);</PRE
5139></TD
5140></TR
5141></TABLE
5142><P
5143>parse the declaration for a Mixed Element content
5144The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
5145><P
5146>[51] Mixed ::= '(' S? '<GTKDOCLINK
5147HREF="PCDATA"
5148>PCDATA</GTKDOCLINK
5149>' (S? '|' S? Name)* S? ')*' |
5150'(' S? '<GTKDOCLINK
5151HREF="PCDATA"
5152>PCDATA</GTKDOCLINK
5153>' S? ')'</P
5154><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005155>[ VC: Proper Group/PE Nesting ] applies to [51] too (see [49])</P
5156><P
5157>[ VC: No Duplicate Types ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005158The same name must not appear more than once in a single
Daniel Veillardb05deb71999-08-10 19:04:08 +00005159mixed-content declaration.</P
5160><P
Daniel Veillard35925471999-02-25 08:46:07 +00005161></P
5162><DIV
5163CLASS="INFORMALTABLE"
5164><P
5165></P
5166><TABLE
5167BORDER="0"
5168WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005169BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005170CELLSPACING="0"
5171CELLPADDING="4"
5172CLASS="CALSTABLE"
5173><TR
5174><TD
5175WIDTH="20%"
5176ALIGN="RIGHT"
5177VALIGN="TOP"
5178><TT
5179CLASS="PARAMETER"
5180><I
5181>ctxt</I
5182></TT
5183>&nbsp;:</TD
5184><TD
5185WIDTH="80%"
5186ALIGN="LEFT"
5187VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005188> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005189></TR
5190><TR
5191><TD
5192WIDTH="20%"
5193ALIGN="RIGHT"
5194VALIGN="TOP"
5195><I
5196CLASS="EMPHASIS"
5197>Returns</I
5198> :</TD
5199><TD
5200WIDTH="80%"
5201ALIGN="LEFT"
5202VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005203> the list of the xmlElementContentPtr describing the element choices</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005204></TR
5205></TABLE
5206><P
5207></P
5208></DIV
5209></DIV
5210><HR><DIV
5211CLASS="REFSECT2"
5212><A
Daniel Veillard35008381999-10-25 13:15:52 +00005213NAME="AEN8522"
Daniel Veillard35925471999-02-25 08:46:07 +00005214></A
5215><H3
5216><A
5217NAME="XMLPARSEELEMENTCHILDRENCONTENTDECL"
5218></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005219>xmlParseElementChildrenContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005220><TABLE
5221BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005222BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005223WIDTH="100%"
5224CELLPADDING="6"
5225><TR
5226><TD
5227><PRE
5228CLASS="PROGRAMLISTING"
5229><A
5230HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
5231>xmlElementContentPtr</A
5232> xmlParseElementChildrenContentDecl
5233 (<A
5234HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5235>xmlParserCtxtPtr</A
5236> ctxt);</PRE
5237></TD
5238></TR
5239></TABLE
5240><P
5241>parse the declaration for a Mixed Element content
5242The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
5243><P
5244>[47] children ::= (choice | seq) ('?' | '*' | '+')?</P
5245><P
5246>[48] cp ::= (Name | choice | seq) ('?' | '*' | '+')?</P
5247><P
5248>[49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')'</P
5249><P
5250>[50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'</P
5251><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005252>[ VC: Proper Group/PE Nesting ] applies to [49] and [50]
5253TODO Parameter-entity replacement text must be properly nested
5254with parenthetized groups. That is to say, if either of the
5255opening or closing parentheses in a choice, seq, or Mixed
5256construct is contained in the replacement text for a parameter
5257entity, both must be contained in the same replacement text. For
5258interoperability, if a parameter-entity reference appears in a
5259choice, seq, or Mixed construct, its replacement text should not
5260be empty, and neither the first nor last non-blank character of
5261the replacement text should be a connector (| or ,).</P
5262><P
Daniel Veillard35925471999-02-25 08:46:07 +00005263></P
5264><DIV
5265CLASS="INFORMALTABLE"
5266><P
5267></P
5268><TABLE
5269BORDER="0"
5270WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005271BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005272CELLSPACING="0"
5273CELLPADDING="4"
5274CLASS="CALSTABLE"
5275><TR
5276><TD
5277WIDTH="20%"
5278ALIGN="RIGHT"
5279VALIGN="TOP"
5280><TT
5281CLASS="PARAMETER"
5282><I
5283>ctxt</I
5284></TT
5285>&nbsp;:</TD
5286><TD
5287WIDTH="80%"
5288ALIGN="LEFT"
5289VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005290> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005291></TR
5292><TR
5293><TD
5294WIDTH="20%"
5295ALIGN="RIGHT"
5296VALIGN="TOP"
5297><I
5298CLASS="EMPHASIS"
5299>Returns</I
5300> :</TD
5301><TD
5302WIDTH="80%"
5303ALIGN="LEFT"
5304VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005305> the tree of xmlElementContentPtr describing the element
5306hierarchy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005307></TR
5308></TABLE
5309><P
5310></P
5311></DIV
5312></DIV
5313><HR><DIV
5314CLASS="REFSECT2"
5315><A
Daniel Veillard35008381999-10-25 13:15:52 +00005316NAME="AEN8548"
Daniel Veillard35925471999-02-25 08:46:07 +00005317></A
5318><H3
5319><A
5320NAME="XMLPARSEELEMENTCONTENTDECL"
5321></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005322>xmlParseElementContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005323><TABLE
5324BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005325BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005326WIDTH="100%"
5327CELLPADDING="6"
5328><TR
5329><TD
5330><PRE
5331CLASS="PROGRAMLISTING"
5332>int xmlParseElementContentDecl (<A
5333HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5334>xmlParserCtxtPtr</A
5335> ctxt,
5336 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005337HREF="gnome-xml-tree.html#XMLCHAR"
5338>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005339> *name,
5340 <A
5341HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
5342>xmlElementContentPtr</A
5343> *result);</PRE
5344></TD
5345></TR
5346></TABLE
5347><P
5348>parse the declaration for an Element content either Mixed or Children,
5349the cases EMPTY and ANY are handled directly in xmlParseElementDecl</P
5350><P
5351>[46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</P
5352><P
5353></P
5354><DIV
5355CLASS="INFORMALTABLE"
5356><P
5357></P
5358><TABLE
5359BORDER="0"
5360WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005361BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005362CELLSPACING="0"
5363CELLPADDING="4"
5364CLASS="CALSTABLE"
5365><TR
5366><TD
5367WIDTH="20%"
5368ALIGN="RIGHT"
5369VALIGN="TOP"
5370><TT
5371CLASS="PARAMETER"
5372><I
5373>ctxt</I
5374></TT
5375>&nbsp;:</TD
5376><TD
5377WIDTH="80%"
5378ALIGN="LEFT"
5379VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005380> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005381></TR
5382><TR
5383><TD
5384WIDTH="20%"
5385ALIGN="RIGHT"
5386VALIGN="TOP"
5387><TT
5388CLASS="PARAMETER"
5389><I
5390>name</I
5391></TT
5392>&nbsp;:</TD
5393><TD
5394WIDTH="80%"
5395ALIGN="LEFT"
5396VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005397> the name of the element being defined.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005398></TR
5399><TR
5400><TD
5401WIDTH="20%"
5402ALIGN="RIGHT"
5403VALIGN="TOP"
5404><TT
5405CLASS="PARAMETER"
5406><I
5407>result</I
5408></TT
5409>&nbsp;:</TD
5410><TD
5411WIDTH="80%"
5412ALIGN="LEFT"
5413VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005414> the Element Content pointer will be stored here if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005415></TR
5416><TR
5417><TD
5418WIDTH="20%"
5419ALIGN="RIGHT"
5420VALIGN="TOP"
5421><I
5422CLASS="EMPHASIS"
5423>Returns</I
5424> :</TD
5425><TD
5426WIDTH="80%"
5427ALIGN="LEFT"
5428VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005429> the type of element content XML_ELEMENT_TYPE_xxx</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005430></TR
5431></TABLE
5432><P
5433></P
5434></DIV
5435></DIV
5436><HR><DIV
5437CLASS="REFSECT2"
5438><A
Daniel Veillard35008381999-10-25 13:15:52 +00005439NAME="AEN8579"
Daniel Veillard35925471999-02-25 08:46:07 +00005440></A
5441><H3
5442><A
5443NAME="XMLPARSEELEMENTDECL"
5444></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005445>xmlParseElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005446><TABLE
5447BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005448BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005449WIDTH="100%"
5450CELLPADDING="6"
5451><TR
5452><TD
5453><PRE
5454CLASS="PROGRAMLISTING"
5455>int xmlParseElementDecl (<A
5456HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5457>xmlParserCtxtPtr</A
5458> ctxt);</PRE
5459></TD
5460></TR
5461></TABLE
5462><P
5463>parse an Element declaration.</P
5464><P
5465>[45] elementdecl ::= '&lt;!ELEMENT' S Name S contentspec S? '&gt;'</P
5466><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005467>[ VC: Unique Element Type Declaration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005468No element type may be declared more than once</P
Daniel Veillard35925471999-02-25 08:46:07 +00005469><P
5470></P
5471><DIV
5472CLASS="INFORMALTABLE"
5473><P
5474></P
5475><TABLE
5476BORDER="0"
5477WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005478BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005479CELLSPACING="0"
5480CELLPADDING="4"
5481CLASS="CALSTABLE"
5482><TR
5483><TD
5484WIDTH="20%"
5485ALIGN="RIGHT"
5486VALIGN="TOP"
5487><TT
5488CLASS="PARAMETER"
5489><I
5490>ctxt</I
5491></TT
5492>&nbsp;:</TD
5493><TD
5494WIDTH="80%"
5495ALIGN="LEFT"
5496VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005497> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005498></TR
5499><TR
5500><TD
5501WIDTH="20%"
5502ALIGN="RIGHT"
5503VALIGN="TOP"
5504><I
5505CLASS="EMPHASIS"
5506>Returns</I
5507> :</TD
5508><TD
5509WIDTH="80%"
5510ALIGN="LEFT"
5511VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005512>the type of the element, or -1 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005513></TR
5514></TABLE
5515><P
5516></P
5517></DIV
5518></DIV
5519><HR><DIV
5520CLASS="REFSECT2"
5521><A
Daniel Veillard35008381999-10-25 13:15:52 +00005522NAME="AEN8601"
Daniel Veillard35925471999-02-25 08:46:07 +00005523></A
5524><H3
5525><A
5526NAME="XMLPARSEMARKUPDECL"
5527></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005528>xmlParseMarkupDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005529><TABLE
5530BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005531BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005532WIDTH="100%"
5533CELLPADDING="6"
5534><TR
5535><TD
5536><PRE
5537CLASS="PROGRAMLISTING"
5538>void xmlParseMarkupDecl (<A
5539HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5540>xmlParserCtxtPtr</A
5541> ctxt);</PRE
5542></TD
5543></TR
5544></TABLE
5545><P
5546>parse Markup declarations</P
5547><P
5548>[29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
5549NotationDecl | PI | Comment</P
5550><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005551>[ VC: Proper Declaration/PE Nesting ]
5552TODO Parameter-entity replacement text must be properly nested with
5553markup declarations. That is to say, if either the first character
5554or the last character of a markup declaration (markupdecl above) is
5555contained in the replacement text for a parameter-entity reference,
5556both must be contained in the same replacement text.</P
5557><P
5558>[ WFC: PEs in Internal Subset ]
5559In the internal DTD subset, parameter-entity references can occur
5560only where markup declarations can occur, not within markup declarations.
5561(This does not apply to references that occur in external parameter
5562entities or to the external subset.)</P
Daniel Veillard35925471999-02-25 08:46:07 +00005563><P
5564></P
5565><DIV
5566CLASS="INFORMALTABLE"
5567><P
5568></P
5569><TABLE
5570BORDER="0"
5571WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005572BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005573CELLSPACING="0"
5574CELLPADDING="4"
5575CLASS="CALSTABLE"
5576><TR
5577><TD
5578WIDTH="20%"
5579ALIGN="RIGHT"
5580VALIGN="TOP"
5581><TT
5582CLASS="PARAMETER"
5583><I
5584>ctxt</I
5585></TT
5586>&nbsp;:</TD
5587><TD
5588WIDTH="80%"
5589ALIGN="LEFT"
5590VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005591> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005592></TR
5593></TABLE
5594><P
5595></P
5596></DIV
5597></DIV
5598><HR><DIV
5599CLASS="REFSECT2"
5600><A
Daniel Veillard35008381999-10-25 13:15:52 +00005601NAME="AEN8620"
Daniel Veillard35925471999-02-25 08:46:07 +00005602></A
5603><H3
5604><A
5605NAME="XMLPARSECHARREF"
5606></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005607>xmlParseCharRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005608><TABLE
5609BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005610BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005611WIDTH="100%"
5612CELLPADDING="6"
5613><TR
5614><TD
5615><PRE
5616CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005617>int xmlParseCharRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005618HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5619>xmlParserCtxtPtr</A
5620> ctxt);</PRE
5621></TD
5622></TR
5623></TABLE
5624><P
5625>parse Reference declarations</P
5626><P
5627>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
5628'&amp;<GTKDOCLINK
5629HREF="X"
5630>x</GTKDOCLINK
5631>' [0-9a-fA-F]+ ';'</P
5632><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005633>[ WFC: Legal Character ]
5634Characters referred to using character references must match the
5635production for Char.</P
5636><P
Daniel Veillard35925471999-02-25 08:46:07 +00005637></P
5638><DIV
5639CLASS="INFORMALTABLE"
5640><P
5641></P
5642><TABLE
5643BORDER="0"
5644WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005645BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005646CELLSPACING="0"
5647CELLPADDING="4"
5648CLASS="CALSTABLE"
5649><TR
5650><TD
5651WIDTH="20%"
5652ALIGN="RIGHT"
5653VALIGN="TOP"
5654><TT
5655CLASS="PARAMETER"
5656><I
5657>ctxt</I
5658></TT
5659>&nbsp;:</TD
5660><TD
5661WIDTH="80%"
5662ALIGN="LEFT"
5663VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005664> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005665></TR
5666><TR
5667><TD
5668WIDTH="20%"
5669ALIGN="RIGHT"
5670VALIGN="TOP"
5671><I
5672CLASS="EMPHASIS"
5673>Returns</I
5674> :</TD
5675><TD
5676WIDTH="80%"
5677ALIGN="LEFT"
5678VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005679>the value parsed (as an int)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005680></TR
5681></TABLE
5682><P
5683></P
5684></DIV
5685></DIV
5686><HR><DIV
5687CLASS="REFSECT2"
5688><A
Daniel Veillard35008381999-10-25 13:15:52 +00005689NAME="AEN8643"
Daniel Veillard35925471999-02-25 08:46:07 +00005690></A
5691><H3
5692><A
5693NAME="XMLPARSEENTITYREF"
5694></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005695>xmlParseEntityRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005696><TABLE
5697BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005698BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005699WIDTH="100%"
5700CELLPADDING="6"
5701><TR
5702><TD
5703><PRE
5704CLASS="PROGRAMLISTING"
5705><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005706HREF="gnome-xml-entities.html#XMLENTITYPTR"
5707>xmlEntityPtr</A
5708> xmlParseEntityRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005709HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5710>xmlParserCtxtPtr</A
5711> ctxt);</PRE
5712></TD
5713></TR
5714></TABLE
5715><P
5716>parse ENTITY references declarations</P
5717><P
5718>[68] EntityRef ::= '&amp;' Name ';'</P
5719><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005720>[ WFC: Entity Declared ]
5721In a document without any DTD, a document with only an internal DTD
5722subset which contains no parameter entity references, or a document
5723with "standalone='yes'", the Name given in the entity reference
5724must match that in an entity declaration, except that well-formed
5725documents need not declare any of the following entities: amp, lt,
5726gt, apos, quot. The declaration of a parameter entity must precede
5727any reference to it. Similarly, the declaration of a general entity
5728must precede any reference to it which appears in a default value in an
5729attribute-list declaration. Note that if entities are declared in the
5730external subset or in external parameter entities, a non-validating
5731processor is not obligated to read and process their declarations;
5732for such documents, the rule that an entity must be declared is a
5733well-formedness constraint only if standalone='yes'.</P
5734><P
5735>[ WFC: Parsed Entity ]
5736An entity reference must not contain the name of an unparsed entity</P
5737><P
Daniel Veillard35925471999-02-25 08:46:07 +00005738></P
5739><DIV
5740CLASS="INFORMALTABLE"
5741><P
5742></P
5743><TABLE
5744BORDER="0"
5745WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005746BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005747CELLSPACING="0"
5748CELLPADDING="4"
5749CLASS="CALSTABLE"
5750><TR
5751><TD
5752WIDTH="20%"
5753ALIGN="RIGHT"
5754VALIGN="TOP"
5755><TT
5756CLASS="PARAMETER"
5757><I
5758>ctxt</I
5759></TT
5760>&nbsp;:</TD
5761><TD
5762WIDTH="80%"
5763ALIGN="LEFT"
5764VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005765> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005766></TR
5767><TR
5768><TD
5769WIDTH="20%"
5770ALIGN="RIGHT"
5771VALIGN="TOP"
5772><I
5773CLASS="EMPHASIS"
5774>Returns</I
5775> :</TD
5776><TD
5777WIDTH="80%"
5778ALIGN="LEFT"
5779VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005780>the xmlEntityPtr if found, or NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005781></TR
5782></TABLE
5783><P
5784></P
5785></DIV
5786></DIV
5787><HR><DIV
5788CLASS="REFSECT2"
5789><A
Daniel Veillard35008381999-10-25 13:15:52 +00005790NAME="AEN8667"
Daniel Veillard35925471999-02-25 08:46:07 +00005791></A
5792><H3
5793><A
5794NAME="XMLPARSEREFERENCE"
5795></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005796>xmlParseReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005797><TABLE
5798BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005799BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005800WIDTH="100%"
5801CELLPADDING="6"
5802><TR
5803><TD
5804><PRE
5805CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005806>void xmlParseReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005807HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5808>xmlParserCtxtPtr</A
5809> ctxt);</PRE
5810></TD
5811></TR
5812></TABLE
5813><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00005814>parse and handle entity references in content, depending on the SAX
5815interface, this may end-up in a call to <GTKDOCLINK
5816HREF="CHARACTER"
5817>character</GTKDOCLINK
5818>() if this is a
5819CharRef, a predefined entity, if there is no <GTKDOCLINK
5820HREF="REFERENCE"
5821>reference</GTKDOCLINK
5822>() callback.
5823or if the parser was asked to switch to that mode.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005824><P
5825>[67] Reference ::= EntityRef | CharRef</P
5826><P
5827></P
5828><DIV
5829CLASS="INFORMALTABLE"
5830><P
5831></P
5832><TABLE
5833BORDER="0"
5834WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005835BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005836CELLSPACING="0"
5837CELLPADDING="4"
5838CLASS="CALSTABLE"
5839><TR
5840><TD
5841WIDTH="20%"
5842ALIGN="RIGHT"
5843VALIGN="TOP"
5844><TT
5845CLASS="PARAMETER"
5846><I
5847>ctxt</I
5848></TT
5849>&nbsp;:</TD
5850><TD
5851WIDTH="80%"
5852ALIGN="LEFT"
5853VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005854> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005855></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005856></TABLE
5857><P
5858></P
5859></DIV
5860></DIV
5861><HR><DIV
5862CLASS="REFSECT2"
5863><A
Daniel Veillard35008381999-10-25 13:15:52 +00005864NAME="AEN8686"
Daniel Veillard35925471999-02-25 08:46:07 +00005865></A
5866><H3
5867><A
5868NAME="XMLPARSEPEREFERENCE"
5869></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005870>xmlParsePEReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005871><TABLE
5872BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005873BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005874WIDTH="100%"
5875CELLPADDING="6"
5876><TR
5877><TD
5878><PRE
5879CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005880>void xmlParsePEReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005881HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5882>xmlParserCtxtPtr</A
5883> ctxt);</PRE
5884></TD
5885></TR
5886></TABLE
5887><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00005888>parse PEReference declarations
5889The entity content is handled directly by pushing it's content as
5890a new input stream.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005891><P
5892>[69] PEReference ::= '%' Name ';'</P
5893><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005894>[ WFC: No Recursion ]
5895TODO A parsed entity must not contain a recursive
5896reference to itself, either directly or indirectly. </P
5897><P
5898>[ WFC: Entity Declared ]
5899In a document without any DTD, a document with only an internal DTD
5900subset which contains no parameter entity references, or a document
5901with "standalone='yes'", ... ... The declaration of a parameter
5902entity must precede any reference to it...</P
5903><P
5904>[ VC: Entity Declared ]
5905In a document with an external subset or external parameter entities
5906with "standalone='no'", ... ... The declaration of a parameter entity
5907must precede any reference to it...</P
5908><P
5909>[ WFC: In DTD ]
5910Parameter-entity references may only appear in the DTD.
5911NOTE: misleading but this is handled.</P
5912><P
Daniel Veillard35925471999-02-25 08:46:07 +00005913></P
5914><DIV
5915CLASS="INFORMALTABLE"
5916><P
5917></P
5918><TABLE
5919BORDER="0"
5920WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005921BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005922CELLSPACING="0"
5923CELLPADDING="4"
5924CLASS="CALSTABLE"
5925><TR
5926><TD
5927WIDTH="20%"
5928ALIGN="RIGHT"
5929VALIGN="TOP"
5930><TT
5931CLASS="PARAMETER"
5932><I
5933>ctxt</I
5934></TT
5935>&nbsp;:</TD
5936><TD
5937WIDTH="80%"
5938ALIGN="LEFT"
5939VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005940> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005941></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005942></TABLE
5943><P
5944></P
5945></DIV
5946></DIV
5947><HR><DIV
5948CLASS="REFSECT2"
5949><A
Daniel Veillard35008381999-10-25 13:15:52 +00005950NAME="AEN8707"
Daniel Veillard35925471999-02-25 08:46:07 +00005951></A
5952><H3
5953><A
5954NAME="XMLPARSEDOCTYPEDECL"
5955></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005956>xmlParseDocTypeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005957><TABLE
5958BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005959BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005960WIDTH="100%"
5961CELLPADDING="6"
5962><TR
5963><TD
5964><PRE
5965CLASS="PROGRAMLISTING"
5966>void xmlParseDocTypeDecl (<A
5967HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5968>xmlParserCtxtPtr</A
5969> ctxt);</PRE
5970></TD
5971></TR
5972></TABLE
5973><P
5974>parse a DOCTYPE declaration</P
5975><P
5976>[28] doctypedecl ::= '&lt;!DOCTYPE' S Name (S ExternalID)? S?
5977('[' (markupdecl | PEReference | S)* ']' S?)? '&gt;'</P
5978><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005979>[ VC: Root Element Type ]
5980The Name in the document type declaration must match the element
5981type of the root element.</P
5982><P
Daniel Veillard35925471999-02-25 08:46:07 +00005983></P
5984><DIV
5985CLASS="INFORMALTABLE"
5986><P
5987></P
5988><TABLE
5989BORDER="0"
5990WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005991BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005992CELLSPACING="0"
5993CELLPADDING="4"
5994CLASS="CALSTABLE"
5995><TR
5996><TD
5997WIDTH="20%"
5998ALIGN="RIGHT"
5999VALIGN="TOP"
6000><TT
6001CLASS="PARAMETER"
6002><I
6003>ctxt</I
6004></TT
6005>&nbsp;:</TD
6006><TD
6007WIDTH="80%"
6008ALIGN="LEFT"
6009VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006010> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006011></TR
6012></TABLE
6013><P
6014></P
6015></DIV
6016></DIV
6017><HR><DIV
6018CLASS="REFSECT2"
6019><A
Daniel Veillard35008381999-10-25 13:15:52 +00006020NAME="AEN8725"
Daniel Veillard35925471999-02-25 08:46:07 +00006021></A
6022><H3
6023><A
6024NAME="XMLPARSEATTRIBUTE"
6025></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006026>xmlParseAttribute ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006027><TABLE
6028BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006029BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006030WIDTH="100%"
6031CELLPADDING="6"
6032><TR
6033><TD
6034><PRE
6035CLASS="PROGRAMLISTING"
6036><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006037HREF="gnome-xml-tree.html#XMLCHAR"
6038>xmlChar</A
6039>* xmlParseAttribute (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006040HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6041>xmlParserCtxtPtr</A
6042> ctxt,
6043 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006044HREF="gnome-xml-tree.html#XMLCHAR"
6045>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006046> **value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00006047></TD
6048></TR
6049></TABLE
6050><P
6051>parse an attribute</P
6052><P
6053>[41] Attribute ::= Name Eq AttValue</P
6054><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006055>[ WFC: No External Entity References ]
6056Attribute values cannot contain direct or indirect entity references
6057to external entities.</P
6058><P
6059>[ WFC: No &lt; in Attribute Values ]
6060The replacement text of any entity referred to directly or indirectly in
6061an attribute value (other than "&amp;lt;") must not contain a &lt;. </P
6062><P
6063>[ VC: Attribute Value Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006064The attribute must have been declared; the value must be of the type
Daniel Veillardb05deb71999-08-10 19:04:08 +00006065declared for it.</P
6066><P
Daniel Veillard35925471999-02-25 08:46:07 +00006067>[25] Eq ::= S? '=' S?</P
6068><P
6069>With namespace:</P
6070><P
6071>[NS 11] Attribute ::= QName Eq AttValue</P
6072><P
6073>Also the case QName == xmlns:??? is handled independently as a namespace
6074definition.</P
6075><P
6076></P
6077><DIV
6078CLASS="INFORMALTABLE"
6079><P
6080></P
6081><TABLE
6082BORDER="0"
6083WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006084BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006085CELLSPACING="0"
6086CELLPADDING="4"
6087CLASS="CALSTABLE"
6088><TR
6089><TD
6090WIDTH="20%"
6091ALIGN="RIGHT"
6092VALIGN="TOP"
6093><TT
6094CLASS="PARAMETER"
6095><I
6096>ctxt</I
6097></TT
6098>&nbsp;:</TD
6099><TD
6100WIDTH="80%"
6101ALIGN="LEFT"
6102VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006103> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006104></TR
6105><TR
6106><TD
6107WIDTH="20%"
6108ALIGN="RIGHT"
6109VALIGN="TOP"
6110><TT
6111CLASS="PARAMETER"
6112><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00006113>value</I
Daniel Veillard35925471999-02-25 08:46:07 +00006114></TT
6115>&nbsp;:</TD
6116><TD
6117WIDTH="80%"
6118ALIGN="LEFT"
6119VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006120> a xmlChar ** used to store the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006121></TR
6122><TR
6123><TD
6124WIDTH="20%"
6125ALIGN="RIGHT"
6126VALIGN="TOP"
6127><I
6128CLASS="EMPHASIS"
6129>Returns</I
6130> :</TD
6131><TD
6132WIDTH="80%"
6133ALIGN="LEFT"
6134VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006135>the attribute name, and the value in *value.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006136></TR
6137></TABLE
6138><P
6139></P
6140></DIV
6141></DIV
6142><HR><DIV
6143CLASS="REFSECT2"
6144><A
Daniel Veillard35008381999-10-25 13:15:52 +00006145NAME="AEN8759"
Daniel Veillard35925471999-02-25 08:46:07 +00006146></A
6147><H3
6148><A
6149NAME="XMLPARSESTARTTAG"
6150></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006151>xmlParseStartTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006152><TABLE
6153BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006154BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006155WIDTH="100%"
6156CELLPADDING="6"
6157><TR
6158><TD
6159><PRE
6160CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00006161><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006162HREF="gnome-xml-tree.html#XMLCHAR"
6163>xmlChar</A
6164>* xmlParseStartTag (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006165HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6166>xmlParserCtxtPtr</A
6167> ctxt);</PRE
6168></TD
6169></TR
6170></TABLE
6171><P
6172>parse a start of tag either for rule element or
6173EmptyElement. In both case we don't parse the tag closing chars.</P
6174><P
6175>[40] STag ::= '&lt;' Name (S Attribute)* S? '&gt;'</P
6176><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006177>[ WFC: Unique Att Spec ]
6178No attribute name may appear more than once in the same start-tag or
6179empty-element tag. </P
6180><P
Daniel Veillard35925471999-02-25 08:46:07 +00006181>[44] EmptyElemTag ::= '&lt;' Name (S Attribute)* S? '/&gt;'</P
6182><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006183>[ WFC: Unique Att Spec ]
6184No attribute name may appear more than once in the same start-tag or
6185empty-element tag. </P
6186><P
Daniel Veillard35925471999-02-25 08:46:07 +00006187>With namespace:</P
6188><P
6189>[NS 8] STag ::= '&lt;' QName (S Attribute)* S? '&gt;'</P
6190><P
6191>[NS 10] EmptyElement ::= '&lt;' QName (S Attribute)* S? '/&gt;'</P
6192><P
6193></P
6194><DIV
6195CLASS="INFORMALTABLE"
6196><P
6197></P
6198><TABLE
6199BORDER="0"
6200WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006201BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006202CELLSPACING="0"
6203CELLPADDING="4"
6204CLASS="CALSTABLE"
6205><TR
6206><TD
6207WIDTH="20%"
6208ALIGN="RIGHT"
6209VALIGN="TOP"
6210><TT
6211CLASS="PARAMETER"
6212><I
6213>ctxt</I
6214></TT
6215>&nbsp;:</TD
6216><TD
6217WIDTH="80%"
6218ALIGN="LEFT"
6219VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006220> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006221></TR
Daniel Veillard14fff061999-06-22 21:49:07 +00006222><TR
6223><TD
6224WIDTH="20%"
6225ALIGN="RIGHT"
6226VALIGN="TOP"
6227><I
6228CLASS="EMPHASIS"
6229>Returns</I
6230> :</TD
6231><TD
6232WIDTH="80%"
6233ALIGN="LEFT"
6234VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006235>the element name parsed</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006236></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006237></TABLE
6238><P
6239></P
6240></DIV
6241></DIV
6242><HR><DIV
6243CLASS="REFSECT2"
6244><A
Daniel Veillard35008381999-10-25 13:15:52 +00006245NAME="AEN8787"
Daniel Veillard35925471999-02-25 08:46:07 +00006246></A
6247><H3
6248><A
6249NAME="XMLPARSEENDTAG"
6250></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006251>xmlParseEndTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006252><TABLE
6253BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006254BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006255WIDTH="100%"
6256CELLPADDING="6"
6257><TR
6258><TD
6259><PRE
6260CLASS="PROGRAMLISTING"
6261>void xmlParseEndTag (<A
6262HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6263>xmlParserCtxtPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +00006264> ctxt,
6265 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006266HREF="gnome-xml-tree.html#XMLCHAR"
6267>xmlChar</A
Daniel Veillard14fff061999-06-22 21:49:07 +00006268> *tagname);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00006269></TD
6270></TR
6271></TABLE
6272><P
6273>parse an end of tag</P
6274><P
6275>[42] ETag ::= '&lt;/' Name S? '&gt;'</P
6276><P
6277>With namespace</P
6278><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00006279>[NS 9] ETag ::= '&lt;/' QName S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00006280><P
6281></P
6282><DIV
6283CLASS="INFORMALTABLE"
6284><P
6285></P
6286><TABLE
6287BORDER="0"
6288WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006289BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006290CELLSPACING="0"
6291CELLPADDING="4"
6292CLASS="CALSTABLE"
6293><TR
6294><TD
6295WIDTH="20%"
6296ALIGN="RIGHT"
6297VALIGN="TOP"
6298><TT
6299CLASS="PARAMETER"
6300><I
6301>ctxt</I
6302></TT
6303>&nbsp;:</TD
6304><TD
6305WIDTH="80%"
6306ALIGN="LEFT"
6307VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006308> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006309></TR
Daniel Veillard14fff061999-06-22 21:49:07 +00006310><TR
6311><TD
6312WIDTH="20%"
6313ALIGN="RIGHT"
6314VALIGN="TOP"
6315><TT
6316CLASS="PARAMETER"
6317><I
6318>tagname</I
6319></TT
6320>&nbsp;:</TD
6321><TD
6322WIDTH="80%"
6323ALIGN="LEFT"
6324VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006325> the tag name as parsed in the opening tag.</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006326></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006327></TABLE
6328><P
6329></P
6330></DIV
6331></DIV
6332><HR><DIV
6333CLASS="REFSECT2"
6334><A
Daniel Veillard35008381999-10-25 13:15:52 +00006335NAME="AEN8811"
Daniel Veillard35925471999-02-25 08:46:07 +00006336></A
6337><H3
6338><A
6339NAME="XMLPARSECDSECT"
6340></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006341>xmlParseCDSect ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006342><TABLE
6343BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006344BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006345WIDTH="100%"
6346CELLPADDING="6"
6347><TR
6348><TD
6349><PRE
6350CLASS="PROGRAMLISTING"
6351>void xmlParseCDSect (<A
6352HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6353>xmlParserCtxtPtr</A
6354> ctxt);</PRE
6355></TD
6356></TR
6357></TABLE
6358><P
6359>Parse escaped pure raw content.</P
6360><P
6361>[18] CDSect ::= CDStart CData CDEnd</P
6362><P
6363>[19] CDStart ::= '&lt;![CDATA['</P
6364><P
6365>[20] Data ::= (Char* - (Char* ']]&gt;' Char*))</P
6366><P
6367>[21] CDEnd ::= ']]&gt;'</P
6368><P
6369></P
6370><DIV
6371CLASS="INFORMALTABLE"
6372><P
6373></P
6374><TABLE
6375BORDER="0"
6376WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006377BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006378CELLSPACING="0"
6379CELLPADDING="4"
6380CLASS="CALSTABLE"
6381><TR
6382><TD
6383WIDTH="20%"
6384ALIGN="RIGHT"
6385VALIGN="TOP"
6386><TT
6387CLASS="PARAMETER"
6388><I
6389>ctxt</I
6390></TT
6391>&nbsp;:</TD
6392><TD
6393WIDTH="80%"
6394ALIGN="LEFT"
6395VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006396> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006397></TR
6398></TABLE
6399><P
6400></P
6401></DIV
6402></DIV
6403><HR><DIV
6404CLASS="REFSECT2"
6405><A
Daniel Veillard35008381999-10-25 13:15:52 +00006406NAME="AEN8831"
Daniel Veillard35925471999-02-25 08:46:07 +00006407></A
6408><H3
6409><A
6410NAME="XMLPARSECONTENT"
6411></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006412>xmlParseContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006413><TABLE
6414BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006415BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006416WIDTH="100%"
6417CELLPADDING="6"
6418><TR
6419><TD
6420><PRE
6421CLASS="PROGRAMLISTING"
6422>void xmlParseContent (<A
6423HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6424>xmlParserCtxtPtr</A
6425> ctxt);</PRE
6426></TD
6427></TR
6428></TABLE
6429><P
6430>Parse a content:</P
6431><P
6432>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
6433><P
6434></P
6435><DIV
6436CLASS="INFORMALTABLE"
6437><P
6438></P
6439><TABLE
6440BORDER="0"
6441WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006442BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006443CELLSPACING="0"
6444CELLPADDING="4"
6445CLASS="CALSTABLE"
6446><TR
6447><TD
6448WIDTH="20%"
6449ALIGN="RIGHT"
6450VALIGN="TOP"
6451><TT
6452CLASS="PARAMETER"
6453><I
6454>ctxt</I
6455></TT
6456>&nbsp;:</TD
6457><TD
6458WIDTH="80%"
6459ALIGN="LEFT"
6460VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006461> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006462></TR
6463></TABLE
6464><P
6465></P
6466></DIV
6467></DIV
6468><HR><DIV
6469CLASS="REFSECT2"
6470><A
Daniel Veillard35008381999-10-25 13:15:52 +00006471NAME="AEN8848"
Daniel Veillard35925471999-02-25 08:46:07 +00006472></A
6473><H3
6474><A
6475NAME="XMLPARSEELEMENT"
6476></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006477>xmlParseElement ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006478><TABLE
6479BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006480BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006481WIDTH="100%"
6482CELLPADDING="6"
6483><TR
6484><TD
6485><PRE
6486CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00006487>void xmlParseElement (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006488HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6489>xmlParserCtxtPtr</A
6490> ctxt);</PRE
6491></TD
6492></TR
6493></TABLE
6494><P
6495>parse an XML element, this is highly recursive</P
6496><P
6497>[39] element ::= EmptyElemTag | STag content ETag</P
6498><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006499>[ WFC: Element Type Match ]
6500The Name in an element's end-tag must match the element type in the
6501start-tag. </P
6502><P
6503>[ VC: Element Valid ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006504An element is valid if there is a declaration matching elementdecl
Daniel Veillardb05deb71999-08-10 19:04:08 +00006505where the Name matches the element type and one of the following holds:
6506- The declaration matches EMPTY and the element has no content.
6507- The declaration matches children and the sequence of child elements
6508belongs to the language generated by the regular expression in the
6509content model, with optional white space (characters matching the
6510nonterminal S) between each pair of child elements.
6511- The declaration matches Mixed and the content consists of character
6512data and child elements whose types match names in the content model.
6513- The declaration matches ANY, and the types of any child elements have
6514been declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006515><P
6516></P
6517><DIV
6518CLASS="INFORMALTABLE"
6519><P
6520></P
6521><TABLE
6522BORDER="0"
6523WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006524BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006525CELLSPACING="0"
6526CELLPADDING="4"
6527CLASS="CALSTABLE"
6528><TR
6529><TD
6530WIDTH="20%"
6531ALIGN="RIGHT"
6532VALIGN="TOP"
6533><TT
6534CLASS="PARAMETER"
6535><I
6536>ctxt</I
6537></TT
6538>&nbsp;:</TD
6539><TD
6540WIDTH="80%"
6541ALIGN="LEFT"
6542VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006543> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006544></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006545></TABLE
6546><P
6547></P
6548></DIV
6549></DIV
6550><HR><DIV
6551CLASS="REFSECT2"
6552><A
Daniel Veillard35008381999-10-25 13:15:52 +00006553NAME="AEN8867"
Daniel Veillard35925471999-02-25 08:46:07 +00006554></A
6555><H3
6556><A
6557NAME="XMLPARSEVERSIONNUM"
6558></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006559>xmlParseVersionNum ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006560><TABLE
6561BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006562BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006563WIDTH="100%"
6564CELLPADDING="6"
6565><TR
6566><TD
6567><PRE
6568CLASS="PROGRAMLISTING"
6569><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006570HREF="gnome-xml-tree.html#XMLCHAR"
6571>xmlChar</A
6572>* xmlParseVersionNum (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006573HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6574>xmlParserCtxtPtr</A
6575> ctxt);</PRE
6576></TD
6577></TR
6578></TABLE
6579><P
6580>parse the XML version value.</P
6581><P
6582>[26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</P
6583><P
6584></P
6585><DIV
6586CLASS="INFORMALTABLE"
6587><P
6588></P
6589><TABLE
6590BORDER="0"
6591WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006592BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006593CELLSPACING="0"
6594CELLPADDING="4"
6595CLASS="CALSTABLE"
6596><TR
6597><TD
6598WIDTH="20%"
6599ALIGN="RIGHT"
6600VALIGN="TOP"
6601><TT
6602CLASS="PARAMETER"
6603><I
6604>ctxt</I
6605></TT
6606>&nbsp;:</TD
6607><TD
6608WIDTH="80%"
6609ALIGN="LEFT"
6610VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006611> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006612></TR
6613><TR
6614><TD
6615WIDTH="20%"
6616ALIGN="RIGHT"
6617VALIGN="TOP"
6618><I
6619CLASS="EMPHASIS"
6620>Returns</I
6621> :</TD
6622><TD
6623WIDTH="80%"
6624ALIGN="LEFT"
6625VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006626>the string giving the XML version number, or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006627></TR
6628></TABLE
6629><P
6630></P
6631></DIV
6632></DIV
6633><HR><DIV
6634CLASS="REFSECT2"
6635><A
Daniel Veillard35008381999-10-25 13:15:52 +00006636NAME="AEN8889"
Daniel Veillard35925471999-02-25 08:46:07 +00006637></A
6638><H3
6639><A
6640NAME="XMLPARSEVERSIONINFO"
6641></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006642>xmlParseVersionInfo ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006643><TABLE
6644BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006645BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006646WIDTH="100%"
6647CELLPADDING="6"
6648><TR
6649><TD
6650><PRE
6651CLASS="PROGRAMLISTING"
6652><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006653HREF="gnome-xml-tree.html#XMLCHAR"
6654>xmlChar</A
6655>* xmlParseVersionInfo (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006656HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6657>xmlParserCtxtPtr</A
6658> ctxt);</PRE
6659></TD
6660></TR
6661></TABLE
6662><P
6663>parse the XML version.</P
6664><P
6665>[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")</P
6666><P
6667>[25] Eq ::= S? '=' S?</P
6668><P
6669></P
6670><DIV
6671CLASS="INFORMALTABLE"
6672><P
6673></P
6674><TABLE
6675BORDER="0"
6676WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006677BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006678CELLSPACING="0"
6679CELLPADDING="4"
6680CLASS="CALSTABLE"
6681><TR
6682><TD
6683WIDTH="20%"
6684ALIGN="RIGHT"
6685VALIGN="TOP"
6686><TT
6687CLASS="PARAMETER"
6688><I
6689>ctxt</I
6690></TT
6691>&nbsp;:</TD
6692><TD
6693WIDTH="80%"
6694ALIGN="LEFT"
6695VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006696> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006697></TR
6698><TR
6699><TD
6700WIDTH="20%"
6701ALIGN="RIGHT"
6702VALIGN="TOP"
6703><I
6704CLASS="EMPHASIS"
6705>Returns</I
6706> :</TD
6707><TD
6708WIDTH="80%"
6709ALIGN="LEFT"
6710VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006711>the version string, e.g. "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006712></TR
6713></TABLE
6714><P
6715></P
6716></DIV
6717></DIV
6718><HR><DIV
6719CLASS="REFSECT2"
6720><A
Daniel Veillard35008381999-10-25 13:15:52 +00006721NAME="AEN8912"
Daniel Veillard35925471999-02-25 08:46:07 +00006722></A
6723><H3
6724><A
6725NAME="XMLPARSEENCNAME"
6726></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006727>xmlParseEncName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006728><TABLE
6729BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006730BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006731WIDTH="100%"
6732CELLPADDING="6"
6733><TR
6734><TD
6735><PRE
6736CLASS="PROGRAMLISTING"
6737><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006738HREF="gnome-xml-tree.html#XMLCHAR"
6739>xmlChar</A
6740>* xmlParseEncName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006741HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6742>xmlParserCtxtPtr</A
6743> ctxt);</PRE
6744></TD
6745></TR
6746></TABLE
6747><P
6748>parse the XML encoding name</P
6749><P
6750>[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</P
6751><P
6752></P
6753><DIV
6754CLASS="INFORMALTABLE"
6755><P
6756></P
6757><TABLE
6758BORDER="0"
6759WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006760BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006761CELLSPACING="0"
6762CELLPADDING="4"
6763CLASS="CALSTABLE"
6764><TR
6765><TD
6766WIDTH="20%"
6767ALIGN="RIGHT"
6768VALIGN="TOP"
6769><TT
6770CLASS="PARAMETER"
6771><I
6772>ctxt</I
6773></TT
6774>&nbsp;:</TD
6775><TD
6776WIDTH="80%"
6777ALIGN="LEFT"
6778VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006779> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006780></TR
6781><TR
6782><TD
6783WIDTH="20%"
6784ALIGN="RIGHT"
6785VALIGN="TOP"
6786><I
6787CLASS="EMPHASIS"
6788>Returns</I
6789> :</TD
6790><TD
6791WIDTH="80%"
6792ALIGN="LEFT"
6793VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006794>the encoding name value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006795></TR
6796></TABLE
6797><P
6798></P
6799></DIV
6800></DIV
6801><HR><DIV
6802CLASS="REFSECT2"
6803><A
Daniel Veillard35008381999-10-25 13:15:52 +00006804NAME="AEN8934"
Daniel Veillard35925471999-02-25 08:46:07 +00006805></A
6806><H3
6807><A
6808NAME="XMLPARSEENCODINGDECL"
6809></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006810>xmlParseEncodingDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006811><TABLE
6812BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006813BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006814WIDTH="100%"
6815CELLPADDING="6"
6816><TR
6817><TD
6818><PRE
6819CLASS="PROGRAMLISTING"
6820><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006821HREF="gnome-xml-tree.html#XMLCHAR"
6822>xmlChar</A
6823>* xmlParseEncodingDecl (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006824HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6825>xmlParserCtxtPtr</A
6826> ctxt);</PRE
6827></TD
6828></TR
6829></TABLE
6830><P
6831>parse the XML encoding declaration</P
6832><P
6833>[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")</P
6834><P
6835>TODO: this should setup the conversion filters.</P
6836><P
6837></P
6838><DIV
6839CLASS="INFORMALTABLE"
6840><P
6841></P
6842><TABLE
6843BORDER="0"
6844WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006845BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006846CELLSPACING="0"
6847CELLPADDING="4"
6848CLASS="CALSTABLE"
6849><TR
6850><TD
6851WIDTH="20%"
6852ALIGN="RIGHT"
6853VALIGN="TOP"
6854><TT
6855CLASS="PARAMETER"
6856><I
6857>ctxt</I
6858></TT
6859>&nbsp;:</TD
6860><TD
6861WIDTH="80%"
6862ALIGN="LEFT"
6863VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006864> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006865></TR
6866><TR
6867><TD
6868WIDTH="20%"
6869ALIGN="RIGHT"
6870VALIGN="TOP"
6871><I
6872CLASS="EMPHASIS"
6873>Returns</I
6874> :</TD
6875><TD
6876WIDTH="80%"
6877ALIGN="LEFT"
6878VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006879>the encoding value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006880></TR
6881></TABLE
6882><P
6883></P
6884></DIV
6885></DIV
6886><HR><DIV
6887CLASS="REFSECT2"
6888><A
Daniel Veillard35008381999-10-25 13:15:52 +00006889NAME="AEN8957"
Daniel Veillard35925471999-02-25 08:46:07 +00006890></A
6891><H3
6892><A
6893NAME="XMLPARSESDDECL"
6894></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006895>xmlParseSDDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006896><TABLE
6897BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006898BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006899WIDTH="100%"
6900CELLPADDING="6"
6901><TR
6902><TD
6903><PRE
6904CLASS="PROGRAMLISTING"
6905>int xmlParseSDDecl (<A
6906HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6907>xmlParserCtxtPtr</A
6908> ctxt);</PRE
6909></TD
6910></TR
6911></TABLE
6912><P
6913>parse the XML standalone declaration</P
6914><P
6915>[32] SDDecl ::= S 'standalone' Eq
Daniel Veillardb05deb71999-08-10 19:04:08 +00006916(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"')) </P
6917><P
6918>[ VC: Standalone Document Declaration ]
6919TODO The standalone document declaration must have the value "no"
6920if any external markup declarations contain declarations of:
6921- attributes with default values, if elements to which these
6922attributes apply appear in the document without specifications
6923of values for these attributes, or
6924- entities (other than amp, lt, gt, apos, quot), if references
6925to those entities appear in the document, or
6926- attributes with values subject to normalization, where the
6927attribute appears in the document with a value which will change
6928as a result of normalization, or
6929- element types with element content, if white space occurs directly
6930within any instance of those types.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006931><P
6932></P
6933><DIV
6934CLASS="INFORMALTABLE"
6935><P
6936></P
6937><TABLE
6938BORDER="0"
6939WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006940BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006941CELLSPACING="0"
6942CELLPADDING="4"
6943CLASS="CALSTABLE"
6944><TR
6945><TD
6946WIDTH="20%"
6947ALIGN="RIGHT"
6948VALIGN="TOP"
6949><TT
6950CLASS="PARAMETER"
6951><I
6952>ctxt</I
6953></TT
6954>&nbsp;:</TD
6955><TD
6956WIDTH="80%"
6957ALIGN="LEFT"
6958VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006959> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006960></TR
6961><TR
6962><TD
6963WIDTH="20%"
6964ALIGN="RIGHT"
6965VALIGN="TOP"
6966><I
6967CLASS="EMPHASIS"
6968>Returns</I
6969> :</TD
6970><TD
6971WIDTH="80%"
6972ALIGN="LEFT"
6973VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006974>1 if standalone, 0 otherwise</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006975></TR
6976></TABLE
6977><P
6978></P
6979></DIV
6980></DIV
6981><HR><DIV
6982CLASS="REFSECT2"
6983><A
Daniel Veillard35008381999-10-25 13:15:52 +00006984NAME="AEN8979"
Daniel Veillard35925471999-02-25 08:46:07 +00006985></A
6986><H3
6987><A
6988NAME="XMLPARSEXMLDECL"
6989></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006990>xmlParseXMLDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006991><TABLE
6992BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006993BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006994WIDTH="100%"
6995CELLPADDING="6"
6996><TR
6997><TD
6998><PRE
6999CLASS="PROGRAMLISTING"
7000>void xmlParseXMLDecl (<A
7001HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7002>xmlParserCtxtPtr</A
7003> ctxt);</PRE
7004></TD
7005></TR
7006></TABLE
7007><P
7008>parse an XML declaration header</P
7009><P
7010>[23] XMLDecl ::= '&lt;?xml' VersionInfo EncodingDecl? SDDecl? S? '?&gt;'</P
7011><P
7012></P
7013><DIV
7014CLASS="INFORMALTABLE"
7015><P
7016></P
7017><TABLE
7018BORDER="0"
7019WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007020BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007021CELLSPACING="0"
7022CELLPADDING="4"
7023CLASS="CALSTABLE"
7024><TR
7025><TD
7026WIDTH="20%"
7027ALIGN="RIGHT"
7028VALIGN="TOP"
7029><TT
7030CLASS="PARAMETER"
7031><I
7032>ctxt</I
7033></TT
7034>&nbsp;:</TD
7035><TD
7036WIDTH="80%"
7037ALIGN="LEFT"
7038VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007039> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007040></TR
7041></TABLE
7042><P
7043></P
7044></DIV
7045></DIV
7046><HR><DIV
7047CLASS="REFSECT2"
7048><A
Daniel Veillard35008381999-10-25 13:15:52 +00007049NAME="AEN8996"
Daniel Veillard35925471999-02-25 08:46:07 +00007050></A
7051><H3
7052><A
7053NAME="XMLPARSEMISC"
7054></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007055>xmlParseMisc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007056><TABLE
7057BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007058BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007059WIDTH="100%"
7060CELLPADDING="6"
7061><TR
7062><TD
7063><PRE
7064CLASS="PROGRAMLISTING"
7065>void xmlParseMisc (<A
7066HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7067>xmlParserCtxtPtr</A
7068> ctxt);</PRE
7069></TD
7070></TR
7071></TABLE
7072><P
7073>parse an XML Misc* optionnal field.</P
7074><P
7075>[27] Misc ::= Comment | PI | S</P
7076><P
7077></P
7078><DIV
7079CLASS="INFORMALTABLE"
7080><P
7081></P
7082><TABLE
7083BORDER="0"
7084WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007085BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007086CELLSPACING="0"
7087CELLPADDING="4"
7088CLASS="CALSTABLE"
7089><TR
7090><TD
7091WIDTH="20%"
7092ALIGN="RIGHT"
7093VALIGN="TOP"
7094><TT
7095CLASS="PARAMETER"
7096><I
7097>ctxt</I
7098></TT
7099>&nbsp;:</TD
7100><TD
7101WIDTH="80%"
7102ALIGN="LEFT"
7103VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007104> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007105></TR
7106></TABLE
7107><P
7108></P
7109></DIV
7110></DIV
Daniel Veillard011b63c1999-06-02 17:44:04 +00007111><HR><DIV
7112CLASS="REFSECT2"
7113><A
Daniel Veillard35008381999-10-25 13:15:52 +00007114NAME="AEN9013"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007115></A
7116><H3
7117><A
7118NAME="XMLPARSEEXTERNALSUBSET"
7119></A
7120>xmlParseExternalSubset ()</H3
7121><TABLE
7122BORDER="0"
7123BGCOLOR="#D6E8FF"
7124WIDTH="100%"
7125CELLPADDING="6"
7126><TR
7127><TD
7128><PRE
7129CLASS="PROGRAMLISTING"
7130>void xmlParseExternalSubset (<A
7131HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7132>xmlParserCtxtPtr</A
7133> ctxt,
7134 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007135HREF="gnome-xml-tree.html#XMLCHAR"
7136>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007137> *ExternalID,
7138 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007139HREF="gnome-xml-tree.html#XMLCHAR"
7140>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007141> *SystemID);</PRE
7142></TD
7143></TR
7144></TABLE
7145><P
7146>parse Markup declarations from an external subset</P
7147><P
7148>[30] extSubset ::= textDecl? extSubsetDecl</P
7149><P
7150>[31] extSubsetDecl ::= (markupdecl | conditionalSect | PEReference | S) *</P
7151><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007152></P
7153><DIV
7154CLASS="INFORMALTABLE"
7155><P
7156></P
7157><TABLE
7158BORDER="0"
7159WIDTH="100%"
7160BGCOLOR="#FFD0D0"
7161CELLSPACING="0"
7162CELLPADDING="4"
7163CLASS="CALSTABLE"
7164><TR
7165><TD
7166WIDTH="20%"
7167ALIGN="RIGHT"
7168VALIGN="TOP"
7169><TT
7170CLASS="PARAMETER"
7171><I
7172>ctxt</I
7173></TT
7174>&nbsp;:</TD
7175><TD
7176WIDTH="80%"
7177ALIGN="LEFT"
7178VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007179> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007180></TR
7181><TR
7182><TD
7183WIDTH="20%"
7184ALIGN="RIGHT"
7185VALIGN="TOP"
7186><TT
7187CLASS="PARAMETER"
7188><I
7189>ExternalID</I
7190></TT
7191>&nbsp;:</TD
7192><TD
7193WIDTH="80%"
7194ALIGN="LEFT"
7195VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007196> the external identifier</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007197></TR
7198><TR
7199><TD
7200WIDTH="20%"
7201ALIGN="RIGHT"
7202VALIGN="TOP"
7203><TT
7204CLASS="PARAMETER"
7205><I
7206>SystemID</I
7207></TT
7208>&nbsp;:</TD
7209><TD
7210WIDTH="80%"
7211ALIGN="LEFT"
7212VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007213> the system identifier (or URL)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007214></TR
7215></TABLE
7216><P
7217></P
7218></DIV
7219></DIV
7220><HR><DIV
7221CLASS="REFSECT2"
7222><A
Daniel Veillard35008381999-10-25 13:15:52 +00007223NAME="AEN9041"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007224></A
7225><H3
7226><A
7227NAME="XML-SUBSTITUTE-NONE"
7228></A
7229>XML_SUBSTITUTE_NONE</H3
7230><TABLE
7231BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007232BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007233WIDTH="100%"
7234CELLPADDING="6"
7235><TR
7236><TD
7237><PRE
7238CLASS="PROGRAMLISTING"
Daniel Veillard35008381999-10-25 13:15:52 +00007239>#define XML_SUBSTITUTE_NONE 0</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007240></TD
7241></TR
7242></TABLE
7243><P
7244></P
7245></DIV
7246><HR><DIV
7247CLASS="REFSECT2"
7248><A
Daniel Veillard35008381999-10-25 13:15:52 +00007249NAME="AEN9046"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007250></A
7251><H3
7252><A
7253NAME="XML-SUBSTITUTE-REF"
7254></A
7255>XML_SUBSTITUTE_REF</H3
7256><TABLE
7257BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007258BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007259WIDTH="100%"
7260CELLPADDING="6"
7261><TR
7262><TD
7263><PRE
7264CLASS="PROGRAMLISTING"
Daniel Veillard35008381999-10-25 13:15:52 +00007265>#define XML_SUBSTITUTE_REF 1</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007266></TD
7267></TR
7268></TABLE
7269><P
7270></P
7271></DIV
7272><HR><DIV
7273CLASS="REFSECT2"
7274><A
Daniel Veillard35008381999-10-25 13:15:52 +00007275NAME="AEN9051"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007276></A
7277><H3
7278><A
7279NAME="XML-SUBSTITUTE-PEREF"
7280></A
7281>XML_SUBSTITUTE_PEREF</H3
7282><TABLE
7283BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007284BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007285WIDTH="100%"
7286CELLPADDING="6"
7287><TR
7288><TD
7289><PRE
7290CLASS="PROGRAMLISTING"
Daniel Veillard35008381999-10-25 13:15:52 +00007291>#define XML_SUBSTITUTE_PEREF 2</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007292></TD
7293></TR
7294></TABLE
7295><P
7296></P
7297></DIV
7298><HR><DIV
7299CLASS="REFSECT2"
7300><A
Daniel Veillard35008381999-10-25 13:15:52 +00007301NAME="AEN9056"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007302></A
7303><H3
7304><A
7305NAME="XML-SUBSTITUTE-BOTH"
7306></A
7307>XML_SUBSTITUTE_BOTH</H3
7308><TABLE
7309BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007310BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007311WIDTH="100%"
7312CELLPADDING="6"
7313><TR
7314><TD
7315><PRE
7316CLASS="PROGRAMLISTING"
Daniel Veillard35008381999-10-25 13:15:52 +00007317>#define XML_SUBSTITUTE_BOTH 3</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007318></TD
7319></TR
7320></TABLE
7321><P
7322></P
7323></DIV
7324><HR><DIV
7325CLASS="REFSECT2"
7326><A
Daniel Veillard35008381999-10-25 13:15:52 +00007327NAME="AEN9061"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007328></A
7329><H3
7330><A
7331NAME="XMLDECODEENTITIES"
7332></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007333>xmlDecodeEntities ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00007334><TABLE
7335BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007336BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007337WIDTH="100%"
7338CELLPADDING="6"
7339><TR
7340><TD
7341><PRE
7342CLASS="PROGRAMLISTING"
7343><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007344HREF="gnome-xml-tree.html#XMLCHAR"
7345>xmlChar</A
7346>* xmlDecodeEntities (<A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007347HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7348>xmlParserCtxtPtr</A
7349> ctxt,
7350 int len,
7351 int what,
7352 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007353HREF="gnome-xml-tree.html#XMLCHAR"
7354>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007355> end,
7356 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007357HREF="gnome-xml-tree.html#XMLCHAR"
7358>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007359> end2,
7360 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007361HREF="gnome-xml-tree.html#XMLCHAR"
7362>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007363> end3);</PRE
7364></TD
7365></TR
7366></TABLE
7367><P
7368>[67] Reference ::= EntityRef | CharRef</P
7369><P
7370>[69] PEReference ::= '%' Name ';'</P
7371><P
7372></P
7373><DIV
7374CLASS="INFORMALTABLE"
7375><P
7376></P
7377><TABLE
7378BORDER="0"
7379WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007380BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007381CELLSPACING="0"
7382CELLPADDING="4"
7383CLASS="CALSTABLE"
7384><TR
7385><TD
7386WIDTH="20%"
7387ALIGN="RIGHT"
7388VALIGN="TOP"
7389><TT
7390CLASS="PARAMETER"
7391><I
7392>ctxt</I
7393></TT
7394>&nbsp;:</TD
7395><TD
7396WIDTH="80%"
7397ALIGN="LEFT"
7398VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007399> the parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007400></TR
7401><TR
7402><TD
7403WIDTH="20%"
7404ALIGN="RIGHT"
7405VALIGN="TOP"
7406><TT
7407CLASS="PARAMETER"
7408><I
7409>len</I
7410></TT
7411>&nbsp;:</TD
7412><TD
7413WIDTH="80%"
7414ALIGN="LEFT"
7415VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007416> the len to decode (in bytes !), -1 for no size limit</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007417></TR
7418><TR
7419><TD
7420WIDTH="20%"
7421ALIGN="RIGHT"
7422VALIGN="TOP"
7423><TT
7424CLASS="PARAMETER"
7425><I
7426>what</I
7427></TT
7428>&nbsp;:</TD
7429><TD
7430WIDTH="80%"
7431ALIGN="LEFT"
7432VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007433> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007434></TR
7435><TR
7436><TD
7437WIDTH="20%"
7438ALIGN="RIGHT"
7439VALIGN="TOP"
7440><TT
7441CLASS="PARAMETER"
7442><I
7443>end</I
7444></TT
7445>&nbsp;:</TD
7446><TD
7447WIDTH="80%"
7448ALIGN="LEFT"
7449VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007450> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007451></TR
7452><TR
7453><TD
7454WIDTH="20%"
7455ALIGN="RIGHT"
7456VALIGN="TOP"
7457><TT
7458CLASS="PARAMETER"
7459><I
7460>end2</I
7461></TT
7462>&nbsp;:</TD
7463><TD
7464WIDTH="80%"
7465ALIGN="LEFT"
7466VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007467> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007468></TR
7469><TR
7470><TD
7471WIDTH="20%"
7472ALIGN="RIGHT"
7473VALIGN="TOP"
7474><TT
7475CLASS="PARAMETER"
7476><I
7477>end3</I
7478></TT
7479>&nbsp;:</TD
7480><TD
7481WIDTH="80%"
7482ALIGN="LEFT"
7483VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007484> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007485></TR
7486><TR
7487><TD
7488WIDTH="20%"
7489ALIGN="RIGHT"
7490VALIGN="TOP"
7491><I
7492CLASS="EMPHASIS"
7493>Returns</I
7494> :</TD
7495><TD
7496WIDTH="80%"
7497ALIGN="LEFT"
7498VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007499>A newly allocated string with the substitution done. The caller
7500must deallocate it !</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007501></TR
7502></TABLE
7503><P
7504></P
7505></DIV
7506></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +00007507><HR><DIV
7508CLASS="REFSECT2"
7509><A
Daniel Veillard35008381999-10-25 13:15:52 +00007510NAME="AEN9106"
Daniel Veillard14fff061999-06-22 21:49:07 +00007511></A
7512><H3
7513><A
7514NAME="NODEPUSH"
7515></A
7516>nodePush ()</H3
7517><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00007518BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007519BGCOLOR="#D6E8FF"
7520WIDTH="100%"
7521CELLPADDING="6"
Daniel Veillard35925471999-02-25 08:46:07 +00007522><TR
7523><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007524><PRE
7525CLASS="PROGRAMLISTING"
7526>int nodePush (<A
7527HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7528>xmlParserCtxtPtr</A
7529> ctxt,
7530 <A
7531HREF="gnome-xml-tree.html#XMLNODEPTR"
7532>xmlNodePtr</A
7533> value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00007534></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007535></TR
7536></TABLE
7537><P
7538></P
7539><DIV
7540CLASS="INFORMALTABLE"
7541><P
7542></P
7543><TABLE
7544BORDER="0"
7545WIDTH="100%"
7546BGCOLOR="#FFD0D0"
7547CELLSPACING="0"
7548CELLPADDING="4"
7549CLASS="CALSTABLE"
7550><TR
Daniel Veillard35925471999-02-25 08:46:07 +00007551><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007552WIDTH="20%"
7553ALIGN="RIGHT"
7554VALIGN="TOP"
7555><TT
7556CLASS="PARAMETER"
7557><I
7558>ctxt</I
7559></TT
7560>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007561><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007562WIDTH="80%"
7563ALIGN="LEFT"
7564VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00007565>&nbsp;</TD
7566></TR
7567><TR
7568><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007569WIDTH="20%"
7570ALIGN="RIGHT"
7571VALIGN="TOP"
7572><TT
7573CLASS="PARAMETER"
7574><I
7575>value</I
7576></TT
7577>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007578><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007579WIDTH="80%"
7580ALIGN="LEFT"
7581VALIGN="TOP"
7582>&nbsp;</TD
7583></TR
7584><TR
7585><TD
7586WIDTH="20%"
7587ALIGN="RIGHT"
7588VALIGN="TOP"
7589><I
7590CLASS="EMPHASIS"
7591>Returns</I
7592> :</TD
7593><TD
7594WIDTH="80%"
7595ALIGN="LEFT"
7596VALIGN="TOP"
7597>&nbsp;</TD
7598></TR
7599></TABLE
7600><P
7601></P
7602></DIV
7603></DIV
7604><HR><DIV
7605CLASS="REFSECT2"
Daniel Veillard35925471999-02-25 08:46:07 +00007606><A
Daniel Veillard35008381999-10-25 13:15:52 +00007607NAME="AEN9130"
Daniel Veillard14fff061999-06-22 21:49:07 +00007608></A
7609><H3
7610><A
7611NAME="NODEPOP"
7612></A
7613>nodePop ()</H3
7614><TABLE
7615BORDER="0"
7616BGCOLOR="#D6E8FF"
7617WIDTH="100%"
7618CELLPADDING="6"
7619><TR
7620><TD
7621><PRE
7622CLASS="PROGRAMLISTING"
7623><A
7624HREF="gnome-xml-tree.html#XMLNODEPTR"
7625>xmlNodePtr</A
7626> nodePop (<A
7627HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7628>xmlParserCtxtPtr</A
7629> ctxt);</PRE
7630></TD
7631></TR
7632></TABLE
7633><P
7634></P
7635><DIV
7636CLASS="INFORMALTABLE"
7637><P
7638></P
7639><TABLE
7640BORDER="0"
7641WIDTH="100%"
7642BGCOLOR="#FFD0D0"
7643CELLSPACING="0"
7644CELLPADDING="4"
7645CLASS="CALSTABLE"
7646><TR
7647><TD
7648WIDTH="20%"
7649ALIGN="RIGHT"
7650VALIGN="TOP"
7651><TT
7652CLASS="PARAMETER"
7653><I
7654>ctxt</I
7655></TT
7656>&nbsp;:</TD
7657><TD
7658WIDTH="80%"
7659ALIGN="LEFT"
7660VALIGN="TOP"
7661>&nbsp;</TD
7662></TR
7663><TR
7664><TD
7665WIDTH="20%"
7666ALIGN="RIGHT"
7667VALIGN="TOP"
7668><I
7669CLASS="EMPHASIS"
7670>Returns</I
7671> :</TD
7672><TD
7673WIDTH="80%"
7674ALIGN="LEFT"
7675VALIGN="TOP"
7676>&nbsp;</TD
7677></TR
7678></TABLE
7679><P
7680></P
7681></DIV
7682></DIV
7683><HR><DIV
7684CLASS="REFSECT2"
7685><A
Daniel Veillard35008381999-10-25 13:15:52 +00007686NAME="AEN9150"
Daniel Veillard14fff061999-06-22 21:49:07 +00007687></A
7688><H3
7689><A
7690NAME="INPUTPUSH"
7691></A
7692>inputPush ()</H3
7693><TABLE
7694BORDER="0"
7695BGCOLOR="#D6E8FF"
7696WIDTH="100%"
7697CELLPADDING="6"
7698><TR
7699><TD
7700><PRE
7701CLASS="PROGRAMLISTING"
7702>int inputPush (<A
7703HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7704>xmlParserCtxtPtr</A
7705> ctxt,
7706 <A
7707HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
7708>xmlParserInputPtr</A
7709> value);</PRE
7710></TD
7711></TR
7712></TABLE
7713><P
7714></P
7715><DIV
7716CLASS="INFORMALTABLE"
7717><P
7718></P
7719><TABLE
7720BORDER="0"
7721WIDTH="100%"
7722BGCOLOR="#FFD0D0"
7723CELLSPACING="0"
7724CELLPADDING="4"
7725CLASS="CALSTABLE"
7726><TR
7727><TD
7728WIDTH="20%"
7729ALIGN="RIGHT"
7730VALIGN="TOP"
7731><TT
7732CLASS="PARAMETER"
7733><I
7734>ctxt</I
7735></TT
7736>&nbsp;:</TD
7737><TD
7738WIDTH="80%"
7739ALIGN="LEFT"
7740VALIGN="TOP"
7741>&nbsp;</TD
7742></TR
7743><TR
7744><TD
7745WIDTH="20%"
7746ALIGN="RIGHT"
7747VALIGN="TOP"
7748><TT
7749CLASS="PARAMETER"
7750><I
7751>value</I
7752></TT
7753>&nbsp;:</TD
7754><TD
7755WIDTH="80%"
7756ALIGN="LEFT"
7757VALIGN="TOP"
7758>&nbsp;</TD
7759></TR
7760><TR
7761><TD
7762WIDTH="20%"
7763ALIGN="RIGHT"
7764VALIGN="TOP"
7765><I
7766CLASS="EMPHASIS"
7767>Returns</I
7768> :</TD
7769><TD
7770WIDTH="80%"
7771ALIGN="LEFT"
7772VALIGN="TOP"
7773>&nbsp;</TD
7774></TR
7775></TABLE
7776><P
7777></P
7778></DIV
7779></DIV
7780><HR><DIV
7781CLASS="REFSECT2"
7782><A
Daniel Veillard35008381999-10-25 13:15:52 +00007783NAME="AEN9174"
Daniel Veillard14fff061999-06-22 21:49:07 +00007784></A
7785><H3
7786><A
7787NAME="INPUTPOP"
7788></A
7789>inputPop ()</H3
7790><TABLE
7791BORDER="0"
7792BGCOLOR="#D6E8FF"
7793WIDTH="100%"
7794CELLPADDING="6"
7795><TR
7796><TD
7797><PRE
7798CLASS="PROGRAMLISTING"
7799><A
7800HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
7801>xmlParserInputPtr</A
7802> inputPop (<A
7803HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7804>xmlParserCtxtPtr</A
7805> ctxt);</PRE
7806></TD
7807></TR
7808></TABLE
7809><P
7810></P
7811><DIV
7812CLASS="INFORMALTABLE"
7813><P
7814></P
7815><TABLE
7816BORDER="0"
7817WIDTH="100%"
7818BGCOLOR="#FFD0D0"
7819CELLSPACING="0"
7820CELLPADDING="4"
7821CLASS="CALSTABLE"
7822><TR
7823><TD
7824WIDTH="20%"
7825ALIGN="RIGHT"
7826VALIGN="TOP"
7827><TT
7828CLASS="PARAMETER"
7829><I
7830>ctxt</I
7831></TT
7832>&nbsp;:</TD
7833><TD
7834WIDTH="80%"
7835ALIGN="LEFT"
7836VALIGN="TOP"
7837>&nbsp;</TD
7838></TR
7839><TR
7840><TD
7841WIDTH="20%"
7842ALIGN="RIGHT"
7843VALIGN="TOP"
7844><I
7845CLASS="EMPHASIS"
7846>Returns</I
7847> :</TD
7848><TD
7849WIDTH="80%"
7850ALIGN="LEFT"
7851VALIGN="TOP"
7852>&nbsp;</TD
7853></TR
7854></TABLE
7855><P
7856></P
7857></DIV
7858></DIV
7859></DIV
7860><DIV
7861CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00007862><BR
7863CLEAR="all"><BR><TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +00007864WIDTH="100%"
7865BORDER="0"
7866BGCOLOR="#000000"
7867CELLPADDING="1"
7868CELLSPACING="0"
7869><TR
7870><TD
7871WIDTH="25%"
7872BGCOLOR="#C00000"
7873ALIGN="left"
7874><A
Daniel Veillard35008381999-10-25 13:15:52 +00007875HREF="gnome-xml-nanohttp.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007876><FONT
7877COLOR="#FFFFFF"
7878SIZE="3"
7879><B
7880>&#60;&#60;&#60; Previous Page</B
7881></FONT
7882></A
Daniel Veillard35925471999-02-25 08:46:07 +00007883></TD
7884><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007885WIDTH="25%"
7886BGCOLOR="#0000C0"
7887ALIGN="center"
7888><FONT
7889COLOR="#FFFFFF"
7890SIZE="3"
7891><B
7892><A
7893HREF="book1.html"
7894><FONT
7895COLOR="#FFFFFF"
7896SIZE="3"
7897><B
7898>Home</B
7899></FONT
7900></A
7901></B
7902></FONT
7903></TD
7904><TD
7905WIDTH="25%"
7906BGCOLOR="#00C000"
7907ALIGN="center"
7908><FONT
7909COLOR="#FFFFFF"
7910SIZE="3"
7911><B
7912><A
Daniel Veillard35008381999-10-25 13:15:52 +00007913HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007914><FONT
7915COLOR="#FFFFFF"
7916SIZE="3"
7917><B
7918>Up</B
7919></FONT
7920></A
7921></B
7922></FONT
7923></TD
7924><TD
7925WIDTH="25%"
7926BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00007927ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00007928><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007929HREF="gnome-xml-xmlmemory.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00007930><FONT
7931COLOR="#FFFFFF"
7932SIZE="3"
7933><B
7934>Next Page &#62;&#62;&#62;</B
7935></FONT
7936></A
7937></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007938></TR
7939><TR
7940><TD
7941COLSPAN="2"
7942ALIGN="left"
7943><FONT
7944COLOR="#FFFFFF"
7945SIZE="3"
7946><B
Daniel Veillard35008381999-10-25 13:15:52 +00007947>nanohttp</B
Daniel Veillard14fff061999-06-22 21:49:07 +00007948></FONT
7949></TD
7950><TD
7951COLSPAN="2"
7952ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00007953><FONT
7954COLOR="#FFFFFF"
7955SIZE="3"
7956><B
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007957>xmlmemory</B
Daniel Veillard1566d3a1999-07-15 14:24:29 +00007958></FONT
7959></TD
Daniel Veillard35925471999-02-25 08:46:07 +00007960></TR
7961></TABLE
7962></DIV
7963></BODY
7964></HTML
7965>