blob: 19bc64c55df488f890d5b996cfb3d876f3a77c39 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>parserInternals</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillardf3a73582000-01-05 14:58:39 +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 Veillardf3a73582000-01-05 14:58:39 +0000114>parserInternals</H1
Daniel Veillard35925471999-02-25 08:46:07 +0000115><DIV
116CLASS="REFNAMEDIV"
117><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000118NAME="AEN10666"
Daniel Veillard35925471999-02-25 08:46:07 +0000119></A
120><H2
121>Name</H2
Daniel Veillardf3a73582000-01-05 14:58:39 +0000122>parserInternals &#8212; </DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFSYNOPSISDIV"
125><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000126NAME="AEN10669"
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 Veillardf3a73582000-01-05 14:58:39 +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 Veillardedfb29b2000-03-14 19:59:05 +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);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000243void <A
244HREF="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 Veillard35925471999-02-25 08:46:07 +0000254void <A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000255HREF="gnome-xml-parser.html#XMLFREEPARSERCTXT"
256>xmlFreeParserCtxt</A
257> (<A
258HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
259>xmlParserCtxtPtr</A
260> ctxt);
261void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000262HREF="gnome-xml-parserinternals.html#XMLHANDLEENTITY"
263>xmlHandleEntity</A
264> (<A
265HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
266>xmlParserCtxtPtr</A
267> ctxt,
268 <A
269HREF="gnome-xml-entities.html#XMLENTITYPTR"
270>xmlEntityPtr</A
271> entity);
272<A
Daniel Veillardbc50b591999-03-01 12:28:53 +0000273HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
274>xmlParserInputPtr</A
275> <A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000276HREF="gnome-xml-parserinternals.html#XMLNEWENTITYINPUTSTREAM"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000277>xmlNewEntityInputStream</A
278> (<A
279HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
280>xmlParserCtxtPtr</A
281> ctxt,
282 <A
283HREF="gnome-xml-entities.html#XMLENTITYPTR"
284>xmlEntityPtr</A
285> entity);
286void <A
287HREF="gnome-xml-parserinternals.html#XMLPUSHINPUT"
288>xmlPushInput</A
289> (<A
290HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
291>xmlParserCtxtPtr</A
292> ctxt,
293 <A
294HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
295>xmlParserInputPtr</A
296> input);
297<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000298HREF="gnome-xml-tree.html#XMLCHAR"
299>xmlChar</A
300> <A
Daniel Veillardbc50b591999-03-01 12:28:53 +0000301HREF="gnome-xml-parserinternals.html#XMLPOPINPUT"
302>xmlPopInput</A
303> (<A
304HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
305>xmlParserCtxtPtr</A
306> ctxt);
307void <A
308HREF="gnome-xml-parserinternals.html#XMLFREEINPUTSTREAM"
309>xmlFreeInputStream</A
310> (<A
311HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
312>xmlParserInputPtr</A
313> input);
314<A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000315HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
316>xmlParserInputPtr</A
317> <A
318HREF="gnome-xml-parserinternals.html#XMLNEWINPUTFROMFILE"
319>xmlNewInputFromFile</A
320> (<A
321HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
322>xmlParserCtxtPtr</A
323> ctxt,
324 const char *filename);
325<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000326HREF="gnome-xml-tree.html#XMLCHAR"
327>xmlChar</A
328>* <A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000329HREF="gnome-xml-parserinternals.html#XMLSPLITQNAME"
330>xmlSplitQName</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000331> (<A
332HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
333>xmlParserCtxtPtr</A
334> ctxt,
335 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000336HREF="gnome-xml-tree.html#XMLCHAR"
337>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000338> *name,
339 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000340HREF="gnome-xml-tree.html#XMLCHAR"
341>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000342> **prefix);
343<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000344HREF="gnome-xml-tree.html#XMLCHAR"
345>xmlChar</A
346>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000347HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSENCNAME"
348>xmlNamespaceParseNCName</A
349> (<A
350HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
351>xmlParserCtxtPtr</A
352> ctxt);
353<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000354HREF="gnome-xml-tree.html#XMLCHAR"
355>xmlChar</A
356>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000357HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSEQNAME"
358>xmlNamespaceParseQName</A
359> (<A
360HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
361>xmlParserCtxtPtr</A
362> ctxt,
363 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000364HREF="gnome-xml-tree.html#XMLCHAR"
365>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000366> **prefix);
367<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000368HREF="gnome-xml-tree.html#XMLCHAR"
369>xmlChar</A
370>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000371HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSENSDEF"
372>xmlNamespaceParseNSDef</A
373> (<A
374HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
375>xmlParserCtxtPtr</A
376> ctxt);
377<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000378HREF="gnome-xml-tree.html#XMLCHAR"
379>xmlChar</A
380>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000381HREF="gnome-xml-parserinternals.html#XMLPARSEQUOTEDSTRING"
382>xmlParseQuotedString</A
383> (<A
384HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
385>xmlParserCtxtPtr</A
386> ctxt);
387void <A
388HREF="gnome-xml-parserinternals.html#XMLPARSENAMESPACE"
389>xmlParseNamespace</A
390> (<A
391HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
392>xmlParserCtxtPtr</A
393> ctxt);
394<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000395HREF="gnome-xml-tree.html#XMLCHAR"
396>xmlChar</A
397>* <A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000398HREF="gnome-xml-parserinternals.html#XMLSCANNAME"
399>xmlScanName</A
400> (<A
401HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
402>xmlParserCtxtPtr</A
403> ctxt);
404<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000405HREF="gnome-xml-tree.html#XMLCHAR"
406>xmlChar</A
407>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000408HREF="gnome-xml-parserinternals.html#XMLPARSENAME"
409>xmlParseName</A
410> (<A
411HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
412>xmlParserCtxtPtr</A
413> ctxt);
414<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000415HREF="gnome-xml-tree.html#XMLCHAR"
416>xmlChar</A
417>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000418HREF="gnome-xml-parserinternals.html#XMLPARSENMTOKEN"
419>xmlParseNmtoken</A
420> (<A
421HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
422>xmlParserCtxtPtr</A
423> ctxt);
424<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000425HREF="gnome-xml-tree.html#XMLCHAR"
426>xmlChar</A
427>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000428HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYVALUE"
429>xmlParseEntityValue</A
430> (<A
431HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
432>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000433> ctxt,
434 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000435HREF="gnome-xml-tree.html#XMLCHAR"
436>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000437> **orig);
Daniel Veillard35925471999-02-25 08:46:07 +0000438<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000439HREF="gnome-xml-tree.html#XMLCHAR"
440>xmlChar</A
441>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000442HREF="gnome-xml-parserinternals.html#XMLPARSEATTVALUE"
443>xmlParseAttValue</A
444> (<A
445HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
446>xmlParserCtxtPtr</A
447> ctxt);
448<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000449HREF="gnome-xml-tree.html#XMLCHAR"
450>xmlChar</A
451>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000452HREF="gnome-xml-parserinternals.html#XMLPARSESYSTEMLITERAL"
453>xmlParseSystemLiteral</A
454> (<A
455HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
456>xmlParserCtxtPtr</A
457> ctxt);
458<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000459HREF="gnome-xml-tree.html#XMLCHAR"
460>xmlChar</A
461>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000462HREF="gnome-xml-parserinternals.html#XMLPARSEPUBIDLITERAL"
463>xmlParsePubidLiteral</A
464> (<A
465HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
466>xmlParserCtxtPtr</A
467> ctxt);
468void <A
469HREF="gnome-xml-parserinternals.html#XMLPARSECHARDATA"
470>xmlParseCharData</A
471> (<A
472HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
473>xmlParserCtxtPtr</A
474> ctxt,
475 int cdata);
476<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000477HREF="gnome-xml-tree.html#XMLCHAR"
478>xmlChar</A
479>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000480HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
481>xmlParseExternalID</A
482> (<A
483HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
484>xmlParserCtxtPtr</A
485> ctxt,
486 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000487HREF="gnome-xml-tree.html#XMLCHAR"
488>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000489> **publicID,
490 int strict);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000491void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000492HREF="gnome-xml-parserinternals.html#XMLPARSECOMMENT"
493>xmlParseComment</A
494> (<A
495HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
496>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +0000497> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000498<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000499HREF="gnome-xml-tree.html#XMLCHAR"
500>xmlChar</A
501>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000502HREF="gnome-xml-parserinternals.html#XMLPARSEPITARGET"
503>xmlParsePITarget</A
504> (<A
505HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
506>xmlParserCtxtPtr</A
507> ctxt);
508void <A
509HREF="gnome-xml-parserinternals.html#XMLPARSEPI"
510>xmlParsePI</A
511> (<A
512HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
513>xmlParserCtxtPtr</A
514> ctxt);
515void <A
516HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONDECL"
517>xmlParseNotationDecl</A
518> (<A
519HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
520>xmlParserCtxtPtr</A
521> ctxt);
522void <A
523HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYDECL"
524>xmlParseEntityDecl</A
525> (<A
526HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
527>xmlParserCtxtPtr</A
528> ctxt);
529int <A
530HREF="gnome-xml-parserinternals.html#XMLPARSEDEFAULTDECL"
531>xmlParseDefaultDecl</A
532> (<A
533HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
534>xmlParserCtxtPtr</A
535> ctxt,
536 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000537HREF="gnome-xml-tree.html#XMLCHAR"
538>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000539> **value);
540<A
541HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
542>xmlEnumerationPtr</A
543> <A
544HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONTYPE"
545>xmlParseNotationType</A
546> (<A
547HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
548>xmlParserCtxtPtr</A
549> ctxt);
550<A
551HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
552>xmlEnumerationPtr</A
553> <A
554HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATIONTYPE"
555>xmlParseEnumerationType</A
556> (<A
557HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
558>xmlParserCtxtPtr</A
559> ctxt);
560int <A
561HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATEDTYPE"
562>xmlParseEnumeratedType</A
563> (<A
564HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
565>xmlParserCtxtPtr</A
566> ctxt,
567 <A
568HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
569>xmlEnumerationPtr</A
570> *tree);
571int <A
572HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTETYPE"
573>xmlParseAttributeType</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);
582void <A
583HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTELISTDECL"
584>xmlParseAttributeListDecl</A
585> (<A
586HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
587>xmlParserCtxtPtr</A
588> ctxt);
589<A
590HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
591>xmlElementContentPtr</A
592> <A
593HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTMIXEDCONTENTDECL"
594>xmlParseElementMixedContentDecl</A
595>
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#XMLPARSEELEMENTCHILDRENCONTENTDECL"
605>xmlParseElementChildrenContentDecl</A
606>
607 (<A
608HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
609>xmlParserCtxtPtr</A
610> ctxt);
611int <A
612HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCONTENTDECL"
613>xmlParseElementContentDecl</A
614> (<A
615HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
616>xmlParserCtxtPtr</A
617> ctxt,
618 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000619HREF="gnome-xml-tree.html#XMLCHAR"
620>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +0000621> *name,
622 <A
623HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
624>xmlElementContentPtr</A
625> *result);
626int <A
627HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTDECL"
628>xmlParseElementDecl</A
629> (<A
630HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
631>xmlParserCtxtPtr</A
632> ctxt);
633void <A
634HREF="gnome-xml-parserinternals.html#XMLPARSEMARKUPDECL"
635>xmlParseMarkupDecl</A
636> (<A
637HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
638>xmlParserCtxtPtr</A
639> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000640int <A
Daniel Veillard35925471999-02-25 08:46:07 +0000641HREF="gnome-xml-parserinternals.html#XMLPARSECHARREF"
642>xmlParseCharRef</A
643> (<A
644HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
645>xmlParserCtxtPtr</A
646> ctxt);
647<A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000648HREF="gnome-xml-entities.html#XMLENTITYPTR"
649>xmlEntityPtr</A
650> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000651HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYREF"
652>xmlParseEntityRef</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000653> (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000654HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
655>xmlParserCtxtPtr</A
656> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000657void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000658HREF="gnome-xml-parserinternals.html#XMLPARSEREFERENCE"
659>xmlParseReference</A
660> (<A
661HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
662>xmlParserCtxtPtr</A
663> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000664void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000665HREF="gnome-xml-parserinternals.html#XMLPARSEPEREFERENCE"
666>xmlParsePEReference</A
667> (<A
668HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
669>xmlParserCtxtPtr</A
670> ctxt);
671void <A
672HREF="gnome-xml-parserinternals.html#XMLPARSEDOCTYPEDECL"
673>xmlParseDocTypeDecl</A
674> (<A
675HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
676>xmlParserCtxtPtr</A
677> ctxt);
678<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000679HREF="gnome-xml-tree.html#XMLCHAR"
680>xmlChar</A
681>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000682HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTE"
683>xmlParseAttribute</A
684> (<A
685HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
686>xmlParserCtxtPtr</A
687> ctxt,
688 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000689HREF="gnome-xml-tree.html#XMLCHAR"
690>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000691> **value);
Daniel Veillard14fff061999-06-22 21:49:07 +0000692<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000693HREF="gnome-xml-tree.html#XMLCHAR"
694>xmlChar</A
695>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000696HREF="gnome-xml-parserinternals.html#XMLPARSESTARTTAG"
697>xmlParseStartTag</A
698> (<A
699HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
700>xmlParserCtxtPtr</A
701> ctxt);
702void <A
703HREF="gnome-xml-parserinternals.html#XMLPARSEENDTAG"
704>xmlParseEndTag</A
705> (<A
706HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
707>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +0000708> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000709void <A
710HREF="gnome-xml-parserinternals.html#XMLPARSECDSECT"
711>xmlParseCDSect</A
712> (<A
713HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
714>xmlParserCtxtPtr</A
715> ctxt);
716void <A
717HREF="gnome-xml-parserinternals.html#XMLPARSECONTENT"
718>xmlParseContent</A
719> (<A
720HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
721>xmlParserCtxtPtr</A
722> ctxt);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000723void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000724HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENT"
725>xmlParseElement</A
726> (<A
727HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
728>xmlParserCtxtPtr</A
729> ctxt);
730<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000731HREF="gnome-xml-tree.html#XMLCHAR"
732>xmlChar</A
733>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000734HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONNUM"
735>xmlParseVersionNum</A
736> (<A
737HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
738>xmlParserCtxtPtr</A
739> ctxt);
740<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000741HREF="gnome-xml-tree.html#XMLCHAR"
742>xmlChar</A
743>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000744HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONINFO"
745>xmlParseVersionInfo</A
746> (<A
747HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
748>xmlParserCtxtPtr</A
749> ctxt);
750<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000751HREF="gnome-xml-tree.html#XMLCHAR"
752>xmlChar</A
753>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000754HREF="gnome-xml-parserinternals.html#XMLPARSEENCNAME"
755>xmlParseEncName</A
756> (<A
757HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
758>xmlParserCtxtPtr</A
759> ctxt);
760<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000761HREF="gnome-xml-tree.html#XMLCHAR"
762>xmlChar</A
763>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000764HREF="gnome-xml-parserinternals.html#XMLPARSEENCODINGDECL"
765>xmlParseEncodingDecl</A
766> (<A
767HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
768>xmlParserCtxtPtr</A
769> ctxt);
770int <A
771HREF="gnome-xml-parserinternals.html#XMLPARSESDDECL"
772>xmlParseSDDecl</A
773> (<A
774HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
775>xmlParserCtxtPtr</A
776> ctxt);
777void <A
778HREF="gnome-xml-parserinternals.html#XMLPARSEXMLDECL"
779>xmlParseXMLDecl</A
780> (<A
781HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
782>xmlParserCtxtPtr</A
783> ctxt);
784void <A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000785HREF="gnome-xml-parserinternals.html#XMLPARSETEXTDECL"
786>xmlParseTextDecl</A
787> (<A
788HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
789>xmlParserCtxtPtr</A
790> ctxt);
791void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000792HREF="gnome-xml-parserinternals.html#XMLPARSEMISC"
793>xmlParseMisc</A
794> (<A
795HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
796>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000797> ctxt);
Daniel Veillardb05deb71999-08-10 19:04:08 +0000798void <A
799HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALSUBSET"
800>xmlParseExternalSubset</A
801> (<A
802HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
803>xmlParserCtxtPtr</A
804> ctxt,
805 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000806HREF="gnome-xml-tree.html#XMLCHAR"
807>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000808> *ExternalID,
809 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000810HREF="gnome-xml-tree.html#XMLCHAR"
811>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +0000812> *SystemID);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000813#define <A
814HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-NONE"
815>XML_SUBSTITUTE_NONE</A
816>
817#define <A
818HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-REF"
819>XML_SUBSTITUTE_REF</A
820>
821#define <A
822HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-PEREF"
823>XML_SUBSTITUTE_PEREF</A
824>
825#define <A
826HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-BOTH"
827>XML_SUBSTITUTE_BOTH</A
828>
829<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000830HREF="gnome-xml-tree.html#XMLCHAR"
831>xmlChar</A
832>* <A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000833HREF="gnome-xml-parserinternals.html#XMLDECODEENTITIES"
834>xmlDecodeEntities</A
835> (<A
836HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
837>xmlParserCtxtPtr</A
838> ctxt,
839 int len,
840 int what,
841 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000842HREF="gnome-xml-tree.html#XMLCHAR"
843>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000844> end,
845 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000846HREF="gnome-xml-tree.html#XMLCHAR"
847>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000848> end2,
849 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +0000850HREF="gnome-xml-tree.html#XMLCHAR"
851>xmlChar</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000852> end3);
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000853<A
854HREF="gnome-xml-tree.html#XMLCHAR"
855>xmlChar</A
856>* <A
857HREF="gnome-xml-parserinternals.html#XMLSTRINGDECODEENTITIES"
858>xmlStringDecodeEntities</A
859> (<A
860HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
861>xmlParserCtxtPtr</A
862> ctxt,
863 const <A
864HREF="gnome-xml-tree.html#XMLCHAR"
865>xmlChar</A
866> *str,
867 int what,
868 <A
869HREF="gnome-xml-tree.html#XMLCHAR"
870>xmlChar</A
871> end,
872 <A
873HREF="gnome-xml-tree.html#XMLCHAR"
874>xmlChar</A
875> end2,
876 <A
877HREF="gnome-xml-tree.html#XMLCHAR"
878>xmlChar</A
879> end3);
Daniel Veillard14fff061999-06-22 21:49:07 +0000880int <A
881HREF="gnome-xml-parserinternals.html#NODEPUSH"
882>nodePush</A
883> (<A
884HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
885>xmlParserCtxtPtr</A
886> ctxt,
887 <A
888HREF="gnome-xml-tree.html#XMLNODEPTR"
889>xmlNodePtr</A
890> value);
891<A
892HREF="gnome-xml-tree.html#XMLNODEPTR"
893>xmlNodePtr</A
894> <A
895HREF="gnome-xml-parserinternals.html#NODEPOP"
896>nodePop</A
897> (<A
898HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
899>xmlParserCtxtPtr</A
900> ctxt);
901int <A
902HREF="gnome-xml-parserinternals.html#INPUTPUSH"
903>inputPush</A
904> (<A
905HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
906>xmlParserCtxtPtr</A
907> ctxt,
908 <A
909HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
910>xmlParserInputPtr</A
911> value);
912<A
913HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
914>xmlParserInputPtr</A
915> <A
916HREF="gnome-xml-parserinternals.html#INPUTPOP"
917>inputPop</A
918> (<A
919HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
920>xmlParserCtxtPtr</A
921> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000922></TD
923></TR
924></TABLE
925></DIV
926><DIV
927CLASS="REFSECT1"
928><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000929NAME="AEN10891"
Daniel Veillard35925471999-02-25 08:46:07 +0000930></A
931><H2
932>Description</H2
933><P
934></P
935></DIV
936><DIV
937CLASS="REFSECT1"
938><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000939NAME="AEN10894"
Daniel Veillard35925471999-02-25 08:46:07 +0000940></A
941><H2
942>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000943><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000944CLASS="REFSECT2"
945><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000946NAME="AEN10896"
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000947></A
948><H3
949><A
950NAME="XML-MAX-NAMELEN"
951></A
952>XML_MAX_NAMELEN</H3
953><TABLE
954BORDER="0"
955BGCOLOR="#D6E8FF"
956WIDTH="100%"
957CELLPADDING="6"
958><TR
959><TD
960><PRE
961CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +0000962>#define XML_MAX_NAMELEN 1000</PRE
Daniel Veillard6bd26dc1999-09-03 14:28:40 +0000963></TD
964></TR
965></TABLE
966><P
967></P
968></DIV
969><HR><DIV
970CLASS="REFSECT2"
971><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +0000972NAME="AEN10901"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000973></A
974><H3
975><A
976NAME="IS-CHAR"
977></A
978>IS_CHAR()</H3
979><TABLE
980BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000981BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000982WIDTH="100%"
983CELLPADDING="6"
984><TR
985><TD
986><PRE
987CLASS="PROGRAMLISTING"
988>#define IS_CHAR(c)</PRE
989></TD
990></TR
991></TABLE
992><P
993></P
994><DIV
995CLASS="INFORMALTABLE"
996><P
997></P
998><TABLE
999BORDER="0"
1000WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001001BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001002CELLSPACING="0"
1003CELLPADDING="4"
1004CLASS="CALSTABLE"
1005><TR
1006><TD
1007WIDTH="20%"
1008ALIGN="RIGHT"
1009VALIGN="TOP"
1010><TT
1011CLASS="PARAMETER"
1012><I
1013>c</I
1014></TT
1015>&nbsp;:</TD
1016><TD
1017WIDTH="80%"
1018ALIGN="LEFT"
1019VALIGN="TOP"
1020>&nbsp;</TD
1021></TR
1022></TABLE
1023><P
1024></P
1025></DIV
1026></DIV
1027><HR><DIV
1028CLASS="REFSECT2"
1029><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001030NAME="AEN10915"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001031></A
1032><H3
1033><A
1034NAME="IS-BLANK"
1035></A
1036>IS_BLANK()</H3
1037><TABLE
1038BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001039BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001040WIDTH="100%"
1041CELLPADDING="6"
1042><TR
1043><TD
1044><PRE
1045CLASS="PROGRAMLISTING"
1046>#define IS_BLANK(c)</PRE
1047></TD
1048></TR
1049></TABLE
1050><P
1051></P
1052><DIV
1053CLASS="INFORMALTABLE"
1054><P
1055></P
1056><TABLE
1057BORDER="0"
1058WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001059BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001060CELLSPACING="0"
1061CELLPADDING="4"
1062CLASS="CALSTABLE"
1063><TR
1064><TD
1065WIDTH="20%"
1066ALIGN="RIGHT"
1067VALIGN="TOP"
1068><TT
1069CLASS="PARAMETER"
1070><I
1071>c</I
1072></TT
1073>&nbsp;:</TD
1074><TD
1075WIDTH="80%"
1076ALIGN="LEFT"
1077VALIGN="TOP"
1078>&nbsp;</TD
1079></TR
1080></TABLE
1081><P
1082></P
1083></DIV
1084></DIV
1085><HR><DIV
1086CLASS="REFSECT2"
1087><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001088NAME="AEN10929"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001089></A
1090><H3
1091><A
1092NAME="IS-BASECHAR"
1093></A
1094>IS_BASECHAR()</H3
1095><TABLE
1096BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001097BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001098WIDTH="100%"
1099CELLPADDING="6"
1100><TR
1101><TD
1102><PRE
1103CLASS="PROGRAMLISTING"
1104>#define IS_BASECHAR(c)</PRE
1105></TD
1106></TR
1107></TABLE
1108><P
1109></P
1110><DIV
1111CLASS="INFORMALTABLE"
1112><P
1113></P
1114><TABLE
1115BORDER="0"
1116WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001117BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001118CELLSPACING="0"
1119CELLPADDING="4"
1120CLASS="CALSTABLE"
1121><TR
1122><TD
1123WIDTH="20%"
1124ALIGN="RIGHT"
1125VALIGN="TOP"
1126><TT
1127CLASS="PARAMETER"
1128><I
1129>c</I
1130></TT
1131>&nbsp;:</TD
1132><TD
1133WIDTH="80%"
1134ALIGN="LEFT"
1135VALIGN="TOP"
1136>&nbsp;</TD
1137></TR
1138></TABLE
1139><P
1140></P
1141></DIV
1142></DIV
1143><HR><DIV
1144CLASS="REFSECT2"
1145><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001146NAME="AEN10943"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001147></A
1148><H3
1149><A
1150NAME="IS-DIGIT"
1151></A
1152>IS_DIGIT()</H3
1153><TABLE
1154BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001155BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001156WIDTH="100%"
1157CELLPADDING="6"
1158><TR
1159><TD
1160><PRE
1161CLASS="PROGRAMLISTING"
1162>#define IS_DIGIT(c)</PRE
1163></TD
1164></TR
1165></TABLE
1166><P
1167></P
1168><DIV
1169CLASS="INFORMALTABLE"
1170><P
1171></P
1172><TABLE
1173BORDER="0"
1174WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001175BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001176CELLSPACING="0"
1177CELLPADDING="4"
1178CLASS="CALSTABLE"
1179><TR
1180><TD
1181WIDTH="20%"
1182ALIGN="RIGHT"
1183VALIGN="TOP"
1184><TT
1185CLASS="PARAMETER"
1186><I
1187>c</I
1188></TT
1189>&nbsp;:</TD
1190><TD
1191WIDTH="80%"
1192ALIGN="LEFT"
1193VALIGN="TOP"
1194>&nbsp;</TD
1195></TR
1196></TABLE
1197><P
1198></P
1199></DIV
1200></DIV
1201><HR><DIV
1202CLASS="REFSECT2"
1203><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001204NAME="AEN10957"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001205></A
1206><H3
1207><A
1208NAME="IS-COMBINING"
1209></A
1210>IS_COMBINING()</H3
1211><TABLE
1212BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001213BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001214WIDTH="100%"
1215CELLPADDING="6"
1216><TR
1217><TD
1218><PRE
1219CLASS="PROGRAMLISTING"
1220>#define IS_COMBINING(c)</PRE
1221></TD
1222></TR
1223></TABLE
1224><P
1225></P
1226><DIV
1227CLASS="INFORMALTABLE"
1228><P
1229></P
1230><TABLE
1231BORDER="0"
1232WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001233BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001234CELLSPACING="0"
1235CELLPADDING="4"
1236CLASS="CALSTABLE"
1237><TR
1238><TD
1239WIDTH="20%"
1240ALIGN="RIGHT"
1241VALIGN="TOP"
1242><TT
1243CLASS="PARAMETER"
1244><I
1245>c</I
1246></TT
1247>&nbsp;:</TD
1248><TD
1249WIDTH="80%"
1250ALIGN="LEFT"
1251VALIGN="TOP"
1252>&nbsp;</TD
1253></TR
1254></TABLE
1255><P
1256></P
1257></DIV
1258></DIV
1259><HR><DIV
1260CLASS="REFSECT2"
1261><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001262NAME="AEN10971"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001263></A
1264><H3
1265><A
1266NAME="IS-EXTENDER"
1267></A
1268>IS_EXTENDER()</H3
1269><TABLE
1270BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001271BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001272WIDTH="100%"
1273CELLPADDING="6"
1274><TR
1275><TD
1276><PRE
1277CLASS="PROGRAMLISTING"
1278>#define IS_EXTENDER(c)</PRE
1279></TD
1280></TR
1281></TABLE
1282><P
1283></P
1284><DIV
1285CLASS="INFORMALTABLE"
1286><P
1287></P
1288><TABLE
1289BORDER="0"
1290WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001291BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001292CELLSPACING="0"
1293CELLPADDING="4"
1294CLASS="CALSTABLE"
1295><TR
1296><TD
1297WIDTH="20%"
1298ALIGN="RIGHT"
1299VALIGN="TOP"
1300><TT
1301CLASS="PARAMETER"
1302><I
1303>c</I
1304></TT
1305>&nbsp;:</TD
1306><TD
1307WIDTH="80%"
1308ALIGN="LEFT"
1309VALIGN="TOP"
1310>&nbsp;</TD
1311></TR
1312></TABLE
1313><P
1314></P
1315></DIV
1316></DIV
1317><HR><DIV
1318CLASS="REFSECT2"
1319><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001320NAME="AEN10985"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001321></A
1322><H3
1323><A
1324NAME="IS-IDEOGRAPHIC"
1325></A
1326>IS_IDEOGRAPHIC()</H3
1327><TABLE
1328BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001329BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001330WIDTH="100%"
1331CELLPADDING="6"
1332><TR
1333><TD
1334><PRE
1335CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001336>#define IS_IDEOGRAPHIC(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001337></TD
1338></TR
1339></TABLE
1340><P
1341></P
1342><DIV
1343CLASS="INFORMALTABLE"
1344><P
1345></P
1346><TABLE
1347BORDER="0"
1348WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001349BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001350CELLSPACING="0"
1351CELLPADDING="4"
1352CLASS="CALSTABLE"
1353><TR
1354><TD
1355WIDTH="20%"
1356ALIGN="RIGHT"
1357VALIGN="TOP"
1358><TT
1359CLASS="PARAMETER"
1360><I
1361>c</I
1362></TT
1363>&nbsp;:</TD
1364><TD
1365WIDTH="80%"
1366ALIGN="LEFT"
1367VALIGN="TOP"
1368>&nbsp;</TD
1369></TR
1370></TABLE
1371><P
1372></P
1373></DIV
1374></DIV
1375><HR><DIV
1376CLASS="REFSECT2"
1377><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001378NAME="AEN10999"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001379></A
1380><H3
1381><A
1382NAME="IS-LETTER"
1383></A
1384>IS_LETTER()</H3
1385><TABLE
1386BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001387BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001388WIDTH="100%"
1389CELLPADDING="6"
1390><TR
1391><TD
1392><PRE
1393CLASS="PROGRAMLISTING"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001394>#define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c))</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001395></TD
1396></TR
1397></TABLE
1398><P
1399></P
1400><DIV
1401CLASS="INFORMALTABLE"
1402><P
1403></P
1404><TABLE
1405BORDER="0"
1406WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001407BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001408CELLSPACING="0"
1409CELLPADDING="4"
1410CLASS="CALSTABLE"
1411><TR
1412><TD
1413WIDTH="20%"
1414ALIGN="RIGHT"
1415VALIGN="TOP"
1416><TT
1417CLASS="PARAMETER"
1418><I
1419>c</I
1420></TT
1421>&nbsp;:</TD
1422><TD
1423WIDTH="80%"
1424ALIGN="LEFT"
1425VALIGN="TOP"
1426>&nbsp;</TD
1427></TR
1428></TABLE
1429><P
1430></P
1431></DIV
1432></DIV
1433><HR><DIV
1434CLASS="REFSECT2"
1435><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001436NAME="AEN11013"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001437></A
1438><H3
1439><A
1440NAME="IS-PUBIDCHAR"
1441></A
1442>IS_PUBIDCHAR()</H3
1443><TABLE
1444BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001445BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001446WIDTH="100%"
1447CELLPADDING="6"
1448><TR
1449><TD
1450><PRE
1451CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001452>#define IS_PUBIDCHAR(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001453></TD
1454></TR
1455></TABLE
1456><P
1457></P
1458><DIV
1459CLASS="INFORMALTABLE"
1460><P
1461></P
1462><TABLE
1463BORDER="0"
1464WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001465BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001466CELLSPACING="0"
1467CELLPADDING="4"
1468CLASS="CALSTABLE"
1469><TR
1470><TD
1471WIDTH="20%"
1472ALIGN="RIGHT"
1473VALIGN="TOP"
1474><TT
1475CLASS="PARAMETER"
1476><I
1477>c</I
1478></TT
1479>&nbsp;:</TD
1480><TD
1481WIDTH="80%"
1482ALIGN="LEFT"
1483VALIGN="TOP"
1484>&nbsp;</TD
1485></TR
1486></TABLE
1487><P
1488></P
1489></DIV
1490></DIV
1491><HR><DIV
1492CLASS="REFSECT2"
1493><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001494NAME="AEN11027"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001495></A
1496><H3
1497><A
1498NAME="SKIP-EOL"
1499></A
1500>SKIP_EOL()</H3
1501><TABLE
1502BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001503BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001504WIDTH="100%"
1505CELLPADDING="6"
1506><TR
1507><TD
1508><PRE
1509CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001510>#define SKIP_EOL(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001511></TD
1512></TR
1513></TABLE
1514><P
1515></P
1516><DIV
1517CLASS="INFORMALTABLE"
1518><P
1519></P
1520><TABLE
1521BORDER="0"
1522WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001523BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001524CELLSPACING="0"
1525CELLPADDING="4"
1526CLASS="CALSTABLE"
1527><TR
1528><TD
1529WIDTH="20%"
1530ALIGN="RIGHT"
1531VALIGN="TOP"
1532><TT
1533CLASS="PARAMETER"
1534><I
1535>p</I
1536></TT
1537>&nbsp;:</TD
1538><TD
1539WIDTH="80%"
1540ALIGN="LEFT"
1541VALIGN="TOP"
1542>&nbsp;</TD
1543></TR
1544></TABLE
1545><P
1546></P
1547></DIV
1548></DIV
1549><HR><DIV
1550CLASS="REFSECT2"
1551><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001552NAME="AEN11041"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001553></A
1554><H3
1555><A
1556NAME="MOVETO-ENDTAG"
1557></A
1558>MOVETO_ENDTAG()</H3
1559><TABLE
1560BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001561BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001562WIDTH="100%"
1563CELLPADDING="6"
1564><TR
1565><TD
1566><PRE
1567CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001568>#define MOVETO_ENDTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001569></TD
1570></TR
1571></TABLE
1572><P
1573></P
1574><DIV
1575CLASS="INFORMALTABLE"
1576><P
1577></P
1578><TABLE
1579BORDER="0"
1580WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001581BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001582CELLSPACING="0"
1583CELLPADDING="4"
1584CLASS="CALSTABLE"
1585><TR
1586><TD
1587WIDTH="20%"
1588ALIGN="RIGHT"
1589VALIGN="TOP"
1590><TT
1591CLASS="PARAMETER"
1592><I
1593>p</I
1594></TT
1595>&nbsp;:</TD
1596><TD
1597WIDTH="80%"
1598ALIGN="LEFT"
1599VALIGN="TOP"
1600>&nbsp;</TD
1601></TR
1602></TABLE
1603><P
1604></P
1605></DIV
1606></DIV
1607><HR><DIV
1608CLASS="REFSECT2"
1609><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001610NAME="AEN11055"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001611></A
1612><H3
1613><A
1614NAME="MOVETO-STARTTAG"
1615></A
1616>MOVETO_STARTTAG()</H3
1617><TABLE
1618BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001619BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001620WIDTH="100%"
1621CELLPADDING="6"
1622><TR
1623><TD
1624><PRE
1625CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001626>#define MOVETO_STARTTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001627></TD
1628></TR
1629></TABLE
1630><P
1631></P
1632><DIV
1633CLASS="INFORMALTABLE"
1634><P
1635></P
1636><TABLE
1637BORDER="0"
1638WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001639BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001640CELLSPACING="0"
1641CELLPADDING="4"
1642CLASS="CALSTABLE"
1643><TR
1644><TD
1645WIDTH="20%"
1646ALIGN="RIGHT"
1647VALIGN="TOP"
1648><TT
1649CLASS="PARAMETER"
1650><I
1651>p</I
1652></TT
1653>&nbsp;:</TD
1654><TD
1655WIDTH="80%"
1656ALIGN="LEFT"
1657VALIGN="TOP"
1658>&nbsp;</TD
1659></TR
1660></TABLE
1661><P
1662></P
1663></DIV
1664></DIV
1665><HR><DIV
1666CLASS="REFSECT2"
1667><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001668NAME="AEN11069"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001669></A
1670><H3
1671><A
1672NAME="XMLCREATEDOCPARSERCTXT"
1673></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001674>xmlCreateDocParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001675><TABLE
1676BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001677BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001678WIDTH="100%"
1679CELLPADDING="6"
1680><TR
1681><TD
1682><PRE
1683CLASS="PROGRAMLISTING"
1684><A
1685HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1686>xmlParserCtxtPtr</A
1687> xmlCreateDocParserCtxt (<A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00001688HREF="gnome-xml-tree.html#XMLCHAR"
1689>xmlChar</A
Daniel Veillardd692aa41999-02-28 21:54:31 +00001690> *cur);</PRE
1691></TD
1692></TR
1693></TABLE
1694><P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001695>Create a parser context for an XML in-memory document.</P
1696><P
Daniel Veillardd692aa41999-02-28 21:54:31 +00001697></P
1698><DIV
1699CLASS="INFORMALTABLE"
1700><P
1701></P
1702><TABLE
1703BORDER="0"
1704WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001705BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001706CELLSPACING="0"
1707CELLPADDING="4"
1708CLASS="CALSTABLE"
1709><TR
1710><TD
1711WIDTH="20%"
1712ALIGN="RIGHT"
1713VALIGN="TOP"
1714><TT
1715CLASS="PARAMETER"
1716><I
1717>cur</I
1718></TT
1719>&nbsp;:</TD
1720><TD
1721WIDTH="80%"
1722ALIGN="LEFT"
1723VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001724>&nbsp;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001725></TR
1726><TR
1727><TD
1728WIDTH="20%"
1729ALIGN="RIGHT"
1730VALIGN="TOP"
1731><I
1732CLASS="EMPHASIS"
1733>Returns</I
1734> :</TD
1735><TD
1736WIDTH="80%"
1737ALIGN="LEFT"
1738VALIGN="TOP"
Daniel Veillard5cb5ab81999-12-21 15:35:29 +00001739>&nbsp;</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001740></TR
1741></TABLE
1742><P
1743></P
1744></DIV
1745></DIV
1746><HR><DIV
1747CLASS="REFSECT2"
1748><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001749NAME="AEN11090"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001750></A
1751><H3
1752><A
1753NAME="XMLCREATEFILEPARSERCTXT"
1754></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001755>xmlCreateFileParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001756><TABLE
1757BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001758BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001759WIDTH="100%"
1760CELLPADDING="6"
1761><TR
1762><TD
1763><PRE
1764CLASS="PROGRAMLISTING"
1765><A
1766HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1767>xmlParserCtxtPtr</A
1768> xmlCreateFileParserCtxt (const char *filename);</PRE
1769></TD
1770></TR
1771></TABLE
1772><P
1773>Create a parser context for a file content.
1774Automatic support for ZLIB/Compress compressed document is provided
1775by default if found at compile-time.</P
1776><P
1777></P
1778><DIV
1779CLASS="INFORMALTABLE"
1780><P
1781></P
1782><TABLE
1783BORDER="0"
1784WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001785BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001786CELLSPACING="0"
1787CELLPADDING="4"
1788CLASS="CALSTABLE"
1789><TR
1790><TD
1791WIDTH="20%"
1792ALIGN="RIGHT"
1793VALIGN="TOP"
1794><TT
1795CLASS="PARAMETER"
1796><I
1797>filename</I
1798></TT
1799>&nbsp;:</TD
1800><TD
1801WIDTH="80%"
1802ALIGN="LEFT"
1803VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001804> the filename</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001805></TR
1806><TR
1807><TD
1808WIDTH="20%"
1809ALIGN="RIGHT"
1810VALIGN="TOP"
1811><I
1812CLASS="EMPHASIS"
1813>Returns</I
1814> :</TD
1815><TD
1816WIDTH="80%"
1817ALIGN="LEFT"
1818VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001819>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001820></TR
1821></TABLE
1822><P
1823></P
1824></DIV
1825></DIV
1826><HR><DIV
1827CLASS="REFSECT2"
1828><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001829NAME="AEN11110"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001830></A
1831><H3
1832><A
1833NAME="XMLCREATEMEMORYPARSERCTXT"
1834></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001835>xmlCreateMemoryParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001836><TABLE
1837BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001838BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001839WIDTH="100%"
1840CELLPADDING="6"
1841><TR
1842><TD
1843><PRE
1844CLASS="PROGRAMLISTING"
1845><A
1846HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1847>xmlParserCtxtPtr</A
1848> xmlCreateMemoryParserCtxt (char *buffer,
1849 int size);</PRE
1850></TD
1851></TR
1852></TABLE
1853><P
1854>Create a parser context for an XML in-memory document.</P
1855><P
1856></P
1857><DIV
1858CLASS="INFORMALTABLE"
1859><P
1860></P
1861><TABLE
1862BORDER="0"
1863WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001864BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001865CELLSPACING="0"
1866CELLPADDING="4"
1867CLASS="CALSTABLE"
1868><TR
1869><TD
1870WIDTH="20%"
1871ALIGN="RIGHT"
1872VALIGN="TOP"
1873><TT
1874CLASS="PARAMETER"
1875><I
1876>buffer</I
1877></TT
1878>&nbsp;:</TD
1879><TD
1880WIDTH="80%"
1881ALIGN="LEFT"
1882VALIGN="TOP"
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001883> a pointer to a zero terminated char array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001884></TR
1885><TR
1886><TD
1887WIDTH="20%"
1888ALIGN="RIGHT"
1889VALIGN="TOP"
1890><TT
1891CLASS="PARAMETER"
1892><I
1893>size</I
1894></TT
1895>&nbsp;:</TD
1896><TD
1897WIDTH="80%"
1898ALIGN="LEFT"
1899VALIGN="TOP"
Daniel Veillard76234da2000-03-14 18:02:01 +00001900> the size of the array (without the trailing 0)</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001901></TR
1902><TR
1903><TD
1904WIDTH="20%"
1905ALIGN="RIGHT"
1906VALIGN="TOP"
1907><I
1908CLASS="EMPHASIS"
1909>Returns</I
1910> :</TD
1911><TD
1912WIDTH="80%"
1913ALIGN="LEFT"
1914VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001915>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001916></TR
1917></TABLE
1918><P
1919></P
1920></DIV
1921></DIV
1922><HR><DIV
1923CLASS="REFSECT2"
1924><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001925NAME="AEN11134"
Daniel Veillard35925471999-02-25 08:46:07 +00001926></A
1927><H3
1928><A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001929NAME="XMLNEWPARSERCTXT"
Daniel Veillard35925471999-02-25 08:46:07 +00001930></A
Daniel Veillardb05deb71999-08-10 19:04:08 +00001931>xmlNewParserCtxt ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001932><TABLE
1933BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001934BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001935WIDTH="100%"
1936CELLPADDING="6"
1937><TR
1938><TD
1939><PRE
1940CLASS="PROGRAMLISTING"
Daniel Veillardb05deb71999-08-10 19:04:08 +00001941><A
Daniel Veillard35925471999-02-25 08:46:07 +00001942HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1943>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00001944> xmlNewParserCtxt (void);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00001945></TD
1946></TR
1947></TABLE
1948><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00001949>Allocate and initialize a new parser context.</P
1950><P
1951></P
1952><DIV
1953CLASS="INFORMALTABLE"
1954><P
1955></P
1956><TABLE
1957BORDER="0"
1958WIDTH="100%"
1959BGCOLOR="#FFD0D0"
1960CELLSPACING="0"
1961CELLPADDING="4"
1962CLASS="CALSTABLE"
1963><TR
1964><TD
1965WIDTH="20%"
1966ALIGN="RIGHT"
1967VALIGN="TOP"
1968><I
1969CLASS="EMPHASIS"
1970>Returns</I
1971> :</TD
1972><TD
1973WIDTH="80%"
1974ALIGN="LEFT"
1975VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001976>the xmlParserCtxtPtr or NULL</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00001977></TR
1978></TABLE
1979><P
1980></P
1981></DIV
1982></DIV
1983><HR><DIV
1984CLASS="REFSECT2"
1985><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00001986NAME="AEN11150"
1987></A
1988><H3
1989><A
1990NAME="XMLCREATEENTITYPARSERCTXT"
1991></A
1992>xmlCreateEntityParserCtxt ()</H3
1993><TABLE
1994BORDER="0"
1995BGCOLOR="#D6E8FF"
1996WIDTH="100%"
1997CELLPADDING="6"
1998><TR
1999><TD
2000><PRE
2001CLASS="PROGRAMLISTING"
2002><A
2003HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2004>xmlParserCtxtPtr</A
2005> xmlCreateEntityParserCtxt (const <A
2006HREF="gnome-xml-tree.html#XMLCHAR"
2007>xmlChar</A
2008> *URL,
2009 const <A
2010HREF="gnome-xml-tree.html#XMLCHAR"
2011>xmlChar</A
2012> *ID,
2013 const <A
2014HREF="gnome-xml-tree.html#XMLCHAR"
2015>xmlChar</A
2016> *base);</PRE
2017></TD
2018></TR
2019></TABLE
2020><P
2021>Create a parser context for an external entity
2022Automatic support for ZLIB/Compress compressed document is provided
2023by default if found at compile-time.</P
2024><P
2025></P
2026><DIV
2027CLASS="INFORMALTABLE"
2028><P
2029></P
2030><TABLE
2031BORDER="0"
2032WIDTH="100%"
2033BGCOLOR="#FFD0D0"
2034CELLSPACING="0"
2035CELLPADDING="4"
2036CLASS="CALSTABLE"
2037><TR
2038><TD
2039WIDTH="20%"
2040ALIGN="RIGHT"
2041VALIGN="TOP"
2042><TT
2043CLASS="PARAMETER"
2044><I
2045>URL</I
2046></TT
2047>&nbsp;:</TD
2048><TD
2049WIDTH="80%"
2050ALIGN="LEFT"
2051VALIGN="TOP"
2052> the entity URL</TD
2053></TR
2054><TR
2055><TD
2056WIDTH="20%"
2057ALIGN="RIGHT"
2058VALIGN="TOP"
2059><TT
2060CLASS="PARAMETER"
2061><I
2062>ID</I
2063></TT
2064>&nbsp;:</TD
2065><TD
2066WIDTH="80%"
2067ALIGN="LEFT"
2068VALIGN="TOP"
2069> the entity PUBLIC ID</TD
2070></TR
2071><TR
2072><TD
2073WIDTH="20%"
2074ALIGN="RIGHT"
2075VALIGN="TOP"
2076><TT
2077CLASS="PARAMETER"
2078><I
2079>base</I
2080></TT
2081>&nbsp;:</TD
2082><TD
2083WIDTH="80%"
2084ALIGN="LEFT"
2085VALIGN="TOP"
2086> a posible base for the target URI</TD
2087></TR
2088><TR
2089><TD
2090WIDTH="20%"
2091ALIGN="RIGHT"
2092VALIGN="TOP"
2093><I
2094CLASS="EMPHASIS"
2095>Returns</I
2096> :</TD
2097><TD
2098WIDTH="80%"
2099ALIGN="LEFT"
2100VALIGN="TOP"
2101>the new parser context or NULL</TD
2102></TR
2103></TABLE
2104><P
2105></P
2106></DIV
2107></DIV
2108><HR><DIV
2109CLASS="REFSECT2"
2110><A
2111NAME="AEN11181"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002112></A
2113><H3
2114><A
2115NAME="XMLSWITCHENCODING"
2116></A
2117>xmlSwitchEncoding ()</H3
2118><TABLE
2119BORDER="0"
2120BGCOLOR="#D6E8FF"
2121WIDTH="100%"
2122CELLPADDING="6"
2123><TR
2124><TD
2125><PRE
2126CLASS="PROGRAMLISTING"
2127>void xmlSwitchEncoding (<A
2128HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2129>xmlParserCtxtPtr</A
2130> ctxt,
Daniel Veillard294cbca1999-12-03 13:19:09 +00002131 <A
2132HREF="gnome-xml-encoding.html#XMLCHARENCODING"
2133>xmlCharEncoding</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00002134> enc);</PRE
2135></TD
2136></TR
2137></TABLE
2138><P
2139>change the input functions when discovering the character encoding
2140of a given entity.</P
Daniel Veillard35925471999-02-25 08:46:07 +00002141><P
2142></P
2143><DIV
2144CLASS="INFORMALTABLE"
2145><P
2146></P
2147><TABLE
2148BORDER="0"
2149WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002150BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002151CELLSPACING="0"
2152CELLPADDING="4"
2153CLASS="CALSTABLE"
2154><TR
2155><TD
2156WIDTH="20%"
2157ALIGN="RIGHT"
2158VALIGN="TOP"
2159><TT
2160CLASS="PARAMETER"
2161><I
2162>ctxt</I
2163></TT
2164>&nbsp;:</TD
2165><TD
2166WIDTH="80%"
2167ALIGN="LEFT"
2168VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002169> the parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002170></TR
2171><TR
2172><TD
2173WIDTH="20%"
2174ALIGN="RIGHT"
2175VALIGN="TOP"
2176><TT
2177CLASS="PARAMETER"
2178><I
2179>enc</I
2180></TT
2181>&nbsp;:</TD
2182><TD
2183WIDTH="80%"
2184ALIGN="LEFT"
2185VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002186> the encoding value (number)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00002187></TR
2188></TABLE
2189><P
2190></P
2191></DIV
2192></DIV
2193><HR><DIV
2194CLASS="REFSECT2"
2195><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002196NAME="AEN11202"
2197></A
2198><H3
2199><A
2200NAME="XMLFREEPARSERCTXT"
2201></A
2202>xmlFreeParserCtxt ()</H3
2203><TABLE
2204BORDER="0"
2205BGCOLOR="#D6E8FF"
2206WIDTH="100%"
2207CELLPADDING="6"
2208><TR
2209><TD
2210><PRE
2211CLASS="PROGRAMLISTING"
2212>void xmlFreeParserCtxt (<A
2213HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2214>xmlParserCtxtPtr</A
2215> ctxt);</PRE
2216></TD
2217></TR
2218></TABLE
2219><P
2220>Free all the memory used by a parser context. However the parsed
2221document in ctxt-&gt;myDoc is not freed.</P
2222><P
2223></P
2224><DIV
2225CLASS="INFORMALTABLE"
2226><P
2227></P
2228><TABLE
2229BORDER="0"
2230WIDTH="100%"
2231BGCOLOR="#FFD0D0"
2232CELLSPACING="0"
2233CELLPADDING="4"
2234CLASS="CALSTABLE"
2235><TR
2236><TD
2237WIDTH="20%"
2238ALIGN="RIGHT"
2239VALIGN="TOP"
2240><TT
2241CLASS="PARAMETER"
2242><I
2243>ctxt</I
2244></TT
2245>&nbsp;:</TD
2246><TD
2247WIDTH="80%"
2248ALIGN="LEFT"
2249VALIGN="TOP"
2250>&nbsp;</TD
2251></TR
2252></TABLE
2253><P
2254></P
2255></DIV
2256></DIV
2257><HR><DIV
2258CLASS="REFSECT2"
2259><A
2260NAME="AEN11218"
Daniel Veillardb05deb71999-08-10 19:04:08 +00002261></A
2262><H3
2263><A
2264NAME="XMLHANDLEENTITY"
2265></A
2266>xmlHandleEntity ()</H3
2267><TABLE
2268BORDER="0"
2269BGCOLOR="#D6E8FF"
2270WIDTH="100%"
2271CELLPADDING="6"
2272><TR
2273><TD
2274><PRE
2275CLASS="PROGRAMLISTING"
2276>void xmlHandleEntity (<A
2277HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2278>xmlParserCtxtPtr</A
2279> ctxt,
2280 <A
2281HREF="gnome-xml-entities.html#XMLENTITYPTR"
2282>xmlEntityPtr</A
2283> entity);</PRE
2284></TD
2285></TR
2286></TABLE
2287><P
2288>Default handling of defined entities, when should we define a new input
2289stream ? When do we just handle that as a set of chars ?</P
2290><P
2291>OBSOLETE: to be removed at some point.</P
2292><P
2293></P
2294><DIV
2295CLASS="INFORMALTABLE"
2296><P
2297></P
2298><TABLE
2299BORDER="0"
2300WIDTH="100%"
2301BGCOLOR="#FFD0D0"
2302CELLSPACING="0"
2303CELLPADDING="4"
2304CLASS="CALSTABLE"
2305><TR
2306><TD
2307WIDTH="20%"
2308ALIGN="RIGHT"
2309VALIGN="TOP"
2310><TT
2311CLASS="PARAMETER"
2312><I
2313>ctxt</I
2314></TT
2315>&nbsp;:</TD
2316><TD
2317WIDTH="80%"
2318ALIGN="LEFT"
2319VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002320> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002321></TR
2322><TR
2323><TD
2324WIDTH="20%"
2325ALIGN="RIGHT"
2326VALIGN="TOP"
2327><TT
2328CLASS="PARAMETER"
2329><I
2330>entity</I
2331></TT
2332>&nbsp;:</TD
2333><TD
2334WIDTH="80%"
2335ALIGN="LEFT"
2336VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002337> an XML entity pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002338></TR
2339></TABLE
2340><P
2341></P
2342></DIV
2343></DIV
2344><HR><DIV
2345CLASS="REFSECT2"
2346><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002347NAME="AEN11240"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002348></A
2349><H3
2350><A
2351NAME="XMLNEWENTITYINPUTSTREAM"
2352></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002353>xmlNewEntityInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002354><TABLE
2355BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002356BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002357WIDTH="100%"
2358CELLPADDING="6"
2359><TR
2360><TD
2361><PRE
2362CLASS="PROGRAMLISTING"
2363><A
2364HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2365>xmlParserInputPtr</A
2366> xmlNewEntityInputStream (<A
2367HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2368>xmlParserCtxtPtr</A
2369> ctxt,
2370 <A
2371HREF="gnome-xml-entities.html#XMLENTITYPTR"
2372>xmlEntityPtr</A
2373> entity);</PRE
2374></TD
2375></TR
2376></TABLE
2377><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00002378>Create a new input stream based on an xmlEntityPtr</P
Daniel Veillardbc50b591999-03-01 12:28:53 +00002379><P
2380></P
2381><DIV
2382CLASS="INFORMALTABLE"
2383><P
2384></P
2385><TABLE
2386BORDER="0"
2387WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002388BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002389CELLSPACING="0"
2390CELLPADDING="4"
2391CLASS="CALSTABLE"
2392><TR
2393><TD
2394WIDTH="20%"
2395ALIGN="RIGHT"
2396VALIGN="TOP"
2397><TT
2398CLASS="PARAMETER"
2399><I
2400>ctxt</I
2401></TT
2402>&nbsp;:</TD
2403><TD
2404WIDTH="80%"
2405ALIGN="LEFT"
2406VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002407> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002408></TR
2409><TR
2410><TD
2411WIDTH="20%"
2412ALIGN="RIGHT"
2413VALIGN="TOP"
2414><TT
2415CLASS="PARAMETER"
2416><I
2417>entity</I
2418></TT
2419>&nbsp;:</TD
2420><TD
2421WIDTH="80%"
2422ALIGN="LEFT"
2423VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002424> an Entity pointer</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002425></TR
2426><TR
2427><TD
2428WIDTH="20%"
2429ALIGN="RIGHT"
2430VALIGN="TOP"
2431><I
2432CLASS="EMPHASIS"
2433>Returns</I
2434> :</TD
2435><TD
2436WIDTH="80%"
2437ALIGN="LEFT"
2438VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002439>the new input stream or NULL</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002440></TR
2441></TABLE
2442><P
2443></P
2444></DIV
2445></DIV
2446><HR><DIV
2447CLASS="REFSECT2"
2448><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002449NAME="AEN11266"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002450></A
2451><H3
2452><A
2453NAME="XMLPUSHINPUT"
2454></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002455>xmlPushInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002456><TABLE
2457BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002458BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002459WIDTH="100%"
2460CELLPADDING="6"
2461><TR
2462><TD
2463><PRE
2464CLASS="PROGRAMLISTING"
2465>void xmlPushInput (<A
2466HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2467>xmlParserCtxtPtr</A
2468> ctxt,
2469 <A
2470HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2471>xmlParserInputPtr</A
2472> input);</PRE
2473></TD
2474></TR
2475></TABLE
2476><P
2477>xmlPushInput: switch to a new input stream which is stacked on top
2478of the previous one(s).</P
2479><P
2480></P
2481><DIV
2482CLASS="INFORMALTABLE"
2483><P
2484></P
2485><TABLE
2486BORDER="0"
2487WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002488BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002489CELLSPACING="0"
2490CELLPADDING="4"
2491CLASS="CALSTABLE"
2492><TR
2493><TD
2494WIDTH="20%"
2495ALIGN="RIGHT"
2496VALIGN="TOP"
2497><TT
2498CLASS="PARAMETER"
2499><I
2500>ctxt</I
2501></TT
2502>&nbsp;:</TD
2503><TD
2504WIDTH="80%"
2505ALIGN="LEFT"
2506VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002507> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002508></TR
2509><TR
2510><TD
2511WIDTH="20%"
2512ALIGN="RIGHT"
2513VALIGN="TOP"
2514><TT
2515CLASS="PARAMETER"
2516><I
2517>input</I
2518></TT
2519>&nbsp;:</TD
2520><TD
2521WIDTH="80%"
2522ALIGN="LEFT"
2523VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002524> an XML parser input fragment (entity, XML fragment ...).</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002525></TR
2526></TABLE
2527><P
2528></P
2529></DIV
2530></DIV
2531><HR><DIV
2532CLASS="REFSECT2"
2533><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002534NAME="AEN11287"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002535></A
2536><H3
2537><A
2538NAME="XMLPOPINPUT"
2539></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002540>xmlPopInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002541><TABLE
2542BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002543BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002544WIDTH="100%"
2545CELLPADDING="6"
2546><TR
2547><TD
2548><PRE
2549CLASS="PROGRAMLISTING"
2550><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002551HREF="gnome-xml-tree.html#XMLCHAR"
2552>xmlChar</A
2553> xmlPopInput (<A
Daniel Veillardbc50b591999-03-01 12:28:53 +00002554HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2555>xmlParserCtxtPtr</A
2556> ctxt);</PRE
2557></TD
2558></TR
2559></TABLE
2560><P
2561>xmlPopInput: the current input pointed by ctxt-&gt;input came to an end
2562pop it and return the next char.</P
2563><P
Daniel Veillardbc50b591999-03-01 12:28:53 +00002564></P
2565><DIV
2566CLASS="INFORMALTABLE"
2567><P
2568></P
2569><TABLE
2570BORDER="0"
2571WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002572BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002573CELLSPACING="0"
2574CELLPADDING="4"
2575CLASS="CALSTABLE"
2576><TR
2577><TD
2578WIDTH="20%"
2579ALIGN="RIGHT"
2580VALIGN="TOP"
2581><TT
2582CLASS="PARAMETER"
2583><I
2584>ctxt</I
2585></TT
2586>&nbsp;:</TD
2587><TD
2588WIDTH="80%"
2589ALIGN="LEFT"
2590VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002591> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002592></TR
2593><TR
2594><TD
2595WIDTH="20%"
2596ALIGN="RIGHT"
2597VALIGN="TOP"
2598><I
2599CLASS="EMPHASIS"
2600>Returns</I
2601> :</TD
2602><TD
2603WIDTH="80%"
2604ALIGN="LEFT"
2605VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002606>the current xmlChar in the parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002607></TR
2608></TABLE
2609><P
2610></P
2611></DIV
2612></DIV
2613><HR><DIV
2614CLASS="REFSECT2"
2615><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002616NAME="AEN11308"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002617></A
2618><H3
2619><A
2620NAME="XMLFREEINPUTSTREAM"
2621></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002622>xmlFreeInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002623><TABLE
2624BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002625BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002626WIDTH="100%"
2627CELLPADDING="6"
2628><TR
2629><TD
2630><PRE
2631CLASS="PROGRAMLISTING"
2632>void xmlFreeInputStream (<A
2633HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2634>xmlParserInputPtr</A
2635> input);</PRE
2636></TD
2637></TR
2638></TABLE
2639><P
2640>Free up an input stream.</P
2641><P
2642></P
2643><DIV
2644CLASS="INFORMALTABLE"
2645><P
2646></P
2647><TABLE
2648BORDER="0"
2649WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002650BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002651CELLSPACING="0"
2652CELLPADDING="4"
2653CLASS="CALSTABLE"
2654><TR
2655><TD
2656WIDTH="20%"
2657ALIGN="RIGHT"
2658VALIGN="TOP"
2659><TT
2660CLASS="PARAMETER"
2661><I
2662>input</I
2663></TT
2664>&nbsp;:</TD
2665><TD
2666WIDTH="80%"
2667ALIGN="LEFT"
2668VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002669> an xmlParserInputPtr</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002670></TR
2671></TABLE
2672><P
2673></P
2674></DIV
2675></DIV
2676><HR><DIV
2677CLASS="REFSECT2"
2678><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002679NAME="AEN11324"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002680></A
2681><H3
2682><A
2683NAME="XMLNEWINPUTFROMFILE"
2684></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002685>xmlNewInputFromFile ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00002686><TABLE
2687BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002688BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002689WIDTH="100%"
2690CELLPADDING="6"
2691><TR
2692><TD
2693><PRE
2694CLASS="PROGRAMLISTING"
2695><A
2696HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2697>xmlParserInputPtr</A
2698> xmlNewInputFromFile (<A
2699HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2700>xmlParserCtxtPtr</A
2701> ctxt,
2702 const char *filename);</PRE
2703></TD
2704></TR
2705></TABLE
2706><P
2707>Create a new input stream based on a file.</P
2708><P
2709></P
2710><DIV
2711CLASS="INFORMALTABLE"
2712><P
2713></P
2714><TABLE
2715BORDER="0"
2716WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002717BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002718CELLSPACING="0"
2719CELLPADDING="4"
2720CLASS="CALSTABLE"
2721><TR
2722><TD
2723WIDTH="20%"
2724ALIGN="RIGHT"
2725VALIGN="TOP"
2726><TT
2727CLASS="PARAMETER"
2728><I
2729>ctxt</I
2730></TT
2731>&nbsp;:</TD
2732><TD
2733WIDTH="80%"
2734ALIGN="LEFT"
2735VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002736> an XML parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00002737></TR
2738><TR
2739><TD
2740WIDTH="20%"
2741ALIGN="RIGHT"
2742VALIGN="TOP"
2743><TT
2744CLASS="PARAMETER"
2745><I
2746>filename</I
2747></TT
2748>&nbsp;:</TD
2749><TD
2750WIDTH="80%"
2751ALIGN="LEFT"
2752VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002753> the filename to use as entity</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00002754></TR
2755><TR
2756><TD
2757WIDTH="20%"
2758ALIGN="RIGHT"
2759VALIGN="TOP"
2760><I
2761CLASS="EMPHASIS"
2762>Returns</I
2763> :</TD
2764><TD
2765WIDTH="80%"
2766ALIGN="LEFT"
2767VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002768>the new input stream or NULL in case of error</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00002769></TR
2770></TABLE
2771><P
2772></P
2773></DIV
2774></DIV
2775><HR><DIV
2776CLASS="REFSECT2"
2777><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002778NAME="AEN11349"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002779></A
2780><H3
2781><A
2782NAME="XMLSPLITQNAME"
2783></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002784>xmlSplitQName ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002785><TABLE
2786BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002787BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002788WIDTH="100%"
2789CELLPADDING="6"
2790><TR
2791><TD
2792><PRE
2793CLASS="PROGRAMLISTING"
2794><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002795HREF="gnome-xml-tree.html#XMLCHAR"
2796>xmlChar</A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002797>* xmlSplitQName (<A
2798HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2799>xmlParserCtxtPtr</A
2800> ctxt,
2801 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002802HREF="gnome-xml-tree.html#XMLCHAR"
2803>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002804> *name,
2805 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002806HREF="gnome-xml-tree.html#XMLCHAR"
2807>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002808> **prefix);</PRE
2809></TD
2810></TR
2811></TABLE
2812><P
2813>parse an XML qualified name string</P
2814><P
2815>[NS 5] QName ::= (Prefix ':')? LocalPart</P
2816><P
2817>[NS 6] Prefix ::= NCName</P
2818><P
2819>[NS 7] LocalPart ::= NCName</P
2820><P
2821></P
2822><DIV
2823CLASS="INFORMALTABLE"
2824><P
2825></P
2826><TABLE
2827BORDER="0"
2828WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002829BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002830CELLSPACING="0"
2831CELLPADDING="4"
2832CLASS="CALSTABLE"
2833><TR
2834><TD
2835WIDTH="20%"
2836ALIGN="RIGHT"
2837VALIGN="TOP"
2838><TT
2839CLASS="PARAMETER"
2840><I
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002841>ctxt</I
2842></TT
2843>&nbsp;:</TD
2844><TD
2845WIDTH="80%"
2846ALIGN="LEFT"
2847VALIGN="TOP"
2848> an XML parser context</TD
2849></TR
2850><TR
2851><TD
2852WIDTH="20%"
2853ALIGN="RIGHT"
2854VALIGN="TOP"
2855><TT
2856CLASS="PARAMETER"
2857><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00002858>name</I
2859></TT
2860>&nbsp;:</TD
2861><TD
2862WIDTH="80%"
2863ALIGN="LEFT"
2864VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002865> an XML parser context</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002866></TR
2867><TR
2868><TD
2869WIDTH="20%"
2870ALIGN="RIGHT"
2871VALIGN="TOP"
2872><TT
2873CLASS="PARAMETER"
2874><I
2875>prefix</I
2876></TT
2877>&nbsp;:</TD
2878><TD
2879WIDTH="80%"
2880ALIGN="LEFT"
2881VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002882> a xmlChar ** </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002883></TR
2884><TR
2885><TD
2886WIDTH="20%"
2887ALIGN="RIGHT"
2888VALIGN="TOP"
2889><I
2890CLASS="EMPHASIS"
2891>Returns</I
2892> :</TD
2893><TD
2894WIDTH="80%"
2895ALIGN="LEFT"
2896VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002897>the local part, and prefix is updated
2898to get the Prefix if any.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002899></TR
2900></TABLE
2901><P
2902></P
2903></DIV
2904></DIV
2905><HR><DIV
2906CLASS="REFSECT2"
2907><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002908NAME="AEN11383"
Daniel Veillard35925471999-02-25 08:46:07 +00002909></A
2910><H3
2911><A
2912NAME="XMLNAMESPACEPARSENCNAME"
2913></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002914>xmlNamespaceParseNCName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002915><TABLE
2916BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002917BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002918WIDTH="100%"
2919CELLPADDING="6"
2920><TR
2921><TD
2922><PRE
2923CLASS="PROGRAMLISTING"
2924><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00002925HREF="gnome-xml-tree.html#XMLCHAR"
2926>xmlChar</A
2927>* xmlNamespaceParseNCName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00002928HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2929>xmlParserCtxtPtr</A
2930> ctxt);</PRE
2931></TD
2932></TR
2933></TABLE
2934><P
2935>parse an XML namespace name.</P
2936><P
2937>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
2938><P
2939>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
2940CombiningChar | Extender</P
2941><P
2942></P
2943><DIV
2944CLASS="INFORMALTABLE"
2945><P
2946></P
2947><TABLE
2948BORDER="0"
2949WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002950BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002951CELLSPACING="0"
2952CELLPADDING="4"
2953CLASS="CALSTABLE"
2954><TR
2955><TD
2956WIDTH="20%"
2957ALIGN="RIGHT"
2958VALIGN="TOP"
2959><TT
2960CLASS="PARAMETER"
2961><I
2962>ctxt</I
2963></TT
2964>&nbsp;:</TD
2965><TD
2966WIDTH="80%"
2967ALIGN="LEFT"
2968VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002969> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002970></TR
2971><TR
2972><TD
2973WIDTH="20%"
2974ALIGN="RIGHT"
2975VALIGN="TOP"
2976><I
2977CLASS="EMPHASIS"
2978>Returns</I
2979> :</TD
2980><TD
2981WIDTH="80%"
2982ALIGN="LEFT"
2983VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00002984>the namespace name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002985></TR
2986></TABLE
2987><P
2988></P
2989></DIV
2990></DIV
2991><HR><DIV
2992CLASS="REFSECT2"
2993><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00002994NAME="AEN11406"
Daniel Veillard35925471999-02-25 08:46:07 +00002995></A
2996><H3
2997><A
2998NAME="XMLNAMESPACEPARSEQNAME"
2999></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003000>xmlNamespaceParseQName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003001><TABLE
3002BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003003BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003004WIDTH="100%"
3005CELLPADDING="6"
3006><TR
3007><TD
3008><PRE
3009CLASS="PROGRAMLISTING"
3010><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003011HREF="gnome-xml-tree.html#XMLCHAR"
3012>xmlChar</A
3013>* xmlNamespaceParseQName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003014HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3015>xmlParserCtxtPtr</A
3016> ctxt,
3017 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003018HREF="gnome-xml-tree.html#XMLCHAR"
3019>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00003020> **prefix);</PRE
3021></TD
3022></TR
3023></TABLE
3024><P
3025>parse an XML qualified name</P
3026><P
3027>[NS 5] QName ::= (Prefix ':')? LocalPart</P
3028><P
3029>[NS 6] Prefix ::= NCName</P
3030><P
3031>[NS 7] LocalPart ::= NCName</P
3032><P
3033></P
3034><DIV
3035CLASS="INFORMALTABLE"
3036><P
3037></P
3038><TABLE
3039BORDER="0"
3040WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003041BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003042CELLSPACING="0"
3043CELLPADDING="4"
3044CLASS="CALSTABLE"
3045><TR
3046><TD
3047WIDTH="20%"
3048ALIGN="RIGHT"
3049VALIGN="TOP"
3050><TT
3051CLASS="PARAMETER"
3052><I
3053>ctxt</I
3054></TT
3055>&nbsp;:</TD
3056><TD
3057WIDTH="80%"
3058ALIGN="LEFT"
3059VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003060> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003061></TR
3062><TR
3063><TD
3064WIDTH="20%"
3065ALIGN="RIGHT"
3066VALIGN="TOP"
3067><TT
3068CLASS="PARAMETER"
3069><I
3070>prefix</I
3071></TT
3072>&nbsp;:</TD
3073><TD
3074WIDTH="80%"
3075ALIGN="LEFT"
3076VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003077> a xmlChar ** </TD
Daniel Veillard35925471999-02-25 08:46:07 +00003078></TR
3079><TR
3080><TD
3081WIDTH="20%"
3082ALIGN="RIGHT"
3083VALIGN="TOP"
3084><I
3085CLASS="EMPHASIS"
3086>Returns</I
3087> :</TD
3088><TD
3089WIDTH="80%"
3090ALIGN="LEFT"
3091VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003092>the local part, and prefix is updated
3093to get the Prefix if any.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003094></TR
3095></TABLE
3096><P
3097></P
3098></DIV
3099></DIV
3100><HR><DIV
3101CLASS="REFSECT2"
3102><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003103NAME="AEN11435"
Daniel Veillard35925471999-02-25 08:46:07 +00003104></A
3105><H3
3106><A
3107NAME="XMLNAMESPACEPARSENSDEF"
3108></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003109>xmlNamespaceParseNSDef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003110><TABLE
3111BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003112BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003113WIDTH="100%"
3114CELLPADDING="6"
3115><TR
3116><TD
3117><PRE
3118CLASS="PROGRAMLISTING"
3119><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003120HREF="gnome-xml-tree.html#XMLCHAR"
3121>xmlChar</A
3122>* xmlNamespaceParseNSDef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003123HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3124>xmlParserCtxtPtr</A
3125> ctxt);</PRE
3126></TD
3127></TR
3128></TABLE
3129><P
3130>parse a namespace prefix declaration</P
3131><P
3132>[NS 1] NSDef ::= PrefixDef Eq SystemLiteral</P
3133><P
3134>[NS 2] PrefixDef ::= 'xmlns' (':' NCName)?</P
3135><P
3136></P
3137><DIV
3138CLASS="INFORMALTABLE"
3139><P
3140></P
3141><TABLE
3142BORDER="0"
3143WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003144BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003145CELLSPACING="0"
3146CELLPADDING="4"
3147CLASS="CALSTABLE"
3148><TR
3149><TD
3150WIDTH="20%"
3151ALIGN="RIGHT"
3152VALIGN="TOP"
3153><TT
3154CLASS="PARAMETER"
3155><I
3156>ctxt</I
3157></TT
3158>&nbsp;:</TD
3159><TD
3160WIDTH="80%"
3161ALIGN="LEFT"
3162VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003163> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003164></TR
3165><TR
3166><TD
3167WIDTH="20%"
3168ALIGN="RIGHT"
3169VALIGN="TOP"
3170><I
3171CLASS="EMPHASIS"
3172>Returns</I
3173> :</TD
3174><TD
3175WIDTH="80%"
3176ALIGN="LEFT"
3177VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003178>the namespace name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003179></TR
3180></TABLE
3181><P
3182></P
3183></DIV
3184></DIV
3185><HR><DIV
3186CLASS="REFSECT2"
3187><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003188NAME="AEN11458"
Daniel Veillard35925471999-02-25 08:46:07 +00003189></A
3190><H3
3191><A
3192NAME="XMLPARSEQUOTEDSTRING"
3193></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003194>xmlParseQuotedString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003195><TABLE
3196BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003197BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003198WIDTH="100%"
3199CELLPADDING="6"
3200><TR
3201><TD
3202><PRE
3203CLASS="PROGRAMLISTING"
3204><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003205HREF="gnome-xml-tree.html#XMLCHAR"
3206>xmlChar</A
3207>* xmlParseQuotedString (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003208HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3209>xmlParserCtxtPtr</A
3210> ctxt);</PRE
3211></TD
3212></TR
3213></TABLE
3214><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00003215>[OLD] Parse and return a string between quotes or doublequotes
3216To be removed at next drop of binary compatibility</P
Daniel Veillard35925471999-02-25 08:46:07 +00003217><P
3218></P
3219><DIV
3220CLASS="INFORMALTABLE"
3221><P
3222></P
3223><TABLE
3224BORDER="0"
3225WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003226BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003227CELLSPACING="0"
3228CELLPADDING="4"
3229CLASS="CALSTABLE"
3230><TR
3231><TD
3232WIDTH="20%"
3233ALIGN="RIGHT"
3234VALIGN="TOP"
3235><TT
3236CLASS="PARAMETER"
3237><I
3238>ctxt</I
3239></TT
3240>&nbsp;:</TD
3241><TD
3242WIDTH="80%"
3243ALIGN="LEFT"
3244VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003245> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003246></TR
3247><TR
3248><TD
3249WIDTH="20%"
3250ALIGN="RIGHT"
3251VALIGN="TOP"
3252><I
3253CLASS="EMPHASIS"
3254>Returns</I
3255> :</TD
3256><TD
3257WIDTH="80%"
3258ALIGN="LEFT"
3259VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003260>the string parser or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003261></TR
3262></TABLE
3263><P
3264></P
3265></DIV
3266></DIV
3267><HR><DIV
3268CLASS="REFSECT2"
3269><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003270NAME="AEN11479"
Daniel Veillard35925471999-02-25 08:46:07 +00003271></A
3272><H3
3273><A
3274NAME="XMLPARSENAMESPACE"
3275></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003276>xmlParseNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003277><TABLE
3278BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003279BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003280WIDTH="100%"
3281CELLPADDING="6"
3282><TR
3283><TD
3284><PRE
3285CLASS="PROGRAMLISTING"
3286>void xmlParseNamespace (<A
3287HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3288>xmlParserCtxtPtr</A
3289> ctxt);</PRE
3290></TD
3291></TR
3292></TABLE
3293><P
3294>[OLD] xmlParseNamespace: parse specific PI '&lt;?namespace ...' constructs.</P
3295><P
3296>This is what the older xml-name Working Draft specified, a bunch of
3297other stuff may still rely on it, so support is still here as
Daniel Veillardf3a73582000-01-05 14:58:39 +00003298if it was declared on the root of the Tree:-(</P
Daniel Veillard35925471999-02-25 08:46:07 +00003299><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00003300>To be removed at next drop of binary compatibility</P
3301><P
Daniel Veillard35925471999-02-25 08:46:07 +00003302></P
3303><DIV
3304CLASS="INFORMALTABLE"
3305><P
3306></P
3307><TABLE
3308BORDER="0"
3309WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003310BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003311CELLSPACING="0"
3312CELLPADDING="4"
3313CLASS="CALSTABLE"
3314><TR
3315><TD
3316WIDTH="20%"
3317ALIGN="RIGHT"
3318VALIGN="TOP"
3319><TT
3320CLASS="PARAMETER"
3321><I
3322>ctxt</I
3323></TT
3324>&nbsp;:</TD
3325><TD
3326WIDTH="80%"
3327ALIGN="LEFT"
3328VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003329> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003330></TR
3331></TABLE
3332><P
3333></P
3334></DIV
3335></DIV
3336><HR><DIV
3337CLASS="REFSECT2"
3338><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003339NAME="AEN11497"
Daniel Veillardb05deb71999-08-10 19:04:08 +00003340></A
3341><H3
3342><A
3343NAME="XMLSCANNAME"
3344></A
3345>xmlScanName ()</H3
3346><TABLE
3347BORDER="0"
3348BGCOLOR="#D6E8FF"
3349WIDTH="100%"
3350CELLPADDING="6"
3351><TR
3352><TD
3353><PRE
3354CLASS="PROGRAMLISTING"
3355><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003356HREF="gnome-xml-tree.html#XMLCHAR"
3357>xmlChar</A
3358>* xmlScanName (<A
Daniel Veillardb05deb71999-08-10 19:04:08 +00003359HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3360>xmlParserCtxtPtr</A
3361> ctxt);</PRE
3362></TD
3363></TR
3364></TABLE
3365><P
3366>Trickery: parse an XML name but without consuming the input flow
3367Needed for rollback cases.</P
3368><P
3369>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
3370CombiningChar | Extender</P
3371><P
3372>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
3373><P
3374>[6] Names ::= Name (S Name)*</P
3375><P
3376></P
3377><DIV
3378CLASS="INFORMALTABLE"
3379><P
3380></P
3381><TABLE
3382BORDER="0"
3383WIDTH="100%"
3384BGCOLOR="#FFD0D0"
3385CELLSPACING="0"
3386CELLPADDING="4"
3387CLASS="CALSTABLE"
3388><TR
3389><TD
3390WIDTH="20%"
3391ALIGN="RIGHT"
3392VALIGN="TOP"
3393><TT
3394CLASS="PARAMETER"
3395><I
3396>ctxt</I
3397></TT
3398>&nbsp;:</TD
3399><TD
3400WIDTH="80%"
3401ALIGN="LEFT"
3402VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003403> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003404></TR
3405><TR
3406><TD
3407WIDTH="20%"
3408ALIGN="RIGHT"
3409VALIGN="TOP"
3410><I
3411CLASS="EMPHASIS"
3412>Returns</I
3413> :</TD
3414><TD
3415WIDTH="80%"
3416ALIGN="LEFT"
3417VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003418>the Name parsed or NULL</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00003419></TR
3420></TABLE
3421><P
3422></P
3423></DIV
3424></DIV
3425><HR><DIV
3426CLASS="REFSECT2"
3427><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003428NAME="AEN11521"
Daniel Veillard35925471999-02-25 08:46:07 +00003429></A
3430><H3
3431><A
3432NAME="XMLPARSENAME"
3433></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003434>xmlParseName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003435><TABLE
3436BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003437BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003438WIDTH="100%"
3439CELLPADDING="6"
3440><TR
3441><TD
3442><PRE
3443CLASS="PROGRAMLISTING"
3444><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003445HREF="gnome-xml-tree.html#XMLCHAR"
3446>xmlChar</A
3447>* xmlParseName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003448HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3449>xmlParserCtxtPtr</A
3450> ctxt);</PRE
3451></TD
3452></TR
3453></TABLE
3454><P
3455>parse an XML name.</P
3456><P
3457>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
3458CombiningChar | Extender</P
3459><P
3460>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
3461><P
3462>[6] Names ::= Name (S Name)*</P
3463><P
3464></P
3465><DIV
3466CLASS="INFORMALTABLE"
3467><P
3468></P
3469><TABLE
3470BORDER="0"
3471WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003472BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003473CELLSPACING="0"
3474CELLPADDING="4"
3475CLASS="CALSTABLE"
3476><TR
3477><TD
3478WIDTH="20%"
3479ALIGN="RIGHT"
3480VALIGN="TOP"
3481><TT
3482CLASS="PARAMETER"
3483><I
3484>ctxt</I
3485></TT
3486>&nbsp;:</TD
3487><TD
3488WIDTH="80%"
3489ALIGN="LEFT"
3490VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003491> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003492></TR
3493><TR
3494><TD
3495WIDTH="20%"
3496ALIGN="RIGHT"
3497VALIGN="TOP"
3498><I
3499CLASS="EMPHASIS"
3500>Returns</I
3501> :</TD
3502><TD
3503WIDTH="80%"
3504ALIGN="LEFT"
3505VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003506>the Name parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003507></TR
3508></TABLE
3509><P
3510></P
3511></DIV
3512></DIV
3513><HR><DIV
3514CLASS="REFSECT2"
3515><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003516NAME="AEN11545"
Daniel Veillard35925471999-02-25 08:46:07 +00003517></A
3518><H3
3519><A
3520NAME="XMLPARSENMTOKEN"
3521></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003522>xmlParseNmtoken ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003523><TABLE
3524BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003525BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003526WIDTH="100%"
3527CELLPADDING="6"
3528><TR
3529><TD
3530><PRE
3531CLASS="PROGRAMLISTING"
3532><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003533HREF="gnome-xml-tree.html#XMLCHAR"
3534>xmlChar</A
3535>* xmlParseNmtoken (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003536HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3537>xmlParserCtxtPtr</A
3538> ctxt);</PRE
3539></TD
3540></TR
3541></TABLE
3542><P
3543>parse an XML Nmtoken.</P
3544><P
3545>[7] Nmtoken ::= (NameChar)+</P
3546><P
3547>[8] Nmtokens ::= Nmtoken (S Nmtoken)*</P
3548><P
3549></P
3550><DIV
3551CLASS="INFORMALTABLE"
3552><P
3553></P
3554><TABLE
3555BORDER="0"
3556WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003557BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003558CELLSPACING="0"
3559CELLPADDING="4"
3560CLASS="CALSTABLE"
3561><TR
3562><TD
3563WIDTH="20%"
3564ALIGN="RIGHT"
3565VALIGN="TOP"
3566><TT
3567CLASS="PARAMETER"
3568><I
3569>ctxt</I
3570></TT
3571>&nbsp;:</TD
3572><TD
3573WIDTH="80%"
3574ALIGN="LEFT"
3575VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003576> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003577></TR
3578><TR
3579><TD
3580WIDTH="20%"
3581ALIGN="RIGHT"
3582VALIGN="TOP"
3583><I
3584CLASS="EMPHASIS"
3585>Returns</I
3586> :</TD
3587><TD
3588WIDTH="80%"
3589ALIGN="LEFT"
3590VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003591>the Nmtoken parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003592></TR
3593></TABLE
3594><P
3595></P
3596></DIV
3597></DIV
3598><HR><DIV
3599CLASS="REFSECT2"
3600><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003601NAME="AEN11568"
Daniel Veillard35925471999-02-25 08:46:07 +00003602></A
3603><H3
3604><A
3605NAME="XMLPARSEENTITYVALUE"
3606></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003607>xmlParseEntityValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003608><TABLE
3609BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003610BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003611WIDTH="100%"
3612CELLPADDING="6"
3613><TR
3614><TD
3615><PRE
3616CLASS="PROGRAMLISTING"
3617><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003618HREF="gnome-xml-tree.html#XMLCHAR"
3619>xmlChar</A
3620>* xmlParseEntityValue (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003621HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3622>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003623> ctxt,
3624 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003625HREF="gnome-xml-tree.html#XMLCHAR"
3626>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003627> **orig);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003628></TD
3629></TR
3630></TABLE
3631><P
3632>parse a value for ENTITY decl.</P
3633><P
3634>[9] EntityValue ::= '"' ([^%&amp;"] | PEReference | Reference)* '"' |
3635"'" ([^%&amp;'] | PEReference | Reference)* "'"</P
3636><P
3637></P
3638><DIV
3639CLASS="INFORMALTABLE"
3640><P
3641></P
3642><TABLE
3643BORDER="0"
3644WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003645BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003646CELLSPACING="0"
3647CELLPADDING="4"
3648CLASS="CALSTABLE"
3649><TR
3650><TD
3651WIDTH="20%"
3652ALIGN="RIGHT"
3653VALIGN="TOP"
3654><TT
3655CLASS="PARAMETER"
3656><I
3657>ctxt</I
3658></TT
3659>&nbsp;:</TD
3660><TD
3661WIDTH="80%"
3662ALIGN="LEFT"
3663VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003664> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003665></TR
3666><TR
3667><TD
3668WIDTH="20%"
3669ALIGN="RIGHT"
3670VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003671><TT
3672CLASS="PARAMETER"
3673><I
3674>orig</I
3675></TT
3676>&nbsp;:</TD
3677><TD
3678WIDTH="80%"
3679ALIGN="LEFT"
3680VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003681> if non-NULL store a copy of the original entity value</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00003682></TR
3683><TR
3684><TD
3685WIDTH="20%"
3686ALIGN="RIGHT"
3687VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00003688><I
3689CLASS="EMPHASIS"
3690>Returns</I
3691> :</TD
3692><TD
3693WIDTH="80%"
3694ALIGN="LEFT"
3695VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003696>the EntityValue parsed with reference substitued or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003697></TR
3698></TABLE
3699><P
3700></P
3701></DIV
3702></DIV
3703><HR><DIV
3704CLASS="REFSECT2"
3705><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003706NAME="AEN11595"
Daniel Veillard35925471999-02-25 08:46:07 +00003707></A
3708><H3
3709><A
3710NAME="XMLPARSEATTVALUE"
3711></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003712>xmlParseAttValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003713><TABLE
3714BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003715BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003716WIDTH="100%"
3717CELLPADDING="6"
3718><TR
3719><TD
3720><PRE
3721CLASS="PROGRAMLISTING"
3722><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003723HREF="gnome-xml-tree.html#XMLCHAR"
3724>xmlChar</A
3725>* xmlParseAttValue (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003726HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3727>xmlParserCtxtPtr</A
3728> ctxt);</PRE
3729></TD
3730></TR
3731></TABLE
3732><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00003733>parse a value for an attribute
3734Note: the parser won't do substitution of entities here, this
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00003735will be handled later in xmlStringGetNodeList</P
Daniel Veillard35925471999-02-25 08:46:07 +00003736><P
3737>[10] AttValue ::= '"' ([^&lt;&amp;"] | Reference)* '"' |
3738"'" ([^&lt;&amp;'] | Reference)* "'"</P
3739><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00003740>3.3.3 Attribute-Value Normalization:
3741Before the value of an attribute is passed to the application or
3742checked for validity, the XML processor must normalize it as follows:
3743- a character reference is processed by appending the referenced
3744character to the attribute value
3745- an entity reference is processed by recursively processing the
3746replacement text of the entity
3747- a whitespace character (<GTKDOCLINK
3748HREF="X20"
3749>x20</GTKDOCLINK
3750>, <GTKDOCLINK
3751HREF="XD"
3752>xD</GTKDOCLINK
3753>, <GTKDOCLINK
3754HREF="XA"
3755>xA</GTKDOCLINK
3756>, <GTKDOCLINK
3757HREF="X9"
3758>x9</GTKDOCLINK
3759>) is processed by
3760appending <GTKDOCLINK
3761HREF="X20"
3762>x20</GTKDOCLINK
3763> to the normalized value, except that only a single
3764<GTKDOCLINK
3765HREF="X20"
3766>x20</GTKDOCLINK
3767> is appended for a "<GTKDOCLINK
3768HREF="XD"
3769>xD</GTKDOCLINK
3770><GTKDOCLINK
3771HREF="XA"
3772>xA</GTKDOCLINK
3773>" sequence that is part of an external
3774parsed entity or the literal entity value of an internal parsed entity
3775- other characters are processed by appending them to the normalized value
3776If the declared value is not CDATA, then the XML processor must further
3777process the normalized attribute value by discarding any leading and
3778trailing space (<GTKDOCLINK
3779HREF="X20"
3780>x20</GTKDOCLINK
3781>) characters, and by replacing sequences of space
3782(<GTKDOCLINK
3783HREF="X20"
3784>x20</GTKDOCLINK
3785>) characters by a single space (<GTKDOCLINK
3786HREF="X20"
3787>x20</GTKDOCLINK
3788>) character.
3789All attributes for which no declaration has been read should be treated
3790by a non-validating parser as if declared CDATA.</P
3791><P
Daniel Veillard35925471999-02-25 08:46:07 +00003792></P
3793><DIV
3794CLASS="INFORMALTABLE"
3795><P
3796></P
3797><TABLE
3798BORDER="0"
3799WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003800BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003801CELLSPACING="0"
3802CELLPADDING="4"
3803CLASS="CALSTABLE"
3804><TR
3805><TD
3806WIDTH="20%"
3807ALIGN="RIGHT"
3808VALIGN="TOP"
3809><TT
3810CLASS="PARAMETER"
3811><I
3812>ctxt</I
3813></TT
3814>&nbsp;:</TD
3815><TD
3816WIDTH="80%"
3817ALIGN="LEFT"
3818VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003819> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003820></TR
3821><TR
3822><TD
3823WIDTH="20%"
3824ALIGN="RIGHT"
3825VALIGN="TOP"
3826><I
3827CLASS="EMPHASIS"
3828>Returns</I
3829> :</TD
3830><TD
3831WIDTH="80%"
3832ALIGN="LEFT"
3833VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003834>the AttValue parsed or NULL. The value has to be freed by the caller.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003835></TR
3836></TABLE
3837><P
3838></P
3839></DIV
3840></DIV
3841><HR><DIV
3842CLASS="REFSECT2"
3843><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003844NAME="AEN11629"
Daniel Veillard35925471999-02-25 08:46:07 +00003845></A
3846><H3
3847><A
3848NAME="XMLPARSESYSTEMLITERAL"
3849></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003850>xmlParseSystemLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003851><TABLE
3852BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003853BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003854WIDTH="100%"
3855CELLPADDING="6"
3856><TR
3857><TD
3858><PRE
3859CLASS="PROGRAMLISTING"
3860><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003861HREF="gnome-xml-tree.html#XMLCHAR"
3862>xmlChar</A
3863>* xmlParseSystemLiteral (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003864HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3865>xmlParserCtxtPtr</A
3866> ctxt);</PRE
3867></TD
3868></TR
3869></TABLE
3870><P
3871>parse an XML Literal</P
3872><P
3873>[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</P
3874><P
3875></P
3876><DIV
3877CLASS="INFORMALTABLE"
3878><P
3879></P
3880><TABLE
3881BORDER="0"
3882WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003883BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003884CELLSPACING="0"
3885CELLPADDING="4"
3886CLASS="CALSTABLE"
3887><TR
3888><TD
3889WIDTH="20%"
3890ALIGN="RIGHT"
3891VALIGN="TOP"
3892><TT
3893CLASS="PARAMETER"
3894><I
3895>ctxt</I
3896></TT
3897>&nbsp;:</TD
3898><TD
3899WIDTH="80%"
3900ALIGN="LEFT"
3901VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003902> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003903></TR
3904><TR
3905><TD
3906WIDTH="20%"
3907ALIGN="RIGHT"
3908VALIGN="TOP"
3909><I
3910CLASS="EMPHASIS"
3911>Returns</I
3912> :</TD
3913><TD
3914WIDTH="80%"
3915ALIGN="LEFT"
3916VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003917>the SystemLiteral parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003918></TR
3919></TABLE
3920><P
3921></P
3922></DIV
3923></DIV
3924><HR><DIV
3925CLASS="REFSECT2"
3926><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00003927NAME="AEN11651"
Daniel Veillard35925471999-02-25 08:46:07 +00003928></A
3929><H3
3930><A
3931NAME="XMLPARSEPUBIDLITERAL"
3932></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003933>xmlParsePubidLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003934><TABLE
3935BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003936BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003937WIDTH="100%"
3938CELLPADDING="6"
3939><TR
3940><TD
3941><PRE
3942CLASS="PROGRAMLISTING"
3943><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00003944HREF="gnome-xml-tree.html#XMLCHAR"
3945>xmlChar</A
3946>* xmlParsePubidLiteral (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003947HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3948>xmlParserCtxtPtr</A
3949> ctxt);</PRE
3950></TD
3951></TR
3952></TABLE
3953><P
3954>parse an XML public literal</P
3955><P
3956>[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</P
3957><P
3958></P
3959><DIV
3960CLASS="INFORMALTABLE"
3961><P
3962></P
3963><TABLE
3964BORDER="0"
3965WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003966BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003967CELLSPACING="0"
3968CELLPADDING="4"
3969CLASS="CALSTABLE"
3970><TR
3971><TD
3972WIDTH="20%"
3973ALIGN="RIGHT"
3974VALIGN="TOP"
3975><TT
3976CLASS="PARAMETER"
3977><I
3978>ctxt</I
3979></TT
3980>&nbsp;:</TD
3981><TD
3982WIDTH="80%"
3983ALIGN="LEFT"
3984VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00003985> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003986></TR
3987><TR
3988><TD
3989WIDTH="20%"
3990ALIGN="RIGHT"
3991VALIGN="TOP"
3992><I
3993CLASS="EMPHASIS"
3994>Returns</I
3995> :</TD
3996><TD
3997WIDTH="80%"
3998ALIGN="LEFT"
3999VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004000>the PubidLiteral parsed or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004001></TR
4002></TABLE
4003><P
4004></P
4005></DIV
4006></DIV
4007><HR><DIV
4008CLASS="REFSECT2"
4009><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004010NAME="AEN11673"
Daniel Veillard35925471999-02-25 08:46:07 +00004011></A
4012><H3
4013><A
4014NAME="XMLPARSECHARDATA"
4015></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004016>xmlParseCharData ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004017><TABLE
4018BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004019BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004020WIDTH="100%"
4021CELLPADDING="6"
4022><TR
4023><TD
4024><PRE
4025CLASS="PROGRAMLISTING"
4026>void xmlParseCharData (<A
4027HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4028>xmlParserCtxtPtr</A
4029> ctxt,
4030 int cdata);</PRE
4031></TD
4032></TR
4033></TABLE
4034><P
4035>parse a CharData section.
4036if we are within a CDATA section ']]&gt;' marks an end of section.</P
4037><P
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004038>The right angle bracket (&gt;) may be represented using the string "&amp;gt;",
4039and must, for compatibility, be escaped using "&amp;gt;" or a character
4040reference when it appears in the string "]]&gt;" in content, when that
4041string is not marking the end of a CDATA section. </P
4042><P
Daniel Veillard35925471999-02-25 08:46:07 +00004043>[14] CharData ::= [^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</P
4044><P
4045></P
4046><DIV
4047CLASS="INFORMALTABLE"
4048><P
4049></P
4050><TABLE
4051BORDER="0"
4052WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004053BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004054CELLSPACING="0"
4055CELLPADDING="4"
4056CLASS="CALSTABLE"
4057><TR
4058><TD
4059WIDTH="20%"
4060ALIGN="RIGHT"
4061VALIGN="TOP"
4062><TT
4063CLASS="PARAMETER"
4064><I
4065>ctxt</I
4066></TT
4067>&nbsp;:</TD
4068><TD
4069WIDTH="80%"
4070ALIGN="LEFT"
4071VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004072> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004073></TR
4074><TR
4075><TD
4076WIDTH="20%"
4077ALIGN="RIGHT"
4078VALIGN="TOP"
4079><TT
4080CLASS="PARAMETER"
4081><I
4082>cdata</I
4083></TT
4084>&nbsp;:</TD
4085><TD
4086WIDTH="80%"
4087ALIGN="LEFT"
4088VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004089> int indicating whether we are within a CDATA section</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004090></TR
4091></TABLE
4092><P
4093></P
4094></DIV
4095></DIV
4096><HR><DIV
4097CLASS="REFSECT2"
4098><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004099NAME="AEN11695"
Daniel Veillard35925471999-02-25 08:46:07 +00004100></A
4101><H3
4102><A
4103NAME="XMLPARSEEXTERNALID"
4104></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004105>xmlParseExternalID ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004106><TABLE
4107BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004108BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004109WIDTH="100%"
4110CELLPADDING="6"
4111><TR
4112><TD
4113><PRE
4114CLASS="PROGRAMLISTING"
4115><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004116HREF="gnome-xml-tree.html#XMLCHAR"
4117>xmlChar</A
4118>* xmlParseExternalID (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004119HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4120>xmlParserCtxtPtr</A
4121> ctxt,
4122 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004123HREF="gnome-xml-tree.html#XMLCHAR"
4124>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004125> **publicID,
4126 int strict);</PRE
4127></TD
4128></TR
4129></TABLE
4130><P
4131>Parse an External ID or a Public ID</P
4132><P
4133>NOTE: Productions [75] and [83] interract badly since [75] can generate
4134'PUBLIC' S PubidLiteral S SystemLiteral</P
4135><P
4136>[75] ExternalID ::= 'SYSTEM' S SystemLiteral
4137| 'PUBLIC' S PubidLiteral S SystemLiteral</P
4138><P
4139>[83] PublicID ::= 'PUBLIC' S PubidLiteral</P
4140><P
4141></P
4142><DIV
4143CLASS="INFORMALTABLE"
4144><P
4145></P
4146><TABLE
4147BORDER="0"
4148WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004149BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004150CELLSPACING="0"
4151CELLPADDING="4"
4152CLASS="CALSTABLE"
4153><TR
4154><TD
4155WIDTH="20%"
4156ALIGN="RIGHT"
4157VALIGN="TOP"
4158><TT
4159CLASS="PARAMETER"
4160><I
4161>ctxt</I
4162></TT
4163>&nbsp;:</TD
4164><TD
4165WIDTH="80%"
4166ALIGN="LEFT"
4167VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004168> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004169></TR
4170><TR
4171><TD
4172WIDTH="20%"
4173ALIGN="RIGHT"
4174VALIGN="TOP"
4175><TT
4176CLASS="PARAMETER"
4177><I
4178>publicID</I
4179></TT
4180>&nbsp;:</TD
4181><TD
4182WIDTH="80%"
4183ALIGN="LEFT"
4184VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004185> a xmlChar** receiving PubidLiteral</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004186></TR
4187><TR
4188><TD
4189WIDTH="20%"
4190ALIGN="RIGHT"
4191VALIGN="TOP"
4192><TT
4193CLASS="PARAMETER"
4194><I
4195>strict</I
4196></TT
4197>&nbsp;:</TD
4198><TD
4199WIDTH="80%"
4200ALIGN="LEFT"
4201VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004202> indicate whether we should restrict parsing to only
4203production [75], see NOTE below</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004204></TR
4205><TR
4206><TD
4207WIDTH="20%"
4208ALIGN="RIGHT"
4209VALIGN="TOP"
4210><I
4211CLASS="EMPHASIS"
4212>Returns</I
4213> :</TD
4214><TD
4215WIDTH="80%"
4216ALIGN="LEFT"
4217VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004218>the function returns SystemLiteral and in the second
4219case publicID receives PubidLiteral, is strict is off
4220it is possible to return NULL and have publicID set.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004221></TR
4222></TABLE
4223><P
4224></P
4225></DIV
4226></DIV
4227><HR><DIV
4228CLASS="REFSECT2"
4229><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004230NAME="AEN11728"
Daniel Veillard35925471999-02-25 08:46:07 +00004231></A
4232><H3
4233><A
4234NAME="XMLPARSECOMMENT"
4235></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004236>xmlParseComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004237><TABLE
4238BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004239BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004240WIDTH="100%"
4241CELLPADDING="6"
4242><TR
4243><TD
4244><PRE
4245CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00004246>void xmlParseComment (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004247HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4248>xmlParserCtxtPtr</A
Daniel Veillardd2d38e91999-08-30 11:42:36 +00004249> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00004250></TD
4251></TR
4252></TABLE
4253><P
4254>Skip an XML (SGML) comment &lt;!-- .... --&gt;
Daniel Veillard35925471999-02-25 08:46:07 +00004255The spec says that "For compatibility, the string "--" (double-hyphen)
4256must not occur within comments. "</P
4257><P
4258>[15] Comment ::= '&lt;!--' ((Char - '-') | ('-' (Char - '-')))* '--&gt;'</P
4259><P
Daniel Veillard35925471999-02-25 08:46:07 +00004260></P
4261><DIV
4262CLASS="INFORMALTABLE"
4263><P
4264></P
4265><TABLE
4266BORDER="0"
4267WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004268BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004269CELLSPACING="0"
4270CELLPADDING="4"
4271CLASS="CALSTABLE"
4272><TR
4273><TD
4274WIDTH="20%"
4275ALIGN="RIGHT"
4276VALIGN="TOP"
4277><TT
4278CLASS="PARAMETER"
4279><I
4280>ctxt</I
4281></TT
4282>&nbsp;:</TD
4283><TD
4284WIDTH="80%"
4285ALIGN="LEFT"
4286VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004287> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004288></TR
Daniel Veillard35925471999-02-25 08:46:07 +00004289></TABLE
4290><P
4291></P
4292></DIV
4293></DIV
4294><HR><DIV
4295CLASS="REFSECT2"
4296><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004297NAME="AEN11745"
Daniel Veillard35925471999-02-25 08:46:07 +00004298></A
4299><H3
4300><A
4301NAME="XMLPARSEPITARGET"
4302></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004303>xmlParsePITarget ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004304><TABLE
4305BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004306BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004307WIDTH="100%"
4308CELLPADDING="6"
4309><TR
4310><TD
4311><PRE
4312CLASS="PROGRAMLISTING"
4313><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004314HREF="gnome-xml-tree.html#XMLCHAR"
4315>xmlChar</A
4316>* xmlParsePITarget (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004317HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4318>xmlParserCtxtPtr</A
4319> ctxt);</PRE
4320></TD
4321></TR
4322></TABLE
4323><P
4324>parse the name of a PI</P
4325><P
4326>[17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</P
4327><P
4328></P
4329><DIV
4330CLASS="INFORMALTABLE"
4331><P
4332></P
4333><TABLE
4334BORDER="0"
4335WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004336BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004337CELLSPACING="0"
4338CELLPADDING="4"
4339CLASS="CALSTABLE"
4340><TR
4341><TD
4342WIDTH="20%"
4343ALIGN="RIGHT"
4344VALIGN="TOP"
4345><TT
4346CLASS="PARAMETER"
4347><I
4348>ctxt</I
4349></TT
4350>&nbsp;:</TD
4351><TD
4352WIDTH="80%"
4353ALIGN="LEFT"
4354VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004355> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004356></TR
4357><TR
4358><TD
4359WIDTH="20%"
4360ALIGN="RIGHT"
4361VALIGN="TOP"
4362><I
4363CLASS="EMPHASIS"
4364>Returns</I
4365> :</TD
4366><TD
4367WIDTH="80%"
4368ALIGN="LEFT"
4369VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004370>the PITarget name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004371></TR
4372></TABLE
4373><P
4374></P
4375></DIV
4376></DIV
4377><HR><DIV
4378CLASS="REFSECT2"
4379><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004380NAME="AEN11767"
Daniel Veillard35925471999-02-25 08:46:07 +00004381></A
4382><H3
4383><A
4384NAME="XMLPARSEPI"
4385></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004386>xmlParsePI ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004387><TABLE
4388BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004389BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004390WIDTH="100%"
4391CELLPADDING="6"
4392><TR
4393><TD
4394><PRE
4395CLASS="PROGRAMLISTING"
4396>void xmlParsePI (<A
4397HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4398>xmlParserCtxtPtr</A
4399> ctxt);</PRE
4400></TD
4401></TR
4402></TABLE
4403><P
4404>parse an XML Processing Instruction.</P
4405><P
4406>[16] PI ::= '&lt;?' PITarget (S (Char* - (Char* '?&gt;' Char*)))? '?&gt;'</P
4407><P
4408>The processing is transfered to SAX once parsed.</P
4409><P
4410></P
4411><DIV
4412CLASS="INFORMALTABLE"
4413><P
4414></P
4415><TABLE
4416BORDER="0"
4417WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004418BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004419CELLSPACING="0"
4420CELLPADDING="4"
4421CLASS="CALSTABLE"
4422><TR
4423><TD
4424WIDTH="20%"
4425ALIGN="RIGHT"
4426VALIGN="TOP"
4427><TT
4428CLASS="PARAMETER"
4429><I
4430>ctxt</I
4431></TT
4432>&nbsp;:</TD
4433><TD
4434WIDTH="80%"
4435ALIGN="LEFT"
4436VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004437> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004438></TR
4439></TABLE
4440><P
4441></P
4442></DIV
4443></DIV
4444><HR><DIV
4445CLASS="REFSECT2"
4446><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004447NAME="AEN11785"
Daniel Veillard35925471999-02-25 08:46:07 +00004448></A
4449><H3
4450><A
4451NAME="XMLPARSENOTATIONDECL"
4452></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004453>xmlParseNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004454><TABLE
4455BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004456BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004457WIDTH="100%"
4458CELLPADDING="6"
4459><TR
4460><TD
4461><PRE
4462CLASS="PROGRAMLISTING"
4463>void xmlParseNotationDecl (<A
4464HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4465>xmlParserCtxtPtr</A
4466> ctxt);</PRE
4467></TD
4468></TR
4469></TABLE
4470><P
4471>parse a notation declaration</P
4472><P
4473>[82] NotationDecl ::= '&lt;!NOTATION' S Name S (ExternalID | PublicID) S? '&gt;'</P
4474><P
4475>Hence there is actually 3 choices:
4476'PUBLIC' S PubidLiteral
4477'PUBLIC' S PubidLiteral S SystemLiteral
4478and 'SYSTEM' S SystemLiteral</P
4479><P
4480>See the NOTE on <A
4481HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
4482>xmlParseExternalID</A
4483>().</P
4484><P
4485></P
4486><DIV
4487CLASS="INFORMALTABLE"
4488><P
4489></P
4490><TABLE
4491BORDER="0"
4492WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004493BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004494CELLSPACING="0"
4495CELLPADDING="4"
4496CLASS="CALSTABLE"
4497><TR
4498><TD
4499WIDTH="20%"
4500ALIGN="RIGHT"
4501VALIGN="TOP"
4502><TT
4503CLASS="PARAMETER"
4504><I
4505>ctxt</I
4506></TT
4507>&nbsp;:</TD
4508><TD
4509WIDTH="80%"
4510ALIGN="LEFT"
4511VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004512> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004513></TR
4514></TABLE
4515><P
4516></P
4517></DIV
4518></DIV
4519><HR><DIV
4520CLASS="REFSECT2"
4521><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004522NAME="AEN11805"
Daniel Veillard35925471999-02-25 08:46:07 +00004523></A
4524><H3
4525><A
4526NAME="XMLPARSEENTITYDECL"
4527></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004528>xmlParseEntityDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004529><TABLE
4530BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004531BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004532WIDTH="100%"
4533CELLPADDING="6"
4534><TR
4535><TD
4536><PRE
4537CLASS="PROGRAMLISTING"
4538>void xmlParseEntityDecl (<A
4539HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4540>xmlParserCtxtPtr</A
4541> ctxt);</PRE
4542></TD
4543></TR
4544></TABLE
4545><P
4546>parse &lt;!ENTITY declarations</P
4547><P
4548>[70] EntityDecl ::= GEDecl | PEDecl</P
4549><P
4550>[71] GEDecl ::= '&lt;!ENTITY' S Name S EntityDef S? '&gt;'</P
4551><P
4552>[72] PEDecl ::= '&lt;!ENTITY' S '%' S Name S PEDef S? '&gt;'</P
4553><P
4554>[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)</P
4555><P
4556>[74] PEDef ::= EntityValue | ExternalID</P
4557><P
4558>[76] NDataDecl ::= S 'NDATA' S Name</P
4559><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004560>[ VC: Notation Declared ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004561The Name must match the declared name of a notation.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004562><P
Daniel Veillard35925471999-02-25 08:46:07 +00004563></P
4564><DIV
4565CLASS="INFORMALTABLE"
4566><P
4567></P
4568><TABLE
4569BORDER="0"
4570WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004571BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004572CELLSPACING="0"
4573CELLPADDING="4"
4574CLASS="CALSTABLE"
4575><TR
4576><TD
4577WIDTH="20%"
4578ALIGN="RIGHT"
4579VALIGN="TOP"
4580><TT
4581CLASS="PARAMETER"
4582><I
4583>ctxt</I
4584></TT
4585>&nbsp;:</TD
4586><TD
4587WIDTH="80%"
4588ALIGN="LEFT"
4589VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004590> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004591></TR
4592></TABLE
4593><P
4594></P
4595></DIV
4596></DIV
4597><HR><DIV
4598CLASS="REFSECT2"
4599><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004600NAME="AEN11828"
Daniel Veillard35925471999-02-25 08:46:07 +00004601></A
4602><H3
4603><A
4604NAME="XMLPARSEDEFAULTDECL"
4605></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004606>xmlParseDefaultDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004607><TABLE
4608BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004609BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004610WIDTH="100%"
4611CELLPADDING="6"
4612><TR
4613><TD
4614><PRE
4615CLASS="PROGRAMLISTING"
4616>int xmlParseDefaultDecl (<A
4617HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4618>xmlParserCtxtPtr</A
4619> ctxt,
4620 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00004621HREF="gnome-xml-tree.html#XMLCHAR"
4622>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00004623> **value);</PRE
4624></TD
4625></TR
4626></TABLE
4627><P
4628>Parse an attribute default declaration</P
4629><P
4630>[60] DefaultDecl ::= '<GTKDOCLINK
4631HREF="REQUIRED"
4632>REQUIRED</GTKDOCLINK
4633>' | '<GTKDOCLINK
4634HREF="IMPLIED"
4635>IMPLIED</GTKDOCLINK
4636>' | (('<GTKDOCLINK
4637HREF="FIXED"
4638>FIXED</GTKDOCLINK
4639>' S)? AttValue)</P
4640><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004641>[ VC: Required Attribute ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004642if the default declaration is the keyword <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00004643HREF="REQUIRED"
4644>REQUIRED</GTKDOCLINK
4645>, then the
4646attribute must be specified for all elements of the type in the
4647attribute-list declaration.</P
4648><P
4649>[ VC: Attribute Default Legal ]
4650The declared default value must meet the lexical constraints of
4651the declared attribute type c.f. <A
4652HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEDECL"
4653>xmlValidateAttributeDecl</A
4654>()</P
4655><P
4656>[ VC: Fixed Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004657if an attribute has a default value declared with the <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00004658HREF="FIXED"
4659>FIXED</GTKDOCLINK
4660>
4661keyword, instances of that attribute must match the default value. </P
4662><P
4663>[ WFC: No &lt; in Attribute Values ]
4664handled in <A
4665HREF="gnome-xml-parserinternals.html#XMLPARSEATTVALUE"
4666>xmlParseAttValue</A
4667>()</P
4668><P
Daniel Veillard35925471999-02-25 08:46:07 +00004669></P
4670><DIV
4671CLASS="INFORMALTABLE"
4672><P
4673></P
4674><TABLE
4675BORDER="0"
4676WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004677BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004678CELLSPACING="0"
4679CELLPADDING="4"
4680CLASS="CALSTABLE"
4681><TR
4682><TD
4683WIDTH="20%"
4684ALIGN="RIGHT"
4685VALIGN="TOP"
4686><TT
4687CLASS="PARAMETER"
4688><I
4689>ctxt</I
4690></TT
4691>&nbsp;:</TD
4692><TD
4693WIDTH="80%"
4694ALIGN="LEFT"
4695VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004696> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004697></TR
4698><TR
4699><TD
4700WIDTH="20%"
4701ALIGN="RIGHT"
4702VALIGN="TOP"
4703><TT
4704CLASS="PARAMETER"
4705><I
4706>value</I
4707></TT
4708>&nbsp;:</TD
4709><TD
4710WIDTH="80%"
4711ALIGN="LEFT"
4712VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004713> Receive a possible fixed default value for the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004714></TR
4715><TR
4716><TD
4717WIDTH="20%"
4718ALIGN="RIGHT"
4719VALIGN="TOP"
4720><I
4721CLASS="EMPHASIS"
4722>Returns</I
4723> :</TD
4724><TD
4725WIDTH="80%"
4726ALIGN="LEFT"
4727VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004728> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED
4729or XML_ATTRIBUTE_FIXED. </TD
Daniel Veillard35925471999-02-25 08:46:07 +00004730></TR
4731></TABLE
4732><P
4733></P
4734></DIV
4735></DIV
4736><HR><DIV
4737CLASS="REFSECT2"
4738><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004739NAME="AEN11865"
Daniel Veillard35925471999-02-25 08:46:07 +00004740></A
4741><H3
4742><A
4743NAME="XMLPARSENOTATIONTYPE"
4744></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004745>xmlParseNotationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004746><TABLE
4747BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004748BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004749WIDTH="100%"
4750CELLPADDING="6"
4751><TR
4752><TD
4753><PRE
4754CLASS="PROGRAMLISTING"
4755><A
4756HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4757>xmlEnumerationPtr</A
4758> xmlParseNotationType (<A
4759HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4760>xmlParserCtxtPtr</A
4761> ctxt);</PRE
4762></TD
4763></TR
4764></TABLE
4765><P
4766>parse an Notation attribute type.</P
4767><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004768>Note: the leading 'NOTATION' S part has already being parsed...</P
4769><P
Daniel Veillard35925471999-02-25 08:46:07 +00004770>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
4771><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004772>[ VC: Notation Attributes ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004773Values of this type must match one of the notation names included
Daniel Veillardb05deb71999-08-10 19:04:08 +00004774in the declaration; all notation names in the declaration must be declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00004775><P
4776></P
4777><DIV
4778CLASS="INFORMALTABLE"
4779><P
4780></P
4781><TABLE
4782BORDER="0"
4783WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004784BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004785CELLSPACING="0"
4786CELLPADDING="4"
4787CLASS="CALSTABLE"
4788><TR
4789><TD
4790WIDTH="20%"
4791ALIGN="RIGHT"
4792VALIGN="TOP"
4793><TT
4794CLASS="PARAMETER"
4795><I
4796>ctxt</I
4797></TT
4798>&nbsp;:</TD
4799><TD
4800WIDTH="80%"
4801ALIGN="LEFT"
4802VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004803> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004804></TR
4805><TR
4806><TD
4807WIDTH="20%"
4808ALIGN="RIGHT"
4809VALIGN="TOP"
4810><I
4811CLASS="EMPHASIS"
4812>Returns</I
4813> :</TD
4814><TD
4815WIDTH="80%"
4816ALIGN="LEFT"
4817VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004818> the notation attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004819></TR
4820></TABLE
4821><P
4822></P
4823></DIV
4824></DIV
4825><HR><DIV
4826CLASS="REFSECT2"
4827><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004828NAME="AEN11889"
Daniel Veillard35925471999-02-25 08:46:07 +00004829></A
4830><H3
4831><A
4832NAME="XMLPARSEENUMERATIONTYPE"
4833></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004834>xmlParseEnumerationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004835><TABLE
4836BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004837BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004838WIDTH="100%"
4839CELLPADDING="6"
4840><TR
4841><TD
4842><PRE
4843CLASS="PROGRAMLISTING"
4844><A
4845HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4846>xmlEnumerationPtr</A
4847> xmlParseEnumerationType (<A
4848HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4849>xmlParserCtxtPtr</A
4850> ctxt);</PRE
4851></TD
4852></TR
4853></TABLE
4854><P
4855>parse an Enumeration attribute type.</P
4856><P
4857>[59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')'</P
4858><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00004859>[ VC: Enumeration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00004860Values of this type must match one of the Nmtoken tokens in
Daniel Veillardb05deb71999-08-10 19:04:08 +00004861the declaration</P
4862><P
Daniel Veillard35925471999-02-25 08:46:07 +00004863></P
4864><DIV
4865CLASS="INFORMALTABLE"
4866><P
4867></P
4868><TABLE
4869BORDER="0"
4870WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004871BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004872CELLSPACING="0"
4873CELLPADDING="4"
4874CLASS="CALSTABLE"
4875><TR
4876><TD
4877WIDTH="20%"
4878ALIGN="RIGHT"
4879VALIGN="TOP"
4880><TT
4881CLASS="PARAMETER"
4882><I
4883>ctxt</I
4884></TT
4885>&nbsp;:</TD
4886><TD
4887WIDTH="80%"
4888ALIGN="LEFT"
4889VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004890> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004891></TR
4892><TR
4893><TD
4894WIDTH="20%"
4895ALIGN="RIGHT"
4896VALIGN="TOP"
4897><I
4898CLASS="EMPHASIS"
4899>Returns</I
4900> :</TD
4901><TD
4902WIDTH="80%"
4903ALIGN="LEFT"
4904VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004905> the enumeration attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004906></TR
4907></TABLE
4908><P
4909></P
4910></DIV
4911></DIV
4912><HR><DIV
4913CLASS="REFSECT2"
4914><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00004915NAME="AEN11912"
Daniel Veillard35925471999-02-25 08:46:07 +00004916></A
4917><H3
4918><A
4919NAME="XMLPARSEENUMERATEDTYPE"
4920></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004921>xmlParseEnumeratedType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004922><TABLE
4923BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004924BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004925WIDTH="100%"
4926CELLPADDING="6"
4927><TR
4928><TD
4929><PRE
4930CLASS="PROGRAMLISTING"
4931>int xmlParseEnumeratedType (<A
4932HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4933>xmlParserCtxtPtr</A
4934> ctxt,
4935 <A
4936HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4937>xmlEnumerationPtr</A
4938> *tree);</PRE
4939></TD
4940></TR
4941></TABLE
4942><P
4943>parse an Enumerated attribute type.</P
4944><P
4945>[57] EnumeratedType ::= NotationType | Enumeration</P
4946><P
4947>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
4948><P
4949></P
4950><DIV
4951CLASS="INFORMALTABLE"
4952><P
4953></P
4954><TABLE
4955BORDER="0"
4956WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004957BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004958CELLSPACING="0"
4959CELLPADDING="4"
4960CLASS="CALSTABLE"
4961><TR
4962><TD
4963WIDTH="20%"
4964ALIGN="RIGHT"
4965VALIGN="TOP"
4966><TT
4967CLASS="PARAMETER"
4968><I
4969>ctxt</I
4970></TT
4971>&nbsp;:</TD
4972><TD
4973WIDTH="80%"
4974ALIGN="LEFT"
4975VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004976> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004977></TR
4978><TR
4979><TD
4980WIDTH="20%"
4981ALIGN="RIGHT"
4982VALIGN="TOP"
4983><TT
4984CLASS="PARAMETER"
4985><I
4986>tree</I
4987></TT
4988>&nbsp;:</TD
4989><TD
4990WIDTH="80%"
4991ALIGN="LEFT"
4992VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00004993> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004994></TR
4995><TR
4996><TD
4997WIDTH="20%"
4998ALIGN="RIGHT"
4999VALIGN="TOP"
5000><I
5001CLASS="EMPHASIS"
5002>Returns</I
5003> :</TD
5004><TD
5005WIDTH="80%"
5006ALIGN="LEFT"
5007VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005008> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005009></TR
5010></TABLE
5011><P
5012></P
5013></DIV
5014></DIV
5015><HR><DIV
5016CLASS="REFSECT2"
5017><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005018NAME="AEN11939"
Daniel Veillard35925471999-02-25 08:46:07 +00005019></A
5020><H3
5021><A
5022NAME="XMLPARSEATTRIBUTETYPE"
5023></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005024>xmlParseAttributeType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005025><TABLE
5026BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005027BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005028WIDTH="100%"
5029CELLPADDING="6"
5030><TR
5031><TD
5032><PRE
5033CLASS="PROGRAMLISTING"
5034>int xmlParseAttributeType (<A
5035HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5036>xmlParserCtxtPtr</A
5037> ctxt,
5038 <A
5039HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
5040>xmlEnumerationPtr</A
5041> *tree);</PRE
5042></TD
5043></TR
5044></TABLE
5045><P
5046>parse the Attribute list def for an element</P
5047><P
5048>[54] AttType ::= StringType | TokenizedType | EnumeratedType</P
5049><P
5050>[55] StringType ::= 'CDATA'</P
5051><P
5052>[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' |
5053'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'</P
5054><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005055>Validity constraints for attribute values syntax are checked in
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005056<A
5057HREF="gnome-xml-valid.html#XMLVALIDATEATTRIBUTEVALUE"
5058>xmlValidateAttributeValue</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00005059>()</P
5060><P
5061>[ VC: ID ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005062Values of type ID must match the Name production. A name must not
Daniel Veillardb05deb71999-08-10 19:04:08 +00005063appear more than once in an XML document as a value of this type;
5064i.e., ID values must uniquely identify the elements which bear them.</P
5065><P
5066>[ VC: One ID per Element Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005067No element type may have more than one ID attribute specified.</P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005068><P
5069>[ VC: ID Attribute Default ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005070An ID attribute must have a declared default of <GTKDOCLINK
Daniel Veillardb05deb71999-08-10 19:04:08 +00005071HREF="IMPLIED"
5072>IMPLIED</GTKDOCLINK
5073> or <GTKDOCLINK
5074HREF="REQUIRED"
5075>REQUIRED</GTKDOCLINK
5076>.</P
5077><P
5078>[ VC: IDREF ]
5079Values of type IDREF must match the Name production, and values
Daniel Veillardf3a73582000-01-05 14:58:39 +00005080of type IDREFS must match Names; each IDREF Name must match the value
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005081of an ID attribute on some element in the XML document; i.e. IDREF
Daniel Veillardb05deb71999-08-10 19:04:08 +00005082values must match the value of some ID attribute.</P
5083><P
5084>[ VC: Entity Name ]
5085Values of type ENTITY must match the Name production, values
Daniel Veillardf3a73582000-01-05 14:58:39 +00005086of type ENTITIES must match Names; each Entity Name must match the
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005087name of an unparsed entity declared in the DTD. </P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005088><P
5089>[ VC: Name Token ]
5090Values of type NMTOKEN must match the Nmtoken production; values
5091of type NMTOKENS must match Nmtokens.</P
5092><P
Daniel Veillard35925471999-02-25 08:46:07 +00005093></P
5094><DIV
5095CLASS="INFORMALTABLE"
5096><P
5097></P
5098><TABLE
5099BORDER="0"
5100WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005101BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005102CELLSPACING="0"
5103CELLPADDING="4"
5104CLASS="CALSTABLE"
5105><TR
5106><TD
5107WIDTH="20%"
5108ALIGN="RIGHT"
5109VALIGN="TOP"
5110><TT
5111CLASS="PARAMETER"
5112><I
5113>ctxt</I
5114></TT
5115>&nbsp;:</TD
5116><TD
5117WIDTH="80%"
5118ALIGN="LEFT"
5119VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005120> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005121></TR
5122><TR
5123><TD
5124WIDTH="20%"
5125ALIGN="RIGHT"
5126VALIGN="TOP"
5127><TT
5128CLASS="PARAMETER"
5129><I
5130>tree</I
5131></TT
5132>&nbsp;:</TD
5133><TD
5134WIDTH="80%"
5135ALIGN="LEFT"
5136VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005137> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005138></TR
5139><TR
5140><TD
5141WIDTH="20%"
5142ALIGN="RIGHT"
5143VALIGN="TOP"
5144><I
5145CLASS="EMPHASIS"
5146>Returns</I
5147> :</TD
5148><TD
5149WIDTH="80%"
5150ALIGN="LEFT"
5151VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005152>the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005153></TR
5154></TABLE
5155><P
5156></P
5157></DIV
5158></DIV
5159><HR><DIV
5160CLASS="REFSECT2"
5161><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005162NAME="AEN11977"
Daniel Veillard35925471999-02-25 08:46:07 +00005163></A
5164><H3
5165><A
5166NAME="XMLPARSEATTRIBUTELISTDECL"
5167></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005168>xmlParseAttributeListDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005169><TABLE
5170BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005171BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005172WIDTH="100%"
5173CELLPADDING="6"
5174><TR
5175><TD
5176><PRE
5177CLASS="PROGRAMLISTING"
5178>void xmlParseAttributeListDecl (<A
5179HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5180>xmlParserCtxtPtr</A
5181> ctxt);</PRE
5182></TD
5183></TR
5184></TABLE
5185><P
5186>: parse the Attribute list def for an element</P
5187><P
5188>[52] AttlistDecl ::= '&lt;!ATTLIST' S Name AttDef* S? '&gt;'</P
5189><P
5190>[53] AttDef ::= S Name S AttType S DefaultDecl</P
5191><P
5192></P
5193><DIV
5194CLASS="INFORMALTABLE"
5195><P
5196></P
5197><TABLE
5198BORDER="0"
5199WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005200BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005201CELLSPACING="0"
5202CELLPADDING="4"
5203CLASS="CALSTABLE"
5204><TR
5205><TD
5206WIDTH="20%"
5207ALIGN="RIGHT"
5208VALIGN="TOP"
5209><TT
5210CLASS="PARAMETER"
5211><I
5212>ctxt</I
5213></TT
5214>&nbsp;:</TD
5215><TD
5216WIDTH="80%"
5217ALIGN="LEFT"
5218VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005219> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005220></TR
5221></TABLE
5222><P
5223></P
5224></DIV
5225></DIV
5226><HR><DIV
5227CLASS="REFSECT2"
5228><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005229NAME="AEN11995"
Daniel Veillard35925471999-02-25 08:46:07 +00005230></A
5231><H3
5232><A
5233NAME="XMLPARSEELEMENTMIXEDCONTENTDECL"
5234></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005235>xmlParseElementMixedContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005236><TABLE
5237BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005238BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005239WIDTH="100%"
5240CELLPADDING="6"
5241><TR
5242><TD
5243><PRE
5244CLASS="PROGRAMLISTING"
5245><A
5246HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
5247>xmlElementContentPtr</A
5248> xmlParseElementMixedContentDecl
5249 (<A
5250HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5251>xmlParserCtxtPtr</A
5252> ctxt);</PRE
5253></TD
5254></TR
5255></TABLE
5256><P
5257>parse the declaration for a Mixed Element content
5258The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
5259><P
5260>[51] Mixed ::= '(' S? '<GTKDOCLINK
5261HREF="PCDATA"
5262>PCDATA</GTKDOCLINK
5263>' (S? '|' S? Name)* S? ')*' |
5264'(' S? '<GTKDOCLINK
5265HREF="PCDATA"
5266>PCDATA</GTKDOCLINK
5267>' S? ')'</P
5268><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005269>[ VC: Proper Group/PE Nesting ] applies to [51] too (see [49])</P
5270><P
5271>[ VC: No Duplicate Types ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005272The same name must not appear more than once in a single
Daniel Veillardb05deb71999-08-10 19:04:08 +00005273mixed-content declaration.</P
5274><P
Daniel Veillard35925471999-02-25 08:46:07 +00005275></P
5276><DIV
5277CLASS="INFORMALTABLE"
5278><P
5279></P
5280><TABLE
5281BORDER="0"
5282WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005283BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005284CELLSPACING="0"
5285CELLPADDING="4"
5286CLASS="CALSTABLE"
5287><TR
5288><TD
5289WIDTH="20%"
5290ALIGN="RIGHT"
5291VALIGN="TOP"
5292><TT
5293CLASS="PARAMETER"
5294><I
5295>ctxt</I
5296></TT
5297>&nbsp;:</TD
5298><TD
5299WIDTH="80%"
5300ALIGN="LEFT"
5301VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005302> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005303></TR
5304><TR
5305><TD
5306WIDTH="20%"
5307ALIGN="RIGHT"
5308VALIGN="TOP"
5309><I
5310CLASS="EMPHASIS"
5311>Returns</I
5312> :</TD
5313><TD
5314WIDTH="80%"
5315ALIGN="LEFT"
5316VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005317> the list of the xmlElementContentPtr describing the element choices</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005318></TR
5319></TABLE
5320><P
5321></P
5322></DIV
5323></DIV
5324><HR><DIV
5325CLASS="REFSECT2"
5326><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005327NAME="AEN12021"
Daniel Veillard35925471999-02-25 08:46:07 +00005328></A
5329><H3
5330><A
5331NAME="XMLPARSEELEMENTCHILDRENCONTENTDECL"
5332></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005333>xmlParseElementChildrenContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005334><TABLE
5335BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005336BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005337WIDTH="100%"
5338CELLPADDING="6"
5339><TR
5340><TD
5341><PRE
5342CLASS="PROGRAMLISTING"
5343><A
5344HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
5345>xmlElementContentPtr</A
5346> xmlParseElementChildrenContentDecl
5347 (<A
5348HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5349>xmlParserCtxtPtr</A
5350> ctxt);</PRE
5351></TD
5352></TR
5353></TABLE
5354><P
5355>parse the declaration for a Mixed Element content
5356The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
5357><P
5358>[47] children ::= (choice | seq) ('?' | '*' | '+')?</P
5359><P
5360>[48] cp ::= (Name | choice | seq) ('?' | '*' | '+')?</P
5361><P
5362>[49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')'</P
5363><P
5364>[50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'</P
5365><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005366>[ VC: Proper Group/PE Nesting ] applies to [49] and [50]
5367TODO Parameter-entity replacement text must be properly nested
5368with parenthetized groups. That is to say, if either of the
5369opening or closing parentheses in a choice, seq, or Mixed
5370construct is contained in the replacement text for a parameter
5371entity, both must be contained in the same replacement text. For
5372interoperability, if a parameter-entity reference appears in a
5373choice, seq, or Mixed construct, its replacement text should not
5374be empty, and neither the first nor last non-blank character of
5375the replacement text should be a connector (| or ,).</P
5376><P
Daniel Veillard35925471999-02-25 08:46:07 +00005377></P
5378><DIV
5379CLASS="INFORMALTABLE"
5380><P
5381></P
5382><TABLE
5383BORDER="0"
5384WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005385BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005386CELLSPACING="0"
5387CELLPADDING="4"
5388CLASS="CALSTABLE"
5389><TR
5390><TD
5391WIDTH="20%"
5392ALIGN="RIGHT"
5393VALIGN="TOP"
5394><TT
5395CLASS="PARAMETER"
5396><I
5397>ctxt</I
5398></TT
5399>&nbsp;:</TD
5400><TD
5401WIDTH="80%"
5402ALIGN="LEFT"
5403VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005404> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005405></TR
5406><TR
5407><TD
5408WIDTH="20%"
5409ALIGN="RIGHT"
5410VALIGN="TOP"
5411><I
5412CLASS="EMPHASIS"
5413>Returns</I
5414> :</TD
5415><TD
5416WIDTH="80%"
5417ALIGN="LEFT"
5418VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005419> the tree of xmlElementContentPtr describing the element
5420hierarchy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005421></TR
5422></TABLE
5423><P
5424></P
5425></DIV
5426></DIV
5427><HR><DIV
5428CLASS="REFSECT2"
5429><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005430NAME="AEN12047"
Daniel Veillard35925471999-02-25 08:46:07 +00005431></A
5432><H3
5433><A
5434NAME="XMLPARSEELEMENTCONTENTDECL"
5435></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005436>xmlParseElementContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005437><TABLE
5438BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005439BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005440WIDTH="100%"
5441CELLPADDING="6"
5442><TR
5443><TD
5444><PRE
5445CLASS="PROGRAMLISTING"
5446>int xmlParseElementContentDecl (<A
5447HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5448>xmlParserCtxtPtr</A
5449> ctxt,
5450 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00005451HREF="gnome-xml-tree.html#XMLCHAR"
5452>xmlChar</A
Daniel Veillard35925471999-02-25 08:46:07 +00005453> *name,
5454 <A
5455HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
5456>xmlElementContentPtr</A
5457> *result);</PRE
5458></TD
5459></TR
5460></TABLE
5461><P
5462>parse the declaration for an Element content either Mixed or Children,
5463the cases EMPTY and ANY are handled directly in xmlParseElementDecl</P
5464><P
5465>[46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</P
5466><P
5467></P
5468><DIV
5469CLASS="INFORMALTABLE"
5470><P
5471></P
5472><TABLE
5473BORDER="0"
5474WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005475BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005476CELLSPACING="0"
5477CELLPADDING="4"
5478CLASS="CALSTABLE"
5479><TR
5480><TD
5481WIDTH="20%"
5482ALIGN="RIGHT"
5483VALIGN="TOP"
5484><TT
5485CLASS="PARAMETER"
5486><I
5487>ctxt</I
5488></TT
5489>&nbsp;:</TD
5490><TD
5491WIDTH="80%"
5492ALIGN="LEFT"
5493VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005494> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005495></TR
5496><TR
5497><TD
5498WIDTH="20%"
5499ALIGN="RIGHT"
5500VALIGN="TOP"
5501><TT
5502CLASS="PARAMETER"
5503><I
5504>name</I
5505></TT
5506>&nbsp;:</TD
5507><TD
5508WIDTH="80%"
5509ALIGN="LEFT"
5510VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005511> the name of the element being defined.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005512></TR
5513><TR
5514><TD
5515WIDTH="20%"
5516ALIGN="RIGHT"
5517VALIGN="TOP"
5518><TT
5519CLASS="PARAMETER"
5520><I
5521>result</I
5522></TT
5523>&nbsp;:</TD
5524><TD
5525WIDTH="80%"
5526ALIGN="LEFT"
5527VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005528> the Element Content pointer will be stored here if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005529></TR
5530><TR
5531><TD
5532WIDTH="20%"
5533ALIGN="RIGHT"
5534VALIGN="TOP"
5535><I
5536CLASS="EMPHASIS"
5537>Returns</I
5538> :</TD
5539><TD
5540WIDTH="80%"
5541ALIGN="LEFT"
5542VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005543> the type of element content XML_ELEMENT_TYPE_xxx</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005544></TR
5545></TABLE
5546><P
5547></P
5548></DIV
5549></DIV
5550><HR><DIV
5551CLASS="REFSECT2"
5552><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005553NAME="AEN12078"
Daniel Veillard35925471999-02-25 08:46:07 +00005554></A
5555><H3
5556><A
5557NAME="XMLPARSEELEMENTDECL"
5558></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005559>xmlParseElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005560><TABLE
5561BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005562BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005563WIDTH="100%"
5564CELLPADDING="6"
5565><TR
5566><TD
5567><PRE
5568CLASS="PROGRAMLISTING"
5569>int xmlParseElementDecl (<A
5570HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5571>xmlParserCtxtPtr</A
5572> ctxt);</PRE
5573></TD
5574></TR
5575></TABLE
5576><P
5577>parse an Element declaration.</P
5578><P
5579>[45] elementdecl ::= '&lt;!ELEMENT' S Name S contentspec S? '&gt;'</P
5580><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005581>[ VC: Unique Element Type Declaration ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00005582No element type may be declared more than once</P
Daniel Veillard35925471999-02-25 08:46:07 +00005583><P
5584></P
5585><DIV
5586CLASS="INFORMALTABLE"
5587><P
5588></P
5589><TABLE
5590BORDER="0"
5591WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005592BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005593CELLSPACING="0"
5594CELLPADDING="4"
5595CLASS="CALSTABLE"
5596><TR
5597><TD
5598WIDTH="20%"
5599ALIGN="RIGHT"
5600VALIGN="TOP"
5601><TT
5602CLASS="PARAMETER"
5603><I
5604>ctxt</I
5605></TT
5606>&nbsp;:</TD
5607><TD
5608WIDTH="80%"
5609ALIGN="LEFT"
5610VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005611> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005612></TR
5613><TR
5614><TD
5615WIDTH="20%"
5616ALIGN="RIGHT"
5617VALIGN="TOP"
5618><I
5619CLASS="EMPHASIS"
5620>Returns</I
5621> :</TD
5622><TD
5623WIDTH="80%"
5624ALIGN="LEFT"
5625VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005626>the type of the element, or -1 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005627></TR
5628></TABLE
5629><P
5630></P
5631></DIV
5632></DIV
5633><HR><DIV
5634CLASS="REFSECT2"
5635><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005636NAME="AEN12100"
Daniel Veillard35925471999-02-25 08:46:07 +00005637></A
5638><H3
5639><A
5640NAME="XMLPARSEMARKUPDECL"
5641></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005642>xmlParseMarkupDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005643><TABLE
5644BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005645BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005646WIDTH="100%"
5647CELLPADDING="6"
5648><TR
5649><TD
5650><PRE
5651CLASS="PROGRAMLISTING"
5652>void xmlParseMarkupDecl (<A
5653HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5654>xmlParserCtxtPtr</A
5655> ctxt);</PRE
5656></TD
5657></TR
5658></TABLE
5659><P
5660>parse Markup declarations</P
5661><P
5662>[29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
5663NotationDecl | PI | Comment</P
5664><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005665>[ VC: Proper Declaration/PE Nesting ]
5666TODO Parameter-entity replacement text must be properly nested with
5667markup declarations. That is to say, if either the first character
5668or the last character of a markup declaration (markupdecl above) is
5669contained in the replacement text for a parameter-entity reference,
5670both must be contained in the same replacement text.</P
5671><P
5672>[ WFC: PEs in Internal Subset ]
5673In the internal DTD subset, parameter-entity references can occur
5674only where markup declarations can occur, not within markup declarations.
5675(This does not apply to references that occur in external parameter
5676entities or to the external subset.)</P
Daniel Veillard35925471999-02-25 08:46:07 +00005677><P
5678></P
5679><DIV
5680CLASS="INFORMALTABLE"
5681><P
5682></P
5683><TABLE
5684BORDER="0"
5685WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005686BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005687CELLSPACING="0"
5688CELLPADDING="4"
5689CLASS="CALSTABLE"
5690><TR
5691><TD
5692WIDTH="20%"
5693ALIGN="RIGHT"
5694VALIGN="TOP"
5695><TT
5696CLASS="PARAMETER"
5697><I
5698>ctxt</I
5699></TT
5700>&nbsp;:</TD
5701><TD
5702WIDTH="80%"
5703ALIGN="LEFT"
5704VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005705> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005706></TR
5707></TABLE
5708><P
5709></P
5710></DIV
5711></DIV
5712><HR><DIV
5713CLASS="REFSECT2"
5714><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005715NAME="AEN12119"
Daniel Veillard35925471999-02-25 08:46:07 +00005716></A
5717><H3
5718><A
5719NAME="XMLPARSECHARREF"
5720></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005721>xmlParseCharRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005722><TABLE
5723BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005724BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005725WIDTH="100%"
5726CELLPADDING="6"
5727><TR
5728><TD
5729><PRE
5730CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005731>int xmlParseCharRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005732HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5733>xmlParserCtxtPtr</A
5734> ctxt);</PRE
5735></TD
5736></TR
5737></TABLE
5738><P
5739>parse Reference declarations</P
5740><P
5741>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
5742'&amp;<GTKDOCLINK
5743HREF="X"
5744>x</GTKDOCLINK
5745>' [0-9a-fA-F]+ ';'</P
5746><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005747>[ WFC: Legal Character ]
5748Characters referred to using character references must match the
5749production for Char.</P
5750><P
Daniel Veillard35925471999-02-25 08:46:07 +00005751></P
5752><DIV
5753CLASS="INFORMALTABLE"
5754><P
5755></P
5756><TABLE
5757BORDER="0"
5758WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005759BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005760CELLSPACING="0"
5761CELLPADDING="4"
5762CLASS="CALSTABLE"
5763><TR
5764><TD
5765WIDTH="20%"
5766ALIGN="RIGHT"
5767VALIGN="TOP"
5768><TT
5769CLASS="PARAMETER"
5770><I
5771>ctxt</I
5772></TT
5773>&nbsp;:</TD
5774><TD
5775WIDTH="80%"
5776ALIGN="LEFT"
5777VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005778> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005779></TR
5780><TR
5781><TD
5782WIDTH="20%"
5783ALIGN="RIGHT"
5784VALIGN="TOP"
5785><I
5786CLASS="EMPHASIS"
5787>Returns</I
5788> :</TD
5789><TD
5790WIDTH="80%"
5791ALIGN="LEFT"
5792VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005793>the value parsed (as an int), 0 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005794></TR
5795></TABLE
5796><P
5797></P
5798></DIV
5799></DIV
5800><HR><DIV
5801CLASS="REFSECT2"
5802><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005803NAME="AEN12142"
Daniel Veillard35925471999-02-25 08:46:07 +00005804></A
5805><H3
5806><A
5807NAME="XMLPARSEENTITYREF"
5808></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005809>xmlParseEntityRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005810><TABLE
5811BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005812BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005813WIDTH="100%"
5814CELLPADDING="6"
5815><TR
5816><TD
5817><PRE
5818CLASS="PROGRAMLISTING"
5819><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005820HREF="gnome-xml-entities.html#XMLENTITYPTR"
5821>xmlEntityPtr</A
5822> xmlParseEntityRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005823HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5824>xmlParserCtxtPtr</A
5825> ctxt);</PRE
5826></TD
5827></TR
5828></TABLE
5829><P
5830>parse ENTITY references declarations</P
5831><P
5832>[68] EntityRef ::= '&amp;' Name ';'</P
5833><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00005834>[ WFC: Entity Declared ]
5835In a document without any DTD, a document with only an internal DTD
5836subset which contains no parameter entity references, or a document
5837with "standalone='yes'", the Name given in the entity reference
5838must match that in an entity declaration, except that well-formed
5839documents need not declare any of the following entities: amp, lt,
5840gt, apos, quot. The declaration of a parameter entity must precede
5841any reference to it. Similarly, the declaration of a general entity
5842must precede any reference to it which appears in a default value in an
5843attribute-list declaration. Note that if entities are declared in the
5844external subset or in external parameter entities, a non-validating
5845processor is not obligated to read and process their declarations;
5846for such documents, the rule that an entity must be declared is a
5847well-formedness constraint only if standalone='yes'.</P
5848><P
5849>[ WFC: Parsed Entity ]
5850An entity reference must not contain the name of an unparsed entity</P
5851><P
Daniel Veillard35925471999-02-25 08:46:07 +00005852></P
5853><DIV
5854CLASS="INFORMALTABLE"
5855><P
5856></P
5857><TABLE
5858BORDER="0"
5859WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005860BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005861CELLSPACING="0"
5862CELLPADDING="4"
5863CLASS="CALSTABLE"
5864><TR
5865><TD
5866WIDTH="20%"
5867ALIGN="RIGHT"
5868VALIGN="TOP"
5869><TT
5870CLASS="PARAMETER"
5871><I
5872>ctxt</I
5873></TT
5874>&nbsp;:</TD
5875><TD
5876WIDTH="80%"
5877ALIGN="LEFT"
5878VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005879> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005880></TR
5881><TR
5882><TD
5883WIDTH="20%"
5884ALIGN="RIGHT"
5885VALIGN="TOP"
5886><I
5887CLASS="EMPHASIS"
5888>Returns</I
5889> :</TD
5890><TD
5891WIDTH="80%"
5892ALIGN="LEFT"
5893VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005894>the xmlEntityPtr if found, or NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005895></TR
5896></TABLE
5897><P
5898></P
5899></DIV
5900></DIV
5901><HR><DIV
5902CLASS="REFSECT2"
5903><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005904NAME="AEN12166"
Daniel Veillard35925471999-02-25 08:46:07 +00005905></A
5906><H3
5907><A
5908NAME="XMLPARSEREFERENCE"
5909></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005910>xmlParseReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005911><TABLE
5912BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005913BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005914WIDTH="100%"
5915CELLPADDING="6"
5916><TR
5917><TD
5918><PRE
5919CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005920>void xmlParseReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005921HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5922>xmlParserCtxtPtr</A
5923> ctxt);</PRE
5924></TD
5925></TR
5926></TABLE
5927><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00005928>parse and handle entity references in content, depending on the SAX
5929interface, this may end-up in a call to <GTKDOCLINK
5930HREF="CHARACTER"
5931>character</GTKDOCLINK
5932>() if this is a
Daniel Veillard294cbca1999-12-03 13:19:09 +00005933CharRef, a predefined entity, if there is no <A
5934HREF="gnome-xml-sax.html#REFERENCE"
5935>reference</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005936>() callback.
5937or if the parser was asked to switch to that mode.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005938><P
5939>[67] Reference ::= EntityRef | CharRef</P
5940><P
5941></P
5942><DIV
5943CLASS="INFORMALTABLE"
5944><P
5945></P
5946><TABLE
5947BORDER="0"
5948WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005949BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005950CELLSPACING="0"
5951CELLPADDING="4"
5952CLASS="CALSTABLE"
5953><TR
5954><TD
5955WIDTH="20%"
5956ALIGN="RIGHT"
5957VALIGN="TOP"
5958><TT
5959CLASS="PARAMETER"
5960><I
5961>ctxt</I
5962></TT
5963>&nbsp;:</TD
5964><TD
5965WIDTH="80%"
5966ALIGN="LEFT"
5967VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00005968> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005969></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005970></TABLE
5971><P
5972></P
5973></DIV
5974></DIV
5975><HR><DIV
5976CLASS="REFSECT2"
5977><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00005978NAME="AEN12185"
Daniel Veillard35925471999-02-25 08:46:07 +00005979></A
5980><H3
5981><A
5982NAME="XMLPARSEPEREFERENCE"
5983></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005984>xmlParsePEReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005985><TABLE
5986BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005987BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005988WIDTH="100%"
5989CELLPADDING="6"
5990><TR
5991><TD
5992><PRE
5993CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005994>void xmlParsePEReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005995HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5996>xmlParserCtxtPtr</A
5997> ctxt);</PRE
5998></TD
5999></TR
6000></TABLE
6001><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00006002>parse PEReference declarations
6003The entity content is handled directly by pushing it's content as
6004a new input stream.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006005><P
6006>[69] PEReference ::= '%' Name ';'</P
6007><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006008>[ WFC: No Recursion ]
6009TODO A parsed entity must not contain a recursive
6010reference to itself, either directly or indirectly. </P
6011><P
6012>[ WFC: Entity Declared ]
6013In a document without any DTD, a document with only an internal DTD
6014subset which contains no parameter entity references, or a document
6015with "standalone='yes'", ... ... The declaration of a parameter
6016entity must precede any reference to it...</P
6017><P
6018>[ VC: Entity Declared ]
6019In a document with an external subset or external parameter entities
6020with "standalone='no'", ... ... The declaration of a parameter entity
6021must precede any reference to it...</P
6022><P
6023>[ WFC: In DTD ]
6024Parameter-entity references may only appear in the DTD.
6025NOTE: misleading but this is handled.</P
6026><P
Daniel Veillard35925471999-02-25 08:46:07 +00006027></P
6028><DIV
6029CLASS="INFORMALTABLE"
6030><P
6031></P
6032><TABLE
6033BORDER="0"
6034WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006035BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006036CELLSPACING="0"
6037CELLPADDING="4"
6038CLASS="CALSTABLE"
6039><TR
6040><TD
6041WIDTH="20%"
6042ALIGN="RIGHT"
6043VALIGN="TOP"
6044><TT
6045CLASS="PARAMETER"
6046><I
6047>ctxt</I
6048></TT
6049>&nbsp;:</TD
6050><TD
6051WIDTH="80%"
6052ALIGN="LEFT"
6053VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006054> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006055></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006056></TABLE
6057><P
6058></P
6059></DIV
6060></DIV
6061><HR><DIV
6062CLASS="REFSECT2"
6063><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006064NAME="AEN12206"
Daniel Veillard35925471999-02-25 08:46:07 +00006065></A
6066><H3
6067><A
6068NAME="XMLPARSEDOCTYPEDECL"
6069></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006070>xmlParseDocTypeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006071><TABLE
6072BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006073BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006074WIDTH="100%"
6075CELLPADDING="6"
6076><TR
6077><TD
6078><PRE
6079CLASS="PROGRAMLISTING"
6080>void xmlParseDocTypeDecl (<A
6081HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6082>xmlParserCtxtPtr</A
6083> ctxt);</PRE
6084></TD
6085></TR
6086></TABLE
6087><P
6088>parse a DOCTYPE declaration</P
6089><P
6090>[28] doctypedecl ::= '&lt;!DOCTYPE' S Name (S ExternalID)? S?
6091('[' (markupdecl | PEReference | S)* ']' S?)? '&gt;'</P
6092><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006093>[ VC: Root Element Type ]
6094The Name in the document type declaration must match the element
6095type of the root element.</P
6096><P
Daniel Veillard35925471999-02-25 08:46:07 +00006097></P
6098><DIV
6099CLASS="INFORMALTABLE"
6100><P
6101></P
6102><TABLE
6103BORDER="0"
6104WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006105BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006106CELLSPACING="0"
6107CELLPADDING="4"
6108CLASS="CALSTABLE"
6109><TR
6110><TD
6111WIDTH="20%"
6112ALIGN="RIGHT"
6113VALIGN="TOP"
6114><TT
6115CLASS="PARAMETER"
6116><I
6117>ctxt</I
6118></TT
6119>&nbsp;:</TD
6120><TD
6121WIDTH="80%"
6122ALIGN="LEFT"
6123VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006124> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006125></TR
6126></TABLE
6127><P
6128></P
6129></DIV
6130></DIV
6131><HR><DIV
6132CLASS="REFSECT2"
6133><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006134NAME="AEN12224"
Daniel Veillard35925471999-02-25 08:46:07 +00006135></A
6136><H3
6137><A
6138NAME="XMLPARSEATTRIBUTE"
6139></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006140>xmlParseAttribute ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006141><TABLE
6142BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006143BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006144WIDTH="100%"
6145CELLPADDING="6"
6146><TR
6147><TD
6148><PRE
6149CLASS="PROGRAMLISTING"
6150><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006151HREF="gnome-xml-tree.html#XMLCHAR"
6152>xmlChar</A
6153>* xmlParseAttribute (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006154HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6155>xmlParserCtxtPtr</A
6156> ctxt,
6157 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006158HREF="gnome-xml-tree.html#XMLCHAR"
6159>xmlChar</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006160> **value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00006161></TD
6162></TR
6163></TABLE
6164><P
6165>parse an attribute</P
6166><P
6167>[41] Attribute ::= Name Eq AttValue</P
6168><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006169>[ WFC: No External Entity References ]
6170Attribute values cannot contain direct or indirect entity references
6171to external entities.</P
6172><P
6173>[ WFC: No &lt; in Attribute Values ]
6174The replacement text of any entity referred to directly or indirectly in
6175an attribute value (other than "&amp;lt;") must not contain a &lt;. </P
6176><P
6177>[ VC: Attribute Value Type ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006178The attribute must have been declared; the value must be of the type
Daniel Veillardb05deb71999-08-10 19:04:08 +00006179declared for it.</P
6180><P
Daniel Veillard35925471999-02-25 08:46:07 +00006181>[25] Eq ::= S? '=' S?</P
6182><P
6183>With namespace:</P
6184><P
6185>[NS 11] Attribute ::= QName Eq AttValue</P
6186><P
6187>Also the case QName == xmlns:??? is handled independently as a namespace
6188definition.</P
6189><P
6190></P
6191><DIV
6192CLASS="INFORMALTABLE"
6193><P
6194></P
6195><TABLE
6196BORDER="0"
6197WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006198BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006199CELLSPACING="0"
6200CELLPADDING="4"
6201CLASS="CALSTABLE"
6202><TR
6203><TD
6204WIDTH="20%"
6205ALIGN="RIGHT"
6206VALIGN="TOP"
6207><TT
6208CLASS="PARAMETER"
6209><I
6210>ctxt</I
6211></TT
6212>&nbsp;:</TD
6213><TD
6214WIDTH="80%"
6215ALIGN="LEFT"
6216VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006217> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006218></TR
6219><TR
6220><TD
6221WIDTH="20%"
6222ALIGN="RIGHT"
6223VALIGN="TOP"
6224><TT
6225CLASS="PARAMETER"
6226><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00006227>value</I
Daniel Veillard35925471999-02-25 08:46:07 +00006228></TT
6229>&nbsp;:</TD
6230><TD
6231WIDTH="80%"
6232ALIGN="LEFT"
6233VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006234> a xmlChar ** used to store the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006235></TR
6236><TR
6237><TD
6238WIDTH="20%"
6239ALIGN="RIGHT"
6240VALIGN="TOP"
6241><I
6242CLASS="EMPHASIS"
6243>Returns</I
6244> :</TD
6245><TD
6246WIDTH="80%"
6247ALIGN="LEFT"
6248VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006249>the attribute name, and the value in *value.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006250></TR
6251></TABLE
6252><P
6253></P
6254></DIV
6255></DIV
6256><HR><DIV
6257CLASS="REFSECT2"
6258><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006259NAME="AEN12258"
Daniel Veillard35925471999-02-25 08:46:07 +00006260></A
6261><H3
6262><A
6263NAME="XMLPARSESTARTTAG"
6264></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006265>xmlParseStartTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006266><TABLE
6267BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006268BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006269WIDTH="100%"
6270CELLPADDING="6"
6271><TR
6272><TD
6273><PRE
6274CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00006275><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006276HREF="gnome-xml-tree.html#XMLCHAR"
6277>xmlChar</A
6278>* xmlParseStartTag (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006279HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6280>xmlParserCtxtPtr</A
6281> ctxt);</PRE
6282></TD
6283></TR
6284></TABLE
6285><P
6286>parse a start of tag either for rule element or
6287EmptyElement. In both case we don't parse the tag closing chars.</P
6288><P
6289>[40] STag ::= '&lt;' Name (S Attribute)* S? '&gt;'</P
6290><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006291>[ WFC: Unique Att Spec ]
6292No attribute name may appear more than once in the same start-tag or
6293empty-element tag. </P
6294><P
Daniel Veillard35925471999-02-25 08:46:07 +00006295>[44] EmptyElemTag ::= '&lt;' Name (S Attribute)* S? '/&gt;'</P
6296><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006297>[ WFC: Unique Att Spec ]
6298No attribute name may appear more than once in the same start-tag or
6299empty-element tag. </P
6300><P
Daniel Veillard35925471999-02-25 08:46:07 +00006301>With namespace:</P
6302><P
6303>[NS 8] STag ::= '&lt;' QName (S Attribute)* S? '&gt;'</P
6304><P
6305>[NS 10] EmptyElement ::= '&lt;' QName (S Attribute)* S? '/&gt;'</P
6306><P
Daniel Veillardf3a73582000-01-05 14:58:39 +00006307>Returne the element name parsed</P
6308><P
Daniel Veillard35925471999-02-25 08:46:07 +00006309></P
6310><DIV
6311CLASS="INFORMALTABLE"
6312><P
6313></P
6314><TABLE
6315BORDER="0"
6316WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006317BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006318CELLSPACING="0"
6319CELLPADDING="4"
6320CLASS="CALSTABLE"
6321><TR
6322><TD
6323WIDTH="20%"
6324ALIGN="RIGHT"
6325VALIGN="TOP"
6326><TT
6327CLASS="PARAMETER"
6328><I
6329>ctxt</I
6330></TT
6331>&nbsp;:</TD
6332><TD
6333WIDTH="80%"
6334ALIGN="LEFT"
6335VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006336> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006337></TR
Daniel Veillard14fff061999-06-22 21:49:07 +00006338><TR
6339><TD
6340WIDTH="20%"
6341ALIGN="RIGHT"
6342VALIGN="TOP"
6343><I
6344CLASS="EMPHASIS"
6345>Returns</I
6346> :</TD
6347><TD
6348WIDTH="80%"
6349ALIGN="LEFT"
6350VALIGN="TOP"
Daniel Veillard4c3a2031999-11-19 17:46:26 +00006351>&nbsp;</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006352></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006353></TABLE
6354><P
6355></P
6356></DIV
6357></DIV
6358><HR><DIV
6359CLASS="REFSECT2"
6360><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006361NAME="AEN12287"
Daniel Veillard35925471999-02-25 08:46:07 +00006362></A
6363><H3
6364><A
6365NAME="XMLPARSEENDTAG"
6366></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006367>xmlParseEndTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006368><TABLE
6369BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006370BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006371WIDTH="100%"
6372CELLPADDING="6"
6373><TR
6374><TD
6375><PRE
6376CLASS="PROGRAMLISTING"
6377>void xmlParseEndTag (<A
6378HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6379>xmlParserCtxtPtr</A
Daniel Veillardbe849cf1999-12-28 16:43:59 +00006380> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00006381></TD
6382></TR
6383></TABLE
6384><P
6385>parse an end of tag</P
6386><P
6387>[42] ETag ::= '&lt;/' Name S? '&gt;'</P
6388><P
6389>With namespace</P
6390><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00006391>[NS 9] ETag ::= '&lt;/' QName S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00006392><P
6393></P
6394><DIV
6395CLASS="INFORMALTABLE"
6396><P
6397></P
6398><TABLE
6399BORDER="0"
6400WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006401BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006402CELLSPACING="0"
6403CELLPADDING="4"
6404CLASS="CALSTABLE"
6405><TR
6406><TD
6407WIDTH="20%"
6408ALIGN="RIGHT"
6409VALIGN="TOP"
6410><TT
6411CLASS="PARAMETER"
6412><I
6413>ctxt</I
6414></TT
6415>&nbsp;:</TD
6416><TD
6417WIDTH="80%"
6418ALIGN="LEFT"
6419VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006420> an XML parser context</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006421></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006422></TABLE
6423><P
6424></P
6425></DIV
6426></DIV
6427><HR><DIV
6428CLASS="REFSECT2"
6429><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006430NAME="AEN12306"
Daniel Veillard35925471999-02-25 08:46:07 +00006431></A
6432><H3
6433><A
6434NAME="XMLPARSECDSECT"
6435></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006436>xmlParseCDSect ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006437><TABLE
6438BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006439BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006440WIDTH="100%"
6441CELLPADDING="6"
6442><TR
6443><TD
6444><PRE
6445CLASS="PROGRAMLISTING"
6446>void xmlParseCDSect (<A
6447HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6448>xmlParserCtxtPtr</A
6449> ctxt);</PRE
6450></TD
6451></TR
6452></TABLE
6453><P
6454>Parse escaped pure raw content.</P
6455><P
6456>[18] CDSect ::= CDStart CData CDEnd</P
6457><P
6458>[19] CDStart ::= '&lt;![CDATA['</P
6459><P
6460>[20] Data ::= (Char* - (Char* ']]&gt;' Char*))</P
6461><P
6462>[21] CDEnd ::= ']]&gt;'</P
6463><P
6464></P
6465><DIV
6466CLASS="INFORMALTABLE"
6467><P
6468></P
6469><TABLE
6470BORDER="0"
6471WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006472BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006473CELLSPACING="0"
6474CELLPADDING="4"
6475CLASS="CALSTABLE"
6476><TR
6477><TD
6478WIDTH="20%"
6479ALIGN="RIGHT"
6480VALIGN="TOP"
6481><TT
6482CLASS="PARAMETER"
6483><I
6484>ctxt</I
6485></TT
6486>&nbsp;:</TD
6487><TD
6488WIDTH="80%"
6489ALIGN="LEFT"
6490VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006491> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006492></TR
6493></TABLE
6494><P
6495></P
6496></DIV
6497></DIV
6498><HR><DIV
6499CLASS="REFSECT2"
6500><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006501NAME="AEN12326"
Daniel Veillard35925471999-02-25 08:46:07 +00006502></A
6503><H3
6504><A
6505NAME="XMLPARSECONTENT"
6506></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006507>xmlParseContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006508><TABLE
6509BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006510BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006511WIDTH="100%"
6512CELLPADDING="6"
6513><TR
6514><TD
6515><PRE
6516CLASS="PROGRAMLISTING"
6517>void xmlParseContent (<A
6518HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6519>xmlParserCtxtPtr</A
6520> ctxt);</PRE
6521></TD
6522></TR
6523></TABLE
6524><P
6525>Parse a content:</P
6526><P
6527>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
6528><P
6529></P
6530><DIV
6531CLASS="INFORMALTABLE"
6532><P
6533></P
6534><TABLE
6535BORDER="0"
6536WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006537BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006538CELLSPACING="0"
6539CELLPADDING="4"
6540CLASS="CALSTABLE"
6541><TR
6542><TD
6543WIDTH="20%"
6544ALIGN="RIGHT"
6545VALIGN="TOP"
6546><TT
6547CLASS="PARAMETER"
6548><I
6549>ctxt</I
6550></TT
6551>&nbsp;:</TD
6552><TD
6553WIDTH="80%"
6554ALIGN="LEFT"
6555VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006556> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006557></TR
6558></TABLE
6559><P
6560></P
6561></DIV
6562></DIV
6563><HR><DIV
6564CLASS="REFSECT2"
6565><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006566NAME="AEN12343"
Daniel Veillard35925471999-02-25 08:46:07 +00006567></A
6568><H3
6569><A
6570NAME="XMLPARSEELEMENT"
6571></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006572>xmlParseElement ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006573><TABLE
6574BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006575BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006576WIDTH="100%"
6577CELLPADDING="6"
6578><TR
6579><TD
6580><PRE
6581CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00006582>void xmlParseElement (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006583HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6584>xmlParserCtxtPtr</A
6585> ctxt);</PRE
6586></TD
6587></TR
6588></TABLE
6589><P
6590>parse an XML element, this is highly recursive</P
6591><P
6592>[39] element ::= EmptyElemTag | STag content ETag</P
6593><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00006594>[ WFC: Element Type Match ]
6595The Name in an element's end-tag must match the element type in the
6596start-tag. </P
6597><P
6598>[ VC: Element Valid ]
Daniel Veillard6bd26dc1999-09-03 14:28:40 +00006599An element is valid if there is a declaration matching elementdecl
Daniel Veillardb05deb71999-08-10 19:04:08 +00006600where the Name matches the element type and one of the following holds:
6601- The declaration matches EMPTY and the element has no content.
6602- The declaration matches children and the sequence of child elements
6603belongs to the language generated by the regular expression in the
6604content model, with optional white space (characters matching the
6605nonterminal S) between each pair of child elements.
6606- The declaration matches Mixed and the content consists of character
6607data and child elements whose types match names in the content model.
6608- The declaration matches ANY, and the types of any child elements have
6609been declared.</P
Daniel Veillard35925471999-02-25 08:46:07 +00006610><P
6611></P
6612><DIV
6613CLASS="INFORMALTABLE"
6614><P
6615></P
6616><TABLE
6617BORDER="0"
6618WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006619BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006620CELLSPACING="0"
6621CELLPADDING="4"
6622CLASS="CALSTABLE"
6623><TR
6624><TD
6625WIDTH="20%"
6626ALIGN="RIGHT"
6627VALIGN="TOP"
6628><TT
6629CLASS="PARAMETER"
6630><I
6631>ctxt</I
6632></TT
6633>&nbsp;:</TD
6634><TD
6635WIDTH="80%"
6636ALIGN="LEFT"
6637VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006638> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006639></TR
Daniel Veillard35925471999-02-25 08:46:07 +00006640></TABLE
6641><P
6642></P
6643></DIV
6644></DIV
6645><HR><DIV
6646CLASS="REFSECT2"
6647><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006648NAME="AEN12362"
Daniel Veillard35925471999-02-25 08:46:07 +00006649></A
6650><H3
6651><A
6652NAME="XMLPARSEVERSIONNUM"
6653></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006654>xmlParseVersionNum ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006655><TABLE
6656BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006657BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006658WIDTH="100%"
6659CELLPADDING="6"
6660><TR
6661><TD
6662><PRE
6663CLASS="PROGRAMLISTING"
6664><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006665HREF="gnome-xml-tree.html#XMLCHAR"
6666>xmlChar</A
6667>* xmlParseVersionNum (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006668HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6669>xmlParserCtxtPtr</A
6670> ctxt);</PRE
6671></TD
6672></TR
6673></TABLE
6674><P
6675>parse the XML version value.</P
6676><P
6677>[26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</P
6678><P
6679></P
6680><DIV
6681CLASS="INFORMALTABLE"
6682><P
6683></P
6684><TABLE
6685BORDER="0"
6686WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006687BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006688CELLSPACING="0"
6689CELLPADDING="4"
6690CLASS="CALSTABLE"
6691><TR
6692><TD
6693WIDTH="20%"
6694ALIGN="RIGHT"
6695VALIGN="TOP"
6696><TT
6697CLASS="PARAMETER"
6698><I
6699>ctxt</I
6700></TT
6701>&nbsp;:</TD
6702><TD
6703WIDTH="80%"
6704ALIGN="LEFT"
6705VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006706> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006707></TR
6708><TR
6709><TD
6710WIDTH="20%"
6711ALIGN="RIGHT"
6712VALIGN="TOP"
6713><I
6714CLASS="EMPHASIS"
6715>Returns</I
6716> :</TD
6717><TD
6718WIDTH="80%"
6719ALIGN="LEFT"
6720VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006721>the string giving the XML version number, or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006722></TR
6723></TABLE
6724><P
6725></P
6726></DIV
6727></DIV
6728><HR><DIV
6729CLASS="REFSECT2"
6730><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006731NAME="AEN12384"
Daniel Veillard35925471999-02-25 08:46:07 +00006732></A
6733><H3
6734><A
6735NAME="XMLPARSEVERSIONINFO"
6736></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006737>xmlParseVersionInfo ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006738><TABLE
6739BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006740BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006741WIDTH="100%"
6742CELLPADDING="6"
6743><TR
6744><TD
6745><PRE
6746CLASS="PROGRAMLISTING"
6747><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006748HREF="gnome-xml-tree.html#XMLCHAR"
6749>xmlChar</A
6750>* xmlParseVersionInfo (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006751HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6752>xmlParserCtxtPtr</A
6753> ctxt);</PRE
6754></TD
6755></TR
6756></TABLE
6757><P
6758>parse the XML version.</P
6759><P
6760>[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")</P
6761><P
6762>[25] Eq ::= S? '=' S?</P
6763><P
6764></P
6765><DIV
6766CLASS="INFORMALTABLE"
6767><P
6768></P
6769><TABLE
6770BORDER="0"
6771WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006772BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006773CELLSPACING="0"
6774CELLPADDING="4"
6775CLASS="CALSTABLE"
6776><TR
6777><TD
6778WIDTH="20%"
6779ALIGN="RIGHT"
6780VALIGN="TOP"
6781><TT
6782CLASS="PARAMETER"
6783><I
6784>ctxt</I
6785></TT
6786>&nbsp;:</TD
6787><TD
6788WIDTH="80%"
6789ALIGN="LEFT"
6790VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006791> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006792></TR
6793><TR
6794><TD
6795WIDTH="20%"
6796ALIGN="RIGHT"
6797VALIGN="TOP"
6798><I
6799CLASS="EMPHASIS"
6800>Returns</I
6801> :</TD
6802><TD
6803WIDTH="80%"
6804ALIGN="LEFT"
6805VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006806>the version string, e.g. "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006807></TR
6808></TABLE
6809><P
6810></P
6811></DIV
6812></DIV
6813><HR><DIV
6814CLASS="REFSECT2"
6815><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006816NAME="AEN12407"
Daniel Veillard35925471999-02-25 08:46:07 +00006817></A
6818><H3
6819><A
6820NAME="XMLPARSEENCNAME"
6821></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006822>xmlParseEncName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006823><TABLE
6824BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006825BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006826WIDTH="100%"
6827CELLPADDING="6"
6828><TR
6829><TD
6830><PRE
6831CLASS="PROGRAMLISTING"
6832><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006833HREF="gnome-xml-tree.html#XMLCHAR"
6834>xmlChar</A
6835>* xmlParseEncName (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006836HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6837>xmlParserCtxtPtr</A
6838> ctxt);</PRE
6839></TD
6840></TR
6841></TABLE
6842><P
6843>parse the XML encoding name</P
6844><P
6845>[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</P
6846><P
6847></P
6848><DIV
6849CLASS="INFORMALTABLE"
6850><P
6851></P
6852><TABLE
6853BORDER="0"
6854WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006855BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006856CELLSPACING="0"
6857CELLPADDING="4"
6858CLASS="CALSTABLE"
6859><TR
6860><TD
6861WIDTH="20%"
6862ALIGN="RIGHT"
6863VALIGN="TOP"
6864><TT
6865CLASS="PARAMETER"
6866><I
6867>ctxt</I
6868></TT
6869>&nbsp;:</TD
6870><TD
6871WIDTH="80%"
6872ALIGN="LEFT"
6873VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006874> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006875></TR
6876><TR
6877><TD
6878WIDTH="20%"
6879ALIGN="RIGHT"
6880VALIGN="TOP"
6881><I
6882CLASS="EMPHASIS"
6883>Returns</I
6884> :</TD
6885><TD
6886WIDTH="80%"
6887ALIGN="LEFT"
6888VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006889>the encoding name value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006890></TR
6891></TABLE
6892><P
6893></P
6894></DIV
6895></DIV
6896><HR><DIV
6897CLASS="REFSECT2"
6898><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006899NAME="AEN12429"
Daniel Veillard35925471999-02-25 08:46:07 +00006900></A
6901><H3
6902><A
6903NAME="XMLPARSEENCODINGDECL"
6904></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006905>xmlParseEncodingDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006906><TABLE
6907BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006908BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006909WIDTH="100%"
6910CELLPADDING="6"
6911><TR
6912><TD
6913><PRE
6914CLASS="PROGRAMLISTING"
6915><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00006916HREF="gnome-xml-tree.html#XMLCHAR"
6917>xmlChar</A
6918>* xmlParseEncodingDecl (<A
Daniel Veillard35925471999-02-25 08:46:07 +00006919HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6920>xmlParserCtxtPtr</A
6921> ctxt);</PRE
6922></TD
6923></TR
6924></TABLE
6925><P
6926>parse the XML encoding declaration</P
6927><P
6928>[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")</P
6929><P
6930>TODO: this should setup the conversion filters.</P
6931><P
6932></P
6933><DIV
6934CLASS="INFORMALTABLE"
6935><P
6936></P
6937><TABLE
6938BORDER="0"
6939WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006940BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006941CELLSPACING="0"
6942CELLPADDING="4"
6943CLASS="CALSTABLE"
6944><TR
6945><TD
6946WIDTH="20%"
6947ALIGN="RIGHT"
6948VALIGN="TOP"
6949><TT
6950CLASS="PARAMETER"
6951><I
6952>ctxt</I
6953></TT
6954>&nbsp;:</TD
6955><TD
6956WIDTH="80%"
6957ALIGN="LEFT"
6958VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006959> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006960></TR
6961><TR
6962><TD
6963WIDTH="20%"
6964ALIGN="RIGHT"
6965VALIGN="TOP"
6966><I
6967CLASS="EMPHASIS"
6968>Returns</I
6969> :</TD
6970><TD
6971WIDTH="80%"
6972ALIGN="LEFT"
6973VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00006974>the encoding value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006975></TR
6976></TABLE
6977><P
6978></P
6979></DIV
6980></DIV
6981><HR><DIV
6982CLASS="REFSECT2"
6983><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00006984NAME="AEN12452"
Daniel Veillard35925471999-02-25 08:46:07 +00006985></A
6986><H3
6987><A
6988NAME="XMLPARSESDDECL"
6989></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006990>xmlParseSDDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006991><TABLE
6992BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006993BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006994WIDTH="100%"
6995CELLPADDING="6"
6996><TR
6997><TD
6998><PRE
6999CLASS="PROGRAMLISTING"
7000>int xmlParseSDDecl (<A
7001HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7002>xmlParserCtxtPtr</A
7003> ctxt);</PRE
7004></TD
7005></TR
7006></TABLE
7007><P
7008>parse the XML standalone declaration</P
7009><P
7010>[32] SDDecl ::= S 'standalone' Eq
Daniel Veillardb05deb71999-08-10 19:04:08 +00007011(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"')) </P
7012><P
7013>[ VC: Standalone Document Declaration ]
7014TODO The standalone document declaration must have the value "no"
7015if any external markup declarations contain declarations of:
7016- attributes with default values, if elements to which these
7017attributes apply appear in the document without specifications
7018of values for these attributes, or
7019- entities (other than amp, lt, gt, apos, quot), if references
7020to those entities appear in the document, or
7021- attributes with values subject to normalization, where the
7022attribute appears in the document with a value which will change
7023as a result of normalization, or
7024- element types with element content, if white space occurs directly
7025within any instance of those types.</P
Daniel Veillard35925471999-02-25 08:46:07 +00007026><P
7027></P
7028><DIV
7029CLASS="INFORMALTABLE"
7030><P
7031></P
7032><TABLE
7033BORDER="0"
7034WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007035BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007036CELLSPACING="0"
7037CELLPADDING="4"
7038CLASS="CALSTABLE"
7039><TR
7040><TD
7041WIDTH="20%"
7042ALIGN="RIGHT"
7043VALIGN="TOP"
7044><TT
7045CLASS="PARAMETER"
7046><I
7047>ctxt</I
7048></TT
7049>&nbsp;:</TD
7050><TD
7051WIDTH="80%"
7052ALIGN="LEFT"
7053VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007054> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007055></TR
7056><TR
7057><TD
7058WIDTH="20%"
7059ALIGN="RIGHT"
7060VALIGN="TOP"
7061><I
7062CLASS="EMPHASIS"
7063>Returns</I
7064> :</TD
7065><TD
7066WIDTH="80%"
7067ALIGN="LEFT"
7068VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007069>1 if standalone, 0 otherwise</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007070></TR
7071></TABLE
7072><P
7073></P
7074></DIV
7075></DIV
7076><HR><DIV
7077CLASS="REFSECT2"
7078><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007079NAME="AEN12474"
Daniel Veillard35925471999-02-25 08:46:07 +00007080></A
7081><H3
7082><A
7083NAME="XMLPARSEXMLDECL"
7084></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007085>xmlParseXMLDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007086><TABLE
7087BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007088BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007089WIDTH="100%"
7090CELLPADDING="6"
7091><TR
7092><TD
7093><PRE
7094CLASS="PROGRAMLISTING"
7095>void xmlParseXMLDecl (<A
7096HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7097>xmlParserCtxtPtr</A
7098> ctxt);</PRE
7099></TD
7100></TR
7101></TABLE
7102><P
7103>parse an XML declaration header</P
7104><P
7105>[23] XMLDecl ::= '&lt;?xml' VersionInfo EncodingDecl? SDDecl? S? '?&gt;'</P
7106><P
7107></P
7108><DIV
7109CLASS="INFORMALTABLE"
7110><P
7111></P
7112><TABLE
7113BORDER="0"
7114WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007115BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007116CELLSPACING="0"
7117CELLPADDING="4"
7118CLASS="CALSTABLE"
7119><TR
7120><TD
7121WIDTH="20%"
7122ALIGN="RIGHT"
7123VALIGN="TOP"
7124><TT
7125CLASS="PARAMETER"
7126><I
7127>ctxt</I
7128></TT
7129>&nbsp;:</TD
7130><TD
7131WIDTH="80%"
7132ALIGN="LEFT"
7133VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007134> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007135></TR
7136></TABLE
7137><P
7138></P
7139></DIV
7140></DIV
7141><HR><DIV
7142CLASS="REFSECT2"
7143><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007144NAME="AEN12491"
7145></A
7146><H3
7147><A
7148NAME="XMLPARSETEXTDECL"
7149></A
7150>xmlParseTextDecl ()</H3
7151><TABLE
7152BORDER="0"
7153BGCOLOR="#D6E8FF"
7154WIDTH="100%"
7155CELLPADDING="6"
7156><TR
7157><TD
7158><PRE
7159CLASS="PROGRAMLISTING"
7160>void xmlParseTextDecl (<A
7161HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7162>xmlParserCtxtPtr</A
7163> ctxt);</PRE
7164></TD
7165></TR
7166></TABLE
7167><P
7168>parse an XML declaration header for external entities</P
7169><P
7170>[77] TextDecl ::= '&lt;?xml' VersionInfo? EncodingDecl S? '?&gt;'</P
7171><P
7172>Question: Seems that EncodingDecl is mandatory ? Is that a typo ?</P
7173><P
7174></P
7175><DIV
7176CLASS="INFORMALTABLE"
7177><P
7178></P
7179><TABLE
7180BORDER="0"
7181WIDTH="100%"
7182BGCOLOR="#FFD0D0"
7183CELLSPACING="0"
7184CELLPADDING="4"
7185CLASS="CALSTABLE"
7186><TR
7187><TD
7188WIDTH="20%"
7189ALIGN="RIGHT"
7190VALIGN="TOP"
7191><TT
7192CLASS="PARAMETER"
7193><I
7194>ctxt</I
7195></TT
7196>&nbsp;:</TD
7197><TD
7198WIDTH="80%"
7199ALIGN="LEFT"
7200VALIGN="TOP"
7201> an XML parser context</TD
7202></TR
7203></TABLE
7204><P
7205></P
7206></DIV
7207></DIV
7208><HR><DIV
7209CLASS="REFSECT2"
7210><A
7211NAME="AEN12509"
Daniel Veillard35925471999-02-25 08:46:07 +00007212></A
7213><H3
7214><A
7215NAME="XMLPARSEMISC"
7216></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007217>xmlParseMisc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00007218><TABLE
7219BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007220BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00007221WIDTH="100%"
7222CELLPADDING="6"
7223><TR
7224><TD
7225><PRE
7226CLASS="PROGRAMLISTING"
7227>void xmlParseMisc (<A
7228HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7229>xmlParserCtxtPtr</A
7230> ctxt);</PRE
7231></TD
7232></TR
7233></TABLE
7234><P
7235>parse an XML Misc* optionnal field.</P
7236><P
7237>[27] Misc ::= Comment | PI | S</P
7238><P
7239></P
7240><DIV
7241CLASS="INFORMALTABLE"
7242><P
7243></P
7244><TABLE
7245BORDER="0"
7246WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007247BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00007248CELLSPACING="0"
7249CELLPADDING="4"
7250CLASS="CALSTABLE"
7251><TR
7252><TD
7253WIDTH="20%"
7254ALIGN="RIGHT"
7255VALIGN="TOP"
7256><TT
7257CLASS="PARAMETER"
7258><I
7259>ctxt</I
7260></TT
7261>&nbsp;:</TD
7262><TD
7263WIDTH="80%"
7264ALIGN="LEFT"
7265VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007266> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007267></TR
7268></TABLE
7269><P
7270></P
7271></DIV
7272></DIV
Daniel Veillard011b63c1999-06-02 17:44:04 +00007273><HR><DIV
7274CLASS="REFSECT2"
7275><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007276NAME="AEN12526"
Daniel Veillardb05deb71999-08-10 19:04:08 +00007277></A
7278><H3
7279><A
7280NAME="XMLPARSEEXTERNALSUBSET"
7281></A
7282>xmlParseExternalSubset ()</H3
7283><TABLE
7284BORDER="0"
7285BGCOLOR="#D6E8FF"
7286WIDTH="100%"
7287CELLPADDING="6"
7288><TR
7289><TD
7290><PRE
7291CLASS="PROGRAMLISTING"
7292>void xmlParseExternalSubset (<A
7293HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7294>xmlParserCtxtPtr</A
7295> ctxt,
7296 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007297HREF="gnome-xml-tree.html#XMLCHAR"
7298>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007299> *ExternalID,
7300 const <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007301HREF="gnome-xml-tree.html#XMLCHAR"
7302>xmlChar</A
Daniel Veillardb05deb71999-08-10 19:04:08 +00007303> *SystemID);</PRE
7304></TD
7305></TR
7306></TABLE
7307><P
7308>parse Markup declarations from an external subset</P
7309><P
7310>[30] extSubset ::= textDecl? extSubsetDecl</P
7311><P
7312>[31] extSubsetDecl ::= (markupdecl | conditionalSect | PEReference | S) *</P
7313><P
Daniel Veillardb05deb71999-08-10 19:04:08 +00007314></P
7315><DIV
7316CLASS="INFORMALTABLE"
7317><P
7318></P
7319><TABLE
7320BORDER="0"
7321WIDTH="100%"
7322BGCOLOR="#FFD0D0"
7323CELLSPACING="0"
7324CELLPADDING="4"
7325CLASS="CALSTABLE"
7326><TR
7327><TD
7328WIDTH="20%"
7329ALIGN="RIGHT"
7330VALIGN="TOP"
7331><TT
7332CLASS="PARAMETER"
7333><I
7334>ctxt</I
7335></TT
7336>&nbsp;:</TD
7337><TD
7338WIDTH="80%"
7339ALIGN="LEFT"
7340VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007341> an XML parser context</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007342></TR
7343><TR
7344><TD
7345WIDTH="20%"
7346ALIGN="RIGHT"
7347VALIGN="TOP"
7348><TT
7349CLASS="PARAMETER"
7350><I
7351>ExternalID</I
7352></TT
7353>&nbsp;:</TD
7354><TD
7355WIDTH="80%"
7356ALIGN="LEFT"
7357VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007358> the external identifier</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007359></TR
7360><TR
7361><TD
7362WIDTH="20%"
7363ALIGN="RIGHT"
7364VALIGN="TOP"
7365><TT
7366CLASS="PARAMETER"
7367><I
7368>SystemID</I
7369></TT
7370>&nbsp;:</TD
7371><TD
7372WIDTH="80%"
7373ALIGN="LEFT"
7374VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007375> the system identifier (or URL)</TD
Daniel Veillardb05deb71999-08-10 19:04:08 +00007376></TR
7377></TABLE
7378><P
7379></P
7380></DIV
7381></DIV
7382><HR><DIV
7383CLASS="REFSECT2"
7384><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007385NAME="AEN12554"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007386></A
7387><H3
7388><A
7389NAME="XML-SUBSTITUTE-NONE"
7390></A
7391>XML_SUBSTITUTE_NONE</H3
7392><TABLE
7393BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007394BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007395WIDTH="100%"
7396CELLPADDING="6"
7397><TR
7398><TD
7399><PRE
7400CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007401>#define XML_SUBSTITUTE_NONE 0</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007402></TD
7403></TR
7404></TABLE
7405><P
7406></P
7407></DIV
7408><HR><DIV
7409CLASS="REFSECT2"
7410><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007411NAME="AEN12559"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007412></A
7413><H3
7414><A
7415NAME="XML-SUBSTITUTE-REF"
7416></A
7417>XML_SUBSTITUTE_REF</H3
7418><TABLE
7419BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007420BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007421WIDTH="100%"
7422CELLPADDING="6"
7423><TR
7424><TD
7425><PRE
7426CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007427>#define XML_SUBSTITUTE_REF 1</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007428></TD
7429></TR
7430></TABLE
7431><P
7432></P
7433></DIV
7434><HR><DIV
7435CLASS="REFSECT2"
7436><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007437NAME="AEN12564"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007438></A
7439><H3
7440><A
7441NAME="XML-SUBSTITUTE-PEREF"
7442></A
7443>XML_SUBSTITUTE_PEREF</H3
7444><TABLE
7445BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007446BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007447WIDTH="100%"
7448CELLPADDING="6"
7449><TR
7450><TD
7451><PRE
7452CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007453>#define XML_SUBSTITUTE_PEREF 2</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007454></TD
7455></TR
7456></TABLE
7457><P
7458></P
7459></DIV
7460><HR><DIV
7461CLASS="REFSECT2"
7462><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007463NAME="AEN12569"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007464></A
7465><H3
7466><A
7467NAME="XML-SUBSTITUTE-BOTH"
7468></A
7469>XML_SUBSTITUTE_BOTH</H3
7470><TABLE
7471BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007472BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007473WIDTH="100%"
7474CELLPADDING="6"
7475><TR
7476><TD
7477><PRE
7478CLASS="PROGRAMLISTING"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007479>#define XML_SUBSTITUTE_BOTH 3</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00007480></TD
7481></TR
7482></TABLE
7483><P
7484></P
7485></DIV
7486><HR><DIV
7487CLASS="REFSECT2"
7488><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007489NAME="AEN12574"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007490></A
7491><H3
7492><A
7493NAME="XMLDECODEENTITIES"
7494></A
Daniel Veillard14fff061999-06-22 21:49:07 +00007495>xmlDecodeEntities ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00007496><TABLE
7497BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007498BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007499WIDTH="100%"
7500CELLPADDING="6"
7501><TR
7502><TD
7503><PRE
7504CLASS="PROGRAMLISTING"
7505><A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007506HREF="gnome-xml-tree.html#XMLCHAR"
7507>xmlChar</A
7508>* xmlDecodeEntities (<A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007509HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7510>xmlParserCtxtPtr</A
7511> ctxt,
7512 int len,
7513 int what,
7514 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007515HREF="gnome-xml-tree.html#XMLCHAR"
7516>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007517> end,
7518 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007519HREF="gnome-xml-tree.html#XMLCHAR"
7520>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007521> end2,
7522 <A
Daniel Veillarddd6b3671999-09-23 22:19:22 +00007523HREF="gnome-xml-tree.html#XMLCHAR"
7524>xmlChar</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00007525> end3);</PRE
7526></TD
7527></TR
7528></TABLE
7529><P
7530>[67] Reference ::= EntityRef | CharRef</P
7531><P
7532>[69] PEReference ::= '%' Name ';'</P
7533><P
7534></P
7535><DIV
7536CLASS="INFORMALTABLE"
7537><P
7538></P
7539><TABLE
7540BORDER="0"
7541WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00007542BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00007543CELLSPACING="0"
7544CELLPADDING="4"
7545CLASS="CALSTABLE"
7546><TR
7547><TD
7548WIDTH="20%"
7549ALIGN="RIGHT"
7550VALIGN="TOP"
7551><TT
7552CLASS="PARAMETER"
7553><I
7554>ctxt</I
7555></TT
7556>&nbsp;:</TD
7557><TD
7558WIDTH="80%"
7559ALIGN="LEFT"
7560VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007561> the parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007562></TR
7563><TR
7564><TD
7565WIDTH="20%"
7566ALIGN="RIGHT"
7567VALIGN="TOP"
7568><TT
7569CLASS="PARAMETER"
7570><I
7571>len</I
7572></TT
7573>&nbsp;:</TD
7574><TD
7575WIDTH="80%"
7576ALIGN="LEFT"
7577VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007578> the len to decode (in bytes !), -1 for no size limit</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007579></TR
7580><TR
7581><TD
7582WIDTH="20%"
7583ALIGN="RIGHT"
7584VALIGN="TOP"
7585><TT
7586CLASS="PARAMETER"
7587><I
7588>what</I
7589></TT
7590>&nbsp;:</TD
7591><TD
7592WIDTH="80%"
7593ALIGN="LEFT"
7594VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007595> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007596></TR
7597><TR
7598><TD
7599WIDTH="20%"
7600ALIGN="RIGHT"
7601VALIGN="TOP"
7602><TT
7603CLASS="PARAMETER"
7604><I
7605>end</I
7606></TT
7607>&nbsp;:</TD
7608><TD
7609WIDTH="80%"
7610ALIGN="LEFT"
7611VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007612> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007613></TR
7614><TR
7615><TD
7616WIDTH="20%"
7617ALIGN="RIGHT"
7618VALIGN="TOP"
7619><TT
7620CLASS="PARAMETER"
7621><I
7622>end2</I
7623></TT
7624>&nbsp;:</TD
7625><TD
7626WIDTH="80%"
7627ALIGN="LEFT"
7628VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007629> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007630></TR
7631><TR
7632><TD
7633WIDTH="20%"
7634ALIGN="RIGHT"
7635VALIGN="TOP"
7636><TT
7637CLASS="PARAMETER"
7638><I
7639>end3</I
7640></TT
7641>&nbsp;:</TD
7642><TD
7643WIDTH="80%"
7644ALIGN="LEFT"
7645VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007646> an end marker xmlChar, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007647></TR
7648><TR
7649><TD
7650WIDTH="20%"
7651ALIGN="RIGHT"
7652VALIGN="TOP"
7653><I
7654CLASS="EMPHASIS"
7655>Returns</I
7656> :</TD
7657><TD
7658WIDTH="80%"
7659ALIGN="LEFT"
7660VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007661>A newly allocated string with the substitution done. The caller
7662must deallocate it !</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00007663></TR
7664></TABLE
7665><P
7666></P
7667></DIV
7668></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +00007669><HR><DIV
7670CLASS="REFSECT2"
7671><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007672NAME="AEN12619"
7673></A
7674><H3
7675><A
7676NAME="XMLSTRINGDECODEENTITIES"
7677></A
7678>xmlStringDecodeEntities ()</H3
7679><TABLE
7680BORDER="0"
7681BGCOLOR="#D6E8FF"
7682WIDTH="100%"
7683CELLPADDING="6"
7684><TR
7685><TD
7686><PRE
7687CLASS="PROGRAMLISTING"
7688><A
7689HREF="gnome-xml-tree.html#XMLCHAR"
7690>xmlChar</A
7691>* xmlStringDecodeEntities (<A
7692HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7693>xmlParserCtxtPtr</A
7694> ctxt,
7695 const <A
7696HREF="gnome-xml-tree.html#XMLCHAR"
7697>xmlChar</A
7698> *str,
7699 int what,
7700 <A
7701HREF="gnome-xml-tree.html#XMLCHAR"
7702>xmlChar</A
7703> end,
7704 <A
7705HREF="gnome-xml-tree.html#XMLCHAR"
7706>xmlChar</A
7707> end2,
7708 <A
7709HREF="gnome-xml-tree.html#XMLCHAR"
7710>xmlChar</A
7711> end3);</PRE
7712></TD
7713></TR
7714></TABLE
7715><P
7716>[67] Reference ::= EntityRef | CharRef</P
7717><P
7718>[69] PEReference ::= '%' Name ';'</P
7719><P
7720></P
7721><DIV
7722CLASS="INFORMALTABLE"
7723><P
7724></P
7725><TABLE
7726BORDER="0"
7727WIDTH="100%"
7728BGCOLOR="#FFD0D0"
7729CELLSPACING="0"
7730CELLPADDING="4"
7731CLASS="CALSTABLE"
7732><TR
7733><TD
7734WIDTH="20%"
7735ALIGN="RIGHT"
7736VALIGN="TOP"
7737><TT
7738CLASS="PARAMETER"
7739><I
7740>ctxt</I
7741></TT
7742>&nbsp;:</TD
7743><TD
7744WIDTH="80%"
7745ALIGN="LEFT"
7746VALIGN="TOP"
7747> the parser context</TD
7748></TR
7749><TR
7750><TD
7751WIDTH="20%"
7752ALIGN="RIGHT"
7753VALIGN="TOP"
7754><TT
7755CLASS="PARAMETER"
7756><I
7757>str</I
7758></TT
7759>&nbsp;:</TD
7760><TD
7761WIDTH="80%"
7762ALIGN="LEFT"
7763VALIGN="TOP"
7764> the input string</TD
7765></TR
7766><TR
7767><TD
7768WIDTH="20%"
7769ALIGN="RIGHT"
7770VALIGN="TOP"
7771><TT
7772CLASS="PARAMETER"
7773><I
7774>what</I
7775></TT
7776>&nbsp;:</TD
7777><TD
7778WIDTH="80%"
7779ALIGN="LEFT"
7780VALIGN="TOP"
7781> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
7782></TR
7783><TR
7784><TD
7785WIDTH="20%"
7786ALIGN="RIGHT"
7787VALIGN="TOP"
7788><TT
7789CLASS="PARAMETER"
7790><I
7791>end</I
7792></TT
7793>&nbsp;:</TD
7794><TD
7795WIDTH="80%"
7796ALIGN="LEFT"
7797VALIGN="TOP"
7798> an end marker xmlChar, 0 if none</TD
7799></TR
7800><TR
7801><TD
7802WIDTH="20%"
7803ALIGN="RIGHT"
7804VALIGN="TOP"
7805><TT
7806CLASS="PARAMETER"
7807><I
7808>end2</I
7809></TT
7810>&nbsp;:</TD
7811><TD
7812WIDTH="80%"
7813ALIGN="LEFT"
7814VALIGN="TOP"
7815> an end marker xmlChar, 0 if none</TD
7816></TR
7817><TR
7818><TD
7819WIDTH="20%"
7820ALIGN="RIGHT"
7821VALIGN="TOP"
7822><TT
7823CLASS="PARAMETER"
7824><I
7825>end3</I
7826></TT
7827>&nbsp;:</TD
7828><TD
7829WIDTH="80%"
7830ALIGN="LEFT"
7831VALIGN="TOP"
7832> an end marker xmlChar, 0 if none</TD
7833></TR
7834><TR
7835><TD
7836WIDTH="20%"
7837ALIGN="RIGHT"
7838VALIGN="TOP"
7839><I
7840CLASS="EMPHASIS"
7841>Returns</I
7842> :</TD
7843><TD
7844WIDTH="80%"
7845ALIGN="LEFT"
7846VALIGN="TOP"
7847>A newly allocated string with the substitution done. The caller
7848must deallocate it !</TD
7849></TR
7850></TABLE
7851><P
7852></P
7853></DIV
7854></DIV
7855><HR><DIV
7856CLASS="REFSECT2"
7857><A
7858NAME="AEN12665"
Daniel Veillard14fff061999-06-22 21:49:07 +00007859></A
7860><H3
7861><A
7862NAME="NODEPUSH"
7863></A
7864>nodePush ()</H3
7865><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00007866BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00007867BGCOLOR="#D6E8FF"
7868WIDTH="100%"
7869CELLPADDING="6"
Daniel Veillard35925471999-02-25 08:46:07 +00007870><TR
7871><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007872><PRE
7873CLASS="PROGRAMLISTING"
7874>int nodePush (<A
7875HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7876>xmlParserCtxtPtr</A
7877> ctxt,
7878 <A
7879HREF="gnome-xml-tree.html#XMLNODEPTR"
7880>xmlNodePtr</A
7881> value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00007882></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007883></TR
7884></TABLE
7885><P
7886></P
7887><DIV
7888CLASS="INFORMALTABLE"
7889><P
7890></P
7891><TABLE
7892BORDER="0"
7893WIDTH="100%"
7894BGCOLOR="#FFD0D0"
7895CELLSPACING="0"
7896CELLPADDING="4"
7897CLASS="CALSTABLE"
7898><TR
Daniel Veillard35925471999-02-25 08:46:07 +00007899><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007900WIDTH="20%"
7901ALIGN="RIGHT"
7902VALIGN="TOP"
7903><TT
7904CLASS="PARAMETER"
7905><I
7906>ctxt</I
7907></TT
7908>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007909><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007910WIDTH="80%"
7911ALIGN="LEFT"
7912VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00007913>&nbsp;</TD
7914></TR
7915><TR
7916><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007917WIDTH="20%"
7918ALIGN="RIGHT"
7919VALIGN="TOP"
7920><TT
7921CLASS="PARAMETER"
7922><I
7923>value</I
7924></TT
7925>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00007926><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007927WIDTH="80%"
7928ALIGN="LEFT"
7929VALIGN="TOP"
7930>&nbsp;</TD
7931></TR
7932><TR
7933><TD
7934WIDTH="20%"
7935ALIGN="RIGHT"
7936VALIGN="TOP"
7937><I
7938CLASS="EMPHASIS"
7939>Returns</I
7940> :</TD
7941><TD
7942WIDTH="80%"
7943ALIGN="LEFT"
7944VALIGN="TOP"
7945>&nbsp;</TD
7946></TR
7947></TABLE
7948><P
7949></P
7950></DIV
7951></DIV
7952><HR><DIV
7953CLASS="REFSECT2"
Daniel Veillard35925471999-02-25 08:46:07 +00007954><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00007955NAME="AEN12689"
Daniel Veillard14fff061999-06-22 21:49:07 +00007956></A
7957><H3
7958><A
7959NAME="NODEPOP"
7960></A
7961>nodePop ()</H3
7962><TABLE
7963BORDER="0"
7964BGCOLOR="#D6E8FF"
7965WIDTH="100%"
7966CELLPADDING="6"
7967><TR
7968><TD
7969><PRE
7970CLASS="PROGRAMLISTING"
7971><A
7972HREF="gnome-xml-tree.html#XMLNODEPTR"
7973>xmlNodePtr</A
7974> nodePop (<A
7975HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7976>xmlParserCtxtPtr</A
7977> ctxt);</PRE
7978></TD
7979></TR
7980></TABLE
7981><P
7982></P
7983><DIV
7984CLASS="INFORMALTABLE"
7985><P
7986></P
7987><TABLE
7988BORDER="0"
7989WIDTH="100%"
7990BGCOLOR="#FFD0D0"
7991CELLSPACING="0"
7992CELLPADDING="4"
7993CLASS="CALSTABLE"
7994><TR
7995><TD
7996WIDTH="20%"
7997ALIGN="RIGHT"
7998VALIGN="TOP"
7999><TT
8000CLASS="PARAMETER"
8001><I
8002>ctxt</I
8003></TT
8004>&nbsp;:</TD
8005><TD
8006WIDTH="80%"
8007ALIGN="LEFT"
8008VALIGN="TOP"
8009>&nbsp;</TD
8010></TR
8011><TR
8012><TD
8013WIDTH="20%"
8014ALIGN="RIGHT"
8015VALIGN="TOP"
8016><I
8017CLASS="EMPHASIS"
8018>Returns</I
8019> :</TD
8020><TD
8021WIDTH="80%"
8022ALIGN="LEFT"
8023VALIGN="TOP"
8024>&nbsp;</TD
8025></TR
8026></TABLE
8027><P
8028></P
8029></DIV
8030></DIV
8031><HR><DIV
8032CLASS="REFSECT2"
8033><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00008034NAME="AEN12709"
Daniel Veillard14fff061999-06-22 21:49:07 +00008035></A
8036><H3
8037><A
8038NAME="INPUTPUSH"
8039></A
8040>inputPush ()</H3
8041><TABLE
8042BORDER="0"
8043BGCOLOR="#D6E8FF"
8044WIDTH="100%"
8045CELLPADDING="6"
8046><TR
8047><TD
8048><PRE
8049CLASS="PROGRAMLISTING"
8050>int inputPush (<A
8051HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8052>xmlParserCtxtPtr</A
8053> ctxt,
8054 <A
8055HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
8056>xmlParserInputPtr</A
8057> value);</PRE
8058></TD
8059></TR
8060></TABLE
8061><P
8062></P
8063><DIV
8064CLASS="INFORMALTABLE"
8065><P
8066></P
8067><TABLE
8068BORDER="0"
8069WIDTH="100%"
8070BGCOLOR="#FFD0D0"
8071CELLSPACING="0"
8072CELLPADDING="4"
8073CLASS="CALSTABLE"
8074><TR
8075><TD
8076WIDTH="20%"
8077ALIGN="RIGHT"
8078VALIGN="TOP"
8079><TT
8080CLASS="PARAMETER"
8081><I
8082>ctxt</I
8083></TT
8084>&nbsp;:</TD
8085><TD
8086WIDTH="80%"
8087ALIGN="LEFT"
8088VALIGN="TOP"
8089>&nbsp;</TD
8090></TR
8091><TR
8092><TD
8093WIDTH="20%"
8094ALIGN="RIGHT"
8095VALIGN="TOP"
8096><TT
8097CLASS="PARAMETER"
8098><I
8099>value</I
8100></TT
8101>&nbsp;:</TD
8102><TD
8103WIDTH="80%"
8104ALIGN="LEFT"
8105VALIGN="TOP"
8106>&nbsp;</TD
8107></TR
8108><TR
8109><TD
8110WIDTH="20%"
8111ALIGN="RIGHT"
8112VALIGN="TOP"
8113><I
8114CLASS="EMPHASIS"
8115>Returns</I
8116> :</TD
8117><TD
8118WIDTH="80%"
8119ALIGN="LEFT"
8120VALIGN="TOP"
8121>&nbsp;</TD
8122></TR
8123></TABLE
8124><P
8125></P
8126></DIV
8127></DIV
8128><HR><DIV
8129CLASS="REFSECT2"
8130><A
Daniel Veillardedfb29b2000-03-14 19:59:05 +00008131NAME="AEN12733"
Daniel Veillard14fff061999-06-22 21:49:07 +00008132></A
8133><H3
8134><A
8135NAME="INPUTPOP"
8136></A
8137>inputPop ()</H3
8138><TABLE
8139BORDER="0"
8140BGCOLOR="#D6E8FF"
8141WIDTH="100%"
8142CELLPADDING="6"
8143><TR
8144><TD
8145><PRE
8146CLASS="PROGRAMLISTING"
8147><A
8148HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
8149>xmlParserInputPtr</A
8150> inputPop (<A
8151HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
8152>xmlParserCtxtPtr</A
8153> ctxt);</PRE
8154></TD
8155></TR
8156></TABLE
8157><P
8158></P
8159><DIV
8160CLASS="INFORMALTABLE"
8161><P
8162></P
8163><TABLE
8164BORDER="0"
8165WIDTH="100%"
8166BGCOLOR="#FFD0D0"
8167CELLSPACING="0"
8168CELLPADDING="4"
8169CLASS="CALSTABLE"
8170><TR
8171><TD
8172WIDTH="20%"
8173ALIGN="RIGHT"
8174VALIGN="TOP"
8175><TT
8176CLASS="PARAMETER"
8177><I
8178>ctxt</I
8179></TT
8180>&nbsp;:</TD
8181><TD
8182WIDTH="80%"
8183ALIGN="LEFT"
8184VALIGN="TOP"
8185>&nbsp;</TD
8186></TR
8187><TR
8188><TD
8189WIDTH="20%"
8190ALIGN="RIGHT"
8191VALIGN="TOP"
8192><I
8193CLASS="EMPHASIS"
8194>Returns</I
8195> :</TD
8196><TD
8197WIDTH="80%"
8198ALIGN="LEFT"
8199VALIGN="TOP"
8200>&nbsp;</TD
8201></TR
8202></TABLE
8203><P
8204></P
8205></DIV
8206></DIV
8207></DIV
8208><DIV
8209CLASS="NAVFOOTER"
Daniel Veillard00fdf371999-10-08 09:40:39 +00008210><BR
8211CLEAR="all"><BR><TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +00008212WIDTH="100%"
8213BORDER="0"
8214BGCOLOR="#000000"
8215CELLPADDING="1"
8216CELLSPACING="0"
8217><TR
8218><TD
8219WIDTH="25%"
8220BGCOLOR="#C00000"
8221ALIGN="left"
8222><A
Daniel Veillard294cbca1999-12-03 13:19:09 +00008223HREF="gnome-xml-xmlio.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008224><FONT
8225COLOR="#FFFFFF"
8226SIZE="3"
8227><B
8228>&#60;&#60;&#60; Previous Page</B
8229></FONT
8230></A
Daniel Veillard35925471999-02-25 08:46:07 +00008231></TD
8232><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008233WIDTH="25%"
8234BGCOLOR="#0000C0"
8235ALIGN="center"
8236><FONT
8237COLOR="#FFFFFF"
8238SIZE="3"
8239><B
8240><A
8241HREF="book1.html"
8242><FONT
8243COLOR="#FFFFFF"
8244SIZE="3"
8245><B
8246>Home</B
8247></FONT
8248></A
8249></B
8250></FONT
8251></TD
8252><TD
8253WIDTH="25%"
8254BGCOLOR="#00C000"
8255ALIGN="center"
8256><FONT
8257COLOR="#FFFFFF"
8258SIZE="3"
8259><B
8260><A
Daniel Veillard35008381999-10-25 13:15:52 +00008261HREF="libxml-lib.html"
Daniel Veillard14fff061999-06-22 21:49:07 +00008262><FONT
8263COLOR="#FFFFFF"
8264SIZE="3"
8265><B
8266>Up</B
8267></FONT
8268></A
8269></B
8270></FONT
8271></TD
8272><TD
8273WIDTH="25%"
8274BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00008275ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00008276><A
Daniel Veillard294cbca1999-12-03 13:19:09 +00008277HREF="gnome-xml-encoding.html"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00008278><FONT
8279COLOR="#FFFFFF"
8280SIZE="3"
8281><B
8282>Next Page &#62;&#62;&#62;</B
8283></FONT
8284></A
8285></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00008286></TR
8287><TR
8288><TD
8289COLSPAN="2"
8290ALIGN="left"
8291><FONT
8292COLOR="#FFFFFF"
8293SIZE="3"
8294><B
Daniel Veillard294cbca1999-12-03 13:19:09 +00008295>xmlIO</B
Daniel Veillard14fff061999-06-22 21:49:07 +00008296></FONT
8297></TD
8298><TD
8299COLSPAN="2"
8300ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00008301><FONT
8302COLOR="#FFFFFF"
8303SIZE="3"
8304><B
Daniel Veillard294cbca1999-12-03 13:19:09 +00008305>encoding</B
Daniel Veillard1566d3a1999-07-15 14:24:29 +00008306></FONT
8307></TD
Daniel Veillard35925471999-02-25 08:46:07 +00008308></TR
8309></TABLE
8310></DIV
8311></BODY
8312></HTML
8313>