blob: 13053eb35bde10149746f7ed202d2513a4aa583e [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 Veillard3f6f7f62000-06-30 17:58:25 +0000118NAME="AEN11751"
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 Veillard3f6f7f62000-06-30 17:58:25 +0000126NAME="AEN11754"
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
932> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000933></TD
934></TR
935></TABLE
936></DIV
937><DIV
938CLASS="REFSECT1"
939><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000940NAME="AEN11979"
Daniel Veillard35925471999-02-25 08:46:07 +0000941></A
942><H2
943>Description</H2
944><P
945></P
946></DIV
947><DIV
948CLASS="REFSECT1"
949><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000950NAME="AEN11982"
Daniel Veillard35925471999-02-25 08:46:07 +0000951></A
952><H2
953>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000954><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000955CLASS="REFSECT2"
956><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000957NAME="AEN11984"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000958></A
959><H3
960><A
961NAME="XML-MAX-NAMELEN"
962></A
963>XML_MAX_NAMELEN</H3
964><TABLE
965BORDER="0"
966BGCOLOR="#D6E8FF"
967WIDTH="100%"
968CELLPADDING="6"
969><TR
970><TD
971><PRE
972CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000973>#define XML_MAX_NAMELEN 1000</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000974></TD
975></TR
976></TABLE
977><P
978></P
979></DIV
980><HR><DIV
981CLASS="REFSECT2"
982><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000983NAME="AEN11989"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000984></A
985><H3
986><A
987NAME="IS-CHAR"
988></A
989>IS_CHAR()</H3
990><TABLE
991BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000992BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000993WIDTH="100%"
994CELLPADDING="6"
995><TR
996><TD
997><PRE
998CLASS="PROGRAMLISTING"
999>#define IS_CHAR(c)</PRE
1000></TD
1001></TR
1002></TABLE
1003><P
1004></P
1005><DIV
1006CLASS="INFORMALTABLE"
1007><P
1008></P
1009><TABLE
1010BORDER="0"
1011WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001012BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001013CELLSPACING="0"
1014CELLPADDING="4"
1015CLASS="CALSTABLE"
1016><TR
1017><TD
1018WIDTH="20%"
1019ALIGN="RIGHT"
1020VALIGN="TOP"
1021><TT
1022CLASS="PARAMETER"
1023><I
1024>c</I
1025></TT
1026>&nbsp;:</TD
1027><TD
1028WIDTH="80%"
1029ALIGN="LEFT"
1030VALIGN="TOP"
1031>&nbsp;</TD
1032></TR
1033></TABLE
1034><P
1035></P
1036></DIV
1037></DIV
1038><HR><DIV
1039CLASS="REFSECT2"
1040><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001041NAME="AEN12003"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001042></A
1043><H3
1044><A
1045NAME="IS-BLANK"
1046></A
1047>IS_BLANK()</H3
1048><TABLE
1049BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001050BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001051WIDTH="100%"
1052CELLPADDING="6"
1053><TR
1054><TD
1055><PRE
1056CLASS="PROGRAMLISTING"
1057>#define IS_BLANK(c)</PRE
1058></TD
1059></TR
1060></TABLE
1061><P
1062></P
1063><DIV
1064CLASS="INFORMALTABLE"
1065><P
1066></P
1067><TABLE
1068BORDER="0"
1069WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001070BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001071CELLSPACING="0"
1072CELLPADDING="4"
1073CLASS="CALSTABLE"
1074><TR
1075><TD
1076WIDTH="20%"
1077ALIGN="RIGHT"
1078VALIGN="TOP"
1079><TT
1080CLASS="PARAMETER"
1081><I
1082>c</I
1083></TT
1084>&nbsp;:</TD
1085><TD
1086WIDTH="80%"
1087ALIGN="LEFT"
1088VALIGN="TOP"
1089>&nbsp;</TD
1090></TR
1091></TABLE
1092><P
1093></P
1094></DIV
1095></DIV
1096><HR><DIV
1097CLASS="REFSECT2"
1098><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001099NAME="AEN12017"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001100></A
1101><H3
1102><A
1103NAME="IS-BASECHAR"
1104></A
1105>IS_BASECHAR()</H3
1106><TABLE
1107BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001108BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001109WIDTH="100%"
1110CELLPADDING="6"
1111><TR
1112><TD
1113><PRE
1114CLASS="PROGRAMLISTING"
1115>#define IS_BASECHAR(c)</PRE
1116></TD
1117></TR
1118></TABLE
1119><P
1120></P
1121><DIV
1122CLASS="INFORMALTABLE"
1123><P
1124></P
1125><TABLE
1126BORDER="0"
1127WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001128BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001129CELLSPACING="0"
1130CELLPADDING="4"
1131CLASS="CALSTABLE"
1132><TR
1133><TD
1134WIDTH="20%"
1135ALIGN="RIGHT"
1136VALIGN="TOP"
1137><TT
1138CLASS="PARAMETER"
1139><I
1140>c</I
1141></TT
1142>&nbsp;:</TD
1143><TD
1144WIDTH="80%"
1145ALIGN="LEFT"
1146VALIGN="TOP"
1147>&nbsp;</TD
1148></TR
1149></TABLE
1150><P
1151></P
1152></DIV
1153></DIV
1154><HR><DIV
1155CLASS="REFSECT2"
1156><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001157NAME="AEN12031"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001158></A
1159><H3
1160><A
1161NAME="IS-DIGIT"
1162></A
1163>IS_DIGIT()</H3
1164><TABLE
1165BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001166BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001167WIDTH="100%"
1168CELLPADDING="6"
1169><TR
1170><TD
1171><PRE
1172CLASS="PROGRAMLISTING"
1173>#define IS_DIGIT(c)</PRE
1174></TD
1175></TR
1176></TABLE
1177><P
1178></P
1179><DIV
1180CLASS="INFORMALTABLE"
1181><P
1182></P
1183><TABLE
1184BORDER="0"
1185WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001186BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001187CELLSPACING="0"
1188CELLPADDING="4"
1189CLASS="CALSTABLE"
1190><TR
1191><TD
1192WIDTH="20%"
1193ALIGN="RIGHT"
1194VALIGN="TOP"
1195><TT
1196CLASS="PARAMETER"
1197><I
1198>c</I
1199></TT
1200>&nbsp;:</TD
1201><TD
1202WIDTH="80%"
1203ALIGN="LEFT"
1204VALIGN="TOP"
1205>&nbsp;</TD
1206></TR
1207></TABLE
1208><P
1209></P
1210></DIV
1211></DIV
1212><HR><DIV
1213CLASS="REFSECT2"
1214><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001215NAME="AEN12045"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001216></A
1217><H3
1218><A
1219NAME="IS-COMBINING"
1220></A
1221>IS_COMBINING()</H3
1222><TABLE
1223BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001224BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001225WIDTH="100%"
1226CELLPADDING="6"
1227><TR
1228><TD
1229><PRE
1230CLASS="PROGRAMLISTING"
1231>#define IS_COMBINING(c)</PRE
1232></TD
1233></TR
1234></TABLE
1235><P
1236></P
1237><DIV
1238CLASS="INFORMALTABLE"
1239><P
1240></P
1241><TABLE
1242BORDER="0"
1243WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001244BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001245CELLSPACING="0"
1246CELLPADDING="4"
1247CLASS="CALSTABLE"
1248><TR
1249><TD
1250WIDTH="20%"
1251ALIGN="RIGHT"
1252VALIGN="TOP"
1253><TT
1254CLASS="PARAMETER"
1255><I
1256>c</I
1257></TT
1258>&nbsp;:</TD
1259><TD
1260WIDTH="80%"
1261ALIGN="LEFT"
1262VALIGN="TOP"
1263>&nbsp;</TD
1264></TR
1265></TABLE
1266><P
1267></P
1268></DIV
1269></DIV
1270><HR><DIV
1271CLASS="REFSECT2"
1272><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001273NAME="AEN12059"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001274></A
1275><H3
1276><A
1277NAME="IS-EXTENDER"
1278></A
1279>IS_EXTENDER()</H3
1280><TABLE
1281BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001282BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001283WIDTH="100%"
1284CELLPADDING="6"
1285><TR
1286><TD
1287><PRE
1288CLASS="PROGRAMLISTING"
1289>#define IS_EXTENDER(c)</PRE
1290></TD
1291></TR
1292></TABLE
1293><P
1294></P
1295><DIV
1296CLASS="INFORMALTABLE"
1297><P
1298></P
1299><TABLE
1300BORDER="0"
1301WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001302BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001303CELLSPACING="0"
1304CELLPADDING="4"
1305CLASS="CALSTABLE"
1306><TR
1307><TD
1308WIDTH="20%"
1309ALIGN="RIGHT"
1310VALIGN="TOP"
1311><TT
1312CLASS="PARAMETER"
1313><I
1314>c</I
1315></TT
1316>&nbsp;:</TD
1317><TD
1318WIDTH="80%"
1319ALIGN="LEFT"
1320VALIGN="TOP"
1321>&nbsp;</TD
1322></TR
1323></TABLE
1324><P
1325></P
1326></DIV
1327></DIV
1328><HR><DIV
1329CLASS="REFSECT2"
1330><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001331NAME="AEN12073"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001332></A
1333><H3
1334><A
1335NAME="IS-IDEOGRAPHIC"
1336></A
1337>IS_IDEOGRAPHIC()</H3
1338><TABLE
1339BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001340BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001341WIDTH="100%"
1342CELLPADDING="6"
1343><TR
1344><TD
1345><PRE
1346CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001347>#define IS_IDEOGRAPHIC(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001348></TD
1349></TR
1350></TABLE
1351><P
1352></P
1353><DIV
1354CLASS="INFORMALTABLE"
1355><P
1356></P
1357><TABLE
1358BORDER="0"
1359WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001360BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001361CELLSPACING="0"
1362CELLPADDING="4"
1363CLASS="CALSTABLE"
1364><TR
1365><TD
1366WIDTH="20%"
1367ALIGN="RIGHT"
1368VALIGN="TOP"
1369><TT
1370CLASS="PARAMETER"
1371><I
1372>c</I
1373></TT
1374>&nbsp;:</TD
1375><TD
1376WIDTH="80%"
1377ALIGN="LEFT"
1378VALIGN="TOP"
1379>&nbsp;</TD
1380></TR
1381></TABLE
1382><P
1383></P
1384></DIV
1385></DIV
1386><HR><DIV
1387CLASS="REFSECT2"
1388><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001389NAME="AEN12087"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001390></A
1391><H3
1392><A
1393NAME="IS-LETTER"
1394></A
1395>IS_LETTER()</H3
1396><TABLE
1397BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001398BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001399WIDTH="100%"
1400CELLPADDING="6"
1401><TR
1402><TD
1403><PRE
1404CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001405>#define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c))</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001406></TD
1407></TR
1408></TABLE
1409><P
1410></P
1411><DIV
1412CLASS="INFORMALTABLE"
1413><P
1414></P
1415><TABLE
1416BORDER="0"
1417WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001418BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001419CELLSPACING="0"
1420CELLPADDING="4"
1421CLASS="CALSTABLE"
1422><TR
1423><TD
1424WIDTH="20%"
1425ALIGN="RIGHT"
1426VALIGN="TOP"
1427><TT
1428CLASS="PARAMETER"
1429><I
1430>c</I
1431></TT
1432>&nbsp;:</TD
1433><TD
1434WIDTH="80%"
1435ALIGN="LEFT"
1436VALIGN="TOP"
1437>&nbsp;</TD
1438></TR
1439></TABLE
1440><P
1441></P
1442></DIV
1443></DIV
1444><HR><DIV
1445CLASS="REFSECT2"
1446><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001447NAME="AEN12101"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001448></A
1449><H3
1450><A
1451NAME="IS-PUBIDCHAR"
1452></A
1453>IS_PUBIDCHAR()</H3
1454><TABLE
1455BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001456BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001457WIDTH="100%"
1458CELLPADDING="6"
1459><TR
1460><TD
1461><PRE
1462CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001463>#define IS_PUBIDCHAR(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001464></TD
1465></TR
1466></TABLE
1467><P
1468></P
1469><DIV
1470CLASS="INFORMALTABLE"
1471><P
1472></P
1473><TABLE
1474BORDER="0"
1475WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001476BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001477CELLSPACING="0"
1478CELLPADDING="4"
1479CLASS="CALSTABLE"
1480><TR
1481><TD
1482WIDTH="20%"
1483ALIGN="RIGHT"
1484VALIGN="TOP"
1485><TT
1486CLASS="PARAMETER"
1487><I
1488>c</I
1489></TT
1490>&nbsp;:</TD
1491><TD
1492WIDTH="80%"
1493ALIGN="LEFT"
1494VALIGN="TOP"
1495>&nbsp;</TD
1496></TR
1497></TABLE
1498><P
1499></P
1500></DIV
1501></DIV
1502><HR><DIV
1503CLASS="REFSECT2"
1504><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001505NAME="AEN12115"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001506></A
1507><H3
1508><A
1509NAME="SKIP-EOL"
1510></A
1511>SKIP_EOL()</H3
1512><TABLE
1513BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001514BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001515WIDTH="100%"
1516CELLPADDING="6"
1517><TR
1518><TD
1519><PRE
1520CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001521>#define SKIP_EOL(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001522></TD
1523></TR
1524></TABLE
1525><P
1526></P
1527><DIV
1528CLASS="INFORMALTABLE"
1529><P
1530></P
1531><TABLE
1532BORDER="0"
1533WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001534BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001535CELLSPACING="0"
1536CELLPADDING="4"
1537CLASS="CALSTABLE"
1538><TR
1539><TD
1540WIDTH="20%"
1541ALIGN="RIGHT"
1542VALIGN="TOP"
1543><TT
1544CLASS="PARAMETER"
1545><I
1546>p</I
1547></TT
1548>&nbsp;:</TD
1549><TD
1550WIDTH="80%"
1551ALIGN="LEFT"
1552VALIGN="TOP"
1553>&nbsp;</TD
1554></TR
1555></TABLE
1556><P
1557></P
1558></DIV
1559></DIV
1560><HR><DIV
1561CLASS="REFSECT2"
1562><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001563NAME="AEN12129"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001564></A
1565><H3
1566><A
1567NAME="MOVETO-ENDTAG"
1568></A
1569>MOVETO_ENDTAG()</H3
1570><TABLE
1571BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001572BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001573WIDTH="100%"
1574CELLPADDING="6"
1575><TR
1576><TD
1577><PRE
1578CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001579>#define MOVETO_ENDTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001580></TD
1581></TR
1582></TABLE
1583><P
1584></P
1585><DIV
1586CLASS="INFORMALTABLE"
1587><P
1588></P
1589><TABLE
1590BORDER="0"
1591WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001592BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001593CELLSPACING="0"
1594CELLPADDING="4"
1595CLASS="CALSTABLE"
1596><TR
1597><TD
1598WIDTH="20%"
1599ALIGN="RIGHT"
1600VALIGN="TOP"
1601><TT
1602CLASS="PARAMETER"
1603><I
1604>p</I
1605></TT
1606>&nbsp;:</TD
1607><TD
1608WIDTH="80%"
1609ALIGN="LEFT"
1610VALIGN="TOP"
1611>&nbsp;</TD
1612></TR
1613></TABLE
1614><P
1615></P
1616></DIV
1617></DIV
1618><HR><DIV
1619CLASS="REFSECT2"
1620><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001621NAME="AEN12143"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001622></A
1623><H3
1624><A
1625NAME="MOVETO-STARTTAG"
1626></A
1627>MOVETO_STARTTAG()</H3
1628><TABLE
1629BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001630BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001631WIDTH="100%"
1632CELLPADDING="6"
1633><TR
1634><TD
1635><PRE
1636CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001637>#define MOVETO_STARTTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001638></TD
1639></TR
1640></TABLE
1641><P
1642></P
1643><DIV
1644CLASS="INFORMALTABLE"
1645><P
1646></P
1647><TABLE
1648BORDER="0"
1649WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001650BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001651CELLSPACING="0"
1652CELLPADDING="4"
1653CLASS="CALSTABLE"
1654><TR
1655><TD
1656WIDTH="20%"
1657ALIGN="RIGHT"
1658VALIGN="TOP"
1659><TT
1660CLASS="PARAMETER"
1661><I
1662>p</I
1663></TT
1664>&nbsp;:</TD
1665><TD
1666WIDTH="80%"
1667ALIGN="LEFT"
1668VALIGN="TOP"
1669>&nbsp;</TD
1670></TR
1671></TABLE
1672><P
1673></P
1674></DIV
1675></DIV
1676><HR><DIV
1677CLASS="REFSECT2"
1678><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001679NAME="AEN12157"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001680></A
1681><H3
1682><A
1683NAME="XMLCREATEDOCPARSERCTXT"
1684></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001685>xmlCreateDocParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001686><TABLE
1687BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001688BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001689WIDTH="100%"
1690CELLPADDING="6"
1691><TR
1692><TD
1693><PRE
1694CLASS="PROGRAMLISTING"
1695><A
1696HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1697>xmlParserCtxtPtr</A
1698> xmlCreateDocParserCtxt (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001699HREF="gnome-xml-tree.html#XMLCHAR"
1700>xmlChar</A
Daniel Veillardd692aa41999-02-28 21:54:31 +00001701> *cur);</PRE
1702></TD
1703></TR
1704></TABLE
1705><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001706>Creates a parser context for an XML in-memory document.</P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001707><P
Daniel Veillardd692aa41999-02-28 21:54:31 +00001708></P
1709><DIV
1710CLASS="INFORMALTABLE"
1711><P
1712></P
1713><TABLE
1714BORDER="0"
1715WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001716BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001717CELLSPACING="0"
1718CELLPADDING="4"
1719CLASS="CALSTABLE"
1720><TR
1721><TD
1722WIDTH="20%"
1723ALIGN="RIGHT"
1724VALIGN="TOP"
1725><TT
1726CLASS="PARAMETER"
1727><I
1728>cur</I
1729></TT
1730>&nbsp;:</TD
1731><TD
1732WIDTH="80%"
1733ALIGN="LEFT"
1734VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001735>&nbsp;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001736></TR
1737><TR
1738><TD
1739WIDTH="20%"
1740ALIGN="RIGHT"
1741VALIGN="TOP"
1742><I
1743CLASS="EMPHASIS"
1744>Returns</I
1745> :</TD
1746><TD
1747WIDTH="80%"
1748ALIGN="LEFT"
1749VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001750>&nbsp;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001751></TR
1752></TABLE
1753><P
1754></P
1755></DIV
1756></DIV
1757><HR><DIV
1758CLASS="REFSECT2"
1759><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001760NAME="AEN12178"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001761></A
1762><H3
1763><A
1764NAME="XMLCREATEFILEPARSERCTXT"
1765></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001766>xmlCreateFileParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001767><TABLE
1768BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001769BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001770WIDTH="100%"
1771CELLPADDING="6"
1772><TR
1773><TD
1774><PRE
1775CLASS="PROGRAMLISTING"
1776><A
1777HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1778>xmlParserCtxtPtr</A
1779> xmlCreateFileParserCtxt (const char *filename);</PRE
1780></TD
1781></TR
1782></TABLE
1783><P
1784>Create a parser context for a file content.
1785Automatic support for ZLIB/Compress compressed document is provided
1786by default if found at compile-time.</P
1787><P
1788></P
1789><DIV
1790CLASS="INFORMALTABLE"
1791><P
1792></P
1793><TABLE
1794BORDER="0"
1795WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001796BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001797CELLSPACING="0"
1798CELLPADDING="4"
1799CLASS="CALSTABLE"
1800><TR
1801><TD
1802WIDTH="20%"
1803ALIGN="RIGHT"
1804VALIGN="TOP"
1805><TT
1806CLASS="PARAMETER"
1807><I
1808>filename</I
1809></TT
1810>&nbsp;:</TD
1811><TD
1812WIDTH="80%"
1813ALIGN="LEFT"
1814VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001815> the filename</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001816></TR
1817><TR
1818><TD
1819WIDTH="20%"
1820ALIGN="RIGHT"
1821VALIGN="TOP"
1822><I
1823CLASS="EMPHASIS"
1824>Returns</I
1825> :</TD
1826><TD
1827WIDTH="80%"
1828ALIGN="LEFT"
1829VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001830>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001831></TR
1832></TABLE
1833><P
1834></P
1835></DIV
1836></DIV
1837><HR><DIV
1838CLASS="REFSECT2"
1839><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001840NAME="AEN12198"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001841></A
1842><H3
1843><A
1844NAME="XMLCREATEMEMORYPARSERCTXT"
1845></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001846>xmlCreateMemoryParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001847><TABLE
1848BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001849BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001850WIDTH="100%"
1851CELLPADDING="6"
1852><TR
1853><TD
1854><PRE
1855CLASS="PROGRAMLISTING"
1856><A
1857HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1858>xmlParserCtxtPtr</A
1859> xmlCreateMemoryParserCtxt (char *buffer,
1860 int size);</PRE
1861></TD
1862></TR
1863></TABLE
1864><P
1865>Create a parser context for an XML in-memory document.</P
1866><P
1867></P
1868><DIV
1869CLASS="INFORMALTABLE"
1870><P
1871></P
1872><TABLE
1873BORDER="0"
1874WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001875BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001876CELLSPACING="0"
1877CELLPADDING="4"
1878CLASS="CALSTABLE"
1879><TR
1880><TD
1881WIDTH="20%"
1882ALIGN="RIGHT"
1883VALIGN="TOP"
1884><TT
1885CLASS="PARAMETER"
1886><I
1887>buffer</I
1888></TT
1889>&nbsp;:</TD
1890><TD
1891WIDTH="80%"
1892ALIGN="LEFT"
1893VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001894> a pointer to a zero terminated char array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001895></TR
1896><TR
1897><TD
1898WIDTH="20%"
1899ALIGN="RIGHT"
1900VALIGN="TOP"
1901><TT
1902CLASS="PARAMETER"
1903><I
1904>size</I
1905></TT
1906>&nbsp;:</TD
1907><TD
1908WIDTH="80%"
1909ALIGN="LEFT"
1910VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001911> the size of the array (without the trailing 0)</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001912></TR
1913><TR
1914><TD
1915WIDTH="20%"
1916ALIGN="RIGHT"
1917VALIGN="TOP"
1918><I
1919CLASS="EMPHASIS"
1920>Returns</I
1921> :</TD
1922><TD
1923WIDTH="80%"
1924ALIGN="LEFT"
1925VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001926>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001927></TR
1928></TABLE
1929><P
1930></P
1931></DIV
1932></DIV
1933><HR><DIV
1934CLASS="REFSECT2"
1935><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001936NAME="AEN12222"
1937></A
1938><H3
1939><A
1940NAME="XMLNEWPARSERCTXT"
1941></A
1942>xmlNewParserCtxt ()</H3
1943><TABLE
1944BORDER="0"
1945BGCOLOR="#D6E8FF"
1946WIDTH="100%"
1947CELLPADDING="6"
1948><TR
1949><TD
1950><PRE
1951CLASS="PROGRAMLISTING"
1952><A
1953HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1954>xmlParserCtxtPtr</A
1955> xmlNewParserCtxt (void);</PRE
1956></TD
1957></TR
1958></TABLE
1959><P
1960>Allocate and initialize a new parser context.</P
1961><P
1962></P
1963><DIV
1964CLASS="INFORMALTABLE"
1965><P
1966></P
1967><TABLE
1968BORDER="0"
1969WIDTH="100%"
1970BGCOLOR="#FFD0D0"
1971CELLSPACING="0"
1972CELLPADDING="4"
1973CLASS="CALSTABLE"
1974><TR
1975><TD
1976WIDTH="20%"
1977ALIGN="RIGHT"
1978VALIGN="TOP"
1979><I
1980CLASS="EMPHASIS"
1981>Returns</I
1982> :</TD
1983><TD
1984WIDTH="80%"
1985ALIGN="LEFT"
1986VALIGN="TOP"
1987>the xmlParserCtxtPtr or NULL</TD
1988></TR
1989></TABLE
1990><P
1991></P
1992></DIV
1993></DIV
1994><HR><DIV
1995CLASS="REFSECT2"
1996><A
1997NAME="AEN12238"
1998></A
1999><H3
2000><A
2001NAME="XMLCREATEENTITYPARSERCTXT"
2002></A
2003>xmlCreateEntityParserCtxt ()</H3
2004><TABLE
2005BORDER="0"
2006BGCOLOR="#D6E8FF"
2007WIDTH="100%"
2008CELLPADDING="6"
2009><TR
2010><TD
2011><PRE
2012CLASS="PROGRAMLISTING"
2013><A
2014HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2015>xmlParserCtxtPtr</A
2016> xmlCreateEntityParserCtxt (const <A
2017HREF="gnome-xml-tree.html#XMLCHAR"
2018>xmlChar</A
2019> *URL,
2020 const <A
2021HREF="gnome-xml-tree.html#XMLCHAR"
2022>xmlChar</A
2023> *ID,
2024 const <A
2025HREF="gnome-xml-tree.html#XMLCHAR"
2026>xmlChar</A
2027> *base);</PRE
2028></TD
2029></TR
2030></TABLE
2031><P
2032>Create a parser context for an external entity
2033Automatic support for ZLIB/Compress compressed document is provided
2034by default if found at compile-time.</P
2035><P
2036></P
2037><DIV
2038CLASS="INFORMALTABLE"
2039><P
2040></P
2041><TABLE
2042BORDER="0"
2043WIDTH="100%"
2044BGCOLOR="#FFD0D0"
2045CELLSPACING="0"
2046CELLPADDING="4"
2047CLASS="CALSTABLE"
2048><TR
2049><TD
2050WIDTH="20%"
2051ALIGN="RIGHT"
2052VALIGN="TOP"
2053><TT
2054CLASS="PARAMETER"
2055><I
2056>URL</I
2057></TT
2058>&nbsp;:</TD
2059><TD
2060WIDTH="80%"
2061ALIGN="LEFT"
2062VALIGN="TOP"
2063> the entity URL</TD
2064></TR
2065><TR
2066><TD
2067WIDTH="20%"
2068ALIGN="RIGHT"
2069VALIGN="TOP"
2070><TT
2071CLASS="PARAMETER"
2072><I
2073>ID</I
2074></TT
2075>&nbsp;:</TD
2076><TD
2077WIDTH="80%"
2078ALIGN="LEFT"
2079VALIGN="TOP"
2080> the entity PUBLIC ID</TD
2081></TR
2082><TR
2083><TD
2084WIDTH="20%"
2085ALIGN="RIGHT"
2086VALIGN="TOP"
2087><TT
2088CLASS="PARAMETER"
2089><I
2090>base</I
2091></TT
2092>&nbsp;:</TD
2093><TD
2094WIDTH="80%"
2095ALIGN="LEFT"
2096VALIGN="TOP"
2097> a posible base for the target URI</TD
2098></TR
2099><TR
2100><TD
2101WIDTH="20%"
2102ALIGN="RIGHT"
2103VALIGN="TOP"
2104><I
2105CLASS="EMPHASIS"
2106>Returns</I
2107> :</TD
2108><TD
2109WIDTH="80%"
2110ALIGN="LEFT"
2111VALIGN="TOP"
2112>the new parser context or NULL</TD
2113></TR
2114></TABLE
2115><P
2116></P
2117></DIV
2118></DIV
2119><HR><DIV
2120CLASS="REFSECT2"
2121><A
2122NAME="AEN12269"
2123></A
2124><H3
2125><A
2126NAME="XMLSWITCHENCODING"
2127></A
2128>xmlSwitchEncoding ()</H3
2129><TABLE
2130BORDER="0"
2131BGCOLOR="#D6E8FF"
2132WIDTH="100%"
2133CELLPADDING="6"
2134><TR
2135><TD
2136><PRE
2137CLASS="PROGRAMLISTING"
2138>int xmlSwitchEncoding (<A
2139HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2140>xmlParserCtxtPtr</A
2141> ctxt,
2142 <A
2143HREF="gnome-xml-encoding.html#XMLCHARENCODING"
2144>xmlCharEncoding</A
2145> enc);</PRE
2146></TD
2147></TR
2148></TABLE
2149><P
2150>change the input functions when discovering the character encoding
2151of a given entity.</P
2152><P
2153></P
2154><DIV
2155CLASS="INFORMALTABLE"
2156><P
2157></P
2158><TABLE
2159BORDER="0"
2160WIDTH="100%"
2161BGCOLOR="#FFD0D0"
2162CELLSPACING="0"
2163CELLPADDING="4"
2164CLASS="CALSTABLE"
2165><TR
2166><TD
2167WIDTH="20%"
2168ALIGN="RIGHT"
2169VALIGN="TOP"
2170><TT
2171CLASS="PARAMETER"
2172><I
2173>ctxt</I
2174></TT
2175>&nbsp;:</TD
2176><TD
2177WIDTH="80%"
2178ALIGN="LEFT"
2179VALIGN="TOP"
2180> the parser context</TD
2181></TR
2182><TR
2183><TD
2184WIDTH="20%"
2185ALIGN="RIGHT"
2186VALIGN="TOP"
2187><TT
2188CLASS="PARAMETER"
2189><I
2190>enc</I
2191></TT
2192>&nbsp;:</TD
2193><TD
2194WIDTH="80%"
2195ALIGN="LEFT"
2196VALIGN="TOP"
2197> the encoding value (number)</TD
2198></TR
2199><TR
2200><TD
2201WIDTH="20%"
2202ALIGN="RIGHT"
2203VALIGN="TOP"
2204><I
2205CLASS="EMPHASIS"
2206>Returns</I
2207> :</TD
2208><TD
2209WIDTH="80%"
2210ALIGN="LEFT"
2211VALIGN="TOP"
2212>0 in case of success, -1 otherwise</TD
2213></TR
2214></TABLE
2215><P
2216></P
2217></DIV
2218></DIV
2219><HR><DIV
2220CLASS="REFSECT2"
2221><A
2222NAME="AEN12294"
2223></A
2224><H3
2225><A
2226NAME="XMLSWITCHTOENCODING"
2227></A
2228>xmlSwitchToEncoding ()</H3
2229><TABLE
2230BORDER="0"
2231BGCOLOR="#D6E8FF"
2232WIDTH="100%"
2233CELLPADDING="6"
2234><TR
2235><TD
2236><PRE
2237CLASS="PROGRAMLISTING"
2238>int xmlSwitchToEncoding (<A
2239HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2240>xmlParserCtxtPtr</A
2241> ctxt,
2242 <A
2243HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR"
2244>xmlCharEncodingHandlerPtr</A
2245> handler);</PRE
2246></TD
2247></TR
2248></TABLE
2249><P
2250>change the input functions when discovering the character encoding
2251of a given entity.</P
2252><P
2253></P
2254><DIV
2255CLASS="INFORMALTABLE"
2256><P
2257></P
2258><TABLE
2259BORDER="0"
2260WIDTH="100%"
2261BGCOLOR="#FFD0D0"
2262CELLSPACING="0"
2263CELLPADDING="4"
2264CLASS="CALSTABLE"
2265><TR
2266><TD
2267WIDTH="20%"
2268ALIGN="RIGHT"
2269VALIGN="TOP"
2270><TT
2271CLASS="PARAMETER"
2272><I
2273>ctxt</I
2274></TT
2275>&nbsp;:</TD
2276><TD
2277WIDTH="80%"
2278ALIGN="LEFT"
2279VALIGN="TOP"
2280> the parser context</TD
2281></TR
2282><TR
2283><TD
2284WIDTH="20%"
2285ALIGN="RIGHT"
2286VALIGN="TOP"
2287><TT
2288CLASS="PARAMETER"
2289><I
2290>handler</I
2291></TT
2292>&nbsp;:</TD
2293><TD
2294WIDTH="80%"
2295ALIGN="LEFT"
2296VALIGN="TOP"
2297> the encoding handler</TD
2298></TR
2299><TR
2300><TD
2301WIDTH="20%"
2302ALIGN="RIGHT"
2303VALIGN="TOP"
2304><I
2305CLASS="EMPHASIS"
2306>Returns</I
2307> :</TD
2308><TD
2309WIDTH="80%"
2310ALIGN="LEFT"
2311VALIGN="TOP"
2312>0 in case of success, -1 otherwise</TD
2313></TR
2314></TABLE
2315><P
2316></P
2317></DIV
2318></DIV
2319><HR><DIV
2320CLASS="REFSECT2"
2321><A
2322NAME="AEN12319"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002323></A
2324><H3
2325><A
2326NAME="XMLFREEPARSERCTXT"
2327></A
2328>xmlFreeParserCtxt ()</H3
2329><TABLE
2330BORDER="0"
2331BGCOLOR="#D6E8FF"
2332WIDTH="100%"
2333CELLPADDING="6"
2334><TR
2335><TD
2336><PRE
2337CLASS="PROGRAMLISTING"
2338>void xmlFreeParserCtxt (<A
2339HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2340>xmlParserCtxtPtr</A
2341> ctxt);</PRE
2342></TD
2343></TR
2344></TABLE
2345><P
2346>Free all the memory used by a parser context. However the parsed
2347document in ctxt-&gt;myDoc is not freed.</P
2348><P
2349></P
2350><DIV
2351CLASS="INFORMALTABLE"
2352><P
2353></P
2354><TABLE
2355BORDER="0"
2356WIDTH="100%"
2357BGCOLOR="#FFD0D0"
2358CELLSPACING="0"
2359CELLPADDING="4"
2360CLASS="CALSTABLE"
2361><TR
2362><TD
2363WIDTH="20%"
2364ALIGN="RIGHT"
2365VALIGN="TOP"
2366><TT
2367CLASS="PARAMETER"
2368><I
2369>ctxt</I
2370></TT
2371>&nbsp;:</TD
2372><TD
2373WIDTH="80%"
2374ALIGN="LEFT"
2375VALIGN="TOP"
2376>&nbsp;</TD
2377></TR
2378></TABLE
2379><P
2380></P
2381></DIV
2382></DIV
2383><HR><DIV
2384CLASS="REFSECT2"
2385><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002386NAME="AEN12335"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002387></A
2388><H3
2389><A
2390NAME="XMLHANDLEENTITY"
2391></A
2392>xmlHandleEntity ()</H3
2393><TABLE
2394BORDER="0"
2395BGCOLOR="#D6E8FF"
2396WIDTH="100%"
2397CELLPADDING="6"
2398><TR
2399><TD
2400><PRE
2401CLASS="PROGRAMLISTING"
2402>void xmlHandleEntity (<A
2403HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2404>xmlParserCtxtPtr</A
2405> ctxt,
2406 <A
2407HREF="gnome-xml-entities.html#XMLENTITYPTR"
2408>xmlEntityPtr</A
2409> entity);</PRE
2410></TD
2411></TR
2412></TABLE
2413><P
2414>Default handling of defined entities, when should we define a new input
2415stream ? When do we just handle that as a set of chars ?</P
2416><P
2417>OBSOLETE: to be removed at some point.</P
2418><P
2419></P
2420><DIV
2421CLASS="INFORMALTABLE"
2422><P
2423></P
2424><TABLE
2425BORDER="0"
2426WIDTH="100%"
2427BGCOLOR="#FFD0D0"
2428CELLSPACING="0"
2429CELLPADDING="4"
2430CLASS="CALSTABLE"
2431><TR
2432><TD
2433WIDTH="20%"
2434ALIGN="RIGHT"
2435VALIGN="TOP"
2436><TT
2437CLASS="PARAMETER"
2438><I
2439>ctxt</I
2440></TT
2441>&nbsp;:</TD
2442><TD
2443WIDTH="80%"
2444ALIGN="LEFT"
2445VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002446> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002447></TR
2448><TR
2449><TD
2450WIDTH="20%"
2451ALIGN="RIGHT"
2452VALIGN="TOP"
2453><TT
2454CLASS="PARAMETER"
2455><I
2456>entity</I
2457></TT
2458>&nbsp;:</TD
2459><TD
2460WIDTH="80%"
2461ALIGN="LEFT"
2462VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002463> an XML entity pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002464></TR
2465></TABLE
2466><P
2467></P
2468></DIV
2469></DIV
2470><HR><DIV
2471CLASS="REFSECT2"
2472><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002473NAME="AEN12357"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002474></A
2475><H3
2476><A
2477NAME="XMLNEWENTITYINPUTSTREAM"
2478></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002479>xmlNewEntityInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002480><TABLE
2481BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002482BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002483WIDTH="100%"
2484CELLPADDING="6"
2485><TR
2486><TD
2487><PRE
2488CLASS="PROGRAMLISTING"
2489><A
2490HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2491>xmlParserInputPtr</A
2492> xmlNewEntityInputStream (<A
2493HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2494>xmlParserCtxtPtr</A
2495> ctxt,
2496 <A
2497HREF="gnome-xml-entities.html#XMLENTITYPTR"
2498>xmlEntityPtr</A
2499> entity);</PRE
2500></TD
2501></TR
2502></TABLE
2503><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00002504>Create a new input stream based on an xmlEntityPtr</P
Daniel Veillardbc50b591999-03-01 12:28:53 +00002505><P
2506></P
2507><DIV
2508CLASS="INFORMALTABLE"
2509><P
2510></P
2511><TABLE
2512BORDER="0"
2513WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002514BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002515CELLSPACING="0"
2516CELLPADDING="4"
2517CLASS="CALSTABLE"
2518><TR
2519><TD
2520WIDTH="20%"
2521ALIGN="RIGHT"
2522VALIGN="TOP"
2523><TT
2524CLASS="PARAMETER"
2525><I
2526>ctxt</I
2527></TT
2528>&nbsp;:</TD
2529><TD
2530WIDTH="80%"
2531ALIGN="LEFT"
2532VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002533> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002534></TR
2535><TR
2536><TD
2537WIDTH="20%"
2538ALIGN="RIGHT"
2539VALIGN="TOP"
2540><TT
2541CLASS="PARAMETER"
2542><I
2543>entity</I
2544></TT
2545>&nbsp;:</TD
2546><TD
2547WIDTH="80%"
2548ALIGN="LEFT"
2549VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002550> an Entity pointer</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002551></TR
2552><TR
2553><TD
2554WIDTH="20%"
2555ALIGN="RIGHT"
2556VALIGN="TOP"
2557><I
2558CLASS="EMPHASIS"
2559>Returns</I
2560> :</TD
2561><TD
2562WIDTH="80%"
2563ALIGN="LEFT"
2564VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002565>the new input stream or NULL</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002566></TR
2567></TABLE
2568><P
2569></P
2570></DIV
2571></DIV
2572><HR><DIV
2573CLASS="REFSECT2"
2574><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002575NAME="AEN12383"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002576></A
2577><H3
2578><A
2579NAME="XMLPUSHINPUT"
2580></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002581>xmlPushInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002582><TABLE
2583BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002584BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002585WIDTH="100%"
2586CELLPADDING="6"
2587><TR
2588><TD
2589><PRE
2590CLASS="PROGRAMLISTING"
2591>void xmlPushInput (<A
2592HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2593>xmlParserCtxtPtr</A
2594> ctxt,
2595 <A
2596HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2597>xmlParserInputPtr</A
2598> input);</PRE
2599></TD
2600></TR
2601></TABLE
2602><P
2603>xmlPushInput: switch to a new input stream which is stacked on top
2604of the previous one(s).</P
2605><P
2606></P
2607><DIV
2608CLASS="INFORMALTABLE"
2609><P
2610></P
2611><TABLE
2612BORDER="0"
2613WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002614BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002615CELLSPACING="0"
2616CELLPADDING="4"
2617CLASS="CALSTABLE"
2618><TR
2619><TD
2620WIDTH="20%"
2621ALIGN="RIGHT"
2622VALIGN="TOP"
2623><TT
2624CLASS="PARAMETER"
2625><I
2626>ctxt</I
2627></TT
2628>&nbsp;:</TD
2629><TD
2630WIDTH="80%"
2631ALIGN="LEFT"
2632VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002633> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002634></TR
2635><TR
2636><TD
2637WIDTH="20%"
2638ALIGN="RIGHT"
2639VALIGN="TOP"
2640><TT
2641CLASS="PARAMETER"
2642><I
2643>input</I
2644></TT
2645>&nbsp;:</TD
2646><TD
2647WIDTH="80%"
2648ALIGN="LEFT"
2649VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002650> an XML parser input fragment (entity, XML fragment ...).</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002651></TR
2652></TABLE
2653><P
2654></P
2655></DIV
2656></DIV
2657><HR><DIV
2658CLASS="REFSECT2"
2659><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002660NAME="AEN12404"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002661></A
2662><H3
2663><A
2664NAME="XMLPOPINPUT"
2665></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002666>xmlPopInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002667><TABLE
2668BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002669BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002670WIDTH="100%"
2671CELLPADDING="6"
2672><TR
2673><TD
2674><PRE
2675CLASS="PROGRAMLISTING"
2676><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002677HREF="gnome-xml-tree.html#XMLCHAR"
2678>xmlChar</A
2679> xmlPopInput (<A
Daniel Veillardbc50b591999-03-01 12:28:53 +00002680HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2681>xmlParserCtxtPtr</A
2682> ctxt);</PRE
2683></TD
2684></TR
2685></TABLE
2686><P
2687>xmlPopInput: the current input pointed by ctxt-&gt;input came to an end
2688pop it and return the next char.</P
2689><P
Daniel Veillardbc50b591999-03-01 12:28:53 +00002690></P
2691><DIV
2692CLASS="INFORMALTABLE"
2693><P
2694></P
2695><TABLE
2696BORDER="0"
2697WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002698BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002699CELLSPACING="0"
2700CELLPADDING="4"
2701CLASS="CALSTABLE"
2702><TR
2703><TD
2704WIDTH="20%"
2705ALIGN="RIGHT"
2706VALIGN="TOP"
2707><TT
2708CLASS="PARAMETER"
2709><I
2710>ctxt</I
2711></TT
2712>&nbsp;:</TD
2713><TD
2714WIDTH="80%"
2715ALIGN="LEFT"
2716VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002717> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002718></TR
2719><TR
2720><TD
2721WIDTH="20%"
2722ALIGN="RIGHT"
2723VALIGN="TOP"
2724><I
2725CLASS="EMPHASIS"
2726>Returns</I
2727> :</TD
2728><TD
2729WIDTH="80%"
2730ALIGN="LEFT"
2731VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002732>the current xmlChar in the parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002733></TR
2734></TABLE
2735><P
2736></P
2737></DIV
2738></DIV
2739><HR><DIV
2740CLASS="REFSECT2"
2741><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002742NAME="AEN12425"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002743></A
2744><H3
2745><A
2746NAME="XMLFREEINPUTSTREAM"
2747></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002748>xmlFreeInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002749><TABLE
2750BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002751BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002752WIDTH="100%"
2753CELLPADDING="6"
2754><TR
2755><TD
2756><PRE
2757CLASS="PROGRAMLISTING"
2758>void xmlFreeInputStream (<A
2759HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2760>xmlParserInputPtr</A
2761> input);</PRE
2762></TD
2763></TR
2764></TABLE
2765><P
2766>Free up an input stream.</P
2767><P
2768></P
2769><DIV
2770CLASS="INFORMALTABLE"
2771><P
2772></P
2773><TABLE
2774BORDER="0"
2775WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002776BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002777CELLSPACING="0"
2778CELLPADDING="4"
2779CLASS="CALSTABLE"
2780><TR
2781><TD
2782WIDTH="20%"
2783ALIGN="RIGHT"
2784VALIGN="TOP"
2785><TT
2786CLASS="PARAMETER"
2787><I
2788>input</I
2789></TT
2790>&nbsp;:</TD
2791><TD
2792WIDTH="80%"
2793ALIGN="LEFT"
2794VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002795> an xmlParserInputPtr</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002796></TR
2797></TABLE
2798><P
2799></P
2800></DIV
2801></DIV
2802><HR><DIV
2803CLASS="REFSECT2"
2804><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002805NAME="AEN12441"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002806></A
2807><H3
2808><A
2809NAME="XMLNEWINPUTFROMFILE"
2810></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002811>xmlNewInputFromFile ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00002812><TABLE
2813BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002814BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002815WIDTH="100%"
2816CELLPADDING="6"
2817><TR
2818><TD
2819><PRE
2820CLASS="PROGRAMLISTING"
2821><A
2822HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2823>xmlParserInputPtr</A
2824> xmlNewInputFromFile (<A
2825HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2826>xmlParserCtxtPtr</A
2827> ctxt,
2828 const char *filename);</PRE
2829></TD
2830></TR
2831></TABLE
2832><P
2833>Create a new input stream based on a file.</P
2834><P
2835></P
2836><DIV
2837CLASS="INFORMALTABLE"
2838><P
2839></P
2840><TABLE
2841BORDER="0"
2842WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002843BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002844CELLSPACING="0"
2845CELLPADDING="4"
2846CLASS="CALSTABLE"
2847><TR
2848><TD
2849WIDTH="20%"
2850ALIGN="RIGHT"
2851VALIGN="TOP"
2852><TT
2853CLASS="PARAMETER"
2854><I
2855>ctxt</I
2856></TT
2857>&nbsp;:</TD
2858><TD
2859WIDTH="80%"
2860ALIGN="LEFT"
2861VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002862> an XML parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00002863></TR
2864><TR
2865><TD
2866WIDTH="20%"
2867ALIGN="RIGHT"
2868VALIGN="TOP"
2869><TT
2870CLASS="PARAMETER"
2871><I
2872>filename</I
2873></TT
2874>&nbsp;:</TD
2875><TD
2876WIDTH="80%"
2877ALIGN="LEFT"
2878VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002879> the filename to use as entity</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00002880></TR
2881><TR
2882><TD
2883WIDTH="20%"
2884ALIGN="RIGHT"
2885VALIGN="TOP"
2886><I
2887CLASS="EMPHASIS"
2888>Returns</I
2889> :</TD
2890><TD
2891WIDTH="80%"
2892ALIGN="LEFT"
2893VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002894>the new input stream or NULL in case of error</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00002895></TR
2896></TABLE
2897><P
2898></P
2899></DIV
2900></DIV
2901><HR><DIV
2902CLASS="REFSECT2"
2903><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002904NAME="AEN12466"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002905></A
2906><H3
2907><A
2908NAME="XMLSPLITQNAME"
2909></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002910>xmlSplitQName ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002911><TABLE
2912BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002913BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002914WIDTH="100%"
2915CELLPADDING="6"
2916><TR
2917><TD
2918><PRE
2919CLASS="PROGRAMLISTING"
2920><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002921HREF="gnome-xml-tree.html#XMLCHAR"
2922>xmlChar</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002923>* xmlSplitQName (<A
2924HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2925>xmlParserCtxtPtr</A
2926> ctxt,
2927 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002928HREF="gnome-xml-tree.html#XMLCHAR"
2929>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002930> *name,
2931 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002932HREF="gnome-xml-tree.html#XMLCHAR"
2933>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002934> **prefix);</PRE
2935></TD
2936></TR
2937></TABLE
2938><P
2939>parse an XML qualified name string</P
2940><P
2941>[NS 5] QName ::= (Prefix ':')? LocalPart</P
2942><P
2943>[NS 6] Prefix ::= NCName</P
2944><P
2945>[NS 7] LocalPart ::= NCName</P
2946><P
2947></P
2948><DIV
2949CLASS="INFORMALTABLE"
2950><P
2951></P
2952><TABLE
2953BORDER="0"
2954WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002955BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002956CELLSPACING="0"
2957CELLPADDING="4"
2958CLASS="CALSTABLE"
2959><TR
2960><TD
2961WIDTH="20%"
2962ALIGN="RIGHT"
2963VALIGN="TOP"
2964><TT
2965CLASS="PARAMETER"
2966><I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002967>ctxt</I
2968></TT
2969>&nbsp;:</TD
2970><TD
2971WIDTH="80%"
2972ALIGN="LEFT"
2973VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002974> an XML parser context</TD
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002975></TR
2976><TR
2977><TD
2978WIDTH="20%"
2979ALIGN="RIGHT"
2980VALIGN="TOP"
2981><TT
2982CLASS="PARAMETER"
2983><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002984>name</I
2985></TT
2986>&nbsp;:</TD
2987><TD
2988WIDTH="80%"
2989ALIGN="LEFT"
2990VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00002991> an XML parser context</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002992></TR
2993><TR
2994><TD
2995WIDTH="20%"
2996ALIGN="RIGHT"
2997VALIGN="TOP"
2998><TT
2999CLASS="PARAMETER"
3000><I
3001>prefix</I
3002></TT
3003>&nbsp;:</TD
3004><TD
3005WIDTH="80%"
3006ALIGN="LEFT"
3007VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003008> a xmlChar ** </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003009></TR
3010><TR
3011><TD
3012WIDTH="20%"
3013ALIGN="RIGHT"
3014VALIGN="TOP"
3015><I
3016CLASS="EMPHASIS"
3017>Returns</I
3018> :</TD
3019><TD
3020WIDTH="80%"
3021ALIGN="LEFT"
3022VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003023>the local part, and prefix is updated
3024to get the Prefix if any.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00003025></TR
3026></TABLE
3027><P
3028></P
3029></DIV
3030></DIV
3031><HR><DIV
3032CLASS="REFSECT2"
3033><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003034NAME="AEN12500"
Daniel Veillard35925471999-02-25 08:46:07 +00003035></A
3036><H3
3037><A
3038NAME="XMLNAMESPACEPARSENCNAME"
3039></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003040>xmlNamespaceParseNCName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003041><TABLE
3042BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003043BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003044WIDTH="100%"
3045CELLPADDING="6"
3046><TR
3047><TD
3048><PRE
3049CLASS="PROGRAMLISTING"
3050><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003051HREF="gnome-xml-tree.html#XMLCHAR"
3052>xmlChar</A
3053>* xmlNamespaceParseNCName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003054HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3055>xmlParserCtxtPtr</A
3056> ctxt);</PRE
3057></TD
3058></TR
3059></TABLE
3060><P
3061>parse an XML namespace name.</P
3062><P
3063>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
3064><P
3065>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
3066CombiningChar | Extender</P
3067><P
3068></P
3069><DIV
3070CLASS="INFORMALTABLE"
3071><P
3072></P
3073><TABLE
3074BORDER="0"
3075WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003076BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003077CELLSPACING="0"
3078CELLPADDING="4"
3079CLASS="CALSTABLE"
3080><TR
3081><TD
3082WIDTH="20%"
3083ALIGN="RIGHT"
3084VALIGN="TOP"
3085><TT
3086CLASS="PARAMETER"
3087><I
3088>ctxt</I
3089></TT
3090>&nbsp;:</TD
3091><TD
3092WIDTH="80%"
3093ALIGN="LEFT"
3094VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003095> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003096></TR
3097><TR
3098><TD
3099WIDTH="20%"
3100ALIGN="RIGHT"
3101VALIGN="TOP"
3102><I
3103CLASS="EMPHASIS"
3104>Returns</I
3105> :</TD
3106><TD
3107WIDTH="80%"
3108ALIGN="LEFT"
3109VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003110>the namespace name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003111></TR
3112></TABLE
3113><P
3114></P
3115></DIV
3116></DIV
3117><HR><DIV
3118CLASS="REFSECT2"
3119><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003120NAME="AEN12523"
Daniel Veillard35925471999-02-25 08:46:07 +00003121></A
3122><H3
3123><A
3124NAME="XMLNAMESPACEPARSEQNAME"
3125></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003126>xmlNamespaceParseQName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003127><TABLE
3128BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003129BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003130WIDTH="100%"
3131CELLPADDING="6"
3132><TR
3133><TD
3134><PRE
3135CLASS="PROGRAMLISTING"
3136><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003137HREF="gnome-xml-tree.html#XMLCHAR"
3138>xmlChar</A
3139>* xmlNamespaceParseQName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003140HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3141>xmlParserCtxtPtr</A
3142> ctxt,
3143 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003144HREF="gnome-xml-tree.html#XMLCHAR"
3145>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003146> **prefix);</PRE
3147></TD
3148></TR
3149></TABLE
3150><P
3151>parse an XML qualified name</P
3152><P
3153>[NS 5] QName ::= (Prefix ':')? LocalPart</P
3154><P
3155>[NS 6] Prefix ::= NCName</P
3156><P
3157>[NS 7] LocalPart ::= NCName</P
3158><P
3159></P
3160><DIV
3161CLASS="INFORMALTABLE"
3162><P
3163></P
3164><TABLE
3165BORDER="0"
3166WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003167BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003168CELLSPACING="0"
3169CELLPADDING="4"
3170CLASS="CALSTABLE"
3171><TR
3172><TD
3173WIDTH="20%"
3174ALIGN="RIGHT"
3175VALIGN="TOP"
3176><TT
3177CLASS="PARAMETER"
3178><I
3179>ctxt</I
3180></TT
3181>&nbsp;:</TD
3182><TD
3183WIDTH="80%"
3184ALIGN="LEFT"
3185VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003186> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003187></TR
3188><TR
3189><TD
3190WIDTH="20%"
3191ALIGN="RIGHT"
3192VALIGN="TOP"
3193><TT
3194CLASS="PARAMETER"
3195><I
3196>prefix</I
3197></TT
3198>&nbsp;:</TD
3199><TD
3200WIDTH="80%"
3201ALIGN="LEFT"
3202VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003203> a xmlChar ** </TD
Daniel Veillard35925471999-02-25 08:46:07 +00003204></TR
3205><TR
3206><TD
3207WIDTH="20%"
3208ALIGN="RIGHT"
3209VALIGN="TOP"
3210><I
3211CLASS="EMPHASIS"
3212>Returns</I
3213> :</TD
3214><TD
3215WIDTH="80%"
3216ALIGN="LEFT"
3217VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003218>the local part, and prefix is updated
3219to get the Prefix if any.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003220></TR
3221></TABLE
3222><P
3223></P
3224></DIV
3225></DIV
3226><HR><DIV
3227CLASS="REFSECT2"
3228><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003229NAME="AEN12552"
Daniel Veillard35925471999-02-25 08:46:07 +00003230></A
3231><H3
3232><A
3233NAME="XMLNAMESPACEPARSENSDEF"
3234></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003235>xmlNamespaceParseNSDef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003236><TABLE
3237BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003238BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003239WIDTH="100%"
3240CELLPADDING="6"
3241><TR
3242><TD
3243><PRE
3244CLASS="PROGRAMLISTING"
3245><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003246HREF="gnome-xml-tree.html#XMLCHAR"
3247>xmlChar</A
3248>* xmlNamespaceParseNSDef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003249HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3250>xmlParserCtxtPtr</A
3251> ctxt);</PRE
3252></TD
3253></TR
3254></TABLE
3255><P
3256>parse a namespace prefix declaration</P
3257><P
3258>[NS 1] NSDef ::= PrefixDef Eq SystemLiteral</P
3259><P
3260>[NS 2] PrefixDef ::= 'xmlns' (':' NCName)?</P
3261><P
3262></P
3263><DIV
3264CLASS="INFORMALTABLE"
3265><P
3266></P
3267><TABLE
3268BORDER="0"
3269WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003270BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003271CELLSPACING="0"
3272CELLPADDING="4"
3273CLASS="CALSTABLE"
3274><TR
3275><TD
3276WIDTH="20%"
3277ALIGN="RIGHT"
3278VALIGN="TOP"
3279><TT
3280CLASS="PARAMETER"
3281><I
3282>ctxt</I
3283></TT
3284>&nbsp;:</TD
3285><TD
3286WIDTH="80%"
3287ALIGN="LEFT"
3288VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003289> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003290></TR
3291><TR
3292><TD
3293WIDTH="20%"
3294ALIGN="RIGHT"
3295VALIGN="TOP"
3296><I
3297CLASS="EMPHASIS"
3298>Returns</I
3299> :</TD
3300><TD
3301WIDTH="80%"
3302ALIGN="LEFT"
3303VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003304>the namespace name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003305></TR
3306></TABLE
3307><P
3308></P
3309></DIV
3310></DIV
3311><HR><DIV
3312CLASS="REFSECT2"
3313><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003314NAME="AEN12575"
Daniel Veillard35925471999-02-25 08:46:07 +00003315></A
3316><H3
3317><A
3318NAME="XMLPARSEQUOTEDSTRING"
3319></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003320>xmlParseQuotedString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003321><TABLE
3322BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003323BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003324WIDTH="100%"
3325CELLPADDING="6"
3326><TR
3327><TD
3328><PRE
3329CLASS="PROGRAMLISTING"
3330><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003331HREF="gnome-xml-tree.html#XMLCHAR"
3332>xmlChar</A
3333>* xmlParseQuotedString (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003334HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3335>xmlParserCtxtPtr</A
3336> ctxt);</PRE
3337></TD
3338></TR
3339></TABLE
3340><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00003341>[OLD] Parse and return a string between quotes or doublequotes
3342To be removed at next drop of binary compatibility</P
Daniel Veillard35925471999-02-25 08:46:07 +00003343><P
3344></P
3345><DIV
3346CLASS="INFORMALTABLE"
3347><P
3348></P
3349><TABLE
3350BORDER="0"
3351WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003352BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003353CELLSPACING="0"
3354CELLPADDING="4"
3355CLASS="CALSTABLE"
3356><TR
3357><TD
3358WIDTH="20%"
3359ALIGN="RIGHT"
3360VALIGN="TOP"
3361><TT
3362CLASS="PARAMETER"
3363><I
3364>ctxt</I
3365></TT
3366>&nbsp;:</TD
3367><TD
3368WIDTH="80%"
3369ALIGN="LEFT"
3370VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003371> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003372></TR
3373><TR
3374><TD
3375WIDTH="20%"
3376ALIGN="RIGHT"
3377VALIGN="TOP"
3378><I
3379CLASS="EMPHASIS"
3380>Returns</I
3381> :</TD
3382><TD
3383WIDTH="80%"
3384ALIGN="LEFT"
3385VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003386>the string parser or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003387></TR
3388></TABLE
3389><P
3390></P
3391></DIV
3392></DIV
3393><HR><DIV
3394CLASS="REFSECT2"
3395><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003396NAME="AEN12596"
Daniel Veillard35925471999-02-25 08:46:07 +00003397></A
3398><H3
3399><A
3400NAME="XMLPARSENAMESPACE"
3401></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003402>xmlParseNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003403><TABLE
3404BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003405BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003406WIDTH="100%"
3407CELLPADDING="6"
3408><TR
3409><TD
3410><PRE
3411CLASS="PROGRAMLISTING"
3412>void xmlParseNamespace (<A
3413HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3414>xmlParserCtxtPtr</A
3415> ctxt);</PRE
3416></TD
3417></TR
3418></TABLE
3419><P
3420>[OLD] xmlParseNamespace: parse specific PI '&lt;?namespace ...' constructs.</P
3421><P
3422>This is what the older xml-name Working Draft specified, a bunch of
3423other stuff may still rely on it, so support is still here as
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003424if it was declared on the root of the Tree:-(</P
Daniel Veillard35925471999-02-25 08:46:07 +00003425><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00003426>To be removed at next drop of binary compatibility</P
3427><P
Daniel Veillard35925471999-02-25 08:46:07 +00003428></P
3429><DIV
3430CLASS="INFORMALTABLE"
3431><P
3432></P
3433><TABLE
3434BORDER="0"
3435WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003436BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003437CELLSPACING="0"
3438CELLPADDING="4"
3439CLASS="CALSTABLE"
3440><TR
3441><TD
3442WIDTH="20%"
3443ALIGN="RIGHT"
3444VALIGN="TOP"
3445><TT
3446CLASS="PARAMETER"
3447><I
3448>ctxt</I
3449></TT
3450>&nbsp;:</TD
3451><TD
3452WIDTH="80%"
3453ALIGN="LEFT"
3454VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003455> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003456></TR
3457></TABLE
3458><P
3459></P
3460></DIV
3461></DIV
3462><HR><DIV
3463CLASS="REFSECT2"
3464><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003465NAME="AEN12614"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003466></A
3467><H3
3468><A
3469NAME="XMLSCANNAME"
3470></A
3471>xmlScanName ()</H3
3472><TABLE
3473BORDER="0"
3474BGCOLOR="#D6E8FF"
3475WIDTH="100%"
3476CELLPADDING="6"
3477><TR
3478><TD
3479><PRE
3480CLASS="PROGRAMLISTING"
3481><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003482HREF="gnome-xml-tree.html#XMLCHAR"
3483>xmlChar</A
3484>* xmlScanName (<A
Daniel Veillardb05deb71999-08-10 19:04:08 +00003485HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3486>xmlParserCtxtPtr</A
3487> ctxt);</PRE
3488></TD
3489></TR
3490></TABLE
3491><P
3492>Trickery: parse an XML name but without consuming the input flow
3493Needed for rollback cases.</P
3494><P
3495>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
3496CombiningChar | Extender</P
3497><P
3498>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
3499><P
3500>[6] Names ::= Name (S Name)*</P
3501><P
3502></P
3503><DIV
3504CLASS="INFORMALTABLE"
3505><P
3506></P
3507><TABLE
3508BORDER="0"
3509WIDTH="100%"
3510BGCOLOR="#FFD0D0"
3511CELLSPACING="0"
3512CELLPADDING="4"
3513CLASS="CALSTABLE"
3514><TR
3515><TD
3516WIDTH="20%"
3517ALIGN="RIGHT"
3518VALIGN="TOP"
3519><TT
3520CLASS="PARAMETER"
3521><I
3522>ctxt</I
3523></TT
3524>&nbsp;:</TD
3525><TD
3526WIDTH="80%"
3527ALIGN="LEFT"
3528VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003529> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003530></TR
3531><TR
3532><TD
3533WIDTH="20%"
3534ALIGN="RIGHT"
3535VALIGN="TOP"
3536><I
3537CLASS="EMPHASIS"
3538>Returns</I
3539> :</TD
3540><TD
3541WIDTH="80%"
3542ALIGN="LEFT"
3543VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003544>the Name parsed or NULL</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003545></TR
3546></TABLE
3547><P
3548></P
3549></DIV
3550></DIV
3551><HR><DIV
3552CLASS="REFSECT2"
3553><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003554NAME="AEN12638"
Daniel Veillard35925471999-02-25 08:46:07 +00003555></A
3556><H3
3557><A
3558NAME="XMLPARSENAME"
3559></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003560>xmlParseName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003561><TABLE
3562BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003563BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003564WIDTH="100%"
3565CELLPADDING="6"
3566><TR
3567><TD
3568><PRE
3569CLASS="PROGRAMLISTING"
3570><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003571HREF="gnome-xml-tree.html#XMLCHAR"
3572>xmlChar</A
3573>* xmlParseName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003574HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3575>xmlParserCtxtPtr</A
3576> ctxt);</PRE
3577></TD
3578></TR
3579></TABLE
3580><P
3581>parse an XML name.</P
3582><P
3583>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
3584CombiningChar | Extender</P
3585><P
3586>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
3587><P
3588>[6] Names ::= Name (S Name)*</P
3589><P
3590></P
3591><DIV
3592CLASS="INFORMALTABLE"
3593><P
3594></P
3595><TABLE
3596BORDER="0"
3597WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003598BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003599CELLSPACING="0"
3600CELLPADDING="4"
3601CLASS="CALSTABLE"
3602><TR
3603><TD
3604WIDTH="20%"
3605ALIGN="RIGHT"
3606VALIGN="TOP"
3607><TT
3608CLASS="PARAMETER"
3609><I
3610>ctxt</I
3611></TT
3612>&nbsp;:</TD
3613><TD
3614WIDTH="80%"
3615ALIGN="LEFT"
3616VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003617> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003618></TR
3619><TR
3620><TD
3621WIDTH="20%"
3622ALIGN="RIGHT"
3623VALIGN="TOP"
3624><I
3625CLASS="EMPHASIS"
3626>Returns</I
3627> :</TD
3628><TD
3629WIDTH="80%"
3630ALIGN="LEFT"
3631VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003632>the Name parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003633></TR
3634></TABLE
3635><P
3636></P
3637></DIV
3638></DIV
3639><HR><DIV
3640CLASS="REFSECT2"
3641><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003642NAME="AEN12662"
Daniel Veillard35925471999-02-25 08:46:07 +00003643></A
3644><H3
3645><A
3646NAME="XMLPARSENMTOKEN"
3647></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003648>xmlParseNmtoken ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003649><TABLE
3650BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003651BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003652WIDTH="100%"
3653CELLPADDING="6"
3654><TR
3655><TD
3656><PRE
3657CLASS="PROGRAMLISTING"
3658><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003659HREF="gnome-xml-tree.html#XMLCHAR"
3660>xmlChar</A
3661>* xmlParseNmtoken (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003662HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3663>xmlParserCtxtPtr</A
3664> ctxt);</PRE
3665></TD
3666></TR
3667></TABLE
3668><P
3669>parse an XML Nmtoken.</P
3670><P
3671>[7] Nmtoken ::= (NameChar)+</P
3672><P
3673>[8] Nmtokens ::= Nmtoken (S Nmtoken)*</P
3674><P
3675></P
3676><DIV
3677CLASS="INFORMALTABLE"
3678><P
3679></P
3680><TABLE
3681BORDER="0"
3682WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003683BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003684CELLSPACING="0"
3685CELLPADDING="4"
3686CLASS="CALSTABLE"
3687><TR
3688><TD
3689WIDTH="20%"
3690ALIGN="RIGHT"
3691VALIGN="TOP"
3692><TT
3693CLASS="PARAMETER"
3694><I
3695>ctxt</I
3696></TT
3697>&nbsp;:</TD
3698><TD
3699WIDTH="80%"
3700ALIGN="LEFT"
3701VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003702> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003703></TR
3704><TR
3705><TD
3706WIDTH="20%"
3707ALIGN="RIGHT"
3708VALIGN="TOP"
3709><I
3710CLASS="EMPHASIS"
3711>Returns</I
3712> :</TD
3713><TD
3714WIDTH="80%"
3715ALIGN="LEFT"
3716VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003717>the Nmtoken parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003718></TR
3719></TABLE
3720><P
3721></P
3722></DIV
3723></DIV
3724><HR><DIV
3725CLASS="REFSECT2"
3726><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003727NAME="AEN12685"
Daniel Veillard35925471999-02-25 08:46:07 +00003728></A
3729><H3
3730><A
3731NAME="XMLPARSEENTITYVALUE"
3732></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003733>xmlParseEntityValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003734><TABLE
3735BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003736BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003737WIDTH="100%"
3738CELLPADDING="6"
3739><TR
3740><TD
3741><PRE
3742CLASS="PROGRAMLISTING"
3743><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003744HREF="gnome-xml-tree.html#XMLCHAR"
3745>xmlChar</A
3746>* xmlParseEntityValue (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003747HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3748>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003749> ctxt,
3750 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003751HREF="gnome-xml-tree.html#XMLCHAR"
3752>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003753> **orig);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003754></TD
3755></TR
3756></TABLE
3757><P
3758>parse a value for ENTITY decl.</P
3759><P
3760>[9] EntityValue ::= '"' ([^%&amp;"] | PEReference | Reference)* '"' |
3761"'" ([^%&amp;'] | PEReference | Reference)* "'"</P
3762><P
3763></P
3764><DIV
3765CLASS="INFORMALTABLE"
3766><P
3767></P
3768><TABLE
3769BORDER="0"
3770WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003771BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003772CELLSPACING="0"
3773CELLPADDING="4"
3774CLASS="CALSTABLE"
3775><TR
3776><TD
3777WIDTH="20%"
3778ALIGN="RIGHT"
3779VALIGN="TOP"
3780><TT
3781CLASS="PARAMETER"
3782><I
3783>ctxt</I
3784></TT
3785>&nbsp;:</TD
3786><TD
3787WIDTH="80%"
3788ALIGN="LEFT"
3789VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003790> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003791></TR
3792><TR
3793><TD
3794WIDTH="20%"
3795ALIGN="RIGHT"
3796VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003797><TT
3798CLASS="PARAMETER"
3799><I
3800>orig</I
3801></TT
3802>&nbsp;:</TD
3803><TD
3804WIDTH="80%"
3805ALIGN="LEFT"
3806VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003807> if non-NULL store a copy of the original entity value</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00003808></TR
3809><TR
3810><TD
3811WIDTH="20%"
3812ALIGN="RIGHT"
3813VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00003814><I
3815CLASS="EMPHASIS"
3816>Returns</I
3817> :</TD
3818><TD
3819WIDTH="80%"
3820ALIGN="LEFT"
3821VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003822>the EntityValue parsed with reference substitued or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003823></TR
3824></TABLE
3825><P
3826></P
3827></DIV
3828></DIV
3829><HR><DIV
3830CLASS="REFSECT2"
3831><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003832NAME="AEN12712"
Daniel Veillard35925471999-02-25 08:46:07 +00003833></A
3834><H3
3835><A
3836NAME="XMLPARSEATTVALUE"
3837></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003838>xmlParseAttValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003839><TABLE
3840BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003841BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003842WIDTH="100%"
3843CELLPADDING="6"
3844><TR
3845><TD
3846><PRE
3847CLASS="PROGRAMLISTING"
3848><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003849HREF="gnome-xml-tree.html#XMLCHAR"
3850>xmlChar</A
3851>* xmlParseAttValue (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003852HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3853>xmlParserCtxtPtr</A
3854> ctxt);</PRE
3855></TD
3856></TR
3857></TABLE
3858><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00003859>parse a value for an attribute
3860Note: the parser won't do substitution of entities here, this
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003861will be handled later in xmlStringGetNodeList</P
Daniel Veillard35925471999-02-25 08:46:07 +00003862><P
3863>[10] AttValue ::= '"' ([^&lt;&amp;"] | Reference)* '"' |
3864"'" ([^&lt;&amp;'] | Reference)* "'"</P
3865><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003866>3.3.3 Attribute-Value Normalization:
3867Before the value of an attribute is passed to the application or
3868checked for validity, the XML processor must normalize it as follows:
3869- a character reference is processed by appending the referenced
3870character to the attribute value
3871- an entity reference is processed by recursively processing the
3872replacement text of the entity
3873- a whitespace character (<GTKDOCLINK
3874HREF="X20"
3875>x20</GTKDOCLINK
3876>, <GTKDOCLINK
3877HREF="XD"
3878>xD</GTKDOCLINK
3879>, <GTKDOCLINK
3880HREF="XA"
3881>xA</GTKDOCLINK
3882>, <GTKDOCLINK
3883HREF="X9"
3884>x9</GTKDOCLINK
3885>) is processed by
3886appending <GTKDOCLINK
3887HREF="X20"
3888>x20</GTKDOCLINK
3889> to the normalized value, except that only a single
3890<GTKDOCLINK
3891HREF="X20"
3892>x20</GTKDOCLINK
3893> is appended for a "<GTKDOCLINK
3894HREF="XD"
3895>xD</GTKDOCLINK
3896><GTKDOCLINK
3897HREF="XA"
3898>xA</GTKDOCLINK
3899>" sequence that is part of an external
3900parsed entity or the literal entity value of an internal parsed entity
3901- other characters are processed by appending them to the normalized value
3902If the declared value is not CDATA, then the XML processor must further
3903process the normalized attribute value by discarding any leading and
3904trailing space (<GTKDOCLINK
3905HREF="X20"
3906>x20</GTKDOCLINK
3907>) characters, and by replacing sequences of space
3908(<GTKDOCLINK
3909HREF="X20"
3910>x20</GTKDOCLINK
3911>) characters by a single space (<GTKDOCLINK
3912HREF="X20"
3913>x20</GTKDOCLINK
3914>) character.
3915All attributes for which no declaration has been read should be treated
3916by a non-validating parser as if declared CDATA.</P
3917><P
Daniel Veillard35925471999-02-25 08:46:07 +00003918></P
3919><DIV
3920CLASS="INFORMALTABLE"
3921><P
3922></P
3923><TABLE
3924BORDER="0"
3925WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003926BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003927CELLSPACING="0"
3928CELLPADDING="4"
3929CLASS="CALSTABLE"
3930><TR
3931><TD
3932WIDTH="20%"
3933ALIGN="RIGHT"
3934VALIGN="TOP"
3935><TT
3936CLASS="PARAMETER"
3937><I
3938>ctxt</I
3939></TT
3940>&nbsp;:</TD
3941><TD
3942WIDTH="80%"
3943ALIGN="LEFT"
3944VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003945> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003946></TR
3947><TR
3948><TD
3949WIDTH="20%"
3950ALIGN="RIGHT"
3951VALIGN="TOP"
3952><I
3953CLASS="EMPHASIS"
3954>Returns</I
3955> :</TD
3956><TD
3957WIDTH="80%"
3958ALIGN="LEFT"
3959VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003960>the AttValue parsed or NULL. The value has to be freed by the caller.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003961></TR
3962></TABLE
3963><P
3964></P
3965></DIV
3966></DIV
3967><HR><DIV
3968CLASS="REFSECT2"
3969><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00003970NAME="AEN12746"
Daniel Veillard35925471999-02-25 08:46:07 +00003971></A
3972><H3
3973><A
3974NAME="XMLPARSESYSTEMLITERAL"
3975></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003976>xmlParseSystemLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003977><TABLE
3978BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003979BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003980WIDTH="100%"
3981CELLPADDING="6"
3982><TR
3983><TD
3984><PRE
3985CLASS="PROGRAMLISTING"
3986><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003987HREF="gnome-xml-tree.html#XMLCHAR"
3988>xmlChar</A
3989>* xmlParseSystemLiteral (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003990HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3991>xmlParserCtxtPtr</A
3992> ctxt);</PRE
3993></TD
3994></TR
3995></TABLE
3996><P
3997>parse an XML Literal</P
3998><P
3999>[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</P
4000><P
4001></P
4002><DIV
4003CLASS="INFORMALTABLE"
4004><P
4005></P
4006><TABLE
4007BORDER="0"
4008WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004009BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004010CELLSPACING="0"
4011CELLPADDING="4"
4012CLASS="CALSTABLE"
4013><TR
4014><TD
4015WIDTH="20%"
4016ALIGN="RIGHT"
4017VALIGN="TOP"
4018><TT
4019CLASS="PARAMETER"
4020><I
4021>ctxt</I
4022></TT
4023>&nbsp;:</TD
4024><TD
4025WIDTH="80%"
4026ALIGN="LEFT"
4027VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004028> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004029></TR
4030><TR
4031><TD
4032WIDTH="20%"
4033ALIGN="RIGHT"
4034VALIGN="TOP"
4035><I
4036CLASS="EMPHASIS"
4037>Returns</I
4038> :</TD
4039><TD
4040WIDTH="80%"
4041ALIGN="LEFT"
4042VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004043>the SystemLiteral parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004044></TR
4045></TABLE
4046><P
4047></P
4048></DIV
4049></DIV
4050><HR><DIV
4051CLASS="REFSECT2"
4052><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004053NAME="AEN12768"
Daniel Veillard35925471999-02-25 08:46:07 +00004054></A
4055><H3
4056><A
4057NAME="XMLPARSEPUBIDLITERAL"
4058></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004059>xmlParsePubidLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004060><TABLE
4061BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004062BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004063WIDTH="100%"
4064CELLPADDING="6"
4065><TR
4066><TD
4067><PRE
4068CLASS="PROGRAMLISTING"
4069><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004070HREF="gnome-xml-tree.html#XMLCHAR"
4071>xmlChar</A
4072>* xmlParsePubidLiteral (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004073HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4074>xmlParserCtxtPtr</A
4075> ctxt);</PRE
4076></TD
4077></TR
4078></TABLE
4079><P
4080>parse an XML public literal</P
4081><P
4082>[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</P
4083><P
4084></P
4085><DIV
4086CLASS="INFORMALTABLE"
4087><P
4088></P
4089><TABLE
4090BORDER="0"
4091WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004092BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004093CELLSPACING="0"
4094CELLPADDING="4"
4095CLASS="CALSTABLE"
4096><TR
4097><TD
4098WIDTH="20%"
4099ALIGN="RIGHT"
4100VALIGN="TOP"
4101><TT
4102CLASS="PARAMETER"
4103><I
4104>ctxt</I
4105></TT
4106>&nbsp;:</TD
4107><TD
4108WIDTH="80%"
4109ALIGN="LEFT"
4110VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004111> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004112></TR
4113><TR
4114><TD
4115WIDTH="20%"
4116ALIGN="RIGHT"
4117VALIGN="TOP"
4118><I
4119CLASS="EMPHASIS"
4120>Returns</I
4121> :</TD
4122><TD
4123WIDTH="80%"
4124ALIGN="LEFT"
4125VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004126>the PubidLiteral parsed or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004127></TR
4128></TABLE
4129><P
4130></P
4131></DIV
4132></DIV
4133><HR><DIV
4134CLASS="REFSECT2"
4135><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004136NAME="AEN12790"
Daniel Veillard35925471999-02-25 08:46:07 +00004137></A
4138><H3
4139><A
4140NAME="XMLPARSECHARDATA"
4141></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004142>xmlParseCharData ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004143><TABLE
4144BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004145BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004146WIDTH="100%"
4147CELLPADDING="6"
4148><TR
4149><TD
4150><PRE
4151CLASS="PROGRAMLISTING"
4152>void xmlParseCharData (<A
4153HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4154>xmlParserCtxtPtr</A
4155> ctxt,
4156 int cdata);</PRE
4157></TD
4158></TR
4159></TABLE
4160><P
4161>parse a CharData section.
4162if we are within a CDATA section ']]&gt;' marks an end of section.</P
4163><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004164>The right angle bracket (&gt;) may be represented using the string "&amp;gt;",
4165and must, for compatibility, be escaped using "&amp;gt;" or a character
4166reference when it appears in the string "]]&gt;" in content, when that
4167string is not marking the end of a CDATA section. </P
4168><P
Daniel Veillard35925471999-02-25 08:46:07 +00004169>[14] CharData ::= [^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</P
4170><P
4171></P
4172><DIV
4173CLASS="INFORMALTABLE"
4174><P
4175></P
4176><TABLE
4177BORDER="0"
4178WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004179BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004180CELLSPACING="0"
4181CELLPADDING="4"
4182CLASS="CALSTABLE"
4183><TR
4184><TD
4185WIDTH="20%"
4186ALIGN="RIGHT"
4187VALIGN="TOP"
4188><TT
4189CLASS="PARAMETER"
4190><I
4191>ctxt</I
4192></TT
4193>&nbsp;:</TD
4194><TD
4195WIDTH="80%"
4196ALIGN="LEFT"
4197VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004198> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004199></TR
4200><TR
4201><TD
4202WIDTH="20%"
4203ALIGN="RIGHT"
4204VALIGN="TOP"
4205><TT
4206CLASS="PARAMETER"
4207><I
4208>cdata</I
4209></TT
4210>&nbsp;:</TD
4211><TD
4212WIDTH="80%"
4213ALIGN="LEFT"
4214VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004215> int indicating whether we are within a CDATA section</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004216></TR
4217></TABLE
4218><P
4219></P
4220></DIV
4221></DIV
4222><HR><DIV
4223CLASS="REFSECT2"
4224><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004225NAME="AEN12812"
Daniel Veillard35925471999-02-25 08:46:07 +00004226></A
4227><H3
4228><A
4229NAME="XMLPARSEEXTERNALID"
4230></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004231>xmlParseExternalID ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004232><TABLE
4233BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004234BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004235WIDTH="100%"
4236CELLPADDING="6"
4237><TR
4238><TD
4239><PRE
4240CLASS="PROGRAMLISTING"
4241><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004242HREF="gnome-xml-tree.html#XMLCHAR"
4243>xmlChar</A
4244>* xmlParseExternalID (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004245HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4246>xmlParserCtxtPtr</A
4247> ctxt,
4248 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004249HREF="gnome-xml-tree.html#XMLCHAR"
4250>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004251> **publicID,
4252 int strict);</PRE
4253></TD
4254></TR
4255></TABLE
4256><P
4257>Parse an External ID or a Public ID</P
4258><P
4259>NOTE: Productions [75] and [83] interract badly since [75] can generate
4260'PUBLIC' S PubidLiteral S SystemLiteral</P
4261><P
4262>[75] ExternalID ::= 'SYSTEM' S SystemLiteral
4263| 'PUBLIC' S PubidLiteral S SystemLiteral</P
4264><P
4265>[83] PublicID ::= 'PUBLIC' S PubidLiteral</P
4266><P
4267></P
4268><DIV
4269CLASS="INFORMALTABLE"
4270><P
4271></P
4272><TABLE
4273BORDER="0"
4274WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004275BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004276CELLSPACING="0"
4277CELLPADDING="4"
4278CLASS="CALSTABLE"
4279><TR
4280><TD
4281WIDTH="20%"
4282ALIGN="RIGHT"
4283VALIGN="TOP"
4284><TT
4285CLASS="PARAMETER"
4286><I
4287>ctxt</I
4288></TT
4289>&nbsp;:</TD
4290><TD
4291WIDTH="80%"
4292ALIGN="LEFT"
4293VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004294> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004295></TR
4296><TR
4297><TD
4298WIDTH="20%"
4299ALIGN="RIGHT"
4300VALIGN="TOP"
4301><TT
4302CLASS="PARAMETER"
4303><I
4304>publicID</I
4305></TT
4306>&nbsp;:</TD
4307><TD
4308WIDTH="80%"
4309ALIGN="LEFT"
4310VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004311> a xmlChar** receiving PubidLiteral</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004312></TR
4313><TR
4314><TD
4315WIDTH="20%"
4316ALIGN="RIGHT"
4317VALIGN="TOP"
4318><TT
4319CLASS="PARAMETER"
4320><I
4321>strict</I
4322></TT
4323>&nbsp;:</TD
4324><TD
4325WIDTH="80%"
4326ALIGN="LEFT"
4327VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004328> indicate whether we should restrict parsing to only
4329production [75], see NOTE below</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004330></TR
4331><TR
4332><TD
4333WIDTH="20%"
4334ALIGN="RIGHT"
4335VALIGN="TOP"
4336><I
4337CLASS="EMPHASIS"
4338>Returns</I
4339> :</TD
4340><TD
4341WIDTH="80%"
4342ALIGN="LEFT"
4343VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004344>the function returns SystemLiteral and in the second
4345case publicID receives PubidLiteral, is strict is off
4346it is possible to return NULL and have publicID set.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004347></TR
4348></TABLE
4349><P
4350></P
4351></DIV
4352></DIV
4353><HR><DIV
4354CLASS="REFSECT2"
4355><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004356NAME="AEN12845"
Daniel Veillard35925471999-02-25 08:46:07 +00004357></A
4358><H3
4359><A
4360NAME="XMLPARSECOMMENT"
4361></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004362>xmlParseComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004363><TABLE
4364BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004365BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004366WIDTH="100%"
4367CELLPADDING="6"
4368><TR
4369><TD
4370><PRE
4371CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004372>void xmlParseComment (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004373HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4374>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00004375> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00004376></TD
4377></TR
4378></TABLE
4379><P
4380>Skip an XML (SGML) comment &lt;!-- .... --&gt;
Daniel Veillard35925471999-02-25 08:46:07 +00004381The spec says that "For compatibility, the string "--" (double-hyphen)
4382must not occur within comments. "</P
4383><P
4384>[15] Comment ::= '&lt;!--' ((Char - '-') | ('-' (Char - '-')))* '--&gt;'</P
4385><P
Daniel Veillard35925471999-02-25 08:46:07 +00004386></P
4387><DIV
4388CLASS="INFORMALTABLE"
4389><P
4390></P
4391><TABLE
4392BORDER="0"
4393WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004394BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004395CELLSPACING="0"
4396CELLPADDING="4"
4397CLASS="CALSTABLE"
4398><TR
4399><TD
4400WIDTH="20%"
4401ALIGN="RIGHT"
4402VALIGN="TOP"
4403><TT
4404CLASS="PARAMETER"
4405><I
4406>ctxt</I
4407></TT
4408>&nbsp;:</TD
4409><TD
4410WIDTH="80%"
4411ALIGN="LEFT"
4412VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004413> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004414></TR
Daniel Veillard35925471999-02-25 08:46:07 +00004415></TABLE
4416><P
4417></P
4418></DIV
4419></DIV
4420><HR><DIV
4421CLASS="REFSECT2"
4422><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004423NAME="AEN12862"
Daniel Veillard35925471999-02-25 08:46:07 +00004424></A
4425><H3
4426><A
4427NAME="XMLPARSEPITARGET"
4428></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004429>xmlParsePITarget ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004430><TABLE
4431BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004432BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004433WIDTH="100%"
4434CELLPADDING="6"
4435><TR
4436><TD
4437><PRE
4438CLASS="PROGRAMLISTING"
4439><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004440HREF="gnome-xml-tree.html#XMLCHAR"
4441>xmlChar</A
4442>* xmlParsePITarget (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004443HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4444>xmlParserCtxtPtr</A
4445> ctxt);</PRE
4446></TD
4447></TR
4448></TABLE
4449><P
4450>parse the name of a PI</P
4451><P
4452>[17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</P
4453><P
4454></P
4455><DIV
4456CLASS="INFORMALTABLE"
4457><P
4458></P
4459><TABLE
4460BORDER="0"
4461WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004462BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004463CELLSPACING="0"
4464CELLPADDING="4"
4465CLASS="CALSTABLE"
4466><TR
4467><TD
4468WIDTH="20%"
4469ALIGN="RIGHT"
4470VALIGN="TOP"
4471><TT
4472CLASS="PARAMETER"
4473><I
4474>ctxt</I
4475></TT
4476>&nbsp;:</TD
4477><TD
4478WIDTH="80%"
4479ALIGN="LEFT"
4480VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004481> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004482></TR
4483><TR
4484><TD
4485WIDTH="20%"
4486ALIGN="RIGHT"
4487VALIGN="TOP"
4488><I
4489CLASS="EMPHASIS"
4490>Returns</I
4491> :</TD
4492><TD
4493WIDTH="80%"
4494ALIGN="LEFT"
4495VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004496>the PITarget name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004497></TR
4498></TABLE
4499><P
4500></P
4501></DIV
4502></DIV
4503><HR><DIV
4504CLASS="REFSECT2"
4505><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004506NAME="AEN12884"
Daniel Veillard35925471999-02-25 08:46:07 +00004507></A
4508><H3
4509><A
4510NAME="XMLPARSEPI"
4511></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004512>xmlParsePI ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004513><TABLE
4514BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004515BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004516WIDTH="100%"
4517CELLPADDING="6"
4518><TR
4519><TD
4520><PRE
4521CLASS="PROGRAMLISTING"
4522>void xmlParsePI (<A
4523HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4524>xmlParserCtxtPtr</A
4525> ctxt);</PRE
4526></TD
4527></TR
4528></TABLE
4529><P
4530>parse an XML Processing Instruction.</P
4531><P
4532>[16] PI ::= '&lt;?' PITarget (S (Char* - (Char* '?&gt;' Char*)))? '?&gt;'</P
4533><P
4534>The processing is transfered to SAX once parsed.</P
4535><P
4536></P
4537><DIV
4538CLASS="INFORMALTABLE"
4539><P
4540></P
4541><TABLE
4542BORDER="0"
4543WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004544BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004545CELLSPACING="0"
4546CELLPADDING="4"
4547CLASS="CALSTABLE"
4548><TR
4549><TD
4550WIDTH="20%"
4551ALIGN="RIGHT"
4552VALIGN="TOP"
4553><TT
4554CLASS="PARAMETER"
4555><I
4556>ctxt</I
4557></TT
4558>&nbsp;:</TD
4559><TD
4560WIDTH="80%"
4561ALIGN="LEFT"
4562VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004563> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004564></TR
4565></TABLE
4566><P
4567></P
4568></DIV
4569></DIV
4570><HR><DIV
4571CLASS="REFSECT2"
4572><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004573NAME="AEN12902"
Daniel Veillard35925471999-02-25 08:46:07 +00004574></A
4575><H3
4576><A
4577NAME="XMLPARSENOTATIONDECL"
4578></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004579>xmlParseNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004580><TABLE
4581BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004582BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004583WIDTH="100%"
4584CELLPADDING="6"
4585><TR
4586><TD
4587><PRE
4588CLASS="PROGRAMLISTING"
4589>void xmlParseNotationDecl (<A
4590HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4591>xmlParserCtxtPtr</A
4592> ctxt);</PRE
4593></TD
4594></TR
4595></TABLE
4596><P
4597>parse a notation declaration</P
4598><P
4599>[82] NotationDecl ::= '&lt;!NOTATION' S Name S (ExternalID | PublicID) S? '&gt;'</P
4600><P
4601>Hence there is actually 3 choices:
4602'PUBLIC' S PubidLiteral
4603'PUBLIC' S PubidLiteral S SystemLiteral
4604and 'SYSTEM' S SystemLiteral</P
4605><P
4606>See the NOTE on <A
4607HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
4608>xmlParseExternalID</A
4609>().</P
4610><P
4611></P
4612><DIV
4613CLASS="INFORMALTABLE"
4614><P
4615></P
4616><TABLE
4617BORDER="0"
4618WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004619BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004620CELLSPACING="0"
4621CELLPADDING="4"
4622CLASS="CALSTABLE"
4623><TR
4624><TD
4625WIDTH="20%"
4626ALIGN="RIGHT"
4627VALIGN="TOP"
4628><TT
4629CLASS="PARAMETER"
4630><I
4631>ctxt</I
4632></TT
4633>&nbsp;:</TD
4634><TD
4635WIDTH="80%"
4636ALIGN="LEFT"
4637VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004638> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004639></TR
4640></TABLE
4641><P
4642></P
4643></DIV
4644></DIV
4645><HR><DIV
4646CLASS="REFSECT2"
4647><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004648NAME="AEN12922"
Daniel Veillard35925471999-02-25 08:46:07 +00004649></A
4650><H3
4651><A
4652NAME="XMLPARSEENTITYDECL"
4653></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004654>xmlParseEntityDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004655><TABLE
4656BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004657BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004658WIDTH="100%"
4659CELLPADDING="6"
4660><TR
4661><TD
4662><PRE
4663CLASS="PROGRAMLISTING"
4664>void xmlParseEntityDecl (<A
4665HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4666>xmlParserCtxtPtr</A
4667> ctxt);</PRE
4668></TD
4669></TR
4670></TABLE
4671><P
4672>parse &lt;!ENTITY declarations</P
4673><P
4674>[70] EntityDecl ::= GEDecl | PEDecl</P
4675><P
4676>[71] GEDecl ::= '&lt;!ENTITY' S Name S EntityDef S? '&gt;'</P
4677><P
4678>[72] PEDecl ::= '&lt;!ENTITY' S '%' S Name S PEDef S? '&gt;'</P
4679><P
4680>[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)</P
4681><P
4682>[74] PEDef ::= EntityValue | ExternalID</P
4683><P
4684>[76] NDataDecl ::= S 'NDATA' S Name</P
4685><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004686>[ VC: Notation Declared ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004687The Name must match the declared name of a notation.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004688><P
Daniel Veillard35925471999-02-25 08:46:07 +00004689></P
4690><DIV
4691CLASS="INFORMALTABLE"
4692><P
4693></P
4694><TABLE
4695BORDER="0"
4696WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004697BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004698CELLSPACING="0"
4699CELLPADDING="4"
4700CLASS="CALSTABLE"
4701><TR
4702><TD
4703WIDTH="20%"
4704ALIGN="RIGHT"
4705VALIGN="TOP"
4706><TT
4707CLASS="PARAMETER"
4708><I
4709>ctxt</I
4710></TT
4711>&nbsp;:</TD
4712><TD
4713WIDTH="80%"
4714ALIGN="LEFT"
4715VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004716> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004717></TR
4718></TABLE
4719><P
4720></P
4721></DIV
4722></DIV
4723><HR><DIV
4724CLASS="REFSECT2"
4725><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004726NAME="AEN12945"
Daniel Veillard35925471999-02-25 08:46:07 +00004727></A
4728><H3
4729><A
4730NAME="XMLPARSEDEFAULTDECL"
4731></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004732>xmlParseDefaultDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004733><TABLE
4734BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004735BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004736WIDTH="100%"
4737CELLPADDING="6"
4738><TR
4739><TD
4740><PRE
4741CLASS="PROGRAMLISTING"
4742>int xmlParseDefaultDecl (<A
4743HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4744>xmlParserCtxtPtr</A
4745> ctxt,
4746 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004747HREF="gnome-xml-tree.html#XMLCHAR"
4748>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004749> **value);</PRE
4750></TD
4751></TR
4752></TABLE
4753><P
4754>Parse an attribute default declaration</P
4755><P
4756>[60] DefaultDecl ::= '<GTKDOCLINK
4757HREF="REQUIRED"
4758>REQUIRED</GTKDOCLINK
4759>' | '<GTKDOCLINK
4760HREF="IMPLIED"
4761>IMPLIED</GTKDOCLINK
4762>' | (('<GTKDOCLINK
4763HREF="FIXED"
4764>FIXED</GTKDOCLINK
4765>' S)? AttValue)</P
4766><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004767>[ VC: Required Attribute ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004768if the default declaration is the keyword <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00004769HREF="REQUIRED"
4770>REQUIRED</GTKDOCLINK
4771>, then the
4772attribute must be specified for all elements of the type in the
4773attribute-list declaration.</P
4774><P
4775>[ VC: Attribute Default Legal ]
4776The declared default value must meet the lexical constraints of
4777the declared attribute type c.f. <A
4778HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL"
4779>xmlValidateAttributeDecl</A
4780>()</P
4781><P
4782>[ VC: Fixed Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004783if an attribute has a default value declared with the <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00004784HREF="FIXED"
4785>FIXED</GTKDOCLINK
4786>
4787keyword, instances of that attribute must match the default value. </P
4788><P
4789>[ WFC: No &lt; in Attribute Values ]
4790handled in <A
4791HREF="gnome-xml-parserinternals.html#XMLPARSEATTVALUE"
4792>xmlParseAttValue</A
4793>()</P
4794><P
Daniel Veillard35925471999-02-25 08:46:07 +00004795></P
4796><DIV
4797CLASS="INFORMALTABLE"
4798><P
4799></P
4800><TABLE
4801BORDER="0"
4802WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004803BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004804CELLSPACING="0"
4805CELLPADDING="4"
4806CLASS="CALSTABLE"
4807><TR
4808><TD
4809WIDTH="20%"
4810ALIGN="RIGHT"
4811VALIGN="TOP"
4812><TT
4813CLASS="PARAMETER"
4814><I
4815>ctxt</I
4816></TT
4817>&nbsp;:</TD
4818><TD
4819WIDTH="80%"
4820ALIGN="LEFT"
4821VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004822> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004823></TR
4824><TR
4825><TD
4826WIDTH="20%"
4827ALIGN="RIGHT"
4828VALIGN="TOP"
4829><TT
4830CLASS="PARAMETER"
4831><I
4832>value</I
4833></TT
4834>&nbsp;:</TD
4835><TD
4836WIDTH="80%"
4837ALIGN="LEFT"
4838VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004839> Receive a possible fixed default value for the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004840></TR
4841><TR
4842><TD
4843WIDTH="20%"
4844ALIGN="RIGHT"
4845VALIGN="TOP"
4846><I
4847CLASS="EMPHASIS"
4848>Returns</I
4849> :</TD
4850><TD
4851WIDTH="80%"
4852ALIGN="LEFT"
4853VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004854> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED
4855or XML_ATTRIBUTE_FIXED. </TD
Daniel Veillard35925471999-02-25 08:46:07 +00004856></TR
4857></TABLE
4858><P
4859></P
4860></DIV
4861></DIV
4862><HR><DIV
4863CLASS="REFSECT2"
4864><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004865NAME="AEN12982"
Daniel Veillard35925471999-02-25 08:46:07 +00004866></A
4867><H3
4868><A
4869NAME="XMLPARSENOTATIONTYPE"
4870></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004871>xmlParseNotationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004872><TABLE
4873BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004874BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004875WIDTH="100%"
4876CELLPADDING="6"
4877><TR
4878><TD
4879><PRE
4880CLASS="PROGRAMLISTING"
4881><A
4882HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4883>xmlEnumerationPtr</A
4884> xmlParseNotationType (<A
4885HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4886>xmlParserCtxtPtr</A
4887> ctxt);</PRE
4888></TD
4889></TR
4890></TABLE
4891><P
4892>parse an Notation attribute type.</P
4893><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004894>Note: the leading 'NOTATION' S part has already being parsed...</P
4895><P
Daniel Veillard35925471999-02-25 08:46:07 +00004896>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
4897><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004898>[ VC: Notation Attributes ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004899Values of this type must match one of the notation names included
Daniel Veillardb05deb71999-08-10 19:04:08 +00004900in the declaration; all notation names in the declaration must be declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00004901><P
4902></P
4903><DIV
4904CLASS="INFORMALTABLE"
4905><P
4906></P
4907><TABLE
4908BORDER="0"
4909WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004910BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004911CELLSPACING="0"
4912CELLPADDING="4"
4913CLASS="CALSTABLE"
4914><TR
4915><TD
4916WIDTH="20%"
4917ALIGN="RIGHT"
4918VALIGN="TOP"
4919><TT
4920CLASS="PARAMETER"
4921><I
4922>ctxt</I
4923></TT
4924>&nbsp;:</TD
4925><TD
4926WIDTH="80%"
4927ALIGN="LEFT"
4928VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004929> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004930></TR
4931><TR
4932><TD
4933WIDTH="20%"
4934ALIGN="RIGHT"
4935VALIGN="TOP"
4936><I
4937CLASS="EMPHASIS"
4938>Returns</I
4939> :</TD
4940><TD
4941WIDTH="80%"
4942ALIGN="LEFT"
4943VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004944> the notation attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004945></TR
4946></TABLE
4947><P
4948></P
4949></DIV
4950></DIV
4951><HR><DIV
4952CLASS="REFSECT2"
4953><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00004954NAME="AEN13006"
Daniel Veillard35925471999-02-25 08:46:07 +00004955></A
4956><H3
4957><A
4958NAME="XMLPARSEENUMERATIONTYPE"
4959></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004960>xmlParseEnumerationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004961><TABLE
4962BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004963BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004964WIDTH="100%"
4965CELLPADDING="6"
4966><TR
4967><TD
4968><PRE
4969CLASS="PROGRAMLISTING"
4970><A
4971HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4972>xmlEnumerationPtr</A
4973> xmlParseEnumerationType (<A
4974HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4975>xmlParserCtxtPtr</A
4976> ctxt);</PRE
4977></TD
4978></TR
4979></TABLE
4980><P
4981>parse an Enumeration attribute type.</P
4982><P
4983>[59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')'</P
4984><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004985>[ VC: Enumeration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004986Values of this type must match one of the Nmtoken tokens in
Daniel Veillardb05deb71999-08-10 19:04:08 +00004987the declaration</P
4988><P
Daniel Veillard35925471999-02-25 08:46:07 +00004989></P
4990><DIV
4991CLASS="INFORMALTABLE"
4992><P
4993></P
4994><TABLE
4995BORDER="0"
4996WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004997BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004998CELLSPACING="0"
4999CELLPADDING="4"
5000CLASS="CALSTABLE"
5001><TR
5002><TD
5003WIDTH="20%"
5004ALIGN="RIGHT"
5005VALIGN="TOP"
5006><TT
5007CLASS="PARAMETER"
5008><I
5009>ctxt</I
5010></TT
5011>&nbsp;:</TD
5012><TD
5013WIDTH="80%"
5014ALIGN="LEFT"
5015VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005016> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005017></TR
5018><TR
5019><TD
5020WIDTH="20%"
5021ALIGN="RIGHT"
5022VALIGN="TOP"
5023><I
5024CLASS="EMPHASIS"
5025>Returns</I
5026> :</TD
5027><TD
5028WIDTH="80%"
5029ALIGN="LEFT"
5030VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005031> the enumeration attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005032></TR
5033></TABLE
5034><P
5035></P
5036></DIV
5037></DIV
5038><HR><DIV
5039CLASS="REFSECT2"
5040><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005041NAME="AEN13029"
Daniel Veillard35925471999-02-25 08:46:07 +00005042></A
5043><H3
5044><A
5045NAME="XMLPARSEENUMERATEDTYPE"
5046></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005047>xmlParseEnumeratedType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005048><TABLE
5049BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005050BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005051WIDTH="100%"
5052CELLPADDING="6"
5053><TR
5054><TD
5055><PRE
5056CLASS="PROGRAMLISTING"
5057>int xmlParseEnumeratedType (<A
5058HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5059>xmlParserCtxtPtr</A
5060> ctxt,
5061 <A
5062HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
5063>xmlEnumerationPtr</A
5064> *tree);</PRE
5065></TD
5066></TR
5067></TABLE
5068><P
5069>parse an Enumerated attribute type.</P
5070><P
5071>[57] EnumeratedType ::= NotationType | Enumeration</P
5072><P
5073>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
5074><P
5075></P
5076><DIV
5077CLASS="INFORMALTABLE"
5078><P
5079></P
5080><TABLE
5081BORDER="0"
5082WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005083BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005084CELLSPACING="0"
5085CELLPADDING="4"
5086CLASS="CALSTABLE"
5087><TR
5088><TD
5089WIDTH="20%"
5090ALIGN="RIGHT"
5091VALIGN="TOP"
5092><TT
5093CLASS="PARAMETER"
5094><I
5095>ctxt</I
5096></TT
5097>&nbsp;:</TD
5098><TD
5099WIDTH="80%"
5100ALIGN="LEFT"
5101VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005102> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005103></TR
5104><TR
5105><TD
5106WIDTH="20%"
5107ALIGN="RIGHT"
5108VALIGN="TOP"
5109><TT
5110CLASS="PARAMETER"
5111><I
5112>tree</I
5113></TT
5114>&nbsp;:</TD
5115><TD
5116WIDTH="80%"
5117ALIGN="LEFT"
5118VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005119> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005120></TR
5121><TR
5122><TD
5123WIDTH="20%"
5124ALIGN="RIGHT"
5125VALIGN="TOP"
5126><I
5127CLASS="EMPHASIS"
5128>Returns</I
5129> :</TD
5130><TD
5131WIDTH="80%"
5132ALIGN="LEFT"
5133VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005134> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005135></TR
5136></TABLE
5137><P
5138></P
5139></DIV
5140></DIV
5141><HR><DIV
5142CLASS="REFSECT2"
5143><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005144NAME="AEN13056"
Daniel Veillard35925471999-02-25 08:46:07 +00005145></A
5146><H3
5147><A
5148NAME="XMLPARSEATTRIBUTETYPE"
5149></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005150>xmlParseAttributeType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005151><TABLE
5152BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005153BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005154WIDTH="100%"
5155CELLPADDING="6"
5156><TR
5157><TD
5158><PRE
5159CLASS="PROGRAMLISTING"
5160>int xmlParseAttributeType (<A
5161HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5162>xmlParserCtxtPtr</A
5163> ctxt,
5164 <A
5165HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
5166>xmlEnumerationPtr</A
5167> *tree);</PRE
5168></TD
5169></TR
5170></TABLE
5171><P
5172>parse the Attribute list def for an element</P
5173><P
5174>[54] AttType ::= StringType | TokenizedType | EnumeratedType</P
5175><P
5176>[55] StringType ::= 'CDATA'</P
5177><P
5178>[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' |
5179'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'</P
5180><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005181>Validity constraints for attribute values syntax are checked in
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005182<A
5183HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
5184>xmlValidateAttributeValue</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005185>()</P
5186><P
5187>[ VC: ID ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005188Values of type ID must match the Name production. A name must not
Daniel Veillardb05deb71999-08-10 19:04:08 +00005189appear more than once in an XML document as a value of this type;
5190i.e., ID values must uniquely identify the elements which bear them.</P
5191><P
5192>[ VC: One ID per Element Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005193No element type may have more than one ID attribute specified.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005194><P
5195>[ VC: ID Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005196An ID attribute must have a declared default of <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00005197HREF="IMPLIED"
5198>IMPLIED</GTKDOCLINK
5199> or <GTKDOCLINK
5200HREF="REQUIRED"
5201>REQUIRED</GTKDOCLINK
5202>.</P
5203><P
5204>[ VC: IDREF ]
5205Values of type IDREF must match the Name production, and values
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005206of type IDREFS must match Names; each IDREF Name must match the value
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005207of an ID attribute on some element in the XML document; i.e. IDREF
Daniel Veillardb05deb71999-08-10 19:04:08 +00005208values must match the value of some ID attribute.</P
5209><P
5210>[ VC: Entity Name ]
5211Values of type ENTITY must match the Name production, values
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005212of type ENTITIES must match Names; each Entity Name must match the
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005213name of an unparsed entity declared in the DTD. </P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005214><P
5215>[ VC: Name Token ]
5216Values of type NMTOKEN must match the Nmtoken production; values
5217of type NMTOKENS must match Nmtokens.</P
5218><P
Daniel Veillard35925471999-02-25 08:46:07 +00005219></P
5220><DIV
5221CLASS="INFORMALTABLE"
5222><P
5223></P
5224><TABLE
5225BORDER="0"
5226WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005227BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005228CELLSPACING="0"
5229CELLPADDING="4"
5230CLASS="CALSTABLE"
5231><TR
5232><TD
5233WIDTH="20%"
5234ALIGN="RIGHT"
5235VALIGN="TOP"
5236><TT
5237CLASS="PARAMETER"
5238><I
5239>ctxt</I
5240></TT
5241>&nbsp;:</TD
5242><TD
5243WIDTH="80%"
5244ALIGN="LEFT"
5245VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005246> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005247></TR
5248><TR
5249><TD
5250WIDTH="20%"
5251ALIGN="RIGHT"
5252VALIGN="TOP"
5253><TT
5254CLASS="PARAMETER"
5255><I
5256>tree</I
5257></TT
5258>&nbsp;:</TD
5259><TD
5260WIDTH="80%"
5261ALIGN="LEFT"
5262VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005263> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005264></TR
5265><TR
5266><TD
5267WIDTH="20%"
5268ALIGN="RIGHT"
5269VALIGN="TOP"
5270><I
5271CLASS="EMPHASIS"
5272>Returns</I
5273> :</TD
5274><TD
5275WIDTH="80%"
5276ALIGN="LEFT"
5277VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005278>the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005279></TR
5280></TABLE
5281><P
5282></P
5283></DIV
5284></DIV
5285><HR><DIV
5286CLASS="REFSECT2"
5287><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005288NAME="AEN13094"
Daniel Veillard35925471999-02-25 08:46:07 +00005289></A
5290><H3
5291><A
5292NAME="XMLPARSEATTRIBUTELISTDECL"
5293></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005294>xmlParseAttributeListDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005295><TABLE
5296BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005297BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005298WIDTH="100%"
5299CELLPADDING="6"
5300><TR
5301><TD
5302><PRE
5303CLASS="PROGRAMLISTING"
5304>void xmlParseAttributeListDecl (<A
5305HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5306>xmlParserCtxtPtr</A
5307> ctxt);</PRE
5308></TD
5309></TR
5310></TABLE
5311><P
5312>: parse the Attribute list def for an element</P
5313><P
5314>[52] AttlistDecl ::= '&lt;!ATTLIST' S Name AttDef* S? '&gt;'</P
5315><P
5316>[53] AttDef ::= S Name S AttType S DefaultDecl</P
5317><P
5318></P
5319><DIV
5320CLASS="INFORMALTABLE"
5321><P
5322></P
5323><TABLE
5324BORDER="0"
5325WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005326BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005327CELLSPACING="0"
5328CELLPADDING="4"
5329CLASS="CALSTABLE"
5330><TR
5331><TD
5332WIDTH="20%"
5333ALIGN="RIGHT"
5334VALIGN="TOP"
5335><TT
5336CLASS="PARAMETER"
5337><I
5338>ctxt</I
5339></TT
5340>&nbsp;:</TD
5341><TD
5342WIDTH="80%"
5343ALIGN="LEFT"
5344VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005345> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005346></TR
5347></TABLE
5348><P
5349></P
5350></DIV
5351></DIV
5352><HR><DIV
5353CLASS="REFSECT2"
5354><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005355NAME="AEN13112"
Daniel Veillard35925471999-02-25 08:46:07 +00005356></A
5357><H3
5358><A
5359NAME="XMLPARSEELEMENTMIXEDCONTENTDECL"
5360></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005361>xmlParseElementMixedContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005362><TABLE
5363BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005364BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005365WIDTH="100%"
5366CELLPADDING="6"
5367><TR
5368><TD
5369><PRE
5370CLASS="PROGRAMLISTING"
5371><A
5372HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
5373>xmlElementContentPtr</A
5374> xmlParseElementMixedContentDecl
5375 (<A
5376HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5377>xmlParserCtxtPtr</A
5378> ctxt);</PRE
5379></TD
5380></TR
5381></TABLE
5382><P
5383>parse the declaration for a Mixed Element content
5384The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
5385><P
5386>[51] Mixed ::= '(' S? '<GTKDOCLINK
5387HREF="PCDATA"
5388>PCDATA</GTKDOCLINK
5389>' (S? '|' S? Name)* S? ')*' |
5390'(' S? '<GTKDOCLINK
5391HREF="PCDATA"
5392>PCDATA</GTKDOCLINK
5393>' S? ')'</P
5394><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005395>[ VC: Proper Group/PE Nesting ] applies to [51] too (see [49])</P
5396><P
5397>[ VC: No Duplicate Types ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005398The same name must not appear more than once in a single
Daniel Veillardb05deb71999-08-10 19:04:08 +00005399mixed-content declaration.</P
5400><P
Daniel Veillard35925471999-02-25 08:46:07 +00005401></P
5402><DIV
5403CLASS="INFORMALTABLE"
5404><P
5405></P
5406><TABLE
5407BORDER="0"
5408WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005409BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005410CELLSPACING="0"
5411CELLPADDING="4"
5412CLASS="CALSTABLE"
5413><TR
5414><TD
5415WIDTH="20%"
5416ALIGN="RIGHT"
5417VALIGN="TOP"
5418><TT
5419CLASS="PARAMETER"
5420><I
5421>ctxt</I
5422></TT
5423>&nbsp;:</TD
5424><TD
5425WIDTH="80%"
5426ALIGN="LEFT"
5427VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005428> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005429></TR
5430><TR
5431><TD
5432WIDTH="20%"
5433ALIGN="RIGHT"
5434VALIGN="TOP"
5435><I
5436CLASS="EMPHASIS"
5437>Returns</I
5438> :</TD
5439><TD
5440WIDTH="80%"
5441ALIGN="LEFT"
5442VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005443> the list of the xmlElementContentPtr describing the element choices</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005444></TR
5445></TABLE
5446><P
5447></P
5448></DIV
5449></DIV
5450><HR><DIV
5451CLASS="REFSECT2"
5452><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005453NAME="AEN13138"
Daniel Veillard35925471999-02-25 08:46:07 +00005454></A
5455><H3
5456><A
5457NAME="XMLPARSEELEMENTCHILDRENCONTENTDECL"
5458></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005459>xmlParseElementChildrenContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005460><TABLE
5461BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005462BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005463WIDTH="100%"
5464CELLPADDING="6"
5465><TR
5466><TD
5467><PRE
5468CLASS="PROGRAMLISTING"
5469><A
5470HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
5471>xmlElementContentPtr</A
5472> xmlParseElementChildrenContentDecl
5473 (<A
5474HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5475>xmlParserCtxtPtr</A
5476> ctxt);</PRE
5477></TD
5478></TR
5479></TABLE
5480><P
5481>parse the declaration for a Mixed Element content
5482The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
5483><P
5484>[47] children ::= (choice | seq) ('?' | '*' | '+')?</P
5485><P
5486>[48] cp ::= (Name | choice | seq) ('?' | '*' | '+')?</P
5487><P
5488>[49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')'</P
5489><P
5490>[50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'</P
5491><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005492>[ VC: Proper Group/PE Nesting ] applies to [49] and [50]
5493TODO Parameter-entity replacement text must be properly nested
5494with parenthetized groups. That is to say, if either of the
5495opening or closing parentheses in a choice, seq, or Mixed
5496construct is contained in the replacement text for a parameter
5497entity, both must be contained in the same replacement text. For
5498interoperability, if a parameter-entity reference appears in a
5499choice, seq, or Mixed construct, its replacement text should not
5500be empty, and neither the first nor last non-blank character of
5501the replacement text should be a connector (| or ,).</P
5502><P
Daniel Veillard35925471999-02-25 08:46:07 +00005503></P
5504><DIV
5505CLASS="INFORMALTABLE"
5506><P
5507></P
5508><TABLE
5509BORDER="0"
5510WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005511BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005512CELLSPACING="0"
5513CELLPADDING="4"
5514CLASS="CALSTABLE"
5515><TR
5516><TD
5517WIDTH="20%"
5518ALIGN="RIGHT"
5519VALIGN="TOP"
5520><TT
5521CLASS="PARAMETER"
5522><I
5523>ctxt</I
5524></TT
5525>&nbsp;:</TD
5526><TD
5527WIDTH="80%"
5528ALIGN="LEFT"
5529VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005530> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005531></TR
5532><TR
5533><TD
5534WIDTH="20%"
5535ALIGN="RIGHT"
5536VALIGN="TOP"
5537><I
5538CLASS="EMPHASIS"
5539>Returns</I
5540> :</TD
5541><TD
5542WIDTH="80%"
5543ALIGN="LEFT"
5544VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005545> the tree of xmlElementContentPtr describing the element
5546hierarchy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005547></TR
5548></TABLE
5549><P
5550></P
5551></DIV
5552></DIV
5553><HR><DIV
5554CLASS="REFSECT2"
5555><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005556NAME="AEN13164"
Daniel Veillard35925471999-02-25 08:46:07 +00005557></A
5558><H3
5559><A
5560NAME="XMLPARSEELEMENTCONTENTDECL"
5561></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005562>xmlParseElementContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005563><TABLE
5564BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005565BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005566WIDTH="100%"
5567CELLPADDING="6"
5568><TR
5569><TD
5570><PRE
5571CLASS="PROGRAMLISTING"
5572>int xmlParseElementContentDecl (<A
5573HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5574>xmlParserCtxtPtr</A
5575> ctxt,
5576 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005577HREF="gnome-xml-tree.html#XMLCHAR"
5578>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005579> *name,
5580 <A
5581HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
5582>xmlElementContentPtr</A
5583> *result);</PRE
5584></TD
5585></TR
5586></TABLE
5587><P
5588>parse the declaration for an Element content either Mixed or Children,
5589the cases EMPTY and ANY are handled directly in xmlParseElementDecl</P
5590><P
5591>[46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</P
5592><P
5593></P
5594><DIV
5595CLASS="INFORMALTABLE"
5596><P
5597></P
5598><TABLE
5599BORDER="0"
5600WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005601BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005602CELLSPACING="0"
5603CELLPADDING="4"
5604CLASS="CALSTABLE"
5605><TR
5606><TD
5607WIDTH="20%"
5608ALIGN="RIGHT"
5609VALIGN="TOP"
5610><TT
5611CLASS="PARAMETER"
5612><I
5613>ctxt</I
5614></TT
5615>&nbsp;:</TD
5616><TD
5617WIDTH="80%"
5618ALIGN="LEFT"
5619VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005620> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005621></TR
5622><TR
5623><TD
5624WIDTH="20%"
5625ALIGN="RIGHT"
5626VALIGN="TOP"
5627><TT
5628CLASS="PARAMETER"
5629><I
5630>name</I
5631></TT
5632>&nbsp;:</TD
5633><TD
5634WIDTH="80%"
5635ALIGN="LEFT"
5636VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005637> the name of the element being defined.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005638></TR
5639><TR
5640><TD
5641WIDTH="20%"
5642ALIGN="RIGHT"
5643VALIGN="TOP"
5644><TT
5645CLASS="PARAMETER"
5646><I
5647>result</I
5648></TT
5649>&nbsp;:</TD
5650><TD
5651WIDTH="80%"
5652ALIGN="LEFT"
5653VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005654> the Element Content pointer will be stored here if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005655></TR
5656><TR
5657><TD
5658WIDTH="20%"
5659ALIGN="RIGHT"
5660VALIGN="TOP"
5661><I
5662CLASS="EMPHASIS"
5663>Returns</I
5664> :</TD
5665><TD
5666WIDTH="80%"
5667ALIGN="LEFT"
5668VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005669> the type of element content XML_ELEMENT_TYPE_xxx</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005670></TR
5671></TABLE
5672><P
5673></P
5674></DIV
5675></DIV
5676><HR><DIV
5677CLASS="REFSECT2"
5678><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005679NAME="AEN13195"
Daniel Veillard35925471999-02-25 08:46:07 +00005680></A
5681><H3
5682><A
5683NAME="XMLPARSEELEMENTDECL"
5684></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005685>xmlParseElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005686><TABLE
5687BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005688BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005689WIDTH="100%"
5690CELLPADDING="6"
5691><TR
5692><TD
5693><PRE
5694CLASS="PROGRAMLISTING"
5695>int xmlParseElementDecl (<A
5696HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5697>xmlParserCtxtPtr</A
5698> ctxt);</PRE
5699></TD
5700></TR
5701></TABLE
5702><P
5703>parse an Element declaration.</P
5704><P
5705>[45] elementdecl ::= '&lt;!ELEMENT' S Name S contentspec S? '&gt;'</P
5706><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005707>[ VC: Unique Element Type Declaration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005708No element type may be declared more than once</P
Daniel Veillard35925471999-02-25 08:46:07 +00005709><P
5710></P
5711><DIV
5712CLASS="INFORMALTABLE"
5713><P
5714></P
5715><TABLE
5716BORDER="0"
5717WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005718BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005719CELLSPACING="0"
5720CELLPADDING="4"
5721CLASS="CALSTABLE"
5722><TR
5723><TD
5724WIDTH="20%"
5725ALIGN="RIGHT"
5726VALIGN="TOP"
5727><TT
5728CLASS="PARAMETER"
5729><I
5730>ctxt</I
5731></TT
5732>&nbsp;:</TD
5733><TD
5734WIDTH="80%"
5735ALIGN="LEFT"
5736VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005737> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005738></TR
5739><TR
5740><TD
5741WIDTH="20%"
5742ALIGN="RIGHT"
5743VALIGN="TOP"
5744><I
5745CLASS="EMPHASIS"
5746>Returns</I
5747> :</TD
5748><TD
5749WIDTH="80%"
5750ALIGN="LEFT"
5751VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005752>the type of the element, or -1 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005753></TR
5754></TABLE
5755><P
5756></P
5757></DIV
5758></DIV
5759><HR><DIV
5760CLASS="REFSECT2"
5761><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005762NAME="AEN13217"
Daniel Veillard35925471999-02-25 08:46:07 +00005763></A
5764><H3
5765><A
5766NAME="XMLPARSEMARKUPDECL"
5767></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005768>xmlParseMarkupDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005769><TABLE
5770BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005771BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005772WIDTH="100%"
5773CELLPADDING="6"
5774><TR
5775><TD
5776><PRE
5777CLASS="PROGRAMLISTING"
5778>void xmlParseMarkupDecl (<A
5779HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5780>xmlParserCtxtPtr</A
5781> ctxt);</PRE
5782></TD
5783></TR
5784></TABLE
5785><P
5786>parse Markup declarations</P
5787><P
5788>[29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
5789NotationDecl | PI | Comment</P
5790><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005791>[ VC: Proper Declaration/PE Nesting ]
5792TODO Parameter-entity replacement text must be properly nested with
5793markup declarations. That is to say, if either the first character
5794or the last character of a markup declaration (markupdecl above) is
5795contained in the replacement text for a parameter-entity reference,
5796both must be contained in the same replacement text.</P
5797><P
5798>[ WFC: PEs in Internal Subset ]
5799In the internal DTD subset, parameter-entity references can occur
5800only where markup declarations can occur, not within markup declarations.
5801(This does not apply to references that occur in external parameter
5802entities or to the external subset.)</P
Daniel Veillard35925471999-02-25 08:46:07 +00005803><P
5804></P
5805><DIV
5806CLASS="INFORMALTABLE"
5807><P
5808></P
5809><TABLE
5810BORDER="0"
5811WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005812BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005813CELLSPACING="0"
5814CELLPADDING="4"
5815CLASS="CALSTABLE"
5816><TR
5817><TD
5818WIDTH="20%"
5819ALIGN="RIGHT"
5820VALIGN="TOP"
5821><TT
5822CLASS="PARAMETER"
5823><I
5824>ctxt</I
5825></TT
5826>&nbsp;:</TD
5827><TD
5828WIDTH="80%"
5829ALIGN="LEFT"
5830VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005831> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005832></TR
5833></TABLE
5834><P
5835></P
5836></DIV
5837></DIV
5838><HR><DIV
5839CLASS="REFSECT2"
5840><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005841NAME="AEN13236"
Daniel Veillard35925471999-02-25 08:46:07 +00005842></A
5843><H3
5844><A
5845NAME="XMLPARSECHARREF"
5846></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005847>xmlParseCharRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005848><TABLE
5849BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005850BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005851WIDTH="100%"
5852CELLPADDING="6"
5853><TR
5854><TD
5855><PRE
5856CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005857>int xmlParseCharRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005858HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5859>xmlParserCtxtPtr</A
5860> ctxt);</PRE
5861></TD
5862></TR
5863></TABLE
5864><P
5865>parse Reference declarations</P
5866><P
5867>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
5868'&amp;<GTKDOCLINK
5869HREF="X"
5870>x</GTKDOCLINK
5871>' [0-9a-fA-F]+ ';'</P
5872><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005873>[ WFC: Legal Character ]
5874Characters referred to using character references must match the
5875production for Char.</P
5876><P
Daniel Veillard35925471999-02-25 08:46:07 +00005877></P
5878><DIV
5879CLASS="INFORMALTABLE"
5880><P
5881></P
5882><TABLE
5883BORDER="0"
5884WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005885BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005886CELLSPACING="0"
5887CELLPADDING="4"
5888CLASS="CALSTABLE"
5889><TR
5890><TD
5891WIDTH="20%"
5892ALIGN="RIGHT"
5893VALIGN="TOP"
5894><TT
5895CLASS="PARAMETER"
5896><I
5897>ctxt</I
5898></TT
5899>&nbsp;:</TD
5900><TD
5901WIDTH="80%"
5902ALIGN="LEFT"
5903VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005904> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005905></TR
5906><TR
5907><TD
5908WIDTH="20%"
5909ALIGN="RIGHT"
5910VALIGN="TOP"
5911><I
5912CLASS="EMPHASIS"
5913>Returns</I
5914> :</TD
5915><TD
5916WIDTH="80%"
5917ALIGN="LEFT"
5918VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005919>the value parsed (as an int), 0 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005920></TR
5921></TABLE
5922><P
5923></P
5924></DIV
5925></DIV
5926><HR><DIV
5927CLASS="REFSECT2"
5928><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00005929NAME="AEN13259"
Daniel Veillard35925471999-02-25 08:46:07 +00005930></A
5931><H3
5932><A
5933NAME="XMLPARSEENTITYREF"
5934></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005935>xmlParseEntityRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005936><TABLE
5937BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005938BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005939WIDTH="100%"
5940CELLPADDING="6"
5941><TR
5942><TD
5943><PRE
5944CLASS="PROGRAMLISTING"
5945><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005946HREF="gnome-xml-entities.html#XMLENTITYPTR"
5947>xmlEntityPtr</A
5948> xmlParseEntityRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005949HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5950>xmlParserCtxtPtr</A
5951> ctxt);</PRE
5952></TD
5953></TR
5954></TABLE
5955><P
5956>parse ENTITY references declarations</P
5957><P
5958>[68] EntityRef ::= '&amp;' Name ';'</P
5959><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005960>[ WFC: Entity Declared ]
5961In a document without any DTD, a document with only an internal DTD
5962subset which contains no parameter entity references, or a document
5963with "standalone='yes'", the Name given in the entity reference
5964must match that in an entity declaration, except that well-formed
5965documents need not declare any of the following entities: amp, lt,
5966gt, apos, quot. The declaration of a parameter entity must precede
5967any reference to it. Similarly, the declaration of a general entity
5968must precede any reference to it which appears in a default value in an
5969attribute-list declaration. Note that if entities are declared in the
5970external subset or in external parameter entities, a non-validating
5971processor is not obligated to read and process their declarations;
5972for such documents, the rule that an entity must be declared is a
5973well-formedness constraint only if standalone='yes'.</P
5974><P
5975>[ WFC: Parsed Entity ]
5976An entity reference must not contain the name of an unparsed entity</P
5977><P
Daniel Veillard35925471999-02-25 08:46:07 +00005978></P
5979><DIV
5980CLASS="INFORMALTABLE"
5981><P
5982></P
5983><TABLE
5984BORDER="0"
5985WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005986BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005987CELLSPACING="0"
5988CELLPADDING="4"
5989CLASS="CALSTABLE"
5990><TR
5991><TD
5992WIDTH="20%"
5993ALIGN="RIGHT"
5994VALIGN="TOP"
5995><TT
5996CLASS="PARAMETER"
5997><I
5998>ctxt</I
5999></TT
6000>&nbsp;:</TD
6001><TD
6002WIDTH="80%"
6003ALIGN="LEFT"
6004VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006005> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006006></TR
6007><TR
6008><TD
6009WIDTH="20%"
6010ALIGN="RIGHT"
6011VALIGN="TOP"
6012><I
6013CLASS="EMPHASIS"
6014>Returns</I
6015> :</TD
6016><TD
6017WIDTH="80%"
6018ALIGN="LEFT"
6019VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006020>the xmlEntityPtr if found, or NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006021></TR
6022></TABLE
6023><P
6024></P
6025></DIV
6026></DIV
6027><HR><DIV
6028CLASS="REFSECT2"
6029><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006030NAME="AEN13283"
Daniel Veillard35925471999-02-25 08:46:07 +00006031></A
6032><H3
6033><A
6034NAME="XMLPARSEREFERENCE"
6035></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006036>xmlParseReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006037><TABLE
6038BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006039BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006040WIDTH="100%"
6041CELLPADDING="6"
6042><TR
6043><TD
6044><PRE
6045CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006046>void xmlParseReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006047HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6048>xmlParserCtxtPtr</A
6049> ctxt);</PRE
6050></TD
6051></TR
6052></TABLE
6053><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00006054>parse and handle entity references in content, depending on the SAX
6055interface, this may end-up in a call to <GTKDOCLINK
6056HREF="CHARACTER"
6057>character</GTKDOCLINK
6058>() if this is a
Daniel Veillard294cbca1999-12-03 13:19:09 +00006059CharRef, a predefined entity, if there is no <A
6060HREF="gnome-xml-sax.html#REFERENCE"
6061>reference</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00006062>() callback.
6063or if the parser was asked to switch to that mode.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006064><P
6065>[67] Reference ::= EntityRef | CharRef</P
6066><P
6067></P
6068><DIV
6069CLASS="INFORMALTABLE"
6070><P
6071></P
6072><TABLE
6073BORDER="0"
6074WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006075BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006076CELLSPACING="0"
6077CELLPADDING="4"
6078CLASS="CALSTABLE"
6079><TR
6080><TD
6081WIDTH="20%"
6082ALIGN="RIGHT"
6083VALIGN="TOP"
6084><TT
6085CLASS="PARAMETER"
6086><I
6087>ctxt</I
6088></TT
6089>&nbsp;:</TD
6090><TD
6091WIDTH="80%"
6092ALIGN="LEFT"
6093VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006094> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006095></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006096></TABLE
6097><P
6098></P
6099></DIV
6100></DIV
6101><HR><DIV
6102CLASS="REFSECT2"
6103><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006104NAME="AEN13302"
Daniel Veillard35925471999-02-25 08:46:07 +00006105></A
6106><H3
6107><A
6108NAME="XMLPARSEPEREFERENCE"
6109></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006110>xmlParsePEReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006111><TABLE
6112BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006113BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006114WIDTH="100%"
6115CELLPADDING="6"
6116><TR
6117><TD
6118><PRE
6119CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006120>void xmlParsePEReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006121HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6122>xmlParserCtxtPtr</A
6123> ctxt);</PRE
6124></TD
6125></TR
6126></TABLE
6127><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00006128>parse PEReference declarations
6129The entity content is handled directly by pushing it's content as
6130a new input stream.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006131><P
6132>[69] PEReference ::= '%' Name ';'</P
6133><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006134>[ WFC: No Recursion ]
6135TODO A parsed entity must not contain a recursive
6136reference to itself, either directly or indirectly. </P
6137><P
6138>[ WFC: Entity Declared ]
6139In a document without any DTD, a document with only an internal DTD
6140subset which contains no parameter entity references, or a document
6141with "standalone='yes'", ... ... The declaration of a parameter
6142entity must precede any reference to it...</P
6143><P
6144>[ VC: Entity Declared ]
6145In a document with an external subset or external parameter entities
6146with "standalone='no'", ... ... The declaration of a parameter entity
6147must precede any reference to it...</P
6148><P
6149>[ WFC: In DTD ]
6150Parameter-entity references may only appear in the DTD.
6151NOTE: misleading but this is handled.</P
6152><P
Daniel Veillard35925471999-02-25 08:46:07 +00006153></P
6154><DIV
6155CLASS="INFORMALTABLE"
6156><P
6157></P
6158><TABLE
6159BORDER="0"
6160WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006161BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006162CELLSPACING="0"
6163CELLPADDING="4"
6164CLASS="CALSTABLE"
6165><TR
6166><TD
6167WIDTH="20%"
6168ALIGN="RIGHT"
6169VALIGN="TOP"
6170><TT
6171CLASS="PARAMETER"
6172><I
6173>ctxt</I
6174></TT
6175>&nbsp;:</TD
6176><TD
6177WIDTH="80%"
6178ALIGN="LEFT"
6179VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006180> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006181></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006182></TABLE
6183><P
6184></P
6185></DIV
6186></DIV
6187><HR><DIV
6188CLASS="REFSECT2"
6189><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006190NAME="AEN13323"
Daniel Veillard35925471999-02-25 08:46:07 +00006191></A
6192><H3
6193><A
6194NAME="XMLPARSEDOCTYPEDECL"
6195></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006196>xmlParseDocTypeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006197><TABLE
6198BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006199BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006200WIDTH="100%"
6201CELLPADDING="6"
6202><TR
6203><TD
6204><PRE
6205CLASS="PROGRAMLISTING"
6206>void xmlParseDocTypeDecl (<A
6207HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6208>xmlParserCtxtPtr</A
6209> ctxt);</PRE
6210></TD
6211></TR
6212></TABLE
6213><P
6214>parse a DOCTYPE declaration</P
6215><P
6216>[28] doctypedecl ::= '&lt;!DOCTYPE' S Name (S ExternalID)? S?
6217('[' (markupdecl | PEReference | S)* ']' S?)? '&gt;'</P
6218><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006219>[ VC: Root Element Type ]
6220The Name in the document type declaration must match the element
6221type of the root element.</P
6222><P
Daniel Veillard35925471999-02-25 08:46:07 +00006223></P
6224><DIV
6225CLASS="INFORMALTABLE"
6226><P
6227></P
6228><TABLE
6229BORDER="0"
6230WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006231BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006232CELLSPACING="0"
6233CELLPADDING="4"
6234CLASS="CALSTABLE"
6235><TR
6236><TD
6237WIDTH="20%"
6238ALIGN="RIGHT"
6239VALIGN="TOP"
6240><TT
6241CLASS="PARAMETER"
6242><I
6243>ctxt</I
6244></TT
6245>&nbsp;:</TD
6246><TD
6247WIDTH="80%"
6248ALIGN="LEFT"
6249VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006250> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006251></TR
6252></TABLE
6253><P
6254></P
6255></DIV
6256></DIV
6257><HR><DIV
6258CLASS="REFSECT2"
6259><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006260NAME="AEN13341"
Daniel Veillard35925471999-02-25 08:46:07 +00006261></A
6262><H3
6263><A
6264NAME="XMLPARSEATTRIBUTE"
6265></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006266>xmlParseAttribute ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006267><TABLE
6268BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006269BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006270WIDTH="100%"
6271CELLPADDING="6"
6272><TR
6273><TD
6274><PRE
6275CLASS="PROGRAMLISTING"
6276><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006277HREF="gnome-xml-tree.html#XMLCHAR"
6278>xmlChar</A
6279>* xmlParseAttribute (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006280HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6281>xmlParserCtxtPtr</A
6282> ctxt,
6283 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006284HREF="gnome-xml-tree.html#XMLCHAR"
6285>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006286> **value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00006287></TD
6288></TR
6289></TABLE
6290><P
6291>parse an attribute</P
6292><P
6293>[41] Attribute ::= Name Eq AttValue</P
6294><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006295>[ WFC: No External Entity References ]
6296Attribute values cannot contain direct or indirect entity references
6297to external entities.</P
6298><P
6299>[ WFC: No &lt; in Attribute Values ]
6300The replacement text of any entity referred to directly or indirectly in
6301an attribute value (other than "&amp;lt;") must not contain a &lt;. </P
6302><P
6303>[ VC: Attribute Value Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006304The attribute must have been declared; the value must be of the type
Daniel Veillardb05deb71999-08-10 19:04:08 +00006305declared for it.</P
6306><P
Daniel Veillard35925471999-02-25 08:46:07 +00006307>[25] Eq ::= S? '=' S?</P
6308><P
6309>With namespace:</P
6310><P
6311>[NS 11] Attribute ::= QName Eq AttValue</P
6312><P
6313>Also the case QName == xmlns:??? is handled independently as a namespace
6314definition.</P
6315><P
6316></P
6317><DIV
6318CLASS="INFORMALTABLE"
6319><P
6320></P
6321><TABLE
6322BORDER="0"
6323WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006324BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006325CELLSPACING="0"
6326CELLPADDING="4"
6327CLASS="CALSTABLE"
6328><TR
6329><TD
6330WIDTH="20%"
6331ALIGN="RIGHT"
6332VALIGN="TOP"
6333><TT
6334CLASS="PARAMETER"
6335><I
6336>ctxt</I
6337></TT
6338>&nbsp;:</TD
6339><TD
6340WIDTH="80%"
6341ALIGN="LEFT"
6342VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006343> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006344></TR
6345><TR
6346><TD
6347WIDTH="20%"
6348ALIGN="RIGHT"
6349VALIGN="TOP"
6350><TT
6351CLASS="PARAMETER"
6352><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00006353>value</I
Daniel Veillard35925471999-02-25 08:46:07 +00006354></TT
6355>&nbsp;:</TD
6356><TD
6357WIDTH="80%"
6358ALIGN="LEFT"
6359VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006360> a xmlChar ** used to store the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006361></TR
6362><TR
6363><TD
6364WIDTH="20%"
6365ALIGN="RIGHT"
6366VALIGN="TOP"
6367><I
6368CLASS="EMPHASIS"
6369>Returns</I
6370> :</TD
6371><TD
6372WIDTH="80%"
6373ALIGN="LEFT"
6374VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006375>the attribute name, and the value in *value.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006376></TR
6377></TABLE
6378><P
6379></P
6380></DIV
6381></DIV
6382><HR><DIV
6383CLASS="REFSECT2"
6384><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006385NAME="AEN13375"
Daniel Veillard35925471999-02-25 08:46:07 +00006386></A
6387><H3
6388><A
6389NAME="XMLPARSESTARTTAG"
6390></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006391>xmlParseStartTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006392><TABLE
6393BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006394BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006395WIDTH="100%"
6396CELLPADDING="6"
6397><TR
6398><TD
6399><PRE
6400CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00006401><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006402HREF="gnome-xml-tree.html#XMLCHAR"
6403>xmlChar</A
6404>* xmlParseStartTag (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006405HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6406>xmlParserCtxtPtr</A
6407> ctxt);</PRE
6408></TD
6409></TR
6410></TABLE
6411><P
6412>parse a start of tag either for rule element or
6413EmptyElement. In both case we don't parse the tag closing chars.</P
6414><P
6415>[40] STag ::= '&lt;' Name (S Attribute)* S? '&gt;'</P
6416><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006417>[ WFC: Unique Att Spec ]
6418No attribute name may appear more than once in the same start-tag or
6419empty-element tag. </P
6420><P
Daniel Veillard35925471999-02-25 08:46:07 +00006421>[44] EmptyElemTag ::= '&lt;' Name (S Attribute)* S? '/&gt;'</P
6422><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006423>[ WFC: Unique Att Spec ]
6424No attribute name may appear more than once in the same start-tag or
6425empty-element tag. </P
6426><P
Daniel Veillard35925471999-02-25 08:46:07 +00006427>With namespace:</P
6428><P
6429>[NS 8] STag ::= '&lt;' QName (S Attribute)* S? '&gt;'</P
6430><P
6431>[NS 10] EmptyElement ::= '&lt;' QName (S Attribute)* S? '/&gt;'</P
6432><P
6433></P
6434><DIV
6435CLASS="INFORMALTABLE"
6436><P
6437></P
6438><TABLE
6439BORDER="0"
6440WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006441BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006442CELLSPACING="0"
6443CELLPADDING="4"
6444CLASS="CALSTABLE"
6445><TR
6446><TD
6447WIDTH="20%"
6448ALIGN="RIGHT"
6449VALIGN="TOP"
6450><TT
6451CLASS="PARAMETER"
6452><I
6453>ctxt</I
6454></TT
6455>&nbsp;:</TD
6456><TD
6457WIDTH="80%"
6458ALIGN="LEFT"
6459VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006460> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006461></TR
Daniel Veillard14fff061999-06-22 21:49:07 +00006462><TR
6463><TD
6464WIDTH="20%"
6465ALIGN="RIGHT"
6466VALIGN="TOP"
6467><I
6468CLASS="EMPHASIS"
6469>Returns</I
6470> :</TD
6471><TD
6472WIDTH="80%"
6473ALIGN="LEFT"
6474VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006475>the element name parsed</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006476></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006477></TABLE
6478><P
6479></P
6480></DIV
6481></DIV
6482><HR><DIV
6483CLASS="REFSECT2"
6484><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006485NAME="AEN13403"
Daniel Veillard35925471999-02-25 08:46:07 +00006486></A
6487><H3
6488><A
6489NAME="XMLPARSEENDTAG"
6490></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006491>xmlParseEndTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006492><TABLE
6493BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006494BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006495WIDTH="100%"
6496CELLPADDING="6"
6497><TR
6498><TD
6499><PRE
6500CLASS="PROGRAMLISTING"
6501>void xmlParseEndTag (<A
6502HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6503>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +00006504> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00006505></TD
6506></TR
6507></TABLE
6508><P
6509>parse an end of tag</P
6510><P
6511>[42] ETag ::= '&lt;/' Name S? '&gt;'</P
6512><P
6513>With namespace</P
6514><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00006515>[NS 9] ETag ::= '&lt;/' QName S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00006516><P
6517></P
6518><DIV
6519CLASS="INFORMALTABLE"
6520><P
6521></P
6522><TABLE
6523BORDER="0"
6524WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006525BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006526CELLSPACING="0"
6527CELLPADDING="4"
6528CLASS="CALSTABLE"
6529><TR
6530><TD
6531WIDTH="20%"
6532ALIGN="RIGHT"
6533VALIGN="TOP"
6534><TT
6535CLASS="PARAMETER"
6536><I
6537>ctxt</I
6538></TT
6539>&nbsp;:</TD
6540><TD
6541WIDTH="80%"
6542ALIGN="LEFT"
6543VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006544> an XML parser context</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006545></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006546></TABLE
6547><P
6548></P
6549></DIV
6550></DIV
6551><HR><DIV
6552CLASS="REFSECT2"
6553><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006554NAME="AEN13422"
Daniel Veillard35925471999-02-25 08:46:07 +00006555></A
6556><H3
6557><A
6558NAME="XMLPARSECDSECT"
6559></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006560>xmlParseCDSect ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006561><TABLE
6562BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006563BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006564WIDTH="100%"
6565CELLPADDING="6"
6566><TR
6567><TD
6568><PRE
6569CLASS="PROGRAMLISTING"
6570>void xmlParseCDSect (<A
6571HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6572>xmlParserCtxtPtr</A
6573> ctxt);</PRE
6574></TD
6575></TR
6576></TABLE
6577><P
6578>Parse escaped pure raw content.</P
6579><P
6580>[18] CDSect ::= CDStart CData CDEnd</P
6581><P
6582>[19] CDStart ::= '&lt;![CDATA['</P
6583><P
6584>[20] Data ::= (Char* - (Char* ']]&gt;' Char*))</P
6585><P
6586>[21] CDEnd ::= ']]&gt;'</P
6587><P
6588></P
6589><DIV
6590CLASS="INFORMALTABLE"
6591><P
6592></P
6593><TABLE
6594BORDER="0"
6595WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006596BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006597CELLSPACING="0"
6598CELLPADDING="4"
6599CLASS="CALSTABLE"
6600><TR
6601><TD
6602WIDTH="20%"
6603ALIGN="RIGHT"
6604VALIGN="TOP"
6605><TT
6606CLASS="PARAMETER"
6607><I
6608>ctxt</I
6609></TT
6610>&nbsp;:</TD
6611><TD
6612WIDTH="80%"
6613ALIGN="LEFT"
6614VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006615> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006616></TR
6617></TABLE
6618><P
6619></P
6620></DIV
6621></DIV
6622><HR><DIV
6623CLASS="REFSECT2"
6624><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006625NAME="AEN13442"
Daniel Veillard35925471999-02-25 08:46:07 +00006626></A
6627><H3
6628><A
6629NAME="XMLPARSECONTENT"
6630></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006631>xmlParseContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006632><TABLE
6633BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006634BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006635WIDTH="100%"
6636CELLPADDING="6"
6637><TR
6638><TD
6639><PRE
6640CLASS="PROGRAMLISTING"
6641>void xmlParseContent (<A
6642HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6643>xmlParserCtxtPtr</A
6644> ctxt);</PRE
6645></TD
6646></TR
6647></TABLE
6648><P
6649>Parse a content:</P
6650><P
6651>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
6652><P
6653></P
6654><DIV
6655CLASS="INFORMALTABLE"
6656><P
6657></P
6658><TABLE
6659BORDER="0"
6660WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006661BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006662CELLSPACING="0"
6663CELLPADDING="4"
6664CLASS="CALSTABLE"
6665><TR
6666><TD
6667WIDTH="20%"
6668ALIGN="RIGHT"
6669VALIGN="TOP"
6670><TT
6671CLASS="PARAMETER"
6672><I
6673>ctxt</I
6674></TT
6675>&nbsp;:</TD
6676><TD
6677WIDTH="80%"
6678ALIGN="LEFT"
6679VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006680> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006681></TR
6682></TABLE
6683><P
6684></P
6685></DIV
6686></DIV
6687><HR><DIV
6688CLASS="REFSECT2"
6689><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006690NAME="AEN13459"
Daniel Veillard35925471999-02-25 08:46:07 +00006691></A
6692><H3
6693><A
6694NAME="XMLPARSEELEMENT"
6695></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006696>xmlParseElement ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006697><TABLE
6698BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006699BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006700WIDTH="100%"
6701CELLPADDING="6"
6702><TR
6703><TD
6704><PRE
6705CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00006706>void xmlParseElement (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006707HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6708>xmlParserCtxtPtr</A
6709> ctxt);</PRE
6710></TD
6711></TR
6712></TABLE
6713><P
6714>parse an XML element, this is highly recursive</P
6715><P
6716>[39] element ::= EmptyElemTag | STag content ETag</P
6717><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006718>[ WFC: Element Type Match ]
6719The Name in an element's end-tag must match the element type in the
6720start-tag. </P
6721><P
6722>[ VC: Element Valid ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006723An element is valid if there is a declaration matching elementdecl
Daniel Veillardb05deb71999-08-10 19:04:08 +00006724where the Name matches the element type and one of the following holds:
6725- The declaration matches EMPTY and the element has no content.
6726- The declaration matches children and the sequence of child elements
6727belongs to the language generated by the regular expression in the
6728content model, with optional white space (characters matching the
6729nonterminal S) between each pair of child elements.
6730- The declaration matches Mixed and the content consists of character
6731data and child elements whose types match names in the content model.
6732- The declaration matches ANY, and the types of any child elements have
6733been declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006734><P
6735></P
6736><DIV
6737CLASS="INFORMALTABLE"
6738><P
6739></P
6740><TABLE
6741BORDER="0"
6742WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006743BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006744CELLSPACING="0"
6745CELLPADDING="4"
6746CLASS="CALSTABLE"
6747><TR
6748><TD
6749WIDTH="20%"
6750ALIGN="RIGHT"
6751VALIGN="TOP"
6752><TT
6753CLASS="PARAMETER"
6754><I
6755>ctxt</I
6756></TT
6757>&nbsp;:</TD
6758><TD
6759WIDTH="80%"
6760ALIGN="LEFT"
6761VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006762> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006763></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006764></TABLE
6765><P
6766></P
6767></DIV
6768></DIV
6769><HR><DIV
6770CLASS="REFSECT2"
6771><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006772NAME="AEN13478"
Daniel Veillard35925471999-02-25 08:46:07 +00006773></A
6774><H3
6775><A
6776NAME="XMLPARSEVERSIONNUM"
6777></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006778>xmlParseVersionNum ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006779><TABLE
6780BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006781BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006782WIDTH="100%"
6783CELLPADDING="6"
6784><TR
6785><TD
6786><PRE
6787CLASS="PROGRAMLISTING"
6788><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006789HREF="gnome-xml-tree.html#XMLCHAR"
6790>xmlChar</A
6791>* xmlParseVersionNum (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006792HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6793>xmlParserCtxtPtr</A
6794> ctxt);</PRE
6795></TD
6796></TR
6797></TABLE
6798><P
6799>parse the XML version value.</P
6800><P
6801>[26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</P
6802><P
6803></P
6804><DIV
6805CLASS="INFORMALTABLE"
6806><P
6807></P
6808><TABLE
6809BORDER="0"
6810WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006811BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006812CELLSPACING="0"
6813CELLPADDING="4"
6814CLASS="CALSTABLE"
6815><TR
6816><TD
6817WIDTH="20%"
6818ALIGN="RIGHT"
6819VALIGN="TOP"
6820><TT
6821CLASS="PARAMETER"
6822><I
6823>ctxt</I
6824></TT
6825>&nbsp;:</TD
6826><TD
6827WIDTH="80%"
6828ALIGN="LEFT"
6829VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006830> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006831></TR
6832><TR
6833><TD
6834WIDTH="20%"
6835ALIGN="RIGHT"
6836VALIGN="TOP"
6837><I
6838CLASS="EMPHASIS"
6839>Returns</I
6840> :</TD
6841><TD
6842WIDTH="80%"
6843ALIGN="LEFT"
6844VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006845>the string giving the XML version number, or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006846></TR
6847></TABLE
6848><P
6849></P
6850></DIV
6851></DIV
6852><HR><DIV
6853CLASS="REFSECT2"
6854><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006855NAME="AEN13500"
Daniel Veillard35925471999-02-25 08:46:07 +00006856></A
6857><H3
6858><A
6859NAME="XMLPARSEVERSIONINFO"
6860></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006861>xmlParseVersionInfo ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006862><TABLE
6863BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006864BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006865WIDTH="100%"
6866CELLPADDING="6"
6867><TR
6868><TD
6869><PRE
6870CLASS="PROGRAMLISTING"
6871><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006872HREF="gnome-xml-tree.html#XMLCHAR"
6873>xmlChar</A
6874>* xmlParseVersionInfo (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006875HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6876>xmlParserCtxtPtr</A
6877> ctxt);</PRE
6878></TD
6879></TR
6880></TABLE
6881><P
6882>parse the XML version.</P
6883><P
6884>[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")</P
6885><P
6886>[25] Eq ::= S? '=' S?</P
6887><P
6888></P
6889><DIV
6890CLASS="INFORMALTABLE"
6891><P
6892></P
6893><TABLE
6894BORDER="0"
6895WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006896BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006897CELLSPACING="0"
6898CELLPADDING="4"
6899CLASS="CALSTABLE"
6900><TR
6901><TD
6902WIDTH="20%"
6903ALIGN="RIGHT"
6904VALIGN="TOP"
6905><TT
6906CLASS="PARAMETER"
6907><I
6908>ctxt</I
6909></TT
6910>&nbsp;:</TD
6911><TD
6912WIDTH="80%"
6913ALIGN="LEFT"
6914VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006915> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006916></TR
6917><TR
6918><TD
6919WIDTH="20%"
6920ALIGN="RIGHT"
6921VALIGN="TOP"
6922><I
6923CLASS="EMPHASIS"
6924>Returns</I
6925> :</TD
6926><TD
6927WIDTH="80%"
6928ALIGN="LEFT"
6929VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006930>the version string, e.g. "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006931></TR
6932></TABLE
6933><P
6934></P
6935></DIV
6936></DIV
6937><HR><DIV
6938CLASS="REFSECT2"
6939><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006940NAME="AEN13523"
Daniel Veillard35925471999-02-25 08:46:07 +00006941></A
6942><H3
6943><A
6944NAME="XMLPARSEENCNAME"
6945></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006946>xmlParseEncName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006947><TABLE
6948BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006949BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006950WIDTH="100%"
6951CELLPADDING="6"
6952><TR
6953><TD
6954><PRE
6955CLASS="PROGRAMLISTING"
6956><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006957HREF="gnome-xml-tree.html#XMLCHAR"
6958>xmlChar</A
6959>* xmlParseEncName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006960HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6961>xmlParserCtxtPtr</A
6962> ctxt);</PRE
6963></TD
6964></TR
6965></TABLE
6966><P
6967>parse the XML encoding name</P
6968><P
6969>[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</P
6970><P
6971></P
6972><DIV
6973CLASS="INFORMALTABLE"
6974><P
6975></P
6976><TABLE
6977BORDER="0"
6978WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006979BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006980CELLSPACING="0"
6981CELLPADDING="4"
6982CLASS="CALSTABLE"
6983><TR
6984><TD
6985WIDTH="20%"
6986ALIGN="RIGHT"
6987VALIGN="TOP"
6988><TT
6989CLASS="PARAMETER"
6990><I
6991>ctxt</I
6992></TT
6993>&nbsp;:</TD
6994><TD
6995WIDTH="80%"
6996ALIGN="LEFT"
6997VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00006998> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006999></TR
7000><TR
7001><TD
7002WIDTH="20%"
7003ALIGN="RIGHT"
7004VALIGN="TOP"
7005><I
7006CLASS="EMPHASIS"
7007>Returns</I
7008> :</TD
7009><TD
7010WIDTH="80%"
7011ALIGN="LEFT"
7012VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007013>the encoding name value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007014></TR
7015></TABLE
7016><P
7017></P
7018></DIV
7019></DIV
7020><HR><DIV
7021CLASS="REFSECT2"
7022><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007023NAME="AEN13545"
Daniel Veillard35925471999-02-25 08:46:07 +00007024></A
7025><H3
7026><A
7027NAME="XMLPARSEENCODINGDECL"
7028></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007029>xmlParseEncodingDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007030><TABLE
7031BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007032BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007033WIDTH="100%"
7034CELLPADDING="6"
7035><TR
7036><TD
7037><PRE
7038CLASS="PROGRAMLISTING"
7039><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007040HREF="gnome-xml-tree.html#XMLCHAR"
7041>xmlChar</A
7042>* xmlParseEncodingDecl (<A
Daniel Veillard35925471999-02-25 08:46:07 +00007043HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7044>xmlParserCtxtPtr</A
7045> ctxt);</PRE
7046></TD
7047></TR
7048></TABLE
7049><P
7050>parse the XML encoding declaration</P
7051><P
7052>[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")</P
7053><P
7054>TODO: this should setup the conversion filters.</P
7055><P
7056></P
7057><DIV
7058CLASS="INFORMALTABLE"
7059><P
7060></P
7061><TABLE
7062BORDER="0"
7063WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007064BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007065CELLSPACING="0"
7066CELLPADDING="4"
7067CLASS="CALSTABLE"
7068><TR
7069><TD
7070WIDTH="20%"
7071ALIGN="RIGHT"
7072VALIGN="TOP"
7073><TT
7074CLASS="PARAMETER"
7075><I
7076>ctxt</I
7077></TT
7078>&nbsp;:</TD
7079><TD
7080WIDTH="80%"
7081ALIGN="LEFT"
7082VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007083> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007084></TR
7085><TR
7086><TD
7087WIDTH="20%"
7088ALIGN="RIGHT"
7089VALIGN="TOP"
7090><I
7091CLASS="EMPHASIS"
7092>Returns</I
7093> :</TD
7094><TD
7095WIDTH="80%"
7096ALIGN="LEFT"
7097VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007098>the encoding value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007099></TR
7100></TABLE
7101><P
7102></P
7103></DIV
7104></DIV
7105><HR><DIV
7106CLASS="REFSECT2"
7107><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007108NAME="AEN13568"
Daniel Veillard35925471999-02-25 08:46:07 +00007109></A
7110><H3
7111><A
7112NAME="XMLPARSESDDECL"
7113></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007114>xmlParseSDDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007115><TABLE
7116BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007117BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007118WIDTH="100%"
7119CELLPADDING="6"
7120><TR
7121><TD
7122><PRE
7123CLASS="PROGRAMLISTING"
7124>int xmlParseSDDecl (<A
7125HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7126>xmlParserCtxtPtr</A
7127> ctxt);</PRE
7128></TD
7129></TR
7130></TABLE
7131><P
7132>parse the XML standalone declaration</P
7133><P
7134>[32] SDDecl ::= S 'standalone' Eq
Daniel Veillardb05deb71999-08-10 19:04:08 +00007135(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"')) </P
7136><P
7137>[ VC: Standalone Document Declaration ]
7138TODO The standalone document declaration must have the value "no"
7139if any external markup declarations contain declarations of:
7140- attributes with default values, if elements to which these
7141attributes apply appear in the document without specifications
7142of values for these attributes, or
7143- entities (other than amp, lt, gt, apos, quot), if references
7144to those entities appear in the document, or
7145- attributes with values subject to normalization, where the
7146attribute appears in the document with a value which will change
7147as a result of normalization, or
7148- element types with element content, if white space occurs directly
7149within any instance of those types.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007150><P
7151></P
7152><DIV
7153CLASS="INFORMALTABLE"
7154><P
7155></P
7156><TABLE
7157BORDER="0"
7158WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007159BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007160CELLSPACING="0"
7161CELLPADDING="4"
7162CLASS="CALSTABLE"
7163><TR
7164><TD
7165WIDTH="20%"
7166ALIGN="RIGHT"
7167VALIGN="TOP"
7168><TT
7169CLASS="PARAMETER"
7170><I
7171>ctxt</I
7172></TT
7173>&nbsp;:</TD
7174><TD
7175WIDTH="80%"
7176ALIGN="LEFT"
7177VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007178> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007179></TR
7180><TR
7181><TD
7182WIDTH="20%"
7183ALIGN="RIGHT"
7184VALIGN="TOP"
7185><I
7186CLASS="EMPHASIS"
7187>Returns</I
7188> :</TD
7189><TD
7190WIDTH="80%"
7191ALIGN="LEFT"
7192VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007193>1 if standalone, 0 otherwise</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007194></TR
7195></TABLE
7196><P
7197></P
7198></DIV
7199></DIV
7200><HR><DIV
7201CLASS="REFSECT2"
7202><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007203NAME="AEN13590"
Daniel Veillard35925471999-02-25 08:46:07 +00007204></A
7205><H3
7206><A
7207NAME="XMLPARSEXMLDECL"
7208></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007209>xmlParseXMLDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007210><TABLE
7211BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007212BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007213WIDTH="100%"
7214CELLPADDING="6"
7215><TR
7216><TD
7217><PRE
7218CLASS="PROGRAMLISTING"
7219>void xmlParseXMLDecl (<A
7220HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7221>xmlParserCtxtPtr</A
7222> ctxt);</PRE
7223></TD
7224></TR
7225></TABLE
7226><P
7227>parse an XML declaration header</P
7228><P
7229>[23] XMLDecl ::= '&lt;?xml' VersionInfo EncodingDecl? SDDecl? S? '?&gt;'</P
7230><P
7231></P
7232><DIV
7233CLASS="INFORMALTABLE"
7234><P
7235></P
7236><TABLE
7237BORDER="0"
7238WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007239BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007240CELLSPACING="0"
7241CELLPADDING="4"
7242CLASS="CALSTABLE"
7243><TR
7244><TD
7245WIDTH="20%"
7246ALIGN="RIGHT"
7247VALIGN="TOP"
7248><TT
7249CLASS="PARAMETER"
7250><I
7251>ctxt</I
7252></TT
7253>&nbsp;:</TD
7254><TD
7255WIDTH="80%"
7256ALIGN="LEFT"
7257VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007258> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007259></TR
7260></TABLE
7261><P
7262></P
7263></DIV
7264></DIV
7265><HR><DIV
7266CLASS="REFSECT2"
7267><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007268NAME="AEN13607"
7269></A
7270><H3
7271><A
7272NAME="XMLPARSETEXTDECL"
7273></A
7274>xmlParseTextDecl ()</H3
7275><TABLE
7276BORDER="0"
7277BGCOLOR="#D6E8FF"
7278WIDTH="100%"
7279CELLPADDING="6"
7280><TR
7281><TD
7282><PRE
7283CLASS="PROGRAMLISTING"
7284>void xmlParseTextDecl (<A
7285HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7286>xmlParserCtxtPtr</A
7287> ctxt);</PRE
7288></TD
7289></TR
7290></TABLE
7291><P
7292>parse an XML declaration header for external entities</P
7293><P
7294>[77] TextDecl ::= '&lt;?xml' VersionInfo? EncodingDecl S? '?&gt;'</P
7295><P
7296>Question: Seems that EncodingDecl is mandatory ? Is that a typo ?</P
7297><P
7298></P
7299><DIV
7300CLASS="INFORMALTABLE"
7301><P
7302></P
7303><TABLE
7304BORDER="0"
7305WIDTH="100%"
7306BGCOLOR="#FFD0D0"
7307CELLSPACING="0"
7308CELLPADDING="4"
7309CLASS="CALSTABLE"
7310><TR
7311><TD
7312WIDTH="20%"
7313ALIGN="RIGHT"
7314VALIGN="TOP"
7315><TT
7316CLASS="PARAMETER"
7317><I
7318>ctxt</I
7319></TT
7320>&nbsp;:</TD
7321><TD
7322WIDTH="80%"
7323ALIGN="LEFT"
7324VALIGN="TOP"
7325> an XML parser context</TD
7326></TR
7327></TABLE
7328><P
7329></P
7330></DIV
7331></DIV
7332><HR><DIV
7333CLASS="REFSECT2"
7334><A
7335NAME="AEN13625"
Daniel Veillard35925471999-02-25 08:46:07 +00007336></A
7337><H3
7338><A
7339NAME="XMLPARSEMISC"
7340></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007341>xmlParseMisc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007342><TABLE
7343BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007344BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007345WIDTH="100%"
7346CELLPADDING="6"
7347><TR
7348><TD
7349><PRE
7350CLASS="PROGRAMLISTING"
7351>void xmlParseMisc (<A
7352HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7353>xmlParserCtxtPtr</A
7354> ctxt);</PRE
7355></TD
7356></TR
7357></TABLE
7358><P
7359>parse an XML Misc* optionnal field.</P
7360><P
7361>[27] Misc ::= Comment | PI | S</P
7362><P
7363></P
7364><DIV
7365CLASS="INFORMALTABLE"
7366><P
7367></P
7368><TABLE
7369BORDER="0"
7370WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007371BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007372CELLSPACING="0"
7373CELLPADDING="4"
7374CLASS="CALSTABLE"
7375><TR
7376><TD
7377WIDTH="20%"
7378ALIGN="RIGHT"
7379VALIGN="TOP"
7380><TT
7381CLASS="PARAMETER"
7382><I
7383>ctxt</I
7384></TT
7385>&nbsp;:</TD
7386><TD
7387WIDTH="80%"
7388ALIGN="LEFT"
7389VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007390> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007391></TR
7392></TABLE
7393><P
7394></P
7395></DIV
7396></DIV
Daniel Veillard011b63c1999-06-02 17:44:04 +00007397><HR><DIV
7398CLASS="REFSECT2"
7399><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007400NAME="AEN13642"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007401></A
7402><H3
7403><A
7404NAME="XMLPARSEEXTERNALSUBSET"
7405></A
7406>xmlParseExternalSubset ()</H3
7407><TABLE
7408BORDER="0"
7409BGCOLOR="#D6E8FF"
7410WIDTH="100%"
7411CELLPADDING="6"
7412><TR
7413><TD
7414><PRE
7415CLASS="PROGRAMLISTING"
7416>void xmlParseExternalSubset (<A
7417HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7418>xmlParserCtxtPtr</A
7419> ctxt,
7420 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007421HREF="gnome-xml-tree.html#XMLCHAR"
7422>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007423> *ExternalID,
7424 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007425HREF="gnome-xml-tree.html#XMLCHAR"
7426>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007427> *SystemID);</PRE
7428></TD
7429></TR
7430></TABLE
7431><P
7432>parse Markup declarations from an external subset</P
7433><P
7434>[30] extSubset ::= textDecl? extSubsetDecl</P
7435><P
7436>[31] extSubsetDecl ::= (markupdecl | conditionalSect | PEReference | S) *</P
7437><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007438></P
7439><DIV
7440CLASS="INFORMALTABLE"
7441><P
7442></P
7443><TABLE
7444BORDER="0"
7445WIDTH="100%"
7446BGCOLOR="#FFD0D0"
7447CELLSPACING="0"
7448CELLPADDING="4"
7449CLASS="CALSTABLE"
7450><TR
7451><TD
7452WIDTH="20%"
7453ALIGN="RIGHT"
7454VALIGN="TOP"
7455><TT
7456CLASS="PARAMETER"
7457><I
7458>ctxt</I
7459></TT
7460>&nbsp;:</TD
7461><TD
7462WIDTH="80%"
7463ALIGN="LEFT"
7464VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007465> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007466></TR
7467><TR
7468><TD
7469WIDTH="20%"
7470ALIGN="RIGHT"
7471VALIGN="TOP"
7472><TT
7473CLASS="PARAMETER"
7474><I
7475>ExternalID</I
7476></TT
7477>&nbsp;:</TD
7478><TD
7479WIDTH="80%"
7480ALIGN="LEFT"
7481VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007482> the external identifier</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007483></TR
7484><TR
7485><TD
7486WIDTH="20%"
7487ALIGN="RIGHT"
7488VALIGN="TOP"
7489><TT
7490CLASS="PARAMETER"
7491><I
7492>SystemID</I
7493></TT
7494>&nbsp;:</TD
7495><TD
7496WIDTH="80%"
7497ALIGN="LEFT"
7498VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007499> the system identifier (or URL)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007500></TR
7501></TABLE
7502><P
7503></P
7504></DIV
7505></DIV
7506><HR><DIV
7507CLASS="REFSECT2"
7508><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007509NAME="AEN13670"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007510></A
7511><H3
7512><A
7513NAME="XML-SUBSTITUTE-NONE"
7514></A
7515>XML_SUBSTITUTE_NONE</H3
7516><TABLE
7517BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007518BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007519WIDTH="100%"
7520CELLPADDING="6"
7521><TR
7522><TD
7523><PRE
7524CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007525>#define XML_SUBSTITUTE_NONE 0</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007526></TD
7527></TR
7528></TABLE
7529><P
7530></P
7531></DIV
7532><HR><DIV
7533CLASS="REFSECT2"
7534><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007535NAME="AEN13675"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007536></A
7537><H3
7538><A
7539NAME="XML-SUBSTITUTE-REF"
7540></A
7541>XML_SUBSTITUTE_REF</H3
7542><TABLE
7543BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007544BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007545WIDTH="100%"
7546CELLPADDING="6"
7547><TR
7548><TD
7549><PRE
7550CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007551>#define XML_SUBSTITUTE_REF 1</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007552></TD
7553></TR
7554></TABLE
7555><P
7556></P
7557></DIV
7558><HR><DIV
7559CLASS="REFSECT2"
7560><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007561NAME="AEN13680"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007562></A
7563><H3
7564><A
7565NAME="XML-SUBSTITUTE-PEREF"
7566></A
7567>XML_SUBSTITUTE_PEREF</H3
7568><TABLE
7569BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007570BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007571WIDTH="100%"
7572CELLPADDING="6"
7573><TR
7574><TD
7575><PRE
7576CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007577>#define XML_SUBSTITUTE_PEREF 2</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007578></TD
7579></TR
7580></TABLE
7581><P
7582></P
7583></DIV
7584><HR><DIV
7585CLASS="REFSECT2"
7586><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007587NAME="AEN13685"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007588></A
7589><H3
7590><A
7591NAME="XML-SUBSTITUTE-BOTH"
7592></A
7593>XML_SUBSTITUTE_BOTH</H3
7594><TABLE
7595BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007596BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007597WIDTH="100%"
7598CELLPADDING="6"
7599><TR
7600><TD
7601><PRE
7602CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007603>#define XML_SUBSTITUTE_BOTH 3</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007604></TD
7605></TR
7606></TABLE
7607><P
7608></P
7609></DIV
7610><HR><DIV
7611CLASS="REFSECT2"
7612><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007613NAME="AEN13690"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007614></A
7615><H3
7616><A
7617NAME="XMLDECODEENTITIES"
7618></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007619>xmlDecodeEntities ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00007620><TABLE
7621BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007622BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007623WIDTH="100%"
7624CELLPADDING="6"
7625><TR
7626><TD
7627><PRE
7628CLASS="PROGRAMLISTING"
7629><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007630HREF="gnome-xml-tree.html#XMLCHAR"
7631>xmlChar</A
7632>* xmlDecodeEntities (<A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007633HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7634>xmlParserCtxtPtr</A
7635> ctxt,
7636 int len,
7637 int what,
7638 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007639HREF="gnome-xml-tree.html#XMLCHAR"
7640>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007641> end,
7642 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007643HREF="gnome-xml-tree.html#XMLCHAR"
7644>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007645> end2,
7646 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007647HREF="gnome-xml-tree.html#XMLCHAR"
7648>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007649> end3);</PRE
7650></TD
7651></TR
7652></TABLE
7653><P
7654>[67] Reference ::= EntityRef | CharRef</P
7655><P
7656>[69] PEReference ::= '%' Name ';'</P
7657><P
7658></P
7659><DIV
7660CLASS="INFORMALTABLE"
7661><P
7662></P
7663><TABLE
7664BORDER="0"
7665WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007666BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007667CELLSPACING="0"
7668CELLPADDING="4"
7669CLASS="CALSTABLE"
7670><TR
7671><TD
7672WIDTH="20%"
7673ALIGN="RIGHT"
7674VALIGN="TOP"
7675><TT
7676CLASS="PARAMETER"
7677><I
7678>ctxt</I
7679></TT
7680>&nbsp;:</TD
7681><TD
7682WIDTH="80%"
7683ALIGN="LEFT"
7684VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007685> the parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007686></TR
7687><TR
7688><TD
7689WIDTH="20%"
7690ALIGN="RIGHT"
7691VALIGN="TOP"
7692><TT
7693CLASS="PARAMETER"
7694><I
7695>len</I
7696></TT
7697>&nbsp;:</TD
7698><TD
7699WIDTH="80%"
7700ALIGN="LEFT"
7701VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007702> the len to decode (in bytes !), -1 for no size limit</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007703></TR
7704><TR
7705><TD
7706WIDTH="20%"
7707ALIGN="RIGHT"
7708VALIGN="TOP"
7709><TT
7710CLASS="PARAMETER"
7711><I
7712>what</I
7713></TT
7714>&nbsp;:</TD
7715><TD
7716WIDTH="80%"
7717ALIGN="LEFT"
7718VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007719> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007720></TR
7721><TR
7722><TD
7723WIDTH="20%"
7724ALIGN="RIGHT"
7725VALIGN="TOP"
7726><TT
7727CLASS="PARAMETER"
7728><I
7729>end</I
7730></TT
7731>&nbsp;:</TD
7732><TD
7733WIDTH="80%"
7734ALIGN="LEFT"
7735VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007736> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007737></TR
7738><TR
7739><TD
7740WIDTH="20%"
7741ALIGN="RIGHT"
7742VALIGN="TOP"
7743><TT
7744CLASS="PARAMETER"
7745><I
7746>end2</I
7747></TT
7748>&nbsp;:</TD
7749><TD
7750WIDTH="80%"
7751ALIGN="LEFT"
7752VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007753> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007754></TR
7755><TR
7756><TD
7757WIDTH="20%"
7758ALIGN="RIGHT"
7759VALIGN="TOP"
7760><TT
7761CLASS="PARAMETER"
7762><I
7763>end3</I
7764></TT
7765>&nbsp;:</TD
7766><TD
7767WIDTH="80%"
7768ALIGN="LEFT"
7769VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007770> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007771></TR
7772><TR
7773><TD
7774WIDTH="20%"
7775ALIGN="RIGHT"
7776VALIGN="TOP"
7777><I
7778CLASS="EMPHASIS"
7779>Returns</I
7780> :</TD
7781><TD
7782WIDTH="80%"
7783ALIGN="LEFT"
7784VALIGN="TOP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007785>A newly allocated string with the substitution done. The caller
7786must deallocate it !</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007787></TR
7788></TABLE
7789><P
7790></P
7791></DIV
7792></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +00007793><HR><DIV
7794CLASS="REFSECT2"
7795><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00007796NAME="AEN13735"
7797></A
7798><H3
7799><A
7800NAME="XMLSTRINGDECODEENTITIES"
7801></A
7802>xmlStringDecodeEntities ()</H3
7803><TABLE
7804BORDER="0"
7805BGCOLOR="#D6E8FF"
7806WIDTH="100%"
7807CELLPADDING="6"
7808><TR
7809><TD
7810><PRE
7811CLASS="PROGRAMLISTING"
7812><A
7813HREF="gnome-xml-tree.html#XMLCHAR"
7814>xmlChar</A
7815>* xmlStringDecodeEntities (<A
7816HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7817>xmlParserCtxtPtr</A
7818> ctxt,
7819 const <A
7820HREF="gnome-xml-tree.html#XMLCHAR"
7821>xmlChar</A
7822> *str,
7823 int what,
7824 <A
7825HREF="gnome-xml-tree.html#XMLCHAR"
7826>xmlChar</A
7827> end,
7828 <A
7829HREF="gnome-xml-tree.html#XMLCHAR"
7830>xmlChar</A
7831> end2,
7832 <A
7833HREF="gnome-xml-tree.html#XMLCHAR"
7834>xmlChar</A
7835> end3);</PRE
7836></TD
7837></TR
7838></TABLE
7839><P
7840>[67] Reference ::= EntityRef | CharRef</P
7841><P
7842>[69] PEReference ::= '%' Name ';'</P
7843><P
7844></P
7845><DIV
7846CLASS="INFORMALTABLE"
7847><P
7848></P
7849><TABLE
7850BORDER="0"
7851WIDTH="100%"
7852BGCOLOR="#FFD0D0"
7853CELLSPACING="0"
7854CELLPADDING="4"
7855CLASS="CALSTABLE"
7856><TR
7857><TD
7858WIDTH="20%"
7859ALIGN="RIGHT"
7860VALIGN="TOP"
7861><TT
7862CLASS="PARAMETER"
7863><I
7864>ctxt</I
7865></TT
7866>&nbsp;:</TD
7867><TD
7868WIDTH="80%"
7869ALIGN="LEFT"
7870VALIGN="TOP"
7871> the parser context</TD
7872></TR
7873><TR
7874><TD
7875WIDTH="20%"
7876ALIGN="RIGHT"
7877VALIGN="TOP"
7878><TT
7879CLASS="PARAMETER"
7880><I
7881>str</I
7882></TT
7883>&nbsp;:</TD
7884><TD
7885WIDTH="80%"
7886ALIGN="LEFT"
7887VALIGN="TOP"
7888> the input string</TD
7889></TR
7890><TR
7891><TD
7892WIDTH="20%"
7893ALIGN="RIGHT"
7894VALIGN="TOP"
7895><TT
7896CLASS="PARAMETER"
7897><I
7898>what</I
7899></TT
7900>&nbsp;:</TD
7901><TD
7902WIDTH="80%"
7903ALIGN="LEFT"
7904VALIGN="TOP"
7905> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
7906></TR
7907><TR
7908><TD
7909WIDTH="20%"
7910ALIGN="RIGHT"
7911VALIGN="TOP"
7912><TT
7913CLASS="PARAMETER"
7914><I
7915>end</I
7916></TT
7917>&nbsp;:</TD
7918><TD
7919WIDTH="80%"
7920ALIGN="LEFT"
7921VALIGN="TOP"
7922> an end marker xmlChar, 0 if none</TD
7923></TR
7924><TR
7925><TD
7926WIDTH="20%"
7927ALIGN="RIGHT"
7928VALIGN="TOP"
7929><TT
7930CLASS="PARAMETER"
7931><I
7932>end2</I
7933></TT
7934>&nbsp;:</TD
7935><TD
7936WIDTH="80%"
7937ALIGN="LEFT"
7938VALIGN="TOP"
7939> an end marker xmlChar, 0 if none</TD
7940></TR
7941><TR
7942><TD
7943WIDTH="20%"
7944ALIGN="RIGHT"
7945VALIGN="TOP"
7946><TT
7947CLASS="PARAMETER"
7948><I
7949>end3</I
7950></TT
7951>&nbsp;:</TD
7952><TD
7953WIDTH="80%"
7954ALIGN="LEFT"
7955VALIGN="TOP"
7956> an end marker xmlChar, 0 if none</TD
7957></TR
7958><TR
7959><TD
7960WIDTH="20%"
7961ALIGN="RIGHT"
7962VALIGN="TOP"
7963><I
7964CLASS="EMPHASIS"
7965>Returns</I
7966> :</TD
7967><TD
7968WIDTH="80%"
7969ALIGN="LEFT"
7970VALIGN="TOP"
7971>A newly allocated string with the substitution done. The caller
7972must deallocate it !</TD
7973></TR
7974></TABLE
7975><P
7976></P
7977></DIV
7978></DIV
7979><HR><DIV
7980CLASS="REFSECT2"
7981><A
7982NAME="AEN13781"
Daniel Veillard14fff061999-06-22 21:49:07 +00007983></A
7984><H3
7985><A
7986NAME="NODEPUSH"
7987></A
7988>nodePush ()</H3
7989><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00007990BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007991BGCOLOR="#D6E8FF"
7992WIDTH="100%"
7993CELLPADDING="6"
Daniel Veillard35925471999-02-25 08:46:07 +00007994><TR
7995><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007996><PRE
7997CLASS="PROGRAMLISTING"
7998>int nodePush (<A
7999HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8000>xmlParserCtxtPtr</A
8001> ctxt,
8002 <A
8003HREF="gnome-xml-tree.html#XMLNODEPTR"
8004>xmlNodePtr</A
8005> value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00008006></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008007></TR
8008></TABLE
8009><P
8010></P
8011><DIV
8012CLASS="INFORMALTABLE"
8013><P
8014></P
8015><TABLE
8016BORDER="0"
8017WIDTH="100%"
8018BGCOLOR="#FFD0D0"
8019CELLSPACING="0"
8020CELLPADDING="4"
8021CLASS="CALSTABLE"
8022><TR
Daniel Veillard35925471999-02-25 08:46:07 +00008023><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008024WIDTH="20%"
8025ALIGN="RIGHT"
8026VALIGN="TOP"
8027><TT
8028CLASS="PARAMETER"
8029><I
8030>ctxt</I
8031></TT
8032>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008033><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008034WIDTH="80%"
8035ALIGN="LEFT"
8036VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00008037>&nbsp;</TD
8038></TR
8039><TR
8040><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008041WIDTH="20%"
8042ALIGN="RIGHT"
8043VALIGN="TOP"
8044><TT
8045CLASS="PARAMETER"
8046><I
8047>value</I
8048></TT
8049>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00008050><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008051WIDTH="80%"
8052ALIGN="LEFT"
8053VALIGN="TOP"
8054>&nbsp;</TD
8055></TR
8056><TR
8057><TD
8058WIDTH="20%"
8059ALIGN="RIGHT"
8060VALIGN="TOP"
8061><I
8062CLASS="EMPHASIS"
8063>Returns</I
8064> :</TD
8065><TD
8066WIDTH="80%"
8067ALIGN="LEFT"
8068VALIGN="TOP"
8069>&nbsp;</TD
8070></TR
8071></TABLE
8072><P
8073></P
8074></DIV
8075></DIV
8076><HR><DIV
8077CLASS="REFSECT2"
Daniel Veillard35925471999-02-25 08:46:07 +00008078><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008079NAME="AEN13805"
Daniel Veillard14fff061999-06-22 21:49:07 +00008080></A
8081><H3
8082><A
8083NAME="NODEPOP"
8084></A
8085>nodePop ()</H3
8086><TABLE
8087BORDER="0"
8088BGCOLOR="#D6E8FF"
8089WIDTH="100%"
8090CELLPADDING="6"
8091><TR
8092><TD
8093><PRE
8094CLASS="PROGRAMLISTING"
8095><A
8096HREF="gnome-xml-tree.html#XMLNODEPTR"
8097>xmlNodePtr</A
8098> nodePop (<A
8099HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8100>xmlParserCtxtPtr</A
8101> ctxt);</PRE
8102></TD
8103></TR
8104></TABLE
8105><P
8106></P
8107><DIV
8108CLASS="INFORMALTABLE"
8109><P
8110></P
8111><TABLE
8112BORDER="0"
8113WIDTH="100%"
8114BGCOLOR="#FFD0D0"
8115CELLSPACING="0"
8116CELLPADDING="4"
8117CLASS="CALSTABLE"
8118><TR
8119><TD
8120WIDTH="20%"
8121ALIGN="RIGHT"
8122VALIGN="TOP"
8123><TT
8124CLASS="PARAMETER"
8125><I
8126>ctxt</I
8127></TT
8128>&nbsp;:</TD
8129><TD
8130WIDTH="80%"
8131ALIGN="LEFT"
8132VALIGN="TOP"
8133>&nbsp;</TD
8134></TR
8135><TR
8136><TD
8137WIDTH="20%"
8138ALIGN="RIGHT"
8139VALIGN="TOP"
8140><I
8141CLASS="EMPHASIS"
8142>Returns</I
8143> :</TD
8144><TD
8145WIDTH="80%"
8146ALIGN="LEFT"
8147VALIGN="TOP"
8148>&nbsp;</TD
8149></TR
8150></TABLE
8151><P
8152></P
8153></DIV
8154></DIV
8155><HR><DIV
8156CLASS="REFSECT2"
8157><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008158NAME="AEN13825"
Daniel Veillard14fff061999-06-22 21:49:07 +00008159></A
8160><H3
8161><A
8162NAME="INPUTPUSH"
8163></A
8164>inputPush ()</H3
8165><TABLE
8166BORDER="0"
8167BGCOLOR="#D6E8FF"
8168WIDTH="100%"
8169CELLPADDING="6"
8170><TR
8171><TD
8172><PRE
8173CLASS="PROGRAMLISTING"
8174>int inputPush (<A
8175HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8176>xmlParserCtxtPtr</A
8177> ctxt,
8178 <A
8179HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
8180>xmlParserInputPtr</A
8181> value);</PRE
8182></TD
8183></TR
8184></TABLE
8185><P
8186></P
8187><DIV
8188CLASS="INFORMALTABLE"
8189><P
8190></P
8191><TABLE
8192BORDER="0"
8193WIDTH="100%"
8194BGCOLOR="#FFD0D0"
8195CELLSPACING="0"
8196CELLPADDING="4"
8197CLASS="CALSTABLE"
8198><TR
8199><TD
8200WIDTH="20%"
8201ALIGN="RIGHT"
8202VALIGN="TOP"
8203><TT
8204CLASS="PARAMETER"
8205><I
8206>ctxt</I
8207></TT
8208>&nbsp;:</TD
8209><TD
8210WIDTH="80%"
8211ALIGN="LEFT"
8212VALIGN="TOP"
8213>&nbsp;</TD
8214></TR
8215><TR
8216><TD
8217WIDTH="20%"
8218ALIGN="RIGHT"
8219VALIGN="TOP"
8220><TT
8221CLASS="PARAMETER"
8222><I
8223>value</I
8224></TT
8225>&nbsp;:</TD
8226><TD
8227WIDTH="80%"
8228ALIGN="LEFT"
8229VALIGN="TOP"
8230>&nbsp;</TD
8231></TR
8232><TR
8233><TD
8234WIDTH="20%"
8235ALIGN="RIGHT"
8236VALIGN="TOP"
8237><I
8238CLASS="EMPHASIS"
8239>Returns</I
8240> :</TD
8241><TD
8242WIDTH="80%"
8243ALIGN="LEFT"
8244VALIGN="TOP"
8245>&nbsp;</TD
8246></TR
8247></TABLE
8248><P
8249></P
8250></DIV
8251></DIV
8252><HR><DIV
8253CLASS="REFSECT2"
8254><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00008255NAME="AEN13849"
Daniel Veillard14fff061999-06-22 21:49:07 +00008256></A
8257><H3
8258><A
8259NAME="INPUTPOP"
8260></A
8261>inputPop ()</H3
8262><TABLE
8263BORDER="0"
8264BGCOLOR="#D6E8FF"
8265WIDTH="100%"
8266CELLPADDING="6"
8267><TR
8268><TD
8269><PRE
8270CLASS="PROGRAMLISTING"
8271><A
8272HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
8273>xmlParserInputPtr</A
8274> inputPop (<A
8275HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8276>xmlParserCtxtPtr</A
8277> ctxt);</PRE
8278></TD
8279></TR
8280></TABLE
8281><P
8282></P
8283><DIV
8284CLASS="INFORMALTABLE"
8285><P
8286></P
8287><TABLE
8288BORDER="0"
8289WIDTH="100%"
8290BGCOLOR="#FFD0D0"
8291CELLSPACING="0"
8292CELLPADDING="4"
8293CLASS="CALSTABLE"
8294><TR
8295><TD
8296WIDTH="20%"
8297ALIGN="RIGHT"
8298VALIGN="TOP"
8299><TT
8300CLASS="PARAMETER"
8301><I
8302>ctxt</I
8303></TT
8304>&nbsp;:</TD
8305><TD
8306WIDTH="80%"
8307ALIGN="LEFT"
8308VALIGN="TOP"
8309>&nbsp;</TD
8310></TR
8311><TR
8312><TD
8313WIDTH="20%"
8314ALIGN="RIGHT"
8315VALIGN="TOP"
8316><I
8317CLASS="EMPHASIS"
8318>Returns</I
8319> :</TD
8320><TD
8321WIDTH="80%"
8322ALIGN="LEFT"
8323VALIGN="TOP"
8324>&nbsp;</TD
8325></TR
8326></TABLE
8327><P
8328></P
8329></DIV
8330></DIV
8331></DIV
8332><DIV
8333CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00008334><BR
8335CLEAR="all"><BR><TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +00008336WIDTH="100%"
8337BORDER="0"
8338BGCOLOR="#000000"
8339CELLPADDING="1"
8340CELLSPACING="0"
8341><TR
8342><TD
8343WIDTH="25%"
8344BGCOLOR="#C00000"
8345ALIGN="left"
8346><A
Daniel Veillard294cbca1999-12-03 13:19:09 +00008347HREF="gnome-xml-xmlio.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008348><FONT
8349COLOR="#FFFFFF"
8350SIZE="3"
8351><B
8352>&#60;&#60;&#60; Previous Page</B
8353></FONT
8354></A
Daniel Veillard35925471999-02-25 08:46:07 +00008355></TD
8356><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008357WIDTH="25%"
8358BGCOLOR="#0000C0"
8359ALIGN="center"
8360><FONT
8361COLOR="#FFFFFF"
8362SIZE="3"
8363><B
8364><A
8365HREF="book1.html"
8366><FONT
8367COLOR="#FFFFFF"
8368SIZE="3"
8369><B
8370>Home</B
8371></FONT
8372></A
8373></B
8374></FONT
8375></TD
8376><TD
8377WIDTH="25%"
8378BGCOLOR="#00C000"
8379ALIGN="center"
8380><FONT
8381COLOR="#FFFFFF"
8382SIZE="3"
8383><B
8384><A
Daniel Veillard35008381999-10-25 13:15:52 +00008385HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008386><FONT
8387COLOR="#FFFFFF"
8388SIZE="3"
8389><B
8390>Up</B
8391></FONT
8392></A
8393></B
8394></FONT
8395></TD
8396><TD
8397WIDTH="25%"
8398BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00008399ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00008400><A
Daniel Veillard294cbca1999-12-03 13:19:09 +00008401HREF="gnome-xml-encoding.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00008402><FONT
8403COLOR="#FFFFFF"
8404SIZE="3"
8405><B
8406>Next Page &#62;&#62;&#62;</B
8407></FONT
8408></A
8409></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008410></TR
8411><TR
8412><TD
8413COLSPAN="2"
8414ALIGN="left"
8415><FONT
8416COLOR="#FFFFFF"
8417SIZE="3"
8418><B
Daniel Veillard294cbca1999-12-03 13:19:09 +00008419>xmlIO</B
Daniel Veillard14fff061999-06-22 21:49:07 +00008420></FONT
8421></TD
8422><TD
8423COLSPAN="2"
8424ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00008425><FONT
8426COLOR="#FFFFFF"
8427SIZE="3"
8428><B
Daniel Veillard294cbca1999-12-03 13:19:09 +00008429>encoding</B
Daniel Veillard1566d3a1999-07-15 14:24:29 +00008430></FONT
8431></TD
Daniel Veillard35925471999-02-25 08:46:07 +00008432></TR
8433></TABLE
8434></DIV
8435></BODY
8436></HTML
8437>