blob: 8c73b219e29f973d34e308d0b8d0083548d4df17 [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 Veillard4c3a2031999-11-19 17:46:26 +00001989> the size 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 Veillard4c3a2031999-11-19 17:46:26 +00002633> an xmlParserInputPtr</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 Veillard4c3a2031999-11-19 17:46:26 +00002840>the local part, and prefix is updated
Daniel Veillard35008381999-10-25 13:15:52 +00002841to 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 Veillard4c3a2031999-11-19 17:46:26 +00003035>the local part, and prefix is updated
Daniel Veillard35008381999-10-25 13:15:52 +00003036to 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
Daniel Veillard4c3a2031999-11-19 17:46:26 +00003241if it was declared on the root of the Tree:-(</P
Daniel Veillard35925471999-02-25 08:46:07 +00003242><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
Daniel Veillard4c3a2031999-11-19 17:46:26 +00003683>3.3.3 Attribute-Value Normalization:
3684Before the value of an attribute is passed to the application or
3685checked for validity, the XML processor must normalize it as follows:
3686- a character reference is processed by appending the referenced
3687character to the attribute value
3688- an entity reference is processed by recursively processing the
3689replacement text of the entity
3690- a whitespace character (<GTKDOCLINK
3691HREF="X20"
3692>x20</GTKDOCLINK
3693>, <GTKDOCLINK
3694HREF="XD"
3695>xD</GTKDOCLINK
3696>, <GTKDOCLINK
3697HREF="XA"
3698>xA</GTKDOCLINK
3699>, <GTKDOCLINK
3700HREF="X9"
3701>x9</GTKDOCLINK
3702>) is processed by
3703appending <GTKDOCLINK
3704HREF="X20"
3705>x20</GTKDOCLINK
3706> to the normalized value, except that only a single
3707<GTKDOCLINK
3708HREF="X20"
3709>x20</GTKDOCLINK
3710> is appended for a "<GTKDOCLINK
3711HREF="XD"
3712>xD</GTKDOCLINK
3713><GTKDOCLINK
3714HREF="XA"
3715>xA</GTKDOCLINK
3716>" sequence that is part of an external
3717parsed entity or the literal entity value of an internal parsed entity
3718- other characters are processed by appending them to the normalized value
3719If the declared value is not CDATA, then the XML processor must further
3720process the normalized attribute value by discarding any leading and
3721trailing space (<GTKDOCLINK
3722HREF="X20"
3723>x20</GTKDOCLINK
3724>) characters, and by replacing sequences of space
3725(<GTKDOCLINK
3726HREF="X20"
3727>x20</GTKDOCLINK
3728>) characters by a single space (<GTKDOCLINK
3729HREF="X20"
3730>x20</GTKDOCLINK
3731>) character.
3732All attributes for which no declaration has been read should be treated
3733by a non-validating parser as if declared CDATA.</P
3734><P
Daniel Veillard35925471999-02-25 08:46:07 +00003735></P
3736><DIV
3737CLASS="INFORMALTABLE"
3738><P
3739></P
3740><TABLE
3741BORDER="0"
3742WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003743BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003744CELLSPACING="0"
3745CELLPADDING="4"
3746CLASS="CALSTABLE"
3747><TR
3748><TD
3749WIDTH="20%"
3750ALIGN="RIGHT"
3751VALIGN="TOP"
3752><TT
3753CLASS="PARAMETER"
3754><I
3755>ctxt</I
3756></TT
3757>&nbsp;:</TD
3758><TD
3759WIDTH="80%"
3760ALIGN="LEFT"
3761VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003762> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003763></TR
3764><TR
3765><TD
3766WIDTH="20%"
3767ALIGN="RIGHT"
3768VALIGN="TOP"
3769><I
3770CLASS="EMPHASIS"
3771>Returns</I
3772> :</TD
3773><TD
3774WIDTH="80%"
3775ALIGN="LEFT"
3776VALIGN="TOP"
Daniel Veillard4c3a2031999-11-19 17:46:26 +00003777>the AttValue parsed or NULL. The value has to be freed by the caller.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003778></TR
3779></TABLE
3780><P
3781></P
3782></DIV
3783></DIV
3784><HR><DIV
3785CLASS="REFSECT2"
3786><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00003787NAME="AEN8143"
Daniel Veillard35925471999-02-25 08:46:07 +00003788></A
3789><H3
3790><A
3791NAME="XMLPARSESYSTEMLITERAL"
3792></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003793>xmlParseSystemLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003794><TABLE
3795BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003796BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003797WIDTH="100%"
3798CELLPADDING="6"
3799><TR
3800><TD
3801><PRE
3802CLASS="PROGRAMLISTING"
3803><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003804HREF="gnome-xml-tree.html#XMLCHAR"
3805>xmlChar</A
3806>* xmlParseSystemLiteral (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003807HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3808>xmlParserCtxtPtr</A
3809> ctxt);</PRE
3810></TD
3811></TR
3812></TABLE
3813><P
3814>parse an XML Literal</P
3815><P
3816>[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</P
3817><P
3818></P
3819><DIV
3820CLASS="INFORMALTABLE"
3821><P
3822></P
3823><TABLE
3824BORDER="0"
3825WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003826BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003827CELLSPACING="0"
3828CELLPADDING="4"
3829CLASS="CALSTABLE"
3830><TR
3831><TD
3832WIDTH="20%"
3833ALIGN="RIGHT"
3834VALIGN="TOP"
3835><TT
3836CLASS="PARAMETER"
3837><I
3838>ctxt</I
3839></TT
3840>&nbsp;:</TD
3841><TD
3842WIDTH="80%"
3843ALIGN="LEFT"
3844VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003845> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003846></TR
3847><TR
3848><TD
3849WIDTH="20%"
3850ALIGN="RIGHT"
3851VALIGN="TOP"
3852><I
3853CLASS="EMPHASIS"
3854>Returns</I
3855> :</TD
3856><TD
3857WIDTH="80%"
3858ALIGN="LEFT"
3859VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003860>the SystemLiteral parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003861></TR
3862></TABLE
3863><P
3864></P
3865></DIV
3866></DIV
3867><HR><DIV
3868CLASS="REFSECT2"
3869><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00003870NAME="AEN8165"
Daniel Veillard35925471999-02-25 08:46:07 +00003871></A
3872><H3
3873><A
3874NAME="XMLPARSEPUBIDLITERAL"
3875></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003876>xmlParsePubidLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003877><TABLE
3878BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003879BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003880WIDTH="100%"
3881CELLPADDING="6"
3882><TR
3883><TD
3884><PRE
3885CLASS="PROGRAMLISTING"
3886><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003887HREF="gnome-xml-tree.html#XMLCHAR"
3888>xmlChar</A
3889>* xmlParsePubidLiteral (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003890HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3891>xmlParserCtxtPtr</A
3892> ctxt);</PRE
3893></TD
3894></TR
3895></TABLE
3896><P
3897>parse an XML public literal</P
3898><P
3899>[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</P
3900><P
3901></P
3902><DIV
3903CLASS="INFORMALTABLE"
3904><P
3905></P
3906><TABLE
3907BORDER="0"
3908WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003909BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003910CELLSPACING="0"
3911CELLPADDING="4"
3912CLASS="CALSTABLE"
3913><TR
3914><TD
3915WIDTH="20%"
3916ALIGN="RIGHT"
3917VALIGN="TOP"
3918><TT
3919CLASS="PARAMETER"
3920><I
3921>ctxt</I
3922></TT
3923>&nbsp;:</TD
3924><TD
3925WIDTH="80%"
3926ALIGN="LEFT"
3927VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003928> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003929></TR
3930><TR
3931><TD
3932WIDTH="20%"
3933ALIGN="RIGHT"
3934VALIGN="TOP"
3935><I
3936CLASS="EMPHASIS"
3937>Returns</I
3938> :</TD
3939><TD
3940WIDTH="80%"
3941ALIGN="LEFT"
3942VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00003943>the PubidLiteral parsed or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003944></TR
3945></TABLE
3946><P
3947></P
3948></DIV
3949></DIV
3950><HR><DIV
3951CLASS="REFSECT2"
3952><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00003953NAME="AEN8187"
Daniel Veillard35925471999-02-25 08:46:07 +00003954></A
3955><H3
3956><A
3957NAME="XMLPARSECHARDATA"
3958></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003959>xmlParseCharData ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003960><TABLE
3961BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003962BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003963WIDTH="100%"
3964CELLPADDING="6"
3965><TR
3966><TD
3967><PRE
3968CLASS="PROGRAMLISTING"
3969>void xmlParseCharData (<A
3970HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3971>xmlParserCtxtPtr</A
3972> ctxt,
3973 int cdata);</PRE
3974></TD
3975></TR
3976></TABLE
3977><P
3978>parse a CharData section.
3979if we are within a CDATA section ']]&gt;' marks an end of section.</P
3980><P
3981>[14] CharData ::= [^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</P
3982><P
3983></P
3984><DIV
3985CLASS="INFORMALTABLE"
3986><P
3987></P
3988><TABLE
3989BORDER="0"
3990WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003991BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003992CELLSPACING="0"
3993CELLPADDING="4"
3994CLASS="CALSTABLE"
3995><TR
3996><TD
3997WIDTH="20%"
3998ALIGN="RIGHT"
3999VALIGN="TOP"
4000><TT
4001CLASS="PARAMETER"
4002><I
4003>ctxt</I
4004></TT
4005>&nbsp;:</TD
4006><TD
4007WIDTH="80%"
4008ALIGN="LEFT"
4009VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004010> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004011></TR
4012><TR
4013><TD
4014WIDTH="20%"
4015ALIGN="RIGHT"
4016VALIGN="TOP"
4017><TT
4018CLASS="PARAMETER"
4019><I
4020>cdata</I
4021></TT
4022>&nbsp;:</TD
4023><TD
4024WIDTH="80%"
4025ALIGN="LEFT"
4026VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004027> int indicating whether we are within a CDATA section</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004028></TR
4029></TABLE
4030><P
4031></P
4032></DIV
4033></DIV
4034><HR><DIV
4035CLASS="REFSECT2"
4036><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00004037NAME="AEN8208"
Daniel Veillard35925471999-02-25 08:46:07 +00004038></A
4039><H3
4040><A
4041NAME="XMLPARSEEXTERNALID"
4042></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004043>xmlParseExternalID ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004044><TABLE
4045BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004046BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004047WIDTH="100%"
4048CELLPADDING="6"
4049><TR
4050><TD
4051><PRE
4052CLASS="PROGRAMLISTING"
4053><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004054HREF="gnome-xml-tree.html#XMLCHAR"
4055>xmlChar</A
4056>* xmlParseExternalID (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004057HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4058>xmlParserCtxtPtr</A
4059> ctxt,
4060 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004061HREF="gnome-xml-tree.html#XMLCHAR"
4062>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004063> **publicID,
4064 int strict);</PRE
4065></TD
4066></TR
4067></TABLE
4068><P
4069>Parse an External ID or a Public ID</P
4070><P
4071>NOTE: Productions [75] and [83] interract badly since [75] can generate
4072'PUBLIC' S PubidLiteral S SystemLiteral</P
4073><P
4074>[75] ExternalID ::= 'SYSTEM' S SystemLiteral
4075| 'PUBLIC' S PubidLiteral S SystemLiteral</P
4076><P
4077>[83] PublicID ::= 'PUBLIC' S PubidLiteral</P
4078><P
4079></P
4080><DIV
4081CLASS="INFORMALTABLE"
4082><P
4083></P
4084><TABLE
4085BORDER="0"
4086WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004087BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004088CELLSPACING="0"
4089CELLPADDING="4"
4090CLASS="CALSTABLE"
4091><TR
4092><TD
4093WIDTH="20%"
4094ALIGN="RIGHT"
4095VALIGN="TOP"
4096><TT
4097CLASS="PARAMETER"
4098><I
4099>ctxt</I
4100></TT
4101>&nbsp;:</TD
4102><TD
4103WIDTH="80%"
4104ALIGN="LEFT"
4105VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004106> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004107></TR
4108><TR
4109><TD
4110WIDTH="20%"
4111ALIGN="RIGHT"
4112VALIGN="TOP"
4113><TT
4114CLASS="PARAMETER"
4115><I
4116>publicID</I
4117></TT
4118>&nbsp;:</TD
4119><TD
4120WIDTH="80%"
4121ALIGN="LEFT"
4122VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004123> a xmlChar** receiving PubidLiteral</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004124></TR
4125><TR
4126><TD
4127WIDTH="20%"
4128ALIGN="RIGHT"
4129VALIGN="TOP"
4130><TT
4131CLASS="PARAMETER"
4132><I
4133>strict</I
4134></TT
4135>&nbsp;:</TD
4136><TD
4137WIDTH="80%"
4138ALIGN="LEFT"
4139VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004140> indicate whether we should restrict parsing to only
4141production [75], see NOTE below</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004142></TR
4143><TR
4144><TD
4145WIDTH="20%"
4146ALIGN="RIGHT"
4147VALIGN="TOP"
4148><I
4149CLASS="EMPHASIS"
4150>Returns</I
4151> :</TD
4152><TD
4153WIDTH="80%"
4154ALIGN="LEFT"
4155VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004156>the function returns SystemLiteral and in the second
4157case publicID receives PubidLiteral, is strict is off
4158it is possible to return NULL and have publicID set.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004159></TR
4160></TABLE
4161><P
4162></P
4163></DIV
4164></DIV
4165><HR><DIV
4166CLASS="REFSECT2"
4167><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00004168NAME="AEN8241"
Daniel Veillard35925471999-02-25 08:46:07 +00004169></A
4170><H3
4171><A
4172NAME="XMLPARSECOMMENT"
4173></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004174>xmlParseComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004175><TABLE
4176BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004177BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004178WIDTH="100%"
4179CELLPADDING="6"
4180><TR
4181><TD
4182><PRE
4183CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004184>void xmlParseComment (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004185HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4186>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00004187> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00004188></TD
4189></TR
4190></TABLE
4191><P
4192>Skip an XML (SGML) comment &lt;!-- .... --&gt;
Daniel Veillard35925471999-02-25 08:46:07 +00004193The spec says that "For compatibility, the string "--" (double-hyphen)
4194must not occur within comments. "</P
4195><P
4196>[15] Comment ::= '&lt;!--' ((Char - '-') | ('-' (Char - '-')))* '--&gt;'</P
4197><P
Daniel Veillard35925471999-02-25 08:46:07 +00004198></P
4199><DIV
4200CLASS="INFORMALTABLE"
4201><P
4202></P
4203><TABLE
4204BORDER="0"
4205WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004206BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004207CELLSPACING="0"
4208CELLPADDING="4"
4209CLASS="CALSTABLE"
4210><TR
4211><TD
4212WIDTH="20%"
4213ALIGN="RIGHT"
4214VALIGN="TOP"
4215><TT
4216CLASS="PARAMETER"
4217><I
4218>ctxt</I
4219></TT
4220>&nbsp;:</TD
4221><TD
4222WIDTH="80%"
4223ALIGN="LEFT"
4224VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004225> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004226></TR
Daniel Veillard35925471999-02-25 08:46:07 +00004227></TABLE
4228><P
4229></P
4230></DIV
4231></DIV
4232><HR><DIV
4233CLASS="REFSECT2"
4234><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00004235NAME="AEN8258"
Daniel Veillard35925471999-02-25 08:46:07 +00004236></A
4237><H3
4238><A
4239NAME="XMLPARSEPITARGET"
4240></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004241>xmlParsePITarget ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004242><TABLE
4243BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004244BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004245WIDTH="100%"
4246CELLPADDING="6"
4247><TR
4248><TD
4249><PRE
4250CLASS="PROGRAMLISTING"
4251><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004252HREF="gnome-xml-tree.html#XMLCHAR"
4253>xmlChar</A
4254>* xmlParsePITarget (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004255HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4256>xmlParserCtxtPtr</A
4257> ctxt);</PRE
4258></TD
4259></TR
4260></TABLE
4261><P
4262>parse the name of a PI</P
4263><P
4264>[17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</P
4265><P
4266></P
4267><DIV
4268CLASS="INFORMALTABLE"
4269><P
4270></P
4271><TABLE
4272BORDER="0"
4273WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004274BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004275CELLSPACING="0"
4276CELLPADDING="4"
4277CLASS="CALSTABLE"
4278><TR
4279><TD
4280WIDTH="20%"
4281ALIGN="RIGHT"
4282VALIGN="TOP"
4283><TT
4284CLASS="PARAMETER"
4285><I
4286>ctxt</I
4287></TT
4288>&nbsp;:</TD
4289><TD
4290WIDTH="80%"
4291ALIGN="LEFT"
4292VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004293> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004294></TR
4295><TR
4296><TD
4297WIDTH="20%"
4298ALIGN="RIGHT"
4299VALIGN="TOP"
4300><I
4301CLASS="EMPHASIS"
4302>Returns</I
4303> :</TD
4304><TD
4305WIDTH="80%"
4306ALIGN="LEFT"
4307VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004308>the PITarget name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004309></TR
4310></TABLE
4311><P
4312></P
4313></DIV
4314></DIV
4315><HR><DIV
4316CLASS="REFSECT2"
4317><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00004318NAME="AEN8280"
Daniel Veillard35925471999-02-25 08:46:07 +00004319></A
4320><H3
4321><A
4322NAME="XMLPARSEPI"
4323></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004324>xmlParsePI ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004325><TABLE
4326BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004327BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004328WIDTH="100%"
4329CELLPADDING="6"
4330><TR
4331><TD
4332><PRE
4333CLASS="PROGRAMLISTING"
4334>void xmlParsePI (<A
4335HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4336>xmlParserCtxtPtr</A
4337> ctxt);</PRE
4338></TD
4339></TR
4340></TABLE
4341><P
4342>parse an XML Processing Instruction.</P
4343><P
4344>[16] PI ::= '&lt;?' PITarget (S (Char* - (Char* '?&gt;' Char*)))? '?&gt;'</P
4345><P
4346>The processing is transfered to SAX once parsed.</P
4347><P
4348></P
4349><DIV
4350CLASS="INFORMALTABLE"
4351><P
4352></P
4353><TABLE
4354BORDER="0"
4355WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004356BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004357CELLSPACING="0"
4358CELLPADDING="4"
4359CLASS="CALSTABLE"
4360><TR
4361><TD
4362WIDTH="20%"
4363ALIGN="RIGHT"
4364VALIGN="TOP"
4365><TT
4366CLASS="PARAMETER"
4367><I
4368>ctxt</I
4369></TT
4370>&nbsp;:</TD
4371><TD
4372WIDTH="80%"
4373ALIGN="LEFT"
4374VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004375> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004376></TR
4377></TABLE
4378><P
4379></P
4380></DIV
4381></DIV
4382><HR><DIV
4383CLASS="REFSECT2"
4384><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00004385NAME="AEN8298"
Daniel Veillard35925471999-02-25 08:46:07 +00004386></A
4387><H3
4388><A
4389NAME="XMLPARSENOTATIONDECL"
4390></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004391>xmlParseNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004392><TABLE
4393BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004394BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004395WIDTH="100%"
4396CELLPADDING="6"
4397><TR
4398><TD
4399><PRE
4400CLASS="PROGRAMLISTING"
4401>void xmlParseNotationDecl (<A
4402HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4403>xmlParserCtxtPtr</A
4404> ctxt);</PRE
4405></TD
4406></TR
4407></TABLE
4408><P
4409>parse a notation declaration</P
4410><P
4411>[82] NotationDecl ::= '&lt;!NOTATION' S Name S (ExternalID | PublicID) S? '&gt;'</P
4412><P
4413>Hence there is actually 3 choices:
4414'PUBLIC' S PubidLiteral
4415'PUBLIC' S PubidLiteral S SystemLiteral
4416and 'SYSTEM' S SystemLiteral</P
4417><P
4418>See the NOTE on <A
4419HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
4420>xmlParseExternalID</A
4421>().</P
4422><P
4423></P
4424><DIV
4425CLASS="INFORMALTABLE"
4426><P
4427></P
4428><TABLE
4429BORDER="0"
4430WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004431BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004432CELLSPACING="0"
4433CELLPADDING="4"
4434CLASS="CALSTABLE"
4435><TR
4436><TD
4437WIDTH="20%"
4438ALIGN="RIGHT"
4439VALIGN="TOP"
4440><TT
4441CLASS="PARAMETER"
4442><I
4443>ctxt</I
4444></TT
4445>&nbsp;:</TD
4446><TD
4447WIDTH="80%"
4448ALIGN="LEFT"
4449VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004450> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004451></TR
4452></TABLE
4453><P
4454></P
4455></DIV
4456></DIV
4457><HR><DIV
4458CLASS="REFSECT2"
4459><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00004460NAME="AEN8318"
Daniel Veillard35925471999-02-25 08:46:07 +00004461></A
4462><H3
4463><A
4464NAME="XMLPARSEENTITYDECL"
4465></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004466>xmlParseEntityDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004467><TABLE
4468BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004469BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004470WIDTH="100%"
4471CELLPADDING="6"
4472><TR
4473><TD
4474><PRE
4475CLASS="PROGRAMLISTING"
4476>void xmlParseEntityDecl (<A
4477HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4478>xmlParserCtxtPtr</A
4479> ctxt);</PRE
4480></TD
4481></TR
4482></TABLE
4483><P
4484>parse &lt;!ENTITY declarations</P
4485><P
4486>[70] EntityDecl ::= GEDecl | PEDecl</P
4487><P
4488>[71] GEDecl ::= '&lt;!ENTITY' S Name S EntityDef S? '&gt;'</P
4489><P
4490>[72] PEDecl ::= '&lt;!ENTITY' S '%' S Name S PEDef S? '&gt;'</P
4491><P
4492>[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)</P
4493><P
4494>[74] PEDef ::= EntityValue | ExternalID</P
4495><P
4496>[76] NDataDecl ::= S 'NDATA' S Name</P
4497><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004498>[ VC: Notation Declared ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004499The Name must match the declared name of a notation.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004500><P
Daniel Veillard35925471999-02-25 08:46:07 +00004501></P
4502><DIV
4503CLASS="INFORMALTABLE"
4504><P
4505></P
4506><TABLE
4507BORDER="0"
4508WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004509BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004510CELLSPACING="0"
4511CELLPADDING="4"
4512CLASS="CALSTABLE"
4513><TR
4514><TD
4515WIDTH="20%"
4516ALIGN="RIGHT"
4517VALIGN="TOP"
4518><TT
4519CLASS="PARAMETER"
4520><I
4521>ctxt</I
4522></TT
4523>&nbsp;:</TD
4524><TD
4525WIDTH="80%"
4526ALIGN="LEFT"
4527VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004528> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004529></TR
4530></TABLE
4531><P
4532></P
4533></DIV
4534></DIV
4535><HR><DIV
4536CLASS="REFSECT2"
4537><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00004538NAME="AEN8341"
Daniel Veillard35925471999-02-25 08:46:07 +00004539></A
4540><H3
4541><A
4542NAME="XMLPARSEDEFAULTDECL"
4543></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004544>xmlParseDefaultDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004545><TABLE
4546BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004547BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004548WIDTH="100%"
4549CELLPADDING="6"
4550><TR
4551><TD
4552><PRE
4553CLASS="PROGRAMLISTING"
4554>int xmlParseDefaultDecl (<A
4555HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4556>xmlParserCtxtPtr</A
4557> ctxt,
4558 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004559HREF="gnome-xml-tree.html#XMLCHAR"
4560>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004561> **value);</PRE
4562></TD
4563></TR
4564></TABLE
4565><P
4566>Parse an attribute default declaration</P
4567><P
4568>[60] DefaultDecl ::= '<GTKDOCLINK
4569HREF="REQUIRED"
4570>REQUIRED</GTKDOCLINK
4571>' | '<GTKDOCLINK
4572HREF="IMPLIED"
4573>IMPLIED</GTKDOCLINK
4574>' | (('<GTKDOCLINK
4575HREF="FIXED"
4576>FIXED</GTKDOCLINK
4577>' S)? AttValue)</P
4578><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004579>[ VC: Required Attribute ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004580if the default declaration is the keyword <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00004581HREF="REQUIRED"
4582>REQUIRED</GTKDOCLINK
4583>, then the
4584attribute must be specified for all elements of the type in the
4585attribute-list declaration.</P
4586><P
4587>[ VC: Attribute Default Legal ]
4588The declared default value must meet the lexical constraints of
4589the declared attribute type c.f. <A
4590HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL"
4591>xmlValidateAttributeDecl</A
4592>()</P
4593><P
4594>[ VC: Fixed Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004595if an attribute has a default value declared with the <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00004596HREF="FIXED"
4597>FIXED</GTKDOCLINK
4598>
4599keyword, instances of that attribute must match the default value. </P
4600><P
4601>[ WFC: No &lt; in Attribute Values ]
4602handled in <A
4603HREF="gnome-xml-parserinternals.html#XMLPARSEATTVALUE"
4604>xmlParseAttValue</A
4605>()</P
4606><P
Daniel Veillard35925471999-02-25 08:46:07 +00004607></P
4608><DIV
4609CLASS="INFORMALTABLE"
4610><P
4611></P
4612><TABLE
4613BORDER="0"
4614WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004615BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004616CELLSPACING="0"
4617CELLPADDING="4"
4618CLASS="CALSTABLE"
4619><TR
4620><TD
4621WIDTH="20%"
4622ALIGN="RIGHT"
4623VALIGN="TOP"
4624><TT
4625CLASS="PARAMETER"
4626><I
4627>ctxt</I
4628></TT
4629>&nbsp;:</TD
4630><TD
4631WIDTH="80%"
4632ALIGN="LEFT"
4633VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004634> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004635></TR
4636><TR
4637><TD
4638WIDTH="20%"
4639ALIGN="RIGHT"
4640VALIGN="TOP"
4641><TT
4642CLASS="PARAMETER"
4643><I
4644>value</I
4645></TT
4646>&nbsp;:</TD
4647><TD
4648WIDTH="80%"
4649ALIGN="LEFT"
4650VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004651> Receive a possible fixed default value for the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004652></TR
4653><TR
4654><TD
4655WIDTH="20%"
4656ALIGN="RIGHT"
4657VALIGN="TOP"
4658><I
4659CLASS="EMPHASIS"
4660>Returns</I
4661> :</TD
4662><TD
4663WIDTH="80%"
4664ALIGN="LEFT"
4665VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004666> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED
4667or XML_ATTRIBUTE_FIXED. </TD
Daniel Veillard35925471999-02-25 08:46:07 +00004668></TR
4669></TABLE
4670><P
4671></P
4672></DIV
4673></DIV
4674><HR><DIV
4675CLASS="REFSECT2"
4676><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00004677NAME="AEN8378"
Daniel Veillard35925471999-02-25 08:46:07 +00004678></A
4679><H3
4680><A
4681NAME="XMLPARSENOTATIONTYPE"
4682></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004683>xmlParseNotationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004684><TABLE
4685BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004686BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004687WIDTH="100%"
4688CELLPADDING="6"
4689><TR
4690><TD
4691><PRE
4692CLASS="PROGRAMLISTING"
4693><A
4694HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4695>xmlEnumerationPtr</A
4696> xmlParseNotationType (<A
4697HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4698>xmlParserCtxtPtr</A
4699> ctxt);</PRE
4700></TD
4701></TR
4702></TABLE
4703><P
4704>parse an Notation attribute type.</P
4705><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004706>Note: the leading 'NOTATION' S part has already being parsed...</P
4707><P
Daniel Veillard35925471999-02-25 08:46:07 +00004708>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
4709><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004710>[ VC: Notation Attributes ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004711Values of this type must match one of the notation names included
Daniel Veillardb05deb71999-08-10 19:04:08 +00004712in the declaration; all notation names in the declaration must be declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00004713><P
4714></P
4715><DIV
4716CLASS="INFORMALTABLE"
4717><P
4718></P
4719><TABLE
4720BORDER="0"
4721WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004722BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004723CELLSPACING="0"
4724CELLPADDING="4"
4725CLASS="CALSTABLE"
4726><TR
4727><TD
4728WIDTH="20%"
4729ALIGN="RIGHT"
4730VALIGN="TOP"
4731><TT
4732CLASS="PARAMETER"
4733><I
4734>ctxt</I
4735></TT
4736>&nbsp;:</TD
4737><TD
4738WIDTH="80%"
4739ALIGN="LEFT"
4740VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004741> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004742></TR
4743><TR
4744><TD
4745WIDTH="20%"
4746ALIGN="RIGHT"
4747VALIGN="TOP"
4748><I
4749CLASS="EMPHASIS"
4750>Returns</I
4751> :</TD
4752><TD
4753WIDTH="80%"
4754ALIGN="LEFT"
4755VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004756> the notation attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004757></TR
4758></TABLE
4759><P
4760></P
4761></DIV
4762></DIV
4763><HR><DIV
4764CLASS="REFSECT2"
4765><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00004766NAME="AEN8402"
Daniel Veillard35925471999-02-25 08:46:07 +00004767></A
4768><H3
4769><A
4770NAME="XMLPARSEENUMERATIONTYPE"
4771></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004772>xmlParseEnumerationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004773><TABLE
4774BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004775BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004776WIDTH="100%"
4777CELLPADDING="6"
4778><TR
4779><TD
4780><PRE
4781CLASS="PROGRAMLISTING"
4782><A
4783HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4784>xmlEnumerationPtr</A
4785> xmlParseEnumerationType (<A
4786HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4787>xmlParserCtxtPtr</A
4788> ctxt);</PRE
4789></TD
4790></TR
4791></TABLE
4792><P
4793>parse an Enumeration attribute type.</P
4794><P
4795>[59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')'</P
4796><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004797>[ VC: Enumeration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004798Values of this type must match one of the Nmtoken tokens in
Daniel Veillardb05deb71999-08-10 19:04:08 +00004799the declaration</P
4800><P
Daniel Veillard35925471999-02-25 08:46:07 +00004801></P
4802><DIV
4803CLASS="INFORMALTABLE"
4804><P
4805></P
4806><TABLE
4807BORDER="0"
4808WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004809BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004810CELLSPACING="0"
4811CELLPADDING="4"
4812CLASS="CALSTABLE"
4813><TR
4814><TD
4815WIDTH="20%"
4816ALIGN="RIGHT"
4817VALIGN="TOP"
4818><TT
4819CLASS="PARAMETER"
4820><I
4821>ctxt</I
4822></TT
4823>&nbsp;:</TD
4824><TD
4825WIDTH="80%"
4826ALIGN="LEFT"
4827VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004828> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004829></TR
4830><TR
4831><TD
4832WIDTH="20%"
4833ALIGN="RIGHT"
4834VALIGN="TOP"
4835><I
4836CLASS="EMPHASIS"
4837>Returns</I
4838> :</TD
4839><TD
4840WIDTH="80%"
4841ALIGN="LEFT"
4842VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004843> the enumeration attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004844></TR
4845></TABLE
4846><P
4847></P
4848></DIV
4849></DIV
4850><HR><DIV
4851CLASS="REFSECT2"
4852><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00004853NAME="AEN8425"
Daniel Veillard35925471999-02-25 08:46:07 +00004854></A
4855><H3
4856><A
4857NAME="XMLPARSEENUMERATEDTYPE"
4858></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004859>xmlParseEnumeratedType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004860><TABLE
4861BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004862BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004863WIDTH="100%"
4864CELLPADDING="6"
4865><TR
4866><TD
4867><PRE
4868CLASS="PROGRAMLISTING"
4869>int xmlParseEnumeratedType (<A
4870HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4871>xmlParserCtxtPtr</A
4872> ctxt,
4873 <A
4874HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4875>xmlEnumerationPtr</A
4876> *tree);</PRE
4877></TD
4878></TR
4879></TABLE
4880><P
4881>parse an Enumerated attribute type.</P
4882><P
4883>[57] EnumeratedType ::= NotationType | Enumeration</P
4884><P
4885>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
4886><P
4887></P
4888><DIV
4889CLASS="INFORMALTABLE"
4890><P
4891></P
4892><TABLE
4893BORDER="0"
4894WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004895BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004896CELLSPACING="0"
4897CELLPADDING="4"
4898CLASS="CALSTABLE"
4899><TR
4900><TD
4901WIDTH="20%"
4902ALIGN="RIGHT"
4903VALIGN="TOP"
4904><TT
4905CLASS="PARAMETER"
4906><I
4907>ctxt</I
4908></TT
4909>&nbsp;:</TD
4910><TD
4911WIDTH="80%"
4912ALIGN="LEFT"
4913VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004914> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004915></TR
4916><TR
4917><TD
4918WIDTH="20%"
4919ALIGN="RIGHT"
4920VALIGN="TOP"
4921><TT
4922CLASS="PARAMETER"
4923><I
4924>tree</I
4925></TT
4926>&nbsp;:</TD
4927><TD
4928WIDTH="80%"
4929ALIGN="LEFT"
4930VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004931> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004932></TR
4933><TR
4934><TD
4935WIDTH="20%"
4936ALIGN="RIGHT"
4937VALIGN="TOP"
4938><I
4939CLASS="EMPHASIS"
4940>Returns</I
4941> :</TD
4942><TD
4943WIDTH="80%"
4944ALIGN="LEFT"
4945VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00004946> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004947></TR
4948></TABLE
4949><P
4950></P
4951></DIV
4952></DIV
4953><HR><DIV
4954CLASS="REFSECT2"
4955><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00004956NAME="AEN8452"
Daniel Veillard35925471999-02-25 08:46:07 +00004957></A
4958><H3
4959><A
4960NAME="XMLPARSEATTRIBUTETYPE"
4961></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004962>xmlParseAttributeType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004963><TABLE
4964BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004965BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004966WIDTH="100%"
4967CELLPADDING="6"
4968><TR
4969><TD
4970><PRE
4971CLASS="PROGRAMLISTING"
4972>int xmlParseAttributeType (<A
4973HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4974>xmlParserCtxtPtr</A
4975> ctxt,
4976 <A
4977HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4978>xmlEnumerationPtr</A
4979> *tree);</PRE
4980></TD
4981></TR
4982></TABLE
4983><P
4984>parse the Attribute list def for an element</P
4985><P
4986>[54] AttType ::= StringType | TokenizedType | EnumeratedType</P
4987><P
4988>[55] StringType ::= 'CDATA'</P
4989><P
4990>[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' |
4991'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'</P
4992><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004993>Validity constraints for attribute values syntax are checked in
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004994<A
4995HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
4996>xmlValidateAttributeValue</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004997>()</P
4998><P
4999>[ VC: ID ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005000Values of type ID must match the Name production. A name must not
Daniel Veillardb05deb71999-08-10 19:04:08 +00005001appear more than once in an XML document as a value of this type;
5002i.e., ID values must uniquely identify the elements which bear them.</P
5003><P
5004>[ VC: One ID per Element Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005005No element type may have more than one ID attribute specified.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005006><P
5007>[ VC: ID Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005008An ID attribute must have a declared default of <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00005009HREF="IMPLIED"
5010>IMPLIED</GTKDOCLINK
5011> or <GTKDOCLINK
5012HREF="REQUIRED"
5013>REQUIRED</GTKDOCLINK
5014>.</P
5015><P
5016>[ VC: IDREF ]
5017Values of type IDREF must match the Name production, and values
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005018of type IDREFS must match Names; TODO each IDREF Name must match the value
5019of an ID attribute on some element in the XML document; i.e. IDREF
Daniel Veillardb05deb71999-08-10 19:04:08 +00005020values must match the value of some ID attribute.</P
5021><P
5022>[ VC: Entity Name ]
5023Values of type ENTITY must match the Name production, values
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005024of type ENTITIES must match Names; TODO each Entity Name must match the
5025name of an unparsed entity declared in the DTD. </P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005026><P
5027>[ VC: Name Token ]
5028Values of type NMTOKEN must match the Nmtoken production; values
5029of type NMTOKENS must match Nmtokens.</P
5030><P
Daniel Veillard35925471999-02-25 08:46:07 +00005031></P
5032><DIV
5033CLASS="INFORMALTABLE"
5034><P
5035></P
5036><TABLE
5037BORDER="0"
5038WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005039BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005040CELLSPACING="0"
5041CELLPADDING="4"
5042CLASS="CALSTABLE"
5043><TR
5044><TD
5045WIDTH="20%"
5046ALIGN="RIGHT"
5047VALIGN="TOP"
5048><TT
5049CLASS="PARAMETER"
5050><I
5051>ctxt</I
5052></TT
5053>&nbsp;:</TD
5054><TD
5055WIDTH="80%"
5056ALIGN="LEFT"
5057VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005058> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005059></TR
5060><TR
5061><TD
5062WIDTH="20%"
5063ALIGN="RIGHT"
5064VALIGN="TOP"
5065><TT
5066CLASS="PARAMETER"
5067><I
5068>tree</I
5069></TT
5070>&nbsp;:</TD
5071><TD
5072WIDTH="80%"
5073ALIGN="LEFT"
5074VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005075> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005076></TR
5077><TR
5078><TD
5079WIDTH="20%"
5080ALIGN="RIGHT"
5081VALIGN="TOP"
5082><I
5083CLASS="EMPHASIS"
5084>Returns</I
5085> :</TD
5086><TD
5087WIDTH="80%"
5088ALIGN="LEFT"
5089VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005090>the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005091></TR
5092></TABLE
5093><P
5094></P
5095></DIV
5096></DIV
5097><HR><DIV
5098CLASS="REFSECT2"
5099><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00005100NAME="AEN8490"
Daniel Veillard35925471999-02-25 08:46:07 +00005101></A
5102><H3
5103><A
5104NAME="XMLPARSEATTRIBUTELISTDECL"
5105></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005106>xmlParseAttributeListDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005107><TABLE
5108BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005109BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005110WIDTH="100%"
5111CELLPADDING="6"
5112><TR
5113><TD
5114><PRE
5115CLASS="PROGRAMLISTING"
5116>void xmlParseAttributeListDecl (<A
5117HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5118>xmlParserCtxtPtr</A
5119> ctxt);</PRE
5120></TD
5121></TR
5122></TABLE
5123><P
5124>: parse the Attribute list def for an element</P
5125><P
5126>[52] AttlistDecl ::= '&lt;!ATTLIST' S Name AttDef* S? '&gt;'</P
5127><P
5128>[53] AttDef ::= S Name S AttType S DefaultDecl</P
5129><P
5130></P
5131><DIV
5132CLASS="INFORMALTABLE"
5133><P
5134></P
5135><TABLE
5136BORDER="0"
5137WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005138BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005139CELLSPACING="0"
5140CELLPADDING="4"
5141CLASS="CALSTABLE"
5142><TR
5143><TD
5144WIDTH="20%"
5145ALIGN="RIGHT"
5146VALIGN="TOP"
5147><TT
5148CLASS="PARAMETER"
5149><I
5150>ctxt</I
5151></TT
5152>&nbsp;:</TD
5153><TD
5154WIDTH="80%"
5155ALIGN="LEFT"
5156VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005157> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005158></TR
5159></TABLE
5160><P
5161></P
5162></DIV
5163></DIV
5164><HR><DIV
5165CLASS="REFSECT2"
5166><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00005167NAME="AEN8508"
Daniel Veillard35925471999-02-25 08:46:07 +00005168></A
5169><H3
5170><A
5171NAME="XMLPARSEELEMENTMIXEDCONTENTDECL"
5172></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005173>xmlParseElementMixedContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005174><TABLE
5175BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005176BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005177WIDTH="100%"
5178CELLPADDING="6"
5179><TR
5180><TD
5181><PRE
5182CLASS="PROGRAMLISTING"
5183><A
5184HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
5185>xmlElementContentPtr</A
5186> xmlParseElementMixedContentDecl
5187 (<A
5188HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5189>xmlParserCtxtPtr</A
5190> ctxt);</PRE
5191></TD
5192></TR
5193></TABLE
5194><P
5195>parse the declaration for a Mixed Element content
5196The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
5197><P
5198>[51] Mixed ::= '(' S? '<GTKDOCLINK
5199HREF="PCDATA"
5200>PCDATA</GTKDOCLINK
5201>' (S? '|' S? Name)* S? ')*' |
5202'(' S? '<GTKDOCLINK
5203HREF="PCDATA"
5204>PCDATA</GTKDOCLINK
5205>' S? ')'</P
5206><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005207>[ VC: Proper Group/PE Nesting ] applies to [51] too (see [49])</P
5208><P
5209>[ VC: No Duplicate Types ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005210The same name must not appear more than once in a single
Daniel Veillardb05deb71999-08-10 19:04:08 +00005211mixed-content declaration.</P
5212><P
Daniel Veillard35925471999-02-25 08:46:07 +00005213></P
5214><DIV
5215CLASS="INFORMALTABLE"
5216><P
5217></P
5218><TABLE
5219BORDER="0"
5220WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005221BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005222CELLSPACING="0"
5223CELLPADDING="4"
5224CLASS="CALSTABLE"
5225><TR
5226><TD
5227WIDTH="20%"
5228ALIGN="RIGHT"
5229VALIGN="TOP"
5230><TT
5231CLASS="PARAMETER"
5232><I
5233>ctxt</I
5234></TT
5235>&nbsp;:</TD
5236><TD
5237WIDTH="80%"
5238ALIGN="LEFT"
5239VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005240> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005241></TR
5242><TR
5243><TD
5244WIDTH="20%"
5245ALIGN="RIGHT"
5246VALIGN="TOP"
5247><I
5248CLASS="EMPHASIS"
5249>Returns</I
5250> :</TD
5251><TD
5252WIDTH="80%"
5253ALIGN="LEFT"
5254VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005255> the list of the xmlElementContentPtr describing the element choices</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005256></TR
5257></TABLE
5258><P
5259></P
5260></DIV
5261></DIV
5262><HR><DIV
5263CLASS="REFSECT2"
5264><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00005265NAME="AEN8534"
Daniel Veillard35925471999-02-25 08:46:07 +00005266></A
5267><H3
5268><A
5269NAME="XMLPARSEELEMENTCHILDRENCONTENTDECL"
5270></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005271>xmlParseElementChildrenContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005272><TABLE
5273BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005274BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005275WIDTH="100%"
5276CELLPADDING="6"
5277><TR
5278><TD
5279><PRE
5280CLASS="PROGRAMLISTING"
5281><A
5282HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
5283>xmlElementContentPtr</A
5284> xmlParseElementChildrenContentDecl
5285 (<A
5286HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5287>xmlParserCtxtPtr</A
5288> ctxt);</PRE
5289></TD
5290></TR
5291></TABLE
5292><P
5293>parse the declaration for a Mixed Element content
5294The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
5295><P
5296>[47] children ::= (choice | seq) ('?' | '*' | '+')?</P
5297><P
5298>[48] cp ::= (Name | choice | seq) ('?' | '*' | '+')?</P
5299><P
5300>[49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')'</P
5301><P
5302>[50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'</P
5303><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005304>[ VC: Proper Group/PE Nesting ] applies to [49] and [50]
5305TODO Parameter-entity replacement text must be properly nested
5306with parenthetized groups. That is to say, if either of the
5307opening or closing parentheses in a choice, seq, or Mixed
5308construct is contained in the replacement text for a parameter
5309entity, both must be contained in the same replacement text. For
5310interoperability, if a parameter-entity reference appears in a
5311choice, seq, or Mixed construct, its replacement text should not
5312be empty, and neither the first nor last non-blank character of
5313the replacement text should be a connector (| or ,).</P
5314><P
Daniel Veillard35925471999-02-25 08:46:07 +00005315></P
5316><DIV
5317CLASS="INFORMALTABLE"
5318><P
5319></P
5320><TABLE
5321BORDER="0"
5322WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005323BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005324CELLSPACING="0"
5325CELLPADDING="4"
5326CLASS="CALSTABLE"
5327><TR
5328><TD
5329WIDTH="20%"
5330ALIGN="RIGHT"
5331VALIGN="TOP"
5332><TT
5333CLASS="PARAMETER"
5334><I
5335>ctxt</I
5336></TT
5337>&nbsp;:</TD
5338><TD
5339WIDTH="80%"
5340ALIGN="LEFT"
5341VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005342> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005343></TR
5344><TR
5345><TD
5346WIDTH="20%"
5347ALIGN="RIGHT"
5348VALIGN="TOP"
5349><I
5350CLASS="EMPHASIS"
5351>Returns</I
5352> :</TD
5353><TD
5354WIDTH="80%"
5355ALIGN="LEFT"
5356VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005357> the tree of xmlElementContentPtr describing the element
5358hierarchy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005359></TR
5360></TABLE
5361><P
5362></P
5363></DIV
5364></DIV
5365><HR><DIV
5366CLASS="REFSECT2"
5367><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00005368NAME="AEN8560"
Daniel Veillard35925471999-02-25 08:46:07 +00005369></A
5370><H3
5371><A
5372NAME="XMLPARSEELEMENTCONTENTDECL"
5373></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005374>xmlParseElementContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005375><TABLE
5376BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005377BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005378WIDTH="100%"
5379CELLPADDING="6"
5380><TR
5381><TD
5382><PRE
5383CLASS="PROGRAMLISTING"
5384>int xmlParseElementContentDecl (<A
5385HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5386>xmlParserCtxtPtr</A
5387> ctxt,
5388 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005389HREF="gnome-xml-tree.html#XMLCHAR"
5390>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005391> *name,
5392 <A
5393HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
5394>xmlElementContentPtr</A
5395> *result);</PRE
5396></TD
5397></TR
5398></TABLE
5399><P
5400>parse the declaration for an Element content either Mixed or Children,
5401the cases EMPTY and ANY are handled directly in xmlParseElementDecl</P
5402><P
5403>[46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</P
5404><P
5405></P
5406><DIV
5407CLASS="INFORMALTABLE"
5408><P
5409></P
5410><TABLE
5411BORDER="0"
5412WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005413BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005414CELLSPACING="0"
5415CELLPADDING="4"
5416CLASS="CALSTABLE"
5417><TR
5418><TD
5419WIDTH="20%"
5420ALIGN="RIGHT"
5421VALIGN="TOP"
5422><TT
5423CLASS="PARAMETER"
5424><I
5425>ctxt</I
5426></TT
5427>&nbsp;:</TD
5428><TD
5429WIDTH="80%"
5430ALIGN="LEFT"
5431VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005432> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005433></TR
5434><TR
5435><TD
5436WIDTH="20%"
5437ALIGN="RIGHT"
5438VALIGN="TOP"
5439><TT
5440CLASS="PARAMETER"
5441><I
5442>name</I
5443></TT
5444>&nbsp;:</TD
5445><TD
5446WIDTH="80%"
5447ALIGN="LEFT"
5448VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005449> the name of the element being defined.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005450></TR
5451><TR
5452><TD
5453WIDTH="20%"
5454ALIGN="RIGHT"
5455VALIGN="TOP"
5456><TT
5457CLASS="PARAMETER"
5458><I
5459>result</I
5460></TT
5461>&nbsp;:</TD
5462><TD
5463WIDTH="80%"
5464ALIGN="LEFT"
5465VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005466> the Element Content pointer will be stored here if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005467></TR
5468><TR
5469><TD
5470WIDTH="20%"
5471ALIGN="RIGHT"
5472VALIGN="TOP"
5473><I
5474CLASS="EMPHASIS"
5475>Returns</I
5476> :</TD
5477><TD
5478WIDTH="80%"
5479ALIGN="LEFT"
5480VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005481> the type of element content XML_ELEMENT_TYPE_xxx</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005482></TR
5483></TABLE
5484><P
5485></P
5486></DIV
5487></DIV
5488><HR><DIV
5489CLASS="REFSECT2"
5490><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00005491NAME="AEN8591"
Daniel Veillard35925471999-02-25 08:46:07 +00005492></A
5493><H3
5494><A
5495NAME="XMLPARSEELEMENTDECL"
5496></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005497>xmlParseElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005498><TABLE
5499BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005500BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005501WIDTH="100%"
5502CELLPADDING="6"
5503><TR
5504><TD
5505><PRE
5506CLASS="PROGRAMLISTING"
5507>int xmlParseElementDecl (<A
5508HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5509>xmlParserCtxtPtr</A
5510> ctxt);</PRE
5511></TD
5512></TR
5513></TABLE
5514><P
5515>parse an Element declaration.</P
5516><P
5517>[45] elementdecl ::= '&lt;!ELEMENT' S Name S contentspec S? '&gt;'</P
5518><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005519>[ VC: Unique Element Type Declaration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005520No element type may be declared more than once</P
Daniel Veillard35925471999-02-25 08:46:07 +00005521><P
5522></P
5523><DIV
5524CLASS="INFORMALTABLE"
5525><P
5526></P
5527><TABLE
5528BORDER="0"
5529WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005530BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005531CELLSPACING="0"
5532CELLPADDING="4"
5533CLASS="CALSTABLE"
5534><TR
5535><TD
5536WIDTH="20%"
5537ALIGN="RIGHT"
5538VALIGN="TOP"
5539><TT
5540CLASS="PARAMETER"
5541><I
5542>ctxt</I
5543></TT
5544>&nbsp;:</TD
5545><TD
5546WIDTH="80%"
5547ALIGN="LEFT"
5548VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005549> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005550></TR
5551><TR
5552><TD
5553WIDTH="20%"
5554ALIGN="RIGHT"
5555VALIGN="TOP"
5556><I
5557CLASS="EMPHASIS"
5558>Returns</I
5559> :</TD
5560><TD
5561WIDTH="80%"
5562ALIGN="LEFT"
5563VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005564>the type of the element, or -1 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005565></TR
5566></TABLE
5567><P
5568></P
5569></DIV
5570></DIV
5571><HR><DIV
5572CLASS="REFSECT2"
5573><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00005574NAME="AEN8613"
Daniel Veillard35925471999-02-25 08:46:07 +00005575></A
5576><H3
5577><A
5578NAME="XMLPARSEMARKUPDECL"
5579></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005580>xmlParseMarkupDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005581><TABLE
5582BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005583BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005584WIDTH="100%"
5585CELLPADDING="6"
5586><TR
5587><TD
5588><PRE
5589CLASS="PROGRAMLISTING"
5590>void xmlParseMarkupDecl (<A
5591HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5592>xmlParserCtxtPtr</A
5593> ctxt);</PRE
5594></TD
5595></TR
5596></TABLE
5597><P
5598>parse Markup declarations</P
5599><P
5600>[29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
5601NotationDecl | PI | Comment</P
5602><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005603>[ VC: Proper Declaration/PE Nesting ]
5604TODO Parameter-entity replacement text must be properly nested with
5605markup declarations. That is to say, if either the first character
5606or the last character of a markup declaration (markupdecl above) is
5607contained in the replacement text for a parameter-entity reference,
5608both must be contained in the same replacement text.</P
5609><P
5610>[ WFC: PEs in Internal Subset ]
5611In the internal DTD subset, parameter-entity references can occur
5612only where markup declarations can occur, not within markup declarations.
5613(This does not apply to references that occur in external parameter
5614entities or to the external subset.)</P
Daniel Veillard35925471999-02-25 08:46:07 +00005615><P
5616></P
5617><DIV
5618CLASS="INFORMALTABLE"
5619><P
5620></P
5621><TABLE
5622BORDER="0"
5623WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005624BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005625CELLSPACING="0"
5626CELLPADDING="4"
5627CLASS="CALSTABLE"
5628><TR
5629><TD
5630WIDTH="20%"
5631ALIGN="RIGHT"
5632VALIGN="TOP"
5633><TT
5634CLASS="PARAMETER"
5635><I
5636>ctxt</I
5637></TT
5638>&nbsp;:</TD
5639><TD
5640WIDTH="80%"
5641ALIGN="LEFT"
5642VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005643> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005644></TR
5645></TABLE
5646><P
5647></P
5648></DIV
5649></DIV
5650><HR><DIV
5651CLASS="REFSECT2"
5652><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00005653NAME="AEN8632"
Daniel Veillard35925471999-02-25 08:46:07 +00005654></A
5655><H3
5656><A
5657NAME="XMLPARSECHARREF"
5658></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005659>xmlParseCharRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005660><TABLE
5661BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005662BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005663WIDTH="100%"
5664CELLPADDING="6"
5665><TR
5666><TD
5667><PRE
5668CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005669>int xmlParseCharRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005670HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5671>xmlParserCtxtPtr</A
5672> ctxt);</PRE
5673></TD
5674></TR
5675></TABLE
5676><P
5677>parse Reference declarations</P
5678><P
5679>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
5680'&amp;<GTKDOCLINK
5681HREF="X"
5682>x</GTKDOCLINK
5683>' [0-9a-fA-F]+ ';'</P
5684><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005685>[ WFC: Legal Character ]
5686Characters referred to using character references must match the
5687production for Char.</P
5688><P
Daniel Veillard35925471999-02-25 08:46:07 +00005689></P
5690><DIV
5691CLASS="INFORMALTABLE"
5692><P
5693></P
5694><TABLE
5695BORDER="0"
5696WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005697BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005698CELLSPACING="0"
5699CELLPADDING="4"
5700CLASS="CALSTABLE"
5701><TR
5702><TD
5703WIDTH="20%"
5704ALIGN="RIGHT"
5705VALIGN="TOP"
5706><TT
5707CLASS="PARAMETER"
5708><I
5709>ctxt</I
5710></TT
5711>&nbsp;:</TD
5712><TD
5713WIDTH="80%"
5714ALIGN="LEFT"
5715VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005716> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005717></TR
5718><TR
5719><TD
5720WIDTH="20%"
5721ALIGN="RIGHT"
5722VALIGN="TOP"
5723><I
5724CLASS="EMPHASIS"
5725>Returns</I
5726> :</TD
5727><TD
5728WIDTH="80%"
5729ALIGN="LEFT"
5730VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005731>the value parsed (as an int)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005732></TR
5733></TABLE
5734><P
5735></P
5736></DIV
5737></DIV
5738><HR><DIV
5739CLASS="REFSECT2"
5740><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00005741NAME="AEN8655"
Daniel Veillard35925471999-02-25 08:46:07 +00005742></A
5743><H3
5744><A
5745NAME="XMLPARSEENTITYREF"
5746></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005747>xmlParseEntityRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005748><TABLE
5749BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005750BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005751WIDTH="100%"
5752CELLPADDING="6"
5753><TR
5754><TD
5755><PRE
5756CLASS="PROGRAMLISTING"
5757><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005758HREF="gnome-xml-entities.html#XMLENTITYPTR"
5759>xmlEntityPtr</A
5760> xmlParseEntityRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005761HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5762>xmlParserCtxtPtr</A
5763> ctxt);</PRE
5764></TD
5765></TR
5766></TABLE
5767><P
5768>parse ENTITY references declarations</P
5769><P
5770>[68] EntityRef ::= '&amp;' Name ';'</P
5771><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005772>[ WFC: Entity Declared ]
5773In a document without any DTD, a document with only an internal DTD
5774subset which contains no parameter entity references, or a document
5775with "standalone='yes'", the Name given in the entity reference
5776must match that in an entity declaration, except that well-formed
5777documents need not declare any of the following entities: amp, lt,
5778gt, apos, quot. The declaration of a parameter entity must precede
5779any reference to it. Similarly, the declaration of a general entity
5780must precede any reference to it which appears in a default value in an
5781attribute-list declaration. Note that if entities are declared in the
5782external subset or in external parameter entities, a non-validating
5783processor is not obligated to read and process their declarations;
5784for such documents, the rule that an entity must be declared is a
5785well-formedness constraint only if standalone='yes'.</P
5786><P
5787>[ WFC: Parsed Entity ]
5788An entity reference must not contain the name of an unparsed entity</P
5789><P
Daniel Veillard35925471999-02-25 08:46:07 +00005790></P
5791><DIV
5792CLASS="INFORMALTABLE"
5793><P
5794></P
5795><TABLE
5796BORDER="0"
5797WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005798BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005799CELLSPACING="0"
5800CELLPADDING="4"
5801CLASS="CALSTABLE"
5802><TR
5803><TD
5804WIDTH="20%"
5805ALIGN="RIGHT"
5806VALIGN="TOP"
5807><TT
5808CLASS="PARAMETER"
5809><I
5810>ctxt</I
5811></TT
5812>&nbsp;:</TD
5813><TD
5814WIDTH="80%"
5815ALIGN="LEFT"
5816VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005817> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005818></TR
5819><TR
5820><TD
5821WIDTH="20%"
5822ALIGN="RIGHT"
5823VALIGN="TOP"
5824><I
5825CLASS="EMPHASIS"
5826>Returns</I
5827> :</TD
5828><TD
5829WIDTH="80%"
5830ALIGN="LEFT"
5831VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005832>the xmlEntityPtr if found, or NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005833></TR
5834></TABLE
5835><P
5836></P
5837></DIV
5838></DIV
5839><HR><DIV
5840CLASS="REFSECT2"
5841><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00005842NAME="AEN8679"
Daniel Veillard35925471999-02-25 08:46:07 +00005843></A
5844><H3
5845><A
5846NAME="XMLPARSEREFERENCE"
5847></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005848>xmlParseReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005849><TABLE
5850BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005851BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005852WIDTH="100%"
5853CELLPADDING="6"
5854><TR
5855><TD
5856><PRE
5857CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005858>void xmlParseReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005859HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5860>xmlParserCtxtPtr</A
5861> ctxt);</PRE
5862></TD
5863></TR
5864></TABLE
5865><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00005866>parse and handle entity references in content, depending on the SAX
5867interface, this may end-up in a call to <GTKDOCLINK
5868HREF="CHARACTER"
5869>character</GTKDOCLINK
5870>() if this is a
5871CharRef, a predefined entity, if there is no <GTKDOCLINK
5872HREF="REFERENCE"
5873>reference</GTKDOCLINK
5874>() callback.
5875or if the parser was asked to switch to that mode.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005876><P
5877>[67] Reference ::= EntityRef | CharRef</P
5878><P
5879></P
5880><DIV
5881CLASS="INFORMALTABLE"
5882><P
5883></P
5884><TABLE
5885BORDER="0"
5886WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005887BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005888CELLSPACING="0"
5889CELLPADDING="4"
5890CLASS="CALSTABLE"
5891><TR
5892><TD
5893WIDTH="20%"
5894ALIGN="RIGHT"
5895VALIGN="TOP"
5896><TT
5897CLASS="PARAMETER"
5898><I
5899>ctxt</I
5900></TT
5901>&nbsp;:</TD
5902><TD
5903WIDTH="80%"
5904ALIGN="LEFT"
5905VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005906> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005907></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005908></TABLE
5909><P
5910></P
5911></DIV
5912></DIV
5913><HR><DIV
5914CLASS="REFSECT2"
5915><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00005916NAME="AEN8698"
Daniel Veillard35925471999-02-25 08:46:07 +00005917></A
5918><H3
5919><A
5920NAME="XMLPARSEPEREFERENCE"
5921></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005922>xmlParsePEReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005923><TABLE
5924BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005925BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005926WIDTH="100%"
5927CELLPADDING="6"
5928><TR
5929><TD
5930><PRE
5931CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005932>void xmlParsePEReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005933HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5934>xmlParserCtxtPtr</A
5935> ctxt);</PRE
5936></TD
5937></TR
5938></TABLE
5939><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00005940>parse PEReference declarations
5941The entity content is handled directly by pushing it's content as
5942a new input stream.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005943><P
5944>[69] PEReference ::= '%' Name ';'</P
5945><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005946>[ WFC: No Recursion ]
5947TODO A parsed entity must not contain a recursive
5948reference to itself, either directly or indirectly. </P
5949><P
5950>[ WFC: Entity Declared ]
5951In a document without any DTD, a document with only an internal DTD
5952subset which contains no parameter entity references, or a document
5953with "standalone='yes'", ... ... The declaration of a parameter
5954entity must precede any reference to it...</P
5955><P
5956>[ VC: Entity Declared ]
5957In a document with an external subset or external parameter entities
5958with "standalone='no'", ... ... The declaration of a parameter entity
5959must precede any reference to it...</P
5960><P
5961>[ WFC: In DTD ]
5962Parameter-entity references may only appear in the DTD.
5963NOTE: misleading but this is handled.</P
5964><P
Daniel Veillard35925471999-02-25 08:46:07 +00005965></P
5966><DIV
5967CLASS="INFORMALTABLE"
5968><P
5969></P
5970><TABLE
5971BORDER="0"
5972WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005973BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005974CELLSPACING="0"
5975CELLPADDING="4"
5976CLASS="CALSTABLE"
5977><TR
5978><TD
5979WIDTH="20%"
5980ALIGN="RIGHT"
5981VALIGN="TOP"
5982><TT
5983CLASS="PARAMETER"
5984><I
5985>ctxt</I
5986></TT
5987>&nbsp;:</TD
5988><TD
5989WIDTH="80%"
5990ALIGN="LEFT"
5991VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00005992> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005993></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005994></TABLE
5995><P
5996></P
5997></DIV
5998></DIV
5999><HR><DIV
6000CLASS="REFSECT2"
6001><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00006002NAME="AEN8719"
Daniel Veillard35925471999-02-25 08:46:07 +00006003></A
6004><H3
6005><A
6006NAME="XMLPARSEDOCTYPEDECL"
6007></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006008>xmlParseDocTypeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006009><TABLE
6010BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006011BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006012WIDTH="100%"
6013CELLPADDING="6"
6014><TR
6015><TD
6016><PRE
6017CLASS="PROGRAMLISTING"
6018>void xmlParseDocTypeDecl (<A
6019HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6020>xmlParserCtxtPtr</A
6021> ctxt);</PRE
6022></TD
6023></TR
6024></TABLE
6025><P
6026>parse a DOCTYPE declaration</P
6027><P
6028>[28] doctypedecl ::= '&lt;!DOCTYPE' S Name (S ExternalID)? S?
6029('[' (markupdecl | PEReference | S)* ']' S?)? '&gt;'</P
6030><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006031>[ VC: Root Element Type ]
6032The Name in the document type declaration must match the element
6033type of the root element.</P
6034><P
Daniel Veillard35925471999-02-25 08:46:07 +00006035></P
6036><DIV
6037CLASS="INFORMALTABLE"
6038><P
6039></P
6040><TABLE
6041BORDER="0"
6042WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006043BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006044CELLSPACING="0"
6045CELLPADDING="4"
6046CLASS="CALSTABLE"
6047><TR
6048><TD
6049WIDTH="20%"
6050ALIGN="RIGHT"
6051VALIGN="TOP"
6052><TT
6053CLASS="PARAMETER"
6054><I
6055>ctxt</I
6056></TT
6057>&nbsp;:</TD
6058><TD
6059WIDTH="80%"
6060ALIGN="LEFT"
6061VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006062> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006063></TR
6064></TABLE
6065><P
6066></P
6067></DIV
6068></DIV
6069><HR><DIV
6070CLASS="REFSECT2"
6071><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00006072NAME="AEN8737"
Daniel Veillard35925471999-02-25 08:46:07 +00006073></A
6074><H3
6075><A
6076NAME="XMLPARSEATTRIBUTE"
6077></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006078>xmlParseAttribute ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006079><TABLE
6080BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006081BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006082WIDTH="100%"
6083CELLPADDING="6"
6084><TR
6085><TD
6086><PRE
6087CLASS="PROGRAMLISTING"
6088><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006089HREF="gnome-xml-tree.html#XMLCHAR"
6090>xmlChar</A
6091>* xmlParseAttribute (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006092HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6093>xmlParserCtxtPtr</A
6094> ctxt,
6095 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006096HREF="gnome-xml-tree.html#XMLCHAR"
6097>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006098> **value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00006099></TD
6100></TR
6101></TABLE
6102><P
6103>parse an attribute</P
6104><P
6105>[41] Attribute ::= Name Eq AttValue</P
6106><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006107>[ WFC: No External Entity References ]
6108Attribute values cannot contain direct or indirect entity references
6109to external entities.</P
6110><P
6111>[ WFC: No &lt; in Attribute Values ]
6112The replacement text of any entity referred to directly or indirectly in
6113an attribute value (other than "&amp;lt;") must not contain a &lt;. </P
6114><P
6115>[ VC: Attribute Value Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006116The attribute must have been declared; the value must be of the type
Daniel Veillardb05deb71999-08-10 19:04:08 +00006117declared for it.</P
6118><P
Daniel Veillard35925471999-02-25 08:46:07 +00006119>[25] Eq ::= S? '=' S?</P
6120><P
6121>With namespace:</P
6122><P
6123>[NS 11] Attribute ::= QName Eq AttValue</P
6124><P
6125>Also the case QName == xmlns:??? is handled independently as a namespace
6126definition.</P
6127><P
6128></P
6129><DIV
6130CLASS="INFORMALTABLE"
6131><P
6132></P
6133><TABLE
6134BORDER="0"
6135WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006136BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006137CELLSPACING="0"
6138CELLPADDING="4"
6139CLASS="CALSTABLE"
6140><TR
6141><TD
6142WIDTH="20%"
6143ALIGN="RIGHT"
6144VALIGN="TOP"
6145><TT
6146CLASS="PARAMETER"
6147><I
6148>ctxt</I
6149></TT
6150>&nbsp;:</TD
6151><TD
6152WIDTH="80%"
6153ALIGN="LEFT"
6154VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006155> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006156></TR
6157><TR
6158><TD
6159WIDTH="20%"
6160ALIGN="RIGHT"
6161VALIGN="TOP"
6162><TT
6163CLASS="PARAMETER"
6164><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00006165>value</I
Daniel Veillard35925471999-02-25 08:46:07 +00006166></TT
6167>&nbsp;:</TD
6168><TD
6169WIDTH="80%"
6170ALIGN="LEFT"
6171VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006172> a xmlChar ** used to store the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006173></TR
6174><TR
6175><TD
6176WIDTH="20%"
6177ALIGN="RIGHT"
6178VALIGN="TOP"
6179><I
6180CLASS="EMPHASIS"
6181>Returns</I
6182> :</TD
6183><TD
6184WIDTH="80%"
6185ALIGN="LEFT"
6186VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006187>the attribute name, and the value in *value.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006188></TR
6189></TABLE
6190><P
6191></P
6192></DIV
6193></DIV
6194><HR><DIV
6195CLASS="REFSECT2"
6196><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00006197NAME="AEN8771"
Daniel Veillard35925471999-02-25 08:46:07 +00006198></A
6199><H3
6200><A
6201NAME="XMLPARSESTARTTAG"
6202></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006203>xmlParseStartTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006204><TABLE
6205BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006206BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006207WIDTH="100%"
6208CELLPADDING="6"
6209><TR
6210><TD
6211><PRE
6212CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00006213><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006214HREF="gnome-xml-tree.html#XMLCHAR"
6215>xmlChar</A
6216>* xmlParseStartTag (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006217HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6218>xmlParserCtxtPtr</A
6219> ctxt);</PRE
6220></TD
6221></TR
6222></TABLE
6223><P
6224>parse a start of tag either for rule element or
6225EmptyElement. In both case we don't parse the tag closing chars.</P
6226><P
6227>[40] STag ::= '&lt;' Name (S Attribute)* S? '&gt;'</P
6228><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006229>[ WFC: Unique Att Spec ]
6230No attribute name may appear more than once in the same start-tag or
6231empty-element tag. </P
6232><P
Daniel Veillard35925471999-02-25 08:46:07 +00006233>[44] EmptyElemTag ::= '&lt;' Name (S Attribute)* S? '/&gt;'</P
6234><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006235>[ WFC: Unique Att Spec ]
6236No attribute name may appear more than once in the same start-tag or
6237empty-element tag. </P
6238><P
Daniel Veillard35925471999-02-25 08:46:07 +00006239>With namespace:</P
6240><P
6241>[NS 8] STag ::= '&lt;' QName (S Attribute)* S? '&gt;'</P
6242><P
6243>[NS 10] EmptyElement ::= '&lt;' QName (S Attribute)* S? '/&gt;'</P
6244><P
Daniel Veillard4c3a2031999-11-19 17:46:26 +00006245>Returne the element name parsed</P
6246><P
Daniel Veillard35925471999-02-25 08:46:07 +00006247></P
6248><DIV
6249CLASS="INFORMALTABLE"
6250><P
6251></P
6252><TABLE
6253BORDER="0"
6254WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006255BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006256CELLSPACING="0"
6257CELLPADDING="4"
6258CLASS="CALSTABLE"
6259><TR
6260><TD
6261WIDTH="20%"
6262ALIGN="RIGHT"
6263VALIGN="TOP"
6264><TT
6265CLASS="PARAMETER"
6266><I
6267>ctxt</I
6268></TT
6269>&nbsp;:</TD
6270><TD
6271WIDTH="80%"
6272ALIGN="LEFT"
6273VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006274> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006275></TR
Daniel Veillard14fff061999-06-22 21:49:07 +00006276><TR
6277><TD
6278WIDTH="20%"
6279ALIGN="RIGHT"
6280VALIGN="TOP"
6281><I
6282CLASS="EMPHASIS"
6283>Returns</I
6284> :</TD
6285><TD
6286WIDTH="80%"
6287ALIGN="LEFT"
6288VALIGN="TOP"
Daniel Veillard4c3a2031999-11-19 17:46:26 +00006289>&nbsp;</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006290></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006291></TABLE
6292><P
6293></P
6294></DIV
6295></DIV
6296><HR><DIV
6297CLASS="REFSECT2"
6298><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00006299NAME="AEN8800"
Daniel Veillard35925471999-02-25 08:46:07 +00006300></A
6301><H3
6302><A
6303NAME="XMLPARSEENDTAG"
6304></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006305>xmlParseEndTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006306><TABLE
6307BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006308BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006309WIDTH="100%"
6310CELLPADDING="6"
6311><TR
6312><TD
6313><PRE
6314CLASS="PROGRAMLISTING"
6315>void xmlParseEndTag (<A
6316HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6317>xmlParserCtxtPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +00006318> ctxt,
6319 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006320HREF="gnome-xml-tree.html#XMLCHAR"
6321>xmlChar</A
Daniel Veillard14fff061999-06-22 21:49:07 +00006322> *tagname);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00006323></TD
6324></TR
6325></TABLE
6326><P
6327>parse an end of tag</P
6328><P
6329>[42] ETag ::= '&lt;/' Name S? '&gt;'</P
6330><P
6331>With namespace</P
6332><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00006333>[NS 9] ETag ::= '&lt;/' QName S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00006334><P
6335></P
6336><DIV
6337CLASS="INFORMALTABLE"
6338><P
6339></P
6340><TABLE
6341BORDER="0"
6342WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006343BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006344CELLSPACING="0"
6345CELLPADDING="4"
6346CLASS="CALSTABLE"
6347><TR
6348><TD
6349WIDTH="20%"
6350ALIGN="RIGHT"
6351VALIGN="TOP"
6352><TT
6353CLASS="PARAMETER"
6354><I
6355>ctxt</I
6356></TT
6357>&nbsp;:</TD
6358><TD
6359WIDTH="80%"
6360ALIGN="LEFT"
6361VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006362> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006363></TR
Daniel Veillard14fff061999-06-22 21:49:07 +00006364><TR
6365><TD
6366WIDTH="20%"
6367ALIGN="RIGHT"
6368VALIGN="TOP"
6369><TT
6370CLASS="PARAMETER"
6371><I
6372>tagname</I
6373></TT
6374>&nbsp;:</TD
6375><TD
6376WIDTH="80%"
6377ALIGN="LEFT"
6378VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006379> the tag name as parsed in the opening tag.</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006380></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006381></TABLE
6382><P
6383></P
6384></DIV
6385></DIV
6386><HR><DIV
6387CLASS="REFSECT2"
6388><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00006389NAME="AEN8824"
Daniel Veillard35925471999-02-25 08:46:07 +00006390></A
6391><H3
6392><A
6393NAME="XMLPARSECDSECT"
6394></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006395>xmlParseCDSect ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006396><TABLE
6397BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006398BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006399WIDTH="100%"
6400CELLPADDING="6"
6401><TR
6402><TD
6403><PRE
6404CLASS="PROGRAMLISTING"
6405>void xmlParseCDSect (<A
6406HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6407>xmlParserCtxtPtr</A
6408> ctxt);</PRE
6409></TD
6410></TR
6411></TABLE
6412><P
6413>Parse escaped pure raw content.</P
6414><P
6415>[18] CDSect ::= CDStart CData CDEnd</P
6416><P
6417>[19] CDStart ::= '&lt;![CDATA['</P
6418><P
6419>[20] Data ::= (Char* - (Char* ']]&gt;' Char*))</P
6420><P
6421>[21] CDEnd ::= ']]&gt;'</P
6422><P
6423></P
6424><DIV
6425CLASS="INFORMALTABLE"
6426><P
6427></P
6428><TABLE
6429BORDER="0"
6430WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006431BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006432CELLSPACING="0"
6433CELLPADDING="4"
6434CLASS="CALSTABLE"
6435><TR
6436><TD
6437WIDTH="20%"
6438ALIGN="RIGHT"
6439VALIGN="TOP"
6440><TT
6441CLASS="PARAMETER"
6442><I
6443>ctxt</I
6444></TT
6445>&nbsp;:</TD
6446><TD
6447WIDTH="80%"
6448ALIGN="LEFT"
6449VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006450> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006451></TR
6452></TABLE
6453><P
6454></P
6455></DIV
6456></DIV
6457><HR><DIV
6458CLASS="REFSECT2"
6459><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00006460NAME="AEN8844"
Daniel Veillard35925471999-02-25 08:46:07 +00006461></A
6462><H3
6463><A
6464NAME="XMLPARSECONTENT"
6465></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006466>xmlParseContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006467><TABLE
6468BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006469BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006470WIDTH="100%"
6471CELLPADDING="6"
6472><TR
6473><TD
6474><PRE
6475CLASS="PROGRAMLISTING"
6476>void xmlParseContent (<A
6477HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6478>xmlParserCtxtPtr</A
6479> ctxt);</PRE
6480></TD
6481></TR
6482></TABLE
6483><P
6484>Parse a content:</P
6485><P
6486>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
6487><P
6488></P
6489><DIV
6490CLASS="INFORMALTABLE"
6491><P
6492></P
6493><TABLE
6494BORDER="0"
6495WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006496BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006497CELLSPACING="0"
6498CELLPADDING="4"
6499CLASS="CALSTABLE"
6500><TR
6501><TD
6502WIDTH="20%"
6503ALIGN="RIGHT"
6504VALIGN="TOP"
6505><TT
6506CLASS="PARAMETER"
6507><I
6508>ctxt</I
6509></TT
6510>&nbsp;:</TD
6511><TD
6512WIDTH="80%"
6513ALIGN="LEFT"
6514VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006515> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006516></TR
6517></TABLE
6518><P
6519></P
6520></DIV
6521></DIV
6522><HR><DIV
6523CLASS="REFSECT2"
6524><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00006525NAME="AEN8861"
Daniel Veillard35925471999-02-25 08:46:07 +00006526></A
6527><H3
6528><A
6529NAME="XMLPARSEELEMENT"
6530></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006531>xmlParseElement ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006532><TABLE
6533BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006534BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006535WIDTH="100%"
6536CELLPADDING="6"
6537><TR
6538><TD
6539><PRE
6540CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00006541>void xmlParseElement (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006542HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6543>xmlParserCtxtPtr</A
6544> ctxt);</PRE
6545></TD
6546></TR
6547></TABLE
6548><P
6549>parse an XML element, this is highly recursive</P
6550><P
6551>[39] element ::= EmptyElemTag | STag content ETag</P
6552><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006553>[ WFC: Element Type Match ]
6554The Name in an element's end-tag must match the element type in the
6555start-tag. </P
6556><P
6557>[ VC: Element Valid ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006558An element is valid if there is a declaration matching elementdecl
Daniel Veillardb05deb71999-08-10 19:04:08 +00006559where the Name matches the element type and one of the following holds:
6560- The declaration matches EMPTY and the element has no content.
6561- The declaration matches children and the sequence of child elements
6562belongs to the language generated by the regular expression in the
6563content model, with optional white space (characters matching the
6564nonterminal S) between each pair of child elements.
6565- The declaration matches Mixed and the content consists of character
6566data and child elements whose types match names in the content model.
6567- The declaration matches ANY, and the types of any child elements have
6568been declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006569><P
6570></P
6571><DIV
6572CLASS="INFORMALTABLE"
6573><P
6574></P
6575><TABLE
6576BORDER="0"
6577WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006578BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006579CELLSPACING="0"
6580CELLPADDING="4"
6581CLASS="CALSTABLE"
6582><TR
6583><TD
6584WIDTH="20%"
6585ALIGN="RIGHT"
6586VALIGN="TOP"
6587><TT
6588CLASS="PARAMETER"
6589><I
6590>ctxt</I
6591></TT
6592>&nbsp;:</TD
6593><TD
6594WIDTH="80%"
6595ALIGN="LEFT"
6596VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006597> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006598></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006599></TABLE
6600><P
6601></P
6602></DIV
6603></DIV
6604><HR><DIV
6605CLASS="REFSECT2"
6606><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00006607NAME="AEN8880"
Daniel Veillard35925471999-02-25 08:46:07 +00006608></A
6609><H3
6610><A
6611NAME="XMLPARSEVERSIONNUM"
6612></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006613>xmlParseVersionNum ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006614><TABLE
6615BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006616BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006617WIDTH="100%"
6618CELLPADDING="6"
6619><TR
6620><TD
6621><PRE
6622CLASS="PROGRAMLISTING"
6623><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006624HREF="gnome-xml-tree.html#XMLCHAR"
6625>xmlChar</A
6626>* xmlParseVersionNum (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006627HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6628>xmlParserCtxtPtr</A
6629> ctxt);</PRE
6630></TD
6631></TR
6632></TABLE
6633><P
6634>parse the XML version value.</P
6635><P
6636>[26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</P
6637><P
6638></P
6639><DIV
6640CLASS="INFORMALTABLE"
6641><P
6642></P
6643><TABLE
6644BORDER="0"
6645WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006646BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006647CELLSPACING="0"
6648CELLPADDING="4"
6649CLASS="CALSTABLE"
6650><TR
6651><TD
6652WIDTH="20%"
6653ALIGN="RIGHT"
6654VALIGN="TOP"
6655><TT
6656CLASS="PARAMETER"
6657><I
6658>ctxt</I
6659></TT
6660>&nbsp;:</TD
6661><TD
6662WIDTH="80%"
6663ALIGN="LEFT"
6664VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006665> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006666></TR
6667><TR
6668><TD
6669WIDTH="20%"
6670ALIGN="RIGHT"
6671VALIGN="TOP"
6672><I
6673CLASS="EMPHASIS"
6674>Returns</I
6675> :</TD
6676><TD
6677WIDTH="80%"
6678ALIGN="LEFT"
6679VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006680>the string giving the XML version number, or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006681></TR
6682></TABLE
6683><P
6684></P
6685></DIV
6686></DIV
6687><HR><DIV
6688CLASS="REFSECT2"
6689><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00006690NAME="AEN8902"
Daniel Veillard35925471999-02-25 08:46:07 +00006691></A
6692><H3
6693><A
6694NAME="XMLPARSEVERSIONINFO"
6695></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006696>xmlParseVersionInfo ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006697><TABLE
6698BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006699BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006700WIDTH="100%"
6701CELLPADDING="6"
6702><TR
6703><TD
6704><PRE
6705CLASS="PROGRAMLISTING"
6706><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006707HREF="gnome-xml-tree.html#XMLCHAR"
6708>xmlChar</A
6709>* xmlParseVersionInfo (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006710HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6711>xmlParserCtxtPtr</A
6712> ctxt);</PRE
6713></TD
6714></TR
6715></TABLE
6716><P
6717>parse the XML version.</P
6718><P
6719>[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")</P
6720><P
6721>[25] Eq ::= S? '=' S?</P
6722><P
6723></P
6724><DIV
6725CLASS="INFORMALTABLE"
6726><P
6727></P
6728><TABLE
6729BORDER="0"
6730WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006731BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006732CELLSPACING="0"
6733CELLPADDING="4"
6734CLASS="CALSTABLE"
6735><TR
6736><TD
6737WIDTH="20%"
6738ALIGN="RIGHT"
6739VALIGN="TOP"
6740><TT
6741CLASS="PARAMETER"
6742><I
6743>ctxt</I
6744></TT
6745>&nbsp;:</TD
6746><TD
6747WIDTH="80%"
6748ALIGN="LEFT"
6749VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006750> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006751></TR
6752><TR
6753><TD
6754WIDTH="20%"
6755ALIGN="RIGHT"
6756VALIGN="TOP"
6757><I
6758CLASS="EMPHASIS"
6759>Returns</I
6760> :</TD
6761><TD
6762WIDTH="80%"
6763ALIGN="LEFT"
6764VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006765>the version string, e.g. "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006766></TR
6767></TABLE
6768><P
6769></P
6770></DIV
6771></DIV
6772><HR><DIV
6773CLASS="REFSECT2"
6774><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00006775NAME="AEN8925"
Daniel Veillard35925471999-02-25 08:46:07 +00006776></A
6777><H3
6778><A
6779NAME="XMLPARSEENCNAME"
6780></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006781>xmlParseEncName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006782><TABLE
6783BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006784BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006785WIDTH="100%"
6786CELLPADDING="6"
6787><TR
6788><TD
6789><PRE
6790CLASS="PROGRAMLISTING"
6791><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006792HREF="gnome-xml-tree.html#XMLCHAR"
6793>xmlChar</A
6794>* xmlParseEncName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006795HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6796>xmlParserCtxtPtr</A
6797> ctxt);</PRE
6798></TD
6799></TR
6800></TABLE
6801><P
6802>parse the XML encoding name</P
6803><P
6804>[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</P
6805><P
6806></P
6807><DIV
6808CLASS="INFORMALTABLE"
6809><P
6810></P
6811><TABLE
6812BORDER="0"
6813WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006814BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006815CELLSPACING="0"
6816CELLPADDING="4"
6817CLASS="CALSTABLE"
6818><TR
6819><TD
6820WIDTH="20%"
6821ALIGN="RIGHT"
6822VALIGN="TOP"
6823><TT
6824CLASS="PARAMETER"
6825><I
6826>ctxt</I
6827></TT
6828>&nbsp;:</TD
6829><TD
6830WIDTH="80%"
6831ALIGN="LEFT"
6832VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006833> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006834></TR
6835><TR
6836><TD
6837WIDTH="20%"
6838ALIGN="RIGHT"
6839VALIGN="TOP"
6840><I
6841CLASS="EMPHASIS"
6842>Returns</I
6843> :</TD
6844><TD
6845WIDTH="80%"
6846ALIGN="LEFT"
6847VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006848>the encoding name value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006849></TR
6850></TABLE
6851><P
6852></P
6853></DIV
6854></DIV
6855><HR><DIV
6856CLASS="REFSECT2"
6857><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00006858NAME="AEN8947"
Daniel Veillard35925471999-02-25 08:46:07 +00006859></A
6860><H3
6861><A
6862NAME="XMLPARSEENCODINGDECL"
6863></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006864>xmlParseEncodingDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006865><TABLE
6866BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006867BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006868WIDTH="100%"
6869CELLPADDING="6"
6870><TR
6871><TD
6872><PRE
6873CLASS="PROGRAMLISTING"
6874><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006875HREF="gnome-xml-tree.html#XMLCHAR"
6876>xmlChar</A
6877>* xmlParseEncodingDecl (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006878HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6879>xmlParserCtxtPtr</A
6880> ctxt);</PRE
6881></TD
6882></TR
6883></TABLE
6884><P
6885>parse the XML encoding declaration</P
6886><P
6887>[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")</P
6888><P
6889>TODO: this should setup the conversion filters.</P
6890><P
6891></P
6892><DIV
6893CLASS="INFORMALTABLE"
6894><P
6895></P
6896><TABLE
6897BORDER="0"
6898WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006899BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006900CELLSPACING="0"
6901CELLPADDING="4"
6902CLASS="CALSTABLE"
6903><TR
6904><TD
6905WIDTH="20%"
6906ALIGN="RIGHT"
6907VALIGN="TOP"
6908><TT
6909CLASS="PARAMETER"
6910><I
6911>ctxt</I
6912></TT
6913>&nbsp;:</TD
6914><TD
6915WIDTH="80%"
6916ALIGN="LEFT"
6917VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006918> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006919></TR
6920><TR
6921><TD
6922WIDTH="20%"
6923ALIGN="RIGHT"
6924VALIGN="TOP"
6925><I
6926CLASS="EMPHASIS"
6927>Returns</I
6928> :</TD
6929><TD
6930WIDTH="80%"
6931ALIGN="LEFT"
6932VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00006933>the encoding value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006934></TR
6935></TABLE
6936><P
6937></P
6938></DIV
6939></DIV
6940><HR><DIV
6941CLASS="REFSECT2"
6942><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00006943NAME="AEN8970"
Daniel Veillard35925471999-02-25 08:46:07 +00006944></A
6945><H3
6946><A
6947NAME="XMLPARSESDDECL"
6948></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006949>xmlParseSDDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006950><TABLE
6951BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006952BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006953WIDTH="100%"
6954CELLPADDING="6"
6955><TR
6956><TD
6957><PRE
6958CLASS="PROGRAMLISTING"
6959>int xmlParseSDDecl (<A
6960HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6961>xmlParserCtxtPtr</A
6962> ctxt);</PRE
6963></TD
6964></TR
6965></TABLE
6966><P
6967>parse the XML standalone declaration</P
6968><P
6969>[32] SDDecl ::= S 'standalone' Eq
Daniel Veillardb05deb71999-08-10 19:04:08 +00006970(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"')) </P
6971><P
6972>[ VC: Standalone Document Declaration ]
6973TODO The standalone document declaration must have the value "no"
6974if any external markup declarations contain declarations of:
6975- attributes with default values, if elements to which these
6976attributes apply appear in the document without specifications
6977of values for these attributes, or
6978- entities (other than amp, lt, gt, apos, quot), if references
6979to those entities appear in the document, or
6980- attributes with values subject to normalization, where the
6981attribute appears in the document with a value which will change
6982as a result of normalization, or
6983- element types with element content, if white space occurs directly
6984within any instance of those types.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006985><P
6986></P
6987><DIV
6988CLASS="INFORMALTABLE"
6989><P
6990></P
6991><TABLE
6992BORDER="0"
6993WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006994BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006995CELLSPACING="0"
6996CELLPADDING="4"
6997CLASS="CALSTABLE"
6998><TR
6999><TD
7000WIDTH="20%"
7001ALIGN="RIGHT"
7002VALIGN="TOP"
7003><TT
7004CLASS="PARAMETER"
7005><I
7006>ctxt</I
7007></TT
7008>&nbsp;:</TD
7009><TD
7010WIDTH="80%"
7011ALIGN="LEFT"
7012VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007013> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007014></TR
7015><TR
7016><TD
7017WIDTH="20%"
7018ALIGN="RIGHT"
7019VALIGN="TOP"
7020><I
7021CLASS="EMPHASIS"
7022>Returns</I
7023> :</TD
7024><TD
7025WIDTH="80%"
7026ALIGN="LEFT"
7027VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007028>1 if standalone, 0 otherwise</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007029></TR
7030></TABLE
7031><P
7032></P
7033></DIV
7034></DIV
7035><HR><DIV
7036CLASS="REFSECT2"
7037><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00007038NAME="AEN8992"
Daniel Veillard35925471999-02-25 08:46:07 +00007039></A
7040><H3
7041><A
7042NAME="XMLPARSEXMLDECL"
7043></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007044>xmlParseXMLDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007045><TABLE
7046BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007047BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007048WIDTH="100%"
7049CELLPADDING="6"
7050><TR
7051><TD
7052><PRE
7053CLASS="PROGRAMLISTING"
7054>void xmlParseXMLDecl (<A
7055HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7056>xmlParserCtxtPtr</A
7057> ctxt);</PRE
7058></TD
7059></TR
7060></TABLE
7061><P
7062>parse an XML declaration header</P
7063><P
7064>[23] XMLDecl ::= '&lt;?xml' VersionInfo EncodingDecl? SDDecl? S? '?&gt;'</P
7065><P
7066></P
7067><DIV
7068CLASS="INFORMALTABLE"
7069><P
7070></P
7071><TABLE
7072BORDER="0"
7073WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007074BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007075CELLSPACING="0"
7076CELLPADDING="4"
7077CLASS="CALSTABLE"
7078><TR
7079><TD
7080WIDTH="20%"
7081ALIGN="RIGHT"
7082VALIGN="TOP"
7083><TT
7084CLASS="PARAMETER"
7085><I
7086>ctxt</I
7087></TT
7088>&nbsp;:</TD
7089><TD
7090WIDTH="80%"
7091ALIGN="LEFT"
7092VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007093> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007094></TR
7095></TABLE
7096><P
7097></P
7098></DIV
7099></DIV
7100><HR><DIV
7101CLASS="REFSECT2"
7102><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00007103NAME="AEN9009"
Daniel Veillard35925471999-02-25 08:46:07 +00007104></A
7105><H3
7106><A
7107NAME="XMLPARSEMISC"
7108></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007109>xmlParseMisc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007110><TABLE
7111BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007112BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007113WIDTH="100%"
7114CELLPADDING="6"
7115><TR
7116><TD
7117><PRE
7118CLASS="PROGRAMLISTING"
7119>void xmlParseMisc (<A
7120HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7121>xmlParserCtxtPtr</A
7122> ctxt);</PRE
7123></TD
7124></TR
7125></TABLE
7126><P
7127>parse an XML Misc* optionnal field.</P
7128><P
7129>[27] Misc ::= Comment | PI | S</P
7130><P
7131></P
7132><DIV
7133CLASS="INFORMALTABLE"
7134><P
7135></P
7136><TABLE
7137BORDER="0"
7138WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007139BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007140CELLSPACING="0"
7141CELLPADDING="4"
7142CLASS="CALSTABLE"
7143><TR
7144><TD
7145WIDTH="20%"
7146ALIGN="RIGHT"
7147VALIGN="TOP"
7148><TT
7149CLASS="PARAMETER"
7150><I
7151>ctxt</I
7152></TT
7153>&nbsp;:</TD
7154><TD
7155WIDTH="80%"
7156ALIGN="LEFT"
7157VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007158> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007159></TR
7160></TABLE
7161><P
7162></P
7163></DIV
7164></DIV
Daniel Veillard011b63c1999-06-02 17:44:04 +00007165><HR><DIV
7166CLASS="REFSECT2"
7167><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00007168NAME="AEN9026"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007169></A
7170><H3
7171><A
7172NAME="XMLPARSEEXTERNALSUBSET"
7173></A
7174>xmlParseExternalSubset ()</H3
7175><TABLE
7176BORDER="0"
7177BGCOLOR="#D6E8FF"
7178WIDTH="100%"
7179CELLPADDING="6"
7180><TR
7181><TD
7182><PRE
7183CLASS="PROGRAMLISTING"
7184>void xmlParseExternalSubset (<A
7185HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7186>xmlParserCtxtPtr</A
7187> ctxt,
7188 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007189HREF="gnome-xml-tree.html#XMLCHAR"
7190>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007191> *ExternalID,
7192 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007193HREF="gnome-xml-tree.html#XMLCHAR"
7194>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007195> *SystemID);</PRE
7196></TD
7197></TR
7198></TABLE
7199><P
7200>parse Markup declarations from an external subset</P
7201><P
7202>[30] extSubset ::= textDecl? extSubsetDecl</P
7203><P
7204>[31] extSubsetDecl ::= (markupdecl | conditionalSect | PEReference | S) *</P
7205><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007206></P
7207><DIV
7208CLASS="INFORMALTABLE"
7209><P
7210></P
7211><TABLE
7212BORDER="0"
7213WIDTH="100%"
7214BGCOLOR="#FFD0D0"
7215CELLSPACING="0"
7216CELLPADDING="4"
7217CLASS="CALSTABLE"
7218><TR
7219><TD
7220WIDTH="20%"
7221ALIGN="RIGHT"
7222VALIGN="TOP"
7223><TT
7224CLASS="PARAMETER"
7225><I
7226>ctxt</I
7227></TT
7228>&nbsp;:</TD
7229><TD
7230WIDTH="80%"
7231ALIGN="LEFT"
7232VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007233> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007234></TR
7235><TR
7236><TD
7237WIDTH="20%"
7238ALIGN="RIGHT"
7239VALIGN="TOP"
7240><TT
7241CLASS="PARAMETER"
7242><I
7243>ExternalID</I
7244></TT
7245>&nbsp;:</TD
7246><TD
7247WIDTH="80%"
7248ALIGN="LEFT"
7249VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007250> the external identifier</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007251></TR
7252><TR
7253><TD
7254WIDTH="20%"
7255ALIGN="RIGHT"
7256VALIGN="TOP"
7257><TT
7258CLASS="PARAMETER"
7259><I
7260>SystemID</I
7261></TT
7262>&nbsp;:</TD
7263><TD
7264WIDTH="80%"
7265ALIGN="LEFT"
7266VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007267> the system identifier (or URL)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007268></TR
7269></TABLE
7270><P
7271></P
7272></DIV
7273></DIV
7274><HR><DIV
7275CLASS="REFSECT2"
7276><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00007277NAME="AEN9054"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007278></A
7279><H3
7280><A
7281NAME="XML-SUBSTITUTE-NONE"
7282></A
7283>XML_SUBSTITUTE_NONE</H3
7284><TABLE
7285BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007286BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007287WIDTH="100%"
7288CELLPADDING="6"
7289><TR
7290><TD
7291><PRE
7292CLASS="PROGRAMLISTING"
Daniel Veillard35008381999-10-25 13:15:52 +00007293>#define XML_SUBSTITUTE_NONE 0</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007294></TD
7295></TR
7296></TABLE
7297><P
7298></P
7299></DIV
7300><HR><DIV
7301CLASS="REFSECT2"
7302><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00007303NAME="AEN9059"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007304></A
7305><H3
7306><A
7307NAME="XML-SUBSTITUTE-REF"
7308></A
7309>XML_SUBSTITUTE_REF</H3
7310><TABLE
7311BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007312BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007313WIDTH="100%"
7314CELLPADDING="6"
7315><TR
7316><TD
7317><PRE
7318CLASS="PROGRAMLISTING"
Daniel Veillard35008381999-10-25 13:15:52 +00007319>#define XML_SUBSTITUTE_REF 1</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007320></TD
7321></TR
7322></TABLE
7323><P
7324></P
7325></DIV
7326><HR><DIV
7327CLASS="REFSECT2"
7328><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00007329NAME="AEN9064"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007330></A
7331><H3
7332><A
7333NAME="XML-SUBSTITUTE-PEREF"
7334></A
7335>XML_SUBSTITUTE_PEREF</H3
7336><TABLE
7337BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007338BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007339WIDTH="100%"
7340CELLPADDING="6"
7341><TR
7342><TD
7343><PRE
7344CLASS="PROGRAMLISTING"
Daniel Veillard35008381999-10-25 13:15:52 +00007345>#define XML_SUBSTITUTE_PEREF 2</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007346></TD
7347></TR
7348></TABLE
7349><P
7350></P
7351></DIV
7352><HR><DIV
7353CLASS="REFSECT2"
7354><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00007355NAME="AEN9069"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007356></A
7357><H3
7358><A
7359NAME="XML-SUBSTITUTE-BOTH"
7360></A
7361>XML_SUBSTITUTE_BOTH</H3
7362><TABLE
7363BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007364BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007365WIDTH="100%"
7366CELLPADDING="6"
7367><TR
7368><TD
7369><PRE
7370CLASS="PROGRAMLISTING"
Daniel Veillard35008381999-10-25 13:15:52 +00007371>#define XML_SUBSTITUTE_BOTH 3</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007372></TD
7373></TR
7374></TABLE
7375><P
7376></P
7377></DIV
7378><HR><DIV
7379CLASS="REFSECT2"
7380><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00007381NAME="AEN9074"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007382></A
7383><H3
7384><A
7385NAME="XMLDECODEENTITIES"
7386></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007387>xmlDecodeEntities ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00007388><TABLE
7389BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007390BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007391WIDTH="100%"
7392CELLPADDING="6"
7393><TR
7394><TD
7395><PRE
7396CLASS="PROGRAMLISTING"
7397><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007398HREF="gnome-xml-tree.html#XMLCHAR"
7399>xmlChar</A
7400>* xmlDecodeEntities (<A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007401HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7402>xmlParserCtxtPtr</A
7403> ctxt,
7404 int len,
7405 int what,
7406 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007407HREF="gnome-xml-tree.html#XMLCHAR"
7408>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007409> end,
7410 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007411HREF="gnome-xml-tree.html#XMLCHAR"
7412>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007413> end2,
7414 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007415HREF="gnome-xml-tree.html#XMLCHAR"
7416>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007417> end3);</PRE
7418></TD
7419></TR
7420></TABLE
7421><P
7422>[67] Reference ::= EntityRef | CharRef</P
7423><P
7424>[69] PEReference ::= '%' Name ';'</P
7425><P
7426></P
7427><DIV
7428CLASS="INFORMALTABLE"
7429><P
7430></P
7431><TABLE
7432BORDER="0"
7433WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007434BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007435CELLSPACING="0"
7436CELLPADDING="4"
7437CLASS="CALSTABLE"
7438><TR
7439><TD
7440WIDTH="20%"
7441ALIGN="RIGHT"
7442VALIGN="TOP"
7443><TT
7444CLASS="PARAMETER"
7445><I
7446>ctxt</I
7447></TT
7448>&nbsp;:</TD
7449><TD
7450WIDTH="80%"
7451ALIGN="LEFT"
7452VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007453> the parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007454></TR
7455><TR
7456><TD
7457WIDTH="20%"
7458ALIGN="RIGHT"
7459VALIGN="TOP"
7460><TT
7461CLASS="PARAMETER"
7462><I
7463>len</I
7464></TT
7465>&nbsp;:</TD
7466><TD
7467WIDTH="80%"
7468ALIGN="LEFT"
7469VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007470> the len to decode (in bytes !), -1 for no size limit</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007471></TR
7472><TR
7473><TD
7474WIDTH="20%"
7475ALIGN="RIGHT"
7476VALIGN="TOP"
7477><TT
7478CLASS="PARAMETER"
7479><I
7480>what</I
7481></TT
7482>&nbsp;:</TD
7483><TD
7484WIDTH="80%"
7485ALIGN="LEFT"
7486VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007487> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007488></TR
7489><TR
7490><TD
7491WIDTH="20%"
7492ALIGN="RIGHT"
7493VALIGN="TOP"
7494><TT
7495CLASS="PARAMETER"
7496><I
7497>end</I
7498></TT
7499>&nbsp;:</TD
7500><TD
7501WIDTH="80%"
7502ALIGN="LEFT"
7503VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007504> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007505></TR
7506><TR
7507><TD
7508WIDTH="20%"
7509ALIGN="RIGHT"
7510VALIGN="TOP"
7511><TT
7512CLASS="PARAMETER"
7513><I
7514>end2</I
7515></TT
7516>&nbsp;:</TD
7517><TD
7518WIDTH="80%"
7519ALIGN="LEFT"
7520VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007521> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007522></TR
7523><TR
7524><TD
7525WIDTH="20%"
7526ALIGN="RIGHT"
7527VALIGN="TOP"
7528><TT
7529CLASS="PARAMETER"
7530><I
7531>end3</I
7532></TT
7533>&nbsp;:</TD
7534><TD
7535WIDTH="80%"
7536ALIGN="LEFT"
7537VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007538> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007539></TR
7540><TR
7541><TD
7542WIDTH="20%"
7543ALIGN="RIGHT"
7544VALIGN="TOP"
7545><I
7546CLASS="EMPHASIS"
7547>Returns</I
7548> :</TD
7549><TD
7550WIDTH="80%"
7551ALIGN="LEFT"
7552VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +00007553>A newly allocated string with the substitution done. The caller
7554must deallocate it !</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007555></TR
7556></TABLE
7557><P
7558></P
7559></DIV
7560></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +00007561><HR><DIV
7562CLASS="REFSECT2"
7563><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00007564NAME="AEN9119"
Daniel Veillard14fff061999-06-22 21:49:07 +00007565></A
7566><H3
7567><A
7568NAME="NODEPUSH"
7569></A
7570>nodePush ()</H3
7571><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00007572BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007573BGCOLOR="#D6E8FF"
7574WIDTH="100%"
7575CELLPADDING="6"
Daniel Veillard35925471999-02-25 08:46:07 +00007576><TR
7577><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007578><PRE
7579CLASS="PROGRAMLISTING"
7580>int nodePush (<A
7581HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7582>xmlParserCtxtPtr</A
7583> ctxt,
7584 <A
7585HREF="gnome-xml-tree.html#XMLNODEPTR"
7586>xmlNodePtr</A
7587> value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00007588></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007589></TR
7590></TABLE
7591><P
7592></P
7593><DIV
7594CLASS="INFORMALTABLE"
7595><P
7596></P
7597><TABLE
7598BORDER="0"
7599WIDTH="100%"
7600BGCOLOR="#FFD0D0"
7601CELLSPACING="0"
7602CELLPADDING="4"
7603CLASS="CALSTABLE"
7604><TR
Daniel Veillard35925471999-02-25 08:46:07 +00007605><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007606WIDTH="20%"
7607ALIGN="RIGHT"
7608VALIGN="TOP"
7609><TT
7610CLASS="PARAMETER"
7611><I
7612>ctxt</I
7613></TT
7614>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007615><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007616WIDTH="80%"
7617ALIGN="LEFT"
7618VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00007619>&nbsp;</TD
7620></TR
7621><TR
7622><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007623WIDTH="20%"
7624ALIGN="RIGHT"
7625VALIGN="TOP"
7626><TT
7627CLASS="PARAMETER"
7628><I
7629>value</I
7630></TT
7631>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007632><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007633WIDTH="80%"
7634ALIGN="LEFT"
7635VALIGN="TOP"
7636>&nbsp;</TD
7637></TR
7638><TR
7639><TD
7640WIDTH="20%"
7641ALIGN="RIGHT"
7642VALIGN="TOP"
7643><I
7644CLASS="EMPHASIS"
7645>Returns</I
7646> :</TD
7647><TD
7648WIDTH="80%"
7649ALIGN="LEFT"
7650VALIGN="TOP"
7651>&nbsp;</TD
7652></TR
7653></TABLE
7654><P
7655></P
7656></DIV
7657></DIV
7658><HR><DIV
7659CLASS="REFSECT2"
Daniel Veillard35925471999-02-25 08:46:07 +00007660><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00007661NAME="AEN9143"
Daniel Veillard14fff061999-06-22 21:49:07 +00007662></A
7663><H3
7664><A
7665NAME="NODEPOP"
7666></A
7667>nodePop ()</H3
7668><TABLE
7669BORDER="0"
7670BGCOLOR="#D6E8FF"
7671WIDTH="100%"
7672CELLPADDING="6"
7673><TR
7674><TD
7675><PRE
7676CLASS="PROGRAMLISTING"
7677><A
7678HREF="gnome-xml-tree.html#XMLNODEPTR"
7679>xmlNodePtr</A
7680> nodePop (<A
7681HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7682>xmlParserCtxtPtr</A
7683> ctxt);</PRE
7684></TD
7685></TR
7686></TABLE
7687><P
7688></P
7689><DIV
7690CLASS="INFORMALTABLE"
7691><P
7692></P
7693><TABLE
7694BORDER="0"
7695WIDTH="100%"
7696BGCOLOR="#FFD0D0"
7697CELLSPACING="0"
7698CELLPADDING="4"
7699CLASS="CALSTABLE"
7700><TR
7701><TD
7702WIDTH="20%"
7703ALIGN="RIGHT"
7704VALIGN="TOP"
7705><TT
7706CLASS="PARAMETER"
7707><I
7708>ctxt</I
7709></TT
7710>&nbsp;:</TD
7711><TD
7712WIDTH="80%"
7713ALIGN="LEFT"
7714VALIGN="TOP"
7715>&nbsp;</TD
7716></TR
7717><TR
7718><TD
7719WIDTH="20%"
7720ALIGN="RIGHT"
7721VALIGN="TOP"
7722><I
7723CLASS="EMPHASIS"
7724>Returns</I
7725> :</TD
7726><TD
7727WIDTH="80%"
7728ALIGN="LEFT"
7729VALIGN="TOP"
7730>&nbsp;</TD
7731></TR
7732></TABLE
7733><P
7734></P
7735></DIV
7736></DIV
7737><HR><DIV
7738CLASS="REFSECT2"
7739><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00007740NAME="AEN9163"
Daniel Veillard14fff061999-06-22 21:49:07 +00007741></A
7742><H3
7743><A
7744NAME="INPUTPUSH"
7745></A
7746>inputPush ()</H3
7747><TABLE
7748BORDER="0"
7749BGCOLOR="#D6E8FF"
7750WIDTH="100%"
7751CELLPADDING="6"
7752><TR
7753><TD
7754><PRE
7755CLASS="PROGRAMLISTING"
7756>int inputPush (<A
7757HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7758>xmlParserCtxtPtr</A
7759> ctxt,
7760 <A
7761HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
7762>xmlParserInputPtr</A
7763> value);</PRE
7764></TD
7765></TR
7766></TABLE
7767><P
7768></P
7769><DIV
7770CLASS="INFORMALTABLE"
7771><P
7772></P
7773><TABLE
7774BORDER="0"
7775WIDTH="100%"
7776BGCOLOR="#FFD0D0"
7777CELLSPACING="0"
7778CELLPADDING="4"
7779CLASS="CALSTABLE"
7780><TR
7781><TD
7782WIDTH="20%"
7783ALIGN="RIGHT"
7784VALIGN="TOP"
7785><TT
7786CLASS="PARAMETER"
7787><I
7788>ctxt</I
7789></TT
7790>&nbsp;:</TD
7791><TD
7792WIDTH="80%"
7793ALIGN="LEFT"
7794VALIGN="TOP"
7795>&nbsp;</TD
7796></TR
7797><TR
7798><TD
7799WIDTH="20%"
7800ALIGN="RIGHT"
7801VALIGN="TOP"
7802><TT
7803CLASS="PARAMETER"
7804><I
7805>value</I
7806></TT
7807>&nbsp;:</TD
7808><TD
7809WIDTH="80%"
7810ALIGN="LEFT"
7811VALIGN="TOP"
7812>&nbsp;</TD
7813></TR
7814><TR
7815><TD
7816WIDTH="20%"
7817ALIGN="RIGHT"
7818VALIGN="TOP"
7819><I
7820CLASS="EMPHASIS"
7821>Returns</I
7822> :</TD
7823><TD
7824WIDTH="80%"
7825ALIGN="LEFT"
7826VALIGN="TOP"
7827>&nbsp;</TD
7828></TR
7829></TABLE
7830><P
7831></P
7832></DIV
7833></DIV
7834><HR><DIV
7835CLASS="REFSECT2"
7836><A
Daniel Veillard4c3a2031999-11-19 17:46:26 +00007837NAME="AEN9187"
Daniel Veillard14fff061999-06-22 21:49:07 +00007838></A
7839><H3
7840><A
7841NAME="INPUTPOP"
7842></A
7843>inputPop ()</H3
7844><TABLE
7845BORDER="0"
7846BGCOLOR="#D6E8FF"
7847WIDTH="100%"
7848CELLPADDING="6"
7849><TR
7850><TD
7851><PRE
7852CLASS="PROGRAMLISTING"
7853><A
7854HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
7855>xmlParserInputPtr</A
7856> inputPop (<A
7857HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7858>xmlParserCtxtPtr</A
7859> ctxt);</PRE
7860></TD
7861></TR
7862></TABLE
7863><P
7864></P
7865><DIV
7866CLASS="INFORMALTABLE"
7867><P
7868></P
7869><TABLE
7870BORDER="0"
7871WIDTH="100%"
7872BGCOLOR="#FFD0D0"
7873CELLSPACING="0"
7874CELLPADDING="4"
7875CLASS="CALSTABLE"
7876><TR
7877><TD
7878WIDTH="20%"
7879ALIGN="RIGHT"
7880VALIGN="TOP"
7881><TT
7882CLASS="PARAMETER"
7883><I
7884>ctxt</I
7885></TT
7886>&nbsp;:</TD
7887><TD
7888WIDTH="80%"
7889ALIGN="LEFT"
7890VALIGN="TOP"
7891>&nbsp;</TD
7892></TR
7893><TR
7894><TD
7895WIDTH="20%"
7896ALIGN="RIGHT"
7897VALIGN="TOP"
7898><I
7899CLASS="EMPHASIS"
7900>Returns</I
7901> :</TD
7902><TD
7903WIDTH="80%"
7904ALIGN="LEFT"
7905VALIGN="TOP"
7906>&nbsp;</TD
7907></TR
7908></TABLE
7909><P
7910></P
7911></DIV
7912></DIV
7913></DIV
7914><DIV
7915CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00007916><BR
7917CLEAR="all"><BR><TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +00007918WIDTH="100%"
7919BORDER="0"
7920BGCOLOR="#000000"
7921CELLPADDING="1"
7922CELLSPACING="0"
7923><TR
7924><TD
7925WIDTH="25%"
7926BGCOLOR="#C00000"
7927ALIGN="left"
7928><A
Daniel Veillard35008381999-10-25 13:15:52 +00007929HREF="gnome-xml-nanohttp.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007930><FONT
7931COLOR="#FFFFFF"
7932SIZE="3"
7933><B
7934>&#60;&#60;&#60; Previous Page</B
7935></FONT
7936></A
Daniel Veillard35925471999-02-25 08:46:07 +00007937></TD
7938><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007939WIDTH="25%"
7940BGCOLOR="#0000C0"
7941ALIGN="center"
7942><FONT
7943COLOR="#FFFFFF"
7944SIZE="3"
7945><B
7946><A
7947HREF="book1.html"
7948><FONT
7949COLOR="#FFFFFF"
7950SIZE="3"
7951><B
7952>Home</B
7953></FONT
7954></A
7955></B
7956></FONT
7957></TD
7958><TD
7959WIDTH="25%"
7960BGCOLOR="#00C000"
7961ALIGN="center"
7962><FONT
7963COLOR="#FFFFFF"
7964SIZE="3"
7965><B
7966><A
Daniel Veillard35008381999-10-25 13:15:52 +00007967HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00007968><FONT
7969COLOR="#FFFFFF"
7970SIZE="3"
7971><B
7972>Up</B
7973></FONT
7974></A
7975></B
7976></FONT
7977></TD
7978><TD
7979WIDTH="25%"
7980BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00007981ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00007982><A
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007983HREF="gnome-xml-xmlmemory.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00007984><FONT
7985COLOR="#FFFFFF"
7986SIZE="3"
7987><B
7988>Next Page &#62;&#62;&#62;</B
7989></FONT
7990></A
7991></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007992></TR
7993><TR
7994><TD
7995COLSPAN="2"
7996ALIGN="left"
7997><FONT
7998COLOR="#FFFFFF"
7999SIZE="3"
8000><B
Daniel Veillard35008381999-10-25 13:15:52 +00008001>nanohttp</B
Daniel Veillard14fff061999-06-22 21:49:07 +00008002></FONT
8003></TD
8004><TD
8005COLSPAN="2"
8006ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00008007><FONT
8008COLOR="#FFFFFF"
8009SIZE="3"
8010><B
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00008011>xmlmemory</B
Daniel Veillard1566d3a1999-07-15 14:24:29 +00008012></FONT
8013></TD
Daniel Veillard35925471999-02-25 08:46:07 +00008014></TR
8015></TABLE
8016></DIV
8017></BODY
8018></HTML
8019>