blob: 276d932de4c3349d595db847162304404b047b7b [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 Veillarda1fe9102000-11-25 10:49:25 +0000118NAME="AEN14895"
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 Veillarda1fe9102000-11-25 10:49:25 +0000126NAME="AEN14898"
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 +0000197int <A
198HREF="gnome-xml-parserinternals.html#XMLISBASECHAR"
199>xmlIsBaseChar</A
200> (int c);
201int <A
202HREF="gnome-xml-parserinternals.html#XMLISBLANK"
203>xmlIsBlank</A
204> (int c);
205int <A
206HREF="gnome-xml-parserinternals.html#XMLISPUBIDCHAR"
207>xmlIsPubidChar</A
208> (int c);
209int <A
210HREF="gnome-xml-parserinternals.html#XMLISLETTER"
211>xmlIsLetter</A
212> (int c);
213int <A
214HREF="gnome-xml-parserinternals.html#XMLISDIGIT"
215>xmlIsDigit</A
216> (int c);
217int <A
218HREF="gnome-xml-parserinternals.html#XMLISIDEOGRAPHIC"
219>xmlIsIdeographic</A
220> (int c);
221int <A
222HREF="gnome-xml-parserinternals.html#XMLISCOMBINING"
223>xmlIsCombining</A
224> (int c);
225int <A
226HREF="gnome-xml-parserinternals.html#XMLISEXTENDER"
227>xmlIsExtender</A
228> (int c);
229int <A
230HREF="gnome-xml-parserinternals.html#XMLISCHAR"
231>xmlIsChar</A
232> (int c);
Daniel Veillardd692aa41999-02-28 21:54:31 +0000233<A
234HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
235>xmlParserCtxtPtr</A
236> <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000237HREF="gnome-xml-parser.html#XMLCREATEDOCPARSERCTXT"
Daniel Veillardd692aa41999-02-28 21:54:31 +0000238>xmlCreateDocParserCtxt</A
239> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000240HREF="gnome-xml-tree.html#XMLCHAR"
241>xmlChar</A
Daniel Veillardd692aa41999-02-28 21:54:31 +0000242> *cur);
243<A
244HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
245>xmlParserCtxtPtr</A
246> <A
247HREF="gnome-xml-parserinternals.html#XMLCREATEFILEPARSERCTXT"
248>xmlCreateFileParserCtxt</A
249> (const char *filename);
250<A
251HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
252>xmlParserCtxtPtr</A
253> <A
254HREF="gnome-xml-parserinternals.html#XMLCREATEMEMORYPARSERCTXT"
255>xmlCreateMemoryParserCtxt</A
256> (char *buffer,
257 int size);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000258<A
259HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
260>xmlParserCtxtPtr</A
261> <A
262HREF="gnome-xml-parserinternals.html#XMLNEWPARSERCTXT"
263>xmlNewParserCtxt</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000264> (void);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000265<A
266HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
267>xmlParserCtxtPtr</A
268> <A
269HREF="gnome-xml-parserinternals.html#XMLCREATEENTITYPARSERCTXT"
270>xmlCreateEntityParserCtxt</A
271> (const <A
272HREF="gnome-xml-tree.html#XMLCHAR"
273>xmlChar</A
274> *URL,
275 const <A
276HREF="gnome-xml-tree.html#XMLCHAR"
277>xmlChar</A
278> *ID,
279 const <A
280HREF="gnome-xml-tree.html#XMLCHAR"
281>xmlChar</A
282> *base);
283int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000284HREF="gnome-xml-parserinternals.html#XMLSWITCHENCODING"
285>xmlSwitchEncoding</A
286> (<A
287HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
288>xmlParserCtxtPtr</A
289> ctxt,
Daniel Veillard294cbca1999-12-03 13:19:09 +0000290 <A
291HREF="gnome-xml-encoding.html#XMLCHARENCODING"
292>xmlCharEncoding</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000293> enc);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000294int <A
295HREF="gnome-xml-parserinternals.html#XMLSWITCHTOENCODING"
296>xmlSwitchToEncoding</A
297> (<A
298HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
299>xmlParserCtxtPtr</A
300> ctxt,
301 <A
302HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR"
303>xmlCharEncodingHandlerPtr</A
304> handler);
305void <A
306HREF="gnome-xml-parser.html#XMLFREEPARSERCTXT"
307>xmlFreeParserCtxt</A
308> (<A
309HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
310>xmlParserCtxtPtr</A
311> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000312void <A
313HREF="gnome-xml-parserinternals.html#XMLHANDLEENTITY"
314>xmlHandleEntity</A
315> (<A
316HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
317>xmlParserCtxtPtr</A
318> ctxt,
319 <A
320HREF="gnome-xml-entities.html#XMLENTITYPTR"
321>xmlEntityPtr</A
322> entity);
323<A
Daniel Veillardbc50b591999-03-01 12:28:53 +0000324HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
325>xmlParserInputPtr</A
326> <A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000327HREF="gnome-xml-parserinternals.html#XMLNEWENTITYINPUTSTREAM"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000328>xmlNewEntityInputStream</A
329> (<A
330HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
331>xmlParserCtxtPtr</A
332> ctxt,
333 <A
334HREF="gnome-xml-entities.html#XMLENTITYPTR"
335>xmlEntityPtr</A
336> entity);
337void <A
338HREF="gnome-xml-parserinternals.html#XMLPUSHINPUT"
339>xmlPushInput</A
340> (<A
341HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
342>xmlParserCtxtPtr</A
343> ctxt,
344 <A
345HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
346>xmlParserInputPtr</A
347> input);
348<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000349HREF="gnome-xml-tree.html#XMLCHAR"
350>xmlChar</A
351> <A
Daniel Veillardbc50b591999-03-01 12:28:53 +0000352HREF="gnome-xml-parserinternals.html#XMLPOPINPUT"
353>xmlPopInput</A
354> (<A
355HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
356>xmlParserCtxtPtr</A
357> ctxt);
358void <A
359HREF="gnome-xml-parserinternals.html#XMLFREEINPUTSTREAM"
360>xmlFreeInputStream</A
361> (<A
362HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
363>xmlParserInputPtr</A
364> input);
365<A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000366HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
367>xmlParserInputPtr</A
368> <A
369HREF="gnome-xml-parserinternals.html#XMLNEWINPUTFROMFILE"
370>xmlNewInputFromFile</A
371> (<A
372HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
373>xmlParserCtxtPtr</A
374> ctxt,
375 const char *filename);
376<A
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000377HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
378>xmlParserInputPtr</A
379> <A
380HREF="gnome-xml-parserinternals.html#XMLNEWINPUTSTREAM"
381>xmlNewInputStream</A
382> (<A
383HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
384>xmlParserCtxtPtr</A
385> ctxt);
386<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000387HREF="gnome-xml-tree.html#XMLCHAR"
388>xmlChar</A
389>* <A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000390HREF="gnome-xml-parserinternals.html#XMLSPLITQNAME"
391>xmlSplitQName</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000392> (<A
393HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
394>xmlParserCtxtPtr</A
395> ctxt,
396 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000397HREF="gnome-xml-tree.html#XMLCHAR"
398>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000399> *name,
400 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000401HREF="gnome-xml-tree.html#XMLCHAR"
402>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000403> **prefix);
404<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000405HREF="gnome-xml-tree.html#XMLCHAR"
406>xmlChar</A
407>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000408HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSENCNAME"
409>xmlNamespaceParseNCName</A
410> (<A
411HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
412>xmlParserCtxtPtr</A
413> ctxt);
414<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000415HREF="gnome-xml-tree.html#XMLCHAR"
416>xmlChar</A
417>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000418HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSEQNAME"
419>xmlNamespaceParseQName</A
420> (<A
421HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
422>xmlParserCtxtPtr</A
423> ctxt,
424 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000425HREF="gnome-xml-tree.html#XMLCHAR"
426>xmlChar</A
Daniel Veillard35925471999-02-25 08:46: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#XMLNAMESPACEPARSENSDEF"
433>xmlNamespaceParseNSDef</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#XMLPARSEQUOTEDSTRING"
443>xmlParseQuotedString</A
444> (<A
445HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
446>xmlParserCtxtPtr</A
447> ctxt);
448void <A
449HREF="gnome-xml-parserinternals.html#XMLPARSENAMESPACE"
450>xmlParseNamespace</A
451> (<A
452HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
453>xmlParserCtxtPtr</A
454> ctxt);
455<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000456HREF="gnome-xml-tree.html#XMLCHAR"
457>xmlChar</A
458>* <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000459HREF="gnome-xml-parserinternals.html#XMLSCANNAME"
460>xmlScanName</A
461> (<A
462HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
463>xmlParserCtxtPtr</A
464> ctxt);
465<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000466HREF="gnome-xml-tree.html#XMLCHAR"
467>xmlChar</A
468>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000469HREF="gnome-xml-parserinternals.html#XMLPARSENAME"
470>xmlParseName</A
471> (<A
472HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
473>xmlParserCtxtPtr</A
474> ctxt);
475<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000476HREF="gnome-xml-tree.html#XMLCHAR"
477>xmlChar</A
478>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000479HREF="gnome-xml-parserinternals.html#XMLPARSENMTOKEN"
480>xmlParseNmtoken</A
481> (<A
482HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
483>xmlParserCtxtPtr</A
484> ctxt);
485<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000486HREF="gnome-xml-tree.html#XMLCHAR"
487>xmlChar</A
488>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000489HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYVALUE"
490>xmlParseEntityValue</A
491> (<A
492HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
493>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000494> ctxt,
495 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000496HREF="gnome-xml-tree.html#XMLCHAR"
497>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000498> **orig);
Daniel Veillard35925471999-02-25 08:46:07 +0000499<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#XMLPARSEATTVALUE"
504>xmlParseAttValue</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#XMLPARSESYSTEMLITERAL"
514>xmlParseSystemLiteral</A
515> (<A
516HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
517>xmlParserCtxtPtr</A
518> ctxt);
519<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000520HREF="gnome-xml-tree.html#XMLCHAR"
521>xmlChar</A
522>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000523HREF="gnome-xml-parserinternals.html#XMLPARSEPUBIDLITERAL"
524>xmlParsePubidLiteral</A
525> (<A
526HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
527>xmlParserCtxtPtr</A
528> ctxt);
529void <A
530HREF="gnome-xml-parserinternals.html#XMLPARSECHARDATA"
531>xmlParseCharData</A
532> (<A
533HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
534>xmlParserCtxtPtr</A
535> ctxt,
536 int cdata);
537<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000538HREF="gnome-xml-tree.html#XMLCHAR"
539>xmlChar</A
540>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000541HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
542>xmlParseExternalID</A
543> (<A
544HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
545>xmlParserCtxtPtr</A
546> ctxt,
547 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000548HREF="gnome-xml-tree.html#XMLCHAR"
549>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000550> **publicID,
551 int strict);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000552void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000553HREF="gnome-xml-parserinternals.html#XMLPARSECOMMENT"
554>xmlParseComment</A
555> (<A
556HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
557>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000558> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000559<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000560HREF="gnome-xml-tree.html#XMLCHAR"
561>xmlChar</A
562>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000563HREF="gnome-xml-parserinternals.html#XMLPARSEPITARGET"
564>xmlParsePITarget</A
565> (<A
566HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
567>xmlParserCtxtPtr</A
568> ctxt);
569void <A
570HREF="gnome-xml-parserinternals.html#XMLPARSEPI"
571>xmlParsePI</A
572> (<A
573HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
574>xmlParserCtxtPtr</A
575> ctxt);
576void <A
577HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONDECL"
578>xmlParseNotationDecl</A
579> (<A
580HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
581>xmlParserCtxtPtr</A
582> ctxt);
583void <A
584HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYDECL"
585>xmlParseEntityDecl</A
586> (<A
587HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
588>xmlParserCtxtPtr</A
589> ctxt);
590int <A
591HREF="gnome-xml-parserinternals.html#XMLPARSEDEFAULTDECL"
592>xmlParseDefaultDecl</A
593> (<A
594HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
595>xmlParserCtxtPtr</A
596> ctxt,
597 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000598HREF="gnome-xml-tree.html#XMLCHAR"
599>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000600> **value);
601<A
602HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
603>xmlEnumerationPtr</A
604> <A
605HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONTYPE"
606>xmlParseNotationType</A
607> (<A
608HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
609>xmlParserCtxtPtr</A
610> ctxt);
611<A
612HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
613>xmlEnumerationPtr</A
614> <A
615HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATIONTYPE"
616>xmlParseEnumerationType</A
617> (<A
618HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
619>xmlParserCtxtPtr</A
620> ctxt);
621int <A
622HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATEDTYPE"
623>xmlParseEnumeratedType</A
624> (<A
625HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
626>xmlParserCtxtPtr</A
627> ctxt,
628 <A
629HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
630>xmlEnumerationPtr</A
631> *tree);
632int <A
633HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTETYPE"
634>xmlParseAttributeType</A
635> (<A
636HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
637>xmlParserCtxtPtr</A
638> ctxt,
639 <A
640HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
641>xmlEnumerationPtr</A
642> *tree);
643void <A
644HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTELISTDECL"
645>xmlParseAttributeListDecl</A
646> (<A
647HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
648>xmlParserCtxtPtr</A
649> ctxt);
650<A
651HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
652>xmlElementContentPtr</A
653> <A
654HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTMIXEDCONTENTDECL"
655>xmlParseElementMixedContentDecl</A
656>
657 (<A
658HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
659>xmlParserCtxtPtr</A
660> ctxt);
661<A
662HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
663>xmlElementContentPtr</A
664> <A
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000665HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTD"
666>xmlParseElementChildrenContentD</A
667>
668 (<A
669HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
670>xmlParserCtxtPtr</A
671> ctxt);
672<A
673HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
674>xmlElementContentPtr</A
675> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000676HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTDECL"
677>xmlParseElementChildrenContentDecl</A
678>
679 (<A
680HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
681>xmlParserCtxtPtr</A
682> ctxt);
683int <A
684HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCONTENTDECL"
685>xmlParseElementContentDecl</A
686> (<A
687HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
688>xmlParserCtxtPtr</A
689> ctxt,
690 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000691HREF="gnome-xml-tree.html#XMLCHAR"
692>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000693> *name,
694 <A
695HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
696>xmlElementContentPtr</A
697> *result);
698int <A
699HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTDECL"
700>xmlParseElementDecl</A
701> (<A
702HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
703>xmlParserCtxtPtr</A
704> ctxt);
705void <A
706HREF="gnome-xml-parserinternals.html#XMLPARSEMARKUPDECL"
707>xmlParseMarkupDecl</A
708> (<A
709HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
710>xmlParserCtxtPtr</A
711> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000712int <A
Daniel Veillard35925471999-02-25 08:46:07 +0000713HREF="gnome-xml-parserinternals.html#XMLPARSECHARREF"
714>xmlParseCharRef</A
715> (<A
716HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
717>xmlParserCtxtPtr</A
718> ctxt);
719<A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000720HREF="gnome-xml-entities.html#XMLENTITYPTR"
721>xmlEntityPtr</A
722> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000723HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYREF"
724>xmlParseEntityRef</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000725> (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000726HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
727>xmlParserCtxtPtr</A
728> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000729void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000730HREF="gnome-xml-parserinternals.html#XMLPARSEREFERENCE"
731>xmlParseReference</A
732> (<A
733HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
734>xmlParserCtxtPtr</A
735> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000736void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000737HREF="gnome-xml-parserinternals.html#XMLPARSEPEREFERENCE"
738>xmlParsePEReference</A
739> (<A
740HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
741>xmlParserCtxtPtr</A
742> ctxt);
743void <A
744HREF="gnome-xml-parserinternals.html#XMLPARSEDOCTYPEDECL"
745>xmlParseDocTypeDecl</A
746> (<A
747HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
748>xmlParserCtxtPtr</A
749> ctxt);
750<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000751HREF="gnome-xml-tree.html#XMLCHAR"
752>xmlChar</A
753>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000754HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTE"
755>xmlParseAttribute</A
756> (<A
757HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
758>xmlParserCtxtPtr</A
759> ctxt,
760 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000761HREF="gnome-xml-tree.html#XMLCHAR"
762>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000763> **value);
Daniel Veillard14fff061999-06-22 21:49:07 +0000764<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000765HREF="gnome-xml-tree.html#XMLCHAR"
766>xmlChar</A
767>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000768HREF="gnome-xml-parserinternals.html#XMLPARSESTARTTAG"
769>xmlParseStartTag</A
770> (<A
771HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
772>xmlParserCtxtPtr</A
773> ctxt);
774void <A
775HREF="gnome-xml-parserinternals.html#XMLPARSEENDTAG"
776>xmlParseEndTag</A
777> (<A
778HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
779>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +0000780> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000781void <A
782HREF="gnome-xml-parserinternals.html#XMLPARSECDSECT"
783>xmlParseCDSect</A
784> (<A
785HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
786>xmlParserCtxtPtr</A
787> ctxt);
788void <A
789HREF="gnome-xml-parserinternals.html#XMLPARSECONTENT"
790>xmlParseContent</A
791> (<A
792HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
793>xmlParserCtxtPtr</A
794> ctxt);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000795void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000796HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENT"
797>xmlParseElement</A
798> (<A
799HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
800>xmlParserCtxtPtr</A
801> ctxt);
802<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000803HREF="gnome-xml-tree.html#XMLCHAR"
804>xmlChar</A
805>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000806HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONNUM"
807>xmlParseVersionNum</A
808> (<A
809HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
810>xmlParserCtxtPtr</A
811> ctxt);
812<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000813HREF="gnome-xml-tree.html#XMLCHAR"
814>xmlChar</A
815>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000816HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONINFO"
817>xmlParseVersionInfo</A
818> (<A
819HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
820>xmlParserCtxtPtr</A
821> ctxt);
822<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000823HREF="gnome-xml-tree.html#XMLCHAR"
824>xmlChar</A
825>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000826HREF="gnome-xml-parserinternals.html#XMLPARSEENCNAME"
827>xmlParseEncName</A
828> (<A
829HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
830>xmlParserCtxtPtr</A
831> ctxt);
832<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000833HREF="gnome-xml-tree.html#XMLCHAR"
834>xmlChar</A
835>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000836HREF="gnome-xml-parserinternals.html#XMLPARSEENCODINGDECL"
837>xmlParseEncodingDecl</A
838> (<A
839HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
840>xmlParserCtxtPtr</A
841> ctxt);
842int <A
843HREF="gnome-xml-parserinternals.html#XMLPARSESDDECL"
844>xmlParseSDDecl</A
845> (<A
846HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
847>xmlParserCtxtPtr</A
848> ctxt);
849void <A
850HREF="gnome-xml-parserinternals.html#XMLPARSEXMLDECL"
851>xmlParseXMLDecl</A
852> (<A
853HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
854>xmlParserCtxtPtr</A
855> ctxt);
856void <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000857HREF="gnome-xml-parserinternals.html#XMLPARSETEXTDECL"
858>xmlParseTextDecl</A
859> (<A
860HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
861>xmlParserCtxtPtr</A
862> ctxt);
863void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000864HREF="gnome-xml-parserinternals.html#XMLPARSEMISC"
865>xmlParseMisc</A
866> (<A
867HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
868>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000869> ctxt);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000870void <A
871HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALSUBSET"
872>xmlParseExternalSubset</A
873> (<A
874HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
875>xmlParserCtxtPtr</A
876> ctxt,
877 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000878HREF="gnome-xml-tree.html#XMLCHAR"
879>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000880> *ExternalID,
881 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000882HREF="gnome-xml-tree.html#XMLCHAR"
883>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000884> *SystemID);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000885#define <A
886HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-NONE"
887>XML_SUBSTITUTE_NONE</A
888>
889#define <A
890HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-REF"
891>XML_SUBSTITUTE_REF</A
892>
893#define <A
894HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-PEREF"
895>XML_SUBSTITUTE_PEREF</A
896>
897#define <A
898HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-BOTH"
899>XML_SUBSTITUTE_BOTH</A
900>
901<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000902HREF="gnome-xml-tree.html#XMLCHAR"
903>xmlChar</A
904>* <A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000905HREF="gnome-xml-parserinternals.html#XMLDECODEENTITIES"
906>xmlDecodeEntities</A
907> (<A
908HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
909>xmlParserCtxtPtr</A
910> ctxt,
911 int len,
912 int what,
913 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000914HREF="gnome-xml-tree.html#XMLCHAR"
915>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000916> end,
917 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000918HREF="gnome-xml-tree.html#XMLCHAR"
919>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000920> end2,
921 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000922HREF="gnome-xml-tree.html#XMLCHAR"
923>xmlChar</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000924> end3);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000925<A
926HREF="gnome-xml-tree.html#XMLCHAR"
927>xmlChar</A
928>* <A
929HREF="gnome-xml-parserinternals.html#XMLSTRINGDECODEENTITIES"
930>xmlStringDecodeEntities</A
931> (<A
932HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
933>xmlParserCtxtPtr</A
934> ctxt,
935 const <A
936HREF="gnome-xml-tree.html#XMLCHAR"
937>xmlChar</A
938> *str,
939 int what,
940 <A
941HREF="gnome-xml-tree.html#XMLCHAR"
942>xmlChar</A
943> end,
944 <A
945HREF="gnome-xml-tree.html#XMLCHAR"
946>xmlChar</A
947> end2,
948 <A
949HREF="gnome-xml-tree.html#XMLCHAR"
950>xmlChar</A
951> end3);
Daniel Veillard14fff061999-06-22 21:49:07 +0000952int <A
953HREF="gnome-xml-parserinternals.html#NODEPUSH"
954>nodePush</A
955> (<A
956HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
957>xmlParserCtxtPtr</A
958> ctxt,
959 <A
960HREF="gnome-xml-tree.html#XMLNODEPTR"
961>xmlNodePtr</A
962> value);
963<A
964HREF="gnome-xml-tree.html#XMLNODEPTR"
965>xmlNodePtr</A
966> <A
967HREF="gnome-xml-parserinternals.html#NODEPOP"
968>nodePop</A
969> (<A
970HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
971>xmlParserCtxtPtr</A
972> ctxt);
973int <A
974HREF="gnome-xml-parserinternals.html#INPUTPUSH"
975>inputPush</A
976> (<A
977HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
978>xmlParserCtxtPtr</A
979> ctxt,
980 <A
981HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
982>xmlParserInputPtr</A
983> value);
984<A
985HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
986>xmlParserInputPtr</A
987> <A
988HREF="gnome-xml-parserinternals.html#INPUTPOP"
989>inputPop</A
990> (<A
991HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
992>xmlParserCtxtPtr</A
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000993> ctxt);
994int <A
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000995HREF="gnome-xml-parserinternals.html#XMLSKIPBLANKCHARS"
996>xmlSkipBlankChars</A
997> (<A
998HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
999>xmlParserCtxtPtr</A
1000> ctxt);
1001int <A
1002HREF="gnome-xml-parserinternals.html#XMLSTRINGCURRENTCHAR"
1003>xmlStringCurrentChar</A
1004> (<A
1005HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1006>xmlParserCtxtPtr</A
1007> ctxt,
1008 const <A
1009HREF="gnome-xml-tree.html#XMLCHAR"
1010>xmlChar</A
1011> *cur,
1012 int *len);
1013void <A
1014HREF="gnome-xml-parserinternals.html#XMLPARSERHANDLEPEREFERENCE"
1015>xmlParserHandlePEReference</A
1016> (<A
1017HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1018>xmlParserCtxtPtr</A
1019> ctxt);
1020void <A
1021HREF="gnome-xml-parserinternals.html#XMLPARSERHANDLEREFERENCE"
1022>xmlParserHandleReference</A
1023> (<A
1024HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1025>xmlParserCtxtPtr</A
1026> ctxt);
1027<A
1028HREF="gnome-xml-tree.html#XMLCHAR"
1029>xmlChar</A
1030>* <A
1031HREF="gnome-xml-parserinternals.html#NAMEPOP"
1032>namePop</A
1033> (<A
1034HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1035>xmlParserCtxtPtr</A
1036> ctxt);
1037int <A
1038HREF="gnome-xml-parserinternals.html#XMLCHECKLANGUAGEID"
1039>xmlCheckLanguageID</A
1040> (const <A
1041HREF="gnome-xml-tree.html#XMLCHAR"
1042>xmlChar</A
1043> *lang);
1044int <A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001045HREF="gnome-xml-parserinternals.html#XMLCURRENTCHAR"
1046>xmlCurrentChar</A
1047> (<A
1048HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1049>xmlParserCtxtPtr</A
1050> ctxt,
1051 int *len);
1052int <A
1053HREF="gnome-xml-parserinternals.html#XMLCOPYCHAR"
1054>xmlCopyChar</A
1055> (int len,
1056 <A
1057HREF="gnome-xml-tree.html#XMLCHAR"
1058>xmlChar</A
1059> *out,
1060 int val);
1061void <A
1062HREF="gnome-xml-parserinternals.html#XMLNEXTCHAR"
1063>xmlNextChar</A
1064> (<A
1065HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1066>xmlParserCtxtPtr</A
1067> ctxt);
1068void <A
1069HREF="gnome-xml-parserinternals.html#XMLPARSERINPUTSHRINK"
1070>xmlParserInputShrink</A
1071> (<A
1072HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
1073>xmlParserInputPtr</A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001074> in);
1075void <A
1076HREF="gnome-xml-parserinternals.html#HTMLINITAUTOCLOSE"
1077>htmlInitAutoClose</A
1078> (void);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001079></TD
1080></TR
1081></TABLE
1082></DIV
1083><DIV
1084CLASS="REFSECT1"
1085><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001086NAME="AEN15162"
Daniel Veillard35925471999-02-25 08:46:07 +00001087></A
1088><H2
1089>Description</H2
1090><P
1091></P
1092></DIV
1093><DIV
1094CLASS="REFSECT1"
1095><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001096NAME="AEN15165"
Daniel Veillard35925471999-02-25 08:46:07 +00001097></A
1098><H2
1099>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001100><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001101CLASS="REFSECT2"
1102><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001103NAME="AEN15167"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001104></A
1105><H3
1106><A
1107NAME="XML-MAX-NAMELEN"
1108></A
1109>XML_MAX_NAMELEN</H3
1110><TABLE
1111BORDER="0"
1112BGCOLOR="#D6E8FF"
1113WIDTH="100%"
1114CELLPADDING="6"
1115><TR
1116><TD
1117><PRE
1118CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001119>#define XML_MAX_NAMELEN 100</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001120></TD
1121></TR
1122></TABLE
1123><P
1124></P
1125></DIV
1126><HR><DIV
1127CLASS="REFSECT2"
1128><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001129NAME="AEN15172"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001130></A
1131><H3
1132><A
1133NAME="INPUT-CHUNK"
1134></A
1135>INPUT_CHUNK</H3
1136><TABLE
1137BORDER="0"
1138BGCOLOR="#D6E8FF"
1139WIDTH="100%"
1140CELLPADDING="6"
1141><TR
1142><TD
1143><PRE
1144CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001145>#define INPUT_CHUNK 250</PRE
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001146></TD
1147></TR
1148></TABLE
1149><P
1150></P
1151></DIV
1152><HR><DIV
1153CLASS="REFSECT2"
1154><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001155NAME="AEN15177"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001156></A
1157><H3
1158><A
1159NAME="IS-CHAR"
1160></A
1161>IS_CHAR()</H3
1162><TABLE
1163BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001164BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001165WIDTH="100%"
1166CELLPADDING="6"
1167><TR
1168><TD
1169><PRE
1170CLASS="PROGRAMLISTING"
1171>#define IS_CHAR(c)</PRE
1172></TD
1173></TR
1174></TABLE
1175><P
1176></P
1177><DIV
1178CLASS="INFORMALTABLE"
1179><P
1180></P
1181><TABLE
1182BORDER="0"
1183WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001184BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001185CELLSPACING="0"
1186CELLPADDING="4"
1187CLASS="CALSTABLE"
1188><TR
1189><TD
1190WIDTH="20%"
1191ALIGN="RIGHT"
1192VALIGN="TOP"
1193><TT
1194CLASS="PARAMETER"
1195><I
1196>c</I
1197></TT
1198>&nbsp;:</TD
1199><TD
1200WIDTH="80%"
1201ALIGN="LEFT"
1202VALIGN="TOP"
1203>&nbsp;</TD
1204></TR
1205></TABLE
1206><P
1207></P
1208></DIV
1209></DIV
1210><HR><DIV
1211CLASS="REFSECT2"
1212><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001213NAME="AEN15191"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001214></A
1215><H3
1216><A
1217NAME="IS-BLANK"
1218></A
1219>IS_BLANK()</H3
1220><TABLE
1221BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001222BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001223WIDTH="100%"
1224CELLPADDING="6"
1225><TR
1226><TD
1227><PRE
1228CLASS="PROGRAMLISTING"
1229>#define IS_BLANK(c)</PRE
1230></TD
1231></TR
1232></TABLE
1233><P
1234></P
1235><DIV
1236CLASS="INFORMALTABLE"
1237><P
1238></P
1239><TABLE
1240BORDER="0"
1241WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001242BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001243CELLSPACING="0"
1244CELLPADDING="4"
1245CLASS="CALSTABLE"
1246><TR
1247><TD
1248WIDTH="20%"
1249ALIGN="RIGHT"
1250VALIGN="TOP"
1251><TT
1252CLASS="PARAMETER"
1253><I
1254>c</I
1255></TT
1256>&nbsp;:</TD
1257><TD
1258WIDTH="80%"
1259ALIGN="LEFT"
1260VALIGN="TOP"
1261>&nbsp;</TD
1262></TR
1263></TABLE
1264><P
1265></P
1266></DIV
1267></DIV
1268><HR><DIV
1269CLASS="REFSECT2"
1270><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001271NAME="AEN15205"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001272></A
1273><H3
1274><A
1275NAME="IS-BASECHAR"
1276></A
1277>IS_BASECHAR()</H3
1278><TABLE
1279BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001280BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001281WIDTH="100%"
1282CELLPADDING="6"
1283><TR
1284><TD
1285><PRE
1286CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001287>#define IS_BASECHAR(c) xmlIsBaseChar(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001288></TD
1289></TR
1290></TABLE
1291><P
1292></P
1293><DIV
1294CLASS="INFORMALTABLE"
1295><P
1296></P
1297><TABLE
1298BORDER="0"
1299WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001300BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001301CELLSPACING="0"
1302CELLPADDING="4"
1303CLASS="CALSTABLE"
1304><TR
1305><TD
1306WIDTH="20%"
1307ALIGN="RIGHT"
1308VALIGN="TOP"
1309><TT
1310CLASS="PARAMETER"
1311><I
1312>c</I
1313></TT
1314>&nbsp;:</TD
1315><TD
1316WIDTH="80%"
1317ALIGN="LEFT"
1318VALIGN="TOP"
1319>&nbsp;</TD
1320></TR
1321></TABLE
1322><P
1323></P
1324></DIV
1325></DIV
1326><HR><DIV
1327CLASS="REFSECT2"
1328><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001329NAME="AEN15219"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001330></A
1331><H3
1332><A
1333NAME="IS-DIGIT"
1334></A
1335>IS_DIGIT()</H3
1336><TABLE
1337BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001338BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001339WIDTH="100%"
1340CELLPADDING="6"
1341><TR
1342><TD
1343><PRE
1344CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001345>#define IS_DIGIT(c) xmlIsDigit(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001346></TD
1347></TR
1348></TABLE
1349><P
1350></P
1351><DIV
1352CLASS="INFORMALTABLE"
1353><P
1354></P
1355><TABLE
1356BORDER="0"
1357WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001358BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001359CELLSPACING="0"
1360CELLPADDING="4"
1361CLASS="CALSTABLE"
1362><TR
1363><TD
1364WIDTH="20%"
1365ALIGN="RIGHT"
1366VALIGN="TOP"
1367><TT
1368CLASS="PARAMETER"
1369><I
1370>c</I
1371></TT
1372>&nbsp;:</TD
1373><TD
1374WIDTH="80%"
1375ALIGN="LEFT"
1376VALIGN="TOP"
1377>&nbsp;</TD
1378></TR
1379></TABLE
1380><P
1381></P
1382></DIV
1383></DIV
1384><HR><DIV
1385CLASS="REFSECT2"
1386><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001387NAME="AEN15233"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001388></A
1389><H3
1390><A
1391NAME="IS-COMBINING"
1392></A
1393>IS_COMBINING()</H3
1394><TABLE
1395BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001396BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001397WIDTH="100%"
1398CELLPADDING="6"
1399><TR
1400><TD
1401><PRE
1402CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001403>#define IS_COMBINING(c) xmlIsCombining(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001404></TD
1405></TR
1406></TABLE
1407><P
1408></P
1409><DIV
1410CLASS="INFORMALTABLE"
1411><P
1412></P
1413><TABLE
1414BORDER="0"
1415WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001416BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001417CELLSPACING="0"
1418CELLPADDING="4"
1419CLASS="CALSTABLE"
1420><TR
1421><TD
1422WIDTH="20%"
1423ALIGN="RIGHT"
1424VALIGN="TOP"
1425><TT
1426CLASS="PARAMETER"
1427><I
1428>c</I
1429></TT
1430>&nbsp;:</TD
1431><TD
1432WIDTH="80%"
1433ALIGN="LEFT"
1434VALIGN="TOP"
1435>&nbsp;</TD
1436></TR
1437></TABLE
1438><P
1439></P
1440></DIV
1441></DIV
1442><HR><DIV
1443CLASS="REFSECT2"
1444><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001445NAME="AEN15247"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001446></A
1447><H3
1448><A
1449NAME="IS-EXTENDER"
1450></A
1451>IS_EXTENDER()</H3
1452><TABLE
1453BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001454BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001455WIDTH="100%"
1456CELLPADDING="6"
1457><TR
1458><TD
1459><PRE
1460CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001461>#define IS_EXTENDER(c) xmlIsExtender(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001462></TD
1463></TR
1464></TABLE
1465><P
1466></P
1467><DIV
1468CLASS="INFORMALTABLE"
1469><P
1470></P
1471><TABLE
1472BORDER="0"
1473WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001474BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001475CELLSPACING="0"
1476CELLPADDING="4"
1477CLASS="CALSTABLE"
1478><TR
1479><TD
1480WIDTH="20%"
1481ALIGN="RIGHT"
1482VALIGN="TOP"
1483><TT
1484CLASS="PARAMETER"
1485><I
1486>c</I
1487></TT
1488>&nbsp;:</TD
1489><TD
1490WIDTH="80%"
1491ALIGN="LEFT"
1492VALIGN="TOP"
1493>&nbsp;</TD
1494></TR
1495></TABLE
1496><P
1497></P
1498></DIV
1499></DIV
1500><HR><DIV
1501CLASS="REFSECT2"
1502><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001503NAME="AEN15261"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001504></A
1505><H3
1506><A
1507NAME="IS-IDEOGRAPHIC"
1508></A
1509>IS_IDEOGRAPHIC()</H3
1510><TABLE
1511BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001512BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001513WIDTH="100%"
1514CELLPADDING="6"
1515><TR
1516><TD
1517><PRE
1518CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001519>#define IS_IDEOGRAPHIC(c) xmlIsIdeographic(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001520></TD
1521></TR
1522></TABLE
1523><P
1524></P
1525><DIV
1526CLASS="INFORMALTABLE"
1527><P
1528></P
1529><TABLE
1530BORDER="0"
1531WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001532BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001533CELLSPACING="0"
1534CELLPADDING="4"
1535CLASS="CALSTABLE"
1536><TR
1537><TD
1538WIDTH="20%"
1539ALIGN="RIGHT"
1540VALIGN="TOP"
1541><TT
1542CLASS="PARAMETER"
1543><I
1544>c</I
1545></TT
1546>&nbsp;:</TD
1547><TD
1548WIDTH="80%"
1549ALIGN="LEFT"
1550VALIGN="TOP"
1551>&nbsp;</TD
1552></TR
1553></TABLE
1554><P
1555></P
1556></DIV
1557></DIV
1558><HR><DIV
1559CLASS="REFSECT2"
1560><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001561NAME="AEN15275"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001562></A
1563><H3
1564><A
1565NAME="IS-LETTER"
1566></A
1567>IS_LETTER()</H3
1568><TABLE
1569BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001570BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001571WIDTH="100%"
1572CELLPADDING="6"
1573><TR
1574><TD
1575><PRE
1576CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001577>#define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c))</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001578></TD
1579></TR
1580></TABLE
1581><P
1582></P
1583><DIV
1584CLASS="INFORMALTABLE"
1585><P
1586></P
1587><TABLE
1588BORDER="0"
1589WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001590BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001591CELLSPACING="0"
1592CELLPADDING="4"
1593CLASS="CALSTABLE"
1594><TR
1595><TD
1596WIDTH="20%"
1597ALIGN="RIGHT"
1598VALIGN="TOP"
1599><TT
1600CLASS="PARAMETER"
1601><I
1602>c</I
1603></TT
1604>&nbsp;:</TD
1605><TD
1606WIDTH="80%"
1607ALIGN="LEFT"
1608VALIGN="TOP"
1609>&nbsp;</TD
1610></TR
1611></TABLE
1612><P
1613></P
1614></DIV
1615></DIV
1616><HR><DIV
1617CLASS="REFSECT2"
1618><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001619NAME="AEN15289"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001620></A
1621><H3
1622><A
1623NAME="IS-PUBIDCHAR"
1624></A
1625>IS_PUBIDCHAR()</H3
1626><TABLE
1627BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001628BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001629WIDTH="100%"
1630CELLPADDING="6"
1631><TR
1632><TD
1633><PRE
1634CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001635>#define IS_PUBIDCHAR(c) xmlIsPubidChar(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001636></TD
1637></TR
1638></TABLE
1639><P
1640></P
1641><DIV
1642CLASS="INFORMALTABLE"
1643><P
1644></P
1645><TABLE
1646BORDER="0"
1647WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001648BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001649CELLSPACING="0"
1650CELLPADDING="4"
1651CLASS="CALSTABLE"
1652><TR
1653><TD
1654WIDTH="20%"
1655ALIGN="RIGHT"
1656VALIGN="TOP"
1657><TT
1658CLASS="PARAMETER"
1659><I
1660>c</I
1661></TT
1662>&nbsp;:</TD
1663><TD
1664WIDTH="80%"
1665ALIGN="LEFT"
1666VALIGN="TOP"
1667>&nbsp;</TD
1668></TR
1669></TABLE
1670><P
1671></P
1672></DIV
1673></DIV
1674><HR><DIV
1675CLASS="REFSECT2"
1676><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001677NAME="AEN15303"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001678></A
1679><H3
1680><A
1681NAME="SKIP-EOL"
1682></A
1683>SKIP_EOL()</H3
1684><TABLE
1685BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001686BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001687WIDTH="100%"
1688CELLPADDING="6"
1689><TR
1690><TD
1691><PRE
1692CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001693>#define SKIP_EOL(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001694></TD
1695></TR
1696></TABLE
1697><P
1698></P
1699><DIV
1700CLASS="INFORMALTABLE"
1701><P
1702></P
1703><TABLE
1704BORDER="0"
1705WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001706BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001707CELLSPACING="0"
1708CELLPADDING="4"
1709CLASS="CALSTABLE"
1710><TR
1711><TD
1712WIDTH="20%"
1713ALIGN="RIGHT"
1714VALIGN="TOP"
1715><TT
1716CLASS="PARAMETER"
1717><I
1718>p</I
1719></TT
1720>&nbsp;:</TD
1721><TD
1722WIDTH="80%"
1723ALIGN="LEFT"
1724VALIGN="TOP"
1725>&nbsp;</TD
1726></TR
1727></TABLE
1728><P
1729></P
1730></DIV
1731></DIV
1732><HR><DIV
1733CLASS="REFSECT2"
1734><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001735NAME="AEN15317"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001736></A
1737><H3
1738><A
1739NAME="MOVETO-ENDTAG"
1740></A
1741>MOVETO_ENDTAG()</H3
1742><TABLE
1743BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001744BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001745WIDTH="100%"
1746CELLPADDING="6"
1747><TR
1748><TD
1749><PRE
1750CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001751>#define MOVETO_ENDTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001752></TD
1753></TR
1754></TABLE
1755><P
1756></P
1757><DIV
1758CLASS="INFORMALTABLE"
1759><P
1760></P
1761><TABLE
1762BORDER="0"
1763WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001764BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001765CELLSPACING="0"
1766CELLPADDING="4"
1767CLASS="CALSTABLE"
1768><TR
1769><TD
1770WIDTH="20%"
1771ALIGN="RIGHT"
1772VALIGN="TOP"
1773><TT
1774CLASS="PARAMETER"
1775><I
1776>p</I
1777></TT
1778>&nbsp;:</TD
1779><TD
1780WIDTH="80%"
1781ALIGN="LEFT"
1782VALIGN="TOP"
1783>&nbsp;</TD
1784></TR
1785></TABLE
1786><P
1787></P
1788></DIV
1789></DIV
1790><HR><DIV
1791CLASS="REFSECT2"
1792><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001793NAME="AEN15331"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001794></A
1795><H3
1796><A
1797NAME="MOVETO-STARTTAG"
1798></A
1799>MOVETO_STARTTAG()</H3
1800><TABLE
1801BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001802BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001803WIDTH="100%"
1804CELLPADDING="6"
1805><TR
1806><TD
1807><PRE
1808CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001809>#define MOVETO_STARTTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001810></TD
1811></TR
1812></TABLE
1813><P
1814></P
1815><DIV
1816CLASS="INFORMALTABLE"
1817><P
1818></P
1819><TABLE
1820BORDER="0"
1821WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001822BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001823CELLSPACING="0"
1824CELLPADDING="4"
1825CLASS="CALSTABLE"
1826><TR
1827><TD
1828WIDTH="20%"
1829ALIGN="RIGHT"
1830VALIGN="TOP"
1831><TT
1832CLASS="PARAMETER"
1833><I
1834>p</I
1835></TT
1836>&nbsp;:</TD
1837><TD
1838WIDTH="80%"
1839ALIGN="LEFT"
1840VALIGN="TOP"
1841>&nbsp;</TD
1842></TR
1843></TABLE
1844><P
1845></P
1846></DIV
1847></DIV
1848><HR><DIV
1849CLASS="REFSECT2"
1850><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001851NAME="AEN15345"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001852></A
1853><H3
1854><A
1855NAME="XMLISBASECHAR"
1856></A
1857>xmlIsBaseChar ()</H3
1858><TABLE
1859BORDER="0"
1860BGCOLOR="#D6E8FF"
1861WIDTH="100%"
1862CELLPADDING="6"
1863><TR
1864><TD
1865><PRE
1866CLASS="PROGRAMLISTING"
1867>int xmlIsBaseChar (int c);</PRE
1868></TD
1869></TR
1870></TABLE
1871><P
1872>Check whether the character is allowed by the production
1873[85] BaseChar ::= ... long list see REC ...</P
1874><P
1875>VI is your friend !
1876:1,$ s/\[<GTKDOCLINK
1877HREF="X"
1878>x</GTKDOCLINK
1879>\([0-9A-Z]*\)-<GTKDOCLINK
1880HREF="X"
1881>x</GTKDOCLINK
1882>\([0-9A-Z]*\)\]/ (((c) &gt;= 0x\1) \&amp;\&amp; ((c) &lt;= 0x\2)) ||/
1883and
1884:1,$ s/<GTKDOCLINK
1885HREF="X"
1886>x</GTKDOCLINK
1887>\([0-9A-Z]*\)/ ((c) == 0x\1) ||/</P
1888><P
1889></P
1890><DIV
1891CLASS="INFORMALTABLE"
1892><P
1893></P
1894><TABLE
1895BORDER="0"
1896WIDTH="100%"
1897BGCOLOR="#FFD0D0"
1898CELLSPACING="0"
1899CELLPADDING="4"
1900CLASS="CALSTABLE"
1901><TR
1902><TD
1903WIDTH="20%"
1904ALIGN="RIGHT"
1905VALIGN="TOP"
1906><TT
1907CLASS="PARAMETER"
1908><I
1909>c</I
1910></TT
1911>&nbsp;:</TD
1912><TD
1913WIDTH="80%"
1914ALIGN="LEFT"
1915VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001916> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001917></TR
1918><TR
1919><TD
1920WIDTH="20%"
1921ALIGN="RIGHT"
1922VALIGN="TOP"
1923><I
1924CLASS="EMPHASIS"
1925>Returns</I
1926> :</TD
1927><TD
1928WIDTH="80%"
1929ALIGN="LEFT"
1930VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001931>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001932></TR
1933></TABLE
1934><P
1935></P
1936></DIV
1937></DIV
1938><HR><DIV
1939CLASS="REFSECT2"
1940><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001941NAME="AEN15368"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001942></A
1943><H3
1944><A
1945NAME="XMLISBLANK"
1946></A
1947>xmlIsBlank ()</H3
1948><TABLE
1949BORDER="0"
1950BGCOLOR="#D6E8FF"
1951WIDTH="100%"
1952CELLPADDING="6"
1953><TR
1954><TD
1955><PRE
1956CLASS="PROGRAMLISTING"
1957>int xmlIsBlank (int c);</PRE
1958></TD
1959></TR
1960></TABLE
1961><P
1962>Check whether the character is allowed by the production
1963[3] S ::= (<GTKDOCLINK
1964HREF="X20"
1965>x20</GTKDOCLINK
1966> | <GTKDOCLINK
1967HREF="X9"
1968>x9</GTKDOCLINK
1969> | <GTKDOCLINK
1970HREF="XD"
1971>xD</GTKDOCLINK
1972> | <GTKDOCLINK
1973HREF="XA"
1974>xA</GTKDOCLINK
1975>)+
1976Also available as a macro <A
1977HREF="gnome-xml-parserinternals.html#IS-BLANK"
1978>IS_BLANK</A
1979>()</P
1980><P
1981></P
1982><DIV
1983CLASS="INFORMALTABLE"
1984><P
1985></P
1986><TABLE
1987BORDER="0"
1988WIDTH="100%"
1989BGCOLOR="#FFD0D0"
1990CELLSPACING="0"
1991CELLPADDING="4"
1992CLASS="CALSTABLE"
1993><TR
1994><TD
1995WIDTH="20%"
1996ALIGN="RIGHT"
1997VALIGN="TOP"
1998><TT
1999CLASS="PARAMETER"
2000><I
2001>c</I
2002></TT
2003>&nbsp;:</TD
2004><TD
2005WIDTH="80%"
2006ALIGN="LEFT"
2007VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002008> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002009></TR
2010><TR
2011><TD
2012WIDTH="20%"
2013ALIGN="RIGHT"
2014VALIGN="TOP"
2015><I
2016CLASS="EMPHASIS"
2017>Returns</I
2018> :</TD
2019><TD
2020WIDTH="80%"
2021ALIGN="LEFT"
2022VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002023>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002024></TR
2025></TABLE
2026><P
2027></P
2028></DIV
2029></DIV
2030><HR><DIV
2031CLASS="REFSECT2"
2032><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00002033NAME="AEN15392"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002034></A
2035><H3
2036><A
2037NAME="XMLISPUBIDCHAR"
2038></A
2039>xmlIsPubidChar ()</H3
2040><TABLE
2041BORDER="0"
2042BGCOLOR="#D6E8FF"
2043WIDTH="100%"
2044CELLPADDING="6"
2045><TR
2046><TD
2047><PRE
2048CLASS="PROGRAMLISTING"
2049>int xmlIsPubidChar (int c);</PRE
2050></TD
2051></TR
2052></TABLE
2053><P
2054>Check whether the character is allowed by the production
2055[13] PubidChar ::= <GTKDOCLINK
2056HREF="X20"
2057>x20</GTKDOCLINK
2058> | <GTKDOCLINK
2059HREF="XD"
2060>xD</GTKDOCLINK
2061> | <GTKDOCLINK
2062HREF="XA"
2063>xA</GTKDOCLINK
2064> | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]</P
2065><P
2066></P
2067><DIV
2068CLASS="INFORMALTABLE"
2069><P
2070></P
2071><TABLE
2072BORDER="0"
2073WIDTH="100%"
2074BGCOLOR="#FFD0D0"
2075CELLSPACING="0"
2076CELLPADDING="4"
2077CLASS="CALSTABLE"
2078><TR
2079><TD
2080WIDTH="20%"
2081ALIGN="RIGHT"
2082VALIGN="TOP"
2083><TT
2084CLASS="PARAMETER"
2085><I
2086>c</I
2087></TT
2088>&nbsp;:</TD
2089><TD
2090WIDTH="80%"
2091ALIGN="LEFT"
2092VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002093> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002094></TR
2095><TR
2096><TD
2097WIDTH="20%"
2098ALIGN="RIGHT"
2099VALIGN="TOP"
2100><I
2101CLASS="EMPHASIS"
2102>Returns</I
2103> :</TD
2104><TD
2105WIDTH="80%"
2106ALIGN="LEFT"
2107VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002108>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002109></TR
2110></TABLE
2111><P
2112></P
2113></DIV
2114></DIV
2115><HR><DIV
2116CLASS="REFSECT2"
2117><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00002118NAME="AEN15414"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002119></A
2120><H3
2121><A
2122NAME="XMLISLETTER"
2123></A
2124>xmlIsLetter ()</H3
2125><TABLE
2126BORDER="0"
2127BGCOLOR="#D6E8FF"
2128WIDTH="100%"
2129CELLPADDING="6"
2130><TR
2131><TD
2132><PRE
2133CLASS="PROGRAMLISTING"
2134>int xmlIsLetter (int c);</PRE
2135></TD
2136></TR
2137></TABLE
2138><P
2139>Check whether the character is allowed by the production
2140[84] Letter ::= BaseChar | Ideographic</P
2141><P
2142></P
2143><DIV
2144CLASS="INFORMALTABLE"
2145><P
2146></P
2147><TABLE
2148BORDER="0"
2149WIDTH="100%"
2150BGCOLOR="#FFD0D0"
2151CELLSPACING="0"
2152CELLPADDING="4"
2153CLASS="CALSTABLE"
2154><TR
2155><TD
2156WIDTH="20%"
2157ALIGN="RIGHT"
2158VALIGN="TOP"
2159><TT
2160CLASS="PARAMETER"
2161><I
2162>c</I
2163></TT
2164>&nbsp;:</TD
2165><TD
2166WIDTH="80%"
2167ALIGN="LEFT"
2168VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002169> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002170></TR
2171><TR
2172><TD
2173WIDTH="20%"
2174ALIGN="RIGHT"
2175VALIGN="TOP"
2176><I
2177CLASS="EMPHASIS"
2178>Returns</I
2179> :</TD
2180><TD
2181WIDTH="80%"
2182ALIGN="LEFT"
2183VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002184>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002185></TR
2186></TABLE
2187><P
2188></P
2189></DIV
2190></DIV
2191><HR><DIV
2192CLASS="REFSECT2"
2193><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00002194NAME="AEN15433"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002195></A
2196><H3
2197><A
2198NAME="XMLISDIGIT"
2199></A
2200>xmlIsDigit ()</H3
2201><TABLE
2202BORDER="0"
2203BGCOLOR="#D6E8FF"
2204WIDTH="100%"
2205CELLPADDING="6"
2206><TR
2207><TD
2208><PRE
2209CLASS="PROGRAMLISTING"
2210>int xmlIsDigit (int c);</PRE
2211></TD
2212></TR
2213></TABLE
2214><P
2215>Check whether the character is allowed by the production
2216[88] Digit ::= ... long list see REC ...</P
2217><P
2218></P
2219><DIV
2220CLASS="INFORMALTABLE"
2221><P
2222></P
2223><TABLE
2224BORDER="0"
2225WIDTH="100%"
2226BGCOLOR="#FFD0D0"
2227CELLSPACING="0"
2228CELLPADDING="4"
2229CLASS="CALSTABLE"
2230><TR
2231><TD
2232WIDTH="20%"
2233ALIGN="RIGHT"
2234VALIGN="TOP"
2235><TT
2236CLASS="PARAMETER"
2237><I
2238>c</I
2239></TT
2240>&nbsp;:</TD
2241><TD
2242WIDTH="80%"
2243ALIGN="LEFT"
2244VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002245> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002246></TR
2247><TR
2248><TD
2249WIDTH="20%"
2250ALIGN="RIGHT"
2251VALIGN="TOP"
2252><I
2253CLASS="EMPHASIS"
2254>Returns</I
2255> :</TD
2256><TD
2257WIDTH="80%"
2258ALIGN="LEFT"
2259VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002260>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002261></TR
2262></TABLE
2263><P
2264></P
2265></DIV
2266></DIV
2267><HR><DIV
2268CLASS="REFSECT2"
2269><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00002270NAME="AEN15452"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002271></A
2272><H3
2273><A
2274NAME="XMLISIDEOGRAPHIC"
2275></A
2276>xmlIsIdeographic ()</H3
2277><TABLE
2278BORDER="0"
2279BGCOLOR="#D6E8FF"
2280WIDTH="100%"
2281CELLPADDING="6"
2282><TR
2283><TD
2284><PRE
2285CLASS="PROGRAMLISTING"
2286>int xmlIsIdeographic (int c);</PRE
2287></TD
2288></TR
2289></TABLE
2290><P
2291>Check whether the character is allowed by the production
2292[86] Ideographic ::= [<GTKDOCLINK
2293HREF="X4E00-"
2294>x4E00-</GTKDOCLINK
2295><GTKDOCLINK
2296HREF="X9FA5"
2297>x9FA5</GTKDOCLINK
2298>] | <GTKDOCLINK
2299HREF="X3007"
2300>x3007</GTKDOCLINK
2301> | [<GTKDOCLINK
2302HREF="X3021-"
2303>x3021-</GTKDOCLINK
2304><GTKDOCLINK
2305HREF="X3029"
2306>x3029</GTKDOCLINK
2307>]</P
2308><P
2309></P
2310><DIV
2311CLASS="INFORMALTABLE"
2312><P
2313></P
2314><TABLE
2315BORDER="0"
2316WIDTH="100%"
2317BGCOLOR="#FFD0D0"
2318CELLSPACING="0"
2319CELLPADDING="4"
2320CLASS="CALSTABLE"
2321><TR
2322><TD
2323WIDTH="20%"
2324ALIGN="RIGHT"
2325VALIGN="TOP"
2326><TT
2327CLASS="PARAMETER"
2328><I
2329>c</I
2330></TT
2331>&nbsp;:</TD
2332><TD
2333WIDTH="80%"
2334ALIGN="LEFT"
2335VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002336> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002337></TR
2338><TR
2339><TD
2340WIDTH="20%"
2341ALIGN="RIGHT"
2342VALIGN="TOP"
2343><I
2344CLASS="EMPHASIS"
2345>Returns</I
2346> :</TD
2347><TD
2348WIDTH="80%"
2349ALIGN="LEFT"
2350VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002351>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002352></TR
2353></TABLE
2354><P
2355></P
2356></DIV
2357></DIV
2358><HR><DIV
2359CLASS="REFSECT2"
2360><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00002361NAME="AEN15476"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002362></A
2363><H3
2364><A
2365NAME="XMLISCOMBINING"
2366></A
2367>xmlIsCombining ()</H3
2368><TABLE
2369BORDER="0"
2370BGCOLOR="#D6E8FF"
2371WIDTH="100%"
2372CELLPADDING="6"
2373><TR
2374><TD
2375><PRE
2376CLASS="PROGRAMLISTING"
2377>int xmlIsCombining (int c);</PRE
2378></TD
2379></TR
2380></TABLE
2381><P
2382>Check whether the character is allowed by the production
2383[87] CombiningChar ::= ... long list see REC ...</P
2384><P
2385></P
2386><DIV
2387CLASS="INFORMALTABLE"
2388><P
2389></P
2390><TABLE
2391BORDER="0"
2392WIDTH="100%"
2393BGCOLOR="#FFD0D0"
2394CELLSPACING="0"
2395CELLPADDING="4"
2396CLASS="CALSTABLE"
2397><TR
2398><TD
2399WIDTH="20%"
2400ALIGN="RIGHT"
2401VALIGN="TOP"
2402><TT
2403CLASS="PARAMETER"
2404><I
2405>c</I
2406></TT
2407>&nbsp;:</TD
2408><TD
2409WIDTH="80%"
2410ALIGN="LEFT"
2411VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002412> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002413></TR
2414><TR
2415><TD
2416WIDTH="20%"
2417ALIGN="RIGHT"
2418VALIGN="TOP"
2419><I
2420CLASS="EMPHASIS"
2421>Returns</I
2422> :</TD
2423><TD
2424WIDTH="80%"
2425ALIGN="LEFT"
2426VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002427>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002428></TR
2429></TABLE
2430><P
2431></P
2432></DIV
2433></DIV
2434><HR><DIV
2435CLASS="REFSECT2"
2436><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00002437NAME="AEN15495"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002438></A
2439><H3
2440><A
2441NAME="XMLISEXTENDER"
2442></A
2443>xmlIsExtender ()</H3
2444><TABLE
2445BORDER="0"
2446BGCOLOR="#D6E8FF"
2447WIDTH="100%"
2448CELLPADDING="6"
2449><TR
2450><TD
2451><PRE
2452CLASS="PROGRAMLISTING"
2453>int xmlIsExtender (int c);</PRE
2454></TD
2455></TR
2456></TABLE
2457><P
2458>Check whether the character is allowed by the production
2459[89] Extender ::= <GTKDOCLINK
2460HREF="X00B7"
2461>x00B7</GTKDOCLINK
2462> | <GTKDOCLINK
2463HREF="X02D0"
2464>x02D0</GTKDOCLINK
2465> | <GTKDOCLINK
2466HREF="X02D1"
2467>x02D1</GTKDOCLINK
2468> | <GTKDOCLINK
2469HREF="X0387"
2470>x0387</GTKDOCLINK
2471> | <GTKDOCLINK
2472HREF="X0640"
2473>x0640</GTKDOCLINK
2474> |
2475<GTKDOCLINK
2476HREF="X0E46"
2477>x0E46</GTKDOCLINK
2478> | <GTKDOCLINK
2479HREF="X0EC6"
2480>x0EC6</GTKDOCLINK
2481> | <GTKDOCLINK
2482HREF="X3005"
2483>x3005</GTKDOCLINK
2484> | [<GTKDOCLINK
2485HREF="X3031-"
2486>x3031-</GTKDOCLINK
2487><GTKDOCLINK
2488HREF="X3035"
2489>x3035</GTKDOCLINK
2490>] |
2491[<GTKDOCLINK
2492HREF="X309D-"
2493>x309D-</GTKDOCLINK
2494><GTKDOCLINK
2495HREF="X309E"
2496>x309E</GTKDOCLINK
2497>] | [<GTKDOCLINK
2498HREF="X30FC-"
2499>x30FC-</GTKDOCLINK
2500><GTKDOCLINK
2501HREF="X30FE"
2502>x30FE</GTKDOCLINK
2503>]</P
2504><P
2505></P
2506><DIV
2507CLASS="INFORMALTABLE"
2508><P
2509></P
2510><TABLE
2511BORDER="0"
2512WIDTH="100%"
2513BGCOLOR="#FFD0D0"
2514CELLSPACING="0"
2515CELLPADDING="4"
2516CLASS="CALSTABLE"
2517><TR
2518><TD
2519WIDTH="20%"
2520ALIGN="RIGHT"
2521VALIGN="TOP"
2522><TT
2523CLASS="PARAMETER"
2524><I
2525>c</I
2526></TT
2527>&nbsp;:</TD
2528><TD
2529WIDTH="80%"
2530ALIGN="LEFT"
2531VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002532> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002533></TR
2534><TR
2535><TD
2536WIDTH="20%"
2537ALIGN="RIGHT"
2538VALIGN="TOP"
2539><I
2540CLASS="EMPHASIS"
2541>Returns</I
2542> :</TD
2543><TD
2544WIDTH="80%"
2545ALIGN="LEFT"
2546VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002547>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002548></TR
2549></TABLE
2550><P
2551></P
2552></DIV
2553></DIV
2554><HR><DIV
2555CLASS="REFSECT2"
2556><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00002557NAME="AEN15528"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002558></A
2559><H3
2560><A
2561NAME="XMLISCHAR"
2562></A
2563>xmlIsChar ()</H3
2564><TABLE
2565BORDER="0"
2566BGCOLOR="#D6E8FF"
2567WIDTH="100%"
2568CELLPADDING="6"
2569><TR
2570><TD
2571><PRE
2572CLASS="PROGRAMLISTING"
2573>int xmlIsChar (int c);</PRE
2574></TD
2575></TR
2576></TABLE
2577><P
2578>Check whether the character is allowed by the production
2579[2] Char ::= <GTKDOCLINK
2580HREF="X9"
2581>x9</GTKDOCLINK
2582> | <GTKDOCLINK
2583HREF="XA"
2584>xA</GTKDOCLINK
2585> | <GTKDOCLINK
2586HREF="XD"
2587>xD</GTKDOCLINK
2588> | [<GTKDOCLINK
2589HREF="X20-"
2590>x20-</GTKDOCLINK
2591><GTKDOCLINK
2592HREF="XD7FF"
2593>xD7FF</GTKDOCLINK
2594>] | [<GTKDOCLINK
2595HREF="XE000-"
2596>xE000-</GTKDOCLINK
2597><GTKDOCLINK
2598HREF="XFFFD"
2599>xFFFD</GTKDOCLINK
2600>]
2601| [<GTKDOCLINK
2602HREF="X10000-"
2603>x10000-</GTKDOCLINK
2604><GTKDOCLINK
2605HREF="X10FFFF"
2606>x10FFFF</GTKDOCLINK
2607>]
2608any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.
2609Also available as a macro <A
2610HREF="gnome-xml-parserinternals.html#IS-CHAR"
2611>IS_CHAR</A
2612>()</P
2613><P
2614></P
2615><DIV
2616CLASS="INFORMALTABLE"
2617><P
2618></P
2619><TABLE
2620BORDER="0"
2621WIDTH="100%"
2622BGCOLOR="#FFD0D0"
2623CELLSPACING="0"
2624CELLPADDING="4"
2625CLASS="CALSTABLE"
2626><TR
2627><TD
2628WIDTH="20%"
2629ALIGN="RIGHT"
2630VALIGN="TOP"
2631><TT
2632CLASS="PARAMETER"
2633><I
2634>c</I
2635></TT
2636>&nbsp;:</TD
2637><TD
2638WIDTH="80%"
2639ALIGN="LEFT"
2640VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002641> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002642></TR
2643><TR
2644><TD
2645WIDTH="20%"
2646ALIGN="RIGHT"
2647VALIGN="TOP"
2648><I
2649CLASS="EMPHASIS"
2650>Returns</I
2651> :</TD
2652><TD
2653WIDTH="80%"
2654ALIGN="LEFT"
2655VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002656>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002657></TR
2658></TABLE
2659><P
2660></P
2661></DIV
2662></DIV
2663><HR><DIV
2664CLASS="REFSECT2"
2665><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00002666NAME="AEN15557"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002667></A
2668><H3
2669><A
2670NAME="XMLCREATEDOCPARSERCTXT"
2671></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002672>xmlCreateDocParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00002673><TABLE
2674BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002675BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002676WIDTH="100%"
2677CELLPADDING="6"
2678><TR
2679><TD
2680><PRE
2681CLASS="PROGRAMLISTING"
2682><A
2683HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2684>xmlParserCtxtPtr</A
2685> xmlCreateDocParserCtxt (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002686HREF="gnome-xml-tree.html#XMLCHAR"
2687>xmlChar</A
Daniel Veillardd692aa41999-02-28 21:54:31 +00002688> *cur);</PRE
2689></TD
2690></TR
2691></TABLE
2692><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002693>Creates a parser context for an XML in-memory document.</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00002694><P
Daniel Veillardd692aa41999-02-28 21:54:31 +00002695></P
2696><DIV
2697CLASS="INFORMALTABLE"
2698><P
2699></P
2700><TABLE
2701BORDER="0"
2702WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002703BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002704CELLSPACING="0"
2705CELLPADDING="4"
2706CLASS="CALSTABLE"
2707><TR
2708><TD
2709WIDTH="20%"
2710ALIGN="RIGHT"
2711VALIGN="TOP"
2712><TT
2713CLASS="PARAMETER"
2714><I
2715>cur</I
2716></TT
2717>&nbsp;:</TD
2718><TD
2719WIDTH="80%"
2720ALIGN="LEFT"
2721VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002722>&nbsp;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002723></TR
2724><TR
2725><TD
2726WIDTH="20%"
2727ALIGN="RIGHT"
2728VALIGN="TOP"
2729><I
2730CLASS="EMPHASIS"
2731>Returns</I
2732> :</TD
2733><TD
2734WIDTH="80%"
2735ALIGN="LEFT"
2736VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002737>&nbsp;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002738></TR
2739></TABLE
2740><P
2741></P
2742></DIV
2743></DIV
2744><HR><DIV
2745CLASS="REFSECT2"
2746><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00002747NAME="AEN15578"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002748></A
2749><H3
2750><A
2751NAME="XMLCREATEFILEPARSERCTXT"
2752></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002753>xmlCreateFileParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00002754><TABLE
2755BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002756BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002757WIDTH="100%"
2758CELLPADDING="6"
2759><TR
2760><TD
2761><PRE
2762CLASS="PROGRAMLISTING"
2763><A
2764HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2765>xmlParserCtxtPtr</A
2766> xmlCreateFileParserCtxt (const char *filename);</PRE
2767></TD
2768></TR
2769></TABLE
2770><P
2771>Create a parser context for a file content.
2772Automatic support for ZLIB/Compress compressed document is provided
2773by default if found at compile-time.</P
2774><P
2775></P
2776><DIV
2777CLASS="INFORMALTABLE"
2778><P
2779></P
2780><TABLE
2781BORDER="0"
2782WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002783BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002784CELLSPACING="0"
2785CELLPADDING="4"
2786CLASS="CALSTABLE"
2787><TR
2788><TD
2789WIDTH="20%"
2790ALIGN="RIGHT"
2791VALIGN="TOP"
2792><TT
2793CLASS="PARAMETER"
2794><I
2795>filename</I
2796></TT
2797>&nbsp;:</TD
2798><TD
2799WIDTH="80%"
2800ALIGN="LEFT"
2801VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002802> the filename</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002803></TR
2804><TR
2805><TD
2806WIDTH="20%"
2807ALIGN="RIGHT"
2808VALIGN="TOP"
2809><I
2810CLASS="EMPHASIS"
2811>Returns</I
2812> :</TD
2813><TD
2814WIDTH="80%"
2815ALIGN="LEFT"
2816VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002817>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002818></TR
2819></TABLE
2820><P
2821></P
2822></DIV
2823></DIV
2824><HR><DIV
2825CLASS="REFSECT2"
2826><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00002827NAME="AEN15598"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002828></A
2829><H3
2830><A
2831NAME="XMLCREATEMEMORYPARSERCTXT"
2832></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002833>xmlCreateMemoryParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00002834><TABLE
2835BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002836BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002837WIDTH="100%"
2838CELLPADDING="6"
2839><TR
2840><TD
2841><PRE
2842CLASS="PROGRAMLISTING"
2843><A
2844HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2845>xmlParserCtxtPtr</A
2846> xmlCreateMemoryParserCtxt (char *buffer,
2847 int size);</PRE
2848></TD
2849></TR
2850></TABLE
2851><P
2852>Create a parser context for an XML in-memory document.</P
2853><P
2854></P
2855><DIV
2856CLASS="INFORMALTABLE"
2857><P
2858></P
2859><TABLE
2860BORDER="0"
2861WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002862BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002863CELLSPACING="0"
2864CELLPADDING="4"
2865CLASS="CALSTABLE"
2866><TR
2867><TD
2868WIDTH="20%"
2869ALIGN="RIGHT"
2870VALIGN="TOP"
2871><TT
2872CLASS="PARAMETER"
2873><I
2874>buffer</I
2875></TT
2876>&nbsp;:</TD
2877><TD
2878WIDTH="80%"
2879ALIGN="LEFT"
2880VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002881> a pointer to a char array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002882></TR
2883><TR
2884><TD
2885WIDTH="20%"
2886ALIGN="RIGHT"
2887VALIGN="TOP"
2888><TT
2889CLASS="PARAMETER"
2890><I
2891>size</I
2892></TT
2893>&nbsp;:</TD
2894><TD
2895WIDTH="80%"
2896ALIGN="LEFT"
2897VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002898> the size of the array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002899></TR
2900><TR
2901><TD
2902WIDTH="20%"
2903ALIGN="RIGHT"
2904VALIGN="TOP"
2905><I
2906CLASS="EMPHASIS"
2907>Returns</I
2908> :</TD
2909><TD
2910WIDTH="80%"
2911ALIGN="LEFT"
2912VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002913>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002914></TR
2915></TABLE
2916><P
2917></P
2918></DIV
2919></DIV
2920><HR><DIV
2921CLASS="REFSECT2"
2922><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00002923NAME="AEN15622"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002924></A
2925><H3
2926><A
2927NAME="XMLNEWPARSERCTXT"
2928></A
2929>xmlNewParserCtxt ()</H3
2930><TABLE
2931BORDER="0"
2932BGCOLOR="#D6E8FF"
2933WIDTH="100%"
2934CELLPADDING="6"
2935><TR
2936><TD
2937><PRE
2938CLASS="PROGRAMLISTING"
2939><A
2940HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2941>xmlParserCtxtPtr</A
2942> xmlNewParserCtxt (void);</PRE
2943></TD
2944></TR
2945></TABLE
2946><P
2947>Allocate and initialize a new parser context.</P
2948><P
2949></P
2950><DIV
2951CLASS="INFORMALTABLE"
2952><P
2953></P
2954><TABLE
2955BORDER="0"
2956WIDTH="100%"
2957BGCOLOR="#FFD0D0"
2958CELLSPACING="0"
2959CELLPADDING="4"
2960CLASS="CALSTABLE"
2961><TR
2962><TD
2963WIDTH="20%"
2964ALIGN="RIGHT"
2965VALIGN="TOP"
2966><I
2967CLASS="EMPHASIS"
2968>Returns</I
2969> :</TD
2970><TD
2971WIDTH="80%"
2972ALIGN="LEFT"
2973VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002974>the xmlParserCtxtPtr or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002975></TR
2976></TABLE
2977><P
2978></P
2979></DIV
2980></DIV
2981><HR><DIV
2982CLASS="REFSECT2"
2983><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00002984NAME="AEN15638"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002985></A
2986><H3
2987><A
2988NAME="XMLCREATEENTITYPARSERCTXT"
2989></A
2990>xmlCreateEntityParserCtxt ()</H3
2991><TABLE
2992BORDER="0"
2993BGCOLOR="#D6E8FF"
2994WIDTH="100%"
2995CELLPADDING="6"
2996><TR
2997><TD
2998><PRE
2999CLASS="PROGRAMLISTING"
3000><A
3001HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3002>xmlParserCtxtPtr</A
3003> xmlCreateEntityParserCtxt (const <A
3004HREF="gnome-xml-tree.html#XMLCHAR"
3005>xmlChar</A
3006> *URL,
3007 const <A
3008HREF="gnome-xml-tree.html#XMLCHAR"
3009>xmlChar</A
3010> *ID,
3011 const <A
3012HREF="gnome-xml-tree.html#XMLCHAR"
3013>xmlChar</A
3014> *base);</PRE
3015></TD
3016></TR
3017></TABLE
3018><P
3019>Create a parser context for an external entity
3020Automatic support for ZLIB/Compress compressed document is provided
3021by default if found at compile-time.</P
3022><P
3023></P
3024><DIV
3025CLASS="INFORMALTABLE"
3026><P
3027></P
3028><TABLE
3029BORDER="0"
3030WIDTH="100%"
3031BGCOLOR="#FFD0D0"
3032CELLSPACING="0"
3033CELLPADDING="4"
3034CLASS="CALSTABLE"
3035><TR
3036><TD
3037WIDTH="20%"
3038ALIGN="RIGHT"
3039VALIGN="TOP"
3040><TT
3041CLASS="PARAMETER"
3042><I
3043>URL</I
3044></TT
3045>&nbsp;:</TD
3046><TD
3047WIDTH="80%"
3048ALIGN="LEFT"
3049VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003050> the entity URL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003051></TR
3052><TR
3053><TD
3054WIDTH="20%"
3055ALIGN="RIGHT"
3056VALIGN="TOP"
3057><TT
3058CLASS="PARAMETER"
3059><I
3060>ID</I
3061></TT
3062>&nbsp;:</TD
3063><TD
3064WIDTH="80%"
3065ALIGN="LEFT"
3066VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003067> the entity PUBLIC ID</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003068></TR
3069><TR
3070><TD
3071WIDTH="20%"
3072ALIGN="RIGHT"
3073VALIGN="TOP"
3074><TT
3075CLASS="PARAMETER"
3076><I
3077>base</I
3078></TT
3079>&nbsp;:</TD
3080><TD
3081WIDTH="80%"
3082ALIGN="LEFT"
3083VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003084> a posible base for the target URI</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003085></TR
3086><TR
3087><TD
3088WIDTH="20%"
3089ALIGN="RIGHT"
3090VALIGN="TOP"
3091><I
3092CLASS="EMPHASIS"
3093>Returns</I
3094> :</TD
3095><TD
3096WIDTH="80%"
3097ALIGN="LEFT"
3098VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003099>the new parser context or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003100></TR
3101></TABLE
3102><P
3103></P
3104></DIV
3105></DIV
3106><HR><DIV
3107CLASS="REFSECT2"
3108><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00003109NAME="AEN15669"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003110></A
3111><H3
3112><A
3113NAME="XMLSWITCHENCODING"
3114></A
3115>xmlSwitchEncoding ()</H3
3116><TABLE
3117BORDER="0"
3118BGCOLOR="#D6E8FF"
3119WIDTH="100%"
3120CELLPADDING="6"
3121><TR
3122><TD
3123><PRE
3124CLASS="PROGRAMLISTING"
3125>int xmlSwitchEncoding (<A
3126HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3127>xmlParserCtxtPtr</A
3128> ctxt,
3129 <A
3130HREF="gnome-xml-encoding.html#XMLCHARENCODING"
3131>xmlCharEncoding</A
3132> enc);</PRE
3133></TD
3134></TR
3135></TABLE
3136><P
3137>change the input functions when discovering the character encoding
3138of a given entity.</P
3139><P
3140></P
3141><DIV
3142CLASS="INFORMALTABLE"
3143><P
3144></P
3145><TABLE
3146BORDER="0"
3147WIDTH="100%"
3148BGCOLOR="#FFD0D0"
3149CELLSPACING="0"
3150CELLPADDING="4"
3151CLASS="CALSTABLE"
3152><TR
3153><TD
3154WIDTH="20%"
3155ALIGN="RIGHT"
3156VALIGN="TOP"
3157><TT
3158CLASS="PARAMETER"
3159><I
3160>ctxt</I
3161></TT
3162>&nbsp;:</TD
3163><TD
3164WIDTH="80%"
3165ALIGN="LEFT"
3166VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003167> the parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003168></TR
3169><TR
3170><TD
3171WIDTH="20%"
3172ALIGN="RIGHT"
3173VALIGN="TOP"
3174><TT
3175CLASS="PARAMETER"
3176><I
3177>enc</I
3178></TT
3179>&nbsp;:</TD
3180><TD
3181WIDTH="80%"
3182ALIGN="LEFT"
3183VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003184> the encoding value (number)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003185></TR
3186><TR
3187><TD
3188WIDTH="20%"
3189ALIGN="RIGHT"
3190VALIGN="TOP"
3191><I
3192CLASS="EMPHASIS"
3193>Returns</I
3194> :</TD
3195><TD
3196WIDTH="80%"
3197ALIGN="LEFT"
3198VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003199>0 in case of success, -1 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003200></TR
3201></TABLE
3202><P
3203></P
3204></DIV
3205></DIV
3206><HR><DIV
3207CLASS="REFSECT2"
3208><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00003209NAME="AEN15694"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003210></A
3211><H3
3212><A
3213NAME="XMLSWITCHTOENCODING"
3214></A
3215>xmlSwitchToEncoding ()</H3
3216><TABLE
3217BORDER="0"
3218BGCOLOR="#D6E8FF"
3219WIDTH="100%"
3220CELLPADDING="6"
3221><TR
3222><TD
3223><PRE
3224CLASS="PROGRAMLISTING"
3225>int xmlSwitchToEncoding (<A
3226HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3227>xmlParserCtxtPtr</A
3228> ctxt,
3229 <A
3230HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR"
3231>xmlCharEncodingHandlerPtr</A
3232> handler);</PRE
3233></TD
3234></TR
3235></TABLE
3236><P
3237>change the input functions when discovering the character encoding
3238of a given entity.</P
3239><P
3240></P
3241><DIV
3242CLASS="INFORMALTABLE"
3243><P
3244></P
3245><TABLE
3246BORDER="0"
3247WIDTH="100%"
3248BGCOLOR="#FFD0D0"
3249CELLSPACING="0"
3250CELLPADDING="4"
3251CLASS="CALSTABLE"
3252><TR
3253><TD
3254WIDTH="20%"
3255ALIGN="RIGHT"
3256VALIGN="TOP"
3257><TT
3258CLASS="PARAMETER"
3259><I
3260>ctxt</I
3261></TT
3262>&nbsp;:</TD
3263><TD
3264WIDTH="80%"
3265ALIGN="LEFT"
3266VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003267> the parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003268></TR
3269><TR
3270><TD
3271WIDTH="20%"
3272ALIGN="RIGHT"
3273VALIGN="TOP"
3274><TT
3275CLASS="PARAMETER"
3276><I
3277>handler</I
3278></TT
3279>&nbsp;:</TD
3280><TD
3281WIDTH="80%"
3282ALIGN="LEFT"
3283VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003284> the encoding handler</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003285></TR
3286><TR
3287><TD
3288WIDTH="20%"
3289ALIGN="RIGHT"
3290VALIGN="TOP"
3291><I
3292CLASS="EMPHASIS"
3293>Returns</I
3294> :</TD
3295><TD
3296WIDTH="80%"
3297ALIGN="LEFT"
3298VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003299>0 in case of success, -1 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003300></TR
3301></TABLE
3302><P
3303></P
3304></DIV
3305></DIV
3306><HR><DIV
3307CLASS="REFSECT2"
3308><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00003309NAME="AEN15719"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003310></A
3311><H3
3312><A
3313NAME="XMLFREEPARSERCTXT"
3314></A
3315>xmlFreeParserCtxt ()</H3
3316><TABLE
3317BORDER="0"
3318BGCOLOR="#D6E8FF"
3319WIDTH="100%"
3320CELLPADDING="6"
3321><TR
3322><TD
3323><PRE
3324CLASS="PROGRAMLISTING"
3325>void xmlFreeParserCtxt (<A
3326HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3327>xmlParserCtxtPtr</A
3328> ctxt);</PRE
3329></TD
3330></TR
3331></TABLE
3332><P
3333>Free all the memory used by a parser context. However the parsed
3334document in ctxt-&gt;myDoc is not freed.</P
3335><P
3336></P
3337><DIV
3338CLASS="INFORMALTABLE"
3339><P
3340></P
3341><TABLE
3342BORDER="0"
3343WIDTH="100%"
3344BGCOLOR="#FFD0D0"
3345CELLSPACING="0"
3346CELLPADDING="4"
3347CLASS="CALSTABLE"
3348><TR
3349><TD
3350WIDTH="20%"
3351ALIGN="RIGHT"
3352VALIGN="TOP"
3353><TT
3354CLASS="PARAMETER"
3355><I
3356>ctxt</I
3357></TT
3358>&nbsp;:</TD
3359><TD
3360WIDTH="80%"
3361ALIGN="LEFT"
3362VALIGN="TOP"
3363>&nbsp;</TD
3364></TR
3365></TABLE
3366><P
3367></P
3368></DIV
3369></DIV
3370><HR><DIV
3371CLASS="REFSECT2"
3372><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00003373NAME="AEN15735"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003374></A
3375><H3
3376><A
3377NAME="XMLHANDLEENTITY"
3378></A
3379>xmlHandleEntity ()</H3
3380><TABLE
3381BORDER="0"
3382BGCOLOR="#D6E8FF"
3383WIDTH="100%"
3384CELLPADDING="6"
3385><TR
3386><TD
3387><PRE
3388CLASS="PROGRAMLISTING"
3389>void xmlHandleEntity (<A
3390HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3391>xmlParserCtxtPtr</A
3392> ctxt,
3393 <A
3394HREF="gnome-xml-entities.html#XMLENTITYPTR"
3395>xmlEntityPtr</A
3396> entity);</PRE
3397></TD
3398></TR
3399></TABLE
3400><P
3401>Default handling of defined entities, when should we define a new input
3402stream ? When do we just handle that as a set of chars ?</P
3403><P
3404>OBSOLETE: to be removed at some point.</P
3405><P
3406></P
3407><DIV
3408CLASS="INFORMALTABLE"
3409><P
3410></P
3411><TABLE
3412BORDER="0"
3413WIDTH="100%"
3414BGCOLOR="#FFD0D0"
3415CELLSPACING="0"
3416CELLPADDING="4"
3417CLASS="CALSTABLE"
3418><TR
3419><TD
3420WIDTH="20%"
3421ALIGN="RIGHT"
3422VALIGN="TOP"
3423><TT
3424CLASS="PARAMETER"
3425><I
3426>ctxt</I
3427></TT
3428>&nbsp;:</TD
3429><TD
3430WIDTH="80%"
3431ALIGN="LEFT"
3432VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003433> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003434></TR
3435><TR
3436><TD
3437WIDTH="20%"
3438ALIGN="RIGHT"
3439VALIGN="TOP"
3440><TT
3441CLASS="PARAMETER"
3442><I
3443>entity</I
3444></TT
3445>&nbsp;:</TD
3446><TD
3447WIDTH="80%"
3448ALIGN="LEFT"
3449VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003450> an XML entity pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003451></TR
3452></TABLE
3453><P
3454></P
3455></DIV
3456></DIV
3457><HR><DIV
3458CLASS="REFSECT2"
3459><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00003460NAME="AEN15757"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003461></A
3462><H3
3463><A
3464NAME="XMLNEWENTITYINPUTSTREAM"
3465></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003466>xmlNewEntityInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003467><TABLE
3468BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003469BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003470WIDTH="100%"
3471CELLPADDING="6"
3472><TR
3473><TD
3474><PRE
3475CLASS="PROGRAMLISTING"
3476><A
3477HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
3478>xmlParserInputPtr</A
3479> xmlNewEntityInputStream (<A
3480HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3481>xmlParserCtxtPtr</A
3482> ctxt,
3483 <A
3484HREF="gnome-xml-entities.html#XMLENTITYPTR"
3485>xmlEntityPtr</A
3486> entity);</PRE
3487></TD
3488></TR
3489></TABLE
3490><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00003491>Create a new input stream based on an xmlEntityPtr</P
Daniel Veillardbc50b591999-03-01 12:28:53 +00003492><P
3493></P
3494><DIV
3495CLASS="INFORMALTABLE"
3496><P
3497></P
3498><TABLE
3499BORDER="0"
3500WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003501BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003502CELLSPACING="0"
3503CELLPADDING="4"
3504CLASS="CALSTABLE"
3505><TR
3506><TD
3507WIDTH="20%"
3508ALIGN="RIGHT"
3509VALIGN="TOP"
3510><TT
3511CLASS="PARAMETER"
3512><I
3513>ctxt</I
3514></TT
3515>&nbsp;:</TD
3516><TD
3517WIDTH="80%"
3518ALIGN="LEFT"
3519VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003520> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003521></TR
3522><TR
3523><TD
3524WIDTH="20%"
3525ALIGN="RIGHT"
3526VALIGN="TOP"
3527><TT
3528CLASS="PARAMETER"
3529><I
3530>entity</I
3531></TT
3532>&nbsp;:</TD
3533><TD
3534WIDTH="80%"
3535ALIGN="LEFT"
3536VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003537> an Entity pointer</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003538></TR
3539><TR
3540><TD
3541WIDTH="20%"
3542ALIGN="RIGHT"
3543VALIGN="TOP"
3544><I
3545CLASS="EMPHASIS"
3546>Returns</I
3547> :</TD
3548><TD
3549WIDTH="80%"
3550ALIGN="LEFT"
3551VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003552>the new input stream or NULL</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003553></TR
3554></TABLE
3555><P
3556></P
3557></DIV
3558></DIV
3559><HR><DIV
3560CLASS="REFSECT2"
3561><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00003562NAME="AEN15783"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003563></A
3564><H3
3565><A
3566NAME="XMLPUSHINPUT"
3567></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003568>xmlPushInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003569><TABLE
3570BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003571BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003572WIDTH="100%"
3573CELLPADDING="6"
3574><TR
3575><TD
3576><PRE
3577CLASS="PROGRAMLISTING"
3578>void xmlPushInput (<A
3579HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3580>xmlParserCtxtPtr</A
3581> ctxt,
3582 <A
3583HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
3584>xmlParserInputPtr</A
3585> input);</PRE
3586></TD
3587></TR
3588></TABLE
3589><P
3590>xmlPushInput: switch to a new input stream which is stacked on top
3591of the previous one(s).</P
3592><P
3593></P
3594><DIV
3595CLASS="INFORMALTABLE"
3596><P
3597></P
3598><TABLE
3599BORDER="0"
3600WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003601BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003602CELLSPACING="0"
3603CELLPADDING="4"
3604CLASS="CALSTABLE"
3605><TR
3606><TD
3607WIDTH="20%"
3608ALIGN="RIGHT"
3609VALIGN="TOP"
3610><TT
3611CLASS="PARAMETER"
3612><I
3613>ctxt</I
3614></TT
3615>&nbsp;:</TD
3616><TD
3617WIDTH="80%"
3618ALIGN="LEFT"
3619VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003620> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003621></TR
3622><TR
3623><TD
3624WIDTH="20%"
3625ALIGN="RIGHT"
3626VALIGN="TOP"
3627><TT
3628CLASS="PARAMETER"
3629><I
3630>input</I
3631></TT
3632>&nbsp;:</TD
3633><TD
3634WIDTH="80%"
3635ALIGN="LEFT"
3636VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003637> an XML parser input fragment (entity, XML fragment ...).</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003638></TR
3639></TABLE
3640><P
3641></P
3642></DIV
3643></DIV
3644><HR><DIV
3645CLASS="REFSECT2"
3646><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00003647NAME="AEN15804"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003648></A
3649><H3
3650><A
3651NAME="XMLPOPINPUT"
3652></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003653>xmlPopInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003654><TABLE
3655BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003656BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003657WIDTH="100%"
3658CELLPADDING="6"
3659><TR
3660><TD
3661><PRE
3662CLASS="PROGRAMLISTING"
3663><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003664HREF="gnome-xml-tree.html#XMLCHAR"
3665>xmlChar</A
3666> xmlPopInput (<A
Daniel Veillardbc50b591999-03-01 12:28:53 +00003667HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3668>xmlParserCtxtPtr</A
3669> ctxt);</PRE
3670></TD
3671></TR
3672></TABLE
3673><P
3674>xmlPopInput: the current input pointed by ctxt-&gt;input came to an end
3675pop it and return the next char.</P
3676><P
Daniel Veillardbc50b591999-03-01 12:28:53 +00003677></P
3678><DIV
3679CLASS="INFORMALTABLE"
3680><P
3681></P
3682><TABLE
3683BORDER="0"
3684WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003685BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003686CELLSPACING="0"
3687CELLPADDING="4"
3688CLASS="CALSTABLE"
3689><TR
3690><TD
3691WIDTH="20%"
3692ALIGN="RIGHT"
3693VALIGN="TOP"
3694><TT
3695CLASS="PARAMETER"
3696><I
3697>ctxt</I
3698></TT
3699>&nbsp;:</TD
3700><TD
3701WIDTH="80%"
3702ALIGN="LEFT"
3703VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003704> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003705></TR
3706><TR
3707><TD
3708WIDTH="20%"
3709ALIGN="RIGHT"
3710VALIGN="TOP"
3711><I
3712CLASS="EMPHASIS"
3713>Returns</I
3714> :</TD
3715><TD
3716WIDTH="80%"
3717ALIGN="LEFT"
3718VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003719>the current xmlChar in the parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003720></TR
3721></TABLE
3722><P
3723></P
3724></DIV
3725></DIV
3726><HR><DIV
3727CLASS="REFSECT2"
3728><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00003729NAME="AEN15825"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003730></A
3731><H3
3732><A
3733NAME="XMLFREEINPUTSTREAM"
3734></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003735>xmlFreeInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003736><TABLE
3737BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003738BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003739WIDTH="100%"
3740CELLPADDING="6"
3741><TR
3742><TD
3743><PRE
3744CLASS="PROGRAMLISTING"
3745>void xmlFreeInputStream (<A
3746HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
3747>xmlParserInputPtr</A
3748> input);</PRE
3749></TD
3750></TR
3751></TABLE
3752><P
3753>Free up an input stream.</P
3754><P
3755></P
3756><DIV
3757CLASS="INFORMALTABLE"
3758><P
3759></P
3760><TABLE
3761BORDER="0"
3762WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003763BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003764CELLSPACING="0"
3765CELLPADDING="4"
3766CLASS="CALSTABLE"
3767><TR
3768><TD
3769WIDTH="20%"
3770ALIGN="RIGHT"
3771VALIGN="TOP"
3772><TT
3773CLASS="PARAMETER"
3774><I
3775>input</I
3776></TT
3777>&nbsp;:</TD
3778><TD
3779WIDTH="80%"
3780ALIGN="LEFT"
3781VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003782> an xmlParserInputPtr</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003783></TR
3784></TABLE
3785><P
3786></P
3787></DIV
3788></DIV
3789><HR><DIV
3790CLASS="REFSECT2"
3791><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00003792NAME="AEN15841"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003793></A
3794><H3
3795><A
3796NAME="XMLNEWINPUTFROMFILE"
3797></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003798>xmlNewInputFromFile ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00003799><TABLE
3800BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003801BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003802WIDTH="100%"
3803CELLPADDING="6"
3804><TR
3805><TD
3806><PRE
3807CLASS="PROGRAMLISTING"
3808><A
3809HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
3810>xmlParserInputPtr</A
3811> xmlNewInputFromFile (<A
3812HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3813>xmlParserCtxtPtr</A
3814> ctxt,
3815 const char *filename);</PRE
3816></TD
3817></TR
3818></TABLE
3819><P
3820>Create a new input stream based on a file.</P
3821><P
3822></P
3823><DIV
3824CLASS="INFORMALTABLE"
3825><P
3826></P
3827><TABLE
3828BORDER="0"
3829WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003830BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003831CELLSPACING="0"
3832CELLPADDING="4"
3833CLASS="CALSTABLE"
3834><TR
3835><TD
3836WIDTH="20%"
3837ALIGN="RIGHT"
3838VALIGN="TOP"
3839><TT
3840CLASS="PARAMETER"
3841><I
3842>ctxt</I
3843></TT
3844>&nbsp;:</TD
3845><TD
3846WIDTH="80%"
3847ALIGN="LEFT"
3848VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003849> an XML parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00003850></TR
3851><TR
3852><TD
3853WIDTH="20%"
3854ALIGN="RIGHT"
3855VALIGN="TOP"
3856><TT
3857CLASS="PARAMETER"
3858><I
3859>filename</I
3860></TT
3861>&nbsp;:</TD
3862><TD
3863WIDTH="80%"
3864ALIGN="LEFT"
3865VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003866> the filename to use as entity</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00003867></TR
3868><TR
3869><TD
3870WIDTH="20%"
3871ALIGN="RIGHT"
3872VALIGN="TOP"
3873><I
3874CLASS="EMPHASIS"
3875>Returns</I
3876> :</TD
3877><TD
3878WIDTH="80%"
3879ALIGN="LEFT"
3880VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003881>the new input stream or NULL in case of error</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00003882></TR
3883></TABLE
3884><P
3885></P
3886></DIV
3887></DIV
3888><HR><DIV
3889CLASS="REFSECT2"
3890><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00003891NAME="AEN15866"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003892></A
3893><H3
3894><A
3895NAME="XMLNEWINPUTSTREAM"
3896></A
3897>xmlNewInputStream ()</H3
3898><TABLE
3899BORDER="0"
3900BGCOLOR="#D6E8FF"
3901WIDTH="100%"
3902CELLPADDING="6"
3903><TR
3904><TD
3905><PRE
3906CLASS="PROGRAMLISTING"
3907><A
3908HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
3909>xmlParserInputPtr</A
3910> xmlNewInputStream (<A
3911HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3912>xmlParserCtxtPtr</A
3913> ctxt);</PRE
3914></TD
3915></TR
3916></TABLE
3917><P
3918>Create a new input stream structure</P
3919><P
3920></P
3921><DIV
3922CLASS="INFORMALTABLE"
3923><P
3924></P
3925><TABLE
3926BORDER="0"
3927WIDTH="100%"
3928BGCOLOR="#FFD0D0"
3929CELLSPACING="0"
3930CELLPADDING="4"
3931CLASS="CALSTABLE"
3932><TR
3933><TD
3934WIDTH="20%"
3935ALIGN="RIGHT"
3936VALIGN="TOP"
3937><TT
3938CLASS="PARAMETER"
3939><I
3940>ctxt</I
3941></TT
3942>&nbsp;:</TD
3943><TD
3944WIDTH="80%"
3945ALIGN="LEFT"
3946VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003947> an XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003948></TR
3949><TR
3950><TD
3951WIDTH="20%"
3952ALIGN="RIGHT"
3953VALIGN="TOP"
3954><I
3955CLASS="EMPHASIS"
3956>Returns</I
3957> :</TD
3958><TD
3959WIDTH="80%"
3960ALIGN="LEFT"
3961VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003962>the new input stream or NULL</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003963></TR
3964></TABLE
3965><P
3966></P
3967></DIV
3968></DIV
3969><HR><DIV
3970CLASS="REFSECT2"
3971><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00003972NAME="AEN15887"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003973></A
3974><H3
3975><A
3976NAME="XMLSPLITQNAME"
3977></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003978>xmlSplitQName ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003979><TABLE
3980BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003981BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003982WIDTH="100%"
3983CELLPADDING="6"
3984><TR
3985><TD
3986><PRE
3987CLASS="PROGRAMLISTING"
3988><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003989HREF="gnome-xml-tree.html#XMLCHAR"
3990>xmlChar</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003991>* xmlSplitQName (<A
3992HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3993>xmlParserCtxtPtr</A
3994> ctxt,
3995 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003996HREF="gnome-xml-tree.html#XMLCHAR"
3997>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003998> *name,
3999 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004000HREF="gnome-xml-tree.html#XMLCHAR"
4001>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004002> **prefix);</PRE
4003></TD
4004></TR
4005></TABLE
4006><P
Daniel Veillarde46e20d2000-07-14 15:02:46 +00004007>parse an UTF8 encoded XML qualified name string</P
Daniel Veillard5099ae81999-04-21 20:12:07 +00004008><P
4009>[NS 5] QName ::= (Prefix ':')? LocalPart</P
4010><P
4011>[NS 6] Prefix ::= NCName</P
4012><P
4013>[NS 7] LocalPart ::= NCName</P
4014><P
4015></P
4016><DIV
4017CLASS="INFORMALTABLE"
4018><P
4019></P
4020><TABLE
4021BORDER="0"
4022WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004023BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004024CELLSPACING="0"
4025CELLPADDING="4"
4026CLASS="CALSTABLE"
4027><TR
4028><TD
4029WIDTH="20%"
4030ALIGN="RIGHT"
4031VALIGN="TOP"
4032><TT
4033CLASS="PARAMETER"
4034><I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004035>ctxt</I
4036></TT
4037>&nbsp;:</TD
4038><TD
4039WIDTH="80%"
4040ALIGN="LEFT"
4041VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004042> an XML parser context</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004043></TR
4044><TR
4045><TD
4046WIDTH="20%"
4047ALIGN="RIGHT"
4048VALIGN="TOP"
4049><TT
4050CLASS="PARAMETER"
4051><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004052>name</I
4053></TT
4054>&nbsp;:</TD
4055><TD
4056WIDTH="80%"
4057ALIGN="LEFT"
4058VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004059> an XML parser context</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004060></TR
4061><TR
4062><TD
4063WIDTH="20%"
4064ALIGN="RIGHT"
4065VALIGN="TOP"
4066><TT
4067CLASS="PARAMETER"
4068><I
4069>prefix</I
4070></TT
4071>&nbsp;:</TD
4072><TD
4073WIDTH="80%"
4074ALIGN="LEFT"
4075VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004076> a xmlChar ** </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004077></TR
4078><TR
4079><TD
4080WIDTH="20%"
4081ALIGN="RIGHT"
4082VALIGN="TOP"
4083><I
4084CLASS="EMPHASIS"
4085>Returns</I
4086> :</TD
4087><TD
4088WIDTH="80%"
4089ALIGN="LEFT"
4090VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004091>the local part, and prefix is updated
4092to get the Prefix if any.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004093></TR
4094></TABLE
4095><P
4096></P
4097></DIV
4098></DIV
4099><HR><DIV
4100CLASS="REFSECT2"
4101><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004102NAME="AEN15921"
Daniel Veillard35925471999-02-25 08:46:07 +00004103></A
4104><H3
4105><A
4106NAME="XMLNAMESPACEPARSENCNAME"
4107></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004108>xmlNamespaceParseNCName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004109><TABLE
4110BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004111BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004112WIDTH="100%"
4113CELLPADDING="6"
4114><TR
4115><TD
4116><PRE
4117CLASS="PROGRAMLISTING"
4118><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004119HREF="gnome-xml-tree.html#XMLCHAR"
4120>xmlChar</A
4121>* xmlNamespaceParseNCName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004122HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4123>xmlParserCtxtPtr</A
4124> ctxt);</PRE
4125></TD
4126></TR
4127></TABLE
4128><P
4129>parse an XML namespace name.</P
4130><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004131>TODO: this seems not in use anymore, the namespace handling is done on
4132top of the SAX interfaces, i.e. not on raw input.</P
4133><P
Daniel Veillard35925471999-02-25 08:46:07 +00004134>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
4135><P
4136>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
4137CombiningChar | Extender</P
4138><P
4139></P
4140><DIV
4141CLASS="INFORMALTABLE"
4142><P
4143></P
4144><TABLE
4145BORDER="0"
4146WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004147BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004148CELLSPACING="0"
4149CELLPADDING="4"
4150CLASS="CALSTABLE"
4151><TR
4152><TD
4153WIDTH="20%"
4154ALIGN="RIGHT"
4155VALIGN="TOP"
4156><TT
4157CLASS="PARAMETER"
4158><I
4159>ctxt</I
4160></TT
4161>&nbsp;:</TD
4162><TD
4163WIDTH="80%"
4164ALIGN="LEFT"
4165VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004166> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004167></TR
4168><TR
4169><TD
4170WIDTH="20%"
4171ALIGN="RIGHT"
4172VALIGN="TOP"
4173><I
4174CLASS="EMPHASIS"
4175>Returns</I
4176> :</TD
4177><TD
4178WIDTH="80%"
4179ALIGN="LEFT"
4180VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004181>the namespace name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004182></TR
4183></TABLE
4184><P
4185></P
4186></DIV
4187></DIV
4188><HR><DIV
4189CLASS="REFSECT2"
4190><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004191NAME="AEN15945"
Daniel Veillard35925471999-02-25 08:46:07 +00004192></A
4193><H3
4194><A
4195NAME="XMLNAMESPACEPARSEQNAME"
4196></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004197>xmlNamespaceParseQName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004198><TABLE
4199BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004200BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004201WIDTH="100%"
4202CELLPADDING="6"
4203><TR
4204><TD
4205><PRE
4206CLASS="PROGRAMLISTING"
4207><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004208HREF="gnome-xml-tree.html#XMLCHAR"
4209>xmlChar</A
4210>* xmlNamespaceParseQName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004211HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4212>xmlParserCtxtPtr</A
4213> ctxt,
4214 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004215HREF="gnome-xml-tree.html#XMLCHAR"
4216>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004217> **prefix);</PRE
4218></TD
4219></TR
4220></TABLE
4221><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004222>TODO: this seems not in use anymore, the namespace handling is done on
4223top of the SAX interfaces, i.e. not on raw input.</P
4224><P
Daniel Veillard35925471999-02-25 08:46:07 +00004225>parse an XML qualified name</P
4226><P
4227>[NS 5] QName ::= (Prefix ':')? LocalPart</P
4228><P
4229>[NS 6] Prefix ::= NCName</P
4230><P
4231>[NS 7] LocalPart ::= NCName</P
4232><P
4233></P
4234><DIV
4235CLASS="INFORMALTABLE"
4236><P
4237></P
4238><TABLE
4239BORDER="0"
4240WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004241BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004242CELLSPACING="0"
4243CELLPADDING="4"
4244CLASS="CALSTABLE"
4245><TR
4246><TD
4247WIDTH="20%"
4248ALIGN="RIGHT"
4249VALIGN="TOP"
4250><TT
4251CLASS="PARAMETER"
4252><I
4253>ctxt</I
4254></TT
4255>&nbsp;:</TD
4256><TD
4257WIDTH="80%"
4258ALIGN="LEFT"
4259VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004260> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004261></TR
4262><TR
4263><TD
4264WIDTH="20%"
4265ALIGN="RIGHT"
4266VALIGN="TOP"
4267><TT
4268CLASS="PARAMETER"
4269><I
4270>prefix</I
4271></TT
4272>&nbsp;:</TD
4273><TD
4274WIDTH="80%"
4275ALIGN="LEFT"
4276VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004277> a xmlChar ** </TD
Daniel Veillard35925471999-02-25 08:46:07 +00004278></TR
4279><TR
4280><TD
4281WIDTH="20%"
4282ALIGN="RIGHT"
4283VALIGN="TOP"
4284><I
4285CLASS="EMPHASIS"
4286>Returns</I
4287> :</TD
4288><TD
4289WIDTH="80%"
4290ALIGN="LEFT"
4291VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004292>the local part, and prefix is updated
4293to get the Prefix if any.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004294></TR
4295></TABLE
4296><P
4297></P
4298></DIV
4299></DIV
4300><HR><DIV
4301CLASS="REFSECT2"
4302><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004303NAME="AEN15975"
Daniel Veillard35925471999-02-25 08:46:07 +00004304></A
4305><H3
4306><A
4307NAME="XMLNAMESPACEPARSENSDEF"
4308></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004309>xmlNamespaceParseNSDef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004310><TABLE
4311BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004312BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004313WIDTH="100%"
4314CELLPADDING="6"
4315><TR
4316><TD
4317><PRE
4318CLASS="PROGRAMLISTING"
4319><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004320HREF="gnome-xml-tree.html#XMLCHAR"
4321>xmlChar</A
4322>* xmlNamespaceParseNSDef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004323HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4324>xmlParserCtxtPtr</A
4325> ctxt);</PRE
4326></TD
4327></TR
4328></TABLE
4329><P
4330>parse a namespace prefix declaration</P
4331><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004332>TODO: this seems not in use anymore, the namespace handling is done on
4333top of the SAX interfaces, i.e. not on raw input.</P
4334><P
Daniel Veillard35925471999-02-25 08:46:07 +00004335>[NS 1] NSDef ::= PrefixDef Eq SystemLiteral</P
4336><P
4337>[NS 2] PrefixDef ::= 'xmlns' (':' NCName)?</P
4338><P
4339></P
4340><DIV
4341CLASS="INFORMALTABLE"
4342><P
4343></P
4344><TABLE
4345BORDER="0"
4346WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004347BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004348CELLSPACING="0"
4349CELLPADDING="4"
4350CLASS="CALSTABLE"
4351><TR
4352><TD
4353WIDTH="20%"
4354ALIGN="RIGHT"
4355VALIGN="TOP"
4356><TT
4357CLASS="PARAMETER"
4358><I
4359>ctxt</I
4360></TT
4361>&nbsp;:</TD
4362><TD
4363WIDTH="80%"
4364ALIGN="LEFT"
4365VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004366> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004367></TR
4368><TR
4369><TD
4370WIDTH="20%"
4371ALIGN="RIGHT"
4372VALIGN="TOP"
4373><I
4374CLASS="EMPHASIS"
4375>Returns</I
4376> :</TD
4377><TD
4378WIDTH="80%"
4379ALIGN="LEFT"
4380VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004381>the namespace name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004382></TR
4383></TABLE
4384><P
4385></P
4386></DIV
4387></DIV
4388><HR><DIV
4389CLASS="REFSECT2"
4390><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004391NAME="AEN15999"
Daniel Veillard35925471999-02-25 08:46:07 +00004392></A
4393><H3
4394><A
4395NAME="XMLPARSEQUOTEDSTRING"
4396></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004397>xmlParseQuotedString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004398><TABLE
4399BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004400BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004401WIDTH="100%"
4402CELLPADDING="6"
4403><TR
4404><TD
4405><PRE
4406CLASS="PROGRAMLISTING"
4407><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004408HREF="gnome-xml-tree.html#XMLCHAR"
4409>xmlChar</A
4410>* xmlParseQuotedString (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004411HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4412>xmlParserCtxtPtr</A
4413> ctxt);</PRE
4414></TD
4415></TR
4416></TABLE
4417><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004418>Parse and return a string between quotes or doublequotes</P
4419><P
4420>TODO: Deprecated, to be removed at next drop of binary compatibility</P
Daniel Veillard35925471999-02-25 08:46:07 +00004421><P
4422></P
4423><DIV
4424CLASS="INFORMALTABLE"
4425><P
4426></P
4427><TABLE
4428BORDER="0"
4429WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004430BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004431CELLSPACING="0"
4432CELLPADDING="4"
4433CLASS="CALSTABLE"
4434><TR
4435><TD
4436WIDTH="20%"
4437ALIGN="RIGHT"
4438VALIGN="TOP"
4439><TT
4440CLASS="PARAMETER"
4441><I
4442>ctxt</I
4443></TT
4444>&nbsp;:</TD
4445><TD
4446WIDTH="80%"
4447ALIGN="LEFT"
4448VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004449> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004450></TR
4451><TR
4452><TD
4453WIDTH="20%"
4454ALIGN="RIGHT"
4455VALIGN="TOP"
4456><I
4457CLASS="EMPHASIS"
4458>Returns</I
4459> :</TD
4460><TD
4461WIDTH="80%"
4462ALIGN="LEFT"
4463VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004464>the string parser or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004465></TR
4466></TABLE
4467><P
4468></P
4469></DIV
4470></DIV
4471><HR><DIV
4472CLASS="REFSECT2"
4473><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004474NAME="AEN16021"
Daniel Veillard35925471999-02-25 08:46:07 +00004475></A
4476><H3
4477><A
4478NAME="XMLPARSENAMESPACE"
4479></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004480>xmlParseNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004481><TABLE
4482BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004483BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004484WIDTH="100%"
4485CELLPADDING="6"
4486><TR
4487><TD
4488><PRE
4489CLASS="PROGRAMLISTING"
4490>void xmlParseNamespace (<A
4491HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4492>xmlParserCtxtPtr</A
4493> ctxt);</PRE
4494></TD
4495></TR
4496></TABLE
4497><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004498>xmlParseNamespace: parse specific PI '&lt;?namespace ...' constructs.</P
Daniel Veillard35925471999-02-25 08:46:07 +00004499><P
4500>This is what the older xml-name Working Draft specified, a bunch of
4501other stuff may still rely on it, so support is still here as
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004502if it was declared on the root of the Tree:-(</P
Daniel Veillard35925471999-02-25 08:46:07 +00004503><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004504>TODO: remove from library</P
4505><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004506>To be removed at next drop of binary compatibility</P
4507><P
Daniel Veillard35925471999-02-25 08:46:07 +00004508></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></TABLE
4538><P
4539></P
4540></DIV
4541></DIV
4542><HR><DIV
4543CLASS="REFSECT2"
4544><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004545NAME="AEN16040"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004546></A
4547><H3
4548><A
4549NAME="XMLSCANNAME"
4550></A
4551>xmlScanName ()</H3
4552><TABLE
4553BORDER="0"
4554BGCOLOR="#D6E8FF"
4555WIDTH="100%"
4556CELLPADDING="6"
4557><TR
4558><TD
4559><PRE
4560CLASS="PROGRAMLISTING"
4561><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004562HREF="gnome-xml-tree.html#XMLCHAR"
4563>xmlChar</A
4564>* xmlScanName (<A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004565HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4566>xmlParserCtxtPtr</A
4567> ctxt);</PRE
4568></TD
4569></TR
4570></TABLE
4571><P
4572>Trickery: parse an XML name but without consuming the input flow
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004573Needed for rollback cases. Used only when parsing entities references.</P
4574><P
4575>TODO: seems deprecated now, only used in the default part of
4576xmlParserHandleReference</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004577><P
4578>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
4579CombiningChar | Extender</P
4580><P
4581>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
4582><P
4583>[6] Names ::= Name (S Name)*</P
4584><P
4585></P
4586><DIV
4587CLASS="INFORMALTABLE"
4588><P
4589></P
4590><TABLE
4591BORDER="0"
4592WIDTH="100%"
4593BGCOLOR="#FFD0D0"
4594CELLSPACING="0"
4595CELLPADDING="4"
4596CLASS="CALSTABLE"
4597><TR
4598><TD
4599WIDTH="20%"
4600ALIGN="RIGHT"
4601VALIGN="TOP"
4602><TT
4603CLASS="PARAMETER"
4604><I
4605>ctxt</I
4606></TT
4607>&nbsp;:</TD
4608><TD
4609WIDTH="80%"
4610ALIGN="LEFT"
4611VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004612> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004613></TR
4614><TR
4615><TD
4616WIDTH="20%"
4617ALIGN="RIGHT"
4618VALIGN="TOP"
4619><I
4620CLASS="EMPHASIS"
4621>Returns</I
4622> :</TD
4623><TD
4624WIDTH="80%"
4625ALIGN="LEFT"
4626VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004627>the Name parsed or NULL</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004628></TR
4629></TABLE
4630><P
4631></P
4632></DIV
4633></DIV
4634><HR><DIV
4635CLASS="REFSECT2"
4636><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004637NAME="AEN16065"
Daniel Veillard35925471999-02-25 08:46:07 +00004638></A
4639><H3
4640><A
4641NAME="XMLPARSENAME"
4642></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004643>xmlParseName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004644><TABLE
4645BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004646BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004647WIDTH="100%"
4648CELLPADDING="6"
4649><TR
4650><TD
4651><PRE
4652CLASS="PROGRAMLISTING"
4653><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004654HREF="gnome-xml-tree.html#XMLCHAR"
4655>xmlChar</A
4656>* xmlParseName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004657HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4658>xmlParserCtxtPtr</A
4659> ctxt);</PRE
4660></TD
4661></TR
4662></TABLE
4663><P
4664>parse an XML name.</P
4665><P
4666>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
4667CombiningChar | Extender</P
4668><P
4669>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
4670><P
4671>[6] Names ::= Name (S Name)*</P
4672><P
4673></P
4674><DIV
4675CLASS="INFORMALTABLE"
4676><P
4677></P
4678><TABLE
4679BORDER="0"
4680WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004681BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004682CELLSPACING="0"
4683CELLPADDING="4"
4684CLASS="CALSTABLE"
4685><TR
4686><TD
4687WIDTH="20%"
4688ALIGN="RIGHT"
4689VALIGN="TOP"
4690><TT
4691CLASS="PARAMETER"
4692><I
4693>ctxt</I
4694></TT
4695>&nbsp;:</TD
4696><TD
4697WIDTH="80%"
4698ALIGN="LEFT"
4699VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004700> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004701></TR
4702><TR
4703><TD
4704WIDTH="20%"
4705ALIGN="RIGHT"
4706VALIGN="TOP"
4707><I
4708CLASS="EMPHASIS"
4709>Returns</I
4710> :</TD
4711><TD
4712WIDTH="80%"
4713ALIGN="LEFT"
4714VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004715>the Name parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004716></TR
4717></TABLE
4718><P
4719></P
4720></DIV
4721></DIV
4722><HR><DIV
4723CLASS="REFSECT2"
4724><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004725NAME="AEN16089"
Daniel Veillard35925471999-02-25 08:46:07 +00004726></A
4727><H3
4728><A
4729NAME="XMLPARSENMTOKEN"
4730></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004731>xmlParseNmtoken ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004732><TABLE
4733BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004734BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004735WIDTH="100%"
4736CELLPADDING="6"
4737><TR
4738><TD
4739><PRE
4740CLASS="PROGRAMLISTING"
4741><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004742HREF="gnome-xml-tree.html#XMLCHAR"
4743>xmlChar</A
4744>* xmlParseNmtoken (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004745HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4746>xmlParserCtxtPtr</A
4747> ctxt);</PRE
4748></TD
4749></TR
4750></TABLE
4751><P
4752>parse an XML Nmtoken.</P
4753><P
4754>[7] Nmtoken ::= (NameChar)+</P
4755><P
4756>[8] Nmtokens ::= Nmtoken (S Nmtoken)*</P
4757><P
4758></P
4759><DIV
4760CLASS="INFORMALTABLE"
4761><P
4762></P
4763><TABLE
4764BORDER="0"
4765WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004766BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004767CELLSPACING="0"
4768CELLPADDING="4"
4769CLASS="CALSTABLE"
4770><TR
4771><TD
4772WIDTH="20%"
4773ALIGN="RIGHT"
4774VALIGN="TOP"
4775><TT
4776CLASS="PARAMETER"
4777><I
4778>ctxt</I
4779></TT
4780>&nbsp;:</TD
4781><TD
4782WIDTH="80%"
4783ALIGN="LEFT"
4784VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004785> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004786></TR
4787><TR
4788><TD
4789WIDTH="20%"
4790ALIGN="RIGHT"
4791VALIGN="TOP"
4792><I
4793CLASS="EMPHASIS"
4794>Returns</I
4795> :</TD
4796><TD
4797WIDTH="80%"
4798ALIGN="LEFT"
4799VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004800>the Nmtoken parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004801></TR
4802></TABLE
4803><P
4804></P
4805></DIV
4806></DIV
4807><HR><DIV
4808CLASS="REFSECT2"
4809><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004810NAME="AEN16112"
Daniel Veillard35925471999-02-25 08:46:07 +00004811></A
4812><H3
4813><A
4814NAME="XMLPARSEENTITYVALUE"
4815></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004816>xmlParseEntityValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004817><TABLE
4818BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004819BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004820WIDTH="100%"
4821CELLPADDING="6"
4822><TR
4823><TD
4824><PRE
4825CLASS="PROGRAMLISTING"
4826><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004827HREF="gnome-xml-tree.html#XMLCHAR"
4828>xmlChar</A
4829>* xmlParseEntityValue (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004830HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4831>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004832> ctxt,
4833 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004834HREF="gnome-xml-tree.html#XMLCHAR"
4835>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004836> **orig);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00004837></TD
4838></TR
4839></TABLE
4840><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004841>parse a value for ENTITY declarations</P
Daniel Veillard35925471999-02-25 08:46:07 +00004842><P
4843>[9] EntityValue ::= '"' ([^%&amp;"] | PEReference | Reference)* '"' |
4844"'" ([^%&amp;'] | PEReference | Reference)* "'"</P
4845><P
4846></P
4847><DIV
4848CLASS="INFORMALTABLE"
4849><P
4850></P
4851><TABLE
4852BORDER="0"
4853WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004854BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004855CELLSPACING="0"
4856CELLPADDING="4"
4857CLASS="CALSTABLE"
4858><TR
4859><TD
4860WIDTH="20%"
4861ALIGN="RIGHT"
4862VALIGN="TOP"
4863><TT
4864CLASS="PARAMETER"
4865><I
4866>ctxt</I
4867></TT
4868>&nbsp;:</TD
4869><TD
4870WIDTH="80%"
4871ALIGN="LEFT"
4872VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004873> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004874></TR
4875><TR
4876><TD
4877WIDTH="20%"
4878ALIGN="RIGHT"
4879VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004880><TT
4881CLASS="PARAMETER"
4882><I
4883>orig</I
4884></TT
4885>&nbsp;:</TD
4886><TD
4887WIDTH="80%"
4888ALIGN="LEFT"
4889VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004890> if non-NULL store a copy of the original entity value</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00004891></TR
4892><TR
4893><TD
4894WIDTH="20%"
4895ALIGN="RIGHT"
4896VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00004897><I
4898CLASS="EMPHASIS"
4899>Returns</I
4900> :</TD
4901><TD
4902WIDTH="80%"
4903ALIGN="LEFT"
4904VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004905>the EntityValue parsed with reference substitued or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004906></TR
4907></TABLE
4908><P
4909></P
4910></DIV
4911></DIV
4912><HR><DIV
4913CLASS="REFSECT2"
4914><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00004915NAME="AEN16139"
Daniel Veillard35925471999-02-25 08:46:07 +00004916></A
4917><H3
4918><A
4919NAME="XMLPARSEATTVALUE"
4920></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004921>xmlParseAttValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004922><TABLE
4923BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004924BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004925WIDTH="100%"
4926CELLPADDING="6"
4927><TR
4928><TD
4929><PRE
4930CLASS="PROGRAMLISTING"
4931><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004932HREF="gnome-xml-tree.html#XMLCHAR"
4933>xmlChar</A
4934>* xmlParseAttValue (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004935HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4936>xmlParserCtxtPtr</A
4937> ctxt);</PRE
4938></TD
4939></TR
4940></TABLE
4941><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00004942>parse a value for an attribute
4943Note: the parser won't do substitution of entities here, this
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004944will be handled later in xmlStringGetNodeList</P
Daniel Veillard35925471999-02-25 08:46:07 +00004945><P
4946>[10] AttValue ::= '"' ([^&lt;&amp;"] | Reference)* '"' |
4947"'" ([^&lt;&amp;'] | Reference)* "'"</P
4948><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004949>3.3.3 Attribute-Value Normalization:
4950Before the value of an attribute is passed to the application or
4951checked for validity, the XML processor must normalize it as follows:
4952- a character reference is processed by appending the referenced
4953character to the attribute value
4954- an entity reference is processed by recursively processing the
4955replacement text of the entity
4956- a whitespace character (<GTKDOCLINK
4957HREF="X20"
4958>x20</GTKDOCLINK
4959>, <GTKDOCLINK
4960HREF="XD"
4961>xD</GTKDOCLINK
4962>, <GTKDOCLINK
4963HREF="XA"
4964>xA</GTKDOCLINK
4965>, <GTKDOCLINK
4966HREF="X9"
4967>x9</GTKDOCLINK
4968>) is processed by
4969appending <GTKDOCLINK
4970HREF="X20"
4971>x20</GTKDOCLINK
4972> to the normalized value, except that only a single
4973<GTKDOCLINK
4974HREF="X20"
4975>x20</GTKDOCLINK
4976> is appended for a "<GTKDOCLINK
4977HREF="XD"
4978>xD</GTKDOCLINK
4979><GTKDOCLINK
4980HREF="XA"
4981>xA</GTKDOCLINK
4982>" sequence that is part of an external
4983parsed entity or the literal entity value of an internal parsed entity
4984- other characters are processed by appending them to the normalized value
4985If the declared value is not CDATA, then the XML processor must further
4986process the normalized attribute value by discarding any leading and
4987trailing space (<GTKDOCLINK
4988HREF="X20"
4989>x20</GTKDOCLINK
4990>) characters, and by replacing sequences of space
4991(<GTKDOCLINK
4992HREF="X20"
4993>x20</GTKDOCLINK
4994>) characters by a single space (<GTKDOCLINK
4995HREF="X20"
4996>x20</GTKDOCLINK
4997>) character.
4998All attributes for which no declaration has been read should be treated
4999by a non-validating parser as if declared CDATA.</P
5000><P
Daniel Veillard35925471999-02-25 08:46:07 +00005001></P
5002><DIV
5003CLASS="INFORMALTABLE"
5004><P
5005></P
5006><TABLE
5007BORDER="0"
5008WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005009BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005010CELLSPACING="0"
5011CELLPADDING="4"
5012CLASS="CALSTABLE"
5013><TR
5014><TD
5015WIDTH="20%"
5016ALIGN="RIGHT"
5017VALIGN="TOP"
5018><TT
5019CLASS="PARAMETER"
5020><I
5021>ctxt</I
5022></TT
5023>&nbsp;:</TD
5024><TD
5025WIDTH="80%"
5026ALIGN="LEFT"
5027VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005028> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005029></TR
5030><TR
5031><TD
5032WIDTH="20%"
5033ALIGN="RIGHT"
5034VALIGN="TOP"
5035><I
5036CLASS="EMPHASIS"
5037>Returns</I
5038> :</TD
5039><TD
5040WIDTH="80%"
5041ALIGN="LEFT"
5042VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005043>the AttValue parsed or NULL. The value has to be freed by the caller.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005044></TR
5045></TABLE
5046><P
5047></P
5048></DIV
5049></DIV
5050><HR><DIV
5051CLASS="REFSECT2"
5052><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005053NAME="AEN16173"
Daniel Veillard35925471999-02-25 08:46:07 +00005054></A
5055><H3
5056><A
5057NAME="XMLPARSESYSTEMLITERAL"
5058></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005059>xmlParseSystemLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005060><TABLE
5061BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005062BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005063WIDTH="100%"
5064CELLPADDING="6"
5065><TR
5066><TD
5067><PRE
5068CLASS="PROGRAMLISTING"
5069><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005070HREF="gnome-xml-tree.html#XMLCHAR"
5071>xmlChar</A
5072>* xmlParseSystemLiteral (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005073HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5074>xmlParserCtxtPtr</A
5075> ctxt);</PRE
5076></TD
5077></TR
5078></TABLE
5079><P
5080>parse an XML Literal</P
5081><P
5082>[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</P
5083><P
5084></P
5085><DIV
5086CLASS="INFORMALTABLE"
5087><P
5088></P
5089><TABLE
5090BORDER="0"
5091WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005092BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005093CELLSPACING="0"
5094CELLPADDING="4"
5095CLASS="CALSTABLE"
5096><TR
5097><TD
5098WIDTH="20%"
5099ALIGN="RIGHT"
5100VALIGN="TOP"
5101><TT
5102CLASS="PARAMETER"
5103><I
5104>ctxt</I
5105></TT
5106>&nbsp;:</TD
5107><TD
5108WIDTH="80%"
5109ALIGN="LEFT"
5110VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005111> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005112></TR
5113><TR
5114><TD
5115WIDTH="20%"
5116ALIGN="RIGHT"
5117VALIGN="TOP"
5118><I
5119CLASS="EMPHASIS"
5120>Returns</I
5121> :</TD
5122><TD
5123WIDTH="80%"
5124ALIGN="LEFT"
5125VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005126>the SystemLiteral parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005127></TR
5128></TABLE
5129><P
5130></P
5131></DIV
5132></DIV
5133><HR><DIV
5134CLASS="REFSECT2"
5135><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005136NAME="AEN16195"
Daniel Veillard35925471999-02-25 08:46:07 +00005137></A
5138><H3
5139><A
5140NAME="XMLPARSEPUBIDLITERAL"
5141></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005142>xmlParsePubidLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005143><TABLE
5144BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005145BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005146WIDTH="100%"
5147CELLPADDING="6"
5148><TR
5149><TD
5150><PRE
5151CLASS="PROGRAMLISTING"
5152><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005153HREF="gnome-xml-tree.html#XMLCHAR"
5154>xmlChar</A
5155>* xmlParsePubidLiteral (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005156HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5157>xmlParserCtxtPtr</A
5158> ctxt);</PRE
5159></TD
5160></TR
5161></TABLE
5162><P
5163>parse an XML public literal</P
5164><P
5165>[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</P
5166><P
5167></P
5168><DIV
5169CLASS="INFORMALTABLE"
5170><P
5171></P
5172><TABLE
5173BORDER="0"
5174WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005175BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005176CELLSPACING="0"
5177CELLPADDING="4"
5178CLASS="CALSTABLE"
5179><TR
5180><TD
5181WIDTH="20%"
5182ALIGN="RIGHT"
5183VALIGN="TOP"
5184><TT
5185CLASS="PARAMETER"
5186><I
5187>ctxt</I
5188></TT
5189>&nbsp;:</TD
5190><TD
5191WIDTH="80%"
5192ALIGN="LEFT"
5193VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005194> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005195></TR
5196><TR
5197><TD
5198WIDTH="20%"
5199ALIGN="RIGHT"
5200VALIGN="TOP"
5201><I
5202CLASS="EMPHASIS"
5203>Returns</I
5204> :</TD
5205><TD
5206WIDTH="80%"
5207ALIGN="LEFT"
5208VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005209>the PubidLiteral parsed or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005210></TR
5211></TABLE
5212><P
5213></P
5214></DIV
5215></DIV
5216><HR><DIV
5217CLASS="REFSECT2"
5218><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005219NAME="AEN16217"
Daniel Veillard35925471999-02-25 08:46:07 +00005220></A
5221><H3
5222><A
5223NAME="XMLPARSECHARDATA"
5224></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005225>xmlParseCharData ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005226><TABLE
5227BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005228BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005229WIDTH="100%"
5230CELLPADDING="6"
5231><TR
5232><TD
5233><PRE
5234CLASS="PROGRAMLISTING"
5235>void xmlParseCharData (<A
5236HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5237>xmlParserCtxtPtr</A
5238> ctxt,
5239 int cdata);</PRE
5240></TD
5241></TR
5242></TABLE
5243><P
5244>parse a CharData section.
5245if we are within a CDATA section ']]&gt;' marks an end of section.</P
5246><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005247>The right angle bracket (&gt;) may be represented using the string "&amp;gt;",
5248and must, for compatibility, be escaped using "&amp;gt;" or a character
5249reference when it appears in the string "]]&gt;" in content, when that
5250string is not marking the end of a CDATA section. </P
5251><P
Daniel Veillard35925471999-02-25 08:46:07 +00005252>[14] CharData ::= [^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</P
5253><P
5254></P
5255><DIV
5256CLASS="INFORMALTABLE"
5257><P
5258></P
5259><TABLE
5260BORDER="0"
5261WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005262BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005263CELLSPACING="0"
5264CELLPADDING="4"
5265CLASS="CALSTABLE"
5266><TR
5267><TD
5268WIDTH="20%"
5269ALIGN="RIGHT"
5270VALIGN="TOP"
5271><TT
5272CLASS="PARAMETER"
5273><I
5274>ctxt</I
5275></TT
5276>&nbsp;:</TD
5277><TD
5278WIDTH="80%"
5279ALIGN="LEFT"
5280VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005281> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005282></TR
5283><TR
5284><TD
5285WIDTH="20%"
5286ALIGN="RIGHT"
5287VALIGN="TOP"
5288><TT
5289CLASS="PARAMETER"
5290><I
5291>cdata</I
5292></TT
5293>&nbsp;:</TD
5294><TD
5295WIDTH="80%"
5296ALIGN="LEFT"
5297VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005298> int indicating whether we are within a CDATA section</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005299></TR
5300></TABLE
5301><P
5302></P
5303></DIV
5304></DIV
5305><HR><DIV
5306CLASS="REFSECT2"
5307><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005308NAME="AEN16239"
Daniel Veillard35925471999-02-25 08:46:07 +00005309></A
5310><H3
5311><A
5312NAME="XMLPARSEEXTERNALID"
5313></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005314>xmlParseExternalID ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005315><TABLE
5316BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005317BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005318WIDTH="100%"
5319CELLPADDING="6"
5320><TR
5321><TD
5322><PRE
5323CLASS="PROGRAMLISTING"
5324><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005325HREF="gnome-xml-tree.html#XMLCHAR"
5326>xmlChar</A
5327>* xmlParseExternalID (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005328HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5329>xmlParserCtxtPtr</A
5330> ctxt,
5331 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005332HREF="gnome-xml-tree.html#XMLCHAR"
5333>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005334> **publicID,
5335 int strict);</PRE
5336></TD
5337></TR
5338></TABLE
5339><P
5340>Parse an External ID or a Public ID</P
5341><P
5342>NOTE: Productions [75] and [83] interract badly since [75] can generate
5343'PUBLIC' S PubidLiteral S SystemLiteral</P
5344><P
5345>[75] ExternalID ::= 'SYSTEM' S SystemLiteral
5346| 'PUBLIC' S PubidLiteral S SystemLiteral</P
5347><P
5348>[83] PublicID ::= 'PUBLIC' S PubidLiteral</P
5349><P
5350></P
5351><DIV
5352CLASS="INFORMALTABLE"
5353><P
5354></P
5355><TABLE
5356BORDER="0"
5357WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005358BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005359CELLSPACING="0"
5360CELLPADDING="4"
5361CLASS="CALSTABLE"
5362><TR
5363><TD
5364WIDTH="20%"
5365ALIGN="RIGHT"
5366VALIGN="TOP"
5367><TT
5368CLASS="PARAMETER"
5369><I
5370>ctxt</I
5371></TT
5372>&nbsp;:</TD
5373><TD
5374WIDTH="80%"
5375ALIGN="LEFT"
5376VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005377> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005378></TR
5379><TR
5380><TD
5381WIDTH="20%"
5382ALIGN="RIGHT"
5383VALIGN="TOP"
5384><TT
5385CLASS="PARAMETER"
5386><I
5387>publicID</I
5388></TT
5389>&nbsp;:</TD
5390><TD
5391WIDTH="80%"
5392ALIGN="LEFT"
5393VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005394> a xmlChar** receiving PubidLiteral</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005395></TR
5396><TR
5397><TD
5398WIDTH="20%"
5399ALIGN="RIGHT"
5400VALIGN="TOP"
5401><TT
5402CLASS="PARAMETER"
5403><I
5404>strict</I
5405></TT
5406>&nbsp;:</TD
5407><TD
5408WIDTH="80%"
5409ALIGN="LEFT"
5410VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005411> indicate whether we should restrict parsing to only
5412production [75], see NOTE below</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005413></TR
5414><TR
5415><TD
5416WIDTH="20%"
5417ALIGN="RIGHT"
5418VALIGN="TOP"
5419><I
5420CLASS="EMPHASIS"
5421>Returns</I
5422> :</TD
5423><TD
5424WIDTH="80%"
5425ALIGN="LEFT"
5426VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005427>the function returns SystemLiteral and in the second
5428case publicID receives PubidLiteral, is strict is off
5429it is possible to return NULL and have publicID set.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005430></TR
5431></TABLE
5432><P
5433></P
5434></DIV
5435></DIV
5436><HR><DIV
5437CLASS="REFSECT2"
5438><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005439NAME="AEN16272"
Daniel Veillard35925471999-02-25 08:46:07 +00005440></A
5441><H3
5442><A
5443NAME="XMLPARSECOMMENT"
5444></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005445>xmlParseComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005446><TABLE
5447BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005448BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005449WIDTH="100%"
5450CELLPADDING="6"
5451><TR
5452><TD
5453><PRE
5454CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00005455>void xmlParseComment (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005456HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5457>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005458> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00005459></TD
5460></TR
5461></TABLE
5462><P
5463>Skip an XML (SGML) comment &lt;!-- .... --&gt;
Daniel Veillard35925471999-02-25 08:46:07 +00005464The spec says that "For compatibility, the string "--" (double-hyphen)
5465must not occur within comments. "</P
5466><P
5467>[15] Comment ::= '&lt;!--' ((Char - '-') | ('-' (Char - '-')))* '--&gt;'</P
5468><P
Daniel Veillard35925471999-02-25 08:46:07 +00005469></P
5470><DIV
5471CLASS="INFORMALTABLE"
5472><P
5473></P
5474><TABLE
5475BORDER="0"
5476WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005477BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005478CELLSPACING="0"
5479CELLPADDING="4"
5480CLASS="CALSTABLE"
5481><TR
5482><TD
5483WIDTH="20%"
5484ALIGN="RIGHT"
5485VALIGN="TOP"
5486><TT
5487CLASS="PARAMETER"
5488><I
5489>ctxt</I
5490></TT
5491>&nbsp;:</TD
5492><TD
5493WIDTH="80%"
5494ALIGN="LEFT"
5495VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005496> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005497></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005498></TABLE
5499><P
5500></P
5501></DIV
5502></DIV
5503><HR><DIV
5504CLASS="REFSECT2"
5505><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005506NAME="AEN16289"
Daniel Veillard35925471999-02-25 08:46:07 +00005507></A
5508><H3
5509><A
5510NAME="XMLPARSEPITARGET"
5511></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005512>xmlParsePITarget ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005513><TABLE
5514BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005515BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005516WIDTH="100%"
5517CELLPADDING="6"
5518><TR
5519><TD
5520><PRE
5521CLASS="PROGRAMLISTING"
5522><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005523HREF="gnome-xml-tree.html#XMLCHAR"
5524>xmlChar</A
5525>* xmlParsePITarget (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005526HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5527>xmlParserCtxtPtr</A
5528> ctxt);</PRE
5529></TD
5530></TR
5531></TABLE
5532><P
5533>parse the name of a PI</P
5534><P
5535>[17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</P
5536><P
5537></P
5538><DIV
5539CLASS="INFORMALTABLE"
5540><P
5541></P
5542><TABLE
5543BORDER="0"
5544WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005545BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005546CELLSPACING="0"
5547CELLPADDING="4"
5548CLASS="CALSTABLE"
5549><TR
5550><TD
5551WIDTH="20%"
5552ALIGN="RIGHT"
5553VALIGN="TOP"
5554><TT
5555CLASS="PARAMETER"
5556><I
5557>ctxt</I
5558></TT
5559>&nbsp;:</TD
5560><TD
5561WIDTH="80%"
5562ALIGN="LEFT"
5563VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005564> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005565></TR
5566><TR
5567><TD
5568WIDTH="20%"
5569ALIGN="RIGHT"
5570VALIGN="TOP"
5571><I
5572CLASS="EMPHASIS"
5573>Returns</I
5574> :</TD
5575><TD
5576WIDTH="80%"
5577ALIGN="LEFT"
5578VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005579>the PITarget name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005580></TR
5581></TABLE
5582><P
5583></P
5584></DIV
5585></DIV
5586><HR><DIV
5587CLASS="REFSECT2"
5588><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005589NAME="AEN16311"
Daniel Veillard35925471999-02-25 08:46:07 +00005590></A
5591><H3
5592><A
5593NAME="XMLPARSEPI"
5594></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005595>xmlParsePI ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005596><TABLE
5597BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005598BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005599WIDTH="100%"
5600CELLPADDING="6"
5601><TR
5602><TD
5603><PRE
5604CLASS="PROGRAMLISTING"
5605>void xmlParsePI (<A
5606HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5607>xmlParserCtxtPtr</A
5608> ctxt);</PRE
5609></TD
5610></TR
5611></TABLE
5612><P
5613>parse an XML Processing Instruction.</P
5614><P
5615>[16] PI ::= '&lt;?' PITarget (S (Char* - (Char* '?&gt;' Char*)))? '?&gt;'</P
5616><P
5617>The processing is transfered to SAX once parsed.</P
5618><P
5619></P
5620><DIV
5621CLASS="INFORMALTABLE"
5622><P
5623></P
5624><TABLE
5625BORDER="0"
5626WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005627BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005628CELLSPACING="0"
5629CELLPADDING="4"
5630CLASS="CALSTABLE"
5631><TR
5632><TD
5633WIDTH="20%"
5634ALIGN="RIGHT"
5635VALIGN="TOP"
5636><TT
5637CLASS="PARAMETER"
5638><I
5639>ctxt</I
5640></TT
5641>&nbsp;:</TD
5642><TD
5643WIDTH="80%"
5644ALIGN="LEFT"
5645VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005646> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005647></TR
5648></TABLE
5649><P
5650></P
5651></DIV
5652></DIV
5653><HR><DIV
5654CLASS="REFSECT2"
5655><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005656NAME="AEN16329"
Daniel Veillard35925471999-02-25 08:46:07 +00005657></A
5658><H3
5659><A
5660NAME="XMLPARSENOTATIONDECL"
5661></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005662>xmlParseNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005663><TABLE
5664BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005665BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005666WIDTH="100%"
5667CELLPADDING="6"
5668><TR
5669><TD
5670><PRE
5671CLASS="PROGRAMLISTING"
5672>void xmlParseNotationDecl (<A
5673HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5674>xmlParserCtxtPtr</A
5675> ctxt);</PRE
5676></TD
5677></TR
5678></TABLE
5679><P
5680>parse a notation declaration</P
5681><P
5682>[82] NotationDecl ::= '&lt;!NOTATION' S Name S (ExternalID | PublicID) S? '&gt;'</P
5683><P
5684>Hence there is actually 3 choices:
5685'PUBLIC' S PubidLiteral
5686'PUBLIC' S PubidLiteral S SystemLiteral
5687and 'SYSTEM' S SystemLiteral</P
5688><P
5689>See the NOTE on <A
5690HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
5691>xmlParseExternalID</A
5692>().</P
5693><P
5694></P
5695><DIV
5696CLASS="INFORMALTABLE"
5697><P
5698></P
5699><TABLE
5700BORDER="0"
5701WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005702BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005703CELLSPACING="0"
5704CELLPADDING="4"
5705CLASS="CALSTABLE"
5706><TR
5707><TD
5708WIDTH="20%"
5709ALIGN="RIGHT"
5710VALIGN="TOP"
5711><TT
5712CLASS="PARAMETER"
5713><I
5714>ctxt</I
5715></TT
5716>&nbsp;:</TD
5717><TD
5718WIDTH="80%"
5719ALIGN="LEFT"
5720VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005721> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005722></TR
5723></TABLE
5724><P
5725></P
5726></DIV
5727></DIV
5728><HR><DIV
5729CLASS="REFSECT2"
5730><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005731NAME="AEN16349"
Daniel Veillard35925471999-02-25 08:46:07 +00005732></A
5733><H3
5734><A
5735NAME="XMLPARSEENTITYDECL"
5736></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005737>xmlParseEntityDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005738><TABLE
5739BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005740BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005741WIDTH="100%"
5742CELLPADDING="6"
5743><TR
5744><TD
5745><PRE
5746CLASS="PROGRAMLISTING"
5747>void xmlParseEntityDecl (<A
5748HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5749>xmlParserCtxtPtr</A
5750> ctxt);</PRE
5751></TD
5752></TR
5753></TABLE
5754><P
5755>parse &lt;!ENTITY declarations</P
5756><P
5757>[70] EntityDecl ::= GEDecl | PEDecl</P
5758><P
5759>[71] GEDecl ::= '&lt;!ENTITY' S Name S EntityDef S? '&gt;'</P
5760><P
5761>[72] PEDecl ::= '&lt;!ENTITY' S '%' S Name S PEDef S? '&gt;'</P
5762><P
5763>[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)</P
5764><P
5765>[74] PEDef ::= EntityValue | ExternalID</P
5766><P
5767>[76] NDataDecl ::= S 'NDATA' S Name</P
5768><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005769>[ VC: Notation Declared ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005770The Name must match the declared name of a notation.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005771><P
Daniel Veillard35925471999-02-25 08:46:07 +00005772></P
5773><DIV
5774CLASS="INFORMALTABLE"
5775><P
5776></P
5777><TABLE
5778BORDER="0"
5779WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005780BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005781CELLSPACING="0"
5782CELLPADDING="4"
5783CLASS="CALSTABLE"
5784><TR
5785><TD
5786WIDTH="20%"
5787ALIGN="RIGHT"
5788VALIGN="TOP"
5789><TT
5790CLASS="PARAMETER"
5791><I
5792>ctxt</I
5793></TT
5794>&nbsp;:</TD
5795><TD
5796WIDTH="80%"
5797ALIGN="LEFT"
5798VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005799> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005800></TR
5801></TABLE
5802><P
5803></P
5804></DIV
5805></DIV
5806><HR><DIV
5807CLASS="REFSECT2"
5808><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005809NAME="AEN16372"
Daniel Veillard35925471999-02-25 08:46:07 +00005810></A
5811><H3
5812><A
5813NAME="XMLPARSEDEFAULTDECL"
5814></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005815>xmlParseDefaultDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005816><TABLE
5817BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005818BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005819WIDTH="100%"
5820CELLPADDING="6"
5821><TR
5822><TD
5823><PRE
5824CLASS="PROGRAMLISTING"
5825>int xmlParseDefaultDecl (<A
5826HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5827>xmlParserCtxtPtr</A
5828> ctxt,
5829 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005830HREF="gnome-xml-tree.html#XMLCHAR"
5831>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005832> **value);</PRE
5833></TD
5834></TR
5835></TABLE
5836><P
5837>Parse an attribute default declaration</P
5838><P
5839>[60] DefaultDecl ::= '<GTKDOCLINK
5840HREF="REQUIRED"
5841>REQUIRED</GTKDOCLINK
5842>' | '<GTKDOCLINK
5843HREF="IMPLIED"
5844>IMPLIED</GTKDOCLINK
5845>' | (('<GTKDOCLINK
5846HREF="FIXED"
5847>FIXED</GTKDOCLINK
5848>' S)? AttValue)</P
5849><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005850>[ VC: Required Attribute ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005851if the default declaration is the keyword <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00005852HREF="REQUIRED"
5853>REQUIRED</GTKDOCLINK
5854>, then the
5855attribute must be specified for all elements of the type in the
5856attribute-list declaration.</P
5857><P
5858>[ VC: Attribute Default Legal ]
5859The declared default value must meet the lexical constraints of
5860the declared attribute type c.f. <A
5861HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL"
5862>xmlValidateAttributeDecl</A
5863>()</P
5864><P
5865>[ VC: Fixed Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005866if an attribute has a default value declared with the <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00005867HREF="FIXED"
5868>FIXED</GTKDOCLINK
5869>
5870keyword, instances of that attribute must match the default value. </P
5871><P
5872>[ WFC: No &lt; in Attribute Values ]
5873handled in <A
5874HREF="gnome-xml-parserinternals.html#XMLPARSEATTVALUE"
5875>xmlParseAttValue</A
5876>()</P
5877><P
Daniel Veillard35925471999-02-25 08:46:07 +00005878></P
5879><DIV
5880CLASS="INFORMALTABLE"
5881><P
5882></P
5883><TABLE
5884BORDER="0"
5885WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005886BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005887CELLSPACING="0"
5888CELLPADDING="4"
5889CLASS="CALSTABLE"
5890><TR
5891><TD
5892WIDTH="20%"
5893ALIGN="RIGHT"
5894VALIGN="TOP"
5895><TT
5896CLASS="PARAMETER"
5897><I
5898>ctxt</I
5899></TT
5900>&nbsp;:</TD
5901><TD
5902WIDTH="80%"
5903ALIGN="LEFT"
5904VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005905> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005906></TR
5907><TR
5908><TD
5909WIDTH="20%"
5910ALIGN="RIGHT"
5911VALIGN="TOP"
5912><TT
5913CLASS="PARAMETER"
5914><I
5915>value</I
5916></TT
5917>&nbsp;:</TD
5918><TD
5919WIDTH="80%"
5920ALIGN="LEFT"
5921VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005922> Receive a possible fixed default value for the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005923></TR
5924><TR
5925><TD
5926WIDTH="20%"
5927ALIGN="RIGHT"
5928VALIGN="TOP"
5929><I
5930CLASS="EMPHASIS"
5931>Returns</I
5932> :</TD
5933><TD
5934WIDTH="80%"
5935ALIGN="LEFT"
5936VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005937> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED
5938or XML_ATTRIBUTE_FIXED. </TD
Daniel Veillard35925471999-02-25 08:46:07 +00005939></TR
5940></TABLE
5941><P
5942></P
5943></DIV
5944></DIV
5945><HR><DIV
5946CLASS="REFSECT2"
5947><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00005948NAME="AEN16409"
Daniel Veillard35925471999-02-25 08:46:07 +00005949></A
5950><H3
5951><A
5952NAME="XMLPARSENOTATIONTYPE"
5953></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005954>xmlParseNotationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005955><TABLE
5956BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005957BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005958WIDTH="100%"
5959CELLPADDING="6"
5960><TR
5961><TD
5962><PRE
5963CLASS="PROGRAMLISTING"
5964><A
5965HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
5966>xmlEnumerationPtr</A
5967> xmlParseNotationType (<A
5968HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5969>xmlParserCtxtPtr</A
5970> ctxt);</PRE
5971></TD
5972></TR
5973></TABLE
5974><P
5975>parse an Notation attribute type.</P
5976><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005977>Note: the leading 'NOTATION' S part has already being parsed...</P
5978><P
Daniel Veillard35925471999-02-25 08:46:07 +00005979>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
5980><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005981>[ VC: Notation Attributes ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005982Values of this type must match one of the notation names included
Daniel Veillardb05deb71999-08-10 19:04:08 +00005983in the declaration; all notation names in the declaration must be declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005984><P
5985></P
5986><DIV
5987CLASS="INFORMALTABLE"
5988><P
5989></P
5990><TABLE
5991BORDER="0"
5992WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005993BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005994CELLSPACING="0"
5995CELLPADDING="4"
5996CLASS="CALSTABLE"
5997><TR
5998><TD
5999WIDTH="20%"
6000ALIGN="RIGHT"
6001VALIGN="TOP"
6002><TT
6003CLASS="PARAMETER"
6004><I
6005>ctxt</I
6006></TT
6007>&nbsp;:</TD
6008><TD
6009WIDTH="80%"
6010ALIGN="LEFT"
6011VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006012> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006013></TR
6014><TR
6015><TD
6016WIDTH="20%"
6017ALIGN="RIGHT"
6018VALIGN="TOP"
6019><I
6020CLASS="EMPHASIS"
6021>Returns</I
6022> :</TD
6023><TD
6024WIDTH="80%"
6025ALIGN="LEFT"
6026VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006027> the notation attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006028></TR
6029></TABLE
6030><P
6031></P
6032></DIV
6033></DIV
6034><HR><DIV
6035CLASS="REFSECT2"
6036><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00006037NAME="AEN16433"
Daniel Veillard35925471999-02-25 08:46:07 +00006038></A
6039><H3
6040><A
6041NAME="XMLPARSEENUMERATIONTYPE"
6042></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006043>xmlParseEnumerationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006044><TABLE
6045BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006046BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006047WIDTH="100%"
6048CELLPADDING="6"
6049><TR
6050><TD
6051><PRE
6052CLASS="PROGRAMLISTING"
6053><A
6054HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
6055>xmlEnumerationPtr</A
6056> xmlParseEnumerationType (<A
6057HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6058>xmlParserCtxtPtr</A
6059> ctxt);</PRE
6060></TD
6061></TR
6062></TABLE
6063><P
6064>parse an Enumeration attribute type.</P
6065><P
6066>[59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')'</P
6067><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006068>[ VC: Enumeration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006069Values of this type must match one of the Nmtoken tokens in
Daniel Veillardb05deb71999-08-10 19:04:08 +00006070the declaration</P
6071><P
Daniel Veillard35925471999-02-25 08:46:07 +00006072></P
6073><DIV
6074CLASS="INFORMALTABLE"
6075><P
6076></P
6077><TABLE
6078BORDER="0"
6079WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006080BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006081CELLSPACING="0"
6082CELLPADDING="4"
6083CLASS="CALSTABLE"
6084><TR
6085><TD
6086WIDTH="20%"
6087ALIGN="RIGHT"
6088VALIGN="TOP"
6089><TT
6090CLASS="PARAMETER"
6091><I
6092>ctxt</I
6093></TT
6094>&nbsp;:</TD
6095><TD
6096WIDTH="80%"
6097ALIGN="LEFT"
6098VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006099> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006100></TR
6101><TR
6102><TD
6103WIDTH="20%"
6104ALIGN="RIGHT"
6105VALIGN="TOP"
6106><I
6107CLASS="EMPHASIS"
6108>Returns</I
6109> :</TD
6110><TD
6111WIDTH="80%"
6112ALIGN="LEFT"
6113VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006114> the enumeration attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006115></TR
6116></TABLE
6117><P
6118></P
6119></DIV
6120></DIV
6121><HR><DIV
6122CLASS="REFSECT2"
6123><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00006124NAME="AEN16456"
Daniel Veillard35925471999-02-25 08:46:07 +00006125></A
6126><H3
6127><A
6128NAME="XMLPARSEENUMERATEDTYPE"
6129></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006130>xmlParseEnumeratedType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006131><TABLE
6132BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006133BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006134WIDTH="100%"
6135CELLPADDING="6"
6136><TR
6137><TD
6138><PRE
6139CLASS="PROGRAMLISTING"
6140>int xmlParseEnumeratedType (<A
6141HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6142>xmlParserCtxtPtr</A
6143> ctxt,
6144 <A
6145HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
6146>xmlEnumerationPtr</A
6147> *tree);</PRE
6148></TD
6149></TR
6150></TABLE
6151><P
6152>parse an Enumerated attribute type.</P
6153><P
6154>[57] EnumeratedType ::= NotationType | Enumeration</P
6155><P
6156>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
6157><P
6158></P
6159><DIV
6160CLASS="INFORMALTABLE"
6161><P
6162></P
6163><TABLE
6164BORDER="0"
6165WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006166BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006167CELLSPACING="0"
6168CELLPADDING="4"
6169CLASS="CALSTABLE"
6170><TR
6171><TD
6172WIDTH="20%"
6173ALIGN="RIGHT"
6174VALIGN="TOP"
6175><TT
6176CLASS="PARAMETER"
6177><I
6178>ctxt</I
6179></TT
6180>&nbsp;:</TD
6181><TD
6182WIDTH="80%"
6183ALIGN="LEFT"
6184VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006185> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006186></TR
6187><TR
6188><TD
6189WIDTH="20%"
6190ALIGN="RIGHT"
6191VALIGN="TOP"
6192><TT
6193CLASS="PARAMETER"
6194><I
6195>tree</I
6196></TT
6197>&nbsp;:</TD
6198><TD
6199WIDTH="80%"
6200ALIGN="LEFT"
6201VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006202> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006203></TR
6204><TR
6205><TD
6206WIDTH="20%"
6207ALIGN="RIGHT"
6208VALIGN="TOP"
6209><I
6210CLASS="EMPHASIS"
6211>Returns</I
6212> :</TD
6213><TD
6214WIDTH="80%"
6215ALIGN="LEFT"
6216VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006217> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006218></TR
6219></TABLE
6220><P
6221></P
6222></DIV
6223></DIV
6224><HR><DIV
6225CLASS="REFSECT2"
6226><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00006227NAME="AEN16483"
Daniel Veillard35925471999-02-25 08:46:07 +00006228></A
6229><H3
6230><A
6231NAME="XMLPARSEATTRIBUTETYPE"
6232></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006233>xmlParseAttributeType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006234><TABLE
6235BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006236BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006237WIDTH="100%"
6238CELLPADDING="6"
6239><TR
6240><TD
6241><PRE
6242CLASS="PROGRAMLISTING"
6243>int xmlParseAttributeType (<A
6244HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6245>xmlParserCtxtPtr</A
6246> ctxt,
6247 <A
6248HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
6249>xmlEnumerationPtr</A
6250> *tree);</PRE
6251></TD
6252></TR
6253></TABLE
6254><P
6255>parse the Attribute list def for an element</P
6256><P
6257>[54] AttType ::= StringType | TokenizedType | EnumeratedType</P
6258><P
6259>[55] StringType ::= 'CDATA'</P
6260><P
6261>[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' |
6262'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'</P
6263><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006264>Validity constraints for attribute values syntax are checked in
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006265<A
6266HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
6267>xmlValidateAttributeValue</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006268>()</P
6269><P
6270>[ VC: ID ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006271Values of type ID must match the Name production. A name must not
Daniel Veillardb05deb71999-08-10 19:04:08 +00006272appear more than once in an XML document as a value of this type;
6273i.e., ID values must uniquely identify the elements which bear them.</P
6274><P
6275>[ VC: One ID per Element Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006276No element type may have more than one ID attribute specified.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006277><P
6278>[ VC: ID Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006279An ID attribute must have a declared default of <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00006280HREF="IMPLIED"
6281>IMPLIED</GTKDOCLINK
6282> or <GTKDOCLINK
6283HREF="REQUIRED"
6284>REQUIRED</GTKDOCLINK
6285>.</P
6286><P
6287>[ VC: IDREF ]
6288Values of type IDREF must match the Name production, and values
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006289of type IDREFS must match Names; each IDREF Name must match the value
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006290of an ID attribute on some element in the XML document; i.e. IDREF
Daniel Veillardb05deb71999-08-10 19:04:08 +00006291values must match the value of some ID attribute.</P
6292><P
6293>[ VC: Entity Name ]
6294Values of type ENTITY must match the Name production, values
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006295of type ENTITIES must match Names; each Entity Name must match the
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006296name of an unparsed entity declared in the DTD. </P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006297><P
6298>[ VC: Name Token ]
6299Values of type NMTOKEN must match the Nmtoken production; values
6300of type NMTOKENS must match Nmtokens.</P
6301><P
Daniel Veillard35925471999-02-25 08:46:07 +00006302></P
6303><DIV
6304CLASS="INFORMALTABLE"
6305><P
6306></P
6307><TABLE
6308BORDER="0"
6309WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006310BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006311CELLSPACING="0"
6312CELLPADDING="4"
6313CLASS="CALSTABLE"
6314><TR
6315><TD
6316WIDTH="20%"
6317ALIGN="RIGHT"
6318VALIGN="TOP"
6319><TT
6320CLASS="PARAMETER"
6321><I
6322>ctxt</I
6323></TT
6324>&nbsp;:</TD
6325><TD
6326WIDTH="80%"
6327ALIGN="LEFT"
6328VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006329> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006330></TR
6331><TR
6332><TD
6333WIDTH="20%"
6334ALIGN="RIGHT"
6335VALIGN="TOP"
6336><TT
6337CLASS="PARAMETER"
6338><I
6339>tree</I
6340></TT
6341>&nbsp;:</TD
6342><TD
6343WIDTH="80%"
6344ALIGN="LEFT"
6345VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006346> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006347></TR
6348><TR
6349><TD
6350WIDTH="20%"
6351ALIGN="RIGHT"
6352VALIGN="TOP"
6353><I
6354CLASS="EMPHASIS"
6355>Returns</I
6356> :</TD
6357><TD
6358WIDTH="80%"
6359ALIGN="LEFT"
6360VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006361>the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006362></TR
6363></TABLE
6364><P
6365></P
6366></DIV
6367></DIV
6368><HR><DIV
6369CLASS="REFSECT2"
6370><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00006371NAME="AEN16521"
Daniel Veillard35925471999-02-25 08:46:07 +00006372></A
6373><H3
6374><A
6375NAME="XMLPARSEATTRIBUTELISTDECL"
6376></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006377>xmlParseAttributeListDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006378><TABLE
6379BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006380BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006381WIDTH="100%"
6382CELLPADDING="6"
6383><TR
6384><TD
6385><PRE
6386CLASS="PROGRAMLISTING"
6387>void xmlParseAttributeListDecl (<A
6388HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6389>xmlParserCtxtPtr</A
6390> ctxt);</PRE
6391></TD
6392></TR
6393></TABLE
6394><P
6395>: parse the Attribute list def for an element</P
6396><P
6397>[52] AttlistDecl ::= '&lt;!ATTLIST' S Name AttDef* S? '&gt;'</P
6398><P
6399>[53] AttDef ::= S Name S AttType S DefaultDecl</P
6400><P
6401></P
6402><DIV
6403CLASS="INFORMALTABLE"
6404><P
6405></P
6406><TABLE
6407BORDER="0"
6408WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006409BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006410CELLSPACING="0"
6411CELLPADDING="4"
6412CLASS="CALSTABLE"
6413><TR
6414><TD
6415WIDTH="20%"
6416ALIGN="RIGHT"
6417VALIGN="TOP"
6418><TT
6419CLASS="PARAMETER"
6420><I
6421>ctxt</I
6422></TT
6423>&nbsp;:</TD
6424><TD
6425WIDTH="80%"
6426ALIGN="LEFT"
6427VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006428> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006429></TR
6430></TABLE
6431><P
6432></P
6433></DIV
6434></DIV
6435><HR><DIV
6436CLASS="REFSECT2"
6437><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00006438NAME="AEN16539"
Daniel Veillard35925471999-02-25 08:46:07 +00006439></A
6440><H3
6441><A
6442NAME="XMLPARSEELEMENTMIXEDCONTENTDECL"
6443></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006444>xmlParseElementMixedContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006445><TABLE
6446BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006447BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006448WIDTH="100%"
6449CELLPADDING="6"
6450><TR
6451><TD
6452><PRE
6453CLASS="PROGRAMLISTING"
6454><A
6455HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
6456>xmlElementContentPtr</A
6457> xmlParseElementMixedContentDecl
6458 (<A
6459HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6460>xmlParserCtxtPtr</A
6461> ctxt);</PRE
6462></TD
6463></TR
6464></TABLE
6465><P
6466>parse the declaration for a Mixed Element content
6467The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
6468><P
6469>[51] Mixed ::= '(' S? '<GTKDOCLINK
6470HREF="PCDATA"
6471>PCDATA</GTKDOCLINK
6472>' (S? '|' S? Name)* S? ')*' |
6473'(' S? '<GTKDOCLINK
6474HREF="PCDATA"
6475>PCDATA</GTKDOCLINK
6476>' S? ')'</P
6477><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006478>[ VC: Proper Group/PE Nesting ] applies to [51] too (see [49])</P
6479><P
6480>[ VC: No Duplicate Types ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006481The same name must not appear more than once in a single
Daniel Veillardb05deb71999-08-10 19:04:08 +00006482mixed-content declaration.</P
6483><P
Daniel Veillard35925471999-02-25 08:46:07 +00006484></P
6485><DIV
6486CLASS="INFORMALTABLE"
6487><P
6488></P
6489><TABLE
6490BORDER="0"
6491WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006492BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006493CELLSPACING="0"
6494CELLPADDING="4"
6495CLASS="CALSTABLE"
6496><TR
6497><TD
6498WIDTH="20%"
6499ALIGN="RIGHT"
6500VALIGN="TOP"
6501><TT
6502CLASS="PARAMETER"
6503><I
6504>ctxt</I
6505></TT
6506>&nbsp;:</TD
6507><TD
6508WIDTH="80%"
6509ALIGN="LEFT"
6510VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006511> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006512></TR
6513><TR
6514><TD
6515WIDTH="20%"
6516ALIGN="RIGHT"
6517VALIGN="TOP"
6518><I
6519CLASS="EMPHASIS"
6520>Returns</I
6521> :</TD
6522><TD
6523WIDTH="80%"
6524ALIGN="LEFT"
6525VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006526> the list of the xmlElementContentPtr describing the element choices</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006527></TR
6528></TABLE
6529><P
6530></P
6531></DIV
6532></DIV
6533><HR><DIV
6534CLASS="REFSECT2"
6535><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00006536NAME="AEN16565"
6537></A
6538><H3
6539><A
6540NAME="XMLPARSEELEMENTCHILDRENCONTENTD"
6541></A
6542>xmlParseElementChildrenContentD ()</H3
6543><TABLE
6544BORDER="0"
6545BGCOLOR="#D6E8FF"
6546WIDTH="100%"
6547CELLPADDING="6"
6548><TR
6549><TD
6550><PRE
6551CLASS="PROGRAMLISTING"
6552><A
6553HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
6554>xmlElementContentPtr</A
6555> xmlParseElementChildrenContentD
6556 (<A
6557HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6558>xmlParserCtxtPtr</A
6559> ctxt);</PRE
6560></TD
6561></TR
6562></TABLE
6563><P
6564></P
6565><DIV
6566CLASS="INFORMALTABLE"
6567><P
6568></P
6569><TABLE
6570BORDER="0"
6571WIDTH="100%"
6572BGCOLOR="#FFD0D0"
6573CELLSPACING="0"
6574CELLPADDING="4"
6575CLASS="CALSTABLE"
6576><TR
6577><TD
6578WIDTH="20%"
6579ALIGN="RIGHT"
6580VALIGN="TOP"
6581><TT
6582CLASS="PARAMETER"
6583><I
6584>ctxt</I
6585></TT
6586>&nbsp;:</TD
6587><TD
6588WIDTH="80%"
6589ALIGN="LEFT"
6590VALIGN="TOP"
6591>&nbsp;</TD
6592></TR
6593><TR
6594><TD
6595WIDTH="20%"
6596ALIGN="RIGHT"
6597VALIGN="TOP"
6598><I
6599CLASS="EMPHASIS"
6600>Returns</I
6601> :</TD
6602><TD
6603WIDTH="80%"
6604ALIGN="LEFT"
6605VALIGN="TOP"
6606>&nbsp;</TD
6607></TR
6608></TABLE
6609><P
6610></P
6611></DIV
6612></DIV
6613><HR><DIV
6614CLASS="REFSECT2"
6615><A
6616NAME="AEN16585"
Daniel Veillard35925471999-02-25 08:46:07 +00006617></A
6618><H3
6619><A
6620NAME="XMLPARSEELEMENTCHILDRENCONTENTDECL"
6621></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006622>xmlParseElementChildrenContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006623><TABLE
6624BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006625BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006626WIDTH="100%"
6627CELLPADDING="6"
6628><TR
6629><TD
6630><PRE
6631CLASS="PROGRAMLISTING"
6632><A
6633HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
6634>xmlElementContentPtr</A
6635> xmlParseElementChildrenContentDecl
6636 (<A
6637HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6638>xmlParserCtxtPtr</A
6639> ctxt);</PRE
6640></TD
6641></TR
6642></TABLE
6643><P
6644>parse the declaration for a Mixed Element content
6645The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
6646><P
6647>[47] children ::= (choice | seq) ('?' | '*' | '+')?</P
6648><P
6649>[48] cp ::= (Name | choice | seq) ('?' | '*' | '+')?</P
6650><P
6651>[49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')'</P
6652><P
6653>[50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'</P
6654><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006655>[ VC: Proper Group/PE Nesting ] applies to [49] and [50]
6656TODO Parameter-entity replacement text must be properly nested
6657with parenthetized groups. That is to say, if either of the
6658opening or closing parentheses in a choice, seq, or Mixed
6659construct is contained in the replacement text for a parameter
6660entity, both must be contained in the same replacement text. For
6661interoperability, if a parameter-entity reference appears in a
6662choice, seq, or Mixed construct, its replacement text should not
6663be empty, and neither the first nor last non-blank character of
6664the replacement text should be a connector (| or ,).</P
6665><P
Daniel Veillard35925471999-02-25 08:46:07 +00006666></P
6667><DIV
6668CLASS="INFORMALTABLE"
6669><P
6670></P
6671><TABLE
6672BORDER="0"
6673WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006674BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006675CELLSPACING="0"
6676CELLPADDING="4"
6677CLASS="CALSTABLE"
6678><TR
6679><TD
6680WIDTH="20%"
6681ALIGN="RIGHT"
6682VALIGN="TOP"
6683><TT
6684CLASS="PARAMETER"
6685><I
6686>ctxt</I
6687></TT
6688>&nbsp;:</TD
6689><TD
6690WIDTH="80%"
6691ALIGN="LEFT"
6692VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006693> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006694></TR
6695><TR
6696><TD
6697WIDTH="20%"
6698ALIGN="RIGHT"
6699VALIGN="TOP"
6700><I
6701CLASS="EMPHASIS"
6702>Returns</I
6703> :</TD
6704><TD
6705WIDTH="80%"
6706ALIGN="LEFT"
6707VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006708> the tree of xmlElementContentPtr describing the element
6709hierarchy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006710></TR
6711></TABLE
6712><P
6713></P
6714></DIV
6715></DIV
6716><HR><DIV
6717CLASS="REFSECT2"
6718><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00006719NAME="AEN16611"
Daniel Veillard35925471999-02-25 08:46:07 +00006720></A
6721><H3
6722><A
6723NAME="XMLPARSEELEMENTCONTENTDECL"
6724></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006725>xmlParseElementContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006726><TABLE
6727BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006728BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006729WIDTH="100%"
6730CELLPADDING="6"
6731><TR
6732><TD
6733><PRE
6734CLASS="PROGRAMLISTING"
6735>int xmlParseElementContentDecl (<A
6736HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6737>xmlParserCtxtPtr</A
6738> ctxt,
6739 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006740HREF="gnome-xml-tree.html#XMLCHAR"
6741>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006742> *name,
6743 <A
6744HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
6745>xmlElementContentPtr</A
6746> *result);</PRE
6747></TD
6748></TR
6749></TABLE
6750><P
6751>parse the declaration for an Element content either Mixed or Children,
6752the cases EMPTY and ANY are handled directly in xmlParseElementDecl</P
6753><P
6754>[46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</P
6755><P
6756></P
6757><DIV
6758CLASS="INFORMALTABLE"
6759><P
6760></P
6761><TABLE
6762BORDER="0"
6763WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006764BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006765CELLSPACING="0"
6766CELLPADDING="4"
6767CLASS="CALSTABLE"
6768><TR
6769><TD
6770WIDTH="20%"
6771ALIGN="RIGHT"
6772VALIGN="TOP"
6773><TT
6774CLASS="PARAMETER"
6775><I
6776>ctxt</I
6777></TT
6778>&nbsp;:</TD
6779><TD
6780WIDTH="80%"
6781ALIGN="LEFT"
6782VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006783> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006784></TR
6785><TR
6786><TD
6787WIDTH="20%"
6788ALIGN="RIGHT"
6789VALIGN="TOP"
6790><TT
6791CLASS="PARAMETER"
6792><I
6793>name</I
6794></TT
6795>&nbsp;:</TD
6796><TD
6797WIDTH="80%"
6798ALIGN="LEFT"
6799VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006800> the name of the element being defined.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006801></TR
6802><TR
6803><TD
6804WIDTH="20%"
6805ALIGN="RIGHT"
6806VALIGN="TOP"
6807><TT
6808CLASS="PARAMETER"
6809><I
6810>result</I
6811></TT
6812>&nbsp;:</TD
6813><TD
6814WIDTH="80%"
6815ALIGN="LEFT"
6816VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006817> the Element Content pointer will be stored here if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006818></TR
6819><TR
6820><TD
6821WIDTH="20%"
6822ALIGN="RIGHT"
6823VALIGN="TOP"
6824><I
6825CLASS="EMPHASIS"
6826>Returns</I
6827> :</TD
6828><TD
6829WIDTH="80%"
6830ALIGN="LEFT"
6831VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006832> the type of element content XML_ELEMENT_TYPE_xxx</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006833></TR
6834></TABLE
6835><P
6836></P
6837></DIV
6838></DIV
6839><HR><DIV
6840CLASS="REFSECT2"
6841><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00006842NAME="AEN16642"
Daniel Veillard35925471999-02-25 08:46:07 +00006843></A
6844><H3
6845><A
6846NAME="XMLPARSEELEMENTDECL"
6847></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006848>xmlParseElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006849><TABLE
6850BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006851BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006852WIDTH="100%"
6853CELLPADDING="6"
6854><TR
6855><TD
6856><PRE
6857CLASS="PROGRAMLISTING"
6858>int xmlParseElementDecl (<A
6859HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6860>xmlParserCtxtPtr</A
6861> ctxt);</PRE
6862></TD
6863></TR
6864></TABLE
6865><P
6866>parse an Element declaration.</P
6867><P
6868>[45] elementdecl ::= '&lt;!ELEMENT' S Name S contentspec S? '&gt;'</P
6869><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006870>[ VC: Unique Element Type Declaration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006871No element type may be declared more than once</P
Daniel Veillard35925471999-02-25 08:46:07 +00006872><P
6873></P
6874><DIV
6875CLASS="INFORMALTABLE"
6876><P
6877></P
6878><TABLE
6879BORDER="0"
6880WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006881BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006882CELLSPACING="0"
6883CELLPADDING="4"
6884CLASS="CALSTABLE"
6885><TR
6886><TD
6887WIDTH="20%"
6888ALIGN="RIGHT"
6889VALIGN="TOP"
6890><TT
6891CLASS="PARAMETER"
6892><I
6893>ctxt</I
6894></TT
6895>&nbsp;:</TD
6896><TD
6897WIDTH="80%"
6898ALIGN="LEFT"
6899VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006900> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006901></TR
6902><TR
6903><TD
6904WIDTH="20%"
6905ALIGN="RIGHT"
6906VALIGN="TOP"
6907><I
6908CLASS="EMPHASIS"
6909>Returns</I
6910> :</TD
6911><TD
6912WIDTH="80%"
6913ALIGN="LEFT"
6914VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006915>the type of the element, or -1 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006916></TR
6917></TABLE
6918><P
6919></P
6920></DIV
6921></DIV
6922><HR><DIV
6923CLASS="REFSECT2"
6924><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00006925NAME="AEN16664"
Daniel Veillard35925471999-02-25 08:46:07 +00006926></A
6927><H3
6928><A
6929NAME="XMLPARSEMARKUPDECL"
6930></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006931>xmlParseMarkupDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006932><TABLE
6933BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006934BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006935WIDTH="100%"
6936CELLPADDING="6"
6937><TR
6938><TD
6939><PRE
6940CLASS="PROGRAMLISTING"
6941>void xmlParseMarkupDecl (<A
6942HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6943>xmlParserCtxtPtr</A
6944> ctxt);</PRE
6945></TD
6946></TR
6947></TABLE
6948><P
6949>parse Markup declarations</P
6950><P
6951>[29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
6952NotationDecl | PI | Comment</P
6953><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006954>[ VC: Proper Declaration/PE Nesting ]
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006955Parameter-entity replacement text must be properly nested with
Daniel Veillardb05deb71999-08-10 19:04:08 +00006956markup declarations. That is to say, if either the first character
6957or the last character of a markup declaration (markupdecl above) is
6958contained in the replacement text for a parameter-entity reference,
6959both must be contained in the same replacement text.</P
6960><P
6961>[ WFC: PEs in Internal Subset ]
6962In the internal DTD subset, parameter-entity references can occur
6963only where markup declarations can occur, not within markup declarations.
6964(This does not apply to references that occur in external parameter
6965entities or to the external subset.)</P
Daniel Veillard35925471999-02-25 08:46:07 +00006966><P
6967></P
6968><DIV
6969CLASS="INFORMALTABLE"
6970><P
6971></P
6972><TABLE
6973BORDER="0"
6974WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006975BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006976CELLSPACING="0"
6977CELLPADDING="4"
6978CLASS="CALSTABLE"
6979><TR
6980><TD
6981WIDTH="20%"
6982ALIGN="RIGHT"
6983VALIGN="TOP"
6984><TT
6985CLASS="PARAMETER"
6986><I
6987>ctxt</I
6988></TT
6989>&nbsp;:</TD
6990><TD
6991WIDTH="80%"
6992ALIGN="LEFT"
6993VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006994> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006995></TR
6996></TABLE
6997><P
6998></P
6999></DIV
7000></DIV
7001><HR><DIV
7002CLASS="REFSECT2"
7003><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007004NAME="AEN16683"
Daniel Veillard35925471999-02-25 08:46:07 +00007005></A
7006><H3
7007><A
7008NAME="XMLPARSECHARREF"
7009></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007010>xmlParseCharRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007011><TABLE
7012BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007013BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007014WIDTH="100%"
7015CELLPADDING="6"
7016><TR
7017><TD
7018><PRE
7019CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007020>int xmlParseCharRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007021HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7022>xmlParserCtxtPtr</A
7023> ctxt);</PRE
7024></TD
7025></TR
7026></TABLE
7027><P
7028>parse Reference declarations</P
7029><P
7030>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
7031'&amp;<GTKDOCLINK
7032HREF="X"
7033>x</GTKDOCLINK
7034>' [0-9a-fA-F]+ ';'</P
7035><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007036>[ WFC: Legal Character ]
7037Characters referred to using character references must match the
7038production for Char.</P
7039><P
Daniel Veillard35925471999-02-25 08:46:07 +00007040></P
7041><DIV
7042CLASS="INFORMALTABLE"
7043><P
7044></P
7045><TABLE
7046BORDER="0"
7047WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007048BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007049CELLSPACING="0"
7050CELLPADDING="4"
7051CLASS="CALSTABLE"
7052><TR
7053><TD
7054WIDTH="20%"
7055ALIGN="RIGHT"
7056VALIGN="TOP"
7057><TT
7058CLASS="PARAMETER"
7059><I
7060>ctxt</I
7061></TT
7062>&nbsp;:</TD
7063><TD
7064WIDTH="80%"
7065ALIGN="LEFT"
7066VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007067> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007068></TR
7069><TR
7070><TD
7071WIDTH="20%"
7072ALIGN="RIGHT"
7073VALIGN="TOP"
7074><I
7075CLASS="EMPHASIS"
7076>Returns</I
7077> :</TD
7078><TD
7079WIDTH="80%"
7080ALIGN="LEFT"
7081VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007082>the value parsed (as an int), 0 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007083></TR
7084></TABLE
7085><P
7086></P
7087></DIV
7088></DIV
7089><HR><DIV
7090CLASS="REFSECT2"
7091><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007092NAME="AEN16706"
Daniel Veillard35925471999-02-25 08:46:07 +00007093></A
7094><H3
7095><A
7096NAME="XMLPARSEENTITYREF"
7097></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007098>xmlParseEntityRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007099><TABLE
7100BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007101BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007102WIDTH="100%"
7103CELLPADDING="6"
7104><TR
7105><TD
7106><PRE
7107CLASS="PROGRAMLISTING"
7108><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007109HREF="gnome-xml-entities.html#XMLENTITYPTR"
7110>xmlEntityPtr</A
7111> xmlParseEntityRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007112HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7113>xmlParserCtxtPtr</A
7114> ctxt);</PRE
7115></TD
7116></TR
7117></TABLE
7118><P
7119>parse ENTITY references declarations</P
7120><P
7121>[68] EntityRef ::= '&amp;' Name ';'</P
7122><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007123>[ WFC: Entity Declared ]
7124In a document without any DTD, a document with only an internal DTD
7125subset which contains no parameter entity references, or a document
7126with "standalone='yes'", the Name given in the entity reference
7127must match that in an entity declaration, except that well-formed
7128documents need not declare any of the following entities: amp, lt,
7129gt, apos, quot. The declaration of a parameter entity must precede
7130any reference to it. Similarly, the declaration of a general entity
7131must precede any reference to it which appears in a default value in an
7132attribute-list declaration. Note that if entities are declared in the
7133external subset or in external parameter entities, a non-validating
7134processor is not obligated to read and process their declarations;
7135for such documents, the rule that an entity must be declared is a
7136well-formedness constraint only if standalone='yes'.</P
7137><P
7138>[ WFC: Parsed Entity ]
7139An entity reference must not contain the name of an unparsed entity</P
7140><P
Daniel Veillard35925471999-02-25 08:46:07 +00007141></P
7142><DIV
7143CLASS="INFORMALTABLE"
7144><P
7145></P
7146><TABLE
7147BORDER="0"
7148WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007149BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007150CELLSPACING="0"
7151CELLPADDING="4"
7152CLASS="CALSTABLE"
7153><TR
7154><TD
7155WIDTH="20%"
7156ALIGN="RIGHT"
7157VALIGN="TOP"
7158><TT
7159CLASS="PARAMETER"
7160><I
7161>ctxt</I
7162></TT
7163>&nbsp;:</TD
7164><TD
7165WIDTH="80%"
7166ALIGN="LEFT"
7167VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007168> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007169></TR
7170><TR
7171><TD
7172WIDTH="20%"
7173ALIGN="RIGHT"
7174VALIGN="TOP"
7175><I
7176CLASS="EMPHASIS"
7177>Returns</I
7178> :</TD
7179><TD
7180WIDTH="80%"
7181ALIGN="LEFT"
7182VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007183>the xmlEntityPtr if found, or NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007184></TR
7185></TABLE
7186><P
7187></P
7188></DIV
7189></DIV
7190><HR><DIV
7191CLASS="REFSECT2"
7192><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007193NAME="AEN16730"
Daniel Veillard35925471999-02-25 08:46:07 +00007194></A
7195><H3
7196><A
7197NAME="XMLPARSEREFERENCE"
7198></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007199>xmlParseReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007200><TABLE
7201BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007202BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007203WIDTH="100%"
7204CELLPADDING="6"
7205><TR
7206><TD
7207><PRE
7208CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007209>void xmlParseReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007210HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7211>xmlParserCtxtPtr</A
7212> ctxt);</PRE
7213></TD
7214></TR
7215></TABLE
7216><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00007217>parse and handle entity references in content, depending on the SAX
7218interface, this may end-up in a call to <GTKDOCLINK
7219HREF="CHARACTER"
7220>character</GTKDOCLINK
7221>() if this is a
Daniel Veillard294cbca1999-12-03 13:19:09 +00007222CharRef, a predefined entity, if there is no <A
7223HREF="gnome-xml-sax.html#REFERENCE"
7224>reference</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007225>() callback.
7226or if the parser was asked to switch to that mode.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007227><P
7228>[67] Reference ::= EntityRef | CharRef</P
7229><P
7230></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
Daniel Veillard35925471999-02-25 08:46:07 +00007259></TABLE
7260><P
7261></P
7262></DIV
7263></DIV
7264><HR><DIV
7265CLASS="REFSECT2"
7266><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007267NAME="AEN16749"
Daniel Veillard35925471999-02-25 08:46:07 +00007268></A
7269><H3
7270><A
7271NAME="XMLPARSEPEREFERENCE"
7272></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007273>xmlParsePEReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007274><TABLE
7275BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007276BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007277WIDTH="100%"
7278CELLPADDING="6"
7279><TR
7280><TD
7281><PRE
7282CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007283>void xmlParsePEReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007284HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7285>xmlParserCtxtPtr</A
7286> ctxt);</PRE
7287></TD
7288></TR
7289></TABLE
7290><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00007291>parse PEReference declarations
7292The entity content is handled directly by pushing it's content as
7293a new input stream.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007294><P
7295>[69] PEReference ::= '%' Name ';'</P
7296><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007297>[ WFC: No Recursion ]
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007298A parsed entity must not contain a recursive
Daniel Veillardb05deb71999-08-10 19:04:08 +00007299reference to itself, either directly or indirectly. </P
7300><P
7301>[ WFC: Entity Declared ]
7302In a document without any DTD, a document with only an internal DTD
7303subset which contains no parameter entity references, or a document
7304with "standalone='yes'", ... ... The declaration of a parameter
7305entity must precede any reference to it...</P
7306><P
7307>[ VC: Entity Declared ]
7308In a document with an external subset or external parameter entities
7309with "standalone='no'", ... ... The declaration of a parameter entity
7310must precede any reference to it...</P
7311><P
7312>[ WFC: In DTD ]
7313Parameter-entity references may only appear in the DTD.
7314NOTE: misleading but this is handled.</P
7315><P
Daniel Veillard35925471999-02-25 08:46:07 +00007316></P
7317><DIV
7318CLASS="INFORMALTABLE"
7319><P
7320></P
7321><TABLE
7322BORDER="0"
7323WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007324BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007325CELLSPACING="0"
7326CELLPADDING="4"
7327CLASS="CALSTABLE"
7328><TR
7329><TD
7330WIDTH="20%"
7331ALIGN="RIGHT"
7332VALIGN="TOP"
7333><TT
7334CLASS="PARAMETER"
7335><I
7336>ctxt</I
7337></TT
7338>&nbsp;:</TD
7339><TD
7340WIDTH="80%"
7341ALIGN="LEFT"
7342VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007343> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007344></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007345></TABLE
7346><P
7347></P
7348></DIV
7349></DIV
7350><HR><DIV
7351CLASS="REFSECT2"
7352><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007353NAME="AEN16770"
Daniel Veillard35925471999-02-25 08:46:07 +00007354></A
7355><H3
7356><A
7357NAME="XMLPARSEDOCTYPEDECL"
7358></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007359>xmlParseDocTypeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007360><TABLE
7361BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007362BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007363WIDTH="100%"
7364CELLPADDING="6"
7365><TR
7366><TD
7367><PRE
7368CLASS="PROGRAMLISTING"
7369>void xmlParseDocTypeDecl (<A
7370HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7371>xmlParserCtxtPtr</A
7372> ctxt);</PRE
7373></TD
7374></TR
7375></TABLE
7376><P
7377>parse a DOCTYPE declaration</P
7378><P
7379>[28] doctypedecl ::= '&lt;!DOCTYPE' S Name (S ExternalID)? S?
7380('[' (markupdecl | PEReference | S)* ']' S?)? '&gt;'</P
7381><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007382>[ VC: Root Element Type ]
7383The Name in the document type declaration must match the element
7384type of the root element.</P
7385><P
Daniel Veillard35925471999-02-25 08:46:07 +00007386></P
7387><DIV
7388CLASS="INFORMALTABLE"
7389><P
7390></P
7391><TABLE
7392BORDER="0"
7393WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007394BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007395CELLSPACING="0"
7396CELLPADDING="4"
7397CLASS="CALSTABLE"
7398><TR
7399><TD
7400WIDTH="20%"
7401ALIGN="RIGHT"
7402VALIGN="TOP"
7403><TT
7404CLASS="PARAMETER"
7405><I
7406>ctxt</I
7407></TT
7408>&nbsp;:</TD
7409><TD
7410WIDTH="80%"
7411ALIGN="LEFT"
7412VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007413> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007414></TR
7415></TABLE
7416><P
7417></P
7418></DIV
7419></DIV
7420><HR><DIV
7421CLASS="REFSECT2"
7422><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007423NAME="AEN16788"
Daniel Veillard35925471999-02-25 08:46:07 +00007424></A
7425><H3
7426><A
7427NAME="XMLPARSEATTRIBUTE"
7428></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007429>xmlParseAttribute ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007430><TABLE
7431BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007432BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007433WIDTH="100%"
7434CELLPADDING="6"
7435><TR
7436><TD
7437><PRE
7438CLASS="PROGRAMLISTING"
7439><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007440HREF="gnome-xml-tree.html#XMLCHAR"
7441>xmlChar</A
7442>* xmlParseAttribute (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007443HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7444>xmlParserCtxtPtr</A
7445> ctxt,
7446 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007447HREF="gnome-xml-tree.html#XMLCHAR"
7448>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00007449> **value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00007450></TD
7451></TR
7452></TABLE
7453><P
7454>parse an attribute</P
7455><P
7456>[41] Attribute ::= Name Eq AttValue</P
7457><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007458>[ WFC: No External Entity References ]
7459Attribute values cannot contain direct or indirect entity references
7460to external entities.</P
7461><P
7462>[ WFC: No &lt; in Attribute Values ]
7463The replacement text of any entity referred to directly or indirectly in
7464an attribute value (other than "&amp;lt;") must not contain a &lt;. </P
7465><P
7466>[ VC: Attribute Value Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007467The attribute must have been declared; the value must be of the type
Daniel Veillardb05deb71999-08-10 19:04:08 +00007468declared for it.</P
7469><P
Daniel Veillard35925471999-02-25 08:46:07 +00007470>[25] Eq ::= S? '=' S?</P
7471><P
7472>With namespace:</P
7473><P
7474>[NS 11] Attribute ::= QName Eq AttValue</P
7475><P
7476>Also the case QName == xmlns:??? is handled independently as a namespace
7477definition.</P
7478><P
7479></P
7480><DIV
7481CLASS="INFORMALTABLE"
7482><P
7483></P
7484><TABLE
7485BORDER="0"
7486WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007487BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007488CELLSPACING="0"
7489CELLPADDING="4"
7490CLASS="CALSTABLE"
7491><TR
7492><TD
7493WIDTH="20%"
7494ALIGN="RIGHT"
7495VALIGN="TOP"
7496><TT
7497CLASS="PARAMETER"
7498><I
7499>ctxt</I
7500></TT
7501>&nbsp;:</TD
7502><TD
7503WIDTH="80%"
7504ALIGN="LEFT"
7505VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007506> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007507></TR
7508><TR
7509><TD
7510WIDTH="20%"
7511ALIGN="RIGHT"
7512VALIGN="TOP"
7513><TT
7514CLASS="PARAMETER"
7515><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00007516>value</I
Daniel Veillard35925471999-02-25 08:46:07 +00007517></TT
7518>&nbsp;:</TD
7519><TD
7520WIDTH="80%"
7521ALIGN="LEFT"
7522VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007523> a xmlChar ** used to store the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007524></TR
7525><TR
7526><TD
7527WIDTH="20%"
7528ALIGN="RIGHT"
7529VALIGN="TOP"
7530><I
7531CLASS="EMPHASIS"
7532>Returns</I
7533> :</TD
7534><TD
7535WIDTH="80%"
7536ALIGN="LEFT"
7537VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007538>the attribute name, and the value in *value.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007539></TR
7540></TABLE
7541><P
7542></P
7543></DIV
7544></DIV
7545><HR><DIV
7546CLASS="REFSECT2"
7547><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007548NAME="AEN16822"
Daniel Veillard35925471999-02-25 08:46:07 +00007549></A
7550><H3
7551><A
7552NAME="XMLPARSESTARTTAG"
7553></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007554>xmlParseStartTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007555><TABLE
7556BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007557BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007558WIDTH="100%"
7559CELLPADDING="6"
7560><TR
7561><TD
7562><PRE
7563CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00007564><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007565HREF="gnome-xml-tree.html#XMLCHAR"
7566>xmlChar</A
7567>* xmlParseStartTag (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007568HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7569>xmlParserCtxtPtr</A
7570> ctxt);</PRE
7571></TD
7572></TR
7573></TABLE
7574><P
7575>parse a start of tag either for rule element or
7576EmptyElement. In both case we don't parse the tag closing chars.</P
7577><P
7578>[40] STag ::= '&lt;' Name (S Attribute)* S? '&gt;'</P
7579><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007580>[ WFC: Unique Att Spec ]
7581No attribute name may appear more than once in the same start-tag or
7582empty-element tag. </P
7583><P
Daniel Veillard35925471999-02-25 08:46:07 +00007584>[44] EmptyElemTag ::= '&lt;' Name (S Attribute)* S? '/&gt;'</P
7585><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007586>[ WFC: Unique Att Spec ]
7587No attribute name may appear more than once in the same start-tag or
7588empty-element tag. </P
7589><P
Daniel Veillard35925471999-02-25 08:46:07 +00007590>With namespace:</P
7591><P
7592>[NS 8] STag ::= '&lt;' QName (S Attribute)* S? '&gt;'</P
7593><P
7594>[NS 10] EmptyElement ::= '&lt;' QName (S Attribute)* S? '/&gt;'</P
7595><P
7596></P
7597><DIV
7598CLASS="INFORMALTABLE"
7599><P
7600></P
7601><TABLE
7602BORDER="0"
7603WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007604BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007605CELLSPACING="0"
7606CELLPADDING="4"
7607CLASS="CALSTABLE"
7608><TR
7609><TD
7610WIDTH="20%"
7611ALIGN="RIGHT"
7612VALIGN="TOP"
7613><TT
7614CLASS="PARAMETER"
7615><I
7616>ctxt</I
7617></TT
7618>&nbsp;:</TD
7619><TD
7620WIDTH="80%"
7621ALIGN="LEFT"
7622VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007623> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007624></TR
Daniel Veillard14fff061999-06-22 21:49:07 +00007625><TR
7626><TD
7627WIDTH="20%"
7628ALIGN="RIGHT"
7629VALIGN="TOP"
7630><I
7631CLASS="EMPHASIS"
7632>Returns</I
7633> :</TD
7634><TD
7635WIDTH="80%"
7636ALIGN="LEFT"
7637VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007638>the element name parsed</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007639></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007640></TABLE
7641><P
7642></P
7643></DIV
7644></DIV
7645><HR><DIV
7646CLASS="REFSECT2"
7647><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007648NAME="AEN16850"
Daniel Veillard35925471999-02-25 08:46:07 +00007649></A
7650><H3
7651><A
7652NAME="XMLPARSEENDTAG"
7653></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007654>xmlParseEndTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007655><TABLE
7656BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007657BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007658WIDTH="100%"
7659CELLPADDING="6"
7660><TR
7661><TD
7662><PRE
7663CLASS="PROGRAMLISTING"
7664>void xmlParseEndTag (<A
7665HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7666>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +00007667> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00007668></TD
7669></TR
7670></TABLE
7671><P
7672>parse an end of tag</P
7673><P
7674>[42] ETag ::= '&lt;/' Name S? '&gt;'</P
7675><P
7676>With namespace</P
7677><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00007678>[NS 9] ETag ::= '&lt;/' QName S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00007679><P
7680></P
7681><DIV
7682CLASS="INFORMALTABLE"
7683><P
7684></P
7685><TABLE
7686BORDER="0"
7687WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007688BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007689CELLSPACING="0"
7690CELLPADDING="4"
7691CLASS="CALSTABLE"
7692><TR
7693><TD
7694WIDTH="20%"
7695ALIGN="RIGHT"
7696VALIGN="TOP"
7697><TT
7698CLASS="PARAMETER"
7699><I
7700>ctxt</I
7701></TT
7702>&nbsp;:</TD
7703><TD
7704WIDTH="80%"
7705ALIGN="LEFT"
7706VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007707> an XML parser context</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007708></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007709></TABLE
7710><P
7711></P
7712></DIV
7713></DIV
7714><HR><DIV
7715CLASS="REFSECT2"
7716><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007717NAME="AEN16869"
Daniel Veillard35925471999-02-25 08:46:07 +00007718></A
7719><H3
7720><A
7721NAME="XMLPARSECDSECT"
7722></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007723>xmlParseCDSect ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007724><TABLE
7725BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007726BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007727WIDTH="100%"
7728CELLPADDING="6"
7729><TR
7730><TD
7731><PRE
7732CLASS="PROGRAMLISTING"
7733>void xmlParseCDSect (<A
7734HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7735>xmlParserCtxtPtr</A
7736> ctxt);</PRE
7737></TD
7738></TR
7739></TABLE
7740><P
7741>Parse escaped pure raw content.</P
7742><P
7743>[18] CDSect ::= CDStart CData CDEnd</P
7744><P
7745>[19] CDStart ::= '&lt;![CDATA['</P
7746><P
7747>[20] Data ::= (Char* - (Char* ']]&gt;' Char*))</P
7748><P
7749>[21] CDEnd ::= ']]&gt;'</P
7750><P
7751></P
7752><DIV
7753CLASS="INFORMALTABLE"
7754><P
7755></P
7756><TABLE
7757BORDER="0"
7758WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007759BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007760CELLSPACING="0"
7761CELLPADDING="4"
7762CLASS="CALSTABLE"
7763><TR
7764><TD
7765WIDTH="20%"
7766ALIGN="RIGHT"
7767VALIGN="TOP"
7768><TT
7769CLASS="PARAMETER"
7770><I
7771>ctxt</I
7772></TT
7773>&nbsp;:</TD
7774><TD
7775WIDTH="80%"
7776ALIGN="LEFT"
7777VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007778> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007779></TR
7780></TABLE
7781><P
7782></P
7783></DIV
7784></DIV
7785><HR><DIV
7786CLASS="REFSECT2"
7787><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007788NAME="AEN16889"
Daniel Veillard35925471999-02-25 08:46:07 +00007789></A
7790><H3
7791><A
7792NAME="XMLPARSECONTENT"
7793></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007794>xmlParseContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007795><TABLE
7796BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007797BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007798WIDTH="100%"
7799CELLPADDING="6"
7800><TR
7801><TD
7802><PRE
7803CLASS="PROGRAMLISTING"
7804>void xmlParseContent (<A
7805HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7806>xmlParserCtxtPtr</A
7807> ctxt);</PRE
7808></TD
7809></TR
7810></TABLE
7811><P
7812>Parse a content:</P
7813><P
7814>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
7815><P
7816></P
7817><DIV
7818CLASS="INFORMALTABLE"
7819><P
7820></P
7821><TABLE
7822BORDER="0"
7823WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007824BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007825CELLSPACING="0"
7826CELLPADDING="4"
7827CLASS="CALSTABLE"
7828><TR
7829><TD
7830WIDTH="20%"
7831ALIGN="RIGHT"
7832VALIGN="TOP"
7833><TT
7834CLASS="PARAMETER"
7835><I
7836>ctxt</I
7837></TT
7838>&nbsp;:</TD
7839><TD
7840WIDTH="80%"
7841ALIGN="LEFT"
7842VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007843> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007844></TR
7845></TABLE
7846><P
7847></P
7848></DIV
7849></DIV
7850><HR><DIV
7851CLASS="REFSECT2"
7852><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007853NAME="AEN16906"
Daniel Veillard35925471999-02-25 08:46:07 +00007854></A
7855><H3
7856><A
7857NAME="XMLPARSEELEMENT"
7858></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007859>xmlParseElement ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007860><TABLE
7861BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007862BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007863WIDTH="100%"
7864CELLPADDING="6"
7865><TR
7866><TD
7867><PRE
7868CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00007869>void xmlParseElement (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007870HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7871>xmlParserCtxtPtr</A
7872> ctxt);</PRE
7873></TD
7874></TR
7875></TABLE
7876><P
7877>parse an XML element, this is highly recursive</P
7878><P
7879>[39] element ::= EmptyElemTag | STag content ETag</P
7880><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007881>[ WFC: Element Type Match ]
7882The Name in an element's end-tag must match the element type in the
7883start-tag. </P
7884><P
7885>[ VC: Element Valid ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007886An element is valid if there is a declaration matching elementdecl
Daniel Veillardb05deb71999-08-10 19:04:08 +00007887where the Name matches the element type and one of the following holds:
7888- The declaration matches EMPTY and the element has no content.
7889- The declaration matches children and the sequence of child elements
7890belongs to the language generated by the regular expression in the
7891content model, with optional white space (characters matching the
7892nonterminal S) between each pair of child elements.
7893- The declaration matches Mixed and the content consists of character
7894data and child elements whose types match names in the content model.
7895- The declaration matches ANY, and the types of any child elements have
7896been declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007897><P
7898></P
7899><DIV
7900CLASS="INFORMALTABLE"
7901><P
7902></P
7903><TABLE
7904BORDER="0"
7905WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007906BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007907CELLSPACING="0"
7908CELLPADDING="4"
7909CLASS="CALSTABLE"
7910><TR
7911><TD
7912WIDTH="20%"
7913ALIGN="RIGHT"
7914VALIGN="TOP"
7915><TT
7916CLASS="PARAMETER"
7917><I
7918>ctxt</I
7919></TT
7920>&nbsp;:</TD
7921><TD
7922WIDTH="80%"
7923ALIGN="LEFT"
7924VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007925> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007926></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007927></TABLE
7928><P
7929></P
7930></DIV
7931></DIV
7932><HR><DIV
7933CLASS="REFSECT2"
7934><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00007935NAME="AEN16925"
Daniel Veillard35925471999-02-25 08:46:07 +00007936></A
7937><H3
7938><A
7939NAME="XMLPARSEVERSIONNUM"
7940></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007941>xmlParseVersionNum ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007942><TABLE
7943BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007944BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007945WIDTH="100%"
7946CELLPADDING="6"
7947><TR
7948><TD
7949><PRE
7950CLASS="PROGRAMLISTING"
7951><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007952HREF="gnome-xml-tree.html#XMLCHAR"
7953>xmlChar</A
7954>* xmlParseVersionNum (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007955HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7956>xmlParserCtxtPtr</A
7957> ctxt);</PRE
7958></TD
7959></TR
7960></TABLE
7961><P
7962>parse the XML version value.</P
7963><P
7964>[26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</P
7965><P
7966></P
7967><DIV
7968CLASS="INFORMALTABLE"
7969><P
7970></P
7971><TABLE
7972BORDER="0"
7973WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007974BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007975CELLSPACING="0"
7976CELLPADDING="4"
7977CLASS="CALSTABLE"
7978><TR
7979><TD
7980WIDTH="20%"
7981ALIGN="RIGHT"
7982VALIGN="TOP"
7983><TT
7984CLASS="PARAMETER"
7985><I
7986>ctxt</I
7987></TT
7988>&nbsp;:</TD
7989><TD
7990WIDTH="80%"
7991ALIGN="LEFT"
7992VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007993> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007994></TR
7995><TR
7996><TD
7997WIDTH="20%"
7998ALIGN="RIGHT"
7999VALIGN="TOP"
8000><I
8001CLASS="EMPHASIS"
8002>Returns</I
8003> :</TD
8004><TD
8005WIDTH="80%"
8006ALIGN="LEFT"
8007VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008008>the string giving the XML version number, or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008009></TR
8010></TABLE
8011><P
8012></P
8013></DIV
8014></DIV
8015><HR><DIV
8016CLASS="REFSECT2"
8017><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00008018NAME="AEN16947"
Daniel Veillard35925471999-02-25 08:46:07 +00008019></A
8020><H3
8021><A
8022NAME="XMLPARSEVERSIONINFO"
8023></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008024>xmlParseVersionInfo ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008025><TABLE
8026BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008027BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008028WIDTH="100%"
8029CELLPADDING="6"
8030><TR
8031><TD
8032><PRE
8033CLASS="PROGRAMLISTING"
8034><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008035HREF="gnome-xml-tree.html#XMLCHAR"
8036>xmlChar</A
8037>* xmlParseVersionInfo (<A
Daniel Veillard35925471999-02-25 08:46:07 +00008038HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8039>xmlParserCtxtPtr</A
8040> ctxt);</PRE
8041></TD
8042></TR
8043></TABLE
8044><P
8045>parse the XML version.</P
8046><P
8047>[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")</P
8048><P
8049>[25] Eq ::= S? '=' S?</P
8050><P
8051></P
8052><DIV
8053CLASS="INFORMALTABLE"
8054><P
8055></P
8056><TABLE
8057BORDER="0"
8058WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008059BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008060CELLSPACING="0"
8061CELLPADDING="4"
8062CLASS="CALSTABLE"
8063><TR
8064><TD
8065WIDTH="20%"
8066ALIGN="RIGHT"
8067VALIGN="TOP"
8068><TT
8069CLASS="PARAMETER"
8070><I
8071>ctxt</I
8072></TT
8073>&nbsp;:</TD
8074><TD
8075WIDTH="80%"
8076ALIGN="LEFT"
8077VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008078> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008079></TR
8080><TR
8081><TD
8082WIDTH="20%"
8083ALIGN="RIGHT"
8084VALIGN="TOP"
8085><I
8086CLASS="EMPHASIS"
8087>Returns</I
8088> :</TD
8089><TD
8090WIDTH="80%"
8091ALIGN="LEFT"
8092VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008093>the version string, e.g. "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008094></TR
8095></TABLE
8096><P
8097></P
8098></DIV
8099></DIV
8100><HR><DIV
8101CLASS="REFSECT2"
8102><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00008103NAME="AEN16970"
Daniel Veillard35925471999-02-25 08:46:07 +00008104></A
8105><H3
8106><A
8107NAME="XMLPARSEENCNAME"
8108></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008109>xmlParseEncName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008110><TABLE
8111BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008112BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008113WIDTH="100%"
8114CELLPADDING="6"
8115><TR
8116><TD
8117><PRE
8118CLASS="PROGRAMLISTING"
8119><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008120HREF="gnome-xml-tree.html#XMLCHAR"
8121>xmlChar</A
8122>* xmlParseEncName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00008123HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8124>xmlParserCtxtPtr</A
8125> ctxt);</PRE
8126></TD
8127></TR
8128></TABLE
8129><P
8130>parse the XML encoding name</P
8131><P
8132>[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</P
8133><P
8134></P
8135><DIV
8136CLASS="INFORMALTABLE"
8137><P
8138></P
8139><TABLE
8140BORDER="0"
8141WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008142BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008143CELLSPACING="0"
8144CELLPADDING="4"
8145CLASS="CALSTABLE"
8146><TR
8147><TD
8148WIDTH="20%"
8149ALIGN="RIGHT"
8150VALIGN="TOP"
8151><TT
8152CLASS="PARAMETER"
8153><I
8154>ctxt</I
8155></TT
8156>&nbsp;:</TD
8157><TD
8158WIDTH="80%"
8159ALIGN="LEFT"
8160VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008161> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008162></TR
8163><TR
8164><TD
8165WIDTH="20%"
8166ALIGN="RIGHT"
8167VALIGN="TOP"
8168><I
8169CLASS="EMPHASIS"
8170>Returns</I
8171> :</TD
8172><TD
8173WIDTH="80%"
8174ALIGN="LEFT"
8175VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008176>the encoding name value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008177></TR
8178></TABLE
8179><P
8180></P
8181></DIV
8182></DIV
8183><HR><DIV
8184CLASS="REFSECT2"
8185><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00008186NAME="AEN16992"
Daniel Veillard35925471999-02-25 08:46:07 +00008187></A
8188><H3
8189><A
8190NAME="XMLPARSEENCODINGDECL"
8191></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008192>xmlParseEncodingDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008193><TABLE
8194BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008195BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008196WIDTH="100%"
8197CELLPADDING="6"
8198><TR
8199><TD
8200><PRE
8201CLASS="PROGRAMLISTING"
8202><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008203HREF="gnome-xml-tree.html#XMLCHAR"
8204>xmlChar</A
8205>* xmlParseEncodingDecl (<A
Daniel Veillard35925471999-02-25 08:46:07 +00008206HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8207>xmlParserCtxtPtr</A
8208> ctxt);</PRE
8209></TD
8210></TR
8211></TABLE
8212><P
8213>parse the XML encoding declaration</P
8214><P
8215>[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")</P
8216><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008217>this setups the conversion filters.</P
Daniel Veillard35925471999-02-25 08:46:07 +00008218><P
8219></P
8220><DIV
8221CLASS="INFORMALTABLE"
8222><P
8223></P
8224><TABLE
8225BORDER="0"
8226WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008227BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008228CELLSPACING="0"
8229CELLPADDING="4"
8230CLASS="CALSTABLE"
8231><TR
8232><TD
8233WIDTH="20%"
8234ALIGN="RIGHT"
8235VALIGN="TOP"
8236><TT
8237CLASS="PARAMETER"
8238><I
8239>ctxt</I
8240></TT
8241>&nbsp;:</TD
8242><TD
8243WIDTH="80%"
8244ALIGN="LEFT"
8245VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008246> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008247></TR
8248><TR
8249><TD
8250WIDTH="20%"
8251ALIGN="RIGHT"
8252VALIGN="TOP"
8253><I
8254CLASS="EMPHASIS"
8255>Returns</I
8256> :</TD
8257><TD
8258WIDTH="80%"
8259ALIGN="LEFT"
8260VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008261>the encoding value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008262></TR
8263></TABLE
8264><P
8265></P
8266></DIV
8267></DIV
8268><HR><DIV
8269CLASS="REFSECT2"
8270><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00008271NAME="AEN17015"
Daniel Veillard35925471999-02-25 08:46:07 +00008272></A
8273><H3
8274><A
8275NAME="XMLPARSESDDECL"
8276></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008277>xmlParseSDDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008278><TABLE
8279BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008280BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008281WIDTH="100%"
8282CELLPADDING="6"
8283><TR
8284><TD
8285><PRE
8286CLASS="PROGRAMLISTING"
8287>int xmlParseSDDecl (<A
8288HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8289>xmlParserCtxtPtr</A
8290> ctxt);</PRE
8291></TD
8292></TR
8293></TABLE
8294><P
8295>parse the XML standalone declaration</P
8296><P
8297>[32] SDDecl ::= S 'standalone' Eq
Daniel Veillardb05deb71999-08-10 19:04:08 +00008298(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"')) </P
8299><P
8300>[ VC: Standalone Document Declaration ]
8301TODO The standalone document declaration must have the value "no"
8302if any external markup declarations contain declarations of:
8303- attributes with default values, if elements to which these
8304attributes apply appear in the document without specifications
8305of values for these attributes, or
8306- entities (other than amp, lt, gt, apos, quot), if references
8307to those entities appear in the document, or
8308- attributes with values subject to normalization, where the
8309attribute appears in the document with a value which will change
8310as a result of normalization, or
8311- element types with element content, if white space occurs directly
8312within any instance of those types.</P
Daniel Veillard35925471999-02-25 08:46:07 +00008313><P
8314></P
8315><DIV
8316CLASS="INFORMALTABLE"
8317><P
8318></P
8319><TABLE
8320BORDER="0"
8321WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008322BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008323CELLSPACING="0"
8324CELLPADDING="4"
8325CLASS="CALSTABLE"
8326><TR
8327><TD
8328WIDTH="20%"
8329ALIGN="RIGHT"
8330VALIGN="TOP"
8331><TT
8332CLASS="PARAMETER"
8333><I
8334>ctxt</I
8335></TT
8336>&nbsp;:</TD
8337><TD
8338WIDTH="80%"
8339ALIGN="LEFT"
8340VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008341> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008342></TR
8343><TR
8344><TD
8345WIDTH="20%"
8346ALIGN="RIGHT"
8347VALIGN="TOP"
8348><I
8349CLASS="EMPHASIS"
8350>Returns</I
8351> :</TD
8352><TD
8353WIDTH="80%"
8354ALIGN="LEFT"
8355VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008356>1 if standalone, 0 otherwise</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008357></TR
8358></TABLE
8359><P
8360></P
8361></DIV
8362></DIV
8363><HR><DIV
8364CLASS="REFSECT2"
8365><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00008366NAME="AEN17037"
Daniel Veillard35925471999-02-25 08:46:07 +00008367></A
8368><H3
8369><A
8370NAME="XMLPARSEXMLDECL"
8371></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008372>xmlParseXMLDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008373><TABLE
8374BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008375BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008376WIDTH="100%"
8377CELLPADDING="6"
8378><TR
8379><TD
8380><PRE
8381CLASS="PROGRAMLISTING"
8382>void xmlParseXMLDecl (<A
8383HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8384>xmlParserCtxtPtr</A
8385> ctxt);</PRE
8386></TD
8387></TR
8388></TABLE
8389><P
8390>parse an XML declaration header</P
8391><P
8392>[23] XMLDecl ::= '&lt;?xml' VersionInfo EncodingDecl? SDDecl? S? '?&gt;'</P
8393><P
8394></P
8395><DIV
8396CLASS="INFORMALTABLE"
8397><P
8398></P
8399><TABLE
8400BORDER="0"
8401WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008402BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008403CELLSPACING="0"
8404CELLPADDING="4"
8405CLASS="CALSTABLE"
8406><TR
8407><TD
8408WIDTH="20%"
8409ALIGN="RIGHT"
8410VALIGN="TOP"
8411><TT
8412CLASS="PARAMETER"
8413><I
8414>ctxt</I
8415></TT
8416>&nbsp;:</TD
8417><TD
8418WIDTH="80%"
8419ALIGN="LEFT"
8420VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008421> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008422></TR
8423></TABLE
8424><P
8425></P
8426></DIV
8427></DIV
8428><HR><DIV
8429CLASS="REFSECT2"
8430><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00008431NAME="AEN17054"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008432></A
8433><H3
8434><A
8435NAME="XMLPARSETEXTDECL"
8436></A
8437>xmlParseTextDecl ()</H3
8438><TABLE
8439BORDER="0"
8440BGCOLOR="#D6E8FF"
8441WIDTH="100%"
8442CELLPADDING="6"
8443><TR
8444><TD
8445><PRE
8446CLASS="PROGRAMLISTING"
8447>void xmlParseTextDecl (<A
8448HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8449>xmlParserCtxtPtr</A
8450> ctxt);</PRE
8451></TD
8452></TR
8453></TABLE
8454><P
8455>parse an XML declaration header for external entities</P
8456><P
8457>[77] TextDecl ::= '&lt;?xml' VersionInfo? EncodingDecl S? '?&gt;'</P
8458><P
8459>Question: Seems that EncodingDecl is mandatory ? Is that a typo ?</P
8460><P
8461></P
8462><DIV
8463CLASS="INFORMALTABLE"
8464><P
8465></P
8466><TABLE
8467BORDER="0"
8468WIDTH="100%"
8469BGCOLOR="#FFD0D0"
8470CELLSPACING="0"
8471CELLPADDING="4"
8472CLASS="CALSTABLE"
8473><TR
8474><TD
8475WIDTH="20%"
8476ALIGN="RIGHT"
8477VALIGN="TOP"
8478><TT
8479CLASS="PARAMETER"
8480><I
8481>ctxt</I
8482></TT
8483>&nbsp;:</TD
8484><TD
8485WIDTH="80%"
8486ALIGN="LEFT"
8487VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008488> an XML parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008489></TR
8490></TABLE
8491><P
8492></P
8493></DIV
8494></DIV
8495><HR><DIV
8496CLASS="REFSECT2"
8497><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00008498NAME="AEN17072"
Daniel Veillard35925471999-02-25 08:46:07 +00008499></A
8500><H3
8501><A
8502NAME="XMLPARSEMISC"
8503></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008504>xmlParseMisc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008505><TABLE
8506BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008507BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008508WIDTH="100%"
8509CELLPADDING="6"
8510><TR
8511><TD
8512><PRE
8513CLASS="PROGRAMLISTING"
8514>void xmlParseMisc (<A
8515HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8516>xmlParserCtxtPtr</A
8517> ctxt);</PRE
8518></TD
8519></TR
8520></TABLE
8521><P
8522>parse an XML Misc* optionnal field.</P
8523><P
8524>[27] Misc ::= Comment | PI | S</P
8525><P
8526></P
8527><DIV
8528CLASS="INFORMALTABLE"
8529><P
8530></P
8531><TABLE
8532BORDER="0"
8533WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008534BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008535CELLSPACING="0"
8536CELLPADDING="4"
8537CLASS="CALSTABLE"
8538><TR
8539><TD
8540WIDTH="20%"
8541ALIGN="RIGHT"
8542VALIGN="TOP"
8543><TT
8544CLASS="PARAMETER"
8545><I
8546>ctxt</I
8547></TT
8548>&nbsp;:</TD
8549><TD
8550WIDTH="80%"
8551ALIGN="LEFT"
8552VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008553> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008554></TR
8555></TABLE
8556><P
8557></P
8558></DIV
8559></DIV
Daniel Veillard011b63c1999-06-02 17:44:04 +00008560><HR><DIV
8561CLASS="REFSECT2"
8562><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00008563NAME="AEN17089"
Daniel Veillardb05deb71999-08-10 19:04:08 +00008564></A
8565><H3
8566><A
8567NAME="XMLPARSEEXTERNALSUBSET"
8568></A
8569>xmlParseExternalSubset ()</H3
8570><TABLE
8571BORDER="0"
8572BGCOLOR="#D6E8FF"
8573WIDTH="100%"
8574CELLPADDING="6"
8575><TR
8576><TD
8577><PRE
8578CLASS="PROGRAMLISTING"
8579>void xmlParseExternalSubset (<A
8580HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8581>xmlParserCtxtPtr</A
8582> ctxt,
8583 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008584HREF="gnome-xml-tree.html#XMLCHAR"
8585>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00008586> *ExternalID,
8587 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008588HREF="gnome-xml-tree.html#XMLCHAR"
8589>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00008590> *SystemID);</PRE
8591></TD
8592></TR
8593></TABLE
8594><P
8595>parse Markup declarations from an external subset</P
8596><P
8597>[30] extSubset ::= textDecl? extSubsetDecl</P
8598><P
8599>[31] extSubsetDecl ::= (markupdecl | conditionalSect | PEReference | S) *</P
8600><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00008601></P
8602><DIV
8603CLASS="INFORMALTABLE"
8604><P
8605></P
8606><TABLE
8607BORDER="0"
8608WIDTH="100%"
8609BGCOLOR="#FFD0D0"
8610CELLSPACING="0"
8611CELLPADDING="4"
8612CLASS="CALSTABLE"
8613><TR
8614><TD
8615WIDTH="20%"
8616ALIGN="RIGHT"
8617VALIGN="TOP"
8618><TT
8619CLASS="PARAMETER"
8620><I
8621>ctxt</I
8622></TT
8623>&nbsp;:</TD
8624><TD
8625WIDTH="80%"
8626ALIGN="LEFT"
8627VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008628> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008629></TR
8630><TR
8631><TD
8632WIDTH="20%"
8633ALIGN="RIGHT"
8634VALIGN="TOP"
8635><TT
8636CLASS="PARAMETER"
8637><I
8638>ExternalID</I
8639></TT
8640>&nbsp;:</TD
8641><TD
8642WIDTH="80%"
8643ALIGN="LEFT"
8644VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008645> the external identifier</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008646></TR
8647><TR
8648><TD
8649WIDTH="20%"
8650ALIGN="RIGHT"
8651VALIGN="TOP"
8652><TT
8653CLASS="PARAMETER"
8654><I
8655>SystemID</I
8656></TT
8657>&nbsp;:</TD
8658><TD
8659WIDTH="80%"
8660ALIGN="LEFT"
8661VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008662> the system identifier (or URL)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008663></TR
8664></TABLE
8665><P
8666></P
8667></DIV
8668></DIV
8669><HR><DIV
8670CLASS="REFSECT2"
8671><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00008672NAME="AEN17117"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008673></A
8674><H3
8675><A
8676NAME="XML-SUBSTITUTE-NONE"
8677></A
8678>XML_SUBSTITUTE_NONE</H3
8679><TABLE
8680BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008681BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008682WIDTH="100%"
8683CELLPADDING="6"
8684><TR
8685><TD
8686><PRE
8687CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008688>#define XML_SUBSTITUTE_NONE 0</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008689></TD
8690></TR
8691></TABLE
8692><P
8693></P
8694></DIV
8695><HR><DIV
8696CLASS="REFSECT2"
8697><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00008698NAME="AEN17122"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008699></A
8700><H3
8701><A
8702NAME="XML-SUBSTITUTE-REF"
8703></A
8704>XML_SUBSTITUTE_REF</H3
8705><TABLE
8706BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008707BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008708WIDTH="100%"
8709CELLPADDING="6"
8710><TR
8711><TD
8712><PRE
8713CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008714>#define XML_SUBSTITUTE_REF 1</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008715></TD
8716></TR
8717></TABLE
8718><P
8719></P
8720></DIV
8721><HR><DIV
8722CLASS="REFSECT2"
8723><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00008724NAME="AEN17127"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008725></A
8726><H3
8727><A
8728NAME="XML-SUBSTITUTE-PEREF"
8729></A
8730>XML_SUBSTITUTE_PEREF</H3
8731><TABLE
8732BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008733BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008734WIDTH="100%"
8735CELLPADDING="6"
8736><TR
8737><TD
8738><PRE
8739CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008740>#define XML_SUBSTITUTE_PEREF 2</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008741></TD
8742></TR
8743></TABLE
8744><P
8745></P
8746></DIV
8747><HR><DIV
8748CLASS="REFSECT2"
8749><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00008750NAME="AEN17132"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008751></A
8752><H3
8753><A
8754NAME="XML-SUBSTITUTE-BOTH"
8755></A
8756>XML_SUBSTITUTE_BOTH</H3
8757><TABLE
8758BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008759BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008760WIDTH="100%"
8761CELLPADDING="6"
8762><TR
8763><TD
8764><PRE
8765CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008766>#define XML_SUBSTITUTE_BOTH 3</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008767></TD
8768></TR
8769></TABLE
8770><P
8771></P
8772></DIV
8773><HR><DIV
8774CLASS="REFSECT2"
8775><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00008776NAME="AEN17137"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008777></A
8778><H3
8779><A
8780NAME="XMLDECODEENTITIES"
8781></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008782>xmlDecodeEntities ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00008783><TABLE
8784BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008785BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008786WIDTH="100%"
8787CELLPADDING="6"
8788><TR
8789><TD
8790><PRE
8791CLASS="PROGRAMLISTING"
8792><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008793HREF="gnome-xml-tree.html#XMLCHAR"
8794>xmlChar</A
8795>* xmlDecodeEntities (<A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008796HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8797>xmlParserCtxtPtr</A
8798> ctxt,
8799 int len,
8800 int what,
8801 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008802HREF="gnome-xml-tree.html#XMLCHAR"
8803>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008804> end,
8805 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008806HREF="gnome-xml-tree.html#XMLCHAR"
8807>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008808> end2,
8809 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008810HREF="gnome-xml-tree.html#XMLCHAR"
8811>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008812> end3);</PRE
8813></TD
8814></TR
8815></TABLE
8816><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008817>This function is deprecated, we now always process entities content
8818through xmlStringDecodeEntities</P
8819><P
8820>TODO: remove it in next major release.</P
8821><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00008822>[67] Reference ::= EntityRef | CharRef</P
8823><P
8824>[69] PEReference ::= '%' Name ';'</P
8825><P
8826></P
8827><DIV
8828CLASS="INFORMALTABLE"
8829><P
8830></P
8831><TABLE
8832BORDER="0"
8833WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008834BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008835CELLSPACING="0"
8836CELLPADDING="4"
8837CLASS="CALSTABLE"
8838><TR
8839><TD
8840WIDTH="20%"
8841ALIGN="RIGHT"
8842VALIGN="TOP"
8843><TT
8844CLASS="PARAMETER"
8845><I
8846>ctxt</I
8847></TT
8848>&nbsp;:</TD
8849><TD
8850WIDTH="80%"
8851ALIGN="LEFT"
8852VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008853> the parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008854></TR
8855><TR
8856><TD
8857WIDTH="20%"
8858ALIGN="RIGHT"
8859VALIGN="TOP"
8860><TT
8861CLASS="PARAMETER"
8862><I
8863>len</I
8864></TT
8865>&nbsp;:</TD
8866><TD
8867WIDTH="80%"
8868ALIGN="LEFT"
8869VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008870> the len to decode (in bytes !), -1 for no size limit</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008871></TR
8872><TR
8873><TD
8874WIDTH="20%"
8875ALIGN="RIGHT"
8876VALIGN="TOP"
8877><TT
8878CLASS="PARAMETER"
8879><I
8880>what</I
8881></TT
8882>&nbsp;:</TD
8883><TD
8884WIDTH="80%"
8885ALIGN="LEFT"
8886VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008887> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008888></TR
8889><TR
8890><TD
8891WIDTH="20%"
8892ALIGN="RIGHT"
8893VALIGN="TOP"
8894><TT
8895CLASS="PARAMETER"
8896><I
8897>end</I
8898></TT
8899>&nbsp;:</TD
8900><TD
8901WIDTH="80%"
8902ALIGN="LEFT"
8903VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008904> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008905></TR
8906><TR
8907><TD
8908WIDTH="20%"
8909ALIGN="RIGHT"
8910VALIGN="TOP"
8911><TT
8912CLASS="PARAMETER"
8913><I
8914>end2</I
8915></TT
8916>&nbsp;:</TD
8917><TD
8918WIDTH="80%"
8919ALIGN="LEFT"
8920VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008921> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008922></TR
8923><TR
8924><TD
8925WIDTH="20%"
8926ALIGN="RIGHT"
8927VALIGN="TOP"
8928><TT
8929CLASS="PARAMETER"
8930><I
8931>end3</I
8932></TT
8933>&nbsp;:</TD
8934><TD
8935WIDTH="80%"
8936ALIGN="LEFT"
8937VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008938> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008939></TR
8940><TR
8941><TD
8942WIDTH="20%"
8943ALIGN="RIGHT"
8944VALIGN="TOP"
8945><I
8946CLASS="EMPHASIS"
8947>Returns</I
8948> :</TD
8949><TD
8950WIDTH="80%"
8951ALIGN="LEFT"
8952VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008953>A newly allocated string with the substitution done. The caller
8954must deallocate it !</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008955></TR
8956></TABLE
8957><P
8958></P
8959></DIV
8960></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +00008961><HR><DIV
8962CLASS="REFSECT2"
8963><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00008964NAME="AEN17184"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008965></A
8966><H3
8967><A
8968NAME="XMLSTRINGDECODEENTITIES"
8969></A
8970>xmlStringDecodeEntities ()</H3
8971><TABLE
8972BORDER="0"
8973BGCOLOR="#D6E8FF"
8974WIDTH="100%"
8975CELLPADDING="6"
8976><TR
8977><TD
8978><PRE
8979CLASS="PROGRAMLISTING"
8980><A
8981HREF="gnome-xml-tree.html#XMLCHAR"
8982>xmlChar</A
8983>* xmlStringDecodeEntities (<A
8984HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8985>xmlParserCtxtPtr</A
8986> ctxt,
8987 const <A
8988HREF="gnome-xml-tree.html#XMLCHAR"
8989>xmlChar</A
8990> *str,
8991 int what,
8992 <A
8993HREF="gnome-xml-tree.html#XMLCHAR"
8994>xmlChar</A
8995> end,
8996 <A
8997HREF="gnome-xml-tree.html#XMLCHAR"
8998>xmlChar</A
8999> end2,
9000 <A
9001HREF="gnome-xml-tree.html#XMLCHAR"
9002>xmlChar</A
9003> end3);</PRE
9004></TD
9005></TR
9006></TABLE
9007><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009008>Takes a entity string content and process to do the adequate subtitutions.</P
9009><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009010>[67] Reference ::= EntityRef | CharRef</P
9011><P
9012>[69] PEReference ::= '%' Name ';'</P
9013><P
9014></P
9015><DIV
9016CLASS="INFORMALTABLE"
9017><P
9018></P
9019><TABLE
9020BORDER="0"
9021WIDTH="100%"
9022BGCOLOR="#FFD0D0"
9023CELLSPACING="0"
9024CELLPADDING="4"
9025CLASS="CALSTABLE"
9026><TR
9027><TD
9028WIDTH="20%"
9029ALIGN="RIGHT"
9030VALIGN="TOP"
9031><TT
9032CLASS="PARAMETER"
9033><I
9034>ctxt</I
9035></TT
9036>&nbsp;:</TD
9037><TD
9038WIDTH="80%"
9039ALIGN="LEFT"
9040VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009041> the parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009042></TR
9043><TR
9044><TD
9045WIDTH="20%"
9046ALIGN="RIGHT"
9047VALIGN="TOP"
9048><TT
9049CLASS="PARAMETER"
9050><I
9051>str</I
9052></TT
9053>&nbsp;:</TD
9054><TD
9055WIDTH="80%"
9056ALIGN="LEFT"
9057VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009058> the input string</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009059></TR
9060><TR
9061><TD
9062WIDTH="20%"
9063ALIGN="RIGHT"
9064VALIGN="TOP"
9065><TT
9066CLASS="PARAMETER"
9067><I
9068>what</I
9069></TT
9070>&nbsp;:</TD
9071><TD
9072WIDTH="80%"
9073ALIGN="LEFT"
9074VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009075> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009076></TR
9077><TR
9078><TD
9079WIDTH="20%"
9080ALIGN="RIGHT"
9081VALIGN="TOP"
9082><TT
9083CLASS="PARAMETER"
9084><I
9085>end</I
9086></TT
9087>&nbsp;:</TD
9088><TD
9089WIDTH="80%"
9090ALIGN="LEFT"
9091VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009092> an end marker xmlChar, 0 if none</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009093></TR
9094><TR
9095><TD
9096WIDTH="20%"
9097ALIGN="RIGHT"
9098VALIGN="TOP"
9099><TT
9100CLASS="PARAMETER"
9101><I
9102>end2</I
9103></TT
9104>&nbsp;:</TD
9105><TD
9106WIDTH="80%"
9107ALIGN="LEFT"
9108VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009109> an end marker xmlChar, 0 if none</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009110></TR
9111><TR
9112><TD
9113WIDTH="20%"
9114ALIGN="RIGHT"
9115VALIGN="TOP"
9116><TT
9117CLASS="PARAMETER"
9118><I
9119>end3</I
9120></TT
9121>&nbsp;:</TD
9122><TD
9123WIDTH="80%"
9124ALIGN="LEFT"
9125VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009126> an end marker xmlChar, 0 if none</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009127></TR
9128><TR
9129><TD
9130WIDTH="20%"
9131ALIGN="RIGHT"
9132VALIGN="TOP"
9133><I
9134CLASS="EMPHASIS"
9135>Returns</I
9136> :</TD
9137><TD
9138WIDTH="80%"
9139ALIGN="LEFT"
9140VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009141>A newly allocated string with the substitution done. The caller
9142must deallocate it !</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009143></TR
9144></TABLE
9145><P
9146></P
9147></DIV
9148></DIV
9149><HR><DIV
9150CLASS="REFSECT2"
9151><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00009152NAME="AEN17231"
Daniel Veillard14fff061999-06-22 21:49:07 +00009153></A
9154><H3
9155><A
9156NAME="NODEPUSH"
9157></A
9158>nodePush ()</H3
9159><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00009160BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009161BGCOLOR="#D6E8FF"
9162WIDTH="100%"
9163CELLPADDING="6"
Daniel Veillard35925471999-02-25 08:46:07 +00009164><TR
9165><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009166><PRE
9167CLASS="PROGRAMLISTING"
9168>int nodePush (<A
9169HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9170>xmlParserCtxtPtr</A
9171> ctxt,
9172 <A
9173HREF="gnome-xml-tree.html#XMLNODEPTR"
9174>xmlNodePtr</A
9175> value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00009176></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009177></TR
9178></TABLE
9179><P
9180></P
9181><DIV
9182CLASS="INFORMALTABLE"
9183><P
9184></P
9185><TABLE
9186BORDER="0"
9187WIDTH="100%"
9188BGCOLOR="#FFD0D0"
9189CELLSPACING="0"
9190CELLPADDING="4"
9191CLASS="CALSTABLE"
9192><TR
Daniel Veillard35925471999-02-25 08:46:07 +00009193><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009194WIDTH="20%"
9195ALIGN="RIGHT"
9196VALIGN="TOP"
9197><TT
9198CLASS="PARAMETER"
9199><I
9200>ctxt</I
9201></TT
9202>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009203><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009204WIDTH="80%"
9205ALIGN="LEFT"
9206VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00009207>&nbsp;</TD
9208></TR
9209><TR
9210><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009211WIDTH="20%"
9212ALIGN="RIGHT"
9213VALIGN="TOP"
9214><TT
9215CLASS="PARAMETER"
9216><I
9217>value</I
9218></TT
9219>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009220><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009221WIDTH="80%"
9222ALIGN="LEFT"
9223VALIGN="TOP"
9224>&nbsp;</TD
9225></TR
9226><TR
9227><TD
9228WIDTH="20%"
9229ALIGN="RIGHT"
9230VALIGN="TOP"
9231><I
9232CLASS="EMPHASIS"
9233>Returns</I
9234> :</TD
9235><TD
9236WIDTH="80%"
9237ALIGN="LEFT"
9238VALIGN="TOP"
9239>&nbsp;</TD
9240></TR
9241></TABLE
9242><P
9243></P
9244></DIV
9245></DIV
9246><HR><DIV
9247CLASS="REFSECT2"
Daniel Veillard35925471999-02-25 08:46:07 +00009248><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00009249NAME="AEN17255"
Daniel Veillard14fff061999-06-22 21:49:07 +00009250></A
9251><H3
9252><A
9253NAME="NODEPOP"
9254></A
9255>nodePop ()</H3
9256><TABLE
9257BORDER="0"
9258BGCOLOR="#D6E8FF"
9259WIDTH="100%"
9260CELLPADDING="6"
9261><TR
9262><TD
9263><PRE
9264CLASS="PROGRAMLISTING"
9265><A
9266HREF="gnome-xml-tree.html#XMLNODEPTR"
9267>xmlNodePtr</A
9268> nodePop (<A
9269HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9270>xmlParserCtxtPtr</A
9271> ctxt);</PRE
9272></TD
9273></TR
9274></TABLE
9275><P
9276></P
9277><DIV
9278CLASS="INFORMALTABLE"
9279><P
9280></P
9281><TABLE
9282BORDER="0"
9283WIDTH="100%"
9284BGCOLOR="#FFD0D0"
9285CELLSPACING="0"
9286CELLPADDING="4"
9287CLASS="CALSTABLE"
9288><TR
9289><TD
9290WIDTH="20%"
9291ALIGN="RIGHT"
9292VALIGN="TOP"
9293><TT
9294CLASS="PARAMETER"
9295><I
9296>ctxt</I
9297></TT
9298>&nbsp;:</TD
9299><TD
9300WIDTH="80%"
9301ALIGN="LEFT"
9302VALIGN="TOP"
9303>&nbsp;</TD
9304></TR
9305><TR
9306><TD
9307WIDTH="20%"
9308ALIGN="RIGHT"
9309VALIGN="TOP"
9310><I
9311CLASS="EMPHASIS"
9312>Returns</I
9313> :</TD
9314><TD
9315WIDTH="80%"
9316ALIGN="LEFT"
9317VALIGN="TOP"
9318>&nbsp;</TD
9319></TR
9320></TABLE
9321><P
9322></P
9323></DIV
9324></DIV
9325><HR><DIV
9326CLASS="REFSECT2"
9327><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00009328NAME="AEN17275"
Daniel Veillard14fff061999-06-22 21:49:07 +00009329></A
9330><H3
9331><A
9332NAME="INPUTPUSH"
9333></A
9334>inputPush ()</H3
9335><TABLE
9336BORDER="0"
9337BGCOLOR="#D6E8FF"
9338WIDTH="100%"
9339CELLPADDING="6"
9340><TR
9341><TD
9342><PRE
9343CLASS="PROGRAMLISTING"
9344>int inputPush (<A
9345HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9346>xmlParserCtxtPtr</A
9347> ctxt,
9348 <A
9349HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
9350>xmlParserInputPtr</A
9351> value);</PRE
9352></TD
9353></TR
9354></TABLE
9355><P
9356></P
9357><DIV
9358CLASS="INFORMALTABLE"
9359><P
9360></P
9361><TABLE
9362BORDER="0"
9363WIDTH="100%"
9364BGCOLOR="#FFD0D0"
9365CELLSPACING="0"
9366CELLPADDING="4"
9367CLASS="CALSTABLE"
9368><TR
9369><TD
9370WIDTH="20%"
9371ALIGN="RIGHT"
9372VALIGN="TOP"
9373><TT
9374CLASS="PARAMETER"
9375><I
9376>ctxt</I
9377></TT
9378>&nbsp;:</TD
9379><TD
9380WIDTH="80%"
9381ALIGN="LEFT"
9382VALIGN="TOP"
9383>&nbsp;</TD
9384></TR
9385><TR
9386><TD
9387WIDTH="20%"
9388ALIGN="RIGHT"
9389VALIGN="TOP"
9390><TT
9391CLASS="PARAMETER"
9392><I
9393>value</I
9394></TT
9395>&nbsp;:</TD
9396><TD
9397WIDTH="80%"
9398ALIGN="LEFT"
9399VALIGN="TOP"
9400>&nbsp;</TD
9401></TR
9402><TR
9403><TD
9404WIDTH="20%"
9405ALIGN="RIGHT"
9406VALIGN="TOP"
9407><I
9408CLASS="EMPHASIS"
9409>Returns</I
9410> :</TD
9411><TD
9412WIDTH="80%"
9413ALIGN="LEFT"
9414VALIGN="TOP"
9415>&nbsp;</TD
9416></TR
9417></TABLE
9418><P
9419></P
9420></DIV
9421></DIV
9422><HR><DIV
9423CLASS="REFSECT2"
9424><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00009425NAME="AEN17299"
Daniel Veillard14fff061999-06-22 21:49:07 +00009426></A
9427><H3
9428><A
9429NAME="INPUTPOP"
9430></A
9431>inputPop ()</H3
9432><TABLE
9433BORDER="0"
9434BGCOLOR="#D6E8FF"
9435WIDTH="100%"
9436CELLPADDING="6"
9437><TR
9438><TD
9439><PRE
9440CLASS="PROGRAMLISTING"
9441><A
9442HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
9443>xmlParserInputPtr</A
9444> inputPop (<A
9445HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9446>xmlParserCtxtPtr</A
9447> ctxt);</PRE
9448></TD
9449></TR
9450></TABLE
9451><P
9452></P
9453><DIV
9454CLASS="INFORMALTABLE"
9455><P
9456></P
9457><TABLE
9458BORDER="0"
9459WIDTH="100%"
9460BGCOLOR="#FFD0D0"
9461CELLSPACING="0"
9462CELLPADDING="4"
9463CLASS="CALSTABLE"
9464><TR
9465><TD
9466WIDTH="20%"
9467ALIGN="RIGHT"
9468VALIGN="TOP"
9469><TT
9470CLASS="PARAMETER"
9471><I
9472>ctxt</I
9473></TT
9474>&nbsp;:</TD
9475><TD
9476WIDTH="80%"
9477ALIGN="LEFT"
9478VALIGN="TOP"
9479>&nbsp;</TD
9480></TR
9481><TR
9482><TD
9483WIDTH="20%"
9484ALIGN="RIGHT"
9485VALIGN="TOP"
9486><I
9487CLASS="EMPHASIS"
9488>Returns</I
9489> :</TD
9490><TD
9491WIDTH="80%"
9492ALIGN="LEFT"
9493VALIGN="TOP"
9494>&nbsp;</TD
9495></TR
9496></TABLE
9497><P
9498></P
9499></DIV
9500></DIV
Daniel Veillarde46e20d2000-07-14 15:02:46 +00009501><HR><DIV
9502CLASS="REFSECT2"
9503><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00009504NAME="AEN17319"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009505></A
9506><H3
9507><A
9508NAME="XMLSKIPBLANKCHARS"
9509></A
9510>xmlSkipBlankChars ()</H3
9511><TABLE
9512BORDER="0"
9513BGCOLOR="#D6E8FF"
9514WIDTH="100%"
9515CELLPADDING="6"
9516><TR
9517><TD
9518><PRE
9519CLASS="PROGRAMLISTING"
9520>int xmlSkipBlankChars (<A
9521HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9522>xmlParserCtxtPtr</A
9523> ctxt);</PRE
9524></TD
9525></TR
9526></TABLE
9527><P
9528>skip all blanks character found at that point in the input streams.
9529It pops up finished entities in the process if allowable at that point.</P
9530><P
9531></P
9532><DIV
9533CLASS="INFORMALTABLE"
9534><P
9535></P
9536><TABLE
9537BORDER="0"
9538WIDTH="100%"
9539BGCOLOR="#FFD0D0"
9540CELLSPACING="0"
9541CELLPADDING="4"
9542CLASS="CALSTABLE"
9543><TR
9544><TD
9545WIDTH="20%"
9546ALIGN="RIGHT"
9547VALIGN="TOP"
9548><TT
9549CLASS="PARAMETER"
9550><I
9551>ctxt</I
9552></TT
9553>&nbsp;:</TD
9554><TD
9555WIDTH="80%"
9556ALIGN="LEFT"
9557VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009558> the XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009559></TR
9560><TR
9561><TD
9562WIDTH="20%"
9563ALIGN="RIGHT"
9564VALIGN="TOP"
9565><I
9566CLASS="EMPHASIS"
9567>Returns</I
9568> :</TD
9569><TD
9570WIDTH="80%"
9571ALIGN="LEFT"
9572VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009573>the number of space chars skipped</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009574></TR
9575></TABLE
9576><P
9577></P
9578></DIV
9579></DIV
9580><HR><DIV
9581CLASS="REFSECT2"
9582><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00009583NAME="AEN17339"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009584></A
9585><H3
9586><A
9587NAME="XMLSTRINGCURRENTCHAR"
9588></A
9589>xmlStringCurrentChar ()</H3
9590><TABLE
9591BORDER="0"
9592BGCOLOR="#D6E8FF"
9593WIDTH="100%"
9594CELLPADDING="6"
9595><TR
9596><TD
9597><PRE
9598CLASS="PROGRAMLISTING"
9599>int xmlStringCurrentChar (<A
9600HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9601>xmlParserCtxtPtr</A
9602> ctxt,
9603 const <A
9604HREF="gnome-xml-tree.html#XMLCHAR"
9605>xmlChar</A
9606> *cur,
9607 int *len);</PRE
9608></TD
9609></TR
9610></TABLE
9611><P
9612>The current char value, if using UTF-8 this may actaully span multiple
9613bytes in the input buffer.</P
9614><P
9615></P
9616><DIV
9617CLASS="INFORMALTABLE"
9618><P
9619></P
9620><TABLE
9621BORDER="0"
9622WIDTH="100%"
9623BGCOLOR="#FFD0D0"
9624CELLSPACING="0"
9625CELLPADDING="4"
9626CLASS="CALSTABLE"
9627><TR
9628><TD
9629WIDTH="20%"
9630ALIGN="RIGHT"
9631VALIGN="TOP"
9632><TT
9633CLASS="PARAMETER"
9634><I
9635>ctxt</I
9636></TT
9637>&nbsp;:</TD
9638><TD
9639WIDTH="80%"
9640ALIGN="LEFT"
9641VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009642> the XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009643></TR
9644><TR
9645><TD
9646WIDTH="20%"
9647ALIGN="RIGHT"
9648VALIGN="TOP"
9649><TT
9650CLASS="PARAMETER"
9651><I
9652>cur</I
9653></TT
9654>&nbsp;:</TD
9655><TD
9656WIDTH="80%"
9657ALIGN="LEFT"
9658VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009659> pointer to the beginning of the char</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009660></TR
9661><TR
9662><TD
9663WIDTH="20%"
9664ALIGN="RIGHT"
9665VALIGN="TOP"
9666><TT
9667CLASS="PARAMETER"
9668><I
9669>len</I
9670></TT
9671>&nbsp;:</TD
9672><TD
9673WIDTH="80%"
9674ALIGN="LEFT"
9675VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009676> pointer to the length of the char read</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009677></TR
9678><TR
9679><TD
9680WIDTH="20%"
9681ALIGN="RIGHT"
9682VALIGN="TOP"
9683><I
9684CLASS="EMPHASIS"
9685>Returns</I
9686> :</TD
9687><TD
9688WIDTH="80%"
9689ALIGN="LEFT"
9690VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009691>the current char value and its lenght</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009692></TR
9693></TABLE
9694><P
9695></P
9696></DIV
9697></DIV
9698><HR><DIV
9699CLASS="REFSECT2"
9700><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00009701NAME="AEN17368"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009702></A
9703><H3
9704><A
9705NAME="XMLPARSERHANDLEPEREFERENCE"
9706></A
9707>xmlParserHandlePEReference ()</H3
9708><TABLE
9709BORDER="0"
9710BGCOLOR="#D6E8FF"
9711WIDTH="100%"
9712CELLPADDING="6"
9713><TR
9714><TD
9715><PRE
9716CLASS="PROGRAMLISTING"
9717>void xmlParserHandlePEReference (<A
9718HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9719>xmlParserCtxtPtr</A
9720> ctxt);</PRE
9721></TD
9722></TR
9723></TABLE
9724><P
9725>[69] PEReference ::= '%' Name ';'</P
9726><P
9727>[ WFC: No Recursion ]
9728A parsed entity must not contain a recursive
9729reference to itself, either directly or indirectly. </P
9730><P
9731>[ WFC: Entity Declared ]
9732In a document without any DTD, a document with only an internal DTD
9733subset which contains no parameter entity references, or a document
9734with "standalone='yes'", ... ... The declaration of a parameter
9735entity must precede any reference to it...</P
9736><P
9737>[ VC: Entity Declared ]
9738In a document with an external subset or external parameter entities
9739with "standalone='no'", ... ... The declaration of a parameter entity
9740must precede any reference to it...</P
9741><P
9742>[ WFC: In DTD ]
9743Parameter-entity references may only appear in the DTD.
9744NOTE: misleading but this is handled.</P
9745><P
9746>A PEReference may have been detected in the current input stream
9747the handling is done accordingly to
9748http://www.w3.org/TR/REC-xml<GTKDOCLINK
9749HREF="ENTPROC"
9750>entproc</GTKDOCLINK
9751>
9752i.e.
9753- Included in literal in entity values
9754- Included as Paraemeter Entity reference within DTDs</P
9755><P
9756></P
9757><DIV
9758CLASS="INFORMALTABLE"
9759><P
9760></P
9761><TABLE
9762BORDER="0"
9763WIDTH="100%"
9764BGCOLOR="#FFD0D0"
9765CELLSPACING="0"
9766CELLPADDING="4"
9767CLASS="CALSTABLE"
9768><TR
9769><TD
9770WIDTH="20%"
9771ALIGN="RIGHT"
9772VALIGN="TOP"
9773><TT
9774CLASS="PARAMETER"
9775><I
9776>ctxt</I
9777></TT
9778>&nbsp;:</TD
9779><TD
9780WIDTH="80%"
9781ALIGN="LEFT"
9782VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009783> the parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009784></TR
9785></TABLE
9786><P
9787></P
9788></DIV
9789></DIV
9790><HR><DIV
9791CLASS="REFSECT2"
9792><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00009793NAME="AEN17390"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009794></A
9795><H3
9796><A
9797NAME="XMLPARSERHANDLEREFERENCE"
9798></A
9799>xmlParserHandleReference ()</H3
9800><TABLE
9801BORDER="0"
9802BGCOLOR="#D6E8FF"
9803WIDTH="100%"
9804CELLPADDING="6"
9805><TR
9806><TD
9807><PRE
9808CLASS="PROGRAMLISTING"
9809>void xmlParserHandleReference (<A
9810HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9811>xmlParserCtxtPtr</A
9812> ctxt);</PRE
9813></TD
9814></TR
9815></TABLE
9816><P
9817>TODO: Remove, now deprecated ... the test is done directly in the
9818content parsing
9819routines.</P
9820><P
9821>[67] Reference ::= EntityRef | CharRef</P
9822><P
9823>[68] EntityRef ::= '&amp;' Name ';'</P
9824><P
9825>[ WFC: Entity Declared ]
9826the Name given in the entity reference must match that in an entity
9827declaration, except that well-formed documents need not declare any
9828of the following entities: amp, lt, gt, apos, quot. </P
9829><P
9830>[ WFC: Parsed Entity ]
9831An entity reference must not contain the name of an unparsed entity</P
9832><P
9833>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
9834'&amp;<GTKDOCLINK
9835HREF="X"
9836>x</GTKDOCLINK
9837>' [0-9a-fA-F]+ ';'</P
9838><P
9839>A PEReference may have been detectect in the current input stream
9840the handling is done accordingly to
9841http://www.w3.org/TR/REC-xml<GTKDOCLINK
9842HREF="ENTPROC"
9843>entproc</GTKDOCLINK
9844></P
9845><P
9846></P
9847><DIV
9848CLASS="INFORMALTABLE"
9849><P
9850></P
9851><TABLE
9852BORDER="0"
9853WIDTH="100%"
9854BGCOLOR="#FFD0D0"
9855CELLSPACING="0"
9856CELLPADDING="4"
9857CLASS="CALSTABLE"
9858><TR
9859><TD
9860WIDTH="20%"
9861ALIGN="RIGHT"
9862VALIGN="TOP"
9863><TT
9864CLASS="PARAMETER"
9865><I
9866>ctxt</I
9867></TT
9868>&nbsp;:</TD
9869><TD
9870WIDTH="80%"
9871ALIGN="LEFT"
9872VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009873> the parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009874></TR
9875></TABLE
9876><P
9877></P
9878></DIV
9879></DIV
9880><HR><DIV
9881CLASS="REFSECT2"
9882><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00009883NAME="AEN17414"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009884></A
9885><H3
9886><A
9887NAME="NAMEPOP"
9888></A
9889>namePop ()</H3
9890><TABLE
9891BORDER="0"
9892BGCOLOR="#D6E8FF"
9893WIDTH="100%"
9894CELLPADDING="6"
9895><TR
9896><TD
9897><PRE
9898CLASS="PROGRAMLISTING"
9899><A
9900HREF="gnome-xml-tree.html#XMLCHAR"
9901>xmlChar</A
9902>* namePop (<A
9903HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9904>xmlParserCtxtPtr</A
9905> ctxt);</PRE
9906></TD
9907></TR
9908></TABLE
9909><P
9910></P
9911><DIV
9912CLASS="INFORMALTABLE"
9913><P
9914></P
9915><TABLE
9916BORDER="0"
9917WIDTH="100%"
9918BGCOLOR="#FFD0D0"
9919CELLSPACING="0"
9920CELLPADDING="4"
9921CLASS="CALSTABLE"
9922><TR
9923><TD
9924WIDTH="20%"
9925ALIGN="RIGHT"
9926VALIGN="TOP"
9927><TT
9928CLASS="PARAMETER"
9929><I
9930>ctxt</I
9931></TT
9932>&nbsp;:</TD
9933><TD
9934WIDTH="80%"
9935ALIGN="LEFT"
9936VALIGN="TOP"
9937>&nbsp;</TD
9938></TR
9939><TR
9940><TD
9941WIDTH="20%"
9942ALIGN="RIGHT"
9943VALIGN="TOP"
9944><I
9945CLASS="EMPHASIS"
9946>Returns</I
9947> :</TD
9948><TD
9949WIDTH="80%"
9950ALIGN="LEFT"
9951VALIGN="TOP"
9952>&nbsp;</TD
9953></TR
9954></TABLE
9955><P
9956></P
9957></DIV
9958></DIV
9959><HR><DIV
9960CLASS="REFSECT2"
9961><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00009962NAME="AEN17434"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009963></A
9964><H3
9965><A
9966NAME="XMLCHECKLANGUAGEID"
9967></A
9968>xmlCheckLanguageID ()</H3
9969><TABLE
9970BORDER="0"
9971BGCOLOR="#D6E8FF"
9972WIDTH="100%"
9973CELLPADDING="6"
9974><TR
9975><TD
9976><PRE
9977CLASS="PROGRAMLISTING"
9978>int xmlCheckLanguageID (const <A
9979HREF="gnome-xml-tree.html#XMLCHAR"
9980>xmlChar</A
9981> *lang);</PRE
9982></TD
9983></TR
9984></TABLE
9985><P
9986></P
9987><DIV
9988CLASS="INFORMALTABLE"
9989><P
9990></P
9991><TABLE
9992BORDER="0"
9993WIDTH="100%"
9994BGCOLOR="#FFD0D0"
9995CELLSPACING="0"
9996CELLPADDING="4"
9997CLASS="CALSTABLE"
9998><TR
9999><TD
10000WIDTH="20%"
10001ALIGN="RIGHT"
10002VALIGN="TOP"
10003><TT
10004CLASS="PARAMETER"
10005><I
10006>lang</I
10007></TT
10008>&nbsp;:</TD
10009><TD
10010WIDTH="80%"
10011ALIGN="LEFT"
10012VALIGN="TOP"
10013>&nbsp;</TD
10014></TR
10015><TR
10016><TD
10017WIDTH="20%"
10018ALIGN="RIGHT"
10019VALIGN="TOP"
10020><I
10021CLASS="EMPHASIS"
10022>Returns</I
10023> :</TD
10024><TD
10025WIDTH="80%"
10026ALIGN="LEFT"
10027VALIGN="TOP"
10028>&nbsp;</TD
10029></TR
10030></TABLE
10031><P
10032></P
10033></DIV
10034></DIV
10035><HR><DIV
10036CLASS="REFSECT2"
10037><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +000010038NAME="AEN17453"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010039></A
10040><H3
10041><A
10042NAME="XMLCURRENTCHAR"
10043></A
10044>xmlCurrentChar ()</H3
10045><TABLE
10046BORDER="0"
10047BGCOLOR="#D6E8FF"
10048WIDTH="100%"
10049CELLPADDING="6"
10050><TR
10051><TD
10052><PRE
10053CLASS="PROGRAMLISTING"
10054>int xmlCurrentChar (<A
10055HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
10056>xmlParserCtxtPtr</A
10057> ctxt,
10058 int *len);</PRE
10059></TD
10060></TR
10061></TABLE
10062><P
10063>The current char value, if using UTF-8 this may actaully span multiple
10064bytes in the input buffer. Implement the end of line normalization:
100652.11 End-of-Line Handling
10066Wherever an external parsed entity or the literal entity value
10067of an internal parsed entity contains either the literal two-character
10068sequence "<GTKDOCLINK
10069HREF="XD"
10070>xD</GTKDOCLINK
10071><GTKDOCLINK
10072HREF="XA"
10073>xA</GTKDOCLINK
10074>" or a standalone literal <GTKDOCLINK
10075HREF="XD"
10076>xD</GTKDOCLINK
10077>, an XML processor
10078must pass to the application the single character <GTKDOCLINK
10079HREF="XA"
10080>xA</GTKDOCLINK
10081>.
10082This behavior can conveniently be produced by normalizing all
10083line breaks to <GTKDOCLINK
10084HREF="XA"
10085>xA</GTKDOCLINK
10086> on input, before parsing.)</P
10087><P
10088></P
10089><DIV
10090CLASS="INFORMALTABLE"
10091><P
10092></P
10093><TABLE
10094BORDER="0"
10095WIDTH="100%"
10096BGCOLOR="#FFD0D0"
10097CELLSPACING="0"
10098CELLPADDING="4"
10099CLASS="CALSTABLE"
10100><TR
10101><TD
10102WIDTH="20%"
10103ALIGN="RIGHT"
10104VALIGN="TOP"
10105><TT
10106CLASS="PARAMETER"
10107><I
10108>ctxt</I
10109></TT
10110>&nbsp;:</TD
10111><TD
10112WIDTH="80%"
10113ALIGN="LEFT"
10114VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010115> the XML parser context</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010116></TR
10117><TR
10118><TD
10119WIDTH="20%"
10120ALIGN="RIGHT"
10121VALIGN="TOP"
10122><TT
10123CLASS="PARAMETER"
10124><I
10125>len</I
10126></TT
10127>&nbsp;:</TD
10128><TD
10129WIDTH="80%"
10130ALIGN="LEFT"
10131VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010132> pointer to the length of the char read</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010133></TR
10134><TR
10135><TD
10136WIDTH="20%"
10137ALIGN="RIGHT"
10138VALIGN="TOP"
10139><I
10140CLASS="EMPHASIS"
10141>Returns</I
10142> :</TD
10143><TD
10144WIDTH="80%"
10145ALIGN="LEFT"
10146VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010147>the current char value and its lenght</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010148></TR
10149></TABLE
10150><P
10151></P
10152></DIV
10153></DIV
10154><HR><DIV
10155CLASS="REFSECT2"
10156><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +000010157NAME="AEN17482"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010158></A
10159><H3
10160><A
10161NAME="XMLCOPYCHAR"
10162></A
10163>xmlCopyChar ()</H3
10164><TABLE
10165BORDER="0"
10166BGCOLOR="#D6E8FF"
10167WIDTH="100%"
10168CELLPADDING="6"
10169><TR
10170><TD
10171><PRE
10172CLASS="PROGRAMLISTING"
10173>int xmlCopyChar (int len,
10174 <A
10175HREF="gnome-xml-tree.html#XMLCHAR"
10176>xmlChar</A
10177> *out,
10178 int val);</PRE
10179></TD
10180></TR
10181></TABLE
10182><P
10183>append the char value in the array</P
10184><P
10185></P
10186><DIV
10187CLASS="INFORMALTABLE"
10188><P
10189></P
10190><TABLE
10191BORDER="0"
10192WIDTH="100%"
10193BGCOLOR="#FFD0D0"
10194CELLSPACING="0"
10195CELLPADDING="4"
10196CLASS="CALSTABLE"
10197><TR
10198><TD
10199WIDTH="20%"
10200ALIGN="RIGHT"
10201VALIGN="TOP"
10202><TT
10203CLASS="PARAMETER"
10204><I
10205>len</I
10206></TT
10207>&nbsp;:</TD
10208><TD
10209WIDTH="80%"
10210ALIGN="LEFT"
10211VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010212> pointer to the length of the char read (or zero)</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010213></TR
10214><TR
10215><TD
10216WIDTH="20%"
10217ALIGN="RIGHT"
10218VALIGN="TOP"
10219><TT
10220CLASS="PARAMETER"
10221><I
10222>out</I
10223></TT
10224>&nbsp;:</TD
10225><TD
10226WIDTH="80%"
10227ALIGN="LEFT"
10228VALIGN="TOP"
10229>&nbsp;</TD
10230></TR
10231><TR
10232><TD
10233WIDTH="20%"
10234ALIGN="RIGHT"
10235VALIGN="TOP"
10236><TT
10237CLASS="PARAMETER"
10238><I
10239>val</I
10240></TT
10241>&nbsp;:</TD
10242><TD
10243WIDTH="80%"
10244ALIGN="LEFT"
10245VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010246> the char value</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010247></TR
10248><TR
10249><TD
10250WIDTH="20%"
10251ALIGN="RIGHT"
10252VALIGN="TOP"
10253><I
10254CLASS="EMPHASIS"
10255>Returns</I
10256> :</TD
10257><TD
10258WIDTH="80%"
10259ALIGN="LEFT"
10260VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010261>the number of xmlChar written</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010262></TR
10263></TABLE
10264><P
10265></P
10266></DIV
10267></DIV
10268><HR><DIV
10269CLASS="REFSECT2"
10270><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +000010271NAME="AEN17510"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010272></A
10273><H3
10274><A
10275NAME="XMLNEXTCHAR"
10276></A
10277>xmlNextChar ()</H3
10278><TABLE
10279BORDER="0"
10280BGCOLOR="#D6E8FF"
10281WIDTH="100%"
10282CELLPADDING="6"
10283><TR
10284><TD
10285><PRE
10286CLASS="PROGRAMLISTING"
10287>void xmlNextChar (<A
10288HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
10289>xmlParserCtxtPtr</A
10290> ctxt);</PRE
10291></TD
10292></TR
10293></TABLE
10294><P
10295>Skip to the next char input char.</P
10296><P
10297></P
10298><DIV
10299CLASS="INFORMALTABLE"
10300><P
10301></P
10302><TABLE
10303BORDER="0"
10304WIDTH="100%"
10305BGCOLOR="#FFD0D0"
10306CELLSPACING="0"
10307CELLPADDING="4"
10308CLASS="CALSTABLE"
10309><TR
10310><TD
10311WIDTH="20%"
10312ALIGN="RIGHT"
10313VALIGN="TOP"
10314><TT
10315CLASS="PARAMETER"
10316><I
10317>ctxt</I
10318></TT
10319>&nbsp;:</TD
10320><TD
10321WIDTH="80%"
10322ALIGN="LEFT"
10323VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010324> the XML parser context</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010325></TR
10326></TABLE
10327><P
10328></P
10329></DIV
10330></DIV
10331><HR><DIV
10332CLASS="REFSECT2"
10333><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +000010334NAME="AEN17526"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010335></A
10336><H3
10337><A
10338NAME="XMLPARSERINPUTSHRINK"
10339></A
10340>xmlParserInputShrink ()</H3
10341><TABLE
10342BORDER="0"
10343BGCOLOR="#D6E8FF"
10344WIDTH="100%"
10345CELLPADDING="6"
10346><TR
10347><TD
10348><PRE
10349CLASS="PROGRAMLISTING"
10350>void xmlParserInputShrink (<A
10351HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
10352>xmlParserInputPtr</A
10353> in);</PRE
10354></TD
10355></TR
10356></TABLE
10357><P
10358>This function removes used input for the parser.</P
10359><P
10360></P
10361><DIV
10362CLASS="INFORMALTABLE"
10363><P
10364></P
10365><TABLE
10366BORDER="0"
10367WIDTH="100%"
10368BGCOLOR="#FFD0D0"
10369CELLSPACING="0"
10370CELLPADDING="4"
10371CLASS="CALSTABLE"
10372><TR
10373><TD
10374WIDTH="20%"
10375ALIGN="RIGHT"
10376VALIGN="TOP"
10377><TT
10378CLASS="PARAMETER"
10379><I
10380>in</I
10381></TT
10382>&nbsp;:</TD
10383><TD
10384WIDTH="80%"
10385ALIGN="LEFT"
10386VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010387> an XML parser input</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010388></TR
10389></TABLE
10390><P
10391></P
10392></DIV
10393></DIV
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010394><HR><DIV
10395CLASS="REFSECT2"
10396><A
Daniel Veillarda1fe9102000-11-25 10:49:25 +000010397NAME="AEN17542"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010398></A
10399><H3
10400><A
10401NAME="HTMLINITAUTOCLOSE"
10402></A
10403>htmlInitAutoClose ()</H3
10404><TABLE
10405BORDER="0"
10406BGCOLOR="#D6E8FF"
10407WIDTH="100%"
10408CELLPADDING="6"
10409><TR
10410><TD
10411><PRE
10412CLASS="PROGRAMLISTING"
10413>void htmlInitAutoClose (void);</PRE
10414></TD
10415></TR
10416></TABLE
10417><P
10418>Initialize the htmlStartCloseIndex for fast lookup of closing tags names.
10419This is not reentrant. Call <A
10420HREF="gnome-xml-parser.html#XMLINITPARSER"
10421>xmlInitParser</A
10422>() once before processing in
10423case of use in multithreaded programs.</P
10424><P
10425></P
10426></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +000010427></DIV
10428><DIV
10429CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +000010430><BR
10431CLEAR="all"><BR><TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +000010432WIDTH="100%"
10433BORDER="0"
10434BGCOLOR="#000000"
10435CELLPADDING="1"
10436CELLSPACING="0"
10437><TR
10438><TD
10439WIDTH="25%"
10440BGCOLOR="#C00000"
10441ALIGN="left"
10442><A
Daniel Veillard294cbca1999-12-03 13:19:09 +000010443HREF="gnome-xml-xmlio.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000010444><FONT
10445COLOR="#FFFFFF"
10446SIZE="3"
10447><B
10448>&#60;&#60;&#60; Previous Page</B
10449></FONT
10450></A
Daniel Veillard35925471999-02-25 08:46:07 +000010451></TD
10452><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010453WIDTH="25%"
10454BGCOLOR="#0000C0"
10455ALIGN="center"
10456><FONT
10457COLOR="#FFFFFF"
10458SIZE="3"
10459><B
10460><A
10461HREF="book1.html"
10462><FONT
10463COLOR="#FFFFFF"
10464SIZE="3"
10465><B
10466>Home</B
10467></FONT
10468></A
10469></B
10470></FONT
10471></TD
10472><TD
10473WIDTH="25%"
10474BGCOLOR="#00C000"
10475ALIGN="center"
10476><FONT
10477COLOR="#FFFFFF"
10478SIZE="3"
10479><B
10480><A
Daniel Veillard35008381999-10-25 13:15:52 +000010481HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000010482><FONT
10483COLOR="#FFFFFF"
10484SIZE="3"
10485><B
10486>Up</B
10487></FONT
10488></A
10489></B
10490></FONT
10491></TD
10492><TD
10493WIDTH="25%"
10494BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000010495ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010496><A
Daniel Veillard294cbca1999-12-03 13:19:09 +000010497HREF="gnome-xml-encoding.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010498><FONT
10499COLOR="#FFFFFF"
10500SIZE="3"
10501><B
10502>Next Page &#62;&#62;&#62;</B
10503></FONT
10504></A
10505></TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010506></TR
10507><TR
10508><TD
10509COLSPAN="2"
10510ALIGN="left"
10511><FONT
10512COLOR="#FFFFFF"
10513SIZE="3"
10514><B
Daniel Veillard294cbca1999-12-03 13:19:09 +000010515>xmlIO</B
Daniel Veillard14fff061999-06-22 21:49:07 +000010516></FONT
10517></TD
10518><TD
10519COLSPAN="2"
10520ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010521><FONT
10522COLOR="#FFFFFF"
10523SIZE="3"
10524><B
Daniel Veillard294cbca1999-12-03 13:19:09 +000010525>encoding</B
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010526></FONT
10527></TD
Daniel Veillard35925471999-02-25 08:46:07 +000010528></TR
10529></TABLE
10530></DIV
10531></BODY
10532></HTML
10533>