blob: eb3865ef1f5976aa7ab18cdb5a117dea6f6b9e2f [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>parserInternals</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +00008REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
Daniel Veillard35008381999-10-25 13:15:52 +000012TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
Daniel Veillard35925471999-02-25 08:46:07 +000014REL="PREVIOUS"
Daniel Veillard294cbca1999-12-03 13:19:09 +000015TITLE="xmlIO"
16HREF="gnome-xml-xmlio.html"><LINK
Daniel Veillard1566d3a1999-07-15 14:24:29 +000017REL="NEXT"
Daniel Veillard294cbca1999-12-03 13:19:09 +000018TITLE="encoding"
19HREF="gnome-xml-encoding.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000020><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
23><DIV
24CLASS="NAVHEADER"
25><TABLE
26WIDTH="100%"
27BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000028BGCOLOR="#000000"
29CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000030CELLSPACING="0"
31><TR
32><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000033COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000034ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000035><FONT
36COLOR="#FFFFFF"
37SIZE="5"
38>Gnome XML Library Reference Manual</FONT
39></TH
Daniel Veillard35925471999-02-25 08:46:07 +000040></TR
41><TR
42><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000043WIDTH="25%"
44BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000045ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000046><A
Daniel Veillard294cbca1999-12-03 13:19:09 +000047HREF="gnome-xml-xmlio.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000048><FONT
49COLOR="#FFFFFF"
50SIZE="3"
51><B
52>&#60;&#60;&#60; Previous Page</B
53></FONT
54></A
Daniel Veillard35925471999-02-25 08:46:07 +000055></TD
56><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000057WIDTH="25%"
58BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000059ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000060><FONT
61COLOR="#FFFFFF"
62SIZE="3"
63><B
64><A
65HREF="book1.html"
66><FONT
67COLOR="#FFFFFF"
68SIZE="3"
69><B
70>Home</B
71></FONT
72></A
73></B
74></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000075></TD
76><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000077WIDTH="25%"
78BGCOLOR="#00C000"
79ALIGN="center"
80><FONT
81COLOR="#FFFFFF"
82SIZE="3"
83><B
84><A
Daniel Veillard35008381999-10-25 13:15:52 +000085HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000086><FONT
87COLOR="#FFFFFF"
88SIZE="3"
89><B
90>Up</B
91></FONT
92></A
93></B
94></FONT
95></TD
96><TD
97WIDTH="25%"
98BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000099ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000100><A
Daniel Veillard294cbca1999-12-03 13:19:09 +0000101HREF="gnome-xml-encoding.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000102><FONT
103COLOR="#FFFFFF"
104SIZE="3"
105><B
106>Next Page &#62;&#62;&#62;</B
107></FONT
108></A
109></TD
Daniel Veillard35925471999-02-25 08:46:07 +0000110></TR
111></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000112></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000113><H1
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000114>parserInternals</H1
Daniel Veillard35925471999-02-25 08:46:07 +0000115><DIV
116CLASS="REFNAMEDIV"
117><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000118NAME="AEN13225"
Daniel Veillard35925471999-02-25 08:46:07 +0000119></A
120><H2
121>Name</H2
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000122>parserInternals &#8212; </DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFSYNOPSISDIV"
125><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +0000126NAME="AEN13228"
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 Veillard5099ae81999-04-21 20:12:07 +0000145#define <A
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000146HREF="gnome-xml-parserinternals.html#INPUT-CHUNK"
147>INPUT_CHUNK</A
148>
149#define <A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000150HREF="gnome-xml-parserinternals.html#IS-CHAR"
151>IS_CHAR</A
152> (c)
153#define <A
154HREF="gnome-xml-parserinternals.html#IS-BLANK"
155>IS_BLANK</A
156> (c)
157#define <A
158HREF="gnome-xml-parserinternals.html#IS-BASECHAR"
159>IS_BASECHAR</A
160> (c)
161#define <A
162HREF="gnome-xml-parserinternals.html#IS-DIGIT"
163>IS_DIGIT</A
164> (c)
165#define <A
166HREF="gnome-xml-parserinternals.html#IS-COMBINING"
167>IS_COMBINING</A
168> (c)
169#define <A
170HREF="gnome-xml-parserinternals.html#IS-EXTENDER"
171>IS_EXTENDER</A
172> (c)
173#define <A
174HREF="gnome-xml-parserinternals.html#IS-IDEOGRAPHIC"
175>IS_IDEOGRAPHIC</A
176> (c)
177#define <A
178HREF="gnome-xml-parserinternals.html#IS-LETTER"
179>IS_LETTER</A
180> (c)
181#define <A
182HREF="gnome-xml-parserinternals.html#IS-PUBIDCHAR"
183>IS_PUBIDCHAR</A
184> (c)
185#define <A
186HREF="gnome-xml-parserinternals.html#SKIP-EOL"
187>SKIP_EOL</A
188> (p)
189#define <A
190HREF="gnome-xml-parserinternals.html#MOVETO-ENDTAG"
191>MOVETO_ENDTAG</A
192> (p)
193#define <A
194HREF="gnome-xml-parserinternals.html#MOVETO-STARTTAG"
195>MOVETO_STARTTAG</A
196> (p)
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000197extern int <A
198HREF="gnome-xml-parserinternals.html#XMLPARSERDEBUGENTITIES"
199>xmlParserDebugEntities</A
200>;
201extern int <A
202HREF="gnome-xml-parser.html#XMLGETWARNINGSDEFAULTVALUE"
203>xmlGetWarningsDefaultValue</A
204>;
205extern int <A
206HREF="gnome-xml-parser.html#XMLSUBSTITUTEENTITIESDEFAULTVALUE"
207>xmlSubstituteEntitiesDefaultValue</A
208>;
209extern int <A
210HREF="gnome-xml-parserinternals.html#XMLDOVALIDITYCHECKINGDEFAULTVALUE"
211>xmlDoValidityCheckingDefaultValue</A
212>;
213extern int <A
214HREF="gnome-xml-parserinternals.html#XMLPEDANTICPARSERDEFAULTVALUE"
215>xmlPedanticParserDefaultValue</A
216>;
217extern int <A
218HREF="gnome-xml-parserinternals.html#XMLKEEPBLANKSDEFAULTVALUE"
219>xmlKeepBlanksDefaultValue</A
220>;
221int <A
222HREF="gnome-xml-parserinternals.html#XMLISBASECHAR"
223>xmlIsBaseChar</A
224> (int c);
225int <A
226HREF="gnome-xml-parserinternals.html#XMLISBLANK"
227>xmlIsBlank</A
228> (int c);
229int <A
230HREF="gnome-xml-parserinternals.html#XMLISPUBIDCHAR"
231>xmlIsPubidChar</A
232> (int c);
233int <A
234HREF="gnome-xml-parserinternals.html#XMLISLETTER"
235>xmlIsLetter</A
236> (int c);
237int <A
238HREF="gnome-xml-parserinternals.html#XMLISDIGIT"
239>xmlIsDigit</A
240> (int c);
241int <A
242HREF="gnome-xml-parserinternals.html#XMLISIDEOGRAPHIC"
243>xmlIsIdeographic</A
244> (int c);
245int <A
246HREF="gnome-xml-parserinternals.html#XMLISCOMBINING"
247>xmlIsCombining</A
248> (int c);
249int <A
250HREF="gnome-xml-parserinternals.html#XMLISEXTENDER"
251>xmlIsExtender</A
252> (int c);
253int <A
254HREF="gnome-xml-parserinternals.html#XMLISCHAR"
255>xmlIsChar</A
256> (int c);
Daniel Veillardd692aa41999-02-28 21:54:31 +0000257<A
258HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
259>xmlParserCtxtPtr</A
260> <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000261HREF="gnome-xml-parser.html#XMLCREATEDOCPARSERCTXT"
Daniel Veillardd692aa41999-02-28 21:54:31 +0000262>xmlCreateDocParserCtxt</A
263> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000264HREF="gnome-xml-tree.html#XMLCHAR"
265>xmlChar</A
Daniel Veillardd692aa41999-02-28 21:54:31 +0000266> *cur);
267<A
268HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
269>xmlParserCtxtPtr</A
270> <A
271HREF="gnome-xml-parserinternals.html#XMLCREATEFILEPARSERCTXT"
272>xmlCreateFileParserCtxt</A
273> (const char *filename);
274<A
275HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
276>xmlParserCtxtPtr</A
277> <A
278HREF="gnome-xml-parserinternals.html#XMLCREATEMEMORYPARSERCTXT"
279>xmlCreateMemoryParserCtxt</A
280> (char *buffer,
281 int size);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000282<A
283HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
284>xmlParserCtxtPtr</A
285> <A
286HREF="gnome-xml-parserinternals.html#XMLNEWPARSERCTXT"
287>xmlNewParserCtxt</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000288> (void);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000289<A
290HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
291>xmlParserCtxtPtr</A
292> <A
293HREF="gnome-xml-parserinternals.html#XMLCREATEENTITYPARSERCTXT"
294>xmlCreateEntityParserCtxt</A
295> (const <A
296HREF="gnome-xml-tree.html#XMLCHAR"
297>xmlChar</A
298> *URL,
299 const <A
300HREF="gnome-xml-tree.html#XMLCHAR"
301>xmlChar</A
302> *ID,
303 const <A
304HREF="gnome-xml-tree.html#XMLCHAR"
305>xmlChar</A
306> *base);
307int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000308HREF="gnome-xml-parserinternals.html#XMLSWITCHENCODING"
309>xmlSwitchEncoding</A
310> (<A
311HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
312>xmlParserCtxtPtr</A
313> ctxt,
Daniel Veillard294cbca1999-12-03 13:19:09 +0000314 <A
315HREF="gnome-xml-encoding.html#XMLCHARENCODING"
316>xmlCharEncoding</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000317> enc);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000318int <A
319HREF="gnome-xml-parserinternals.html#XMLSWITCHTOENCODING"
320>xmlSwitchToEncoding</A
321> (<A
322HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
323>xmlParserCtxtPtr</A
324> ctxt,
325 <A
326HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR"
327>xmlCharEncodingHandlerPtr</A
328> handler);
329void <A
330HREF="gnome-xml-parser.html#XMLFREEPARSERCTXT"
331>xmlFreeParserCtxt</A
332> (<A
333HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
334>xmlParserCtxtPtr</A
335> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000336void <A
337HREF="gnome-xml-parserinternals.html#XMLHANDLEENTITY"
338>xmlHandleEntity</A
339> (<A
340HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
341>xmlParserCtxtPtr</A
342> ctxt,
343 <A
344HREF="gnome-xml-entities.html#XMLENTITYPTR"
345>xmlEntityPtr</A
346> entity);
347<A
Daniel Veillardbc50b591999-03-01 12:28:53 +0000348HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
349>xmlParserInputPtr</A
350> <A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000351HREF="gnome-xml-parserinternals.html#XMLNEWENTITYINPUTSTREAM"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000352>xmlNewEntityInputStream</A
353> (<A
354HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
355>xmlParserCtxtPtr</A
356> ctxt,
357 <A
358HREF="gnome-xml-entities.html#XMLENTITYPTR"
359>xmlEntityPtr</A
360> entity);
361void <A
362HREF="gnome-xml-parserinternals.html#XMLPUSHINPUT"
363>xmlPushInput</A
364> (<A
365HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
366>xmlParserCtxtPtr</A
367> ctxt,
368 <A
369HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
370>xmlParserInputPtr</A
371> input);
372<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000373HREF="gnome-xml-tree.html#XMLCHAR"
374>xmlChar</A
375> <A
Daniel Veillardbc50b591999-03-01 12:28:53 +0000376HREF="gnome-xml-parserinternals.html#XMLPOPINPUT"
377>xmlPopInput</A
378> (<A
379HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
380>xmlParserCtxtPtr</A
381> ctxt);
382void <A
383HREF="gnome-xml-parserinternals.html#XMLFREEINPUTSTREAM"
384>xmlFreeInputStream</A
385> (<A
386HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
387>xmlParserInputPtr</A
388> input);
389<A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000390HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
391>xmlParserInputPtr</A
392> <A
393HREF="gnome-xml-parserinternals.html#XMLNEWINPUTFROMFILE"
394>xmlNewInputFromFile</A
395> (<A
396HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
397>xmlParserCtxtPtr</A
398> ctxt,
399 const char *filename);
400<A
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000401HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
402>xmlParserInputPtr</A
403> <A
404HREF="gnome-xml-parserinternals.html#XMLNEWINPUTSTREAM"
405>xmlNewInputStream</A
406> (<A
407HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
408>xmlParserCtxtPtr</A
409> ctxt);
410<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000411HREF="gnome-xml-tree.html#XMLCHAR"
412>xmlChar</A
413>* <A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000414HREF="gnome-xml-parserinternals.html#XMLSPLITQNAME"
415>xmlSplitQName</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000416> (<A
417HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
418>xmlParserCtxtPtr</A
419> ctxt,
420 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000421HREF="gnome-xml-tree.html#XMLCHAR"
422>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000423> *name,
424 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000425HREF="gnome-xml-tree.html#XMLCHAR"
426>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000427> **prefix);
428<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#XMLNAMESPACEPARSENCNAME"
433>xmlNamespaceParseNCName</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#XMLNAMESPACEPARSEQNAME"
443>xmlNamespaceParseQName</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
Daniel Veillard35925471999-02-25 08:46:07 +0000451> **prefix);
452<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000453HREF="gnome-xml-tree.html#XMLCHAR"
454>xmlChar</A
455>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000456HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSENSDEF"
457>xmlNamespaceParseNSDef</A
458> (<A
459HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
460>xmlParserCtxtPtr</A
461> ctxt);
462<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000463HREF="gnome-xml-tree.html#XMLCHAR"
464>xmlChar</A
465>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000466HREF="gnome-xml-parserinternals.html#XMLPARSEQUOTEDSTRING"
467>xmlParseQuotedString</A
468> (<A
469HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
470>xmlParserCtxtPtr</A
471> ctxt);
472void <A
473HREF="gnome-xml-parserinternals.html#XMLPARSENAMESPACE"
474>xmlParseNamespace</A
475> (<A
476HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
477>xmlParserCtxtPtr</A
478> ctxt);
479<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000480HREF="gnome-xml-tree.html#XMLCHAR"
481>xmlChar</A
482>* <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000483HREF="gnome-xml-parserinternals.html#XMLSCANNAME"
484>xmlScanName</A
485> (<A
486HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
487>xmlParserCtxtPtr</A
488> ctxt);
489<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000490HREF="gnome-xml-tree.html#XMLCHAR"
491>xmlChar</A
492>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000493HREF="gnome-xml-parserinternals.html#XMLPARSENAME"
494>xmlParseName</A
495> (<A
496HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
497>xmlParserCtxtPtr</A
498> ctxt);
499<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000500HREF="gnome-xml-tree.html#XMLCHAR"
501>xmlChar</A
502>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000503HREF="gnome-xml-parserinternals.html#XMLPARSENMTOKEN"
504>xmlParseNmtoken</A
505> (<A
506HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
507>xmlParserCtxtPtr</A
508> ctxt);
509<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000510HREF="gnome-xml-tree.html#XMLCHAR"
511>xmlChar</A
512>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000513HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYVALUE"
514>xmlParseEntityValue</A
515> (<A
516HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
517>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000518> ctxt,
519 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000520HREF="gnome-xml-tree.html#XMLCHAR"
521>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000522> **orig);
Daniel Veillard35925471999-02-25 08:46:07 +0000523<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000524HREF="gnome-xml-tree.html#XMLCHAR"
525>xmlChar</A
526>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000527HREF="gnome-xml-parserinternals.html#XMLPARSEATTVALUE"
528>xmlParseAttValue</A
529> (<A
530HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
531>xmlParserCtxtPtr</A
532> ctxt);
533<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000534HREF="gnome-xml-tree.html#XMLCHAR"
535>xmlChar</A
536>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000537HREF="gnome-xml-parserinternals.html#XMLPARSESYSTEMLITERAL"
538>xmlParseSystemLiteral</A
539> (<A
540HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
541>xmlParserCtxtPtr</A
542> ctxt);
543<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000544HREF="gnome-xml-tree.html#XMLCHAR"
545>xmlChar</A
546>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000547HREF="gnome-xml-parserinternals.html#XMLPARSEPUBIDLITERAL"
548>xmlParsePubidLiteral</A
549> (<A
550HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
551>xmlParserCtxtPtr</A
552> ctxt);
553void <A
554HREF="gnome-xml-parserinternals.html#XMLPARSECHARDATA"
555>xmlParseCharData</A
556> (<A
557HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
558>xmlParserCtxtPtr</A
559> ctxt,
560 int cdata);
561<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000562HREF="gnome-xml-tree.html#XMLCHAR"
563>xmlChar</A
564>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000565HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
566>xmlParseExternalID</A
567> (<A
568HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
569>xmlParserCtxtPtr</A
570> ctxt,
571 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000572HREF="gnome-xml-tree.html#XMLCHAR"
573>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000574> **publicID,
575 int strict);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000576void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000577HREF="gnome-xml-parserinternals.html#XMLPARSECOMMENT"
578>xmlParseComment</A
579> (<A
580HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
581>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000582> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000583<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000584HREF="gnome-xml-tree.html#XMLCHAR"
585>xmlChar</A
586>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000587HREF="gnome-xml-parserinternals.html#XMLPARSEPITARGET"
588>xmlParsePITarget</A
589> (<A
590HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
591>xmlParserCtxtPtr</A
592> ctxt);
593void <A
594HREF="gnome-xml-parserinternals.html#XMLPARSEPI"
595>xmlParsePI</A
596> (<A
597HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
598>xmlParserCtxtPtr</A
599> ctxt);
600void <A
601HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONDECL"
602>xmlParseNotationDecl</A
603> (<A
604HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
605>xmlParserCtxtPtr</A
606> ctxt);
607void <A
608HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYDECL"
609>xmlParseEntityDecl</A
610> (<A
611HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
612>xmlParserCtxtPtr</A
613> ctxt);
614int <A
615HREF="gnome-xml-parserinternals.html#XMLPARSEDEFAULTDECL"
616>xmlParseDefaultDecl</A
617> (<A
618HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
619>xmlParserCtxtPtr</A
620> ctxt,
621 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000622HREF="gnome-xml-tree.html#XMLCHAR"
623>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000624> **value);
625<A
626HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
627>xmlEnumerationPtr</A
628> <A
629HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONTYPE"
630>xmlParseNotationType</A
631> (<A
632HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
633>xmlParserCtxtPtr</A
634> ctxt);
635<A
636HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
637>xmlEnumerationPtr</A
638> <A
639HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATIONTYPE"
640>xmlParseEnumerationType</A
641> (<A
642HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
643>xmlParserCtxtPtr</A
644> ctxt);
645int <A
646HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATEDTYPE"
647>xmlParseEnumeratedType</A
648> (<A
649HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
650>xmlParserCtxtPtr</A
651> ctxt,
652 <A
653HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
654>xmlEnumerationPtr</A
655> *tree);
656int <A
657HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTETYPE"
658>xmlParseAttributeType</A
659> (<A
660HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
661>xmlParserCtxtPtr</A
662> ctxt,
663 <A
664HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
665>xmlEnumerationPtr</A
666> *tree);
667void <A
668HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTELISTDECL"
669>xmlParseAttributeListDecl</A
670> (<A
671HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
672>xmlParserCtxtPtr</A
673> ctxt);
674<A
675HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
676>xmlElementContentPtr</A
677> <A
678HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTMIXEDCONTENTDECL"
679>xmlParseElementMixedContentDecl</A
680>
681 (<A
682HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
683>xmlParserCtxtPtr</A
684> ctxt);
685<A
686HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
687>xmlElementContentPtr</A
688> <A
689HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTDECL"
690>xmlParseElementChildrenContentDecl</A
691>
692 (<A
693HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
694>xmlParserCtxtPtr</A
695> ctxt);
696int <A
697HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCONTENTDECL"
698>xmlParseElementContentDecl</A
699> (<A
700HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
701>xmlParserCtxtPtr</A
702> ctxt,
703 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000704HREF="gnome-xml-tree.html#XMLCHAR"
705>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000706> *name,
707 <A
708HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
709>xmlElementContentPtr</A
710> *result);
711int <A
712HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTDECL"
713>xmlParseElementDecl</A
714> (<A
715HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
716>xmlParserCtxtPtr</A
717> ctxt);
718void <A
719HREF="gnome-xml-parserinternals.html#XMLPARSEMARKUPDECL"
720>xmlParseMarkupDecl</A
721> (<A
722HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
723>xmlParserCtxtPtr</A
724> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000725int <A
Daniel Veillard35925471999-02-25 08:46:07 +0000726HREF="gnome-xml-parserinternals.html#XMLPARSECHARREF"
727>xmlParseCharRef</A
728> (<A
729HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
730>xmlParserCtxtPtr</A
731> ctxt);
732<A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000733HREF="gnome-xml-entities.html#XMLENTITYPTR"
734>xmlEntityPtr</A
735> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000736HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYREF"
737>xmlParseEntityRef</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000738> (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000739HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
740>xmlParserCtxtPtr</A
741> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000742void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000743HREF="gnome-xml-parserinternals.html#XMLPARSEREFERENCE"
744>xmlParseReference</A
745> (<A
746HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
747>xmlParserCtxtPtr</A
748> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000749void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000750HREF="gnome-xml-parserinternals.html#XMLPARSEPEREFERENCE"
751>xmlParsePEReference</A
752> (<A
753HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
754>xmlParserCtxtPtr</A
755> ctxt);
756void <A
757HREF="gnome-xml-parserinternals.html#XMLPARSEDOCTYPEDECL"
758>xmlParseDocTypeDecl</A
759> (<A
760HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
761>xmlParserCtxtPtr</A
762> ctxt);
763<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000764HREF="gnome-xml-tree.html#XMLCHAR"
765>xmlChar</A
766>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000767HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTE"
768>xmlParseAttribute</A
769> (<A
770HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
771>xmlParserCtxtPtr</A
772> ctxt,
773 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000774HREF="gnome-xml-tree.html#XMLCHAR"
775>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000776> **value);
Daniel Veillard14fff061999-06-22 21:49:07 +0000777<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000778HREF="gnome-xml-tree.html#XMLCHAR"
779>xmlChar</A
780>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000781HREF="gnome-xml-parserinternals.html#XMLPARSESTARTTAG"
782>xmlParseStartTag</A
783> (<A
784HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
785>xmlParserCtxtPtr</A
786> ctxt);
787void <A
788HREF="gnome-xml-parserinternals.html#XMLPARSEENDTAG"
789>xmlParseEndTag</A
790> (<A
791HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
792>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +0000793> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000794void <A
795HREF="gnome-xml-parserinternals.html#XMLPARSECDSECT"
796>xmlParseCDSect</A
797> (<A
798HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
799>xmlParserCtxtPtr</A
800> ctxt);
801void <A
802HREF="gnome-xml-parserinternals.html#XMLPARSECONTENT"
803>xmlParseContent</A
804> (<A
805HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
806>xmlParserCtxtPtr</A
807> ctxt);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000808void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000809HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENT"
810>xmlParseElement</A
811> (<A
812HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
813>xmlParserCtxtPtr</A
814> ctxt);
815<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000816HREF="gnome-xml-tree.html#XMLCHAR"
817>xmlChar</A
818>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000819HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONNUM"
820>xmlParseVersionNum</A
821> (<A
822HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
823>xmlParserCtxtPtr</A
824> ctxt);
825<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000826HREF="gnome-xml-tree.html#XMLCHAR"
827>xmlChar</A
828>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000829HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONINFO"
830>xmlParseVersionInfo</A
831> (<A
832HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
833>xmlParserCtxtPtr</A
834> ctxt);
835<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000836HREF="gnome-xml-tree.html#XMLCHAR"
837>xmlChar</A
838>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000839HREF="gnome-xml-parserinternals.html#XMLPARSEENCNAME"
840>xmlParseEncName</A
841> (<A
842HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
843>xmlParserCtxtPtr</A
844> ctxt);
845<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000846HREF="gnome-xml-tree.html#XMLCHAR"
847>xmlChar</A
848>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000849HREF="gnome-xml-parserinternals.html#XMLPARSEENCODINGDECL"
850>xmlParseEncodingDecl</A
851> (<A
852HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
853>xmlParserCtxtPtr</A
854> ctxt);
855int <A
856HREF="gnome-xml-parserinternals.html#XMLPARSESDDECL"
857>xmlParseSDDecl</A
858> (<A
859HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
860>xmlParserCtxtPtr</A
861> ctxt);
862void <A
863HREF="gnome-xml-parserinternals.html#XMLPARSEXMLDECL"
864>xmlParseXMLDecl</A
865> (<A
866HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
867>xmlParserCtxtPtr</A
868> ctxt);
869void <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000870HREF="gnome-xml-parserinternals.html#XMLPARSETEXTDECL"
871>xmlParseTextDecl</A
872> (<A
873HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
874>xmlParserCtxtPtr</A
875> ctxt);
876void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000877HREF="gnome-xml-parserinternals.html#XMLPARSEMISC"
878>xmlParseMisc</A
879> (<A
880HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
881>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000882> ctxt);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000883void <A
884HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALSUBSET"
885>xmlParseExternalSubset</A
886> (<A
887HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
888>xmlParserCtxtPtr</A
889> ctxt,
890 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000891HREF="gnome-xml-tree.html#XMLCHAR"
892>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000893> *ExternalID,
894 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000895HREF="gnome-xml-tree.html#XMLCHAR"
896>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000897> *SystemID);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000898#define <A
899HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-NONE"
900>XML_SUBSTITUTE_NONE</A
901>
902#define <A
903HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-REF"
904>XML_SUBSTITUTE_REF</A
905>
906#define <A
907HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-PEREF"
908>XML_SUBSTITUTE_PEREF</A
909>
910#define <A
911HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-BOTH"
912>XML_SUBSTITUTE_BOTH</A
913>
914<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000915HREF="gnome-xml-tree.html#XMLCHAR"
916>xmlChar</A
917>* <A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000918HREF="gnome-xml-parserinternals.html#XMLDECODEENTITIES"
919>xmlDecodeEntities</A
920> (<A
921HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
922>xmlParserCtxtPtr</A
923> ctxt,
924 int len,
925 int what,
926 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000927HREF="gnome-xml-tree.html#XMLCHAR"
928>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000929> end,
930 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000931HREF="gnome-xml-tree.html#XMLCHAR"
932>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000933> end2,
934 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000935HREF="gnome-xml-tree.html#XMLCHAR"
936>xmlChar</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000937> end3);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000938<A
939HREF="gnome-xml-tree.html#XMLCHAR"
940>xmlChar</A
941>* <A
942HREF="gnome-xml-parserinternals.html#XMLSTRINGDECODEENTITIES"
943>xmlStringDecodeEntities</A
944> (<A
945HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
946>xmlParserCtxtPtr</A
947> ctxt,
948 const <A
949HREF="gnome-xml-tree.html#XMLCHAR"
950>xmlChar</A
951> *str,
952 int what,
953 <A
954HREF="gnome-xml-tree.html#XMLCHAR"
955>xmlChar</A
956> end,
957 <A
958HREF="gnome-xml-tree.html#XMLCHAR"
959>xmlChar</A
960> end2,
961 <A
962HREF="gnome-xml-tree.html#XMLCHAR"
963>xmlChar</A
964> end3);
Daniel Veillard14fff061999-06-22 21:49:07 +0000965int <A
966HREF="gnome-xml-parserinternals.html#NODEPUSH"
967>nodePush</A
968> (<A
969HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
970>xmlParserCtxtPtr</A
971> ctxt,
972 <A
973HREF="gnome-xml-tree.html#XMLNODEPTR"
974>xmlNodePtr</A
975> value);
976<A
977HREF="gnome-xml-tree.html#XMLNODEPTR"
978>xmlNodePtr</A
979> <A
980HREF="gnome-xml-parserinternals.html#NODEPOP"
981>nodePop</A
982> (<A
983HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
984>xmlParserCtxtPtr</A
985> ctxt);
986int <A
987HREF="gnome-xml-parserinternals.html#INPUTPUSH"
988>inputPush</A
989> (<A
990HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
991>xmlParserCtxtPtr</A
992> ctxt,
993 <A
994HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
995>xmlParserInputPtr</A
996> value);
997<A
998HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
999>xmlParserInputPtr</A
1000> <A
1001HREF="gnome-xml-parserinternals.html#INPUTPOP"
1002>inputPop</A
1003> (<A
1004HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1005>xmlParserCtxtPtr</A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001006> ctxt);
1007int <A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001008HREF="gnome-xml-parserinternals.html#XMLSKIPBLANKCHARS"
1009>xmlSkipBlankChars</A
1010> (<A
1011HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1012>xmlParserCtxtPtr</A
1013> ctxt);
1014int <A
1015HREF="gnome-xml-parserinternals.html#XMLSTRINGCURRENTCHAR"
1016>xmlStringCurrentChar</A
1017> (<A
1018HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1019>xmlParserCtxtPtr</A
1020> ctxt,
1021 const <A
1022HREF="gnome-xml-tree.html#XMLCHAR"
1023>xmlChar</A
1024> *cur,
1025 int *len);
1026void <A
1027HREF="gnome-xml-parserinternals.html#XMLPARSERHANDLEPEREFERENCE"
1028>xmlParserHandlePEReference</A
1029> (<A
1030HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1031>xmlParserCtxtPtr</A
1032> ctxt);
1033void <A
1034HREF="gnome-xml-parserinternals.html#XMLPARSERHANDLEREFERENCE"
1035>xmlParserHandleReference</A
1036> (<A
1037HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1038>xmlParserCtxtPtr</A
1039> ctxt);
1040<A
1041HREF="gnome-xml-tree.html#XMLCHAR"
1042>xmlChar</A
1043>* <A
1044HREF="gnome-xml-parserinternals.html#NAMEPOP"
1045>namePop</A
1046> (<A
1047HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1048>xmlParserCtxtPtr</A
1049> ctxt);
1050int <A
1051HREF="gnome-xml-parserinternals.html#XMLCHECKLANGUAGEID"
1052>xmlCheckLanguageID</A
1053> (const <A
1054HREF="gnome-xml-tree.html#XMLCHAR"
1055>xmlChar</A
1056> *lang);
1057int <A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001058HREF="gnome-xml-parserinternals.html#XMLCURRENTCHAR"
1059>xmlCurrentChar</A
1060> (<A
1061HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1062>xmlParserCtxtPtr</A
1063> ctxt,
1064 int *len);
1065int <A
1066HREF="gnome-xml-parserinternals.html#XMLCOPYCHAR"
1067>xmlCopyChar</A
1068> (int len,
1069 <A
1070HREF="gnome-xml-tree.html#XMLCHAR"
1071>xmlChar</A
1072> *out,
1073 int val);
1074void <A
1075HREF="gnome-xml-parserinternals.html#XMLNEXTCHAR"
1076>xmlNextChar</A
1077> (<A
1078HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1079>xmlParserCtxtPtr</A
1080> ctxt);
1081void <A
1082HREF="gnome-xml-parserinternals.html#XMLPARSERINPUTSHRINK"
1083>xmlParserInputShrink</A
1084> (<A
1085HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
1086>xmlParserInputPtr</A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001087> in);
1088void <A
1089HREF="gnome-xml-parserinternals.html#HTMLINITAUTOCLOSE"
1090>htmlInitAutoClose</A
1091> (void);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001092></TD
1093></TR
1094></TABLE
1095></DIV
1096><DIV
1097CLASS="REFSECT1"
1098><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001099NAME="AEN13495"
Daniel Veillard35925471999-02-25 08:46:07 +00001100></A
1101><H2
1102>Description</H2
1103><P
1104></P
1105></DIV
1106><DIV
1107CLASS="REFSECT1"
1108><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001109NAME="AEN13498"
Daniel Veillard35925471999-02-25 08:46:07 +00001110></A
1111><H2
1112>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001113><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001114CLASS="REFSECT2"
1115><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001116NAME="AEN13500"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001117></A
1118><H3
1119><A
1120NAME="XML-MAX-NAMELEN"
1121></A
1122>XML_MAX_NAMELEN</H3
1123><TABLE
1124BORDER="0"
1125BGCOLOR="#D6E8FF"
1126WIDTH="100%"
1127CELLPADDING="6"
1128><TR
1129><TD
1130><PRE
1131CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001132>#define XML_MAX_NAMELEN 100</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001133></TD
1134></TR
1135></TABLE
1136><P
1137></P
1138></DIV
1139><HR><DIV
1140CLASS="REFSECT2"
1141><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001142NAME="AEN13505"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001143></A
1144><H3
1145><A
1146NAME="INPUT-CHUNK"
1147></A
1148>INPUT_CHUNK</H3
1149><TABLE
1150BORDER="0"
1151BGCOLOR="#D6E8FF"
1152WIDTH="100%"
1153CELLPADDING="6"
1154><TR
1155><TD
1156><PRE
1157CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001158>#define INPUT_CHUNK 250</PRE
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001159></TD
1160></TR
1161></TABLE
1162><P
1163></P
1164></DIV
1165><HR><DIV
1166CLASS="REFSECT2"
1167><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001168NAME="AEN13510"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001169></A
1170><H3
1171><A
1172NAME="IS-CHAR"
1173></A
1174>IS_CHAR()</H3
1175><TABLE
1176BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001177BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001178WIDTH="100%"
1179CELLPADDING="6"
1180><TR
1181><TD
1182><PRE
1183CLASS="PROGRAMLISTING"
1184>#define IS_CHAR(c)</PRE
1185></TD
1186></TR
1187></TABLE
1188><P
1189></P
1190><DIV
1191CLASS="INFORMALTABLE"
1192><P
1193></P
1194><TABLE
1195BORDER="0"
1196WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001197BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001198CELLSPACING="0"
1199CELLPADDING="4"
1200CLASS="CALSTABLE"
1201><TR
1202><TD
1203WIDTH="20%"
1204ALIGN="RIGHT"
1205VALIGN="TOP"
1206><TT
1207CLASS="PARAMETER"
1208><I
1209>c</I
1210></TT
1211>&nbsp;:</TD
1212><TD
1213WIDTH="80%"
1214ALIGN="LEFT"
1215VALIGN="TOP"
1216>&nbsp;</TD
1217></TR
1218></TABLE
1219><P
1220></P
1221></DIV
1222></DIV
1223><HR><DIV
1224CLASS="REFSECT2"
1225><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001226NAME="AEN13524"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001227></A
1228><H3
1229><A
1230NAME="IS-BLANK"
1231></A
1232>IS_BLANK()</H3
1233><TABLE
1234BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001235BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001236WIDTH="100%"
1237CELLPADDING="6"
1238><TR
1239><TD
1240><PRE
1241CLASS="PROGRAMLISTING"
1242>#define IS_BLANK(c)</PRE
1243></TD
1244></TR
1245></TABLE
1246><P
1247></P
1248><DIV
1249CLASS="INFORMALTABLE"
1250><P
1251></P
1252><TABLE
1253BORDER="0"
1254WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001255BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001256CELLSPACING="0"
1257CELLPADDING="4"
1258CLASS="CALSTABLE"
1259><TR
1260><TD
1261WIDTH="20%"
1262ALIGN="RIGHT"
1263VALIGN="TOP"
1264><TT
1265CLASS="PARAMETER"
1266><I
1267>c</I
1268></TT
1269>&nbsp;:</TD
1270><TD
1271WIDTH="80%"
1272ALIGN="LEFT"
1273VALIGN="TOP"
1274>&nbsp;</TD
1275></TR
1276></TABLE
1277><P
1278></P
1279></DIV
1280></DIV
1281><HR><DIV
1282CLASS="REFSECT2"
1283><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001284NAME="AEN13538"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001285></A
1286><H3
1287><A
1288NAME="IS-BASECHAR"
1289></A
1290>IS_BASECHAR()</H3
1291><TABLE
1292BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001293BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001294WIDTH="100%"
1295CELLPADDING="6"
1296><TR
1297><TD
1298><PRE
1299CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001300>#define IS_BASECHAR(c) xmlIsBaseChar(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001301></TD
1302></TR
1303></TABLE
1304><P
1305></P
1306><DIV
1307CLASS="INFORMALTABLE"
1308><P
1309></P
1310><TABLE
1311BORDER="0"
1312WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001313BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001314CELLSPACING="0"
1315CELLPADDING="4"
1316CLASS="CALSTABLE"
1317><TR
1318><TD
1319WIDTH="20%"
1320ALIGN="RIGHT"
1321VALIGN="TOP"
1322><TT
1323CLASS="PARAMETER"
1324><I
1325>c</I
1326></TT
1327>&nbsp;:</TD
1328><TD
1329WIDTH="80%"
1330ALIGN="LEFT"
1331VALIGN="TOP"
1332>&nbsp;</TD
1333></TR
1334></TABLE
1335><P
1336></P
1337></DIV
1338></DIV
1339><HR><DIV
1340CLASS="REFSECT2"
1341><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001342NAME="AEN13552"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001343></A
1344><H3
1345><A
1346NAME="IS-DIGIT"
1347></A
1348>IS_DIGIT()</H3
1349><TABLE
1350BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001351BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001352WIDTH="100%"
1353CELLPADDING="6"
1354><TR
1355><TD
1356><PRE
1357CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001358>#define IS_DIGIT(c) xmlIsDigit(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001359></TD
1360></TR
1361></TABLE
1362><P
1363></P
1364><DIV
1365CLASS="INFORMALTABLE"
1366><P
1367></P
1368><TABLE
1369BORDER="0"
1370WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001371BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001372CELLSPACING="0"
1373CELLPADDING="4"
1374CLASS="CALSTABLE"
1375><TR
1376><TD
1377WIDTH="20%"
1378ALIGN="RIGHT"
1379VALIGN="TOP"
1380><TT
1381CLASS="PARAMETER"
1382><I
1383>c</I
1384></TT
1385>&nbsp;:</TD
1386><TD
1387WIDTH="80%"
1388ALIGN="LEFT"
1389VALIGN="TOP"
1390>&nbsp;</TD
1391></TR
1392></TABLE
1393><P
1394></P
1395></DIV
1396></DIV
1397><HR><DIV
1398CLASS="REFSECT2"
1399><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001400NAME="AEN13566"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001401></A
1402><H3
1403><A
1404NAME="IS-COMBINING"
1405></A
1406>IS_COMBINING()</H3
1407><TABLE
1408BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001409BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001410WIDTH="100%"
1411CELLPADDING="6"
1412><TR
1413><TD
1414><PRE
1415CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001416>#define IS_COMBINING(c) xmlIsCombining(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001417></TD
1418></TR
1419></TABLE
1420><P
1421></P
1422><DIV
1423CLASS="INFORMALTABLE"
1424><P
1425></P
1426><TABLE
1427BORDER="0"
1428WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001429BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001430CELLSPACING="0"
1431CELLPADDING="4"
1432CLASS="CALSTABLE"
1433><TR
1434><TD
1435WIDTH="20%"
1436ALIGN="RIGHT"
1437VALIGN="TOP"
1438><TT
1439CLASS="PARAMETER"
1440><I
1441>c</I
1442></TT
1443>&nbsp;:</TD
1444><TD
1445WIDTH="80%"
1446ALIGN="LEFT"
1447VALIGN="TOP"
1448>&nbsp;</TD
1449></TR
1450></TABLE
1451><P
1452></P
1453></DIV
1454></DIV
1455><HR><DIV
1456CLASS="REFSECT2"
1457><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001458NAME="AEN13580"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001459></A
1460><H3
1461><A
1462NAME="IS-EXTENDER"
1463></A
1464>IS_EXTENDER()</H3
1465><TABLE
1466BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001467BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001468WIDTH="100%"
1469CELLPADDING="6"
1470><TR
1471><TD
1472><PRE
1473CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001474>#define IS_EXTENDER(c) xmlIsExtender(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001475></TD
1476></TR
1477></TABLE
1478><P
1479></P
1480><DIV
1481CLASS="INFORMALTABLE"
1482><P
1483></P
1484><TABLE
1485BORDER="0"
1486WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001487BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001488CELLSPACING="0"
1489CELLPADDING="4"
1490CLASS="CALSTABLE"
1491><TR
1492><TD
1493WIDTH="20%"
1494ALIGN="RIGHT"
1495VALIGN="TOP"
1496><TT
1497CLASS="PARAMETER"
1498><I
1499>c</I
1500></TT
1501>&nbsp;:</TD
1502><TD
1503WIDTH="80%"
1504ALIGN="LEFT"
1505VALIGN="TOP"
1506>&nbsp;</TD
1507></TR
1508></TABLE
1509><P
1510></P
1511></DIV
1512></DIV
1513><HR><DIV
1514CLASS="REFSECT2"
1515><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001516NAME="AEN13594"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001517></A
1518><H3
1519><A
1520NAME="IS-IDEOGRAPHIC"
1521></A
1522>IS_IDEOGRAPHIC()</H3
1523><TABLE
1524BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001525BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001526WIDTH="100%"
1527CELLPADDING="6"
1528><TR
1529><TD
1530><PRE
1531CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001532>#define IS_IDEOGRAPHIC(c) xmlIsIdeographic(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001533></TD
1534></TR
1535></TABLE
1536><P
1537></P
1538><DIV
1539CLASS="INFORMALTABLE"
1540><P
1541></P
1542><TABLE
1543BORDER="0"
1544WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001545BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001546CELLSPACING="0"
1547CELLPADDING="4"
1548CLASS="CALSTABLE"
1549><TR
1550><TD
1551WIDTH="20%"
1552ALIGN="RIGHT"
1553VALIGN="TOP"
1554><TT
1555CLASS="PARAMETER"
1556><I
1557>c</I
1558></TT
1559>&nbsp;:</TD
1560><TD
1561WIDTH="80%"
1562ALIGN="LEFT"
1563VALIGN="TOP"
1564>&nbsp;</TD
1565></TR
1566></TABLE
1567><P
1568></P
1569></DIV
1570></DIV
1571><HR><DIV
1572CLASS="REFSECT2"
1573><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001574NAME="AEN13608"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001575></A
1576><H3
1577><A
1578NAME="IS-LETTER"
1579></A
1580>IS_LETTER()</H3
1581><TABLE
1582BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001583BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001584WIDTH="100%"
1585CELLPADDING="6"
1586><TR
1587><TD
1588><PRE
1589CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001590>#define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c))</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001591></TD
1592></TR
1593></TABLE
1594><P
1595></P
1596><DIV
1597CLASS="INFORMALTABLE"
1598><P
1599></P
1600><TABLE
1601BORDER="0"
1602WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001603BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001604CELLSPACING="0"
1605CELLPADDING="4"
1606CLASS="CALSTABLE"
1607><TR
1608><TD
1609WIDTH="20%"
1610ALIGN="RIGHT"
1611VALIGN="TOP"
1612><TT
1613CLASS="PARAMETER"
1614><I
1615>c</I
1616></TT
1617>&nbsp;:</TD
1618><TD
1619WIDTH="80%"
1620ALIGN="LEFT"
1621VALIGN="TOP"
1622>&nbsp;</TD
1623></TR
1624></TABLE
1625><P
1626></P
1627></DIV
1628></DIV
1629><HR><DIV
1630CLASS="REFSECT2"
1631><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001632NAME="AEN13622"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001633></A
1634><H3
1635><A
1636NAME="IS-PUBIDCHAR"
1637></A
1638>IS_PUBIDCHAR()</H3
1639><TABLE
1640BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001641BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001642WIDTH="100%"
1643CELLPADDING="6"
1644><TR
1645><TD
1646><PRE
1647CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001648>#define IS_PUBIDCHAR(c) xmlIsPubidChar(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001649></TD
1650></TR
1651></TABLE
1652><P
1653></P
1654><DIV
1655CLASS="INFORMALTABLE"
1656><P
1657></P
1658><TABLE
1659BORDER="0"
1660WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001661BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001662CELLSPACING="0"
1663CELLPADDING="4"
1664CLASS="CALSTABLE"
1665><TR
1666><TD
1667WIDTH="20%"
1668ALIGN="RIGHT"
1669VALIGN="TOP"
1670><TT
1671CLASS="PARAMETER"
1672><I
1673>c</I
1674></TT
1675>&nbsp;:</TD
1676><TD
1677WIDTH="80%"
1678ALIGN="LEFT"
1679VALIGN="TOP"
1680>&nbsp;</TD
1681></TR
1682></TABLE
1683><P
1684></P
1685></DIV
1686></DIV
1687><HR><DIV
1688CLASS="REFSECT2"
1689><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001690NAME="AEN13636"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001691></A
1692><H3
1693><A
1694NAME="SKIP-EOL"
1695></A
1696>SKIP_EOL()</H3
1697><TABLE
1698BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001699BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001700WIDTH="100%"
1701CELLPADDING="6"
1702><TR
1703><TD
1704><PRE
1705CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001706>#define SKIP_EOL(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001707></TD
1708></TR
1709></TABLE
1710><P
1711></P
1712><DIV
1713CLASS="INFORMALTABLE"
1714><P
1715></P
1716><TABLE
1717BORDER="0"
1718WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001719BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001720CELLSPACING="0"
1721CELLPADDING="4"
1722CLASS="CALSTABLE"
1723><TR
1724><TD
1725WIDTH="20%"
1726ALIGN="RIGHT"
1727VALIGN="TOP"
1728><TT
1729CLASS="PARAMETER"
1730><I
1731>p</I
1732></TT
1733>&nbsp;:</TD
1734><TD
1735WIDTH="80%"
1736ALIGN="LEFT"
1737VALIGN="TOP"
1738>&nbsp;</TD
1739></TR
1740></TABLE
1741><P
1742></P
1743></DIV
1744></DIV
1745><HR><DIV
1746CLASS="REFSECT2"
1747><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001748NAME="AEN13650"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001749></A
1750><H3
1751><A
1752NAME="MOVETO-ENDTAG"
1753></A
1754>MOVETO_ENDTAG()</H3
1755><TABLE
1756BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001757BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001758WIDTH="100%"
1759CELLPADDING="6"
1760><TR
1761><TD
1762><PRE
1763CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001764>#define MOVETO_ENDTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001765></TD
1766></TR
1767></TABLE
1768><P
1769></P
1770><DIV
1771CLASS="INFORMALTABLE"
1772><P
1773></P
1774><TABLE
1775BORDER="0"
1776WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001777BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001778CELLSPACING="0"
1779CELLPADDING="4"
1780CLASS="CALSTABLE"
1781><TR
1782><TD
1783WIDTH="20%"
1784ALIGN="RIGHT"
1785VALIGN="TOP"
1786><TT
1787CLASS="PARAMETER"
1788><I
1789>p</I
1790></TT
1791>&nbsp;:</TD
1792><TD
1793WIDTH="80%"
1794ALIGN="LEFT"
1795VALIGN="TOP"
1796>&nbsp;</TD
1797></TR
1798></TABLE
1799><P
1800></P
1801></DIV
1802></DIV
1803><HR><DIV
1804CLASS="REFSECT2"
1805><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001806NAME="AEN13664"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001807></A
1808><H3
1809><A
1810NAME="MOVETO-STARTTAG"
1811></A
1812>MOVETO_STARTTAG()</H3
1813><TABLE
1814BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001815BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001816WIDTH="100%"
1817CELLPADDING="6"
1818><TR
1819><TD
1820><PRE
1821CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001822>#define MOVETO_STARTTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001823></TD
1824></TR
1825></TABLE
1826><P
1827></P
1828><DIV
1829CLASS="INFORMALTABLE"
1830><P
1831></P
1832><TABLE
1833BORDER="0"
1834WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001835BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001836CELLSPACING="0"
1837CELLPADDING="4"
1838CLASS="CALSTABLE"
1839><TR
1840><TD
1841WIDTH="20%"
1842ALIGN="RIGHT"
1843VALIGN="TOP"
1844><TT
1845CLASS="PARAMETER"
1846><I
1847>p</I
1848></TT
1849>&nbsp;:</TD
1850><TD
1851WIDTH="80%"
1852ALIGN="LEFT"
1853VALIGN="TOP"
1854>&nbsp;</TD
1855></TR
1856></TABLE
1857><P
1858></P
1859></DIV
1860></DIV
1861><HR><DIV
1862CLASS="REFSECT2"
1863><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001864NAME="AEN13678"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001865></A
1866><H3
1867><A
1868NAME="XMLPARSERDEBUGENTITIES"
1869></A
1870>xmlParserDebugEntities</H3
1871><TABLE
1872BORDER="0"
1873BGCOLOR="#D6E8FF"
1874WIDTH="100%"
1875CELLPADDING="6"
1876><TR
1877><TD
1878><PRE
1879CLASS="PROGRAMLISTING"
1880>extern int xmlParserDebugEntities;</PRE
1881></TD
1882></TR
1883></TABLE
1884><P
1885></P
1886></DIV
1887><HR><DIV
1888CLASS="REFSECT2"
1889><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001890NAME="AEN13683"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001891></A
1892><H3
1893><A
1894NAME="XMLGETWARNINGSDEFAULTVALUE"
1895></A
1896>xmlGetWarningsDefaultValue</H3
1897><TABLE
1898BORDER="0"
1899BGCOLOR="#D6E8FF"
1900WIDTH="100%"
1901CELLPADDING="6"
1902><TR
1903><TD
1904><PRE
1905CLASS="PROGRAMLISTING"
1906>extern int xmlGetWarningsDefaultValue;</PRE
1907></TD
1908></TR
1909></TABLE
1910><P
1911></P
1912></DIV
1913><HR><DIV
1914CLASS="REFSECT2"
1915><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001916NAME="AEN13688"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001917></A
1918><H3
1919><A
1920NAME="XMLSUBSTITUTEENTITIESDEFAULTVALUE"
1921></A
1922>xmlSubstituteEntitiesDefaultValue</H3
1923><TABLE
1924BORDER="0"
1925BGCOLOR="#D6E8FF"
1926WIDTH="100%"
1927CELLPADDING="6"
1928><TR
1929><TD
1930><PRE
1931CLASS="PROGRAMLISTING"
1932>extern int xmlSubstituteEntitiesDefaultValue;</PRE
1933></TD
1934></TR
1935></TABLE
1936><P
1937></P
1938></DIV
1939><HR><DIV
1940CLASS="REFSECT2"
1941><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001942NAME="AEN13693"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001943></A
1944><H3
1945><A
1946NAME="XMLDOVALIDITYCHECKINGDEFAULTVALUE"
1947></A
1948>xmlDoValidityCheckingDefaultValue</H3
1949><TABLE
1950BORDER="0"
1951BGCOLOR="#D6E8FF"
1952WIDTH="100%"
1953CELLPADDING="6"
1954><TR
1955><TD
1956><PRE
1957CLASS="PROGRAMLISTING"
1958>extern int xmlDoValidityCheckingDefaultValue;</PRE
1959></TD
1960></TR
1961></TABLE
1962><P
1963></P
1964></DIV
1965><HR><DIV
1966CLASS="REFSECT2"
1967><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001968NAME="AEN13698"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001969></A
1970><H3
1971><A
1972NAME="XMLPEDANTICPARSERDEFAULTVALUE"
1973></A
1974>xmlPedanticParserDefaultValue</H3
1975><TABLE
1976BORDER="0"
1977BGCOLOR="#D6E8FF"
1978WIDTH="100%"
1979CELLPADDING="6"
1980><TR
1981><TD
1982><PRE
1983CLASS="PROGRAMLISTING"
1984>extern int xmlPedanticParserDefaultValue;</PRE
1985></TD
1986></TR
1987></TABLE
1988><P
1989></P
1990></DIV
1991><HR><DIV
1992CLASS="REFSECT2"
1993><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001994NAME="AEN13703"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001995></A
1996><H3
1997><A
1998NAME="XMLKEEPBLANKSDEFAULTVALUE"
1999></A
2000>xmlKeepBlanksDefaultValue</H3
2001><TABLE
2002BORDER="0"
2003BGCOLOR="#D6E8FF"
2004WIDTH="100%"
2005CELLPADDING="6"
2006><TR
2007><TD
2008><PRE
2009CLASS="PROGRAMLISTING"
2010>extern int xmlKeepBlanksDefaultValue;</PRE
2011></TD
2012></TR
2013></TABLE
2014><P
2015></P
2016></DIV
2017><HR><DIV
2018CLASS="REFSECT2"
2019><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002020NAME="AEN13708"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002021></A
2022><H3
2023><A
2024NAME="XMLISBASECHAR"
2025></A
2026>xmlIsBaseChar ()</H3
2027><TABLE
2028BORDER="0"
2029BGCOLOR="#D6E8FF"
2030WIDTH="100%"
2031CELLPADDING="6"
2032><TR
2033><TD
2034><PRE
2035CLASS="PROGRAMLISTING"
2036>int xmlIsBaseChar (int c);</PRE
2037></TD
2038></TR
2039></TABLE
2040><P
2041>Check whether the character is allowed by the production
2042[85] BaseChar ::= ... long list see REC ...</P
2043><P
2044>VI is your friend !
2045:1,$ s/\[<GTKDOCLINK
2046HREF="X"
2047>x</GTKDOCLINK
2048>\([0-9A-Z]*\)-<GTKDOCLINK
2049HREF="X"
2050>x</GTKDOCLINK
2051>\([0-9A-Z]*\)\]/ (((c) &gt;= 0x\1) \&amp;\&amp; ((c) &lt;= 0x\2)) ||/
2052and
2053:1,$ s/<GTKDOCLINK
2054HREF="X"
2055>x</GTKDOCLINK
2056>\([0-9A-Z]*\)/ ((c) == 0x\1) ||/</P
2057><P
2058></P
2059><DIV
2060CLASS="INFORMALTABLE"
2061><P
2062></P
2063><TABLE
2064BORDER="0"
2065WIDTH="100%"
2066BGCOLOR="#FFD0D0"
2067CELLSPACING="0"
2068CELLPADDING="4"
2069CLASS="CALSTABLE"
2070><TR
2071><TD
2072WIDTH="20%"
2073ALIGN="RIGHT"
2074VALIGN="TOP"
2075><TT
2076CLASS="PARAMETER"
2077><I
2078>c</I
2079></TT
2080>&nbsp;:</TD
2081><TD
2082WIDTH="80%"
2083ALIGN="LEFT"
2084VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002085> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002086></TR
2087><TR
2088><TD
2089WIDTH="20%"
2090ALIGN="RIGHT"
2091VALIGN="TOP"
2092><I
2093CLASS="EMPHASIS"
2094>Returns</I
2095> :</TD
2096><TD
2097WIDTH="80%"
2098ALIGN="LEFT"
2099VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002100>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002101></TR
2102></TABLE
2103><P
2104></P
2105></DIV
2106></DIV
2107><HR><DIV
2108CLASS="REFSECT2"
2109><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002110NAME="AEN13731"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002111></A
2112><H3
2113><A
2114NAME="XMLISBLANK"
2115></A
2116>xmlIsBlank ()</H3
2117><TABLE
2118BORDER="0"
2119BGCOLOR="#D6E8FF"
2120WIDTH="100%"
2121CELLPADDING="6"
2122><TR
2123><TD
2124><PRE
2125CLASS="PROGRAMLISTING"
2126>int xmlIsBlank (int c);</PRE
2127></TD
2128></TR
2129></TABLE
2130><P
2131>Check whether the character is allowed by the production
2132[3] S ::= (<GTKDOCLINK
2133HREF="X20"
2134>x20</GTKDOCLINK
2135> | <GTKDOCLINK
2136HREF="X9"
2137>x9</GTKDOCLINK
2138> | <GTKDOCLINK
2139HREF="XD"
2140>xD</GTKDOCLINK
2141> | <GTKDOCLINK
2142HREF="XA"
2143>xA</GTKDOCLINK
2144>)+
2145Also available as a macro <A
2146HREF="gnome-xml-parserinternals.html#IS-BLANK"
2147>IS_BLANK</A
2148>()</P
2149><P
2150></P
2151><DIV
2152CLASS="INFORMALTABLE"
2153><P
2154></P
2155><TABLE
2156BORDER="0"
2157WIDTH="100%"
2158BGCOLOR="#FFD0D0"
2159CELLSPACING="0"
2160CELLPADDING="4"
2161CLASS="CALSTABLE"
2162><TR
2163><TD
2164WIDTH="20%"
2165ALIGN="RIGHT"
2166VALIGN="TOP"
2167><TT
2168CLASS="PARAMETER"
2169><I
2170>c</I
2171></TT
2172>&nbsp;:</TD
2173><TD
2174WIDTH="80%"
2175ALIGN="LEFT"
2176VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002177> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002178></TR
2179><TR
2180><TD
2181WIDTH="20%"
2182ALIGN="RIGHT"
2183VALIGN="TOP"
2184><I
2185CLASS="EMPHASIS"
2186>Returns</I
2187> :</TD
2188><TD
2189WIDTH="80%"
2190ALIGN="LEFT"
2191VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002192>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002193></TR
2194></TABLE
2195><P
2196></P
2197></DIV
2198></DIV
2199><HR><DIV
2200CLASS="REFSECT2"
2201><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002202NAME="AEN13755"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002203></A
2204><H3
2205><A
2206NAME="XMLISPUBIDCHAR"
2207></A
2208>xmlIsPubidChar ()</H3
2209><TABLE
2210BORDER="0"
2211BGCOLOR="#D6E8FF"
2212WIDTH="100%"
2213CELLPADDING="6"
2214><TR
2215><TD
2216><PRE
2217CLASS="PROGRAMLISTING"
2218>int xmlIsPubidChar (int c);</PRE
2219></TD
2220></TR
2221></TABLE
2222><P
2223>Check whether the character is allowed by the production
2224[13] PubidChar ::= <GTKDOCLINK
2225HREF="X20"
2226>x20</GTKDOCLINK
2227> | <GTKDOCLINK
2228HREF="XD"
2229>xD</GTKDOCLINK
2230> | <GTKDOCLINK
2231HREF="XA"
2232>xA</GTKDOCLINK
2233> | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]</P
2234><P
2235></P
2236><DIV
2237CLASS="INFORMALTABLE"
2238><P
2239></P
2240><TABLE
2241BORDER="0"
2242WIDTH="100%"
2243BGCOLOR="#FFD0D0"
2244CELLSPACING="0"
2245CELLPADDING="4"
2246CLASS="CALSTABLE"
2247><TR
2248><TD
2249WIDTH="20%"
2250ALIGN="RIGHT"
2251VALIGN="TOP"
2252><TT
2253CLASS="PARAMETER"
2254><I
2255>c</I
2256></TT
2257>&nbsp;:</TD
2258><TD
2259WIDTH="80%"
2260ALIGN="LEFT"
2261VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002262> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002263></TR
2264><TR
2265><TD
2266WIDTH="20%"
2267ALIGN="RIGHT"
2268VALIGN="TOP"
2269><I
2270CLASS="EMPHASIS"
2271>Returns</I
2272> :</TD
2273><TD
2274WIDTH="80%"
2275ALIGN="LEFT"
2276VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002277>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002278></TR
2279></TABLE
2280><P
2281></P
2282></DIV
2283></DIV
2284><HR><DIV
2285CLASS="REFSECT2"
2286><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002287NAME="AEN13777"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002288></A
2289><H3
2290><A
2291NAME="XMLISLETTER"
2292></A
2293>xmlIsLetter ()</H3
2294><TABLE
2295BORDER="0"
2296BGCOLOR="#D6E8FF"
2297WIDTH="100%"
2298CELLPADDING="6"
2299><TR
2300><TD
2301><PRE
2302CLASS="PROGRAMLISTING"
2303>int xmlIsLetter (int c);</PRE
2304></TD
2305></TR
2306></TABLE
2307><P
2308>Check whether the character is allowed by the production
2309[84] Letter ::= BaseChar | Ideographic</P
2310><P
2311></P
2312><DIV
2313CLASS="INFORMALTABLE"
2314><P
2315></P
2316><TABLE
2317BORDER="0"
2318WIDTH="100%"
2319BGCOLOR="#FFD0D0"
2320CELLSPACING="0"
2321CELLPADDING="4"
2322CLASS="CALSTABLE"
2323><TR
2324><TD
2325WIDTH="20%"
2326ALIGN="RIGHT"
2327VALIGN="TOP"
2328><TT
2329CLASS="PARAMETER"
2330><I
2331>c</I
2332></TT
2333>&nbsp;:</TD
2334><TD
2335WIDTH="80%"
2336ALIGN="LEFT"
2337VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002338> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002339></TR
2340><TR
2341><TD
2342WIDTH="20%"
2343ALIGN="RIGHT"
2344VALIGN="TOP"
2345><I
2346CLASS="EMPHASIS"
2347>Returns</I
2348> :</TD
2349><TD
2350WIDTH="80%"
2351ALIGN="LEFT"
2352VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002353>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002354></TR
2355></TABLE
2356><P
2357></P
2358></DIV
2359></DIV
2360><HR><DIV
2361CLASS="REFSECT2"
2362><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002363NAME="AEN13796"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002364></A
2365><H3
2366><A
2367NAME="XMLISDIGIT"
2368></A
2369>xmlIsDigit ()</H3
2370><TABLE
2371BORDER="0"
2372BGCOLOR="#D6E8FF"
2373WIDTH="100%"
2374CELLPADDING="6"
2375><TR
2376><TD
2377><PRE
2378CLASS="PROGRAMLISTING"
2379>int xmlIsDigit (int c);</PRE
2380></TD
2381></TR
2382></TABLE
2383><P
2384>Check whether the character is allowed by the production
2385[88] Digit ::= ... long list see REC ...</P
2386><P
2387></P
2388><DIV
2389CLASS="INFORMALTABLE"
2390><P
2391></P
2392><TABLE
2393BORDER="0"
2394WIDTH="100%"
2395BGCOLOR="#FFD0D0"
2396CELLSPACING="0"
2397CELLPADDING="4"
2398CLASS="CALSTABLE"
2399><TR
2400><TD
2401WIDTH="20%"
2402ALIGN="RIGHT"
2403VALIGN="TOP"
2404><TT
2405CLASS="PARAMETER"
2406><I
2407>c</I
2408></TT
2409>&nbsp;:</TD
2410><TD
2411WIDTH="80%"
2412ALIGN="LEFT"
2413VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002414> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002415></TR
2416><TR
2417><TD
2418WIDTH="20%"
2419ALIGN="RIGHT"
2420VALIGN="TOP"
2421><I
2422CLASS="EMPHASIS"
2423>Returns</I
2424> :</TD
2425><TD
2426WIDTH="80%"
2427ALIGN="LEFT"
2428VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002429>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002430></TR
2431></TABLE
2432><P
2433></P
2434></DIV
2435></DIV
2436><HR><DIV
2437CLASS="REFSECT2"
2438><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002439NAME="AEN13815"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002440></A
2441><H3
2442><A
2443NAME="XMLISIDEOGRAPHIC"
2444></A
2445>xmlIsIdeographic ()</H3
2446><TABLE
2447BORDER="0"
2448BGCOLOR="#D6E8FF"
2449WIDTH="100%"
2450CELLPADDING="6"
2451><TR
2452><TD
2453><PRE
2454CLASS="PROGRAMLISTING"
2455>int xmlIsIdeographic (int c);</PRE
2456></TD
2457></TR
2458></TABLE
2459><P
2460>Check whether the character is allowed by the production
2461[86] Ideographic ::= [<GTKDOCLINK
2462HREF="X4E00-"
2463>x4E00-</GTKDOCLINK
2464><GTKDOCLINK
2465HREF="X9FA5"
2466>x9FA5</GTKDOCLINK
2467>] | <GTKDOCLINK
2468HREF="X3007"
2469>x3007</GTKDOCLINK
2470> | [<GTKDOCLINK
2471HREF="X3021-"
2472>x3021-</GTKDOCLINK
2473><GTKDOCLINK
2474HREF="X3029"
2475>x3029</GTKDOCLINK
2476>]</P
2477><P
2478></P
2479><DIV
2480CLASS="INFORMALTABLE"
2481><P
2482></P
2483><TABLE
2484BORDER="0"
2485WIDTH="100%"
2486BGCOLOR="#FFD0D0"
2487CELLSPACING="0"
2488CELLPADDING="4"
2489CLASS="CALSTABLE"
2490><TR
2491><TD
2492WIDTH="20%"
2493ALIGN="RIGHT"
2494VALIGN="TOP"
2495><TT
2496CLASS="PARAMETER"
2497><I
2498>c</I
2499></TT
2500>&nbsp;:</TD
2501><TD
2502WIDTH="80%"
2503ALIGN="LEFT"
2504VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002505> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002506></TR
2507><TR
2508><TD
2509WIDTH="20%"
2510ALIGN="RIGHT"
2511VALIGN="TOP"
2512><I
2513CLASS="EMPHASIS"
2514>Returns</I
2515> :</TD
2516><TD
2517WIDTH="80%"
2518ALIGN="LEFT"
2519VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002520>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002521></TR
2522></TABLE
2523><P
2524></P
2525></DIV
2526></DIV
2527><HR><DIV
2528CLASS="REFSECT2"
2529><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002530NAME="AEN13839"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002531></A
2532><H3
2533><A
2534NAME="XMLISCOMBINING"
2535></A
2536>xmlIsCombining ()</H3
2537><TABLE
2538BORDER="0"
2539BGCOLOR="#D6E8FF"
2540WIDTH="100%"
2541CELLPADDING="6"
2542><TR
2543><TD
2544><PRE
2545CLASS="PROGRAMLISTING"
2546>int xmlIsCombining (int c);</PRE
2547></TD
2548></TR
2549></TABLE
2550><P
2551>Check whether the character is allowed by the production
2552[87] CombiningChar ::= ... long list see REC ...</P
2553><P
2554></P
2555><DIV
2556CLASS="INFORMALTABLE"
2557><P
2558></P
2559><TABLE
2560BORDER="0"
2561WIDTH="100%"
2562BGCOLOR="#FFD0D0"
2563CELLSPACING="0"
2564CELLPADDING="4"
2565CLASS="CALSTABLE"
2566><TR
2567><TD
2568WIDTH="20%"
2569ALIGN="RIGHT"
2570VALIGN="TOP"
2571><TT
2572CLASS="PARAMETER"
2573><I
2574>c</I
2575></TT
2576>&nbsp;:</TD
2577><TD
2578WIDTH="80%"
2579ALIGN="LEFT"
2580VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002581> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002582></TR
2583><TR
2584><TD
2585WIDTH="20%"
2586ALIGN="RIGHT"
2587VALIGN="TOP"
2588><I
2589CLASS="EMPHASIS"
2590>Returns</I
2591> :</TD
2592><TD
2593WIDTH="80%"
2594ALIGN="LEFT"
2595VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002596>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002597></TR
2598></TABLE
2599><P
2600></P
2601></DIV
2602></DIV
2603><HR><DIV
2604CLASS="REFSECT2"
2605><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002606NAME="AEN13858"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002607></A
2608><H3
2609><A
2610NAME="XMLISEXTENDER"
2611></A
2612>xmlIsExtender ()</H3
2613><TABLE
2614BORDER="0"
2615BGCOLOR="#D6E8FF"
2616WIDTH="100%"
2617CELLPADDING="6"
2618><TR
2619><TD
2620><PRE
2621CLASS="PROGRAMLISTING"
2622>int xmlIsExtender (int c);</PRE
2623></TD
2624></TR
2625></TABLE
2626><P
2627>Check whether the character is allowed by the production
2628[89] Extender ::= <GTKDOCLINK
2629HREF="X00B7"
2630>x00B7</GTKDOCLINK
2631> | <GTKDOCLINK
2632HREF="X02D0"
2633>x02D0</GTKDOCLINK
2634> | <GTKDOCLINK
2635HREF="X02D1"
2636>x02D1</GTKDOCLINK
2637> | <GTKDOCLINK
2638HREF="X0387"
2639>x0387</GTKDOCLINK
2640> | <GTKDOCLINK
2641HREF="X0640"
2642>x0640</GTKDOCLINK
2643> |
2644<GTKDOCLINK
2645HREF="X0E46"
2646>x0E46</GTKDOCLINK
2647> | <GTKDOCLINK
2648HREF="X0EC6"
2649>x0EC6</GTKDOCLINK
2650> | <GTKDOCLINK
2651HREF="X3005"
2652>x3005</GTKDOCLINK
2653> | [<GTKDOCLINK
2654HREF="X3031-"
2655>x3031-</GTKDOCLINK
2656><GTKDOCLINK
2657HREF="X3035"
2658>x3035</GTKDOCLINK
2659>] |
2660[<GTKDOCLINK
2661HREF="X309D-"
2662>x309D-</GTKDOCLINK
2663><GTKDOCLINK
2664HREF="X309E"
2665>x309E</GTKDOCLINK
2666>] | [<GTKDOCLINK
2667HREF="X30FC-"
2668>x30FC-</GTKDOCLINK
2669><GTKDOCLINK
2670HREF="X30FE"
2671>x30FE</GTKDOCLINK
2672>]</P
2673><P
2674></P
2675><DIV
2676CLASS="INFORMALTABLE"
2677><P
2678></P
2679><TABLE
2680BORDER="0"
2681WIDTH="100%"
2682BGCOLOR="#FFD0D0"
2683CELLSPACING="0"
2684CELLPADDING="4"
2685CLASS="CALSTABLE"
2686><TR
2687><TD
2688WIDTH="20%"
2689ALIGN="RIGHT"
2690VALIGN="TOP"
2691><TT
2692CLASS="PARAMETER"
2693><I
2694>c</I
2695></TT
2696>&nbsp;:</TD
2697><TD
2698WIDTH="80%"
2699ALIGN="LEFT"
2700VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002701> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002702></TR
2703><TR
2704><TD
2705WIDTH="20%"
2706ALIGN="RIGHT"
2707VALIGN="TOP"
2708><I
2709CLASS="EMPHASIS"
2710>Returns</I
2711> :</TD
2712><TD
2713WIDTH="80%"
2714ALIGN="LEFT"
2715VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002716>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002717></TR
2718></TABLE
2719><P
2720></P
2721></DIV
2722></DIV
2723><HR><DIV
2724CLASS="REFSECT2"
2725><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002726NAME="AEN13891"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002727></A
2728><H3
2729><A
2730NAME="XMLISCHAR"
2731></A
2732>xmlIsChar ()</H3
2733><TABLE
2734BORDER="0"
2735BGCOLOR="#D6E8FF"
2736WIDTH="100%"
2737CELLPADDING="6"
2738><TR
2739><TD
2740><PRE
2741CLASS="PROGRAMLISTING"
2742>int xmlIsChar (int c);</PRE
2743></TD
2744></TR
2745></TABLE
2746><P
2747>Check whether the character is allowed by the production
2748[2] Char ::= <GTKDOCLINK
2749HREF="X9"
2750>x9</GTKDOCLINK
2751> | <GTKDOCLINK
2752HREF="XA"
2753>xA</GTKDOCLINK
2754> | <GTKDOCLINK
2755HREF="XD"
2756>xD</GTKDOCLINK
2757> | [<GTKDOCLINK
2758HREF="X20-"
2759>x20-</GTKDOCLINK
2760><GTKDOCLINK
2761HREF="XD7FF"
2762>xD7FF</GTKDOCLINK
2763>] | [<GTKDOCLINK
2764HREF="XE000-"
2765>xE000-</GTKDOCLINK
2766><GTKDOCLINK
2767HREF="XFFFD"
2768>xFFFD</GTKDOCLINK
2769>]
2770| [<GTKDOCLINK
2771HREF="X10000-"
2772>x10000-</GTKDOCLINK
2773><GTKDOCLINK
2774HREF="X10FFFF"
2775>x10FFFF</GTKDOCLINK
2776>]
2777any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.
2778Also available as a macro <A
2779HREF="gnome-xml-parserinternals.html#IS-CHAR"
2780>IS_CHAR</A
2781>()</P
2782><P
2783></P
2784><DIV
2785CLASS="INFORMALTABLE"
2786><P
2787></P
2788><TABLE
2789BORDER="0"
2790WIDTH="100%"
2791BGCOLOR="#FFD0D0"
2792CELLSPACING="0"
2793CELLPADDING="4"
2794CLASS="CALSTABLE"
2795><TR
2796><TD
2797WIDTH="20%"
2798ALIGN="RIGHT"
2799VALIGN="TOP"
2800><TT
2801CLASS="PARAMETER"
2802><I
2803>c</I
2804></TT
2805>&nbsp;:</TD
2806><TD
2807WIDTH="80%"
2808ALIGN="LEFT"
2809VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002810> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002811></TR
2812><TR
2813><TD
2814WIDTH="20%"
2815ALIGN="RIGHT"
2816VALIGN="TOP"
2817><I
2818CLASS="EMPHASIS"
2819>Returns</I
2820> :</TD
2821><TD
2822WIDTH="80%"
2823ALIGN="LEFT"
2824VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002825>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002826></TR
2827></TABLE
2828><P
2829></P
2830></DIV
2831></DIV
2832><HR><DIV
2833CLASS="REFSECT2"
2834><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002835NAME="AEN13920"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002836></A
2837><H3
2838><A
2839NAME="XMLCREATEDOCPARSERCTXT"
2840></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002841>xmlCreateDocParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00002842><TABLE
2843BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002844BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002845WIDTH="100%"
2846CELLPADDING="6"
2847><TR
2848><TD
2849><PRE
2850CLASS="PROGRAMLISTING"
2851><A
2852HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2853>xmlParserCtxtPtr</A
2854> xmlCreateDocParserCtxt (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002855HREF="gnome-xml-tree.html#XMLCHAR"
2856>xmlChar</A
Daniel Veillardd692aa41999-02-28 21:54:31 +00002857> *cur);</PRE
2858></TD
2859></TR
2860></TABLE
2861><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002862>Creates a parser context for an XML in-memory document.</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00002863><P
Daniel Veillardd692aa41999-02-28 21:54:31 +00002864></P
2865><DIV
2866CLASS="INFORMALTABLE"
2867><P
2868></P
2869><TABLE
2870BORDER="0"
2871WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002872BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002873CELLSPACING="0"
2874CELLPADDING="4"
2875CLASS="CALSTABLE"
2876><TR
2877><TD
2878WIDTH="20%"
2879ALIGN="RIGHT"
2880VALIGN="TOP"
2881><TT
2882CLASS="PARAMETER"
2883><I
2884>cur</I
2885></TT
2886>&nbsp;:</TD
2887><TD
2888WIDTH="80%"
2889ALIGN="LEFT"
2890VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002891>&nbsp;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002892></TR
2893><TR
2894><TD
2895WIDTH="20%"
2896ALIGN="RIGHT"
2897VALIGN="TOP"
2898><I
2899CLASS="EMPHASIS"
2900>Returns</I
2901> :</TD
2902><TD
2903WIDTH="80%"
2904ALIGN="LEFT"
2905VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002906>&nbsp;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002907></TR
2908></TABLE
2909><P
2910></P
2911></DIV
2912></DIV
2913><HR><DIV
2914CLASS="REFSECT2"
2915><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002916NAME="AEN13941"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002917></A
2918><H3
2919><A
2920NAME="XMLCREATEFILEPARSERCTXT"
2921></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002922>xmlCreateFileParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00002923><TABLE
2924BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002925BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002926WIDTH="100%"
2927CELLPADDING="6"
2928><TR
2929><TD
2930><PRE
2931CLASS="PROGRAMLISTING"
2932><A
2933HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2934>xmlParserCtxtPtr</A
2935> xmlCreateFileParserCtxt (const char *filename);</PRE
2936></TD
2937></TR
2938></TABLE
2939><P
2940>Create a parser context for a file content.
2941Automatic support for ZLIB/Compress compressed document is provided
2942by default if found at compile-time.</P
2943><P
2944></P
2945><DIV
2946CLASS="INFORMALTABLE"
2947><P
2948></P
2949><TABLE
2950BORDER="0"
2951WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002952BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002953CELLSPACING="0"
2954CELLPADDING="4"
2955CLASS="CALSTABLE"
2956><TR
2957><TD
2958WIDTH="20%"
2959ALIGN="RIGHT"
2960VALIGN="TOP"
2961><TT
2962CLASS="PARAMETER"
2963><I
2964>filename</I
2965></TT
2966>&nbsp;:</TD
2967><TD
2968WIDTH="80%"
2969ALIGN="LEFT"
2970VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002971> the filename</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002972></TR
2973><TR
2974><TD
2975WIDTH="20%"
2976ALIGN="RIGHT"
2977VALIGN="TOP"
2978><I
2979CLASS="EMPHASIS"
2980>Returns</I
2981> :</TD
2982><TD
2983WIDTH="80%"
2984ALIGN="LEFT"
2985VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002986>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002987></TR
2988></TABLE
2989><P
2990></P
2991></DIV
2992></DIV
2993><HR><DIV
2994CLASS="REFSECT2"
2995><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002996NAME="AEN13961"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002997></A
2998><H3
2999><A
3000NAME="XMLCREATEMEMORYPARSERCTXT"
3001></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003002>xmlCreateMemoryParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00003003><TABLE
3004BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003005BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00003006WIDTH="100%"
3007CELLPADDING="6"
3008><TR
3009><TD
3010><PRE
3011CLASS="PROGRAMLISTING"
3012><A
3013HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3014>xmlParserCtxtPtr</A
3015> xmlCreateMemoryParserCtxt (char *buffer,
3016 int size);</PRE
3017></TD
3018></TR
3019></TABLE
3020><P
3021>Create a parser context for an XML in-memory document.</P
3022><P
3023></P
3024><DIV
3025CLASS="INFORMALTABLE"
3026><P
3027></P
3028><TABLE
3029BORDER="0"
3030WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003031BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00003032CELLSPACING="0"
3033CELLPADDING="4"
3034CLASS="CALSTABLE"
3035><TR
3036><TD
3037WIDTH="20%"
3038ALIGN="RIGHT"
3039VALIGN="TOP"
3040><TT
3041CLASS="PARAMETER"
3042><I
3043>buffer</I
3044></TT
3045>&nbsp;:</TD
3046><TD
3047WIDTH="80%"
3048ALIGN="LEFT"
3049VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003050> a pointer to a char array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00003051></TR
3052><TR
3053><TD
3054WIDTH="20%"
3055ALIGN="RIGHT"
3056VALIGN="TOP"
3057><TT
3058CLASS="PARAMETER"
3059><I
3060>size</I
3061></TT
3062>&nbsp;:</TD
3063><TD
3064WIDTH="80%"
3065ALIGN="LEFT"
3066VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003067> the size of the array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00003068></TR
3069><TR
3070><TD
3071WIDTH="20%"
3072ALIGN="RIGHT"
3073VALIGN="TOP"
3074><I
3075CLASS="EMPHASIS"
3076>Returns</I
3077> :</TD
3078><TD
3079WIDTH="80%"
3080ALIGN="LEFT"
3081VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003082>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00003083></TR
3084></TABLE
3085><P
3086></P
3087></DIV
3088></DIV
3089><HR><DIV
3090CLASS="REFSECT2"
3091><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003092NAME="AEN13985"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003093></A
3094><H3
3095><A
3096NAME="XMLNEWPARSERCTXT"
3097></A
3098>xmlNewParserCtxt ()</H3
3099><TABLE
3100BORDER="0"
3101BGCOLOR="#D6E8FF"
3102WIDTH="100%"
3103CELLPADDING="6"
3104><TR
3105><TD
3106><PRE
3107CLASS="PROGRAMLISTING"
3108><A
3109HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3110>xmlParserCtxtPtr</A
3111> xmlNewParserCtxt (void);</PRE
3112></TD
3113></TR
3114></TABLE
3115><P
3116>Allocate and initialize a new parser context.</P
3117><P
3118></P
3119><DIV
3120CLASS="INFORMALTABLE"
3121><P
3122></P
3123><TABLE
3124BORDER="0"
3125WIDTH="100%"
3126BGCOLOR="#FFD0D0"
3127CELLSPACING="0"
3128CELLPADDING="4"
3129CLASS="CALSTABLE"
3130><TR
3131><TD
3132WIDTH="20%"
3133ALIGN="RIGHT"
3134VALIGN="TOP"
3135><I
3136CLASS="EMPHASIS"
3137>Returns</I
3138> :</TD
3139><TD
3140WIDTH="80%"
3141ALIGN="LEFT"
3142VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003143>the xmlParserCtxtPtr or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003144></TR
3145></TABLE
3146><P
3147></P
3148></DIV
3149></DIV
3150><HR><DIV
3151CLASS="REFSECT2"
3152><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003153NAME="AEN14001"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003154></A
3155><H3
3156><A
3157NAME="XMLCREATEENTITYPARSERCTXT"
3158></A
3159>xmlCreateEntityParserCtxt ()</H3
3160><TABLE
3161BORDER="0"
3162BGCOLOR="#D6E8FF"
3163WIDTH="100%"
3164CELLPADDING="6"
3165><TR
3166><TD
3167><PRE
3168CLASS="PROGRAMLISTING"
3169><A
3170HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3171>xmlParserCtxtPtr</A
3172> xmlCreateEntityParserCtxt (const <A
3173HREF="gnome-xml-tree.html#XMLCHAR"
3174>xmlChar</A
3175> *URL,
3176 const <A
3177HREF="gnome-xml-tree.html#XMLCHAR"
3178>xmlChar</A
3179> *ID,
3180 const <A
3181HREF="gnome-xml-tree.html#XMLCHAR"
3182>xmlChar</A
3183> *base);</PRE
3184></TD
3185></TR
3186></TABLE
3187><P
3188>Create a parser context for an external entity
3189Automatic support for ZLIB/Compress compressed document is provided
3190by default if found at compile-time.</P
3191><P
3192></P
3193><DIV
3194CLASS="INFORMALTABLE"
3195><P
3196></P
3197><TABLE
3198BORDER="0"
3199WIDTH="100%"
3200BGCOLOR="#FFD0D0"
3201CELLSPACING="0"
3202CELLPADDING="4"
3203CLASS="CALSTABLE"
3204><TR
3205><TD
3206WIDTH="20%"
3207ALIGN="RIGHT"
3208VALIGN="TOP"
3209><TT
3210CLASS="PARAMETER"
3211><I
3212>URL</I
3213></TT
3214>&nbsp;:</TD
3215><TD
3216WIDTH="80%"
3217ALIGN="LEFT"
3218VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003219> the entity URL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003220></TR
3221><TR
3222><TD
3223WIDTH="20%"
3224ALIGN="RIGHT"
3225VALIGN="TOP"
3226><TT
3227CLASS="PARAMETER"
3228><I
3229>ID</I
3230></TT
3231>&nbsp;:</TD
3232><TD
3233WIDTH="80%"
3234ALIGN="LEFT"
3235VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003236> the entity PUBLIC ID</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003237></TR
3238><TR
3239><TD
3240WIDTH="20%"
3241ALIGN="RIGHT"
3242VALIGN="TOP"
3243><TT
3244CLASS="PARAMETER"
3245><I
3246>base</I
3247></TT
3248>&nbsp;:</TD
3249><TD
3250WIDTH="80%"
3251ALIGN="LEFT"
3252VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003253> a posible base for the target URI</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003254></TR
3255><TR
3256><TD
3257WIDTH="20%"
3258ALIGN="RIGHT"
3259VALIGN="TOP"
3260><I
3261CLASS="EMPHASIS"
3262>Returns</I
3263> :</TD
3264><TD
3265WIDTH="80%"
3266ALIGN="LEFT"
3267VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003268>the new parser context or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003269></TR
3270></TABLE
3271><P
3272></P
3273></DIV
3274></DIV
3275><HR><DIV
3276CLASS="REFSECT2"
3277><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003278NAME="AEN14032"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003279></A
3280><H3
3281><A
3282NAME="XMLSWITCHENCODING"
3283></A
3284>xmlSwitchEncoding ()</H3
3285><TABLE
3286BORDER="0"
3287BGCOLOR="#D6E8FF"
3288WIDTH="100%"
3289CELLPADDING="6"
3290><TR
3291><TD
3292><PRE
3293CLASS="PROGRAMLISTING"
3294>int xmlSwitchEncoding (<A
3295HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3296>xmlParserCtxtPtr</A
3297> ctxt,
3298 <A
3299HREF="gnome-xml-encoding.html#XMLCHARENCODING"
3300>xmlCharEncoding</A
3301> enc);</PRE
3302></TD
3303></TR
3304></TABLE
3305><P
3306>change the input functions when discovering the character encoding
3307of a given entity.</P
3308><P
3309></P
3310><DIV
3311CLASS="INFORMALTABLE"
3312><P
3313></P
3314><TABLE
3315BORDER="0"
3316WIDTH="100%"
3317BGCOLOR="#FFD0D0"
3318CELLSPACING="0"
3319CELLPADDING="4"
3320CLASS="CALSTABLE"
3321><TR
3322><TD
3323WIDTH="20%"
3324ALIGN="RIGHT"
3325VALIGN="TOP"
3326><TT
3327CLASS="PARAMETER"
3328><I
3329>ctxt</I
3330></TT
3331>&nbsp;:</TD
3332><TD
3333WIDTH="80%"
3334ALIGN="LEFT"
3335VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003336> the parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003337></TR
3338><TR
3339><TD
3340WIDTH="20%"
3341ALIGN="RIGHT"
3342VALIGN="TOP"
3343><TT
3344CLASS="PARAMETER"
3345><I
3346>enc</I
3347></TT
3348>&nbsp;:</TD
3349><TD
3350WIDTH="80%"
3351ALIGN="LEFT"
3352VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003353> the encoding value (number)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003354></TR
3355><TR
3356><TD
3357WIDTH="20%"
3358ALIGN="RIGHT"
3359VALIGN="TOP"
3360><I
3361CLASS="EMPHASIS"
3362>Returns</I
3363> :</TD
3364><TD
3365WIDTH="80%"
3366ALIGN="LEFT"
3367VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003368>0 in case of success, -1 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003369></TR
3370></TABLE
3371><P
3372></P
3373></DIV
3374></DIV
3375><HR><DIV
3376CLASS="REFSECT2"
3377><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003378NAME="AEN14057"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003379></A
3380><H3
3381><A
3382NAME="XMLSWITCHTOENCODING"
3383></A
3384>xmlSwitchToEncoding ()</H3
3385><TABLE
3386BORDER="0"
3387BGCOLOR="#D6E8FF"
3388WIDTH="100%"
3389CELLPADDING="6"
3390><TR
3391><TD
3392><PRE
3393CLASS="PROGRAMLISTING"
3394>int xmlSwitchToEncoding (<A
3395HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3396>xmlParserCtxtPtr</A
3397> ctxt,
3398 <A
3399HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR"
3400>xmlCharEncodingHandlerPtr</A
3401> handler);</PRE
3402></TD
3403></TR
3404></TABLE
3405><P
3406>change the input functions when discovering the character encoding
3407of a given entity.</P
3408><P
3409></P
3410><DIV
3411CLASS="INFORMALTABLE"
3412><P
3413></P
3414><TABLE
3415BORDER="0"
3416WIDTH="100%"
3417BGCOLOR="#FFD0D0"
3418CELLSPACING="0"
3419CELLPADDING="4"
3420CLASS="CALSTABLE"
3421><TR
3422><TD
3423WIDTH="20%"
3424ALIGN="RIGHT"
3425VALIGN="TOP"
3426><TT
3427CLASS="PARAMETER"
3428><I
3429>ctxt</I
3430></TT
3431>&nbsp;:</TD
3432><TD
3433WIDTH="80%"
3434ALIGN="LEFT"
3435VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003436> the parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003437></TR
3438><TR
3439><TD
3440WIDTH="20%"
3441ALIGN="RIGHT"
3442VALIGN="TOP"
3443><TT
3444CLASS="PARAMETER"
3445><I
3446>handler</I
3447></TT
3448>&nbsp;:</TD
3449><TD
3450WIDTH="80%"
3451ALIGN="LEFT"
3452VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003453> the encoding handler</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003454></TR
3455><TR
3456><TD
3457WIDTH="20%"
3458ALIGN="RIGHT"
3459VALIGN="TOP"
3460><I
3461CLASS="EMPHASIS"
3462>Returns</I
3463> :</TD
3464><TD
3465WIDTH="80%"
3466ALIGN="LEFT"
3467VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003468>0 in case of success, -1 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003469></TR
3470></TABLE
3471><P
3472></P
3473></DIV
3474></DIV
3475><HR><DIV
3476CLASS="REFSECT2"
3477><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003478NAME="AEN14082"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003479></A
3480><H3
3481><A
3482NAME="XMLFREEPARSERCTXT"
3483></A
3484>xmlFreeParserCtxt ()</H3
3485><TABLE
3486BORDER="0"
3487BGCOLOR="#D6E8FF"
3488WIDTH="100%"
3489CELLPADDING="6"
3490><TR
3491><TD
3492><PRE
3493CLASS="PROGRAMLISTING"
3494>void xmlFreeParserCtxt (<A
3495HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3496>xmlParserCtxtPtr</A
3497> ctxt);</PRE
3498></TD
3499></TR
3500></TABLE
3501><P
3502>Free all the memory used by a parser context. However the parsed
3503document in ctxt-&gt;myDoc is not freed.</P
3504><P
3505></P
3506><DIV
3507CLASS="INFORMALTABLE"
3508><P
3509></P
3510><TABLE
3511BORDER="0"
3512WIDTH="100%"
3513BGCOLOR="#FFD0D0"
3514CELLSPACING="0"
3515CELLPADDING="4"
3516CLASS="CALSTABLE"
3517><TR
3518><TD
3519WIDTH="20%"
3520ALIGN="RIGHT"
3521VALIGN="TOP"
3522><TT
3523CLASS="PARAMETER"
3524><I
3525>ctxt</I
3526></TT
3527>&nbsp;:</TD
3528><TD
3529WIDTH="80%"
3530ALIGN="LEFT"
3531VALIGN="TOP"
3532>&nbsp;</TD
3533></TR
3534></TABLE
3535><P
3536></P
3537></DIV
3538></DIV
3539><HR><DIV
3540CLASS="REFSECT2"
3541><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003542NAME="AEN14098"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003543></A
3544><H3
3545><A
3546NAME="XMLHANDLEENTITY"
3547></A
3548>xmlHandleEntity ()</H3
3549><TABLE
3550BORDER="0"
3551BGCOLOR="#D6E8FF"
3552WIDTH="100%"
3553CELLPADDING="6"
3554><TR
3555><TD
3556><PRE
3557CLASS="PROGRAMLISTING"
3558>void xmlHandleEntity (<A
3559HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3560>xmlParserCtxtPtr</A
3561> ctxt,
3562 <A
3563HREF="gnome-xml-entities.html#XMLENTITYPTR"
3564>xmlEntityPtr</A
3565> entity);</PRE
3566></TD
3567></TR
3568></TABLE
3569><P
3570>Default handling of defined entities, when should we define a new input
3571stream ? When do we just handle that as a set of chars ?</P
3572><P
3573>OBSOLETE: to be removed at some point.</P
3574><P
3575></P
3576><DIV
3577CLASS="INFORMALTABLE"
3578><P
3579></P
3580><TABLE
3581BORDER="0"
3582WIDTH="100%"
3583BGCOLOR="#FFD0D0"
3584CELLSPACING="0"
3585CELLPADDING="4"
3586CLASS="CALSTABLE"
3587><TR
3588><TD
3589WIDTH="20%"
3590ALIGN="RIGHT"
3591VALIGN="TOP"
3592><TT
3593CLASS="PARAMETER"
3594><I
3595>ctxt</I
3596></TT
3597>&nbsp;:</TD
3598><TD
3599WIDTH="80%"
3600ALIGN="LEFT"
3601VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003602> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003603></TR
3604><TR
3605><TD
3606WIDTH="20%"
3607ALIGN="RIGHT"
3608VALIGN="TOP"
3609><TT
3610CLASS="PARAMETER"
3611><I
3612>entity</I
3613></TT
3614>&nbsp;:</TD
3615><TD
3616WIDTH="80%"
3617ALIGN="LEFT"
3618VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003619> an XML entity pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003620></TR
3621></TABLE
3622><P
3623></P
3624></DIV
3625></DIV
3626><HR><DIV
3627CLASS="REFSECT2"
3628><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003629NAME="AEN14120"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003630></A
3631><H3
3632><A
3633NAME="XMLNEWENTITYINPUTSTREAM"
3634></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003635>xmlNewEntityInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003636><TABLE
3637BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003638BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003639WIDTH="100%"
3640CELLPADDING="6"
3641><TR
3642><TD
3643><PRE
3644CLASS="PROGRAMLISTING"
3645><A
3646HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
3647>xmlParserInputPtr</A
3648> xmlNewEntityInputStream (<A
3649HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3650>xmlParserCtxtPtr</A
3651> ctxt,
3652 <A
3653HREF="gnome-xml-entities.html#XMLENTITYPTR"
3654>xmlEntityPtr</A
3655> entity);</PRE
3656></TD
3657></TR
3658></TABLE
3659><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00003660>Create a new input stream based on an xmlEntityPtr</P
Daniel Veillardbc50b591999-03-01 12:28:53 +00003661><P
3662></P
3663><DIV
3664CLASS="INFORMALTABLE"
3665><P
3666></P
3667><TABLE
3668BORDER="0"
3669WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003670BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003671CELLSPACING="0"
3672CELLPADDING="4"
3673CLASS="CALSTABLE"
3674><TR
3675><TD
3676WIDTH="20%"
3677ALIGN="RIGHT"
3678VALIGN="TOP"
3679><TT
3680CLASS="PARAMETER"
3681><I
3682>ctxt</I
3683></TT
3684>&nbsp;:</TD
3685><TD
3686WIDTH="80%"
3687ALIGN="LEFT"
3688VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003689> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003690></TR
3691><TR
3692><TD
3693WIDTH="20%"
3694ALIGN="RIGHT"
3695VALIGN="TOP"
3696><TT
3697CLASS="PARAMETER"
3698><I
3699>entity</I
3700></TT
3701>&nbsp;:</TD
3702><TD
3703WIDTH="80%"
3704ALIGN="LEFT"
3705VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003706> an Entity pointer</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003707></TR
3708><TR
3709><TD
3710WIDTH="20%"
3711ALIGN="RIGHT"
3712VALIGN="TOP"
3713><I
3714CLASS="EMPHASIS"
3715>Returns</I
3716> :</TD
3717><TD
3718WIDTH="80%"
3719ALIGN="LEFT"
3720VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003721>the new input stream or NULL</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003722></TR
3723></TABLE
3724><P
3725></P
3726></DIV
3727></DIV
3728><HR><DIV
3729CLASS="REFSECT2"
3730><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003731NAME="AEN14146"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003732></A
3733><H3
3734><A
3735NAME="XMLPUSHINPUT"
3736></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003737>xmlPushInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003738><TABLE
3739BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003740BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003741WIDTH="100%"
3742CELLPADDING="6"
3743><TR
3744><TD
3745><PRE
3746CLASS="PROGRAMLISTING"
3747>void xmlPushInput (<A
3748HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3749>xmlParserCtxtPtr</A
3750> ctxt,
3751 <A
3752HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
3753>xmlParserInputPtr</A
3754> input);</PRE
3755></TD
3756></TR
3757></TABLE
3758><P
3759>xmlPushInput: switch to a new input stream which is stacked on top
3760of the previous one(s).</P
3761><P
3762></P
3763><DIV
3764CLASS="INFORMALTABLE"
3765><P
3766></P
3767><TABLE
3768BORDER="0"
3769WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003770BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003771CELLSPACING="0"
3772CELLPADDING="4"
3773CLASS="CALSTABLE"
3774><TR
3775><TD
3776WIDTH="20%"
3777ALIGN="RIGHT"
3778VALIGN="TOP"
3779><TT
3780CLASS="PARAMETER"
3781><I
3782>ctxt</I
3783></TT
3784>&nbsp;:</TD
3785><TD
3786WIDTH="80%"
3787ALIGN="LEFT"
3788VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003789> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003790></TR
3791><TR
3792><TD
3793WIDTH="20%"
3794ALIGN="RIGHT"
3795VALIGN="TOP"
3796><TT
3797CLASS="PARAMETER"
3798><I
3799>input</I
3800></TT
3801>&nbsp;:</TD
3802><TD
3803WIDTH="80%"
3804ALIGN="LEFT"
3805VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003806> an XML parser input fragment (entity, XML fragment ...).</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003807></TR
3808></TABLE
3809><P
3810></P
3811></DIV
3812></DIV
3813><HR><DIV
3814CLASS="REFSECT2"
3815><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003816NAME="AEN14167"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003817></A
3818><H3
3819><A
3820NAME="XMLPOPINPUT"
3821></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003822>xmlPopInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003823><TABLE
3824BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003825BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003826WIDTH="100%"
3827CELLPADDING="6"
3828><TR
3829><TD
3830><PRE
3831CLASS="PROGRAMLISTING"
3832><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003833HREF="gnome-xml-tree.html#XMLCHAR"
3834>xmlChar</A
3835> xmlPopInput (<A
Daniel Veillardbc50b591999-03-01 12:28:53 +00003836HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3837>xmlParserCtxtPtr</A
3838> ctxt);</PRE
3839></TD
3840></TR
3841></TABLE
3842><P
3843>xmlPopInput: the current input pointed by ctxt-&gt;input came to an end
3844pop it and return the next char.</P
3845><P
Daniel Veillardbc50b591999-03-01 12:28:53 +00003846></P
3847><DIV
3848CLASS="INFORMALTABLE"
3849><P
3850></P
3851><TABLE
3852BORDER="0"
3853WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003854BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003855CELLSPACING="0"
3856CELLPADDING="4"
3857CLASS="CALSTABLE"
3858><TR
3859><TD
3860WIDTH="20%"
3861ALIGN="RIGHT"
3862VALIGN="TOP"
3863><TT
3864CLASS="PARAMETER"
3865><I
3866>ctxt</I
3867></TT
3868>&nbsp;:</TD
3869><TD
3870WIDTH="80%"
3871ALIGN="LEFT"
3872VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003873> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003874></TR
3875><TR
3876><TD
3877WIDTH="20%"
3878ALIGN="RIGHT"
3879VALIGN="TOP"
3880><I
3881CLASS="EMPHASIS"
3882>Returns</I
3883> :</TD
3884><TD
3885WIDTH="80%"
3886ALIGN="LEFT"
3887VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003888>the current xmlChar in the parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003889></TR
3890></TABLE
3891><P
3892></P
3893></DIV
3894></DIV
3895><HR><DIV
3896CLASS="REFSECT2"
3897><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003898NAME="AEN14188"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003899></A
3900><H3
3901><A
3902NAME="XMLFREEINPUTSTREAM"
3903></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003904>xmlFreeInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003905><TABLE
3906BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003907BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003908WIDTH="100%"
3909CELLPADDING="6"
3910><TR
3911><TD
3912><PRE
3913CLASS="PROGRAMLISTING"
3914>void xmlFreeInputStream (<A
3915HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
3916>xmlParserInputPtr</A
3917> input);</PRE
3918></TD
3919></TR
3920></TABLE
3921><P
3922>Free up an input stream.</P
3923><P
3924></P
3925><DIV
3926CLASS="INFORMALTABLE"
3927><P
3928></P
3929><TABLE
3930BORDER="0"
3931WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003932BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003933CELLSPACING="0"
3934CELLPADDING="4"
3935CLASS="CALSTABLE"
3936><TR
3937><TD
3938WIDTH="20%"
3939ALIGN="RIGHT"
3940VALIGN="TOP"
3941><TT
3942CLASS="PARAMETER"
3943><I
3944>input</I
3945></TT
3946>&nbsp;:</TD
3947><TD
3948WIDTH="80%"
3949ALIGN="LEFT"
3950VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003951> an xmlParserInputPtr</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003952></TR
3953></TABLE
3954><P
3955></P
3956></DIV
3957></DIV
3958><HR><DIV
3959CLASS="REFSECT2"
3960><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003961NAME="AEN14204"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003962></A
3963><H3
3964><A
3965NAME="XMLNEWINPUTFROMFILE"
3966></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003967>xmlNewInputFromFile ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00003968><TABLE
3969BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003970BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003971WIDTH="100%"
3972CELLPADDING="6"
3973><TR
3974><TD
3975><PRE
3976CLASS="PROGRAMLISTING"
3977><A
3978HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
3979>xmlParserInputPtr</A
3980> xmlNewInputFromFile (<A
3981HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3982>xmlParserCtxtPtr</A
3983> ctxt,
3984 const char *filename);</PRE
3985></TD
3986></TR
3987></TABLE
3988><P
3989>Create a new input stream based on a file.</P
3990><P
3991></P
3992><DIV
3993CLASS="INFORMALTABLE"
3994><P
3995></P
3996><TABLE
3997BORDER="0"
3998WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003999BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004000CELLSPACING="0"
4001CELLPADDING="4"
4002CLASS="CALSTABLE"
4003><TR
4004><TD
4005WIDTH="20%"
4006ALIGN="RIGHT"
4007VALIGN="TOP"
4008><TT
4009CLASS="PARAMETER"
4010><I
4011>ctxt</I
4012></TT
4013>&nbsp;:</TD
4014><TD
4015WIDTH="80%"
4016ALIGN="LEFT"
4017VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004018> an XML parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00004019></TR
4020><TR
4021><TD
4022WIDTH="20%"
4023ALIGN="RIGHT"
4024VALIGN="TOP"
4025><TT
4026CLASS="PARAMETER"
4027><I
4028>filename</I
4029></TT
4030>&nbsp;:</TD
4031><TD
4032WIDTH="80%"
4033ALIGN="LEFT"
4034VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004035> the filename to use as entity</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00004036></TR
4037><TR
4038><TD
4039WIDTH="20%"
4040ALIGN="RIGHT"
4041VALIGN="TOP"
4042><I
4043CLASS="EMPHASIS"
4044>Returns</I
4045> :</TD
4046><TD
4047WIDTH="80%"
4048ALIGN="LEFT"
4049VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004050>the new input stream or NULL in case of error</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00004051></TR
4052></TABLE
4053><P
4054></P
4055></DIV
4056></DIV
4057><HR><DIV
4058CLASS="REFSECT2"
4059><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004060NAME="AEN14229"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004061></A
4062><H3
4063><A
4064NAME="XMLNEWINPUTSTREAM"
4065></A
4066>xmlNewInputStream ()</H3
4067><TABLE
4068BORDER="0"
4069BGCOLOR="#D6E8FF"
4070WIDTH="100%"
4071CELLPADDING="6"
4072><TR
4073><TD
4074><PRE
4075CLASS="PROGRAMLISTING"
4076><A
4077HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
4078>xmlParserInputPtr</A
4079> xmlNewInputStream (<A
4080HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4081>xmlParserCtxtPtr</A
4082> ctxt);</PRE
4083></TD
4084></TR
4085></TABLE
4086><P
4087>Create a new input stream structure</P
4088><P
4089></P
4090><DIV
4091CLASS="INFORMALTABLE"
4092><P
4093></P
4094><TABLE
4095BORDER="0"
4096WIDTH="100%"
4097BGCOLOR="#FFD0D0"
4098CELLSPACING="0"
4099CELLPADDING="4"
4100CLASS="CALSTABLE"
4101><TR
4102><TD
4103WIDTH="20%"
4104ALIGN="RIGHT"
4105VALIGN="TOP"
4106><TT
4107CLASS="PARAMETER"
4108><I
4109>ctxt</I
4110></TT
4111>&nbsp;:</TD
4112><TD
4113WIDTH="80%"
4114ALIGN="LEFT"
4115VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004116> an XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004117></TR
4118><TR
4119><TD
4120WIDTH="20%"
4121ALIGN="RIGHT"
4122VALIGN="TOP"
4123><I
4124CLASS="EMPHASIS"
4125>Returns</I
4126> :</TD
4127><TD
4128WIDTH="80%"
4129ALIGN="LEFT"
4130VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004131>the new input stream or NULL</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004132></TR
4133></TABLE
4134><P
4135></P
4136></DIV
4137></DIV
4138><HR><DIV
4139CLASS="REFSECT2"
4140><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004141NAME="AEN14250"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004142></A
4143><H3
4144><A
4145NAME="XMLSPLITQNAME"
4146></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004147>xmlSplitQName ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00004148><TABLE
4149BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004150BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004151WIDTH="100%"
4152CELLPADDING="6"
4153><TR
4154><TD
4155><PRE
4156CLASS="PROGRAMLISTING"
4157><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004158HREF="gnome-xml-tree.html#XMLCHAR"
4159>xmlChar</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004160>* xmlSplitQName (<A
4161HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4162>xmlParserCtxtPtr</A
4163> ctxt,
4164 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004165HREF="gnome-xml-tree.html#XMLCHAR"
4166>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004167> *name,
4168 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004169HREF="gnome-xml-tree.html#XMLCHAR"
4170>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004171> **prefix);</PRE
4172></TD
4173></TR
4174></TABLE
4175><P
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004176>parse an UTF8 encoded XML qualified name string</P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004177><P
4178>[NS 5] QName ::= (Prefix ':')? LocalPart</P
4179><P
4180>[NS 6] Prefix ::= NCName</P
4181><P
4182>[NS 7] LocalPart ::= NCName</P
4183><P
4184></P
4185><DIV
4186CLASS="INFORMALTABLE"
4187><P
4188></P
4189><TABLE
4190BORDER="0"
4191WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004192BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004193CELLSPACING="0"
4194CELLPADDING="4"
4195CLASS="CALSTABLE"
4196><TR
4197><TD
4198WIDTH="20%"
4199ALIGN="RIGHT"
4200VALIGN="TOP"
4201><TT
4202CLASS="PARAMETER"
4203><I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004204>ctxt</I
4205></TT
4206>&nbsp;:</TD
4207><TD
4208WIDTH="80%"
4209ALIGN="LEFT"
4210VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004211> an XML parser context</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004212></TR
4213><TR
4214><TD
4215WIDTH="20%"
4216ALIGN="RIGHT"
4217VALIGN="TOP"
4218><TT
4219CLASS="PARAMETER"
4220><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004221>name</I
4222></TT
4223>&nbsp;:</TD
4224><TD
4225WIDTH="80%"
4226ALIGN="LEFT"
4227VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004228> an XML parser context</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004229></TR
4230><TR
4231><TD
4232WIDTH="20%"
4233ALIGN="RIGHT"
4234VALIGN="TOP"
4235><TT
4236CLASS="PARAMETER"
4237><I
4238>prefix</I
4239></TT
4240>&nbsp;:</TD
4241><TD
4242WIDTH="80%"
4243ALIGN="LEFT"
4244VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004245> a xmlChar ** </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004246></TR
4247><TR
4248><TD
4249WIDTH="20%"
4250ALIGN="RIGHT"
4251VALIGN="TOP"
4252><I
4253CLASS="EMPHASIS"
4254>Returns</I
4255> :</TD
4256><TD
4257WIDTH="80%"
4258ALIGN="LEFT"
4259VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004260>the local part, and prefix is updated
4261to get the Prefix if any.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004262></TR
4263></TABLE
4264><P
4265></P
4266></DIV
4267></DIV
4268><HR><DIV
4269CLASS="REFSECT2"
4270><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004271NAME="AEN14284"
Daniel Veillard35925471999-02-25 08:46:07 +00004272></A
4273><H3
4274><A
4275NAME="XMLNAMESPACEPARSENCNAME"
4276></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004277>xmlNamespaceParseNCName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004278><TABLE
4279BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004280BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004281WIDTH="100%"
4282CELLPADDING="6"
4283><TR
4284><TD
4285><PRE
4286CLASS="PROGRAMLISTING"
4287><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004288HREF="gnome-xml-tree.html#XMLCHAR"
4289>xmlChar</A
4290>* xmlNamespaceParseNCName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004291HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4292>xmlParserCtxtPtr</A
4293> ctxt);</PRE
4294></TD
4295></TR
4296></TABLE
4297><P
4298>parse an XML namespace name.</P
4299><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004300>TODO: this seems not in use anymore, the namespace handling is done on
4301top of the SAX interfaces, i.e. not on raw input.</P
4302><P
Daniel Veillard35925471999-02-25 08:46:07 +00004303>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
4304><P
4305>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
4306CombiningChar | Extender</P
4307><P
4308></P
4309><DIV
4310CLASS="INFORMALTABLE"
4311><P
4312></P
4313><TABLE
4314BORDER="0"
4315WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004316BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004317CELLSPACING="0"
4318CELLPADDING="4"
4319CLASS="CALSTABLE"
4320><TR
4321><TD
4322WIDTH="20%"
4323ALIGN="RIGHT"
4324VALIGN="TOP"
4325><TT
4326CLASS="PARAMETER"
4327><I
4328>ctxt</I
4329></TT
4330>&nbsp;:</TD
4331><TD
4332WIDTH="80%"
4333ALIGN="LEFT"
4334VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004335> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004336></TR
4337><TR
4338><TD
4339WIDTH="20%"
4340ALIGN="RIGHT"
4341VALIGN="TOP"
4342><I
4343CLASS="EMPHASIS"
4344>Returns</I
4345> :</TD
4346><TD
4347WIDTH="80%"
4348ALIGN="LEFT"
4349VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004350>the namespace name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004351></TR
4352></TABLE
4353><P
4354></P
4355></DIV
4356></DIV
4357><HR><DIV
4358CLASS="REFSECT2"
4359><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004360NAME="AEN14308"
Daniel Veillard35925471999-02-25 08:46:07 +00004361></A
4362><H3
4363><A
4364NAME="XMLNAMESPACEPARSEQNAME"
4365></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004366>xmlNamespaceParseQName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004367><TABLE
4368BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004369BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004370WIDTH="100%"
4371CELLPADDING="6"
4372><TR
4373><TD
4374><PRE
4375CLASS="PROGRAMLISTING"
4376><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004377HREF="gnome-xml-tree.html#XMLCHAR"
4378>xmlChar</A
4379>* xmlNamespaceParseQName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004380HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4381>xmlParserCtxtPtr</A
4382> ctxt,
4383 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004384HREF="gnome-xml-tree.html#XMLCHAR"
4385>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004386> **prefix);</PRE
4387></TD
4388></TR
4389></TABLE
4390><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004391>TODO: this seems not in use anymore, the namespace handling is done on
4392top of the SAX interfaces, i.e. not on raw input.</P
4393><P
Daniel Veillard35925471999-02-25 08:46:07 +00004394>parse an XML qualified name</P
4395><P
4396>[NS 5] QName ::= (Prefix ':')? LocalPart</P
4397><P
4398>[NS 6] Prefix ::= NCName</P
4399><P
4400>[NS 7] LocalPart ::= NCName</P
4401><P
4402></P
4403><DIV
4404CLASS="INFORMALTABLE"
4405><P
4406></P
4407><TABLE
4408BORDER="0"
4409WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004410BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004411CELLSPACING="0"
4412CELLPADDING="4"
4413CLASS="CALSTABLE"
4414><TR
4415><TD
4416WIDTH="20%"
4417ALIGN="RIGHT"
4418VALIGN="TOP"
4419><TT
4420CLASS="PARAMETER"
4421><I
4422>ctxt</I
4423></TT
4424>&nbsp;:</TD
4425><TD
4426WIDTH="80%"
4427ALIGN="LEFT"
4428VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004429> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004430></TR
4431><TR
4432><TD
4433WIDTH="20%"
4434ALIGN="RIGHT"
4435VALIGN="TOP"
4436><TT
4437CLASS="PARAMETER"
4438><I
4439>prefix</I
4440></TT
4441>&nbsp;:</TD
4442><TD
4443WIDTH="80%"
4444ALIGN="LEFT"
4445VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004446> a xmlChar ** </TD
Daniel Veillard35925471999-02-25 08:46:07 +00004447></TR
4448><TR
4449><TD
4450WIDTH="20%"
4451ALIGN="RIGHT"
4452VALIGN="TOP"
4453><I
4454CLASS="EMPHASIS"
4455>Returns</I
4456> :</TD
4457><TD
4458WIDTH="80%"
4459ALIGN="LEFT"
4460VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004461>the local part, and prefix is updated
4462to get the Prefix if any.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004463></TR
4464></TABLE
4465><P
4466></P
4467></DIV
4468></DIV
4469><HR><DIV
4470CLASS="REFSECT2"
4471><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004472NAME="AEN14338"
Daniel Veillard35925471999-02-25 08:46:07 +00004473></A
4474><H3
4475><A
4476NAME="XMLNAMESPACEPARSENSDEF"
4477></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004478>xmlNamespaceParseNSDef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004479><TABLE
4480BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004481BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004482WIDTH="100%"
4483CELLPADDING="6"
4484><TR
4485><TD
4486><PRE
4487CLASS="PROGRAMLISTING"
4488><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004489HREF="gnome-xml-tree.html#XMLCHAR"
4490>xmlChar</A
4491>* xmlNamespaceParseNSDef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004492HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4493>xmlParserCtxtPtr</A
4494> ctxt);</PRE
4495></TD
4496></TR
4497></TABLE
4498><P
4499>parse a namespace prefix declaration</P
4500><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004501>TODO: this seems not in use anymore, the namespace handling is done on
4502top of the SAX interfaces, i.e. not on raw input.</P
4503><P
Daniel Veillard35925471999-02-25 08:46:07 +00004504>[NS 1] NSDef ::= PrefixDef Eq SystemLiteral</P
4505><P
4506>[NS 2] PrefixDef ::= 'xmlns' (':' NCName)?</P
4507><P
4508></P
4509><DIV
4510CLASS="INFORMALTABLE"
4511><P
4512></P
4513><TABLE
4514BORDER="0"
4515WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004516BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004517CELLSPACING="0"
4518CELLPADDING="4"
4519CLASS="CALSTABLE"
4520><TR
4521><TD
4522WIDTH="20%"
4523ALIGN="RIGHT"
4524VALIGN="TOP"
4525><TT
4526CLASS="PARAMETER"
4527><I
4528>ctxt</I
4529></TT
4530>&nbsp;:</TD
4531><TD
4532WIDTH="80%"
4533ALIGN="LEFT"
4534VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004535> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004536></TR
4537><TR
4538><TD
4539WIDTH="20%"
4540ALIGN="RIGHT"
4541VALIGN="TOP"
4542><I
4543CLASS="EMPHASIS"
4544>Returns</I
4545> :</TD
4546><TD
4547WIDTH="80%"
4548ALIGN="LEFT"
4549VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004550>the namespace name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004551></TR
4552></TABLE
4553><P
4554></P
4555></DIV
4556></DIV
4557><HR><DIV
4558CLASS="REFSECT2"
4559><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004560NAME="AEN14362"
Daniel Veillard35925471999-02-25 08:46:07 +00004561></A
4562><H3
4563><A
4564NAME="XMLPARSEQUOTEDSTRING"
4565></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004566>xmlParseQuotedString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004567><TABLE
4568BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004569BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004570WIDTH="100%"
4571CELLPADDING="6"
4572><TR
4573><TD
4574><PRE
4575CLASS="PROGRAMLISTING"
4576><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004577HREF="gnome-xml-tree.html#XMLCHAR"
4578>xmlChar</A
4579>* xmlParseQuotedString (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004580HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4581>xmlParserCtxtPtr</A
4582> ctxt);</PRE
4583></TD
4584></TR
4585></TABLE
4586><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004587>Parse and return a string between quotes or doublequotes</P
4588><P
4589>TODO: Deprecated, to be removed at next drop of binary compatibility</P
Daniel Veillard35925471999-02-25 08:46:07 +00004590><P
4591></P
4592><DIV
4593CLASS="INFORMALTABLE"
4594><P
4595></P
4596><TABLE
4597BORDER="0"
4598WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004599BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004600CELLSPACING="0"
4601CELLPADDING="4"
4602CLASS="CALSTABLE"
4603><TR
4604><TD
4605WIDTH="20%"
4606ALIGN="RIGHT"
4607VALIGN="TOP"
4608><TT
4609CLASS="PARAMETER"
4610><I
4611>ctxt</I
4612></TT
4613>&nbsp;:</TD
4614><TD
4615WIDTH="80%"
4616ALIGN="LEFT"
4617VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004618> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004619></TR
4620><TR
4621><TD
4622WIDTH="20%"
4623ALIGN="RIGHT"
4624VALIGN="TOP"
4625><I
4626CLASS="EMPHASIS"
4627>Returns</I
4628> :</TD
4629><TD
4630WIDTH="80%"
4631ALIGN="LEFT"
4632VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004633>the string parser or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004634></TR
4635></TABLE
4636><P
4637></P
4638></DIV
4639></DIV
4640><HR><DIV
4641CLASS="REFSECT2"
4642><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004643NAME="AEN14384"
Daniel Veillard35925471999-02-25 08:46:07 +00004644></A
4645><H3
4646><A
4647NAME="XMLPARSENAMESPACE"
4648></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004649>xmlParseNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004650><TABLE
4651BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004652BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004653WIDTH="100%"
4654CELLPADDING="6"
4655><TR
4656><TD
4657><PRE
4658CLASS="PROGRAMLISTING"
4659>void xmlParseNamespace (<A
4660HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4661>xmlParserCtxtPtr</A
4662> ctxt);</PRE
4663></TD
4664></TR
4665></TABLE
4666><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004667>xmlParseNamespace: parse specific PI '&lt;?namespace ...' constructs.</P
Daniel Veillard35925471999-02-25 08:46:07 +00004668><P
4669>This is what the older xml-name Working Draft specified, a bunch of
4670other stuff may still rely on it, so support is still here as
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004671if it was declared on the root of the Tree:-(</P
Daniel Veillard35925471999-02-25 08:46:07 +00004672><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004673>TODO: remove from library</P
4674><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004675>To be removed at next drop of binary compatibility</P
4676><P
Daniel Veillard35925471999-02-25 08:46:07 +00004677></P
4678><DIV
4679CLASS="INFORMALTABLE"
4680><P
4681></P
4682><TABLE
4683BORDER="0"
4684WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004685BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004686CELLSPACING="0"
4687CELLPADDING="4"
4688CLASS="CALSTABLE"
4689><TR
4690><TD
4691WIDTH="20%"
4692ALIGN="RIGHT"
4693VALIGN="TOP"
4694><TT
4695CLASS="PARAMETER"
4696><I
4697>ctxt</I
4698></TT
4699>&nbsp;:</TD
4700><TD
4701WIDTH="80%"
4702ALIGN="LEFT"
4703VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004704> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004705></TR
4706></TABLE
4707><P
4708></P
4709></DIV
4710></DIV
4711><HR><DIV
4712CLASS="REFSECT2"
4713><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004714NAME="AEN14403"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004715></A
4716><H3
4717><A
4718NAME="XMLSCANNAME"
4719></A
4720>xmlScanName ()</H3
4721><TABLE
4722BORDER="0"
4723BGCOLOR="#D6E8FF"
4724WIDTH="100%"
4725CELLPADDING="6"
4726><TR
4727><TD
4728><PRE
4729CLASS="PROGRAMLISTING"
4730><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004731HREF="gnome-xml-tree.html#XMLCHAR"
4732>xmlChar</A
4733>* xmlScanName (<A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004734HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4735>xmlParserCtxtPtr</A
4736> ctxt);</PRE
4737></TD
4738></TR
4739></TABLE
4740><P
4741>Trickery: parse an XML name but without consuming the input flow
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004742Needed for rollback cases. Used only when parsing entities references.</P
4743><P
4744>TODO: seems deprecated now, only used in the default part of
4745xmlParserHandleReference</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004746><P
4747>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
4748CombiningChar | Extender</P
4749><P
4750>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
4751><P
4752>[6] Names ::= Name (S Name)*</P
4753><P
4754></P
4755><DIV
4756CLASS="INFORMALTABLE"
4757><P
4758></P
4759><TABLE
4760BORDER="0"
4761WIDTH="100%"
4762BGCOLOR="#FFD0D0"
4763CELLSPACING="0"
4764CELLPADDING="4"
4765CLASS="CALSTABLE"
4766><TR
4767><TD
4768WIDTH="20%"
4769ALIGN="RIGHT"
4770VALIGN="TOP"
4771><TT
4772CLASS="PARAMETER"
4773><I
4774>ctxt</I
4775></TT
4776>&nbsp;:</TD
4777><TD
4778WIDTH="80%"
4779ALIGN="LEFT"
4780VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004781> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004782></TR
4783><TR
4784><TD
4785WIDTH="20%"
4786ALIGN="RIGHT"
4787VALIGN="TOP"
4788><I
4789CLASS="EMPHASIS"
4790>Returns</I
4791> :</TD
4792><TD
4793WIDTH="80%"
4794ALIGN="LEFT"
4795VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004796>the Name parsed or NULL</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004797></TR
4798></TABLE
4799><P
4800></P
4801></DIV
4802></DIV
4803><HR><DIV
4804CLASS="REFSECT2"
4805><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004806NAME="AEN14428"
Daniel Veillard35925471999-02-25 08:46:07 +00004807></A
4808><H3
4809><A
4810NAME="XMLPARSENAME"
4811></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004812>xmlParseName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004813><TABLE
4814BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004815BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004816WIDTH="100%"
4817CELLPADDING="6"
4818><TR
4819><TD
4820><PRE
4821CLASS="PROGRAMLISTING"
4822><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004823HREF="gnome-xml-tree.html#XMLCHAR"
4824>xmlChar</A
4825>* xmlParseName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004826HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4827>xmlParserCtxtPtr</A
4828> ctxt);</PRE
4829></TD
4830></TR
4831></TABLE
4832><P
4833>parse an XML name.</P
4834><P
4835>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
4836CombiningChar | Extender</P
4837><P
4838>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
4839><P
4840>[6] Names ::= Name (S Name)*</P
4841><P
4842></P
4843><DIV
4844CLASS="INFORMALTABLE"
4845><P
4846></P
4847><TABLE
4848BORDER="0"
4849WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004850BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004851CELLSPACING="0"
4852CELLPADDING="4"
4853CLASS="CALSTABLE"
4854><TR
4855><TD
4856WIDTH="20%"
4857ALIGN="RIGHT"
4858VALIGN="TOP"
4859><TT
4860CLASS="PARAMETER"
4861><I
4862>ctxt</I
4863></TT
4864>&nbsp;:</TD
4865><TD
4866WIDTH="80%"
4867ALIGN="LEFT"
4868VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004869> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004870></TR
4871><TR
4872><TD
4873WIDTH="20%"
4874ALIGN="RIGHT"
4875VALIGN="TOP"
4876><I
4877CLASS="EMPHASIS"
4878>Returns</I
4879> :</TD
4880><TD
4881WIDTH="80%"
4882ALIGN="LEFT"
4883VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004884>the Name parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004885></TR
4886></TABLE
4887><P
4888></P
4889></DIV
4890></DIV
4891><HR><DIV
4892CLASS="REFSECT2"
4893><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004894NAME="AEN14452"
Daniel Veillard35925471999-02-25 08:46:07 +00004895></A
4896><H3
4897><A
4898NAME="XMLPARSENMTOKEN"
4899></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004900>xmlParseNmtoken ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004901><TABLE
4902BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004903BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004904WIDTH="100%"
4905CELLPADDING="6"
4906><TR
4907><TD
4908><PRE
4909CLASS="PROGRAMLISTING"
4910><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004911HREF="gnome-xml-tree.html#XMLCHAR"
4912>xmlChar</A
4913>* xmlParseNmtoken (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004914HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4915>xmlParserCtxtPtr</A
4916> ctxt);</PRE
4917></TD
4918></TR
4919></TABLE
4920><P
4921>parse an XML Nmtoken.</P
4922><P
4923>[7] Nmtoken ::= (NameChar)+</P
4924><P
4925>[8] Nmtokens ::= Nmtoken (S Nmtoken)*</P
4926><P
4927></P
4928><DIV
4929CLASS="INFORMALTABLE"
4930><P
4931></P
4932><TABLE
4933BORDER="0"
4934WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004935BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004936CELLSPACING="0"
4937CELLPADDING="4"
4938CLASS="CALSTABLE"
4939><TR
4940><TD
4941WIDTH="20%"
4942ALIGN="RIGHT"
4943VALIGN="TOP"
4944><TT
4945CLASS="PARAMETER"
4946><I
4947>ctxt</I
4948></TT
4949>&nbsp;:</TD
4950><TD
4951WIDTH="80%"
4952ALIGN="LEFT"
4953VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004954> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004955></TR
4956><TR
4957><TD
4958WIDTH="20%"
4959ALIGN="RIGHT"
4960VALIGN="TOP"
4961><I
4962CLASS="EMPHASIS"
4963>Returns</I
4964> :</TD
4965><TD
4966WIDTH="80%"
4967ALIGN="LEFT"
4968VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004969>the Nmtoken parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004970></TR
4971></TABLE
4972><P
4973></P
4974></DIV
4975></DIV
4976><HR><DIV
4977CLASS="REFSECT2"
4978><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004979NAME="AEN14475"
Daniel Veillard35925471999-02-25 08:46:07 +00004980></A
4981><H3
4982><A
4983NAME="XMLPARSEENTITYVALUE"
4984></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004985>xmlParseEntityValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004986><TABLE
4987BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004988BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004989WIDTH="100%"
4990CELLPADDING="6"
4991><TR
4992><TD
4993><PRE
4994CLASS="PROGRAMLISTING"
4995><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004996HREF="gnome-xml-tree.html#XMLCHAR"
4997>xmlChar</A
4998>* xmlParseEntityValue (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004999HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5000>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005001> ctxt,
5002 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005003HREF="gnome-xml-tree.html#XMLCHAR"
5004>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005005> **orig);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00005006></TD
5007></TR
5008></TABLE
5009><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00005010>parse a value for ENTITY declarations</P
Daniel Veillard35925471999-02-25 08:46:07 +00005011><P
5012>[9] EntityValue ::= '"' ([^%&amp;"] | PEReference | Reference)* '"' |
5013"'" ([^%&amp;'] | PEReference | Reference)* "'"</P
5014><P
5015></P
5016><DIV
5017CLASS="INFORMALTABLE"
5018><P
5019></P
5020><TABLE
5021BORDER="0"
5022WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005023BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005024CELLSPACING="0"
5025CELLPADDING="4"
5026CLASS="CALSTABLE"
5027><TR
5028><TD
5029WIDTH="20%"
5030ALIGN="RIGHT"
5031VALIGN="TOP"
5032><TT
5033CLASS="PARAMETER"
5034><I
5035>ctxt</I
5036></TT
5037>&nbsp;:</TD
5038><TD
5039WIDTH="80%"
5040ALIGN="LEFT"
5041VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005042> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005043></TR
5044><TR
5045><TD
5046WIDTH="20%"
5047ALIGN="RIGHT"
5048VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005049><TT
5050CLASS="PARAMETER"
5051><I
5052>orig</I
5053></TT
5054>&nbsp;:</TD
5055><TD
5056WIDTH="80%"
5057ALIGN="LEFT"
5058VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005059> if non-NULL store a copy of the original entity value</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00005060></TR
5061><TR
5062><TD
5063WIDTH="20%"
5064ALIGN="RIGHT"
5065VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00005066><I
5067CLASS="EMPHASIS"
5068>Returns</I
5069> :</TD
5070><TD
5071WIDTH="80%"
5072ALIGN="LEFT"
5073VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005074>the EntityValue parsed with reference substitued or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005075></TR
5076></TABLE
5077><P
5078></P
5079></DIV
5080></DIV
5081><HR><DIV
5082CLASS="REFSECT2"
5083><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005084NAME="AEN14502"
Daniel Veillard35925471999-02-25 08:46:07 +00005085></A
5086><H3
5087><A
5088NAME="XMLPARSEATTVALUE"
5089></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005090>xmlParseAttValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005091><TABLE
5092BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005093BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005094WIDTH="100%"
5095CELLPADDING="6"
5096><TR
5097><TD
5098><PRE
5099CLASS="PROGRAMLISTING"
5100><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005101HREF="gnome-xml-tree.html#XMLCHAR"
5102>xmlChar</A
5103>* xmlParseAttValue (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005104HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5105>xmlParserCtxtPtr</A
5106> ctxt);</PRE
5107></TD
5108></TR
5109></TABLE
5110><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00005111>parse a value for an attribute
5112Note: the parser won't do substitution of entities here, this
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005113will be handled later in xmlStringGetNodeList</P
Daniel Veillard35925471999-02-25 08:46:07 +00005114><P
5115>[10] AttValue ::= '"' ([^&lt;&amp;"] | Reference)* '"' |
5116"'" ([^&lt;&amp;'] | Reference)* "'"</P
5117><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005118>3.3.3 Attribute-Value Normalization:
5119Before the value of an attribute is passed to the application or
5120checked for validity, the XML processor must normalize it as follows:
5121- a character reference is processed by appending the referenced
5122character to the attribute value
5123- an entity reference is processed by recursively processing the
5124replacement text of the entity
5125- a whitespace character (<GTKDOCLINK
5126HREF="X20"
5127>x20</GTKDOCLINK
5128>, <GTKDOCLINK
5129HREF="XD"
5130>xD</GTKDOCLINK
5131>, <GTKDOCLINK
5132HREF="XA"
5133>xA</GTKDOCLINK
5134>, <GTKDOCLINK
5135HREF="X9"
5136>x9</GTKDOCLINK
5137>) is processed by
5138appending <GTKDOCLINK
5139HREF="X20"
5140>x20</GTKDOCLINK
5141> to the normalized value, except that only a single
5142<GTKDOCLINK
5143HREF="X20"
5144>x20</GTKDOCLINK
5145> is appended for a "<GTKDOCLINK
5146HREF="XD"
5147>xD</GTKDOCLINK
5148><GTKDOCLINK
5149HREF="XA"
5150>xA</GTKDOCLINK
5151>" sequence that is part of an external
5152parsed entity or the literal entity value of an internal parsed entity
5153- other characters are processed by appending them to the normalized value
5154If the declared value is not CDATA, then the XML processor must further
5155process the normalized attribute value by discarding any leading and
5156trailing space (<GTKDOCLINK
5157HREF="X20"
5158>x20</GTKDOCLINK
5159>) characters, and by replacing sequences of space
5160(<GTKDOCLINK
5161HREF="X20"
5162>x20</GTKDOCLINK
5163>) characters by a single space (<GTKDOCLINK
5164HREF="X20"
5165>x20</GTKDOCLINK
5166>) character.
5167All attributes for which no declaration has been read should be treated
5168by a non-validating parser as if declared CDATA.</P
5169><P
Daniel Veillard35925471999-02-25 08:46:07 +00005170></P
5171><DIV
5172CLASS="INFORMALTABLE"
5173><P
5174></P
5175><TABLE
5176BORDER="0"
5177WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005178BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005179CELLSPACING="0"
5180CELLPADDING="4"
5181CLASS="CALSTABLE"
5182><TR
5183><TD
5184WIDTH="20%"
5185ALIGN="RIGHT"
5186VALIGN="TOP"
5187><TT
5188CLASS="PARAMETER"
5189><I
5190>ctxt</I
5191></TT
5192>&nbsp;:</TD
5193><TD
5194WIDTH="80%"
5195ALIGN="LEFT"
5196VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005197> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005198></TR
5199><TR
5200><TD
5201WIDTH="20%"
5202ALIGN="RIGHT"
5203VALIGN="TOP"
5204><I
5205CLASS="EMPHASIS"
5206>Returns</I
5207> :</TD
5208><TD
5209WIDTH="80%"
5210ALIGN="LEFT"
5211VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005212>the AttValue parsed or NULL. The value has to be freed by the caller.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005213></TR
5214></TABLE
5215><P
5216></P
5217></DIV
5218></DIV
5219><HR><DIV
5220CLASS="REFSECT2"
5221><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005222NAME="AEN14536"
Daniel Veillard35925471999-02-25 08:46:07 +00005223></A
5224><H3
5225><A
5226NAME="XMLPARSESYSTEMLITERAL"
5227></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005228>xmlParseSystemLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005229><TABLE
5230BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005231BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005232WIDTH="100%"
5233CELLPADDING="6"
5234><TR
5235><TD
5236><PRE
5237CLASS="PROGRAMLISTING"
5238><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005239HREF="gnome-xml-tree.html#XMLCHAR"
5240>xmlChar</A
5241>* xmlParseSystemLiteral (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005242HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5243>xmlParserCtxtPtr</A
5244> ctxt);</PRE
5245></TD
5246></TR
5247></TABLE
5248><P
5249>parse an XML Literal</P
5250><P
5251>[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</P
5252><P
5253></P
5254><DIV
5255CLASS="INFORMALTABLE"
5256><P
5257></P
5258><TABLE
5259BORDER="0"
5260WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005261BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005262CELLSPACING="0"
5263CELLPADDING="4"
5264CLASS="CALSTABLE"
5265><TR
5266><TD
5267WIDTH="20%"
5268ALIGN="RIGHT"
5269VALIGN="TOP"
5270><TT
5271CLASS="PARAMETER"
5272><I
5273>ctxt</I
5274></TT
5275>&nbsp;:</TD
5276><TD
5277WIDTH="80%"
5278ALIGN="LEFT"
5279VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005280> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005281></TR
5282><TR
5283><TD
5284WIDTH="20%"
5285ALIGN="RIGHT"
5286VALIGN="TOP"
5287><I
5288CLASS="EMPHASIS"
5289>Returns</I
5290> :</TD
5291><TD
5292WIDTH="80%"
5293ALIGN="LEFT"
5294VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005295>the SystemLiteral parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005296></TR
5297></TABLE
5298><P
5299></P
5300></DIV
5301></DIV
5302><HR><DIV
5303CLASS="REFSECT2"
5304><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005305NAME="AEN14558"
Daniel Veillard35925471999-02-25 08:46:07 +00005306></A
5307><H3
5308><A
5309NAME="XMLPARSEPUBIDLITERAL"
5310></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005311>xmlParsePubidLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005312><TABLE
5313BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005314BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005315WIDTH="100%"
5316CELLPADDING="6"
5317><TR
5318><TD
5319><PRE
5320CLASS="PROGRAMLISTING"
5321><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005322HREF="gnome-xml-tree.html#XMLCHAR"
5323>xmlChar</A
5324>* xmlParsePubidLiteral (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005325HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5326>xmlParserCtxtPtr</A
5327> ctxt);</PRE
5328></TD
5329></TR
5330></TABLE
5331><P
5332>parse an XML public literal</P
5333><P
5334>[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</P
5335><P
5336></P
5337><DIV
5338CLASS="INFORMALTABLE"
5339><P
5340></P
5341><TABLE
5342BORDER="0"
5343WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005344BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005345CELLSPACING="0"
5346CELLPADDING="4"
5347CLASS="CALSTABLE"
5348><TR
5349><TD
5350WIDTH="20%"
5351ALIGN="RIGHT"
5352VALIGN="TOP"
5353><TT
5354CLASS="PARAMETER"
5355><I
5356>ctxt</I
5357></TT
5358>&nbsp;:</TD
5359><TD
5360WIDTH="80%"
5361ALIGN="LEFT"
5362VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005363> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005364></TR
5365><TR
5366><TD
5367WIDTH="20%"
5368ALIGN="RIGHT"
5369VALIGN="TOP"
5370><I
5371CLASS="EMPHASIS"
5372>Returns</I
5373> :</TD
5374><TD
5375WIDTH="80%"
5376ALIGN="LEFT"
5377VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005378>the PubidLiteral parsed or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005379></TR
5380></TABLE
5381><P
5382></P
5383></DIV
5384></DIV
5385><HR><DIV
5386CLASS="REFSECT2"
5387><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005388NAME="AEN14580"
Daniel Veillard35925471999-02-25 08:46:07 +00005389></A
5390><H3
5391><A
5392NAME="XMLPARSECHARDATA"
5393></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005394>xmlParseCharData ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005395><TABLE
5396BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005397BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005398WIDTH="100%"
5399CELLPADDING="6"
5400><TR
5401><TD
5402><PRE
5403CLASS="PROGRAMLISTING"
5404>void xmlParseCharData (<A
5405HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5406>xmlParserCtxtPtr</A
5407> ctxt,
5408 int cdata);</PRE
5409></TD
5410></TR
5411></TABLE
5412><P
5413>parse a CharData section.
5414if we are within a CDATA section ']]&gt;' marks an end of section.</P
5415><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005416>The right angle bracket (&gt;) may be represented using the string "&amp;gt;",
5417and must, for compatibility, be escaped using "&amp;gt;" or a character
5418reference when it appears in the string "]]&gt;" in content, when that
5419string is not marking the end of a CDATA section. </P
5420><P
Daniel Veillard35925471999-02-25 08:46:07 +00005421>[14] CharData ::= [^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</P
5422><P
5423></P
5424><DIV
5425CLASS="INFORMALTABLE"
5426><P
5427></P
5428><TABLE
5429BORDER="0"
5430WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005431BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005432CELLSPACING="0"
5433CELLPADDING="4"
5434CLASS="CALSTABLE"
5435><TR
5436><TD
5437WIDTH="20%"
5438ALIGN="RIGHT"
5439VALIGN="TOP"
5440><TT
5441CLASS="PARAMETER"
5442><I
5443>ctxt</I
5444></TT
5445>&nbsp;:</TD
5446><TD
5447WIDTH="80%"
5448ALIGN="LEFT"
5449VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005450> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005451></TR
5452><TR
5453><TD
5454WIDTH="20%"
5455ALIGN="RIGHT"
5456VALIGN="TOP"
5457><TT
5458CLASS="PARAMETER"
5459><I
5460>cdata</I
5461></TT
5462>&nbsp;:</TD
5463><TD
5464WIDTH="80%"
5465ALIGN="LEFT"
5466VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005467> int indicating whether we are within a CDATA section</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005468></TR
5469></TABLE
5470><P
5471></P
5472></DIV
5473></DIV
5474><HR><DIV
5475CLASS="REFSECT2"
5476><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005477NAME="AEN14602"
Daniel Veillard35925471999-02-25 08:46:07 +00005478></A
5479><H3
5480><A
5481NAME="XMLPARSEEXTERNALID"
5482></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005483>xmlParseExternalID ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005484><TABLE
5485BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005486BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005487WIDTH="100%"
5488CELLPADDING="6"
5489><TR
5490><TD
5491><PRE
5492CLASS="PROGRAMLISTING"
5493><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005494HREF="gnome-xml-tree.html#XMLCHAR"
5495>xmlChar</A
5496>* xmlParseExternalID (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005497HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5498>xmlParserCtxtPtr</A
5499> ctxt,
5500 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005501HREF="gnome-xml-tree.html#XMLCHAR"
5502>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005503> **publicID,
5504 int strict);</PRE
5505></TD
5506></TR
5507></TABLE
5508><P
5509>Parse an External ID or a Public ID</P
5510><P
5511>NOTE: Productions [75] and [83] interract badly since [75] can generate
5512'PUBLIC' S PubidLiteral S SystemLiteral</P
5513><P
5514>[75] ExternalID ::= 'SYSTEM' S SystemLiteral
5515| 'PUBLIC' S PubidLiteral S SystemLiteral</P
5516><P
5517>[83] PublicID ::= 'PUBLIC' S PubidLiteral</P
5518><P
5519></P
5520><DIV
5521CLASS="INFORMALTABLE"
5522><P
5523></P
5524><TABLE
5525BORDER="0"
5526WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005527BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005528CELLSPACING="0"
5529CELLPADDING="4"
5530CLASS="CALSTABLE"
5531><TR
5532><TD
5533WIDTH="20%"
5534ALIGN="RIGHT"
5535VALIGN="TOP"
5536><TT
5537CLASS="PARAMETER"
5538><I
5539>ctxt</I
5540></TT
5541>&nbsp;:</TD
5542><TD
5543WIDTH="80%"
5544ALIGN="LEFT"
5545VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005546> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005547></TR
5548><TR
5549><TD
5550WIDTH="20%"
5551ALIGN="RIGHT"
5552VALIGN="TOP"
5553><TT
5554CLASS="PARAMETER"
5555><I
5556>publicID</I
5557></TT
5558>&nbsp;:</TD
5559><TD
5560WIDTH="80%"
5561ALIGN="LEFT"
5562VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005563> a xmlChar** receiving PubidLiteral</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005564></TR
5565><TR
5566><TD
5567WIDTH="20%"
5568ALIGN="RIGHT"
5569VALIGN="TOP"
5570><TT
5571CLASS="PARAMETER"
5572><I
5573>strict</I
5574></TT
5575>&nbsp;:</TD
5576><TD
5577WIDTH="80%"
5578ALIGN="LEFT"
5579VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005580> indicate whether we should restrict parsing to only
5581production [75], see NOTE below</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005582></TR
5583><TR
5584><TD
5585WIDTH="20%"
5586ALIGN="RIGHT"
5587VALIGN="TOP"
5588><I
5589CLASS="EMPHASIS"
5590>Returns</I
5591> :</TD
5592><TD
5593WIDTH="80%"
5594ALIGN="LEFT"
5595VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005596>the function returns SystemLiteral and in the second
5597case publicID receives PubidLiteral, is strict is off
5598it is possible to return NULL and have publicID set.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005599></TR
5600></TABLE
5601><P
5602></P
5603></DIV
5604></DIV
5605><HR><DIV
5606CLASS="REFSECT2"
5607><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005608NAME="AEN14635"
Daniel Veillard35925471999-02-25 08:46:07 +00005609></A
5610><H3
5611><A
5612NAME="XMLPARSECOMMENT"
5613></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005614>xmlParseComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005615><TABLE
5616BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005617BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005618WIDTH="100%"
5619CELLPADDING="6"
5620><TR
5621><TD
5622><PRE
5623CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00005624>void xmlParseComment (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005625HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5626>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005627> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00005628></TD
5629></TR
5630></TABLE
5631><P
5632>Skip an XML (SGML) comment &lt;!-- .... --&gt;
Daniel Veillard35925471999-02-25 08:46:07 +00005633The spec says that "For compatibility, the string "--" (double-hyphen)
5634must not occur within comments. "</P
5635><P
5636>[15] Comment ::= '&lt;!--' ((Char - '-') | ('-' (Char - '-')))* '--&gt;'</P
5637><P
Daniel Veillard35925471999-02-25 08:46:07 +00005638></P
5639><DIV
5640CLASS="INFORMALTABLE"
5641><P
5642></P
5643><TABLE
5644BORDER="0"
5645WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005646BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005647CELLSPACING="0"
5648CELLPADDING="4"
5649CLASS="CALSTABLE"
5650><TR
5651><TD
5652WIDTH="20%"
5653ALIGN="RIGHT"
5654VALIGN="TOP"
5655><TT
5656CLASS="PARAMETER"
5657><I
5658>ctxt</I
5659></TT
5660>&nbsp;:</TD
5661><TD
5662WIDTH="80%"
5663ALIGN="LEFT"
5664VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005665> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005666></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005667></TABLE
5668><P
5669></P
5670></DIV
5671></DIV
5672><HR><DIV
5673CLASS="REFSECT2"
5674><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005675NAME="AEN14652"
Daniel Veillard35925471999-02-25 08:46:07 +00005676></A
5677><H3
5678><A
5679NAME="XMLPARSEPITARGET"
5680></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005681>xmlParsePITarget ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005682><TABLE
5683BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005684BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005685WIDTH="100%"
5686CELLPADDING="6"
5687><TR
5688><TD
5689><PRE
5690CLASS="PROGRAMLISTING"
5691><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005692HREF="gnome-xml-tree.html#XMLCHAR"
5693>xmlChar</A
5694>* xmlParsePITarget (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005695HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5696>xmlParserCtxtPtr</A
5697> ctxt);</PRE
5698></TD
5699></TR
5700></TABLE
5701><P
5702>parse the name of a PI</P
5703><P
5704>[17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</P
5705><P
5706></P
5707><DIV
5708CLASS="INFORMALTABLE"
5709><P
5710></P
5711><TABLE
5712BORDER="0"
5713WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005714BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005715CELLSPACING="0"
5716CELLPADDING="4"
5717CLASS="CALSTABLE"
5718><TR
5719><TD
5720WIDTH="20%"
5721ALIGN="RIGHT"
5722VALIGN="TOP"
5723><TT
5724CLASS="PARAMETER"
5725><I
5726>ctxt</I
5727></TT
5728>&nbsp;:</TD
5729><TD
5730WIDTH="80%"
5731ALIGN="LEFT"
5732VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005733> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005734></TR
5735><TR
5736><TD
5737WIDTH="20%"
5738ALIGN="RIGHT"
5739VALIGN="TOP"
5740><I
5741CLASS="EMPHASIS"
5742>Returns</I
5743> :</TD
5744><TD
5745WIDTH="80%"
5746ALIGN="LEFT"
5747VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005748>the PITarget name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005749></TR
5750></TABLE
5751><P
5752></P
5753></DIV
5754></DIV
5755><HR><DIV
5756CLASS="REFSECT2"
5757><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005758NAME="AEN14674"
Daniel Veillard35925471999-02-25 08:46:07 +00005759></A
5760><H3
5761><A
5762NAME="XMLPARSEPI"
5763></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005764>xmlParsePI ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005765><TABLE
5766BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005767BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005768WIDTH="100%"
5769CELLPADDING="6"
5770><TR
5771><TD
5772><PRE
5773CLASS="PROGRAMLISTING"
5774>void xmlParsePI (<A
5775HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5776>xmlParserCtxtPtr</A
5777> ctxt);</PRE
5778></TD
5779></TR
5780></TABLE
5781><P
5782>parse an XML Processing Instruction.</P
5783><P
5784>[16] PI ::= '&lt;?' PITarget (S (Char* - (Char* '?&gt;' Char*)))? '?&gt;'</P
5785><P
5786>The processing is transfered to SAX once parsed.</P
5787><P
5788></P
5789><DIV
5790CLASS="INFORMALTABLE"
5791><P
5792></P
5793><TABLE
5794BORDER="0"
5795WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005796BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005797CELLSPACING="0"
5798CELLPADDING="4"
5799CLASS="CALSTABLE"
5800><TR
5801><TD
5802WIDTH="20%"
5803ALIGN="RIGHT"
5804VALIGN="TOP"
5805><TT
5806CLASS="PARAMETER"
5807><I
5808>ctxt</I
5809></TT
5810>&nbsp;:</TD
5811><TD
5812WIDTH="80%"
5813ALIGN="LEFT"
5814VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005815> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005816></TR
5817></TABLE
5818><P
5819></P
5820></DIV
5821></DIV
5822><HR><DIV
5823CLASS="REFSECT2"
5824><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005825NAME="AEN14692"
Daniel Veillard35925471999-02-25 08:46:07 +00005826></A
5827><H3
5828><A
5829NAME="XMLPARSENOTATIONDECL"
5830></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005831>xmlParseNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005832><TABLE
5833BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005834BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005835WIDTH="100%"
5836CELLPADDING="6"
5837><TR
5838><TD
5839><PRE
5840CLASS="PROGRAMLISTING"
5841>void xmlParseNotationDecl (<A
5842HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5843>xmlParserCtxtPtr</A
5844> ctxt);</PRE
5845></TD
5846></TR
5847></TABLE
5848><P
5849>parse a notation declaration</P
5850><P
5851>[82] NotationDecl ::= '&lt;!NOTATION' S Name S (ExternalID | PublicID) S? '&gt;'</P
5852><P
5853>Hence there is actually 3 choices:
5854'PUBLIC' S PubidLiteral
5855'PUBLIC' S PubidLiteral S SystemLiteral
5856and 'SYSTEM' S SystemLiteral</P
5857><P
5858>See the NOTE on <A
5859HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
5860>xmlParseExternalID</A
5861>().</P
5862><P
5863></P
5864><DIV
5865CLASS="INFORMALTABLE"
5866><P
5867></P
5868><TABLE
5869BORDER="0"
5870WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005871BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005872CELLSPACING="0"
5873CELLPADDING="4"
5874CLASS="CALSTABLE"
5875><TR
5876><TD
5877WIDTH="20%"
5878ALIGN="RIGHT"
5879VALIGN="TOP"
5880><TT
5881CLASS="PARAMETER"
5882><I
5883>ctxt</I
5884></TT
5885>&nbsp;:</TD
5886><TD
5887WIDTH="80%"
5888ALIGN="LEFT"
5889VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005890> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005891></TR
5892></TABLE
5893><P
5894></P
5895></DIV
5896></DIV
5897><HR><DIV
5898CLASS="REFSECT2"
5899><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005900NAME="AEN14712"
Daniel Veillard35925471999-02-25 08:46:07 +00005901></A
5902><H3
5903><A
5904NAME="XMLPARSEENTITYDECL"
5905></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005906>xmlParseEntityDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005907><TABLE
5908BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005909BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005910WIDTH="100%"
5911CELLPADDING="6"
5912><TR
5913><TD
5914><PRE
5915CLASS="PROGRAMLISTING"
5916>void xmlParseEntityDecl (<A
5917HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5918>xmlParserCtxtPtr</A
5919> ctxt);</PRE
5920></TD
5921></TR
5922></TABLE
5923><P
5924>parse &lt;!ENTITY declarations</P
5925><P
5926>[70] EntityDecl ::= GEDecl | PEDecl</P
5927><P
5928>[71] GEDecl ::= '&lt;!ENTITY' S Name S EntityDef S? '&gt;'</P
5929><P
5930>[72] PEDecl ::= '&lt;!ENTITY' S '%' S Name S PEDef S? '&gt;'</P
5931><P
5932>[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)</P
5933><P
5934>[74] PEDef ::= EntityValue | ExternalID</P
5935><P
5936>[76] NDataDecl ::= S 'NDATA' S Name</P
5937><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005938>[ VC: Notation Declared ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005939The Name must match the declared name of a notation.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005940><P
Daniel Veillard35925471999-02-25 08:46:07 +00005941></P
5942><DIV
5943CLASS="INFORMALTABLE"
5944><P
5945></P
5946><TABLE
5947BORDER="0"
5948WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005949BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005950CELLSPACING="0"
5951CELLPADDING="4"
5952CLASS="CALSTABLE"
5953><TR
5954><TD
5955WIDTH="20%"
5956ALIGN="RIGHT"
5957VALIGN="TOP"
5958><TT
5959CLASS="PARAMETER"
5960><I
5961>ctxt</I
5962></TT
5963>&nbsp;:</TD
5964><TD
5965WIDTH="80%"
5966ALIGN="LEFT"
5967VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005968> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005969></TR
5970></TABLE
5971><P
5972></P
5973></DIV
5974></DIV
5975><HR><DIV
5976CLASS="REFSECT2"
5977><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005978NAME="AEN14735"
Daniel Veillard35925471999-02-25 08:46:07 +00005979></A
5980><H3
5981><A
5982NAME="XMLPARSEDEFAULTDECL"
5983></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005984>xmlParseDefaultDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005985><TABLE
5986BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005987BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005988WIDTH="100%"
5989CELLPADDING="6"
5990><TR
5991><TD
5992><PRE
5993CLASS="PROGRAMLISTING"
5994>int xmlParseDefaultDecl (<A
5995HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5996>xmlParserCtxtPtr</A
5997> ctxt,
5998 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005999HREF="gnome-xml-tree.html#XMLCHAR"
6000>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006001> **value);</PRE
6002></TD
6003></TR
6004></TABLE
6005><P
6006>Parse an attribute default declaration</P
6007><P
6008>[60] DefaultDecl ::= '<GTKDOCLINK
6009HREF="REQUIRED"
6010>REQUIRED</GTKDOCLINK
6011>' | '<GTKDOCLINK
6012HREF="IMPLIED"
6013>IMPLIED</GTKDOCLINK
6014>' | (('<GTKDOCLINK
6015HREF="FIXED"
6016>FIXED</GTKDOCLINK
6017>' S)? AttValue)</P
6018><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006019>[ VC: Required Attribute ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006020if the default declaration is the keyword <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00006021HREF="REQUIRED"
6022>REQUIRED</GTKDOCLINK
6023>, then the
6024attribute must be specified for all elements of the type in the
6025attribute-list declaration.</P
6026><P
6027>[ VC: Attribute Default Legal ]
6028The declared default value must meet the lexical constraints of
6029the declared attribute type c.f. <A
6030HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL"
6031>xmlValidateAttributeDecl</A
6032>()</P
6033><P
6034>[ VC: Fixed Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006035if an attribute has a default value declared with the <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00006036HREF="FIXED"
6037>FIXED</GTKDOCLINK
6038>
6039keyword, instances of that attribute must match the default value. </P
6040><P
6041>[ WFC: No &lt; in Attribute Values ]
6042handled in <A
6043HREF="gnome-xml-parserinternals.html#XMLPARSEATTVALUE"
6044>xmlParseAttValue</A
6045>()</P
6046><P
Daniel Veillard35925471999-02-25 08:46:07 +00006047></P
6048><DIV
6049CLASS="INFORMALTABLE"
6050><P
6051></P
6052><TABLE
6053BORDER="0"
6054WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006055BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006056CELLSPACING="0"
6057CELLPADDING="4"
6058CLASS="CALSTABLE"
6059><TR
6060><TD
6061WIDTH="20%"
6062ALIGN="RIGHT"
6063VALIGN="TOP"
6064><TT
6065CLASS="PARAMETER"
6066><I
6067>ctxt</I
6068></TT
6069>&nbsp;:</TD
6070><TD
6071WIDTH="80%"
6072ALIGN="LEFT"
6073VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006074> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006075></TR
6076><TR
6077><TD
6078WIDTH="20%"
6079ALIGN="RIGHT"
6080VALIGN="TOP"
6081><TT
6082CLASS="PARAMETER"
6083><I
6084>value</I
6085></TT
6086>&nbsp;:</TD
6087><TD
6088WIDTH="80%"
6089ALIGN="LEFT"
6090VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006091> Receive a possible fixed default value for the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006092></TR
6093><TR
6094><TD
6095WIDTH="20%"
6096ALIGN="RIGHT"
6097VALIGN="TOP"
6098><I
6099CLASS="EMPHASIS"
6100>Returns</I
6101> :</TD
6102><TD
6103WIDTH="80%"
6104ALIGN="LEFT"
6105VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006106> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED
6107or XML_ATTRIBUTE_FIXED. </TD
Daniel Veillard35925471999-02-25 08:46:07 +00006108></TR
6109></TABLE
6110><P
6111></P
6112></DIV
6113></DIV
6114><HR><DIV
6115CLASS="REFSECT2"
6116><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006117NAME="AEN14772"
Daniel Veillard35925471999-02-25 08:46:07 +00006118></A
6119><H3
6120><A
6121NAME="XMLPARSENOTATIONTYPE"
6122></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006123>xmlParseNotationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006124><TABLE
6125BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006126BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006127WIDTH="100%"
6128CELLPADDING="6"
6129><TR
6130><TD
6131><PRE
6132CLASS="PROGRAMLISTING"
6133><A
6134HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
6135>xmlEnumerationPtr</A
6136> xmlParseNotationType (<A
6137HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6138>xmlParserCtxtPtr</A
6139> ctxt);</PRE
6140></TD
6141></TR
6142></TABLE
6143><P
6144>parse an Notation attribute type.</P
6145><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006146>Note: the leading 'NOTATION' S part has already being parsed...</P
6147><P
Daniel Veillard35925471999-02-25 08:46:07 +00006148>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
6149><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006150>[ VC: Notation Attributes ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006151Values of this type must match one of the notation names included
Daniel Veillardb05deb71999-08-10 19:04:08 +00006152in the declaration; all notation names in the declaration must be declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006153><P
6154></P
6155><DIV
6156CLASS="INFORMALTABLE"
6157><P
6158></P
6159><TABLE
6160BORDER="0"
6161WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006162BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006163CELLSPACING="0"
6164CELLPADDING="4"
6165CLASS="CALSTABLE"
6166><TR
6167><TD
6168WIDTH="20%"
6169ALIGN="RIGHT"
6170VALIGN="TOP"
6171><TT
6172CLASS="PARAMETER"
6173><I
6174>ctxt</I
6175></TT
6176>&nbsp;:</TD
6177><TD
6178WIDTH="80%"
6179ALIGN="LEFT"
6180VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006181> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006182></TR
6183><TR
6184><TD
6185WIDTH="20%"
6186ALIGN="RIGHT"
6187VALIGN="TOP"
6188><I
6189CLASS="EMPHASIS"
6190>Returns</I
6191> :</TD
6192><TD
6193WIDTH="80%"
6194ALIGN="LEFT"
6195VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006196> the notation attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006197></TR
6198></TABLE
6199><P
6200></P
6201></DIV
6202></DIV
6203><HR><DIV
6204CLASS="REFSECT2"
6205><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006206NAME="AEN14796"
Daniel Veillard35925471999-02-25 08:46:07 +00006207></A
6208><H3
6209><A
6210NAME="XMLPARSEENUMERATIONTYPE"
6211></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006212>xmlParseEnumerationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006213><TABLE
6214BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006215BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006216WIDTH="100%"
6217CELLPADDING="6"
6218><TR
6219><TD
6220><PRE
6221CLASS="PROGRAMLISTING"
6222><A
6223HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
6224>xmlEnumerationPtr</A
6225> xmlParseEnumerationType (<A
6226HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6227>xmlParserCtxtPtr</A
6228> ctxt);</PRE
6229></TD
6230></TR
6231></TABLE
6232><P
6233>parse an Enumeration attribute type.</P
6234><P
6235>[59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')'</P
6236><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006237>[ VC: Enumeration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006238Values of this type must match one of the Nmtoken tokens in
Daniel Veillardb05deb71999-08-10 19:04:08 +00006239the declaration</P
6240><P
Daniel Veillard35925471999-02-25 08:46:07 +00006241></P
6242><DIV
6243CLASS="INFORMALTABLE"
6244><P
6245></P
6246><TABLE
6247BORDER="0"
6248WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006249BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006250CELLSPACING="0"
6251CELLPADDING="4"
6252CLASS="CALSTABLE"
6253><TR
6254><TD
6255WIDTH="20%"
6256ALIGN="RIGHT"
6257VALIGN="TOP"
6258><TT
6259CLASS="PARAMETER"
6260><I
6261>ctxt</I
6262></TT
6263>&nbsp;:</TD
6264><TD
6265WIDTH="80%"
6266ALIGN="LEFT"
6267VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006268> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006269></TR
6270><TR
6271><TD
6272WIDTH="20%"
6273ALIGN="RIGHT"
6274VALIGN="TOP"
6275><I
6276CLASS="EMPHASIS"
6277>Returns</I
6278> :</TD
6279><TD
6280WIDTH="80%"
6281ALIGN="LEFT"
6282VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006283> the enumeration attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006284></TR
6285></TABLE
6286><P
6287></P
6288></DIV
6289></DIV
6290><HR><DIV
6291CLASS="REFSECT2"
6292><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006293NAME="AEN14819"
Daniel Veillard35925471999-02-25 08:46:07 +00006294></A
6295><H3
6296><A
6297NAME="XMLPARSEENUMERATEDTYPE"
6298></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006299>xmlParseEnumeratedType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006300><TABLE
6301BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006302BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006303WIDTH="100%"
6304CELLPADDING="6"
6305><TR
6306><TD
6307><PRE
6308CLASS="PROGRAMLISTING"
6309>int xmlParseEnumeratedType (<A
6310HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6311>xmlParserCtxtPtr</A
6312> ctxt,
6313 <A
6314HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
6315>xmlEnumerationPtr</A
6316> *tree);</PRE
6317></TD
6318></TR
6319></TABLE
6320><P
6321>parse an Enumerated attribute type.</P
6322><P
6323>[57] EnumeratedType ::= NotationType | Enumeration</P
6324><P
6325>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
6326><P
6327></P
6328><DIV
6329CLASS="INFORMALTABLE"
6330><P
6331></P
6332><TABLE
6333BORDER="0"
6334WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006335BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006336CELLSPACING="0"
6337CELLPADDING="4"
6338CLASS="CALSTABLE"
6339><TR
6340><TD
6341WIDTH="20%"
6342ALIGN="RIGHT"
6343VALIGN="TOP"
6344><TT
6345CLASS="PARAMETER"
6346><I
6347>ctxt</I
6348></TT
6349>&nbsp;:</TD
6350><TD
6351WIDTH="80%"
6352ALIGN="LEFT"
6353VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006354> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006355></TR
6356><TR
6357><TD
6358WIDTH="20%"
6359ALIGN="RIGHT"
6360VALIGN="TOP"
6361><TT
6362CLASS="PARAMETER"
6363><I
6364>tree</I
6365></TT
6366>&nbsp;:</TD
6367><TD
6368WIDTH="80%"
6369ALIGN="LEFT"
6370VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006371> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006372></TR
6373><TR
6374><TD
6375WIDTH="20%"
6376ALIGN="RIGHT"
6377VALIGN="TOP"
6378><I
6379CLASS="EMPHASIS"
6380>Returns</I
6381> :</TD
6382><TD
6383WIDTH="80%"
6384ALIGN="LEFT"
6385VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006386> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006387></TR
6388></TABLE
6389><P
6390></P
6391></DIV
6392></DIV
6393><HR><DIV
6394CLASS="REFSECT2"
6395><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006396NAME="AEN14846"
Daniel Veillard35925471999-02-25 08:46:07 +00006397></A
6398><H3
6399><A
6400NAME="XMLPARSEATTRIBUTETYPE"
6401></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006402>xmlParseAttributeType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006403><TABLE
6404BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006405BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006406WIDTH="100%"
6407CELLPADDING="6"
6408><TR
6409><TD
6410><PRE
6411CLASS="PROGRAMLISTING"
6412>int xmlParseAttributeType (<A
6413HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6414>xmlParserCtxtPtr</A
6415> ctxt,
6416 <A
6417HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
6418>xmlEnumerationPtr</A
6419> *tree);</PRE
6420></TD
6421></TR
6422></TABLE
6423><P
6424>parse the Attribute list def for an element</P
6425><P
6426>[54] AttType ::= StringType | TokenizedType | EnumeratedType</P
6427><P
6428>[55] StringType ::= 'CDATA'</P
6429><P
6430>[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' |
6431'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'</P
6432><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006433>Validity constraints for attribute values syntax are checked in
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006434<A
6435HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
6436>xmlValidateAttributeValue</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006437>()</P
6438><P
6439>[ VC: ID ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006440Values of type ID must match the Name production. A name must not
Daniel Veillardb05deb71999-08-10 19:04:08 +00006441appear more than once in an XML document as a value of this type;
6442i.e., ID values must uniquely identify the elements which bear them.</P
6443><P
6444>[ VC: One ID per Element Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006445No element type may have more than one ID attribute specified.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006446><P
6447>[ VC: ID Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006448An ID attribute must have a declared default of <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00006449HREF="IMPLIED"
6450>IMPLIED</GTKDOCLINK
6451> or <GTKDOCLINK
6452HREF="REQUIRED"
6453>REQUIRED</GTKDOCLINK
6454>.</P
6455><P
6456>[ VC: IDREF ]
6457Values of type IDREF must match the Name production, and values
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006458of type IDREFS must match Names; each IDREF Name must match the value
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006459of an ID attribute on some element in the XML document; i.e. IDREF
Daniel Veillardb05deb71999-08-10 19:04:08 +00006460values must match the value of some ID attribute.</P
6461><P
6462>[ VC: Entity Name ]
6463Values of type ENTITY must match the Name production, values
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006464of type ENTITIES must match Names; each Entity Name must match the
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006465name of an unparsed entity declared in the DTD. </P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006466><P
6467>[ VC: Name Token ]
6468Values of type NMTOKEN must match the Nmtoken production; values
6469of type NMTOKENS must match Nmtokens.</P
6470><P
Daniel Veillard35925471999-02-25 08:46:07 +00006471></P
6472><DIV
6473CLASS="INFORMALTABLE"
6474><P
6475></P
6476><TABLE
6477BORDER="0"
6478WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006479BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006480CELLSPACING="0"
6481CELLPADDING="4"
6482CLASS="CALSTABLE"
6483><TR
6484><TD
6485WIDTH="20%"
6486ALIGN="RIGHT"
6487VALIGN="TOP"
6488><TT
6489CLASS="PARAMETER"
6490><I
6491>ctxt</I
6492></TT
6493>&nbsp;:</TD
6494><TD
6495WIDTH="80%"
6496ALIGN="LEFT"
6497VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006498> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006499></TR
6500><TR
6501><TD
6502WIDTH="20%"
6503ALIGN="RIGHT"
6504VALIGN="TOP"
6505><TT
6506CLASS="PARAMETER"
6507><I
6508>tree</I
6509></TT
6510>&nbsp;:</TD
6511><TD
6512WIDTH="80%"
6513ALIGN="LEFT"
6514VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006515> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006516></TR
6517><TR
6518><TD
6519WIDTH="20%"
6520ALIGN="RIGHT"
6521VALIGN="TOP"
6522><I
6523CLASS="EMPHASIS"
6524>Returns</I
6525> :</TD
6526><TD
6527WIDTH="80%"
6528ALIGN="LEFT"
6529VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006530>the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006531></TR
6532></TABLE
6533><P
6534></P
6535></DIV
6536></DIV
6537><HR><DIV
6538CLASS="REFSECT2"
6539><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006540NAME="AEN14884"
Daniel Veillard35925471999-02-25 08:46:07 +00006541></A
6542><H3
6543><A
6544NAME="XMLPARSEATTRIBUTELISTDECL"
6545></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006546>xmlParseAttributeListDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006547><TABLE
6548BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006549BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006550WIDTH="100%"
6551CELLPADDING="6"
6552><TR
6553><TD
6554><PRE
6555CLASS="PROGRAMLISTING"
6556>void xmlParseAttributeListDecl (<A
6557HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6558>xmlParserCtxtPtr</A
6559> ctxt);</PRE
6560></TD
6561></TR
6562></TABLE
6563><P
6564>: parse the Attribute list def for an element</P
6565><P
6566>[52] AttlistDecl ::= '&lt;!ATTLIST' S Name AttDef* S? '&gt;'</P
6567><P
6568>[53] AttDef ::= S Name S AttType S DefaultDecl</P
6569><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 Veillardb732a0e2000-10-15 11:27:01 +00006597> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006598></TR
6599></TABLE
6600><P
6601></P
6602></DIV
6603></DIV
6604><HR><DIV
6605CLASS="REFSECT2"
6606><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006607NAME="AEN14902"
Daniel Veillard35925471999-02-25 08:46:07 +00006608></A
6609><H3
6610><A
6611NAME="XMLPARSEELEMENTMIXEDCONTENTDECL"
6612></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006613>xmlParseElementMixedContentDecl ()</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
6624HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
6625>xmlElementContentPtr</A
6626> xmlParseElementMixedContentDecl
6627 (<A
6628HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6629>xmlParserCtxtPtr</A
6630> ctxt);</PRE
6631></TD
6632></TR
6633></TABLE
6634><P
6635>parse the declaration for a Mixed Element content
6636The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
6637><P
6638>[51] Mixed ::= '(' S? '<GTKDOCLINK
6639HREF="PCDATA"
6640>PCDATA</GTKDOCLINK
6641>' (S? '|' S? Name)* S? ')*' |
6642'(' S? '<GTKDOCLINK
6643HREF="PCDATA"
6644>PCDATA</GTKDOCLINK
6645>' S? ')'</P
6646><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006647>[ VC: Proper Group/PE Nesting ] applies to [51] too (see [49])</P
6648><P
6649>[ VC: No Duplicate Types ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006650The same name must not appear more than once in a single
Daniel Veillardb05deb71999-08-10 19:04:08 +00006651mixed-content declaration.</P
6652><P
Daniel Veillard35925471999-02-25 08:46:07 +00006653></P
6654><DIV
6655CLASS="INFORMALTABLE"
6656><P
6657></P
6658><TABLE
6659BORDER="0"
6660WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006661BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006662CELLSPACING="0"
6663CELLPADDING="4"
6664CLASS="CALSTABLE"
6665><TR
6666><TD
6667WIDTH="20%"
6668ALIGN="RIGHT"
6669VALIGN="TOP"
6670><TT
6671CLASS="PARAMETER"
6672><I
6673>ctxt</I
6674></TT
6675>&nbsp;:</TD
6676><TD
6677WIDTH="80%"
6678ALIGN="LEFT"
6679VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006680> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006681></TR
6682><TR
6683><TD
6684WIDTH="20%"
6685ALIGN="RIGHT"
6686VALIGN="TOP"
6687><I
6688CLASS="EMPHASIS"
6689>Returns</I
6690> :</TD
6691><TD
6692WIDTH="80%"
6693ALIGN="LEFT"
6694VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006695> the list of the xmlElementContentPtr describing the element choices</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006696></TR
6697></TABLE
6698><P
6699></P
6700></DIV
6701></DIV
6702><HR><DIV
6703CLASS="REFSECT2"
6704><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006705NAME="AEN14928"
Daniel Veillard35925471999-02-25 08:46:07 +00006706></A
6707><H3
6708><A
6709NAME="XMLPARSEELEMENTCHILDRENCONTENTDECL"
6710></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006711>xmlParseElementChildrenContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006712><TABLE
6713BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006714BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006715WIDTH="100%"
6716CELLPADDING="6"
6717><TR
6718><TD
6719><PRE
6720CLASS="PROGRAMLISTING"
6721><A
6722HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
6723>xmlElementContentPtr</A
6724> xmlParseElementChildrenContentDecl
6725 (<A
6726HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6727>xmlParserCtxtPtr</A
6728> ctxt);</PRE
6729></TD
6730></TR
6731></TABLE
6732><P
6733>parse the declaration for a Mixed Element content
6734The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
6735><P
6736>[47] children ::= (choice | seq) ('?' | '*' | '+')?</P
6737><P
6738>[48] cp ::= (Name | choice | seq) ('?' | '*' | '+')?</P
6739><P
6740>[49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')'</P
6741><P
6742>[50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'</P
6743><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006744>[ VC: Proper Group/PE Nesting ] applies to [49] and [50]
6745TODO Parameter-entity replacement text must be properly nested
6746with parenthetized groups. That is to say, if either of the
6747opening or closing parentheses in a choice, seq, or Mixed
6748construct is contained in the replacement text for a parameter
6749entity, both must be contained in the same replacement text. For
6750interoperability, if a parameter-entity reference appears in a
6751choice, seq, or Mixed construct, its replacement text should not
6752be empty, and neither the first nor last non-blank character of
6753the replacement text should be a connector (| or ,).</P
6754><P
Daniel Veillard35925471999-02-25 08:46:07 +00006755></P
6756><DIV
6757CLASS="INFORMALTABLE"
6758><P
6759></P
6760><TABLE
6761BORDER="0"
6762WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006763BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006764CELLSPACING="0"
6765CELLPADDING="4"
6766CLASS="CALSTABLE"
6767><TR
6768><TD
6769WIDTH="20%"
6770ALIGN="RIGHT"
6771VALIGN="TOP"
6772><TT
6773CLASS="PARAMETER"
6774><I
6775>ctxt</I
6776></TT
6777>&nbsp;:</TD
6778><TD
6779WIDTH="80%"
6780ALIGN="LEFT"
6781VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006782> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006783></TR
6784><TR
6785><TD
6786WIDTH="20%"
6787ALIGN="RIGHT"
6788VALIGN="TOP"
6789><I
6790CLASS="EMPHASIS"
6791>Returns</I
6792> :</TD
6793><TD
6794WIDTH="80%"
6795ALIGN="LEFT"
6796VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006797> the tree of xmlElementContentPtr describing the element
6798hierarchy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006799></TR
6800></TABLE
6801><P
6802></P
6803></DIV
6804></DIV
6805><HR><DIV
6806CLASS="REFSECT2"
6807><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006808NAME="AEN14954"
Daniel Veillard35925471999-02-25 08:46:07 +00006809></A
6810><H3
6811><A
6812NAME="XMLPARSEELEMENTCONTENTDECL"
6813></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006814>xmlParseElementContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006815><TABLE
6816BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006817BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006818WIDTH="100%"
6819CELLPADDING="6"
6820><TR
6821><TD
6822><PRE
6823CLASS="PROGRAMLISTING"
6824>int xmlParseElementContentDecl (<A
6825HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6826>xmlParserCtxtPtr</A
6827> ctxt,
6828 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006829HREF="gnome-xml-tree.html#XMLCHAR"
6830>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006831> *name,
6832 <A
6833HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
6834>xmlElementContentPtr</A
6835> *result);</PRE
6836></TD
6837></TR
6838></TABLE
6839><P
6840>parse the declaration for an Element content either Mixed or Children,
6841the cases EMPTY and ANY are handled directly in xmlParseElementDecl</P
6842><P
6843>[46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</P
6844><P
6845></P
6846><DIV
6847CLASS="INFORMALTABLE"
6848><P
6849></P
6850><TABLE
6851BORDER="0"
6852WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006853BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006854CELLSPACING="0"
6855CELLPADDING="4"
6856CLASS="CALSTABLE"
6857><TR
6858><TD
6859WIDTH="20%"
6860ALIGN="RIGHT"
6861VALIGN="TOP"
6862><TT
6863CLASS="PARAMETER"
6864><I
6865>ctxt</I
6866></TT
6867>&nbsp;:</TD
6868><TD
6869WIDTH="80%"
6870ALIGN="LEFT"
6871VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006872> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006873></TR
6874><TR
6875><TD
6876WIDTH="20%"
6877ALIGN="RIGHT"
6878VALIGN="TOP"
6879><TT
6880CLASS="PARAMETER"
6881><I
6882>name</I
6883></TT
6884>&nbsp;:</TD
6885><TD
6886WIDTH="80%"
6887ALIGN="LEFT"
6888VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006889> the name of the element being defined.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006890></TR
6891><TR
6892><TD
6893WIDTH="20%"
6894ALIGN="RIGHT"
6895VALIGN="TOP"
6896><TT
6897CLASS="PARAMETER"
6898><I
6899>result</I
6900></TT
6901>&nbsp;:</TD
6902><TD
6903WIDTH="80%"
6904ALIGN="LEFT"
6905VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006906> the Element Content pointer will be stored here if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006907></TR
6908><TR
6909><TD
6910WIDTH="20%"
6911ALIGN="RIGHT"
6912VALIGN="TOP"
6913><I
6914CLASS="EMPHASIS"
6915>Returns</I
6916> :</TD
6917><TD
6918WIDTH="80%"
6919ALIGN="LEFT"
6920VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006921> the type of element content XML_ELEMENT_TYPE_xxx</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006922></TR
6923></TABLE
6924><P
6925></P
6926></DIV
6927></DIV
6928><HR><DIV
6929CLASS="REFSECT2"
6930><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006931NAME="AEN14985"
Daniel Veillard35925471999-02-25 08:46:07 +00006932></A
6933><H3
6934><A
6935NAME="XMLPARSEELEMENTDECL"
6936></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006937>xmlParseElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006938><TABLE
6939BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006940BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006941WIDTH="100%"
6942CELLPADDING="6"
6943><TR
6944><TD
6945><PRE
6946CLASS="PROGRAMLISTING"
6947>int xmlParseElementDecl (<A
6948HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6949>xmlParserCtxtPtr</A
6950> ctxt);</PRE
6951></TD
6952></TR
6953></TABLE
6954><P
6955>parse an Element declaration.</P
6956><P
6957>[45] elementdecl ::= '&lt;!ELEMENT' S Name S contentspec S? '&gt;'</P
6958><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006959>[ VC: Unique Element Type Declaration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006960No element type may be declared more than once</P
Daniel Veillard35925471999-02-25 08:46:07 +00006961><P
6962></P
6963><DIV
6964CLASS="INFORMALTABLE"
6965><P
6966></P
6967><TABLE
6968BORDER="0"
6969WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006970BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006971CELLSPACING="0"
6972CELLPADDING="4"
6973CLASS="CALSTABLE"
6974><TR
6975><TD
6976WIDTH="20%"
6977ALIGN="RIGHT"
6978VALIGN="TOP"
6979><TT
6980CLASS="PARAMETER"
6981><I
6982>ctxt</I
6983></TT
6984>&nbsp;:</TD
6985><TD
6986WIDTH="80%"
6987ALIGN="LEFT"
6988VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006989> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006990></TR
6991><TR
6992><TD
6993WIDTH="20%"
6994ALIGN="RIGHT"
6995VALIGN="TOP"
6996><I
6997CLASS="EMPHASIS"
6998>Returns</I
6999> :</TD
7000><TD
7001WIDTH="80%"
7002ALIGN="LEFT"
7003VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007004>the type of the element, or -1 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007005></TR
7006></TABLE
7007><P
7008></P
7009></DIV
7010></DIV
7011><HR><DIV
7012CLASS="REFSECT2"
7013><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007014NAME="AEN15007"
Daniel Veillard35925471999-02-25 08:46:07 +00007015></A
7016><H3
7017><A
7018NAME="XMLPARSEMARKUPDECL"
7019></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007020>xmlParseMarkupDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007021><TABLE
7022BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007023BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007024WIDTH="100%"
7025CELLPADDING="6"
7026><TR
7027><TD
7028><PRE
7029CLASS="PROGRAMLISTING"
7030>void xmlParseMarkupDecl (<A
7031HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7032>xmlParserCtxtPtr</A
7033> ctxt);</PRE
7034></TD
7035></TR
7036></TABLE
7037><P
7038>parse Markup declarations</P
7039><P
7040>[29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
7041NotationDecl | PI | Comment</P
7042><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007043>[ VC: Proper Declaration/PE Nesting ]
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007044Parameter-entity replacement text must be properly nested with
Daniel Veillardb05deb71999-08-10 19:04:08 +00007045markup declarations. That is to say, if either the first character
7046or the last character of a markup declaration (markupdecl above) is
7047contained in the replacement text for a parameter-entity reference,
7048both must be contained in the same replacement text.</P
7049><P
7050>[ WFC: PEs in Internal Subset ]
7051In the internal DTD subset, parameter-entity references can occur
7052only where markup declarations can occur, not within markup declarations.
7053(This does not apply to references that occur in external parameter
7054entities or to the external subset.)</P
Daniel Veillard35925471999-02-25 08:46:07 +00007055><P
7056></P
7057><DIV
7058CLASS="INFORMALTABLE"
7059><P
7060></P
7061><TABLE
7062BORDER="0"
7063WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007064BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007065CELLSPACING="0"
7066CELLPADDING="4"
7067CLASS="CALSTABLE"
7068><TR
7069><TD
7070WIDTH="20%"
7071ALIGN="RIGHT"
7072VALIGN="TOP"
7073><TT
7074CLASS="PARAMETER"
7075><I
7076>ctxt</I
7077></TT
7078>&nbsp;:</TD
7079><TD
7080WIDTH="80%"
7081ALIGN="LEFT"
7082VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007083> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007084></TR
7085></TABLE
7086><P
7087></P
7088></DIV
7089></DIV
7090><HR><DIV
7091CLASS="REFSECT2"
7092><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007093NAME="AEN15026"
Daniel Veillard35925471999-02-25 08:46:07 +00007094></A
7095><H3
7096><A
7097NAME="XMLPARSECHARREF"
7098></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007099>xmlParseCharRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007100><TABLE
7101BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007102BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007103WIDTH="100%"
7104CELLPADDING="6"
7105><TR
7106><TD
7107><PRE
7108CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007109>int xmlParseCharRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007110HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7111>xmlParserCtxtPtr</A
7112> ctxt);</PRE
7113></TD
7114></TR
7115></TABLE
7116><P
7117>parse Reference declarations</P
7118><P
7119>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
7120'&amp;<GTKDOCLINK
7121HREF="X"
7122>x</GTKDOCLINK
7123>' [0-9a-fA-F]+ ';'</P
7124><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007125>[ WFC: Legal Character ]
7126Characters referred to using character references must match the
7127production for Char.</P
7128><P
Daniel Veillard35925471999-02-25 08:46:07 +00007129></P
7130><DIV
7131CLASS="INFORMALTABLE"
7132><P
7133></P
7134><TABLE
7135BORDER="0"
7136WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007137BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007138CELLSPACING="0"
7139CELLPADDING="4"
7140CLASS="CALSTABLE"
7141><TR
7142><TD
7143WIDTH="20%"
7144ALIGN="RIGHT"
7145VALIGN="TOP"
7146><TT
7147CLASS="PARAMETER"
7148><I
7149>ctxt</I
7150></TT
7151>&nbsp;:</TD
7152><TD
7153WIDTH="80%"
7154ALIGN="LEFT"
7155VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007156> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007157></TR
7158><TR
7159><TD
7160WIDTH="20%"
7161ALIGN="RIGHT"
7162VALIGN="TOP"
7163><I
7164CLASS="EMPHASIS"
7165>Returns</I
7166> :</TD
7167><TD
7168WIDTH="80%"
7169ALIGN="LEFT"
7170VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007171>the value parsed (as an int), 0 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007172></TR
7173></TABLE
7174><P
7175></P
7176></DIV
7177></DIV
7178><HR><DIV
7179CLASS="REFSECT2"
7180><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007181NAME="AEN15049"
Daniel Veillard35925471999-02-25 08:46:07 +00007182></A
7183><H3
7184><A
7185NAME="XMLPARSEENTITYREF"
7186></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007187>xmlParseEntityRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007188><TABLE
7189BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007190BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007191WIDTH="100%"
7192CELLPADDING="6"
7193><TR
7194><TD
7195><PRE
7196CLASS="PROGRAMLISTING"
7197><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007198HREF="gnome-xml-entities.html#XMLENTITYPTR"
7199>xmlEntityPtr</A
7200> xmlParseEntityRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007201HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7202>xmlParserCtxtPtr</A
7203> ctxt);</PRE
7204></TD
7205></TR
7206></TABLE
7207><P
7208>parse ENTITY references declarations</P
7209><P
7210>[68] EntityRef ::= '&amp;' Name ';'</P
7211><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007212>[ WFC: Entity Declared ]
7213In a document without any DTD, a document with only an internal DTD
7214subset which contains no parameter entity references, or a document
7215with "standalone='yes'", the Name given in the entity reference
7216must match that in an entity declaration, except that well-formed
7217documents need not declare any of the following entities: amp, lt,
7218gt, apos, quot. The declaration of a parameter entity must precede
7219any reference to it. Similarly, the declaration of a general entity
7220must precede any reference to it which appears in a default value in an
7221attribute-list declaration. Note that if entities are declared in the
7222external subset or in external parameter entities, a non-validating
7223processor is not obligated to read and process their declarations;
7224for such documents, the rule that an entity must be declared is a
7225well-formedness constraint only if standalone='yes'.</P
7226><P
7227>[ WFC: Parsed Entity ]
7228An entity reference must not contain the name of an unparsed entity</P
7229><P
Daniel Veillard35925471999-02-25 08:46:07 +00007230></P
7231><DIV
7232CLASS="INFORMALTABLE"
7233><P
7234></P
7235><TABLE
7236BORDER="0"
7237WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007238BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007239CELLSPACING="0"
7240CELLPADDING="4"
7241CLASS="CALSTABLE"
7242><TR
7243><TD
7244WIDTH="20%"
7245ALIGN="RIGHT"
7246VALIGN="TOP"
7247><TT
7248CLASS="PARAMETER"
7249><I
7250>ctxt</I
7251></TT
7252>&nbsp;:</TD
7253><TD
7254WIDTH="80%"
7255ALIGN="LEFT"
7256VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007257> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007258></TR
7259><TR
7260><TD
7261WIDTH="20%"
7262ALIGN="RIGHT"
7263VALIGN="TOP"
7264><I
7265CLASS="EMPHASIS"
7266>Returns</I
7267> :</TD
7268><TD
7269WIDTH="80%"
7270ALIGN="LEFT"
7271VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007272>the xmlEntityPtr if found, or NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007273></TR
7274></TABLE
7275><P
7276></P
7277></DIV
7278></DIV
7279><HR><DIV
7280CLASS="REFSECT2"
7281><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007282NAME="AEN15073"
Daniel Veillard35925471999-02-25 08:46:07 +00007283></A
7284><H3
7285><A
7286NAME="XMLPARSEREFERENCE"
7287></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007288>xmlParseReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007289><TABLE
7290BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007291BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007292WIDTH="100%"
7293CELLPADDING="6"
7294><TR
7295><TD
7296><PRE
7297CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007298>void xmlParseReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007299HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7300>xmlParserCtxtPtr</A
7301> ctxt);</PRE
7302></TD
7303></TR
7304></TABLE
7305><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00007306>parse and handle entity references in content, depending on the SAX
7307interface, this may end-up in a call to <GTKDOCLINK
7308HREF="CHARACTER"
7309>character</GTKDOCLINK
7310>() if this is a
Daniel Veillard294cbca1999-12-03 13:19:09 +00007311CharRef, a predefined entity, if there is no <A
7312HREF="gnome-xml-sax.html#REFERENCE"
7313>reference</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007314>() callback.
7315or if the parser was asked to switch to that mode.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007316><P
7317>[67] Reference ::= EntityRef | CharRef</P
7318><P
7319></P
7320><DIV
7321CLASS="INFORMALTABLE"
7322><P
7323></P
7324><TABLE
7325BORDER="0"
7326WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007327BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007328CELLSPACING="0"
7329CELLPADDING="4"
7330CLASS="CALSTABLE"
7331><TR
7332><TD
7333WIDTH="20%"
7334ALIGN="RIGHT"
7335VALIGN="TOP"
7336><TT
7337CLASS="PARAMETER"
7338><I
7339>ctxt</I
7340></TT
7341>&nbsp;:</TD
7342><TD
7343WIDTH="80%"
7344ALIGN="LEFT"
7345VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007346> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007347></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007348></TABLE
7349><P
7350></P
7351></DIV
7352></DIV
7353><HR><DIV
7354CLASS="REFSECT2"
7355><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007356NAME="AEN15092"
Daniel Veillard35925471999-02-25 08:46:07 +00007357></A
7358><H3
7359><A
7360NAME="XMLPARSEPEREFERENCE"
7361></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007362>xmlParsePEReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007363><TABLE
7364BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007365BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007366WIDTH="100%"
7367CELLPADDING="6"
7368><TR
7369><TD
7370><PRE
7371CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007372>void xmlParsePEReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007373HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7374>xmlParserCtxtPtr</A
7375> ctxt);</PRE
7376></TD
7377></TR
7378></TABLE
7379><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00007380>parse PEReference declarations
7381The entity content is handled directly by pushing it's content as
7382a new input stream.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007383><P
7384>[69] PEReference ::= '%' Name ';'</P
7385><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007386>[ WFC: No Recursion ]
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007387A parsed entity must not contain a recursive
Daniel Veillardb05deb71999-08-10 19:04:08 +00007388reference to itself, either directly or indirectly. </P
7389><P
7390>[ WFC: Entity Declared ]
7391In a document without any DTD, a document with only an internal DTD
7392subset which contains no parameter entity references, or a document
7393with "standalone='yes'", ... ... The declaration of a parameter
7394entity must precede any reference to it...</P
7395><P
7396>[ VC: Entity Declared ]
7397In a document with an external subset or external parameter entities
7398with "standalone='no'", ... ... The declaration of a parameter entity
7399must precede any reference to it...</P
7400><P
7401>[ WFC: In DTD ]
7402Parameter-entity references may only appear in the DTD.
7403NOTE: misleading but this is handled.</P
7404><P
Daniel Veillard35925471999-02-25 08:46:07 +00007405></P
7406><DIV
7407CLASS="INFORMALTABLE"
7408><P
7409></P
7410><TABLE
7411BORDER="0"
7412WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007413BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007414CELLSPACING="0"
7415CELLPADDING="4"
7416CLASS="CALSTABLE"
7417><TR
7418><TD
7419WIDTH="20%"
7420ALIGN="RIGHT"
7421VALIGN="TOP"
7422><TT
7423CLASS="PARAMETER"
7424><I
7425>ctxt</I
7426></TT
7427>&nbsp;:</TD
7428><TD
7429WIDTH="80%"
7430ALIGN="LEFT"
7431VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007432> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007433></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007434></TABLE
7435><P
7436></P
7437></DIV
7438></DIV
7439><HR><DIV
7440CLASS="REFSECT2"
7441><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007442NAME="AEN15113"
Daniel Veillard35925471999-02-25 08:46:07 +00007443></A
7444><H3
7445><A
7446NAME="XMLPARSEDOCTYPEDECL"
7447></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007448>xmlParseDocTypeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007449><TABLE
7450BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007451BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007452WIDTH="100%"
7453CELLPADDING="6"
7454><TR
7455><TD
7456><PRE
7457CLASS="PROGRAMLISTING"
7458>void xmlParseDocTypeDecl (<A
7459HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7460>xmlParserCtxtPtr</A
7461> ctxt);</PRE
7462></TD
7463></TR
7464></TABLE
7465><P
7466>parse a DOCTYPE declaration</P
7467><P
7468>[28] doctypedecl ::= '&lt;!DOCTYPE' S Name (S ExternalID)? S?
7469('[' (markupdecl | PEReference | S)* ']' S?)? '&gt;'</P
7470><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007471>[ VC: Root Element Type ]
7472The Name in the document type declaration must match the element
7473type of the root element.</P
7474><P
Daniel Veillard35925471999-02-25 08:46:07 +00007475></P
7476><DIV
7477CLASS="INFORMALTABLE"
7478><P
7479></P
7480><TABLE
7481BORDER="0"
7482WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007483BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007484CELLSPACING="0"
7485CELLPADDING="4"
7486CLASS="CALSTABLE"
7487><TR
7488><TD
7489WIDTH="20%"
7490ALIGN="RIGHT"
7491VALIGN="TOP"
7492><TT
7493CLASS="PARAMETER"
7494><I
7495>ctxt</I
7496></TT
7497>&nbsp;:</TD
7498><TD
7499WIDTH="80%"
7500ALIGN="LEFT"
7501VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007502> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007503></TR
7504></TABLE
7505><P
7506></P
7507></DIV
7508></DIV
7509><HR><DIV
7510CLASS="REFSECT2"
7511><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007512NAME="AEN15131"
Daniel Veillard35925471999-02-25 08:46:07 +00007513></A
7514><H3
7515><A
7516NAME="XMLPARSEATTRIBUTE"
7517></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007518>xmlParseAttribute ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007519><TABLE
7520BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007521BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007522WIDTH="100%"
7523CELLPADDING="6"
7524><TR
7525><TD
7526><PRE
7527CLASS="PROGRAMLISTING"
7528><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007529HREF="gnome-xml-tree.html#XMLCHAR"
7530>xmlChar</A
7531>* xmlParseAttribute (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007532HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7533>xmlParserCtxtPtr</A
7534> ctxt,
7535 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007536HREF="gnome-xml-tree.html#XMLCHAR"
7537>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00007538> **value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00007539></TD
7540></TR
7541></TABLE
7542><P
7543>parse an attribute</P
7544><P
7545>[41] Attribute ::= Name Eq AttValue</P
7546><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007547>[ WFC: No External Entity References ]
7548Attribute values cannot contain direct or indirect entity references
7549to external entities.</P
7550><P
7551>[ WFC: No &lt; in Attribute Values ]
7552The replacement text of any entity referred to directly or indirectly in
7553an attribute value (other than "&amp;lt;") must not contain a &lt;. </P
7554><P
7555>[ VC: Attribute Value Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007556The attribute must have been declared; the value must be of the type
Daniel Veillardb05deb71999-08-10 19:04:08 +00007557declared for it.</P
7558><P
Daniel Veillard35925471999-02-25 08:46:07 +00007559>[25] Eq ::= S? '=' S?</P
7560><P
7561>With namespace:</P
7562><P
7563>[NS 11] Attribute ::= QName Eq AttValue</P
7564><P
7565>Also the case QName == xmlns:??? is handled independently as a namespace
7566definition.</P
7567><P
7568></P
7569><DIV
7570CLASS="INFORMALTABLE"
7571><P
7572></P
7573><TABLE
7574BORDER="0"
7575WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007576BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007577CELLSPACING="0"
7578CELLPADDING="4"
7579CLASS="CALSTABLE"
7580><TR
7581><TD
7582WIDTH="20%"
7583ALIGN="RIGHT"
7584VALIGN="TOP"
7585><TT
7586CLASS="PARAMETER"
7587><I
7588>ctxt</I
7589></TT
7590>&nbsp;:</TD
7591><TD
7592WIDTH="80%"
7593ALIGN="LEFT"
7594VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007595> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007596></TR
7597><TR
7598><TD
7599WIDTH="20%"
7600ALIGN="RIGHT"
7601VALIGN="TOP"
7602><TT
7603CLASS="PARAMETER"
7604><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00007605>value</I
Daniel Veillard35925471999-02-25 08:46:07 +00007606></TT
7607>&nbsp;:</TD
7608><TD
7609WIDTH="80%"
7610ALIGN="LEFT"
7611VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007612> a xmlChar ** used to store the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007613></TR
7614><TR
7615><TD
7616WIDTH="20%"
7617ALIGN="RIGHT"
7618VALIGN="TOP"
7619><I
7620CLASS="EMPHASIS"
7621>Returns</I
7622> :</TD
7623><TD
7624WIDTH="80%"
7625ALIGN="LEFT"
7626VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007627>the attribute name, and the value in *value.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007628></TR
7629></TABLE
7630><P
7631></P
7632></DIV
7633></DIV
7634><HR><DIV
7635CLASS="REFSECT2"
7636><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007637NAME="AEN15165"
Daniel Veillard35925471999-02-25 08:46:07 +00007638></A
7639><H3
7640><A
7641NAME="XMLPARSESTARTTAG"
7642></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007643>xmlParseStartTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007644><TABLE
7645BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007646BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007647WIDTH="100%"
7648CELLPADDING="6"
7649><TR
7650><TD
7651><PRE
7652CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00007653><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007654HREF="gnome-xml-tree.html#XMLCHAR"
7655>xmlChar</A
7656>* xmlParseStartTag (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007657HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7658>xmlParserCtxtPtr</A
7659> ctxt);</PRE
7660></TD
7661></TR
7662></TABLE
7663><P
7664>parse a start of tag either for rule element or
7665EmptyElement. In both case we don't parse the tag closing chars.</P
7666><P
7667>[40] STag ::= '&lt;' Name (S Attribute)* S? '&gt;'</P
7668><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007669>[ WFC: Unique Att Spec ]
7670No attribute name may appear more than once in the same start-tag or
7671empty-element tag. </P
7672><P
Daniel Veillard35925471999-02-25 08:46:07 +00007673>[44] EmptyElemTag ::= '&lt;' Name (S Attribute)* S? '/&gt;'</P
7674><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007675>[ WFC: Unique Att Spec ]
7676No attribute name may appear more than once in the same start-tag or
7677empty-element tag. </P
7678><P
Daniel Veillard35925471999-02-25 08:46:07 +00007679>With namespace:</P
7680><P
7681>[NS 8] STag ::= '&lt;' QName (S Attribute)* S? '&gt;'</P
7682><P
7683>[NS 10] EmptyElement ::= '&lt;' QName (S Attribute)* S? '/&gt;'</P
7684><P
7685></P
7686><DIV
7687CLASS="INFORMALTABLE"
7688><P
7689></P
7690><TABLE
7691BORDER="0"
7692WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007693BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007694CELLSPACING="0"
7695CELLPADDING="4"
7696CLASS="CALSTABLE"
7697><TR
7698><TD
7699WIDTH="20%"
7700ALIGN="RIGHT"
7701VALIGN="TOP"
7702><TT
7703CLASS="PARAMETER"
7704><I
7705>ctxt</I
7706></TT
7707>&nbsp;:</TD
7708><TD
7709WIDTH="80%"
7710ALIGN="LEFT"
7711VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007712> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007713></TR
Daniel Veillard14fff061999-06-22 21:49:07 +00007714><TR
7715><TD
7716WIDTH="20%"
7717ALIGN="RIGHT"
7718VALIGN="TOP"
7719><I
7720CLASS="EMPHASIS"
7721>Returns</I
7722> :</TD
7723><TD
7724WIDTH="80%"
7725ALIGN="LEFT"
7726VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007727>the element name parsed</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007728></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007729></TABLE
7730><P
7731></P
7732></DIV
7733></DIV
7734><HR><DIV
7735CLASS="REFSECT2"
7736><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007737NAME="AEN15193"
Daniel Veillard35925471999-02-25 08:46:07 +00007738></A
7739><H3
7740><A
7741NAME="XMLPARSEENDTAG"
7742></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007743>xmlParseEndTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007744><TABLE
7745BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007746BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007747WIDTH="100%"
7748CELLPADDING="6"
7749><TR
7750><TD
7751><PRE
7752CLASS="PROGRAMLISTING"
7753>void xmlParseEndTag (<A
7754HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7755>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +00007756> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00007757></TD
7758></TR
7759></TABLE
7760><P
7761>parse an end of tag</P
7762><P
7763>[42] ETag ::= '&lt;/' Name S? '&gt;'</P
7764><P
7765>With namespace</P
7766><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00007767>[NS 9] ETag ::= '&lt;/' QName S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00007768><P
7769></P
7770><DIV
7771CLASS="INFORMALTABLE"
7772><P
7773></P
7774><TABLE
7775BORDER="0"
7776WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007777BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007778CELLSPACING="0"
7779CELLPADDING="4"
7780CLASS="CALSTABLE"
7781><TR
7782><TD
7783WIDTH="20%"
7784ALIGN="RIGHT"
7785VALIGN="TOP"
7786><TT
7787CLASS="PARAMETER"
7788><I
7789>ctxt</I
7790></TT
7791>&nbsp;:</TD
7792><TD
7793WIDTH="80%"
7794ALIGN="LEFT"
7795VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007796> an XML parser context</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007797></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007798></TABLE
7799><P
7800></P
7801></DIV
7802></DIV
7803><HR><DIV
7804CLASS="REFSECT2"
7805><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007806NAME="AEN15212"
Daniel Veillard35925471999-02-25 08:46:07 +00007807></A
7808><H3
7809><A
7810NAME="XMLPARSECDSECT"
7811></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007812>xmlParseCDSect ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007813><TABLE
7814BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007815BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007816WIDTH="100%"
7817CELLPADDING="6"
7818><TR
7819><TD
7820><PRE
7821CLASS="PROGRAMLISTING"
7822>void xmlParseCDSect (<A
7823HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7824>xmlParserCtxtPtr</A
7825> ctxt);</PRE
7826></TD
7827></TR
7828></TABLE
7829><P
7830>Parse escaped pure raw content.</P
7831><P
7832>[18] CDSect ::= CDStart CData CDEnd</P
7833><P
7834>[19] CDStart ::= '&lt;![CDATA['</P
7835><P
7836>[20] Data ::= (Char* - (Char* ']]&gt;' Char*))</P
7837><P
7838>[21] CDEnd ::= ']]&gt;'</P
7839><P
7840></P
7841><DIV
7842CLASS="INFORMALTABLE"
7843><P
7844></P
7845><TABLE
7846BORDER="0"
7847WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007848BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007849CELLSPACING="0"
7850CELLPADDING="4"
7851CLASS="CALSTABLE"
7852><TR
7853><TD
7854WIDTH="20%"
7855ALIGN="RIGHT"
7856VALIGN="TOP"
7857><TT
7858CLASS="PARAMETER"
7859><I
7860>ctxt</I
7861></TT
7862>&nbsp;:</TD
7863><TD
7864WIDTH="80%"
7865ALIGN="LEFT"
7866VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007867> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007868></TR
7869></TABLE
7870><P
7871></P
7872></DIV
7873></DIV
7874><HR><DIV
7875CLASS="REFSECT2"
7876><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007877NAME="AEN15232"
Daniel Veillard35925471999-02-25 08:46:07 +00007878></A
7879><H3
7880><A
7881NAME="XMLPARSECONTENT"
7882></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007883>xmlParseContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007884><TABLE
7885BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007886BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007887WIDTH="100%"
7888CELLPADDING="6"
7889><TR
7890><TD
7891><PRE
7892CLASS="PROGRAMLISTING"
7893>void xmlParseContent (<A
7894HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7895>xmlParserCtxtPtr</A
7896> ctxt);</PRE
7897></TD
7898></TR
7899></TABLE
7900><P
7901>Parse a content:</P
7902><P
7903>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
7904><P
7905></P
7906><DIV
7907CLASS="INFORMALTABLE"
7908><P
7909></P
7910><TABLE
7911BORDER="0"
7912WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007913BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007914CELLSPACING="0"
7915CELLPADDING="4"
7916CLASS="CALSTABLE"
7917><TR
7918><TD
7919WIDTH="20%"
7920ALIGN="RIGHT"
7921VALIGN="TOP"
7922><TT
7923CLASS="PARAMETER"
7924><I
7925>ctxt</I
7926></TT
7927>&nbsp;:</TD
7928><TD
7929WIDTH="80%"
7930ALIGN="LEFT"
7931VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007932> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007933></TR
7934></TABLE
7935><P
7936></P
7937></DIV
7938></DIV
7939><HR><DIV
7940CLASS="REFSECT2"
7941><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007942NAME="AEN15249"
Daniel Veillard35925471999-02-25 08:46:07 +00007943></A
7944><H3
7945><A
7946NAME="XMLPARSEELEMENT"
7947></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007948>xmlParseElement ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007949><TABLE
7950BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007951BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007952WIDTH="100%"
7953CELLPADDING="6"
7954><TR
7955><TD
7956><PRE
7957CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00007958>void xmlParseElement (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007959HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7960>xmlParserCtxtPtr</A
7961> ctxt);</PRE
7962></TD
7963></TR
7964></TABLE
7965><P
7966>parse an XML element, this is highly recursive</P
7967><P
7968>[39] element ::= EmptyElemTag | STag content ETag</P
7969><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007970>[ WFC: Element Type Match ]
7971The Name in an element's end-tag must match the element type in the
7972start-tag. </P
7973><P
7974>[ VC: Element Valid ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007975An element is valid if there is a declaration matching elementdecl
Daniel Veillardb05deb71999-08-10 19:04:08 +00007976where the Name matches the element type and one of the following holds:
7977- The declaration matches EMPTY and the element has no content.
7978- The declaration matches children and the sequence of child elements
7979belongs to the language generated by the regular expression in the
7980content model, with optional white space (characters matching the
7981nonterminal S) between each pair of child elements.
7982- The declaration matches Mixed and the content consists of character
7983data and child elements whose types match names in the content model.
7984- The declaration matches ANY, and the types of any child elements have
7985been declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007986><P
7987></P
7988><DIV
7989CLASS="INFORMALTABLE"
7990><P
7991></P
7992><TABLE
7993BORDER="0"
7994WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007995BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007996CELLSPACING="0"
7997CELLPADDING="4"
7998CLASS="CALSTABLE"
7999><TR
8000><TD
8001WIDTH="20%"
8002ALIGN="RIGHT"
8003VALIGN="TOP"
8004><TT
8005CLASS="PARAMETER"
8006><I
8007>ctxt</I
8008></TT
8009>&nbsp;:</TD
8010><TD
8011WIDTH="80%"
8012ALIGN="LEFT"
8013VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008014> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008015></TR
Daniel Veillard35925471999-02-25 08:46:07 +00008016></TABLE
8017><P
8018></P
8019></DIV
8020></DIV
8021><HR><DIV
8022CLASS="REFSECT2"
8023><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008024NAME="AEN15268"
Daniel Veillard35925471999-02-25 08:46:07 +00008025></A
8026><H3
8027><A
8028NAME="XMLPARSEVERSIONNUM"
8029></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008030>xmlParseVersionNum ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008031><TABLE
8032BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008033BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008034WIDTH="100%"
8035CELLPADDING="6"
8036><TR
8037><TD
8038><PRE
8039CLASS="PROGRAMLISTING"
8040><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008041HREF="gnome-xml-tree.html#XMLCHAR"
8042>xmlChar</A
8043>* xmlParseVersionNum (<A
Daniel Veillard35925471999-02-25 08:46:07 +00008044HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8045>xmlParserCtxtPtr</A
8046> ctxt);</PRE
8047></TD
8048></TR
8049></TABLE
8050><P
8051>parse the XML version value.</P
8052><P
8053>[26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</P
8054><P
8055></P
8056><DIV
8057CLASS="INFORMALTABLE"
8058><P
8059></P
8060><TABLE
8061BORDER="0"
8062WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008063BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008064CELLSPACING="0"
8065CELLPADDING="4"
8066CLASS="CALSTABLE"
8067><TR
8068><TD
8069WIDTH="20%"
8070ALIGN="RIGHT"
8071VALIGN="TOP"
8072><TT
8073CLASS="PARAMETER"
8074><I
8075>ctxt</I
8076></TT
8077>&nbsp;:</TD
8078><TD
8079WIDTH="80%"
8080ALIGN="LEFT"
8081VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008082> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008083></TR
8084><TR
8085><TD
8086WIDTH="20%"
8087ALIGN="RIGHT"
8088VALIGN="TOP"
8089><I
8090CLASS="EMPHASIS"
8091>Returns</I
8092> :</TD
8093><TD
8094WIDTH="80%"
8095ALIGN="LEFT"
8096VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008097>the string giving the XML version number, or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008098></TR
8099></TABLE
8100><P
8101></P
8102></DIV
8103></DIV
8104><HR><DIV
8105CLASS="REFSECT2"
8106><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008107NAME="AEN15290"
Daniel Veillard35925471999-02-25 08:46:07 +00008108></A
8109><H3
8110><A
8111NAME="XMLPARSEVERSIONINFO"
8112></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008113>xmlParseVersionInfo ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008114><TABLE
8115BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008116BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008117WIDTH="100%"
8118CELLPADDING="6"
8119><TR
8120><TD
8121><PRE
8122CLASS="PROGRAMLISTING"
8123><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008124HREF="gnome-xml-tree.html#XMLCHAR"
8125>xmlChar</A
8126>* xmlParseVersionInfo (<A
Daniel Veillard35925471999-02-25 08:46:07 +00008127HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8128>xmlParserCtxtPtr</A
8129> ctxt);</PRE
8130></TD
8131></TR
8132></TABLE
8133><P
8134>parse the XML version.</P
8135><P
8136>[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")</P
8137><P
8138>[25] Eq ::= S? '=' S?</P
8139><P
8140></P
8141><DIV
8142CLASS="INFORMALTABLE"
8143><P
8144></P
8145><TABLE
8146BORDER="0"
8147WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008148BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008149CELLSPACING="0"
8150CELLPADDING="4"
8151CLASS="CALSTABLE"
8152><TR
8153><TD
8154WIDTH="20%"
8155ALIGN="RIGHT"
8156VALIGN="TOP"
8157><TT
8158CLASS="PARAMETER"
8159><I
8160>ctxt</I
8161></TT
8162>&nbsp;:</TD
8163><TD
8164WIDTH="80%"
8165ALIGN="LEFT"
8166VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008167> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008168></TR
8169><TR
8170><TD
8171WIDTH="20%"
8172ALIGN="RIGHT"
8173VALIGN="TOP"
8174><I
8175CLASS="EMPHASIS"
8176>Returns</I
8177> :</TD
8178><TD
8179WIDTH="80%"
8180ALIGN="LEFT"
8181VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008182>the version string, e.g. "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008183></TR
8184></TABLE
8185><P
8186></P
8187></DIV
8188></DIV
8189><HR><DIV
8190CLASS="REFSECT2"
8191><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008192NAME="AEN15313"
Daniel Veillard35925471999-02-25 08:46:07 +00008193></A
8194><H3
8195><A
8196NAME="XMLPARSEENCNAME"
8197></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008198>xmlParseEncName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008199><TABLE
8200BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008201BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008202WIDTH="100%"
8203CELLPADDING="6"
8204><TR
8205><TD
8206><PRE
8207CLASS="PROGRAMLISTING"
8208><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008209HREF="gnome-xml-tree.html#XMLCHAR"
8210>xmlChar</A
8211>* xmlParseEncName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00008212HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8213>xmlParserCtxtPtr</A
8214> ctxt);</PRE
8215></TD
8216></TR
8217></TABLE
8218><P
8219>parse the XML encoding name</P
8220><P
8221>[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</P
8222><P
8223></P
8224><DIV
8225CLASS="INFORMALTABLE"
8226><P
8227></P
8228><TABLE
8229BORDER="0"
8230WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008231BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008232CELLSPACING="0"
8233CELLPADDING="4"
8234CLASS="CALSTABLE"
8235><TR
8236><TD
8237WIDTH="20%"
8238ALIGN="RIGHT"
8239VALIGN="TOP"
8240><TT
8241CLASS="PARAMETER"
8242><I
8243>ctxt</I
8244></TT
8245>&nbsp;:</TD
8246><TD
8247WIDTH="80%"
8248ALIGN="LEFT"
8249VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008250> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008251></TR
8252><TR
8253><TD
8254WIDTH="20%"
8255ALIGN="RIGHT"
8256VALIGN="TOP"
8257><I
8258CLASS="EMPHASIS"
8259>Returns</I
8260> :</TD
8261><TD
8262WIDTH="80%"
8263ALIGN="LEFT"
8264VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008265>the encoding name value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008266></TR
8267></TABLE
8268><P
8269></P
8270></DIV
8271></DIV
8272><HR><DIV
8273CLASS="REFSECT2"
8274><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008275NAME="AEN15335"
Daniel Veillard35925471999-02-25 08:46:07 +00008276></A
8277><H3
8278><A
8279NAME="XMLPARSEENCODINGDECL"
8280></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008281>xmlParseEncodingDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008282><TABLE
8283BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008284BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008285WIDTH="100%"
8286CELLPADDING="6"
8287><TR
8288><TD
8289><PRE
8290CLASS="PROGRAMLISTING"
8291><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008292HREF="gnome-xml-tree.html#XMLCHAR"
8293>xmlChar</A
8294>* xmlParseEncodingDecl (<A
Daniel Veillard35925471999-02-25 08:46:07 +00008295HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8296>xmlParserCtxtPtr</A
8297> ctxt);</PRE
8298></TD
8299></TR
8300></TABLE
8301><P
8302>parse the XML encoding declaration</P
8303><P
8304>[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")</P
8305><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008306>this setups the conversion filters.</P
Daniel Veillard35925471999-02-25 08:46:07 +00008307><P
8308></P
8309><DIV
8310CLASS="INFORMALTABLE"
8311><P
8312></P
8313><TABLE
8314BORDER="0"
8315WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008316BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008317CELLSPACING="0"
8318CELLPADDING="4"
8319CLASS="CALSTABLE"
8320><TR
8321><TD
8322WIDTH="20%"
8323ALIGN="RIGHT"
8324VALIGN="TOP"
8325><TT
8326CLASS="PARAMETER"
8327><I
8328>ctxt</I
8329></TT
8330>&nbsp;:</TD
8331><TD
8332WIDTH="80%"
8333ALIGN="LEFT"
8334VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008335> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008336></TR
8337><TR
8338><TD
8339WIDTH="20%"
8340ALIGN="RIGHT"
8341VALIGN="TOP"
8342><I
8343CLASS="EMPHASIS"
8344>Returns</I
8345> :</TD
8346><TD
8347WIDTH="80%"
8348ALIGN="LEFT"
8349VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008350>the encoding value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008351></TR
8352></TABLE
8353><P
8354></P
8355></DIV
8356></DIV
8357><HR><DIV
8358CLASS="REFSECT2"
8359><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008360NAME="AEN15358"
Daniel Veillard35925471999-02-25 08:46:07 +00008361></A
8362><H3
8363><A
8364NAME="XMLPARSESDDECL"
8365></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008366>xmlParseSDDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008367><TABLE
8368BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008369BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008370WIDTH="100%"
8371CELLPADDING="6"
8372><TR
8373><TD
8374><PRE
8375CLASS="PROGRAMLISTING"
8376>int xmlParseSDDecl (<A
8377HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8378>xmlParserCtxtPtr</A
8379> ctxt);</PRE
8380></TD
8381></TR
8382></TABLE
8383><P
8384>parse the XML standalone declaration</P
8385><P
8386>[32] SDDecl ::= S 'standalone' Eq
Daniel Veillardb05deb71999-08-10 19:04:08 +00008387(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"')) </P
8388><P
8389>[ VC: Standalone Document Declaration ]
8390TODO The standalone document declaration must have the value "no"
8391if any external markup declarations contain declarations of:
8392- attributes with default values, if elements to which these
8393attributes apply appear in the document without specifications
8394of values for these attributes, or
8395- entities (other than amp, lt, gt, apos, quot), if references
8396to those entities appear in the document, or
8397- attributes with values subject to normalization, where the
8398attribute appears in the document with a value which will change
8399as a result of normalization, or
8400- element types with element content, if white space occurs directly
8401within any instance of those types.</P
Daniel Veillard35925471999-02-25 08:46:07 +00008402><P
8403></P
8404><DIV
8405CLASS="INFORMALTABLE"
8406><P
8407></P
8408><TABLE
8409BORDER="0"
8410WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008411BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008412CELLSPACING="0"
8413CELLPADDING="4"
8414CLASS="CALSTABLE"
8415><TR
8416><TD
8417WIDTH="20%"
8418ALIGN="RIGHT"
8419VALIGN="TOP"
8420><TT
8421CLASS="PARAMETER"
8422><I
8423>ctxt</I
8424></TT
8425>&nbsp;:</TD
8426><TD
8427WIDTH="80%"
8428ALIGN="LEFT"
8429VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008430> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008431></TR
8432><TR
8433><TD
8434WIDTH="20%"
8435ALIGN="RIGHT"
8436VALIGN="TOP"
8437><I
8438CLASS="EMPHASIS"
8439>Returns</I
8440> :</TD
8441><TD
8442WIDTH="80%"
8443ALIGN="LEFT"
8444VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008445>1 if standalone, 0 otherwise</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008446></TR
8447></TABLE
8448><P
8449></P
8450></DIV
8451></DIV
8452><HR><DIV
8453CLASS="REFSECT2"
8454><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008455NAME="AEN15380"
Daniel Veillard35925471999-02-25 08:46:07 +00008456></A
8457><H3
8458><A
8459NAME="XMLPARSEXMLDECL"
8460></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008461>xmlParseXMLDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008462><TABLE
8463BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008464BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008465WIDTH="100%"
8466CELLPADDING="6"
8467><TR
8468><TD
8469><PRE
8470CLASS="PROGRAMLISTING"
8471>void xmlParseXMLDecl (<A
8472HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8473>xmlParserCtxtPtr</A
8474> ctxt);</PRE
8475></TD
8476></TR
8477></TABLE
8478><P
8479>parse an XML declaration header</P
8480><P
8481>[23] XMLDecl ::= '&lt;?xml' VersionInfo EncodingDecl? SDDecl? S? '?&gt;'</P
8482><P
8483></P
8484><DIV
8485CLASS="INFORMALTABLE"
8486><P
8487></P
8488><TABLE
8489BORDER="0"
8490WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008491BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008492CELLSPACING="0"
8493CELLPADDING="4"
8494CLASS="CALSTABLE"
8495><TR
8496><TD
8497WIDTH="20%"
8498ALIGN="RIGHT"
8499VALIGN="TOP"
8500><TT
8501CLASS="PARAMETER"
8502><I
8503>ctxt</I
8504></TT
8505>&nbsp;:</TD
8506><TD
8507WIDTH="80%"
8508ALIGN="LEFT"
8509VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008510> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008511></TR
8512></TABLE
8513><P
8514></P
8515></DIV
8516></DIV
8517><HR><DIV
8518CLASS="REFSECT2"
8519><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008520NAME="AEN15397"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008521></A
8522><H3
8523><A
8524NAME="XMLPARSETEXTDECL"
8525></A
8526>xmlParseTextDecl ()</H3
8527><TABLE
8528BORDER="0"
8529BGCOLOR="#D6E8FF"
8530WIDTH="100%"
8531CELLPADDING="6"
8532><TR
8533><TD
8534><PRE
8535CLASS="PROGRAMLISTING"
8536>void xmlParseTextDecl (<A
8537HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8538>xmlParserCtxtPtr</A
8539> ctxt);</PRE
8540></TD
8541></TR
8542></TABLE
8543><P
8544>parse an XML declaration header for external entities</P
8545><P
8546>[77] TextDecl ::= '&lt;?xml' VersionInfo? EncodingDecl S? '?&gt;'</P
8547><P
8548>Question: Seems that EncodingDecl is mandatory ? Is that a typo ?</P
8549><P
8550></P
8551><DIV
8552CLASS="INFORMALTABLE"
8553><P
8554></P
8555><TABLE
8556BORDER="0"
8557WIDTH="100%"
8558BGCOLOR="#FFD0D0"
8559CELLSPACING="0"
8560CELLPADDING="4"
8561CLASS="CALSTABLE"
8562><TR
8563><TD
8564WIDTH="20%"
8565ALIGN="RIGHT"
8566VALIGN="TOP"
8567><TT
8568CLASS="PARAMETER"
8569><I
8570>ctxt</I
8571></TT
8572>&nbsp;:</TD
8573><TD
8574WIDTH="80%"
8575ALIGN="LEFT"
8576VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008577> an XML parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008578></TR
8579></TABLE
8580><P
8581></P
8582></DIV
8583></DIV
8584><HR><DIV
8585CLASS="REFSECT2"
8586><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008587NAME="AEN15415"
Daniel Veillard35925471999-02-25 08:46:07 +00008588></A
8589><H3
8590><A
8591NAME="XMLPARSEMISC"
8592></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008593>xmlParseMisc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008594><TABLE
8595BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008596BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008597WIDTH="100%"
8598CELLPADDING="6"
8599><TR
8600><TD
8601><PRE
8602CLASS="PROGRAMLISTING"
8603>void xmlParseMisc (<A
8604HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8605>xmlParserCtxtPtr</A
8606> ctxt);</PRE
8607></TD
8608></TR
8609></TABLE
8610><P
8611>parse an XML Misc* optionnal field.</P
8612><P
8613>[27] Misc ::= Comment | PI | S</P
8614><P
8615></P
8616><DIV
8617CLASS="INFORMALTABLE"
8618><P
8619></P
8620><TABLE
8621BORDER="0"
8622WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008623BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008624CELLSPACING="0"
8625CELLPADDING="4"
8626CLASS="CALSTABLE"
8627><TR
8628><TD
8629WIDTH="20%"
8630ALIGN="RIGHT"
8631VALIGN="TOP"
8632><TT
8633CLASS="PARAMETER"
8634><I
8635>ctxt</I
8636></TT
8637>&nbsp;:</TD
8638><TD
8639WIDTH="80%"
8640ALIGN="LEFT"
8641VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008642> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008643></TR
8644></TABLE
8645><P
8646></P
8647></DIV
8648></DIV
Daniel Veillard011b63c1999-06-02 17:44:04 +00008649><HR><DIV
8650CLASS="REFSECT2"
8651><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008652NAME="AEN15432"
Daniel Veillardb05deb71999-08-10 19:04:08 +00008653></A
8654><H3
8655><A
8656NAME="XMLPARSEEXTERNALSUBSET"
8657></A
8658>xmlParseExternalSubset ()</H3
8659><TABLE
8660BORDER="0"
8661BGCOLOR="#D6E8FF"
8662WIDTH="100%"
8663CELLPADDING="6"
8664><TR
8665><TD
8666><PRE
8667CLASS="PROGRAMLISTING"
8668>void xmlParseExternalSubset (<A
8669HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8670>xmlParserCtxtPtr</A
8671> ctxt,
8672 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008673HREF="gnome-xml-tree.html#XMLCHAR"
8674>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00008675> *ExternalID,
8676 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008677HREF="gnome-xml-tree.html#XMLCHAR"
8678>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00008679> *SystemID);</PRE
8680></TD
8681></TR
8682></TABLE
8683><P
8684>parse Markup declarations from an external subset</P
8685><P
8686>[30] extSubset ::= textDecl? extSubsetDecl</P
8687><P
8688>[31] extSubsetDecl ::= (markupdecl | conditionalSect | PEReference | S) *</P
8689><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00008690></P
8691><DIV
8692CLASS="INFORMALTABLE"
8693><P
8694></P
8695><TABLE
8696BORDER="0"
8697WIDTH="100%"
8698BGCOLOR="#FFD0D0"
8699CELLSPACING="0"
8700CELLPADDING="4"
8701CLASS="CALSTABLE"
8702><TR
8703><TD
8704WIDTH="20%"
8705ALIGN="RIGHT"
8706VALIGN="TOP"
8707><TT
8708CLASS="PARAMETER"
8709><I
8710>ctxt</I
8711></TT
8712>&nbsp;:</TD
8713><TD
8714WIDTH="80%"
8715ALIGN="LEFT"
8716VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008717> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008718></TR
8719><TR
8720><TD
8721WIDTH="20%"
8722ALIGN="RIGHT"
8723VALIGN="TOP"
8724><TT
8725CLASS="PARAMETER"
8726><I
8727>ExternalID</I
8728></TT
8729>&nbsp;:</TD
8730><TD
8731WIDTH="80%"
8732ALIGN="LEFT"
8733VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008734> the external identifier</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008735></TR
8736><TR
8737><TD
8738WIDTH="20%"
8739ALIGN="RIGHT"
8740VALIGN="TOP"
8741><TT
8742CLASS="PARAMETER"
8743><I
8744>SystemID</I
8745></TT
8746>&nbsp;:</TD
8747><TD
8748WIDTH="80%"
8749ALIGN="LEFT"
8750VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008751> the system identifier (or URL)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008752></TR
8753></TABLE
8754><P
8755></P
8756></DIV
8757></DIV
8758><HR><DIV
8759CLASS="REFSECT2"
8760><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008761NAME="AEN15460"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008762></A
8763><H3
8764><A
8765NAME="XML-SUBSTITUTE-NONE"
8766></A
8767>XML_SUBSTITUTE_NONE</H3
8768><TABLE
8769BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008770BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008771WIDTH="100%"
8772CELLPADDING="6"
8773><TR
8774><TD
8775><PRE
8776CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008777>#define XML_SUBSTITUTE_NONE 0</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008778></TD
8779></TR
8780></TABLE
8781><P
8782></P
8783></DIV
8784><HR><DIV
8785CLASS="REFSECT2"
8786><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008787NAME="AEN15465"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008788></A
8789><H3
8790><A
8791NAME="XML-SUBSTITUTE-REF"
8792></A
8793>XML_SUBSTITUTE_REF</H3
8794><TABLE
8795BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008796BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008797WIDTH="100%"
8798CELLPADDING="6"
8799><TR
8800><TD
8801><PRE
8802CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008803>#define XML_SUBSTITUTE_REF 1</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008804></TD
8805></TR
8806></TABLE
8807><P
8808></P
8809></DIV
8810><HR><DIV
8811CLASS="REFSECT2"
8812><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008813NAME="AEN15470"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008814></A
8815><H3
8816><A
8817NAME="XML-SUBSTITUTE-PEREF"
8818></A
8819>XML_SUBSTITUTE_PEREF</H3
8820><TABLE
8821BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008822BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008823WIDTH="100%"
8824CELLPADDING="6"
8825><TR
8826><TD
8827><PRE
8828CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008829>#define XML_SUBSTITUTE_PEREF 2</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008830></TD
8831></TR
8832></TABLE
8833><P
8834></P
8835></DIV
8836><HR><DIV
8837CLASS="REFSECT2"
8838><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008839NAME="AEN15475"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008840></A
8841><H3
8842><A
8843NAME="XML-SUBSTITUTE-BOTH"
8844></A
8845>XML_SUBSTITUTE_BOTH</H3
8846><TABLE
8847BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008848BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008849WIDTH="100%"
8850CELLPADDING="6"
8851><TR
8852><TD
8853><PRE
8854CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008855>#define XML_SUBSTITUTE_BOTH 3</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008856></TD
8857></TR
8858></TABLE
8859><P
8860></P
8861></DIV
8862><HR><DIV
8863CLASS="REFSECT2"
8864><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008865NAME="AEN15480"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008866></A
8867><H3
8868><A
8869NAME="XMLDECODEENTITIES"
8870></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008871>xmlDecodeEntities ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00008872><TABLE
8873BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008874BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008875WIDTH="100%"
8876CELLPADDING="6"
8877><TR
8878><TD
8879><PRE
8880CLASS="PROGRAMLISTING"
8881><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008882HREF="gnome-xml-tree.html#XMLCHAR"
8883>xmlChar</A
8884>* xmlDecodeEntities (<A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008885HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8886>xmlParserCtxtPtr</A
8887> ctxt,
8888 int len,
8889 int what,
8890 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008891HREF="gnome-xml-tree.html#XMLCHAR"
8892>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008893> end,
8894 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008895HREF="gnome-xml-tree.html#XMLCHAR"
8896>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008897> end2,
8898 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008899HREF="gnome-xml-tree.html#XMLCHAR"
8900>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008901> end3);</PRE
8902></TD
8903></TR
8904></TABLE
8905><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008906>This function is deprecated, we now always process entities content
8907through xmlStringDecodeEntities</P
8908><P
8909>TODO: remove it in next major release.</P
8910><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00008911>[67] Reference ::= EntityRef | CharRef</P
8912><P
8913>[69] PEReference ::= '%' Name ';'</P
8914><P
8915></P
8916><DIV
8917CLASS="INFORMALTABLE"
8918><P
8919></P
8920><TABLE
8921BORDER="0"
8922WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008923BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008924CELLSPACING="0"
8925CELLPADDING="4"
8926CLASS="CALSTABLE"
8927><TR
8928><TD
8929WIDTH="20%"
8930ALIGN="RIGHT"
8931VALIGN="TOP"
8932><TT
8933CLASS="PARAMETER"
8934><I
8935>ctxt</I
8936></TT
8937>&nbsp;:</TD
8938><TD
8939WIDTH="80%"
8940ALIGN="LEFT"
8941VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008942> the parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008943></TR
8944><TR
8945><TD
8946WIDTH="20%"
8947ALIGN="RIGHT"
8948VALIGN="TOP"
8949><TT
8950CLASS="PARAMETER"
8951><I
8952>len</I
8953></TT
8954>&nbsp;:</TD
8955><TD
8956WIDTH="80%"
8957ALIGN="LEFT"
8958VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008959> the len to decode (in bytes !), -1 for no size limit</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008960></TR
8961><TR
8962><TD
8963WIDTH="20%"
8964ALIGN="RIGHT"
8965VALIGN="TOP"
8966><TT
8967CLASS="PARAMETER"
8968><I
8969>what</I
8970></TT
8971>&nbsp;:</TD
8972><TD
8973WIDTH="80%"
8974ALIGN="LEFT"
8975VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008976> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008977></TR
8978><TR
8979><TD
8980WIDTH="20%"
8981ALIGN="RIGHT"
8982VALIGN="TOP"
8983><TT
8984CLASS="PARAMETER"
8985><I
8986>end</I
8987></TT
8988>&nbsp;:</TD
8989><TD
8990WIDTH="80%"
8991ALIGN="LEFT"
8992VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008993> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008994></TR
8995><TR
8996><TD
8997WIDTH="20%"
8998ALIGN="RIGHT"
8999VALIGN="TOP"
9000><TT
9001CLASS="PARAMETER"
9002><I
9003>end2</I
9004></TT
9005>&nbsp;:</TD
9006><TD
9007WIDTH="80%"
9008ALIGN="LEFT"
9009VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009010> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009011></TR
9012><TR
9013><TD
9014WIDTH="20%"
9015ALIGN="RIGHT"
9016VALIGN="TOP"
9017><TT
9018CLASS="PARAMETER"
9019><I
9020>end3</I
9021></TT
9022>&nbsp;:</TD
9023><TD
9024WIDTH="80%"
9025ALIGN="LEFT"
9026VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009027> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009028></TR
9029><TR
9030><TD
9031WIDTH="20%"
9032ALIGN="RIGHT"
9033VALIGN="TOP"
9034><I
9035CLASS="EMPHASIS"
9036>Returns</I
9037> :</TD
9038><TD
9039WIDTH="80%"
9040ALIGN="LEFT"
9041VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009042>A newly allocated string with the substitution done. The caller
9043must deallocate it !</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00009044></TR
9045></TABLE
9046><P
9047></P
9048></DIV
9049></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +00009050><HR><DIV
9051CLASS="REFSECT2"
9052><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009053NAME="AEN15527"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009054></A
9055><H3
9056><A
9057NAME="XMLSTRINGDECODEENTITIES"
9058></A
9059>xmlStringDecodeEntities ()</H3
9060><TABLE
9061BORDER="0"
9062BGCOLOR="#D6E8FF"
9063WIDTH="100%"
9064CELLPADDING="6"
9065><TR
9066><TD
9067><PRE
9068CLASS="PROGRAMLISTING"
9069><A
9070HREF="gnome-xml-tree.html#XMLCHAR"
9071>xmlChar</A
9072>* xmlStringDecodeEntities (<A
9073HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9074>xmlParserCtxtPtr</A
9075> ctxt,
9076 const <A
9077HREF="gnome-xml-tree.html#XMLCHAR"
9078>xmlChar</A
9079> *str,
9080 int what,
9081 <A
9082HREF="gnome-xml-tree.html#XMLCHAR"
9083>xmlChar</A
9084> end,
9085 <A
9086HREF="gnome-xml-tree.html#XMLCHAR"
9087>xmlChar</A
9088> end2,
9089 <A
9090HREF="gnome-xml-tree.html#XMLCHAR"
9091>xmlChar</A
9092> end3);</PRE
9093></TD
9094></TR
9095></TABLE
9096><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009097>Takes a entity string content and process to do the adequate subtitutions.</P
9098><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009099>[67] Reference ::= EntityRef | CharRef</P
9100><P
9101>[69] PEReference ::= '%' Name ';'</P
9102><P
9103></P
9104><DIV
9105CLASS="INFORMALTABLE"
9106><P
9107></P
9108><TABLE
9109BORDER="0"
9110WIDTH="100%"
9111BGCOLOR="#FFD0D0"
9112CELLSPACING="0"
9113CELLPADDING="4"
9114CLASS="CALSTABLE"
9115><TR
9116><TD
9117WIDTH="20%"
9118ALIGN="RIGHT"
9119VALIGN="TOP"
9120><TT
9121CLASS="PARAMETER"
9122><I
9123>ctxt</I
9124></TT
9125>&nbsp;:</TD
9126><TD
9127WIDTH="80%"
9128ALIGN="LEFT"
9129VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009130> the parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009131></TR
9132><TR
9133><TD
9134WIDTH="20%"
9135ALIGN="RIGHT"
9136VALIGN="TOP"
9137><TT
9138CLASS="PARAMETER"
9139><I
9140>str</I
9141></TT
9142>&nbsp;:</TD
9143><TD
9144WIDTH="80%"
9145ALIGN="LEFT"
9146VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009147> the input string</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009148></TR
9149><TR
9150><TD
9151WIDTH="20%"
9152ALIGN="RIGHT"
9153VALIGN="TOP"
9154><TT
9155CLASS="PARAMETER"
9156><I
9157>what</I
9158></TT
9159>&nbsp;:</TD
9160><TD
9161WIDTH="80%"
9162ALIGN="LEFT"
9163VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009164> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009165></TR
9166><TR
9167><TD
9168WIDTH="20%"
9169ALIGN="RIGHT"
9170VALIGN="TOP"
9171><TT
9172CLASS="PARAMETER"
9173><I
9174>end</I
9175></TT
9176>&nbsp;:</TD
9177><TD
9178WIDTH="80%"
9179ALIGN="LEFT"
9180VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009181> an end marker xmlChar, 0 if none</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009182></TR
9183><TR
9184><TD
9185WIDTH="20%"
9186ALIGN="RIGHT"
9187VALIGN="TOP"
9188><TT
9189CLASS="PARAMETER"
9190><I
9191>end2</I
9192></TT
9193>&nbsp;:</TD
9194><TD
9195WIDTH="80%"
9196ALIGN="LEFT"
9197VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009198> an end marker xmlChar, 0 if none</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009199></TR
9200><TR
9201><TD
9202WIDTH="20%"
9203ALIGN="RIGHT"
9204VALIGN="TOP"
9205><TT
9206CLASS="PARAMETER"
9207><I
9208>end3</I
9209></TT
9210>&nbsp;:</TD
9211><TD
9212WIDTH="80%"
9213ALIGN="LEFT"
9214VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009215> an end marker xmlChar, 0 if none</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009216></TR
9217><TR
9218><TD
9219WIDTH="20%"
9220ALIGN="RIGHT"
9221VALIGN="TOP"
9222><I
9223CLASS="EMPHASIS"
9224>Returns</I
9225> :</TD
9226><TD
9227WIDTH="80%"
9228ALIGN="LEFT"
9229VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009230>A newly allocated string with the substitution done. The caller
9231must deallocate it !</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009232></TR
9233></TABLE
9234><P
9235></P
9236></DIV
9237></DIV
9238><HR><DIV
9239CLASS="REFSECT2"
9240><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009241NAME="AEN15574"
Daniel Veillard14fff061999-06-22 21:49:07 +00009242></A
9243><H3
9244><A
9245NAME="NODEPUSH"
9246></A
9247>nodePush ()</H3
9248><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00009249BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009250BGCOLOR="#D6E8FF"
9251WIDTH="100%"
9252CELLPADDING="6"
Daniel Veillard35925471999-02-25 08:46:07 +00009253><TR
9254><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009255><PRE
9256CLASS="PROGRAMLISTING"
9257>int nodePush (<A
9258HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9259>xmlParserCtxtPtr</A
9260> ctxt,
9261 <A
9262HREF="gnome-xml-tree.html#XMLNODEPTR"
9263>xmlNodePtr</A
9264> value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00009265></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009266></TR
9267></TABLE
9268><P
9269></P
9270><DIV
9271CLASS="INFORMALTABLE"
9272><P
9273></P
9274><TABLE
9275BORDER="0"
9276WIDTH="100%"
9277BGCOLOR="#FFD0D0"
9278CELLSPACING="0"
9279CELLPADDING="4"
9280CLASS="CALSTABLE"
9281><TR
Daniel Veillard35925471999-02-25 08:46:07 +00009282><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009283WIDTH="20%"
9284ALIGN="RIGHT"
9285VALIGN="TOP"
9286><TT
9287CLASS="PARAMETER"
9288><I
9289>ctxt</I
9290></TT
9291>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009292><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009293WIDTH="80%"
9294ALIGN="LEFT"
9295VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00009296>&nbsp;</TD
9297></TR
9298><TR
9299><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009300WIDTH="20%"
9301ALIGN="RIGHT"
9302VALIGN="TOP"
9303><TT
9304CLASS="PARAMETER"
9305><I
9306>value</I
9307></TT
9308>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009309><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009310WIDTH="80%"
9311ALIGN="LEFT"
9312VALIGN="TOP"
9313>&nbsp;</TD
9314></TR
9315><TR
9316><TD
9317WIDTH="20%"
9318ALIGN="RIGHT"
9319VALIGN="TOP"
9320><I
9321CLASS="EMPHASIS"
9322>Returns</I
9323> :</TD
9324><TD
9325WIDTH="80%"
9326ALIGN="LEFT"
9327VALIGN="TOP"
9328>&nbsp;</TD
9329></TR
9330></TABLE
9331><P
9332></P
9333></DIV
9334></DIV
9335><HR><DIV
9336CLASS="REFSECT2"
Daniel Veillard35925471999-02-25 08:46:07 +00009337><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009338NAME="AEN15598"
Daniel Veillard14fff061999-06-22 21:49:07 +00009339></A
9340><H3
9341><A
9342NAME="NODEPOP"
9343></A
9344>nodePop ()</H3
9345><TABLE
9346BORDER="0"
9347BGCOLOR="#D6E8FF"
9348WIDTH="100%"
9349CELLPADDING="6"
9350><TR
9351><TD
9352><PRE
9353CLASS="PROGRAMLISTING"
9354><A
9355HREF="gnome-xml-tree.html#XMLNODEPTR"
9356>xmlNodePtr</A
9357> nodePop (<A
9358HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9359>xmlParserCtxtPtr</A
9360> ctxt);</PRE
9361></TD
9362></TR
9363></TABLE
9364><P
9365></P
9366><DIV
9367CLASS="INFORMALTABLE"
9368><P
9369></P
9370><TABLE
9371BORDER="0"
9372WIDTH="100%"
9373BGCOLOR="#FFD0D0"
9374CELLSPACING="0"
9375CELLPADDING="4"
9376CLASS="CALSTABLE"
9377><TR
9378><TD
9379WIDTH="20%"
9380ALIGN="RIGHT"
9381VALIGN="TOP"
9382><TT
9383CLASS="PARAMETER"
9384><I
9385>ctxt</I
9386></TT
9387>&nbsp;:</TD
9388><TD
9389WIDTH="80%"
9390ALIGN="LEFT"
9391VALIGN="TOP"
9392>&nbsp;</TD
9393></TR
9394><TR
9395><TD
9396WIDTH="20%"
9397ALIGN="RIGHT"
9398VALIGN="TOP"
9399><I
9400CLASS="EMPHASIS"
9401>Returns</I
9402> :</TD
9403><TD
9404WIDTH="80%"
9405ALIGN="LEFT"
9406VALIGN="TOP"
9407>&nbsp;</TD
9408></TR
9409></TABLE
9410><P
9411></P
9412></DIV
9413></DIV
9414><HR><DIV
9415CLASS="REFSECT2"
9416><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009417NAME="AEN15618"
Daniel Veillard14fff061999-06-22 21:49:07 +00009418></A
9419><H3
9420><A
9421NAME="INPUTPUSH"
9422></A
9423>inputPush ()</H3
9424><TABLE
9425BORDER="0"
9426BGCOLOR="#D6E8FF"
9427WIDTH="100%"
9428CELLPADDING="6"
9429><TR
9430><TD
9431><PRE
9432CLASS="PROGRAMLISTING"
9433>int inputPush (<A
9434HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9435>xmlParserCtxtPtr</A
9436> ctxt,
9437 <A
9438HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
9439>xmlParserInputPtr</A
9440> value);</PRE
9441></TD
9442></TR
9443></TABLE
9444><P
9445></P
9446><DIV
9447CLASS="INFORMALTABLE"
9448><P
9449></P
9450><TABLE
9451BORDER="0"
9452WIDTH="100%"
9453BGCOLOR="#FFD0D0"
9454CELLSPACING="0"
9455CELLPADDING="4"
9456CLASS="CALSTABLE"
9457><TR
9458><TD
9459WIDTH="20%"
9460ALIGN="RIGHT"
9461VALIGN="TOP"
9462><TT
9463CLASS="PARAMETER"
9464><I
9465>ctxt</I
9466></TT
9467>&nbsp;:</TD
9468><TD
9469WIDTH="80%"
9470ALIGN="LEFT"
9471VALIGN="TOP"
9472>&nbsp;</TD
9473></TR
9474><TR
9475><TD
9476WIDTH="20%"
9477ALIGN="RIGHT"
9478VALIGN="TOP"
9479><TT
9480CLASS="PARAMETER"
9481><I
9482>value</I
9483></TT
9484>&nbsp;:</TD
9485><TD
9486WIDTH="80%"
9487ALIGN="LEFT"
9488VALIGN="TOP"
9489>&nbsp;</TD
9490></TR
9491><TR
9492><TD
9493WIDTH="20%"
9494ALIGN="RIGHT"
9495VALIGN="TOP"
9496><I
9497CLASS="EMPHASIS"
9498>Returns</I
9499> :</TD
9500><TD
9501WIDTH="80%"
9502ALIGN="LEFT"
9503VALIGN="TOP"
9504>&nbsp;</TD
9505></TR
9506></TABLE
9507><P
9508></P
9509></DIV
9510></DIV
9511><HR><DIV
9512CLASS="REFSECT2"
9513><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009514NAME="AEN15642"
Daniel Veillard14fff061999-06-22 21:49:07 +00009515></A
9516><H3
9517><A
9518NAME="INPUTPOP"
9519></A
9520>inputPop ()</H3
9521><TABLE
9522BORDER="0"
9523BGCOLOR="#D6E8FF"
9524WIDTH="100%"
9525CELLPADDING="6"
9526><TR
9527><TD
9528><PRE
9529CLASS="PROGRAMLISTING"
9530><A
9531HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
9532>xmlParserInputPtr</A
9533> inputPop (<A
9534HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9535>xmlParserCtxtPtr</A
9536> ctxt);</PRE
9537></TD
9538></TR
9539></TABLE
9540><P
9541></P
9542><DIV
9543CLASS="INFORMALTABLE"
9544><P
9545></P
9546><TABLE
9547BORDER="0"
9548WIDTH="100%"
9549BGCOLOR="#FFD0D0"
9550CELLSPACING="0"
9551CELLPADDING="4"
9552CLASS="CALSTABLE"
9553><TR
9554><TD
9555WIDTH="20%"
9556ALIGN="RIGHT"
9557VALIGN="TOP"
9558><TT
9559CLASS="PARAMETER"
9560><I
9561>ctxt</I
9562></TT
9563>&nbsp;:</TD
9564><TD
9565WIDTH="80%"
9566ALIGN="LEFT"
9567VALIGN="TOP"
9568>&nbsp;</TD
9569></TR
9570><TR
9571><TD
9572WIDTH="20%"
9573ALIGN="RIGHT"
9574VALIGN="TOP"
9575><I
9576CLASS="EMPHASIS"
9577>Returns</I
9578> :</TD
9579><TD
9580WIDTH="80%"
9581ALIGN="LEFT"
9582VALIGN="TOP"
9583>&nbsp;</TD
9584></TR
9585></TABLE
9586><P
9587></P
9588></DIV
9589></DIV
Daniel Veillarde46e20d2000-07-14 15:02:46 +00009590><HR><DIV
9591CLASS="REFSECT2"
9592><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009593NAME="AEN15662"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009594></A
9595><H3
9596><A
9597NAME="XMLSKIPBLANKCHARS"
9598></A
9599>xmlSkipBlankChars ()</H3
9600><TABLE
9601BORDER="0"
9602BGCOLOR="#D6E8FF"
9603WIDTH="100%"
9604CELLPADDING="6"
9605><TR
9606><TD
9607><PRE
9608CLASS="PROGRAMLISTING"
9609>int xmlSkipBlankChars (<A
9610HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9611>xmlParserCtxtPtr</A
9612> ctxt);</PRE
9613></TD
9614></TR
9615></TABLE
9616><P
9617>skip all blanks character found at that point in the input streams.
9618It pops up finished entities in the process if allowable at that point.</P
9619><P
9620></P
9621><DIV
9622CLASS="INFORMALTABLE"
9623><P
9624></P
9625><TABLE
9626BORDER="0"
9627WIDTH="100%"
9628BGCOLOR="#FFD0D0"
9629CELLSPACING="0"
9630CELLPADDING="4"
9631CLASS="CALSTABLE"
9632><TR
9633><TD
9634WIDTH="20%"
9635ALIGN="RIGHT"
9636VALIGN="TOP"
9637><TT
9638CLASS="PARAMETER"
9639><I
9640>ctxt</I
9641></TT
9642>&nbsp;:</TD
9643><TD
9644WIDTH="80%"
9645ALIGN="LEFT"
9646VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009647> the XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009648></TR
9649><TR
9650><TD
9651WIDTH="20%"
9652ALIGN="RIGHT"
9653VALIGN="TOP"
9654><I
9655CLASS="EMPHASIS"
9656>Returns</I
9657> :</TD
9658><TD
9659WIDTH="80%"
9660ALIGN="LEFT"
9661VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009662>the number of space chars skipped</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009663></TR
9664></TABLE
9665><P
9666></P
9667></DIV
9668></DIV
9669><HR><DIV
9670CLASS="REFSECT2"
9671><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009672NAME="AEN15682"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009673></A
9674><H3
9675><A
9676NAME="XMLSTRINGCURRENTCHAR"
9677></A
9678>xmlStringCurrentChar ()</H3
9679><TABLE
9680BORDER="0"
9681BGCOLOR="#D6E8FF"
9682WIDTH="100%"
9683CELLPADDING="6"
9684><TR
9685><TD
9686><PRE
9687CLASS="PROGRAMLISTING"
9688>int xmlStringCurrentChar (<A
9689HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9690>xmlParserCtxtPtr</A
9691> ctxt,
9692 const <A
9693HREF="gnome-xml-tree.html#XMLCHAR"
9694>xmlChar</A
9695> *cur,
9696 int *len);</PRE
9697></TD
9698></TR
9699></TABLE
9700><P
9701>The current char value, if using UTF-8 this may actaully span multiple
9702bytes in the input buffer.</P
9703><P
9704></P
9705><DIV
9706CLASS="INFORMALTABLE"
9707><P
9708></P
9709><TABLE
9710BORDER="0"
9711WIDTH="100%"
9712BGCOLOR="#FFD0D0"
9713CELLSPACING="0"
9714CELLPADDING="4"
9715CLASS="CALSTABLE"
9716><TR
9717><TD
9718WIDTH="20%"
9719ALIGN="RIGHT"
9720VALIGN="TOP"
9721><TT
9722CLASS="PARAMETER"
9723><I
9724>ctxt</I
9725></TT
9726>&nbsp;:</TD
9727><TD
9728WIDTH="80%"
9729ALIGN="LEFT"
9730VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009731> the XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009732></TR
9733><TR
9734><TD
9735WIDTH="20%"
9736ALIGN="RIGHT"
9737VALIGN="TOP"
9738><TT
9739CLASS="PARAMETER"
9740><I
9741>cur</I
9742></TT
9743>&nbsp;:</TD
9744><TD
9745WIDTH="80%"
9746ALIGN="LEFT"
9747VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009748> pointer to the beginning of the char</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009749></TR
9750><TR
9751><TD
9752WIDTH="20%"
9753ALIGN="RIGHT"
9754VALIGN="TOP"
9755><TT
9756CLASS="PARAMETER"
9757><I
9758>len</I
9759></TT
9760>&nbsp;:</TD
9761><TD
9762WIDTH="80%"
9763ALIGN="LEFT"
9764VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009765> pointer to the length of the char read</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009766></TR
9767><TR
9768><TD
9769WIDTH="20%"
9770ALIGN="RIGHT"
9771VALIGN="TOP"
9772><I
9773CLASS="EMPHASIS"
9774>Returns</I
9775> :</TD
9776><TD
9777WIDTH="80%"
9778ALIGN="LEFT"
9779VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009780>the current char value and its lenght</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009781></TR
9782></TABLE
9783><P
9784></P
9785></DIV
9786></DIV
9787><HR><DIV
9788CLASS="REFSECT2"
9789><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009790NAME="AEN15711"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009791></A
9792><H3
9793><A
9794NAME="XMLPARSERHANDLEPEREFERENCE"
9795></A
9796>xmlParserHandlePEReference ()</H3
9797><TABLE
9798BORDER="0"
9799BGCOLOR="#D6E8FF"
9800WIDTH="100%"
9801CELLPADDING="6"
9802><TR
9803><TD
9804><PRE
9805CLASS="PROGRAMLISTING"
9806>void xmlParserHandlePEReference (<A
9807HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9808>xmlParserCtxtPtr</A
9809> ctxt);</PRE
9810></TD
9811></TR
9812></TABLE
9813><P
9814>[69] PEReference ::= '%' Name ';'</P
9815><P
9816>[ WFC: No Recursion ]
9817A parsed entity must not contain a recursive
9818reference to itself, either directly or indirectly. </P
9819><P
9820>[ WFC: Entity Declared ]
9821In a document without any DTD, a document with only an internal DTD
9822subset which contains no parameter entity references, or a document
9823with "standalone='yes'", ... ... The declaration of a parameter
9824entity must precede any reference to it...</P
9825><P
9826>[ VC: Entity Declared ]
9827In a document with an external subset or external parameter entities
9828with "standalone='no'", ... ... The declaration of a parameter entity
9829must precede any reference to it...</P
9830><P
9831>[ WFC: In DTD ]
9832Parameter-entity references may only appear in the DTD.
9833NOTE: misleading but this is handled.</P
9834><P
9835>A PEReference may have been detected in the current input stream
9836the handling is done accordingly to
9837http://www.w3.org/TR/REC-xml<GTKDOCLINK
9838HREF="ENTPROC"
9839>entproc</GTKDOCLINK
9840>
9841i.e.
9842- Included in literal in entity values
9843- Included as Paraemeter Entity reference within DTDs</P
9844><P
9845></P
9846><DIV
9847CLASS="INFORMALTABLE"
9848><P
9849></P
9850><TABLE
9851BORDER="0"
9852WIDTH="100%"
9853BGCOLOR="#FFD0D0"
9854CELLSPACING="0"
9855CELLPADDING="4"
9856CLASS="CALSTABLE"
9857><TR
9858><TD
9859WIDTH="20%"
9860ALIGN="RIGHT"
9861VALIGN="TOP"
9862><TT
9863CLASS="PARAMETER"
9864><I
9865>ctxt</I
9866></TT
9867>&nbsp;:</TD
9868><TD
9869WIDTH="80%"
9870ALIGN="LEFT"
9871VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009872> the parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009873></TR
9874></TABLE
9875><P
9876></P
9877></DIV
9878></DIV
9879><HR><DIV
9880CLASS="REFSECT2"
9881><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009882NAME="AEN15733"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009883></A
9884><H3
9885><A
9886NAME="XMLPARSERHANDLEREFERENCE"
9887></A
9888>xmlParserHandleReference ()</H3
9889><TABLE
9890BORDER="0"
9891BGCOLOR="#D6E8FF"
9892WIDTH="100%"
9893CELLPADDING="6"
9894><TR
9895><TD
9896><PRE
9897CLASS="PROGRAMLISTING"
9898>void xmlParserHandleReference (<A
9899HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9900>xmlParserCtxtPtr</A
9901> ctxt);</PRE
9902></TD
9903></TR
9904></TABLE
9905><P
9906>TODO: Remove, now deprecated ... the test is done directly in the
9907content parsing
9908routines.</P
9909><P
9910>[67] Reference ::= EntityRef | CharRef</P
9911><P
9912>[68] EntityRef ::= '&amp;' Name ';'</P
9913><P
9914>[ WFC: Entity Declared ]
9915the Name given in the entity reference must match that in an entity
9916declaration, except that well-formed documents need not declare any
9917of the following entities: amp, lt, gt, apos, quot. </P
9918><P
9919>[ WFC: Parsed Entity ]
9920An entity reference must not contain the name of an unparsed entity</P
9921><P
9922>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
9923'&amp;<GTKDOCLINK
9924HREF="X"
9925>x</GTKDOCLINK
9926>' [0-9a-fA-F]+ ';'</P
9927><P
9928>A PEReference may have been detectect in the current input stream
9929the handling is done accordingly to
9930http://www.w3.org/TR/REC-xml<GTKDOCLINK
9931HREF="ENTPROC"
9932>entproc</GTKDOCLINK
9933></P
9934><P
9935></P
9936><DIV
9937CLASS="INFORMALTABLE"
9938><P
9939></P
9940><TABLE
9941BORDER="0"
9942WIDTH="100%"
9943BGCOLOR="#FFD0D0"
9944CELLSPACING="0"
9945CELLPADDING="4"
9946CLASS="CALSTABLE"
9947><TR
9948><TD
9949WIDTH="20%"
9950ALIGN="RIGHT"
9951VALIGN="TOP"
9952><TT
9953CLASS="PARAMETER"
9954><I
9955>ctxt</I
9956></TT
9957>&nbsp;:</TD
9958><TD
9959WIDTH="80%"
9960ALIGN="LEFT"
9961VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009962> the parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009963></TR
9964></TABLE
9965><P
9966></P
9967></DIV
9968></DIV
9969><HR><DIV
9970CLASS="REFSECT2"
9971><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009972NAME="AEN15757"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009973></A
9974><H3
9975><A
9976NAME="NAMEPOP"
9977></A
9978>namePop ()</H3
9979><TABLE
9980BORDER="0"
9981BGCOLOR="#D6E8FF"
9982WIDTH="100%"
9983CELLPADDING="6"
9984><TR
9985><TD
9986><PRE
9987CLASS="PROGRAMLISTING"
9988><A
9989HREF="gnome-xml-tree.html#XMLCHAR"
9990>xmlChar</A
9991>* namePop (<A
9992HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9993>xmlParserCtxtPtr</A
9994> ctxt);</PRE
9995></TD
9996></TR
9997></TABLE
9998><P
9999></P
10000><DIV
10001CLASS="INFORMALTABLE"
10002><P
10003></P
10004><TABLE
10005BORDER="0"
10006WIDTH="100%"
10007BGCOLOR="#FFD0D0"
10008CELLSPACING="0"
10009CELLPADDING="4"
10010CLASS="CALSTABLE"
10011><TR
10012><TD
10013WIDTH="20%"
10014ALIGN="RIGHT"
10015VALIGN="TOP"
10016><TT
10017CLASS="PARAMETER"
10018><I
10019>ctxt</I
10020></TT
10021>&nbsp;:</TD
10022><TD
10023WIDTH="80%"
10024ALIGN="LEFT"
10025VALIGN="TOP"
10026>&nbsp;</TD
10027></TR
10028><TR
10029><TD
10030WIDTH="20%"
10031ALIGN="RIGHT"
10032VALIGN="TOP"
10033><I
10034CLASS="EMPHASIS"
10035>Returns</I
10036> :</TD
10037><TD
10038WIDTH="80%"
10039ALIGN="LEFT"
10040VALIGN="TOP"
10041>&nbsp;</TD
10042></TR
10043></TABLE
10044><P
10045></P
10046></DIV
10047></DIV
10048><HR><DIV
10049CLASS="REFSECT2"
10050><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010051NAME="AEN15777"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010052></A
10053><H3
10054><A
10055NAME="XMLCHECKLANGUAGEID"
10056></A
10057>xmlCheckLanguageID ()</H3
10058><TABLE
10059BORDER="0"
10060BGCOLOR="#D6E8FF"
10061WIDTH="100%"
10062CELLPADDING="6"
10063><TR
10064><TD
10065><PRE
10066CLASS="PROGRAMLISTING"
10067>int xmlCheckLanguageID (const <A
10068HREF="gnome-xml-tree.html#XMLCHAR"
10069>xmlChar</A
10070> *lang);</PRE
10071></TD
10072></TR
10073></TABLE
10074><P
10075></P
10076><DIV
10077CLASS="INFORMALTABLE"
10078><P
10079></P
10080><TABLE
10081BORDER="0"
10082WIDTH="100%"
10083BGCOLOR="#FFD0D0"
10084CELLSPACING="0"
10085CELLPADDING="4"
10086CLASS="CALSTABLE"
10087><TR
10088><TD
10089WIDTH="20%"
10090ALIGN="RIGHT"
10091VALIGN="TOP"
10092><TT
10093CLASS="PARAMETER"
10094><I
10095>lang</I
10096></TT
10097>&nbsp;:</TD
10098><TD
10099WIDTH="80%"
10100ALIGN="LEFT"
10101VALIGN="TOP"
10102>&nbsp;</TD
10103></TR
10104><TR
10105><TD
10106WIDTH="20%"
10107ALIGN="RIGHT"
10108VALIGN="TOP"
10109><I
10110CLASS="EMPHASIS"
10111>Returns</I
10112> :</TD
10113><TD
10114WIDTH="80%"
10115ALIGN="LEFT"
10116VALIGN="TOP"
10117>&nbsp;</TD
10118></TR
10119></TABLE
10120><P
10121></P
10122></DIV
10123></DIV
10124><HR><DIV
10125CLASS="REFSECT2"
10126><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010127NAME="AEN15796"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010128></A
10129><H3
10130><A
10131NAME="XMLCURRENTCHAR"
10132></A
10133>xmlCurrentChar ()</H3
10134><TABLE
10135BORDER="0"
10136BGCOLOR="#D6E8FF"
10137WIDTH="100%"
10138CELLPADDING="6"
10139><TR
10140><TD
10141><PRE
10142CLASS="PROGRAMLISTING"
10143>int xmlCurrentChar (<A
10144HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
10145>xmlParserCtxtPtr</A
10146> ctxt,
10147 int *len);</PRE
10148></TD
10149></TR
10150></TABLE
10151><P
10152>The current char value, if using UTF-8 this may actaully span multiple
10153bytes in the input buffer. Implement the end of line normalization:
101542.11 End-of-Line Handling
10155Wherever an external parsed entity or the literal entity value
10156of an internal parsed entity contains either the literal two-character
10157sequence "<GTKDOCLINK
10158HREF="XD"
10159>xD</GTKDOCLINK
10160><GTKDOCLINK
10161HREF="XA"
10162>xA</GTKDOCLINK
10163>" or a standalone literal <GTKDOCLINK
10164HREF="XD"
10165>xD</GTKDOCLINK
10166>, an XML processor
10167must pass to the application the single character <GTKDOCLINK
10168HREF="XA"
10169>xA</GTKDOCLINK
10170>.
10171This behavior can conveniently be produced by normalizing all
10172line breaks to <GTKDOCLINK
10173HREF="XA"
10174>xA</GTKDOCLINK
10175> on input, before parsing.)</P
10176><P
10177></P
10178><DIV
10179CLASS="INFORMALTABLE"
10180><P
10181></P
10182><TABLE
10183BORDER="0"
10184WIDTH="100%"
10185BGCOLOR="#FFD0D0"
10186CELLSPACING="0"
10187CELLPADDING="4"
10188CLASS="CALSTABLE"
10189><TR
10190><TD
10191WIDTH="20%"
10192ALIGN="RIGHT"
10193VALIGN="TOP"
10194><TT
10195CLASS="PARAMETER"
10196><I
10197>ctxt</I
10198></TT
10199>&nbsp;:</TD
10200><TD
10201WIDTH="80%"
10202ALIGN="LEFT"
10203VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010204> the XML parser context</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010205></TR
10206><TR
10207><TD
10208WIDTH="20%"
10209ALIGN="RIGHT"
10210VALIGN="TOP"
10211><TT
10212CLASS="PARAMETER"
10213><I
10214>len</I
10215></TT
10216>&nbsp;:</TD
10217><TD
10218WIDTH="80%"
10219ALIGN="LEFT"
10220VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010221> pointer to the length of the char read</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010222></TR
10223><TR
10224><TD
10225WIDTH="20%"
10226ALIGN="RIGHT"
10227VALIGN="TOP"
10228><I
10229CLASS="EMPHASIS"
10230>Returns</I
10231> :</TD
10232><TD
10233WIDTH="80%"
10234ALIGN="LEFT"
10235VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010236>the current char value and its lenght</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010237></TR
10238></TABLE
10239><P
10240></P
10241></DIV
10242></DIV
10243><HR><DIV
10244CLASS="REFSECT2"
10245><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010246NAME="AEN15825"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010247></A
10248><H3
10249><A
10250NAME="XMLCOPYCHAR"
10251></A
10252>xmlCopyChar ()</H3
10253><TABLE
10254BORDER="0"
10255BGCOLOR="#D6E8FF"
10256WIDTH="100%"
10257CELLPADDING="6"
10258><TR
10259><TD
10260><PRE
10261CLASS="PROGRAMLISTING"
10262>int xmlCopyChar (int len,
10263 <A
10264HREF="gnome-xml-tree.html#XMLCHAR"
10265>xmlChar</A
10266> *out,
10267 int val);</PRE
10268></TD
10269></TR
10270></TABLE
10271><P
10272>append the char value in the array</P
10273><P
10274></P
10275><DIV
10276CLASS="INFORMALTABLE"
10277><P
10278></P
10279><TABLE
10280BORDER="0"
10281WIDTH="100%"
10282BGCOLOR="#FFD0D0"
10283CELLSPACING="0"
10284CELLPADDING="4"
10285CLASS="CALSTABLE"
10286><TR
10287><TD
10288WIDTH="20%"
10289ALIGN="RIGHT"
10290VALIGN="TOP"
10291><TT
10292CLASS="PARAMETER"
10293><I
10294>len</I
10295></TT
10296>&nbsp;:</TD
10297><TD
10298WIDTH="80%"
10299ALIGN="LEFT"
10300VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010301> pointer to the length of the char read (or zero)</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010302></TR
10303><TR
10304><TD
10305WIDTH="20%"
10306ALIGN="RIGHT"
10307VALIGN="TOP"
10308><TT
10309CLASS="PARAMETER"
10310><I
10311>out</I
10312></TT
10313>&nbsp;:</TD
10314><TD
10315WIDTH="80%"
10316ALIGN="LEFT"
10317VALIGN="TOP"
10318>&nbsp;</TD
10319></TR
10320><TR
10321><TD
10322WIDTH="20%"
10323ALIGN="RIGHT"
10324VALIGN="TOP"
10325><TT
10326CLASS="PARAMETER"
10327><I
10328>val</I
10329></TT
10330>&nbsp;:</TD
10331><TD
10332WIDTH="80%"
10333ALIGN="LEFT"
10334VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010335> the char value</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010336></TR
10337><TR
10338><TD
10339WIDTH="20%"
10340ALIGN="RIGHT"
10341VALIGN="TOP"
10342><I
10343CLASS="EMPHASIS"
10344>Returns</I
10345> :</TD
10346><TD
10347WIDTH="80%"
10348ALIGN="LEFT"
10349VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010350>the number of xmlChar written</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010351></TR
10352></TABLE
10353><P
10354></P
10355></DIV
10356></DIV
10357><HR><DIV
10358CLASS="REFSECT2"
10359><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010360NAME="AEN15853"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010361></A
10362><H3
10363><A
10364NAME="XMLNEXTCHAR"
10365></A
10366>xmlNextChar ()</H3
10367><TABLE
10368BORDER="0"
10369BGCOLOR="#D6E8FF"
10370WIDTH="100%"
10371CELLPADDING="6"
10372><TR
10373><TD
10374><PRE
10375CLASS="PROGRAMLISTING"
10376>void xmlNextChar (<A
10377HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
10378>xmlParserCtxtPtr</A
10379> ctxt);</PRE
10380></TD
10381></TR
10382></TABLE
10383><P
10384>Skip to the next char input char.</P
10385><P
10386></P
10387><DIV
10388CLASS="INFORMALTABLE"
10389><P
10390></P
10391><TABLE
10392BORDER="0"
10393WIDTH="100%"
10394BGCOLOR="#FFD0D0"
10395CELLSPACING="0"
10396CELLPADDING="4"
10397CLASS="CALSTABLE"
10398><TR
10399><TD
10400WIDTH="20%"
10401ALIGN="RIGHT"
10402VALIGN="TOP"
10403><TT
10404CLASS="PARAMETER"
10405><I
10406>ctxt</I
10407></TT
10408>&nbsp;:</TD
10409><TD
10410WIDTH="80%"
10411ALIGN="LEFT"
10412VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010413> the XML parser context</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010414></TR
10415></TABLE
10416><P
10417></P
10418></DIV
10419></DIV
10420><HR><DIV
10421CLASS="REFSECT2"
10422><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010423NAME="AEN15869"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010424></A
10425><H3
10426><A
10427NAME="XMLPARSERINPUTSHRINK"
10428></A
10429>xmlParserInputShrink ()</H3
10430><TABLE
10431BORDER="0"
10432BGCOLOR="#D6E8FF"
10433WIDTH="100%"
10434CELLPADDING="6"
10435><TR
10436><TD
10437><PRE
10438CLASS="PROGRAMLISTING"
10439>void xmlParserInputShrink (<A
10440HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
10441>xmlParserInputPtr</A
10442> in);</PRE
10443></TD
10444></TR
10445></TABLE
10446><P
10447>This function removes used input for the parser.</P
10448><P
10449></P
10450><DIV
10451CLASS="INFORMALTABLE"
10452><P
10453></P
10454><TABLE
10455BORDER="0"
10456WIDTH="100%"
10457BGCOLOR="#FFD0D0"
10458CELLSPACING="0"
10459CELLPADDING="4"
10460CLASS="CALSTABLE"
10461><TR
10462><TD
10463WIDTH="20%"
10464ALIGN="RIGHT"
10465VALIGN="TOP"
10466><TT
10467CLASS="PARAMETER"
10468><I
10469>in</I
10470></TT
10471>&nbsp;:</TD
10472><TD
10473WIDTH="80%"
10474ALIGN="LEFT"
10475VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010476> an XML parser input</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010477></TR
10478></TABLE
10479><P
10480></P
10481></DIV
10482></DIV
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010483><HR><DIV
10484CLASS="REFSECT2"
10485><A
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010486NAME="AEN15885"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010487></A
10488><H3
10489><A
10490NAME="HTMLINITAUTOCLOSE"
10491></A
10492>htmlInitAutoClose ()</H3
10493><TABLE
10494BORDER="0"
10495BGCOLOR="#D6E8FF"
10496WIDTH="100%"
10497CELLPADDING="6"
10498><TR
10499><TD
10500><PRE
10501CLASS="PROGRAMLISTING"
10502>void htmlInitAutoClose (void);</PRE
10503></TD
10504></TR
10505></TABLE
10506><P
10507>Initialize the htmlStartCloseIndex for fast lookup of closing tags names.
10508This is not reentrant. Call <A
10509HREF="gnome-xml-parser.html#XMLINITPARSER"
10510>xmlInitParser</A
10511>() once before processing in
10512case of use in multithreaded programs.</P
10513><P
10514></P
10515></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +000010516></DIV
10517><DIV
10518CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +000010519><BR
10520CLEAR="all"><BR><TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +000010521WIDTH="100%"
10522BORDER="0"
10523BGCOLOR="#000000"
10524CELLPADDING="1"
10525CELLSPACING="0"
10526><TR
10527><TD
10528WIDTH="25%"
10529BGCOLOR="#C00000"
10530ALIGN="left"
10531><A
Daniel Veillard294cbca1999-12-03 13:19:09 +000010532HREF="gnome-xml-xmlio.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000010533><FONT
10534COLOR="#FFFFFF"
10535SIZE="3"
10536><B
10537>&#60;&#60;&#60; Previous Page</B
10538></FONT
10539></A
Daniel Veillard35925471999-02-25 08:46:07 +000010540></TD
10541><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010542WIDTH="25%"
10543BGCOLOR="#0000C0"
10544ALIGN="center"
10545><FONT
10546COLOR="#FFFFFF"
10547SIZE="3"
10548><B
10549><A
10550HREF="book1.html"
10551><FONT
10552COLOR="#FFFFFF"
10553SIZE="3"
10554><B
10555>Home</B
10556></FONT
10557></A
10558></B
10559></FONT
10560></TD
10561><TD
10562WIDTH="25%"
10563BGCOLOR="#00C000"
10564ALIGN="center"
10565><FONT
10566COLOR="#FFFFFF"
10567SIZE="3"
10568><B
10569><A
Daniel Veillard35008381999-10-25 13:15:52 +000010570HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000010571><FONT
10572COLOR="#FFFFFF"
10573SIZE="3"
10574><B
10575>Up</B
10576></FONT
10577></A
10578></B
10579></FONT
10580></TD
10581><TD
10582WIDTH="25%"
10583BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000010584ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010585><A
Daniel Veillard294cbca1999-12-03 13:19:09 +000010586HREF="gnome-xml-encoding.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010587><FONT
10588COLOR="#FFFFFF"
10589SIZE="3"
10590><B
10591>Next Page &#62;&#62;&#62;</B
10592></FONT
10593></A
10594></TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010595></TR
10596><TR
10597><TD
10598COLSPAN="2"
10599ALIGN="left"
10600><FONT
10601COLOR="#FFFFFF"
10602SIZE="3"
10603><B
Daniel Veillard294cbca1999-12-03 13:19:09 +000010604>xmlIO</B
Daniel Veillard14fff061999-06-22 21:49:07 +000010605></FONT
10606></TD
10607><TD
10608COLSPAN="2"
10609ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010610><FONT
10611COLOR="#FFFFFF"
10612SIZE="3"
10613><B
Daniel Veillard294cbca1999-12-03 13:19:09 +000010614>encoding</B
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010615></FONT
10616></TD
Daniel Veillard35925471999-02-25 08:46:07 +000010617></TR
10618></TABLE
10619></DIV
10620></BODY
10621></HTML
10622>