blob: b0e518ae26613c664ac160785bd682458e6ab6e6 [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 Veillard28929b22000-11-13 18:22:49 +0000118NAME="AEN14759"
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 Veillard28929b22000-11-13 18:22:49 +0000126NAME="AEN14762"
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
665HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTDECL"
666>xmlParseElementChildrenContentDecl</A
667>
668 (<A
669HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
670>xmlParserCtxtPtr</A
671> ctxt);
672int <A
673HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCONTENTDECL"
674>xmlParseElementContentDecl</A
675> (<A
676HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
677>xmlParserCtxtPtr</A
678> ctxt,
679 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000680HREF="gnome-xml-tree.html#XMLCHAR"
681>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000682> *name,
683 <A
684HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
685>xmlElementContentPtr</A
686> *result);
687int <A
688HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTDECL"
689>xmlParseElementDecl</A
690> (<A
691HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
692>xmlParserCtxtPtr</A
693> ctxt);
694void <A
695HREF="gnome-xml-parserinternals.html#XMLPARSEMARKUPDECL"
696>xmlParseMarkupDecl</A
697> (<A
698HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
699>xmlParserCtxtPtr</A
700> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000701int <A
Daniel Veillard35925471999-02-25 08:46:07 +0000702HREF="gnome-xml-parserinternals.html#XMLPARSECHARREF"
703>xmlParseCharRef</A
704> (<A
705HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
706>xmlParserCtxtPtr</A
707> ctxt);
708<A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000709HREF="gnome-xml-entities.html#XMLENTITYPTR"
710>xmlEntityPtr</A
711> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000712HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYREF"
713>xmlParseEntityRef</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000714> (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000715HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
716>xmlParserCtxtPtr</A
717> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000718void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000719HREF="gnome-xml-parserinternals.html#XMLPARSEREFERENCE"
720>xmlParseReference</A
721> (<A
722HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
723>xmlParserCtxtPtr</A
724> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000725void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000726HREF="gnome-xml-parserinternals.html#XMLPARSEPEREFERENCE"
727>xmlParsePEReference</A
728> (<A
729HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
730>xmlParserCtxtPtr</A
731> ctxt);
732void <A
733HREF="gnome-xml-parserinternals.html#XMLPARSEDOCTYPEDECL"
734>xmlParseDocTypeDecl</A
735> (<A
736HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
737>xmlParserCtxtPtr</A
738> ctxt);
739<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000740HREF="gnome-xml-tree.html#XMLCHAR"
741>xmlChar</A
742>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000743HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTE"
744>xmlParseAttribute</A
745> (<A
746HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
747>xmlParserCtxtPtr</A
748> ctxt,
749 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000750HREF="gnome-xml-tree.html#XMLCHAR"
751>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000752> **value);
Daniel Veillard14fff061999-06-22 21:49:07 +0000753<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000754HREF="gnome-xml-tree.html#XMLCHAR"
755>xmlChar</A
756>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000757HREF="gnome-xml-parserinternals.html#XMLPARSESTARTTAG"
758>xmlParseStartTag</A
759> (<A
760HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
761>xmlParserCtxtPtr</A
762> ctxt);
763void <A
764HREF="gnome-xml-parserinternals.html#XMLPARSEENDTAG"
765>xmlParseEndTag</A
766> (<A
767HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
768>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +0000769> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000770void <A
771HREF="gnome-xml-parserinternals.html#XMLPARSECDSECT"
772>xmlParseCDSect</A
773> (<A
774HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
775>xmlParserCtxtPtr</A
776> ctxt);
777void <A
778HREF="gnome-xml-parserinternals.html#XMLPARSECONTENT"
779>xmlParseContent</A
780> (<A
781HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
782>xmlParserCtxtPtr</A
783> ctxt);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000784void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000785HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENT"
786>xmlParseElement</A
787> (<A
788HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
789>xmlParserCtxtPtr</A
790> ctxt);
791<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000792HREF="gnome-xml-tree.html#XMLCHAR"
793>xmlChar</A
794>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000795HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONNUM"
796>xmlParseVersionNum</A
797> (<A
798HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
799>xmlParserCtxtPtr</A
800> ctxt);
801<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000802HREF="gnome-xml-tree.html#XMLCHAR"
803>xmlChar</A
804>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000805HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONINFO"
806>xmlParseVersionInfo</A
807> (<A
808HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
809>xmlParserCtxtPtr</A
810> ctxt);
811<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000812HREF="gnome-xml-tree.html#XMLCHAR"
813>xmlChar</A
814>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000815HREF="gnome-xml-parserinternals.html#XMLPARSEENCNAME"
816>xmlParseEncName</A
817> (<A
818HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
819>xmlParserCtxtPtr</A
820> ctxt);
821<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000822HREF="gnome-xml-tree.html#XMLCHAR"
823>xmlChar</A
824>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000825HREF="gnome-xml-parserinternals.html#XMLPARSEENCODINGDECL"
826>xmlParseEncodingDecl</A
827> (<A
828HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
829>xmlParserCtxtPtr</A
830> ctxt);
831int <A
832HREF="gnome-xml-parserinternals.html#XMLPARSESDDECL"
833>xmlParseSDDecl</A
834> (<A
835HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
836>xmlParserCtxtPtr</A
837> ctxt);
838void <A
839HREF="gnome-xml-parserinternals.html#XMLPARSEXMLDECL"
840>xmlParseXMLDecl</A
841> (<A
842HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
843>xmlParserCtxtPtr</A
844> ctxt);
845void <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000846HREF="gnome-xml-parserinternals.html#XMLPARSETEXTDECL"
847>xmlParseTextDecl</A
848> (<A
849HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
850>xmlParserCtxtPtr</A
851> ctxt);
852void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000853HREF="gnome-xml-parserinternals.html#XMLPARSEMISC"
854>xmlParseMisc</A
855> (<A
856HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
857>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000858> ctxt);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000859void <A
860HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALSUBSET"
861>xmlParseExternalSubset</A
862> (<A
863HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
864>xmlParserCtxtPtr</A
865> ctxt,
866 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000867HREF="gnome-xml-tree.html#XMLCHAR"
868>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000869> *ExternalID,
870 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000871HREF="gnome-xml-tree.html#XMLCHAR"
872>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000873> *SystemID);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000874#define <A
875HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-NONE"
876>XML_SUBSTITUTE_NONE</A
877>
878#define <A
879HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-REF"
880>XML_SUBSTITUTE_REF</A
881>
882#define <A
883HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-PEREF"
884>XML_SUBSTITUTE_PEREF</A
885>
886#define <A
887HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-BOTH"
888>XML_SUBSTITUTE_BOTH</A
889>
890<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000891HREF="gnome-xml-tree.html#XMLCHAR"
892>xmlChar</A
893>* <A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000894HREF="gnome-xml-parserinternals.html#XMLDECODEENTITIES"
895>xmlDecodeEntities</A
896> (<A
897HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
898>xmlParserCtxtPtr</A
899> ctxt,
900 int len,
901 int what,
902 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000903HREF="gnome-xml-tree.html#XMLCHAR"
904>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000905> end,
906 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000907HREF="gnome-xml-tree.html#XMLCHAR"
908>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000909> end2,
910 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000911HREF="gnome-xml-tree.html#XMLCHAR"
912>xmlChar</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000913> end3);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000914<A
915HREF="gnome-xml-tree.html#XMLCHAR"
916>xmlChar</A
917>* <A
918HREF="gnome-xml-parserinternals.html#XMLSTRINGDECODEENTITIES"
919>xmlStringDecodeEntities</A
920> (<A
921HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
922>xmlParserCtxtPtr</A
923> ctxt,
924 const <A
925HREF="gnome-xml-tree.html#XMLCHAR"
926>xmlChar</A
927> *str,
928 int what,
929 <A
930HREF="gnome-xml-tree.html#XMLCHAR"
931>xmlChar</A
932> end,
933 <A
934HREF="gnome-xml-tree.html#XMLCHAR"
935>xmlChar</A
936> end2,
937 <A
938HREF="gnome-xml-tree.html#XMLCHAR"
939>xmlChar</A
940> end3);
Daniel Veillard14fff061999-06-22 21:49:07 +0000941int <A
942HREF="gnome-xml-parserinternals.html#NODEPUSH"
943>nodePush</A
944> (<A
945HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
946>xmlParserCtxtPtr</A
947> ctxt,
948 <A
949HREF="gnome-xml-tree.html#XMLNODEPTR"
950>xmlNodePtr</A
951> value);
952<A
953HREF="gnome-xml-tree.html#XMLNODEPTR"
954>xmlNodePtr</A
955> <A
956HREF="gnome-xml-parserinternals.html#NODEPOP"
957>nodePop</A
958> (<A
959HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
960>xmlParserCtxtPtr</A
961> ctxt);
962int <A
963HREF="gnome-xml-parserinternals.html#INPUTPUSH"
964>inputPush</A
965> (<A
966HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
967>xmlParserCtxtPtr</A
968> ctxt,
969 <A
970HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
971>xmlParserInputPtr</A
972> value);
973<A
974HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
975>xmlParserInputPtr</A
976> <A
977HREF="gnome-xml-parserinternals.html#INPUTPOP"
978>inputPop</A
979> (<A
980HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
981>xmlParserCtxtPtr</A
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000982> ctxt);
983int <A
Daniel Veillard3bff2b02000-10-01 20:33:47 +0000984HREF="gnome-xml-parserinternals.html#XMLSKIPBLANKCHARS"
985>xmlSkipBlankChars</A
986> (<A
987HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
988>xmlParserCtxtPtr</A
989> ctxt);
990int <A
991HREF="gnome-xml-parserinternals.html#XMLSTRINGCURRENTCHAR"
992>xmlStringCurrentChar</A
993> (<A
994HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
995>xmlParserCtxtPtr</A
996> ctxt,
997 const <A
998HREF="gnome-xml-tree.html#XMLCHAR"
999>xmlChar</A
1000> *cur,
1001 int *len);
1002void <A
1003HREF="gnome-xml-parserinternals.html#XMLPARSERHANDLEPEREFERENCE"
1004>xmlParserHandlePEReference</A
1005> (<A
1006HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1007>xmlParserCtxtPtr</A
1008> ctxt);
1009void <A
1010HREF="gnome-xml-parserinternals.html#XMLPARSERHANDLEREFERENCE"
1011>xmlParserHandleReference</A
1012> (<A
1013HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1014>xmlParserCtxtPtr</A
1015> ctxt);
1016<A
1017HREF="gnome-xml-tree.html#XMLCHAR"
1018>xmlChar</A
1019>* <A
1020HREF="gnome-xml-parserinternals.html#NAMEPOP"
1021>namePop</A
1022> (<A
1023HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1024>xmlParserCtxtPtr</A
1025> ctxt);
1026int <A
1027HREF="gnome-xml-parserinternals.html#XMLCHECKLANGUAGEID"
1028>xmlCheckLanguageID</A
1029> (const <A
1030HREF="gnome-xml-tree.html#XMLCHAR"
1031>xmlChar</A
1032> *lang);
1033int <A
Daniel Veillarde46e20d2000-07-14 15:02:46 +00001034HREF="gnome-xml-parserinternals.html#XMLCURRENTCHAR"
1035>xmlCurrentChar</A
1036> (<A
1037HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1038>xmlParserCtxtPtr</A
1039> ctxt,
1040 int *len);
1041int <A
1042HREF="gnome-xml-parserinternals.html#XMLCOPYCHAR"
1043>xmlCopyChar</A
1044> (int len,
1045 <A
1046HREF="gnome-xml-tree.html#XMLCHAR"
1047>xmlChar</A
1048> *out,
1049 int val);
1050void <A
1051HREF="gnome-xml-parserinternals.html#XMLNEXTCHAR"
1052>xmlNextChar</A
1053> (<A
1054HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1055>xmlParserCtxtPtr</A
1056> ctxt);
1057void <A
1058HREF="gnome-xml-parserinternals.html#XMLPARSERINPUTSHRINK"
1059>xmlParserInputShrink</A
1060> (<A
1061HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
1062>xmlParserInputPtr</A
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001063> in);
1064void <A
1065HREF="gnome-xml-parserinternals.html#HTMLINITAUTOCLOSE"
1066>htmlInitAutoClose</A
1067> (void);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001068></TD
1069></TR
1070></TABLE
1071></DIV
1072><DIV
1073CLASS="REFSECT1"
1074><A
Daniel Veillard28929b22000-11-13 18:22:49 +00001075NAME="AEN15023"
Daniel Veillard35925471999-02-25 08:46:07 +00001076></A
1077><H2
1078>Description</H2
1079><P
1080></P
1081></DIV
1082><DIV
1083CLASS="REFSECT1"
1084><A
Daniel Veillard28929b22000-11-13 18:22:49 +00001085NAME="AEN15026"
Daniel Veillard35925471999-02-25 08:46:07 +00001086></A
1087><H2
1088>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +00001089><DIV
Daniel Veillard35925471999-02-25 08:46:07 +00001090CLASS="REFSECT2"
1091><A
Daniel Veillard28929b22000-11-13 18:22:49 +00001092NAME="AEN15028"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001093></A
1094><H3
1095><A
1096NAME="XML-MAX-NAMELEN"
1097></A
1098>XML_MAX_NAMELEN</H3
1099><TABLE
1100BORDER="0"
1101BGCOLOR="#D6E8FF"
1102WIDTH="100%"
1103CELLPADDING="6"
1104><TR
1105><TD
1106><PRE
1107CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001108>#define XML_MAX_NAMELEN 100</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001109></TD
1110></TR
1111></TABLE
1112><P
1113></P
1114></DIV
1115><HR><DIV
1116CLASS="REFSECT2"
1117><A
Daniel Veillard28929b22000-11-13 18:22:49 +00001118NAME="AEN15033"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001119></A
1120><H3
1121><A
1122NAME="INPUT-CHUNK"
1123></A
1124>INPUT_CHUNK</H3
1125><TABLE
1126BORDER="0"
1127BGCOLOR="#D6E8FF"
1128WIDTH="100%"
1129CELLPADDING="6"
1130><TR
1131><TD
1132><PRE
1133CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001134>#define INPUT_CHUNK 250</PRE
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001135></TD
1136></TR
1137></TABLE
1138><P
1139></P
1140></DIV
1141><HR><DIV
1142CLASS="REFSECT2"
1143><A
Daniel Veillard28929b22000-11-13 18:22:49 +00001144NAME="AEN15038"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001145></A
1146><H3
1147><A
1148NAME="IS-CHAR"
1149></A
1150>IS_CHAR()</H3
1151><TABLE
1152BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001153BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001154WIDTH="100%"
1155CELLPADDING="6"
1156><TR
1157><TD
1158><PRE
1159CLASS="PROGRAMLISTING"
1160>#define IS_CHAR(c)</PRE
1161></TD
1162></TR
1163></TABLE
1164><P
1165></P
1166><DIV
1167CLASS="INFORMALTABLE"
1168><P
1169></P
1170><TABLE
1171BORDER="0"
1172WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001173BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001174CELLSPACING="0"
1175CELLPADDING="4"
1176CLASS="CALSTABLE"
1177><TR
1178><TD
1179WIDTH="20%"
1180ALIGN="RIGHT"
1181VALIGN="TOP"
1182><TT
1183CLASS="PARAMETER"
1184><I
1185>c</I
1186></TT
1187>&nbsp;:</TD
1188><TD
1189WIDTH="80%"
1190ALIGN="LEFT"
1191VALIGN="TOP"
1192>&nbsp;</TD
1193></TR
1194></TABLE
1195><P
1196></P
1197></DIV
1198></DIV
1199><HR><DIV
1200CLASS="REFSECT2"
1201><A
Daniel Veillard28929b22000-11-13 18:22:49 +00001202NAME="AEN15052"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001203></A
1204><H3
1205><A
1206NAME="IS-BLANK"
1207></A
1208>IS_BLANK()</H3
1209><TABLE
1210BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001211BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001212WIDTH="100%"
1213CELLPADDING="6"
1214><TR
1215><TD
1216><PRE
1217CLASS="PROGRAMLISTING"
1218>#define IS_BLANK(c)</PRE
1219></TD
1220></TR
1221></TABLE
1222><P
1223></P
1224><DIV
1225CLASS="INFORMALTABLE"
1226><P
1227></P
1228><TABLE
1229BORDER="0"
1230WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001231BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001232CELLSPACING="0"
1233CELLPADDING="4"
1234CLASS="CALSTABLE"
1235><TR
1236><TD
1237WIDTH="20%"
1238ALIGN="RIGHT"
1239VALIGN="TOP"
1240><TT
1241CLASS="PARAMETER"
1242><I
1243>c</I
1244></TT
1245>&nbsp;:</TD
1246><TD
1247WIDTH="80%"
1248ALIGN="LEFT"
1249VALIGN="TOP"
1250>&nbsp;</TD
1251></TR
1252></TABLE
1253><P
1254></P
1255></DIV
1256></DIV
1257><HR><DIV
1258CLASS="REFSECT2"
1259><A
Daniel Veillard28929b22000-11-13 18:22:49 +00001260NAME="AEN15066"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001261></A
1262><H3
1263><A
1264NAME="IS-BASECHAR"
1265></A
1266>IS_BASECHAR()</H3
1267><TABLE
1268BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001269BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001270WIDTH="100%"
1271CELLPADDING="6"
1272><TR
1273><TD
1274><PRE
1275CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001276>#define IS_BASECHAR(c) xmlIsBaseChar(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001277></TD
1278></TR
1279></TABLE
1280><P
1281></P
1282><DIV
1283CLASS="INFORMALTABLE"
1284><P
1285></P
1286><TABLE
1287BORDER="0"
1288WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001289BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001290CELLSPACING="0"
1291CELLPADDING="4"
1292CLASS="CALSTABLE"
1293><TR
1294><TD
1295WIDTH="20%"
1296ALIGN="RIGHT"
1297VALIGN="TOP"
1298><TT
1299CLASS="PARAMETER"
1300><I
1301>c</I
1302></TT
1303>&nbsp;:</TD
1304><TD
1305WIDTH="80%"
1306ALIGN="LEFT"
1307VALIGN="TOP"
1308>&nbsp;</TD
1309></TR
1310></TABLE
1311><P
1312></P
1313></DIV
1314></DIV
1315><HR><DIV
1316CLASS="REFSECT2"
1317><A
Daniel Veillard28929b22000-11-13 18:22:49 +00001318NAME="AEN15080"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001319></A
1320><H3
1321><A
1322NAME="IS-DIGIT"
1323></A
1324>IS_DIGIT()</H3
1325><TABLE
1326BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001327BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001328WIDTH="100%"
1329CELLPADDING="6"
1330><TR
1331><TD
1332><PRE
1333CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001334>#define IS_DIGIT(c) xmlIsDigit(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001335></TD
1336></TR
1337></TABLE
1338><P
1339></P
1340><DIV
1341CLASS="INFORMALTABLE"
1342><P
1343></P
1344><TABLE
1345BORDER="0"
1346WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001347BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001348CELLSPACING="0"
1349CELLPADDING="4"
1350CLASS="CALSTABLE"
1351><TR
1352><TD
1353WIDTH="20%"
1354ALIGN="RIGHT"
1355VALIGN="TOP"
1356><TT
1357CLASS="PARAMETER"
1358><I
1359>c</I
1360></TT
1361>&nbsp;:</TD
1362><TD
1363WIDTH="80%"
1364ALIGN="LEFT"
1365VALIGN="TOP"
1366>&nbsp;</TD
1367></TR
1368></TABLE
1369><P
1370></P
1371></DIV
1372></DIV
1373><HR><DIV
1374CLASS="REFSECT2"
1375><A
Daniel Veillard28929b22000-11-13 18:22:49 +00001376NAME="AEN15094"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001377></A
1378><H3
1379><A
1380NAME="IS-COMBINING"
1381></A
1382>IS_COMBINING()</H3
1383><TABLE
1384BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001385BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001386WIDTH="100%"
1387CELLPADDING="6"
1388><TR
1389><TD
1390><PRE
1391CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001392>#define IS_COMBINING(c) xmlIsCombining(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001393></TD
1394></TR
1395></TABLE
1396><P
1397></P
1398><DIV
1399CLASS="INFORMALTABLE"
1400><P
1401></P
1402><TABLE
1403BORDER="0"
1404WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001405BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001406CELLSPACING="0"
1407CELLPADDING="4"
1408CLASS="CALSTABLE"
1409><TR
1410><TD
1411WIDTH="20%"
1412ALIGN="RIGHT"
1413VALIGN="TOP"
1414><TT
1415CLASS="PARAMETER"
1416><I
1417>c</I
1418></TT
1419>&nbsp;:</TD
1420><TD
1421WIDTH="80%"
1422ALIGN="LEFT"
1423VALIGN="TOP"
1424>&nbsp;</TD
1425></TR
1426></TABLE
1427><P
1428></P
1429></DIV
1430></DIV
1431><HR><DIV
1432CLASS="REFSECT2"
1433><A
Daniel Veillard28929b22000-11-13 18:22:49 +00001434NAME="AEN15108"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001435></A
1436><H3
1437><A
1438NAME="IS-EXTENDER"
1439></A
1440>IS_EXTENDER()</H3
1441><TABLE
1442BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001443BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001444WIDTH="100%"
1445CELLPADDING="6"
1446><TR
1447><TD
1448><PRE
1449CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001450>#define IS_EXTENDER(c) xmlIsExtender(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001451></TD
1452></TR
1453></TABLE
1454><P
1455></P
1456><DIV
1457CLASS="INFORMALTABLE"
1458><P
1459></P
1460><TABLE
1461BORDER="0"
1462WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001463BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001464CELLSPACING="0"
1465CELLPADDING="4"
1466CLASS="CALSTABLE"
1467><TR
1468><TD
1469WIDTH="20%"
1470ALIGN="RIGHT"
1471VALIGN="TOP"
1472><TT
1473CLASS="PARAMETER"
1474><I
1475>c</I
1476></TT
1477>&nbsp;:</TD
1478><TD
1479WIDTH="80%"
1480ALIGN="LEFT"
1481VALIGN="TOP"
1482>&nbsp;</TD
1483></TR
1484></TABLE
1485><P
1486></P
1487></DIV
1488></DIV
1489><HR><DIV
1490CLASS="REFSECT2"
1491><A
Daniel Veillard28929b22000-11-13 18:22:49 +00001492NAME="AEN15122"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001493></A
1494><H3
1495><A
1496NAME="IS-IDEOGRAPHIC"
1497></A
1498>IS_IDEOGRAPHIC()</H3
1499><TABLE
1500BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001501BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001502WIDTH="100%"
1503CELLPADDING="6"
1504><TR
1505><TD
1506><PRE
1507CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001508>#define IS_IDEOGRAPHIC(c) xmlIsIdeographic(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001509></TD
1510></TR
1511></TABLE
1512><P
1513></P
1514><DIV
1515CLASS="INFORMALTABLE"
1516><P
1517></P
1518><TABLE
1519BORDER="0"
1520WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001521BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001522CELLSPACING="0"
1523CELLPADDING="4"
1524CLASS="CALSTABLE"
1525><TR
1526><TD
1527WIDTH="20%"
1528ALIGN="RIGHT"
1529VALIGN="TOP"
1530><TT
1531CLASS="PARAMETER"
1532><I
1533>c</I
1534></TT
1535>&nbsp;:</TD
1536><TD
1537WIDTH="80%"
1538ALIGN="LEFT"
1539VALIGN="TOP"
1540>&nbsp;</TD
1541></TR
1542></TABLE
1543><P
1544></P
1545></DIV
1546></DIV
1547><HR><DIV
1548CLASS="REFSECT2"
1549><A
Daniel Veillard28929b22000-11-13 18:22:49 +00001550NAME="AEN15136"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001551></A
1552><H3
1553><A
1554NAME="IS-LETTER"
1555></A
1556>IS_LETTER()</H3
1557><TABLE
1558BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001559BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001560WIDTH="100%"
1561CELLPADDING="6"
1562><TR
1563><TD
1564><PRE
1565CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001566>#define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c))</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001567></TD
1568></TR
1569></TABLE
1570><P
1571></P
1572><DIV
1573CLASS="INFORMALTABLE"
1574><P
1575></P
1576><TABLE
1577BORDER="0"
1578WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001579BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001580CELLSPACING="0"
1581CELLPADDING="4"
1582CLASS="CALSTABLE"
1583><TR
1584><TD
1585WIDTH="20%"
1586ALIGN="RIGHT"
1587VALIGN="TOP"
1588><TT
1589CLASS="PARAMETER"
1590><I
1591>c</I
1592></TT
1593>&nbsp;:</TD
1594><TD
1595WIDTH="80%"
1596ALIGN="LEFT"
1597VALIGN="TOP"
1598>&nbsp;</TD
1599></TR
1600></TABLE
1601><P
1602></P
1603></DIV
1604></DIV
1605><HR><DIV
1606CLASS="REFSECT2"
1607><A
Daniel Veillard28929b22000-11-13 18:22:49 +00001608NAME="AEN15150"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001609></A
1610><H3
1611><A
1612NAME="IS-PUBIDCHAR"
1613></A
1614>IS_PUBIDCHAR()</H3
1615><TABLE
1616BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001617BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001618WIDTH="100%"
1619CELLPADDING="6"
1620><TR
1621><TD
1622><PRE
1623CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001624>#define IS_PUBIDCHAR(c) xmlIsPubidChar(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001625></TD
1626></TR
1627></TABLE
1628><P
1629></P
1630><DIV
1631CLASS="INFORMALTABLE"
1632><P
1633></P
1634><TABLE
1635BORDER="0"
1636WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001637BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001638CELLSPACING="0"
1639CELLPADDING="4"
1640CLASS="CALSTABLE"
1641><TR
1642><TD
1643WIDTH="20%"
1644ALIGN="RIGHT"
1645VALIGN="TOP"
1646><TT
1647CLASS="PARAMETER"
1648><I
1649>c</I
1650></TT
1651>&nbsp;:</TD
1652><TD
1653WIDTH="80%"
1654ALIGN="LEFT"
1655VALIGN="TOP"
1656>&nbsp;</TD
1657></TR
1658></TABLE
1659><P
1660></P
1661></DIV
1662></DIV
1663><HR><DIV
1664CLASS="REFSECT2"
1665><A
Daniel Veillard28929b22000-11-13 18:22:49 +00001666NAME="AEN15164"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001667></A
1668><H3
1669><A
1670NAME="SKIP-EOL"
1671></A
1672>SKIP_EOL()</H3
1673><TABLE
1674BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001675BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001676WIDTH="100%"
1677CELLPADDING="6"
1678><TR
1679><TD
1680><PRE
1681CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001682>#define SKIP_EOL(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001683></TD
1684></TR
1685></TABLE
1686><P
1687></P
1688><DIV
1689CLASS="INFORMALTABLE"
1690><P
1691></P
1692><TABLE
1693BORDER="0"
1694WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001695BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001696CELLSPACING="0"
1697CELLPADDING="4"
1698CLASS="CALSTABLE"
1699><TR
1700><TD
1701WIDTH="20%"
1702ALIGN="RIGHT"
1703VALIGN="TOP"
1704><TT
1705CLASS="PARAMETER"
1706><I
1707>p</I
1708></TT
1709>&nbsp;:</TD
1710><TD
1711WIDTH="80%"
1712ALIGN="LEFT"
1713VALIGN="TOP"
1714>&nbsp;</TD
1715></TR
1716></TABLE
1717><P
1718></P
1719></DIV
1720></DIV
1721><HR><DIV
1722CLASS="REFSECT2"
1723><A
Daniel Veillard28929b22000-11-13 18:22:49 +00001724NAME="AEN15178"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001725></A
1726><H3
1727><A
1728NAME="MOVETO-ENDTAG"
1729></A
1730>MOVETO_ENDTAG()</H3
1731><TABLE
1732BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001733BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001734WIDTH="100%"
1735CELLPADDING="6"
1736><TR
1737><TD
1738><PRE
1739CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001740>#define MOVETO_ENDTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001741></TD
1742></TR
1743></TABLE
1744><P
1745></P
1746><DIV
1747CLASS="INFORMALTABLE"
1748><P
1749></P
1750><TABLE
1751BORDER="0"
1752WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001753BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001754CELLSPACING="0"
1755CELLPADDING="4"
1756CLASS="CALSTABLE"
1757><TR
1758><TD
1759WIDTH="20%"
1760ALIGN="RIGHT"
1761VALIGN="TOP"
1762><TT
1763CLASS="PARAMETER"
1764><I
1765>p</I
1766></TT
1767>&nbsp;:</TD
1768><TD
1769WIDTH="80%"
1770ALIGN="LEFT"
1771VALIGN="TOP"
1772>&nbsp;</TD
1773></TR
1774></TABLE
1775><P
1776></P
1777></DIV
1778></DIV
1779><HR><DIV
1780CLASS="REFSECT2"
1781><A
Daniel Veillard28929b22000-11-13 18:22:49 +00001782NAME="AEN15192"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001783></A
1784><H3
1785><A
1786NAME="MOVETO-STARTTAG"
1787></A
1788>MOVETO_STARTTAG()</H3
1789><TABLE
1790BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001791BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001792WIDTH="100%"
1793CELLPADDING="6"
1794><TR
1795><TD
1796><PRE
1797CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001798>#define MOVETO_STARTTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001799></TD
1800></TR
1801></TABLE
1802><P
1803></P
1804><DIV
1805CLASS="INFORMALTABLE"
1806><P
1807></P
1808><TABLE
1809BORDER="0"
1810WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001811BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001812CELLSPACING="0"
1813CELLPADDING="4"
1814CLASS="CALSTABLE"
1815><TR
1816><TD
1817WIDTH="20%"
1818ALIGN="RIGHT"
1819VALIGN="TOP"
1820><TT
1821CLASS="PARAMETER"
1822><I
1823>p</I
1824></TT
1825>&nbsp;:</TD
1826><TD
1827WIDTH="80%"
1828ALIGN="LEFT"
1829VALIGN="TOP"
1830>&nbsp;</TD
1831></TR
1832></TABLE
1833><P
1834></P
1835></DIV
1836></DIV
1837><HR><DIV
1838CLASS="REFSECT2"
1839><A
Daniel Veillard28929b22000-11-13 18:22:49 +00001840NAME="AEN15206"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001841></A
1842><H3
1843><A
1844NAME="XMLISBASECHAR"
1845></A
1846>xmlIsBaseChar ()</H3
1847><TABLE
1848BORDER="0"
1849BGCOLOR="#D6E8FF"
1850WIDTH="100%"
1851CELLPADDING="6"
1852><TR
1853><TD
1854><PRE
1855CLASS="PROGRAMLISTING"
1856>int xmlIsBaseChar (int c);</PRE
1857></TD
1858></TR
1859></TABLE
1860><P
1861>Check whether the character is allowed by the production
1862[85] BaseChar ::= ... long list see REC ...</P
1863><P
1864>VI is your friend !
1865:1,$ s/\[<GTKDOCLINK
1866HREF="X"
1867>x</GTKDOCLINK
1868>\([0-9A-Z]*\)-<GTKDOCLINK
1869HREF="X"
1870>x</GTKDOCLINK
1871>\([0-9A-Z]*\)\]/ (((c) &gt;= 0x\1) \&amp;\&amp; ((c) &lt;= 0x\2)) ||/
1872and
1873:1,$ s/<GTKDOCLINK
1874HREF="X"
1875>x</GTKDOCLINK
1876>\([0-9A-Z]*\)/ ((c) == 0x\1) ||/</P
1877><P
1878></P
1879><DIV
1880CLASS="INFORMALTABLE"
1881><P
1882></P
1883><TABLE
1884BORDER="0"
1885WIDTH="100%"
1886BGCOLOR="#FFD0D0"
1887CELLSPACING="0"
1888CELLPADDING="4"
1889CLASS="CALSTABLE"
1890><TR
1891><TD
1892WIDTH="20%"
1893ALIGN="RIGHT"
1894VALIGN="TOP"
1895><TT
1896CLASS="PARAMETER"
1897><I
1898>c</I
1899></TT
1900>&nbsp;:</TD
1901><TD
1902WIDTH="80%"
1903ALIGN="LEFT"
1904VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001905> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001906></TR
1907><TR
1908><TD
1909WIDTH="20%"
1910ALIGN="RIGHT"
1911VALIGN="TOP"
1912><I
1913CLASS="EMPHASIS"
1914>Returns</I
1915> :</TD
1916><TD
1917WIDTH="80%"
1918ALIGN="LEFT"
1919VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001920>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001921></TR
1922></TABLE
1923><P
1924></P
1925></DIV
1926></DIV
1927><HR><DIV
1928CLASS="REFSECT2"
1929><A
Daniel Veillard28929b22000-11-13 18:22:49 +00001930NAME="AEN15229"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001931></A
1932><H3
1933><A
1934NAME="XMLISBLANK"
1935></A
1936>xmlIsBlank ()</H3
1937><TABLE
1938BORDER="0"
1939BGCOLOR="#D6E8FF"
1940WIDTH="100%"
1941CELLPADDING="6"
1942><TR
1943><TD
1944><PRE
1945CLASS="PROGRAMLISTING"
1946>int xmlIsBlank (int c);</PRE
1947></TD
1948></TR
1949></TABLE
1950><P
1951>Check whether the character is allowed by the production
1952[3] S ::= (<GTKDOCLINK
1953HREF="X20"
1954>x20</GTKDOCLINK
1955> | <GTKDOCLINK
1956HREF="X9"
1957>x9</GTKDOCLINK
1958> | <GTKDOCLINK
1959HREF="XD"
1960>xD</GTKDOCLINK
1961> | <GTKDOCLINK
1962HREF="XA"
1963>xA</GTKDOCLINK
1964>)+
1965Also available as a macro <A
1966HREF="gnome-xml-parserinternals.html#IS-BLANK"
1967>IS_BLANK</A
1968>()</P
1969><P
1970></P
1971><DIV
1972CLASS="INFORMALTABLE"
1973><P
1974></P
1975><TABLE
1976BORDER="0"
1977WIDTH="100%"
1978BGCOLOR="#FFD0D0"
1979CELLSPACING="0"
1980CELLPADDING="4"
1981CLASS="CALSTABLE"
1982><TR
1983><TD
1984WIDTH="20%"
1985ALIGN="RIGHT"
1986VALIGN="TOP"
1987><TT
1988CLASS="PARAMETER"
1989><I
1990>c</I
1991></TT
1992>&nbsp;:</TD
1993><TD
1994WIDTH="80%"
1995ALIGN="LEFT"
1996VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00001997> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00001998></TR
1999><TR
2000><TD
2001WIDTH="20%"
2002ALIGN="RIGHT"
2003VALIGN="TOP"
2004><I
2005CLASS="EMPHASIS"
2006>Returns</I
2007> :</TD
2008><TD
2009WIDTH="80%"
2010ALIGN="LEFT"
2011VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002012>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002013></TR
2014></TABLE
2015><P
2016></P
2017></DIV
2018></DIV
2019><HR><DIV
2020CLASS="REFSECT2"
2021><A
Daniel Veillard28929b22000-11-13 18:22:49 +00002022NAME="AEN15253"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002023></A
2024><H3
2025><A
2026NAME="XMLISPUBIDCHAR"
2027></A
2028>xmlIsPubidChar ()</H3
2029><TABLE
2030BORDER="0"
2031BGCOLOR="#D6E8FF"
2032WIDTH="100%"
2033CELLPADDING="6"
2034><TR
2035><TD
2036><PRE
2037CLASS="PROGRAMLISTING"
2038>int xmlIsPubidChar (int c);</PRE
2039></TD
2040></TR
2041></TABLE
2042><P
2043>Check whether the character is allowed by the production
2044[13] PubidChar ::= <GTKDOCLINK
2045HREF="X20"
2046>x20</GTKDOCLINK
2047> | <GTKDOCLINK
2048HREF="XD"
2049>xD</GTKDOCLINK
2050> | <GTKDOCLINK
2051HREF="XA"
2052>xA</GTKDOCLINK
2053> | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]</P
2054><P
2055></P
2056><DIV
2057CLASS="INFORMALTABLE"
2058><P
2059></P
2060><TABLE
2061BORDER="0"
2062WIDTH="100%"
2063BGCOLOR="#FFD0D0"
2064CELLSPACING="0"
2065CELLPADDING="4"
2066CLASS="CALSTABLE"
2067><TR
2068><TD
2069WIDTH="20%"
2070ALIGN="RIGHT"
2071VALIGN="TOP"
2072><TT
2073CLASS="PARAMETER"
2074><I
2075>c</I
2076></TT
2077>&nbsp;:</TD
2078><TD
2079WIDTH="80%"
2080ALIGN="LEFT"
2081VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002082> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002083></TR
2084><TR
2085><TD
2086WIDTH="20%"
2087ALIGN="RIGHT"
2088VALIGN="TOP"
2089><I
2090CLASS="EMPHASIS"
2091>Returns</I
2092> :</TD
2093><TD
2094WIDTH="80%"
2095ALIGN="LEFT"
2096VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002097>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002098></TR
2099></TABLE
2100><P
2101></P
2102></DIV
2103></DIV
2104><HR><DIV
2105CLASS="REFSECT2"
2106><A
Daniel Veillard28929b22000-11-13 18:22:49 +00002107NAME="AEN15275"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002108></A
2109><H3
2110><A
2111NAME="XMLISLETTER"
2112></A
2113>xmlIsLetter ()</H3
2114><TABLE
2115BORDER="0"
2116BGCOLOR="#D6E8FF"
2117WIDTH="100%"
2118CELLPADDING="6"
2119><TR
2120><TD
2121><PRE
2122CLASS="PROGRAMLISTING"
2123>int xmlIsLetter (int c);</PRE
2124></TD
2125></TR
2126></TABLE
2127><P
2128>Check whether the character is allowed by the production
2129[84] Letter ::= BaseChar | Ideographic</P
2130><P
2131></P
2132><DIV
2133CLASS="INFORMALTABLE"
2134><P
2135></P
2136><TABLE
2137BORDER="0"
2138WIDTH="100%"
2139BGCOLOR="#FFD0D0"
2140CELLSPACING="0"
2141CELLPADDING="4"
2142CLASS="CALSTABLE"
2143><TR
2144><TD
2145WIDTH="20%"
2146ALIGN="RIGHT"
2147VALIGN="TOP"
2148><TT
2149CLASS="PARAMETER"
2150><I
2151>c</I
2152></TT
2153>&nbsp;:</TD
2154><TD
2155WIDTH="80%"
2156ALIGN="LEFT"
2157VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002158> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002159></TR
2160><TR
2161><TD
2162WIDTH="20%"
2163ALIGN="RIGHT"
2164VALIGN="TOP"
2165><I
2166CLASS="EMPHASIS"
2167>Returns</I
2168> :</TD
2169><TD
2170WIDTH="80%"
2171ALIGN="LEFT"
2172VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002173>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002174></TR
2175></TABLE
2176><P
2177></P
2178></DIV
2179></DIV
2180><HR><DIV
2181CLASS="REFSECT2"
2182><A
Daniel Veillard28929b22000-11-13 18:22:49 +00002183NAME="AEN15294"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002184></A
2185><H3
2186><A
2187NAME="XMLISDIGIT"
2188></A
2189>xmlIsDigit ()</H3
2190><TABLE
2191BORDER="0"
2192BGCOLOR="#D6E8FF"
2193WIDTH="100%"
2194CELLPADDING="6"
2195><TR
2196><TD
2197><PRE
2198CLASS="PROGRAMLISTING"
2199>int xmlIsDigit (int c);</PRE
2200></TD
2201></TR
2202></TABLE
2203><P
2204>Check whether the character is allowed by the production
2205[88] Digit ::= ... long list see REC ...</P
2206><P
2207></P
2208><DIV
2209CLASS="INFORMALTABLE"
2210><P
2211></P
2212><TABLE
2213BORDER="0"
2214WIDTH="100%"
2215BGCOLOR="#FFD0D0"
2216CELLSPACING="0"
2217CELLPADDING="4"
2218CLASS="CALSTABLE"
2219><TR
2220><TD
2221WIDTH="20%"
2222ALIGN="RIGHT"
2223VALIGN="TOP"
2224><TT
2225CLASS="PARAMETER"
2226><I
2227>c</I
2228></TT
2229>&nbsp;:</TD
2230><TD
2231WIDTH="80%"
2232ALIGN="LEFT"
2233VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002234> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002235></TR
2236><TR
2237><TD
2238WIDTH="20%"
2239ALIGN="RIGHT"
2240VALIGN="TOP"
2241><I
2242CLASS="EMPHASIS"
2243>Returns</I
2244> :</TD
2245><TD
2246WIDTH="80%"
2247ALIGN="LEFT"
2248VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002249>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002250></TR
2251></TABLE
2252><P
2253></P
2254></DIV
2255></DIV
2256><HR><DIV
2257CLASS="REFSECT2"
2258><A
Daniel Veillard28929b22000-11-13 18:22:49 +00002259NAME="AEN15313"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002260></A
2261><H3
2262><A
2263NAME="XMLISIDEOGRAPHIC"
2264></A
2265>xmlIsIdeographic ()</H3
2266><TABLE
2267BORDER="0"
2268BGCOLOR="#D6E8FF"
2269WIDTH="100%"
2270CELLPADDING="6"
2271><TR
2272><TD
2273><PRE
2274CLASS="PROGRAMLISTING"
2275>int xmlIsIdeographic (int c);</PRE
2276></TD
2277></TR
2278></TABLE
2279><P
2280>Check whether the character is allowed by the production
2281[86] Ideographic ::= [<GTKDOCLINK
2282HREF="X4E00-"
2283>x4E00-</GTKDOCLINK
2284><GTKDOCLINK
2285HREF="X9FA5"
2286>x9FA5</GTKDOCLINK
2287>] | <GTKDOCLINK
2288HREF="X3007"
2289>x3007</GTKDOCLINK
2290> | [<GTKDOCLINK
2291HREF="X3021-"
2292>x3021-</GTKDOCLINK
2293><GTKDOCLINK
2294HREF="X3029"
2295>x3029</GTKDOCLINK
2296>]</P
2297><P
2298></P
2299><DIV
2300CLASS="INFORMALTABLE"
2301><P
2302></P
2303><TABLE
2304BORDER="0"
2305WIDTH="100%"
2306BGCOLOR="#FFD0D0"
2307CELLSPACING="0"
2308CELLPADDING="4"
2309CLASS="CALSTABLE"
2310><TR
2311><TD
2312WIDTH="20%"
2313ALIGN="RIGHT"
2314VALIGN="TOP"
2315><TT
2316CLASS="PARAMETER"
2317><I
2318>c</I
2319></TT
2320>&nbsp;:</TD
2321><TD
2322WIDTH="80%"
2323ALIGN="LEFT"
2324VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002325> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002326></TR
2327><TR
2328><TD
2329WIDTH="20%"
2330ALIGN="RIGHT"
2331VALIGN="TOP"
2332><I
2333CLASS="EMPHASIS"
2334>Returns</I
2335> :</TD
2336><TD
2337WIDTH="80%"
2338ALIGN="LEFT"
2339VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002340>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002341></TR
2342></TABLE
2343><P
2344></P
2345></DIV
2346></DIV
2347><HR><DIV
2348CLASS="REFSECT2"
2349><A
Daniel Veillard28929b22000-11-13 18:22:49 +00002350NAME="AEN15337"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002351></A
2352><H3
2353><A
2354NAME="XMLISCOMBINING"
2355></A
2356>xmlIsCombining ()</H3
2357><TABLE
2358BORDER="0"
2359BGCOLOR="#D6E8FF"
2360WIDTH="100%"
2361CELLPADDING="6"
2362><TR
2363><TD
2364><PRE
2365CLASS="PROGRAMLISTING"
2366>int xmlIsCombining (int c);</PRE
2367></TD
2368></TR
2369></TABLE
2370><P
2371>Check whether the character is allowed by the production
2372[87] CombiningChar ::= ... long list see REC ...</P
2373><P
2374></P
2375><DIV
2376CLASS="INFORMALTABLE"
2377><P
2378></P
2379><TABLE
2380BORDER="0"
2381WIDTH="100%"
2382BGCOLOR="#FFD0D0"
2383CELLSPACING="0"
2384CELLPADDING="4"
2385CLASS="CALSTABLE"
2386><TR
2387><TD
2388WIDTH="20%"
2389ALIGN="RIGHT"
2390VALIGN="TOP"
2391><TT
2392CLASS="PARAMETER"
2393><I
2394>c</I
2395></TT
2396>&nbsp;:</TD
2397><TD
2398WIDTH="80%"
2399ALIGN="LEFT"
2400VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002401> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002402></TR
2403><TR
2404><TD
2405WIDTH="20%"
2406ALIGN="RIGHT"
2407VALIGN="TOP"
2408><I
2409CLASS="EMPHASIS"
2410>Returns</I
2411> :</TD
2412><TD
2413WIDTH="80%"
2414ALIGN="LEFT"
2415VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002416>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002417></TR
2418></TABLE
2419><P
2420></P
2421></DIV
2422></DIV
2423><HR><DIV
2424CLASS="REFSECT2"
2425><A
Daniel Veillard28929b22000-11-13 18:22:49 +00002426NAME="AEN15356"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002427></A
2428><H3
2429><A
2430NAME="XMLISEXTENDER"
2431></A
2432>xmlIsExtender ()</H3
2433><TABLE
2434BORDER="0"
2435BGCOLOR="#D6E8FF"
2436WIDTH="100%"
2437CELLPADDING="6"
2438><TR
2439><TD
2440><PRE
2441CLASS="PROGRAMLISTING"
2442>int xmlIsExtender (int c);</PRE
2443></TD
2444></TR
2445></TABLE
2446><P
2447>Check whether the character is allowed by the production
2448[89] Extender ::= <GTKDOCLINK
2449HREF="X00B7"
2450>x00B7</GTKDOCLINK
2451> | <GTKDOCLINK
2452HREF="X02D0"
2453>x02D0</GTKDOCLINK
2454> | <GTKDOCLINK
2455HREF="X02D1"
2456>x02D1</GTKDOCLINK
2457> | <GTKDOCLINK
2458HREF="X0387"
2459>x0387</GTKDOCLINK
2460> | <GTKDOCLINK
2461HREF="X0640"
2462>x0640</GTKDOCLINK
2463> |
2464<GTKDOCLINK
2465HREF="X0E46"
2466>x0E46</GTKDOCLINK
2467> | <GTKDOCLINK
2468HREF="X0EC6"
2469>x0EC6</GTKDOCLINK
2470> | <GTKDOCLINK
2471HREF="X3005"
2472>x3005</GTKDOCLINK
2473> | [<GTKDOCLINK
2474HREF="X3031-"
2475>x3031-</GTKDOCLINK
2476><GTKDOCLINK
2477HREF="X3035"
2478>x3035</GTKDOCLINK
2479>] |
2480[<GTKDOCLINK
2481HREF="X309D-"
2482>x309D-</GTKDOCLINK
2483><GTKDOCLINK
2484HREF="X309E"
2485>x309E</GTKDOCLINK
2486>] | [<GTKDOCLINK
2487HREF="X30FC-"
2488>x30FC-</GTKDOCLINK
2489><GTKDOCLINK
2490HREF="X30FE"
2491>x30FE</GTKDOCLINK
2492>]</P
2493><P
2494></P
2495><DIV
2496CLASS="INFORMALTABLE"
2497><P
2498></P
2499><TABLE
2500BORDER="0"
2501WIDTH="100%"
2502BGCOLOR="#FFD0D0"
2503CELLSPACING="0"
2504CELLPADDING="4"
2505CLASS="CALSTABLE"
2506><TR
2507><TD
2508WIDTH="20%"
2509ALIGN="RIGHT"
2510VALIGN="TOP"
2511><TT
2512CLASS="PARAMETER"
2513><I
2514>c</I
2515></TT
2516>&nbsp;:</TD
2517><TD
2518WIDTH="80%"
2519ALIGN="LEFT"
2520VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002521> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002522></TR
2523><TR
2524><TD
2525WIDTH="20%"
2526ALIGN="RIGHT"
2527VALIGN="TOP"
2528><I
2529CLASS="EMPHASIS"
2530>Returns</I
2531> :</TD
2532><TD
2533WIDTH="80%"
2534ALIGN="LEFT"
2535VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002536>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002537></TR
2538></TABLE
2539><P
2540></P
2541></DIV
2542></DIV
2543><HR><DIV
2544CLASS="REFSECT2"
2545><A
Daniel Veillard28929b22000-11-13 18:22:49 +00002546NAME="AEN15389"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002547></A
2548><H3
2549><A
2550NAME="XMLISCHAR"
2551></A
2552>xmlIsChar ()</H3
2553><TABLE
2554BORDER="0"
2555BGCOLOR="#D6E8FF"
2556WIDTH="100%"
2557CELLPADDING="6"
2558><TR
2559><TD
2560><PRE
2561CLASS="PROGRAMLISTING"
2562>int xmlIsChar (int c);</PRE
2563></TD
2564></TR
2565></TABLE
2566><P
2567>Check whether the character is allowed by the production
2568[2] Char ::= <GTKDOCLINK
2569HREF="X9"
2570>x9</GTKDOCLINK
2571> | <GTKDOCLINK
2572HREF="XA"
2573>xA</GTKDOCLINK
2574> | <GTKDOCLINK
2575HREF="XD"
2576>xD</GTKDOCLINK
2577> | [<GTKDOCLINK
2578HREF="X20-"
2579>x20-</GTKDOCLINK
2580><GTKDOCLINK
2581HREF="XD7FF"
2582>xD7FF</GTKDOCLINK
2583>] | [<GTKDOCLINK
2584HREF="XE000-"
2585>xE000-</GTKDOCLINK
2586><GTKDOCLINK
2587HREF="XFFFD"
2588>xFFFD</GTKDOCLINK
2589>]
2590| [<GTKDOCLINK
2591HREF="X10000-"
2592>x10000-</GTKDOCLINK
2593><GTKDOCLINK
2594HREF="X10FFFF"
2595>x10FFFF</GTKDOCLINK
2596>]
2597any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.
2598Also available as a macro <A
2599HREF="gnome-xml-parserinternals.html#IS-CHAR"
2600>IS_CHAR</A
2601>()</P
2602><P
2603></P
2604><DIV
2605CLASS="INFORMALTABLE"
2606><P
2607></P
2608><TABLE
2609BORDER="0"
2610WIDTH="100%"
2611BGCOLOR="#FFD0D0"
2612CELLSPACING="0"
2613CELLPADDING="4"
2614CLASS="CALSTABLE"
2615><TR
2616><TD
2617WIDTH="20%"
2618ALIGN="RIGHT"
2619VALIGN="TOP"
2620><TT
2621CLASS="PARAMETER"
2622><I
2623>c</I
2624></TT
2625>&nbsp;:</TD
2626><TD
2627WIDTH="80%"
2628ALIGN="LEFT"
2629VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002630> an unicode character (int)</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002631></TR
2632><TR
2633><TD
2634WIDTH="20%"
2635ALIGN="RIGHT"
2636VALIGN="TOP"
2637><I
2638CLASS="EMPHASIS"
2639>Returns</I
2640> :</TD
2641><TD
2642WIDTH="80%"
2643ALIGN="LEFT"
2644VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002645>0 if not, non-zero otherwise</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00002646></TR
2647></TABLE
2648><P
2649></P
2650></DIV
2651></DIV
2652><HR><DIV
2653CLASS="REFSECT2"
2654><A
Daniel Veillard28929b22000-11-13 18:22:49 +00002655NAME="AEN15418"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002656></A
2657><H3
2658><A
2659NAME="XMLCREATEDOCPARSERCTXT"
2660></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002661>xmlCreateDocParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00002662><TABLE
2663BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002664BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002665WIDTH="100%"
2666CELLPADDING="6"
2667><TR
2668><TD
2669><PRE
2670CLASS="PROGRAMLISTING"
2671><A
2672HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2673>xmlParserCtxtPtr</A
2674> xmlCreateDocParserCtxt (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002675HREF="gnome-xml-tree.html#XMLCHAR"
2676>xmlChar</A
Daniel Veillardd692aa41999-02-28 21:54:31 +00002677> *cur);</PRE
2678></TD
2679></TR
2680></TABLE
2681><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002682>Creates a parser context for an XML in-memory document.</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00002683><P
Daniel Veillardd692aa41999-02-28 21:54:31 +00002684></P
2685><DIV
2686CLASS="INFORMALTABLE"
2687><P
2688></P
2689><TABLE
2690BORDER="0"
2691WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002692BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002693CELLSPACING="0"
2694CELLPADDING="4"
2695CLASS="CALSTABLE"
2696><TR
2697><TD
2698WIDTH="20%"
2699ALIGN="RIGHT"
2700VALIGN="TOP"
2701><TT
2702CLASS="PARAMETER"
2703><I
2704>cur</I
2705></TT
2706>&nbsp;:</TD
2707><TD
2708WIDTH="80%"
2709ALIGN="LEFT"
2710VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002711>&nbsp;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002712></TR
2713><TR
2714><TD
2715WIDTH="20%"
2716ALIGN="RIGHT"
2717VALIGN="TOP"
2718><I
2719CLASS="EMPHASIS"
2720>Returns</I
2721> :</TD
2722><TD
2723WIDTH="80%"
2724ALIGN="LEFT"
2725VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00002726>&nbsp;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002727></TR
2728></TABLE
2729><P
2730></P
2731></DIV
2732></DIV
2733><HR><DIV
2734CLASS="REFSECT2"
2735><A
Daniel Veillard28929b22000-11-13 18:22:49 +00002736NAME="AEN15439"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002737></A
2738><H3
2739><A
2740NAME="XMLCREATEFILEPARSERCTXT"
2741></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002742>xmlCreateFileParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00002743><TABLE
2744BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002745BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002746WIDTH="100%"
2747CELLPADDING="6"
2748><TR
2749><TD
2750><PRE
2751CLASS="PROGRAMLISTING"
2752><A
2753HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2754>xmlParserCtxtPtr</A
2755> xmlCreateFileParserCtxt (const char *filename);</PRE
2756></TD
2757></TR
2758></TABLE
2759><P
2760>Create a parser context for a file content.
2761Automatic support for ZLIB/Compress compressed document is provided
2762by default if found at compile-time.</P
2763><P
2764></P
2765><DIV
2766CLASS="INFORMALTABLE"
2767><P
2768></P
2769><TABLE
2770BORDER="0"
2771WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002772BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002773CELLSPACING="0"
2774CELLPADDING="4"
2775CLASS="CALSTABLE"
2776><TR
2777><TD
2778WIDTH="20%"
2779ALIGN="RIGHT"
2780VALIGN="TOP"
2781><TT
2782CLASS="PARAMETER"
2783><I
2784>filename</I
2785></TT
2786>&nbsp;:</TD
2787><TD
2788WIDTH="80%"
2789ALIGN="LEFT"
2790VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002791> the filename</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002792></TR
2793><TR
2794><TD
2795WIDTH="20%"
2796ALIGN="RIGHT"
2797VALIGN="TOP"
2798><I
2799CLASS="EMPHASIS"
2800>Returns</I
2801> :</TD
2802><TD
2803WIDTH="80%"
2804ALIGN="LEFT"
2805VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002806>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002807></TR
2808></TABLE
2809><P
2810></P
2811></DIV
2812></DIV
2813><HR><DIV
2814CLASS="REFSECT2"
2815><A
Daniel Veillard28929b22000-11-13 18:22:49 +00002816NAME="AEN15459"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002817></A
2818><H3
2819><A
2820NAME="XMLCREATEMEMORYPARSERCTXT"
2821></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002822>xmlCreateMemoryParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00002823><TABLE
2824BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002825BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002826WIDTH="100%"
2827CELLPADDING="6"
2828><TR
2829><TD
2830><PRE
2831CLASS="PROGRAMLISTING"
2832><A
2833HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2834>xmlParserCtxtPtr</A
2835> xmlCreateMemoryParserCtxt (char *buffer,
2836 int size);</PRE
2837></TD
2838></TR
2839></TABLE
2840><P
2841>Create a parser context for an XML in-memory document.</P
2842><P
2843></P
2844><DIV
2845CLASS="INFORMALTABLE"
2846><P
2847></P
2848><TABLE
2849BORDER="0"
2850WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002851BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00002852CELLSPACING="0"
2853CELLPADDING="4"
2854CLASS="CALSTABLE"
2855><TR
2856><TD
2857WIDTH="20%"
2858ALIGN="RIGHT"
2859VALIGN="TOP"
2860><TT
2861CLASS="PARAMETER"
2862><I
2863>buffer</I
2864></TT
2865>&nbsp;:</TD
2866><TD
2867WIDTH="80%"
2868ALIGN="LEFT"
2869VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002870> a pointer to a char array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002871></TR
2872><TR
2873><TD
2874WIDTH="20%"
2875ALIGN="RIGHT"
2876VALIGN="TOP"
2877><TT
2878CLASS="PARAMETER"
2879><I
2880>size</I
2881></TT
2882>&nbsp;:</TD
2883><TD
2884WIDTH="80%"
2885ALIGN="LEFT"
2886VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002887> the size of the array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002888></TR
2889><TR
2890><TD
2891WIDTH="20%"
2892ALIGN="RIGHT"
2893VALIGN="TOP"
2894><I
2895CLASS="EMPHASIS"
2896>Returns</I
2897> :</TD
2898><TD
2899WIDTH="80%"
2900ALIGN="LEFT"
2901VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002902>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00002903></TR
2904></TABLE
2905><P
2906></P
2907></DIV
2908></DIV
2909><HR><DIV
2910CLASS="REFSECT2"
2911><A
Daniel Veillard28929b22000-11-13 18:22:49 +00002912NAME="AEN15483"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002913></A
2914><H3
2915><A
2916NAME="XMLNEWPARSERCTXT"
2917></A
2918>xmlNewParserCtxt ()</H3
2919><TABLE
2920BORDER="0"
2921BGCOLOR="#D6E8FF"
2922WIDTH="100%"
2923CELLPADDING="6"
2924><TR
2925><TD
2926><PRE
2927CLASS="PROGRAMLISTING"
2928><A
2929HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2930>xmlParserCtxtPtr</A
2931> xmlNewParserCtxt (void);</PRE
2932></TD
2933></TR
2934></TABLE
2935><P
2936>Allocate and initialize a new parser context.</P
2937><P
2938></P
2939><DIV
2940CLASS="INFORMALTABLE"
2941><P
2942></P
2943><TABLE
2944BORDER="0"
2945WIDTH="100%"
2946BGCOLOR="#FFD0D0"
2947CELLSPACING="0"
2948CELLPADDING="4"
2949CLASS="CALSTABLE"
2950><TR
2951><TD
2952WIDTH="20%"
2953ALIGN="RIGHT"
2954VALIGN="TOP"
2955><I
2956CLASS="EMPHASIS"
2957>Returns</I
2958> :</TD
2959><TD
2960WIDTH="80%"
2961ALIGN="LEFT"
2962VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00002963>the xmlParserCtxtPtr or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002964></TR
2965></TABLE
2966><P
2967></P
2968></DIV
2969></DIV
2970><HR><DIV
2971CLASS="REFSECT2"
2972><A
Daniel Veillard28929b22000-11-13 18:22:49 +00002973NAME="AEN15499"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002974></A
2975><H3
2976><A
2977NAME="XMLCREATEENTITYPARSERCTXT"
2978></A
2979>xmlCreateEntityParserCtxt ()</H3
2980><TABLE
2981BORDER="0"
2982BGCOLOR="#D6E8FF"
2983WIDTH="100%"
2984CELLPADDING="6"
2985><TR
2986><TD
2987><PRE
2988CLASS="PROGRAMLISTING"
2989><A
2990HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2991>xmlParserCtxtPtr</A
2992> xmlCreateEntityParserCtxt (const <A
2993HREF="gnome-xml-tree.html#XMLCHAR"
2994>xmlChar</A
2995> *URL,
2996 const <A
2997HREF="gnome-xml-tree.html#XMLCHAR"
2998>xmlChar</A
2999> *ID,
3000 const <A
3001HREF="gnome-xml-tree.html#XMLCHAR"
3002>xmlChar</A
3003> *base);</PRE
3004></TD
3005></TR
3006></TABLE
3007><P
3008>Create a parser context for an external entity
3009Automatic support for ZLIB/Compress compressed document is provided
3010by default if found at compile-time.</P
3011><P
3012></P
3013><DIV
3014CLASS="INFORMALTABLE"
3015><P
3016></P
3017><TABLE
3018BORDER="0"
3019WIDTH="100%"
3020BGCOLOR="#FFD0D0"
3021CELLSPACING="0"
3022CELLPADDING="4"
3023CLASS="CALSTABLE"
3024><TR
3025><TD
3026WIDTH="20%"
3027ALIGN="RIGHT"
3028VALIGN="TOP"
3029><TT
3030CLASS="PARAMETER"
3031><I
3032>URL</I
3033></TT
3034>&nbsp;:</TD
3035><TD
3036WIDTH="80%"
3037ALIGN="LEFT"
3038VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003039> the entity URL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003040></TR
3041><TR
3042><TD
3043WIDTH="20%"
3044ALIGN="RIGHT"
3045VALIGN="TOP"
3046><TT
3047CLASS="PARAMETER"
3048><I
3049>ID</I
3050></TT
3051>&nbsp;:</TD
3052><TD
3053WIDTH="80%"
3054ALIGN="LEFT"
3055VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003056> the entity PUBLIC ID</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003057></TR
3058><TR
3059><TD
3060WIDTH="20%"
3061ALIGN="RIGHT"
3062VALIGN="TOP"
3063><TT
3064CLASS="PARAMETER"
3065><I
3066>base</I
3067></TT
3068>&nbsp;:</TD
3069><TD
3070WIDTH="80%"
3071ALIGN="LEFT"
3072VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003073> a posible base for the target URI</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003074></TR
3075><TR
3076><TD
3077WIDTH="20%"
3078ALIGN="RIGHT"
3079VALIGN="TOP"
3080><I
3081CLASS="EMPHASIS"
3082>Returns</I
3083> :</TD
3084><TD
3085WIDTH="80%"
3086ALIGN="LEFT"
3087VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003088>the new parser context or NULL</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003089></TR
3090></TABLE
3091><P
3092></P
3093></DIV
3094></DIV
3095><HR><DIV
3096CLASS="REFSECT2"
3097><A
Daniel Veillard28929b22000-11-13 18:22:49 +00003098NAME="AEN15530"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003099></A
3100><H3
3101><A
3102NAME="XMLSWITCHENCODING"
3103></A
3104>xmlSwitchEncoding ()</H3
3105><TABLE
3106BORDER="0"
3107BGCOLOR="#D6E8FF"
3108WIDTH="100%"
3109CELLPADDING="6"
3110><TR
3111><TD
3112><PRE
3113CLASS="PROGRAMLISTING"
3114>int xmlSwitchEncoding (<A
3115HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3116>xmlParserCtxtPtr</A
3117> ctxt,
3118 <A
3119HREF="gnome-xml-encoding.html#XMLCHARENCODING"
3120>xmlCharEncoding</A
3121> enc);</PRE
3122></TD
3123></TR
3124></TABLE
3125><P
3126>change the input functions when discovering the character encoding
3127of a given entity.</P
3128><P
3129></P
3130><DIV
3131CLASS="INFORMALTABLE"
3132><P
3133></P
3134><TABLE
3135BORDER="0"
3136WIDTH="100%"
3137BGCOLOR="#FFD0D0"
3138CELLSPACING="0"
3139CELLPADDING="4"
3140CLASS="CALSTABLE"
3141><TR
3142><TD
3143WIDTH="20%"
3144ALIGN="RIGHT"
3145VALIGN="TOP"
3146><TT
3147CLASS="PARAMETER"
3148><I
3149>ctxt</I
3150></TT
3151>&nbsp;:</TD
3152><TD
3153WIDTH="80%"
3154ALIGN="LEFT"
3155VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003156> the parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003157></TR
3158><TR
3159><TD
3160WIDTH="20%"
3161ALIGN="RIGHT"
3162VALIGN="TOP"
3163><TT
3164CLASS="PARAMETER"
3165><I
3166>enc</I
3167></TT
3168>&nbsp;:</TD
3169><TD
3170WIDTH="80%"
3171ALIGN="LEFT"
3172VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003173> the encoding value (number)</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003174></TR
3175><TR
3176><TD
3177WIDTH="20%"
3178ALIGN="RIGHT"
3179VALIGN="TOP"
3180><I
3181CLASS="EMPHASIS"
3182>Returns</I
3183> :</TD
3184><TD
3185WIDTH="80%"
3186ALIGN="LEFT"
3187VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003188>0 in case of success, -1 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003189></TR
3190></TABLE
3191><P
3192></P
3193></DIV
3194></DIV
3195><HR><DIV
3196CLASS="REFSECT2"
3197><A
Daniel Veillard28929b22000-11-13 18:22:49 +00003198NAME="AEN15555"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003199></A
3200><H3
3201><A
3202NAME="XMLSWITCHTOENCODING"
3203></A
3204>xmlSwitchToEncoding ()</H3
3205><TABLE
3206BORDER="0"
3207BGCOLOR="#D6E8FF"
3208WIDTH="100%"
3209CELLPADDING="6"
3210><TR
3211><TD
3212><PRE
3213CLASS="PROGRAMLISTING"
3214>int xmlSwitchToEncoding (<A
3215HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3216>xmlParserCtxtPtr</A
3217> ctxt,
3218 <A
3219HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR"
3220>xmlCharEncodingHandlerPtr</A
3221> handler);</PRE
3222></TD
3223></TR
3224></TABLE
3225><P
3226>change the input functions when discovering the character encoding
3227of a given entity.</P
3228><P
3229></P
3230><DIV
3231CLASS="INFORMALTABLE"
3232><P
3233></P
3234><TABLE
3235BORDER="0"
3236WIDTH="100%"
3237BGCOLOR="#FFD0D0"
3238CELLSPACING="0"
3239CELLPADDING="4"
3240CLASS="CALSTABLE"
3241><TR
3242><TD
3243WIDTH="20%"
3244ALIGN="RIGHT"
3245VALIGN="TOP"
3246><TT
3247CLASS="PARAMETER"
3248><I
3249>ctxt</I
3250></TT
3251>&nbsp;:</TD
3252><TD
3253WIDTH="80%"
3254ALIGN="LEFT"
3255VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003256> the parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003257></TR
3258><TR
3259><TD
3260WIDTH="20%"
3261ALIGN="RIGHT"
3262VALIGN="TOP"
3263><TT
3264CLASS="PARAMETER"
3265><I
3266>handler</I
3267></TT
3268>&nbsp;:</TD
3269><TD
3270WIDTH="80%"
3271ALIGN="LEFT"
3272VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003273> the encoding handler</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003274></TR
3275><TR
3276><TD
3277WIDTH="20%"
3278ALIGN="RIGHT"
3279VALIGN="TOP"
3280><I
3281CLASS="EMPHASIS"
3282>Returns</I
3283> :</TD
3284><TD
3285WIDTH="80%"
3286ALIGN="LEFT"
3287VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003288>0 in case of success, -1 otherwise</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003289></TR
3290></TABLE
3291><P
3292></P
3293></DIV
3294></DIV
3295><HR><DIV
3296CLASS="REFSECT2"
3297><A
Daniel Veillard28929b22000-11-13 18:22:49 +00003298NAME="AEN15580"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003299></A
3300><H3
3301><A
3302NAME="XMLFREEPARSERCTXT"
3303></A
3304>xmlFreeParserCtxt ()</H3
3305><TABLE
3306BORDER="0"
3307BGCOLOR="#D6E8FF"
3308WIDTH="100%"
3309CELLPADDING="6"
3310><TR
3311><TD
3312><PRE
3313CLASS="PROGRAMLISTING"
3314>void xmlFreeParserCtxt (<A
3315HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3316>xmlParserCtxtPtr</A
3317> ctxt);</PRE
3318></TD
3319></TR
3320></TABLE
3321><P
3322>Free all the memory used by a parser context. However the parsed
3323document in ctxt-&gt;myDoc is not freed.</P
3324><P
3325></P
3326><DIV
3327CLASS="INFORMALTABLE"
3328><P
3329></P
3330><TABLE
3331BORDER="0"
3332WIDTH="100%"
3333BGCOLOR="#FFD0D0"
3334CELLSPACING="0"
3335CELLPADDING="4"
3336CLASS="CALSTABLE"
3337><TR
3338><TD
3339WIDTH="20%"
3340ALIGN="RIGHT"
3341VALIGN="TOP"
3342><TT
3343CLASS="PARAMETER"
3344><I
3345>ctxt</I
3346></TT
3347>&nbsp;:</TD
3348><TD
3349WIDTH="80%"
3350ALIGN="LEFT"
3351VALIGN="TOP"
3352>&nbsp;</TD
3353></TR
3354></TABLE
3355><P
3356></P
3357></DIV
3358></DIV
3359><HR><DIV
3360CLASS="REFSECT2"
3361><A
Daniel Veillard28929b22000-11-13 18:22:49 +00003362NAME="AEN15596"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003363></A
3364><H3
3365><A
3366NAME="XMLHANDLEENTITY"
3367></A
3368>xmlHandleEntity ()</H3
3369><TABLE
3370BORDER="0"
3371BGCOLOR="#D6E8FF"
3372WIDTH="100%"
3373CELLPADDING="6"
3374><TR
3375><TD
3376><PRE
3377CLASS="PROGRAMLISTING"
3378>void xmlHandleEntity (<A
3379HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3380>xmlParserCtxtPtr</A
3381> ctxt,
3382 <A
3383HREF="gnome-xml-entities.html#XMLENTITYPTR"
3384>xmlEntityPtr</A
3385> entity);</PRE
3386></TD
3387></TR
3388></TABLE
3389><P
3390>Default handling of defined entities, when should we define a new input
3391stream ? When do we just handle that as a set of chars ?</P
3392><P
3393>OBSOLETE: to be removed at some point.</P
3394><P
3395></P
3396><DIV
3397CLASS="INFORMALTABLE"
3398><P
3399></P
3400><TABLE
3401BORDER="0"
3402WIDTH="100%"
3403BGCOLOR="#FFD0D0"
3404CELLSPACING="0"
3405CELLPADDING="4"
3406CLASS="CALSTABLE"
3407><TR
3408><TD
3409WIDTH="20%"
3410ALIGN="RIGHT"
3411VALIGN="TOP"
3412><TT
3413CLASS="PARAMETER"
3414><I
3415>ctxt</I
3416></TT
3417>&nbsp;:</TD
3418><TD
3419WIDTH="80%"
3420ALIGN="LEFT"
3421VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003422> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003423></TR
3424><TR
3425><TD
3426WIDTH="20%"
3427ALIGN="RIGHT"
3428VALIGN="TOP"
3429><TT
3430CLASS="PARAMETER"
3431><I
3432>entity</I
3433></TT
3434>&nbsp;:</TD
3435><TD
3436WIDTH="80%"
3437ALIGN="LEFT"
3438VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003439> an XML entity pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003440></TR
3441></TABLE
3442><P
3443></P
3444></DIV
3445></DIV
3446><HR><DIV
3447CLASS="REFSECT2"
3448><A
Daniel Veillard28929b22000-11-13 18:22:49 +00003449NAME="AEN15618"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003450></A
3451><H3
3452><A
3453NAME="XMLNEWENTITYINPUTSTREAM"
3454></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003455>xmlNewEntityInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003456><TABLE
3457BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003458BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003459WIDTH="100%"
3460CELLPADDING="6"
3461><TR
3462><TD
3463><PRE
3464CLASS="PROGRAMLISTING"
3465><A
3466HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
3467>xmlParserInputPtr</A
3468> xmlNewEntityInputStream (<A
3469HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3470>xmlParserCtxtPtr</A
3471> ctxt,
3472 <A
3473HREF="gnome-xml-entities.html#XMLENTITYPTR"
3474>xmlEntityPtr</A
3475> entity);</PRE
3476></TD
3477></TR
3478></TABLE
3479><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00003480>Create a new input stream based on an xmlEntityPtr</P
Daniel Veillardbc50b591999-03-01 12:28:53 +00003481><P
3482></P
3483><DIV
3484CLASS="INFORMALTABLE"
3485><P
3486></P
3487><TABLE
3488BORDER="0"
3489WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003490BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003491CELLSPACING="0"
3492CELLPADDING="4"
3493CLASS="CALSTABLE"
3494><TR
3495><TD
3496WIDTH="20%"
3497ALIGN="RIGHT"
3498VALIGN="TOP"
3499><TT
3500CLASS="PARAMETER"
3501><I
3502>ctxt</I
3503></TT
3504>&nbsp;:</TD
3505><TD
3506WIDTH="80%"
3507ALIGN="LEFT"
3508VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003509> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003510></TR
3511><TR
3512><TD
3513WIDTH="20%"
3514ALIGN="RIGHT"
3515VALIGN="TOP"
3516><TT
3517CLASS="PARAMETER"
3518><I
3519>entity</I
3520></TT
3521>&nbsp;:</TD
3522><TD
3523WIDTH="80%"
3524ALIGN="LEFT"
3525VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003526> an Entity pointer</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003527></TR
3528><TR
3529><TD
3530WIDTH="20%"
3531ALIGN="RIGHT"
3532VALIGN="TOP"
3533><I
3534CLASS="EMPHASIS"
3535>Returns</I
3536> :</TD
3537><TD
3538WIDTH="80%"
3539ALIGN="LEFT"
3540VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003541>the new input stream or NULL</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003542></TR
3543></TABLE
3544><P
3545></P
3546></DIV
3547></DIV
3548><HR><DIV
3549CLASS="REFSECT2"
3550><A
Daniel Veillard28929b22000-11-13 18:22:49 +00003551NAME="AEN15644"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003552></A
3553><H3
3554><A
3555NAME="XMLPUSHINPUT"
3556></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003557>xmlPushInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003558><TABLE
3559BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003560BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003561WIDTH="100%"
3562CELLPADDING="6"
3563><TR
3564><TD
3565><PRE
3566CLASS="PROGRAMLISTING"
3567>void xmlPushInput (<A
3568HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3569>xmlParserCtxtPtr</A
3570> ctxt,
3571 <A
3572HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
3573>xmlParserInputPtr</A
3574> input);</PRE
3575></TD
3576></TR
3577></TABLE
3578><P
3579>xmlPushInput: switch to a new input stream which is stacked on top
3580of the previous one(s).</P
3581><P
3582></P
3583><DIV
3584CLASS="INFORMALTABLE"
3585><P
3586></P
3587><TABLE
3588BORDER="0"
3589WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003590BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003591CELLSPACING="0"
3592CELLPADDING="4"
3593CLASS="CALSTABLE"
3594><TR
3595><TD
3596WIDTH="20%"
3597ALIGN="RIGHT"
3598VALIGN="TOP"
3599><TT
3600CLASS="PARAMETER"
3601><I
3602>ctxt</I
3603></TT
3604>&nbsp;:</TD
3605><TD
3606WIDTH="80%"
3607ALIGN="LEFT"
3608VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003609> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003610></TR
3611><TR
3612><TD
3613WIDTH="20%"
3614ALIGN="RIGHT"
3615VALIGN="TOP"
3616><TT
3617CLASS="PARAMETER"
3618><I
3619>input</I
3620></TT
3621>&nbsp;:</TD
3622><TD
3623WIDTH="80%"
3624ALIGN="LEFT"
3625VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003626> an XML parser input fragment (entity, XML fragment ...).</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003627></TR
3628></TABLE
3629><P
3630></P
3631></DIV
3632></DIV
3633><HR><DIV
3634CLASS="REFSECT2"
3635><A
Daniel Veillard28929b22000-11-13 18:22:49 +00003636NAME="AEN15665"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003637></A
3638><H3
3639><A
3640NAME="XMLPOPINPUT"
3641></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003642>xmlPopInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003643><TABLE
3644BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003645BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003646WIDTH="100%"
3647CELLPADDING="6"
3648><TR
3649><TD
3650><PRE
3651CLASS="PROGRAMLISTING"
3652><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003653HREF="gnome-xml-tree.html#XMLCHAR"
3654>xmlChar</A
3655> xmlPopInput (<A
Daniel Veillardbc50b591999-03-01 12:28:53 +00003656HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3657>xmlParserCtxtPtr</A
3658> ctxt);</PRE
3659></TD
3660></TR
3661></TABLE
3662><P
3663>xmlPopInput: the current input pointed by ctxt-&gt;input came to an end
3664pop it and return the next char.</P
3665><P
Daniel Veillardbc50b591999-03-01 12:28:53 +00003666></P
3667><DIV
3668CLASS="INFORMALTABLE"
3669><P
3670></P
3671><TABLE
3672BORDER="0"
3673WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003674BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003675CELLSPACING="0"
3676CELLPADDING="4"
3677CLASS="CALSTABLE"
3678><TR
3679><TD
3680WIDTH="20%"
3681ALIGN="RIGHT"
3682VALIGN="TOP"
3683><TT
3684CLASS="PARAMETER"
3685><I
3686>ctxt</I
3687></TT
3688>&nbsp;:</TD
3689><TD
3690WIDTH="80%"
3691ALIGN="LEFT"
3692VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003693> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003694></TR
3695><TR
3696><TD
3697WIDTH="20%"
3698ALIGN="RIGHT"
3699VALIGN="TOP"
3700><I
3701CLASS="EMPHASIS"
3702>Returns</I
3703> :</TD
3704><TD
3705WIDTH="80%"
3706ALIGN="LEFT"
3707VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003708>the current xmlChar in the parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003709></TR
3710></TABLE
3711><P
3712></P
3713></DIV
3714></DIV
3715><HR><DIV
3716CLASS="REFSECT2"
3717><A
Daniel Veillard28929b22000-11-13 18:22:49 +00003718NAME="AEN15686"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003719></A
3720><H3
3721><A
3722NAME="XMLFREEINPUTSTREAM"
3723></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003724>xmlFreeInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00003725><TABLE
3726BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003727BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003728WIDTH="100%"
3729CELLPADDING="6"
3730><TR
3731><TD
3732><PRE
3733CLASS="PROGRAMLISTING"
3734>void xmlFreeInputStream (<A
3735HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
3736>xmlParserInputPtr</A
3737> input);</PRE
3738></TD
3739></TR
3740></TABLE
3741><P
3742>Free up an input stream.</P
3743><P
3744></P
3745><DIV
3746CLASS="INFORMALTABLE"
3747><P
3748></P
3749><TABLE
3750BORDER="0"
3751WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003752BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00003753CELLSPACING="0"
3754CELLPADDING="4"
3755CLASS="CALSTABLE"
3756><TR
3757><TD
3758WIDTH="20%"
3759ALIGN="RIGHT"
3760VALIGN="TOP"
3761><TT
3762CLASS="PARAMETER"
3763><I
3764>input</I
3765></TT
3766>&nbsp;:</TD
3767><TD
3768WIDTH="80%"
3769ALIGN="LEFT"
3770VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003771> an xmlParserInputPtr</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00003772></TR
3773></TABLE
3774><P
3775></P
3776></DIV
3777></DIV
3778><HR><DIV
3779CLASS="REFSECT2"
3780><A
Daniel Veillard28929b22000-11-13 18:22:49 +00003781NAME="AEN15702"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003782></A
3783><H3
3784><A
3785NAME="XMLNEWINPUTFROMFILE"
3786></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003787>xmlNewInputFromFile ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00003788><TABLE
3789BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003790BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003791WIDTH="100%"
3792CELLPADDING="6"
3793><TR
3794><TD
3795><PRE
3796CLASS="PROGRAMLISTING"
3797><A
3798HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
3799>xmlParserInputPtr</A
3800> xmlNewInputFromFile (<A
3801HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3802>xmlParserCtxtPtr</A
3803> ctxt,
3804 const char *filename);</PRE
3805></TD
3806></TR
3807></TABLE
3808><P
3809>Create a new input stream based on a file.</P
3810><P
3811></P
3812><DIV
3813CLASS="INFORMALTABLE"
3814><P
3815></P
3816><TABLE
3817BORDER="0"
3818WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003819BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003820CELLSPACING="0"
3821CELLPADDING="4"
3822CLASS="CALSTABLE"
3823><TR
3824><TD
3825WIDTH="20%"
3826ALIGN="RIGHT"
3827VALIGN="TOP"
3828><TT
3829CLASS="PARAMETER"
3830><I
3831>ctxt</I
3832></TT
3833>&nbsp;:</TD
3834><TD
3835WIDTH="80%"
3836ALIGN="LEFT"
3837VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003838> an XML parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00003839></TR
3840><TR
3841><TD
3842WIDTH="20%"
3843ALIGN="RIGHT"
3844VALIGN="TOP"
3845><TT
3846CLASS="PARAMETER"
3847><I
3848>filename</I
3849></TT
3850>&nbsp;:</TD
3851><TD
3852WIDTH="80%"
3853ALIGN="LEFT"
3854VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003855> the filename to use as entity</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00003856></TR
3857><TR
3858><TD
3859WIDTH="20%"
3860ALIGN="RIGHT"
3861VALIGN="TOP"
3862><I
3863CLASS="EMPHASIS"
3864>Returns</I
3865> :</TD
3866><TD
3867WIDTH="80%"
3868ALIGN="LEFT"
3869VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003870>the new input stream or NULL in case of error</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00003871></TR
3872></TABLE
3873><P
3874></P
3875></DIV
3876></DIV
3877><HR><DIV
3878CLASS="REFSECT2"
3879><A
Daniel Veillard28929b22000-11-13 18:22:49 +00003880NAME="AEN15727"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003881></A
3882><H3
3883><A
3884NAME="XMLNEWINPUTSTREAM"
3885></A
3886>xmlNewInputStream ()</H3
3887><TABLE
3888BORDER="0"
3889BGCOLOR="#D6E8FF"
3890WIDTH="100%"
3891CELLPADDING="6"
3892><TR
3893><TD
3894><PRE
3895CLASS="PROGRAMLISTING"
3896><A
3897HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
3898>xmlParserInputPtr</A
3899> xmlNewInputStream (<A
3900HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3901>xmlParserCtxtPtr</A
3902> ctxt);</PRE
3903></TD
3904></TR
3905></TABLE
3906><P
3907>Create a new input stream structure</P
3908><P
3909></P
3910><DIV
3911CLASS="INFORMALTABLE"
3912><P
3913></P
3914><TABLE
3915BORDER="0"
3916WIDTH="100%"
3917BGCOLOR="#FFD0D0"
3918CELLSPACING="0"
3919CELLPADDING="4"
3920CLASS="CALSTABLE"
3921><TR
3922><TD
3923WIDTH="20%"
3924ALIGN="RIGHT"
3925VALIGN="TOP"
3926><TT
3927CLASS="PARAMETER"
3928><I
3929>ctxt</I
3930></TT
3931>&nbsp;:</TD
3932><TD
3933WIDTH="80%"
3934ALIGN="LEFT"
3935VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003936> an XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003937></TR
3938><TR
3939><TD
3940WIDTH="20%"
3941ALIGN="RIGHT"
3942VALIGN="TOP"
3943><I
3944CLASS="EMPHASIS"
3945>Returns</I
3946> :</TD
3947><TD
3948WIDTH="80%"
3949ALIGN="LEFT"
3950VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00003951>the new input stream or NULL</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00003952></TR
3953></TABLE
3954><P
3955></P
3956></DIV
3957></DIV
3958><HR><DIV
3959CLASS="REFSECT2"
3960><A
Daniel Veillard28929b22000-11-13 18:22:49 +00003961NAME="AEN15748"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003962></A
3963><H3
3964><A
3965NAME="XMLSPLITQNAME"
3966></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003967>xmlSplitQName ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00003968><TABLE
3969BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003970BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003971WIDTH="100%"
3972CELLPADDING="6"
3973><TR
3974><TD
3975><PRE
3976CLASS="PROGRAMLISTING"
3977><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003978HREF="gnome-xml-tree.html#XMLCHAR"
3979>xmlChar</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003980>* xmlSplitQName (<A
3981HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3982>xmlParserCtxtPtr</A
3983> ctxt,
3984 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003985HREF="gnome-xml-tree.html#XMLCHAR"
3986>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003987> *name,
3988 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003989HREF="gnome-xml-tree.html#XMLCHAR"
3990>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003991> **prefix);</PRE
3992></TD
3993></TR
3994></TABLE
3995><P
Daniel Veillarde46e20d2000-07-14 15:02:46 +00003996>parse an UTF8 encoded XML qualified name string</P
Daniel Veillard5099ae81999-04-21 20:12:07 +00003997><P
3998>[NS 5] QName ::= (Prefix ':')? LocalPart</P
3999><P
4000>[NS 6] Prefix ::= NCName</P
4001><P
4002>[NS 7] LocalPart ::= NCName</P
4003><P
4004></P
4005><DIV
4006CLASS="INFORMALTABLE"
4007><P
4008></P
4009><TABLE
4010BORDER="0"
4011WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004012BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004013CELLSPACING="0"
4014CELLPADDING="4"
4015CLASS="CALSTABLE"
4016><TR
4017><TD
4018WIDTH="20%"
4019ALIGN="RIGHT"
4020VALIGN="TOP"
4021><TT
4022CLASS="PARAMETER"
4023><I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004024>ctxt</I
4025></TT
4026>&nbsp;:</TD
4027><TD
4028WIDTH="80%"
4029ALIGN="LEFT"
4030VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004031> an XML parser context</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004032></TR
4033><TR
4034><TD
4035WIDTH="20%"
4036ALIGN="RIGHT"
4037VALIGN="TOP"
4038><TT
4039CLASS="PARAMETER"
4040><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00004041>name</I
4042></TT
4043>&nbsp;:</TD
4044><TD
4045WIDTH="80%"
4046ALIGN="LEFT"
4047VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004048> an XML parser context</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004049></TR
4050><TR
4051><TD
4052WIDTH="20%"
4053ALIGN="RIGHT"
4054VALIGN="TOP"
4055><TT
4056CLASS="PARAMETER"
4057><I
4058>prefix</I
4059></TT
4060>&nbsp;:</TD
4061><TD
4062WIDTH="80%"
4063ALIGN="LEFT"
4064VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004065> a xmlChar ** </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004066></TR
4067><TR
4068><TD
4069WIDTH="20%"
4070ALIGN="RIGHT"
4071VALIGN="TOP"
4072><I
4073CLASS="EMPHASIS"
4074>Returns</I
4075> :</TD
4076><TD
4077WIDTH="80%"
4078ALIGN="LEFT"
4079VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004080>the local part, and prefix is updated
4081to get the Prefix if any.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00004082></TR
4083></TABLE
4084><P
4085></P
4086></DIV
4087></DIV
4088><HR><DIV
4089CLASS="REFSECT2"
4090><A
Daniel Veillard28929b22000-11-13 18:22:49 +00004091NAME="AEN15782"
Daniel Veillard35925471999-02-25 08:46:07 +00004092></A
4093><H3
4094><A
4095NAME="XMLNAMESPACEPARSENCNAME"
4096></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004097>xmlNamespaceParseNCName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004098><TABLE
4099BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004100BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004101WIDTH="100%"
4102CELLPADDING="6"
4103><TR
4104><TD
4105><PRE
4106CLASS="PROGRAMLISTING"
4107><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004108HREF="gnome-xml-tree.html#XMLCHAR"
4109>xmlChar</A
4110>* xmlNamespaceParseNCName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004111HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4112>xmlParserCtxtPtr</A
4113> ctxt);</PRE
4114></TD
4115></TR
4116></TABLE
4117><P
4118>parse an XML namespace name.</P
4119><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004120>TODO: this seems not in use anymore, the namespace handling is done on
4121top of the SAX interfaces, i.e. not on raw input.</P
4122><P
Daniel Veillard35925471999-02-25 08:46:07 +00004123>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
4124><P
4125>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
4126CombiningChar | Extender</P
4127><P
4128></P
4129><DIV
4130CLASS="INFORMALTABLE"
4131><P
4132></P
4133><TABLE
4134BORDER="0"
4135WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004136BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004137CELLSPACING="0"
4138CELLPADDING="4"
4139CLASS="CALSTABLE"
4140><TR
4141><TD
4142WIDTH="20%"
4143ALIGN="RIGHT"
4144VALIGN="TOP"
4145><TT
4146CLASS="PARAMETER"
4147><I
4148>ctxt</I
4149></TT
4150>&nbsp;:</TD
4151><TD
4152WIDTH="80%"
4153ALIGN="LEFT"
4154VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004155> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004156></TR
4157><TR
4158><TD
4159WIDTH="20%"
4160ALIGN="RIGHT"
4161VALIGN="TOP"
4162><I
4163CLASS="EMPHASIS"
4164>Returns</I
4165> :</TD
4166><TD
4167WIDTH="80%"
4168ALIGN="LEFT"
4169VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004170>the namespace name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004171></TR
4172></TABLE
4173><P
4174></P
4175></DIV
4176></DIV
4177><HR><DIV
4178CLASS="REFSECT2"
4179><A
Daniel Veillard28929b22000-11-13 18:22:49 +00004180NAME="AEN15806"
Daniel Veillard35925471999-02-25 08:46:07 +00004181></A
4182><H3
4183><A
4184NAME="XMLNAMESPACEPARSEQNAME"
4185></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004186>xmlNamespaceParseQName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004187><TABLE
4188BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004189BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004190WIDTH="100%"
4191CELLPADDING="6"
4192><TR
4193><TD
4194><PRE
4195CLASS="PROGRAMLISTING"
4196><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004197HREF="gnome-xml-tree.html#XMLCHAR"
4198>xmlChar</A
4199>* xmlNamespaceParseQName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004200HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4201>xmlParserCtxtPtr</A
4202> ctxt,
4203 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004204HREF="gnome-xml-tree.html#XMLCHAR"
4205>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004206> **prefix);</PRE
4207></TD
4208></TR
4209></TABLE
4210><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004211>TODO: this seems not in use anymore, the namespace handling is done on
4212top of the SAX interfaces, i.e. not on raw input.</P
4213><P
Daniel Veillard35925471999-02-25 08:46:07 +00004214>parse an XML qualified name</P
4215><P
4216>[NS 5] QName ::= (Prefix ':')? LocalPart</P
4217><P
4218>[NS 6] Prefix ::= NCName</P
4219><P
4220>[NS 7] LocalPart ::= NCName</P
4221><P
4222></P
4223><DIV
4224CLASS="INFORMALTABLE"
4225><P
4226></P
4227><TABLE
4228BORDER="0"
4229WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004230BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004231CELLSPACING="0"
4232CELLPADDING="4"
4233CLASS="CALSTABLE"
4234><TR
4235><TD
4236WIDTH="20%"
4237ALIGN="RIGHT"
4238VALIGN="TOP"
4239><TT
4240CLASS="PARAMETER"
4241><I
4242>ctxt</I
4243></TT
4244>&nbsp;:</TD
4245><TD
4246WIDTH="80%"
4247ALIGN="LEFT"
4248VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004249> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004250></TR
4251><TR
4252><TD
4253WIDTH="20%"
4254ALIGN="RIGHT"
4255VALIGN="TOP"
4256><TT
4257CLASS="PARAMETER"
4258><I
4259>prefix</I
4260></TT
4261>&nbsp;:</TD
4262><TD
4263WIDTH="80%"
4264ALIGN="LEFT"
4265VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004266> a xmlChar ** </TD
Daniel Veillard35925471999-02-25 08:46:07 +00004267></TR
4268><TR
4269><TD
4270WIDTH="20%"
4271ALIGN="RIGHT"
4272VALIGN="TOP"
4273><I
4274CLASS="EMPHASIS"
4275>Returns</I
4276> :</TD
4277><TD
4278WIDTH="80%"
4279ALIGN="LEFT"
4280VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004281>the local part, and prefix is updated
4282to get the Prefix if any.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004283></TR
4284></TABLE
4285><P
4286></P
4287></DIV
4288></DIV
4289><HR><DIV
4290CLASS="REFSECT2"
4291><A
Daniel Veillard28929b22000-11-13 18:22:49 +00004292NAME="AEN15836"
Daniel Veillard35925471999-02-25 08:46:07 +00004293></A
4294><H3
4295><A
4296NAME="XMLNAMESPACEPARSENSDEF"
4297></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004298>xmlNamespaceParseNSDef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004299><TABLE
4300BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004301BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004302WIDTH="100%"
4303CELLPADDING="6"
4304><TR
4305><TD
4306><PRE
4307CLASS="PROGRAMLISTING"
4308><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004309HREF="gnome-xml-tree.html#XMLCHAR"
4310>xmlChar</A
4311>* xmlNamespaceParseNSDef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004312HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4313>xmlParserCtxtPtr</A
4314> ctxt);</PRE
4315></TD
4316></TR
4317></TABLE
4318><P
4319>parse a namespace prefix declaration</P
4320><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004321>TODO: this seems not in use anymore, the namespace handling is done on
4322top of the SAX interfaces, i.e. not on raw input.</P
4323><P
Daniel Veillard35925471999-02-25 08:46:07 +00004324>[NS 1] NSDef ::= PrefixDef Eq SystemLiteral</P
4325><P
4326>[NS 2] PrefixDef ::= 'xmlns' (':' NCName)?</P
4327><P
4328></P
4329><DIV
4330CLASS="INFORMALTABLE"
4331><P
4332></P
4333><TABLE
4334BORDER="0"
4335WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004336BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004337CELLSPACING="0"
4338CELLPADDING="4"
4339CLASS="CALSTABLE"
4340><TR
4341><TD
4342WIDTH="20%"
4343ALIGN="RIGHT"
4344VALIGN="TOP"
4345><TT
4346CLASS="PARAMETER"
4347><I
4348>ctxt</I
4349></TT
4350>&nbsp;:</TD
4351><TD
4352WIDTH="80%"
4353ALIGN="LEFT"
4354VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004355> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004356></TR
4357><TR
4358><TD
4359WIDTH="20%"
4360ALIGN="RIGHT"
4361VALIGN="TOP"
4362><I
4363CLASS="EMPHASIS"
4364>Returns</I
4365> :</TD
4366><TD
4367WIDTH="80%"
4368ALIGN="LEFT"
4369VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004370>the namespace name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004371></TR
4372></TABLE
4373><P
4374></P
4375></DIV
4376></DIV
4377><HR><DIV
4378CLASS="REFSECT2"
4379><A
Daniel Veillard28929b22000-11-13 18:22:49 +00004380NAME="AEN15860"
Daniel Veillard35925471999-02-25 08:46:07 +00004381></A
4382><H3
4383><A
4384NAME="XMLPARSEQUOTEDSTRING"
4385></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004386>xmlParseQuotedString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004387><TABLE
4388BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004389BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004390WIDTH="100%"
4391CELLPADDING="6"
4392><TR
4393><TD
4394><PRE
4395CLASS="PROGRAMLISTING"
4396><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004397HREF="gnome-xml-tree.html#XMLCHAR"
4398>xmlChar</A
4399>* xmlParseQuotedString (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004400HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4401>xmlParserCtxtPtr</A
4402> ctxt);</PRE
4403></TD
4404></TR
4405></TABLE
4406><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004407>Parse and return a string between quotes or doublequotes</P
4408><P
4409>TODO: Deprecated, to be removed at next drop of binary compatibility</P
Daniel Veillard35925471999-02-25 08:46:07 +00004410><P
4411></P
4412><DIV
4413CLASS="INFORMALTABLE"
4414><P
4415></P
4416><TABLE
4417BORDER="0"
4418WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004419BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004420CELLSPACING="0"
4421CELLPADDING="4"
4422CLASS="CALSTABLE"
4423><TR
4424><TD
4425WIDTH="20%"
4426ALIGN="RIGHT"
4427VALIGN="TOP"
4428><TT
4429CLASS="PARAMETER"
4430><I
4431>ctxt</I
4432></TT
4433>&nbsp;:</TD
4434><TD
4435WIDTH="80%"
4436ALIGN="LEFT"
4437VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004438> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004439></TR
4440><TR
4441><TD
4442WIDTH="20%"
4443ALIGN="RIGHT"
4444VALIGN="TOP"
4445><I
4446CLASS="EMPHASIS"
4447>Returns</I
4448> :</TD
4449><TD
4450WIDTH="80%"
4451ALIGN="LEFT"
4452VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004453>the string parser or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004454></TR
4455></TABLE
4456><P
4457></P
4458></DIV
4459></DIV
4460><HR><DIV
4461CLASS="REFSECT2"
4462><A
Daniel Veillard28929b22000-11-13 18:22:49 +00004463NAME="AEN15882"
Daniel Veillard35925471999-02-25 08:46:07 +00004464></A
4465><H3
4466><A
4467NAME="XMLPARSENAMESPACE"
4468></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004469>xmlParseNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004470><TABLE
4471BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004472BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004473WIDTH="100%"
4474CELLPADDING="6"
4475><TR
4476><TD
4477><PRE
4478CLASS="PROGRAMLISTING"
4479>void xmlParseNamespace (<A
4480HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4481>xmlParserCtxtPtr</A
4482> ctxt);</PRE
4483></TD
4484></TR
4485></TABLE
4486><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004487>xmlParseNamespace: parse specific PI '&lt;?namespace ...' constructs.</P
Daniel Veillard35925471999-02-25 08:46:07 +00004488><P
4489>This is what the older xml-name Working Draft specified, a bunch of
4490other stuff may still rely on it, so support is still here as
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004491if it was declared on the root of the Tree:-(</P
Daniel Veillard35925471999-02-25 08:46:07 +00004492><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004493>TODO: remove from library</P
4494><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004495>To be removed at next drop of binary compatibility</P
4496><P
Daniel Veillard35925471999-02-25 08:46:07 +00004497></P
4498><DIV
4499CLASS="INFORMALTABLE"
4500><P
4501></P
4502><TABLE
4503BORDER="0"
4504WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004505BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004506CELLSPACING="0"
4507CELLPADDING="4"
4508CLASS="CALSTABLE"
4509><TR
4510><TD
4511WIDTH="20%"
4512ALIGN="RIGHT"
4513VALIGN="TOP"
4514><TT
4515CLASS="PARAMETER"
4516><I
4517>ctxt</I
4518></TT
4519>&nbsp;:</TD
4520><TD
4521WIDTH="80%"
4522ALIGN="LEFT"
4523VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004524> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004525></TR
4526></TABLE
4527><P
4528></P
4529></DIV
4530></DIV
4531><HR><DIV
4532CLASS="REFSECT2"
4533><A
Daniel Veillard28929b22000-11-13 18:22:49 +00004534NAME="AEN15901"
Daniel Veillardb05deb71999-08-10 19:04:08 +00004535></A
4536><H3
4537><A
4538NAME="XMLSCANNAME"
4539></A
4540>xmlScanName ()</H3
4541><TABLE
4542BORDER="0"
4543BGCOLOR="#D6E8FF"
4544WIDTH="100%"
4545CELLPADDING="6"
4546><TR
4547><TD
4548><PRE
4549CLASS="PROGRAMLISTING"
4550><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004551HREF="gnome-xml-tree.html#XMLCHAR"
4552>xmlChar</A
4553>* xmlScanName (<A
Daniel Veillardb05deb71999-08-10 19:04:08 +00004554HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4555>xmlParserCtxtPtr</A
4556> ctxt);</PRE
4557></TD
4558></TR
4559></TABLE
4560><P
4561>Trickery: parse an XML name but without consuming the input flow
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004562Needed for rollback cases. Used only when parsing entities references.</P
4563><P
4564>TODO: seems deprecated now, only used in the default part of
4565xmlParserHandleReference</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004566><P
4567>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
4568CombiningChar | Extender</P
4569><P
4570>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
4571><P
4572>[6] Names ::= Name (S Name)*</P
4573><P
4574></P
4575><DIV
4576CLASS="INFORMALTABLE"
4577><P
4578></P
4579><TABLE
4580BORDER="0"
4581WIDTH="100%"
4582BGCOLOR="#FFD0D0"
4583CELLSPACING="0"
4584CELLPADDING="4"
4585CLASS="CALSTABLE"
4586><TR
4587><TD
4588WIDTH="20%"
4589ALIGN="RIGHT"
4590VALIGN="TOP"
4591><TT
4592CLASS="PARAMETER"
4593><I
4594>ctxt</I
4595></TT
4596>&nbsp;:</TD
4597><TD
4598WIDTH="80%"
4599ALIGN="LEFT"
4600VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004601> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004602></TR
4603><TR
4604><TD
4605WIDTH="20%"
4606ALIGN="RIGHT"
4607VALIGN="TOP"
4608><I
4609CLASS="EMPHASIS"
4610>Returns</I
4611> :</TD
4612><TD
4613WIDTH="80%"
4614ALIGN="LEFT"
4615VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004616>the Name parsed or NULL</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00004617></TR
4618></TABLE
4619><P
4620></P
4621></DIV
4622></DIV
4623><HR><DIV
4624CLASS="REFSECT2"
4625><A
Daniel Veillard28929b22000-11-13 18:22:49 +00004626NAME="AEN15926"
Daniel Veillard35925471999-02-25 08:46:07 +00004627></A
4628><H3
4629><A
4630NAME="XMLPARSENAME"
4631></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004632>xmlParseName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004633><TABLE
4634BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004635BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004636WIDTH="100%"
4637CELLPADDING="6"
4638><TR
4639><TD
4640><PRE
4641CLASS="PROGRAMLISTING"
4642><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004643HREF="gnome-xml-tree.html#XMLCHAR"
4644>xmlChar</A
4645>* xmlParseName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004646HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4647>xmlParserCtxtPtr</A
4648> ctxt);</PRE
4649></TD
4650></TR
4651></TABLE
4652><P
4653>parse an XML name.</P
4654><P
4655>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
4656CombiningChar | Extender</P
4657><P
4658>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
4659><P
4660>[6] Names ::= Name (S Name)*</P
4661><P
4662></P
4663><DIV
4664CLASS="INFORMALTABLE"
4665><P
4666></P
4667><TABLE
4668BORDER="0"
4669WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004670BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004671CELLSPACING="0"
4672CELLPADDING="4"
4673CLASS="CALSTABLE"
4674><TR
4675><TD
4676WIDTH="20%"
4677ALIGN="RIGHT"
4678VALIGN="TOP"
4679><TT
4680CLASS="PARAMETER"
4681><I
4682>ctxt</I
4683></TT
4684>&nbsp;:</TD
4685><TD
4686WIDTH="80%"
4687ALIGN="LEFT"
4688VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004689> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004690></TR
4691><TR
4692><TD
4693WIDTH="20%"
4694ALIGN="RIGHT"
4695VALIGN="TOP"
4696><I
4697CLASS="EMPHASIS"
4698>Returns</I
4699> :</TD
4700><TD
4701WIDTH="80%"
4702ALIGN="LEFT"
4703VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004704>the Name parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004705></TR
4706></TABLE
4707><P
4708></P
4709></DIV
4710></DIV
4711><HR><DIV
4712CLASS="REFSECT2"
4713><A
Daniel Veillard28929b22000-11-13 18:22:49 +00004714NAME="AEN15950"
Daniel Veillard35925471999-02-25 08:46:07 +00004715></A
4716><H3
4717><A
4718NAME="XMLPARSENMTOKEN"
4719></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004720>xmlParseNmtoken ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004721><TABLE
4722BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004723BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004724WIDTH="100%"
4725CELLPADDING="6"
4726><TR
4727><TD
4728><PRE
4729CLASS="PROGRAMLISTING"
4730><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004731HREF="gnome-xml-tree.html#XMLCHAR"
4732>xmlChar</A
4733>* xmlParseNmtoken (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004734HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4735>xmlParserCtxtPtr</A
4736> ctxt);</PRE
4737></TD
4738></TR
4739></TABLE
4740><P
4741>parse an XML Nmtoken.</P
4742><P
4743>[7] Nmtoken ::= (NameChar)+</P
4744><P
4745>[8] Nmtokens ::= Nmtoken (S Nmtoken)*</P
4746><P
4747></P
4748><DIV
4749CLASS="INFORMALTABLE"
4750><P
4751></P
4752><TABLE
4753BORDER="0"
4754WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004755BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004756CELLSPACING="0"
4757CELLPADDING="4"
4758CLASS="CALSTABLE"
4759><TR
4760><TD
4761WIDTH="20%"
4762ALIGN="RIGHT"
4763VALIGN="TOP"
4764><TT
4765CLASS="PARAMETER"
4766><I
4767>ctxt</I
4768></TT
4769>&nbsp;:</TD
4770><TD
4771WIDTH="80%"
4772ALIGN="LEFT"
4773VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004774> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004775></TR
4776><TR
4777><TD
4778WIDTH="20%"
4779ALIGN="RIGHT"
4780VALIGN="TOP"
4781><I
4782CLASS="EMPHASIS"
4783>Returns</I
4784> :</TD
4785><TD
4786WIDTH="80%"
4787ALIGN="LEFT"
4788VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004789>the Nmtoken parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004790></TR
4791></TABLE
4792><P
4793></P
4794></DIV
4795></DIV
4796><HR><DIV
4797CLASS="REFSECT2"
4798><A
Daniel Veillard28929b22000-11-13 18:22:49 +00004799NAME="AEN15973"
Daniel Veillard35925471999-02-25 08:46:07 +00004800></A
4801><H3
4802><A
4803NAME="XMLPARSEENTITYVALUE"
4804></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004805>xmlParseEntityValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004806><TABLE
4807BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004808BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004809WIDTH="100%"
4810CELLPADDING="6"
4811><TR
4812><TD
4813><PRE
4814CLASS="PROGRAMLISTING"
4815><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004816HREF="gnome-xml-tree.html#XMLCHAR"
4817>xmlChar</A
4818>* xmlParseEntityValue (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004819HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4820>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004821> ctxt,
4822 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004823HREF="gnome-xml-tree.html#XMLCHAR"
4824>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004825> **orig);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00004826></TD
4827></TR
4828></TABLE
4829><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00004830>parse a value for ENTITY declarations</P
Daniel Veillard35925471999-02-25 08:46:07 +00004831><P
4832>[9] EntityValue ::= '"' ([^%&amp;"] | PEReference | Reference)* '"' |
4833"'" ([^%&amp;'] | PEReference | Reference)* "'"</P
4834><P
4835></P
4836><DIV
4837CLASS="INFORMALTABLE"
4838><P
4839></P
4840><TABLE
4841BORDER="0"
4842WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004843BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004844CELLSPACING="0"
4845CELLPADDING="4"
4846CLASS="CALSTABLE"
4847><TR
4848><TD
4849WIDTH="20%"
4850ALIGN="RIGHT"
4851VALIGN="TOP"
4852><TT
4853CLASS="PARAMETER"
4854><I
4855>ctxt</I
4856></TT
4857>&nbsp;:</TD
4858><TD
4859WIDTH="80%"
4860ALIGN="LEFT"
4861VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004862> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004863></TR
4864><TR
4865><TD
4866WIDTH="20%"
4867ALIGN="RIGHT"
4868VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004869><TT
4870CLASS="PARAMETER"
4871><I
4872>orig</I
4873></TT
4874>&nbsp;:</TD
4875><TD
4876WIDTH="80%"
4877ALIGN="LEFT"
4878VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004879> if non-NULL store a copy of the original entity value</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00004880></TR
4881><TR
4882><TD
4883WIDTH="20%"
4884ALIGN="RIGHT"
4885VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00004886><I
4887CLASS="EMPHASIS"
4888>Returns</I
4889> :</TD
4890><TD
4891WIDTH="80%"
4892ALIGN="LEFT"
4893VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00004894>the EntityValue parsed with reference substitued or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004895></TR
4896></TABLE
4897><P
4898></P
4899></DIV
4900></DIV
4901><HR><DIV
4902CLASS="REFSECT2"
4903><A
Daniel Veillard28929b22000-11-13 18:22:49 +00004904NAME="AEN16000"
Daniel Veillard35925471999-02-25 08:46:07 +00004905></A
4906><H3
4907><A
4908NAME="XMLPARSEATTVALUE"
4909></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004910>xmlParseAttValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004911><TABLE
4912BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004913BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004914WIDTH="100%"
4915CELLPADDING="6"
4916><TR
4917><TD
4918><PRE
4919CLASS="PROGRAMLISTING"
4920><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004921HREF="gnome-xml-tree.html#XMLCHAR"
4922>xmlChar</A
4923>* xmlParseAttValue (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004924HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4925>xmlParserCtxtPtr</A
4926> ctxt);</PRE
4927></TD
4928></TR
4929></TABLE
4930><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00004931>parse a value for an attribute
4932Note: the parser won't do substitution of entities here, this
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004933will be handled later in xmlStringGetNodeList</P
Daniel Veillard35925471999-02-25 08:46:07 +00004934><P
4935>[10] AttValue ::= '"' ([^&lt;&amp;"] | Reference)* '"' |
4936"'" ([^&lt;&amp;'] | Reference)* "'"</P
4937><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004938>3.3.3 Attribute-Value Normalization:
4939Before the value of an attribute is passed to the application or
4940checked for validity, the XML processor must normalize it as follows:
4941- a character reference is processed by appending the referenced
4942character to the attribute value
4943- an entity reference is processed by recursively processing the
4944replacement text of the entity
4945- a whitespace character (<GTKDOCLINK
4946HREF="X20"
4947>x20</GTKDOCLINK
4948>, <GTKDOCLINK
4949HREF="XD"
4950>xD</GTKDOCLINK
4951>, <GTKDOCLINK
4952HREF="XA"
4953>xA</GTKDOCLINK
4954>, <GTKDOCLINK
4955HREF="X9"
4956>x9</GTKDOCLINK
4957>) is processed by
4958appending <GTKDOCLINK
4959HREF="X20"
4960>x20</GTKDOCLINK
4961> to the normalized value, except that only a single
4962<GTKDOCLINK
4963HREF="X20"
4964>x20</GTKDOCLINK
4965> is appended for a "<GTKDOCLINK
4966HREF="XD"
4967>xD</GTKDOCLINK
4968><GTKDOCLINK
4969HREF="XA"
4970>xA</GTKDOCLINK
4971>" sequence that is part of an external
4972parsed entity or the literal entity value of an internal parsed entity
4973- other characters are processed by appending them to the normalized value
4974If the declared value is not CDATA, then the XML processor must further
4975process the normalized attribute value by discarding any leading and
4976trailing space (<GTKDOCLINK
4977HREF="X20"
4978>x20</GTKDOCLINK
4979>) characters, and by replacing sequences of space
4980(<GTKDOCLINK
4981HREF="X20"
4982>x20</GTKDOCLINK
4983>) characters by a single space (<GTKDOCLINK
4984HREF="X20"
4985>x20</GTKDOCLINK
4986>) character.
4987All attributes for which no declaration has been read should be treated
4988by a non-validating parser as if declared CDATA.</P
4989><P
Daniel Veillard35925471999-02-25 08:46:07 +00004990></P
4991><DIV
4992CLASS="INFORMALTABLE"
4993><P
4994></P
4995><TABLE
4996BORDER="0"
4997WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004998BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004999CELLSPACING="0"
5000CELLPADDING="4"
5001CLASS="CALSTABLE"
5002><TR
5003><TD
5004WIDTH="20%"
5005ALIGN="RIGHT"
5006VALIGN="TOP"
5007><TT
5008CLASS="PARAMETER"
5009><I
5010>ctxt</I
5011></TT
5012>&nbsp;:</TD
5013><TD
5014WIDTH="80%"
5015ALIGN="LEFT"
5016VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005017> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005018></TR
5019><TR
5020><TD
5021WIDTH="20%"
5022ALIGN="RIGHT"
5023VALIGN="TOP"
5024><I
5025CLASS="EMPHASIS"
5026>Returns</I
5027> :</TD
5028><TD
5029WIDTH="80%"
5030ALIGN="LEFT"
5031VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005032>the AttValue parsed or NULL. The value has to be freed by the caller.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005033></TR
5034></TABLE
5035><P
5036></P
5037></DIV
5038></DIV
5039><HR><DIV
5040CLASS="REFSECT2"
5041><A
Daniel Veillard28929b22000-11-13 18:22:49 +00005042NAME="AEN16034"
Daniel Veillard35925471999-02-25 08:46:07 +00005043></A
5044><H3
5045><A
5046NAME="XMLPARSESYSTEMLITERAL"
5047></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005048>xmlParseSystemLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005049><TABLE
5050BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005051BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005052WIDTH="100%"
5053CELLPADDING="6"
5054><TR
5055><TD
5056><PRE
5057CLASS="PROGRAMLISTING"
5058><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005059HREF="gnome-xml-tree.html#XMLCHAR"
5060>xmlChar</A
5061>* xmlParseSystemLiteral (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005062HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5063>xmlParserCtxtPtr</A
5064> ctxt);</PRE
5065></TD
5066></TR
5067></TABLE
5068><P
5069>parse an XML Literal</P
5070><P
5071>[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</P
5072><P
5073></P
5074><DIV
5075CLASS="INFORMALTABLE"
5076><P
5077></P
5078><TABLE
5079BORDER="0"
5080WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005081BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005082CELLSPACING="0"
5083CELLPADDING="4"
5084CLASS="CALSTABLE"
5085><TR
5086><TD
5087WIDTH="20%"
5088ALIGN="RIGHT"
5089VALIGN="TOP"
5090><TT
5091CLASS="PARAMETER"
5092><I
5093>ctxt</I
5094></TT
5095>&nbsp;:</TD
5096><TD
5097WIDTH="80%"
5098ALIGN="LEFT"
5099VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005100> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005101></TR
5102><TR
5103><TD
5104WIDTH="20%"
5105ALIGN="RIGHT"
5106VALIGN="TOP"
5107><I
5108CLASS="EMPHASIS"
5109>Returns</I
5110> :</TD
5111><TD
5112WIDTH="80%"
5113ALIGN="LEFT"
5114VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005115>the SystemLiteral parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005116></TR
5117></TABLE
5118><P
5119></P
5120></DIV
5121></DIV
5122><HR><DIV
5123CLASS="REFSECT2"
5124><A
Daniel Veillard28929b22000-11-13 18:22:49 +00005125NAME="AEN16056"
Daniel Veillard35925471999-02-25 08:46:07 +00005126></A
5127><H3
5128><A
5129NAME="XMLPARSEPUBIDLITERAL"
5130></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005131>xmlParsePubidLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005132><TABLE
5133BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005134BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005135WIDTH="100%"
5136CELLPADDING="6"
5137><TR
5138><TD
5139><PRE
5140CLASS="PROGRAMLISTING"
5141><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005142HREF="gnome-xml-tree.html#XMLCHAR"
5143>xmlChar</A
5144>* xmlParsePubidLiteral (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005145HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5146>xmlParserCtxtPtr</A
5147> ctxt);</PRE
5148></TD
5149></TR
5150></TABLE
5151><P
5152>parse an XML public literal</P
5153><P
5154>[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</P
5155><P
5156></P
5157><DIV
5158CLASS="INFORMALTABLE"
5159><P
5160></P
5161><TABLE
5162BORDER="0"
5163WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005164BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005165CELLSPACING="0"
5166CELLPADDING="4"
5167CLASS="CALSTABLE"
5168><TR
5169><TD
5170WIDTH="20%"
5171ALIGN="RIGHT"
5172VALIGN="TOP"
5173><TT
5174CLASS="PARAMETER"
5175><I
5176>ctxt</I
5177></TT
5178>&nbsp;:</TD
5179><TD
5180WIDTH="80%"
5181ALIGN="LEFT"
5182VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005183> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005184></TR
5185><TR
5186><TD
5187WIDTH="20%"
5188ALIGN="RIGHT"
5189VALIGN="TOP"
5190><I
5191CLASS="EMPHASIS"
5192>Returns</I
5193> :</TD
5194><TD
5195WIDTH="80%"
5196ALIGN="LEFT"
5197VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005198>the PubidLiteral parsed or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005199></TR
5200></TABLE
5201><P
5202></P
5203></DIV
5204></DIV
5205><HR><DIV
5206CLASS="REFSECT2"
5207><A
Daniel Veillard28929b22000-11-13 18:22:49 +00005208NAME="AEN16078"
Daniel Veillard35925471999-02-25 08:46:07 +00005209></A
5210><H3
5211><A
5212NAME="XMLPARSECHARDATA"
5213></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005214>xmlParseCharData ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005215><TABLE
5216BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005217BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005218WIDTH="100%"
5219CELLPADDING="6"
5220><TR
5221><TD
5222><PRE
5223CLASS="PROGRAMLISTING"
5224>void xmlParseCharData (<A
5225HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5226>xmlParserCtxtPtr</A
5227> ctxt,
5228 int cdata);</PRE
5229></TD
5230></TR
5231></TABLE
5232><P
5233>parse a CharData section.
5234if we are within a CDATA section ']]&gt;' marks an end of section.</P
5235><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005236>The right angle bracket (&gt;) may be represented using the string "&amp;gt;",
5237and must, for compatibility, be escaped using "&amp;gt;" or a character
5238reference when it appears in the string "]]&gt;" in content, when that
5239string is not marking the end of a CDATA section. </P
5240><P
Daniel Veillard35925471999-02-25 08:46:07 +00005241>[14] CharData ::= [^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</P
5242><P
5243></P
5244><DIV
5245CLASS="INFORMALTABLE"
5246><P
5247></P
5248><TABLE
5249BORDER="0"
5250WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005251BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005252CELLSPACING="0"
5253CELLPADDING="4"
5254CLASS="CALSTABLE"
5255><TR
5256><TD
5257WIDTH="20%"
5258ALIGN="RIGHT"
5259VALIGN="TOP"
5260><TT
5261CLASS="PARAMETER"
5262><I
5263>ctxt</I
5264></TT
5265>&nbsp;:</TD
5266><TD
5267WIDTH="80%"
5268ALIGN="LEFT"
5269VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005270> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005271></TR
5272><TR
5273><TD
5274WIDTH="20%"
5275ALIGN="RIGHT"
5276VALIGN="TOP"
5277><TT
5278CLASS="PARAMETER"
5279><I
5280>cdata</I
5281></TT
5282>&nbsp;:</TD
5283><TD
5284WIDTH="80%"
5285ALIGN="LEFT"
5286VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005287> int indicating whether we are within a CDATA section</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005288></TR
5289></TABLE
5290><P
5291></P
5292></DIV
5293></DIV
5294><HR><DIV
5295CLASS="REFSECT2"
5296><A
Daniel Veillard28929b22000-11-13 18:22:49 +00005297NAME="AEN16100"
Daniel Veillard35925471999-02-25 08:46:07 +00005298></A
5299><H3
5300><A
5301NAME="XMLPARSEEXTERNALID"
5302></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005303>xmlParseExternalID ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005304><TABLE
5305BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005306BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005307WIDTH="100%"
5308CELLPADDING="6"
5309><TR
5310><TD
5311><PRE
5312CLASS="PROGRAMLISTING"
5313><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005314HREF="gnome-xml-tree.html#XMLCHAR"
5315>xmlChar</A
5316>* xmlParseExternalID (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005317HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5318>xmlParserCtxtPtr</A
5319> ctxt,
5320 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005321HREF="gnome-xml-tree.html#XMLCHAR"
5322>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005323> **publicID,
5324 int strict);</PRE
5325></TD
5326></TR
5327></TABLE
5328><P
5329>Parse an External ID or a Public ID</P
5330><P
5331>NOTE: Productions [75] and [83] interract badly since [75] can generate
5332'PUBLIC' S PubidLiteral S SystemLiteral</P
5333><P
5334>[75] ExternalID ::= 'SYSTEM' S SystemLiteral
5335| 'PUBLIC' S PubidLiteral S SystemLiteral</P
5336><P
5337>[83] PublicID ::= 'PUBLIC' S PubidLiteral</P
5338><P
5339></P
5340><DIV
5341CLASS="INFORMALTABLE"
5342><P
5343></P
5344><TABLE
5345BORDER="0"
5346WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005347BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005348CELLSPACING="0"
5349CELLPADDING="4"
5350CLASS="CALSTABLE"
5351><TR
5352><TD
5353WIDTH="20%"
5354ALIGN="RIGHT"
5355VALIGN="TOP"
5356><TT
5357CLASS="PARAMETER"
5358><I
5359>ctxt</I
5360></TT
5361>&nbsp;:</TD
5362><TD
5363WIDTH="80%"
5364ALIGN="LEFT"
5365VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005366> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005367></TR
5368><TR
5369><TD
5370WIDTH="20%"
5371ALIGN="RIGHT"
5372VALIGN="TOP"
5373><TT
5374CLASS="PARAMETER"
5375><I
5376>publicID</I
5377></TT
5378>&nbsp;:</TD
5379><TD
5380WIDTH="80%"
5381ALIGN="LEFT"
5382VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005383> a xmlChar** receiving PubidLiteral</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005384></TR
5385><TR
5386><TD
5387WIDTH="20%"
5388ALIGN="RIGHT"
5389VALIGN="TOP"
5390><TT
5391CLASS="PARAMETER"
5392><I
5393>strict</I
5394></TT
5395>&nbsp;:</TD
5396><TD
5397WIDTH="80%"
5398ALIGN="LEFT"
5399VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005400> indicate whether we should restrict parsing to only
5401production [75], see NOTE below</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005402></TR
5403><TR
5404><TD
5405WIDTH="20%"
5406ALIGN="RIGHT"
5407VALIGN="TOP"
5408><I
5409CLASS="EMPHASIS"
5410>Returns</I
5411> :</TD
5412><TD
5413WIDTH="80%"
5414ALIGN="LEFT"
5415VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005416>the function returns SystemLiteral and in the second
5417case publicID receives PubidLiteral, is strict is off
5418it is possible to return NULL and have publicID set.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005419></TR
5420></TABLE
5421><P
5422></P
5423></DIV
5424></DIV
5425><HR><DIV
5426CLASS="REFSECT2"
5427><A
Daniel Veillard28929b22000-11-13 18:22:49 +00005428NAME="AEN16133"
Daniel Veillard35925471999-02-25 08:46:07 +00005429></A
5430><H3
5431><A
5432NAME="XMLPARSECOMMENT"
5433></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005434>xmlParseComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005435><TABLE
5436BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005437BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005438WIDTH="100%"
5439CELLPADDING="6"
5440><TR
5441><TD
5442><PRE
5443CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00005444>void xmlParseComment (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005445HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5446>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00005447> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00005448></TD
5449></TR
5450></TABLE
5451><P
5452>Skip an XML (SGML) comment &lt;!-- .... --&gt;
Daniel Veillard35925471999-02-25 08:46:07 +00005453The spec says that "For compatibility, the string "--" (double-hyphen)
5454must not occur within comments. "</P
5455><P
5456>[15] Comment ::= '&lt;!--' ((Char - '-') | ('-' (Char - '-')))* '--&gt;'</P
5457><P
Daniel Veillard35925471999-02-25 08:46:07 +00005458></P
5459><DIV
5460CLASS="INFORMALTABLE"
5461><P
5462></P
5463><TABLE
5464BORDER="0"
5465WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005466BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005467CELLSPACING="0"
5468CELLPADDING="4"
5469CLASS="CALSTABLE"
5470><TR
5471><TD
5472WIDTH="20%"
5473ALIGN="RIGHT"
5474VALIGN="TOP"
5475><TT
5476CLASS="PARAMETER"
5477><I
5478>ctxt</I
5479></TT
5480>&nbsp;:</TD
5481><TD
5482WIDTH="80%"
5483ALIGN="LEFT"
5484VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005485> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005486></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005487></TABLE
5488><P
5489></P
5490></DIV
5491></DIV
5492><HR><DIV
5493CLASS="REFSECT2"
5494><A
Daniel Veillard28929b22000-11-13 18:22:49 +00005495NAME="AEN16150"
Daniel Veillard35925471999-02-25 08:46:07 +00005496></A
5497><H3
5498><A
5499NAME="XMLPARSEPITARGET"
5500></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005501>xmlParsePITarget ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005502><TABLE
5503BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005504BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005505WIDTH="100%"
5506CELLPADDING="6"
5507><TR
5508><TD
5509><PRE
5510CLASS="PROGRAMLISTING"
5511><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005512HREF="gnome-xml-tree.html#XMLCHAR"
5513>xmlChar</A
5514>* xmlParsePITarget (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005515HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5516>xmlParserCtxtPtr</A
5517> ctxt);</PRE
5518></TD
5519></TR
5520></TABLE
5521><P
5522>parse the name of a PI</P
5523><P
5524>[17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</P
5525><P
5526></P
5527><DIV
5528CLASS="INFORMALTABLE"
5529><P
5530></P
5531><TABLE
5532BORDER="0"
5533WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005534BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005535CELLSPACING="0"
5536CELLPADDING="4"
5537CLASS="CALSTABLE"
5538><TR
5539><TD
5540WIDTH="20%"
5541ALIGN="RIGHT"
5542VALIGN="TOP"
5543><TT
5544CLASS="PARAMETER"
5545><I
5546>ctxt</I
5547></TT
5548>&nbsp;:</TD
5549><TD
5550WIDTH="80%"
5551ALIGN="LEFT"
5552VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005553> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005554></TR
5555><TR
5556><TD
5557WIDTH="20%"
5558ALIGN="RIGHT"
5559VALIGN="TOP"
5560><I
5561CLASS="EMPHASIS"
5562>Returns</I
5563> :</TD
5564><TD
5565WIDTH="80%"
5566ALIGN="LEFT"
5567VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005568>the PITarget name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005569></TR
5570></TABLE
5571><P
5572></P
5573></DIV
5574></DIV
5575><HR><DIV
5576CLASS="REFSECT2"
5577><A
Daniel Veillard28929b22000-11-13 18:22:49 +00005578NAME="AEN16172"
Daniel Veillard35925471999-02-25 08:46:07 +00005579></A
5580><H3
5581><A
5582NAME="XMLPARSEPI"
5583></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005584>xmlParsePI ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005585><TABLE
5586BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005587BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005588WIDTH="100%"
5589CELLPADDING="6"
5590><TR
5591><TD
5592><PRE
5593CLASS="PROGRAMLISTING"
5594>void xmlParsePI (<A
5595HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5596>xmlParserCtxtPtr</A
5597> ctxt);</PRE
5598></TD
5599></TR
5600></TABLE
5601><P
5602>parse an XML Processing Instruction.</P
5603><P
5604>[16] PI ::= '&lt;?' PITarget (S (Char* - (Char* '?&gt;' Char*)))? '?&gt;'</P
5605><P
5606>The processing is transfered to SAX once parsed.</P
5607><P
5608></P
5609><DIV
5610CLASS="INFORMALTABLE"
5611><P
5612></P
5613><TABLE
5614BORDER="0"
5615WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005616BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005617CELLSPACING="0"
5618CELLPADDING="4"
5619CLASS="CALSTABLE"
5620><TR
5621><TD
5622WIDTH="20%"
5623ALIGN="RIGHT"
5624VALIGN="TOP"
5625><TT
5626CLASS="PARAMETER"
5627><I
5628>ctxt</I
5629></TT
5630>&nbsp;:</TD
5631><TD
5632WIDTH="80%"
5633ALIGN="LEFT"
5634VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005635> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005636></TR
5637></TABLE
5638><P
5639></P
5640></DIV
5641></DIV
5642><HR><DIV
5643CLASS="REFSECT2"
5644><A
Daniel Veillard28929b22000-11-13 18:22:49 +00005645NAME="AEN16190"
Daniel Veillard35925471999-02-25 08:46:07 +00005646></A
5647><H3
5648><A
5649NAME="XMLPARSENOTATIONDECL"
5650></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005651>xmlParseNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005652><TABLE
5653BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005654BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005655WIDTH="100%"
5656CELLPADDING="6"
5657><TR
5658><TD
5659><PRE
5660CLASS="PROGRAMLISTING"
5661>void xmlParseNotationDecl (<A
5662HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5663>xmlParserCtxtPtr</A
5664> ctxt);</PRE
5665></TD
5666></TR
5667></TABLE
5668><P
5669>parse a notation declaration</P
5670><P
5671>[82] NotationDecl ::= '&lt;!NOTATION' S Name S (ExternalID | PublicID) S? '&gt;'</P
5672><P
5673>Hence there is actually 3 choices:
5674'PUBLIC' S PubidLiteral
5675'PUBLIC' S PubidLiteral S SystemLiteral
5676and 'SYSTEM' S SystemLiteral</P
5677><P
5678>See the NOTE on <A
5679HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
5680>xmlParseExternalID</A
5681>().</P
5682><P
5683></P
5684><DIV
5685CLASS="INFORMALTABLE"
5686><P
5687></P
5688><TABLE
5689BORDER="0"
5690WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005691BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005692CELLSPACING="0"
5693CELLPADDING="4"
5694CLASS="CALSTABLE"
5695><TR
5696><TD
5697WIDTH="20%"
5698ALIGN="RIGHT"
5699VALIGN="TOP"
5700><TT
5701CLASS="PARAMETER"
5702><I
5703>ctxt</I
5704></TT
5705>&nbsp;:</TD
5706><TD
5707WIDTH="80%"
5708ALIGN="LEFT"
5709VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005710> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005711></TR
5712></TABLE
5713><P
5714></P
5715></DIV
5716></DIV
5717><HR><DIV
5718CLASS="REFSECT2"
5719><A
Daniel Veillard28929b22000-11-13 18:22:49 +00005720NAME="AEN16210"
Daniel Veillard35925471999-02-25 08:46:07 +00005721></A
5722><H3
5723><A
5724NAME="XMLPARSEENTITYDECL"
5725></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005726>xmlParseEntityDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005727><TABLE
5728BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005729BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005730WIDTH="100%"
5731CELLPADDING="6"
5732><TR
5733><TD
5734><PRE
5735CLASS="PROGRAMLISTING"
5736>void xmlParseEntityDecl (<A
5737HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5738>xmlParserCtxtPtr</A
5739> ctxt);</PRE
5740></TD
5741></TR
5742></TABLE
5743><P
5744>parse &lt;!ENTITY declarations</P
5745><P
5746>[70] EntityDecl ::= GEDecl | PEDecl</P
5747><P
5748>[71] GEDecl ::= '&lt;!ENTITY' S Name S EntityDef S? '&gt;'</P
5749><P
5750>[72] PEDecl ::= '&lt;!ENTITY' S '%' S Name S PEDef S? '&gt;'</P
5751><P
5752>[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)</P
5753><P
5754>[74] PEDef ::= EntityValue | ExternalID</P
5755><P
5756>[76] NDataDecl ::= S 'NDATA' S Name</P
5757><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005758>[ VC: Notation Declared ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005759The Name must match the declared name of a notation.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005760><P
Daniel Veillard35925471999-02-25 08:46:07 +00005761></P
5762><DIV
5763CLASS="INFORMALTABLE"
5764><P
5765></P
5766><TABLE
5767BORDER="0"
5768WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005769BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005770CELLSPACING="0"
5771CELLPADDING="4"
5772CLASS="CALSTABLE"
5773><TR
5774><TD
5775WIDTH="20%"
5776ALIGN="RIGHT"
5777VALIGN="TOP"
5778><TT
5779CLASS="PARAMETER"
5780><I
5781>ctxt</I
5782></TT
5783>&nbsp;:</TD
5784><TD
5785WIDTH="80%"
5786ALIGN="LEFT"
5787VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005788> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005789></TR
5790></TABLE
5791><P
5792></P
5793></DIV
5794></DIV
5795><HR><DIV
5796CLASS="REFSECT2"
5797><A
Daniel Veillard28929b22000-11-13 18:22:49 +00005798NAME="AEN16233"
Daniel Veillard35925471999-02-25 08:46:07 +00005799></A
5800><H3
5801><A
5802NAME="XMLPARSEDEFAULTDECL"
5803></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005804>xmlParseDefaultDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005805><TABLE
5806BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005807BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005808WIDTH="100%"
5809CELLPADDING="6"
5810><TR
5811><TD
5812><PRE
5813CLASS="PROGRAMLISTING"
5814>int xmlParseDefaultDecl (<A
5815HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5816>xmlParserCtxtPtr</A
5817> ctxt,
5818 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005819HREF="gnome-xml-tree.html#XMLCHAR"
5820>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005821> **value);</PRE
5822></TD
5823></TR
5824></TABLE
5825><P
5826>Parse an attribute default declaration</P
5827><P
5828>[60] DefaultDecl ::= '<GTKDOCLINK
5829HREF="REQUIRED"
5830>REQUIRED</GTKDOCLINK
5831>' | '<GTKDOCLINK
5832HREF="IMPLIED"
5833>IMPLIED</GTKDOCLINK
5834>' | (('<GTKDOCLINK
5835HREF="FIXED"
5836>FIXED</GTKDOCLINK
5837>' S)? AttValue)</P
5838><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005839>[ VC: Required Attribute ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005840if the default declaration is the keyword <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00005841HREF="REQUIRED"
5842>REQUIRED</GTKDOCLINK
5843>, then the
5844attribute must be specified for all elements of the type in the
5845attribute-list declaration.</P
5846><P
5847>[ VC: Attribute Default Legal ]
5848The declared default value must meet the lexical constraints of
5849the declared attribute type c.f. <A
5850HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL"
5851>xmlValidateAttributeDecl</A
5852>()</P
5853><P
5854>[ VC: Fixed Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005855if an attribute has a default value declared with the <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00005856HREF="FIXED"
5857>FIXED</GTKDOCLINK
5858>
5859keyword, instances of that attribute must match the default value. </P
5860><P
5861>[ WFC: No &lt; in Attribute Values ]
5862handled in <A
5863HREF="gnome-xml-parserinternals.html#XMLPARSEATTVALUE"
5864>xmlParseAttValue</A
5865>()</P
5866><P
Daniel Veillard35925471999-02-25 08:46:07 +00005867></P
5868><DIV
5869CLASS="INFORMALTABLE"
5870><P
5871></P
5872><TABLE
5873BORDER="0"
5874WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005875BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005876CELLSPACING="0"
5877CELLPADDING="4"
5878CLASS="CALSTABLE"
5879><TR
5880><TD
5881WIDTH="20%"
5882ALIGN="RIGHT"
5883VALIGN="TOP"
5884><TT
5885CLASS="PARAMETER"
5886><I
5887>ctxt</I
5888></TT
5889>&nbsp;:</TD
5890><TD
5891WIDTH="80%"
5892ALIGN="LEFT"
5893VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005894> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005895></TR
5896><TR
5897><TD
5898WIDTH="20%"
5899ALIGN="RIGHT"
5900VALIGN="TOP"
5901><TT
5902CLASS="PARAMETER"
5903><I
5904>value</I
5905></TT
5906>&nbsp;:</TD
5907><TD
5908WIDTH="80%"
5909ALIGN="LEFT"
5910VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005911> Receive a possible fixed default value for the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005912></TR
5913><TR
5914><TD
5915WIDTH="20%"
5916ALIGN="RIGHT"
5917VALIGN="TOP"
5918><I
5919CLASS="EMPHASIS"
5920>Returns</I
5921> :</TD
5922><TD
5923WIDTH="80%"
5924ALIGN="LEFT"
5925VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00005926> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED
5927or XML_ATTRIBUTE_FIXED. </TD
Daniel Veillard35925471999-02-25 08:46:07 +00005928></TR
5929></TABLE
5930><P
5931></P
5932></DIV
5933></DIV
5934><HR><DIV
5935CLASS="REFSECT2"
5936><A
Daniel Veillard28929b22000-11-13 18:22:49 +00005937NAME="AEN16270"
Daniel Veillard35925471999-02-25 08:46:07 +00005938></A
5939><H3
5940><A
5941NAME="XMLPARSENOTATIONTYPE"
5942></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005943>xmlParseNotationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005944><TABLE
5945BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005946BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005947WIDTH="100%"
5948CELLPADDING="6"
5949><TR
5950><TD
5951><PRE
5952CLASS="PROGRAMLISTING"
5953><A
5954HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
5955>xmlEnumerationPtr</A
5956> xmlParseNotationType (<A
5957HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5958>xmlParserCtxtPtr</A
5959> ctxt);</PRE
5960></TD
5961></TR
5962></TABLE
5963><P
5964>parse an Notation attribute type.</P
5965><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005966>Note: the leading 'NOTATION' S part has already being parsed...</P
5967><P
Daniel Veillard35925471999-02-25 08:46:07 +00005968>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
5969><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005970>[ VC: Notation Attributes ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005971Values of this type must match one of the notation names included
Daniel Veillardb05deb71999-08-10 19:04:08 +00005972in the declaration; all notation names in the declaration must be declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005973><P
5974></P
5975><DIV
5976CLASS="INFORMALTABLE"
5977><P
5978></P
5979><TABLE
5980BORDER="0"
5981WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005982BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005983CELLSPACING="0"
5984CELLPADDING="4"
5985CLASS="CALSTABLE"
5986><TR
5987><TD
5988WIDTH="20%"
5989ALIGN="RIGHT"
5990VALIGN="TOP"
5991><TT
5992CLASS="PARAMETER"
5993><I
5994>ctxt</I
5995></TT
5996>&nbsp;:</TD
5997><TD
5998WIDTH="80%"
5999ALIGN="LEFT"
6000VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006001> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006002></TR
6003><TR
6004><TD
6005WIDTH="20%"
6006ALIGN="RIGHT"
6007VALIGN="TOP"
6008><I
6009CLASS="EMPHASIS"
6010>Returns</I
6011> :</TD
6012><TD
6013WIDTH="80%"
6014ALIGN="LEFT"
6015VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006016> the notation attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006017></TR
6018></TABLE
6019><P
6020></P
6021></DIV
6022></DIV
6023><HR><DIV
6024CLASS="REFSECT2"
6025><A
Daniel Veillard28929b22000-11-13 18:22:49 +00006026NAME="AEN16294"
Daniel Veillard35925471999-02-25 08:46:07 +00006027></A
6028><H3
6029><A
6030NAME="XMLPARSEENUMERATIONTYPE"
6031></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006032>xmlParseEnumerationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006033><TABLE
6034BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006035BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006036WIDTH="100%"
6037CELLPADDING="6"
6038><TR
6039><TD
6040><PRE
6041CLASS="PROGRAMLISTING"
6042><A
6043HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
6044>xmlEnumerationPtr</A
6045> xmlParseEnumerationType (<A
6046HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6047>xmlParserCtxtPtr</A
6048> ctxt);</PRE
6049></TD
6050></TR
6051></TABLE
6052><P
6053>parse an Enumeration attribute type.</P
6054><P
6055>[59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')'</P
6056><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006057>[ VC: Enumeration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006058Values of this type must match one of the Nmtoken tokens in
Daniel Veillardb05deb71999-08-10 19:04:08 +00006059the declaration</P
6060><P
Daniel Veillard35925471999-02-25 08:46:07 +00006061></P
6062><DIV
6063CLASS="INFORMALTABLE"
6064><P
6065></P
6066><TABLE
6067BORDER="0"
6068WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006069BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006070CELLSPACING="0"
6071CELLPADDING="4"
6072CLASS="CALSTABLE"
6073><TR
6074><TD
6075WIDTH="20%"
6076ALIGN="RIGHT"
6077VALIGN="TOP"
6078><TT
6079CLASS="PARAMETER"
6080><I
6081>ctxt</I
6082></TT
6083>&nbsp;:</TD
6084><TD
6085WIDTH="80%"
6086ALIGN="LEFT"
6087VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006088> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006089></TR
6090><TR
6091><TD
6092WIDTH="20%"
6093ALIGN="RIGHT"
6094VALIGN="TOP"
6095><I
6096CLASS="EMPHASIS"
6097>Returns</I
6098> :</TD
6099><TD
6100WIDTH="80%"
6101ALIGN="LEFT"
6102VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006103> the enumeration attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006104></TR
6105></TABLE
6106><P
6107></P
6108></DIV
6109></DIV
6110><HR><DIV
6111CLASS="REFSECT2"
6112><A
Daniel Veillard28929b22000-11-13 18:22:49 +00006113NAME="AEN16317"
Daniel Veillard35925471999-02-25 08:46:07 +00006114></A
6115><H3
6116><A
6117NAME="XMLPARSEENUMERATEDTYPE"
6118></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006119>xmlParseEnumeratedType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006120><TABLE
6121BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006122BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006123WIDTH="100%"
6124CELLPADDING="6"
6125><TR
6126><TD
6127><PRE
6128CLASS="PROGRAMLISTING"
6129>int xmlParseEnumeratedType (<A
6130HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6131>xmlParserCtxtPtr</A
6132> ctxt,
6133 <A
6134HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
6135>xmlEnumerationPtr</A
6136> *tree);</PRE
6137></TD
6138></TR
6139></TABLE
6140><P
6141>parse an Enumerated attribute type.</P
6142><P
6143>[57] EnumeratedType ::= NotationType | Enumeration</P
6144><P
6145>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
6146><P
6147></P
6148><DIV
6149CLASS="INFORMALTABLE"
6150><P
6151></P
6152><TABLE
6153BORDER="0"
6154WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006155BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006156CELLSPACING="0"
6157CELLPADDING="4"
6158CLASS="CALSTABLE"
6159><TR
6160><TD
6161WIDTH="20%"
6162ALIGN="RIGHT"
6163VALIGN="TOP"
6164><TT
6165CLASS="PARAMETER"
6166><I
6167>ctxt</I
6168></TT
6169>&nbsp;:</TD
6170><TD
6171WIDTH="80%"
6172ALIGN="LEFT"
6173VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006174> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006175></TR
6176><TR
6177><TD
6178WIDTH="20%"
6179ALIGN="RIGHT"
6180VALIGN="TOP"
6181><TT
6182CLASS="PARAMETER"
6183><I
6184>tree</I
6185></TT
6186>&nbsp;:</TD
6187><TD
6188WIDTH="80%"
6189ALIGN="LEFT"
6190VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006191> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006192></TR
6193><TR
6194><TD
6195WIDTH="20%"
6196ALIGN="RIGHT"
6197VALIGN="TOP"
6198><I
6199CLASS="EMPHASIS"
6200>Returns</I
6201> :</TD
6202><TD
6203WIDTH="80%"
6204ALIGN="LEFT"
6205VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006206> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006207></TR
6208></TABLE
6209><P
6210></P
6211></DIV
6212></DIV
6213><HR><DIV
6214CLASS="REFSECT2"
6215><A
Daniel Veillard28929b22000-11-13 18:22:49 +00006216NAME="AEN16344"
Daniel Veillard35925471999-02-25 08:46:07 +00006217></A
6218><H3
6219><A
6220NAME="XMLPARSEATTRIBUTETYPE"
6221></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006222>xmlParseAttributeType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006223><TABLE
6224BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006225BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006226WIDTH="100%"
6227CELLPADDING="6"
6228><TR
6229><TD
6230><PRE
6231CLASS="PROGRAMLISTING"
6232>int xmlParseAttributeType (<A
6233HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6234>xmlParserCtxtPtr</A
6235> ctxt,
6236 <A
6237HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
6238>xmlEnumerationPtr</A
6239> *tree);</PRE
6240></TD
6241></TR
6242></TABLE
6243><P
6244>parse the Attribute list def for an element</P
6245><P
6246>[54] AttType ::= StringType | TokenizedType | EnumeratedType</P
6247><P
6248>[55] StringType ::= 'CDATA'</P
6249><P
6250>[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' |
6251'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'</P
6252><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006253>Validity constraints for attribute values syntax are checked in
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006254<A
6255HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
6256>xmlValidateAttributeValue</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00006257>()</P
6258><P
6259>[ VC: ID ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006260Values of type ID must match the Name production. A name must not
Daniel Veillardb05deb71999-08-10 19:04:08 +00006261appear more than once in an XML document as a value of this type;
6262i.e., ID values must uniquely identify the elements which bear them.</P
6263><P
6264>[ VC: One ID per Element Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006265No element type may have more than one ID attribute specified.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006266><P
6267>[ VC: ID Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006268An ID attribute must have a declared default of <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00006269HREF="IMPLIED"
6270>IMPLIED</GTKDOCLINK
6271> or <GTKDOCLINK
6272HREF="REQUIRED"
6273>REQUIRED</GTKDOCLINK
6274>.</P
6275><P
6276>[ VC: IDREF ]
6277Values of type IDREF must match the Name production, and values
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006278of type IDREFS must match Names; each IDREF Name must match the value
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006279of an ID attribute on some element in the XML document; i.e. IDREF
Daniel Veillardb05deb71999-08-10 19:04:08 +00006280values must match the value of some ID attribute.</P
6281><P
6282>[ VC: Entity Name ]
6283Values of type ENTITY must match the Name production, values
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006284of type ENTITIES must match Names; each Entity Name must match the
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006285name of an unparsed entity declared in the DTD. </P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006286><P
6287>[ VC: Name Token ]
6288Values of type NMTOKEN must match the Nmtoken production; values
6289of type NMTOKENS must match Nmtokens.</P
6290><P
Daniel Veillard35925471999-02-25 08:46:07 +00006291></P
6292><DIV
6293CLASS="INFORMALTABLE"
6294><P
6295></P
6296><TABLE
6297BORDER="0"
6298WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006299BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006300CELLSPACING="0"
6301CELLPADDING="4"
6302CLASS="CALSTABLE"
6303><TR
6304><TD
6305WIDTH="20%"
6306ALIGN="RIGHT"
6307VALIGN="TOP"
6308><TT
6309CLASS="PARAMETER"
6310><I
6311>ctxt</I
6312></TT
6313>&nbsp;:</TD
6314><TD
6315WIDTH="80%"
6316ALIGN="LEFT"
6317VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006318> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006319></TR
6320><TR
6321><TD
6322WIDTH="20%"
6323ALIGN="RIGHT"
6324VALIGN="TOP"
6325><TT
6326CLASS="PARAMETER"
6327><I
6328>tree</I
6329></TT
6330>&nbsp;:</TD
6331><TD
6332WIDTH="80%"
6333ALIGN="LEFT"
6334VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006335> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006336></TR
6337><TR
6338><TD
6339WIDTH="20%"
6340ALIGN="RIGHT"
6341VALIGN="TOP"
6342><I
6343CLASS="EMPHASIS"
6344>Returns</I
6345> :</TD
6346><TD
6347WIDTH="80%"
6348ALIGN="LEFT"
6349VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006350>the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006351></TR
6352></TABLE
6353><P
6354></P
6355></DIV
6356></DIV
6357><HR><DIV
6358CLASS="REFSECT2"
6359><A
Daniel Veillard28929b22000-11-13 18:22:49 +00006360NAME="AEN16382"
Daniel Veillard35925471999-02-25 08:46:07 +00006361></A
6362><H3
6363><A
6364NAME="XMLPARSEATTRIBUTELISTDECL"
6365></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006366>xmlParseAttributeListDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006367><TABLE
6368BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006369BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006370WIDTH="100%"
6371CELLPADDING="6"
6372><TR
6373><TD
6374><PRE
6375CLASS="PROGRAMLISTING"
6376>void xmlParseAttributeListDecl (<A
6377HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6378>xmlParserCtxtPtr</A
6379> ctxt);</PRE
6380></TD
6381></TR
6382></TABLE
6383><P
6384>: parse the Attribute list def for an element</P
6385><P
6386>[52] AttlistDecl ::= '&lt;!ATTLIST' S Name AttDef* S? '&gt;'</P
6387><P
6388>[53] AttDef ::= S Name S AttType S DefaultDecl</P
6389><P
6390></P
6391><DIV
6392CLASS="INFORMALTABLE"
6393><P
6394></P
6395><TABLE
6396BORDER="0"
6397WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006398BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006399CELLSPACING="0"
6400CELLPADDING="4"
6401CLASS="CALSTABLE"
6402><TR
6403><TD
6404WIDTH="20%"
6405ALIGN="RIGHT"
6406VALIGN="TOP"
6407><TT
6408CLASS="PARAMETER"
6409><I
6410>ctxt</I
6411></TT
6412>&nbsp;:</TD
6413><TD
6414WIDTH="80%"
6415ALIGN="LEFT"
6416VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006417> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006418></TR
6419></TABLE
6420><P
6421></P
6422></DIV
6423></DIV
6424><HR><DIV
6425CLASS="REFSECT2"
6426><A
Daniel Veillard28929b22000-11-13 18:22:49 +00006427NAME="AEN16400"
Daniel Veillard35925471999-02-25 08:46:07 +00006428></A
6429><H3
6430><A
6431NAME="XMLPARSEELEMENTMIXEDCONTENTDECL"
6432></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006433>xmlParseElementMixedContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006434><TABLE
6435BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006436BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006437WIDTH="100%"
6438CELLPADDING="6"
6439><TR
6440><TD
6441><PRE
6442CLASS="PROGRAMLISTING"
6443><A
6444HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
6445>xmlElementContentPtr</A
6446> xmlParseElementMixedContentDecl
6447 (<A
6448HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6449>xmlParserCtxtPtr</A
6450> ctxt);</PRE
6451></TD
6452></TR
6453></TABLE
6454><P
6455>parse the declaration for a Mixed Element content
6456The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
6457><P
6458>[51] Mixed ::= '(' S? '<GTKDOCLINK
6459HREF="PCDATA"
6460>PCDATA</GTKDOCLINK
6461>' (S? '|' S? Name)* S? ')*' |
6462'(' S? '<GTKDOCLINK
6463HREF="PCDATA"
6464>PCDATA</GTKDOCLINK
6465>' S? ')'</P
6466><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006467>[ VC: Proper Group/PE Nesting ] applies to [51] too (see [49])</P
6468><P
6469>[ VC: No Duplicate Types ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006470The same name must not appear more than once in a single
Daniel Veillardb05deb71999-08-10 19:04:08 +00006471mixed-content declaration.</P
6472><P
Daniel Veillard35925471999-02-25 08:46:07 +00006473></P
6474><DIV
6475CLASS="INFORMALTABLE"
6476><P
6477></P
6478><TABLE
6479BORDER="0"
6480WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006481BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006482CELLSPACING="0"
6483CELLPADDING="4"
6484CLASS="CALSTABLE"
6485><TR
6486><TD
6487WIDTH="20%"
6488ALIGN="RIGHT"
6489VALIGN="TOP"
6490><TT
6491CLASS="PARAMETER"
6492><I
6493>ctxt</I
6494></TT
6495>&nbsp;:</TD
6496><TD
6497WIDTH="80%"
6498ALIGN="LEFT"
6499VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006500> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006501></TR
6502><TR
6503><TD
6504WIDTH="20%"
6505ALIGN="RIGHT"
6506VALIGN="TOP"
6507><I
6508CLASS="EMPHASIS"
6509>Returns</I
6510> :</TD
6511><TD
6512WIDTH="80%"
6513ALIGN="LEFT"
6514VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006515> the list of the xmlElementContentPtr describing the element choices</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006516></TR
6517></TABLE
6518><P
6519></P
6520></DIV
6521></DIV
6522><HR><DIV
6523CLASS="REFSECT2"
6524><A
Daniel Veillard28929b22000-11-13 18:22:49 +00006525NAME="AEN16426"
Daniel Veillard35925471999-02-25 08:46:07 +00006526></A
6527><H3
6528><A
6529NAME="XMLPARSEELEMENTCHILDRENCONTENTDECL"
6530></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006531>xmlParseElementChildrenContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006532><TABLE
6533BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006534BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006535WIDTH="100%"
6536CELLPADDING="6"
6537><TR
6538><TD
6539><PRE
6540CLASS="PROGRAMLISTING"
6541><A
6542HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
6543>xmlElementContentPtr</A
6544> xmlParseElementChildrenContentDecl
6545 (<A
6546HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6547>xmlParserCtxtPtr</A
6548> ctxt);</PRE
6549></TD
6550></TR
6551></TABLE
6552><P
6553>parse the declaration for a Mixed Element content
6554The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
6555><P
6556>[47] children ::= (choice | seq) ('?' | '*' | '+')?</P
6557><P
6558>[48] cp ::= (Name | choice | seq) ('?' | '*' | '+')?</P
6559><P
6560>[49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')'</P
6561><P
6562>[50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'</P
6563><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006564>[ VC: Proper Group/PE Nesting ] applies to [49] and [50]
6565TODO Parameter-entity replacement text must be properly nested
6566with parenthetized groups. That is to say, if either of the
6567opening or closing parentheses in a choice, seq, or Mixed
6568construct is contained in the replacement text for a parameter
6569entity, both must be contained in the same replacement text. For
6570interoperability, if a parameter-entity reference appears in a
6571choice, seq, or Mixed construct, its replacement text should not
6572be empty, and neither the first nor last non-blank character of
6573the replacement text should be a connector (| or ,).</P
6574><P
Daniel Veillard35925471999-02-25 08:46:07 +00006575></P
6576><DIV
6577CLASS="INFORMALTABLE"
6578><P
6579></P
6580><TABLE
6581BORDER="0"
6582WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006583BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006584CELLSPACING="0"
6585CELLPADDING="4"
6586CLASS="CALSTABLE"
6587><TR
6588><TD
6589WIDTH="20%"
6590ALIGN="RIGHT"
6591VALIGN="TOP"
6592><TT
6593CLASS="PARAMETER"
6594><I
6595>ctxt</I
6596></TT
6597>&nbsp;:</TD
6598><TD
6599WIDTH="80%"
6600ALIGN="LEFT"
6601VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006602> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006603></TR
6604><TR
6605><TD
6606WIDTH="20%"
6607ALIGN="RIGHT"
6608VALIGN="TOP"
6609><I
6610CLASS="EMPHASIS"
6611>Returns</I
6612> :</TD
6613><TD
6614WIDTH="80%"
6615ALIGN="LEFT"
6616VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006617> the tree of xmlElementContentPtr describing the element
6618hierarchy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006619></TR
6620></TABLE
6621><P
6622></P
6623></DIV
6624></DIV
6625><HR><DIV
6626CLASS="REFSECT2"
6627><A
Daniel Veillard28929b22000-11-13 18:22:49 +00006628NAME="AEN16452"
Daniel Veillard35925471999-02-25 08:46:07 +00006629></A
6630><H3
6631><A
6632NAME="XMLPARSEELEMENTCONTENTDECL"
6633></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006634>xmlParseElementContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006635><TABLE
6636BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006637BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006638WIDTH="100%"
6639CELLPADDING="6"
6640><TR
6641><TD
6642><PRE
6643CLASS="PROGRAMLISTING"
6644>int xmlParseElementContentDecl (<A
6645HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6646>xmlParserCtxtPtr</A
6647> ctxt,
6648 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006649HREF="gnome-xml-tree.html#XMLCHAR"
6650>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00006651> *name,
6652 <A
6653HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
6654>xmlElementContentPtr</A
6655> *result);</PRE
6656></TD
6657></TR
6658></TABLE
6659><P
6660>parse the declaration for an Element content either Mixed or Children,
6661the cases EMPTY and ANY are handled directly in xmlParseElementDecl</P
6662><P
6663>[46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</P
6664><P
6665></P
6666><DIV
6667CLASS="INFORMALTABLE"
6668><P
6669></P
6670><TABLE
6671BORDER="0"
6672WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006673BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006674CELLSPACING="0"
6675CELLPADDING="4"
6676CLASS="CALSTABLE"
6677><TR
6678><TD
6679WIDTH="20%"
6680ALIGN="RIGHT"
6681VALIGN="TOP"
6682><TT
6683CLASS="PARAMETER"
6684><I
6685>ctxt</I
6686></TT
6687>&nbsp;:</TD
6688><TD
6689WIDTH="80%"
6690ALIGN="LEFT"
6691VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006692> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006693></TR
6694><TR
6695><TD
6696WIDTH="20%"
6697ALIGN="RIGHT"
6698VALIGN="TOP"
6699><TT
6700CLASS="PARAMETER"
6701><I
6702>name</I
6703></TT
6704>&nbsp;:</TD
6705><TD
6706WIDTH="80%"
6707ALIGN="LEFT"
6708VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006709> the name of the element being defined.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006710></TR
6711><TR
6712><TD
6713WIDTH="20%"
6714ALIGN="RIGHT"
6715VALIGN="TOP"
6716><TT
6717CLASS="PARAMETER"
6718><I
6719>result</I
6720></TT
6721>&nbsp;:</TD
6722><TD
6723WIDTH="80%"
6724ALIGN="LEFT"
6725VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006726> the Element Content pointer will be stored here if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006727></TR
6728><TR
6729><TD
6730WIDTH="20%"
6731ALIGN="RIGHT"
6732VALIGN="TOP"
6733><I
6734CLASS="EMPHASIS"
6735>Returns</I
6736> :</TD
6737><TD
6738WIDTH="80%"
6739ALIGN="LEFT"
6740VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006741> the type of element content XML_ELEMENT_TYPE_xxx</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006742></TR
6743></TABLE
6744><P
6745></P
6746></DIV
6747></DIV
6748><HR><DIV
6749CLASS="REFSECT2"
6750><A
Daniel Veillard28929b22000-11-13 18:22:49 +00006751NAME="AEN16483"
Daniel Veillard35925471999-02-25 08:46:07 +00006752></A
6753><H3
6754><A
6755NAME="XMLPARSEELEMENTDECL"
6756></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006757>xmlParseElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006758><TABLE
6759BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006760BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006761WIDTH="100%"
6762CELLPADDING="6"
6763><TR
6764><TD
6765><PRE
6766CLASS="PROGRAMLISTING"
6767>int xmlParseElementDecl (<A
6768HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6769>xmlParserCtxtPtr</A
6770> ctxt);</PRE
6771></TD
6772></TR
6773></TABLE
6774><P
6775>parse an Element declaration.</P
6776><P
6777>[45] elementdecl ::= '&lt;!ELEMENT' S Name S contentspec S? '&gt;'</P
6778><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006779>[ VC: Unique Element Type Declaration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006780No element type may be declared more than once</P
Daniel Veillard35925471999-02-25 08:46:07 +00006781><P
6782></P
6783><DIV
6784CLASS="INFORMALTABLE"
6785><P
6786></P
6787><TABLE
6788BORDER="0"
6789WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006790BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006791CELLSPACING="0"
6792CELLPADDING="4"
6793CLASS="CALSTABLE"
6794><TR
6795><TD
6796WIDTH="20%"
6797ALIGN="RIGHT"
6798VALIGN="TOP"
6799><TT
6800CLASS="PARAMETER"
6801><I
6802>ctxt</I
6803></TT
6804>&nbsp;:</TD
6805><TD
6806WIDTH="80%"
6807ALIGN="LEFT"
6808VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006809> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006810></TR
6811><TR
6812><TD
6813WIDTH="20%"
6814ALIGN="RIGHT"
6815VALIGN="TOP"
6816><I
6817CLASS="EMPHASIS"
6818>Returns</I
6819> :</TD
6820><TD
6821WIDTH="80%"
6822ALIGN="LEFT"
6823VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006824>the type of the element, or -1 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006825></TR
6826></TABLE
6827><P
6828></P
6829></DIV
6830></DIV
6831><HR><DIV
6832CLASS="REFSECT2"
6833><A
Daniel Veillard28929b22000-11-13 18:22:49 +00006834NAME="AEN16505"
Daniel Veillard35925471999-02-25 08:46:07 +00006835></A
6836><H3
6837><A
6838NAME="XMLPARSEMARKUPDECL"
6839></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006840>xmlParseMarkupDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006841><TABLE
6842BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006843BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006844WIDTH="100%"
6845CELLPADDING="6"
6846><TR
6847><TD
6848><PRE
6849CLASS="PROGRAMLISTING"
6850>void xmlParseMarkupDecl (<A
6851HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6852>xmlParserCtxtPtr</A
6853> ctxt);</PRE
6854></TD
6855></TR
6856></TABLE
6857><P
6858>parse Markup declarations</P
6859><P
6860>[29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
6861NotationDecl | PI | Comment</P
6862><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006863>[ VC: Proper Declaration/PE Nesting ]
Daniel Veillard3bff2b02000-10-01 20:33:47 +00006864Parameter-entity replacement text must be properly nested with
Daniel Veillardb05deb71999-08-10 19:04:08 +00006865markup declarations. That is to say, if either the first character
6866or the last character of a markup declaration (markupdecl above) is
6867contained in the replacement text for a parameter-entity reference,
6868both must be contained in the same replacement text.</P
6869><P
6870>[ WFC: PEs in Internal Subset ]
6871In the internal DTD subset, parameter-entity references can occur
6872only where markup declarations can occur, not within markup declarations.
6873(This does not apply to references that occur in external parameter
6874entities or to the external subset.)</P
Daniel Veillard35925471999-02-25 08:46:07 +00006875><P
6876></P
6877><DIV
6878CLASS="INFORMALTABLE"
6879><P
6880></P
6881><TABLE
6882BORDER="0"
6883WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006884BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006885CELLSPACING="0"
6886CELLPADDING="4"
6887CLASS="CALSTABLE"
6888><TR
6889><TD
6890WIDTH="20%"
6891ALIGN="RIGHT"
6892VALIGN="TOP"
6893><TT
6894CLASS="PARAMETER"
6895><I
6896>ctxt</I
6897></TT
6898>&nbsp;:</TD
6899><TD
6900WIDTH="80%"
6901ALIGN="LEFT"
6902VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006903> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006904></TR
6905></TABLE
6906><P
6907></P
6908></DIV
6909></DIV
6910><HR><DIV
6911CLASS="REFSECT2"
6912><A
Daniel Veillard28929b22000-11-13 18:22:49 +00006913NAME="AEN16524"
Daniel Veillard35925471999-02-25 08:46:07 +00006914></A
6915><H3
6916><A
6917NAME="XMLPARSECHARREF"
6918></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006919>xmlParseCharRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006920><TABLE
6921BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006922BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006923WIDTH="100%"
6924CELLPADDING="6"
6925><TR
6926><TD
6927><PRE
6928CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006929>int xmlParseCharRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006930HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6931>xmlParserCtxtPtr</A
6932> ctxt);</PRE
6933></TD
6934></TR
6935></TABLE
6936><P
6937>parse Reference declarations</P
6938><P
6939>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
6940'&amp;<GTKDOCLINK
6941HREF="X"
6942>x</GTKDOCLINK
6943>' [0-9a-fA-F]+ ';'</P
6944><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006945>[ WFC: Legal Character ]
6946Characters referred to using character references must match the
6947production for Char.</P
6948><P
Daniel Veillard35925471999-02-25 08:46:07 +00006949></P
6950><DIV
6951CLASS="INFORMALTABLE"
6952><P
6953></P
6954><TABLE
6955BORDER="0"
6956WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006957BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006958CELLSPACING="0"
6959CELLPADDING="4"
6960CLASS="CALSTABLE"
6961><TR
6962><TD
6963WIDTH="20%"
6964ALIGN="RIGHT"
6965VALIGN="TOP"
6966><TT
6967CLASS="PARAMETER"
6968><I
6969>ctxt</I
6970></TT
6971>&nbsp;:</TD
6972><TD
6973WIDTH="80%"
6974ALIGN="LEFT"
6975VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006976> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006977></TR
6978><TR
6979><TD
6980WIDTH="20%"
6981ALIGN="RIGHT"
6982VALIGN="TOP"
6983><I
6984CLASS="EMPHASIS"
6985>Returns</I
6986> :</TD
6987><TD
6988WIDTH="80%"
6989ALIGN="LEFT"
6990VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00006991>the value parsed (as an int), 0 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006992></TR
6993></TABLE
6994><P
6995></P
6996></DIV
6997></DIV
6998><HR><DIV
6999CLASS="REFSECT2"
7000><A
Daniel Veillard28929b22000-11-13 18:22:49 +00007001NAME="AEN16547"
Daniel Veillard35925471999-02-25 08:46:07 +00007002></A
7003><H3
7004><A
7005NAME="XMLPARSEENTITYREF"
7006></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007007>xmlParseEntityRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007008><TABLE
7009BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007010BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007011WIDTH="100%"
7012CELLPADDING="6"
7013><TR
7014><TD
7015><PRE
7016CLASS="PROGRAMLISTING"
7017><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007018HREF="gnome-xml-entities.html#XMLENTITYPTR"
7019>xmlEntityPtr</A
7020> xmlParseEntityRef (<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 ENTITY references declarations</P
7029><P
7030>[68] EntityRef ::= '&amp;' Name ';'</P
7031><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007032>[ WFC: Entity Declared ]
7033In a document without any DTD, a document with only an internal DTD
7034subset which contains no parameter entity references, or a document
7035with "standalone='yes'", the Name given in the entity reference
7036must match that in an entity declaration, except that well-formed
7037documents need not declare any of the following entities: amp, lt,
7038gt, apos, quot. The declaration of a parameter entity must precede
7039any reference to it. Similarly, the declaration of a general entity
7040must precede any reference to it which appears in a default value in an
7041attribute-list declaration. Note that if entities are declared in the
7042external subset or in external parameter entities, a non-validating
7043processor is not obligated to read and process their declarations;
7044for such documents, the rule that an entity must be declared is a
7045well-formedness constraint only if standalone='yes'.</P
7046><P
7047>[ WFC: Parsed Entity ]
7048An entity reference must not contain the name of an unparsed entity</P
7049><P
Daniel Veillard35925471999-02-25 08:46:07 +00007050></P
7051><DIV
7052CLASS="INFORMALTABLE"
7053><P
7054></P
7055><TABLE
7056BORDER="0"
7057WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007058BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007059CELLSPACING="0"
7060CELLPADDING="4"
7061CLASS="CALSTABLE"
7062><TR
7063><TD
7064WIDTH="20%"
7065ALIGN="RIGHT"
7066VALIGN="TOP"
7067><TT
7068CLASS="PARAMETER"
7069><I
7070>ctxt</I
7071></TT
7072>&nbsp;:</TD
7073><TD
7074WIDTH="80%"
7075ALIGN="LEFT"
7076VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007077> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007078></TR
7079><TR
7080><TD
7081WIDTH="20%"
7082ALIGN="RIGHT"
7083VALIGN="TOP"
7084><I
7085CLASS="EMPHASIS"
7086>Returns</I
7087> :</TD
7088><TD
7089WIDTH="80%"
7090ALIGN="LEFT"
7091VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007092>the xmlEntityPtr if found, or NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007093></TR
7094></TABLE
7095><P
7096></P
7097></DIV
7098></DIV
7099><HR><DIV
7100CLASS="REFSECT2"
7101><A
Daniel Veillard28929b22000-11-13 18:22:49 +00007102NAME="AEN16571"
Daniel Veillard35925471999-02-25 08:46:07 +00007103></A
7104><H3
7105><A
7106NAME="XMLPARSEREFERENCE"
7107></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007108>xmlParseReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007109><TABLE
7110BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007111BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007112WIDTH="100%"
7113CELLPADDING="6"
7114><TR
7115><TD
7116><PRE
7117CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007118>void xmlParseReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007119HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7120>xmlParserCtxtPtr</A
7121> ctxt);</PRE
7122></TD
7123></TR
7124></TABLE
7125><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00007126>parse and handle entity references in content, depending on the SAX
7127interface, this may end-up in a call to <GTKDOCLINK
7128HREF="CHARACTER"
7129>character</GTKDOCLINK
7130>() if this is a
Daniel Veillard294cbca1999-12-03 13:19:09 +00007131CharRef, a predefined entity, if there is no <A
7132HREF="gnome-xml-sax.html#REFERENCE"
7133>reference</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007134>() callback.
7135or if the parser was asked to switch to that mode.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007136><P
7137>[67] Reference ::= EntityRef | CharRef</P
7138><P
7139></P
7140><DIV
7141CLASS="INFORMALTABLE"
7142><P
7143></P
7144><TABLE
7145BORDER="0"
7146WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007147BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007148CELLSPACING="0"
7149CELLPADDING="4"
7150CLASS="CALSTABLE"
7151><TR
7152><TD
7153WIDTH="20%"
7154ALIGN="RIGHT"
7155VALIGN="TOP"
7156><TT
7157CLASS="PARAMETER"
7158><I
7159>ctxt</I
7160></TT
7161>&nbsp;:</TD
7162><TD
7163WIDTH="80%"
7164ALIGN="LEFT"
7165VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007166> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007167></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007168></TABLE
7169><P
7170></P
7171></DIV
7172></DIV
7173><HR><DIV
7174CLASS="REFSECT2"
7175><A
Daniel Veillard28929b22000-11-13 18:22:49 +00007176NAME="AEN16590"
Daniel Veillard35925471999-02-25 08:46:07 +00007177></A
7178><H3
7179><A
7180NAME="XMLPARSEPEREFERENCE"
7181></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007182>xmlParsePEReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007183><TABLE
7184BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007185BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007186WIDTH="100%"
7187CELLPADDING="6"
7188><TR
7189><TD
7190><PRE
7191CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007192>void xmlParsePEReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007193HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7194>xmlParserCtxtPtr</A
7195> ctxt);</PRE
7196></TD
7197></TR
7198></TABLE
7199><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00007200>parse PEReference declarations
7201The entity content is handled directly by pushing it's content as
7202a new input stream.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007203><P
7204>[69] PEReference ::= '%' Name ';'</P
7205><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007206>[ WFC: No Recursion ]
Daniel Veillard3bff2b02000-10-01 20:33:47 +00007207A parsed entity must not contain a recursive
Daniel Veillardb05deb71999-08-10 19:04:08 +00007208reference to itself, either directly or indirectly. </P
7209><P
7210>[ WFC: Entity Declared ]
7211In a document without any DTD, a document with only an internal DTD
7212subset which contains no parameter entity references, or a document
7213with "standalone='yes'", ... ... The declaration of a parameter
7214entity must precede any reference to it...</P
7215><P
7216>[ VC: Entity Declared ]
7217In a document with an external subset or external parameter entities
7218with "standalone='no'", ... ... The declaration of a parameter entity
7219must precede any reference to it...</P
7220><P
7221>[ WFC: In DTD ]
7222Parameter-entity references may only appear in the DTD.
7223NOTE: misleading but this is handled.</P
7224><P
Daniel Veillard35925471999-02-25 08:46:07 +00007225></P
7226><DIV
7227CLASS="INFORMALTABLE"
7228><P
7229></P
7230><TABLE
7231BORDER="0"
7232WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007233BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007234CELLSPACING="0"
7235CELLPADDING="4"
7236CLASS="CALSTABLE"
7237><TR
7238><TD
7239WIDTH="20%"
7240ALIGN="RIGHT"
7241VALIGN="TOP"
7242><TT
7243CLASS="PARAMETER"
7244><I
7245>ctxt</I
7246></TT
7247>&nbsp;:</TD
7248><TD
7249WIDTH="80%"
7250ALIGN="LEFT"
7251VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007252> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007253></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007254></TABLE
7255><P
7256></P
7257></DIV
7258></DIV
7259><HR><DIV
7260CLASS="REFSECT2"
7261><A
Daniel Veillard28929b22000-11-13 18:22:49 +00007262NAME="AEN16611"
Daniel Veillard35925471999-02-25 08:46:07 +00007263></A
7264><H3
7265><A
7266NAME="XMLPARSEDOCTYPEDECL"
7267></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007268>xmlParseDocTypeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007269><TABLE
7270BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007271BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007272WIDTH="100%"
7273CELLPADDING="6"
7274><TR
7275><TD
7276><PRE
7277CLASS="PROGRAMLISTING"
7278>void xmlParseDocTypeDecl (<A
7279HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7280>xmlParserCtxtPtr</A
7281> ctxt);</PRE
7282></TD
7283></TR
7284></TABLE
7285><P
7286>parse a DOCTYPE declaration</P
7287><P
7288>[28] doctypedecl ::= '&lt;!DOCTYPE' S Name (S ExternalID)? S?
7289('[' (markupdecl | PEReference | S)* ']' S?)? '&gt;'</P
7290><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007291>[ VC: Root Element Type ]
7292The Name in the document type declaration must match the element
7293type of the root element.</P
7294><P
Daniel Veillard35925471999-02-25 08:46:07 +00007295></P
7296><DIV
7297CLASS="INFORMALTABLE"
7298><P
7299></P
7300><TABLE
7301BORDER="0"
7302WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007303BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007304CELLSPACING="0"
7305CELLPADDING="4"
7306CLASS="CALSTABLE"
7307><TR
7308><TD
7309WIDTH="20%"
7310ALIGN="RIGHT"
7311VALIGN="TOP"
7312><TT
7313CLASS="PARAMETER"
7314><I
7315>ctxt</I
7316></TT
7317>&nbsp;:</TD
7318><TD
7319WIDTH="80%"
7320ALIGN="LEFT"
7321VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007322> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007323></TR
7324></TABLE
7325><P
7326></P
7327></DIV
7328></DIV
7329><HR><DIV
7330CLASS="REFSECT2"
7331><A
Daniel Veillard28929b22000-11-13 18:22:49 +00007332NAME="AEN16629"
Daniel Veillard35925471999-02-25 08:46:07 +00007333></A
7334><H3
7335><A
7336NAME="XMLPARSEATTRIBUTE"
7337></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007338>xmlParseAttribute ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007339><TABLE
7340BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007341BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007342WIDTH="100%"
7343CELLPADDING="6"
7344><TR
7345><TD
7346><PRE
7347CLASS="PROGRAMLISTING"
7348><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007349HREF="gnome-xml-tree.html#XMLCHAR"
7350>xmlChar</A
7351>* xmlParseAttribute (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007352HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7353>xmlParserCtxtPtr</A
7354> ctxt,
7355 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007356HREF="gnome-xml-tree.html#XMLCHAR"
7357>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00007358> **value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00007359></TD
7360></TR
7361></TABLE
7362><P
7363>parse an attribute</P
7364><P
7365>[41] Attribute ::= Name Eq AttValue</P
7366><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007367>[ WFC: No External Entity References ]
7368Attribute values cannot contain direct or indirect entity references
7369to external entities.</P
7370><P
7371>[ WFC: No &lt; in Attribute Values ]
7372The replacement text of any entity referred to directly or indirectly in
7373an attribute value (other than "&amp;lt;") must not contain a &lt;. </P
7374><P
7375>[ VC: Attribute Value Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007376The attribute must have been declared; the value must be of the type
Daniel Veillardb05deb71999-08-10 19:04:08 +00007377declared for it.</P
7378><P
Daniel Veillard35925471999-02-25 08:46:07 +00007379>[25] Eq ::= S? '=' S?</P
7380><P
7381>With namespace:</P
7382><P
7383>[NS 11] Attribute ::= QName Eq AttValue</P
7384><P
7385>Also the case QName == xmlns:??? is handled independently as a namespace
7386definition.</P
7387><P
7388></P
7389><DIV
7390CLASS="INFORMALTABLE"
7391><P
7392></P
7393><TABLE
7394BORDER="0"
7395WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007396BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007397CELLSPACING="0"
7398CELLPADDING="4"
7399CLASS="CALSTABLE"
7400><TR
7401><TD
7402WIDTH="20%"
7403ALIGN="RIGHT"
7404VALIGN="TOP"
7405><TT
7406CLASS="PARAMETER"
7407><I
7408>ctxt</I
7409></TT
7410>&nbsp;:</TD
7411><TD
7412WIDTH="80%"
7413ALIGN="LEFT"
7414VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007415> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007416></TR
7417><TR
7418><TD
7419WIDTH="20%"
7420ALIGN="RIGHT"
7421VALIGN="TOP"
7422><TT
7423CLASS="PARAMETER"
7424><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00007425>value</I
Daniel Veillard35925471999-02-25 08:46:07 +00007426></TT
7427>&nbsp;:</TD
7428><TD
7429WIDTH="80%"
7430ALIGN="LEFT"
7431VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007432> a xmlChar ** used to store the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007433></TR
7434><TR
7435><TD
7436WIDTH="20%"
7437ALIGN="RIGHT"
7438VALIGN="TOP"
7439><I
7440CLASS="EMPHASIS"
7441>Returns</I
7442> :</TD
7443><TD
7444WIDTH="80%"
7445ALIGN="LEFT"
7446VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007447>the attribute name, and the value in *value.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007448></TR
7449></TABLE
7450><P
7451></P
7452></DIV
7453></DIV
7454><HR><DIV
7455CLASS="REFSECT2"
7456><A
Daniel Veillard28929b22000-11-13 18:22:49 +00007457NAME="AEN16663"
Daniel Veillard35925471999-02-25 08:46:07 +00007458></A
7459><H3
7460><A
7461NAME="XMLPARSESTARTTAG"
7462></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007463>xmlParseStartTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007464><TABLE
7465BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007466BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007467WIDTH="100%"
7468CELLPADDING="6"
7469><TR
7470><TD
7471><PRE
7472CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00007473><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007474HREF="gnome-xml-tree.html#XMLCHAR"
7475>xmlChar</A
7476>* xmlParseStartTag (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007477HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7478>xmlParserCtxtPtr</A
7479> ctxt);</PRE
7480></TD
7481></TR
7482></TABLE
7483><P
7484>parse a start of tag either for rule element or
7485EmptyElement. In both case we don't parse the tag closing chars.</P
7486><P
7487>[40] STag ::= '&lt;' Name (S Attribute)* S? '&gt;'</P
7488><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007489>[ WFC: Unique Att Spec ]
7490No attribute name may appear more than once in the same start-tag or
7491empty-element tag. </P
7492><P
Daniel Veillard35925471999-02-25 08:46:07 +00007493>[44] EmptyElemTag ::= '&lt;' Name (S Attribute)* S? '/&gt;'</P
7494><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007495>[ WFC: Unique Att Spec ]
7496No attribute name may appear more than once in the same start-tag or
7497empty-element tag. </P
7498><P
Daniel Veillard35925471999-02-25 08:46:07 +00007499>With namespace:</P
7500><P
7501>[NS 8] STag ::= '&lt;' QName (S Attribute)* S? '&gt;'</P
7502><P
7503>[NS 10] EmptyElement ::= '&lt;' QName (S Attribute)* S? '/&gt;'</P
7504><P
7505></P
7506><DIV
7507CLASS="INFORMALTABLE"
7508><P
7509></P
7510><TABLE
7511BORDER="0"
7512WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007513BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007514CELLSPACING="0"
7515CELLPADDING="4"
7516CLASS="CALSTABLE"
7517><TR
7518><TD
7519WIDTH="20%"
7520ALIGN="RIGHT"
7521VALIGN="TOP"
7522><TT
7523CLASS="PARAMETER"
7524><I
7525>ctxt</I
7526></TT
7527>&nbsp;:</TD
7528><TD
7529WIDTH="80%"
7530ALIGN="LEFT"
7531VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007532> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007533></TR
Daniel Veillard14fff061999-06-22 21:49:07 +00007534><TR
7535><TD
7536WIDTH="20%"
7537ALIGN="RIGHT"
7538VALIGN="TOP"
7539><I
7540CLASS="EMPHASIS"
7541>Returns</I
7542> :</TD
7543><TD
7544WIDTH="80%"
7545ALIGN="LEFT"
7546VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007547>the element name parsed</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007548></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007549></TABLE
7550><P
7551></P
7552></DIV
7553></DIV
7554><HR><DIV
7555CLASS="REFSECT2"
7556><A
Daniel Veillard28929b22000-11-13 18:22:49 +00007557NAME="AEN16691"
Daniel Veillard35925471999-02-25 08:46:07 +00007558></A
7559><H3
7560><A
7561NAME="XMLPARSEENDTAG"
7562></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007563>xmlParseEndTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007564><TABLE
7565BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007566BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007567WIDTH="100%"
7568CELLPADDING="6"
7569><TR
7570><TD
7571><PRE
7572CLASS="PROGRAMLISTING"
7573>void xmlParseEndTag (<A
7574HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7575>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +00007576> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00007577></TD
7578></TR
7579></TABLE
7580><P
7581>parse an end of tag</P
7582><P
7583>[42] ETag ::= '&lt;/' Name S? '&gt;'</P
7584><P
7585>With namespace</P
7586><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00007587>[NS 9] ETag ::= '&lt;/' QName S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00007588><P
7589></P
7590><DIV
7591CLASS="INFORMALTABLE"
7592><P
7593></P
7594><TABLE
7595BORDER="0"
7596WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007597BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007598CELLSPACING="0"
7599CELLPADDING="4"
7600CLASS="CALSTABLE"
7601><TR
7602><TD
7603WIDTH="20%"
7604ALIGN="RIGHT"
7605VALIGN="TOP"
7606><TT
7607CLASS="PARAMETER"
7608><I
7609>ctxt</I
7610></TT
7611>&nbsp;:</TD
7612><TD
7613WIDTH="80%"
7614ALIGN="LEFT"
7615VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007616> an XML parser context</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007617></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007618></TABLE
7619><P
7620></P
7621></DIV
7622></DIV
7623><HR><DIV
7624CLASS="REFSECT2"
7625><A
Daniel Veillard28929b22000-11-13 18:22:49 +00007626NAME="AEN16710"
Daniel Veillard35925471999-02-25 08:46:07 +00007627></A
7628><H3
7629><A
7630NAME="XMLPARSECDSECT"
7631></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007632>xmlParseCDSect ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007633><TABLE
7634BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007635BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007636WIDTH="100%"
7637CELLPADDING="6"
7638><TR
7639><TD
7640><PRE
7641CLASS="PROGRAMLISTING"
7642>void xmlParseCDSect (<A
7643HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7644>xmlParserCtxtPtr</A
7645> ctxt);</PRE
7646></TD
7647></TR
7648></TABLE
7649><P
7650>Parse escaped pure raw content.</P
7651><P
7652>[18] CDSect ::= CDStart CData CDEnd</P
7653><P
7654>[19] CDStart ::= '&lt;![CDATA['</P
7655><P
7656>[20] Data ::= (Char* - (Char* ']]&gt;' Char*))</P
7657><P
7658>[21] CDEnd ::= ']]&gt;'</P
7659><P
7660></P
7661><DIV
7662CLASS="INFORMALTABLE"
7663><P
7664></P
7665><TABLE
7666BORDER="0"
7667WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007668BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007669CELLSPACING="0"
7670CELLPADDING="4"
7671CLASS="CALSTABLE"
7672><TR
7673><TD
7674WIDTH="20%"
7675ALIGN="RIGHT"
7676VALIGN="TOP"
7677><TT
7678CLASS="PARAMETER"
7679><I
7680>ctxt</I
7681></TT
7682>&nbsp;:</TD
7683><TD
7684WIDTH="80%"
7685ALIGN="LEFT"
7686VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007687> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007688></TR
7689></TABLE
7690><P
7691></P
7692></DIV
7693></DIV
7694><HR><DIV
7695CLASS="REFSECT2"
7696><A
Daniel Veillard28929b22000-11-13 18:22:49 +00007697NAME="AEN16730"
Daniel Veillard35925471999-02-25 08:46:07 +00007698></A
7699><H3
7700><A
7701NAME="XMLPARSECONTENT"
7702></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007703>xmlParseContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007704><TABLE
7705BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007706BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007707WIDTH="100%"
7708CELLPADDING="6"
7709><TR
7710><TD
7711><PRE
7712CLASS="PROGRAMLISTING"
7713>void xmlParseContent (<A
7714HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7715>xmlParserCtxtPtr</A
7716> ctxt);</PRE
7717></TD
7718></TR
7719></TABLE
7720><P
7721>Parse a content:</P
7722><P
7723>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
7724><P
7725></P
7726><DIV
7727CLASS="INFORMALTABLE"
7728><P
7729></P
7730><TABLE
7731BORDER="0"
7732WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007733BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007734CELLSPACING="0"
7735CELLPADDING="4"
7736CLASS="CALSTABLE"
7737><TR
7738><TD
7739WIDTH="20%"
7740ALIGN="RIGHT"
7741VALIGN="TOP"
7742><TT
7743CLASS="PARAMETER"
7744><I
7745>ctxt</I
7746></TT
7747>&nbsp;:</TD
7748><TD
7749WIDTH="80%"
7750ALIGN="LEFT"
7751VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007752> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007753></TR
7754></TABLE
7755><P
7756></P
7757></DIV
7758></DIV
7759><HR><DIV
7760CLASS="REFSECT2"
7761><A
Daniel Veillard28929b22000-11-13 18:22:49 +00007762NAME="AEN16747"
Daniel Veillard35925471999-02-25 08:46:07 +00007763></A
7764><H3
7765><A
7766NAME="XMLPARSEELEMENT"
7767></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007768>xmlParseElement ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007769><TABLE
7770BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007771BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007772WIDTH="100%"
7773CELLPADDING="6"
7774><TR
7775><TD
7776><PRE
7777CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00007778>void xmlParseElement (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007779HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7780>xmlParserCtxtPtr</A
7781> ctxt);</PRE
7782></TD
7783></TR
7784></TABLE
7785><P
7786>parse an XML element, this is highly recursive</P
7787><P
7788>[39] element ::= EmptyElemTag | STag content ETag</P
7789><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007790>[ WFC: Element Type Match ]
7791The Name in an element's end-tag must match the element type in the
7792start-tag. </P
7793><P
7794>[ VC: Element Valid ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00007795An element is valid if there is a declaration matching elementdecl
Daniel Veillardb05deb71999-08-10 19:04:08 +00007796where the Name matches the element type and one of the following holds:
7797- The declaration matches EMPTY and the element has no content.
7798- The declaration matches children and the sequence of child elements
7799belongs to the language generated by the regular expression in the
7800content model, with optional white space (characters matching the
7801nonterminal S) between each pair of child elements.
7802- The declaration matches Mixed and the content consists of character
7803data and child elements whose types match names in the content model.
7804- The declaration matches ANY, and the types of any child elements have
7805been declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007806><P
7807></P
7808><DIV
7809CLASS="INFORMALTABLE"
7810><P
7811></P
7812><TABLE
7813BORDER="0"
7814WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007815BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007816CELLSPACING="0"
7817CELLPADDING="4"
7818CLASS="CALSTABLE"
7819><TR
7820><TD
7821WIDTH="20%"
7822ALIGN="RIGHT"
7823VALIGN="TOP"
7824><TT
7825CLASS="PARAMETER"
7826><I
7827>ctxt</I
7828></TT
7829>&nbsp;:</TD
7830><TD
7831WIDTH="80%"
7832ALIGN="LEFT"
7833VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007834> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007835></TR
Daniel Veillard35925471999-02-25 08:46:07 +00007836></TABLE
7837><P
7838></P
7839></DIV
7840></DIV
7841><HR><DIV
7842CLASS="REFSECT2"
7843><A
Daniel Veillard28929b22000-11-13 18:22:49 +00007844NAME="AEN16766"
Daniel Veillard35925471999-02-25 08:46:07 +00007845></A
7846><H3
7847><A
7848NAME="XMLPARSEVERSIONNUM"
7849></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007850>xmlParseVersionNum ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007851><TABLE
7852BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007853BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007854WIDTH="100%"
7855CELLPADDING="6"
7856><TR
7857><TD
7858><PRE
7859CLASS="PROGRAMLISTING"
7860><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007861HREF="gnome-xml-tree.html#XMLCHAR"
7862>xmlChar</A
7863>* xmlParseVersionNum (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007864HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7865>xmlParserCtxtPtr</A
7866> ctxt);</PRE
7867></TD
7868></TR
7869></TABLE
7870><P
7871>parse the XML version value.</P
7872><P
7873>[26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</P
7874><P
7875></P
7876><DIV
7877CLASS="INFORMALTABLE"
7878><P
7879></P
7880><TABLE
7881BORDER="0"
7882WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007883BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007884CELLSPACING="0"
7885CELLPADDING="4"
7886CLASS="CALSTABLE"
7887><TR
7888><TD
7889WIDTH="20%"
7890ALIGN="RIGHT"
7891VALIGN="TOP"
7892><TT
7893CLASS="PARAMETER"
7894><I
7895>ctxt</I
7896></TT
7897>&nbsp;:</TD
7898><TD
7899WIDTH="80%"
7900ALIGN="LEFT"
7901VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007902> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007903></TR
7904><TR
7905><TD
7906WIDTH="20%"
7907ALIGN="RIGHT"
7908VALIGN="TOP"
7909><I
7910CLASS="EMPHASIS"
7911>Returns</I
7912> :</TD
7913><TD
7914WIDTH="80%"
7915ALIGN="LEFT"
7916VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007917>the string giving the XML version number, or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007918></TR
7919></TABLE
7920><P
7921></P
7922></DIV
7923></DIV
7924><HR><DIV
7925CLASS="REFSECT2"
7926><A
Daniel Veillard28929b22000-11-13 18:22:49 +00007927NAME="AEN16788"
Daniel Veillard35925471999-02-25 08:46:07 +00007928></A
7929><H3
7930><A
7931NAME="XMLPARSEVERSIONINFO"
7932></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007933>xmlParseVersionInfo ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007934><TABLE
7935BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007936BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007937WIDTH="100%"
7938CELLPADDING="6"
7939><TR
7940><TD
7941><PRE
7942CLASS="PROGRAMLISTING"
7943><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007944HREF="gnome-xml-tree.html#XMLCHAR"
7945>xmlChar</A
7946>* xmlParseVersionInfo (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007947HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7948>xmlParserCtxtPtr</A
7949> ctxt);</PRE
7950></TD
7951></TR
7952></TABLE
7953><P
7954>parse the XML version.</P
7955><P
7956>[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")</P
7957><P
7958>[25] Eq ::= S? '=' S?</P
7959><P
7960></P
7961><DIV
7962CLASS="INFORMALTABLE"
7963><P
7964></P
7965><TABLE
7966BORDER="0"
7967WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007968BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007969CELLSPACING="0"
7970CELLPADDING="4"
7971CLASS="CALSTABLE"
7972><TR
7973><TD
7974WIDTH="20%"
7975ALIGN="RIGHT"
7976VALIGN="TOP"
7977><TT
7978CLASS="PARAMETER"
7979><I
7980>ctxt</I
7981></TT
7982>&nbsp;:</TD
7983><TD
7984WIDTH="80%"
7985ALIGN="LEFT"
7986VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00007987> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007988></TR
7989><TR
7990><TD
7991WIDTH="20%"
7992ALIGN="RIGHT"
7993VALIGN="TOP"
7994><I
7995CLASS="EMPHASIS"
7996>Returns</I
7997> :</TD
7998><TD
7999WIDTH="80%"
8000ALIGN="LEFT"
8001VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008002>the version string, e.g. "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008003></TR
8004></TABLE
8005><P
8006></P
8007></DIV
8008></DIV
8009><HR><DIV
8010CLASS="REFSECT2"
8011><A
Daniel Veillard28929b22000-11-13 18:22:49 +00008012NAME="AEN16811"
Daniel Veillard35925471999-02-25 08:46:07 +00008013></A
8014><H3
8015><A
8016NAME="XMLPARSEENCNAME"
8017></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008018>xmlParseEncName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008019><TABLE
8020BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008021BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008022WIDTH="100%"
8023CELLPADDING="6"
8024><TR
8025><TD
8026><PRE
8027CLASS="PROGRAMLISTING"
8028><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008029HREF="gnome-xml-tree.html#XMLCHAR"
8030>xmlChar</A
8031>* xmlParseEncName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00008032HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8033>xmlParserCtxtPtr</A
8034> ctxt);</PRE
8035></TD
8036></TR
8037></TABLE
8038><P
8039>parse the XML encoding name</P
8040><P
8041>[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</P
8042><P
8043></P
8044><DIV
8045CLASS="INFORMALTABLE"
8046><P
8047></P
8048><TABLE
8049BORDER="0"
8050WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008051BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008052CELLSPACING="0"
8053CELLPADDING="4"
8054CLASS="CALSTABLE"
8055><TR
8056><TD
8057WIDTH="20%"
8058ALIGN="RIGHT"
8059VALIGN="TOP"
8060><TT
8061CLASS="PARAMETER"
8062><I
8063>ctxt</I
8064></TT
8065>&nbsp;:</TD
8066><TD
8067WIDTH="80%"
8068ALIGN="LEFT"
8069VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008070> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008071></TR
8072><TR
8073><TD
8074WIDTH="20%"
8075ALIGN="RIGHT"
8076VALIGN="TOP"
8077><I
8078CLASS="EMPHASIS"
8079>Returns</I
8080> :</TD
8081><TD
8082WIDTH="80%"
8083ALIGN="LEFT"
8084VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008085>the encoding name value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008086></TR
8087></TABLE
8088><P
8089></P
8090></DIV
8091></DIV
8092><HR><DIV
8093CLASS="REFSECT2"
8094><A
Daniel Veillard28929b22000-11-13 18:22:49 +00008095NAME="AEN16833"
Daniel Veillard35925471999-02-25 08:46:07 +00008096></A
8097><H3
8098><A
8099NAME="XMLPARSEENCODINGDECL"
8100></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008101>xmlParseEncodingDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008102><TABLE
8103BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008104BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008105WIDTH="100%"
8106CELLPADDING="6"
8107><TR
8108><TD
8109><PRE
8110CLASS="PROGRAMLISTING"
8111><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008112HREF="gnome-xml-tree.html#XMLCHAR"
8113>xmlChar</A
8114>* xmlParseEncodingDecl (<A
Daniel Veillard35925471999-02-25 08:46:07 +00008115HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8116>xmlParserCtxtPtr</A
8117> ctxt);</PRE
8118></TD
8119></TR
8120></TABLE
8121><P
8122>parse the XML encoding declaration</P
8123><P
8124>[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")</P
8125><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008126>this setups the conversion filters.</P
Daniel Veillard35925471999-02-25 08:46:07 +00008127><P
8128></P
8129><DIV
8130CLASS="INFORMALTABLE"
8131><P
8132></P
8133><TABLE
8134BORDER="0"
8135WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008136BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008137CELLSPACING="0"
8138CELLPADDING="4"
8139CLASS="CALSTABLE"
8140><TR
8141><TD
8142WIDTH="20%"
8143ALIGN="RIGHT"
8144VALIGN="TOP"
8145><TT
8146CLASS="PARAMETER"
8147><I
8148>ctxt</I
8149></TT
8150>&nbsp;:</TD
8151><TD
8152WIDTH="80%"
8153ALIGN="LEFT"
8154VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008155> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008156></TR
8157><TR
8158><TD
8159WIDTH="20%"
8160ALIGN="RIGHT"
8161VALIGN="TOP"
8162><I
8163CLASS="EMPHASIS"
8164>Returns</I
8165> :</TD
8166><TD
8167WIDTH="80%"
8168ALIGN="LEFT"
8169VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008170>the encoding value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008171></TR
8172></TABLE
8173><P
8174></P
8175></DIV
8176></DIV
8177><HR><DIV
8178CLASS="REFSECT2"
8179><A
Daniel Veillard28929b22000-11-13 18:22:49 +00008180NAME="AEN16856"
Daniel Veillard35925471999-02-25 08:46:07 +00008181></A
8182><H3
8183><A
8184NAME="XMLPARSESDDECL"
8185></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008186>xmlParseSDDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008187><TABLE
8188BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008189BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008190WIDTH="100%"
8191CELLPADDING="6"
8192><TR
8193><TD
8194><PRE
8195CLASS="PROGRAMLISTING"
8196>int xmlParseSDDecl (<A
8197HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8198>xmlParserCtxtPtr</A
8199> ctxt);</PRE
8200></TD
8201></TR
8202></TABLE
8203><P
8204>parse the XML standalone declaration</P
8205><P
8206>[32] SDDecl ::= S 'standalone' Eq
Daniel Veillardb05deb71999-08-10 19:04:08 +00008207(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"')) </P
8208><P
8209>[ VC: Standalone Document Declaration ]
8210TODO The standalone document declaration must have the value "no"
8211if any external markup declarations contain declarations of:
8212- attributes with default values, if elements to which these
8213attributes apply appear in the document without specifications
8214of values for these attributes, or
8215- entities (other than amp, lt, gt, apos, quot), if references
8216to those entities appear in the document, or
8217- attributes with values subject to normalization, where the
8218attribute appears in the document with a value which will change
8219as a result of normalization, or
8220- element types with element content, if white space occurs directly
8221within any instance of those types.</P
Daniel Veillard35925471999-02-25 08:46:07 +00008222><P
8223></P
8224><DIV
8225CLASS="INFORMALTABLE"
8226><P
8227></P
8228><TABLE
8229BORDER="0"
8230WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008231BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008232CELLSPACING="0"
8233CELLPADDING="4"
8234CLASS="CALSTABLE"
8235><TR
8236><TD
8237WIDTH="20%"
8238ALIGN="RIGHT"
8239VALIGN="TOP"
8240><TT
8241CLASS="PARAMETER"
8242><I
8243>ctxt</I
8244></TT
8245>&nbsp;:</TD
8246><TD
8247WIDTH="80%"
8248ALIGN="LEFT"
8249VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008250> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008251></TR
8252><TR
8253><TD
8254WIDTH="20%"
8255ALIGN="RIGHT"
8256VALIGN="TOP"
8257><I
8258CLASS="EMPHASIS"
8259>Returns</I
8260> :</TD
8261><TD
8262WIDTH="80%"
8263ALIGN="LEFT"
8264VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008265>1 if standalone, 0 otherwise</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008266></TR
8267></TABLE
8268><P
8269></P
8270></DIV
8271></DIV
8272><HR><DIV
8273CLASS="REFSECT2"
8274><A
Daniel Veillard28929b22000-11-13 18:22:49 +00008275NAME="AEN16878"
Daniel Veillard35925471999-02-25 08:46:07 +00008276></A
8277><H3
8278><A
8279NAME="XMLPARSEXMLDECL"
8280></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008281>xmlParseXMLDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008282><TABLE
8283BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008284BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008285WIDTH="100%"
8286CELLPADDING="6"
8287><TR
8288><TD
8289><PRE
8290CLASS="PROGRAMLISTING"
8291>void xmlParseXMLDecl (<A
8292HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8293>xmlParserCtxtPtr</A
8294> ctxt);</PRE
8295></TD
8296></TR
8297></TABLE
8298><P
8299>parse an XML declaration header</P
8300><P
8301>[23] XMLDecl ::= '&lt;?xml' VersionInfo EncodingDecl? SDDecl? S? '?&gt;'</P
8302><P
8303></P
8304><DIV
8305CLASS="INFORMALTABLE"
8306><P
8307></P
8308><TABLE
8309BORDER="0"
8310WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008311BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008312CELLSPACING="0"
8313CELLPADDING="4"
8314CLASS="CALSTABLE"
8315><TR
8316><TD
8317WIDTH="20%"
8318ALIGN="RIGHT"
8319VALIGN="TOP"
8320><TT
8321CLASS="PARAMETER"
8322><I
8323>ctxt</I
8324></TT
8325>&nbsp;:</TD
8326><TD
8327WIDTH="80%"
8328ALIGN="LEFT"
8329VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008330> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008331></TR
8332></TABLE
8333><P
8334></P
8335></DIV
8336></DIV
8337><HR><DIV
8338CLASS="REFSECT2"
8339><A
Daniel Veillard28929b22000-11-13 18:22:49 +00008340NAME="AEN16895"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008341></A
8342><H3
8343><A
8344NAME="XMLPARSETEXTDECL"
8345></A
8346>xmlParseTextDecl ()</H3
8347><TABLE
8348BORDER="0"
8349BGCOLOR="#D6E8FF"
8350WIDTH="100%"
8351CELLPADDING="6"
8352><TR
8353><TD
8354><PRE
8355CLASS="PROGRAMLISTING"
8356>void xmlParseTextDecl (<A
8357HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8358>xmlParserCtxtPtr</A
8359> ctxt);</PRE
8360></TD
8361></TR
8362></TABLE
8363><P
8364>parse an XML declaration header for external entities</P
8365><P
8366>[77] TextDecl ::= '&lt;?xml' VersionInfo? EncodingDecl S? '?&gt;'</P
8367><P
8368>Question: Seems that EncodingDecl is mandatory ? Is that a typo ?</P
8369><P
8370></P
8371><DIV
8372CLASS="INFORMALTABLE"
8373><P
8374></P
8375><TABLE
8376BORDER="0"
8377WIDTH="100%"
8378BGCOLOR="#FFD0D0"
8379CELLSPACING="0"
8380CELLPADDING="4"
8381CLASS="CALSTABLE"
8382><TR
8383><TD
8384WIDTH="20%"
8385ALIGN="RIGHT"
8386VALIGN="TOP"
8387><TT
8388CLASS="PARAMETER"
8389><I
8390>ctxt</I
8391></TT
8392>&nbsp;:</TD
8393><TD
8394WIDTH="80%"
8395ALIGN="LEFT"
8396VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008397> an XML parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008398></TR
8399></TABLE
8400><P
8401></P
8402></DIV
8403></DIV
8404><HR><DIV
8405CLASS="REFSECT2"
8406><A
Daniel Veillard28929b22000-11-13 18:22:49 +00008407NAME="AEN16913"
Daniel Veillard35925471999-02-25 08:46:07 +00008408></A
8409><H3
8410><A
8411NAME="XMLPARSEMISC"
8412></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008413>xmlParseMisc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00008414><TABLE
8415BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008416BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00008417WIDTH="100%"
8418CELLPADDING="6"
8419><TR
8420><TD
8421><PRE
8422CLASS="PROGRAMLISTING"
8423>void xmlParseMisc (<A
8424HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8425>xmlParserCtxtPtr</A
8426> ctxt);</PRE
8427></TD
8428></TR
8429></TABLE
8430><P
8431>parse an XML Misc* optionnal field.</P
8432><P
8433>[27] Misc ::= Comment | PI | S</P
8434><P
8435></P
8436><DIV
8437CLASS="INFORMALTABLE"
8438><P
8439></P
8440><TABLE
8441BORDER="0"
8442WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008443BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00008444CELLSPACING="0"
8445CELLPADDING="4"
8446CLASS="CALSTABLE"
8447><TR
8448><TD
8449WIDTH="20%"
8450ALIGN="RIGHT"
8451VALIGN="TOP"
8452><TT
8453CLASS="PARAMETER"
8454><I
8455>ctxt</I
8456></TT
8457>&nbsp;:</TD
8458><TD
8459WIDTH="80%"
8460ALIGN="LEFT"
8461VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008462> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008463></TR
8464></TABLE
8465><P
8466></P
8467></DIV
8468></DIV
Daniel Veillard011b63c1999-06-02 17:44:04 +00008469><HR><DIV
8470CLASS="REFSECT2"
8471><A
Daniel Veillard28929b22000-11-13 18:22:49 +00008472NAME="AEN16930"
Daniel Veillardb05deb71999-08-10 19:04:08 +00008473></A
8474><H3
8475><A
8476NAME="XMLPARSEEXTERNALSUBSET"
8477></A
8478>xmlParseExternalSubset ()</H3
8479><TABLE
8480BORDER="0"
8481BGCOLOR="#D6E8FF"
8482WIDTH="100%"
8483CELLPADDING="6"
8484><TR
8485><TD
8486><PRE
8487CLASS="PROGRAMLISTING"
8488>void xmlParseExternalSubset (<A
8489HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8490>xmlParserCtxtPtr</A
8491> ctxt,
8492 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008493HREF="gnome-xml-tree.html#XMLCHAR"
8494>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00008495> *ExternalID,
8496 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008497HREF="gnome-xml-tree.html#XMLCHAR"
8498>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00008499> *SystemID);</PRE
8500></TD
8501></TR
8502></TABLE
8503><P
8504>parse Markup declarations from an external subset</P
8505><P
8506>[30] extSubset ::= textDecl? extSubsetDecl</P
8507><P
8508>[31] extSubsetDecl ::= (markupdecl | conditionalSect | PEReference | S) *</P
8509><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00008510></P
8511><DIV
8512CLASS="INFORMALTABLE"
8513><P
8514></P
8515><TABLE
8516BORDER="0"
8517WIDTH="100%"
8518BGCOLOR="#FFD0D0"
8519CELLSPACING="0"
8520CELLPADDING="4"
8521CLASS="CALSTABLE"
8522><TR
8523><TD
8524WIDTH="20%"
8525ALIGN="RIGHT"
8526VALIGN="TOP"
8527><TT
8528CLASS="PARAMETER"
8529><I
8530>ctxt</I
8531></TT
8532>&nbsp;:</TD
8533><TD
8534WIDTH="80%"
8535ALIGN="LEFT"
8536VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008537> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008538></TR
8539><TR
8540><TD
8541WIDTH="20%"
8542ALIGN="RIGHT"
8543VALIGN="TOP"
8544><TT
8545CLASS="PARAMETER"
8546><I
8547>ExternalID</I
8548></TT
8549>&nbsp;:</TD
8550><TD
8551WIDTH="80%"
8552ALIGN="LEFT"
8553VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008554> the external identifier</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008555></TR
8556><TR
8557><TD
8558WIDTH="20%"
8559ALIGN="RIGHT"
8560VALIGN="TOP"
8561><TT
8562CLASS="PARAMETER"
8563><I
8564>SystemID</I
8565></TT
8566>&nbsp;:</TD
8567><TD
8568WIDTH="80%"
8569ALIGN="LEFT"
8570VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008571> the system identifier (or URL)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00008572></TR
8573></TABLE
8574><P
8575></P
8576></DIV
8577></DIV
8578><HR><DIV
8579CLASS="REFSECT2"
8580><A
Daniel Veillard28929b22000-11-13 18:22:49 +00008581NAME="AEN16958"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008582></A
8583><H3
8584><A
8585NAME="XML-SUBSTITUTE-NONE"
8586></A
8587>XML_SUBSTITUTE_NONE</H3
8588><TABLE
8589BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008590BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008591WIDTH="100%"
8592CELLPADDING="6"
8593><TR
8594><TD
8595><PRE
8596CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008597>#define XML_SUBSTITUTE_NONE 0</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008598></TD
8599></TR
8600></TABLE
8601><P
8602></P
8603></DIV
8604><HR><DIV
8605CLASS="REFSECT2"
8606><A
Daniel Veillard28929b22000-11-13 18:22:49 +00008607NAME="AEN16963"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008608></A
8609><H3
8610><A
8611NAME="XML-SUBSTITUTE-REF"
8612></A
8613>XML_SUBSTITUTE_REF</H3
8614><TABLE
8615BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008616BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008617WIDTH="100%"
8618CELLPADDING="6"
8619><TR
8620><TD
8621><PRE
8622CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008623>#define XML_SUBSTITUTE_REF 1</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008624></TD
8625></TR
8626></TABLE
8627><P
8628></P
8629></DIV
8630><HR><DIV
8631CLASS="REFSECT2"
8632><A
Daniel Veillard28929b22000-11-13 18:22:49 +00008633NAME="AEN16968"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008634></A
8635><H3
8636><A
8637NAME="XML-SUBSTITUTE-PEREF"
8638></A
8639>XML_SUBSTITUTE_PEREF</H3
8640><TABLE
8641BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008642BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008643WIDTH="100%"
8644CELLPADDING="6"
8645><TR
8646><TD
8647><PRE
8648CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008649>#define XML_SUBSTITUTE_PEREF 2</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008650></TD
8651></TR
8652></TABLE
8653><P
8654></P
8655></DIV
8656><HR><DIV
8657CLASS="REFSECT2"
8658><A
Daniel Veillard28929b22000-11-13 18:22:49 +00008659NAME="AEN16973"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008660></A
8661><H3
8662><A
8663NAME="XML-SUBSTITUTE-BOTH"
8664></A
8665>XML_SUBSTITUTE_BOTH</H3
8666><TABLE
8667BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008668BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008669WIDTH="100%"
8670CELLPADDING="6"
8671><TR
8672><TD
8673><PRE
8674CLASS="PROGRAMLISTING"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008675>#define XML_SUBSTITUTE_BOTH 3</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00008676></TD
8677></TR
8678></TABLE
8679><P
8680></P
8681></DIV
8682><HR><DIV
8683CLASS="REFSECT2"
8684><A
Daniel Veillard28929b22000-11-13 18:22:49 +00008685NAME="AEN16978"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008686></A
8687><H3
8688><A
8689NAME="XMLDECODEENTITIES"
8690></A
Daniel Veillard14fff061999-06-22 21:49:07 +00008691>xmlDecodeEntities ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00008692><TABLE
8693BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008694BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008695WIDTH="100%"
8696CELLPADDING="6"
8697><TR
8698><TD
8699><PRE
8700CLASS="PROGRAMLISTING"
8701><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008702HREF="gnome-xml-tree.html#XMLCHAR"
8703>xmlChar</A
8704>* xmlDecodeEntities (<A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008705HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8706>xmlParserCtxtPtr</A
8707> ctxt,
8708 int len,
8709 int what,
8710 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008711HREF="gnome-xml-tree.html#XMLCHAR"
8712>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008713> end,
8714 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008715HREF="gnome-xml-tree.html#XMLCHAR"
8716>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008717> end2,
8718 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00008719HREF="gnome-xml-tree.html#XMLCHAR"
8720>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00008721> end3);</PRE
8722></TD
8723></TR
8724></TABLE
8725><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008726>This function is deprecated, we now always process entities content
8727through xmlStringDecodeEntities</P
8728><P
8729>TODO: remove it in next major release.</P
8730><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00008731>[67] Reference ::= EntityRef | CharRef</P
8732><P
8733>[69] PEReference ::= '%' Name ';'</P
8734><P
8735></P
8736><DIV
8737CLASS="INFORMALTABLE"
8738><P
8739></P
8740><TABLE
8741BORDER="0"
8742WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00008743BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00008744CELLSPACING="0"
8745CELLPADDING="4"
8746CLASS="CALSTABLE"
8747><TR
8748><TD
8749WIDTH="20%"
8750ALIGN="RIGHT"
8751VALIGN="TOP"
8752><TT
8753CLASS="PARAMETER"
8754><I
8755>ctxt</I
8756></TT
8757>&nbsp;:</TD
8758><TD
8759WIDTH="80%"
8760ALIGN="LEFT"
8761VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008762> the parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008763></TR
8764><TR
8765><TD
8766WIDTH="20%"
8767ALIGN="RIGHT"
8768VALIGN="TOP"
8769><TT
8770CLASS="PARAMETER"
8771><I
8772>len</I
8773></TT
8774>&nbsp;:</TD
8775><TD
8776WIDTH="80%"
8777ALIGN="LEFT"
8778VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008779> the len to decode (in bytes !), -1 for no size limit</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008780></TR
8781><TR
8782><TD
8783WIDTH="20%"
8784ALIGN="RIGHT"
8785VALIGN="TOP"
8786><TT
8787CLASS="PARAMETER"
8788><I
8789>what</I
8790></TT
8791>&nbsp;:</TD
8792><TD
8793WIDTH="80%"
8794ALIGN="LEFT"
8795VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008796> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008797></TR
8798><TR
8799><TD
8800WIDTH="20%"
8801ALIGN="RIGHT"
8802VALIGN="TOP"
8803><TT
8804CLASS="PARAMETER"
8805><I
8806>end</I
8807></TT
8808>&nbsp;:</TD
8809><TD
8810WIDTH="80%"
8811ALIGN="LEFT"
8812VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008813> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008814></TR
8815><TR
8816><TD
8817WIDTH="20%"
8818ALIGN="RIGHT"
8819VALIGN="TOP"
8820><TT
8821CLASS="PARAMETER"
8822><I
8823>end2</I
8824></TT
8825>&nbsp;:</TD
8826><TD
8827WIDTH="80%"
8828ALIGN="LEFT"
8829VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008830> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008831></TR
8832><TR
8833><TD
8834WIDTH="20%"
8835ALIGN="RIGHT"
8836VALIGN="TOP"
8837><TT
8838CLASS="PARAMETER"
8839><I
8840>end3</I
8841></TT
8842>&nbsp;:</TD
8843><TD
8844WIDTH="80%"
8845ALIGN="LEFT"
8846VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008847> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008848></TR
8849><TR
8850><TD
8851WIDTH="20%"
8852ALIGN="RIGHT"
8853VALIGN="TOP"
8854><I
8855CLASS="EMPHASIS"
8856>Returns</I
8857> :</TD
8858><TD
8859WIDTH="80%"
8860ALIGN="LEFT"
8861VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008862>A newly allocated string with the substitution done. The caller
8863must deallocate it !</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00008864></TR
8865></TABLE
8866><P
8867></P
8868></DIV
8869></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +00008870><HR><DIV
8871CLASS="REFSECT2"
8872><A
Daniel Veillard28929b22000-11-13 18:22:49 +00008873NAME="AEN17025"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008874></A
8875><H3
8876><A
8877NAME="XMLSTRINGDECODEENTITIES"
8878></A
8879>xmlStringDecodeEntities ()</H3
8880><TABLE
8881BORDER="0"
8882BGCOLOR="#D6E8FF"
8883WIDTH="100%"
8884CELLPADDING="6"
8885><TR
8886><TD
8887><PRE
8888CLASS="PROGRAMLISTING"
8889><A
8890HREF="gnome-xml-tree.html#XMLCHAR"
8891>xmlChar</A
8892>* xmlStringDecodeEntities (<A
8893HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8894>xmlParserCtxtPtr</A
8895> ctxt,
8896 const <A
8897HREF="gnome-xml-tree.html#XMLCHAR"
8898>xmlChar</A
8899> *str,
8900 int what,
8901 <A
8902HREF="gnome-xml-tree.html#XMLCHAR"
8903>xmlChar</A
8904> end,
8905 <A
8906HREF="gnome-xml-tree.html#XMLCHAR"
8907>xmlChar</A
8908> end2,
8909 <A
8910HREF="gnome-xml-tree.html#XMLCHAR"
8911>xmlChar</A
8912> end3);</PRE
8913></TD
8914></TR
8915></TABLE
8916><P
Daniel Veillard3bff2b02000-10-01 20:33:47 +00008917>Takes a entity string content and process to do the adequate subtitutions.</P
8918><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008919>[67] Reference ::= EntityRef | CharRef</P
8920><P
8921>[69] PEReference ::= '%' Name ';'</P
8922><P
8923></P
8924><DIV
8925CLASS="INFORMALTABLE"
8926><P
8927></P
8928><TABLE
8929BORDER="0"
8930WIDTH="100%"
8931BGCOLOR="#FFD0D0"
8932CELLSPACING="0"
8933CELLPADDING="4"
8934CLASS="CALSTABLE"
8935><TR
8936><TD
8937WIDTH="20%"
8938ALIGN="RIGHT"
8939VALIGN="TOP"
8940><TT
8941CLASS="PARAMETER"
8942><I
8943>ctxt</I
8944></TT
8945>&nbsp;:</TD
8946><TD
8947WIDTH="80%"
8948ALIGN="LEFT"
8949VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008950> the parser context</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008951></TR
8952><TR
8953><TD
8954WIDTH="20%"
8955ALIGN="RIGHT"
8956VALIGN="TOP"
8957><TT
8958CLASS="PARAMETER"
8959><I
8960>str</I
8961></TT
8962>&nbsp;:</TD
8963><TD
8964WIDTH="80%"
8965ALIGN="LEFT"
8966VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008967> the input string</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008968></TR
8969><TR
8970><TD
8971WIDTH="20%"
8972ALIGN="RIGHT"
8973VALIGN="TOP"
8974><TT
8975CLASS="PARAMETER"
8976><I
8977>what</I
8978></TT
8979>&nbsp;:</TD
8980><TD
8981WIDTH="80%"
8982ALIGN="LEFT"
8983VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00008984> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008985></TR
8986><TR
8987><TD
8988WIDTH="20%"
8989ALIGN="RIGHT"
8990VALIGN="TOP"
8991><TT
8992CLASS="PARAMETER"
8993><I
8994>end</I
8995></TT
8996>&nbsp;:</TD
8997><TD
8998WIDTH="80%"
8999ALIGN="LEFT"
9000VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009001> an end marker xmlChar, 0 if none</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009002></TR
9003><TR
9004><TD
9005WIDTH="20%"
9006ALIGN="RIGHT"
9007VALIGN="TOP"
9008><TT
9009CLASS="PARAMETER"
9010><I
9011>end2</I
9012></TT
9013>&nbsp;:</TD
9014><TD
9015WIDTH="80%"
9016ALIGN="LEFT"
9017VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009018> an end marker xmlChar, 0 if none</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009019></TR
9020><TR
9021><TD
9022WIDTH="20%"
9023ALIGN="RIGHT"
9024VALIGN="TOP"
9025><TT
9026CLASS="PARAMETER"
9027><I
9028>end3</I
9029></TT
9030>&nbsp;:</TD
9031><TD
9032WIDTH="80%"
9033ALIGN="LEFT"
9034VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009035> an end marker xmlChar, 0 if none</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009036></TR
9037><TR
9038><TD
9039WIDTH="20%"
9040ALIGN="RIGHT"
9041VALIGN="TOP"
9042><I
9043CLASS="EMPHASIS"
9044>Returns</I
9045> :</TD
9046><TD
9047WIDTH="80%"
9048ALIGN="LEFT"
9049VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009050>A newly allocated string with the substitution done. The caller
9051must deallocate it !</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00009052></TR
9053></TABLE
9054><P
9055></P
9056></DIV
9057></DIV
9058><HR><DIV
9059CLASS="REFSECT2"
9060><A
Daniel Veillard28929b22000-11-13 18:22:49 +00009061NAME="AEN17072"
Daniel Veillard14fff061999-06-22 21:49:07 +00009062></A
9063><H3
9064><A
9065NAME="NODEPUSH"
9066></A
9067>nodePush ()</H3
9068><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00009069BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00009070BGCOLOR="#D6E8FF"
9071WIDTH="100%"
9072CELLPADDING="6"
Daniel Veillard35925471999-02-25 08:46:07 +00009073><TR
9074><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009075><PRE
9076CLASS="PROGRAMLISTING"
9077>int nodePush (<A
9078HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9079>xmlParserCtxtPtr</A
9080> ctxt,
9081 <A
9082HREF="gnome-xml-tree.html#XMLNODEPTR"
9083>xmlNodePtr</A
9084> value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00009085></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009086></TR
9087></TABLE
9088><P
9089></P
9090><DIV
9091CLASS="INFORMALTABLE"
9092><P
9093></P
9094><TABLE
9095BORDER="0"
9096WIDTH="100%"
9097BGCOLOR="#FFD0D0"
9098CELLSPACING="0"
9099CELLPADDING="4"
9100CLASS="CALSTABLE"
9101><TR
Daniel Veillard35925471999-02-25 08:46:07 +00009102><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009103WIDTH="20%"
9104ALIGN="RIGHT"
9105VALIGN="TOP"
9106><TT
9107CLASS="PARAMETER"
9108><I
9109>ctxt</I
9110></TT
9111>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009112><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009113WIDTH="80%"
9114ALIGN="LEFT"
9115VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00009116>&nbsp;</TD
9117></TR
9118><TR
9119><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009120WIDTH="20%"
9121ALIGN="RIGHT"
9122VALIGN="TOP"
9123><TT
9124CLASS="PARAMETER"
9125><I
9126>value</I
9127></TT
9128>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00009129><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00009130WIDTH="80%"
9131ALIGN="LEFT"
9132VALIGN="TOP"
9133>&nbsp;</TD
9134></TR
9135><TR
9136><TD
9137WIDTH="20%"
9138ALIGN="RIGHT"
9139VALIGN="TOP"
9140><I
9141CLASS="EMPHASIS"
9142>Returns</I
9143> :</TD
9144><TD
9145WIDTH="80%"
9146ALIGN="LEFT"
9147VALIGN="TOP"
9148>&nbsp;</TD
9149></TR
9150></TABLE
9151><P
9152></P
9153></DIV
9154></DIV
9155><HR><DIV
9156CLASS="REFSECT2"
Daniel Veillard35925471999-02-25 08:46:07 +00009157><A
Daniel Veillard28929b22000-11-13 18:22:49 +00009158NAME="AEN17096"
Daniel Veillard14fff061999-06-22 21:49:07 +00009159></A
9160><H3
9161><A
9162NAME="NODEPOP"
9163></A
9164>nodePop ()</H3
9165><TABLE
9166BORDER="0"
9167BGCOLOR="#D6E8FF"
9168WIDTH="100%"
9169CELLPADDING="6"
9170><TR
9171><TD
9172><PRE
9173CLASS="PROGRAMLISTING"
9174><A
9175HREF="gnome-xml-tree.html#XMLNODEPTR"
9176>xmlNodePtr</A
9177> nodePop (<A
9178HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9179>xmlParserCtxtPtr</A
9180> ctxt);</PRE
9181></TD
9182></TR
9183></TABLE
9184><P
9185></P
9186><DIV
9187CLASS="INFORMALTABLE"
9188><P
9189></P
9190><TABLE
9191BORDER="0"
9192WIDTH="100%"
9193BGCOLOR="#FFD0D0"
9194CELLSPACING="0"
9195CELLPADDING="4"
9196CLASS="CALSTABLE"
9197><TR
9198><TD
9199WIDTH="20%"
9200ALIGN="RIGHT"
9201VALIGN="TOP"
9202><TT
9203CLASS="PARAMETER"
9204><I
9205>ctxt</I
9206></TT
9207>&nbsp;:</TD
9208><TD
9209WIDTH="80%"
9210ALIGN="LEFT"
9211VALIGN="TOP"
9212>&nbsp;</TD
9213></TR
9214><TR
9215><TD
9216WIDTH="20%"
9217ALIGN="RIGHT"
9218VALIGN="TOP"
9219><I
9220CLASS="EMPHASIS"
9221>Returns</I
9222> :</TD
9223><TD
9224WIDTH="80%"
9225ALIGN="LEFT"
9226VALIGN="TOP"
9227>&nbsp;</TD
9228></TR
9229></TABLE
9230><P
9231></P
9232></DIV
9233></DIV
9234><HR><DIV
9235CLASS="REFSECT2"
9236><A
Daniel Veillard28929b22000-11-13 18:22:49 +00009237NAME="AEN17116"
Daniel Veillard14fff061999-06-22 21:49:07 +00009238></A
9239><H3
9240><A
9241NAME="INPUTPUSH"
9242></A
9243>inputPush ()</H3
9244><TABLE
9245BORDER="0"
9246BGCOLOR="#D6E8FF"
9247WIDTH="100%"
9248CELLPADDING="6"
9249><TR
9250><TD
9251><PRE
9252CLASS="PROGRAMLISTING"
9253>int inputPush (<A
9254HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9255>xmlParserCtxtPtr</A
9256> ctxt,
9257 <A
9258HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
9259>xmlParserInputPtr</A
9260> value);</PRE
9261></TD
9262></TR
9263></TABLE
9264><P
9265></P
9266><DIV
9267CLASS="INFORMALTABLE"
9268><P
9269></P
9270><TABLE
9271BORDER="0"
9272WIDTH="100%"
9273BGCOLOR="#FFD0D0"
9274CELLSPACING="0"
9275CELLPADDING="4"
9276CLASS="CALSTABLE"
9277><TR
9278><TD
9279WIDTH="20%"
9280ALIGN="RIGHT"
9281VALIGN="TOP"
9282><TT
9283CLASS="PARAMETER"
9284><I
9285>ctxt</I
9286></TT
9287>&nbsp;:</TD
9288><TD
9289WIDTH="80%"
9290ALIGN="LEFT"
9291VALIGN="TOP"
9292>&nbsp;</TD
9293></TR
9294><TR
9295><TD
9296WIDTH="20%"
9297ALIGN="RIGHT"
9298VALIGN="TOP"
9299><TT
9300CLASS="PARAMETER"
9301><I
9302>value</I
9303></TT
9304>&nbsp;:</TD
9305><TD
9306WIDTH="80%"
9307ALIGN="LEFT"
9308VALIGN="TOP"
9309>&nbsp;</TD
9310></TR
9311><TR
9312><TD
9313WIDTH="20%"
9314ALIGN="RIGHT"
9315VALIGN="TOP"
9316><I
9317CLASS="EMPHASIS"
9318>Returns</I
9319> :</TD
9320><TD
9321WIDTH="80%"
9322ALIGN="LEFT"
9323VALIGN="TOP"
9324>&nbsp;</TD
9325></TR
9326></TABLE
9327><P
9328></P
9329></DIV
9330></DIV
9331><HR><DIV
9332CLASS="REFSECT2"
9333><A
Daniel Veillard28929b22000-11-13 18:22:49 +00009334NAME="AEN17140"
Daniel Veillard14fff061999-06-22 21:49:07 +00009335></A
9336><H3
9337><A
9338NAME="INPUTPOP"
9339></A
9340>inputPop ()</H3
9341><TABLE
9342BORDER="0"
9343BGCOLOR="#D6E8FF"
9344WIDTH="100%"
9345CELLPADDING="6"
9346><TR
9347><TD
9348><PRE
9349CLASS="PROGRAMLISTING"
9350><A
9351HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
9352>xmlParserInputPtr</A
9353> inputPop (<A
9354HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9355>xmlParserCtxtPtr</A
9356> ctxt);</PRE
9357></TD
9358></TR
9359></TABLE
9360><P
9361></P
9362><DIV
9363CLASS="INFORMALTABLE"
9364><P
9365></P
9366><TABLE
9367BORDER="0"
9368WIDTH="100%"
9369BGCOLOR="#FFD0D0"
9370CELLSPACING="0"
9371CELLPADDING="4"
9372CLASS="CALSTABLE"
9373><TR
9374><TD
9375WIDTH="20%"
9376ALIGN="RIGHT"
9377VALIGN="TOP"
9378><TT
9379CLASS="PARAMETER"
9380><I
9381>ctxt</I
9382></TT
9383>&nbsp;:</TD
9384><TD
9385WIDTH="80%"
9386ALIGN="LEFT"
9387VALIGN="TOP"
9388>&nbsp;</TD
9389></TR
9390><TR
9391><TD
9392WIDTH="20%"
9393ALIGN="RIGHT"
9394VALIGN="TOP"
9395><I
9396CLASS="EMPHASIS"
9397>Returns</I
9398> :</TD
9399><TD
9400WIDTH="80%"
9401ALIGN="LEFT"
9402VALIGN="TOP"
9403>&nbsp;</TD
9404></TR
9405></TABLE
9406><P
9407></P
9408></DIV
9409></DIV
Daniel Veillarde46e20d2000-07-14 15:02:46 +00009410><HR><DIV
9411CLASS="REFSECT2"
9412><A
Daniel Veillard28929b22000-11-13 18:22:49 +00009413NAME="AEN17160"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009414></A
9415><H3
9416><A
9417NAME="XMLSKIPBLANKCHARS"
9418></A
9419>xmlSkipBlankChars ()</H3
9420><TABLE
9421BORDER="0"
9422BGCOLOR="#D6E8FF"
9423WIDTH="100%"
9424CELLPADDING="6"
9425><TR
9426><TD
9427><PRE
9428CLASS="PROGRAMLISTING"
9429>int xmlSkipBlankChars (<A
9430HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9431>xmlParserCtxtPtr</A
9432> ctxt);</PRE
9433></TD
9434></TR
9435></TABLE
9436><P
9437>skip all blanks character found at that point in the input streams.
9438It pops up finished entities in the process if allowable at that point.</P
9439><P
9440></P
9441><DIV
9442CLASS="INFORMALTABLE"
9443><P
9444></P
9445><TABLE
9446BORDER="0"
9447WIDTH="100%"
9448BGCOLOR="#FFD0D0"
9449CELLSPACING="0"
9450CELLPADDING="4"
9451CLASS="CALSTABLE"
9452><TR
9453><TD
9454WIDTH="20%"
9455ALIGN="RIGHT"
9456VALIGN="TOP"
9457><TT
9458CLASS="PARAMETER"
9459><I
9460>ctxt</I
9461></TT
9462>&nbsp;:</TD
9463><TD
9464WIDTH="80%"
9465ALIGN="LEFT"
9466VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009467> the XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009468></TR
9469><TR
9470><TD
9471WIDTH="20%"
9472ALIGN="RIGHT"
9473VALIGN="TOP"
9474><I
9475CLASS="EMPHASIS"
9476>Returns</I
9477> :</TD
9478><TD
9479WIDTH="80%"
9480ALIGN="LEFT"
9481VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009482>the number of space chars skipped</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009483></TR
9484></TABLE
9485><P
9486></P
9487></DIV
9488></DIV
9489><HR><DIV
9490CLASS="REFSECT2"
9491><A
Daniel Veillard28929b22000-11-13 18:22:49 +00009492NAME="AEN17180"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009493></A
9494><H3
9495><A
9496NAME="XMLSTRINGCURRENTCHAR"
9497></A
9498>xmlStringCurrentChar ()</H3
9499><TABLE
9500BORDER="0"
9501BGCOLOR="#D6E8FF"
9502WIDTH="100%"
9503CELLPADDING="6"
9504><TR
9505><TD
9506><PRE
9507CLASS="PROGRAMLISTING"
9508>int xmlStringCurrentChar (<A
9509HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9510>xmlParserCtxtPtr</A
9511> ctxt,
9512 const <A
9513HREF="gnome-xml-tree.html#XMLCHAR"
9514>xmlChar</A
9515> *cur,
9516 int *len);</PRE
9517></TD
9518></TR
9519></TABLE
9520><P
9521>The current char value, if using UTF-8 this may actaully span multiple
9522bytes in the input buffer.</P
9523><P
9524></P
9525><DIV
9526CLASS="INFORMALTABLE"
9527><P
9528></P
9529><TABLE
9530BORDER="0"
9531WIDTH="100%"
9532BGCOLOR="#FFD0D0"
9533CELLSPACING="0"
9534CELLPADDING="4"
9535CLASS="CALSTABLE"
9536><TR
9537><TD
9538WIDTH="20%"
9539ALIGN="RIGHT"
9540VALIGN="TOP"
9541><TT
9542CLASS="PARAMETER"
9543><I
9544>ctxt</I
9545></TT
9546>&nbsp;:</TD
9547><TD
9548WIDTH="80%"
9549ALIGN="LEFT"
9550VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009551> the XML parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009552></TR
9553><TR
9554><TD
9555WIDTH="20%"
9556ALIGN="RIGHT"
9557VALIGN="TOP"
9558><TT
9559CLASS="PARAMETER"
9560><I
9561>cur</I
9562></TT
9563>&nbsp;:</TD
9564><TD
9565WIDTH="80%"
9566ALIGN="LEFT"
9567VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009568> pointer to the beginning of the char</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009569></TR
9570><TR
9571><TD
9572WIDTH="20%"
9573ALIGN="RIGHT"
9574VALIGN="TOP"
9575><TT
9576CLASS="PARAMETER"
9577><I
9578>len</I
9579></TT
9580>&nbsp;:</TD
9581><TD
9582WIDTH="80%"
9583ALIGN="LEFT"
9584VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009585> pointer to the length of the char read</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009586></TR
9587><TR
9588><TD
9589WIDTH="20%"
9590ALIGN="RIGHT"
9591VALIGN="TOP"
9592><I
9593CLASS="EMPHASIS"
9594>Returns</I
9595> :</TD
9596><TD
9597WIDTH="80%"
9598ALIGN="LEFT"
9599VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009600>the current char value and its lenght</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009601></TR
9602></TABLE
9603><P
9604></P
9605></DIV
9606></DIV
9607><HR><DIV
9608CLASS="REFSECT2"
9609><A
Daniel Veillard28929b22000-11-13 18:22:49 +00009610NAME="AEN17209"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009611></A
9612><H3
9613><A
9614NAME="XMLPARSERHANDLEPEREFERENCE"
9615></A
9616>xmlParserHandlePEReference ()</H3
9617><TABLE
9618BORDER="0"
9619BGCOLOR="#D6E8FF"
9620WIDTH="100%"
9621CELLPADDING="6"
9622><TR
9623><TD
9624><PRE
9625CLASS="PROGRAMLISTING"
9626>void xmlParserHandlePEReference (<A
9627HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9628>xmlParserCtxtPtr</A
9629> ctxt);</PRE
9630></TD
9631></TR
9632></TABLE
9633><P
9634>[69] PEReference ::= '%' Name ';'</P
9635><P
9636>[ WFC: No Recursion ]
9637A parsed entity must not contain a recursive
9638reference to itself, either directly or indirectly. </P
9639><P
9640>[ WFC: Entity Declared ]
9641In a document without any DTD, a document with only an internal DTD
9642subset which contains no parameter entity references, or a document
9643with "standalone='yes'", ... ... The declaration of a parameter
9644entity must precede any reference to it...</P
9645><P
9646>[ VC: Entity Declared ]
9647In a document with an external subset or external parameter entities
9648with "standalone='no'", ... ... The declaration of a parameter entity
9649must precede any reference to it...</P
9650><P
9651>[ WFC: In DTD ]
9652Parameter-entity references may only appear in the DTD.
9653NOTE: misleading but this is handled.</P
9654><P
9655>A PEReference may have been detected in the current input stream
9656the handling is done accordingly to
9657http://www.w3.org/TR/REC-xml<GTKDOCLINK
9658HREF="ENTPROC"
9659>entproc</GTKDOCLINK
9660>
9661i.e.
9662- Included in literal in entity values
9663- Included as Paraemeter Entity reference within DTDs</P
9664><P
9665></P
9666><DIV
9667CLASS="INFORMALTABLE"
9668><P
9669></P
9670><TABLE
9671BORDER="0"
9672WIDTH="100%"
9673BGCOLOR="#FFD0D0"
9674CELLSPACING="0"
9675CELLPADDING="4"
9676CLASS="CALSTABLE"
9677><TR
9678><TD
9679WIDTH="20%"
9680ALIGN="RIGHT"
9681VALIGN="TOP"
9682><TT
9683CLASS="PARAMETER"
9684><I
9685>ctxt</I
9686></TT
9687>&nbsp;:</TD
9688><TD
9689WIDTH="80%"
9690ALIGN="LEFT"
9691VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009692> the parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009693></TR
9694></TABLE
9695><P
9696></P
9697></DIV
9698></DIV
9699><HR><DIV
9700CLASS="REFSECT2"
9701><A
Daniel Veillard28929b22000-11-13 18:22:49 +00009702NAME="AEN17231"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009703></A
9704><H3
9705><A
9706NAME="XMLPARSERHANDLEREFERENCE"
9707></A
9708>xmlParserHandleReference ()</H3
9709><TABLE
9710BORDER="0"
9711BGCOLOR="#D6E8FF"
9712WIDTH="100%"
9713CELLPADDING="6"
9714><TR
9715><TD
9716><PRE
9717CLASS="PROGRAMLISTING"
9718>void xmlParserHandleReference (<A
9719HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9720>xmlParserCtxtPtr</A
9721> ctxt);</PRE
9722></TD
9723></TR
9724></TABLE
9725><P
9726>TODO: Remove, now deprecated ... the test is done directly in the
9727content parsing
9728routines.</P
9729><P
9730>[67] Reference ::= EntityRef | CharRef</P
9731><P
9732>[68] EntityRef ::= '&amp;' Name ';'</P
9733><P
9734>[ WFC: Entity Declared ]
9735the Name given in the entity reference must match that in an entity
9736declaration, except that well-formed documents need not declare any
9737of the following entities: amp, lt, gt, apos, quot. </P
9738><P
9739>[ WFC: Parsed Entity ]
9740An entity reference must not contain the name of an unparsed entity</P
9741><P
9742>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
9743'&amp;<GTKDOCLINK
9744HREF="X"
9745>x</GTKDOCLINK
9746>' [0-9a-fA-F]+ ';'</P
9747><P
9748>A PEReference may have been detectect in the current input stream
9749the handling is done accordingly to
9750http://www.w3.org/TR/REC-xml<GTKDOCLINK
9751HREF="ENTPROC"
9752>entproc</GTKDOCLINK
9753></P
9754><P
9755></P
9756><DIV
9757CLASS="INFORMALTABLE"
9758><P
9759></P
9760><TABLE
9761BORDER="0"
9762WIDTH="100%"
9763BGCOLOR="#FFD0D0"
9764CELLSPACING="0"
9765CELLPADDING="4"
9766CLASS="CALSTABLE"
9767><TR
9768><TD
9769WIDTH="20%"
9770ALIGN="RIGHT"
9771VALIGN="TOP"
9772><TT
9773CLASS="PARAMETER"
9774><I
9775>ctxt</I
9776></TT
9777>&nbsp;:</TD
9778><TD
9779WIDTH="80%"
9780ALIGN="LEFT"
9781VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +00009782> the parser context</TD
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009783></TR
9784></TABLE
9785><P
9786></P
9787></DIV
9788></DIV
9789><HR><DIV
9790CLASS="REFSECT2"
9791><A
Daniel Veillard28929b22000-11-13 18:22:49 +00009792NAME="AEN17255"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009793></A
9794><H3
9795><A
9796NAME="NAMEPOP"
9797></A
9798>namePop ()</H3
9799><TABLE
9800BORDER="0"
9801BGCOLOR="#D6E8FF"
9802WIDTH="100%"
9803CELLPADDING="6"
9804><TR
9805><TD
9806><PRE
9807CLASS="PROGRAMLISTING"
9808><A
9809HREF="gnome-xml-tree.html#XMLCHAR"
9810>xmlChar</A
9811>* namePop (<A
9812HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9813>xmlParserCtxtPtr</A
9814> ctxt);</PRE
9815></TD
9816></TR
9817></TABLE
9818><P
9819></P
9820><DIV
9821CLASS="INFORMALTABLE"
9822><P
9823></P
9824><TABLE
9825BORDER="0"
9826WIDTH="100%"
9827BGCOLOR="#FFD0D0"
9828CELLSPACING="0"
9829CELLPADDING="4"
9830CLASS="CALSTABLE"
9831><TR
9832><TD
9833WIDTH="20%"
9834ALIGN="RIGHT"
9835VALIGN="TOP"
9836><TT
9837CLASS="PARAMETER"
9838><I
9839>ctxt</I
9840></TT
9841>&nbsp;:</TD
9842><TD
9843WIDTH="80%"
9844ALIGN="LEFT"
9845VALIGN="TOP"
9846>&nbsp;</TD
9847></TR
9848><TR
9849><TD
9850WIDTH="20%"
9851ALIGN="RIGHT"
9852VALIGN="TOP"
9853><I
9854CLASS="EMPHASIS"
9855>Returns</I
9856> :</TD
9857><TD
9858WIDTH="80%"
9859ALIGN="LEFT"
9860VALIGN="TOP"
9861>&nbsp;</TD
9862></TR
9863></TABLE
9864><P
9865></P
9866></DIV
9867></DIV
9868><HR><DIV
9869CLASS="REFSECT2"
9870><A
Daniel Veillard28929b22000-11-13 18:22:49 +00009871NAME="AEN17275"
Daniel Veillard3bff2b02000-10-01 20:33:47 +00009872></A
9873><H3
9874><A
9875NAME="XMLCHECKLANGUAGEID"
9876></A
9877>xmlCheckLanguageID ()</H3
9878><TABLE
9879BORDER="0"
9880BGCOLOR="#D6E8FF"
9881WIDTH="100%"
9882CELLPADDING="6"
9883><TR
9884><TD
9885><PRE
9886CLASS="PROGRAMLISTING"
9887>int xmlCheckLanguageID (const <A
9888HREF="gnome-xml-tree.html#XMLCHAR"
9889>xmlChar</A
9890> *lang);</PRE
9891></TD
9892></TR
9893></TABLE
9894><P
9895></P
9896><DIV
9897CLASS="INFORMALTABLE"
9898><P
9899></P
9900><TABLE
9901BORDER="0"
9902WIDTH="100%"
9903BGCOLOR="#FFD0D0"
9904CELLSPACING="0"
9905CELLPADDING="4"
9906CLASS="CALSTABLE"
9907><TR
9908><TD
9909WIDTH="20%"
9910ALIGN="RIGHT"
9911VALIGN="TOP"
9912><TT
9913CLASS="PARAMETER"
9914><I
9915>lang</I
9916></TT
9917>&nbsp;:</TD
9918><TD
9919WIDTH="80%"
9920ALIGN="LEFT"
9921VALIGN="TOP"
9922>&nbsp;</TD
9923></TR
9924><TR
9925><TD
9926WIDTH="20%"
9927ALIGN="RIGHT"
9928VALIGN="TOP"
9929><I
9930CLASS="EMPHASIS"
9931>Returns</I
9932> :</TD
9933><TD
9934WIDTH="80%"
9935ALIGN="LEFT"
9936VALIGN="TOP"
9937>&nbsp;</TD
9938></TR
9939></TABLE
9940><P
9941></P
9942></DIV
9943></DIV
9944><HR><DIV
9945CLASS="REFSECT2"
9946><A
Daniel Veillard28929b22000-11-13 18:22:49 +00009947NAME="AEN17294"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00009948></A
9949><H3
9950><A
9951NAME="XMLCURRENTCHAR"
9952></A
9953>xmlCurrentChar ()</H3
9954><TABLE
9955BORDER="0"
9956BGCOLOR="#D6E8FF"
9957WIDTH="100%"
9958CELLPADDING="6"
9959><TR
9960><TD
9961><PRE
9962CLASS="PROGRAMLISTING"
9963>int xmlCurrentChar (<A
9964HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
9965>xmlParserCtxtPtr</A
9966> ctxt,
9967 int *len);</PRE
9968></TD
9969></TR
9970></TABLE
9971><P
9972>The current char value, if using UTF-8 this may actaully span multiple
9973bytes in the input buffer. Implement the end of line normalization:
99742.11 End-of-Line Handling
9975Wherever an external parsed entity or the literal entity value
9976of an internal parsed entity contains either the literal two-character
9977sequence "<GTKDOCLINK
9978HREF="XD"
9979>xD</GTKDOCLINK
9980><GTKDOCLINK
9981HREF="XA"
9982>xA</GTKDOCLINK
9983>" or a standalone literal <GTKDOCLINK
9984HREF="XD"
9985>xD</GTKDOCLINK
9986>, an XML processor
9987must pass to the application the single character <GTKDOCLINK
9988HREF="XA"
9989>xA</GTKDOCLINK
9990>.
9991This behavior can conveniently be produced by normalizing all
9992line breaks to <GTKDOCLINK
9993HREF="XA"
9994>xA</GTKDOCLINK
9995> on input, before parsing.)</P
9996><P
9997></P
9998><DIV
9999CLASS="INFORMALTABLE"
10000><P
10001></P
10002><TABLE
10003BORDER="0"
10004WIDTH="100%"
10005BGCOLOR="#FFD0D0"
10006CELLSPACING="0"
10007CELLPADDING="4"
10008CLASS="CALSTABLE"
10009><TR
10010><TD
10011WIDTH="20%"
10012ALIGN="RIGHT"
10013VALIGN="TOP"
10014><TT
10015CLASS="PARAMETER"
10016><I
10017>ctxt</I
10018></TT
10019>&nbsp;:</TD
10020><TD
10021WIDTH="80%"
10022ALIGN="LEFT"
10023VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010024> the XML parser context</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010025></TR
10026><TR
10027><TD
10028WIDTH="20%"
10029ALIGN="RIGHT"
10030VALIGN="TOP"
10031><TT
10032CLASS="PARAMETER"
10033><I
10034>len</I
10035></TT
10036>&nbsp;:</TD
10037><TD
10038WIDTH="80%"
10039ALIGN="LEFT"
10040VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010041> pointer to the length of the char read</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010042></TR
10043><TR
10044><TD
10045WIDTH="20%"
10046ALIGN="RIGHT"
10047VALIGN="TOP"
10048><I
10049CLASS="EMPHASIS"
10050>Returns</I
10051> :</TD
10052><TD
10053WIDTH="80%"
10054ALIGN="LEFT"
10055VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010056>the current char value and its lenght</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010057></TR
10058></TABLE
10059><P
10060></P
10061></DIV
10062></DIV
10063><HR><DIV
10064CLASS="REFSECT2"
10065><A
Daniel Veillard28929b22000-11-13 18:22:49 +000010066NAME="AEN17323"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010067></A
10068><H3
10069><A
10070NAME="XMLCOPYCHAR"
10071></A
10072>xmlCopyChar ()</H3
10073><TABLE
10074BORDER="0"
10075BGCOLOR="#D6E8FF"
10076WIDTH="100%"
10077CELLPADDING="6"
10078><TR
10079><TD
10080><PRE
10081CLASS="PROGRAMLISTING"
10082>int xmlCopyChar (int len,
10083 <A
10084HREF="gnome-xml-tree.html#XMLCHAR"
10085>xmlChar</A
10086> *out,
10087 int val);</PRE
10088></TD
10089></TR
10090></TABLE
10091><P
10092>append the char value in the array</P
10093><P
10094></P
10095><DIV
10096CLASS="INFORMALTABLE"
10097><P
10098></P
10099><TABLE
10100BORDER="0"
10101WIDTH="100%"
10102BGCOLOR="#FFD0D0"
10103CELLSPACING="0"
10104CELLPADDING="4"
10105CLASS="CALSTABLE"
10106><TR
10107><TD
10108WIDTH="20%"
10109ALIGN="RIGHT"
10110VALIGN="TOP"
10111><TT
10112CLASS="PARAMETER"
10113><I
10114>len</I
10115></TT
10116>&nbsp;:</TD
10117><TD
10118WIDTH="80%"
10119ALIGN="LEFT"
10120VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010121> pointer to the length of the char read (or zero)</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010122></TR
10123><TR
10124><TD
10125WIDTH="20%"
10126ALIGN="RIGHT"
10127VALIGN="TOP"
10128><TT
10129CLASS="PARAMETER"
10130><I
10131>out</I
10132></TT
10133>&nbsp;:</TD
10134><TD
10135WIDTH="80%"
10136ALIGN="LEFT"
10137VALIGN="TOP"
10138>&nbsp;</TD
10139></TR
10140><TR
10141><TD
10142WIDTH="20%"
10143ALIGN="RIGHT"
10144VALIGN="TOP"
10145><TT
10146CLASS="PARAMETER"
10147><I
10148>val</I
10149></TT
10150>&nbsp;:</TD
10151><TD
10152WIDTH="80%"
10153ALIGN="LEFT"
10154VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010155> the char value</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010156></TR
10157><TR
10158><TD
10159WIDTH="20%"
10160ALIGN="RIGHT"
10161VALIGN="TOP"
10162><I
10163CLASS="EMPHASIS"
10164>Returns</I
10165> :</TD
10166><TD
10167WIDTH="80%"
10168ALIGN="LEFT"
10169VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010170>the number of xmlChar written</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010171></TR
10172></TABLE
10173><P
10174></P
10175></DIV
10176></DIV
10177><HR><DIV
10178CLASS="REFSECT2"
10179><A
Daniel Veillard28929b22000-11-13 18:22:49 +000010180NAME="AEN17351"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010181></A
10182><H3
10183><A
10184NAME="XMLNEXTCHAR"
10185></A
10186>xmlNextChar ()</H3
10187><TABLE
10188BORDER="0"
10189BGCOLOR="#D6E8FF"
10190WIDTH="100%"
10191CELLPADDING="6"
10192><TR
10193><TD
10194><PRE
10195CLASS="PROGRAMLISTING"
10196>void xmlNextChar (<A
10197HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
10198>xmlParserCtxtPtr</A
10199> ctxt);</PRE
10200></TD
10201></TR
10202></TABLE
10203><P
10204>Skip to the next char input char.</P
10205><P
10206></P
10207><DIV
10208CLASS="INFORMALTABLE"
10209><P
10210></P
10211><TABLE
10212BORDER="0"
10213WIDTH="100%"
10214BGCOLOR="#FFD0D0"
10215CELLSPACING="0"
10216CELLPADDING="4"
10217CLASS="CALSTABLE"
10218><TR
10219><TD
10220WIDTH="20%"
10221ALIGN="RIGHT"
10222VALIGN="TOP"
10223><TT
10224CLASS="PARAMETER"
10225><I
10226>ctxt</I
10227></TT
10228>&nbsp;:</TD
10229><TD
10230WIDTH="80%"
10231ALIGN="LEFT"
10232VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010233> the XML parser context</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010234></TR
10235></TABLE
10236><P
10237></P
10238></DIV
10239></DIV
10240><HR><DIV
10241CLASS="REFSECT2"
10242><A
Daniel Veillard28929b22000-11-13 18:22:49 +000010243NAME="AEN17367"
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010244></A
10245><H3
10246><A
10247NAME="XMLPARSERINPUTSHRINK"
10248></A
10249>xmlParserInputShrink ()</H3
10250><TABLE
10251BORDER="0"
10252BGCOLOR="#D6E8FF"
10253WIDTH="100%"
10254CELLPADDING="6"
10255><TR
10256><TD
10257><PRE
10258CLASS="PROGRAMLISTING"
10259>void xmlParserInputShrink (<A
10260HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
10261>xmlParserInputPtr</A
10262> in);</PRE
10263></TD
10264></TR
10265></TABLE
10266><P
10267>This function removes used input for the parser.</P
10268><P
10269></P
10270><DIV
10271CLASS="INFORMALTABLE"
10272><P
10273></P
10274><TABLE
10275BORDER="0"
10276WIDTH="100%"
10277BGCOLOR="#FFD0D0"
10278CELLSPACING="0"
10279CELLPADDING="4"
10280CLASS="CALSTABLE"
10281><TR
10282><TD
10283WIDTH="20%"
10284ALIGN="RIGHT"
10285VALIGN="TOP"
10286><TT
10287CLASS="PARAMETER"
10288><I
10289>in</I
10290></TT
10291>&nbsp;:</TD
10292><TD
10293WIDTH="80%"
10294ALIGN="LEFT"
10295VALIGN="TOP"
Daniel Veillardb732a0e2000-10-15 11:27:01 +000010296> an XML parser input</TD
Daniel Veillarde46e20d2000-07-14 15:02:46 +000010297></TR
10298></TABLE
10299><P
10300></P
10301></DIV
10302></DIV
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010303><HR><DIV
10304CLASS="REFSECT2"
10305><A
Daniel Veillard28929b22000-11-13 18:22:49 +000010306NAME="AEN17383"
Daniel Veillard3bff2b02000-10-01 20:33:47 +000010307></A
10308><H3
10309><A
10310NAME="HTMLINITAUTOCLOSE"
10311></A
10312>htmlInitAutoClose ()</H3
10313><TABLE
10314BORDER="0"
10315BGCOLOR="#D6E8FF"
10316WIDTH="100%"
10317CELLPADDING="6"
10318><TR
10319><TD
10320><PRE
10321CLASS="PROGRAMLISTING"
10322>void htmlInitAutoClose (void);</PRE
10323></TD
10324></TR
10325></TABLE
10326><P
10327>Initialize the htmlStartCloseIndex for fast lookup of closing tags names.
10328This is not reentrant. Call <A
10329HREF="gnome-xml-parser.html#XMLINITPARSER"
10330>xmlInitParser</A
10331>() once before processing in
10332case of use in multithreaded programs.</P
10333><P
10334></P
10335></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +000010336></DIV
10337><DIV
10338CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +000010339><BR
10340CLEAR="all"><BR><TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +000010341WIDTH="100%"
10342BORDER="0"
10343BGCOLOR="#000000"
10344CELLPADDING="1"
10345CELLSPACING="0"
10346><TR
10347><TD
10348WIDTH="25%"
10349BGCOLOR="#C00000"
10350ALIGN="left"
10351><A
Daniel Veillard294cbca1999-12-03 13:19:09 +000010352HREF="gnome-xml-xmlio.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000010353><FONT
10354COLOR="#FFFFFF"
10355SIZE="3"
10356><B
10357>&#60;&#60;&#60; Previous Page</B
10358></FONT
10359></A
Daniel Veillard35925471999-02-25 08:46:07 +000010360></TD
10361><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010362WIDTH="25%"
10363BGCOLOR="#0000C0"
10364ALIGN="center"
10365><FONT
10366COLOR="#FFFFFF"
10367SIZE="3"
10368><B
10369><A
10370HREF="book1.html"
10371><FONT
10372COLOR="#FFFFFF"
10373SIZE="3"
10374><B
10375>Home</B
10376></FONT
10377></A
10378></B
10379></FONT
10380></TD
10381><TD
10382WIDTH="25%"
10383BGCOLOR="#00C000"
10384ALIGN="center"
10385><FONT
10386COLOR="#FFFFFF"
10387SIZE="3"
10388><B
10389><A
Daniel Veillard35008381999-10-25 13:15:52 +000010390HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000010391><FONT
10392COLOR="#FFFFFF"
10393SIZE="3"
10394><B
10395>Up</B
10396></FONT
10397></A
10398></B
10399></FONT
10400></TD
10401><TD
10402WIDTH="25%"
10403BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000010404ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010405><A
Daniel Veillard294cbca1999-12-03 13:19:09 +000010406HREF="gnome-xml-encoding.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010407><FONT
10408COLOR="#FFFFFF"
10409SIZE="3"
10410><B
10411>Next Page &#62;&#62;&#62;</B
10412></FONT
10413></A
10414></TD
Daniel Veillard14fff061999-06-22 21:49:07 +000010415></TR
10416><TR
10417><TD
10418COLSPAN="2"
10419ALIGN="left"
10420><FONT
10421COLOR="#FFFFFF"
10422SIZE="3"
10423><B
Daniel Veillard294cbca1999-12-03 13:19:09 +000010424>xmlIO</B
Daniel Veillard14fff061999-06-22 21:49:07 +000010425></FONT
10426></TD
10427><TD
10428COLSPAN="2"
10429ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010430><FONT
10431COLOR="#FFFFFF"
10432SIZE="3"
10433><B
Daniel Veillard294cbca1999-12-03 13:19:09 +000010434>encoding</B
Daniel Veillard1566d3a1999-07-15 14:24:29 +000010435></FONT
10436></TD
Daniel Veillard35925471999-02-25 08:46:07 +000010437></TR
10438></TABLE
10439></DIV
10440></BODY
10441></HTML
10442>