blob: 655e8a520a94791b504f838f45f49859d4860204 [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 Veillard7c29ce22000-08-12 21:20:53 +0000118NAME="AEN12137"
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 Veillard7c29ce22000-08-12 21:20:53 +0000126NAME="AEN12140"
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
146HREF="gnome-xml-parserinternals.html#IS-CHAR"
147>IS_CHAR</A
148> (c)
149#define <A
150HREF="gnome-xml-parserinternals.html#IS-BLANK"
151>IS_BLANK</A
152> (c)
153#define <A
154HREF="gnome-xml-parserinternals.html#IS-BASECHAR"
155>IS_BASECHAR</A
156> (c)
157#define <A
158HREF="gnome-xml-parserinternals.html#IS-DIGIT"
159>IS_DIGIT</A
160> (c)
161#define <A
162HREF="gnome-xml-parserinternals.html#IS-COMBINING"
163>IS_COMBINING</A
164> (c)
165#define <A
166HREF="gnome-xml-parserinternals.html#IS-EXTENDER"
167>IS_EXTENDER</A
168> (c)
169#define <A
170HREF="gnome-xml-parserinternals.html#IS-IDEOGRAPHIC"
171>IS_IDEOGRAPHIC</A
172> (c)
173#define <A
174HREF="gnome-xml-parserinternals.html#IS-LETTER"
175>IS_LETTER</A
176> (c)
177#define <A
178HREF="gnome-xml-parserinternals.html#IS-PUBIDCHAR"
179>IS_PUBIDCHAR</A
180> (c)
181#define <A
182HREF="gnome-xml-parserinternals.html#SKIP-EOL"
183>SKIP_EOL</A
184> (p)
185#define <A
186HREF="gnome-xml-parserinternals.html#MOVETO-ENDTAG"
187>MOVETO_ENDTAG</A
188> (p)
189#define <A
190HREF="gnome-xml-parserinternals.html#MOVETO-STARTTAG"
191>MOVETO_STARTTAG</A
192> (p)
Daniel Veillardd692aa41999-02-28 21:54:31 +0000193<A
194HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
195>xmlParserCtxtPtr</A
196> <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000197HREF="gnome-xml-parser.html#XMLCREATEDOCPARSERCTXT"
Daniel Veillardd692aa41999-02-28 21:54:31 +0000198>xmlCreateDocParserCtxt</A
199> (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000200HREF="gnome-xml-tree.html#XMLCHAR"
201>xmlChar</A
Daniel Veillardd692aa41999-02-28 21:54:31 +0000202> *cur);
203<A
204HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
205>xmlParserCtxtPtr</A
206> <A
207HREF="gnome-xml-parserinternals.html#XMLCREATEFILEPARSERCTXT"
208>xmlCreateFileParserCtxt</A
209> (const char *filename);
210<A
211HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
212>xmlParserCtxtPtr</A
213> <A
214HREF="gnome-xml-parserinternals.html#XMLCREATEMEMORYPARSERCTXT"
215>xmlCreateMemoryParserCtxt</A
216> (char *buffer,
217 int size);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000218<A
219HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
220>xmlParserCtxtPtr</A
221> <A
222HREF="gnome-xml-parserinternals.html#XMLNEWPARSERCTXT"
223>xmlNewParserCtxt</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000224> (void);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000225<A
226HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
227>xmlParserCtxtPtr</A
228> <A
229HREF="gnome-xml-parserinternals.html#XMLCREATEENTITYPARSERCTXT"
230>xmlCreateEntityParserCtxt</A
231> (const <A
232HREF="gnome-xml-tree.html#XMLCHAR"
233>xmlChar</A
234> *URL,
235 const <A
236HREF="gnome-xml-tree.html#XMLCHAR"
237>xmlChar</A
238> *ID,
239 const <A
240HREF="gnome-xml-tree.html#XMLCHAR"
241>xmlChar</A
242> *base);
243int <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000244HREF="gnome-xml-parserinternals.html#XMLSWITCHENCODING"
245>xmlSwitchEncoding</A
246> (<A
247HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
248>xmlParserCtxtPtr</A
249> ctxt,
Daniel Veillard294cbca1999-12-03 13:19:09 +0000250 <A
251HREF="gnome-xml-encoding.html#XMLCHARENCODING"
252>xmlCharEncoding</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000253> enc);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000254int <A
255HREF="gnome-xml-parserinternals.html#XMLSWITCHTOENCODING"
256>xmlSwitchToEncoding</A
257> (<A
258HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
259>xmlParserCtxtPtr</A
260> ctxt,
261 <A
262HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR"
263>xmlCharEncodingHandlerPtr</A
264> handler);
265void <A
266HREF="gnome-xml-parser.html#XMLFREEPARSERCTXT"
267>xmlFreeParserCtxt</A
268> (<A
269HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
270>xmlParserCtxtPtr</A
271> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000272void <A
273HREF="gnome-xml-parserinternals.html#XMLHANDLEENTITY"
274>xmlHandleEntity</A
275> (<A
276HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
277>xmlParserCtxtPtr</A
278> ctxt,
279 <A
280HREF="gnome-xml-entities.html#XMLENTITYPTR"
281>xmlEntityPtr</A
282> entity);
283<A
Daniel Veillardbc50b591999-03-01 12:28:53 +0000284HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
285>xmlParserInputPtr</A
286> <A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000287HREF="gnome-xml-parserinternals.html#XMLNEWENTITYINPUTSTREAM"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000288>xmlNewEntityInputStream</A
289> (<A
290HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
291>xmlParserCtxtPtr</A
292> ctxt,
293 <A
294HREF="gnome-xml-entities.html#XMLENTITYPTR"
295>xmlEntityPtr</A
296> entity);
297void <A
298HREF="gnome-xml-parserinternals.html#XMLPUSHINPUT"
299>xmlPushInput</A
300> (<A
301HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
302>xmlParserCtxtPtr</A
303> ctxt,
304 <A
305HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
306>xmlParserInputPtr</A
307> input);
308<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000309HREF="gnome-xml-tree.html#XMLCHAR"
310>xmlChar</A
311> <A
Daniel Veillardbc50b591999-03-01 12:28:53 +0000312HREF="gnome-xml-parserinternals.html#XMLPOPINPUT"
313>xmlPopInput</A
314> (<A
315HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
316>xmlParserCtxtPtr</A
317> ctxt);
318void <A
319HREF="gnome-xml-parserinternals.html#XMLFREEINPUTSTREAM"
320>xmlFreeInputStream</A
321> (<A
322HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
323>xmlParserInputPtr</A
324> input);
325<A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000326HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
327>xmlParserInputPtr</A
328> <A
329HREF="gnome-xml-parserinternals.html#XMLNEWINPUTFROMFILE"
330>xmlNewInputFromFile</A
331> (<A
332HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
333>xmlParserCtxtPtr</A
334> ctxt,
335 const char *filename);
336<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000337HREF="gnome-xml-tree.html#XMLCHAR"
338>xmlChar</A
339>* <A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000340HREF="gnome-xml-parserinternals.html#XMLSPLITQNAME"
341>xmlSplitQName</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000342> (<A
343HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
344>xmlParserCtxtPtr</A
345> ctxt,
346 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000347HREF="gnome-xml-tree.html#XMLCHAR"
348>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000349> *name,
350 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000351HREF="gnome-xml-tree.html#XMLCHAR"
352>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000353> **prefix);
354<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000355HREF="gnome-xml-tree.html#XMLCHAR"
356>xmlChar</A
357>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000358HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSENCNAME"
359>xmlNamespaceParseNCName</A
360> (<A
361HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
362>xmlParserCtxtPtr</A
363> ctxt);
364<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000365HREF="gnome-xml-tree.html#XMLCHAR"
366>xmlChar</A
367>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000368HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSEQNAME"
369>xmlNamespaceParseQName</A
370> (<A
371HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
372>xmlParserCtxtPtr</A
373> ctxt,
374 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000375HREF="gnome-xml-tree.html#XMLCHAR"
376>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000377> **prefix);
378<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000379HREF="gnome-xml-tree.html#XMLCHAR"
380>xmlChar</A
381>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000382HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSENSDEF"
383>xmlNamespaceParseNSDef</A
384> (<A
385HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
386>xmlParserCtxtPtr</A
387> ctxt);
388<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000389HREF="gnome-xml-tree.html#XMLCHAR"
390>xmlChar</A
391>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000392HREF="gnome-xml-parserinternals.html#XMLPARSEQUOTEDSTRING"
393>xmlParseQuotedString</A
394> (<A
395HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
396>xmlParserCtxtPtr</A
397> ctxt);
398void <A
399HREF="gnome-xml-parserinternals.html#XMLPARSENAMESPACE"
400>xmlParseNamespace</A
401> (<A
402HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
403>xmlParserCtxtPtr</A
404> ctxt);
405<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000406HREF="gnome-xml-tree.html#XMLCHAR"
407>xmlChar</A
408>* <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000409HREF="gnome-xml-parserinternals.html#XMLSCANNAME"
410>xmlScanName</A
411> (<A
412HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
413>xmlParserCtxtPtr</A
414> ctxt);
415<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000416HREF="gnome-xml-tree.html#XMLCHAR"
417>xmlChar</A
418>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000419HREF="gnome-xml-parserinternals.html#XMLPARSENAME"
420>xmlParseName</A
421> (<A
422HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
423>xmlParserCtxtPtr</A
424> ctxt);
425<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000426HREF="gnome-xml-tree.html#XMLCHAR"
427>xmlChar</A
428>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000429HREF="gnome-xml-parserinternals.html#XMLPARSENMTOKEN"
430>xmlParseNmtoken</A
431> (<A
432HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
433>xmlParserCtxtPtr</A
434> ctxt);
435<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000436HREF="gnome-xml-tree.html#XMLCHAR"
437>xmlChar</A
438>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000439HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYVALUE"
440>xmlParseEntityValue</A
441> (<A
442HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
443>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000444> ctxt,
445 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000446HREF="gnome-xml-tree.html#XMLCHAR"
447>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000448> **orig);
Daniel Veillard35925471999-02-25 08:46:07 +0000449<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000450HREF="gnome-xml-tree.html#XMLCHAR"
451>xmlChar</A
452>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000453HREF="gnome-xml-parserinternals.html#XMLPARSEATTVALUE"
454>xmlParseAttValue</A
455> (<A
456HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
457>xmlParserCtxtPtr</A
458> ctxt);
459<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000460HREF="gnome-xml-tree.html#XMLCHAR"
461>xmlChar</A
462>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000463HREF="gnome-xml-parserinternals.html#XMLPARSESYSTEMLITERAL"
464>xmlParseSystemLiteral</A
465> (<A
466HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
467>xmlParserCtxtPtr</A
468> ctxt);
469<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000470HREF="gnome-xml-tree.html#XMLCHAR"
471>xmlChar</A
472>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000473HREF="gnome-xml-parserinternals.html#XMLPARSEPUBIDLITERAL"
474>xmlParsePubidLiteral</A
475> (<A
476HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
477>xmlParserCtxtPtr</A
478> ctxt);
479void <A
480HREF="gnome-xml-parserinternals.html#XMLPARSECHARDATA"
481>xmlParseCharData</A
482> (<A
483HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
484>xmlParserCtxtPtr</A
485> ctxt,
486 int cdata);
487<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000488HREF="gnome-xml-tree.html#XMLCHAR"
489>xmlChar</A
490>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000491HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
492>xmlParseExternalID</A
493> (<A
494HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
495>xmlParserCtxtPtr</A
496> ctxt,
497 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000498HREF="gnome-xml-tree.html#XMLCHAR"
499>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000500> **publicID,
501 int strict);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000502void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000503HREF="gnome-xml-parserinternals.html#XMLPARSECOMMENT"
504>xmlParseComment</A
505> (<A
506HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
507>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000508> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000509<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#XMLPARSEPITARGET"
514>xmlParsePITarget</A
515> (<A
516HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
517>xmlParserCtxtPtr</A
518> ctxt);
519void <A
520HREF="gnome-xml-parserinternals.html#XMLPARSEPI"
521>xmlParsePI</A
522> (<A
523HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
524>xmlParserCtxtPtr</A
525> ctxt);
526void <A
527HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONDECL"
528>xmlParseNotationDecl</A
529> (<A
530HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
531>xmlParserCtxtPtr</A
532> ctxt);
533void <A
534HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYDECL"
535>xmlParseEntityDecl</A
536> (<A
537HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
538>xmlParserCtxtPtr</A
539> ctxt);
540int <A
541HREF="gnome-xml-parserinternals.html#XMLPARSEDEFAULTDECL"
542>xmlParseDefaultDecl</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> **value);
551<A
552HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
553>xmlEnumerationPtr</A
554> <A
555HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONTYPE"
556>xmlParseNotationType</A
557> (<A
558HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
559>xmlParserCtxtPtr</A
560> ctxt);
561<A
562HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
563>xmlEnumerationPtr</A
564> <A
565HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATIONTYPE"
566>xmlParseEnumerationType</A
567> (<A
568HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
569>xmlParserCtxtPtr</A
570> ctxt);
571int <A
572HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATEDTYPE"
573>xmlParseEnumeratedType</A
574> (<A
575HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
576>xmlParserCtxtPtr</A
577> ctxt,
578 <A
579HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
580>xmlEnumerationPtr</A
581> *tree);
582int <A
583HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTETYPE"
584>xmlParseAttributeType</A
585> (<A
586HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
587>xmlParserCtxtPtr</A
588> ctxt,
589 <A
590HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
591>xmlEnumerationPtr</A
592> *tree);
593void <A
594HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTELISTDECL"
595>xmlParseAttributeListDecl</A
596> (<A
597HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
598>xmlParserCtxtPtr</A
599> ctxt);
600<A
601HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
602>xmlElementContentPtr</A
603> <A
604HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTMIXEDCONTENTDECL"
605>xmlParseElementMixedContentDecl</A
606>
607 (<A
608HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
609>xmlParserCtxtPtr</A
610> ctxt);
611<A
612HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
613>xmlElementContentPtr</A
614> <A
615HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTDECL"
616>xmlParseElementChildrenContentDecl</A
617>
618 (<A
619HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
620>xmlParserCtxtPtr</A
621> ctxt);
622int <A
623HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCONTENTDECL"
624>xmlParseElementContentDecl</A
625> (<A
626HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
627>xmlParserCtxtPtr</A
628> ctxt,
629 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000630HREF="gnome-xml-tree.html#XMLCHAR"
631>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000632> *name,
633 <A
634HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
635>xmlElementContentPtr</A
636> *result);
637int <A
638HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTDECL"
639>xmlParseElementDecl</A
640> (<A
641HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
642>xmlParserCtxtPtr</A
643> ctxt);
644void <A
645HREF="gnome-xml-parserinternals.html#XMLPARSEMARKUPDECL"
646>xmlParseMarkupDecl</A
647> (<A
648HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
649>xmlParserCtxtPtr</A
650> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000651int <A
Daniel Veillard35925471999-02-25 08:46:07 +0000652HREF="gnome-xml-parserinternals.html#XMLPARSECHARREF"
653>xmlParseCharRef</A
654> (<A
655HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
656>xmlParserCtxtPtr</A
657> ctxt);
658<A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000659HREF="gnome-xml-entities.html#XMLENTITYPTR"
660>xmlEntityPtr</A
661> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000662HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYREF"
663>xmlParseEntityRef</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000664> (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000665HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
666>xmlParserCtxtPtr</A
667> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000668void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000669HREF="gnome-xml-parserinternals.html#XMLPARSEREFERENCE"
670>xmlParseReference</A
671> (<A
672HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
673>xmlParserCtxtPtr</A
674> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000675void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000676HREF="gnome-xml-parserinternals.html#XMLPARSEPEREFERENCE"
677>xmlParsePEReference</A
678> (<A
679HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
680>xmlParserCtxtPtr</A
681> ctxt);
682void <A
683HREF="gnome-xml-parserinternals.html#XMLPARSEDOCTYPEDECL"
684>xmlParseDocTypeDecl</A
685> (<A
686HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
687>xmlParserCtxtPtr</A
688> ctxt);
689<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000690HREF="gnome-xml-tree.html#XMLCHAR"
691>xmlChar</A
692>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000693HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTE"
694>xmlParseAttribute</A
695> (<A
696HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
697>xmlParserCtxtPtr</A
698> ctxt,
699 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000700HREF="gnome-xml-tree.html#XMLCHAR"
701>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000702> **value);
Daniel Veillard14fff061999-06-22 21:49:07 +0000703<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000704HREF="gnome-xml-tree.html#XMLCHAR"
705>xmlChar</A
706>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000707HREF="gnome-xml-parserinternals.html#XMLPARSESTARTTAG"
708>xmlParseStartTag</A
709> (<A
710HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
711>xmlParserCtxtPtr</A
712> ctxt);
713void <A
714HREF="gnome-xml-parserinternals.html#XMLPARSEENDTAG"
715>xmlParseEndTag</A
716> (<A
717HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
718>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +0000719> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000720void <A
721HREF="gnome-xml-parserinternals.html#XMLPARSECDSECT"
722>xmlParseCDSect</A
723> (<A
724HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
725>xmlParserCtxtPtr</A
726> ctxt);
727void <A
728HREF="gnome-xml-parserinternals.html#XMLPARSECONTENT"
729>xmlParseContent</A
730> (<A
731HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
732>xmlParserCtxtPtr</A
733> ctxt);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000734void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000735HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENT"
736>xmlParseElement</A
737> (<A
738HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
739>xmlParserCtxtPtr</A
740> ctxt);
741<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000742HREF="gnome-xml-tree.html#XMLCHAR"
743>xmlChar</A
744>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000745HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONNUM"
746>xmlParseVersionNum</A
747> (<A
748HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
749>xmlParserCtxtPtr</A
750> ctxt);
751<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000752HREF="gnome-xml-tree.html#XMLCHAR"
753>xmlChar</A
754>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000755HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONINFO"
756>xmlParseVersionInfo</A
757> (<A
758HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
759>xmlParserCtxtPtr</A
760> ctxt);
761<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000762HREF="gnome-xml-tree.html#XMLCHAR"
763>xmlChar</A
764>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000765HREF="gnome-xml-parserinternals.html#XMLPARSEENCNAME"
766>xmlParseEncName</A
767> (<A
768HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
769>xmlParserCtxtPtr</A
770> ctxt);
771<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000772HREF="gnome-xml-tree.html#XMLCHAR"
773>xmlChar</A
774>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000775HREF="gnome-xml-parserinternals.html#XMLPARSEENCODINGDECL"
776>xmlParseEncodingDecl</A
777> (<A
778HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
779>xmlParserCtxtPtr</A
780> ctxt);
781int <A
782HREF="gnome-xml-parserinternals.html#XMLPARSESDDECL"
783>xmlParseSDDecl</A
784> (<A
785HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
786>xmlParserCtxtPtr</A
787> ctxt);
788void <A
789HREF="gnome-xml-parserinternals.html#XMLPARSEXMLDECL"
790>xmlParseXMLDecl</A
791> (<A
792HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
793>xmlParserCtxtPtr</A
794> ctxt);
795void <A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000796HREF="gnome-xml-parserinternals.html#XMLPARSETEXTDECL"
797>xmlParseTextDecl</A
798> (<A
799HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
800>xmlParserCtxtPtr</A
801> ctxt);
802void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000803HREF="gnome-xml-parserinternals.html#XMLPARSEMISC"
804>xmlParseMisc</A
805> (<A
806HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
807>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000808> ctxt);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000809void <A
810HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALSUBSET"
811>xmlParseExternalSubset</A
812> (<A
813HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
814>xmlParserCtxtPtr</A
815> ctxt,
816 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000817HREF="gnome-xml-tree.html#XMLCHAR"
818>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000819> *ExternalID,
820 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000821HREF="gnome-xml-tree.html#XMLCHAR"
822>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000823> *SystemID);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000824#define <A
825HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-NONE"
826>XML_SUBSTITUTE_NONE</A
827>
828#define <A
829HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-REF"
830>XML_SUBSTITUTE_REF</A
831>
832#define <A
833HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-PEREF"
834>XML_SUBSTITUTE_PEREF</A
835>
836#define <A
837HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-BOTH"
838>XML_SUBSTITUTE_BOTH</A
839>
840<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000841HREF="gnome-xml-tree.html#XMLCHAR"
842>xmlChar</A
843>* <A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000844HREF="gnome-xml-parserinternals.html#XMLDECODEENTITIES"
845>xmlDecodeEntities</A
846> (<A
847HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
848>xmlParserCtxtPtr</A
849> ctxt,
850 int len,
851 int what,
852 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000853HREF="gnome-xml-tree.html#XMLCHAR"
854>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000855> end,
856 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000857HREF="gnome-xml-tree.html#XMLCHAR"
858>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000859> end2,
860 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000861HREF="gnome-xml-tree.html#XMLCHAR"
862>xmlChar</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000863> end3);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000864<A
865HREF="gnome-xml-tree.html#XMLCHAR"
866>xmlChar</A
867>* <A
868HREF="gnome-xml-parserinternals.html#XMLSTRINGDECODEENTITIES"
869>xmlStringDecodeEntities</A
870> (<A
871HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
872>xmlParserCtxtPtr</A
873> ctxt,
874 const <A
875HREF="gnome-xml-tree.html#XMLCHAR"
876>xmlChar</A
877> *str,
878 int what,
879 <A
880HREF="gnome-xml-tree.html#XMLCHAR"
881>xmlChar</A
882> end,
883 <A
884HREF="gnome-xml-tree.html#XMLCHAR"
885>xmlChar</A
886> end2,
887 <A
888HREF="gnome-xml-tree.html#XMLCHAR"
889>xmlChar</A
890> end3);
Daniel Veillard14fff061999-06-22 21:49:07 +0000891int <A
892HREF="gnome-xml-parserinternals.html#NODEPUSH"
893>nodePush</A
894> (<A
895HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
896>xmlParserCtxtPtr</A
897> ctxt,
898 <A
899HREF="gnome-xml-tree.html#XMLNODEPTR"
900>xmlNodePtr</A
901> value);
902<A
903HREF="gnome-xml-tree.html#XMLNODEPTR"
904>xmlNodePtr</A
905> <A
906HREF="gnome-xml-parserinternals.html#NODEPOP"
907>nodePop</A
908> (<A
909HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
910>xmlParserCtxtPtr</A
911> ctxt);
912int <A
913HREF="gnome-xml-parserinternals.html#INPUTPUSH"
914>inputPush</A
915> (<A
916HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
917>xmlParserCtxtPtr</A
918> ctxt,
919 <A
920HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
921>xmlParserInputPtr</A
922> value);
923<A
924HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
925>xmlParserInputPtr</A
926> <A
927HREF="gnome-xml-parserinternals.html#INPUTPOP"
928>inputPop</A
929> (<A
930HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
931>xmlParserCtxtPtr</A
Daniel Veillarde46e20d2000-07-14 15:02:46 +0000932> ctxt);
933int <A
934HREF="gnome-xml-parserinternals.html#XMLCURRENTCHAR"
935>xmlCurrentChar</A
936> (<A
937HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
938>xmlParserCtxtPtr</A
939> ctxt,
940 int *len);
941int <A
942HREF="gnome-xml-parserinternals.html#XMLCOPYCHAR"
943>xmlCopyChar</A
944> (int len,
945 <A
946HREF="gnome-xml-tree.html#XMLCHAR"
947>xmlChar</A
948> *out,
949 int val);
950void <A
951HREF="gnome-xml-parserinternals.html#XMLNEXTCHAR"
952>xmlNextChar</A
953> (<A
954HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
955>xmlParserCtxtPtr</A
956> ctxt);
957void <A
958HREF="gnome-xml-parserinternals.html#XMLPARSERINPUTSHRINK"
959>xmlParserInputShrink</A
960> (<A
961HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
962>xmlParserInputPtr</A
963> in);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000964></TD
965></TR
966></TABLE
967></DIV
968><DIV
969CLASS="REFSECT1"
970><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000971NAME="AEN12373"
Daniel Veillard35925471999-02-25 08:46:07 +0000972></A
973><H2
974>Description</H2
975><P
976></P
977></DIV
978><DIV
979CLASS="REFSECT1"
980><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000981NAME="AEN12376"
Daniel Veillard35925471999-02-25 08:46:07 +0000982></A
983><H2
984>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000985><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000986CLASS="REFSECT2"
987><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +0000988NAME="AEN12378"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000989></A
990><H3
991><A
992NAME="XML-MAX-NAMELEN"
993></A
994>XML_MAX_NAMELEN</H3
995><TABLE
996BORDER="0"
997BGCOLOR="#D6E8FF"
998WIDTH="100%"
999CELLPADDING="6"
1000><TR
1001><TD
1002><PRE
1003CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001004>#define XML_MAX_NAMELEN 1000</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00001005></TD
1006></TR
1007></TABLE
1008><P
1009></P
1010></DIV
1011><HR><DIV
1012CLASS="REFSECT2"
1013><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001014NAME="AEN12383"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001015></A
1016><H3
1017><A
1018NAME="IS-CHAR"
1019></A
1020>IS_CHAR()</H3
1021><TABLE
1022BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001023BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001024WIDTH="100%"
1025CELLPADDING="6"
1026><TR
1027><TD
1028><PRE
1029CLASS="PROGRAMLISTING"
1030>#define IS_CHAR(c)</PRE
1031></TD
1032></TR
1033></TABLE
1034><P
1035></P
1036><DIV
1037CLASS="INFORMALTABLE"
1038><P
1039></P
1040><TABLE
1041BORDER="0"
1042WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001043BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001044CELLSPACING="0"
1045CELLPADDING="4"
1046CLASS="CALSTABLE"
1047><TR
1048><TD
1049WIDTH="20%"
1050ALIGN="RIGHT"
1051VALIGN="TOP"
1052><TT
1053CLASS="PARAMETER"
1054><I
1055>c</I
1056></TT
1057>&nbsp;:</TD
1058><TD
1059WIDTH="80%"
1060ALIGN="LEFT"
1061VALIGN="TOP"
1062>&nbsp;</TD
1063></TR
1064></TABLE
1065><P
1066></P
1067></DIV
1068></DIV
1069><HR><DIV
1070CLASS="REFSECT2"
1071><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001072NAME="AEN12397"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001073></A
1074><H3
1075><A
1076NAME="IS-BLANK"
1077></A
1078>IS_BLANK()</H3
1079><TABLE
1080BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001081BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001082WIDTH="100%"
1083CELLPADDING="6"
1084><TR
1085><TD
1086><PRE
1087CLASS="PROGRAMLISTING"
1088>#define IS_BLANK(c)</PRE
1089></TD
1090></TR
1091></TABLE
1092><P
1093></P
1094><DIV
1095CLASS="INFORMALTABLE"
1096><P
1097></P
1098><TABLE
1099BORDER="0"
1100WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001101BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001102CELLSPACING="0"
1103CELLPADDING="4"
1104CLASS="CALSTABLE"
1105><TR
1106><TD
1107WIDTH="20%"
1108ALIGN="RIGHT"
1109VALIGN="TOP"
1110><TT
1111CLASS="PARAMETER"
1112><I
1113>c</I
1114></TT
1115>&nbsp;:</TD
1116><TD
1117WIDTH="80%"
1118ALIGN="LEFT"
1119VALIGN="TOP"
1120>&nbsp;</TD
1121></TR
1122></TABLE
1123><P
1124></P
1125></DIV
1126></DIV
1127><HR><DIV
1128CLASS="REFSECT2"
1129><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001130NAME="AEN12411"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001131></A
1132><H3
1133><A
1134NAME="IS-BASECHAR"
1135></A
1136>IS_BASECHAR()</H3
1137><TABLE
1138BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001139BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001140WIDTH="100%"
1141CELLPADDING="6"
1142><TR
1143><TD
1144><PRE
1145CLASS="PROGRAMLISTING"
1146>#define IS_BASECHAR(c)</PRE
1147></TD
1148></TR
1149></TABLE
1150><P
1151></P
1152><DIV
1153CLASS="INFORMALTABLE"
1154><P
1155></P
1156><TABLE
1157BORDER="0"
1158WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001159BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001160CELLSPACING="0"
1161CELLPADDING="4"
1162CLASS="CALSTABLE"
1163><TR
1164><TD
1165WIDTH="20%"
1166ALIGN="RIGHT"
1167VALIGN="TOP"
1168><TT
1169CLASS="PARAMETER"
1170><I
1171>c</I
1172></TT
1173>&nbsp;:</TD
1174><TD
1175WIDTH="80%"
1176ALIGN="LEFT"
1177VALIGN="TOP"
1178>&nbsp;</TD
1179></TR
1180></TABLE
1181><P
1182></P
1183></DIV
1184></DIV
1185><HR><DIV
1186CLASS="REFSECT2"
1187><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001188NAME="AEN12425"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001189></A
1190><H3
1191><A
1192NAME="IS-DIGIT"
1193></A
1194>IS_DIGIT()</H3
1195><TABLE
1196BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001197BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001198WIDTH="100%"
1199CELLPADDING="6"
1200><TR
1201><TD
1202><PRE
1203CLASS="PROGRAMLISTING"
1204>#define IS_DIGIT(c)</PRE
1205></TD
1206></TR
1207></TABLE
1208><P
1209></P
1210><DIV
1211CLASS="INFORMALTABLE"
1212><P
1213></P
1214><TABLE
1215BORDER="0"
1216WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001217BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001218CELLSPACING="0"
1219CELLPADDING="4"
1220CLASS="CALSTABLE"
1221><TR
1222><TD
1223WIDTH="20%"
1224ALIGN="RIGHT"
1225VALIGN="TOP"
1226><TT
1227CLASS="PARAMETER"
1228><I
1229>c</I
1230></TT
1231>&nbsp;:</TD
1232><TD
1233WIDTH="80%"
1234ALIGN="LEFT"
1235VALIGN="TOP"
1236>&nbsp;</TD
1237></TR
1238></TABLE
1239><P
1240></P
1241></DIV
1242></DIV
1243><HR><DIV
1244CLASS="REFSECT2"
1245><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001246NAME="AEN12439"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001247></A
1248><H3
1249><A
1250NAME="IS-COMBINING"
1251></A
1252>IS_COMBINING()</H3
1253><TABLE
1254BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001255BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001256WIDTH="100%"
1257CELLPADDING="6"
1258><TR
1259><TD
1260><PRE
1261CLASS="PROGRAMLISTING"
1262>#define IS_COMBINING(c)</PRE
1263></TD
1264></TR
1265></TABLE
1266><P
1267></P
1268><DIV
1269CLASS="INFORMALTABLE"
1270><P
1271></P
1272><TABLE
1273BORDER="0"
1274WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001275BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001276CELLSPACING="0"
1277CELLPADDING="4"
1278CLASS="CALSTABLE"
1279><TR
1280><TD
1281WIDTH="20%"
1282ALIGN="RIGHT"
1283VALIGN="TOP"
1284><TT
1285CLASS="PARAMETER"
1286><I
1287>c</I
1288></TT
1289>&nbsp;:</TD
1290><TD
1291WIDTH="80%"
1292ALIGN="LEFT"
1293VALIGN="TOP"
1294>&nbsp;</TD
1295></TR
1296></TABLE
1297><P
1298></P
1299></DIV
1300></DIV
1301><HR><DIV
1302CLASS="REFSECT2"
1303><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001304NAME="AEN12453"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001305></A
1306><H3
1307><A
1308NAME="IS-EXTENDER"
1309></A
1310>IS_EXTENDER()</H3
1311><TABLE
1312BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001313BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001314WIDTH="100%"
1315CELLPADDING="6"
1316><TR
1317><TD
1318><PRE
1319CLASS="PROGRAMLISTING"
1320>#define IS_EXTENDER(c)</PRE
1321></TD
1322></TR
1323></TABLE
1324><P
1325></P
1326><DIV
1327CLASS="INFORMALTABLE"
1328><P
1329></P
1330><TABLE
1331BORDER="0"
1332WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001333BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001334CELLSPACING="0"
1335CELLPADDING="4"
1336CLASS="CALSTABLE"
1337><TR
1338><TD
1339WIDTH="20%"
1340ALIGN="RIGHT"
1341VALIGN="TOP"
1342><TT
1343CLASS="PARAMETER"
1344><I
1345>c</I
1346></TT
1347>&nbsp;:</TD
1348><TD
1349WIDTH="80%"
1350ALIGN="LEFT"
1351VALIGN="TOP"
1352>&nbsp;</TD
1353></TR
1354></TABLE
1355><P
1356></P
1357></DIV
1358></DIV
1359><HR><DIV
1360CLASS="REFSECT2"
1361><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001362NAME="AEN12467"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001363></A
1364><H3
1365><A
1366NAME="IS-IDEOGRAPHIC"
1367></A
1368>IS_IDEOGRAPHIC()</H3
1369><TABLE
1370BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001371BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001372WIDTH="100%"
1373CELLPADDING="6"
1374><TR
1375><TD
1376><PRE
1377CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001378>#define IS_IDEOGRAPHIC(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001379></TD
1380></TR
1381></TABLE
1382><P
1383></P
1384><DIV
1385CLASS="INFORMALTABLE"
1386><P
1387></P
1388><TABLE
1389BORDER="0"
1390WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001391BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001392CELLSPACING="0"
1393CELLPADDING="4"
1394CLASS="CALSTABLE"
1395><TR
1396><TD
1397WIDTH="20%"
1398ALIGN="RIGHT"
1399VALIGN="TOP"
1400><TT
1401CLASS="PARAMETER"
1402><I
1403>c</I
1404></TT
1405>&nbsp;:</TD
1406><TD
1407WIDTH="80%"
1408ALIGN="LEFT"
1409VALIGN="TOP"
1410>&nbsp;</TD
1411></TR
1412></TABLE
1413><P
1414></P
1415></DIV
1416></DIV
1417><HR><DIV
1418CLASS="REFSECT2"
1419><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001420NAME="AEN12481"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001421></A
1422><H3
1423><A
1424NAME="IS-LETTER"
1425></A
1426>IS_LETTER()</H3
1427><TABLE
1428BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001429BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001430WIDTH="100%"
1431CELLPADDING="6"
1432><TR
1433><TD
1434><PRE
1435CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001436>#define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c))</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001437></TD
1438></TR
1439></TABLE
1440><P
1441></P
1442><DIV
1443CLASS="INFORMALTABLE"
1444><P
1445></P
1446><TABLE
1447BORDER="0"
1448WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001449BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001450CELLSPACING="0"
1451CELLPADDING="4"
1452CLASS="CALSTABLE"
1453><TR
1454><TD
1455WIDTH="20%"
1456ALIGN="RIGHT"
1457VALIGN="TOP"
1458><TT
1459CLASS="PARAMETER"
1460><I
1461>c</I
1462></TT
1463>&nbsp;:</TD
1464><TD
1465WIDTH="80%"
1466ALIGN="LEFT"
1467VALIGN="TOP"
1468>&nbsp;</TD
1469></TR
1470></TABLE
1471><P
1472></P
1473></DIV
1474></DIV
1475><HR><DIV
1476CLASS="REFSECT2"
1477><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001478NAME="AEN12495"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001479></A
1480><H3
1481><A
1482NAME="IS-PUBIDCHAR"
1483></A
1484>IS_PUBIDCHAR()</H3
1485><TABLE
1486BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001487BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001488WIDTH="100%"
1489CELLPADDING="6"
1490><TR
1491><TD
1492><PRE
1493CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001494>#define IS_PUBIDCHAR(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001495></TD
1496></TR
1497></TABLE
1498><P
1499></P
1500><DIV
1501CLASS="INFORMALTABLE"
1502><P
1503></P
1504><TABLE
1505BORDER="0"
1506WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001507BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001508CELLSPACING="0"
1509CELLPADDING="4"
1510CLASS="CALSTABLE"
1511><TR
1512><TD
1513WIDTH="20%"
1514ALIGN="RIGHT"
1515VALIGN="TOP"
1516><TT
1517CLASS="PARAMETER"
1518><I
1519>c</I
1520></TT
1521>&nbsp;:</TD
1522><TD
1523WIDTH="80%"
1524ALIGN="LEFT"
1525VALIGN="TOP"
1526>&nbsp;</TD
1527></TR
1528></TABLE
1529><P
1530></P
1531></DIV
1532></DIV
1533><HR><DIV
1534CLASS="REFSECT2"
1535><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001536NAME="AEN12509"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001537></A
1538><H3
1539><A
1540NAME="SKIP-EOL"
1541></A
1542>SKIP_EOL()</H3
1543><TABLE
1544BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001545BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001546WIDTH="100%"
1547CELLPADDING="6"
1548><TR
1549><TD
1550><PRE
1551CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001552>#define SKIP_EOL(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001553></TD
1554></TR
1555></TABLE
1556><P
1557></P
1558><DIV
1559CLASS="INFORMALTABLE"
1560><P
1561></P
1562><TABLE
1563BORDER="0"
1564WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001565BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001566CELLSPACING="0"
1567CELLPADDING="4"
1568CLASS="CALSTABLE"
1569><TR
1570><TD
1571WIDTH="20%"
1572ALIGN="RIGHT"
1573VALIGN="TOP"
1574><TT
1575CLASS="PARAMETER"
1576><I
1577>p</I
1578></TT
1579>&nbsp;:</TD
1580><TD
1581WIDTH="80%"
1582ALIGN="LEFT"
1583VALIGN="TOP"
1584>&nbsp;</TD
1585></TR
1586></TABLE
1587><P
1588></P
1589></DIV
1590></DIV
1591><HR><DIV
1592CLASS="REFSECT2"
1593><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001594NAME="AEN12523"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001595></A
1596><H3
1597><A
1598NAME="MOVETO-ENDTAG"
1599></A
1600>MOVETO_ENDTAG()</H3
1601><TABLE
1602BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001603BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001604WIDTH="100%"
1605CELLPADDING="6"
1606><TR
1607><TD
1608><PRE
1609CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001610>#define MOVETO_ENDTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001611></TD
1612></TR
1613></TABLE
1614><P
1615></P
1616><DIV
1617CLASS="INFORMALTABLE"
1618><P
1619></P
1620><TABLE
1621BORDER="0"
1622WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001623BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001624CELLSPACING="0"
1625CELLPADDING="4"
1626CLASS="CALSTABLE"
1627><TR
1628><TD
1629WIDTH="20%"
1630ALIGN="RIGHT"
1631VALIGN="TOP"
1632><TT
1633CLASS="PARAMETER"
1634><I
1635>p</I
1636></TT
1637>&nbsp;:</TD
1638><TD
1639WIDTH="80%"
1640ALIGN="LEFT"
1641VALIGN="TOP"
1642>&nbsp;</TD
1643></TR
1644></TABLE
1645><P
1646></P
1647></DIV
1648></DIV
1649><HR><DIV
1650CLASS="REFSECT2"
1651><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001652NAME="AEN12537"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001653></A
1654><H3
1655><A
1656NAME="MOVETO-STARTTAG"
1657></A
1658>MOVETO_STARTTAG()</H3
1659><TABLE
1660BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001661BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001662WIDTH="100%"
1663CELLPADDING="6"
1664><TR
1665><TD
1666><PRE
1667CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001668>#define MOVETO_STARTTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001669></TD
1670></TR
1671></TABLE
1672><P
1673></P
1674><DIV
1675CLASS="INFORMALTABLE"
1676><P
1677></P
1678><TABLE
1679BORDER="0"
1680WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001681BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001682CELLSPACING="0"
1683CELLPADDING="4"
1684CLASS="CALSTABLE"
1685><TR
1686><TD
1687WIDTH="20%"
1688ALIGN="RIGHT"
1689VALIGN="TOP"
1690><TT
1691CLASS="PARAMETER"
1692><I
1693>p</I
1694></TT
1695>&nbsp;:</TD
1696><TD
1697WIDTH="80%"
1698ALIGN="LEFT"
1699VALIGN="TOP"
1700>&nbsp;</TD
1701></TR
1702></TABLE
1703><P
1704></P
1705></DIV
1706></DIV
1707><HR><DIV
1708CLASS="REFSECT2"
1709><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001710NAME="AEN12551"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001711></A
1712><H3
1713><A
1714NAME="XMLCREATEDOCPARSERCTXT"
1715></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001716>xmlCreateDocParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001717><TABLE
1718BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001719BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001720WIDTH="100%"
1721CELLPADDING="6"
1722><TR
1723><TD
1724><PRE
1725CLASS="PROGRAMLISTING"
1726><A
1727HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1728>xmlParserCtxtPtr</A
1729> xmlCreateDocParserCtxt (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001730HREF="gnome-xml-tree.html#XMLCHAR"
1731>xmlChar</A
Daniel Veillardd692aa41999-02-28 21:54:31 +00001732> *cur);</PRE
1733></TD
1734></TR
1735></TABLE
1736><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001737>Creates a parser context for an XML in-memory document.</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001738><P
Daniel Veillardd692aa41999-02-28 21:54:31 +00001739></P
1740><DIV
1741CLASS="INFORMALTABLE"
1742><P
1743></P
1744><TABLE
1745BORDER="0"
1746WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001747BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001748CELLSPACING="0"
1749CELLPADDING="4"
1750CLASS="CALSTABLE"
1751><TR
1752><TD
1753WIDTH="20%"
1754ALIGN="RIGHT"
1755VALIGN="TOP"
1756><TT
1757CLASS="PARAMETER"
1758><I
1759>cur</I
1760></TT
1761>&nbsp;:</TD
1762><TD
1763WIDTH="80%"
1764ALIGN="LEFT"
1765VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001766>&nbsp;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001767></TR
1768><TR
1769><TD
1770WIDTH="20%"
1771ALIGN="RIGHT"
1772VALIGN="TOP"
1773><I
1774CLASS="EMPHASIS"
1775>Returns</I
1776> :</TD
1777><TD
1778WIDTH="80%"
1779ALIGN="LEFT"
1780VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001781>&nbsp;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001782></TR
1783></TABLE
1784><P
1785></P
1786></DIV
1787></DIV
1788><HR><DIV
1789CLASS="REFSECT2"
1790><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001791NAME="AEN12572"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001792></A
1793><H3
1794><A
1795NAME="XMLCREATEFILEPARSERCTXT"
1796></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001797>xmlCreateFileParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001798><TABLE
1799BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001800BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001801WIDTH="100%"
1802CELLPADDING="6"
1803><TR
1804><TD
1805><PRE
1806CLASS="PROGRAMLISTING"
1807><A
1808HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1809>xmlParserCtxtPtr</A
1810> xmlCreateFileParserCtxt (const char *filename);</PRE
1811></TD
1812></TR
1813></TABLE
1814><P
1815>Create a parser context for a file content.
1816Automatic support for ZLIB/Compress compressed document is provided
1817by default if found at compile-time.</P
1818><P
1819></P
1820><DIV
1821CLASS="INFORMALTABLE"
1822><P
1823></P
1824><TABLE
1825BORDER="0"
1826WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001827BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001828CELLSPACING="0"
1829CELLPADDING="4"
1830CLASS="CALSTABLE"
1831><TR
1832><TD
1833WIDTH="20%"
1834ALIGN="RIGHT"
1835VALIGN="TOP"
1836><TT
1837CLASS="PARAMETER"
1838><I
1839>filename</I
1840></TT
1841>&nbsp;:</TD
1842><TD
1843WIDTH="80%"
1844ALIGN="LEFT"
1845VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001846> the filename</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001847></TR
1848><TR
1849><TD
1850WIDTH="20%"
1851ALIGN="RIGHT"
1852VALIGN="TOP"
1853><I
1854CLASS="EMPHASIS"
1855>Returns</I
1856> :</TD
1857><TD
1858WIDTH="80%"
1859ALIGN="LEFT"
1860VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001861>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001862></TR
1863></TABLE
1864><P
1865></P
1866></DIV
1867></DIV
1868><HR><DIV
1869CLASS="REFSECT2"
1870><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001871NAME="AEN12592"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001872></A
1873><H3
1874><A
1875NAME="XMLCREATEMEMORYPARSERCTXT"
1876></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001877>xmlCreateMemoryParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001878><TABLE
1879BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001880BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001881WIDTH="100%"
1882CELLPADDING="6"
1883><TR
1884><TD
1885><PRE
1886CLASS="PROGRAMLISTING"
1887><A
1888HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1889>xmlParserCtxtPtr</A
1890> xmlCreateMemoryParserCtxt (char *buffer,
1891 int size);</PRE
1892></TD
1893></TR
1894></TABLE
1895><P
1896>Create a parser context for an XML in-memory document.</P
1897><P
1898></P
1899><DIV
1900CLASS="INFORMALTABLE"
1901><P
1902></P
1903><TABLE
1904BORDER="0"
1905WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001906BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001907CELLSPACING="0"
1908CELLPADDING="4"
1909CLASS="CALSTABLE"
1910><TR
1911><TD
1912WIDTH="20%"
1913ALIGN="RIGHT"
1914VALIGN="TOP"
1915><TT
1916CLASS="PARAMETER"
1917><I
1918>buffer</I
1919></TT
1920>&nbsp;:</TD
1921><TD
1922WIDTH="80%"
1923ALIGN="LEFT"
1924VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001925> a pointer to a zero terminated char array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001926></TR
1927><TR
1928><TD
1929WIDTH="20%"
1930ALIGN="RIGHT"
1931VALIGN="TOP"
1932><TT
1933CLASS="PARAMETER"
1934><I
1935>size</I
1936></TT
1937>&nbsp;:</TD
1938><TD
1939WIDTH="80%"
1940ALIGN="LEFT"
1941VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001942> the size of the array (without the trailing 0)</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001943></TR
1944><TR
1945><TD
1946WIDTH="20%"
1947ALIGN="RIGHT"
1948VALIGN="TOP"
1949><I
1950CLASS="EMPHASIS"
1951>Returns</I
1952> :</TD
1953><TD
1954WIDTH="80%"
1955ALIGN="LEFT"
1956VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001957>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001958></TR
1959></TABLE
1960><P
1961></P
1962></DIV
1963></DIV
1964><HR><DIV
1965CLASS="REFSECT2"
1966><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00001967NAME="AEN12616"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001968></A
1969><H3
1970><A
1971NAME="XMLNEWPARSERCTXT"
1972></A
1973>xmlNewParserCtxt ()</H3
1974><TABLE
1975BORDER="0"
1976BGCOLOR="#D6E8FF"
1977WIDTH="100%"
1978CELLPADDING="6"
1979><TR
1980><TD
1981><PRE
1982CLASS="PROGRAMLISTING"
1983><A
1984HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1985>xmlParserCtxtPtr</A
1986> xmlNewParserCtxt (void);</PRE
1987></TD
1988></TR
1989></TABLE
1990><P
1991>Allocate and initialize a new parser context.</P
1992><P
1993></P
1994><DIV
1995CLASS="INFORMALTABLE"
1996><P
1997></P
1998><TABLE
1999BORDER="0"
2000WIDTH="100%"
2001BGCOLOR="#FFD0D0"
2002CELLSPACING="0"
2003CELLPADDING="4"
2004CLASS="CALSTABLE"
2005><TR
2006><TD
2007WIDTH="20%"
2008ALIGN="RIGHT"
2009VALIGN="TOP"
2010><I
2011CLASS="EMPHASIS"
2012>Returns</I
2013> :</TD
2014><TD
2015WIDTH="80%"
2016ALIGN="LEFT"
2017VALIGN="TOP"
2018>the xmlParserCtxtPtr or NULL</TD
2019></TR
2020></TABLE
2021><P
2022></P
2023></DIV
2024></DIV
2025><HR><DIV
2026CLASS="REFSECT2"
2027><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00002028NAME="AEN12632"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002029></A
2030><H3
2031><A
2032NAME="XMLCREATEENTITYPARSERCTXT"
2033></A
2034>xmlCreateEntityParserCtxt ()</H3
2035><TABLE
2036BORDER="0"
2037BGCOLOR="#D6E8FF"
2038WIDTH="100%"
2039CELLPADDING="6"
2040><TR
2041><TD
2042><PRE
2043CLASS="PROGRAMLISTING"
2044><A
2045HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2046>xmlParserCtxtPtr</A
2047> xmlCreateEntityParserCtxt (const <A
2048HREF="gnome-xml-tree.html#XMLCHAR"
2049>xmlChar</A
2050> *URL,
2051 const <A
2052HREF="gnome-xml-tree.html#XMLCHAR"
2053>xmlChar</A
2054> *ID,
2055 const <A
2056HREF="gnome-xml-tree.html#XMLCHAR"
2057>xmlChar</A
2058> *base);</PRE
2059></TD
2060></TR
2061></TABLE
2062><P
2063>Create a parser context for an external entity
2064Automatic support for ZLIB/Compress compressed document is provided
2065by default if found at compile-time.</P
2066><P
2067></P
2068><DIV
2069CLASS="INFORMALTABLE"
2070><P
2071></P
2072><TABLE
2073BORDER="0"
2074WIDTH="100%"
2075BGCOLOR="#FFD0D0"
2076CELLSPACING="0"
2077CELLPADDING="4"
2078CLASS="CALSTABLE"
2079><TR
2080><TD
2081WIDTH="20%"
2082ALIGN="RIGHT"
2083VALIGN="TOP"
2084><TT
2085CLASS="PARAMETER"
2086><I
2087>URL</I
2088></TT
2089>&nbsp;:</TD
2090><TD
2091WIDTH="80%"
2092ALIGN="LEFT"
2093VALIGN="TOP"
2094> the entity URL</TD
2095></TR
2096><TR
2097><TD
2098WIDTH="20%"
2099ALIGN="RIGHT"
2100VALIGN="TOP"
2101><TT
2102CLASS="PARAMETER"
2103><I
2104>ID</I
2105></TT
2106>&nbsp;:</TD
2107><TD
2108WIDTH="80%"
2109ALIGN="LEFT"
2110VALIGN="TOP"
2111> the entity PUBLIC ID</TD
2112></TR
2113><TR
2114><TD
2115WIDTH="20%"
2116ALIGN="RIGHT"
2117VALIGN="TOP"
2118><TT
2119CLASS="PARAMETER"
2120><I
2121>base</I
2122></TT
2123>&nbsp;:</TD
2124><TD
2125WIDTH="80%"
2126ALIGN="LEFT"
2127VALIGN="TOP"
2128> a posible base for the target URI</TD
2129></TR
2130><TR
2131><TD
2132WIDTH="20%"
2133ALIGN="RIGHT"
2134VALIGN="TOP"
2135><I
2136CLASS="EMPHASIS"
2137>Returns</I
2138> :</TD
2139><TD
2140WIDTH="80%"
2141ALIGN="LEFT"
2142VALIGN="TOP"
2143>the new parser context or NULL</TD
2144></TR
2145></TABLE
2146><P
2147></P
2148></DIV
2149></DIV
2150><HR><DIV
2151CLASS="REFSECT2"
2152><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00002153NAME="AEN12663"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002154></A
2155><H3
2156><A
2157NAME="XMLSWITCHENCODING"
2158></A
2159>xmlSwitchEncoding ()</H3
2160><TABLE
2161BORDER="0"
2162BGCOLOR="#D6E8FF"
2163WIDTH="100%"
2164CELLPADDING="6"
2165><TR
2166><TD
2167><PRE
2168CLASS="PROGRAMLISTING"
2169>int xmlSwitchEncoding (<A
2170HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2171>xmlParserCtxtPtr</A
2172> ctxt,
2173 <A
2174HREF="gnome-xml-encoding.html#XMLCHARENCODING"
2175>xmlCharEncoding</A
2176> enc);</PRE
2177></TD
2178></TR
2179></TABLE
2180><P
2181>change the input functions when discovering the character encoding
2182of a given entity.</P
2183><P
2184></P
2185><DIV
2186CLASS="INFORMALTABLE"
2187><P
2188></P
2189><TABLE
2190BORDER="0"
2191WIDTH="100%"
2192BGCOLOR="#FFD0D0"
2193CELLSPACING="0"
2194CELLPADDING="4"
2195CLASS="CALSTABLE"
2196><TR
2197><TD
2198WIDTH="20%"
2199ALIGN="RIGHT"
2200VALIGN="TOP"
2201><TT
2202CLASS="PARAMETER"
2203><I
2204>ctxt</I
2205></TT
2206>&nbsp;:</TD
2207><TD
2208WIDTH="80%"
2209ALIGN="LEFT"
2210VALIGN="TOP"
2211> the parser context</TD
2212></TR
2213><TR
2214><TD
2215WIDTH="20%"
2216ALIGN="RIGHT"
2217VALIGN="TOP"
2218><TT
2219CLASS="PARAMETER"
2220><I
2221>enc</I
2222></TT
2223>&nbsp;:</TD
2224><TD
2225WIDTH="80%"
2226ALIGN="LEFT"
2227VALIGN="TOP"
2228> the encoding value (number)</TD
2229></TR
2230><TR
2231><TD
2232WIDTH="20%"
2233ALIGN="RIGHT"
2234VALIGN="TOP"
2235><I
2236CLASS="EMPHASIS"
2237>Returns</I
2238> :</TD
2239><TD
2240WIDTH="80%"
2241ALIGN="LEFT"
2242VALIGN="TOP"
2243>0 in case of success, -1 otherwise</TD
2244></TR
2245></TABLE
2246><P
2247></P
2248></DIV
2249></DIV
2250><HR><DIV
2251CLASS="REFSECT2"
2252><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00002253NAME="AEN12688"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002254></A
2255><H3
2256><A
2257NAME="XMLSWITCHTOENCODING"
2258></A
2259>xmlSwitchToEncoding ()</H3
2260><TABLE
2261BORDER="0"
2262BGCOLOR="#D6E8FF"
2263WIDTH="100%"
2264CELLPADDING="6"
2265><TR
2266><TD
2267><PRE
2268CLASS="PROGRAMLISTING"
2269>int xmlSwitchToEncoding (<A
2270HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2271>xmlParserCtxtPtr</A
2272> ctxt,
2273 <A
2274HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR"
2275>xmlCharEncodingHandlerPtr</A
2276> handler);</PRE
2277></TD
2278></TR
2279></TABLE
2280><P
2281>change the input functions when discovering the character encoding
2282of a given entity.</P
2283><P
2284></P
2285><DIV
2286CLASS="INFORMALTABLE"
2287><P
2288></P
2289><TABLE
2290BORDER="0"
2291WIDTH="100%"
2292BGCOLOR="#FFD0D0"
2293CELLSPACING="0"
2294CELLPADDING="4"
2295CLASS="CALSTABLE"
2296><TR
2297><TD
2298WIDTH="20%"
2299ALIGN="RIGHT"
2300VALIGN="TOP"
2301><TT
2302CLASS="PARAMETER"
2303><I
2304>ctxt</I
2305></TT
2306>&nbsp;:</TD
2307><TD
2308WIDTH="80%"
2309ALIGN="LEFT"
2310VALIGN="TOP"
2311> the parser context</TD
2312></TR
2313><TR
2314><TD
2315WIDTH="20%"
2316ALIGN="RIGHT"
2317VALIGN="TOP"
2318><TT
2319CLASS="PARAMETER"
2320><I
2321>handler</I
2322></TT
2323>&nbsp;:</TD
2324><TD
2325WIDTH="80%"
2326ALIGN="LEFT"
2327VALIGN="TOP"
2328> the encoding handler</TD
2329></TR
2330><TR
2331><TD
2332WIDTH="20%"
2333ALIGN="RIGHT"
2334VALIGN="TOP"
2335><I
2336CLASS="EMPHASIS"
2337>Returns</I
2338> :</TD
2339><TD
2340WIDTH="80%"
2341ALIGN="LEFT"
2342VALIGN="TOP"
2343>0 in case of success, -1 otherwise</TD
2344></TR
2345></TABLE
2346><P
2347></P
2348></DIV
2349></DIV
2350><HR><DIV
2351CLASS="REFSECT2"
2352><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00002353NAME="AEN12713"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002354></A
2355><H3
2356><A
2357NAME="XMLFREEPARSERCTXT"
2358></A
2359>xmlFreeParserCtxt ()</H3
2360><TABLE
2361BORDER="0"
2362BGCOLOR="#D6E8FF"
2363WIDTH="100%"
2364CELLPADDING="6"
2365><TR
2366><TD
2367><PRE
2368CLASS="PROGRAMLISTING"
2369>void xmlFreeParserCtxt (<A
2370HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2371>xmlParserCtxtPtr</A
2372> ctxt);</PRE
2373></TD
2374></TR
2375></TABLE
2376><P
2377>Free all the memory used by a parser context. However the parsed
2378document in ctxt-&gt;myDoc is not freed.</P
2379><P
2380></P
2381><DIV
2382CLASS="INFORMALTABLE"
2383><P
2384></P
2385><TABLE
2386BORDER="0"
2387WIDTH="100%"
2388BGCOLOR="#FFD0D0"
2389CELLSPACING="0"
2390CELLPADDING="4"
2391CLASS="CALSTABLE"
2392><TR
2393><TD
2394WIDTH="20%"
2395ALIGN="RIGHT"
2396VALIGN="TOP"
2397><TT
2398CLASS="PARAMETER"
2399><I
2400>ctxt</I
2401></TT
2402>&nbsp;:</TD
2403><TD
2404WIDTH="80%"
2405ALIGN="LEFT"
2406VALIGN="TOP"
2407>&nbsp;</TD
2408></TR
2409></TABLE
2410><P
2411></P
2412></DIV
2413></DIV
2414><HR><DIV
2415CLASS="REFSECT2"
2416><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00002417NAME="AEN12729"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002418></A
2419><H3
2420><A
2421NAME="XMLHANDLEENTITY"
2422></A
2423>xmlHandleEntity ()</H3
2424><TABLE
2425BORDER="0"
2426BGCOLOR="#D6E8FF"
2427WIDTH="100%"
2428CELLPADDING="6"
2429><TR
2430><TD
2431><PRE
2432CLASS="PROGRAMLISTING"
2433>void xmlHandleEntity (<A
2434HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2435>xmlParserCtxtPtr</A
2436> ctxt,
2437 <A
2438HREF="gnome-xml-entities.html#XMLENTITYPTR"
2439>xmlEntityPtr</A
2440> entity);</PRE
2441></TD
2442></TR
2443></TABLE
2444><P
2445>Default handling of defined entities, when should we define a new input
2446stream ? When do we just handle that as a set of chars ?</P
2447><P
2448>OBSOLETE: to be removed at some point.</P
2449><P
2450></P
2451><DIV
2452CLASS="INFORMALTABLE"
2453><P
2454></P
2455><TABLE
2456BORDER="0"
2457WIDTH="100%"
2458BGCOLOR="#FFD0D0"
2459CELLSPACING="0"
2460CELLPADDING="4"
2461CLASS="CALSTABLE"
2462><TR
2463><TD
2464WIDTH="20%"
2465ALIGN="RIGHT"
2466VALIGN="TOP"
2467><TT
2468CLASS="PARAMETER"
2469><I
2470>ctxt</I
2471></TT
2472>&nbsp;:</TD
2473><TD
2474WIDTH="80%"
2475ALIGN="LEFT"
2476VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002477> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002478></TR
2479><TR
2480><TD
2481WIDTH="20%"
2482ALIGN="RIGHT"
2483VALIGN="TOP"
2484><TT
2485CLASS="PARAMETER"
2486><I
2487>entity</I
2488></TT
2489>&nbsp;:</TD
2490><TD
2491WIDTH="80%"
2492ALIGN="LEFT"
2493VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002494> an XML entity pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002495></TR
2496></TABLE
2497><P
2498></P
2499></DIV
2500></DIV
2501><HR><DIV
2502CLASS="REFSECT2"
2503><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00002504NAME="AEN12751"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002505></A
2506><H3
2507><A
2508NAME="XMLNEWENTITYINPUTSTREAM"
2509></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002510>xmlNewEntityInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002511><TABLE
2512BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002513BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002514WIDTH="100%"
2515CELLPADDING="6"
2516><TR
2517><TD
2518><PRE
2519CLASS="PROGRAMLISTING"
2520><A
2521HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2522>xmlParserInputPtr</A
2523> xmlNewEntityInputStream (<A
2524HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2525>xmlParserCtxtPtr</A
2526> ctxt,
2527 <A
2528HREF="gnome-xml-entities.html#XMLENTITYPTR"
2529>xmlEntityPtr</A
2530> entity);</PRE
2531></TD
2532></TR
2533></TABLE
2534><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00002535>Create a new input stream based on an xmlEntityPtr</P
Daniel Veillardbc50b591999-03-01 12:28:53 +00002536><P
2537></P
2538><DIV
2539CLASS="INFORMALTABLE"
2540><P
2541></P
2542><TABLE
2543BORDER="0"
2544WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002545BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002546CELLSPACING="0"
2547CELLPADDING="4"
2548CLASS="CALSTABLE"
2549><TR
2550><TD
2551WIDTH="20%"
2552ALIGN="RIGHT"
2553VALIGN="TOP"
2554><TT
2555CLASS="PARAMETER"
2556><I
2557>ctxt</I
2558></TT
2559>&nbsp;:</TD
2560><TD
2561WIDTH="80%"
2562ALIGN="LEFT"
2563VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002564> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002565></TR
2566><TR
2567><TD
2568WIDTH="20%"
2569ALIGN="RIGHT"
2570VALIGN="TOP"
2571><TT
2572CLASS="PARAMETER"
2573><I
2574>entity</I
2575></TT
2576>&nbsp;:</TD
2577><TD
2578WIDTH="80%"
2579ALIGN="LEFT"
2580VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002581> an Entity pointer</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002582></TR
2583><TR
2584><TD
2585WIDTH="20%"
2586ALIGN="RIGHT"
2587VALIGN="TOP"
2588><I
2589CLASS="EMPHASIS"
2590>Returns</I
2591> :</TD
2592><TD
2593WIDTH="80%"
2594ALIGN="LEFT"
2595VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002596>the new input stream or NULL</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002597></TR
2598></TABLE
2599><P
2600></P
2601></DIV
2602></DIV
2603><HR><DIV
2604CLASS="REFSECT2"
2605><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00002606NAME="AEN12777"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002607></A
2608><H3
2609><A
2610NAME="XMLPUSHINPUT"
2611></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002612>xmlPushInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002613><TABLE
2614BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002615BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002616WIDTH="100%"
2617CELLPADDING="6"
2618><TR
2619><TD
2620><PRE
2621CLASS="PROGRAMLISTING"
2622>void xmlPushInput (<A
2623HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2624>xmlParserCtxtPtr</A
2625> ctxt,
2626 <A
2627HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2628>xmlParserInputPtr</A
2629> input);</PRE
2630></TD
2631></TR
2632></TABLE
2633><P
2634>xmlPushInput: switch to a new input stream which is stacked on top
2635of the previous one(s).</P
2636><P
2637></P
2638><DIV
2639CLASS="INFORMALTABLE"
2640><P
2641></P
2642><TABLE
2643BORDER="0"
2644WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002645BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002646CELLSPACING="0"
2647CELLPADDING="4"
2648CLASS="CALSTABLE"
2649><TR
2650><TD
2651WIDTH="20%"
2652ALIGN="RIGHT"
2653VALIGN="TOP"
2654><TT
2655CLASS="PARAMETER"
2656><I
2657>ctxt</I
2658></TT
2659>&nbsp;:</TD
2660><TD
2661WIDTH="80%"
2662ALIGN="LEFT"
2663VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002664> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002665></TR
2666><TR
2667><TD
2668WIDTH="20%"
2669ALIGN="RIGHT"
2670VALIGN="TOP"
2671><TT
2672CLASS="PARAMETER"
2673><I
2674>input</I
2675></TT
2676>&nbsp;:</TD
2677><TD
2678WIDTH="80%"
2679ALIGN="LEFT"
2680VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002681> an XML parser input fragment (entity, XML fragment ...).</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002682></TR
2683></TABLE
2684><P
2685></P
2686></DIV
2687></DIV
2688><HR><DIV
2689CLASS="REFSECT2"
2690><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00002691NAME="AEN12798"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002692></A
2693><H3
2694><A
2695NAME="XMLPOPINPUT"
2696></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002697>xmlPopInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002698><TABLE
2699BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002700BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002701WIDTH="100%"
2702CELLPADDING="6"
2703><TR
2704><TD
2705><PRE
2706CLASS="PROGRAMLISTING"
2707><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002708HREF="gnome-xml-tree.html#XMLCHAR"
2709>xmlChar</A
2710> xmlPopInput (<A
Daniel Veillardbc50b591999-03-01 12:28:53 +00002711HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2712>xmlParserCtxtPtr</A
2713> ctxt);</PRE
2714></TD
2715></TR
2716></TABLE
2717><P
2718>xmlPopInput: the current input pointed by ctxt-&gt;input came to an end
2719pop it and return the next char.</P
2720><P
Daniel Veillardbc50b591999-03-01 12:28:53 +00002721></P
2722><DIV
2723CLASS="INFORMALTABLE"
2724><P
2725></P
2726><TABLE
2727BORDER="0"
2728WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002729BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002730CELLSPACING="0"
2731CELLPADDING="4"
2732CLASS="CALSTABLE"
2733><TR
2734><TD
2735WIDTH="20%"
2736ALIGN="RIGHT"
2737VALIGN="TOP"
2738><TT
2739CLASS="PARAMETER"
2740><I
2741>ctxt</I
2742></TT
2743>&nbsp;:</TD
2744><TD
2745WIDTH="80%"
2746ALIGN="LEFT"
2747VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002748> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002749></TR
2750><TR
2751><TD
2752WIDTH="20%"
2753ALIGN="RIGHT"
2754VALIGN="TOP"
2755><I
2756CLASS="EMPHASIS"
2757>Returns</I
2758> :</TD
2759><TD
2760WIDTH="80%"
2761ALIGN="LEFT"
2762VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002763>the current xmlChar in the parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002764></TR
2765></TABLE
2766><P
2767></P
2768></DIV
2769></DIV
2770><HR><DIV
2771CLASS="REFSECT2"
2772><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00002773NAME="AEN12819"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002774></A
2775><H3
2776><A
2777NAME="XMLFREEINPUTSTREAM"
2778></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002779>xmlFreeInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002780><TABLE
2781BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002782BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002783WIDTH="100%"
2784CELLPADDING="6"
2785><TR
2786><TD
2787><PRE
2788CLASS="PROGRAMLISTING"
2789>void xmlFreeInputStream (<A
2790HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2791>xmlParserInputPtr</A
2792> input);</PRE
2793></TD
2794></TR
2795></TABLE
2796><P
2797>Free up an input stream.</P
2798><P
2799></P
2800><DIV
2801CLASS="INFORMALTABLE"
2802><P
2803></P
2804><TABLE
2805BORDER="0"
2806WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002807BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002808CELLSPACING="0"
2809CELLPADDING="4"
2810CLASS="CALSTABLE"
2811><TR
2812><TD
2813WIDTH="20%"
2814ALIGN="RIGHT"
2815VALIGN="TOP"
2816><TT
2817CLASS="PARAMETER"
2818><I
2819>input</I
2820></TT
2821>&nbsp;:</TD
2822><TD
2823WIDTH="80%"
2824ALIGN="LEFT"
2825VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002826> an xmlParserInputPtr</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002827></TR
2828></TABLE
2829><P
2830></P
2831></DIV
2832></DIV
2833><HR><DIV
2834CLASS="REFSECT2"
2835><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00002836NAME="AEN12835"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002837></A
2838><H3
2839><A
2840NAME="XMLNEWINPUTFROMFILE"
2841></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002842>xmlNewInputFromFile ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00002843><TABLE
2844BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002845BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002846WIDTH="100%"
2847CELLPADDING="6"
2848><TR
2849><TD
2850><PRE
2851CLASS="PROGRAMLISTING"
2852><A
2853HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2854>xmlParserInputPtr</A
2855> xmlNewInputFromFile (<A
2856HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2857>xmlParserCtxtPtr</A
2858> ctxt,
2859 const char *filename);</PRE
2860></TD
2861></TR
2862></TABLE
2863><P
2864>Create a new input stream based on a file.</P
2865><P
2866></P
2867><DIV
2868CLASS="INFORMALTABLE"
2869><P
2870></P
2871><TABLE
2872BORDER="0"
2873WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002874BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002875CELLSPACING="0"
2876CELLPADDING="4"
2877CLASS="CALSTABLE"
2878><TR
2879><TD
2880WIDTH="20%"
2881ALIGN="RIGHT"
2882VALIGN="TOP"
2883><TT
2884CLASS="PARAMETER"
2885><I
2886>ctxt</I
2887></TT
2888>&nbsp;:</TD
2889><TD
2890WIDTH="80%"
2891ALIGN="LEFT"
2892VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002893> an XML parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00002894></TR
2895><TR
2896><TD
2897WIDTH="20%"
2898ALIGN="RIGHT"
2899VALIGN="TOP"
2900><TT
2901CLASS="PARAMETER"
2902><I
2903>filename</I
2904></TT
2905>&nbsp;:</TD
2906><TD
2907WIDTH="80%"
2908ALIGN="LEFT"
2909VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002910> the filename to use as entity</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00002911></TR
2912><TR
2913><TD
2914WIDTH="20%"
2915ALIGN="RIGHT"
2916VALIGN="TOP"
2917><I
2918CLASS="EMPHASIS"
2919>Returns</I
2920> :</TD
2921><TD
2922WIDTH="80%"
2923ALIGN="LEFT"
2924VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002925>the new input stream or NULL in case of error</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00002926></TR
2927></TABLE
2928><P
2929></P
2930></DIV
2931></DIV
2932><HR><DIV
2933CLASS="REFSECT2"
2934><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00002935NAME="AEN12860"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002936></A
2937><H3
2938><A
2939NAME="XMLSPLITQNAME"
2940></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002941>xmlSplitQName ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002942><TABLE
2943BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002944BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002945WIDTH="100%"
2946CELLPADDING="6"
2947><TR
2948><TD
2949><PRE
2950CLASS="PROGRAMLISTING"
2951><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002952HREF="gnome-xml-tree.html#XMLCHAR"
2953>xmlChar</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002954>* xmlSplitQName (<A
2955HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2956>xmlParserCtxtPtr</A
2957> ctxt,
2958 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002959HREF="gnome-xml-tree.html#XMLCHAR"
2960>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002961> *name,
2962 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002963HREF="gnome-xml-tree.html#XMLCHAR"
2964>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002965> **prefix);</PRE
2966></TD
2967></TR
2968></TABLE
2969><P
Daniel Veillarde46e20d2000-07-14 15:02:46 +00002970>parse an UTF8 encoded XML qualified name string</P
Daniel Veillard5099ae81999-04-21 20:12:07 +00002971><P
2972>[NS 5] QName ::= (Prefix ':')? LocalPart</P
2973><P
2974>[NS 6] Prefix ::= NCName</P
2975><P
2976>[NS 7] LocalPart ::= NCName</P
2977><P
2978></P
2979><DIV
2980CLASS="INFORMALTABLE"
2981><P
2982></P
2983><TABLE
2984BORDER="0"
2985WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002986BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002987CELLSPACING="0"
2988CELLPADDING="4"
2989CLASS="CALSTABLE"
2990><TR
2991><TD
2992WIDTH="20%"
2993ALIGN="RIGHT"
2994VALIGN="TOP"
2995><TT
2996CLASS="PARAMETER"
2997><I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002998>ctxt</I
2999></TT
3000>&nbsp;:</TD
3001><TD
3002WIDTH="80%"
3003ALIGN="LEFT"
3004VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003005> an XML parser context</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003006></TR
3007><TR
3008><TD
3009WIDTH="20%"
3010ALIGN="RIGHT"
3011VALIGN="TOP"
3012><TT
3013CLASS="PARAMETER"
3014><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00003015>name</I
3016></TT
3017>&nbsp;:</TD
3018><TD
3019WIDTH="80%"
3020ALIGN="LEFT"
3021VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003022> an XML parser context</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003023></TR
3024><TR
3025><TD
3026WIDTH="20%"
3027ALIGN="RIGHT"
3028VALIGN="TOP"
3029><TT
3030CLASS="PARAMETER"
3031><I
3032>prefix</I
3033></TT
3034>&nbsp;:</TD
3035><TD
3036WIDTH="80%"
3037ALIGN="LEFT"
3038VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003039> a xmlChar ** </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003040></TR
3041><TR
3042><TD
3043WIDTH="20%"
3044ALIGN="RIGHT"
3045VALIGN="TOP"
3046><I
3047CLASS="EMPHASIS"
3048>Returns</I
3049> :</TD
3050><TD
3051WIDTH="80%"
3052ALIGN="LEFT"
3053VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003054>the local part, and prefix is updated
3055to get the Prefix if any.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003056></TR
3057></TABLE
3058><P
3059></P
3060></DIV
3061></DIV
3062><HR><DIV
3063CLASS="REFSECT2"
3064><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00003065NAME="AEN12894"
Daniel Veillard35925471999-02-25 08:46:07 +00003066></A
3067><H3
3068><A
3069NAME="XMLNAMESPACEPARSENCNAME"
3070></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003071>xmlNamespaceParseNCName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003072><TABLE
3073BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003074BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003075WIDTH="100%"
3076CELLPADDING="6"
3077><TR
3078><TD
3079><PRE
3080CLASS="PROGRAMLISTING"
3081><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003082HREF="gnome-xml-tree.html#XMLCHAR"
3083>xmlChar</A
3084>* xmlNamespaceParseNCName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003085HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3086>xmlParserCtxtPtr</A
3087> ctxt);</PRE
3088></TD
3089></TR
3090></TABLE
3091><P
3092>parse an XML namespace name.</P
3093><P
3094>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
3095><P
3096>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
3097CombiningChar | Extender</P
3098><P
3099></P
3100><DIV
3101CLASS="INFORMALTABLE"
3102><P
3103></P
3104><TABLE
3105BORDER="0"
3106WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003107BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003108CELLSPACING="0"
3109CELLPADDING="4"
3110CLASS="CALSTABLE"
3111><TR
3112><TD
3113WIDTH="20%"
3114ALIGN="RIGHT"
3115VALIGN="TOP"
3116><TT
3117CLASS="PARAMETER"
3118><I
3119>ctxt</I
3120></TT
3121>&nbsp;:</TD
3122><TD
3123WIDTH="80%"
3124ALIGN="LEFT"
3125VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003126> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003127></TR
3128><TR
3129><TD
3130WIDTH="20%"
3131ALIGN="RIGHT"
3132VALIGN="TOP"
3133><I
3134CLASS="EMPHASIS"
3135>Returns</I
3136> :</TD
3137><TD
3138WIDTH="80%"
3139ALIGN="LEFT"
3140VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003141>the namespace name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003142></TR
3143></TABLE
3144><P
3145></P
3146></DIV
3147></DIV
3148><HR><DIV
3149CLASS="REFSECT2"
3150><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00003151NAME="AEN12917"
Daniel Veillard35925471999-02-25 08:46:07 +00003152></A
3153><H3
3154><A
3155NAME="XMLNAMESPACEPARSEQNAME"
3156></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003157>xmlNamespaceParseQName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003158><TABLE
3159BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003160BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003161WIDTH="100%"
3162CELLPADDING="6"
3163><TR
3164><TD
3165><PRE
3166CLASS="PROGRAMLISTING"
3167><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003168HREF="gnome-xml-tree.html#XMLCHAR"
3169>xmlChar</A
3170>* xmlNamespaceParseQName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003171HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3172>xmlParserCtxtPtr</A
3173> ctxt,
3174 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003175HREF="gnome-xml-tree.html#XMLCHAR"
3176>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003177> **prefix);</PRE
3178></TD
3179></TR
3180></TABLE
3181><P
3182>parse an XML qualified name</P
3183><P
3184>[NS 5] QName ::= (Prefix ':')? LocalPart</P
3185><P
3186>[NS 6] Prefix ::= NCName</P
3187><P
3188>[NS 7] LocalPart ::= NCName</P
3189><P
3190></P
3191><DIV
3192CLASS="INFORMALTABLE"
3193><P
3194></P
3195><TABLE
3196BORDER="0"
3197WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003198BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003199CELLSPACING="0"
3200CELLPADDING="4"
3201CLASS="CALSTABLE"
3202><TR
3203><TD
3204WIDTH="20%"
3205ALIGN="RIGHT"
3206VALIGN="TOP"
3207><TT
3208CLASS="PARAMETER"
3209><I
3210>ctxt</I
3211></TT
3212>&nbsp;:</TD
3213><TD
3214WIDTH="80%"
3215ALIGN="LEFT"
3216VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003217> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003218></TR
3219><TR
3220><TD
3221WIDTH="20%"
3222ALIGN="RIGHT"
3223VALIGN="TOP"
3224><TT
3225CLASS="PARAMETER"
3226><I
3227>prefix</I
3228></TT
3229>&nbsp;:</TD
3230><TD
3231WIDTH="80%"
3232ALIGN="LEFT"
3233VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003234> a xmlChar ** </TD
Daniel Veillard35925471999-02-25 08:46:07 +00003235></TR
3236><TR
3237><TD
3238WIDTH="20%"
3239ALIGN="RIGHT"
3240VALIGN="TOP"
3241><I
3242CLASS="EMPHASIS"
3243>Returns</I
3244> :</TD
3245><TD
3246WIDTH="80%"
3247ALIGN="LEFT"
3248VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003249>the local part, and prefix is updated
3250to get the Prefix if any.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003251></TR
3252></TABLE
3253><P
3254></P
3255></DIV
3256></DIV
3257><HR><DIV
3258CLASS="REFSECT2"
3259><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00003260NAME="AEN12946"
Daniel Veillard35925471999-02-25 08:46:07 +00003261></A
3262><H3
3263><A
3264NAME="XMLNAMESPACEPARSENSDEF"
3265></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003266>xmlNamespaceParseNSDef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003267><TABLE
3268BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003269BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003270WIDTH="100%"
3271CELLPADDING="6"
3272><TR
3273><TD
3274><PRE
3275CLASS="PROGRAMLISTING"
3276><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003277HREF="gnome-xml-tree.html#XMLCHAR"
3278>xmlChar</A
3279>* xmlNamespaceParseNSDef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003280HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3281>xmlParserCtxtPtr</A
3282> ctxt);</PRE
3283></TD
3284></TR
3285></TABLE
3286><P
3287>parse a namespace prefix declaration</P
3288><P
3289>[NS 1] NSDef ::= PrefixDef Eq SystemLiteral</P
3290><P
3291>[NS 2] PrefixDef ::= 'xmlns' (':' NCName)?</P
3292><P
3293></P
3294><DIV
3295CLASS="INFORMALTABLE"
3296><P
3297></P
3298><TABLE
3299BORDER="0"
3300WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003301BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003302CELLSPACING="0"
3303CELLPADDING="4"
3304CLASS="CALSTABLE"
3305><TR
3306><TD
3307WIDTH="20%"
3308ALIGN="RIGHT"
3309VALIGN="TOP"
3310><TT
3311CLASS="PARAMETER"
3312><I
3313>ctxt</I
3314></TT
3315>&nbsp;:</TD
3316><TD
3317WIDTH="80%"
3318ALIGN="LEFT"
3319VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003320> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003321></TR
3322><TR
3323><TD
3324WIDTH="20%"
3325ALIGN="RIGHT"
3326VALIGN="TOP"
3327><I
3328CLASS="EMPHASIS"
3329>Returns</I
3330> :</TD
3331><TD
3332WIDTH="80%"
3333ALIGN="LEFT"
3334VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003335>the namespace name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003336></TR
3337></TABLE
3338><P
3339></P
3340></DIV
3341></DIV
3342><HR><DIV
3343CLASS="REFSECT2"
3344><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00003345NAME="AEN12969"
Daniel Veillard35925471999-02-25 08:46:07 +00003346></A
3347><H3
3348><A
3349NAME="XMLPARSEQUOTEDSTRING"
3350></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003351>xmlParseQuotedString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003352><TABLE
3353BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003354BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003355WIDTH="100%"
3356CELLPADDING="6"
3357><TR
3358><TD
3359><PRE
3360CLASS="PROGRAMLISTING"
3361><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003362HREF="gnome-xml-tree.html#XMLCHAR"
3363>xmlChar</A
3364>* xmlParseQuotedString (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003365HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3366>xmlParserCtxtPtr</A
3367> ctxt);</PRE
3368></TD
3369></TR
3370></TABLE
3371><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00003372>[OLD] Parse and return a string between quotes or doublequotes
3373To be removed at next drop of binary compatibility</P
Daniel Veillard35925471999-02-25 08:46:07 +00003374><P
3375></P
3376><DIV
3377CLASS="INFORMALTABLE"
3378><P
3379></P
3380><TABLE
3381BORDER="0"
3382WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003383BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003384CELLSPACING="0"
3385CELLPADDING="4"
3386CLASS="CALSTABLE"
3387><TR
3388><TD
3389WIDTH="20%"
3390ALIGN="RIGHT"
3391VALIGN="TOP"
3392><TT
3393CLASS="PARAMETER"
3394><I
3395>ctxt</I
3396></TT
3397>&nbsp;:</TD
3398><TD
3399WIDTH="80%"
3400ALIGN="LEFT"
3401VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003402> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003403></TR
3404><TR
3405><TD
3406WIDTH="20%"
3407ALIGN="RIGHT"
3408VALIGN="TOP"
3409><I
3410CLASS="EMPHASIS"
3411>Returns</I
3412> :</TD
3413><TD
3414WIDTH="80%"
3415ALIGN="LEFT"
3416VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003417>the string parser or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003418></TR
3419></TABLE
3420><P
3421></P
3422></DIV
3423></DIV
3424><HR><DIV
3425CLASS="REFSECT2"
3426><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00003427NAME="AEN12990"
Daniel Veillard35925471999-02-25 08:46:07 +00003428></A
3429><H3
3430><A
3431NAME="XMLPARSENAMESPACE"
3432></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003433>xmlParseNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003434><TABLE
3435BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003436BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003437WIDTH="100%"
3438CELLPADDING="6"
3439><TR
3440><TD
3441><PRE
3442CLASS="PROGRAMLISTING"
3443>void xmlParseNamespace (<A
3444HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3445>xmlParserCtxtPtr</A
3446> ctxt);</PRE
3447></TD
3448></TR
3449></TABLE
3450><P
3451>[OLD] xmlParseNamespace: parse specific PI '&lt;?namespace ...' constructs.</P
3452><P
3453>This is what the older xml-name Working Draft specified, a bunch of
3454other stuff may still rely on it, so support is still here as
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003455if it was declared on the root of the Tree:-(</P
Daniel Veillard35925471999-02-25 08:46:07 +00003456><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00003457>To be removed at next drop of binary compatibility</P
3458><P
Daniel Veillard35925471999-02-25 08:46:07 +00003459></P
3460><DIV
3461CLASS="INFORMALTABLE"
3462><P
3463></P
3464><TABLE
3465BORDER="0"
3466WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003467BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003468CELLSPACING="0"
3469CELLPADDING="4"
3470CLASS="CALSTABLE"
3471><TR
3472><TD
3473WIDTH="20%"
3474ALIGN="RIGHT"
3475VALIGN="TOP"
3476><TT
3477CLASS="PARAMETER"
3478><I
3479>ctxt</I
3480></TT
3481>&nbsp;:</TD
3482><TD
3483WIDTH="80%"
3484ALIGN="LEFT"
3485VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003486> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003487></TR
3488></TABLE
3489><P
3490></P
3491></DIV
3492></DIV
3493><HR><DIV
3494CLASS="REFSECT2"
3495><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00003496NAME="AEN13008"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003497></A
3498><H3
3499><A
3500NAME="XMLSCANNAME"
3501></A
3502>xmlScanName ()</H3
3503><TABLE
3504BORDER="0"
3505BGCOLOR="#D6E8FF"
3506WIDTH="100%"
3507CELLPADDING="6"
3508><TR
3509><TD
3510><PRE
3511CLASS="PROGRAMLISTING"
3512><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003513HREF="gnome-xml-tree.html#XMLCHAR"
3514>xmlChar</A
3515>* xmlScanName (<A
Daniel Veillardb05deb71999-08-10 19:04:08 +00003516HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3517>xmlParserCtxtPtr</A
3518> ctxt);</PRE
3519></TD
3520></TR
3521></TABLE
3522><P
3523>Trickery: parse an XML name but without consuming the input flow
3524Needed for rollback cases.</P
3525><P
3526>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
3527CombiningChar | Extender</P
3528><P
3529>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
3530><P
3531>[6] Names ::= Name (S Name)*</P
3532><P
3533></P
3534><DIV
3535CLASS="INFORMALTABLE"
3536><P
3537></P
3538><TABLE
3539BORDER="0"
3540WIDTH="100%"
3541BGCOLOR="#FFD0D0"
3542CELLSPACING="0"
3543CELLPADDING="4"
3544CLASS="CALSTABLE"
3545><TR
3546><TD
3547WIDTH="20%"
3548ALIGN="RIGHT"
3549VALIGN="TOP"
3550><TT
3551CLASS="PARAMETER"
3552><I
3553>ctxt</I
3554></TT
3555>&nbsp;:</TD
3556><TD
3557WIDTH="80%"
3558ALIGN="LEFT"
3559VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003560> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003561></TR
3562><TR
3563><TD
3564WIDTH="20%"
3565ALIGN="RIGHT"
3566VALIGN="TOP"
3567><I
3568CLASS="EMPHASIS"
3569>Returns</I
3570> :</TD
3571><TD
3572WIDTH="80%"
3573ALIGN="LEFT"
3574VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003575>the Name parsed or NULL</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003576></TR
3577></TABLE
3578><P
3579></P
3580></DIV
3581></DIV
3582><HR><DIV
3583CLASS="REFSECT2"
3584><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00003585NAME="AEN13032"
Daniel Veillard35925471999-02-25 08:46:07 +00003586></A
3587><H3
3588><A
3589NAME="XMLPARSENAME"
3590></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003591>xmlParseName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003592><TABLE
3593BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003594BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003595WIDTH="100%"
3596CELLPADDING="6"
3597><TR
3598><TD
3599><PRE
3600CLASS="PROGRAMLISTING"
3601><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003602HREF="gnome-xml-tree.html#XMLCHAR"
3603>xmlChar</A
3604>* xmlParseName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003605HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3606>xmlParserCtxtPtr</A
3607> ctxt);</PRE
3608></TD
3609></TR
3610></TABLE
3611><P
3612>parse an XML name.</P
3613><P
3614>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
3615CombiningChar | Extender</P
3616><P
3617>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
3618><P
3619>[6] Names ::= Name (S Name)*</P
3620><P
3621></P
3622><DIV
3623CLASS="INFORMALTABLE"
3624><P
3625></P
3626><TABLE
3627BORDER="0"
3628WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003629BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003630CELLSPACING="0"
3631CELLPADDING="4"
3632CLASS="CALSTABLE"
3633><TR
3634><TD
3635WIDTH="20%"
3636ALIGN="RIGHT"
3637VALIGN="TOP"
3638><TT
3639CLASS="PARAMETER"
3640><I
3641>ctxt</I
3642></TT
3643>&nbsp;:</TD
3644><TD
3645WIDTH="80%"
3646ALIGN="LEFT"
3647VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003648> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003649></TR
3650><TR
3651><TD
3652WIDTH="20%"
3653ALIGN="RIGHT"
3654VALIGN="TOP"
3655><I
3656CLASS="EMPHASIS"
3657>Returns</I
3658> :</TD
3659><TD
3660WIDTH="80%"
3661ALIGN="LEFT"
3662VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003663>the Name parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003664></TR
3665></TABLE
3666><P
3667></P
3668></DIV
3669></DIV
3670><HR><DIV
3671CLASS="REFSECT2"
3672><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00003673NAME="AEN13056"
Daniel Veillard35925471999-02-25 08:46:07 +00003674></A
3675><H3
3676><A
3677NAME="XMLPARSENMTOKEN"
3678></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003679>xmlParseNmtoken ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003680><TABLE
3681BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003682BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003683WIDTH="100%"
3684CELLPADDING="6"
3685><TR
3686><TD
3687><PRE
3688CLASS="PROGRAMLISTING"
3689><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003690HREF="gnome-xml-tree.html#XMLCHAR"
3691>xmlChar</A
3692>* xmlParseNmtoken (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003693HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3694>xmlParserCtxtPtr</A
3695> ctxt);</PRE
3696></TD
3697></TR
3698></TABLE
3699><P
3700>parse an XML Nmtoken.</P
3701><P
3702>[7] Nmtoken ::= (NameChar)+</P
3703><P
3704>[8] Nmtokens ::= Nmtoken (S Nmtoken)*</P
3705><P
3706></P
3707><DIV
3708CLASS="INFORMALTABLE"
3709><P
3710></P
3711><TABLE
3712BORDER="0"
3713WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003714BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003715CELLSPACING="0"
3716CELLPADDING="4"
3717CLASS="CALSTABLE"
3718><TR
3719><TD
3720WIDTH="20%"
3721ALIGN="RIGHT"
3722VALIGN="TOP"
3723><TT
3724CLASS="PARAMETER"
3725><I
3726>ctxt</I
3727></TT
3728>&nbsp;:</TD
3729><TD
3730WIDTH="80%"
3731ALIGN="LEFT"
3732VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003733> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003734></TR
3735><TR
3736><TD
3737WIDTH="20%"
3738ALIGN="RIGHT"
3739VALIGN="TOP"
3740><I
3741CLASS="EMPHASIS"
3742>Returns</I
3743> :</TD
3744><TD
3745WIDTH="80%"
3746ALIGN="LEFT"
3747VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003748>the Nmtoken parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003749></TR
3750></TABLE
3751><P
3752></P
3753></DIV
3754></DIV
3755><HR><DIV
3756CLASS="REFSECT2"
3757><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00003758NAME="AEN13079"
Daniel Veillard35925471999-02-25 08:46:07 +00003759></A
3760><H3
3761><A
3762NAME="XMLPARSEENTITYVALUE"
3763></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003764>xmlParseEntityValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003765><TABLE
3766BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003767BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003768WIDTH="100%"
3769CELLPADDING="6"
3770><TR
3771><TD
3772><PRE
3773CLASS="PROGRAMLISTING"
3774><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003775HREF="gnome-xml-tree.html#XMLCHAR"
3776>xmlChar</A
3777>* xmlParseEntityValue (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003778HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3779>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003780> ctxt,
3781 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003782HREF="gnome-xml-tree.html#XMLCHAR"
3783>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003784> **orig);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003785></TD
3786></TR
3787></TABLE
3788><P
3789>parse a value for ENTITY decl.</P
3790><P
3791>[9] EntityValue ::= '"' ([^%&amp;"] | PEReference | Reference)* '"' |
3792"'" ([^%&amp;'] | PEReference | Reference)* "'"</P
3793><P
3794></P
3795><DIV
3796CLASS="INFORMALTABLE"
3797><P
3798></P
3799><TABLE
3800BORDER="0"
3801WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003802BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003803CELLSPACING="0"
3804CELLPADDING="4"
3805CLASS="CALSTABLE"
3806><TR
3807><TD
3808WIDTH="20%"
3809ALIGN="RIGHT"
3810VALIGN="TOP"
3811><TT
3812CLASS="PARAMETER"
3813><I
3814>ctxt</I
3815></TT
3816>&nbsp;:</TD
3817><TD
3818WIDTH="80%"
3819ALIGN="LEFT"
3820VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003821> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003822></TR
3823><TR
3824><TD
3825WIDTH="20%"
3826ALIGN="RIGHT"
3827VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003828><TT
3829CLASS="PARAMETER"
3830><I
3831>orig</I
3832></TT
3833>&nbsp;:</TD
3834><TD
3835WIDTH="80%"
3836ALIGN="LEFT"
3837VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003838> if non-NULL store a copy of the original entity value</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00003839></TR
3840><TR
3841><TD
3842WIDTH="20%"
3843ALIGN="RIGHT"
3844VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00003845><I
3846CLASS="EMPHASIS"
3847>Returns</I
3848> :</TD
3849><TD
3850WIDTH="80%"
3851ALIGN="LEFT"
3852VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003853>the EntityValue parsed with reference substitued or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003854></TR
3855></TABLE
3856><P
3857></P
3858></DIV
3859></DIV
3860><HR><DIV
3861CLASS="REFSECT2"
3862><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00003863NAME="AEN13106"
Daniel Veillard35925471999-02-25 08:46:07 +00003864></A
3865><H3
3866><A
3867NAME="XMLPARSEATTVALUE"
3868></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003869>xmlParseAttValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003870><TABLE
3871BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003872BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003873WIDTH="100%"
3874CELLPADDING="6"
3875><TR
3876><TD
3877><PRE
3878CLASS="PROGRAMLISTING"
3879><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003880HREF="gnome-xml-tree.html#XMLCHAR"
3881>xmlChar</A
3882>* xmlParseAttValue (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003883HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3884>xmlParserCtxtPtr</A
3885> ctxt);</PRE
3886></TD
3887></TR
3888></TABLE
3889><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00003890>parse a value for an attribute
3891Note: the parser won't do substitution of entities here, this
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003892will be handled later in xmlStringGetNodeList</P
Daniel Veillard35925471999-02-25 08:46:07 +00003893><P
3894>[10] AttValue ::= '"' ([^&lt;&amp;"] | Reference)* '"' |
3895"'" ([^&lt;&amp;'] | Reference)* "'"</P
3896><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003897>3.3.3 Attribute-Value Normalization:
3898Before the value of an attribute is passed to the application or
3899checked for validity, the XML processor must normalize it as follows:
3900- a character reference is processed by appending the referenced
3901character to the attribute value
3902- an entity reference is processed by recursively processing the
3903replacement text of the entity
3904- a whitespace character (<GTKDOCLINK
3905HREF="X20"
3906>x20</GTKDOCLINK
3907>, <GTKDOCLINK
3908HREF="XD"
3909>xD</GTKDOCLINK
3910>, <GTKDOCLINK
3911HREF="XA"
3912>xA</GTKDOCLINK
3913>, <GTKDOCLINK
3914HREF="X9"
3915>x9</GTKDOCLINK
3916>) is processed by
3917appending <GTKDOCLINK
3918HREF="X20"
3919>x20</GTKDOCLINK
3920> to the normalized value, except that only a single
3921<GTKDOCLINK
3922HREF="X20"
3923>x20</GTKDOCLINK
3924> is appended for a "<GTKDOCLINK
3925HREF="XD"
3926>xD</GTKDOCLINK
3927><GTKDOCLINK
3928HREF="XA"
3929>xA</GTKDOCLINK
3930>" sequence that is part of an external
3931parsed entity or the literal entity value of an internal parsed entity
3932- other characters are processed by appending them to the normalized value
3933If the declared value is not CDATA, then the XML processor must further
3934process the normalized attribute value by discarding any leading and
3935trailing space (<GTKDOCLINK
3936HREF="X20"
3937>x20</GTKDOCLINK
3938>) characters, and by replacing sequences of space
3939(<GTKDOCLINK
3940HREF="X20"
3941>x20</GTKDOCLINK
3942>) characters by a single space (<GTKDOCLINK
3943HREF="X20"
3944>x20</GTKDOCLINK
3945>) character.
3946All attributes for which no declaration has been read should be treated
3947by a non-validating parser as if declared CDATA.</P
3948><P
Daniel Veillard35925471999-02-25 08:46:07 +00003949></P
3950><DIV
3951CLASS="INFORMALTABLE"
3952><P
3953></P
3954><TABLE
3955BORDER="0"
3956WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003957BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003958CELLSPACING="0"
3959CELLPADDING="4"
3960CLASS="CALSTABLE"
3961><TR
3962><TD
3963WIDTH="20%"
3964ALIGN="RIGHT"
3965VALIGN="TOP"
3966><TT
3967CLASS="PARAMETER"
3968><I
3969>ctxt</I
3970></TT
3971>&nbsp;:</TD
3972><TD
3973WIDTH="80%"
3974ALIGN="LEFT"
3975VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003976> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003977></TR
3978><TR
3979><TD
3980WIDTH="20%"
3981ALIGN="RIGHT"
3982VALIGN="TOP"
3983><I
3984CLASS="EMPHASIS"
3985>Returns</I
3986> :</TD
3987><TD
3988WIDTH="80%"
3989ALIGN="LEFT"
3990VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003991>the AttValue parsed or NULL. The value has to be freed by the caller.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003992></TR
3993></TABLE
3994><P
3995></P
3996></DIV
3997></DIV
3998><HR><DIV
3999CLASS="REFSECT2"
4000><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00004001NAME="AEN13140"
Daniel Veillard35925471999-02-25 08:46:07 +00004002></A
4003><H3
4004><A
4005NAME="XMLPARSESYSTEMLITERAL"
4006></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004007>xmlParseSystemLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004008><TABLE
4009BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004010BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004011WIDTH="100%"
4012CELLPADDING="6"
4013><TR
4014><TD
4015><PRE
4016CLASS="PROGRAMLISTING"
4017><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004018HREF="gnome-xml-tree.html#XMLCHAR"
4019>xmlChar</A
4020>* xmlParseSystemLiteral (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004021HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4022>xmlParserCtxtPtr</A
4023> ctxt);</PRE
4024></TD
4025></TR
4026></TABLE
4027><P
4028>parse an XML Literal</P
4029><P
4030>[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</P
4031><P
4032></P
4033><DIV
4034CLASS="INFORMALTABLE"
4035><P
4036></P
4037><TABLE
4038BORDER="0"
4039WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004040BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004041CELLSPACING="0"
4042CELLPADDING="4"
4043CLASS="CALSTABLE"
4044><TR
4045><TD
4046WIDTH="20%"
4047ALIGN="RIGHT"
4048VALIGN="TOP"
4049><TT
4050CLASS="PARAMETER"
4051><I
4052>ctxt</I
4053></TT
4054>&nbsp;:</TD
4055><TD
4056WIDTH="80%"
4057ALIGN="LEFT"
4058VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004059> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004060></TR
4061><TR
4062><TD
4063WIDTH="20%"
4064ALIGN="RIGHT"
4065VALIGN="TOP"
4066><I
4067CLASS="EMPHASIS"
4068>Returns</I
4069> :</TD
4070><TD
4071WIDTH="80%"
4072ALIGN="LEFT"
4073VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004074>the SystemLiteral parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004075></TR
4076></TABLE
4077><P
4078></P
4079></DIV
4080></DIV
4081><HR><DIV
4082CLASS="REFSECT2"
4083><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00004084NAME="AEN13162"
Daniel Veillard35925471999-02-25 08:46:07 +00004085></A
4086><H3
4087><A
4088NAME="XMLPARSEPUBIDLITERAL"
4089></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004090>xmlParsePubidLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004091><TABLE
4092BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004093BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004094WIDTH="100%"
4095CELLPADDING="6"
4096><TR
4097><TD
4098><PRE
4099CLASS="PROGRAMLISTING"
4100><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004101HREF="gnome-xml-tree.html#XMLCHAR"
4102>xmlChar</A
4103>* xmlParsePubidLiteral (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004104HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4105>xmlParserCtxtPtr</A
4106> ctxt);</PRE
4107></TD
4108></TR
4109></TABLE
4110><P
4111>parse an XML public literal</P
4112><P
4113>[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</P
4114><P
4115></P
4116><DIV
4117CLASS="INFORMALTABLE"
4118><P
4119></P
4120><TABLE
4121BORDER="0"
4122WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004123BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004124CELLSPACING="0"
4125CELLPADDING="4"
4126CLASS="CALSTABLE"
4127><TR
4128><TD
4129WIDTH="20%"
4130ALIGN="RIGHT"
4131VALIGN="TOP"
4132><TT
4133CLASS="PARAMETER"
4134><I
4135>ctxt</I
4136></TT
4137>&nbsp;:</TD
4138><TD
4139WIDTH="80%"
4140ALIGN="LEFT"
4141VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004142> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004143></TR
4144><TR
4145><TD
4146WIDTH="20%"
4147ALIGN="RIGHT"
4148VALIGN="TOP"
4149><I
4150CLASS="EMPHASIS"
4151>Returns</I
4152> :</TD
4153><TD
4154WIDTH="80%"
4155ALIGN="LEFT"
4156VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004157>the PubidLiteral parsed or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004158></TR
4159></TABLE
4160><P
4161></P
4162></DIV
4163></DIV
4164><HR><DIV
4165CLASS="REFSECT2"
4166><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00004167NAME="AEN13184"
Daniel Veillard35925471999-02-25 08:46:07 +00004168></A
4169><H3
4170><A
4171NAME="XMLPARSECHARDATA"
4172></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004173>xmlParseCharData ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004174><TABLE
4175BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004176BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004177WIDTH="100%"
4178CELLPADDING="6"
4179><TR
4180><TD
4181><PRE
4182CLASS="PROGRAMLISTING"
4183>void xmlParseCharData (<A
4184HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4185>xmlParserCtxtPtr</A
4186> ctxt,
4187 int cdata);</PRE
4188></TD
4189></TR
4190></TABLE
4191><P
4192>parse a CharData section.
4193if we are within a CDATA section ']]&gt;' marks an end of section.</P
4194><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004195>The right angle bracket (&gt;) may be represented using the string "&amp;gt;",
4196and must, for compatibility, be escaped using "&amp;gt;" or a character
4197reference when it appears in the string "]]&gt;" in content, when that
4198string is not marking the end of a CDATA section. </P
4199><P
Daniel Veillard35925471999-02-25 08:46:07 +00004200>[14] CharData ::= [^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</P
4201><P
4202></P
4203><DIV
4204CLASS="INFORMALTABLE"
4205><P
4206></P
4207><TABLE
4208BORDER="0"
4209WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004210BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004211CELLSPACING="0"
4212CELLPADDING="4"
4213CLASS="CALSTABLE"
4214><TR
4215><TD
4216WIDTH="20%"
4217ALIGN="RIGHT"
4218VALIGN="TOP"
4219><TT
4220CLASS="PARAMETER"
4221><I
4222>ctxt</I
4223></TT
4224>&nbsp;:</TD
4225><TD
4226WIDTH="80%"
4227ALIGN="LEFT"
4228VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004229> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004230></TR
4231><TR
4232><TD
4233WIDTH="20%"
4234ALIGN="RIGHT"
4235VALIGN="TOP"
4236><TT
4237CLASS="PARAMETER"
4238><I
4239>cdata</I
4240></TT
4241>&nbsp;:</TD
4242><TD
4243WIDTH="80%"
4244ALIGN="LEFT"
4245VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004246> int indicating whether we are within a CDATA section</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004247></TR
4248></TABLE
4249><P
4250></P
4251></DIV
4252></DIV
4253><HR><DIV
4254CLASS="REFSECT2"
4255><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00004256NAME="AEN13206"
Daniel Veillard35925471999-02-25 08:46:07 +00004257></A
4258><H3
4259><A
4260NAME="XMLPARSEEXTERNALID"
4261></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004262>xmlParseExternalID ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004263><TABLE
4264BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004265BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004266WIDTH="100%"
4267CELLPADDING="6"
4268><TR
4269><TD
4270><PRE
4271CLASS="PROGRAMLISTING"
4272><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004273HREF="gnome-xml-tree.html#XMLCHAR"
4274>xmlChar</A
4275>* xmlParseExternalID (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004276HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4277>xmlParserCtxtPtr</A
4278> ctxt,
4279 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004280HREF="gnome-xml-tree.html#XMLCHAR"
4281>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004282> **publicID,
4283 int strict);</PRE
4284></TD
4285></TR
4286></TABLE
4287><P
4288>Parse an External ID or a Public ID</P
4289><P
4290>NOTE: Productions [75] and [83] interract badly since [75] can generate
4291'PUBLIC' S PubidLiteral S SystemLiteral</P
4292><P
4293>[75] ExternalID ::= 'SYSTEM' S SystemLiteral
4294| 'PUBLIC' S PubidLiteral S SystemLiteral</P
4295><P
4296>[83] PublicID ::= 'PUBLIC' S PubidLiteral</P
4297><P
4298></P
4299><DIV
4300CLASS="INFORMALTABLE"
4301><P
4302></P
4303><TABLE
4304BORDER="0"
4305WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004306BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004307CELLSPACING="0"
4308CELLPADDING="4"
4309CLASS="CALSTABLE"
4310><TR
4311><TD
4312WIDTH="20%"
4313ALIGN="RIGHT"
4314VALIGN="TOP"
4315><TT
4316CLASS="PARAMETER"
4317><I
4318>ctxt</I
4319></TT
4320>&nbsp;:</TD
4321><TD
4322WIDTH="80%"
4323ALIGN="LEFT"
4324VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004325> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004326></TR
4327><TR
4328><TD
4329WIDTH="20%"
4330ALIGN="RIGHT"
4331VALIGN="TOP"
4332><TT
4333CLASS="PARAMETER"
4334><I
4335>publicID</I
4336></TT
4337>&nbsp;:</TD
4338><TD
4339WIDTH="80%"
4340ALIGN="LEFT"
4341VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004342> a xmlChar** receiving PubidLiteral</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004343></TR
4344><TR
4345><TD
4346WIDTH="20%"
4347ALIGN="RIGHT"
4348VALIGN="TOP"
4349><TT
4350CLASS="PARAMETER"
4351><I
4352>strict</I
4353></TT
4354>&nbsp;:</TD
4355><TD
4356WIDTH="80%"
4357ALIGN="LEFT"
4358VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004359> indicate whether we should restrict parsing to only
4360production [75], see NOTE below</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004361></TR
4362><TR
4363><TD
4364WIDTH="20%"
4365ALIGN="RIGHT"
4366VALIGN="TOP"
4367><I
4368CLASS="EMPHASIS"
4369>Returns</I
4370> :</TD
4371><TD
4372WIDTH="80%"
4373ALIGN="LEFT"
4374VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004375>the function returns SystemLiteral and in the second
4376case publicID receives PubidLiteral, is strict is off
4377it is possible to return NULL and have publicID set.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004378></TR
4379></TABLE
4380><P
4381></P
4382></DIV
4383></DIV
4384><HR><DIV
4385CLASS="REFSECT2"
4386><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00004387NAME="AEN13239"
Daniel Veillard35925471999-02-25 08:46:07 +00004388></A
4389><H3
4390><A
4391NAME="XMLPARSECOMMENT"
4392></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004393>xmlParseComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004394><TABLE
4395BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004396BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004397WIDTH="100%"
4398CELLPADDING="6"
4399><TR
4400><TD
4401><PRE
4402CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004403>void xmlParseComment (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004404HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4405>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00004406> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00004407></TD
4408></TR
4409></TABLE
4410><P
4411>Skip an XML (SGML) comment &lt;!-- .... --&gt;
Daniel Veillard35925471999-02-25 08:46:07 +00004412The spec says that "For compatibility, the string "--" (double-hyphen)
4413must not occur within comments. "</P
4414><P
4415>[15] Comment ::= '&lt;!--' ((Char - '-') | ('-' (Char - '-')))* '--&gt;'</P
4416><P
Daniel Veillard35925471999-02-25 08:46:07 +00004417></P
4418><DIV
4419CLASS="INFORMALTABLE"
4420><P
4421></P
4422><TABLE
4423BORDER="0"
4424WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004425BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004426CELLSPACING="0"
4427CELLPADDING="4"
4428CLASS="CALSTABLE"
4429><TR
4430><TD
4431WIDTH="20%"
4432ALIGN="RIGHT"
4433VALIGN="TOP"
4434><TT
4435CLASS="PARAMETER"
4436><I
4437>ctxt</I
4438></TT
4439>&nbsp;:</TD
4440><TD
4441WIDTH="80%"
4442ALIGN="LEFT"
4443VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004444> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004445></TR
Daniel Veillard35925471999-02-25 08:46:07 +00004446></TABLE
4447><P
4448></P
4449></DIV
4450></DIV
4451><HR><DIV
4452CLASS="REFSECT2"
4453><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00004454NAME="AEN13256"
Daniel Veillard35925471999-02-25 08:46:07 +00004455></A
4456><H3
4457><A
4458NAME="XMLPARSEPITARGET"
4459></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004460>xmlParsePITarget ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004461><TABLE
4462BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004463BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004464WIDTH="100%"
4465CELLPADDING="6"
4466><TR
4467><TD
4468><PRE
4469CLASS="PROGRAMLISTING"
4470><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004471HREF="gnome-xml-tree.html#XMLCHAR"
4472>xmlChar</A
4473>* xmlParsePITarget (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004474HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4475>xmlParserCtxtPtr</A
4476> ctxt);</PRE
4477></TD
4478></TR
4479></TABLE
4480><P
4481>parse the name of a PI</P
4482><P
4483>[17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</P
4484><P
4485></P
4486><DIV
4487CLASS="INFORMALTABLE"
4488><P
4489></P
4490><TABLE
4491BORDER="0"
4492WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004493BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004494CELLSPACING="0"
4495CELLPADDING="4"
4496CLASS="CALSTABLE"
4497><TR
4498><TD
4499WIDTH="20%"
4500ALIGN="RIGHT"
4501VALIGN="TOP"
4502><TT
4503CLASS="PARAMETER"
4504><I
4505>ctxt</I
4506></TT
4507>&nbsp;:</TD
4508><TD
4509WIDTH="80%"
4510ALIGN="LEFT"
4511VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004512> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004513></TR
4514><TR
4515><TD
4516WIDTH="20%"
4517ALIGN="RIGHT"
4518VALIGN="TOP"
4519><I
4520CLASS="EMPHASIS"
4521>Returns</I
4522> :</TD
4523><TD
4524WIDTH="80%"
4525ALIGN="LEFT"
4526VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004527>the PITarget name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004528></TR
4529></TABLE
4530><P
4531></P
4532></DIV
4533></DIV
4534><HR><DIV
4535CLASS="REFSECT2"
4536><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00004537NAME="AEN13278"
Daniel Veillard35925471999-02-25 08:46:07 +00004538></A
4539><H3
4540><A
4541NAME="XMLPARSEPI"
4542></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004543>xmlParsePI ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004544><TABLE
4545BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004546BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004547WIDTH="100%"
4548CELLPADDING="6"
4549><TR
4550><TD
4551><PRE
4552CLASS="PROGRAMLISTING"
4553>void xmlParsePI (<A
4554HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4555>xmlParserCtxtPtr</A
4556> ctxt);</PRE
4557></TD
4558></TR
4559></TABLE
4560><P
4561>parse an XML Processing Instruction.</P
4562><P
4563>[16] PI ::= '&lt;?' PITarget (S (Char* - (Char* '?&gt;' Char*)))? '?&gt;'</P
4564><P
4565>The processing is transfered to SAX once parsed.</P
4566><P
4567></P
4568><DIV
4569CLASS="INFORMALTABLE"
4570><P
4571></P
4572><TABLE
4573BORDER="0"
4574WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004575BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004576CELLSPACING="0"
4577CELLPADDING="4"
4578CLASS="CALSTABLE"
4579><TR
4580><TD
4581WIDTH="20%"
4582ALIGN="RIGHT"
4583VALIGN="TOP"
4584><TT
4585CLASS="PARAMETER"
4586><I
4587>ctxt</I
4588></TT
4589>&nbsp;:</TD
4590><TD
4591WIDTH="80%"
4592ALIGN="LEFT"
4593VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004594> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004595></TR
4596></TABLE
4597><P
4598></P
4599></DIV
4600></DIV
4601><HR><DIV
4602CLASS="REFSECT2"
4603><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00004604NAME="AEN13296"
Daniel Veillard35925471999-02-25 08:46:07 +00004605></A
4606><H3
4607><A
4608NAME="XMLPARSENOTATIONDECL"
4609></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004610>xmlParseNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004611><TABLE
4612BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004613BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004614WIDTH="100%"
4615CELLPADDING="6"
4616><TR
4617><TD
4618><PRE
4619CLASS="PROGRAMLISTING"
4620>void xmlParseNotationDecl (<A
4621HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4622>xmlParserCtxtPtr</A
4623> ctxt);</PRE
4624></TD
4625></TR
4626></TABLE
4627><P
4628>parse a notation declaration</P
4629><P
4630>[82] NotationDecl ::= '&lt;!NOTATION' S Name S (ExternalID | PublicID) S? '&gt;'</P
4631><P
4632>Hence there is actually 3 choices:
4633'PUBLIC' S PubidLiteral
4634'PUBLIC' S PubidLiteral S SystemLiteral
4635and 'SYSTEM' S SystemLiteral</P
4636><P
4637>See the NOTE on <A
4638HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
4639>xmlParseExternalID</A
4640>().</P
4641><P
4642></P
4643><DIV
4644CLASS="INFORMALTABLE"
4645><P
4646></P
4647><TABLE
4648BORDER="0"
4649WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004650BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004651CELLSPACING="0"
4652CELLPADDING="4"
4653CLASS="CALSTABLE"
4654><TR
4655><TD
4656WIDTH="20%"
4657ALIGN="RIGHT"
4658VALIGN="TOP"
4659><TT
4660CLASS="PARAMETER"
4661><I
4662>ctxt</I
4663></TT
4664>&nbsp;:</TD
4665><TD
4666WIDTH="80%"
4667ALIGN="LEFT"
4668VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004669> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004670></TR
4671></TABLE
4672><P
4673></P
4674></DIV
4675></DIV
4676><HR><DIV
4677CLASS="REFSECT2"
4678><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00004679NAME="AEN13316"
Daniel Veillard35925471999-02-25 08:46:07 +00004680></A
4681><H3
4682><A
4683NAME="XMLPARSEENTITYDECL"
4684></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004685>xmlParseEntityDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004686><TABLE
4687BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004688BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004689WIDTH="100%"
4690CELLPADDING="6"
4691><TR
4692><TD
4693><PRE
4694CLASS="PROGRAMLISTING"
4695>void xmlParseEntityDecl (<A
4696HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4697>xmlParserCtxtPtr</A
4698> ctxt);</PRE
4699></TD
4700></TR
4701></TABLE
4702><P
4703>parse &lt;!ENTITY declarations</P
4704><P
4705>[70] EntityDecl ::= GEDecl | PEDecl</P
4706><P
4707>[71] GEDecl ::= '&lt;!ENTITY' S Name S EntityDef S? '&gt;'</P
4708><P
4709>[72] PEDecl ::= '&lt;!ENTITY' S '%' S Name S PEDef S? '&gt;'</P
4710><P
4711>[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)</P
4712><P
4713>[74] PEDef ::= EntityValue | ExternalID</P
4714><P
4715>[76] NDataDecl ::= S 'NDATA' S Name</P
4716><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004717>[ VC: Notation Declared ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004718The Name must match the declared name of a notation.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004719><P
Daniel Veillard35925471999-02-25 08:46:07 +00004720></P
4721><DIV
4722CLASS="INFORMALTABLE"
4723><P
4724></P
4725><TABLE
4726BORDER="0"
4727WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004728BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004729CELLSPACING="0"
4730CELLPADDING="4"
4731CLASS="CALSTABLE"
4732><TR
4733><TD
4734WIDTH="20%"
4735ALIGN="RIGHT"
4736VALIGN="TOP"
4737><TT
4738CLASS="PARAMETER"
4739><I
4740>ctxt</I
4741></TT
4742>&nbsp;:</TD
4743><TD
4744WIDTH="80%"
4745ALIGN="LEFT"
4746VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004747> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004748></TR
4749></TABLE
4750><P
4751></P
4752></DIV
4753></DIV
4754><HR><DIV
4755CLASS="REFSECT2"
4756><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00004757NAME="AEN13339"
Daniel Veillard35925471999-02-25 08:46:07 +00004758></A
4759><H3
4760><A
4761NAME="XMLPARSEDEFAULTDECL"
4762></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004763>xmlParseDefaultDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004764><TABLE
4765BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004766BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004767WIDTH="100%"
4768CELLPADDING="6"
4769><TR
4770><TD
4771><PRE
4772CLASS="PROGRAMLISTING"
4773>int xmlParseDefaultDecl (<A
4774HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4775>xmlParserCtxtPtr</A
4776> ctxt,
4777 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004778HREF="gnome-xml-tree.html#XMLCHAR"
4779>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004780> **value);</PRE
4781></TD
4782></TR
4783></TABLE
4784><P
4785>Parse an attribute default declaration</P
4786><P
4787>[60] DefaultDecl ::= '<GTKDOCLINK
4788HREF="REQUIRED"
4789>REQUIRED</GTKDOCLINK
4790>' | '<GTKDOCLINK
4791HREF="IMPLIED"
4792>IMPLIED</GTKDOCLINK
4793>' | (('<GTKDOCLINK
4794HREF="FIXED"
4795>FIXED</GTKDOCLINK
4796>' S)? AttValue)</P
4797><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004798>[ VC: Required Attribute ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004799if the default declaration is the keyword <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00004800HREF="REQUIRED"
4801>REQUIRED</GTKDOCLINK
4802>, then the
4803attribute must be specified for all elements of the type in the
4804attribute-list declaration.</P
4805><P
4806>[ VC: Attribute Default Legal ]
4807The declared default value must meet the lexical constraints of
4808the declared attribute type c.f. <A
4809HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL"
4810>xmlValidateAttributeDecl</A
4811>()</P
4812><P
4813>[ VC: Fixed Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004814if an attribute has a default value declared with the <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00004815HREF="FIXED"
4816>FIXED</GTKDOCLINK
4817>
4818keyword, instances of that attribute must match the default value. </P
4819><P
4820>[ WFC: No &lt; in Attribute Values ]
4821handled in <A
4822HREF="gnome-xml-parserinternals.html#XMLPARSEATTVALUE"
4823>xmlParseAttValue</A
4824>()</P
4825><P
Daniel Veillard35925471999-02-25 08:46:07 +00004826></P
4827><DIV
4828CLASS="INFORMALTABLE"
4829><P
4830></P
4831><TABLE
4832BORDER="0"
4833WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004834BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004835CELLSPACING="0"
4836CELLPADDING="4"
4837CLASS="CALSTABLE"
4838><TR
4839><TD
4840WIDTH="20%"
4841ALIGN="RIGHT"
4842VALIGN="TOP"
4843><TT
4844CLASS="PARAMETER"
4845><I
4846>ctxt</I
4847></TT
4848>&nbsp;:</TD
4849><TD
4850WIDTH="80%"
4851ALIGN="LEFT"
4852VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004853> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004854></TR
4855><TR
4856><TD
4857WIDTH="20%"
4858ALIGN="RIGHT"
4859VALIGN="TOP"
4860><TT
4861CLASS="PARAMETER"
4862><I
4863>value</I
4864></TT
4865>&nbsp;:</TD
4866><TD
4867WIDTH="80%"
4868ALIGN="LEFT"
4869VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004870> Receive a possible fixed default value for the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004871></TR
4872><TR
4873><TD
4874WIDTH="20%"
4875ALIGN="RIGHT"
4876VALIGN="TOP"
4877><I
4878CLASS="EMPHASIS"
4879>Returns</I
4880> :</TD
4881><TD
4882WIDTH="80%"
4883ALIGN="LEFT"
4884VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004885> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED
4886or XML_ATTRIBUTE_FIXED. </TD
Daniel Veillard35925471999-02-25 08:46:07 +00004887></TR
4888></TABLE
4889><P
4890></P
4891></DIV
4892></DIV
4893><HR><DIV
4894CLASS="REFSECT2"
4895><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00004896NAME="AEN13376"
Daniel Veillard35925471999-02-25 08:46:07 +00004897></A
4898><H3
4899><A
4900NAME="XMLPARSENOTATIONTYPE"
4901></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004902>xmlParseNotationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004903><TABLE
4904BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004905BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004906WIDTH="100%"
4907CELLPADDING="6"
4908><TR
4909><TD
4910><PRE
4911CLASS="PROGRAMLISTING"
4912><A
4913HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4914>xmlEnumerationPtr</A
4915> xmlParseNotationType (<A
4916HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4917>xmlParserCtxtPtr</A
4918> ctxt);</PRE
4919></TD
4920></TR
4921></TABLE
4922><P
4923>parse an Notation attribute type.</P
4924><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004925>Note: the leading 'NOTATION' S part has already being parsed...</P
4926><P
Daniel Veillard35925471999-02-25 08:46:07 +00004927>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
4928><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004929>[ VC: Notation Attributes ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004930Values of this type must match one of the notation names included
Daniel Veillardb05deb71999-08-10 19:04:08 +00004931in the declaration; all notation names in the declaration must be declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00004932><P
4933></P
4934><DIV
4935CLASS="INFORMALTABLE"
4936><P
4937></P
4938><TABLE
4939BORDER="0"
4940WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004941BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004942CELLSPACING="0"
4943CELLPADDING="4"
4944CLASS="CALSTABLE"
4945><TR
4946><TD
4947WIDTH="20%"
4948ALIGN="RIGHT"
4949VALIGN="TOP"
4950><TT
4951CLASS="PARAMETER"
4952><I
4953>ctxt</I
4954></TT
4955>&nbsp;:</TD
4956><TD
4957WIDTH="80%"
4958ALIGN="LEFT"
4959VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004960> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004961></TR
4962><TR
4963><TD
4964WIDTH="20%"
4965ALIGN="RIGHT"
4966VALIGN="TOP"
4967><I
4968CLASS="EMPHASIS"
4969>Returns</I
4970> :</TD
4971><TD
4972WIDTH="80%"
4973ALIGN="LEFT"
4974VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004975> the notation attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004976></TR
4977></TABLE
4978><P
4979></P
4980></DIV
4981></DIV
4982><HR><DIV
4983CLASS="REFSECT2"
4984><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00004985NAME="AEN13400"
Daniel Veillard35925471999-02-25 08:46:07 +00004986></A
4987><H3
4988><A
4989NAME="XMLPARSEENUMERATIONTYPE"
4990></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004991>xmlParseEnumerationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004992><TABLE
4993BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004994BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004995WIDTH="100%"
4996CELLPADDING="6"
4997><TR
4998><TD
4999><PRE
5000CLASS="PROGRAMLISTING"
5001><A
5002HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
5003>xmlEnumerationPtr</A
5004> xmlParseEnumerationType (<A
5005HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5006>xmlParserCtxtPtr</A
5007> ctxt);</PRE
5008></TD
5009></TR
5010></TABLE
5011><P
5012>parse an Enumeration attribute type.</P
5013><P
5014>[59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')'</P
5015><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005016>[ VC: Enumeration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005017Values of this type must match one of the Nmtoken tokens in
Daniel Veillardb05deb71999-08-10 19:04:08 +00005018the declaration</P
5019><P
Daniel Veillard35925471999-02-25 08:46:07 +00005020></P
5021><DIV
5022CLASS="INFORMALTABLE"
5023><P
5024></P
5025><TABLE
5026BORDER="0"
5027WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005028BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005029CELLSPACING="0"
5030CELLPADDING="4"
5031CLASS="CALSTABLE"
5032><TR
5033><TD
5034WIDTH="20%"
5035ALIGN="RIGHT"
5036VALIGN="TOP"
5037><TT
5038CLASS="PARAMETER"
5039><I
5040>ctxt</I
5041></TT
5042>&nbsp;:</TD
5043><TD
5044WIDTH="80%"
5045ALIGN="LEFT"
5046VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005047> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005048></TR
5049><TR
5050><TD
5051WIDTH="20%"
5052ALIGN="RIGHT"
5053VALIGN="TOP"
5054><I
5055CLASS="EMPHASIS"
5056>Returns</I
5057> :</TD
5058><TD
5059WIDTH="80%"
5060ALIGN="LEFT"
5061VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005062> the enumeration attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005063></TR
5064></TABLE
5065><P
5066></P
5067></DIV
5068></DIV
5069><HR><DIV
5070CLASS="REFSECT2"
5071><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00005072NAME="AEN13423"
Daniel Veillard35925471999-02-25 08:46:07 +00005073></A
5074><H3
5075><A
5076NAME="XMLPARSEENUMERATEDTYPE"
5077></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005078>xmlParseEnumeratedType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005079><TABLE
5080BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005081BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005082WIDTH="100%"
5083CELLPADDING="6"
5084><TR
5085><TD
5086><PRE
5087CLASS="PROGRAMLISTING"
5088>int xmlParseEnumeratedType (<A
5089HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5090>xmlParserCtxtPtr</A
5091> ctxt,
5092 <A
5093HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
5094>xmlEnumerationPtr</A
5095> *tree);</PRE
5096></TD
5097></TR
5098></TABLE
5099><P
5100>parse an Enumerated attribute type.</P
5101><P
5102>[57] EnumeratedType ::= NotationType | Enumeration</P
5103><P
5104>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
5105><P
5106></P
5107><DIV
5108CLASS="INFORMALTABLE"
5109><P
5110></P
5111><TABLE
5112BORDER="0"
5113WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005114BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005115CELLSPACING="0"
5116CELLPADDING="4"
5117CLASS="CALSTABLE"
5118><TR
5119><TD
5120WIDTH="20%"
5121ALIGN="RIGHT"
5122VALIGN="TOP"
5123><TT
5124CLASS="PARAMETER"
5125><I
5126>ctxt</I
5127></TT
5128>&nbsp;:</TD
5129><TD
5130WIDTH="80%"
5131ALIGN="LEFT"
5132VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005133> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005134></TR
5135><TR
5136><TD
5137WIDTH="20%"
5138ALIGN="RIGHT"
5139VALIGN="TOP"
5140><TT
5141CLASS="PARAMETER"
5142><I
5143>tree</I
5144></TT
5145>&nbsp;:</TD
5146><TD
5147WIDTH="80%"
5148ALIGN="LEFT"
5149VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005150> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005151></TR
5152><TR
5153><TD
5154WIDTH="20%"
5155ALIGN="RIGHT"
5156VALIGN="TOP"
5157><I
5158CLASS="EMPHASIS"
5159>Returns</I
5160> :</TD
5161><TD
5162WIDTH="80%"
5163ALIGN="LEFT"
5164VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005165> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005166></TR
5167></TABLE
5168><P
5169></P
5170></DIV
5171></DIV
5172><HR><DIV
5173CLASS="REFSECT2"
5174><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00005175NAME="AEN13450"
Daniel Veillard35925471999-02-25 08:46:07 +00005176></A
5177><H3
5178><A
5179NAME="XMLPARSEATTRIBUTETYPE"
5180></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005181>xmlParseAttributeType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005182><TABLE
5183BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005184BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005185WIDTH="100%"
5186CELLPADDING="6"
5187><TR
5188><TD
5189><PRE
5190CLASS="PROGRAMLISTING"
5191>int xmlParseAttributeType (<A
5192HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5193>xmlParserCtxtPtr</A
5194> ctxt,
5195 <A
5196HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
5197>xmlEnumerationPtr</A
5198> *tree);</PRE
5199></TD
5200></TR
5201></TABLE
5202><P
5203>parse the Attribute list def for an element</P
5204><P
5205>[54] AttType ::= StringType | TokenizedType | EnumeratedType</P
5206><P
5207>[55] StringType ::= 'CDATA'</P
5208><P
5209>[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' |
5210'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'</P
5211><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005212>Validity constraints for attribute values syntax are checked in
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005213<A
5214HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
5215>xmlValidateAttributeValue</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005216>()</P
5217><P
5218>[ VC: ID ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005219Values of type ID must match the Name production. A name must not
Daniel Veillardb05deb71999-08-10 19:04:08 +00005220appear more than once in an XML document as a value of this type;
5221i.e., ID values must uniquely identify the elements which bear them.</P
5222><P
5223>[ VC: One ID per Element Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005224No element type may have more than one ID attribute specified.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005225><P
5226>[ VC: ID Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005227An ID attribute must have a declared default of <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00005228HREF="IMPLIED"
5229>IMPLIED</GTKDOCLINK
5230> or <GTKDOCLINK
5231HREF="REQUIRED"
5232>REQUIRED</GTKDOCLINK
5233>.</P
5234><P
5235>[ VC: IDREF ]
5236Values of type IDREF must match the Name production, and values
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005237of type IDREFS must match Names; each IDREF Name must match the value
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005238of an ID attribute on some element in the XML document; i.e. IDREF
Daniel Veillardb05deb71999-08-10 19:04:08 +00005239values must match the value of some ID attribute.</P
5240><P
5241>[ VC: Entity Name ]
5242Values of type ENTITY must match the Name production, values
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005243of type ENTITIES must match Names; each Entity Name must match the
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005244name of an unparsed entity declared in the DTD. </P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005245><P
5246>[ VC: Name Token ]
5247Values of type NMTOKEN must match the Nmtoken production; values
5248of type NMTOKENS must match Nmtokens.</P
5249><P
Daniel Veillard35925471999-02-25 08:46:07 +00005250></P
5251><DIV
5252CLASS="INFORMALTABLE"
5253><P
5254></P
5255><TABLE
5256BORDER="0"
5257WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005258BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005259CELLSPACING="0"
5260CELLPADDING="4"
5261CLASS="CALSTABLE"
5262><TR
5263><TD
5264WIDTH="20%"
5265ALIGN="RIGHT"
5266VALIGN="TOP"
5267><TT
5268CLASS="PARAMETER"
5269><I
5270>ctxt</I
5271></TT
5272>&nbsp;:</TD
5273><TD
5274WIDTH="80%"
5275ALIGN="LEFT"
5276VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005277> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005278></TR
5279><TR
5280><TD
5281WIDTH="20%"
5282ALIGN="RIGHT"
5283VALIGN="TOP"
5284><TT
5285CLASS="PARAMETER"
5286><I
5287>tree</I
5288></TT
5289>&nbsp;:</TD
5290><TD
5291WIDTH="80%"
5292ALIGN="LEFT"
5293VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005294> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005295></TR
5296><TR
5297><TD
5298WIDTH="20%"
5299ALIGN="RIGHT"
5300VALIGN="TOP"
5301><I
5302CLASS="EMPHASIS"
5303>Returns</I
5304> :</TD
5305><TD
5306WIDTH="80%"
5307ALIGN="LEFT"
5308VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005309>the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005310></TR
5311></TABLE
5312><P
5313></P
5314></DIV
5315></DIV
5316><HR><DIV
5317CLASS="REFSECT2"
5318><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00005319NAME="AEN13488"
Daniel Veillard35925471999-02-25 08:46:07 +00005320></A
5321><H3
5322><A
5323NAME="XMLPARSEATTRIBUTELISTDECL"
5324></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005325>xmlParseAttributeListDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005326><TABLE
5327BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005328BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005329WIDTH="100%"
5330CELLPADDING="6"
5331><TR
5332><TD
5333><PRE
5334CLASS="PROGRAMLISTING"
5335>void xmlParseAttributeListDecl (<A
5336HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5337>xmlParserCtxtPtr</A
5338> ctxt);</PRE
5339></TD
5340></TR
5341></TABLE
5342><P
5343>: parse the Attribute list def for an element</P
5344><P
5345>[52] AttlistDecl ::= '&lt;!ATTLIST' S Name AttDef* S? '&gt;'</P
5346><P
5347>[53] AttDef ::= S Name S AttType S DefaultDecl</P
5348><P
5349></P
5350><DIV
5351CLASS="INFORMALTABLE"
5352><P
5353></P
5354><TABLE
5355BORDER="0"
5356WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005357BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005358CELLSPACING="0"
5359CELLPADDING="4"
5360CLASS="CALSTABLE"
5361><TR
5362><TD
5363WIDTH="20%"
5364ALIGN="RIGHT"
5365VALIGN="TOP"
5366><TT
5367CLASS="PARAMETER"
5368><I
5369>ctxt</I
5370></TT
5371>&nbsp;:</TD
5372><TD
5373WIDTH="80%"
5374ALIGN="LEFT"
5375VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005376> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005377></TR
5378></TABLE
5379><P
5380></P
5381></DIV
5382></DIV
5383><HR><DIV
5384CLASS="REFSECT2"
5385><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00005386NAME="AEN13506"
Daniel Veillard35925471999-02-25 08:46:07 +00005387></A
5388><H3
5389><A
5390NAME="XMLPARSEELEMENTMIXEDCONTENTDECL"
5391></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005392>xmlParseElementMixedContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005393><TABLE
5394BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005395BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005396WIDTH="100%"
5397CELLPADDING="6"
5398><TR
5399><TD
5400><PRE
5401CLASS="PROGRAMLISTING"
5402><A
5403HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
5404>xmlElementContentPtr</A
5405> xmlParseElementMixedContentDecl
5406 (<A
5407HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5408>xmlParserCtxtPtr</A
5409> ctxt);</PRE
5410></TD
5411></TR
5412></TABLE
5413><P
5414>parse the declaration for a Mixed Element content
5415The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
5416><P
5417>[51] Mixed ::= '(' S? '<GTKDOCLINK
5418HREF="PCDATA"
5419>PCDATA</GTKDOCLINK
5420>' (S? '|' S? Name)* S? ')*' |
5421'(' S? '<GTKDOCLINK
5422HREF="PCDATA"
5423>PCDATA</GTKDOCLINK
5424>' S? ')'</P
5425><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005426>[ VC: Proper Group/PE Nesting ] applies to [51] too (see [49])</P
5427><P
5428>[ VC: No Duplicate Types ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005429The same name must not appear more than once in a single
Daniel Veillardb05deb71999-08-10 19:04:08 +00005430mixed-content declaration.</P
5431><P
Daniel Veillard35925471999-02-25 08:46:07 +00005432></P
5433><DIV
5434CLASS="INFORMALTABLE"
5435><P
5436></P
5437><TABLE
5438BORDER="0"
5439WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005440BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005441CELLSPACING="0"
5442CELLPADDING="4"
5443CLASS="CALSTABLE"
5444><TR
5445><TD
5446WIDTH="20%"
5447ALIGN="RIGHT"
5448VALIGN="TOP"
5449><TT
5450CLASS="PARAMETER"
5451><I
5452>ctxt</I
5453></TT
5454>&nbsp;:</TD
5455><TD
5456WIDTH="80%"
5457ALIGN="LEFT"
5458VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005459> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005460></TR
5461><TR
5462><TD
5463WIDTH="20%"
5464ALIGN="RIGHT"
5465VALIGN="TOP"
5466><I
5467CLASS="EMPHASIS"
5468>Returns</I
5469> :</TD
5470><TD
5471WIDTH="80%"
5472ALIGN="LEFT"
5473VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005474> the list of the xmlElementContentPtr describing the element choices</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005475></TR
5476></TABLE
5477><P
5478></P
5479></DIV
5480></DIV
5481><HR><DIV
5482CLASS="REFSECT2"
5483><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00005484NAME="AEN13532"
Daniel Veillard35925471999-02-25 08:46:07 +00005485></A
5486><H3
5487><A
5488NAME="XMLPARSEELEMENTCHILDRENCONTENTDECL"
5489></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005490>xmlParseElementChildrenContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005491><TABLE
5492BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005493BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005494WIDTH="100%"
5495CELLPADDING="6"
5496><TR
5497><TD
5498><PRE
5499CLASS="PROGRAMLISTING"
5500><A
5501HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
5502>xmlElementContentPtr</A
5503> xmlParseElementChildrenContentDecl
5504 (<A
5505HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5506>xmlParserCtxtPtr</A
5507> ctxt);</PRE
5508></TD
5509></TR
5510></TABLE
5511><P
5512>parse the declaration for a Mixed Element content
5513The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
5514><P
5515>[47] children ::= (choice | seq) ('?' | '*' | '+')?</P
5516><P
5517>[48] cp ::= (Name | choice | seq) ('?' | '*' | '+')?</P
5518><P
5519>[49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')'</P
5520><P
5521>[50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'</P
5522><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005523>[ VC: Proper Group/PE Nesting ] applies to [49] and [50]
5524TODO Parameter-entity replacement text must be properly nested
5525with parenthetized groups. That is to say, if either of the
5526opening or closing parentheses in a choice, seq, or Mixed
5527construct is contained in the replacement text for a parameter
5528entity, both must be contained in the same replacement text. For
5529interoperability, if a parameter-entity reference appears in a
5530choice, seq, or Mixed construct, its replacement text should not
5531be empty, and neither the first nor last non-blank character of
5532the replacement text should be a connector (| or ,).</P
5533><P
Daniel Veillard35925471999-02-25 08:46:07 +00005534></P
5535><DIV
5536CLASS="INFORMALTABLE"
5537><P
5538></P
5539><TABLE
5540BORDER="0"
5541WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005542BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005543CELLSPACING="0"
5544CELLPADDING="4"
5545CLASS="CALSTABLE"
5546><TR
5547><TD
5548WIDTH="20%"
5549ALIGN="RIGHT"
5550VALIGN="TOP"
5551><TT
5552CLASS="PARAMETER"
5553><I
5554>ctxt</I
5555></TT
5556>&nbsp;:</TD
5557><TD
5558WIDTH="80%"
5559ALIGN="LEFT"
5560VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005561> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005562></TR
5563><TR
5564><TD
5565WIDTH="20%"
5566ALIGN="RIGHT"
5567VALIGN="TOP"
5568><I
5569CLASS="EMPHASIS"
5570>Returns</I
5571> :</TD
5572><TD
5573WIDTH="80%"
5574ALIGN="LEFT"
5575VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005576> the tree of xmlElementContentPtr describing the element
5577hierarchy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005578></TR
5579></TABLE
5580><P
5581></P
5582></DIV
5583></DIV
5584><HR><DIV
5585CLASS="REFSECT2"
5586><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00005587NAME="AEN13558"
Daniel Veillard35925471999-02-25 08:46:07 +00005588></A
5589><H3
5590><A
5591NAME="XMLPARSEELEMENTCONTENTDECL"
5592></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005593>xmlParseElementContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005594><TABLE
5595BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005596BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005597WIDTH="100%"
5598CELLPADDING="6"
5599><TR
5600><TD
5601><PRE
5602CLASS="PROGRAMLISTING"
5603>int xmlParseElementContentDecl (<A
5604HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5605>xmlParserCtxtPtr</A
5606> ctxt,
5607 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005608HREF="gnome-xml-tree.html#XMLCHAR"
5609>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005610> *name,
5611 <A
5612HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
5613>xmlElementContentPtr</A
5614> *result);</PRE
5615></TD
5616></TR
5617></TABLE
5618><P
5619>parse the declaration for an Element content either Mixed or Children,
5620the cases EMPTY and ANY are handled directly in xmlParseElementDecl</P
5621><P
5622>[46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</P
5623><P
5624></P
5625><DIV
5626CLASS="INFORMALTABLE"
5627><P
5628></P
5629><TABLE
5630BORDER="0"
5631WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005632BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005633CELLSPACING="0"
5634CELLPADDING="4"
5635CLASS="CALSTABLE"
5636><TR
5637><TD
5638WIDTH="20%"
5639ALIGN="RIGHT"
5640VALIGN="TOP"
5641><TT
5642CLASS="PARAMETER"
5643><I
5644>ctxt</I
5645></TT
5646>&nbsp;:</TD
5647><TD
5648WIDTH="80%"
5649ALIGN="LEFT"
5650VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005651> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005652></TR
5653><TR
5654><TD
5655WIDTH="20%"
5656ALIGN="RIGHT"
5657VALIGN="TOP"
5658><TT
5659CLASS="PARAMETER"
5660><I
5661>name</I
5662></TT
5663>&nbsp;:</TD
5664><TD
5665WIDTH="80%"
5666ALIGN="LEFT"
5667VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005668> the name of the element being defined.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005669></TR
5670><TR
5671><TD
5672WIDTH="20%"
5673ALIGN="RIGHT"
5674VALIGN="TOP"
5675><TT
5676CLASS="PARAMETER"
5677><I
5678>result</I
5679></TT
5680>&nbsp;:</TD
5681><TD
5682WIDTH="80%"
5683ALIGN="LEFT"
5684VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005685> the Element Content pointer will be stored here if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005686></TR
5687><TR
5688><TD
5689WIDTH="20%"
5690ALIGN="RIGHT"
5691VALIGN="TOP"
5692><I
5693CLASS="EMPHASIS"
5694>Returns</I
5695> :</TD
5696><TD
5697WIDTH="80%"
5698ALIGN="LEFT"
5699VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005700> the type of element content XML_ELEMENT_TYPE_xxx</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005701></TR
5702></TABLE
5703><P
5704></P
5705></DIV
5706></DIV
5707><HR><DIV
5708CLASS="REFSECT2"
5709><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00005710NAME="AEN13589"
Daniel Veillard35925471999-02-25 08:46:07 +00005711></A
5712><H3
5713><A
5714NAME="XMLPARSEELEMENTDECL"
5715></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005716>xmlParseElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005717><TABLE
5718BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005719BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005720WIDTH="100%"
5721CELLPADDING="6"
5722><TR
5723><TD
5724><PRE
5725CLASS="PROGRAMLISTING"
5726>int xmlParseElementDecl (<A
5727HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5728>xmlParserCtxtPtr</A
5729> ctxt);</PRE
5730></TD
5731></TR
5732></TABLE
5733><P
5734>parse an Element declaration.</P
5735><P
5736>[45] elementdecl ::= '&lt;!ELEMENT' S Name S contentspec S? '&gt;'</P
5737><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005738>[ VC: Unique Element Type Declaration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005739No element type may be declared more than once</P
Daniel Veillard35925471999-02-25 08:46:07 +00005740><P
5741></P
5742><DIV
5743CLASS="INFORMALTABLE"
5744><P
5745></P
5746><TABLE
5747BORDER="0"
5748WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005749BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005750CELLSPACING="0"
5751CELLPADDING="4"
5752CLASS="CALSTABLE"
5753><TR
5754><TD
5755WIDTH="20%"
5756ALIGN="RIGHT"
5757VALIGN="TOP"
5758><TT
5759CLASS="PARAMETER"
5760><I
5761>ctxt</I
5762></TT
5763>&nbsp;:</TD
5764><TD
5765WIDTH="80%"
5766ALIGN="LEFT"
5767VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005768> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005769></TR
5770><TR
5771><TD
5772WIDTH="20%"
5773ALIGN="RIGHT"
5774VALIGN="TOP"
5775><I
5776CLASS="EMPHASIS"
5777>Returns</I
5778> :</TD
5779><TD
5780WIDTH="80%"
5781ALIGN="LEFT"
5782VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005783>the type of the element, or -1 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005784></TR
5785></TABLE
5786><P
5787></P
5788></DIV
5789></DIV
5790><HR><DIV
5791CLASS="REFSECT2"
5792><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00005793NAME="AEN13611"
Daniel Veillard35925471999-02-25 08:46:07 +00005794></A
5795><H3
5796><A
5797NAME="XMLPARSEMARKUPDECL"
5798></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005799>xmlParseMarkupDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005800><TABLE
5801BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005802BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005803WIDTH="100%"
5804CELLPADDING="6"
5805><TR
5806><TD
5807><PRE
5808CLASS="PROGRAMLISTING"
5809>void xmlParseMarkupDecl (<A
5810HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5811>xmlParserCtxtPtr</A
5812> ctxt);</PRE
5813></TD
5814></TR
5815></TABLE
5816><P
5817>parse Markup declarations</P
5818><P
5819>[29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
5820NotationDecl | PI | Comment</P
5821><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005822>[ VC: Proper Declaration/PE Nesting ]
5823TODO Parameter-entity replacement text must be properly nested with
5824markup declarations. That is to say, if either the first character
5825or the last character of a markup declaration (markupdecl above) is
5826contained in the replacement text for a parameter-entity reference,
5827both must be contained in the same replacement text.</P
5828><P
5829>[ WFC: PEs in Internal Subset ]
5830In the internal DTD subset, parameter-entity references can occur
5831only where markup declarations can occur, not within markup declarations.
5832(This does not apply to references that occur in external parameter
5833entities or to the external subset.)</P
Daniel Veillard35925471999-02-25 08:46:07 +00005834><P
5835></P
5836><DIV
5837CLASS="INFORMALTABLE"
5838><P
5839></P
5840><TABLE
5841BORDER="0"
5842WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005843BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005844CELLSPACING="0"
5845CELLPADDING="4"
5846CLASS="CALSTABLE"
5847><TR
5848><TD
5849WIDTH="20%"
5850ALIGN="RIGHT"
5851VALIGN="TOP"
5852><TT
5853CLASS="PARAMETER"
5854><I
5855>ctxt</I
5856></TT
5857>&nbsp;:</TD
5858><TD
5859WIDTH="80%"
5860ALIGN="LEFT"
5861VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005862> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005863></TR
5864></TABLE
5865><P
5866></P
5867></DIV
5868></DIV
5869><HR><DIV
5870CLASS="REFSECT2"
5871><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00005872NAME="AEN13630"
Daniel Veillard35925471999-02-25 08:46:07 +00005873></A
5874><H3
5875><A
5876NAME="XMLPARSECHARREF"
5877></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005878>xmlParseCharRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005879><TABLE
5880BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005881BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005882WIDTH="100%"
5883CELLPADDING="6"
5884><TR
5885><TD
5886><PRE
5887CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005888>int xmlParseCharRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005889HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5890>xmlParserCtxtPtr</A
5891> ctxt);</PRE
5892></TD
5893></TR
5894></TABLE
5895><P
5896>parse Reference declarations</P
5897><P
5898>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
5899'&amp;<GTKDOCLINK
5900HREF="X"
5901>x</GTKDOCLINK
5902>' [0-9a-fA-F]+ ';'</P
5903><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005904>[ WFC: Legal Character ]
5905Characters referred to using character references must match the
5906production for Char.</P
5907><P
Daniel Veillard35925471999-02-25 08:46:07 +00005908></P
5909><DIV
5910CLASS="INFORMALTABLE"
5911><P
5912></P
5913><TABLE
5914BORDER="0"
5915WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005916BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005917CELLSPACING="0"
5918CELLPADDING="4"
5919CLASS="CALSTABLE"
5920><TR
5921><TD
5922WIDTH="20%"
5923ALIGN="RIGHT"
5924VALIGN="TOP"
5925><TT
5926CLASS="PARAMETER"
5927><I
5928>ctxt</I
5929></TT
5930>&nbsp;:</TD
5931><TD
5932WIDTH="80%"
5933ALIGN="LEFT"
5934VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005935> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005936></TR
5937><TR
5938><TD
5939WIDTH="20%"
5940ALIGN="RIGHT"
5941VALIGN="TOP"
5942><I
5943CLASS="EMPHASIS"
5944>Returns</I
5945> :</TD
5946><TD
5947WIDTH="80%"
5948ALIGN="LEFT"
5949VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005950>the value parsed (as an int), 0 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005951></TR
5952></TABLE
5953><P
5954></P
5955></DIV
5956></DIV
5957><HR><DIV
5958CLASS="REFSECT2"
5959><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00005960NAME="AEN13653"
Daniel Veillard35925471999-02-25 08:46:07 +00005961></A
5962><H3
5963><A
5964NAME="XMLPARSEENTITYREF"
5965></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005966>xmlParseEntityRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005967><TABLE
5968BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005969BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005970WIDTH="100%"
5971CELLPADDING="6"
5972><TR
5973><TD
5974><PRE
5975CLASS="PROGRAMLISTING"
5976><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005977HREF="gnome-xml-entities.html#XMLENTITYPTR"
5978>xmlEntityPtr</A
5979> xmlParseEntityRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005980HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5981>xmlParserCtxtPtr</A
5982> ctxt);</PRE
5983></TD
5984></TR
5985></TABLE
5986><P
5987>parse ENTITY references declarations</P
5988><P
5989>[68] EntityRef ::= '&amp;' Name ';'</P
5990><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005991>[ WFC: Entity Declared ]
5992In a document without any DTD, a document with only an internal DTD
5993subset which contains no parameter entity references, or a document
5994with "standalone='yes'", the Name given in the entity reference
5995must match that in an entity declaration, except that well-formed
5996documents need not declare any of the following entities: amp, lt,
5997gt, apos, quot. The declaration of a parameter entity must precede
5998any reference to it. Similarly, the declaration of a general entity
5999must precede any reference to it which appears in a default value in an
6000attribute-list declaration. Note that if entities are declared in the
6001external subset or in external parameter entities, a non-validating
6002processor is not obligated to read and process their declarations;
6003for such documents, the rule that an entity must be declared is a
6004well-formedness constraint only if standalone='yes'.</P
6005><P
6006>[ WFC: Parsed Entity ]
6007An entity reference must not contain the name of an unparsed entity</P
6008><P
Daniel Veillard35925471999-02-25 08:46:07 +00006009></P
6010><DIV
6011CLASS="INFORMALTABLE"
6012><P
6013></P
6014><TABLE
6015BORDER="0"
6016WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006017BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006018CELLSPACING="0"
6019CELLPADDING="4"
6020CLASS="CALSTABLE"
6021><TR
6022><TD
6023WIDTH="20%"
6024ALIGN="RIGHT"
6025VALIGN="TOP"
6026><TT
6027CLASS="PARAMETER"
6028><I
6029>ctxt</I
6030></TT
6031>&nbsp;:</TD
6032><TD
6033WIDTH="80%"
6034ALIGN="LEFT"
6035VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006036> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006037></TR
6038><TR
6039><TD
6040WIDTH="20%"
6041ALIGN="RIGHT"
6042VALIGN="TOP"
6043><I
6044CLASS="EMPHASIS"
6045>Returns</I
6046> :</TD
6047><TD
6048WIDTH="80%"
6049ALIGN="LEFT"
6050VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006051>the xmlEntityPtr if found, or NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006052></TR
6053></TABLE
6054><P
6055></P
6056></DIV
6057></DIV
6058><HR><DIV
6059CLASS="REFSECT2"
6060><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00006061NAME="AEN13677"
Daniel Veillard35925471999-02-25 08:46:07 +00006062></A
6063><H3
6064><A
6065NAME="XMLPARSEREFERENCE"
6066></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006067>xmlParseReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006068><TABLE
6069BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006070BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006071WIDTH="100%"
6072CELLPADDING="6"
6073><TR
6074><TD
6075><PRE
6076CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006077>void xmlParseReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006078HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6079>xmlParserCtxtPtr</A
6080> ctxt);</PRE
6081></TD
6082></TR
6083></TABLE
6084><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00006085>parse and handle entity references in content, depending on the SAX
6086interface, this may end-up in a call to <GTKDOCLINK
6087HREF="CHARACTER"
6088>character</GTKDOCLINK
6089>() if this is a
Daniel Veillard294cbca1999-12-03 13:19:09 +00006090CharRef, a predefined entity, if there is no <A
6091HREF="gnome-xml-sax.html#REFERENCE"
6092>reference</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00006093>() callback.
6094or if the parser was asked to switch to that mode.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006095><P
6096>[67] Reference ::= EntityRef | CharRef</P
6097><P
6098></P
6099><DIV
6100CLASS="INFORMALTABLE"
6101><P
6102></P
6103><TABLE
6104BORDER="0"
6105WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006106BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006107CELLSPACING="0"
6108CELLPADDING="4"
6109CLASS="CALSTABLE"
6110><TR
6111><TD
6112WIDTH="20%"
6113ALIGN="RIGHT"
6114VALIGN="TOP"
6115><TT
6116CLASS="PARAMETER"
6117><I
6118>ctxt</I
6119></TT
6120>&nbsp;:</TD
6121><TD
6122WIDTH="80%"
6123ALIGN="LEFT"
6124VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006125> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006126></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006127></TABLE
6128><P
6129></P
6130></DIV
6131></DIV
6132><HR><DIV
6133CLASS="REFSECT2"
6134><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00006135NAME="AEN13696"
Daniel Veillard35925471999-02-25 08:46:07 +00006136></A
6137><H3
6138><A
6139NAME="XMLPARSEPEREFERENCE"
6140></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006141>xmlParsePEReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006142><TABLE
6143BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006144BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006145WIDTH="100%"
6146CELLPADDING="6"
6147><TR
6148><TD
6149><PRE
6150CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006151>void xmlParsePEReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006152HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6153>xmlParserCtxtPtr</A
6154> ctxt);</PRE
6155></TD
6156></TR
6157></TABLE
6158><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00006159>parse PEReference declarations
6160The entity content is handled directly by pushing it's content as
6161a new input stream.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006162><P
6163>[69] PEReference ::= '%' Name ';'</P
6164><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006165>[ WFC: No Recursion ]
6166TODO A parsed entity must not contain a recursive
6167reference to itself, either directly or indirectly. </P
6168><P
6169>[ WFC: Entity Declared ]
6170In a document without any DTD, a document with only an internal DTD
6171subset which contains no parameter entity references, or a document
6172with "standalone='yes'", ... ... The declaration of a parameter
6173entity must precede any reference to it...</P
6174><P
6175>[ VC: Entity Declared ]
6176In a document with an external subset or external parameter entities
6177with "standalone='no'", ... ... The declaration of a parameter entity
6178must precede any reference to it...</P
6179><P
6180>[ WFC: In DTD ]
6181Parameter-entity references may only appear in the DTD.
6182NOTE: misleading but this is handled.</P
6183><P
Daniel Veillard35925471999-02-25 08:46:07 +00006184></P
6185><DIV
6186CLASS="INFORMALTABLE"
6187><P
6188></P
6189><TABLE
6190BORDER="0"
6191WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006192BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006193CELLSPACING="0"
6194CELLPADDING="4"
6195CLASS="CALSTABLE"
6196><TR
6197><TD
6198WIDTH="20%"
6199ALIGN="RIGHT"
6200VALIGN="TOP"
6201><TT
6202CLASS="PARAMETER"
6203><I
6204>ctxt</I
6205></TT
6206>&nbsp;:</TD
6207><TD
6208WIDTH="80%"
6209ALIGN="LEFT"
6210VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006211> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006212></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006213></TABLE
6214><P
6215></P
6216></DIV
6217></DIV
6218><HR><DIV
6219CLASS="REFSECT2"
6220><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00006221NAME="AEN13717"
Daniel Veillard35925471999-02-25 08:46:07 +00006222></A
6223><H3
6224><A
6225NAME="XMLPARSEDOCTYPEDECL"
6226></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006227>xmlParseDocTypeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006228><TABLE
6229BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006230BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006231WIDTH="100%"
6232CELLPADDING="6"
6233><TR
6234><TD
6235><PRE
6236CLASS="PROGRAMLISTING"
6237>void xmlParseDocTypeDecl (<A
6238HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6239>xmlParserCtxtPtr</A
6240> ctxt);</PRE
6241></TD
6242></TR
6243></TABLE
6244><P
6245>parse a DOCTYPE declaration</P
6246><P
6247>[28] doctypedecl ::= '&lt;!DOCTYPE' S Name (S ExternalID)? S?
6248('[' (markupdecl | PEReference | S)* ']' S?)? '&gt;'</P
6249><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006250>[ VC: Root Element Type ]
6251The Name in the document type declaration must match the element
6252type of the root element.</P
6253><P
Daniel Veillard35925471999-02-25 08:46:07 +00006254></P
6255><DIV
6256CLASS="INFORMALTABLE"
6257><P
6258></P
6259><TABLE
6260BORDER="0"
6261WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006262BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006263CELLSPACING="0"
6264CELLPADDING="4"
6265CLASS="CALSTABLE"
6266><TR
6267><TD
6268WIDTH="20%"
6269ALIGN="RIGHT"
6270VALIGN="TOP"
6271><TT
6272CLASS="PARAMETER"
6273><I
6274>ctxt</I
6275></TT
6276>&nbsp;:</TD
6277><TD
6278WIDTH="80%"
6279ALIGN="LEFT"
6280VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006281> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006282></TR
6283></TABLE
6284><P
6285></P
6286></DIV
6287></DIV
6288><HR><DIV
6289CLASS="REFSECT2"
6290><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00006291NAME="AEN13735"
Daniel Veillard35925471999-02-25 08:46:07 +00006292></A
6293><H3
6294><A
6295NAME="XMLPARSEATTRIBUTE"
6296></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006297>xmlParseAttribute ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006298><TABLE
6299BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006300BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006301WIDTH="100%"
6302CELLPADDING="6"
6303><TR
6304><TD
6305><PRE
6306CLASS="PROGRAMLISTING"
6307><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006308HREF="gnome-xml-tree.html#XMLCHAR"
6309>xmlChar</A
6310>* xmlParseAttribute (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006311HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6312>xmlParserCtxtPtr</A
6313> ctxt,
6314 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006315HREF="gnome-xml-tree.html#XMLCHAR"
6316>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006317> **value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00006318></TD
6319></TR
6320></TABLE
6321><P
6322>parse an attribute</P
6323><P
6324>[41] Attribute ::= Name Eq AttValue</P
6325><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006326>[ WFC: No External Entity References ]
6327Attribute values cannot contain direct or indirect entity references
6328to external entities.</P
6329><P
6330>[ WFC: No &lt; in Attribute Values ]
6331The replacement text of any entity referred to directly or indirectly in
6332an attribute value (other than "&amp;lt;") must not contain a &lt;. </P
6333><P
6334>[ VC: Attribute Value Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006335The attribute must have been declared; the value must be of the type
Daniel Veillardb05deb71999-08-10 19:04:08 +00006336declared for it.</P
6337><P
Daniel Veillard35925471999-02-25 08:46:07 +00006338>[25] Eq ::= S? '=' S?</P
6339><P
6340>With namespace:</P
6341><P
6342>[NS 11] Attribute ::= QName Eq AttValue</P
6343><P
6344>Also the case QName == xmlns:??? is handled independently as a namespace
6345definition.</P
6346><P
6347></P
6348><DIV
6349CLASS="INFORMALTABLE"
6350><P
6351></P
6352><TABLE
6353BORDER="0"
6354WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006355BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006356CELLSPACING="0"
6357CELLPADDING="4"
6358CLASS="CALSTABLE"
6359><TR
6360><TD
6361WIDTH="20%"
6362ALIGN="RIGHT"
6363VALIGN="TOP"
6364><TT
6365CLASS="PARAMETER"
6366><I
6367>ctxt</I
6368></TT
6369>&nbsp;:</TD
6370><TD
6371WIDTH="80%"
6372ALIGN="LEFT"
6373VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006374> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006375></TR
6376><TR
6377><TD
6378WIDTH="20%"
6379ALIGN="RIGHT"
6380VALIGN="TOP"
6381><TT
6382CLASS="PARAMETER"
6383><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00006384>value</I
Daniel Veillard35925471999-02-25 08:46:07 +00006385></TT
6386>&nbsp;:</TD
6387><TD
6388WIDTH="80%"
6389ALIGN="LEFT"
6390VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006391> a xmlChar ** used to store the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006392></TR
6393><TR
6394><TD
6395WIDTH="20%"
6396ALIGN="RIGHT"
6397VALIGN="TOP"
6398><I
6399CLASS="EMPHASIS"
6400>Returns</I
6401> :</TD
6402><TD
6403WIDTH="80%"
6404ALIGN="LEFT"
6405VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006406>the attribute name, and the value in *value.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006407></TR
6408></TABLE
6409><P
6410></P
6411></DIV
6412></DIV
6413><HR><DIV
6414CLASS="REFSECT2"
6415><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00006416NAME="AEN13769"
Daniel Veillard35925471999-02-25 08:46:07 +00006417></A
6418><H3
6419><A
6420NAME="XMLPARSESTARTTAG"
6421></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006422>xmlParseStartTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006423><TABLE
6424BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006425BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006426WIDTH="100%"
6427CELLPADDING="6"
6428><TR
6429><TD
6430><PRE
6431CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00006432><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006433HREF="gnome-xml-tree.html#XMLCHAR"
6434>xmlChar</A
6435>* xmlParseStartTag (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006436HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6437>xmlParserCtxtPtr</A
6438> ctxt);</PRE
6439></TD
6440></TR
6441></TABLE
6442><P
6443>parse a start of tag either for rule element or
6444EmptyElement. In both case we don't parse the tag closing chars.</P
6445><P
6446>[40] STag ::= '&lt;' Name (S Attribute)* S? '&gt;'</P
6447><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006448>[ WFC: Unique Att Spec ]
6449No attribute name may appear more than once in the same start-tag or
6450empty-element tag. </P
6451><P
Daniel Veillard35925471999-02-25 08:46:07 +00006452>[44] EmptyElemTag ::= '&lt;' Name (S Attribute)* S? '/&gt;'</P
6453><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006454>[ WFC: Unique Att Spec ]
6455No attribute name may appear more than once in the same start-tag or
6456empty-element tag. </P
6457><P
Daniel Veillard35925471999-02-25 08:46:07 +00006458>With namespace:</P
6459><P
6460>[NS 8] STag ::= '&lt;' QName (S Attribute)* S? '&gt;'</P
6461><P
6462>[NS 10] EmptyElement ::= '&lt;' QName (S Attribute)* S? '/&gt;'</P
6463><P
6464></P
6465><DIV
6466CLASS="INFORMALTABLE"
6467><P
6468></P
6469><TABLE
6470BORDER="0"
6471WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006472BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006473CELLSPACING="0"
6474CELLPADDING="4"
6475CLASS="CALSTABLE"
6476><TR
6477><TD
6478WIDTH="20%"
6479ALIGN="RIGHT"
6480VALIGN="TOP"
6481><TT
6482CLASS="PARAMETER"
6483><I
6484>ctxt</I
6485></TT
6486>&nbsp;:</TD
6487><TD
6488WIDTH="80%"
6489ALIGN="LEFT"
6490VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006491> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006492></TR
Daniel Veillard14fff061999-06-22 21:49:07 +00006493><TR
6494><TD
6495WIDTH="20%"
6496ALIGN="RIGHT"
6497VALIGN="TOP"
6498><I
6499CLASS="EMPHASIS"
6500>Returns</I
6501> :</TD
6502><TD
6503WIDTH="80%"
6504ALIGN="LEFT"
6505VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006506>the element name parsed</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006507></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006508></TABLE
6509><P
6510></P
6511></DIV
6512></DIV
6513><HR><DIV
6514CLASS="REFSECT2"
6515><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00006516NAME="AEN13797"
Daniel Veillard35925471999-02-25 08:46:07 +00006517></A
6518><H3
6519><A
6520NAME="XMLPARSEENDTAG"
6521></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006522>xmlParseEndTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006523><TABLE
6524BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006525BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006526WIDTH="100%"
6527CELLPADDING="6"
6528><TR
6529><TD
6530><PRE
6531CLASS="PROGRAMLISTING"
6532>void xmlParseEndTag (<A
6533HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6534>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +00006535> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00006536></TD
6537></TR
6538></TABLE
6539><P
6540>parse an end of tag</P
6541><P
6542>[42] ETag ::= '&lt;/' Name S? '&gt;'</P
6543><P
6544>With namespace</P
6545><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00006546>[NS 9] ETag ::= '&lt;/' QName S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00006547><P
6548></P
6549><DIV
6550CLASS="INFORMALTABLE"
6551><P
6552></P
6553><TABLE
6554BORDER="0"
6555WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006556BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006557CELLSPACING="0"
6558CELLPADDING="4"
6559CLASS="CALSTABLE"
6560><TR
6561><TD
6562WIDTH="20%"
6563ALIGN="RIGHT"
6564VALIGN="TOP"
6565><TT
6566CLASS="PARAMETER"
6567><I
6568>ctxt</I
6569></TT
6570>&nbsp;:</TD
6571><TD
6572WIDTH="80%"
6573ALIGN="LEFT"
6574VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006575> an XML parser context</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006576></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006577></TABLE
6578><P
6579></P
6580></DIV
6581></DIV
6582><HR><DIV
6583CLASS="REFSECT2"
6584><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00006585NAME="AEN13816"
Daniel Veillard35925471999-02-25 08:46:07 +00006586></A
6587><H3
6588><A
6589NAME="XMLPARSECDSECT"
6590></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006591>xmlParseCDSect ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006592><TABLE
6593BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006594BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006595WIDTH="100%"
6596CELLPADDING="6"
6597><TR
6598><TD
6599><PRE
6600CLASS="PROGRAMLISTING"
6601>void xmlParseCDSect (<A
6602HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6603>xmlParserCtxtPtr</A
6604> ctxt);</PRE
6605></TD
6606></TR
6607></TABLE
6608><P
6609>Parse escaped pure raw content.</P
6610><P
6611>[18] CDSect ::= CDStart CData CDEnd</P
6612><P
6613>[19] CDStart ::= '&lt;![CDATA['</P
6614><P
6615>[20] Data ::= (Char* - (Char* ']]&gt;' Char*))</P
6616><P
6617>[21] CDEnd ::= ']]&gt;'</P
6618><P
6619></P
6620><DIV
6621CLASS="INFORMALTABLE"
6622><P
6623></P
6624><TABLE
6625BORDER="0"
6626WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006627BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006628CELLSPACING="0"
6629CELLPADDING="4"
6630CLASS="CALSTABLE"
6631><TR
6632><TD
6633WIDTH="20%"
6634ALIGN="RIGHT"
6635VALIGN="TOP"
6636><TT
6637CLASS="PARAMETER"
6638><I
6639>ctxt</I
6640></TT
6641>&nbsp;:</TD
6642><TD
6643WIDTH="80%"
6644ALIGN="LEFT"
6645VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006646> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006647></TR
6648></TABLE
6649><P
6650></P
6651></DIV
6652></DIV
6653><HR><DIV
6654CLASS="REFSECT2"
6655><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00006656NAME="AEN13836"
Daniel Veillard35925471999-02-25 08:46:07 +00006657></A
6658><H3
6659><A
6660NAME="XMLPARSECONTENT"
6661></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006662>xmlParseContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006663><TABLE
6664BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006665BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006666WIDTH="100%"
6667CELLPADDING="6"
6668><TR
6669><TD
6670><PRE
6671CLASS="PROGRAMLISTING"
6672>void xmlParseContent (<A
6673HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6674>xmlParserCtxtPtr</A
6675> ctxt);</PRE
6676></TD
6677></TR
6678></TABLE
6679><P
6680>Parse a content:</P
6681><P
6682>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
6683><P
6684></P
6685><DIV
6686CLASS="INFORMALTABLE"
6687><P
6688></P
6689><TABLE
6690BORDER="0"
6691WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006692BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006693CELLSPACING="0"
6694CELLPADDING="4"
6695CLASS="CALSTABLE"
6696><TR
6697><TD
6698WIDTH="20%"
6699ALIGN="RIGHT"
6700VALIGN="TOP"
6701><TT
6702CLASS="PARAMETER"
6703><I
6704>ctxt</I
6705></TT
6706>&nbsp;:</TD
6707><TD
6708WIDTH="80%"
6709ALIGN="LEFT"
6710VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006711> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006712></TR
6713></TABLE
6714><P
6715></P
6716></DIV
6717></DIV
6718><HR><DIV
6719CLASS="REFSECT2"
6720><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00006721NAME="AEN13853"
Daniel Veillard35925471999-02-25 08:46:07 +00006722></A
6723><H3
6724><A
6725NAME="XMLPARSEELEMENT"
6726></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006727>xmlParseElement ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006728><TABLE
6729BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006730BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006731WIDTH="100%"
6732CELLPADDING="6"
6733><TR
6734><TD
6735><PRE
6736CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00006737>void xmlParseElement (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006738HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6739>xmlParserCtxtPtr</A
6740> ctxt);</PRE
6741></TD
6742></TR
6743></TABLE
6744><P
6745>parse an XML element, this is highly recursive</P
6746><P
6747>[39] element ::= EmptyElemTag | STag content ETag</P
6748><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006749>[ WFC: Element Type Match ]
6750The Name in an element's end-tag must match the element type in the
6751start-tag. </P
6752><P
6753>[ VC: Element Valid ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006754An element is valid if there is a declaration matching elementdecl
Daniel Veillardb05deb71999-08-10 19:04:08 +00006755where the Name matches the element type and one of the following holds:
6756- The declaration matches EMPTY and the element has no content.
6757- The declaration matches children and the sequence of child elements
6758belongs to the language generated by the regular expression in the
6759content model, with optional white space (characters matching the
6760nonterminal S) between each pair of child elements.
6761- The declaration matches Mixed and the content consists of character
6762data and child elements whose types match names in the content model.
6763- The declaration matches ANY, and the types of any child elements have
6764been declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006765><P
6766></P
6767><DIV
6768CLASS="INFORMALTABLE"
6769><P
6770></P
6771><TABLE
6772BORDER="0"
6773WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006774BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006775CELLSPACING="0"
6776CELLPADDING="4"
6777CLASS="CALSTABLE"
6778><TR
6779><TD
6780WIDTH="20%"
6781ALIGN="RIGHT"
6782VALIGN="TOP"
6783><TT
6784CLASS="PARAMETER"
6785><I
6786>ctxt</I
6787></TT
6788>&nbsp;:</TD
6789><TD
6790WIDTH="80%"
6791ALIGN="LEFT"
6792VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006793> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006794></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006795></TABLE
6796><P
6797></P
6798></DIV
6799></DIV
6800><HR><DIV
6801CLASS="REFSECT2"
6802><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00006803NAME="AEN13872"
Daniel Veillard35925471999-02-25 08:46:07 +00006804></A
6805><H3
6806><A
6807NAME="XMLPARSEVERSIONNUM"
6808></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006809>xmlParseVersionNum ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006810><TABLE
6811BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006812BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006813WIDTH="100%"
6814CELLPADDING="6"
6815><TR
6816><TD
6817><PRE
6818CLASS="PROGRAMLISTING"
6819><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006820HREF="gnome-xml-tree.html#XMLCHAR"
6821>xmlChar</A
6822>* xmlParseVersionNum (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006823HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6824>xmlParserCtxtPtr</A
6825> ctxt);</PRE
6826></TD
6827></TR
6828></TABLE
6829><P
6830>parse the XML version value.</P
6831><P
6832>[26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</P
6833><P
6834></P
6835><DIV
6836CLASS="INFORMALTABLE"
6837><P
6838></P
6839><TABLE
6840BORDER="0"
6841WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006842BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006843CELLSPACING="0"
6844CELLPADDING="4"
6845CLASS="CALSTABLE"
6846><TR
6847><TD
6848WIDTH="20%"
6849ALIGN="RIGHT"
6850VALIGN="TOP"
6851><TT
6852CLASS="PARAMETER"
6853><I
6854>ctxt</I
6855></TT
6856>&nbsp;:</TD
6857><TD
6858WIDTH="80%"
6859ALIGN="LEFT"
6860VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006861> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006862></TR
6863><TR
6864><TD
6865WIDTH="20%"
6866ALIGN="RIGHT"
6867VALIGN="TOP"
6868><I
6869CLASS="EMPHASIS"
6870>Returns</I
6871> :</TD
6872><TD
6873WIDTH="80%"
6874ALIGN="LEFT"
6875VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006876>the string giving the XML version number, or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006877></TR
6878></TABLE
6879><P
6880></P
6881></DIV
6882></DIV
6883><HR><DIV
6884CLASS="REFSECT2"
6885><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00006886NAME="AEN13894"
Daniel Veillard35925471999-02-25 08:46:07 +00006887></A
6888><H3
6889><A
6890NAME="XMLPARSEVERSIONINFO"
6891></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006892>xmlParseVersionInfo ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006893><TABLE
6894BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006895BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006896WIDTH="100%"
6897CELLPADDING="6"
6898><TR
6899><TD
6900><PRE
6901CLASS="PROGRAMLISTING"
6902><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006903HREF="gnome-xml-tree.html#XMLCHAR"
6904>xmlChar</A
6905>* xmlParseVersionInfo (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006906HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6907>xmlParserCtxtPtr</A
6908> ctxt);</PRE
6909></TD
6910></TR
6911></TABLE
6912><P
6913>parse the XML version.</P
6914><P
6915>[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")</P
6916><P
6917>[25] Eq ::= S? '=' S?</P
6918><P
6919></P
6920><DIV
6921CLASS="INFORMALTABLE"
6922><P
6923></P
6924><TABLE
6925BORDER="0"
6926WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006927BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006928CELLSPACING="0"
6929CELLPADDING="4"
6930CLASS="CALSTABLE"
6931><TR
6932><TD
6933WIDTH="20%"
6934ALIGN="RIGHT"
6935VALIGN="TOP"
6936><TT
6937CLASS="PARAMETER"
6938><I
6939>ctxt</I
6940></TT
6941>&nbsp;:</TD
6942><TD
6943WIDTH="80%"
6944ALIGN="LEFT"
6945VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006946> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006947></TR
6948><TR
6949><TD
6950WIDTH="20%"
6951ALIGN="RIGHT"
6952VALIGN="TOP"
6953><I
6954CLASS="EMPHASIS"
6955>Returns</I
6956> :</TD
6957><TD
6958WIDTH="80%"
6959ALIGN="LEFT"
6960VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006961>the version string, e.g. "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006962></TR
6963></TABLE
6964><P
6965></P
6966></DIV
6967></DIV
6968><HR><DIV
6969CLASS="REFSECT2"
6970><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00006971NAME="AEN13917"
Daniel Veillard35925471999-02-25 08:46:07 +00006972></A
6973><H3
6974><A
6975NAME="XMLPARSEENCNAME"
6976></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006977>xmlParseEncName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006978><TABLE
6979BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006980BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006981WIDTH="100%"
6982CELLPADDING="6"
6983><TR
6984><TD
6985><PRE
6986CLASS="PROGRAMLISTING"
6987><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006988HREF="gnome-xml-tree.html#XMLCHAR"
6989>xmlChar</A
6990>* xmlParseEncName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006991HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6992>xmlParserCtxtPtr</A
6993> ctxt);</PRE
6994></TD
6995></TR
6996></TABLE
6997><P
6998>parse the XML encoding name</P
6999><P
7000>[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</P
7001><P
7002></P
7003><DIV
7004CLASS="INFORMALTABLE"
7005><P
7006></P
7007><TABLE
7008BORDER="0"
7009WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007010BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007011CELLSPACING="0"
7012CELLPADDING="4"
7013CLASS="CALSTABLE"
7014><TR
7015><TD
7016WIDTH="20%"
7017ALIGN="RIGHT"
7018VALIGN="TOP"
7019><TT
7020CLASS="PARAMETER"
7021><I
7022>ctxt</I
7023></TT
7024>&nbsp;:</TD
7025><TD
7026WIDTH="80%"
7027ALIGN="LEFT"
7028VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007029> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007030></TR
7031><TR
7032><TD
7033WIDTH="20%"
7034ALIGN="RIGHT"
7035VALIGN="TOP"
7036><I
7037CLASS="EMPHASIS"
7038>Returns</I
7039> :</TD
7040><TD
7041WIDTH="80%"
7042ALIGN="LEFT"
7043VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007044>the encoding name value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007045></TR
7046></TABLE
7047><P
7048></P
7049></DIV
7050></DIV
7051><HR><DIV
7052CLASS="REFSECT2"
7053><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00007054NAME="AEN13939"
Daniel Veillard35925471999-02-25 08:46:07 +00007055></A
7056><H3
7057><A
7058NAME="XMLPARSEENCODINGDECL"
7059></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007060>xmlParseEncodingDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007061><TABLE
7062BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007063BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007064WIDTH="100%"
7065CELLPADDING="6"
7066><TR
7067><TD
7068><PRE
7069CLASS="PROGRAMLISTING"
7070><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007071HREF="gnome-xml-tree.html#XMLCHAR"
7072>xmlChar</A
7073>* xmlParseEncodingDecl (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007074HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7075>xmlParserCtxtPtr</A
7076> ctxt);</PRE
7077></TD
7078></TR
7079></TABLE
7080><P
7081>parse the XML encoding declaration</P
7082><P
7083>[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")</P
7084><P
7085>TODO: this should setup the conversion filters.</P
7086><P
7087></P
7088><DIV
7089CLASS="INFORMALTABLE"
7090><P
7091></P
7092><TABLE
7093BORDER="0"
7094WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007095BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007096CELLSPACING="0"
7097CELLPADDING="4"
7098CLASS="CALSTABLE"
7099><TR
7100><TD
7101WIDTH="20%"
7102ALIGN="RIGHT"
7103VALIGN="TOP"
7104><TT
7105CLASS="PARAMETER"
7106><I
7107>ctxt</I
7108></TT
7109>&nbsp;:</TD
7110><TD
7111WIDTH="80%"
7112ALIGN="LEFT"
7113VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007114> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007115></TR
7116><TR
7117><TD
7118WIDTH="20%"
7119ALIGN="RIGHT"
7120VALIGN="TOP"
7121><I
7122CLASS="EMPHASIS"
7123>Returns</I
7124> :</TD
7125><TD
7126WIDTH="80%"
7127ALIGN="LEFT"
7128VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007129>the encoding value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007130></TR
7131></TABLE
7132><P
7133></P
7134></DIV
7135></DIV
7136><HR><DIV
7137CLASS="REFSECT2"
7138><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00007139NAME="AEN13962"
Daniel Veillard35925471999-02-25 08:46:07 +00007140></A
7141><H3
7142><A
7143NAME="XMLPARSESDDECL"
7144></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007145>xmlParseSDDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007146><TABLE
7147BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007148BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007149WIDTH="100%"
7150CELLPADDING="6"
7151><TR
7152><TD
7153><PRE
7154CLASS="PROGRAMLISTING"
7155>int xmlParseSDDecl (<A
7156HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7157>xmlParserCtxtPtr</A
7158> ctxt);</PRE
7159></TD
7160></TR
7161></TABLE
7162><P
7163>parse the XML standalone declaration</P
7164><P
7165>[32] SDDecl ::= S 'standalone' Eq
Daniel Veillardb05deb71999-08-10 19:04:08 +00007166(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"')) </P
7167><P
7168>[ VC: Standalone Document Declaration ]
7169TODO The standalone document declaration must have the value "no"
7170if any external markup declarations contain declarations of:
7171- attributes with default values, if elements to which these
7172attributes apply appear in the document without specifications
7173of values for these attributes, or
7174- entities (other than amp, lt, gt, apos, quot), if references
7175to those entities appear in the document, or
7176- attributes with values subject to normalization, where the
7177attribute appears in the document with a value which will change
7178as a result of normalization, or
7179- element types with element content, if white space occurs directly
7180within any instance of those types.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007181><P
7182></P
7183><DIV
7184CLASS="INFORMALTABLE"
7185><P
7186></P
7187><TABLE
7188BORDER="0"
7189WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007190BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007191CELLSPACING="0"
7192CELLPADDING="4"
7193CLASS="CALSTABLE"
7194><TR
7195><TD
7196WIDTH="20%"
7197ALIGN="RIGHT"
7198VALIGN="TOP"
7199><TT
7200CLASS="PARAMETER"
7201><I
7202>ctxt</I
7203></TT
7204>&nbsp;:</TD
7205><TD
7206WIDTH="80%"
7207ALIGN="LEFT"
7208VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007209> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007210></TR
7211><TR
7212><TD
7213WIDTH="20%"
7214ALIGN="RIGHT"
7215VALIGN="TOP"
7216><I
7217CLASS="EMPHASIS"
7218>Returns</I
7219> :</TD
7220><TD
7221WIDTH="80%"
7222ALIGN="LEFT"
7223VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007224>1 if standalone, 0 otherwise</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007225></TR
7226></TABLE
7227><P
7228></P
7229></DIV
7230></DIV
7231><HR><DIV
7232CLASS="REFSECT2"
7233><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00007234NAME="AEN13984"
Daniel Veillard35925471999-02-25 08:46:07 +00007235></A
7236><H3
7237><A
7238NAME="XMLPARSEXMLDECL"
7239></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007240>xmlParseXMLDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007241><TABLE
7242BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007243BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007244WIDTH="100%"
7245CELLPADDING="6"
7246><TR
7247><TD
7248><PRE
7249CLASS="PROGRAMLISTING"
7250>void xmlParseXMLDecl (<A
7251HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7252>xmlParserCtxtPtr</A
7253> ctxt);</PRE
7254></TD
7255></TR
7256></TABLE
7257><P
7258>parse an XML declaration header</P
7259><P
7260>[23] XMLDecl ::= '&lt;?xml' VersionInfo EncodingDecl? SDDecl? S? '?&gt;'</P
7261><P
7262></P
7263><DIV
7264CLASS="INFORMALTABLE"
7265><P
7266></P
7267><TABLE
7268BORDER="0"
7269WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007270BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007271CELLSPACING="0"
7272CELLPADDING="4"
7273CLASS="CALSTABLE"
7274><TR
7275><TD
7276WIDTH="20%"
7277ALIGN="RIGHT"
7278VALIGN="TOP"
7279><TT
7280CLASS="PARAMETER"
7281><I
7282>ctxt</I
7283></TT
7284>&nbsp;:</TD
7285><TD
7286WIDTH="80%"
7287ALIGN="LEFT"
7288VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007289> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007290></TR
7291></TABLE
7292><P
7293></P
7294></DIV
7295></DIV
7296><HR><DIV
7297CLASS="REFSECT2"
7298><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00007299NAME="AEN14001"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007300></A
7301><H3
7302><A
7303NAME="XMLPARSETEXTDECL"
7304></A
7305>xmlParseTextDecl ()</H3
7306><TABLE
7307BORDER="0"
7308BGCOLOR="#D6E8FF"
7309WIDTH="100%"
7310CELLPADDING="6"
7311><TR
7312><TD
7313><PRE
7314CLASS="PROGRAMLISTING"
7315>void xmlParseTextDecl (<A
7316HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7317>xmlParserCtxtPtr</A
7318> ctxt);</PRE
7319></TD
7320></TR
7321></TABLE
7322><P
7323>parse an XML declaration header for external entities</P
7324><P
7325>[77] TextDecl ::= '&lt;?xml' VersionInfo? EncodingDecl S? '?&gt;'</P
7326><P
7327>Question: Seems that EncodingDecl is mandatory ? Is that a typo ?</P
7328><P
7329></P
7330><DIV
7331CLASS="INFORMALTABLE"
7332><P
7333></P
7334><TABLE
7335BORDER="0"
7336WIDTH="100%"
7337BGCOLOR="#FFD0D0"
7338CELLSPACING="0"
7339CELLPADDING="4"
7340CLASS="CALSTABLE"
7341><TR
7342><TD
7343WIDTH="20%"
7344ALIGN="RIGHT"
7345VALIGN="TOP"
7346><TT
7347CLASS="PARAMETER"
7348><I
7349>ctxt</I
7350></TT
7351>&nbsp;:</TD
7352><TD
7353WIDTH="80%"
7354ALIGN="LEFT"
7355VALIGN="TOP"
7356> an XML parser context</TD
7357></TR
7358></TABLE
7359><P
7360></P
7361></DIV
7362></DIV
7363><HR><DIV
7364CLASS="REFSECT2"
7365><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00007366NAME="AEN14019"
Daniel Veillard35925471999-02-25 08:46:07 +00007367></A
7368><H3
7369><A
7370NAME="XMLPARSEMISC"
7371></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007372>xmlParseMisc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007373><TABLE
7374BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007375BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007376WIDTH="100%"
7377CELLPADDING="6"
7378><TR
7379><TD
7380><PRE
7381CLASS="PROGRAMLISTING"
7382>void xmlParseMisc (<A
7383HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7384>xmlParserCtxtPtr</A
7385> ctxt);</PRE
7386></TD
7387></TR
7388></TABLE
7389><P
7390>parse an XML Misc* optionnal field.</P
7391><P
7392>[27] Misc ::= Comment | PI | S</P
7393><P
7394></P
7395><DIV
7396CLASS="INFORMALTABLE"
7397><P
7398></P
7399><TABLE
7400BORDER="0"
7401WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007402BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007403CELLSPACING="0"
7404CELLPADDING="4"
7405CLASS="CALSTABLE"
7406><TR
7407><TD
7408WIDTH="20%"
7409ALIGN="RIGHT"
7410VALIGN="TOP"
7411><TT
7412CLASS="PARAMETER"
7413><I
7414>ctxt</I
7415></TT
7416>&nbsp;:</TD
7417><TD
7418WIDTH="80%"
7419ALIGN="LEFT"
7420VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007421> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007422></TR
7423></TABLE
7424><P
7425></P
7426></DIV
7427></DIV
Daniel Veillard011b63c1999-06-02 17:44:04 +00007428><HR><DIV
7429CLASS="REFSECT2"
7430><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00007431NAME="AEN14036"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007432></A
7433><H3
7434><A
7435NAME="XMLPARSEEXTERNALSUBSET"
7436></A
7437>xmlParseExternalSubset ()</H3
7438><TABLE
7439BORDER="0"
7440BGCOLOR="#D6E8FF"
7441WIDTH="100%"
7442CELLPADDING="6"
7443><TR
7444><TD
7445><PRE
7446CLASS="PROGRAMLISTING"
7447>void xmlParseExternalSubset (<A
7448HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7449>xmlParserCtxtPtr</A
7450> ctxt,
7451 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007452HREF="gnome-xml-tree.html#XMLCHAR"
7453>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007454> *ExternalID,
7455 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007456HREF="gnome-xml-tree.html#XMLCHAR"
7457>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007458> *SystemID);</PRE
7459></TD
7460></TR
7461></TABLE
7462><P
7463>parse Markup declarations from an external subset</P
7464><P
7465>[30] extSubset ::= textDecl? extSubsetDecl</P
7466><P
7467>[31] extSubsetDecl ::= (markupdecl | conditionalSect | PEReference | S) *</P
7468><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007469></P
7470><DIV
7471CLASS="INFORMALTABLE"
7472><P
7473></P
7474><TABLE
7475BORDER="0"
7476WIDTH="100%"
7477BGCOLOR="#FFD0D0"
7478CELLSPACING="0"
7479CELLPADDING="4"
7480CLASS="CALSTABLE"
7481><TR
7482><TD
7483WIDTH="20%"
7484ALIGN="RIGHT"
7485VALIGN="TOP"
7486><TT
7487CLASS="PARAMETER"
7488><I
7489>ctxt</I
7490></TT
7491>&nbsp;:</TD
7492><TD
7493WIDTH="80%"
7494ALIGN="LEFT"
7495VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007496> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007497></TR
7498><TR
7499><TD
7500WIDTH="20%"
7501ALIGN="RIGHT"
7502VALIGN="TOP"
7503><TT
7504CLASS="PARAMETER"
7505><I
7506>ExternalID</I
7507></TT
7508>&nbsp;:</TD
7509><TD
7510WIDTH="80%"
7511ALIGN="LEFT"
7512VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007513> the external identifier</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007514></TR
7515><TR
7516><TD
7517WIDTH="20%"
7518ALIGN="RIGHT"
7519VALIGN="TOP"
7520><TT
7521CLASS="PARAMETER"
7522><I
7523>SystemID</I
7524></TT
7525>&nbsp;:</TD
7526><TD
7527WIDTH="80%"
7528ALIGN="LEFT"
7529VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007530> the system identifier (or URL)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007531></TR
7532></TABLE
7533><P
7534></P
7535></DIV
7536></DIV
7537><HR><DIV
7538CLASS="REFSECT2"
7539><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00007540NAME="AEN14064"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007541></A
7542><H3
7543><A
7544NAME="XML-SUBSTITUTE-NONE"
7545></A
7546>XML_SUBSTITUTE_NONE</H3
7547><TABLE
7548BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007549BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007550WIDTH="100%"
7551CELLPADDING="6"
7552><TR
7553><TD
7554><PRE
7555CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007556>#define XML_SUBSTITUTE_NONE 0</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007557></TD
7558></TR
7559></TABLE
7560><P
7561></P
7562></DIV
7563><HR><DIV
7564CLASS="REFSECT2"
7565><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00007566NAME="AEN14069"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007567></A
7568><H3
7569><A
7570NAME="XML-SUBSTITUTE-REF"
7571></A
7572>XML_SUBSTITUTE_REF</H3
7573><TABLE
7574BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007575BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007576WIDTH="100%"
7577CELLPADDING="6"
7578><TR
7579><TD
7580><PRE
7581CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007582>#define XML_SUBSTITUTE_REF 1</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007583></TD
7584></TR
7585></TABLE
7586><P
7587></P
7588></DIV
7589><HR><DIV
7590CLASS="REFSECT2"
7591><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00007592NAME="AEN14074"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007593></A
7594><H3
7595><A
7596NAME="XML-SUBSTITUTE-PEREF"
7597></A
7598>XML_SUBSTITUTE_PEREF</H3
7599><TABLE
7600BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007601BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007602WIDTH="100%"
7603CELLPADDING="6"
7604><TR
7605><TD
7606><PRE
7607CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007608>#define XML_SUBSTITUTE_PEREF 2</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007609></TD
7610></TR
7611></TABLE
7612><P
7613></P
7614></DIV
7615><HR><DIV
7616CLASS="REFSECT2"
7617><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00007618NAME="AEN14079"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007619></A
7620><H3
7621><A
7622NAME="XML-SUBSTITUTE-BOTH"
7623></A
7624>XML_SUBSTITUTE_BOTH</H3
7625><TABLE
7626BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007627BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007628WIDTH="100%"
7629CELLPADDING="6"
7630><TR
7631><TD
7632><PRE
7633CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007634>#define XML_SUBSTITUTE_BOTH 3</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007635></TD
7636></TR
7637></TABLE
7638><P
7639></P
7640></DIV
7641><HR><DIV
7642CLASS="REFSECT2"
7643><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00007644NAME="AEN14084"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007645></A
7646><H3
7647><A
7648NAME="XMLDECODEENTITIES"
7649></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007650>xmlDecodeEntities ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00007651><TABLE
7652BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007653BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007654WIDTH="100%"
7655CELLPADDING="6"
7656><TR
7657><TD
7658><PRE
7659CLASS="PROGRAMLISTING"
7660><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007661HREF="gnome-xml-tree.html#XMLCHAR"
7662>xmlChar</A
7663>* xmlDecodeEntities (<A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007664HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7665>xmlParserCtxtPtr</A
7666> ctxt,
7667 int len,
7668 int what,
7669 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007670HREF="gnome-xml-tree.html#XMLCHAR"
7671>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007672> end,
7673 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007674HREF="gnome-xml-tree.html#XMLCHAR"
7675>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007676> end2,
7677 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007678HREF="gnome-xml-tree.html#XMLCHAR"
7679>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007680> end3);</PRE
7681></TD
7682></TR
7683></TABLE
7684><P
7685>[67] Reference ::= EntityRef | CharRef</P
7686><P
7687>[69] PEReference ::= '%' Name ';'</P
7688><P
7689></P
7690><DIV
7691CLASS="INFORMALTABLE"
7692><P
7693></P
7694><TABLE
7695BORDER="0"
7696WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007697BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007698CELLSPACING="0"
7699CELLPADDING="4"
7700CLASS="CALSTABLE"
7701><TR
7702><TD
7703WIDTH="20%"
7704ALIGN="RIGHT"
7705VALIGN="TOP"
7706><TT
7707CLASS="PARAMETER"
7708><I
7709>ctxt</I
7710></TT
7711>&nbsp;:</TD
7712><TD
7713WIDTH="80%"
7714ALIGN="LEFT"
7715VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007716> the parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007717></TR
7718><TR
7719><TD
7720WIDTH="20%"
7721ALIGN="RIGHT"
7722VALIGN="TOP"
7723><TT
7724CLASS="PARAMETER"
7725><I
7726>len</I
7727></TT
7728>&nbsp;:</TD
7729><TD
7730WIDTH="80%"
7731ALIGN="LEFT"
7732VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007733> the len to decode (in bytes !), -1 for no size limit</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007734></TR
7735><TR
7736><TD
7737WIDTH="20%"
7738ALIGN="RIGHT"
7739VALIGN="TOP"
7740><TT
7741CLASS="PARAMETER"
7742><I
7743>what</I
7744></TT
7745>&nbsp;:</TD
7746><TD
7747WIDTH="80%"
7748ALIGN="LEFT"
7749VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007750> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007751></TR
7752><TR
7753><TD
7754WIDTH="20%"
7755ALIGN="RIGHT"
7756VALIGN="TOP"
7757><TT
7758CLASS="PARAMETER"
7759><I
7760>end</I
7761></TT
7762>&nbsp;:</TD
7763><TD
7764WIDTH="80%"
7765ALIGN="LEFT"
7766VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007767> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007768></TR
7769><TR
7770><TD
7771WIDTH="20%"
7772ALIGN="RIGHT"
7773VALIGN="TOP"
7774><TT
7775CLASS="PARAMETER"
7776><I
7777>end2</I
7778></TT
7779>&nbsp;:</TD
7780><TD
7781WIDTH="80%"
7782ALIGN="LEFT"
7783VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007784> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007785></TR
7786><TR
7787><TD
7788WIDTH="20%"
7789ALIGN="RIGHT"
7790VALIGN="TOP"
7791><TT
7792CLASS="PARAMETER"
7793><I
7794>end3</I
7795></TT
7796>&nbsp;:</TD
7797><TD
7798WIDTH="80%"
7799ALIGN="LEFT"
7800VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007801> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007802></TR
7803><TR
7804><TD
7805WIDTH="20%"
7806ALIGN="RIGHT"
7807VALIGN="TOP"
7808><I
7809CLASS="EMPHASIS"
7810>Returns</I
7811> :</TD
7812><TD
7813WIDTH="80%"
7814ALIGN="LEFT"
7815VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007816>A newly allocated string with the substitution done. The caller
7817must deallocate it !</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007818></TR
7819></TABLE
7820><P
7821></P
7822></DIV
7823></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +00007824><HR><DIV
7825CLASS="REFSECT2"
7826><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00007827NAME="AEN14129"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007828></A
7829><H3
7830><A
7831NAME="XMLSTRINGDECODEENTITIES"
7832></A
7833>xmlStringDecodeEntities ()</H3
7834><TABLE
7835BORDER="0"
7836BGCOLOR="#D6E8FF"
7837WIDTH="100%"
7838CELLPADDING="6"
7839><TR
7840><TD
7841><PRE
7842CLASS="PROGRAMLISTING"
7843><A
7844HREF="gnome-xml-tree.html#XMLCHAR"
7845>xmlChar</A
7846>* xmlStringDecodeEntities (<A
7847HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7848>xmlParserCtxtPtr</A
7849> ctxt,
7850 const <A
7851HREF="gnome-xml-tree.html#XMLCHAR"
7852>xmlChar</A
7853> *str,
7854 int what,
7855 <A
7856HREF="gnome-xml-tree.html#XMLCHAR"
7857>xmlChar</A
7858> end,
7859 <A
7860HREF="gnome-xml-tree.html#XMLCHAR"
7861>xmlChar</A
7862> end2,
7863 <A
7864HREF="gnome-xml-tree.html#XMLCHAR"
7865>xmlChar</A
7866> end3);</PRE
7867></TD
7868></TR
7869></TABLE
7870><P
7871>[67] Reference ::= EntityRef | CharRef</P
7872><P
7873>[69] PEReference ::= '%' Name ';'</P
7874><P
7875></P
7876><DIV
7877CLASS="INFORMALTABLE"
7878><P
7879></P
7880><TABLE
7881BORDER="0"
7882WIDTH="100%"
7883BGCOLOR="#FFD0D0"
7884CELLSPACING="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"
7902> the parser context</TD
7903></TR
7904><TR
7905><TD
7906WIDTH="20%"
7907ALIGN="RIGHT"
7908VALIGN="TOP"
7909><TT
7910CLASS="PARAMETER"
7911><I
7912>str</I
7913></TT
7914>&nbsp;:</TD
7915><TD
7916WIDTH="80%"
7917ALIGN="LEFT"
7918VALIGN="TOP"
7919> the input string</TD
7920></TR
7921><TR
7922><TD
7923WIDTH="20%"
7924ALIGN="RIGHT"
7925VALIGN="TOP"
7926><TT
7927CLASS="PARAMETER"
7928><I
7929>what</I
7930></TT
7931>&nbsp;:</TD
7932><TD
7933WIDTH="80%"
7934ALIGN="LEFT"
7935VALIGN="TOP"
7936> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
7937></TR
7938><TR
7939><TD
7940WIDTH="20%"
7941ALIGN="RIGHT"
7942VALIGN="TOP"
7943><TT
7944CLASS="PARAMETER"
7945><I
7946>end</I
7947></TT
7948>&nbsp;:</TD
7949><TD
7950WIDTH="80%"
7951ALIGN="LEFT"
7952VALIGN="TOP"
7953> an end marker xmlChar, 0 if none</TD
7954></TR
7955><TR
7956><TD
7957WIDTH="20%"
7958ALIGN="RIGHT"
7959VALIGN="TOP"
7960><TT
7961CLASS="PARAMETER"
7962><I
7963>end2</I
7964></TT
7965>&nbsp;:</TD
7966><TD
7967WIDTH="80%"
7968ALIGN="LEFT"
7969VALIGN="TOP"
7970> an end marker xmlChar, 0 if none</TD
7971></TR
7972><TR
7973><TD
7974WIDTH="20%"
7975ALIGN="RIGHT"
7976VALIGN="TOP"
7977><TT
7978CLASS="PARAMETER"
7979><I
7980>end3</I
7981></TT
7982>&nbsp;:</TD
7983><TD
7984WIDTH="80%"
7985ALIGN="LEFT"
7986VALIGN="TOP"
7987> an end marker xmlChar, 0 if none</TD
7988></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"
8002>A newly allocated string with the substitution done. The caller
8003must deallocate it !</TD
8004></TR
8005></TABLE
8006><P
8007></P
8008></DIV
8009></DIV
8010><HR><DIV
8011CLASS="REFSECT2"
8012><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00008013NAME="AEN14175"
Daniel Veillard14fff061999-06-22 21:49:07 +00008014></A
8015><H3
8016><A
8017NAME="NODEPUSH"
8018></A
8019>nodePush ()</H3
8020><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00008021BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00008022BGCOLOR="#D6E8FF"
8023WIDTH="100%"
8024CELLPADDING="6"
Daniel Veillard35925471999-02-25 08:46:07 +00008025><TR
8026><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008027><PRE
8028CLASS="PROGRAMLISTING"
8029>int nodePush (<A
8030HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8031>xmlParserCtxtPtr</A
8032> ctxt,
8033 <A
8034HREF="gnome-xml-tree.html#XMLNODEPTR"
8035>xmlNodePtr</A
8036> value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00008037></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008038></TR
8039></TABLE
8040><P
8041></P
8042><DIV
8043CLASS="INFORMALTABLE"
8044><P
8045></P
8046><TABLE
8047BORDER="0"
8048WIDTH="100%"
8049BGCOLOR="#FFD0D0"
8050CELLSPACING="0"
8051CELLPADDING="4"
8052CLASS="CALSTABLE"
8053><TR
Daniel Veillard35925471999-02-25 08:46:07 +00008054><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008055WIDTH="20%"
8056ALIGN="RIGHT"
8057VALIGN="TOP"
8058><TT
8059CLASS="PARAMETER"
8060><I
8061>ctxt</I
8062></TT
8063>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008064><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008065WIDTH="80%"
8066ALIGN="LEFT"
8067VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00008068>&nbsp;</TD
8069></TR
8070><TR
8071><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008072WIDTH="20%"
8073ALIGN="RIGHT"
8074VALIGN="TOP"
8075><TT
8076CLASS="PARAMETER"
8077><I
8078>value</I
8079></TT
8080>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008081><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008082WIDTH="80%"
8083ALIGN="LEFT"
8084VALIGN="TOP"
8085>&nbsp;</TD
8086></TR
8087><TR
8088><TD
8089WIDTH="20%"
8090ALIGN="RIGHT"
8091VALIGN="TOP"
8092><I
8093CLASS="EMPHASIS"
8094>Returns</I
8095> :</TD
8096><TD
8097WIDTH="80%"
8098ALIGN="LEFT"
8099VALIGN="TOP"
8100>&nbsp;</TD
8101></TR
8102></TABLE
8103><P
8104></P
8105></DIV
8106></DIV
8107><HR><DIV
8108CLASS="REFSECT2"
Daniel Veillard35925471999-02-25 08:46:07 +00008109><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00008110NAME="AEN14199"
Daniel Veillard14fff061999-06-22 21:49:07 +00008111></A
8112><H3
8113><A
8114NAME="NODEPOP"
8115></A
8116>nodePop ()</H3
8117><TABLE
8118BORDER="0"
8119BGCOLOR="#D6E8FF"
8120WIDTH="100%"
8121CELLPADDING="6"
8122><TR
8123><TD
8124><PRE
8125CLASS="PROGRAMLISTING"
8126><A
8127HREF="gnome-xml-tree.html#XMLNODEPTR"
8128>xmlNodePtr</A
8129> nodePop (<A
8130HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8131>xmlParserCtxtPtr</A
8132> ctxt);</PRE
8133></TD
8134></TR
8135></TABLE
8136><P
8137></P
8138><DIV
8139CLASS="INFORMALTABLE"
8140><P
8141></P
8142><TABLE
8143BORDER="0"
8144WIDTH="100%"
8145BGCOLOR="#FFD0D0"
8146CELLSPACING="0"
8147CELLPADDING="4"
8148CLASS="CALSTABLE"
8149><TR
8150><TD
8151WIDTH="20%"
8152ALIGN="RIGHT"
8153VALIGN="TOP"
8154><TT
8155CLASS="PARAMETER"
8156><I
8157>ctxt</I
8158></TT
8159>&nbsp;:</TD
8160><TD
8161WIDTH="80%"
8162ALIGN="LEFT"
8163VALIGN="TOP"
8164>&nbsp;</TD
8165></TR
8166><TR
8167><TD
8168WIDTH="20%"
8169ALIGN="RIGHT"
8170VALIGN="TOP"
8171><I
8172CLASS="EMPHASIS"
8173>Returns</I
8174> :</TD
8175><TD
8176WIDTH="80%"
8177ALIGN="LEFT"
8178VALIGN="TOP"
8179>&nbsp;</TD
8180></TR
8181></TABLE
8182><P
8183></P
8184></DIV
8185></DIV
8186><HR><DIV
8187CLASS="REFSECT2"
8188><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00008189NAME="AEN14219"
Daniel Veillard14fff061999-06-22 21:49:07 +00008190></A
8191><H3
8192><A
8193NAME="INPUTPUSH"
8194></A
8195>inputPush ()</H3
8196><TABLE
8197BORDER="0"
8198BGCOLOR="#D6E8FF"
8199WIDTH="100%"
8200CELLPADDING="6"
8201><TR
8202><TD
8203><PRE
8204CLASS="PROGRAMLISTING"
8205>int inputPush (<A
8206HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8207>xmlParserCtxtPtr</A
8208> ctxt,
8209 <A
8210HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
8211>xmlParserInputPtr</A
8212> value);</PRE
8213></TD
8214></TR
8215></TABLE
8216><P
8217></P
8218><DIV
8219CLASS="INFORMALTABLE"
8220><P
8221></P
8222><TABLE
8223BORDER="0"
8224WIDTH="100%"
8225BGCOLOR="#FFD0D0"
8226CELLSPACING="0"
8227CELLPADDING="4"
8228CLASS="CALSTABLE"
8229><TR
8230><TD
8231WIDTH="20%"
8232ALIGN="RIGHT"
8233VALIGN="TOP"
8234><TT
8235CLASS="PARAMETER"
8236><I
8237>ctxt</I
8238></TT
8239>&nbsp;:</TD
8240><TD
8241WIDTH="80%"
8242ALIGN="LEFT"
8243VALIGN="TOP"
8244>&nbsp;</TD
8245></TR
8246><TR
8247><TD
8248WIDTH="20%"
8249ALIGN="RIGHT"
8250VALIGN="TOP"
8251><TT
8252CLASS="PARAMETER"
8253><I
8254>value</I
8255></TT
8256>&nbsp;:</TD
8257><TD
8258WIDTH="80%"
8259ALIGN="LEFT"
8260VALIGN="TOP"
8261>&nbsp;</TD
8262></TR
8263><TR
8264><TD
8265WIDTH="20%"
8266ALIGN="RIGHT"
8267VALIGN="TOP"
8268><I
8269CLASS="EMPHASIS"
8270>Returns</I
8271> :</TD
8272><TD
8273WIDTH="80%"
8274ALIGN="LEFT"
8275VALIGN="TOP"
8276>&nbsp;</TD
8277></TR
8278></TABLE
8279><P
8280></P
8281></DIV
8282></DIV
8283><HR><DIV
8284CLASS="REFSECT2"
8285><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00008286NAME="AEN14243"
Daniel Veillard14fff061999-06-22 21:49:07 +00008287></A
8288><H3
8289><A
8290NAME="INPUTPOP"
8291></A
8292>inputPop ()</H3
8293><TABLE
8294BORDER="0"
8295BGCOLOR="#D6E8FF"
8296WIDTH="100%"
8297CELLPADDING="6"
8298><TR
8299><TD
8300><PRE
8301CLASS="PROGRAMLISTING"
8302><A
8303HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
8304>xmlParserInputPtr</A
8305> inputPop (<A
8306HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8307>xmlParserCtxtPtr</A
8308> ctxt);</PRE
8309></TD
8310></TR
8311></TABLE
8312><P
8313></P
8314><DIV
8315CLASS="INFORMALTABLE"
8316><P
8317></P
8318><TABLE
8319BORDER="0"
8320WIDTH="100%"
8321BGCOLOR="#FFD0D0"
8322CELLSPACING="0"
8323CELLPADDING="4"
8324CLASS="CALSTABLE"
8325><TR
8326><TD
8327WIDTH="20%"
8328ALIGN="RIGHT"
8329VALIGN="TOP"
8330><TT
8331CLASS="PARAMETER"
8332><I
8333>ctxt</I
8334></TT
8335>&nbsp;:</TD
8336><TD
8337WIDTH="80%"
8338ALIGN="LEFT"
8339VALIGN="TOP"
8340>&nbsp;</TD
8341></TR
8342><TR
8343><TD
8344WIDTH="20%"
8345ALIGN="RIGHT"
8346VALIGN="TOP"
8347><I
8348CLASS="EMPHASIS"
8349>Returns</I
8350> :</TD
8351><TD
8352WIDTH="80%"
8353ALIGN="LEFT"
8354VALIGN="TOP"
8355>&nbsp;</TD
8356></TR
8357></TABLE
8358><P
8359></P
8360></DIV
8361></DIV
Daniel Veillarde46e20d2000-07-14 15:02:46 +00008362><HR><DIV
8363CLASS="REFSECT2"
8364><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00008365NAME="AEN14263"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00008366></A
8367><H3
8368><A
8369NAME="XMLCURRENTCHAR"
8370></A
8371>xmlCurrentChar ()</H3
8372><TABLE
8373BORDER="0"
8374BGCOLOR="#D6E8FF"
8375WIDTH="100%"
8376CELLPADDING="6"
8377><TR
8378><TD
8379><PRE
8380CLASS="PROGRAMLISTING"
8381>int xmlCurrentChar (<A
8382HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8383>xmlParserCtxtPtr</A
8384> ctxt,
8385 int *len);</PRE
8386></TD
8387></TR
8388></TABLE
8389><P
8390>The current char value, if using UTF-8 this may actaully span multiple
8391bytes in the input buffer. Implement the end of line normalization:
83922.11 End-of-Line Handling
8393Wherever an external parsed entity or the literal entity value
8394of an internal parsed entity contains either the literal two-character
8395sequence "<GTKDOCLINK
8396HREF="XD"
8397>xD</GTKDOCLINK
8398><GTKDOCLINK
8399HREF="XA"
8400>xA</GTKDOCLINK
8401>" or a standalone literal <GTKDOCLINK
8402HREF="XD"
8403>xD</GTKDOCLINK
8404>, an XML processor
8405must pass to the application the single character <GTKDOCLINK
8406HREF="XA"
8407>xA</GTKDOCLINK
8408>.
8409This behavior can conveniently be produced by normalizing all
8410line breaks to <GTKDOCLINK
8411HREF="XA"
8412>xA</GTKDOCLINK
8413> on input, before parsing.)</P
8414><P
8415></P
8416><DIV
8417CLASS="INFORMALTABLE"
8418><P
8419></P
8420><TABLE
8421BORDER="0"
8422WIDTH="100%"
8423BGCOLOR="#FFD0D0"
8424CELLSPACING="0"
8425CELLPADDING="4"
8426CLASS="CALSTABLE"
8427><TR
8428><TD
8429WIDTH="20%"
8430ALIGN="RIGHT"
8431VALIGN="TOP"
8432><TT
8433CLASS="PARAMETER"
8434><I
8435>ctxt</I
8436></TT
8437>&nbsp;:</TD
8438><TD
8439WIDTH="80%"
8440ALIGN="LEFT"
8441VALIGN="TOP"
8442> the XML parser context</TD
8443></TR
8444><TR
8445><TD
8446WIDTH="20%"
8447ALIGN="RIGHT"
8448VALIGN="TOP"
8449><TT
8450CLASS="PARAMETER"
8451><I
8452>len</I
8453></TT
8454>&nbsp;:</TD
8455><TD
8456WIDTH="80%"
8457ALIGN="LEFT"
8458VALIGN="TOP"
8459> pointer to the length of the char read</TD
8460></TR
8461><TR
8462><TD
8463WIDTH="20%"
8464ALIGN="RIGHT"
8465VALIGN="TOP"
8466><I
8467CLASS="EMPHASIS"
8468>Returns</I
8469> :</TD
8470><TD
8471WIDTH="80%"
8472ALIGN="LEFT"
8473VALIGN="TOP"
8474>the current char value and its lenght</TD
8475></TR
8476></TABLE
8477><P
8478></P
8479></DIV
8480></DIV
8481><HR><DIV
8482CLASS="REFSECT2"
8483><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00008484NAME="AEN14292"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00008485></A
8486><H3
8487><A
8488NAME="XMLCOPYCHAR"
8489></A
8490>xmlCopyChar ()</H3
8491><TABLE
8492BORDER="0"
8493BGCOLOR="#D6E8FF"
8494WIDTH="100%"
8495CELLPADDING="6"
8496><TR
8497><TD
8498><PRE
8499CLASS="PROGRAMLISTING"
8500>int xmlCopyChar (int len,
8501 <A
8502HREF="gnome-xml-tree.html#XMLCHAR"
8503>xmlChar</A
8504> *out,
8505 int val);</PRE
8506></TD
8507></TR
8508></TABLE
8509><P
8510>append the char value in the array</P
8511><P
8512></P
8513><DIV
8514CLASS="INFORMALTABLE"
8515><P
8516></P
8517><TABLE
8518BORDER="0"
8519WIDTH="100%"
8520BGCOLOR="#FFD0D0"
8521CELLSPACING="0"
8522CELLPADDING="4"
8523CLASS="CALSTABLE"
8524><TR
8525><TD
8526WIDTH="20%"
8527ALIGN="RIGHT"
8528VALIGN="TOP"
8529><TT
8530CLASS="PARAMETER"
8531><I
8532>len</I
8533></TT
8534>&nbsp;:</TD
8535><TD
8536WIDTH="80%"
8537ALIGN="LEFT"
8538VALIGN="TOP"
8539> pointer to the length of the char read (or zero)</TD
8540></TR
8541><TR
8542><TD
8543WIDTH="20%"
8544ALIGN="RIGHT"
8545VALIGN="TOP"
8546><TT
8547CLASS="PARAMETER"
8548><I
8549>out</I
8550></TT
8551>&nbsp;:</TD
8552><TD
8553WIDTH="80%"
8554ALIGN="LEFT"
8555VALIGN="TOP"
8556>&nbsp;</TD
8557></TR
8558><TR
8559><TD
8560WIDTH="20%"
8561ALIGN="RIGHT"
8562VALIGN="TOP"
8563><TT
8564CLASS="PARAMETER"
8565><I
8566>val</I
8567></TT
8568>&nbsp;:</TD
8569><TD
8570WIDTH="80%"
8571ALIGN="LEFT"
8572VALIGN="TOP"
8573> the char value</TD
8574></TR
8575><TR
8576><TD
8577WIDTH="20%"
8578ALIGN="RIGHT"
8579VALIGN="TOP"
8580><I
8581CLASS="EMPHASIS"
8582>Returns</I
8583> :</TD
8584><TD
8585WIDTH="80%"
8586ALIGN="LEFT"
8587VALIGN="TOP"
8588>the number of xmlChar written</TD
8589></TR
8590></TABLE
8591><P
8592></P
8593></DIV
8594></DIV
8595><HR><DIV
8596CLASS="REFSECT2"
8597><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00008598NAME="AEN14320"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00008599></A
8600><H3
8601><A
8602NAME="XMLNEXTCHAR"
8603></A
8604>xmlNextChar ()</H3
8605><TABLE
8606BORDER="0"
8607BGCOLOR="#D6E8FF"
8608WIDTH="100%"
8609CELLPADDING="6"
8610><TR
8611><TD
8612><PRE
8613CLASS="PROGRAMLISTING"
8614>void xmlNextChar (<A
8615HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8616>xmlParserCtxtPtr</A
8617> ctxt);</PRE
8618></TD
8619></TR
8620></TABLE
8621><P
8622>Skip to the next char input char.</P
8623><P
8624></P
8625><DIV
8626CLASS="INFORMALTABLE"
8627><P
8628></P
8629><TABLE
8630BORDER="0"
8631WIDTH="100%"
8632BGCOLOR="#FFD0D0"
8633CELLSPACING="0"
8634CELLPADDING="4"
8635CLASS="CALSTABLE"
8636><TR
8637><TD
8638WIDTH="20%"
8639ALIGN="RIGHT"
8640VALIGN="TOP"
8641><TT
8642CLASS="PARAMETER"
8643><I
8644>ctxt</I
8645></TT
8646>&nbsp;:</TD
8647><TD
8648WIDTH="80%"
8649ALIGN="LEFT"
8650VALIGN="TOP"
8651> the XML parser context</TD
8652></TR
8653></TABLE
8654><P
8655></P
8656></DIV
8657></DIV
8658><HR><DIV
8659CLASS="REFSECT2"
8660><A
Daniel Veillard7c29ce22000-08-12 21:20:53 +00008661NAME="AEN14336"
Daniel Veillarde46e20d2000-07-14 15:02:46 +00008662></A
8663><H3
8664><A
8665NAME="XMLPARSERINPUTSHRINK"
8666></A
8667>xmlParserInputShrink ()</H3
8668><TABLE
8669BORDER="0"
8670BGCOLOR="#D6E8FF"
8671WIDTH="100%"
8672CELLPADDING="6"
8673><TR
8674><TD
8675><PRE
8676CLASS="PROGRAMLISTING"
8677>void xmlParserInputShrink (<A
8678HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
8679>xmlParserInputPtr</A
8680> in);</PRE
8681></TD
8682></TR
8683></TABLE
8684><P
8685>This function removes used input for the parser.</P
8686><P
8687></P
8688><DIV
8689CLASS="INFORMALTABLE"
8690><P
8691></P
8692><TABLE
8693BORDER="0"
8694WIDTH="100%"
8695BGCOLOR="#FFD0D0"
8696CELLSPACING="0"
8697CELLPADDING="4"
8698CLASS="CALSTABLE"
8699><TR
8700><TD
8701WIDTH="20%"
8702ALIGN="RIGHT"
8703VALIGN="TOP"
8704><TT
8705CLASS="PARAMETER"
8706><I
8707>in</I
8708></TT
8709>&nbsp;:</TD
8710><TD
8711WIDTH="80%"
8712ALIGN="LEFT"
8713VALIGN="TOP"
8714> an XML parser input</TD
8715></TR
8716></TABLE
8717><P
8718></P
8719></DIV
8720></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +00008721></DIV
8722><DIV
8723CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00008724><BR
8725CLEAR="all"><BR><TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +00008726WIDTH="100%"
8727BORDER="0"
8728BGCOLOR="#000000"
8729CELLPADDING="1"
8730CELLSPACING="0"
8731><TR
8732><TD
8733WIDTH="25%"
8734BGCOLOR="#C00000"
8735ALIGN="left"
8736><A
Daniel Veillard294cbca1999-12-03 13:19:09 +00008737HREF="gnome-xml-xmlio.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008738><FONT
8739COLOR="#FFFFFF"
8740SIZE="3"
8741><B
8742>&#60;&#60;&#60; Previous Page</B
8743></FONT
8744></A
Daniel Veillard35925471999-02-25 08:46:07 +00008745></TD
8746><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008747WIDTH="25%"
8748BGCOLOR="#0000C0"
8749ALIGN="center"
8750><FONT
8751COLOR="#FFFFFF"
8752SIZE="3"
8753><B
8754><A
8755HREF="book1.html"
8756><FONT
8757COLOR="#FFFFFF"
8758SIZE="3"
8759><B
8760>Home</B
8761></FONT
8762></A
8763></B
8764></FONT
8765></TD
8766><TD
8767WIDTH="25%"
8768BGCOLOR="#00C000"
8769ALIGN="center"
8770><FONT
8771COLOR="#FFFFFF"
8772SIZE="3"
8773><B
8774><A
Daniel Veillard35008381999-10-25 13:15:52 +00008775HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008776><FONT
8777COLOR="#FFFFFF"
8778SIZE="3"
8779><B
8780>Up</B
8781></FONT
8782></A
8783></B
8784></FONT
8785></TD
8786><TD
8787WIDTH="25%"
8788BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00008789ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00008790><A
Daniel Veillard294cbca1999-12-03 13:19:09 +00008791HREF="gnome-xml-encoding.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00008792><FONT
8793COLOR="#FFFFFF"
8794SIZE="3"
8795><B
8796>Next Page &#62;&#62;&#62;</B
8797></FONT
8798></A
8799></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008800></TR
8801><TR
8802><TD
8803COLSPAN="2"
8804ALIGN="left"
8805><FONT
8806COLOR="#FFFFFF"
8807SIZE="3"
8808><B
Daniel Veillard294cbca1999-12-03 13:19:09 +00008809>xmlIO</B
Daniel Veillard14fff061999-06-22 21:49:07 +00008810></FONT
8811></TD
8812><TD
8813COLSPAN="2"
8814ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00008815><FONT
8816COLOR="#FFFFFF"
8817SIZE="3"
8818><B
Daniel Veillard294cbca1999-12-03 13:19:09 +00008819>encoding</B
Daniel Veillard1566d3a1999-07-15 14:24:29 +00008820></FONT
8821></TD
Daniel Veillard35925471999-02-25 08:46:07 +00008822></TR
8823></TABLE
8824></DIV
8825></BODY
8826></HTML
8827>