blob: 7612d3bc547e6d57cab44a6b7e6232f97d5e9511 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>parserInternals</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
8REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
12TITLE="Gnome XML Library"
13HREF="libxml.html"><LINK
14REL="PREVIOUS"
Daniel Veillardd109e371999-03-05 06:26:45 +000015TITLE="xml-error"
16HREF="gnome-xml-xml-error.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000017><BODY
18BGCOLOR="#FFFFFF"
19TEXT="#000000"
20><DIV
21CLASS="NAVHEADER"
22><TABLE
23WIDTH="100%"
24BORDER="0"
25CELLPADDING="0"
26CELLSPACING="0"
27><TR
28><TH
29COLSPAN="3"
30ALIGN="center"
31>Gnome XML Library Reference Manual</TH
32></TR
33><TR
34><TD
35WIDTH="10%"
36ALIGN="left"
37VALIGN="bottom"
38><A
Daniel Veillardd109e371999-03-05 06:26:45 +000039HREF="gnome-xml-xml-error.html"
Daniel Veillard35925471999-02-25 08:46:07 +000040>Prev</A
41></TD
42><TD
43WIDTH="80%"
44ALIGN="center"
45VALIGN="bottom"
46></TD
47><TD
48WIDTH="10%"
49ALIGN="right"
50VALIGN="bottom"
51>&nbsp;</TD
52></TR
53></TABLE
54><HR
55ALIGN="LEFT"
56WIDTH="100%"></DIV
57><H1
58>parserInternals</H1
59><DIV
60CLASS="REFNAMEDIV"
61><A
Daniel Veillard011b63c1999-06-02 17:44:04 +000062NAME="AEN4441"
Daniel Veillard35925471999-02-25 08:46:07 +000063></A
64><H2
65>Name</H2
66>parserInternals &#8212; one line description goes here.</DIV
67><DIV
68CLASS="REFSYNOPSISDIV"
69><A
Daniel Veillard011b63c1999-06-02 17:44:04 +000070NAME="AEN4444"
Daniel Veillard35925471999-02-25 08:46:07 +000071></A
72><H2
73>Synopsis</H2
74><TABLE
75BORDER="0"
76BGCOLOR="#E8E8F8"
77WIDTH="100%"
78CELLPADDING="6"
79><TR
80><TD
81><PRE
82CLASS="SYNOPSIS"
83>&#13;
84
Daniel Veillard5099ae81999-04-21 20:12:07 +000085#define <A
86HREF="gnome-xml-parserinternals.html#IS-CHAR"
87>IS_CHAR</A
88> (c)
89#define <A
90HREF="gnome-xml-parserinternals.html#IS-BLANK"
91>IS_BLANK</A
92> (c)
93#define <A
94HREF="gnome-xml-parserinternals.html#IS-BASECHAR"
95>IS_BASECHAR</A
96> (c)
97#define <A
98HREF="gnome-xml-parserinternals.html#IS-DIGIT"
99>IS_DIGIT</A
100> (c)
101#define <A
102HREF="gnome-xml-parserinternals.html#IS-COMBINING"
103>IS_COMBINING</A
104> (c)
105#define <A
106HREF="gnome-xml-parserinternals.html#IS-EXTENDER"
107>IS_EXTENDER</A
108> (c)
109#define <A
110HREF="gnome-xml-parserinternals.html#IS-IDEOGRAPHIC"
111>IS_IDEOGRAPHIC</A
112> (c)
113#define <A
114HREF="gnome-xml-parserinternals.html#IS-LETTER"
115>IS_LETTER</A
116> (c)
117#define <A
118HREF="gnome-xml-parserinternals.html#IS-PUBIDCHAR"
119>IS_PUBIDCHAR</A
120> (c)
121#define <A
122HREF="gnome-xml-parserinternals.html#SKIP-EOL"
123>SKIP_EOL</A
124> (p)
125#define <A
126HREF="gnome-xml-parserinternals.html#MOVETO-ENDTAG"
127>MOVETO_ENDTAG</A
128> (p)
129#define <A
130HREF="gnome-xml-parserinternals.html#MOVETO-STARTTAG"
131>MOVETO_STARTTAG</A
132> (p)
Daniel Veillardd692aa41999-02-28 21:54:31 +0000133<A
134HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
135>xmlParserCtxtPtr</A
136> <A
137HREF="gnome-xml-parserinternals.html#XMLCREATEDOCPARSERCTXT"
138>xmlCreateDocParserCtxt</A
139> (<A
140HREF="gnome-xml-tree.html#CHAR"
141>CHAR</A
142> *cur);
143<A
144HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
145>xmlParserCtxtPtr</A
146> <A
147HREF="gnome-xml-parserinternals.html#XMLCREATEFILEPARSERCTXT"
148>xmlCreateFileParserCtxt</A
149> (const char *filename);
150<A
151HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
152>xmlParserCtxtPtr</A
153> <A
154HREF="gnome-xml-parserinternals.html#XMLCREATEMEMORYPARSERCTXT"
155>xmlCreateMemoryParserCtxt</A
156> (char *buffer,
157 int size);
158void <A
159HREF="gnome-xml-parserinternals.html#XMLFREEPARSERCTXT"
160>xmlFreeParserCtxt</A
161> (<A
162HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
163>xmlParserCtxtPtr</A
164> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000165void <A
166HREF="gnome-xml-parserinternals.html#XMLHANDLEENTITY"
167>xmlHandleEntity</A
168> (<A
169HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
170>xmlParserCtxtPtr</A
171> ctxt,
172 <A
173HREF="gnome-xml-entities.html#XMLENTITYPTR"
174>xmlEntityPtr</A
175> entity);
176<A
Daniel Veillardbc50b591999-03-01 12:28:53 +0000177HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
178>xmlParserInputPtr</A
179> <A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000180HREF="gnome-xml-parserinternals.html#XMLNEWENTITYINPUTSTREAM"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000181>xmlNewEntityInputStream</A
182> (<A
183HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
184>xmlParserCtxtPtr</A
185> ctxt,
186 <A
187HREF="gnome-xml-entities.html#XMLENTITYPTR"
188>xmlEntityPtr</A
189> entity);
190void <A
191HREF="gnome-xml-parserinternals.html#XMLPUSHINPUT"
192>xmlPushInput</A
193> (<A
194HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
195>xmlParserCtxtPtr</A
196> ctxt,
197 <A
198HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
199>xmlParserInputPtr</A
200> input);
201<A
202HREF="gnome-xml-tree.html#CHAR"
203>CHAR</A
204> <A
205HREF="gnome-xml-parserinternals.html#XMLPOPINPUT"
206>xmlPopInput</A
207> (<A
208HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
209>xmlParserCtxtPtr</A
210> ctxt);
211void <A
212HREF="gnome-xml-parserinternals.html#XMLFREEINPUTSTREAM"
213>xmlFreeInputStream</A
214> (<A
215HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
216>xmlParserInputPtr</A
217> input);
218<A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000219HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
220>xmlParserInputPtr</A
221> <A
222HREF="gnome-xml-parserinternals.html#XMLNEWINPUTFROMFILE"
223>xmlNewInputFromFile</A
224> (<A
225HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
226>xmlParserCtxtPtr</A
227> ctxt,
228 const char *filename);
229<A
Daniel Veillard35925471999-02-25 08:46:07 +0000230HREF="gnome-xml-tree.html#CHAR"
231>CHAR</A
232>* <A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000233HREF="gnome-xml-parserinternals.html#XMLSPLITQNAME"
234>xmlSplitQName</A
235> (const <A
236HREF="gnome-xml-tree.html#CHAR"
237>CHAR</A
238> *name,
239 <A
240HREF="gnome-xml-tree.html#CHAR"
241>CHAR</A
242> **prefix);
243<A
244HREF="gnome-xml-tree.html#CHAR"
245>CHAR</A
246>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000247HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSENCNAME"
248>xmlNamespaceParseNCName</A
249> (<A
250HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
251>xmlParserCtxtPtr</A
252> ctxt);
253<A
254HREF="gnome-xml-tree.html#CHAR"
255>CHAR</A
256>* <A
257HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSEQNAME"
258>xmlNamespaceParseQName</A
259> (<A
260HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
261>xmlParserCtxtPtr</A
262> ctxt,
263 <A
264HREF="gnome-xml-tree.html#CHAR"
265>CHAR</A
266> **prefix);
267<A
268HREF="gnome-xml-tree.html#CHAR"
269>CHAR</A
270>* <A
271HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSENSDEF"
272>xmlNamespaceParseNSDef</A
273> (<A
274HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
275>xmlParserCtxtPtr</A
276> ctxt);
277<A
278HREF="gnome-xml-tree.html#CHAR"
279>CHAR</A
280>* <A
281HREF="gnome-xml-parserinternals.html#XMLPARSEQUOTEDSTRING"
282>xmlParseQuotedString</A
283> (<A
284HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
285>xmlParserCtxtPtr</A
286> ctxt);
287void <A
288HREF="gnome-xml-parserinternals.html#XMLPARSENAMESPACE"
289>xmlParseNamespace</A
290> (<A
291HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
292>xmlParserCtxtPtr</A
293> ctxt);
294<A
295HREF="gnome-xml-tree.html#CHAR"
296>CHAR</A
297>* <A
298HREF="gnome-xml-parserinternals.html#XMLPARSENAME"
299>xmlParseName</A
300> (<A
301HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
302>xmlParserCtxtPtr</A
303> ctxt);
304<A
305HREF="gnome-xml-tree.html#CHAR"
306>CHAR</A
307>* <A
308HREF="gnome-xml-parserinternals.html#XMLPARSENMTOKEN"
309>xmlParseNmtoken</A
310> (<A
311HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
312>xmlParserCtxtPtr</A
313> ctxt);
314<A
315HREF="gnome-xml-tree.html#CHAR"
316>CHAR</A
317>* <A
318HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYVALUE"
319>xmlParseEntityValue</A
320> (<A
321HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
322>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000323> ctxt,
324 <A
325HREF="gnome-xml-tree.html#CHAR"
326>CHAR</A
327> **orig);
Daniel Veillard35925471999-02-25 08:46:07 +0000328<A
329HREF="gnome-xml-tree.html#CHAR"
330>CHAR</A
331>* <A
332HREF="gnome-xml-parserinternals.html#XMLPARSEATTVALUE"
333>xmlParseAttValue</A
334> (<A
335HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
336>xmlParserCtxtPtr</A
337> ctxt);
338<A
339HREF="gnome-xml-tree.html#CHAR"
340>CHAR</A
341>* <A
342HREF="gnome-xml-parserinternals.html#XMLPARSESYSTEMLITERAL"
343>xmlParseSystemLiteral</A
344> (<A
345HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
346>xmlParserCtxtPtr</A
347> ctxt);
348<A
349HREF="gnome-xml-tree.html#CHAR"
350>CHAR</A
351>* <A
352HREF="gnome-xml-parserinternals.html#XMLPARSEPUBIDLITERAL"
353>xmlParsePubidLiteral</A
354> (<A
355HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
356>xmlParserCtxtPtr</A
357> ctxt);
358void <A
359HREF="gnome-xml-parserinternals.html#XMLPARSECHARDATA"
360>xmlParseCharData</A
361> (<A
362HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
363>xmlParserCtxtPtr</A
364> ctxt,
365 int cdata);
366<A
367HREF="gnome-xml-tree.html#CHAR"
368>CHAR</A
369>* <A
370HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
371>xmlParseExternalID</A
372> (<A
373HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
374>xmlParserCtxtPtr</A
375> ctxt,
376 <A
377HREF="gnome-xml-tree.html#CHAR"
378>CHAR</A
379> **publicID,
380 int strict);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000381void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000382HREF="gnome-xml-parserinternals.html#XMLPARSECOMMENT"
383>xmlParseComment</A
384> (<A
385HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
386>xmlParserCtxtPtr</A
387> ctxt,
388 int create);
389<A
390HREF="gnome-xml-tree.html#CHAR"
391>CHAR</A
392>* <A
393HREF="gnome-xml-parserinternals.html#XMLPARSEPITARGET"
394>xmlParsePITarget</A
395> (<A
396HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
397>xmlParserCtxtPtr</A
398> ctxt);
399void <A
400HREF="gnome-xml-parserinternals.html#XMLPARSEPI"
401>xmlParsePI</A
402> (<A
403HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
404>xmlParserCtxtPtr</A
405> ctxt);
406void <A
407HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONDECL"
408>xmlParseNotationDecl</A
409> (<A
410HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
411>xmlParserCtxtPtr</A
412> ctxt);
413void <A
414HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYDECL"
415>xmlParseEntityDecl</A
416> (<A
417HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
418>xmlParserCtxtPtr</A
419> ctxt);
420int <A
421HREF="gnome-xml-parserinternals.html#XMLPARSEDEFAULTDECL"
422>xmlParseDefaultDecl</A
423> (<A
424HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
425>xmlParserCtxtPtr</A
426> ctxt,
427 <A
428HREF="gnome-xml-tree.html#CHAR"
429>CHAR</A
430> **value);
431<A
432HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
433>xmlEnumerationPtr</A
434> <A
435HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONTYPE"
436>xmlParseNotationType</A
437> (<A
438HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
439>xmlParserCtxtPtr</A
440> ctxt);
441<A
442HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
443>xmlEnumerationPtr</A
444> <A
445HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATIONTYPE"
446>xmlParseEnumerationType</A
447> (<A
448HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
449>xmlParserCtxtPtr</A
450> ctxt);
451int <A
452HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATEDTYPE"
453>xmlParseEnumeratedType</A
454> (<A
455HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
456>xmlParserCtxtPtr</A
457> ctxt,
458 <A
459HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
460>xmlEnumerationPtr</A
461> *tree);
462int <A
463HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTETYPE"
464>xmlParseAttributeType</A
465> (<A
466HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
467>xmlParserCtxtPtr</A
468> ctxt,
469 <A
470HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
471>xmlEnumerationPtr</A
472> *tree);
473void <A
474HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTELISTDECL"
475>xmlParseAttributeListDecl</A
476> (<A
477HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
478>xmlParserCtxtPtr</A
479> ctxt);
480<A
481HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
482>xmlElementContentPtr</A
483> <A
484HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTMIXEDCONTENTDECL"
485>xmlParseElementMixedContentDecl</A
486>
487 (<A
488HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
489>xmlParserCtxtPtr</A
490> ctxt);
491<A
492HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
493>xmlElementContentPtr</A
494> <A
495HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTDECL"
496>xmlParseElementChildrenContentDecl</A
497>
498 (<A
499HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
500>xmlParserCtxtPtr</A
501> ctxt);
502int <A
503HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCONTENTDECL"
504>xmlParseElementContentDecl</A
505> (<A
506HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
507>xmlParserCtxtPtr</A
508> ctxt,
509 <A
510HREF="gnome-xml-tree.html#CHAR"
511>CHAR</A
512> *name,
513 <A
514HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
515>xmlElementContentPtr</A
516> *result);
517int <A
518HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTDECL"
519>xmlParseElementDecl</A
520> (<A
521HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
522>xmlParserCtxtPtr</A
523> ctxt);
524void <A
525HREF="gnome-xml-parserinternals.html#XMLPARSEMARKUPDECL"
526>xmlParseMarkupDecl</A
527> (<A
528HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
529>xmlParserCtxtPtr</A
530> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000531int <A
Daniel Veillard35925471999-02-25 08:46:07 +0000532HREF="gnome-xml-parserinternals.html#XMLPARSECHARREF"
533>xmlParseCharRef</A
534> (<A
535HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
536>xmlParserCtxtPtr</A
537> ctxt);
538<A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000539HREF="gnome-xml-entities.html#XMLENTITYPTR"
540>xmlEntityPtr</A
541> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000542HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYREF"
543>xmlParseEntityRef</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000544> (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000545HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
546>xmlParserCtxtPtr</A
547> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000548void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000549HREF="gnome-xml-parserinternals.html#XMLPARSEREFERENCE"
550>xmlParseReference</A
551> (<A
552HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
553>xmlParserCtxtPtr</A
554> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000555void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000556HREF="gnome-xml-parserinternals.html#XMLPARSEPEREFERENCE"
557>xmlParsePEReference</A
558> (<A
559HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
560>xmlParserCtxtPtr</A
561> ctxt);
562void <A
563HREF="gnome-xml-parserinternals.html#XMLPARSEDOCTYPEDECL"
564>xmlParseDocTypeDecl</A
565> (<A
566HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
567>xmlParserCtxtPtr</A
568> ctxt);
569<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000570HREF="gnome-xml-tree.html#CHAR"
571>CHAR</A
572>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000573HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTE"
574>xmlParseAttribute</A
575> (<A
576HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
577>xmlParserCtxtPtr</A
578> ctxt,
579 <A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000580HREF="gnome-xml-tree.html#CHAR"
581>CHAR</A
582> **value);
583void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000584HREF="gnome-xml-parserinternals.html#XMLPARSESTARTTAG"
585>xmlParseStartTag</A
586> (<A
587HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
588>xmlParserCtxtPtr</A
589> ctxt);
590void <A
591HREF="gnome-xml-parserinternals.html#XMLPARSEENDTAG"
592>xmlParseEndTag</A
593> (<A
594HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
595>xmlParserCtxtPtr</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000596> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000597void <A
598HREF="gnome-xml-parserinternals.html#XMLPARSECDSECT"
599>xmlParseCDSect</A
600> (<A
601HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
602>xmlParserCtxtPtr</A
603> ctxt);
604void <A
605HREF="gnome-xml-parserinternals.html#XMLPARSECONTENT"
606>xmlParseContent</A
607> (<A
608HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
609>xmlParserCtxtPtr</A
610> ctxt);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000611void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000612HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENT"
613>xmlParseElement</A
614> (<A
615HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
616>xmlParserCtxtPtr</A
617> ctxt);
618<A
619HREF="gnome-xml-tree.html#CHAR"
620>CHAR</A
621>* <A
622HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONNUM"
623>xmlParseVersionNum</A
624> (<A
625HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
626>xmlParserCtxtPtr</A
627> ctxt);
628<A
629HREF="gnome-xml-tree.html#CHAR"
630>CHAR</A
631>* <A
632HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONINFO"
633>xmlParseVersionInfo</A
634> (<A
635HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
636>xmlParserCtxtPtr</A
637> ctxt);
638<A
639HREF="gnome-xml-tree.html#CHAR"
640>CHAR</A
641>* <A
642HREF="gnome-xml-parserinternals.html#XMLPARSEENCNAME"
643>xmlParseEncName</A
644> (<A
645HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
646>xmlParserCtxtPtr</A
647> ctxt);
648<A
649HREF="gnome-xml-tree.html#CHAR"
650>CHAR</A
651>* <A
652HREF="gnome-xml-parserinternals.html#XMLPARSEENCODINGDECL"
653>xmlParseEncodingDecl</A
654> (<A
655HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
656>xmlParserCtxtPtr</A
657> ctxt);
658int <A
659HREF="gnome-xml-parserinternals.html#XMLPARSESDDECL"
660>xmlParseSDDecl</A
661> (<A
662HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
663>xmlParserCtxtPtr</A
664> ctxt);
665void <A
666HREF="gnome-xml-parserinternals.html#XMLPARSEXMLDECL"
667>xmlParseXMLDecl</A
668> (<A
669HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
670>xmlParserCtxtPtr</A
671> ctxt);
672void <A
673HREF="gnome-xml-parserinternals.html#XMLPARSEMISC"
674>xmlParseMisc</A
675> (<A
676HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
677>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000678> ctxt);
679#define <A
680HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-NONE"
681>XML_SUBSTITUTE_NONE</A
682>
683#define <A
684HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-REF"
685>XML_SUBSTITUTE_REF</A
686>
687#define <A
688HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-PEREF"
689>XML_SUBSTITUTE_PEREF</A
690>
691#define <A
692HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-BOTH"
693>XML_SUBSTITUTE_BOTH</A
694>
695<A
696HREF="gnome-xml-tree.html#CHAR"
697>CHAR</A
698>* <A
699HREF="gnome-xml-parserinternals.html#XMLDECODEENTITIES"
700>xmlDecodeEntities</A
701> (<A
702HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
703>xmlParserCtxtPtr</A
704> ctxt,
705 int len,
706 int what,
707 <A
708HREF="gnome-xml-tree.html#CHAR"
709>CHAR</A
710> end,
711 <A
712HREF="gnome-xml-tree.html#CHAR"
713>CHAR</A
714> end2,
715 <A
716HREF="gnome-xml-tree.html#CHAR"
717>CHAR</A
718> end3);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000719></TD
720></TR
721></TABLE
722></DIV
723><DIV
724CLASS="REFSECT1"
725><A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000726NAME="AEN4625"
Daniel Veillard35925471999-02-25 08:46:07 +0000727></A
728><H2
729>Description</H2
730><P
731></P
732></DIV
733><DIV
734CLASS="REFSECT1"
735><A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000736NAME="AEN4628"
Daniel Veillard35925471999-02-25 08:46:07 +0000737></A
738><H2
739>Details</H2
740><HR><DIV
741CLASS="REFSECT2"
742><A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000743NAME="AEN4630"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000744></A
745><H3
746><A
747NAME="IS-CHAR"
748></A
749>IS_CHAR()</H3
750><TABLE
751BORDER="0"
752BGCOLOR="#E8E8F8"
753WIDTH="100%"
754CELLPADDING="6"
755><TR
756><TD
757><PRE
758CLASS="PROGRAMLISTING"
759>#define IS_CHAR(c)</PRE
760></TD
761></TR
762></TABLE
763><P
764></P
765><DIV
766CLASS="INFORMALTABLE"
767><P
768></P
769><TABLE
770BORDER="0"
771WIDTH="100%"
772BGCOLOR="#FFE0E0"
773CELLSPACING="0"
774CELLPADDING="4"
775CLASS="CALSTABLE"
776><TR
777><TD
778WIDTH="20%"
779ALIGN="RIGHT"
780VALIGN="TOP"
781><TT
782CLASS="PARAMETER"
783><I
784>c</I
785></TT
786>&nbsp;:</TD
787><TD
788WIDTH="80%"
789ALIGN="LEFT"
790VALIGN="TOP"
791>&nbsp;</TD
792></TR
793></TABLE
794><P
795></P
796></DIV
797></DIV
798><HR><DIV
799CLASS="REFSECT2"
800><A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000801NAME="AEN4644"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000802></A
803><H3
804><A
805NAME="IS-BLANK"
806></A
807>IS_BLANK()</H3
808><TABLE
809BORDER="0"
810BGCOLOR="#E8E8F8"
811WIDTH="100%"
812CELLPADDING="6"
813><TR
814><TD
815><PRE
816CLASS="PROGRAMLISTING"
817>#define IS_BLANK(c)</PRE
818></TD
819></TR
820></TABLE
821><P
822></P
823><DIV
824CLASS="INFORMALTABLE"
825><P
826></P
827><TABLE
828BORDER="0"
829WIDTH="100%"
830BGCOLOR="#FFE0E0"
831CELLSPACING="0"
832CELLPADDING="4"
833CLASS="CALSTABLE"
834><TR
835><TD
836WIDTH="20%"
837ALIGN="RIGHT"
838VALIGN="TOP"
839><TT
840CLASS="PARAMETER"
841><I
842>c</I
843></TT
844>&nbsp;:</TD
845><TD
846WIDTH="80%"
847ALIGN="LEFT"
848VALIGN="TOP"
849>&nbsp;</TD
850></TR
851></TABLE
852><P
853></P
854></DIV
855></DIV
856><HR><DIV
857CLASS="REFSECT2"
858><A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000859NAME="AEN4658"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000860></A
861><H3
862><A
863NAME="IS-BASECHAR"
864></A
865>IS_BASECHAR()</H3
866><TABLE
867BORDER="0"
868BGCOLOR="#E8E8F8"
869WIDTH="100%"
870CELLPADDING="6"
871><TR
872><TD
873><PRE
874CLASS="PROGRAMLISTING"
875>#define IS_BASECHAR(c)</PRE
876></TD
877></TR
878></TABLE
879><P
880></P
881><DIV
882CLASS="INFORMALTABLE"
883><P
884></P
885><TABLE
886BORDER="0"
887WIDTH="100%"
888BGCOLOR="#FFE0E0"
889CELLSPACING="0"
890CELLPADDING="4"
891CLASS="CALSTABLE"
892><TR
893><TD
894WIDTH="20%"
895ALIGN="RIGHT"
896VALIGN="TOP"
897><TT
898CLASS="PARAMETER"
899><I
900>c</I
901></TT
902>&nbsp;:</TD
903><TD
904WIDTH="80%"
905ALIGN="LEFT"
906VALIGN="TOP"
907>&nbsp;</TD
908></TR
909></TABLE
910><P
911></P
912></DIV
913></DIV
914><HR><DIV
915CLASS="REFSECT2"
916><A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000917NAME="AEN4672"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000918></A
919><H3
920><A
921NAME="IS-DIGIT"
922></A
923>IS_DIGIT()</H3
924><TABLE
925BORDER="0"
926BGCOLOR="#E8E8F8"
927WIDTH="100%"
928CELLPADDING="6"
929><TR
930><TD
931><PRE
932CLASS="PROGRAMLISTING"
933>#define IS_DIGIT(c)</PRE
934></TD
935></TR
936></TABLE
937><P
938></P
939><DIV
940CLASS="INFORMALTABLE"
941><P
942></P
943><TABLE
944BORDER="0"
945WIDTH="100%"
946BGCOLOR="#FFE0E0"
947CELLSPACING="0"
948CELLPADDING="4"
949CLASS="CALSTABLE"
950><TR
951><TD
952WIDTH="20%"
953ALIGN="RIGHT"
954VALIGN="TOP"
955><TT
956CLASS="PARAMETER"
957><I
958>c</I
959></TT
960>&nbsp;:</TD
961><TD
962WIDTH="80%"
963ALIGN="LEFT"
964VALIGN="TOP"
965>&nbsp;</TD
966></TR
967></TABLE
968><P
969></P
970></DIV
971></DIV
972><HR><DIV
973CLASS="REFSECT2"
974><A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000975NAME="AEN4686"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000976></A
977><H3
978><A
979NAME="IS-COMBINING"
980></A
981>IS_COMBINING()</H3
982><TABLE
983BORDER="0"
984BGCOLOR="#E8E8F8"
985WIDTH="100%"
986CELLPADDING="6"
987><TR
988><TD
989><PRE
990CLASS="PROGRAMLISTING"
991>#define IS_COMBINING(c)</PRE
992></TD
993></TR
994></TABLE
995><P
996></P
997><DIV
998CLASS="INFORMALTABLE"
999><P
1000></P
1001><TABLE
1002BORDER="0"
1003WIDTH="100%"
1004BGCOLOR="#FFE0E0"
1005CELLSPACING="0"
1006CELLPADDING="4"
1007CLASS="CALSTABLE"
1008><TR
1009><TD
1010WIDTH="20%"
1011ALIGN="RIGHT"
1012VALIGN="TOP"
1013><TT
1014CLASS="PARAMETER"
1015><I
1016>c</I
1017></TT
1018>&nbsp;:</TD
1019><TD
1020WIDTH="80%"
1021ALIGN="LEFT"
1022VALIGN="TOP"
1023>&nbsp;</TD
1024></TR
1025></TABLE
1026><P
1027></P
1028></DIV
1029></DIV
1030><HR><DIV
1031CLASS="REFSECT2"
1032><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001033NAME="AEN4700"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001034></A
1035><H3
1036><A
1037NAME="IS-EXTENDER"
1038></A
1039>IS_EXTENDER()</H3
1040><TABLE
1041BORDER="0"
1042BGCOLOR="#E8E8F8"
1043WIDTH="100%"
1044CELLPADDING="6"
1045><TR
1046><TD
1047><PRE
1048CLASS="PROGRAMLISTING"
1049>#define IS_EXTENDER(c)</PRE
1050></TD
1051></TR
1052></TABLE
1053><P
1054></P
1055><DIV
1056CLASS="INFORMALTABLE"
1057><P
1058></P
1059><TABLE
1060BORDER="0"
1061WIDTH="100%"
1062BGCOLOR="#FFE0E0"
1063CELLSPACING="0"
1064CELLPADDING="4"
1065CLASS="CALSTABLE"
1066><TR
1067><TD
1068WIDTH="20%"
1069ALIGN="RIGHT"
1070VALIGN="TOP"
1071><TT
1072CLASS="PARAMETER"
1073><I
1074>c</I
1075></TT
1076>&nbsp;:</TD
1077><TD
1078WIDTH="80%"
1079ALIGN="LEFT"
1080VALIGN="TOP"
1081>&nbsp;</TD
1082></TR
1083></TABLE
1084><P
1085></P
1086></DIV
1087></DIV
1088><HR><DIV
1089CLASS="REFSECT2"
1090><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001091NAME="AEN4714"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001092></A
1093><H3
1094><A
1095NAME="IS-IDEOGRAPHIC"
1096></A
1097>IS_IDEOGRAPHIC()</H3
1098><TABLE
1099BORDER="0"
1100BGCOLOR="#E8E8F8"
1101WIDTH="100%"
1102CELLPADDING="6"
1103><TR
1104><TD
1105><PRE
1106CLASS="PROGRAMLISTING"
1107>#define IS_IDEOGRAPHIC(c) \
1108 ((((c) &gt;= 0x4e00) &amp;&amp; ((c) &lt;= 0x9fa5)) || \
1109 (((c) &gt;= 0xf900) &amp;&amp; ((c) &lt;= 0xfa2d)) || \
1110 (((c) &gt;= 0x3021) &amp;&amp; ((c) &lt;= 0x3029)) || \
1111 ((c) == 0x3007))</PRE
1112></TD
1113></TR
1114></TABLE
1115><P
1116></P
1117><DIV
1118CLASS="INFORMALTABLE"
1119><P
1120></P
1121><TABLE
1122BORDER="0"
1123WIDTH="100%"
1124BGCOLOR="#FFE0E0"
1125CELLSPACING="0"
1126CELLPADDING="4"
1127CLASS="CALSTABLE"
1128><TR
1129><TD
1130WIDTH="20%"
1131ALIGN="RIGHT"
1132VALIGN="TOP"
1133><TT
1134CLASS="PARAMETER"
1135><I
1136>c</I
1137></TT
1138>&nbsp;:</TD
1139><TD
1140WIDTH="80%"
1141ALIGN="LEFT"
1142VALIGN="TOP"
1143>&nbsp;</TD
1144></TR
1145></TABLE
1146><P
1147></P
1148></DIV
1149></DIV
1150><HR><DIV
1151CLASS="REFSECT2"
1152><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001153NAME="AEN4728"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001154></A
1155><H3
1156><A
1157NAME="IS-LETTER"
1158></A
1159>IS_LETTER()</H3
1160><TABLE
1161BORDER="0"
1162BGCOLOR="#E8E8F8"
1163WIDTH="100%"
1164CELLPADDING="6"
1165><TR
1166><TD
1167><PRE
1168CLASS="PROGRAMLISTING"
1169>#define IS_LETTER(c)</PRE
1170></TD
1171></TR
1172></TABLE
1173><P
1174></P
1175><DIV
1176CLASS="INFORMALTABLE"
1177><P
1178></P
1179><TABLE
1180BORDER="0"
1181WIDTH="100%"
1182BGCOLOR="#FFE0E0"
1183CELLSPACING="0"
1184CELLPADDING="4"
1185CLASS="CALSTABLE"
1186><TR
1187><TD
1188WIDTH="20%"
1189ALIGN="RIGHT"
1190VALIGN="TOP"
1191><TT
1192CLASS="PARAMETER"
1193><I
1194>c</I
1195></TT
1196>&nbsp;:</TD
1197><TD
1198WIDTH="80%"
1199ALIGN="LEFT"
1200VALIGN="TOP"
1201>&nbsp;</TD
1202></TR
1203></TABLE
1204><P
1205></P
1206></DIV
1207></DIV
1208><HR><DIV
1209CLASS="REFSECT2"
1210><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001211NAME="AEN4742"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001212></A
1213><H3
1214><A
1215NAME="IS-PUBIDCHAR"
1216></A
1217>IS_PUBIDCHAR()</H3
1218><TABLE
1219BORDER="0"
1220BGCOLOR="#E8E8F8"
1221WIDTH="100%"
1222CELLPADDING="6"
1223><TR
1224><TD
1225><PRE
1226CLASS="PROGRAMLISTING"
1227>#define IS_PUBIDCHAR(c) \
1228 (((c) == 0x20) || ((c) == 0x0D) || ((c) == 0x0A) || \
1229 (((c) &gt;= 'a') &amp;&amp; ((c) &lt;= 'z')) || \
1230 (((c) &gt;= 'A') &amp;&amp; ((c) &lt;= 'Z')) || \
1231 (((c) &gt;= '0') &amp;&amp; ((c) &lt;= '9')) || \
1232 ((c) == '-') || ((c) == '\'') || ((c) == '(') || ((c) == ')') || \
1233 ((c) == '+') || ((c) == ',') || ((c) == '.') || ((c) == '/') || \
1234 ((c) == ':') || ((c) == '=') || ((c) == '?') || ((c) == ';') || \
1235 ((c) == '!') || ((c) == '*') || ((c) == '#') || ((c) == '@') || \
1236 ((c) == '$') || ((c) == '_') || ((c) == '%'))</PRE
1237></TD
1238></TR
1239></TABLE
1240><P
1241></P
1242><DIV
1243CLASS="INFORMALTABLE"
1244><P
1245></P
1246><TABLE
1247BORDER="0"
1248WIDTH="100%"
1249BGCOLOR="#FFE0E0"
1250CELLSPACING="0"
1251CELLPADDING="4"
1252CLASS="CALSTABLE"
1253><TR
1254><TD
1255WIDTH="20%"
1256ALIGN="RIGHT"
1257VALIGN="TOP"
1258><TT
1259CLASS="PARAMETER"
1260><I
1261>c</I
1262></TT
1263>&nbsp;:</TD
1264><TD
1265WIDTH="80%"
1266ALIGN="LEFT"
1267VALIGN="TOP"
1268>&nbsp;</TD
1269></TR
1270></TABLE
1271><P
1272></P
1273></DIV
1274></DIV
1275><HR><DIV
1276CLASS="REFSECT2"
1277><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001278NAME="AEN4756"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001279></A
1280><H3
1281><A
1282NAME="SKIP-EOL"
1283></A
1284>SKIP_EOL()</H3
1285><TABLE
1286BORDER="0"
1287BGCOLOR="#E8E8F8"
1288WIDTH="100%"
1289CELLPADDING="6"
1290><TR
1291><TD
1292><PRE
1293CLASS="PROGRAMLISTING"
1294>#define SKIP_EOL(p) \
1295 if (*(p) == 0x13) { p++ ; if (*(p) == 0x10) p++; } \
1296 if (*(p) == 0x10) { p++ ; if (*(p) == 0x13) p++; }</PRE
1297></TD
1298></TR
1299></TABLE
1300><P
1301></P
1302><DIV
1303CLASS="INFORMALTABLE"
1304><P
1305></P
1306><TABLE
1307BORDER="0"
1308WIDTH="100%"
1309BGCOLOR="#FFE0E0"
1310CELLSPACING="0"
1311CELLPADDING="4"
1312CLASS="CALSTABLE"
1313><TR
1314><TD
1315WIDTH="20%"
1316ALIGN="RIGHT"
1317VALIGN="TOP"
1318><TT
1319CLASS="PARAMETER"
1320><I
1321>p</I
1322></TT
1323>&nbsp;:</TD
1324><TD
1325WIDTH="80%"
1326ALIGN="LEFT"
1327VALIGN="TOP"
1328>&nbsp;</TD
1329></TR
1330></TABLE
1331><P
1332></P
1333></DIV
1334></DIV
1335><HR><DIV
1336CLASS="REFSECT2"
1337><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001338NAME="AEN4770"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001339></A
1340><H3
1341><A
1342NAME="MOVETO-ENDTAG"
1343></A
1344>MOVETO_ENDTAG()</H3
1345><TABLE
1346BORDER="0"
1347BGCOLOR="#E8E8F8"
1348WIDTH="100%"
1349CELLPADDING="6"
1350><TR
1351><TD
1352><PRE
1353CLASS="PROGRAMLISTING"
1354>#define MOVETO_ENDTAG(p) \
1355 while (IS_CHAR(*p) &amp;&amp; (*(p) != '&gt;')) (p)++</PRE
1356></TD
1357></TR
1358></TABLE
1359><P
1360></P
1361><DIV
1362CLASS="INFORMALTABLE"
1363><P
1364></P
1365><TABLE
1366BORDER="0"
1367WIDTH="100%"
1368BGCOLOR="#FFE0E0"
1369CELLSPACING="0"
1370CELLPADDING="4"
1371CLASS="CALSTABLE"
1372><TR
1373><TD
1374WIDTH="20%"
1375ALIGN="RIGHT"
1376VALIGN="TOP"
1377><TT
1378CLASS="PARAMETER"
1379><I
1380>p</I
1381></TT
1382>&nbsp;:</TD
1383><TD
1384WIDTH="80%"
1385ALIGN="LEFT"
1386VALIGN="TOP"
1387>&nbsp;</TD
1388></TR
1389></TABLE
1390><P
1391></P
1392></DIV
1393></DIV
1394><HR><DIV
1395CLASS="REFSECT2"
1396><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001397NAME="AEN4784"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001398></A
1399><H3
1400><A
1401NAME="MOVETO-STARTTAG"
1402></A
1403>MOVETO_STARTTAG()</H3
1404><TABLE
1405BORDER="0"
1406BGCOLOR="#E8E8F8"
1407WIDTH="100%"
1408CELLPADDING="6"
1409><TR
1410><TD
1411><PRE
1412CLASS="PROGRAMLISTING"
1413>#define MOVETO_STARTTAG(p) \
1414 while (IS_CHAR(*p) &amp;&amp; (*(p) != '&lt;')) (p)++</PRE
1415></TD
1416></TR
1417></TABLE
1418><P
1419></P
1420><DIV
1421CLASS="INFORMALTABLE"
1422><P
1423></P
1424><TABLE
1425BORDER="0"
1426WIDTH="100%"
1427BGCOLOR="#FFE0E0"
1428CELLSPACING="0"
1429CELLPADDING="4"
1430CLASS="CALSTABLE"
1431><TR
1432><TD
1433WIDTH="20%"
1434ALIGN="RIGHT"
1435VALIGN="TOP"
1436><TT
1437CLASS="PARAMETER"
1438><I
1439>p</I
1440></TT
1441>&nbsp;:</TD
1442><TD
1443WIDTH="80%"
1444ALIGN="LEFT"
1445VALIGN="TOP"
1446>&nbsp;</TD
1447></TR
1448></TABLE
1449><P
1450></P
1451></DIV
1452></DIV
1453><HR><DIV
1454CLASS="REFSECT2"
1455><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001456NAME="AEN4798"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001457></A
1458><H3
1459><A
1460NAME="XMLCREATEDOCPARSERCTXT"
1461></A
1462>xmlCreateDocParserCtxt()</H3
1463><TABLE
1464BORDER="0"
1465BGCOLOR="#E8E8F8"
1466WIDTH="100%"
1467CELLPADDING="6"
1468><TR
1469><TD
1470><PRE
1471CLASS="PROGRAMLISTING"
1472><A
1473HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1474>xmlParserCtxtPtr</A
1475> xmlCreateDocParserCtxt (<A
1476HREF="gnome-xml-tree.html#CHAR"
1477>CHAR</A
1478> *cur);</PRE
1479></TD
1480></TR
1481></TABLE
1482><P
1483></P
1484><DIV
1485CLASS="INFORMALTABLE"
1486><P
1487></P
1488><TABLE
1489BORDER="0"
1490WIDTH="100%"
1491BGCOLOR="#FFE0E0"
1492CELLSPACING="0"
1493CELLPADDING="4"
1494CLASS="CALSTABLE"
1495><TR
1496><TD
1497WIDTH="20%"
1498ALIGN="RIGHT"
1499VALIGN="TOP"
1500><TT
1501CLASS="PARAMETER"
1502><I
1503>cur</I
1504></TT
1505>&nbsp;:</TD
1506><TD
1507WIDTH="80%"
1508ALIGN="LEFT"
1509VALIGN="TOP"
1510>&nbsp;</TD
1511></TR
1512><TR
1513><TD
1514WIDTH="20%"
1515ALIGN="RIGHT"
1516VALIGN="TOP"
1517><I
1518CLASS="EMPHASIS"
1519>Returns</I
1520> :</TD
1521><TD
1522WIDTH="80%"
1523ALIGN="LEFT"
1524VALIGN="TOP"
1525>&nbsp;</TD
1526></TR
1527></TABLE
1528><P
1529></P
1530></DIV
1531></DIV
1532><HR><DIV
1533CLASS="REFSECT2"
1534><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001535NAME="AEN4818"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001536></A
1537><H3
1538><A
1539NAME="XMLCREATEFILEPARSERCTXT"
1540></A
1541>xmlCreateFileParserCtxt()</H3
1542><TABLE
1543BORDER="0"
1544BGCOLOR="#E8E8F8"
1545WIDTH="100%"
1546CELLPADDING="6"
1547><TR
1548><TD
1549><PRE
1550CLASS="PROGRAMLISTING"
1551><A
1552HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1553>xmlParserCtxtPtr</A
1554> xmlCreateFileParserCtxt (const char *filename);</PRE
1555></TD
1556></TR
1557></TABLE
1558><P
1559>Create a parser context for a file content.
1560Automatic support for ZLIB/Compress compressed document is provided
1561by default if found at compile-time.</P
1562><P
1563></P
1564><DIV
1565CLASS="INFORMALTABLE"
1566><P
1567></P
1568><TABLE
1569BORDER="0"
1570WIDTH="100%"
1571BGCOLOR="#FFE0E0"
1572CELLSPACING="0"
1573CELLPADDING="4"
1574CLASS="CALSTABLE"
1575><TR
1576><TD
1577WIDTH="20%"
1578ALIGN="RIGHT"
1579VALIGN="TOP"
1580><TT
1581CLASS="PARAMETER"
1582><I
1583>filename</I
1584></TT
1585>&nbsp;:</TD
1586><TD
1587WIDTH="80%"
1588ALIGN="LEFT"
1589VALIGN="TOP"
1590> the filename</TD
1591></TR
1592><TR
1593><TD
1594WIDTH="20%"
1595ALIGN="RIGHT"
1596VALIGN="TOP"
1597><I
1598CLASS="EMPHASIS"
1599>Returns</I
1600> :</TD
1601><TD
1602WIDTH="80%"
1603ALIGN="LEFT"
1604VALIGN="TOP"
1605>the new parser context or NULL</TD
1606></TR
1607></TABLE
1608><P
1609></P
1610></DIV
1611></DIV
1612><HR><DIV
1613CLASS="REFSECT2"
1614><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001615NAME="AEN4838"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001616></A
1617><H3
1618><A
1619NAME="XMLCREATEMEMORYPARSERCTXT"
1620></A
1621>xmlCreateMemoryParserCtxt()</H3
1622><TABLE
1623BORDER="0"
1624BGCOLOR="#E8E8F8"
1625WIDTH="100%"
1626CELLPADDING="6"
1627><TR
1628><TD
1629><PRE
1630CLASS="PROGRAMLISTING"
1631><A
1632HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1633>xmlParserCtxtPtr</A
1634> xmlCreateMemoryParserCtxt (char *buffer,
1635 int size);</PRE
1636></TD
1637></TR
1638></TABLE
1639><P
1640>Create a parser context for an XML in-memory document.</P
1641><P
1642></P
1643><DIV
1644CLASS="INFORMALTABLE"
1645><P
1646></P
1647><TABLE
1648BORDER="0"
1649WIDTH="100%"
1650BGCOLOR="#FFE0E0"
1651CELLSPACING="0"
1652CELLPADDING="4"
1653CLASS="CALSTABLE"
1654><TR
1655><TD
1656WIDTH="20%"
1657ALIGN="RIGHT"
1658VALIGN="TOP"
1659><TT
1660CLASS="PARAMETER"
1661><I
1662>buffer</I
1663></TT
1664>&nbsp;:</TD
1665><TD
1666WIDTH="80%"
1667ALIGN="LEFT"
1668VALIGN="TOP"
1669> an pointer to a char array</TD
1670></TR
1671><TR
1672><TD
1673WIDTH="20%"
1674ALIGN="RIGHT"
1675VALIGN="TOP"
1676><TT
1677CLASS="PARAMETER"
1678><I
1679>size</I
1680></TT
1681>&nbsp;:</TD
1682><TD
1683WIDTH="80%"
1684ALIGN="LEFT"
1685VALIGN="TOP"
1686> the siwe of the array</TD
1687></TR
1688><TR
1689><TD
1690WIDTH="20%"
1691ALIGN="RIGHT"
1692VALIGN="TOP"
1693><I
1694CLASS="EMPHASIS"
1695>Returns</I
1696> :</TD
1697><TD
1698WIDTH="80%"
1699ALIGN="LEFT"
1700VALIGN="TOP"
1701>the new parser context or NULL</TD
1702></TR
1703></TABLE
1704><P
1705></P
1706></DIV
1707></DIV
1708><HR><DIV
1709CLASS="REFSECT2"
1710><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001711NAME="AEN4862"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001712></A
1713><H3
1714><A
1715NAME="XMLFREEPARSERCTXT"
1716></A
1717>xmlFreeParserCtxt()</H3
1718><TABLE
1719BORDER="0"
1720BGCOLOR="#E8E8F8"
1721WIDTH="100%"
1722CELLPADDING="6"
1723><TR
1724><TD
1725><PRE
1726CLASS="PROGRAMLISTING"
1727>void xmlFreeParserCtxt (<A
1728HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1729>xmlParserCtxtPtr</A
1730> ctxt);</PRE
1731></TD
1732></TR
1733></TABLE
1734><P
1735>Free all the memory used by a parser context. However the parsed
Daniel Veillard5099ae81999-04-21 20:12:07 +00001736document in ctxt-&gt;myDoc is not freed.</P
Daniel Veillardd692aa41999-02-28 21:54:31 +00001737><P
1738></P
1739><DIV
1740CLASS="INFORMALTABLE"
1741><P
1742></P
1743><TABLE
1744BORDER="0"
1745WIDTH="100%"
1746BGCOLOR="#FFE0E0"
1747CELLSPACING="0"
1748CELLPADDING="4"
1749CLASS="CALSTABLE"
1750><TR
1751><TD
1752WIDTH="20%"
1753ALIGN="RIGHT"
1754VALIGN="TOP"
1755><TT
1756CLASS="PARAMETER"
1757><I
1758>ctxt</I
1759></TT
1760>&nbsp;:</TD
1761><TD
1762WIDTH="80%"
1763ALIGN="LEFT"
1764VALIGN="TOP"
1765> an XML parser context</TD
1766></TR
1767></TABLE
1768><P
1769></P
1770></DIV
1771></DIV
1772><HR><DIV
1773CLASS="REFSECT2"
1774><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001775NAME="AEN4878"
Daniel Veillard35925471999-02-25 08:46:07 +00001776></A
1777><H3
1778><A
1779NAME="XMLHANDLEENTITY"
1780></A
1781>xmlHandleEntity()</H3
1782><TABLE
1783BORDER="0"
1784BGCOLOR="#E8E8F8"
1785WIDTH="100%"
1786CELLPADDING="6"
1787><TR
1788><TD
1789><PRE
1790CLASS="PROGRAMLISTING"
1791>void xmlHandleEntity (<A
1792HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1793>xmlParserCtxtPtr</A
1794> ctxt,
1795 <A
1796HREF="gnome-xml-entities.html#XMLENTITYPTR"
1797>xmlEntityPtr</A
1798> entity);</PRE
1799></TD
1800></TR
1801></TABLE
1802><P
1803>Default handling of defined entities, when should we define a new input
1804stream ? When do we just handle that as a set of chars ?
1805TODO: we should call the SAX handler here and have it resolve the issue</P
1806><P
1807></P
1808><DIV
1809CLASS="INFORMALTABLE"
1810><P
1811></P
1812><TABLE
1813BORDER="0"
1814WIDTH="100%"
1815BGCOLOR="#FFE0E0"
1816CELLSPACING="0"
1817CELLPADDING="4"
1818CLASS="CALSTABLE"
1819><TR
1820><TD
1821WIDTH="20%"
1822ALIGN="RIGHT"
1823VALIGN="TOP"
1824><TT
1825CLASS="PARAMETER"
1826><I
1827>ctxt</I
1828></TT
1829>&nbsp;:</TD
1830><TD
1831WIDTH="80%"
1832ALIGN="LEFT"
1833VALIGN="TOP"
1834> an XML parser context</TD
1835></TR
1836><TR
1837><TD
1838WIDTH="20%"
1839ALIGN="RIGHT"
1840VALIGN="TOP"
1841><TT
1842CLASS="PARAMETER"
1843><I
1844>entity</I
1845></TT
1846>&nbsp;:</TD
1847><TD
1848WIDTH="80%"
1849ALIGN="LEFT"
1850VALIGN="TOP"
1851> an XML entity pointer.</TD
1852></TR
1853></TABLE
1854><P
1855></P
1856></DIV
1857></DIV
1858><HR><DIV
1859CLASS="REFSECT2"
1860><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001861NAME="AEN4899"
Daniel Veillardbc50b591999-03-01 12:28:53 +00001862></A
1863><H3
1864><A
1865NAME="XMLNEWENTITYINPUTSTREAM"
1866></A
1867>xmlNewEntityInputStream()</H3
1868><TABLE
1869BORDER="0"
1870BGCOLOR="#E8E8F8"
1871WIDTH="100%"
1872CELLPADDING="6"
1873><TR
1874><TD
1875><PRE
1876CLASS="PROGRAMLISTING"
1877><A
1878HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
1879>xmlParserInputPtr</A
1880> xmlNewEntityInputStream (<A
1881HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1882>xmlParserCtxtPtr</A
1883> ctxt,
1884 <A
1885HREF="gnome-xml-entities.html#XMLENTITYPTR"
1886>xmlEntityPtr</A
1887> entity);</PRE
1888></TD
1889></TR
1890></TABLE
1891><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00001892>Create a new input stream based on an xmlEntityPtr</P
Daniel Veillardbc50b591999-03-01 12:28:53 +00001893><P
1894></P
1895><DIV
1896CLASS="INFORMALTABLE"
1897><P
1898></P
1899><TABLE
1900BORDER="0"
1901WIDTH="100%"
1902BGCOLOR="#FFE0E0"
1903CELLSPACING="0"
1904CELLPADDING="4"
1905CLASS="CALSTABLE"
1906><TR
1907><TD
1908WIDTH="20%"
1909ALIGN="RIGHT"
1910VALIGN="TOP"
1911><TT
1912CLASS="PARAMETER"
1913><I
1914>ctxt</I
1915></TT
1916>&nbsp;:</TD
1917><TD
1918WIDTH="80%"
1919ALIGN="LEFT"
1920VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00001921> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00001922></TR
1923><TR
1924><TD
1925WIDTH="20%"
1926ALIGN="RIGHT"
1927VALIGN="TOP"
1928><TT
1929CLASS="PARAMETER"
1930><I
1931>entity</I
1932></TT
1933>&nbsp;:</TD
1934><TD
1935WIDTH="80%"
1936ALIGN="LEFT"
1937VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00001938> an Entity pointer</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00001939></TR
1940><TR
1941><TD
1942WIDTH="20%"
1943ALIGN="RIGHT"
1944VALIGN="TOP"
1945><I
1946CLASS="EMPHASIS"
1947>Returns</I
1948> :</TD
1949><TD
1950WIDTH="80%"
1951ALIGN="LEFT"
1952VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00001953>the new input stream</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00001954></TR
1955></TABLE
1956><P
1957></P
1958></DIV
1959></DIV
1960><HR><DIV
1961CLASS="REFSECT2"
1962><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00001963NAME="AEN4925"
Daniel Veillardbc50b591999-03-01 12:28:53 +00001964></A
1965><H3
1966><A
1967NAME="XMLPUSHINPUT"
1968></A
1969>xmlPushInput()</H3
1970><TABLE
1971BORDER="0"
1972BGCOLOR="#E8E8F8"
1973WIDTH="100%"
1974CELLPADDING="6"
1975><TR
1976><TD
1977><PRE
1978CLASS="PROGRAMLISTING"
1979>void xmlPushInput (<A
1980HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1981>xmlParserCtxtPtr</A
1982> ctxt,
1983 <A
1984HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
1985>xmlParserInputPtr</A
1986> input);</PRE
1987></TD
1988></TR
1989></TABLE
1990><P
1991>xmlPushInput: switch to a new input stream which is stacked on top
1992of the previous one(s).</P
1993><P
1994></P
1995><DIV
1996CLASS="INFORMALTABLE"
1997><P
1998></P
1999><TABLE
2000BORDER="0"
2001WIDTH="100%"
2002BGCOLOR="#FFE0E0"
2003CELLSPACING="0"
2004CELLPADDING="4"
2005CLASS="CALSTABLE"
2006><TR
2007><TD
2008WIDTH="20%"
2009ALIGN="RIGHT"
2010VALIGN="TOP"
2011><TT
2012CLASS="PARAMETER"
2013><I
2014>ctxt</I
2015></TT
2016>&nbsp;:</TD
2017><TD
2018WIDTH="80%"
2019ALIGN="LEFT"
2020VALIGN="TOP"
2021> an XML parser context</TD
2022></TR
2023><TR
2024><TD
2025WIDTH="20%"
2026ALIGN="RIGHT"
2027VALIGN="TOP"
2028><TT
2029CLASS="PARAMETER"
2030><I
2031>input</I
2032></TT
2033>&nbsp;:</TD
2034><TD
2035WIDTH="80%"
2036ALIGN="LEFT"
2037VALIGN="TOP"
2038> an XML parser input fragment (entity, XML fragment ...).</TD
2039></TR
2040></TABLE
2041><P
2042></P
2043></DIV
2044></DIV
2045><HR><DIV
2046CLASS="REFSECT2"
2047><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00002048NAME="AEN4946"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002049></A
2050><H3
2051><A
2052NAME="XMLPOPINPUT"
2053></A
2054>xmlPopInput()</H3
2055><TABLE
2056BORDER="0"
2057BGCOLOR="#E8E8F8"
2058WIDTH="100%"
2059CELLPADDING="6"
2060><TR
2061><TD
2062><PRE
2063CLASS="PROGRAMLISTING"
2064><A
2065HREF="gnome-xml-tree.html#CHAR"
2066>CHAR</A
2067> xmlPopInput (<A
2068HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2069>xmlParserCtxtPtr</A
2070> ctxt);</PRE
2071></TD
2072></TR
2073></TABLE
2074><P
2075>xmlPopInput: the current input pointed by ctxt-&gt;input came to an end
2076pop it and return the next char.</P
2077><P
2078>TODO A deallocation of the popped Input structure is needed</P
2079><P
2080></P
2081><DIV
2082CLASS="INFORMALTABLE"
2083><P
2084></P
2085><TABLE
2086BORDER="0"
2087WIDTH="100%"
2088BGCOLOR="#FFE0E0"
2089CELLSPACING="0"
2090CELLPADDING="4"
2091CLASS="CALSTABLE"
2092><TR
2093><TD
2094WIDTH="20%"
2095ALIGN="RIGHT"
2096VALIGN="TOP"
2097><TT
2098CLASS="PARAMETER"
2099><I
2100>ctxt</I
2101></TT
2102>&nbsp;:</TD
2103><TD
2104WIDTH="80%"
2105ALIGN="LEFT"
2106VALIGN="TOP"
2107> an XML parser context</TD
2108></TR
2109><TR
2110><TD
2111WIDTH="20%"
2112ALIGN="RIGHT"
2113VALIGN="TOP"
2114><I
2115CLASS="EMPHASIS"
2116>Returns</I
2117> :</TD
2118><TD
2119WIDTH="80%"
2120ALIGN="LEFT"
2121VALIGN="TOP"
2122>the current CHAR in the parser context</TD
2123></TR
2124></TABLE
2125><P
2126></P
2127></DIV
2128></DIV
2129><HR><DIV
2130CLASS="REFSECT2"
2131><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00002132NAME="AEN4968"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002133></A
2134><H3
2135><A
2136NAME="XMLFREEINPUTSTREAM"
2137></A
2138>xmlFreeInputStream()</H3
2139><TABLE
2140BORDER="0"
2141BGCOLOR="#E8E8F8"
2142WIDTH="100%"
2143CELLPADDING="6"
2144><TR
2145><TD
2146><PRE
2147CLASS="PROGRAMLISTING"
2148>void xmlFreeInputStream (<A
2149HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2150>xmlParserInputPtr</A
2151> input);</PRE
2152></TD
2153></TR
2154></TABLE
2155><P
2156>Free up an input stream.</P
2157><P
2158></P
2159><DIV
2160CLASS="INFORMALTABLE"
2161><P
2162></P
2163><TABLE
2164BORDER="0"
2165WIDTH="100%"
2166BGCOLOR="#FFE0E0"
2167CELLSPACING="0"
2168CELLPADDING="4"
2169CLASS="CALSTABLE"
2170><TR
2171><TD
2172WIDTH="20%"
2173ALIGN="RIGHT"
2174VALIGN="TOP"
2175><TT
2176CLASS="PARAMETER"
2177><I
2178>input</I
2179></TT
2180>&nbsp;:</TD
2181><TD
2182WIDTH="80%"
2183ALIGN="LEFT"
2184VALIGN="TOP"
2185> an xmlParserInputPtr</TD
2186></TR
2187></TABLE
2188><P
2189></P
2190></DIV
2191></DIV
2192><HR><DIV
2193CLASS="REFSECT2"
2194><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00002195NAME="AEN4984"
2196></A
2197><H3
2198><A
2199NAME="XMLNEWINPUTFROMFILE"
2200></A
2201>xmlNewInputFromFile()</H3
2202><TABLE
2203BORDER="0"
2204BGCOLOR="#E8E8F8"
2205WIDTH="100%"
2206CELLPADDING="6"
2207><TR
2208><TD
2209><PRE
2210CLASS="PROGRAMLISTING"
2211><A
2212HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2213>xmlParserInputPtr</A
2214> xmlNewInputFromFile (<A
2215HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2216>xmlParserCtxtPtr</A
2217> ctxt,
2218 const char *filename);</PRE
2219></TD
2220></TR
2221></TABLE
2222><P
2223>Create a new input stream based on a file.</P
2224><P
2225></P
2226><DIV
2227CLASS="INFORMALTABLE"
2228><P
2229></P
2230><TABLE
2231BORDER="0"
2232WIDTH="100%"
2233BGCOLOR="#FFE0E0"
2234CELLSPACING="0"
2235CELLPADDING="4"
2236CLASS="CALSTABLE"
2237><TR
2238><TD
2239WIDTH="20%"
2240ALIGN="RIGHT"
2241VALIGN="TOP"
2242><TT
2243CLASS="PARAMETER"
2244><I
2245>ctxt</I
2246></TT
2247>&nbsp;:</TD
2248><TD
2249WIDTH="80%"
2250ALIGN="LEFT"
2251VALIGN="TOP"
2252> an XML parser context</TD
2253></TR
2254><TR
2255><TD
2256WIDTH="20%"
2257ALIGN="RIGHT"
2258VALIGN="TOP"
2259><TT
2260CLASS="PARAMETER"
2261><I
2262>filename</I
2263></TT
2264>&nbsp;:</TD
2265><TD
2266WIDTH="80%"
2267ALIGN="LEFT"
2268VALIGN="TOP"
2269> the filename to use as entity</TD
2270></TR
2271><TR
2272><TD
2273WIDTH="20%"
2274ALIGN="RIGHT"
2275VALIGN="TOP"
2276><I
2277CLASS="EMPHASIS"
2278>Returns</I
2279> :</TD
2280><TD
2281WIDTH="80%"
2282ALIGN="LEFT"
2283VALIGN="TOP"
2284>the new input stream or NULL in case of error</TD
2285></TR
2286></TABLE
2287><P
2288></P
2289></DIV
2290></DIV
2291><HR><DIV
2292CLASS="REFSECT2"
2293><A
2294NAME="AEN5009"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002295></A
2296><H3
2297><A
2298NAME="XMLSPLITQNAME"
2299></A
2300>xmlSplitQName()</H3
2301><TABLE
2302BORDER="0"
2303BGCOLOR="#E8E8F8"
2304WIDTH="100%"
2305CELLPADDING="6"
2306><TR
2307><TD
2308><PRE
2309CLASS="PROGRAMLISTING"
2310><A
2311HREF="gnome-xml-tree.html#CHAR"
2312>CHAR</A
2313>* xmlSplitQName (const <A
2314HREF="gnome-xml-tree.html#CHAR"
2315>CHAR</A
2316> *name,
2317 <A
2318HREF="gnome-xml-tree.html#CHAR"
2319>CHAR</A
2320> **prefix);</PRE
2321></TD
2322></TR
2323></TABLE
2324><P
2325>parse an XML qualified name string</P
2326><P
2327>[NS 5] QName ::= (Prefix ':')? LocalPart</P
2328><P
2329>[NS 6] Prefix ::= NCName</P
2330><P
2331>[NS 7] LocalPart ::= NCName</P
2332><P
2333></P
2334><DIV
2335CLASS="INFORMALTABLE"
2336><P
2337></P
2338><TABLE
2339BORDER="0"
2340WIDTH="100%"
2341BGCOLOR="#FFE0E0"
2342CELLSPACING="0"
2343CELLPADDING="4"
2344CLASS="CALSTABLE"
2345><TR
2346><TD
2347WIDTH="20%"
2348ALIGN="RIGHT"
2349VALIGN="TOP"
2350><TT
2351CLASS="PARAMETER"
2352><I
2353>name</I
2354></TT
2355>&nbsp;:</TD
2356><TD
2357WIDTH="80%"
2358ALIGN="LEFT"
2359VALIGN="TOP"
2360> an XML parser context</TD
2361></TR
2362><TR
2363><TD
2364WIDTH="20%"
2365ALIGN="RIGHT"
2366VALIGN="TOP"
2367><TT
2368CLASS="PARAMETER"
2369><I
2370>prefix</I
2371></TT
2372>&nbsp;:</TD
2373><TD
2374WIDTH="80%"
2375ALIGN="LEFT"
2376VALIGN="TOP"
2377> a CHAR ** </TD
2378></TR
2379><TR
2380><TD
2381WIDTH="20%"
2382ALIGN="RIGHT"
2383VALIGN="TOP"
2384><I
2385CLASS="EMPHASIS"
2386>Returns</I
2387> :</TD
2388><TD
2389WIDTH="80%"
2390ALIGN="LEFT"
2391VALIGN="TOP"
2392>the function returns the local part, and prefix is updated
2393to get the Prefix if any.</TD
2394></TR
2395></TABLE
2396><P
2397></P
2398></DIV
2399></DIV
2400><HR><DIV
2401CLASS="REFSECT2"
2402><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00002403NAME="AEN5038"
Daniel Veillard35925471999-02-25 08:46:07 +00002404></A
2405><H3
2406><A
2407NAME="XMLNAMESPACEPARSENCNAME"
2408></A
2409>xmlNamespaceParseNCName()</H3
2410><TABLE
2411BORDER="0"
2412BGCOLOR="#E8E8F8"
2413WIDTH="100%"
2414CELLPADDING="6"
2415><TR
2416><TD
2417><PRE
2418CLASS="PROGRAMLISTING"
2419><A
2420HREF="gnome-xml-tree.html#CHAR"
2421>CHAR</A
2422>* xmlNamespaceParseNCName (<A
2423HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2424>xmlParserCtxtPtr</A
2425> ctxt);</PRE
2426></TD
2427></TR
2428></TABLE
2429><P
2430>parse an XML namespace name.</P
2431><P
2432>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
2433><P
2434>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
2435CombiningChar | Extender</P
2436><P
2437></P
2438><DIV
2439CLASS="INFORMALTABLE"
2440><P
2441></P
2442><TABLE
2443BORDER="0"
2444WIDTH="100%"
2445BGCOLOR="#FFE0E0"
2446CELLSPACING="0"
2447CELLPADDING="4"
2448CLASS="CALSTABLE"
2449><TR
2450><TD
2451WIDTH="20%"
2452ALIGN="RIGHT"
2453VALIGN="TOP"
2454><TT
2455CLASS="PARAMETER"
2456><I
2457>ctxt</I
2458></TT
2459>&nbsp;:</TD
2460><TD
2461WIDTH="80%"
2462ALIGN="LEFT"
2463VALIGN="TOP"
2464> an XML parser context</TD
2465></TR
2466><TR
2467><TD
2468WIDTH="20%"
2469ALIGN="RIGHT"
2470VALIGN="TOP"
2471><I
2472CLASS="EMPHASIS"
2473>Returns</I
2474> :</TD
2475><TD
2476WIDTH="80%"
2477ALIGN="LEFT"
2478VALIGN="TOP"
2479>the namespace name or NULL</TD
2480></TR
2481></TABLE
2482><P
2483></P
2484></DIV
2485></DIV
2486><HR><DIV
2487CLASS="REFSECT2"
2488><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00002489NAME="AEN5061"
Daniel Veillard35925471999-02-25 08:46:07 +00002490></A
2491><H3
2492><A
2493NAME="XMLNAMESPACEPARSEQNAME"
2494></A
2495>xmlNamespaceParseQName()</H3
2496><TABLE
2497BORDER="0"
2498BGCOLOR="#E8E8F8"
2499WIDTH="100%"
2500CELLPADDING="6"
2501><TR
2502><TD
2503><PRE
2504CLASS="PROGRAMLISTING"
2505><A
2506HREF="gnome-xml-tree.html#CHAR"
2507>CHAR</A
2508>* xmlNamespaceParseQName (<A
2509HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2510>xmlParserCtxtPtr</A
2511> ctxt,
2512 <A
2513HREF="gnome-xml-tree.html#CHAR"
2514>CHAR</A
2515> **prefix);</PRE
2516></TD
2517></TR
2518></TABLE
2519><P
2520>parse an XML qualified name</P
2521><P
2522>[NS 5] QName ::= (Prefix ':')? LocalPart</P
2523><P
2524>[NS 6] Prefix ::= NCName</P
2525><P
2526>[NS 7] LocalPart ::= NCName</P
2527><P
2528></P
2529><DIV
2530CLASS="INFORMALTABLE"
2531><P
2532></P
2533><TABLE
2534BORDER="0"
2535WIDTH="100%"
2536BGCOLOR="#FFE0E0"
2537CELLSPACING="0"
2538CELLPADDING="4"
2539CLASS="CALSTABLE"
2540><TR
2541><TD
2542WIDTH="20%"
2543ALIGN="RIGHT"
2544VALIGN="TOP"
2545><TT
2546CLASS="PARAMETER"
2547><I
2548>ctxt</I
2549></TT
2550>&nbsp;:</TD
2551><TD
2552WIDTH="80%"
2553ALIGN="LEFT"
2554VALIGN="TOP"
2555> an XML parser context</TD
2556></TR
2557><TR
2558><TD
2559WIDTH="20%"
2560ALIGN="RIGHT"
2561VALIGN="TOP"
2562><TT
2563CLASS="PARAMETER"
2564><I
2565>prefix</I
2566></TT
2567>&nbsp;:</TD
2568><TD
2569WIDTH="80%"
2570ALIGN="LEFT"
2571VALIGN="TOP"
2572> a CHAR ** </TD
2573></TR
2574><TR
2575><TD
2576WIDTH="20%"
2577ALIGN="RIGHT"
2578VALIGN="TOP"
2579><I
2580CLASS="EMPHASIS"
2581>Returns</I
2582> :</TD
2583><TD
2584WIDTH="80%"
2585ALIGN="LEFT"
2586VALIGN="TOP"
2587>the function returns the local part, and prefix is updated
2588to get the Prefix if any.</TD
2589></TR
2590></TABLE
2591><P
2592></P
2593></DIV
2594></DIV
2595><HR><DIV
2596CLASS="REFSECT2"
2597><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00002598NAME="AEN5090"
Daniel Veillard35925471999-02-25 08:46:07 +00002599></A
2600><H3
2601><A
2602NAME="XMLNAMESPACEPARSENSDEF"
2603></A
2604>xmlNamespaceParseNSDef()</H3
2605><TABLE
2606BORDER="0"
2607BGCOLOR="#E8E8F8"
2608WIDTH="100%"
2609CELLPADDING="6"
2610><TR
2611><TD
2612><PRE
2613CLASS="PROGRAMLISTING"
2614><A
2615HREF="gnome-xml-tree.html#CHAR"
2616>CHAR</A
2617>* xmlNamespaceParseNSDef (<A
2618HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2619>xmlParserCtxtPtr</A
2620> ctxt);</PRE
2621></TD
2622></TR
2623></TABLE
2624><P
2625>parse a namespace prefix declaration</P
2626><P
2627>[NS 1] NSDef ::= PrefixDef Eq SystemLiteral</P
2628><P
2629>[NS 2] PrefixDef ::= 'xmlns' (':' NCName)?</P
2630><P
2631></P
2632><DIV
2633CLASS="INFORMALTABLE"
2634><P
2635></P
2636><TABLE
2637BORDER="0"
2638WIDTH="100%"
2639BGCOLOR="#FFE0E0"
2640CELLSPACING="0"
2641CELLPADDING="4"
2642CLASS="CALSTABLE"
2643><TR
2644><TD
2645WIDTH="20%"
2646ALIGN="RIGHT"
2647VALIGN="TOP"
2648><TT
2649CLASS="PARAMETER"
2650><I
2651>ctxt</I
2652></TT
2653>&nbsp;:</TD
2654><TD
2655WIDTH="80%"
2656ALIGN="LEFT"
2657VALIGN="TOP"
2658> an XML parser context</TD
2659></TR
2660><TR
2661><TD
2662WIDTH="20%"
2663ALIGN="RIGHT"
2664VALIGN="TOP"
2665><I
2666CLASS="EMPHASIS"
2667>Returns</I
2668> :</TD
2669><TD
2670WIDTH="80%"
2671ALIGN="LEFT"
2672VALIGN="TOP"
2673>the namespace name</TD
2674></TR
2675></TABLE
2676><P
2677></P
2678></DIV
2679></DIV
2680><HR><DIV
2681CLASS="REFSECT2"
2682><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00002683NAME="AEN5113"
Daniel Veillard35925471999-02-25 08:46:07 +00002684></A
2685><H3
2686><A
2687NAME="XMLPARSEQUOTEDSTRING"
2688></A
2689>xmlParseQuotedString()</H3
2690><TABLE
2691BORDER="0"
2692BGCOLOR="#E8E8F8"
2693WIDTH="100%"
2694CELLPADDING="6"
2695><TR
2696><TD
2697><PRE
2698CLASS="PROGRAMLISTING"
2699><A
2700HREF="gnome-xml-tree.html#CHAR"
2701>CHAR</A
2702>* xmlParseQuotedString (<A
2703HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2704>xmlParserCtxtPtr</A
2705> ctxt);</PRE
2706></TD
2707></TR
2708></TABLE
2709><P
2710>[OLD] Parse and return a string between quotes or doublequotes</P
2711><P
2712></P
2713><DIV
2714CLASS="INFORMALTABLE"
2715><P
2716></P
2717><TABLE
2718BORDER="0"
2719WIDTH="100%"
2720BGCOLOR="#FFE0E0"
2721CELLSPACING="0"
2722CELLPADDING="4"
2723CLASS="CALSTABLE"
2724><TR
2725><TD
2726WIDTH="20%"
2727ALIGN="RIGHT"
2728VALIGN="TOP"
2729><TT
2730CLASS="PARAMETER"
2731><I
2732>ctxt</I
2733></TT
2734>&nbsp;:</TD
2735><TD
2736WIDTH="80%"
2737ALIGN="LEFT"
2738VALIGN="TOP"
2739> an XML parser context</TD
2740></TR
2741><TR
2742><TD
2743WIDTH="20%"
2744ALIGN="RIGHT"
2745VALIGN="TOP"
2746><I
2747CLASS="EMPHASIS"
2748>Returns</I
2749> :</TD
2750><TD
2751WIDTH="80%"
2752ALIGN="LEFT"
2753VALIGN="TOP"
2754>the string parser or NULL.</TD
2755></TR
2756></TABLE
2757><P
2758></P
2759></DIV
2760></DIV
2761><HR><DIV
2762CLASS="REFSECT2"
2763><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00002764NAME="AEN5134"
Daniel Veillard35925471999-02-25 08:46:07 +00002765></A
2766><H3
2767><A
2768NAME="XMLPARSENAMESPACE"
2769></A
2770>xmlParseNamespace()</H3
2771><TABLE
2772BORDER="0"
2773BGCOLOR="#E8E8F8"
2774WIDTH="100%"
2775CELLPADDING="6"
2776><TR
2777><TD
2778><PRE
2779CLASS="PROGRAMLISTING"
2780>void xmlParseNamespace (<A
2781HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2782>xmlParserCtxtPtr</A
2783> ctxt);</PRE
2784></TD
2785></TR
2786></TABLE
2787><P
2788>[OLD] xmlParseNamespace: parse specific PI '&lt;?namespace ...' constructs.</P
2789><P
2790>This is what the older xml-name Working Draft specified, a bunch of
2791other stuff may still rely on it, so support is still here as
2792if ot was declared on the root of the Tree:-(</P
2793><P
2794></P
2795><DIV
2796CLASS="INFORMALTABLE"
2797><P
2798></P
2799><TABLE
2800BORDER="0"
2801WIDTH="100%"
2802BGCOLOR="#FFE0E0"
2803CELLSPACING="0"
2804CELLPADDING="4"
2805CLASS="CALSTABLE"
2806><TR
2807><TD
2808WIDTH="20%"
2809ALIGN="RIGHT"
2810VALIGN="TOP"
2811><TT
2812CLASS="PARAMETER"
2813><I
2814>ctxt</I
2815></TT
2816>&nbsp;:</TD
2817><TD
2818WIDTH="80%"
2819ALIGN="LEFT"
2820VALIGN="TOP"
2821> an XML parser context</TD
2822></TR
2823></TABLE
2824><P
2825></P
2826></DIV
2827></DIV
2828><HR><DIV
2829CLASS="REFSECT2"
2830><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00002831NAME="AEN5151"
Daniel Veillard35925471999-02-25 08:46:07 +00002832></A
2833><H3
2834><A
2835NAME="XMLPARSENAME"
2836></A
2837>xmlParseName()</H3
2838><TABLE
2839BORDER="0"
2840BGCOLOR="#E8E8F8"
2841WIDTH="100%"
2842CELLPADDING="6"
2843><TR
2844><TD
2845><PRE
2846CLASS="PROGRAMLISTING"
2847><A
2848HREF="gnome-xml-tree.html#CHAR"
2849>CHAR</A
2850>* xmlParseName (<A
2851HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2852>xmlParserCtxtPtr</A
2853> ctxt);</PRE
2854></TD
2855></TR
2856></TABLE
2857><P
2858>parse an XML name.</P
2859><P
2860>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
2861CombiningChar | Extender</P
2862><P
2863>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
2864><P
2865>[6] Names ::= Name (S Name)*</P
2866><P
2867></P
2868><DIV
2869CLASS="INFORMALTABLE"
2870><P
2871></P
2872><TABLE
2873BORDER="0"
2874WIDTH="100%"
2875BGCOLOR="#FFE0E0"
2876CELLSPACING="0"
2877CELLPADDING="4"
2878CLASS="CALSTABLE"
2879><TR
2880><TD
2881WIDTH="20%"
2882ALIGN="RIGHT"
2883VALIGN="TOP"
2884><TT
2885CLASS="PARAMETER"
2886><I
2887>ctxt</I
2888></TT
2889>&nbsp;:</TD
2890><TD
2891WIDTH="80%"
2892ALIGN="LEFT"
2893VALIGN="TOP"
2894> an XML parser context</TD
2895></TR
2896><TR
2897><TD
2898WIDTH="20%"
2899ALIGN="RIGHT"
2900VALIGN="TOP"
2901><I
2902CLASS="EMPHASIS"
2903>Returns</I
2904> :</TD
2905><TD
2906WIDTH="80%"
2907ALIGN="LEFT"
2908VALIGN="TOP"
2909>the Name parsed or NULL</TD
2910></TR
2911></TABLE
2912><P
2913></P
2914></DIV
2915></DIV
2916><HR><DIV
2917CLASS="REFSECT2"
2918><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00002919NAME="AEN5175"
Daniel Veillard35925471999-02-25 08:46:07 +00002920></A
2921><H3
2922><A
2923NAME="XMLPARSENMTOKEN"
2924></A
2925>xmlParseNmtoken()</H3
2926><TABLE
2927BORDER="0"
2928BGCOLOR="#E8E8F8"
2929WIDTH="100%"
2930CELLPADDING="6"
2931><TR
2932><TD
2933><PRE
2934CLASS="PROGRAMLISTING"
2935><A
2936HREF="gnome-xml-tree.html#CHAR"
2937>CHAR</A
2938>* xmlParseNmtoken (<A
2939HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2940>xmlParserCtxtPtr</A
2941> ctxt);</PRE
2942></TD
2943></TR
2944></TABLE
2945><P
2946>parse an XML Nmtoken.</P
2947><P
2948>[7] Nmtoken ::= (NameChar)+</P
2949><P
2950>[8] Nmtokens ::= Nmtoken (S Nmtoken)*</P
2951><P
2952></P
2953><DIV
2954CLASS="INFORMALTABLE"
2955><P
2956></P
2957><TABLE
2958BORDER="0"
2959WIDTH="100%"
2960BGCOLOR="#FFE0E0"
2961CELLSPACING="0"
2962CELLPADDING="4"
2963CLASS="CALSTABLE"
2964><TR
2965><TD
2966WIDTH="20%"
2967ALIGN="RIGHT"
2968VALIGN="TOP"
2969><TT
2970CLASS="PARAMETER"
2971><I
2972>ctxt</I
2973></TT
2974>&nbsp;:</TD
2975><TD
2976WIDTH="80%"
2977ALIGN="LEFT"
2978VALIGN="TOP"
2979> an XML parser context</TD
2980></TR
2981><TR
2982><TD
2983WIDTH="20%"
2984ALIGN="RIGHT"
2985VALIGN="TOP"
2986><I
2987CLASS="EMPHASIS"
2988>Returns</I
2989> :</TD
2990><TD
2991WIDTH="80%"
2992ALIGN="LEFT"
2993VALIGN="TOP"
2994>the Nmtoken parsed or NULL</TD
2995></TR
2996></TABLE
2997><P
2998></P
2999></DIV
3000></DIV
3001><HR><DIV
3002CLASS="REFSECT2"
3003><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003004NAME="AEN5198"
Daniel Veillard35925471999-02-25 08:46:07 +00003005></A
3006><H3
3007><A
3008NAME="XMLPARSEENTITYVALUE"
3009></A
3010>xmlParseEntityValue()</H3
3011><TABLE
3012BORDER="0"
3013BGCOLOR="#E8E8F8"
3014WIDTH="100%"
3015CELLPADDING="6"
3016><TR
3017><TD
3018><PRE
3019CLASS="PROGRAMLISTING"
3020><A
3021HREF="gnome-xml-tree.html#CHAR"
3022>CHAR</A
3023>* xmlParseEntityValue (<A
3024HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3025>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003026> ctxt,
3027 <A
3028HREF="gnome-xml-tree.html#CHAR"
3029>CHAR</A
3030> **orig);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003031></TD
3032></TR
3033></TABLE
3034><P
3035>parse a value for ENTITY decl.</P
3036><P
3037>[9] EntityValue ::= '"' ([^%&amp;"] | PEReference | Reference)* '"' |
3038"'" ([^%&amp;'] | PEReference | Reference)* "'"</P
3039><P
3040></P
3041><DIV
3042CLASS="INFORMALTABLE"
3043><P
3044></P
3045><TABLE
3046BORDER="0"
3047WIDTH="100%"
3048BGCOLOR="#FFE0E0"
3049CELLSPACING="0"
3050CELLPADDING="4"
3051CLASS="CALSTABLE"
3052><TR
3053><TD
3054WIDTH="20%"
3055ALIGN="RIGHT"
3056VALIGN="TOP"
3057><TT
3058CLASS="PARAMETER"
3059><I
3060>ctxt</I
3061></TT
3062>&nbsp;:</TD
3063><TD
3064WIDTH="80%"
3065ALIGN="LEFT"
3066VALIGN="TOP"
3067> an XML parser context</TD
3068></TR
3069><TR
3070><TD
3071WIDTH="20%"
3072ALIGN="RIGHT"
3073VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003074><TT
3075CLASS="PARAMETER"
3076><I
3077>orig</I
3078></TT
3079>&nbsp;:</TD
3080><TD
3081WIDTH="80%"
3082ALIGN="LEFT"
3083VALIGN="TOP"
3084> if non-NULL store a copy of the original entity value</TD
3085></TR
3086><TR
3087><TD
3088WIDTH="20%"
3089ALIGN="RIGHT"
3090VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00003091><I
3092CLASS="EMPHASIS"
3093>Returns</I
3094> :</TD
3095><TD
3096WIDTH="80%"
3097ALIGN="LEFT"
3098VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003099>the EntityValue parsed with reference substitued or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003100></TR
3101></TABLE
3102><P
3103></P
3104></DIV
3105></DIV
3106><HR><DIV
3107CLASS="REFSECT2"
3108><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003109NAME="AEN5225"
Daniel Veillard35925471999-02-25 08:46:07 +00003110></A
3111><H3
3112><A
3113NAME="XMLPARSEATTVALUE"
3114></A
3115>xmlParseAttValue()</H3
3116><TABLE
3117BORDER="0"
3118BGCOLOR="#E8E8F8"
3119WIDTH="100%"
3120CELLPADDING="6"
3121><TR
3122><TD
3123><PRE
3124CLASS="PROGRAMLISTING"
3125><A
3126HREF="gnome-xml-tree.html#CHAR"
3127>CHAR</A
3128>* xmlParseAttValue (<A
3129HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3130>xmlParserCtxtPtr</A
3131> ctxt);</PRE
3132></TD
3133></TR
3134></TABLE
3135><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00003136>parse a value for an attribute
3137Note: the parser won't do substitution of entities here, this
3138will be handled later in xmlStringGetNodeList, unless it was
3139asked for ctxt-&gt;replaceEntities != 0 </P
Daniel Veillard35925471999-02-25 08:46:07 +00003140><P
3141>[10] AttValue ::= '"' ([^&lt;&amp;"] | Reference)* '"' |
3142"'" ([^&lt;&amp;'] | Reference)* "'"</P
3143><P
3144></P
3145><DIV
3146CLASS="INFORMALTABLE"
3147><P
3148></P
3149><TABLE
3150BORDER="0"
3151WIDTH="100%"
3152BGCOLOR="#FFE0E0"
3153CELLSPACING="0"
3154CELLPADDING="4"
3155CLASS="CALSTABLE"
3156><TR
3157><TD
3158WIDTH="20%"
3159ALIGN="RIGHT"
3160VALIGN="TOP"
3161><TT
3162CLASS="PARAMETER"
3163><I
3164>ctxt</I
3165></TT
3166>&nbsp;:</TD
3167><TD
3168WIDTH="80%"
3169ALIGN="LEFT"
3170VALIGN="TOP"
3171> an XML parser context</TD
3172></TR
3173><TR
3174><TD
3175WIDTH="20%"
3176ALIGN="RIGHT"
3177VALIGN="TOP"
3178><I
3179CLASS="EMPHASIS"
3180>Returns</I
3181> :</TD
3182><TD
3183WIDTH="80%"
3184ALIGN="LEFT"
3185VALIGN="TOP"
3186>the AttValue parsed or NULL.</TD
3187></TR
3188></TABLE
3189><P
3190></P
3191></DIV
3192></DIV
3193><HR><DIV
3194CLASS="REFSECT2"
3195><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003196NAME="AEN5247"
Daniel Veillard35925471999-02-25 08:46:07 +00003197></A
3198><H3
3199><A
3200NAME="XMLPARSESYSTEMLITERAL"
3201></A
3202>xmlParseSystemLiteral()</H3
3203><TABLE
3204BORDER="0"
3205BGCOLOR="#E8E8F8"
3206WIDTH="100%"
3207CELLPADDING="6"
3208><TR
3209><TD
3210><PRE
3211CLASS="PROGRAMLISTING"
3212><A
3213HREF="gnome-xml-tree.html#CHAR"
3214>CHAR</A
3215>* xmlParseSystemLiteral (<A
3216HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3217>xmlParserCtxtPtr</A
3218> ctxt);</PRE
3219></TD
3220></TR
3221></TABLE
3222><P
3223>parse an XML Literal</P
3224><P
3225>[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</P
3226><P
3227></P
3228><DIV
3229CLASS="INFORMALTABLE"
3230><P
3231></P
3232><TABLE
3233BORDER="0"
3234WIDTH="100%"
3235BGCOLOR="#FFE0E0"
3236CELLSPACING="0"
3237CELLPADDING="4"
3238CLASS="CALSTABLE"
3239><TR
3240><TD
3241WIDTH="20%"
3242ALIGN="RIGHT"
3243VALIGN="TOP"
3244><TT
3245CLASS="PARAMETER"
3246><I
3247>ctxt</I
3248></TT
3249>&nbsp;:</TD
3250><TD
3251WIDTH="80%"
3252ALIGN="LEFT"
3253VALIGN="TOP"
3254> an XML parser context</TD
3255></TR
3256><TR
3257><TD
3258WIDTH="20%"
3259ALIGN="RIGHT"
3260VALIGN="TOP"
3261><I
3262CLASS="EMPHASIS"
3263>Returns</I
3264> :</TD
3265><TD
3266WIDTH="80%"
3267ALIGN="LEFT"
3268VALIGN="TOP"
3269>the SystemLiteral parsed or NULL</TD
3270></TR
3271></TABLE
3272><P
3273></P
3274></DIV
3275></DIV
3276><HR><DIV
3277CLASS="REFSECT2"
3278><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003279NAME="AEN5269"
Daniel Veillard35925471999-02-25 08:46:07 +00003280></A
3281><H3
3282><A
3283NAME="XMLPARSEPUBIDLITERAL"
3284></A
3285>xmlParsePubidLiteral()</H3
3286><TABLE
3287BORDER="0"
3288BGCOLOR="#E8E8F8"
3289WIDTH="100%"
3290CELLPADDING="6"
3291><TR
3292><TD
3293><PRE
3294CLASS="PROGRAMLISTING"
3295><A
3296HREF="gnome-xml-tree.html#CHAR"
3297>CHAR</A
3298>* xmlParsePubidLiteral (<A
3299HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3300>xmlParserCtxtPtr</A
3301> ctxt);</PRE
3302></TD
3303></TR
3304></TABLE
3305><P
3306>parse an XML public literal</P
3307><P
3308>[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</P
3309><P
3310></P
3311><DIV
3312CLASS="INFORMALTABLE"
3313><P
3314></P
3315><TABLE
3316BORDER="0"
3317WIDTH="100%"
3318BGCOLOR="#FFE0E0"
3319CELLSPACING="0"
3320CELLPADDING="4"
3321CLASS="CALSTABLE"
3322><TR
3323><TD
3324WIDTH="20%"
3325ALIGN="RIGHT"
3326VALIGN="TOP"
3327><TT
3328CLASS="PARAMETER"
3329><I
3330>ctxt</I
3331></TT
3332>&nbsp;:</TD
3333><TD
3334WIDTH="80%"
3335ALIGN="LEFT"
3336VALIGN="TOP"
3337> an XML parser context</TD
3338></TR
3339><TR
3340><TD
3341WIDTH="20%"
3342ALIGN="RIGHT"
3343VALIGN="TOP"
3344><I
3345CLASS="EMPHASIS"
3346>Returns</I
3347> :</TD
3348><TD
3349WIDTH="80%"
3350ALIGN="LEFT"
3351VALIGN="TOP"
3352>the PubidLiteral parsed or NULL.</TD
3353></TR
3354></TABLE
3355><P
3356></P
3357></DIV
3358></DIV
3359><HR><DIV
3360CLASS="REFSECT2"
3361><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003362NAME="AEN5291"
Daniel Veillard35925471999-02-25 08:46:07 +00003363></A
3364><H3
3365><A
3366NAME="XMLPARSECHARDATA"
3367></A
3368>xmlParseCharData()</H3
3369><TABLE
3370BORDER="0"
3371BGCOLOR="#E8E8F8"
3372WIDTH="100%"
3373CELLPADDING="6"
3374><TR
3375><TD
3376><PRE
3377CLASS="PROGRAMLISTING"
3378>void xmlParseCharData (<A
3379HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3380>xmlParserCtxtPtr</A
3381> ctxt,
3382 int cdata);</PRE
3383></TD
3384></TR
3385></TABLE
3386><P
3387>parse a CharData section.
3388if we are within a CDATA section ']]&gt;' marks an end of section.</P
3389><P
3390>[14] CharData ::= [^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</P
3391><P
3392></P
3393><DIV
3394CLASS="INFORMALTABLE"
3395><P
3396></P
3397><TABLE
3398BORDER="0"
3399WIDTH="100%"
3400BGCOLOR="#FFE0E0"
3401CELLSPACING="0"
3402CELLPADDING="4"
3403CLASS="CALSTABLE"
3404><TR
3405><TD
3406WIDTH="20%"
3407ALIGN="RIGHT"
3408VALIGN="TOP"
3409><TT
3410CLASS="PARAMETER"
3411><I
3412>ctxt</I
3413></TT
3414>&nbsp;:</TD
3415><TD
3416WIDTH="80%"
3417ALIGN="LEFT"
3418VALIGN="TOP"
3419> an XML parser context</TD
3420></TR
3421><TR
3422><TD
3423WIDTH="20%"
3424ALIGN="RIGHT"
3425VALIGN="TOP"
3426><TT
3427CLASS="PARAMETER"
3428><I
3429>cdata</I
3430></TT
3431>&nbsp;:</TD
3432><TD
3433WIDTH="80%"
3434ALIGN="LEFT"
3435VALIGN="TOP"
3436> int indicating whether we are within a CDATA section</TD
3437></TR
3438></TABLE
3439><P
3440></P
3441></DIV
3442></DIV
3443><HR><DIV
3444CLASS="REFSECT2"
3445><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003446NAME="AEN5312"
Daniel Veillard35925471999-02-25 08:46:07 +00003447></A
3448><H3
3449><A
3450NAME="XMLPARSEEXTERNALID"
3451></A
3452>xmlParseExternalID()</H3
3453><TABLE
3454BORDER="0"
3455BGCOLOR="#E8E8F8"
3456WIDTH="100%"
3457CELLPADDING="6"
3458><TR
3459><TD
3460><PRE
3461CLASS="PROGRAMLISTING"
3462><A
3463HREF="gnome-xml-tree.html#CHAR"
3464>CHAR</A
3465>* xmlParseExternalID (<A
3466HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3467>xmlParserCtxtPtr</A
3468> ctxt,
3469 <A
3470HREF="gnome-xml-tree.html#CHAR"
3471>CHAR</A
3472> **publicID,
3473 int strict);</PRE
3474></TD
3475></TR
3476></TABLE
3477><P
3478>Parse an External ID or a Public ID</P
3479><P
3480>NOTE: Productions [75] and [83] interract badly since [75] can generate
3481'PUBLIC' S PubidLiteral S SystemLiteral</P
3482><P
3483>[75] ExternalID ::= 'SYSTEM' S SystemLiteral
3484| 'PUBLIC' S PubidLiteral S SystemLiteral</P
3485><P
3486>[83] PublicID ::= 'PUBLIC' S PubidLiteral</P
3487><P
3488></P
3489><DIV
3490CLASS="INFORMALTABLE"
3491><P
3492></P
3493><TABLE
3494BORDER="0"
3495WIDTH="100%"
3496BGCOLOR="#FFE0E0"
3497CELLSPACING="0"
3498CELLPADDING="4"
3499CLASS="CALSTABLE"
3500><TR
3501><TD
3502WIDTH="20%"
3503ALIGN="RIGHT"
3504VALIGN="TOP"
3505><TT
3506CLASS="PARAMETER"
3507><I
3508>ctxt</I
3509></TT
3510>&nbsp;:</TD
3511><TD
3512WIDTH="80%"
3513ALIGN="LEFT"
3514VALIGN="TOP"
3515> an XML parser context</TD
3516></TR
3517><TR
3518><TD
3519WIDTH="20%"
3520ALIGN="RIGHT"
3521VALIGN="TOP"
3522><TT
3523CLASS="PARAMETER"
3524><I
3525>publicID</I
3526></TT
3527>&nbsp;:</TD
3528><TD
3529WIDTH="80%"
3530ALIGN="LEFT"
3531VALIGN="TOP"
3532> a CHAR** receiving PubidLiteral</TD
3533></TR
3534><TR
3535><TD
3536WIDTH="20%"
3537ALIGN="RIGHT"
3538VALIGN="TOP"
3539><TT
3540CLASS="PARAMETER"
3541><I
3542>strict</I
3543></TT
3544>&nbsp;:</TD
3545><TD
3546WIDTH="80%"
3547ALIGN="LEFT"
3548VALIGN="TOP"
3549> indicate whether we should restrict parsing to only
3550production [75], see NOTE below</TD
3551></TR
3552><TR
3553><TD
3554WIDTH="20%"
3555ALIGN="RIGHT"
3556VALIGN="TOP"
3557><I
3558CLASS="EMPHASIS"
3559>Returns</I
3560> :</TD
3561><TD
3562WIDTH="80%"
3563ALIGN="LEFT"
3564VALIGN="TOP"
3565>the function returns SystemLiteral and in the second
3566case publicID receives PubidLiteral, is strict is off
3567it is possible to return NULL and have publicID set.</TD
3568></TR
3569></TABLE
3570><P
3571></P
3572></DIV
3573></DIV
3574><HR><DIV
3575CLASS="REFSECT2"
3576><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003577NAME="AEN5345"
Daniel Veillard35925471999-02-25 08:46:07 +00003578></A
3579><H3
3580><A
3581NAME="XMLPARSECOMMENT"
3582></A
3583>xmlParseComment()</H3
3584><TABLE
3585BORDER="0"
3586BGCOLOR="#E8E8F8"
3587WIDTH="100%"
3588CELLPADDING="6"
3589><TR
3590><TD
3591><PRE
3592CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003593>void xmlParseComment (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003594HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3595>xmlParserCtxtPtr</A
3596> ctxt,
3597 int create);</PRE
3598></TD
3599></TR
3600></TABLE
3601><P
3602>Skip an XML (SGML) comment &lt;!-- .... --&gt;
3603This may or may not create a node (depending on the context)
3604The spec says that "For compatibility, the string "--" (double-hyphen)
3605must not occur within comments. "</P
3606><P
3607>[15] Comment ::= '&lt;!--' ((Char - '-') | ('-' (Char - '-')))* '--&gt;'</P
3608><P
Daniel Veillard35925471999-02-25 08:46:07 +00003609></P
3610><DIV
3611CLASS="INFORMALTABLE"
3612><P
3613></P
3614><TABLE
3615BORDER="0"
3616WIDTH="100%"
3617BGCOLOR="#FFE0E0"
3618CELLSPACING="0"
3619CELLPADDING="4"
3620CLASS="CALSTABLE"
3621><TR
3622><TD
3623WIDTH="20%"
3624ALIGN="RIGHT"
3625VALIGN="TOP"
3626><TT
3627CLASS="PARAMETER"
3628><I
3629>ctxt</I
3630></TT
3631>&nbsp;:</TD
3632><TD
3633WIDTH="80%"
3634ALIGN="LEFT"
3635VALIGN="TOP"
3636> an XML parser context</TD
3637></TR
3638><TR
3639><TD
3640WIDTH="20%"
3641ALIGN="RIGHT"
3642VALIGN="TOP"
3643><TT
3644CLASS="PARAMETER"
3645><I
3646>create</I
3647></TT
3648>&nbsp;:</TD
3649><TD
3650WIDTH="80%"
3651ALIGN="LEFT"
3652VALIGN="TOP"
3653> should we create a node, or just skip the content</TD
3654></TR
Daniel Veillard35925471999-02-25 08:46:07 +00003655></TABLE
3656><P
3657></P
3658></DIV
3659></DIV
3660><HR><DIV
3661CLASS="REFSECT2"
3662><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003663NAME="AEN5366"
Daniel Veillard35925471999-02-25 08:46:07 +00003664></A
3665><H3
3666><A
3667NAME="XMLPARSEPITARGET"
3668></A
3669>xmlParsePITarget()</H3
3670><TABLE
3671BORDER="0"
3672BGCOLOR="#E8E8F8"
3673WIDTH="100%"
3674CELLPADDING="6"
3675><TR
3676><TD
3677><PRE
3678CLASS="PROGRAMLISTING"
3679><A
3680HREF="gnome-xml-tree.html#CHAR"
3681>CHAR</A
3682>* xmlParsePITarget (<A
3683HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3684>xmlParserCtxtPtr</A
3685> ctxt);</PRE
3686></TD
3687></TR
3688></TABLE
3689><P
3690>parse the name of a PI</P
3691><P
3692>[17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</P
3693><P
3694></P
3695><DIV
3696CLASS="INFORMALTABLE"
3697><P
3698></P
3699><TABLE
3700BORDER="0"
3701WIDTH="100%"
3702BGCOLOR="#FFE0E0"
3703CELLSPACING="0"
3704CELLPADDING="4"
3705CLASS="CALSTABLE"
3706><TR
3707><TD
3708WIDTH="20%"
3709ALIGN="RIGHT"
3710VALIGN="TOP"
3711><TT
3712CLASS="PARAMETER"
3713><I
3714>ctxt</I
3715></TT
3716>&nbsp;:</TD
3717><TD
3718WIDTH="80%"
3719ALIGN="LEFT"
3720VALIGN="TOP"
3721> an XML parser context</TD
3722></TR
3723><TR
3724><TD
3725WIDTH="20%"
3726ALIGN="RIGHT"
3727VALIGN="TOP"
3728><I
3729CLASS="EMPHASIS"
3730>Returns</I
3731> :</TD
3732><TD
3733WIDTH="80%"
3734ALIGN="LEFT"
3735VALIGN="TOP"
3736>the PITarget name or NULL</TD
3737></TR
3738></TABLE
3739><P
3740></P
3741></DIV
3742></DIV
3743><HR><DIV
3744CLASS="REFSECT2"
3745><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003746NAME="AEN5388"
Daniel Veillard35925471999-02-25 08:46:07 +00003747></A
3748><H3
3749><A
3750NAME="XMLPARSEPI"
3751></A
3752>xmlParsePI()</H3
3753><TABLE
3754BORDER="0"
3755BGCOLOR="#E8E8F8"
3756WIDTH="100%"
3757CELLPADDING="6"
3758><TR
3759><TD
3760><PRE
3761CLASS="PROGRAMLISTING"
3762>void xmlParsePI (<A
3763HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3764>xmlParserCtxtPtr</A
3765> ctxt);</PRE
3766></TD
3767></TR
3768></TABLE
3769><P
3770>parse an XML Processing Instruction.</P
3771><P
3772>[16] PI ::= '&lt;?' PITarget (S (Char* - (Char* '?&gt;' Char*)))? '?&gt;'</P
3773><P
3774>The processing is transfered to SAX once parsed.</P
3775><P
3776></P
3777><DIV
3778CLASS="INFORMALTABLE"
3779><P
3780></P
3781><TABLE
3782BORDER="0"
3783WIDTH="100%"
3784BGCOLOR="#FFE0E0"
3785CELLSPACING="0"
3786CELLPADDING="4"
3787CLASS="CALSTABLE"
3788><TR
3789><TD
3790WIDTH="20%"
3791ALIGN="RIGHT"
3792VALIGN="TOP"
3793><TT
3794CLASS="PARAMETER"
3795><I
3796>ctxt</I
3797></TT
3798>&nbsp;:</TD
3799><TD
3800WIDTH="80%"
3801ALIGN="LEFT"
3802VALIGN="TOP"
3803> an XML parser context</TD
3804></TR
3805></TABLE
3806><P
3807></P
3808></DIV
3809></DIV
3810><HR><DIV
3811CLASS="REFSECT2"
3812><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003813NAME="AEN5406"
Daniel Veillard35925471999-02-25 08:46:07 +00003814></A
3815><H3
3816><A
3817NAME="XMLPARSENOTATIONDECL"
3818></A
3819>xmlParseNotationDecl()</H3
3820><TABLE
3821BORDER="0"
3822BGCOLOR="#E8E8F8"
3823WIDTH="100%"
3824CELLPADDING="6"
3825><TR
3826><TD
3827><PRE
3828CLASS="PROGRAMLISTING"
3829>void xmlParseNotationDecl (<A
3830HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3831>xmlParserCtxtPtr</A
3832> ctxt);</PRE
3833></TD
3834></TR
3835></TABLE
3836><P
3837>parse a notation declaration</P
3838><P
3839>[82] NotationDecl ::= '&lt;!NOTATION' S Name S (ExternalID | PublicID) S? '&gt;'</P
3840><P
3841>Hence there is actually 3 choices:
3842'PUBLIC' S PubidLiteral
3843'PUBLIC' S PubidLiteral S SystemLiteral
3844and 'SYSTEM' S SystemLiteral</P
3845><P
3846>See the NOTE on <A
3847HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
3848>xmlParseExternalID</A
3849>().</P
3850><P
3851></P
3852><DIV
3853CLASS="INFORMALTABLE"
3854><P
3855></P
3856><TABLE
3857BORDER="0"
3858WIDTH="100%"
3859BGCOLOR="#FFE0E0"
3860CELLSPACING="0"
3861CELLPADDING="4"
3862CLASS="CALSTABLE"
3863><TR
3864><TD
3865WIDTH="20%"
3866ALIGN="RIGHT"
3867VALIGN="TOP"
3868><TT
3869CLASS="PARAMETER"
3870><I
3871>ctxt</I
3872></TT
3873>&nbsp;:</TD
3874><TD
3875WIDTH="80%"
3876ALIGN="LEFT"
3877VALIGN="TOP"
3878> an XML parser context</TD
3879></TR
3880></TABLE
3881><P
3882></P
3883></DIV
3884></DIV
3885><HR><DIV
3886CLASS="REFSECT2"
3887><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003888NAME="AEN5426"
Daniel Veillard35925471999-02-25 08:46:07 +00003889></A
3890><H3
3891><A
3892NAME="XMLPARSEENTITYDECL"
3893></A
3894>xmlParseEntityDecl()</H3
3895><TABLE
3896BORDER="0"
3897BGCOLOR="#E8E8F8"
3898WIDTH="100%"
3899CELLPADDING="6"
3900><TR
3901><TD
3902><PRE
3903CLASS="PROGRAMLISTING"
3904>void xmlParseEntityDecl (<A
3905HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3906>xmlParserCtxtPtr</A
3907> ctxt);</PRE
3908></TD
3909></TR
3910></TABLE
3911><P
3912>parse &lt;!ENTITY declarations</P
3913><P
3914>[70] EntityDecl ::= GEDecl | PEDecl</P
3915><P
3916>[71] GEDecl ::= '&lt;!ENTITY' S Name S EntityDef S? '&gt;'</P
3917><P
3918>[72] PEDecl ::= '&lt;!ENTITY' S '%' S Name S PEDef S? '&gt;'</P
3919><P
3920>[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)</P
3921><P
3922>[74] PEDef ::= EntityValue | ExternalID</P
3923><P
3924>[76] NDataDecl ::= S 'NDATA' S Name</P
3925><P
3926></P
3927><DIV
3928CLASS="INFORMALTABLE"
3929><P
3930></P
3931><TABLE
3932BORDER="0"
3933WIDTH="100%"
3934BGCOLOR="#FFE0E0"
3935CELLSPACING="0"
3936CELLPADDING="4"
3937CLASS="CALSTABLE"
3938><TR
3939><TD
3940WIDTH="20%"
3941ALIGN="RIGHT"
3942VALIGN="TOP"
3943><TT
3944CLASS="PARAMETER"
3945><I
3946>ctxt</I
3947></TT
3948>&nbsp;:</TD
3949><TD
3950WIDTH="80%"
3951ALIGN="LEFT"
3952VALIGN="TOP"
3953> an XML parser context</TD
3954></TR
3955></TABLE
3956><P
3957></P
3958></DIV
3959></DIV
3960><HR><DIV
3961CLASS="REFSECT2"
3962><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003963NAME="AEN5448"
Daniel Veillard35925471999-02-25 08:46:07 +00003964></A
3965><H3
3966><A
3967NAME="XMLPARSEDEFAULTDECL"
3968></A
3969>xmlParseDefaultDecl()</H3
3970><TABLE
3971BORDER="0"
3972BGCOLOR="#E8E8F8"
3973WIDTH="100%"
3974CELLPADDING="6"
3975><TR
3976><TD
3977><PRE
3978CLASS="PROGRAMLISTING"
3979>int xmlParseDefaultDecl (<A
3980HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3981>xmlParserCtxtPtr</A
3982> ctxt,
3983 <A
3984HREF="gnome-xml-tree.html#CHAR"
3985>CHAR</A
3986> **value);</PRE
3987></TD
3988></TR
3989></TABLE
3990><P
3991>Parse an attribute default declaration</P
3992><P
3993>[60] DefaultDecl ::= '<GTKDOCLINK
3994HREF="REQUIRED"
3995>REQUIRED</GTKDOCLINK
3996>' | '<GTKDOCLINK
3997HREF="IMPLIED"
3998>IMPLIED</GTKDOCLINK
3999>' | (('<GTKDOCLINK
4000HREF="FIXED"
4001>FIXED</GTKDOCLINK
4002>' S)? AttValue)</P
4003><P
4004></P
4005><DIV
4006CLASS="INFORMALTABLE"
4007><P
4008></P
4009><TABLE
4010BORDER="0"
4011WIDTH="100%"
4012BGCOLOR="#FFE0E0"
4013CELLSPACING="0"
4014CELLPADDING="4"
4015CLASS="CALSTABLE"
4016><TR
4017><TD
4018WIDTH="20%"
4019ALIGN="RIGHT"
4020VALIGN="TOP"
4021><TT
4022CLASS="PARAMETER"
4023><I
4024>ctxt</I
4025></TT
4026>&nbsp;:</TD
4027><TD
4028WIDTH="80%"
4029ALIGN="LEFT"
4030VALIGN="TOP"
4031> an XML parser context</TD
4032></TR
4033><TR
4034><TD
4035WIDTH="20%"
4036ALIGN="RIGHT"
4037VALIGN="TOP"
4038><TT
4039CLASS="PARAMETER"
4040><I
4041>value</I
4042></TT
4043>&nbsp;:</TD
4044><TD
4045WIDTH="80%"
4046ALIGN="LEFT"
4047VALIGN="TOP"
4048> Receive a possible fixed default value for the attribute</TD
4049></TR
4050><TR
4051><TD
4052WIDTH="20%"
4053ALIGN="RIGHT"
4054VALIGN="TOP"
4055><I
4056CLASS="EMPHASIS"
4057>Returns</I
4058> :</TD
4059><TD
4060WIDTH="80%"
4061ALIGN="LEFT"
4062VALIGN="TOP"
4063> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED
4064or XML_ATTRIBUTE_FIXED. </TD
4065></TR
4066></TABLE
4067><P
4068></P
4069></DIV
4070></DIV
4071><HR><DIV
4072CLASS="REFSECT2"
4073><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004074NAME="AEN5477"
Daniel Veillard35925471999-02-25 08:46:07 +00004075></A
4076><H3
4077><A
4078NAME="XMLPARSENOTATIONTYPE"
4079></A
4080>xmlParseNotationType()</H3
4081><TABLE
4082BORDER="0"
4083BGCOLOR="#E8E8F8"
4084WIDTH="100%"
4085CELLPADDING="6"
4086><TR
4087><TD
4088><PRE
4089CLASS="PROGRAMLISTING"
4090><A
4091HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4092>xmlEnumerationPtr</A
4093> xmlParseNotationType (<A
4094HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4095>xmlParserCtxtPtr</A
4096> ctxt);</PRE
4097></TD
4098></TR
4099></TABLE
4100><P
4101>parse an Notation attribute type.</P
4102><P
4103>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
4104><P
4105>Note: the leading 'NOTATION' S part has already being parsed...</P
4106><P
4107></P
4108><DIV
4109CLASS="INFORMALTABLE"
4110><P
4111></P
4112><TABLE
4113BORDER="0"
4114WIDTH="100%"
4115BGCOLOR="#FFE0E0"
4116CELLSPACING="0"
4117CELLPADDING="4"
4118CLASS="CALSTABLE"
4119><TR
4120><TD
4121WIDTH="20%"
4122ALIGN="RIGHT"
4123VALIGN="TOP"
4124><TT
4125CLASS="PARAMETER"
4126><I
4127>ctxt</I
4128></TT
4129>&nbsp;:</TD
4130><TD
4131WIDTH="80%"
4132ALIGN="LEFT"
4133VALIGN="TOP"
4134> an XML parser context</TD
4135></TR
4136><TR
4137><TD
4138WIDTH="20%"
4139ALIGN="RIGHT"
4140VALIGN="TOP"
4141><I
4142CLASS="EMPHASIS"
4143>Returns</I
4144> :</TD
4145><TD
4146WIDTH="80%"
4147ALIGN="LEFT"
4148VALIGN="TOP"
4149> the notation attribute tree built while parsing</TD
4150></TR
4151></TABLE
4152><P
4153></P
4154></DIV
4155></DIV
4156><HR><DIV
4157CLASS="REFSECT2"
4158><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004159NAME="AEN5500"
Daniel Veillard35925471999-02-25 08:46:07 +00004160></A
4161><H3
4162><A
4163NAME="XMLPARSEENUMERATIONTYPE"
4164></A
4165>xmlParseEnumerationType()</H3
4166><TABLE
4167BORDER="0"
4168BGCOLOR="#E8E8F8"
4169WIDTH="100%"
4170CELLPADDING="6"
4171><TR
4172><TD
4173><PRE
4174CLASS="PROGRAMLISTING"
4175><A
4176HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4177>xmlEnumerationPtr</A
4178> xmlParseEnumerationType (<A
4179HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4180>xmlParserCtxtPtr</A
4181> ctxt);</PRE
4182></TD
4183></TR
4184></TABLE
4185><P
4186>parse an Enumeration attribute type.</P
4187><P
4188>[59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')'</P
4189><P
4190></P
4191><DIV
4192CLASS="INFORMALTABLE"
4193><P
4194></P
4195><TABLE
4196BORDER="0"
4197WIDTH="100%"
4198BGCOLOR="#FFE0E0"
4199CELLSPACING="0"
4200CELLPADDING="4"
4201CLASS="CALSTABLE"
4202><TR
4203><TD
4204WIDTH="20%"
4205ALIGN="RIGHT"
4206VALIGN="TOP"
4207><TT
4208CLASS="PARAMETER"
4209><I
4210>ctxt</I
4211></TT
4212>&nbsp;:</TD
4213><TD
4214WIDTH="80%"
4215ALIGN="LEFT"
4216VALIGN="TOP"
4217> an XML parser context</TD
4218></TR
4219><TR
4220><TD
4221WIDTH="20%"
4222ALIGN="RIGHT"
4223VALIGN="TOP"
4224><I
4225CLASS="EMPHASIS"
4226>Returns</I
4227> :</TD
4228><TD
4229WIDTH="80%"
4230ALIGN="LEFT"
4231VALIGN="TOP"
4232> the enumeration attribute tree built while parsing</TD
4233></TR
4234></TABLE
4235><P
4236></P
4237></DIV
4238></DIV
4239><HR><DIV
4240CLASS="REFSECT2"
4241><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004242NAME="AEN5522"
Daniel Veillard35925471999-02-25 08:46:07 +00004243></A
4244><H3
4245><A
4246NAME="XMLPARSEENUMERATEDTYPE"
4247></A
4248>xmlParseEnumeratedType()</H3
4249><TABLE
4250BORDER="0"
4251BGCOLOR="#E8E8F8"
4252WIDTH="100%"
4253CELLPADDING="6"
4254><TR
4255><TD
4256><PRE
4257CLASS="PROGRAMLISTING"
4258>int xmlParseEnumeratedType (<A
4259HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4260>xmlParserCtxtPtr</A
4261> ctxt,
4262 <A
4263HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4264>xmlEnumerationPtr</A
4265> *tree);</PRE
4266></TD
4267></TR
4268></TABLE
4269><P
4270>parse an Enumerated attribute type.</P
4271><P
4272>[57] EnumeratedType ::= NotationType | Enumeration</P
4273><P
4274>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
4275><P
4276></P
4277><DIV
4278CLASS="INFORMALTABLE"
4279><P
4280></P
4281><TABLE
4282BORDER="0"
4283WIDTH="100%"
4284BGCOLOR="#FFE0E0"
4285CELLSPACING="0"
4286CELLPADDING="4"
4287CLASS="CALSTABLE"
4288><TR
4289><TD
4290WIDTH="20%"
4291ALIGN="RIGHT"
4292VALIGN="TOP"
4293><TT
4294CLASS="PARAMETER"
4295><I
4296>ctxt</I
4297></TT
4298>&nbsp;:</TD
4299><TD
4300WIDTH="80%"
4301ALIGN="LEFT"
4302VALIGN="TOP"
4303> an XML parser context</TD
4304></TR
4305><TR
4306><TD
4307WIDTH="20%"
4308ALIGN="RIGHT"
4309VALIGN="TOP"
4310><TT
4311CLASS="PARAMETER"
4312><I
4313>tree</I
4314></TT
4315>&nbsp;:</TD
4316><TD
4317WIDTH="80%"
4318ALIGN="LEFT"
4319VALIGN="TOP"
4320> the enumeration tree built while parsing</TD
4321></TR
4322><TR
4323><TD
4324WIDTH="20%"
4325ALIGN="RIGHT"
4326VALIGN="TOP"
4327><I
4328CLASS="EMPHASIS"
4329>Returns</I
4330> :</TD
4331><TD
4332WIDTH="80%"
4333ALIGN="LEFT"
4334VALIGN="TOP"
4335> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD
4336></TR
4337></TABLE
4338><P
4339></P
4340></DIV
4341></DIV
4342><HR><DIV
4343CLASS="REFSECT2"
4344><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004345NAME="AEN5549"
Daniel Veillard35925471999-02-25 08:46:07 +00004346></A
4347><H3
4348><A
4349NAME="XMLPARSEATTRIBUTETYPE"
4350></A
4351>xmlParseAttributeType()</H3
4352><TABLE
4353BORDER="0"
4354BGCOLOR="#E8E8F8"
4355WIDTH="100%"
4356CELLPADDING="6"
4357><TR
4358><TD
4359><PRE
4360CLASS="PROGRAMLISTING"
4361>int xmlParseAttributeType (<A
4362HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4363>xmlParserCtxtPtr</A
4364> ctxt,
4365 <A
4366HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4367>xmlEnumerationPtr</A
4368> *tree);</PRE
4369></TD
4370></TR
4371></TABLE
4372><P
4373>parse the Attribute list def for an element</P
4374><P
4375>[54] AttType ::= StringType | TokenizedType | EnumeratedType</P
4376><P
4377>[55] StringType ::= 'CDATA'</P
4378><P
4379>[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' |
4380'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'</P
4381><P
4382></P
4383><DIV
4384CLASS="INFORMALTABLE"
4385><P
4386></P
4387><TABLE
4388BORDER="0"
4389WIDTH="100%"
4390BGCOLOR="#FFE0E0"
4391CELLSPACING="0"
4392CELLPADDING="4"
4393CLASS="CALSTABLE"
4394><TR
4395><TD
4396WIDTH="20%"
4397ALIGN="RIGHT"
4398VALIGN="TOP"
4399><TT
4400CLASS="PARAMETER"
4401><I
4402>ctxt</I
4403></TT
4404>&nbsp;:</TD
4405><TD
4406WIDTH="80%"
4407ALIGN="LEFT"
4408VALIGN="TOP"
4409> an XML parser context</TD
4410></TR
4411><TR
4412><TD
4413WIDTH="20%"
4414ALIGN="RIGHT"
4415VALIGN="TOP"
4416><TT
4417CLASS="PARAMETER"
4418><I
4419>tree</I
4420></TT
4421>&nbsp;:</TD
4422><TD
4423WIDTH="80%"
4424ALIGN="LEFT"
4425VALIGN="TOP"
4426> the enumeration tree built while parsing</TD
4427></TR
4428><TR
4429><TD
4430WIDTH="20%"
4431ALIGN="RIGHT"
4432VALIGN="TOP"
4433><I
4434CLASS="EMPHASIS"
4435>Returns</I
4436> :</TD
4437><TD
4438WIDTH="80%"
4439ALIGN="LEFT"
4440VALIGN="TOP"
4441>the attribute type</TD
4442></TR
4443></TABLE
4444><P
4445></P
4446></DIV
4447></DIV
4448><HR><DIV
4449CLASS="REFSECT2"
4450><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004451NAME="AEN5577"
Daniel Veillard35925471999-02-25 08:46:07 +00004452></A
4453><H3
4454><A
4455NAME="XMLPARSEATTRIBUTELISTDECL"
4456></A
4457>xmlParseAttributeListDecl()</H3
4458><TABLE
4459BORDER="0"
4460BGCOLOR="#E8E8F8"
4461WIDTH="100%"
4462CELLPADDING="6"
4463><TR
4464><TD
4465><PRE
4466CLASS="PROGRAMLISTING"
4467>void xmlParseAttributeListDecl (<A
4468HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4469>xmlParserCtxtPtr</A
4470> ctxt);</PRE
4471></TD
4472></TR
4473></TABLE
4474><P
4475>: parse the Attribute list def for an element</P
4476><P
4477>[52] AttlistDecl ::= '&lt;!ATTLIST' S Name AttDef* S? '&gt;'</P
4478><P
4479>[53] AttDef ::= S Name S AttType S DefaultDecl</P
4480><P
4481></P
4482><DIV
4483CLASS="INFORMALTABLE"
4484><P
4485></P
4486><TABLE
4487BORDER="0"
4488WIDTH="100%"
4489BGCOLOR="#FFE0E0"
4490CELLSPACING="0"
4491CELLPADDING="4"
4492CLASS="CALSTABLE"
4493><TR
4494><TD
4495WIDTH="20%"
4496ALIGN="RIGHT"
4497VALIGN="TOP"
4498><TT
4499CLASS="PARAMETER"
4500><I
4501>ctxt</I
4502></TT
4503>&nbsp;:</TD
4504><TD
4505WIDTH="80%"
4506ALIGN="LEFT"
4507VALIGN="TOP"
4508> an XML parser context</TD
4509></TR
4510></TABLE
4511><P
4512></P
4513></DIV
4514></DIV
4515><HR><DIV
4516CLASS="REFSECT2"
4517><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004518NAME="AEN5595"
Daniel Veillard35925471999-02-25 08:46:07 +00004519></A
4520><H3
4521><A
4522NAME="XMLPARSEELEMENTMIXEDCONTENTDECL"
4523></A
4524>xmlParseElementMixedContentDecl()</H3
4525><TABLE
4526BORDER="0"
4527BGCOLOR="#E8E8F8"
4528WIDTH="100%"
4529CELLPADDING="6"
4530><TR
4531><TD
4532><PRE
4533CLASS="PROGRAMLISTING"
4534><A
4535HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
4536>xmlElementContentPtr</A
4537> xmlParseElementMixedContentDecl
4538 (<A
4539HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4540>xmlParserCtxtPtr</A
4541> ctxt);</PRE
4542></TD
4543></TR
4544></TABLE
4545><P
4546>parse the declaration for a Mixed Element content
4547The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
4548><P
4549>[51] Mixed ::= '(' S? '<GTKDOCLINK
4550HREF="PCDATA"
4551>PCDATA</GTKDOCLINK
4552>' (S? '|' S? Name)* S? ')*' |
4553'(' S? '<GTKDOCLINK
4554HREF="PCDATA"
4555>PCDATA</GTKDOCLINK
4556>' S? ')'</P
4557><P
4558></P
4559><DIV
4560CLASS="INFORMALTABLE"
4561><P
4562></P
4563><TABLE
4564BORDER="0"
4565WIDTH="100%"
4566BGCOLOR="#FFE0E0"
4567CELLSPACING="0"
4568CELLPADDING="4"
4569CLASS="CALSTABLE"
4570><TR
4571><TD
4572WIDTH="20%"
4573ALIGN="RIGHT"
4574VALIGN="TOP"
4575><TT
4576CLASS="PARAMETER"
4577><I
4578>ctxt</I
4579></TT
4580>&nbsp;:</TD
4581><TD
4582WIDTH="80%"
4583ALIGN="LEFT"
4584VALIGN="TOP"
4585> an XML parser context</TD
4586></TR
4587><TR
4588><TD
4589WIDTH="20%"
4590ALIGN="RIGHT"
4591VALIGN="TOP"
4592><I
4593CLASS="EMPHASIS"
4594>Returns</I
4595> :</TD
4596><TD
4597WIDTH="80%"
4598ALIGN="LEFT"
4599VALIGN="TOP"
4600> the list of the xmlElementContentPtr describing the element choices</TD
4601></TR
4602></TABLE
4603><P
4604></P
4605></DIV
4606></DIV
4607><HR><DIV
4608CLASS="REFSECT2"
4609><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004610NAME="AEN5619"
Daniel Veillard35925471999-02-25 08:46:07 +00004611></A
4612><H3
4613><A
4614NAME="XMLPARSEELEMENTCHILDRENCONTENTDECL"
4615></A
4616>xmlParseElementChildrenContentDecl()</H3
4617><TABLE
4618BORDER="0"
4619BGCOLOR="#E8E8F8"
4620WIDTH="100%"
4621CELLPADDING="6"
4622><TR
4623><TD
4624><PRE
4625CLASS="PROGRAMLISTING"
4626><A
4627HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
4628>xmlElementContentPtr</A
4629> xmlParseElementChildrenContentDecl
4630 (<A
4631HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4632>xmlParserCtxtPtr</A
4633> ctxt);</PRE
4634></TD
4635></TR
4636></TABLE
4637><P
4638>parse the declaration for a Mixed Element content
4639The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
4640><P
4641>[47] children ::= (choice | seq) ('?' | '*' | '+')?</P
4642><P
4643>[48] cp ::= (Name | choice | seq) ('?' | '*' | '+')?</P
4644><P
4645>[49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')'</P
4646><P
4647>[50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'</P
4648><P
4649></P
4650><DIV
4651CLASS="INFORMALTABLE"
4652><P
4653></P
4654><TABLE
4655BORDER="0"
4656WIDTH="100%"
4657BGCOLOR="#FFE0E0"
4658CELLSPACING="0"
4659CELLPADDING="4"
4660CLASS="CALSTABLE"
4661><TR
4662><TD
4663WIDTH="20%"
4664ALIGN="RIGHT"
4665VALIGN="TOP"
4666><TT
4667CLASS="PARAMETER"
4668><I
4669>ctxt</I
4670></TT
4671>&nbsp;:</TD
4672><TD
4673WIDTH="80%"
4674ALIGN="LEFT"
4675VALIGN="TOP"
4676> an XML parser context</TD
4677></TR
4678><TR
4679><TD
4680WIDTH="20%"
4681ALIGN="RIGHT"
4682VALIGN="TOP"
4683><I
4684CLASS="EMPHASIS"
4685>Returns</I
4686> :</TD
4687><TD
4688WIDTH="80%"
4689ALIGN="LEFT"
4690VALIGN="TOP"
4691> the tree of xmlElementContentPtr describing the element
4692hierarchy.</TD
4693></TR
4694></TABLE
4695><P
4696></P
4697></DIV
4698></DIV
4699><HR><DIV
4700CLASS="REFSECT2"
4701><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004702NAME="AEN5644"
Daniel Veillard35925471999-02-25 08:46:07 +00004703></A
4704><H3
4705><A
4706NAME="XMLPARSEELEMENTCONTENTDECL"
4707></A
4708>xmlParseElementContentDecl()</H3
4709><TABLE
4710BORDER="0"
4711BGCOLOR="#E8E8F8"
4712WIDTH="100%"
4713CELLPADDING="6"
4714><TR
4715><TD
4716><PRE
4717CLASS="PROGRAMLISTING"
4718>int xmlParseElementContentDecl (<A
4719HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4720>xmlParserCtxtPtr</A
4721> ctxt,
4722 <A
4723HREF="gnome-xml-tree.html#CHAR"
4724>CHAR</A
4725> *name,
4726 <A
4727HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
4728>xmlElementContentPtr</A
4729> *result);</PRE
4730></TD
4731></TR
4732></TABLE
4733><P
4734>parse the declaration for an Element content either Mixed or Children,
4735the cases EMPTY and ANY are handled directly in xmlParseElementDecl</P
4736><P
4737>[46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</P
4738><P
4739></P
4740><DIV
4741CLASS="INFORMALTABLE"
4742><P
4743></P
4744><TABLE
4745BORDER="0"
4746WIDTH="100%"
4747BGCOLOR="#FFE0E0"
4748CELLSPACING="0"
4749CELLPADDING="4"
4750CLASS="CALSTABLE"
4751><TR
4752><TD
4753WIDTH="20%"
4754ALIGN="RIGHT"
4755VALIGN="TOP"
4756><TT
4757CLASS="PARAMETER"
4758><I
4759>ctxt</I
4760></TT
4761>&nbsp;:</TD
4762><TD
4763WIDTH="80%"
4764ALIGN="LEFT"
4765VALIGN="TOP"
4766> an XML parser context</TD
4767></TR
4768><TR
4769><TD
4770WIDTH="20%"
4771ALIGN="RIGHT"
4772VALIGN="TOP"
4773><TT
4774CLASS="PARAMETER"
4775><I
4776>name</I
4777></TT
4778>&nbsp;:</TD
4779><TD
4780WIDTH="80%"
4781ALIGN="LEFT"
4782VALIGN="TOP"
4783> the name of the element being defined.</TD
4784></TR
4785><TR
4786><TD
4787WIDTH="20%"
4788ALIGN="RIGHT"
4789VALIGN="TOP"
4790><TT
4791CLASS="PARAMETER"
4792><I
4793>result</I
4794></TT
4795>&nbsp;:</TD
4796><TD
4797WIDTH="80%"
4798ALIGN="LEFT"
4799VALIGN="TOP"
4800> the Element Content pointer will be stored here if any</TD
4801></TR
4802><TR
4803><TD
4804WIDTH="20%"
4805ALIGN="RIGHT"
4806VALIGN="TOP"
4807><I
4808CLASS="EMPHASIS"
4809>Returns</I
4810> :</TD
4811><TD
4812WIDTH="80%"
4813ALIGN="LEFT"
4814VALIGN="TOP"
4815> the type of element content XML_ELEMENT_TYPE_xxx</TD
4816></TR
4817></TABLE
4818><P
4819></P
4820></DIV
4821></DIV
4822><HR><DIV
4823CLASS="REFSECT2"
4824><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004825NAME="AEN5675"
Daniel Veillard35925471999-02-25 08:46:07 +00004826></A
4827><H3
4828><A
4829NAME="XMLPARSEELEMENTDECL"
4830></A
4831>xmlParseElementDecl()</H3
4832><TABLE
4833BORDER="0"
4834BGCOLOR="#E8E8F8"
4835WIDTH="100%"
4836CELLPADDING="6"
4837><TR
4838><TD
4839><PRE
4840CLASS="PROGRAMLISTING"
4841>int xmlParseElementDecl (<A
4842HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4843>xmlParserCtxtPtr</A
4844> ctxt);</PRE
4845></TD
4846></TR
4847></TABLE
4848><P
4849>parse an Element declaration.</P
4850><P
4851>[45] elementdecl ::= '&lt;!ELEMENT' S Name S contentspec S? '&gt;'</P
4852><P
4853>TODO There is a check [ VC: Unique Element Type Declaration ]</P
4854><P
4855></P
4856><DIV
4857CLASS="INFORMALTABLE"
4858><P
4859></P
4860><TABLE
4861BORDER="0"
4862WIDTH="100%"
4863BGCOLOR="#FFE0E0"
4864CELLSPACING="0"
4865CELLPADDING="4"
4866CLASS="CALSTABLE"
4867><TR
4868><TD
4869WIDTH="20%"
4870ALIGN="RIGHT"
4871VALIGN="TOP"
4872><TT
4873CLASS="PARAMETER"
4874><I
4875>ctxt</I
4876></TT
4877>&nbsp;:</TD
4878><TD
4879WIDTH="80%"
4880ALIGN="LEFT"
4881VALIGN="TOP"
4882> an XML parser context</TD
4883></TR
4884><TR
4885><TD
4886WIDTH="20%"
4887ALIGN="RIGHT"
4888VALIGN="TOP"
4889><I
4890CLASS="EMPHASIS"
4891>Returns</I
4892> :</TD
4893><TD
4894WIDTH="80%"
4895ALIGN="LEFT"
4896VALIGN="TOP"
4897>the type of the element, or -1 in case of error</TD
4898></TR
4899></TABLE
4900><P
4901></P
4902></DIV
4903></DIV
4904><HR><DIV
4905CLASS="REFSECT2"
4906><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004907NAME="AEN5697"
Daniel Veillard35925471999-02-25 08:46:07 +00004908></A
4909><H3
4910><A
4911NAME="XMLPARSEMARKUPDECL"
4912></A
4913>xmlParseMarkupDecl()</H3
4914><TABLE
4915BORDER="0"
4916BGCOLOR="#E8E8F8"
4917WIDTH="100%"
4918CELLPADDING="6"
4919><TR
4920><TD
4921><PRE
4922CLASS="PROGRAMLISTING"
4923>void xmlParseMarkupDecl (<A
4924HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4925>xmlParserCtxtPtr</A
4926> ctxt);</PRE
4927></TD
4928></TR
4929></TABLE
4930><P
4931>parse Markup declarations</P
4932><P
4933>[29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
4934NotationDecl | PI | Comment</P
4935><P
4936>TODO There is a check [ VC: Proper Declaration/PE Nesting ]</P
4937><P
4938></P
4939><DIV
4940CLASS="INFORMALTABLE"
4941><P
4942></P
4943><TABLE
4944BORDER="0"
4945WIDTH="100%"
4946BGCOLOR="#FFE0E0"
4947CELLSPACING="0"
4948CELLPADDING="4"
4949CLASS="CALSTABLE"
4950><TR
4951><TD
4952WIDTH="20%"
4953ALIGN="RIGHT"
4954VALIGN="TOP"
4955><TT
4956CLASS="PARAMETER"
4957><I
4958>ctxt</I
4959></TT
4960>&nbsp;:</TD
4961><TD
4962WIDTH="80%"
4963ALIGN="LEFT"
4964VALIGN="TOP"
4965> an XML parser context</TD
4966></TR
4967></TABLE
4968><P
4969></P
4970></DIV
4971></DIV
4972><HR><DIV
4973CLASS="REFSECT2"
4974><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00004975NAME="AEN5715"
Daniel Veillard35925471999-02-25 08:46:07 +00004976></A
4977><H3
4978><A
4979NAME="XMLPARSECHARREF"
4980></A
4981>xmlParseCharRef()</H3
4982><TABLE
4983BORDER="0"
4984BGCOLOR="#E8E8F8"
4985WIDTH="100%"
4986CELLPADDING="6"
4987><TR
4988><TD
4989><PRE
4990CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00004991>int xmlParseCharRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00004992HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4993>xmlParserCtxtPtr</A
4994> ctxt);</PRE
4995></TD
4996></TR
4997></TABLE
4998><P
4999>parse Reference declarations</P
5000><P
5001>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
5002'&amp;<GTKDOCLINK
5003HREF="X"
5004>x</GTKDOCLINK
5005>' [0-9a-fA-F]+ ';'</P
5006><P
5007></P
5008><DIV
5009CLASS="INFORMALTABLE"
5010><P
5011></P
5012><TABLE
5013BORDER="0"
5014WIDTH="100%"
5015BGCOLOR="#FFE0E0"
5016CELLSPACING="0"
5017CELLPADDING="4"
5018CLASS="CALSTABLE"
5019><TR
5020><TD
5021WIDTH="20%"
5022ALIGN="RIGHT"
5023VALIGN="TOP"
5024><TT
5025CLASS="PARAMETER"
5026><I
5027>ctxt</I
5028></TT
5029>&nbsp;:</TD
5030><TD
5031WIDTH="80%"
5032ALIGN="LEFT"
5033VALIGN="TOP"
5034> an XML parser context</TD
5035></TR
5036><TR
5037><TD
5038WIDTH="20%"
5039ALIGN="RIGHT"
5040VALIGN="TOP"
5041><I
5042CLASS="EMPHASIS"
5043>Returns</I
5044> :</TD
5045><TD
5046WIDTH="80%"
5047ALIGN="LEFT"
5048VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005049>the value parsed (as an int)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005050></TR
5051></TABLE
5052><P
5053></P
5054></DIV
5055></DIV
5056><HR><DIV
5057CLASS="REFSECT2"
5058><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005059NAME="AEN5737"
Daniel Veillard35925471999-02-25 08:46:07 +00005060></A
5061><H3
5062><A
5063NAME="XMLPARSEENTITYREF"
5064></A
5065>xmlParseEntityRef()</H3
5066><TABLE
5067BORDER="0"
5068BGCOLOR="#E8E8F8"
5069WIDTH="100%"
5070CELLPADDING="6"
5071><TR
5072><TD
5073><PRE
5074CLASS="PROGRAMLISTING"
5075><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005076HREF="gnome-xml-entities.html#XMLENTITYPTR"
5077>xmlEntityPtr</A
5078> xmlParseEntityRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005079HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5080>xmlParserCtxtPtr</A
5081> ctxt);</PRE
5082></TD
5083></TR
5084></TABLE
5085><P
5086>parse ENTITY references declarations</P
5087><P
5088>[68] EntityRef ::= '&amp;' Name ';'</P
5089><P
5090></P
5091><DIV
5092CLASS="INFORMALTABLE"
5093><P
5094></P
5095><TABLE
5096BORDER="0"
5097WIDTH="100%"
5098BGCOLOR="#FFE0E0"
5099CELLSPACING="0"
5100CELLPADDING="4"
5101CLASS="CALSTABLE"
5102><TR
5103><TD
5104WIDTH="20%"
5105ALIGN="RIGHT"
5106VALIGN="TOP"
5107><TT
5108CLASS="PARAMETER"
5109><I
5110>ctxt</I
5111></TT
5112>&nbsp;:</TD
5113><TD
5114WIDTH="80%"
5115ALIGN="LEFT"
5116VALIGN="TOP"
5117> an XML parser context</TD
5118></TR
5119><TR
5120><TD
5121WIDTH="20%"
5122ALIGN="RIGHT"
5123VALIGN="TOP"
5124><I
5125CLASS="EMPHASIS"
5126>Returns</I
5127> :</TD
5128><TD
5129WIDTH="80%"
5130ALIGN="LEFT"
5131VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005132>the xmlEntityPtr if found, or NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005133></TR
5134></TABLE
5135><P
5136></P
5137></DIV
5138></DIV
5139><HR><DIV
5140CLASS="REFSECT2"
5141><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005142NAME="AEN5759"
Daniel Veillard35925471999-02-25 08:46:07 +00005143></A
5144><H3
5145><A
5146NAME="XMLPARSEREFERENCE"
5147></A
5148>xmlParseReference()</H3
5149><TABLE
5150BORDER="0"
5151BGCOLOR="#E8E8F8"
5152WIDTH="100%"
5153CELLPADDING="6"
5154><TR
5155><TD
5156><PRE
5157CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005158>void xmlParseReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005159HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5160>xmlParserCtxtPtr</A
5161> ctxt);</PRE
5162></TD
5163></TR
5164></TABLE
5165><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00005166>parse and handle entity references in content, depending on the SAX
5167interface, this may end-up in a call to <GTKDOCLINK
5168HREF="CHARACTER"
5169>character</GTKDOCLINK
5170>() if this is a
5171CharRef, a predefined entity, if there is no <GTKDOCLINK
5172HREF="REFERENCE"
5173>reference</GTKDOCLINK
5174>() callback.
5175or if the parser was asked to switch to that mode.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005176><P
5177>[67] Reference ::= EntityRef | CharRef</P
5178><P
5179></P
5180><DIV
5181CLASS="INFORMALTABLE"
5182><P
5183></P
5184><TABLE
5185BORDER="0"
5186WIDTH="100%"
5187BGCOLOR="#FFE0E0"
5188CELLSPACING="0"
5189CELLPADDING="4"
5190CLASS="CALSTABLE"
5191><TR
5192><TD
5193WIDTH="20%"
5194ALIGN="RIGHT"
5195VALIGN="TOP"
5196><TT
5197CLASS="PARAMETER"
5198><I
5199>ctxt</I
5200></TT
5201>&nbsp;:</TD
5202><TD
5203WIDTH="80%"
5204ALIGN="LEFT"
5205VALIGN="TOP"
5206> an XML parser context</TD
5207></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005208></TABLE
5209><P
5210></P
5211></DIV
5212></DIV
5213><HR><DIV
5214CLASS="REFSECT2"
5215><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005216NAME="AEN5778"
Daniel Veillard35925471999-02-25 08:46:07 +00005217></A
5218><H3
5219><A
5220NAME="XMLPARSEPEREFERENCE"
5221></A
5222>xmlParsePEReference()</H3
5223><TABLE
5224BORDER="0"
5225BGCOLOR="#E8E8F8"
5226WIDTH="100%"
5227CELLPADDING="6"
5228><TR
5229><TD
5230><PRE
5231CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005232>void xmlParsePEReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005233HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5234>xmlParserCtxtPtr</A
5235> ctxt);</PRE
5236></TD
5237></TR
5238></TABLE
5239><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00005240>parse PEReference declarations
5241The entity content is handled directly by pushing it's content as
5242a new input stream.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005243><P
5244>[69] PEReference ::= '%' Name ';'</P
5245><P
5246></P
5247><DIV
5248CLASS="INFORMALTABLE"
5249><P
5250></P
5251><TABLE
5252BORDER="0"
5253WIDTH="100%"
5254BGCOLOR="#FFE0E0"
5255CELLSPACING="0"
5256CELLPADDING="4"
5257CLASS="CALSTABLE"
5258><TR
5259><TD
5260WIDTH="20%"
5261ALIGN="RIGHT"
5262VALIGN="TOP"
5263><TT
5264CLASS="PARAMETER"
5265><I
5266>ctxt</I
5267></TT
5268>&nbsp;:</TD
5269><TD
5270WIDTH="80%"
5271ALIGN="LEFT"
5272VALIGN="TOP"
5273> an XML parser context</TD
5274></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005275></TABLE
5276><P
5277></P
5278></DIV
5279></DIV
5280><HR><DIV
5281CLASS="REFSECT2"
5282><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005283NAME="AEN5795"
Daniel Veillard35925471999-02-25 08:46:07 +00005284></A
5285><H3
5286><A
5287NAME="XMLPARSEDOCTYPEDECL"
5288></A
5289>xmlParseDocTypeDecl()</H3
5290><TABLE
5291BORDER="0"
5292BGCOLOR="#E8E8F8"
5293WIDTH="100%"
5294CELLPADDING="6"
5295><TR
5296><TD
5297><PRE
5298CLASS="PROGRAMLISTING"
5299>void xmlParseDocTypeDecl (<A
5300HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5301>xmlParserCtxtPtr</A
5302> ctxt);</PRE
5303></TD
5304></TR
5305></TABLE
5306><P
5307>parse a DOCTYPE declaration</P
5308><P
5309>[28] doctypedecl ::= '&lt;!DOCTYPE' S Name (S ExternalID)? S?
5310('[' (markupdecl | PEReference | S)* ']' S?)? '&gt;'</P
5311><P
5312></P
5313><DIV
5314CLASS="INFORMALTABLE"
5315><P
5316></P
5317><TABLE
5318BORDER="0"
5319WIDTH="100%"
5320BGCOLOR="#FFE0E0"
5321CELLSPACING="0"
5322CELLPADDING="4"
5323CLASS="CALSTABLE"
5324><TR
5325><TD
5326WIDTH="20%"
5327ALIGN="RIGHT"
5328VALIGN="TOP"
5329><TT
5330CLASS="PARAMETER"
5331><I
5332>ctxt</I
5333></TT
5334>&nbsp;:</TD
5335><TD
5336WIDTH="80%"
5337ALIGN="LEFT"
5338VALIGN="TOP"
5339> an XML parser context</TD
5340></TR
5341></TABLE
5342><P
5343></P
5344></DIV
5345></DIV
5346><HR><DIV
5347CLASS="REFSECT2"
5348><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005349NAME="AEN5812"
Daniel Veillard35925471999-02-25 08:46:07 +00005350></A
5351><H3
5352><A
5353NAME="XMLPARSEATTRIBUTE"
5354></A
5355>xmlParseAttribute()</H3
5356><TABLE
5357BORDER="0"
5358BGCOLOR="#E8E8F8"
5359WIDTH="100%"
5360CELLPADDING="6"
5361><TR
5362><TD
5363><PRE
5364CLASS="PROGRAMLISTING"
5365><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005366HREF="gnome-xml-tree.html#CHAR"
5367>CHAR</A
5368>* xmlParseAttribute (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005369HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5370>xmlParserCtxtPtr</A
5371> ctxt,
5372 <A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005373HREF="gnome-xml-tree.html#CHAR"
5374>CHAR</A
5375> **value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00005376></TD
5377></TR
5378></TABLE
5379><P
5380>parse an attribute</P
5381><P
5382>[41] Attribute ::= Name Eq AttValue</P
5383><P
5384>[25] Eq ::= S? '=' S?</P
5385><P
5386>With namespace:</P
5387><P
5388>[NS 11] Attribute ::= QName Eq AttValue</P
5389><P
5390>Also the case QName == xmlns:??? is handled independently as a namespace
5391definition.</P
5392><P
5393></P
5394><DIV
5395CLASS="INFORMALTABLE"
5396><P
5397></P
5398><TABLE
5399BORDER="0"
5400WIDTH="100%"
5401BGCOLOR="#FFE0E0"
5402CELLSPACING="0"
5403CELLPADDING="4"
5404CLASS="CALSTABLE"
5405><TR
5406><TD
5407WIDTH="20%"
5408ALIGN="RIGHT"
5409VALIGN="TOP"
5410><TT
5411CLASS="PARAMETER"
5412><I
5413>ctxt</I
5414></TT
5415>&nbsp;:</TD
5416><TD
5417WIDTH="80%"
5418ALIGN="LEFT"
5419VALIGN="TOP"
5420> an XML parser context</TD
5421></TR
5422><TR
5423><TD
5424WIDTH="20%"
5425ALIGN="RIGHT"
5426VALIGN="TOP"
5427><TT
5428CLASS="PARAMETER"
5429><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00005430>value</I
Daniel Veillard35925471999-02-25 08:46:07 +00005431></TT
5432>&nbsp;:</TD
5433><TD
5434WIDTH="80%"
5435ALIGN="LEFT"
5436VALIGN="TOP"
Daniel Veillard5099ae81999-04-21 20:12:07 +00005437> a CHAR ** used to store the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005438></TR
5439><TR
5440><TD
5441WIDTH="20%"
5442ALIGN="RIGHT"
5443VALIGN="TOP"
5444><I
5445CLASS="EMPHASIS"
5446>Returns</I
5447> :</TD
5448><TD
5449WIDTH="80%"
5450ALIGN="LEFT"
5451VALIGN="TOP"
Daniel Veillard5099ae81999-04-21 20:12:07 +00005452>the attribute name, and the value in *value.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005453></TR
5454></TABLE
5455><P
5456></P
5457></DIV
5458></DIV
5459><HR><DIV
5460CLASS="REFSECT2"
5461><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005462NAME="AEN5843"
Daniel Veillard35925471999-02-25 08:46:07 +00005463></A
5464><H3
5465><A
5466NAME="XMLPARSESTARTTAG"
5467></A
5468>xmlParseStartTag()</H3
5469><TABLE
5470BORDER="0"
5471BGCOLOR="#E8E8F8"
5472WIDTH="100%"
5473CELLPADDING="6"
5474><TR
5475><TD
5476><PRE
5477CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00005478>void xmlParseStartTag (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005479HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5480>xmlParserCtxtPtr</A
5481> ctxt);</PRE
5482></TD
5483></TR
5484></TABLE
5485><P
5486>parse a start of tag either for rule element or
5487EmptyElement. In both case we don't parse the tag closing chars.</P
5488><P
5489>[40] STag ::= '&lt;' Name (S Attribute)* S? '&gt;'</P
5490><P
5491>[44] EmptyElemTag ::= '&lt;' Name (S Attribute)* S? '/&gt;'</P
5492><P
5493>With namespace:</P
5494><P
5495>[NS 8] STag ::= '&lt;' QName (S Attribute)* S? '&gt;'</P
5496><P
5497>[NS 10] EmptyElement ::= '&lt;' QName (S Attribute)* S? '/&gt;'</P
5498><P
5499></P
5500><DIV
5501CLASS="INFORMALTABLE"
5502><P
5503></P
5504><TABLE
5505BORDER="0"
5506WIDTH="100%"
5507BGCOLOR="#FFE0E0"
5508CELLSPACING="0"
5509CELLPADDING="4"
5510CLASS="CALSTABLE"
5511><TR
5512><TD
5513WIDTH="20%"
5514ALIGN="RIGHT"
5515VALIGN="TOP"
5516><TT
5517CLASS="PARAMETER"
5518><I
5519>ctxt</I
5520></TT
5521>&nbsp;:</TD
5522><TD
5523WIDTH="80%"
5524ALIGN="LEFT"
5525VALIGN="TOP"
5526> an XML parser context</TD
5527></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005528></TABLE
5529><P
5530></P
5531></DIV
5532></DIV
5533><HR><DIV
5534CLASS="REFSECT2"
5535><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005536NAME="AEN5864"
Daniel Veillard35925471999-02-25 08:46:07 +00005537></A
5538><H3
5539><A
5540NAME="XMLPARSEENDTAG"
5541></A
5542>xmlParseEndTag()</H3
5543><TABLE
5544BORDER="0"
5545BGCOLOR="#E8E8F8"
5546WIDTH="100%"
5547CELLPADDING="6"
5548><TR
5549><TD
5550><PRE
5551CLASS="PROGRAMLISTING"
5552>void xmlParseEndTag (<A
5553HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5554>xmlParserCtxtPtr</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005555> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00005556></TD
5557></TR
5558></TABLE
5559><P
5560>parse an end of tag</P
5561><P
5562>[42] ETag ::= '&lt;/' Name S? '&gt;'</P
5563><P
5564>With namespace</P
5565><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00005566>[NS 9] ETag ::= '&lt;/' QName S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00005567><P
5568></P
5569><DIV
5570CLASS="INFORMALTABLE"
5571><P
5572></P
5573><TABLE
5574BORDER="0"
5575WIDTH="100%"
5576BGCOLOR="#FFE0E0"
5577CELLSPACING="0"
5578CELLPADDING="4"
5579CLASS="CALSTABLE"
5580><TR
5581><TD
5582WIDTH="20%"
5583ALIGN="RIGHT"
5584VALIGN="TOP"
5585><TT
5586CLASS="PARAMETER"
5587><I
5588>ctxt</I
5589></TT
5590>&nbsp;:</TD
5591><TD
5592WIDTH="80%"
5593ALIGN="LEFT"
5594VALIGN="TOP"
5595> an XML parser context</TD
5596></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005597></TABLE
5598><P
5599></P
5600></DIV
5601></DIV
5602><HR><DIV
5603CLASS="REFSECT2"
5604><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005605NAME="AEN5883"
Daniel Veillard35925471999-02-25 08:46:07 +00005606></A
5607><H3
5608><A
5609NAME="XMLPARSECDSECT"
5610></A
5611>xmlParseCDSect()</H3
5612><TABLE
5613BORDER="0"
5614BGCOLOR="#E8E8F8"
5615WIDTH="100%"
5616CELLPADDING="6"
5617><TR
5618><TD
5619><PRE
5620CLASS="PROGRAMLISTING"
5621>void xmlParseCDSect (<A
5622HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5623>xmlParserCtxtPtr</A
5624> ctxt);</PRE
5625></TD
5626></TR
5627></TABLE
5628><P
5629>Parse escaped pure raw content.</P
5630><P
5631>[18] CDSect ::= CDStart CData CDEnd</P
5632><P
5633>[19] CDStart ::= '&lt;![CDATA['</P
5634><P
5635>[20] Data ::= (Char* - (Char* ']]&gt;' Char*))</P
5636><P
5637>[21] CDEnd ::= ']]&gt;'</P
5638><P
5639></P
5640><DIV
5641CLASS="INFORMALTABLE"
5642><P
5643></P
5644><TABLE
5645BORDER="0"
5646WIDTH="100%"
5647BGCOLOR="#FFE0E0"
5648CELLSPACING="0"
5649CELLPADDING="4"
5650CLASS="CALSTABLE"
5651><TR
5652><TD
5653WIDTH="20%"
5654ALIGN="RIGHT"
5655VALIGN="TOP"
5656><TT
5657CLASS="PARAMETER"
5658><I
5659>ctxt</I
5660></TT
5661>&nbsp;:</TD
5662><TD
5663WIDTH="80%"
5664ALIGN="LEFT"
5665VALIGN="TOP"
5666> an XML parser context</TD
5667></TR
5668></TABLE
5669><P
5670></P
5671></DIV
5672></DIV
5673><HR><DIV
5674CLASS="REFSECT2"
5675><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005676NAME="AEN5903"
Daniel Veillard35925471999-02-25 08:46:07 +00005677></A
5678><H3
5679><A
5680NAME="XMLPARSECONTENT"
5681></A
5682>xmlParseContent()</H3
5683><TABLE
5684BORDER="0"
5685BGCOLOR="#E8E8F8"
5686WIDTH="100%"
5687CELLPADDING="6"
5688><TR
5689><TD
5690><PRE
5691CLASS="PROGRAMLISTING"
5692>void xmlParseContent (<A
5693HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5694>xmlParserCtxtPtr</A
5695> ctxt);</PRE
5696></TD
5697></TR
5698></TABLE
5699><P
5700>Parse a content:</P
5701><P
5702>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
5703><P
5704></P
5705><DIV
5706CLASS="INFORMALTABLE"
5707><P
5708></P
5709><TABLE
5710BORDER="0"
5711WIDTH="100%"
5712BGCOLOR="#FFE0E0"
5713CELLSPACING="0"
5714CELLPADDING="4"
5715CLASS="CALSTABLE"
5716><TR
5717><TD
5718WIDTH="20%"
5719ALIGN="RIGHT"
5720VALIGN="TOP"
5721><TT
5722CLASS="PARAMETER"
5723><I
5724>ctxt</I
5725></TT
5726>&nbsp;:</TD
5727><TD
5728WIDTH="80%"
5729ALIGN="LEFT"
5730VALIGN="TOP"
5731> an XML parser context</TD
5732></TR
5733></TABLE
5734><P
5735></P
5736></DIV
5737></DIV
5738><HR><DIV
5739CLASS="REFSECT2"
5740><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005741NAME="AEN5920"
Daniel Veillard35925471999-02-25 08:46:07 +00005742></A
5743><H3
5744><A
5745NAME="XMLPARSEELEMENT"
5746></A
5747>xmlParseElement()</H3
5748><TABLE
5749BORDER="0"
5750BGCOLOR="#E8E8F8"
5751WIDTH="100%"
5752CELLPADDING="6"
5753><TR
5754><TD
5755><PRE
5756CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00005757>void xmlParseElement (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005758HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5759>xmlParserCtxtPtr</A
5760> ctxt);</PRE
5761></TD
5762></TR
5763></TABLE
5764><P
5765>parse an XML element, this is highly recursive</P
5766><P
5767>[39] element ::= EmptyElemTag | STag content ETag</P
5768><P
5769>[41] Attribute ::= Name Eq AttValue</P
5770><P
5771></P
5772><DIV
5773CLASS="INFORMALTABLE"
5774><P
5775></P
5776><TABLE
5777BORDER="0"
5778WIDTH="100%"
5779BGCOLOR="#FFE0E0"
5780CELLSPACING="0"
5781CELLPADDING="4"
5782CLASS="CALSTABLE"
5783><TR
5784><TD
5785WIDTH="20%"
5786ALIGN="RIGHT"
5787VALIGN="TOP"
5788><TT
5789CLASS="PARAMETER"
5790><I
5791>ctxt</I
5792></TT
5793>&nbsp;:</TD
5794><TD
5795WIDTH="80%"
5796ALIGN="LEFT"
5797VALIGN="TOP"
5798> an XML parser context</TD
5799></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005800></TABLE
5801><P
5802></P
5803></DIV
5804></DIV
5805><HR><DIV
5806CLASS="REFSECT2"
5807><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005808NAME="AEN5938"
Daniel Veillard35925471999-02-25 08:46:07 +00005809></A
5810><H3
5811><A
5812NAME="XMLPARSEVERSIONNUM"
5813></A
5814>xmlParseVersionNum()</H3
5815><TABLE
5816BORDER="0"
5817BGCOLOR="#E8E8F8"
5818WIDTH="100%"
5819CELLPADDING="6"
5820><TR
5821><TD
5822><PRE
5823CLASS="PROGRAMLISTING"
5824><A
5825HREF="gnome-xml-tree.html#CHAR"
5826>CHAR</A
5827>* xmlParseVersionNum (<A
5828HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5829>xmlParserCtxtPtr</A
5830> ctxt);</PRE
5831></TD
5832></TR
5833></TABLE
5834><P
5835>parse the XML version value.</P
5836><P
5837>[26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</P
5838><P
5839></P
5840><DIV
5841CLASS="INFORMALTABLE"
5842><P
5843></P
5844><TABLE
5845BORDER="0"
5846WIDTH="100%"
5847BGCOLOR="#FFE0E0"
5848CELLSPACING="0"
5849CELLPADDING="4"
5850CLASS="CALSTABLE"
5851><TR
5852><TD
5853WIDTH="20%"
5854ALIGN="RIGHT"
5855VALIGN="TOP"
5856><TT
5857CLASS="PARAMETER"
5858><I
5859>ctxt</I
5860></TT
5861>&nbsp;:</TD
5862><TD
5863WIDTH="80%"
5864ALIGN="LEFT"
5865VALIGN="TOP"
5866> an XML parser context</TD
5867></TR
5868><TR
5869><TD
5870WIDTH="20%"
5871ALIGN="RIGHT"
5872VALIGN="TOP"
5873><I
5874CLASS="EMPHASIS"
5875>Returns</I
5876> :</TD
5877><TD
5878WIDTH="80%"
5879ALIGN="LEFT"
5880VALIGN="TOP"
5881>the string giving the XML version number, or NULL</TD
5882></TR
5883></TABLE
5884><P
5885></P
5886></DIV
5887></DIV
5888><HR><DIV
5889CLASS="REFSECT2"
5890><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005891NAME="AEN5960"
Daniel Veillard35925471999-02-25 08:46:07 +00005892></A
5893><H3
5894><A
5895NAME="XMLPARSEVERSIONINFO"
5896></A
5897>xmlParseVersionInfo()</H3
5898><TABLE
5899BORDER="0"
5900BGCOLOR="#E8E8F8"
5901WIDTH="100%"
5902CELLPADDING="6"
5903><TR
5904><TD
5905><PRE
5906CLASS="PROGRAMLISTING"
5907><A
5908HREF="gnome-xml-tree.html#CHAR"
5909>CHAR</A
5910>* xmlParseVersionInfo (<A
5911HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5912>xmlParserCtxtPtr</A
5913> ctxt);</PRE
5914></TD
5915></TR
5916></TABLE
5917><P
5918>parse the XML version.</P
5919><P
5920>[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")</P
5921><P
5922>[25] Eq ::= S? '=' S?</P
5923><P
5924></P
5925><DIV
5926CLASS="INFORMALTABLE"
5927><P
5928></P
5929><TABLE
5930BORDER="0"
5931WIDTH="100%"
5932BGCOLOR="#FFE0E0"
5933CELLSPACING="0"
5934CELLPADDING="4"
5935CLASS="CALSTABLE"
5936><TR
5937><TD
5938WIDTH="20%"
5939ALIGN="RIGHT"
5940VALIGN="TOP"
5941><TT
5942CLASS="PARAMETER"
5943><I
5944>ctxt</I
5945></TT
5946>&nbsp;:</TD
5947><TD
5948WIDTH="80%"
5949ALIGN="LEFT"
5950VALIGN="TOP"
5951> an XML parser context</TD
5952></TR
5953><TR
5954><TD
5955WIDTH="20%"
5956ALIGN="RIGHT"
5957VALIGN="TOP"
5958><I
5959CLASS="EMPHASIS"
5960>Returns</I
5961> :</TD
5962><TD
5963WIDTH="80%"
5964ALIGN="LEFT"
5965VALIGN="TOP"
5966>the version string, e.g. "1.0"</TD
5967></TR
5968></TABLE
5969><P
5970></P
5971></DIV
5972></DIV
5973><HR><DIV
5974CLASS="REFSECT2"
5975><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005976NAME="AEN5983"
Daniel Veillard35925471999-02-25 08:46:07 +00005977></A
5978><H3
5979><A
5980NAME="XMLPARSEENCNAME"
5981></A
5982>xmlParseEncName()</H3
5983><TABLE
5984BORDER="0"
5985BGCOLOR="#E8E8F8"
5986WIDTH="100%"
5987CELLPADDING="6"
5988><TR
5989><TD
5990><PRE
5991CLASS="PROGRAMLISTING"
5992><A
5993HREF="gnome-xml-tree.html#CHAR"
5994>CHAR</A
5995>* xmlParseEncName (<A
5996HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5997>xmlParserCtxtPtr</A
5998> ctxt);</PRE
5999></TD
6000></TR
6001></TABLE
6002><P
6003>parse the XML encoding name</P
6004><P
6005>[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</P
6006><P
6007></P
6008><DIV
6009CLASS="INFORMALTABLE"
6010><P
6011></P
6012><TABLE
6013BORDER="0"
6014WIDTH="100%"
6015BGCOLOR="#FFE0E0"
6016CELLSPACING="0"
6017CELLPADDING="4"
6018CLASS="CALSTABLE"
6019><TR
6020><TD
6021WIDTH="20%"
6022ALIGN="RIGHT"
6023VALIGN="TOP"
6024><TT
6025CLASS="PARAMETER"
6026><I
6027>ctxt</I
6028></TT
6029>&nbsp;:</TD
6030><TD
6031WIDTH="80%"
6032ALIGN="LEFT"
6033VALIGN="TOP"
6034> an XML parser context</TD
6035></TR
6036><TR
6037><TD
6038WIDTH="20%"
6039ALIGN="RIGHT"
6040VALIGN="TOP"
6041><I
6042CLASS="EMPHASIS"
6043>Returns</I
6044> :</TD
6045><TD
6046WIDTH="80%"
6047ALIGN="LEFT"
6048VALIGN="TOP"
6049>the encoding name value or NULL</TD
6050></TR
6051></TABLE
6052><P
6053></P
6054></DIV
6055></DIV
6056><HR><DIV
6057CLASS="REFSECT2"
6058><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00006059NAME="AEN6005"
Daniel Veillard35925471999-02-25 08:46:07 +00006060></A
6061><H3
6062><A
6063NAME="XMLPARSEENCODINGDECL"
6064></A
6065>xmlParseEncodingDecl()</H3
6066><TABLE
6067BORDER="0"
6068BGCOLOR="#E8E8F8"
6069WIDTH="100%"
6070CELLPADDING="6"
6071><TR
6072><TD
6073><PRE
6074CLASS="PROGRAMLISTING"
6075><A
6076HREF="gnome-xml-tree.html#CHAR"
6077>CHAR</A
6078>* xmlParseEncodingDecl (<A
6079HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6080>xmlParserCtxtPtr</A
6081> ctxt);</PRE
6082></TD
6083></TR
6084></TABLE
6085><P
6086>parse the XML encoding declaration</P
6087><P
6088>[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")</P
6089><P
6090>TODO: this should setup the conversion filters.</P
6091><P
6092></P
6093><DIV
6094CLASS="INFORMALTABLE"
6095><P
6096></P
6097><TABLE
6098BORDER="0"
6099WIDTH="100%"
6100BGCOLOR="#FFE0E0"
6101CELLSPACING="0"
6102CELLPADDING="4"
6103CLASS="CALSTABLE"
6104><TR
6105><TD
6106WIDTH="20%"
6107ALIGN="RIGHT"
6108VALIGN="TOP"
6109><TT
6110CLASS="PARAMETER"
6111><I
6112>ctxt</I
6113></TT
6114>&nbsp;:</TD
6115><TD
6116WIDTH="80%"
6117ALIGN="LEFT"
6118VALIGN="TOP"
6119> an XML parser context</TD
6120></TR
6121><TR
6122><TD
6123WIDTH="20%"
6124ALIGN="RIGHT"
6125VALIGN="TOP"
6126><I
6127CLASS="EMPHASIS"
6128>Returns</I
6129> :</TD
6130><TD
6131WIDTH="80%"
6132ALIGN="LEFT"
6133VALIGN="TOP"
6134>the encoding value or NULL</TD
6135></TR
6136></TABLE
6137><P
6138></P
6139></DIV
6140></DIV
6141><HR><DIV
6142CLASS="REFSECT2"
6143><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00006144NAME="AEN6028"
Daniel Veillard35925471999-02-25 08:46:07 +00006145></A
6146><H3
6147><A
6148NAME="XMLPARSESDDECL"
6149></A
6150>xmlParseSDDecl()</H3
6151><TABLE
6152BORDER="0"
6153BGCOLOR="#E8E8F8"
6154WIDTH="100%"
6155CELLPADDING="6"
6156><TR
6157><TD
6158><PRE
6159CLASS="PROGRAMLISTING"
6160>int xmlParseSDDecl (<A
6161HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6162>xmlParserCtxtPtr</A
6163> ctxt);</PRE
6164></TD
6165></TR
6166></TABLE
6167><P
6168>parse the XML standalone declaration</P
6169><P
6170>[32] SDDecl ::= S 'standalone' Eq
6171(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"'))</P
6172><P
6173></P
6174><DIV
6175CLASS="INFORMALTABLE"
6176><P
6177></P
6178><TABLE
6179BORDER="0"
6180WIDTH="100%"
6181BGCOLOR="#FFE0E0"
6182CELLSPACING="0"
6183CELLPADDING="4"
6184CLASS="CALSTABLE"
6185><TR
6186><TD
6187WIDTH="20%"
6188ALIGN="RIGHT"
6189VALIGN="TOP"
6190><TT
6191CLASS="PARAMETER"
6192><I
6193>ctxt</I
6194></TT
6195>&nbsp;:</TD
6196><TD
6197WIDTH="80%"
6198ALIGN="LEFT"
6199VALIGN="TOP"
6200> an XML parser context</TD
6201></TR
6202><TR
6203><TD
6204WIDTH="20%"
6205ALIGN="RIGHT"
6206VALIGN="TOP"
6207><I
6208CLASS="EMPHASIS"
6209>Returns</I
6210> :</TD
6211><TD
6212WIDTH="80%"
6213ALIGN="LEFT"
6214VALIGN="TOP"
6215>1 if standalone, 0 otherwise</TD
6216></TR
6217></TABLE
6218><P
6219></P
6220></DIV
6221></DIV
6222><HR><DIV
6223CLASS="REFSECT2"
6224><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00006225NAME="AEN6049"
Daniel Veillard35925471999-02-25 08:46:07 +00006226></A
6227><H3
6228><A
6229NAME="XMLPARSEXMLDECL"
6230></A
6231>xmlParseXMLDecl()</H3
6232><TABLE
6233BORDER="0"
6234BGCOLOR="#E8E8F8"
6235WIDTH="100%"
6236CELLPADDING="6"
6237><TR
6238><TD
6239><PRE
6240CLASS="PROGRAMLISTING"
6241>void xmlParseXMLDecl (<A
6242HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6243>xmlParserCtxtPtr</A
6244> ctxt);</PRE
6245></TD
6246></TR
6247></TABLE
6248><P
6249>parse an XML declaration header</P
6250><P
6251>[23] XMLDecl ::= '&lt;?xml' VersionInfo EncodingDecl? SDDecl? S? '?&gt;'</P
6252><P
6253></P
6254><DIV
6255CLASS="INFORMALTABLE"
6256><P
6257></P
6258><TABLE
6259BORDER="0"
6260WIDTH="100%"
6261BGCOLOR="#FFE0E0"
6262CELLSPACING="0"
6263CELLPADDING="4"
6264CLASS="CALSTABLE"
6265><TR
6266><TD
6267WIDTH="20%"
6268ALIGN="RIGHT"
6269VALIGN="TOP"
6270><TT
6271CLASS="PARAMETER"
6272><I
6273>ctxt</I
6274></TT
6275>&nbsp;:</TD
6276><TD
6277WIDTH="80%"
6278ALIGN="LEFT"
6279VALIGN="TOP"
6280> an XML parser context</TD
6281></TR
6282></TABLE
6283><P
6284></P
6285></DIV
6286></DIV
6287><HR><DIV
6288CLASS="REFSECT2"
6289><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00006290NAME="AEN6066"
Daniel Veillard35925471999-02-25 08:46:07 +00006291></A
6292><H3
6293><A
6294NAME="XMLPARSEMISC"
6295></A
6296>xmlParseMisc()</H3
6297><TABLE
6298BORDER="0"
6299BGCOLOR="#E8E8F8"
6300WIDTH="100%"
6301CELLPADDING="6"
6302><TR
6303><TD
6304><PRE
6305CLASS="PROGRAMLISTING"
6306>void xmlParseMisc (<A
6307HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6308>xmlParserCtxtPtr</A
6309> ctxt);</PRE
6310></TD
6311></TR
6312></TABLE
6313><P
6314>parse an XML Misc* optionnal field.</P
6315><P
6316>[27] Misc ::= Comment | PI | S</P
6317><P
6318></P
6319><DIV
6320CLASS="INFORMALTABLE"
6321><P
6322></P
6323><TABLE
6324BORDER="0"
6325WIDTH="100%"
6326BGCOLOR="#FFE0E0"
6327CELLSPACING="0"
6328CELLPADDING="4"
6329CLASS="CALSTABLE"
6330><TR
6331><TD
6332WIDTH="20%"
6333ALIGN="RIGHT"
6334VALIGN="TOP"
6335><TT
6336CLASS="PARAMETER"
6337><I
6338>ctxt</I
6339></TT
6340>&nbsp;:</TD
6341><TD
6342WIDTH="80%"
6343ALIGN="LEFT"
6344VALIGN="TOP"
6345> an XML parser context</TD
6346></TR
6347></TABLE
6348><P
6349></P
6350></DIV
6351></DIV
Daniel Veillard011b63c1999-06-02 17:44:04 +00006352><HR><DIV
6353CLASS="REFSECT2"
6354><A
6355NAME="AEN6083"
6356></A
6357><H3
6358><A
6359NAME="XML-SUBSTITUTE-NONE"
6360></A
6361>XML_SUBSTITUTE_NONE</H3
6362><TABLE
6363BORDER="0"
6364BGCOLOR="#E8E8F8"
6365WIDTH="100%"
6366CELLPADDING="6"
6367><TR
6368><TD
6369><PRE
6370CLASS="PROGRAMLISTING"
6371>#define XML_SUBSTITUTE_NONE 0</PRE
6372></TD
6373></TR
6374></TABLE
6375><P
6376></P
6377></DIV
6378><HR><DIV
6379CLASS="REFSECT2"
6380><A
6381NAME="AEN6088"
6382></A
6383><H3
6384><A
6385NAME="XML-SUBSTITUTE-REF"
6386></A
6387>XML_SUBSTITUTE_REF</H3
6388><TABLE
6389BORDER="0"
6390BGCOLOR="#E8E8F8"
6391WIDTH="100%"
6392CELLPADDING="6"
6393><TR
6394><TD
6395><PRE
6396CLASS="PROGRAMLISTING"
6397>#define XML_SUBSTITUTE_REF 1</PRE
6398></TD
6399></TR
6400></TABLE
6401><P
6402></P
6403></DIV
6404><HR><DIV
6405CLASS="REFSECT2"
6406><A
6407NAME="AEN6093"
6408></A
6409><H3
6410><A
6411NAME="XML-SUBSTITUTE-PEREF"
6412></A
6413>XML_SUBSTITUTE_PEREF</H3
6414><TABLE
6415BORDER="0"
6416BGCOLOR="#E8E8F8"
6417WIDTH="100%"
6418CELLPADDING="6"
6419><TR
6420><TD
6421><PRE
6422CLASS="PROGRAMLISTING"
6423>#define XML_SUBSTITUTE_PEREF 2</PRE
6424></TD
6425></TR
6426></TABLE
6427><P
6428></P
6429></DIV
6430><HR><DIV
6431CLASS="REFSECT2"
6432><A
6433NAME="AEN6098"
6434></A
6435><H3
6436><A
6437NAME="XML-SUBSTITUTE-BOTH"
6438></A
6439>XML_SUBSTITUTE_BOTH</H3
6440><TABLE
6441BORDER="0"
6442BGCOLOR="#E8E8F8"
6443WIDTH="100%"
6444CELLPADDING="6"
6445><TR
6446><TD
6447><PRE
6448CLASS="PROGRAMLISTING"
6449>#define XML_SUBSTITUTE_BOTH 3</PRE
6450></TD
6451></TR
6452></TABLE
6453><P
6454></P
6455></DIV
6456><HR><DIV
6457CLASS="REFSECT2"
6458><A
6459NAME="AEN6103"
6460></A
6461><H3
6462><A
6463NAME="XMLDECODEENTITIES"
6464></A
6465>xmlDecodeEntities()</H3
6466><TABLE
6467BORDER="0"
6468BGCOLOR="#E8E8F8"
6469WIDTH="100%"
6470CELLPADDING="6"
6471><TR
6472><TD
6473><PRE
6474CLASS="PROGRAMLISTING"
6475><A
6476HREF="gnome-xml-tree.html#CHAR"
6477>CHAR</A
6478>* xmlDecodeEntities (<A
6479HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6480>xmlParserCtxtPtr</A
6481> ctxt,
6482 int len,
6483 int what,
6484 <A
6485HREF="gnome-xml-tree.html#CHAR"
6486>CHAR</A
6487> end,
6488 <A
6489HREF="gnome-xml-tree.html#CHAR"
6490>CHAR</A
6491> end2,
6492 <A
6493HREF="gnome-xml-tree.html#CHAR"
6494>CHAR</A
6495> end3);</PRE
6496></TD
6497></TR
6498></TABLE
6499><P
6500>[67] Reference ::= EntityRef | CharRef</P
6501><P
6502>[69] PEReference ::= '%' Name ';'</P
6503><P
6504></P
6505><DIV
6506CLASS="INFORMALTABLE"
6507><P
6508></P
6509><TABLE
6510BORDER="0"
6511WIDTH="100%"
6512BGCOLOR="#FFE0E0"
6513CELLSPACING="0"
6514CELLPADDING="4"
6515CLASS="CALSTABLE"
6516><TR
6517><TD
6518WIDTH="20%"
6519ALIGN="RIGHT"
6520VALIGN="TOP"
6521><TT
6522CLASS="PARAMETER"
6523><I
6524>ctxt</I
6525></TT
6526>&nbsp;:</TD
6527><TD
6528WIDTH="80%"
6529ALIGN="LEFT"
6530VALIGN="TOP"
6531> the parser context</TD
6532></TR
6533><TR
6534><TD
6535WIDTH="20%"
6536ALIGN="RIGHT"
6537VALIGN="TOP"
6538><TT
6539CLASS="PARAMETER"
6540><I
6541>len</I
6542></TT
6543>&nbsp;:</TD
6544><TD
6545WIDTH="80%"
6546ALIGN="LEFT"
6547VALIGN="TOP"
6548> the len to decode (in bytes !), -1 for no size limit</TD
6549></TR
6550><TR
6551><TD
6552WIDTH="20%"
6553ALIGN="RIGHT"
6554VALIGN="TOP"
6555><TT
6556CLASS="PARAMETER"
6557><I
6558>what</I
6559></TT
6560>&nbsp;:</TD
6561><TD
6562WIDTH="80%"
6563ALIGN="LEFT"
6564VALIGN="TOP"
6565> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
6566></TR
6567><TR
6568><TD
6569WIDTH="20%"
6570ALIGN="RIGHT"
6571VALIGN="TOP"
6572><TT
6573CLASS="PARAMETER"
6574><I
6575>end</I
6576></TT
6577>&nbsp;:</TD
6578><TD
6579WIDTH="80%"
6580ALIGN="LEFT"
6581VALIGN="TOP"
6582> an end marker CHAR, 0 if none</TD
6583></TR
6584><TR
6585><TD
6586WIDTH="20%"
6587ALIGN="RIGHT"
6588VALIGN="TOP"
6589><TT
6590CLASS="PARAMETER"
6591><I
6592>end2</I
6593></TT
6594>&nbsp;:</TD
6595><TD
6596WIDTH="80%"
6597ALIGN="LEFT"
6598VALIGN="TOP"
6599> an end marker CHAR, 0 if none</TD
6600></TR
6601><TR
6602><TD
6603WIDTH="20%"
6604ALIGN="RIGHT"
6605VALIGN="TOP"
6606><TT
6607CLASS="PARAMETER"
6608><I
6609>end3</I
6610></TT
6611>&nbsp;:</TD
6612><TD
6613WIDTH="80%"
6614ALIGN="LEFT"
6615VALIGN="TOP"
6616> an end marker CHAR, 0 if none</TD
6617></TR
6618><TR
6619><TD
6620WIDTH="20%"
6621ALIGN="RIGHT"
6622VALIGN="TOP"
6623><I
6624CLASS="EMPHASIS"
6625>Returns</I
6626> :</TD
6627><TD
6628WIDTH="80%"
6629ALIGN="LEFT"
6630VALIGN="TOP"
6631>A newly allocated string with the substitution done. The caller
6632must deallocate it !</TD
6633></TR
6634></TABLE
6635><P
6636></P
6637></DIV
6638></DIV
Daniel Veillard35925471999-02-25 08:46:07 +00006639></DIV
6640><DIV
6641CLASS="NAVFOOTER"
6642><HR
6643ALIGN="LEFT"
6644WIDTH="100%"><TABLE
6645WIDTH="100%"
6646BORDER="0"
6647CELLPADDING="0"
6648CELLSPACING="0"
6649><TR
6650><TD
6651WIDTH="33%"
6652ALIGN="left"
6653VALIGN="top"
6654><A
Daniel Veillardd109e371999-03-05 06:26:45 +00006655HREF="gnome-xml-xml-error.html"
Daniel Veillard35925471999-02-25 08:46:07 +00006656>Prev</A
6657></TD
6658><TD
6659WIDTH="34%"
6660ALIGN="center"
6661VALIGN="top"
6662><A
6663HREF="book1.html"
6664>Home</A
6665></TD
6666><TD
6667WIDTH="33%"
6668ALIGN="right"
6669VALIGN="top"
6670>&nbsp;</TD
6671></TR
6672><TR
6673><TD
6674WIDTH="33%"
6675ALIGN="left"
6676VALIGN="top"
Daniel Veillardd109e371999-03-05 06:26:45 +00006677>xml-error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006678><TD
6679WIDTH="34%"
6680ALIGN="center"
6681VALIGN="top"
6682><A
6683HREF="libxml.html"
6684>Up</A
6685></TD
6686><TD
6687WIDTH="33%"
6688ALIGN="right"
6689VALIGN="top"
6690>&nbsp;</TD
6691></TR
6692></TABLE
6693></DIV
6694></BODY
6695></HTML
6696>